- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 7,535 for hasX (0.05 sec)
-
src/fmt/scan.go
imagSign := string(s.buf) imag = s.floatToken() if !s.accept("i") { s.error(errComplex) } if parens && !s.accept(")") { s.error(errComplex) } return real, imagSign + imag } func hasX(s string) bool { for i := 0; i < len(s); i++ { if s[i] == 'x' || s[i] == 'X' { return true } } return false } // convertFloat converts the string to a float64value.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 21:56:20 UTC 2024 - 31.9K bytes - Viewed (0) -
pkg/util/hash/hash.go
limitations under the License. */ package hash import ( "fmt" "hash" "k8s.io/apimachinery/pkg/util/dump" ) // DeepHashObject writes specified object to hash using the spew library // which follows pointers and prints actual values of the nested objects // ensuring the hash does not change when a pointer changes. func DeepHashObject(hasher hash.Hash, objectToWrite interface{}) { hasher.Reset()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 27 01:24:22 UTC 2023 - 998 bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/mod/sumdb/dirhash/hash.go
// 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" "path/filepath" "sort" "strings" ) // DefaultHash is the default hash function used in new go.sum entries. var DefaultHash Hash = Hash1 // A Hash is a directory hash function.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 10 18:59:52 UTC 2023 - 4K bytes - Viewed (0) -
src/hash/hash.go
// Package hash provides interfaces for hash functions. package hash import "io" // Hash is the common interface implemented by all hash functions. // // Hash implementations in the standard library (e.g. [hash/crc32] and // [crypto/sha256]) implement the [encoding.BinaryMarshaler] and // [encoding.BinaryUnmarshaler] interfaces. Marshaling a hash implementation
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 13 19:15:34 UTC 2023 - 2.1K bytes - Viewed (0) -
pkg/util/hash/hash.go
// limitations under the License. package hash import ( "encoding/hex" "github.com/cespare/xxhash/v2" ) type Hash interface { Write(p []byte) (n int) WriteString(s string) (n int) Sum() string Sum64() uint64 } type instance struct { hash *xxhash.Digest } var _ Hash = &instance{} func New() Hash { return &instance{ hash: xxhash.New(), } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Dec 21 20:24:14 UTC 2023 - 1.4K bytes - Viewed (0) -
proguard/hash.pro
-dontwarn sun.misc.Unsafe # Striped64 appears to make some assumptions about object layout that # really might not be safe. This should be investigated. -keepclassmembers class com.google.common.hash.Striped64 { *** base; *** busy; } -keepclassmembers class com.google.common.hash.Striped64$Cell { <fields>;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue May 09 00:29:01 UTC 2023 - 351 bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_list_issue61415.txt
cp stdout has-nested.json stdout '"Origin":' stdout '"VCS": "git"' stdout '"URL":' # randomly-chosen vcweb localhost URL stdout '"Subdir": "nested"' stdout '"TagPrefix": "nested/"' stdout '"TagSum": "t1:47DEQpj8HBSa\+/TImW\+5JCeuQeRkm5NMpJWZG3hSuFU="' stdout '"Ref": "refs/tags/has-nested"' stdout '"Hash": "08a4fa6bb9c04ffba03b26ae427b0d6335d90a2a"'
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 16 22:15:45 UTC 2023 - 3.1K bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_list_issue61423.txt
stdout '"Origin":' stdout '"VCS": "git"' stdout '"Hash": "f213069baa68ec26412fb373c7cf6669db1f8e69"' stdout '"Ref": "HEAD"' stdout '"TagSum": "t1:47DEQpj8HBSa\+/TImW\+5JCeuQeRkm5NMpJWZG3hSuFU="' go list -reuse=git-latest.json -m -json vcs-test.golang.org/git/issue61415.git@latest stdout '"Version": "v0.0.0-20231114180001-f213069baa68"' stdout '"Origin":' stdout '"VCS": "git"' stdout '"Hash": "f213069baa68ec26412fb373c7cf6669db1f8e69"'
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 17 22:43:50 UTC 2023 - 3.3K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/changedetection/state/CachingFileHasherTest.groovy
and: 1 * timeStampInspector.timestampCanBeUsedToDetectFileChange(file.absolutePath, stat.lastModified) >> true 1 * cache.getIfPresent(file.absolutePath) >> new FileInfo(oldHash, file.length(), 124) 1 * target.hash(file) >> hash 1 * cache.put(file.absolutePath, _) >> { String key, FileInfo fileInfo -> assert fileInfo.hash == hash assert fileInfo.length == stat.length
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jan 10 13:47:15 UTC 2023 - 6.3K bytes - Viewed (0) -
cmd/xl-storage-format-utils.go
return crc } // hashDeterministicBytes will return a deterministic (weak) hash for the map values. // Trivial collisions are avoided, but this is by no means a strong hash. func hashDeterministicBytes(m map[string][]byte) uint64 { crc := uint64(0x1bbc7e1dde654743) for k, v := range m { crc ^= (xxh3.HashString(k) ^ 0x4ee3bbaf7ab2506b) + (xxh3.Hash(v) ^ 0x8da4c8da66194257) } return crc
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Jun 07 22:18:44 UTC 2024 - 5.5K bytes - Viewed (0)