The following Builtin function APIs are considered unstable, but provide the basic definitions for what defines the abilities and behaviors of a Julia program. They are typically accessed through a higher level generic API.
Core.memoryrefnew
—FunctionCore.memoryrefnew(::GenericMemory)Core.memoryrefnew(::GenericMemoryRef, index::Int, [boundscheck::Bool])
Return aGenericMemoryRef
for aGenericMemory
. Seememoryref
.
This function requires Julia 1.11 or later.
Core.memoryrefoffset
—FunctionCore..memoryrefoffset(::GenericMemoryRef)
Return the offset index that was used to construct theMemoryRef
. Seememoryref
.
This function requires Julia 1.11 or later.
Core.memoryrefget
—FunctionCore.memoryrefget(::GenericMemoryRef, ordering::Symbol, boundscheck::Bool)
Return the value stored at theMemoryRef
, throwing aBoundsError
if theMemory
is empty. Seeref[]
. The memory ordering specified must be compatible with theisatomic
parameter.
This function requires Julia 1.11 or later.
Core.memoryrefset!
—FunctionCore.memoryrefset!(::GenericMemoryRef, value, ordering::Symbol, boundscheck::Bool)
Store the value to theMemoryRef
, throwing aBoundsError
if theMemory
is empty. Seeref[] = value
. The memory ordering specified must be compatible with theisatomic
parameter.
This function requires Julia 1.11 or later.
Core.memoryref_isassigned
—FunctionCore.memoryref_isassigned(::GenericMemoryRef, ordering::Symbol, boundscheck::Bool)
Return whether there is a value stored at theMemoryRef
, returning false if theMemory
is empty. Seeisassigned(::Base.RefValue)
,Core.memoryrefget
. The memory ordering specified must be compatible with theisatomic
parameter.
This function requires Julia 1.11 or later.
Core.memoryrefswap!
—FunctionCore.memoryrefswap!(::GenericMemoryRef, value, ordering::Symbol, boundscheck::Bool)
Atomically perform the operations to simultaneously get and set aMemoryRef
value.
This function requires Julia 1.11 or later.
See alsoswapproperty!
andCore.memoryrefset!
.
Core.memoryrefmodify!
—FunctionCore.memoryrefmodify!(::GenericMemoryRef, op, value, ordering::Symbol, boundscheck::Bool) -> Pair
Atomically perform the operations to get and set aMemoryRef
value after applying the functionop
.
This function requires Julia 1.11 or later.
See alsomodifyproperty!
andCore.memoryrefset!
.
Core.memoryrefreplace!
—FunctionCore.memoryrefreplace!(::GenericMemoryRef, expected, desired, success_order::Symbol, fail_order::Symbol=success_order, boundscheck::Bool) -> (; old, success::Bool)
Atomically perform the operations to get and conditionally set aMemoryRef
value.
This function requires Julia 1.11 or later.
See alsoreplaceproperty!
andCore.memoryrefset!
.
Core.memoryrefsetonce!
—FunctionCore.memoryrefsetonce!(::GenericMemoryRef, value, success_order::Symbol, fail_order::Symbol=success_order, boundscheck::Bool) -> success::Bool
Atomically perform the operations to set aMemoryRef
to a given value, only if it was previously not set.
This function requires Julia 1.11 or later.
See alsosetpropertyonce!
andCore.memoryrefset!
.
Core.Intrinsics.atomic_pointerref
—FunctionCore.Intrinsics.atomic_pointerref(pointer::Ptr{T}, order::Symbol) --> T
This function requires Julia 1.7 or later.
Seeunsafe_load
.
Core.Intrinsics.atomic_pointerset
—FunctionCore.Intrinsics.atomic_pointerset(pointer::Ptr{T}, new::T, order::Symbol) --> pointer
This function requires Julia 1.7 or later.
Seeunsafe_store!
.
Core.Intrinsics.atomic_pointerswap
—FunctionCore.Intrinsics.atomic_pointerswap(pointer::Ptr{T}, new::T, order::Symbol) --> old
This function requires Julia 1.7 or later.
Seeunsafe_swap!
.
Core.Intrinsics.atomic_pointermodify
—FunctionCore.Intrinsics.atomic_pointermodify(pointer::Ptr{T}, function::(old::T,arg::S)->T, arg::S, order::Symbol) --> old
This function requires Julia 1.7 or later.
Seeunsafe_modify!
.
Core.Intrinsics.atomic_pointerreplace
—FunctionCore.Intrinsics.atomic_pointerreplace(pointer::Ptr{T}, expected::Any, new::T, success_order::Symbol, failure_order::Symbol) --> (old, cmp)
This function requires Julia 1.7 or later.
Seeunsafe_replace!
.
Core.get_binding_type
—FunctionCore.get_binding_type(module::Module, name::Symbol)
Retrieve the declared type of the bindingname
from the modulemodule
.
This function requires Julia 1.9 or later.
Core.set_binding_type!
—FunctionCore.set_binding_type!(module::Module, name::Symbol, [type::Type])
Set the declared type of the bindingname
in the modulemodule
totype
. Error if the binding already has a type that is not equivalent totype
. If thetype
argument is absent, set the binding type toAny
if unset, but do not error.
This function requires Julia 1.9 or later.
Core.IntrinsicFunction
—TypeCore.IntrinsicFunction <: Core.Builtin <: Function
TheCore.IntrinsicFunction
function define some basic primitives for what defines the abilities and behaviors of a Julia program
Core.Intrinsics
—ModuleCore.Intrinsics
TheCore.Intrinsics
module holds theCore.IntrinsicFunction
objects.
Core.IR
—ModuleCore.IR
TheCore.IR
module exports the IR object model.
Settings
This document was generated withDocumenter.jl version 1.8.0 onWednesday 9 July 2025. Using Julia version 1.11.6.