Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 37 of 37 for newm1 (0.23 sec)

  1. src/internal/types/testdata/check/builtins0.go

    		_ int = min(1.0)
    		_ float32 = min(1, 2)
    		_ int = min(1, 2.3) // ok!
    		_ int = min /* ERROR "cannot use min(1.2, 3) (untyped float constant 1.2) as int value" */ (1.2, 3)
    		_ byte = min(1, 'a')
    	)
    }
    
    func new1() {
    	_ = new() // ERROR "not enough arguments"
    	_ = new(1, 2) // ERROR "too many arguments"
    	_ = new("foo" /* ERROR "not a type" */)
    	p := new(float64)
    	_ = new(struct{ x, y int })
    	q := new(*float64)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 29.3K bytes
    - Viewed (0)
  2. src/net/lookup_test.go

    		// On Darwin this test consumes kernel threads much
    		// than other platforms for some reason.
    		// When we monitor the number of allocated Ms by
    		// observing on runtime.newm calls, we can see that it
    		// easily reaches the per process ceiling
    		// kern.num_threads when CGO_ENABLED=1 and
    		// GODEBUG=netdns=go.
    		N = 500
    	}
    
    	const timeout = 3 * time.Second
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 41.4K bytes
    - Viewed (0)
  3. src/runtime/asm_arm.s

    // R3 prolog's LR
    // using NOFRAME means do not save LR on stack.
    //
    // 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).
    	MOVW	g_m(g), R8
    	MOVW	m_g0(R8), R4
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 23 21:00:52 UTC 2024
    - 32.1K bytes
    - Viewed (0)
  4. src/runtime/asm_386.s

    // Called during function prolog when more stack is needed.
    //
    // 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).
    	get_tls(CX)
    	MOVL	g(CX), DI
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 15:45:13 UTC 2024
    - 43.1K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. src/runtime/asm_amd64.s

    // Called during function prolog when more stack is needed.
    //
    // 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).
    	get_tls(CX)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 11 20:38:24 UTC 2024
    - 60.4K bytes
    - Viewed (0)
Back to top