Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 111 - 120 of 4,604 for finally (0.06 seconds)

  1. guava-tests/test/com/google/common/reflect/ClassPathTest.java

    import org.junit.Test;
    
    /** Functional tests of {@link ClassPath}. */
    @NullUnmarked
    public class ClassPathTest extends TestCase {
      private static final Logger log = Logger.getLogger(ClassPathTest.class.getName());
      private static final File FILE = new File(".");
    
      public void testEquals() {
        new EqualsTester()
            .addEqualityGroup(classInfo(ClassPathTest.class), classInfo(ClassPathTest.class))
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 25.8K bytes
    - Click Count (0)
  2. 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();
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 8.6K bytes
    - Click Count (0)
  3. 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);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 29.9K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb1/util/transport/Transport.java

         * @param len the number of bytes to read
         * @return the number of bytes actually read
         * @throws IOException if an I/O error occurs
         */
        public static int readn(final InputStream in, final byte[] b, final int off, final int len) throws IOException {
            int i = 0, n = -5;
    
            while (i < len) {
                n = in.read(b, off + i, len - i);
                if (n <= 0) {
                    break;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 11.3K bytes
    - Click Count (0)
  5. tests/test_dependency_after_yield_websockets.py

                else:
                    raise ValueError("Session closed")
    
    
    @contextmanager
    def acquire_session() -> Generator[Session, None, None]:
        session = Session()
        try:
            yield session
        finally:
            session.open = False
    
    
    def dep_session() -> Any:
        with acquire_session() as s:
            yield s
    
    
    def broken_dep_session() -> Any:
        with acquire_session() as s:
            s.open = False
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 2K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb1/smb1/SID.java

                    resolve(origin_server, origin_auth);
                } catch (final IOException ioe) {} finally {
                    origin_server = null;
                    origin_auth = null;
                }
            }
        }
    
        static SID[] getGroupMemberSids0(final DcerpcHandle handle, final SamrDomainHandle domainHandle, final SID domsid, final int rid,
                final int flags) throws IOException {
            SamrAliasHandle aliasHandle = null;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 31.5K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

    import org.junit.Test;
    
    /** Functional tests of {@link ClassPath}. */
    @NullUnmarked
    public class ClassPathTest extends TestCase {
      private static final Logger log = Logger.getLogger(ClassPathTest.class.getName());
      private static final File FILE = new File(".");
    
      public void testEquals() {
        new EqualsTester()
            .addEqualityGroup(classInfo(ClassPathTest.class), classInfo(ClassPathTest.class))
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 23.1K bytes
    - Click Count (0)
  8. Jenkinsfile

            sh "mvn --errors --batch-mode --show-version org.apache.maven.plugins:maven-wrapper-plugin:3.3.4:wrapper -Dmaven=3.9.12"
            sh "echo run Its"
            sh "./mvnw -e -B -V install $extraArgs"
          }
        }
        finally {
          junit testResults: '**/target/test-results-surefire/*.xml', allowEmptyResults: true
        }
      }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Jan 26 16:20:31 GMT 2026
    - 2K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/io/ResourcesTest.java

          URL url = Resources.getResource(tempFile.getName());
          String text = Resources.toString(url, UTF_8);
          assertThat(text).isEqualTo("rud a chur ar an méar fhada" + System.lineSeparator());
        } finally {
          Thread.currentThread().setContextClassLoader(oldContextLoader);
        }
      }
    
      public void testGetResource_contextClassLoaderNull() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 6.9K bytes
    - Click Count (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerThread.java

         */
        protected void storeChildUrls(final Set<RequestData> childUrlList, final String url, final int depth) {
            if (crawlerContext.getMaxDepth() >= 0 && depth > crawlerContext.getMaxDepth()) {
                return;
            }
    
            // add url and filter
            final Set<String> urlSet = new HashSet<>();
            final List<UrlQueue<?>> childList = childUrlList.stream()
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Wed Dec 31 09:07:38 GMT 2025
    - 20.3K bytes
    - Click Count (0)
Back to Top