- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 275 for rounds (0.09 sec)
-
test/fixedbugs/issue20749.go
// license that can be found in the LICENSE file. package p // Verify that the compiler complains even if the array // has length 0. var a [0]int var _ = a[2:] // ERROR "invalid slice index 2|array index out of bounds|index 2 out of bounds" var b [1]int
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 22 17:50:13 UTC 2020 - 476 bytes - Viewed (0) -
subprojects/core-api/src/main/java/org/gradle/model/internal/type/TypeVariableTypeWrapper.java
private final TypeWrapper[] bounds; private final int hashCode; public TypeVariableTypeWrapper(String name, TypeWrapper[] bounds, int hashCode) { this.name = name; this.bounds = bounds; this.hashCode = hashCode; } @Override public Class<?> getRawClass() { if (bounds.length > 0) { return bounds[0].getRawClass(); } else {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 11 21:42:04 UTC 2018 - 2.4K bytes - Viewed (0) -
src/runtime/testdata/testprogcgo/stackswitch.c
return NULL; } static void *stackSwitchThread2(void *arg) { // New thread. Use stack bounds that partially overlap the previous // bounds. needm should refresh the stack bounds anyway since this is a // new thread. // N.B. since we used a custom stack with makecontext, // callbackUpdateSystemStack had to guess the bounds. Its guess assumes // a 32KiB stack. char *prev_stack_lo = stack2 + STACK_SIZE - (32*1024);
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 26 15:17:33 UTC 2023 - 3.9K bytes - Viewed (0) -
src/internal/byteorder/byteorder.go
_ = b[1] // early bounds check to guarantee safety of writes below b[0] = byte(v) b[1] = byte(v >> 8) } func LeAppendUint16(b []byte, v uint16) []byte { return append(b, byte(v), byte(v>>8), ) } func LeUint32(b []byte) uint32 { _ = b[3] // bounds check hint to compiler; see golang.org/issue/14808 return uint32(b[0]) | uint32(b[1])<<8 | uint32(b[2])<<16 | uint32(b[3])<<24 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 10 20:31:29 UTC 2024 - 3.5K bytes - Viewed (0) -
src/vendor/golang.org/x/sys/cpu/byteorder.go
} func (littleEndian) Uint64(b []byte) uint64 { _ = b[7] // bounds check hint to compiler; see golang.org/issue/14808 return uint64(b[0]) | uint64(b[1])<<8 | uint64(b[2])<<16 | uint64(b[3])<<24 | uint64(b[4])<<32 | uint64(b[5])<<40 | uint64(b[6])<<48 | uint64(b[7])<<56 } func (bigEndian) Uint32(b []byte) uint32 { _ = b[3] // bounds check hint to compiler; see golang.org/issue/14808
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 03 19:48:07 UTC 2022 - 1.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/mlir_pass_instrumentation_test.cc
func.func @main(%arg0: tensor<?xi32, #mhlo.type_extensions<bounds = [1]>>) -> tensor<?xi32, #mhlo.type_extensions<bounds = [1]>> { %0 = "tf.Identity"(%arg0) : (tensor<?xi32, #mhlo.type_extensions<bounds = [1]>>) -> tensor<?xi32, #mhlo.type_extensions<bounds = [1]>> func.return %0 : tensor<?xi32, #mhlo.type_extensions<bounds = [1]>> } })"; SetPassThatChangedIdentity("");
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Sep 19 22:54:26 UTC 2023 - 3.9K bytes - Viewed (0) -
src/image/png/fuzz_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 03 15:56:27 UTC 2023 - 1.6K bytes - Viewed (0) -
src/image/png/example_test.go
img, err := png.Decode(gopherPNG()) if err != nil { log.Fatal(err) } levels := []string{" ", "░", "▒", "▓", "█"} for y := img.Bounds().Min.Y; y < img.Bounds().Max.Y; y++ { for x := img.Bounds().Min.X; x < img.Bounds().Max.X; x++ { c := color.GrayModel.Convert(img.At(x, y)).(color.Gray) level := c.Y / 51 // 51 * 5 = 255 if level == 5 { level-- } fmt.Print(levels[level])
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 21 19:47:04 UTC 2016 - 3.6K bytes - Viewed (0) -
pkg/kube/inject/testdata/inject/proxy-override-runas.yaml
Jonh Wendell <******@****.***> 1715709579 -0400
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 14 17:59:39 UTC 2024 - 480 bytes - Viewed (0) -
pkg/monitoring/monitoring.go
// data collected by the Metric will be collected and exported as a histogram, with the specified bounds. func NewDistribution(name, description string, bounds []float64, opts ...Options) Metric { knownMetrics.register(MetricDefinition{ Name: name, Type: "Distribution", Description: description, Bounds: bounds, }) o, dm := createOptions(name, description, opts...) if dm != nil { return dm }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Oct 24 03:31:28 UTC 2023 - 9.5K bytes - Viewed (0)