Movatterモバイル変換


[0]ホーム

URL:


GitHub

Core.Builtins

Builtin Function APIs

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.memoryrefnewFunction
Core.memoryrefnew(::GenericMemory)Core.memoryrefnew(::GenericMemoryRef, index::Int, [boundscheck::Bool])

Return aGenericMemoryRef for aGenericMemory. Seememoryref.

Julia 1.11

This function requires Julia 1.11 or later.

source
Core.memoryrefoffsetFunction
Core..memoryrefoffset(::GenericMemoryRef)

Return the offset index that was used to construct theMemoryRef. Seememoryref.

Julia 1.11

This function requires Julia 1.11 or later.

source
Core.memoryrefgetFunction
Core.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.

Julia 1.11

This function requires Julia 1.11 or later.

source
Core.memoryrefset!Function
Core.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.

Julia 1.11

This function requires Julia 1.11 or later.

source
Core.memoryref_isassignedFunction
Core.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.

Julia 1.11

This function requires Julia 1.11 or later.

source
Core.memoryrefswap!Function
Core.memoryrefswap!(::GenericMemoryRef, value, ordering::Symbol, boundscheck::Bool)

Atomically perform the operations to simultaneously get and set aMemoryRef value.

Julia 1.11

This function requires Julia 1.11 or later.

See alsoswapproperty! andCore.memoryrefset!.

source
Core.memoryrefmodify!Function
Core.memoryrefmodify!(::GenericMemoryRef, op, value, ordering::Symbol, boundscheck::Bool) -> Pair

Atomically perform the operations to get and set aMemoryRef value after applying the functionop.

Julia 1.11

This function requires Julia 1.11 or later.

See alsomodifyproperty! andCore.memoryrefset!.

source
Core.memoryrefreplace!Function
Core.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.

Julia 1.11

This function requires Julia 1.11 or later.

See alsoreplaceproperty! andCore.memoryrefset!.

source
Core.memoryrefsetonce!Function
Core.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.

Julia 1.11

This function requires Julia 1.11 or later.

See alsosetpropertyonce! andCore.memoryrefset!.

source
Core.Intrinsics.atomic_pointerrefFunction
Core.Intrinsics.atomic_pointerref(pointer::Ptr{T}, order::Symbol) --> T
Julia 1.7

This function requires Julia 1.7 or later.

Seeunsafe_load.

source
Core.Intrinsics.atomic_pointersetFunction
Core.Intrinsics.atomic_pointerset(pointer::Ptr{T}, new::T, order::Symbol) --> pointer
Julia 1.7

This function requires Julia 1.7 or later.

Seeunsafe_store!.

source
Core.Intrinsics.atomic_pointerswapFunction
Core.Intrinsics.atomic_pointerswap(pointer::Ptr{T}, new::T, order::Symbol) --> old
Julia 1.7

This function requires Julia 1.7 or later.

Seeunsafe_swap!.

source
Core.Intrinsics.atomic_pointermodifyFunction
Core.Intrinsics.atomic_pointermodify(pointer::Ptr{T}, function::(old::T,arg::S)->T, arg::S, order::Symbol) --> old
Julia 1.7

This function requires Julia 1.7 or later.

Seeunsafe_modify!.

source
Core.Intrinsics.atomic_pointerreplaceFunction
Core.Intrinsics.atomic_pointerreplace(pointer::Ptr{T}, expected::Any, new::T, success_order::Symbol, failure_order::Symbol) --> (old, cmp)
Julia 1.7

This function requires Julia 1.7 or later.

Seeunsafe_replace!.

source
Core.get_binding_typeFunction
Core.get_binding_type(module::Module, name::Symbol)

Retrieve the declared type of the bindingname from the modulemodule.

Julia 1.9

This function requires Julia 1.9 or later.

source
Core.set_binding_type!Function
Core.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.

Julia 1.9

This function requires Julia 1.9 or later.

source
Core.IntrinsicFunctionType
Core.IntrinsicFunction <: Core.Builtin <: Function

TheCore.IntrinsicFunction function define some basic primitives for what defines the abilities and behaviors of a Julia program

source
Core.IntrinsicsModule
Core.Intrinsics

TheCore.Intrinsics module holds theCore.IntrinsicFunction objects.

source
Core.IRModule
Core.IR

TheCore.IR module exports the IR object model.

source

Settings


This document was generated withDocumenter.jl version 1.8.0 onWednesday 9 July 2025. Using Julia version 1.11.6.


[8]ページ先頭

©2009-2025 Movatter.jp