亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來(lái)到蟲(chóng)蟲(chóng)下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲(chóng)蟲(chóng)下載站

?? dhry_1.c

?? arm ads1.2 with crack.rar
?? C
字號(hào):
/*
This is a MODIFIED version of the Dhrystone 2.1 Benchmark program.

The only changes which have been made are:
1) the 'old-style' K&R function declarations have been replaced with 
'ANSI-C-style' function declarations (in dhry_1.c and dhry_2,c), and
2) function prototypes have been added (in dhry.h)
3) dhry.h uses CLOCKS_PER_SEC instead of CLK_TCK (to build with -strict)

These changes allow an ANSI-C compiler to produce more efficient code, with 
no warnings.
*/

/*
 ****************************************************************************
 *
 *                   "DHRYSTONE" Benchmark Program
 *                   -----------------------------
 *                                                                            
 *  Version:    C, Version 2.1
 *                                                                            
 *  File:       dhry_1.c (part 2 of 3)
 *
 *  Date:       May 25, 1988
 *
 *  Author:     Reinhold P. Weicker
 *
 ****************************************************************************
 */

#include "dhry.h"

/* Global Variables: */

Rec_Pointer     Ptr_Glob,
                Next_Ptr_Glob;
int             Int_Glob;
Boolean         Bool_Glob;
char            Ch_1_Glob,
                Ch_2_Glob;
int             Arr_1_Glob [50];
int             Arr_2_Glob [50] [50];

#ifndef REG
        Boolean Reg = false;
#define REG
        /* REG becomes defined as empty */
        /* i.e. no register variables   */
#else
        Boolean Reg = true;
#endif

/* variables for time measurement: */

#ifdef TIMES
struct tms      time_info;
extern  int     times (void);
                /* see library function "times" */
#define Too_Small_Time (2*HZ)
                /* Measurements should last at least about 2 seconds */
#endif
#ifdef TIME
extern long     time(long *);
                /* see library function "time"  */
#define Too_Small_Time 2
                /* Measurements should last at least 2 seconds */
#endif
#ifdef MSC_CLOCK
extern clock_t clock(void);
#define Too_Small_Time (2*HZ)
#endif

long            Begin_Time,
                End_Time,
                User_Time;
float           Microseconds,
                Dhrystones_Per_Second;

/* end of variables for time measurement */


