/external/python/cpython2/Lib/ |
D | mhlib.py | 336 seqs = self.getsequences() 338 return max(seqs['cur']) 378 seqs = self.getsequences() 379 if not head in seqs: 383 msgs = seqs[head] 415 seqs = self.getsequences() 416 if not seq in seqs: 420 return seqs[seq] 979 seqs = f.getsequences() 980 seqs['foo'] = IntSet('1-10 12-20', ' ').tolist() [all …]
|
/external/tensorflow/tensorflow/python/keras/utils/ |
D | data_utils.py | 543 def init_pool(seqs): argument 545 _SHARED_SEQUENCES = seqs 719 def pool_fn(seqs): argument 722 initargs=(seqs, None, get_worker_id_queue())) 861 def pool_fn(seqs): argument 864 initargs=(seqs, self.random_seed, get_worker_id_queue()))
|
/external/python/cpython2/Lib/test/ |
D | test_mhlib.py | 237 seqs = readFile(os.path.join(_mhpath, 'wide', '.mh_sequences')) 238 seqs = sortLines(seqs) 239 eq(seqs, ["cur: 5",
|
/external/rust/crates/regex-syntax/src/ |
D | utf8.rs | 500 let seqs: Vec<_> = Utf8Sequences::new(c, c).collect(); in single_codepoint_one_sequence() localVariable 501 assert_eq!(seqs.len(), 1); in single_codepoint_one_sequence() 509 let seqs = Utf8Sequences::new('\u{0}', '\u{FFFF}').collect::<Vec<_>>(); in bmp() localVariable 511 seqs, in bmp()
|
/external/rust/crates/syn/src/ |
D | buffer.rs | 52 let mut seqs = Vec::new(); in inner_new() localVariable 67 seqs.push((entries.len(), g)); in inner_new() 81 for (idx, group) in seqs { in inner_new()
|
/external/zstd/tests/ |
D | fuzzer.c | 308 static void FUZ_decodeSequences(BYTE* dst, ZSTD_Sequence* seqs, size_t seqsSize, in FUZ_decodeSequences() argument 314 assert(dst + seqs[i].litLength + seqs[i].matchLength <= dst + size); in FUZ_decodeSequences() 315 assert(src + seqs[i].litLength + seqs[i].matchLength <= src + size); in FUZ_decodeSequences() 317 assert(seqs[i].matchLength != 0 || seqs[i].offset != 0); in FUZ_decodeSequences() 320 memcpy(dst, src, seqs[i].litLength); in FUZ_decodeSequences() 321 dst += seqs[i].litLength; in FUZ_decodeSequences() 322 src += seqs[i].litLength; in FUZ_decodeSequences() 323 size -= seqs[i].litLength; in FUZ_decodeSequences() 325 if (seqs[i].offset != 0) { in FUZ_decodeSequences() 326 for (j = 0; j < seqs[i].matchLength; ++j) in FUZ_decodeSequences() [all …]
|
/external/python/cpython2/Python/ |
D | bltinmodule.c | 949 sequence *seqs = NULL, *sqp; in builtin_map() local 976 if ((seqs = PyMem_NEW(sequence, n)) == NULL) { in builtin_map() 981 seqs[i].it = (PyObject*)NULL; in builtin_map() 982 seqs[i].saw_StopIteration = 0; in builtin_map() 989 for (i = 0, sqp = seqs; i < n; ++i, ++sqp) { in builtin_map() 1025 for (j = 0, sqp = seqs; j < n; ++j, ++sqp) { in builtin_map() 1086 assert(seqs); in builtin_map() 1088 Py_XDECREF(seqs[i].it); in builtin_map() 1089 PyMem_DEL(seqs); in builtin_map()
|
/external/python/cpython3/Lib/test/ |
D | test_heapq.py | 189 seqs = [] 191 seqs.append(sorted(seq, key=key, reverse=reverse)) 193 list(self.module.merge(*seqs, key=key, reverse=reverse)))
|
D | test_random.py | 78 seqs = [list(range(n)) for n in range(10)] 82 for (seq, shuffled_seq) in zip(seqs, shuffled_seqs):
|
/external/python/cpython3/Parser/pegen/ |
D | pegen.c | 1323 _get_flattened_seq_size(asdl_seq *seqs) in _get_flattened_seq_size() argument 1326 for (Py_ssize_t i = 0, l = asdl_seq_LEN(seqs); i < l; i++) { in _get_flattened_seq_size() 1327 asdl_seq *inner_seq = asdl_seq_GET(seqs, i); in _get_flattened_seq_size() 1335 _PyPegen_seq_flatten(Parser *p, asdl_seq *seqs) in _PyPegen_seq_flatten() argument 1337 Py_ssize_t flattened_seq_size = _get_flattened_seq_size(seqs); in _PyPegen_seq_flatten() 1346 for (Py_ssize_t i = 0, l = asdl_seq_LEN(seqs); i < l; i++) { in _PyPegen_seq_flatten() 1347 asdl_seq *inner_seq = asdl_seq_GET(seqs, i); in _PyPegen_seq_flatten()
|
/external/fonttools/Lib/fontTools/subset/ |
D | __init__.py | 485 s.glyphs.update(*([seq.LigGlyph for seq in seqs 487 for g,seqs in self.ligatures.items() 494 self.ligatures = {g:[seq for seq in seqs 497 for g,seqs in self.ligatures.items()}
|
/external/python/cpython2/Misc/ |
D | cheatsheet | 1209 All seqs and maps, general operations plus:
|