Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for returnAfterGrow (0.19 sec)

  1. src/cmd/cgo/internal/test/callback_c.c

    IntoC(void)
    {
    	BackIntoGo();
    }
    
    void
    Issue1560InC(void)
    {
    	Issue1560FromC();
    }
    
    void
    callGoStackCheck(void)
    {
    	extern void goStackCheck(void);
    	goStackCheck();
    }
    
    int
    returnAfterGrow(void)
    {
    	extern int goReturnVal(void);
    	goReturnVal();
    	return 123456;
    }
    
    int
    returnAfterGrowFromGo(void)
    {
    	extern int goReturnVal(void);
    	return goReturnVal();
    }
    
    void
    C
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 933 bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/test/callback.go

    // license that can be found in the LICENSE file.
    
    package cgotest
    
    /*
    void callback(void *f);
    void callGoFoo(void);
    void callGoStackCheck(void);
    void callPanic(void);
    int callGoReturnVal(void);
    int returnAfterGrow(void);
    int returnAfterGrowFromGo(void);
    void callGoWithString(void);
    */
    import "C"
    
    import (
    	"path"
    	"runtime"
    	"strings"
    	"sync"
    	"testing"
    	"unsafe"
    )
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 111.5K bytes
    - Viewed (0)
Back to top