- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 187 for DELETE (0.09 sec)
-
src/net/textproto/header.go
func (h MIMEHeader) Values(key string) []string { if h == nil { return nil } return h[CanonicalMIMEHeaderKey(key)] } // Del deletes the values associated with key. func (h MIMEHeader) Del(key string) { delete(h, CanonicalMIMEHeaderKey(key))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 10 03:29:50 UTC 2024 - 1.7K bytes - Viewed (0) -
src/net/netip/inlining_test.go
"Addr.AsSlice", "Addr.Next", "Addr.Prev", ) } for _, want := range wantInlinable { if !got[want] { t.Errorf("%q is no longer inlinable", want) continue } delete(got, want) } for sym := range got { if strings.Contains(sym, ".func") { continue } t.Logf("not in expected set, but also inlinable: %q", sym) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 17:10:01 UTC 2024 - 2K bytes - Viewed (0) -
src/sync/map_bench_test.go
m.LoadOrStore(i, stores) loadsSinceStore = 0 stores++ } } }, }) } // BenchmarkAdversarialDelete tests performance when we periodically delete // one key and add a different one in a large map. // // This forces the Load calls to always acquire the map's mutex and periodically // makes a full copy of the map despite changing only one entry.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 01 15:34:22 UTC 2024 - 11.5K bytes - Viewed (0) -
src/net/http/pattern_test.go
host: "example.com", segments: []segment{lit("foo"), wild("w")}, }, }, { "/{$}", pattern{segments: []segment{lit("/")}}, }, { "DELETE example.com/a/{foo12}/{$}", pattern{method: "DELETE", host: "example.com", segments: []segment{lit("a"), wild("foo12"), lit("/")}}, }, { "/foo/{$}", pattern{segments: []segment{lit("foo"), lit("/")}}, }, {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 16:36:30 UTC 2024 - 15K bytes - Viewed (0) -
src/go/types/builtins_test.go
{"copy", `var dst []byte; copy(dst, "hello")`, `func([]byte, string) int`}, {"delete", `var m map[string]bool; delete(m, "foo")`, `func(map[string]bool, string)`}, {"delete", `type (K string; V int); var m map[K]V; delete(m, "foo")`, `func(map[p.K]p.V, p.K)`}, {"imag", `_ = imag(1i)`, `invalid type`}, // constant
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 03 18:48:38 UTC 2024 - 10.9K bytes - Viewed (0) -
src/cmd/compile/internal/test/pgo_inl_test.go
fname := m[1] delete(notInlinedReason, curPkg+"."+fname) continue } if m := canInline.FindStringSubmatch(line); m != nil { fname := m[1] fullname := curPkg + "." + fname // If function must be inlined somewhere, being inlinable is not enough if _, ok := must[fullname]; !ok { delete(notInlinedReason, fullname) continue } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 19:58:28 UTC 2024 - 11.1K bytes - Viewed (0) -
src/net/http/cookiejar/jar.go
for id, e := range submap { if e.Persistent && !e.Expires.After(now) { delete(submap, id) modified = true continue } if !e.shouldSend(https, host, path) { continue } e.LastAccess = now submap[id] = e selected = append(selected, e) modified = true } if modified { if len(submap) == 0 { delete(j.entries, key) } else { j.entries[key] = submap } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 15K bytes - Viewed (0) -
src/maps/maps.go
} } // DeleteFunc deletes any key/value pairs from m for which del returns true. func DeleteFunc[M ~map[K]V, K comparable, V any](m M, del func(K, V) bool) { for k, v := range m { if del(k, v) { delete(m, k) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 28 20:35:05 UTC 2024 - 1.8K bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/internal/graph/graph.go
if o.SampleMeanDivisor != nil { dw = o.SampleMeanDivisor(sample.Value) } if dw == 0 && w == 0 { continue } for k := range seenNode { delete(seenNode, k) } for k := range seenEdge { delete(seenEdge, k) } var parent *Node // A residual edge goes over one or more nodes that were not kept. residual := false labels := joinLabels(sample)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 31K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/deadstore.go
loadUse.clear() storeUse.clear() // TODO(deparker): use the 'clear' builtin once compiler bootstrap minimum version is raised to 1.21. for k := range localAddrs { delete(localAddrs, k) } stores = stores[:0] for _, v := range b.Values { if v.Op == OpPhi { // Ignore phis - they will always be first and can't be eliminated continue } if v.Type.IsMemory() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 25 20:07:26 UTC 2024 - 11K bytes - Viewed (0)