Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for 42 (1.3 sec)

  1. tensorflow/c/experimental/filesystem/plugins/gcs/expiring_lru_cache_test.cc

      // timestamp of the entry.
      cache.Insert(key, 41);
      env->SetNowSeconds(2);
      cache.Insert(key, 42);
      // 1 second after the most recent insertion, the entry is still valid.
      env->SetNowSeconds(3);
      int value = 0;
      EXPECT_TRUE(cache.Lookup(key, &value));
      EXPECT_EQ(value, 42);
      // 2 seconds after the most recent insertion, the entry is no longer valid.
      env->SetNowSeconds(4);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 09 19:31:22 GMT 2020
    - 7.1K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api_experimental_test.cc

        CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
    
        TF_Tensor* t =
            TF_AllocateTensor(TF_INT32, nullptr, 0, 1 * sizeof(tensorflow::int32));
        *reinterpret_cast<tensorflow::int32*>(TF_TensorData(t)) = 42;
        TFE_TensorHandle* h = TFE_NewTensorHandle(t, status);
        ASSERT_TRUE(TF_GetCode(status) == TF_OK) << TF_Message(status);
        TF_DeleteTensor(t);
    
        TFE_Op* op = TFE_NewOp(ctx, "ident", status);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 03:14:26 GMT 2023
    - 31.5K bytes
    - Viewed (1)
  3. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc

      TF_EXPECT_OK(ReadCache(&cache, filename, 0, 16, &out));
      EXPECT_EQ(calls, 2);
    }
    
    TEST(RamFileBlockCacheTest, PassThrough) {
      const string want_filename = "foo/bar";
      const size_t want_offset = 42;
      const size_t want_n = 1024;
      int calls = 0;
      auto fetcher = [&calls, want_filename, want_offset, want_n](
                         const string& got_filename, size_t got_offset,
    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)
  4. ci/official/containers/linux_arm64/builder.devtoolset/stringop_trunc.patch

    -__STRING_INLINE char *__strcpy_small (char *, __uint16_t, __uint16_t,
    -				      __uint32_t, __uint32_t, size_t);
     __STRING_INLINE char *
     __strcpy_small (char *__dest,
     		__uint16_t __src0_2, __uint16_t __src4_2,
    @@ -482,42 +257,6 @@ __strcpy_small (char *__dest,
       return __dest;
     }
     # else
    -#  ifndef _FORCE_INLINES
    -#   define __strcpy_args(src) \
    -     __extension__ ((__STRING2_COPY_ARR2)				      \
    Others
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Sep 18 14:52:45 GMT 2023
    - 42.9K bytes
    - Viewed (1)
Back to top