Home
last modified time | relevance | path

Searched full:keys (Results 1 – 25 of 4959) sorted by relevance

12345678910>>...199

/external/python/cpython3/Lib/test/
Dtest_dictviews.py10 kt = type({}.keys())
22 keys = d.keys()
23 self.assertEqual(len(keys), 2)
24 self.assertEqual(set(keys), {1, "a"})
25 self.assertEqual(keys, {1, "a"})
26 self.assertNotEqual(keys, {1, "a", "b"})
27 self.assertNotEqual(keys, {1, "b"})
28 self.assertNotEqual(keys, {1})
29 self.assertNotEqual(keys, 42)
30 self.assertIn(1, keys)
[all …]
/external/wpa_supplicant_8/src/eap_common/
Dikev2_common.c36 { ENCR_AES_CBC, 16, 16 }, /* only 128-bit keys supported for now */
371 struct ikev2_keys *keys, int initiator, in ikev2_derive_auth_data() argument
380 const u8 *SK_p = initiator ? keys->SK_pi : keys->SK_pr; in ikev2_derive_auth_data()
394 if (ikev2_prf_hash(prf->id, SK_p, keys->SK_prf_len, in ikev2_derive_auth_data()
429 struct ikev2_keys *keys, int initiator, in ikev2_decrypt_payload() argument
440 const u8 *SK_e = initiator ? keys->SK_ei : keys->SK_er; in ikev2_decrypt_payload()
441 const u8 *SK_a = initiator ? keys->SK_ai : keys->SK_ar; in ikev2_decrypt_payload()
476 if (ikev2_integ_hash(integ_id, SK_a, keys->SK_integ_len, in ikev2_decrypt_payload()
499 if (ikev2_encr_decrypt(encr_alg->id, SK_e, keys->SK_encr_len, iv, pos, in ikev2_decrypt_payload()
530 int ikev2_build_encrypted(int encr_id, int integ_id, struct ikev2_keys *keys, in ikev2_build_encrypted() argument
[all …]
/external/libcxx/test/libcxx/localization/locale.categories/
D__scan_keyword.pass.cpp49 std::string keys[] = {"a", "abb"}; in main() local
52 keys, keys+sizeof(keys)/sizeof(keys[0]), in main()
54 assert(k - keys == 0); in main()
61 std::string keys[] = {"a", "abb"}; in main() local
64 keys, keys+sizeof(keys)/sizeof(keys[0]), in main()
66 assert(k - keys == 2); in main()
73 std::string keys[] = {"a", "abb"}; in main() local
76 keys, keys+sizeof(keys)/sizeof(keys[0]), in main()
78 assert(k - keys == 1); in main()
85 std::string keys[] = {"Mon", "Monday", "Tue", "Tuesday"}; in main() local
[all …]
/external/boringssl/src/third_party/wycheproof_testvectors/
Dx25519_test.txt26 # public keys, doing so is not a strict requirement according to RFC 7748.
35 # Public keys are either points on curve25519 or points on its twist.
36 # Implementations may either reject such keys or compute X25519 using the twist.
38 # correct, since otherwise attacks with invalid keys are possible.
47 # Public keys are either points on curve25519 or points on its twist.
48 # Implementations may either reject such keys or compute X25519 using the twist.
50 # correct, since otherwise attacks with invalid keys are possible.
59 # Public keys are either points on curve25519 or points on its twist.
60 # Implementations may either reject such keys or compute X25519 using the twist.
62 # correct, since otherwise attacks with invalid keys are possible.
[all …]
/external/tensorflow/tensorflow/contrib/linear_optimizer/python/ops/
Dsharded_mutable_dense_hashtable.py107 def _shard_indices(self, keys): argument
108 key_shape = keys.get_shape()
110 # If keys are a matrix (i.e. a single key is a vector), we use the first
112 keys = array_ops.slice(keys, [0, 0], [key_shape.dims[0].value, 1])
113 keys = array_ops.reshape(keys, [-1])
114 indices = math_ops.mod(math_ops.abs(keys), self._num_shards)
117 def _check_keys(self, keys): argument
118 if not keys.get_shape().is_fully_defined():
120 keys.get_shape())
121 if keys.get_shape().ndims != 1 and keys.get_shape().ndims != 2:
[all …]
/external/tensorflow/tensorflow/core/kernels/lookup_tables/
Dflat_hash_map_op_kernels.cc36 // up keys are not in the flat_hash_map. Inlining the fallback table turns out
62 Status Initialize(absl::Span<const absl::string_view> keys, in Initialize() argument
64 if (ABSL_PREDICT_FALSE(keys.size() != values.size())) { in Initialize()
66 "keys and values do not have the same number of elements (found ", in Initialize()
67 keys.size(), " vs ", values.size(), ")."); in Initialize()
70 table_.reserve(table_.size() + keys.size()); in Initialize()
71 for (size_t i = 0; i < keys.size(); ++i) { in Initialize()
72 table_.insert_or_assign(string(keys[i]), values[i]); in Initialize()
77 Status Initialize(absl::Span<const string> keys, in Initialize() argument
79 if (ABSL_PREDICT_FALSE(keys.size() != values.size())) { in Initialize()
[all …]
/external/openssh/
DPROTOCOL.agent3 OpenSSH's agent supports managing keys for the standard SSH protocol
6 protocol 2 keys cannot see or affect protocol 1 keys and vice-versa.
8 Protocol 1 and protocol 2 keys are separated because of the differing
9 cryptographic usage: protocol 1 private RSA keys are used to decrypt
11 whereas protocol 2 RSA private keys are used to sign challenges with
18 messages refer to protocol 1 keys only. SSH2_* messages refer to
19 protocol 2 keys. Furthermore, the names also indicate whether the
26 Because of support for legacy SSH protocol 1 keys, OpenSSH's agent
78 2.2 Adding keys to the agent
80 Keys are added to the agent using the SSH_AGENTC_ADD_RSA_IDENTITY and
[all …]
/external/tensorflow/tensorflow/python/ops/
Dlookup_ops.py141 def lookup(self, keys, name=None): argument
142 """Looks up `keys` in a table, outputs the corresponding values."""
195 def lookup(self, keys, name=None): argument
196 """Looks up `keys` in a table, outputs the corresponding values.
198 The `default_value` is used for keys not present in the table.
201 keys: Keys to look up. May be either a `SparseTensor` or dense `Tensor`.
205 A `SparseTensor` if keys are sparse, otherwise a dense `Tensor`.
208 TypeError: when `keys` or `default_value` doesn't match the table data
211 key_tensor = keys
212 if isinstance(keys, sparse_tensor.SparseTensor):
[all …]
/external/grpc-grpc-java/context/src/jmh/java/io/grpc/
DReadBenchmark.java36 List<Context.Key<Object>> keys = new ArrayList<Context.Key<Object>>(); field in ReadBenchmark.ContextState
42 keys.add(Context.key("Key" + i)); in setup()
44 contexts.add(Context.ROOT.withValue(keys.get(0), new Object())); in setup()
45 contexts.add(Context.ROOT.withValues(keys.get(0), new Object(), keys.get(1), new Object())); in setup()
48 keys.get(0), new Object(), keys.get(1), new Object(), keys.get(2), new Object())); in setup()
51 keys.get(0), in setup()
53 keys.get(1), in setup()
55 keys.get(2), in setup()
57 keys.get(3), in setup()
59 contexts.add(contexts.get(0).withValue(keys.get(1), new Object())); in setup()
[all …]
/external/cldr/tools/java/org/unicode/cldr/draft/keyboard/
DModifierKeyCombination.java15 * Object containing the combination of modifier keys that must be on and off for a particular
16 * combination to be activated. All other keys are considered "don't care keys". This simulates
20 * For example, suppose we have three keys, "A", "B" and "C". Then the boolean expression:
24 * Some keys may have L and R variants (like Control which has a Left-Control and a Right-Control).
26 * included into the on keys or off keys sets, then the children are included into the don't care
30 * For example, suppose we have three keys "A", "B" and "C" and "A" has a left and right variant
31 * which are "A-Right" and "A-Left" respectively. Continuing the example above, the keys fall into
39 * However when printing out the combination, we would exclude the A-Left and A-Right keys because
44 * A slightly different behavior exists for parent modifier keys. When a parent modifier key is
45 * given then its children are also added to the don't care keys pool. Once again, the
[all …]
/external/linux-kselftest/tools/testing/selftests/bpf/
Dbpf_flow.c93 struct bpf_flow_keys *keys = skb->flow_keys; in parse_eth_proto() local
95 keys->n_proto = proto; in parse_eth_proto()
131 struct bpf_flow_keys *keys = skb->flow_keys; in parse_ip_proto() local
139 keys->ip_proto = proto; in parse_ip_proto()
147 keys->is_encap = true; in parse_ip_proto()
150 keys->is_encap = true; in parse_ip_proto()
161 keys->thoff += sizeof(*gre); /* Step over GRE Flags and Proto */ in parse_ip_proto()
163 keys->thoff += 4; /* Step over chksum and Padding */ in parse_ip_proto()
165 keys->thoff += 4; /* Step over key */ in parse_ip_proto()
167 keys->thoff += 4; /* Step over sequence number */ in parse_ip_proto()
[all …]
/external/python/google-api-python-client/docs/dyn/
Dtagmanager_v2.accounts.containers.workspaces.triggers.html110 "map": [ # This map parameter's parameters (must have keys; keys must be unique).
113 "list": [ # This list parameter's parameters (keys will be ignored).
126 "map": [ # This map parameter's parameters (must have keys; keys must be unique).
129 "list": [ # This list parameter's parameters (keys will be ignored).
142 "map": [ # This map parameter's parameters (must have keys; keys must be unique).
145 "list": [ # This list parameter's parameters (keys will be ignored).
158 "map": [ # This map parameter's parameters (must have keys; keys must be unique).
161 "list": [ # This list parameter's parameters (keys will be ignored).
174 "map": [ # This map parameter's parameters (must have keys; keys must be unique).
177 "list": [ # This list parameter's parameters (keys will be ignored).
[all …]
Dtagmanager_v1.accounts.containers.triggers.html113 "map": [ # This map parameter's parameters (must have keys; keys must be unique).
116 "list": [ # This list parameter's parameters (keys will be ignored).
132 "map": [ # This map parameter's parameters (must have keys; keys must be unique).
135 "list": [ # This list parameter's parameters (keys will be ignored).
148 "map": [ # This map parameter's parameters (must have keys; keys must be unique).
151 "list": [ # This list parameter's parameters (keys will be ignored).
164 "map": [ # This map parameter's parameters (must have keys; keys must be unique).
167 "list": [ # This list parameter's parameters (keys will be ignored).
182 "map": [ # This map parameter's parameters (must have keys; keys must be unique).
185 "list": [ # This list parameter's parameters (keys will be ignored).
[all …]
Dtagmanager_v2.accounts.containers.versions.html141 "map": [ # This map parameter's parameters (must have keys; keys must be unique).
144 "list": [ # This list parameter's parameters (keys will be ignored).
157 "map": [ # This map parameter's parameters (must have keys; keys must be unique).
160 "list": [ # This list parameter's parameters (keys will be ignored).
173 "map": [ # This map parameter's parameters (must have keys; keys must be unique).
176 "list": [ # This list parameter's parameters (keys will be ignored).
189 "map": [ # This map parameter's parameters (must have keys; keys must be unique).
192 "list": [ # This list parameter's parameters (keys will be ignored).
205 "map": [ # This map parameter's parameters (must have keys; keys must be unique).
208 "list": [ # This list parameter's parameters (keys will be ignored).
[all …]
Dtagmanager_v2.accounts.containers.workspaces.html225 "map": [ # This map parameter's parameters (must have keys; keys must be unique).
228 "list": [ # This list parameter's parameters (keys will be ignored).
241 "map": [ # This map parameter's parameters (must have keys; keys must be unique).
244 "list": [ # This list parameter's parameters (keys will be ignored).
257 "map": [ # This map parameter's parameters (must have keys; keys must be unique).
260 "list": [ # This list parameter's parameters (keys will be ignored).
273 "map": [ # This map parameter's parameters (must have keys; keys must be unique).
276 "list": [ # This list parameter's parameters (keys will be ignored).
289 "map": [ # This map parameter's parameters (must have keys; keys must be unique).
292 "list": [ # This list parameter's parameters (keys will be ignored).
[all …]
/external/guava/guava-tests/benchmark/com/google/common/collect/
DMapBenchmark.java45 @Override Map<Element, Element> create(Collection<Element> keys) { in create() argument
47 for (Element element: keys) { in create()
54 @Override Map<Element, Element> create(Collection<Element> keys) { in create() argument
56 for (Element element: keys) { in create()
63 @Override Map<Element, Element> create(Collection<Element> keys) { in create() argument
64 return Collections.unmodifiableMap(Hash.create(keys)); in create()
68 @Override Map<Element, Element> create(Collection<Element> keys) { in create() argument
69 return Collections.synchronizedMap(Hash.create(keys)); in create()
73 @Override Map<Element, Element> create(Collection<Element> keys) { in create() argument
75 for (Element element: keys) { in create()
[all …]
/external/python/uritemplates/tests/fixtures/
Dspec-examples.json67 "keys": {"semi": ";", "dot": ".", "comma":","} object
74 ["{keys}", [
82 ["{keys*}", [
93 ["{+keys}", [
101 ["{+keys*}", [
112 ["{#keys}", [
120 ["{#keys*}", [
131 ["X{.keys}", [
143 ["{/keys}", [
151 ["{/keys*}", [
[all …]
/external/ImageMagick/MagickCore/
Dthread.c96 **keys; in CreateMagickThreadKey()
98 keys=(MagickThreadValue **) key; in CreateMagickThreadKey()
99 *keys=(MagickThreadValue *) AcquireQuantumMemory(1,sizeof(**keys)); in CreateMagickThreadKey()
100 if (*keys != (MagickThreadValue *) NULL) in CreateMagickThreadKey()
102 (*keys)->number_threads=GetOpenMPMaximumThreads(); in CreateMagickThreadKey()
103 (*keys)->values=AcquireQuantumMemory((*keys)->number_threads, in CreateMagickThreadKey()
105 if ((*keys)->values == (void *) NULL) in CreateMagickThreadKey()
106 *keys=RelinquishMagickMemory(*keys); in CreateMagickThreadKey()
108 (void) memset((*keys)->values,0,(*keys)->number_threads* in CreateMagickThreadKey()
110 (*keys)->destructor=destructor; in CreateMagickThreadKey()
[all …]
/external/antlr/runtime/ObjC/Framework/
DACBTree.m79 @synthesize keys;
103 keys = keyArray;
131 //tmp.keys[0] = kp;
195 [tnew insert:self.keys[numkeys-1] value:self index:0 split:&h];
196 [tnew insert:q.keys[q.numkeys-1] value:q index:1 split:&h];
223 ret = [t.keys[i].key compare:kstr];
256 ret = [keys[i].key compare:kstr];
310 self.keys[i] = tsb.keys[nkey];
336 self.keys[i] = tsb.keys[nkey];
356 ret = [keys[i].key compare:kp.key];
[all …]
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/
DMultimapKeysTester.java49 Multiset<K> keys = multimap().keys(); in testKeys() local
50 assertEquals(2, keys.count(sampleKeys().e0)); in testKeys()
51 assertEquals(1, keys.count(sampleKeys().e1)); in testKeys()
52 assertEquals(3, keys.size()); in testKeys()
53 assertThat(keys).has().allOf(sampleKeys().e0, sampleKeys().e1); in testKeys()
54 assertThat(keys.entrySet()).has().allOf( in testKeys()
61 assertEquals(0, multimap().keys().count(null)); in testKeysCountAbsentNullKey()
71 Multiset<K> keys = multimap().keys(); in testKeysWithNullKey() local
72 assertEquals(2, keys.count(null)); in testKeysWithNullKey()
73 assertEquals(1, keys.count(sampleKeys().e1)); in testKeysWithNullKey()
[all …]
/external/tensorflow/tensorflow/contrib/slim/python/slim/data/
Dtfexample_decoder.py51 def __init__(self, keys): argument
52 """Constructs the handler with the name of the tf.Feature keys to use.
57 keys: the name of the TensorFlow Example Feature.
59 if not isinstance(keys, (tuple, list)):
60 keys = [keys]
61 self._keys = keys
64 def keys(self): member in ItemHandler
72 keys_to_tensors: a mapping of TF-Example keys to parsed tensors.
87 def __init__(self, keys, func): argument
91 keys: a list of TF-Example keys.
[all …]
/external/v8/src/
Dkeys.h19 // This is a helper class for JSReceiver::GetKeys which collects and sorts keys.
20 // GetKeys needs to sort keys per prototype level, first showing the integer
22 // does not apply to proxies which are in full control of how the keys are
25 // For performance reasons the KeyAccumulator internally separates integer keys
26 // in |elements_| into sorted lists per prototype level. String keys are
28 // Symbols in |symbol_properties_|. To separate the keys per level later when
30 // String and Symbol keys per level.
32 // Only unique keys are kept by the KeyAccumulator, strings are stored in a
33 // HashSet for inexpensive lookups. Integer keys are kept in sorted lists which
74 // Filter keys based on their property descriptors.
[all …]
/external/tensorflow/tensorflow/core/common_runtime/
Drendezvous_util.cc25 const std::vector<string>& keys, gtl::ArraySlice<Tensor> tensors_to_send) { in SendTensorsToRendezvous() argument
26 if (keys.size() != tensors_to_send.size()) { in SendTensorsToRendezvous()
28 "keys and tensors_to_send are not the same size. keys.size() = ", in SendTensorsToRendezvous()
29 keys.size(), "; tensors_to_send.size() = ", tensors_to_send.size()); in SendTensorsToRendezvous()
31 if (!alloc_attrs.empty() && (keys.size() != alloc_attrs.size())) { in SendTensorsToRendezvous()
33 "keys and alloc_attrs are not the same size. ", in SendTensorsToRendezvous()
34 "keys.size() = ", keys.size(), in SendTensorsToRendezvous()
43 for (int i = 0; i < keys.size(); ++i) { in SendTensorsToRendezvous()
49 TF_RETURN_IF_ERROR(Rendezvous::ParseKey(keys[i], &parsed)); in SendTensorsToRendezvous()
59 const std::vector<string>& keys, std::vector<Tensor>* received_tensors, in RecvOutputsFromRendezvousAsync() argument
[all …]
/external/tensorflow/tensorflow/core/ops/
Dlookup_ops.cc72 .Input("keys: Tin")
90 Status ValidateTableResourceHandle(InferenceContext* c, ShapeHandle keys, in ValidateTableResourceHandle() argument
123 if (c->RankKnown(key_shape_and_type.shape) && c->RankKnown(keys)) { in ValidateTableResourceHandle()
124 int keys_rank = c->Rank(keys); in ValidateTableResourceHandle()
128 "Expected keys to have suffix ", in ValidateTableResourceHandle()
130 " but saw shape: ", c->DebugString(keys)); in ValidateTableResourceHandle()
133 // Ensure the suffix of keys match what's in the Table. in ValidateTableResourceHandle()
136 c->ReplaceDim(keys, keys_rank - key_suffix_rank + d, dim, &keys)); in ValidateTableResourceHandle()
141 keys_prefix_vec.push_back(c->Dim(keys, d)); in ValidateTableResourceHandle()
151 TF_RETURN_IF_ERROR(c->Concatenate(keys, value_shape_and_type.shape, in ValidateTableResourceHandle()
[all …]
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/mdat/
DDummyMap.java14 HashSet<K> keys = new HashSet<K>(); field in DummyMap
25 public void addKeys(K[] keys) { in addKeys() argument
26 Collections.addAll(this.keys, keys); in addKeys()
31 return keys.size(); in size()
35 return keys.isEmpty(); in isEmpty()
39 return keys.contains(key); in containsKey()
47 return keys.contains(key) ? value : null; in get()
52 keys.add(key); in put()
58 keys.remove(key); in remove()
65 this.keys.add(k); in putAll()
[all …]

12345678910>>...199