Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 554 for Kashem (0.17 sec)

  1. android/guava/src/com/google/common/hash/Hasher.java

     */
    @Beta
    @ElementTypesAreNonnullByDefault
    public interface Hasher extends PrimitiveSink {
      @CanIgnoreReturnValue
      @Override
      Hasher putByte(byte b);
    
      @CanIgnoreReturnValue
      @Override
      Hasher putBytes(byte[] bytes);
    
      @CanIgnoreReturnValue
      @Override
      Hasher putBytes(byte[] bytes, int off, int len);
    
      @CanIgnoreReturnValue
      @Override
      Hasher putBytes(ByteBuffer bytes);
    
      @CanIgnoreReturnValue
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 5.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/hash/Hasher.java

     */
    @Beta
    @ElementTypesAreNonnullByDefault
    public interface Hasher extends PrimitiveSink {
      @CanIgnoreReturnValue
      @Override
      Hasher putByte(byte b);
    
      @CanIgnoreReturnValue
      @Override
      Hasher putBytes(byte[] bytes);
    
      @CanIgnoreReturnValue
      @Override
      Hasher putBytes(byte[] bytes, int off, int len);
    
      @CanIgnoreReturnValue
      @Override
      Hasher putBytes(ByteBuffer bytes);
    
      @CanIgnoreReturnValue
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 5.5K bytes
    - Viewed (0)
  3. platforms/core-execution/hashing/src/main/java/org/gradle/internal/hash/Hasher.java

         */
        void putDouble(double value);
    
        /**
         * Feed a boolean value into the hasher.
         */
        void putBoolean(boolean value);
    
        /**
         * Feed a string into the hasher.
         */
        void putString(CharSequence value);
    
        /**
         * Feed a hash code into the hasher.
         */
        void putHash(HashCode hashCode);
    
        /**
         * Puts a hashable value into the hasher.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 11 11:14:18 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/classloader/ConfigurableClassLoaderHierarchyHasherTest.groovy

        def runtimeLoader = getClass().getClassLoader()
        def hasher = hasher((runtimeLoader): "system")
    
        def "hashes known classloader"() {
            expect:
            hasher.getClassLoaderHash(runtimeLoader) == hashFor("system")
        }
    
        def "hashes unknown classloader"() {
            def unknownLoader = Mock(ClassLoader)
            expect:
            hasher.getClassLoaderHash(unknownLoader) == null
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 3K bytes
    - Viewed (0)
  5. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/classloader/ConfigurableClassLoaderHierarchyHasher.java

            this.classLoaderFactory = classLoaderFactory;
            Map<ClassLoader, byte[]> hashes = new WeakHashMap<ClassLoader, byte[]>();
            for (Map.Entry<ClassLoader, String> entry : knownClassLoaders.entrySet()) {
                hashes.put(entry.getKey(), entry.getValue().getBytes(Charsets.UTF_8));
            }
            this.knownClassLoaders = hashes;
        }
    
        @Nullable
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  6. platforms/core-execution/hashing/src/test/groovy/org/gradle/internal/hash/HashingTest.groovy

            def hasher = Hashing.newHasher()
            strings.each { hasher.putString(it) }
            hasher.hash()
        }
    
        def hashKey(List<List<Integer>> bytes) {
            def hasher = Hashing.newHasher()
            bytes.each {
                if (it.size() == 1) {
                    hasher.putByte(it[0] as byte)
                } else {
                    hasher.putBytes(it as byte[])
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:43:29 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  7. subprojects/core/src/test/groovy/org/gradle/api/internal/changedetection/state/CachingFileHasherTest.groovy

        CachingFileHasher hasher
    
        def setup() {
            file.write("some-content")
            1 * cacheAccess.createIndexedCache({ it.cacheName == "fileHashes"  }, _, _) >> cache
            hasher = new CachingFileHasher(target, cacheAccess, new StringInterner(), timeStampInspector, "fileHashes", fileSystem, 1000, statisticsCollector)
        }
    
        def "hashes file when hash not cached"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 10 13:47:15 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/hash/HashFunction.java

     *       cryptographic hashes.)
     *   <li><b>fast:</b> perhaps self-explanatory, but often the most important consideration.
     * </ul>
     *
     * <h3>Providing input to a hash function</h3>
     *
     * <p>The primary way to provide the data that your hash function should act on is via a {@link
     * Hasher}. Obtain a new hasher from the hash function using {@link #newHasher}, "push" the relevant
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 25 18:22:59 UTC 2021
    - 10.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/hash/HashFunction.java

     *       cryptographic hashes.)
     *   <li><b>fast:</b> perhaps self-explanatory, but often the most important consideration.
     * </ul>
     *
     * <h3>Providing input to a hash function</h3>
     *
     * <p>The primary way to provide the data that your hash function should act on is via a {@link
     * Hasher}. Obtain a new hasher from the hash function using {@link #newHasher}, "push" the relevant
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 25 18:22:59 UTC 2021
    - 10.9K bytes
    - Viewed (0)
  10. platforms/core-execution/hashing/src/main/java/org/gradle/internal/hash/HasherExtensions.java

        public static void putLongs(Hasher hasher, long[] array) {
            hasher.putInt(array.length);
            for (long l : array) {
                hasher.putLong(l);
            }
        }
    
        public static void putInts(Hasher hasher, int[] array) {
            hasher.putInt(array.length);
            for (int i : array) {
                hasher.putInt(i);
            }
        }
    
        public static void putShorts(Hasher hasher, short[] array) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 11 20:22:02 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top