Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 139 for succeed (0.16 sec)

  1. cmd/signals.go

    )
    
    func handleSignals() {
    	// Custom exit function
    	exit := func(success bool) {
    		if globalLoggerOutput != nil {
    			globalLoggerOutput.Close()
    		}
    
    		// If global profiler is set stop before we exit.
    		globalProfilerMu.Lock()
    		defer globalProfilerMu.Unlock()
    		for _, p := range globalProfiler {
    			p.Stop()
    		}
    
    		if success {
    			os.Exit(0)
    		}
    
    		os.Exit(1)
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:57:52 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  2. cmd/batch-handlers.go

    func (ri *batchJobInfo) trackMultipleObjectVersions(bucket string, info ObjectInfo, success bool) {
    	if success {
    		ri.Objects += int64(info.NumVersions)
    	} else {
    		ri.ObjectsFailed += int64(info.NumVersions)
    	}
    }
    
    func (ri *batchJobInfo) trackCurrentBucketObject(bucket string, info ObjectInfo, success bool) {
    	if ri == nil {
    		return
    	}
    
    	ri.mu.Lock()
    	defer ri.mu.Unlock()
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 55.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ImmutableTableTest.java

        } catch (NullPointerException e) {
          // success
        }
        try {
          builder.put(Tables.immutableCell('a', (Integer) null, "foo"));
          fail();
        } catch (NullPointerException e) {
          // success
        }
        try {
          builder.put(Tables.immutableCell('a', 1, (String) null));
          fail();
        } catch (NullPointerException e) {
          // success
        }
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 20K bytes
    - Viewed (0)
  4. cmd/batch-expire.go

    					} else {
    						stopFn(exp, err)
    						success = true
    						break
    					}
    				}
    				ri.trackMultipleObjectVersions(r.Bucket, exp, success)
    				if done {
    					break
    				}
    			}
    
    			if done {
    				return
    			}
    
    			// DeleteMultiple objects
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 21K bytes
    - Viewed (1)
  5. cmd/tier.go

    }
    
    type tierMetrics struct {
    	sync.RWMutex  // protects requestsCount only
    	requestsCount map[string]struct {
    		success int64
    		failure int64
    	}
    	histogram *prometheus.HistogramVec
    }
    
    var globalTierMetrics = tierMetrics{
    	requestsCount: make(map[string]struct {
    		success int64
    		failure int64
    	}),
    	histogram: prometheus.NewHistogramVec(prometheus.HistogramOpts{
    		Name:    "tier_ttlb_seconds",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  6. cmd/handler-utils.go

    	} else {
    		hostName = r.Host
    	}
    	return
    }
    
    // Proxy any request to an endpoint.
    func proxyRequest(ctx context.Context, w http.ResponseWriter, r *http.Request, ep ProxyEndpoint) (success bool) {
    	success = true
    
    	// Make sure we remove any existing headers before
    	// proxying the request to another node.
    	for k := range w.Header() {
    		w.Header().Del(k)
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 15.5K bytes
    - Viewed (3)
  7. cmd/encryption-v1.go

    // It returns the client provided key on success.
    func ParseSSECustomerRequest(r *http.Request) (key []byte, err error) {
    	return ParseSSECustomerHeader(r.Header)
    }
    
    // ParseSSECustomerHeader parses the SSE-C header fields and returns
    // the client provided key on success.
    func ParseSSECustomerHeader(header http.Header) (key []byte, err error) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 36.5K bytes
    - Viewed (0)
  8. internal/auth/credentials_test.go

    		t.Run("", func(t *testing.T) {
    			_, err := ExpToInt64(testCase.exp)
    			if err != nil && !testCase.expectedFailure {
    				t.Errorf("Expected success but got failure %s", err)
    			}
    			if err == nil && testCase.expectedFailure {
    				t.Error("Expected failure but got success")
    			}
    		})
    	}
    }
    
    func TestIsAccessKeyValid(t *testing.T) {
    	testCases := []struct {
    		accessKey      string
    		expectedResult bool
    	}{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  9. configure.py

        error_msg: (String) String with one and only one '%s'. Formatted with each
          invalid response upon check_success(input) failure.
        suppress_default_error: (Bool) Suppress the above error message in favor of
          one from the check_success function.
        resolve_symlinks: (Bool) Translate symbolic links into the real filepath.
        n_ask_attempts: (Integer) Number of times to query for valid input before
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 18:25:36 GMT 2024
    - 53.8K bytes
    - Viewed (1)
  10. CHANGELOG/CHANGELOG-1.26.md

    - Fixed two regressions introduced by the PodDisruptionConditions feature (on by default in 1.26):
      - pod eviction API calls returned spurious precondition errors and required a second evict API call to succeed
      - dry-run eviction API calls persisted a DisruptionTarget condition into the pod being evicted ([#116750](https://github.com/kubernetes/kubernetes/pull/116750), [@atiratree](https://github.com/atiratree)) [SIG API Machinery and Testing]
    Plain Text
    - Registered: Fri May 03 09:05:14 GMT 2024
    - Last Modified: Thu Mar 14 16:24:51 GMT 2024
    - 425.7K bytes
    - Viewed (0)
Back to top