Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 14 for wanted (0.15 seconds)

  1. cmd/data-usage-cache_gen.go

    			zb0002, err = dc.ReadArrayHeader()
    			if err != nil {
    				err = msgp.WrapError(err, "ObjSizes")
    				return
    			}
    			if zb0002 != uint32(dataUsageBucketLen) {
    				err = msgp.ArrayError{Wanted: uint32(dataUsageBucketLen), Got: zb0002}
    				return
    			}
    			for za0001 := range z.ObjSizes {
    				z.ObjSizes[za0001], err = dc.ReadUint64()
    				if err != nil {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 85.5K bytes
    - Click Count (0)
  2. cmd/bucket-stats_gen.go

    			var zb0002 uint32
    			zb0002, err = dc.ReadArrayHeader()
    			if err != nil {
    				err = msgp.WrapError(err, "Totals")
    				return
    			}
    			if zb0002 != uint32(60) {
    				err = msgp.ArrayError{Wanted: uint32(60), Got: zb0002}
    				return
    			}
    			for za0001 := range z.Totals {
    				err = z.Totals[za0001].DecodeMsg(dc)
    				if err != nil {
    					err = msgp.WrapError(err, "Totals", za0001)
    					return
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 57.3K bytes
    - Click Count (0)
  3. src/bufio/bufio_test.go

    			br := NewReaderSize(r, size)
    			want := func(s string, wantErr error) {
    				p := make([]byte, 50)
    				n, err := br.Read(p)
    				if err != wantErr || n != len(s) || string(p[:n]) != s {
    					t.Fatalf("read(%d) = %q, %v, want %q, %v", len(p), string(p[:n]), err, s, wantErr)
    				}
    				t.Logf("read(%d) = %q, %v", len(p), string(p[:n]), err)
    			}
    			want("abc", nil)
    			want("", nil)
    			want("def", nil)
    			want("", io.EOF)
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Fri Feb 07 01:08:54 GMT 2025
    - 51.6K bytes
    - Click Count (0)
  4. cmd/xl-storage-format-v2_gen.go

    	var zb0001 uint32
    	zb0001, err = dc.ReadArrayHeader()
    	if err != nil {
    		err = msgp.WrapError(err)
    		return
    	}
    	if zb0001 != 7 {
    		err = msgp.ArrayError{Wanted: 7, Got: zb0001}
    		return
    	}
    	err = dc.ReadExactBytes((z.VersionID)[:])
    	if err != nil {
    		err = msgp.WrapError(err, "VersionID")
    		return
    	}
    	z.ModTime, err = dc.ReadInt64()
    	if err != nil {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 55.8K bytes
    - Click Count (0)
  5. cmd/xl-storage_test.go

    	// Validate all test cases.
    	for i, testCase := range testCases {
    		// Initialize a new xlStorage layer.
    		_, err := newLocalXLStorage(testCase.name)
    		if err != testCase.err {
    			t.Fatalf("TestXLStorage %d failed wanted: %s, got: %s", i+1, err, testCase.err)
    		}
    	}
    }
    
    // TestXLStorageMakeVol - TestXLStorage validate the logic for creation of new xlStorage volume.
    // Asserts the failures too against the expected failures.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 66K bytes
    - Click Count (0)
  6. cmd/erasure-object.go

    		case encrypted:
    			decSize, err := sio.DecryptedSize(uint64(n))
    			if err == nil {
    				actualSize = int64(decSize)
    			}
    		default:
    			actualSize = n
    		}
    	}
    	// If ServerSideChecksum is wanted for this object, it takes precedence
    	// over opts.WantChecksum.
    	if opts.WantServerSideChecksumType.IsSet() {
    		serverSideChecksum := r.RawServerSideChecksumResult()
    		if serverSideChecksum != nil {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Oct 24 04:05:31 GMT 2025
    - 80.4K bytes
    - Click Count (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java

                Version version,
                String string,
                String sourceHint,
                InputLocationTracker tracker,
                String banned) {
            if (string != null) {
                for (int i = string.length() - 1; i >= 0; i--) {
                    if (banned.indexOf(string.charAt(i)) >= 0) {
                        addViolation(
                                problems,
                                severity,
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 03 15:06:05 GMT 2025
    - 66.8K bytes
    - Click Count (0)
  8. cmd/admin-handlers-users.go

    		return
    	}
    
    	writeSuccessResponseJSON(w, usageInfoJSON)
    }
    
    // InfoCannedPolicy - GET /minio/admin/v3/info-canned-policy?name={policyName}
    //
    // Newer API response with policy timestamps is returned with query parameter
    // `v=2` like:
    //
    // GET /minio/admin/v3/info-canned-policy?name={policyName}&v=2
    //
    // The newer API will eventually become the default (and only) one. The older
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 90.6K bytes
    - Click Count (0)
  9. cmd/iam.go

    		UpdateDate: d.UpdateDate,
    	}, nil
    }
    
    // ListPolicies - lists all canned policies.
    func (sys *IAMSys) ListPolicies(ctx context.Context, bucketName string) (map[string]policy.Policy, error) {
    	if !sys.Initialized() {
    		return nil, errServerNotInitialized
    	}
    
    	return sys.store.ListPolicies(ctx, bucketName)
    }
    
    // ListPolicyDocs - lists all canned policy docs.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Oct 15 17:00:45 GMT 2025
    - 76.5K bytes
    - Click Count (0)
  10. cmd/iam-store.go

    // additionally support watching storage for changes.
    type iamStorageWatcher interface {
    	watch(ctx context.Context, keyPath string) <-chan iamWatchEvent
    }
    
    // Set default canned policies only if not already overridden by users.
    func setDefaultCannedPolicies(policies map[string]PolicyDoc) {
    	for _, v := range policy.DefaultPolicies {
    		if _, ok := policies[v.Name]; !ok {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 87.1K bytes
    - Click Count (0)
Back to Top