Displaying 8 results from an estimated 8 matches for "ptr_type".
2009 Oct 20
3
[LLVMdev] Dereference PointerType?
...39;m wondering if it's possible to dereference a PointerType. I have an
AllocaInst and although I can find the number of elements allocated, (using
Instruction::getOperand(0)), I can't find a way to get the size of each
element. What I'd like to do is:
AllocaInst *alloca;
PointerType *ptr_type = dynamic_cast<PointerType*>(alloca);
assert(ptr_type);
Type *allocated_type = ptr_type->dereference(); // this is the operation
that doesn't seem to exist.
size_t size;
if (isa<PointerType>(allocated_type)) {
size = sizeof(void*) * 8;
} else {
size = allocated_type->getPr...
2009 Oct 20
0
[LLVMdev] Dereference PointerType?
...le to dereference a PointerType. I have an
> AllocaInst and although I can find the number of elements allocated, (using
> Instruction::getOperand(0)), I can't find a way to get the size of each
> element. What I'd like to do is:
>
> AllocaInst *alloca;
>
> PointerType *ptr_type = dynamic_cast<PointerType*>(alloca);
> assert(ptr_type);
> Type *allocated_type = ptr_type->dereference(); // this is the operation
> that doesn't seem to exist.
> size_t size;
> if (isa<PointerType>(allocated_type)) {
> size = sizeof(void*) * 8;
> } else...
2009 Oct 20
1
[LLVMdev] Dereference PointerType?
Hi Daniel,
> Type *allocated_type = ptr_type->dereference(); // this is the
> operation that doesn't seem to exist.
Type *allocated_type = ptr_type->getElementType();
Ciao,
Duncan.
2004 Aug 02
1
3.0.4/LDAP/AIX Success! but.....
...(635)
0000 num_rids1: 00000000
[2004/08/02 07:53:47, 5] rpc_parse/parse_prs.c:prs_uint32(635)
0004 ptr_rids : 00000000
[2004/08/02 07:53:47, 5] rpc_parse/parse_prs.c:prs_uint32(635)
0008 num_types1: 00000000
[2004/08/02 07:53:47, 5] rpc_parse/parse_prs.c:prs_uint32(635)
000c ptr_types : 00000000
[2004/08/02 07:53:47, 5] rpc_parse/parse_prs.c:prs_ntstatus(665)
0010 status: NT_STATUS_NONE_MAPPED
[2004/08/02 07:53:47, 5] rpc_server/srv_pipe.c:api_rpcTNP(1575)
api_rpcTNP: called samr successfully
It means that the SID portion of sambaSID attribute of the machine account
i...
2004 May 06
0
Samba using a MySQL passdb for machine records
...(635)
0000 num_rids1: 00000000
[2004/05/05 15:28:45, 5] rpc_parse/parse_prs.c:prs_uint32(635)
0004 ptr_rids : 00000000
[2004/05/05 15:28:45, 5] rpc_parse/parse_prs.c:prs_uint32(635)
0008 num_types1: 00000000
[2004/05/05 15:28:45, 5] rpc_parse/parse_prs.c:prs_uint32(635)
000c ptr_types : 00000000
[2004/05/05 15:28:45, 5] rpc_parse/parse_prs.c:prs_ntstatus(665)
0010 status: NT_STATUS_NONE_MAPPED
[2004/05/05 15:28:45, 5] rpc_server/srv_pipe.c:api_rpcTNP(1549)
api_rpcTNP: called samr successfully
Config for that passdb source:
systems:mysql host = mydbhost
systems:my...
2004 Aug 31
0
Samba 3.0.6 + LDAP
...(635)
0000 num_rids1: 00000000
[2004/08/31 16:12:27, 5] rpc_parse/parse_prs.c:prs_uint32(635)
0004 ptr_rids : 00000000
[2004/08/31 16:12:27, 5] rpc_parse/parse_prs.c:prs_uint32(635)
0008 num_types1: 00000000
[2004/08/31 16:12:27, 5] rpc_parse/parse_prs.c:prs_uint32(635)
000c ptr_types : 00000000
[2004/08/31 16:12:27, 5] rpc_parse/parse_prs.c:prs_ntstatus(665)
0010 status: NT_STATUS_NONE_MAPPED
[2004/08/31 16:12:27, 5] rpc_server/srv_pipe.c:api_rpcTNP(1581)
api_rpcTNP: called samr successfully
[2004/08/31 16:12:27, 3] rpc_server/srv_pipe_hnd.c:free_pipe_context(544)
fr...
2003 Aug 31
1
Samba joining Samba-based NT-Domain w/ 2.2
Hi,
I'm having terrible difficulties getting Samba to cooperate. I have the
following scenario:
Samba 2.2.3 set up as a PDC on a linux machine (turing, with the domain
set to DEFAULTDOMAIN), working fine with a win2k client.
Now I wish to join a Samba 2.2 linux machine was a domain member server
(moog), and I can't seem to convince samba to do what I want it to.
moog$ is set up on the PDC
2008 Mar 31
0
xp can not join domaine !
...(708)
0008 num_rids2: 00000001
[2008/03/13 00:17:05, 5] rpc_parse/parse_prs.c:prs_uint32(708)
000c rid[00] : 00000bc2
[2008/03/13 00:17:05, 5] rpc_parse/parse_prs.c:prs_uint32(708)
0010 num_types1: 00000001
[2008/03/13 00:17:05, 5] rpc_parse/parse_prs.c:prs_uint32(708)
0014 ptr_types : 00000001
[2008/03/13 00:17:05, 5] rpc_parse/parse_prs.c:prs_uint32(708)
0018 num_types2: 00000001
[2008/03/13 00:17:05, 5] rpc_parse/parse_prs.c:prs_uint32(708)
001c type[00] : 00000001
[2008/03/13 00:17:05, 5] rpc_parse/parse_prs.c:prs_ntstatus(767)
0020 status: NT_STATUS_OK...