Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 418 for Sall (0.13 sec)

  1. internal/grid/grid_test.go

    	start := time.Now()
    	req := testRequest{Num: 1, String: testPayload}
    	resp, err := h1.Call(context.Background(), remoteConn, &req)
    	errFatal(err)
    	if resp.OrgString != testPayload {
    		t.Errorf("want %q, got %q", testPayload, resp.OrgString)
    	}
    	t.Log("Roundtrip:", time.Since(start))
    	h1.PutResponse(resp)
    
    	start = time.Now()
    	resp, err = h2.Call(context.Background(), remoteConn, &testRequest{Num: 1, String: testPayload})
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 30 15:03:35 GMT 2024
    - 30.1K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/asm/endtoend_test.go

    			all := m[1]
    			mm := errQuotesRE.FindAllStringSubmatch(all, -1)
    			if len(mm) != 1 {
    				t.Errorf("%s: invalid errorcheck line:\n%s", fileline, line)
    			} else if err := errors[fileline]; err == "" {
    				t.Errorf("%s: missing error, want %s", fileline, all)
    			} else if !strings.Contains(err, mm[0][1]) {
    				t.Errorf("%s: wrong error for %s:\n%s", fileline, all, err)
    			}
    		} else {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Dec 07 18:42:59 GMT 2023
    - 11.6K bytes
    - Viewed (0)
  3. cmd/auth-handler_test.go

    				Body:   nopCloser,
    			},
    			authT: authTypePostPolicy,
    		},
    	}
    
    	// .. Tests all request auth type.
    	for i, testc := range testCases {
    		authT := getRequestAuthType(testc.req)
    		if authT != testc.authT {
    			t.Errorf("Test %d: Expected %d, got %d", i+1, testc.authT, authT)
    		}
    	}
    }
    
    // Test all s3 supported auth types.
    func TestS3SupportedAuthType(t *testing.T) {
    	type testCase struct {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  4. cmd/bucket-lifecycle.go

    			}
    		}
    	}
    	return ObjectOptions{
    		Versioned:        versioned,
    		VersionSuspended: versionSuspended,
    		VersionID:        vid,
    	}, nil
    }
    
    // set ObjectOptions for PUT call to restore temporary copy of transitioned data
    func putRestoreOpts(bucket, object string, rreq *RestoreObjectRequest, objInfo ObjectInfo) (putOpts ObjectOptions) {
    	meta := make(map[string]string)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  5. cmd/handler-utils.go

    		bugLogIf(ctx, errInvalidArgument)
    		return errInvalidArgument
    	}
    
    	nv := make(textproto.MIMEHeader, len(v))
    	for k, kv := range v {
    		// Canonicalize all headers, to remove any duplicates.
    		nv[http.CanonicalHeaderKey(k)] = kv
    	}
    
    	// Save all supported headers.
    	for _, supportedHeader := range supportedHeaders {
    		value, ok := nv[http.CanonicalHeaderKey(supportedHeader)]
    		if ok {
    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)
  6. internal/crypto/sse-kms.go

    		metadata[MetaKeyID] = keyID
    		metadata[MetaDataEncryptionKey] = base64.StdEncoding.EncodeToString(kmsKey)
    	}
    	return metadata
    }
    
    // ParseMetadata extracts all SSE-KMS related values from the object metadata
    // and checks whether they are well-formed. It returns the sealed object key
    // on success. If the metadata contains both, a KMS master key ID and a sealed
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  7. cni/pkg/nodeagent/net_test.go

    	// make sure the uid was taken from cache and netns closed
    	netns := fixture.podNsMap.Take(string(pod.UID))
    	assert.Equal(t, nil, netns)
    
    	// run gc to clean up ns:
    
    	//revive:disable-next-line:call-to-gc Just a test that we are cleaning up the netns
    	runtime.GC()
    	assertNSClosed(t, closed)
    }
    
    func TestServerDeletePod(t *testing.T) {
    	ctx, cancel := context.WithCancel(context.Background())
    	defer cancel()
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 16.4K bytes
    - Viewed (0)
  8. cmd/object-api-input-checks.go

    		// Objects cannot be contain \ in Windows and is listed as `Characters to Avoid`.
    		return ObjectNameInvalid{Bucket: bucket, Object: object}
    	}
    	return nil
    }
    
    // Checks for all ListObjects arguments validity.
    func checkListObjsArgs(ctx context.Context, bucket, prefix, marker string) error {
    	// Verify if bucket is valid.
    	if !isMinioMetaBucketName(bucket) && s3utils.CheckValidBucketNameStrict(bucket) != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  9. internal/grid/manager.go

    	// or changing an existing handler.
    	apiVersion = "v1"
    
    	// RoutePath is the remote path to connect to.
    	RoutePath = "/minio/grid/" + apiVersion
    )
    
    // Manager will contain all the connections to the grid.
    // It also handles incoming requests and routes them to the appropriate connection.
    type Manager struct {
    	// ID is an instance ID, that will change whenever the server restarts.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  10. cmd/tier.go

    		return t.Type, true
    	}
    	return madmin.Unsupported, false
    }
    
    // Add adds tier to config if it passes all validations.
    func (config *TierConfigMgr) Add(ctx context.Context, tier madmin.TierConfig, ignoreInUse bool) error {
    	config.Lock()
    	defer config.Unlock()
    
    	// check if tier name is in all caps
    	tierName := tier.Name
    	if tierName != strings.ToUpper(tierName) {
    		return errTierNameNotUppercase
    	}
    
    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)
Back to top