- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 722 for rounds (0.16 sec)
-
subprojects/core-api/src/main/java/org/gradle/model/internal/type/WildcardTypeWrapper.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 11 21:42:04 UTC 2018 - 3.3K bytes - Viewed (0) -
src/runtime/testdata/testprogcgo/stackswitch.go
// We want to trigger a bounds check on the g0 stack. To do this, we // need to call a splittable function through systemstack(). // SetGCPercent contains such a systemstack call. gogc := debug.SetGCPercent(100) debug.SetGCPercent(gogc) } // Regression test for https://go.dev/issue/62440. It should be possible for C // threads to call into Go from different stacks without crashing due to g0 // stack bounds checks. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 17 15:33:38 UTC 2023 - 1.1K bytes - Viewed (0) -
src/image/jpeg/fuzz_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 03 15:56:27 UTC 2023 - 1.4K bytes - Viewed (0) -
src/runtime/cgocall.go
// that call returning and now the stack may have changed (perhaps the // C thread is running a coroutine library). We need to update the // stack bounds for this case. // // N.B. we need to update the stack bounds even if SP appears to // already be in bounds. Our "bounds" may actually be estimated dummy // bounds (below). The actual stack bounds could have shifted but still
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:16:47 UTC 2024 - 24.2K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/TypeToken.java
} private static Bounds every(Type[] bounds) { // Every bound must match. On any false, result is false. return new Bounds(bounds, false); } private static Bounds any(Type[] bounds) { // Any bound matches. On any true, result is true. return new Bounds(bounds, true); } private static class Bounds { private final Type[] bounds;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Jun 26 21:02:13 UTC 2023 - 53.6K bytes - Viewed (0) -
src/image/jpeg/writer.go
cb, cr [4]block // DC components are delta-encoded. prevDCY, prevDCCb, prevDCCr int32 ) bounds := m.Bounds() switch m := m.(type) { // TODO(wathiede): switch on m.ColorModel() instead of type. case *image.Gray: for y := bounds.Min.Y; y < bounds.Max.Y; y += 8 { for x := bounds.Min.X; x < bounds.Max.X; x += 8 { p := image.Pt(x, y) grayToY(m, p, &b) prevDCY = e.writeBlock(&b, 0, prevDCY) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:45 UTC 2023 - 17.1K bytes - Viewed (0) -
test/fixedbugs/issue15002.go
if r == nil { panic("no fault or bounds check failure happened") } s := fmt.Sprintf("%s", r) if s != "runtime error: index out of range [1] with length 1" { panic("bad panic: " + s) } }() return uint16(x[i]) | uint16(x[i+1])<<8 } func test32(x []byte) uint32 { defer func() { r := recover() if r == nil { panic("no fault or bounds check failure happened") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 3.2K bytes - Viewed (0) -
src/go/internal/gcimporter/ureader.go
tname := types.NewTypeName(pos, pkg, name, nil) r.dict.tparams[i] = types.NewTypeParam(tname, nil) } typs := make([]types.Type, len(r.dict.bounds)) for i, bound := range r.dict.bounds { typs[i] = r.p.typIdx(bound, r.dict) } // TODO(mdempsky): This is subtle, elaborate further. // // We have to save tparams outside of the closure, because
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 16.6K bytes - Viewed (0) -
test/recover3.go
check("nil-deref-big", func() { println(q[5000]) }, "nil pointer dereference") i = 99999 var sl []int p1 := new([10]int) check("array-bounds", func() { println(p1[i]) }, "index out of range") check("slice-bounds", func() { println(sl[i]) }, "index out of range") var inter interface{} inter = 1 check("type-concrete", func() { println(inter.(string)) }, "int, not string")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 1.6K bytes - Viewed (0) -
test/fixedbugs/issue59367.go
//go:noinline func f16(p *uint8, b []byte) { _ = b[1] // bounds check x := *p // load a byte y := uint16(x) // zero extend to 16 bits b[0] = byte(y >> 8) // compute ROLW b[1] = byte(y) nop() // spill/restore ROLW b[0] = byte(y >> 8) // use ROLW b[1] = byte(y) } //go:noinline func f32(p *uint8, b []byte) { _ = b[3] // bounds check x := *p // load a byte
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 07 21:11:29 UTC 2023 - 1.7K bytes - Viewed (0)