- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 223 for recvs (0.04 sec)
-
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/stdmethods/stdmethods.go
return } // Special case: Is, As and Unwrap only apply when type // implements error. if id.Name == "Is" || id.Name == "As" || id.Name == "Unwrap" { if recv := sign.Recv(); recv == nil || !implementsError(recv.Type()) { return } } // Special case: Unwrap has two possible signatures. // Check for Unwrap() []error here. if id.Name == "Unwrap" {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 09 01:28:01 UTC 2023 - 6.9K bytes - Viewed (0) -
internal/s3select/sql/statement.go
switch v := txedRec.(type) { case jstream.KVS: kvs = v case []interface{}: recs := make([]*Record, len(v)) for i, val := range v { tmpRec := input.Clone(nil) if err = tmpRec.Replace(val); err != nil { return nil, err } recs[i] = &tmpRec } return recs, nil default: kvs = jstream.KVS{jstream.KV{Key: "_1", Value: v}} }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Jan 09 17:19:11 UTC 2024 - 8.9K bytes - Viewed (0) -
src/net/rpc/client_test.go
} } // Test that errors in gob shut down the connection. Issue 7689. type R struct { msg []byte // Not exported, so R does not work with gob. } type S struct{} func (s *S) Recv(nul *struct{}, reply *R) error { *reply = R{[]byte("foo")} return nil } func TestGobError(t *testing.T) { defer func() { err := recover() if err == nil { t.Fatal("no error") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 13 18:45:54 UTC 2021 - 1.7K bytes - Viewed (0) -
src/runtime/sigqueue.go
// //go:linkname signal_recv os/signal.signal_recv func signal_recv() uint32 { for { // Serve any signals from local copy. for i := uint32(0); i < _NSIG; i++ { if sig.recv[i/32]&(1<<(i&31)) != 0 { sig.recv[i/32] &^= 1 << (i & 31) return i } } // Wait for updates to be available from signal sender. Receive: for { switch sig.state.Load() { default:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 7.6K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/DcerpcPipeHandle.java
if ( fraglen > getMaxRecv() ) { throw new IOException("Unexpected fragment length: " + fraglen); } while ( have < fraglen ) { int r = this.handle.recv(inB, have, fraglen - have); if ( r == 0 ) { throw new IOException("Unexpected EOF"); } have += r; } return have; }
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Sun Jan 26 11:51:07 UTC 2020 - 5.2K bytes - Viewed (0) -
src/runtime/runtime-gdb.py
return str(self.val.type) def children(self): # see chan.c chanbuf(). et is the type stolen from hchan<T>::recvq->first->elem et = [x.type for x in self.val['recvq']['first'].type.target().fields() if x.name == 'elem'][0] ptr = (self.val.address["buf"]).cast(et) for i in range(self.val["qcount"]): j = (self.val["recvx"] + i) % self.val["dataqsiz"] yield ('[{0}]'.format(i), (ptr + j).dereference())
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 10 12:59:20 UTC 2023 - 15.4K bytes - Viewed (0) -
pkg/istio-agent/xds_proxy_delta.go
con := &ProxyConnection{ conID: connectionNumber.Inc(), upstreamError: make(chan error), // can be produced by recv and send downstreamError: make(chan error), // can be produced by recv and send deltaRequestsChan: channels.NewUnbounded[*discovery.DeltaDiscoveryRequest](),
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Apr 04 20:29:08 UTC 2024 - 11.7K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/copylock/copylock.go
// inadvertently copy a lock, by checking whether // its receiver, parameters, or return values // are locks. func checkCopyLocksFunc(pass *analysis.Pass, name string, recv *ast.FieldList, typ *ast.FuncType) { if recv != nil && len(recv.List) > 0 { expr := recv.List[0].Type if path := lockPath(pass.Pkg, pass.TypesInfo.Types[expr].Type, nil); path != nil { pass.ReportRangef(expr, "%s passes lock by value: %v", name, path) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 9.9K bytes - Viewed (0) -
src/go/types/methodset_test.go
T := pkg.Scope().Lookup("T").Type() name := "m" for _, recv := range []Type{T, NewPointer(T)} { // LookupFieldOrMethod and NewMethodSet must match: // either both find m or neither finds it. obj1, _, _ := LookupFieldOrMethod(recv, false, pkg, name) mset := NewMethodSet(recv) if (obj1 != nil) != (mset.Len() == 1) { t.Fatalf("lookup(%v.%s): got obj = %v, mset = %v", recv, name, obj1, mset) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 08 15:27:57 UTC 2023 - 6.7K bytes - Viewed (0) -
src/net/net_windows_test.go
}() // Receive first or second connection. s, err := recv(ln, true) if err != nil { t.Fatalf("recv failed: %v", err) } switch s { case "": // First connection data is received, let's get second connection data. case "abc": // First connection is lost forever, but that is ok. return default: t.Fatalf(`"%s" received from recv, but "" or "abc" expected`, s) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 16.3K bytes - Viewed (0)