Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 1,808 for try (0.01 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/http/HcHttpClientTest.java

                    try {
                        Thread.sleep(2000);
                    } catch (InterruptedException e) {
                        throw new CrawlingAccessException(e);
                    }
                    return null;
                }
            };
            client.setAccessTimeout(1);
            try {
                client.doGet("http://localhost/");
                fail();
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RouteSelector.kt

          postponedRoutes.clear()
        }
    
        return Selection(routes)
      }
    
      /** Prepares the proxy servers to try. */
      private fun resetNextProxy(
        url: HttpUrl,
        proxy: Proxy?,
      ) {
        fun selectProxies(): List<Proxy> {
          // If the user specifies a proxy, try that and only that.
          if (proxy != null) return listOf(proxy)
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/io/PropertiesUtil.java

         */
        public static void load(final Properties props, final InputStream in) {
            assertArgumentNotNull("props", props);
            assertArgumentNotNull("in", in);
    
            try {
                props.load(in);
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
        /**
         * Wraps exception handling for {@link Properties#load(Reader)}.
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiFile.java

        }
    
        @Override
        public synchronized void insert(final KuromojiItem item) {
            try (KuromojiUpdater updater = new KuromojiUpdater(item)) {
                reload(updater);
            }
        }
    
        @Override
        public synchronized void update(final KuromojiItem item) {
            try (KuromojiUpdater updater = new KuromojiUpdater(item)) {
                reload(updater);
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/Kerb5Context.java

            SUPPORTED_MECHS = new ASN1ObjectIdentifier[] { KRB5_MECH_OID, KRB5_MS_MECH_OID };
    
            Oid krbNameOid = null;
            Oid krbMechOid = null;
            try {
                krbNameOid = new Oid("1.2.840.113554.1.2.2.1");
                krbMechOid = new Oid("1.2.840.113554.1.2.2");
            } catch (Exception e) {
                log.error("Failed to initialize kerberos OIDs", e);
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 13.5K bytes
    - Viewed (1)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt

     * unhealthy.
     *
     * @param source the source used to read bytes from the socket.
     */
    internal fun Socket.isHealthy(source: BufferedSource): Boolean =
      try {
        val readTimeout = soTimeout
        try {
          soTimeout = 1
          !source.exhausted()
        } finally {
          soTimeout = readTimeout
        }
      } catch (_: SocketTimeoutException) {
        true // Read timed out; socket is good.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 10.2K bytes
    - Viewed (1)
  7. src/main/java/jcifs/smb1/Config.java

         */
        public static String DEFAULT_OEM_ENCODING = "Cp850";
    
        static {
            String filename;
            int level;
            FileInputStream in = null;
    
            log = LogStream.getInstance();
    
            try {
                filename = System.getProperty("jcifs_smb1.properties");
                if (filename != null && filename.length() > 1) {
                    in = new FileInputStream(filename);
                }
                Config.load(in);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/EmlExtractor.java

            try {
                final String filename = getDecodeText(bodyPart.getFileName());
                final String mimeType = mimeTypeHelper.getContentType(null, filename);
                if (mimeType != null) {
                    final Extractor extractor = extractorFactory.getExtractor(mimeType);
                    if (extractor != null) {
                        try (final InputStream in = bodyPart.getInputStream()) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java

                session.acquire();
            }
    
            // When - Multiple threads try to release/acquire concurrently
            for (int t = 0; t < threadCount; t++) {
                final boolean shouldRelease = (t < 3); // First 3 threads release, others acquire
    
                executor.submit(() -> {
                    try {
                        startLatch.await();
    
                        if (shouldRelease) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveAllTester.java

        expectMissing(e0());
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_REMOVE)
      public void testRemoveAll_unsupportedEmptyCollection() {
        try {
          assertFalse(
              "removeAll(emptyCollection) should return false or throw "
                  + "UnsupportedOperationException",
              collection.removeAll(MinimalCollection.of()));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 7.7K bytes
    - Viewed (0)
Back to top