Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 95 for Sizes (0.06 sec)

  1. 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)
  2. src/go/internal/srcimporter/srcimporter.go

    	"strings"
    	"sync"
    	_ "unsafe" // for go:linkname
    )
    
    // An Importer provides the context for importing packages from source code.
    type Importer struct {
    	ctxt     *build.Context
    	fset     *token.FileSet
    	sizes    types.Sizes
    	packages map[string]*types.Package
    }
    
    // New returns a new Importer for the given context, file set, and map
    // of packages. The context is used to resolve import paths to package paths,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 23 18:54:32 UTC 2022
    - 8.2K bytes
    - Viewed (0)
  3. test/fixedbugs/bug122.go

    // Copyright 2009 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    func main() {
    	// should allow at most 2 sizes
    	a := make([]int, 10, 20, 30, 40); // ERROR "too many|expects 2 or 3 arguments; found 5"
    	_ = a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 28 18:13:13 UTC 2023
    - 334 bytes
    - Viewed (0)
  4. src/cmd/compile/internal/test/testdata/gen/zeroGen.go

    // zero the data they are supposed to and clobber no adjacent values.
    
    // run as `go run zeroGen.go`.  A file called zero.go
    // will be written into the parent directory containing the tests.
    
    var sizes = [...]int{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 15, 16, 17, 23, 24, 25, 31, 32, 33, 63, 64, 65, 1023, 1024, 1025}
    var usizes = [...]int{8, 16, 24, 32, 64, 256}
    
    func main() {
    	w := new(bytes.Buffer)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 20 02:13:02 UTC 2022
    - 4.1K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top