Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1631 - 1640 of 2,742 for throws (0.17 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/-ResponseCommon.kt

    fun Response.commonHeaders(name: String): List<String> = headers.values(name)
    
    @JvmOverloads
    fun Response.commonHeader(
      name: String,
      defaultValue: String?,
    ): String? = headers[name] ?: defaultValue
    
    @Throws(IOException::class)
    fun Response.commonPeekBody(byteCount: Long): ResponseBody {
      val peeked = body.source().peek()
      val buffer = Buffer()
      peeked.request(byteCount)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 13:24:48 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/FileProfileActivatorTest.java

        @BeforeEach
        @Override
        void setUp() throws Exception {
            activator = new FileProfileActivator(
                    new ProfileActivationFilePathInterpolator(new DefaultPathTranslator(), bd -> true));
    
            context.setProjectDirectory(tempDir.toFile());
    
            File file = new File(tempDir.resolve("file.txt").toString());
            if (!file.createNewFile()) {
                throw new IOException("Can't create " + file);
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/api/engine/SearchEngineApiManager.java

            return servletPath.startsWith(pathPrefix);
        }
    
        @Override
        public void process(final HttpServletRequest request, final HttpServletResponse response, final FilterChain chain)
                throws IOException, ServletException {
            final RequestManager requestManager = ComponentUtil.getRequestManager();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Aug 15 08:29:24 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/ReactorReader.java

            @Inject
            ReactorReaderSpy(Lookup lookup) {
                this.lookup = lookup;
            }
    
            @Override
            public void init(Context context) throws Exception {}
    
            @Override
            public void onEvent(Object event) throws Exception {
                if (event instanceof ExecutionEvent) {
                    ReactorReader reactorReader = lookup.lookup(ReactorReader.class);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/EmlExtractor.java

                if (logger.isDebugEnabled()) {
                    logger.debug("Exception in parsing BodyPart.", e);
                }
            }
        }
    
        protected static Date getReceivedDate(final Message message) throws MessagingException {
            final Date today = new Date();
            final String[] received = message.getHeader("received");
            if (received != null) {
                for (final String v : received) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  6. compat/maven-embedder/src/test/java/org/apache/maven/cli/transfer/ConsoleMavenTransferListenerTest.java

    class ConsoleMavenTransferListenerTest {
    
        private CountDownLatch startLatch;
        private CountDownLatch endLatch;
    
        @Test
        void testTransferProgressedWithPrintResourceNames() throws Exception {
            int size = 1000;
            ExecutorService service = Executors.newFixedThreadPool(size * 2);
            startLatch = new CountDownLatch(size);
            endLatch = new CountDownLatch(size);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/InternersTest.java

        assertEquals(Strength.WEAK, internerImpl.map.keyStrength());
        assertEquals(concurrencyLevel, internerImpl.map.concurrencyLevel);
      }
    
    
      public void testWeak_afterGC() throws InterruptedException {
        Integer canonical = new Integer(5);
        Integer not = new Integer(5);
    
        Interner<Integer> pool = Interners.newWeakInterner();
        assertSame(canonical, pool.intern(canonical));
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 4K bytes
    - Viewed (0)
  8. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/AbstractMavenTransferListener.java

            message.resetStyle().append(resource.getResourceName());
    
            out.println(message.toString());
        }
    
        @Override
        public void transferCorrupted(TransferEvent event) throws TransferCancelledException {
            TransferResource resource = event.getResource();
            // TODO This needs to be colorized
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/ListenableFuture.java

       * this method is guaranteed to be called once the computation is complete.
       *
       * <p>Exceptions thrown by a listener will be propagated up to the executor. Any exception thrown
       * during {@code Executor.execute} (e.g., a {@code RejectedExecutionException} or an exception
       * thrown by {@linkplain MoreExecutors#directExecutor direct execution}) will be caught and
       * logged.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jun 26 21:13:41 UTC 2023
    - 8K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/profiles/DefaultProfileManager.java

                explicitlyDeactivate(profileId1);
            }
        }
    
        /* (non-Javadoc)
         * @see org.apache.maven.profiles.ProfileManager#getActiveProfiles()
         */
        public List getActiveProfiles() throws ProfileActivationException {
            DefaultProfileActivationContext context = new DefaultProfileActivationContext();
            context.setActiveProfileIds(activatedIds);
            context.setInactiveProfileIds(deactivatedIds);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.7K bytes
    - Viewed (0)
Back to top