Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for strhash (0.49 sec)

  1. src/cmd/internal/goobj/builtinlist.go

    	{"runtime.memhash32", 1},
    	{"runtime.memhash64", 1},
    	{"runtime.memhash128", 1},
    	{"runtime.f32hash", 1},
    	{"runtime.f64hash", 1},
    	{"runtime.c64hash", 1},
    	{"runtime.c128hash", 1},
    	{"runtime.strhash", 1},
    	{"runtime.interhash", 1},
    	{"runtime.nilinterhash", 1},
    	{"runtime.int64div", 1},
    	{"runtime.uint64div", 1},
    	{"runtime.int64mod", 1},
    	{"runtime.uint64mod", 1},
    	{"runtime.float64toint64", 1},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 21:08:03 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/device_compilation_cluster_signature_test.cc

                                SignatureHash()(signatures[j]))
              << "s1: " << signatures[i].HumanString() << "\n"
              << "s1_hash: " << SignatureHash()(signatures[i]) << "\n"
              << "s2: " << signatures[j].HumanString() << "\n"
              << "s2_hash: " << SignatureHash()(signatures[j]);
        }
      }
    }
    
    TEST(DeviceCompilationClusterSignatureTest, SignatureUniqueness) {
      NameAttrList fn;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 4.7K 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. src/cmd/go/internal/modcmd/verify.go

    		return errs
    	}
    	h := string(bytes.TrimSpace(data))
    
    	if zipErr != nil && errors.Is(zipErr, fs.ErrNotExist) {
    		// ok
    	} else {
    		hZ, err := dirhash.HashZip(zip, dirhash.DefaultHash)
    		if err != nil {
    			errs = append(errs, fmt.Errorf("%s %s: %v", mod.Path, mod.Version, err))
    			return errs
    		} else if hZ != h {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 16:56:35 UTC 2024
    - 3.6K 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. 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)
  7. pkg/config/schema/codegen/collections.go

    	e := len(p) - 1
    	if strings.Contains(protoPackage, "sigs.k8s.io/gateway-api") {
    		// Gateway has one level of nesting with custom name
    		return "Gateway" + strcase.UpperCamelCase(p[e])
    	}
    	// rest have two levels of nesting
    	return strcase.UpperCamelCase(p[e-1]) + strcase.UpperCamelCase(p[e])
    }
    
    type packageImport struct {
    	PackageName string
    	ImportName  string
    }
    
    func toImport(p string) string {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Oct 25 07:19:43 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  8. pkg/util/hash/hash.go

    // ensuring the hash does not change when a pointer changes.
    func DeepHashObject(hasher hash.Hash, objectToWrite interface{}) {
    	hasher.Reset()
    	fmt.Fprintf(hasher, "%v", dump.ForHash(objectToWrite))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 27 01:24:22 UTC 2023
    - 998 bytes
    - Viewed (0)
  9. pkg/config/schema/ast/ast.go

    	"fmt"
    
    	"sigs.k8s.io/yaml"
    
    	"istio.io/istio/pkg/config/validation"
    	// Force-import a function.
    	_ "istio.io/istio/pkg/config/validation/envoyfilter"
    	"istio.io/istio/pkg/util/sets"
    	"istio.io/istio/pkg/util/strcase"
    )
    
    // Metadata is the top-level container.
    type Metadata struct {
    	Resources []*Resource `json:"resources"`
    }
    
    var _ json.Unmarshaler = &Metadata{}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Mar 30 00:31:03 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  10. platforms/jvm/normalization-java/src/main/java/org/gradle/api/internal/changedetection/state/LineEndingNormalizingResourceHasher.java

            hasher.putString(getClass().getName());
        }
    
        @Override
        Optional<HashCode> tryHash(RegularFileSnapshotContext snapshotContext) {
            return Optional.of(snapshotContext)
                .flatMap(IoFunction.wrap(this::hashContent));
        }
    
        @Override
        Optional<HashCode> tryHash(ZipEntryContext zipEntryContext) {
            return Optional.of(zipEntryContext)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 3.3K bytes
    - Viewed (0)
Back to top