- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for 2000 (0.23 sec)
-
tensorflow/c/env_test.cc
break; } ASSERT_TRUE(found) << "expected at least one temp dir"; TF_StringStreamDone(tempdirs); } TEST(TestEnv, TestTimeFunctions) { ASSERT_GE(TF_NowSeconds(), 946684800); // Midnight Jan 1, 2000 ASSERT_GE(TF_NowMicros(), 946684800 * 1e6); ASSERT_GE(TF_NowNanos(), 946684800 * 1e9); } namespace { struct SomeThreadData { ::tensorflow::mutex mu; bool did_work = false; };
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Dec 10 20:52:48 GMT 2018 - 4.2K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.cc
struct stat sbuf; if (stat(path, &sbuf) != 0) { TF_SetStatusFromIOError(status, errno, path); } else { stats->length = sbuf.st_size; stats->mtime_nsec = sbuf.st_mtime * (1000 * 1000 * 1000); stats->is_directory = S_ISDIR(sbuf.st_mode); TF_SetStatus(status, TF_OK, ""); } } static int GetChildren(const TF_Filesystem* filesystem, const char* path,
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Sun Mar 24 20:08:23 GMT 2024 - 15.8K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc
tf_gcs_filesystem::RamFileBlockCache cache2(0, 1, 0, fetcher); tf_gcs_filesystem::RamFileBlockCache cache3(0, 0, 0, fetcher); tf_gcs_filesystem::RamFileBlockCache cache4(1000, 1000, 0, fetcher); std::vector<char> out; TF_EXPECT_OK(ReadCache(&cache1, want_filename, want_offset, want_n, &out)); EXPECT_EQ(calls, 1); TF_EXPECT_OK(ReadCache(&cache2, want_filename, want_offset, want_n, &out));
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Fri Oct 15 03:16:57 GMT 2021 - 23.2K bytes - Viewed (0) -
tensorflow/c/c_api_test.cc
TestEncodeDecode(__LINE__, {}); TestEncodeDecode(__LINE__, {"hello"}); TestEncodeDecode(__LINE__, {"the", "quick", "brown", "fox", "jumped", "over"}); string big(1000, 'a'); TestEncodeDecode(__LINE__, {"small", big, "small2"}); } TEST(CAPI, SessionOptions) { TF_SessionOptions* opt = TF_NewSessionOptions(); TF_DeleteSessionOptions(opt); }
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 96.9K bytes - Viewed (3)