Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 26 of 26 for deduplicated (0.25 sec)

  1. src/runtime/mgcmark.go

    		// update heapScanWork. TODO: is there a better metric,
    		// now that we can skip scalar portions pretty efficiently?
    		scanSize = addr - b + goarch.PtrSize
    
    		// Work here is duplicated in scanblock and above.
    		// If you make changes here, make changes there too.
    		obj := *(*uintptr)(unsafe.Pointer(addr))
    
    		// At this point we have extracted the next potential pointer.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 21:25:11 UTC 2024
    - 52.5K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types/type.go

    		t.SetHasShape(true)
    	}
    	if sym.Pkg.Path == "runtime/internal/sys" && sym.Name == "nih" {
    		// Recognize the special not-in-heap type. Any type including
    		// this type will also be not-in-heap.
    		// This logic is duplicated in go/types and
    		// cmd/compile/internal/types2.
    		t.SetNotInHeap(true)
    	}
    	return t
    }
    
    // Obj returns the canonical type name node for a named type t, nil for an unnamed type.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 49.5K bytes
    - Viewed (0)
  3. src/runtime/asm_amd64.s

    	MOVL   $64, R11
    	JMP     gcWriteBarrier<>(SB)
    
    DATA	debugCallFrameTooLarge<>+0x00(SB)/20, $"call frame too large"
    GLOBL	debugCallFrameTooLarge<>(SB), RODATA, $20	// Size duplicated below
    
    // debugCallV2 is the entry point for debugger-injected function
    // calls on running goroutines. It informs the runtime that a
    // debug call has been injected and creates a call frame for the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 11 20:38:24 UTC 2024
    - 60.4K bytes
    - Viewed (0)
  4. src/runtime/pprof/pprof_test.go

    		wantSamples: []*profile.Sample{
    			{Value: []int64{70, 70 * period}, Location: []*profile.Location{{ID: 1}}},
    		},
    	}, {
    		// The same location is used for duplicated stacks.
    		name: "truncated_stack_trace_twice",
    		input: []uint64{
    			3, 0, 500, // hz = 500. Must match the period.
    			4, 0, 70, inlinedCallerStack[0],
    			// Fake frame: add a fake call to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 68.8K bytes
    - Viewed (0)
  5. src/cmd/go/go_test.go

    			// See https://sourceware.org/bugzilla/show_bug.cgi?id=19011
    			section := f.Section(".edata")
    			if section == nil {
    				t.Skip(".edata section is not present")
    			}
    			// TODO: deduplicate this struct from cmd/link/internal/ld/pe.go
    			type IMAGE_EXPORT_DIRECTORY struct {
    				_                 [2]uint32
    				_                 [2]uint16
    				_                 [2]uint32
    				NumberOfFunctions uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 81.1K bytes
    - Viewed (0)
  6. src/testing/testing.go

    	//
    	// A previous version of this code said:
    	//
    	//	c.duration = ...
    	//	c.signal <- c.self
    	//	runtime.Goexit()
    	//
    	// This previous version duplicated code (those lines are in
    	// tRunner no matter what), but worse the goroutine teardown
    	// implicit in runtime.Goexit was not guaranteed to complete
    	// before the test exited. If a test deferred an important cleanup
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 76.1K bytes
    - Viewed (0)
Back to top