- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 38 for deletes (0.21 sec)
-
src/builtin/builtin.go
// returns the number of elements copied, which will be the minimum of // len(src) and len(dst). func copy(dst, src []Type) int // The delete built-in function deletes the element with the specified key // (m[key]) from the map. If m is nil or there is no such element, delete // is a no-op. func delete(m map[Type]Type1, key Type) // The len built-in function returns the length of v, according to its type: //
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Apr 11 20:22:45 GMT 2024 - 12.7K bytes - Viewed (0) -
doc/next/6-stdlib/99-minor/sync/61696.md
The [Map.Clear] method deletes all the entries, resulting in
Plain Text - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Apr 10 17:07:25 GMT 2024 - 105 bytes - Viewed (0) -
misc/wasm/wasm_exec.js
"runtime.wasmExit": (sp) => { sp >>>= 0; const code = this.mem.getInt32(sp + 8, true); this.exited = true; delete this._inst; delete this._values; delete this._goRefCounts; delete this._ids; delete this._idPool; this.exit(code); }, // func wasmWrite(fd uintptr, p unsafe.Pointer, n int32) "runtime.wasmWrite": (sp) => {
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) -
src/bootstrap.bash
gohostos="$(../bin/go env GOHOSTOS)" gohostarch="$(../bin/go env GOHOSTARCH)" goos="$(../bin/go env GOOS)" goarch="$(../bin/go env GOARCH)" # NOTE: Cannot invoke go command after this point. # We're about to delete all but the cross-compiled binaries. cd .. if [ "$goos" = "$gohostos" -a "$goarch" = "$gohostarch" ]; then # cross-compile for local system. nothing to copy. # useful if you've bootstrapped yourself but want to
Shell Script - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Jan 20 17:52:26 GMT 2023 - 2.3K bytes - Viewed (0) -
src/cmd/api/api_test.go
for _, feature := range wanted { if feature == "" { continue } _, ok := w.features[feature] if !ok { t.Errorf("package %s: missing feature %q", fi.Name(), feature) } delete(w.features, feature) } for _, feature := range w.Features() { t.Errorf("package %s: extra feature not in golden file: %q", fi.Name(), feature) } } } func TestCompareAPI(t *testing.T) {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Jan 04 17:31:12 GMT 2024 - 7.1K bytes - Viewed (0) -
api/go1.13.txt
pkg syscall (netbsd-arm64-cgo), const SYS_EXTATTR_DELETE_FD = 366 pkg syscall (netbsd-arm64-cgo), const SYS_EXTATTR_DELETE_FD ideal-int pkg syscall (netbsd-arm64-cgo), const SYS_EXTATTR_DELETE_FILE = 363 pkg syscall (netbsd-arm64-cgo), const SYS_EXTATTR_DELETE_FILE ideal-int pkg syscall (netbsd-arm64-cgo), const SYS_EXTATTR_DELETE_LINK = 369 pkg syscall (netbsd-arm64-cgo), const SYS_EXTATTR_DELETE_LINK ideal-int
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) -
api/go1.3.txt
pkg syscall (windows-386), const ERROR_MORE_DATA = 234 pkg syscall (windows-386), const ERROR_MORE_DATA Errno pkg syscall (windows-386), const ERROR_NETNAME_DELETED = 64 pkg syscall (windows-386), const ERROR_NETNAME_DELETED Errno pkg syscall (windows-386), const IOC_VENDOR = 402653184 pkg syscall (windows-386), const IOC_VENDOR ideal-int pkg syscall (windows-386), const SIO_KEEPALIVE_VALS = 2550136836
Plain Text - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Jun 02 02:45:00 GMT 2014 - 117K bytes - Viewed (0) -
doc/go1.17_spec.html
<p> The built-in function <code>delete</code> removes the element with key <code>k</code> from a <a href="#Map_types">map</a> <code>m</code>. The type of <code>k</code> must be <a href="#Assignability">assignable</a> to the key type of <code>m</code>. </p> <pre class="grammar"> delete(m, k) // remove element m[k] from map m </pre> <p>
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/internal/test/callback.go
// Pass the address of i because the C function was written to // take a pointer. We could pass an int if we felt like // rewriting the C code. C.callback(unsafe.Pointer(&i)) callbackMutex.Lock() delete(callbackFuncs, i) callbackMutex.Unlock() } //export goCallback func goCallback(p unsafe.Pointer) { i := *(*int)(p) callbackMutex.Lock() f := callbackFuncs[i] callbackMutex.Unlock()
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) -
doc/go_spec.html
<a href="#Slice_types">slice</a>, or <a href="#Type_parameter_declarations">type parameter</a> type, and deletes or zeroes out all elements [<a href="#Go_1.21">Go 1.21</a>]. </p> <pre class="grammar"> Call Argument type Result clear(m) map[K]T deletes all entries, resulting in an empty map (len(m) == 0)
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)