Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 247 for _1 (0.15 sec)

  1. okhttp/src/main/kotlin/okhttp3/Interceptor.kt

     *   override fun intercept(chain: Interceptor.Chain): Response {
     *     if (myConfig.isInvalid()) {
     *       return Response.Builder()
     *           .request(chain.request())
     *           .protocol(Protocol.HTTP_1_1)
     *           .code(400)
     *           .message("client config invalid")
     *           .body("client config invalid".toResponseBody(null))
     *           .build()
     *     }
     *
     *     return chain.proceed(chain.request())
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/HandshakeTest.kt

        val handshake =
          Handshake.get(
            tlsVersion = TlsVersion.TLS_1_3,
            cipherSuite = CipherSuite.TLS_AES_128_GCM_SHA256,
            peerCertificates = listOf(serverCertificate.certificate, serverIntermediate.certificate),
            localCertificates = listOf(),
          )
    
        assertThat(handshake.tlsVersion).isEqualTo(TlsVersion.TLS_1_3)
        assertThat(handshake.cipherSuite).isEqualTo(CipherSuite.TLS_AES_128_GCM_SHA256)
    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)
  3. cmd/last-minute.go

    	switch tag {
    	case sizeLessThan1KiB:
    		return "LESS_THAN_1_KiB"
    	case sizeLessThan1MiB:
    		return "LESS_THAN_1_MiB"
    	case sizeLessThan10MiB:
    		return "LESS_THAN_10_MiB"
    	case sizeLessThan100MiB:
    		return "LESS_THAN_100_MiB"
    	case sizeLessThan1GiB:
    		return "LESS_THAN_1_GiB"
    	case sizeGreaterThan1GiB:
    		return "GREATER_THAN_1_GiB"
    	default:
    		return "unknown"
    	}
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Jul 05 17:40:45 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java

        // greater than 127 (ie with their top bit set).
        // Don't attempt to do this in real code.
        assertEquals(
            fingerprint(stringA.getBytes(ISO_8859_1)), fingerprint(stringB.getBytes(ISO_8859_1)));
      }
    
      public void testPutNonChars() {
        Hasher hasher = HASH_FN.newHasher();
        // Expected data is 0x0100010100000000
        hasher
            .putBoolean(true)
            .putBoolean(true)
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Jul 19 14:00:24 GMT 2016
    - 6.2K bytes
    - Viewed (0)
  5. cmd/data-usage-cache_test.go

    				"LESS_THAN_1024_B":         2,
    				"BETWEEN_64_KB_AND_256_KB": 2,
    				"BETWEEN_1024B_AND_1_MB":   2,
    			},
    		},
    		{
    			sizes: []int64{100, 1000, 2000, 100_000, 13 * humanize.MiByte},
    			want: map[string]uint64{
    				"LESS_THAN_1024_B":         2,
    				"BETWEEN_1024_B_AND_64_KB": 1,
    				"BETWEEN_64_KB_AND_256_KB": 1,
    				"BETWEEN_1024B_AND_1_MB":   2,
    				"BETWEEN_10_MB_AND_64_MB":  1,
    			},
    		},
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Jan 13 07:51:08 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  6. docs/changelogs/upgrading_to_okhttp_4.md

      kotlinOptions {
        jvmTarget = "1.8"
      }
    }
    
    compileJava {
      sourceCompatibility = JavaVersion.VERSION_1_8
      targetCompatibility = JavaVersion.VERSION_1_8
    }
    
    android {
      compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
      }
    }
    ```
    
    
     [advanced_profiling_bug]: https://issuetracker.google.com/issues/135141615
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 16:58:16 GMT 2022
    - 10.9K bytes
    - Viewed (0)
  7. .teamcity/src/test/kotlin/CIConfigIntegrationTests.kt

            assertEquals("Check_QckFdbckCrssVrsn_1_vryLngSbprjctNmLngrThnEvrythngWHv", shortenedId)
    
            assertEquals("Check_QuickFeedbackCrossVersion_1_iIntegT", testCoverage.asConfigurationId(model, "internalIntegTesting"))
    
            assertEquals("Check_QuickFeedbackCrossVersion_1_buildCache", testCoverage.asConfigurationId(model, "buildCache"))
    
            assertEquals("Check_QuickFeedbackCrossVersion_1_0", testCoverage.asConfigurationId(model))
        }
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Tue Jan 02 10:00:06 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/Challenge.kt

     */
    package okhttp3
    
    import java.nio.charset.Charset
    import java.util.Collections.singletonMap
    import java.util.Collections.unmodifiableMap
    import java.util.Locale.US
    import kotlin.text.Charsets.ISO_8859_1
    import okhttp3.internal.commonEquals
    import okhttp3.internal.commonHashCode
    import okhttp3.internal.commonToString
    
    /**
     * An [RFC 7235][rfc_7235] challenge.
     *
     * [rfc_7235]: https://tools.ietf.org/html/rfc7235
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/hash/Fingerprint2011Test.java

        // greater than 127 (ie with their top bit set).
        // Don't attempt to do this in real code.
        assertEquals(
            fingerprint(stringA.getBytes(ISO_8859_1)), fingerprint(stringB.getBytes(ISO_8859_1)));
      }
    
      public void testMumurHash64() {
        byte[] bytes = "test".getBytes(UTF_8);
        assertEquals(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Dec 29 14:55:25 GMT 2021
    - 7.6K bytes
    - Viewed (0)
  10. tests/test_openapi_examples.py

    def path_examples(
        item_id: str = Path(
            examples=[
                "json_schema_item_1",
                "json_schema_item_2",
            ],
            openapi_examples={
                "Path One": {
                    "summary": "Path One Summary",
                    "description": "Path One Description",
                    "value": "item_1",
                },
                "Path Two": {
                    "value": "item_2",
                },
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Oct 24 20:26:06 GMT 2023
    - 17K bytes
    - Viewed (0)
Back to top