- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 945 for Select0 (0.24 sec)
-
src/cmd/compile/internal/ssa/_gen/PPC64latelower.rules
// And finally, fixup the flag user. (CMPconst <t> [0] (Select0 z:((ADD|AND|ANDN|OR|SUB|NOR|XOR)CC x y))) => (Select1 <t> z) (CMPconst <t> [0] (Select0 z:((ADDCCconst|ANDCCconst|NEGCC|CNTLZDCC|RLDICLCC) y))) => (Select1 <t> z) // After trying to convert ANDconst to ANDCCconst above, if the CC result is not needed, try to avoid using // ANDconst which clobbers CC.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 19:59:38 UTC 2024 - 3.8K bytes - Viewed (0) -
test/fixedbugs/issue16741.go
// Copyright 2016 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. // Make sure CSE of multi-output opcodes works correctly // with select0/1 operations. package main func div(d, r int64) int64 { if m := d % r; m > 0 { return d/r + 1 } return d / r
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 17 21:03:26 UTC 2016 - 363 bytes - Viewed (0) -
src/cmd/compile/internal/ssa/tuple.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package ssa // tightenTupleSelectors ensures that tuple selectors (Select0, Select1, // and SelectN ops) are in the same block as their tuple generator. The // function also ensures that there are no duplicate tuple selectors. // These properties are expected by the scheduler but may not have
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 26 02:52:33 UTC 2021 - 2K bytes - Viewed (0) -
src/crypto/internal/edwards25519/field/fe_alias_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 28 17:26:17 UTC 2023 - 3.4K bytes - Viewed (0) -
test/chan/select3.go
testBlock(always, func() { ch := make(chan int) <-ch }) // empty selects always block testBlock(always, func() { select {} }) // selects with only nil channels always block testBlock(always, func() { select { case <-nilch: unreachable() } }) testBlock(always, func() { select { case nilch <- 7: unreachable() } }) testBlock(always, func() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Jul 08 02:10:12 UTC 2017 - 4.1K bytes - Viewed (0) -
test/reorder2.go
c <- 1 select { default: case <-c: if a("1")("2")("3"); log != "a(1)a(2)a(3)" { println("in select4, expecting a(1)a(2)a(3) , got ", log) err++ } log = "" if t.a("1").a(t.b("2")); log != "a(1)b(2)a(2)" { println("in select4, expecting a(1)b(2)a(2), got ", log) err++ } log = "" if a("3")(b("4"))(b("5")); log != "a(3)b(4)a(4)b(5)a(5)" {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 7.2K bytes - Viewed (0) -
test/chan/select8.go
// Test break statements in a select. // Gccgo had a bug in handling this. // Test 1,2,3-case selects, so it covers both the general // code path and the specialized optimizations for one- // and two-case selects. package main var ch = make(chan int) func main() { go func() { for { ch <- 5 } }() select { case <-ch: break panic("unreachable") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jul 10 18:02:11 UTC 2019 - 826 bytes - Viewed (0) -
test/chan/select2.go
// license that can be found in the LICENSE file. // Test that selects do not consume undue memory. package main import "runtime" func sender(c chan int, n int) { for i := 0; i < n; i++ { c <- 1 } } func receiver(c, dummy chan int, n int) { for i := 0; i < n; i++ { select { case <-c: // nothing case <-dummy: panic("dummy") } } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 1K bytes - Viewed (0) -
test/chan/select6.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Test for select: Issue 2075 // A bug in select corrupts channel queues of failed cases // if there are multiple waiters on those channels and the // select is the last in the queue. If further waits are made // on the channel without draining it first then those waiters
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 783 bytes - Viewed (0) -
test/chan/select4.go
// license that can be found in the LICENSE file // Test that a select statement proceeds when a value is ready. package main func f() *int { println("BUG: called f") return new(int) } func main() { var x struct { a int } c := make(chan int, 1) c1 := make(chan int) c <- 42 select { case *f() = <-c1: // nothing case x.a = <-c: if x.a != 42 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Feb 19 06:44:02 UTC 2012 - 513 bytes - Viewed (0)