Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for c_status (0.18 sec)

  1. cmd/site-replication.go

    		optsMap["versioningEnabled"] = "true"
    		opts.VersioningEnabled = true
    		opts.CreatedAt = bStatus.CreatedAt
    		optsMap["createdAt"] = bStatus.CreatedAt.UTC().Format(time.RFC3339Nano)
    
    		if bStatus.ObjectLockConfig != nil {
    			config, err := base64.StdEncoding.DecodeString(*bStatus.ObjectLockConfig)
    			if err != nil {
    				return err
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  2. tensorflow/c/c_api.cc

                                                  TF_Status* status) {
      Session* session;
      status->status = NewSession(opt->options, &session);
      if (status->status.ok()) {
        return new TF_DeprecatedSession({session});
      } else {
        DCHECK_EQ(nullptr, session);
        return nullptr;
      }
    }
    
    void TF_CloseDeprecatedSession(TF_DeprecatedSession* s, TF_Status* status) {
      status->status = s->session->Close();
    }
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbFile.java

            } catch( SmbException se ) {
                switch (se.getNtStatus()) {
                    case NtStatus.NT_STATUS_NO_SUCH_FILE:
                    case NtStatus.NT_STATUS_OBJECT_NAME_INVALID:
                    case NtStatus.NT_STATUS_OBJECT_NAME_NOT_FOUND:
                    case NtStatus.NT_STATUS_OBJECT_PATH_NOT_FOUND:
                        break;
                    default:
                        throw se;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 107.9K bytes
    - Viewed (2)
  4. fastapi/routing.py

            # normalize enums e.g. http.HTTPStatus
            if isinstance(status_code, IntEnum):
                status_code = int(status_code)
            self.status_code = status_code
            if self.response_model:
                assert is_body_allowed_for_status_code(
                    status_code
                ), f"Status code {status_code} must not have a response body"
                response_name = "Response_" + self.unique_id
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 170.1K bytes
    - Viewed (0)
  5. cmd/server_test.go

    	c.Assert(err, nil)
    	// assert the HTTP response status code.
    	c.Assert(response.StatusCode, http.StatusOK)
    
    	// initiate anonymous HTTP request to fetch the object which does not exist. We need to return AccessDenied.
    	response, err = s.client.Get(getGetObjectURL(s.endPoint, bucketName, objectName+".1"))
    	c.Assert(err, nil)
    	// assert the http response status code.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  6. cmd/admin-handlers.go

    	for _, tgt := range globalEventNotifier.Targets() {
    		targetIDStatus := make(map[string]madmin.Status)
    		active, _ := tgt.IsActive()
    		targetID := tgt.ID()
    		if active {
    			targetIDStatus[targetID.ID] = madmin.Status{Status: string(madmin.ItemOnline)}
    		} else {
    			targetIDStatus[targetID.ID] = madmin.Status{Status: string(madmin.ItemOffline)}
    		}
    		list := lambdaMap[targetID.Name]
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 29 17:39:04 GMT 2024
    - 97.8K bytes
    - Viewed (2)
  7. fastapi/applications.py

            ] = Default(None),
            status_code: Annotated[
                Optional[int],
                Doc(
                    """
                    The default status code to be used for the response.
    
                    You could override the status code by returning a response directly.
    
                    Read more about it in the
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 172.2K bytes
    - Viewed (0)
  8. cmd/object-handlers_test.go

    							reqType, test.expectedErr.Code, errXML.Code)
    					}
    					// in case error is not expected response status should be 200OK.
    				} else if rec.Code != http.StatusOK {
    					t.Errorf("%s, Expected to succeed with response HTTP status 200OK, but failed with HTTP status code %d.", reqType, rec.Code)
    				}
    			}
    		})
    	}
    
    	// Test for Anonymous/unsigned http request.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
  9. operator/cmd/mesh/testdata/manifest-generate/data-snapshot.tar.gz

    singular: istiooperator shortNames: - iop - io scope: Namespaced versions: - additionalPrinterCol: - description: Istio control plane revision jsonPath: .spec.revision name: Revision type: string - description: IOP current state jsonPath: .status.status name: Status type: string - description: 'CreationTimestamp is a timestamp representing the server time when this object was created. It is not guaranteed to be set in happens-before order across separate operations. Clients may not set this value. It...
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Jan 10 05:10:03 GMT 2024
    - 198.1K bytes
    - Viewed (1)
  10. cmd/object-handlers.go

    			// permission.
    			// * If you have the s3:ListBucket permission
    			//   on the bucket, Amazon S3 will return an
    			//   HTTP status code 404 ("no such key")
    			//   error.
    			// * if you don’t have the s3:ListBucket
    			//   permission, Amazon S3 will return an HTTP
    			//   status code 403 ("access denied") error.`
    			if globalPolicySys.IsAllowed(policy.BucketPolicyArgs{
    				Action:          policy.ListBucketAction,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
Back to top