int main (void)
/*****/

  /* main program, corresponds to procedures        */
  /* Main and Proc_0 in the Ada version             */
{
        One_Fifty       Int_1_Loc;
  REG   One_Fifty       Int_2_Loc;
        One_Fifty       Int_3_Loc;
  REG   char            Ch_Index;
        Enumeration     Enum_Loc;
        Str_30          Str_1_Loc;
        Str_30          Str_2_Loc;
  REG   int             Run_Index;
  REG   int             Number_Of_Runs;

  /* Initializations */

  Next_Ptr_Glob = (Rec_Pointer) malloc (sizeof (Rec_Type));
  Ptr_Glob = (Rec_Pointer) malloc (sizeof (Rec_Type));

  Ptr_Glob->Ptr_Comp                    = Next_Ptr_Glob;
  Ptr_Glob->Discr                       = Ident_1;
  Ptr_Glob->variant.var_1.Enum_Comp     = Ident_3;
  Ptr_Glob->variant.var_1.Int_Comp      = 40;
  strcpy (Ptr_Glob->variant.var_1.Str_Comp, 
          "DHRYSTONE PROGRAM, SOME STRING");
  strcpy (Str_1_Loc, "DHRYSTONE PROGRAM, 1'ST STRING");

  Arr_2_Glob [8][7] = 10;
        /* Was missing in published program. Without this statement,    */
        /* Arr_2_Glob [8][7] would have an undefined value.             */
        /* Warning: With 16-Bit processors and Number_Of_Runs > 32000,  */
        /* overflow may occur for this array element.                   */

  printf ("\n");
  printf ("Dhrystone Benchmark, Version 2.1 (Language: C)\n");
  printf ("\n");
  if (Reg)
  {
    printf ("Program compiled with 'register' attribute\n");
    printf ("\n");
  }
  else
  {
    printf ("Program compiled without 'register' attribute\n");
    printf ("\n");
  }
  printf ("Please give the number of runs through the benchmark: ");
  {
    int n;
    scanf ("%d", &n);
    Number_Of_Runs = n;
  }
  printf ("\n");

  printf ("Execution starts, %d runs through Dhrystone\n", Number_Of_Runs);

  /***************/
  /* Start timer */
  /***************/
 
#ifdef TIMES
  times (&time_info);
  Begin_Time = (long) time_info.tms_utime;
#endif
#ifdef TIME
  Begin_Time = time ( (long *) 0);
#endif
#ifdef MSC_CLOCK
  Begin_Time = clock();
#endif

  for (Run_Index = 1; Run_Index <= Number_Of_Runs; ++Run_Index)
  {

    Proc_5();
    Proc_4();
      /* Ch_1_Glob == 'A', Ch_2_Glob == 'B', Bool_Glob == true */
    Int_1_Loc = 2;
    Int_2_Loc = 3;
    strcpy (Str_2_Loc, "DHRYSTONE PROGRAM, 2'ND STRING");
    Enum_Loc = Ident_2;
    Bool_Glob = ! Func_2 (Str_1_Loc, Str_2_Loc);
      /* Bool_Glob == 1 */
    while (Int_1_Loc < Int_2_Loc)  /* loop body executed once */
    {
      Int_3_Loc = 5 * Int_1_Loc - Int_2_Loc;
        /* Int_3_Loc == 7 */
      Proc_7 (Int_1_Loc, Int_2_Loc, &Int_3_Loc);
        /* Int_3_Loc == 7 */
      Int_1_Loc += 1;
    } /* while */
      /* Int_1_Loc == 3, Int_2_Loc == 3, Int_3_Loc == 7 */
    Proc_8 (Arr_1_Glob, Arr_2_Glob, Int_1_Loc, Int_3_Loc);
      /* Int_Glob == 5 */
    Proc_1 (Ptr_Glob);
    for (Ch_Index = 'A'; Ch_Index <= Ch_2_Glob; ++Ch_Index)
                             /* loop body executed twice */
    {
      if (Enum_Loc == Func_1 (Ch_Index, 'C'))
          /* then, not executed */
        {
        Proc_6 (Ident_1, &Enum_Loc);
        strcpy (Str_2_Loc, "DHRYSTONE PROGRAM, 3'RD STRING");
        Int_2_Loc = Run_Index;
        Int_Glob = Run_Index;
        }
    }
      /* Int_1_Loc == 3, Int_2_Loc == 3, Int_3_Loc == 7 */
    Int_2_Loc = Int_2_Loc * Int_1_Loc;
    Int_1_Loc = Int_2_Loc / Int_3_Loc;
    Int_2_Loc = 7 * (Int_2_Loc - Int_3_Loc) - Int_1_Loc;
      /* Int_1_Loc == 1, Int_2_Loc == 13, Int_3_Loc == 7 */
    Proc_2 (&Int_1_Loc);
      /* Int_1_Loc == 5 */

  } /* loop "for Run_Index" */

  /**************/
  /* Stop timer */
  /**************/
  
#ifdef TIMES
  times (&time_info);
  End_Time = (long) time_info.tms_utime;
#endif
#ifdef TIME
  End_Time = time ( (long *) 0);
#endif
#ifdef MSC_CLOCK
  End_Time = clock();
#endif

  printf ("Execution ends\n");
  printf ("\n");
  printf ("Final values of the variables used in the benchmark:\n");
  printf ("\n");
  printf ("Int_Glob:            %d\n", Int_Glob);
  printf ("        should be:   %d\n", 5);
  printf ("Bool_Glob:           %d\n", Bool_Glob);
  printf ("        should be:   %d\n", 1);
  printf ("Ch_1_Glob:           %c\n", Ch_1_Glob);
  printf ("        should be:   %c\n", 'A');
  printf ("Ch_2_Glob:           %c\n", Ch_2_Glob);
  printf ("        should be:   %c\n", 'B');
  printf ("Arr_1_Glob[8]:       %d\n", Arr_1_Glob[8]);
  printf ("        should be:   %d\n", 7);
  printf ("Arr_2_Glob[8][7]:    %d\n", Arr_2_Glob[8][7]);
  printf ("        should be:   Number_Of_Runs + 10\n");
  printf ("Ptr_Glob->\n");
  printf ("  Ptr_Comp:          %d\n", (int) Ptr_Glob->Ptr_Comp);
  printf ("        should be:   (implementation-dependent)\n");
  printf ("  Discr:             %d\n", Ptr_Glob->Discr);
  printf ("        should be:   %d\n", 0);
  printf ("  Enum_Comp:         %d\n", Ptr_Glob->variant.var_1.Enum_Comp);
  printf ("        should be:   %d\n", 2);
  printf ("  Int_Comp:          %d\n", Ptr_Glob->variant.var_1.Int_Comp);
  printf ("        should be:   %d\n", 17);
  printf ("  Str_Comp:          %s\n", Ptr_Glob->variant.var_1.Str_Comp);
  printf ("        should be:   DHRYSTONE PROGRAM, SOME STRING\n");
  printf ("Next_Ptr_Glob->\n");
  printf ("  Ptr_Comp:          %d\n", (int) Next_Ptr_Glob->Ptr_Comp);
  printf ("        should be:   (implementation-dependent), same as above\n");
  printf ("  Discr:             %d\n", Next_Ptr_Glob->Discr);
  printf ("        should be:   %d\n", 0);
  printf ("  Enum_Comp:         %d\n", Next_Ptr_Glob->variant.var_1.Enum_Comp);
  printf ("        should be:   %d\n", 1);
  printf ("  Int_Comp:          %d\n", Next_Ptr_Glob->variant.var_1.Int_Comp);
  printf ("        should be:   %d\n", 18);
  printf ("  Str_Comp:          %s\n",
                                Next_Ptr_Glob->variant.var_1.Str_Comp);
  printf ("        should be:   DHRYSTONE PROGRAM, SOME STRING\n");
  printf ("Int_1_Loc:           %d\n", Int_1_Loc);
  printf ("        should be:   %d\n", 5);
  printf ("Int_2_Loc:           %d\n", Int_2_Loc);
  printf ("        should be:   %d\n", 13);
  printf ("Int_3_Loc:           %d\n", Int_3_Loc);
  printf ("        should be:   %d\n", 7);
  printf ("Enum_Loc:            %d\n", Enum_Loc);
  printf ("        should be:   %d\n", 1);
  printf ("Str_1_Loc:           %s\n", Str_1_Loc);
  printf ("        should be:   DHRYSTONE PROGRAM, 1'ST STRING\n");
  printf ("Str_2_Loc:           %s\n", Str_2_Loc);
  printf ("        should be:   DHRYSTONE PROGRAM, 2'ND STRING\n");
  printf ("\n");

  User_Time = End_Time - Begin_Time;

  if (User_Time < Too_Small_Time)
  {
    printf ("Measured time too small to obtain meaningful results\n");
    printf ("Please increase number of runs\n");
    printf ("\n");
  }
  else
  {
#ifdef TIME
    Microseconds = (float) User_Time * Mic_secs_Per_Second 
                        / (float) Number_Of_Runs;
    Dhrystones_Per_Second = (float) Number_Of_Runs / (float) User_Time;
#else
    Microseconds = (float) User_Time * Mic_secs_Per_Second 
                        / ((float) HZ * ((float) Number_Of_Runs));
    Dhrystones_Per_Second = ((float) HZ * (float) Number_Of_Runs)
                        / (float) User_Time;
#endif
    printf ("Microseconds for one run through Dhrystone: ");
    printf ("%6.1f \n", Microseconds);
    printf ("Dhrystones per Second:                      ");
    printf ("%6.1f \n", Dhrystones_Per_Second);
    printf ("\n");
  }
    return 0;  
}


