- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 226 for nbrecv (0.26 sec)
-
src/cmd/compile/internal/types2/resolver.go
} } else { // method // d.Recv != nil ptr, recv, _ := check.unpackRecv(s.Recv.Type, false) // Methods with invalid receiver cannot be associated to a type, and // methods with blank _ names are never found; no need to collect any // of them. They will still be type-checked with all the other functions. if recv != nil && name != "_" {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 18 14:10:44 UTC 2024 - 26.3K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/types/objectpath/objectpath.go
// Sadly there is no way to distinguish // a param/result from a local // so we must proceed to the find. case *types.Func: // A func, if not package-level, must be a method. if recv := obj.Type().(*types.Signature).Recv(); recv == nil { return "", fmt.Errorf("func is not a method: %v", obj) } if path, ok := enc.concreteMethod(obj); ok { // Fast path for concrete methods that avoids looping over scope.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 23.1K bytes - Viewed (0) -
src/go/internal/gcimporter/gcimporter_test.go
for i := 0; i < iface.NumExplicitMethods(); i++ { m := iface.ExplicitMethod(i) recv := m.Type().(*types.Signature).Recv() if recv == nil { t.Errorf("%s: missing receiver type", m) continue } if recv.Type() != named { t.Errorf("%s: got recv type %s; want %s", m, recv.Type(), named) } } // check embedded interfaces (if they are named, too)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 16:22:59 UTC 2024 - 21.9K bytes - Viewed (0) -
ci/official/containers/linux_arm64/setup.sources.sh
# Set up shared custom sources apt-get update apt-get install -y gnupg ca-certificates # Deadsnakes: https://launchpad.net/~deadsnakes/+archive/ubuntu/ppa apt-key adv --keyserver keyserver.ubuntu.com --recv-keys F23C5A6CF475977595C89F51BA6932366A755776 # LLVM/Clang: https://apt.llvm.org/ apt-key adv --fetch-keys https://apt.llvm.org/llvm-snapshot.gpg.key # Set up custom sources
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Sep 18 14:52:45 UTC 2023 - 1.7K bytes - Viewed (0) -
src/go/parser/testdata/resolution/typeparams.go2
// refer to receiver type parameters, as is the case for the 'P' result // parameter below. // // For now, we ensure that types are not incorrectly resolved when receiver // type parameters are in scope. func (r /* =@recv */ Receiver /* @Receiver */ [RP]) m(RP) RP {} func f /* =@f */[T1 /* =@T1 */ interface{~[]T2 /* @T2 */}, T2 /* =@T2 */ any]( x /* =@x */ T1 /* @T1 */, T1 /* =@T1_duplicate */ y, // Note that this is a bug:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 02 12:56:53 UTC 2023 - 1.6K bytes - Viewed (0) -
src/cmd/compile/internal/typecheck/expr.go
n.SetType(nil) return n } if kind == types.TSTRING { t = types.ByteType } else { t = t.Elem() } n.SetType(types.NewPtr(t)) return n } // tcRecv typechecks an ORECV node. func tcRecv(n *ir.UnaryExpr) ir.Node { n.X = Expr(n.X) n.X = DefaultLit(n.X, nil) l := n.X t := l.Type() if t == nil { n.SetType(nil) return n } if !t.IsChan() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 04 14:29:45 UTC 2024 - 23.1K bytes - Viewed (0) -
pkg/istio-agent/xds_proxy_test.go
t.Fatal(err) } res, err := downstream.Recv() if err != nil { t.Fatal(err) } if res == nil || res.TypeUrl != v3.ClusterType { t.Fatalf("Expected to get cluster response but got %v", res) } err = downstream.Send(&discovery.DiscoveryRequest{TypeUrl: v3.ListenerType, Node: node}) if err != nil { t.Fatal(err) } res, err = downstream.Recv() if err != nil { t.Fatal(err) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Mar 30 04:48:02 UTC 2024 - 18.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbPipeHandleInternal.java
/** * @param buf * @param off * @param length * @param direct * @return received bytes * @throws CIFSException * @throws IOException */ int recv ( byte[] buf, int off, int length ) throws IOException; /** * @param buf * @param off * @param length * @param direct * @throws IOException */
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 2.5K bytes - Viewed (0) -
src/cmd/compile/internal/syntax/tokens.go
StringLit ) type Operator uint //go:generate stringer -type Operator -linecomment tokens.go const ( _ Operator = iota // Def is the : in := Def // : Not // ! Recv // <- Tilde // ~ // precOrOr OrOr // || // precAndAnd AndAnd // && // precCmp Eql // == Neq // != Lss // < Leq // <= Gtr // > Geq // >=
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 20 14:52:38 UTC 2023 - 2.6K bytes - Viewed (0) -
src/go/printer/testdata/parser.go
par.List = []*ast.Field{{Type: &ast.BadExpr{pos, pos}}} return par } // recv type must be of the form ["*"] identifier recv := par.List[0] base := deref(recv.Type) if _, isIdent := base.(*ast.Ident); !isIdent { p.errorExpected(base.Pos(), "(unqualified) identifier") par.List = []*ast.Field{{Type: &ast.BadExpr{recv.Pos(), recv.End()}}} } return par }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jul 20 20:19:51 UTC 2023 - 50.5K bytes - Viewed (0)