Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 52 for new_context (4.47 sec)

  1. cmd/sts-handlers.go

    // credentials for regular users on Minio.
    // https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html
    func (sts *stsAPIHandlers) AssumeRole(w http.ResponseWriter, r *http.Request) {
    	ctx := newContext(r, w, "AssumeRole")
    
    	claims := make(map[string]interface{})
    	defer logger.AuditLog(ctx, w, r, claims)
    
    	// Check auth here (otherwise r.Form will have unexpected values from
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 21:31:13 GMT 2024
    - 34.7K bytes
    - Viewed (2)
  2. tensorflow/c/eager/custom_device_test.cc

    TEST(CUSTOM_DEVICE, RegisterSimpleDevice) {
      std::unique_ptr<TF_Status, decltype(&TF_DeleteStatus)> status(
          TF_NewStatus(), TF_DeleteStatus);
      TFE_ContextOptions* opts = TFE_NewContextOptions();
      TFE_Context* context = TFE_NewContext(opts, status.get());
      TFE_DeleteContextOptions(opts);
      ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get());
      bool arrived = false;
      bool executed = false;
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 27 23:39:24 GMT 2020
    - 18.4K bytes
    - Viewed (0)
  3. 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 May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 5.1K bytes
    - Viewed (0)
  4. tensorflow/c/eager/c_api_cluster_test.cc

      TFE_ContextOptionsSetAsync(opts, static_cast<unsigned char>(async));
      TFE_ContextOptionsSetDevicePlacementPolicy(opts, TFE_DEVICE_PLACEMENT_SILENT);
      TFE_Context* ctx = TFE_NewContext(opts, status);
      EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      TFE_DeleteContextOptions(opts);
    
      TFE_ContextSetServerDef(ctx, 0, serialized.data(), serialized.size(), status);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Apr 14 10:03:59 GMT 2023
    - 19.3K bytes
    - Viewed (0)
  5. cmd/bucket-replication-handlers.go

    func (api objectAPIHandlers) PutBucketReplicationConfigHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := newContext(r, w, "PutBucketReplicationConfig")
    	defer logger.AuditLog(ctx, w, r, mustGetClaimsFromToken(r))
    
    	vars := mux.Vars(r)
    	bucket := vars["bucket"]
    	objectAPI := api.ObjectAPI()
    	if objectAPI == nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Oct 28 04:08:53 GMT 2023
    - 23.2K bytes
    - Viewed (0)
  6. 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 May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 03 21:13:20 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/tests/BaseCIFSTest.java

                super(delegate);
                this.cfg = cfg;
            }
    
    
            @Override
            protected CIFSContext wrap ( CIFSContext newContext ) {
                return new CIFSConfigContextWrapper(super.wrap(newContext), this.cfg);
            }
    
    
            @Override
            public Configuration getConfig () {
                return this.cfg;
            }
        }
    
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 8.1K bytes
    - Viewed (0)
  8. cmd/bucket-lifecycle-handlers.go

    // https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lifecycle-mgmt.html
    func (api objectAPIHandlers) PutBucketLifecycleHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := newContext(r, w, "PutBucketLifecycle")
    
    	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 May 05 19:28:20 GMT 2024
    - Last Modified: Tue Nov 21 17:48:06 GMT 2023
    - 7K bytes
    - Viewed (0)
  9. cmd/bucket-listobjects-handlers.go

    // You can use the versions subresource to list metadata about all
    // of the versions of objects in a bucket.
    func (api objectAPIHandlers) listObjectVersionsHandler(w http.ResponseWriter, r *http.Request, metadata bool) {
    	ctx := newContext(r, w, "ListObjectVersions")
    
    	defer logger.AuditLog(ctx, w, r, mustGetClaimsFromToken(r))
    
    	vars := mux.Vars(r)
    	bucket := vars["bucket"]
    
    	objectAPI := api.ObjectAPI()
    	if objectAPI == nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  10. cmd/bucket-handlers.go

    // GetBucketLocationHandler - GET Bucket location.
    // -------------------------
    // This operation returns bucket location.
    func (api objectAPIHandlers) GetBucketLocationHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := newContext(r, w, "GetBucketLocation")
    
    	defer logger.AuditLog(ctx, w, r, mustGetClaimsFromToken(r))
    
    	vars := mux.Vars(r)
    	bucket := vars["bucket"]
    
    	objectAPI := api.ObjectAPI()
    	if objectAPI == nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 16:27:27 GMT 2024
    - 61.6K bytes
    - Viewed (0)
Back to top