Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for stack716 (0.14 sec)

  1. src/cmd/cgo/internal/test/callback.go

    	stack740, stack744, stack748, stack752, stack756, stack760,
    	stack764, stack768, stack772, stack776, stack780, stack784,
    	stack788, stack792, stack796, stack800, stack804, stack808,
    	stack812, stack816, stack820, stack824, stack828, stack832,
    	stack836, stack840, stack844, stack848, stack852, stack856,
    	stack860, stack864, stack868, stack872, stack876, stack880,
    	stack884, stack888, stack892, stack896, stack900, stack904,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 111.5K bytes
    - Viewed (0)
  2. src/runtime/testdata/testprogcgo/stackswitch.c

    	// Next, verify that switching stacks doesn't break callbacks.
    
    	char *stack1 = malloc(STACK_SIZE);
    	if (stack1 == NULL) {
    		perror("malloc");
    		exit(1);
    	}
    
    	// Allocate the second stack before freeing the first to ensure we don't get
    	// the same address from malloc.
    	//
    	// Will be freed in stackSwitchThread2.
    	stack2 = malloc(STACK_SIZE);
    	if (stack1 == NULL) {
    		perror("malloc");
    		exit(1);
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 26 15:17:33 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  3. src/runtime/chan_test.go

    }
    
    func TestShrinkStackDuringBlockedSend(t *testing.T) {
    	// make sure that channel operations still work when we are
    	// blocked on a channel send and we shrink the stack.
    	// NOTE: this test probably won't fail unless stack1.go:stackDebug
    	// is set to >= 1.
    	const n = 10
    	c := make(chan int)
    	done := make(chan struct{})
    
    	go func() {
    		for i := 0; i < n; i++ {
    			c <- i
    			// use lots of stack, briefly.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 31 20:47:35 UTC 2023
    - 23.4K bytes
    - Viewed (0)
Back to top