Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 85 for toen (0.14 sec)

  1. src/bufio/example_test.go

    	// Create a custom split function by wrapping the existing ScanWords function.
    	split := func(data []byte, atEOF bool) (advance int, token []byte, err error) {
    		advance, token, err = bufio.ScanWords(data, atEOF)
    		if err == nil && token != nil {
    			_, err = strconv.ParseInt(string(token), 10, 32)
    		}
    		return
    	}
    	// Set the split function for the scanning operation.
    	scanner.Split(split)
    	// Validate the input
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Oct 23 09:06:30 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  2. internal/config/identity/openid/jwt_test.go

    	if err := updateClaimsExpiry("3600", claimsMap.MapClaims); err != nil {
    		t.Error(err)
    	}
    	// Build simple token with updated expiration claim
    	token := jwtgo.NewWithClaims(jwtgo.SigningMethodHS256, claimsMap)
    	tokenString, err := token.SignedString(signKey)
    	if err != nil {
    		t.Error(err)
    	}
    
    	// Parse token to be sure it is valid
    	err = jwtm.ParseWithClaims(tokenString, claimsMap, func(*jwtm.MapClaims) ([]byte, error) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  3. cmd/warm-backend-azure.go

    	}
    
    	// Refresh obtains a fresh token
    	err = spt.Refresh()
    	if err != nil {
    		return nil, err
    	}
    
    	tc := azblob.NewTokenCredential(spt.Token().AccessToken, func(tc azblob.TokenCredential) time.Duration {
    		err := spt.Refresh()
    		if err != nil {
    			return 0
    		}
    		// set the new token value
    		tc.SetToken(spt.Token().AccessToken)
    
    		// get the next token before the current one expires
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 05 16:44:08 GMT 2024
    - 7.8K bytes
    - Viewed (1)
  4. internal/config/constants.go

    	EnvMinIOLogQueryURL           = "MINIO_LOG_QUERY_URL"
    	EnvMinIOLogQueryAuthToken     = "MINIO_LOG_QUERY_AUTH_TOKEN"
    	EnvMinIOPrometheusURL         = "MINIO_PROMETHEUS_URL"
    	EnvMinIOPrometheusJobID       = "MINIO_PROMETHEUS_JOB_ID"
    	EnvMinIOPrometheusExtraLabels = "MINIO_PROMETHEUS_EXTRA_LABELS"
    	EnvMinIOPrometheusAuthToken   = "MINIO_PROMETHEUS_AUTH_TOKEN"
    
    	EnvUpdate = "MINIO_UPDATE"
    
    	EnvEndpoints  = "MINIO_ENDPOINTS"   // legacy
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jan 01 16:36:33 GMT 2024
    - 3.4K bytes
    - Viewed (3)
  5. cmd/namespace-lock_test.go

    		// To trigger the race:
    		// 1) lk3 or lk4 need to advance and increment the ref on the existing resource,
    		//    successfully acquiring the lock.
    		// 2) lk2 then needs to advance and remove the resource from lockMap.
    		// 3) lk3 or lk4 (whichever didn't execute in step 1) then executes and creates
    		//    a new entry in lockMap and acquires a lock for the same resource.
    
    		<-lk2ch
    		lk3ok := <-lk3ch
    		lk4ok := <-lk4ch
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 3.1K bytes
    - Viewed (0)
  6. src/cmd/cgo/godefs.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    import (
    	"fmt"
    	"go/ast"
    	"go/printer"
    	"go/token"
    	"os"
    	"path/filepath"
    	"strings"
    )
    
    // godefs returns the output for -godefs mode.
    func (p *Package) godefs(f *File, args []string) string {
    	var buf strings.Builder
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Sep 08 14:33:35 GMT 2022
    - 4.5K bytes
    - Viewed (0)
  7. istioctl/pkg/internaldebug/internal-debug.go

      # Retrieve syncz debug information directly from the control plane, using token security
      # (This is the usual way to get the debug information with an out-of-cluster control plane.)
      istioctl x internal-debug syncz --xds-address istio.cloudprovider.example.com:15012
    
      # Retrieve syncz debug information via Kubernetes config, using token security
      # (This is the usual way to get the debug information with an in-cluster control plane.)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 04:16:55 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  8. istioctl/pkg/proxystatus/proxystatus.go

      # SECURITY OPTIONS
    
      # Retrieve proxy status information directly from the control plane, using token security
      # (This is the usual way to get the proxy-status with an out-of-cluster control plane.)
      istioctl ps --xds-address istio.cloudprovider.example.com:15012
    
      # Retrieve proxy status information via Kubernetes config, using token security
      # (This is the usual way to get the proxy-status with an in-cluster control plane.)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  9. cmd/speedtest.go

    	ch := make(chan madmin.SpeedTestResult, 1)
    	go func() {
    		defer xioutil.SafeClose(ch)
    
    		concurrency := opts.concurrencyStart
    
    		if opts.autotune {
    			// if we have less drives than concurrency then choose
    			// only the concurrency to be number of drives to start
    			// with - since default '32' might be big and may not
    			// complete in total time of 10s.
    			if globalEndpoints.NEndpoints() < concurrency {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Jan 28 18:04:17 GMT 2024
    - 9K bytes
    - Viewed (0)
  10. internal/config/subnet/help.go

    	HelpSubnet = config.HelpKVS{
    		config.HelpKV{
    			Key:         config.License, // Deprecated Dec 2021
    			Type:        "string",
    			Description: "[DEPRECATED use api_key] Subnet license token for the cluster" + defaultHelpPostfix(config.License),
    			Optional:    true,
    			Sensitive:   true,
    		},
    		config.HelpKV{
    			Key:         config.APIKey,
    			Type:        "string",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jul 13 19:24:47 GMT 2023
    - 1.7K bytes
    - Viewed (0)
Back to top