Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 57 for memhash (0.1 sec)

  1. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/SnapshotUtil.java

            }
            ImmutableListMultimap.Builder<String, HashCode> builder = ImmutableListMultimap.builder();
            roots.accept(snapshot -> {
                builder.put(snapshot.getAbsolutePath(), snapshot.getHash());
                return SnapshotVisitResult.SKIP_SUBTREE;
            });
            return builder.build();
        }
    
        /**
         * For a {@link RegularFileSnapshot} returns the file length, otherwise {@code 0}.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:34 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  2. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/FileSystemLocationSnapshot.java

         *     <dd>The hash of the content of the file.</dd>
         *     <dt>Missing files</dt>
         *     <dd>A special signature denoting a missing file.</dd>
         * </dl>
         */
        HashCode getHash();
    
        /**
         * Whether the content and the metadata (modification date) of the current snapshot is the same as for the given one.
         */
        boolean isContentAndMetadataUpToDate(FileSystemLocationSnapshot other);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 18 15:09:45 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  3. src/internal/concurrent/hashtriemap_test.go

    	testHashTrieMap(t, func() *HashTrieMap[string, int] {
    		// Stub out the good hash function with a terrible one.
    		// Everything should still work as expected.
    		m := NewHashTrieMap[string, int]()
    		m.keyHash = func(_ unsafe.Pointer, _ uintptr) uintptr {
    			return 0
    		}
    		return m
    	})
    }
    
    func testHashTrieMap(t *testing.T, newMap func() *HashTrieMap[string, int]) {
    	t.Run("LoadEmpty", func(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 16:01:55 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  4. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/AssignImmutableWorkspaceStep.java

            return outputSnapshots.entrySet().stream()
                .flatMap(entry ->
                    entry.getValue().roots()
                        .map(locationSnapshot -> immutableEntry(entry.getKey(), locationSnapshot.getHash())))
                .collect(toImmutableListMultimap(
                    Map.Entry::getKey,
                    Map.Entry::getValue
                ));
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 19 16:44:11 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  5. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/vfs/impl/DefaultFileSystemAccess.java

                        default:
                            throw new IllegalArgumentException("Unknown file type: " + fileMetadata.getType());
                    }
                }))
                .map(FileSystemLocationSnapshot::getHash);
        }
    
        @Override
        public Optional<FileSystemLocationSnapshot> read(String location, SnapshottingFilter filter) {
            if (filter.isEmpty()) {
                return Optional.of(read(location));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:35 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/api/internal/initialization/transform/services/CacheInstrumentationDataBuildService.java

                    if (snapshot.getType() == FileType.Missing) {
                        return null;
                    }
    
                    hasher.putHash(snapshot.getHash());
                    hasher.putString(file.getName());
                    return hasher.hash().toString();
                });
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 15:08:33 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  7. src/crypto/aes/gcm_ppc64x.s

    	STXVD2X VHH, (XIP+R10)
    	MOVD    $0xc0, R10
    	STXVD2X VH2L, (XIP+R8)  // save H^4
    	STXVD2X VH2, (XIP+R9)
    	STXVD2X VH2H, (XIP+R10)
    
    	RET
    
    // func gcmHash(output []byte, productTable *[256]byte, inp []byte, len int)
    TEXT ยทgcmHash(SB), NOSPLIT, $0-64
    	MOVD output+0(FP), XIP
    	MOVD productTable+24(FP), HTBL
    	MOVD inp+32(FP), INP
    	MOVD len+56(FP), LEN
    
    	MOVD   $0x10, R8
    	MOVD   $0x20, R9
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  8. subprojects/core/src/test/groovy/org/gradle/internal/classpath/DefaultCachedClasspathTransformerTest.groovy

        def classpathFingerprinter = Stub(ClasspathFingerprinter) {
            fingerprint(_, _) >> { FileSystemSnapshot snapshot, FileCollectionFingerprint previous ->
                Stub(CurrentFileCollectionFingerprint) {
                    getHash() >> (snapshot as FileSystemLocationSnapshot).hash
                }
            }
        }
        def classpathElementTransformFactoryForAgent = new ClasspathElementTransformFactoryForAgent(classpathBuilder, classpathWalker)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  9. src/hash/maphash/smhasher_test.go

    // Copyright 2019 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.
    
    //go:build !race
    
    package maphash
    
    import (
    	"fmt"
    	"internal/testenv"
    	"math"
    	"math/rand"
    	"runtime"
    	"slices"
    	"strings"
    	"testing"
    	"unsafe"
    )
    
    // Smhasher is a torture test for hash functions.
    // https://code.google.com/p/smhasher/
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 16:41:38 UTC 2024
    - 11K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/runtimeshaded/RuntimeShadedJarCreatorTest.groovy

                    'META-INF/services/org.gradle.internal.other.Service',
                    'META-INF/.gradle-runtime-shaded']
            }
            outputJar.md5Hash == "898989a29248bd8e44197d087164496a"
        }
    
        def "excludes module-info.class from jar"() {
            given:
    
            def inputFilesDir = tmpDir.createDir('inputFiles')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 13:39:49 UTC 2024
    - 20.8K bytes
    - Viewed (0)
Back to top