Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 3,646 for finally (0.19 sec)

  1. guava-tests/test/com/google/common/io/ByteSourceTester.java

          assertExpectedBytes(readBytes);
        } finally {
          in.close();
        }
      }
    
      public void testOpenBufferedStream() throws IOException {
        InputStream in = source.openBufferedStream();
        try {
          byte[] readBytes = ByteStreams.toByteArray(in);
          assertExpectedBytes(readBytes);
        } finally {
          in.close();
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/ResponseDataUtil.java

    /**
     * @author shinsuke
     *
     */
    public final class ResponseDataUtil {
    
        private ResponseDataUtil() {
        }
    
        public static File createResponseBodyFile(final ResponseData responseData) {
            File tempFile = null;
            FileOutputStream fos = null;
            try (final InputStream is = responseData.getResponseBody()) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/RobotsTxtHelperTest.java

        }
    
        public void testParse() {
            RobotsTxt robotsTxt;
            final InputStream in = RobotsTxtHelperTest.class.getResourceAsStream("robots.txt");
            try {
                robotsTxt = robotsTxtHelper.parse(in);
            } finally {
                CloseableUtil.closeQuietly(in);
            }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  4. scripts/playwright/header_param_models/image01.py

                response = httpx.get("http://localhost:8000/docs")
            except httpx.ConnectError:
                time.sleep(1)
                break
        with sync_playwright() as playwright:
            run(playwright)
    finally:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  5. scripts/playwright/request_form_models/image01.py

                response = httpx.get("http://localhost:8000/docs")
            except httpx.ConnectError:
                time.sleep(1)
                break
        with sync_playwright() as playwright:
            run(playwright)
    finally:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Sep 13 09:14:46 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

            } catch (AuthorizationException e) {
                throw new TransferFailedException("Authorization failed: " + e.getMessage(), e);
            } finally {
                // Remove remaining TransferListener instances (checksum handlers removed in above finally clause)
                if (downloadMonitor != null) {
                    wagon.removeTransferListener(downloadMonitor);
                }
    
                disconnectWagon(wagon);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 29.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/job/CrawlJob.java

                }
            } catch (final JobProcessingException e) {
                throw e;
            } catch (final Exception e) {
                throw new JobProcessingException("Crawler Process terminated.", e);
            } finally {
                try {
                    processHelper.destroyProcess(sessionId);
                } finally {
                    if (propFile != null && !propFile.delete()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Jun 23 04:13:47 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  8. guava/src/com/google/common/cache/LocalCache.java

        private static final long serialVersionUID = 1;
    
        final Strength keyStrength;
        final Strength valueStrength;
        final Equivalence<Object> keyEquivalence;
        final Equivalence<Object> valueEquivalence;
        final long expireAfterWriteNanos;
        final long expireAfterAccessNanos;
        final long maxWeight;
        final Weigher<K, V> weigher;
        final int concurrencyLevel;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 149.2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/io/FilesCreateTempDirTest.java

                    .readAttributes();
            assertThat(attributes.permissions())
                .containsExactly(OWNER_READ, OWNER_WRITE, OWNER_EXECUTE);
          }
        } finally {
          assertThat(temp.delete()).isTrue();
        }
      }
    
      public void testBogusSystemPropertiesUsername() {
        if (isAndroid()) {
          /*
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 06 17:11:11 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/io/ResourcesTest.java

          URL url = Resources.getResource(tempFile.getName());
          String text = Resources.toString(url, UTF_8);
          assertEquals("rud a chur ar an méar fhada" + System.lineSeparator(), text);
        } finally {
          Thread.currentThread().setContextClassLoader(oldContextLoader);
        }
      }
    
      public void testGetResource_contextClassLoaderNull() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 6.8K bytes
    - Viewed (0)
Back to top