Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 53 for hashHead (0.44 sec)

  1. src/crypto/sha1/sha1_test.go

    		}
    	}
    }
    
    // Tests for unmarshaling hashes that have hashed a large amount of data
    // The initial hash generation is omitted from the test, because it takes a long time.
    // The test contains some already-generated states, and their expected sums
    // Tests a problem that is outlined in GitHub issue #29543
    // The problem is triggered when an amount of data has been hashed for which
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 03 21:27:16 UTC 2023
    - 18.3K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. common-protos/k8s.io/api/flowcontrol/v1beta3/generated.proto

      // `handSize` is a small positive number that configures the
      // shuffle sharding of requests into queues.  When enqueuing a request
      // at this priority level the request's flow identifier (a string
      // pair) is hashed and the hash value is used to shuffle the list
      // of queues and deal a hand of the size specified here.  The
      // request is put into one of the shortest queues in that hand.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  10. common-protos/k8s.io/api/flowcontrol/v1alpha1/generated.proto

      // `handSize` is a small positive number that configures the
      // shuffle sharding of requests into queues.  When enqueuing a request
      // at this priority level the request's flow identifier (a string
      // pair) is hashed and the hash value is used to shuffle the list
      // of queues and deal a hand of the size specified here.  The
      // request is put into one of the shortest queues in that hand.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 19.4K bytes
    - Viewed (0)
Back to top