Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for okay (0.01 sec)

  1. android/guava/src/com/google/common/reflect/TypeResolver.java

            mappings.put(new TypeVariableKey(typeVariable), to);
          }
    
          @Override
          void visitWildcardType(WildcardType fromWildcardType) {
            if (!(to instanceof WildcardType)) {
              return; // okay to say <?> is anything
            }
            WildcardType toWildcardType = (WildcardType) to;
            Type[] fromUpperBounds = fromWildcardType.getUpperBounds();
            Type[] toUpperBounds = toWildcardType.getUpperBounds();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt

          assertFailsWith<IOException> {
            source.readUtf8()
          }
          try {
            assertThat(response.peekTrailers()).isNull() // Okay. This is what HTTP/1 does.
          } catch (_: IOException) {
            // Also okay. This is what HTTP/2 does.
          }
          assertFailsWith<IOException> {
            response.trailers()
          }
        }
      }
    
      @Test
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 18:57:05 UTC 2025
    - 18K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/MultipartBodyTest.kt

        val expected =
          """
          |--AaB03x
          |Content-Disposition: form-data; name="field with spaces"; filename="filename with spaces.txt"
          |Content-Type: text/plain; charset=utf-8
          |
          |okay
          |--AaB03x
          |Content-Disposition: form-data; name="field with %22"
          |
          |"
          |--AaB03x
          |Content-Disposition: form-data; name="field with %22"
          |
          |%22
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  4. mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt

          other.start(addressA, 0)
    
          // Same address is okay.
          other.start(addressA, 0)
    
          // Same address with bound port is okay.
          other.start(addressA, other.port)
    
          // Different address is not okay.
          assertFailsWith<IllegalStateException> {
            other.start(addressB, 0)
          }
    
          // Different port is not okay.
          assertFailsWith<IllegalStateException> {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Aug 03 22:38:00 UTC 2025
    - 28K bytes
    - Viewed (0)
  5. guava/src/com/google/common/reflect/TypeResolver.java

            mappings.put(new TypeVariableKey(typeVariable), to);
          }
    
          @Override
          void visitWildcardType(WildcardType fromWildcardType) {
            if (!(to instanceof WildcardType)) {
              return; // okay to say <?> is anything
            }
            WildcardType toWildcardType = (WildcardType) to;
            Type[] fromUpperBounds = fromWildcardType.getUpperBounds();
            Type[] toUpperBounds = toWildcardType.getUpperBounds();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/TestThread.java

      public TestThread(L lockLikeObject, String threadName) {
        super(threadName);
        this.lockLikeObject = checkNotNull(lockLikeObject);
        start();
      }
    
      // Thread.stop() is okay because all threads started by a test are dying at the end of the test,
      // so there is no object state put at risk by stopping the threads abruptly. In some cases a test
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/RouteSelectorTest.kt

       * https://github.com/square/okhttp/issues/5770
       */
      @Test fun proxySelectorNotCalledForNullHost() {
        // The string '>' is okay in a hostname in HttpUrl, which does very light hostname validation.
        // It is not okay in URI, and so it's stripped and we get a URI with a null host.
        val bogusHostname = ">"
        val address =
          factory.newAddress(
            uriHost = bogusHostname,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri May 30 21:28:20 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  8. src/cmd/api/main_test.go

    				// acknowledged by being in the file
    				// "api/except.txt". No need to print them out
    				// here.
    			} else if portRemoved(feature) {
    				// okay.
    			} else if featureSet[featureWithoutContext(feature)] {
    				// okay.
    			} else {
    				fmt.Fprintf(w, "-%s\n", feature)
    				ok = false // broke compatibility
    			}
    		case len(required) == 0 || (len(features) > 0 && required[0] > features[0]):
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Feb 20 03:25:33 UTC 2025
    - 31.4K bytes
    - Viewed (0)
  9. okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt

          val pkcs8Bytes =
            pkcs8Base64Text.decodeBase64()
              ?: throw IllegalArgumentException("failed to decode private key")
    
          // The private key doesn't tell us its type but it's okay because the certificate knows!
          val keyType =
            when (certificate.publicKey) {
              is ECPublicKey -> "EC"
              is RSAPublicKey -> "RSA"
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 21.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/TestThread.java

      public TestThread(L lockLikeObject, String threadName) {
        super(threadName);
        this.lockLikeObject = checkNotNull(lockLikeObject);
        start();
      }
    
      // Thread.stop() is okay because all threads started by a test are dying at the end of the test,
      // so there is no object state put at risk by stopping the threads abruptly. In some cases a test
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 10.8K bytes
    - Viewed (0)
Back to top