Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 313 for Shreve (0.29 sec)

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

        unfiltered.put("two", 2);
        unfiltered.put("three", 3);
        unfiltered.put("four", 4);
        assertEquals(ImmutableMap.of("two", 2, "three", 3, "four", 4), unfiltered);
        assertEquals(ImmutableMap.of("three", 3, "four", 4), filtered);
    
        unfiltered.remove("three");
        assertEquals(ImmutableMap.of("two", 2, "four", 4), unfiltered);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/TableCollectorsTest.java

                    .put("one", "uno", 1)
                    .put("two", "dos", 2)
                    .put("three", "tres", 3)
                    .build(),
                immutableCell("one", "uno", 1),
                immutableCell("two", "dos", 2),
                immutableCell("three", "tres", 3));
      }
    
      public void testToImmutableTableConflict() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Mar 05 16:03:18 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/base/Utf8Test.java

      // 2048
      private static final long THREE_BYTE_SURROGATES = 2 * 1024;
    
      // 61,440 [chars 0x0800 to 0xFFFF, minus surrogates]
      private static final long THREE_BYTE_ROUNDTRIPPABLE_CHARACTERS =
          0xFFFF - 0x0800 + 1 - THREE_BYTE_SURROGATES;
    
      // 2,650,112
      private static final long EXPECTED_THREE_BYTE_ROUNDTRIPPABLE_COUNT =
          // All one byte characters
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  4. tests/multi_primary_keys_test.go

    	if !compareTags(blog.SharedTags, []string{"tag1", "tag2", "tag3"}) {
    		t.Fatalf("Blog should has three tags after Append")
    	}
    
    	if DB.Model(&blog).Association("SharedTags").Count() != 3 {
    		t.Fatalf("Blog should has three tags after Append")
    	}
    
    	if DB.Model(&blog2).Association("SharedTags").Count() != 3 {
    		t.Fatalf("Blog should has three tags after Append")
    	}
    
    	var tags []Tag
    Go
    - Registered: Sun Apr 21 09:35:09 GMT 2024
    - Last Modified: Thu Jan 06 07:02:53 GMT 2022
    - 12.8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/AbstractMultimapAsMapImplementsMapTest.java

      }
    
      protected void populate(Multimap<String, Integer> multimap) {
        multimap.put("one", 1);
        multimap.put("two", 2);
        multimap.put("two", 22);
        multimap.put("three", 3);
        multimap.put("three", 33);
        multimap.put("three", 333);
      }
    
      @Override
      protected String getKeyNotInPopulatedMap() throws UnsupportedOperationException {
        return "zero";
      }
    
      @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java

            ImmutableMap.of("one", 1, "two", 2, "three", 3), "one", 1, "two", 2, "three", 3);
        assertMapEquals(
            ImmutableMap.of("one", 1, "two", 2, "three", 3, "four", 4),
            "one",
            1,
            "two",
            2,
            "three",
            3,
            "four",
            4);
        assertMapEquals(
            ImmutableMap.of("one", 1, "two", 2, "three", 3, "four", 4, "five", 5),
            "one",
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  7. android/guava-tests/benchmark/com/google/common/primitives/UnsignedLongsBenchmark.java

          tmp += UnsignedLongs.remainder(longs[j], divisors[j]);
        }
        return tmp;
      }
    
      @Benchmark
      long parseUnsignedLong(int reps) {
        long tmp = 0;
        // Given that we make three calls per pass, we scale reps down in order
        // to do a comparable amount of work to other measurements.
        int scaledReps = reps / 3 + 1;
        for (int i = 0; i < scaledReps; i++) {
          int j = i & ARRAY_MASK;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.3K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/base/FunctionsTest.java

        Map<String, @Nullable Integer> map = Maps.newHashMap();
        map.put("One", 1);
        map.put("Three", 3);
        map.put("Null", null);
        Function<String, @Nullable Integer> function = Functions.forMap(map);
    
        assertEquals(1, function.apply("One").intValue());
        assertEquals(3, function.apply("Three").intValue());
        assertNull(function.apply("Null"));
    
        try {
          function.apply("Two");
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 16K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/base/FunctionsTest.java

        Map<String, @Nullable Integer> map = Maps.newHashMap();
        map.put("One", 1);
        map.put("Three", 3);
        map.put("Null", null);
        Function<String, @Nullable Integer> function = Functions.forMap(map);
    
        assertEquals(1, function.apply("One").intValue());
        assertEquals(3, function.apply("Three").intValue());
        assertNull(function.apply("Null"));
    
        try {
          function.apply("Two");
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 16K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/AbstractMultimapAsMapImplementsMapTest.java

      }
    
      protected void populate(Multimap<String, Integer> multimap) {
        multimap.put("one", 1);
        multimap.put("two", 2);
        multimap.put("two", 22);
        multimap.put("three", 3);
        multimap.put("three", 33);
        multimap.put("three", 333);
      }
    
      @Override
      protected String getKeyNotInPopulatedMap() throws UnsupportedOperationException {
        return "zero";
      }
    
      @Override
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 3K bytes
    - Viewed (0)
Back to top