Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for combine (0.07 sec)

  1. cmd/iam.go

    		}
    
    	}
    
    	// Defensive code: Do not allow any operation if no policy is found in the session token
    	if !isOwnerDerived && len(policies) == 0 {
    		return false
    	}
    
    	// 2. Combine the mapped policies into a single combined policy.
    
    	var combinedPolicy policy.Policy
    	// Policies were found, evaluate all of them.
    	if !isOwnerDerived {
    		availablePoliciesStr, c := sys.store.MergePolicies(strings.Join(policies, ","))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 29 16:01:48 UTC 2024
    - 74.6K bytes
    - Viewed (0)
  2. internal/s3select/select_test.go

    			wantResult: `{"nested":[[2,3,4],[7,8.5,9]]}`,
    		},
    		{
    			name:       "select-in-combine-and",
    			query:      `SELECT s.nested from s3object s WHERE (8.5 IN s.nested[*][*]) AND (s.id > 0)`,
    			wantResult: `{"nested":[[2,3,4],[7,8.5,9]]}`,
    		},
    		{
    			name:       "select-in-combine-and-no",
    			query:      `SELECT s.nested from s3object s WHERE (8.5 IN s.nested[*][*]) AND (s.id = 0)`,
    			wantResult: ``,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Dec 23 07:19:11 UTC 2023
    - 76.2K bytes
    - Viewed (0)
  3. cmd/xl-storage-format-v2.go

    	// Marshal metadata
    	crc := hashDeterministicBytes(c.MetaSys)
    	c.MetaSys = nil
    	if bts, err := c.MarshalMsg(metaDataPoolGet()); err == nil {
    		crc ^= xxhash.Sum64(bts)
    		metaDataPoolPut(bts)
    	}
    
    	// Combine upper and lower part
    	var tmp [4]byte
    	binary.LittleEndian.PutUint32(tmp[:], uint32(crc^(crc>>32)))
    	return tmp
    }
    
    // UsesDataDir returns true if this object version uses its data directory for
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 64K bytes
    - Viewed (0)
  4. cmd/iam-store.go

    	delete(cache.iamPolicyDocsMap, policy)
    	cache.updatedAt = time.Now()
    
    	return nil
    }
    
    // GetPolicy - gets the policy definition. Allows specifying multiple comma
    // separated policies - returns a combined policy.
    func (store *IAMStoreSys) GetPolicy(name string) (policy.Policy, error) {
    	if name == "" {
    		return policy.Policy{}, errInvalidArgument
    	}
    
    	cache := store.rlock()
    	defer store.runlock()
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Oct 14 16:35:37 UTC 2024
    - 83.2K bytes
    - Viewed (0)
Back to top