- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 2,139 for selectA (0.15 sec)
-
test/return.go
print(1) select { case <-c: print(2) panic("abc") case c <- 1: print(2) goto L } } func _() int { print(1) select { case <-c: print(2) panic("abc") default: select{} } } // if any cases don't terminate, the select isn't okay anymore func _() int { print(1) select { case <-c: print(2) } } // ERROR "missing return"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 32.7K bytes - Viewed (0) -
pkg/controller/util/selectors/bimultimap_test.go
return u.selector.Empty() } func (u *useOnceSelector) String() string { return u.selector.String() } func (u *useOnceSelector) Add(r ...pkglabels.Requirement) pkglabels.Selector { u.selector = u.selector.Add(r...) return u } func (u *useOnceSelector) Requirements() (pkglabels.Requirements, bool) { return u.selector.Requirements() } func (u *useOnceSelector) DeepCopySelector() pkglabels.Selector {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Dec 13 01:56:36 UTC 2022 - 16.9K bytes - Viewed (0) -
src/syscall/syscall_linux_riscv64.go
type sigset_t struct { X__val [16]uint64 } //sys pselect(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timespec, sigmask *sigset_t) (n int, err error) = SYS_PSELECT6 func Select(nfd int, r *FdSet, w *FdSet, e *FdSet, timeout *Timeval) (n int, err error) { var ts *Timespec if timeout != nil { ts = &Timespec{Sec: timeout.Sec, Nsec: timeout.Usec * 1000} } return pselect(nfd, r, w, e, ts, nil) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 22:23:07 UTC 2023 - 5.8K bytes - Viewed (0) -
clause/order_by_test.go
Result string Vars []interface{} }{ { []clause.Interface{clause.Select{}, clause.From{}, clause.OrderBy{ Columns: []clause.OrderByColumn{{Column: clause.PrimaryColumn, Desc: true}}, }}, "SELECT * FROM `users` ORDER BY `users`.`id` DESC", nil, }, { []clause.Interface{ clause.Select{}, clause.From{}, clause.OrderBy{
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Thu Jan 06 07:02:53 UTC 2022 - 1.6K bytes - Viewed (0) -
src/runtime/race/testdata/select_test.go
c1 := make(chan bool) go func() { x = 1 // At least two channels are needed because // otherwise the compiler optimizes select out. // See comment in runtime/select.go:^func selectgo. select { case c <- true: case c1 <- true: } compl <- true }() select { case <-c: case c1 <- true: } x = 2 <-compl } func TestNoRaceSelect2(t *testing.T) { var x int _ = x
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 01 05:25:54 UTC 2020 - 4.1K bytes - Viewed (0) -
test/fixedbugs/issue6847.go
cc chan chan int ok bool ) // Send cases. select { case ccr <- cr: case ccr <- c: } select { case ccs <- cs: case ccs <- c: } select { case ccr <- c: default: } // Receive cases. select { case cr = <-cc: case cs = <-cc: case c = <-cc: } select { case cr = <-cc: default: } select { case cr, ok = <-cc: case cs, ok = <-cc: case c = <-cc:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 1.2K bytes - Viewed (0) -
platforms/software/testing-base/src/testFixtures/groovy/org/gradle/api/internal/tasks/testing/report/HtmlTestResultsFixture.groovy
def testDiv = content.select("div#tests") assert testDiv != null def counter = testDiv.select("div.counter") assert counter != null assert counter.text() == tests as String } void assertHasFailures(int tests) { def testDiv = content.select("div#failures") assert testDiv != null def counter = testDiv.select("div.counter") assert counter != null
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 9.1K bytes - Viewed (0) -
platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/BuildInitInteractiveIntegrationTest.groovy
// Select default project name ConcurrentTestUtil.poll(60) { assert handle.standardOutput.contains(projectNamePrompt) } handle.stdinPipe.write(TextUtil.platformLineSeparator.bytes) // Select 'Single project' ConcurrentTestUtil.poll(60) { assert handle.standardOutput.contains("Select application structure:")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 10 12:58:10 UTC 2024 - 18.9K bytes - Viewed (0) -
test/fixedbugs/issue7997.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 732 bytes - Viewed (0) -
staging/src/k8s.io/api/networking/v1/generated.proto
message NetworkPolicyPeer { // podSelector is a label selector which selects pods. This field follows standard label // selector semantics; if present but empty, it selects all pods. // // If namespaceSelector is also set, then the NetworkPolicyPeer as a whole selects // the pods matching podSelector in the Namespaces selected by NamespaceSelector. // Otherwise it selects the pods matching podSelector in the policy's own namespace.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 28 15:34:11 UTC 2024 - 24.8K bytes - Viewed (0)