Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 94 for Sizes (0.12 sec)

  1. src/runtime/mksizeclasses.go

    // size might have a 26.6% (1.266x) overhead.
    // In practice, only one of the wastes comes into play for a
    // given size (sizes < 512 waste mainly on the round-up,
    // sizes > 512 waste mainly on the page chopping).
    // For really small sizes, alignment constraints force the
    // overhead higher.
    
    package main
    
    import (
    	"bytes"
    	"flag"
    	"fmt"
    	"go/format"
    	"io"
    	"log"
    	"math"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:31:27 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/gcsizes.go

    		// Type parameters lead to variable sizes/alignments;
    		// StdSizes.Sizeof won't be called for them.
    		assert(!isTypeParam(T))
    		return s.WordSize * 2
    	case *TypeParam, *Union:
    		panic("unreachable")
    	}
    	return s.WordSize // catch-all
    }
    
    // gcSizesFor returns the Sizes used by gc for an architecture.
    // The result is a nil *gcSizes pointer (which is not a valid types.Sizes)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 19:32:17 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  3. src/go/types/gcsizes.go

    		// Type parameters lead to variable sizes/alignments;
    		// StdSizes.Sizeof won't be called for them.
    		assert(!isTypeParam(T))
    		return s.WordSize * 2
    	case *TypeParam, *Union:
    		panic("unreachable")
    	}
    	return s.WordSize // catch-all
    }
    
    // gcSizesFor returns the Sizes used by gc for an architecture.
    // The result is a nil *gcSizes pointer (which is not a valid types.Sizes)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow_to_stablehlo/README.md

      MLIR input.
    * `--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,?]`.
    * `--e`: Elide large elements attrs while dumping the output StableHLO.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 22:58:42 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/test/testdata/gen/copyGen.go

    // copy the data they are supposed to and clobber no adjacent values.
    
    // run as `go run copyGen.go`.  A file called copy.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, 1024 + 7, 1024 + 8, 1024 + 9, 1024 + 15, 1024 + 16, 1024 + 17}
    
    var usizes = [...]int{2, 3, 4, 5, 6, 7}
    
    func main() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 20 02:13:02 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  6. cmd/kube-apiserver/app/options/completion.go

    	if completed.Etcd != nil && completed.Etcd.EnableWatchCache {
    		sizes := kubeapiserver.DefaultWatchCacheSizes()
    		// Ensure that overrides parse correctly.
    		userSpecified, err := apiserveroptions.ParseWatchCacheSizes(completed.Etcd.WatchCacheSizes)
    		if err != nil {
    			return CompletedOptions{}, err
    		}
    		for resource, size := range userSpecified {
    			sizes[resource] = size
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 26 19:50:38 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  7. 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)
  8. tensorflow/compiler/mlir/tensorflow_to_stablehlo/python/pywrap_tensorflow_to_stablehlo_lib.h

    //    SavedModel.
    //   input_arg_shapes_str: 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,?].
    //
    // Returns:
    //   An absl::StatusOr containing the serialized bytecode of the StableHLO
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 22:58:42 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  9. src/cmd/cgo/internal/test/buildid_linux.go

    		if err != nil {
    			t.Logf("reading data of note section %d: %v", i, err)
    			continue
    		}
    
    		for len(d) > 0 {
    
    			// ELF standards differ as to the sizes in
    			// note sections.  Both the GNU linker and
    			// gold always generate 32-bit sizes, so that
    			// is what we assume here.
    
    			if len(d) < 12 {
    				t.Logf("note section %d too short (%d < 12)", i, len(d))
    				continue sections
    			}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/tensorflow/cc/const_op_size.cc

    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.h"
    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_types.h"
    
    namespace mlir {
    namespace quant {
    namespace {
    
    // For types that have varying sizes or difficult to determine the size of, each
    // element is arbitrarily considered to be 4 bytes.
    constexpr int64_t kAssumedNumBytesPerElem = 4;
    
    int64_t GetSizeOfIntOrFloatConst(TF::ConstOp const_op) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Dec 14 04:37:13 UTC 2022
    - 2.7K bytes
    - Viewed (0)
Back to top