Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for Future (0.15 sec)

  1. src/bytes/bytes_test.go

    }
    
    func TestSplit(t *testing.T) {
    	for _, tt := range splittests {
    		a := SplitN([]byte(tt.s), []byte(tt.sep), tt.n)
    
    		// Appending to the results should not change future results.
    		var x []byte
    		for _, v := range a {
    			x = append(v, 'z')
    		}
    
    		result := sliceOfString(a)
    		if !eq(result, tt.a) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  2. cmd/api-errors.go

    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrPastObjectLockRetainDate: {
    		Code:           "InvalidRequest",
    		Description:    "the retain until date must be in the future",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrUnknownWORMModeDirective: {
    		Code:           "InvalidRequest",
    		Description:    "unknown wormMode directive",
    		HTTPStatusCode: http.StatusBadRequest,
    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)
  3. cmd/erasure-object.go

    			// by the client, but we still see an error - this would mean
    			// that we have some parts or data blocks missing or corrupted
    			// - attempt a heal to successfully heal them for future calls.
    			if written == partLength {
    				var scan madmin.HealScanMode
    				switch {
    				case errors.Is(err, errFileNotFound):
    					scan = madmin.HealNormalScan
    				case errors.Is(err, errFileCorrupt):
    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)
  4. cmd/iam-store.go

    		err = store.loadMappedPolicy(ctx, accessKey, userType, false, cache.iamUserPolicyMap)
    	default:
    		// This is just to ensure that we have covered all cases for new
    		// code in future.
    		panic("unknown user type")
    	}
    	// Ignore policy not mapped error
    	if err != nil && !errors.Is(err, errNoSuchPolicy) {
    		return err
    	}
    
    	return nil
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  5. cmd/iam.go

    	// behavior, but for compatibility with the Console, we currently allow it.
    	//
    	// TODO:
    	//
    	// 1. fix console behavior and allow this inheritance for service accounts
    	// created before a certain (TBD) future date.
    	//
    	// 2. do not allow empty statement policies for service accounts.
    	if subPolicy.Version == "" && subPolicy.Statements == nil && subPolicy.ID == "" {
    		hasSessionPolicy = false
    		return
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  6. cmd/erasure-server-pool.go

    		// namespace.
    		for _, k := range []string{
    			"_SUCCESS/",
    			".parquet/",
    			".csv/",
    			".json/",
    			".avro/",
    			".orc/",
    			".txt/",
    			// Add any other files in future
    		} {
    			if strings.HasSuffix(prefix, k) {
    				return true
    			}
    		}
    		return false
    	}
    	if hadoop && matches() && delimiter == SlashSeparator && maxKeys == 2 && marker == "" {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  7. cmd/admin-handlers-users.go

    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	// Add ldap users which have mapped policies if in LDAP mode
    	// FIXME(vadmeste): move this to policy info in the future
    	ldapUsers, err := globalIAMSys.ListLDAPUsers(ctx)
    	if err != nil && err != errIAMActionNotAllowed {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    	for k, v := range ldapUsers {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 12:41:13 GMT 2024
    - 77.5K bytes
    - Viewed (0)
  8. cmd/xl-storage-format-v2.go

    		case ObjectType:
    			return x.setIdx(i, ventry)
    		case DeleteType:
    			// Allowing delete marker to replaced with proper
    			// object data type as well, this is not S3 complaint
    			// behavior but kept here for future flexibility.
    			return x.setIdx(i, ventry)
    		}
    	}
    
    	// We did not find it, add it.
    	return x.addVersion(ventry)
    }
    
    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