void Proc_1 (REG Rec_Pointer Ptr_Val_Par)
/******************/
    /* executed once */
{
  REG Rec_Pointer Next_Record = Ptr_Val_Par->Ptr_Comp;  
                                        /* == Ptr_Glob_Next */
  /* Local variable, initialized with Ptr_Val_Par->Ptr_Comp,    */
  /* corresponds to "rename" in Ada, "with" in Pascal           */
  
  structassign (*Ptr_Val_Par->Ptr_Comp, *Ptr_Glob); 
  Ptr_Val_Par->variant.var_1.Int_Comp = 5;
  Next_Record->variant.var_1.Int_Comp 
        = Ptr_Val_Par->variant.var_1.Int_Comp;
  Next_Record->Ptr_Comp = Ptr_Val_Par->Ptr_Comp;
  Proc_3 (&Next_Record->Ptr_Comp);
    /* Ptr_Val_Par->Ptr_Comp->Ptr_Comp 
                        == Ptr_Glob->Ptr_Comp */
  if (Next_Record->Discr == Ident_1)
    /* then, executed */
  {
    Next_Record->variant.var_1.Int_Comp = 6;
    Proc_6 (Ptr_Val_Par->variant.var_1.Enum_Comp, 
           &Next_Record->variant.var_1.Enum_Comp);
    Next_Record->Ptr_Comp = Ptr_Glob->Ptr_Comp;
    Proc_7 (Next_Record->variant.var_1.Int_Comp, 10, 
           &Next_Record->variant.var_1.Int_Comp);
  }
  else /* not executed */
    structassign (*Ptr_Val_Par, *Ptr_Val_Par->Ptr_Comp);
} /* Proc_1 */


