- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 138 for 256 (0.01 sec)
-
android/guava-tests/test/com/google/common/util/concurrent/StripedTest.java
// not bothering testing all variations, since we know they share implementations assertTrue(Striped.lock(100).size() >= 100); assertTrue(Striped.lock(256).size() == 256); assertTrue(Striped.lazyWeakLock(100).size() >= 100); assertTrue(Striped.lazyWeakLock(256).size() == 256); } @AndroidIncompatible // Presumably GC doesn't trigger, despite our efforts. public void testWeakImplementations() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jun 26 12:58:35 UTC 2024 - 8.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/StripedTest.java
// not bothering testing all variations, since we know they share implementations assertTrue(Striped.lock(100).size() >= 100); assertTrue(Striped.lock(256).size() == 256); assertTrue(Striped.lazyWeakLock(100).size() >= 100); assertTrue(Striped.lazyWeakLock(256).size() == 256); } @AndroidIncompatible // Presumably GC doesn't trigger, despite our efforts. public void testWeakImplementations() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jun 26 12:58:35 UTC 2024 - 8.4K bytes - Viewed (0) -
internal/crypto/key.go
"github.com/minio/minio/internal/hash/sha256" "github.com/minio/minio/internal/logger" "github.com/minio/sio" ) // ObjectKey is a 256 bit secret key used to encrypt the object. // It must never be stored in plaintext. type ObjectKey [32]byte // GenerateKey generates a unique ObjectKey from a 256 bit external key // and a source of randomness. If random is nil the default PRNG of the // system (crypto/rand) is used.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Mar 19 20:28:10 UTC 2024 - 6.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/text/Tokenizer.java
private static final byte CT_WHITESPACE = 1; private static final byte CT_ALPHA = 4; private final byte[] ctype; private static byte[] defaultCtype = new byte[256]; private final String str; private int colno = 0; private int ttype = TT_NOTHING; private String sval; private char[] buf = new char[20]; private int peekc = NEED_CHAR;
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 8.6K bytes - Viewed (0) -
src/archive/tar/strconv.go
n := len(strings.TrimRight(s[:len(b)-1], "/")) b[n] = 0 // Replace trailing slash with NUL terminator } } // fitsInBase256 reports whether x can be encoded into n bytes using base-256 // encoding. Unlike octal encoding, base-256 encoding does not require that the // string ends with a NUL character. Thus, all n bytes are available for output. // // If operating in binary mode, this assumes strict GNU binary mode; which means
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Aug 01 14:28:42 UTC 2023 - 9K bytes - Viewed (0) -
cmd/bitrot.go
"github.com/minio/minio/internal/hash/sha256" "golang.org/x/crypto/blake2b" xioutil "github.com/minio/minio/internal/ioutil" "github.com/minio/minio/internal/logger" ) // magic HH-256 key as HH-256 hash of the first 100 decimals of π as utf-8 string with a zero key. var magicHighwayHash256Key = []byte("\x4b\xe7\x34\xfa\x8e\x23\x8a\xcd\x26\x3e\x83\xe6\xbb\x96\x85\x52\x04\x0f\x93\x5d\xa3\x9f\x44\x14\x97\xe0\x9d\x13\x22\xde\x36\xa0")
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jan 30 20:43:25 UTC 2024 - 7.6K bytes - Viewed (0) -
src/bytes/boundary_test.go
t.Parallel() q := dangerousSlice(t) if len(q) > 64 { // Only worry about when we're near the end of a page. q = q[len(q)-64:] } b := dangerousSlice(t) if len(b) > 256 { // Only worry about when we're near the end of a page. b = b[len(b)-256:] } for j := 1; j < len(q); j++ { q[j-1] = 1 // difference is only found on the last byte for i := range b { idx := Index(b[i:], q[:j]) if idx != -1 {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Nov 30 20:05:58 UTC 2023 - 2.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/HashingTest.java
} // goodFastHash(256) uses Murmur3_128. Use the same epsilon bounds. public void testGoodFastHash256() { HashTestUtils.check2BitAvalanche(Hashing.goodFastHash(256), 250, 0.20); HashTestUtils.checkAvalanche(Hashing.goodFastHash(256), 500, 0.17); HashTestUtils.checkNo2BitCharacteristics(Hashing.goodFastHash(256)); HashTestUtils.checkNoFunnels(Hashing.goodFastHash(256));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 09 17:40:09 UTC 2024 - 26.3K bytes - Viewed (0) -
cmd/hasher.go
import ( "crypto/md5" "encoding/hex" "github.com/minio/minio/internal/hash/sha256" ) // getSHA256Hash returns SHA-256 hash in hex encoding of given data. func getSHA256Hash(data []byte) string { return hex.EncodeToString(getSHA256Sum(data)) } // getSHA256Hash returns SHA-256 sum of given data. func getSHA256Sum(data []byte) []byte { hash := sha256.New() hash.Write(data) return hash.Sum(nil) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 27 13:00:19 UTC 2022 - 1.4K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/CertificatePinner.kt
fun X509Certificate.sha256Hash(): ByteString = publicKey.encoded.toByteString().sha256() /** * Returns the SHA-256 of `certificate`'s public key. * * In OkHttp 3.1.2 and earlier, this returned a SHA-1 hash of the public key. Both types are * supported, but SHA-256 is preferred. */ @JvmStatic fun pin(certificate: Certificate): String {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 14.2K bytes - Viewed (0)