Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 332 for evenly (0.04 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. 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)
  3. 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)
  4. android/guava/src/com/google/common/eventbus/EventBus.java

       *
       * @param event event to post.
       */
      public void post(Object event) {
        Iterator<Subscriber> eventSubscribers = subscribers.getSubscribers(event);
        if (eventSubscribers.hasNext()) {
          dispatcher.dispatch(event, eventSubscribers);
        } else if (!(event instanceof DeadEvent)) {
          // the event had no subscribers and was not itself a DeadEvent
          post(new DeadEvent(this, event));
        }
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/EventListener.kt

    import java.net.Proxy
    
    /**
     * Listener for metrics events. Extend this class to monitor the quantity, size, and duration of
     * your application's HTTP calls.
     *
     * All start/connect/acquire events will eventually receive a matching end/release event, either
     * successful (non-null parameters), or failed (non-null throwable). The first common parameters of
     * each event pair are used to link the event in case of concurrent or repeated events e.g.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:58:02 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/CrawlerStatsHelper.java

     * This class provides functionality to track, record, and report statistics
     * about crawler operations including timing data, performance metrics, and
     * operational events. It uses an internal cache to maintain statistics
     * objects and provides methods to begin tracking, record events, and
     * finalize statistics collection.
     *
     */
    public class CrawlerStatsHelper {
    
        /**
         * Creates a new instance of CrawlerStatsHelper.
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/eventbus/EventBusTest.java

      }
    
      public void testDeadEventPosting() {
        GhostCatcher catcher = new GhostCatcher();
        bus.register(catcher);
    
        bus.post(new DeadEvent(this, EVENT));
    
        List<DeadEvent> events = catcher.getEvents();
        assertEquals("The explicit DeadEvent should be delivered.", 1, events.size());
        assertEquals("The dead event must not be re-wrapped.", EVENT, events.get(0).getEvent());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  8. CHANGELOG.md

    
    ## Version 5.0.0-alpha.9
    
    _2022-06-16_
    
     *  New: Enforce label length limits in URLs. `HttpUrl` now rejects URLs whose domains aren't valid.
        This includes overly-long domain names (longer than 253 characters), overly-long labels (more
        than 63 characters between dots), and empty labels.
     *  New: Don't include the `Content-Length` header in multipart bodies. Servers must delimit
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 19:32:33 UTC 2025
    - 31.6K bytes
    - Viewed (1)
  9. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultWagonManagerTest.java

    import org.apache.maven.wagon.TransferFailedException;
    import org.apache.maven.wagon.UnsupportedProtocolException;
    import org.apache.maven.wagon.Wagon;
    import org.apache.maven.wagon.events.TransferEvent;
    import org.apache.maven.wagon.events.TransferListener;
    import org.apache.maven.wagon.observers.AbstractTransferListener;
    import org.apache.maven.wagon.observers.Debug;
    import org.codehaus.plexus.testing.PlexusTest;
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  10. samples/guide/src/main/java/okhttp3/recipes/kt/WiresharkExample.kt

    import okio.ByteString.Companion.toByteString
    
    /**
     * Logs SSL keys to a log file, allowing Wireshark to decode traffic and be examined with http2
     * filter. The approach is to hook into JSSE log events for the messages between client and server
     * during handshake, and then take the agreed masterSecret from private fields of the session.
     *
     * Copy WireSharkKeyLoggerListener to your test code to use in development.
     *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat May 10 11:15:14 UTC 2025
    - 10.9K bytes
    - Viewed (0)
Back to top