Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 234 for isPull (0.26 seconds)

  1. okcurl/src/test/kotlin/okhttp3/curl/MainTest.kt

        assertThat(request.body).isNull()
      }
    
      @Test
      fun userAgent() {
        val request = fromArgs("-A", "foo", "http://example.com").createRequest()
        assertThat(request.method).isEqualTo("GET")
        assertThat(request.url.toString()).isEqualTo("http://example.com/")
        assertThat(request.header("User-Agent")).isEqualTo("foo")
        assertThat(request.body).isNull()
      }
    
      @Test
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  2. 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)
  3. guava-tests/test/com/google/common/util/concurrent/AtomicsTest.java

      private static final Object OBJECT = new Object();
    
      public void testNewReference() throws Exception {
        assertThat(Atomics.newReference().get()).isNull();
      }
    
      public void testNewReference_withInitialValue() throws Exception {
        assertThat(Atomics.newReference(null).get()).isNull();
        assertEquals(OBJECT, Atomics.newReference(OBJECT).get());
      }
    
      public void testNewReferenceArray_withLength() throws Exception {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 2.8K bytes
    - Click Count (0)
  4. okhttp/src/commonTest/kotlin/okhttp3/CompressionInterceptorTest.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3
    
    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import assertk.assertions.isNull
    import okhttp3.HttpUrl.Companion.toHttpUrl
    import okhttp3.ResponseBody.Companion.asResponseBody
    import okhttp3.ResponseBody.Companion.toResponseBody
    import okio.Buffer
    import okio.ByteString.Companion.encodeUtf8
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Aug 01 06:04:22 GMT 2025
    - 3K bytes
    - Click Count (0)
  5. okhttp/src/commonTest/kotlin/okhttp3/internal/publicsuffix/ConfiguredPublicSuffixDatabaseTest.kt

            .readByteString()
    
        assertThat(publicSuffixDatabase.getEffectiveTldPlusOne("aaa")).isNull()
        assertThat(publicSuffixDatabase.getEffectiveTldPlusOne("ggg")).isNull()
        assertThat(publicSuffixDatabase.getEffectiveTldPlusOne("ccc")).isNull()
        assertThat(publicSuffixDatabase.getEffectiveTldPlusOne("eee")).isNull()
      }
    
      @Test fun exceptionRule() {
        list.bytes =
          Buffer()
            .writeUtf8("*.jp\n")
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  6. 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)
  7. 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)
  8. 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)
  9. okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt

        // On Windows files still exist while being edited.
        assertThat(readFileOrNull(getCleanFile("k1", 0))).isEqualTo(afterRemoveFileContents)
        assertThat(readFileOrNull(getDirtyFile("k1", 0))).isNull()
    
        // On all platforms files are deleted when the edit completes.
        editor.commit()
        assertThat(readFileOrNull(getCleanFile("k1", 0))).isNull()
        assertThat(readFileOrNull(getDirtyFile("k1", 0))).isNull()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 59.4K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/collect/AbstractTableTest.java

        }
      }
    
      public void testPut() {
        assertThat(table.put("foo", 1, cellValue('a'))).isNull();
        assertThat(table.put("bar", 1, cellValue('b'))).isNull();
        assertThat(table.put("foo", 3, cellValue('c'))).isNull();
        assertEquals((Character) 'a', table.put("foo", 1, cellValue('d')));
        assertEquals((Character) 'd', table.get("foo", 1));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 6K bytes
    - Click Count (0)
Back to Top