Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for randString (0.06 seconds)

  1. cmd/test-utils_test.go

    		remain--
    	}
    
    	return *(*string)(unsafe.Pointer(&b))
    }
    
    // generate random object name.
    func getRandomObjectName() string {
    	return randString(16)
    }
    
    // generate random bucket name.
    func getRandomBucketName() string {
    	return randString(60)
    }
    
    // construct URL for http requests for bucket operations.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 77K bytes
    - Click Count (0)
  2. cmd/object-api-listobjects_test.go

    		// Upload objects which modtime as one week ago, supposed to be expired by ILM
    		for range upload.expired {
    			_, err := obj.PutObject(context.Background(), upload.bucket, randString(32),
    				mustGetPutObjReader(t,
    					bytes.NewBufferString(objContent),
    					int64(len(objContent)),
    					hex.EncodeToString(objMd5[:]),
    					""),
    				ObjectOptions{MTime: oneWeekAgo},
    			)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Oct 10 18:57:03 GMT 2025
    - 76.1K bytes
    - Click Count (0)
Back to Top