- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 107 for intf (0.15 sec)
-
src/cmd/cgo/doc.go
received from Go. For example: 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 }
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) -
src/cmd/api/testdata/src/pkg/p1/p1.go
func BarE() Error {} func unexported(x int8, y int16, z int64) {} func TakesFunc(f func(dontWantName int) int) type Codec struct { Func func(x int, y int) (z int) } type SI struct { I int } var SIVal = SI{} var SIPtr = &SI{} var SIPtr2 *SI type T struct { common } type B struct { common }
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Dec 02 16:29:41 GMT 2022 - 3.3K bytes - Viewed (0) -
doc/go1.17_spec.html
may be invoked with zero or more arguments for that parameter. </p> <pre> func() func(x int) int func(a, _ int, z float32) bool func(a, b int, z float32) (bool) func(prefix string, values ...int) func(a, b int, z float64, opt ...interface{}) (success bool) func(int, int, float64) (float64, *[]int) func(n int) func(p *T) </pre> <h3 id="Interface_types">Interface types</h3> <p>
HTML - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Thu Apr 11 20:22:45 GMT 2024 - 211.6K bytes - Viewed (0) -
src/bytes/buffer_test.go
var buf Buffer s := "" for i := 0; i < 50; i++ { wlen := rand.Intn(len(testString)) if i%2 == 0 { s = fillString(t, "TestMixedReadsAndWrites (1)", &buf, s, 1, testString[0:wlen]) } else { s = fillBytes(t, "TestMixedReadsAndWrites (1)", &buf, s, 1, testBytes[0:wlen]) } rlen := rand.Intn(len(testString)) fub := make([]byte, rlen) n, _ := buf.Read(fub) s = s[n:] }
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Apr 26 13:31:36 GMT 2024 - 18.6K bytes - Viewed (0) -
src/cmd/asm/internal/asm/testdata/mips64.s
// LFMOV fimm ',' freg // { // outcode(int($1), &$2, 0, &$4); // } MOVD $0.1, F2 // MOVD $(0.10000000000000001), F2 // LFMOV freg ',' freg // { // outcode(int($1), &$2, 0, &$4); // } MOVD F1, F2 // LFMOV freg ',' addr // { // outcode(int($1), &$2, 0, &$4); // } MOVD F2, foo<>+3(SB) MOVD F2, 16(R1) MOVD F2, (R1) // // store ints and bytes // // LMOVV rreg ',' addr
Others - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Tue Aug 08 12:17:12 GMT 2023 - 12.4K bytes - Viewed (0) -
src/bufio/bufio_test.go
} func TestReaderDiscard(t *testing.T) { tests := []struct { name string r io.Reader bufSize int // 0 means 16 peekSize int n int // input to Discard want int // from Discard wantErr error // from Discard wantBuffered int }{ { name: "normal case", r: strings.NewReader("abcdefghijklmnopqrstuvwxyz"),
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Feb 10 18:56:01 GMT 2023 - 51.5K bytes - Viewed (0) -
api/go1.5.txt
pkg image, method (*CMYK) At(int, int) color.Color pkg image, method (*CMYK) Bounds() Rectangle pkg image, method (*CMYK) CMYKAt(int, int) color.CMYK pkg image, method (*CMYK) ColorModel() color.Model pkg image, method (*CMYK) Opaque() bool pkg image, method (*CMYK) PixOffset(int, int) int pkg image, method (*CMYK) Set(int, int, color.Color) pkg image, method (*CMYK) SetCMYK(int, int, color.CMYK)
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Thu Jul 30 21:14:09 GMT 2015 - 46.6K bytes - Viewed (0) -
api/go1.13.txt
pkg syscall (netbsd-arm64-cgo), const AF_DLI = 13 pkg syscall (netbsd-arm64-cgo), const AF_DLI ideal-int pkg syscall (netbsd-arm64-cgo), const AF_E164 = 26 pkg syscall (netbsd-arm64-cgo), const AF_E164 ideal-int pkg syscall (netbsd-arm64-cgo), const AF_ECMA = 8 pkg syscall (netbsd-arm64-cgo), const AF_ECMA ideal-int pkg syscall (netbsd-arm64-cgo), const AF_HYLINK = 15 pkg syscall (netbsd-arm64-cgo), const AF_HYLINK ideal-int
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Thu Aug 08 18:44:16 GMT 2019 - 452.6K bytes - Viewed (0) -
api/go1.3.txt
pkg syscall (freebsd-arm), const TCP_VENDOR ideal-int pkg syscall (freebsd-arm), const TIOCTIMESTAMP = 1074820185 pkg syscall (freebsd-arm), func Accept4(int, int) (int, Sockaddr, error) pkg syscall (freebsd-arm), func Fchflags(int, int) error pkg syscall (freebsd-arm), func FcntlFlock(uintptr, int, *Flock_t) error pkg syscall (freebsd-arm), func SendmsgN(int, []uint8, []uint8, Sockaddr, int) (int, error)
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Mon Jun 02 02:45:00 GMT 2014 - 117K bytes - Viewed (0) -
src/cmd/cgo/internal/test/callback.go
// Use a new goroutine so that we get a small stack. c := make(chan int) go func() { c <- int(C.returnAfterGrowFromGo()) }() if got, want := <-c, 129*128/2; got != want { t.Errorf("got %d want %d", got, want) } } //export goReturnVal func goReturnVal() (r C.int) { // Force a stack copy. var f func(int) int f = func(i int) int { var buf [256]byte use(buf[:]) if i == 0 {
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)