Search Options

Results per page
Sort
Preferred Languages
Advance

Results 401 - 410 of 524 for eval (0.03 sec)

  1. android/guava/src/com/google/common/hash/Fingerprint2011.java

        long v = length >= 9 ? load64(bytes, offset + length - 8) : K0;
        result = hash128to64(result + v, u);
        return result == 0 || result == 1 ? result + ~1 : result;
      }
    
      private static long shiftMix(long val) {
        return val ^ (val >>> 47);
      }
    
      /** Implementation of Hash128to64 from util/hash/hash128to64.h */
      @VisibleForTesting
      static long hash128to64(long high, long low) {
        long a = (low ^ high) * K3;
        a ^= a >>> 47;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  2. cmd/signature-v4-utils.go

    		// but its always necessary that the list of signed headers containing host in it.
    		val, ok := reqHeaders[http.CanonicalHeaderKey(header)]
    		if !ok {
    			// try to set headers from Query String
    			val, ok = reqQueries[header]
    		}
    		if ok {
    			extractedSignedHeaders[http.CanonicalHeaderKey(header)] = val
    			continue
    		}
    		switch header {
    		case "expect":
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Nov 25 17:10:22 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  3. samples/guide/src/main/java/okhttp3/recipes/kt/CertificatePinning.kt

    import okhttp3.Request
    
    class CertificatePinning {
      private val client =
        OkHttpClient
          .Builder()
          .certificatePinner(
            CertificatePinner
              .Builder()
              .add("publicobject.com", "sha256/Vjs8r4z+80wjNcr1YKepWQboSIRi63WsWXhIMN+eWys=")
              .build(),
          ).build()
    
      fun run() {
        val request =
          Request
            .Builder()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  4. docs/site-replication/run-multi-site-oidc.sh

    ./mc tag set minio2/newbucket "key=val1"
    if [ $? -ne 0 ]; then
    	echo "expecting tag set to be successful. exiting.."
    	exit_1
    fi
    
    sleep 10
    val=$(./mc tag list minio1/newbucket --json | jq -r .tagset | jq -r .key)
    if [ "${val}" != "val1" ]; then
    	echo "expected bucket tag to have replicated, exiting..."
    	exit_1
    fi
    # stop minio1 instance
    kill -9 ${site1_pid}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Sep 24 08:03:58 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  5. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/Android10Platform.kt

    /** Android 10+ (API 29+). */
    @SuppressSignatureCheck
    class Android10Platform :
      Platform(),
      ContextAwarePlatform {
      override var applicationContext: Context? = null
    
      private val socketAdapters =
        listOfNotNull(
          Android10SocketAdapter.buildIfSupported(),
          DeferredSocketAdapter(AndroidSocketAdapter.playProviderFactory),
          // Delay and Defer any initialisation of Conscrypt and BouncyCastle
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Jul 20 11:25:50 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/PublicInternalApiTest.kt

      }
    
      @Test
      fun requiresRequestBody() {
        assertTrue(requiresRequestBody("PUT"))
        assertFalse(requiresRequestBody("GET"))
      }
    
      @Test
      fun hasBody() {
        val request = Request.Builder().url("http://example.com").build()
        val response =
          Response
            .Builder()
            .code(200)
            .message("OK")
            .request(request)
            .protocol(Protocol.HTTP_2)
            .build()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  7. okhttp/src/commonTest/kotlin/okhttp3/internal/publicsuffix/ConfiguredPublicSuffixDatabaseTest.kt

    import assertk.assertions.isEqualTo
    import assertk.assertions.isNull
    import okio.Buffer
    import org.junit.jupiter.api.Test
    
    class ConfiguredPublicSuffixDatabaseTest {
      private val list = ConfiguredPublicSuffixList()
      private val publicSuffixDatabase = PublicSuffixDatabase(list)
    
      @Test fun longestMatchWins() {
        list.bytes =
          Buffer()
            .writeUtf8("com\n")
            .writeUtf8("my.square.com\n")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  8. cmd/xl-storage-meta-inline.go

    	vals := make([][]byte, 0, sz)
    	for range sz {
    		var key, val []byte
    		key, buf, err = msgp.ReadMapKeyZC(buf)
    		if err != nil {
    			break
    		}
    		if len(key) == 0 {
    			break
    		}
    		val, buf, err = msgp.ReadBytesZC(buf)
    		if err != nil {
    			break
    		}
    		keys = append(keys, key)
    		vals = append(vals, val)
    	}
    	x.serialize(-1, keys, vals)
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  9. okhttp-testing-support/src/main/kotlin/okhttp3/ClientRuleEventListener.kt

        nextRequest: Request?,
      ) {
        logWithTime("followUpDecision")
    
        delegate.followUpDecision(call, networkResponse, nextRequest)
      }
    
      private fun logWithTime(message: String) {
        val startNs = startNs
        val timeMs =
          if (startNs == null) {
            // Event occurred before start, for an example an early cancel.
            0L
          } else {
            TimeUnit.NANOSECONDS.toMillis(System.nanoTime() - startNs)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:58:02 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  10. cmd/api-resources.go

    	errCode = ErrNone
    
    	// The continuation-token cannot be empty.
    	if val, ok := values["continuation-token"]; ok {
    		if len(val[0]) == 0 {
    			errCode = ErrIncorrectContinuationToken
    			return
    		}
    	}
    
    	if values.Get("max-keys") != "" {
    		var err error
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Jun 07 18:25:26 UTC 2023
    - 4.3K bytes
    - Viewed (0)
Back to top