Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for in (0.12 sec)

  1. cmd/api-errors.go

    		Description:    "Cannot mix [] and * in the same expression in a SELECT list in SQL expression.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrParseInvalidContextForWildcardInSelectList: {
    		Code:           "ParseInvalidContextForWildcardInSelectList",
    		Description:    "Invalid use of * in SELECT list in the SQL expression.",
    		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 (7)
  2. cmd/iam.go

    		})
    	}
    
    	return entityKeysInStorage
    }
    
    // NormalizeLDAPMappingImport - validates the LDAP policy mappings. Keys in the
    // given map may not correspond to LDAP DNs - these keys are ignored.
    //
    // For validated mappings, it updates the key in the given map to be in
    // normalized form.
    func (sys *IAMSys) NormalizeLDAPMappingImport(ctx context.Context, isGroup bool,
    	policyMap map[string]MappedPolicy,
    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)
  3. cmd/erasure-server-pool.go

    }
    
    // FilterMaxUsed will filter out any pools that has used percent bigger than max,
    // unless all have that, in which case all are preserved.
    func (p serverPoolsAvailableSpace) FilterMaxUsed(max int) {
    	// We aren't modifying p, only entries in it, so we don't need to receive a pointer.
    	if len(p) <= 1 {
    		// Nothing to do.
    		return
    	}
    	var ok bool
    	for _, z := range p {
    		if z.Available > 0 && z.MaxUsedPct < max {
    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)
  4. cmd/erasure-object.go

    // which decides which condition it is useful to check if an object is dangling
    //
    //	  errs: errors from reading xl.meta in all disks
    //	   err: reduced errs
    //	bucket: the object name in question
    func shouldCheckForDangling(err error, errs []error, bucket string) bool {
    	// Avoid data in .minio.sys for now
    	if bucket == minioMetaBucket {
    		return false
    	}
    	switch {
    	// Check if we have a read quorum issue
    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)
  5. cmd/sts-handlers_test.go

        ]
    }`
    
    	policyProjectsMap = map[string]string{
    		// grants access to bucket `projecta` if user is in group `projecta`
    		"projecta": policyProjectA,
    
    		// grants access to bucket `projectb` if user is in group `projectb`
    		"projectb": policyProjectB,
    
    		// grants access to bucket `projectaorb` if user is in either group
    		// `projecta` or `projectb`
    		"projectaorb": policyProjectAorB,
    	}
    )
    
    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)
  6. cmd/object-api-listobjects_test.go

    				// The length of the expected ListObjectsResult.Objects
    				// should match in both expected result from test cases
    				// and in the output. On failure calling t.Fatalf,
    				// otherwise it may lead to index out of range error in
    				// assertion following this.
    				if len(testCase.result.Objects) != len(result.Objects) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 11:07:40 GMT 2024
    - 73.1K bytes
    - Viewed (0)
  7. internal/s3select/select_test.go

    		},
    		{
    			name:       "in-expression-precedence-2",
    			query:      "select * from s3object s where 'some' in ('somex', s.synonyms[0]) and s.id = 1",
    			wantResult: `{"id":1,"title":"Second Record","desc":"another text","synonyms":["some","synonym","value"]}`,
    		},
    		{
    			name:       "in-expression-with-aggregation",
    			query:      "select SUM(s.id) from s3object s Where 2 in s.numbers[*] or 'some' in s.synonyms[*]",
    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)
  8. cmd/object-api-multipart_test.go

    		// MaxKeys set to values lesser than the number of entries in the MultipartInfo.
    		// IsTruncated is expected to be true.
    		{bucketNames[1], "", "", "", "", 2, listMultipartResults[18], nil, true},
    		{bucketNames[1], "", "", "", "", 1, listMultipartResults[19], nil, true},
    		// MaxKeys set to the value which is equal to no of entries in the MultipartInfo (Test number 33).
    		// In case of bucketNames[1], there are 3 entries.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 77.1K bytes
    - Viewed (0)
  9. cmd/iam-store.go

    	}
    
    	cache := store.lock()
    	defer store.unlock()
    
    	// We should only update the in-memory cache if there were no changes
    	// to the in-memory cache since the disk loading began. If there
    	// were changes to the in-memory cache we should wait for the next
    	// cycle until we can safely update the in-memory cache.
    	//
    	// An in-memory cache must be replaced only if we know for sure that the
    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)
  10. cmd/xl-storage.go

    	_, _ = rand.Read(alignedBuf)
    }
    
    // isValidVolname verifies a volname name in accordance with object
    // layer requirements.
    func isValidVolname(volname string) bool {
    	if len(volname) < 3 {
    		return false
    	}
    
    	if runtime.GOOS == "windows" {
    		// Volname shouldn't have reserved characters in Windows.
    		return !strings.ContainsAny(volname, `\:*?\"<>|`)
    	}
    
    	return true
    }
    
    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)
Back to top