Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for Kunitz (0.22 sec)

  1. cmd/admin-handlers_test.go

    	"testing"
    	"time"
    
    	"github.com/minio/madmin-go/v3"
    	"github.com/minio/minio/internal/auth"
    	"github.com/minio/mux"
    )
    
    // adminErasureTestBed - encapsulates subsystems that need to be setup for
    // admin-handler unit tests.
    type adminErasureTestBed struct {
    	erasureDirs []string
    	objLayer    ObjectLayer
    	router      *mux.Router
    	done        context.CancelFunc
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  2. internal/dsync/drwmutex.go

    	"github.com/minio/minio/internal/mcontext"
    	"github.com/minio/pkg/v2/console"
    	"github.com/minio/pkg/v2/env"
    )
    
    // Indicator if logging is enabled.
    var dsyncLog bool
    
    // Retry unit interval
    var lockRetryMinInterval time.Duration
    
    var lockRetryBackOff func(*rand.Rand, uint) time.Duration
    
    func init() {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  3. istioctl/pkg/proxyconfig/proxyconfig_test.go

    			execClientConfig: loggingConfig,
    			args:             strings.Split("clusters httpbin-794b576b6c-qx6pf", " "),
    			expectedString:   `config dump has no configuration type`,
    			wantException:    true,
    		},
    		{ // supplying valid pod name retrieves Envoy config (fails because we don't check in Envoy config unit tests)
    			execClientConfig: loggingConfig,
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Apr 10 21:51:29 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  4. cmd/batch-job-common-types.go

    // column information guiding user to fix syntax errors
    type BatchJobYamlErr struct {
    	line, col int
    	msg       string
    }
    
    // message returns the error message excluding line, col information.
    // Intended to be used in unit tests.
    func (b BatchJobYamlErr) message() string {
    	return b.msg
    }
    
    // Error implements Error interface
    func (b BatchJobYamlErr) Error() string {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 01 21:53:26 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  5. cni/pkg/plugin/sidecar_iptables_linux.go

    	"istio.io/istio/pkg/log"
    	"istio.io/istio/tools/istio-iptables/pkg/cmd"
    	"istio.io/istio/tools/istio-iptables/pkg/config"
    	"istio.io/istio/tools/istio-iptables/pkg/dependencies"
    )
    
    // getNs is a unit test override variable for interface create.
    var getNs = ns.GetNS
    
    // Program defines a method which programs iptables based on the parameters
    // provided in Redirect.
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Apr 18 17:36:41 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  6. cmd/leak-detect_test.go

    // DetectTestLeak -  snapshots the currently running goroutines and returns a
    // function to be run at the end of tests to see whether any
    // goroutines leaked.
    // Usage: `defer DetectTestLeak(t)()` in beginning line of benchmarks or unit tests.
    func DetectTestLeak(t TestErrHandler) func() {
    	initialStackSnapShot := NewLeakDetect()
    	return func() {
    		initialStackSnapShot.DetectLeak(t)
    	}
    }
    
    // list of functions to be ignored from the stack trace.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  7. cmd/test-utils_test.go

    // made generalized, and can be integrated in benchmarks/unit tests/go check suite tests.
    type TestErrHandler interface {
    	testing.TB
    }
    
    const (
    	// ErasureSDStr is the string which is used as notation for Single node ObjectLayer in the unit tests.
    	ErasureSDStr string = "ErasureSD"
    
    	// ErasureTestStr is the string which is used as notation for Erasure ObjectLayer in the unit tests.
    	ErasureTestStr string = "Erasure"
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:06:57 GMT 2024
    - 75.7K bytes
    - Viewed (0)
  8. internal/rest/client.go

    func exponentialBackoffWait(r *rand.Rand, unit, cap time.Duration) func(uint) time.Duration {
    	if unit > time.Hour {
    		// 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))
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14K bytes
    - Viewed (0)
  9. operator/cmd/mesh/operator-init.go

    )
    
    type operatorInitArgs struct {
    	// inFilenames is the path to the input IstioOperator CR.
    	inFilename string
    
    	// common is shared operator args
    	common operatorCommonArgs
    }
    
    // kubeClients is a unit test override variable for client interfaces creation.
    var kubeClients = KubernetesClients
    
    func addOperatorInitFlags(cmd *cobra.Command, args *operatorInitArgs) {
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  10. cmd/object-api-listobjects_test.go

    func TestListObjects(t *testing.T) {
    	ExecObjectLayerTest(t, testListObjects)
    }
    
    // Unit test for ListObjects on VersionedBucket.
    func testListObjectsOnVersionedBuckets(obj ObjectLayer, instanceType string, t1 TestErrHandler) {
    	_testListObjects(obj, instanceType, t1, true)
    }
    
    // Unit test for ListObjects.
    func testListObjects(obj ObjectLayer, instanceType string, t1 TestErrHandler) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 73.1K bytes
    - Viewed (0)
Back to top