Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 36 of 36 for Atack (0.04 sec)

  1. src/runtime/malloc.go

    	var p *notInHeap
    	systemstack(func() {
    		p = persistentalloc1(size, align, sysStat)
    	})
    	return unsafe.Pointer(p)
    }
    
    // Must run on system stack because stack growth can (re)invoke it.
    // See issue 9174.
    //
    //go:systemstack
    func persistentalloc1(size, align uintptr, sysStat *sysMemStat) *notInHeap {
    	const (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  2. src/runtime/map.go

    	h := new(hmap)
    	h.hash0 = uint32(rand())
    	return h
    }
    
    // makemap implements Go map creation for make(map[k]v, hint).
    // If the compiler has determined that the map or the first bucket
    // can be created on the stack, h and/or bucket may be non-nil.
    // If h != nil, the map can be created directly in h.
    // If h.buckets != nil, bucket pointed to can be used as the first bucket.
    //
    // makemap should be an internal detail,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/rewrite.go

    	if isSamePtr(p1, p2) {
    		return !overlap(off1, n1, off2, n2)
    	}
    	// p1 and p2 are not the same, so if they are both OpAddrs then
    	// they point to different variables.
    	// If one pointer is on the stack and the other is an argument
    	// then they can't overlap.
    	switch p1.Op {
    	case OpAddr, OpLocalAddr:
    		if p2.Op == OpAddr || p2.Op == OpLocalAddr || p2.Op == OpSP {
    			return true
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
  4. src/time/time_test.go

    			t.Errorf("The result t2: %+v after Unmarshal is not matched original t1: %+v", t2, t1)
    		}
    	}
    }
    
    func TestUnmarshalTextAllocations(t *testing.T) {
    	in := []byte(testdataRFC3339UTC) // short enough to be stack allocated
    	if allocs := testing.AllocsPerRun(100, func() {
    		var t Time
    		t.UnmarshalText(in)
    	}); allocs != 0 {
    		t.Errorf("got %v allocs, want 0 allocs", allocs)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:13:47 UTC 2024
    - 56.5K bytes
    - Viewed (0)
  5. src/cmd/internal/testdir/testdir_test.go

    			// This command-timeout code adapted from cmd/go/test.go
    			// Note: the Go command uses a more sophisticated timeout
    			// strategy, first sending SIGQUIT (if appropriate for the
    			// OS in question) to try to trigger a stack trace, then
    			// finally much later SIGKILL. If timeouts prove to be a
    			// common problem here, it would be worth porting over
    			// that code as well. See https://do.dev/issue/50973
    			// for more discussion.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:08:06 UTC 2024
    - 57.5K bytes
    - Viewed (0)
  6. src/reflect/type.go

    	t         *abi.Type
    	framePool *sync.Pool
    	abid      abiDesc
    }
    
    var layoutCache sync.Map // map[layoutKey]layoutType
    
    // funcLayout computes a struct type representing the layout of the
    // stack-assigned function arguments and return values for the function
    // type t.
    // If rcvr != nil, rcvr specifies the type of the receiver.
    // The returned type exists only for GC, so we only fill out GC relevant info.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 85.5K bytes
    - Viewed (0)
Back to top