Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 570 for poll (0.16 sec)

  1. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

        }
    
    
        private void cleanup () {
            synchronized ( this.connections ) {
                SmbTransportImpl trans;
                while ( ( trans = this.toRemove.poll() ) != null ) {
    
                    if ( log.isDebugEnabled() ) {
                        log.debug("Removing transport connection " + trans + " (" + System.identityHashCode(trans) + ")");
                    }
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Dec 20 14:09:34 GMT 2020
    - 12.5K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/ws/RealWebSocket.kt

        synchronized(this@RealWebSocket) {
          if (failed) {
            return false // Failed web socket.
          }
    
          writer = this.writer
          pong = pongQueue.poll()
          if (pong == null) {
            messageOrClose = messageAndCloseQueue.poll()
            if (messageOrClose is Close) {
              receivedCloseCode = this.receivedCloseCode
              receivedCloseReason = this.receivedCloseReason
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Apr 01 14:21:25 GMT 2024
    - 22.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/QueuesTest.java

          // If even the first one wasn't there, clean up so that the next test doesn't see an element.
          producerThread.cancel(true);
          producer.doneProducing.await();
          if (drained == 0) {
            q.poll(); // not necessarily there if producer was interrupted
          }
        }
      }
    
      public void testZeroElements() throws Exception {
        for (BlockingQueue<Object> q : blockingQueues()) {
          testZeroElements(q);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 12K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/SequentialExecutor.java

                    // from execute().
                    workerRunCount++;
                    workerRunningState = RUNNING;
                    hasSetRunning = true;
                  }
                }
                task = queue.poll();
                if (task == null) {
                  workerRunningState = IDLE;
                  return;
                }
              }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/cache/LocalCache.java

            clearValueReferenceQueue();
          }
        }
    
        void clearKeyReferenceQueue() {
          while (keyReferenceQueue.poll() != null) {}
        }
    
        void clearValueReferenceQueue() {
          while (valueReferenceQueue.poll() != null) {}
        }
    
        // recency queue, shared by expiration and eviction
    
        /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 144.7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java

                    final Map<String, Object> localDataMap =
                            dataMap.entrySet().stream().collect(Collectors.toMap(Map.Entry::getKey, Map.Entry::getValue));
                    String processingUrl = urlQueue.poll();
                    processedUrls.add(processingUrl);
                    if (deleteUrlList.contains(processingUrl)) {
                        deleteDocuments(); // delete before indexing
                    }
                    try {
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 16.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

          while (true) {
            Future<T> f = futureQueue.poll();
            if (f == null) {
              if (ntasks > 0) {
                --ntasks;
                futures.add(submitAndAddQueueListener(executorService, it.next(), futureQueue));
                ++active;
              } else if (active == 0) {
                break;
              } else if (timed) {
                f = futureQueue.poll(timeoutNanos, TimeUnit.NANOSECONDS);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 41.8K bytes
    - Viewed (0)
  8. guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java

        public void execute() {
          synchronized (runnables) {
            if (executed) {
              return;
            }
            executed = true;
          }
    
          while (!runnables.isEmpty()) {
            runnables.poll().execute();
          }
        }
    
        private static class RunnableExecutorPair {
          final Runnable runnable;
          final Executor executor;
    
          RunnableExecutorPair(Runnable runnable, Executor executor) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 15:19:38 GMT 2023
    - 20.4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/cache/LocalCache.java

            clearValueReferenceQueue();
          }
        }
    
        void clearKeyReferenceQueue() {
          while (keyReferenceQueue.poll() != null) {}
        }
    
        void clearValueReferenceQueue() {
          while (valueReferenceQueue.poll() != null) {}
        }
    
        // recency queue, shared by expiration and eviction
    
        /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 150.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/Striped.java

        // in the array. We could skip this if we decide we don't care about holding on to Reference
        // objects indefinitely.
        private void drainQueue() {
          Reference<? extends L> ref;
          while ((ref = queue.poll()) != null) {
            // We only ever register ArrayReferences with the queue so this is always safe.
            ArrayReference<? extends L> arrayRef = (ArrayReference<? extends L>) ref;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 10 20:55:18 GMT 2023
    - 20.3K bytes
    - Viewed (1)
Back to top