Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 445 for Kashem (0.2 sec)

  1. 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)
  2. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/MerkleDirectorySnapshotBuilder.java

                }
                Hasher hasher = Hashing.newHasher();
                hasher.putHash(DIR_SIGNATURE);
                for (FileSystemLocationSnapshot child : children) {
                    hasher.putString(child.getName());
                    hasher.putHash(child.getHash());
                }
                return new DirectorySnapshot(absolutePath, name, accessType, hasher.hash(), children);
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  3. platforms/core-execution/hashing/src/main/java/org/gradle/internal/hash/HashCode.java

     * <h3>Memory considerations</h3>
     * <p>
     * Hashes by default are stored in {@link ByteArrayBackedHashCode a byte array}.
     * For a 128-bit hash this results in 64 bytes of memory used for each {@code HashCode}.
     * This implementation also requires GC to track two separate objects (the {@code HashCode} object and its {@code byte[]}).
     * <p>
     * Because Gradle uses a lot of MD5 hashes, for 128-bit hashes we have a more efficient implementation.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 14 19:25:07 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  4. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/fingerprint/impl/DefaultCurrentFileCollectionFingerprint.java

            this.rootHashes = rootHashes;
        }
    
        @Override
        public HashCode getHash() {
            if (hash == null) {
                Hasher hasher = Hashing.newHasher();
                hashingStrategy.appendToHasher(hasher, fingerprints.values());
                hash = hasher.hash();
            }
            return hash;
        }
    
        @Override
        public boolean isEmpty() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  5. platforms/jvm/normalization-java/src/test/groovy/org/gradle/api/internal/changedetection/state/LineEndingNormalizingResourceHasherTest.groovy

            def file = file('foo') << contents
            def delegate = Mock(ResourceHasher)
            def hasher = LineEndingNormalizingResourceHasher.wrap(delegate, LineEndingSensitivity.NORMALIZE_LINE_ENDINGS)
    
            when:
            hasher.hash(snapshotContext(file))
    
            then:
            0 * delegate._
    
            when:
            hasher.hash(zipContext(file))
    
            then:
            0 * delegate._
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  6. platforms/jvm/normalization-java/src/main/java/org/gradle/api/internal/changedetection/state/LineEndingNormalizingInputStreamHasher.java

        }
    
        /**
         * Returns empty if the file is detected to be a binary file
         */
        private Optional<HashCode> hash(InputStream inputStream) throws IOException {
            PrimitiveHasher hasher = Hashing.newPrimitiveHasher();
    
            hasher.putHash(SIGNATURE);
    
            try (BufferedInputStream input = new BufferedInputStream(CloseShieldInputStream.wrap(inputStream), BUFFER_SIZE)) {
                int peekAhead = -1;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  7. internal/jwt/parser.go

    	hasher := h.pool.Get().(hash.Hash)
    	h.borrowed = append(h.borrowed, hasher)
    	hasher.Reset()
    	return hasher
    }
    
    // ReturnAll will return all borrowed hashes.
    func (h *HashBorrower) ReturnAll() {
    	for _, hasher := range h.borrowed {
    		h.pool.Put(hasher)
    	}
    	h.borrowed = nil
    }
    
    // StandardClaims are basically standard claims with "accessKey"
    type StandardClaims struct {
    	AccessKey string `json:"accessKey,omitempty"`
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 09 07:53:08 UTC 2023
    - 13.9K bytes
    - Viewed (0)
  8. src/hash/maphash/maphash.go

    package maphash
    
    // A Seed is a random value that selects the specific hash function
    // computed by a [Hash]. If two Hashes use the same Seeds, they
    // will compute the same hash values for any given input.
    // If two Hashes use different Seeds, they are very likely to compute
    // distinct hash values for any given input.
    //
    // A Seed must be initialized by calling [MakeSeed].
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 19:15:34 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  9. platforms/jvm/normalization-java/src/test/groovy/org/gradle/api/internal/changedetection/state/MetaInfAwareClasspathResourceHasherTest.groovy

            when:
            hasher.hash(zipEntry('META-INF/foo'))
            hasher.hash(zipEntry('META-INF/foo/MANIFEST.MF'))
            hasher.hash(zipEntry('META-INF/properties'))
            hasher.hash(zipEntry('META-INF/build.propertiesX'))
            hasher.hash(zipEntry('bar.properties'))
            hasher.hash(zipEntry('resources/foo.properties'))
            hasher.hash(zipEntry('foo'))
            hasher.hash(zipEntry('org/gradle/foo.class'))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/mod/sumdb/dirhash/hash.go

    // Copyright 2018 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Package dirhash defines hashes over directory trees.
    // These hashes are recorded in go.sum files and in the Go checksum database,
    // to allow verifying that a newly-downloaded module has the expected content.
    package dirhash
    
    import (
    	"archive/zip"
    	"crypto/sha256"
    	"encoding/base64"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 10 18:59:52 UTC 2023
    - 4K bytes
    - Viewed (0)
Back to top