- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 93 for lazy (0.02 seconds)
-
architecture/standards/0006-use-of-provider-apis-in-gradle.md
## Decision ### Types of properties that should not use lazy types The guidelines below do not apply to all properties. There are cases where the lazy types should not be used: #### Non-calculated values These are inappropriate uses of lazy types: ```groovy class Example { Property<String> getSomeProperty() Example() {Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Mar 05 12:39:41 GMT 2026 - 10K bytes - Click Count (0) -
guava-tests/test/com/google/common/hash/ChecksumHashFunctionTest.java
assertHash32(0x7A2D6005, CRC_32, "hello wo"); assertHash32(0x1C192672, CRC_32, "hello wor"); assertHash32(0x414FA339, CRC_32, "The quick brown fox jumps over the lazy dog"); assertHash32(0x4400B5BC, CRC_32, "The quick brown fox jumps over the lazy cog"); } public void testAdler32_knownValues() throws Exception { assertHash32(0x041701A6, ADLER_32, "hell"); assertHash32(0x062C0215, ADLER_32, "hello");
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 3.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/hash/Murmur3Hash128Test.java
0, 0xe34bbc7bbc071b6cL, 0x7a433ca9c49a9347L, "The quick brown fox jumps over the lazy dog"); assertHash( 0, 0x658ca970ff85269aL, 0x43fee3eaa68e5c3eL, "The quick brown fox jumps over the lazy cog"); // Known output from Python smhasher HashCode foxHash = murmur3_128(0).hashString("The quick brown fox jumps over the lazy dog", UTF_8); assertThat(foxHash.toString()).isEqualTo("6c1b07bc7bbc4be347939ac4a93c437a");
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 3.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/hash/ChecksumHashFunctionTest.java
assertHash32(0x7A2D6005, CRC_32, "hello wo"); assertHash32(0x1C192672, CRC_32, "hello wor"); assertHash32(0x414FA339, CRC_32, "The quick brown fox jumps over the lazy dog"); assertHash32(0x4400B5BC, CRC_32, "The quick brown fox jumps over the lazy cog"); } public void testAdler32_knownValues() throws Exception { assertHash32(0x041701A6, ADLER_32, "hell"); assertHash32(0x062C0215, ADLER_32, "hello");
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 3.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/hash/MacHashFunctionTest.java
public String getFormat() { return "RAW"; } }; assertThat( hmacMd5(customKey) .hashString("The quick brown fox jumps over the lazy dog", UTF_8) .toString()) .isEqualTo("ad262969c53bc16032f160081c4a07a0"); } public void testBadKey_emptyKey() throws Exception { SecretKey badKey = new SecretKey() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 14.2K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Handshake.kt
// Delayed provider of peerCertificates, to allow lazy cleaning. peerCertificatesFn: () -> List<Certificate>, ) { /** Returns a possibly-empty list of certificates that identify the remote peer. */ @get:JvmName("peerCertificates") val peerCertificates: List<Certificate> by lazy { try { peerCertificatesFn() } catch (spue: SSLPeerUnverifiedException) { listOf()
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 6.6K bytes - Click Count (1) -
guava-tests/test/com/google/common/hash/Murmur3Hash32Test.java
assertHash(1935035788, murmur3_32().hashUnencodedChars("http://www.google.com/")); assertHash( -528633700, murmur3_32().hashUnencodedChars("The quick brown fox jumps over the lazy dog")); } @SuppressWarnings("deprecation") public void testKnownEncodedStringInputs() { assertStringHash(0, "", UTF_8); assertStringHash(0xcfbda5d1, "k", UTF_8);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 8.4K bytes - Click Count (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/TlsUtil.kt
private val localhost: HandshakeCertificates by lazy { // Generate a self-signed cert for the server to serve and the client to trust. val heldCertificate = HeldCertificate .Builder() .commonName("localhost") .addSubjectAlternativeName("localhost") .addSubjectAlternativeName("localhost.localdomain") .build() return@lazy HandshakeCertificates .Builder()Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 4.3K bytes - Click Count (1) -
android/guava-tests/test/com/google/common/hash/Murmur3Hash32Test.java
assertHash(1935035788, murmur3_32().hashUnencodedChars("http://www.google.com/")); assertHash( -528633700, murmur3_32().hashUnencodedChars("The quick brown fox jumps over the lazy dog")); } @SuppressWarnings("deprecation") public void testKnownEncodedStringInputs() { assertStringHash(0, "", UTF_8); assertStringHash(0xcfbda5d1, "k", UTF_8);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 8.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/hash/MessageDigestHashFunctionTest.java
} } } public void testPutAfterHash() { Hasher hasher = sha512().newHasher(); assertThat( hasher .putString("The quick brown fox jumps over the lazy dog", UTF_8) .hash() .toString()) .isEqualTo( "07e547d9586f6a73f73fbac0435ed76951218fb7d0c8d788a309d785436bbb642e93a252a954f23912547d1e8a3b5ed6e1bfd7097821233fa0538f3db854fee6");Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 4.9K bytes - Click Count (0)