Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for countervar (0.12 sec)

  1. src/cmd/cover/cover.go

    		}
    	}
    
    	// Generate the registration hook sequence for the function. This
    	// sequence looks like
    	//
    	//   counterVar[0] = <num_units>
    	//   counterVar[1] = pkgId
    	//   counterVar[2] = fnId
    	//
    	cv := f.fn.counterVar
    	regHook := hookWrite(cv, 0, strconv.Itoa(len(f.fn.units))) + " ; " +
    		hookWrite(cv, 1, mkPackageIdExpression()) + " ; " +
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  2. maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ClassMap.java

         * This method will look for a method with same name
         * and signature declared in a public superclass or implemented interface of this
         * method's declaring class. This counterpart method is publicly callable.
         *
         * @param method a method whose publicly callable counterpart is requested.
         * @return the publicly callable counterpart method. Note that if the parameter
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Oct 17 17:55:08 UTC 2023
    - 13.4K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/request/width_test.go

    	tests := []struct {
    		name                      string
    		requestURI                string
    		requestInfo               *apirequest.RequestInfo
    		counts                    map[string]int64
    		countErr                  error
    		watchCount                int
    		maxSeats                  uint64
    		initialSeatsExpected      uint64
    		finalSeatsExpected        uint64
    		additionalLatencyExpected time.Duration
    	}{
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 17K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/admission/metrics/metrics.go

    	webhook                         *metricSet
    	webhookRejection                *metrics.CounterVec
    	webhookFailOpen                 *metrics.CounterVec
    	webhookRequest                  *metrics.CounterVec
    	matchConditionEvalErrors        *metrics.CounterVec
    	matchConditionExclusions        *metrics.CounterVec
    	matchConditionEvaluationSeconds *metricSet
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 14 17:01:40 UTC 2023
    - 15.5K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/telemetry/internal/counter/counter.go

    type Counter struct {
    	name string
    	file *file
    
    	next  atomic.Pointer[Counter]
    	state counterState
    	ptr   counterPtr
    }
    
    func (c *Counter) Name() string {
    	return c.name
    }
    
    type counterPtr struct {
    	m     *mappedFile
    	count *atomic.Uint64
    }
    
    type counterState struct {
    	bits atomic.Uint64
    }
    
    func (s *counterState) load() counterStateBits {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  6. cmd/erasure-metadata-utils.go

    	"errors"
    	"hash/crc32"
    
    	"github.com/minio/pkg/v3/sync/errgroup"
    )
    
    // counterMap type adds GetValueWithQuorum method to a map[T]int used to count occurrences of values of type T.
    type counterMap[T comparable] map[T]int
    
    // GetValueWithQuorum returns the first key which occurs >= quorum number of times.
    func (c counterMap[T]) GetValueWithQuorum(quorum int) (T, bool) {
    	var zero T
    	for x, count := range c {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/telemetry/internal/counter/file.go

    // If the file has not been opened yet, lookup returns nil.
    func (f *file) lookup(name string) counterPtr {
    	current := f.current.Load()
    	if current == nil {
    		debugPrintf("lookup %s - no mapped file\n", name)
    		return counterPtr{}
    	}
    	ptr := f.newCounter(name)
    	if ptr == nil {
    		return counterPtr{}
    	}
    	return counterPtr{current, ptr}
    }
    
    // ErrDisabled is the error returned when telemetry is disabled.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/storage/etcd3/store_test.go

    	expectInvalidKey("GetList", store.GetList(ctx, invalidKey, storage.ListOptions{}, nil))
    	expectInvalidKey("GuaranteedUpdate", store.GuaranteedUpdate(ctx, invalidKey, nil, true, nil, nil, nil))
    	_, countErr := store.Count(invalidKey)
    	expectInvalidKey("Count", countErr)
    }
    
    func TestResolveGetListRev(t *testing.T) {
    	_, store, _ := testSetup(t)
    	testCases := []struct {
    		name          string
    		continueKey   string
    		continueRV    int64
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 12:45:33 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  9. pkg/kubelet/pod/pod_manager.go

    // the status of such pods, the kubelet creates a mirror pod for each static
    // pod via the API server.
    //
    // A mirror pod has the same pod full name (name and namespace) as its static
    // counterpart (albeit different metadata such as UID, etc). By leveraging the
    // fact that the kubelet reports the pod status using the pod full name, the
    // status of the mirror pod always reflects the actual status of the static
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:00 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/Optional.java

       * {@link #or(Object)} or {@link #orNull} instead.
       *
       * <p><b>Comparison to {@code java.util.Optional}:</b> when the value is absent, this method
       * throws {@link IllegalStateException}, whereas the {@code java.util} counterpart throws {@link
       * java.util.NoSuchElementException NoSuchElementException}.
       *
       * @throws IllegalStateException if the instance is absent ({@link #isPresent} returns {@code
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 13K bytes
    - Viewed (0)
Back to top