Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 315 for tophash (0.17 sec)

  1. platforms/ide/ide-native/src/main/groovy/org/gradle/ide/visualstudio/tasks/internal/VisualStudioFiltersFile.groovy

            'default.vcxproj.filters'
        }
    
        def addSource(File sourceFile) {
            sources.appendNode("ClCompile", [Include: toPath(sourceFile)]).appendNode('Filter', 'Source Files')
        }
    
        def addHeader(File headerFile) {
            headers.appendNode("ClInclude", [Include: toPath(headerFile)]).appendNode('Filter', 'Header Files')
        }
    
        def getFilters() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  2. pkg/util/filesystem/util.go

    )
    
    // IsPathClean will replace slashes to Separator (which is OS-specific).
    // This will make sure that all slashes are the same before comparing.
    func IsPathClean(path string) bool {
    	return filepath.ToSlash(filepath.Clean(path)) == filepath.ToSlash(path)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 10 17:13:59 UTC 2024
    - 876 bytes
    - Viewed (0)
  3. docs/debugging/hash-set/main.go

    	"os"
    	"strings"
    
    	"github.com/dchest/siphash"
    	"github.com/google/uuid"
    )
    
    // hashes the key returning an integer based on the input algorithm.
    // This function currently supports
    // - SIPMOD
    func sipHashMod(key string, cardinality int, id [16]byte) int {
    	if cardinality <= 0 {
    		return -1
    	}
    	// use the faster version as per siphash docs
    	// https://github.com/dchest/siphash#usage
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheRepository.kt

                throw UnsupportedOperationException()
    
            override fun delete() {
                if (file.exists()) {
                    Files.delete(file.toPath())
                }
            }
    
            override fun moveFrom(file: File) {
                Files.move(file.toPath(), this.file.toPath(), StandardCopyOption.ATOMIC_MOVE)
            }
    
            override fun stateFileForIncludedBuild(build: BuildDefinition): ConfigurationCacheStateFile =
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/util/dump/dump.go

    // The output may change over time, so for guaranteed output please take more direct control
    func Pretty(a interface{}) string {
    	return prettyPrintConfig.Sdump(a)
    }
    
    // ForHash keeps the original Spew.Sprintf format to ensure the same checksum
    func ForHash(a interface{}) string {
    	return prettyPrintConfigForHash.Sprintf("%#v", a)
    }
    
    // OneLine outputs the object in one line
    func OneLine(a interface{}) string {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 27 01:24:22 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  6. src/hash/maphash/maphash_purego.go

    // Copyright 2023 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 purego
    
    package maphash
    
    import (
    	"crypto/rand"
    	"internal/byteorder"
    	"math/bits"
    )
    
    func rthash(buf []byte, seed uint64) uint64 {
    	if len(buf) == 0 {
    		return seed
    	}
    	return wyhash(buf, seed, uint64(len(buf)))
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun May 12 05:36:29 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  7. guava/src/com/google/common/base/FunctionalEquivalence.java

      }
    
      @Override
      protected boolean doEquivalent(F a, F b) {
        return resultEquivalence.equivalent(function.apply(a), function.apply(b));
      }
    
      @Override
      protected int doHash(F a) {
        return resultEquivalence.hash(function.apply(a));
      }
    
      @Override
      public boolean equals(@CheckForNull Object obj) {
        if (obj == this) {
          return true;
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon May 01 19:48:29 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/GenerateDocInfo.java

                String relativePath = adocDir.relativize(adocFile.toPath()).toString();
                File docInfo = new File(destinationDirectory, docInfoName);
                try {
                    Files.write(docInfo.toPath(), Collections.singleton(String.format("<meta name=\"adoc-src-path\" content=\"%s\">", relativePath)), StandardOpenOption.CREATE);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 28 06:35:34 UTC 2021
    - 2.9K bytes
    - Viewed (0)
  9. src/cmd/go/internal/modload/search.go

    				_, elem = filepath.Split(pkgDir)
    				if strings.HasPrefix(elem, ".") || strings.HasPrefix(elem, "_") || elem == "testdata" {
    					want = false
    				}
    			}
    
    			name := path.Join(importPathRoot, filepath.ToSlash(pkgDir[len(root):]))
    			if !treeCanMatch(name) {
    				want = false
    			}
    
    			if !fi.IsDir() {
    				if fi.Mode()&fs.ModeSymlink != 0 && want && strings.Contains(m.Pattern(), "...") {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 17:55:15 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  10. platforms/core-runtime/native/src/jmh/java/org/gradle/internal/nativeintegration/filesystem/FileMetadataAccessorBenchmark.java

            missing = new File(UUID.randomUUID().toString());
            missingPath = missing.toPath();
            directory = File.createTempFile("jmh", "dir");
            directoryPath = directory.toPath();
            directory.mkdirs();
            realFile = File.createTempFile("jmh", "tmp");
            realFilePath = realFile.toPath();
    
            FileOutputStream fos = new FileOutputStream(realFile);
            fos.write(new byte[1024]);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:50:56 UTC 2024
    - 5.2K bytes
    - Viewed (0)
Back to top