Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 6,335 for gives (0.13 sec)

  1. pkg/queue/delay.go

    	//
    	// GOMAXPROCS determines how many goroutines can run in parallel,
    	// which makes it the best choice as the channel capacity,
    	return n
    }()
    
    // NewDelayed gives a Delayed queue with maximum concurrency specified by workers.
    func NewDelayed(opts ...DelayQueueOption) Delayed {
    	q := &delayQueue{
    		workers: 1,
    		queue:   &pq{},
    		execute: make(chan *delayTask, workerChanBuf),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jul 20 06:27:31 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  2. prow/lib.sh

          kind: Config
          preferences: {}
          users:
             - name: ${CLUSTER_NAME}
               user:
                 token: ${TOKEN}
    EOF
    }
    
    # gives a copy of a given topology JSON editing the given key on the entry with the given cluster name
    function set_topology_value() {
        local JSON="$1"
        local CLUSTER_NAME="$2"
        local KEY="$3"
        local VALUE="$4"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 12:26:52 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ConcurrentHashMultiset.java

        for (AtomicInteger value : countMap.values()) {
          sum += value.get();
        }
        return Ints.saturatedCast(sum);
      }
    
      /*
       * Note: the superclass toArray() methods assume that size() gives a correct
       * answer, which ours does not.
       */
    
      @Override
      public Object[] toArray() {
        return snapshot().toArray();
      }
    
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  4. pkg/scheduler/framework/plugins/tainttoleration/taint_toleration.go

    	}
    
    	s, ok := c.(*preScoreState)
    	if !ok {
    		return nil, fmt.Errorf("%+v convert to tainttoleration.preScoreState error", c)
    	}
    	return s, nil
    }
    
    // CountIntolerableTaintsPreferNoSchedule gives the count of intolerable taints of a pod with effect PreferNoSchedule
    func countIntolerableTaintsPreferNoSchedule(taints []v1.Taint, tolerations []v1.Toleration) (intolerableTaints int) {
    	for _, taint := range taints {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  5. cmd/kube-controller-manager/app/controllermanager.go

    	// ClientBuilder will provide a client for this controller to use
    	ClientBuilder clientbuilder.ControllerClientBuilder
    
    	// InformerFactory gives access to informers for the controller.
    	InformerFactory informers.SharedInformerFactory
    
    	// ObjectOrMetadataInformerFactory gives access to informers for typed resources
    	// and dynamic resources by their metadata. All generic controllers currently use
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 13:03:53 UTC 2024
    - 37.5K bytes
    - Viewed (0)
  6. docs/distributed/DESIGN.md

    }
    ```
    
    Input for the key is the object name specified in `PutObject()`, returns a unique index. This index is one of the erasure sets where the object will reside. This function is a consistent hash for a given object name i.e for a given object name the index returned is always the same.
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Aug 15 23:04:20 UTC 2023
    - 8K bytes
    - Viewed (0)
  7. internal/grid/types.go

    	return &b
    }
    
    // NewBytesCap returns an empty Bytes with the given capacity.
    func NewBytesCap(size int) *Bytes {
    	b := Bytes(GetByteBufferCap(size))
    	return &b
    }
    
    // NewBytesWith returns a new Bytes with the provided content.
    // When sent as a parameter, the caller gives up ownership of the byte slice.
    // When returned as response, the handler also gives up ownership of the byte slice.
    func NewBytesWith(b []byte) *Bytes {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Apr 01 23:42:09 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/gtest-spi.h

    };
    
    namespace internal {
    
    // A helper class for implementing EXPECT_FATAL_FAILURE() and
    // EXPECT_NONFATAL_FAILURE().  Its destructor verifies that the given
    // TestPartResultArray contains exactly one failure that has the given
    // type and contains the given substring.  If that's not the case, a
    // non-fatal failure will be generated.
    class GTEST_API_ SingleFailureChecker {
     public:
      // The constructor remembers the arguments.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  9. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/gtest-spi.h

    };
    
    namespace internal {
    
    // A helper class for implementing EXPECT_FATAL_FAILURE() and
    // EXPECT_NONFATAL_FAILURE().  Its destructor verifies that the given
    // TestPartResultArray contains exactly one failure that has the given
    // type and contains the given substring.  If that's not the case, a
    // non-fatal failure will be generated.
    class GTEST_API_ SingleFailureChecker {
     public:
      // The constructor remembers the arguments.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  10. pilot/pkg/xds/debug_test.go

    	// This is a mostly horrible hack because the single pilot instance is shared across multiple tests
    	// This makes this test contaminated by others and gives it horrible timing windows
    	attempts := 5
    	for i := 0; i < attempts; i++ {
    		gotStatus := getSyncStatus(t, s)
    		var errorHandler func(string, ...any)
    		if i == attempts-1 {
    			errorHandler = t.Errorf
    		} else {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 12 18:20:36 UTC 2024
    - 7.8K bytes
    - Viewed (0)
Back to top