Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for stack188 (0.22 sec)

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

    	stack1772, stack1776, stack1780, stack1784, stack1788, stack1792,
    	stack1796, stack1800, stack1804, stack1808, stack1812, stack1816,
    	stack1820, stack1824, stack1828, stack1832, stack1836, stack1840,
    	stack1844, stack1848, stack1852, stack1856, stack1860, stack1864,
    	stack1868, stack1872, stack1876, stack1880, stack1884, stack1888,
    	stack1892, stack1896, stack1900, stack1904, stack1908, stack1912,
    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