Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 42 for new2 (0.06 sec)

  1. src/internal/trace/testdata/generators/go122-syscall-steal-proc-gen-boundary-reacquire-new-proc-bare-m.go

    )
    
    func main() {
    	testgen.Main(gen)
    }
    
    func gen(t *testgen.Trace) {
    	g := t.Generation(1)
    
    	// One goroutine is exiting with a syscall. It already
    	// acquired a new P.
    	b0 := g.Batch(trace.ThreadID(0), 0)
    	b0.Event("GoStatus", trace.GoID(1), trace.ThreadID(0), go122.GoSyscall)
    	b0.Event("ProcStatus", trace.ProcID(1), go122.ProcIdle)
    	b0.Event("ProcStart", trace.ProcID(1), testgen.Seq(1))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 1009 bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/_gen/PPC64.rules

    (AtomicExchange(32|64) ...) => (LoweredAtomicExchange(32|64) ...)
    
    (AtomicAdd(32|64) ...) => (LoweredAtomicAdd(32|64) ...)
    
    (AtomicCompareAndSwap(32|64) ptr old new_ mem) => (LoweredAtomicCas(32|64) [1] ptr old new_ mem)
    (AtomicCompareAndSwapRel32   ptr old new_ mem) => (LoweredAtomicCas32 [0] ptr old new_ mem)
    
    (AtomicAnd(8|32)  ...) => (LoweredAtomicAnd(8|32)  ...)
    (AtomicOr(8|32)   ...) => (LoweredAtomicOr(8|32)   ...)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 53.2K bytes
    - Viewed (0)
  3. src/runtime/os_windows.go

    	winmmdll            = [...]uint16{'w', 'i', 'n', 'm', 'm', '.', 'd', 'l', 'l', 0}
    )
    
    // Function to be called by windows CreateThread
    // to start new os thread.
    func tstart_stdcall(newm *m)
    
    // Init-time helper
    func wintls()
    
    type mOS struct {
    	threadLock mutex   // protects "thread" and prevents closing
    	thread     uintptr // thread handle
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 22:55:25 UTC 2024
    - 41.5K bytes
    - Viewed (0)
  4. src/runtime/map.go

    	}
    
    	if inserti == nil {
    		// The current bucket and all the overflow buckets connected to it are full, allocate a new one.
    		newb := h.newoverflow(t, b)
    		inserti = &newb.tophash[0]
    		insertk = add(unsafe.Pointer(newb), dataOffset)
    		elem = add(insertk, abi.MapBucketCount*uintptr(t.KeySize))
    	}
    
    	// store new key/elem at insert position
    	if t.IndirectKey() {
    		kmem := newobject(t.Key)
    		*(*unsafe.Pointer)(insertk) = kmem
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  5. src/reflect/all_test.go

    	},
    }
    
    var valueTests = []pair{
    	{new(int), "132"},
    	{new(int8), "8"},
    	{new(int16), "16"},
    	{new(int32), "32"},
    	{new(int64), "64"},
    	{new(uint), "132"},
    	{new(uint8), "8"},
    	{new(uint16), "16"},
    	{new(uint32), "32"},
    	{new(uint64), "64"},
    	{new(float32), "256.25"},
    	{new(float64), "512.125"},
    	{new(complex64), "532.125+10i"},
    	{new(complex128), "564.25+1i"},
    	{new(string), "stringy cheese"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/rewritePPC64.go

    	v_2 := v.Args[2]
    	v_1 := v.Args[1]
    	v_0 := v.Args[0]
    	// match: (AtomicCompareAndSwap32 ptr old new_ mem)
    	// result: (LoweredAtomicCas32 [1] ptr old new_ mem)
    	for {
    		ptr := v_0
    		old := v_1
    		new_ := v_2
    		mem := v_3
    		v.reset(OpPPC64LoweredAtomicCas32)
    		v.AuxInt = int64ToAuxInt(1)
    		v.AddArg4(ptr, old, new_, mem)
    		return true
    	}
    }
    func rewriteValuePPC64_OpAtomicCompareAndSwap64(v *Value) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 360.2K bytes
    - Viewed (0)
  7. src/runtime/asm_loong64.s

    // Caller has already loaded:
    // loong64: R31: LR
    //
    // The traceback routines see morestack on a g0 as being
    // the top of a stack (for example, morestack calling newstack
    // calling the scheduler calling newm calling gc), so we must
    // record an argument size. For that purpose, it has no arguments.
    TEXT runtime·morestack(SB),NOSPLIT|NOFRAME,$0-0
    	// Called from f.
    	// Set g->sched to context in f.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 15:04:25 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  8. src/runtime/asm_mipsx.s

    // Caller has already loaded:
    // R1: framesize, R2: argsize, R3: LR
    //
    // The traceback routines see morestack on a g0 as being
    // the top of a stack (for example, morestack calling newstack
    // calling the scheduler calling newm calling gc), so we must
    // record an argument size. For that purpose, it has no arguments.
    TEXT runtime·morestack(SB),NOSPLIT|NOFRAME,$0-0
    	// Called from f.
    	// Set g->sched to context in f.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 11:46:29 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  9. src/runtime/asm_ppc64x.s

    // Caller has already loaded:
    // R3: framesize, R4: argsize, R5: LR
    //
    // The traceback routines see morestack on a g0 as being
    // the top of a stack (for example, morestack calling newstack
    // calling the scheduler calling newm calling gc), so we must
    // record an argument size. For that purpose, it has no arguments.
    TEXT runtime·morestack(SB),NOSPLIT|NOFRAME,$0-0
    	// Called from f.
    	// Set g->sched to context in f.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:17:17 UTC 2024
    - 45.4K bytes
    - Viewed (0)
  10. src/runtime/asm_arm64.s

    // Caller has already loaded:
    // R3 prolog's LR (R30)
    //
    // The traceback routines see morestack on a g0 as being
    // the top of a stack (for example, morestack calling newstack
    // calling the scheduler calling newm calling gc), so we must
    // record an argument size. For that purpose, it has no arguments.
    TEXT runtime·morestack(SB),NOSPLIT|NOFRAME,$0-0
    	// Cannot grow scheduler stack (m->g0).
    	MOVD	g_m(g), R8
    	MOVD	m_g0(R8), R4
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 11 20:38:24 UTC 2024
    - 43.4K bytes
    - Viewed (0)
Back to top