Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for pages (0.12 sec)

  1. cmd/object-api-listobjects_test.go

    			Prefixes: []string{"apache2-doc/", "apache2/", "azerty/"},
    		},
    	}
    
    	testCases := []struct {
    		// Inputs to ListObjects.
    		bucketName string
    		prefix     string
    		delimiter  string
    		page       int
    		// Expected output of ListObjects.
    		result ListObjectsInfo
    	}{
    		{testBuckets[0], "", "", 1, resultCases[0]},
    		{testBuckets[0], "a", "", 1, resultCases[0]},
    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)
  2. cmd/xl-storage.go

    			}
    			return nil, dmTime, errUnsupportedDisk
    		}
    		return nil, dmTime, err
    	}
    
    	if discard {
    		// This discard is mostly true for DELETEEs
    		// so we need to make sure we do not keep
    		// page-cache references after.
    		defer disk.Fdatasync(f)
    	}
    
    	defer f.Close()
    
    	// Get size for precise allocation.
    	stat, err := f.Stat()
    	if err != nil {
    		buf, err = io.ReadAll(f)
    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)
Back to top