Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 2,558 for case (0.09 sec)

  1. internal/s3select/sql/evaluate.go

    	switch rval := result.(type) {
    	case string:
    		return FromString(rval), nil
    	case float64:
    		return FromFloat(rval), nil
    	case int64:
    		return FromInt(rval), nil
    	case uint64:
    		if rval <= math.MaxInt64 {
    			return FromInt(int64(rval)), nil
    		}
    		return FromFloat(float64(rval)), nil
    	case bool:
    		return FromBool(rval), nil
    	case jstream.KVS:
    		bs, err := json.Marshal(result)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 12K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/dcerpc/msrpc/srvsvc.idl

    		[size_is(count)] ShareInfo502 *array;
    	} ShareInfoCtr502;
    
    	typedef [switch_type(int)] union {
    		[case(0)] ShareInfo0 *info0;
    		[case(1)] ShareInfo1 *info1;
    		[case(502)] ShareInfo502 *info1;
    	} ShareInfo;
    
    	typedef [switch_type(int)] union {
    		[case(0)] ShareInfoCtr0 *info0;
    		[case(1)] ShareInfoCtr1 *info1;
    		[case(502)] ShareInfoCtr502 *info1;
    	} ShareCtr;
    
    	[op(0x0f)]
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 2.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/util/Encdec.java

            long t;
    
            switch ( enc ) {
            case TIME_1970_SEC_32BE:
                return new Date(dec_uint32be(src, si) * 1000L);
            case TIME_1970_SEC_32LE:
                return new Date(dec_uint32le(src, si) * 1000L);
            case TIME_1904_SEC_32BE:
                return new Date( ( ( dec_uint32be(src, si) & 0xFFFFFFFFL ) - SEC_BETWEEEN_1904_AND_1970 ) * 1000L);
            case TIME_1904_SEC_32LE:
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 11K bytes
    - Viewed (0)
  4. cmd/erasure-server-pool-decom_gen.go

    			return
    		}
    		switch msgp.UnsafeString(field) {
    		case "st":
    			z.StartTime, err = dc.ReadTime()
    			if err != nil {
    				err = msgp.WrapError(err, "StartTime")
    				return
    			}
    		case "ss":
    			z.StartSize, err = dc.ReadInt64()
    			if err != nil {
    				err = msgp.WrapError(err, "StartSize")
    				return
    			}
    		case "ts":
    			z.TotalSize, err = dc.ReadInt64()
    			if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 04 21:02:54 UTC 2022
    - 26.7K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/arch/loong64.go

    	switch op {
    	case loong64.ARDTIMELW, loong64.ARDTIMEHW, loong64.ARDTIMED:
    		return true
    	}
    	return false
    }
    
    func IsLoong64AMO(op obj.As) bool {
    	return loong64.IsAtomicInst(op)
    }
    
    func loong64RegisterNumber(name string, n int16) (int16, bool) {
    	switch name {
    	case "F":
    		if 0 <= n && n <= 31 {
    			return loong64.REG_F0 + n, true
    		}
    	case "FCSR":
    		if 0 <= n && n <= 31 {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Jul 29 02:47:00 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  6. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java

                switch (item.getType()) {
                    case INT_ITEM:
                    case LONG_ITEM:
                    case BIGINTEGER_ITEM:
                        return -1; // 1-1 < 1.0.x
    
                    case STRING_ITEM:
                        return 1;
                    case COMBINATION_ITEM:
                        return 1; // 1-1 > 1-sp
    
                    case LIST_ITEM:
                        Iterator<Item> left = iterator();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 26K bytes
    - Viewed (0)
  7. cmd/auth-handler_test.go

    	testCases := []struct {
    		inputQueryKey   string
    		inputQueryValue string
    		expectedResult  bool
    	}{
    		// Test case - 1.
    		// Test case with query key "AWSAccessKeyId" set.
    		{"", "", false},
    		// Test case - 2.
    		{"AWSAccessKeyId", "", true},
    		// Test case - 3.
    		{"X-Amz-Content-Sha256", "", false},
    	}
    
    	for i, testCase := range testCases {
    		// creating an input HTTP request.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  8. logger/sql.go

    			case reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64, reflect.Uint, reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64:
    				vars[idx] = fmt.Sprintf("%d", reflectValue.Interface())
    			case reflect.Float32, reflect.Float64:
    				vars[idx] = fmt.Sprintf("%.6f", reflectValue.Interface())
    			case reflect.Bool:
    				vars[idx] = fmt.Sprintf("%t", reflectValue.Interface())
    			case reflect.String:
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Mar 21 08:00:02 UTC 2024
    - 5K bytes
    - Viewed (0)
  9. cmd/httprange.go

    )
    
    // HTTPRangeSpec represents a range specification as supported by S3 GET
    // object request.
    //
    // Case 1: Not present -> represented by a nil RangeSpec
    // Case 2: bytes=1-10 (absolute start and end offsets) -> RangeSpec{false, 1, 10}
    // Case 3: bytes=10- (absolute start offset with end offset unspecified) -> RangeSpec{false, 10, -1}
    // Case 4: bytes=-30 (suffix length specification) -> RangeSpec{true, -30, -1}
    type HTTPRangeSpec struct {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 09 08:44:07 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  10. cmd/bucket-stats_gen.go

    			return
    		}
    		switch msgp.UnsafeString(field) {
    		case "ReplicatedSize":
    			z.ReplicatedSize, err = dc.ReadInt64()
    			if err != nil {
    				err = msgp.WrapError(err, "ReplicatedSize")
    				return
    			}
    		case "ReplicaSize":
    			z.ReplicaSize, err = dc.ReadInt64()
    			if err != nil {
    				err = msgp.WrapError(err, "ReplicaSize")
    				return
    			}
    		case "FailStats":
    			err = z.FailStats.DecodeMsg(dc)
    			if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Feb 06 06:00:45 UTC 2024
    - 57.5K bytes
    - Viewed (0)
Back to top