Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 184 for expectGet (0.15 sec)

  1. src/cmd/go/go_test.go

    func (tg *testgoData) runFail(args ...string) {
    	tg.t.Helper()
    	if status := tg.doRun(args); status == nil {
    		tg.t.Fatal("testgo succeeded unexpectedly")
    	} else {
    		tg.t.Log("testgo failed as expected:", status)
    	}
    }
    
    // getStdout returns standard output of the testgo run as a string.
    func (tg *testgoData) getStdout() string {
    	tg.t.Helper()
    	if !tg.ran {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 81.1K bytes
    - Viewed (0)
  2. src/time/time_test.go

    		return testOne(ti, int64(tns), di)
    	}
    	quick.Check(f4, cfg)
    }
    
    type ISOWeekTest struct {
    	year       int // year
    	month, day int // month and day
    	yex        int // expected year
    	wex        int // expected week
    }
    
    var isoWeekTests = []ISOWeekTest{
    	{1981, 1, 1, 1981, 1}, {1982, 1, 1, 1981, 53}, {1983, 1, 1, 1982, 52},
    	{1984, 1, 1, 1983, 52}, {1985, 1, 1, 1985, 1}, {1986, 1, 1, 1986, 1},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:13:47 UTC 2024
    - 56.5K bytes
    - Viewed (0)
  3. pkg/controller/job/job_controller.go

    			skippedPods := diff - batchSize
    			if errorCount < len(errCh) && skippedPods > 0 {
    				logger.V(2).Info("Slow-start failure. Skipping creating pods, decrementing expectations", "skippedCount", skippedPods, "job", klog.KObj(job))
    				active -= skippedPods
    				for i := int32(0); i < skippedPods; i++ {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 23:56:37 UTC 2024
    - 77.6K bytes
    - Viewed (0)
  4. cmd/xl-storage-format-v2.go

    	if len(buf) <= 8 {
    		return payload, 0, 0, fmt.Errorf("xlMeta: no data")
    	}
    
    	if !bytes.Equal(buf[:4], xlHeader[:]) {
    		return payload, 0, 0, fmt.Errorf("xlMeta: unknown XLv2 header, expected %v, got %v", xlHeader[:4], buf[:4])
    	}
    
    	if bytes.Equal(buf[4:8], []byte("1   ")) {
    		// Set as 1,0.
    		major, minor = 1, 0
    	} else {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 29 19:14:09 UTC 2024
    - 63.6K bytes
    - Viewed (0)
  5. pkg/kubelet/pod_workers.go

    // the podManager (no longer part of the node's desired config).
    //
    // A pod passed to a pod worker is either being synced (expected to be
    // running), terminating (has running containers but no new containers are
    // expected to start), terminated (has no running containers but may still
    // have resources being consumed), or cleaned up (no resources remaining).
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 02 13:22:37 UTC 2024
    - 74.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/quantization/lite/quantize_model_test.cc

      auto status = QuantizeModelAllOperators(
          &model_, TensorType_FLOAT32, TensorType_FLOAT32, /*allow_float=*/true,
          TensorType_INT8, output_buffer_);
      ASSERT_THAT(status, Eq(kTfLiteOk));
    
      // Read expected model.
      auto expected_fb_model = ReadModel(internal::kLstmQuantized);
      auto expected_read_only_model = expected_fb_model->GetModel();
      ModelT expected_model;
      expected_read_only_model->UnPackTo(&expected_model);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 23:15:24 UTC 2024
    - 73.9K bytes
    - Viewed (0)
  7. src/cmd/link/internal/loader/loader.go

    // the go linker we create a loader.Sym for the container (which is
    // expected to have the actual content/payload) and then a set of
    // interior loader.Sym's that point into a portion of the container.
    func (l *Loader) AddInteriorSym(container Sym, interior Sym) {
    	// Container symbols are expected to have content/data.
    	// NB: this restriction may turn out to be too strict (it's possible
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 20:26:10 UTC 2024
    - 81.5K bytes
    - Viewed (0)
  8. tests/integration/ambient/baseline_test.go

    	addresses := sets.New(src.WorkloadsOrFail(t).Addresses()...)
    	return check.Each(func(response echot.Response) error {
    		if !addresses.Contains(response.IP) {
    			return fmt.Errorf("expected original source (%v) to be propogated, but got %v", addresses.UnsortedList(), response.IP)
    		}
    		return nil
    	})
    }
    
    func supportsL7(opt echo.CallOptions, src, dst echo.Instance) bool {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 00:07:28 UTC 2024
    - 78.4K bytes
    - Viewed (0)
  9. src/net/http/fs_test.go

    		}
    		res.Body.Close()
    		return string(b)
    	}
    	if s := get("/bar/"); !strings.Contains(s, ">foo.txt<") {
    		t.Logf("expected a directory listing with foo.txt, got %q", s)
    	}
    	if s := get("/bar/foo.txt"); s != "Hello world" {
    		t.Logf("expected %q, got %q", "Hello world", s)
    	}
    }
    
    func TestDirJoin(t *testing.T) {
    	if runtime.GOOS == "windows" {
    		t.Skip("skipping test on windows")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 23:39:44 UTC 2024
    - 49.9K bytes
    - Viewed (0)
  10. pkg/kubelet/cm/devicemanager/manager_test.go

    		if !reflect.DeepEqual(err, testCase.expErr) {
    			t.Errorf("devicePluginManager error (%v). expected error: %v but got: %v",
    				testCase.description, testCase.expErr, err)
    		}
    		if !reflect.DeepEqual(allocDevices, testCase.expectedAllocatedDevices) {
    			t.Errorf("devicePluginManager error (%v). expected error: %v but got: %v",
    				testCase.description, testCase.expectedAllocatedDevices, allocDevices)
    		}
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 65K bytes
    - Viewed (0)
Back to top