Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 76 for Case (0.29 sec)

  1. cmd/test-utils_test.go

    		switch apiFunction {
    		case "PostPolicy":
    			// Register PostPolicy handler.
    			bucket.Methods(http.MethodPost).HeadersRegexp("Content-Type", "multipart/form-data*").HandlerFunc(api.PostPolicyBucketHandler)
    		case "HeadObject":
    			// Register HeadObject handler.
    			bucket.Methods("Head").Path("/{object:.+}").HandlerFunc(api.HeadObjectHandler)
    		case "GetObject":
    			// Register GetObject handler.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/CharMatcher.java

          switch (c) {
            case '\t':
            case '\n':
            case '\013':
            case '\f':
            case '\r':
            case ' ':
            case '\u0085':
            case '\u1680':
            case '\u2028':
            case '\u2029':
            case '\u205f':
            case '\u3000':
              return true;
            case '\u2007':
              return false;
            default:
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/CharMatcher.java

          switch (c) {
            case '\t':
            case '\n':
            case '\013':
            case '\f':
            case '\r':
            case ' ':
            case '\u0085':
            case '\u1680':
            case '\u2028':
            case '\u2029':
            case '\u205f':
            case '\u3000':
              return true;
            case '\u2007':
              return false;
            default:
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.7K bytes
    - Viewed (0)
  4. cmd/xl-storage-format-v2.go

    	case DeleteType:
    		return time.Unix(0, j.DeleteMarker.ModTime)
    	case LegacyType:
    		return j.ObjectV1.Stat.ModTime
    	}
    	return time.Time{}
    }
    
    // getVersionID will return the versionID of the underlying version.
    func (j xlMetaV2Version) getVersionID() [16]byte {
    	switch j.Type {
    	case ObjectType:
    		return j.ObjectV2.VersionID
    	case DeleteType:
    		return j.DeleteMarker.VersionID
    	case LegacyType:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 05:07:37 GMT 2024
    - 63.6K bytes
    - Viewed (1)
  5. cmd/admin-handlers-users.go

    	}
    
    	vars := mux.Vars(r)
    	group := vars["group"]
    	status := vars["status"]
    
    	var (
    		err       error
    		updatedAt time.Time
    	)
    	switch status {
    	case statusEnabled:
    		updatedAt, err = globalIAMSys.SetGroupStatus(ctx, group, true)
    	case statusDisabled:
    		updatedAt, err = globalIAMSys.SetGroupStatus(ctx, group, false)
    	default:
    		err = errInvalidArgument
    	}
    	if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 12:41:13 GMT 2024
    - 77.5K bytes
    - Viewed (0)
  6. cmd/iam-store.go

    	}
    
    	switch opts.status {
    	// The caller did not ask to update status account, do nothing
    	case "":
    	case string(madmin.AccountEnabled):
    		cr.Status = auth.AccountOn
    	case string(madmin.AccountDisabled):
    		cr.Status = auth.AccountOff
    	// Update account status
    	case auth.AccountOn, auth.AccountOff:
    		cr.Status = opts.status
    	default:
    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)
  7. tests/migrate_test.go

    	}
    
    	for _, columnType := range columnTypes {
    		switch columnType.Name() {
    		case "name":
    			if length, _ := columnType.Length(); (fullSupported || length != 0) && length != 128 {
    				t.Fatalf("name's length should be 128, but got %v", length)
    			}
    		case "salary":
    			if precision, o, _ := columnType.DecimalSize(); (fullSupported || precision != 0) && precision != 2 {
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Mar 18 11:24:16 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  8. cmd/erasure-object.go

    			if written == partLength {
    				var scan madmin.HealScanMode
    				switch {
    				case errors.Is(err, errFileNotFound):
    					scan = madmin.HealNormalScan
    				case errors.Is(err, errFileCorrupt):
    					scan = madmin.HealDeepScan
    				}
    				switch scan {
    				case madmin.HealNormalScan, madmin.HealDeepScan:
    					healOnce.Do(func() {
    						globalMRFState.addPartialOp(partialOperation{
    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)
  9. cmd/object-api-listobjects_test.go

    			},
    		},
    		// ListObjectsResult-4.
    		// Again used for truncated case.
    		// (TestCase 26).
    		4: {
    			IsTruncated: true,
    			Objects: []ObjectInfo{
    				{Name: "Asia-maps.png"},
    			},
    		},
    		// ListObjectsResult-5.
    		// Used for Asserting prefixes.
    		// Used for test case with prefix "new", (testCase 27-29).
    		5: {
    			IsTruncated: false,
    			Objects: []ObjectInfo{
    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)
  10. cmd/erasure-server-pool.go

    			}
    		}
    		for {
    			select {
    			case <-ctx.Done():
    				return
    			case v := <-updateCloser:
    				update()
    				xioutil.SafeClose(v)
    				return
    			case <-updateTicker.C:
    				update()
    			}
    		}
    	}()
    
    	wg.Wait()
    	ch := make(chan struct{})
    	select {
    	case updateCloser <- ch:
    		<-ch
    	case <-ctx.Done():
    		mu.Lock()
    		if firstErr == nil {
    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)
Back to top