- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 121 for Tok (0.14 sec)
-
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) -
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/go/parser/error_test.go
var prev token.Pos // position of last non-comment, non-semicolon token var here token.Pos // position immediately after the token at position prev for { pos, tok, lit := s.Scan() switch tok { case token.EOF: return errors case token.COMMENT: s := errRx.FindStringSubmatch(lit) if len(s) == 3 { if s[1] == "HERE" { pos = here // start of comment
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 27 19:47:49 UTC 2022 - 5.9K 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) -
src/go/types/stmt.go
return } op := assignOp(s.Tok) if op == token.ILLEGAL { check.errorf(atPos(s.TokPos), InvalidSyntaxTree, "unknown assignment operation %s", s.Tok) return } var x operand check.binary(&x, nil, s.Lhs[0], s.Rhs[0], op, s.TokPos) if x.mode == invalid { return } check.assignVar(s.Lhs[0], nil, &x, "assignment") } case *ast.GoStmt:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 30.6K bytes - Viewed (0) -
src/go/types/return.go
if call, ok := ast.Unparen(s.X).(*ast.CallExpr); ok && check.isPanic[call] { return true } case *ast.ReturnStmt: return true case *ast.BranchStmt: if s.Tok == token.GOTO || s.Tok == token.FALLTHROUGH { return true } case *ast.BlockStmt: return check.isTerminatingList(s.List, "") case *ast.IfStmt: if s.Else != nil && check.isTerminating(s.Body, "") &&
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 22 19:32:17 UTC 2024 - 4.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/authentication/authenticator/audagnostic.go
delegate Token } var _ = Token(&audAgnosticTokenAuthenticator{}) func (a *audAgnosticTokenAuthenticator) AuthenticateToken(ctx context.Context, tok string) (*Response, bool, error) { return authenticate(ctx, a.implicit, func() (*Response, bool, error) { return a.delegate.AuthenticateToken(ctx, tok) }) } // WrapAudienceAgnosticToken wraps an audience agnostic token authenticator to
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Oct 31 22:31:49 UTC 2018 - 2.8K bytes - Viewed (0) -
src/main/java/jcifs/Config.java
String p = props.getProperty(key); if ( p != null ) { StringTokenizer tok = new StringTokenizer(p, delim); int len = tok.countTokens(); InetAddress[] arr = new InetAddress[len]; for ( int i = 0; i < len; i++ ) { String addr = tok.nextToken(); try { arr[ i ] = InetAddress.getByName(addr); }
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 6.3K bytes - Viewed (0) -
src/go/constant/value_test.go
return BinaryOp(a, token.QUO, b) } tok := token.INT switch first, last := lit[0], lit[len(lit)-1]; { case first == '"' || first == '`': tok = token.STRING lit = strings.ReplaceAll(lit, "_", " ") case first == '\'': tok = token.CHAR case last == 'i': tok = token.IMAG default: if !strings.HasPrefix(lit, "0x") && strings.ContainsAny(lit, "./Ee") { tok = token.FLOAT } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 13 18:45:54 UTC 2021 - 15.6K bytes - Viewed (0) -
src/go/types/commentMap_test.go
file := fset.AddFile("", -1, len(src)) var s scanner.Scanner s.Init(file, src, nil, scanner.ScanComments) var prev token.Pos // position of last non-comment, non-semicolon token for { pos, tok, lit := s.Scan() switch tok { case token.EOF: return case token.COMMENT: if lit[1] == '*' { lit = lit[:len(lit)-2] // strip trailing */ } lit = lit[2:] // strip leading // or /* if rx.MatchString(lit) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 17 19:54:27 UTC 2023 - 3K bytes - Viewed (0)