Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 331 for enqueue (0.15 sec)

  1. src/main/java/jcifs/audit/SecurityAuditLogger.java

        private final Queue<AuditEntry> auditEntryPool = new ConcurrentLinkedQueue<>();
        private final Queue<StringBuilder> stringBuilderPool = new ConcurrentLinkedQueue<>();
        private final Queue<HashMap<String, Object>> mapPool = new ConcurrentLinkedQueue<>();
    
        // Asynchronous logging
        private final BlockingQueue<AuditEntry> logQueue = new LinkedBlockingQueue<>(10000); // Bounded queue
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Synchronized.java

      }
    
      static <E extends @Nullable Object> Queue<E> queue(Queue<E> queue, @Nullable Object mutex) {
        return (queue instanceof SynchronizedQueue) ? queue : new SynchronizedQueue<E>(queue, mutex);
      }
    
      private static class SynchronizedQueue<E extends @Nullable Object>
          extends SynchronizedCollection<E> implements Queue<E> {
    
        SynchronizedQueue(Queue<E> delegate, @Nullable Object mutex) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Aug 08 15:11:10 UTC 2025
    - 53K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Synchronized.java

      }
    
      static <E extends @Nullable Object> Queue<E> queue(Queue<E> queue, @Nullable Object mutex) {
        return (queue instanceof SynchronizedQueue) ? queue : new SynchronizedQueue<E>(queue, mutex);
      }
    
      private static class SynchronizedQueue<E extends @Nullable Object>
          extends SynchronizedCollection<E> implements Queue<E> {
    
        SynchronizedQueue(Queue<E> delegate, @Nullable Object mutex) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Aug 08 15:11:10 UTC 2025
    - 56.9K bytes
    - Viewed (0)
  4. internal/grid/connection.go

    				continue
    			}
    		}
    		if len(queue) < maxMergeMessages && queueSize+len(toSend) < writeBufferSize-1024 {
    			if len(c.outQueue) == 0 {
    				// Yield to allow more messages to fill.
    				runtime.Gosched()
    			}
    			if len(c.outQueue) > 0 {
    				queue = append(queue, toSend)
    				queueSize += len(toSend)
    				continue
    			}
    		}
    		c.outMessages.Add(int64(len(queue) + 1))
    		if c.outgoingBytes != nil {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 46.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/collection/CollectionsUtil.java

        }
    
        /**
         * Creates and returns a new instance of {@link ArrayBlockingQueue}.
         *
         * @param <E> the element type of {@link ArrayBlockingQueue}
         * @param capacity the queue capacity
         * @param fair whether the queue is fair
         * @return a new instance of {@link ArrayBlockingQueue}
         * @see ArrayBlockingQueue#ArrayBlockingQueue(int, boolean)
         */
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 49.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/Striped.java

          return created;
        }
    
        // N.B. Draining the queue is only necessary to ensure that we don't accumulate empty references
        // 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) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 16 22:01:32 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  7. internal/logger/target/kafka/kafka.go

    	types "github.com/minio/minio/internal/logger/target/loggertypes"
    	"github.com/minio/minio/internal/once"
    	"github.com/minio/minio/internal/store"
    	xnet "github.com/minio/pkg/v3/net"
    )
    
    // the suffix for the configured queue dir where the logs will be persisted.
    const kafkaLoggerExtension = ".kafka.log"
    
    const (
    	statusClosed = iota
    	statusOffline
    	statusOnline
    )
    
    // Config - kafka target arguments.
    type Config struct {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/crawler/FessCrawlerThread.java

                }
            }
            return true;
        }
    
        /**
         * Stores child URLs from the given set into the crawling queue for future processing.
         * This method filters out blank URLs and increments the depth for child URLs.
         *
         * @param urlQueue the parent URL queue item
         * @param childUrlSet the set of child URLs to be queued for crawling
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Dec 11 09:47:03 UTC 2025
    - 19.5K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskRunner.kt

        task.nextExecuteNanoTime = -1L
        val queue = task.queue!!
        queue.futureTasks.remove(task)
        readyQueues.remove(queue)
        queue.activeTask = task
        busyQueues.add(queue)
      }
    
      private fun afterRun(
        task: Task,
        delayNanos: Long,
        completedNormally: Boolean,
      ) {
        assertLockHeld()
    
        val queue = task.queue!!
        check(queue.activeTask === task)
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Aug 30 11:30:11 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  10. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildEnvironment.kt

    
    // gh-readonly-queue/master/pr-1234-5678abcdef -> master
    fun toMergeQueueBaseBranch(actualBranch: String): String = when {
        actualBranch.startsWith("gh-readonly-queue/") -> actualBranch.substringAfter("/").substringBefore("/")
        else -> actualBranch
    }
    
    /**
     * The build environment.
     *
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Sat Dec 21 08:58:33 UTC 2024
    - 4.7K bytes
    - Viewed (1)
Back to top