Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 211 for lazy (0.17 sec)

  1. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/support/unsafeLazy.kt

     * limitations under the License.
     */
    
    package org.gradle.kotlin.dsl.internal.sharedruntime.support
    
    
    /**
     * Thread unsafe version of [lazy].
     *
     * @see LazyThreadSafetyMode.NONE
     */
    internal
    Plain Text
    - Registered: Wed Feb 28 11:36:09 GMT 2024
    - Last Modified: Sun Oct 01 11:18:48 GMT 2023
    - 867 bytes
    - Viewed (0)
  2. 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");
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Jan 30 14:33:12 GMT 2018
    - 3.1K bytes
    - Viewed (0)
  3. 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", Charsets.UTF_8);
        assertEquals("6c1b07bc7bbc4be347939ac4a93c437a", foxHash.toString());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/hash/MacHashFunctionTest.java

            hasher.putString("The quick brown fox jumps over the lazy dog", UTF_8).hash().toString());
        assertThrows(IllegalStateException.class, () -> hasher.putInt(42));
      }
    
      public void testHashTwice() {
        Hasher hasher = Hashing.hmacMd5(MD5_KEY).newHasher();
    
        assertEquals(
            "9753980fe94daa8ecaa82216519393a9",
            hasher.putString("The quick brown fox jumps over the lazy dog", UTF_8).hash().toString());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 13.8K bytes
    - Viewed (0)
  5. src/archive/tar/testdata/hdr-only.tar

    fifo file The quick brown fox jumped over the lazy dog! hardlink null sda symlink badlink fifo The quick brown fox jumped over the lazy dog! hardlink sda symli badlink...
    TAR Archive
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Dec 01 20:16:26 GMT 2015
    - 10K bytes
    - Viewed (1)
  6. guava-tests/test/com/google/common/hash/MessageDigestHashFunctionTest.java

      }
    
      public void testPutAfterHash() {
        Hasher sha1 = Hashing.sha1().newHasher();
    
        assertEquals(
            "2fd4e1c67a2d28fced849ee1bb76e7391b93eb12",
            sha1.putString("The quick brown fox jumps over the lazy dog", Charsets.UTF_8)
                .hash()
                .toString());
        assertThrows(IllegalStateException.class, () -> sha1.putInt(42));
      }
    
      public void testHashTwice() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 4.2K bytes
    - Viewed (0)
  7. 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");
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Jan 30 14:33:12 GMT 2018
    - 3.1K bytes
    - Viewed (0)
  8. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/utils/ValidityAwareCachedValue.kt

    import kotlin.properties.ReadOnlyProperty
    import kotlin.reflect.KProperty
    
    /**
     * Lazy value that guaranties safe publication and checks validity on every access
     */
    internal class ValidityAwareCachedValue<T>(
        private val token: KtLifetimeToken,
        init: () -> T
    ) : ReadOnlyProperty<Any, T> {
        private val lazyValue = lazy(LazyThreadSafetyMode.PUBLICATION, init)
    
    Plain Text
    - Registered: Fri Apr 19 08:18:09 GMT 2024
    - Last Modified: Mon Aug 15 09:04:58 GMT 2022
    - 1.1K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/hash/MacHashFunctionTest.java

            hasher.putString("The quick brown fox jumps over the lazy dog", UTF_8).hash().toString());
        assertThrows(IllegalStateException.class, () -> hasher.putInt(42));
      }
    
      public void testHashTwice() {
        Hasher hasher = Hashing.hmacMd5(MD5_KEY).newHasher();
    
        assertEquals(
            "9753980fe94daa8ecaa82216519393a9",
            hasher.putString("The quick brown fox jumps over the lazy dog", UTF_8).hash().toString());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 13.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/Striped.java

       * If there are at least this many stripes, we assume the memory usage of a ConcurrentMap will be
       * smaller than a large array. (This assumes that in the lazy case, most stripes are unused. As
       * always, if many stripes are in use, a non-lazy striped makes more sense.)
       */
      private static final int LARGE_LAZY_CUTOFF = 1024;
    
      private Striped() {}
    
      /**
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Apr 10 20:55:18 GMT 2023
    - 20.3K bytes
    - Viewed (1)
Back to top