Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for NewContext (0.22 sec)

  1. cmd/bucket-encryption-handlers.go

    // https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketEncryption.html
    func (api objectAPIHandlers) PutBucketEncryptionHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := newContext(r, w, "PutBucketEncryption")
    
    	defer logger.AuditLog(ctx, w, r, mustGetClaimsFromToken(r))
    
    	objAPI := api.ObjectAPI()
    	if objAPI == nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  2. maven-core/src/test/java/org/apache/maven/project/harness/PomTestWrapper.java

            this.pomFile = pomFile;
            context = JXPathContext.newContext(mavenProject.getModel());
        }
    
        public PomTestWrapper(MavenProject mavenProject) {
            this.mavenProject = Objects.requireNonNull(mavenProject, "mavenProject cannot be null");
            context = JXPathContext.newContext(mavenProject.getModel());
        }
    
        public MavenProject getMavenProject() {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 3.1K bytes
    - Viewed (0)
  3. cmd/bucket-versioning-handler.go

    )
    
    // PutBucketVersioningHandler - PUT Bucket Versioning.
    // ----------
    func (api objectAPIHandlers) PutBucketVersioningHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := newContext(r, w, "PutBucketVersioning")
    
    	defer logger.AuditLog(ctx, w, r, mustGetClaimsFromToken(r))
    
    	vars := mux.Vars(r)
    	bucket := vars["bucket"]
    
    	objectAPI := api.ObjectAPI()
    	if objectAPI == nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 5K bytes
    - Viewed (0)
  4. cmd/dummy-handlers.go

    // They are only defined to be used in this file alone.
    
    // GetBucketWebsite  - GET bucket website, a dummy api
    func (api objectAPIHandlers) GetBucketWebsiteHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := newContext(r, w, "GetBucketWebsite")
    
    	defer logger.AuditLog(ctx, w, r, mustGetClaimsFromToken(r))
    
    	vars := mux.Vars(r)
    	bucket := vars["bucket"]
    
    	objAPI := api.ObjectAPI()
    	if objAPI == nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 7.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/context/CIFSContextWrapper.java

            }
            catch ( MalformedURLException e ) {
                throw new CIFSException("Invalid URL " + url, e);
            }
        }
    
    
        protected CIFSContext wrap ( CIFSContext newContext ) {
            return newContext;
        }
    
    
        @Override
        public Configuration getConfig () {
            return this.delegate.getConfig();
        }
    
    
        @Override
        public DfsResolver getDfs () {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 4.4K bytes
    - Viewed (0)
  6. cmd/bucket-notification-handlers.go

    // It returns empty configuration if its not set.
    func (api objectAPIHandlers) GetBucketNotificationHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := newContext(r, w, "GetBucketNotification")
    
    	defer logger.AuditLog(ctx, w, r, mustGetClaimsFromToken(r))
    
    	vars := mux.Vars(r)
    	bucketName := vars["bucket"]
    
    	objAPI := api.ObjectAPI()
    	if objAPI == nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 5.1K bytes
    - Viewed (0)
  7. cmd/acl-handlers.go

    // to set ACL for a bucket, this is a dummy call
    // only responds success if the ACL is private.
    func (api objectAPIHandlers) PutBucketACLHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := newContext(r, w, "PutBucketACL")
    
    	defer logger.AuditLog(ctx, w, r, mustGetClaimsFromToken(r))
    
    	vars := mux.Vars(r)
    	bucket := vars["bucket"]
    
    	objAPI := api.ObjectAPI()
    	if objAPI == nil {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 8.4K bytes
    - Viewed (0)
  8. tensorflow/c/eager/c_api_debug_test.cc

    #include "tensorflow/core/platform/test.h"
    
    TEST(CApiDebug, ScalarCPU) {
      TF_Status* status = TF_NewStatus();
      TFE_ContextOptions* opts = TFE_NewContextOptions();
      TFE_Context* ctx = TFE_NewContext(opts, status);
      CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      TFE_DeleteContextOptions(opts);
    
      TFE_TensorHandle* h = TestScalarTensorHandle(ctx, 1.0f);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 06 22:10:09 GMT 2020
    - 2.3K bytes
    - Viewed (0)
  9. cmd/bucket-policy-handlers.go

    // https://docs.aws.amazon.com/AmazonS3/latest/dev/access-policy-language-overview.html
    func (api objectAPIHandlers) PutBucketPolicyHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := newContext(r, w, "PutBucketPolicy")
    
    	defer logger.AuditLog(ctx, w, r, mustGetClaimsFromToken(r))
    
    	objAPI := api.ObjectAPI()
    	if objAPI == nil {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrServerNotInitialized), r.URL)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  10. cmd/healthcheck-handler.go

    	"github.com/minio/minio/internal/kms"
    )
    
    const unavailable = "offline"
    
    // ClusterCheckHandler returns if the server is ready for requests.
    func ClusterCheckHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := newContext(r, w, "ClusterCheckHandler")
    
    	objLayer := newObjectLayerFn()
    	if objLayer == nil {
    		w.Header().Set(xhttp.MinIOServerStatus, unavailable)
    		writeResponse(w, http.StatusServiceUnavailable, nil, mimeNone)
    		return
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 03 21:13:20 GMT 2024
    - 6.5K bytes
    - Viewed (0)
Back to top