Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 146 for speed (0.05 sec)

  1. 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)
  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. lib/fips140/v1.0.0.zip

    privateKeySize = seedSize + publicKeySize signatureSize = 64 sha512Size = 64 ) type PrivateKey struct { seed [seedSize]byte pub [publicKeySize]byte s edwards25519.Scalar prefix [sha512Size / 2]byte } func (priv *PrivateKey) Bytes() []byte { k := make([]byte, 0, privateKeySize) k = append(k, priv.seed[:]...) k = append(k, priv.pub[:]...) return k } func (priv *PrivateKey) Seed() []byte { seed := priv.seed return seed[:] } func (priv *PrivateKey) PublicKey() []byte { pub := priv.pub return pub[:] } type PublicKey...
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Jan 29 15:10:35 UTC 2025
    - 635K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  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. 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)
  8. api/go1.24.txt

    pkg go/types, method (*TypeParamList) TypeParams() iter.Seq[*TypeParam] #66626
    pkg go/types, method (*Union) Terms() iter.Seq[*Term] #66626
    pkg hash/maphash, func Comparable[$0 comparable](Seed, $0) uint64 #54670
    pkg hash/maphash, func WriteComparable[$0 comparable](*Hash, $0) #54670
    pkg log/slog, method (*LevelVar) AppendText([]uint8) ([]uint8, error) #62384
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Dec 17 21:28:29 UTC 2024
    - 14.2K 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