Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 22 for isNull (0.04 seconds)

  1. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        ValueReference<Object, Object> valueRef = map.newValueReference(entry, value, 1);
        entry.setValueReference(valueRef);
    
        assertThat(segment.get(key, hash)).isNull();
    
        // count == 0
        table.set(index, entry);
        assertThat(segment.get(key, hash)).isNull();
        assertThat(segment.containsKey(key, hash)).isFalse();
        assertThat(segment.containsValue(value)).isFalse();
    
        // count == 1
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 114.9K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/cache/LocalCacheTest.java

        ValueReference<Object, Object> valueRef = map.newValueReference(entry, value, 1);
        entry.setValueReference(valueRef);
    
        assertThat(segment.get(key, hash)).isNull();
    
        // count == 0
        table.set(index, entry);
        assertThat(segment.get(key, hash)).isNull();
        assertThat(segment.containsKey(key, hash)).isFalse();
        assertThat(segment.containsValue(value)).isFalse();
    
        // count == 1
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 116.4K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/collect/MutableClassToInstanceMapTest.java

        assertThat(map.get(Integer.class)).isNull();
        assertThat(map.getInstance(Integer.class)).isNull();
    
        map.put(Long.class, null);
        assertThat(map.get(Long.class)).isNull();
        assertThat(map.getInstance(Long.class)).isNull();
      }
    
      public void testPrimitiveAndWrapper() {
        assertThat(map.getInstance(int.class)).isNull();
        assertThat(map.getInstance(Integer.class)).isNull();
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 31 20:00:15 GMT 2026
    - 5K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java

        assertThat(map.containsKey(one)).isFalse();
        assertThat(map.containsValue(one)).isFalse();
        assertThat(map.putIfAbsent(two, three)).isNull();
        assertThat(map.remove(two)).isSameInstanceAs(three);
        assertThat(map.put(three, one)).isNull();
        assertThat(map.put(one, two)).isNull();
    
        assertThat(map).containsEntry(three, one);
        assertThat(map).containsEntry(one, two);
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 13.1K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/cache/LocalLoadingCacheTest.java

        assertThat(map.containsKey(one)).isFalse();
        assertThat(map.containsValue(one)).isFalse();
        assertThat(map.putIfAbsent(two, three)).isNull();
        assertThat(map.remove(two)).isSameInstanceAs(three);
        assertThat(map.put(three, one)).isNull();
        assertThat(map.put(one, two)).isNull();
    
        assertThat(map).containsEntry(three, one);
        assertThat(map).containsEntry(one, two);
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 13.1K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java

        fakeTicker.advance(2, MILLISECONDS);
        assertThat(cache.getIfPresent(10)).isNull();
        assertThat(cache.getIfPresent(20)).isNull();
        assertThat(cache.getIfPresent(4)).isNull();
    
        cache.put(10, 20);
        assertThat(cache.getIfPresent(10)).isEqualTo(20);
    
        fakeTicker.advance(1000, MILLISECONDS);
        assertThat(cache.getIfPresent(10)).isNull();
      }
    
      @Test
      public void expireAfterWriteAndAccess() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 15K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java

        fakeTicker.advance(2, MILLISECONDS);
        assertThat(cache.getIfPresent(10)).isNull();
        assertThat(cache.getIfPresent(20)).isNull();
        assertThat(cache.getIfPresent(4)).isNull();
    
        cache.put(10, 20);
        assertThat(cache.getIfPresent(10)).isEqualTo(20);
    
        fakeTicker.advance(1000, MILLISECONDS);
        assertThat(cache.getIfPresent(10)).isNull();
      }
    
      @Test
      public void expireAfterWriteAndAccess() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 15K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/graph/ValueGraphTest.java

        assertThat(graph.edgeValue(2, 1).orElse(DEFAULT)).isEqualTo(DEFAULT);
        assertThat(graph.edgeValueOrDefault(1, 2, null)).isNull();
        assertThat(graph.edgeValueOrDefault(2, 1, null)).isNull();
        assertThat(graph.edgeValue(1, 2).orElse(null)).isNull();
        assertThat(graph.edgeValue(2, 1).orElse(null)).isNull();
    
        graph.putEdgeValue(1, 2, "valueA");
        graph.putEdgeValue(2, 1, "valueB");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 20.5K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/graph/ValueGraphTest.java

        assertThat(graph.removeEdge(1, 2)).isEqualTo("valueA");
        assertThat(graph.removeEdge(1, 2)).isNull();
        assertThat(graph.removeEdge(2, 1)).isEqualTo("valueB");
        assertThat(graph.removeEdge(2, 1)).isNull();
        assertThat(graph.removeEdge(2, 3)).isEqualTo("valueC");
        assertThat(graph.removeEdge(2, 3)).isNull();
      }
    
      @Test
      public void removeEdge_undirected() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 17.9K bytes
    - Click Count (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/CookiesTest.kt

        assertThat(cookies.size).isEqualTo(1)
        val cookie = cookies[0]
        assertThat(cookie.name).isEqualTo("a")
        assertThat(cookie.value).isEqualTo("android")
        assertThat(cookie.comment).isNull()
        assertThat(cookie.commentURL).isNull()
        assertThat(cookie.discard).isFalse()
        assertThat(cookie.maxAge).isGreaterThan(100000000000L)
        assertThat(cookie.path).isEqualTo("/path")
        assertThat(cookie.secure).isTrue()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Mar 19 07:46:39 GMT 2026
    - 14.5K bytes
    - Click Count (0)
Back to Top