Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 92 for int64 (0.24 sec)

  1. schema/field.go

    			case int32:
    				field.ReflectValueOf(ctx, value).SetInt(int64(data))
    			case uint:
    				field.ReflectValueOf(ctx, value).SetInt(int64(data))
    			case uint8:
    				field.ReflectValueOf(ctx, value).SetInt(int64(data))
    			case uint16:
    				field.ReflectValueOf(ctx, value).SetInt(int64(data))
    			case uint32:
    				field.ReflectValueOf(ctx, value).SetInt(int64(data))
    			case uint64:
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Mon Apr 15 03:20:20 GMT 2024
    - 32K bytes
    - Viewed (1)
  2. utils/utils.go

    	case int:
    		return strconv.FormatInt(int64(v), 10)
    	case int8:
    		return strconv.FormatInt(int64(v), 10)
    	case int16:
    		return strconv.FormatInt(int64(v), 10)
    	case int32:
    		return strconv.FormatInt(int64(v), 10)
    	case int64:
    		return strconv.FormatInt(v, 10)
    	case uint:
    		return strconv.FormatUint(uint64(v), 10)
    	case uint8:
    		return strconv.FormatUint(uint64(v), 10)
    	case uint16:
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Mon Apr 22 06:43:02 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  3. internal/ioutil/ioutil.go

    type LimitWriter struct {
    	io.Writer
    	skipBytes int64
    	wLimit    int64
    }
    
    // Write implements the io.Writer interface limiting upto
    // configured length, also skips the first N bytes.
    func (w *LimitWriter) Write(p []byte) (n int, err error) {
    	n = len(p)
    	var n1 int
    	if w.skipBytes > 0 {
    		if w.skipBytes >= int64(len(p)) {
    			w.skipBytes -= int64(len(p))
    			return n, nil
    		}
    		p = p[w.skipBytes:]
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Apr 19 11:26:59 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  4. cmd/warm-backend-minio.go

    // object storage it will have the following parameters as constants.
    //
    //	maxPartsCount - 10000
    //	maxMultipartPutObjectSize - 5TiB
    func optimalPartSize(objectSize int64) (partSize int64, err error) {
    	// object size is '-1' set it to 5TiB.
    	if objectSize == -1 {
    		objectSize = maxMultipartPutObjectSize
    	}
    
    	// object size is larger than supported maximum.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  5. cmd/sftp-server-driver.go

    	r      *io.PipeReader
    	wg     *sync.WaitGroup
    	buffer map[int64][]byte
    	err    error
    
    	nextOffset int64
    	m          sync.Mutex
    }
    
    func (w *writerAt) WriteAt(b []byte, offset int64) (n int, err error) {
    	w.m.Lock()
    	defer w.m.Unlock()
    
    	if w.nextOffset == offset {
    		n, err = w.w.Write(b)
    		w.nextOffset += int64(n)
    	} else {
    		w.buffer[offset] = make([]byte, len(b))
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 12:23:42 GMT 2024
    - 12.9K bytes
    - Viewed (0)
  6. cmd/storage-interface.go

    	ReadFile(ctx context.Context, volume string, path string, offset int64, buf []byte, verifier *BitrotVerifier) (n int64, err error)
    	AppendFile(ctx context.Context, volume string, path string, buf []byte) (err error)
    	CreateFile(ctx context.Context, origvolume, olume, path string, size int64, reader io.Reader) error
    	ReadFileStream(ctx context.Context, volume, path string, offset, length int64) (io.ReadCloser, error)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  7. cmd/xl-storage-disk-id-check.go

    	totalWrites           atomic.Uint64
    	totalDeletes          atomic.Uint64
    	totalErrsAvailability atomic.Uint64 // Captures all data availability errors such as faulty disk, timeout errors.
    	totalErrsTimeout      atomic.Uint64 // Captures all timeout only errors
    
    	// apiCalls should be placed first so alignment is guaranteed for atomic operations.
    	apiCalls     [storageMetricLast]uint64
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 33K bytes
    - Viewed (0)
  8. cmd/erasure-decode.go

    	readers       []io.ReaderAt
    	orgReaders    []io.ReaderAt
    	dataBlocks    int
    	offset        int64
    	shardSize     int64
    	shardFileSize int64
    	buf           [][]byte
    	readerToBuf   []int
    	stashBuffer   []byte
    }
    
    // newParallelReader returns parallelReader.
    func newParallelReader(readers []io.ReaderAt, e Erasure, offset, totalLength int64) *parallelReader {
    	r2b := make([]int, len(readers))
    	for i := range r2b {
    		r2b[i] = i
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 16:44:59 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  9. cmd/bucket-lifecycle.go

    type expiryStats struct {
    	missedExpiryTasks      atomic.Int64
    	missedFreeVersTasks    atomic.Int64
    	missedTierJournalTasks atomic.Int64
    	workers                atomic.Int32
    }
    
    // MissedTasks returns the number of ILM expiry tasks that were missed since
    // there were no available workers.
    func (e *expiryStats) MissedTasks() int64 {
    	return e.missedExpiryTasks.Load()
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  10. cmd/object-handlers_test.go

    		// Unencrypted objects
    		{"nothing", []int64{0}, nil},
    		{"small-1", []int64{509}, nil},
    
    		{"mp-1", []int64{5 * oneMiB, 1}, nil},
    		{"mp-2", []int64{5487701, 5487799, 3}, nil},
    
    		// Encrypted object
    		{"enc-nothing", []int64{0}, mapCopy(metaWithSSEC)},
    		{"enc-small-1", []int64{509}, mapCopy(metaWithSSEC)},
    
    		{"enc-mp-1", []int64{5 * oneMiB, 1}, mapCopy(metaWithSSEC)},
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
Back to top