Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 127 for pcount (0.12 sec)

  1. pkg/controller/podautoscaler/horizontal_test.go

    	tc.runTest(t)
    }
    
    func TestMultipleHPAs(t *testing.T) {
    	const hpaCount = 1000
    	const testNamespace = "dummy-namespace"
    
    	processed := make(chan string, hpaCount)
    
    	testClient := &fake.Clientset{}
    	testScaleClient := &scalefake.FakeScaleClient{}
    	testMetricsClient := &metricsfake.Clientset{}
    
    	hpaList := [hpaCount]autoscalingv2.HorizontalPodAutoscaler{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 199.3K bytes
    - Viewed (0)
  2. src/net/http/transport_test.go

    				res, err := c.Do(req)
    				if err != nil {
    					t.Fatal(err)
    				}
    				defer res.Body.Close()
    				if want := tc.disableKeepAlives || tc.close; count > 1 || (count == 1) != want {
    					t.Errorf("expecting want:%v, got 'Connection: close':%d", want, count)
    				}
    			})
    	}
    
    }
    
    func TestTransportIdleCacheKeys(t *testing.T) {
    	run(t, testTransportIdleCacheKeys, []testMode{http1Mode})
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
  3. src/net/http/serve_test.go

    	}
    }
    
    // repeatReader reads content count times, then EOFs.
    type repeatReader struct {
    	content []byte
    	count   int
    	off     int
    }
    
    func (r *repeatReader) Read(p []byte) (n int, err error) {
    	if r.count <= 0 {
    		return 0, io.EOF
    	}
    	n = copy(p, r.content[r.off:])
    	r.off += n
    	if r.off == len(r.content) {
    		r.count--
    		r.off = 0
    	}
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
  4. pkg/controller/job/job_controller_test.go

    }
    
    func (pb podBuilder) indexFailureCount(count string) podBuilder {
    	return pb.annotation(batch.JobIndexFailureCountAnnotation, count)
    }
    
    func (pb podBuilder) indexIgnoredFailureCount(count string) podBuilder {
    	return pb.annotation(batch.JobIndexIgnoredFailureCountAnnotation, count)
    }
    
    func (pb podBuilder) annotation(key, value string) podBuilder {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 15:36:36 UTC 2024
    - 229.2K bytes
    - Viewed (0)
  5. api/openapi-spec/v3/apis__events.k8s.io__v1_openapi.json

            "properties": {
              "count": {
                "default": 0,
                "description": "count is the number of occurrences in this series up to the last heartbeat time.",
                "format": "int32",
                "type": "integer"
              },
              "lastObservedTime": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 142.7K bytes
    - Viewed (0)
  6. cluster/gce/gci/configure-helper.sh

      safe-bind-mount "${mountpoint}" "${bindpoint}"
    }
    
    # Bind mounts device at mountpoint to bindpoint
    function safe-bind-mount(){
      local mountpoint="${1}"
      local bindpoint="${2}"
    
      # Mount device to the mountpoint
      mkdir -p "${bindpoint}"
      echo "Binding '${mountpoint}' at '${bindpoint}'"
      mount --bind "${mountpoint}" "${bindpoint}"
      chmod a+w "${bindpoint}"
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 22:07:47 UTC 2024
    - 141.1K bytes
    - Viewed (0)
  7. pkg/scheduler/internal/queue/scheduling_queue_test.go

    func Test_isPodWorthRequeuing(t *testing.T) {
    	count := 0
    	queueHintReturnQueue := func(logger klog.Logger, pod *v1.Pod, oldObj, newObj interface{}) (framework.QueueingHint, error) {
    		count++
    		return framework.Queue, nil
    	}
    	queueHintReturnSkip := func(logger klog.Logger, pod *v1.Pod, oldObj, newObj interface{}) (framework.QueueingHint, error) {
    		count++
    		return framework.QueueSkip, nil
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 146.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc

    OperandRange GeneratorDatasetRegionOp::getEntrySuccessorOperands(
        RegionBranchPoint point) {
      auto end = this->getOperation()->operand_end();
      if (point.isParent()) {
        // The op itself doesn't branch back to itself.
        return ::mlir::OperandRange(end, end);
      } else if (point.getRegionOrNull() == &getInit()) {
        return getInitFuncOtherArgs();
      } else if (point.getRegionOrNull() == &getNext()) {
        return getNextFuncOtherArgs();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 146.7K bytes
    - Viewed (0)
  9. src/database/sql/sql.go

    	maxLifetime       time.Duration          // maximum amount of time a connection may be reused
    	maxIdleTime       time.Duration          // maximum amount of time a connection may be idle before being closed
    	cleanerCh         chan struct{}
    	waitCount         int64 // Total number of connections waited for.
    	maxIdleClosed     int64 // Total number of connections closed due to idle count.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:53 UTC 2024
    - 103.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/tests/canonicalize.mlir

    func.func @testWhileRegionSimplePassThrough(%arg0 : tensor<*xf32>, %arg1 : tensor<i32>) -> tensor<*xf32> {
      // CHECK: "tf.WhileRegion"(%arg1)
      %0:2 = "tf.WhileRegion"(%arg0, %arg1) (
        {
          // condition, check if count has reached 0
          ^bb0(%carg0: tensor<*xf32>, %carg1: tensor<i32>):
          %zero = arith.constant dense<0> : tensor<i32>
          %ne = "tf.NotEqual"(%carg1, %zero) : (tensor<i32>, tensor<i32>) -> tensor<i1>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 132.1K bytes
    - Viewed (0)
Back to top