Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 216 for vSlots (0.11 sec)

  1. src/cmd/compile/internal/liveness/plive.go

    			if n.OpenDeferSlot() {
    				// Open-coded defer args slots must be live
    				// everywhere in a function, since a panic can
    				// occur (almost) anywhere. Because it is live
    				// everywhere, it must be zeroed on entry.
    				livedefer.Set(int32(i))
    				// It was already marked as Needzero when created.
    				if !n.Needzero() {
    					base.Fatalf("all pointer-containing defer arg slots should have Needzero set")
    				}
    			}
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 15:22:22 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  2. src/runtime/tracetype.go

    	// The maximum number of bytes required to hold the encoded type.
    	maxBytes := 1 + 5*traceBytesPerNumber + len(typName)
    
    	// Estimate the size of this record. This
    	// bound is pretty loose, but avoids counting
    	// lots of varint sizes.
    	//
    	// Add 1 because we might also write a traceAllocFreeTypesBatch byte.
    	var flushed bool
    	w, flushed = w.ensure(1 + maxBytes)
    	if flushed {
    		// Annotate the batch as containing types.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:31:27 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/test/mergelocals_test.go

    		}
    	}
    }
    
    func TestMergeLocalsIntegration(t *testing.T) {
    	testenv.MustHaveGoBuild(t)
    
    	// This test does a build of a specific canned package to
    	// check whether merging of stack slots is taking place.
    	// The idea is to do the compile with a trace option turned
    	// on and then pick up on the frame offsets of specific
    	// variables.
    	//
    	// Stack slot merging is a greedy algorithm, and there can
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:43:53 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/test/zerorange_test.go

    // ensure that output param is allocated on the heap. Also, since there is a
    // defer, the pointer to each output param must be zeroed in the prologue (see
    // plive.go:epilogue()). So, we will get a block of one or more stack slots that
    // need to be zeroed. Hence, we are testing compilation completes successfully when
    // zerorange calls of various sizes (8-136 bytes) are generated. We are not
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 01 18:18:07 UTC 2022
    - 4.1K bytes
    - Viewed (0)
  5. src/cmd/vendor/github.com/google/pprof/internal/report/stacks.go

    	// Alternative names to display (with decreasing lengths) to make text fit.
    	// Guaranteed to be non-empty.
    	Display []string
    
    	// Places holds the list of stack slots where this source occurs.
    	// In particular, if [a,b] is an element in Places,
    	// StackSet.Stacks[a].Sources[b] points to this source.
    	//
    	// No stack will be referenced twice in the Places slice for a given
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  6. src/internal/coverage/cfile/apis.go

    	}
    
    	// Implementation note: this function would be faster and simpler
    	// if we could just zero out the entire counter array, but for the
    	// moment we go through and zero out just the slots in the array
    	// corresponding to the counter values. We do this to avoid the
    	// following bad scenario: suppose that a user builds their Go
    	// program with "-cover", and that program has a function (call it
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:57:47 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  7. src/internal/stringslite/strings.go

    		c0 := substr[0]
    		c1 := substr[1]
    		i := 0
    		t := len(s) - n + 1
    		fails := 0
    		for i < t {
    			if s[i] != c0 {
    				// IndexByte is faster than bytealg.IndexString, so use it as long as
    				// we're not getting lots of false positives.
    				o := IndexByte(s[i+1:t], c0)
    				if o < 0 {
    					return -1
    				}
    				i += o + 1
    			}
    			if s[i+1] == c1 && s[i:i+n] == substr {
    				return i
    			}
    			fails++
    			i++
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 01:23:42 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  8. src/runtime/pprof/vminfo_darwin_test.go

    		t.Logf("vmmap output: %s", out)
    		if ee, ok := cmdErr.(*exec.ExitError); ok && len(ee.Stderr) > 0 {
    			t.Logf("%v: %v\n%s", cmd, cmdErr, ee.Stderr)
    			if testing.Short() && strings.Contains(string(ee.Stderr), "No process corpse slots currently available, waiting to get one") {
    				t.Skipf("Skipping knwn flake in short test mode")
    			}
    			retryable = bytes.Contains(ee.Stderr, []byte("resource shortage"))
    		}
    		t.Logf("%v: %v\n", cmd, cmdErr)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 16 19:59:50 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/RegularImmutableMap.java

        // If duplicates are allowed, this IdentityHashMap will record the final Entry for each
        // duplicated key. We will use this final Entry to overwrite earlier slots in the entries array
        // that have the same key. Then a second pass will remove all but the first of the slots that
        // have this Entry. The value in the map becomes false when this first entry has been copied, so
        // we know not to copy the remaining ones.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/test/testdata/phi_test.go

    		s = int32(data2[18])
    		t = int32(data2[19])
    		u = int32(data2[20])
    		v = int32(data2[21])
    		w = int32(data2[22])
    		x = int32(data2[23])
    		y = int32(data2[24])
    		z = int32(data2[25])
    	}
    	// Lots of phis of the form phi(int32,int64) of type int32 happen here.
    	// Some will be stack phis. For those stack phis, make sure the spill
    	// of the second argument uses the phi's width (4 bytes), not its width
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 23 06:40:04 UTC 2020
    - 2.2K bytes
    - Viewed (0)
Back to top