Tornado 6.5 Documentationdictionary, or a list of modules and/or dicts. See UI modules for more details. • websocket_ping_interval: If set to a number, all websockets will be pinged every n seconds. This can help keep the connection websocket_ping_timeout: If the ping interval is set, and the server doesn’t receive a ‘pong’ in this many seconds, it will close the websocket. The default is three times the ping interval, with a minimum of 30 seconds seconds. Ignored if the ping interval is not set. Authentication and security settings: 54 Chapter 6. DocumentationTornado Documentation, Release 6.5.1 • cookie_secret: Used by RequestHandler.get_signed_cookie0 码力 | 272 页 | 1.12 MB | 3 月前3
Tornado 6.5 Documentationdictionary, or a list of modules and/or dicts. See UI modules for more details. websocket_ping_interval: If set to a number, all websockets will be pinged every n seconds. This can help keep the connection websocket_ping_timeout: If the ping interval is set, and the server doesn’t receive a ‘pong’ in this many seconds, it will close the websocket. The default is three times the ping interval, with a minimum of 30 seconds seconds. Ignored if the ping interval is not set. Authentication and security settings: cookie_secret: Used by RequestHandler.get_signed_cookie and set_signed_cookie to sign cookies. key_version: Used0 码力 | 437 页 | 405.14 KB | 3 月前3
Julia 1.12.0 RC1type T, then the three argument method should throw an InexactError. For example, if we have an Interval type which represents a range of possible values similar to https://github.com/Ju- liaPhysics/Measurements following julia> struct Interval{T} min::T max::T end julia> Base.round(x::Interval, r::RoundingMode) = Interval(round(x.min, r), round(x.max, r)) julia> x = Interval(1.7, 2.2) Interval{Float64}(1.7, 2.2) 2) julia> round(x) Interval{Float64}(2.0, 2.0) julia> floor(x) Interval{Float64}(1.0, 2.0) julia> ceil(x) Interval{Float64}(2.0, 3.0) julia> trunc(x) Interval{Float64}(1.0, 2.0)CHAPTER 16. INTERFACES0 码力 | 2057 页 | 7.44 MB | 3 月前3
Julia 1.12.0 Beta4type T, then the three argument method should throw an InexactError. For example, if we have an Interval type which represents a range of possible values similar to https://github.com/Ju- liaPhysics/Measurements following julia> struct Interval{T} min::T max::T end julia> Base.round(x::Interval, r::RoundingMode) = Interval(round(x.min, r), round(x.max, r)) julia> x = Interval(1.7, 2.2) Interval{Float64}(1.7, 2.2) 2) julia> round(x) Interval{Float64}(2.0, 2.0) julia> floor(x) Interval{Float64}(1.0, 2.0) julia> ceil(x) Interval{Float64}(2.0, 3.0) julia> trunc(x) Interval{Float64}(1.0, 2.0)CHAPTER 16. INTERFACES0 码力 | 2057 页 | 7.44 MB | 3 月前3
Julia 1.12.0 Beta3type T, then the three argument method should throw an InexactError. For example, if we have an Interval type which represents a range of possible values similar to https://github.com/Ju- liaPhysics/Measurements following julia> struct Interval{T} min::T max::T end julia> Base.round(x::Interval, r::RoundingMode) = Interval(round(x.min, r), round(x.max, r)) julia> x = Interval(1.7, 2.2) Interval{Float64}(1.7, 2.2) 2) julia> round(x) Interval{Float64}(2.0, 2.0) julia> floor(x) Interval{Float64}(1.0, 2.0) julia> ceil(x) Interval{Float64}(2.0, 3.0) julia> trunc(x) Interval{Float64}(1.0, 2.0)CHAPTER 16. INTERFACES0 码力 | 2057 页 | 7.44 MB | 3 月前3
julia 1.12.0 beta1type T, then the three argument method should throw an InexactError. For example, if we have an Interval type which represents a range of possible values similar to https://github.com/Ju- liaPhysics/Measurements following julia> struct Interval{T} min::T max::T end julia> Base.round(x::Interval, r::RoundingMode) = Interval(round(x.min, r), round(x.max, r)) julia> x = Interval(1.7, 2.2) Interval{Float64}(1.7, 2.2) 2) julia> round(x) Interval{Float64}(2.0, 2.0) julia> floor(x) Interval{Float64}(1.0, 2.0) julia> ceil(x) Interval{Float64}(2.0, 3.0) julia> trunc(x) Interval{Float64}(1.0, 2.0)CHAPTER 16. INTERFACES0 码力 | 2047 页 | 7.41 MB | 3 月前3
julia 1.13.0 DEVtype T, then the three argument method should throw an InexactError. For example, if we have an Interval type which represents a range of possible values similar to https://github.com/Ju- liaPhysics/Measurements following julia> struct Interval{T} min::T max::T end julia> Base.round(x::Interval, r::RoundingMode) = Interval(round(x.min, r), round(x.max, r)) julia> x = Interval(1.7, 2.2) Interval{Float64}(1.7, 2.2) 2) julia> round(x) Interval{Float64}(2.0, 2.0) julia> floor(x) Interval{Float64}(1.0, 2.0) julia> ceil(x) Interval{Float64}(2.0, 3.0) julia> trunc(x) Interval{Float64}(1.0, 2.0)CHAPTER 16. INTERFACES0 码力 | 2058 页 | 7.45 MB | 3 月前3
Julia 1.11.4type T, then the three argument method should throw an InexactError. For example, if we have an Interval type which represents a range of possible values similar to https://github.com/Ju- liaPhysics/Measurements following julia> struct Interval{T} min::T max::T end julia> Base.round(x::Interval, r::RoundingMode) = Interval(round(x.min, r), round(x.max, r)) julia> x = Interval(1.7, 2.2) Interval{Float64}(1.7, 2.2) 2) julia> round(x) Interval{Float64}(2.0, 2.0) julia> floor(x) Interval{Float64}(1.0, 2.0) julia> ceil(x) Interval{Float64}(2.0, 3.0) julia> trunc(x) Interval{Float64}(1.0, 2.0)CHAPTER 16. INTERFACES0 码力 | 2007 页 | 6.73 MB | 3 月前3
Julia 1.11.5 Documentationtype T, then the three argument method should throw an InexactError. For example, if we have an Interval type which represents a range of possible values similar to https://github.com/Ju- liaPhysics/Measurements following julia> struct Interval{T} min::T max::T end julia> Base.round(x::Interval, r::RoundingMode) = Interval(round(x.min, r), round(x.max, r)) julia> x = Interval(1.7, 2.2) Interval{Float64}(1.7, 2.2) 2) julia> round(x) Interval{Float64}(2.0, 2.0) julia> floor(x) Interval{Float64}(1.0, 2.0) julia> ceil(x) Interval{Float64}(2.0, 3.0) julia> trunc(x) Interval{Float64}(1.0, 2.0)CHAPTER 16. INTERFACES0 码力 | 2007 页 | 6.73 MB | 3 月前3
Julia 1.11.6 Release Notestype T, then the three argument method should throw an InexactError. For example, if we have an Interval type which represents a range of possible values similar to https://github.com/Ju- liaPhysics/Measurements following julia> struct Interval{T} min::T max::T end julia> Base.round(x::Interval, r::RoundingMode) = Interval(round(x.min, r), round(x.max, r)) julia> x = Interval(1.7, 2.2) Interval{Float64}(1.7, 2.2) 2) julia> round(x) Interval{Float64}(2.0, 2.0) julia> floor(x) Interval{Float64}(1.0, 2.0) julia> ceil(x) Interval{Float64}(2.0, 3.0) julia> trunc(x) Interval{Float64}(1.0, 2.0)CHAPTER 16. INTERFACES0 码力 | 2007 页 | 6.73 MB | 3 月前3
共 16 条
- 1
- 2













