Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 402 for Kashem (0.31 sec)

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

        }
    
        def "delegate configuration is added to hasher"() {
            def configurationHasher = Mock(Hasher)
            delegate = Mock(ResourceHasher)
    
            when:
            filteredHasher.appendConfigurationToHasher(configurationHasher)
    
            then:
            1 * delegate.appendConfigurationToHasher(configurationHasher)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 15.6K bytes
    - Viewed (0)
  9. docs/de/docs/tutorial/security/oauth2-jwt.md

    Der Dieb kann also nicht versuchen, die gleichen Passwörter in einem anderen System zu verwenden (da viele Benutzer überall das gleiche Passwort verwenden, wäre dies gefährlich).
    
    ## `passlib` installieren
    
    PassLib ist ein großartiges Python-Package, um Passwort-Hashes zu handhaben.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 20:27:06 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/problems/ConfigurationCacheReport.kt

            val root = this@hashWithoutMessages
            val hasher = Hashing.newHasher()
            for (failure in sequence { visitFailures(root) }) {
                hasher.putString(failure.exceptionType.name)
                for (element in failure.stackTrace) {
                    hasher.putString(element.toString())
                }
            }
            return hasher.hash()
        }
    
        private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 11.4K bytes
    - Viewed (0)
Back to top