Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 126 for Othman (0.26 sec)

  1. cmd/storage-errors.go

    // errLessData - returned when less data available than what was requested.
    var errLessData = StorageErr("less data available than what was requested")
    
    // errMoreData = returned when more data was sent by the caller than what it was supposed to.
    var errMoreData = StorageErr("more data was sent than what was advertised")
    
    // indicates readDirFn to return without further applying the fn()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  2. cmd/object-api-errors.go

    func (e ObjectTooLarge) Error() string {
    	return "size of the object greater than what is allowed(5G)"
    }
    
    // ObjectTooSmall error returned when the size of the object < what is expected.
    type ObjectTooSmall GenericError
    
    func (e ObjectTooSmall) Error() string {
    	return "size of the object less than what is expected"
    }
    
    // OperationTimedOut - a timeout occurred.
    type OperationTimedOut struct{}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  3. cni/pkg/nodeagent/netns_linux_test.go

    import "testing"
    
    func TestOpenNetns(t *testing.T) {
    	ns, err := OpenNetns("/proc/self/ns/net")
    	if err != nil {
    		t.Fatalf("unexpected error: %v", err)
    	}
    	// the inode for netns is proc dynamic, so it needs to be higher than
    	// #define PROC_DYNAMIC_FIRST 0xF0000000U
    
    	if ns.Inode() < 0xF0000000 {
    		t.Fatalf("unexpected inode: %v", ns.Inode())
    	}
    	defer ns.Close()
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 976 bytes
    - Viewed (0)
  4. cmd/erasure-object_test.go

    			t.Errorf("Expected GetObject to fail with %v, but failed with %v", toObjectErr(errErasureReadQuorum, bucket, object), err)
    		}
    		gr.Close()
    	}
    
    	// Test use case 2: Make 9 disks offline, which leaves less than quorum number of disks
    	// in a 16 disk Erasure setup. The original disks are 'replaced' with
    	// naughtyDisks that fail after 'f' successful StorageAPI method
    	// invocations, where f - [0,2)
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 36.8K bytes
    - Viewed (0)
  5. internal/config/api/help.go

    			Optional:    true,
    			Type:        "number",
    		},
    		config.HelpKV{
    			Key:         apiStaleUploadsExpiry,
    			Description: `set to expire stale multipart uploads older than this values` + defaultHelpPostfix(apiStaleUploadsExpiry),
    			Optional:    true,
    			Type:        "duration",
    		},
    		config.HelpKV{
    			Key:         apiStaleUploadsCleanupInterval,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 15 01:07:19 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  6. cni/pkg/nodeagent/podcgroupns.go

    			containerID = candidateContainerID
    		case containerID != candidateContainerID:
    			// More than one container ID found in the cgroups.
    			return "", "", fmt.Errorf("multiple container IDs found in cgroups (%s, %s)",
    				containerID, candidateContainerID)
    		case podUID != candidatePodUID:
    			// More than one pod UID found in the cgroups.
    			return "", "", fmt.Errorf("multiple pod UIDs found in cgroups (%s, %s)",
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 11K bytes
    - Viewed (0)
  7. cmd/api-errors.go

    	},
    	ErrFilterNamePrefix: {
    		Code:           "InvalidArgument",
    		Description:    "Cannot specify more than one prefix rule in a filter.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrFilterNameSuffix: {
    		Code:           "InvalidArgument",
    		Description:    "Cannot specify more than one suffix rule in a filter.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrFilterValueInvalid: {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (6)
  8. cmd/erasure-object.go

    	if !dstOpts.NoAuditLog {
    		auditObjectErasureSet(ctx, dstObject, &er)
    	}
    
    	// This call shouldn't be used for anything other than metadata updates or adding self referential versions.
    	if !srcInfo.metadataOnly {
    		return oi, NotImplemented{}
    	}
    
    	if !dstOpts.NoLock {
    		lk := er.NewNSLock(dstBucket, dstObject)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  9. cmd/erasure-heal_test.go

    func TestErasureHeal(t *testing.T) {
    	for i, test := range erasureHealTests {
    		if test.offDisks < test.badStaleDisks {
    			// test case sanity check
    			t.Fatalf("Test %d: Bad test case - number of stale drives cannot be less than number of badstale drives", i)
    		}
    
    		// create some test data
    		setup, err := newErasureTestSetup(t, test.dataBlocks, test.disks-test.dataBlocks, test.blocksize)
    		if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 7.9K bytes
    - Viewed (0)
  10. src/bytes/bytes.go

    	type span struct {
    		start int
    		end   int
    	}
    	spans := make([]span, 0, 32)
    
    	// Find the field start and end indices.
    	// Doing this in a separate pass (rather than slicing the string s
    	// and collecting the result substrings right away) is significantly
    	// more efficient, possibly due to cache effects.
    	start := -1 // valid span start if >= 0
    	for i := 0; i < len(s); {
    		size := 1
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Feb 19 19:51:15 GMT 2024
    - 33.8K bytes
    - Viewed (0)
Back to top