- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 20 for apply (0.21 sec)
-
doc/go_spec.html
</p> <pre> func apply[S ~[]E, E any](s S, f func(E) E) S { … } f0 := apply[] // illegal: type argument list cannot be empty f1 := apply[[]int] // type argument for S explicitly provided, type argument for E inferred f2 := apply[[]string, string] // both type arguments explicitly provided var bytes []byte
HTML - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Apr 26 00:39:16 GMT 2024 - 279.6K bytes - Viewed (0) -
src/bytes/bytes.go
// Compute number of replacements. m = Count(s, old) } if m == 0 { // Just return a copy. return append([]byte(nil), s...) } if n < 0 || m < n { n = m } // Apply replacements to buffer. t := make([]byte, len(s)+n*(len(new)-len(old))) w := 0 start := 0 for i := 0; i < n; i++ { j := start if len(old) == 0 { if i > 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) -
misc/ios/detect.go
appID, err := plistExtract(fname, "Entitlements:application-identifier") check(err) fmt.Printf("export GOIOS_APP_ID=%s\n", appID) teamID, err := plistExtract(fname, "Entitlements:com.apple.developer.team-identifier") check(err) fmt.Printf("export GOIOS_TEAM_ID=%s\n", teamID) } } func detectMobileProvisionFiles(udids [][]byte) []string { cmd := exec.Command("mdfind", "-name", ".mobileprovision")
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Oct 19 23:33:30 GMT 2023 - 3.2K bytes - Viewed (0) -
api/go1.1.txt
pkg syscall (darwin-386), const CSUSP = 26 pkg syscall (darwin-386), const CSUSP ideal-int pkg syscall (darwin-386), const CTL_MAXNAME = 12 pkg syscall (darwin-386), const CTL_NET = 4 pkg syscall (darwin-386), const DLT_APPLE_IP_OVER_IEEE1394 = 138 pkg syscall (darwin-386), const DLT_ARCNET = 7 pkg syscall (darwin-386), const DLT_ATM_CLIP = 19 pkg syscall (darwin-386), const DLT_ATM_RFC1483 = 11 pkg syscall (darwin-386), const DLT_AX25 = 3
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) -
src/cmd/cgo/godefs.go
for typ, def := range typedef { if new := override[typ]; new != "" { if id, ok := def.Go.(*ast.Ident); ok { override[id.Name] = new } } } // 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,
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) -
misc/wasm/wasm_exec.js
sp >>>= 0; try { const v = loadValue(sp + 8); const m = Reflect.get(v, loadString(sp + 16)); const args = loadSliceOfValues(sp + 32); const result = Reflect.apply(m, v, args); sp = this._inst.exports.getsp() >>> 0; // see comment above storeValue(sp + 56, result); this.mem.setUint8(sp + 64, 1); } catch (err) {
JavaScript - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon May 22 17:47:47 GMT 2023 - 16.3K bytes - Viewed (1) -
api/go1.2.txt
pkg syscall (freebsd-386-cgo), const DLT_A653_ICM ideal-int pkg syscall (freebsd-386-cgo), const DLT_AIRONET_HEADER ideal-int pkg syscall (freebsd-386-cgo), const DLT_AOS ideal-int pkg syscall (freebsd-386-cgo), const DLT_APPLE_IP_OVER_IEEE1394 ideal-int pkg syscall (freebsd-386-cgo), const DLT_ARCNET ideal-int pkg syscall (freebsd-386-cgo), const DLT_ARCNET_LINUX ideal-int pkg syscall (freebsd-386-cgo), const DLT_ATM_CLIP 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) -
doc/asm.html
The current document provides a summary of the syntax and the differences with what is explained in that document, and describes the peculiarities that apply when writing assembly code to interact with Go. </p> <p> The most important thing to know about Go's assembler is that it is not a direct representation of the underlying machine.
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) -
doc/go1.17_spec.html
<p> Arithmetic operators apply to numeric values and yield a result of the same type as the first operand. The four standard arithmetic operators (<code>+</code>, <code>-</code>, <code>*</code>, <code>/</code>) apply to integer, floating-point, and complex types; <code>+</code> also applies to strings. The bitwise logical and shift operators apply to integers only. </p> <pre class="grammar">
HTML - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Apr 11 20:22:45 GMT 2024 - 211.6K bytes - Viewed (0) -
src/cmd/cgo/ast.go
// so we use ast1 to look for the doc comments on import "C" // and on exported functions, and we use ast2 for translating // and reprinting. // In cgo mode, we ignore ast2 and just apply edits directly // the text behind ast1. In godefs mode we modify and print ast2. ast1 := parse(abspath, src, parser.SkipObjectResolution|parser.ParseComments) ast2 := parse(abspath, src, parser.SkipObjectResolution)
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)