HomeSort by relevance Sort by last modified time
    Searched refs:nil (Results 26 - 50 of 5492) sorted by null

12 3 4 5 6 7 8 91011>>

  /prebuilts/go/darwin-x86/test/fixedbugs/
issue4283.go 7 // Issue 4283: nil == nil can't be done as the type is unknown.
12 return nil == nil // ERROR "invalid"
16 return nil != nil // ERROR "invalid"
issue19911.go 19 check("false", fmt.Sprintf("(*ET)(nil) == error(nil): %v", (*ET)(nil) == error(nil)))
20 check("true", fmt.Sprintf("(*ET)(nil) != error(nil): %v", (*ET)(nil) != error(nil)))
22 nilET := (*ET)(nil)
23 nilError := error(nil)
    [all...]
issue4614.go 7 // Issue 4614: slicing of nil slices confuses the compiler
8 // with a uintptr(nil) node.
16 var _ = []int(nil)[1:]
17 var _ = []int(nil)[n:]
19 var _ = uintptr(unsafe.Pointer(nil))
bug249.go 9 var c1 chan <- chan int = (chan<- (chan int))(nil)
10 var c2 chan <- chan int = (chan (<-chan int))(nil) // ERROR "chan|incompatible"
11 var c3 <- chan chan int = (<-chan (chan int))(nil)
12 var c4 chan chan <- int = (chan (chan<- int))(nil)
14 var c5 <- chan <- chan int = (<-chan (<-chan int))(nil)
15 var c6 chan <- <- chan int = (chan<- (<-chan int))(nil)
16 var c7 chan <- chan <- int = (chan<- (chan<- int))(nil)
18 var c8 <- chan <- chan chan int = (<-chan (<-chan (chan int)))(nil)
19 var c9 <- chan chan <- chan int = (<-chan (chan<- (chan int)))(nil)
20 var c10 chan <- <- chan chan int = (chan<- (<-chan (chan int)))(nil)
    [all...]
  /prebuilts/go/linux-x86/test/fixedbugs/
issue15898.go 11 case nil, nil: // ERROR "multiple nil cases in type switch"
15 case nil:
16 case nil: // ERROR "multiple nil cases in type switch"
issue4283.go 7 // Issue 4283: nil == nil can't be done as the type is unknown.
12 return nil == nil // ERROR "invalid"
16 return nil != nil // ERROR "invalid"
issue19911.go 19 check("false", fmt.Sprintf("(*ET)(nil) == error(nil): %v", (*ET)(nil) == error(nil)))
20 check("true", fmt.Sprintf("(*ET)(nil) != error(nil): %v", (*ET)(nil) != error(nil)))
22 nilET := (*ET)(nil)
23 nilError := error(nil)
    [all...]
issue4614.go 7 // Issue 4614: slicing of nil slices confuses the compiler
8 // with a uintptr(nil) node.
16 var _ = []int(nil)[1:]
17 var _ = []int(nil)[n:]
19 var _ = uintptr(unsafe.Pointer(nil))
bug249.go 9 var c1 chan <- chan int = (chan<- (chan int))(nil)
10 var c2 chan <- chan int = (chan (<-chan int))(nil) // ERROR "chan|incompatible"
11 var c3 <- chan chan int = (<-chan (chan int))(nil)
12 var c4 chan chan <- int = (chan (chan<- int))(nil)
14 var c5 <- chan <- chan int = (<-chan (<-chan int))(nil)
15 var c6 chan <- <- chan int = (chan<- (<-chan int))(nil)
16 var c7 chan <- chan <- int = (chan<- (chan<- int))(nil)
18 var c8 <- chan <- chan chan int = (<-chan (<-chan (chan int)))(nil)
19 var c9 <- chan chan <- chan int = (<-chan (chan<- (chan int)))(nil)
20 var c10 chan <- <- chan chan int = (chan<- (<-chan (chan int)))(nil)
    [all...]
  /prebuilts/go/darwin-x86/src/net/
file_unix.go 17 if err != nil {
20 if err := syscall.SetNonblock(s, true); err != nil {
24 return s, nil
29 if err != nil {
30 return nil, err
34 if err != nil {
36 return nil, os.NewSyscallError("getsockopt", err)
49 return nil, syscall.EPROTONOSUPPORT
52 if err != nil {
54 return nil, er
    [all...]
tcpsock_plan9.go 18 if testHookDialTCP != nil {
28 return nil, UnknownNetworkError(net)
30 if raddr == nil {
31 return nil, errMissingAddress
34 if err != nil {
35 return nil, err
37 return newTCPConn(fd), nil
40 func (ln *TCPListener) ok() bool { return ln != nil && ln.fd != nil && ln.fd.ctl != nil }
    [all...]
  /prebuilts/go/linux-x86/src/net/
file_unix.go 17 if err != nil {
20 if err := syscall.SetNonblock(s, true); err != nil {
24 return s, nil
29 if err != nil {
30 return nil, err
34 if err != nil {
36 return nil, os.NewSyscallError("getsockopt", err)
49 return nil, syscall.EPROTONOSUPPORT
52 if err != nil {
54 return nil, er
    [all...]
tcpsock_plan9.go 18 if testHookDialTCP != nil {
28 return nil, UnknownNetworkError(net)
30 if raddr == nil {
31 return nil, errMissingAddress
34 if err != nil {
35 return nil, err
37 return newTCPConn(fd), nil
40 func (ln *TCPListener) ok() bool { return ln != nil && ln.fd != nil && ln.fd.ctl != nil }
    [all...]
  /prebuilts/go/darwin-x86/src/os/user/
lookup_windows.go 21 err := syscall.NetGetJoinInformation(nil, &domain, &status)
22 if err != nil {
26 return status == syscall.NetSetupDomainName, nil
36 if e != nil {
40 if e != nil {
45 if e != nil {
50 if i.FullName == nil {
51 return "", nil
54 return name, nil
59 if err == nil && joined
    [all...]
  /prebuilts/go/linux-x86/src/os/user/
lookup_windows.go 21 err := syscall.NetGetJoinInformation(nil, &domain, &status)
22 if err != nil {
26 return status == syscall.NetSetupDomainName, nil
36 if e != nil {
40 if e != nil {
45 if e != nil {
50 if i.FullName == nil {
51 return "", nil
54 return name, nil
59 if err == nil && joined
    [all...]
  /prebuilts/go/darwin-x86/misc/cgo/test/
issue5603.go 23 x[1] = int64(C.issue5603foo1(nil))
24 x[2] = int64(C.issue5603foo2(nil, nil))
25 x[3] = int64(C.issue5603foo3(nil, nil, nil))
26 x[4] = int64(C.issue5603foo4(nil, nil, nil, nil))
    [all...]
  /prebuilts/go/linux-x86/misc/cgo/test/
issue5603.go 23 x[1] = int64(C.issue5603foo1(nil))
24 x[2] = int64(C.issue5603foo2(nil, nil))
25 x[3] = int64(C.issue5603foo3(nil, nil, nil))
26 x[4] = int64(C.issue5603foo4(nil, nil, nil, nil))
    [all...]
  /prebuilts/go/darwin-x86/src/net/http/
range_test.go 16 {"", 0, nil},
17 {"", 1000, nil},
18 {"foo", 0, nil},
19 {"bytes=", 0, nil},
20 {"bytes=7", 10, nil},
21 {"bytes= 7 ", 10, nil},
22 {"bytes=1-", 0, nil},
23 {"bytes=5-4", 10, nil},
24 {"bytes=0-2,5-4", 10, nil},
25 {"bytes=2-5,4-3", 10, nil},
    [all...]
  /prebuilts/go/linux-x86/src/net/http/
range_test.go 16 {"", 0, nil},
17 {"", 1000, nil},
18 {"foo", 0, nil},
19 {"bytes=", 0, nil},
20 {"bytes=7", 10, nil},
21 {"bytes= 7 ", 10, nil},
22 {"bytes=1-", 0, nil},
23 {"bytes=5-4", 10, nil},
24 {"bytes=0-2,5-4", 10, nil},
25 {"bytes=2-5,4-3", 10, nil},
    [all...]
  /prebuilts/go/darwin-x86/src/cmd/compile/internal/gc/
builtin.go 162 typs[4] = functype(nil, []*Node{anonfield(typs[1])}, []*Node{anonfield(typs[3])})
163 typs[5] = functype(nil, nil, nil)
165 typs[7] = functype(nil, []*Node{anonfield(typs[6])}, nil)
168 typs[10] = functype(nil, []*Node{anonfield(typs[9])}, []*Node{anonfield(typs[6])})
170 typs[12] = functype(nil, []*Node{anonfield(typs[11])}, nil)
172 typs[14] = functype(nil, []*Node{anonfield(typs[13])}, nil
    [all...]
  /prebuilts/go/linux-x86/src/cmd/compile/internal/gc/
builtin.go 162 typs[4] = functype(nil, []*Node{anonfield(typs[1])}, []*Node{anonfield(typs[3])})
163 typs[5] = functype(nil, nil, nil)
165 typs[7] = functype(nil, []*Node{anonfield(typs[6])}, nil)
168 typs[10] = functype(nil, []*Node{anonfield(typs[9])}, []*Node{anonfield(typs[6])})
170 typs[12] = functype(nil, []*Node{anonfield(typs[11])}, nil)
172 typs[14] = functype(nil, []*Node{anonfield(typs[13])}, nil
    [all...]
  /prebuilts/go/darwin-x86/test/fixedbugs/issue4590.dir/
pkg1.go 18 func (c C) Write() error { return nil }
20 var T = struct{ A }{nil}
21 var U = struct{ B }{nil}
22 var V A = struct{ *C }{nil}
26 }(nil)
  /prebuilts/go/darwin-x86/test/fixedbugs/issue5755.dir/
main.go 15 a.Test5(nil)
16 a.Test6(nil)
17 a.Test7(nil)
18 a.Test8(nil)
22 a.IsBaz(nil)
  /prebuilts/go/linux-x86/test/fixedbugs/issue4590.dir/
pkg1.go 18 func (c C) Write() error { return nil }
20 var T = struct{ A }{nil}
21 var U = struct{ B }{nil}
22 var V A = struct{ *C }{nil}
26 }(nil)
  /prebuilts/go/linux-x86/test/fixedbugs/issue5755.dir/
main.go 15 a.Test5(nil)
16 a.Test6(nil)
17 a.Test7(nil)
18 a.Test8(nil)
22 a.IsBaz(nil)

Completed in 489 milliseconds

12 3 4 5 6 7 8 91011>>