Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for nilable (0.21 sec)

  1. cmd/test-utils_test.go

    		SecretKey: auth.DefaultSecretKey,
    	}
    
    	// disable ENVs which interfere with tests.
    	for _, env := range []string{
    		crypto.EnvKMSAutoEncryption,
    		config.EnvAccessKey,
    		config.EnvSecretKey,
    		config.EnvRootUser,
    		config.EnvRootPassword,
    	} {
    		os.Unsetenv(env)
    	}
    
    	// Set as non-distributed.
    	globalIsDistErasure = false
    
    	// Disable printing console messages during tests.
    	color.Output = io.Discard
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  2. internal/s3select/select_test.go

    		t.Run(testCase.name, func(t *testing.T) {
    			// Hack cpuid to the CPU doesn't appear to support AVX2.
    			// Restore whatever happens.
    			if cpuid.CPU.Supports(cpuid.AVX2) {
    				cpuid.CPU.Disable(cpuid.AVX2)
    				defer cpuid.CPU.Enable(cpuid.AVX2)
    			}
    			if simdjson.SupportedCPU() {
    				t.Fatal("setup error: expected cpu to be unsupported")
    			}
    			testReq := testCase.requestXML
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 76.2K bytes
    - Viewed (0)
  3. cmd/batch-handlers.go

    		writeErrorResponseJSON(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	// Fill with default values
    	if job.Replicate != nil {
    		if job.Replicate.Source.Snowball.Disable == nil {
    			job.Replicate.Source.Snowball.Disable = ptr(false)
    		}
    		if job.Replicate.Source.Snowball.Batch == nil {
    			job.Replicate.Source.Snowball.Batch = ptr(100)
    		}
    		if job.Replicate.Source.Snowball.InMemory == nil {
    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)
  4. src/cmd/cgo/gcc.go

    		c = append(c,
    			"-ferror-limit=0",
    			// Apple clang version 1.7 (tags/Apple/clang-77) (based on LLVM 2.9svn)
    			// doesn't have -Wno-unneeded-internal-declaration, so we need yet another
    			// flag to disable the warning. Yes, really good diagnostics, clang.
    			"-Wno-unknown-warning-option",
    			"-Wno-unneeded-internal-declaration",
    			"-Wno-unused-function",
    			"-Qunused-arguments",
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  5. cmd/admin-handlers-users.go

    	if objectAPI == nil {
    		return
    	}
    
    	vars := mux.Vars(r)
    	accessKey := vars["accessKey"]
    	status := vars["status"]
    
    	// you cannot enable or disable yourself.
    	if accessKey == creds.AccessKey {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, errInvalidArgument), r.URL)
    		return
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 12:41:13 GMT 2024
    - 77.5K bytes
    - Viewed (0)
  6. cmd/bucket-handlers.go

    		output = make([]ObjectToDelete, len(input))
    		idx := 0
    		for obj := range input {
    			output[idx] = obj
    			idx++
    		}
    		return
    	}
    
    	// Disable timeouts and cancellation
    	ctx = bgContext(ctx)
    
    	deleteList := toNames(objectsToDelete)
    	dObjects, errs := deleteObjectsFn(ctx, bucket, deleteList, ObjectOptions{
    		PrefixEnabledFn:  vc.PrefixEnabled,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 16:27:27 GMT 2024
    - 61.6K bytes
    - Viewed (0)
Back to top