Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 446 for toTokens (0.27 sec)

  1. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/ivy/IvyFileModule.groovy

        }
    
        private LinkedHashMap<String, String> toTokens(Map<String, ?> options) {
            def artifact = toArtifact(options)
            def tokens = [organisation: organisation, module: module, revision: revision, artifact: artifact.name, type: artifact.type, ext: artifact.ext, classifier: artifact.classifier]
            tokens
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  2. 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)
  3. src/text/scanner/scanner.go

    // For instance, if the mode is ScanIdents (not ScanStrings), the string
    // "foo" is scanned as the token sequence '"' [Ident] '"'.
    //
    // Use GoTokens to configure the Scanner such that it accepts all Go
    // literal tokens including Go identifiers. Comments will be skipped.
    const (
    	ScanIdents     = 1 << -Ident
    	ScanInts       = 1 << -Int
    	ScanFloats     = 1 << -Float // includes Ints and hexadecimal floats
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:57:51 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/compress/flate/deflate.go

    				if d.byteAvailable {
    					// There is still one pending token that needs to be flushed
    					d.tokens = append(d.tokens, literalToken(uint32(d.window[d.index-1])))
    					d.byteAvailable = false
    				}
    				if len(d.tokens) > 0 {
    					if d.err = d.writeBlock(d.tokens, d.index); d.err != nil {
    						return
    					}
    					d.tokens = d.tokens[:0]
    				}
    				break Loop
    			}
    		}
    		if d.index < d.maxInsertIndex {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 13:32:40 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/lex/input.go

    		return
    	}
    	actuals := in.argsFor(macro)
    	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)
  10. 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)
Back to top