- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 72 for strhash (0.26 sec)
-
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) -
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) -
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) -
src/crypto/tls/boring_test.go
}() for _, sigHash := range defaultSupportedSignatureAlgorithms { t.Run(fmt.Sprintf("%v", sigHash), func(t *testing.T) { serverConfig := testConfig.Clone() serverConfig.Certificates = make([]Certificate, 1) testingOnlyForceClientHelloSignatureAlgorithms = []SignatureScheme{sigHash} sigType, _, _ := typeAndHashFromSignatureScheme(sigHash) switch sigType {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:45:37 UTC 2024 - 19.4K bytes - Viewed (0) -
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) -
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) -
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) -
src/cmd/vendor/golang.org/x/mod/sumdb/dirhash/hash.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Package dirhash defines hashes over directory trees. // These hashes are recorded in go.sum files and in the Go checksum database, // to allow verifying that a newly-downloaded module has the expected content. package dirhash import ( "archive/zip" "crypto/sha256" "encoding/base64" "errors" "fmt" "io" "os"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 10 18:59:52 UTC 2023 - 4K bytes - Viewed (0) -
cmd/erasure-sets_test.go
// Tests hashing order to be consistent. for i, testCase := range testCases { if sipHashElement := hashKey("SIPMOD", testCase.objectName, 200, testUUID); sipHashElement != testCase.sipHash { t.Errorf("Test case %d: Expected \"%v\" but failed \"%v\"", i+1, testCase.sipHash, sipHashElement) } } if sipHashElement := hashKey("SIPMOD", "This will fail", -1, testUUID); sipHashElement != -1 {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Feb 12 07:21:56 UTC 2024 - 6.9K bytes - Viewed (0) -
platforms/jvm/normalization-java/src/main/java/org/gradle/api/internal/changedetection/state/PropertiesFileAwareClasspathResourceHasher.java
@Override boolean filter(ZipEntryContext context) { return !context.getEntry().isDirectory() && matchesAnyFilters(context.getRelativePathSegments()); } @Override public Optional<HashCode> tryHash(RegularFileSnapshotContext snapshotContext) { return Optional.ofNullable(matchingFiltersFor(snapshotContext.getRelativePathSegments())) .map(resourceEntryFilter -> {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 15:09:49 UTC 2023 - 6.3K bytes - Viewed (0)