Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 52 for Sizes (0.04 sec)

  1. src/cmd/compile/internal/types2/sizes.go

    			return Sizes(s)
    		}
    	case "gccgo":
    		if s, ok := gccgoArchSizes[arch]; ok {
    			return Sizes(s)
    		}
    	}
    	return nil
    }
    
    // stdSizes is used if Config.Sizes == nil.
    var stdSizes = SizesFor("gc", "amd64")
    
    func (conf *Config) alignof(T Type) int64 {
    	f := stdSizes.Alignof
    	if conf.Sizes != nil {
    		f = conf.Sizes.Alignof
    	}
    	if a := f(T); a >= 1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  2. src/go/types/sizes.go

    			return Sizes(s)
    		}
    	case "gccgo":
    		if s, ok := gccgoArchSizes[arch]; ok {
    			return Sizes(s)
    		}
    	}
    	return nil
    }
    
    // stdSizes is used if Config.Sizes == nil.
    var stdSizes = SizesFor("gc", "amd64")
    
    func (conf *Config) alignof(T Type) int64 {
    	f := stdSizes.Alignof
    	if conf.Sizes != nil {
    		f = conf.Sizes.Alignof
    	}
    	if a := f(T); a >= 1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  3. hack/verify-file-sizes.sh

    bells17 <******@****.***> 1713555590 +0900
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 19 19:39:50 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. cmd/data-usage-cache_test.go

    )
    
    func TestSizeHistogramToMap(t *testing.T) {
    	tests := []struct {
    		sizes []int64
    		want  map[string]uint64
    	}{
    		{
    			sizes: []int64{100, 1000, 72_000, 100_000},
    			want: map[string]uint64{
    				"LESS_THAN_1024_B":         2,
    				"BETWEEN_64_KB_AND_256_KB": 2,
    				"BETWEEN_1024B_AND_1_MB":   2,
    			},
    		},
    		{
    			sizes: []int64{100, 1000, 2000, 100_000, 13 * humanize.MiByte},
    			want: map[string]uint64{
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Jan 13 07:51:08 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/shift/shift.go

    		}
    	default:
    		structuralTypes = append(structuralTypes, t)
    	}
    	sizes := make(map[int64]struct{})
    	for _, t := range structuralTypes {
    		size := 8 * pass.TypesSizes.Sizeof(t)
    		sizes[size] = struct{}{}
    	}
    	minSize := int64(math.MaxInt64)
    	for size := range sizes {
    		if size < minSize {
    			minSize = size
    		}
    	}
    	if amt >= minSize {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top