Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 265 for region (0.55 sec)

  1. cmd/ftp-server-driver.go

    	}
    
    	clnt, err := driver.getMinIOClient(ctx)
    	if err != nil {
    		return err
    	}
    
    	if prefix == "" {
    		return clnt.MakeBucket(context.Background(), bucket, minio.MakeBucketOptions{Region: globalSite.Region()})
    	}
    
    	dirPath := buildMinioDir(prefix)
    
    	_, err = clnt.PutObject(context.Background(), bucket, dirPath, bytes.NewReader([]byte("")), 0, minio.PutObjectOptions{
    		DisableContentSha256: true,
    	})
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 03 15:45:54 UTC 2024
    - 14K bytes
    - Viewed (0)
  2. cmd/admin-handlers_test.go

    	err = json.NewDecoder(rec.Body).Decode(&results)
    	if err != nil {
    		t.Fatalf("Failed to decode set config result json %v", err)
    	}
    
    	if results.Region != globalMinioDefaultRegion {
    		t.Errorf("Expected %s, got %s", globalMinioDefaultRegion, results.Region)
    	}
    }
    
    // TestToAdminAPIErrCode - test for toAdminAPIErrCode helper function.
    func TestToAdminAPIErrCode(t *testing.T) {
    	testCases := []struct {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  3. cmd/api-response.go

    	}
    
    	switch err.Code {
    	case "InvalidRegion":
    		err.Description = fmt.Sprintf("Region does not match; expecting '%s'.", globalSite.Region())
    	case "AuthorizationHeaderMalformed":
    		err.Description = fmt.Sprintf("The authorization header is malformed; the region is wrong; expecting '%s'.", globalSite.Region())
    	}
    
    	// Similar check to http.checkWriteHeaderCode
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  4. cmd/auth-handler_test.go

    		{mustNewSignedRequest(http.MethodGet, "http://127.0.0.1:9000", 0, nil, t), ErrNone},
    	}
    
    	// Validates all testcases.
    	for i, testCase := range testCases {
    		s3Error := isReqAuthenticated(ctx, testCase.req, globalSite.Region(), serviceS3)
    		if s3Error != testCase.s3Error {
    			if _, err := io.ReadAll(testCase.req.Body); toAPIErrorCode(ctx, err) != testCase.s3Error {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  5. pilot/pkg/serviceregistry/kube/controller/controller.go

    		}
    		return ""
    	}
    
    	region := getLabelValue(node.ObjectMeta, NodeRegionLabelGA, NodeRegionLabel)
    	zone := getLabelValue(node.ObjectMeta, NodeZoneLabelGA, NodeZoneLabel)
    	subzone := getLabelValue(node.ObjectMeta, label.TopologySubzone.Name, "")
    
    	if region == "" && zone == "" && subzone == "" {
    		return ""
    	}
    
    	return region + "/" + zone + "/" + subzone // Format: "%s/%s/%s"
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 41.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/embedding_sequencing.mlir

        return %arg0 : tensor<i1>
      }
      func.func private @while_cond(%arg0: tensor<i1>) -> tensor<i1> {
        return %arg0 : tensor<i1>
      }
    }
    
    // -----
    // A test verifying the replication region of TPUReplicateMetadataOp ops. Same logic tests too many TPUCompilationResultOp ops.
    module {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Aug 01 21:27:49 UTC 2023
    - 19.1K bytes
    - Viewed (0)
  7. src/runtime/HACKING.md

    Some common patterns that mix atomic and non-atomic access are:
    
    * Read-mostly variables where updates are protected by a lock. Within
      the locked region, reads do not need to be atomic, but the write
      does. Outside the locked region, reads need to be atomic.
    
    * Reads that only happen during STW, where no writes can happen during
      STW, do not need to be atomic.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/stablehlo/passes/quantization_patterns.h

          Operation* quantized_op = rewriter.create(new_state);
          if (candidate_op->getNumRegions() != 0) {
            for (const auto& indexed_regions :
                 llvm::enumerate(candidate_op->getRegions())) {
              Region& target_region =
                  quantized_op->getRegion(indexed_regions.index());
              IRMapping mapping;
              indexed_regions.value().cloneInto(&target_region, mapping);
            }
          }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  9. tensorflow/c/experimental/stream_executor/stream_executor.h

      // Allocates a region of host memory and registers it with the platform API.
      // Memory allocated in this manner is required for use in asynchronous memcpy
      // operations, such as `memcpy_dtoh`.
      void* (*host_memory_allocate)(const SP_Device* device, uint64_t size);
    
      // Deallocates a region of host memory allocated by `host_memory_allocate`.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 24 08:40:35 UTC 2022
    - 21.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/utils/xla_sharding_util.cc

      return sharding.type() == xla::OpSharding::MAXIMAL &&
             sharding.tile_assignment_devices(0) == core_id;
    }
    
    // Returns the index of the return value of region in
    // `tf_device.parallel_execute` that represents cluster func output at
    // index |cluster_func_output_index|. Regions of parallel_execute may
    // have different return values depending on output sharding configuration.
    mlir::LogicalResult LookupClusterToCoreIndex(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 21:28:13 UTC 2024
    - 34K bytes
    - Viewed (0)
Back to top