Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 349 for runnable (0.1 sec)

  1. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

    import java.util.HashMap;
    import java.util.StringTokenizer;
    
    import jcifs.smb1.Config;
    import jcifs.smb1.util.Hexdump;
    import jcifs.smb1.util.LogStream;
    
    class NameServiceClient implements Runnable {
    
        static final int DEFAULT_SO_TIMEOUT = 5000;
        static final int DEFAULT_RCV_BUF_SIZE = 576;
        static final int DEFAULT_SND_BUF_SIZE = 576;
        static final int NAME_SERVICE_UDP_PORT = 137;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/DispatcherTest.kt

        assertThat(a4.isExecuted()).isFalse()
        assertThat(a4.isCanceled()).isFalse()
      }
    
      @Test
      fun idleCallbackInvokedWhenIdle() {
        val idle = AtomicBoolean()
        dispatcher.idleCallback = Runnable { idle.set(true) }
        client.newCall(newRequest("http://a/1")).enqueue(callback)
        client.newCall(newRequest("http://a/2")).enqueue(callback)
        executor.finishJob("http://a/1")
        assertThat(idle.get()).isFalse()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/QueuesTest.java

              q.put(new Object());
            }
            return null;
          } finally {
            doneProducing.countDown();
          }
        }
      }
    
      private static class Interrupter implements Runnable {
        final Thread threadToInterrupt;
    
        Interrupter(Thread threadToInterrupt) {
          this.threadToInterrupt = threadToInterrupt;
        }
    
        @Override
        public void run() {
          try {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/AbstractTransformFuture.java

    @SuppressWarnings("ShortCircuitBoolean")
    abstract class AbstractTransformFuture<
            I extends @Nullable Object, O extends @Nullable Object, F, T extends @Nullable Object>
        extends FluentFuture.TrustedFuture<O> implements Runnable {
      static <I extends @Nullable Object, O extends @Nullable Object> ListenableFuture<O> createAsync(
          ListenableFuture<I> input,
          AsyncFunction<? super I, ? extends O> function,
          Executor executor) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 20 18:03:37 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealCall.kt

            " to " + redactedUrl()
        )
    
      internal fun redactedUrl(): String = originalRequest.url.redact()
    
      inner class AsyncCall(
        private val responseCallback: Callback,
      ) : Runnable {
        @Volatile var callsPerHost = AtomicInteger(0)
          private set
    
        fun reuseCallsPerHostFrom(other: AsyncCall) {
          this.callsPerHost = other.callsPerHost
        }
    
        val host: String
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:30:11 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

          ImmutableCollection<? extends Future<? extends InputT>> localFuturesOrNull =
              collectsValues ? localFutures : null;
          Runnable listener = () -> decrementCountAndMaybeComplete(localFuturesOrNull);
          for (ListenableFuture<? extends InputT> future : localFutures) {
            if (future.isDone()) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 16K bytes
    - Viewed (0)
  7. src/main/java/jcifs/util/transport/Transport.java

     */
    
    /**
     * Abstract base class for network transport implementations in JCIFS.
     * This class handles the low-level transport protocol for SMB communication.
     */
    public abstract class Transport implements Runnable, AutoCloseable {
    
        /**
         * Default constructor for Transport
         */
        protected Transport() {
            // Default constructor
        }
    
        private static int id = 0;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 27.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/netbios/NameServiceClientImpl.java

     * Provides functionality for NetBIOS name resolution and network discovery operations.
     *
     * @author mbechler
     */
    public class NameServiceClientImpl implements Runnable, NameServiceClient {
    
        private static final int NAME_SERVICE_UDP_PORT = 137;
    
        static final byte[] UNKNOWN_MAC_ADDRESS = { (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00 };
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 38.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

            thumbnailTaskQueue = new LinkedBlockingQueue<>(thumbnailTaskQueueSize);
            generating = !Constants.TRUE.equalsIgnoreCase(System.getProperty("fess.thumbnail.process"));
            thumbnailQueueThread = new Thread((Runnable) () -> {
                final List<Tuple3<String, String, String>> taskList = new ArrayList<>();
                while (generating) {
                    try {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/FluentFuture.java

          return super.isDone();
        }
    
        @Override
        public final boolean isCancelled() {
          return super.isCancelled();
        }
    
        @Override
        public final void addListener(Runnable listener, Executor executor) {
          super.addListener(listener, executor);
        }
    
        @CanIgnoreReturnValue
        @Override
        public final boolean cancel(boolean mayInterruptIfRunning) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19.7K bytes
    - Viewed (0)
Back to top