- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 339 for Sizes (0.07 sec)
-
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) -
src/os/readfrom_linux_test.go
t.Run(strconv.Itoa(size), func(t *testing.T) { testSpliceFile(t, "tcp", int64(size), int64(size)-1) }) } }) t.Run("OneLess-Unix", func(t *testing.T) { for _, size := range sizes { t.Run(strconv.Itoa(size), func(t *testing.T) { testSpliceFile(t, "unix", int64(size), int64(size)-1) }) } }) t.Run("Half-TCP", func(t *testing.T) { for _, size := range sizes {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 21:49:26 UTC 2024 - 20.3K bytes - Viewed (0) -
test/heapsampling.go
// the testcase allows for a 10% margin of error, but only fails if it // consistently fails across three experiments, avoiding flakes. func testSmallAllocations() error { const iters = 50000 // Sizes of the allocations performed by each experiment. sizes := []int64{1024, 512, 256} frames := []string{"main.allocSmall1", "main.allocSmall2", "main.allocSmall3"} // Pass if at least one of three experiments has no errors. Use a separate
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 27 21:36:06 UTC 2022 - 9.7K bytes - Viewed (0) -
cmd/utils_test.go
) // Tests maximum object size. func TestMaxObjectSize(t *testing.T) { sizes := []struct { isMax bool size int64 }{ // Test - 1 - maximum object size. { true, globalMaxObjectSize + 1, }, // Test - 2 - not maximum object size. { false, globalMaxObjectSize - 1, }, } for i, s := range sizes { isMax := isMaxObjectSize(s.size) if isMax != s.isMax {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Feb 23 21:28:14 UTC 2024 - 10.2K bytes - Viewed (0) -
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) -
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) -
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)