您当前的位置:首页 > IT编程 > C++
| C语言 | Java | VB | VC | python | Android | TensorFlow | C++ | oracle | 学术与代码 | cnn卷积神经网络 | gnn | 图像修复 | Keras | 数据集 | Neo4j | 自然语言处理 | 深度学习 | 医学CAD | 医学影像 | 超参数 | pointnet | pytorch | 异常检测 | Transformers | 情感分类 | 知识图谱 |

自学教程:C++ ustrlen函数代码示例

51自学网 2021-06-03 09:23:31
  C++
这篇教程C++ ustrlen函数代码示例写得很实用,希望能帮到您。

本文整理汇总了C++中ustrlen函数的典型用法代码示例。如果您正苦于以下问题:C++ ustrlen函数的具体用法?C++ ustrlen怎么用?C++ ustrlen使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。

在下文中一共展示了ustrlen函数的25个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。

示例1: render_plot_add_string

/* * Add a string structure to the symbol. * Coordinates assumed to be from top-center. */int render_plot_add_string(struct zint_symbol *symbol,		unsigned char *text, float x, float y, float fsize, float width,		struct zint_render_string **last_string){	struct zint_render_string *string;#ifndef _MSC_VER	string = malloc(sizeof(struct zint_render_string));#else	string = (struct zint_render_string *)_alloca(sizeof(struct zint_render_string));#endif	string->next = NULL;	string->x = x;	string->y = y;	string->width = width; 	string->fsize = fsize;	string->length = ustrlen(text);#ifndef _MSC_VER	string->text = malloc(sizeof(unsigned char) * (ustrlen(text) + 1));#else	string->text = (unsigned char *)_alloca((ustrlen(text) + 1) * sizeof(unsigned char));#endif	ustrcpy(string->text, text);	if (*last_string)		(*last_string)->next = string;	else		symbol->rendered->strings = string; // First character	*last_string = string;	return 1;}
开发者ID:Jinxiaohai,项目名称:QT,代码行数:36,


示例2: enqMsg

/* enqueue the the kernel message into the message queue. * The provided msg string is not freed - thus must be done * by the caller. * rgerhards, 2008-04-12 */static rsRetValenqMsg(uchar *msg, uchar* pszTag, int iFacility, int iSeverity){	DEFiRet;	msg_t *pMsg;	assert(msg != NULL);	assert(pszTag != NULL);	CHKiRet(msgConstruct(&pMsg));	MsgSetFlowControlType(pMsg, eFLOWCTL_LIGHT_DELAY);	MsgSetInputName(pMsg, pInputName);	MsgSetRawMsgWOSize(pMsg, (char*)msg);	MsgSetMSGoffs(pMsg, 0);	/* we do not have a header... */	MsgSetRcvFrom(pMsg, glbl.GetLocalHostNameProp());	MsgSetRcvFromIP(pMsg, pLocalHostIP);	MsgSetHOSTNAME(pMsg, glbl.GetLocalHostName(), ustrlen(glbl.GetLocalHostName()));	MsgSetTAG(pMsg, pszTag, ustrlen(pszTag));	pMsg->iFacility = LOG_FAC(iFacility);	pMsg->iSeverity = LOG_PRI(iSeverity);	CHKiRet(submitMsg(pMsg));finalize_it:	RETiRet;}
开发者ID:newgene,项目名称:rsyslogd-mongo,代码行数:30,


示例3: enqMsg

/* enqueue the the kernel message into the message queue. * The provided msg string is not freed - thus must be done * by the caller. * rgerhards, 2008-04-12 */static rsRetValenqMsg(uchar *msg, uchar* pszTag, syslog_pri_t pri, struct timeval *tp, struct json_object *json){	struct syslogTime st;	msg_t *pMsg;	DEFiRet;	assert(msg != NULL);	assert(pszTag != NULL);	if(tp == NULL) {		CHKiRet(msgConstruct(&pMsg));	} else {		datetime.timeval2syslogTime(tp, &st);		CHKiRet(msgConstructWithTime(&pMsg, &st, tp->tv_sec));	}	MsgSetFlowControlType(pMsg, eFLOWCTL_LIGHT_DELAY);	MsgSetInputName(pMsg, pInputName);	MsgSetRawMsgWOSize(pMsg, (char*)msg);	MsgSetMSGoffs(pMsg, 0);	/* we do not have a header... */	MsgSetRcvFrom(pMsg, glbl.GetLocalHostNameProp());	MsgSetRcvFromIP(pMsg, pLocalHostIP);	MsgSetHOSTNAME(pMsg, glbl.GetLocalHostName(), ustrlen(glbl.GetLocalHostName()));	MsgSetTAG(pMsg, pszTag, ustrlen(pszTag));	msgSetPRI(pMsg, pri);	pMsg->json = json;	CHKiRet(submitMsg(pMsg));finalize_it:	RETiRet;}
开发者ID:henrid14,项目名称:rsyslog,代码行数:36,


示例4: uconcat

void uconcat(unsigned char dest[], const unsigned char source[]){ /* Concatinates dest[] with the contents of source[], copying /0 as well */	unsigned int i, j;	j = ustrlen(dest);	for(i = 0; i <= ustrlen(source); i++) {		dest[i + j] = source[i]; }}
开发者ID:Ulle84,项目名称:UllesSourceCode,代码行数:8,


示例5: m_name

Bkmk::Bkmk(const Bkmk& rhs)    : m_name(0)    , m_namelen(0)    , m_anno(0)    , m_annolen(0)    , m_position(0){    init(rhs.name(), sizeof(tchar)*(ustrlen(rhs.name())+1), rhs.anno(),         sizeof(tchar)*(ustrlen(rhs.anno())+1), rhs.value());}
开发者ID:opieproject,项目名称:opie,代码行数:10,


示例6: ustrcat

int ustrcat(wchar *dest, wchar *src){	int dest_len, src_len;		dest_len=ustrlen(dest);	src_len=ustrlen(src);	for(int src_index=0; src_index<=src_len; src_index++)		dest[dest_len+src_index]=src[src_index];	return dest_len+src_len;}
开发者ID:bignit,项目名称:zkdecrypto,代码行数:12,


示例7: doGetWord

/* Parse and a word config line option. A word is a consequtive * sequence of non-whitespace characters. pVal must be * a pointer to a string which is to receive the option * value. The returned string must be freed by the caller. * rgerhards, 2007-09-07 * To facilitate multiple instances of the same command line * directive, doGetWord() now checks if pVal is already a * non-NULL pointer. If so, we assume it was created by a previous * incarnation and is automatically freed. This happens only when * no custom handler is defined. If it is, the customer handler * must do the cleanup. I have checked and this was al also memory * leak with some code. Obviously, not a large one. -- rgerhards, 2007-12-20 * Just to clarify: if pVal is parsed to a custom handler, this handler * is responsible for freeing pVal. -- rgerhards, 2008-03-20 */static rsRetVal doGetWord(uchar **pp, rsRetVal (*pSetHdlr)(void*, uchar*), void *pVal){	DEFiRet;	cstr_t *pStrB = NULL;	uchar *pNewVal;	ASSERT(pp != NULL);	ASSERT(*pp != NULL);	CHKiRet(getWord(pp, &pStrB));	CHKiRet(cstrConvSzStrAndDestruct(&pStrB, &pNewVal, 0));	DBGPRINTF("doGetWord: get newval '%s' (len %d), hdlr %p/n",		  pNewVal, (int) ustrlen(pNewVal), pSetHdlr);	/* we got the word, now set it */	if(pSetHdlr == NULL) {		/* we should set value directly to var */		if(*((uchar**)pVal) != NULL)			free(*((uchar**)pVal)); /* free previous entry */		*((uchar**)pVal) = pNewVal; /* set new one */	} else {		/* we set value via a set function */		CHKiRet(pSetHdlr(pVal, pNewVal));	}	skipWhiteSpace(pp); /* skip over any whitespace */finalize_it:	if(iRet != RS_RET_OK) {		if(pStrB != NULL)			cstrDestruct(&pStrB);	}	RETiRet;}
开发者ID:Werkov,项目名称:rsyslog,代码行数:50,


示例8: addNewLstnPort

/* add new listener port to listener port list * rgerhards, 2009-05-21 */static inline rsRetValaddNewLstnPort(tcpsrv_t *pThis, uchar *pszPort, int bSuppOctetFram, uchar *pszAddr){	tcpLstnPortList_t *pEntry;	uchar statname[64];	DEFiRet;	ISOBJ_TYPE_assert(pThis, tcpsrv);	/* create entry */	CHKmalloc(pEntry = MALLOC(sizeof(tcpLstnPortList_t)));	if((pEntry->pszPort = ustrdup(pszPort)) == NULL) {		DBGPRINTF("tcpsrv/addNewLstnPort: OOM in strdup()/n");		free(pEntry);		ABORT_FINALIZE(RS_RET_OUT_OF_MEMORY);	}        pEntry->pszAddr = NULL;        /* only if a bind adress is defined copy it in struct */        if (pszAddr != NULL) {		if((pEntry->pszAddr = ustrdup(pszAddr)) == NULL) {			DBGPRINTF("tcpsrv/addNewLstnPort: OOM in strdup() 2/n");			free(pEntry->pszPort);			free(pEntry);			ABORT_FINALIZE(RS_RET_OUT_OF_MEMORY);		}	}	strcpy((char*)pEntry->dfltTZ, (char*)pThis->dfltTZ);	pEntry->bSPFramingFix = pThis->bSPFramingFix;	pEntry->pSrv = pThis;	pEntry->pRuleset = pThis->pRuleset;	pEntry->bSuppOctetFram = bSuppOctetFram;	/* we need to create a property */ 	CHKiRet(prop.Construct(&pEntry->pInputName));	CHKiRet(prop.SetString(pEntry->pInputName, pThis->pszInputName, ustrlen(pThis->pszInputName)));	CHKiRet(prop.ConstructFinalize(pEntry->pInputName));	/* and add to list */	pEntry->pNext = pThis->pLstnPorts;	pThis->pLstnPorts = pEntry;	/* support statistics gathering */	CHKiRet(statsobj.Construct(&(pEntry->stats)));	snprintf((char*)statname, sizeof(statname), "%s(%s)", pThis->pszInputName, pszPort);	statname[sizeof(statname)-1] = '/0'; /* just to be on the save side... */	CHKiRet(statsobj.SetName(pEntry->stats, statname));	CHKiRet(statsobj.SetOrigin(pEntry->stats, pThis->pszOrigin));	CHKiRet(ratelimitNew(&pEntry->ratelimiter, "tcperver", NULL));	ratelimitSetLinuxLike(pEntry->ratelimiter, pThis->ratelimitInterval, pThis->ratelimitBurst);	ratelimitSetThreadSafe(pEntry->ratelimiter);	STATSCOUNTER_INIT(pEntry->ctrSubmit, pEntry->mutCtrSubmit);	CHKiRet(statsobj.AddCounter(pEntry->stats, UCHAR_CONSTANT("submitted"),		ctrType_IntCtr, CTR_FLAG_RESETTABLE, &(pEntry->ctrSubmit)));	CHKiRet(statsobj.ConstructFinalize(pEntry->stats));finalize_it:	RETiRet;}
开发者ID:JosephGregg,项目名称:rsyslog,代码行数:63,


示例9: doSubmitMsg

/* actually submit a message to the rsyslog core */static inline voiddoSubmitMsg(uchar *line){	msg_t *pMsg;	DEFiRet;	CHKiRet(msgConstruct(&pMsg));	MsgSetInputName(pMsg, pInputName);	MsgSetRawMsgWOSize(pMsg, (char*)line);	MsgSetHOSTNAME(pMsg, glbl.GetLocalHostName(), ustrlen(glbl.GetLocalHostName()));	MsgSetRcvFrom(pMsg, glbl.GetLocalHostNameProp());	MsgSetRcvFromIP(pMsg, glbl.GetLocalHostIP());	MsgSetMSGoffs(pMsg, 0);	MsgSetTAG(pMsg, UCHAR_CONSTANT("rsyslogd-pstats:"), sizeof("rsyslogd-pstats:") - 1);	pMsg->iFacility = runModConf->iFacility;	pMsg->iSeverity = runModConf->iSeverity;	pMsg->msgFlags  = 0;	/* we do not use rate-limiting, as the stats message always need to be emitted */	submitMsg2(pMsg);	DBGPRINTF("impstats: submit [%d,%d] msg '%s'/n", runModConf->iFacility,	          runModConf->iSeverity, line);finalize_it:	return;}
开发者ID:ahtotruu,项目名称:rsyslog,代码行数:28,


示例10: ec39

int ec39(struct zint_symbol *symbol, unsigned char source[], unsigned int length){ /* Extended Code 39 - ISO/IEC 16388:2007 Annex A */	unsigned char buffer[150] = { 0 };	unsigned int i;    int error_number = 0;	if(length > 74) {		strcpy(symbol->errtxt, "Input too long");		return ERROR_TOO_LONG;	}		/* Creates a buffer string and places control characters into it */	for(i = 0; i < length; i++) {		if(source[i] > 127) {			/* Cannot encode extended ASCII */			strcpy(symbol->errtxt, "Invalid characters in input data");            return ERROR_INVALID_DATA1;		}		concat((char*)buffer, EC39Ctrl[source[i]]);			}	/* Then sends the buffer to the C39 function */	error_number = c39(symbol, buffer, ustrlen(buffer));		for(i = 0; i < length; i++)		symbol->text[i] = source[i] ? source[i] : ' ';	symbol->text[length] = '/0';	return error_number;}
开发者ID:gamalielmendez,项目名称:BibliotecaImpresionSql,代码行数:31,


示例11: set_changelist_internal

static void set_changelist_internal(path_t *path, uint8_t *filename, uint8_t at_end) {  FRESULT res;  /* Assume this isn't the auto-swap list */  globalflags &= (uint8_t)~AUTOSWAP_ACTIVE;  /* Remove the old swaplist */  if (swaplist.fs != NULL) {    f_close(&swaplist);    memset(&swaplist,0,sizeof(swaplist));  }  if (ustrlen(filename) == 0)    return;  /* Open a new swaplist */  partition[path->part].fatfs.curr_dir = path->dir.fat;  res = f_open(&partition[path->part].fatfs, &swaplist, filename, FA_READ | FA_OPEN_EXISTING);  if (res != FR_OK) {    parse_error(res,1);    return;  }  /* Remember its directory so relative paths work */  swappath = *path;  if (at_end)    linenum = 255;  else    linenum = 0;  if (mount_line())    confirm_blink(BLINK_HOME);}
开发者ID:teki,项目名称:sd2iec-mirror,代码行数:34,


示例12: ustrwid

int ustrwid(wchar_t const *s, int charset){    char buf[256];    int wid, len = ustrlen(s);    charset_state state = CHARSET_INIT_STATE;    wid = 0;    while (len > 0) {	int err;	wchar_t const *s_orig;	err = 0;	s_orig = s;        charset_from_unicode(&s, &len, buf, lenof(buf), charset, &state, &err);	wid += wcswidth(s_orig, s - s_orig);	if (err) {	    assert(len > 0 && *s);	    s++;	    len--;	}    }    return wid;}
开发者ID:mloar,项目名称:halibut,代码行数:25,


示例13: to_latin1

void to_latin1(unsigned char source[], unsigned char preprocessed[]){	int j, i, input_length;	input_length = ustrlen(source);	j = 0;	i = 0;	do {		if(source[i] < 128) {			preprocessed[j] = source[i];			j++;			i++;		} else {			if(source[i] == 0xC2) {				preprocessed[j] = source[i + 1];				j++;				i += 2;			}			if(source[i] == 0xC3) {				preprocessed[j] = source[i + 1] + 64;				j++;				i += 2;			}		}	} while (i < input_length);	preprocessed[j] = '/0';	return;}
开发者ID:domribaut,项目名称:zint,代码行数:30,


示例14: memcpy

UNCH *ProcessSDATA(UNCH * rslt, UNCH * t, unsigned l, unsigned &intl,ostream &ers){	UNCH *rp, *rp2, *rtn;	rp = (UNCH *)malloc(l + 1);	memcpy(rp, t, l);	rp[l] = 0;	unsigned n=0, m;	intl = 9999;	while (rp[n] == ' ')n++;	if (rp[n] == 0){free(rp);rslt[0] = 0;return rslt;}	if ((rp[n] == '#') && (rp[n+1] >= '0') && (rp[n+1] <= '9')){		m = n+1;		while ((rp[m]!=' ')&&(rp[m] != 0))m++;		rp[m] = 0;		UNCH *nmb=&rp[n+1];		intl = unsigned(atoi((char *)nmb));		rp2 = &rp[m+1];	}	else rp2 = &rp[n];	if (!IntToSeq(rp2, rslt,256,ers))rtn = 0;	else {		if (intl==9999)intl = ustrlen(rslt);		rtn = rslt;	}	free(rp);	return rtn;};
开发者ID:johnBradley501,项目名称:TACT,代码行数:27,


示例15: push_replacement_text

/* Push a context holding the replacement text of the macro NODE on   the context stack.  NODE is either object-like, or a function-like   macro with no arguments.  */static voidpush_replacement_text (cpp_reader *pfile, cpp_hashnode *node){  size_t len;  const uchar *text;  uchar *buf;  if (node->flags & NODE_BUILTIN)    {      text = _cpp_builtin_macro_text (pfile, node);      len = ustrlen (text);      buf = _cpp_unaligned_alloc (pfile, len + 1);      memcpy (buf, text, len);      buf[len]='/n';      text = buf;    }  else    {      cpp_macro *macro = node->value.macro;      macro->used = 1;      text = macro->exp.text;      len = macro->count;    }  _cpp_push_text_context (pfile, node, text, len);}
开发者ID:Fokycnuk,项目名称:gcc,代码行数:29,


示例16: ustrlen

UNCH * XlateText::GetInBuf(unsigned & inbsiz){	if (bufdone) {inbsiz = 0; SetEOD(); return 0;}	inbsiz = ustrlen(buf);	bufdone = 1;	return buf;};
开发者ID:johnBradley501,项目名称:TACT,代码行数:7,


示例17: ustrcpy

void XlateTableWriteBase::DoItem(XlateEntryData *p, unsigned lvl){	RecString tmp;	tmp.lv = lvl;	tmp.ch = p->c;	tmp.ln = p->l + 1; /* "+ 1" is in MAKEBASE j.b. */	ustrcpy(tmp.sq, p->s);	WriteData((void *)&tmp, 4+ustrlen(tmp.sq));  //4 = 3 char data, + 0 for sq term};
开发者ID:johnBradley501,项目名称:TACT,代码行数:8,


示例18: to_upper

void to_upper(unsigned char source[]){ /* Converts lower case characters to upper case in a string source[] */	unsigned int i, src_len = ustrlen(source);	for (i = 0; i < src_len; i++) {		if ((source[i] >= 'a') && (source[i] <= 'z')) {			source [i] = (source[i] - 'a') + 'A'; }	}}
开发者ID:Ulle84,项目名称:UllesSourceCode,代码行数:9,


示例19: ustrcpy

void ustrcpy(unsigned char target[], const unsigned char source[]) {    /* Local replacement for strcpy() with unsigned char strings */    int i, len;    len = ustrlen(source);    for(i = 0; i < len; i++) {        target[i] = source[i];    }    target[i] = '/0';}
开发者ID:nitin-nizhawan,项目名称:zint,代码行数:10,


示例20: to_upper

/** Converts lower case characters to upper case in a string source[] */void to_upper(unsigned char source[]){    unsigned int src_len = ustrlen(source);    for (unsigned int i = 0; i < src_len; i++) {        if ((source[i] >= 'a') && (source[i] <= 'z')) {            source[i] = (source[i] - 'a') + 'A';        }    }}
开发者ID:nitin-nizhawan,项目名称:zint,代码行数:11,


示例21: d_abitmap_list_proc

intd_abitmap_list_proc (int msg, DIALOG *d, int c){	if (msg == MSG_DRAW) {		BITMAP *bmp = gui_get_screen();		int height, size, i, len, bar, x, y;		char *sel = d->dp2;		char s[1024];		int c = 0;		if (d->flags & D_GOTFOCUS)			c = 1;		if (d->flags & D_DISABLED)			c = 2;		(*(char *(*)(int, int *)) d->dp) (-1, &size);		height = (d->h - 4) / text_height (font);		bar = (size > height);		abitmap_draw_area (d, B_LIST, 0, 0, bar ? d->w - 12 : d->w, d->h, 0, 0);		if (bar)			abitmap_draw_scroller (d, d->d2, size, height);		/* draw the contents */		for (i = 0; i < height; i++) {			if (d->d2 + i < size) {				int fg = theme->bitmaps[B_LIST][c].color;				x = d->x + 2;				y = d->y + 2 + i * text_height (font);				if (d->d2 + i == d->d1 || ((sel) && (sel[d->d2 + i]))) {					abitmap_draw_area (d, B_LIST_ITEM, 0, y - d->y,						bar ? d->w - 12 : d->w, text_height (font), 0, 0);					fg = theme->bitmaps[B_LIST_ITEM][c].color;				}				ustrzcpy (s, sizeof (s),					(*(char *(*)(int, int *)) d->dp) (i + d->d2, NULL));				x += 8;				len = ustrlen (s);				while (text_length (font, s) >=				MAX (d->w - 1 - (bar ? 22 : 11), 1)) {					len--;					usetat (s, len, 0);				}				textout_ex (bmp, font, s, x, y, fg, -1);				x += text_length (font, s);			}		}		return D_O_K;	}	return d_list_proc (msg, d, c);}
开发者ID:argarak,项目名称:tw-light,代码行数:55,


示例22: storeLocalHostIPIF

/* set the local host IP address to a specific string. Helper to * small set of functions. No checks done, caller must ensure it is * ok to call. Most importantly, the IP address must not already have  * been set. -- rgerhards, 2012-03-21 */static inline rsRetValstoreLocalHostIPIF(uchar *myIP){	DEFiRet;	CHKiRet(prop.Construct(&propLocalIPIF));	CHKiRet(prop.SetString(propLocalIPIF, myIP, ustrlen(myIP)));	CHKiRet(prop.ConstructFinalize(propLocalIPIF));	DBGPRINTF("rsyslog/glbl: using '%s' as localhost IP/n", myIP);finalize_it:	RETiRet;}
开发者ID:JosephGregg,项目名称:rsyslog,代码行数:16,


示例23: LookupHexCode

UNCH LookupHexCode(UNCH * s){	if (ustrlen(s) != 2) return '/0';	UNCH b, r = 0;	for (int i = 0; i<=1; i++){		if ((s[i] >= '0') && (s[i] <= '9')) b = '0';		else {if ((s[i] >= 'A') && (s[i] <= 'F')) b = 'A' - 10;		else return '/0';};		r = r*16 + (s[i]-b);	};	return r;}
开发者ID:johnBradley501,项目名称:TACT,代码行数:11,


示例24: main

int main(void){   // Initialization. We choose the longest common substring algorithm.   struct fc_memo m;   fc_memo_init(&m, FC_LCSUBSTR, MAX_WORD_LEN, 0);   // Set the word to find.   const char32_t *to_find = U"expeditor";   fc_memo_set_ref(&m, to_find, ustrlen(to_find));   // Iterate over all words, in lexicographical order, and compute the length   // of the longest common substring between our chosen word and the current   // word at each step.   for (size_t i = 0; lexicon[i]; i++) {      int32_t substr_len = fc_memo_compute(&m, lexicon[i], ustrlen(lexicon[i]));      printf("lexicon[%zu]: %"PRId32"/n", i, substr_len);   }   // Cleanup.   fc_memo_fini(&m);}
开发者ID:michaelnmmeyer,项目名称:faconde,代码行数:21,


示例25: write_macdef

static intwrite_macdef (cpp_reader *pfile, cpp_hashnode *hn, void *file_p){  FILE *f = (FILE *) file_p;  switch (hn->type)    {    case NT_VOID:      if (! (hn->flags & NODE_POISONED))	return 1;    case NT_MACRO:      if ((hn->flags & NODE_BUILTIN)	  && (!pfile->cb.user_builtin_macro	      || !pfile->cb.user_builtin_macro (pfile, hn)))	return 1;      {	struct macrodef_struct s;	const unsigned char *defn;	s.name_length = NODE_LEN (hn);	s.flags = hn->flags & NODE_POISONED;	if (hn->type == NT_MACRO)	  {	    defn = cpp_macro_definition (pfile, hn);	    s.definition_length = ustrlen (defn);	  }	else	  {	    defn = NODE_NAME (hn);	    s.definition_length = s.name_length;	  }	if (fwrite (&s, sizeof (s), 1, f) != 1	    || fwrite (defn, 1, s.definition_length, f) != s.definition_length)	  {	    cpp_errno (pfile, CPP_DL_ERROR,		       "while writing precompiled header");	    return 0;	  }      }      return 1;    case NT_ASSERTION:      /* Not currently implemented.  */      return 1;    default:      abort ();    }}
开发者ID:Lao16,项目名称:gcc,代码行数:52,



注:本文中的ustrlen函数示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


C++ utExit函数代码示例
C++ ustring函数代码示例
万事OK自学网:51自学网_软件自学网_CAD自学网自学excel、自学PS、自学CAD、自学C语言、自学css3实例,是一个通过网络自主学习工作技能的自学平台,网友喜欢的软件自学网站。