File generation for testing single-instance storage algorithm
First Claim
1. A method comprising:
- for each section of a plurality of sections of a buffer,retrieving a string of characters from the section, by a computing device;
reordering the characters within the string of characters, by the computing device, to generate a reordered string of characters for the section;
for each section of the plurality of sections of the buffer,copying over the string of characters within the section with the reordered string of characters for a different section of the plurality of sections, by the computing device;
outputting the buffer to a file, the file adapted to mimic a non-artificially generated file in relation to testing a single-instance storage algorithm; and
,testing the single-instance storage algorithm using the file.
2 Assignments
0 Petitions
Accused Products
Abstract
For each section of a buffer, a string of characters is retrieved and reordered to generate a reordered string of characters for the section. Thereafter, for each section of the buffer, the string of characters within the section is copied over with the reordered string of characters for a different section of the buffer. The buffer is then output to a file. If a desired length of the file has not yet been reached, then this process is repeated, or the buffer is again output to the file, based on a desired amount of duplicate data to be included within the file. The resulting file can be used to test a single-instance storage algorithm. The file is thus adapted to mimic a non-artificially generated file in relation to testing a single-instance storage algorithm.
10 Citations
20 Claims
-
1. A method comprising:
-
for each section of a plurality of sections of a buffer, retrieving a string of characters from the section, by a computing device; reordering the characters within the string of characters, by the computing device, to generate a reordered string of characters for the section; for each section of the plurality of sections of the buffer, copying over the string of characters within the section with the reordered string of characters for a different section of the plurality of sections, by the computing device; outputting the buffer to a file, the file adapted to mimic a non-artificially generated file in relation to testing a single-instance storage algorithm; and
,testing the single-instance storage algorithm using the file. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)
-
-
14. A system comprising:
-
a processor; a computer-readable data storage medium to store a file; a memory including a buffer having a plurality of a plurality of sections; a component implemented by the processor to generate the file by; for each section of the buffer, retrieving a string of characters from the section; reordering the characters within the string of characters to generate a reordered string of characters for the section; for each section of the buffer, copying over the string of characters within the section with the reordered string of characters for a different section of the buffer; outputting the buffer to a file, the file adapted to mimic a non-artificially generated file in relation to testing a single-instance storage algorithm; a testing component to test the single-instance storage algorithm by using the file. - View Dependent Claims (15, 16, 17, 18, 19)
-
-
20. A computer program product comprising:
a computer-readable storage medium having computer-readable code embodied therein, the computer-readable code executable by a computing device, the computer-readable code comprising; first computer-readable code to, for each section of a plurality of sections of a buffer, retrieve a string of characters from the section; reorder the characters within the string of characters to generate a reordered string of characters for the section; and
,second computer-readable code to, for each section of the plurality of sections of the buffer, copy over the string of characters within the section with the reordered string of characters for a different section of the plurality of sections; output the buffer to a file.
Specification