Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for ridge (0.15 sec)

  1. src/cmd/cgo/doc.go

    	package main
    
    	// typedef int (*intFunc) ();
    	//
    	// int
    	// bridge_int_func(intFunc f)
    	// {
    	//		return f();
    	// }
    	//
    	// int fortytwo()
    	// {
    	//	    return 42;
    	// }
    	import "C"
    	import "fmt"
    
    	func main() {
    		f := C.intFunc(C.fortytwo)
    		fmt.Println(int(C.bridge_int_func(f)))
    		// Output: 42
    	}
    
    In C, a function argument written as a fixed size array
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  2. src/cmd/cgo/gcc.go

    // with full definitions instead of mangled names.
    func (p *Package) rewriteRef(f *File) {
    	// Keep a list of all the functions, to remove the ones
    	// only used as expressions and avoid generating bridge
    	// code for them.
    	functions := make(map[string]bool)
    
    	for _, n := range f.Name {
    		if n.Kind == "func" {
    			functions[n.Go] = false
    		}
    	}
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  3. api/go1.16.txt

    pkg syscall (darwin-arm64), const IFT_ARCNETPLUS ideal-int
    pkg syscall (darwin-arm64), const IFT_ATM = 37
    pkg syscall (darwin-arm64), const IFT_ATM ideal-int
    pkg syscall (darwin-arm64), const IFT_BRIDGE = 209
    pkg syscall (darwin-arm64), const IFT_BRIDGE ideal-int
    pkg syscall (darwin-arm64), const IFT_CARP = 248
    pkg syscall (darwin-arm64), const IFT_CARP ideal-int
    pkg syscall (darwin-arm64), const IFT_CELLULAR = 255
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Dec 02 16:30:41 GMT 2022
    - 479.2K bytes
    - Viewed (0)
  4. api/go1.14.txt

    pkg syscall (freebsd-arm64), const IFT_BGPPOLICYACCOUNTING = 162
    pkg syscall (freebsd-arm64), const IFT_BGPPOLICYACCOUNTING ideal-int
    pkg syscall (freebsd-arm64), const IFT_BRIDGE = 209
    pkg syscall (freebsd-arm64), const IFT_BRIDGE ideal-int
    pkg syscall (freebsd-arm64), const IFT_BSC = 83
    pkg syscall (freebsd-arm64), const IFT_BSC ideal-int
    pkg syscall (freebsd-arm64), const IFT_CARP = 248
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Feb 17 20:31:46 GMT 2023
    - 508.9K bytes
    - Viewed (0)
  5. api/go1.20.txt

    pkg syscall (freebsd-riscv64), const IFT_BGPPOLICYACCOUNTING = 162 #53466
    pkg syscall (freebsd-riscv64), const IFT_BGPPOLICYACCOUNTING ideal-int #53466
    pkg syscall (freebsd-riscv64), const IFT_BRIDGE = 209 #53466
    pkg syscall (freebsd-riscv64), const IFT_BRIDGE ideal-int #53466
    pkg syscall (freebsd-riscv64), const IFT_BSC = 83 #53466
    pkg syscall (freebsd-riscv64), const IFT_BSC ideal-int #53466
    pkg syscall (freebsd-riscv64), const IFT_CARP = 248 #53466
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Feb 17 21:23:32 GMT 2023
    - 602.6K bytes
    - Viewed (0)
Back to top