Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 315 for tophash (0.08 sec)

  1. src/hash/maphash/example_test.go

    // license that can be found in the LICENSE file.
    
    package maphash_test
    
    import (
    	"fmt"
    	"hash/maphash"
    )
    
    func Example() {
    	// The zero Hash value is valid and ready to use; setting an
    	// initial seed is not necessary.
    	var h maphash.Hash
    
    	// Add a string to the hash, and print the current hash value.
    	h.WriteString("hello, ")
    	fmt.Printf("%#x\n", h.Sum64())
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 24 01:59:55 UTC 2020
    - 933 bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/hash/SipHashFunction.java

     * or implied. See the License for the specific language governing permissions and limitations under
     * the License.
     */
    
    /*
     * SipHash-c-d was designed by Jean-Philippe Aumasson and Daniel J. Bernstein and is described in
     * "SipHash: a fast short-input PRF" (available at https://131002.net/siphash/siphash.pdf).
     */
    
    package com.google.common.hash;
    
    import static com.google.common.base.Preconditions.checkArgument;
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 20 18:43:59 UTC 2021
    - 5.3K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/api/internal/initialization/transform/registration/InstrumentationTransformRegisterer.java

            DefaultScriptClassPathResolver.InstrumentationPhase toPhase
        ) {
            dependencyHandler.registerTransform(
                transform,
                spec -> {
                    spec.getFrom().attribute(INSTRUMENTED_ATTRIBUTE, fromPhase.getValue());
                    spec.getTo().attribute(INSTRUMENTED_ATTRIBUTE, toPhase.getValue());
                    spec.parameters(params -> {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/mod_get_missing_ziphash.txt

    go get use
    cmp go.sum go.sum.tidy
    go build -n use
    
    # If we delete the hash *and* the ziphash file, we should see the same behavior.
    cp go.sum.bug go.sum
    rm $WORK/gopath/pkg/mod/cache/download/rsc.io/quote/@v/v1.5.2.ziphash
    ! go build -n use
    stderr '^use.go:3:8: missing go.sum entry for module providing package rsc.io/quote \(imported by use\); to add:\n\tgo get use$'
    go get use
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 2.4K bytes
    - Viewed (0)
  5. src/cmd/go/internal/modfetch/zip_sum_test/zip_sum_test.go

    				t.Errorf("%s: %v", test.m, err)
    			}
    			zipHash := hex.EncodeToString(h.Sum(nil))
    			if zipHash != test.wantFileHash {
    				if *updateTestData {
    					t.Logf("%s: updating zip file hash to %s", test.m, zipHash)
    					test.wantFileHash = zipHash
    					needUpdate = true
    				} else {
    					t.Errorf("%s: got zip file hash %s; want hash %s (but content sum matches)", test.m, zipHash, test.wantFileHash)
    				}
    			}
    		})
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 18 19:33:59 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/api/internal/changedetection/state/DefaultResourceSnapshotterCacheService.java

                if (resourceHash.equals(NO_HASH)) {
                    return null;
                }
                return resourceHash;
            }
    
            resourceHash = hashCodeSupplier.get();
    
            if (resourceHash != null) {
                indexedCache.put(resourceHashCacheKey, resourceHash);
            } else {
                indexedCache.put(resourceHashCacheKey, NO_HASH);
            }
            return resourceHash;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 10 13:47:15 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  7. maven-compat/src/main/java/org/apache/maven/project/artifact/DefaultMavenMetadataCache.java

                this.artifact = ArtifactUtils.copyArtifact(artifact);
                if ("pom".equals(artifact.getType()) && file != null) {
                    pomHash = file.getPath().hashCode() + file.lastModified();
                } else {
                    pomHash = 0;
                }
                this.resolveManagedVersions = resolveManagedVersions;
                this.repositories.add(localRepository);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Jun 15 14:24:56 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  8. platforms/core-execution/hashing/src/main/java/org/gradle/internal/hash/DefaultStreamHasher.java

            try {
                return doHash(inputStream, ByteStreams.nullOutputStream());
            } catch (IOException e) {
                throw new UncheckedIOException("Failed to create MD5 hash for file content.", e);
            }
        }
    
        @Override
        public HashCode hashCopy(InputStream inputStream, OutputStream outputStream) throws IOException {
            return doHash(inputStream, outputStream);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:43:29 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  9. platforms/jvm/normalization-java/src/main/java/org/gradle/api/internal/changedetection/state/FallbackHandlingResourceHasher.java

         */
        abstract Optional<HashCode> tryHash(RegularFileSnapshotContext snapshotContext);
    
        /**
         * Try to hash the resource, and signal for fallback if it can't be hashed.
         *
         * @return An Optional containing the hash, or an empty Optional if fallback should be triggered
         */
        abstract Optional<HashCode> tryHash(ZipEntryContext zipEntryContext);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 6K bytes
    - Viewed (0)
  10. src/internal/filepathlite/path.go

    	if !fs.ValidPath(path) {
    		return "", errInvalidPath
    	}
    	return localize(path)
    }
    
    // ToSlash is filepath.ToSlash.
    func ToSlash(path string) string {
    	if Separator == '/' {
    		return path
    	}
    	return replaceStringByte(path, Separator, '/')
    }
    
    // FromSlash is filepath.ToSlash.
    func FromSlash(path string) string {
    	if Separator == '/' {
    		return path
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 23:07:50 UTC 2024
    - 5.8K bytes
    - Viewed (0)
Back to top