Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for tmpHash (0.18 sec)

  1. src/cmd/internal/obj/objfile.go

    	w.tmpHash64 = contentHash64(s)
    	w.Bytes(w.tmpHash64[:])
    }
    
    func (w *writer) Hash(s *LSym) {
    	if !s.ContentAddressable() {
    		panic("Hash of non-content-addressable symbol")
    	}
    	w.tmpHash = w.contentHash(s)
    	w.Bytes(w.tmpHash[:])
    }
    
    // contentHashSection returns a mnemonic for s's section.
    // The goal is to prevent content-addressability from moving symbols between sections.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 24K bytes
    - Viewed (0)
  2. src/runtime/map_faststr.go

    	top := tophash(hash)
    
    	var insertb *bmap
    	var inserti uintptr
    	var insertk unsafe.Pointer
    
    bucketloop:
    	for {
    		for i := uintptr(0); i < abi.MapBucketCount; i++ {
    			if b.tophash[i] != top {
    				if isEmpty(b.tophash[i]) && insertb == nil {
    					insertb = b
    					inserti = i
    				}
    				if b.tophash[i] == emptyRest {
    					break bucketloop
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  3. src/runtime/map_fast32.go

    			} else {
    				memclrNoHeapPointers(e, t.Elem.Size_)
    			}
    			b.tophash[i] = emptyOne
    			// If the bucket now ends in a bunch of emptyOne states,
    			// change those to emptyRest states.
    			if i == abi.MapBucketCount-1 {
    				if b.overflow(t) != nil && b.overflow(t).tophash[0] != emptyRest {
    					goto notLast
    				}
    			} else {
    				if b.tophash[i+1] != emptyRest {
    					goto notLast
    				}
    			}
    			for {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  4. src/runtime/map_fast64.go

    			} else {
    				memclrNoHeapPointers(e, t.Elem.Size_)
    			}
    			b.tophash[i] = emptyOne
    			// If the bucket now ends in a bunch of emptyOne states,
    			// change those to emptyRest states.
    			if i == abi.MapBucketCount-1 {
    				if b.overflow(t) != nil && b.overflow(t).tophash[0] != emptyRest {
    					goto notLast
    				}
    			} else {
    				if b.tophash[i+1] != emptyRest {
    					goto notLast
    				}
    			}
    			for {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  5. src/runtime/map.go

    				// bit of tophash to decide which way NaNs go.
    				// NOTE: this case is why we need two evacuate tophash
    				// values, evacuatedX and evacuatedY, that differ in
    				// their low bit.
    				if checkBucket>>(it.B-1) != uintptr(b.tophash[offi]&1) {
    					continue
    				}
    			}
    		}
    		if (b.tophash[offi] != evacuatedX && b.tophash[offi] != evacuatedY) ||
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  6. src/runtime/export_test.go

    			for i := 0; i < abi.MapBucketCount; i++ {
    				if b.tophash[i] != emptyRest {
    					n++
    				}
    			}
    		}
    		k := 0
    		for b := b0; b != nil; b = b.overflow(t) {
    			for i := 0; i < abi.MapBucketCount; i++ {
    				if k < n && b.tophash[i] == emptyRest {
    					panic("early emptyRest")
    				}
    				if k >= n && b.tophash[i] != emptyRest {
    					panic("late non-emptyRest")
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:50:53 UTC 2024
    - 46.1K bytes
    - Viewed (0)
Back to top