Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 288 for putint (0.16 sec)

  1. android/guava-tests/test/com/google/common/hash/MessageDigestHashFunctionTest.java

            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() {
        Hasher sha1 = Hashing.sha1().newHasher();
    
        assertEquals(
            "2fd4e1c67a2d28fced849ee1bb76e7391b93eb12",
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheKey.kt

                        putString(relativeSubDir)
                    }
                }
            }
        }
    
        private
        fun Hasher.putAll(list: Collection<String>) {
            putInt(list.size)
            list.forEach(::putString)
        }
    
        /**
         * Returns the path of [target] relative to [base] if
         * [target] is a child of [base] or `null` otherwise.
         */
        private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/hash/HashTestUtils.java

            for (PrimitiveSink sink : sinks) {
              sink.putChar(value);
            }
          }
        },
        PUT_INT() {
          @Override
          void performAction(Random random, Iterable<? extends PrimitiveSink> sinks) {
            int value = random.nextInt();
            for (PrimitiveSink sink : sinks) {
              sink.putInt(value);
            }
          }
        },
        PUT_LONG() {
          @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 25.3K bytes
    - Viewed (0)
  4. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/accessors/AccessorsClassPath.kt

        hash()
    }
    
    
    private
    fun Hasher.putAllSorted(strings: List<String>) {
        putInt(strings.size)
        strings.sorted().forEach(::putString)
    }
    
    
    private
    fun Hasher.putAll(entries: List<ProjectSchemaEntry<SchemaType>>) {
        putInt(entries.size)
        entries.forEach { entry ->
            putString(entry.target.kotlinString)
            putString(entry.name)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 20:25:05 UTC 2024
    - 22K bytes
    - Viewed (0)
  5. subprojects/core/src/test/groovy/org/gradle/internal/classpath/DefaultCachedClasspathTransformerTest.groovy

            then:
            cachedClasspath.asFiles == [cachedFile]
    
            and:
            1 * transform.applyConfigurationTo(_) >> { Hasher hasher -> hasher.putInt(123) }
            1 * transform.apply(_, _, _) >> { entry, visitor, data ->
                assert entry.name == "a.class"
                Pair.of(entry.path, visitor)
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/hash/MacHashFunctionTest.java

        assertEquals(
            "9753980fe94daa8ecaa82216519393a9",
            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",
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/hash/MacHashFunctionTest.java

        assertEquals(
            "9753980fe94daa8ecaa82216519393a9",
            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",
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/groovy/scripts/internal/GroovyScriptClassCompiler.java

                @Override
                public void applyConfigurationTo(Hasher hasher) {
                    hasher.putString(GroovyScriptClassCompiler.class.getSimpleName());
                    hasher.putInt(1); // transformation version
                    hasher.putString(className);
                }
    
                @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:23:24 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/internal/classpath/transforms/InstrumentingClassTransform.java

        @Override
        public void applyConfigurationTo(Hasher hasher) {
            hasher.putString(InstrumentingClassTransform.class.getSimpleName());
            hasher.putInt(DECORATION_FORMAT);
        }
    
        public InstrumentingClassTransform() {
            this(INSTRUMENTATION_ONLY);
        }
    
        public InstrumentingClassTransform(BytecodeInterceptorFilter interceptorFilter) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 20 01:16:36 UTC 2024
    - 32K bytes
    - Viewed (0)
  10. guava/src/com/google/common/primitives/Ints.java

          pos += array.length;
        }
        return result;
      }
    
      /**
       * Returns a big-endian representation of {@code value} in a 4-element byte array; equivalent to
       * {@code ByteBuffer.allocate(4).putInt(value).array()}. For example, the input value {@code
       * 0x12131415} would yield the byte array {@code {0x12, 0x13, 0x14, 0x15}}.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 29.9K bytes
    - Viewed (0)
Back to top