- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 691 for checkSeq (0.13 sec)
-
internal/grid/muxclient.go
} m.addErrorNonBlockingClose(errResp, context.Cause(m.ctx)) return case <-pingTimer: errState = !m.doPing(errResp) } } } // checkSeq will check if sequence number is correct and increment it by 1. func (m *muxClient) checkSeq(seq uint32) (ok bool) { if seq != m.RecvSeq { if debugPrint { fmt.Printf("MuxID: %d client, expected sequence %d, got %d\n", m.MuxID, m.RecvSeq, seq) }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Jun 07 15:51:52 UTC 2024 - 15.9K bytes - Viewed (0) -
src/go/types/check.go
// For debugging only. type actionDesc struct { pos positioner format string args []any } // A Checker maintains the state of the type checker. // It must be created with [NewChecker]. type Checker struct { // package information // (initialized by NewChecker, valid for the life-time of checker) conf *Config ctxt *Context // context for de-duplicating instances fset *token.FileSet pkg *Package *Info
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 23.1K bytes - Viewed (0) -
src/cmd/compile/internal/types2/check.go
// For debugging only. type actionDesc struct { pos poser format string args []interface{} } // A Checker maintains the state of the type checker. // It must be created with NewChecker. type Checker struct { // package information // (initialized by NewChecker, valid for the life-time of checker) conf *Config ctxt *Context // context for de-duplicating instances pkg *Package *Info
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 23.3K bytes - Viewed (0) -
src/cmd/compile/internal/types2/api.go
// Package types2 declares the data types and implements // the algorithms for type-checking of Go packages. Use // Config.Check to invoke the type checker for a package. // Alternatively, create a new type checker with NewChecker // and invoke it incrementally by calling Checker.Files. // // Type-checking consists of several interdependent phases: // // Name resolution maps each identifier (syntax.Name) in the program to the
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 13:48:53 UTC 2024 - 17.4K bytes - Viewed (0) -
src/cmd/compile/internal/types2/named.go
} // newNamed is like NewNamed but with a *Checker receiver. func (check *Checker) newNamed(obj *TypeName, underlying Type, methods []*Func) *Named { typ := &Named{check: check, obj: obj, fromRHS: underlying, underlying: underlying, methods: methods} if obj.typ == nil { obj.typ = typ } // Ensure that typ is always sanity-checked. if check != nil { check.needsCleanup(typ) } return typ }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 20:03:31 UTC 2024 - 23.9K bytes - Viewed (0) -
src/go/types/resolver.go
func (check *Checker) packageObjects() { // process package objects in source order for reproducible results objList := make([]Object, len(check.objMap)) i := 0 for obj := range check.objMap { objList[i] = obj i++ } sort.Sort(inSourceOrder(objList)) // add new methods to already type-checked types (from a prior Checker.Files call) for _, obj := range objList {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 16:22:59 UTC 2024 - 26.1K bytes - Viewed (0) -
src/go/types/named.go
} // newNamed is like NewNamed but with a *Checker receiver. func (check *Checker) newNamed(obj *TypeName, underlying Type, methods []*Func) *Named { typ := &Named{check: check, obj: obj, fromRHS: underlying, underlying: underlying, methods: methods} if obj.typ == nil { obj.typ = typ } // Ensure that typ is always sanity-checked. if check != nil { check.needsCleanup(typ) } return typ }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 20:03:31 UTC 2024 - 24K bytes - Viewed (0) -
src/go/types/api.go
// Package types declares the data types and implements // the algorithms for type-checking of Go packages. Use // [Config.Check] to invoke the type checker for a package. // Alternatively, create a new type checker with [NewChecker] // and invoke it incrementally by calling [Checker.Files]. // // Type-checking consists of several interdependent phases: // // Name resolution maps each identifier ([ast.Ident]) in the program
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 17.2K bytes - Viewed (0) -
src/cmd/compile/internal/types2/decl.go
} check.initConst(obj, &x) } func (check *Checker) varDecl(obj *Var, lhs []*Var, typ, init syntax.Expr) { assert(obj.typ == nil) // determine type, if any if typ != nil { obj.typ = check.varType(typ) // We cannot spread the type to all lhs variables if there // are more than one since that would mark them as checked // (see Checker.objDecl) and the assignment of init exprs,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 29.6K bytes - Viewed (0) -
src/go/types/decl.go
} check.initConst(obj, &x) } func (check *Checker) varDecl(obj *Var, lhs []*Var, typ, init ast.Expr) { assert(obj.typ == nil) // determine type, if any if typ != nil { obj.typ = check.varType(typ) // We cannot spread the type to all lhs variables if there // are more than one since that would mark them as checked // (see Checker.objDecl) and the assignment of init exprs,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 31K bytes - Viewed (0)