Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for combine (0.19 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
    	if !isOwnerDerived {
    		var err error
    		combinedPolicy, err = sys.store.GetPolicy(strings.Join(policies, ","))
    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)
  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: ``,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 76.2K bytes
    - Viewed (0)
  3. 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()
    
    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)
  4. 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
    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