Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1011 - 1020 of 1,444 for scratch (0.09 sec)

  1. mockwebserver/src/main/kotlin/mockwebserver3/RecordedRequest.kt

      init {
        if (socket is SSLSocket) {
          try {
            this.handshake = socket.session.handshake()
            this.handshakeServerNames = Platform.get().getHandshakeServerNames(socket)
          } catch (e: IOException) {
            throw IllegalArgumentException(e)
          }
        } else {
          this.handshake = null
          this.handshakeServerNames = listOf()
        }
    
        if (requestLine.isNotEmpty()) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/helper/OsddHelperTest.java

            osddHelper.init();
            assertFalse(osddHelper.hasOpenSearchFile());
    
            try {
                osddHelper.asStream();
                fail();
            } catch (final Exception e) {
                assertEquals("Unsupported Open Search Description Document response.", e.getMessage());
            }
        }
    
        public void test_init_osddpath() throws IOException {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/entity/PingResponse.java

            }, XContentType.JSON)) {
                message = ((ByteArrayOutputStream) out).toString(Constants.UTF_8);
                if (StringUtil.isBlank(message)) {
                    message = "{}";
                }
            } catch (final IOException e) {
                throw new IORuntimeException(e);
            }
        }
    
        public int getStatus() {
            return status;
        }
    
        public String getClusterName() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.9K bytes
    - Viewed (2)
  4. guava-tests/test/com/google/common/util/concurrent/ClosingFutureFinishToValueAndCloserTest.java

        assertThatFutureFailsWithException(closingFuture.statusFuture());
        ValueAndCloser<?> valueAndCloser = finishToValueAndCloser(closingFuture);
        try {
          valueAndCloser.get();
          fail();
        } catch (ExecutionException expected) {
          assertThat(expected).hasCauseThat().isSameInstanceAs(exception);
        }
        valueAndCloser.closeAsync();
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/ExecutionListTest.java

        final AtomicInteger runCalled = new AtomicInteger();
        list.add(
            new Runnable() {
              @Override
              public void run() {
                try {
                  okayToRun.await();
                } catch (InterruptedException e) {
                  Thread.currentThread().interrupt();
                  throw new RuntimeException(e);
                }
                runCalled.getAndIncrement();
              }
            },
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/suggest/settings/SuggestSettingsTest.java

            runner.clean();
        }
    
        @Before
        public void before() throws Exception {
            try {
                runner.admin().indices().prepareDelete("_all").execute().actionGet();
            } catch (IndexNotFoundException ignore) {
    
            }
            runner.refresh();
            settings = Suggester.builder().build(runner.client(), id).settings();
        }
    
        @Test
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/ds/DataStoreFactory.java

                                    }
                                }
                            }
                        }
                    }
                } catch (final Exception e) {
                    logger.warn("Failed to load {}", jarFile.getAbsolutePath(), e);
                }
            }
            return nameSet.stream().sorted().collect(Collectors.toList());
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformerTest.java

        }
    
        public void test_transform_null() {
            try {
                htmlTransformer.transform(null);
                fail();
            } catch (final CrawlerSystemException e) {}
        }
    
        public void test_parseCharset() {
            String content;
    
            content = "...;charset=UTF-8\"...";
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/api/admin/dict/protwords/ApiAdminDictProtwordsAction.java

                return null;
            });
            try (InputStream inputStream = form.protwordsFile.getInputStream()) {
                file.update(inputStream);
            } catch (final IOException e) {
                logger.warn("Failed to process a request.", e);
                throwValidationErrorApi(messages -> messages.addErrorsFailedToUploadProtwordsFile(GLOBAL));
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java

        // The task thread waits for the latch, so we expect a timeout here.
        try {
          future.get(20, MILLISECONDS);
          fail("Should have timed out trying to get the value.");
        } catch (TimeoutException expected) {
        } finally {
          latch.countDown();
        }
      }
    
      /**
       * Tests that a canceled future throws a cancellation exception.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 18:30:30 UTC 2023
    - 6K bytes
    - Viewed (0)
Back to top