Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 289 for putint (0.22 sec)

  1. platforms/core-execution/hashing/src/main/java/org/gradle/internal/hash/HasherExtensions.java

            }
        }
    
        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) {
            hasher.putInt(array.length);
            for (short s : array) {
                hasher.putInt(s);
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 11 20:22:02 UTC 2024
    - 2K bytes
    - Viewed (0)
  2. platforms/core-execution/hashing/src/main/java/org/gradle/internal/hash/Hashing.java

            public void putHash(HashCode hashCode) {
                hasher.putInt(hashCode.length());
                hasher.putHash(hashCode);
            }
    
            @Override
            public void putInt(int value) {
                hasher.putInt(4);
                hasher.putInt(value);
            }
    
            @Override
            public void putLong(long value) {
                hasher.putInt(8);
                hasher.putLong(value);
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:30 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  3. platforms/core-execution/hashing/src/test/groovy/org/gradle/internal/hash/HashingTest.groovy

            hasher.putInt(1)
            hasher.hash()
    
            when:
            hasher.hash()
    
            then:
            thrown(IllegalStateException)
        }
    
        def 'hashers can overlap'() {
            when:
            def hasher1 = Hashing.newHasher()
            hasher1.putInt(1)
    
            and:
            def hasher2 = Hashing.newHasher()
            hasher2.putInt(1)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:43:29 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/repositories/descriptor/UrlRepositoryDescriptor.java

                cacheHasher.putString(implementation.getName());
                cacheHasher.putInt(metadataResources.size());
                for (ResourcePattern ivyPattern : metadataResources) {
                    cacheHasher.putString(ivyPattern.getPattern());
                }
                cacheHasher.putInt(artifactResources.size());
                for (ResourcePattern artifactPattern : artifactResources) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 00:21:07 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/AbstractMapSnapshot.java

        }
    
        public ImmutableList<MapEntrySnapshot<T>> getEntries() {
            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
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/IntegerValueSnapshot.java

        public IntegerValueSnapshot(Integer value) {
            super(value);
        }
    
        @Override
        public void appendToHasher(Hasher hasher) {
            hasher.putInt(getValue());
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 968 bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/internal/classpath/InstrumentingClasspathFileTransformer.java

            Hasher hasher = Hashing.defaultFunction().newHasher();
            hasher.putInt(CACHE_FORMAT);
            hasher.putInt(AsmConstants.MAX_SUPPORTED_JAVA_VERSION);
            gradleCoreInstrumentationTypeRegistry.getInstrumentedTypesHash().ifPresent(hasher::putHash);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 27 13:36:38 UTC 2024
    - 6K bytes
    - Viewed (0)
  8. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/fingerprint/impl/AbstractDirectorySensitiveFingerprintingStrategy.java

            super(identifier, hasher -> {
                contentNormalizer.appendConfigurationToHasher(hasher);
                hasher.putInt(directorySensitivity.ordinal());
            });
            this.directorySensitivity = directorySensitivity;
        }
    
        protected DirectorySensitivity getDirectorySensitivity() {
            return directorySensitivity;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/ShortValueSnapshot.java

        public ShortValueSnapshot(Short value) {
            super(value);
        }
    
        @Override
        public void appendToHasher(Hasher hasher) {
            hasher.putInt(getValue());
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 960 bytes
    - Viewed (0)
  10. platforms/core-execution/hashing/src/main/java/org/gradle/internal/hash/PrimitiveHasher.java

        /**
         * 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);
    
        /**
         * Feed a double value into the hasher.
         */
        void putDouble(double 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)
Back to top