Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 1,922 for try (0.03 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/Crawler.java

            final SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMddHHmmssSSS", Locale.ENGLISH);
            crawlerContext.sessionId = sdf.format(new Date());
        }
    
        public void addUrl(final String url) {
            try {
                urlQueueService.add(crawlerContext.sessionId, url);
            } catch (final Exception e) {
                logger.warn("Failed to add url: " + url, e);
            }
            urlFilter.processUrl(url);
        }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/Cache.kt

        val key = key(request.url)
        val snapshot: DiskLruCache.Snapshot =
          try {
            cache[key] ?: return null
          } catch (_: IOException) {
            return null // Give up because the cache cannot be read.
          }
    
        val entry: Entry =
          try {
            Entry(snapshot.getSource(ENTRY_METADATA))
          } catch (_: IOException) {
            snapshot.closeQuietly()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/form/FormScheme.java

                    if (httpStatusCode < 400 || httpStatusCode == 401) {
                        parseTokenPage(tokenPattern, responseParams, entity);
                    } else {
                        String content;
                        try {
                            content = new String(InputStreamUtil.getBytes(entity.getContent()), Constants.UTF_8_CHARSET);
                        } catch (final IOException e) {
                            content = e.getMessage();
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/platform/Jdk9Platform.kt

        sslParameters.applicationProtocols = names.toTypedArray()
    
        sslSocket.sslParameters = sslParameters
      }
    
      @SuppressSignatureCheck
      override fun getSelectedProtocol(sslSocket: SSLSocket): String? {
        return try {
          // SSLSocket.getApplicationProtocol returns "" if application protocols values will not
          // be used. Observed if you didn't specify SSLParameters.setApplicationProtocols
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.5K bytes
    - Viewed (1)
  5. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessMultipartRequestHandler.java

            try {
                final InputStream is = request.getInputStream();
                try {
                    final byte[] buf = new byte[1024];
                    while ((is.read(buf)) != -1) {}
                } catch (final Exception ignored) {} finally {
                    try {
                        is.close();
                    } catch (final Exception ignored) {}
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Oct 23 13:27:21 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  6. okhttp-tls/src/test/java/okhttp3/tls/HeldCertificateTest.kt

          |lu/GJQZoU9lDrCPeUcQ28tzOWw==
          |-----END PRIVATE KEY-----
          |
          """.trimMargin()
        try {
          decode(certificatePem)
          fail<Any>()
        } catch (expected: IllegalArgumentException) {
          assertThat(expected.message).isEqualTo("string does not include a private key")
        }
        try {
          decode(pkcs8Pem)
          fail<Any>()
        } catch (expected: IllegalArgumentException) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/elevateword/AdminElevatewordAction.java

            return asStream("elevate.csv").contentTypeOctetStream().stream(out -> {
                final Path tempFile = ComponentUtil.getSystemHelper().createTempFile("fess-elevate-", ".csv").toPath();
                try {
                    try (Writer writer = new BufferedWriter(new OutputStreamWriter(Files.newOutputStream(tempFile), getCsvEncoding()))) {
                        elevateWordService.exportCsv(writer);
                    } catch (final Exception e) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParser.java

                final String[] roles, final long score, final ReadingConverter readingConverter, final Normalizer normalizer,
                final SuggestAnalyzer analyzer, final String[] langs) {
            try {
                final List<String> wordsList = new ArrayList<>(words.length);
                final List<String[]> readingList = new ArrayList<>(words.length);
    
                for (int i = 0; i < words.length; i++) {
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/CommandExtractor.java

            } finally {
                if (mt != null) {
                    mt.setFinished(true);
                    try {
                        mt.interrupt();
                    } catch (final Exception e) {}
                }
                if (currentProcess != null) {
                    try {
                        currentProcess.destroy();
                    } catch (final Exception e) {}
                }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbTransportImpl.java

            /*
             * Note the Transport thread isn't running yet so we can
             * read from the socket here.
             */
            try {
                this.socket.setSoTimeout(this.transportContext.getConfig().getConnTimeout());
                if ( peekKey() == null ) /* try to read header */
                    throw new IOException("transport closed in negotiate");
            }
            finally {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 18 23:47:00 UTC 2023
    - 67K bytes
    - Viewed (0)
Back to top