void Proc_2 (One_Fifty *Int_Par_Ref)
/******************/
    /* executed once */
    /* *Int_Par_Ref == 1, becomes 4 */
{
  One_Fifty  Int_Loc;  
  Enumeration   Enum_Loc;

  Int_Loc = *Int_Par_Ref + 10;
  do /* executed once */
    if (Ch_1_Glob == 'A')
      /* then, executed */
    {
      Int_Loc -= 1;
      *Int_Par_Ref = Int_Loc - Int_Glob;
      Enum_Loc = Ident_1;
    } /* if */
  while (Enum_Loc != Ident_1); /* true */
} /* Proc_2 */


void Proc_3 (Rec_Pointer *Ptr_Ref_Par)
/******************/
    /* executed once */
    /* Ptr_Ref_Par becomes Ptr_Glob */
{
  if (Ptr_Glob != Null)
    /* then, executed */
    *Ptr_Ref_Par = Ptr_Glob->Ptr_Comp;
  Proc_7 (10, Int_Glob, &Ptr_Glob->variant.var_1.Int_Comp);
} /* Proc_3 */


void Proc_4 (void) /* without parameters */
/*******/
    /* executed once */
{
  Boolean Bool_Loc;

  Bool_Loc = Ch_1_Glob == 'A';
  Bool_Glob = Bool_Loc | Bool_Glob;
  Ch_2_Glob = 'B';
} /* Proc_4 */


void Proc_5 (void) /* without parameters */
/*******/
    /* executed once */
{
  Ch_1_Glob = 'A';
  Bool_Glob = false;
} /* Proc_5 */


        /* Procedure for the assignment of structures,          */
        /* if the C compiler doesn't support this feature       */
#ifdef  NOSTRUCTASSIGN
memcpy (d, s, l)
register char   *d;
register char   *s;
register int    l;
{
        while (l--) *d++ = *s++;
}
#endif


?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩一区欧美二区| 91精品国产全国免费观看| 欧美性极品少妇| 欧美tk丨vk视频| 一区二区三区四区高清精品免费观看| 日本欧美一区二区三区乱码| 色综合久久88色综合天天免费| 日韩一区二区高清| 亚洲国产美女搞黄色| www.色综合.com| 26uuu精品一区二区三区四区在线| 一级做a爱片久久| 9久草视频在线视频精品| 精品国产电影一区二区| 亚洲午夜久久久久久久久电影院 | 亚洲欧美国产毛片在线| 国产一区二区三区四区五区入口 | 久久久久久一级片| 青青草伊人久久| 欧美视频精品在线观看| 亚洲女同一区二区| www.亚洲人| 中文字幕亚洲一区二区va在线| 老司机精品视频在线| 日韩三级伦理片妻子的秘密按摩| 亚洲成a人片在线观看中文| 一本一道波多野结衣一区二区| 国产精品久久免费看| 国产成人免费在线视频| 久久久99久久| 粉嫩久久99精品久久久久久夜| 欧美精品一区二区三区在线| 久久精品免费看| 欧美成人一区二区三区片免费| 人人精品人人爱| 日韩欧美一级特黄在线播放| 美女爽到高潮91| 久久综合久久综合久久| 国产精品中文字幕日韩精品 | 国产成人鲁色资源国产91色综| 欧美videofree性高清杂交| 久久99这里只有精品| 国产亚洲欧美在线| 91在线观看视频| 亚洲一级二级在线| 91精品国产黑色紧身裤美女| 美腿丝袜亚洲色图| 国产视频一区二区三区在线观看 | 欧美在线免费观看亚洲| 午夜在线成人av| 欧美xxxxxxxxx| 国产成人综合在线| 一区二区三区在线观看国产| 欧美专区亚洲专区| 六月丁香婷婷久久| 国产精品污污网站在线观看| 91久久精品网| 美女看a上一区| 国产精品久久毛片av大全日韩| 色中色一区二区| 蜜臀av一区二区在线免费观看| 国产亚洲欧美日韩在线一区| 色综合色综合色综合| 日本怡春院一区二区| 久久久久久99精品| 欧美在线观看一二区| 精品一区二区三区在线观看国产 | 久久精品一区二区三区av| thepron国产精品| 五月综合激情婷婷六月色窝| 久久久www免费人成精品| 欧美在线视频不卡| 高清在线观看日韩| 天堂一区二区在线| 中日韩av电影| 日韩欧美在线综合网| www.成人在线| 国内一区二区视频| 伊人婷婷欧美激情| 欧美精品一区二区久久久| 一道本成人在线| 国产精品一区二区在线观看不卡| 夜夜亚洲天天久久| 国产欧美精品一区二区三区四区| 欧美日韩高清影院| 91麻豆国产福利在线观看| 久久精品国产77777蜜臀| 一区二区三区成人| 国产精品欧美一区二区三区| 欧美久久久久中文字幕| 97久久精品人人澡人人爽| 国产一区二区看久久| 日韩不卡一区二区| 樱花影视一区二区| 国产精品二三区| 国产日韩欧美一区二区三区乱码 | 欧美午夜一区二区三区| www.av亚洲| 国产91精品在线观看| 日本中文在线一区| 日韩综合在线视频| 午夜视频在线观看一区二区| 亚洲精品ww久久久久久p站| 国产精品美女www爽爽爽| 久久久国产一区二区三区四区小说 | 国产精品看片你懂得| 精品国产亚洲在线| 精品久久久久99| 日韩欧美www| 日韩免费观看高清完整版| 欧美一区二区免费视频| 欧美精品自拍偷拍动漫精品| 欧美日韩精品高清| 欧美日韩一二三区| 777精品伊人久久久久大香线蕉| 欧美视频自拍偷拍| 9191国产精品| 欧美不卡在线视频| 久久久久久影视| 国产精品久久久久久久久果冻传媒 | 盗摄精品av一区二区三区| 国产成人午夜精品5599| 粉嫩aⅴ一区二区三区四区| 国产成人精品免费| 99热精品国产| 日本精品一区二区三区四区的功能| av中文字幕亚洲| 日本乱人伦一区| 欧美日韩中文另类| 91精品国产综合久久小美女| 日韩情涩欧美日韩视频| 精品久久久久香蕉网| 中文字幕免费一区| 亚洲精品午夜久久久| 三级欧美在线一区| 国产在线精品免费| 99久久精品国产导航| 欧美日韩和欧美的一区二区| 欧美不卡一区二区| 国产精品福利影院| 午夜精品一区二区三区免费视频| 青青草国产成人99久久| 国内欧美视频一区二区| gogo大胆日本视频一区| 欧美色视频一区| 精品国产1区2区3区| 国产精品久久三区| 天天做天天摸天天爽国产一区| 国产在线视频一区二区| aa级大片欧美| 欧美一二三四区在线| 中文字幕一区二区在线播放| 性感美女极品91精品| 成人午夜电影网站| 欧美伦理电影网| 中文一区在线播放| 午夜一区二区三区视频| 成人一道本在线| 欧美剧情电影在线观看完整版免费励志电影| 日韩欧美一区在线| 依依成人精品视频| 国产黄色成人av| 91麻豆精品国产自产在线观看一区 | 一区二区三区中文字幕| 久久9热精品视频| 日本黄色一区二区| 中文字幕欧美日韩一区| 三级一区在线视频先锋| 97aⅴ精品视频一二三区| 精品99999| 午夜不卡av免费| 色综合天天狠狠| 日本一区二区三区dvd视频在线| 婷婷丁香激情综合| 91福利资源站| 欧美激情一区二区三区不卡 | 一区二区不卡在线视频 午夜欧美不卡在| 国内精品国产三级国产a久久| 色综合久久中文综合久久97| 久久久久久久久久久久久久久99 | 国产伦精品一区二区三区视频青涩 | 色综合久久综合网欧美综合网| 久久午夜国产精品| 日韩黄色在线观看| 91精品福利视频| 中文字幕中文字幕一区二区 | 免费人成黄页网站在线一区二区| 99久久99久久久精品齐齐| 国产亚洲精品超碰| 国产精品一区一区| 久久色在线观看| 国产综合色视频| 26uuu久久综合| 国产一区二区三区观看| 欧美一区二区精美| 蜜臀av性久久久久蜜臀aⅴ流畅| 欧美精品一级二级三级| 日一区二区三区| 91精品国产入口| 蜜臀av性久久久久蜜臀av麻豆|