- Sort Score
- Result 10 results
- Languages All
Results 281 - 290 of 604 for sink64 (0.09 sec)
-
samples/guide/src/main/java/okhttp3/recipes/PostStreaming.java
@Override public MediaType contentType() { return MEDIA_TYPE_MARKDOWN; } @Override public void writeTo(BufferedSink sink) throws IOException { sink.writeUtf8("Numbers\n"); sink.writeUtf8("-------\n"); for (int i = 2; i <= 997; i++) { sink.writeUtf8(String.format(" * %s = %s\n", i, factor(i))); } } private String factor(int n) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Fri Jul 06 03:18:15 UTC 2018 - 2.1K bytes - Viewed (0) -
cmd/erasure-metadata.go
// ShardFileSize - returns final erasure size from original size. func (e ErasureInfo) ShardFileSize(totalLength int64) int64 { if totalLength == 0 { return 0 } if totalLength == -1 { return -1 } numShards := totalLength / e.BlockSize lastBlockSize := totalLength % e.BlockSize lastShardSize := ceilFrac(lastBlockSize, int64(e.DataBlocks)) return numShards*e.ShardSize() + lastShardSize }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Oct 31 22:10:24 UTC 2024 - 21.3K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/okio/LoggingFilesystem.kt
override fun delete( path: Path, mustExist: Boolean, ) { log("delete($path)") super.delete(path, mustExist) } override fun sink( path: Path, mustCreate: Boolean, ): Sink { log("sink($path)") return super.sink(path, mustCreate) } override fun source(file: Path): Source { log("source($file)") return super.source(file) }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.7K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Cache.kt
fun writeTo(editor: DiskLruCache.Editor) { editor.newSink(ENTRY_METADATA).buffer().use { sink -> sink.writeUtf8(url.toString()).writeByte('\n'.code) sink.writeUtf8(requestMethod).writeByte('\n'.code) sink.writeDecimalLong(varyHeaders.size.toLong()).writeByte('\n'.code) for (i in 0 until varyHeaders.size) { sink.writeUtf8(varyHeaders.name(i)) .writeUtf8(": ")
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Apr 10 19:46:48 UTC 2024 - 26.8K bytes - Viewed (0) -
cmd/handler-utils.go
globalHTTPStats.updateStats(api, tc.ResponseRecorder) globalConnStats.incS3InputBytes(int64(tc.RequestRecorder.Size())) globalConnStats.incS3OutputBytes(int64(tc.ResponseRecorder.Size())) if countBktStat { globalBucketConnStats.incS3InputBytes(bucket, int64(tc.RequestRecorder.Size())) globalBucketConnStats.incS3OutputBytes(bucket, int64(tc.ResponseRecorder.Size()))
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jun 10 15:31:51 UTC 2024 - 15.5K bytes - Viewed (0) -
cmd/s3-zip-handlers.go
func getFilesListFromZIPObject(ctx context.Context, objectAPI ObjectLayer, bucket, object string, opts ObjectOptions) (zipindex.Files, ObjectInfo, error) { size := 1 << 20 var objSize int64 for { rs := &HTTPRangeSpec{IsSuffixLength: true, Start: int64(-size)} gr, err := objectAPI.GetObjectNInfo(ctx, bucket, object, rs, nil, opts) if err != nil { return nil, ObjectInfo{}, err } b, err := io.ReadAll(gr) gr.Close()
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jun 10 15:31:51 UTC 2024 - 15.8K bytes - Viewed (0) -
cmd/batchjobmetric_string.go
var _batchJobMetric_index = [...]uint8{0, 11, 22, 28} func (i batchJobMetric) String() string { if i >= batchJobMetric(len(_batchJobMetric_index)-1) { return "batchJobMetric(" + strconv.FormatInt(int64(i), 10) + ")" } return _batchJobMetric_name[_batchJobMetric_index[i]:_batchJobMetric_index[i+1]]
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Dec 02 10:51:33 UTC 2023 - 797 bytes - Viewed (0) -
cmd/healingmetric_string.go
var _healingMetric_index = [...]uint8{0, 6, 12, 31} func (i healingMetric) String() string { if i >= healingMetric(len(_healingMetric_index)-1) { return "healingMetric(" + strconv.FormatInt(int64(i), 10) + ")" } return _healingMetric_name[_healingMetric_index[i]:_healingMetric_index[i+1]]
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Nov 28 18:20:55 UTC 2022 - 789 bytes - Viewed (0) -
cmd/xl-storage-format-v1.go
type ObjectPartInfo struct { ETag string `json:"etag,omitempty" msg:"e"` Number int `json:"number" msg:"n"` Size int64 `json:"size" msg:"s"` // Size of the part on the disk. ActualSize int64 `json:"actualSize" msg:"as"` // Original size of the part without compression or encryption bytes.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 22 15:30:50 UTC 2024 - 8.4K bytes - Viewed (0) -
cmd/metrics-v3-scanner.go
m.Set(scannerBucketScansFinished, float64(globalScannerMetrics.lifetime(scannerMetricScanBucketDrive))) m.Set(scannerBucketScansStarted, float64(globalScannerMetrics.lifetime(scannerMetricScanBucketDrive)+uint64(globalScannerMetrics.activeDrives()))) m.Set(scannerDirectoriesScanned, float64(globalScannerMetrics.lifetime(scannerMetricScanFolder))) m.Set(scannerObjectsScanned, float64(globalScannerMetrics.lifetime(scannerMetricScanObject)))
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 19:29:25 UTC 2024 - 2.8K bytes - Viewed (0)