Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 564 for put (0.03 sec)

  1. android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

              // primitives
              .put(Object.class, "")
              .put(Number.class, 0)
              .put(UnsignedInteger.class, UnsignedInteger.ZERO)
              .put(UnsignedLong.class, UnsignedLong.ZERO)
              .put(BigInteger.class, BigInteger.ZERO)
              .put(BigDecimal.class, BigDecimal.ZERO)
              .put(CharSequence.class, "")
              .put(String.class, "")
              .put(Pattern.class, Pattern.compile(""))
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/ReflectionFreeAssertThrows.java

              .put(IndexOutOfBoundsException.class, e -> e instanceof IndexOutOfBoundsException)
              .put(NoSuchElementException.class, e -> e instanceof NoSuchElementException)
              .put(NullPointerException.class, e -> e instanceof NullPointerException)
              .put(NumberFormatException.class, e -> e instanceof NumberFormatException)
              .put(RuntimeException.class, e -> e instanceof RuntimeException)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 19:10:20 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  3. guava-testlib/test/com/google/common/testing/ReflectionFreeAssertThrows.java

              .put(IndexOutOfBoundsException.class, e -> e instanceof IndexOutOfBoundsException)
              .put(NoSuchElementException.class, e -> e instanceof NoSuchElementException)
              .put(NullPointerException.class, e -> e instanceof NullPointerException)
              .put(NumberFormatException.class, e -> e instanceof NumberFormatException)
              .put(RuntimeException.class, e -> e instanceof RuntimeException)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 22 13:49:09 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

        Multimap<String, Integer> toPut = LinkedListMultimap.create();
        toPut.put("foo", 1);
        toPut.put("bar", 4);
        toPut.put("foo", 2);
        toPut.put("foo", 1);
        toPut.put("bar", 5);
        Multimap<String, Integer> moreToPut = LinkedListMultimap.create();
        moreToPut.put("foo", 6);
        moreToPut.put("bar", 4);
        moreToPut.put("foo", 7);
        moreToPut.put("foo", 2);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/LinkedListMultimapTest.java

        map.put("foo", 1);
        map.put("bar", 2);
        map.put("bar", 3);
        assertEquals("{foo=[1], bar=[2, 3]}", map.toString());
        assertEquals("[foo=1, bar=2, bar=3]", map.entries().toString());
      }
    
      public void testLinkedPutOutOfOrder() {
        Multimap<String, Integer> map = create();
        map.put("bar", 1);
        map.put("foo", 2);
        map.put("bar", 3);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/ReflectionFreeAssertThrows.java

              .put(ClassCastException.class, e -> e instanceof ClassCastException)
              .put(
                  ConcurrentModificationException.class,
                  e -> e instanceof ConcurrentModificationException)
              .put(ExecutionError.class, e -> e instanceof ExecutionError)
              .put(ExecutionException.class, e -> e instanceof ExecutionException)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 7K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/cache/ReflectionFreeAssertThrows.java

              .put(ClassCastException.class, e -> e instanceof ClassCastException)
              .put(
                  ConcurrentModificationException.class,
                  e -> e instanceof ConcurrentModificationException)
              .put(ExecutionError.class, e -> e instanceof ExecutionError)
              .put(ExecutionException.class, e -> e instanceof ExecutionException)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  8. internal/store/queuestore_test.go

    	if err != nil {
    		t.Fatal("Failed to create a queue store ", err)
    	}
    	for i := 0; i < 5; i++ {
    		if _, err := store.Put(testItem); err != nil {
    			t.Fatal("Failed to put to queue store ", err)
    		}
    	}
    	// Should not allow 6th Put.
    	if _, err := store.Put(testItem); err == nil {
    		t.Fatalf("Expected to fail with %s, but passes", errLimitExceeded)
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/primitives/ReflectionFreeAssertThrows.java

              .put(IndexOutOfBoundsException.class, e -> e instanceof IndexOutOfBoundsException)
              .put(NoSuchElementException.class, e -> e instanceof NoSuchElementException)
              .put(NullPointerException.class, e -> e instanceof NullPointerException)
              .put(NumberFormatException.class, e -> e instanceof NumberFormatException)
              .put(RuntimeException.class, e -> e instanceof RuntimeException)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/net/ReflectionFreeAssertThrows.java

              .put(IndexOutOfBoundsException.class, e -> e instanceof IndexOutOfBoundsException)
              .put(NoSuchElementException.class, e -> e instanceof NoSuchElementException)
              .put(NullPointerException.class, e -> e instanceof NullPointerException)
              .put(NumberFormatException.class, e -> e instanceof NumberFormatException)
              .put(RuntimeException.class, e -> e instanceof RuntimeException)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 6.3K bytes
    - Viewed (0)
Back to top