Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 402 for Kashem (0.27 sec)

  1. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/ArrayOfPrimitiveValueSnapshot.java

        }
    
        @Override
        public String toString() {
            return primitiveType.toString(array);
        }
    
        @Override
        public void appendToHasher(Hasher hasher) {
            primitiveType.appendTo(hasher, array);
        }
    
        @Override
        public ValueSnapshot snapshot(@Nullable Object value, ValueSnapshotter snapshotter) {
            PrimitiveType valueType = PrimitiveType.maybeOfValue(value);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  2. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/btree/KeyHasherTest.groovy

    class KeyHasherTest extends Specification {
        def "can reuse to hash more than one key"() {
            def hasher = new KeyHasher(BaseSerializerFactory.LONG_SERIALIZER)
    
            expect:
            hasher.getHashCode(12L) != hasher.getHashCode(11L)
            hasher.getHashCode(12L) == hasher.getHashCode(12L)
            hasher.getHashCode(12L) == new KeyHasher(BaseSerializerFactory.LONG_SERIALIZER).getHashCode(12L)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 2K bytes
    - Viewed (0)
  3. platforms/jvm/normalization-java/src/main/java/org/gradle/api/internal/changedetection/state/MetaInfAwareClasspathResourceHasher.java

            this.attributeResourceFilter = attributeResourceFilter;
        }
    
        @Override
        public void appendConfigurationToHasher(Hasher hasher) {
            super.appendConfigurationToHasher(hasher);
            hasher.putString(getClass().getName());
            attributeResourceFilter.appendConfigurationToHasher(hasher);
        }
    
        @Override
        boolean filter(RegularFileSnapshotContext context) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  4. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/impl/LambdaImplementationSnapshot.java

        @Override
        public void appendToHasher(Hasher hasher) {
            hasher.putString(LambdaImplementationSnapshot.class.getName());
            hasher.putString(classIdentifier);
            hasher.putHash(classLoaderHash);
            hasher.putString(functionalInterfaceClass);
            hasher.putString(implClass);
            hasher.putString(implMethodName);
            hasher.putString(implMethodSignature);
            hasher.putInt(implMethodKind);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  5. platforms/jvm/normalization-java/src/main/java/org/gradle/api/internal/changedetection/state/LineEndingNormalizingResourceHasher.java

        @Override
        boolean filter(ZipEntryContext context) {
            return !context.getEntry().isDirectory();
        }
    
        @Override
        public void appendConfigurationToHasher(Hasher hasher) {
            super.appendConfigurationToHasher(hasher);
            hasher.putString(getClass().getName());
        }
    
        @Override
        Optional<HashCode> tryHash(RegularFileSnapshotContext snapshotContext) {
            return Optional.of(snapshotContext)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  6. platforms/core-execution/hashing/src/main/java/org/gradle/internal/hash/PrimitiveHasher.java

         */
        void putBytes(byte[] bytes, int off, int len);
    
        /**
         * Feed a single byte into the hasher.
         */
        void putByte(byte value);
    
        /**
         * Feed an integer byte into the hasher.
         */
        void putInt(int value);
    
        /**
         * Feed a long value byte into the hasher.
         */
        void putLong(long value);
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:43:29 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/AbstractMapSnapshot.java

            return entries;
        }
    
        @Override
        public void appendToHasher(Hasher hasher) {
            hasher.putString("Map");
            hasher.putInt(entries.size());
            for (MapEntrySnapshot<T> entry : entries) {
                entry.getKey().appendToHasher(hasher);
                entry.getValue().appendToHasher(hasher);
            }
        }
    
        @Override
        public boolean equals(Object obj) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  8. platforms/jvm/normalization-java/src/test/groovy/org/gradle/api/internal/changedetection/state/LineEndingNormalizingFileSystemLocationSnapshotHasherTest.groovy

        def "throws IOException generated from hasher"() {
            def file = file('doesNotExist').tap { it.text = "" }
            def delegate = Mock(LineEndingNormalizingFileSystemLocationSnapshotHasher)
            def hasher = LineEndingNormalizingFileSystemLocationSnapshotHasher.wrap(delegate, LineEndingSensitivity.NORMALIZE_LINE_ENDINGS)
            def snapshot = this.snapshot(file)
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  9. platforms/jvm/normalization-java/src/main/java/org/gradle/api/internal/changedetection/state/PropertiesFileAwareClasspathResourceHasher.java

        }
    
        @Override
        public void appendConfigurationToHasher(Hasher hasher) {
            super.appendConfigurationToHasher(hasher);
            hasher.putString(getClass().getName());
            propertiesFilePatterns.forEach(hasher::putString);
            propertiesFileFilters.values().forEach(resourceEntryFilter -> resourceEntryFilter.appendConfigurationToHasher(hasher));
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  10. platforms/jvm/normalization-java/src/main/java/org/gradle/api/internal/changedetection/state/CachingFileSystemLocationSnapshotHasher.java

            this.resourceSnapshotterCacheService = resourceSnapshotterCacheService;
            Hasher hasher = Hashing.newHasher();
            appendConfigurationToHasher(hasher);
            this.delegateConfigurationHash = hasher.hash();
        }
    
        @Override
        public void appendConfigurationToHasher(Hasher hasher) {
            delegate.appendConfigurationToHasher(hasher);
        }
    
        @Nullable
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 2K bytes
    - Viewed (0)
Back to top