Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 464 for Runnable (0.2 sec)

  1. src/main/java/jcifs/netbios/NameServiceClientImpl.java

    import jcifs.ResolverType;
    import jcifs.RuntimeCIFSException;
    import jcifs.SmbConstants;
    import jcifs.util.Hexdump;
    
    
    /**
     * 
     * @author mbechler
     *
     */
    public class NameServiceClientImpl implements Runnable, NameServiceClient {
    
        private static final int NAME_SERVICE_UDP_PORT = 137;
    
        static final byte[] UNKNOWN_MAC_ADDRESS = new byte[] {
            (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 14 14:26:22 UTC 2022
    - 38.2K bytes
    - Viewed (0)
  2. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  3. okhttp/api/okhttp.api

    	public final fun getIdleCallback ()Ljava/lang/Runnable;
    	public final fun getMaxRequests ()I
    	public final fun getMaxRequestsPerHost ()I
    	public final fun queuedCalls ()Ljava/util/List;
    	public final fun queuedCallsCount ()I
    	public final fun runningCalls ()Ljava/util/List;
    	public final fun runningCallsCount ()I
    	public final fun setIdleCallback (Ljava/lang/Runnable;)V
    	public final fun setMaxRequests (I)V
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 13:41:01 UTC 2024
    - 70.2K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/KotlinSourceModernTest.kt

        val maxRequestsPerHost: Int = dispatcher.maxRequestsPerHost
        dispatcher.maxRequestsPerHost = 0
        val executorService: ExecutorService = dispatcher.executorService
        dispatcher.idleCallback = Runnable { ({ TODO() })() }
        val queuedCalls: List<Call> = dispatcher.queuedCalls()
        val runningCalls: List<Call> = dispatcher.runningCalls()
        val queuedCallsCount: Int = dispatcher.queuedCallsCount()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 01 14:21:25 UTC 2024
    - 46.5K bytes
    - Viewed (0)
  5. docs/recipes.md

                .build();
    
            final long startNanos = System.nanoTime();
            final Call call = client.newCall(request);
    
            // Schedule a job to cancel the call in 1 second.
            executor.schedule(new Runnable() {
              @Override public void run() {
                System.out.printf("%.2f Canceling call.%n", (System.nanoTime() - startNanos) / 1e9f);
                call.cancel();
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Feb 18 08:52:22 UTC 2022
    - 40.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java

                }
            } catch (final Exception e) {
                logger.warn("Failed to flush config files.", e);
            }
        }
    
        public void flushConfigFiles(final Runnable callback) {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
    
            final String fesenType = fessConfig.getFesenType();
            switch (fesenType) {
            case Constants.FESEN_TYPE_CLOUD:
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Oct 20 02:08:03 UTC 2024
    - 86.1K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

        sink.writeUtf8(bytes)
        sink.close()
        return bytesOut
      }
    
      internal inner class AsyncRequest(
        val path: String,
        val countDownLatch: CountDownLatch,
      ) : Runnable {
        override fun run() {
          try {
            val call =
              client.newCall(
                Request.Builder()
                  .url(server.url(path))
                  .build(),
              )
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 75.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        final CountDownLatch gettersComplete = new CountDownLatch(nThreads);
        for (int i = 0; i < nThreads; i++) {
          final int index = i;
          Thread thread =
              new Thread(
                  new Runnable() {
                    @Override
                    public void run() {
                      gettersStartedSignal.countDown();
                      Object value = null;
                      try {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 86.3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/MapMakerInternalMap.java

        }
    
        @Override
        void maybeClearReferenceQueues() {
          clearReferenceQueue(queueForKeys);
        }
      }
    
      static final class CleanupMapTask implements Runnable {
        final WeakReference<MapMakerInternalMap<?, ?, ?, ?>> mapReference;
    
        public CleanupMapTask(MapMakerInternalMap<?, ?, ?, ?> map) {
          this.mapReference = new WeakReference<>(map);
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 90.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

        }
    
        @Override
        void maybeClearReferenceQueues() {
          clearReferenceQueue(queueForKeys);
        }
      }
    
      static final class CleanupMapTask implements Runnable {
        final WeakReference<MapMakerInternalMap<?, ?, ?, ?>> mapReference;
    
        public CleanupMapTask(MapMakerInternalMap<?, ?, ?, ?> map) {
          this.mapReference = new WeakReference<>(map);
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 90.8K bytes
    - Viewed (0)
Back to top