Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 564 for pcount (0.19 sec)

  1. src/net/http/export_test.go

    	c, _ := net.Pipe()
    	key := connectMethodKey{"", scheme, addr, false}
    
    	if t.MaxConnsPerHost > 0 {
    		// Transport is tracking conns-per-host.
    		// Increment connection count to account
    		// for new persistConn created below.
    		t.connsPerHostMu.Lock()
    		if t.connsPerHost == nil {
    			t.connsPerHost = make(map[connectMethodKey]int)
    		}
    		t.connsPerHost[key]++
    		t.connsPerHostMu.Unlock()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 17 21:11:57 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  2. pkg/volume/util/operationexecutor/fakegenerator.go

    	"k8s.io/kubernetes/pkg/volume/util/hostutil"
    	volumetypes "k8s.io/kubernetes/pkg/volume/util/types"
    )
    
    // fakeOGCounter is a simple OperationGenerator which counts number of times a function
    // has been caled
    type fakeOGCounter struct {
    	// calledFuncs stores name and count of functions
    	calledFuncs map[string]int
    	opFunc      func() volumetypes.OperationContext
    }
    
    var _ OperationGenerator = &fakeOGCounter{}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/device_compilation_profiler.cc

      if (!reached_compile_threshold) {
        VLOG(2) << "Not compiling cluster " << function.name()
                << " because it has not reached compile threshold; threshold is "
                << *compile_threshold << " execution count "
                << current_request_count << ".";
      }
      return reached_compile_threshold;
    }
    
    void DeviceCompilationProfiler::IncrementOngoingAsyncCompilations() {
      mutex_lock lock(mu_);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 06:59:07 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  4. src/net/tcpconn_keepalive_conf_posix_test.go

    		Count:    10,
    	},
    	{
    		Enable:   true,
    		Idle:     5 * time.Second,
    		Interval: 3 * time.Second,
    		Count:    -1,
    	},
    	{
    		Enable:   true,
    		Idle:     -1,
    		Interval: -1,
    		Count:    10,
    	},
    	{
    		Enable:   true,
    		Idle:     -1,
    		Interval: 3 * time.Second,
    		Count:    -1,
    	},
    	{
    		Enable:   true,
    		Idle:     5 * time.Second,
    		Interval: -1,
    		Count:    -1,
    	},
    	{
    		Enable:   true,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:17:21 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  5. src/runtime/debug.go

    // NumGoroutine returns the number of goroutines that currently exist.
    func NumGoroutine() int {
    	return int(gcount())
    }
    
    //go:linkname debug_modinfo runtime/debug.modinfo
    func debug_modinfo() string {
    	return modinfo
    }
    
    // mayMoreStackPreempt is a maymorestack hook that forces a preemption
    // at every possible cooperative preemption point.
    //
    // This is valuable to apply to the runtime, which can be sensitive to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 11 20:38:24 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  6. src/net/tcpconn_keepalive_conf_solaris_test.go

    		Count:    10,
    	},
    	{
    		Enable:   true,
    		Idle:     20 * time.Second,
    		Interval: 10 * time.Second,
    		Count:    -1,
    	},
    	{
    		Enable:   true,
    		Idle:     -1,
    		Interval: -1,
    		Count:    10,
    	},
    	{
    		Enable:   true,
    		Idle:     -1,
    		Interval: 10 * time.Second,
    		Count:    -1,
    	},
    	{
    		Enable:   true,
    		Idle:     20 * time.Second,
    		Interval: -1,
    		Count:    -1,
    	},
    	{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 03:10:07 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  7. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/kryo/KryoBackedDecoder.java

                        if (leftover > 0) {
                            int count = Math.min(leftover, length);
                            leftover -= count;
                            readBytes(buffer, offset, count);
                            return count;
                        }
    
                        int count = readSmallInt();
                        if (count == 0) {
                            // End of stream has been reached
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  8. src/net/tcpconn_keepalive_solaris_test.go

    		case cfg.Interval == -1 && cfg.Count > 0:
    			cfg.Interval = defaultTcpKeepAliveAbortThreshold / time.Duration(cfg.Count)
    		case cfg.Count == -1 && cfg.Interval > 0:
    			cfg.Count = int(defaultTcpKeepAliveAbortThreshold / cfg.Interval)
    		case cfg.Interval > 0 && cfg.Count > 0:
    			// TCP_KEEPALIVE_ABORT_THRESHOLD will be recalculated only when both TCP_KEEPINTVL
    			// and TCP_KEEPCNT are set, otherwise it will remain the default value.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 03:10:07 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/io/ResourceTraversalTest.java

                try {
                    if (count < 10) {
                        System.out.println(path1);
                    }
                    assertThat(path1, is(notNullValue()));
                    assertThat(is, is(notNullValue()));
                    count++;
                } finally {
                    CloseableUtil.close(is);
                }
            });
            assertTrue(count > 0);
        }
    
        /**
         * @throws Exception
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 6K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetCountTester.java

      public void testCount_1() {
        assertEquals("multiset.count(present) didn't return 1", 1, getMultiset().count(e0()));
      }
    
      @CollectionSize.Require(SEVERAL)
      public void testCount_3() {
        initThreeCopies();
        assertEquals("multiset.count(thriceContained) didn't return 3", 3, getMultiset().count(e0()));
      }
    
      @CollectionFeature.Require(ALLOWS_NULL_QUERIES)
      public void testCount_nullAbsent() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 3.4K bytes
    - Viewed (0)
Back to top