Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for tempo (0.12 sec)

  1. cmd/peer-rest-server.go

    	accessKey := mss.Get(peerRESTUser)
    	if accessKey == "" {
    		return np, grid.NewRemoteErr(errors.New("username is missing"))
    	}
    
    	temp, err := strconv.ParseBool(mss.Get(peerRESTUserTemp))
    	if err != nil {
    		return np, grid.NewRemoteErr(err)
    	}
    
    	userType := regUser
    	if temp {
    		userType = stsUser
    	}
    
    	if err = globalIAMSys.LoadUser(context.Background(), objAPI, accessKey, userType); err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 51.8K bytes
    - Viewed (0)
  2. cmd/test-utils_test.go

    )
    
    // Random number state.
    // We generate random temporary file names so that there's a good
    // chance the file doesn't exist yet.
    var (
    	randN  uint32
    	randmu sync.Mutex
    )
    
    // Temp files created in default Tmp dir
    var globalTestTmpDir = os.TempDir()
    
    // reseed - returns a new seed every time the function is called.
    func reseed() uint32 {
    	return uint32(time.Now().UnixNano() + int64(os.Getpid()))
    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. cmd/xl-storage_test.go

    	return newXLStorage(Endpoint{
    		URL:     &u,
    		IsLocal: true,
    		PoolIdx: 0,
    		SetIdx:  0,
    		DiskIdx: diskIdx,
    	}, true)
    }
    
    // creates a temp dir and sets up xlStorage layer.
    // returns xlStorage layer, temp dir path to be used for the purpose of tests.
    func newXLStorageTestSetup(tb testing.TB) (*xlStorageDiskIDCheck, string, error) {
    	diskPath := tb.TempDir()
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 17:45:28 GMT 2024
    - 66.7K bytes
    - Viewed (0)
Back to top