- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 21 for DELETE (0.1 sec)
-
src/net/http/client_test.go
15: {method: "DELETE", serverStatus: 301, wantMethod: "GET"}, 16: {method: "DELETE", serverStatus: 302, wantMethod: "GET"}, 17: {method: "DELETE", serverStatus: 303, wantMethod: "GET"}, 18: {method: "DELETE", serverStatus: 307, wantMethod: "DELETE"}, 19: {method: "DELETE", serverStatus: 308, wantMethod: "DELETE"}, 20: {method: "PUT", serverStatus: 301, wantMethod: "GET"},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:30:50 UTC 2024 - 63.8K bytes - Viewed (0) -
src/sync/atomic/atomic_test.go
func init() { var v uint64 = 1 << 50 if uintptr(v) != 0 { // 64-bit system; clear uintptr tests delete(hammer32, "SwapUintptr") delete(hammer32, "AddUintptr") delete(hammer32, "CompareAndSwapUintptr") delete(hammer32, "SwapUintptrMethod") delete(hammer32, "AddUintptrMethod") delete(hammer32, "CompareAndSwapUintptrMethod") } } func hammerSwapInt32(uaddr *uint32, count int) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:37:29 UTC 2024 - 71.4K bytes - Viewed (0) -
src/cmd/link/internal/loader/loader.go
// (see AttrCgoExportDynamic). func (l *Loader) SetAttrCgoExportDynamic(i Sym, v bool) { if v { l.attrCgoExportDynamic[i] = struct{}{} } else { delete(l.attrCgoExportDynamic, i) } } // ForAllCgoExportDynamic calls f for every symbol that has been // marked with the "cgo_export_dynamic" compiler directive.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 20:26:10 UTC 2024 - 81.5K bytes - Viewed (0) -
src/net/http/transport.go
break } } if q.len() == 0 { delete(t.connsPerHostWait, key) } else { // q is a value (like a slice), so we have to store // the updated q back into the map. t.connsPerHostWait[key] = q } if done { return } } // Otherwise, decrement the recorded count. if n--; n == 0 { delete(t.connsPerHost, key) } else { t.connsPerHost[key] = n
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 21:59:21 UTC 2024 - 91K bytes - Viewed (0) -
src/internal/trace/order.go
// Handle each case slightly differently; we just group them together // because they have shared preconditions. newCtx := curCtx switch ev.typ { case go122.EvGoDestroy: // This goroutine is exiting itself. delete(o.gStates, curCtx.G) newCtx.G = NoGoroutine case go122.EvGoStop: // Goroutine stopped (yielded). It's runnable but not running on this M. state.status = go122.GoRunnable newCtx.G = NoGoroutine
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 03 14:56:25 UTC 2024 - 52.4K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/debug.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 19:44:43 UTC 2024 - 58.4K bytes - Viewed (0) -
src/net/http/request.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 49.4K bytes - Viewed (0) -
src/testing/testing.go
// windows-amd64-2012 builder (https://go.dev/issue/50051), and can only occur // legitimately if the test leaves behind a temp file that either is still open // or the test otherwise lacks permission to delete. In the case of legitimate // failures, a failing test may take a bit longer to fail, but once the test is // fixed the extra latency will go away. func removeAll(path string) error {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 76.1K bytes - Viewed (0) -
src/crypto/tls/handshake_client_test.go
cache.Put(keys[0], nil) if _, ok := cache.Get(keys[0]); ok { t.Fatalf("session cache failed to delete key 0") } // Delete entry 2. LRU should keep 4 and 5 cache.Put(keys[2], nil) if _, ok := cache.Get(keys[2]); ok { t.Fatalf("session cache failed to delete key 4") } for i := 4; i < 6; i++ { if s, ok := cache.Get(keys[i]); !ok || s != &cs[i] {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:10:12 UTC 2024 - 88.7K bytes - Viewed (0) -
src/crypto/tls/common.go
func (c *lruSessionCache) Put(sessionKey string, cs *ClientSessionState) { c.Lock() defer c.Unlock() if elem, ok := c.m[sessionKey]; ok { if cs == nil { c.q.Remove(elem) delete(c.m, sessionKey) } else { entry := elem.Value.(*lruSessionCacheEntry) entry.state = cs c.q.MoveToFront(elem) } return } if c.q.Len() < c.capacity {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:10:12 UTC 2024 - 59.1K bytes - Viewed (0)