Find Jobs
Hire Freelancers

Create file with random data

$25-30 USD

Completed
Posted over 13 years ago

$25-30 USD

Paid on delivery
Very small and simple job. Write a function in VB.NET that will just create a file filled with random data. createDummyFile(filepath, filelength) File can become small or very large (>8gb). Function performance should be at least 30MB/s. ## Deliverables Use this 'create a binary file filled with random dummydata 'Byte data in the file should be random and contain values in range 0..255 'filepath=full path to the destination file, example C:\dd\[login to view URL] 'if folder is missing then the function should create it. 'length=exact size in bytes of the resulting file, can be small or very large eg. > 8GB 'Performance when creating large files should be at least 40MB/s Function createDummyFile(ByVal filepath As String, ByVal length As Long) As String '...Do your code here... End Function Function validateDummyFilePerformance() As Double Dim starttime As Double = [login to view URL] createDummyFile("C:\dd\[login to view URL]", 3) '3 bytes createDummyFile("C:\dd\[login to view URL]", 1400000) '1.4 Million bytes createDummyFile("C:\dd\[login to view URL]", 8200111222L) '8 GB Dim executionTime = [login to view URL] - starttime '(seconds) Return executionTime End Function
Project ID: 3754433

About the project

5 proposals
Remote project
Active 14 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
See private message.
$7 USD in 3 days
5.0 (35 reviews)
4.2
4.2
5 freelancers are bidding on average $14 USD for this job
User Avatar
See private message.
$13.60 USD in 3 days
5.0 (23 reviews)
4.9
4.9
User Avatar
See private message.
$25.50 USD in 3 days
4.9 (18 reviews)
4.3
4.3
User Avatar
See private message.
$11.05 USD in 3 days
5.0 (9 reviews)
3.1
3.1
User Avatar
See private message.
$12.75 USD in 3 days
5.0 (7 reviews)
2.8
2.8

About the client

Flag of SWEDEN
Sweden
5.0
10
Payment method verified
Member since Sep 27, 2010

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.