Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 204 for toTokens (0.63 sec)

  1. 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
    	// _Operator is excluding '*' (_Star)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 14:52:38 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  2. platforms/native/testing-native/src/main/java/org/gradle/nativeplatform/test/xctest/internal/execution/XCTestSelection.java

                    return filter;
                } else if (tokens[2].isEmpty()) {
                    return testFilter;
                }
                return tokens[0] + "." + tokens[1] + "/" + tokens[2];
            } else if (tokens.length == 2 && !WILDCARD.equals(tokens[1])) {
                testSuiteCache.add(testFilter);
            }
    
            return testFilter;
        }
    
        public Collection<String> getIncludedTests() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  3. internal/bucket/bandwidth/reader.go

    			tokens = need + hdr
    
    		} else { // part of header can be accommodated
    			r.opts.HeaderSize -= b - 1
    			need = 1 // to ensure we read at least one byte for every Read
    			tokens = b
    		}
    	} else { // all tokens go towards payload
    		need = int(math.Min(float64(b), float64(need)))
    		tokens = need
    	}
    
    	err = r.throttle.WaitN(r.ctx, tokens)
    	if err != nil {
    		return
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Sep 06 03:21:59 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  4. pkg/serviceaccount/metrics.go

    	// LegacyTokensTotal is the number of legacy tokens used against apiserver.
    	legacyTokensTotal = metrics.NewCounter(
    		&metrics.CounterOpts{
    			Subsystem:      kubeServiceAccountSubsystem,
    			Name:           "legacy_tokens_total",
    			Help:           "Cumulative legacy service account tokens used",
    			StabilityLevel: metrics.ALPHA,
    		},
    	)
    
    	// StaleTokensTotal is the number of stale projected tokens not refreshed on
    	// client side.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 03:52:06 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/phases/bootstraptoken/node/token_test.go

    		name         string
    		failIfExists bool
    		tokens       []bootstraptokenv1.BootstrapToken
    		wantErr      bool
    	}{
    		{
    			name:         "token is nil",
    			failIfExists: true,
    			tokens:       []bootstraptokenv1.BootstrapToken{},
    			wantErr:      false,
    		},
    		{
    			name:         "create secret which does not exist",
    			failIfExists: true,
    			tokens: []bootstraptokenv1.BootstrapToken{
    				{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Sep 28 08:42:29 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  6. src/go/token/token.go

    // 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
    	EOF
    	COMMENT
    
    	literal_beg
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/samples/templates/java-application/src/main/java/org/gradle/sample/app/Main.java

    import static org.gradle.sample.app.MessageUtils.getMessage;
    
    public class Main {
        public static void main(String[] args) {
            LinkedList tokens;
            tokens = split(getMessage());
            System.out.println(join(tokens));
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 438 bytes
    - Viewed (0)
  8. 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)
  9. platforms/software/build-init/src/main/resources/org/gradle/buildinit/tasks/templates/groovyapplication/multi/app/App.groovy.template

    import static ${basePackagePrefix.raw}app.MessageUtils.getMessage
    
    import org.apache.commons.text.WordUtils
    
    class App {
        static void main(String[] args) {
            LinkedList tokens
            tokens = split(getMessage())
            String result = join(tokens)
            println(WordUtils.capitalize(result))
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 26 19:39:09 UTC 2023
    - 548 bytes
    - Viewed (0)
  10. src/cmd/asm/internal/lex/lex.go

    	args   []string // Formal arguments.
    	tokens []Token  // Body of macro.
    }
    
    // Tokenize turns a string into a list of Tokens; used to parse the -D flag and in tests.
    func Tokenize(str string) []Token {
    	t := NewTokenizer("command line", strings.NewReader(str), nil)
    	var tokens []Token
    	for {
    		tok := t.Next()
    		if tok == scanner.EOF {
    			break
    		}
    		tokens = append(tokens, Make(tok, t.Text()))
    	}
    	return tokens
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 29 18:31:05 UTC 2023
    - 4.1K bytes
    - Viewed (0)
Back to top