- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 19 for doing (0.18 sec)
-
doc/godebug.md
For the remaining programs, we define a new GODEBUG setting that allows individual programs to opt back in to the old behavior. A GODEBUG setting may not be added if doing so is infeasible, but that should be extremely rare. GODEBUG settings added for compatibility will be maintained for a minimum of two years (four Go releases). Some, such as `http2client` and `http2server`,
Plain Text - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Tue Apr 16 17:29:58 GMT 2024 - 13.5K bytes - Viewed (0) -
src/cmd/cgo/doc.go
handling, at some cost in run time, is available by setting GOEXPERIMENT=cgocheck2 at build time. It is possible to defeat this enforcement by using the unsafe package, and of course there is nothing stopping the C code from doing anything it likes. However, programs that break these rules are likely to fail in unexpected and unpredictable ways. The runtime/cgo.Handle type can be used to safely pass Go values
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) -
doc/asm.html
It implements these forms as multiple instructions, often using the <code>R11</code> register to hold temporary values. Hand-written assembly can use <code>R11</code>, but doing so requires being sure that the linker is not also using it to implement any of the other instructions in the function. </p> <p> When defining a <code>TEXT</code>, specifying frame size <code>$-4</code>
HTML - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Tue Nov 28 19:15:27 GMT 2023 - 36.3K bytes - Viewed (0) -
src/cmd/cgo/godefs.go
} } } // Apply overrides. for old, new := range override { if id := goIdent[old]; id != nil { id.Name = new } } // Any names still using the _C syntax are not going to compile, // although in general we don't know whether they all made it // into the file, so we can't warn here. // // The most common case is union types, which begin with
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Sep 08 14:33:35 GMT 2022 - 4.5K bytes - Viewed (0) -
api/go1.20.txt
pkg syscall (freebsd-riscv64), const IFF_DRV_RUNNING = 64 #53466 pkg syscall (freebsd-riscv64), const IFF_DRV_RUNNING ideal-int #53466 pkg syscall (freebsd-riscv64), const IFF_DYING = 2097152 #53466 pkg syscall (freebsd-riscv64), const IFF_DYING ideal-int #53466 pkg syscall (freebsd-riscv64), const IFF_LINK0 = 4096 #53466 pkg syscall (freebsd-riscv64), const IFF_LINK0 ideal-int #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) -
src/archive/tar/reader_test.go
err: ErrHeader, }, { // BSD tar v3.1.2 rejects a PAX path with NUL in the value, while // GNU tar v1.27.1 simply truncates at first NUL. // We emulate the behavior of BSD since it is strange doing NUL // truncations since PAX records are length-prefix strings instead // of NUL-terminated C-strings. file: "testdata/pax-nul-path.tar", err: ErrHeader, }, { file: "testdata/neg-size.tar",
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Nov 21 21:14:38 GMT 2022 - 47.1K bytes - Viewed (0) -
src/cmd/cgo/ast.go
if x, ok := x.(*ast.Ident); ok { if f.isMangledName(x.Name) { error_(x.Pos(), "identifier %q may conflict with identifiers generated by cgo", x.Name) } } } // Save various references we are going to need later. func (f *File) saveExprs(x interface{}, context astContext) { switch x := x.(type) { case *ast.Expr: switch (*x).(type) { case *ast.SelectorExpr: f.saveRef(x, context) }
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Jun 07 16:54:27 GMT 2023 - 14.3K bytes - Viewed (0) -
src/cmd/cgo/internal/test/callback.go
} }) } // Test that the stack can be unwound through a call out and call back // into Go. func testCallbackCallers(t *testing.T) { if runtime.Compiler != "gc" { // The exact function names are not going to be the same. t.Skip("skipping for non-gc toolchain") } pc := make([]uintptr, 100) n := 0 name := []string{ "runtime.cgocallbackg1", "runtime.cgocallbackg", "runtime.cgocallback",
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) -
src/bytes/bytes.go
// The start index is inclusive and the end index is exclusive. type span struct { start int end int } spans := make([]span, 0, 32) // Find the field start and end indices. // Doing this in a separate pass (rather than slicing the string s // and collecting the result substrings right away) is significantly // more efficient, possibly due to cache effects. start := -1 // valid span start if >= 0
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Feb 19 19:51:15 GMT 2024 - 33.8K bytes - Viewed (0) -
src/cmd/cgo/gcc.go
// _cgo0 := p // _cgoCheckPointer(_cgo0, nil) // C.f(_cgo0) // }() // Using a function literal like this lets us evaluate the // function arguments only once while doing pointer checks. // This is particularly useful when passing additional arguments // to _cgoCheckPointer, as done in checkIndex and checkAddr. // // When the function argument is a conversion to unsafe.Pointer,
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Nov 02 16:43:23 GMT 2023 - 97K bytes - Viewed (0)