 Julia 1.11.4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 383 28.15 Accessing Data through a Pointer . . . . . . . . . . . . . . . . . . . . . . . . . . . 384 28.16 Thread-safety . . . . . . . . . julia> s2 = "1" "1" julia> pointer.([s1, s2], 1) 2-element Array{Ptr{UInt8},1}: Ptr{UInt8} @0x00000000132c9638 Ptr{UInt8} @0x0000000013dd3d18 julia> s1 = s2 "1" julia> pointer.([s1, s2], 1) 2-element container that might hold different values over time, and so can only be reliably identified with its address. In contrast, an instance of an immutable type is associated with specific field values –- the field0 码力 | 2007 页 | 6.73 MB | 3 月前3 Julia 1.11.4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 383 28.15 Accessing Data through a Pointer . . . . . . . . . . . . . . . . . . . . . . . . . . . 384 28.16 Thread-safety . . . . . . . . . julia> s2 = "1" "1" julia> pointer.([s1, s2], 1) 2-element Array{Ptr{UInt8},1}: Ptr{UInt8} @0x00000000132c9638 Ptr{UInt8} @0x0000000013dd3d18 julia> s1 = s2 "1" julia> pointer.([s1, s2], 1) 2-element container that might hold different values over time, and so can only be reliably identified with its address. In contrast, an instance of an immutable type is associated with specific field values –- the field0 码力 | 2007 页 | 6.73 MB | 3 月前3
 Julia 1.11.5 Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 384 28.15 Accessing Data through a Pointer . . . . . . . . . . . . . . . . . . . . . . . . . . . 384 28.16 Thread-safety . . . . . . . . . julia> s2 = "1" "1" julia> pointer.([s1, s2], 1) 2-element Array{Ptr{UInt8},1}: Ptr{UInt8} @0x00000000132c9638 Ptr{UInt8} @0x0000000013dd3d18 julia> s1 = s2 "1" julia> pointer.([s1, s2], 1) 2-element container that might hold different values over time, and so can only be reliably identified with its address. In contrast, an instance of an immutable type is associated with specific field values –- the field0 码力 | 2007 页 | 6.73 MB | 3 月前3 Julia 1.11.5 Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 384 28.15 Accessing Data through a Pointer . . . . . . . . . . . . . . . . . . . . . . . . . . . 384 28.16 Thread-safety . . . . . . . . . julia> s2 = "1" "1" julia> pointer.([s1, s2], 1) 2-element Array{Ptr{UInt8},1}: Ptr{UInt8} @0x00000000132c9638 Ptr{UInt8} @0x0000000013dd3d18 julia> s1 = s2 "1" julia> pointer.([s1, s2], 1) 2-element container that might hold different values over time, and so can only be reliably identified with its address. In contrast, an instance of an immutable type is associated with specific field values –- the field0 码力 | 2007 页 | 6.73 MB | 3 月前3
 Julia 1.11.6 Release Notes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 384 28.15 Accessing Data through a Pointer . . . . . . . . . . . . . . . . . . . . . . . . . . . 384 28.16 Thread-safety . . . . . . . . . julia> s2 = "1" "1" julia> pointer.([s1, s2], 1) 2-element Array{Ptr{UInt8},1}: Ptr{UInt8} @0x00000000132c9638 Ptr{UInt8} @0x0000000013dd3d18 julia> s1 = s2 "1" julia> pointer.([s1, s2], 1) 2-element container that might hold different values over time, and so can only be reliably identified with its address. In contrast, an instance of an immutable type is associated with specific field values –- the field0 码力 | 2007 页 | 6.73 MB | 3 月前3 Julia 1.11.6 Release Notes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 384 28.15 Accessing Data through a Pointer . . . . . . . . . . . . . . . . . . . . . . . . . . . 384 28.16 Thread-safety . . . . . . . . . julia> s2 = "1" "1" julia> pointer.([s1, s2], 1) 2-element Array{Ptr{UInt8},1}: Ptr{UInt8} @0x00000000132c9638 Ptr{UInt8} @0x0000000013dd3d18 julia> s1 = s2 "1" julia> pointer.([s1, s2], 1) 2-element container that might hold different values over time, and so can only be reliably identified with its address. In contrast, an instance of an immutable type is associated with specific field values –- the field0 码力 | 2007 页 | 6.73 MB | 3 月前3
 Julia 1.10.9. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 361 27.15 Accessing Data through a Pointer . . . . . . . . . . . . . . . . . . . . . . . . . . . 362 27.16 Thread-safety . . . . . . . . . julia> s2 = "1" "1" julia> pointer.([s1, s2], 1) 2-element Array{Ptr{UInt8},1}: Ptr{UInt8} @0x00000000132c9638 Ptr{UInt8} @0x0000000013dd3d18 julia> s1 = s2 "1" julia> pointer.([s1, s2], 1) 2-element container that might hold different values over time, and so can only be reliably identified with its address. In contrast, an instance of an immutable type is associated with specific field values –- the field0 码力 | 1692 页 | 6.34 MB | 3 月前3 Julia 1.10.9. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 361 27.15 Accessing Data through a Pointer . . . . . . . . . . . . . . . . . . . . . . . . . . . 362 27.16 Thread-safety . . . . . . . . . julia> s2 = "1" "1" julia> pointer.([s1, s2], 1) 2-element Array{Ptr{UInt8},1}: Ptr{UInt8} @0x00000000132c9638 Ptr{UInt8} @0x0000000013dd3d18 julia> s1 = s2 "1" julia> pointer.([s1, s2], 1) 2-element container that might hold different values over time, and so can only be reliably identified with its address. In contrast, an instance of an immutable type is associated with specific field values –- the field0 码力 | 1692 页 | 6.34 MB | 3 月前3
 julia 1.10.10. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 361 27.15 Accessing Data through a Pointer . . . . . . . . . . . . . . . . . . . . . . . . . . . 362 27.16 Thread-safety . . . . . . . . . julia> s2 = "1" "1" julia> pointer.([s1, s2], 1) 2-element Array{Ptr{UInt8},1}: Ptr{UInt8} @0x00000000132c9638 Ptr{UInt8} @0x0000000013dd3d18 julia> s1 = s2 "1" julia> pointer.([s1, s2], 1) 2-element container that might hold different values over time, and so can only be reliably identified with its address. In contrast, an instance of an immutable type is associated with specific field values –- the field0 码力 | 1692 页 | 6.34 MB | 3 月前3 julia 1.10.10. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 361 27.15 Accessing Data through a Pointer . . . . . . . . . . . . . . . . . . . . . . . . . . . 362 27.16 Thread-safety . . . . . . . . . julia> s2 = "1" "1" julia> pointer.([s1, s2], 1) 2-element Array{Ptr{UInt8},1}: Ptr{UInt8} @0x00000000132c9638 Ptr{UInt8} @0x0000000013dd3d18 julia> s1 = s2 "1" julia> pointer.([s1, s2], 1) 2-element container that might hold different values over time, and so can only be reliably identified with its address. In contrast, an instance of an immutable type is associated with specific field values –- the field0 码力 | 1692 页 | 6.34 MB | 3 月前3
 julia 1.13.0 DEV. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 387 28.15 Accessing Data through a Pointer . . . . . . . . . . . . . . . . . . . . . . . . . . . 387 28.16 Thread-safety . . . . . . . . . container that might hold different values over time, and so can only be reliably identified with its address. In contrast, an instance of an immutable type is associated with specific field values — the field are distinct types, even though they have identical representations. And of course, all specific pointer types are subtypes of the umbrella Ptr type: julia> Ptr{Float64} <: Ptr true julia> Ptr{Int64}0 码力 | 2058 页 | 7.45 MB | 3 月前3 julia 1.13.0 DEV. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 387 28.15 Accessing Data through a Pointer . . . . . . . . . . . . . . . . . . . . . . . . . . . 387 28.16 Thread-safety . . . . . . . . . container that might hold different values over time, and so can only be reliably identified with its address. In contrast, an instance of an immutable type is associated with specific field values — the field are distinct types, even though they have identical representations. And of course, all specific pointer types are subtypes of the umbrella Ptr type: julia> Ptr{Float64} <: Ptr true julia> Ptr{Int64}0 码力 | 2058 页 | 7.45 MB | 3 月前3
 Julia 1.12.0 RC1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 388 28.15 Accessing Data through a Pointer . . . . . . . . . . . . . . . . . . . . . . . . . . . 388 28.16 Thread-safety . . . . . . . . . container that might hold different values over time, and so can only be reliably identified with its address. In contrast, an instance of an immutable type is associated with specific field values –- the field are distinct types, even though they have identical representations. And of course, all specific pointer types are subtypes of the umbrella Ptr type: julia> Ptr{Float64} <: Ptr true julia> Ptr{Int64}0 码力 | 2057 页 | 7.44 MB | 3 月前3 Julia 1.12.0 RC1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 388 28.15 Accessing Data through a Pointer . . . . . . . . . . . . . . . . . . . . . . . . . . . 388 28.16 Thread-safety . . . . . . . . . container that might hold different values over time, and so can only be reliably identified with its address. In contrast, an instance of an immutable type is associated with specific field values –- the field are distinct types, even though they have identical representations. And of course, all specific pointer types are subtypes of the umbrella Ptr type: julia> Ptr{Float64} <: Ptr true julia> Ptr{Int64}0 码力 | 2057 页 | 7.44 MB | 3 月前3
 Julia 1.12.0 Beta4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 387 28.15 Accessing Data through a Pointer . . . . . . . . . . . . . . . . . . . . . . . . . . . 387 28.16 Thread-safety . . . . . . . . . container that might hold different values over time, and so can only be reliably identified with its address. In contrast, an instance of an immutable type is associated with specific field values –- the field are distinct types, even though they have identical representations. And of course, all specific pointer types are subtypes of the umbrella Ptr type: julia> Ptr{Float64} <: Ptr true julia> Ptr{Int64}0 码力 | 2057 页 | 7.44 MB | 3 月前3 Julia 1.12.0 Beta4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 387 28.15 Accessing Data through a Pointer . . . . . . . . . . . . . . . . . . . . . . . . . . . 387 28.16 Thread-safety . . . . . . . . . container that might hold different values over time, and so can only be reliably identified with its address. In contrast, an instance of an immutable type is associated with specific field values –- the field are distinct types, even though they have identical representations. And of course, all specific pointer types are subtypes of the umbrella Ptr type: julia> Ptr{Float64} <: Ptr true julia> Ptr{Int64}0 码力 | 2057 页 | 7.44 MB | 3 月前3
 Julia 1.12.0 Beta3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 387 28.15 Accessing Data through a Pointer . . . . . . . . . . . . . . . . . . . . . . . . . . . 387 28.16 Thread-safety . . . . . . . . . container that might hold different values over time, and so can only be reliably identified with its address. In contrast, an instance of an immutable type is associated with specific field values –- the field are distinct types, even though they have identical representations. And of course, all specific pointer types are subtypes of the umbrella Ptr type: julia> Ptr{Float64} <: Ptr true julia> Ptr{Int64}0 码力 | 2057 页 | 7.44 MB | 3 月前3 Julia 1.12.0 Beta3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 387 28.15 Accessing Data through a Pointer . . . . . . . . . . . . . . . . . . . . . . . . . . . 387 28.16 Thread-safety . . . . . . . . . container that might hold different values over time, and so can only be reliably identified with its address. In contrast, an instance of an immutable type is associated with specific field values –- the field are distinct types, even though they have identical representations. And of course, all specific pointer types are subtypes of the umbrella Ptr type: julia> Ptr{Float64} <: Ptr true julia> Ptr{Int64}0 码力 | 2057 页 | 7.44 MB | 3 月前3
 julia 1.12.0 beta1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 387 28.15 Accessing Data through a Pointer . . . . . . . . . . . . . . . . . . . . . . . . . . . 387 28.16 Thread-safety . . . . . . . . . container that might hold different values over time, and so can only be reliably identified with its address. In contrast, an instance of an immutable type is associated with specific field values –- the field are distinct types, even though they have identical representations. And of course, all specific pointer types are subtypes of the umbrella Ptr type: julia> Ptr{Float64} <: Ptr true julia> Ptr{Int64}0 码力 | 2047 页 | 7.41 MB | 3 月前3 julia 1.12.0 beta1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 387 28.15 Accessing Data through a Pointer . . . . . . . . . . . . . . . . . . . . . . . . . . . 387 28.16 Thread-safety . . . . . . . . . container that might hold different values over time, and so can only be reliably identified with its address. In contrast, an instance of an immutable type is associated with specific field values –- the field are distinct types, even though they have identical representations. And of course, all specific pointer types are subtypes of the umbrella Ptr type: julia> Ptr{Float64} <: Ptr true julia> Ptr{Int64}0 码力 | 2047 页 | 7.41 MB | 3 月前3
共 23 条
- 1
- 2
- 3













