Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for Unix (0.13 sec)

  1. cmd/sts-handlers_test.go

    	}
    
    	dn := "uid=svc.algorithm,ou=swengg,dc=min,dc=io"
    	res, err := s.adm.ListAccessKeysLDAP(ctx, dn, "")
    	if err != nil {
    		c.Fatalf("Unable to list access keys: %v", err)
    	}
    
    	epochTime := time.Unix(0, 0).UTC()
    	expectedAccKeys := madmin.ListAccessKeysLDAPResp{
    		ServiceAccounts: []madmin.ServiceAccountInfo{
    			{
    				AccessKey:  "u4ccRswj62HV3Ifwima7",
    				Expiration: &epochTime,
    			},
    		},
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
  2. cmd/xl-storage.go

    	if runtime.GOOS == "windows" && len(pathName) > 1024 {
    		return errFileNameTooLong
    	}
    
    	// On Unix we reject paths if they are just '.', '..' or '/'
    	if pathName == "." || pathName == ".." || pathName == slashSeparator {
    		return errFileAccessDenied
    	}
    
    	// Check each path segment length is > 255 on all Unix
    	// platforms, look for this value as NAME_MAX in
    	// /usr/include/linux/limits.h
    	var count int64
    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)
  3. cmd/test-utils_test.go

    	}
    
    	// FIXME: Remove following portion of code after fixing a bug in minio-go preSignV2.
    
    	d := UTCNow()
    	// Find epoch expires when the request will expire.
    	epochExpires := d.Unix() + expires
    
    	// Add expires header if not present.
    	expiresStr := req.Header.Get("Expires")
    	if expiresStr == "" {
    		expiresStr = strconv.FormatInt(epochExpires, 10)
    		req.Header.Set("Expires", expiresStr)
    	}
    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)
  4. cmd/xl-storage-format-v2.go

    }
    
    // getModTime will return the ModTime of the underlying version.
    func (j xlMetaV2Version) getModTime() time.Time {
    	switch j.Type {
    	case ObjectType:
    		return time.Unix(0, j.ObjectV2.ModTime)
    	case DeleteType:
    		return time.Unix(0, j.DeleteMarker.ModTime)
    	case LegacyType:
    		return j.ObjectV1.Stat.ModTime
    	}
    	return time.Time{}
    }
    
    // getVersionID will return the versionID of the underlying version.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 05:07:37 GMT 2024
    - 63.6K bytes
    - Viewed (1)
Back to top