Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for printf (0.2 sec)

  1. cmd/sts-handlers_test.go

    	for i, testApp := range testApps {
    		configCmds := []string{
    			fmt.Sprintf("identity_openid:%d", i),
    			fmt.Sprintf("config_url=%s/.well-known/openid-configuration", testApp.ProviderURL),
    			fmt.Sprintf("client_id=%s", testApp.ClientID),
    			fmt.Sprintf("client_secret=%s", testApp.ClientSecret),
    			"scopes=openid,groups",
    			fmt.Sprintf("redirect_uri=%s", testApp.RedirectURL),
    		}
    		if rolePolicies[i] != "" {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
  2. cmd/test-utils_test.go

    	registerBucketLevelFunc(bucketRouter, api, apiFunctions...)
    }
    
    // Takes in Erasure object layer, and the list of API end points to be tested/required, registers the API end points and returns the HTTP handler.
    // Need isolated registration of API end points while writing unit tests for end points.
    // All the API end points are registered only for the default case.
    func initTestAPIEndPoints(objLayer ObjectLayer, apiFunctions []string) http.Handler {
    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)
  3. internal/s3select/select_test.go

    			if err != nil {
    				t.Fatal(err)
    			}
    
    			if err = s3Select.Open(file); err != nil {
    				t.Fatal(err)
    			}
    
    			fmt.Printf("R: \nE: %s\n" /* string(w.response), */, string(testCase.expectedResult))
    
    			w := &testResponseWriter{}
    			s3Select.Evaluate(w)
    			s3Select.Close()
    
    			if !reflect.DeepEqual(w.response, testCase.expectedResult) {
    				resp := http.Response{
    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)
  4. istioctl/pkg/describe/describe.go

    					fmt.Fprintf(writer, "WARNING: User ID (UID) 1337 is reserved for the sidecar proxy.\n")
    				}
    			}
    		}
    	}
    
    	fmt.Fprintf(writer, "Pod: %s\n", kname(pod.ObjectMeta))
    	fmt.Fprintf(writer, "   Pod Revision: %s\n", revision)
    	if len(ports) > 0 {
    		fmt.Fprintf(writer, "   Pod Ports: %s\n", strings.Join(ports, ", "))
    	} else {
    		fmt.Fprintf(writer, "   Pod does not expose ports\n")
    	}
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 50.4K bytes
    - Viewed (0)
  5. src/bytes/bytes_test.go

    				b[i+j] = byte(0)
    			}
    		}
    	}
    }
    
    var bmbuf []byte
    
    func valName(x int) string {
    	if s := x >> 20; s<<20 == x {
    		return fmt.Sprintf("%dM", s)
    	}
    	if s := x >> 10; s<<10 == x {
    		return fmt.Sprintf("%dK", s)
    	}
    	return fmt.Sprint(x)
    }
    
    func benchBytes(b *testing.B, sizes []int, f func(b *testing.B, n int)) {
    	for _, n := range sizes {
    		if isRaceBuilder && n > 4<<10 {
    			continue
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  6. cmd/xl-storage.go

    				res["tier-versions-"+name] = strconv.Itoa(tier.NumVersions)
    			}
    			if sizeS.failedCount > 0 {
    				res["repl-failed"] = fmt.Sprintf("%d versions, %d bytes", sizeS.failedCount, sizeS.failedSize)
    			}
    			if sizeS.pendingCount > 0 {
    				res["repl-pending"] = fmt.Sprintf("%d versions, %d bytes", sizeS.pendingCount, sizeS.pendingSize)
    			}
    			for tgt, st := range sizeS.replTargetStats {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  7. cmd/object-api-listobjects_test.go

    		{testBuckets[0], "unique/", "", "", 1000, true, ListObjectsInfo{}, resultCasesV[1], nil, true},
    	}
    
    	for i, testCase := range testCases {
    		testCase := testCase
    		t.Run(fmt.Sprintf("%s-Test%d", instanceType, i+1), func(t *testing.T) {
    			var err error
    			var resultL ListObjectsInfo
    			var resultV ListObjectVersionsInfo
    			if testCase.versioned {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 11:07:40 GMT 2024
    - 73.1K bytes
    - Viewed (0)
  8. cmd/object-api-multipart_test.go

    				{ETag: "e2fc714c4727ee9395f324cd2e7f331f", PartNumber: 10},
    			},
    		},
    		// inputParts - 3.
    		// Case with valid part.
    		// Part size greater than 5MB.
    		{
    			[]CompletePart{
    				{ETag: fmt.Sprintf("\"\"\"\"\"%s\"\"\"", validPartMD5), PartNumber: 5},
    			},
    		},
    		// inputParts - 4.
    		// Used to verify that the other remaining parts are deleted after
    		// a successful call to CompleteMultipartUpload.
    		{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 77.1K bytes
    - Viewed (0)
  9. cmd/api-errors.go

    	apiErr, ok := e[errCode]
    	if !ok {
    		apiErr = e[ErrInternalError]
    	}
    	if err != nil {
    		apiErr.Description = fmt.Sprintf("%s (%s)", apiErr.Description, err)
    	}
    	if globalSite.Region != "" {
    		if errCode == ErrAuthorizationHeaderMalformed {
    			apiErr.Description = fmt.Sprintf("The authorization header is malformed; the region is wrong; expecting '%s'.", globalSite.Region)
    			return apiErr
    		}
    	}
    	return apiErr
    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)
  10. cmd/iam.go

    		sa, _, err := sys.getServiceAccount(ctx, siteReplicatorSvcAcc)
    		if err == nil {
    			globalSiteReplicatorCred.Set(sa.Credentials)
    		}
    	}
    
    	if firstTime {
    		bootstrapTraceMsg(fmt.Sprintf("globalIAMSys.Load(): (duration: %s)", loadDuration))
    	}
    
    	select {
    	case <-sys.configLoaded:
    	default:
    		xioutil.SafeClose(sys.configLoaded)
    	}
    	return nil
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
Back to top