Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for 1234ef (0.14 sec)

  1. guava-tests/test/com/google/common/collect/IteratorsTest.java

        Iterator<Integer> iterator = singleton(0).iterator();
        assertEquals(1, Iterators.size(iterator));
      }
    
      public void testSize_partiallyConsumed() {
        Iterator<Integer> iterator = asList(1, 2, 3, 4, 5).iterator();
        iterator.next();
        iterator.next();
        assertEquals(3, Iterators.size(iterator));
      }
    
      public void test_contains_nonnull_yes() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 54.1K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_function_test.cc

      DefineT(-1, {}, {{feed, 0}}, {{split, 1}}, {});
    
      // Use, run, and verify
      TF_Operation* func_feed = Placeholder(host_graph_, s_);
      TF_Operation* func_op = Use({func_feed});
      RunT({{func_feed, Int32Tensor({1, 2, 3, 4, 5, 6})}}, {{func_op, 0}},
           {{3, 4}});
      VerifyFDef({"split3_const0", "split3_0"}, M({{"feed"}}), M({{"split3"}}),
                 {{"split3_const0:output:0", "split3_0:0"},
                  {"feed", "split3_0:1"},
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Jul 20 22:08:54 UTC 2023
    - 63.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        assertEquals(1, stats.loadSuccessCount());
        assertEquals(0, stats.loadExceptionCount());
        assertEquals(0, stats.hitCount());
    
        assertEquals(ImmutableMap.of(1, 1, 2, 2, 3, 3, 4, 4), cache.getAll(asList(1, 2, 3, 4)));
        stats = cache.stats();
        assertEquals(4, stats.missCount());
        assertEquals(4, stats.loadSuccessCount());
        assertEquals(0, stats.loadExceptionCount());
        assertEquals(1, stats.hitCount());
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 86.3K bytes
    - Viewed (0)
  4. src/bufio/bufio_test.go

    	}
    	if got, want := NewReaderSize(nil, 1234).Size(), 1234; got != want {
    		t.Errorf("NewReaderSize's Reader.Size = %d; want %d", got, want)
    	}
    }
    
    func TestWriterSize(t *testing.T) {
    	if got, want := NewWriter(nil).Size(), DefaultBufSize; got != want {
    		t.Errorf("NewWriter's Writer.Size = %d; want %d", got, want)
    	}
    	if got, want := NewWriterSize(nil, 1234).Size(), 1234; got != want {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Nov 01 21:52:12 UTC 2024
    - 51.6K bytes
    - Viewed (0)
Back to top