mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-27 02:20:05 +00:00
Lots of small whitespace tweaks.
This commit is contained in:
parent
0d3afee459
commit
02492b36b9
179 changed files with 405 additions and 407 deletions
|
|
@ -34,7 +34,7 @@ namespace FileHelpers
|
|||
int64 t = 0;
|
||||
|
||||
for (size_t i = 0; i < numBytes; ++i)
|
||||
t = t * 65599 + static_cast <const uint8*> (data)[i];
|
||||
t = t * 65599 + static_cast<const uint8*> (data)[i];
|
||||
|
||||
return t;
|
||||
}
|
||||
|
|
@ -44,7 +44,7 @@ namespace FileHelpers
|
|||
int64 t = 0;
|
||||
|
||||
const int bufferSize = 4096;
|
||||
HeapBlock <uint8> buffer;
|
||||
HeapBlock<uint8> buffer;
|
||||
buffer.malloc (bufferSize);
|
||||
|
||||
for (;;)
|
||||
|
|
@ -63,7 +63,7 @@ namespace FileHelpers
|
|||
|
||||
int64 calculateFileHashCode (const File& file)
|
||||
{
|
||||
ScopedPointer <FileInputStream> stream (file.createInputStream());
|
||||
ScopedPointer<FileInputStream> stream (file.createInputStream());
|
||||
return stream != nullptr ? calculateStreamHashCode (*stream) : 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue