Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 127 for speed (0.05 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt

        assertThat(dnsEnd.inetAddressList.size).isEqualTo(1)
      }
    
      @Test
      fun noDnsLookupOnPooledConnection() {
        server.enqueue(MockResponse())
        server.enqueue(MockResponse())
    
        // Seed the pool.
        val call1 =
          client.newCall(
            Request
              .Builder()
              .url(server.url("/"))
              .build(),
          )
        val response1 = call1.execute()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 60.4K bytes
    - Viewed (0)
  2. cmd/benchmark-utils_test.go

    // randomly picks a character and returns its equivalent byte array.
    func getRandomByte() []byte {
    	const letterBytes = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
    	// seeding the random number generator.
    	rand.Seed(UTCNow().UnixNano())
    	// pick a character randomly.
    	return []byte{letterBytes[rand.Intn(len(letterBytes))]}
    }
    
    // picks a random byte and repeats it to size bytes.
    func generateBytesData(size int) []byte {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/primitives/UnsignedLongsTest.java

        assertThat(UnsignedLongs.remainder(0xfffffffffffffffeL, 5)).isEqualTo(4);
      }
    
      @GwtIncompatible // Too slow in GWT (~3min fully optimized)
      public void testDivideRemainderEuclideanProperty() {
        // Use a seed so that the test is deterministic:
        Random r = new Random(0L);
        for (int i = 0; i < 1000000; i++) {
          long dividend = r.nextLong();
          long divisor = r.nextLong();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  4. docs/features/https.md

    the certificate authorities of the host platform. This strategy maximizes connectivity, but it is subject to certificate authority attacks such as the [2011 DigiNotar attack](https://www.computerworld.com/article/2510951/cybercrime-hacking/hackers-spied-on-300-000-iranians-using-fake-google-certificate.html). It also assumes your HTTPS servers’ certificates are signed by a certificate authority.
    
    Use [CertificatePinner](https://square.github.io/okhttp/4.x/okhttp/okhttp3/-certificate-pinner/)...
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Dec 24 00:16:30 UTC 2022
    - 10.5K bytes
    - Viewed (0)
  5. cmd/erasure-decode.go

    	// we do not need stashbuffer for them.
    	if globalBytePoolCap.Load().WidthCap() >= len(readers)*shardSize {
    		// Fill buffers
    		b = globalBytePoolCap.Load().Get()
    		// Seed the buffers.
    		for i := range bufs {
    			bufs[i] = b[i*shardSize : (i+1)*shardSize]
    		}
    	}
    
    	return &parallelReader{
    		readers:       readers,
    		orgReaders:    readers,
    		dataBlocks:    e.dataBlocks,
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Aug 29 01:40:52 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  6. cmd/signature-v4.go

    	stringToSign += scope + "\n"
    	canonicalRequestBytes := sha256.Sum256([]byte(canonicalRequest))
    	stringToSign += hex.EncodeToString(canonicalRequestBytes[:])
    	return stringToSign
    }
    
    // getSigningKey hmac seed to calculate final signature.
    func getSigningKey(secretKey string, t time.Time, region string, stype serviceType) []byte {
    	date := sumHMAC([]byte("AWS4"+secretKey), []byte(t.Format(yyyymmdd)))
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Dec 13 22:19:12 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

              if (peek().onResponseStart is CloseSocket) {
                requestFinished.await()
              }
              return super.dispatch(request)
            }
          }
        dispatcher.enqueue(MockResponse(body = "seed connection pool"))
        dispatcher.enqueue(MockResponse.Builder().onResponseStart(CloseSocket()).build())
        dispatcher.enqueue(MockResponse(body = "retry success"))
        server.dispatcher = dispatcher
        listener =
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 146.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/SuggestHelper.java

                final List<FunctionScoreQueryBuilder.FilterFunctionBuilder> flist = new ArrayList<>();
                flist.add(new FunctionScoreQueryBuilder.FilterFunctionBuilder(ScoreFunctionBuilders.randomFunction()
                        .seed(ComponentUtil.getSystemHelper().getCurrentTimeAsLong())
                        .setField(fessConfig.getIndexFieldDocId())));
                reader.setQuery(QueryBuilders
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 22.3K bytes
    - Viewed (0)
  9. src/main/resources/fess_indices/fess.json

            },
            "alphanum_word_filter" : {
              "type" : "alphanum_word",
              "max_token_length" : 20
            },
            "minhash_filter" : {
              "type" : "minhash",
              "seed" : 1,
              "bit" : 2,
              "size" : 64
            },
            "synonym_filter" : {
              "type" : "synonym_graph",
              "synonyms_path": "${fess.dictionary.path}synonym.txt"
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Fri Jun 06 14:17:42 UTC 2025
    - 39.8K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/hash/HashingTest.java

      }
    
      /**
       * Tests equality of {@link Hashing#goodFastHash} instances. This test must be separate from
       * {@link #testSeededHashFunctionEquals} because the parameter to {@code goodFastHash} is a size,
       * not a seed, and because that size is rounded up. Thus, {@code goodFastHash} instances with
       * different parameters can be equal. That fact is a problem for {@code
       * testSeededHashFunctionEquals}.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 26.4K bytes
    - Viewed (2)
Back to top