- Sort Score
- Num 10 results
- Language All
Results 61 - 70 of 567 for reset (0.02 seconds)
-
internal/ringbuffer/ring_buffer.go
} err := r.readErr(true) if err == io.EOF { return nil } return err } // Reset the read pointer and writer pointer to zero. func (r *RingBuffer) Reset() { r.mu.Lock() defer r.mu.Unlock() // Set error so any readers/writers will return immediately. r.setErr(errors.New("reset called"), true) if r.block { r.readCond.Broadcast() r.writeCond.Broadcast() }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 13.3K bytes - Click Count (0) -
cmd/benchmark-utils_test.go
md5hex := getMD5Hash(textData) sha256hex := "" // benchmark utility which helps obtain number of allocations and bytes allocated per ops. b.ReportAllocs() // the actual benchmark for PutObject starts here. Reset the benchmark timer. for i := 0; b.Loop(); i++ { // insert the object. objInfo, err := obj.PutObject(b.Context(), bucket, "object"+strconv.Itoa(i),
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 8.1K bytes - Click Count (0) -
misc/wasm/wasm_exec.html
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Fri Aug 30 19:15:21 GMT 2024 - 1.3K bytes - Click Count (0) -
cmd/tier-last-day-stats_gen_test.go
if buf.Len() > m { t.Log("WARNING: TestEncodeDecodeDailyAllTierStats Msgsize() is inaccurate") } vn := DailyAllTierStats{} err := msgp.Decode(&buf, &vn) if err != nil { t.Error(err) } buf.Reset() msgp.Encode(&buf, &v) err = msgp.NewReader(&buf).Skip() if err != nil { t.Error(err) } } func BenchmarkEncodeDailyAllTierStats(b *testing.B) { v := DailyAllTierStats{} var buf bytes.Buffer
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 4.6K bytes - Click Count (0) -
internal/bucket/bandwidth/monitor_gen_test.go
t.Log("WARNING: TestEncodeDecodeBucketBandwidthReport Msgsize() is inaccurate") } vn := BucketBandwidthReport{} err := msgp.Decode(&buf, &vn) if err != nil { t.Error(err) } buf.Reset() msgp.Encode(&buf, &v) err = msgp.NewReader(&buf).Skip() if err != nil { t.Error(err) } } func BenchmarkEncodeBucketBandwidthReport(b *testing.B) { v := BucketBandwidthReport{}
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 4.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/CacheExpirationTest.java
for (int i = 0; i < 10; i++) { assertThat(cache.getUnchecked(KEY_PREFIX + i)).isEqualTo(VALUE_PREFIX + i); } for (int i = 0; i < 10; i++) { loader.reset(); assertThat(cache.getUnchecked(KEY_PREFIX + i)).isEqualTo(VALUE_PREFIX + i); assertWithMessage("Creator should not have been called @#%s", i) .that(loader.wasCalled()) .isFalse(); }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Sep 30 22:03:28 GMT 2025 - 19.2K bytes - Click Count (0) -
cmd/bucket-replication-handlers.go
if err := enc.Encode(stats); err != nil { writeErrorResponseJSON(ctx, w, toAPIError(ctx, err), r.URL) return } } // ResetBucketReplicationStartHandler - starts a replication reset for all objects in a bucket which // qualify for replication and re-sync the object(s) to target, provided ExistingObjectReplication is // enabled for the qualifying rule. This API is a MinIO only extension provided for situations where
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Aug 15 12:04:40 GMT 2024 - 23.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/TestByteSink.java
} @Override public boolean wasStreamClosed() { return outputStreamClosed; } @Override public OutputStream openStream() throws IOException { outputStreamOpened = true; bytes.reset(); // truncate return new Out(); } private final class Out extends TestOutputStream { Out() throws IOException { super(bytes, options); } @Override
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Jul 14 14:44:08 GMT 2025 - 1.9K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/MessageInflater.kt
val inflaterSource = this.inflaterSource ?: InflaterSource(deflatedBytes, inflater).also { this.inflaterSource = it } if (noContextTakeover) { inflater.reset() } deflatedBytes.writeAll(buffer) deflatedBytes.writeInt(OCTETS_TO_ADD_BEFORE_INFLATION) val totalBytesToRead = inflater.bytesRead + deflatedBytes.sizeCreated: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sun Sep 21 06:26:07 GMT 2025 - 2.4K bytes - Click Count (0) -
compat/maven-embedder/src/main/java/org/fusesource/jansi/Ansi.java
* <a href="https://en.wikipedia.org/wiki/ANSI_escape_code#SGR_(Select_Graphic_Rendition)_parameters">SGR * (Select Graphic Rendition) parameters</a>. */ public enum Attribute { RESET(0, "RESET"), INTENSITY_BOLD(1, "INTENSITY_BOLD"), INTENSITY_FAINT(2, "INTENSITY_FAINT"), ITALIC(3, "ITALIC_ON"), UNDERLINE(4, "UNDERLINE_ON"), BLINK_SLOW(5, "BLINK_SLOW"),Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sat Apr 05 11:52:05 GMT 2025 - 23.1K bytes - Click Count (0)