Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 575 for toTokens (0.2 sec)

  1. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/ContentFilterableExtensions.kt

     *
     * Examples:
     *
     * ```
     * filter<StripJavaComments>()
     * filter<com.mycompany.project.CustomFilter>()
     * filter<HeadFilter>("lines" to 25, "skip" to 2)
     * filter<ReplaceTokens>("tokens" to mapOf("copyright" to "2009", "version" to "2.3.1"))
     * ```
     *
     * @param T type of the filter to add
     * @param properties map of filter properties
     * @return this
     */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  2. src/text/scanner/scanner_test.go

    			tok = s.Scan()
    		}
    		line += countNewlines(k.text) + 1 // each token is on a new line
    	}
    	checkTok(t, s, line, tok, EOF, "")
    }
    
    func TestScan(t *testing.T) {
    	testScan(t, GoTokens)
    	testScan(t, GoTokens&^SkipComments)
    }
    
    func TestInvalidExponent(t *testing.T) {
    	const src = "1.5e 1.5E 1e+ 1e- 1.5z"
    	s := new(Scanner).Init(strings.NewReader(src))
    	s.Error = func(s *Scanner, msg string) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 17 03:41:50 UTC 2022
    - 25.3K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/authentication/authenticatorfactory/loopback.go

    	"k8s.io/apiserver/pkg/authentication/user"
    )
    
    // NewFromTokens returns an authenticator.Request or an error
    func NewFromTokens(tokens map[string]*user.DefaultInfo, audiences authenticator.Audiences) authenticator.Request {
    	return bearertoken.New(authenticator.WrapAudienceAgnosticToken(audiences, tokenfile.New(tokens)))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 19 16:54:11 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  4. cmd/sftp-server.go

    	allowMACs := supportedMACs
    	var err error
    
    	for _, arg := range args {
    		tokens := strings.SplitN(arg, "=", 2)
    		if len(tokens) != 2 {
    			logger.Fatal(fmt.Errorf("invalid arguments passed to --sftp=%s", arg), "unable to start SFTP server")
    		}
    		switch tokens[0] {
    		case "address":
    			host, portStr, err := net.SplitHostPort(tokens[1])
    			if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jun 05 07:51:13 UTC 2024
    - 16K bytes
    - Viewed (0)
  5. platforms/software/maven/src/testFixtures/groovy/org/gradle/integtests/fixtures/publish/maven/AbstractMavenPublishIntegTest.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
    - 8.1K bytes
    - Viewed (0)
  6. src/cmd/go/internal/base/limit.go

    	}, nil
    }
    
    var (
    	netLimitOnce sync.Once
    	netLimitSem  chan struct{}
    )
    
    type netTokenChecker struct {
    	released bool
    	// We want to use a finalizer to check that all acquired tokens are returned,
    	// so we arbitrarily pad the tokens with a string to defeat the runtime's
    	// “tiny allocator”.
    	unusedAvoidTinyAllocator string
    }
    
    func (c *netTokenChecker) panicUnreleased() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 19 02:47:12 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  7. tensorflow/compiler/aot/benchmark_main.template

    // Generated by the tf_library build rule.  DO NOT EDIT!
    //
    // This file contains the main function and logic for benchmarking code
    // generated by tfcompile.  All tokens of the form `{{TFCOMPILE_*}}` must be
    // rewritten to real values before this file can be compiled.
    //
    //    TFCOMPILE_HEADER    : Path to the header file generated by tfcompile.
    //    TFCOMPILE_CPP_CLASS : Name of the C++ class generated by tfcompile.
    //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 19 20:05:05 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  8. docs/site-replication/README.md

    Previously, site replication required the root credentials of peer sites to be identical. This is no longer necessary because STS tokens are now signed with the site replicator service account credentials, thus allowing flexibility in the independent management of root accounts across sites and the ability to disable root accounts eventually.
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Feb 26 21:30:28 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  9. pkg/serviceaccount/legacy.go

    		for _, ref := range serviceAccount.Secrets {
    			if ref.Name == secret.Name {
    				autoGenerated = true
    				warning.AddWarning(ctx, "", "Use tokens from the TokenRequest API or manually created secret-based tokens instead of auto-generated secret-based tokens.")
    				audit.AddAuditAnnotation(ctx, "authentication.k8s.io/legacy-token-autogenerated-secret", secret.Name)
    				autoGeneratedTokensTotal.WithContext(ctx).Inc()
    				break
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 01 08:32:23 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/DecorateReleaseNotes.java

        @PathSensitive(PathSensitivity.NONE)
        public abstract RegularFileProperty getBaseCssFile();
    
        /**
         * Key-value pairs that are replaced in the generated HTML.
         *
         * This uses Ant style replacement tokens.
         */
        @Input
        public abstract MapProperty<String, String> getReplacementTokens();
    
        @Inject
        protected abstract FileSystemOperations getFs();
    
        @TaskAction
        public void transform() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 28 06:35:15 UTC 2021
    - 4.1K bytes
    - Viewed (0)
Back to top