Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 1,068 for statRps (0.06 sec)

  1. cmd/bucket-policy-handlers_test.go

    		// Call the ServeHTTP to execute the handler, GetBucketPolicyHandler handles the request.
    		apiRouter.ServeHTTP(recV4, reqV4)
    		// Assert the response code with the expected status.
    		if recV4.Code != testCase.expectedRespStatus {
    			t.Fatalf("Case %d: Expected the response status to be `%d`, but instead found `%d`", i+1, testCase.expectedRespStatus, recV4.Code)
    		}
    		// read the response body.
    		bucketPolicyReadBuf, err := io.ReadAll(recV4.Body)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 32.9K bytes
    - Viewed (0)
  2. cni/pkg/util/podutil_test.go

    func TestGetPodIPIfPodIPPresent(t *testing.T) {
    	pod := &corev1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "test",
    			Namespace: "test",
    		},
    		Spec: corev1.PodSpec{
    			NodeName: "derp",
    		},
    		Status: corev1.PodStatus{
    			PodIP: "11.1.1.12",
    		},
    	}
    
    	podIPs := GetPodIPsIfPresent(pod)
    	assert.Equal(t, len(podIPs), 1)
    }
    
    func TestGetPodIPsIfPodIPPresent(t *testing.T) {
    	pod := &corev1.Pod{
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  3. tensorflow/c/eager/graph_function.cc

    #include "tensorflow/core/framework/function.h"
    #include "tensorflow/core/platform/status.h"
    
    namespace tensorflow {
    namespace tracing {
    namespace graph {
    GraphFunction::GraphFunction(FunctionDef fdef)
        : AbstractFunction(kGraph),
          func_record_(new FunctionRecord(std::move(fdef), {}, true)) {}
    GraphFunction::~GraphFunction() {}
    absl::Status GraphFunction::GetFunctionDef(const FunctionDef **fdef) {
      *fdef = &(func_record_->fdef());
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/api/admin/general/ApiAdminGeneralAction.java

            final EditBody form = new EditBody();
            AdminGeneralAction.updateForm(fessConfig, form);
            form.ldapAdminSecurityCredentials = null;
            return asJson(new ApiConfigResponse().setting(form).status(Status.OK).result());
        }
    
        // POST /api/admin/general
        @Execute
        public JsonResponse<ApiResult> post$index(final EditBody body) {
            validateApi(body, messages -> {});
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  5. cni/pkg/repair/repaircontroller.go

    	// Both "pods" and "pods/status" can mutate the metadata. However, pods/status is lower privilege, so we use that instead.
    	_, err := c.client.Kube().CoreV1().Pods(pod.Namespace).Patch(context.Background(), pod.Name, types.MergePatchType,
    		[]byte(patchBytes), metav1.PatchOptions{}, "status")
    	if err != nil {
    		repairLog.Errorf("Failed to update pod: %s", err)
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sat Feb 10 00:31:55 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  6. internal/kms/conn.go

    	// APIs returns a list of APIs supported by the KMS server.
    	//
    	// TODO(aead): remove this API call. It's hardly useful.
    	APIs(context.Context) ([]madmin.KMSAPI, error)
    
    	// Stat returns the current KMS status.
    	Status(context.Context) (map[string]madmin.ItemState, error)
    
    	// CreateKey creates a new key at the KMS with the given key ID.
    	CreateKey(context.Context, *CreateKeyRequest) error
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 5K bytes
    - Viewed (0)
  7. cmd/crossdomain-xml-handler_test.go

    	srv := httptest.NewServer(handler)
    
    	resp, err := http.Get(srv.URL + crossDomainXMLEntity)
    	if err != nil {
    		t.Fatal(err)
    	}
    	if resp.StatusCode != http.StatusOK {
    		t.Fatal("Unexpected http status received", resp.Status)
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Jul 08 14:31:42 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  8. tests/test_reponse_set_reponse_code_empty.py

        response: Response,
    ) -> Any:
        response.status_code = 400
        return {"msg": "Status overwritten", "id": id}
    
    
    client = TestClient(app)
    
    
    def test_dependency_set_status_code():
        response = client.delete("/1")
        assert response.status_code == 400 and response.content
        assert response.json() == {"msg": "Status overwritten", "id": 1}
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/api/FessApiAction.java

            if (!isAccessAllowed()) {
                return asJson(new ApiErrorResponse().message(getMessage(messages -> messages.addErrorsUnauthorizedRequest(GLOBAL)))
                        .status(Status.UNAUTHORIZED).result());
            }
            return super.godHandPrologue(runtime);
        }
    
        protected String getMessage(final VaMessenger<FessMessages> validationMessagesLambda) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  10. src/main/resources/mail/es_status.dfmail

    /*
     [Crawler Notification]
    */
    subject: [FESS] Status Change: /*pmb.hostname:orElse('Unknown')*/
    >>>
    --- Server Info ---
    Cluster Name: /*pmb.clustername:orElse('Unknown')*/
    Host Name: /*pmb.hostname:orElse('Unknown')*/
    
    --- Status ---
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 27 02:03:02 UTC 2016
    - 291 bytes
    - Viewed (0)
Back to top