Home
last modified time | relevance | path

Searched +full:visitor +full:- +full:keys (Results 1 – 25 of 57) sorted by relevance

123

/third_party/flatbuffers/rust/flexbuffers/src/reader/
Dde.rs7 // https://www.apache.org/licenses/LICENSE-2.0
19 VariantAccess, Visitor,
31 fn fmt(&self, f: &mut std::fmt::Formatter) -> Result<(), std::fmt::Error> { in fmt()
40 fn custom<T>(msg: T) -> Self in custom()
49 fn from(e: super::Error) -> Self { in from()
60 ) -> Result<Option<<T as DeserializeSeed<'de>>::Value>, Self::Error> in next_element_seed()
71 fn size_hint(&self) -> Option<usize> { in size_hint()
85 fn variant_seed<V>(self, seed: V) -> Result<(V::Value, Self::Variant), Self::Error> in variant_seed()
95 keys: ReaderIterator<&'de [u8]>, field
102 fn next_key_seed<K>(&mut self, seed: K) -> Result<Option<K::Value>, Self::Error> in next_key_seed()
[all …]
/third_party/mindspore/mindspore-src/source/mindspore/python/mindspore/ops/operations/
D_ms_kernel.py7 # http://www.apache.org/licenses/LICENSE-2.0
29 ----------
38 -------
48 Computes reciprocal of square root of x element-wise
51 ----------
55 -------
64 Erf function of x, aka erf(x) = 2 / sqrt(pi) * integral(exp(-t*t), t = 0..x).
68 ----------
72 -------
77 sign = 1 if x >= 0 else -1
[all …]
/third_party/libphonenumber/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/table/
DRangeKey.java8 * http://www.apache.org/licenses/LICENSE-2.0
45 * multiple possible lengths for a single range prefix. Range keys are particularly useful as
46 * unique "row keys" when representing range trees as tabular data.
51 * Order by prefix first and then minimum length. For row keys representing disjoint ranges, this
56 comparing(RangeKey::getPrefix, comparing(s -> s.min().toString()))
64 checkArgument(prefix.length() == 0 || prefix.getBitmask(prefix.length() - 1) != ALL_DIGITS_MASK, in create()
68 "lengths cannot be shorter than the prefix: %s - %s", prefix, lengths); in create()
73 * Decomposes the given range tree into a sorted sequence of keys, representing the same digit
74 * sequences. The resulting keys form a disjoint covering of the original range set, and no
75 * two keys will contain the same prefix (but prefixes of keys may overlap, even if the ranges
[all …]
/third_party/mesa3d/src/gallium/tools/trace/
Ddiff_state.py38 for name in obj.keys():
44 class Visitor: class
64 class Dumper(Visitor):
88 self.leave_member(i == len(members) - 1)
106 self.level -= 1
118 if i != len(node) - 1:
129 self.level -= 1
138 class Comparer(Visitor):
140 def __init__(self, ignore_added = False, tolerance = 2.0 ** -24):
178 return abs((b - a) / a) < self.tolerance
[all …]
/third_party/rust/crates/log/rfcs/
D0296-structured-logging.md1 - Feature Name: `structured_logging`
2 - Start Date: 2019-03-11
3 - RFC PR: [log/rfcs#0296](https://github.com/rust-lang-nursery/log/pull/296)
10 `log` will provide an API for capturing structured data that offloads complex serialization to de-f…
12 The API is heavily inspired by `slog` and `tokio-trace`.
17 - [Motivation](#motivation)
18 - [What is structured logging?](#what-is-structured-logging)
19 - [Why do we need structured logging in `log`?](#why-do-we-need-structured-logging-in-log)
20 - [Guide-level explanation](#guide-level-explanation)
21 - [Logging structured key-value pairs](#logging-structured-key-value-pairs)
[all …]
/third_party/flatbuffers/
Dpnpm-lock.yaml11 '@typescript-eslint/eslint-plugin':
13 version: 6.13.2(@typescript-eslint/parser@6.13.2)(eslint@8.55.0)(typescript@5.3.3)
14 '@typescript-eslint/parser':
29 /@aashutoshrathi/word-wrap@1.2.6:
30 …resolution: {integrity: sha512-1Yjs2SvM8TflER/OD3cOjhWWOZb58A2t7wpE2S9XfBYTiIl+XFhQG2bjy4Pu1I+EAlC…
34 /@esbuild/android-arm64@0.19.8:
35 …resolution: {integrity: sha512-B8JbS61bEunhfx8kasogFENgQfr/dIp+ggYXwTqdbMAgGDhRa3AaPpQMuQU0rNxDLEC…
43 /@esbuild/android-arm@0.19.8:
44 …resolution: {integrity: sha512-31E2lxlGM1KEfivQl8Yf5aYU/mflz9g06H6S15ITUFQueMFtFjESRMoDSkvMo8thYvL…
52 /@esbuild/android-x64@0.19.8:
[all …]
/third_party/skia/experimental/tskit/
Dpackage-lock.json9 "license": "BSD-3-Clause",
11 "@typescript-eslint/eslint-plugin": "^4.21.0",
12 "@typescript-eslint/parser": "^4.21.0",
14 "eslint-config-airbnb-typescript": "^12.3.1",
15 "eslint-plugin-import": "^2.22.1",
19 "node_modules/@babel/code-frame": {
21 "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.12.11.tgz",
22 …"integrity": "sha512-Zt1yodBx1UcyiePMSkWnU4hPqhwq7hGi2nFL1LeA3EUl+q2LQx16MISgJ0+z7dnmgvP9QtIleuETG…
28 "node_modules/@babel/helper-validator-identifier": {
30 …solved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identif…
[all …]
/third_party/python/Lib/
Dast.py16 using the built-in `compile()` function.
44 major, minor = feature_version # Should be a 2-tuple.
48 feature_version = -1
82 return - operand
97 if len(node.keys) != len(node.values):
99 return dict(zip(map(_convert, node.keys),
108 return left - right
121 include_attributes can be set to true. If indent is a non-negative
122 integer or string, then the tree will be pretty-printed with that indent
349 If *padded* is `True`, the first line of a multi-line statement will
[all …]
/third_party/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/mapper/
DBcp47Mapper.java35 * A mapper to collect BCP-47 data from {@link CldrDataType#BCP47 BCP47} data under paths
59 // NOTE: The need for hard-coded default values is a hack because there's not nice way (yet)
74 .addAction("//ldmlBCP47/keyword/key[@name=*]", (m, p) -> m.new ValueCollector(p))
80 * Processes data from the given supplier to generate Timezone and BCP-47 ICU data.
83 * @return A list of IcuData instances containing BCP-47 data to be written to files.
96 // Outer visitor which handles "key" paths by installing sub-visitor methods to process
151 "unexpected 'preferred' attribute for non-deprecated value: %s", value); in collect()
181 .forEach(a -> icuData.add(typeAliasPrefix.extendBy(a), mainAlias)); in collect()
192 // addKeyMapValues() method, it appears to just be a way to distinguish keys added via
200 Set<AttributeKey> keys = in addInfoAttributes() local
[all …]
/third_party/libphonenumber/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/finitestatematcher/compiler/
DMatcherCompiler.java8 * http://www.apache.org/licenses/LICENSE-2.0
45 * Compiles non-capturing phone number regular expressions into sequences of bytes suitable for
82 * traversal while maintaining a simple-as-possible node/edge structure. It's okay to reuse the
93 DfaVisitor visitor = new DfaVisitor() { in buildGraph() local
103 dfa.accept(visitor); in buildGraph()
127 target -> numberOfTrailingZeros(dfa.edgeValue(source, target).get().getDigitMask())); in sortedOutputs()
138 * ImmutableSetMultimap.Builder orders keys based on the first time they are added, and we add
139 * keys (nodes) in the order of the input by which they can be reached, the keys of the returned
145 target -> dfa.edgeValue(source, target).get().getDigitMask(); in getOutMap()
150 * Recursively builds sequences by traversing the DFA and grouping successive sub-sequences of
[all …]
/third_party/python/Doc/library/
Dast.rst1 :mod:`ast` --- Abstract Syntax Trees
16 --------------
24 a flag to the :func:`compile` built-in function, or using the :func:`parse`
27 compiled into a Python code object using the built-in :func:`compile` function.
30 .. _abstract-grammar:
33 ----------------
42 ------------
48 :ref:`above <abstract-grammar>`. They are defined in the :mod:`_ast` C
49 module and re-exported in :mod:`ast`.
51 There is one class defined for each left-hand side symbol in the abstract
[all …]
/third_party/css-what/
Dpackage-lock.json2 "name": "css-what",
8 "name": "css-what",
10 "license": "BSD-2-Clause",
14 "@typescript-eslint/eslint-plugin": "^5.17.0",
15 "@typescript-eslint/parser": "^5.17.0",
17 "eslint-config-prettier": "^8.5.0",
18 "eslint-plugin-node": "^11.1.0",
21 "ts-jest": "^27.1.4",
31 "node_modules/@babel/code-frame": {
33 "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.15.8.tgz",
[all …]
/third_party/rust/crates/serde/serde/src/private/
Dde.rs6 Visitor,
23 pub fn missing_field<'de, V, E>(field: &'static str) -> Result<V, E> in missing_field()
36 fn deserialize_any<V>(self, _visitor: V) -> Result<V::Value, E> in missing_field()
38 V: Visitor<'de>, in missing_field()
43 fn deserialize_option<V>(self, visitor: V) -> Result<V::Value, E> in missing_field()
45 V: Visitor<'de>, in missing_field()
47 visitor.visit_none() in missing_field()
62 pub fn borrow_cow_str<'de: 'a, 'a, D, R>(deserializer: D) -> Result<R, D::Error> in borrow_cow_str()
69 impl<'a> Visitor<'a> for CowStrVisitor { in borrow_cow_str()
72 fn expecting(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in borrow_cow_str()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/tools/sva/
Dyarn.lock5 "@babel/code-frame@^7.0.0":
7 …resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.5.5.tgz#bc0782f6d69f7b7d49…
8 …integrity sha512-27d4lZoomVyo51VegxI20xZPuSHusqbQag/ztrBC7wegWoQ1nLREPVSKSW8byhTlzTKyNE4ifaTA6lCp7…
14 …resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.5.0.tgz#56d11312bd9248fa6195…
15 …integrity sha512-7dV4eu9gBxoM0dAnj/BCFDW9LFU0zvTrkq0ugM7pnHEgguOEeOz1so2ZghEdzviYzQEED0r4EAgpsBChK…
19 js-tokens "^4.0.0"
23 …resolved "https://registry.yarnpkg.com/@types/estree/-/estree-0.0.39.tgz#e177e699ee1b8c22d23174caa…
24 …integrity sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHX…
28 …resolved "https://registry.yarnpkg.com/@types/node/-/node-12.7.5.tgz#e19436e7f8e9b4601005d73673b6d…
29 …integrity sha512-9fq4jZVhPNW8r+UYKnxF1e2HkDWOWKM5bC2/7c9wPV835I0aOrVbS/Hw/pWPk2uKrNXQqg9Z959Kz+IYD…
[all …]
/third_party/skia/third_party/externals/spirv-tools/tools/sva/
Dyarn.lock5 "@babel/code-frame@^7.0.0":
7 …resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.5.5.tgz#bc0782f6d69f7b7d49…
8 …integrity sha512-27d4lZoomVyo51VegxI20xZPuSHusqbQag/ztrBC7wegWoQ1nLREPVSKSW8byhTlzTKyNE4ifaTA6lCp7…
14 …resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.5.0.tgz#56d11312bd9248fa6195…
15 …integrity sha512-7dV4eu9gBxoM0dAnj/BCFDW9LFU0zvTrkq0ugM7pnHEgguOEeOz1so2ZghEdzviYzQEED0r4EAgpsBChK…
19 js-tokens "^4.0.0"
23 …resolved "https://registry.yarnpkg.com/@types/estree/-/estree-0.0.39.tgz#e177e699ee1b8c22d23174caa…
24 …integrity sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHX…
28 …resolved "https://registry.yarnpkg.com/@types/node/-/node-12.7.5.tgz#e19436e7f8e9b4601005d73673b6d…
29 …integrity sha512-9fq4jZVhPNW8r+UYKnxF1e2HkDWOWKM5bC2/7c9wPV835I0aOrVbS/Hw/pWPk2uKrNXQqg9Z959Kz+IYD…
[all …]
/third_party/python/Tools/peg_generator/pegen/
Dparser_generator.py44 """Visitor that invokes a provieded callmaker visitor with just the NamedItem nodes"""
46 def __init__(self, rules: Dict[str, Rule], callmakervisitor: GrammarVisitor) -> None:
50 def visit_Rule(self, rule: Rule) -> None:
53 def visit_NamedItem(self, item: NamedItem) -> None:
58 """Visitor that collects all the keywods and soft keywords in the Grammar"""
65 def visit_StringLeaf(self, node: StringLeaf) -> None:
67 if re.match(r"[a-zA-Z_]\w*\Z", val): # This is a keyword
79 def visit_NameLeaf(self, node: NameLeaf) -> None:
83 def visit_NamedItem(self, node: NamedItem) -> None:
113 def validate_rule_names(self) -> None:
[all …]
/third_party/jsframework/
Dpackage-lock.json9 …"resolved": "https://repo.huaweicloud.com/repository/npm/@ampproject/remapping/-/remapping-2.2.0.t…
10 …"integrity": "sha512-qRmjj8nj9qmLTQXXmaR1cck3UXSRMPrbsLJAasZpF+t3riI71BXed5ebIOYwQntykeZuhjsdweEc9…
13 "@jridgewell/gen-mapping": "^0.1.0",
14 "@jridgewell/trace-mapping": "^0.3.9"
17 "@babel/code-frame": {
19 …"resolved": "https://repo.huaweicloud.com/repository/npm/@babel/code-frame/-/code-frame-7.12.11.tg…
20 …"integrity": "sha512-Zt1yodBx1UcyiePMSkWnU4hPqhwq7hGi2nFL1LeA3EUl+q2LQx16MISgJ0+z7dnmgvP9QtIleuETG…
26 "@babel/compat-data": {
28 …"resolved": "https://repo.huaweicloud.com/repository/npm/@babel/compat-data/-/compat-data-7.19.1.t…
29 …"integrity": "sha512-72a9ghR0gnESIa7jBN53U32FOVCEoztyIlKaNoU05zRhEecduGK9L9c3ww7Mp06JiR+0ls0GBPFJQ…
[all …]
/third_party/rust/crates/serde/serde/src/de/
Dmod.rs6 //! - **A type that implements `Deserialize` is a data structure** that can be
8 //! - **A type that implements `Deserializer` is a data format** that can
25 //! Third-party crates may provide [`Deserialize`] implementations for types
26 //! that they expose. For example the [`linked-hash-map`] crate provides a
32 //! [`Deserializer`] implementations are provided by third-party crates, for
35 //! A partial list of well-maintained formats is given on the [Serde
44 //! - **Primitive types**:
45 //! - bool
46 //! - i8, i16, i32, i64, i128, isize
47 //! - u8, u16, u32, u64, u128, usize
[all …]
/third_party/spirv-tools/tools/sva/
Dyarn.lock5 "@eslint-community/eslint-utils@^4.2.0":
7 …resolved "https://registry.yarnpkg.com/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz#a23…
8 …integrity sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9…
10 eslint-visitor-keys "^3.3.0"
12 "@eslint-community/regexpp@^4.4.0":
14 …resolved "https://registry.yarnpkg.com/@eslint-community/regexpp/-/regexpp-4.5.1.tgz#cdd35dce4fa1a…
15 …integrity sha512-Z5ba73P98O1KUYCCJTUeVpja9RcGoMdncZ6T49FCUl2lN38JtCJ+3WgIDBv0AuY4WChU5PmtJmOCTlN6F…
19 …resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-2.0.3.tgz#4910db5505f4d503f2777…
20 …integrity sha512-+5gy6OQfk+xx3q0d6jGZZC3f3KzAkXc/IanVxd1is/VIIziRqqt3ongQz0FiTUXqTk0c7aDB3OaFuKnuS…
27 import-fresh "^3.2.1"
[all …]
/third_party/libphonenumber/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/
DRangeTree.java8 * http://www.apache.org/licenses/LICENSE-2.0
49 * {@code List<RangeSpecification>}. Range trees can have set-like operations performed on them,
61 /** Accepts the given visitor on this node, visiting its immediate outgoing (child) edges. */
62 void accept(DfaVisitor visitor); in accept() argument
72 * Returns a bit-mask of possible lengths from this node. Bit-N is set of the sub-tree rooted
73 * at this node can terminate (in any branch) at depth N. A corollary to this is that bit-0 is
84 /** Returns a bit-mask of the digits accepted by this edge. */
92 * Visitor API for traversing edges in {@code RangeTrees}. When a node accepts a visitor, it
94 * is up to the visitor to call {@link DfaNode#accept(DfaVisitor)} during visitation.
96 * <p>Graph nodes and edges obey {@code Object} equality and this can be used by visitor
[all …]
/third_party/parse5/
Dpackage-lock.json2 "name": "parse5-build-scripts",
7 "name": "parse5-build-scripts",
15 "@typescript-eslint/eslint-plugin": "^5.43.0",
16 "@typescript-eslint/parser": "^5.43.0",
18 "eslint-config-prettier": "^8.5.0",
19 "eslint-plugin-unicorn": "^44.0.2",
22 "lint-staged": "^13.0.3",
25 "ts-jest": "^29.0.3",
26 "ts-node": "^10.9.1",
32 "name": "parse5-benchmarks",
[all …]
/third_party/weex-loader/
Dpackage-lock.json2 "name": "weex-loader",
9 …"resolved": "https://repo.huaweicloud.com/repository/npm/@ampproject/remapping/-/remapping-2.2.1.t…
10 …"integrity": "sha512-lFMjJTrFL3j7L9yBxwYfCq2k6qqwHyzuUl/XBnif78PWTJYyL/dfowQHWE3sp6U6ZzqWiiIZnpTMO…
12 "@jridgewell/gen-mapping": "^0.3.0",
13 "@jridgewell/trace-mapping": "^0.3.9"
18 "resolved": "https://repo.huaweicloud.com/repository/npm/@babel/cli/-/cli-7.20.7.tgz",
19 …"integrity": "sha512-WylgcELHB66WwQqItxNILsMlaTd8/SO6SgTTjMp4uCI7P4QyH1r3nqgFmO3BfM4AtfniHgFMH3EpY…
21 "@jridgewell/trace-mapping": "^0.3.8",
22 "@nicolo-ribaudo/chokidar-2": "2.1.8-no-fsevents.3",
25 "convert-source-map": "^1.1.0",
[all …]
/third_party/rust/crates/serde/serde_derive/src/
Dde.rs13 pub fn expand_derive_deserialize(input: &mut syn::DeriveInput) -> syn::Result<TokenStream> { in expand_derive_deserialize()
36 …#vis fn deserialize<__D>(__deserializer: __D) -> #serde::__private::Result<#remote #ty_generics, _… in expand_derive_deserialize()
51 … fn deserialize<__D>(__deserializer: __D) -> #serde::__private::Result<Self, __D::Error> in expand_derive_deserialize()
130 fn new(cont: &Container) -> Self { in new()
152 fn type_name(&self) -> String { in type_name()
160 fn build_generics(cont: &Container, borrowed: &BorrowedLifetimes) -> syn::Generics { in build_generics()
204 fn needs_deserialize_bound(field: &attr::Field, variant: Option<&attr::Variant>) -> bool { in needs_deserialize_bound()
217 fn requires_default(field: &attr::Field, _variant: Option<&attr::Variant>) -> bool { in requires_default()
231 fn de_lifetime(&self) -> syn::Lifetime { in de_lifetime()
238 fn de_lifetime_param(&self) -> Option<syn::LifetimeParam> { in de_lifetime_param()
[all …]
/third_party/protobuf/ruby/src/main/java/com/google/protobuf/jruby/
DRubyMap.java2 * Protocol Buffers - Google's data interchange format
4 * https://developers.google.com/protocol-buffers/
74 * call-seq:
80 * on the same values as field-type symbols in message descriptors) that
99 * shallow-copied into the new Map: the original map is unmodified, but
142 * call-seq:
164 * call-seq:
178 * call-seq:
208 * call-seq:
221 * call-seq:
[all …]
/third_party/skia/third_party/externals/microhttpd/doc/chapters/
Dtlsauthentication.inc15 will later be able to authenticate itself to the client---preventing anyone else
20 > openssl genrsa -out server.key 1024
26 we obtain a self-signed certificate, valid for one year.
29 > openssl req -days 365 -out server.pem -new -x509 -key server.key
37 any visitor can make sure the server's identity is real.
123 The introduced method of certificates makes it mandatory to set an expiration date---making it less…
136 (as an alternative to using the password-based Basic or Digest authentication).
164 tls_session = ci->tls_session;
323 SNI is the TLS-equivalent of virtual hosting. To use SNI with MHD, you
396 return -1;
[all …]

123