Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 51 for Sizes (0.25 sec)

  1. src/os/writeto_linux_test.go

    )
    
    func TestSendFile(t *testing.T) {
    	sizes := []int{
    		1,
    		42,
    		1025,
    		syscall.Getpagesize() + 1,
    		32769,
    	}
    	t.Run("sendfile-to-unix", func(t *testing.T) {
    		for _, size := range sizes {
    			t.Run(strconv.Itoa(size), func(t *testing.T) {
    				testSendFile(t, "unix", int64(size))
    			})
    		}
    	})
    	t.Run("sendfile-to-tcp", func(t *testing.T) {
    		for _, size := range sizes {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 18:12:56 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. src/crypto/subtle/xor_test.go

    	})
    }
    
    func BenchmarkXORBytes(b *testing.B) {
    	dst := make([]byte, 1<<15)
    	data0 := make([]byte, 1<<15)
    	data1 := make([]byte, 1<<15)
    	sizes := []int64{1 << 3, 1 << 7, 1 << 11, 1 << 15}
    	for _, size := range sizes {
    		b.Run(fmt.Sprintf("%dBytes", size), func(b *testing.B) {
    			s0 := data0[:size]
    			s1 := data1[:size]
    			b.SetBytes(int64(size))
    			for i := 0; i < b.N; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:51:19 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. src/hash/crc64/crc64.go

    	buildSlicing8TablesOnce()
    	crc = ^crc
    	// Table comparison is somewhat expensive, so avoid it for small sizes
    	for len(p) >= 64 {
    		var helperTable *[8]Table
    		if *tab == slicing8TableECMA[0] {
    			helperTable = slicing8TableECMA
    		} else if *tab == slicing8TableISO[0] {
    			helperTable = slicing8TableISO
    			// For smaller sizes creating extended table takes too much time
    		} else if len(p) >= 2048 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 18 22:36:41 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow_to_stablehlo/python/pywrap_tensorflow_to_stablehlo.cc

            * input-arg-shapes: A string representation of input argument shapes for
              'main' entry-point, separating tensors with ':', dimension with ',', and
              using '?' for unknown sizes. For example, 'input-arg-shapes=1,2::1,?'
              expresses argument shapes [1,2], [] and [1,?].
            )pbdoc",
          py::arg("input_path"),
          py::arg("exported_model_signatures") =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 22:58:42 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tfrt/analysis/cost_analysis.cc

      }
    
      // These ops are cheap regardless of their input sizes.
      //
      // TODO(chky): Find a more scalable way to figure out cheap ops.
      if (llvm::isa<mlir::TF::ShapeOp, mlir::TF::StridedSliceOp,
                    mlir::TF::ReshapeOp, mlir::TF::ExpandDimsOp>(op)) {
        cost_map_[op] = kDefaultCheapCost;
        return;
      }
    
      // For other ops, use the sum of input sizes as its cost.
      int64_t cost = kDefaultCheapCost;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/PerCollectionSizeTestSuiteBuilder.java

        // Split out all the specified sizes.
        Set<Feature<?>> sizesToTest = Helpers.<Feature<?>>copyToSet(CollectionSize.values());
        sizesToTest.retainAll(features);
        features.removeAll(sizesToTest);
    
        FeatureUtil.addImpliedFeatures(sizesToTest);
        sizesToTest.retainAll(
            Arrays.asList(CollectionSize.ZERO, CollectionSize.ONE, CollectionSize.SEVERAL));
    
        logger.fine("   Sizes: " + formatFeatureSet(sizesToTest));
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 26 19:46:10 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/PerCollectionSizeTestSuiteBuilder.java

        // Split out all the specified sizes.
        Set<Feature<?>> sizesToTest = Helpers.<Feature<?>>copyToSet(CollectionSize.values());
        sizesToTest.retainAll(features);
        features.removeAll(sizesToTest);
    
        FeatureUtil.addImpliedFeatures(sizesToTest);
        sizesToTest.retainAll(
            Arrays.asList(CollectionSize.ZERO, CollectionSize.ONE, CollectionSize.SEVERAL));
    
        logger.fine("   Sizes: " + formatFeatureSet(sizesToTest));
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 26 19:46:10 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  8. cmd/veeam-sos-api.go

    //     backup space is needed for incremental backups. Larger block sizes also mean less performance for random read restore
    //     methods like Instant Restore, File Level Recovery, and Database/Application restores. Veeam recommends that vendors
    //     optimize the storage system for the default value of 1MB minus compression object sizes. The setting simultaneously
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon May 20 18:54:52 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  9. src/internal/abi/compiletype.go

    package abi
    
    // These functions are the build-time version of the Go type data structures.
    
    // Their contents must be kept in sync with their definitions.
    // Because the host and target type sizes can differ, the compiler and
    // linker cannot use the host information that they might get from
    // either unsafe.Sizeof and Alignof, nor runtime, reflect, or reflectlite.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 08 03:01:24 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/stablehlo/cc/permutation.h

    #include "mlir/Support/LLVM.h"  // from @llvm-project
    
    namespace mlir::quant {
    
    // Permutes `values` with `permutation`. Returns the permuted values. Sizes of
    // `values` and `permutation` must be equal, and the elements of `permutation`
    // should be less than `values.size()`.
    template <typename T,
              typename = std::enable_if_t<std::is_default_constructible_v<T>, void>>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 00:14:00 UTC 2024
    - 1.9K bytes
    - Viewed (0)
Back to top