Search Options

Results per page
Sort
Preferred Languages
Advance

Results 601 - 610 of 1,521 for cases (0.02 sec)

  1. cmd/shared-lock.go

    		if err != nil {
    			continue
    		}
    
    	keepLock:
    		for {
    			select {
    			case <-ctx.Done():
    				return
    			case <-lkctx.Context().Done():
    				// The context of the lock is canceled, this can happen
    				// if one lock lost quorum due to cluster instability
    				// in that case, try to lock again.
    				break keepLock
    			case ld.lockContext <- lkctx:
    				// Send the lock context to anyone asking for it
    			}
    		}
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Feb 13 09:26:38 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  2. cmd/admin-bucket-handlers.go

    					tgt.Endpoint = target.Endpoint
    				}
    			case madmin.SyncUpdateType:
    				tgt.ReplicationSync = target.ReplicationSync
    			case madmin.ProxyUpdateType:
    				tgt.DisableProxy = target.DisableProxy
    			case madmin.PathUpdateType:
    				tgt.Path = target.Path
    			case madmin.BandwidthLimitUpdateType:
    				tgt.BandwidthLimit = target.BandwidthLimit
    			case madmin.HealthCheckDurationUpdateType:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  3. cmd/metrics-v2_gen.go

    				return
    			}
    		case "dependGlobalKMS":
    			z.dependGlobalKMS, bts, err = msgp.ReadBoolBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "dependGlobalKMS")
    				return
    			}
    		case "bucketOnly":
    			z.bucketOnly, bts, err = msgp.ReadBoolBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "bucketOnly")
    				return
    			}
    		case "dependGlobalLambdaTargetList":
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Mar 10 09:15:15 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  4. cmd/last-minute.go

    	switch tag {
    	case sizeLessThan1KiB:
    		return "LESS_THAN_1_KiB"
    	case sizeLessThan1MiB:
    		return "LESS_THAN_1_MiB"
    	case sizeLessThan10MiB:
    		return "LESS_THAN_10_MiB"
    	case sizeLessThan100MiB:
    		return "LESS_THAN_100_MiB"
    	case sizeLessThan1GiB:
    		return "LESS_THAN_1_GiB"
    	case sizeGreaterThan1GiB:
    		return "GREATER_THAN_1_GiB"
    	default:
    		return "unknown"
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 05 17:40:45 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  5. internal/bucket/lifecycle/filter.go

    		return errInvalidFilter
    	}
    
    	var err error
    	switch pType {
    	case nonePred:
    	// S3 supports empty <Filter></Filter>
    	case prefixPred:
    	case andPred:
    		err = f.And.Validate()
    	case tagPred:
    		err = f.Tag.Validate()
    	case sizeLtPred:
    		if f.ObjectSizeLessThan < 0 {
    			err = errXMLNotWellFormed
    		}
    	case sizeGtPred:
    		if f.ObjectSizeGreaterThan < 0 {
    			err = errXMLNotWellFormed
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 04 17:01:26 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  6. src/cmd/asm/internal/arch/s390x.go

    }
    
    func s390xRegisterNumber(name string, n int16) (int16, bool) {
    	switch name {
    	case "AR":
    		if 0 <= n && n <= 15 {
    			return s390x.REG_AR0 + n, true
    		}
    	case "F":
    		if 0 <= n && n <= 15 {
    			return s390x.REG_F0 + n, true
    		}
    	case "R":
    		if 0 <= n && n <= 15 {
    			return s390x.REG_R0 + n, true
    		}
    	case "V":
    		if 0 <= n && n <= 31 {
    			return s390x.REG_V0 + n, true
    		}
    	}
    	return 0, false
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 17 14:55:25 UTC 2019
    - 1.2K bytes
    - Viewed (0)
  7. 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)
  8. src/main/java/jcifs/internal/smb2/info/Smb2QueryInfoResponse.java

            switch ( infoType ) {
            case Smb2Constants.SMB2_0_INFO_FILE:
                return createFileInformation(infoClass);
            case Smb2Constants.SMB2_0_INFO_FILESYSTEM:
                return createFilesystemInformation(infoClass);
            case Smb2Constants.SMB2_0_INFO_QUOTA:
                return createQuotaInformation(infoClass);
            case Smb2Constants.SMB2_0_INFO_SECURITY:
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Nov 13 15:13:49 UTC 2021
    - 6K bytes
    - Viewed (0)
  9. cmd/batch-handlers.go

    }
    
    func (ri *batchJobInfo) getJobReportPath() (string, error) {
    	var fileName string
    	switch madmin.BatchJobType(ri.JobType) {
    	case madmin.BatchJobReplicate:
    		fileName = batchReplName
    	case madmin.BatchJobKeyRotate:
    		fileName = batchKeyRotationName
    	case madmin.BatchJobExpire:
    		fileName = batchExpireName
    	default:
    		return "", fmt.Errorf("unknown job type: %v", ri.JobType)
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 18 15:32:09 UTC 2024
    - 62.2K bytes
    - Viewed (0)
  10. cmd/encryption-v1_test.go

    	for i, test := range testSP {
    		{
    			// nil range
    			o, l, skip, sn, ps, err := test.oi.GetDecryptedRange(nil)
    			if err != nil {
    				t.Errorf("Case %d: unexpected err: %v", i, err)
    			}
    			if skip != 0 || sn != 0 || ps != 0 || o != 0 || l != getEncSize(test.decSz) {
    				t.Errorf("Case %d: test failed: %d %d %d %d %d", i, o, l, skip, sn, ps)
    			}
    		}
    
    		if test.decSz >= 10 {
    			// first 10 bytes
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Sep 24 04:17:08 UTC 2022
    - 19.9K bytes
    - Viewed (0)
Back to top