• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

C++ IGNORE函数代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

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



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

示例1: IGNORE

/*ARGSUSED*/ void REGALWRATH_GLU_CALL glu_wrath_gl_noBeginData( WRATH_GLUenum type, int winding_number, 
                                                               void *polygonData ) 
{
  IGNORE(polygonData);
  IGNORE(type); 
  IGNORE(winding_number); 
}
开发者ID:nomovok-opensource,项目名称:wrath,代码行数:7,代码来源:tess.cpp


示例2: delete_qso

void delete_qso(void) {

    int x;
    struct stat statbuf;
    int lfile;
    char logline[100];
    char call[15], bandmode[6];

    mvprintw(13, 29, "OK to delete last qso (y/n)?");
    x = key_get();

    if ((x == 'y') || (x == 'Y')) {

	if ((lfile = open(logfile, O_RDWR)) < 0) {

	    TLF_LOG_WARN("I can not find the logfile...");
	} else {

	    fstat(lfile, &statbuf);

	    if (statbuf.st_size >= LOGLINELEN) {
		if (qtcdirection > 0) {
		    // read band, mode and call from last QSO line
		    lseek(lfile, ((int)statbuf.st_size - LOGLINELEN), SEEK_SET);
		    IGNORE(read(lfile, logline, LOGLINELEN - 1));;

		    g_strlcpy(bandmode, logline, 6);
		    g_strlcpy(call, logline + 29, 15);
		    g_strchomp(call);

		    // delete QTC's for that combination of band, mode and call
		    delete_last_qtcs(call, bandmode);
		}
		IGNORE(ftruncate(lfile, statbuf.st_size - LOGLINELEN));
	    }

	    fsync(lfile);
	    close(lfile);

	    if (qsos[nr_qsos][0] != ';') {
		band_score[bandinx]--;
		qsonum--;
		qsonr_to_str();
	    }

	    nr_qsos--;
	    qsos[nr_qsos][0] = '\0';
	}

	scroll_log();

    }

    attron(COLOR_PAIR(C_LOG) | A_STANDOUT);
    mvprintw(13, 29, "                            ");

    printcall();

    clear_display();
}
开发者ID:Tlf,项目名称:tlf,代码行数:60,代码来源:deleteqso.c


示例3: ctrl_semihosting_getthumbswi

static int
ctrl_semihosting_getthumbswi(p_Buffer * buffer, void *stateptr)
{
#ifdef ICEMAN2

    /* Reads the value of the semi-hosting vector. */
    int debugID, OSinfo1, OSinfo2, subreason;
    word semihosting_thumbswi, status;

    IGNORE(stateptr);

    unpack_message(BUFFERDATA(*buffer) + 4, "%w%w%w%w", &debugID, &OSinfo1,
                   &OSinfo2, &subreason);

    status = angelOS_SemiHosting_GetThumbSWI(OSinfo1, OSinfo2,
             &semihosting_thumbswi);

    LogInfo(LOG_CTRL, ("ctrl_semihosting_getthumbswi -> %08x\n",
                       semihosting_thumbswi));

    return msgsend(CI_HADP, "%w%w%w%w%w%w%w",
                   (ADP_Control | TtoH), debugID, OSinfo1, OSinfo2,
                   ADP_Ctrl_SemiHosting_GetThumbSWI,
                   status, semihosting_thumbswi);

#else
    IGNORE(buffer);
    IGNORE(stateptr);
    LogInfo(LOG_CTRL, ( "ctrl_semihosting_getthumbswi - unsupported\n"));
    return -1;
#endif
}
开发者ID:lawliet89,项目名称:pascal2arm,代码行数:32,代码来源:ctrl.c


示例4: ctrl_settopmem

static int
ctrl_settopmem(p_Buffer * buffer, void *stateptr)
{
#ifdef ICEMAN2

    /* Set the top of memory we report on a HEAPINFO SWI */
    int debugID, OSinfo1, OSinfo2, subreason;
    word topmem;

    IGNORE(stateptr);

    unpack_message(BUFFERDATA(*buffer) + 4, "%w%w%w%w%w", &debugID, &OSinfo1,
                   &OSinfo2, &subreason, &topmem);
    LogInfo(LOG_CTRL, ( "ctrl_settopmem(topmem = 0x%x)\n", topmem));

    angel_SetTopMem((unsigned)topmem);

    return msgsend(CI_HADP, "%w%w%w%w%w%w",
                   (ADP_Control | TtoH), debugID, OSinfo1, OSinfo2,
                   ADP_Ctrl_SetTopMem, RDIError_NoError);

#else
    IGNORE(buffer);
    IGNORE(stateptr);
    return -1;
#endif
}
开发者ID:lawliet89,项目名称:pascal2arm,代码行数:27,代码来源:ctrl.c


示例5: IGNORE

/*ARGSUSED*/ void REGALFASTUIDRAW_GLU_CALL glu_fastuidraw_gl_noBeginData( FASTUIDRAW_GLUenum type, int winding_number,
                                                               void *polygonData )
{
  IGNORE(polygonData);
  IGNORE(type);
  IGNORE(winding_number);
}
开发者ID:cjcappel,项目名称:fastuidraw,代码行数:7,代码来源:tess.cpp


