- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 276 for Sizes (0.1 sec)
-
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) -
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) -
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) -
src/go/types/sizes_test.go
type S struct { i int b bool s string n int } ` ts := findStructType(t, src) sizes := types.StdSizes{WordSize: 4, MaxAlign: 4} if got := sizes.Sizeof(ts); got != 20 { t.Errorf("Sizeof(%v) with WordSize 4 = %d want 20", ts, got) } sizes = types.StdSizes{WordSize: 8, MaxAlign: 8} if got := sizes.Sizeof(ts); got != 40 { t.Errorf("Sizeof(%v) with WordSize 8 = %d want 40", ts, got) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 16 21:00:48 UTC 2023 - 4K bytes - Viewed (0) -
src/cmd/compile/internal/types2/sizes_test.go
type S struct { i int b bool s string n int } ` ts := findStructType(t, src) sizes := types2.StdSizes{WordSize: 4, MaxAlign: 4} if got := sizes.Sizeof(ts); got != 20 { t.Errorf("Sizeof(%v) with WordSize 4 = %d want 20", ts, got) } sizes = types2.StdSizes{WordSize: 8, MaxAlign: 8} if got := sizes.Sizeof(ts); got != 40 { t.Errorf("Sizeof(%v) with WordSize 8 = %d want 40", ts, got) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 16 21:00:48 UTC 2023 - 4.1K bytes - Viewed (0) -
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) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/dot_general.cc
namespace mlir { namespace odml { namespace { // A struct to hold axes and sizes for a set of dimensions. struct DimensionVector { llvm::ArrayRef<int64_t> AxesArray() const { return axes; } llvm::ArrayRef<int64_t> SizesArray() const { return sizes; } llvm::SmallVector<int64_t, 4> axes; llvm::SmallVector<int64_t, 4> sizes; }; // Appends all elements in `range` to `values`.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 19.2K bytes - Viewed (0) -
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) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/asmdecl/asmdecl.go
// to defer size computation until we have Pass.TypesSizes. arch.sizes = types.SizesFor("gc", "amd64") log.Printf("unknown architecture %s", arch.name) } arch.intSize = int(arch.sizes.Sizeof(types.Typ[types.Int])) arch.ptrSize = int(arch.sizes.Sizeof(types.Typ[types.UnsafePointer])) arch.maxAlign = int(arch.sizes.Alignof(types.Typ[types.Int64])) } } var ( re = regexp.MustCompile
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 22.8K bytes - Viewed (0) -
cmd/data-usage_test.go
} createUsageTestFiles(t, base, bucket, files) getSize := func(item scannerItem) (sizeS sizeSummary, err error) { if item.Typ&os.ModeDir == 0 { var s os.FileInfo s, err = os.Stat(item.Path) if err != nil { return } sizeS.totalSize = s.Size() sizeS.versions++ return sizeS, nil } return } weSleep := func() bool { return false }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed Mar 27 15:10:40 UTC 2024 - 14.1K bytes - Viewed (0)