Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 1,323 for CASE (0.02 sec)

  1. cmd/metacache_test.go

    package cmd
    
    import (
    	"testing"
    	"time"
    )
    
    var metaCacheTestsetTimestamp = time.Now()
    
    var metaCacheTestset = []metacache{
    	0: {
    		id:           "case-1-normal",
    		bucket:       "bucket",
    		root:         "folder/prefix",
    		recursive:    false,
    		status:       scanStateSuccess,
    		fileNotFound: false,
    		error:        "",
    		started:      metaCacheTestsetTimestamp,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 08 18:06:45 UTC 2021
    - 6.8K bytes
    - Viewed (0)
  2. internal/store/store_test.go

    		if testCase.expectedKey.Name != key.Name {
    			t.Fatalf("case[%v]: Expected key.Name: %v, got %v", i, testCase.expectedKey.Name, key.Name)
    		}
    		if testCase.expectedKey.Compress != key.Compress {
    			t.Fatalf("case[%v]: Expected key.Compress: %v, got %v", i, testCase.expectedKey.Compress, key.Compress)
    		}
    		if testCase.expectedKey.Extension != key.Extension {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 4K bytes
    - Viewed (0)
  3. src/archive/tar/common.go

    	switch m := fs.FileMode(fi.h.Mode) &^ 07777; m {
    	case c_ISDIR:
    		mode |= fs.ModeDir
    	case c_ISFIFO:
    		mode |= fs.ModeNamedPipe
    	case c_ISLNK:
    		mode |= fs.ModeSymlink
    	case c_ISBLK:
    		mode |= fs.ModeDevice
    	case c_ISCHR:
    		mode |= fs.ModeDevice
    		mode |= fs.ModeCharDevice
    	case c_ISSOCK:
    		mode |= fs.ModeSocket
    	}
    
    	switch fi.h.Typeflag {
    	case TypeSymlink:
    		mode |= fs.ModeSymlink
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Sep 13 21:03:27 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  4. cmd/site-replication-utils_gen.go

    			err = msgp.WrapError(err)
    			return
    		}
    		switch msgp.UnsafeString(field) {
    		case "v":
    			z.Version, err = dc.ReadInt()
    			if err != nil {
    				err = msgp.WrapError(err, "Version")
    				return
    			}
    		case "ss":
    			err = z.Status.DecodeMsg(dc)
    			if err != nil {
    				err = msgp.WrapError(err, "Status")
    				return
    			}
    		case "did":
    			z.DeplID, err = dc.ReadString()
    			if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Nov 14 15:16:40 UTC 2022
    - 7.2K bytes
    - Viewed (0)
  5. callbacks/create.go

    	curTime := stmt.DB.NowFunc()
    
    	switch value := stmt.Dest.(type) {
    	case map[string]interface{}:
    		values = ConvertMapToValuesForCreate(stmt, value)
    	case *map[string]interface{}:
    		values = ConvertMapToValuesForCreate(stmt, *value)
    	case []map[string]interface{}:
    		values = ConvertSliceOfMapToValuesForCreate(stmt, value)
    	case *[]map[string]interface{}:
    		values = ConvertSliceOfMapToValuesForCreate(stmt, *value)
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Apr 08 03:29:55 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  6. cmd/utils_test.go

    		path           string
    		bucket, object string
    	}{
    		// Test case 1 normal case.
    		{
    			path:   "/bucket/object",
    			bucket: "bucket",
    			object: "object",
    		},
    		// Test case 2 where url only has separator.
    		{
    			path:   SlashSeparator,
    			bucket: "",
    			object: "",
    		},
    		// Test case 3 only bucket is present.
    		{
    			path:   "/bucket",
    			bucket: "bucket",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Feb 23 21:28:14 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  7. cmd/httprange_test.go

    	}
    	for i, urs := range unparsableRangeSpecs {
    		rs, err := parseRequestRangeSpec(urs)
    		if err == nil {
    			t.Errorf("Case %d: Did not get an expected error - got %v", i, rs)
    		}
    		if isErrInvalidRange(err) {
    			t.Errorf("Case %d: Got invalid range error instead of a parse error", i)
    		}
    		if rs != nil {
    			t.Errorf("Case %d: Got non-nil rs though err != nil: %v", i, rs)
    		}
    	}
    
    	invalidRangeSpecs := []string{
    		"bytes=5-3",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun May 05 16:56:21 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  8. cmd/bucket-policy-handlers_test.go

    		expectedRespStatus   int
    	}{
    		// Test case - 1.
    		// Case which valid inputs, expected to return success status of 200OK.
    		{
    			bucketName:           bucketName,
    			accessKey:            credentials.AccessKey,
    			secretKey:            credentials.SecretKey,
    			expectedBucketPolicy: bucketPolicyTemplate,
    			expectedRespStatus:   http.StatusOK,
    		},
    		// Test case - 2.
    		// Case with non-existent bucket name.
    		{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 32.9K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactResolver.java

        /**
         * @param request {@link ArtifactResolverRequest}
         * @return {@link ArtifactResolverResult}
         * @throws ArtifactResolverException in case of an error
         * @throws IllegalArgumentException in case of parameter {@code buildingRequest} is {@code null} or
         *             parameter {@code mavenArtifact} is {@code null} or invalid
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Sep 12 06:19:14 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  10. internal/http/server_test.go

    			})
    		}
    		if server == nil {
    			t.Fatalf("Case %v: server: expected: <non-nil>, got: <nil>", (i + 1))
    		} else if !reflect.DeepEqual(server.Addrs, testCase.addrs) {
    			t.Fatalf("Case %v: server.Addrs: expected: %v, got: %v", (i + 1), testCase.addrs, server.Addrs)
    		}
    
    		if testCase.certFn == nil {
    			if server.TLSConfig != nil {
    				t.Fatalf("Case %v: server.TLSConfig: expected: <nil>, got: %v", (i + 1), server.TLSConfig)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jun 19 18:42:47 UTC 2024
    - 2.5K bytes
    - Viewed (0)
Back to top