/third_party/boost/libs/serialization/performance/ |
D | performance_utf8_codecvt.cpp | 128 std::vector<wchar_t> from_file; in test_main() local 144 from_file.push_back(item); in test_main() 151 BOOST_CHECK(from_file.size() == sizeof(td::wchar_encoding)/sizeof(wchar_t)); in test_main() 154 BOOST_CHECK(from_file.size() == 6); in test_main() 157 BOOST_CHECK(std::equal(from_file.begin(), from_file.end(), td::wchar_encoding)); in test_main() 165 from_file.begin(), in test_main() 166 from_file.end(), in test_main()
|
/third_party/boost/libs/detail/test/ |
D | test_utf8_codecvt.cpp | 146 std::vector<wchar_t> from_file; in test_main() local 162 from_file.push_back(item); in test_main() 166 BOOST_TEST(std::equal(from_file.begin(), from_file.end(), td::wchar_encoding)); in test_main() 174 from_file.begin(), in test_main() 175 from_file.end(), in test_main()
|
/third_party/boost/libs/filesystem/example/ |
D | mbcopy.cpp | 35 fs::ifstream from_file( from, std::ios_base::in | std::ios_base::binary ); in copy_file() local 36 if ( !from_file ) { std::cout << "input open failed\n"; return; } in copy_file() 42 while ( from_file.get(c) ) in copy_file() 48 if ( !from_file.eof() ) { std::cout << "read error\n"; } in copy_file()
|
/third_party/mindspore/tests/ut/python/dataset/ |
D | test_sentencepiece_tokenizer.py | 26 …vocab = text.SentencePieceVocab.from_file([VOCAB_FILE], 5000, 0.9995, SentencePieceModel.UNIGRAM, … 33 …vocab = text.SentencePieceVocab.from_file([VOCAB_FILE], 5000, 0.9995, SentencePieceModel.UNIGRAM, … 45 … vocab = text.SentencePieceVocab.from_file([VOCAB_FILE], 5000, 0.9995, SentencePieceModel.BPE, {}) 57 … vocab = text.SentencePieceVocab.from_file([VOCAB_FILE], 5000, 0.9995, SentencePieceModel.CHAR, {}) 70 … vocab = text.SentencePieceVocab.from_file([VOCAB_FILE], 5000, 0.9995, SentencePieceModel.WORD, {}) 82 …vocab = text.SentencePieceVocab.from_file([VOCAB_FILE], 5000, 0.9995, SentencePieceModel.UNIGRAM, … 94 …vocab = text.SentencePieceVocab.from_file([VOCAB_FILE], 5000, 0.9995, SentencePieceModel.UNIGRAM, … 107 …vocab = text.SentencePieceVocab.from_file([VOCAB_FILE], 5000, 0.9995, SentencePieceModel.UNIGRAM, …
|
D | test_nlp.py | 36 vocab = text.Vocab.from_file(VOCAB_FILE, ",", special_tokens=["<pad>", "<unk>"]) 54 vocab = text.Vocab.from_file(VOCAB_FILE, ",")
|
D | test_vocab.py | 52 vocab = text.Vocab.from_file(VOCAB_FILE, ",", None, ["<pad>", "<unk>"], True) 154 …vocab = text.Vocab.from_file(SIMPLE_VOCAB_FILE, vocab_size=vocab_size, special_tokens=special_toke…
|
/third_party/mindspore/mindspore/dataset/text/ |
D | utils.py | 104 …def from_file(cls, file_path, delimiter="", vocab_size=None, special_tokens=None, special_first=Tr… member in Vocab 129 return super().from_file(file_path, delimiter, vocab_size, special_tokens, special_first) 197 def from_file(cls, file_path, vocab_size, character_coverage, model_type, params): member in SentencePieceVocab 234 return super().from_file(file_path, vocab_size, character_coverage,
|
/third_party/python/Lib/zoneinfo/ |
D | _common.py | 28 header = _TZifHeader.from_file(fobj) 53 header = _TZifHeader.from_file(fobj) 143 def from_file(cls, stream): member in _TZifHeader
|
D | _zoneinfo.py | 78 def from_file(cls, fobj, /, key=None): member in ZoneInfo
|
/third_party/python/Lib/test/test_zoneinfo/ |
D | test_zoneinfo.py | 164 zi_ff = self.klass.from_file(f) 180 zi_ff = self.klass.from_file(f, key=file_key) 186 zi_ff_nk = self.klass.from_file(f) 196 return self.klass.from_file(f) 251 self.klass.from_file(fobj) 558 zi = self.klass.from_file(zf) 597 zi = self.klass.from_file(zf) 634 zi = self.klass.from_file(zf) 678 zi = self.klass.from_file(zf) 697 self.klass.from_file(zf) [all …]
|
/third_party/grpc/src/compiler/ |
D | node_generator.cc | 86 std::string GetRelativePath(const std::string& from_file, in GetRelativePath() argument 88 return GetRootPath(from_file, to_file) + to_file; in GetRelativePath()
|
/third_party/boost/libs/numeric/odeint/ |
D | fix-copyright.py | 67 if magic.from_file(filename, mime=True).split('/')[0] == 'text':
|
/third_party/glib/gio/tests/ |
D | tls-certificate.c | 204 from_file (const Reference *ref) in from_file() function 488 &ref, (GTestDataFunc)from_file); in main()
|
/third_party/python/Lib/xml/etree/ |
D | ElementTree.py | 1743 def canonicalize(xml_data=None, *, out=None, from_file=None, **options): argument 1756 if xml_data is None and from_file is None: 1767 elif from_file is not None: 1768 parse(from_file, parser=parser)
|
/third_party/python/Doc/library/ |
D | zoneinfo.rst | 195 .. classmethod:: ZoneInfo.from_file(fobj, /, key=None) 325 3. ``ZoneInfo.from_file(fobj, /, key=None)``: When constructed from a file, the
|
D | xml.etree.elementtree.rst | 507 .. function:: canonicalize(xml_data=None, *, out=None, from_file=None, **options) 518 file-like object (*from_file*) as input, converts it to the canonical 533 canonicalize(from_file="inputfile.xml", out=out_file)
|
D | zipfile.rst | 641 .. classmethod:: ZipInfo.from_file(filename, arcname=None, *, \
|
/third_party/abseil-cpp/absl/synchronization/ |
D | mutex_test.cc | 1215 const char *from_file; member 1246 return os << "from: " << param.from_file << ":" << param.from_line
|
/third_party/protobuf/src/google/protobuf/compiler/js/ |
D | js_generator.cc | 237 const FileDescriptor* from_file, in MaybeCrossFileRef() argument 241 from_file != to_message->file()) { in MaybeCrossFileRef() 1265 const FileDescriptor* from_file, in JSExtensionsObjectName() argument 1271 return MaybeCrossFileRef(options, from_file, desc) + ".extensions"; in JSExtensionsObjectName()
|
/third_party/python/Lib/test/ |
D | test_zipfile.py | 2622 zi = zipfile.ZipInfo.from_file(__file__) 2628 zi = zipfile.ZipInfo.from_file(pathlib.Path(__file__)) 2634 zi = zipfile.ZipInfo.from_file(os.fsencode(__file__), 'test') 2641 zi = zipfile.ZipInfo.from_file(f.fileno(), 'test') 2648 zi = zipfile.ZipInfo.from_file(dirpath, 'stdlib_tests')
|
D | test_dataclasses.py | 1782 def from_file(cls, filename): member in TestCase.test_alternate_classmethod_constructor.C 1788 self.assertEqual(C.from_file('filename').x, 20)
|
/third_party/skia/third_party/externals/abseil-cpp/absl/synchronization/ |
D | mutex_test.cc | 1245 const char *from_file; member 1276 return os << "from: " << param.from_file << ":" << param.from_line
|
/third_party/boost/tools/build/src/build/ |
D | virtual_target.py | 152 def from_file (self, file, file_location, project): member in VirtualTargetRegistry
|
D | targets.py | 816 self.manager_.virtual_targets ().from_file (
|
/third_party/python/Lib/ |
D | zipfile.py | 491 def from_file(cls, filename, arcname=None, *, strict_timestamps=True): member in ZipInfo 1728 zinfo = ZipInfo.from_file(filename, arcname,
|