Julia 中文文档原始字符串字面量 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66 9 函数 67 9.1 参数传递行为 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 9.2 return 多返回值 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72 9.9 参数解构 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72 9.10 . . . . . . . . . . . . . . . . . 73 9.11 可选参数 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75 9.12 关键字参数 . . . . . . . . . . . . . . . . . . . . . . .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.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.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.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 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
共 87 条
- 1
- 2
- 3
- 4
- 5
- 6
- 9













