- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 169 for StatusCode (0.13 sec)
-
pkg/probe/exec/exec_test.go
} type fakeExitError struct { exited bool statusCode int } func (f *fakeExitError) String() string { return f.Error() } func (f *fakeExitError) Error() string { return "fake exit" } func (f *fakeExitError) Exited() bool { return f.exited } func (f *fakeExitError) ExitStatus() int { return f.statusCode } func TestExec(t *testing.T) { prober := New()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 08:58:18 UTC 2024 - 3.8K bytes - Viewed (0) -
cmd/kubeadm/app/util/apiclient/wait.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jun 01 07:10:31 UTC 2024 - 13.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/mlir_graph_optimization_pass_test.cc
flib_.get(), &control_ret_node_names_, &control_rets_updated_), Status(absl::StatusCode::kAborted, "aborted")); verifyGraph(original_graph_def); verifyCounters(); } TEST_F(MlirGraphOptimizationPassTest, OptimizationPassFailsDisabledFallback) { Init(Status(absl::StatusCode::kAborted, "aborted"), {MlirOptimizationPassState::Disabled, MlirOptimizationPassState::FallbackEnabled});
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Feb 27 08:25:30 UTC 2024 - 16.1K bytes - Viewed (0) -
internal/rest/client.go
if err != nil { return } // Only display response header. var respTrace []byte // For errors we make sure to dump response body as well. if resp.StatusCode != http.StatusOK && resp.StatusCode != http.StatusPartialContent && resp.StatusCode != http.StatusNoContent { respTrace, err = httputil.DumpResponse(resp, true) if err != nil { return } } else {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 14.4K bytes - Viewed (0) -
pkg/kubelet/server/server_test.go
resp, err := http.Get(httpURL) if err != nil { t.Fatalf("Got error GETing: %v", err) } defer resp.Body.Close() if resp.StatusCode != expectedErrorCode { t.Errorf("expected status code %d, got %d", expectedErrorCode, resp.StatusCode) } } // Ensure all registered handlers & services have an associated testcase. func TestAuthzCoverage(t *testing.T) { fw := newServerTest()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 51.5K bytes - Viewed (0) -
test/stress/runstress.go
size := rand.Intn(128 << 10) res, err := http.Get(fmt.Sprintf("%s/?size=%d", ts.URL, size)) if err != nil { log.Fatalf("stressNet: http Get error: %v", err) } if res.StatusCode != 200 { log.Fatalf("stressNet: Status code = %d", res.StatusCode) } n, err := io.Copy(io.Discard, res.Body) if err != nil { log.Fatalf("stressNet: io.Copy: %v", err) } if n != int64(size) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:21:35 UTC 2024 - 3.6K bytes - Viewed (0) -
tensorflow/cc/saved_model/metrics_test.cc
TEST(MetricsTest, TestInvalidMakePathAndSingleprint) { EXPECT_THAT(MakeSavedModelPathAndSingleprint("", "singleprint"), testing::StatusIs(absl::StatusCode::kInvalidArgument)); EXPECT_THAT(MakeSavedModelPathAndSingleprint("path", ""), testing::StatusIs(absl::StatusCode::kInvalidArgument)); } TEST(MetricsTest, TestReadFingerprint) { EXPECT_EQ(SavedModelReadFingerprint().value(), "");
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jan 18 23:43:59 UTC 2024 - 7.6K bytes - Viewed (0) -
docs/de/docs/tutorial/path-operation-configuration.md
!!! warning "Achtung" Beachten Sie, dass diese Parameter direkt dem *Pfadoperation-Dekorator* übergeben werden, nicht der *Pfadoperation-Funktion*. ## Response-Statuscode Sie können den (HTTP-)`status_code` definieren, den die Response Ihrer *Pfadoperation* verwenden soll. Sie können direkt den `int`-Code übergeben, etwa `404`.
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sat Mar 30 18:07:48 UTC 2024 - 5.9K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/ResponseData.java
private boolean noFollow = false; public int getHttpStatusCode() { return httpStatusCode; } public void setHttpStatusCode(final int statusCode) { httpStatusCode = statusCode; } public boolean hasResponseBody() { return responseBodyBytes != null || responseBodyFile != null; } public InputStream getResponseBody() {
Registered: Wed Jun 12 15:17:51 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 5.8K bytes - Viewed (0) -
tensorflow/cc/saved_model/reader.cc
if (!port::kLittleEndian) { TF_RETURN_IF_ERROR(ByteSwapTensorContentInMetaGraphDef(meta_graph_def)); } return meta_graph_def; } } return Status( absl::StatusCode::kNotFound, strings::StrCat( "Could not find meta graph def matching supplied tags: { ", absl::StrJoin(tags, " "), " }. To inspect available tag-sets in the SavedModel, please "
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 05 00:19:29 UTC 2024 - 6.1K bytes - Viewed (0)