Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 440 for toTokens (0.14 sec)

  1. platforms/documentation/docs/src/snippets/antlr/useAntlrPlugin/groovy/src/test/java/org/gradle/GrammarTest.java

            ANTLRStringStream in = new ANTLRStringStream("1+2");
            CalculatorLexer lexer = new CalculatorLexer(in);
            CommonTokenStream tokens = new CommonTokenStream(lexer);
            CalculatorParser parser = new CalculatorParser(tokens);
            parser.add();
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 569 bytes
    - Viewed (0)
  2. platforms/software/build-init/src/main/resources/org/gradle/buildinit/tasks/templates/scalaapplication/multi/app/App.scala.template

    import ${basePackagePrefix.raw}utilities.StringUtils
    
    import org.apache.commons.text.WordUtils
    
    object App {
       def main(args: Array[String]): Unit = {
            val tokens = StringUtils.split(MessageUtils.getMessage())
            val result = StringUtils.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
    - 374 bytes
    - Viewed (0)
  3. platforms/software/antlr/src/integTest/groovy/org/gradle/api/plugins/antlr/Antlr3PluginIntegrationTest.groovy

                        TestLexer lexer = new TestLexer(new ANTLRFileStream(args[0]));
                        CommonTokenStream tokens = new CommonTokenStream(lexer);
                        TestParser parser = new TestParser(tokens);
                        try {
                            parser.list();
                        } catch (RecognitionException e)  {
                            e.printStackTrace();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 14 14:52:10 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/cmd/token_test.go

    			description:  "valid bootstrap tooken",
    			usages:       []string{"signing", "authentication"},
    			extraGroups:  []string{"system:bootstrappers:kubeadm:default-node-token"},
    			outputFormat: "json",
    			expected: `{
        "kind": "BootstrapToken",
        "apiVersion": "output.kubeadm.k8s.io/v1alpha3",
        "token": "abcdef.1234567890123456",
        "description": "valid bootstrap tooken",
        "usages": [
            "signing",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 05:47:48 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  5. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/swift/metadata/SwiftcMetadataProvider.java

                while ((line = reader.readLine()) != null) {
                    if (line.contains("Swift version")) {
                        String[] tokens = line.split(" ");
                        // Assuming format: 'Swift version 4.0.2 (...)'
                        int i = 2;
                        if ("Apple".equals(tokens[0])) {
                            // Actual format: 'Apple Swift version 4.0.2 (...)'
                            i++;
                        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  6. internal/s3select/sql/parser_test.go

    	lex, err := sqlLexer.Lex(s)
    	if err != nil {
    		t.Fatal(err)
    	}
    	tokens, err := lexer.ConsumeAll(lex)
    	if err != nil {
    		t.Fatal(err)
    	}
    	// for i, t := range tokens {
    	// 	fmt.Printf("%d: %#v\n", i, t)
    	// }
    	if len(tokens) != 7 {
    		t.Fatalf("Expected 7 got %d", len(tokens))
    	}
    }
    
    func TestSelectWhere(t *testing.T) {
    	p := participle.MustBuild(
    		&Select{},
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  7. cmd/signature-v2.go

    func doesPresignV2SignatureMatch(r *http.Request) APIErrorCode {
    	// r.RequestURI will have raw encoded URI as sent by the client.
    	tokens := strings.SplitN(r.RequestURI, "?", 2)
    	encodedResource := tokens[0]
    	encodedQuery := ""
    	if len(tokens) == 2 {
    		encodedQuery = tokens[1]
    	}
    
    	var (
    		filteredQueries []string
    		gotSignature    string
    		expires         string
    		accessKey       string
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/security/oauth2-jwt.md

    # OAuth2 with Password (and hashing), Bearer with JWT tokens
    
    Now that we have all the security flow, let's make the application actually secure, using <abbr title="JSON Web Tokens">JWT</abbr> tokens and secure password hashing.
    
    This code is something you can actually use in your application, save the password hashes in your database, etc.
    
    We are going to start from where we left in the previous chapter and increment it.
    
    ## About JWT
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon May 20 17:37:28 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  9. pkg/controller/serviceaccount/tokens_controller.go

    	//   * ensures tokens are removed for service accounts which no longer exist
    	// key is "<namespace>/<name>/<uid>"
    	syncServiceAccountQueue workqueue.TypedRateLimitingInterface[serviceAccountQueueKey]
    
    	// syncSecretQueue handles secret events:
    	//   * deletes tokens whose service account no longer exists
    	//   * updates tokens with missing token or namespace data, or mismatched ca data
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  10. platforms/software/ivy/src/testFixtures/groovy/org/gradle/api/publish/ivy/AbstractIvyPublishIntegTest.groovy

                String artifacts = params.additionalArtifacts.collect {
                    def tokens = it.ivyTokens
                    """
                        artifact {
                            name = '${sq(tokens.artifact)}'
                            classifier = '${sq(tokens.classifier)}'
                            type = '${sq(tokens.type)}'
                        }"""
                }.join('\n')
                extraArtifacts = """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 7.6K bytes
    - Viewed (0)
Back to top