 Julia 中文文档. . . . . . . . . . . . . . . . 127 13 方法 129 13.1 定义方法 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129 13.2 方法歧义 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132 13.3 参数方法 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133 13.4 重定义方法 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135 13.5 使用参数方法设计样式 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137 从超类型中提取出类型参数 . . . . . . . . . . . . . . . . . . . . . .0 码力 | 1238 页 | 4.59 MB | 1 年前3 Julia 中文文档. . . . . . . . . . . . . . . . 127 13 方法 129 13.1 定义方法 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129 13.2 方法歧义 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132 13.3 参数方法 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133 13.4 重定义方法 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135 13.5 使用参数方法设计样式 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137 从超类型中提取出类型参数 . . . . . . . . . . . . . . . . . . . . . .0 码力 | 1238 页 | 4.59 MB | 1 年前3
 Julia 1.12.0 DEV Documentationcom", "github.com", "julialang.org") @async begin conn = connect(hostname, 80) write(conn, "GET / HTTP/1.1\r\nHost:$(hostname)\r\n\r\n") readline(conn, keep=true) println("Finished connection to $(hostname)") delays=rand(5:10, 2)) retry(f, delays=Base.ExponentialBackOff(n=3, first_delay=5, max_delay=1000)) retry(http_get, check=(s,e)->e.status == "503")(url) retry(read, check=(s,e)->isa(e, IOError))(io, 128; all=false) These pairs are passed as headers when downloading URLs with protocols that supports them, such as HTTP/S. The timeout keyword argument specifies a timeout for the download to complete in seconds, with0 码力 | 2009 页 | 6.72 MB | 1 年前3 Julia 1.12.0 DEV Documentationcom", "github.com", "julialang.org") @async begin conn = connect(hostname, 80) write(conn, "GET / HTTP/1.1\r\nHost:$(hostname)\r\n\r\n") readline(conn, keep=true) println("Finished connection to $(hostname)") delays=rand(5:10, 2)) retry(f, delays=Base.ExponentialBackOff(n=3, first_delay=5, max_delay=1000)) retry(http_get, check=(s,e)->e.status == "503")(url) retry(read, check=(s,e)->isa(e, IOError))(io, 128; all=false) These pairs are passed as headers when downloading URLs with protocols that supports them, such as HTTP/S. The timeout keyword argument specifies a timeout for the download to complete in seconds, with0 码力 | 2009 页 | 6.72 MB | 1 年前3
 julia 1.10.10com", "github.com", "julialang.org") @async begin conn = connect(hostname, 80) write(conn, "GET / HTTP/1.1\r\nHost:$(hostname)\r\n\r\n") readline(conn, keep=true) println("Finished connection to $(hostname)") delays=rand(5:10, 2)) retry(f, delays=Base.ExponentialBackOff(n=3, first_delay=5, max_delay=1000)) retry(http_get, check=(s,e)->e.status == "503")(url) retry(read, check=(s,e)->isa(e, IOError))(io, 128; all=false) These pairs are passed as headers when downloading URLs with protocols that supports them, such as HTTP/S. The timeout keyword argument specifies a timeout for the download to complete in seconds, with0 码力 | 1692 页 | 6.34 MB | 3 月前3 julia 1.10.10com", "github.com", "julialang.org") @async begin conn = connect(hostname, 80) write(conn, "GET / HTTP/1.1\r\nHost:$(hostname)\r\n\r\n") readline(conn, keep=true) println("Finished connection to $(hostname)") delays=rand(5:10, 2)) retry(f, delays=Base.ExponentialBackOff(n=3, first_delay=5, max_delay=1000)) retry(http_get, check=(s,e)->e.status == "503")(url) retry(read, check=(s,e)->isa(e, IOError))(io, 128; all=false) These pairs are passed as headers when downloading URLs with protocols that supports them, such as HTTP/S. The timeout keyword argument specifies a timeout for the download to complete in seconds, with0 码力 | 1692 页 | 6.34 MB | 3 月前3
 Julia 1.10.9com", "github.com", "julialang.org") @async begin conn = connect(hostname, 80) write(conn, "GET / HTTP/1.1\r\nHost:$(hostname)\r\n\r\n") readline(conn, keep=true) println("Finished connection to $(hostname)") delays=rand(5:10, 2)) retry(f, delays=Base.ExponentialBackOff(n=3, first_delay=5, max_delay=1000)) retry(http_get, check=(s,e)->e.status == "503")(url) retry(read, check=(s,e)->isa(e, IOError))(io, 128; all=false) These pairs are passed as headers when downloading URLs with protocols that supports them, such as HTTP/S. The timeout keyword argument specifies a timeout for the download to complete in seconds, with0 码力 | 1692 页 | 6.34 MB | 3 月前3 Julia 1.10.9com", "github.com", "julialang.org") @async begin conn = connect(hostname, 80) write(conn, "GET / HTTP/1.1\r\nHost:$(hostname)\r\n\r\n") readline(conn, keep=true) println("Finished connection to $(hostname)") delays=rand(5:10, 2)) retry(f, delays=Base.ExponentialBackOff(n=3, first_delay=5, max_delay=1000)) retry(http_get, check=(s,e)->e.status == "503")(url) retry(read, check=(s,e)->isa(e, IOError))(io, 128; all=false) These pairs are passed as headers when downloading URLs with protocols that supports them, such as HTTP/S. The timeout keyword argument specifies a timeout for the download to complete in seconds, with0 码力 | 1692 页 | 6.34 MB | 3 月前3
 Julia 1.8.0 DEV Documentationcom", "github.com", "julialang.org") @async begin conn = connect(hostname, 80) write(conn, "GET / HTTP/1.1\r\nHost:$(hostname)\r\n\r\n") readline(conn, keep=true) println("Finished connection to $(hostname)") delays=rand(5:10, 2)) retry(f, delays=Base.ExponentialBackOff(n=3, first_delay=5, max_delay=1000)) retry(http_get, check=(s,e)->e.status == "503")(url) retry(read, check=(s,e)->isa(e, IOError))(io, 128; all=false) These pairs are passed as headers when downloading URLs with protocols that supports them, such as HTTP/S. The timeout keyword argument specifies a timeout for the download in seconds, with a resolution0 码力 | 1463 页 | 5.01 MB | 1 年前3 Julia 1.8.0 DEV Documentationcom", "github.com", "julialang.org") @async begin conn = connect(hostname, 80) write(conn, "GET / HTTP/1.1\r\nHost:$(hostname)\r\n\r\n") readline(conn, keep=true) println("Finished connection to $(hostname)") delays=rand(5:10, 2)) retry(f, delays=Base.ExponentialBackOff(n=3, first_delay=5, max_delay=1000)) retry(http_get, check=(s,e)->e.status == "503")(url) retry(read, check=(s,e)->isa(e, IOError))(io, 128; all=false) These pairs are passed as headers when downloading URLs with protocols that supports them, such as HTTP/S. The timeout keyword argument specifies a timeout for the download in seconds, with a resolution0 码力 | 1463 页 | 5.01 MB | 1 年前3
 Julia 1.11.4com", "github.com", "julialang.org") @async begin conn = connect(hostname, 80) write(conn, "GET / HTTP/1.1\r\nHost:$(hostname)\r\n\r\n") readline(conn, keep=true) println("Finished connection to $(hostname)") Main binary filename not available. Serving web UI on http://localhost:62261 "alloc-profile.pb.gz" Then you can view the profile by navigating to http://localhost:62261, and the profile is saved to disk delays=rand(5:10, 2)) retry(f, delays=Base.ExponentialBackOff(n=3, first_delay=5, max_delay=1000)) retry(http_get, check=(s,e)->e.status == "503")(url) retry(read, check=(s,e)->isa(e, IOError))(io, 128; all=false)0 码力 | 2007 页 | 6.73 MB | 3 月前3 Julia 1.11.4com", "github.com", "julialang.org") @async begin conn = connect(hostname, 80) write(conn, "GET / HTTP/1.1\r\nHost:$(hostname)\r\n\r\n") readline(conn, keep=true) println("Finished connection to $(hostname)") Main binary filename not available. Serving web UI on http://localhost:62261 "alloc-profile.pb.gz" Then you can view the profile by navigating to http://localhost:62261, and the profile is saved to disk delays=rand(5:10, 2)) retry(f, delays=Base.ExponentialBackOff(n=3, first_delay=5, max_delay=1000)) retry(http_get, check=(s,e)->e.status == "503")(url) retry(read, check=(s,e)->isa(e, IOError))(io, 128; all=false)0 码力 | 2007 页 | 6.73 MB | 3 月前3
 Julia 1.11.5 Documentationcom", "github.com", "julialang.org") @async begin conn = connect(hostname, 80) write(conn, "GET / HTTP/1.1\r\nHost:$(hostname)\r\n\r\n") readline(conn, keep=true) println("Finished connection to $(hostname)") Main binary filename not available. Serving web UI on http://localhost:62261 "alloc-profile.pb.gz" Then you can view the profile by navigating to http://localhost:62261, and the profile is saved to disk delays=rand(5:10, 2)) retry(f, delays=Base.ExponentialBackOff(n=3, first_delay=5, max_delay=1000)) retry(http_get, check=(s,e)->e.status == "503")(url) retry(read, check=(s,e)->isa(e, IOError))(io, 128; all=false)0 码力 | 2007 页 | 6.73 MB | 3 月前3 Julia 1.11.5 Documentationcom", "github.com", "julialang.org") @async begin conn = connect(hostname, 80) write(conn, "GET / HTTP/1.1\r\nHost:$(hostname)\r\n\r\n") readline(conn, keep=true) println("Finished connection to $(hostname)") Main binary filename not available. Serving web UI on http://localhost:62261 "alloc-profile.pb.gz" Then you can view the profile by navigating to http://localhost:62261, and the profile is saved to disk delays=rand(5:10, 2)) retry(f, delays=Base.ExponentialBackOff(n=3, first_delay=5, max_delay=1000)) retry(http_get, check=(s,e)->e.status == "503")(url) retry(read, check=(s,e)->isa(e, IOError))(io, 128; all=false)0 码力 | 2007 页 | 6.73 MB | 3 月前3
 Julia v1.9.4 Documentation@async begin conn = connect(hostname, 80) CHAPTER 21. NETWORKING AND STREAMS 288 write(conn, "GET / HTTP/1.1\r\nHost:$(hostname)\r\n\r\n") readline(conn, keep=true) println("Finished connection to $(hostname)") delays=rand(5:10, 2)) retry(f, delays=Base.ExponentialBackOff(n=3, first_delay=5, max_delay=1000)) retry(http_get, check=(s,e)->e.status == "503")(url) retry(read, check=(s,e)->isa(e, IOError))(io, 128; all=false) These pairs are passed as headers when downloading URLs with protocols that supports them, such as HTTP/S. The timeout keyword argument specifies a timeout for the download in seconds, with a resolution0 码力 | 1644 页 | 5.27 MB | 1 年前3 Julia v1.9.4 Documentation@async begin conn = connect(hostname, 80) CHAPTER 21. NETWORKING AND STREAMS 288 write(conn, "GET / HTTP/1.1\r\nHost:$(hostname)\r\n\r\n") readline(conn, keep=true) println("Finished connection to $(hostname)") delays=rand(5:10, 2)) retry(f, delays=Base.ExponentialBackOff(n=3, first_delay=5, max_delay=1000)) retry(http_get, check=(s,e)->e.status == "503")(url) retry(read, check=(s,e)->isa(e, IOError))(io, 128; all=false) These pairs are passed as headers when downloading URLs with protocols that supports them, such as HTTP/S. The timeout keyword argument specifies a timeout for the download in seconds, with a resolution0 码力 | 1644 页 | 5.27 MB | 1 年前3
 Julia 1.9.0 DEV Documentation@async begin conn = connect(hostname, 80) CHAPTER 21. NETWORKING AND STREAMS 288 write(conn, "GET / HTTP/1.1\r\nHost:$(hostname)\r\n\r\n") readline(conn, keep=true) println("Finished connection to $(hostname)") delays=rand(5:10, 2)) retry(f, delays=Base.ExponentialBackOff(n=3, first_delay=5, max_delay=1000)) retry(http_get, check=(s,e)->e.status == "503")(url) retry(read, check=(s,e)->isa(e, IOError))(io, 128; all=false) These pairs are passed as headers when downloading URLs with protocols that supports them, such as HTTP/S. The timeout keyword argument specifies a timeout for the download in seconds, with a resolution0 码力 | 1633 页 | 5.23 MB | 1 年前3 Julia 1.9.0 DEV Documentation@async begin conn = connect(hostname, 80) CHAPTER 21. NETWORKING AND STREAMS 288 write(conn, "GET / HTTP/1.1\r\nHost:$(hostname)\r\n\r\n") readline(conn, keep=true) println("Finished connection to $(hostname)") delays=rand(5:10, 2)) retry(f, delays=Base.ExponentialBackOff(n=3, first_delay=5, max_delay=1000)) retry(http_get, check=(s,e)->e.status == "503")(url) retry(read, check=(s,e)->isa(e, IOError))(io, 128; all=false) These pairs are passed as headers when downloading URLs with protocols that supports them, such as HTTP/S. The timeout keyword argument specifies a timeout for the download in seconds, with a resolution0 码力 | 1633 页 | 5.23 MB | 1 年前3
 Julia 1.9.3 Documentation@async begin conn = connect(hostname, 80) CHAPTER 21. NETWORKING AND STREAMS 288 write(conn, "GET / HTTP/1.1\r\nHost:$(hostname)\r\n\r\n") readline(conn, keep=true) println("Finished connection to $(hostname)") delays=rand(5:10, 2)) retry(f, delays=Base.ExponentialBackOff(n=3, first_delay=5, max_delay=1000)) retry(http_get, check=(s,e)->e.status == "503")(url) retry(read, check=(s,e)->isa(e, IOError))(io, 128; all=false) These pairs are passed as headers when downloading URLs with protocols that supports them, such as HTTP/S. The timeout keyword argument specifies a timeout for the download in seconds, with a resolution0 码力 | 1644 页 | 5.27 MB | 1 年前3 Julia 1.9.3 Documentation@async begin conn = connect(hostname, 80) CHAPTER 21. NETWORKING AND STREAMS 288 write(conn, "GET / HTTP/1.1\r\nHost:$(hostname)\r\n\r\n") readline(conn, keep=true) println("Finished connection to $(hostname)") delays=rand(5:10, 2)) retry(f, delays=Base.ExponentialBackOff(n=3, first_delay=5, max_delay=1000)) retry(http_get, check=(s,e)->e.status == "503")(url) retry(read, check=(s,e)->isa(e, IOError))(io, 128; all=false) These pairs are passed as headers when downloading URLs with protocols that supports them, such as HTTP/S. The timeout keyword argument specifies a timeout for the download in seconds, with a resolution0 码力 | 1644 页 | 5.27 MB | 1 年前3
共 87 条
- 1
- 2
- 3
- 4
- 5
- 6
- 9













