Displaying 7 results from an estimated 7 matches for "strcut".
Did you mean:
strcat
2013 Jul 11
0
[LLVMdev] Getting strcut member attributes
Hi,
I need a help,
#define OPT
#define MAN
struct A
{
int i;
char* c;
};
struct B
{
OPT A a;
MAN int i;
};
After parsing the above .h file, how to get the attributes of B members specifically
for member A which is prefixed with OPT...
So far am able to get type of a as A but unable to OPT...as it might be preprocessed and as it is empty
it may discarded or...
regards
ragha
2013 Jul 10
3
[LLVMdev] Getting strcut member attributes
Hi,
I need a help,
#define OPT
#define MAN
struct A
{
int i;
char* c;
};
struct B
{
OPT A a;
MAN int i;
};
After parsing the above .h file, how to get the attributes of B members specifically
for member A which is prefixed with OPT...
So far am able to get type of a as A but unable to OPT...as it might be preprocessed and as it is empty
it may discarded or...
regards
ragha
2004 Dec 09
1
Exim4 authentication patch
...ock)
+{
+ auth_dovecot_options_block *ob =
+ (auth_dovecot_options_block *)(ablock->options_block);
+
+ if (ablock->public_name == NULL)
+ ablock->public_name = ablock->name;
+ if (ob->server_socket != NULL)
+ ablock->server = TRUE;
+ ablock->client = FALSE;
+}
+
+static int strcut(char *str, char **ptrs, int nptrs)
+{
+ char *tmp = str;
+ int n;
+
+ for (n = 0; n < nptrs; n++)
+ ptrs[n] = NULL;
+ n = 1;
+
+ while (*str) {
+ if (*str == '\t') {
+ if (n <= nptrs) {
+ *ptrs++ = tmp;
+ tmp = str + 1;
+ *str = 0;
+ }
+ n++;
+ }
+ str++;
+ }
+
+ if...
2008 Jul 02
2
spss long labels
...l);
+ }
+ }
+ p = &endp[1]; /* put to next */
+ } while (endp);
+
+ free(data);
+ return 1;
+
+lossage:
+ free(data);
+ return 0;
+}
+
+static int
read_header (struct file_handle * h, struct sfm_read_info * inf)
{
struct sfm_fhuser_ext *ext = h->ext; /* File extension strcut. */
struct sysfile_header hdr; /* Disk buffer. */
struct dictionary *dict; /* File dictionary. */
char prod_name[sizeof hdr.prod_name + 1]; /* Buffer for product name. */
- int skip_amt = 0; /* Amount of product name to omit. */
+ int skip_amt = 0; /* Amount of product na...
2014 May 08
1
[PATCH v10 07/19] qspinlock: Use a simple write to grab the lock, if applicable
On Wed, May 07, 2014 at 11:01:35AM -0400, Waiman Long wrote:
> @@ -94,23 +94,29 @@ static inline struct mcs_spinlock *decode_tail(u32 tail)
> * can allow better optimization of the lock acquisition for the pending
> * bit holder.
> */
> -#if _Q_PENDING_BITS == 8
> -
> struct __qspinlock {
> union {
> atomic_t val;
> - struct {
> #ifdef __LITTLE_ENDIAN
2014 May 08
1
[PATCH v10 07/19] qspinlock: Use a simple write to grab the lock, if applicable
On Wed, May 07, 2014 at 11:01:35AM -0400, Waiman Long wrote:
> @@ -94,23 +94,29 @@ static inline struct mcs_spinlock *decode_tail(u32 tail)
> * can allow better optimization of the lock acquisition for the pending
> * bit holder.
> */
> -#if _Q_PENDING_BITS == 8
> -
> struct __qspinlock {
> union {
> atomic_t val;
> - struct {
> #ifdef __LITTLE_ENDIAN
2011 Sep 18
5
Inefficient storing of ISO images with compress=lzo
I''ve noticed that:
- with x86-64 Fedora 15 DVD install images:
- du -sh <ROOT VOLUME> was 36 GB
- btrfs df | grep -i data have shown over 40 GB used
- without
- du -sh <ROOT VOLUME> is 34 GB
- btrfs df | grep -i data have shown less then 34 GB used
It seems that iso files are considered compressable while they may not be (and penalty is severe - 3x).
Regards