MemoryStressAllocate(Int64, Byte) Method
Allocates the specified amount of physical memory for this instance and fills the memory with the specified value.
Namespace: DevCase.Core.IO.Devices.HardwareStressAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[SecurityCriticalAttribute]
public virtual void Allocate(
long size,
byte fillValue
)
<SecurityCriticalAttribute>
Public Overridable Sub Allocate (
size As Long,
fillValue As Byte
)
Dim instance As MemoryStress
Dim size As Long
Dim fillValue As Byte
instance.Allocate(size, fillValue)
public:
[SecurityCriticalAttribute]
virtual void Allocate(
long long size,
unsigned char fillValue
)
[<SecurityCriticalAttribute>]
abstract Allocate :
size : int64 *
fillValue : byte -> unit
[<SecurityCriticalAttribute>]
override Allocate :
size : int64 *
fillValue : byte -> unit
No code example is currently available or this language may not be supported.
Parameters
- size Int64
-
The amount of physical memory to allocate, in bytes.
- fillValue Byte
-
The value that will be used to fill the memory.
ArgumentException
|
Value greater than 0 is required.
|