Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 575 for toTokens (0.12 sec)

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

            'a(,)'                                             | 'a'     | [tokens(''), tokens('')]
            'a((a,b))'                                         | 'a'     | [tokens('(a,b)')]
            'a((a,b,(c, d)))'                                  | 'a'     | [tokens('(a,b,(c,d))')]
            'a( ( a ,,, b ), c)'                               | 'a'     | [tokens('(a,,,b)'), token('c')]
    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/compress/flate/huffman_bit_writer.go

    	// Write the tokens.
    	w.writeTokens(tokens, w.literalEncoding.codes, w.offsetEncoding.codes)
    }
    
    // indexTokens indexes a slice of tokens, and updates
    // literalFreq and offsetFreq, and generates literalEncoding
    // and offsetEncoding.
    // The number of literal and offset tokens is returned.
    func (w *huffmanBitWriter) indexTokens(tokens []token) (numLiterals, numOffsets int) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 29 22:59:14 UTC 2022
    - 18.4K bytes
    - Viewed (0)
  3. 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)
  4. internal/event/targetid.go

    	return nil
    }
    
    // parseTargetID - parses string to TargetID.
    func parseTargetID(s string) (*TargetID, error) {
    	tokens := strings.Split(s, ":")
    	if len(tokens) != 2 {
    		return nil, fmt.Errorf("invalid TargetID format '%v'", s)
    	}
    
    	return &TargetID{
    		ID:   tokens[0],
    		Name: tokens[1],
    	}, nil
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 1.8K bytes
    - Viewed (0)
  5. 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)
  6. cmd/kubeadm/app/phases/bootstraptoken/node/tlsbootstrap.go

    	"k8s.io/kubernetes/cmd/kubeadm/app/util/apiclient"
    )
    
    // AllowBootstrapTokensToPostCSRs creates RBAC rules in a way the makes Node Bootstrap Tokens able to post CSRs
    func AllowBootstrapTokensToPostCSRs(client clientset.Interface) error {
    	fmt.Println("[bootstrap-token] Configured RBAC rules to allow Node Bootstrap tokens to post CSRs in order for nodes to get long term certificate credentials")
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Oct 15 10:49:52 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  7. 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)
  8. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/ivy/M2CompatibleIvyPatternHelper.groovy

        }
    
        static String substitute(String pattern, boolean m2Compatible, Map<String, String> tokens) {
            if (tokens.containsKey('organisation')) {
                tokens.put('organisation', organisationToken(m2Compatible, tokens.get('organisation')))
            }
            IvyPatternHelper.substituteTokens(pattern, tokens)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  9. src/cmd/vendor/github.com/google/pprof/internal/driver/interactive.go

    	return func(line string) string {
    		switch tokens := strings.Fields(line); len(tokens) {
    		case 0:
    			// Nothing to complete
    		case 1:
    			// Single token -- complete command name
    			if match := matchVariableOrCommand(tokens[0]); match != "" {
    				return match
    			}
    		case 2:
    			if tokens[0] == "help" {
    				if match := matchVariableOrCommand(tokens[1]); match != "" {
    					return tokens[0] + " " + match
    				}
    				return line
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 18:58:12 UTC 2022
    - 10.6K bytes
    - Viewed (0)
  10. security/pkg/credentialfetcher/plugin/gce_test.go

    }
    
    func getTokenFromServer(t *testing.T, p *GCEPlugin, callReps int) ([]string, []error) {
    	t.Helper()
    	var tokens []string
    	var errs []error
    	for i := 0; i < callReps; i++ {
    		token, err := p.GetPlatformCredential()
    		tokens = append(tokens, token)
    		errs = append(errs, err)
    	}
    	return tokens, errs
    }
    
    func verifyError(t *testing.T, id string, errs []error, expectedErr error) {
    	t.Helper()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 03 18:09:59 UTC 2021
    - 10.1K bytes
    - Viewed (0)
Back to top