- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 78 for Tok (0.02 sec)
-
src/cmd/compile/internal/syntax/tokens.go
Go = _Go Defer = _Defer ) // Make sure we have at most 64 tokens so we can use them in a set. const _ uint64 = 1 << (tokenCount - 1) // contains reports whether tok is in tokset. func contains(tokset uint64, tok token) bool { return tokset&(1<<tok) != 0 } type LitKind uint8 // TODO(gri) With the 'i' (imaginary) suffix now permitted on integer // and floating-point numbers, having a single ImagLit does
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/cmd/compile/internal/test/abiutilsaux_test.go
type expectedDump struct { dump string file string line int } func tokenize(src string) []string { var s scanner.Scanner s.Init(strings.NewReader(src)) res := []string{} for tok := s.Scan(); tok != scanner.EOF; tok = s.Scan() { res = append(res, s.TokenText()) } return res } func verifyParamResultOffset(t *testing.T, f *types.Field, r abi.ABIParamAssignment, which string, idx int) int {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 13 18:34:00 UTC 2023 - 3.2K bytes - Viewed (0) -
src/cmd/asm/internal/lex/lex_test.go
} // drain returns a single string representing the processed input tokens. func drain(input *Input) string { var buf strings.Builder for { tok := input.Next() if tok == scanner.EOF { return buf.String() } if tok == '#' { continue } if buf.Len() > 0 { buf.WriteByte('.') } buf.WriteString(input.Text()) } } type badLexTest struct {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 29 07:48:38 UTC 2023 - 5.8K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation.go
return 0, nil, nil }) var tok string var isNamed bool for scanner.Scan() { tok = scanner.Text() switch tok { case "[": if !opts.allowArrayNotation { return nil, nil, fmt.Errorf("array notation is not allowed") } if !scanner.Scan() { return nil, nil, fmt.Errorf("unexpected end of JSON path") } tok = scanner.Text()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 20 18:21:31 UTC 2024 - 32.2K bytes - Viewed (0) -
src/cmd/asm/internal/lex/lex.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 29 18:31:05 UTC 2023 - 4.1K bytes - Viewed (0) -
src/cmd/compile/internal/types2/return.go
if call, ok := syntax.Unparen(s.X).(*syntax.CallExpr); ok && check.isPanic[call] { return true } case *syntax.ReturnStmt: return true case *syntax.BranchStmt: if s.Tok == syntax.Goto || s.Tok == syntax.Fallthrough { return true } case *syntax.BlockStmt: return check.isTerminatingList(s.List, "") case *syntax.IfStmt: if s.Else != nil && check.isTerminating(s.Then, "") &&
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 22 19:32:17 UTC 2024 - 4.4K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/bools/bools.go
for _, exprs := range comm { op.checkRedundant(pass, exprs) op.checkSuspect(pass, exprs) } }) return nil, nil } type boolOp struct { name string tok token.Token // token corresponding to this operator badEq token.Token // token corresponding to the equality test that should not be used with this operator } var ( or = boolOp{"or", token.LOR, token.NEQ}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 4.9K bytes - Viewed (0) -
src/go/types/labels.go
return } default: check.errorf(s, InvalidSyntaxTree, "branch statement: %s %s", s.Tok, name) return } // record label use obj := all.Lookup(name) obj.(*Label).used = true check.recordUse(s.Label, obj) case *ast.AssignStmt: if s.Tok == token.DEFINE { recordVarDecl(s.Pos()) } case *ast.BlockStmt: blockBranches(lstmt, s.List)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 7.2K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/nodevolumelimits/utils.go
return false } var mpaSet sets.Set[string] mpa := csiNodeAnn[v1.MigratedPluginsAnnotationKey] if len(mpa) == 0 { mpaSet = sets.New[string]() } else { tok := strings.Split(mpa, ",") mpaSet = sets.New(tok...) } return mpaSet.Has(pluginName) } // volumeLimits returns volume limits associated with the node. func volumeLimits(n *framework.NodeInfo) map[v1.ResourceName]int64 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 09 14:55:34 UTC 2024 - 2.5K bytes - Viewed (0) -
src/cmd/internal/goobj/mkbuiltin.go
decls[declName] = true fmt.Fprintf(w, "{%q, 1},\n", declName) // functions are ABIInternal (1) case *ast.GenDecl: if decl.Tok == token.IMPORT { continue } if decl.Tok != token.VAR { log.Fatal("unhandled declaration kind", decl.Tok) } for _, spec := range decl.Specs { spec := spec.(*ast.ValueSpec) if len(spec.Values) != 0 { log.Fatal("unexpected values") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:27 UTC 2023 - 3.8K bytes - Viewed (0)