- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for posInc (0.38 sec)
-
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/internal/analysisutil/util.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 3.9K bytes - Viewed (0) -
src/go/types/generate_test.go
// as first argument, renames the argument from "pos" to "posn", and updates a few internal uses of // "pos" to "posn" and "posn.Pos()" respectively. func fixInferSig(f *ast.File) { ast.Inspect(f, func(n ast.Node) bool { switch n := n.(type) { case *ast.FuncDecl: if n.Name.Name == "infer" { // rewrite (pos token.Pos, ...) to (posn positioner, ...) par := n.Type.Params.List[0]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:01:18 UTC 2024 - 16.5K bytes - Viewed (0) -
src/go/types/example_test.go
// column of its definition and each of its uses. fmt.Println("Defs and Uses of each named object:") usesByObj := make(map[types.Object][]string) for id, obj := range info.Uses { posn := fset.Position(id.Pos()) lineCol := fmt.Sprintf("%d:%d", posn.Line, posn.Column) usesByObj[obj] = append(usesByObj[obj], lineCol) } var items []string for obj, uses := range usesByObj { slices.Sort(uses)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 8.9K bytes - Viewed (0) -
src/cmd/compile/internal/ppc64/ssa.go
p1.From.Reg = out p1.To.Type = obj.TYPE_REG p1.To.Reg = out // BNE p2 := s.Prog(ppc64.ABNE) p2.To.Type = obj.TYPE_BRANCH // ISYNC pisync := s.Prog(ppc64.AISYNC) pisync.To.Type = obj.TYPE_NONE p2.To.SetTarget(pisync) case ssa.OpPPC64LoweredAtomicStore8, ssa.OpPPC64LoweredAtomicStore32, ssa.OpPPC64LoweredAtomicStore64: // SYNC or LWSYNC // MOVB/MOVW/MOVD arg1,(arg0)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 19:59:38 UTC 2024 - 55.4K bytes - Viewed (0) -
pkg/kubelet/status/status_manager.go
// attempted for testing. func (m *manager) syncBatch(all bool) int { type podSync struct { podUID types.UID statusUID kubetypes.MirrorPodUID status versionedPodStatus } var updatedStatuses []podSync podToMirror, mirrorToPod := m.podManager.GetUIDTranslations() func() { // Critical section m.podStatusesLock.RLock()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 02 16:27:19 UTC 2024 - 44.3K bytes - Viewed (0) -
src/cmd/compile/internal/types2/stdlib_test.go
predeclared := obj == Universe.Lookup(obj.Name()) || obj == errorError if predeclared == (obj.Pkg() != nil) { posn := id.Pos() if predeclared { return nil, fmt.Errorf("%s: predeclared object with package: %s", posn, obj) } else { return nil, fmt.Errorf("%s: user-defined object without package: %s", posn, obj) } } } return pkg, nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:18:33 UTC 2024 - 13.3K bytes - Viewed (0) -
src/go/types/infer.go
// type parameter. Otherwise the result is nil. Errors are reported through the err parameter. // Note: infer may fail (return nil) due to invalid args operands without reporting additional errors. func (check *Checker) infer(posn positioner, tparams []*TypeParam, targs []Type, params *Tuple, args []*operand, reverse bool, err *error_) (inferred []Type) { // Don't verify result conditions if there's no error handler installed:
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/go/types/expr.go
// (otherwise we had an error reported elsewhere already) if isValid(x.typ) && isValid(y.typ) { var posn positioner = x if e != nil { posn = e } if e != nil { check.errorf(posn, MismatchedTypes, invalidOp+"%s (mismatched types %s and %s)", e, x.typ, y.typ) } else { check.errorf(posn, MismatchedTypes, invalidOp+"%s %s= %s (mismatched types %s and %s)", lhs, op, rhs, x.typ, y.typ) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 02:09:54 UTC 2024 - 49.7K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/syscall_zos_s390x.go
if raceenabled { if n > 0 { raceWriteRange(unsafe.Pointer(&p[0]), n) } if err == nil { raceAcquire(unsafe.Pointer(&ioSync)) } } return } func Write(fd int, p []byte) (n int, err error) { if raceenabled { raceReleaseMerge(unsafe.Pointer(&ioSync)) } n, err = write(fd, p) if raceenabled && n > 0 { raceReadRange(unsafe.Pointer(&p[0]), n) } return }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 16:12:58 UTC 2024 - 84.4K bytes - Viewed (0) -
src/go/types/call.go
// Perhaps instantiate as much as we can, also for arguments. // This will require changes to how infer returns its results. if !err.empty() { check.errorf(err.posn(), CannotInferTypeArgs, "in call to %s, %s", call.Fun, err.msg()) } return } // update result signature: instantiate if needed if n > 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 33.5K bytes - Viewed (0)