- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,750 for tokEnd (0.2 sec)
-
src/text/scanner/scanner.go
// Valid after calling [Scanner.Scan] and in calls of [Scanner.Error]. func (s *Scanner) TokenText() string { if s.tokPos < 0 { // no token text return "" } if s.tokEnd < s.tokPos { // if EOF was reached, s.tokEnd is set to -1 (s.srcPos == 0) s.tokEnd = s.tokPos } // s.tokEnd >= s.tokPos if s.tokBuf.Len() == 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 20:57:51 UTC 2024 - 20.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/authentication/token/tokenfile/tokenfile_test.go
auth, err := newWithContents(t, ` token1,user1,uid1 token2,user2,uid2 token3,user3,uid3,"group1,group2" token4,user4,uid4,"group2" token5,user5,uid5,group5 token6,user6,uid6,group5,otherdata token7,user7,uid7,"group1,group2",otherdata `) if err != nil { t.Fatalf("unable to read tokenfile: %v", err) } testCases := []struct { Token string User *user.DefaultInfo Ok bool Err bool
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 22 17:16:59 UTC 2018 - 3.6K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/token.go
BootstrapToken: bootstraptokenv1.BootstrapToken{ Token: &bootstraptokenv1.BootstrapTokenString{ID: token.Token.ID, Secret: token.Token.Secret}, Description: token.Description, TTL: token.TTL, Expires: token.Expires, Usages: token.Usages, Groups: token.Groups, }, } if err := printer.PrintObj(&outputToken, out); err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 23 05:47:48 UTC 2024 - 15.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/kuromoji/KuromojiFileTest.java
List<KuromojiItem> itemList = new ArrayList<>(); itemList.add(new KuromojiItem(1, "token1", "seg1", "reading1", "pos1")); itemList.add(new KuromojiItem(2, "token2", "seg2", "reading2", "pos2")); itemList.add(new KuromojiItem(3, "token3", "seg3", "reading3", "pos3")); kuromojiFile.kuromojiItemList = itemList; } public void test_selectList() {
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 7.3K bytes - Viewed (0) -
src/cmd/compile/internal/syntax/tokens.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package syntax type Token uint type token = Token //go:generate stringer -type token -linecomment tokens.go const ( _ token = iota _EOF // EOF // names and literals _Name // name _Literal // literal // operators and operations
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/go/token/token.go
// license that can be found in the LICENSE file. // Package token defines constants representing the lexical tokens of the Go // programming language and basic operations on tokens (printing, predicates). package token import ( "strconv" "unicode" "unicode/utf8" ) // Token is the set of lexical tokens of the Go programming language. type Token int // The list of tokens. const ( // Special tokens ILLEGAL Token = iota
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:03 UTC 2023 - 6.4K bytes - Viewed (0) -
cmd/kubeadm/app/phases/bootstraptoken/node/token_test.go
ID: "token1", Secret: "token1data", }, }, }, wantErr: false, }, { name: "create multiple secrets which do not exist", failIfExists: true, tokens: []bootstraptokenv1.BootstrapToken{ { Token: &bootstraptokenv1.BootstrapTokenString{ ID: "token1", Secret: "token1data", }, }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Sep 28 08:42:29 UTC 2023 - 3.4K bytes - Viewed (0) -
cmd/kubeadm/app/phases/bootstraptoken/node/token.go
return UpdateOrCreateTokens(client, true, tokens) } // UpdateOrCreateTokens attempts to update a token with the given ID, or create if it does not already exist. func UpdateOrCreateTokens(client clientset.Interface, failIfExists bool, tokens []bootstraptokenv1.BootstrapToken) error { for _, token := range tokens { secretName := bootstraputil.BootstrapTokenSecretName(token.Token.ID)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Jan 14 13:07:56 UTC 2024 - 2.5K bytes - Viewed (0) -
cmd/kubeadm/app/discovery/token/token.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Jan 14 13:07:56 UTC 2024 - 10.1K bytes - Viewed (0) -
tests/integration/security/testdata/authz/jwt.yaml.tmpl
# - Allow request principal ******@****.***/sub-1 to access path /token1 # - Allow request in group-2 to access path /token2 # - Allow request with any token to access path /tokenAny # - Allow request with permission claim of "write" or "append" to access path /permission # - Allow request with valid JWT token to access path /jwt1 # - Allow request with valid JWT token of presenter bar to access path with suffix "/presenter"
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 08 23:36:51 UTC 2024 - 3K bytes - Viewed (0)