Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 4,604 for finally (0.1 seconds)

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

        private final List<Suppression> suppressions = new ArrayList<>();
    
        @Override
        public void suppress(Closeable closeable, Throwable thrown, Throwable suppressed) {
          suppressions.add(new Suppression(closeable, thrown, suppressed));
        }
      }
    
      /** Record of a call to suppress. */
      private static class Suppression {
        private final Closeable closeable;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 11.9K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/io/FileBackedOutputStream.java

          state.write(b, off, len);
        } finally {
          reachabilityFence(byteSource);
        }
      }
    
      @Override
      public void close() throws IOException {
        try {
          state.close();
        } finally {
          reachabilityFence(byteSource);
        }
      }
    
      @Override
      public void flush() throws IOException {
        try {
          state.flush();
        } finally {
          reachabilityFence(byteSource);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 17:30:49 GMT 2026
    - 12.4K bytes
    - Click Count (0)
  3. src/main/java/jcifs/internal/smb2/lease/DirectoryCacheEntry.java

         */
        public static class FileInfo {
            private final String name;
            private final long size;
            private final long lastModified;
            private final boolean isDirectory;
            private final long attributes;
            private final long creationTime;
            private final long lastAccessTime;
    
            /**
             * Create file info from name and attributes
             *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 02:21:31 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java

            final NtlmPasswordAuthenticator correctAuth = new NtlmPasswordAuthenticator("domain", "user", new String(password));
            final NtlmPasswordAuthenticator wrongAuth = new NtlmPasswordAuthenticator("domain", "user", new String(wrongPassword));
    
            final int threadCount = 10;
            final int operationsPerThread = 100;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 11.2K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/util/concurrent/Uninterruptibles.java

        try {
          while (true) {
            try {
              latch.await();
              return;
            } catch (InterruptedException e) {
              interrupted = true;
            }
          }
        } finally {
          if (interrupted) {
            Thread.currentThread().interrupt();
          }
        }
      }
    
      /**
       * Invokes {@code latch.}{@link CountDownLatch#await(long, TimeUnit) await(timeout, unit)}
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 23:24:32 GMT 2026
    - 22.5K bytes
    - Click Count (0)
  6. fess-crawler-lasta/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

        }
    
        @Test
        public void test_execute_web() throws Exception {
            final CrawlerWebServer server = new CrawlerWebServer(0);
            server.start();
    
            final String url = "http://localhost:" + server.getPort() + "/";
            try {
                final int maxCount = 50;
                final int numOfThread = 10;
    
                final File file = File.createTempFile("crawler-", "");
                file.delete();
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Thu Jan 15 01:11:43 GMT 2026
    - 13.1K bytes
    - Click Count (0)
  7. android/guava-testlib/test/com/google/common/testing/GcFinalizationTest.java

              assertThrows(RuntimeException.class, () -> GcFinalization.awaitClear(ref));
          assertWrapsInterruptedException(expected);
        } finally {
          reachabilityFence(foo);
          interruptenator.shutdown();
          Thread.interrupted();
        }
      }
    
      private static final class Foo {}
    
      public void testAwaitDone_finalizationPredicate_interrupted() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 8.8K bytes
    - Click Count (0)
  8. src/main/java/jcifs/util/SecureCredentialStorage.java

        private static final Logger log = LoggerFactory.getLogger(SecureCredentialStorage.class);
    
        private static final String ENCRYPTION_ALGORITHM = "AES/GCM/NoPadding";
        private static final String KEY_ALGORITHM = "AES";
        private static final String KEY_DERIVATION_ALGORITHM = "PBKDF2WithHmacSHA256";
        private static final int KEY_SIZE = 256;
        private static final int GCM_TAG_SIZE = 128;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 12.7K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/io/CharSource.java

            return seq.length();
          } catch (Throwable e) {
            throw closer.rethrow(e);
          } finally {
            closer.close();
          }
        }
      }
    
      private static final class EmptyCharSource extends StringCharSource {
    
        private static final EmptyCharSource INSTANCE = new EmptyCharSource();
    
        private EmptyCharSource() {
          super("");
        }
    
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 25.7K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/util/concurrent/TrustedListenableFutureTaskTest.java

                    interruptedExceptionThrown.set(true);
                    throw e;
                  } finally {
                  }
                });
        assertFalse(task.isDone());
        Thread thread =
            new Thread(
                () -> {
                  try {
                    task.run();
                  } finally {
                    exitLatch.countDown();
                  }
                });
        thread.start();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 6.5K bytes
    - Click Count (0)
Back to Top