21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
#import "OFStdIOStream.h"
#import "OFTimer.h"
#import "OFLocale.h"
#import "ProgressBar.h"
static const float oneKibibyte = 1024;
static const float oneMebibyte = 1024 * oneKibibyte;
static const float oneGibibyte = 1024 * oneMebibyte;
static const OFTimeInterval updateInterval = 0.1;
#ifndef HAVE_TRUNCF
# define truncf(x) trunc(x)
#endif
|
|
|
|
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
#import "OFStdIOStream.h"
#import "OFTimer.h"
#import "OFLocale.h"
#import "ProgressBar.h"
static const float oneKibibyte = 1024;
static const float oneMebibyte = 1024 * 1024;
static const float oneGibibyte = 1024 * 1024 * 1024;
static const OFTimeInterval updateInterval = 0.1;
#ifndef HAVE_TRUNCF
# define truncf(x) trunc(x)
#endif
|