Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 108 for expectAction (1.08 sec)

  1. pkg/kubelet/apis/config/types.go

    	EnableControllerAttachDetach bool
    	// protectKernelDefaults, if true, causes the Kubelet to error if kernel
    	// flags are not as it expects. Otherwise the Kubelet will attempt to modify
    	// kernel flags to match its expectation.
    	ProtectKernelDefaults bool
    	// If true, Kubelet creates the KUBE-IPTABLES-HINT chain in iptables as a hint to
    	// other components about the configuration of iptables on the system.
    	MakeIPTablesUtilChains bool
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 21:10:42 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  2. src/net/http/client.go

    //     a redirect may possibly alter a cookie set in the initial request.
    //     When forwarding the "Cookie" header, any mutated cookies will be omitted,
    //     with the expectation that the Jar will insert those mutated cookies
    //     with the updated values (assuming the origin matches).
    //     If Jar is nil, the initial cookies are forwarded without change.
    type Client struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 06:06:11 UTC 2024
    - 33.7K bytes
    - Viewed (0)
  3. pkg/scheduler/schedule_one.go

    			return ScheduleResult{nominatingInfo: clearNominatedNode}, podInfo, framework.AsStatus(err)
    		}
    
    		// SchedulePod() may have failed because the pod would not fit on any host, so we try to
    		// preempt, with the expectation that the next time the pod is tried for scheduling it
    		// will fit due to the preemption. It is also possible that a different pod will schedule
    		// into the resources that were preempted, but this is harmless.
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 13:28:08 UTC 2024
    - 43.4K bytes
    - Viewed (0)
  4. src/net/http/server.go

    	// "A server that receives an Expect field-value other
    	// than 100-continue MAY respond with a 417 (Expectation
    	// Failed) status code to indicate that the unexpected
    	// expectation cannot be met."
    	w.Header().Set("Connection", "close")
    	w.WriteHeader(StatusExpectationFailed)
    	w.finishRequest()
    }
    
    // Hijack implements the [Hijacker.Hijack] method. Our response is both a [ResponseWriter]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
  5. pkg/controller/podautoscaler/replica_calculator_test.go

    	finalCPUPercentTarget := int32(target * 100)
    	resourcesUsedRatio := float64(totalUsedCPUOfAllPods) / float64(float64(totalRequestedCPUOfAllPods)*target)
    
    	// i.e. .60 * 20 -> scaled down expectation.
    	finalPods := int32(math.Ceil(resourcesUsedRatio * float64(startPods)))
    
    	// To breach tolerance we will create a utilization ratio difference of tolerance to usageRatioToleranceValue)
    	tc := replicaCalcTestCase{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Aug 19 03:31:34 UTC 2023
    - 68.4K bytes
    - Viewed (0)
  6. pkg/controller/daemon/daemon_controller_test.go

    	if err != nil {
    		t.Fatal(err)
    	}
    	if !exists {
    		t.Fatalf("No expectations found for DaemonSet %q", oldDSKey)
    	}
    	if dsExp.Fulfilled() {
    		t.Errorf("There should be unfulfilled expectation for creating new pods for DaemonSet %q", oldDSKey)
    	}
    
    	// process updates DS, update adds to queue
    	waitForQueueLength(1, "updated DS")
    	ok = dsc.processNextWorkItem(context.TODO())
    	if !ok {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 111.4K bytes
    - Viewed (0)
  7. src/math/big/int_test.go

    	} {
    		i, ok := new(Int).SetString(test.istr, 0)
    		if !ok {
    			t.Errorf("SetString(%s) failed", test.istr)
    			continue
    		}
    
    		// Test against expectation.
    		f, acc := i.Float64()
    		if f != test.f || acc != test.acc {
    			t.Errorf("%s: got %f (%s); want %f (%s)", test.istr, f, acc, test.f, test.acc)
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 58.5K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/queueset/queueset_test.go

    // than it theoretically should.
    // expectFair indicate whether the QueueSet is expected to be
    // fair in the respective halves of a split scenario;
    // in a non-split scenario this is a singleton with one expectation.
    // expectAllRequests indicates whether all requests are expected to get dispatched.
    // expectedAverages, if provided, replaces the normal calculation of expected results.
    type uniformScenario struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 26 12:55:23 UTC 2023
    - 58.4K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/admission_test.go

    	)
    
    	require.ErrorContains(t, err, `Denied`)
    	require.Equal(t, 1, numCompiles)
    }
    
    // Shows what happens when multiple policies share one param type, then
    // one policy stops using the param. The expectation is the second policy
    // keeps behaving normally
    func TestMultiplePoliciesSharedParamType(t *testing.T) {
    	compiler := &fakeCompiler{}
    	matcher := &fakeMatcher{
    		DefaultMatch: true,
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 25 01:39:01 UTC 2024
    - 63.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/tests/side-effect-analysis-test.mlir

      // expected-remark@above {{ID: 8}}
      // expected-remark@above {{Sinks: {7}}}
    }
    
    // -----
    
    // Tests two side-effecting ops operating on resources passed as function
    // parameters. The expectation is that the ops are treated as independent (as
    // no `tf._resource_arg_unique_id` attributes are present).
    func.func @side_effecting_ops_with_different_resources(
      // expected-remark@above {{ID: 7}}
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Dec 20 04:39:18 UTC 2023
    - 129.7K bytes
    - Viewed (0)
Back to top