⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 bld.c

📁 gcc-2.95.3 Linux下最常用的C编译器
💻 C
📖 第 1 页 / 共 5 页
字号:
#endif	default:	  assert ("bad INTEGER kindtype" == NULL);	  break;	}      break;    case FFEINFO_basictypeLOGICAL:      switch (kt)	{#if FFETARGET_okLOGICAL1	case FFEINFO_kindtypeLOGICAL1:	  u.logical1 = *(array.logical1 + offset);	  break;#endif#if FFETARGET_okLOGICAL2	case FFEINFO_kindtypeLOGICAL2:	  u.logical2 = *(array.logical2 + offset);	  break;#endif#if FFETARGET_okLOGICAL3	case FFEINFO_kindtypeLOGICAL3:	  u.logical3 = *(array.logical3 + offset);	  break;#endif#if FFETARGET_okLOGICAL4	case FFEINFO_kindtypeLOGICAL4:	  u.logical4 = *(array.logical4 + offset);	  break;#endif#if FFETARGET_okLOGICAL5	case FFEINFO_kindtypeLOGICAL5:	  u.logical5 = *(array.logical5 + offset);	  break;#endif#if FFETARGET_okLOGICAL6	case FFEINFO_kindtypeLOGICAL6:	  u.logical6 = *(array.logical6 + offset);	  break;#endif#if FFETARGET_okLOGICAL7	case FFEINFO_kindtypeLOGICAL7:	  u.logical7 = *(array.logical7 + offset);	  break;#endif#if FFETARGET_okLOGICAL8	case FFEINFO_kindtypeLOGICAL8:	  u.logical8 = *(array.logical8 + offset);	  break;#endif	default:	  assert ("bad LOGICAL kindtype" == NULL);	  break;	}      break;    case FFEINFO_basictypeREAL:      switch (kt)	{#if FFETARGET_okREAL1	case FFEINFO_kindtypeREAL1:	  u.real1 = *(array.real1 + offset);	  break;#endif#if FFETARGET_okREAL2	case FFEINFO_kindtypeREAL2:	  u.real2 = *(array.real2 + offset);	  break;#endif#if FFETARGET_okREAL3	case FFEINFO_kindtypeREAL3:	  u.real3 = *(array.real3 + offset);	  break;#endif#if FFETARGET_okREAL4	case FFEINFO_kindtypeREAL4:	  u.real4 = *(array.real4 + offset);	  break;#endif#if FFETARGET_okREAL5	case FFEINFO_kindtypeREAL5:	  u.real5 = *(array.real5 + offset);	  break;#endif#if FFETARGET_okREAL6	case FFEINFO_kindtypeREAL6:	  u.real6 = *(array.real6 + offset);	  break;#endif#if FFETARGET_okREAL7	case FFEINFO_kindtypeREAL7:	  u.real7 = *(array.real7 + offset);	  break;#endif#if FFETARGET_okREAL8	case FFEINFO_kindtypeREAL8:	  u.real8 = *(array.real8 + offset);	  break;#endif	default:	  assert ("bad REAL kindtype" == NULL);	  break;	}      break;    case FFEINFO_basictypeCOMPLEX:      switch (kt)	{#if FFETARGET_okCOMPLEX1	case FFEINFO_kindtypeREAL1:	  u.complex1 = *(array.complex1 + offset);	  break;#endif#if FFETARGET_okCOMPLEX2	case FFEINFO_kindtypeREAL2:	  u.complex2 = *(array.complex2 + offset);	  break;#endif#if FFETARGET_okCOMPLEX3	case FFEINFO_kindtypeREAL3:	  u.complex3 = *(array.complex3 + offset);	  break;#endif#if FFETARGET_okCOMPLEX4	case FFEINFO_kindtypeREAL4:	  u.complex4 = *(array.complex4 + offset);	  break;#endif#if FFETARGET_okCOMPLEX5	case FFEINFO_kindtypeREAL5:	  u.complex5 = *(array.complex5 + offset);	  break;#endif#if FFETARGET_okCOMPLEX6	case FFEINFO_kindtypeREAL6:	  u.complex6 = *(array.complex6 + offset);	  break;#endif#if FFETARGET_okCOMPLEX7	case FFEINFO_kindtypeREAL7:	  u.complex7 = *(array.complex7 + offset);	  break;#endif#if FFETARGET_okCOMPLEX8	case FFEINFO_kindtypeREAL8:	  u.complex8 = *(array.complex8 + offset);	  break;#endif	default:	  assert ("bad COMPLEX kindtype" == NULL);	  break;	}      break;    case FFEINFO_basictypeCHARACTER:      switch (kt)	{#if FFETARGET_okCHARACTER1	case FFEINFO_kindtypeCHARACTER1:	  u.character1.length = 1;	  u.character1.text = array.character1 + offset;	  break;#endif#if FFETARGET_okCHARACTER2	case FFEINFO_kindtypeCHARACTER2:	  u.character2.length = 1;	  u.character2.text = array.character2 + offset;	  break;#endif#if FFETARGET_okCHARACTER3	case FFEINFO_kindtypeCHARACTER3:	  u.character3.length = 1;	  u.character3.text = array.character3 + offset;	  break;#endif#if FFETARGET_okCHARACTER4	case FFEINFO_kindtypeCHARACTER4:	  u.character4.length = 1;	  u.character4.text = array.character4 + offset;	  break;#endif#if FFETARGET_okCHARACTER5	case FFEINFO_kindtypeCHARACTER5:	  u.character5.length = 1;	  u.character5.text = array.character5 + offset;	  break;#endif#if FFETARGET_okCHARACTER6	case FFEINFO_kindtypeCHARACTER6:	  u.character6.length = 1;	  u.character6.text = array.character6 + offset;	  break;#endif#if FFETARGET_okCHARACTER7	case FFEINFO_kindtypeCHARACTER7:	  u.character7.length = 1;	  u.character7.text = array.character7 + offset;	  break;#endif#if FFETARGET_okCHARACTER8	case FFEINFO_kindtypeCHARACTER8:	  u.character8.length = 1;	  u.character8.text = array.character8 + offset;	  break;#endif	default:	  assert ("bad CHARACTER kindtype" == NULL);	  break;	}      break;    default:      assert ("bad basictype" == NULL);      break;    }  return u;}/* ffebld_constantarray_new -- Make an array of constants   See prototype.  */ffebldConstantArrayffebld_constantarray_new (ffeinfoBasictype bt,			  ffeinfoKindtype kt, ffetargetOffset size){  ffebldConstantArray ptr;  switch (bt)    {    case FFEINFO_basictypeINTEGER:      switch (kt)	{#if FFETARGET_okINTEGER1	case FFEINFO_kindtypeINTEGER1:	  ptr.integer1 = malloc_new_zkp (ffebld_constant_pool(),					 "ffebldConstantArray",					 size *= sizeof (ffetargetInteger1),					 0);	  break;#endif#if FFETARGET_okINTEGER2	case FFEINFO_kindtypeINTEGER2:	  ptr.integer2 = malloc_new_zkp (ffebld_constant_pool(),					 "ffebldConstantArray",					 size *= sizeof (ffetargetInteger2),					 0);	  break;#endif#if FFETARGET_okINTEGER3	case FFEINFO_kindtypeINTEGER3:	  ptr.integer3 = malloc_new_zkp (ffebld_constant_pool(),					 "ffebldConstantArray",					 size *= sizeof (ffetargetInteger3),					 0);	  break;#endif#if FFETARGET_okINTEGER4	case FFEINFO_kindtypeINTEGER4:	  ptr.integer4 = malloc_new_zkp (ffebld_constant_pool(),					 "ffebldConstantArray",					 size *= sizeof (ffetargetInteger4),					 0);	  break;#endif#if FFETARGET_okINTEGER5	case FFEINFO_kindtypeINTEGER5:	  ptr.integer5 = malloc_new_zkp (ffebld_constant_pool(),					 "ffebldConstantArray",					 size *= sizeof (ffetargetInteger5),					 0);	  break;#endif#if FFETARGET_okINTEGER6	case FFEINFO_kindtypeINTEGER6:	  ptr.integer6 = malloc_new_zkp (ffebld_constant_pool(),					 "ffebldConstantArray",					 size *= sizeof (ffetargetInteger6),					 0);	  break;#endif#if FFETARGET_okINTEGER7	case FFEINFO_kindtypeINTEGER7:	  ptr.integer7 = malloc_new_zkp (ffebld_constant_pool(),					 "ffebldConstantArray",					 size *= sizeof (ffetargetInteger7),					 0);	  break;#endif#if FFETARGET_okINTEGER8	case FFEINFO_kindtypeINTEGER8:	  ptr.integer8 = malloc_new_zkp (ffebld_constant_pool(),					 "ffebldConstantArray",					 size *= sizeof (ffetargetInteger8),					 0);	  break;#endif	default:	  assert ("bad INTEGER kindtype" == NULL);	  break;	}      break;    case FFEINFO_basictypeLOGICAL:      switch (kt)	{#if FFETARGET_okLOGICAL1	case FFEINFO_kindtypeLOGICAL1:	  ptr.logical1 = malloc_new_zkp (ffebld_constant_pool(),					 "ffebldConstantArray",					 size *= sizeof (ffetargetLogical1),					 0);	  break;#endif#if FFETARGET_okLOGICAL2	case FFEINFO_kindtypeLOGICAL2:	  ptr.logical2 = malloc_new_zkp (ffebld_constant_pool(),					 "ffebldConstantArray",					 size *= sizeof (ffetargetLogical2),					 0);	  break;#endif#if FFETARGET_okLOGICAL3	case FFEINFO_kindtypeLOGICAL3:	  ptr.logical3 = malloc_new_zkp (ffebld_constant_pool(),					 "ffebldConstantArray",					 size *= sizeof (ffetargetLogical3),					 0);	  break;#endif#if FFETARGET_okLOGICAL4	case FFEINFO_kindtypeLOGICAL4:	  ptr.logical4 = malloc_new_zkp (ffebld_constant_pool(),					 "ffebldConstantArray",					 size *= sizeof (ffetargetLogical4),					 0);	  break;#endif#if FFETARGET_okLOGICAL5	case FFEINFO_kindtypeLOGICAL5:	  ptr.logical5 = malloc_new_zkp (ffebld_constant_pool(),					 "ffebldConstantArray",					 size *= sizeof (ffetargetLogical5),					 0);	  break;#endif#if FFETARGET_okLOGICAL6	case FFEINFO_kindtypeLOGICAL6:	  ptr.logical6 = malloc_new_zkp (ffebld_constant_pool(),					 "ffebldConstantArray",					 size *= sizeof (ffetargetLogical6),					 0);	  break;#endif#if FFETARGET_okLOGICAL7	case FFEINFO_kindtypeLOGICAL7:	  ptr.logical7 = malloc_new_zkp (ffebld_constant_pool(),					 "ffebldConstantArray",					 size *= sizeof (ffetargetLogical7),					 0);	  break;#endif#if FFETARGET_okLOGICAL8	case FFEINFO_kindtypeLOGICAL8:	  ptr.logical8 = malloc_new_zkp (ffebld_constant_pool(),					 "ffebldConstantArray",					 size *= sizeof (ffetargetLogical8),					 0);	  break;#endif	default:	  assert ("bad LOGICAL kindtype" == NULL);	  break;	}      break;    case FFEINFO_basictypeREAL:      switch (kt)	{#if FFETARGET_okREAL1	case FFEINFO_kindtypeREAL1:	  ptr.real1 = malloc_new_zkp (ffebld_constant_pool(),				      "ffebldConstantArray",				      size *= sizeof (ffetargetReal1),				      0);	  break;#endif#if FFETARGET_okREAL2	case FFEINFO_kindtypeREAL2:	  ptr.real2 = malloc_new_zkp (ffebld_constant_pool(),				      "ffebldConstantArray",				      size *= sizeof (ffetargetReal2),				      0);	  break;#endif#if FFETARGET_okREAL3	case FFEINFO_kindtypeREAL3:	  ptr.real3 = malloc_new_zkp (ffebld_constant_pool(),				      "ffebldConstantArray",				      size *= sizeof (ffetargetReal3),				      0);	  break;#endif#if FFETARGET_okREAL4	case FFEINFO_kindtypeREAL4:	  ptr.real4 = malloc_new_zkp (ffebld_constant_pool(),				      "ffebldConstantArray",				      size *= sizeof (ffetargetReal4),				      0);	  break;#endif#if FFETARGET_okREAL5	case FFEINFO_kindtypeREAL5:	  ptr.real5 = malloc_new_zkp (ffebld_constant_pool(),				      "ffebldConstantArray",				      size *= sizeof (ffetargetReal5),				      0);	  break;#endif#if FFETARGET_okREAL6	case FFEINFO_kindtypeREAL6:	  ptr.real6 = malloc_new_zkp (ffebld_constant_pool(),				      "ffebldConstantArray",				      size *= sizeof (ffetargetReal6),				      0);	  break;#endif#if FFETARGET_okREAL7	case FFEINFO_kindtypeREAL7:	  ptr.real7 = malloc_new_zkp (ffebld_constant_pool(),				      "ffebldConstantArray",				      size *= sizeof (ffetargetReal7),				      0);	  break;#endif#if FFETARGET_okREAL8	case FFEINFO_kindtypeREAL8:	  ptr.real8 = malloc_new_zkp (ffebld_constant_pool(),				      "ffebldConstantArray",				      size *= sizeof (ffetargetReal8),				      0);	  break;#endif	default:	  assert ("bad REAL kindtype" == NULL);	  break;	}      break;    case FFEINFO_basictypeCOMPLEX:      switch (kt)	{#if FFETARGET_okCOMPLEX1	case FFEINFO_kindtypeREAL1:	  ptr.complex1 = malloc_new_zkp (ffebld_constant_pool(),					 "ffebldConstantArray",					 size *= sizeof (ffetargetComplex1),					 0);	  break;#endif#if FFETARGET_okCOMPLEX2	case FFEINFO_kindtypeREAL2:	  ptr.complex2 = malloc_new_zkp (ffebld_constant_pool(),					 "ffebldConstantArray",					 size *= sizeof (ffetargetComplex2),					 0);	  break;#endif#if FFETARGET_okCOMPLEX3	case FFEINFO_kindtypeREAL3:	  p

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -