Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 565 for tolen (0.1 sec)

  1. src/cmd/vendor/golang.org/x/sys/unix/zsysnum_netbsd_arm.go

    	SYS_MKFIFO               = 132 // { int|sys||mkfifo(const char *path, mode_t mode); }
    	SYS_SENDTO               = 133 // { ssize_t|sys||sendto(int s, const void *buf, size_t len, int flags, const struct sockaddr *to, socklen_t tolen); }
    	SYS_SHUTDOWN             = 134 // { int|sys||shutdown(int s, int how); }
    	SYS_SOCKETPAIR           = 135 // { int|sys||socketpair(int domain, int type, int protocol, int *rsv); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 25.7K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/walk/builtin.go

    	// n = len(to)
    	l = append(l, ir.NewAssignStmt(base.Pos, nlen, ir.NewUnaryExpr(base.Pos, ir.OLEN, nl)))
    
    	// if n > len(frm) { n = len(frm) }
    	nif := ir.NewIfStmt(base.Pos, nil, nil, nil)
    
    	nif.Cond = ir.NewBinaryExpr(base.Pos, ir.OGT, nlen, ir.NewUnaryExpr(base.Pos, ir.OLEN, nr))
    	nif.Body.Append(ir.NewAssignStmt(base.Pos, nlen, ir.NewUnaryExpr(base.Pos, ir.OLEN, nr)))
    	l = append(l, nif)
    
    	// if to.ptr != frm.ptr { memmove( ... ) }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 22:35:22 UTC 2024
    - 31.2K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/discovery/token/token.go

    			bootstrapapi.KubeConfigKey, bootstrapapi.ConfigMapClusterInfo)
    	}
    
    	detachedJWSToken, ok := insecureClusterInfo.Data[bootstrapapi.JWSSignatureKeyPrefix+token.ID]
    	if !ok || len(detachedJWSToken) == 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 14 13:07:56 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/cmd/token.go

    				TTL:         token.TTL,
    				Expires:     token.Expires,
    				Usages:      token.Usages,
    				Groups:      token.Groups,
    			},
    		}
    
    		if err := printer.PrintObj(&outputToken, out); err != nil {
    			return errors.Wrapf(err, "unable to print token %s", token.Token)
    		}
    	}
    	return nil
    }
    
    // RunDeleteTokens removes a bootstrap tokens from the server.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 05:47:48 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  5. pkg/registry/core/serviceaccount/storage/token.go

    	// Tweak expiration for safe transition of projected service account token.
    	// Warn (instead of fail) after requested expiration time.
    	// Fail after hard-coded extended expiration time.
    	// Only perform the extension when token is pod-bound.
    	var warnAfter int64
    	exp := req.Spec.ExpirationSeconds
    	if r.extendExpiration && pod != nil && req.Spec.ExpirationSeconds == token.WarnOnlyBoundTokenExpirationSeconds && r.isKubeAudiences(req.Spec.Audiences) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 05 10:24:31 UTC 2024
    - 10K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/security/oauth2-jwt.md

    But it's signed. So, when you receive a token that you emitted, you can verify that you actually emitted it.
    
    That way, you can create a token with an expiration of, let's say, 1 week. And then when the user comes back the next day with the token, you know that user is still logged in to your system.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon May 20 17:37:28 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/security/simple-oauth2.md

    ## Return the token
    
    The response of the `token` endpoint must be a JSON object.
    
    It should have a `token_type`. In our case, as we are using "Bearer" tokens, the token type should be "`bearer`".
    
    And it should have an `access_token`, with a string containing our access token.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/util/config/common_test.go

    					t.Fatalf("unexpected error returned by GroupVersionKindsFromBytes: %v", err)
    				}
    				if len(gvks) != len(test.expectedKinds) {
    					t.Fatalf("length mismatch between resulting gvks and expected kinds:\n\tlen(gvks)=%d\n\tlen(expectedKinds)=%d",
    						len(gvks), len(test.expectedKinds))
    				}
    				for _, expectedKind := range test.expectedKinds {
    					if !kubeadmutil.GroupVersionKindsHasKind(gvks, expectedKind) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 05:14:21 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  9. src/go/scanner/scanner_test.go

    	{token.LAND, "&&", operator},
    	{token.LOR, "||", operator},
    	{token.ARROW, "<-", operator},
    	{token.INC, "++", operator},
    	{token.DEC, "--", operator},
    
    	{token.EQL, "==", operator},
    	{token.LSS, "<", operator},
    	{token.GTR, ">", operator},
    	{token.ASSIGN, "=", operator},
    	{token.NOT, "!", operator},
    
    	{token.NEQ, "!=", operator},
    	{token.LEQ, "<=", operator},
    	{token.GEQ, ">=", operator},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 15:38:31 UTC 2023
    - 34.6K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_bigger_applications/test_main_an.py

        response = client.put(
            "/items/bar?token=jessica", headers={"X-Token": "fake-super-secret-token"}
        )
        assert response.status_code == 403, response.text
        assert response.json() == {"detail": "You can only update the item: plumbus"}
    
    
    def test_admin(client: TestClient):
        response = client.post(
            "/admin/?token=jessica", headers={"X-Token": "fake-super-secret-token"}
        )
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 24.6K bytes
    - Viewed (0)
Back to top