- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 93 for hashHead (0.17 sec)
-
src/cmd/compile/internal/staticdata/data.go
// The symbol contains the string data, not a string header. func StringSym(pos src.XPos, s string) (data *obj.LSym) { var symname string if len(s) > 100 { // Huge strings are hashed to avoid long names in object files. // Indulge in some paranoia by writing the length of s, too, // as protection against length extension attacks. // Same pattern is known to fileStringSym below. h := notsha256.New()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 01 15:08:50 UTC 2023 - 10.3K bytes - Viewed (0) -
src/go/types/typestring.go
if t.obj == nil { w.error("unnamed type parameter") break } if i := tparamIndex(w.tparams.list(), t); i >= 0 { // The names of type parameters that are declared by the type being // hashed are not part of the type identity. Replace them with a // placeholder indicating their index. w.string(fmt.Sprintf("$%d", i)) } else { w.string(t.obj.name) if w.tpSubscripts || w.ctxt != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:01:18 UTC 2024 - 12.3K bytes - Viewed (0) -
src/cmd/internal/obj/link.go
pkgIdx map[string]int32 defs []*LSym // list of defined symbols in the current package hashed64defs []*LSym // list of defined short (64-bit or less) hashed (content-addressable) symbols hasheddefs []*LSym // list of defined hashed (content-addressable) symbols nonpkgdefs []*LSym // list of defined non-package symbols nonpkgrefs []*LSym // list of referenced non-package symbols
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 33.1K bytes - Viewed (0) -
cmd/test-utils_test.go
// Sign given request using Signature V4. func signStreamingRequest(req *http.Request, accessKey, secretKey string, currTime time.Time) (string, error) { // Get hashed payload. hashedPayload := req.Header.Get("x-amz-content-sha256") if hashedPayload == "" { return "", fmt.Errorf("Invalid hashed payload") } // Set x-amz-date. req.Header.Set("x-amz-date", currTime.Format(iso8601Format)) // Get header map.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:50:49 UTC 2024 - 76.9K bytes - Viewed (0) -
src/cmd/internal/obj/sym.go
rs.Set(AttrIndexed, true) return } } pkg := rs.Pkg if rs.ContentAddressable() { // for now, only support content-addressable symbols that are always locally defined. panic("hashed refs unsupported for now") } if pkg == "" || pkg == "\"\"" || pkg == "_" || !rs.Indexed() { rs.PkgIdx = goobj.PkgIdxNone rs.SymIdx = nonpkgidx rs.Set(AttrIndexed, true)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 14:41:10 UTC 2024 - 14.1K bytes - Viewed (0) -
src/runtime/stubs.go
//go:linkname reflect_memmove reflect.memmove func reflect_memmove(to, from unsafe.Pointer, n uintptr) { memmove(to, from, n) } // exported value for testing const hashLoad = float32(loadFactorNum) / float32(loadFactorDen) // in internal/bytealg/equal_*.s // // memequal should be an internal detail, // but widely used packages access it using linkname.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 20.2K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/types/typeutil/map.go
// Call MakeHasher to create a Hasher. type Hasher struct { memo map[types.Type]uint32 // ptrMap records pointer identity. ptrMap map[any]uint32 // sigTParams holds type parameters from the signature being hashed. // Signatures are considered identical modulo renaming of type parameters, so // within the scope of a signature type the identity of the signature's type // parameters is just their index. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 13.9K bytes - Viewed (0) -
src/crypto/tls/common.go
hashed := sha512.Sum512(b[:]) // The first 16 bytes of the hash used to be exposed on the wire as a ticket // prefix. They MUST NOT be used as a secret. In the future, it would make // sense to use a proper KDF here, like HKDF with a fixed salt. const legacyTicketKeyNameLen = 16 copy(key.aesKey[:], hashed[legacyTicketKeyNameLen:]) copy(key.hmacKey[:], hashed[legacyTicketKeyNameLen+len(key.aesKey):])
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:10:12 UTC 2024 - 59.1K bytes - Viewed (0) -
src/runtime/export_test.go
IfaceHash = ifaceHash ) var UseAeshash = &useAeshash func MemclrBytes(b []byte) { s := (*slice)(unsafe.Pointer(&b)) memclrNoHeapPointers(s.array, uintptr(s.len)) } const HashLoad = hashLoad // entry point for testing func GostringW(w []uint16) (s string) { systemstack(func() { s = gostringw(&w[0]) }) return } var Open = open var Close = closefd var Read = read
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:50:53 UTC 2024 - 46.1K bytes - Viewed (0) -
src/crypto/tls/handshake_messages.go
} type transcriptHash interface { Write([]byte) (int, error) } // transcriptMsg is a helper used to hash messages which are not hashed when // they are read from, or written to, the wire. This is typically the case for // messages which are either not sent, or need to be hashed out of order from // when they are read/written. // // For most messages, the message is marshalled using their marshal method,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:10:12 UTC 2024 - 51.8K bytes - Viewed (0)