Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 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/cmd/compile/internal/ssa/debug_test.go

    	testbase := filepath.Join("testdata", base) + "." + tag
    	tmpbase := filepath.Join("testdata", "test-"+base+"."+tag)
    
    	// Use a temporary directory unless -f is specified
    	if !*force {
    		tmpdir := t.TempDir()
    		tmpbase = filepath.Join(tmpdir, "test-"+base+"."+tag)
    		if *verbose {
    			fmt.Printf("Tempdir is %s\n", tmpdir)
    		}
    	}
    	exe := tmpbase
    
    	runGoArgs := []string{"build", "-o", exe, "-gcflags=all=" + gcflags}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:11:47 UTC 2024
    - 28.6K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/test/inl_test.go

    			"pcvalueCacheKey",
    			"rand32",
    			"readUnaligned32",
    			"readUnaligned64",
    			"releasem",
    			"roundupsize",
    			"stackmapdata",
    			"stringStructOf",
    			"subtract1",
    			"subtractb",
    			"tophash",
    			"(*bmap).keys",
    			"(*bmap).overflow",
    			"(*waitq).enqueue",
    			"funcInfo.entry",
    
    			// GC-related ones
    			"cgoInRange",
    			"gclinkptr.ptr",
    			"guintptr.ptr",
    			"heapBitsSlice",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 04:07:57 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  8. 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