12 <task id="GUID-EA8974A2-1E8F-4272-880A-183AD1A40371" xml:lang="en"><title>Setting |
12 <task id="GUID-EA8974A2-1E8F-4272-880A-183AD1A40371" xml:lang="en"><title>Setting |
13 the File Size of a Large File</title><shortdesc>Describes how to set the size of a file.</shortdesc><prolog><metadata><keywords/></metadata></prolog><taskbody> |
13 the File Size of a Large File</title><shortdesc>Describes how to set the size of a file.</shortdesc><prolog><metadata><keywords/></metadata></prolog><taskbody> |
14 <context id="GUID-D2F99F83-5093-4781-82A1-BECB32415696"><p>The function <codeph>TEntry::SetFileSize()</codeph> is intended |
14 <context id="GUID-D2F99F83-5093-4781-82A1-BECB32415696"><p>The function <codeph>TEntry::SetFileSize()</codeph> is intended |
15 for use by file-system plugins, and not recommended to be called by general |
15 for use by file-system plugins, and not recommended to be called by general |
16 clients of the File Server.</p></context> |
16 clients of the File Server.</p></context> |
17 <steps id="GUID-4DD07DEC-6017-4237-BE46-1D69E5FBD744-GENID-1-12-1-17-1-1-9-1-6-1-8-1-16-1-3-2"> |
17 <steps id="GUID-4DD07DEC-6017-4237-BE46-1D69E5FBD744-GENID-1-12-1-18-1-1-9-1-6-1-8-1-16-1-3-2"> |
18 <step id="GUID-9A69E5AD-E938-4092-A8C2-CB65C37C8962-GENID-1-12-1-17-1-1-9-1-6-1-8-1-16-1-3-2-1"><cmd>Declare the variable |
18 <step id="GUID-9A69E5AD-E938-4092-A8C2-CB65C37C8962-GENID-1-12-1-18-1-1-9-1-6-1-8-1-16-1-3-2-1"><cmd>Declare the variable |
19 type as a TInt64.</cmd> |
19 type as a TInt64.</cmd> |
20 <info><codeblock xml:space="preserve">//TInt fileSize = 3000; |
20 <info><codeblock xml:space="preserve">//TInt fileSize = 3000; |
21 TInt64 fileSize = 3000000000;</codeblock></info> |
21 TInt64 fileSize = 3000000000;</codeblock></info> |
22 </step> |
22 </step> |
23 <step id="GUID-52A82CB1-9DD7-42EC-9D63-F7FE47E4C983"><cmd>Call the <codeph>SetFileSize()</codeph> function |
23 <step id="GUID-52A82CB1-9DD7-42EC-9D63-F7FE47E4C983"><cmd>Call the <codeph>SetFileSize()</codeph> function |