- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for DoneChan (0.13 sec)
-
test/fixedbugs/issue25727.go
package main import "net/http" var s = http.Server{} var _ = s.doneChan // ERROR "s.doneChan undefined .cannot refer to unexported field or method doneChan.$|unexported field or method|s.doneChan undefined" var _ = s.DoneChan // ERROR "s.DoneChan undefined .type http.Server has no field or method DoneChan.$|undefined field or method"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 07 16:41:56 UTC 2024 - 1K bytes - Viewed (0) -
test/fixedbugs/issue31053.dir/main.go
} f.doneChan = nil // ERROR "f.doneChan undefined .cannot refer to unexported field or method doneChan." f.DoneChan = nil // ERROR "f.DoneChan undefined .type f1.Foo has no field or method DoneChan." f.name = nil // ERROR "f.name undefined .type f1.Foo has no field or method name, but does have Name." _ = f.doneChan // ERROR "f.doneChan undefined .cannot refer to unexported field or method doneChan."
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 28 07:44:07 UTC 2020 - 2.7K bytes - Viewed (0) -
pkg/controller/nodeipam/ipam/sync/sync_test.go
tc.fake.logger = logger sync := New(&tc.fake, &tc.fake, &tc.fake, tc.mode, "node1", cidr) doneChan := make(chan struct{}) // Do a single step of the loop. go sync.Loop(logger, doneChan) sync.Update(tc.node) close(sync.opChan) <-doneChan tc.fake.dumpTrace() if !reflect.DeepEqual(tc.fake.events, tc.events) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jul 05 23:39:52 UTC 2023 - 7.6K bytes - Viewed (0) -
test/fixedbugs/issue31053.dir/f1.go
// Copyright 2019 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. package f1 type Foo struct { doneChan chan bool Name string fOO int hook func() } func (f *Foo) Exported() { } func (f *Foo) unexported() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 08 20:44:01 UTC 2020 - 322 bytes - Viewed (0) -
pkg/client/tests/portfoward_test.go
pf, err := New(dialer, test.ports, stopChan, readyChan, os.Stdout, os.Stderr) if err != nil { t.Fatalf("%s: unexpected error calling New: %v", testName, err) } doneChan := make(chan error) go func() { doneChan <- pf.ForwardPorts() }() <-pf.Ready forwardedPorts, err := pf.GetPorts() if err != nil { t.Fatal(err) } remoteToLocalMap := map[int32]int32{}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jun 05 06:08:18 UTC 2023 - 7.1K bytes - Viewed (0) -
src/runtime/race/output_test.go
{"simple", "run", "", "atexit_sleep_ms=0", ` package main import "time" var xptr *int var donechan chan bool func main() { done := make(chan bool) x := 0 startRacer(&x, done) store(&x, 43) <-done } func store(x *int, v int) { *x = v } func startRacer(x *int, done chan bool) { xptr = x donechan = done go racer() } func racer() { time.Sleep(10*time.Millisecond) store(xptr, 42)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 25 20:44:25 UTC 2023 - 9.3K bytes - Viewed (0) -
src/crypto/tls/handshake_client_test.go
if t.Failed() { t.Logf("OpenSSL output:\n\n%s", stdout.all) } }() } else { clientConn, serverConn = localPipe(t) } doneChan := make(chan bool) defer func() { clientConn.Close() <-doneChan }() go func() { defer close(doneChan) config := test.config if config == nil { config = testConfig } client := Client(clientConn, config) defer client.Close()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:10:12 UTC 2024 - 88.7K bytes - Viewed (0)