示例6: test_bad_write

/* Callbacks for the write function. */
static enum status test_bad_write(void * param, const void * src, size_t len) {
  IGNORE(param);
  IGNORE(src);
  IGNORE(len);

  return status_err;
}
开发者ID:sw17ch,项目名称:inversion_demo,代码行数:8,代码来源:test.c


示例7: ctrl_semihosting_setarmswi

static int
ctrl_semihosting_setarmswi(p_Buffer * buffer, void *stateptr)
{
#ifdef ICEMAN2

    /* Set the semi-hosting ARM SWI. */
    int debugID, OSinfo1, OSinfo2, subreason;
    word semihosting_armswi, status;

    IGNORE(stateptr);

    unpack_message(BUFFERDATA(*buffer) + 4, "%w%w%w%w%w", &debugID, &OSinfo1,
                   &OSinfo2, &subreason, &semihosting_armswi);

    LogInfo(LOG_CTRL, ( "ctrl_semihosting_setarmswi(swi 0x%x)\n", semihosting_armswi));

    status = angelOS_SemiHosting_SetARMSWI(OSinfo1, OSinfo2,
                                           semihosting_armswi);

    return msgsend(CI_HADP, "%w%w%w%w%w%w",
                   (ADP_Control | TtoH), debugID, OSinfo1, OSinfo2,
                   ADP_Ctrl_SemiHosting_SetARMSWI, status);

#else
    IGNORE(buffer);
    IGNORE(stateptr);
    LogInfo(LOG_CTRL, ( "ctrl_semihosting_setarmswi -> unsupported\n"));
    return -1;
#endif
}
开发者ID:lawliet89,项目名称:pascal2arm,代码行数:30,代码来源:ctrl.c


示例8: fbdev_lcd_crtc_mode_set

static void fbdev_lcd_crtc_mode_set(xf86CrtcPtr crtc, DisplayModePtr mode, DisplayModePtr adjusted_mode, int x, int y)
{
	IGNORE( crtc );
	IGNORE( mode );
	IGNORE( adjusted_mode );
	IGNORE( x );
	IGNORE( y );
}
开发者ID:igloocommunity,项目名称:xorg-x11-drv-ste,代码行数:8,代码来源:mali_lcd.c


示例9: fbdev_lcd_crtc_mode_fixup

static Bool fbdev_lcd_crtc_mode_fixup(xf86CrtcPtr crtc, DisplayModePtr mode, DisplayModePtr adjusted_mode)
{
	IGNORE( crtc );
	IGNORE( mode );
	IGNORE( adjusted_mode );

	return TRUE;
}
开发者ID:igloocommunity,项目名称:xorg-x11-drv-ste,代码行数:8,代码来源:mali_lcd.c


示例10: maliSolid

static void maliSolid(PixmapPtr pPixmap, int x1, int y1, int x2, int y2)
{
	IGNORE(pPixmap);
	IGNORE(x1);
	IGNORE(y1);
	IGNORE(x2);
	IGNORE(y2);
}
开发者ID:OtherCrashOverride,项目名称:c2_mali_ddx,代码行数:8,代码来源:mali_exa.c


示例11: fbdev_lcd_output_mode_fixup

static Bool fbdev_lcd_output_mode_fixup(xf86OutputPtr output, DisplayModePtr mode, DisplayModePtr adjusted_mode)
{
	IGNORE( output );
	IGNORE( mode );
	IGNORE( adjusted_mode );

	return TRUE;
}
开发者ID:igloocommunity,项目名称:xorg-x11-drv-ste,代码行数:8,代码来源:mali_lcd.c


示例12: fbdev_lcd_crtc_gamma_set

static void fbdev_lcd_crtc_gamma_set(xf86CrtcPtr crtc, CARD16 *red, CARD16 *green, CARD16 *blue, int size)
{
	IGNORE( crtc );
	IGNORE( red );
	IGNORE( green );
	IGNORE( blue );
	IGNORE( size );
}
开发者ID:igloocommunity,项目名称:xorg-x11-drv-ste,代码行数:8,代码来源:mali_lcd.c


示例13: angel_NodevIntHandler

/*
 *  Function: angel_NodevIntHandler
 *   Purpose: Place-holding interrupt function that reports an error
 *
 *    Params: As described in devdriv.h
 *
 *   Returns: This routine does not return
 */
void 
angel_NodevIntHandler(unsigned int ident, unsigned int data,
                      unsigned int empty_stack)
{
    IGNORE(data);
    IGNORE(empty_stack);

    LogError(LOG_DEVMISC, ( "NodevIntHandler called: ident %d\n", ident));
}
开发者ID:lawliet89,项目名称:pascal2arm,代码行数:17,代码来源:devmisc.c


示例14: maliPrepareSolid

static Bool maliPrepareSolid(PixmapPtr pPixmap, int alu, Pixel planemask, Pixel fg)
{
	IGNORE(pPixmap);
	IGNORE(alu);
	IGNORE(planemask);
	IGNORE(fg);

	return FALSE;
}
开发者ID:OtherCrashOverride,项目名称:c2_mali_ddx,代码行数:9,代码来源:mali_exa.c


