Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 30 for expectAction (3.36 sec)

  1. src/net/http/serve_test.go

    	contentLength    int // of request body
    	chunked          bool
    	expectation      string // e.g. "100-continue"
    	readBody         bool   // whether handler should read the body (if false, sends StatusUnauthorized)
    	expectedResponse string // expected substring in first line of http response
    }
    
    func expectTest(contentLength int, expectation string, readBody bool, expectedResponse string) serverExpectTest {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
  2. pkg/controller/job/job_controller.go

    	// and update the expectations after we've retrieved active pods from the store. If a new pod enters
    	// the store after we've checked the expectation, the job sync is just deferred till the next relist.
    	satisfiedExpectations := jm.expectations.SatisfiedExpectations(logger, key)
    
    	pods, err := jm.getPodsForJob(ctx, &job)
    	if err != nil {
    		return err
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 23:56:37 UTC 2024
    - 77.6K 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. 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)
  6. pilot/pkg/networking/core/cluster_test.go

    			addTelemetryMetadata(tt.cluster, opt.port, tt.service, tt.direction, tt.svcInsts)
    			if opt.mutable.cluster != nil && !reflect.DeepEqual(opt.mutable.cluster.Metadata, tt.want) {
    				t.Errorf("cluster metadata does not match expectation want %+v, got %+v", tt.want, opt.mutable.cluster.Metadata)
    			}
    		})
    	}
    }
    
    func TestVerifyCertAtClient(t *testing.T) {
    	testCases := []struct {
    		name               string
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 108.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc

          // maximized at n = floor((2^32-1)^(1/2)) = 65535 where the expectation is
          // about 1/2.
    
          // For Exponent = 3, the expected number of collisions per shuffle is
          // maximized at n = floor((2^32-1)^(1/3)) = 1625 where the expectation is
          // about 1/3255.
    
          // For Exponent = 4, the expected number of collisions per shuffle is
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 291.8K bytes
    - Viewed (0)
  8. pkg/scheduler/internal/queue/scheduling_queue_test.go

    				// resulting in 0 time delta / latency. This will cause the pods to be backed off in a random
    				// order, which would cause this test to fail, since the expectation is for them to be backed off
    				// in a certain order.
    				// See: https://github.com/golang/go/issues/8687
    				podInfo.Timestamp = podInfo.Timestamp.Add(time.Duration((i - len(tt.podInfos))) * time.Millisecond)
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 146.9K bytes
    - Viewed (0)
  9. CREDITS

    works, or to gain reputation or greater distribution for their Work in
    part through the use and efforts of others.
    
    For these and/or other purposes and motivations, and without any
    expectation of additional consideration or compensation, the person
    associating CC0 with a Work (the "Affirmer"), to the extent that he or she
    is an owner of Copyright and Related Rights in the Work, voluntarily
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 15:34:20 UTC 2024
    - 1.7M bytes
    - Viewed (0)
  10. pkg/generated/openapi/zz_generated.openapi.go

    						SchemaProps: spec.SchemaProps{
    							Description: "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. Default: false",
    							Type:        []string{"boolean"},
    							Format:      "",
    						},
    					},
    					"makeIPTablesUtilChains": {
    						SchemaProps: spec.SchemaProps{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 18:37:07 UTC 2024
    - 3M bytes
    - Viewed (0)
Back to top