Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 194 for contain (0.14 sec)

  1. cmd/object-api-multipart_test.go

    		// Setting `prefix` to contain the object name as its prefix (Test number 23).
    		{bucketNames[0], "min", "", "", "", 2, listMultipartResults[10], nil, true},
    		// Setting `prefix` to contain the object name as its prefix (Test number 24).
    		{bucketNames[0], "min", "", "", "", 1, listMultipartResults[11], nil, true},
    		// Setting `prefix` to not to contain the object name as its prefix (Test number 25-26).
    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)
  2. cmd/metacache-entries.go

    	for _, obj := range m {
    		res = append(res, obj.name)
    	}
    	return res
    }
    
    // metaCacheEntriesSorted contains metacache entries that are sorted.
    type metaCacheEntriesSorted struct {
    	o metaCacheEntries
    	// list id is not serialized
    	listID string
    	// Reuse buffers
    	reuse bool
    	// Contain the last skipped object after an ILM expiry evaluation
    	lastSkippedEntry string
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 16:43:43 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  3. cmd/signature-v4-utils_test.go

    	}
    
    	// Since the list of signed headers value contained `expect`, the default value of `100-continue` will be added to extracted signed headers.
    	if extractedExpect != expectedExpect {
    		t.Errorf("expect header incorrect value: expected `%s`, got `%s`", expectedExpect, extractedExpect)
    	}
    
    	// case where the headers don't contain the one of the signed header in the signed headers list.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 05 21:26:41 GMT 2024
    - 14.3K bytes
    - Viewed (0)
  4. internal/event/target/postgresql.go

    	}
    
    	return target, nil
    }
    
    var errInvalidPsqlTablename = errors.New("invalid PostgreSQL table")
    
    func validatePsqlTableName(name string) error {
    	// check for quoted string (string may not contain a quote)
    	if match, err := regexp.MatchString("^\"[^\"]+\"$", name); err != nil {
    		return err
    	} else if match {
    		return nil
    	}
    
    	// normalize the name to letters, digits, _ or $
    	valid := true
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 17:51:07 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  5. cmd/object-api-input-checks.go

    	}
    	if !IsValidObjectPrefix(object) {
    		return ObjectNameInvalid{Bucket: bucket, Object: object}
    	}
    	if runtime.GOOS == globalWindowsOSName && strings.Contains(object, "\\") {
    		// Objects cannot be contain \ in Windows and is listed as `Characters to Avoid`.
    		return ObjectNameInvalid{Bucket: bucket, Object: object}
    	}
    	return nil
    }
    
    // Checks for all ListObjects arguments validity.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  6. cmd/generic-handlers_test.go

    	for _, test := range containsReservedMetadataTests {
    		test := test
    		t.Run("", func(t *testing.T) {
    			contains := containsReservedMetadata(test.header)
    			if contains && !test.shouldFail {
    				t.Errorf("contains reserved header but should not fail")
    			} else if !contains && test.shouldFail {
    				t.Errorf("does not contain reserved header but failed")
    			}
    		})
    	}
    }
    
    var sseTLSHandlerTests = []struct {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  7. istioctl/pkg/internaldebug/internal-debug_test.go

    type execTestCase struct {
    	args     []string
    	revision string
    	noIstiod bool
    
    	// Typically use one of the three
    	expectedOutput string // Expected constant output
    	expectedString string // String output is expected to contain
    
    	wantException bool
    }
    
    func TestInternalDebug(t *testing.T) {
    	cases := []execTestCase{
    		{ // case 0, no args
    			args:           []string{},
    			noIstiod:       true,
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 08:28:50 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  8. scan.go

    			db.AddError(field.Set(db.Statement.Context, reflectValue, values[idx]))
    		} else { // joinFields count is larger than 2 when using join
    			var isNilPtrValue bool
    			var relValue reflect.Value
    			// does not contain raw dbname
    			nestedJoinSchemas := joinFields[idx][:len(joinFields[idx])-1]
    			// current reflect value
    			currentReflectValue := reflectValue
    			fullRels := make([]string, 0, len(nestedJoinSchemas))
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Apr 26 09:53:11 GMT 2024
    - 9.8K bytes
    - Viewed (0)
  9. cmd/encryption-v1.go

    			return err
    		}
    
    		if len(cryptoCtx) == 0 {
    			_, _, _, cryptoCtx, err = crypto.S3KMS.ParseMetadata(metadata)
    			if err != nil {
    				return err
    			}
    		}
    
    		// If the context does not contain the bucket key
    		// we must add it for key generation. However,
    		// the context must be stored exactly like the
    		// client provided it. Therefore, we create a copy
    		// of the client provided context and add the bucket
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 36.5K bytes
    - Viewed (0)
  10. cni/pkg/nodeagent/podcgroupns.go

    		switch {
    		case !ok:
    			// Cgroup did not contain a container ID.
    			continue
    		case containerID == "":
    			// This is the first container ID found so far.
    			podUID = candidatePodUID
    			containerID = candidateContainerID
    		case containerID != candidateContainerID:
    			// More than one container ID found in the cgroups.
    			return "", "", fmt.Errorf("multiple container IDs found in cgroups (%s, %s)",
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 11K bytes
    - Viewed (0)
Back to top