Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for ridge (0.25 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. api/go1.13.txt

    pkg syscall (netbsd-arm64-cgo), const IFT_BGPPOLICYACCOUNTING = 162
    pkg syscall (netbsd-arm64-cgo), const IFT_BGPPOLICYACCOUNTING ideal-int
    pkg syscall (netbsd-arm64-cgo), const IFT_BRIDGE = 209
    pkg syscall (netbsd-arm64-cgo), const IFT_BRIDGE ideal-int
    pkg syscall (netbsd-arm64-cgo), const IFT_BSC = 83
    pkg syscall (netbsd-arm64-cgo), const IFT_BSC ideal-int
    pkg syscall (netbsd-arm64-cgo), const IFT_CARP = 248
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Aug 08 18:44:16 GMT 2019
    - 452.6K bytes
    - Viewed (0)
  3. api/go1.1.txt

    pkg syscall (darwin-386), const IFT_ARCNET = 35
    pkg syscall (darwin-386), const IFT_ARCNETPLUS = 36
    pkg syscall (darwin-386), const IFT_ATM = 37
    pkg syscall (darwin-386), const IFT_BRIDGE = 209
    pkg syscall (darwin-386), const IFT_CARP = 248
    pkg syscall (darwin-386), const IFT_CELLULAR = 255
    pkg syscall (darwin-386), const IFT_CEPT = 19
    pkg syscall (darwin-386), const IFT_DS3 = 30
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Mar 31 20:37:15 GMT 2022
    - 2.6M bytes
    - Viewed (0)
  4. api/go1.2.txt

    pkg syscall (freebsd-386-cgo), const IFT_ATMVIRTUAL ideal-int
    pkg syscall (freebsd-386-cgo), const IFT_BGPPOLICYACCOUNTING ideal-int
    pkg syscall (freebsd-386-cgo), const IFT_BRIDGE ideal-int
    pkg syscall (freebsd-386-cgo), const IFT_BSC ideal-int
    pkg syscall (freebsd-386-cgo), const IFT_CARP ideal-int
    pkg syscall (freebsd-386-cgo), const IFT_CCTEMUL ideal-int
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 18 04:36:59 GMT 2013
    - 1.9M bytes
    - Viewed (2)
  5. 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)
  6. 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 Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Dec 02 16:30:41 GMT 2022
    - 479.2K bytes
    - Viewed (0)
  7. 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 Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Feb 17 20:31:46 GMT 2023
    - 508.9K bytes
    - Viewed (0)
  8. api/go1.txt

    pkg syscall (darwin-386), const IFT_ARCNET ideal-int
    pkg syscall (darwin-386), const IFT_ARCNETPLUS ideal-int
    pkg syscall (darwin-386), const IFT_ATM ideal-int
    pkg syscall (darwin-386), const IFT_BRIDGE ideal-int
    pkg syscall (darwin-386), const IFT_CARP ideal-int
    pkg syscall (darwin-386), const IFT_CELLULAR ideal-int
    pkg syscall (darwin-386), const IFT_CEPT ideal-int
    pkg syscall (darwin-386), const IFT_DS3 ideal-int
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Viewed (1)
  9. 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 Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Feb 17 21:23:32 GMT 2023
    - 602.6K bytes
    - Viewed (0)
  10. misc/cgo/gmp/gmp.go

    	init bool
    }
    
    // NewInt returns a new Int initialized to x.
    func NewInt(x int64) *Int { return new(Int).SetInt64(x) }
    
    // Int promises that the zero value is a 0, but in gmp
    // the zero value is a crash.  To bridge the gap, the
    // init bool says whether this is a valid gmp value.
    // doinit initializes z.i if it needs it.  This is not inherent
    // to FFI, just a mismatch between Go's convention of
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 9.5K bytes
    - Viewed (0)
Back to top