search for: 1000000000

Displaying 20 results from an estimated 193 matches for "1000000000".

2017 Apr 19
6
[PATCH supermin 0/3] Require root= parameter, refactor init.
Require the root= parameter is passed to specify which root (apppliance) to mount. Libguestfs has done this since 2012. The other two patches are small code refactorings in the init program. Rich.
2009 Aug 22
3
integer and character conversion
Dear all,I want to convert a long integer to a string, and for example, 100000000 I used as.character(1000000000) e.g, and it gives me back 1e+???. What I want is a exact form, not exponential form. Any ideas how to do it? Thank you very much. Regards, Dajiang [[alternative HTML version deleted]]
2013 Oct 16
3
[LLVMdev] Unable to evaluate clang on linux or windows
...e/c++/4.6/condition_variable:106:42: note: in instantiation of function template specialization 'std::chrono::time_point<std::chrono::system_clock, std::chrono::duration<long, std::ratio<1, 1000000> > >::time_point<std::chrono::duration<long, std::ratio<1, 1000000000> > >' requested here const __clock_t::time_point __s_atime = __s_entry + __delta; ^ /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../include/c++/4.6/chrono:234:12: note: candidate constructor not viable: no known conversion from...
2017 Apr 19
0
[PATCH supermin 3/3] init: Refactor for-loop which waits for root device to show up.
...; int dax = 0; - uint64_t delay_ns = 250000; + uint64_t delay_ns; int virtio_message = 0; - struct timespec t; int major, minor; char *p; const char *mount_options = ""; + struct timespec t; +#define NANOSLEEP(ns) do { \ + t.tv_sec = delay_ns / 1000000000; \ + t.tv_nsec = delay_ns % 1000000000; \ + nanosleep (&t, NULL); \ + } while(0) + mount_proc (); fprintf (stderr, "supermin: ext2 mini initrd starting up: " @@ -184,7 +190,9 @@ main () asprintf (&path, "/sys/block/...
2008 Aug 06
3
[PATCH RFC] do_settime is backwards?!
While digging through the time code, I found something very strange in do_settime: x = (secs * 1000000000ULL) + (u64)nsecs - system_time_base; y = do_div(x, 1000000000); spin_lock(&wc_lock); wc_sec = _wc_sec = (u32)x; wc_nsec = _wc_nsec = (u32)y; spin_unlock(&wc_lock); The value "x" appears to be the number of nanoseconds, while the value "y" is the v...
2013 Oct 18
0
[LLVMdev] Unable to evaluate clang on linux or windows
...ble:106:42: > note: in instantiation of function template specialization > 'std::chrono::time_point<std::chrono::system_clock, > std::chrono::duration<long, std::ratio<1, 1000000> > > >::time_point<std::chrono::duration<long, > std::ratio<1, 1000000000> > >' requested here > const __clock_t::time_point __s_atime = __s_entry + __delta; > ^ > /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../include/c++/4.6/chrono:234:12: > note: candidate constructor not viable: no known...
2004 May 06
0
Samba using a MySQL passdb for machine records
...that in the log which isn't appearing now and b) SIDs are set and being retrieved. Is there something else that could cause NT_STATUS_NONE_MAPPED during machine joining? Log: [2004/05/05 15:28:45, 5] passdb/pdb_mysql.c:mysqlsam_select_by_field(237) Executing query SELECT NULL,NULL,NULL,'1000000000','1000000000','4000000000',CONCAT(hostname, "$"),'EGR2',CONCAT(hostname, "$"),CONCAT(hostname, '.', domain),NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,systemSid,systemSid,LANMANHash,NTHash,NULL,NULL,NULL,NULL,'5',NULL,NULL FROM network_in...
2016 Sep 28
2
Multichannel working at half speed with 2x NICs
...I have two VirtIO NICs on my server that I've confirmed works at at least 1Gbps (via iperf) to my Windows 10 client which also has 2 1Gbps NICs. Since virtio interfaces dont seem to report link speeds, I've changed my smb.conf to reflect this as such: "interfaces = 192.168.1.120;speed=1000000000 192.168.1.118;speed=1000000000" I've also tried with and without "aio read size = 1" and "aio write size = 1", but that didn't change anything. In addition, I've tried all the suggestions in thread linked above and all have been unsuccessful. I've verified...
2019 Aug 28
2
[PATCH nbdkit] freebsd: In nbdkit_nanosleep, fallback to calling nanosleep(2).
...ons(-) diff --git a/server/public.c b/server/public.c index a992df1..630de9b 100644 --- a/server/public.c +++ b/server/public.c @@ -304,6 +304,16 @@ nbdkit_realpath (const char *path) int nbdkit_nanosleep (unsigned sec, unsigned nsec) { + struct timespec ts; + + if (sec >= INT_MAX - nsec / 1000000000) { + nbdkit_error ("sleep request is too long"); + errno = EINVAL; + return -1; + } + ts.tv_sec = sec + nsec / 1000000000; + ts.tv_nsec = nsec % 1000000000; + #if defined HAVE_PPOLL && defined POLLRDHUP /* End the sleep early if any of these happen: * - nbdkit...
2017 Apr 19
1
Re: [PATCH supermin 3/3] init: Refactor for-loop which waits for root device to show up.
On Wed, Apr 19, 2017 at 10:57:28AM +0100, Richard W.M. Jones wrote: > + struct timespec t; > +#define NANOSLEEP(ns) do { \ > + t.tv_sec = delay_ns / 1000000000; \ > + t.tv_nsec = delay_ns % 1000000000; \ > + nanosleep (&t, NULL); \ > + } while(0) > + Defining 't' outside its context is a bit clumsy. See attached version of 3/3 which fixes this. Rich. -- Richard Jones, Virtualizat...
2017 Apr 19
1
[PATCH supermin] init: Support root=UUID=... to specify the appliance disk by volume UUID.
..., 5) == 0) - root += 5; - if (strncmp (root, "pmem", 4) == 0) - dax = 1; - len = strcspn (root, " "); - root[len] = '\0'; - - asprintf (&path, "/sys/block/%s/dev", root); - for (delay_ns = 250000; - delay_ns <= MAX_ROOT_WAIT * UINT64_C(1000000000); - delay_ns *= 2) { - fp = fopen (path, "r"); - if (fp != NULL) - break; + if (strncmp (root, "/dev/", 5) == 0) { + char *path; - if (delay_ns > 1000000000) { - fprintf (stderr, - "supermin: waiting another %" PRIu64 &qu...
2017 Apr 25
1
[PATCH supermin v2] init: Support root=UUID=... to specify the appliance disk by volume UUID.
v1 -> v2: - I fixed the end condition of the loop in parse_root_uuid. - Retested. Didn't change the busy wait loop into a function or macro, as per discussion on IRC. Rich.
2013 Oct 16
0
[LLVMdev] Unable to evaluate clang on linux or windows
On 15/10/13 22:22, C K Kashyap wrote: > Hi, > I'd like to try out the new c++11 features using clang. However, I am > running into some issue or the other on both Windows and Linux. In both > cases, it looks like the problem is due to headers from VC/g++. > I was wondering if someone can point me to some steps on setting up a > Windows or Linux(ubuntu 12.04 LTS) box for
2016 Jul 12
3
Failed to find domain Unix Group
...- | Em 12-07-2016 17:40, Rowland penny escreveu: > OK, you posted your smb.conf from your fileserver, it contained these > lines: > > workgroup = SERVER > > and > > idmap config SERVERAD: backend = rid > # I changed values ​​for test > idmap config SERVERAD: range = 1000000000 to 9999999999 > > I understand you changed the workgroup to post your smb.conf, but are > the actual names for 'SERVER' and 'SERVERAD' the same in your > smb.conf, because they should be. > > This doesn't explain why you are getting private groups, could you...
2007 Oct 11
5
cpufreq: weird bug in set_time_scale
On my test machine, in set_time_scale(), the following code: ts->mul_frac = div_frac(MILLISECS(1000), tps32); crashes with a division by zero error if tps32 == 1000000000d. Unfortunately, tps32 is often that value. Does anyone know why this happens? I''ve resolved it temporarily by checking for tps32 == 1000000000 and changing the value slightly (101000010d works fine on my test machine), but I''m not sure if that''s the approved approa...
2013 Oct 15
2
[LLVMdev] Unable to evaluate clang on linux or windows
Hi, I'd like to try out the new c++11 features using clang. However, I am running into some issue or the other on both Windows and Linux. In both cases, it looks like the problem is due to headers from VC/g++. I was wondering if someone can point me to some steps on setting up a Windows or Linux(ubuntu 12.04 LTS) box for exploring clang. I was able to successfully build clang on my ubuntu but
2015 Nov 18
2
[PATCH] virtio_ring: Shadow available ring flags & index
...===================================== (note -- w/ core turbo disabled, performance is _very_ stable; variance of < 0.5% run-to-run; figure of merit is "seconds elapsed" here) * Producer / consumer bound to Hyperthread pairs: Performance counter stats for './vring_bench_noshadow 1000000000': 343,425,166,916 L1-dcache-loads 21,393,148 L1-dcache-load-misses # 0.01% of all L1-dcache hits 61,709,640,363 L1-dcache-stores 5,745,690 L1-dcache-store-misses 10,186,932,553 L1-dcache-prefetches 1,491 L1-dcache-prefetch-misses 121.335699344 seconds tim...
2015 Nov 18
2
[PATCH] virtio_ring: Shadow available ring flags & index
...===================================== (note -- w/ core turbo disabled, performance is _very_ stable; variance of < 0.5% run-to-run; figure of merit is "seconds elapsed" here) * Producer / consumer bound to Hyperthread pairs: Performance counter stats for './vring_bench_noshadow 1000000000': 343,425,166,916 L1-dcache-loads 21,393,148 L1-dcache-load-misses # 0.01% of all L1-dcache hits 61,709,640,363 L1-dcache-stores 5,745,690 L1-dcache-store-misses 10,186,932,553 L1-dcache-prefetches 1,491 L1-dcache-prefetch-misses 121.335699344 seconds tim...
2013 Feb 15
1
Format Integers
Dear all, I would like to format the following numbers xLabel  [1] 1000000000 1000153846 1000307692 1000461538 1000615385 1000769231  [7] 1000923077 1001076923 1001230769 1001384615 1001538462 1001692308 [13] 1001846154 1002000000 1002153846 1002307692 1002461538 1002615385 [19] 1002769231 1002923077 1003076923 1003230769 1003384615 1003538462 [25] 1003692308 1003846154 1004...
2017 Apr 19
0
[PATCH supermin 2/3] init: Move variable declarations to the top of the function.
...ot) { fprintf (stderr, "supermin: missing root= parameter on the command line\n"); @@ -175,8 +184,6 @@ main () asprintf (&path, "/sys/block/%s/dev", root); - uint64_t delay_ns = 250000; - int virtio_message = 0; while (delay_ns <= MAX_ROOT_WAIT * UINT64_C(1000000000)) { fp = fopen (path, "r"); if (fp != NULL) @@ -194,7 +201,6 @@ main () } } - struct timespec t; t.tv_sec = delay_ns / 1000000000; t.tv_nsec = delay_ns % 1000000000; nanosleep (&t, NULL); @@ -205,9 +211,9 @@ main () fprintf (stderr, &quot...