Show / Hide Table of Contents

    Struct SizeT

    Idea of a SizeT type from http://blogs.hoopoe-cloud.com/index.php/tag/cudanet/, entry from Tuesday, September 15th, 2009

    Inherited Members
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: ManagedCuda.BasicTypes
    Assembly: ManagedCuda.dll
    Syntax
    public struct SizeT

    Constructors

    | Improve this Doc View Source

    SizeT(Int32)

    Declaration
    public SizeT(int value)
    Parameters
    Type Name Description
    System.Int32 value
    | Improve this Doc View Source

    SizeT(Int64)

    Declaration
    public SizeT(long value)
    Parameters
    Type Name Description
    System.Int64 value
    | Improve this Doc View Source

    SizeT(IntPtr)

    Declaration
    public SizeT(IntPtr value)
    Parameters
    Type Name Description
    System.IntPtr value
    | Improve this Doc View Source

    SizeT(UInt32)

    Declaration
    public SizeT(uint value)
    Parameters
    Type Name Description
    System.UInt32 value
    | Improve this Doc View Source

    SizeT(UInt64)

    Declaration
    public SizeT(ulong value)
    Parameters
    Type Name Description
    System.UInt64 value
    | Improve this Doc View Source

    SizeT(UIntPtr)

    Declaration
    public SizeT(UIntPtr value)
    Parameters
    Type Name Description
    System.UIntPtr value

    Methods

    | Improve this Doc View Source

    Equals(Object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    System.Object obj
    Returns
    Type Description
    System.Boolean
    Overrides
    System.ValueType.Equals(System.Object)
    | Improve this Doc View Source

    GetHashCode()

    Returns this.value.GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32
    Overrides
    System.ValueType.GetHashCode()
    | Improve this Doc View Source

    ToString()

    returns this.value.ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String
    Overrides
    System.ValueType.ToString()

    Operators

    | Improve this Doc View Source

    Addition(SizeT, SizeT)

    Define operator + on converted to ulong values to avoid fall back to int

    Declaration
    public static SizeT operator +(SizeT val1, SizeT val2)
    Parameters
    Type Name Description
    SizeT val1
    SizeT val2
    Returns
    Type Description
    SizeT
    | Improve this Doc View Source

    Addition(SizeT, Int32)

    Define operator + on converted to ulong values to avoid fall back to int

    Declaration
    public static SizeT operator +(SizeT val1, int val2)
    Parameters
    Type Name Description
    SizeT val1
    System.Int32 val2
    Returns
    Type Description
    SizeT
    | Improve this Doc View Source

    Addition(SizeT, UInt32)

    Define operator + on converted to ulong values to avoid fall back to int

    Declaration
    public static SizeT operator +(SizeT val1, uint val2)
    Parameters
    Type Name Description
    SizeT val1
    System.UInt32 val2
    Returns
    Type Description
    SizeT
    | Improve this Doc View Source

    Addition(Int32, SizeT)

    Define operator + on converted to ulong values to avoid fall back to int

    Declaration
    public static SizeT operator +(int val1, SizeT val2)
    Parameters
    Type Name Description
    System.Int32 val1
    SizeT val2
    Returns
    Type Description
    SizeT
    | Improve this Doc View Source

    Addition(UInt32, SizeT)

    Define operator + on converted to ulong values to avoid fall back to int

    Declaration
    public static SizeT operator +(uint val1, SizeT val2)
    Parameters
    Type Name Description
    System.UInt32 val1
    SizeT val2
    Returns
    Type Description
    SizeT
    | Improve this Doc View Source

    Division(SizeT, SizeT)

    Define operator / on converted to ulong values to avoid fall back to int

    Declaration
    public static SizeT operator /(SizeT val1, SizeT val2)
    Parameters
    Type Name Description
    SizeT val1
    SizeT val2
    Returns
    Type Description
    SizeT
    | Improve this Doc View Source

    Division(SizeT, Int32)

    Define operator / on converted to ulong values to avoid fall back to int

    Declaration
    public static SizeT operator /(SizeT val1, int val2)
    Parameters
    Type Name Description
    SizeT val1
    System.Int32 val2
    Returns
    Type Description
    SizeT
    | Improve this Doc View Source

    Division(SizeT, UInt32)

    Define operator / on converted to ulong values to avoid fall back to int

    Declaration
    public static SizeT operator /(SizeT val1, uint val2)
    Parameters
    Type Name Description
    SizeT val1
    System.UInt32 val2
    Returns
    Type Description
    SizeT
    | Improve this Doc View Source

    Division(Int32, SizeT)

    Define operator / on converted to ulong values to avoid fall back to int

    Declaration
    public static SizeT operator /(int val1, SizeT val2)
    Parameters
    Type Name Description
    System.Int32 val1
    SizeT val2
    Returns
    Type Description
    SizeT
    | Improve this Doc View Source

    Division(UInt32, SizeT)

    Define operator / on converted to ulong values to avoid fall back to int

    Declaration
    public static SizeT operator /(uint val1, SizeT val2)
    Parameters
    Type Name Description
    System.UInt32 val1
    SizeT val2
    Returns
    Type Description
    SizeT
    | Improve this Doc View Source

    Equality(SizeT, SizeT)

    Declaration
    public static bool operator ==(SizeT val1, SizeT val2)
    Parameters
    Type Name Description
    SizeT val1
    SizeT val2
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    GreaterThan(SizeT, SizeT)

    Define operator > on converted to ulong values to avoid fall back to int

    Declaration
    public static bool operator>(SizeT val1, SizeT val2)
    Parameters
    Type Name Description
    SizeT val1
    SizeT val2
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    GreaterThan(SizeT, Int32)

    Define operator > on converted to ulong values to avoid fall back to int

    Declaration
    public static bool operator>(SizeT val1, int val2)
    Parameters
    Type Name Description
    SizeT val1
    System.Int32 val2
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    GreaterThan(SizeT, UInt32)

    Define operator > on converted to ulong values to avoid fall back to int

    Declaration
    public static bool operator>(SizeT val1, uint val2)
    Parameters
    Type Name Description
    SizeT val1
    System.UInt32 val2
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    GreaterThan(Int32, SizeT)

    Define operator > on converted to ulong values to avoid fall back to int

    Declaration
    public static bool operator>(int val1, SizeT val2)
    Parameters
    Type Name Description
    System.Int32 val1
    SizeT val2
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    GreaterThan(UInt32, SizeT)

    Define operator > on converted to ulong values to avoid fall back to int

    Declaration
    public static bool operator>(uint val1, SizeT val2)
    Parameters
    Type Name Description
    System.UInt32 val1
    SizeT val2
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Implicit(SizeT to Int32)

    Declaration
    public static implicit operator int (SizeT t)
    Parameters
    Type Name Description
    SizeT t
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    Implicit(SizeT to Int64)

    Declaration
    public static implicit operator long (SizeT t)
    Parameters
    Type Name Description
    SizeT t
    Returns
    Type Description
    System.Int64
    | Improve this Doc View Source

    Implicit(SizeT to IntPtr)

    Declaration
    public static implicit operator IntPtr(SizeT t)
    Parameters
    Type Name Description
    SizeT t
    Returns
    Type Description
    System.IntPtr
    | Improve this Doc View Source

    Implicit(SizeT to UInt32)

    Declaration
    public static implicit operator uint (SizeT t)
    Parameters
    Type Name Description
    SizeT t
    Returns
    Type Description
    System.UInt32
    | Improve this Doc View Source

    Implicit(SizeT to UInt64)

    Declaration
    public static implicit operator ulong (SizeT t)
    Parameters
    Type Name Description
    SizeT t
    Returns
    Type Description
    System.UInt64
    | Improve this Doc View Source

    Implicit(SizeT to UIntPtr)

    Declaration
    public static implicit operator UIntPtr(SizeT t)
    Parameters
    Type Name Description
    SizeT t
    Returns
    Type Description
    System.UIntPtr
    | Improve this Doc View Source

    Implicit(Int32 to SizeT)

    Declaration
    public static implicit operator SizeT(int value)
    Parameters
    Type Name Description
    System.Int32 value
    Returns
    Type Description
    SizeT
    | Improve this Doc View Source

    Implicit(Int64 to SizeT)

    Declaration
    public static implicit operator SizeT(long value)
    Parameters
    Type Name Description
    System.Int64 value
    Returns
    Type Description
    SizeT
    | Improve this Doc View Source

    Implicit(IntPtr to SizeT)

    Declaration
    public static implicit operator SizeT(IntPtr value)
    Parameters
    Type Name Description
    System.IntPtr value
    Returns
    Type Description
    SizeT
    | Improve this Doc View Source

    Implicit(UInt32 to SizeT)

    Declaration
    public static implicit operator SizeT(uint value)
    Parameters
    Type Name Description
    System.UInt32 value
    Returns
    Type Description
    SizeT
    | Improve this Doc View Source

    Implicit(UInt64 to SizeT)

    Declaration
    public static implicit operator SizeT(ulong value)
    Parameters
    Type Name Description
    System.UInt64 value
    Returns
    Type Description
    SizeT
    | Improve this Doc View Source

    Implicit(UIntPtr to SizeT)

    Declaration
    public static implicit operator SizeT(UIntPtr value)
    Parameters
    Type Name Description
    System.UIntPtr value
    Returns
    Type Description
    SizeT
    | Improve this Doc View Source

    Inequality(SizeT, SizeT)

    Declaration
    public static bool operator !=(SizeT val1, SizeT val2)
    Parameters
    Type Name Description
    SizeT val1
    SizeT val2
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    LessThan(SizeT, SizeT)

    Define operator < on converted to ulong values to avoid fall back to int

    Declaration
    public static bool operator <(SizeT val1, SizeT val2)
    Parameters
    Type Name Description
    SizeT val1
    SizeT val2
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    LessThan(SizeT, Int32)

    Define operator < on converted to ulong values to avoid fall back to int

    Declaration
    public static bool operator <(SizeT val1, int val2)
    Parameters
    Type Name Description
    SizeT val1
    System.Int32 val2
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    LessThan(SizeT, UInt32)

    Define operator < on converted to ulong values to avoid fall back to int

    Declaration
    public static bool operator <(SizeT val1, uint val2)
    Parameters
    Type Name Description
    SizeT val1
    System.UInt32 val2
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    LessThan(Int32, SizeT)

    Define operator < on converted to ulong values to avoid fall back to int

    Declaration
    public static bool operator <(int val1, SizeT val2)
    Parameters
    Type Name Description
    System.Int32 val1
    SizeT val2
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    LessThan(UInt32, SizeT)

    Define operator < on converted to ulong values to avoid fall back to int

    Declaration
    public static bool operator <(uint val1, SizeT val2)
    Parameters
    Type Name Description
    System.UInt32 val1
    SizeT val2
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Multiply(SizeT, SizeT)

    Define operator * on converted to ulong values to avoid fall back to int

    Declaration
    public static SizeT operator *(SizeT val1, SizeT val2)
    Parameters
    Type Name Description
    SizeT val1
    SizeT val2
    Returns
    Type Description
    SizeT
    | Improve this Doc View Source

    Multiply(SizeT, Int32)

    Define operator * on converted to ulong values to avoid fall back to int

    Declaration
    public static SizeT operator *(SizeT val1, int val2)
    Parameters
    Type Name Description
    SizeT val1
    System.Int32 val2
    Returns
    Type Description
    SizeT
    | Improve this Doc View Source

    Multiply(SizeT, UInt32)

    Define operator * on converted to ulong values to avoid fall back to int

    Declaration
    public static SizeT operator *(SizeT val1, uint val2)
    Parameters
    Type Name Description
    SizeT val1
    System.UInt32 val2
    Returns
    Type Description
    SizeT
    | Improve this Doc View Source

    Multiply(Int32, SizeT)

    Define operator * on converted to ulong values to avoid fall back to int

    Declaration
    public static SizeT operator *(int val1, SizeT val2)
    Parameters
    Type Name Description
    System.Int32 val1
    SizeT val2
    Returns
    Type Description
    SizeT
    | Improve this Doc View Source

    Multiply(UInt32, SizeT)

    Define operator * on converted to ulong values to avoid fall back to int

    Declaration
    public static SizeT operator *(uint val1, SizeT val2)
    Parameters
    Type Name Description
    System.UInt32 val1
    SizeT val2
    Returns
    Type Description
    SizeT
    | Improve this Doc View Source

    Subtraction(SizeT, SizeT)

    Define operator - on converted to ulong values to avoid fall back to int

    Declaration
    public static SizeT operator -(SizeT val1, SizeT val2)
    Parameters
    Type Name Description
    SizeT val1
    SizeT val2
    Returns
    Type Description
    SizeT
    | Improve this Doc View Source

    Subtraction(SizeT, Int32)

    Define operator - on converted to ulong values to avoid fall back to int

    Declaration
    public static SizeT operator -(SizeT val1, int val2)
    Parameters
    Type Name Description
    SizeT val1
    System.Int32 val2
    Returns
    Type Description
    SizeT
    | Improve this Doc View Source

    Subtraction(SizeT, UInt32)

    Define operator - on converted to ulong values to avoid fall back to int

    Declaration
    public static SizeT operator -(SizeT val1, uint val2)
    Parameters
    Type Name Description
    SizeT val1
    System.UInt32 val2
    Returns
    Type Description
    SizeT
    | Improve this Doc View Source

    Subtraction(Int32, SizeT)

    Define operator - on converted to ulong values to avoid fall back to int

    Declaration
    public static SizeT operator -(int val1, SizeT val2)
    Parameters
    Type Name Description
    System.Int32 val1
    SizeT val2
    Returns
    Type Description
    SizeT
    | Improve this Doc View Source

    Subtraction(UInt32, SizeT)

    Define operator - on converted to ulong values to avoid fall back to int

    Declaration
    public static SizeT operator -(uint val1, SizeT val2)
    Parameters
    Type Name Description
    System.UInt32 val1
    SizeT val2
    Returns
    Type Description
    SizeT
    • Improve this Doc
    • View Source
    Back to top Generated by DocFX