示例15: maliCheckComposite

static Bool maliCheckComposite(int op, PicturePtr pSrcPicture, PicturePtr pMaskPicture, PicturePtr pDstPicture)
{
	IGNORE(op);
	IGNORE(pSrcPicture);
	IGNORE(pMaskPicture);
	IGNORE(pDstPicture);

	return FALSE;
}
开发者ID:OtherCrashOverride,项目名称:c2_mali_ddx,代码行数:9,代码来源:mali_exa.c


示例16: prmat

void prmat(void)
{
	int i, j;
	struct elm *el;

	IGNORE(printf("\n\n    "));
	for (i=10 ; i <= neqn ; i += 10)
		IGNORE(printf("         %1d", (i%100)/10));
	IGNORE(printf("\n    "));
	for (i=1 ; i <= neqn; i++)
		IGNORE(printf("%1d", i%10));
	IGNORE(printf("\n\n"));
	for (i=1 ; i <= neqn ; i++)
	{
		IGNORE(printf("%3d ", i));
		j = 0;
		for (el = rowst[i] ;el != ELM0 ; el = el->c_right)
		{
			for ( j++ ; j < el->col ; j++)
				IGNORE(putchar(' '));
			IGNORE(putchar('*'));
		}
		IGNORE(putchar('\n'));
	}
}
开发者ID:nrnhines,项目名称:nrn,代码行数:25,代码来源:prmat.c


示例17: maliComposite

static void maliComposite(PixmapPtr pDstPixmap, int srcX, int srcY, int maskX, int maskY, int dstX, int dstY, int width, int height)
{
	IGNORE(pDstPixmap);
	IGNORE(srcX);
	IGNORE(srcY);
	IGNORE(maskX);
	IGNORE(maskY);
	IGNORE(dstX);
	IGNORE(dstY);
	IGNORE(width);
	IGNORE(height);
}
开发者ID:OtherCrashOverride,项目名称:c2_mali_ddx,代码行数:12,代码来源:mali_exa.c


示例18: Angel_ApplReceiveMode

void 
Angel_ApplReceiveMode(DevRecvMode mode)
{
    /* does nothing in non-minimal system */
    IGNORE(mode);
    return;
}
开发者ID:lawliet89,项目名称:pascal2arm,代码行数:7,代码来源:devappl.c


示例19: ctrl_start_agent

static int
ctrl_start_agent(p_Buffer * buffer, void *stateptr)
{
    /* Decode an loadagent message */
    int debugID, OSinfo1, OSinfo2, subreason, err;
    word startaddress;
    word status;

    IGNORE(stateptr);

    unpack_message(BUFFERDATA(*buffer) + 4, "%w%w%w%w%w", &debugID, &OSinfo1,
                   &OSinfo2, &subreason, &startaddress);
    LogInfo(LOG_CTRL, ( "ctrl_start_agent(startaddress = %x)\n", startaddress));

    if (loadagent_sofar == loadagent_size
            && startaddress >= loadagent_address
            && startaddress < (loadagent_address + loadagent_size))
        status = RDIError_NoError;
    else
        status = RDIError_BadConfigData;

    err = msgsend(CI_HADP, "%w%w%w%w%w%w",
                  (ADP_Control | TtoH), debugID, OSinfo1, OSinfo2,
                  ADP_Ctrl_Start_Agent, status);

    if (err == RDIError_NoError && status == RDIError_NoError)
        angelOS_ExecuteNewAgent(startaddress);

    return err;
}
开发者ID:lawliet89,项目名称:pascal2arm,代码行数:30,代码来源:ctrl.c


示例20: ctrl_download_agent

static int
ctrl_download_agent(p_Buffer * buffer, void *stateptr)
{
    /* Decode an loadagent message */
    int debugID, OSinfo1, OSinfo2, subreason;
    word loadaddress, nbytes;
    word status;

    IGNORE(stateptr);

    unpack_message(BUFFERDATA(*buffer) + 4, "%w%w%w%w%w%w", &debugID, &OSinfo1,
                   &OSinfo2, &subreason, &loadaddress, &nbytes);

    LogInfo(LOG_CTRL, ( "ctrl_download_agent(loadadr = 0x%x, nbytes = %d)\n",
                        loadaddress, nbytes));

    status = angelOS_LoadAgent(OSinfo1, OSinfo2, loadaddress, nbytes);

    if (status == RDIError_NoError)
    {
        loadagent_address = loadaddress;
        loadagent_size = nbytes;
        loadagent_sofar = 0;
    }

    return msgsend(CI_HADP, "%w%w%w%w%w%w",
                   (ADP_Control | TtoH), debugID, OSinfo1, OSinfo2,
                   ADP_Ctrl_Download_Agent, status);
}
开发者ID:lawliet89,项目名称:pascal2arm,代码行数:29,代码来源:ctrl.c



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C++ IGRAPH_CHECK函数代码示例发布时间:2022-05-30
下一篇:
C++ IF_PRINT_WARNING函数代码示例发布时间:2022-05-30
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap