Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 109 for isPull (1.01 seconds)

  1. android/guava/src/com/google/common/base/Predicates.java

       *
       * <p><b>Discouraged:</b> Prefer using either {@code x -> x == null} or {@code Objects::isNull},
       * but note that lambdas and method references do not have human-readable {@link #toString()}
       * representations and are not serializable.
       */
      public static <T extends @Nullable Object> Predicate<T> isNull() {
        return ObjectPredicate.IS_NULL.withNarrowedType();
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 26.6K bytes
    - Click Count (0)
  2. guava/src/com/google/common/base/Predicates.java

       *
       * <p><b>Discouraged:</b> Prefer using either {@code x -> x == null} or {@code Objects::isNull},
       * but note that lambdas and method references do not have human-readable {@link #toString()}
       * representations and are not serializable.
       */
      public static <T extends @Nullable Object> Predicate<T> isNull() {
        return ObjectPredicate.IS_NULL.withNarrowedType();
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 26.6K bytes
    - Click Count (0)
  3. internal/ringbuffer/ring_buffer_test.go

    	}
    	// check empty or full
    	if rb.IsEmpty() {
    		t.Fatalf("expect IsEmpty is false but got true")
    	}
    	if rb.IsFull() {
    		t.Fatalf("expect IsFull is false but got true")
    	}
    
    	// write to, isFull
    	err = rb.WriteByte('b')
    	if err != nil {
    		t.Fatalf("WriteByte failed: %v", err)
    	}
    	if rb.Length() != 2 {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 26.7K bytes
    - Click Count (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/CookieTest.kt

        assertThat(parse(url, "a\u0000b=cd")).isNull()
        assertThat(parse(url, "ab=c\u0000d")).isNull()
        assertThat(parse(url, "a\u0001b=cd")).isNull()
        assertThat(parse(url, "ab=c\u0001d")).isNull()
        assertThat(parse(url, "a\u0009b=cd")).isNull()
        assertThat(parse(url, "ab=c\u0009d")).isNull()
        assertThat(parse(url, "a\u001fb=cd")).isNull()
        assertThat(parse(url, "ab=c\u001fd")).isNull()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Nov 01 12:18:11 GMT 2025
    - 24.4K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java

        assertThat(spec.initialCapacity).isNull();
        assertThat(spec.maximumSize).isNull();
        assertThat(spec.maximumWeight).isNull();
        assertThat(spec.concurrencyLevel).isNull();
        assertThat(spec.keyStrength).isNull();
        assertThat(spec.valueStrength).isNull();
        assertThat(spec.writeExpirationTimeUnit).isNull();
        assertThat(spec.accessExpirationTimeUnit).isNull();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 30 22:03:28 GMT 2025
    - 20.8K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/collect/SynchronizedNavigableMapTest.java

      }
    
      public void testHigherEntry() {
        assertThat(create().higherEntry("a")).isNull();
      }
    
      public void testHigherKey() {
        assertThat(create().higherKey("a")).isNull();
      }
    
      public void testLastEntry() {
        assertThat(create().lastEntry()).isNull();
      }
    
      public void testLastKey() {
        NavigableMap<String, Integer> map = create();
        map.put("a", 1);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 12.8K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/primitives/IntsTest.java

        assertThat(Ints.tryParse("")).isNull();
        assertThat(Ints.tryParse("-")).isNull();
        assertThat(Ints.tryParse("+1")).isNull();
        assertThat(Ints.tryParse("9999999999999999")).isNull();
        assertWithMessage("Max integer + 1")
            .that(Ints.tryParse(Long.toString(((long) GREATEST) + 1)))
            .isNull();
        assertWithMessage("Max integer * 10")
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 29.4K bytes
    - Click Count (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/RequestCommonTest.kt

            .url("https://square.com")
            .build()
        assertThat(request.tag<Any>()).isNull()
        assertThat(request.tag(Any::class)).isNull()
        assertThat(request.tag(String::class)).isNull()
    
        // Alternate access APIs also work.
        assertThat(request.tag<String>()).isNull()
        assertThat(request.tag(String::class)).isNull()
      }
    
      @Test
      fun defaultTag() {
        val tag = "1234"
        val request =
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 11K bytes
    - Click Count (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/MultipartReaderTest.kt

            boundary = "simple boundary",
            source = Buffer().writeUtf8(multipart),
          )
    
        assertThat(parts.nextPart()).isNotNull()
        assertThat(parts.nextPart()).isNull()
        assertThat(parts.nextPart()).isNull()
      }
    
      @Test fun `empty source`() {
        val parts =
          MultipartReader(
            boundary = "simple boundary",
            source = Buffer(),
          )
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed May 28 02:11:14 GMT 2025
    - 15.4K bytes
    - Click Count (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt

            .build()
        assertThat(request.tag()).isNull()
        assertThat(request.tag(Any::class.java)).isNull()
        assertThat(request.tag(UUID::class.java)).isNull()
        assertThat(request.tag(String::class.java)).isNull()
    
        // Alternate access APIs also work.
        assertThat(request.tag<String>()).isNull()
        assertThat(request.tag(String::class)).isNull()
      }
    
      @Test
      fun defaultTag() {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 24.6K bytes
    - Click Count (0)
Back to Top