- Sort Score
- Result 10 results
- Languages All
Results 321 - 330 of 520 for fint64 (0.27 sec)
-
cmd/erasure-multipart.go
// ... nothing changes for compressed stream. // if actualSize is -1 we have no known way to // determine what is the actualSize. case encrypted: decSize, err := sio.DecryptedSize(uint64(n)) if err == nil { actualSize = int64(decSize) } default: actualSize = n } } partInfo := ObjectPartInfo{ Number: partID, ETag: md5hex, Size: n,
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Sep 29 22:40:36 UTC 2024 - 44.7K bytes - Viewed (0) -
internal/grid/handlers_string.go
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 09 16:58:30 UTC 2024 - 4.4K bytes - Viewed (0) -
internal/etag/reader.go
// expected ETag then Read returns a VerifyError. // // Reader implements the Tagger interface. type Reader struct { src io.Reader md5 hash.Hash checksum ETag readN int64 } // NewReader returns a new Reader that computes the // MD5 checksum of the content read from r as ETag. // // If the provided etag is not nil the returned // Reader compares the etag with the computed
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 4.8K bytes - Viewed (0) -
internal/bucket/bandwidth/reader.go
} err = r.throttle.WaitN(r.ctx, tokens) if err != nil { return } n, err = r.r.Read(buf[:need]) if err != nil { r.lastErr = err return } r.m.updateMeasurement(r.opts.BucketOptions, uint64(tokens)) return } // NewMonitoredReader returns reference to a monitored reader that throttles reads to configured bandwidth for the // bucket.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jul 12 14:57:31 UTC 2024 - 3.2K bytes - Viewed (0) -
internal/s3select/csv/reader.go
r.columnNames[i] = fmt.Sprintf("_%v", i+1) } } // If no index map, add that. if r.nameIndexMap == nil { r.nameIndexMap = make(map[string]int64) for i := range r.columnNames { r.nameIndexMap[r.columnNames[i]] = int64(i) } } dstRec, ok := dst.(*Record) if !ok { dstRec = &Record{} } dstRec.columnNames = r.columnNames dstRec.csvRecord = csvRecord
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Feb 22 06:26:06 UTC 2024 - 8.9K bytes - Viewed (0) -
tests/main_test.go
t.Errorf("Should got error with invalid SQL") } if DB.Where("sdsd.zaaa = ?", "sd;;;aa").Find(&User{}).Error == nil { t.Errorf("Should got error with invalid SQL") } var count1, count2 int64 DB.Model(&User{}).Count(&count1) if count1 <= 0 { t.Errorf("Should find some users") } if DB.Where("name = ?", "jinzhu; delete * from users").First(&User{}).Error == nil {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Thu Mar 24 01:31:58 UTC 2022 - 1.4K bytes - Viewed (0) -
src/bytes/buffer_test.go
} } func TestWriteAppend(t *testing.T) { var got Buffer var want []byte for i := 0; i < 1000; i++ { b := got.AvailableBuffer() b = strconv.AppendInt(b, int64(i), 10) want = strconv.AppendInt(want, int64(i), 10) got.Write(b) } if !Equal(got.Bytes(), want) { t.Fatalf("Bytes() = %q, want %q", got, want) } // With a sufficiently sized buffer, there should be no allocations.
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Sep 03 20:55:15 UTC 2024 - 18.6K bytes - Viewed (0) -
cmd/storagemetric_string.go
func (i storageMetric) String() string { if i >= storageMetric(len(_storageMetric_index)-1) { return "storageMetric(" + strconv.FormatInt(int64(i), 10) + ")" } return _storageMetric_name[_storageMetric_index[i]:_storageMetric_index[i+1]]
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Aug 12 08:38:15 UTC 2024 - 2.2K bytes - Viewed (0) -
internal/config/server.go
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 03 15:54:03 UTC 2024 - 1.9K bytes - Viewed (0) -
internal/disk/type_linux.go
"794c7630": "overlayfs", "2fc12fc1": "zfs", "ff534d42": "cifs", "53464846": "wslfs", } // getFSType returns the filesystem type of the underlying mounted filesystem func getFSType(ftype int64) string { fsTypeHex := strconv.FormatInt(ftype, 16) fsTypeString, ok := fsType2StringMap[fsTypeHex] if !ok { return "UNKNOWN" } return fsTypeString
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 19 01:35:22 UTC 2021 - 1.6K bytes - Viewed (0)