- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 187 for DELETE (0.07 sec)
-
src/net/rpc/client.go
client.request.Seq = seq client.request.ServiceMethod = call.ServiceMethod err := client.codec.WriteRequest(&client.request, call.Args) if err != nil { client.mutex.Lock() call = client.pending[seq] delete(client.pending, seq) client.mutex.Unlock() if call != nil { call.Error = err call.done() } } } func (client *Client) input() { var err error var response Response
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 10 03:29:50 UTC 2024 - 9K bytes - Viewed (0) -
src/net/rpc/jsonrpc/server.go
func (c *serverCodec) WriteResponse(r *rpc.Response, x any) error { c.mutex.Lock() b, ok := c.pending[r.Seq] if !ok { c.mutex.Unlock() return errors.New("invalid sequence number in response") } delete(c.pending, r.Seq) c.mutex.Unlock() if b == nil { // Invalid request so no id. Use JSON null. b = &null } resp := serverResponse{Id: b} if r.Error == "" { resp.Result = x } else {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 10 03:29:50 UTC 2024 - 3.2K bytes - Viewed (0) -
src/internal/poll/splice_linux_test.go
const N = 64 var ( p *poll.SplicePipe ps []*poll.SplicePipe allFDs []int pendingFDs sync.Map // fd → struct{}{} err error ) closeHook.Store(func(fd int) { pendingFDs.Delete(fd) }) t.Cleanup(func() { closeHook.Store((func(int))(nil)) }) for i := 0; i < N; i++ { p, err = poll.GetPipe() if err != nil { t.Skipf("failed to create pipe due to error(%v), skip this test", err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 21:49:26 UTC 2024 - 2.8K bytes - Viewed (0) -
src/cmd/trace/pprof.go
// to the same state (this is a no-ip continue } // The goroutine has transitioned out of the state we care about, // so remove it from tracking and record the stack. delete(tracking, id) overlapping := pprofOverlappingDuration(gToIntervals, id, interval{startEv.Time(), ev.Time()}) if overlapping > 0 { rec := stacks.getOrAdd(startEv.Stack()) rec.Count++
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 10.1K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/buildtag/buildtag_old.go
// Copyright 2013 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // TODO(rsc): Delete this file once Go 1.17 comes out and we can retire Go 1.15 support. //go:build !go1.16 // +build !go1.16 // Package buildtag defines an Analyzer that checks build tags. package buildtag import ( "bytes" "fmt" "go/ast" "go/parser" "strings"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 4.3K bytes - Viewed (0) -
src/cmd/go/scriptcmds_test.go
if !ok { return nil, errors.New("script Context unexpectedly missing testing.TB key") } _, dup := scriptGoInvoked.LoadOrStore(t, true) if !dup { t.Cleanup(func() { scriptGoInvoked.Delete(t) }) } return cmd.Run(state, s...) }) } // scriptStale checks that the named build targets are stale. func scriptStale(cmdGo script.Cmd) script.Cmd { return script.Command( script.CmdUsage{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 07 18:33:17 UTC 2024 - 3.3K bytes - Viewed (0) -
src/cmd/compile/internal/types2/initorder.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 28 22:06:51 UTC 2024 - 9.8K bytes - Viewed (0) -
src/go/types/initorder.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 03 18:48:38 UTC 2024 - 9.9K bytes - Viewed (0) -
src/net/http/fcgi/child.go
} if len(content) > 0 { // TODO(eds): This blocks until the handler reads from the pipe. // If the handler takes a long time, it might be a problem. req.pw.Write(content) } else { delete(c.requests, req.reqId) if req.pw != nil { req.pw.Close() } } return nil case typeGetValues: values := map[string]string{"FCGI_MPXS_CONNS": "1"}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 10 03:29:50 UTC 2024 - 10.3K bytes - Viewed (0) -
src/net/internal/socktest/sys_unix.go
if err = af.apply(so); err != nil { return err } sw.smu.Lock() defer sw.smu.Unlock() if so.Err != nil { sw.stats.getLocked(so.Cookie).CloseFailed++ return so.Err } delete(sw.sotab, s) sw.stats.getLocked(so.Cookie).Closed++ return nil } // Connect wraps syscall.Connect. func (sw *Switch) Connect(s int, sa syscall.Sockaddr) (err error) { so := sw.sockso(s) if so == nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 10 03:29:50 UTC 2024 - 4K bytes - Viewed (0)