search for: ulonglong

Displaying 20 results from an estimated 28 matches for "ulonglong".

Did you mean: longlong
2009 Aug 03
1
[PATCH] Remove files imported via autogen.sh.
...4/lock.m4: Likewise. * m4/longdouble.m4: Likewise. * m4/longlong.m4: Likewise. * m4/nls.m4: Likewise. * m4/po.m4: Likewise. * m4/printf-posix.m4: Likewise. * m4/progtest.m4: Likewise. * m4/signed.m4: Likewise. * m4/size_max.m4: Likewise. * m4/stdint_h.m4: Likewise. * m4/uintmax_t.m4: Likewise. * m4/ulonglong.m4: Likewise. * m4/visibility.m4: Likewise. * m4/wchar_t.m4: Likewise. * m4/wint_t.m4: Likewise. * m4/xsize.m4: Likewise. --- m4/.gitignore | 27 +++ m4/codeset.m4 | 23 --- m4/gettext.m4 | 487 ---------------------------------------------- m4/glibc2.m4 | 30 --- m4/gl...
2017 Oct 03
0
[PATCH v2 1/2] daemon: Reimplement statvfs API in OCaml.
...buf.f_frsize; + f_blocks = buf.f_blocks; + f_bfree = buf.f_bfree; + f_bavail = buf.f_bavail; + f_files = buf.f_files; + f_ffree = buf.f_ffree; + f_favail = buf.f_favail; + f_fsid = buf.f_fsid; + f_flag = buf.f_flag; + f_namemax = buf.f_namemax; + +#else /* !HAVE_STATVFS */ +# if WIN32 + ULONGLONG free_bytes_available; /* for user - similar to bavail */ + ULONGLONG total_number_of_bytes; + ULONGLONG total_number_of_free_bytes; /* for everyone - bfree */ + + if (!GetDiskFreeSpaceEx (String_val (pathv), + (PULARGE_INTEGER) &free_bytes_available, +...
2017 Oct 04
2
[PATCH v3 0/2] builder: Choose better weights in the planner.
v2 -> v3: - Drop gnulib fallback.
2017 Oct 02
3
[PATCH 0/2] builder: Choose better weights in the planner.
It started out as "this'll be just a simple fix ..." and turned into something a bit over-engineered in the end. Here it is anyway. Rich.
2017 Oct 03
4
[PATCH v2 0/2] builder: Choose better weights in the planner.
v1 -> v2: - Removed the f_type field from StatVFS.statvfs structure. - New function StatVFS.filesystem_is_remote, written in C. [Thinking about it, this should probably be called ?is_network_filesystem?, but I can change that before pushing]. - Use statvfs instead of fstatvfs, and statfs instead of fstatfs. - Rejigged the comments in builder/builder.ml to make them simpler
2010 Feb 27
0
[LLVMdev] Object layout bug for C++ derived class with long long integer
>> How does the generated LLVM IR for these structs look like? > > For Foo: I mean what was the IR generated by llvm-gcc for such code. >> llvm-gcc tries to follow the mainline gcc for mingw >> platform. There were some changes post-2.6 wrt long long native >> alignment, you might try to look into code at svn head. > > Unfortunately, svn head is incompatible
2010 Mar 08
0
Difficulties in add cover art to FLAC file
...amMetadata_Picture_Type)3; FLAC__metadata_object_picture_set_mime_type( picture, "image/jpeg", true ); FLAC__metadata_object_picture_set_description( picture, (FLAC__byte*)"", true ); CFile picfile; picfile.Open( L"I:\\1.jpg", CFile::modeRead | CFile::shareDenyWrite); ULONGLONG dwLength = picfile.GetLength(); LPSTR pData = new char[static_cast<unsigned int>(dwLength+1)]; picfile.Read(pData, static_cast<UINT>(dwLength)); FLAC__metadata_object_picture_set_data( picture, (FLAC__byte*)pData, dwLength, true ); delete [] pData; I did some tests and it seemed that...
2010 Feb 27
3
[LLVMdev] Object layout bug for C++ derived class with long long integer
I have a simple C++ class that looks like this: struct Foo { Thing *first; Blob *second; unsigned long third; }; Then I have a derived C++ class that look like this: struct Bar : Foo { long long fourth; } I generate JIT code to access 'fourth' from a Foo * as follows: BarPtr = CreateBitCast(FooPtr, BarPtrTy); FourthPtr = CreateConstGEP2_32(BarPtr, 0, 3); FourthValue =
2019 Sep 18
2
[PATCH] build: remove unused gnulib modules
..._h.m4 -/signed.m4 /size_max.m4 /sleep.m4 /snprintf.m4 @@ -230,11 +201,8 @@ /string_h.m4 /strndup.m4 /strnlen.m4 -/strtoimax.m4 /strtoll.m4 -/strtol.m4 /strtoull.m4 -/strtoul.m4 /strtoumax.m4 /symlinkat.m4 /symlink.m4 @@ -252,8 +220,6 @@ /time_h.m4 /timespec.m4 /tls.m4 -/ttyname_r.m4 -/ulonglong.m4 /ungetc.m4 /unistd_h.m4 /unistd-safer.m4 @@ -261,7 +227,6 @@ /unlinkdir.m4 /unlink.m4 /usleep.m4 -/utimbuf.m4 /utimecmp.m4 /utime_h.m4 /utime.m4 @@ -276,20 +241,16 @@ /warnings.m4 /warn-on-use.m4 /wchar_h.m4 -/wchar.m4 /wchar_t.m4 /wcrtomb.m4 /wctob.m4 /wctomb.m4 /wctype_h.m4 -/...
2019 Sep 18
0
Re: [PATCH] build: remove unused gnulib modules
...string_h.m4 > /strndup.m4 > /strnlen.m4 > -/strtoimax.m4 > /strtoll.m4 > -/strtol.m4 > /strtoull.m4 > -/strtoul.m4 > /strtoumax.m4 > /symlinkat.m4 > /symlink.m4 > @@ -252,8 +220,6 @@ > /time_h.m4 > /timespec.m4 > /tls.m4 > -/ttyname_r.m4 > -/ulonglong.m4 > /ungetc.m4 > /unistd_h.m4 > /unistd-safer.m4 > @@ -261,7 +227,6 @@ > /unlinkdir.m4 > /unlink.m4 > /usleep.m4 > -/utimbuf.m4 > /utimecmp.m4 > /utime_h.m4 > /utime.m4 > @@ -276,20 +241,16 @@ > /warnings.m4 > /warn-on-use.m4 > /wchar_h.m4 &...
2019 Sep 23
0
[PATCH v2 5/5] build: remove unused gnulib modules
....m4 -/signed.m4 /size_max.m4 /sleep.m4 /snprintf.m4 @@ -230,11 +190,8 @@ /string_h.m4 /strndup.m4 /strnlen.m4 -/strtoimax.m4 /strtoll.m4 -/strtol.m4 /strtoull.m4 -/strtoul.m4 /strtoumax.m4 /symlinkat.m4 /symlink.m4 @@ -252,16 +209,12 @@ /time_h.m4 /timespec.m4 /tls.m4 -/ttyname_r.m4 -/ulonglong.m4 -/ungetc.m4 /unistd_h.m4 /unistd-safer.m4 /unlinkat.m4 /unlinkdir.m4 /unlink.m4 /usleep.m4 -/utimbuf.m4 /utimecmp.m4 /utime_h.m4 /utime.m4 @@ -276,20 +229,15 @@ /warnings.m4 /warn-on-use.m4 /wchar_h.m4 -/wchar.m4 /wchar_t.m4 /wcrtomb.m4 /wctob.m4 /wctomb.m4 /wctype_h.m4 -/wctype...
2014 Oct 31
1
[PATCH v2] launch: libvirt: Implement drive secrets (RHBZ#1159016).
Since v1: - Base64 decode the Ceph secret before passing it to libvirt. - Don't call virSecretFree (NULL) [libvirt bug?] - Small cleanups.
2017 Jun 27
0
[PATCH v3 3/5] threads: Use thread-local storage for errors.
...;g->lock); if (r != 0) { /* If pthread_mutex_destroy returns 16 (EBUSY), this indicates diff --git a/m4/.gitignore b/m4/.gitignore index 07960ed7b..a84b22e5c 100644 --- a/m4/.gitignore +++ b/m4/.gitignore @@ -248,6 +248,7 @@ /thread.m4 /time_h.m4 /timespec.m4 +/tls.m4 /ttyname_r.m4 /ulonglong.m4 /ungetc.m4 -- 2.13.0
2015 Jun 06
0
[PATCH 3/5] threads: Use thread-local storage for errors.
...,7 @@ strndup symlinkat sys_select sys_wait +tls vasprintf vc-list-files warnings diff --git a/m4/.gitignore b/m4/.gitignore index eff909a..9a26217 100644 --- a/m4/.gitignore +++ b/m4/.gitignore @@ -241,6 +241,7 @@ /thread.m4 /time_h.m4 /timespec.m4 +/tls.m4 /ttyname_r.m4 /uintmax_t.m4 /ulonglong.m4 diff --git a/src/errors.c b/src/errors.c index d9959b2..d5d0308 100644 --- a/src/errors.c +++ b/src/errors.c @@ -29,10 +29,132 @@ #include "guestfs.h" #include "guestfs-internal.h" +/* How errors and error handlers works in the handle: + * + * The handle has a g->error...
2007 Nov 02
0
[PATCH] PVWin: Fix warnings
...put pResult, int nFunction) -{ - __asm { - mov eax, nFunction - xor ebx, ebx - xor ecx, ebx - xor edx, ebx - cpuid - mov edi, pResult - mov [edi.nEAX], eax - mov [edi.nEBX], ebx - mov [edi.nECX], ecx - mov [edi.nEDX], edx - } -} - static void WRMSR(unsigned int msr, ULONGLONG val) { ULONG lo, hi; @@ -135,22 +112,22 @@ static int static int get_hypercall_stubs() { - CPUID_Output cpuid_output; + DWORD32 cpuid_output[4]; char xensig[13]; ULONG i; ULONG pages; ULONG msr; - CPUID(&cpuid_output, 0x40000000); - *(ULONG*)(xensig + 0) = cpuid_output.n...
2019 Sep 23
6
[PATCH v2 0/5] remove unused gnulib modules
This is an extended version of: https://www.redhat.com/archives/libguestfs/2019-September/msg00178.html It adds a couple of simple code changes, so it makes it possible to drop more modules. In addition, more unused modules were dropped. Pino Toscano (5): tests: switch away from xgetcwd daemon: move read_whole_file to common utils daemon: switch from read_file to read_whole_file daemon:
2019 Nov 27
7
[PATCH v3 0/6] remove unused build stuff
This is an extended version of: https://www.redhat.com/archives/libguestfs/2019-September/msg00288.html Apparently I forgot it on my tree, so I'm posting that series again, adding an extra cleanup more due to the v2v/common splits. Pino Toscano (6): tests: switch away from xgetcwd daemon: move read_whole_file to common utils daemon: switch from read_file to read_whole_file daemon:
2015 Sep 04
0
Wine release 1.7.51
...ft overflows. quartz: Replace four occurrences of 1 << 31 by 1u << 31 to avoid shift overflow. winex11: Make a constant unsigned to avoid shift overflow in get_locale_kbd_layout. include: Define HIDP_STATUS constants via unsigned parameters. rpcrt4/tests: Cast to ULONGLONG instead of LONGLONG to avoid shift overflow. Hans Leidekker (19): advapi32: Add well-known SID WinBuiltinAnyPackageSid. winhttp: Add support for retrieving the URL codepage. msi: Don't add the same environment string more than once. msi: Implement Installer::SummaryInfo...
2003 Aug 04
1
OpenBSD 3.2 and Release 1
...types_h.m4 Copying file m4/isc-posix.m4 Copying file m4/lcmessage.m4 Copying file m4/lib-ld.m4 Copying file m4/lib-link.m4 Copying file m4/lib-prefix.m4 Copying file m4/nls.m4 Copying file m4/po.m4 Copying file m4/progtest.m4 Copying file m4/stdint_h.m4 Copying file m4/uintmax_t.m4 Copying file m4/ulonglong.m4 Copying file mkinstalldirs Copying file po/Makefile.in.in Copying file po/Makevars.template Copying file po/Rules-quot Copying file po/boldquot.sed Copying file po/en@boldquot.header Copying file po/en@quot.header Copying file po/insert-header.sin Copying file po/quot.sed Copying file po/remove-...
2015 Oct 02
0
Wine release 1.7.52
...AEWOULDBLOCK for non-overlapped SIO_ADDRESS_LIST_CHANGE requests on non-blocking sockets. Florian Pelz (1): po: German translation: Various fixes. Gerald Pfeifer (9): server: Replace 1 << 31 by 1u << 31 to avoid shift overflow in in get_active_hooks. propsys: Cast to ULONGLONG instead of LONGLONG in test_intconversions test_intconversions to avoid shift overflow. d3dcompiler_43: Replace 14 instances of 1 << 31 by 1u << 31 to avoid shift shift overflow. gdi32: Avoid two cases of shift overflow in get_glyph_indices. mshtml: Adjust NS_ERROR_GEN...