Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 1,650 for cast (0.13 sec)

  1. 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)
  2. android/guava-tests/test/com/google/common/collect/SortedListsTest.java

        switch (presentBehavior) {
          case FIRST_PRESENT:
            if (list.contains(key)) {
              assertEquals(list.indexOf(key), answer);
              return;
            }
            break;
          case LAST_PRESENT:
            if (list.contains(key)) {
              assertEquals(list.lastIndexOf(key), answer);
              return;
            }
            break;
          case ANY_PRESENT:
            if (list.contains(key)) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/hash/Murmur3_128HashFunction.java

            case 10:
              k2 ^= (long) toInt(bb.get(9)) << 8; // fall through
            case 9:
              k2 ^= (long) toInt(bb.get(8)); // fall through
            case 8:
              k1 ^= bb.getLong();
              break;
            case 7:
              k1 ^= (long) toInt(bb.get(6)) << 48; // fall through
            case 6:
              k1 ^= (long) toInt(bb.get(5)) << 40; // fall through
            case 5:
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 20 18:43:59 UTC 2021
    - 5.6K bytes
    - Viewed (0)
  4. cmd/bucket-replication-metrics_gen.go

    			err = msgp.WrapError(err)
    			return
    		}
    		switch msgp.UnsafeString(field) {
    		case "Curr":
    			z.Curr, err = dc.ReadInt()
    			if err != nil {
    				err = msgp.WrapError(err, "Curr")
    				return
    			}
    		case "Avg":
    			z.Avg, err = dc.ReadFloat32()
    			if err != nil {
    				err = msgp.WrapError(err, "Avg")
    				return
    			}
    		case "Max":
    			z.Max, err = dc.ReadInt()
    			if err != nil {
    				err = msgp.WrapError(err, "Max")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Mar 21 17:21:35 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. src/main/java/jcifs/netbios/NbtException.java

                }
                break;
            case ERR_SSN_SRVC:
                result += "ERR_SSN_SRVC/";
                switch ( errorCode ) {
                case CONNECTION_REFUSED:
                    result += "Connection refused";
                    break;
                case NOT_LISTENING_CALLED:
                    result += "Not listening on called name";
                    break;
                case NOT_LISTENING_CALLING:
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.8K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/AtomicLongMapBasherTest.java

                        switch (behavior) {
                          case 0:
                            map.incrementAndGet(key);
                            threadSum++;
                            break;
                          case 1:
                            map.decrementAndGet(key);
                            threadSum--;
                            break;
                          case 2:
                            map.addAndGet(key, delta);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 13 14:28:25 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  9. internal/event/errors.go

    func IsEventError(err error) bool {
    	switch err.(type) {
    	case ErrInvalidFilterName, *ErrInvalidFilterName:
    		return true
    	case ErrFilterNamePrefix, *ErrFilterNamePrefix:
    		return true
    	case ErrFilterNameSuffix, *ErrFilterNameSuffix:
    		return true
    	case ErrInvalidFilterValue, *ErrInvalidFilterValue:
    		return true
    	case ErrDuplicateEventName, *ErrDuplicateEventName:
    		return true
    	case ErrUnsupportedConfiguration, *ErrUnsupportedConfiguration:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 4.1K bytes
    - Viewed (0)
  10. cmd/storage-rest-client.go

    	}
    
    	switch err.Error() {
    	case errFaultyDisk.Error():
    		return errFaultyDisk
    	case errFaultyRemoteDisk.Error():
    		return errFaultyRemoteDisk
    	case errFileCorrupt.Error():
    		return errFileCorrupt
    	case errUnexpected.Error():
    		return errUnexpected
    	case errDiskFull.Error():
    		return errDiskFull
    	case errVolumeNotFound.Error():
    		return errVolumeNotFound
    	case errVolumeExists.Error():
    		return errVolumeExists
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Oct 13 13:07:21 UTC 2024
    - 30.2K bytes
    - Viewed (0)
Back to top