Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 592 for afterFn (0.29 sec)

  1. src/test/java/jcifs/EmptyIteratorTest.java

            // Verify iterator still works after multiple removes
            assertFalse(emptyIterator.hasNext(), "Iterator should still work after multiple removes");
            assertNull(emptyIterator.next(), "Iterator should still return null after multiple removes");
        }
    
        @Test
        @DisplayName("EmptyIterator should maintain state after all operations")
        void testStateConsistencyAfterOperations() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  2. tests/multi_primary_keys_test.go

    		t.Fatalf("Blog should has three tags after Append")
    	}
    
    	if DB.Model(&blog).Association("SharedTags").Count() != 3 {
    		t.Fatalf("Blog should has three tags after Append")
    	}
    
    	if DB.Model(&blog2).Association("SharedTags").Count() != 3 {
    		t.Fatalf("Blog should has three tags after Append")
    	}
    
    	var tags []Tag
    	DB.Model(&blog).Association("SharedTags").Find(&tags)
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Jul 21 02:46:58 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java

        CountingRunnable after = new CountingRunnable();
    
        future.addListener(before, directExecutor());
        future.setFuture(delegate);
        future.addListener(inBetween, directExecutor());
        delegate.set(1);
        future.addListener(after, directExecutor());
    
        before.assertRun();
        inBetween.assertRun();
        after.assertRun();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SimpleMemoryManagementTest.java

            // Test release (still in use because of initial transport acquire)
            session.release();
            assertTrue(session.isInUse(), "Session should still be in use after one release");
    
            // Test final release
            session.release();
            assertFalse(session.isInUse(), "Session should not be in use after all releases");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  5. callbacks.go

    				}
    			} else if idx := getRIndex(names, c.after); idx != -1 {
    				// if after callback exists but haven't sorted
    				// set after callback's before callback to current callback
    				after := cs[idx]
    
    				if after.before == "" {
    					after.before = c.name
    				}
    
    				if err := sortCallback(after); err != nil {
    					return err
    				}
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Aug 26 06:24:29 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/middleware.md

    **FastAPI** provides it as a convenience for you, the developer. But it comes directly from Starlette.
    
    ///
    
    ### Before and after the `response` { #before-and-after-the-response }
    
    You can add code to be run with the `request`,  before any *path operation* receives it.
    
    And also after the `response` is generated, before returning it.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskRunner.kt

                task = withLock {
                  afterRun(task, delayNanos, true)
                  awaitTaskToRun()
                } ?: return
              }
            } catch (thrown: Throwable) {
              // A task failed. Update execution state and re-throw the exception.
              withLock {
                afterRun(task, -1L, false)
              }
              if (thrown is InterruptedException) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:30:11 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/util/AuthenticationRateLimiterTest.java

                // The rate limiter should still be functional after concurrent access
                assertTrue(concurrentLimiter.checkAttempt("finaluser", "192.168.3.1"),
                        "Rate limiter should still be functional after concurrent operations");
    
                // Verify that the rate limiter tracked some activity
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/SmbComTransactionResponseTest.java

            }
    
            // Call the method under test
            d.readBytesWireFormat(buf, 0);
    
            // After a full read both flags should be set and hasMore should be false
            assertTrue(d.getParametersDone(), "parametersDone should be true after reading");
            assertTrue(d.getDataDone(), "dataDone should be true after reading");
            assertFalse(d.getHasMore(), "hasMore should be false when both packets are fully read");
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  10. docs/en/docs/advanced/events.md

    The same way, you can define logic (code) that should be executed when the application is **shutting down**. In this case, this code will be executed **once**, **after** having handled possibly **many requests**.
    
    Because this code is executed before the application **starts** taking requests, and right after it **finishes** handling requests, it covers the whole application **lifespan** (the word "lifespan" will be important in a second 😉).
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 7.9K bytes
    - Viewed (0)
Back to top