Search Options

Results per page
Sort
Preferred Languages
Advance

Results 501 - 510 of 1,808 for try (0.03 sec)

  1. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockWebServer.kt

      init {
        delegate.dispatcher = dispatcher.wrap()
      }
    
      private var started: Boolean = false
    
      @Synchronized override fun before() {
        if (started) return
        try {
          start()
        } catch (e: IOException) {
          throw RuntimeException(e)
        }
      }
    
      @JvmName("-deprecated_port")
      fun getPort(): Int = port
    
      fun toProxyAddress(): Proxy {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 00:19:42 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/ZipExtractor.java

            }
    
            final MimeTypeHelper mimeTypeHelper = getMimeTypeHelper();
            final ExtractorFactory extractorFactory = getExtractorFactory();
            final StringBuilder buf = new StringBuilder(1000);
    
            try (final ArchiveInputStream ais =
                    archiveStreamFactory.createArchiveInputStream(in.markSupported() ? in : new BufferedInputStream(in))) {
                ZipArchiveEntry entry = null;
                long contentSize = 0;
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  3. SECURITY.md

    I (the author, [@tiangolo](https://x.com/tiangolo)) will review it thoroughly and get back to you.
    
    ## Public Discussions
    
    Please restrain from publicly discussing a potential security vulnerability. 🙊
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java

        try {
          multiset.add(entry.getElement(), entry.getCount());
          fail("Expected IllegalArgumentException");
        } catch (IllegalArgumentException expected) {
        }
    
        try {
          multiset.add(entry.getElement());
          fail("Expected IllegalArgumentException");
        } catch (IllegalArgumentException expected) {
        }
    
        try {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 20:14:36 UTC 2024
    - 26K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/netbios/Name.java

            this.srcHashCode = 0;
        }
    
        int writeWireFormat(final byte[] dst, final int dstIndex) {
            // write 0x20 in first byte
            dst[dstIndex] = 0x20;
    
            // write name
            try {
                final byte tmp[] = name.getBytes(Name.OEM_ENCODING);
                int i;
                for (i = 0; i < tmp.length; i++) {
                    dst[dstIndex + 2 * i + 1] = (byte) (((tmp[i] & 0xF0) >> 4) + 0x41);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java

        @Override
        public void await() throws InterruptedException {
          lock.lock();
          try {
            condition.await();
          } finally {
            lock.unlock();
          }
        }
    
        @Override
        public boolean await(long time, TimeUnit unit) throws InterruptedException {
          lock.lock();
          try {
            return condition.await(time, unit);
          } finally {
            lock.unlock();
          }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 31.7K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/sso/SsoResponseTypeTest.java

            assertEquals(SsoResponseType.LOGOUT, SsoResponseType.valueOf("LOGOUT"));
        }
    
        public void test_valueOf_invalidName() {
            // Test valueOf with invalid name throws exception
            try {
                SsoResponseType.valueOf("INVALID");
                fail("Expected IllegalArgumentException");
            } catch (IllegalArgumentException e) {
                // Expected exception
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6K bytes
    - Viewed (0)
  8. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/util/CrawlerWebServer.java

            server.setHandler(handlers);
        }
    
        public void start() {
            try {
                server.start();
            } catch (final Exception e) {
                throw new CrawlerSystemException(e);
            }
        }
    
        public void stop() {
            try {
                server.stop();
                server.join();
            } catch (final Exception e) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/util/SearchEngineUtil.java

         */
        public static OutputStream getXContentBuilderOutputStream(final XContentBuilderCallback func, final MediaType mediaType) {
            try (final XContentBuilder builder = func.apply(mediaType.contentBuilder(), ToXContent.EMPTY_PARAMS)) {
                builder.flush();
                return builder.getOutputStream();
            } catch (final IOException e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGeneratorTest.java

            Map<String, Object> docMap = new HashMap<>();
    
            // Note: isTarget requires FessConfig which needs container
            // We can only verify the method handles missing container gracefully
            try {
                generator.isTarget(docMap);
            } catch (IllegalStateException e) {
                // Expected when container is not initialized
                assertTrue(e.getMessage().contains("Not initialized"));
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.1K bytes
    - Viewed (0)
Back to top