- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 52 for ifaceeq (0.14 sec)
-
src/cmd/link/internal/ld/deadcode.go
if d.ctxt.Debugvlog > 1 { d.ctxt.Logf("reached iface method: %v\n", m) } d.ifaceMethod[m] = true continue case objabi.R_USENAMEDMETHOD: name := d.decodeGenericIfaceMethod(d.ldr, r.Sym()) if d.ctxt.Debugvlog > 1 { d.ctxt.Logf("reached generic iface method: %s\n", name) } d.genericIfaceMethod[name] = true
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 14:52:41 UTC 2024 - 19K bytes - Viewed (0) -
src/cmd/compile/internal/types2/infer.go
// (which will compare signatures exactly as we do below). // We leave it as is for now because missingMethod provides // a failure cause which allows for a better error message. // Eventually, unify should return an error with cause. var cause string constraint := tpar.iface()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 13:54:20 UTC 2024 - 26.4K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/printf/printf.go
if !sig.Variadic() { return nil // not variadic } params := sig.Params() nparams := params.Len() // variadic => nonzero args := params.At(nparams - 1) iface, ok := args.Type().(*types.Slice).Elem().(*types.Interface) if !ok || !iface.Empty() { return nil // final (args) param is not ...interface{} } // Is second last param 'format string'? var format *types.Var if nparams >= 2 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 32.5K bytes - Viewed (0) -
src/go/types/infer.go
// (which will compare signatures exactly as we do below). // We leave it as is for now because missingMethod provides // a failure cause which allows for a better error message. // Eventually, unify should return an error with cause. var cause string constraint := tpar.iface()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 13:54:20 UTC 2024 - 26.5K bytes - Viewed (0) -
src/encoding/xml/marshal.go
if dashLast { // "--->" is invalid grammar. Make it "- -->" p.WriteByte(' ') } p.WriteString("-->") continue case fInnerXML: vf = indirect(vf) iface := vf.Interface() switch raw := iface.(type) { case []byte: p.Write(raw) continue case string: p.WriteString(raw) continue } case fElement, fElement | fAny:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 08 18:46:41 UTC 2024 - 31.2K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/net/interface.go
scanner := bufio.NewReader(input) for { line, err := scanner.ReadString('\n') if err == io.EOF { break } //ignore the headers in the route info if strings.HasPrefix(line, "Iface") { continue } fields := strings.Fields(line) // Interested in fields: // 0 - interface name // 1 - destination address // 2 - gateway dest, err := parseIP(fields[1], familyIPv4)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jul 27 07:07:03 UTC 2022 - 14.7K bytes - Viewed (0) -
src/internal/reflectlite/type.go
// methods along the way, or else V does not implement T. // This lets us run the scan in overall linear time instead of // the quadratic time a naive search would require. // See also ../runtime/iface.go. if V.Kind() == Interface { v := (*interfaceType)(unsafe.Pointer(V)) i := 0 for j := 0; j < len(v.Methods); j++ { tm := &t.Methods[i] tmName := rT.nameOff(tm.Name) vm := &v.Methods[j]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 17:01:54 UTC 2024 - 16.2K bytes - Viewed (0) -
src/text/template/exec.go
// the template. func (s *state) printValue(n parse.Node, v reflect.Value) { s.at(n) iface, ok := printableValue(v) if !ok { s.errorf("can't print %s of type %s", n, v.Type()) } _, err := fmt.Fprint(s.wr, iface) if err != nil { s.writeError(err) } } // printableValue returns the, possibly indirected, interface value inside v that
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 21:22:24 UTC 2024 - 32K bytes - Viewed (0) -
src/runtime/mfinal.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 01:56:56 UTC 2024 - 19K bytes - Viewed (0) -
src/cmd/compile/internal/walk/convert.go
nif.Body = []ir.Node{ir.NewAssignStmt(base.Pos, typeWord, itabType(typeWord))} init.Append(nif) // Build the result. // e = iface{typeWord, data} e := ir.NewBinaryExpr(base.Pos, ir.OMAKEFACE, typeWord, data) e.SetType(toType) // assign type manually, typecheck doesn't understand OEFACE. e.SetTypecheck(1) return e }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 09 17:28:22 UTC 2023 - 18.2K bytes - Viewed (0)