- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 929 for pselect (0.41 sec)
-
src/internal/trace/testdata/testprog/stacks.go
// It is impossible to ensure that a goroutine has actually blocked // on a channel, in a select or otherwise. So we kick off goroutines // that need to block first in the hope that while we are executing // the rest of the test, they will block. go func() { // func1 select {} }() go func() { // func2 var c chan int c <- 0 }() go func() { // func3 var c chan int <-c }()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 2.4K bytes - Viewed (0) -
src/time/tick_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 17:10:37 UTC 2024 - 14.7K bytes - Viewed (0) -
src/database/sql/sql_test.go
expectPanic("Query Query", func() { db.Query("PANIC|Query|SELECT|people|age,name|") }) expectPanic("Query NumInput", func() { db.Query("PANIC|NumInput|SELECT|people|age,name|") }) expectPanic("Query Close", func() { rows, err := db.Query("PANIC|Close|SELECT|people|age,name|") if err != nil { t.Fatal(err) } rows.Close() }) db.Query("PANIC|Exec|SELECT|people|age,name|") // should run successfully: Query does not call Exec
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 111.6K bytes - Viewed (0) -
tests/connpool_test.go
"SELECT * FROM `users` WHERE name = ? AND `users`.`deleted_at` IS NULL ORDER BY `users`.`id` LIMIT ?", "SELECT * FROM `users` WHERE name = ? AND `users`.`deleted_at` IS NULL ORDER BY `users`.`id` LIMIT ?", "INSERT INTO `users` (`created_at`,`updated_at`,`deleted_at`,`name`,`age`,`birthday`,`company_id`,`manager_id`,`active`) VALUES (?,?,?,?,?,?,?,?,?)",
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Tue Feb 06 02:54:40 UTC 2024 - 5.5K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/transform/AttributeMatchingArtifactVariantSelectorSpec.groovy
when: def result = selector.select(variantSetOf(variants), requestedAttributes, false, factory) then: result == resolvedArtifactSet 1 * attributeMatcher.matches(_, _, _) >> [variant]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Feb 28 13:08:22 UTC 2024 - 8.3K bytes - Viewed (0) -
platforms/core-runtime/daemon-services/src/test/groovy/org/gradle/api/internal/tasks/userinput/DefaultUserInputHandlerTest.groovy
input == true } def "can ask select question"() { when: def input = ask { it.selectOption("select option", [11, 12, 13], 12) } then: 1 * outputEventBroadcaster.onOutput(_ as UserInputRequestEvent) 1 * outputEventBroadcaster.onOutput(_) >> { SelectOptionPromptEvent event -> assert event.question == "select option"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 09 04:50:46 UTC 2024 - 14.9K bytes - Viewed (0) -
src/runtime/chan.go
// At least one of c.sendq and c.recvq is empty, // except for the case of an unbuffered channel with a single goroutine // blocked on it for both sending and receiving using a select statement, // in which case the length of c.sendq and c.recvq is limited only by the // size of the select statement. // // For buffered channels, also: // c.qcount > 0 implies that c.recvq is empty. // c.qcount < c.dataqsiz implies that c.sendq is empty. import (
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:16:50 UTC 2024 - 25.9K bytes - Viewed (0) -
pilot/pkg/xds/adstest.go
log.Warnf("ads received error: %v", err) } select { case a.error <- err: case <-a.context.Done(): } return } select { case a.responses <- resp: case <-a.context.Done(): return } } } // DrainResponses reads all responses, but does nothing to them func (a *AdsTest) DrainResponses() { for { select { case <-a.context.Done(): return
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Feb 04 03:39:42 UTC 2024 - 6K bytes - Viewed (0) -
src/internal/types/testdata/check/labels.go
} } L9: switch { case true: break L9 defalt /* ERROR "label defalt declared and not used" */ : } L10: select { default: break L10 break L9 /* ERROR "invalid break label L9" */ } goto L10a L10a: L10b: select { default: break L10a /* ERROR "invalid break label L10a" */ break L10b continue L10b /* ERROR "invalid continue label L10b" */ } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 3.2K bytes - Viewed (0) -
pkg/ctrlz/ctrlz_test.go
"testing" "time" ) func TestStartStopEnabled(t *testing.T) { server := startAndWaitForServer(t) done := make(chan struct{}, 1) go func() { server.Close() done <- struct{}{} }() select { case <-done: case <-time.After(5 * time.Second): t.Fatal("Timed out waiting for listeningTestProbe to be called") } } func TestSignals(t *testing.T) { c := make(chan os.Signal, 1)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Feb 15 18:23:41 UTC 2024 - 2K bytes - Viewed (0)