Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 124 for relocs (0.22 sec)

  1. src/runtime/metrics/description.go

    			"math.MaxInt64. This value is set by the GOMEMLIMIT environment variable, and " +
    			"the runtime/debug.SetMemoryLimit function.",
    		Kind: KindUint64,
    	},
    	{
    		Name: "/gc/heap/allocs-by-size:bytes",
    		Description: "Distribution of heap allocations by approximate size. " +
    			"Bucket counts increase monotonically. " +
    			"Note that this does not include tiny objects as defined by " +
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 06 17:59:12 UTC 2023
    - 19.6K bytes
    - Viewed (0)
  2. src/runtime/sys_openbsd_ppc64.s

    // It just does some low-level setup and then calls mstart.
    // Note: called with the C calling convention.
    TEXT runtime·mstart_stub(SB),NOSPLIT,$32
    	// R3 points to the m.
    	// We are already on m's g0 stack.
    
    	// Go relies on R0 being $0.
    	XOR	R0, R0
    
    	// TODO(jsing): Save callee-save registers (R14-R31, F14-F31, V20-V31).
    
    	MOVD    m_g0(R3), g
    	BL	runtime·save_g(SB)
    
    	BL	runtime·mstart(SB)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 02:48:11 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  3. src/runtime/hash_test.go

    				m[k] = true
    			}
    		}
    		if len(m) != 70 {
    			t.Errorf("bad test: (8 choose 4) should be 70, not %d", len(m))
    		}
    	}
    	if n := testing.AllocsPerRun(10, f); n > 6 {
    		t.Errorf("too many allocs %f - hash not balanced", n)
    	}
    }
    func TestStructHash(t *testing.T) {
    	// See the comment in TestArrayHash.
    	f := func() {
    		type key struct {
    			a, b, c, d, e, f, g, h string
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 17:50:18 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  4. src/bytes/buffer_test.go

    			readBytes, _ := buf.Read(tmp)
    			yBytes := Repeat(y, growLen)
    			allocs := testing.AllocsPerRun(100, func() {
    				buf.Grow(growLen)
    				buf.Write(yBytes)
    			})
    			// Check no allocation occurs in write, as long as we're single-threaded.
    			if allocs != 0 {
    				t.Errorf("allocation occurred during write")
    			}
    			// Check that buffer has correct data.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 13:31:36 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  5. src/runtime/metrics/doc.go

    	/gc/gomemlimit:bytes
    		Go runtime memory limit configured by the user, otherwise
    		math.MaxInt64. This value is set by the GOMEMLIMIT environment
    		variable, and the runtime/debug.SetMemoryLimit function.
    
    	/gc/heap/allocs-by-size:bytes
    		Distribution of heap allocations by approximate size.
    		Bucket counts increase monotonically. Note that this does not
    		include tiny objects as defined by /gc/heap/tiny/allocs:objects,
    		only tiny blocks.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:58:43 UTC 2024
    - 20K bytes
    - Viewed (0)
  6. src/runtime/extern.go

    		init # @#ms, # ms clock, # bytes, # allocs
    	where the fields are as follows:
    		init #      the package name
    		@# ms       time in milliseconds when the init started since program start
    		# clock     wall-clock time for package initialization work
    		# bytes     memory allocated on the heap
    		# allocs    number of heap allocations
    
    	madvdontneed: setting madvdontneed=0 will use MADV_FREE
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  7. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/AbstractCrossTaskIncrementalCompilationIntegrationTest.groovy

        }
    
        @Issue("https://github.com/gradle/gradle/issues/21255")
        def "ensure local classes preferred in incremental compilation"() {
            source(
                api: ["class Base {}"],
                // Dependant relies on specifics that only exist in the Base within impl
                impl: ["class Base { String reference; }", "class Dependant { String downstream = new Base().reference;}"]
            )
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 06 23:55:46 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/apf_controller.go

    		return
    	}
    	allocs, fairFrac, err := computeConcurrencyAllocation(cfgCtlr.nominalCLSum, items)
    	if err != nil {
    		klog.ErrorS(err, "Unable to derive new concurrency limits", "plNames", plNames, "items", items)
    		allocs = make([]float64, len(items))
    		for idx, plName := range plNames {
    			plState := plStates[plName]
    			allocs[idx] = float64(plState.currentCL)
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 48.8K bytes
    - Viewed (0)
  9. src/path/filepath/path_test.go

    	if runtime.GOMAXPROCS(0) > 1 {
    		t.Log("skipping AllocsPerRun checks; GOMAXPROCS>1")
    		return
    	}
    
    	for _, test := range tests {
    		allocs := testing.AllocsPerRun(100, func() { filepath.Clean(test.result) })
    		if allocs > 0 {
    			t.Errorf("Clean(%q): %v allocs, want zero", test.result, allocs)
    		}
    	}
    }
    
    type IsLocalTest struct {
    	path    string
    	isLocal bool
    }
    
    var islocaltests = []IsLocalTest{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 22 16:38:19 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  10. src/cmd/internal/obj/sym.go

    	fninfo := fsym.Func()
    	pc := &fninfo.Pcln
    	if flag&traverseAux == 0 {
    		// NB: should it become necessary to walk aux sym reloc references
    		// without walking the aux syms themselves, this can be changed.
    		panic("should not be here")
    	}
    	for _, d := range pc.Funcdata {
    		if d != nil {
    			fn(fsym, d)
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 14:41:10 UTC 2024
    - 14.1K bytes
    - Viewed (0)
Back to top