Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 76 for attempt (0.15 sec)

  1. internal/logger/target/kafka/kafka_scram_client_contrib.go

    var KafkaSHA512 scram.HashGeneratorFcn = sha512.New
    
    // XDGSCRAMClient implements the client-side of an authentication
    // conversation with a server.  A new conversation must be created for
    // each authentication attempt.
    type XDGSCRAMClient struct {
    	*scram.Client
    	*scram.ClientConversation
    	scram.HashGeneratorFcn
    }
    
    // Begin constructs a SCRAM client component based on a given hash.Hash
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Nov 09 04:04:01 GMT 2023
    - 3.3K bytes
    - Viewed (1)
  2. cmd/erasure-object.go

    		// to attempt a heal on the object.
    		if countErrs(errs, errDiskNotFound) > 0 {
    			return
    		}
    
    		var missingBlocks int
    		for i := range errs {
    			if IsErr(errs[i],
    				errFileNotFound,
    				errFileVersionNotFound,
    				errFileCorrupt,
    			) {
    				missingBlocks++
    			}
    		}
    
    		// if missing metadata can be reconstructed, attempt to reconstruct.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  3. internal/rest/client.go

    		// Protect against integer overflow
    		panic("unit cannot exceed one hour")
    	}
    	return func(attempt uint) time.Duration {
    		if attempt > 16 {
    			// Protect against integer overflow
    			attempt = 16
    		}
    		// sleep = random_between(unit, min(cap, base * 2 ** attempt))
    		sleep := unit * time.Duration(1<<attempt)
    		if sleep > cap {
    			sleep = cap
    		}
    		sleep -= time.Duration(r.Float64() * float64(sleep-unit))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 14.4K bytes
    - Viewed (0)
  4. cmd/server_test.go

    	response, err = s.client.Do(request)
    	c.Assert(err, nil)
    	// Assert the response status code.
    	c.Assert(response.StatusCode, http.StatusNoContent)
    }
    
    // TestDeleteBucketNotEmpty - Validates the operation during an attempt to delete a non-empty bucket.
    func (s *TestSuiteCommon) TestDeleteBucketNotEmpty(c *check) {
    	// generate a random bucket name.
    	bucketName := getRandomBucketName()
    
    	// HTTP request to create the bucket.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  5. cmd/erasure-server-pool.go

    	})
    
    	// initialize the object layer.
    	defer setObjectLayer(z)
    
    	r := rand.New(rand.NewSource(time.Now().UnixNano()))
    	attempt := 1
    	for {
    		var err error
    		bootstrapTrace(fmt.Sprintf("poolMeta.Init: loading pool metadata, attempt: %d", attempt), func() {
    			err = z.Init(ctx) // Initializes all pools.
    		})
    		if err != nil {
    			if !configRetriableErrors(err) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  6. internal/config/identity/openid/openid.go

    			// initialization.
    
    			// Generate role ARN as combination of provider domain and
    			// prefix of client ID.
    			domain := configURLDomain
    			if domain == "" {
    				// Attempt to parse the JWKs URI.
    				domain = p.JWKS.URL.Hostname()
    				if domain == "" {
    					return c, config.Errorf("unable to parse a domain from the OpenID config")
    				}
    			}
    			if p.ClientID == "" {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Nov 16 04:42:31 GMT 2023
    - 16.5K bytes
    - Viewed (0)
  7. cmd/api-errors.go

    	},
    	ErrCastFailed: {
    		Code:           "CastFailed",
    		Description:    "Attempt to convert from one data type to another using CAST failed in the SQL expression.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrInvalidCast: {
    		Code:           "InvalidCast",
    		Description:    "Attempt to convert from one data type to another using CAST failed in the SQL expression.",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  8. cmd/speedtest.go

    					errStr = fmt.Sprintf("no results for downloads upon first attempt, concurrency %d and duration %s", opts.concurrencyStart, opts.duration)
    				}
    
    				// if the default concurrency yields zero results, throw an error.
    				if throughputHighestResults[i].Uploads == 0 && opts.concurrencyStart == concurrency {
    					errStr = fmt.Sprintf("no results for uploads upon first attempt, concurrency %d and duration %s", opts.concurrencyStart, opts.duration)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Jan 28 18:04:17 GMT 2024
    - 9K bytes
    - Viewed (0)
  9. internal/s3select/select.go

    			if s3Select.statement.IsAggregated() {
    				if err = s3Select.statement.AggregateRow(*inputRecord); err != nil {
    					break OuterLoop
    				}
    			} else {
    				var outputRecord sql.Record
    				// We will attempt to reuse the records in the table.
    				// The type of these should not change.
    				// The queue should always have at least one entry left for this to work.
    				outputQueue = outputQueue[:len(outputQueue)+1]
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Nov 06 22:26:08 GMT 2023
    - 21K bytes
    - Viewed (0)
  10. cmd/lock-rest-client_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    
    	lkClient := newlockRESTClient(endpoint)
    	if lkClient.IsOnline() {
    		t.Fatalf("unexpected result. connection was online")
    	}
    
    	// Attempt all calls.
    	_, err = lkClient.RLock(context.Background(), dsync.LockArgs{})
    	if err == nil {
    		t.Fatal("Expected for Rlock to fail")
    	}
    
    	_, err = lkClient.Lock(context.Background(), dsync.LockArgs{})
    	if err == nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Nov 21 01:09:35 GMT 2023
    - 2K bytes
    - Viewed (0)
Back to top