search for: uint16

Displaying 20 results from an estimated 98 matches for "uint16".

2015 Jul 09
9
[LLVMdev] [RFC] New StackMap format proposal (StackMap v2)
...ffset (bytes) uint32 : StackMap Records Offset (bytes) uint32 : Locations Offset (bytes) uint32 : LiveOuts Offset (bytes) } align to 8 bytes Constants[] { uint64 : LargeConstant } align to 8 bytes FrameRecord[] { uint64 : Function Address uint32 : Function Size uint32 : Stack Size uint16 : Flags { bool : HasFrame bool : HasVariableSizeAlloca bool : HasStackRealignment bool : HasLiveOutInfo bool : Reserved [12] } uint16 : Frame Base Register Dwarf RegNum uint16 : Num Frame Registers uint16 : Frame Register Index uint16 : Num StackMap Records uint16 :...
2015 Jul 09
5
[LLVMdev] [RFC] New StackMap format proposal (StackMap v2)
...cations Offset (bytes) > uint32 : LiveOuts Offset (bytes) > } > > align to 8 bytes > Constants[] { > uint64 : LargeConstant > } > > align to 8 bytes > FrameRecord[] { > uint64 : Function Address > uint32 : Function Size > uint32 : Stack Size > uint16 : Flags { > bool : HasFrame > bool : HasVariableSizeAlloca > bool : HasStackRealignment > bool : HasLiveOutInfo > bool : Reserved [12] > } > uint16 : Frame Base Register Dwarf RegNum > uint16 : Num Frame Registers > uint16 : Frame Register Inde...
2012 Feb 23
1
[LLVMdev] Simple question on sign
...the use of zext and sext to differentiate what containers the values are being loaded into in the IR. Basically I'm trying to describe patterns for automatically selecting between various multiplication instructions: #define MULL(t,s1,s2) t = (s1) * INT16(s2) #define MULLU(t,s1,s2) t = (s1) * UINT16(s2) #define MULH(t,s1,s2) t = (s1) * INT16((s2) >> 16) #define MULHU(t,s1,s2) t = (s1) * UINT16((s2) >> 16) #define MULHS(t,s1,s2) t = ((s1) * UINT16((s2) >> 16)) << 16 #define MULLL(t,s1,s2) t = INT16(s1) * INT16(s2) #define MULLLU(t,s1,s2) t = UINT16(s1) * UINT16(s2) #def...
2007 May 30
2
[LLVMdev] wrong codegen
hi, the current release_20 branch seems to miscompile the following reduced testcase (not target architecture specific): #define UInt16 unsigned short #define UInt8 unsigned char UInt8 foo(UInt16 a) { return (UInt8)(((a >> 10) & 1) << 1); } it - misleadingly - optimizes the expression to something like (undef & 2). I guess the problem is related to the DAG combiner but I haven't done a thorough analysis...
2012 Feb 23
0
[LLVMdev] Simple question on sign
Hi Sam, I am not a MIPS expert by any means, so YMMV, but: MIPS addu only differs to "add" in its (non)setting of the overflow flag. Because LLVM doesn't provide a way via the IR to access the overflow flag, a special notation isn't required in the IR to distinguish the two operations. Do you have another example? Cheers, James -----Original Message----- From:
2012 Feb 23
2
[LLVMdev] Simple question on sign
Thanks for the replies guys but I think I should have phrased my question better... looking at the Mips backend there are machine instructions that operate on signed and unsigned data, such as add and addu. And like Mips, I need to specify unsigned specific instructions, so how do these get chosen between if the LLVM IR does not carry type data? A very general point in the right direction is all i
2007 May 30
0
[LLVMdev] wrong codegen
On Wed, 30 May 2007, Dietmar Ebner wrote: > the current release_20 branch seems to miscompile the following reduced > testcase (not target architecture specific): > > #define UInt16 unsigned short > #define UInt8 unsigned char > UInt8 foo(UInt16 a) { > return (UInt8)(((a >> 10) & 1) << 1); > } > > it - misleadingly - optimizes the expression to something like (undef & > 2). I guess the problem is related to the DAG combiner but I haven...
2014 Sep 15
2
[LLVMdev] codeview debug info in Visual Studio
...t one always has the object file name and what seems the compiler name and flags. I cloned that whole thing and it didn't make it work. If I had to guess it would be that it's one of the other two 0xF1 blocks but I can't find any information on those besides the basic format (Len: UInt16, Type: UInt16, Data), these new codeview block types I can't find at all though, at this point I'm rather stuck. -- Carlo Kok RemObjects Software -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/...
2017 May 26
9
[Bug 12806] New: Deleting in a row of hardlinked snapshots resets file permissions.
https://bugzilla.samba.org/show_bug.cgi?id=12806 Bug ID: 12806 Summary: Deleting in a row of hardlinked snapshots resets file permissions. Product: rsync Version: 3.1.0 Hardware: All OS: All Status: NEW Severity: normal Priority: P5 Component: core
2015 Nov 12
3
Inexplicable ASAN report. Code generation bug?
...byte short which an expression that looks like (n)->choice.n_short.n_header with the structure and union looking like these: struct NumericData { int32 vl_len_; /* varlena header (do not touch directly!) */ union NumericChoice choice; /* choice of format */ }; union NumericChoice { uint16 n_header; /* Header word */ struct NumericLong n_long; /* Long form (4-byte header) */ struct NumericShort n_short; /* Short form (2-byte header) */ }; struct NumericShort { uint16 n_header; /* Sign + display scale + weight */ NumericDigit n_data[FLEXIBLE_ARRAY_MEMBER]; /* Digits *...
2017 Jun 08
0
[Bug 12806] Deleting in a row of hardlinked snapshots resets file permissions.
...tory it is located in. (Now you have to convince the "appliance" to use a patched rsync ...) Cheers, Lars Ellenberg diff --git a/delete.c b/delete.c index 88e4230..223b6d2 100644 --- a/delete.c +++ b/delete.c @@ -97,10 +97,10 @@ static enum delret delete_dir_contents(char *fname, uint16 flags) } strlcpy(p, fp->basename, remainder); - if (!(fp->mode & S_IWUSR) && !am_root && fp->flags & FLAG_OWNED_BY_US) - do_chmod(fname, fp->mode | S_IWUSR); /* Save stack by recursing to ourself directly. */...
2013 Nov 26
3
[PATCH v3 3/8] OvmfPkg: define EFI_XEN_OVMF_INFO and extend XenInfo
...S OR IMPLIED. #ifndef __XEN_INFO_H__ #define __XEN_INFO_H__ +#include <Uefi/UefiBaseType.h> + #define EFI_XEN_INFO_GUID \ { 0xd3b46f3b, 0xd441, 0x1244, {0x9a, 0x12, 0x0, 0x12, 0x27, 0x3f, 0xc1, 0x4d } } @@ -35,6 +37,11 @@ typedef struct { /// Hypervisor minor version. /// UINT16 VersionMinor; + /// + /// E820 map + /// + EFI_PHYSICAL_ADDRESS E820; + UINT32 E820EntriesCount; } EFI_XEN_INFO; extern EFI_GUID gEfiXenInfoGuid; diff --git a/OvmfPkg/PlatformPei/Xen.h b/OvmfPkg/PlatformPei/Xen.h new file mode 100644 index 0000000..1885ede --- /dev/null +++ b/OvmfPkg/Platf...
2014 Sep 15
2
[LLVMdev] codeview debug info in Visual Studio
On Mon, Sep 15, 2014 at 10:11 AM, Carlo Kok <ck at remobjects.com> wrote: > > I think I have VS2010 somewhere yes. Any hints on where to find this > problem so I can try to solve it myself? > Sure, llvm/lib/CodeGen/AsmPrinter/WinCodeViewLineTables.cpp -------------- next part -------------- An HTML attachment was scrubbed... URL:
2023 May 17
1
[PATCH] Fix the counting of device files and symlinks
...e counted as devices, not symlinks. Marc. diff -aNpRruz -X /etc/diff.excludes rsync-3.2.7/delete.c devel-3.2.7/delete.c --- rsync-3.2.7/delete.c 2020-06-13 20:15:02.000000000 -0600 +++ devel-3.2.7/delete.c 2020-06-13 20:15:02.000000000 -0600 @@ -188,7 +188,7 @@ enum delret delete_item(char *fbuf, uint16 mode, uint16 flags) stats.deleted_symlinks++; #endif else if (IS_DEVICE(mode)) - stats.deleted_symlinks++; + stats.deleted_devices++; else stats.deleted_specials++; } diff -aNpRruz -X /etc/diff.excludes rsync-3.2.7/flist.c devel-3.2.7/flist.c --- rsync-3.2.7/flist.c 2022...
2004 Aug 05
0
Samba Installation Issues on QNX
...lled data type near 'uint32' include/nt_status.h(48): Error! E1022: Missing or misspelled data type near 'uint32' include/ntioctl.h(81): Error! E1022: Missing or misspelled data type near 'uint32' include/charset.h(47): Error! E1022: Missing or misspelled data type near 'uint16' include/charset.h(48): Error! E1022: Missing or misspelled data type near 'uint16' include/charset.h(49): Error! E1022: Missing or misspelled data type near 'int32' Please help. Regards, Anirban
2005 May 18
1
Samba Comple Problem on Solaris 2.8
...SO_RCVBUF=8192 SO_SNDBUF=8192 # wins server = 128.8.130.146 [tmp] path = /tmp browseable = yes writeable = yes ------ derek@supernova:/opt/UMsmb/sbin# ./smbd -c /etc/samba/smb.conf -i -b | tail sizeof(int): 4 sizeof(long): 4 sizeof(uint8): 1 sizeof(uint16): 2 sizeof(uint32): 4 sizeof(short): 2 sizeof(void*): 4 Builtin modules: pdb_guest rpc_srv rpc_spoolss idmap_tdb ------- And if you look at a good RHEL3 box, [derek@xanadu /]$ cat /etc/redhat-release Red Hat Enterprise Linux WS release 3 (Taroon Update 4) [derek@xanadu /]$ rpm...
2003 Jul 09
2
Samba3b2, solaris, AD suport and libiconv.
...ity! checking for Linux kernel oplocks... no checking for kernel change notify support... no checking for kernel share modes... no checking for IRIX kernel oplock type definitions... no checking for irix specific capabilities... no checking for int16 typedef included by rpc/rpc.h... no checking for uint16 typedef included by rpc/rpc.h... no checking for int32 typedef included by rpc/rpc.h... no checking for uint32 typedef included by rpc/rpc.h... no checking for conflicting AUTH_ERROR define in rpc/rpc.h... no checking for test routines... configure: error: cant find test code. Aborting config The...
2003 Feb 21
1
PATCH: downloading drivers from Solaris [was Re: So SAMBA no longer ...]
.../data/cvs/samba/source/rpc_server/srv_spoolss_nt.c,v retrieving revision 1.115.2.224 diff -u -B -b -r1.115.2.224 srv_spoolss_nt.c --- source/rpc_server/srv_spoolss_nt.c 13 Feb 2003 19:40:21 -0000 1.115.2.224 +++ source/rpc_server/srv_spoolss_nt.c 21 Feb 2003 00:15:05 -0000 @@ -7876,12 +7876,22 @@ uint16 enumkeys[ENUMERATED_KEY_SIZE+1]; char* ptr = NULL; int i; - char *PrinterKey = "PrinterDriverData"; + fstring PrinterKey; + UNISTR2 uni_keys; + int enum_key_len; DEBUG(4,("_spoolss_enumprinterkey\n")); unistr2_to_dos(key, &q_u->key, sizeof(key) - 1);...
2002 Dec 10
1
Non-installation of Samba
...ages before failing as follows: ... ... ... checking for kernel change notify support... no checking for kernel share modes... no checking for IRIX kernel oplock type definitions... no checking for irix specific capabilities... no checking for int16 typedef included by rpc/rpc.h... no checking for uint16 typedef included by rpc/rpc.h... no checking for int32 typedef included by rpc/rpc.h... no checking for uint32 typedef included by rpc/rpc.h... no checking for conflicting AUTH_ERROR define in rpc/rpc.h... no checking for test routines... configure: error: cant find test code. Aborting config # I...
1999 Oct 08
0
FW: lsa query failing
Noticed that no-one has applied this patch to the current 2.0 tree yet. It does work - I've tested it. Alan. *** srv_lsa.c.old Tue Sep 14 09:09:12 1999 --- srv_lsa.c Tue Sep 14 09:12:19 1999 *************** *** 586,603 **** static BOOL api_lsa_close( uint16 vuid, prs_struct *data, prs_struct *rdata) { ! /* XXXX this is NOT good */ ! size_t i; ! uint32 dummy = 0; ! ! for(i =0; i < 5; i++) { ! if(!prs_uint32("api_lsa_close", rdata, 1, &dummy)) { ! DEBUG(0,("api_lsa_close: prs_uint32 %...