Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for OutOfRange (0.21 sec)

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

      for (int i = 0; i < 2; i++) {
        for (int j = 0; j < block_count; j++) {
          TF_EXPECT_OK(ReadCache(&cache, "", block_size * j, block_size, &out));
        }
      }
    }
    
    TEST(RamFileBlockCacheTest, OutOfRange) {
      // Tests reads of a 24-byte file with block size 16.
      const size_t block_size = 16;
      const size_t file_size = 24;
      bool first_block = false;
      bool second_block = false;
    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)
  2. android/guava-tests/test/com/google/common/hash/HashingTest.java

            map.incrementAndGet(shards);
            last = chosen;
          }
        }
      }
    
      private static final int ITERS = 10000;
      private static final int MAX_SHARDS = 500;
    
      public void testConsistentHash_outOfRange() {
        assertThrows(IllegalArgumentException.class, () -> Hashing.consistentHash(5L, 0));
      }
    
      public void testConsistentHash_ofHashCode() {
        checkSameResult(HashCode.fromLong(1), 1);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 26.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/hash/HashingTest.java

            map.incrementAndGet(shards);
            last = chosen;
          }
        }
      }
    
      private static final int ITERS = 10000;
      private static final int MAX_SHARDS = 500;
    
      public void testConsistentHash_outOfRange() {
        assertThrows(IllegalArgumentException.class, () -> Hashing.consistentHash(5L, 0));
      }
    
      public void testConsistentHash_ofHashCode() {
        checkSameResult(HashCode.fromLong(1), 1);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 26.5K bytes
    - Viewed (0)
  4. tensorflow/c/c_api.cc

    using tensorflow::TensorId;
    using tensorflow::TensorShapeProto;
    using tensorflow::VersionDef;
    using tensorflow::errors::FailedPrecondition;
    using tensorflow::errors::InvalidArgument;
    using tensorflow::errors::OutOfRange;
    using tensorflow::gtl::ArraySlice;
    using tensorflow::strings::StrCat;
    
    extern "C" {
    
    // --------------------------------------------------------------------------
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
Back to top