Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. platforms/jvm/normalization-java/src/main/java/org/gradle/api/internal/changedetection/state/FallbackHandlingResourceHasher.java

        public FallbackHandlingResourceHasher(ResourceHasher delegate) {
            this.delegate = delegate;
        }
    
        @Override
        public void appendConfigurationToHasher(Hasher hasher) {
            delegate.appendConfigurationToHasher(hasher);
            hasher.putString(this.getClass().getName());
        }
    
        @Nullable
        @Override
        public HashCode hash(RegularFileSnapshotContext snapshotContext) throws IOException {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 6K bytes
    - Viewed (0)
  7. platforms/core-execution/hashing/src/main/java/org/gradle/internal/hash/HashingOutputStream.java

    /**
     * Output stream decorator that hashes data written to the stream.
     * Inspired by the Google Guava project.
     */
    public final class HashingOutputStream extends FilterOutputStream {
        private final PrimitiveHasher hasher;
    
        public HashingOutputStream(HashFunction hashFunction, OutputStream out) {
            super(checkNotNull(out));
            this.hasher = checkNotNull(hashFunction.newPrimitiveHasher());
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:43:29 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  8. src/vendor/golang.org/x/crypto/sha3/hashes.go

    Michael Anthony Knyszek <******@****.***> 1717451199 +0000
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  9. platforms/jvm/normalization-java/src/main/java/org/gradle/api/internal/changedetection/state/RuntimeClasspathResourceHasher.java

            return zipEntryContext.getEntry().withInputStream(Hashing::hashStream);
        }
    
        @Override
        public void appendConfigurationToHasher(Hasher hasher) {
            hasher.putString(getClass().getName());
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/tools/go/types/typeutil/map.go

    // Map.Lookup require updates to the hasher, so a full Mutex lock (not a
    // read-lock) is require around all Map operations if a shared
    // hasher is accessed from multiple threads.
    //
    // If SetHasher is not called, the Map will create a private hasher at
    // the first call to Insert.
    func (m *Map) SetHasher(hasher Hasher) {
    	m.hasher = hasher
    }
    
    // Delete removes the entry with the given key, if any.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 13.9K bytes
    - Viewed (0)
Back to top