Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,750 for tokEnd (0.14 sec)

  1. platforms/native/language-native/src/test/groovy/org/gradle/language/nativeplatform/internal/incremental/sourceparser/RegexBackedCSourceParserTest.groovy

            ' A((,))'              | 'A'       | [tokens('(,)')]
            ' A((,,,), c)'         | 'A'       | [tokens('(,,,)'), token('c')]
            '_a ( p1 p2 p3 )'      | '_a'      | [tokens('p1 p2 p3')]
            '_a ( 1, (2+3) )'      | '_a'      | [token('1'), tokens('(2+3)')]
            '_a((, ) a b c)'       | '_a'      | [tokens('(,) a b c')]
            'func( (a) ( b ))'     | 'func'    | [tokens('(a)(b)')]
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 34.3K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/lex/input.go

    	var tokens []Token
    	for _, tok := range macro.tokens {
    		if tok.ScanToken != scanner.Ident {
    			tokens = append(tokens, tok)
    			continue
    		}
    		substitution := actuals[tok.text]
    		if substitution == nil {
    			tokens = append(tokens, tok)
    			continue
    		}
    		tokens = append(tokens, substitution...)
    	}
    	in.Push(NewSlice(in.Base(), in.Line(), tokens))
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 29 07:48:38 UTC 2023
    - 12.6K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/authentication/token/tokenfile/tokenfile.go

    )
    
    type TokenAuthenticator struct {
    	tokens map[string]*user.DefaultInfo
    }
    
    // New returns a TokenAuthenticator for a single token
    func New(tokens map[string]*user.DefaultInfo) *TokenAuthenticator {
    	return &TokenAuthenticator{
    		tokens: tokens,
    	}
    }
    
    // NewCSV returns a TokenAuthenticator, populated from a CSV file.
    // The CSV file must contain records in the format "token,username,useruid"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 16 11:54:27 UTC 2020
    - 2.4K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/helper/AccessTokenHelperTest.java

            List<String> tokens = new ArrayList<String>();
            for (int i = 0; i < NUM; i++) {
                tokens.add(accessTokenHelper.generateAccessToken());
            }
            for (int i = 0; i < NUM; i++) {
                assertFalse(tokens.get(i).isEmpty());
                for (int j = i + 1; j < NUM; j++) {
                    assertFalse(tokens.get(i).equals(tokens.get(j)));
                }
            }
        }
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/lex/lex.go

    	Close()
    }
    
    // A Token is a scan token plus its string value.
    // A macro is stored as a sequence of Tokens with spaces stripped.
    type Token struct {
    	ScanToken
    	text string
    }
    
    // Make returns a Token with the given rune (ScanToken) and text representation.
    func Make(token ScanToken, text string) Token {
    	// Substitute the substitutes for . and /.
    	text = strings.ReplaceAll(text, "\u00B7", ".")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 29 18:31:05 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

      public void testAssignableClassToType() {
        TypeToken<List<String>> tokenL = new TypeToken<List<String>>() {};
        assertTrue(tokenL.isSupertypeOf(StringList.class));
        assertFalse(tokenL.isSupertypeOf(List.class));
    
        TypeToken<First<String>> tokenF = new TypeToken<First<String>>() {};
        assertTrue(tokenF.isSupertypeOf(ConcreteIS.class));
        assertFalse(tokenF.isSupertypeOf(ConcreteSI.class));
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 88.7K bytes
    - Viewed (0)
  7. pkg/controller/bootstrap/util_test.go

    			}
    			if ok {
    				if tokenID != tc.tokenID {
    					t.Errorf("Unexpected Token ID. Expected %q, got %q", givenTokenID, tokenID)
    				}
    				if tokenSecret != tc.tokenSecret {
    					t.Errorf("Unexpected Token Secret. Expected %q, got %q", givenTokenSecret, tokenSecret)
    				}
    			}
    		})
    	}
    
    }
    
    func TestValidateSecret(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 13 02:18:40 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/discovery/token/token_test.go

      name: somecluster
    contexts:
    - context:
        cluster: somecluster
        user: token-bootstrap-client
      name: token-bootstrap-client@somecluster
    current-context: token-bootstrap-client@somecluster
    kind: Config
    preferences: {}
    users: null
    `
    	)
    
    	tests := []struct {
    		name                     string
    		tokenID                  string
    		tokenSecret              string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 14 13:07:56 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/mod/modfile/read.go

    						new := &Line{Token: tokens[1:], InBlock: true}
    						stmt.Line[j+1] = new
    						return new
    					}
    				}
    			}
    		}
    	}
    
    	new := &Line{Token: tokens}
    	x.Stmt = append(x.Stmt, new)
    	return new
    }
    
    func (x *FileSyntax) updateLine(line *Line, tokens ...string) {
    	if line.InBlock {
    		tokens = tokens[1:]
    	}
    	line.Token = tokens
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/repositories/PatternHelper.java

            Map<String, Object> tokens = new HashMap<>(attributes);
            if (tokens.containsKey(ORGANISATION_KEY) && !tokens.containsKey(ORGANISATION_KEY2)) {
                tokens.put(ORGANISATION_KEY2, tokens.get(ORGANISATION_KEY));
            }
            if (tokens.containsKey(ORGANISATION_KEY)
                && !tokens.containsKey(ORGANISATION_PATH_KEY)) {
                String org = (String) tokens.get(ORGANISATION_KEY);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 6.1K bytes
    - Viewed (0)
Back to top