- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of about 10,000 for ctan (0.06 sec)
-
test/fixedbugs/issue8475.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Issue 8745: comma-ok assignments should produce untyped bool as 2nd result. package main type mybool bool func main() { var ok mybool _ = ok var i interface{} _, ok = i.(int) var m map[int]int _, ok = m[0] var c chan int _, ok = <-c
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 422 bytes - Viewed (0) -
test/typeparam/mdempsky/18.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Test that implicit conversions to interface type in a select/case // clause are compiled correctly. package main import "fmt" func main() { f[int]() } func f[T any]() { ch := make(chan T) close(ch) var i, ok any select { case i, ok = <-ch: }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 29 19:33:57 UTC 2022 - 457 bytes - Viewed (0) -
src/runtime/tracebackx_test.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package runtime func XTestSPWrite(t TestingT) { // Test that we can traceback from the stack check prologue of a function // that writes to SP. See #62326. // Start a goroutine to minimize the initial stack and ensure we grow the stack. done := make(chan bool) go func() { testSPWrite() // Defined in assembly done <- true
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 06 14:45:46 UTC 2023 - 509 bytes - Viewed (0) -
test/fixedbugs/bug190.go
// compile // Copyright 2009 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 main type S struct { p *S; s []S; m map[int] S; c chan S; i interface { f(S); }; f func(S) S; } func main() { var s S; s.p = &s; s.s = make([]S, 1); s.s[0] = s; s.m[0] = s; s.c <- s; s.i.f(s);
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Feb 18 21:15:42 UTC 2012 - 390 bytes - Viewed (0) -
pilot/pkg/model/xds_cache.go
} // XdsCache interface defines a store for caching XDS responses. // All operations are thread safe. type XdsCache interface { // Run starts a background thread to flush evicted indexes periodically. Run(stop <-chan struct{}) // Add adds the given XdsCacheEntry with the value for the given pushContext to the cache. // If the cache has been updated to a newer push context, the write will be dropped silently.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Mar 02 07:02:05 UTC 2023 - 6.1K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/httpstream/httpstream.go
// the stream is rejected. After the reply frame has been sent, replySent is closed. type NewStreamHandler func(stream Stream, replySent <-chan struct{}) error // NoOpNewStreamHandler is a stream handler that accepts a new stream and // performs no other logic. func NoOpNewStreamHandler(stream Stream, replySent <-chan struct{}) error { return nil } // Dialer knows how to open a streaming connection to a server. type Dialer interface {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 23 22:33:38 UTC 2023 - 6.4K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/fake.go
MeshWatcher mesh.Watcher ServiceHandler model.ServiceHandler ClusterID cluster.ID WatchedNamespaces string DomainSuffix string XDSUpdater model.XDSUpdater Stop chan struct{} SkipRun bool ConfigCluster bool SystemNamespace string } type FakeController struct { *Controller Endpoints *model.EndpointIndex }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 4K bytes - Viewed (0) -
test/fixedbugs/issue5470.dir/a.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 07:01:43 UTC 2013 - 532 bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/sigchanyzer/doc.go
// license that can be found in the LICENSE file. // Package sigchanyzer defines an Analyzer that detects // misuse of unbuffered signal as argument to signal.Notify. // // # Analyzer sigchanyzer // // sigchanyzer: check for unbuffered channel of os.Signal // // This checker reports call expression of the form // // signal.Notify(c <-chan os.Signal, sig ...os.Signal), //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 09 01:28:01 UTC 2023 - 585 bytes - Viewed (0) -
test/fixedbugs/issue4654.go
defer imag(c) // ERROR "defer discards result of imag|is not used" defer len(x) // ERROR "defer discards result of len|is not used" defer make([]int, 1) // ERROR "defer discards result of make|is not used" defer make(chan bool) // ERROR "defer discards result of make|is not used" defer make(map[string]int) // ERROR "defer discards result of make|is not used" defer new(int) // ERROR "defer discards result of new|is not used"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 2.7K bytes - Viewed (0)