Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 119 for is_full (0.17 sec)

  1. okhttp/src/test/java/okhttp3/HttpUrlTest.kt

        assertThat(base.newBuilder("")!!.build()).isEqualTo(parse("http://host/a/b"))
        assertThat(base.newBuilder("ftp://b")).isNull()
        assertThat(base.newBuilder("ht+tp://b")).isNull()
        assertThat(base.newBuilder("ht-tp://b")).isNull()
        assertThat(base.newBuilder("ht.tp://b")).isNull()
      }
    
      @Test
      fun redactedUrl() {
        val baseWithPasswordAndUsername = parse("http://username:password@host/a/b#fragment")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 67.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/CompactLinkedHashSetTest.java

        return suite;
      }
    
      public void testAllocArraysDefault() {
        CompactHashSet<Integer> set = CompactHashSet.create();
        assertThat(set.needsAllocArrays()).isTrue();
        assertThat(set.elements).isNull();
    
        set.add(1);
        assertThat(set.needsAllocArrays()).isFalse();
        assertThat(set.elements).hasLength(CompactHashing.DEFAULT_SIZE);
      }
    
      public void testAllocArraysExpectedSize() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Oct 24 18:57:48 GMT 2019
    - 3.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/primitives/LongsTest.java

        assertThat(Longs.tryParse("")).isNull();
        assertThat(Longs.tryParse("-")).isNull();
        assertThat(Longs.tryParse("+1")).isNull();
        assertThat(Longs.tryParse("999999999999999999999999")).isNull();
        assertWithMessage("Max long + 1")
            .that(Longs.tryParse(BigInteger.valueOf(MAX_VALUE).add(BigInteger.ONE).toString()))
            .isNull();
        assertWithMessage("Max long * 10")
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 30K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/primitives/LongsTest.java

        assertThat(Longs.tryParse("")).isNull();
        assertThat(Longs.tryParse("-")).isNull();
        assertThat(Longs.tryParse("+1")).isNull();
        assertThat(Longs.tryParse("999999999999999999999999")).isNull();
        assertWithMessage("Max long + 1")
            .that(Longs.tryParse(BigInteger.valueOf(MAX_VALUE).add(BigInteger.ONE).toString()))
            .isNull();
        assertWithMessage("Max long * 10")
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 30K bytes
    - Viewed (0)
  5. okhttp-android/src/androidTest/kotlin/okhttp3/android/AndroidAsyncDnsTest.kt

        assumeNetwork()
    
        val (allAddresses, exception) = dnsQuery("google.com")
    
        assertThat(exception).isNull()
        assertThat(allAddresses).isNotEmpty()
      }
    
      @Test
      fun testDnsRequestInvalid() {
        val (allAddresses, exception) = dnsQuery("google.invalid")
    
        assertThat(exception).isNull()
        assertThat(allAddresses).isEmpty()
      }
    
      @Test
      fun testRequestOnNetwork() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/internal/cache2/RelayTest.kt

     * limitations under the License.
     */
    package okhttp3.internal.cache2
    
    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import assertk.assertions.isFalse
    import assertk.assertions.isNull
    import assertk.assertions.isTrue
    import java.io.File
    import java.io.IOException
    import java.util.concurrent.Callable
    import java.util.concurrent.Executors
    import kotlin.test.assertFailsWith
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/HandshakeTest.kt

    package okhttp3
    
    import assertk.assertThat
    import assertk.assertions.containsExactly
    import assertk.assertions.hasMessage
    import assertk.assertions.isEmpty
    import assertk.assertions.isEqualTo
    import assertk.assertions.isNull
    import java.io.IOException
    import java.security.cert.Certificate
    import kotlin.test.assertFailsWith
    import okhttp3.Handshake.Companion.handshake
    import okhttp3.tls.HeldCertificate
    import org.junit.jupiter.api.Test
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

        val page2 = server.takeRequest()
        assertThat(page2.requestLine).isEqualTo("GET /page2 HTTP/1.1")
        assertThat(page2.headers["Content-Length"]).isNull()
        assertThat(page2.headers["Content-Type"]).isNull()
        assertThat(page2.headers["Transfer-Encoding"]).isNull()
      }
    
      @Test
      fun response305UseProxy() {
        server.enqueue(
          MockResponse(
            code = HttpURLConnection.HTTP_USE_PROXY,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 131.7K bytes
    - Viewed (0)
  9. internal/bucket/lifecycle/lifecycle.go

    	}
    	return false
    }
    
    // HasExpiry returns 'true' if lifecycle document has Expiry enabled.
    func (lc Lifecycle) HasExpiry() bool {
    	for _, rule := range lc.Rules {
    		if !rule.Expiration.IsNull() || !rule.NoncurrentVersionExpiration.IsNull() {
    			return true
    		}
    	}
    	return false
    }
    
    // UnmarshalXML - decodes XML data.
    func (lc *Lifecycle) UnmarshalXML(d *xml.Decoder, start xml.StartElement) (err error) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  10. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsOverHttpsTest.kt

    import assertk.assertions.containsExactly
    import assertk.assertions.containsExactlyInAnyOrder
    import assertk.assertions.hasMessage
    import assertk.assertions.isEqualTo
    import assertk.assertions.isInstanceOf
    import assertk.assertions.isNull
    import java.io.EOFException
    import java.io.File
    import java.io.IOException
    import java.net.InetAddress
    import java.net.UnknownHostException
    import java.util.concurrent.TimeUnit
    import mockwebserver3.MockResponse
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 11K bytes
    - Viewed (0)
Back to top