Tornado 6.5 Documentationwhich by design use hundreds of milliseconds of CPU time, far more than a typical network or disk access). A function can be blocking in some respects and non-blocking in others. In the context of Tornado support integration with other packages including Twisted via a registry of conversion functions. To access this functionality in native coroutines, use tornado.gen.convert_yielded. – always return a Future of RequestHandler for all your specific handlers. Handling request input The request handler can access the object representing the current request with self.request. See the class definition for HTTPServerRequest0 码力 | 272 页 | 1.12 MB | 3 月前3
Tornado 6.5 Documentationwhich by design use hundreds of milliseconds of CPU time, far more than a typical network or disk access). A function can be blocking in some respects and non-blocking in others. In the context of Tornado support integration with other packages including Twisted via a registry of conversion functions. To access this functionality in native coroutines, use tornado.gen.convert_yielded. always return a Future of RequestHandler for all your specific handlers. Handling request input The request handler can access the object representing the current request with self.request. See the class definition for HTTPServerRequest0 码力 | 437 页 | 405.14 KB | 3 月前3
Julia 1.11.4The dangers of abusing multiple dispatch (aka, more on types with values-as-parameters)459 35.13 Access arrays in memory order, along columns . . . . . . . . . . . . . . . . . . . . 460CONTENTS vii 35 . . . . . . . . . . . . . . . . . . . . . . 484 37.8 Prefer exported methods over direct field access . . . . . . . . . . . . . . . . . . . 484 37.9 Use naming conventions consistent with Julia base/ julia> str[begin-1] ERROR: BoundsError: attempt to access 14-codeunit String at index [0] [...] julia> str[end+1] ERROR: BoundsError: attempt to access 14-codeunit String at index [15] [...] You can0 码力 | 2007 页 | 6.73 MB | 3 月前3
Julia 1.11.5 DocumentationThe dangers of abusing multiple dispatch (aka, more on types with values-as-parameters)459 35.13 Access arrays in memory order, along columns . . . . . . . . . . . . . . . . . . . . 460CONTENTS vii 35 . . . . . . . . . . . . . . . . . . . . . . 484 37.8 Prefer exported methods over direct field access . . . . . . . . . . . . . . . . . . . 484 37.9 Use naming conventions consistent with Julia base/ julia> str[begin-1] ERROR: BoundsError: attempt to access 14-codeunit String at index [0] [...] julia> str[end+1] ERROR: BoundsError: attempt to access 14-codeunit String at index [15] [...] You can0 码力 | 2007 页 | 6.73 MB | 3 月前3
Julia 1.11.6 Release NotesThe dangers of abusing multiple dispatch (aka, more on types with values-as-parameters)459 35.13 Access arrays in memory order, along columns . . . . . . . . . . . . . . . . . . . . 460CONTENTS vii 35 . . . . . . . . . . . . . . . . . . . . . . 484 37.8 Prefer exported methods over direct field access . . . . . . . . . . . . . . . . . . . 484 37.9 Use naming conventions consistent with Julia base/ julia> str[begin-1] ERROR: BoundsError: attempt to access 14-codeunit String at index [0] [...] julia> str[end+1] ERROR: BoundsError: attempt to access 14-codeunit String at index [15] [...] You can0 码力 | 2007 页 | 6.73 MB | 3 月前3
julia 1.13.0 DEV. . . . . . . . . . . . . . . . . . . . . . 495 37.9 Prefer exported methods over direct field access . . . . . . . . . . . . . . . . . . . 495 37.10 Use naming conventions consistent with Julia base/ julia> str[begin-1] ERROR: BoundsError: attempt to access 14-codeunit String at index [0] [...] julia> str[end+1] ERROR: BoundsError: attempt to access 14-codeunit String at index [15] [...] You can character indices: julia> collect(eachindex(s)) 7-element Vector{Int64}: 1 4 5 6 7 10 11 To access the raw code units (bytes for UTF-8) of the encoding, you can use the codeunit(s,i) function, where0 码力 | 2058 页 | 7.45 MB | 3 月前3
Julia 1.12.0 RC1. . . . . . . . . . . . . . . . . . . . . . 496 37.8 Prefer exported methods over direct field access . . . . . . . . . . . . . . . . . . . 496 37.9 Use naming conventions consistent with Julia base/ julia> str[begin-1] ERROR: BoundsError: attempt to access 14-codeunit String at index [0] [...] julia> str[end+1] ERROR: BoundsError: attempt to access 14-codeunit String at index [15] [...] You can character indices: julia> collect(eachindex(s)) 7-element Vector{Int64}: 1 4 5 6 7 10 11 To access the raw code units (bytes for UTF-8) of the encoding, you can use the codeunit(s,i) function, where0 码力 | 2057 页 | 7.44 MB | 3 月前3
Julia 1.12.0 Beta4. . . . . . . . . . . . . . . . . . . . . . 495 37.8 Prefer exported methods over direct field access . . . . . . . . . . . . . . . . . . . 495 37.9 Use naming conventions consistent with Julia base/ julia> str[begin-1] ERROR: BoundsError: attempt to access 14-codeunit String at index [0] [...] julia> str[end+1] ERROR: BoundsError: attempt to access 14-codeunit String at index [15] [...] You can character indices: julia> collect(eachindex(s)) 7-element Vector{Int64}: 1 4 5 6 7 10 11 To access the raw code units (bytes for UTF-8) of the encoding, you can use the codeunit(s,i) function, where0 码力 | 2057 页 | 7.44 MB | 3 月前3
Julia 1.12.0 Beta3. . . . . . . . . . . . . . . . . . . . . . 495 37.8 Prefer exported methods over direct field access . . . . . . . . . . . . . . . . . . . 495 37.9 Use naming conventions consistent with Julia base/ julia> str[begin-1] ERROR: BoundsError: attempt to access 14-codeunit String at index [0] [...] julia> str[end+1] ERROR: BoundsError: attempt to access 14-codeunit String at index [15] [...] You can character indices: julia> collect(eachindex(s)) 7-element Vector{Int64}: 1 4 5 6 7 10 11 To access the raw code units (bytes for UTF-8) of the encoding, you can use the codeunit(s,i) function, where0 码力 | 2057 页 | 7.44 MB | 3 月前3
julia 1.12.0 beta1. . . . . . . . . . . . . . . . . . . . . . 495 37.8 Prefer exported methods over direct field access . . . . . . . . . . . . . . . . . . . 495 37.9 Use naming conventions consistent with Julia base/ julia> str[begin-1] ERROR: BoundsError: attempt to access 14-codeunit String at index [0] [...] julia> str[end+1] ERROR: BoundsError: attempt to access 14-codeunit String at index [15] [...] You can character indices: julia> collect(eachindex(s)) 7-element Vector{Int64}: 1 4 5 6 7 10 11 To access the raw code units (bytes for UTF-8) of the encoding, you can use the codeunit(s,i) function, where0 码力 | 2047 页 | 7.41 MB | 3 月前3
共 24 条
- 1
- 2
- 3













