Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 798 for evenly (0.08 sec)

  1. android/guava-tests/test/com/google/common/math/IntMathTest.java

            try {
              assertEquals(p + "/" + q, p, IntMath.divide(p, q, UNNECESSARY) * q);
              assertTrue(p + "/" + q + " not expected to divide evenly", dividesEvenly);
            } catch (ArithmeticException e) {
              assertFalse(p + "/" + q + " expected to divide evenly", dividesEvenly);
            }
          }
        }
      }
    
      public void testZeroDivIsAlwaysZero() {
        for (int q : NONZERO_INTEGER_CANDIDATES) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  2. docs/en/docs/advanced/events.md

    In this case, the `startup` event handler function will initialize the items "database" (just a `dict`) with some values.
    
    You can add more than one event handler function.
    
    And your application won't start receiving requests until all the `startup` event handlers have completed.
    
    ### `shutdown` event { #shutdown-event }
    
    To add a function that should be run when the application is shutting down, declare it with the event `"shutdown"`:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  3. CHANGELOG/CHANGELOG-1.32.md

    - When `SchedulerQueueingHint` is enabled,
      the scheduler's in-tree plugins now subscribe to specific node events to decide whether to requeue Pods.
      This allows the scheduler to handle cluster events faster with less memory.
    
      Specific node events include updates to taints, tolerations or allocatable.
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Wed Aug 13 14:49:49 UTC 2025
    - 412.3K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/util/ErrorToWarnRewritePolicyTest.java

                    .build();
    
            LogEvent event3 = Log4jLogEvent.newBuilder()
                    .setLoggerName("third.logger")
                    .setLevel(Level.ERROR)
                    .setMessage(new SimpleMessage("test message 3"))
                    .build();
    
            LogEvent result1 = policy.rewrite(event1);
            LogEvent result2 = policy.rewrite(event2);
            LogEvent result3 = policy.rewrite(event3);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  5. docs/en/docs/advanced/testing-events.md

    # Testing Events: lifespan and startup - shutdown { #testing-events-lifespan-and-startup-shutdown }
    
    When you need `lifespan` to run in your tests, you can use the `TestClient` with a `with` statement:
    
    {* ../../docs_src/app_testing/tutorial004.py hl[9:15,18,27:28,30:32,41:43] *}
    
    
    You can read more details about the ["Running lifespan in tests in the official Starlette documentation site."](https://www.starlette.io/lifespan/#running-lifespan-in-tests)
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:29:21 UTC 2025
    - 615 bytes
    - Viewed (0)
  6. CHANGELOG/CHANGELOG-1.34.md

    - Updated the HPA controller so that it no longer emitted a `FailedRescale` event if a scale operation initially failed due to a conflict but succeeded after a retry; it now emitted a `SuccessfulRescale` event in this case. A `FailedRescale` event was still emitted if all retries were exhausted. ([#132007](https://github.com/kubernetes/kubernetes/pull/132007), [@AumPatel1](https://github.com/AumPatel1)) [SIG Apps...
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Wed Aug 27 10:36:10 UTC 2025
    - 292.8K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/entity/SearchLogEventTest.java

            // Create different implementations
            SearchLogEvent event1 = new TestSearchLogEvent("id1", 1L, "type1");
            SearchLogEvent event2 = new NullSearchLogEvent();
            SearchLogEvent event3 = new EmptySearchLogEvent();
    
            // Test polymorphic behavior
            SearchLogEvent[] events = { event1, event2, event3 };
    
            for (SearchLogEvent event : events) {
                // All methods should be callable without exceptions
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  8. docs/ko/docs/advanced/events.md

    {* ../../docs_src/events/tutorial003.py hl[14:19] *}
    
    함수의 첫 번째 부분, 즉 `yield` 이전의 코드는 애플리케이션이 시작되기 **전에** 실행됩니다.
    
    그리고 `yield` 이후의 부분은 애플리케이션이 완료된 후 **나중에** 실행됩니다.
    
    ### 비동기 컨텍스트 매니저
    
    함수를 확인해보면, `@asynccontextmanager`로 장식되어 있습니다.
    
    이것은 함수를 "**비동기 컨텍스트 매니저**"라고 불리는 것으로 변환시킵니다.
    
    {* ../../docs_src/events/tutorial003.py hl[1,13] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri May 30 13:33:53 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/eventbus/Dispatcher.java

              }
            };
    
        @Override
        void dispatch(Object event, Iterator<Subscriber> subscribers) {
          checkNotNull(event);
          checkNotNull(subscribers);
          // requireNonNull accommodates Android's @RecentlyNullable annotation on ThreadLocal.get
          Queue<Event> queueForThread = requireNonNull(queue.get());
          queueForThread.offer(new Event(event, subscribers));
    
          if (!dispatching.get()) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/audit/SecurityAuditLoggerTest.java

            assertEquals(Long.valueOf(1), stats.get(EventType.AUTHENTICATION_SUCCESS), "Should have 1 authentication success event");
            assertEquals(Long.valueOf(1), stats.get(EventType.AUTHENTICATION_FAILURE), "Should have 1 authentication failure event");
            assertEquals(Long.valueOf(1), stats.get(EventType.FILE_ACCESS), "Should have 1 file access event");
        }
    
        @Test
        @DisplayName("Test reset statistics")
        void testResetStatistics() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.6K bytes
    - Viewed (0)
Back to top