Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 121 - 130 of 2,127 for finally (0.05 seconds)

  1. android/guava-tests/test/com/google/common/util/concurrent/InterruptionUtil.java

     * @author Chris Povirk
     */
    @NullUnmarked
    final class InterruptionUtil {
      private static final Logger logger = Logger.getLogger(InterruptionUtil.class.getName());
    
      /** Runnable which will interrupt the target thread repeatedly when run. */
      private static final class Interruptenator implements Runnable {
        private final long everyMillis;
        private final Thread interruptee;
        private volatile boolean shouldStop = false;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Aug 10 19:54:19 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/BridgeInterceptor.kt

    import okio.GzipSource
    import okio.buffer
    
    /**
     * Bridges from application code to network code. First it builds a network request from a user
     * request. Then it proceeds to call the network. Finally it builds a user response from the network
     * response.
     */
    class BridgeInterceptor(
      private val cookieJar: CookieJar,
    ) : Interceptor {
      @Throws(IOException::class)
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/PrecedenceCoreExtensionSelector.java

        }
    
        /**
         * Selects extensions to load discovered from various sources by precedence ("first wins"), as
         * {@link InvokerRequest#coreExtensions()} is in precedence order. Also reports conflicts, if any.
         * Finally, at DEBUG level reports configured vs selected extensions.
         */
        protected List<CoreExtension> selectCoreExtensions(C context, List<CoreExtensions> configuredCoreExtensions) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Sep 29 15:32:43 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/io/MultiInputStream.java

     * a time.
     *
     * @author Chris Nokleberg
     * @since 1.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    final class MultiInputStream extends InputStream {
    
      private final Iterator<? extends ByteSource> it;
      private @Nullable InputStream in;
    
      /**
       * Creates a new instance.
       *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed May 14 19:40:47 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/util/concurrent/DirectExecutorService.java

    import java.util.concurrent.TimeUnit;
    
    /** See newDirectExecutorService javadoc for behavioral notes. */
    @GwtIncompatible
    final class DirectExecutorService extends AbstractListeningExecutorService {
    
      /** Lock used whenever accessing the state variables (runningTasks, shutdown) of the executor */
      private final Object lock = new Object();
    
      /*
       * Conceptually, these two variables describe the executor being in
       * one of three states:
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Dec 16 14:23:59 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  6. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/util/KotlinSourceParser.kt

            org.jetbrains.kotlin.cli.common.environment.setIdeaIoUseFallback()
    }
    
    
    private
    inline fun <T : Any?> Disposable.use(action: Disposable.() -> T) =
        try {
            action(this)
        } finally {
            Disposer.dispose(this)
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Sep 16 08:22:33 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt

            // This method call results in one or more onRead* methods being called on this thread.
            reader!!.processNextFrame()
          }
        } catch (e: Exception) {
          failWebSocket(e = e)
        } finally {
          finishReader()
        }
      }
    
      /**
       * For testing: receive a single frame and return true if there are more frames to read. Invoked
       * only by the reader thread.
       */
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Jul 31 04:18:40 GMT 2025
    - 21.6K bytes
    - Click Count (0)
  8. impl/maven-cli/src/test/java/org/apache/maven/cling/transfer/ConsoleMavenTransferListenerTest.java

                    assertTrue(test, message + "] are missing in " + output);
                }
            } finally {
                service.shutdown();
            }
        }
    
        private void test(
                TransferListener listener,
                DefaultRepositorySystemSession session,
                TransferResource resource,
                final int bytes) {
            TransferEvent event = new TransferEvent.Builder(session, resource)
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

          return getState() == Thread.State.WAITING && LockSupport.getBlocker(this) == future;
        }
      }
    
      static final class TimedWaiterThread extends Thread {
        private final AbstractFuture<?> future;
        private final long timeout;
        private final TimeUnit unit;
        private Exception exception;
        private volatile long startTime;
        private long timeSpentBlocked;
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:45:32 GMT 2025
    - 46.8K bytes
    - Click Count (0)
  10. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ApplyTest.java

                    applyGoal.execute(context);
    
                    // Verify that the Apply-specific header is logged
                    verify(context.logger).info("Maven Upgrade Tool - Apply");
                } finally {
                    // Clean up - delete all files in the directory first
                    try {
                        Files.walk(tempDir)
                                .sorted(java.util.Comparator.reverseOrder())
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 10:39:17 GMT 2025
    - 4.9K bytes
    - Click Count (0)
Back to Top