Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 107 for case1 (0.15 sec)

  1. cmd/erasure-healing_test.go

    		expectedDangling bool
    	}{
    		{
    			name: "FileInfoExists-case1",
    			metaArr: []FileInfo{
    				{},
    				{},
    				fi,
    				fi,
    			},
    			errs: []error{
    				errFileNotFound,
    				errDiskNotFound,
    				nil,
    				nil,
    			},
    			dataErrs:         nil,
    			expectedMeta:     fi,
    			expectedDangling: false,
    		},
    		{
    			name: "FileInfoExists-case2",
    			metaArr: []FileInfo{
    				{},
    				{},
    				fi,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 49K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/plugins/noderesources/fit_test.go

    		existingPods         []*v1.Pod
    		expectedPriorities   framework.NodeScoreList
    		nodeResourcesFitArgs config.NodeResourcesFitArgs
    		runPreScore          bool
    	}{
    		{
    			name: "test case for ScoringStrategy RequestedToCapacityRatio case1",
    			requestedPod: st.MakePod().
    				Req(map[v1.ResourceName]string{"cpu": "3000", "memory": "5000"}).
    				Obj(),
    			nodes: []*v1.Node{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 57.4K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/syntax/parser.go

    		return
    	}
    
    	// determine token string
    	var tok string
    	switch p.tok {
    	case _Name:
    		tok = "name " + p.lit
    	case _Semi:
    		tok = p.lit
    	case _Literal:
    		tok = "literal " + p.lit
    	case _Operator:
    		tok = p.op.String()
    	case _AssignOp:
    		tok = p.op.String() + "="
    	case _IncOp:
    		tok = p.op.String()
    		tok += tok
    	default:
    		tok = tokstring(p.tok)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 62.9K bytes
    - Viewed (0)
  4. cmd/api-errors.go

    	case PrefixAccessDenied:
    		apiErr = ErrAccessDenied
    	case BucketNameInvalid:
    		apiErr = ErrInvalidBucketName
    	case BucketNotFound:
    		apiErr = ErrNoSuchBucket
    	case BucketAlreadyOwnedByYou:
    		apiErr = ErrBucketAlreadyOwnedByYou
    	case BucketNotEmpty:
    		apiErr = ErrBucketNotEmpty
    	case BucketAlreadyExists:
    		apiErr = ErrBucketAlreadyExists
    	case BucketExists:
    		apiErr = ErrBucketAlreadyOwnedByYou
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 92.1K bytes
    - Viewed (1)
  5. src/time/format.go

    		}
    
    		switch std & stdMask {
    		case stdYear:
    			y := year
    			if y < 0 {
    				y = -y
    			}
    			b = appendInt(b, y%100, 2)
    		case stdLongYear:
    			b = appendInt(b, year, 4)
    		case stdMonth:
    			b = append(b, month.String()[:3]...)
    		case stdLongMonth:
    			m := month.String()
    			b = append(b, m...)
    		case stdNumMonth:
    			b = appendInt(b, int(month), 0)
    		case stdZeroMonth:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:09:28 UTC 2024
    - 49.3K bytes
    - Viewed (0)
  6. src/time/time.go

    		}
    	}
    
    	switch {
    	// Special case: 2d divides 1 second.
    	case d < Second && Second%(d+d) == 0:
    		qmod2 = int(nsec/int32(d)) & 1
    		r = Duration(nsec % int32(d))
    
    	// Special case: d is a multiple of 1 second.
    	case d%Second == 0:
    		d1 := int64(d / Second)
    		qmod2 = int(sec/d1) & 1
    		r = Duration(sec%d1)*Second + Duration(nsec)
    
    	// General case.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 50.7K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/rewrite.go

    	case OpARM64GreaterEqualU:
    		return OpARM64LessThanU
    	case OpARM64Equal:
    		return OpARM64NotEqual
    	case OpARM64NotEqual:
    		return OpARM64Equal
    	case OpARM64LessThanF:
    		return OpARM64NotLessThanF
    	case OpARM64NotLessThanF:
    		return OpARM64LessThanF
    	case OpARM64LessEqualF:
    		return OpARM64NotLessEqualF
    	case OpARM64NotLessEqualF:
    		return OpARM64LessEqualF
    	case OpARM64GreaterThanF:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
  8. src/cmd/internal/obj/loong64/asm.go

    	case ASUBU, ANEGW:
    		return 0x22 << 15
    	case ANOR:
    		return 0x28 << 15
    	case ASLL:
    		return 0x2e << 15
    	case ASRL:
    		return 0x2f << 15
    	case ASRA:
    		return 0x30 << 15
    	case AROTR:
    		return 0x36 << 15
    	case ASLLV:
    		return 0x31 << 15
    	case ASRLV:
    		return 0x32 << 15
    	case ASRAV:
    		return 0x33 << 15
    	case AROTRV:
    		return 0x37 << 15
    	case AADDV:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:04:54 UTC 2024
    - 61.8K bytes
    - Viewed (0)
  9. src/cmd/vendor/github.com/ianlancetaylor/demangle/demangle.go

    				addSubst = false
    			}
    		}
    	case 'O', 'P', 'R', 'C', 'G':
    		st.advance(1)
    		t := st.demangleType(isCast)
    		switch c {
    		case 'O':
    			ret = &RvalueReferenceType{Base: t}
    		case 'P':
    			ret = &PointerType{Base: t}
    		case 'R':
    			ret = &ReferenceType{Base: t}
    		case 'C':
    			ret = &ComplexType{Base: t}
    		case 'G':
    			ret = &ImaginaryType{Base: t}
    		}
    	case 'U':
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 94.1K bytes
    - Viewed (0)
  10. src/reflect/type.go

    	k := t.Kind()
    	switch k {
    	case Complex64:
    		return overflowFloat32(real(x)) || overflowFloat32(imag(x))
    	case Complex128:
    		return false
    	}
    	panic("reflect: OverflowComplex of non-complex type " + t.String())
    }
    
    func (t *rtype) OverflowFloat(x float64) bool {
    	k := t.Kind()
    	switch k {
    	case Float32:
    		return overflowFloat32(x)
    	case Float64:
    		return false
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 85.5K bytes
    - Viewed (0)
Back to top