- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for is2 (0.03 sec)
-
src/cmd/compile/internal/liveness/intervals.go
// with some range in is2. func (is Intervals) Overlaps(is2 Intervals) bool { // check for empty intervals if len(is) == 0 || len(is2) == 0 { return false } li := len(is) li2 := len(is2) // check for completely disjoint ranges if is[li-1].en <= is2[0].st || is[0].st >= is2[li2-1].en { return false }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 29 21:55:27 UTC 2024 - 10K bytes - Viewed (0) -
test/escape_reflect.go
return v.CanAddr() || v.CanInt() || v.CanSet() || v.CanInterface() } func is(x int) bool { v := reflect.ValueOf(x) // ERROR "x does not escape" return v.IsValid() || v.IsNil() || v.IsZero() } func is2(x [2]int) bool { v := reflect.ValueOf(x) // ERROR "x does not escape" return v.IsValid() || v.IsNil() || v.IsZero() } func is3(x struct{ a, b int }) bool { v := reflect.ValueOf(x) // ERROR "x does not escape"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 08 18:50:24 UTC 2023 - 13.1K bytes - Viewed (0)