-
Notifications
You must be signed in to change notification settings - Fork 69
Int2X
bigearsenal edited this page May 17, 2022
·
1 revision
public struct Int2X<Word:UInt1X>: Hashable, Codable
BinaryInteger
, Codable
, Comparable
, CustomDebugStringConvertible
, CustomStringConvertible
, ExpressibleByIntegerLiteral
, ExpressibleByStringLiteral
, FixedWidthInteger
, Hashable
, Numeric
, Strideable
public typealias IntegerLiteralType = UInt64
public typealias Magnitude = UInt2X<Word>
public typealias Words = [Word.Words.Element]
public typealias Stride = Int
public init(rawValue:Magnitude)
public init(_ source:Int2X)
public init()
public init?<T>(exactly source: T) where T : BinaryInteger
public init<T>(_ source: T) where T : BinaryInteger
public init?<T>(exactly source: T) where T : BinaryFloatingPoint
public init<T>(_ source: T) where T : BinaryFloatingPoint
public init<T:BinaryInteger>(truncatingIfNeeded source: T)
public init<T:BinaryInteger>(clamping source: T)
public init(integerLiteral value: IntegerLiteralType)
public init(stringLiteral value: StringLiteralType)
public init(_truncatingBits bits: UInt)
public var rawValue:Magnitude = 0
public static var isSigned: Bool
public static var bitWidth: Int
public static var max:Int2X
public static var min:Int2X
public var magnitude:Magnitude
public var description:String
public var debugDescription:String
public var bitWidth: Int
public var words: Words
public var trailingZeroBitCount: Int
public var nonzeroBitCount: Int
public var leadingZeroBitCount: Int
public var byteSwapped: Int2X
public func addingReportingOverflow(_ other: Int2X) -> (partialValue: Int2X, overflow: Bool)
public func subtractingReportingOverflow(_ other: Int2X) -> (partialValue: Int2X, overflow: Bool)
public func multipliedFullWidth(by other: Int2X) -> (high: Int2X, low: Magnitude)
public func multipliedReportingOverflow(by other: Int2X) -> (partialValue: Int2X, overflow: Bool)
public func quotientAndRemainder(dividingBy other: Int2X) -> (quotient: Int2X, remainder: Int2X)
public func dividedReportingOverflow(by other :Int2X) -> (partialValue: Int2X, overflow:Bool)
public func remainderReportingOverflow(dividingBy other :Int2X) -> (partialValue: Int2X, overflow:Bool)
public func dividingFullWidth(_ dividend: (high: Int2X, low: Magnitude)) -> (quotient: Int2X, remainder: Int2X)
public func toString(radix:Int=10, uppercase:Bool=false) -> String
public func distance(to other: Int2X) -> Int
public func advanced(by n: Int) -> Int2X
public static func == (_ lhs: Int2X, _ rhs: Int2X)->Bool
public static func < (lhs: Int2X, rhs: Int2X) -> Bool
public static prefix func ~(_ value:Int2X)->Int2X
public static prefix func +(_ value:Int2X)->Int2X
public static prefix func -(_ value:Int2X)->Int2X
public static func &+(_ lhs:Int2X, _ rhs:Int2X)->Int2X
public static func +(_ lhs:Int2X, _ rhs:Int2X)->Int2X
public static func += (lhs: inout Int2X, rhs: Int2X)
public static func &-(_ lhs:Int2X, _ rhs:Int2X)->Int2X
public static func -(_ lhs:Int2X, _ rhs:Int2X)->Int2X
public static func -= (lhs: inout Int2X, rhs: Int2X)
public static func &*(lhs: Int2X, rhs: Int2X) -> Int2X
public static func *(lhs: Int2X, rhs: Int2X) -> Int2X
public static func *= (lhs: inout Int2X, rhs: Int2X)
public static func &>>(_ lhs:Int2X, _ rhs:Int2X)->Int2X
public static func &<<(_ lhs:Int2X, _ rhs:Int2X)->Int2X
public static func &>>=(_ lhs:inout Int2X, _ rhs:Int2X)
public static func &<<=(_ lhs:inout Int2X, _ rhs:Int2X)
public static func / (_ lhs:Int2X, rhs:Int2X)->Int2X
public static func /= (_ lhs:inout Int2X, rhs:Int2X)
public static func % (_ lhs:Int2X, rhs:Int2X)->Int2X
public static func %= (_ lhs:inout Int2X, rhs:Int2X)
public static func &= (lhs: inout Int2X, rhs: Int2X)
public static func |= (lhs: inout Int2X, rhs: Int2X)
public static func ^= (lhs: inout Int2X, rhs: Int2X)
public static func <<= <RHS>(lhs: inout Int2X, rhs: RHS) where RHS : BinaryInteger
public static func >>= <RHS>(lhs: inout Int2X, rhs: RHS) where RHS : BinaryInteger
Generated at 2022-05-17T08:44:22+0000 using swift-doc 1.0.0-rc.1.
Types
- APIClientError
- APIEndPoint
- Account.Meta
- Account.Meta.CodingKeys
- AccountInfo
- AccountInstructions
- AnyDecodable
- AnyEncodable
- AnyResponse
- AssociatedTokenProgram
- BDouble
- BInt
- BIntMath
- Base58
- BinaryReader
- BlockCommitment
- BorshDecodingError
- BufferInfo
- BufferInfoParsed
- BufferLayoutError
- ClusterNodes
- ConfirmedBlock
- ConfirmedTransaction
- ConfirmedTransaction.Message
- Context
- DataSlice
- DefaultFeeCalculator
- DerivablePath
- DerivablePath.DerivableType
- Ed25519HDKey
- Ed25519HDKey.Error
- Ed25519HDKey.Keys
- EmptyInfo
- EncodableWrapper
- EpochInfo
- EpochSchedule
- ErrorDetail
- Fee
- FeeAmount
- FeeAmount.OtherFee
- FeeCalculatorResponse
- FeeRateGovernor
- Identity
- InflationGovernor
- InflationRate
- InnerInstruction
- Int2X
- Int2XConfig
- JSONRPCAPIClientRequest
- JSONRPCRequestEncoder
- JSONRPCResponse
- JSONRPCResponseDecoder
- Keychain
- Keychain.KeyDerivationError
- LargestAccount
- Mint
- Mnemonic
- Mnemonic.Error
- Network
- OwnerInfoParams
- OwnerValidationProgram
- ParsedInstruction
- PerformanceSample
- Pool
- PreparedTransaction
- ProgramAccount
- ProgramAccounts
- PublicKey
- RIPEMD
- RIPEMD.Block
- RIPEMD.Block.K
- RIPEMD.Block.r
- RIPEMD.Block.s
- RequestAPI
- RequestConfiguration
- Response
- ResponseError
- ResponseErrorData
- Reward
- Rpc
- SignatureInfo
- SignatureStatus
- SimulationResult
- SocketAction
- SocketEntity
- SocketError
- SocketLogsNotificationData
- SocketMethod
- SocketParams
- SocketSignatureNotificationData
- SocketTokenAccountNotificationData
- SocketTokenAccountNotificationDataInfo
- SocketTokenAccountNotificationDataParsed
- SolanaError
- StakeActivation
- Supply
- SwapResponse
- SystemProgram
- SystemProgram.Index
- Throwable
- Token
- TokenAccount
- TokenAccountBalance
- TokenAmount
- TokenBalance
- TokenExtensions
- TokenProgram
- TokenProgram.Index
- TokenSwapInfo
- TokenSwapProgram
- TokenTag
- TokensListParserError
- Transaction
- Transaction.Message
- Transaction.Message.CompiledInstruction
- Transaction.Message.Header
- Transaction.Signature
- TransactionInfo
- TransactionInstruction
- TransactionMeta
- TransactionStatus
- Transfer
- UInt2X
- Version
- VoteAccount
- VoteAccounts
- Wallet
- Wordlists
- WrappingToken
Protocols
Global Typealiases
- Bignum
- BorshCodable
- Commitment
- Decimals
- Int1024
- Int128
- Int1X
- Int256
- Int512
- Lamports
- RequestEncoder
- ResponseDecoder
- SPLTokenDestinationAddress
- SocketLogsNotification
- SocketNativeAccountNotification
- SocketProgramAccountNotification
- SocketSignatureNotification
- SocketSubscriptionResponse
- SocketTokenAccountNotification
- SocketUnsubscriptionResponse
- TransactionError
- TransactionID
- UInt1024
- UInt128
- UInt1X
- UInt256
- UInt512
Global Functions
- abs(_:)
- checkAccountValidation(account:)
- checkIfAssociatedTokenAccountExists(owner:mint:)
- connect()
- disconnect()
- findSPLTokenDestinationAddress(mintAddress:destinationAddress:)
- getAccountInfo(account:)
- getBalance(account:commitment:)
- getBlockCommitment(block:)
- getBlockHeight()
- getBlockTime(block:)
- getClusterNodes()
- getConfirmedBlock(slot:encoding:)
- getConfirmedBlocksWithLimit(startSlot:limit:)
- getConfirmedSignaturesForAddress(account:startSlot:endSlot:)
- getEpochInfo(commitment:)
- getFees(commitment:)
- getMinimumBalanceForRentExemption(dataLength:commitment:)
- getMinimumBalanceForRentExemption(span:)
- getMultipleAccounts(pubkeys:)
- getMultipleMintDatas(mintAddresses:programId:)
- getRecentBlockhash()
- getRecentBlockhash(commitment:)
- getSignatureStatus(signature:configs:)
- getSignatureStatuses(signatures:configs:)
- getTokenAccountBalance(pubkey:commitment:)
- getTokenAccountsByDelegate(pubkey:mint:programId:configs:)
- getTokenAccountsByOwner(pubkey:params:configs:)
- getTokenLargestAccounts(pubkey:commitment:)
- getTokenSupply(pubkey:commitment:)
- getTokenWallets(account:tokensRepository:)
- getTokensList(useCache:)
- getTransaction(transactionSignature:)
- getVersion()
- getVoteAccounts(commitment:)
- minimumLedgerSlot()
- observeSignatureStatus(signature:)
- observeSignatureStatus(signature:timeout:delay:)
- parse(network:)
- prepareCreatingWSOLAccountAndCloseWhenDone(from:amount:payer:minRentExemption:)
- prepareForCreatingAssociatedTokenAccount(owner:mint:feePayer:closeAfterward:)
- prepareSendingNativeSOL(from:to:amount:feePayer:)
- prepareSendingSPLTokens(account:mintAddress:decimals:from:to:amount:feePayer:transferChecked:lamportsPerSignature:minRentExemption:)
- prepareTransaction(instructions:signers:feePayer:feeCalculator:)
- request(with:)
- requestAirdrop(account:lamports:commitment:)
- requestData(request:)
- sendTransaction(preparedTransaction:)
- sendTransaction(transaction:configs:)
- setLogFilter(filter:)
- sha256(data:)
- simulateTransaction(preparedTransaction:)
- simulateTransaction(transaction:configs:)
- subscribe(type:params:commitment:)
- unsubscribe(type:socketId:)
- validatorExit()
Extensions
- Account
- Array
- Bool
- Data
- Dictionary
- Double
- Error
- FixedWidthInteger
- Float32
- Float64
- Int
- NSRegularExpression
- RawRepresentable
- Set
- Socket
- SocketLogsNotification
- SocketNativeAccountNotification
- SocketProgramAccountNotification
- SocketSignatureNotification
- SocketTokenAccountNotification
- String
- StringProtocol
- UInt32
- UInt64
- UInt8
- URLRequest
- URLSession