- Sort Score
- Num 10 results
- Language All
Results 231 - 240 of 1,539 for afterFn (0.06 seconds)
-
src/bytes/buffer_test.go
if err := b.UnreadByte(); err == nil { t.Fatal("UnreadByte after ReadByte at EOF: got no error") } // check not at EOF b.WriteString("abcdefghijklmnopqrstuvwxyz") // after unsuccessful read if n, err := b.Read(nil); n != 0 || err != nil { t.Fatalf("Read(nil) = %d,%v; want 0,nil", n, err) } if err := b.UnreadByte(); err == nil { t.Fatal("UnreadByte after Read(nil): got no error") }
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Nov 14 19:01:17 GMT 2025 - 19.4K bytes - Click Count (0) -
src/bufio/scan_test.go
t.Fatal("looping") } } if s.Err() != nil { t.Fatal("after scan:", s.Err()) } } func TestBlankLines(t *testing.T) { s := NewScanner(strings.NewReader(strings.Repeat("\n", 1000))) for count := 0; s.Scan(); count++ { if count > 2000 { t.Fatal("looping") } } if s.Err() != nil { t.Fatal("after scan:", s.Err()) } } type countdown int
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Sep 22 16:22:42 GMT 2023 - 14.3K bytes - Click Count (0) -
internal/bucket/lifecycle/evaluator.go
t, err := objlock.UTCNowNTP() if err != nil { // it is safe to assume that the object is locked when // we can't get the current time return true } if ret.RetainUntilDate.After(t) { return true } } return false } // eval will return a lifecycle event for each object in objs for a given time. func (e *Evaluator) eval(objs []ObjectOpts, now time.Time) []Event {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Apr 08 15:41:24 GMT 2025 - 4.6K bytes - Click Count (0) -
cmd/admin-heal-ops.go
ahs.healLocalDisks[ep] = false } } func (ahs *allHealState) periodicHealSeqsClean(ctx context.Context) { // Launch clean-up routine to remove this heal sequence (after // it ends) from the global state after timeout has elapsed. periodicTimer := time.NewTimer(time.Minute * 5) defer periodicTimer.Stop() for { select { case <-periodicTimer.C: now := UTCNow() ahs.Lock()
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 25.4K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt
Lockable { private val key: String /** Non-null for client web sockets. These can be canceled. */ internal var call: Call? = null /** This task processes the outgoing queues. Call [runWriter] to after enqueueing. */ private var writerTask: Task? = null /** Null until this web socket is connected. Only accessed by the reader thread. */ private var reader: WebSocketReader? = nullCreated: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Jul 31 04:18:40 GMT 2025 - 21.6K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/FakeTicker.java
*/ @GwtIncompatible @J2ktIncompatible @CanIgnoreReturnValue @IgnoreJRERequirement // TODO: b/288085449 - Remove this once we use library-desugaring scents. @Beta // TODO: b/288085449 - Remove @Beta after we're sure that Java 8 APIs are safe for Android public FakeTicker advance(Duration duration) { return advance(duration.toNanos()); } /** * Sets the increment applied to the ticker whenever it is queried.
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Apr 14 15:16:19 GMT 2025 - 4.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/dict/stopwords/AdminDictStopwordsAction.java
}); } /** * Upload a stopwords file. * * @param form the upload form containing the file and dictionary ID * @return HTML response redirecting to the list page after successful upload */ @Execute @Secured({ ROLE }) public HtmlResponse upload(final UploadForm form) { validate(form, messages -> {}, () -> uploadpage(form.dictId));Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Aug 07 03:06:29 GMT 2025 - 20.3K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java
handle.close(); CIFSException ex1 = assertThrows(CIFSException.class, handle::getInput, "getInput after close must throw"); assertTrue(ex1.getMessage().contains("Already closed")); CIFSException ex2 = assertThrows(CIFSException.class, handle::getOutput, "getOutput after close must throw"); assertTrue(ex2.getMessage().contains("Already closed")); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 16.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/scheduler/AdminSchedulerAction.java
/** * Creates a new scheduled job. * * @param form the create form containing the new job data * @return HTML response redirecting to the list page after creation */ @Execute @Secured({ ROLE }) public HtmlResponse create(final CreateForm form) { verifyCrudMode(form.crudMode, CrudMode.CREATE, this::asListHtml);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 20 13:56:35 GMT 2025 - 21.8K bytes - Click Count (0) -
src/test/java/jcifs/util/SimpleCircuitBreakerTest.java
assertEquals(1, stats.totalSuccesses); assertEquals(0, stats.totalFailures); assertEquals(1.0, stats.successRate); } @Test @DisplayName("Test circuit opens after failure threshold") void testCircuitOpensAfterThreshold() { // Fail 3 times to open the circuit for (int i = 0; i < 3; i++) { try { circuitBreaker.call(() -> {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 10.6K bytes - Click Count (0)