- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 722 for rounds (0.21 sec)
-
src/strconv/decimal_test.go
test.i, test.nd, s, test.down) } d = NewDecimal(test.i) d.Round(test.nd) s = d.String() if s != test.round { t.Errorf("Decimal %v Round %d = %v, want %v", test.i, test.nd, s, test.down) } d = NewDecimal(test.i) d.RoundUp(test.nd) s = d.String() if s != test.up { t.Errorf("Decimal %v RoundUp %d = %v, want %v", test.i, test.nd, s, test.up) } } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 08 04:08:51 UTC 2014 - 3K bytes - Viewed (0) -
src/image/image.go
// ColorModel returns the Image's color model. ColorModel() color.Model // Bounds returns the domain for which At can return non-zero color. // The bounds do not necessarily contain the point (0, 0). Bounds() Rectangle // At returns the color of the pixel at (x, y). // At(Bounds().Min.X, Bounds().Min.Y) returns the upper-left pixel of the grid. // At(Bounds().Max.X-1, Bounds().Max.Y-1) returns the lower-right one. At(x, y int) color.Color }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:45 UTC 2023 - 34.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/compile_mlir_util/convert_mhlo_quant_to_int.mlir
// CHECK: %[[ADD:.*]] = f32[] add(f32[] %[[DIV]], f32[] // CHECK: %[[CLAMP:.*]] = f32[] clamp(f32[] %[[MIN:.*]], f32[] %[[ADD]], // CHECK: %[[ROUND:.*]] = f32[] round-nearest-even(f32[] %[[CLAMP]]) // CHECK: %[[CONVERT_0:.*]] = u8[] convert(f32[] %[[ROUND]]) // CHECK: %[[CONVERT_1:.*]] = s32[] convert(u8[] %[[CONVERT_0]]) // CHECK: %[[SUB:.*]] = s32[] subtract(s32[] %[[CONVERT_1]],
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Sep 07 16:28:50 UTC 2023 - 1.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/translate/import_model.cc
os << "\n"; } } } // For exported functions with bound inputs, rewrite the function // signature to match the requirements of tf_saved_model bound input args. // // The raw imported functions have `tensor<*x!tf_type.resource>` as the type for // mutable bound inputs and `tensor<...>` as the type for immutable // bound inputs. Here we canonicalize both of them into // `tensor<!tf_type.resource<tensor<...>>>`.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 01 11:17:36 UTC 2024 - 183.2K bytes - Viewed (0) -
test/index1.go
// errorcheckoutput ./index.go // Copyright 2010 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. // Generate test of index and slice bounds checks. // The output is error checked. package main
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 305 bytes - Viewed (0) -
src/image/png/writer_test.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package png import ( "bytes" "compress/zlib" "encoding/binary" "fmt" "image" "image/color" "image/draw" "io" "testing" ) func diff(m0, m1 image.Image) error { b0, b1 := m0.Bounds(), m1.Bounds() if !b0.Size().Eq(b1.Size()) { return fmt.Errorf("dimensions differ: %v vs %v", b0, b1)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 14 08:14:05 UTC 2022 - 8.9K bytes - Viewed (0) -
releasenotes/notes/fix-custom-injection-runas.yaml
docs: - 'https://istio.io/latest/docs/setup/additional-setup/sidecar-injection/#customizing-injection' releaseNotes: - |
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 14 17:59:39 UTC 2024 - 314 bytes - Viewed (0) -
test/codegen/math.go
// amd64/v2:-".*x86HasSSE41" amd64/v3:-".*x86HasSSE41" // amd64:"ROUNDSD\t[$]1" // s390x:"FIDBR\t[$]7" // arm64:"FRINTMD" // ppc64x:"FRIM" // wasm:"F64Floor" sink64[1] = math.Floor(x) // s390x:"FIDBR\t[$]1" // arm64:"FRINTAD" // ppc64x:"FRIN" sink64[2] = math.Round(x) // amd64/v2:-".*x86HasSSE41" amd64/v3:-".*x86HasSSE41" // amd64:"ROUNDSD\t[$]3" // s390x:"FIDBR\t[$]5" // arm64:"FRINTZD" // ppc64x:"FRIZ"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 04 15:24:29 UTC 2024 - 6.2K bytes - Viewed (0) -
pkg/kube/inject/testdata/inject/proxy-override-runas.yaml.injected
Jonh Wendell <******@****.***> 1715709579 -0400
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 14 17:59:39 UTC 2024 - 6.5K bytes - Viewed (0) -
src/image/image_test.go
Transparent, Opaque, }) }}, } func TestImage(t *testing.T) { for _, tc := range testImages { m := tc.image() if !Rect(0, 0, 10, 10).Eq(m.Bounds()) { t.Errorf("%T: want bounds %v, got %v", m, Rect(0, 0, 10, 10), m.Bounds()) continue } if !cmp(m.ColorModel(), Transparent, m.At(6, 3)) { t.Errorf("%T: at (6, 3), want a zero color, got %v", m, m.At(6, 3)) continue }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 30 02:00:49 UTC 2021 - 10.8K bytes - Viewed (0)