/prebuilts/go/darwin-x86/src/net/http/ |
triv.go | 88 type Chan chan int 90 func ChanCreate() Chan { 91 c := make(Chan) 92 go func(c Chan) { 100 func (ch Chan) ServeHTTP(w http.ResponseWriter, req *http.Request) { 132 http.Handle("/chan", ChanCreate())
|
/prebuilts/go/linux-x86/src/net/http/ |
triv.go | 88 type Chan chan int 90 func ChanCreate() Chan { 91 c := make(Chan) 92 go func(c Chan) { 100 func (ch Chan) ServeHTTP(w http.ResponseWriter, req *http.Request) { 132 http.Handle("/chan", ChanCreate())
|
/prebuilts/go/darwin-x86/test/ |
typeswitch.go | 19 Chan 32 var c = make(chan int) 57 case Chan: 82 case chan int: 83 assert(x == c && i == Chan, "chan")
|
closedchan.go | 18 type Chan interface { 30 type XChan chan int 84 type SChan chan int 147 var dummy = make(chan bool) 149 type SSChan chan int 227 func test1(c Chan) { 269 func testasync1(c Chan) { 279 func testasync2(c Chan) { 289 func testasync3(c Chan) { 299 func testasync4(c Chan) { [all...] |
named.go | 14 type Chan chan int 25 func asChan(Chan) {} 40 func isChan(x interface{}) { _ = x.(Chan) } 51 c Chan = make(Chan) 78 asChan(make(Chan)) 79 isChan(make(Chan)) 82 asChan(Chan(nil)) 83 isChan(Chan(nil) [all...] |
/prebuilts/go/linux-x86/test/ |
typeswitch.go | 19 Chan 32 var c = make(chan int) 57 case Chan: 82 case chan int: 83 assert(x == c && i == Chan, "chan")
|
closedchan.go | 18 type Chan interface { 30 type XChan chan int 84 type SChan chan int 147 var dummy = make(chan bool) 149 type SSChan chan int 227 func test1(c Chan) { 269 func testasync1(c Chan) { 279 func testasync2(c Chan) { 289 func testasync3(c Chan) { 299 func testasync4(c Chan) { [all...] |
named.go | 14 type Chan chan int 25 func asChan(Chan) {} 40 func isChan(x interface{}) { _ = x.(Chan) } 51 c Chan = make(Chan) 78 asChan(make(Chan)) 79 isChan(make(Chan)) 82 asChan(Chan(nil)) 83 isChan(Chan(nil) [all...] |
/prebuilts/go/darwin-x86/test/ken/ |
chan.go | 25 type Chan struct { 26 sc, rc chan int // send and recv chan 37 nc *Chan 41 nc = new(Chan) 52 func mkchan(c, n int) []*Chan { 53 ca := make([]*Chan, n) 56 ch := new(Chan) 57 ch.sc = make(chan int, c) 77 func (c *Chan) send() bool [all...] |
/prebuilts/go/linux-x86/test/ken/ |
chan.go | 25 type Chan struct { 26 sc, rc chan int // send and recv chan 37 nc *Chan 41 nc = new(Chan) 52 func mkchan(c, n int) []*Chan { 53 ca := make([]*Chan, n) 56 ch := new(Chan) 57 ch.sc = make(chan int, c) 77 func (c *Chan) send() bool [all...] |
/external/llvm/lib/Target/AMDGPU/ |
R600EmitClauseMarkers.cpp | 135 unsigned Chan = Sel & 3, Index = ((Sel >> 2) - 512) & 31; 136 unsigned KCacheIndex = Index * 4 + Chan;
|
R600OptimizeVectorRegisters.cpp | 72 unsigned Chan = Instr->getOperand(i + 1).getImm(); 74 UndefReg.push_back(Chan); 76 RegToChan[MO.getReg()] = Chan; 171 unsigned Chan) { 173 if (RemapChan[j].first == Chan) 176 llvm_unreachable("Chan wasn't reassigned"); 195 unsigned Chan = getReassignedChan(RemapChan, Swizzle); 201 .addImm(Chan); 202 UpdatedRegToChan[SubReg] = Chan; 204 std::find(UpdatedUndef.begin(), UpdatedUndef.end(), Chan); [all...] |
/prebuilts/go/darwin-x86/src/go/types/ |
type.go | 350 // A Chan represents a channel type. 351 type Chan struct { 367 func NewChan(dir ChanDir, elem Type) *Chan { 368 return &Chan{dir, elem} 372 func (c *Chan) Dir() ChanDir { return c.dir } 375 func (c *Chan) Elem() Type { return c.elem } 437 func (t *Chan) Underlying() Type { return t } 449 func (t *Chan) String() string { return TypeString(t, nil) }
|
/prebuilts/go/linux-x86/src/go/types/ |
type.go | 350 // A Chan represents a channel type. 351 type Chan struct { 367 func NewChan(dir ChanDir, elem Type) *Chan { 368 return &Chan{dir, elem} 372 func (c *Chan) Dir() ChanDir { return c.dir } 375 func (c *Chan) Elem() Type { return c.elem } 437 func (t *Chan) Underlying() Type { return t } 449 func (t *Chan) String() string { return TypeString(t, nil) }
|
/prebuilts/go/darwin-x86/src/reflect/ |
type.go | 110 // Chan: ChanDir, Elem 123 // It panics if the type's Kind is not Chan. 141 // It panics if the type's Kind is not Array, Chan, Map, Ptr, or Slice. 244 Chan 340 RecvDir ChanDir = 1 << iota // <-chan 341 SendDir // chan<- 342 BothDir = RecvDir | SendDir // chan 355 rtype `reflect:"chan"` 616 Chan: "chan", [all...] |
/prebuilts/go/linux-x86/src/reflect/ |
type.go | 110 // Chan: ChanDir, Elem 123 // It panics if the type's Kind is not Chan. 141 // It panics if the type's Kind is not Array, Chan, Map, Ptr, or Slice. 244 Chan 340 RecvDir ChanDir = 1 << iota // <-chan 341 SendDir // chan<- 342 BothDir = RecvDir | SendDir // chan 355 rtype `reflect:"chan"` 616 Chan: "chan", [all...] |