Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 1,972 for tolen (0.09 sec)

  1. tensorflow/c/experimental/filesystem/modular_filesystem.h

          const std::string& fname, TransactionToken* token,
          std::unique_ptr<ReadOnlyMemoryRegion>* result) override;
      Status FileExists(const std::string& fname, TransactionToken* token) override;
      bool FilesExist(const std::vector<std::string>& files,
                      TransactionToken* token,
                      std::vector<Status>* status) override;
      Status GetChildren(const std::string& dir, TransactionToken* token,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 12 08:49:52 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  2. src/go/types/commentMap_test.go

    	fset := token.NewFileSet()
    	file := fset.AddFile("", -1, len(src))
    
    	var s scanner.Scanner
    	s.Init(file, src, nil, scanner.ScanComments)
    	var prev token.Pos // position of last non-comment, non-semicolon token
    
    	for {
    		pos, tok, lit := s.Scan()
    		switch tok {
    		case token.EOF:
    			return
    		case token.COMMENT:
    			if lit[1] == '*' {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:27 UTC 2023
    - 3K bytes
    - Viewed (0)
  3. tests/test_security_oauth2_authorization_code_bearer_description.py

    app = FastAPI()
    
    oauth2_scheme = OAuth2AuthorizationCodeBearer(
        authorizationUrl="authorize",
        tokenUrl="token",
        description="OAuth2 Code Bearer",
        auto_error=True,
    )
    
    
    @app.get("/items/")
    async def read_items(token: Optional[str] = Security(oauth2_scheme)):
        return {"token": token}
    
    
    client = TestClient(app)
    
    
    def test_no_token():
        response = client.get("/items")
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  4. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/registry/DaemonInfo.java

        private final byte[] token;
        private final Clock clock;
    
        private State state;
        private long lastBusy;
    
        public DaemonInfo(Address address, DaemonContext context, byte[] token, State state) {
            this(address, context, token, state, Time.clock());
        }
    
        @VisibleForTesting
        DaemonInfo(Address address, DaemonContext context, byte[] token, State state, Clock busyClock) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  5. tests/test_security_oauth2_password_bearer_optional_description.py

    app = FastAPI()
    
    oauth2_scheme = OAuth2PasswordBearer(
        tokenUrl="/token",
        description="OAuth2PasswordBearer security scheme",
        auto_error=False,
    )
    
    
    @app.get("/items/")
    async def read_items(token: Optional[str] = Security(oauth2_scheme)):
        if token is None:
            return {"msg": "Create an account first"}
        return {"token": token}
    
    
    client = TestClient(app)
    
    
    def test_no_token():
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/cmd/options/constant.go

    	SkipTokenPrint = "skip-token-print"
    
    	// TokenStr flags sets both the discovery-token and the tls-bootstrap-token when those values are not provided
    	TokenStr = "token"
    
    	// TokenTTL flag sets the time to live for token
    	TokenTTL = "token-ttl"
    
    	// TokenUsages flag sets the usages of the token
    	TokenUsages = "usages"
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 05:14:21 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  7. cmd/jwt_test.go

    		t.Fatal(err)
    	}
    
    	creds := globalActiveCred
    	token, err := getTokenString(creds.AccessKey, creds.SecretKey)
    	if err != nil {
    		t.Fatalf("unable get token %s", err)
    	}
    	testCases := []struct {
    		req         *http.Request
    		expectedErr error
    	}{
    		// Set valid authorization header.
    		{
    			req: &http.Request{
    				Header: http.Header{
    					"Authorization": []string{token},
    				},
    			},
    			expectedErr: nil,
    		},
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Apr 19 16:45:14 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/mod/modfile/read.go

    		}
    	}
    	in.token.text = text
    	in.token.endPos = in.pos
    }
    
    // peek returns the kind of the next token returned by lex.
    func (in *input) peek() tokenKind {
    	return in.token.kind
    }
    
    // lex is called from the parser to obtain the next input token.
    func (in *input) lex() token {
    	tok := in.token
    	in.readToken()
    	return tok
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/windows/security_windows.go

    	return token, err
    }
    
    // GetCurrentProcessToken returns the access token associated with
    // the current process. It is a pseudo token that does not need
    // to be closed.
    func GetCurrentProcessToken() Token {
    	return Token(^uintptr(4 - 1))
    }
    
    // GetCurrentThreadToken return the access token associated with
    // the current thread. It is a pseudo token that does not need
    // to be closed.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 52.5K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/cmd/phases/init/bootstraptoken.go

    		This command makes all the configurations required to make bootstrap tokens works
    		and then creates an initial token.
    		`)
    
    	bootstrapTokenExamples = cmdutil.Examples(`
    		# Make all the bootstrap token configurations and create an initial token, functionally
    		# equivalent to what generated by kubeadm init.
    		kubeadm init phase bootstrap-token
    		`)
    )
    
    // NewBootstrapTokenPhase returns the phase to bootstrapToken
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 11 08:02:50 UTC 2022
    - 4.1K bytes
    - Viewed (0)
Back to top