Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 2,558 for case (0.04 sec)

  1. cmd/metacache-stream.go

    	if r.err != nil {
    		return metaCacheEntry{}, r.err
    	}
    	if r.current.name != "" {
    		return r.current, nil
    	}
    	if more, err := r.mr.ReadBool(); !more {
    		switch err {
    		case nil:
    			r.err = io.EOF
    			return metaCacheEntry{}, io.EOF
    		case io.EOF:
    			r.err = io.ErrUnexpectedEOF
    			return metaCacheEntry{}, io.ErrUnexpectedEOF
    		}
    		r.err = err
    		return metaCacheEntry{}, err
    	}
    
    	var err error
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  2. cmd/handler-utils_test.go

    		serverConfigRegion string
    		expectedCode       APIErrorCode
    	}{
    		// Test case - 1.
    		{createExpectedRequest(&http.Request{}, "eu-central-1"), globalMinioDefaultRegion, ErrNone},
    		// Test case - 2.
    		// In case of empty request body ErrNone is returned.
    		{createExpectedRequest(&http.Request{}, ""), globalMinioDefaultRegion, ErrNone},
    		// Test case - 3
    		// In case of garbage request body ErrMalformedXML is returned.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  3. internal/config/certsinfo.go

    			switch oid[3] {
    			case 3:
    				values = append(values, fmt.Sprintf("CN=%s", name.Value))
    			case 6:
    				values = append(values, fmt.Sprintf("C=%s", name.Value))
    			case 8:
    				values = append(values, fmt.Sprintf("ST=%s", name.Value))
    			case 10:
    				values = append(values, fmt.Sprintf("O=%s", name.Value))
    			case 11:
    				values = append(values, fmt.Sprintf("OU=%s", name.Value))
    			default:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Nov 16 17:28:29 UTC 2021
    - 3.1K bytes
    - Viewed (0)
  4. internal/config/identity/openid/jwks.go

    			E: int(e.Int64()),
    			N: &n,
    		}, nil
    	case "EC":
    		if key.Crv == "" || key.X == "" || key.Y == "" {
    			return nil, errMalformedJWKECKey
    		}
    
    		var curve elliptic.Curve
    		switch key.Crv {
    		case "P-224":
    			curve = elliptic.P224()
    		case "P-256":
    			curve = elliptic.P256()
    		case "P-384":
    			curve = elliptic.P384()
    		case "P-521":
    			curve = elliptic.P521()
    		default:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Apr 02 23:02:35 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/Cut.java

          return BoundType.OPEN;
        }
    
        @Override
        Cut<C> withLowerBoundType(BoundType boundType, DiscreteDomain<C> domain) {
          switch (boundType) {
            case CLOSED:
              return this;
            case OPEN:
              C previous = domain.previous(endpoint);
              return (previous == null) ? Cut.<C>belowAll() : new AboveValue<C>(previous);
          }
          throw new AssertionError();
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  6. cmd/warm-backend-gcs.go

    	switch reason {
    	case "required":
    		// Anonymous users does not have storage.xyz access to project 123.
    		fallthrough
    	case "keyInvalid":
    		fallthrough
    	case "forbidden":
    		err = PrefixAccessDenied{
    			Bucket: bucket,
    			Object: object,
    		}
    	case "invalid":
    		err = BucketNameInvalid{
    			Bucket: bucket,
    		}
    	case "notFound":
    		if object != "" {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  7. internal/lock/lock_solaris.go

    	var lockType int16
    	switch flag {
    	case syscall.O_RDONLY:
    		lockType = syscall.F_RDLCK
    	case syscall.O_WRONLY:
    		fallthrough
    	case syscall.O_RDWR:
    		fallthrough
    	case syscall.O_WRONLY | syscall.O_CREAT:
    		fallthrough
    	case syscall.O_RDWR | syscall.O_CREAT:
    		lockType = syscall.F_WRLCK
    	default:
    		return nil, &os.PathError{
    			Op:   "open",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  8. 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)
  9. cmd/admin-handlers-site-replication.go

    			}
    		}
    	case madmin.SRIAMItemSvcAcc:
    		err = globalSiteReplicationSys.PeerSvcAccChangeHandler(ctx, item.SvcAccChange, item.UpdatedAt)
    	case madmin.SRIAMItemPolicyMapping:
    		err = globalSiteReplicationSys.PeerPolicyMappingHandler(ctx, item.PolicyMapping, item.UpdatedAt)
    	case madmin.SRIAMItemSTSAcc:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponse.java

            switch ( this.ctlCode ) {
            case Smb2IoctlRequest.FSCTL_DFS_GET_REFERRALS:
                return new DfsReferralResponseBuffer();
            case Smb2IoctlRequest.FSCTL_SRV_REQUEST_RESUME_KEY:
                return new SrvRequestResumeKeyResponse();
            case Smb2IoctlRequest.FSCTL_SRV_COPYCHUNK:
            case Smb2IoctlRequest.FSCTL_SRV_COPYCHUNK_WRITE:
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 09:45:59 UTC 2018
    - 7.4K bytes
    - Viewed (0)
Back to top