Search Options

Results per page
Sort
Preferred Languages
Advance

Results 581 - 590 of 626 for help (0.04 sec)

  1. guava/src/com/google/common/util/concurrent/ServiceManager.java

        void dispatchListenerEvents() {
          checkState(
              !monitor.isOccupiedByCurrentThread(),
              "It is incorrect to execute listeners with the monitor held.");
          listeners.dispatch();
        }
    
        @GuardedBy("monitor")
        void checkHealthy() {
          if (states.count(RUNNING) != numberOfServices) {
            IllegalStateException exception =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  2. src/bytes/buffer.go

    	//	return append(b, make([]byte, n)...)
    	// This avoids unnecessary zero-ing of the first len(b) bytes of the
    	// allocated slice, but this pattern causes b to escape onto the heap.
    	//
    	// Instead use the append-make pattern with a nil slice to ensure that
    	// we allocate buffers rounded up to the closest size class.
    	c := len(b) + n // ensure enough space for n elements
    	if c < 2*cap(b) {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Oct 29 16:47:05 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  3. common-protos/k8s.io/api/flowcontrol/v1beta1/generated.proto

    // +union
    message LimitResponse {
      // `type` is "Queue" or "Reject".
      // "Queue" means that requests that can not be executed upon arrival
      // are held in a queue until they can be executed or a queuing limit
      // is reached.
      // "Reject" means that requests that can not be executed upon arrival
      // are rejected.
      // Required.
      // +unionDiscriminator
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/HashBiMap.java

        stream.defaultReadObject();
        int size = Serialization.readCount(stream);
        init(16); // resist hostile attempts to allocate gratuitous heap
        Serialization.populateMap(this, stream, size);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 36.4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/Striped.java

         * for (Lock lock : locks) {
         *   lock.lock();
         * }
         * operation();
         * for (Lock lock : locks) {
         *   lock.unlock();
         * }
         *
         * If we only held the int[] stripes, translating it on the fly to L's, the original locks might
         * be garbage collected after locking them, ending up in a huge mess.
         */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 26 12:58:35 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

        taskFuture.addListener(listener, directExecutor());
    
        return outputFuture;
      }
    
      enum RunningState {
        NOT_RUN,
        CANCELLED,
        STARTED,
      }
    
      /**
       * This class helps avoid a StackOverflowError when large numbers of tasks are submitted with
       * {@link MoreExecutors#directExecutor}. Normally, when the first future completes, all the other
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 01 21:46:34 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  7. internal/dsync/drwmutex.go

    			time.Sleep(time.Duration(dm.rng.Float64() * float64(dm.lockRetryMinInterval)))
    			if time.Since(started) > dm.clnt.Timeouts.UnlockCall {
    				return
    			}
    		}
    	}()
    }
    
    // RUnlock releases a read lock held on dm.
    //
    // It is a run-time error if dm is not locked on entry to RUnlock.
    func (dm *DRWMutex) RUnlock(ctx context.Context) {
    	dm.m.Lock()
    	dm.cancelRefresh()
    	dm.m.Unlock()
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 15:49:49 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  8. common-protos/k8s.io/api/flowcontrol/v1alpha1/generated.proto

    // +union
    message LimitResponse {
      // `type` is "Queue" or "Reject".
      // "Queue" means that requests that can not be executed upon arrival
      // are held in a queue until they can be executed or a queuing limit
      // is reached.
      // "Reject" means that requests that can not be executed upon arrival
      // are rejected.
      // Required.
      // +unionDiscriminator
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  9. common-protos/k8s.io/api/flowcontrol/v1beta2/generated.proto

    // +union
    message LimitResponse {
      // `type` is "Queue" or "Reject".
      // "Queue" means that requests that can not be executed upon arrival
      // are held in a queue until they can be executed or a queuing limit
      // is reached.
      // "Reject" means that requests that can not be executed upon arrival
      // are rejected.
      // Required.
      // +unionDiscriminator
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Iterators.java

        final Queue<PeekingIterator<T>> queue;
    
        public MergingIterator(
            Iterable<? extends Iterator<? extends T>> iterators, Comparator<? super T> itemComparator) {
          // A comparator that's used by the heap, allowing the heap
          // to be sorted based on the top of each iterator.
          Comparator<PeekingIterator<T>> heapComparator =
              (PeekingIterator<T> o1, PeekingIterator<T> o2) ->
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 50.3K bytes
    - Viewed (0)
Back to top