Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3371 - 3380 of 6,944 for CLASS (0.03 sec)

  1. compat/maven-builder-support/src/test/java/org/apache/maven/building/UrlSourceTest.java

    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    
    class UrlSourceTest {
    
        @Test
        void testUrlSource() {
            NullPointerException e = assertThrows(
                    NullPointerException.class, () -> new UrlSource(null), "Should fail, since you must specify a url");
            assertEquals("url cannot be null", e.getMessage());
        }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  2. android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt

        Logger
          .getLogger("okhttp3")
          .addHandler(testHandler)
        Logger
          .getLogger(Http2::class.java.name)
          .addHandler(testHandler)
        Logger
          .getLogger(TaskRunner::class.java.name)
          .addHandler(testHandler)
        Logger
          .getLogger(OkHttpClient::class.java.name)
          .addHandler(testHandler)
    
        server.enqueue(MockResponse(body = "abc"))
    
        val request =
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 02 14:12:28 UTC 2025
    - 29K bytes
    - Viewed (0)
  3. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java

                return stringPart.toString() + digitPart.toString();
            }
        }
    
        /**
         * Represents a version list item. This class is used both for the global item list and for sub-lists (which start
         * with '-(number)' in the version specification).
         */
        private static class ListItem extends ArrayList<Item> implements Item {
            @Override
            public int getType() {
                return LIST_ITEM;
            }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 26.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/primitives/BytesTest.java

            .isEqualTo(new byte[] {(byte) 1, (byte) 0, (byte) 0});
      }
    
      public void testEnsureCapacity_fail() {
        assertThrows(IllegalArgumentException.class, () -> Bytes.ensureCapacity(ARRAY1, -1, 1));
        assertThrows(IllegalArgumentException.class, () -> Bytes.ensureCapacity(ARRAY1, 1, -1));
      }
    
      public void testToArray() {
        // need explicit type parameter to avoid javac warning!?
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  5. docs/smb3-features/03-multi-channel-design.md

    }
    ```
    
    ## 8. Performance Metrics
    
    ### 8.1 Channel Statistics
    ```java
    public class MultiChannelStatistics {
        private final Map<String, ChannelStatistics> channelStats;
        
        public class ChannelStatistics {
            private final AtomicLong bytesSent = new AtomicLong();
            private final AtomicLong bytesReceived = new AtomicLong();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 39.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/CrawlingInfoHelper.java

    import org.opensearch.search.aggregations.bucket.terms.TermsAggregationBuilder;
    
    /**
     * Helper class for managing crawling information and statistics.
     * Provides functionality to track crawling sessions, manage document expiration,
     * and handle crawling information storage and retrieval.
     */
    public class CrawlingInfoHelper {
    
        /**
         * Creates a new instance of CrawlingInfoHelper.
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/Crawler.java

    import org.codelibs.fess.crawler.service.DataService;
    import org.codelibs.fess.crawler.service.UrlQueueService;
    
    import jakarta.annotation.Resource;
    
    /**
     * The Crawler class is the main class for web crawling. It manages the crawling process,
     * including adding URLs to the queue, filtering URLs, managing crawler threads,
     * and handling the overall crawling lifecycle.
     *
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 14K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/entity/PingResponseTest.java

    import java.util.HashSet;
    import java.util.Set;
    
    import org.codelibs.fess.mylasta.direction.FessConfig;
    import org.codelibs.fess.unit.UnitFessTestCase;
    import org.codelibs.fess.util.ComponentUtil;
    
    public class PingResponseTest extends UnitFessTestCase {
    
        private FessConfig originalConfig;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/MoreCollectors.java

     *
     * @author Louis Wasserman
     * @since 33.2.0 (available since 21.0 in guava-jre)
     */
    @GwtCompatible
    @IgnoreJRERequirement // Users will use this only if they're already using streams.
    public final class MoreCollectors {
    
      /*
       * TODO(lowasser): figure out if we can convert this to a concurrent AtomicReference-based
       * collector without breaking j2cl?
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:07:06 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/io/SourceSinkTester.java

        factory.tearDown();
      }
    
      static ImmutableList<Method> getTestMethods(Class<?> testClass) {
        List<Method> result = new ArrayList<>();
        for (Method method : testClass.getDeclaredMethods()) {
          if (Modifier.isPublic(method.getModifiers())
              && method.getReturnType() == void.class
              && method.getParameterTypes().length == 0
              && method.getName().startsWith("test")) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 4.9K bytes
    - Viewed (0)
Back to top