Skip to content

STRUCT

Options.CheckedAllocations ​

Contents

  • Properties
    • enabled
    • requiresHardwareAcceleration
  • Methods
    • init(enabled:requiresHardwareAcceleration:)
    • off()
    • onWhenSupported()
    • onWhenSupportedFallBackToGuardMalloc()
swift
public struct CheckedAllocations: Codable, Hashable, Sendable

Hardware Memory Tagging

Properties ​

enabled ​

swift
public var enabled: Bool

requiresHardwareAcceleration ​

swift
public var requiresHardwareAcceleration: Bool

Methods ​

init(enabled:requiresHardwareAcceleration:) ​

swift
public init(enabled: Bool = true, requiresHardwareAcceleration: Bool)

off() ​

swift
public static func off() -> Self

Off

onWhenSupported() ​

swift
public static func onWhenSupported() -> Self

On (when supported)

onWhenSupportedFallBackToGuardMalloc() ​

swift
public static func onWhenSupportedFallBackToGuardMalloc() -> Self

On (when supported), fall back to Guard Malloc otherwise