hexsha
stringlengths
40
40
size
int64
5
1.05M
ext
stringclasses
588 values
lang
stringclasses
305 values
max_stars_repo_path
stringlengths
3
363
max_stars_repo_name
stringlengths
5
118
max_stars_repo_head_hexsha
stringlengths
40
40
max_stars_repo_licenses
listlengths
1
10
max_stars_count
float64
1
191k
max_stars_repo_stars_event_min_datetime
stringdate
2015-01-01 00:00:35
2022-03-31 23:43:49
max_stars_repo_stars_event_max_datetime
stringdate
2015-01-01 12:37:38
2022-03-31 23:59:52
max_issues_repo_path
stringlengths
3
363
max_issues_repo_name
stringlengths
5
118
max_issues_repo_head_hexsha
stringlengths
40
40
max_issues_repo_licenses
listlengths
1
10
max_issues_count
float64
1
134k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
3
363
max_forks_repo_name
stringlengths
5
135
max_forks_repo_head_hexsha
stringlengths
40
40
max_forks_repo_licenses
listlengths
1
10
max_forks_count
float64
1
105k
max_forks_repo_forks_event_min_datetime
stringdate
2015-01-01 00:01:02
2022-03-31 23:27:27
max_forks_repo_forks_event_max_datetime
stringdate
2015-01-03 08:55:07
2022-03-31 23:59:24
content
stringlengths
5
1.05M
avg_line_length
float64
1.13
1.04M
max_line_length
int64
1
1.05M
alphanum_fraction
float64
0
1
f1b2ed095277da33d325070d3881fc1b643af388
1,108
c
C
ShopEg.c
JulianConneely/multiParadigm
653142b3af197cc3ff9bc91f3e2c7759fcbc5c44
[ "MIT" ]
null
null
null
ShopEg.c
JulianConneely/multiParadigm
653142b3af197cc3ff9bc91f3e2c7759fcbc5c44
[ "MIT" ]
null
null
null
ShopEg.c
JulianConneely/multiParadigm
653142b3af197cc3ff9bc91f3e2c7759fcbc5c44
[ "MIT" ]
null
null
null
#include <stdio.h> #include <stdlib.h> struct Product { char* name; double price; }; int main() { // this is the customers budget double budget = 100.0; // this is how much money the shop has double shopCash = 2000.0; // for simplicity we are saying the customer always wants 1 of each item int quantity = 1; // These are two products struct Product a = { "Coke Can", 1.10 }; struct Product b = { "Mirror", 20.40 }; // create an array to store the products struct Product cp[] = { a, b }; double cost = 0; // We will loop over the array to find out how much it will cost the customer to buy all these items for(int i=0; i < 2; i++) { cost += cp[i].price * quantity; } // in this simple example the customer either can afford it all or nothing, you will want to be able to let them buy what they can afford if (cost <= budget) { // we reduce the customers cash budget -= cost; // the shop gets the money shopCash += cost; printf("\nThe customer can buy everything they wanted and now the shop has %.2f and the customer has %.2f remaining\n", shopCash, budget); } }
27.02439
140
0.672383
cc0ec8129ff39a6197716971d03dc749f3ec1104
20,366
h
C
prototype/V1.0/atsam_soft/VFODial_sam4/VFODial_sam4/src/ASF/sam/utils/cmsis/sam4l/include/instance/instance_hmatrix.h
SKRorg/VFODialHID
c6c722d3fdf5cc43bb0b2a8d139cce012eba4cea
[ "MIT" ]
41
2019-08-22T00:30:54.000Z
2022-03-20T18:47:34.000Z
prototype/V1.0/atsam_soft/VFODial_sam4/VFODial_sam4/src/ASF/sam/utils/cmsis/sam4l/include/instance/instance_hmatrix.h
SKRorg/VFODialHID
c6c722d3fdf5cc43bb0b2a8d139cce012eba4cea
[ "MIT" ]
10
2019-10-16T19:02:47.000Z
2022-02-27T21:35:56.000Z
prototype/V1.0/atsam_soft/VFODial_sam4/VFODial_sam4/src/ASF/sam/utils/cmsis/sam4l/include/instance/instance_hmatrix.h
SKRorg/VFODialHID
c6c722d3fdf5cc43bb0b2a8d139cce012eba4cea
[ "MIT" ]
18
2019-10-15T17:53:49.000Z
2022-03-10T11:53:15.000Z
/** * \file * * \brief Instance description for HMATRIX * * Copyright (c) 2014-2018 Microchip Technology Inc. and its subsidiaries. * * \asf_license_start * * \page License * * Subject to your compliance with these terms, you may use Microchip * software and any derivatives exclusively with Microchip products. * It is your responsibility to comply with third party license terms applicable * to your use of third party software (including open source software) that * may accompany Microchip software. * * THIS SOFTWARE IS SUPPLIED BY MICROCHIP "AS IS". NO WARRANTIES, * WHETHER EXPRESS, IMPLIED OR STATUTORY, APPLY TO THIS SOFTWARE, * INCLUDING ANY IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY, * AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT WILL MICROCHIP BE * LIABLE FOR ANY INDIRECT, SPECIAL, PUNITIVE, INCIDENTAL OR CONSEQUENTIAL * LOSS, DAMAGE, COST OR EXPENSE OF ANY KIND WHATSOEVER RELATED TO THE * SOFTWARE, HOWEVER CAUSED, EVEN IF MICROCHIP HAS BEEN ADVISED OF THE * POSSIBILITY OR THE DAMAGES ARE FORESEEABLE. TO THE FULLEST EXTENT * ALLOWED BY LAW, MICROCHIP'S TOTAL LIABILITY ON ALL CLAIMS IN ANY WAY * RELATED TO THIS SOFTWARE WILL NOT EXCEED THE AMOUNT OF FEES, IF ANY, * THAT YOU HAVE PAID DIRECTLY TO MICROCHIP FOR THIS SOFTWARE. * * \asf_license_stop * */ /* * Support and FAQ: visit <a href="https://www.microchip.com/support/">Microchip Support</a> */ #ifndef _SAM4L_HMATRIX_INSTANCE_ #define _SAM4L_HMATRIX_INSTANCE_ /* ========== Register definition for HMATRIX peripheral ========== */ #if (defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__)) #define REG_HMATRIX_MCFG0 (0x400A1000U) /**< \brief (HMATRIX) Master Configuration Register 0 */ #define REG_HMATRIX_MCFG1 (0x400A1004U) /**< \brief (HMATRIX) Master Configuration Register 1 */ #define REG_HMATRIX_MCFG2 (0x400A1008U) /**< \brief (HMATRIX) Master Configuration Register 2 */ #define REG_HMATRIX_MCFG3 (0x400A100CU) /**< \brief (HMATRIX) Master Configuration Register 3 */ #define REG_HMATRIX_MCFG4 (0x400A1010U) /**< \brief (HMATRIX) Master Configuration Register 4 */ #define REG_HMATRIX_MCFG5 (0x400A1014U) /**< \brief (HMATRIX) Master Configuration Register 5 */ #define REG_HMATRIX_MCFG6 (0x400A1018U) /**< \brief (HMATRIX) Master Configuration Register 6 */ #define REG_HMATRIX_MCFG7 (0x400A101CU) /**< \brief (HMATRIX) Master Configuration Register 7 */ #define REG_HMATRIX_MCFG8 (0x400A1020U) /**< \brief (HMATRIX) Master Configuration Register 8 */ #define REG_HMATRIX_MCFG9 (0x400A1024U) /**< \brief (HMATRIX) Master Configuration Register 9 */ #define REG_HMATRIX_MCFG10 (0x400A1028U) /**< \brief (HMATRIX) Master Configuration Register 10 */ #define REG_HMATRIX_MCFG11 (0x400A102CU) /**< \brief (HMATRIX) Master Configuration Register 11 */ #define REG_HMATRIX_MCFG12 (0x400A1030U) /**< \brief (HMATRIX) Master Configuration Register 12 */ #define REG_HMATRIX_MCFG13 (0x400A1034U) /**< \brief (HMATRIX) Master Configuration Register 13 */ #define REG_HMATRIX_MCFG14 (0x400A1038U) /**< \brief (HMATRIX) Master Configuration Register 14 */ #define REG_HMATRIX_MCFG15 (0x400A103CU) /**< \brief (HMATRIX) Master Configuration Register 15 */ #define REG_HMATRIX_SCFG0 (0x400A1040U) /**< \brief (HMATRIX) Slave Configuration Register 0 */ #define REG_HMATRIX_SCFG1 (0x400A1044U) /**< \brief (HMATRIX) Slave Configuration Register 1 */ #define REG_HMATRIX_SCFG2 (0x400A1048U) /**< \brief (HMATRIX) Slave Configuration Register 2 */ #define REG_HMATRIX_SCFG3 (0x400A104CU) /**< \brief (HMATRIX) Slave Configuration Register 3 */ #define REG_HMATRIX_SCFG4 (0x400A1050U) /**< \brief (HMATRIX) Slave Configuration Register 4 */ #define REG_HMATRIX_SCFG5 (0x400A1054U) /**< \brief (HMATRIX) Slave Configuration Register 5 */ #define REG_HMATRIX_SCFG6 (0x400A1058U) /**< \brief (HMATRIX) Slave Configuration Register 6 */ #define REG_HMATRIX_SCFG7 (0x400A105CU) /**< \brief (HMATRIX) Slave Configuration Register 7 */ #define REG_HMATRIX_SCFG8 (0x400A1060U) /**< \brief (HMATRIX) Slave Configuration Register 8 */ #define REG_HMATRIX_SCFG9 (0x400A1064U) /**< \brief (HMATRIX) Slave Configuration Register 9 */ #define REG_HMATRIX_SCFG10 (0x400A1068U) /**< \brief (HMATRIX) Slave Configuration Register 10 */ #define REG_HMATRIX_SCFG11 (0x400A106CU) /**< \brief (HMATRIX) Slave Configuration Register 11 */ #define REG_HMATRIX_SCFG12 (0x400A1070U) /**< \brief (HMATRIX) Slave Configuration Register 12 */ #define REG_HMATRIX_SCFG13 (0x400A1074U) /**< \brief (HMATRIX) Slave Configuration Register 13 */ #define REG_HMATRIX_SCFG14 (0x400A1078U) /**< \brief (HMATRIX) Slave Configuration Register 14 */ #define REG_HMATRIX_SCFG15 (0x400A107CU) /**< \brief (HMATRIX) Slave Configuration Register 15 */ #define REG_HMATRIX_PRAS0 (0x400A1080U) /**< \brief (HMATRIX) Priority Register A for Slave 0 */ #define REG_HMATRIX_PRBS0 (0x400A1084U) /**< \brief (HMATRIX) Priority Register B for Slave 0 */ #define REG_HMATRIX_PRAS1 (0x400A1088U) /**< \brief (HMATRIX) Priority Register A for Slave 1 */ #define REG_HMATRIX_PRBS1 (0x400A108CU) /**< \brief (HMATRIX) Priority Register B for Slave 1 */ #define REG_HMATRIX_PRAS2 (0x400A1090U) /**< \brief (HMATRIX) Priority Register A for Slave 2 */ #define REG_HMATRIX_PRBS2 (0x400A1094U) /**< \brief (HMATRIX) Priority Register B for Slave 2 */ #define REG_HMATRIX_PRAS3 (0x400A1098U) /**< \brief (HMATRIX) Priority Register A for Slave 3 */ #define REG_HMATRIX_PRBS3 (0x400A109CU) /**< \brief (HMATRIX) Priority Register B for Slave 3 */ #define REG_HMATRIX_PRAS4 (0x400A10A0U) /**< \brief (HMATRIX) Priority Register A for Slave 4 */ #define REG_HMATRIX_PRBS4 (0x400A10A4U) /**< \brief (HMATRIX) Priority Register B for Slave 4 */ #define REG_HMATRIX_PRAS5 (0x400A10A8U) /**< \brief (HMATRIX) Priority Register A for Slave 5 */ #define REG_HMATRIX_PRBS5 (0x400A10ACU) /**< \brief (HMATRIX) Priority Register B for Slave 5 */ #define REG_HMATRIX_PRAS6 (0x400A10B0U) /**< \brief (HMATRIX) Priority Register A for Slave 6 */ #define REG_HMATRIX_PRBS6 (0x400A10B4U) /**< \brief (HMATRIX) Priority Register B for Slave 6 */ #define REG_HMATRIX_PRAS7 (0x400A10B8U) /**< \brief (HMATRIX) Priority Register A for Slave 7 */ #define REG_HMATRIX_PRBS7 (0x400A10BCU) /**< \brief (HMATRIX) Priority Register B for Slave 7 */ #define REG_HMATRIX_PRAS8 (0x400A10C0U) /**< \brief (HMATRIX) Priority Register A for Slave 8 */ #define REG_HMATRIX_PRBS8 (0x400A10C4U) /**< \brief (HMATRIX) Priority Register B for Slave 8 */ #define REG_HMATRIX_PRAS9 (0x400A10C8U) /**< \brief (HMATRIX) Priority Register A for Slave 9 */ #define REG_HMATRIX_PRBS9 (0x400A10CCU) /**< \brief (HMATRIX) Priority Register B for Slave 9 */ #define REG_HMATRIX_PRAS10 (0x400A10D0U) /**< \brief (HMATRIX) Priority Register A for Slave 10 */ #define REG_HMATRIX_PRBS10 (0x400A10D4U) /**< \brief (HMATRIX) Priority Register B for Slave 10 */ #define REG_HMATRIX_PRAS11 (0x400A10D8U) /**< \brief (HMATRIX) Priority Register A for Slave 11 */ #define REG_HMATRIX_PRBS11 (0x400A10DCU) /**< \brief (HMATRIX) Priority Register B for Slave 11 */ #define REG_HMATRIX_PRAS12 (0x400A10E0U) /**< \brief (HMATRIX) Priority Register A for Slave 12 */ #define REG_HMATRIX_PRBS12 (0x400A10E4U) /**< \brief (HMATRIX) Priority Register B for Slave 12 */ #define REG_HMATRIX_PRAS13 (0x400A10E8U) /**< \brief (HMATRIX) Priority Register A for Slave 13 */ #define REG_HMATRIX_PRBS13 (0x400A10ECU) /**< \brief (HMATRIX) Priority Register B for Slave 13 */ #define REG_HMATRIX_PRAS14 (0x400A10F0U) /**< \brief (HMATRIX) Priority Register A for Slave 14 */ #define REG_HMATRIX_PRBS14 (0x400A10F4U) /**< \brief (HMATRIX) Priority Register B for Slave 14 */ #define REG_HMATRIX_PRAS15 (0x400A10F8U) /**< \brief (HMATRIX) Priority Register A for Slave 15 */ #define REG_HMATRIX_PRBS15 (0x400A10FCU) /**< \brief (HMATRIX) Priority Register B for Slave 15 */ #define REG_HMATRIX_MRCR (0x400A1100U) /**< \brief (HMATRIX) Master Remap Control Register */ #define REG_HMATRIX_SFR0 (0x400A1110U) /**< \brief (HMATRIX) Special Function Register 0 */ #define REG_HMATRIX_SFR1 (0x400A1114U) /**< \brief (HMATRIX) Special Function Register 1 */ #define REG_HMATRIX_SFR2 (0x400A1118U) /**< \brief (HMATRIX) Special Function Register 2 */ #define REG_HMATRIX_SFR3 (0x400A111CU) /**< \brief (HMATRIX) Special Function Register 3 */ #define REG_HMATRIX_SFR4 (0x400A1120U) /**< \brief (HMATRIX) Special Function Register 4 */ #define REG_HMATRIX_SFR5 (0x400A1124U) /**< \brief (HMATRIX) Special Function Register 5 */ #define REG_HMATRIX_SFR6 (0x400A1128U) /**< \brief (HMATRIX) Special Function Register 6 */ #define REG_HMATRIX_SFR7 (0x400A112CU) /**< \brief (HMATRIX) Special Function Register 7 */ #define REG_HMATRIX_SFR8 (0x400A1130U) /**< \brief (HMATRIX) Special Function Register 8 */ #define REG_HMATRIX_SFR9 (0x400A1134U) /**< \brief (HMATRIX) Special Function Register 9 */ #define REG_HMATRIX_SFR10 (0x400A1138U) /**< \brief (HMATRIX) Special Function Register 10 */ #define REG_HMATRIX_SFR11 (0x400A113CU) /**< \brief (HMATRIX) Special Function Register 11 */ #define REG_HMATRIX_SFR12 (0x400A1140U) /**< \brief (HMATRIX) Special Function Register 12 */ #define REG_HMATRIX_SFR13 (0x400A1144U) /**< \brief (HMATRIX) Special Function Register 13 */ #define REG_HMATRIX_SFR14 (0x400A1148U) /**< \brief (HMATRIX) Special Function Register 14 */ #define REG_HMATRIX_SFR15 (0x400A114CU) /**< \brief (HMATRIX) Special Function Register 15 */ #else #define REG_HMATRIX_MCFG0 (*(RwReg *)0x400A1000U) /**< \brief (HMATRIX) Master Configuration Register 0 */ #define REG_HMATRIX_MCFG1 (*(RwReg *)0x400A1004U) /**< \brief (HMATRIX) Master Configuration Register 1 */ #define REG_HMATRIX_MCFG2 (*(RwReg *)0x400A1008U) /**< \brief (HMATRIX) Master Configuration Register 2 */ #define REG_HMATRIX_MCFG3 (*(RwReg *)0x400A100CU) /**< \brief (HMATRIX) Master Configuration Register 3 */ #define REG_HMATRIX_MCFG4 (*(RwReg *)0x400A1010U) /**< \brief (HMATRIX) Master Configuration Register 4 */ #define REG_HMATRIX_MCFG5 (*(RwReg *)0x400A1014U) /**< \brief (HMATRIX) Master Configuration Register 5 */ #define REG_HMATRIX_MCFG6 (*(RwReg *)0x400A1018U) /**< \brief (HMATRIX) Master Configuration Register 6 */ #define REG_HMATRIX_MCFG7 (*(RwReg *)0x400A101CU) /**< \brief (HMATRIX) Master Configuration Register 7 */ #define REG_HMATRIX_MCFG8 (*(RwReg *)0x400A1020U) /**< \brief (HMATRIX) Master Configuration Register 8 */ #define REG_HMATRIX_MCFG9 (*(RwReg *)0x400A1024U) /**< \brief (HMATRIX) Master Configuration Register 9 */ #define REG_HMATRIX_MCFG10 (*(RwReg *)0x400A1028U) /**< \brief (HMATRIX) Master Configuration Register 10 */ #define REG_HMATRIX_MCFG11 (*(RwReg *)0x400A102CU) /**< \brief (HMATRIX) Master Configuration Register 11 */ #define REG_HMATRIX_MCFG12 (*(RwReg *)0x400A1030U) /**< \brief (HMATRIX) Master Configuration Register 12 */ #define REG_HMATRIX_MCFG13 (*(RwReg *)0x400A1034U) /**< \brief (HMATRIX) Master Configuration Register 13 */ #define REG_HMATRIX_MCFG14 (*(RwReg *)0x400A1038U) /**< \brief (HMATRIX) Master Configuration Register 14 */ #define REG_HMATRIX_MCFG15 (*(RwReg *)0x400A103CU) /**< \brief (HMATRIX) Master Configuration Register 15 */ #define REG_HMATRIX_SCFG0 (*(RwReg *)0x400A1040U) /**< \brief (HMATRIX) Slave Configuration Register 0 */ #define REG_HMATRIX_SCFG1 (*(RwReg *)0x400A1044U) /**< \brief (HMATRIX) Slave Configuration Register 1 */ #define REG_HMATRIX_SCFG2 (*(RwReg *)0x400A1048U) /**< \brief (HMATRIX) Slave Configuration Register 2 */ #define REG_HMATRIX_SCFG3 (*(RwReg *)0x400A104CU) /**< \brief (HMATRIX) Slave Configuration Register 3 */ #define REG_HMATRIX_SCFG4 (*(RwReg *)0x400A1050U) /**< \brief (HMATRIX) Slave Configuration Register 4 */ #define REG_HMATRIX_SCFG5 (*(RwReg *)0x400A1054U) /**< \brief (HMATRIX) Slave Configuration Register 5 */ #define REG_HMATRIX_SCFG6 (*(RwReg *)0x400A1058U) /**< \brief (HMATRIX) Slave Configuration Register 6 */ #define REG_HMATRIX_SCFG7 (*(RwReg *)0x400A105CU) /**< \brief (HMATRIX) Slave Configuration Register 7 */ #define REG_HMATRIX_SCFG8 (*(RwReg *)0x400A1060U) /**< \brief (HMATRIX) Slave Configuration Register 8 */ #define REG_HMATRIX_SCFG9 (*(RwReg *)0x400A1064U) /**< \brief (HMATRIX) Slave Configuration Register 9 */ #define REG_HMATRIX_SCFG10 (*(RwReg *)0x400A1068U) /**< \brief (HMATRIX) Slave Configuration Register 10 */ #define REG_HMATRIX_SCFG11 (*(RwReg *)0x400A106CU) /**< \brief (HMATRIX) Slave Configuration Register 11 */ #define REG_HMATRIX_SCFG12 (*(RwReg *)0x400A1070U) /**< \brief (HMATRIX) Slave Configuration Register 12 */ #define REG_HMATRIX_SCFG13 (*(RwReg *)0x400A1074U) /**< \brief (HMATRIX) Slave Configuration Register 13 */ #define REG_HMATRIX_SCFG14 (*(RwReg *)0x400A1078U) /**< \brief (HMATRIX) Slave Configuration Register 14 */ #define REG_HMATRIX_SCFG15 (*(RwReg *)0x400A107CU) /**< \brief (HMATRIX) Slave Configuration Register 15 */ #define REG_HMATRIX_PRAS0 (*(RwReg *)0x400A1080U) /**< \brief (HMATRIX) Priority Register A for Slave 0 */ #define REG_HMATRIX_PRBS0 (*(RwReg *)0x400A1084U) /**< \brief (HMATRIX) Priority Register B for Slave 0 */ #define REG_HMATRIX_PRAS1 (*(RwReg *)0x400A1088U) /**< \brief (HMATRIX) Priority Register A for Slave 1 */ #define REG_HMATRIX_PRBS1 (*(RwReg *)0x400A108CU) /**< \brief (HMATRIX) Priority Register B for Slave 1 */ #define REG_HMATRIX_PRAS2 (*(RwReg *)0x400A1090U) /**< \brief (HMATRIX) Priority Register A for Slave 2 */ #define REG_HMATRIX_PRBS2 (*(RwReg *)0x400A1094U) /**< \brief (HMATRIX) Priority Register B for Slave 2 */ #define REG_HMATRIX_PRAS3 (*(RwReg *)0x400A1098U) /**< \brief (HMATRIX) Priority Register A for Slave 3 */ #define REG_HMATRIX_PRBS3 (*(RwReg *)0x400A109CU) /**< \brief (HMATRIX) Priority Register B for Slave 3 */ #define REG_HMATRIX_PRAS4 (*(RwReg *)0x400A10A0U) /**< \brief (HMATRIX) Priority Register A for Slave 4 */ #define REG_HMATRIX_PRBS4 (*(RwReg *)0x400A10A4U) /**< \brief (HMATRIX) Priority Register B for Slave 4 */ #define REG_HMATRIX_PRAS5 (*(RwReg *)0x400A10A8U) /**< \brief (HMATRIX) Priority Register A for Slave 5 */ #define REG_HMATRIX_PRBS5 (*(RwReg *)0x400A10ACU) /**< \brief (HMATRIX) Priority Register B for Slave 5 */ #define REG_HMATRIX_PRAS6 (*(RwReg *)0x400A10B0U) /**< \brief (HMATRIX) Priority Register A for Slave 6 */ #define REG_HMATRIX_PRBS6 (*(RwReg *)0x400A10B4U) /**< \brief (HMATRIX) Priority Register B for Slave 6 */ #define REG_HMATRIX_PRAS7 (*(RwReg *)0x400A10B8U) /**< \brief (HMATRIX) Priority Register A for Slave 7 */ #define REG_HMATRIX_PRBS7 (*(RwReg *)0x400A10BCU) /**< \brief (HMATRIX) Priority Register B for Slave 7 */ #define REG_HMATRIX_PRAS8 (*(RwReg *)0x400A10C0U) /**< \brief (HMATRIX) Priority Register A for Slave 8 */ #define REG_HMATRIX_PRBS8 (*(RwReg *)0x400A10C4U) /**< \brief (HMATRIX) Priority Register B for Slave 8 */ #define REG_HMATRIX_PRAS9 (*(RwReg *)0x400A10C8U) /**< \brief (HMATRIX) Priority Register A for Slave 9 */ #define REG_HMATRIX_PRBS9 (*(RwReg *)0x400A10CCU) /**< \brief (HMATRIX) Priority Register B for Slave 9 */ #define REG_HMATRIX_PRAS10 (*(RwReg *)0x400A10D0U) /**< \brief (HMATRIX) Priority Register A for Slave 10 */ #define REG_HMATRIX_PRBS10 (*(RwReg *)0x400A10D4U) /**< \brief (HMATRIX) Priority Register B for Slave 10 */ #define REG_HMATRIX_PRAS11 (*(RwReg *)0x400A10D8U) /**< \brief (HMATRIX) Priority Register A for Slave 11 */ #define REG_HMATRIX_PRBS11 (*(RwReg *)0x400A10DCU) /**< \brief (HMATRIX) Priority Register B for Slave 11 */ #define REG_HMATRIX_PRAS12 (*(RwReg *)0x400A10E0U) /**< \brief (HMATRIX) Priority Register A for Slave 12 */ #define REG_HMATRIX_PRBS12 (*(RwReg *)0x400A10E4U) /**< \brief (HMATRIX) Priority Register B for Slave 12 */ #define REG_HMATRIX_PRAS13 (*(RwReg *)0x400A10E8U) /**< \brief (HMATRIX) Priority Register A for Slave 13 */ #define REG_HMATRIX_PRBS13 (*(RwReg *)0x400A10ECU) /**< \brief (HMATRIX) Priority Register B for Slave 13 */ #define REG_HMATRIX_PRAS14 (*(RwReg *)0x400A10F0U) /**< \brief (HMATRIX) Priority Register A for Slave 14 */ #define REG_HMATRIX_PRBS14 (*(RwReg *)0x400A10F4U) /**< \brief (HMATRIX) Priority Register B for Slave 14 */ #define REG_HMATRIX_PRAS15 (*(RwReg *)0x400A10F8U) /**< \brief (HMATRIX) Priority Register A for Slave 15 */ #define REG_HMATRIX_PRBS15 (*(RwReg *)0x400A10FCU) /**< \brief (HMATRIX) Priority Register B for Slave 15 */ #define REG_HMATRIX_MRCR (*(RwReg *)0x400A1100U) /**< \brief (HMATRIX) Master Remap Control Register */ #define REG_HMATRIX_SFR0 (*(RwReg *)0x400A1110U) /**< \brief (HMATRIX) Special Function Register 0 */ #define REG_HMATRIX_SFR1 (*(RwReg *)0x400A1114U) /**< \brief (HMATRIX) Special Function Register 1 */ #define REG_HMATRIX_SFR2 (*(RwReg *)0x400A1118U) /**< \brief (HMATRIX) Special Function Register 2 */ #define REG_HMATRIX_SFR3 (*(RwReg *)0x400A111CU) /**< \brief (HMATRIX) Special Function Register 3 */ #define REG_HMATRIX_SFR4 (*(RwReg *)0x400A1120U) /**< \brief (HMATRIX) Special Function Register 4 */ #define REG_HMATRIX_SFR5 (*(RwReg *)0x400A1124U) /**< \brief (HMATRIX) Special Function Register 5 */ #define REG_HMATRIX_SFR6 (*(RwReg *)0x400A1128U) /**< \brief (HMATRIX) Special Function Register 6 */ #define REG_HMATRIX_SFR7 (*(RwReg *)0x400A112CU) /**< \brief (HMATRIX) Special Function Register 7 */ #define REG_HMATRIX_SFR8 (*(RwReg *)0x400A1130U) /**< \brief (HMATRIX) Special Function Register 8 */ #define REG_HMATRIX_SFR9 (*(RwReg *)0x400A1134U) /**< \brief (HMATRIX) Special Function Register 9 */ #define REG_HMATRIX_SFR10 (*(RwReg *)0x400A1138U) /**< \brief (HMATRIX) Special Function Register 10 */ #define REG_HMATRIX_SFR11 (*(RwReg *)0x400A113CU) /**< \brief (HMATRIX) Special Function Register 11 */ #define REG_HMATRIX_SFR12 (*(RwReg *)0x400A1140U) /**< \brief (HMATRIX) Special Function Register 12 */ #define REG_HMATRIX_SFR13 (*(RwReg *)0x400A1144U) /**< \brief (HMATRIX) Special Function Register 13 */ #define REG_HMATRIX_SFR14 (*(RwReg *)0x400A1148U) /**< \brief (HMATRIX) Special Function Register 14 */ #define REG_HMATRIX_SFR15 (*(RwReg *)0x400A114CU) /**< \brief (HMATRIX) Special Function Register 15 */ #endif /* (defined(__ASSEMBLY__) || defined(__IAR_SYSTEMS_ASM__)) */ /* ========== Instance parameters for HMATRIX ========== */ #define HMATRIX_SLAVE_FLASH 0 #define HMATRIX_SLAVE_HTOP0 1 #define HMATRIX_SLAVE_HTOP1 2 #define HMATRIX_SLAVE_HTOP2 3 #define HMATRIX_SLAVE_HTOP3 4 #define HMATRIX_SLAVE_HRAMC0 5 #define HMATRIX_SLAVE_HRAMC1 6 #define HMATRIX_SLAVE_AESA 7 #define HMATRIX_SLAVE_NUM 8 #define HMATRIX_MASTER_CPU_IDCODE 0 #define HMATRIX_MASTER_CPU_SYS 1 #define HMATRIX_MASTER_SMAP 2 #define HMATRIX_MASTER_PDCA 3 #define HMATRIX_MASTER_USBC_MASTER 4 #define HMATRIX_MASTER_CRCCU 5 #define HMATRIX_MASTER_NUM 6 #endif /* _SAM4L_HMATRIX_INSTANCE_ */
89.718062
117
0.684769
0431aa12e6b8760eccd3670deb78ca11e1a23e09
2,006
h
C
kubernetes/model/io_k8s_api_certificates_v1beta1_certificate_signing_request_condition.h
zouxiaoliang/nerv-kubernetes-client-c
07528948c643270fd757d38edc68da8c9628ee7a
[ "Apache-2.0" ]
null
null
null
kubernetes/model/io_k8s_api_certificates_v1beta1_certificate_signing_request_condition.h
zouxiaoliang/nerv-kubernetes-client-c
07528948c643270fd757d38edc68da8c9628ee7a
[ "Apache-2.0" ]
null
null
null
kubernetes/model/io_k8s_api_certificates_v1beta1_certificate_signing_request_condition.h
zouxiaoliang/nerv-kubernetes-client-c
07528948c643270fd757d38edc68da8c9628ee7a
[ "Apache-2.0" ]
null
null
null
/* * io_k8s_api_certificates_v1beta1_certificate_signing_request_condition.h * * */ #ifndef _io_k8s_api_certificates_v1beta1_certificate_signing_request_condition_H_ #define _io_k8s_api_certificates_v1beta1_certificate_signing_request_condition_H_ #include <string.h> #include "../external/cJSON.h" #include "../include/list.h" #include "../include/keyValuePair.h" #include "../include/binary.h" typedef struct io_k8s_api_certificates_v1beta1_certificate_signing_request_condition_t io_k8s_api_certificates_v1beta1_certificate_signing_request_condition_t; typedef struct io_k8s_api_certificates_v1beta1_certificate_signing_request_condition_t { char *last_transition_time; //date time char *last_update_time; //date time char *message; // string char *reason; // string char *status; // string char *type; // string } io_k8s_api_certificates_v1beta1_certificate_signing_request_condition_t; io_k8s_api_certificates_v1beta1_certificate_signing_request_condition_t *io_k8s_api_certificates_v1beta1_certificate_signing_request_condition_create( char *last_transition_time, char *last_update_time, char *message, char *reason, char *status, char *type ); void io_k8s_api_certificates_v1beta1_certificate_signing_request_condition_free(io_k8s_api_certificates_v1beta1_certificate_signing_request_condition_t *io_k8s_api_certificates_v1beta1_certificate_signing_request_condition); io_k8s_api_certificates_v1beta1_certificate_signing_request_condition_t *io_k8s_api_certificates_v1beta1_certificate_signing_request_condition_parseFromJSON(cJSON *io_k8s_api_certificates_v1beta1_certificate_signing_request_conditionJSON); cJSON *io_k8s_api_certificates_v1beta1_certificate_signing_request_condition_convertToJSON(io_k8s_api_certificates_v1beta1_certificate_signing_request_condition_t *io_k8s_api_certificates_v1beta1_certificate_signing_request_condition); #endif /* _io_k8s_api_certificates_v1beta1_certificate_signing_request_condition_H_ */
41.791667
239
0.871884
cc7bd8d6256db1cd906cbe8f22702b2ebc01019b
2,192
h
C
geometry/render/render_doxygen.h
RobotLocomotion/drake-python3.7
ae397a4c6985262d23e9675b9bf3927c08d027f5
[ "BSD-3-Clause" ]
2
2021-02-25T02:01:02.000Z
2021-03-17T04:52:04.000Z
geometry/render/render_doxygen.h
RobotLocomotion/drake-python3.7
ae397a4c6985262d23e9675b9bf3927c08d027f5
[ "BSD-3-Clause" ]
null
null
null
geometry/render/render_doxygen.h
RobotLocomotion/drake-python3.7
ae397a4c6985262d23e9675b9bf3927c08d027f5
[ "BSD-3-Clause" ]
1
2021-06-13T12:05:39.000Z
2021-06-13T12:05:39.000Z
/** @file Doxygen-only documentation for @ref render_engines. */ namespace drake { namespace geometry { namespace render { /** @addtogroup render_engines Rendering engines are used to enable simulation of the perception stack. <h2>Overview</h2> Perception simulation is supported via the RenderEngine API. It provides the interface through which the geometries in the simulation can be rendered to three types of images: color, depth, and label. (For more details about the API, refer to the RenderEngine documentation.) Drake includes *two* implementations of that API: - RenderEngineVtk - A GPU-based rasterization renderer using the VTK library. - RenderEngineGl - A GPU-based rasterization renderer using direct calls to the OpenGL API. These implementations differ in many ways largely differ in performance and flexibility potential. RenderEngineVtk is slower but has the possibility of leveraging the full VTK API to provide *post hoc* customizations. RenderEngineGl is faster, but gains that performance boost by implementing a barebones rendering pipeline. Picking the right renderer for your simulated sensors will be based on considering those differences and picking the trade-off that best suits your application. The current API is simple and precludes sophisticated definitions of lights and materials. As the API matures, these additional features will be added. <h2>Performance</h2> The performance of both of the current implementations will strongly deend on the quality of a system's GPU and its driver. A more powerful graphics card with an up-to-date driver will likely produce images more quickly. It is impossible to state what the a RenderEngine's performance is in absolute terms. Instead, Drake includes a simple @ref render_engine_benchmarks "benchmark" which can be run locally to assess the actual performance the end user will experience on a fixed system. */ /** @defgroup render_benchmarks Render Benchmarks @ingroup render_engines Benchmarks for assessing rendering performance and comparing implementations. */ } // namespace render } // namespace geometry } // namespace drake
36.533333
80
0.784215
432e621d02d9b6a0d45014a73cc3d5c89b69e887
474
c
C
qemu_mode/qemu-2.3.0/roms/ipxe/src/config/config_infiniband.c
jhu066/afl-grader-pro
0202e81cc00b5ce72f12de3e83b885453031f10c
[ "Apache-1.1" ]
6
2019-08-22T17:40:59.000Z
2022-02-08T08:07:14.000Z
qemu_mode/qemu-2.3.0/roms/ipxe/src/config/config_infiniband.c
jhu066/afl-grader-pro
0202e81cc00b5ce72f12de3e83b885453031f10c
[ "Apache-1.1" ]
1
2021-02-23T18:42:51.000Z
2021-02-23T18:42:51.000Z
qemu_mode/qemu-2.3.0/roms/ipxe/src/config/config_infiniband.c
jhu066/afl-grader-pro
0202e81cc00b5ce72f12de3e83b885453031f10c
[ "Apache-1.1" ]
2
2020-11-24T16:32:46.000Z
2021-05-30T04:42:07.000Z
/* * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 2, or (at * your option) any later version. */ FILE_LICENCE ( GPL2_OR_LATER ); #include <config/general.h> /** @file * * Infiniband configuration options * */ /* * Drag in Infiniband-specific protocols */ #ifdef SANBOOT_PROTO_IB_SRP REQUIRE_OBJECT ( ib_srp ); #endif
19.75
70
0.723629
9353bb31a0b69ea15d838af26b734f47d1ac73a9
640
h
C
circulo/algorithms/biSBM/biSBM.h
kfoss/Circulo
312f994da8b6389b547edc2e94b009280e2c740e
[ "Apache-2.0" ]
81
2015-01-06T09:10:23.000Z
2021-04-20T02:07:07.000Z
circulo/algorithms/biSBM/biSBM.h
kfoss/Circulo
312f994da8b6389b547edc2e94b009280e2c740e
[ "Apache-2.0" ]
17
2015-01-02T21:27:35.000Z
2018-12-12T17:03:49.000Z
circulo/algorithms/biSBM/biSBM.h
kfoss/Circulo
312f994da8b6389b547edc2e94b009280e2c740e
[ "Apache-2.0" ]
44
2015-02-17T14:58:10.000Z
2021-04-02T10:47:14.000Z
/** * TODO: main comment * * */ #include <stdlib.h> #include <stdio.h> #include <string.h> #include <limits.h> #include <stdbool.h> #include <math.h> #include <float.h> #include <assert.h> #include <igraph.h> int igraph_community_bipartite_sbm(igraph_t *graph, igraph_vector_t *membership, igraph_integer_t k_a, igraph_integer_t k_b, igraph_integer_t max_iters, igraph_bool_t degree_correct); int log_message(const char *message, ...); void igraph_read_graph_generic(igraph_t *graph, char *type, char *file_name); void print_usage_and_exit(int exitstatus);
22.857143
93
0.670313
d8a3e3cf3a17727be38dd657ff713561ab590700
425
h
C
include/rudiments/private/client.h
davidwed/sqlrelay_rudiments
6ccffdfc5fa29f8c0226f3edc2aa888aa1008347
[ "BSD-2-Clause-NetBSD" ]
null
null
null
include/rudiments/private/client.h
davidwed/sqlrelay_rudiments
6ccffdfc5fa29f8c0226f3edc2aa888aa1008347
[ "BSD-2-Clause-NetBSD" ]
null
null
null
include/rudiments/private/client.h
davidwed/sqlrelay_rudiments
6ccffdfc5fa29f8c0226f3edc2aa888aa1008347
[ "BSD-2-Clause-NetBSD" ]
null
null
null
// Copyright (c) 2002 David Muse // See the COPYING file for more information. protected: char **_connecterror(); int32_t _timeoutsec(); int32_t _timeoutusec(); uint32_t _retrywait(); uint32_t _tries(); void initialize(char *connecterror, int32_t timeoutsec, int32_t timeoutusec, uint32_t retrywait, uint32_t tries); void clientClone(const client &c); private: clientprivate *pvt;
21.25
45
0.701176
368e5b54350fe6dbd926cfe5055e80895ea70846
6,145
h
C
DataFormats/Provenance/interface/Hash.h
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
DataFormats/Provenance/interface/Hash.h
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
DataFormats/Provenance/interface/Hash.h
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
#ifndef DataFormats_Provenance_Hash_h #define DataFormats_Provenance_Hash_h #include <string> #include <functional> /*---------------------------------------------------------------------- Hash: Note: The call to 'fixup' in every member function is a temporary measure for backwards compatibility. It is necessary in every function because Root creates instances of the class *without* using the interface of the class, thus making it insufficient to assure that all constructors make corrected instances. ----------------------------------------------------------------------*/ namespace cms { class Digest; } namespace edm { namespace detail { // This string is the 16-byte, non-printable version. std::string const& InvalidHash(); } namespace hash_detail { typedef std::string value_type; value_type compactForm_(value_type const& hash); void fixup_(value_type& hash); bool isCompactForm_(value_type const& hash); bool isValid_(value_type const& hash); void throwIfIllFormed(value_type const& hash); void toString_(std::string& result, value_type const& hash); void toDigest_(cms::Digest& digest, value_type const& hash); std::ostream& print_(std::ostream& os, value_type const& hash); size_t smallHash_(value_type const& hash); } template <int I> class Hash { public: typedef hash_detail::value_type value_type; Hash(); explicit Hash(value_type const& v); Hash(Hash<I> const&); Hash<I>& operator=(Hash<I> const& iRHS); void reset(); // For now, just check the most basic: a default constructed // ParameterSetID is not valid. This is very crude: we are // assuming that nobody created a ParameterSetID from an empty // string, nor from any string that is not a valid string // representation of an MD5 checksum. bool isValid() const; bool operator<(Hash<I> const& other) const; bool operator>(Hash<I> const& other) const; bool operator==(Hash<I> const& other) const; bool operator!=(Hash<I> const& other) const; std::ostream& print(std::ostream& os) const; void toString(std::string& result) const; void toDigest(cms::Digest& digest) const; void swap(Hash<I>& other); // Return the 16-byte (non-printable) string form. value_type compactForm() const; bool isCompactForm() const; ///returns a short hash which can be used with hashing containers size_t smallHash() const; //Used by ROOT storage // CMS_CLASS_VERSION(11) // This macro is not defined here, so expand it. static short Class_Version() {return 11;} private: /// Hexified version of data *must* contain a multiple of 2 /// bytes. If it does not, throw an exception. void throwIfIllFormed() const; template<typename Op> bool compareUsing(Hash<I> const& iOther, Op op) const { bool meCF = hash_detail::isCompactForm_(hash_); bool otherCF = hash_detail::isCompactForm_(iOther.hash_); if(meCF == otherCF) { return op(this->hash_,iOther.hash_); } //copy constructor will do compact form conversion if(meCF) { Hash<I> temp(iOther); return op(this->hash_,temp.hash_); } Hash<I> temp(*this); return op(temp.hash_,iOther.hash_); } value_type hash_; }; //-------------------------------------------------------------------- // // Implementation details follow... //-------------------------------------------------------------------- template <int I> inline Hash<I>::Hash() : hash_(detail::InvalidHash()) {} template <int I> inline Hash<I>::Hash(typename Hash<I>::value_type const& v) : hash_(v) { hash_detail::fixup_(hash_); } template <int I> inline Hash<I>::Hash(Hash<I> const& iOther) : hash_(iOther.hash_) { hash_detail::fixup_(hash_); } template <int I> inline Hash<I>& Hash<I>::operator=(Hash<I> const& iRHS) { hash_ = iRHS.hash_; hash_detail::fixup_(hash_); return *this; } template <int I> inline void Hash<I>::reset() { hash_ = detail::InvalidHash(); } template <int I> inline bool Hash<I>::isValid() const { return hash_detail::isValid_(hash_); } template <int I> inline bool Hash<I>::operator<(Hash<I> const& other) const { return this->compareUsing(other, std::less<std::string>()); } template <int I> inline bool Hash<I>::operator>(Hash<I> const& other) const { return this->compareUsing(other, std::greater<std::string>()); } template <int I> inline bool Hash<I>::operator==(Hash<I> const& other) const { return this->compareUsing(other, std::equal_to<std::string>()); } template <int I> inline bool Hash<I>::operator!=(Hash<I> const& other) const { return this->compareUsing(other, std::not_equal_to<std::string>()); } template <int I> inline std::ostream& Hash<I>::print(std::ostream& os) const { return hash_detail::print_(os, hash_); } template <int I> inline void Hash<I>::toString(std::string& result) const { hash_detail::toString_(result, hash_); } template <int I> inline void Hash<I>::toDigest(cms::Digest& digest) const { hash_detail::toDigest_(digest, hash_); } template <int I> inline void Hash<I>::swap(Hash<I>& other) { hash_.swap(other.hash_); } template <int I> inline typename Hash<I>::value_type Hash<I>::compactForm() const { return hash_detail::compactForm_(hash_); } template<int I> inline size_t Hash<I>::smallHash() const { return hash_detail::smallHash_(hash_); } // Note: this template is not declared 'inline' because of the // switch statement. template <int I> inline bool Hash<I>::isCompactForm() const { return hash_detail::isCompactForm_(hash_); } // Free swap function template <int I> inline void swap(Hash<I>& a, Hash<I>& b) { a.swap(b); } template <int I> inline std::ostream& operator<<(std::ostream& os, Hash<I> const& h) { return h.print(os); } } #endif
24.384921
77
0.621644
cff417cee166f96f9ba13afee4de7f0c4e41131f
6,160
h
C
bitbots_quintic_walk/include/bitbots_quintic_walk/walk_engine.h
bit-bots/bitbots_motion
7bdf35eba88773cc71759b25fae201d2accd573d
[ "MIT" ]
3
2020-05-30T07:04:33.000Z
2021-08-07T07:41:27.000Z
bitbots_quintic_walk/include/bitbots_quintic_walk/walk_engine.h
bit-bots/bitbots_motion
7bdf35eba88773cc71759b25fae201d2accd573d
[ "MIT" ]
149
2018-12-18T12:49:56.000Z
2022-01-06T10:51:32.000Z
bitbots_quintic_walk/include/bitbots_quintic_walk/walk_engine.h
bit-bots/bitbots_motion
7bdf35eba88773cc71759b25fae201d2accd573d
[ "MIT" ]
4
2019-07-28T11:25:02.000Z
2021-12-06T19:04:18.000Z
/* This code is partly based on the original code by Quentin "Leph" Rouxel and Team Rhoban. The original files can be found at: https://github.com/Rhoban/model/ */ #ifndef BITBOTS_QUINTIC_WALK_INCLUDE_BITBOTS_QUINTIC_WALK_WALK_ENGINE_H_ #define BITBOTS_QUINTIC_WALK_INCLUDE_BITBOTS_QUINTIC_WALK_WALK_ENGINE_H_ #include <ros/ros.h> #include <tf2/LinearMath/Transform.h> #include <tf2/LinearMath/Vector3.h> #include <dynamic_reconfigure/server.h> #include <bitbots_quintic_walk/bitbots_quintic_walk_engine_paramsConfig.h> #include "bitbots_splines/abstract_engine.h" #include "bitbots_splines/smooth_spline.h" #include "bitbots_splines/pose_spline.h" #include "bitbots_quintic_walk/walk_utils.h" namespace bitbots_quintic_walk { /** * QuinticWalk * * Holonomic and open loop walk generator based on footstep control and quintic splines in cartesian space. * Expressed all target state in cartesian space with respect to current support foot. */ class WalkEngine : public bitbots_splines::AbstractEngine<WalkRequest, WalkResponse> { public: explicit WalkEngine(const std::string ns); // methods from abstract engine class WalkResponse update(double dt) override; void setGoals(const WalkRequest &goals) override; void reset() override; int getPercentDone() const override; /** * Resets the engine to any given state. Necessary for using it as reference in learning. */ void reset(WalkState state, double phase, tf2::Vector3 linear_orders, double angular_z, bool stop_walk, bool walkable_state, bool reset_odometry); /** * Return current walk phase between 0 and 1 */ double getPhase() const; /** * Returns the phase of one single step, on which we can start doing phase resets. Basically the phase when the flying foot reached its apex. */ double getPhaseResetPhase() const; /** * Return current time between 0 and half period for trajectories evaluation */ double getTrajsTime() const; /** * Return if true if left is current support foot */ bool isLeftSupport(); /** * Return true if both feet are currently on the ground */ bool isDoubleSupport(); /** * Assign given parameters vector */ void reconfCallback(bitbots_quintic_walk_engine_paramsConfig &params, uint32_t level); void requestKick(bool left); void requestPause(); /** * Ends the current step earlier. Useful if foot hits ground to early. */ void endStep(); void setPhaseRest(bool active); WalkState getState(); double getFreq(); double getWantedTrunkPitch(); void setPauseDuration(double duration); tf2::Transform getLeft(); tf2::Transform getRight(); private: WalkState engine_state_; WalkRequest request_; // Currently used parameters bitbots_quintic_walk_engine_paramsConfig params_; dynamic_reconfigure::Server<bitbots_quintic_walk::bitbots_quintic_walk_engine_paramsConfig> *dyn_reconf_server_; //splines bitbots_splines::SmoothSpline is_double_support_spline_; bitbots_splines::SmoothSpline is_left_support_foot_spline_; bitbots_splines::PoseSpline trunk_spline_; bitbots_splines::PoseSpline foot_spline_; //Movement phase between 0 and 1 double phase_; double last_phase_; // pause handling double time_paused_; double pause_duration_; bool pause_requested_; // phase rest bool phase_rest_active_; // kick handling bool left_kick_requested_; bool right_kick_requested_; // Current support foot (left or right). bool is_left_support_foot_; // Pose diff [dx, dy, dtheta] from support foot to flying foot last and next position. tf2::Transform support_to_last_; tf2::Transform support_to_next_; // Pose integration of left and right foot in initial frame. // Set at "future" state taking into account next expected fot pose. tf2::Transform left_in_world_; tf2::Transform right_in_world_; //Trunk pose and orientation position, velocity and acceleration at last half step start. tf2::Vector3 trunk_pos_at_foot_change_; tf2::Vector3 trunk_pos_vel_at_foot_change_; tf2::Vector3 trunk_pos_acc_at_foot_change_; tf2::Vector3 trunk_orientation_pos_at_last_foot_change_; tf2::Vector3 trunk_orientation_vel_at_last_foot_change_; tf2::Vector3 trunk_orientation_acc_at_foot_change_; //Foot pose and orientation position, velocity and acceleration at last half step start. tf2::Vector3 foot_pos_at_foot_change_; tf2::Vector3 foot_pos_vel_at_foot_change_; tf2::Vector3 foot_pos_acc_at_foot_change_; tf2::Vector3 foot_orientation_pos_at_last_foot_change_; tf2::Vector3 foot_orientation_vel_at_last_foot_change_; tf2::Vector3 foot_orientation_acc_at_foot_change_; void updatePhase(double dt); void buildNormalTrajectories(); void buildKickTrajectories(); void buildStartMovementTrajectories(); void buildStartStepTrajectories(); void buildStopStepTrajectories(); void buildStopMovementTrajectories(); void buildTrajectories(bool start_movement, bool start_step, bool kick_step); void buildWalkDisableTrajectories(bool foot_in_idle_position); void saveCurrentRobotState(); /** * Compute current cartesian target from trajectories and assign it to given model through inverse kinematics. * Return false is the target is unreachable. */ WalkResponse createResponse(); /** * Set the target pose of current support foot during next support phase and update support foot. * The target foot pose diff is given with respect to next support foot pose (current flying foot target). */ void stepFromSupport(const tf2::Transform &diff); /** * Set target pose of current support foot using diff orders. * Zero vector means in place walking. * Special handle of lateral and turn step to avoid foot collision. */ void stepFromOrders(const tf2::Vector3 &linear_orders, double angular_z); /** * Small helper method to get euler angle instead of quaternion. */ tf2::Vector3 getLastEuler(); tf2::Vector3 getNextEuler(); }; } // namespace bitbots_quintic_walk #endif
28.785047
114
0.752922
3214291cbc614ac0447011888e2fbd19bc742719
1,294
h
C
Texture2DClass/Renderer.h
sxysxy/D3D11Lab
2c4fda826c259677f52e15b3e0b2e10905c858f7
[ "MIT" ]
3
2017-12-12T15:07:12.000Z
2018-02-16T13:51:18.000Z
Texture2DClass/Renderer.h
sxysxy/D3D11Lab
2c4fda826c259677f52e15b3e0b2e10905c858f7
[ "MIT" ]
null
null
null
Texture2DClass/Renderer.h
sxysxy/D3D11Lab
2c4fda826c259677f52e15b3e0b2e10905c858f7
[ "MIT" ]
null
null
null
#pragma once #include "stdafx.h" //#include "Texture2D.h" class Texture2D; struct Rect { int x, y, w, h; }; struct Color { float r, g, b, a; Color() { r = g = b = a = 0.0f; } }; class Renderer { int _width, _height; Texture2D *render_target_texture; ID3D11RenderTargetView *current_target_view; ComPtr<ID3D11Buffer> draw_rect_vbuffer; struct Vertex { DirectX::XMFLOAT4 position, color; }; public: const int &width = _width, &height = _height; std::thread render_thread; BOOL quit; ComPtr<ID3D11Device> device; ComPtr<ID3D11DeviceContext> context; ComPtr<ID3D11VertexShader> vertex_shader; ComPtr<ID3D11PixelShader> pixel_shader; ComPtr<IDXGISwapChain> swap_chain; ComPtr<ID3D11Buffer> vertex_buffer; ComPtr<ID3D11InputLayout> input_layout; ComPtr<ID3D11RenderTargetView> render_target_view; ComPtr<ID3D11Buffer> vertex_shader_cbuffer; Color color; bool vsync; void Initialize(); void Start(); void Terminate(); void Resize(int w, int h); void Clear(); void Present(); Texture2D *GetTargetTexture(); void SetTargetTexture(Texture2D *tex); void DrawRect(const Rect &rect, const Color &color); };
20.539683
56
0.653787
962aaaac1dec4a4912bdbd87b30b4faad88b534e
6,349
c
C
src/bin/fm_calshim.c
DanIverson/OpenVnmrJ
0db324603dbd8f618a6a9526b9477a999c5a4cc3
[ "Apache-2.0" ]
32
2016-06-17T05:04:26.000Z
2022-03-28T17:54:44.000Z
src/bin/fm_calshim.c
timburrow/openvnmrj-source
f5e65eb2db4bded3437701f0fa91abd41928579c
[ "Apache-2.0" ]
128
2016-07-13T17:09:02.000Z
2022-03-28T17:53:52.000Z
src/bin/fm_calshim.c
timburrow/openvnmrj-source
f5e65eb2db4bded3437701f0fa91abd41928579c
[ "Apache-2.0" ]
102
2016-01-23T15:27:16.000Z
2022-03-20T05:41:54.000Z
/* * Copyright (C) 2015 University of Oregon * * You may distribute under the terms of either the GNU General Public * License or the Apache License, as specified in the LICENSE file. * * For more information, see the LICENSE file. */ /* it may be necessary to define ISOTRPIC by concatnation */ /*rgs1atan.c */ /*modified from RGS1ATAN.PAS for c syntax */ #include <stdio.h> #include <stdlib.h> #include <math.h> #include <string.h> #define maxsize 65536 #define maxshim 8 #define SQR(x)(x*x) #define scal_z2_z0 1.0e-12 #define DEBUG 1 typedef float poly_coeff[12]; typedef struct { int typ; float coeff; int dcur; } shims; int ns; float dphi(float x1,float x2,float y1,float y2); void getinfo(int *si, int *nproj, float *wbuff, char infile_name1[]); void calpolycoeff(int np,int nf,int si,float fov,float dt,float *wbuff1,float *wbuff0,float *a0,float *a,float *b,float *c,float *chisq, int nn); void getphase(int si, int idx, int wd2, float *wbuff1, float *wbuff, int ni, int nf); void getcal(char *calfile, float *scal); void cal_shim(char *pos[3], poly_coeff a1,poly_coeff a2,shims *sval,float *scal); main(int argc, char *argv[]) { extern int ns; float delta_t,wd,b0,b1,b2,b3,chisq,fov; int size,nf,ne,wd2,nord,maxproj; int j; float wrkbuff0[maxsize],wrkbuff1[maxsize],wrkbuff2[maxsize],wrkbuff3[maxsize]; FILE fil_out; shims shim_val[maxshim]; float shim_cal[(maxshim+1)*maxshim]; poly_coeff a1,a2,a3,chi; char ch; char string[100], fil_in[100], logfile[255], errfile[255], calfile[255]; FILE *fp, *fp1; fprintf(stderr," %d arguments passed to %s\n",argc,argv[0]); if (argc == 13) { ns=3; } if (argc == 16) { ns=6; } strcpy(fil_in,argv[1]); getdata(&size,&maxproj,&wrkbuff2[0],fil_in); delta_t = (float)atof(argv[2]); nord = atoi(argv[3]); fov = atof(argv[4]); strcpy(logfile,getenv("vnmruser")); strcat(logfile,"/shims/fastmap.log"); fp = fopen(logfile,"a"); fprintf(fp," the following units are in Hz/cm^n \n"); fprintf(fp,"nf j a0 a1 a2 a3 (RMSD)\n"); fclose(fp); fprintf(stderr," the following units are in Hz/cm^n \n"); fprintf(stderr,"nf j a0 a1 a2 a3 (RMSD)\n"); #ifdef DEBUG fprintf(stderr,"Before the first for instruction : nf = %d and ns = %d\n", nf, ns); #endif for (nf = 0; nf<ns; nf++) { a1[nf] = 0.0; a2[nf] = 0.0; a3[nf] = 0.0; chi[nf] = 0.0; fprintf(stderr,"ne value : %d and maxproj value : %d \n",ne,maxproj); for (ne=1; ne<maxproj/ns; ne++) { wd = atof(argv[5+nf]); wd2 = (int)(size*wd*0.25); getphase(size,nf,wd2,&wrkbuff1[0],&wrkbuff2[0],(int)(nf*maxproj/ns),(int)(nf*maxproj/ns+ne)); #ifdef DEBUG fprintf(stderr,"%s %f %d %d \n",fil_in,delta_t,wd2,nord); #endif fprintf(stderr,"%d %+7.4f ",nf,ne*delta_t); #ifdef DEBUG fprintf(stderr,"Before calpolycoeff : wd2=%d , nf=%d, size=%d, fov=%f, nord=%d \n",wd2, nf, size, fov, nord); #endif calpolycoeff(wd2,(nf+1),size,fov,delta_t*ne,wrkbuff1,&wrkbuff0[0],&b0,&b1,&b2,&b3,&chisq,nord); #ifdef DEBUG fprintf(stderr,"After calpolycoeff and before the if\n"); #endif if (ne>0) { for (j = 0; j<2*wd2; j++) { wrkbuff3[(nf*maxproj/ns+ne)*size+2*j] = wrkbuff0[(nf*2+1)*size+2*j]; wrkbuff3[(nf*maxproj/ns+ne)*size+2*j+1] = wrkbuff0[(nf*2)*size+2*j]; } } chisq*=chisq; a1[nf]=a1[nf]+b1/chisq; a2[nf]=a2[nf]+b2/chisq; a3[nf]=a3[nf]+b3/chisq; chi[nf]=chi[nf]+1/chisq; if (((delta_t<0.0001) || (chisq>2.0)) && (ne == 1)) { strcpy(errfile,getenv("vnmruser")); strcat(errfile,"/shims/fastmap.err"); fp1 = fopen(errfile,"a"); if (chisq>1.0E04) { fprintf(fp1,"ERROR: Not enough Sensitivity in the %dth projection \n Check position, Rx gain and tpwr\n",nf+1); } if ((delta_t<0.0001) && (nf<1)) { fprintf(fp1,"ERROR: Not enough B0 encoding : Check tau \n"); } if ((chisq>2.25) && (chisq<1.000001E04)) { fprintf(fp1,"ERROR: RMSD Phase error in the %dth projection is above 1.5 Hz\n Check tpwr, tau, sensitivity and B0 homogeneity \n",nf+1); } fclose(fp1); } } a1[nf]=a1[nf]/chi[nf]; a2[nf]=a2[nf]/chi[nf]; a3[nf]=a3[nf]/chi[nf]; } fprintf(stderr," AFTER the FOR loop ...\n"); if (maxproj/ns>2) { for (nf = 0; nf<ns; nf++) fprintf(stderr," %d %+6.3f %+6.3f %+6.3f\n",nf, a1[nf],a2[nf],a3[nf]); } putdata(&size,&wrkbuff3[0],fil_in); printf("\n"); strcpy(calfile,getenv("FASTMAP")); strcat(calfile,"/calib/."); strcat(calfile,argv[5+ns]); getcal(calfile,&shim_cal[0]); cal_shim(&argv[7+ns],a1,a2,&shim_val[0],&shim_cal[0]); printf("\n"); } float k_x(poly_coeff a1) { extern int ns; if (ns == 3) return a1[0]; if (ns == 6) return (a1[0]+a1[1]+a1[4]-a1[5])*0.35355; } float k_y(poly_coeff a1) { extern int ns; if (ns == 3) return a1[1]; if (ns == 6) return (a1[0]-a1[1]+a1[2]-a1[3])*0.35355; } float k_z(poly_coeff a1) { extern int ns; if (ns == 3) return a1[2]; if (ns == 6) return (a1[2]+a1[3]+a1[4]+a1[5])*0.35355; } float k_zx(poly_coeff a2) { extern int ns; if (ns == 3) return 0.0; if (ns == 6) return (a2[4]-a2[5])*1.000; } float k_zy(poly_coeff a2) { extern int ns; if (ns == 3) return 0.0; if (ns == 6) return (a2[2]-a2[3])*1.000; } float k_xy(poly_coeff a2) { extern int ns; if (ns == 3) return 0.0; if (ns == 6) return (a2[0]-a2[1])*0.500; } float k_x2y2(poly_coeff a2) { extern int ns; if (ns == 3) return (a2[0]-a2[1])*0.5; if (ns == 6) return (-a2[2]-a2[3]+a2[4]+a2[5])*0.500; } float k_z2(poly_coeff a2) { extern int ns; if (ns == 3) return (-a2[0]-a2[1]+2.0*a2[2])*0.33333; if (ns == 6) return (-2*a2[0]-2*a2[1]+a2[2]+a2[3]+a2[4]+a2[5])*0.33333; } #include "cal_shim.c" /******************************************************************************************** Modification History 20080904 (ss) - calib file path changed, fastmap/calib/ ********************************************************************************************/
26.235537
145
0.562136
d2dc8a2bfb850aea87d6864a3f1bde5aa54e18bc
10,169
c
C
3rdparty/entrypoint/entrypoint_android.c
beardsvibe/leengine
78fa3d7780252e5e83812fd2bc15f218169d9207
[ "MIT" ]
16
2017-05-22T00:04:10.000Z
2021-07-11T20:22:02.000Z
3rdparty/entrypoint/entrypoint_android.c
beardsvibe/leengine
78fa3d7780252e5e83812fd2bc15f218169d9207
[ "MIT" ]
1
2017-09-14T16:06:35.000Z
2017-10-07T16:46:15.000Z
3rdparty/entrypoint/entrypoint_android.c
beardsvibe/leengine
78fa3d7780252e5e83812fd2bc15f218169d9207
[ "MIT" ]
2
2017-09-14T16:04:52.000Z
2018-02-28T11:59:57.000Z
#ifdef __ANDROID__ // TODO partially based on bgfx entry_android.cpp #define ENTRYPOINT_CTX #include "entrypoint.h" #include <android/log.h> #include <android/input.h> #include <android/window.h> #include <android/native_window.h> #include <android_native_app_glue.c> // just so we don't need to build it static entrypoint_ctx_t ctx = {0}; static ANativeWindow * new_window = NULL; entrypoint_ctx_t * ep_ctx() {return &ctx;} // ----------------------------------------------------------------------------- ep_size_t ep_size() { ep_size_t r = {ctx.view_w, ctx.view_h}; return r; } bool ep_retina() { return false; // TODO } // ----------------------------------------------------------------------------- static void on_app_cmd(struct android_app * app, int32_t cmd) { new_window = app->window; switch(cmd) { case APP_CMD_INPUT_CHANGED: // Command from main thread: the AInputQueue has changed. Upon processing // this command, android_app->inputQueue will be updated to the new queue // (or NULL). break; case APP_CMD_INIT_WINDOW: // Command from main thread: a new ANativeWindow is ready for use. Upon // receiving this command, android_app->window will contain the new window // surface. break; case APP_CMD_TERM_WINDOW: // Command from main thread: the existing ANativeWindow needs to be // terminated. Upon receiving this command, android_app->window still // contains the existing window; after calling android_app_exec_cmd // it will be set to NULL. new_window = NULL; break; case APP_CMD_WINDOW_RESIZED: // Command from main thread: the current ANativeWindow has been resized. // Please redraw with its new size. break; case APP_CMD_WINDOW_REDRAW_NEEDED: // Command from main thread: the system needs that the current ANativeWindow // be redrawn. You should redraw the window before handing this to // android_app_exec_cmd() in order to avoid transient drawing glitches. break; case APP_CMD_CONTENT_RECT_CHANGED: // Command from main thread: the content area of the window has changed, // such as from the soft input window being shown or hidden. You can // find the new content rect in android_app::contentRect. break; case APP_CMD_GAINED_FOCUS: // Command from main thread: the app's activity window has gained // input focus. break; case APP_CMD_LOST_FOCUS: // Command from main thread: the app's activity window has lost // input focus. pthread_mutex_lock(&ctx.mutex); entrypoint_might_unload(); pthread_mutex_unlock(&ctx.mutex); break; case APP_CMD_CONFIG_CHANGED: // Command from main thread: the current device configuration has changed. break; case APP_CMD_LOW_MEMORY: // Command from main thread: the system is running low on memory. // Try to reduce your memory use. pthread_mutex_lock(&ctx.mutex); entrypoint_might_unload(); pthread_mutex_unlock(&ctx.mutex); break; case APP_CMD_START: // Command from main thread: the app's activity has been started. break; case APP_CMD_RESUME: // Command from main thread: the app's activity has been resumed. break; case APP_CMD_SAVE_STATE: // Command from main thread: the app should generate a new saved state // for itself, to restore from later if needed. If you have saved state, // allocate it with malloc and place it in android_app.savedState with // the size in android_app.savedStateSize. The will be freed for you // later. break; case APP_CMD_PAUSE: // Command from main thread: the app's activity has been paused. pthread_mutex_lock(&ctx.mutex); entrypoint_might_unload(); pthread_mutex_unlock(&ctx.mutex); break; case APP_CMD_STOP: // Command from main thread: the app's activity has been stopped. break; case APP_CMD_DESTROY: // Command from main thread: the app's activity is being destroyed, // and waiting for the app thread to clean up and exit before proceeding. break; } } #if 0 bool filter(GamepadAxis::Enum _axis, int32_t* _value) { const int32_t old = m_value[_axis]; const int32_t deadzone = m_deadzone[_axis]; int32_t value = *_value; value = value > deadzone || value < -deadzone ? value : 0; m_value[_axis] = value; *_value = value; return old != value; } #endif #ifdef ENTRYPOINT_PROVIDE_INPUT int32_t on_input_event(struct android_app *_app, AInputEvent *_event) { //WindowHandle defaultWindow = { 0 }; //GamepadHandle handle = { 0 }; const int32_t type = AInputEvent_getType(_event); const int32_t source = AInputEvent_getSource(_event); const int32_t actionBits = AMotionEvent_getAction(_event); switch (type) { case AINPUT_EVENT_TYPE_MOTION: { #if 0 if (0 != (source & (AINPUT_SOURCE_GAMEPAD|AINPUT_SOURCE_JOYSTICK) ) ) { //for (uint32_t ii = 0; ii < BX_COUNTOF(s_translateAxis); ++ii) //{ // const float fval = AMotionEvent_getAxisValue(_event, s_translateAxis[ii].m_event, 0); // int32_t value = int32_t( (s_translateAxis[ii].m_convert ? fval * 2.0f + 1.0f : fval) * INT16_MAX); // GamepadAxis::Enum axis = s_translateAxis[ii].m_axis; // //if (filter(axis, &value) ) // //{ // // m_eventQueue.postAxisEvent(defaultWindow, handle, axis, value); // //} //} return 1; } else #endif { //pthread_mutex_lock(&ctx.mutex); int32_t touch_count = AMotionEvent_getPointerCount(_event); if(touch_count > ENTRYPOINT_MAX_MULTITOUCH) touch_count = ENTRYPOINT_MAX_MULTITOUCH; for(int32_t touch = 0; touch < touch_count; ++touch) { ctx.touch.multitouch[touch].x = AMotionEvent_getX(_event, touch); ctx.touch.multitouch[touch].y = AMotionEvent_getY(_event, touch); } int32_t action = (actionBits & AMOTION_EVENT_ACTION_MASK); int32_t index = (actionBits & AMOTION_EVENT_ACTION_POINTER_INDEX_MASK) >> AMOTION_EVENT_ACTION_POINTER_INDEX_SHIFT; if(index < ENTRYPOINT_MAX_MULTITOUCH) { if(action == AMOTION_EVENT_ACTION_DOWN || action == AMOTION_EVENT_ACTION_POINTER_DOWN) ctx.touch.multitouch[index].touched = 1; else if(action == AMOTION_EVENT_ACTION_UP || action == AMOTION_EVENT_ACTION_POINTER_UP) ctx.touch.multitouch[index].touched = 0; } ctx.touch.x = ctx.touch.multitouch[0].x; ctx.touch.y = ctx.touch.multitouch[0].y; ctx.touch.left = ctx.touch.multitouch[0].touched; //pthread_mutex_unlock(&ctx.mutex); } } break; #if 0 case AINPUT_EVENT_TYPE_KEY: { int32_t keyCode = AKeyEvent_getKeyCode(_event); if (0 != (source & (AINPUT_SOURCE_GAMEPAD|AINPUT_SOURCE_JOYSTICK) ) ) { //for (uint32_t jj = 0; jj < BX_COUNTOF(s_gamepadRemap); ++jj) //{ // if (keyCode == s_gamepadRemap[jj].m_keyCode) // { // //m_eventQueue.postKeyEvent(defaultWindow, s_gamepadRemap[jj].m_key, 0, actionBits == AKEY_EVENT_ACTION_DOWN); // break; // } //} } return 1; } break; #endif default: //DBG("type %d", type); break; } return 0; } #endif static void * entrypoint_thread(void * param) { JNIEnv * jni_env = NULL; (*ctx.app->activity->vm)->AttachCurrentThread(ctx.app->activity->vm, &jni_env, NULL); if(entrypoint_init(ctx.argc, ctx.argv)) { (*ctx.app->activity->vm)->DetachCurrentThread(ctx.app->activity->vm); return NULL; } while(!ctx.flag_want_to_close) { pthread_mutex_lock(&ctx.mutex); if(entrypoint_loop()) { pthread_mutex_unlock(&ctx.mutex); break; } pthread_mutex_unlock(&ctx.mutex); } if(entrypoint_might_unload()) // TODO is this needed ? { (*ctx.app->activity->vm)->DetachCurrentThread(ctx.app->activity->vm); return NULL; } if(entrypoint_deinit()) { (*ctx.app->activity->vm)->DetachCurrentThread(ctx.app->activity->vm); return NULL; } (*ctx.app->activity->vm)->DetachCurrentThread(ctx.app->activity->vm); return NULL; } void android_main(struct android_app * app) { const char * argv[1] = { "android.so" }; ctx.argc = 1; ctx.argv = argv; ctx.app = app; app->userData = &ctx; app->onAppCmd = on_app_cmd; #ifdef ENTRYPOINT_PROVIDE_INPUT app->onInputEvent = on_input_event; #endif ANativeActivity_setWindowFlags(app->activity, AWINDOW_FLAG_FULLSCREEN | AWINDOW_FLAG_KEEP_SCREEN_ON, 0); ENTRYPOINT_ANDROID_PREPARE_PARAMS; pthread_mutex_init(&ctx.mutex, NULL); bool had_window = false; int poll_events = 0; struct android_poll_source * poll_source = NULL; while(!app->destroyRequested) { // TODO do we want one or all events? ALooper_pollAll(0, NULL, &poll_events, (void**)&poll_source); if(poll_source) poll_source->process(app, poll_source); //pthread_mutex_lock(&ctx.mutex); ctx.window = new_window; if(ctx.window) { ctx.view_w = ANativeWindow_getWidth(ctx.window); ctx.view_h = ANativeWindow_getHeight(ctx.window); } //pthread_mutex_unlock(&ctx.mutex); if(!had_window && ctx.window) { pthread_create(&ctx.thread, NULL, entrypoint_thread, NULL); had_window = true; } } ctx.flag_want_to_close = 1; pthread_join(ctx.thread, NULL); pthread_mutex_destroy(&ctx.mutex); return; } // ----------------------------------------------------------------------------- #ifdef ENTRYPOINT_PROVIDE_TIME double ep_delta_time() { if(!ctx.flag_time_set) { gettimeofday(&ctx.prev_time, NULL); ctx.flag_time_set = true; return 0.0; } struct timeval now; gettimeofday(&now, NULL); double elapsed = (now.tv_sec - ctx.prev_time.tv_sec) + ((now.tv_usec - ctx.prev_time.tv_usec) / 1000000.0); ctx.prev_time = now; return elapsed; } void ep_sleep(double seconds) { usleep((useconds_t)(seconds * 1000000.0)); } #endif // ----------------------------------------------------------------------------- #ifdef ENTRYPOINT_PROVIDE_LOG void ep_log(const char * message, ...) { va_list args; va_start(args, message); __android_log_vprint(ANDROID_LOG_INFO, ENTRYPOINT_ANDROID_LOG_TAG, message, args); va_end(args); } #endif // ----------------------------------------------------------------------------- #ifdef ENTRYPOINT_PROVIDE_INPUT void ep_touch(ep_touch_t * touch) { if(touch) *touch = ctx.touch; } bool ep_khit(int32_t key) {return false;} bool ep_kdown(int32_t key) {return false;} uint32_t ep_kchar() {return 0;} #endif #endif
26.141388
120
0.685023
308c548df1fe19753fcb40e49d254490e093a785
1,290
h
C
Pica/Chat/View/PCRecordView.h
qiu1993/Pica
9e159ca4ac3b2556f06b647d1c515a2d87636a24
[ "MIT" ]
201
2020-11-12T09:12:01.000Z
2022-03-31T04:42:01.000Z
Pica/Chat/View/PCRecordView.h
qiu1993/Pica
9e159ca4ac3b2556f06b647d1c515a2d87636a24
[ "MIT" ]
24
2021-02-03T02:33:09.000Z
2022-03-31T04:42:20.000Z
Pica/Chat/View/PCRecordView.h
qiu1993/Pica
9e159ca4ac3b2556f06b647d1c515a2d87636a24
[ "MIT" ]
26
2020-11-29T04:40:23.000Z
2022-03-08T12:16:20.000Z
// // PCRecordView.h // Pica // // Created by Fancy on 2021/6/18. // Copyright © 2021 fancy. All rights reserved. // #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN /** * 录音状态枚举 */ typedef NS_ENUM(NSUInteger, PCVoiceRecordStatus) { PCVoiceRecordStatusTooShort, //录音时长过短。 PCVoiceRecordStatusTooLong, //录音时长超过时间限制。 PCVoiceRecordStatusRecording, //正在录音。 PCVoiceRecordStatusCancel //录音被取消。 }; @interface PCRecordView : UIView /** * 录音图标视图。 * 本图标包含了各个音量大小下的对应图标(1 - 8 格音量示意共8个)。 */ @property (nonatomic, strong) UIImageView *recordImageView; /** * 视图标签。 * 负责基于当前录音状态向用户提示。如“松开发送”、“手指上滑,取消发送”、“说话时间太短”等。 */ @property (nonatomic, strong) UILabel *titleLabel; /** * 背景视图 * 作为语音当前视图的背景,将其与聊天视图区分开来。 * 一般背景视图的显示元素(背景颜色等)可以根据当前录音状态改变,区分各个状态。 */ @property (nonatomic, strong) UIView *backgroundView; /** * 设置当前录音的音量。 * 便于录音图标视图中的图像根据音量进行改变。 * 例如:power < 25时,使用“一格”图标;power >25时,根据一定的公式计算图标格式并进行替换当前图标。 * * @param power 想要设置为的音量。 */ - (void)setPower:(NSInteger)power; /** * 设置当前录音状态。 * Record_Status_TooShort 录音时长过短。 * Record_Status_TooLong 录音时长超过时间限制。 * Record_Status_Recording 正在录音。 * Record_Status_Cancel 录音被取消。 * * @param status 想要设置为的状态。 */ - (void)setStatus:(PCVoiceRecordStatus)status; @end NS_ASSUME_NONNULL_END
18.970588
62
0.702326
cf59deab33dafad845bace4434503e3b4e8c6313
229
c
C
c/hw-fibonacci/main.c
OGLinuk/ptp
bf498759d9958e4fbf4bda30e2b069efa6b7ff5c
[ "Apache-2.0" ]
1
2022-01-31T04:55:59.000Z
2022-01-31T04:55:59.000Z
c/hw-fibonacci/main.c
oglinuk/labs
619f25238cd1631ee3446cb91e46e2376bea6dba
[ "Apache-2.0" ]
null
null
null
c/hw-fibonacci/main.c
oglinuk/labs
619f25238cd1631ee3446cb91e46e2376bea6dba
[ "Apache-2.0" ]
1
2018-10-05T01:54:12.000Z
2018-10-05T01:54:12.000Z
#include <stdio.h> #include <unistd.h> int main() { unsigned long int a, b, c, i; a = 0; b = 1; i = 0; while (1) { i++; printf("Fibonacci(%li): %li\n", i, a); c = a; a = b; b = c + a; sleep(1); } return 0; }
10.904762
40
0.471616
a90f486051d7fc881978dceed3d5eb7b2faa6f5b
24,958
c
C
tests/Test_Std.c
lbrugnara/fllib
fd777a64b4b05cd9890a4c542bfe99c8ee4ec302
[ "MIT" ]
5
2019-02-08T12:16:49.000Z
2020-11-11T16:58:23.000Z
tests/Test_Std.c
lbrugnara/fllib
fd777a64b4b05cd9890a4c542bfe99c8ee4ec302
[ "MIT" ]
null
null
null
tests/Test_Std.c
lbrugnara/fllib
fd777a64b4b05cd9890a4c542bfe99c8ee4ec302
[ "MIT" ]
null
null
null
#include <stdio.h> #include "../src/Std.h" #include "../src/Cstring.h" #include "../src/Array.h" #include "../src/threading/Thread.h" #include <flut/flut.h> flut_define_suite(std, "fllib standard functions", exceptions, thread_errors, scoped_resources) void thread_error(void *args) { struct FlError error; char *str; FlThreadId id = fl_thread_current_id(); fl_error_push(1, "ID=%d | Testing error 1", id); error = fl_error_last(); str = fl_cstring_vdup("ID=%d | Testing error 1", id); flut_expect_compat(str, error.id == 1 && flm_cstring_equals(error.message, str)); fl_cstring_free(str); fl_error_push(2, "ID=%d | Testing error 2", id); error = fl_error_last(); str = fl_cstring_vdup("ID=%d | Testing error 2", id); flut_expect_compat(str, error.id == 2 && flm_cstring_equals(error.message, str)); fl_cstring_free(str); fl_error_push(3, "ID=%d | Testing error 3", id); error = fl_error_last(); str = fl_cstring_vdup("ID=%d | Testing error 3", id); flut_expect_compat(str, error.id == 3 && flm_cstring_equals(error.message, str)); fl_cstring_free(str); fl_error_push(4, "ID=%d | Testing error 4", id); error = fl_error_last(); str = fl_cstring_vdup("ID=%d | Testing error 4", id); flut_expect_compat(str, error.id == 4 && flm_cstring_equals(error.message, str)); fl_cstring_free(str); fl_error_push(5, "ID=%d | Testing error 5", id); error = fl_error_last(); str = fl_cstring_vdup("ID=%d | Testing error 5", id); flut_expect_compat(str, error.id == 5 && flm_cstring_equals(error.message, str)); fl_cstring_free(str); fl_thread_exit(NULL); } flut_define_test(thread_errors, "Global error handling thread safety") { int nthreads = 5; FlThread *threads = fl_array_new(sizeof(FlThread), nthreads); for (int i=0; i < nthreads; i++) { threads[i] = fl_thread_create(thread_error, NULL); } fl_thread_join_all(threads, nthreads); for (int i=0; i < nthreads; i++) fl_thread_free(threads[i]); fl_array_free(threads); } void a(struct FlContext *ctx); void b(struct FlContext *ctx); void c(struct FlContext *ctx); void d(struct FlContext *ctx); void e(struct FlContext *ctx); flut_define_test(exceptions, "Pseudo try-catch exception handling") { struct FlContext *try_ctx = fl_ctx_new(); Try(try_ctx) { a(try_ctx); } Catch((int)'a') { struct FlContextFrame *frame = fl_ctx_frame_last(try_ctx); flut_expect_compat("Catched exception in root should be (int)'a'", frame->exception == (int)'a'); flut_expect_compat("Catched exception in root should have message \"a\"", flm_cstring_equals_n(frame->message, "a", 1)); } Rest { flut_expect_compat("The exception shouldn't have fallen in root's Rest clause", false); } EndTry; fl_ctx_free(try_ctx); try_ctx = fl_ctx_new(); Try(try_ctx) { Try(try_ctx) { Try(try_ctx) { Try(try_ctx) { } EndTry; } EndTry; } EndTry; } EndTry; fl_ctx_free(try_ctx); } void a(struct FlContext *ctx) { Try(ctx) { b(ctx); } Catch((int)'b') { struct FlContextFrame *frame = fl_ctx_frame_last(ctx); flut_expect_compat("Catched exception in a() should be (int)'b'", frame->exception == (int)'b'); flut_expect_compat("Catched exception in a() should have message \"b\"", flm_cstring_equals_n(frame->message, "b", 1)); Throw(ctx, (int)'a', "a"); } Rest { flut_expect_compat("The exception shouldn't have fallen in a()'s Rest clause", false); } EndTry; } void b(struct FlContext *ctx) { Try(ctx) { c(ctx); } Catch((int)'c') { struct FlContextFrame *frame = fl_ctx_frame_last(ctx); flut_expect_compat("Catched exception in b() should be (int)'c'", frame->exception == (int)'c'); flut_expect_compat("Catched exception in b() should have message \"c\"", flm_cstring_equals_n(frame->message, "c", 1)); Throw(ctx, (int)'b', "b"); } Rest { flut_expect_compat("The exception shouldn't have fallen in b()'s Rest clause", false); } EndTry; } void c(struct FlContext *ctx) { Try(ctx) { d(ctx); } Catch((int)'d') { struct FlContextFrame *frame = fl_ctx_frame_last(ctx); flut_expect_compat("Catched exception in c() should be (int)'d'", frame->exception == (int)'d'); flut_expect_compat("Catched exception in c() should have message \"d\"", flm_cstring_equals_n(frame->message, "d", 1)); Throw(ctx, (int)'c', "c"); } Rest { flut_expect_compat("The exception shouldn't have fallen in c()'s Rest clause", false); } EndTry; } void d(struct FlContext *ctx) { Try(ctx) { e(ctx); } Catch((int)'e') { struct FlContextFrame *frame = fl_ctx_frame_last(ctx); flut_expect_compat("Catched exception in d() should be (int)'e'", frame->exception == (int)'e'); flut_expect_compat("Catched exception in d() should have message \"e\"", flm_cstring_equals_n(frame->message, "e", 1)); Throw(ctx, (int)'d', "d"); } Rest { flut_expect_compat("The exception shouldn't have fallen in d()'s Rest clause", false); } EndTry; } void e(struct FlContext *ctx) { Throw(ctx, (int)'e', "e"); } #define FL_STD_TEST_MAX_ALLOCATIONS 10 static void **allocations[FL_STD_TEST_MAX_ALLOCATIONS]; struct StdTestAllocation { bool is_allocated; }; #define FL_STD_TEST_ALLOC_HEADER(a) (((struct StdTestAllocation*)a)-1) #define FL_STD_TEST_ALLOC_DATA(h) (((struct StdTestAllocation*)h) + 1) static void* allocate(size_t size) { size_t index = 0; for (; index < FL_STD_TEST_MAX_ALLOCATIONS; index++) { if (allocations[index] == NULL) { break; } } if (index == FL_STD_TEST_MAX_ALLOCATIONS) return NULL; struct StdTestAllocation *allocation_header = fl_calloc(1, sizeof(struct StdTestAllocation) + size); allocation_header->is_allocated = true; allocations[index] = (void*) FL_STD_TEST_ALLOC_DATA(allocation_header); return allocations[index]; } static bool is_allocated(size_t index) { return index < FL_STD_TEST_MAX_ALLOCATIONS && allocations[index] != NULL && FL_STD_TEST_ALLOC_HEADER(allocations[index])->is_allocated; } static void deallocate(void *data) { struct StdTestAllocation *allocation_header = FL_STD_TEST_ALLOC_HEADER(data); allocation_header->is_allocated = false; } static void init() { memset(allocations, 0, sizeof(void*) * 10); } static void end() { for (size_t i = 0; i < FL_STD_TEST_MAX_ALLOCATIONS; i++) { if (allocations[i] == NULL) continue; fl_free(FL_STD_TEST_ALLOC_HEADER(allocations[i])); } } flut_define_test(scoped_resources, "Scoped resources") { init(); flut_describe("Scoped resources must be deallocated when exiting the scope under normal flow execution") { flut_expect_explain(assert->is_false(is_allocated(0)), "Slot 1 must be deallocated"); fl_scoped_resource(void *res1 = allocate(sizeof(void*)), deallocate(res1)) { // Scope res1 flut_expect_explain(assert->is_true(is_allocated(0)), "Slot 1 must be allocated"); flut_expect_explain(assert->is_false(is_allocated(1)), "Slot 2 must be deallocated"); fl_scoped_resource(void *res2 = allocate(sizeof(void*)), deallocate(res2)) { // Scope res2 flut_expect_explain(assert->is_true(is_allocated(1)), "Slot 2 must be allocated"); flut_expect_explain(assert->is_false(is_allocated(2)), "Slot 3 must be deallocated"); fl_scoped_resource(void *res3 = allocate(sizeof(void*)), deallocate(res3)) { // Scope res3 flut_expect_explain(assert->is_true(is_allocated(2)), "Slot 3 must be allocated"); flut_expect_explain(assert->is_false(is_allocated(3)), "Slot 4 must be deallocated"); fl_scoped_resource(void *res4 = allocate(sizeof(void*)), deallocate(res4)) { // Scope res4 flut_expect_explain(assert->is_true(is_allocated(3)), "Slot 4 must be allocated"); flut_expect_explain(assert->is_false(is_allocated(4)), "Slot 5 must be deallocated"); fl_scoped_resource(void *res5 = allocate(sizeof(void*)), deallocate(res5)) { // Scope res5 flut_expect_explain(assert->is_true(is_allocated(4)), "Slot 5 must be allocated"); flut_expect_explain(assert->is_false(is_allocated(5)), "Slot 6 must be deallocated"); fl_scoped_resource(void *res6 = allocate(sizeof(void*)), deallocate(res6)) { // Scope res6 flut_expect_explain(assert->is_true(is_allocated(5)), "Slot 6 must be allocated"); flut_expect_explain(assert->is_false(is_allocated(6)), "Slot 7 must be deallocated"); fl_scoped_resource(void *res7 = allocate(sizeof(void*)), deallocate(res7)) { // Scope res7 flut_expect_explain(assert->is_true(is_allocated(6)), "Slot 7 must be allocated"); flut_expect_explain(assert->is_false(is_allocated(7)), "Slot 8 must be deallocated"); fl_scoped_resource(void *res8 = allocate(sizeof(void*)), deallocate(res8)) { // Scope res8 flut_expect_explain(assert->is_true(is_allocated(7)), "Slot 8 must be allocated"); flut_expect_explain(assert->is_false(is_allocated(8)), "Slot 9 must be deallocated"); fl_scoped_resource(void *res9 = allocate(sizeof(void*)), deallocate(res9)) { // Scope res9 flut_expect_explain(assert->is_true(is_allocated(8)), "Slot 9 must be allocated"); flut_expect_explain(assert->is_false(is_allocated(9)), "Slot 10 must be deallocated"); fl_scoped_resource(void *res10 = allocate(sizeof(void*)), deallocate(res10)) { // Scope res10 flut_expect_explain(assert->null(allocate(sizeof(void*))), "Allocation is expected to fail"); // End res10 } flut_expect_explain(assert->is_false(is_allocated(9)), "Slot 10 must be deallocated"); flut_expect_explain(assert->is_true(is_allocated(8)), "Slot 9 must be allocated"); // End res9 } flut_expect_explain(assert->is_false(is_allocated(8)), "Slot 9 must be deallocated"); flut_expect_explain(assert->is_true(is_allocated(7)), "Slot 8 must be allocated"); // End res8 } flut_expect_explain(assert->is_false(is_allocated(7)), "Slot 8 must be deallocated"); flut_expect_explain(assert->is_true(is_allocated(6)), "Slot 7 must be allocated"); // End res7 } flut_expect_explain(assert->is_false(is_allocated(6)), "Slot 7 must be deallocated"); flut_expect_explain(assert->is_true(is_allocated(5)), "Slot 6 must be allocated"); // End res6 } flut_expect_explain(assert->is_false(is_allocated(5)), "Slot 6 must be deallocated"); flut_expect_explain(assert->is_true(is_allocated(4)), "Slot 5 must be allocated"); // End res5 } flut_expect_explain(assert->is_false(is_allocated(4)), "Slot 5 must be deallocated"); flut_expect_explain(assert->is_true(is_allocated(3)), "Slot 4 must be allocated"); // End res4 } flut_expect_explain(assert->is_false(is_allocated(3)), "Slot 4 must be deallocated"); flut_expect_explain(assert->is_true(is_allocated(2)), "Slot 3 must be allocated"); // End res3 } flut_expect_explain(assert->is_false(is_allocated(2)), "Slot 3 must be deallocated"); flut_expect_explain(assert->is_true(is_allocated(1)), "Slot 2 must be allocated"); // End res2 } flut_expect_explain(assert->is_false(is_allocated(1)), "Slot 2 must be deallocated"); flut_expect_explain(assert->is_true(is_allocated(0)), "Slot 1 must be allocated"); // End res1 } flut_expect_explain(assert->is_false(is_allocated(0)), "Slot 1 must be deallocated"); } end(); init(); flut_describe("Scoped resources must be deallocated when exiting the scope using break (WEIRD BUT EXPECTED)") { flut_expect_explain(assert->is_false(is_allocated(0)), "Slot 1 must be deallocated"); fl_scoped_resource(void *res1 = allocate(sizeof(void*)), deallocate(res1)) { // Scope res1 flut_expect_explain(assert->is_true(is_allocated(0)), "Slot 1 must be allocated"); flut_expect_explain(assert->is_false(is_allocated(1)), "Slot 2 must be deallocated"); fl_scoped_resource(void *res2 = allocate(sizeof(void*)), deallocate(res2)) { // Scope res2 flut_expect_explain(assert->is_true(is_allocated(1)), "Slot 2 must be allocated"); flut_expect_explain(assert->is_false(is_allocated(2)), "Slot 3 must be deallocated"); fl_scoped_resource(void *res3 = allocate(sizeof(void*)), deallocate(res3)) { // Scope res3 flut_expect_explain(assert->is_true(is_allocated(2)), "Slot 3 must be allocated"); flut_expect_explain(assert->is_false(is_allocated(3)), "Slot 4 must be deallocated"); fl_scoped_resource(void *res4 = allocate(sizeof(void*)), deallocate(res4)) { // Scope res4 flut_expect_explain(assert->is_true(is_allocated(3)), "Slot 4 must be allocated"); flut_expect_explain(assert->is_false(is_allocated(4)), "Slot 5 must be deallocated"); fl_scoped_resource(void *res5 = allocate(sizeof(void*)), deallocate(res5)) { // Scope res5 flut_expect_explain(assert->is_true(is_allocated(4)), "Slot 5 must be allocated"); flut_expect_explain(assert->is_false(is_allocated(5)), "Slot 6 must be deallocated"); fl_scoped_resource(void *res6 = allocate(sizeof(void*)), deallocate(res6)) { // Scope res6 flut_expect_explain(assert->is_true(is_allocated(5)), "Slot 6 must be allocated"); flut_expect_explain(assert->is_false(is_allocated(6)), "Slot 7 must be deallocated"); fl_scoped_resource(void *res7 = allocate(sizeof(void*)), deallocate(res7)) { // Scope res7 flut_expect_explain(assert->is_true(is_allocated(6)), "Slot 7 must be allocated"); flut_expect_explain(assert->is_false(is_allocated(7)), "Slot 8 must be deallocated"); fl_scoped_resource(void *res8 = allocate(sizeof(void*)), deallocate(res8)) { // Scope res8 flut_expect_explain(assert->is_true(is_allocated(7)), "Slot 8 must be allocated"); flut_expect_explain(assert->is_false(is_allocated(8)), "Slot 9 must be deallocated"); fl_scoped_resource(void *res9 = allocate(sizeof(void*)), deallocate(res9)) { // Scope res9 flut_expect_explain(assert->is_true(is_allocated(8)), "Slot 9 must be allocated"); flut_expect_explain(assert->is_false(is_allocated(9)), "Slot 10 must be deallocated"); fl_scoped_resource(void *res10 = allocate(sizeof(void*)), deallocate(res10)) { // Scope res10 flut_expect_explain(assert->null(allocate(sizeof(void*))), "Allocation is expected to fail"); break; // End res10 } flut_expect_explain(assert->is_false(is_allocated(9)), "Slot 10 must be deallocated"); flut_expect_explain(assert->is_true(is_allocated(8)), "Slot 9 must be allocated"); break; // End res9 } flut_expect_explain(assert->is_false(is_allocated(8)), "Slot 9 must be deallocated"); flut_expect_explain(assert->is_true(is_allocated(7)), "Slot 8 must be allocated"); break; // End res8 } flut_expect_explain(assert->is_false(is_allocated(7)), "Slot 8 must be deallocated"); flut_expect_explain(assert->is_true(is_allocated(6)), "Slot 7 must be allocated"); break; // End res7 } flut_expect_explain(assert->is_false(is_allocated(6)), "Slot 7 must be deallocated"); flut_expect_explain(assert->is_true(is_allocated(5)), "Slot 6 must be allocated"); break; // End res6 } flut_expect_explain(assert->is_false(is_allocated(5)), "Slot 6 must be deallocated"); flut_expect_explain(assert->is_true(is_allocated(4)), "Slot 5 must be allocated"); break; // End res5 } flut_expect_explain(assert->is_false(is_allocated(4)), "Slot 5 must be deallocated"); flut_expect_explain(assert->is_true(is_allocated(3)), "Slot 4 must be allocated"); break; // End res4 } flut_expect_explain(assert->is_false(is_allocated(3)), "Slot 4 must be deallocated"); flut_expect_explain(assert->is_true(is_allocated(2)), "Slot 3 must be allocated"); break; // End res3 } flut_expect_explain(assert->is_false(is_allocated(2)), "Slot 3 must be deallocated"); flut_expect_explain(assert->is_true(is_allocated(1)), "Slot 2 must be allocated"); break; // End res2 } flut_expect_explain(assert->is_false(is_allocated(1)), "Slot 2 must be deallocated"); flut_expect_explain(assert->is_true(is_allocated(0)), "Slot 1 must be allocated"); break; // End res1 } flut_expect_explain(assert->is_false(is_allocated(0)), "Slot 1 must be deallocated"); break; } end(); init(); flut_describe("Scoped resources must be deallocated when exiting the scope using continue (UNEXPECTED)") { flut_expect_explain(assert->is_false(is_allocated(0)), "Slot 1 must be deallocated"); fl_scoped_resource(void *res1 = allocate(sizeof(void*)), deallocate(res1)) { // Scope res1 flut_expect_explain(assert->is_true(is_allocated(0)), "Slot 1 must be allocated"); flut_expect_explain(assert->is_false(is_allocated(1)), "Slot 2 must be deallocated"); fl_scoped_resource(void *res2 = allocate(sizeof(void*)), deallocate(res2)) { // Scope res2 flut_expect_explain(assert->is_true(is_allocated(1)), "Slot 2 must be allocated"); flut_expect_explain(assert->is_false(is_allocated(2)), "Slot 3 must be deallocated"); fl_scoped_resource(void *res3 = allocate(sizeof(void*)), deallocate(res3)) { // Scope res3 flut_expect_explain(assert->is_true(is_allocated(2)), "Slot 3 must be allocated"); flut_expect_explain(assert->is_false(is_allocated(3)), "Slot 4 must be deallocated"); fl_scoped_resource(void *res4 = allocate(sizeof(void*)), deallocate(res4)) { // Scope res4 flut_expect_explain(assert->is_true(is_allocated(3)), "Slot 4 must be allocated"); flut_expect_explain(assert->is_false(is_allocated(4)), "Slot 5 must be deallocated"); fl_scoped_resource(void *res5 = allocate(sizeof(void*)), deallocate(res5)) { // Scope res5 flut_expect_explain(assert->is_true(is_allocated(4)), "Slot 5 must be allocated"); flut_expect_explain(assert->is_false(is_allocated(5)), "Slot 6 must be deallocated"); fl_scoped_resource(void *res6 = allocate(sizeof(void*)), deallocate(res6)) { // Scope res6 flut_expect_explain(assert->is_true(is_allocated(5)), "Slot 6 must be allocated"); flut_expect_explain(assert->is_false(is_allocated(6)), "Slot 7 must be deallocated"); fl_scoped_resource(void *res7 = allocate(sizeof(void*)), deallocate(res7)) { // Scope res7 flut_expect_explain(assert->is_true(is_allocated(6)), "Slot 7 must be allocated"); flut_expect_explain(assert->is_false(is_allocated(7)), "Slot 8 must be deallocated"); fl_scoped_resource(void *res8 = allocate(sizeof(void*)), deallocate(res8)) { // Scope res8 flut_expect_explain(assert->is_true(is_allocated(7)), "Slot 8 must be allocated"); flut_expect_explain(assert->is_false(is_allocated(8)), "Slot 9 must be deallocated"); fl_scoped_resource(void *res9 = allocate(sizeof(void*)), deallocate(res9)) { // Scope res9 flut_expect_explain(assert->is_true(is_allocated(8)), "Slot 9 must be allocated"); flut_expect_explain(assert->is_false(is_allocated(9)), "Slot 10 must be deallocated"); fl_scoped_resource(void *res10 = allocate(sizeof(void*)), deallocate(res10)) { // Scope res10 flut_expect_explain(assert->null(allocate(sizeof(void*))), "Allocation is expected to fail"); continue; // End res10 } flut_expect_explain(assert->is_false(is_allocated(9)), "Slot 10 must be deallocated"); flut_expect_explain(assert->is_true(is_allocated(8)), "Slot 9 must be allocated"); continue; // End res9 } flut_expect_explain(assert->is_false(is_allocated(8)), "Slot 9 must be deallocated"); flut_expect_explain(assert->is_true(is_allocated(7)), "Slot 8 must be allocated"); continue; // End res8 } flut_expect_explain(assert->is_false(is_allocated(7)), "Slot 8 must be deallocated"); flut_expect_explain(assert->is_true(is_allocated(6)), "Slot 7 must be allocated"); continue; // End res7 } flut_expect_explain(assert->is_false(is_allocated(6)), "Slot 7 must be deallocated"); flut_expect_explain(assert->is_true(is_allocated(5)), "Slot 6 must be allocated"); continue; // End res6 } flut_expect_explain(assert->is_false(is_allocated(5)), "Slot 6 must be deallocated"); flut_expect_explain(assert->is_true(is_allocated(4)), "Slot 5 must be allocated"); continue; // End res5 } flut_expect_explain(assert->is_false(is_allocated(4)), "Slot 5 must be deallocated"); flut_expect_explain(assert->is_true(is_allocated(3)), "Slot 4 must be allocated"); continue; // End res4 } flut_expect_explain(assert->is_false(is_allocated(3)), "Slot 4 must be deallocated"); flut_expect_explain(assert->is_true(is_allocated(2)), "Slot 3 must be allocated"); continue; // End res3 } flut_expect_explain(assert->is_false(is_allocated(2)), "Slot 3 must be deallocated"); flut_expect_explain(assert->is_true(is_allocated(1)), "Slot 2 must be allocated"); continue; // End res2 } flut_expect_explain(assert->is_false(is_allocated(1)), "Slot 2 must be deallocated"); flut_expect_explain(assert->is_true(is_allocated(0)), "Slot 1 must be allocated"); continue; // End res1 } flut_expect_explain(assert->is_false(is_allocated(0)), "Slot 1 must be deallocated"); continue; } end(); }
39.805423
139
0.598365
6559eac2c2b4e0102d3b79b6b5bed2bfbb730101
3,442
h
C
include/External/stlib/packages/hj/DistanceAdjDiag2nd2.h
bxl295/m4extreme
2a4a20ebb5b4e971698f7c981de140d31a5e550c
[ "BSD-3-Clause" ]
null
null
null
include/External/stlib/packages/hj/DistanceAdjDiag2nd2.h
bxl295/m4extreme
2a4a20ebb5b4e971698f7c981de140d31a5e550c
[ "BSD-3-Clause" ]
null
null
null
include/External/stlib/packages/hj/DistanceAdjDiag2nd2.h
bxl295/m4extreme
2a4a20ebb5b4e971698f7c981de140d31a5e550c
[ "BSD-3-Clause" ]
null
null
null
// -*- C++ -*- /*! \file DistanceAdjDiag2nd2.h \brief Distance equation. Second-order, adjacent-diagonal scheme. */ #if !defined(__hj_DistanceAdjDiag2nd2_h__) #error This file is an implementation detail of the class DistanceAdjDiag2nd. #endif namespace hj { //! Distance equation. Adjacent-diagonal difference scheme. 2nd order. /*! \param T is the number type. */ template<typename T> class DistanceAdjDiag2nd<2, T> : public Distance<2, T>, public DistanceScheme<2, T> { private: typedef Distance<2, T> EquationBase; typedef DistanceScheme<2, T> SchemeBase; using EquationBase::diff_a1; using EquationBase::diff_a2; using EquationBase::diff_d1; using EquationBase::diff_d2; using EquationBase::diff_a1_a1; using EquationBase::diff_a1_d1; using EquationBase::diff_a1_d2; using EquationBase::diff_a2_d1; using EquationBase::diff_a2_d2; using EquationBase::_dx_t_sqrt2; using EquationBase::_dx_o_sqrt2; using SchemeBase::_status; using SchemeBase::_solution; public: //! The number type. typedef T Number; //! A multi-index. typedef array::MultiIndexTypes<2>::IndexList IndexList; private: // // Not implemented. // //! Default constructor not implemented. DistanceAdjDiag2nd(); //! Copy constructor not implemented. DistanceAdjDiag2nd(const DistanceAdjDiag2nd&); //! Assignment operator not implemented. DistanceAdjDiag2nd& operator=(const DistanceAdjDiag2nd&); public: // // Constructors // //! Constructor. /*! \param solution is the solution array. \param status is the status array. \param dx is the grid spacing. */ DistanceAdjDiag2nd(array::MultiArrayRef<T, 2>& solution, array::MultiArrayRef<Status, 2>& status, const Number dx) : EquationBase(dx), SchemeBase(solution, status) {} // // Accessors // //! Return the radius of the stencil. static int radius() { return 2; } //! Return the minimum change from a known solution to a labeled solution when labeling a neighbor. Number min_delta() const { return _dx_o_sqrt2; } //! Return the maximum change from a known solution to a labeled solution when labeling a neighbor. Number max_delta() const { return _dx_t_sqrt2; } // // Mathematical member functions. // //! Return a lower bound on correct values. Number lower_bound(const IndexList& /*i*/, const Number min_unknown) const { return min_unknown + _dx_o_sqrt2; } //! Use the grid point i+d to compute the solution at i. Number diff_adj(const IndexList& i, const IndexList& d) const; //! Use the two specified directions to compute the solution at i. Number diff_adj_diag(const IndexList& i, const IndexList& a, const IndexList& b) const; //! Use the direction d to compute the solution at i. Number diff_diag(const IndexList& i, const IndexList& d) const; //! Use the two specified directions to compute the solution at i. Number diff_diag_adj(const IndexList& i, const IndexList& a, const IndexList& b) const; }; } // namespace hj #define __hj_DistanceAdjDiag2nd2_ipp__ #include "DistanceAdjDiag2nd2.ipp" #undef __hj_DistanceAdjDiag2nd2_ipp__
25.124088
103
0.659791
340e927c04accf63d18573399b5ca23b5cf1c862
3,538
c
C
Test Files/Sample Teleop Code.c
cookthebook/2014-2015TempestFTC
4ba7ffd53f256a80337be9e0bf4aa5e6a36094c4
[ "CC0-1.0" ]
1
2015-06-02T22:18:13.000Z
2015-06-02T22:18:13.000Z
Test Files/Sample Teleop Code.c
cookthebook/2014-2015TempestFTC
4ba7ffd53f256a80337be9e0bf4aa5e6a36094c4
[ "CC0-1.0" ]
null
null
null
Test Files/Sample Teleop Code.c
cookthebook/2014-2015TempestFTC
4ba7ffd53f256a80337be9e0bf4aa5e6a36094c4
[ "CC0-1.0" ]
null
null
null
#pragma config(Hubs, S1, HTMotor, HTServo, none, none) #pragma config(Sensor, S1, , sensorI2CMuxController) #pragma config(Motor, motorA, Sweep, tmotorNXT, PIDControl, encoder) #pragma config(Motor, mtr_S1_C1_1, Right, tmotorTetrix, openLoop) #pragma config(Motor, mtr_S1_C1_2, Left, tmotorTetrix, openLoop) #pragma config(Servo, srvo_S1_C2_1, MyServo, tServoStandard) #pragma config(Servo, srvo_S1_C2_2, servo2, tServoNone) #pragma config(Servo, srvo_S1_C2_3, servo3, tServoNone) #pragma config(Servo, srvo_S1_C2_4, servo4, tServoNone) #pragma config(Servo, srvo_S1_C2_5, servo5, tServoNone) #pragma config(Servo, srvo_S1_C2_6, servo6, tServoNone) //*!!Code automatically generated by 'ROBOTC' configuration wizard !!*// /* This code is loosely based upon the possible setup of your robot It is not meant to be actually run with your robot, merely an example of how one might be setup I would suggest using this as a guide but writing your own code from scratch, don't copy/paste */ //This is to have the correct functions available for use #include "JoystickDriver.c" //Global Vars //Joystick threshold to initiate drive movement int threshold = 10; //A default speed for button enabled DC and Lego motors, I wouldn't surpass 80 for DC, go as high as you want for Lego int mSpeed = 50; //Preset positions for a servo int pos1 = 70; int pos2 = 100; int def = 85; task main() { //This is required at the very beginning of all programs, teleop and autonomous //It waits for a starting signal either from your usb/bluetooth/wifi connected computer //or from the Field Control System (FCS) during tournaments //Without it you will not pass inspection waitForStart(); //The continuous loop is common in all teleops to keep you running, the FCS will terminate the program for you while(true){ //Example Tank drive system //Left side if(abs(joystick.joy1_y1) > threshold){ //The (float) makes sure you don't get weird integer division behavior motor[Left] = ((float)joystick.joy1_y1*100.0) / 148.0; //OR motor[Left] = joystick.joy1_y1; }else{ motor[Left] = 0; } //Right side if(abs(joystick.joy1_y2) > threshold){ motor[Right] = ((float)joystick.joy1_y2*100.0) / 148.0; //OR motor[Right] = joystick.joy1_y2; }else{ motor[Right] = 0; } //Alternative motor[Left] = abs(joystick.joy1_y1) > threshold ? ((float)joystick.joy1_y1*100.0) / 148.0 : 0; motor[Right] = abs(joystick.joy1_y1) > threshold ? ((float)joystick.joy1_y2*100.0) / 148.0 : 0; //Button enabled motor //The four btns on the right are [1,4], and back right is 6 and 8, back left is 5 and 7 //If btn 6 is pressed and btn 8 is not pressed if(joy1Btn(6) && !joy1Btn(8)){ motor[Sweep] = mSpeed; } //btn 6 is not pressed and btn 8 is pressed else if(!joy1Btn(6) && joy1Btn(8)){ motor[Sweep] = -mSpeed; } //anything else, so both are pressed or both are not pressed else{ motor[Sweep] = 0; } //D-Pad enabled servo //TopHat refers to the dpad, released is -1, then starting from the top goes [0,7] clockwise //first position, if you press up if(joystick.joy1_TopHat == 0){ servo[MyServo] = pos1; } //second position, if you press down else if(joystick.joy1_TopHat == 4){ servo[MyServo] = pos2; } //if you want a default position, if any other value besides up and down (including released) else{ servo[MyServo] = def; } } }
34.686275
118
0.686263
343287fec122e088cfbedbe9bb3e61b9bbaf7433
24,108
c
C
ext/phalcon/events/manager.zep.c
DarkSynx/cphalcon
048efd7b1787e0674d4c3315828a8ec9f8ad033c
[ "PHP-3.01", "Zend-2.0", "BSD-3-Clause" ]
null
null
null
ext/phalcon/events/manager.zep.c
DarkSynx/cphalcon
048efd7b1787e0674d4c3315828a8ec9f8ad033c
[ "PHP-3.01", "Zend-2.0", "BSD-3-Clause" ]
null
null
null
ext/phalcon/events/manager.zep.c
DarkSynx/cphalcon
048efd7b1787e0674d4c3315828a8ec9f8ad033c
[ "PHP-3.01", "Zend-2.0", "BSD-3-Clause" ]
null
null
null
#ifdef HAVE_CONFIG_H #include "../../ext_config.h" #endif #include <php.h> #include "../../php_ext.h" #include "../../ext.h" #include <Zend/zend_operators.h> #include <Zend/zend_exceptions.h> #include <Zend/zend_interfaces.h> #include "kernel/main.h" #include "kernel/exception.h" #include "kernel/array.h" #include "kernel/memory.h" #include "kernel/object.h" #include "kernel/operators.h" #include "ext/spl/spl_heap.h" #include "kernel/fcall.h" #include "ext/spl/spl_exceptions.h" #include "Zend/zend_closures.h" #include "kernel/string.h" #include "kernel/concat.h" /** * This file is part of the Phalcon Framework. * * (c) Phalcon Team <team@phalconphp.com> * * For the full copyright and license information, please view the LICENSE.txt * file that was distributed with this source code. */ /** * Phalcon\Events\Manager * * Phalcon Events Manager, offers an easy way to intercept and manipulate, if needed, * the normal flow of operation. With the EventsManager the developer can create hooks or * plugins that will offer monitoring of data, manipulation, conditional execution and much more. * */ ZEPHIR_INIT_CLASS(Phalcon_Events_Manager) { ZEPHIR_REGISTER_CLASS(Phalcon\\Events, Manager, phalcon, events_manager, phalcon_events_manager_method_entry, 0); zend_declare_property_null(phalcon_events_manager_ce, SL("_events"), ZEND_ACC_PROTECTED TSRMLS_CC); zend_declare_property_bool(phalcon_events_manager_ce, SL("_collect"), 0, ZEND_ACC_PROTECTED TSRMLS_CC); zend_declare_property_bool(phalcon_events_manager_ce, SL("_enablePriorities"), 0, ZEND_ACC_PROTECTED TSRMLS_CC); zend_declare_property_null(phalcon_events_manager_ce, SL("_responses"), ZEND_ACC_PROTECTED TSRMLS_CC); zend_class_implements(phalcon_events_manager_ce TSRMLS_CC, 1, phalcon_events_managerinterface_ce); return SUCCESS; } /** * Attach a listener to the events manager * * @param object|callable handler */ PHP_METHOD(Phalcon_Events_Manager, attach) { zend_long priority, ZEPHIR_LAST_CALL_STATUS; zval *eventType_param = NULL, *handler, handler_sub, *priority_param = NULL, priorityQueue, _0, _1$$4, _2$$5, _3$$7; zval eventType; zval *this_ptr = getThis(); ZVAL_UNDEF(&eventType); ZVAL_UNDEF(&handler_sub); ZVAL_UNDEF(&priorityQueue); ZVAL_UNDEF(&_0); ZVAL_UNDEF(&_1$$4); ZVAL_UNDEF(&_2$$5); ZVAL_UNDEF(&_3$$7); ZEPHIR_MM_GROW(); zephir_fetch_params(1, 2, 1, &eventType_param, &handler, &priority_param); if (UNEXPECTED(Z_TYPE_P(eventType_param) != IS_STRING && Z_TYPE_P(eventType_param) != IS_NULL)) { zephir_throw_exception_string(spl_ce_InvalidArgumentException, SL("Parameter 'eventType' must be of the type string") TSRMLS_CC); RETURN_MM_NULL(); } if (EXPECTED(Z_TYPE_P(eventType_param) == IS_STRING)) { zephir_get_strval(&eventType, eventType_param); } else { ZEPHIR_INIT_VAR(&eventType); ZVAL_EMPTY_STRING(&eventType); } if (!priority_param) { priority = 100; } else { if (UNEXPECTED(Z_TYPE_P(priority_param) != IS_LONG)) { zephir_throw_exception_string(spl_ce_InvalidArgumentException, SL("Parameter 'priority' must be of the type int") TSRMLS_CC); RETURN_MM_NULL(); } priority = Z_LVAL_P(priority_param); } if (Z_TYPE_P(handler) != IS_OBJECT) { ZEPHIR_THROW_EXCEPTION_DEBUG_STR(phalcon_events_exception_ce, "Event handler must be an Object", "phalcon/events/manager.zep", 45); return; } ZEPHIR_OBS_VAR(&priorityQueue); zephir_read_property(&_0, this_ptr, SL("_events"), PH_NOISY_CC | PH_READONLY); if (!(zephir_array_isset_fetch(&priorityQueue, &_0, &eventType, 0 TSRMLS_CC))) { zephir_read_property(&_1$$4, this_ptr, SL("_enablePriorities"), PH_NOISY_CC | PH_READONLY); ZEPHIR_INIT_NVAR(&priorityQueue); if (zephir_is_true(&_1$$4)) { object_init_ex(&priorityQueue, spl_ce_SplPriorityQueue); if (zephir_has_constructor(&priorityQueue TSRMLS_CC)) { ZEPHIR_CALL_METHOD(NULL, &priorityQueue, "__construct", NULL, 0); zephir_check_call_status(); } ZVAL_LONG(&_2$$5, 1); ZEPHIR_CALL_METHOD(NULL, &priorityQueue, "setextractflags", NULL, 169, &_2$$5); zephir_check_call_status(); zephir_update_property_array(this_ptr, SL("_events"), &eventType, &priorityQueue TSRMLS_CC); } else { array_init(&priorityQueue); } } if (Z_TYPE_P(&priorityQueue) == IS_OBJECT) { ZVAL_LONG(&_3$$7, priority); ZEPHIR_CALL_METHOD(NULL, &priorityQueue, "insert", NULL, 170, handler, &_3$$7); zephir_check_call_status(); } else { zephir_array_append(&priorityQueue, handler, PH_SEPARATE, "phalcon/events/manager.zep", 71); zephir_update_property_array(this_ptr, SL("_events"), &eventType, &priorityQueue TSRMLS_CC); } ZEPHIR_MM_RESTORE(); } /** * Detach the listener from the events manager * * @param object handler */ PHP_METHOD(Phalcon_Events_Manager, detach) { zephir_fcall_cache_entry *_3 = NULL, *_4 = NULL, *_8 = NULL; zend_long ZEPHIR_LAST_CALL_STATUS; zval *eventType_param = NULL, *handler, handler_sub, __$true, priorityQueue, newPriorityQueue, key, data, _0, _1$$5, _2$$5, _5$$6, _6$$7, _7$$7; zval eventType; zval *this_ptr = getThis(); ZVAL_UNDEF(&eventType); ZVAL_UNDEF(&handler_sub); ZVAL_BOOL(&__$true, 1); ZVAL_UNDEF(&priorityQueue); ZVAL_UNDEF(&newPriorityQueue); ZVAL_UNDEF(&key); ZVAL_UNDEF(&data); ZVAL_UNDEF(&_0); ZVAL_UNDEF(&_1$$5); ZVAL_UNDEF(&_2$$5); ZVAL_UNDEF(&_5$$6); ZVAL_UNDEF(&_6$$7); ZVAL_UNDEF(&_7$$7); ZEPHIR_MM_GROW(); zephir_fetch_params(1, 2, 0, &eventType_param, &handler); if (UNEXPECTED(Z_TYPE_P(eventType_param) != IS_STRING && Z_TYPE_P(eventType_param) != IS_NULL)) { zephir_throw_exception_string(spl_ce_InvalidArgumentException, SL("Parameter 'eventType' must be of the type string") TSRMLS_CC); RETURN_MM_NULL(); } if (EXPECTED(Z_TYPE_P(eventType_param) == IS_STRING)) { zephir_get_strval(&eventType, eventType_param); } else { ZEPHIR_INIT_VAR(&eventType); ZVAL_EMPTY_STRING(&eventType); } if (Z_TYPE_P(handler) != IS_OBJECT) { ZEPHIR_THROW_EXCEPTION_DEBUG_STR(phalcon_events_exception_ce, "Event handler must be an Object", "phalcon/events/manager.zep", 87); return; } ZEPHIR_OBS_VAR(&priorityQueue); zephir_read_property(&_0, this_ptr, SL("_events"), PH_NOISY_CC | PH_READONLY); if (zephir_array_isset_fetch(&priorityQueue, &_0, &eventType, 0 TSRMLS_CC)) { if (Z_TYPE_P(&priorityQueue) == IS_OBJECT) { ZEPHIR_INIT_VAR(&newPriorityQueue); object_init_ex(&newPriorityQueue, spl_ce_SplPriorityQueue); if (zephir_has_constructor(&newPriorityQueue TSRMLS_CC)) { ZEPHIR_CALL_METHOD(NULL, &newPriorityQueue, "__construct", NULL, 0); zephir_check_call_status(); } ZVAL_LONG(&_1$$5, 1); ZEPHIR_CALL_METHOD(NULL, &newPriorityQueue, "setextractflags", NULL, 169, &_1$$5); zephir_check_call_status(); ZVAL_LONG(&_1$$5, 3); ZEPHIR_CALL_METHOD(NULL, &priorityQueue, "setextractflags", NULL, 0, &_1$$5); zephir_check_call_status(); ZEPHIR_CALL_METHOD(NULL, &priorityQueue, "top", NULL, 0); zephir_check_call_status(); while (1) { ZEPHIR_CALL_METHOD(&_2$$5, &priorityQueue, "valid", NULL, 0); zephir_check_call_status(); if (!(zephir_is_true(&_2$$5))) { break; } ZEPHIR_CALL_METHOD(&data, &priorityQueue, "current", &_3, 0); zephir_check_call_status(); ZEPHIR_CALL_METHOD(NULL, &priorityQueue, "next", &_4, 0); zephir_check_call_status(); zephir_array_fetch_string(&_5$$6, &data, SL("data"), PH_NOISY | PH_READONLY, "phalcon/events/manager.zep", 104 TSRMLS_CC); if (!ZEPHIR_IS_IDENTICAL(&_5$$6, handler)) { zephir_array_fetch_string(&_6$$7, &data, SL("data"), PH_NOISY | PH_READONLY, "phalcon/events/manager.zep", 105 TSRMLS_CC); zephir_array_fetch_string(&_7$$7, &data, SL("priority"), PH_NOISY | PH_READONLY, "phalcon/events/manager.zep", 105 TSRMLS_CC); ZEPHIR_CALL_METHOD(NULL, &newPriorityQueue, "insert", &_8, 170, &_6$$7, &_7$$7); zephir_check_call_status(); } } zephir_update_property_array(this_ptr, SL("_events"), &eventType, &newPriorityQueue TSRMLS_CC); } else { ZEPHIR_CALL_FUNCTION(&key, "array_search", NULL, 171, handler, &priorityQueue, &__$true); zephir_check_call_status(); if (!ZEPHIR_IS_FALSE_IDENTICAL(&key)) { zephir_array_unset(&priorityQueue, &key, PH_SEPARATE); } zephir_update_property_array(this_ptr, SL("_events"), &eventType, &priorityQueue TSRMLS_CC); } } ZEPHIR_MM_RESTORE(); } /** * Set if priorities are enabled in the EventsManager */ PHP_METHOD(Phalcon_Events_Manager, enablePriorities) { zval *enablePriorities_param = NULL, __$true, __$false; zend_bool enablePriorities; zval *this_ptr = getThis(); ZVAL_BOOL(&__$true, 1); ZVAL_BOOL(&__$false, 0); zephir_fetch_params(0, 1, 0, &enablePriorities_param); enablePriorities = zephir_get_boolval(enablePriorities_param); if (enablePriorities) { zephir_update_property_zval(this_ptr, SL("_enablePriorities"), &__$true); } else { zephir_update_property_zval(this_ptr, SL("_enablePriorities"), &__$false); } } /** * Returns if priorities are enabled */ PHP_METHOD(Phalcon_Events_Manager, arePrioritiesEnabled) { zval *this_ptr = getThis(); RETURN_MEMBER(getThis(), "_enablePriorities"); } /** * Tells the event manager if it needs to collect all the responses returned by every * registered listener in a single fire */ PHP_METHOD(Phalcon_Events_Manager, collectResponses) { zval *collect_param = NULL, __$true, __$false; zend_bool collect; zval *this_ptr = getThis(); ZVAL_BOOL(&__$true, 1); ZVAL_BOOL(&__$false, 0); zephir_fetch_params(0, 1, 0, &collect_param); collect = zephir_get_boolval(collect_param); if (collect) { zephir_update_property_zval(this_ptr, SL("_collect"), &__$true); } else { zephir_update_property_zval(this_ptr, SL("_collect"), &__$false); } } /** * Check if the events manager is collecting all all the responses returned by every * registered listener in a single fire */ PHP_METHOD(Phalcon_Events_Manager, isCollecting) { zval *this_ptr = getThis(); RETURN_MEMBER(getThis(), "_collect"); } /** * Returns all the responses returned by every handler executed by the last 'fire' executed */ PHP_METHOD(Phalcon_Events_Manager, getResponses) { zval *this_ptr = getThis(); RETURN_MEMBER(getThis(), "_responses"); } /** * Removes all events from the EventsManager */ PHP_METHOD(Phalcon_Events_Manager, detachAll) { zval *type_param = NULL, __$null, _0$$4, _1$$5; zval type; zval *this_ptr = getThis(); ZVAL_UNDEF(&type); ZVAL_NULL(&__$null); ZVAL_UNDEF(&_0$$4); ZVAL_UNDEF(&_1$$5); ZEPHIR_MM_GROW(); zephir_fetch_params(1, 0, 1, &type_param); if (!type_param) { ZEPHIR_INIT_VAR(&type); ZVAL_STRING(&type, ""); } else { if (UNEXPECTED(Z_TYPE_P(type_param) != IS_STRING && Z_TYPE_P(type_param) != IS_NULL)) { zephir_throw_exception_string(spl_ce_InvalidArgumentException, SL("Parameter 'type' must be of the type string") TSRMLS_CC); RETURN_MM_NULL(); } if (EXPECTED(Z_TYPE_P(type_param) == IS_STRING)) { zephir_get_strval(&type, type_param); } else { ZEPHIR_INIT_VAR(&type); ZVAL_EMPTY_STRING(&type); } } if (ZEPHIR_IS_STRING_IDENTICAL(&type, "")) { zephir_update_property_zval(this_ptr, SL("_events"), &__$null); } else { zephir_read_property(&_0$$4, this_ptr, SL("_events"), PH_NOISY_CC | PH_READONLY); if (zephir_array_isset(&_0$$4, &type)) { zephir_read_property(&_1$$5, this_ptr, SL("_events"), PH_NOISY_CC | PH_READONLY); zephir_array_unset(&_1$$5, &type, PH_SEPARATE); } } ZEPHIR_MM_RESTORE(); } /** * Internal handler to call a queue of events * * @param \SplPriorityQueue|array queue * @return mixed */ PHP_METHOD(Phalcon_Events_Manager, fireQueue) { zend_bool collect = 0, cancelable = 0; zephir_fcall_cache_entry *_7 = NULL, *_8 = NULL; zend_long ZEPHIR_LAST_CALL_STATUS; zval *queue, queue_sub, *event, event_sub, status, arguments, eventName, data, iterator, source, handler, _4, _5, _0$$5, _1$$5, _2$$5, _3$$5, _6$$8, _9$$14, _10$$19, *_11$$21, _12$$27, _13$$32; zval *this_ptr = getThis(); ZVAL_UNDEF(&queue_sub); ZVAL_UNDEF(&event_sub); ZVAL_UNDEF(&status); ZVAL_UNDEF(&arguments); ZVAL_UNDEF(&eventName); ZVAL_UNDEF(&data); ZVAL_UNDEF(&iterator); ZVAL_UNDEF(&source); ZVAL_UNDEF(&handler); ZVAL_UNDEF(&_4); ZVAL_UNDEF(&_5); ZVAL_UNDEF(&_0$$5); ZVAL_UNDEF(&_1$$5); ZVAL_UNDEF(&_2$$5); ZVAL_UNDEF(&_3$$5); ZVAL_UNDEF(&_6$$8); ZVAL_UNDEF(&_9$$14); ZVAL_UNDEF(&_10$$19); ZVAL_UNDEF(&_12$$27); ZVAL_UNDEF(&_13$$32); ZEPHIR_MM_GROW(); zephir_fetch_params(1, 2, 0, &queue, &event); if (Z_TYPE_P(queue) != IS_ARRAY) { if (Z_TYPE_P(queue) == IS_OBJECT) { if (!(zephir_instance_of_ev(queue, spl_ce_SplPriorityQueue TSRMLS_CC))) { ZEPHIR_INIT_VAR(&_0$$5); object_init_ex(&_0$$5, phalcon_events_exception_ce); ZEPHIR_INIT_VAR(&_1$$5); zephir_get_class(&_1$$5, queue, 0 TSRMLS_CC); ZEPHIR_INIT_VAR(&_2$$5); ZVAL_STRING(&_2$$5, "Unexpected value type: expected object of type SplPriorityQueue, %s given"); ZEPHIR_CALL_FUNCTION(&_3$$5, "sprintf", NULL, 129, &_2$$5, &_1$$5); zephir_check_call_status(); ZEPHIR_CALL_METHOD(NULL, &_0$$5, "__construct", NULL, 3, &_3$$5); zephir_check_call_status(); zephir_throw_exception_debug(&_0$$5, "phalcon/events/manager.zep", 195 TSRMLS_CC); ZEPHIR_MM_RESTORE(); return; } } else { ZEPHIR_THROW_EXCEPTION_DEBUG_STR(phalcon_events_exception_ce, "The queue is not valid", "phalcon/events/manager.zep", 198); return; } } ZEPHIR_INIT_VAR(&status); ZVAL_NULL(&status); ZEPHIR_INIT_VAR(&arguments); ZVAL_NULL(&arguments); ZEPHIR_CALL_METHOD(&eventName, event, "gettype", NULL, 0); zephir_check_call_status(); if (Z_TYPE_P(&eventName) != IS_STRING) { ZEPHIR_THROW_EXCEPTION_DEBUG_STR(phalcon_events_exception_ce, "The event type not valid", "phalcon/events/manager.zep", 207); return; } ZEPHIR_CALL_METHOD(&source, event, "getsource", NULL, 0); zephir_check_call_status(); ZEPHIR_CALL_METHOD(&data, event, "getdata", NULL, 0); zephir_check_call_status(); ZEPHIR_CALL_METHOD(&_4, event, "iscancelable", NULL, 0); zephir_check_call_status(); cancelable = zephir_get_boolval(&_4); ZEPHIR_OBS_VAR(&_5); zephir_read_property(&_5, this_ptr, SL("_collect"), PH_NOISY_CC); collect = zephir_get_boolval(&_5); if (Z_TYPE_P(queue) == IS_OBJECT) { ZEPHIR_INIT_VAR(&iterator); if (zephir_clone(&iterator, queue TSRMLS_CC) == FAILURE) { RETURN_MM(); } ZEPHIR_CALL_METHOD(NULL, &iterator, "top", NULL, 0); zephir_check_call_status(); while (1) { ZEPHIR_CALL_METHOD(&_6$$8, &iterator, "valid", NULL, 0); zephir_check_call_status(); if (!(zephir_is_true(&_6$$8))) { break; } ZEPHIR_CALL_METHOD(&handler, &iterator, "current", &_7, 0); zephir_check_call_status(); ZEPHIR_CALL_METHOD(NULL, &iterator, "next", &_8, 0); zephir_check_call_status(); if (Z_TYPE_P(&handler) == IS_OBJECT) { if (zephir_instance_of_ev(&handler, zend_ce_closure TSRMLS_CC)) { if (Z_TYPE_P(&arguments) == IS_NULL) { ZEPHIR_INIT_NVAR(&arguments); zephir_create_array(&arguments, 3, 0 TSRMLS_CC); zephir_array_fast_append(&arguments, event); zephir_array_fast_append(&arguments, &source); zephir_array_fast_append(&arguments, &data); } ZEPHIR_INIT_NVAR(&status); ZEPHIR_CALL_USER_FUNC_ARRAY(&status, &handler, &arguments); zephir_check_call_status(); if (collect) { zephir_update_property_array_append(this_ptr, SL("_responses"), &status TSRMLS_CC); } if (cancelable) { ZEPHIR_CALL_METHOD(&_9$$14, event, "isstopped", NULL, 0); zephir_check_call_status(); if (zephir_is_true(&_9$$14)) { break; } } } else { if ((zephir_method_exists(&handler, &eventName TSRMLS_CC) == SUCCESS)) { ZEPHIR_CALL_METHOD_ZVAL(&status, &handler, &eventName, NULL, 0, event, &source, &data); zephir_check_call_status(); if (collect) { zephir_update_property_array_append(this_ptr, SL("_responses"), &status TSRMLS_CC); } if (cancelable) { ZEPHIR_CALL_METHOD(&_10$$19, event, "isstopped", NULL, 0); zephir_check_call_status(); if (zephir_is_true(&_10$$19)) { break; } } } } } } } else { zephir_is_iterable(queue, 0, "phalcon/events/manager.zep", 343); ZEND_HASH_FOREACH_VAL(Z_ARRVAL_P(queue), _11$$21) { ZEPHIR_INIT_NVAR(&handler); ZVAL_COPY(&handler, _11$$21); if (Z_TYPE_P(&handler) == IS_OBJECT) { if (zephir_instance_of_ev(&handler, zend_ce_closure TSRMLS_CC)) { if (Z_TYPE_P(&arguments) == IS_NULL) { ZEPHIR_INIT_NVAR(&arguments); zephir_create_array(&arguments, 3, 0 TSRMLS_CC); zephir_array_fast_append(&arguments, event); zephir_array_fast_append(&arguments, &source); zephir_array_fast_append(&arguments, &data); } ZEPHIR_INIT_NVAR(&status); ZEPHIR_CALL_USER_FUNC_ARRAY(&status, &handler, &arguments); zephir_check_call_status(); if (collect) { zephir_update_property_array_append(this_ptr, SL("_responses"), &status TSRMLS_CC); } if (cancelable) { ZEPHIR_CALL_METHOD(&_12$$27, event, "isstopped", NULL, 0); zephir_check_call_status(); if (zephir_is_true(&_12$$27)) { break; } } } else { if ((zephir_method_exists(&handler, &eventName TSRMLS_CC) == SUCCESS)) { ZEPHIR_CALL_METHOD_ZVAL(&status, &handler, &eventName, NULL, 0, event, &source, &data); zephir_check_call_status(); if (collect) { zephir_update_property_array_append(this_ptr, SL("_responses"), &status TSRMLS_CC); } if (cancelable) { ZEPHIR_CALL_METHOD(&_13$$32, event, "isstopped", NULL, 0); zephir_check_call_status(); if (zephir_is_true(&_13$$32)) { break; } } } } } } ZEND_HASH_FOREACH_END(); ZEPHIR_INIT_NVAR(&handler); } RETURN_CCTOR(&status); } /** * Fires an event in the events manager causing the active listeners to be notified about it * *<code> * $eventsManager->fire("db", $connection); *</code> * * @param object source * @param mixed data * @return mixed */ PHP_METHOD(Phalcon_Events_Manager, fire) { zend_long ZEPHIR_LAST_CALL_STATUS; zend_bool cancelable, _3$$6, _5$$8; zval *eventType_param = NULL, *source, source_sub, *data = NULL, data_sub, *cancelable_param = NULL, __$null, events, eventParts, type, eventName, event, status, fireEvents, _2, _0$$4, _4$$7, _6$$10; zval eventType, _1$$4; zval *this_ptr = getThis(); ZVAL_UNDEF(&eventType); ZVAL_UNDEF(&_1$$4); ZVAL_UNDEF(&source_sub); ZVAL_UNDEF(&data_sub); ZVAL_NULL(&__$null); ZVAL_UNDEF(&events); ZVAL_UNDEF(&eventParts); ZVAL_UNDEF(&type); ZVAL_UNDEF(&eventName); ZVAL_UNDEF(&event); ZVAL_UNDEF(&status); ZVAL_UNDEF(&fireEvents); ZVAL_UNDEF(&_2); ZVAL_UNDEF(&_0$$4); ZVAL_UNDEF(&_4$$7); ZVAL_UNDEF(&_6$$10); ZEPHIR_MM_GROW(); zephir_fetch_params(1, 2, 2, &eventType_param, &source, &data, &cancelable_param); if (UNEXPECTED(Z_TYPE_P(eventType_param) != IS_STRING && Z_TYPE_P(eventType_param) != IS_NULL)) { zephir_throw_exception_string(spl_ce_InvalidArgumentException, SL("Parameter 'eventType' must be of the type string") TSRMLS_CC); RETURN_MM_NULL(); } if (EXPECTED(Z_TYPE_P(eventType_param) == IS_STRING)) { zephir_get_strval(&eventType, eventType_param); } else { ZEPHIR_INIT_VAR(&eventType); ZVAL_EMPTY_STRING(&eventType); } if (!data) { data = &data_sub; data = &__$null; } if (!cancelable_param) { cancelable = 1; } else { cancelable = zephir_get_boolval(cancelable_param); } ZEPHIR_OBS_VAR(&events); zephir_read_property(&events, this_ptr, SL("_events"), PH_NOISY_CC); if (Z_TYPE_P(&events) != IS_ARRAY) { RETURN_MM_NULL(); } if (!(zephir_memnstr_str(&eventType, SL(":"), "phalcon/events/manager.zep", 369))) { ZEPHIR_INIT_VAR(&_0$$4); object_init_ex(&_0$$4, phalcon_events_exception_ce); ZEPHIR_INIT_VAR(&_1$$4); ZEPHIR_CONCAT_SV(&_1$$4, "Invalid event type ", &eventType); ZEPHIR_CALL_METHOD(NULL, &_0$$4, "__construct", NULL, 3, &_1$$4); zephir_check_call_status(); zephir_throw_exception_debug(&_0$$4, "phalcon/events/manager.zep", 370 TSRMLS_CC); ZEPHIR_MM_RESTORE(); return; } ZEPHIR_INIT_VAR(&eventParts); zephir_fast_explode_str(&eventParts, SL(":"), &eventType, LONG_MAX TSRMLS_CC); ZEPHIR_OBS_VAR(&type); zephir_array_fetch_long(&type, &eventParts, 0, PH_NOISY, "phalcon/events/manager.zep", 374 TSRMLS_CC); ZEPHIR_OBS_VAR(&eventName); zephir_array_fetch_long(&eventName, &eventParts, 1, PH_NOISY, "phalcon/events/manager.zep", 375 TSRMLS_CC); ZEPHIR_INIT_VAR(&status); ZVAL_NULL(&status); zephir_read_property(&_2, this_ptr, SL("_collect"), PH_NOISY_CC | PH_READONLY); if (zephir_is_true(&_2)) { zephir_update_property_zval(this_ptr, SL("_responses"), &__$null); } ZEPHIR_INIT_VAR(&event); ZVAL_NULL(&event); ZEPHIR_OBS_VAR(&fireEvents); if (zephir_array_isset_fetch(&fireEvents, &events, &type, 0 TSRMLS_CC)) { _3$$6 = Z_TYPE_P(&fireEvents) == IS_OBJECT; if (!(_3$$6)) { _3$$6 = Z_TYPE_P(&fireEvents) == IS_ARRAY; } if (_3$$6) { ZEPHIR_INIT_NVAR(&event); object_init_ex(&event, phalcon_events_event_ce); if (cancelable) { ZVAL_BOOL(&_4$$7, 1); } else { ZVAL_BOOL(&_4$$7, 0); } ZEPHIR_CALL_METHOD(NULL, &event, "__construct", NULL, 172, &eventName, source, data, &_4$$7); zephir_check_call_status(); ZEPHIR_CALL_METHOD(&status, this_ptr, "firequeue", NULL, 173, &fireEvents, &event); zephir_check_call_status(); } } ZEPHIR_OBS_NVAR(&fireEvents); if (zephir_array_isset_fetch(&fireEvents, &events, &eventType, 0 TSRMLS_CC)) { _5$$8 = Z_TYPE_P(&fireEvents) == IS_OBJECT; if (!(_5$$8)) { _5$$8 = Z_TYPE_P(&fireEvents) == IS_ARRAY; } if (_5$$8) { if (Z_TYPE_P(&event) == IS_NULL) { ZEPHIR_INIT_NVAR(&event); object_init_ex(&event, phalcon_events_event_ce); if (cancelable) { ZVAL_BOOL(&_6$$10, 1); } else { ZVAL_BOOL(&_6$$10, 0); } ZEPHIR_CALL_METHOD(NULL, &event, "__construct", NULL, 172, &eventName, source, data, &_6$$10); zephir_check_call_status(); } ZEPHIR_CALL_METHOD(&status, this_ptr, "firequeue", NULL, 173, &fireEvents, &event); zephir_check_call_status(); } } RETURN_CCTOR(&status); } /** * Check whether certain type of event has listeners */ PHP_METHOD(Phalcon_Events_Manager, hasListeners) { zval *type_param = NULL, _0; zval type; zval *this_ptr = getThis(); ZVAL_UNDEF(&type); ZVAL_UNDEF(&_0); ZEPHIR_MM_GROW(); zephir_fetch_params(1, 1, 0, &type_param); if (UNEXPECTED(Z_TYPE_P(type_param) != IS_STRING && Z_TYPE_P(type_param) != IS_NULL)) { zephir_throw_exception_string(spl_ce_InvalidArgumentException, SL("Parameter 'type' must be of the type string") TSRMLS_CC); RETURN_MM_NULL(); } if (EXPECTED(Z_TYPE_P(type_param) == IS_STRING)) { zephir_get_strval(&type, type_param); } else { ZEPHIR_INIT_VAR(&type); ZVAL_EMPTY_STRING(&type); } zephir_read_property(&_0, this_ptr, SL("_events"), PH_NOISY_CC | PH_READONLY); RETURN_MM_BOOL(zephir_array_isset(&_0, &type)); } /** * Returns all the attached listeners of a certain type */ PHP_METHOD(Phalcon_Events_Manager, getListeners) { zval *type_param = NULL, events, fireEvents; zval type; zval *this_ptr = getThis(); ZVAL_UNDEF(&type); ZVAL_UNDEF(&events); ZVAL_UNDEF(&fireEvents); ZEPHIR_MM_GROW(); zephir_fetch_params(1, 1, 0, &type_param); if (UNEXPECTED(Z_TYPE_P(type_param) != IS_STRING && Z_TYPE_P(type_param) != IS_NULL)) { zephir_throw_exception_string(spl_ce_InvalidArgumentException, SL("Parameter 'type' must be of the type string") TSRMLS_CC); RETURN_MM_NULL(); } if (EXPECTED(Z_TYPE_P(type_param) == IS_STRING)) { zephir_get_strval(&type, type_param); } else { ZEPHIR_INIT_VAR(&type); ZVAL_EMPTY_STRING(&type); } zephir_read_property(&events, this_ptr, SL("_events"), PH_NOISY_CC | PH_READONLY); if (Z_TYPE_P(&events) == IS_ARRAY) { if (zephir_array_isset_fetch(&fireEvents, &events, &type, 1 TSRMLS_CC)) { RETURN_CTOR(&fireEvents); } } array_init(return_value); RETURN_MM(); }
31.349805
200
0.711216
314657973d5e010bb30259a957e0e0ff25a0fe34
6,344
h
C
DataCollector/mozilla/xulrunner-sdk/include/nsIFind.h
andrasigneczi/TravelOptimiser
b08805f97f0823fd28975a36db67193386aceb22
[ "Apache-2.0" ]
1
2016-04-20T08:35:44.000Z
2016-04-20T08:35:44.000Z
DataCollector/mozilla/xulrunner-sdk/include/nsIFind.h
andrasigneczi/TravelOptimiser
b08805f97f0823fd28975a36db67193386aceb22
[ "Apache-2.0" ]
null
null
null
DataCollector/mozilla/xulrunner-sdk/include/nsIFind.h
andrasigneczi/TravelOptimiser
b08805f97f0823fd28975a36db67193386aceb22
[ "Apache-2.0" ]
null
null
null
/* * DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl\nsIFind.idl */ #ifndef __gen_nsIFind_h__ #define __gen_nsIFind_h__ #ifndef __gen_nsISupports_h__ #include "nsISupports.h" #endif /* For IDL files that don't want to include root IDL files. */ #ifndef NS_NO_VTABLE #define NS_NO_VTABLE #endif class nsIDOMRange; /* forward declaration */ class nsIWordBreaker; /* forward declaration */ /* starting interface: nsIFind */ #define NS_IFIND_IID_STR "75125d55-37ee-4575-b9b5-f33bfa68c2a1" #define NS_IFIND_IID \ {0x75125d55, 0x37ee, 0x4575, \ { 0xb9, 0xb5, 0xf3, 0x3b, 0xfa, 0x68, 0xc2, 0xa1 }} class NS_NO_VTABLE nsIFind : public nsISupports { public: NS_DECLARE_STATIC_IID_ACCESSOR(NS_IFIND_IID) /* attribute boolean findBackwards; */ NS_IMETHOD GetFindBackwards(bool *aFindBackwards) = 0; NS_IMETHOD SetFindBackwards(bool aFindBackwards) = 0; /* attribute boolean caseSensitive; */ NS_IMETHOD GetCaseSensitive(bool *aCaseSensitive) = 0; NS_IMETHOD SetCaseSensitive(bool aCaseSensitive) = 0; /* [noscript] attribute nsIWordBreaker wordBreaker; */ NS_IMETHOD GetWordBreaker(nsIWordBreaker * *aWordBreaker) = 0; NS_IMETHOD SetWordBreaker(nsIWordBreaker *aWordBreaker) = 0; /* nsIDOMRange Find (in wstring aPatText, in nsIDOMRange aSearchRange, in nsIDOMRange aStartPoint, in nsIDOMRange aEndPoint); */ NS_IMETHOD Find(const char16_t * aPatText, nsIDOMRange *aSearchRange, nsIDOMRange *aStartPoint, nsIDOMRange *aEndPoint, nsIDOMRange * *_retval) = 0; }; NS_DEFINE_STATIC_IID_ACCESSOR(nsIFind, NS_IFIND_IID) /* Use this macro when declaring classes that implement this interface. */ #define NS_DECL_NSIFIND \ NS_IMETHOD GetFindBackwards(bool *aFindBackwards) override; \ NS_IMETHOD SetFindBackwards(bool aFindBackwards) override; \ NS_IMETHOD GetCaseSensitive(bool *aCaseSensitive) override; \ NS_IMETHOD SetCaseSensitive(bool aCaseSensitive) override; \ NS_IMETHOD GetWordBreaker(nsIWordBreaker * *aWordBreaker) override; \ NS_IMETHOD SetWordBreaker(nsIWordBreaker *aWordBreaker) override; \ NS_IMETHOD Find(const char16_t * aPatText, nsIDOMRange *aSearchRange, nsIDOMRange *aStartPoint, nsIDOMRange *aEndPoint, nsIDOMRange * *_retval) override; /* Use this macro to declare functions that forward the behavior of this interface to another object. */ #define NS_FORWARD_NSIFIND(_to) \ NS_IMETHOD GetFindBackwards(bool *aFindBackwards) override { return _to GetFindBackwards(aFindBackwards); } \ NS_IMETHOD SetFindBackwards(bool aFindBackwards) override { return _to SetFindBackwards(aFindBackwards); } \ NS_IMETHOD GetCaseSensitive(bool *aCaseSensitive) override { return _to GetCaseSensitive(aCaseSensitive); } \ NS_IMETHOD SetCaseSensitive(bool aCaseSensitive) override { return _to SetCaseSensitive(aCaseSensitive); } \ NS_IMETHOD GetWordBreaker(nsIWordBreaker * *aWordBreaker) override { return _to GetWordBreaker(aWordBreaker); } \ NS_IMETHOD SetWordBreaker(nsIWordBreaker *aWordBreaker) override { return _to SetWordBreaker(aWordBreaker); } \ NS_IMETHOD Find(const char16_t * aPatText, nsIDOMRange *aSearchRange, nsIDOMRange *aStartPoint, nsIDOMRange *aEndPoint, nsIDOMRange * *_retval) override { return _to Find(aPatText, aSearchRange, aStartPoint, aEndPoint, _retval); } /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */ #define NS_FORWARD_SAFE_NSIFIND(_to) \ NS_IMETHOD GetFindBackwards(bool *aFindBackwards) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFindBackwards(aFindBackwards); } \ NS_IMETHOD SetFindBackwards(bool aFindBackwards) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetFindBackwards(aFindBackwards); } \ NS_IMETHOD GetCaseSensitive(bool *aCaseSensitive) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCaseSensitive(aCaseSensitive); } \ NS_IMETHOD SetCaseSensitive(bool aCaseSensitive) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCaseSensitive(aCaseSensitive); } \ NS_IMETHOD GetWordBreaker(nsIWordBreaker * *aWordBreaker) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetWordBreaker(aWordBreaker); } \ NS_IMETHOD SetWordBreaker(nsIWordBreaker *aWordBreaker) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetWordBreaker(aWordBreaker); } \ NS_IMETHOD Find(const char16_t * aPatText, nsIDOMRange *aSearchRange, nsIDOMRange *aStartPoint, nsIDOMRange *aEndPoint, nsIDOMRange * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Find(aPatText, aSearchRange, aStartPoint, aEndPoint, _retval); } #if 0 /* Use the code below as a template for the implementation class for this interface. */ /* Header file */ class nsFind : public nsIFind { public: NS_DECL_ISUPPORTS NS_DECL_NSIFIND nsFind(); private: ~nsFind(); protected: /* additional members */ }; /* Implementation file */ NS_IMPL_ISUPPORTS(nsFind, nsIFind) nsFind::nsFind() { /* member initializers and constructor code */ } nsFind::~nsFind() { /* destructor code */ } /* attribute boolean findBackwards; */ NS_IMETHODIMP nsFind::GetFindBackwards(bool *aFindBackwards) { return NS_ERROR_NOT_IMPLEMENTED; } NS_IMETHODIMP nsFind::SetFindBackwards(bool aFindBackwards) { return NS_ERROR_NOT_IMPLEMENTED; } /* attribute boolean caseSensitive; */ NS_IMETHODIMP nsFind::GetCaseSensitive(bool *aCaseSensitive) { return NS_ERROR_NOT_IMPLEMENTED; } NS_IMETHODIMP nsFind::SetCaseSensitive(bool aCaseSensitive) { return NS_ERROR_NOT_IMPLEMENTED; } /* [noscript] attribute nsIWordBreaker wordBreaker; */ NS_IMETHODIMP nsFind::GetWordBreaker(nsIWordBreaker * *aWordBreaker) { return NS_ERROR_NOT_IMPLEMENTED; } NS_IMETHODIMP nsFind::SetWordBreaker(nsIWordBreaker *aWordBreaker) { return NS_ERROR_NOT_IMPLEMENTED; } /* nsIDOMRange Find (in wstring aPatText, in nsIDOMRange aSearchRange, in nsIDOMRange aStartPoint, in nsIDOMRange aEndPoint); */ NS_IMETHODIMP nsFind::Find(const char16_t * aPatText, nsIDOMRange *aSearchRange, nsIDOMRange *aStartPoint, nsIDOMRange *aEndPoint, nsIDOMRange * *_retval) { return NS_ERROR_NOT_IMPLEMENTED; } /* End of implementation class template. */ #endif #endif /* __gen_nsIFind_h__ */
40.666667
266
0.761822
3177be0f6a933532d7c13c1fe974b432a7be16bc
2,825
c
C
quickstart.c
lusth-music/crlabauve
508a4829446b622c364bba744dacbbfed876a60f
[ "MIT" ]
null
null
null
quickstart.c
lusth-music/crlabauve
508a4829446b622c364bba744dacbbfed876a60f
[ "MIT" ]
null
null
null
quickstart.c
lusth-music/crlabauve
508a4829446b622c364bba744dacbbfed876a60f
[ "MIT" ]
null
null
null
#include <stdio.h> #include <stdlib.h> #include <stdarg.h> #include "/usr/local/include/songlib/util.h" #include "/usr/local/include/songlib/songlib.h" #define dir "/usr/local/share/samples/" #define base "ukulele/concert_" /* change PROGRAM_NAME and PROGRAM_VERSION appropriately */ char *PROGRAM_NAME = "quickstart"; char *PROGRAM_VERSION = "0.01"; static int last = 0; static void verse(int instrument,int octave) { startMeasure(); //line 1 chord(H,instrument,octave+1,C,-5,-12,IX); chord(Q,instrument,octave+1,C,2,-5,-12,IX); chord(Q,instrument,octave,C,7,14,IX); chord(Q,instrument,octave+1,E,-9,-16,IX); chord(H,instrument,octave,D,5,17,IX); chord(Q,instrument,octave+1,F,-8,-15,IX); chord(Q,instrument,octave+1,F,-8,-15,IX); chord(H,instrument,octave,D,7,17,IX); chord(Q,instrument,octave+1,F,-8,-15,IX); chord(Q,instrument,octave+1,E,-9,-16,IX); chord(Q,instrument,octave,D,5,-2,IX); chord(H,instrument,octave+1,C,-5,-12,IX); //line 2 play(Q,instrument,octave,C); min(H,instrument,octave,G); play(H,instrument,octave,G); play(Q,instrument,octave,A); play(Q,instrument,octave,G); play(Q,instrument,octave,F); play(Hd,instrument,octave,G); chord(Q,instrument,octave+1,E,-9,-16,IX); chord(Q,instrument,octave,C,7,16,IX); chord(Q,instrument,octave+1,E,-9,-16,IX); chord(Q,instrument,octave,D,-2,IX); chord(Q,instrument,octave,C,7,12,IX); chord(H,instrument,octave+1,C,-8,-12,IX); //first half of next measure //line 3 play(H,instrument,octave,C); //last half of measure play(Q,instrument,octave,G); play(Q,instrument,octave,F); play(H,instrument,octave,E); play(H,instrument,octave,F); chord(H,instrument,octave,G,-7,IX); chord(H,instrument,octave,D,7,IX); chord(Hd,instrument,octave,D,-3,IX); //first quarter of next measure //line 4 play(Q,instrument,octave,C); //last 3/4 of measure play(Q,instrument,octave,C); play(Q,instrument,octave,D); play(Q,instrument,octave,E); play(Q,instrument,octave,F); play(Q,instrument,octave,E); play(Q,instrument,octave,D); play(Q,instrument,octave,C); play(Q,instrument,octave-1,A); chord(H,instrument,octave,F,-3,-7,IX); chord(Q,instrument,octave,F,-3,-7,IX); if (last) setSustain(0.999999); chord(Hd,instrument,octave,C,4,7,IX); //END: checkMeasure(); } int main() { int instrument; int octave = 4; songInit(); instrument = readScale(dir,base); setTempo(250); setTime(4,4); setStride(0.05); setSustain(0.99995); setAmplitude(0.3); openOutput("quickstart.rra",0,0); verse(instrument,octave); last = 1; verse(instrument,octave); closeOutput(); return 0; }
22.070313
74
0.642832
4e2d19de7983b3bfb43d074dd80f5933ea166dcc
2,784
c
C
data/iptables-modified/iptables-1.8.4/extensions/libebt_pkttype.c
htfy96/iptables-icmp-frag
87d4f9a82e8f23f5bac3cc86f777dc135c6ac718
[ "Apache-2.0" ]
null
null
null
data/iptables-modified/iptables-1.8.4/extensions/libebt_pkttype.c
htfy96/iptables-icmp-frag
87d4f9a82e8f23f5bac3cc86f777dc135c6ac718
[ "Apache-2.0" ]
null
null
null
data/iptables-modified/iptables-1.8.4/extensions/libebt_pkttype.c
htfy96/iptables-icmp-frag
87d4f9a82e8f23f5bac3cc86f777dc135c6ac718
[ "Apache-2.0" ]
null
null
null
/* ebt_pkttype * * Authors: * Bart De Schuymer <bdschuym@pandora.be> * * April, 2003 */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <getopt.h> #include <netdb.h> #include <xtables.h> #include <linux/if_packet.h> #include <linux/netfilter_bridge/ebt_pkttype.h> static const char *classes[] = { "host", "broadcast", "multicast", "otherhost", "outgoing", "loopback", "fastroute", }; static const struct option brpkttype_opts[] = { { "pkttype-type" , required_argument, 0, '1' }, { 0 } }; static void brpkttype_print_help(void) { printf( "pkttype options:\n" "--pkttype-type [!] type: class the packet belongs to\n" "Possible values: broadcast, multicast, host, otherhost, or any other byte value (which would be pretty useless).\n"); } static int brpkttype_parse(int c, char **argv, int invert, unsigned int *flags, const void *entry, struct xt_entry_match **match) { struct ebt_pkttype_info *ptinfo = (struct ebt_pkttype_info *)(*match)->data; char *end; long int i; switch (c) { case '1': if (invert) ptinfo->invert = 1; i = strtol(optarg, &end, 16); if (*end != '\0') { for (i = 0; i < ARRAY_SIZE(classes); i++) { if (!strcasecmp(optarg, classes[i])) break; } if (i >= ARRAY_SIZE(classes)) xtables_error(PARAMETER_PROBLEM, "Could not parse class '%s'", optarg); } if (i < 0 || i > 255) xtables_error(PARAMETER_PROBLEM, "Problem with specified pkttype class"); ptinfo->pkt_type = (uint8_t)i; break; default: return 0; } return 1; } static void brpkttype_print(const void *ip, const struct xt_entry_match *match, int numeric) { struct ebt_pkttype_info *pt = (struct ebt_pkttype_info *)match->data; printf("--pkttype-type %s", pt->invert ? "! " : ""); if (pt->pkt_type < ARRAY_SIZE(classes)) printf("%s ", classes[pt->pkt_type]); else printf("%d ", pt->pkt_type); } static int brpkttype_xlate(struct xt_xlate *xl, const struct xt_xlate_mt_params *params) { const struct ebt_pkttype_info *info = (const void*)params->match->data; xt_xlate_add(xl, "meta pkttype %s", info->invert ? "!= " : ""); if (info->pkt_type < 3) xt_xlate_add(xl, "%s ", classes[info->pkt_type]); else if (info->pkt_type == 3) xt_xlate_add(xl, "other "); else xt_xlate_add(xl, "%d ", info->pkt_type); return 1; } static struct xtables_match brpkttype_match = { .name = "pkttype", .version = XTABLES_VERSION, .family = NFPROTO_BRIDGE, .size = XT_ALIGN(sizeof(struct ebt_pkttype_info)), .userspacesize = XT_ALIGN(sizeof(struct ebt_pkttype_info)), .help = brpkttype_print_help, .parse = brpkttype_parse, .print = brpkttype_print, .xlate = brpkttype_xlate, .extra_opts = brpkttype_opts, }; void _init(void) { xtables_register_match(&brpkttype_match); }
23.2
118
0.673132
bdd9e6539c473db7098a65f120249ceb0a4c5280
7,820
c
C
src/OGLSuperBible/chapter_9/anisotropic/anisotropic.c
apportable/vogl
4f05918a14ba3c4efc3cbd8b05b6964e625c751b
[ "MIT" ]
5
2016-07-23T00:33:31.000Z
2020-12-18T09:40:35.000Z
src/OGLSuperBible/chapter_9/anisotropic/anisotropic.c
LunarG/vogl
172a86d9c4ee08dccbf4e342caa1ba63f1ea2b0e
[ "MIT" ]
null
null
null
src/OGLSuperBible/chapter_9/anisotropic/anisotropic.c
LunarG/vogl
172a86d9c4ee08dccbf4e342caa1ba63f1ea2b0e
[ "MIT" ]
null
null
null
// Anisotropic.c // Demonstrates anisotropic texture filtering // OpenGL SuperBible // Richard S. Wright Jr. #include "../../common/openglsb.h" // System and OpenGL Stuff #include "../../common/gltools.h" // OpenGL toolkit // Rotation amounts static GLfloat zPos = -60.0f; // Texture objects #define TEXTURE_BRICK 0 #define TEXTURE_FLOOR 1 #define TEXTURE_CEILING 2 #define TEXTURE_COUNT 3 GLuint textures[TEXTURE_COUNT]; const char *szTextureFiles[TEXTURE_COUNT] = { "brick.tga", "floor.tga", "ceiling.tga" }; /////////////////////////////////////////////////////////////////////////////// // Change texture filter for each texture object void ProcessMenu(int value) { GLint iLoop; GLfloat fLargest; for(iLoop = 0; iLoop < TEXTURE_COUNT; iLoop++) { glBindTexture(GL_TEXTURE_2D, textures[iLoop]); switch(value) { case 0: glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST); break; case 1: glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR); break; case 2: glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST_MIPMAP_NEAREST); break; case 3: glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST_MIPMAP_LINEAR); break; case 4: glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR_MIPMAP_NEAREST); break; case 5: glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR_MIPMAP_LINEAR); break; case 6: glGetFloatv(GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT, &fLargest); glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_MAX_ANISOTROPY_EXT, fLargest); break; case 7: glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_MAX_ANISOTROPY_EXT, 1.0f); break; } } // Trigger Redraw glutPostRedisplay(); } ////////////////////////////////////////////////////////////////// // This function does any needed initialization on the rendering // context. Here it sets up and initializes the texture objects. void SetupRC() { GLubyte *pBytes; GLint iWidth, iHeight, iComponents; GLenum eFormat; GLint iLoop; // Black background glClearColor(0.0f, 0.0f, 0.0f,1.0f); // Textures applied as decals, no lighting or coloring effects glEnable(GL_TEXTURE_2D); glTexEnvi(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_DECAL); // Load textures glGenTextures(TEXTURE_COUNT, textures); for(iLoop = 0; iLoop < TEXTURE_COUNT; iLoop++) { // Bind to next texture object glBindTexture(GL_TEXTURE_2D, textures[iLoop]); // Load texture, set filter and wrap modes pBytes = (GLubyte *) gltLoadTGA(szTextureFiles[iLoop],&iWidth, &iHeight, &iComponents, &eFormat); gluBuild2DMipmaps(GL_TEXTURE_2D, iComponents, iWidth, iHeight, eFormat, GL_UNSIGNED_BYTE, pBytes); glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR); glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR_MIPMAP_LINEAR); glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE); glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE); // Don't need original texture data any more free(pBytes); } } /////////////////////////////////////////////////// // Shutdown the rendering context. Just deletes the // texture objects void ShutdownRC(void) { glDeleteTextures(TEXTURE_COUNT, textures); } /////////////////////////////////////////////////// // Respond to arrow keys, move the viewpoint back // and forth void SpecialKeys(int key, int x, int y) { if(key == GLUT_KEY_UP) zPos += 1.0f; if(key == GLUT_KEY_DOWN) zPos -= 1.0f; // Refresh the Window glutPostRedisplay(); } ///////////////////////////////////////////////////////////////////// // Change viewing volume and viewport. Called when window is resized void ChangeSize(int w, int h) { GLfloat fAspect; // Prevent a divide by zero if(h == 0) h = 1; // Set Viewport to window dimensions glViewport(0, 0, w, h); fAspect = (GLfloat)w/(GLfloat)h; // Reset coordinate system glMatrixMode(GL_PROJECTION); glLoadIdentity(); // Produce the perspective projection gluPerspective(90.0f,fAspect,1,120); glMatrixMode(GL_MODELVIEW); glLoadIdentity(); } /////////////////////////////////////////////////////// // Called to draw scene void RenderScene(void) { GLfloat z; // Clear the window with current clearing color glClear(GL_COLOR_BUFFER_BIT); // Save the matrix state and do the rotations glPushMatrix(); // Move object back and do in place rotation glTranslatef(0.0f, 0.0f, zPos); // Floor for(z = 60.0f; z >= 0.0f; z -= 10) { glBindTexture(GL_TEXTURE_2D, textures[TEXTURE_FLOOR]); glBegin(GL_QUADS); glTexCoord2f(0.0f, 0.0f); glVertex3f(-10.0f, -10.0f, z); glTexCoord2f(1.0f, 0.0f); glVertex3f(10.0f, -10.0f, z); glTexCoord2f(1.0f, 1.0f); glVertex3f(10.0f, -10.0f, z - 10.0f); glTexCoord2f(0.0f, 1.0f); glVertex3f(-10.0f, -10.0f, z - 10.0f); glEnd(); // Ceiling glBindTexture(GL_TEXTURE_2D, textures[TEXTURE_CEILING]); glBegin(GL_QUADS); glTexCoord2f(0.0f, 1.0f); glVertex3f(-10.0f, 10.0f, z - 10.0f); glTexCoord2f(1.0f, 1.0f); glVertex3f(10.0f, 10.0f, z - 10.0f); glTexCoord2f(1.0f, 0.0f); glVertex3f(10.0f, 10.0f, z); glTexCoord2f(0.0f, 0.0f); glVertex3f(-10.0f, 10.0f, z); glEnd(); // Left Wall glBindTexture(GL_TEXTURE_2D, textures[TEXTURE_BRICK]); glBegin(GL_QUADS); glTexCoord2f(0.0f, 0.0f); glVertex3f(-10.0f, -10.0f, z); glTexCoord2f(1.0f, 0.0f); glVertex3f(-10.0f, -10.0f, z - 10.0f); glTexCoord2f(1.0f, 1.0f); glVertex3f(-10.0f, 10.0f, z - 10.0f); glTexCoord2f(0.0f, 1.0f); glVertex3f(-10.0f, 10.0f, z); glEnd(); // Right Wall glBegin(GL_QUADS); glTexCoord2f(0.0f, 1.0f); glVertex3f(10.0f, 10.0f, z); glTexCoord2f(1.0f, 1.0f); glVertex3f(10.0f, 10.0f, z - 10.0f); glTexCoord2f(1.0f, 0.0f); glVertex3f(10.0f, -10.0f, z - 10.0f); glTexCoord2f(0.0f, 0.0f); glVertex3f(10.0f, -10.0f, z); glEnd(); } // Restore the matrix state glPopMatrix(); // Buffer swap glutSwapBuffers(); } ////////////////////////////////////////////////////// // Program entry point int main(int argc, char *argv[]) { // Standard initialization stuff glutInit(&argc, argv); glutInitDisplayMode(GLUT_DOUBLE | GLUT_RGB); glutInitWindowSize(800, 600); glutCreateWindow("Anisotropic Tunnel"); glutReshapeFunc(ChangeSize); glutSpecialFunc(SpecialKeys); glutDisplayFunc(RenderScene); // Add menu entries to change filter glutCreateMenu(ProcessMenu); glutAddMenuEntry("GL_NEAREST",0); glutAddMenuEntry("GL_LINEAR",1); glutAddMenuEntry("GL_NEAREST_MIPMAP_NEAREST",2); glutAddMenuEntry("GL_NEAREST_MIPMAP_LINEAR", 3); glutAddMenuEntry("GL_LINEAR_MIPMAP_NEAREST", 4); glutAddMenuEntry("GL_LINEAR_MIPMAP_LINEAR", 5); glutAddMenuEntry("Anisotropic Filter", 6); glutAddMenuEntry("Anisotropic Off", 7); glutAttachMenu(GLUT_RIGHT_BUTTON); // Startup, loop, shutdown SetupRC(); glutMainLoop(); ShutdownRC(); return 0; }
27.058824
106
0.594501
085f7748a41abfd47cab7cb7b6391bf1a669f19f
232
c
C
_18.c
catlak-prof/c_programlama
63021c4ad670e3f1d20401b12b8c0478eecabbc5
[ "MIT" ]
null
null
null
_18.c
catlak-prof/c_programlama
63021c4ad670e3f1d20401b12b8c0478eecabbc5
[ "MIT" ]
null
null
null
_18.c
catlak-prof/c_programlama
63021c4ad670e3f1d20401b12b8c0478eecabbc5
[ "MIT" ]
3
2018-10-24T07:14:45.000Z
2018-10-24T08:34:58.000Z
#include <stdio.h> #include <conio.h> int main() { int i,j,n; printf("Satir Sayisini Giriniz..:"); scanf("%d",&n); for(i=1;i<=n;i++) { for(j=1;j<=n-i;j++) printf(" "); for(j=1;j<=(i*2-1);j++) printf("*"); printf("\n"); } getch(); }
12.888889
36
0.530172
eca3e6327192d27ed75d53868b5a0697265121e7
7,018
c
C
Silverware/src/drv_softi2c.c
silver13/BoldClash-BWHOOP-B-03
b07bc63f3cffbc8d68cac4e55459531eadd06b42
[ "MIT" ]
63
2017-04-16T08:41:53.000Z
2022-02-25T01:07:25.000Z
Silverware/src/drv_softi2c.c
konstantint/Silverware-H345
bacb26b16474be593fe223122007788a9c4a7c7d
[ "MIT" ]
16
2016-07-02T10:14:38.000Z
2020-09-11T20:59:14.000Z
Silverware/src/drv_softi2c.c
silver13/BoldClash-BWHOOP-B-03
b07bc63f3cffbc8d68cac4e55459531eadd06b42
[ "MIT" ]
52
2017-04-27T14:51:09.000Z
2021-12-16T03:46:45.000Z
/* The MIT License (MIT) Copyright (c) 2016 silverx Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ #include "project.h" #include <stdint.h> #include <stdio.h> #include "drv_softi2c.h" #include "config.h" //#define i2cdebug static GPIO_InitTypeDef sdainit; void delay(int); // inter-version fix #ifndef SOFTI2C_SPEED_SLOW1 #ifndef SOFTI2C_SPEED_SLOW2 #ifndef SOFTI2C_SPEED_FAST #define SOFTI2C_SPEED_FAST #endif #endif #endif #ifdef SOFTI2C_SPEED_FAST #define _delay // #define _delay2 // #endif #ifdef SOFTI2C_SPEED_SLOW1 #ifdef __GNUC__ void delayraw() { volatile uint8_t count = 1; while (count--); } #else void delayraw() { uint8_t count = 1; while (count--); } #endif #define _delay delayraw() #define _delay2 //delay(1) #endif #ifdef SOFTI2C_SPEED_SLOW2 #define _delay delay(1) #define _delay2 //delay(1) #endif #ifdef i2cdebug int debug = 1; // prints error info, set in setup() #endif int sda; int scl; void _sendstart(void); void _sendstop(void); void sdalow(void); void sdahigh(void); void scllow(void); void sclhigh(void); void _restart(void); int _readbyte( int); int _sendbyte( int); int _readsda(void); int sdaout = 0; void setoutput(void); //////////////////////////////// /////////I2C Routines////////// void sdalow() { if(!sdaout) setoutput(); SOFTI2C_SDAPORT->BRR = SOFTI2C_SDAPIN; sda=0; _delay; } void sdahigh() { if(!sdaout) setoutput(); SOFTI2C_SDAPORT->BSRR = SOFTI2C_SDAPIN; _delay; sda = 1; } void scllow() { SOFTI2C_SCLPORT->BRR = SOFTI2C_SCLPIN; _delay; scl = 0; } void sclhigh() { SOFTI2C_SCLPORT->BSRR = SOFTI2C_SCLPIN; _delay; scl = 1; } void sclhighlow() { SOFTI2C_SCLPORT->BSRR = SOFTI2C_SCLPIN; _delay; SOFTI2C_SCLPORT->BRR = SOFTI2C_SCLPIN; _delay; scl = 0; } void setinput() { sdaout = 0; sdainit.GPIO_Mode = GPIO_Mode_IN; GPIO_Init(SOFTI2C_SDAPORT, &sdainit); _delay2; } void setoutput() { sdaout = 1; sdainit.GPIO_Mode = GPIO_Mode_OUT; GPIO_Init(SOFTI2C_SDAPORT, &sdainit); _delay2; } int _readsda() { #ifdef i2cdebug if (!sda) printf("_readsda: sda low"); #endif //if ( sdaout) setinput(); //return ( GPIO_ReadInputDataBit(SOFTI2C_SDAPORT, SOFTI2C_SDAPIN) ); return SOFTI2C_SDAPORT->IDR & SOFTI2C_SDAPIN; } void _sendstart() { if (scl == 0) { #ifdef i2cdebug printf("_sendstart: scl low"); #endif sclhigh(); } if (sda == 1) { if(!_readsda()) { #ifdef i2cdebug printf("_sendstart: sda pulled low by slave"); #endif //error1 = 1; } sdalow(); } else { #ifdef i2cdebug printf("_sendstart: sda low"); #endif } } void _restart() { #ifdef i2cdebug if (scl == 1) printf("_restart: scl high"); #endif if (sda == 0) { sdahigh(); } sclhigh(); sdalow(); } void _sendstop() { if (sda == 1) { if (!scl) sdalow(); else { #ifdef i2cdebug printf("stop: error"); #endif } } if (scl == 0) sclhigh(); else { #ifdef i2cdebug printf("stop: scl high"); #endif } sdahigh(); } int _sendbyte( int value ) { int i; if (scl == 1) { scllow(); } for ( i = 7; i >= 0 ;i--) { if ((value >> i)&1) { sdahigh(); } else { sdalow(); } //sclhigh(); //scllow(); sclhighlow(); } if (!sda) sdahigh(); // release the line //get ack sclhigh(); // skip ack since it is not used here uint8_t ack;// = _readsda(); #ifdef i2cdebug if (ack) { if (debug) Serial.println("NOT RECEIVED"); } #endif scllow(); return ack; } int _readbyte(int ack) //ACK 1 single byte ACK 0 multiple bytes { uint8_t data=0; #ifdef i2cdebug if (scl == 1) { printf("read: scl high"); } #endif if ( sda == 0) { sdahigh(); } if(!sdaout) setoutput(); int i; for( i = 7; i>=0;i--) { sclhigh(); if (_readsda() ) data|=(1<<i); scllow(); } if (ack) { sdahigh(); } else { sdalow(); } sclhigh(); scllow(); if (sda) sdalow(); return data; } int softi2c_write( int device_address , int address, int value) { _sendstart(); _sendbyte((device_address<<1)); _sendbyte(address); uint8_t ack = _sendbyte(value); _sendstop(); return ack; } int softi2c_read(int device_address , int register_address) { _sendstart(); _sendbyte((device_address<<1)); _sendbyte(register_address); _restart(); _sendbyte((device_address<<1) + 1); uint8_t x = _readbyte(1); _sendstop(); return x; } void softi2c_writedata(int device_address ,int register_address , int *data, int size ) { int index = 0; _sendstart(); _sendbyte(device_address<<1); _sendbyte(register_address); _sendstop(); while(index<size) { _sendbyte(data[index]); index++; } _sendstop(); } void softi2c_readdata(int device_address ,int register_address , int *data, int size ) { int index = 0; _sendstart(); _sendbyte(device_address<<1); _sendbyte(register_address); _restart(); _sendbyte( (device_address<<1) + 1); while(index<size-1) { data[index] = _readbyte(0); index++; } data[index] = _readbyte(1); _sendstop(); } void softi2c_init() { GPIO_InitTypeDef GPIO_InitStructure; GPIO_InitStructure.GPIO_Pin = SOFTI2C_SDAPIN; GPIO_InitStructure.GPIO_Mode = GPIO_Mode_OUT; GPIO_InitStructure.GPIO_OType = GPIO_OType_OD; GPIO_InitStructure.GPIO_PuPd = GPIO_PuPd_UP; GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz; GPIO_Init(SOFTI2C_SCLPORT, &GPIO_InitStructure); // some boards have no SCL pullup, we drive SCL pullup for better speed on those // the factory firmware does this too, so it must be ok #ifdef SOFTI2C_PUSHPULL_CLK GPIO_InitStructure.GPIO_OType = GPIO_OType_PP; #endif GPIO_InitStructure.GPIO_Pin = SOFTI2C_SCLPIN; GPIO_Init(SOFTI2C_SDAPORT, &GPIO_InitStructure); sdainit.GPIO_Pin = SOFTI2C_SDAPIN; sdainit.GPIO_Mode = GPIO_Mode_IN; sdainit.GPIO_OType = GPIO_OType_OD; sdainit.GPIO_PuPd = GPIO_PuPd_UP; sdainit.GPIO_Speed = GPIO_Speed_50MHz; sdaout = 1; sda = 0; scl = 0; sdahigh(); sclhigh(); } ///////////////////////////////END I2C///////
16.749403
88
0.670419
23293d5d53a2cb4cf56548eb31533202678d873f
1,248
h
C
tensorflow/compiler/jit/introduce_floating_point_jitter_pass_internal.h
uve/tensorflow
e08079463bf43e5963acc41da1f57e95603f8080
[ "Apache-2.0" ]
null
null
null
tensorflow/compiler/jit/introduce_floating_point_jitter_pass_internal.h
uve/tensorflow
e08079463bf43e5963acc41da1f57e95603f8080
[ "Apache-2.0" ]
null
null
null
tensorflow/compiler/jit/introduce_floating_point_jitter_pass_internal.h
uve/tensorflow
e08079463bf43e5963acc41da1f57e95603f8080
[ "Apache-2.0" ]
null
null
null
/* Copyright 2019 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. ==============================================================================*/ #ifndef TENSORFLOW_COMPILER_JIT_INTRODUCE_FLOATING_POINT_JITTER_PASS_INTERNAL_H_ #define TENSORFLOW_COMPILER_JIT_INTRODUCE_FLOATING_POINT_JITTER_PASS_INTERNAL_H_ #include "absl/types/span.h" #include "tensorflow/core/common_runtime/optimization_registry.h" namespace tensorflow { Status IntroduceFloatingPointJitter(Graph* graph, absl::Span<string const> tensor_names, float jitter_amount); } #endif // TENSORFLOW_COMPILER_JIT_INTRODUCE_FLOATING_POINT_JITTER_PASS_INTERNAL_H_
44.571429
84
0.71234
d90c678cf04b22def7d5b9da8182d87f059cadb5
303
h
C
KHCocoaPodsFramework2/KHCocoaPodsFramework2/Framework2PublicClass1.h
khawkins/KHCocoaPodsFramework2
1225c3644c9024eecff47d447b216ab70dd12358
[ "MIT" ]
null
null
null
KHCocoaPodsFramework2/KHCocoaPodsFramework2/Framework2PublicClass1.h
khawkins/KHCocoaPodsFramework2
1225c3644c9024eecff47d447b216ab70dd12358
[ "MIT" ]
null
null
null
KHCocoaPodsFramework2/KHCocoaPodsFramework2/Framework2PublicClass1.h
khawkins/KHCocoaPodsFramework2
1225c3644c9024eecff47d447b216ab70dd12358
[ "MIT" ]
null
null
null
// // Framework2PublicClass1.h // KHCocoaPodsFramework2 // // Created by Kevin Hawkins on 12/30/15. // Copyright © 2015 KH CocoaPods Tests. All rights reserved. // #import <Foundation/Foundation.h> @interface Framework2PublicClass1 : NSObject - (NSString *)passAlongFramework1RandomString; @end
18.9375
61
0.749175
23c25d5bd41a8f9c2704159d9452c0a042fb8786
1,781
h
C
include/padt/brep/handle.h
mgsutton/brep
0f5f3e3c6615dc329955750b86e57915edf91dfa
[ "MIT" ]
null
null
null
include/padt/brep/handle.h
mgsutton/brep
0f5f3e3c6615dc329955750b86e57915edf91dfa
[ "MIT" ]
null
null
null
include/padt/brep/handle.h
mgsutton/brep
0f5f3e3c6615dc329955750b86e57915edf91dfa
[ "MIT" ]
1
2022-03-06T18:47:25.000Z
2022-03-06T18:47:25.000Z
#ifndef PADT_BREP_HANDLE_H #define PADT_BREP_HANDLE_H #include <ostream> #include <variant> namespace padt::brep { class BaseHandle { public: explicit BaseHandle(int h = -1) : h_(h) {} bool isValid() const { return h_ != -1; } int idx() const { return h_; } void reset() { h_ = -1; } void invalidate() { reset(); } bool operator==(const BaseHandle& rhs) const { return h_ == rhs.h_; } bool operator!=(const BaseHandle& rhs) const { return h_ != rhs.h_; } bool operator<(const BaseHandle& rhs) const { return h_ < rhs.h_; } private: int h_; }; template <typename T> struct HandleHash { size_t operator()(const T& h) const { return h.idx(); } }; inline std::ostream& operator<<(std::ostream& os, const BaseHandle& h) { return (os << h.idx()); } class AssemblyHandle : public BaseHandle { public: explicit AssemblyHandle(int h = -1) : BaseHandle(h) {} }; class PartHandle : public BaseHandle { public: explicit PartHandle(int h = -1) : BaseHandle(h) {} }; class BodyHandle : public BaseHandle { public: explicit BodyHandle(int h = -1) : BaseHandle(h) {} }; class FaceHandle : public BaseHandle { public: explicit FaceHandle(int h = -1) : BaseHandle(h) {} }; class EdgeHandle : public BaseHandle { public: explicit EdgeHandle(int h = -1) : BaseHandle(h) {} }; class VertexHandle : public BaseHandle { public: explicit VertexHandle(int h = -1) : BaseHandle(h) {} }; class LoopHandle : public BaseHandle { public: explicit LoopHandle(int h = -1) : BaseHandle(h) {} }; class ShellHandle : public BaseHandle { public: explicit ShellHandle(int h = -1) : BaseHandle(h) {} }; typedef std::variant<PartHandle, BodyHandle, FaceHandle, EdgeHandle, VertexHandle> EntityHandle; } // namespace padt::brep #endif
23.746667
72
0.667602
c1157161ef223101352490df06827697b97f24db
592
c
C
vinicius/6.c
TulioEstrelaMarques/C
ab07d044987f80bdfef40f190eaad9b3f3c270e5
[ "MIT" ]
null
null
null
vinicius/6.c
TulioEstrelaMarques/C
ab07d044987f80bdfef40f190eaad9b3f3c270e5
[ "MIT" ]
null
null
null
vinicius/6.c
TulioEstrelaMarques/C
ab07d044987f80bdfef40f190eaad9b3f3c270e5
[ "MIT" ]
null
null
null
#include <stdio.h> #include <stdlib.h> int main(){ int i,v1[10],v2[10],v3[20]; printf("Vetor 1: "); for(i=0;i<10;i++) scanf("%d",&v1[i]); printf("\nVetor 2: "); for(i=0;i<10;i++) scanf("%d",&v1[i]); printf("\nVetor 1: "); for(i=0;i<10;i++) printf("%d\n",v1[i]); printf("\nVetor 2: "); for(i=0;i<10;i++) printf("%d\n",v2[i]); for(i=0;i<10;i++) v3[i]=v1[i]; for(i=10;i<20;i++) v3[i]=v1[i-10]; system("cls"); printf("\nVetor 3: "); for(i=0;i<20;i++) printf("%d\n",v3[i]); }
16.914286
31
0.425676
26968436453d819199a6615e445d2919d254e819
13,959
h
C
p/dyld3/shared-cache/DyldSharedCache.h
AgesX/old_dyld
33d635b73c47ac6e7de93d3ebd6c3afa8d9458b4
[ "MIT" ]
null
null
null
p/dyld3/shared-cache/DyldSharedCache.h
AgesX/old_dyld
33d635b73c47ac6e7de93d3ebd6c3afa8d9458b4
[ "MIT" ]
null
null
null
p/dyld3/shared-cache/DyldSharedCache.h
AgesX/old_dyld
33d635b73c47ac6e7de93d3ebd6c3afa8d9458b4
[ "MIT" ]
null
null
null
/* * Copyright (c) 2017 Apple Inc. All rights reserved. * * @APPLE_LICENSE_HEADER_START@ * * This file contains Original Code and/or Modifications of Original Code * as defined in and that are subject to the Apple Public Source License * Version 2.0 (the 'License'). You may not use this file except in * compliance with the License. Please obtain a copy of the License at * http://www.opensource.apple.com/apsl/ and read it before using this * file. * * The Original Code and all software distributed under the License are * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. * Please see the License for the specific language governing rights and * limitations under the License. * * @APPLE_LICENSE_HEADER_END@ */ #ifndef DyldSharedCache_h #define DyldSharedCache_h #include <TargetConditionals.h> #include <uuid/uuid.h> #if !(BUILDING_LIBDYLD || BUILDING_DYLD) #include <set> #include <string> #include <vector> #include <unordered_map> #include <unordered_set> #endif #include "dyld_cache_format.h" #include "Diagnostics.h" #include "MachOAnalyzer.h" #include "Closure.h" namespace objc_opt { struct objc_opt_t; } class VIS_HIDDEN DyldSharedCache { public: #if BUILDING_CACHE_BUILDER enum CodeSigningDigestMode { SHA256only = 0, SHA1only = 1, Agile = 2 }; struct CreateOptions { std::string outputFilePath; std::string outputMapFilePath; const dyld3::GradedArchs* archs; dyld3::Platform platform; bool excludeLocalSymbols; bool optimizeStubs; bool optimizeObjC; CodeSigningDigestMode codeSigningDigestMode; bool dylibsRemovedDuringMastering; bool inodesAreSameAsRuntime; bool cacheSupportsASLR; bool forSimulator; bool isLocallyBuiltCache; bool verbose; bool evictLeafDylibsOnOverflow; std::unordered_map<std::string, unsigned> dylibOrdering; std::unordered_map<std::string, unsigned> dirtyDataSegmentOrdering; std::string loggingPrefix; }; struct MappedMachO { MappedMachO() : mh(nullptr), length(0), isSetUID(false), protectedBySIP(false), sliceFileOffset(0), modTime(0), inode(0) { } MappedMachO(const std::string& path, const dyld3::MachOAnalyzer* p, size_t l, bool isu, bool sip, uint64_t o, uint64_t m, uint64_t i) : runtimePath(path), mh(p), length(l), isSetUID(isu), protectedBySIP(sip), sliceFileOffset(o), modTime(m), inode(i) { } std::string runtimePath; const dyld3::MachOAnalyzer* mh; size_t length; uint64_t isSetUID : 1, protectedBySIP : 1, sliceFileOffset : 62; uint64_t modTime; // only recorded if inodesAreSameAsRuntime uint64_t inode; // only recorded if inodesAreSameAsRuntime }; struct CreateResults { std::string errorMessage; std::set<std::string> warnings; std::set<const dyld3::MachOAnalyzer*> evictions; bool agileSignature = false; std::string cdHashFirst; std::string cdHashSecond; }; struct FileAlias { std::string realPath; std::string aliasPath; }; // This function verifies the set of dylibs that will go into the cache are self contained. That the depend on no dylibs // outset the set. It will call back the loader function to try to find any mising dylibs. static bool verifySelfContained(std::vector<MappedMachO>& dylibsToCache, std::unordered_set<std::string>& badZippered, MappedMachO (^loader)(const std::string& runtimePath), std::vector<std::pair<DyldSharedCache::MappedMachO, std::set<std::string>>>& excluded); // // This function is single threaded and creates a shared cache. The cache file is created in-memory. // // Inputs: // options: various per-platform flags // dylibsToCache: a list of dylibs to include in the cache // otherOsDylibs: a list of other OS dylibs and bundle which should have load info added to the cache // osExecutables: a list of main executables which should have closures created in the cache // // Returns: // On success: // cacheContent: start of the allocated cache buffer which must be vm_deallocated after the caller writes out the buffer. // cacheLength: size of the allocated cache buffer // cdHash: hash of the code directory of the code blob of the created cache // warnings: all warning messsages generated during the creation of the cache // // On failure: // cacheContent: nullptr // errorMessage: the string describing why the cache could not be created // warnings: all warning messsages generated before the failure // static CreateResults create(const CreateOptions& options, const dyld3::closure::FileSystem& fileSystem, const std::vector<MappedMachO>& dylibsToCache, const std::vector<MappedMachO>& otherOsDylibs, const std::vector<MappedMachO>& osExecutables); // // Returns a text "map" file as a big string // std::string mapFile() const; #endif // TARGET_OS_OSX // // Returns the architecture name of the shared cache, e.g. "arm64" // const char* archName() const; // // Returns the platform the cache is for // dyld3::Platform platform() const; // // Iterates over each dylib in the cache // void forEachImage(void (^handler)(const mach_header* mh, const char* installName)) const; // // Searches cache for dylib with specified path // bool hasImagePath(const char* dylibPath, uint32_t& imageIndex) const; // // Path is to a dylib in the cache and this is an optimized cache so that path cannot be overridden // bool hasNonOverridablePath(const char* dylibPath) const; // // Searches cache for dylib with specified mach_header // bool findMachHeaderImageIndex(const mach_header* mh, uint32_t& imageIndex) const; // // Iterates over each dylib in the cache // void forEachImageEntry(void (^handler)(const char* path, uint64_t mTime, uint64_t inode)) const; // // Iterates over each dylib in the cache // const mach_header* getIndexedImageEntry(uint32_t index, uint64_t& mTime, uint64_t& node) const; // // Iterates over each dylib in the cache // void forEachImageTextSegment(void (^handler)(uint64_t loadAddressUnslid, uint64_t textSegmentSize, const uuid_t dylibUUID, const char* installName, bool& stop)) const; // // Iterates over each of the three regions in the cache // void forEachRegion(void (^handler)(const void* content, uint64_t vmAddr, uint64_t size, uint32_t permissions)) const; // // Returns if an address range is in this cache, and if so if in a read-only area // bool inCache(const void* addr, size_t length, bool& readOnly) const; // // returns address the cache would load at if unslid // uint64_t unslidLoadAddress() const; // // returns UUID of cache // void getUUID(uuid_t uuid) const; // // returns the vm size required to map cache // uint64_t mappedSize() const; // // searches cache for pre-built closure for program // const dyld3::closure::LaunchClosure* findClosure(const char* executablePath) const; // // iterates all pre-built closures for program // void forEachLaunchClosure(void (^handler)(const char* executableRuntimePath, const dyld3::closure::LaunchClosure* closure)) const; // // iterates all pre-built Image* for OS dylibs/bundles not in dyld cache // void forEachDlopenImage(void (^handler)(const char* runtimePath, const dyld3::closure::Image* image)) const; // // returns the ImageArray pointer to Images in dyld shared cache // const dyld3::closure::ImageArray* cachedDylibsImageArray() const; // // returns the ImageArray pointer to Images in OS with pre-build dlopen closure // const dyld3::closure::ImageArray* otherOSImageArray() const; // // searches cache for pre-built dlopen closure for OS dylib/bundle // const dyld3::closure::Image* findDlopenOtherImage(const char* path) const; // // Returns the pointer to the slide info for this cache // const dyld_cache_slide_info* slideInfo() const; // // Returns a pointer to the start of the __DATA region in the cache // const uint8_t* dataRegionStart() const; // // Returns a pointer to the shared cache optimized Objective-C data structures // const objc_opt::objc_opt_t* objcOpt() const; // // Returns a pointer to the shared cache optimized Objective-C pointer structures // const void* objcOptPtrs() const; // // returns true if the offset is in the TEXT of some cached dylib and sets *index to the dylib index // bool addressInText(uint32_t cacheOffset, uint32_t* index) const; uint32_t patchableExportCount(uint32_t imageIndex) const; void forEachPatchableExport(uint32_t imageIndex, void (^handler)(uint32_t cacheOffsetOfImpl, const char* exportName)) const; void forEachPatchableUseOfExport(uint32_t imageIndex, uint32_t cacheOffsetOfImpl, void (^handler)(dyld_cache_patchable_location patchLocation)) const; // Helper to get the addend for a patch location since we don't want to put C++ in the shared cache format header static uint64_t getAddend(const dyld_cache_patchable_location& loc) { uint64_t unsingedAddend = loc.addend; int64_t signedAddend = (int64_t)unsingedAddend; signedAddend = (signedAddend << 52) >> 52; return (uint64_t)signedAddend; } // Helper to get the key nam for a patch location since we don't want to put C++ in the shared cache format header static const char* keyName(const dyld_cache_patchable_location& patchLocation) { dyld3::MachOLoaded::ChainedFixupPointerOnDisk dummy; dummy.arm64e.authRebase.auth = 1; dummy.arm64e.authRebase.bind = 0; dummy.arm64e.authRebase.key = patchLocation.key; return dummy.arm64e.keyName(); } #if !(BUILDING_LIBDYLD || BUILDING_DYLD) // MRM map file generator std::string generateJSONMap(const char* disposition) const; // This generates a JSON representation of deep reverse dependency information in the cache. // For each dylib, the output will contain the list of all the other dylibs transitively // dependening on that library. (For example, the entry for libsystem will contain almost // all of the dylibs in the cache ; a very high-level framework such as ARKit will have way // fewer dependents). // This is used by the shared cache ordering script to put "deep" dylibs used by everybody // closer to the center of the cache. std::string generateJSONDependents() const; #endif dyld_cache_header header; private: // Returns a variable of type "const T" which corresponds to the header field with the given unslid address template<typename T> const T getAddrField(uint64_t addr) const; #if !(BUILDING_LIBDYLD || BUILDING_DYLD) void fillMachOAnalyzersMap(std::unordered_map<std::string,dyld3::MachOAnalyzer*> & dylibAnalyzers) const; void computeReverseDependencyMapForDylib(std::unordered_map<std::string, std::set<std::string>> &reverseDependencyMap, const std::unordered_map<std::string,dyld3::MachOAnalyzer*> & dylibAnalyzers, const std::string &loadPath) const; void computeReverseDependencyMap(std::unordered_map<std::string, std::set<std::string>> &reverseDependencyMap) const; void findDependentsRecursively(std::unordered_map<std::string, std::set<std::string>> &transitiveDependents, const std::unordered_map<std::string, std::set<std::string>> &reverseDependencyMap, std::set<std::string> & visited, const std::string &loadPath) const; void computeTransitiveDependents(std::unordered_map<std::string, std::set<std::string>> & transitiveDependents) const; #endif }; #endif /* DyldSharedCache_h */
38.454545
265
0.618239
140cf193eed55e16b02c2b9fcd831384e0908375
577
h
C
catboost/private/libs/algo/approx_delta_calcer_multi.h
jochenater/catboost
de2786fbc633b0d6ea6a23b3862496c6151b95c2
[ "Apache-2.0" ]
6,989
2017-07-18T06:23:18.000Z
2022-03-31T15:58:36.000Z
catboost/private/libs/algo/approx_delta_calcer_multi.h
birichie/catboost
de75c6af12cf490700e76c22072fbdc15b35d679
[ "Apache-2.0" ]
1,978
2017-07-18T09:17:58.000Z
2022-03-31T14:28:43.000Z
catboost/private/libs/algo/approx_delta_calcer_multi.h
birichie/catboost
de75c6af12cf490700e76c22072fbdc15b35d679
[ "Apache-2.0" ]
1,228
2017-07-18T09:03:13.000Z
2022-03-29T05:57:40.000Z
#pragma once #include "fold.h" #include <catboost/private/libs/algo_helpers/online_predictor.h> #include <catboost/private/libs/options/restrictions.h> #include <util/system/types.h> class IDerCalcer; class TLearnContext; namespace NPar { class ILocalExecutor; } void CalcApproxDeltaMulti( const TFold& ff, const TFold::TBodyTail& bt, int leafCount, const IDerCalcer& error, const TVector<TIndexType>& indices, ui64 randomSeed, TLearnContext* ctx, TVector<TVector<double>>* approxDelta, TVector<TVector<double>>* sumLeafValues );
19.896552
64
0.733102
968dc965e0ea2d302728ed466ff959852c64e9a6
890
c
C
Borland/CBuilder5/Source/RTL/source/math/cvtfak.c
TrevorDArcyEvans/DivingMagpieSoftware
7ffcfef653b110e514d5db735d11be0aae9953ec
[ "MIT" ]
1
2021-05-27T10:27:25.000Z
2021-05-27T10:27:25.000Z
Borland/CBuilder5/Source/RTL/source/math/cvtfak.c
TrevorDArcyEvans/Diving-Magpie-Software
7ffcfef653b110e514d5db735d11be0aae9953ec
[ "MIT" ]
null
null
null
Borland/CBuilder5/Source/RTL/source/math/cvtfak.c
TrevorDArcyEvans/Diving-Magpie-Software
7ffcfef653b110e514d5db735d11be0aae9953ec
[ "MIT" ]
null
null
null
/*-----------------------------------------------------------------------* * filename - cvtfak.c * * function(s) * __realcvt - fake floating point conversion *-----------------------------------------------------------------------*/ /* * C/C++ Run Time Library - Version 10.0 * * Copyright (c) 1987, 2000 by Inprise Corporation * All Rights Reserved. * */ /* $Revision: 9.0 $ */ #include <_io.h> #include <string.h> #include <_tchar.h> static void _fakecvt(void) { _ErrorExit("printf : floating point formats not linked"); } static void _fakescan(void) { _ErrorExit("scanf : floating point formats not linked"); } /* Pointers to the conversion and scanning functions. */ void (*_realcvttptr)(void) = _fakecvt; void (*_nextrealtptr)(void) = _fakecvt; void (*_scanttodptr)(void) = _fakescan; void (*_scantrsltptr)(void) = _fakescan;
22.820513
75
0.542697
8c00414be34040b3fd5b228a8a095aaf36ba2e9f
19,719
c
C
cglib/cg-texture-3d.c
rig-project/cglib
c91f8c9f8a7d60c9120624606d22ff26d8799b89
[ "MIT" ]
null
null
null
cglib/cg-texture-3d.c
rig-project/cglib
c91f8c9f8a7d60c9120624606d22ff26d8799b89
[ "MIT" ]
null
null
null
cglib/cg-texture-3d.c
rig-project/cglib
c91f8c9f8a7d60c9120624606d22ff26d8799b89
[ "MIT" ]
null
null
null
/* * CGlib * * A Low-Level GPU Graphics and Utilities API * * Copyright (C) 2010 Intel Corporation. * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation * files (the "Software"), to deal in the Software without * restriction, including without limitation the rights to use, copy, * modify, merge, publish, distribute, sublicense, and/or sell copies * of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be * included in all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. * * Authors: * Neil Roberts <neil@linux.intel.com> */ #include <cglib-config.h> #include "cg-private.h" #include "cg-util.h" #include "cg-texture-private.h" #include "cg-texture-3d-private.h" #include "cg-texture-3d.h" #include "cg-texture-gl-private.h" #include "cg-texture-driver.h" #include "cg-device-private.h" #include "cg-object-private.h" #include "cg-pipeline-private.h" #include "cg-pipeline-opengl-private.h" #include "cg-error-private.h" #include "cg-util-gl-private.h" #include <string.h> #include <math.h> /* These might not be defined on GLES */ #ifndef GL_TEXTURE_3D #define GL_TEXTURE_3D 0x806F #endif #ifndef GL_TEXTURE_WRAP_R #define GL_TEXTURE_WRAP_R 0x8072 #endif static void _cg_texture_3d_free(cg_texture_3d_t *tex_3d); CG_TEXTURE_DEFINE(Texture3D, texture_3d); static const cg_texture_vtable_t cg_texture_3d_vtable; static void _cg_texture_3d_gl_flush_legacy_texobj_wrap_modes(cg_texture_t *tex, GLenum wrap_mode_s, GLenum wrap_mode_t, GLenum wrap_mode_p) { cg_texture_3d_t *tex_3d = CG_TEXTURE_3D(tex); cg_device_t *dev = tex->dev; /* Only set the wrap mode if it's different from the current value to avoid too many GL calls. */ if (tex_3d->gl_legacy_texobj_wrap_mode_s != wrap_mode_s || tex_3d->gl_legacy_texobj_wrap_mode_t != wrap_mode_t || tex_3d->gl_legacy_texobj_wrap_mode_p != wrap_mode_p) { _cg_bind_gl_texture_transient(GL_TEXTURE_3D, tex_3d->gl_texture, false); GE(dev, glTexParameteri(GL_TEXTURE_3D, GL_TEXTURE_WRAP_S, wrap_mode_s)); GE(dev, glTexParameteri(GL_TEXTURE_3D, GL_TEXTURE_WRAP_T, wrap_mode_t)); GE(dev, glTexParameteri(GL_TEXTURE_3D, GL_TEXTURE_WRAP_R, wrap_mode_p)); tex_3d->gl_legacy_texobj_wrap_mode_s = wrap_mode_s; tex_3d->gl_legacy_texobj_wrap_mode_t = wrap_mode_t; tex_3d->gl_legacy_texobj_wrap_mode_p = wrap_mode_p; } } static void _cg_texture_3d_free(cg_texture_3d_t *tex_3d) { cg_texture_t *tex = CG_TEXTURE(tex_3d); if (tex_3d->gl_texture) _cg_delete_gl_texture(tex->dev, tex_3d->gl_texture); /* Chain up */ _cg_texture_free(tex); } static void _cg_texture_3d_set_auto_mipmap(cg_texture_t *tex, bool value) { cg_texture_3d_t *tex_3d = CG_TEXTURE_3D(tex); tex_3d->auto_mipmap = value; } static cg_texture_3d_t * _cg_texture_3d_create_base(cg_device_t *dev, int width, int height, int depth, cg_pixel_format_t internal_format, cg_texture_loader_t *loader) { cg_texture_3d_t *tex_3d = c_new(cg_texture_3d_t, 1); cg_texture_t *tex = CG_TEXTURE(tex_3d); _cg_texture_init(tex, dev, width, height, internal_format, loader, &cg_texture_3d_vtable); tex_3d->gl_texture = 0; tex_3d->depth = depth; tex_3d->mipmaps_dirty = true; tex_3d->auto_mipmap = true; /* We default to GL_LINEAR for both filters */ tex_3d->gl_legacy_texobj_min_filter = GL_LINEAR; tex_3d->gl_legacy_texobj_mag_filter = GL_LINEAR; /* Wrap mode not yet set */ tex_3d->gl_legacy_texobj_wrap_mode_s = false; tex_3d->gl_legacy_texobj_wrap_mode_t = false; tex_3d->gl_legacy_texobj_wrap_mode_p = false; return _cg_texture_3d_object_new(tex_3d); } cg_texture_3d_t * cg_texture_3d_new_with_size(cg_device_t *dev, int width, int height, int depth) { cg_texture_loader_t *loader = _cg_texture_create_loader(dev); loader->src_type = CG_TEXTURE_SOURCE_TYPE_SIZED; loader->src.sized.width = width; loader->src.sized.height = height; loader->src.sized.depth = depth; return _cg_texture_3d_create_base(dev, width, height, depth, CG_PIXEL_FORMAT_RGBA_8888_PRE, loader); } cg_texture_3d_t * cg_texture_3d_new_from_bitmap(cg_bitmap_t *bmp, int height, int depth) { cg_texture_loader_t *loader; c_return_val_if_fail(bmp, NULL); loader = _cg_texture_create_loader(bmp->dev); loader->src_type = CG_TEXTURE_SOURCE_TYPE_BITMAP; loader->src.bitmap.bitmap = cg_object_ref(bmp); loader->src.bitmap.height = height; loader->src.bitmap.depth = depth; loader->src.bitmap.can_convert_in_place = false; /* TODO add api for this */ return _cg_texture_3d_create_base(_cg_bitmap_get_context(bmp), cg_bitmap_get_width(bmp), height, depth, cg_bitmap_get_format(bmp), loader); } cg_texture_3d_t * cg_texture_3d_new_from_data(cg_device_t *dev, int width, int height, int depth, cg_pixel_format_t format, int rowstride, int image_stride, const uint8_t *data, cg_error_t **error) { cg_bitmap_t *bitmap; cg_texture_3d_t *ret; c_return_val_if_fail(data, NULL); c_return_val_if_fail(format != CG_PIXEL_FORMAT_ANY, NULL); /* Rowstride from width if not given */ if (rowstride == 0) rowstride = width * _cg_pixel_format_get_bytes_per_pixel(format); /* Image stride from height and rowstride if not given */ if (image_stride == 0) image_stride = height * rowstride; if (image_stride < rowstride * height) return NULL; /* GL doesn't support uploading when the image_stride isn't a multiple of the rowstride. If this happens we'll just pack the image into a new bitmap. The documentation for this function recommends avoiding this situation. */ if (image_stride % rowstride != 0) { uint8_t *bmp_data; int bmp_rowstride; int z, y; bitmap = _cg_bitmap_new_with_malloc_buffer(dev, width, depth * height, format, error); if (!bitmap) return NULL; bmp_data = _cg_bitmap_map( bitmap, CG_BUFFER_ACCESS_WRITE, CG_BUFFER_MAP_HINT_DISCARD, error); if (bmp_data == NULL) { cg_object_unref(bitmap); return NULL; } bmp_rowstride = cg_bitmap_get_rowstride(bitmap); /* Copy all of the images in */ for (z = 0; z < depth; z++) for (y = 0; y < height; y++) memcpy(bmp_data + (z * bmp_rowstride * height + bmp_rowstride * y), data + z * image_stride + rowstride * y, bmp_rowstride); _cg_bitmap_unmap(bitmap); } else bitmap = cg_bitmap_new_for_data(dev, width, image_stride / rowstride * depth, format, rowstride, (uint8_t *)data); ret = cg_texture_3d_new_from_bitmap(bitmap, height, depth); cg_object_unref(bitmap); if (ret && !cg_texture_allocate(CG_TEXTURE(ret), error)) { cg_object_unref(ret); return NULL; } return ret; } static bool _cg_texture_3d_can_create(cg_device_t *dev, int width, int height, int depth, cg_pixel_format_t internal_format, cg_error_t **error) { GLenum gl_intformat; GLenum gl_type; /* This should only happen on GLES */ if (!cg_has_feature(dev, CG_FEATURE_ID_TEXTURE_3D)) { _cg_set_error(error, CG_SYSTEM_ERROR, CG_SYSTEM_ERROR_UNSUPPORTED, "3D textures are not supported by the GPU"); return false; } /* If NPOT textures aren't supported then the size must be a power of two */ if (!cg_has_feature(dev, CG_FEATURE_ID_TEXTURE_NPOT) && (!_cg_util_is_pot(width) || !_cg_util_is_pot(height) || !_cg_util_is_pot(depth))) { _cg_set_error(error, CG_SYSTEM_ERROR, CG_SYSTEM_ERROR_UNSUPPORTED, "A non-power-of-two size was requested but this is not " "supported by the GPU"); return false; } dev->driver_vtable->pixel_format_to_gl(dev, internal_format, &gl_intformat, NULL, &gl_type); /* Check that the driver can create a texture with that size */ if (!dev->texture_driver->size_supported_3d(dev, GL_TEXTURE_3D, gl_intformat, gl_type, width, height, depth)) { _cg_set_error(error, CG_SYSTEM_ERROR, CG_SYSTEM_ERROR_UNSUPPORTED, "The requested dimensions are not supported by the GPU"); return false; } return true; } static bool allocate_with_size(cg_texture_3d_t *tex_3d, cg_texture_loader_t *loader, cg_error_t **error) { cg_texture_t *tex = CG_TEXTURE(tex_3d); cg_device_t *dev = tex->dev; cg_pixel_format_t internal_format; int width = loader->src.sized.width; int height = loader->src.sized.height; int depth = loader->src.sized.depth; GLenum gl_intformat; GLenum gl_format; GLenum gl_type; GLenum gl_error; GLenum gl_texture; internal_format = _cg_texture_determine_internal_format(tex, CG_PIXEL_FORMAT_ANY); if (!_cg_texture_3d_can_create(dev, width, height, depth, internal_format, error)) return false; dev->driver_vtable->pixel_format_to_gl(dev, internal_format, &gl_intformat, &gl_format, &gl_type); gl_texture = dev->texture_driver->gen(dev, GL_TEXTURE_3D, internal_format); _cg_bind_gl_texture_transient(GL_TEXTURE_3D, gl_texture, false); /* Clear any GL errors */ while ((gl_error = dev->glGetError()) != GL_NO_ERROR) ; dev->glTexImage3D(GL_TEXTURE_3D, 0, gl_intformat, width, height, depth, 0, gl_format, gl_type, NULL); if (_cg_gl_util_catch_out_of_memory(dev, error)) { GE(dev, glDeleteTextures(1, &gl_texture)); return false; } tex_3d->gl_texture = gl_texture; tex_3d->gl_format = gl_intformat; tex_3d->depth = depth; tex_3d->internal_format = internal_format; _cg_texture_set_allocated(tex, internal_format, width, height); return true; } static bool allocate_from_bitmap(cg_texture_3d_t *tex_3d, cg_texture_loader_t *loader, cg_error_t **error) { cg_texture_t *tex = CG_TEXTURE(tex_3d); cg_device_t *dev = tex->dev; cg_pixel_format_t internal_format; cg_bitmap_t *bmp = loader->src.bitmap.bitmap; int bmp_width = cg_bitmap_get_width(bmp); int height = loader->src.bitmap.height; int depth = loader->src.bitmap.depth; cg_pixel_format_t bmp_format = cg_bitmap_get_format(bmp); bool can_convert_in_place = loader->src.bitmap.can_convert_in_place; cg_bitmap_t *upload_bmp; cg_pixel_format_t upload_format; GLenum gl_intformat; GLenum gl_format; GLenum gl_type; internal_format = _cg_texture_determine_internal_format(tex, bmp_format); if (!_cg_texture_3d_can_create(dev, bmp_width, height, depth, internal_format, error)) return false; upload_bmp = _cg_bitmap_convert_for_upload( bmp, internal_format, can_convert_in_place, error); if (upload_bmp == NULL) return false; upload_format = cg_bitmap_get_format(upload_bmp); dev->driver_vtable->pixel_format_to_gl(dev, upload_format, NULL, /* internal format */ &gl_format, &gl_type); dev->driver_vtable->pixel_format_to_gl(dev, internal_format, &gl_intformat, NULL, NULL); tex_3d->gl_texture = dev->texture_driver->gen(dev, GL_TEXTURE_3D, internal_format); if (!dev->texture_driver->upload_to_gl_3d(dev, GL_TEXTURE_3D, tex_3d->gl_texture, false, /* is_foreign */ height, depth, upload_bmp, gl_intformat, gl_format, gl_type, error)) { cg_object_unref(upload_bmp); return false; } tex_3d->gl_format = gl_intformat; cg_object_unref(upload_bmp); tex_3d->depth = loader->src.bitmap.depth; tex_3d->internal_format = internal_format; _cg_texture_set_allocated( tex, internal_format, bmp_width, loader->src.bitmap.height); return true; } static bool _cg_texture_3d_allocate(cg_texture_t *tex, cg_error_t **error) { cg_texture_3d_t *tex_3d = CG_TEXTURE_3D(tex); cg_texture_loader_t *loader = tex->loader; c_return_val_if_fail(loader, false); switch (loader->src_type) { case CG_TEXTURE_SOURCE_TYPE_SIZED: return allocate_with_size(tex_3d, loader, error); case CG_TEXTURE_SOURCE_TYPE_BITMAP: return allocate_from_bitmap(tex_3d, loader, error); default: break; } c_return_val_if_reached(false); } static bool _cg_texture_3d_is_sliced(cg_texture_t *tex) { return false; } static bool _cg_texture_3d_can_hardware_repeat(cg_texture_t *tex) { return true; } static bool _cg_texture_3d_get_gl_texture(cg_texture_t *tex, GLuint *out_gl_handle, GLenum *out_gl_target) { cg_texture_3d_t *tex_3d = CG_TEXTURE_3D(tex); if (out_gl_handle) *out_gl_handle = tex_3d->gl_texture; if (out_gl_target) *out_gl_target = GL_TEXTURE_3D; return true; } static void _cg_texture_3d_gl_flush_legacy_texobj_filters(cg_texture_t *tex, GLenum min_filter, GLenum mag_filter) { cg_texture_3d_t *tex_3d = CG_TEXTURE_3D(tex); cg_device_t *dev = tex->dev; if (min_filter == tex_3d->gl_legacy_texobj_min_filter && mag_filter == tex_3d->gl_legacy_texobj_mag_filter) return; /* Store new values */ tex_3d->gl_legacy_texobj_min_filter = min_filter; tex_3d->gl_legacy_texobj_mag_filter = mag_filter; /* Apply new filters to the texture */ _cg_bind_gl_texture_transient(GL_TEXTURE_3D, tex_3d->gl_texture, false); GE(dev, glTexParameteri(GL_TEXTURE_3D, GL_TEXTURE_MAG_FILTER, mag_filter)); GE(dev, glTexParameteri(GL_TEXTURE_3D, GL_TEXTURE_MIN_FILTER, min_filter)); } static void _cg_texture_3d_pre_paint(cg_texture_t *tex, cg_texture_pre_paint_flags_t flags) { cg_texture_3d_t *tex_3d = CG_TEXTURE_3D(tex); /* Only update if the mipmaps are dirty */ if ((flags & CG_TEXTURE_NEEDS_MIPMAP) && tex_3d->auto_mipmap && tex_3d->mipmaps_dirty) { _cg_texture_gl_generate_mipmaps(tex); tex_3d->mipmaps_dirty = false; } } static bool _cg_texture_3d_set_region(cg_texture_t *tex, int src_x, int src_y, int dst_x, int dst_y, int dst_width, int dst_height, int level, cg_bitmap_t *bmp, cg_error_t **error) { /* This function doesn't really make sense for 3D textures because it can't specify which image to upload to */ _cg_set_error(error, CG_SYSTEM_ERROR, CG_SYSTEM_ERROR_UNSUPPORTED, "Setting a 2D region on a 3D texture isn't " "currently supported"); return false; } static int _cg_texture_3d_get_data(cg_texture_t *tex, cg_pixel_format_t format, int rowstride, uint8_t *data) { /* FIXME: we could probably implement this by assuming the data is big enough to hold all of the images and that there is no stride between the images. However it would be better to have an API that can provide an image stride and this function probably isn't particularly useful anyway so for now it just reports failure */ return 0; } static cg_pixel_format_t _cg_texture_3d_get_format(cg_texture_t *tex) { return CG_TEXTURE_3D(tex)->internal_format; } static GLenum _cg_texture_3d_get_gl_format(cg_texture_t *tex) { return CG_TEXTURE_3D(tex)->gl_format; } static cg_texture_type_t _cg_texture_3d_get_type(cg_texture_t *tex) { return CG_TEXTURE_TYPE_3D; } static const cg_texture_vtable_t cg_texture_3d_vtable = { true, /* primitive */ _cg_texture_3d_allocate, _cg_texture_3d_set_region, _cg_texture_3d_get_data, NULL, /* foreach_sub_texture_in_region */ _cg_texture_3d_is_sliced, _cg_texture_3d_can_hardware_repeat, _cg_texture_3d_get_gl_texture, _cg_texture_3d_gl_flush_legacy_texobj_filters, _cg_texture_3d_pre_paint, _cg_texture_3d_gl_flush_legacy_texobj_wrap_modes, _cg_texture_3d_get_format, _cg_texture_3d_get_gl_format, _cg_texture_3d_get_type, NULL, /* is_foreign */ _cg_texture_3d_set_auto_mipmap };
32.485997
115
0.604037
530e34a91719350e6a241f15919e6f88d945ebe1
117
h
C
timer.h
hafta/ipc-unblock-tests
2b668a7c2c570a5733abecb6827618578db2e863
[ "MIT" ]
1
2019-11-07T17:11:36.000Z
2019-11-07T17:11:36.000Z
timer.h
hafta/ipc-unblock-tests
2b668a7c2c570a5733abecb6827618578db2e863
[ "MIT" ]
null
null
null
timer.h
hafta/ipc-unblock-tests
2b668a7c2c570a5733abecb6827618578db2e863
[ "MIT" ]
null
null
null
#include <stdint.h> void timer_init(void); uint64_t tick(void); uint64_t tick_delta_to_nanoseconds(uint64_t delta);
19.5
51
0.803419
8897fa2aa60abe877f9dee1911ce57ac644b8adf
2,441
h
C
Sources/functions.h
hjkuijf/MidsagittalApp
aa067e536df842b8ceafed787f042aa4a6ebd117
[ "Apache-2.0" ]
1
2020-07-10T13:52:11.000Z
2020-07-10T13:52:11.000Z
Sources/functions.h
hjkuijf/MidsagittalApp
aa067e536df842b8ceafed787f042aa4a6ebd117
[ "Apache-2.0" ]
1
2019-09-08T05:09:52.000Z
2019-10-08T10:36:27.000Z
Sources/functions.h
hjkuijf/MidsagittalApp
aa067e536df842b8ceafed787f042aa4a6ebd117
[ "Apache-2.0" ]
3
2019-09-08T04:34:12.000Z
2021-04-08T07:31:36.000Z
#ifndef __FUNCTIONS_H__ #define __FUNCTIONS_H__ // Local includes #include "librarySystem.h" #include <vector> // ML includes #include <mlAlgorithmModule.h> //! Generate a histogram template<class DATATYPE> void histogram(const ml::TSubImage<DATATYPE>& image, std::vector<MLuint>& histogram, const MLldouble& min, const MLldouble& max, const MLuint& bins, const bool& append = false) { if (!append) { histogram.clear(); histogram.resize(bins, 0); } const ml::SubImageBox box(image.getBoxFromImageExtent()); ml::ImageVector p = box.v1; for (p.z = box.v1.z; p.z <= box.v2.z; ++p.z) { p.y = box.v1.y; // Get pointer to the row start of the output subimage. const DATATYPE *inVoxel = image.getSubImagePointer(p); const MLint rowEnd = box.v2.y; for ( ; p.y <= rowEnd; ++p.y, ++inVoxel) { histogram[MLuint(MLdouble(*inVoxel - min) * bins / MLdouble(max - min + ML_FLOAT_EPSILON))]++; } } } //! Generate a histogram template<class DATATYPE> MLuint histogram(const ml::TSubImage<DATATYPE>& image, const ml::TSubImage<DATATYPE>& mask, std::vector<MLuint>& histogram, const MLldouble& min, const MLldouble& max, const MLuint& bins, const bool& append = false) { if (!append) { histogram.clear(); histogram.resize(bins, 0); } const ml::SubImageBox box(image.getBoxFromImageExtent()); MLuint numberOfPixels(0); ml::ImageVector p = box.v1; for (p.z = box.v1.z; p.z <= box.v2.z; ++p.z) { p.y = box.v1.y; // Get pointer to the row start of the output subimage. const DATATYPE *inVoxel = image.getSubImagePointer(p); const DATATYPE *maskVoxel = mask.getSubImagePointer(p); const MLint rowEnd = box.v2.y; for ( ; p.y <= rowEnd; ++p.y, ++inVoxel, ++maskVoxel ) { if (*maskVoxel != 0) { histogram[MLuint(MLldouble(*inVoxel - min) * bins / MLldouble(max - min + ML_FLOAT_EPSILON))]++; ++numberOfPixels; } } } return numberOfPixels; } //! Normalize a histogram to become a probability distribution void normalize(const std::vector<MLuint>& histogram, std::vector<MLdouble>& probability, const MLuint& numberOfPixels); //! Compute the Kullback-Leibler distance between two probability distributions MLdouble kullbackLeibler(const std::vector<MLdouble> &p, const std::vector<MLdouble> &q); //! Transform a plane with the matrix ml::Plane transformPlane(const ml::Plane& inputPlane, const ml::Matrix4& matrix); #endif
32.118421
215
0.682917
0038f73a26b9ece4964fa012a0480218334915c7
5,001
h
C
include/am/vsynonym/VTrie.h
izenecloud/izenelib
9d5958100e2ce763fc75f27217adf982d7c9d902
[ "Apache-2.0" ]
31
2015-03-03T19:13:42.000Z
2020-09-03T08:11:56.000Z
include/am/vsynonym/VTrie.h
izenecloud/izenelib
9d5958100e2ce763fc75f27217adf982d7c9d902
[ "Apache-2.0" ]
1
2016-12-24T00:12:11.000Z
2016-12-24T00:12:11.000Z
include/am/vsynonym/VTrie.h
izenecloud/izenelib
9d5958100e2ce763fc75f27217adf982d7c9d902
[ "Apache-2.0" ]
8
2015-09-06T01:55:21.000Z
2021-12-20T02:16:13.000Z
/** * \file VTrie.h * \author vernkin * \brief hold the VTrie and the VTrieNode */ #include <string.h> #include <vector> #include <iostream> #include <types.h> NS_IZENELIB_AM_BEGIN using namespace std; #ifndef _VTRIE_H #define _VTRIE_H #define VTPTR_L 4 #define VALUE_L 4 /** Length of the VTrie Entry, INT_LEN+1 */ #define VTENTRY_L 5 /** Type of the VTrie pointer */ typedef uint32_t vtptr_t; /** max length of the same path */ #define MAX_SAMEP_LEN 256 /** number of the slots in the VTrie keys */ #define VTKEY_NUM 256 #define MIN_REMAIN 3072 #ifndef INCRE_SIZE #define INCRE_SIZE 204800 #endif /** length of VTrie's child status byte */ #define VTCHILDS_L 1 /** length of VTrie's same path status byte*/ #define VTSAMEPS_L 1 /* Conversion table for VTKEY_NUM numerical code */ extern uint8_t VTRIE_CODE[]; /** * \brief The node of the VTrie * * VTrieNode hold a int value and a bool attribute which indicates whether has * the synonyms with the same prefix. * * \author vernkin */ class VTrieNode{ public: /** * Default Constructor */ VTrieNode(); /** * Assign value to the node of VTrie, And value is over 0. * Almost, the value(data) may be a index of other data structure. * \param pData new data */ void setData(int pData); /** * Get the value of the node * \return value of the node */ int getData(); /** * Whether more long string whose prefix is the query exists in trie * structure. * \return true if more string with same prefix */ bool hasMoreLong(); /** * see hasMoreLong() * \param pMoreLong new more long */ void setMoreLong(bool pMoreLong); /** * Reset all the value to initial state. */ void init(); friend std::ostream& operator << ( std::ostream& sout, VTrieNode& node ); public: /** the integer value */ int data; /** the state of the node */ uint16_t state; /** the offset in the data array of the VTrie */ vtptr_t offset; /** whethe has synonyms with the same prefix */ bool moreLong; }; /** * \brief VTrie is a variant of the Radix Tree. * * While the Radix Tree is a space-optimized standard trie, the VTrie is a * space-optimized of the Radix Tree. * * \author vernkin */ class VTrie{ public: VTrie(); ~VTrie(); /** * If insert failed, return 0, otherwise any value bigger than 0 * And the information of a current trie node is set to node parameter. * * \param key the key * \param node the node to stote the information * \return return 0 if insert fails */ int insert( const char* key, VTrieNode* node ); /** * Optimize the data structure of the VTrie, it makes querying * faster and use less memory. */ void optimize(); /** * If string is not found, return 0, otherwise any value bigger than 0. * And the information of a searched trie node is set to node parameter. * \param key the key * \param node the node to stote the information * \return return 0 if search fails */ int search( const char* key, VTrieNode* node); /** * The function of this method is to iterate trie node by each character. * Parameter (VTrieNode*)node is including current node state. * \param ch specific character * \param node the last VTrieNode * \return If following node does not exist, return value is 0, * other wise bigger than 0. */ int find( char ch, VTrieNode* node ); /** * Get the size of the structure */ size_t size(); /** * Clear the VTrie * \param releaseData whether release allocated data */ void clear( bool releaseData = false ); private: /** initialize the VTrie and add assert statement*/ void init(); /** * ensure the length of the data */ void ensureDataLength(size_t keyLen); /** * return the ending pointer (exclude that location) */ uint8_t* optimize(uint8_t* nData, uint8_t* oData, uint8_t* nRoot, uint8_t* oRoot); /** * append the leaf node to the end of the data_ */ inline void appendLeafNode(const char* key, VTrieNode* node); /** * Exclude same path status byte * this method would update endPtr_ */ inline void copyLeafNodeValue(uint8_t* dataPtr, const char* key, VTrieNode* node); /** * Get the minimum mod value of the children */ inline uint8_t getModMinSize(const vector<int>& vec); inline vtptr_t resolveConfilct(uint8_t* nodeStart, const char* key, VTrieNode* node); void printBytes(uint8_t* start, size_t num); private: /** uint8_t array to store the trie */ uint8_t* data_; /** ending used pointer in data_ */ uint8_t* endPtr_; /** Bytes have been wasted */ size_t wastedBytes_; /** current data size */ size_t curDataSize_; }; NS_IZENELIB_AM_END #endif /* _VTRIE_H */
22.226667
89
0.639672
29cdaa2a57599fd4dc2ae5f13a8f0c3c6b068e02
8,663
c
C
source/pkgsrc/devel/bmake/files/sigcompat.c
Scottx86-64/dotfiles-1
51004b1e2b032664cce6b553d2052757c286087d
[ "Unlicense" ]
1
2021-11-20T22:46:39.000Z
2021-11-20T22:46:39.000Z
source/pkgsrc/devel/bmake/files/sigcompat.c
Scottx86-64/dotfiles-1
51004b1e2b032664cce6b553d2052757c286087d
[ "Unlicense" ]
null
null
null
source/pkgsrc/devel/bmake/files/sigcompat.c
Scottx86-64/dotfiles-1
51004b1e2b032664cce6b553d2052757c286087d
[ "Unlicense" ]
null
null
null
/* * NAME: * sigcompat - BSD compat signals via POSIX * * SYNOPSIS: * void (*signal(int "sig", void (*"handler")(int)))(int); * int sigsetmask(int "mask"); * int sigblock(int "mask"); * int sigpause(int "mask"); * int sigvec(int "signo", struct sigvec *"sv", struct sigvec *"osv"); * * DESCRIPTION: * These implement the old BSD routines via the POSIX equivalents. * This module can be used to provide the missing routines, or if * 'FORCE_POSIX_SIGNALS' is defined, force use of these. * * Note that signal() is identical to my Signal() routine except * for checking for recursion. Within libsig, signal() just * calls Signal(). * * BUGS: * This package assumes POSIX signal handling is available and * NOT implemeneted using these routines. To be safe, we check * for recursion and abort(3) if detected. * * Sadly, on some systems, sigset_t is an array, and we cannot * test for this via #if sizeof(sigset_t) ..., so unless * 'SIGSET_T_INT' is defined, we have to assume the worst and use * memcpy(3) to handle args and return values. * * HISTORY: * These routines originate from BSD, and are derrived from the * NetBSD 1.1 implementation. They have been seriously hacked to * make them portable to other systems. * * AUTHOR: * Simon J. Gerraty <sjg@crufty.net> */ /* * @(#)Copyright (c) 1994, Simon J. Gerraty. * * This is free software. It comes with NO WARRANTY. * Permission to use, modify and distribute this source code * is granted subject to the following conditions. * 1/ that the above copyright notice and this notice * are preserved in all copies and that due credit be given * to the author. * 2/ that any changes to this code are clearly commented * as such so that the author does not get blamed for bugs * other than his own. * * Please send copies of changes and bug-fixes to: * sjg@crufty.net */ /* * Copyright (c) 1989 The Regents of the University of California. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. All advertising materials mentioning features or use of this software * must display the following acknowledgement: * This product includes software developed by the University of * California, Berkeley and its contributors. * 4. Neither the name of the University nor the names of its contributors * may be used to endorse or promote products derived from this software * without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. */ #ifdef HAVE_CONFIG_H # include "config.h" #endif #include <signal.h> #ifdef HAVE_UNISTD_H #include <unistd.h> #endif #if defined(sun) && !(defined(__svr4__) || defined(__SVR4)) # define NO_SIGCOMPAT #endif #if defined(__MINT__) # define NO_SIGCOMPAT #endif #if !defined(NO_SIGCOMPAT) && (defined(HAVE_SIGACTION) || defined(SA_NOCLDSTOP)) #if defined(LIBC_SCCS) && !defined(lint) /*static char *sccsid = "from: @(#)sigcompat.c 5.3 (Berkeley) 2/24/91";*/ static char *rcsid = "$Id: sigcompat.c,v 1.8 2020/05/24 21:10:17 nia Exp $"; #endif /* LIBC_SCCS and not lint */ #undef signal #include <stdio.h> #include <string.h> #include <sys/param.h> #include <sys/cdefs.h> #include "assert.h" #ifndef ASSERT # define ASSERT assert #endif #ifdef NDEBUG # define _DBUG(x) #else # define _DBUG(x) x #endif #ifndef SA_RESTART # define SA_RESTART 2 #endif #ifndef SV_INTERRUPT # define SV_INTERRUPT SA_RESTART #endif #ifndef MASK_T # if defined(__hpux__) || defined(__hpux) # define MASK_T long # else # define MASK_T int # endif #endif /* I just hate HPsUX */ #if (defined(__HPUX_VERSION) && __HPUX_VERSION > 9) || defined(__hpux) # define PAUSE_MASK_T int #else # define PAUSE_MASK_T MASK_T #endif #ifndef SIG_HDLR # define SIG_HDLR void #endif #ifdef FORCE_POSIX_SIGNALS #if !(defined(libsig) || defined(libsjg)) /* * This little block is almost identical to Signal(), * and make this module standalone. * We don't use it in libsig by default, as some apps might use both * and expect _SignalFlags to be used by both. */ #ifndef SIGNAL_FLAGS # define SIGNAL_FLAGS 0 /* no auto-restart */ #endif int _signalFlags = SIGNAL_FLAGS; SIG_HDLR(*signal(int sig, SIG_HDLR(*handler)(int)))(int) { _DBUG(static int depth_signal = 0); struct sigaction act, oact; int n; _DBUG(++depth_signal); ASSERT(depth_signal < 2); act.sa_handler = handler; sigemptyset(&act.sa_mask); act.sa_flags = _signalFlags; n = sigaction(sig, &act, &oact); _DBUG(--depth_signal); if (n < 0) return (SIG_ERR); return (oact.sa_handler); } #else SIG_HDLR(*signal(int sig, SIG_HDLR(*handler)(int)))(int) { extern SIG_HDLR(*Signal(int, void (*)(int)))(int); _DBUG(static int depth_signal = 0); SIG_HDLR(*old) __P((int)); _DBUG(++depth_signal); ASSERT(depth_signal < 2); old = Signal(sig, handler); _DBUG(--depth_signal); return old; } #endif #endif /* * on some systems, sigset_t is an array... * it would be nicer if we could do * #if sizeof(sigset_t) > sizeof(MASK_T) */ #ifdef SIGSET_T_INT # define ss2m(ss) (MASK_T) *(ss) # define m2ss(ss, m) *ss = (sigset_t) *(m) #else static MASK_T ss2m(sigset_t *ss) { MASK_T ma[(sizeof(sigset_t) / sizeof(MASK_T)) + 1]; memcpy((char *) ma, (char *) ss, sizeof(sigset_t)); return ma[0]; } static void m2ss(sigset_t *ss, MASK_T *m) { if (sizeof(sigset_t) > sizeof(MASK_T)) memset((char *) ss, 0, sizeof(sigset_t)); memcpy((char *) ss, (char *) m, sizeof(MASK_T)); } #endif #if !defined(HAVE_SIGSETMASK) || defined(FORCE_POSIX_SIGNALS) MASK_T sigsetmask(MASK_T mask) { _DBUG(static int depth_sigsetmask = 0); sigset_t m, omask; int n; _DBUG(++depth_sigsetmask); ASSERT(depth_sigsetmask < 2); m2ss(&m, &mask); n = sigprocmask(SIG_SETMASK, (sigset_t *) & m, (sigset_t *) & omask); _DBUG(--depth_sigsetmask); if (n) return (n); return ss2m(&omask); } MASK_T sigblock(MASK_T mask) { _DBUG(static int depth_sigblock = 0); sigset_t m, omask; int n; _DBUG(++depth_sigblock); ASSERT(depth_sigblock < 2); if (mask) m2ss(&m, &mask); n = sigprocmask(SIG_BLOCK, (sigset_t *) ((mask) ? &m : 0), (sigset_t *) & omask); _DBUG(--depth_sigblock); if (n) return (n); return ss2m(&omask); } #undef sigpause /* Linux at least */ PAUSE_MASK_T sigpause(PAUSE_MASK_T mask) { _DBUG(static int depth_sigpause = 0); sigset_t m; PAUSE_MASK_T n; _DBUG(++depth_sigpause); ASSERT(depth_sigpause < 2); m2ss(&m, &mask); n = sigsuspend(&m); _DBUG(--depth_sigpause); return n; } #endif #if defined(HAVE_SIGVEC) && defined(FORCE_POSIX_SIGNALS) int sigvec(int signo, struct sigvec *sv, struct sigvec *osv) { _DBUG(static int depth_sigvec = 0); int ret; struct sigvec nsv; _DBUG(++depth_sigvec); ASSERT(depth_sigvec < 2); if (sv) { nsv = *sv; nsv.sv_flags ^= SV_INTERRUPT; /* !SA_INTERRUPT */ } ret = sigaction(signo, sv ? (struct sigaction *) & nsv : NULL, (struct sigaction *) osv); _DBUG(--depth_sigvec); if (ret == 0 && osv) osv->sv_flags ^= SV_INTERRUPT; /* !SA_INTERRUPT */ return (ret); } #endif #ifdef MAIN # ifndef sigmask # define sigmask(n) ((unsigned int)1 << (((n) - 1) & (32 - 1))) # endif int main(int argc, char *argv[]) { MASK_T old = 0; printf("expect: old=0,old=2\n"); fflush(stdout); signal(SIGQUIT, SIG_IGN); old = sigblock(sigmask(SIGINT)); printf("old=%d,", old); old = sigsetmask(sigmask(SIGALRM)); printf("old=%d\n", old); } #endif #endif
26.57362
82
0.695948
5ba95943736d2377e92149b13db0f6c0d4a3504e
480
h
C
src/RCE/Utility/rce/utility/RMathUtility.h
Timie/PositionEstimationAccuracy
9e88597c271ccc2a1a8442db6fa62236b7178296
[ "MIT" ]
1
2019-05-15T09:46:40.000Z
2019-05-15T09:46:40.000Z
src/RCE/Utility/rce/utility/RMathUtility.h
Timie/PositionEstimationAccuracy
9e88597c271ccc2a1a8442db6fa62236b7178296
[ "MIT" ]
null
null
null
src/RCE/Utility/rce/utility/RMathUtility.h
Timie/PositionEstimationAccuracy
9e88597c271ccc2a1a8442db6fa62236b7178296
[ "MIT" ]
null
null
null
#ifndef RCE_UTILITY_RMATHUTILITY_H #define RCE_UTILITY_RMATHUTILITY_H namespace rce { namespace utility { double generateRandom(double lowBound, double upBound); // works on positive values long long int roundToOdd(double value); // class RMathUtility // { // public: // RMathUtility(); // }; } // namespace utility } // namespace rce #endif // RCE_UTILITY_RMATHUTILITY_H
20
47
0.595833
6f62566170d77a3a4ee4e975ffb890b651a08e79
365
h
C
src/wallet/rpcwalletext.h
frolosofsky/unit-e
d3d12508b915986841bd19c4dee9e50dd662a112
[ "MIT" ]
36
2019-04-17T18:58:51.000Z
2022-01-18T12:16:27.000Z
src/wallet/rpcwalletext.h
frolosofsky/unit-e
d3d12508b915986841bd19c4dee9e50dd662a112
[ "MIT" ]
109
2019-04-17T17:19:45.000Z
2019-06-19T15:16:37.000Z
src/wallet/rpcwalletext.h
frolosofsky/unit-e
d3d12508b915986841bd19c4dee9e50dd662a112
[ "MIT" ]
16
2019-04-17T17:35:42.000Z
2020-01-09T17:51:05.000Z
// Copyright (c) 2017 The Particl developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef UNITE_WALLET_RPCWALLETEXT_H #define UNITE_WALLET_RPCWALLETEXT_H class CRPCTable; void RegisterWalletextRPCCommands(CRPCTable &t); #endif // UNITE_WALLET_RPCWALLETEXT_H
28.076923
70
0.813699
6f8c05e926400aeda46515f9e945dc12254a101c
4,262
h
C
CesiumGeospatial/include/CesiumGeospatial/Projection.h
yieryi/cesium-native
9493b9baebea601bd00d8139f2000e41ba4505ef
[ "Apache-2.0" ]
154
2021-03-30T14:08:39.000Z
2022-03-30T00:01:43.000Z
CesiumGeospatial/include/CesiumGeospatial/Projection.h
yieryi/cesium-native
9493b9baebea601bd00d8139f2000e41ba4505ef
[ "Apache-2.0" ]
256
2021-03-30T18:12:28.000Z
2022-03-31T23:44:21.000Z
CesiumGeospatial/include/CesiumGeospatial/Projection.h
yieryi/cesium-native
9493b9baebea601bd00d8139f2000e41ba4505ef
[ "Apache-2.0" ]
66
2021-03-30T15:14:32.000Z
2022-03-31T13:38:41.000Z
#pragma once #include "BoundingRegion.h" #include "CesiumGeometry/AxisAlignedBox.h" #include "CesiumGeometry/Rectangle.h" #include "GeographicProjection.h" #include "WebMercatorProjection.h" #include <glm/vec2.hpp> #include <variant> namespace CesiumGeospatial { /** * @brief A projection. * * This is a `std::variant` of different types of map projections that * can convert between projected map coordinates and Cartographic coordinates. * * @see GeographicProjection * @see WebMercatorProjection */ typedef std::variant<GeographicProjection, WebMercatorProjection> Projection; /** * @brief Projects a position on the globe using the given {@link Projection}. * * @param projection The projection. * @param position The {@link Cartographic} position. * @return The coordinates of the projected point, in the coordinate system * of the given projection. */ glm::dvec3 projectPosition(const Projection& projection, const Cartographic& position); /** * @brief Unprojects a position from the globe using the given * {@link Projection}. * * @param projection The projection. * @param position The coordinates of the point, in meters. * @return The {@link Cartographic} position. */ Cartographic unprojectPosition(const Projection& projection, const glm::dvec3& position); /** * @brief Projects a rectangle on the globe by simply projecting its four * corners. * * This is only accurate when the globe rectangle is still a rectangle after * projecting, which is true for {@link WebMercatorProjection} but not * necessarily true for other projections. * * @param projection The projection. * @param rectangle The globe rectangle to be projected. * @return The projected rectangle. */ CesiumGeometry::Rectangle projectRectangleSimple( const Projection& projection, const GlobeRectangle& rectangle); /** * @brief Unprojects a rectangle to the globe by simply unprojecting its four * corners. * * This is only accurate when the rectangle is still a rectangle after * unprojecting, which is true for {@link WebMercatorProjection} but not * necessarily true for other projections. * * @param projection The projection. * @param rectangle The rectangle to be unprojected. * @return The unprojected rectangle. */ GlobeRectangle unprojectRectangleSimple( const Projection& projection, const CesiumGeometry::Rectangle& rectangle); /** * @brief Projects a bounding region on the globe by simply projecting its * eight corners. * * This is only accurate when the globe box is still a box after * projecting, which is true for {@link WebMercatorProjection} but not * necessarily true for other projections. * * @param projection The projection. * @param boundingRegion The bounding region to be projected. * @return The projected box. */ CesiumGeometry::AxisAlignedBox projectRegionSimple(const Projection& projection, const BoundingRegion& region); /** * @brief Unprojects a box to the globe by simply unprojecting its eight * corners. * * This is only accurate when the box is still a box after * unprojecting, which is true for {@link WebMercatorProjection} but not * necessarily true for other projections. * * @param projection The projection. * @param box The box to be unprojected. * @return The unprojected bounding region. */ BoundingRegion unprojectRegionSimple( const Projection& projection, const CesiumGeometry::AxisAlignedBox& box); /** * @brief Computes the approximate real-world size, in meters, of a given * projected rectangle. * * The returned X component corresponds to the size in the projected X * direction, while the returned Y component corresponds to the size in the * projected Y direction. * * @param projection The projection. * @param rectangle The projected rectangle to measure. * @param maxHeight The maximum height of the geometry inside the rectangle. * @param ellipsoid The ellipsoid used to convert longitude and latitude to * ellipsoid-centered coordinates. * @return The approximate size. */ glm::dvec2 computeProjectedRectangleSize( const Projection& projection, const CesiumGeometry::Rectangle& rectangle, double maxHeight, const Ellipsoid& ellipsoid = Ellipsoid::WGS84); } // namespace CesiumGeospatial
32.045113
80
0.758564
b5068908dd39e46d02ff6e716f558b80406263ce
8,146
h
C
specs/API_includes/ZW_slave_api.h
balloob/node-zwave-js
17abb0693ddb522dd1d2677c647123909e12b4bb
[ "MIT" ]
null
null
null
specs/API_includes/ZW_slave_api.h
balloob/node-zwave-js
17abb0693ddb522dd1d2677c647123909e12b4bb
[ "MIT" ]
109
2021-04-15T00:11:49.000Z
2022-03-01T03:21:30.000Z
specs/API_includes/ZW_slave_api.h
balloob/node-zwave-js
17abb0693ddb522dd1d2677c647123909e12b4bb
[ "MIT" ]
null
null
null
/**************************************************************************** * * Copyright (c) 2001-2013 * Sigma Designs, Inc. * All Rights Reserved * *--------------------------------------------------------------------------- * * Description: Z-Wave Slave node application interface * * Author: Ivar Jeppesen * * Last Changed By: $Author: jsi $ * Revision: $Revision: 28977 $ * Last Changed: $Date: 2014-06-04 13:28:14 +0200 (on, 04 jun 2014) $ * ****************************************************************************/ #ifndef _ZW_SLAVE_API_H_ #define _ZW_SLAVE_API_H_ #ifndef ZW_SLAVE #define ZW_SLAVE #endif /****************************************************************************/ /* INCLUDE FILES */ /****************************************************************************/ #include <ZW_basis_api.h> /****************************************************************************/ /* EXPORTED TYPES and DEFINITIONS */ /****************************************************************************/ /* ApplicationcSlaveUpdate status */ #define UPDATE_STATE_NODE_INFO_RECEIVED 0x84 #define UPDATE_STATE_NOP_POWER_RECEIVED 0x83 /*Defines used to handle inclusion and exclusion of node*/ #define ASSIGN_COMPLETE 0x00 #define ASSIGN_NODEID_DONE 0x01 /*Node ID have been assigned*/ #define ASSIGN_RANGE_INFO_UPDATE 0x02 /*Node is doing Neighbor discovery*/ /* Mode parameters to ZW_SetLearnMode */ #define ZW_SET_LEARN_MODE_DISABLE 0x00 #define ZW_SET_LEARN_MODE_CLASSIC 0x01 #define ZW_SET_LEARN_MODE_NWI 0x02 #define ZW_SET_LEARN_MODE_NWE 0x03 /*=========================== ZW_SetLearnMode =========================== ** Enable/Disable home/node ID learn mode. ** When learn mode is enabled, received "Assign ID's Command" are handled: ** If the current stored ID's are zero, the received ID's will be stored. ** If the received ID's are zero the stored ID's will be set to zero. ** ** The learnFunc is called when the received assign command has been handled. ** The returned parameter is the learned Node ID. ** ** void RET Nothing ** ZW_SetLearnMode( ** BYTE mode, IN learnMode bitmask ** VOID_CALLBACKFUNC(learnFunc)(BYTE)); IN Node learn call back function. **--------------------------------------------------------------------------*/ #define ZW_SET_LEARN_MODE(mode, func) ZW_SetLearnMode(mode, func) /*=========================== ZW_SetDefault ================================ ** Remove all Nodes and timers from the EEPROM memory. ** Reset the homeID and nodeID ** Side effects: ** **--------------------------------------------------------------------------*/ #define ZW_SET_DEFAULT ZW_SetDefault /****************************************************************************/ /* EXPORTED DATA */ /****************************************************************************/ /****************************************************************************/ /* EXPORTED FUNCTIONS */ /* Implemented within the application moduls */ /****************************************************************************/ /*========================== ApplictionSlaveUpdate ======================= ** Inform a slave application that a node information is received. ** Called from the slave command handler when a node information frame ** is received and the Z-Wave protocol is not in a state where it is needed. ** **--------------------------------------------------------------------------*/ /** * \ingroup COMMON * The Z Wave protocol MAY notify a slave application by calling * \ref ApplicationSlaveUpdate when a Node Information Frame has been received. * The Z Wave protocol MAY refrain from calling the function if the protocol is * currently expecting node information. * * All slave libraries requires this function implemented by the application. * * Declared in: ZW_slave_api.h * * \param[in] bStatus The status, value could be one of the following: * - UPDATE_STATE_NODE_INFO_RECEIVED A node has sent its Node Info while the * Z Wave protocol is idle. * \param[in] bNodeID The updated node's node ID (1..232). * \param[in] pCmd Pointer of the updated node's node info. * \param[in] bLen The length of the pCmd parameter. * \serialapi{ZW->HOST: REQ | 0x49 | bStatus | bNodeID | bLen | basic | generic | specific | commandclasses[ ]} * */ extern void ApplicationSlaveUpdate( BYTE bStatus, /*IN Status event */ BYTE bNodeID, /*IN Node id of the node that send node info */ BYTE* pCmd, /*IN Pointer to Application Node information */ BYTE bLen); /*IN Node info length */ /** * Defines for ApplicationNetworkLearnModeCompleted nodeID. * if not 0-232 then following values are defined */ #define APPLICATION_NETWORK_LEARN_MODE_COMPLETED_FAILED 0xFF #define APPLICATION_NETWORK_LEARN_MODE_COMPLETED_SMART_START_IN_PROGRESS 0xFE #define APPLICATION_NETWORK_LEARN_MODE_COMPLETED_TIMEOUT 0xFD /** * @brief ApplicationNetworkLearnModeCompleted * Should be implemented by the Application. Called when node have started * inclusion/exclusion through ZW_NetworkLearnModeStart and node has been * included, excluded or learnmode either failed or timed out: * valid values for nodeID parameter: * @param nodeID IN parameter nodeID assigned, value can be on of the following * - 0 node has been Excluded and has been assigned this nodeID * - 1-232 node has been Included and has been assigned this nodeID * - APPLICATION_NETWORK_LEARN_MODE_COMPLETED_FAILED * Smart Start Security inclusion failed * - APPLICATION_NETWORK_LEARN_MODE_COMPLETED_SMART_START_IN_PROGRESS * A nodeID has been assigned do not go into sleepmode. Another call to * ApplicationNetworkLearnModeCompleted will come with final result. * - APPLICATION_NETWORK_LEARN_MODE_COMPLETED_TIMEOUT * LearnMode process timeout inclusion/exclusion did not start. * */ extern void ApplicationNetworkLearnModeCompleted( BYTE nodeID); /****************************************************************************/ /* EXPORTED FUNCTIONS */ /* Implemented within the Z-Wave slave modules */ /****************************************************************************/ /*=========================== ZW_SetLearnMode =========================== ** Enable/Disable home/node ID learn mode. ** When learn mode is enabled, received "Assign ID's Command" are handled: ** If the current stored ID's are zero, the received ID's will be stored. ** If the received ID's are zero the stored ID's will be set to zero. ** ** The learnFunc is called when the received assign command has been handled. ** **--------------------------------------------------------------------------*/ extern void /*RET Nothing */ ZW_SetLearnMode( BYTE mode, /* IN learnMode bitmask */ VOID_CALLBACKFUNC(learnFunc)(BYTE bStatus, BYTE nodeID)); /*IN Node learn call back function. */ /*=========================== ZW_SetDefault ================================ ** Reset the slave to its default state. ** Delete all routes in routing slave ** Reset the homeID and nodeID ** Side effects: ** **--------------------------------------------------------------------------*/ void /*RET Nothing */ ZW_SetDefault(void); #endif /* _ZW_SLAVE_API_H_ */
43.795699
112
0.510926
a5c925e11d2c258e9b85ed6b153f9466c66d5ff2
2,198
h
C
Engine/Renderer/GLES3/include/GLES3PipelineGraphics.h
LiangYue1981816/AresEngine
c1cf040a1dffaf2bc585ed75e70ddd9322fe3f67
[ "BSD-2-Clause" ]
3
2018-12-08T16:32:05.000Z
2020-06-02T11:07:15.000Z
Engine/Renderer/GLES3/include/GLES3PipelineGraphics.h
LiangYue1981816/AresEngine
c1cf040a1dffaf2bc585ed75e70ddd9322fe3f67
[ "BSD-2-Clause" ]
null
null
null
Engine/Renderer/GLES3/include/GLES3PipelineGraphics.h
LiangYue1981816/AresEngine
c1cf040a1dffaf2bc585ed75e70ddd9322fe3f67
[ "BSD-2-Clause" ]
1
2019-09-12T00:26:05.000Z
2019-09-12T00:26:05.000Z
#pragma once #include "GLES3Renderer.h" class CGLES3PipelineGraphics : public CGfxPipelineGraphics { friend class CGLES3PipelineGraphicsManager; private: CGLES3PipelineGraphics(uint32_t name); virtual ~CGLES3PipelineGraphics(void); public: const CGfxDescriptorLayoutPtr GetDescriptorLayout(int indexDescriptorSet) const; const uint32_t GetInputAttachmentName(int indexInputAttachment) const; public: bool Create(const CGfxRenderPass* pRenderPass, const CGfxShader* pVertexShader, const CGfxShader* pFragmentShader, const PipelineState& state, int indexSubpass, int vertexBinding, int instanceBinding); void Destroy(void); public: bool IsTransparency(void) const; bool IsCompatibleVertexFormat(uint32_t binding, uint32_t format) const; public: void Bind(void) const; bool BindDescriptorSet(const CGfxDescriptorSetPtr ptrDescriptorSet) const; void Uniform1i(uint32_t name, int v0) const; void Uniform2i(uint32_t name, int v0, int v1) const; void Uniform3i(uint32_t name, int v0, int v1, int v2) const; void Uniform4i(uint32_t name, int v0, int v1, int v2, int v3) const; void Uniform1f(uint32_t name, float v0) const; void Uniform2f(uint32_t name, float v0, float v1) const; void Uniform3f(uint32_t name, float v0, float v1, float v2) const; void Uniform4f(uint32_t name, float v0, float v1, float v2, float v3) const; void Uniform1iv(uint32_t name, int count, const int* value) const; void Uniform2iv(uint32_t name, int count, const int* value) const; void Uniform3iv(uint32_t name, int count, const int* value) const; void Uniform4iv(uint32_t name, int count, const int* value) const; void Uniform1fv(uint32_t name, int count, const float* value) const; void Uniform2fv(uint32_t name, int count, const float* value) const; void Uniform3fv(uint32_t name, int count, const float* value) const; void Uniform4fv(uint32_t name, int count, const float* value) const; void UniformMatrix2fv(uint32_t name, int count, const float* value) const; void UniformMatrix3fv(uint32_t name, int count, const float* value) const; void UniformMatrix4fv(uint32_t name, int count, const float* value) const; private: PipelineState m_state; CGLES3Pipeline* m_pPipeline; };
36.633333
202
0.787989
0214cacf34ef3bb4836ed239e109799c125382e9
3,796
c
C
contest/change_base.c
ExcaliburZero/columbia-high-progamming-c
430fa362fd2a881a3cdbd3e447eeeb117b3860e3
[ "MIT" ]
null
null
null
contest/change_base.c
ExcaliburZero/columbia-high-progamming-c
430fa362fd2a881a3cdbd3e447eeeb117b3860e3
[ "MIT" ]
null
null
null
contest/change_base.c
ExcaliburZero/columbia-high-progamming-c
430fa362fd2a881a3cdbd3e447eeeb117b3860e3
[ "MIT" ]
null
null
null
//Chris Wells 2015 //956335 //October 16, 2014 //change_base.c //Purpose: To convert a number from one base system to another base system (2-10, 16). #include <stdio.h> #include <math.h> //Begin main function void main() { int b1 = 0, b2 = 0; //Initialize integer variables to store the bases int pre[1000]; //Declare integer to store the starting number as an integer array int pen[1000]; //Declare integer to store the ending number as an integer array int rem; //Declare integer variable to store values durring the base conversion process int total = 0; //Initialize variable to be used to help convert from base ten to the entered base char num[1000], end[1000]; //Declare character arrays to store the entered number and the converted number int i = 0, j; //Initialize & declare counter variables //Request number from user printf("Please enter a number: "); scanf("%s", &num); //Request initial base from user while( ( b1 < 2 ) || ( ( b1 > 10 ) && ( b1 != 16 ) ) ) { printf("Please enter the initial base (2-10, 16): "); scanf("%d", &b1); } //Request final base from user while( ( b2 < 2 ) || ( ( b2 > 10 ) && ( b2 != 16 ) ) ) { printf("Please enter the final base (2-10, 16): "); scanf("%d", &b2); } //Output inputted number and base printf("%s in base %d = ", num, b1); //Convert num ro pre switching out A-F digits for their integer values while( num[i] != 0 ) { //Convert character to integer and input it into the pre array switch( num[i] ) { case 48: pre[i] = 79; //Convert zeroes to a nonsense number to allow for pre-end zeros break; case 49: pre[i] = 1; break; case 50: pre[i] = 2; break; case 51: pre[i] = 3; break; case 52: pre[i] = 4; break; case 53: pre[i] = 5; break; case 54: pre[i] = 6; break; case 55: pre[i] = 7; break; case 56: pre[i] = 8; break; case 57: pre[i] = 9; break; case 65: pre[i] = 10; break; case 66: pre[i] = 11; break; case 67: pre[i] = 12; break; case 68: pre[i] = 13; break; case 69: pre[i] = 14; break; case 70: pre[i] = 15; break; default: break; } //Increase counter variable i += 1; } //Convert pre to base 10 for( j = 0; pre[j] != 0; j += 1 ) { //Handle pre end zeros if( pre[j] == 79 ) { pre[j] = 0; } total = total + pre[j] * pow(b1, (i - 1 - j)); } //Resent counter variables i = 0; j = 0; //Convert from base 10 to base b2 while( total > 0 ) { pen[i] = total % b2; total = total / b2; //Increase counter variable i += 1; } //Take values from integer array and transfer them to a character array while( i > 0 ) { //Decrease counter variable i -= 1; //Move inters valuse into character array as their char values switch( pen[i] ) { case 15: end[j] = 70; break; case 14: end[j] = 69; break; case 13: end[j] = 68; break; case 12: end[j] = 67; break; case 11: end[j] = 66; break; case 10: end[j] = 65; break; case 9: end[j] = 57; break; case 8: end[j] = 56; break; case 7: end[j] = 55; break; case 6: end[j] = 54; break; case 5: end[j] = 53; break; case 4: end[j] = 52; break; case 3: end[j] = 51; break; case 2: end[j] = 50; break; case 1: end[j] = 49; break; case 0: end[j] = 48; break; default: break; } //Increase counter variable j += 1; } //Print out end number and base printf("%s in base %d", end, b2); }
18.885572
108
0.536091
cb6fc40854ed08efc2415f029d65d5a47d04e784
848
h
C
components/drivers/peripheral/adc/include/vfsdev/adc_dev.h
wstong999/AliOS-Things
6554769cb5b797e28a30a4aa89b3f4cb2ef2f5d9
[ "Apache-2.0" ]
4,538
2017-10-20T05:19:03.000Z
2022-03-30T02:29:30.000Z
components/drivers/peripheral/adc/include/vfsdev/adc_dev.h
wstong999/AliOS-Things
6554769cb5b797e28a30a4aa89b3f4cb2ef2f5d9
[ "Apache-2.0" ]
1,088
2017-10-21T07:57:22.000Z
2022-03-31T08:15:49.000Z
components/drivers/peripheral/adc/include/vfsdev/adc_dev.h
wstong999/AliOS-Things
6554769cb5b797e28a30a4aa89b3f4cb2ef2f5d9
[ "Apache-2.0" ]
1,860
2017-10-20T05:22:35.000Z
2022-03-27T10:54:14.000Z
/* * Copyright (C) 2015-2021 Alibaba Group Holding Limited */ #ifndef _IO_ADC_H_ #define _IO_ADC_H_ #include <stdbool.h> #ifdef __cplusplus extern "C" { #endif /** @defgroup driver_api driver * @ingroup aos_components * @{ */ /** * @} */ /** @defgroup adc_device_api adc * @ingroup driver_api * @{ */ /* ADC DEVICE IOCTL CMD宏定义 */ #define IOC_ADC_BASE 'A' #define IOC_ADC_START IOC_ADC_BASE + 1 /**< 启动ADC设备*/ #define IOC_ADC_STOP IOC_ADC_BASE + 2 /**< 停止ADC设备*/ #define IOC_ADC_GET_VALUE IOC_ADC_BASE + 3 /**< 从ADC设备读取数据 */ /* ADC 读取数据的参数 */ typedef struct io_adc_arg { unsigned int value; /**< 出参,读取到的数据 */ unsigned int timeout; /**< 入参,超时时间(单位:ms)*/ } io_adc_arg_t; /** * 注册ADC设备驱动到VFS框架 * * @return 0:成功,否则失败 */ int vfs_dac_drv_init (void); /** * @} */ #ifdef __cplusplus } #endif #endif /*_IO_ADC_H_*/
15.418182
61
0.650943
43d8cfc5e121af9ec67e00dd64f831bcafa3682d
2,433
c
C
searching/Depth First Search and Breadth First Search.c
MDFARAZSIDDIQUE/c
f2b85ac29fee085b664beba7638e1af0439beb4f
[ "MIT" ]
1
2020-06-27T04:38:48.000Z
2020-06-27T04:38:48.000Z
searching/Depth First Search and Breadth First Search.c
MDFARAZSIDDIQUE/c
f2b85ac29fee085b664beba7638e1af0439beb4f
[ "MIT" ]
null
null
null
searching/Depth First Search and Breadth First Search.c
MDFARAZSIDDIQUE/c
f2b85ac29fee085b664beba7638e1af0439beb4f
[ "MIT" ]
1
2020-01-22T11:01:42.000Z
2020-01-22T11:01:42.000Z
#include<stdio.h> #include<malloc.h> #define n 10 #define max 10 int top=-1; int front=-1,rear=-1; int cq[max]; int adj[n][n]; int stack[max]; int visited1[max]; int visited2[max]; void push(int val) { if(top==max-1) printf("\n overflow"); else stack[++top]=val; } int pop() { if(top==-1) { printf("\nunderflow"); return -1; } else return stack[top--]; } void add(int val) { if((rear==max-1&&front==0)) printf("\noverflow"); else if(rear==-1) { rear=0;front=0; } else if(rear==max-1) rear=0; else rear++; cq[rear]=val; } int delete() { int val; if(rear==-1) printf("\nempty"); else if(front==max-1) front=0; else if(front==rear) front=rear=-1; else front++; return(cq[front]); } void dfs(int visited2[],int start) { int i; for(i=0;i<max;i++) visited2[i]=0; push(start); printf("\t%d",start); visited2[start]=1; while(top!=-1) { start=pop(); for(i=0;i<max;i++) { if(adj[start][i]==1 &&visited2[i]==0) { push(i); printf("\t%d",i); visited2[i]=1; } } } } void bfs(int visited1[],int start) { int i,u; for(i=0;i<max;i++) visited1[i]=0; add(start); printf("\t%d",start); visited1[start]=1; visited1[0]=1; while(front!=-1) { for(i=0;i<max;i++) { if(adj[start][i]==1&&visited1[i]==0) { add(i); } } start=delete(); if(visited1[start]==0) { printf("\t%d",start); visited1[start]=1; } } } void initialise() { int i,j; for(i=0;i<n;i++) { for(j=0;j<n;j++) { adj[i][j]=0; } } } void addedge(int i,int j) { adj[i][j]=1; adj[j][i]=1; } void removeedge(int i,int j) { adj[i][j]=0; adj[j][i]=0; } int adjacent(int i,int j) { return(adj[i][j]); } void main() { int i,j; int a,b,start; int opt; initialise(); do { printf("\n 1=create edge \n 2= delete edge \n 3= bfs \n 4=dfs \n enter choice \n"); scanf("%d", &opt); switch(opt){ case 1: printf("\N Enter two numbers to create edge"); scanf("%d %d",&i,&j); addedge(i,j); break; case 2: printf("\nenter two numbers to delete edge"); scanf("%d %d",&i,&j); removeedge(i,j); break; case 3: printf("\nenter the start for bfs "); scanf("%d",&start); bfs(visited1,start); break; case 4: printf("\nenter start for dfs"); scanf("%d",&start); dfs(visited2,start); break; default: printf("Invalid input"); } printf("Continue? \n 1=yes \n 0=no"); scanf("%d", &opt); }while(opt==1); }
13.745763
84
0.556104
b7447c1868cbc3d5b60f77d86895c5a963b3d299
28,252
c
C
day3/day3_tutorial1_microcircuit_modelling/mod/x86_64/ProbAMPANMDA.c
krembilneuroinformatics/kcni-school-lessons_old
7016ad3b1ad432df8d10c4153406584591582202
[ "MIT" ]
3
2020-07-23T00:21:51.000Z
2020-07-28T05:30:52.000Z
day3/day3_tutorial1_microcircuit_modelling/mod/x86_64/ProbAMPANMDA.c
krembilneuroinformatics/kcni-school-lessons_old
7016ad3b1ad432df8d10c4153406584591582202
[ "MIT" ]
1
2020-07-06T21:37:06.000Z
2020-07-06T23:53:13.000Z
day3/day3_tutorial1_microcircuit_modelling/mod/x86_64/ProbAMPANMDA.c
krembilneuroinformatics/kcni-school-lessons_old
7016ad3b1ad432df8d10c4153406584591582202
[ "MIT" ]
1
2020-07-06T13:48:47.000Z
2020-07-06T13:48:47.000Z
/* Created by Language version: 7.7.0 */ /* NOT VECTORIZED */ #define NRN_VECTORIZED 0 #include <stdio.h> #include <stdlib.h> #include <math.h> #include "scoplib_ansi.h" #undef PI #define nil 0 #include "md1redef.h" #include "section.h" #include "nrniv_mf.h" #include "md2redef.h" #if METHOD3 extern int _method3; #endif #if !NRNGPU #undef exp #define exp hoc_Exp extern double hoc_Exp(double); #endif #define nrn_init _nrn_init__ProbAMPANMDA #define _nrn_initial _nrn_initial__ProbAMPANMDA #define nrn_cur _nrn_cur__ProbAMPANMDA #define _nrn_current _nrn_current__ProbAMPANMDA #define nrn_jacob _nrn_jacob__ProbAMPANMDA #define nrn_state _nrn_state__ProbAMPANMDA #define _net_receive _net_receive__ProbAMPANMDA #define setRNG setRNG__ProbAMPANMDA #define state state__ProbAMPANMDA #define _threadargscomma_ /**/ #define _threadargsprotocomma_ /**/ #define _threadargs_ /**/ #define _threadargsproto_ /**/ /*SUPPRESS 761*/ /*SUPPRESS 762*/ /*SUPPRESS 763*/ /*SUPPRESS 765*/ extern double *getarg(); static double *_p; static Datum *_ppvar; #define t nrn_threads->_t #define dt nrn_threads->_dt #define tau_r_AMPA _p[0] #define tau_d_AMPA _p[1] #define tau_r_NMDA _p[2] #define tau_d_NMDA _p[3] #define Use _p[4] #define Dep _p[5] #define Fac _p[6] #define e _p[7] #define gmax _p[8] #define u0 _p[9] #define weight_factor_NMDA _p[10] #define i _p[11] #define i_AMPA _p[12] #define i_NMDA _p[13] #define g_AMPA _p[14] #define g_NMDA _p[15] #define A_AMPA _p[16] #define B_AMPA _p[17] #define A_NMDA _p[18] #define B_NMDA _p[19] #define factor_AMPA _p[20] #define factor_NMDA _p[21] #define DA_AMPA _p[22] #define DB_AMPA _p[23] #define DA_NMDA _p[24] #define DB_NMDA _p[25] #define _g _p[26] #define _tsav _p[27] #define _nd_area *_ppvar[0]._pval #define rng *_ppvar[2]._pval #define _p_rng _ppvar[2]._pval #if MAC #if !defined(v) #define v _mlhv #endif #if !defined(h) #define h _mlhh #endif #endif #if defined(__cplusplus) extern "C" { #endif static int hoc_nrnpointerindex = 2; /* external NEURON variables */ /* declaration of user functions */ static double _hoc_erand(); static double _hoc_setRNG(); static int _mechtype; extern void _nrn_cacheloop_reg(int, int); extern void hoc_register_prop_size(int, int, int); extern void hoc_register_limits(int, HocParmLimits*); extern void hoc_register_units(int, HocParmUnits*); extern void nrn_promote(Prop*, int, int); extern Memb_func* memb_func; #define NMODL_TEXT 1 #if NMODL_TEXT static const char* nmodl_file_text; static const char* nmodl_filename; extern void hoc_reg_nmodl_text(int, const char*); extern void hoc_reg_nmodl_filename(int, const char*); #endif extern Prop* nrn_point_prop_; static int _pointtype; static void* _hoc_create_pnt(_ho) Object* _ho; { void* create_point_process(); return create_point_process(_pointtype, _ho); } static void _hoc_destroy_pnt(); static double _hoc_loc_pnt(_vptr) void* _vptr; {double loc_point_process(); return loc_point_process(_pointtype, _vptr); } static double _hoc_has_loc(_vptr) void* _vptr; {double has_loc_point(); return has_loc_point(_vptr); } static double _hoc_get_loc_pnt(_vptr)void* _vptr; { double get_loc_point_process(); return (get_loc_point_process(_vptr)); } extern void _nrn_setdata_reg(int, void(*)(Prop*)); static void _setdata(Prop* _prop) { _p = _prop->param; _ppvar = _prop->dparam; } static void _hoc_setdata(void* _vptr) { Prop* _prop; _prop = ((Point_process*)_vptr)->_prop; _setdata(_prop); } /* connect user functions to hoc names */ static VoidFunc hoc_intfunc[] = { 0,0 }; static Member_func _member_func[] = { "loc", _hoc_loc_pnt, "has_loc", _hoc_has_loc, "get_loc", _hoc_get_loc_pnt, "erand", _hoc_erand, "setRNG", _hoc_setRNG, 0, 0 }; #define erand erand_ProbAMPANMDA extern double erand( ); /* declare global and static user variables */ #define mggate mggate_ProbAMPANMDA double mggate = 0; #define mg mg_ProbAMPANMDA double mg = 1; /* some parameters have upper and lower limits */ static HocParmLimits _hoc_parm_limits[] = { 0,0,0 }; static HocParmUnits _hoc_parm_units[] = { "mg_ProbAMPANMDA", "mM", "tau_r_AMPA", "ms", "tau_d_AMPA", "ms", "tau_r_NMDA", "ms", "tau_d_NMDA", "ms", "Use", "1", "Dep", "ms", "Fac", "ms", "e", "mV", "gmax", "uS", "i", "nA", "i_AMPA", "nA", "i_NMDA", "nA", "g_AMPA", "uS", "g_NMDA", "uS", 0,0 }; static double A_NMDA0 = 0; static double A_AMPA0 = 0; static double B_NMDA0 = 0; static double B_AMPA0 = 0; static double delta_t = 0.01; static double v = 0; /* connect global user variables to hoc */ static DoubScal hoc_scdoub[] = { "mg_ProbAMPANMDA", &mg_ProbAMPANMDA, "mggate_ProbAMPANMDA", &mggate_ProbAMPANMDA, 0,0 }; static DoubVec hoc_vdoub[] = { 0,0,0 }; static double _sav_indep; static void nrn_alloc(Prop*); static void nrn_init(_NrnThread*, _Memb_list*, int); static void nrn_state(_NrnThread*, _Memb_list*, int); static void nrn_cur(_NrnThread*, _Memb_list*, int); static void nrn_jacob(_NrnThread*, _Memb_list*, int); static void _hoc_destroy_pnt(_vptr) void* _vptr; { destroy_point_process(_vptr); } static int _ode_count(int); static void _ode_map(int, double**, double**, double*, Datum*, double*, int); static void _ode_spec(_NrnThread*, _Memb_list*, int); static void _ode_matsol(_NrnThread*, _Memb_list*, int); #define _cvode_ieq _ppvar[3]._i static void _ode_matsol_instance1(_threadargsproto_); /* connect range variables in _p that hoc is supposed to know about */ static const char *_mechanism[] = { "7.7.0", "ProbAMPANMDA", "tau_r_AMPA", "tau_d_AMPA", "tau_r_NMDA", "tau_d_NMDA", "Use", "Dep", "Fac", "e", "gmax", "u0", "weight_factor_NMDA", 0, "i", "i_AMPA", "i_NMDA", "g_AMPA", "g_NMDA", 0, "A_AMPA", "B_AMPA", "A_NMDA", "B_NMDA", 0, "rng", 0}; extern Prop* need_memb(Symbol*); static void nrn_alloc(Prop* _prop) { Prop *prop_ion; double *_p; Datum *_ppvar; if (nrn_point_prop_) { _prop->_alloc_seq = nrn_point_prop_->_alloc_seq; _p = nrn_point_prop_->param; _ppvar = nrn_point_prop_->dparam; }else{ _p = nrn_prop_data_alloc(_mechtype, 28, _prop); /*initialize range parameters*/ tau_r_AMPA = 0.2; tau_d_AMPA = 1.7; tau_r_NMDA = 0.29; tau_d_NMDA = 43; Use = 1; Dep = 100; Fac = 10; e = 0; gmax = 0.001; u0 = 0; weight_factor_NMDA = 1; } _prop->param = _p; _prop->param_size = 28; if (!nrn_point_prop_) { _ppvar = nrn_prop_datum_alloc(_mechtype, 4, _prop); } _prop->dparam = _ppvar; /*connect ionic variables to this model*/ } static void _initlists(); /* some states have an absolute tolerance */ static Symbol** _atollist; static HocStateTolerance _hoc_state_tol[] = { 0,0 }; static void _net_receive(Point_process*, double*, double); static void _net_init(Point_process*, double*, double); extern Symbol* hoc_lookup(const char*); extern void _nrn_thread_reg(int, int, void(*)(Datum*)); extern void _nrn_thread_table_reg(int, void(*)(double*, Datum*, Datum*, _NrnThread*, int)); extern void hoc_register_tolerance(int, HocStateTolerance*, Symbol***); extern void _cvode_abstol( Symbol**, double*, int); void _ProbAMPANMDA_reg() { int _vectorized = 0; _initlists(); _pointtype = point_register_mech(_mechanism, nrn_alloc,nrn_cur, nrn_jacob, nrn_state, nrn_init, hoc_nrnpointerindex, 0, _hoc_create_pnt, _hoc_destroy_pnt, _member_func); _mechtype = nrn_get_mechtype(_mechanism[1]); _nrn_setdata_reg(_mechtype, _setdata); #if NMODL_TEXT hoc_reg_nmodl_text(_mechtype, nmodl_file_text); hoc_reg_nmodl_filename(_mechtype, nmodl_filename); #endif hoc_register_prop_size(_mechtype, 28, 4); hoc_register_dparam_semantics(_mechtype, 0, "area"); hoc_register_dparam_semantics(_mechtype, 1, "pntproc"); hoc_register_dparam_semantics(_mechtype, 2, "pointer"); hoc_register_dparam_semantics(_mechtype, 3, "cvodeieq"); hoc_register_cvode(_mechtype, _ode_count, _ode_map, _ode_spec, _ode_matsol); hoc_register_tolerance(_mechtype, _hoc_state_tol, &_atollist); pnt_receive[_mechtype] = _net_receive; pnt_receive_init[_mechtype] = _net_init; pnt_receive_size[_mechtype] = 6; hoc_register_var(hoc_scdoub, hoc_vdoub, hoc_intfunc); ivoc_help("help ?1 ProbAMPANMDA /Users/frankmazza/frankm/LFPy/mod/x86_64/ProbAMPANMDA.mod\n"); hoc_register_limits(_mechtype, _hoc_parm_limits); hoc_register_units(_mechtype, _hoc_parm_units); } static int _reset; static char *modelname = "AMPA and NMDA receptor with presynaptic short-term plasticity "; static int error; static int _ninits = 0; static int _match_recurse=1; static void _modl_cleanup(){ _match_recurse=1;} static int setRNG(); static int _ode_spec1(_threadargsproto_); /*static int _ode_matsol1(_threadargsproto_);*/ static int _slist1[4], _dlist1[4]; static int state(_threadargsproto_); /*VERBATIM*/ #include<stdlib.h> #include<stdio.h> #include<math.h> double nrn_random_pick(void* r); void* nrn_random_arg(int argpos); /*CVODE*/ static int _ode_spec1 () {_reset=0; { DA_AMPA = - A_AMPA / tau_r_AMPA ; DB_AMPA = - B_AMPA / tau_d_AMPA ; DA_NMDA = - A_NMDA / tau_r_NMDA ; DB_NMDA = - B_NMDA / tau_d_NMDA ; } return _reset; } static int _ode_matsol1 () { DA_AMPA = DA_AMPA / (1. - dt*( ( - 1.0 ) / tau_r_AMPA )) ; DB_AMPA = DB_AMPA / (1. - dt*( ( - 1.0 ) / tau_d_AMPA )) ; DA_NMDA = DA_NMDA / (1. - dt*( ( - 1.0 ) / tau_r_NMDA )) ; DB_NMDA = DB_NMDA / (1. - dt*( ( - 1.0 ) / tau_d_NMDA )) ; return 0; } /*END CVODE*/ static int state () {_reset=0; { A_AMPA = A_AMPA + (1. - exp(dt*(( - 1.0 ) / tau_r_AMPA)))*(- ( 0.0 ) / ( ( - 1.0 ) / tau_r_AMPA ) - A_AMPA) ; B_AMPA = B_AMPA + (1. - exp(dt*(( - 1.0 ) / tau_d_AMPA)))*(- ( 0.0 ) / ( ( - 1.0 ) / tau_d_AMPA ) - B_AMPA) ; A_NMDA = A_NMDA + (1. - exp(dt*(( - 1.0 ) / tau_r_NMDA)))*(- ( 0.0 ) / ( ( - 1.0 ) / tau_r_NMDA ) - A_NMDA) ; B_NMDA = B_NMDA + (1. - exp(dt*(( - 1.0 ) / tau_d_NMDA)))*(- ( 0.0 ) / ( ( - 1.0 ) / tau_d_NMDA ) - B_NMDA) ; } return 0; } static void _net_receive (_pnt, _args, _lflag) Point_process* _pnt; double* _args; double _lflag; { _p = _pnt->_prop->param; _ppvar = _pnt->_prop->dparam; if (_tsav > t){ extern char* hoc_object_name(); hoc_execerror(hoc_object_name(_pnt->ob), ":Event arrived out of order. Must call ParallelContext.set_maxstep AFTER assigning minimum NetCon.delay");} _tsav = t; { if ( Fac > 0.0 ) { _args[4] = _args[4] * exp ( - ( t - _args[5] ) / Fac ) ; } else { _args[4] = Use ; } if ( Fac > 0.0 ) { _args[4] = _args[4] + Use * ( 1.0 - _args[4] ) ; } _args[2] = 1.0 - ( 1.0 - _args[1] ) * exp ( - ( t - _args[5] ) / Dep ) ; _args[3] = _args[4] * _args[2] ; _args[2] = _args[2] - _args[4] * _args[2] ; if ( erand ( _threadargs_ ) < _args[3] ) { _args[5] = t ; _args[1] = _args[2] ; if (nrn_netrec_state_adjust && !cvode_active_){ /* discon state adjustment for cnexp case (rate uses no local variable) */ double __state = A_AMPA; double __primary = (A_AMPA + _args[0] * factor_AMPA) - __state; __primary += ( 1. - exp( 0.5*dt*( ( - 1.0 ) / tau_r_AMPA ) ) )*( - ( 0.0 ) / ( ( - 1.0 ) / tau_r_AMPA ) - __primary ); A_AMPA += __primary; } else { A_AMPA = A_AMPA + _args[0] * factor_AMPA ; } if (nrn_netrec_state_adjust && !cvode_active_){ /* discon state adjustment for cnexp case (rate uses no local variable) */ double __state = B_AMPA; double __primary = (B_AMPA + _args[0] * factor_AMPA) - __state; __primary += ( 1. - exp( 0.5*dt*( ( - 1.0 ) / tau_d_AMPA ) ) )*( - ( 0.0 ) / ( ( - 1.0 ) / tau_d_AMPA ) - __primary ); B_AMPA += __primary; } else { B_AMPA = B_AMPA + _args[0] * factor_AMPA ; } if (nrn_netrec_state_adjust && !cvode_active_){ /* discon state adjustment for cnexp case (rate uses no local variable) */ double __state = A_NMDA; double __primary = (A_NMDA + _args[0] * weight_factor_NMDA * factor_NMDA) - __state; __primary += ( 1. - exp( 0.5*dt*( ( - 1.0 ) / tau_r_NMDA ) ) )*( - ( 0.0 ) / ( ( - 1.0 ) / tau_r_NMDA ) - __primary ); A_NMDA += __primary; } else { A_NMDA = A_NMDA + _args[0] * weight_factor_NMDA * factor_NMDA ; } if (nrn_netrec_state_adjust && !cvode_active_){ /* discon state adjustment for cnexp case (rate uses no local variable) */ double __state = B_NMDA; double __primary = (B_NMDA + _args[0] * weight_factor_NMDA * factor_NMDA) - __state; __primary += ( 1. - exp( 0.5*dt*( ( - 1.0 ) / tau_d_NMDA ) ) )*( - ( 0.0 ) / ( ( - 1.0 ) / tau_d_NMDA ) - __primary ); B_NMDA += __primary; } else { B_NMDA = B_NMDA + _args[0] * weight_factor_NMDA * factor_NMDA ; } } } } static void _net_init(Point_process* _pnt, double* _args, double _lflag) { _args[1] = 1.0 ; _args[4] = u0 ; _args[5] = t ; } static int setRNG ( ) { /*VERBATIM*/ { /** * This function takes a NEURON Random object declared in hoc and makes it usable by this mod file. * Note that this method is taken from Brett paper as used by netstim.hoc and netstim.mod * which points out that the Random must be in negexp(1) mode */ void** pv = (void**)(&_p_rng); if( ifarg(1)) { *pv = nrn_random_arg(1); } else { *pv = (void*)0; } } return 0; } static double _hoc_setRNG(void* _vptr) { double _r; _hoc_setdata(_vptr); _r = 1.; setRNG ( ); return(_r); } double erand ( ) { double _lerand; /*VERBATIM*/ //FILE *fi; double value; if (_p_rng) { /* :Supports separate independent but reproducible streams for : each instance. However, the corresponding hoc Random : distribution MUST be set to Random.negexp(1) */ value = nrn_random_pick(_p_rng); //fi = fopen("RandomStreamMCellRan4.txt", "w"); //fprintf(fi,"random stream for this simulation = %lf\n",value); //printf("random stream for this simulation = %lf\n",value); return value; }else{ _lerand = exprand ( 1.0 ) ; /*VERBATIM*/ } return _lerand; } static double _hoc_erand(void* _vptr) { double _r; _hoc_setdata(_vptr); _r = erand ( ); return(_r); } static int _ode_count(int _type){ return 4;} static void _ode_spec(_NrnThread* _nt, _Memb_list* _ml, int _type) { Datum* _thread; Node* _nd; double _v; int _iml, _cntml; _cntml = _ml->_nodecount; _thread = _ml->_thread; for (_iml = 0; _iml < _cntml; ++_iml) { _p = _ml->_data[_iml]; _ppvar = _ml->_pdata[_iml]; _nd = _ml->_nodelist[_iml]; v = NODEV(_nd); _ode_spec1 (); }} static void _ode_map(int _ieq, double** _pv, double** _pvdot, double* _pp, Datum* _ppd, double* _atol, int _type) { int _i; _p = _pp; _ppvar = _ppd; _cvode_ieq = _ieq; for (_i=0; _i < 4; ++_i) { _pv[_i] = _pp + _slist1[_i]; _pvdot[_i] = _pp + _dlist1[_i]; _cvode_abstol(_atollist, _atol, _i); } } static void _ode_matsol_instance1(_threadargsproto_) { _ode_matsol1 (); } static void _ode_matsol(_NrnThread* _nt, _Memb_list* _ml, int _type) { Datum* _thread; Node* _nd; double _v; int _iml, _cntml; _cntml = _ml->_nodecount; _thread = _ml->_thread; for (_iml = 0; _iml < _cntml; ++_iml) { _p = _ml->_data[_iml]; _ppvar = _ml->_pdata[_iml]; _nd = _ml->_nodelist[_iml]; v = NODEV(_nd); _ode_matsol_instance1(_threadargs_); }} static void initmodel() { int _i; double _save;_ninits++; _save = t; t = 0.0; { A_NMDA = A_NMDA0; A_AMPA = A_AMPA0; B_NMDA = B_NMDA0; B_AMPA = B_AMPA0; { double _ltp_AMPA , _ltp_NMDA ; A_AMPA = 0.0 ; B_AMPA = 0.0 ; A_NMDA = 0.0 ; B_NMDA = 0.0 ; _ltp_AMPA = ( tau_r_AMPA * tau_d_AMPA ) / ( tau_d_AMPA - tau_r_AMPA ) * log ( tau_d_AMPA / tau_r_AMPA ) ; _ltp_NMDA = ( tau_r_NMDA * tau_d_NMDA ) / ( tau_d_NMDA - tau_r_NMDA ) * log ( tau_d_NMDA / tau_r_NMDA ) ; factor_AMPA = - exp ( - _ltp_AMPA / tau_r_AMPA ) + exp ( - _ltp_AMPA / tau_d_AMPA ) ; factor_AMPA = 1.0 / factor_AMPA ; factor_NMDA = - exp ( - _ltp_NMDA / tau_r_NMDA ) + exp ( - _ltp_NMDA / tau_d_NMDA ) ; factor_NMDA = 1.0 / factor_NMDA ; } _sav_indep = t; t = _save; } } static void nrn_init(_NrnThread* _nt, _Memb_list* _ml, int _type){ Node *_nd; double _v; int* _ni; int _iml, _cntml; #if CACHEVEC _ni = _ml->_nodeindices; #endif _cntml = _ml->_nodecount; for (_iml = 0; _iml < _cntml; ++_iml) { _p = _ml->_data[_iml]; _ppvar = _ml->_pdata[_iml]; _tsav = -1e20; #if CACHEVEC if (use_cachevec) { _v = VEC_V(_ni[_iml]); }else #endif { _nd = _ml->_nodelist[_iml]; _v = NODEV(_nd); } v = _v; initmodel(); }} static double _nrn_current(double _v){double _current=0.;v=_v;{ { mggate = 1.0 / ( 1.0 + exp ( 0.062 * - ( v ) ) * ( mg / 3.57 ) ) ; g_AMPA = gmax * ( B_AMPA - A_AMPA ) ; g_NMDA = gmax * ( B_NMDA - A_NMDA ) * mggate ; i_AMPA = g_AMPA * ( v - e ) ; i_NMDA = g_NMDA * ( v - e ) ; i = i_AMPA + i_NMDA ; } _current += i; _current += i_AMPA; _current += i_NMDA; } return _current; } static void nrn_cur(_NrnThread* _nt, _Memb_list* _ml, int _type){ Node *_nd; int* _ni; double _rhs, _v; int _iml, _cntml; #if CACHEVEC _ni = _ml->_nodeindices; #endif _cntml = _ml->_nodecount; for (_iml = 0; _iml < _cntml; ++_iml) { _p = _ml->_data[_iml]; _ppvar = _ml->_pdata[_iml]; #if CACHEVEC if (use_cachevec) { _v = VEC_V(_ni[_iml]); }else #endif { _nd = _ml->_nodelist[_iml]; _v = NODEV(_nd); } _g = _nrn_current(_v + .001); { _rhs = _nrn_current(_v); } _g = (_g - _rhs)/.001; _g *= 1.e2/(_nd_area); _rhs *= 1.e2/(_nd_area); #if CACHEVEC if (use_cachevec) { VEC_RHS(_ni[_iml]) -= _rhs; }else #endif { NODERHS(_nd) -= _rhs; } }} static void nrn_jacob(_NrnThread* _nt, _Memb_list* _ml, int _type){ Node *_nd; int* _ni; int _iml, _cntml; #if CACHEVEC _ni = _ml->_nodeindices; #endif _cntml = _ml->_nodecount; for (_iml = 0; _iml < _cntml; ++_iml) { _p = _ml->_data[_iml]; #if CACHEVEC if (use_cachevec) { VEC_D(_ni[_iml]) += _g; }else #endif { _nd = _ml->_nodelist[_iml]; NODED(_nd) += _g; } }} static void nrn_state(_NrnThread* _nt, _Memb_list* _ml, int _type){ Node *_nd; double _v = 0.0; int* _ni; int _iml, _cntml; #if CACHEVEC _ni = _ml->_nodeindices; #endif _cntml = _ml->_nodecount; for (_iml = 0; _iml < _cntml; ++_iml) { _p = _ml->_data[_iml]; _ppvar = _ml->_pdata[_iml]; _nd = _ml->_nodelist[_iml]; #if CACHEVEC if (use_cachevec) { _v = VEC_V(_ni[_iml]); }else #endif { _nd = _ml->_nodelist[_iml]; _v = NODEV(_nd); } v=_v; { { error = state(); if(error){fprintf(stderr,"at line 102 in file ProbAMPANMDA.mod:\n SOLVE state METHOD cnexp\n"); nrn_complain(_p); abort_run(error);} }}} } static void terminal(){} static void _initlists() { int _i; static int _first = 1; if (!_first) return; _slist1[0] = &(A_AMPA) - _p; _dlist1[0] = &(DA_AMPA) - _p; _slist1[1] = &(B_AMPA) - _p; _dlist1[1] = &(DB_AMPA) - _p; _slist1[2] = &(A_NMDA) - _p; _dlist1[2] = &(DA_NMDA) - _p; _slist1[3] = &(B_NMDA) - _p; _dlist1[3] = &(DB_NMDA) - _p; _first = 0; } #if NMODL_TEXT static const char* nmodl_filename = "/Users/frankmazza/frankm/LFPy/mod/ProbAMPANMDA.mod"; static const char* nmodl_file_text = "TITLE AMPA and NMDA receptor with presynaptic short-term plasticity \n" "\n" "\n" "COMMENT\n" "AMPA and NMDA receptor conductance using a dual-exponential profile\n" "presynaptic short-term plasticity based on Fuhrmann et al. 2002\n" "Implemented by Srikanth Ramaswamy, Blue Brain Project, July 2009\n" "Etay: changed weight to be equal for NMDA and AMPA, gmax accessible in Neuron\n" "Tuomo: allowed different weights for AMPA and NMDA\n" "\n" "ENDCOMMENT\n" "\n" "\n" "NEURON {\n" "\n" " POINT_PROCESS ProbAMPANMDA \n" " RANGE tau_r_AMPA, tau_d_AMPA, tau_r_NMDA, tau_d_NMDA\n" " RANGE Use, u, Dep, Fac, u0, weight_factor_NMDA\n" " RANGE i, i_AMPA, i_NMDA, g_AMPA, g_NMDA, e, gmax\n" " NONSPECIFIC_CURRENT i, i_AMPA,i_NMDA\n" " POINTER rng\n" "}\n" "\n" "PARAMETER {\n" "\n" " tau_r_AMPA = 0.2 (ms) : dual-exponential conductance profile\n" " tau_d_AMPA = 1.7 (ms) : IMPORTANT: tau_r < tau_d\n" " tau_r_NMDA = 0.29 (ms) : dual-exponential conductance profile\n" " tau_d_NMDA = 43 (ms) : IMPORTANT: tau_r < tau_d\n" " Use = 1.0 (1) : Utilization of synaptic efficacy (just initial values! Use, Dep and Fac are overwritten by BlueBuilder assigned values) \n" " Dep = 100 (ms) : relaxation time constant from depression\n" " Fac = 10 (ms) : relaxation time constant from facilitation\n" " e = 0 (mV) : AMPA and NMDA reversal potential\n" " mg = 1 (mM) : initial concentration of mg2+\n" " mggate\n" " gmax = .001 (uS) : weight conversion factor (from nS to uS)\n" " u0 = 0 :initial value of u, which is the running value of Use\n" " weight_factor_NMDA = 1\n" "}\n" "\n" "COMMENT\n" "The Verbatim block is needed to generate random nos. from a uniform distribution between 0 and 1 \n" "for comparison with Pr to decide whether to activate the synapse or not\n" "ENDCOMMENT\n" " \n" "VERBATIM\n" "\n" "#include<stdlib.h>\n" "#include<stdio.h>\n" "#include<math.h>\n" "\n" "double nrn_random_pick(void* r);\n" "void* nrn_random_arg(int argpos);\n" "\n" "ENDVERBATIM\n" " \n" "\n" "ASSIGNED {\n" "\n" " v (mV)\n" " i (nA)\n" " i_AMPA (nA)\n" " i_NMDA (nA)\n" " g_AMPA (uS)\n" " g_NMDA (uS)\n" " factor_AMPA\n" " factor_NMDA\n" " rng\n" "}\n" "\n" "STATE {\n" "\n" " A_AMPA : AMPA state variable to construct the dual-exponential profile - decays with conductance tau_r_AMPA\n" " B_AMPA : AMPA state variable to construct the dual-exponential profile - decays with conductance tau_d_AMPA\n" " A_NMDA : NMDA state variable to construct the dual-exponential profile - decays with conductance tau_r_NMDA\n" " B_NMDA : NMDA state variable to construct the dual-exponential profile - decays with conductance tau_d_NMDA\n" "}\n" "\n" "INITIAL{\n" "\n" " LOCAL tp_AMPA, tp_NMDA\n" " \n" " A_AMPA = 0\n" " B_AMPA = 0\n" " \n" " A_NMDA = 0\n" " B_NMDA = 0\n" " \n" " tp_AMPA = (tau_r_AMPA*tau_d_AMPA)/(tau_d_AMPA-tau_r_AMPA)*log(tau_d_AMPA/tau_r_AMPA) :time to peak of the conductance\n" " tp_NMDA = (tau_r_NMDA*tau_d_NMDA)/(tau_d_NMDA-tau_r_NMDA)*log(tau_d_NMDA/tau_r_NMDA) :time to peak of the conductance\n" " \n" " factor_AMPA = -exp(-tp_AMPA/tau_r_AMPA)+exp(-tp_AMPA/tau_d_AMPA) :AMPA Normalization factor - so that when t = tp_AMPA, gsyn = gpeak\n" " factor_AMPA = 1/factor_AMPA\n" " \n" " factor_NMDA = -exp(-tp_NMDA/tau_r_NMDA)+exp(-tp_NMDA/tau_d_NMDA) :NMDA Normalization factor - so that when t = tp_NMDA, gsyn = gpeak\n" " factor_NMDA = 1/factor_NMDA\n" " \n" "}\n" "\n" "BREAKPOINT {\n" "\n" " SOLVE state METHOD cnexp\n" " mggate = 1 / (1 + exp(0.062 (/mV) * -(v)) * (mg / 3.57 (mM))) :mggate kinetics - Jahr & Stevens 1990\n" " g_AMPA = gmax*(B_AMPA-A_AMPA) :compute time varying conductance as the difference of state variables B_AMPA and A_AMPA\n" " g_NMDA = gmax*(B_NMDA-A_NMDA) * mggate :compute time varying conductance as the difference of state variables B_NMDA and A_NMDA and mggate kinetics\n" " i_AMPA = g_AMPA*(v-e) :compute the AMPA driving force based on the time varying conductance, membrane potential, and AMPA reversal\n" " i_NMDA = g_NMDA*(v-e) :compute the NMDA driving force based on the time varying conductance, membrane potential, and NMDA reversal\n" " i = i_AMPA + i_NMDA\n" "}\n" "\n" "DERIVATIVE state{\n" "\n" " A_AMPA' = -A_AMPA/tau_r_AMPA\n" " B_AMPA' = -B_AMPA/tau_d_AMPA\n" " A_NMDA' = -A_NMDA/tau_r_NMDA\n" " B_NMDA' = -B_NMDA/tau_d_NMDA\n" "}\n" "\n" "\n" "NET_RECEIVE (weight, Pv, Pv_tmp, Pr, u, tsyn (ms)){\n" " \n" " :weight_AMPA = weight\n" " :weight_NMDA = weight*weight_factor_NMDA\n" " :printf(\"NMDA weight = %g\\n\", weight_NMDA)\n" "\n" " INITIAL{\n" " Pv=1\n" " u=u0\n" " tsyn=t\n" " }\n" "\n" " : calc u at event-\n" " if (Fac > 0) {\n" " u = u*exp(-(t - tsyn)/Fac) :update facilitation variable if Fac>0 Eq. 2 in Fuhrmann et al.\n" " } else {\n" " u = Use \n" " } \n" " if(Fac > 0){\n" " u = u + Use*(1-u) :update facilitation variable if Fac>0 Eq. 2 in Fuhrmann et al.\n" " } \n" "\n" " \n" " Pv_tmp = 1 - (1-Pv) * exp(-(t-tsyn)/Dep) :Probability Pv for a vesicle to be available for release, analogous to the pool of synaptic\n" " :resources available for release in the deterministic model. Eq. 3 in Fuhrmann et al.\n" " Pr = u * Pv_tmp :Pr is calculated as Pv * u (running value of Use)\n" " Pv_tmp = Pv_tmp - u * Pv_tmp :update Pv as per Eq. 3 in Fuhrmann et al.\n" " :printf(\"Pv = %g\\n\", Pv)\n" " :printf(\"Pr = %g\\n\", Pr)\n" " \n" " if (erand() < Pr){\n" " tsyn = t\n" " Pv = Pv_tmp\n" " A_AMPA = A_AMPA + weight*factor_AMPA\n" " B_AMPA = B_AMPA + weight*factor_AMPA\n" " A_NMDA = A_NMDA + weight*weight_factor_NMDA*factor_NMDA\n" " B_NMDA = B_NMDA + weight*weight_factor_NMDA*factor_NMDA\n" "\n" " }\n" "}\n" "\n" "PROCEDURE setRNG() {\n" "VERBATIM\n" " {\n" " /**\n" " * This function takes a NEURON Random object declared in hoc and makes it usable by this mod file.\n" " * Note that this method is taken from Brett paper as used by netstim.hoc and netstim.mod\n" " * which points out that the Random must be in negexp(1) mode\n" " */\n" " void** pv = (void**)(&_p_rng);\n" " if( ifarg(1)) {\n" " *pv = nrn_random_arg(1);\n" " } else {\n" " *pv = (void*)0;\n" " }\n" " }\n" "ENDVERBATIM\n" "}\n" "\n" "FUNCTION erand() {\n" "VERBATIM\n" " //FILE *fi;\n" " double value;\n" " if (_p_rng) {\n" " /*\n" " :Supports separate independent but reproducible streams for\n" " : each instance. However, the corresponding hoc Random\n" " : distribution MUST be set to Random.negexp(1)\n" " */\n" " value = nrn_random_pick(_p_rng);\n" " //fi = fopen(\"RandomStreamMCellRan4.txt\", \"w\");\n" " //fprintf(fi,\"random stream for this simulation = %lf\\n\",value);\n" " //printf(\"random stream for this simulation = %lf\\n\",value);\n" " return value;\n" " }else{\n" "ENDVERBATIM\n" " : the old standby. Cannot use if reproducible parallel sim\n" " : independent of nhost or which host this instance is on\n" " : is desired, since each instance on this cpu draws from\n" " : the same stream\n" " erand = exprand(1)\n" "VERBATIM\n" " }\n" "ENDVERBATIM\n" " :erand = value :This line must have been a mistake in Hay et al.'s code, it would basically set the return value to a non-initialized double value.\n" " :The reason it sometimes works could be that the memory allocated for the non-initialized happened to contain the random value\n" " :previously generated (or if _p_rng is always a null pointer). However, here we commented this line out.\n" "}\n" "\n" "\n" "\n" "\n" "\n" "\n" ; #endif
31.321508
199
0.623637
2e65e604d92cd754df8c62b25ed904663978e174
2,486
h
C
test/test_runner.h
dprotaso/envoy
d9ca7c0660043a6889365271ed960bfa80e42aad
[ "Apache-2.0" ]
2
2019-09-01T06:05:56.000Z
2020-11-10T00:48:40.000Z
test/test_runner.h
dprotaso/envoy
d9ca7c0660043a6889365271ed960bfa80e42aad
[ "Apache-2.0" ]
null
null
null
test/test_runner.h
dprotaso/envoy
d9ca7c0660043a6889365271ed960bfa80e42aad
[ "Apache-2.0" ]
1
2019-03-19T09:03:50.000Z
2019-03-19T09:03:50.000Z
#pragma once #include "common/common/logger.h" #include "common/common/logger_delegates.h" #include "common/common/thread.h" #include "common/event/libevent.h" #include "common/http/http2/codec_impl.h" #include "test/mocks/access_log/mocks.h" #include "test/test_common/environment.h" #include "test/test_listener.h" #include "gmock/gmock.h" namespace Envoy { class TestRunner { public: static int RunTests(int argc, char** argv) { ::testing::InitGoogleMock(&argc, argv); Event::Libevent::Global::initialize(); Http::Http2::initializeNghttp2Logging(); // Add a test-listener so we can call a hook where we can do a quiescence // check after each method. See // https://github.com/google/googletest/blob/master/googletest/docs/advanced.md // for details. ::testing::TestEventListeners& listeners = ::testing::UnitTest::GetInstance()->listeners(); listeners.Append(new TestListener); // Use the recommended, but not default, "threadsafe" style for the Death Tests. // See: https://github.com/google/googletest/commit/84ec2e0365d791e4ebc7ec249f09078fb5ab6caa ::testing::FLAGS_gtest_death_test_style = "threadsafe"; // Set gtest properties // (https://github.com/google/googletest/blob/master/googletest/docs/advanced.md#logging-additional-information), // they are available in the test XML. // TODO(htuch): Log these as well? testing::Test::RecordProperty("TemporaryDirectory", TestEnvironment::temporaryDirectory()); testing::Test::RecordProperty("RunfilesDirectory", TestEnvironment::runfilesDirectory()); TestEnvironment::setEnvVar("TEST_UDSDIR", TestEnvironment::unixDomainSocketDirectory(), 1); TestEnvironment::initializeOptions(argc, argv); Thread::MutexBasicLockable lock; Logger::Context logging_state(TestEnvironment::getOptions().logLevel(), TestEnvironment::getOptions().logFormat(), lock); // Allocate fake log access manager. testing::NiceMock<AccessLog::MockAccessLogManager> access_log_manager; std::unique_ptr<Logger::FileSinkDelegate> file_logger; // Redirect all logs to fake file when --log-path arg is specified in command line. if (!TestEnvironment::getOptions().logPath().empty()) { file_logger = std::make_unique<Logger::FileSinkDelegate>( TestEnvironment::getOptions().logPath(), access_log_manager, Logger::Registry::getSink()); } return RUN_ALL_TESTS(); } }; } // namespace Envoy
40.754098
117
0.724859
a2f38318e4547bb40e4429c1777cb670fe8cb778
4,865
h
C
code/engine.vc2008/xrPhysics/tri-colliderknoopc/dxTriList.h
Rikoshet-234/xray-oxygen
eaac3fa4780639152684f3251b8b4452abb8e439
[ "Apache-2.0" ]
7
2018-03-27T12:36:07.000Z
2020-06-26T11:31:52.000Z
code/engine.vc2008/xrPhysics/tri-colliderknoopc/dxTriList.h
Rikoshet-234/xray-oxygen
eaac3fa4780639152684f3251b8b4452abb8e439
[ "Apache-2.0" ]
2
2018-05-26T23:17:14.000Z
2019-04-14T18:33:27.000Z
code/engine.vc2008/xrPhysics/tri-colliderknoopc/dxTriList.h
Rikoshet-234/xray-oxygen
eaac3fa4780639152684f3251b8b4452abb8e439
[ "Apache-2.0" ]
5
2020-10-18T11:55:26.000Z
2022-03-28T07:21:35.000Z
//#include "stdafx.h" #ifndef __DXTRILIST_INCLUDED__ #define __DXTRILIST_INCLUDED__ //#include "../ode_include.h" #include "../../3rd-party/ode/include/ode/common.h" struct dcVector3 { float x, y, z; dcVector3() {} dcVector3(dReal x, dReal y, dReal z) { this->x = (float)x; this->y = (float)y; this->z = (float)z; } dcVector3(const dReal* v) { x = (float)v[0]; y = (float)v[1]; z = (float)v[2]; } ~dcVector3() {} operator float* () { //&slipch return reinterpret_cast<float*>(this); } /* Add */ dcVector3 operator+(const dcVector3& v) const { dcVector3 Out; Out.x = x + v.x; Out.y = y + v.y; Out.z = z + v.z; return Out; } dcVector3& operator+=(const dcVector3& v) { x += v.x; y += v.y; z += v.z; return *this; } /* Sub */ dcVector3 operator-(const dcVector3& v) const { dcVector3 Out; Out.x = x - v.x; Out.y = y - v.y; Out.z = z - v.z; return Out; } dcVector3& operator-=(const dcVector3& v) { x -= v.x; y -= v.y; z -= v.z; return *this; } /* Mul */ dcVector3 operator*(const dcVector3& v) const { dcVector3 Out; Out.x = x * v.x; Out.y = y * v.y; Out.z = z * v.z; return Out; } dcVector3 operator*(float Scalar) const { dcVector3 Out; Out.x = x * Scalar; Out.y = y * Scalar; Out.z = z * Scalar; return Out; } dcVector3& operator*=(const dcVector3& v) { x *= v.x; y *= v.y; z *= v.z; return *this; } dcVector3& operator*=(float Scalar) { x *= Scalar; y *= Scalar; z *= Scalar; return *this; } /* Div */ dcVector3 operator/(const dcVector3& v) const { dcVector3 Out; Out.x = x / v.x; Out.y = y / v.y; Out.z = z / v.z; return Out; } dcVector3 operator/(float Scalar) const { dcVector3 Out; Out.x = x / Scalar; Out.y = y / Scalar; Out.z = z / Scalar; return Out; } dcVector3& operator/=(const dcVector3& v) { x /= v.x; y /= v.y; z /= v.z; return *this; } dcVector3& operator/=(float Scalar) { x /= Scalar; y /= Scalar; z /= Scalar; return *this; } /* Negative */ dcVector3& operator-() { x = -x; y = -y; z = -z; return *this; } /* Comparison */ bool operator==(const dcVector3& v) const { return x == v.x && y == v.y && z == v.z; } bool operator!=(const dcVector3& v) const { return v.x != x || v.y != y || v.z != z; } float DotProduct(const dcVector3& v) const { return x * v.x + y * v.y + z * v.z; } dcVector3 CrossProduct(const dcVector3& v) const { dcVector3 Out; Out.x = y * v.z - z * v.y; Out.y = z * v.x - x * v.z; Out.z = x * v.y - y * v.x; return Out; } float MagnitudeSq() const { return DotProduct(*this); } float Magnitude() const { return _sqrt(MagnitudeSq()); } void Normalize() { operator/=(Magnitude()); } /* Member access */ float& operator[](int Index) { return *(&x + Index); } float operator[](int Index) const { return *(&x + Index); } }; /* Class ID */ extern int dTriListClass; /* Per triangle callback */ typedef int dTriCallback(dGeomID TriList, dGeomID RefObject, int TriangleIndex); void dGeomTriListSetCallback(dGeomID g, dTriCallback* Callback); dTriCallback* dGeomTriListGetCallback(dGeomID g); /* Per object callback */ typedef void dTriArrayCallback(dGeomID TriList, dGeomID RefObject, const int* TriIndices, int TriCount); void dGeomTriListSetArrayCallback(dGeomID g, dTriArrayCallback* ArrayCallback); dTriArrayCallback* dGeomTriListGetArrayCallback(dGeomID g); /* Construction */ dxGeom* dCreateTriList(dSpaceID space, dTriCallback* Callback, dTriArrayCallback* ArrayCallback); /* Setting data */ void dGeomTriListBuild(dGeomID g, const dcVector3* Vertices, int VertexCount, const int* Indices, int IndexCount); /* Getting data */ void dGeomTriListGetTriangle(dGeomID g, int Index, dVector3* v0, dVector3* v1, dVector3* v2); /* Internal types */ class dcTriListCollider; struct dxTriList { dReal p[4]; // dxPlane dTriCallback* Callback; dTriArrayCallback* ArrayCallback; dcTriListCollider* Collider; }; struct dcPlane { dcVector3 Normal; float Distance; dcPlane() {} dcPlane(const dcVector3& v0, const dcVector3& v1, const dcVector3& v2) { dcVector3 u = v1 - v0; dcVector3 v = v2 - v0; Normal = u.CrossProduct(v); Distance = v0.DotProduct(Normal); Normalize(); } void Normalize() { float Factor = 1.0f / Normal.Magnitude(); Normal *= Factor; Distance *= Factor; } bool Contains(const dcVector3& RefObject, float Epsilon = 0.0f) const { return Normal.DotProduct(RefObject) - Distance >= -Epsilon; //@slipch ">=" instead ">" } }; template<class T> const T& dcMAX(const T& x, const T& y) { return x > y ? x : y; } template<class T> const T& dcMIN(const T& x, const T& y) { return x < y ? x : y; } #endif //__DXTRILIST_INCLUDED__
13.742938
114
0.612744
23b48ac3d2edcad4411b803f574c13c5b923d92d
15,703
c
C
src/audio/wasapi/SDL_wasapi_win32.c
matteckert/sdl
9f71a809e9bd6fbb5fa401a45c1537fc26abc1b4
[ "Zlib" ]
715
2015-06-20T10:14:57.000Z
2022-02-26T07:19:30.000Z
src/audio/wasapi/SDL_wasapi_win32.c
matteckert/sdl
9f71a809e9bd6fbb5fa401a45c1537fc26abc1b4
[ "Zlib" ]
83
2018-02-22T16:38:52.000Z
2022-03-13T16:33:49.000Z
src/audio/wasapi/SDL_wasapi_win32.c
matteckert/sdl
9f71a809e9bd6fbb5fa401a45c1537fc26abc1b4
[ "Zlib" ]
351
2015-02-05T16:43:02.000Z
2021-12-22T19:36:54.000Z
/* Simple DirectMedia Layer Copyright (C) 1997-2021 Sam Lantinga <slouken@libsdl.org> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: 1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution. */ #include "../../SDL_internal.h" /* This is code that Windows uses to talk to WASAPI-related system APIs. This is for non-WinRT desktop apps. The C++/CX implementation of these functions, exclusive to WinRT, are in SDL_wasapi_winrt.cpp. The code in SDL_wasapi.c is used by both standard Windows and WinRT builds to deal with audio and calls into these functions. */ #if SDL_AUDIO_DRIVER_WASAPI && !defined(__WINRT__) #include "../../core/windows/SDL_windows.h" #include "SDL_audio.h" #include "SDL_timer.h" #include "../SDL_audio_c.h" #include "../SDL_sysaudio.h" #define COBJMACROS #include <mmdeviceapi.h> #include <audioclient.h> #include "SDL_wasapi.h" static const ERole SDL_WASAPI_role = eConsole; /* !!! FIXME: should this be eMultimedia? Should be a hint? */ /* This is global to the WASAPI target, to handle hotplug and default device lookup. */ static IMMDeviceEnumerator *enumerator = NULL; /* PropVariantInit() is an inline function/macro in PropIdl.h that calls the C runtime's memset() directly. Use ours instead, to avoid dependency. */ #ifdef PropVariantInit #undef PropVariantInit #endif #define PropVariantInit(p) SDL_zerop(p) /* handle to Avrt.dll--Vista and later!--for flagging the callback thread as "Pro Audio" (low latency). */ static HMODULE libavrt = NULL; typedef HANDLE(WINAPI *pfnAvSetMmThreadCharacteristicsW)(LPWSTR, LPDWORD); typedef BOOL(WINAPI *pfnAvRevertMmThreadCharacteristics)(HANDLE); static pfnAvSetMmThreadCharacteristicsW pAvSetMmThreadCharacteristicsW = NULL; static pfnAvRevertMmThreadCharacteristics pAvRevertMmThreadCharacteristics = NULL; /* Some GUIDs we need to know without linking to libraries that aren't available before Vista. */ static const CLSID SDL_CLSID_MMDeviceEnumerator = { 0xbcde0395, 0xe52f, 0x467c,{ 0x8e, 0x3d, 0xc4, 0x57, 0x92, 0x91, 0x69, 0x2e } }; static const IID SDL_IID_IMMDeviceEnumerator = { 0xa95664d2, 0x9614, 0x4f35,{ 0xa7, 0x46, 0xde, 0x8d, 0xb6, 0x36, 0x17, 0xe6 } }; static const IID SDL_IID_IMMNotificationClient = { 0x7991eec9, 0x7e89, 0x4d85,{ 0x83, 0x90, 0x6c, 0x70, 0x3c, 0xec, 0x60, 0xc0 } }; static const IID SDL_IID_IMMEndpoint = { 0x1be09788, 0x6894, 0x4089,{ 0x85, 0x86, 0x9a, 0x2a, 0x6c, 0x26, 0x5a, 0xc5 } }; static const IID SDL_IID_IAudioClient = { 0x1cb9ad4c, 0xdbfa, 0x4c32,{ 0xb1, 0x78, 0xc2, 0xf5, 0x68, 0xa7, 0x03, 0xb2 } }; static const PROPERTYKEY SDL_PKEY_Device_FriendlyName = { { 0xa45c254e, 0xdf1c, 0x4efd,{ 0x80, 0x20, 0x67, 0xd1, 0x46, 0xa8, 0x50, 0xe0, } }, 14 }; static char * GetWasapiDeviceName(IMMDevice *device) { /* PKEY_Device_FriendlyName gives you "Speakers (SoundBlaster Pro)" which drives me nuts. I'd rather it be "SoundBlaster Pro (Speakers)" but I guess that's developers vs users. Windows uses the FriendlyName in its own UIs, like Volume Control, etc. */ char *utf8dev = NULL; IPropertyStore *props = NULL; if (SUCCEEDED(IMMDevice_OpenPropertyStore(device, STGM_READ, &props))) { PROPVARIANT var; PropVariantInit(&var); if (SUCCEEDED(IPropertyStore_GetValue(props, &SDL_PKEY_Device_FriendlyName, &var))) { utf8dev = WIN_StringToUTF8W(var.pwszVal); } PropVariantClear(&var); IPropertyStore_Release(props); } return utf8dev; } /* We need a COM subclass of IMMNotificationClient for hotplug support, which is easy in C++, but we have to tapdance more to make work in C. Thanks to this page for coaching on how to make this work: https://www.codeproject.com/Articles/13601/COM-in-plain-C */ typedef struct SDLMMNotificationClient { const IMMNotificationClientVtbl *lpVtbl; SDL_atomic_t refcount; } SDLMMNotificationClient; static HRESULT STDMETHODCALLTYPE SDLMMNotificationClient_QueryInterface(IMMNotificationClient *this, REFIID iid, void **ppv) { if ((WIN_IsEqualIID(iid, &IID_IUnknown)) || (WIN_IsEqualIID(iid, &SDL_IID_IMMNotificationClient))) { *ppv = this; this->lpVtbl->AddRef(this); return S_OK; } *ppv = NULL; return E_NOINTERFACE; } static ULONG STDMETHODCALLTYPE SDLMMNotificationClient_AddRef(IMMNotificationClient *ithis) { SDLMMNotificationClient *this = (SDLMMNotificationClient *) ithis; return (ULONG) (SDL_AtomicIncRef(&this->refcount) + 1); } static ULONG STDMETHODCALLTYPE SDLMMNotificationClient_Release(IMMNotificationClient *ithis) { /* this is a static object; we don't ever free it. */ SDLMMNotificationClient *this = (SDLMMNotificationClient *) ithis; const ULONG retval = SDL_AtomicDecRef(&this->refcount); if (retval == 0) { SDL_AtomicSet(&this->refcount, 0); /* uhh... */ return 0; } return retval - 1; } /* These are the entry points called when WASAPI device endpoints change. */ static HRESULT STDMETHODCALLTYPE SDLMMNotificationClient_OnDefaultDeviceChanged(IMMNotificationClient *ithis, EDataFlow flow, ERole role, LPCWSTR pwstrDeviceId) { if (role != SDL_WASAPI_role) { return S_OK; /* ignore it. */ } /* Increment the "generation," so opened devices will pick this up in their threads. */ switch (flow) { case eRender: SDL_AtomicAdd(&WASAPI_DefaultPlaybackGeneration, 1); break; case eCapture: SDL_AtomicAdd(&WASAPI_DefaultCaptureGeneration, 1); break; case eAll: SDL_AtomicAdd(&WASAPI_DefaultPlaybackGeneration, 1); SDL_AtomicAdd(&WASAPI_DefaultCaptureGeneration, 1); break; default: SDL_assert(!"uhoh, unexpected OnDefaultDeviceChange flow!"); break; } return S_OK; } static HRESULT STDMETHODCALLTYPE SDLMMNotificationClient_OnDeviceAdded(IMMNotificationClient *ithis, LPCWSTR pwstrDeviceId) { /* we ignore this; devices added here then progress to ACTIVE, if appropriate, in OnDeviceStateChange, making that a better place to deal with device adds. More importantly: the first time you plug in a USB audio device, this callback will fire, but when you unplug it, it isn't removed (it's state changes to NOTPRESENT). Plugging it back in won't fire this callback again. */ return S_OK; } static HRESULT STDMETHODCALLTYPE SDLMMNotificationClient_OnDeviceRemoved(IMMNotificationClient *ithis, LPCWSTR pwstrDeviceId) { /* See notes in OnDeviceAdded handler about why we ignore this. */ return S_OK; } static HRESULT STDMETHODCALLTYPE SDLMMNotificationClient_OnDeviceStateChanged(IMMNotificationClient *ithis, LPCWSTR pwstrDeviceId, DWORD dwNewState) { IMMDevice *device = NULL; if (SUCCEEDED(IMMDeviceEnumerator_GetDevice(enumerator, pwstrDeviceId, &device))) { IMMEndpoint *endpoint = NULL; if (SUCCEEDED(IMMDevice_QueryInterface(device, &SDL_IID_IMMEndpoint, (void **) &endpoint))) { EDataFlow flow; if (SUCCEEDED(IMMEndpoint_GetDataFlow(endpoint, &flow))) { const SDL_bool iscapture = (flow == eCapture); if (dwNewState == DEVICE_STATE_ACTIVE) { char *utf8dev = GetWasapiDeviceName(device); if (utf8dev) { WASAPI_AddDevice(iscapture, utf8dev, pwstrDeviceId); SDL_free(utf8dev); } } else { WASAPI_RemoveDevice(iscapture, pwstrDeviceId); } } IMMEndpoint_Release(endpoint); } IMMDevice_Release(device); } return S_OK; } static HRESULT STDMETHODCALLTYPE SDLMMNotificationClient_OnPropertyValueChanged(IMMNotificationClient *this, LPCWSTR pwstrDeviceId, const PROPERTYKEY key) { return S_OK; /* we don't care about these. */ } static const IMMNotificationClientVtbl notification_client_vtbl = { SDLMMNotificationClient_QueryInterface, SDLMMNotificationClient_AddRef, SDLMMNotificationClient_Release, SDLMMNotificationClient_OnDeviceStateChanged, SDLMMNotificationClient_OnDeviceAdded, SDLMMNotificationClient_OnDeviceRemoved, SDLMMNotificationClient_OnDefaultDeviceChanged, SDLMMNotificationClient_OnPropertyValueChanged }; static SDLMMNotificationClient notification_client = { &notification_client_vtbl, { 1 } }; int WASAPI_PlatformInit(void) { HRESULT ret; /* just skip the discussion with COM here. */ if (!WIN_IsWindowsVistaOrGreater()) { return SDL_SetError("WASAPI support requires Windows Vista or later"); } if (FAILED(WIN_CoInitialize())) { return SDL_SetError("WASAPI: CoInitialize() failed"); } ret = CoCreateInstance(&SDL_CLSID_MMDeviceEnumerator, NULL, CLSCTX_INPROC_SERVER, &SDL_IID_IMMDeviceEnumerator, (LPVOID *) &enumerator); if (FAILED(ret)) { WIN_CoUninitialize(); return WIN_SetErrorFromHRESULT("WASAPI CoCreateInstance(MMDeviceEnumerator)", ret); } libavrt = LoadLibrary(TEXT("avrt.dll")); /* this library is available in Vista and later. No WinXP, so have to LoadLibrary to use it for now! */ if (libavrt) { pAvSetMmThreadCharacteristicsW = (pfnAvSetMmThreadCharacteristicsW) GetProcAddress(libavrt, "AvSetMmThreadCharacteristicsW"); pAvRevertMmThreadCharacteristics = (pfnAvRevertMmThreadCharacteristics) GetProcAddress(libavrt, "AvRevertMmThreadCharacteristics"); } return 0; } void WASAPI_PlatformDeinit(void) { if (enumerator) { IMMDeviceEnumerator_UnregisterEndpointNotificationCallback(enumerator, (IMMNotificationClient *) &notification_client); IMMDeviceEnumerator_Release(enumerator); enumerator = NULL; } if (libavrt) { FreeLibrary(libavrt); libavrt = NULL; } pAvSetMmThreadCharacteristicsW = NULL; pAvRevertMmThreadCharacteristics = NULL; WIN_CoUninitialize(); } void WASAPI_PlatformThreadInit(_THIS) { /* this thread uses COM. */ if (SUCCEEDED(WIN_CoInitialize())) { /* can't report errors, hope it worked! */ this->hidden->coinitialized = SDL_TRUE; } /* Set this thread to very high "Pro Audio" priority. */ if (pAvSetMmThreadCharacteristicsW) { DWORD idx = 0; this->hidden->task = pAvSetMmThreadCharacteristicsW(L"Pro Audio", &idx); } } void WASAPI_PlatformThreadDeinit(_THIS) { /* Set this thread back to normal priority. */ if (this->hidden->task && pAvRevertMmThreadCharacteristics) { pAvRevertMmThreadCharacteristics(this->hidden->task); this->hidden->task = NULL; } if (this->hidden->coinitialized) { WIN_CoUninitialize(); this->hidden->coinitialized = SDL_FALSE; } } int WASAPI_ActivateDevice(_THIS, const SDL_bool isrecovery) { LPCWSTR devid = this->hidden->devid; IMMDevice *device = NULL; HRESULT ret; if (devid == NULL) { const EDataFlow dataflow = this->iscapture ? eCapture : eRender; ret = IMMDeviceEnumerator_GetDefaultAudioEndpoint(enumerator, dataflow, SDL_WASAPI_role, &device); } else { ret = IMMDeviceEnumerator_GetDevice(enumerator, devid, &device); } if (FAILED(ret)) { SDL_assert(device == NULL); this->hidden->client = NULL; return WIN_SetErrorFromHRESULT("WASAPI can't find requested audio endpoint", ret); } /* this is not async in standard win32, yay! */ ret = IMMDevice_Activate(device, &SDL_IID_IAudioClient, CLSCTX_ALL, NULL, (void **) &this->hidden->client); IMMDevice_Release(device); if (FAILED(ret)) { SDL_assert(this->hidden->client == NULL); return WIN_SetErrorFromHRESULT("WASAPI can't activate audio endpoint", ret); } SDL_assert(this->hidden->client != NULL); if (WASAPI_PrepDevice(this, isrecovery) == -1) { /* not async, fire it right away. */ return -1; } return 0; /* good to go. */ } typedef struct { LPWSTR devid; char *devname; } EndpointItem; static int sort_endpoints(const void *_a, const void *_b) { LPWSTR a = ((const EndpointItem *) _a)->devid; LPWSTR b = ((const EndpointItem *) _b)->devid; if (!a && b) { return -1; } else if (a && !b) { return 1; } while (SDL_TRUE) { if (*a < *b) { return -1; } else if (*a > *b) { return 1; } else if (*a == 0) { break; } a++; b++; } return 0; } static void WASAPI_EnumerateEndpointsForFlow(const SDL_bool iscapture) { IMMDeviceCollection *collection = NULL; EndpointItem *items; UINT i, total; /* Note that WASAPI separates "adapter devices" from "audio endpoint devices" ...one adapter device ("SoundBlaster Pro") might have multiple endpoint devices ("Speakers", "Line-Out"). */ if (FAILED(IMMDeviceEnumerator_EnumAudioEndpoints(enumerator, iscapture ? eCapture : eRender, DEVICE_STATE_ACTIVE, &collection))) { return; } if (FAILED(IMMDeviceCollection_GetCount(collection, &total))) { IMMDeviceCollection_Release(collection); return; } items = (EndpointItem *) SDL_calloc(total, sizeof (EndpointItem)); if (!items) { return; /* oh well. */ } for (i = 0; i < total; i++) { EndpointItem *item = items + i; IMMDevice *device = NULL; if (SUCCEEDED(IMMDeviceCollection_Item(collection, i, &device))) { if (SUCCEEDED(IMMDevice_GetId(device, &item->devid))) { item->devname = GetWasapiDeviceName(device); } IMMDevice_Release(device); } } /* sort the list of devices by their guid so list is consistent between runs */ SDL_qsort(items, total, sizeof (*items), sort_endpoints); /* Send the sorted list on to the SDL's higher level. */ for (i = 0; i < total; i++) { EndpointItem *item = items + i; if ((item->devid) && (item->devname)) { WASAPI_AddDevice(iscapture, item->devname, item->devid); } SDL_free(item->devname); CoTaskMemFree(item->devid); } SDL_free(items); IMMDeviceCollection_Release(collection); } void WASAPI_EnumerateEndpoints(void) { WASAPI_EnumerateEndpointsForFlow(SDL_FALSE); /* playback */ WASAPI_EnumerateEndpointsForFlow(SDL_TRUE); /* capture */ /* if this fails, we just won't get hotplug events. Carry on anyhow. */ IMMDeviceEnumerator_RegisterEndpointNotificationCallback(enumerator, (IMMNotificationClient *) &notification_client); } void WASAPI_PlatformDeleteActivationHandler(void *handler) { /* not asynchronous. */ SDL_assert(!"This function should have only been called on WinRT."); } #endif /* SDL_AUDIO_DRIVER_WASAPI && !defined(__WINRT__) */ /* vi: set ts=4 sw=4 expandtab: */
34.512088
149
0.690632
26a6c722f6406b214bfc0872eab95a6c1b1f233c
1,309
h
C
pq-crypto/ntru_pq3/ntru_pq3_kem.h
PeterSpacek/s2n
aeba008641cf45d8abb5f27d15bfa6375b34a76f
[ "Apache-2.0" ]
1
2021-12-22T14:33:26.000Z
2021-12-22T14:33:26.000Z
pq-crypto/ntru_pq3/ntru_pq3_kem.h
PeterSpacek/s2n
aeba008641cf45d8abb5f27d15bfa6375b34a76f
[ "Apache-2.0" ]
null
null
null
pq-crypto/ntru_pq3/ntru_pq3_kem.h
PeterSpacek/s2n
aeba008641cf45d8abb5f27d15bfa6375b34a76f
[ "Apache-2.0" ]
null
null
null
#ifndef NTRU_PQ3_KEM_H #define NTRU_PQ3_KEM_H #include "crypto/pq3/types.h" #include "../pq_utils.h" // FireSaber #define NTRU_INDCPA_PUBLICKEYBYTES 1230 // if should be #define SABER_INDCPA_SECRETKEYBYTES 1590, but sk is stored in device, so s2n has only 4 bytes ID #define NTRU_INDCPA_SECRETKEYBYTES 4 #define NTRU_BYTES_CCA_DEC 1230 #define NTRU_KEYBYTES 32 // Keygenerate - pk is the public key // sk is the private key // Return 0 for success and !0 for failures. See types.h for failure codes int NTRU_pq3_crypto_kem_keypair(IN struct pq3_ctx * ctx, OUT unsigned char *pk, OUT unsigned char *sk); //Encapsulate - pk is the public key, // ct is a key encapsulation message (ciphertext), // ss is the shared secret. // Return 0 for success and !0 for failures. int NTRU_pq3_crypto_kem_enc(IN struct pq3_ctx * ctx, OUT unsigned char *ct, OUT unsigned char *ss, IN const unsigned char *pk); //Decapsulate - ct is a key encapsulation message (ciphertext), // sk is the private key, // ss is the shared secret // Return 0 for success and !0 for failures. int NTRU_pq3_crypto_kem_dec(IN struct pq3_ctx * ctx, OUT unsigned char *ss, IN const unsigned char *ct, IN const unsigned char *sk); #endif
38.5
133
0.699007
96fb458eacbd6bd0f3e531617304ce729e00669c
2,034
c
C
NAMD_2.12_Source/charm-6.7.1/src/libs/ck-libs/ampi/romio/adio/common/ad_end.c
scottkwarren/config-db
fb5c3da2465e5cff0ad30950493b11d452bd686b
[ "MIT" ]
1
2019-01-17T20:07:23.000Z
2019-01-17T20:07:23.000Z
NAMD_2.12_Source/charm-6.7.1/src/libs/ck-libs/ampi/romio/adio/common/ad_end.c
scottkwarren/config-db
fb5c3da2465e5cff0ad30950493b11d452bd686b
[ "MIT" ]
null
null
null
NAMD_2.12_Source/charm-6.7.1/src/libs/ck-libs/ampi/romio/adio/common/ad_end.c
scottkwarren/config-db
fb5c3da2465e5cff0ad30950493b11d452bd686b
[ "MIT" ]
null
null
null
/* -*- Mode: C; c-basic-offset:4 ; -*- */ /* * $Id$ * * Copyright (C) 1997 University of Chicago. * See COPYRIGHT notice in top-level directory. */ #include "adio.h" #include "adio_extern.h" void ADIO_End(int *error_code) { ADIOI_Flatlist_node *curr, *next; ADIOI_Malloc_async *tmp; ADIOI_Malloc_req *tmp1; /* FPRINTF(stderr, "reached end\n"); */ /* delete the flattened datatype list */ curr = ADIOI_Flatlist; while (curr) { if (curr->blocklens) ADIOI_Free(curr->blocklens); if (curr->indices) ADIOI_Free(curr->indices); next = curr->next; ADIOI_Free(curr); curr = next; } ADIOI_Flatlist = NULL; if (ADIOI_Async_list_head) { FPRINTF(stderr, "ADIO_End: Error! There are outstanding nonblocking I/O operations!\n"); MPI_Abort(MPI_COMM_WORLD, 1); } /* free list of available ADIOI_Async_nodes. */ while (ADIOI_Malloc_async_head) { ADIOI_Free(ADIOI_Malloc_async_head->ptr); tmp = ADIOI_Malloc_async_head; ADIOI_Malloc_async_head = ADIOI_Malloc_async_head->next; ADIOI_Free(tmp); } ADIOI_Async_avail_head = ADIOI_Async_avail_tail = NULL; ADIOI_Malloc_async_head = ADIOI_Malloc_async_tail = NULL; /* free all available request objects */ while (ADIOI_Malloc_req_head) { ADIOI_Free(ADIOI_Malloc_req_head->ptr); tmp1 = ADIOI_Malloc_req_head; ADIOI_Malloc_req_head = ADIOI_Malloc_req_head->next; ADIOI_Free(tmp1); } ADIOI_Malloc_req_head = ADIOI_Malloc_req_tail = NULL; /* free file, request, and info tables used for Fortran interface */ if (ADIOI_Ftable) ADIOI_Free(ADIOI_Ftable); if (ADIOI_Reqtable) ADIOI_Free(ADIOI_Reqtable); #ifndef HAVE_MPI_INFO if (MPIR_Infotable) ADIOI_Free(MPIR_Infotable); #endif *error_code = MPI_SUCCESS; } /* This is the delete callback function associated with ADIO_Init_keyval when MPI_COMM_WORLD is freed */ int ADIOI_End_call(MPI_Comm comm, int keyval, void *attribute_val, void *extra_state) { int error_code; ADIO_End(&error_code); return error_code; }
26.076923
89
0.716814
8c0fc58f55ef7ce840f89afcd22777134338beef
825
h
C
src/cluster/Cluster_SVs.h
Swappy012/Sniffles
76372474a3cfea1f488f0593eda1f9798506ef45
[ "MIT" ]
null
null
null
src/cluster/Cluster_SVs.h
Swappy012/Sniffles
76372474a3cfea1f488f0593eda1f9798506ef45
[ "MIT" ]
1
2020-10-06T05:36:51.000Z
2020-10-06T09:10:27.000Z
src/cluster/Cluster_SVs.h
Swappy012/Sniffles
76372474a3cfea1f488f0593eda1f9798506ef45
[ "MIT" ]
2
2019-03-05T13:57:02.000Z
2020-10-06T03:39:51.000Z
/* * Cluster_SVs.h * * Created on: Apr 28, 2016 * Author: fsedlaze */ #ifndef CLUSTER_CLUSTER_SVS_H_ #define CLUSTER_CLUSTER_SVS_H_ #include <iostream> #include <fstream> #include <string.h> #include <vector> #include <map> #include "../Paramer.h" struct __attribute__((packed)) name_str{ long read_name; int svs_id; }; struct combine_str{ int curr_id; int alt_id; int support; }; class Cluster_SVS{ private: std::map<long, std::vector<int> > parse_names_ids(int & max_ID) ; void update_SVs( std::vector<combine_str> & ids); //just because the pass is more efficient void add_id(int curr_id,int new_id, std::vector<combine_str> & ids); int find_id(int curr_id, std::vector<combine_str> & ids); public: Cluster_SVS(){ } ~Cluster_SVS(){ } void update_SVs(); }; #endif /* CLUSTER_CLUSTER_SVS_H_ */
19.642857
92
0.709091
1b1d1f9d00084cdcc570e6f6fe15e45937bac3c7
1,562
c
C
Practice/Template_static/rtthread/3.0.3/bsp/v2m_mps2_msh/RTE/RTOS/board.c
tang0-0/RT-Thread_Practice
2f0719295da2b1bcbcce82d597c4ccfdda454474
[ "MIT" ]
null
null
null
Practice/Template_static/rtthread/3.0.3/bsp/v2m_mps2_msh/RTE/RTOS/board.c
tang0-0/RT-Thread_Practice
2f0719295da2b1bcbcce82d597c4ccfdda454474
[ "MIT" ]
null
null
null
Practice/Template_static/rtthread/3.0.3/bsp/v2m_mps2_msh/RTE/RTOS/board.c
tang0-0/RT-Thread_Practice
2f0719295da2b1bcbcce82d597c4ccfdda454474
[ "MIT" ]
2
2019-10-31T16:47:03.000Z
2019-11-02T23:08:21.000Z
/* * File : application.c * This file is part of RT-Thread RTOS * COPYRIGHT (C) 2006, RT-Thread Development Team * * The license and distribution terms for this file may be * found in the file LICENSE in this distribution or at * http://www.rt-thread.org/license/LICENSE * * Change Logs: * Date Author Notes * 2018-02-24 Tanek the first version */ #include <rthw.h> #include <rtthread.h> #include "Device.h" // Keil::Board Support:V2M-MPS2:Common #include "RTE_Components.h" // Component selection #if defined(RT_USING_USER_MAIN) && defined(RT_USING_HEAP) void *rt_heap_begin_get(void) { extern int Image$$RTT_HEAP$$Base; return &Image$$RTT_HEAP$$Base; } void *rt_heap_end_get(void) { extern int Image$$RTT_HEAP$$ZI$$Limit; return &Image$$RTT_HEAP$$ZI$$Limit; } #endif /** * This function will initial STM32 board. */ void rt_hw_board_init() { SystemCoreClockUpdate(); SysTick_Config(SystemCoreClock / RT_TIMER_TICK_PER_SECOND); /* Generate interrupt each 10 ms */ /* Call components board initial (use INIT_BOARD_EXPORT()) */ #ifdef RT_USING_COMPONENTS_INIT rt_components_board_init(); #endif #if defined(RT_USING_CONSOLE) && defined(RT_USING_DEVICE) rt_console_set_device(RT_CONSOLE_DEVICE_NAME); #endif #if defined(RT_USING_USER_MAIN) && defined(RT_USING_HEAP) rt_system_heap_init(rt_heap_begin_get(), rt_heap_end_get()); #endif } void SysTick_Handler (void) { rt_interrupt_enter(); rt_tick_increase(); rt_interrupt_leave(); }
24.40625
103
0.703585
1479c519d43a6177dc1a18aa3f3144f798dd85ef
151
h
C
project522/src/component292/headers/component292/lib14.h
gradle/perf-native-large
af00fd258fbe9c7d274f386e46847fe12062cc71
[ "Apache-2.0" ]
2
2016-11-23T17:25:24.000Z
2016-11-23T17:25:27.000Z
project522/src/component292/headers/component292/lib14.h
gradle/perf-native-large
af00fd258fbe9c7d274f386e46847fe12062cc71
[ "Apache-2.0" ]
15
2016-09-15T03:19:32.000Z
2016-09-17T09:15:32.000Z
project522/src/component292/headers/component292/lib14.h
gradle/perf-native-large
af00fd258fbe9c7d274f386e46847fe12062cc71
[ "Apache-2.0" ]
2
2019-11-09T16:26:55.000Z
2021-01-13T10:51:09.000Z
#ifndef PROJECT_HEADER_component292_14_H #define PROJECT_HEADER_component292_14_H int component292_14(); #endif // PROJECT_HEADER_component292_14_H
18.875
42
0.86755
1b5b31ef7ef13f1905ba081e4347dc9dce1c3965
3,166
h
C
Dep/HueSDK/phone/simulator/HueSDK.framework/Headers/PHSGroup.h
anexia-it/anexia-showcase-app-ios
0676439956e67a8dcb7e02e1c1f2380c4b52ec23
[ "MIT" ]
10
2020-11-07T06:44:19.000Z
2022-01-25T22:36:14.000Z
Dep/HueSDK/phone/simulator/HueSDK.framework/Headers/PHSGroup.h
anexia-it/anexia-showcase-app-ios
0676439956e67a8dcb7e02e1c1f2380c4b52ec23
[ "MIT" ]
5
2020-12-03T21:54:02.000Z
2021-02-24T15:53:53.000Z
Frameworks/HueSDK.framework/Headers/PHSGroup.h
thatcherclough/CoverFlow
4eb30c3e1a5463ebdad2693e15c983375c003d0a
[ "MIT" ]
2
2020-12-04T08:23:25.000Z
2021-03-23T01:46:37.000Z
/******************************************************************************* Copyright (C) 2017 Philips Lighting Holding B.V. All Rights Reserved. ********************************************************************************/ #import "PHSBridgeResource.h" #import "PHSReturnCode.h" #import "PHSBridgeResponseCompletionHandler.h" #import "PHSBridgeConnectionType.h" #import "PHSGroupType.h" #import "PHSGroupClass.h" #import "PHSGroupState.h" #import "PHSGroupStream.h" #import "PHSGroupLightLocation.h" #import "PHSLightPoint.h" @class PHSBridge; @interface PHSGroup : PHSBridgeResource /** The identifiers of the lights controlled by this group No MSL support for setter */ @property (strong, nonatomic) NSArray<NSString*> *lightIdentifiers; /** The type of this group */ @property (nonatomic, assign) PHSGroupType type; /** The group class, which is only set when the type == PHSGroupTypeGroup or type == PHSGroupTypeEntertainment */ @property (nonatomic, assign) PHSGroupClass groupClass; /** The model ID that uniquely identifies the hardware model of the luminaire for the given manufacturer. Only present for automatically created Luminaires, */ @property (nonatomic, strong, readonly) NSString *modelId; /** Whether the sensor can be recycled by the bridge Can only be set on creation */ @property (strong, nonatomic) NSNumber *recycle; /** State of the group */ @property (strong, nonatomic, readonly) PHSGroupState *groupState; /** Stream object for entertainment groups */ @property (strong, nonatomic) PHSGroupStream *stream; /** Map with light locations */ @property (strong, nonatomic, readonly) NSDictionary<NSString*, PHSGroupLightLocation*> *lightLocations; /** Apply "action" to a group of lights @note In case of applying a light state, a PHSLightState should be passed as action @note In case of recalling a scene, a PHSScene should be passed as action @param action The action to preform (e.g. set state, or recall scene) @param allowedConnectionTypes Allowed connections to use for the operation @param completionHandler Block to be called after apply */ - (void)apply:(PHSDomainObject*)action allowedConnectionTypes:(PHSBridgeConnectionType)allowedConnectionTypes completionHandler:(PHSBridgeResponseCompletionHandler)completionHandler; /** Set the lights for this group @note MSL supported */ - (void)setLights:(NSArray*)lights; /** Add light @note MSL supported */ - (void)addLight:(PHSLightPoint*)light; /** Remove light @note MSL supported @return true if the light was in group and deleted */ - (BOOL)removeLight:(PHSLightPoint*)light; /** Set light locations for the given lights @note MSL supported */ - (void)setLightLocationsWithMap:(NSMapTable<PHSLightPoint*, PHSGroupLightLocation *> *)lightLocations; /** Add light location. If a location already exists for the given light, it will be overwritten @note MSL supported */ - (void)addLightLocation:(PHSGroupLightLocation *)lightLocation forLight:(PHSLightPoint *)light; /** Remove light location from the list @note MSL supported */ - (BOOL)removeLightLocation:(PHSLightPoint *)light; @end
28.522523
182
0.720783
15429cdf637f09e72f8361781e48537e5a0e410c
2,715
h
C
Application/include/tuya_battery_monitor.h
tuya/tuya-iotos-embeded-demo-ble-smart-pill-box
fe0f5b9437b9c2cd57d41886b1b3f8a4c7aa19ae
[ "MIT" ]
null
null
null
Application/include/tuya_battery_monitor.h
tuya/tuya-iotos-embeded-demo-ble-smart-pill-box
fe0f5b9437b9c2cd57d41886b1b3f8a4c7aa19ae
[ "MIT" ]
null
null
null
Application/include/tuya_battery_monitor.h
tuya/tuya-iotos-embeded-demo-ble-smart-pill-box
fe0f5b9437b9c2cd57d41886b1b3f8a4c7aa19ae
[ "MIT" ]
null
null
null
/** * @file tuya_battery_monitor.h * @author zzw * @email: huanling.zhang@tuya.com * @brief tuya_battery_monitor module is used to detect battery power * @version 0.1 * @date 2021-08-26 * * @copyright Copyright (c) tuya.inc 2021 * */ #ifndef __TUYA_BATTERY_MONITOR_H__ #define __TUYA_BATTERY_MONITOR_H__ /********************************************************************* ********************************includes****************************** *********************************************************************/ #include "stdint.h" /********************************************************************* ****************************private includes************************** *********************************************************************/ #ifdef __cplusplus extern "C" { #endif /********************************************************************* ******************************macro define**************************** *********************************************************************/ #define ADC_SELECT TY_GPIOA_22 /********************************************************************* ****************************typedef define**************************** *********************************************************************/ typedef enum { pet_10 = 3700, pet_20 = 3750, pet_30 = 3800, pet_40 = 3850, pet_50 = 3900, pet_60 = 3950, pet_70 = 4000, pet_80 = 4050, pet_90 = 4100, pet_100 = 4150 }TY_BAT_VALUE_E; typedef enum { _10p = 0, _20p, _30p, _40p, _50p, _60p, _70p, _80p, _90p, _100p, }TY_OLED_DISPLAY_E; /********************************************************************* ****************************variable define*************************** *********************************************************************/ /********************************************************************* ****************************function define*************************** *********************************************************************/ /** * @function:tuya_batmon_batval_init * @brief: adc config * @param[in]: adc_channel -> choose adc channel * @return: none */ int tuya_batmon_batval_init(uint8_t adc_channel); /** * @function:tuya_batmon_bat_level_report * @brief: get battery value, report to APP * @param[in]: none * @return: none */ int tuya_batmon_bat_level_report(void); /** * @function:tuya_batmon_batval_uninit * @brief: cancel adc * @param[in]: none * @return: none */ void tuya_batmon_batval_uninit(void); #ifdef __cplusplus } #endif /* __cplusplus */ #endif /*__TUYA_BATTERY_MONITOR_H__*/
26.359223
71
0.365009
4b12560f26bacc4437cd0afaec5c5cbc75f1d745
2,225
c
C
nf/lib/stubs/containers/batcher-stub.c
matteobaccan/vignat
96c0141411cd218cb9c2665ccf2e432f0f3bec0b
[ "MIT" ]
74
2017-08-23T17:01:36.000Z
2021-12-20T06:03:19.000Z
dpdk-nfs/nf/lib/stubs/containers/batcher-stub.c
dslab-epfl/pix
bab9226ad307ec7f1f548e00f216de9c80b7be48
[ "MIT" ]
null
null
null
dpdk-nfs/nf/lib/stubs/containers/batcher-stub.c
dslab-epfl/pix
bab9226ad307ec7f1f548e00f216de9c80b7be48
[ "MIT" ]
10
2017-09-28T13:14:35.000Z
2022-01-26T09:18:11.000Z
#include "lib/containers/batcher.h" #include <klee/klee.h> int alloc_len; int was_read; BATCHER_EL_TYPE alloc_value[BATCHER_CAPACITY]; struct Batcher* batcher_initialized; void batcher_init(struct Batcher* bat_out) { // No need to trace this one, as it will be called from the inside of // another traced function, specifically: // array1_init -> array2_init -> batcher_init alloc_len = klee_range(0, BATCHER_CAPACITY, "batcher_alloc_len"); klee_make_symbolic(alloc_value, BATCHER_CAPACITY*sizeof(BATCHER_EL_TYPE), "batcher_alloc_value"); was_read = 0; batcher_initialized = bat_out; } void batcher_push(struct Batcher *bat, BATCHER_EL_TYPE val) { klee_trace_ret(); klee_trace_param_just_ptr(bat, sizeof(struct Batcher), "bat"); klee_trace_param_just_ptr(val, sizeof(struct rte_mbuf), "val"); klee_assert(bat == batcher_initialized); klee_assert(alloc_len < BATCHER_CAPACITY); alloc_len += 1; // Forget the value itself. } void batcher_take_all(struct Batcher *bat, BATCHER_EL_TYPE **vals_out, int *count_out) { klee_trace_ret(); klee_trace_param_just_ptr(bat, sizeof(struct Batcher), "bat"); //TODO: A proper tracing here. klee_trace_param_just_ptr(vals_out, sizeof(BATCHER_EL_TYPE*), "vals_out"); klee_trace_param_ptr(count_out, sizeof(int), "count_out"); klee_assert(bat == batcher_initialized); klee_assert(was_read == 0); was_read = 1; *vals_out = alloc_value; *count_out = alloc_len; alloc_len = 0; } void batcher_empty(struct Batcher *bat) { klee_trace_ret(); klee_trace_param_just_ptr(bat, sizeof(struct Batcher), "bat"); alloc_len = 0; } int batcher_full(struct Batcher *bat) { klee_trace_ret(); klee_trace_param_just_ptr(bat, sizeof(struct Batcher), "bat"); klee_assert(bat == batcher_initialized); // Explicit decision here, for validator to recognize 2 possibilities. if (BATCHER_CAPACITY <= alloc_len) return 1; return 0; //return BATCHER_CAPACITY <= alloc_len; } int batcher_is_empty(struct Batcher *bat) { klee_trace_ret(); klee_trace_param_just_ptr(bat, sizeof(struct Batcher), "bat"); klee_assert(bat == batcher_initialized); return alloc_len <= 0; }
28.525641
76
0.72764
afb0e8aa7f9a70b22f224c6238662ce0b07979e1
2,555
h
C
services/distributeddataservice/libs/distributeddb/interfaces/include/kv_store_result_set.h
openharmony-gitee-mirror/distributeddatamgr_datamgr
3f17e1a6a6e0f83f3a346e87073b39dd949b0c9e
[ "Apache-2.0" ]
null
null
null
services/distributeddataservice/libs/distributeddb/interfaces/include/kv_store_result_set.h
openharmony-gitee-mirror/distributeddatamgr_datamgr
3f17e1a6a6e0f83f3a346e87073b39dd949b0c9e
[ "Apache-2.0" ]
null
null
null
services/distributeddataservice/libs/distributeddb/interfaces/include/kv_store_result_set.h
openharmony-gitee-mirror/distributeddatamgr_datamgr
3f17e1a6a6e0f83f3a346e87073b39dd949b0c9e
[ "Apache-2.0" ]
1
2021-09-13T12:07:54.000Z
2021-09-13T12:07:54.000Z
/* * Copyright (c) 2021 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ #ifndef KV_STORE_RESULT_SET_H #define KV_STORE_RESULT_SET_H #include "types.h" namespace DistributedDB { class KvStoreResultSet { public: DB_API virtual ~KvStoreResultSet() {}; // Returns the count of rows in the result set. DB_API virtual int GetCount() const = 0; // Returns the current read position of the result set. DB_API virtual int GetPosition() const = 0; // Move the read position to the first row, return false if the result set is empty. DB_API virtual bool MoveToFirst() = 0; // Move the read position to the last row, return false if the result set is empty. DB_API virtual bool MoveToLast() = 0; // Move the read position to the next row, return false if the result set is empty // or the read position is already past the last entry in the result set. DB_API virtual bool MoveToNext() = 0; // Move the read position to the previous row, return false if the result set is empty // or the read position is already before the first entry in the result set. DB_API virtual bool MoveToPrevious() = 0; // Move the read position by a relative amount from the current position. DB_API virtual bool Move(int offset) = 0; // Move the read position to an absolute position value. DB_API virtual bool MoveToPosition(int position) = 0; // Returns whether the read position is pointing to the first row. DB_API virtual bool IsFirst() const = 0; // Returns whether the read position is pointing to the last row. DB_API virtual bool IsLast() const = 0; // Returns whether the read position is before the first row. DB_API virtual bool IsBeforeFirst() const = 0; // Returns whether the read position is after the last row DB_API virtual bool IsAfterLast() const = 0; // Get a key-value entry. DB_API virtual DBStatus GetEntry(Entry &entry) const = 0; }; } // namespace DistributedDB #endif // KV_STORE_RESULT_SET_H
37.028986
90
0.717808
4b68fbcf6eb9989788cff4c8045aa1e4ca48b9ec
1,492
h
C
System/Library/PrivateFrameworks/Preferences.framework/_PSDeferredUpdates.h
lechium/tvOS10Headers
f0c99993da6cc502d36fdc5cb4ff90d94b12bf67
[ "MIT" ]
4
2017-03-23T00:01:54.000Z
2018-08-04T20:16:32.000Z
System/Library/PrivateFrameworks/Preferences.framework/_PSDeferredUpdates.h
lechium/tvOS10Headers
f0c99993da6cc502d36fdc5cb4ff90d94b12bf67
[ "MIT" ]
null
null
null
System/Library/PrivateFrameworks/Preferences.framework/_PSDeferredUpdates.h
lechium/tvOS10Headers
f0c99993da6cc502d36fdc5cb4ff90d94b12bf67
[ "MIT" ]
4
2017-05-14T16:23:26.000Z
2019-12-21T15:07:59.000Z
/* * This header is generated by classdump-dyld 1.0 * on Wednesday, March 22, 2017 at 9:04:55 AM Mountain Standard Time * Operating System: Version 10.1 (Build 14U593) * Image Source: /System/Library/PrivateFrameworks/Preferences.framework/Preferences * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limneos. */ @class NSMutableSet, PSSpecifierUpdates; @interface _PSDeferredUpdates : NSObject { BOOL _invalidatedSpecifiers; NSMutableSet* _searchEntries; PSSpecifierUpdates* _specifierUpdates; } @property (nonatomic,retain) NSMutableSet * searchEntries; //@synthesize searchEntries=_searchEntries - In the implementation block @property (nonatomic,retain) PSSpecifierUpdates * specifierUpdates; //@synthesize specifierUpdates=_specifierUpdates - In the implementation block @property (assign,nonatomic) BOOL invalidatedSpecifiers; //@synthesize invalidatedSpecifiers=_invalidatedSpecifiers - In the implementation block +(id)deferredUpdatesWithEntries:(id)arg1 specifierUpdates:(id)arg2 ; +(id)deferredInvalidationUpdatesWithEntries:(id)arg1 ; -(id)initWithSearchEntries:(id)arg1 specifierUpdates:(id)arg2 invalidatedSpecifiers:(BOOL)arg3 ; -(NSMutableSet *)searchEntries; -(void)setSearchEntries:(NSMutableSet *)arg1 ; -(PSSpecifierUpdates *)specifierUpdates; -(void)setSpecifierUpdates:(PSSpecifierUpdates *)arg1 ; -(BOOL)invalidatedSpecifiers; -(void)setInvalidatedSpecifiers:(BOOL)arg1 ; @end
43.882353
169
0.77882
4b7c1c85228afafb26b8f42dfe25faf78c559479
224
h
C
OSLibrary/addressbook/addressbookTests/addressbookTests.h
madcato/OSLibrary
febb69edfee2f4aca0a9073fb8881ce2bc0daedf
[ "MIT" ]
1
2016-03-06T21:32:16.000Z
2016-03-06T21:32:16.000Z
OSLibrary/addressbook cloudkit/addressbookTests/addressbookTests.h
madcato/OSLibrary
febb69edfee2f4aca0a9073fb8881ce2bc0daedf
[ "MIT" ]
3
2016-08-18T08:19:33.000Z
2016-08-18T08:20:53.000Z
OSLibrary/addressbook/addressbookTests/addressbookTests.h
madcato/OSLibrary
febb69edfee2f4aca0a9073fb8881ce2bc0daedf
[ "MIT" ]
null
null
null
// // addressbookTests.h // addressbookTests // // Created by Daniel Vela on 6/12/13. // Copyright (c) 2013 Daniel Vela. All rights reserved. // #import <XCTest/XCTest.h> @interface addressbookTests : XCTestCase @end
16
56
0.700893
aa055337ee556dd3dc7aecd3c5fceb16fd673d17
1,764
h
C
audio/audio.h
etodt/RoboTeamA-VRI-LARC-2019
eb82bd8cecd97097e7f82931e2c4a1f939a34587
[ "Apache-2.0" ]
3
2021-05-21T13:48:12.000Z
2021-11-30T06:23:38.000Z
audio/audio.h
etodt/RoboTeamA-VRI-LARC-2019
eb82bd8cecd97097e7f82931e2c4a1f939a34587
[ "Apache-2.0" ]
null
null
null
audio/audio.h
etodt/RoboTeamA-VRI-LARC-2019
eb82bd8cecd97097e7f82931e2c4a1f939a34587
[ "Apache-2.0" ]
1
2020-01-15T16:50:59.000Z
2020-01-15T16:50:59.000Z
/* Optional communication protocol for 2015 RoboCup 3D simulation drop-in player challenge */ #ifndef _AUDIO_H #define _AUDIO_H #include <string> #include <vector> // Communication alphabet must have 64 symbols. const std::string commAlphabet = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789*#"; /*-------------------------------Utilities---------------------------------------------*/ std::vector<int> intToBits(const int &n, const int &numBits); std::vector<int> intToBits(const unsigned long long &n, const int &numBits); int bitsToInt(const std::vector<int> &bits, const int &start, const int &end); /*-------------------------------Encoding---------------------------------------------*/ bool makeSayMessage(const int &uNum, const double &currentServerTime, const double &ballLastSeenServerTime, const double &ballX, const double &ballY, const double &myX, const double &myY, const bool &fFallen, std::string &message); bool dataToBits(const double &time, const double &ballLastSeenTime, const double &ballX, const double &ballY, const double &myX, const double &myY, const bool &fFallen, std::vector<int> &bits); bool bitsToString(const std::vector<int> &bits, std::string &message); /*-------------------------------Decoding---------------------------------------------*/ bool processHearMessage(const std::string &message, const double &heardServerTime, int &uNum, double &ballLastSeenServerTime, double &ballX, double &ballY, double &agentX, double &agentY, bool &fFallen, double &time); bool bitsToData(const std::vector<int> &bits, double &time, double &ballLastSeenTime, double &ballX, double &ballY, double &agentX, double &agentY, bool &fFallen); bool stringToBits(const std::string &message, std::vector<int> &bits); #endif
56.903226
231
0.6678
5bbd221194d0769891e6851169e9c257f0934c48
19,574
c
C
ds/nw/nwscript/ps40db.c
npocmaka/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
17
2020-11-13T13:42:52.000Z
2021-09-16T09:13:13.000Z
ds/nw/nwscript/ps40db.c
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
2
2020-10-19T08:02:06.000Z
2020-10-19T08:23:18.000Z
ds/nw/nwscript/ps40db.c
sancho1952007/Windows-Server-2003
5c6fe3db626b63a384230a1aa6b92ac416b0765f
[ "Unlicense" ]
14
2020-11-14T09:43:20.000Z
2021-08-28T08:59:57.000Z
/*++ Copyright (c) 1995 Microsoft Corporation Module Name: psndsdb.c Abstract: Read the Print Configuration Attributes $Log: N:\NT\PRIVATE\NW4\NWSCRIPT\VCS\PS40DB.C $ * * Rev 1.4 10 Apr 1996 14:23:28 terryt * Hotfix for 21181hq * * Rev 1.4 12 Mar 1996 19:55:22 terryt * Relative NDS names and merge * * Rev 1.3 04 Jan 1996 18:57:36 terryt * Bug fixes reported by MS * * Rev 1.2 22 Dec 1995 14:26:22 terryt * Add Microsoft headers * * Rev 1.1 20 Nov 1995 15:09:46 terryt * Context and capture changes * * Rev 1.0 15 Nov 1995 18:07:52 terryt * Initial revision. --*/ #include "common.h" extern DWORD SwapLong(DWORD number); extern char *TYPED_USER_NAME; unsigned int PS40GetJobName( unsigned int NDSCaptureFlag, unsigned short SearchFlag, unsigned char *pOwner, unsigned char *pJobName, PPS_JOB_RECORD pJobRecord, unsigned char GetDefault ); #include <pshpack1.h> #define NWPS_JOB_NAME_SIZE 32 /* 31 bytes and a '\0' */ #define NWPS_FORM_NAME_SIZE 12 /* 12 bytes and a '\0' */ #define NWPS_BANNER_NAME_SIZE 12 /* 12 bytes and a '\0' */ #define NWPS_BANNER_FILE_SIZE 12 /* 12 bytes and a '\0' */ #define NWPS_DEVI_NAME_SIZE 32 /* 32 bytes and a '\0' */ #define NWPS_MODE_NAME_SIZE 32 /* 32 bytes and a '\0' */ #define NWPS_BIND_NAME_SIZE 48 #define NWPS_MAX_NAME_SIZE 514 /* // NWPS_Job_Old_Db_Hdr is the first record in the 4.0 PrnConDB database. // It contains the following information about the database: // The version number, // the number of NWPS_Job_Rec records in PrnConDB, // the name of the default print job configuration and // the name of the job record owner. */ typedef struct { char text[ 76 ]; /* Printcon database. Version 4.0 */ char DefaultJobName[ 32 ]; /* Name of default Job */ char Owner[ 256 ]; /* owner of the job record */ WORD NumberOfRecords; /* # of NWPS_Job_Rec's in PrnConDB */ WORD NumberOfBlocks; /* # of 50-(NWPS_Job_Name_Rec) blocks */ BYTE MajorVersion; /* 4 */ BYTE MinorVersion; /* 0 */ } PRINTCON_40_HEADER; #define PRINTCON_40_HEADER_SIZE sizeof(PRINTCON_40_HEADER) /* // NWPS_Job_41_Db_Hdr is the first record in the 4.1 PrnConDB database. // It contains the following information about the database: // The version number, // the number of NWPS_Job_Rec records in PrnConDB, // the name of the default print job configuration and // the name of the job record owner IN UNICODE. */ typedef struct { char text[ 76 ]; /* Printcon database. Version 4.1 */ char DefaultJobName[ 32 ]; /* Name of default Job */ char unused[ 256 ]; /* no longer used. */ WORD NumberOfRecords; /* # of NWPS_Job_Rec's in PrnConDB */ WORD NumberOfBlocks; /* # of 50-(NWPS_Job_Name_Rec) blocks */ BYTE MajorVersion; /* 4 */ BYTE MinorVersion; /* 1 unicode defaultPJOwner etc. */ WORD Owner[ 256 ]; /* owner of the default job record */ } PRINTCON_41_HEADER; #define PRINTCON_41_HEADER_SIZE sizeof(PRINTCON_41_HEADER) /* // NWPS_Job_Name_Rec is the type of record found in the // second section of the PrnConDB database. Each one of // these records contains the name of each NWPS_Job_Rec // and a pointer to their location in the third section of // the database. There is space set aside in this second // section for fifty NWPS_Job_Name_Rec records; if this // limit is exceeded then another fifty-record block following // the first one is allocated after the third section of the // database is moved down to make room for the expansion. */ typedef struct { char JobName[ NWPS_JOB_NAME_SIZE ]; /* 1 - 31 chars long + 0 */ long JobRecordOffset; /* Offset of the record // (from the beginning // of the 3rd section for 4.0 // databases and from the start // of the file for pre-4.0) */ } JOB_NAME_AREA; #define JOB_NAME_AREA_SIZE sizeof(JOB_NAME_AREA) typedef struct { union { struct { DWORD DataType : 1; /* 0=Byte stream 1 = Text */ DWORD FormFeed : 1; /* 0 = FF; 1 = suppress FF */ DWORD NotifyWhenDone : 1; /* 0 = no, 1 = yes */ DWORD BannerFlag : 1; /* 0 = no, 1 = yes */ DWORD AutoEndCap : 1; /* 0 = no, 1 = yes */ DWORD TimeOutFlag: 1; /* 0 = no, 1 = yes */ DWORD SystemType : 3; /* 0 = bindery 1 = NDS */ DWORD Destination: 3; /* 0 = queue 1 = printer */ DWORD unknown : 20; }; DWORD PrintJobFlags; }; WORD NumberOfCopies; /* 1 - 65,000 */ WORD TimeoutCount; /* 1 - 1,000 */ BYTE TabSize; /* 1 - 18 */ BYTE LocalPrinter; /* 0=Lpt1, 1=Lpt2, 2=Lpt3 etc. */ char FormName[ NWPS_FORM_NAME_SIZE + 2 ]; /* 1-12 chars */ char Name[ NWPS_BANNER_NAME_SIZE + 2 ]; /* 1-12 chars */ char BannerName[ NWPS_BANNER_FILE_SIZE + 2 ]; /* 1-12 chars */ char Device[ NWPS_DEVI_NAME_SIZE + 2 ]; /* 1-32 chars */ char Mode[ NWPS_MODE_NAME_SIZE + 2 ]; /* 1-32 chars */ union { struct { /* pad structures on even boundries */ char Server[ NWPS_BIND_NAME_SIZE + 2 ]; /* 2-48 chars */ char QueueName[ NWPS_BIND_NAME_SIZE + 2 ]; /* 1-48 chars */ char PrintServer[ NWPS_BIND_NAME_SIZE + 2 ]; /* 1-48 chars */ } NonDS; char DSObjectName[ NWPS_MAX_NAME_SIZE ]; } u; BYTE reserved[390]; /* Adds up to 1024 total (was 1026) */ } JOB_RECORD_AREA; #define JOB_RECORD_AREA_SIZE sizeof(JOB_RECORD_AREA) #include <poppack.h> /*++ ******************************************************************* PS40JobGetDefault Routine Description: Get the default print job configuration from 40. Arguments: NDSCaptureFlag SearchFlag = pOwner = pJobName = A pointer to return the default job configuration name. pJobRecord = A pointer to return the default job configuration. Return Value: SUCCESSFUL 0x0000 PS_ERR_BAD_VERSION 0x7770 PS_ERR_GETTING_DEFAULT 0x7773 PS_ERR_OPENING_DB 0x7774 PS_ERR_READING_DB 0x7775 PS_ERR_READING_RECORD 0x7776 PS_ERR_INTERNAL_ERROR 0x7779 PS_ERR_NO_DEFAULT_SPECIFIED 0x777B INVALID_CONNECTION 0x8801 ******************************************************************* --*/ unsigned int PS40JobGetDefault( unsigned int NDSCaptureFlag, unsigned short SearchFlag, unsigned char *pOwner, unsigned char *pJobName, PPS_JOB_RECORD pJobRecord ) { return PS40GetJobName( NDSCaptureFlag, SearchFlag, pOwner, pJobName, pJobRecord, TRUE); } /*++ ******************************************************************* PS40JobRead Routine Description: Get the print job configuration from 40. Arguments: NDSCaptureFlag = pOwner = pJobName = A pointer to return the default job configuration name. pJobRecord = A pointer to return the default job configuration. Return Value: SUCCESSFUL 0x0000 PS_ERR_BAD_VERSION 0x7770 PS_ERR_GETTING_DEFAULT 0x7773 PS_ERR_OPENING_DB 0x7774 PS_ERR_READING_DB 0x7775 PS_ERR_READING_RECORD 0x7776 PS_ERR_INTERNAL_ERROR 0x7779 PS_ERR_NO_DEFAULT_SPECIFIED 0x777B INVALID_CONNECTION 0x8801 ******************************************************************* --*/ unsigned int PS40JobRead( unsigned int NDSCaptureFlag, unsigned char *pOwner, unsigned char *pJobName, PPS_JOB_RECORD pJobRecord ) { return PS40GetJobName( NDSCaptureFlag, 0, pOwner, pJobName, pJobRecord, FALSE); } /*++ ******************************************************************* PS40GetJobName Routine Description: Common routine to get the print job configuration from 40. Arguments: NDSCaptureFlag = SearchFlag = pOwner = pJobName = A pointer to return the default job configuration name. pJobRecord = A pointer to return the default job configuration. GetDefault = TRUE = get the default job name, FALSE = Don't get the default job name. Return Value: SUCCESSFUL 0x0000 PS_ERR_BAD_VERSION 0x7770 PS_ERR_GETTING_DEFAULT 0x7773 PS_ERR_OPENING_DB 0x7774 PS_ERR_READING_DB 0x7775 PS_ERR_READING_RECORD 0x7776 PS_ERR_INTERNAL_ERROR 0x7779 PS_ERR_NO_DEFAULT_SPECIFIED 0x777B INVALID_CONNECTION 0x8801 ******************************************************************* --*/ unsigned int PS40GetJobName( unsigned int NDSCaptureFlag, unsigned short SearchFlag, unsigned char *pOwner, unsigned char *pJobName, PPS_JOB_RECORD pJobRecord, unsigned char GetDefault ) { unsigned char *pSearchJobName; unsigned long ObjectId; HANDLE stream = NULL; unsigned int Count; unsigned int Bytes; unsigned int RetCode = 0; unsigned int ConnectionNumber; JOB_NAME_AREA JobNameArea; JOB_RECORD_AREA JobRecord; PRINTCON_40_HEADER PrintConHeader; unsigned int Version40 = FALSE; unsigned int ConnectionHandle; unsigned char MailDirPath[NCP_MAX_PATH_LENGTH]; unsigned char TempJobName[33]; PBYTE JobContext = NULL; unsigned FileSize; // TRACKING Printer names can be used instead of queues // Must lookup "default print queue" if NT doesn't if ( NDSCaptureFlag ) { if ( !GetDefault ) { JobContext = strchr( pJobName, ':' ); if ( JobContext ) { *JobContext = '\0'; strncpy( TempJobName, pJobName, 32 ); TempJobName[32] = 0; *JobContext++ = ':'; pJobName = TempJobName; } } if ( JobContext ) { if (NDSfopenStream ( JobContext, "Print Job Configuration", &stream, &FileSize )) { RetCode = PS_ERR_OPENING_DB; goto CommonExit; } } else { if (NDSfopenStream ( TYPED_USER_NAME, "Print Job Configuration", &stream, &FileSize)) { PBYTE p; for ( p = TYPED_USER_NAME; p ; p = strchr ( p, '.' ) ) { p++; if ( *p == 'O' && *(p+1) == 'U' && *(p+2) == '=' ) break; if ( *p == 'O' && *(p+1) == '=' ) break; } if (NDSfopenStream ( p, "Print Job Configuration", &stream, &FileSize)) { RetCode = PS_ERR_OPENING_DB; goto CommonExit; } } } } else { if (!CGetDefaultConnectionID (&ConnectionHandle)) { RetCode = PS_ERR_OPENING_DB; goto CommonExit; } RetCode = GetConnectionNumber(ConnectionHandle, &ConnectionNumber); if (RetCode) { goto CommonExit; } RetCode = GetBinderyObjectID (ConnectionHandle, LOGIN_NAME, OT_USER, &ObjectId); if (RetCode) { goto CommonExit; } /** Build the path to open the file **/ sprintf(MailDirPath, "SYS:MAIL/%lX/PRINTJOB.DAT", SwapLong(ObjectId)); stream = CreateFileA( NTNWtoUNCFormat( MailDirPath ), GENERIC_READ, FILE_SHARE_READ, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL ); if (stream == INVALID_HANDLE_VALUE) { sprintf(MailDirPath, "SYS:PUBLIC/PRINTJOB.DAT"); stream = CreateFileA( NTNWtoUNCFormat(MailDirPath), GENERIC_READ, FILE_SHARE_READ, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL ); if (stream == INVALID_HANDLE_VALUE) { RetCode = PS_ERR_OPENING_DB; goto CommonExit; } } } if ( !ReadFile( stream, (PBYTE) &PrintConHeader, PRINTCON_40_HEADER_SIZE, &Bytes, NULL ) ) { RetCode = PS_ERR_INTERNAL_ERROR; goto CommonExit; } if (Bytes < PRINTCON_40_HEADER_SIZE) { if ( !( NDSCaptureFlag && Bytes) ) { RetCode = PS_ERR_INTERNAL_ERROR; goto CommonExit; } } /** Check the version number **/ if ( PrintConHeader.MajorVersion != 4 ) { RetCode = PS_ERR_BAD_VERSION; goto CommonExit; } if ( PrintConHeader.MinorVersion == 0 ) { Version40 = TRUE; } /** Get the name we are looking for **/ if (GetDefault) { if (PrintConHeader.DefaultJobName[0] == 0) { RetCode = PS_ERR_GETTING_DEFAULT; goto CommonExit; } pSearchJobName = PrintConHeader.DefaultJobName; } else { pSearchJobName = pJobName; } if ( !Version40 ) { SetFilePointer( stream, PRINTCON_41_HEADER_SIZE, NULL, FILE_BEGIN ); } Count = 0; /** Go through all of the job entry to look for the name **/ while (Count < PrintConHeader.NumberOfRecords) { if ( !ReadFile( stream, (PBYTE) &JobNameArea, JOB_NAME_AREA_SIZE, &Bytes, NULL) ) { RetCode = PS_ERR_INTERNAL_ERROR; goto CommonExit; } if (Bytes < JOB_NAME_AREA_SIZE) { if ( !( NDSCaptureFlag && Bytes) ) { RetCode = PS_ERR_INTERNAL_ERROR; goto CommonExit; } } Count++; /** Skip the entry with a null job name **/ if (JobNameArea.JobName[0] == 0) { continue; } /** Is this the job name we are looking for? **/ if (!_strcmpi(pSearchJobName, JobNameArea.JobName)) { break; } } /** See if we found the job name **/ if (Count > PrintConHeader.NumberOfRecords) { if (GetDefault) { RetCode = PS_ERR_GETTING_DEFAULT; } else { RetCode = PS_ERR_READING_RECORD; } goto CommonExit; } /* * The Job offset starts at the beginning of the third section. * The third section starts after the Header and after the * 50 record blocks. */ if ( Version40 ) { SetFilePointer( stream, PRINTCON_40_HEADER_SIZE + ( PrintConHeader.NumberOfBlocks * 50) * JOB_NAME_AREA_SIZE + JobNameArea.JobRecordOffset, NULL, FILE_BEGIN ); } else { SetFilePointer( stream, PRINTCON_41_HEADER_SIZE + ( PrintConHeader.NumberOfBlocks * 50) * JOB_NAME_AREA_SIZE + JobNameArea.JobRecordOffset, NULL, FILE_BEGIN ); } memset((PBYTE)&JobRecord, 0, sizeof(JobRecord)); if ( !ReadFile( stream, (PBYTE) &JobRecord, JOB_RECORD_AREA_SIZE, &Bytes, NULL) ) { RetCode = PS_ERR_READING_RECORD; goto CommonExit; } if (Bytes < JOB_RECORD_AREA_SIZE) { if ( !( NDSCaptureFlag && Bytes) ) { RetCode = PS_ERR_READING_RECORD; goto CommonExit; } } memset(pJobRecord, 0, PS_JOB_RECORD_SIZE); if (JobRecord.NotifyWhenDone) { pJobRecord->PrintJobFlag |= PS_JOB_NOTIFY; } if (JobRecord.BannerFlag) { pJobRecord->PrintJobFlag |= PS_JOB_PRINT_BANNER; } if (JobRecord.DataType) { pJobRecord->PrintJobFlag |= PS_JOB_EXPAND_TABS; } if (JobRecord.FormFeed) { pJobRecord->PrintJobFlag |= PS_JOB_NO_FORMFEED; } if (JobRecord.AutoEndCap) { pJobRecord->PrintJobFlag |= PS_JOB_AUTO_END; } if (JobRecord.TimeoutCount) { pJobRecord->PrintJobFlag |= PS_JOB_TIMEOUT; } if (JobRecord.Destination) { pJobRecord->PrintJobFlag |= PS_JOB_DS_PRINTER; } if ( JobRecord.SystemType ) { pJobRecord->PrintJobFlag |= PS_JOB_ENV_DS; } pJobRecord->Copies = JobRecord.NumberOfCopies; pJobRecord->TabSize = JobRecord.TabSize; pJobRecord->TimeOutCount = JobRecord.TimeoutCount; pJobRecord->LocalPrinter = JobRecord.LocalPrinter; strcpy(pJobRecord->Mode, JobRecord.Mode); strcpy(pJobRecord->Device, JobRecord.Device); strcpy(pJobRecord->FormName, JobRecord.FormName); strcpy(pJobRecord->BannerName, JobRecord.BannerName); if ( JobRecord.SystemType ) { ConvertUnicodeToAscii( JobRecord.u.DSObjectName ); strcpy(pJobRecord->u.DSObjectName, JobRecord.u.DSObjectName); } else { strcpy(pJobRecord->u.NonDS.PrintQueue, JobRecord.u.NonDS.QueueName); strcpy(pJobRecord->u.NonDS.FileServer, JobRecord.u.NonDS.Server); } if (GetDefault && pJobName) { strcpy(pJobName, JobNameArea.JobName); } if (pOwner) { *pOwner = 0; } CommonExit: if (stream != NULL) { // 07/19/96 cjc (Citrix code merge) // fclose causes a trap cause it expects *stream but // really should be using CloseHandle anyway. CloseHandle( stream ); // if ( NDSCaptureFlag ) // CloseHandle( stream ); // else // fclose( stream ); } return RetCode; }
32.407285
97
0.522939
6f77447821e6407ecf3c09e3bb01e0a6254da7df
263,886
c
C
test_apps/STM32Cube_FW_F4_V1.24.0/Projects/STM324xG_EVAL/Demonstrations/STemWin/Modules/filebrowser/filebrowser_res.c
hwiwonl/ACES
9b9a6766a177c531384b863854459a7e016dbdcc
[ "NCSA" ]
null
null
null
test_apps/STM32Cube_FW_F4_V1.24.0/Projects/STM324xG_EVAL/Demonstrations/STemWin/Modules/filebrowser/filebrowser_res.c
hwiwonl/ACES
9b9a6766a177c531384b863854459a7e016dbdcc
[ "NCSA" ]
null
null
null
test_apps/STM32Cube_FW_F4_V1.24.0/Projects/STM324xG_EVAL/Demonstrations/STemWin/Modules/filebrowser/filebrowser_res.c
hwiwonl/ACES
9b9a6766a177c531384b863854459a7e016dbdcc
[ "NCSA" ]
null
null
null
/** ****************************************************************************** * @file filebrowser_res.c * @author MCD Application Team * @brief Filebrowser resources source file ****************************************************************************** * @attention * * <h2><center>&copy; Copyright (c) 2017 STMicroelectronics International N.V. * All rights reserved.</center></h2> * * Redistribution and use in source and binary forms, with or without * modification, are permitted, provided that the following conditions are met: * * 1. Redistribution of source code must retain the above copyright notice, * this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright notice, * this list of conditions and the following disclaimer in the documentation * and/or other materials provided with the distribution. * 3. Neither the name of STMicroelectronics nor the names of other * contributors to this software may be used to endorse or promote products * derived from this software without specific written permission. * 4. This software, including modifications and/or derivative works of this * software, must execute solely and exclusively on microcontroller or * microprocessor devices manufactured by or for STMicroelectronics. * 5. Redistribution and use of this software other than as permitted under * this license is void and will automatically terminate your rights under * this license. * * THIS SOFTWARE IS PROVIDED BY STMICROELECTRONICS AND CONTRIBUTORS "AS IS" * AND ANY EXPRESS, IMPLIED OR STATUTORY WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A * PARTICULAR PURPOSE AND NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY * RIGHTS ARE DISCLAIMED TO THE FULLEST EXTENT PERMITTED BY LAW. IN NO EVENT * SHALL STMICROELECTRONICS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * ****************************************************************************** */ /* Includes ------------------------------------------------------------------*/ #include <stdlib.h> #include "GUI.h" /** @addtogroup FILE_BROWSER_MODULE * @{ */ /** @defgroup FILE_BROWSER_RES * @brief file browser resources * @{ */ #ifndef GUI_CONST_STORAGE #define GUI_CONST_STORAGE const #endif static GUI_CONST_STORAGE unsigned long _acfilebrowser[] = { 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xD07AA4BF, 0x28759EB7, 0x28688DA5, 0x286E95AE, 0x286E95AE, 0x287AA5C0, 0x2878A2BD, 0xB578A2BC, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xA7E2E2E2, 0x8FE3E3E3, 0x8FE3E3E3, 0x8FE3E3E3, 0x8FE3E3E3, 0x8FE3E3E3, 0x8FE3E3E3, 0x92E1E1E1, 0x96DFDFDF, 0x9ADCDCDC, 0x9FD9D9D9, 0xA5D6D6D6, 0xAAD2D2D2, 0xB0D0D0D0, 0xB7CDCDCD, 0xBEC8C8C8, 0xC5C6C6C6, 0xCDC3C3C3, 0xD4BFBFBF, 0xDCBEBEBE, 0xE3B9B9B9, 0xEAB5B5B5, 0xF1B2B2B2, 0xF8A3A3A3, 0xFE767676, 0xFF000000, 0xFF000000, 0xC86F9CB8, 0x00658EA8, 0x0054758A, 0x006289A2, 0x005A7D94, 0x006F9BB6, 0x00729EBA, 0xA7709DB8, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xC97EA7C1, 0x0894B4C9, 0x08DADFE0, 0x02D9DDDF, 0x00D7DBDE, 0x00D7DCDE, 0x00D9DCDF, 0x00DBDEE0, 0x00DADEE0, 0x00DDE1E3, 0x00DFE3E4, 0x00DFE2E4, 0x01E2E5E6, 0x01E4E7E7, 0x02E7E8E9, 0x02E8EAEA, 0x02E9EAEA, 0x03E9EAEA, 0x03E9E9EA, 0x04E8E9E9, 0x04E8E8E9, 0x05E7E8E8, 0x05E6E6E7, 0x06E5E6E6, 0x06E5E5E5, 0x07E4E4E5, 0x07E3E3E4, 0x08E2E3E3, 0x08E0E1E3, 0x08DDDFE1, 0x06D9DDDF, 0x00D3D9DD, 0x00D0D7DC, 0x00CCD5DA, 0x00C9D3D9, 0x00C5D0D8, 0x00C1CDD5, 0x05BFCCD5, 0x08BCCAD3, 0x08B5C5D0, 0x086B94AF, 0xE8648FAC, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xF93C6091, 0x940B3167, 0x70001C47, 0x57204369, 0x006D9AB7, 0x0090B2C6, 0x0093B3C8, 0x0098B8CB, 0x009CBBCD, 0x009FBBCE, 0x00A3BFD0, 0x00A9C3D3, 0x00B1C8D8, 0x00B4CBD8, 0x00B5CCDA, 0x00B7CEDA, 0x00BBD0DC, 0x00C0D3DE, 0x00C4D5E0, 0x00C4D4E0, 0x00C4D5E0, 0x00C9D7E2, 0x00CDDAE4, 0x00CEDBE3, 0x00D0DCE5, 0x00D4DFE5, 0x00D5DFE6, 0x00D7E0E7, 0x00D7E0E6, 0x00D8E1E7, 0x00DBE3E7, 0x00DBE2E7, 0x00DFE5E9, 0x00E1E7EB, 0x00E2E7EA, 0x00E2E8EB, 0x00E3E9EC, 0x00E4E8EB, 0x00E4E8EB, 0x00E3E7E9, 0x00E2E6E8, 0x00DDE1E3, 0x00D5DBDF, 0x005C839F, 0x650D366C, 0x70002C6A, 0xB212407C, 0xFE648AB9, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xBC3A5B8A, 0x01012056, 0x0000194B, 0x00112F5D, 0x005287A9, 0x00568CAE, 0x005C91B3, 0x005F95B6, 0x00669BBB, 0x006A9EBF, 0x006DA1C0, 0x0070A2C2, 0x0073A3C3, 0x0074A4C2, 0x0077A7C6, 0x0078A9C8, 0x0077A8C6, 0x0079A9C8, 0x0079A9C7, 0x0079A9C7, 0x0079AAC8, 0x007AAAC7, 0x007CACCA, 0x007CADCA, 0x007BAAC8, 0x007AA9C6, 0x0078A7C4, 0x0073A1BE, 0x006F9DB9, 0x006D9BB7, 0x006D9BB7, 0x006A96B2, 0x006E99B4, 0x00729EB9, 0x0078A3BF, 0x007FAAC5, 0x0085B0CB, 0x0089B2CC, 0x008DB6CF, 0x0091B9D0, 0x0095BCD3, 0x0095BAD1, 0x0095BAD1, 0x007FA9C4, 0x000C2F6C, 0x0000225F, 0x15062E6D, 0xD73E699F, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xA1455C7C, 0x00000F2C, 0x00001032, 0x00112B50, 0x005286A7, 0x00578BAB, 0x005B8EAF, 0x006194B3, 0x00679AB8, 0x006C9DBC, 0x006D9DBB, 0x0071A2C0, 0x0074A3C1, 0x0074A3C0, 0x0074A2BF, 0x0074A3C0, 0x0077A5C3, 0x0074A3C0, 0x0075A4C1, 0x0076A5C2, 0x0079A7C6, 0x0078A6C2, 0x0078A6C3, 0x0078A7C5, 0x0077A5C3, 0x0077A5C1, 0x00729FBB, 0x006E99B5, 0x006690AA, 0x005F869F, 0x005C839A, 0x005A8097, 0x005C829A, 0x006088A0, 0x006790AB, 0x00709BB7, 0x0076A2BE, 0x007CA8C3, 0x0080ABC7, 0x0080ABC6, 0x0085AFCA, 0x0086AFCA, 0x0088B2CC, 0x008BB4CE, 0x000D2A67, 0x00001C56, 0x0704296E, 0xB54870A6, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0x983F5472, 0x0000102E, 0x00001032, 0x00112A50, 0x005081A2, 0x005383A1, 0x005989A8, 0x005E8EAB, 0x006591AD, 0x006793AE, 0x006B96B1, 0x006C97B1, 0x006D98B3, 0x006E98B2, 0x006C97B1, 0x006D99B2, 0x006E99B4, 0x006F99B3, 0x006F99B3, 0x006F9AB4, 0x00709BB5, 0x00709BB5, 0x007099B4, 0x006F99B2, 0x006E98B2, 0x006D95AF, 0x006991A9, 0x0062879E, 0x006C93AC, 0x00668BA3, 0x00698FA7, 0x00688EA6, 0x006F98B1, 0x007199B3, 0x006B92AB, 0x0062879F, 0x006B93AC, 0x00739BB4, 0x00779FB7, 0x0079A0B8, 0x007BA1B8, 0x007EA4BB, 0x0081A7BF, 0x0087AEC5, 0x000D2A63, 0x00001D5D, 0x05032568, 0xAC466A9C, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0x90395174, 0x00001130, 0x00001033, 0x00102B52, 0x00497691, 0x004B748D, 0x007897AA, 0x0088A2B2, 0x008BA5B4, 0x008CA4B4, 0x008EA6B5, 0x008FA7B6, 0x008EA6B5, 0x008DA6B4, 0x008CA3B3, 0x008AA2B2, 0x00859EAE, 0x00829BAC, 0x007F99AA, 0x007C97A8, 0x007995A7, 0x007793A6, 0x007390A3, 0x00708EA2, 0x006C8B9E, 0x0069889C, 0x00607D91, 0x00567384, 0x00608399, 0x00537387, 0x006288A0, 0x00597C93, 0x00719DB8, 0x00729EBA, 0x00678FA7, 0x00506D80, 0x0058788B, 0x005F8094, 0x00658599, 0x00668599, 0x0068869A, 0x006C8A9E, 0x007190A3, 0x00799BB0, 0x000C2550, 0x00001A50, 0x0403215D, 0xA63C5D8C, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0x89324660, 0x00000E24, 0x00000E2C, 0x001A3355, 0x0077A1BB, 0x0078A1BB, 0x00CAD5DC, 0x00E6E9EB, 0x00E8EBED, 0x00E7EAEC, 0x00E6EAEB, 0x00E7EAEC, 0x00E6EAEC, 0x00E6EAEC, 0x00E6EAEB, 0x00E4E8EA, 0x00E3E7E9, 0x00E3E7EA, 0x00E4E8EA, 0x00E3E7E9, 0x00E2E6E8, 0x00E0E4E7, 0x00DEE2E5, 0x00DEE2E5, 0x00DCE0E3, 0x00DADEE1, 0x00D9DDE0, 0x00D7DBDD, 0x00D9DFE3, 0x00D7DEE2, 0x00D6DDE2, 0x00D4DCE1, 0x00D1D9E0, 0x00CED8DE, 0x00C9D3D9, 0x00C3CDD3, 0x00C0CBD2, 0x00BDC9D1, 0x00B9C7D0, 0x00B6C4CD, 0x00B2C1CC, 0x00AEBFCA, 0x00A7BBC7, 0x006D94AF, 0x000A2D6C, 0x00001C58, 0x03022363, 0xA1385985, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0x822E466A, 0x00001235, 0x00001234, 0x001D3961, 0x0090B5CD, 0x00B8CDDB, 0x00C1D2DE, 0x00C2D4DF, 0x00C2D4DE, 0x00C2D3DE, 0x00C2D2DD, 0x00C2D3DD, 0x00C4D3DD, 0x00C5D5DE, 0x00C8D6DF, 0x00C9D7E0, 0x00CCD9E1, 0x00CEDBE2, 0x00D2DDE3, 0x00D4DFE5, 0x00D6E0E6, 0x00D8E0E6, 0x00DAE0E5, 0x00DCE3E6, 0x00DEE4E7, 0x00E0E5E7, 0x00E1E5E8, 0x00E4E7E9, 0x00E6E8E9, 0x00E6E8E9, 0x00E6E8EA, 0x00E6E8EA, 0x00E6E8E9, 0x00E7E9EA, 0x00E9EBEC, 0x00E9EBEC, 0x00E8EAEB, 0x00E7EAEB, 0x00E7E9EA, 0x00E8E9EA, 0x00E6E9E9, 0x00E6E8E9, 0x00DCE0E3, 0x005B829E, 0x00082B67, 0x00001D5A, 0x02022055, 0x9C355682, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0x7D2B4366, 0x00001439, 0x00001746, 0x001F3E6B, 0x008FB9D3, 0x0090BAD4, 0x0093BAD3, 0x0090B9D2, 0x008FB9D3, 0x008CB7D2, 0x0088B4D0, 0x0083B0CD, 0x0081AECB, 0x007EACC8, 0x007EADCB, 0x007CACCB, 0x0079A9C7, 0x0078A9C8, 0x0077A8C7, 0x0075A6C5, 0x0073A5C4, 0x0071A3C2, 0x0071A2C1, 0x006FA0BF, 0x006B9CBB, 0x00699AB7, 0x00699AB8, 0x006898B6, 0x00699AB8, 0x006C9EBE, 0x006FA3C3, 0x006EA0C0, 0x0071A1C1, 0x0074A4C3, 0x0075A5C3, 0x0079A7C5, 0x007CABC7, 0x007DA9C5, 0x0081ACC7, 0x0084AEC9, 0x0088B1CB, 0x0088B0C9, 0x0089B1C9, 0x006D9BB9, 0x000A306E, 0x00002062, 0x0202215A, 0x98345685, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0x79284571, 0x00001A4D, 0x00001D58, 0x001E457F, 0x008CB5CF, 0x008EB7D0, 0x008EB6D0, 0x008DB6CF, 0x008EB6CF, 0x008CB5D0, 0x0088B2CC, 0x0087B2CD, 0x0085B1CC, 0x0082AFCA, 0x007FACC8, 0x007EACC7, 0x007FADC9, 0x007BA9C6, 0x007AA9C6, 0x0079A8C6, 0x0078A7C6, 0x0073A1BE, 0x006E9AB7, 0x006994B0, 0x00648FAA, 0x00628DA8, 0x00618BA6, 0x006390AB, 0x006593B0, 0x006897B5, 0x006D9FBD, 0x006C9EBD, 0x006D9FBF, 0x006DA0C0, 0x006DA0C0, 0x006EA0C1, 0x006C9EBF, 0x006C9EBE, 0x006DA0BF, 0x006B9DBC, 0x006EA1C0, 0x006EA0BF, 0x0070A2C1, 0x0071A4C3, 0x000B3375, 0x00002369, 0x01012466, 0x9433578E, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0x7526406A, 0x00001C50, 0x00001E57, 0x001C437B, 0x0085AEC8, 0x0086AEC6, 0x0088AFC8, 0x0087AFC8, 0x0088AEC7, 0x0085ACC5, 0x0084ACC5, 0x0083ABC4, 0x0082ABC5, 0x0080A9C3, 0x007DA7C1, 0x007DA8C2, 0x007EA8C3, 0x007DA7C2, 0x007BA5C0, 0x007AA5BF, 0x0077A2BC, 0x00719AB3, 0x006A91A9, 0x006489A1, 0x005E8399, 0x005C8096, 0x005D8198, 0x0060859D, 0x00648BA4, 0x00638CA6, 0x006894AF, 0x006C9AB7, 0x006C9BB9, 0x006C9BBA, 0x006A99B8, 0x006B9AB9, 0x006A9BB8, 0x006B9BB9, 0x006A9AB8, 0x006999B7, 0x006999B6, 0x006A9AB8, 0x006A9BB9, 0x006E9FBE, 0x000C3272, 0x00002266, 0x01012461, 0x92325485, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0x71254574, 0x0000205F, 0x00002366, 0x001A437E, 0x0087A8BD, 0x008EA9BB, 0x008EAABB, 0x008EA9BA, 0x008FA9BA, 0x008CA7B7, 0x008DA7B8, 0x008CA7B8, 0x0089A4B6, 0x0088A3B4, 0x0086A2B5, 0x0086A3B5, 0x00829FB2, 0x00819FB2, 0x007F9EB1, 0x007C9CAF, 0x007897AB, 0x00708DA0, 0x007092A8, 0x00577486, 0x0065889E, 0x006C90A8, 0x0078A2BD, 0x0079A3BE, 0x0077A2BD, 0x005A7B91, 0x005F839A, 0x00648BA3, 0x00678EA7, 0x00668EA7, 0x00648CA6, 0x00638CA5, 0x006189A2, 0x00628AA4, 0x00638BA6, 0x006088A2, 0x006088A2, 0x00618AA4, 0x00628CA6, 0x006691AD, 0x000C3170, 0x00002469, 0x00012366, 0x8F31558D, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0x6F244574, 0x0000215D, 0x00002362, 0x00174078, 0x00A8B8C2, 0x00D3D9DA, 0x00D2D6D8, 0x00CCD0D3, 0x00CBCFD1, 0x00CDCFD2, 0x00CDD1D3, 0x00CFD3D5, 0x00D0D3D5, 0x00D0D4D6, 0x00D0D4D6, 0x00D4D7D9, 0x00D6D9DB, 0x00D7DBDC, 0x00D8DCDD, 0x00D7DBDD, 0x00D5D9DC, 0x00D3D7DA, 0x00D1D7DB, 0x00C2C6C9, 0x00C9CFD3, 0x00CAD2D6, 0x00CFD8DF, 0x00CDD7DD, 0x00CCD6DD, 0x00C2CACF, 0x00C0C9CE, 0x00BDC7CD, 0x00BAC4CB, 0x00B6C1C8, 0x00B1BDC5, 0x00ADBAC2, 0x00A8B6BE, 0x00A3B2BB, 0x009EAEB7, 0x0099AAB4, 0x0093A5B1, 0x00638499, 0x005E859C, 0x00648DA6, 0x000C2D65, 0x00002367, 0x0001276E, 0x8D305691, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0x6D24487E, 0x00002468, 0x00002566, 0x00163F7A, 0x00A5BAC7, 0x00DDE2E4, 0x00D9DCDD, 0x00D8DCDD, 0x00D4DBDF, 0x00D6DCDF, 0x00D7DDE0, 0x00D7DDE0, 0x00D9DEE1, 0x00D9DFE2, 0x00DDE2E4, 0x00DEE3E5, 0x00DFE3E5, 0x00E2E7E9, 0x00E6E9EC, 0x00E8EBEC, 0x00E9EBEC, 0x00E9EBEC, 0x00E7EAEC, 0x00E9EBED, 0x00E9EBED, 0x00E8EAEB, 0x00E9EAEC, 0x00E8EAEB, 0x00E8E9EB, 0x00E7E9EA, 0x00E6E8E9, 0x00E6E8E9, 0x00E7E9EA, 0x00E8E9EA, 0x00E8EAEA, 0x00E9EAEB, 0x00E9EAEB, 0x00E9EAEA, 0x00E9EAEA, 0x00E8E9E9, 0x00E5E7E7, 0x00B1C0CB, 0x00A7BCCA, 0x0084A4BA, 0x000C2E6A, 0x0000256B, 0x00002363, 0x8B30548C, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0x6B254C88, 0x0000286B, 0x0001276C, 0x0017417E, 0x00AABFCB, 0x00E5EAEB, 0x00DDE2E2, 0x00E1E5E7, 0x00DFE6E7, 0x00E5EAED, 0x00E6EBEE, 0x00E2E8EA, 0x00DDE3E7, 0x00DCE4E8, 0x00DCE4E8, 0x00DAE3E8, 0x00DCE5EA, 0x00DCE4EA, 0x00DEE7EC, 0x00E0E8EC, 0x00E1E9EC, 0x00E1E7EB, 0x00E2E8ED, 0x00E3E9EC, 0x00E6EBEF, 0x00E5EAEE, 0x00E5EAEE, 0x00E5EAED, 0x00E5EAEE, 0x00E3E8ED, 0x00DFE7EC, 0x00DBE4E9, 0x00D7E1E7, 0x00D6E0E7, 0x00D6E0E7, 0x00D6E1E7, 0x00D4E0E7, 0x00D1DDE4, 0x00D0DDE4, 0x00D0DCE3, 0x00D1DCE4, 0x00CFDBE2, 0x00D0DCE2, 0x008FA9BB, 0x000B2E6D, 0x0000256B, 0x00002467, 0x8A305184, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0x6A254B82, 0x00002465, 0x0001286C, 0x00163E76, 0x006395B3, 0x006A9CBB, 0x006899B8, 0x006698B6, 0x006798B6, 0x006496B7, 0x006494B3, 0x006596B4, 0x006596B5, 0x00699AB9, 0x006A9BB8, 0x006A9BB9, 0x006E9EBD, 0x00709EBB, 0x00709FBD, 0x00709EBB, 0x0072A2BF, 0x0071A1BF, 0x0071A3C2, 0x0070A1C0, 0x006EA1C1, 0x006A9EBD, 0x00689CBC, 0x006699BA, 0x00699EBF, 0x00699FBF, 0x006A9EC0, 0x00679BBB, 0x006A9EBF, 0x00699DBE, 0x006A9EBF, 0x006C9FBF, 0x006FA2C2, 0x006E9EBE, 0x0071A3C2, 0x0073A4C3, 0x0076A7C6, 0x0076A6C4, 0x0077A8C6, 0x0078A8C7, 0x00102D61, 0x00012D7C, 0x00002B7B, 0x892F5595, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0x68254F91, 0x00012D7A, 0x00022A72, 0x00163D75, 0x005C8FB1, 0x005D91B3, 0x005E93B4, 0x005E92B3, 0x006093B5, 0x006094B5, 0x005F93B4, 0x006095B5, 0x005F92B3, 0x006093B2, 0x005F91B0, 0x005F91AF, 0x005D8DAC, 0x005D8CAA, 0x005E8DAB, 0x005F8FAE, 0x006191AF, 0x006191B0, 0x006699B9, 0x00679BBC, 0x006A9EBF, 0x006A9EBE, 0x006B9FBF, 0x006BA0C1, 0x006A9EBE, 0x006CA2C2, 0x006B9FBF, 0x006DA1C1, 0x006FA1C1, 0x006EA1C1, 0x006FA2C1, 0x0071A4C3, 0x0071A2C1, 0x0074A5C5, 0x0074A6C4, 0x0073A4C1, 0x0078A8C7, 0x007AA9C8, 0x007DADCA, 0x0080AFCC, 0x0013326E, 0x00022E7F, 0x00002D7E, 0x832D599E, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFEFFFFFF, 0x5F255092, 0x00012A6F, 0x00042E76, 0x00183F75, 0x006295B6, 0x006597B6, 0x006597B6, 0x006698B7, 0x006899BA, 0x006799B9, 0x006799B8, 0x006699BA, 0x006899B9, 0x006696B4, 0x00618FAC, 0x005E8BA7, 0x005B859D, 0x00577E97, 0x00577E96, 0x00587F98, 0x005C859E, 0x00618BA5, 0x006592AD, 0x006B9AB6, 0x006E9EBC, 0x006F9EBC, 0x0072A3C2, 0x0072A3C2, 0x0073A3C2, 0x0071A1BE, 0x0074A3C2, 0x0073A3C2, 0x0074A3C2, 0x0074A3C2, 0x0076A3C2, 0x0077A6C3, 0x0077A5C3, 0x007AA9C6, 0x007BA9C6, 0x007CA9C6, 0x007DAAC6, 0x0080ACC8, 0x0081ACC8, 0x0087B2CD, 0x00153368, 0x00023084, 0x00002D80, 0x792B5393, 0xFEFFFFFF, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFDFFFFFF, 0x54245194, 0x00022C75, 0x00042E74, 0x00193F75, 0x006291B0, 0x006491AE, 0x006795B2, 0x006795B0, 0x006995B2, 0x006894AF, 0x006994B0, 0x006894B0, 0x006693AD, 0x006590AA, 0x006087A0, 0x00658DA6, 0x00668CA3, 0x00678DA6, 0x006B92AC, 0x006B93AE, 0x006E97B0, 0x006F97B1, 0x0060869D, 0x00678FA9, 0x006C95B0, 0x006E99B4, 0x006E97B2, 0x00709CB5, 0x00719AB4, 0x007099B4, 0x00739DB6, 0x00749EB7, 0x00749EB8, 0x00749DB6, 0x00759EB7, 0x00759DB7, 0x00749DB6, 0x00779FB8, 0x00789FB8, 0x00799FB8, 0x007AA0B9, 0x007CA3BB, 0x0080A6BE, 0x0084AAC3, 0x00152F5D, 0x00022D78, 0x00002973, 0x6F2A528F, 0xFEFFFFFF, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFCFFFFFF, 0x4A224C8C, 0x00032D7A, 0x00052F7B, 0x00193C72, 0x005B859F, 0x005A8199, 0x00597F96, 0x005A7F95, 0x005A7E95, 0x005B7F95, 0x005B7F96, 0x005B7F95, 0x00587C91, 0x0056798E, 0x004F7083, 0x005C8197, 0x004C6A7C, 0x005E8299, 0x00729DBA, 0x00729EB9, 0x00749FBA, 0x0077A1BC, 0x00597587, 0x00627F92, 0x006A899C, 0x006D8C9F, 0x00718FA1, 0x007491A4, 0x007793A7, 0x007B97A9, 0x007E9AAB, 0x00819CAD, 0x00839DAE, 0x00849EAE, 0x0088A0B1, 0x008BA3B3, 0x008CA4B3, 0x008CA4B4, 0x008DA5B3, 0x008DA5B3, 0x008FA7B6, 0x0091A8B7, 0x0092AAB9, 0x007D9EB2, 0x00152E5A, 0x00032F82, 0x00002C81, 0x64285093, 0xFDE7E7E7, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFBF5F5F5, 0x41214C8C, 0x00032D78, 0x00052F7A, 0x001E4072, 0x0077A0BA, 0x00779FB9, 0x009DB5C5, 0x00AABDCA, 0x00ADBFCB, 0x00B1C1CC, 0x00B4C3CE, 0x00B6C5CF, 0x00B9C6CF, 0x00BCC8CF, 0x00BDC8CF, 0x00C2CDD5, 0x00C8D4DC, 0x00CCD7DD, 0x00CED8DF, 0x00D0D9DF, 0x00D0D9DF, 0x00D1DAE0, 0x00CDD3D7, 0x00D2D7DA, 0x00D3D9DC, 0x00D6DBDE, 0x00D9DDE0, 0x00DBDFE1, 0x00DCE0E3, 0x00DCE0E3, 0x00DDE0E3, 0x00DDE1E3, 0x00DCE0E3, 0x00DBDEE0, 0x00DADDDE, 0x00D8DBDC, 0x00D4D6D7, 0x00D4D6D7, 0x00D0D3D4, 0x00CFD1D2, 0x00CFD2D2, 0x00D0D1D2, 0x00D0D4D7, 0x006388A2, 0x00112C58, 0x00032E7C, 0x00002A7A, 0x59244D8D, 0xFBAFAFAF, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xF9D3D3D3, 0x371D4986, 0x00042C73, 0x00052F75, 0x001F406F, 0x008DAFC5, 0x00D4DCE0, 0x00E3E5E6, 0x00E5E7E8, 0x00E5E7E8, 0x00E6E7E8, 0x00E6E7E8, 0x00E5E7E8, 0x00E6E8E9, 0x00E6E8E9, 0x00E6E8E9, 0x00E7E9EA, 0x00E8EAEB, 0x00E8EAEB, 0x00E9EBEB, 0x00E9EBEC, 0x00E8EAEB, 0x00E6E9EA, 0x00E6E7E9, 0x00E6E7E9, 0x00E5E7E8, 0x00E3E6E7, 0x00E3E4E6, 0x00E2E4E5, 0x00E1E3E4, 0x00DFE1E3, 0x00DDDFE1, 0x00DBDEDF, 0x00D8DBDC, 0x00D6D8DA, 0x00D4D6D7, 0x00D0D1D2, 0x00ADAFC0, 0x008B8DB3, 0x008A8BAD, 0x008889AA, 0x008788AB, 0x00888AAA, 0x00B2B7C1, 0x00537995, 0x00112D5A, 0x00032E79, 0x0000266D, 0x4F204882, 0xF87E7E7E, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xF6A8A8A8, 0x2E1F4B8C, 0x0007337C, 0x0009377D, 0x001F406F, 0x0083A7BE, 0x00CED9DF, 0x00D0DBE1, 0x00CFDBE3, 0x00CBD8E0, 0x00C8D6DE, 0x00C5D4DF, 0x00C5D5DF, 0x00C6D6DF, 0x00C5D6E0, 0x00C4D5E0, 0x00C4D5E0, 0x00C5D6E1, 0x00C6D7E2, 0x00C7D8E3, 0x00C6D7E2, 0x00C6D7E3, 0x00C9D9E4, 0x00CADAE5, 0x00CADAE5, 0x00CBDBE6, 0x00CADAE4, 0x00C7D9E4, 0x00C4D7E2, 0x00C3D7E3, 0x00C0D4E2, 0x00C1D6E4, 0x00BBD1E0, 0x00B9D0DF, 0x00B6CEDE, 0x00B1CBDA, 0x00A9C2D2, 0x00606CAC, 0x002425CF, 0x002324C9, 0x002323C6, 0x002425CC, 0x002425C7, 0x006578B0, 0x00729CB7, 0x00183561, 0x00073482, 0x00012C79, 0x441D4584, 0xF35E5E5E, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xF28A8A8A, 0x251F4E93, 0x000B3987, 0x000F3E89, 0x00204172, 0x0052819E, 0x00477999, 0x004A7C9C, 0x004C7D9D, 0x004F83A4, 0x005487A9, 0x00578BAC, 0x00598CAD, 0x005C90B1, 0x005E91B1, 0x006196B7, 0x00659BBD, 0x00689DBE, 0x006EA1C1, 0x0074A6C5, 0x0079A9C8, 0x007FAECD, 0x0084B1CD, 0x008BB7D3, 0x008EB9D3, 0x008FB9D3, 0x0091BBD4, 0x0093BBD5, 0x0094BCD5, 0x0094BCD5, 0x0096BED7, 0x0095BDD6, 0x0091BAD4, 0x0091BAD3, 0x008DB8D2, 0x008CB7D2, 0x007EA8C1, 0x00516982, 0x002728DE, 0x002525F0, 0x002424EF, 0x002525F0, 0x002525F1, 0x004457C1, 0x007FADCB, 0x001D3863, 0x00083483, 0x00022E83, 0x3B19458A, 0xEE484848, 0xFD000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFE000000, 0xEE787878, 0x1E225394, 0x0010428B, 0x0013458C, 0x00204471, 0x004D7996, 0x0043708E, 0x00467491, 0x00487897, 0x004C7D9C, 0x005183A4, 0x005485A4, 0x00588BAB, 0x005C90B1, 0x006094B4, 0x006295B5, 0x00669ABA, 0x006DA0BF, 0x0070A1C0, 0x0075A7C4, 0x007CACCA, 0x0083B1D0, 0x0087B3CF, 0x008CB7D2, 0x008EB8D3, 0x0092BBD5, 0x0093BBD5, 0x0094BDD6, 0x0095BDD7, 0x0094BDD6, 0x0094BDD6, 0x0093BCD5, 0x0092BCD5, 0x0090BAD4, 0x008CB7D2, 0x0086B2CE, 0x007BA6C0, 0x00577589, 0x00272BBD, 0x002424EF, 0x002121EC, 0x002020EB, 0x002222F0, 0x003846C1, 0x0074A3C5, 0x001F3B64, 0x000C3A87, 0x00032E81, 0x34174184, 0xE6373737, 0xFB000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFD000000, 0xEB727272, 0x19295B9B, 0x0015478D, 0x0016478F, 0x00214470, 0x00497490, 0x00406D89, 0x0043728E, 0x00477794, 0x004C7B99, 0x004F7F9D, 0x005484A3, 0x00598BA9, 0x005D90B0, 0x006194B4, 0x006496B6, 0x006A9EBE, 0x0070A3C2, 0x0076A7C6, 0x007BABC9, 0x0080AFCC, 0x0086B5D1, 0x008AB6D2, 0x008DB7D2, 0x0090BAD4, 0x0092BBD5, 0x0093BBD4, 0x0094BCD5, 0x0097BFD8, 0x0097BED7, 0x0094BCD4, 0x0095BDD5, 0x0093BBD5, 0x0090BAD5, 0x008BB7D2, 0x0084B2CF, 0x0077A4BF, 0x0059798B, 0x00242AA5, 0x001616D0, 0x001616D0, 0x001515CD, 0x001515D0, 0x002733B0, 0x006493B7, 0x00213B63, 0x000D3B88, 0x00032F7E, 0x2D154184, 0xE0313131, 0xF9000000, 0xFE000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFC000000, 0xE7696969, 0x14275895, 0x001D5195, 0x001D5194, 0x0022436C, 0x00456E88, 0x003D657F, 0x00426C88, 0x0044718C, 0x00497692, 0x004C7995, 0x0053809C, 0x005785A3, 0x005B8BA7, 0x006291AE, 0x006898B6, 0x006E9DBC, 0x0072A1BF, 0x0077A6C3, 0x007CAAC5, 0x0081AEC9, 0x0088B4D0, 0x008BB6D1, 0x008EB9D3, 0x0091BAD5, 0x0092BBD4, 0x0094BCD6, 0x0093BBD4, 0x0095BDD5, 0x0096BDD6, 0x0096BDD6, 0x0096BED7, 0x0092BCD6, 0x008EB9D3, 0x0085B2CD, 0x007FAECB, 0x0073A1BF, 0x0057778C, 0x001E2597, 0x000D0DB1, 0x000D0DB5, 0x000D0DB6, 0x000E0EB6, 0x001F2CA2, 0x005B8BAE, 0x00223D65, 0x000F3E8B, 0x0004307F, 0x28123D80, 0xDA2D2D2D, 0xF6000000, 0xFD000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFB000000, 0xE2626262, 0x102A5A95, 0x00205394, 0x00215495, 0x0024456D, 0x0041677F, 0x003A6178, 0x003C647C, 0x003E647C, 0x00446B85, 0x00476E88, 0x004D7790, 0x00517C96, 0x0057839F, 0x005D8AA5, 0x006491AC, 0x006B98B4, 0x00709EBA, 0x0077A3C0, 0x007EAAC6, 0x0084AFCB, 0x0086B2CD, 0x008BB5CF, 0x008DB7D0, 0x0090BAD2, 0x0093BCD4, 0x0092BAD3, 0x0093BBD4, 0x0094BCD4, 0x0094BBD4, 0x0094BCD4, 0x0093BBD5, 0x008EB8D1, 0x0088B4CF, 0x007FAEC9, 0x0075A4C2, 0x006997B6, 0x00517388, 0x00181F81, 0x000A0AAA, 0x000909A4, 0x000909A9, 0x000909A3, 0x0016219A, 0x004F7EA0, 0x0025436A, 0x0013428E, 0x00083483, 0x23113D82, 0xD42B2B2B, 0xF3000000, 0xFC000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFE000000, 0xFA000000, 0xDE5B5B5B, 0x0D30639C, 0x00235694, 0x00245797, 0x0024456B, 0x003D6077, 0x0034586E, 0x00375A72, 0x0037596E, 0x003A5D73, 0x003D6076, 0x0042667D, 0x00486E85, 0x00507892, 0x00557F98, 0x005C859F, 0x00638EA9, 0x006B97B2, 0x0075A0BB, 0x0079A5C0, 0x0081ABC6, 0x0085AFCA, 0x0088B1CC, 0x008BB5CE, 0x008CB5CF, 0x008DB6D1, 0x008EB8D2, 0x008EB7D0, 0x008FB7D0, 0x008FB7D1, 0x008DB6CF, 0x008DB6D0, 0x0088B1CE, 0x007FAAC7, 0x0075A3C0, 0x006B9CBA, 0x005D8BA8, 0x00496A81, 0x00111772, 0x0006068C, 0x00050590, 0x0006069B, 0x00060695, 0x00111A8C, 0x00426E8E, 0x0027456A, 0x00194993, 0x000B3989, 0x20103F87, 0xD0292929, 0xF0000000, 0xFB000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFE000000, 0xF8000000, 0xDA565656, 0x0A2F6199, 0x00255897, 0x00255996, 0x00234367, 0x00375569, 0x002E4D61, 0x002F4D60, 0x002F4E60, 0x00315062, 0x00345265, 0x0038596C, 0x003D5E72, 0x0043667C, 0x004A6F87, 0x00517991, 0x0059829A, 0x00638DA6, 0x006A92AC, 0x00729CB6, 0x0078A3BD, 0x007DA7C1, 0x0080AAC4, 0x0081ACC5, 0x0084AEC8, 0x0086B0CA, 0x0086AFC9, 0x0087B0C9, 0x0086B0C9, 0x0086AFC9, 0x0083ADC7, 0x0082ACC7, 0x007CA7C2, 0x0074A1BC, 0x006998B6, 0x005B8AA9, 0x004F7C98, 0x00406379, 0x000C1072, 0x0005058C, 0x00050590, 0x00050593, 0x00060697, 0x00111A94, 0x00365E7A, 0x00274366, 0x00194990, 0x000C3987, 0x1E103D83, 0xCD2A2A2A, 0xEF000000, 0xFB000000, 0xFE000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFD000000, 0xF6000000, 0xD6565656, 0x092F639A, 0x00275D99, 0x00275997, 0x0023436B, 0x00304B5D, 0x00284355, 0x00284353, 0x00274051, 0x00284355, 0x002A4556, 0x002E4A5B, 0x00325062, 0x0037566A, 0x003D5F74, 0x0044687E, 0x004D738B, 0x00557C95, 0x005D859D, 0x00658DA7, 0x006A94AE, 0x00709AB4, 0x00749EB9, 0x0075A0BA, 0x0078A3BE, 0x0078A2BD, 0x007BA4BF, 0x0079A3BD, 0x0078A2BC, 0x0079A3BE, 0x0076A1BC, 0x00719CB6, 0x006D98B4, 0x006491AD, 0x005988A3, 0x004E7B97, 0x00416B85, 0x0036586D, 0x000C1183, 0x00080990, 0x00080992, 0x00090994, 0x000909A3, 0x00111996, 0x002C4C64, 0x00213D61, 0x00144186, 0x000B3680, 0x1C103D84, 0xCC2C2C2C, 0xEE000000, 0xFA000000, 0xFE000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFD000000, 0xF5000000, 0xD2505050, 0x0733669B, 0x002B5E97, 0x002A5D97, 0x002B5C95, 0x002C5F98, 0x003069A5, 0x00306EAB, 0x002862A4, 0x001D559B, 0x00124483, 0x00163C6B, 0x0028445C, 0x00334D5E, 0x00385567, 0x003D5C6F, 0x0045667B, 0x004D6F86, 0x0053788F, 0x00597F96, 0x006188A0, 0x00648BA4, 0x006890AA, 0x006991AB, 0x006C95AE, 0x006D96AE, 0x006C95AD, 0x006D94AD, 0x006D95AD, 0x006F97B0, 0x006A92AA, 0x006790A9, 0x00608AA4, 0x0058819B, 0x004E7892, 0x00436A84, 0x00395E77, 0x002B506F, 0x00182E89, 0x000F0FA8, 0x001010B4, 0x001111BC, 0x001212C2, 0x001316C2, 0x00254C96, 0x00245493, 0x00194A91, 0x000F408A, 0x1B103F84, 0xCB2E2E2E, 0xED000000, 0xFA000000, 0xFE000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFD000000, 0xF4000000, 0xD0515151, 0x0634669A, 0x002A5D96, 0x00285D95, 0x00285C95, 0x00295C95, 0x00255993, 0x00225695, 0x001C4D92, 0x0013448A, 0x00093882, 0x00012E7B, 0x00042E6D, 0x001A3753, 0x00274152, 0x002C485A, 0x00325165, 0x0038596D, 0x003E6077, 0x0044687F, 0x00496F87, 0x004F778F, 0x00527B94, 0x00547D95, 0x00588099, 0x00578099, 0x0059829B, 0x005A819A, 0x005A8099, 0x005A8199, 0x00587E97, 0x00557B94, 0x0050768F, 0x00496F86, 0x0040657C, 0x00375A71, 0x00244E76, 0x0013498F, 0x00144088, 0x001516C4, 0x001717CD, 0x001A1AD6, 0x001B1BDD, 0x001B1BE3, 0x001E39A9, 0x00235695, 0x001D5194, 0x00134690, 0x1B14468D, 0xCB313131, 0xED000000, 0xFA000000, 0xFE000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFE000000, 0xFC000000, 0xF3000000, 0xCE4D4D4D, 0x09306299, 0x00275B94, 0x00275A94, 0x00265892, 0x00255991, 0x00235590, 0x00205190, 0x0018498C, 0x00103D84, 0x0006327B, 0x00002771, 0x00002266, 0x00022461, 0x00102C50, 0x001F3746, 0x00243D4D, 0x00284558, 0x002E4C60, 0x00335469, 0x00375A71, 0x003B6076, 0x003F657D, 0x0042687F, 0x00446B83, 0x00456A82, 0x00466B82, 0x00486D84, 0x00486D84, 0x00476D84, 0x00476B82, 0x0042677D, 0x003F6279, 0x003A5B71, 0x0033546C, 0x001B4676, 0x000A3D89, 0x000A3C89, 0x000E3D87, 0x001520B3, 0x001A1ADF, 0x001A1AE3, 0x001C1CE8, 0x001C1CEB, 0x001C26C7, 0x00215295, 0x001F5597, 0x00174A92, 0x201A4584, 0xCC2C2C2C, 0xED000000, 0xFA000000, 0xFE000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFE000000, 0xFC000000, 0xF2000000, 0xD6252525, 0x231D467E, 0x001D508D, 0x00205595, 0x002A63A1, 0x003373AC, 0x003879B1, 0x003675B0, 0x00306EAA, 0x002761A3, 0x00154A95, 0x00012D7C, 0x00002266, 0x00001E5C, 0x00002363, 0x000B2954, 0x001A3140, 0x001F3746, 0x00233E4E, 0x00264253, 0x002A485A, 0x002E4D61, 0x00315165, 0x00325367, 0x0035566B, 0x0037596F, 0x0037596E, 0x00395A6F, 0x0038586C, 0x0038596D, 0x0037576B, 0x00355569, 0x00335267, 0x002B4C63, 0x0016457F, 0x00093E8B, 0x00073887, 0x00093886, 0x000C3B85, 0x00152F91, 0x001A1AEB, 0x001A1AEA, 0x001819E9, 0x001919E9, 0x001719DE, 0x0032529B, 0x003E6A9F, 0x00295793, 0x391C3F75, 0xD1141414, 0xED000000, 0xFA000000, 0xFE000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFE000000, 0xFB000000, 0xF1000000, 0xDB010101, 0x43071F51, 0x000A2A62, 0x00103873, 0x00194785, 0x001F528F, 0x00255B96, 0x0028619B, 0x002C66A0, 0x002D67A1, 0x002A609C, 0x00245897, 0x0010387A, 0x00001E62, 0x00001E62, 0x00002165, 0x0006285D, 0x00102D4D, 0x001A3243, 0x001F3746, 0x00223B4B, 0x00253F50, 0x00274354, 0x002A4759, 0x002A4657, 0x002D4A5C, 0x002D4A5C, 0x002E4B5D, 0x002E4A5C, 0x002D495B, 0x002D495B, 0x0028465B, 0x001F456E, 0x000F3D80, 0x00053484, 0x00053182, 0x00063483, 0x001C5298, 0x00326AA9, 0x00274F9D, 0x001818E6, 0x001618E3, 0x00111F97, 0x001417CE, 0x001516DC, 0x001B3489, 0x001F4580, 0x00133774, 0x550A2255, 0xD4020202, 0xED000000, 0xFA000000, 0xFE000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFE000000, 0xFB000000, 0xF1000000, 0xDB000000, 0x59051C50, 0x00092868, 0x000C306F, 0x00103878, 0x00143F80, 0x00174483, 0x001A4C8C, 0x001D5192, 0x001F5596, 0x00205697, 0x00225897, 0x00285E9B, 0x00184484, 0x00011F59, 0x00001A53, 0x00001D59, 0x00002565, 0x00032E70, 0x00093C80, 0x00164A8B, 0x0022538F, 0x00285792, 0x002E5D95, 0x00316095, 0x00326296, 0x00305E94, 0x00305E92, 0x002E5B92, 0x00275590, 0x001E4F8F, 0x0012438A, 0x000B3D8C, 0x00063285, 0x00043083, 0x00073486, 0x0024589A, 0x002E66A2, 0x0027619F, 0x001B3E9B, 0x001313DE, 0x00111D9D, 0x00133361, 0x000F1995, 0x001112CA, 0x000E2972, 0x000D316F, 0x00092965, 0x6A051944, 0xD4000000, 0xED000000, 0xFA000000, 0xFE000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFE000000, 0xFB000000, 0xF1000000, 0xDB000000, 0x69051846, 0x00082561, 0x000B2B68, 0x000E326F, 0x00133B7A, 0x00174383, 0x001A4C8C, 0x001D5191, 0x001F5697, 0x00205798, 0x00205798, 0x001F5595, 0x00255B98, 0x0024548C, 0x00031D50, 0x00001746, 0x0000194B, 0x00002261, 0x0002296E, 0x00083276, 0x00124082, 0x001A498A, 0x001D4C8F, 0x00215090, 0x00245392, 0x00265593, 0x00255392, 0x00265695, 0x00235496, 0x00174890, 0x000E3D8B, 0x0009388A, 0x00042F7F, 0x00093783, 0x002D64A3, 0x002B63A0, 0x00255E9C, 0x00245C9B, 0x00173299, 0x00111AB9, 0x0015386C, 0x0012335B, 0x000F2867, 0x000E10A8, 0x000E2D74, 0x000B2C66, 0x01092A67, 0x7804163D, 0xD4000000, 0xED000000, 0xFA000000, 0xFE000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFE000000, 0xFB000000, 0xF1000000, 0xDB000000, 0x7F041741, 0x00092766, 0x000C306F, 0x00103778, 0x00144080, 0x0019498B, 0x001D5192, 0x001F5597, 0x00235C9E, 0x00235C9E, 0x00225B9D, 0x0021599A, 0x0021589A, 0x002760A0, 0x002C629D, 0x000B2D64, 0x00011D56, 0x00002160, 0x00032C77, 0x000A377C, 0x00134386, 0x001A498E, 0x001F4D8F, 0x00215192, 0x00255593, 0x00275995, 0x00275794, 0x00265694, 0x001D4C8E, 0x0014438B, 0x000A3885, 0x00073384, 0x00154690, 0x00316AA5, 0x002862A0, 0x00265F9E, 0x00255F9E, 0x00255D9C, 0x00142D88, 0x001D478E, 0x001F4E85, 0x001E4E88, 0x001A4883, 0x000D1E7E, 0x0011367E, 0x000E3271, 0x050A2D6C, 0x86041434, 0xD4000000, 0xED000000, 0xFA000000, 0xFE000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFE000000, 0xFB000000, 0xF1000000, 0xDB000000, 0x94030F2B, 0x0007245F, 0x000B2B67, 0x000E3370, 0x00123977, 0x0015417F, 0x00194988, 0x001C4F8F, 0x001F5697, 0x001F5697, 0x00205798, 0x00205899, 0x00205799, 0x001F5697, 0x001E5392, 0x00285D98, 0x0026558D, 0x00113C7B, 0x000B3B83, 0x0013478E, 0x001C5497, 0x00245CA0, 0x002A65A4, 0x002D65A6, 0x003067A6, 0x00356FA9, 0x00356EA8, 0x002C61A1, 0x0024599A, 0x0021569C, 0x001E5195, 0x002C63A2, 0x002F68A3, 0x00235A97, 0x00235C9A, 0x002761A1, 0x00255E9D, 0x00225997, 0x0020538F, 0x00235B99, 0x00225997, 0x00205494, 0x001B4C8C, 0x00164280, 0x00113876, 0x000E3271, 0x09092965, 0x96020E24, 0xD4000000, 0xED000000, 0xFA000000, 0xFE000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFE000000, 0xFB000000, 0xF1000000, 0xDB000000, 0xA9020817, 0x0007245F, 0x000A2A65, 0x000E336F, 0x00113773, 0x00143F7C, 0x00194988, 0x001C5090, 0x001E5394, 0x001E5495, 0x001E5393, 0x001D5292, 0x001D5191, 0x001D5191, 0x001D5190, 0x001D508F, 0x00215795, 0x002F6AA7, 0x003675AE, 0x003A7BB3, 0x003D80B7, 0x003F85BA, 0x004288B9, 0x004083B3, 0x004384B2, 0x004282B0, 0x004180B0, 0x003D7BAD, 0x003A77AB, 0x003672A8, 0x002E67A0, 0x00245A96, 0x00225996, 0x00215795, 0x00215795, 0x00235A98, 0x00235B9A, 0x00245C9B, 0x00225997, 0x00235A99, 0x00215795, 0x001D4F8D, 0x00184683, 0x00143E7B, 0x00103671, 0x000C2F6B, 0x0D092761, 0xA601060F, 0xD4000000, 0xED000000, 0xFA000000, 0xFE000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFE000000, 0xFB000000, 0xF1000000, 0xDB000000, 0xB2010308, 0x06072158, 0x0009255D, 0x000C2B63, 0x000F336D, 0x00123974, 0x00174482, 0x001B4D8D, 0x001D5090, 0x001D5293, 0x001E5393, 0x001E5393, 0x001E5495, 0x001F5697, 0x001F5596, 0x00225A9C, 0x00205798, 0x001F5596, 0x001E5494, 0x001F5495, 0x001C5090, 0x001E5393, 0x001E5393, 0x001D5291, 0x001F5390, 0x001E528F, 0x001F5491, 0x00205592, 0x00205592, 0x00205693, 0x00205694, 0x00205694, 0x00205795, 0x00205694, 0x00225997, 0x00205794, 0x00205794, 0x00215896, 0x00205593, 0x00205593, 0x001D508C, 0x00194985, 0x0016417C, 0x00123873, 0x000E326B, 0x000A2961, 0x12072054, 0xAE000001, 0xD4000000, 0xED000000, 0xFA000000, 0xFE000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFE000000, 0xFB000000, 0xF1000000, 0xDB000000, 0xB3000207, 0x16072157, 0x00092760, 0x000D306A, 0x00123A77, 0x00164280, 0x00194A88, 0x001B4F8E, 0x001D5393, 0x001E5596, 0x001F5798, 0x001E5494, 0x001B4F8E, 0x001D5292, 0x001B4E8D, 0x001B4F8E, 0x001B4E8D, 0x001D5292, 0x001D5292, 0x001E5494, 0x001D5292, 0x001E5393, 0x001D5292, 0x001F5696, 0x00215896, 0x001F5492, 0x00205693, 0x00205795, 0x00205694, 0x00205795, 0x00205694, 0x00205693, 0x00205795, 0x00215897, 0x00225998, 0x00215998, 0x001F5593, 0x001F5593, 0x00205694, 0x00205695, 0x001C4E8B, 0x00194885, 0x0016427F, 0x00123A75, 0x000E326D, 0x000A2963, 0x20071F52, 0xAE000000, 0xD4000000, 0xED000000, 0xFA000000, 0xFE000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFE000000, 0xFB000000, 0xF1000000, 0xDC000000, 0xB5000204, 0x2809255A, 0x000F3476, 0x00123A79, 0x00153D7B, 0x00184583, 0x001D4D8C, 0x00205594, 0x00225A99, 0x00235C9D, 0x00205796, 0x00215998, 0x00225A9B, 0x00235D9E, 0x00245E9F, 0x00245EA0, 0x00235D9E, 0x00235C9D, 0x00235C9D, 0x00235D9E, 0x00215999, 0x00225A9B, 0x00225A9B, 0x00245E9E, 0x0027609F, 0x0027609F, 0x0027619E, 0x00265F9C, 0x00255D9A, 0x00255D9A, 0x00255D9A, 0x00225895, 0x00255C9A, 0x00255D9B, 0x00255E9C, 0x00235B97, 0x00255E9B, 0x00245D9A, 0x00255E9C, 0x00235B9A, 0x00215795, 0x001E5291, 0x00194987, 0x00164383, 0x00123C7C, 0x000D306D, 0x32082253, 0xAF000000, 0xD5000000, 0xEE000000, 0xFA000000, 0xFE000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFE000000, 0xFB000000, 0xF1000000, 0xDE000000, 0xBA000102, 0x3C0B2B61, 0x000F387A, 0x000F3571, 0x00133C77, 0x00184786, 0x001D5090, 0x00215898, 0x00235D9D, 0x00215C9E, 0x00215C9D, 0x00205A9B, 0x00225D9F, 0x00215A9C, 0x0020599A, 0x00215A9C, 0x00215A9B, 0x00215A9B, 0x001F5797, 0x001F5899, 0x00205799, 0x0020589A, 0x001F5899, 0x0020599B, 0x00225A97, 0x00215895, 0x00225A97, 0x00235C9A, 0x00235C9A, 0x00235D9A, 0x00235D9C, 0x00245E9D, 0x00245E9D, 0x00245E9D, 0x00235E9E, 0x002560A1, 0x00235F9F, 0x00235F9F, 0x00235E9F, 0x00215C9D, 0x001D5293, 0x001C5295, 0x00174789, 0x00113B78, 0x000D326F, 0x000B2E6E, 0x44061D4B, 0xB3000000, 0xD7000000, 0xEF000000, 0xFA000000, 0xFE000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFE000000, 0xFC000000, 0xF3000000, 0xE1000000, 0xC1000000, 0x4B071F4F, 0x000B2E6E, 0x00113D84, 0x00124085, 0x00113D7A, 0x00133F7C, 0x00164784, 0x001A5090, 0x001D59A0, 0x001B559A, 0x00174C8E, 0x00174B8C, 0x00174C8E, 0x00194F92, 0x00194F91, 0x001B5295, 0x001F5BA1, 0x001D579C, 0x001A5195, 0x001B5497, 0x001C579C, 0x001C569A, 0x001D589C, 0x001F5799, 0x00205A9D, 0x00205B9D, 0x001F5A9C, 0x001E589B, 0x001E589B, 0x001E579A, 0x001D5698, 0x001B5292, 0x00184C89, 0x00184B89, 0x00194F90, 0x001A4F92, 0x001A5195, 0x00195091, 0x00174B8E, 0x0015488B, 0x00144488, 0x0014468D, 0x000F3B81, 0x000C3278, 0x00092C71, 0x56041742, 0xBA000000, 0xDC000000, 0xF1000000, 0xFB000000, 0xFE000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFD000000, 0xF6000000, 0xE7000000, 0xCD000000, 0x66041845, 0x00072667, 0x00092966, 0x000B2F6D, 0x000D3675, 0x00103F84, 0x00114387, 0x00103F7F, 0x00104083, 0x00104085, 0x0013478E, 0x00134A93, 0x00134890, 0x00124388, 0x00114284, 0x00104083, 0x00104080, 0x00124385, 0x0013478C, 0x0014488F, 0x00144A90, 0x00134990, 0x00144A92, 0x00164C91, 0x00164D92, 0x00164E94, 0x00164E94, 0x0014478A, 0x00134587, 0x00124384, 0x0011407F, 0x00124384, 0x000F3B78, 0x00103F7F, 0x00104081, 0x000F3B7C, 0x000D3773, 0x00103E80, 0x000F3D80, 0x000D3A7C, 0x000C3677, 0x000C3579, 0x000A3075, 0x0006235E, 0x01041A4D, 0x70020D2A, 0xC6000000, 0xE2000000, 0xF4000000, 0xFC000000, 0xFE000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFE000000, 0xF9000000, 0xEE000000, 0xDB000000, 0x9E021030, 0x1A051E58, 0x01062361, 0x01072868, 0x01082A69, 0x00092D6B, 0x000A3375, 0x000C377B, 0x000B377E, 0x000B387F, 0x000B387E, 0x000C3A83, 0x000B397D, 0x000C3B84, 0x000D4089, 0x000D408A, 0x000D3F8B, 0x000D408B, 0x000D408B, 0x000E428E, 0x000D3E88, 0x000D3F8A, 0x000D3F89, 0x000E3D83, 0x000E3C82, 0x000D3B80, 0x000D3B7F, 0x000C397C, 0x000D3B7F, 0x000C387A, 0x000C387A, 0x000C377A, 0x000C387C, 0x000C3C84, 0x000D3E86, 0x000C3C84, 0x000B3980, 0x000B387D, 0x000B397F, 0x00093478, 0x00082E6E, 0x01072866, 0x0106225C, 0x02041949, 0x2802133E, 0xAD010512, 0xD6000000, 0xEB000000, 0xF8000000, 0xFD000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFE000000, 0xFC000000, 0xF5000000, 0xEA000000, 0xD7000002, 0xA9020A20, 0x7C031132, 0x6E031332, 0x61031332, 0x58041533, 0x53041634, 0x4F041430, 0x4E041635, 0x4D041634, 0x4D041634, 0x4D041737, 0x4D041736, 0x4D041634, 0x4D041531, 0x4D031430, 0x4D041531, 0x4D041531, 0x4D041531, 0x4D041533, 0x4D041430, 0x4D041430, 0x4D04142F, 0x4D041735, 0x4D041734, 0x4D041634, 0x4D051735, 0x4D051939, 0x4D051A3A, 0x4D05193A, 0x4D051837, 0x4D041836, 0x4D041938, 0x4D051B3C, 0x4D051C3F, 0x4D051A3D, 0x4D041838, 0x4E041635, 0x4F04132F, 0x5203122C, 0x57020F28, 0x60020F2A, 0x6B021030, 0x7B031133, 0xB0010819, 0xD4000000, 0xE6000000, 0xF4000000, 0xFB000000, 0xFE000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFE000000, 0xFB000000, 0xF5000000, 0xEB000000, 0xDF000000, 0xD2000000, 0xC6000000, 0xBC000000, 0xB5000000, 0xB0000000, 0xAD000000, 0xAC000000, 0xAC000000, 0xAC000000, 0xAC000000, 0xAC000000, 0xAC000000, 0xAC000000, 0xAC000000, 0xAC000000, 0xAC000000, 0xAC000000, 0xAC000000, 0xAC000000, 0xAC000000, 0xAC000000, 0xAC000000, 0xAC000000, 0xAC000000, 0xAC000000, 0xAC000000, 0xAC000000, 0xAC000000, 0xAC000000, 0xAC000000, 0xAC000000, 0xAC000000, 0xAC000000, 0xAC000000, 0xAC000000, 0xAC000000, 0xAD000000, 0xB0000000, 0xB4000000, 0xBB000000, 0xC4000000, 0xD0000000, 0xDD000000, 0xEA000000, 0xF3000000, 0xF9000000, 0xFD000000, 0xFE000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFD000000, 0xFB000000, 0xF8000000, 0xF2000000, 0xED000000, 0xE8000000, 0xE3000000, 0xE1000000, 0xDF000000, 0xDE000000, 0xDE000000, 0xDE000000, 0xDE000000, 0xDE000000, 0xDE000000, 0xDE000000, 0xDE000000, 0xDE000000, 0xDE000000, 0xDE000000, 0xDE000000, 0xDE000000, 0xDE000000, 0xDE000000, 0xDE000000, 0xDE000000, 0xDE000000, 0xDE000000, 0xDE000000, 0xDE000000, 0xDE000000, 0xDE000000, 0xDE000000, 0xDE000000, 0xDE000000, 0xDE000000, 0xDE000000, 0xDE000000, 0xDE000000, 0xDE000000, 0xDE000000, 0xDF000000, 0xE1000000, 0xE3000000, 0xE7000000, 0xEC000000, 0xF1000000, 0xF7000000, 0xFB000000, 0xFD000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFE000000, 0xFD000000, 0xFC000000, 0xFA000000, 0xF8000000, 0xF6000000, 0xF6000000, 0xF5000000, 0xF4000000, 0xF4000000, 0xF4000000, 0xF4000000, 0xF4000000, 0xF4000000, 0xF4000000, 0xF4000000, 0xF4000000, 0xF4000000, 0xF4000000, 0xF4000000, 0xF4000000, 0xF4000000, 0xF4000000, 0xF4000000, 0xF4000000, 0xF4000000, 0xF4000000, 0xF4000000, 0xF4000000, 0xF4000000, 0xF4000000, 0xF4000000, 0xF4000000, 0xF4000000, 0xF4000000, 0xF4000000, 0xF4000000, 0xF4000000, 0xF4000000, 0xF4000000, 0xF5000000, 0xF5000000, 0xF6000000, 0xF8000000, 0xFA000000, 0xFB000000, 0xFD000000, 0xFE000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFE000000, 0xFE000000, 0xFD000000, 0xFD000000, 0xFD000000, 0xFD000000, 0xFD000000, 0xFD000000, 0xFD000000, 0xFD000000, 0xFD000000, 0xFD000000, 0xFD000000, 0xFD000000, 0xFD000000, 0xFD000000, 0xFD000000, 0xFD000000, 0xFD000000, 0xFD000000, 0xFD000000, 0xFD000000, 0xFD000000, 0xFD000000, 0xFD000000, 0xFD000000, 0xFD000000, 0xFD000000, 0xFD000000, 0xFD000000, 0xFD000000, 0xFD000000, 0xFD000000, 0xFD000000, 0xFD000000, 0xFD000000, 0xFD000000, 0xFD000000, 0xFD000000, 0xFD000000, 0xFE000000, 0xFE000000, 0xFE000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000, 0xFF000000 }; GUI_CONST_STORAGE GUI_BITMAP bmfilebrowser = { 60, /* x Size */ 60, /* y Size */ 240, /* Bytes Per Line */ 32, /* Bits Per Pixel */ (unsigned char *)_acfilebrowser, /* Pointer to picture data */ NULL, /* Pointer to palette */ GUI_DRAW_BMP8888 }; const unsigned char acfolder[] = { 0x47, 0x49, 0x46, 0x38, 0x39, 0x61, 0x64, 0x00, 0x64, 0x00, 0xF7, 0x00, 0x00, 0x02, 0x8A, 0x02, 0x7A, 0x1A, 0x02, 0x8E, 0x82, 0x46, 0x02, 0x52, 0x02, 0x7A, 0x4E, 0x0A, 0xBA, 0x86, 0x22, 0xA6, 0x4E, 0x22, 0x42, 0x0E, 0x02, 0xFE, 0xC2, 0x2E, 0x56, 0x72, 0x12, 0xCE, 0xCE, 0xCA, 0x7A, 0x6E, 0x3A, 0xFE, 0xE2, 0x3E, 0x9E, 0xA2, 0x22, 0x02, 0x22,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x16, 0x52, 0x06, 0xDA, 0xCA, 0x86, 0xAA, 0x6E, 0x0E, 0xC2, 0x2E, 0x02, 0xCA, 0x2E, 0x02, 0x2A, 0x36, 0x0A, 0xAA, 0x9E, 0x8E, 0x82, 0x52, 0x0A, 0xD6, 0xB2, 0x76, 0x3E, 0x9A, 0x32, 0x82, 0xD2, 0x82, 0x8E, 0xCA, 0x8E, 0x92, 0x5E, 0x0A, 0x62, 0x6E, 0x1E, 0xC6, 0xBE, 0x9E, 0xBE, 0x2A, 0x02, 0x1E, 0x9A, 0x06, 0x3A, 0x76, 0x3A, 0x66, 0x26, 0x06, 0xE6, 0xB2, 0x66, 0x62, 0x8A, 0x12, 0x26, 0x26, 0x26, 0xA6, 0x5A, 0x2E, 0x76, 0x7E, 0x16, 0xB2, 0xDA, 0xB2, 0xEE, 0xC6, 0x5A, 0x62, 0x7A, 0x62, 0x3A, 0x92, 0x0A, 0x5E, 0xC2, 0x5E, 0x26, 0x56, 0x26, 0x8A, 0xDE, 0x8A, 0xDA, 0xEE, 0xD2, 0x1E, 0xAE, 0x1E, 0x82, 0xA6, 0x82, 0x1E, 0x7E, 0x06, 0x3E, 0x62, 0x3A, 0x2E, 0xA6, 0x2E, 0xBA, 0x8A, 0x22, 0x8E, 0x72, 0x1A, 0x4E, 0xA2, 0x4E, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x21, 0xFF, 0x0B, 0x4E, 0x45, 0x54, 0x53, 0x43, 0x41, 0x50, 0x45, 0x32, 0x2E, 0x30, 0x03, 0x01, 0x00, 0x00, 0x00, 0x21, 0xF9, 0x04, 0x09, 0x0F, 0x00, 0xAD, 0x00, 0x2C, 0x00, 0x00, 0x00, 0x00, 0x63, 0x00, 0x64, 0x00, 0x00, 0x08, 0xFF, 0x00, 0x5B, 0x09, 0x1C, 0x48, 0xB0, 0xA0, 0xC1, 0x83, 0x08, 0x13, 0x2A, 0x5C, 0xC8, 0xB0, 0xA1, 0xC3, 0x87, 0x10, 0x23, 0x4A, 0x9C, 0x48, 0xB1, 0xA2, 0xC5, 0x8B, 0x18, 0x33, 0x6A, 0xDC, 0xC8, 0xB1, 0xA3, 0xC7, 0x8F, 0x20, 0x43, 0x8A, 0x0C, 0xB9, 0x26, 0xC9, 0xC8, 0x93, 0x19, 0x4B, 0x51, 0x21, 0xC0, 0x09, 0x14, 0x0E, 0x94, 0x30, 0x27, 0x12, 0xE8, 0x41, 0xA5, 0x26, 0xA9, 0x13, 0x07, 0x31, 0x8C, 0x10, 0x45, 0x65, 0x4A, 0xCC, 0x9F, 0x02, 0xF7, 0x78, 0xA2, 0x49, 0xE0, 0x91, 0x27, 0x1C, 0x38, 0x2E, 0x5D, 0xC2, 0x91, 0x84, 0x67, 0x4D, 0x2A, 0x40, 0x81, 0xBE, 0xD9, 0x43, 0x8A, 0x2A, 0x28, 0x0D, 0x1A, 0x40, 0x25, 0xC2, 0x01, 0xEA, 0x12, 0x85, 0x4F, 0x32, 0x44, 0x45, 0x8D, 0xCA, 0x67, 0x04, 0x28, 0x45, 0x68, 0x39, 0x51, 0x20, 0x75, 0xE9, 0x11, 0x28, 0x50, 0x7B, 0x40, 0x8C, 0x8D, 0x9A, 0x83, 0x13, 0xDA, 0x25, 0x6A, 0xAB, 0x52, 0x38, 0x32, 0xF0, 0x04, 0x29, 0xA4, 0x80, 0x71, 0x3C, 0x22, 0x45, 0xB8, 0x30, 0xA9, 0x47, 0x48, 0x07, 0x8F, 0xD0, 0x31, 0xB7, 0x21, 0x0C, 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xC8, 0xA0, 0x83, 0x31, 0xA4, 0x32, 0x02, 0x0E, 0xD7, 0xA1, 0x87, 0x15, 0x87, 0xD7, 0xDD, 0xA5, 0x48, 0x4B, 0x97, 0x64, 0x46, 0x00, 0x01, 0x9F, 0xB0, 0xC0, 0x8A, 0x89, 0x1C, 0x5C, 0x42, 0x85, 0x03, 0x0E, 0x0C, 0x30, 0x80, 0x02, 0x9E, 0x24, 0x32, 0x02, 0x16, 0x14, 0x1A, 0xC1, 0x00, 0x02, 0x17, 0x08, 0xC5, 0xD2, 0x79, 0xFC, 0x81, 0x47, 0x9B, 0x22, 0x4B, 0x2C, 0x11, 0xE0, 0x56, 0x22, 0x02, 0xC9, 0xC2, 0x11, 0x95, 0xB8, 0xE1, 0xDC, 0x24, 0x9F, 0x25, 0x82, 0x80, 0x05, 0xAB, 0xAC, 0x02, 0x40, 0x1A, 0x2C, 0x5E, 0x22, 0x07, 0x9B, 0x16, 0x04, 0x11, 0x42, 0x01, 0x89, 0x10, 0x76, 0x94, 0x86, 0xBF, 0x59, 0x77, 0x17, 0x5E, 0x5D, 0xF9, 0xF8, 0xC9, 0x11, 0x47, 0x6C, 0x51, 0x89, 0x1F, 0xAD, 0x61, 0xE0, 0x1D, 0x68, 0x91, 0x0C, 0xD1, 0xC0, 0x19, 0x0D, 0x20, 0x90, 0x08, 0x28, 0x39, 0x4C, 0x02, 0xC0, 0x2A, 0x16, 0xA4, 0x11, 0x06, 0x1A, 0x48, 0xB1, 0xF8, 0x19, 0x0E, 0x14, 0xF4, 0x77, 0x55, 0x8E, 0x5D, 0x7E, 0x89, 0x43, 0x98, 0x2C, 0x6C, 0x01, 0x01, 0x04, 0x32, 0x20, 0xDA, 0x18, 0x29, 0x69, 0x8A, 0xFF, 0x97, 0xC3, 0x27, 0x37, 0xB8, 0xE5, 0x21, 0x01, 0x05, 0xC4, 0x87, 0x00, 0x10, 0x59, 0x24, 0x07, 0x6B, 0x56, 0x39, 0x5C, 0x72, 0x84, 0x96, 0x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D, 0x97, 0x0B, 0x41, 0xC8, 0xA2, 0xF4, 0x70, 0x8A, 0x0C, 0x8C, 0x79, 0xD4, 0x86, 0xD0, 0x43, 0x77, 0x10, 0x05, 0x41, 0x9F, 0x78, 0x82, 0x18, 0x05, 0x94, 0x88, 0xA1, 0xC3, 0xDB, 0x62, 0xC4, 0xAD, 0xC2, 0xD2, 0x31, 0x4B, 0xFD, 0x56, 0x6A, 0xC9, 0x09, 0x65, 0x35, 0xBE, 0xC1, 0xFA, 0xFF, 0x78, 0x84, 0x0C, 0x5C, 0xF0, 0xA4, 0x44, 0x12, 0x25, 0x7E, 0x54, 0x03, 0xD9, 0x65, 0x9F, 0x2D, 0xD0, 0x16, 0x23, 0xFC, 0x95, 0x08, 0x25, 0x66, 0xBC, 0x2D, 0xB9, 0x18, 0x2A, 0x88, 0x41, 0x06, 0x15, 0x32, 0xDF, 0x18, 0x1C, 0x72, 0x83, 0x81, 0xFB, 0x49, 0x25, 0x00, 0x76, 0x2C, 0xE2, 0x27, 0x10, 0x94, 0xC2, 0xD3, 0x29, 0x49, 0xD0, 0xA1, 0xC5, 0x47, 0x63, 0x23, 0x5E, 0x76, 0x07, 0x45, 0x97, 0x50, 0x40, 0x08, 0x2C, 0xDE, 0x71, 0x47, 0xD3, 0x73, 0x47, 0x4E, 0x86, 0x19, 0x77, 0x64, 0x49, 0x69, 0x68, 0x54, 0x13, 0x98, 0xC9, 0x11, 0x91, 0xE0, 0xF0, 0x61, 0xCE, 0xEC, 0x85, 0x45, 0xC5, 0x1A, 0x5F, 0xD0, 0x40, 0x47, 0x06, 0x86, 0xBB, 0x3E, 0xB4, 0xBB, 0x1D, 0x60, 0x00, 0x44, 0x0C, 0x58, 0x5C, 0x30, 0x08, 0x14, 0x94, 0xAC, 0x72, 0x07, 0x25, 0xE0, 0x7B, 0x0F, 0x3E, 0x15, 0xE0, 0x8D, 0xB7, 0x94, 0xAF, 0xE0, 0x02, 0x99, 0x4A, 0x29, 0x49, 0x9D, 0xF6, 0xC8, 0xE8, 0xAC, 0x70, 0x41, 0xC5, 0x17, 0x96, 0xD4, 0x6F, 0x92, 0xD8, 0x4D, 0x48, 0xFF, 0x7A, 0x10, 0x41, 0x94, 0x30, 0x43, 0x01, 0x28, 0xBA, 0x41, 0xF7, 0xDA, 0x44, 0xC0, 0xEE, 0x69, 0x4F, 0x57, 0xF1, 0x19, 0x44, 0x01, 0x08, 0x23, 0x94, 0x02, 0x65, 0x62, 0x06, 0x1C, 0x28, 0x9E, 0x57, 0xA8, 0xF6, 0xB1, 0x52, 0xA0, 0xC2, 0x05, 0x2E, 0xE0, 0x01, 0x0F, 0xBE, 0x80, 0x20, 0x8F, 0x1C, 0x4E, 0x7F, 0x65, 0xE3, 0x1F, 0x10, 0x4A, 0x40, 0x88, 0x19, 0xA0, 0xC8, 0x0F, 0x66, 0x10, 0x1F, 0x25, 0xEE, 0xB0, 0x8A, 0x19, 0x0C, 0xE2, 0x85, 0x30, 0x7C, 0xE1, 0x21, 0x42, 0x70, 0x81, 0x0B, 0x14, 0xA0, 0x00, 0x33, 0x98, 0x41, 0x09, 0x6E, 0x90, 0x14, 0xA5, 0x24, 0x07, 0x60, 0x2C, 0x90, 0x41, 0x04, 0xFF, 0xA8, 0xC0, 0x03, 0x40, 0x00, 0xC2, 0x05, 0x49, 0x08, 0x1B, 0x47, 0x5A, 0x37, 0xBD, 0x26, 0x9E, 0x2C, 0x14, 0x44, 0x08, 0x02, 0x08, 0xB2, 0x70, 0x03, 0x0E, 0x94, 0x20, 0x06, 0x83, 0x40, 0x00, 0x15, 0xBE, 0x77, 0x07, 0x2C, 0xCC, 0xAE, 0x86, 0x17, 0x08, 0x81, 0x18, 0xC5, 0x78, 0x01, 0x2F, 0xC6, 0x60, 0x06, 0x84, 0x28, 0x01, 0x07, 0x80, 0x20, 0x83, 0x1E, 0xFE, 0x90, 0x44, 0x9A, 0xA0, 0x82, 0x11, 0x8D, 0xF8, 0x85, 0xE6, 0x78, 0x10, 0x84, 0x4D, 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 0xC4, 0x95, 0x04, 0x65, 0x10, 0x04, 0x1B, 0x08, 0x2E, 0x47, 0x90, 0x05, 0x1F, 0xC8, 0x10, 0x2A, 0x41, 0x05, 0x7E, 0xB0, 0x65, 0x11, 0x06, 0x61, 0x6A, 0xE0, 0x07, 0x11, 0xB0, 0x81, 0x05, 0x12, 0x79, 0x2F, 0xB8, 0x10, 0xAC, 0xC6, 0x13, 0x7C, 0xC0, 0x67, 0x7E, 0xD0, 0x67, 0xAD, 0xC0, 0x07, 0x75, 0x36, 0x7B, 0x41, 0xD4, 0x83, 0x0B, 0x71, 0x1B, 0x8E, 0x55, 0x4F, 0x6F, 0x43, 0x10, 0x11, 0xE0, 0x6B, 0xBF, 0xE6, 0x09, 0xC8, 0xE7, 0x7F, 0x27, 0xB0, 0x07, 0x0D, 0x44, 0x00, 0x38, 0x31, 0x10, 0x22, 0x03, 0x59, 0x06, 0x21, 0x0A, 0x2C, 0xF0, 0x08, 0xA2, 0x11, 0x7B, 0x5B, 0xE0, 0x80, 0xD0, 0x92, 0x26, 0xC0, 0xE3, 0x31, 0xED, 0x11, 0x01, 0x44, 0xE5, 0x85, 0x03, 0x01, 0x02, 0x0E, 0xC3, 0x1B, 0x6D, 0x31, 0x02, 0xFF, 0x94, 0x7C, 0x2C, 0x62, 0x1E, 0x36, 0xA2, 0x15, 0x9C, 0x73, 0x5E, 0x98, 0xF1, 0x23, 0x91, 0xF0, 0x23, 0x71, 0xA7, 0x03, 0x95, 0x80, 0x19, 0x4B, 0xE1, 0x09, 0xA9, 0x00, 0x5A, 0x92, 0xD7, 0x62, 0xD4, 0x72, 0x3C, 0x78, 0xA3, 0x27, 0x1F, 0xFF, 0x93, 0x09, 0x70, 0x36, 0x02, 0x6A, 0x37, 0x10, 0xA2, 0xC0, 0x0A, 0x9F, 0x50, 0x20, 0xC4, 0xF3, 0x87, 0x04, 0x20, 0x76, 0x81, 0x37, 0x1F, 0x94, 0xC1, 0x25, 0x68, 0xA1, 0x15, 0x6D, 0x51, 0x15, 0xBA, 0x15, 0x24, 0x47, 0xC0, 0x02, 0x54, 0x86, 0x07, 0x74, 0x50, 0x10, 0x6F, 0x30, 0x73, 0xA5, 0xC0, 0x0A, 0xD7, 0xC6, 0x5A, 0x96, 0x20, 0x08, 0x81, 0xF7, 0x09, 0x10, 0x72, 0x35, 0xA0, 0x28, 0x20, 0xA3, 0x98, 0x3E, 0x83, 0x92, 0x0A, 0xAC, 0x70, 0x04, 0x9F, 0x80, 0x81, 0xB5, 0xD7, 0x0A, 0xC7, 0xF6, 0x17, 0x55, 0x31, 0x28, 0x54, 0x66, 0x09, 0x92, 0xB7, 0x07, 0x93, 0x72, 0x35, 0x5E, 0xA2, 0x8B, 0xEF, 0x03, 0x30, 0xE6, 0xC2, 0x2C, 0x27, 0x40, 0x07, 0x6B, 0x80, 0x88, 0xD9, 0x32, 0x2F, 0xBF, 0x83, 0x03, 0x40, 0xB2, 0x06, 0xCB, 0x78, 0x8B, 0x5C, 0xD2, 0x12, 0x2E, 0xE6, 0x39, 0x47, 0x90, 0x0A, 0x95, 0xA0, 0x05, 0x28, 0x38, 0x8C, 0x03, 0x31, 0x02, 0x97, 0xB0, 0x88, 0x1A, 0x10, 0x2C, 0x9F, 0x80, 0x88, 0x2F, 0xE7, 0x09, 0x14, 0xE0, 0x1B, 0x3B, 0x72, 0x1C, 0x3F, 0x84, 0x89, 0x25, 0x71, 0x0A, 0xEA, 0x48, 0x10, 0x4A, 0x80, 0x03, 0x75, 0xC1, 0x25, 0xA5, 0xD2, 0x12, 0xA4, 0xD0, 0x80, 0x45, 0xC7, 0x8E, 0xCD, 0x98, 0x35, 0x61, 0x92, 0x63, 0x65, 0xD0, 0x8F, 0x46, 0x13, 0x2A, 0x7F, 0x52, 0x2A, 0x2E, 0xB1, 0x05, 0xF2, 0xB8, 0x6F, 0xD0, 0x42, 0x1C, 0x03, 0xB2, 0x07, 0x78, 0xE0, 0x02, 0x34, 0xE0, 0x65, 0x0C, 0xB1, 0x07, 0x39, 0x10, 0x91, 0xC6, 0x92, 0x27, 0x0C, 0x18, 0x78, 0x1F, 0x95, 0x26, 0x14, 0x50, 0x02, 0x9B, 0x00, 0x08, 0x9D, 0x55, 0x91, 0x07, 0xF1, 0x06, 0xFA, 0x21, 0x90, 0x5D, 0xF2, 0x8C, 0x6B, 0x01, 0x16, 0x1D, 0xC4, 0x75, 0x6F, 0x83, 0x00, 0x08, 0xD4, 0xF7, 0x07, 0x80, 0x70, 0x8D, 0x11, 0xC1, 0x43, 0xCE, 0x38, 0x93, 0xA6, 0xB2, 0x1A, 0x95, 0xE0, 0x82, 0xA3, 0xA7, 0x03, 0x0E, 0xD9, 0x10, 0x10, 0xC0, 0x15, 0x75, 0x83, 0x31, 0x42, 0x45, 0x52, 0x4A, 0xB8, 0x10, 0xD3, 0x44, 0x2D, 0xE8, 0x31, 0x20, 0x9E, 0x30, 0x3C, 0x6B, 0xB0, 0x2E, 0x51, 0x29, 0x95, 0xDE, 0xC1, 0x1F, 0xFA, 0xF2, 0x3E, 0x05, 0xD2, 0x4F, 0x5B, 0xC9, 0x10, 0x6B, 0x00, 0x2B, 0xE5, 0x81, 0x37, 0x7B, 0x60, 0x08, 0x2E, 0xF0, 0x05, 0x75, 0x38, 0x96, 0x09, 0xF1, 0x06, 0x12, 0xF0, 0x02, 0x68, 0x80, 0x05, 0x89, 0x30, 0x03, 0x12, 0x80, 0x02, 0x12, 0xA0, 0x4D, 0x2E, 0xE9, 0x96, 0x06, 0xA1, 0x03, 0x5C, 0x86, 0x54, 0x74, 0xA0, 0x06, 0x49, 0xC9, 0x97, 0x84, 0x59, 0x98, 0x86, 0x79, 0x98, 0x88, 0x99, 0x98, 0x8A, 0xB9, 0x98, 0x8C, 0xD9, 0x98, 0xAD, 0x11, 0x10, 0x00, 0x21, 0xF9, 0x04, 0x09, 0x0F, 0x00, 0x0D, 0x00, 0x2C, 0x06, 0x00, 0x07, 0x00, 0x4C, 0x00, 0x54, 0x00, 0x00, 0x08, 0xFF, 0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A8, 0x08, 0x11, 0x08, 0x64, 0x68, 0x90, 0xE4, 0x12, 0x85, 0xA0, 0x40, 0x87, 0x52, 0x80, 0xEC, 0xFA, 0x35, 0xEC, 0x9D, 0x97, 0x6F, 0x68, 0x1E, 0x38, 0x65, 0x47, 0x03, 0x3F, 0xA5, 0x48, 0x81, 0x02, 0x25, 0x7A, 0x07, 0x67, 0xBF, 0xA7, 0xC9, 0x26, 0xCA, 0x31, 0x7C, 0x78, 0x8E, 0x1C, 0xB0, 0x81, 0x32, 0x27, 0x2E, 0x1A, 0x54, 0x22, 0x1C, 0x97, 0x09, 0xE8, 0xDE, 0xED, 0xA6, 0x11, 0x02, 0x04, 0x4B, 0x12, 0x35, 0xFF, 0x1F, 0x4E, 0x61, 0x47, 0x15, 0x54, 0x30, 0x44, 0x5D, 0x9A, 0x3E, 0xDE, 0xF9, 0xF3, 0xE7, 0xCD, 0x05, 0x73, 0xD2, 0x00, 0x8A, 0x42, 0xDC, 0x11, 0x04, 0x8E, 0x28, 0xDE, 0x3B, 0x68, 0x08, 0x83, 0x21, 0x43, 0x58, 0x07, 0x14, 0x0E, 0x08, 0x00, 0x88, 0x40, 0x09, 0xC6, 0xB1, 0x40, 0x9D, 0x68, 0xD5, 0xB5, 0x47, 0x1D, 0x69, 0x0A, 0x69, 0x90, 0xC8, 0x25, 0x87, 0x39, 0xC5, 0x42, 0x25, 0x7B, 0x19, 0xC2, 0x42, 0x7F, 0xFE, 0x19, 0x81, 0xC0, 0x25, 0xD7, 0x21, 0xC0, 0xC0, 0x88, 0x43, 0x20, 0x00, 0x44, 0x6A, 0xA3, 0x31, 0x48, 0x9F, 0x83, 0x82, 0xB9, 0x25, 0x96, 0x7D, 0x87, 0x11, 0xF0, 0x09, 0x0B, 0xAC, 0xA4, 0x05, 0x62, 0x0E, 0x8F, 0xA8, 0x30, 0x40, 0x15, 0x16, 0xBC, 0x12, 0xC6, 0x23, 0x14, 0x94, 0xC2, 0xA1, 0x24, 0x43, 0x0C, 0x82, 0x85, 0x27, 0xF8, 0x45, 0x15, 0x15, 0x83, 0xED, 0xB5, 0xB8, 0x44, 0x58, 0x12, 0x56, 0xE5, 0x89, 0x8C, 0x2C, 0x1C, 0xC1, 0xCA, 0x1B, 0x5B, 0xE1, 0x20, 0x1E, 0x28, 0x1C, 0x08, 0x62, 0xC1, 0x2A, 0xAB, 0x00, 0xE0, 0x03, 0x0E, 0x14, 0x90, 0x52, 0xCB, 0x18, 0x0E, 0xE8, 0x81, 0xC0, 0x20, 0x05, 0x3C, 0xC2, 0xD2, 0x08, 0x47, 0xE0, 0x30, 0x5F, 0x83, 0xC3, 0x89, 0x06, 0x16, 0x94, 0x65, 0x22, 0x49, 0x40, 0x95, 0x5B, 0xB0, 0x02, 0xC2, 0x52, 0x56, 0x4D, 0x47, 0x0A, 0x08, 0x05, 0x7E, 0xF7, 0xC8, 0x72, 0x89, 0xBC, 0x01, 0xC0, 0x2A, 0x16, 0xA4, 0x11, 0x46, 0x1D, 0x54, 0x91, 0xC2, 0x5C, 0x0E, 0x3E, 0xAD, 0x58, 0xA7, 0x93, 0x61, 0x71, 0x32, 0x16, 0x7E, 0x9F, 0x1C, 0xB1, 0x05, 0x04, 0x95, 0x64, 0xA1, 0xD4, 0x09, 0x5A, 0xB6, 0x97, 0x09, 0x08, 0x91, 0x8C, 0x00, 0x55, 0x54, 0x31, 0x0C, 0x41, 0x0B, 0x2C, 0x68, 0x20, 0xFF, 0x90, 0xC5, 0x25, 0xD8, 0x35, 0x26, 0x99, 0x27, 0xE3, 0xD9, 0xA9, 0xC8, 0x93, 0x0B, 0x25, 0x42, 0x0A, 0x92, 0x33, 0xA6, 0xC2, 0x0A, 0x2B, 0x32, 0x68, 0xE2, 0x90, 0x0F, 0x12, 0x8D, 0x40, 0x26, 0x7B, 0x2A, 0x42, 0xE8, 0xE2, 0xA9, 0x59, 0x50, 0xB6, 0x24, 0x28, 0x97, 0xA8, 0x7A, 0x29, 0x69, 0xBC, 0x72, 0x92, 0x43, 0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, 0x6C, 0x77, 0x3B, 0x35, 0x04, 0x01, 0x08, 0x33, 0x88, 0xC1, 0xF8, 0x10, 0x40, 0x09, 0x30, 0xAD, 0xE2, 0x0E, 0x0E, 0x5C, 0x05, 0xFB, 0x40, 0x24, 0x1B, 0xAA, 0xB8, 0x29, 0x23, 0x9C, 0x3A, 0x42, 0x09, 0x6E, 0xE0, 0x98, 0xA1, 0x24, 0x22, 0x66, 0x23, 0x30, 0x5D, 0x29, 0x76, 0x10, 0x04, 0x4B, 0xF0, 0x00, 0x10, 0x96, 0x50, 0xC3, 0xF6, 0x84, 0x46, 0xC0, 0xDB, 0x49, 0x21, 0x08, 0x59, 0x00, 0x42, 0x09, 0x08, 0x31, 0x03, 0x2C, 0x0C, 0xC1, 0x0C, 0x0D, 0xBC, 0x83, 0x0E, 0x77, 0x58, 0x80, 0x41, 0xF8, 0xF0, 0x87, 0x87, 0x08, 0x41, 0x08, 0xFF, 0xB0, 0x50, 0x80, 0x02, 0xCC, 0x80, 0x10, 0x25, 0x00, 0x02, 0x0B, 0x3A, 0x48, 0xAB, 0xD2, 0x49, 0x4F, 0x14, 0x41, 0x00, 0x84, 0x14, 0x01, 0xB1, 0x06, 0xED, 0x09, 0x8C, 0x85, 0xA1, 0x68, 0xA1, 0xDA, 0x82, 0x10, 0x04, 0x10, 0xDC, 0x00, 0x08, 0x1C, 0x20, 0xC4, 0x05, 0x10, 0xC0, 0x07, 0x33, 0xDC, 0x01, 0x7D, 0x77, 0x00, 0x41, 0x01, 0xB0, 0x70, 0x01, 0xF2, 0x09, 0x51, 0x88, 0x17, 0x28, 0x40, 0x0C, 0x66, 0x30, 0x83, 0x12, 0x70, 0x00, 0x08, 0x91, 0xE8, 0x20, 0x6E, 0xF0, 0x73, 0x84, 0x62, 0x51, 0x41, 0x8A, 0x12, 0x90, 0x80, 0x25, 0xCA, 0x70, 0x90, 0xDA, 0x75, 0xCF, 0x7B, 0x23, 0xE3, 0x62, 0x17, 0x7B, 0x20, 0x8A, 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, 0x4A, 0x81, 0x38, 0x22, 0x0B, 0x3D, 0xD8, 0x41, 0x3E, 0x6B, 0xE1, 0x08, 0x7D, 0x16, 0x60, 0x96, 0x91, 0xE8, 0xA7, 0x28, 0x32, 0xBA, 0x83, 0x52, 0x48, 0x26, 0x63, 0xA9, 0x88, 0x84, 0x51, 0x78, 0x70, 0xC2, 0x51, 0xBA, 0x60, 0x0D, 0x4A, 0x28, 0x64, 0x44, 0xB3, 0x48, 0x30, 0xDB, 0xD5, 0xA0, 0x03, 0x44, 0x10, 0x80, 0x14, 0x6A, 0x60, 0x40, 0x2E, 0x12, 0x84, 0x03, 0x87, 0x00, 0x42, 0x6F, 0x22, 0x30, 0x83, 0x43, 0x0C, 0xE2, 0x02, 0x1C, 0x00, 0x41, 0x16, 0x6E, 0xE0, 0x4A, 0x95, 0x0A, 0x74, 0xA0, 0x91, 0xC2, 0xCF, 0xD7, 0xA8, 0xF7, 0x05, 0x17, 0xB4, 0x14, 0x10, 0x34, 0xD0, 0x42, 0x3A, 0x93, 0x99, 0x36, 0x82, 0xD5, 0x60, 0x03, 0x02, 0x28, 0xC2, 0x24, 0x16, 0x40, 0x56, 0xB2, 0x4E, 0x42, 0x00, 0x51, 0x48, 0xA7, 0x23, 0xDC, 0x00, 0xD0, 0x08, 0xF8, 0x6C, 0x06, 0x45, 0x9C, 0x41, 0x52, 0x19, 0x09, 0x82, 0x91, 0x3E, 0xF5, 0xA9, 0x7B, 0xA0, 0x9C, 0xBE, 0xA6, 0x4A, 0x05, 0x2D, 0xD0, 0xC0, 0x12, 0x2E, 0x90, 0xE2, 0x4B, 0x91, 0x59, 0x10, 0x46, 0x44, 0x94, 0x85, 0x68, 0x08, 0xEB, 0x58, 0xC9, 0x8A, 0x89, 0xB2, 0x36, 0x96, 0xAC, 0x45, 0xE8, 0x80, 0xB2, 0x34, 0x81, 0x9A, 0x08, 0x70, 0xE1, 0xAE, 0x98, 0xC5, 0x6C, 0x04, 0x52, 0xB1, 0x83, 0xB7,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xF6, 0x7C, 0xC9, 0x36, 0x81, 0xE9, 0x82, 0x41, 0x04, 0x30, 0x3B, 0x02, 0xC1, 0x05, 0xAC, 0x70, 0x77, 0x05, 0xC1, 0x07, 0x47, 0xA0, 0x13, 0xD7, 0xB1, 0x07, 0x2C, 0x30, 0x7F, 0x04, 0xB0, 0x2E, 0xF1, 0x53, 0x50, 0xA9, 0xD6, 0x00, 0xBC, 0x85, 0x0A, 0x46, 0x58, 0x71, 0x5B, 0x30, 0x68, 0xCA, 0x33, 0x02, 0xA2, 0xD2, 0x7B, 0x3F, 0x41, 0x1C, 0x55, 0x63, 0x1D, 0x3B, 0xE1, 0x26, 0x70, 0xF2, 0x09, 0xC9, 0x15, 0x7E, 0x87, 0xB7, 0x1F, 0x92, 0x63, 0x2B, 0xA8, 0xD6, 0x68, 0x78, 0x37, 0x02, 0x14, 0x00, 0x86, 0x6E, 0x41, 0x1F, 0x13, 0x52, 0x2B, 0xC0, 0xA2, 0x83, 0x88, 0x31, 0x02, 0x29, 0x40, 0x58, 0x30, 0x80, 0x65, 0x4E, 0x21, 0x3D, 0x5C, 0xB0, 0x79, 0x31, 0x48, 0x71, 0xEB, 0x01, 0x15, 0x52, 0x23, 0x16, 0x30, 0x33, 0x3F, 0x99, 0x30, 0x23, 0x80, 0x43, 0x00, 0x23, 0xFF, 0x20, 0x05, 0x74, 0xB0, 0x5F, 0x19, 0x27, 0x6A, 0x5F, 0x36, 0x02, 0x96, 0x20, 0x08, 0x6A, 0xF7, 0x09, 0x71, 0xD8, 0x16, 0x52, 0x33, 0x2F, 0x7E, 0x93, 0x41, 0xC2, 0x32, 0x6A, 0x34, 0x40, 0x07, 0x54, 0x77, 0x03, 0x6F, 0xE3, 0x37, 0x9F, 0xB0, 0x79, 0x96, 0x38, 0x88, 0x9A, 0xB1, 0x07, 0xE2, 0xD1, 0x16, 0x17, 0xD3, 0x37, 0x19, 0xB1, 0x2F, 0xA0, 0x82, 0x69, 0xF5, 0x95, 0x64, 0x0D, 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0x05, 0xEE, 0xD3, 0x22, 0xF3, 0x4A, 0x31, 0x21, 0xBF, 0x92, 0x09, 0x2C, 0xB0, 0x06, 0x6E, 0x48, 0x93, 0x35, 0x79, 0x28, 0x2A, 0x72, 0x35, 0x20, 0x44, 0x00, 0xED, 0x07, 0x94, 0x12, 0xB1, 0x06, 0x3A, 0x31, 0x1D, 0xCA, 0xB3, 0x07, 0x1C, 0xC0, 0x8F, 0xD1, 0x88, 0x94, 0x0F, 0x91, 0x01, 0x12, 0xF0, 0x02, 0x75, 0x00, 0x14, 0xA0, 0x50, 0x07, 0x28, 0x00, 0x08, 0x2E, 0x40, 0x07, 0xF5, 0x28, 0x95, 0x10, 0xE1, 0x06, 0x7E, 0xE5, 0x02, 0x2E, 0xF0, 0x05, 0x65, 0x30, 0x62, 0x5C, 0x11, 0x10, 0x00, 0x21, 0xF9, 0x04, 0x09, 0x64, 0x00, 0x06, 0x00, 0x2C, 0x06, 0x00, 0x07, 0x00, 0x4D, 0x00, 0x54, 0x00, 0x00, 0x08, 0xFF, 0x00, 0x0D, 0x08, 0x1C, 0x48, 0xB0, 0xA0, 0xC1, 0x83, 0x8E, 0x38, 0x81, 0x9A, 0x74, 0xB0, 0xA1, 0xC3, 0x87, 0x10, 0x23, 0x4A, 0x1C, 0xE8, 0x67, 0x87, 0x2A, 0x10, 0x97, 0x1E, 0x11, 0x98, 0xC8, 0xB1, 0xA3, 0x47, 0x87, 0x5B, 0x2C, 0xAA, 0x52, 0xB5, 0x67, 0x84, 0x40, 0x47, 0x06, 0x71, 0xE4, 0x00, 0xF5, 0xB1, 0xA5, 0x4B, 0x81, 0x59, 0x2E, 0x51, 0xF8, 0xF4, 0x09, 0x07, 0x29, 0x0A, 0xC7, 0x72, 0x1E, 0xC3, 0x81, 0x41, 0xA4, 0xAA, 0x1D, 0x2F, 0x83, 0x7A, 0x0C, 0x32, 0x62, 0xC4, 0x91, 0x63, 0x1A, 0x34, 0x80, 0x3A, 0x76, 0xE9, 0x52, 0x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0x2A, 0x68, 0x86, 0x0D, 0xB6, 0xEF, 0x0E, 0x77, 0xA0, 0x02, 0x16, 0xFF, 0x42, 0x70, 0x88, 0x41, 0x18, 0xF1, 0x10, 0x21, 0x08, 0x01, 0x16, 0x0A, 0x50, 0x80, 0x19, 0x10, 0x82, 0x03, 0x40, 0x90, 0xC1, 0x57, 0x76, 0xF6, 0x2F, 0xD5, 0x4D, 0x41, 0x15, 0x3C, 0x00, 0x84, 0x04, 0x24, 0xF0, 0x85, 0x83, 0x30, 0x22, 0x7C, 0x49, 0xA3, 0x21, 0xC2, 0x1C, 0x18, 0x04, 0x10, 0xF4, 0x20, 0x0B, 0x37, 0x28, 0x41, 0x01, 0x06, 0x11, 0x03, 0x33, 0xDC, 0x21, 0x78, 0x42, 0x64, 0x62, 0xFA, 0xD4, 0x77, 0x01, 0x2C, 0x2C, 0xD1, 0x89, 0x25, 0x80, 0xE2, 0x0D, 0x40, 0xF0, 0x34, 0x99, 0x6C, 0xEA, 0x5F, 0xFB, 0x53, 0xC5, 0x16, 0x37, 0xB1, 0x09, 0x1E, 0x90, 0x46, 0x72, 0x33, 0x14, 0xA3, 0xD2, 0xC8, 0xE8, 0xC0, 0x1E, 0x9C, 0x91, 0x77, 0x21, 0x38, 0x11, 0x02, 0x06, 0x71, 0x81, 0x18, 0x48, 0x50, 0x82, 0x31, 0x88, 0x41, 0x01, 0x32, 0x39, 0x83, 0x3C, 0x92, 0xF0, 0x06, 0x1D, 0xB4, 0x4D, 0xCD, 0x46, 0x20, 0x28, 0x19, 0x44, 0x40, 0x90, 0x84, 0xDC, 0x04, 0x17, 0xBD, 0x57, 0x10, 0x30, 0x26, 0x70, 0x81, 0xA1, 0x60, 0xA4, 0x03, 0x31, 0xE0, 0xC8, 0x1E, 0xDC, 0x60, 0x82, 0x77, 0x7C, 0x22, 0x07, 0x76, 0xC9, 0x4B, 0x5E, 0x02, 0x01, 0x94, 0x91, 0x00, 0xC1, 0x0E, 0xFA, 0x38, 0x38, 0xFD, 0x6C, 0x21, 0x12, 0xBE, 0x50, 0xC5, 0x17, 0x08, 0x89, 0x82, 0x4D, 0x58, 0xE2, 0x90, 0x05, 0x61, 0x44, 0x22, 0x15, 0x38, 0xBE, 0x06, 0x32, 0xD2, 0x00, 0x7C, 0x70, 0xE4, 0x14, 0xB2, 0x00, 0xC1, 0x5F, 0x82, 0xC0, 0x17, 0xA2, 0x08, 0x67, 0x38, 0x41, 0x10, 0xCE, 0x2C, 0x64, 0x21, 0x98, 0xA2, 0x60, 0x50, 0xB6, 0xC2, 0x75, 0x04, 0x53, 0xAE, 0x50, 0x02, 0x9B, 0x40, 0x01, 0x0A, 0x24, 0xB0, 0x86, 0x0F, 0x1D, 0x6D, 0x9A, 0xA1, 0x50, 0xA4, 0xBA, 0x64, 0x79, 0xFF, 0x12, 0x6D, 0xCA, 0x61, 0x6F, 0xC0, 0x10, 0x81, 0x40, 0x6B, 0x49, 0xD0, 0x5A, 0x32, 0x88, 0x98, 0x89, 0x8B, 0xC4, 0x29, 0xF9, 0x30, 0xC8, 0x79, 0xD2, 0x00, 0x9A, 0xAD, 0xC4, 0xA7, 0x18, 0x9B, 0x50, 0x83, 0x36, 0xC4, 0x92, 0x8C, 0x04, 0xC9, 0x82, 0x23, 0x05, 0xCA, 0xD1, 0x1B, 0x0C, 0x62, 0x4E, 0x1A, 0x25, 0x28, 0x83, 0x0E, 0xDA, 0xA6, 0x9E, 0xB1, 0xA0, 0x12, 0xA7, 0x14, 0xE4, 0x16, 0xE5, 0x09, 0x88, 0x35, 0x18, 0x0A, 0x91, 0xF8, 0x54, 0xD7, 0xC1, 0x88, 0x50, 0x84, 0x22, 0x4C, 0x62, 0x12, 0x0B, 0x28, 0x02, 0x0D, 0xD4, 0x10, 0x04, 0x1D, 0x38, 0x42, 0x09, 0x7E, 0x00, 0x41, 0x04, 0x34, 0xC1, 0x81, 0x22, 0x1A, 0x31, 0x04, 0x31, 0xE0, 0x40, 0x0F, 0x40, 0xC0, 0xD4, 0x1E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x9F, 0x4A, 0x9F, 0x00, 0xFE, 0xF8, 0x1D, 0xC2, 0x07, 0x18, 0x1C, 0x40, 0x15, 0xE5, 0x4E, 0xC2, 0x1A, 0xF6, 0x6F, 0x5D, 0x25, 0xAC, 0x18, 0xF4, 0x46, 0x81, 0x2C, 0xF3, 0xF7, 0x10, 0xCE, 0x36, 0x12, 0x43, 0x56, 0x6A, 0x5A, 0x40, 0x6A, 0x41, 0x80, 0x0A, 0xFF, 0x97, 0x19, 0x95, 0xE0, 0x63, 0x03, 0xE8, 0x10, 0xCF, 0x06, 0x4E, 0xD8, 0xE6, 0x07, 0x16, 0x08, 0x5F, 0x6F, 0xA0, 0x0B, 0x5B, 0x40, 0x00, 0xA4, 0xF4, 0x80, 0x11, 0xE8, 0x10, 0x2C, 0x27, 0x0A, 0x72, 0xC5, 0x20, 0x8E, 0x70, 0x6E, 0x02, 0x21, 0x0A, 0x09, 0x26, 0x6D, 0xC3, 0x31, 0x7F, 0x6A, 0x70, 0x19, 0x1C, 0x62, 0x4F, 0x02, 0x81, 0x0A, 0xBC, 0xF0, 0x54, 0x06, 0xE1, 0x06, 0x5B, 0x70, 0x13, 0x16, 0xF3, 0x09, 0x92, 0x07, 0x78, 0x04, 0x00, 0x35, 0x39, 0x91, 0x2B, 0x17, 0x23, 0x10, 0x67, 0x83, 0x75, 0x6D, 0x37, 0x10, 0x8E, 0x00, 0x01, 0x9E, 0x40, 0x1D, 0x1A, 0xE2, 0x09, 0xE2, 0x37, 0x7A, 0xBC, 0xC2, 0x18, 0xF7, 0xD1, 0x1D, 0x76, 0x62, 0x14, 0xE6, 0xF5, 0x66, 0x91, 0xF0, 0x66, 0xC4, 0x16, 0x37, 0x5E, 0x81, 0x03, 0x7B, 0x70, 0x04, 0xA2, 0xB7, 0x75, 0x23, 0x90, 0x28, 0x39, 0x92, 0x15, 0x15, 0x33, 0x38, 0x7F, 0xF1, 0x09, 0x5B, 0x90, 0x09, 0x45, 0x31, 0x02, 0x29, 0x20, 0x58, 0x02, 0xA1, 0x0A, 0x32, 0xC0, 0x02, 0x6F, 0xA6, 0x3A, 0x11, 0x00, 0x79, 0x3B, 0x48, 0x1C, 0x63, 0x02, 0x0A, 0x7C, 0x92, 0x15, 0x4B, 0x91, 0x11, 0xF9, 0x53, 0x2D, 0xC4, 0x22, 0x87, 0x23, 0x20, 0x05, 0x74, 0x60, 0x10, 0x11, 0xF7, 0x38, 0x47, 0xF0, 0x7D, 0x23, 0x60, 0x09, 0x18, 0x50, 0x74, 0x9F, 0xFF, 0x20, 0x22, 0xBE, 0xC2, 0x2F, 0x4C, 0xA1, 0x5C, 0x81, 0x72, 0x04, 0xA9, 0xC0, 0x0B, 0x47, 0xF0, 0x09, 0x34, 0x40, 0x07, 0x92, 0xD7, 0x7B, 0x75, 0xE2, 0x2F, 0x90, 0xC7, 0x81, 0x8C, 0x58, 0x74, 0x7B, 0x00, 0x89, 0xBF, 0x12, 0x2C, 0x5C, 0xD3, 0x33, 0x82, 0x62, 0x2C, 0x32, 0x70, 0x02, 0x5A, 0x66, 0x82, 0x98, 0x83, 0x28, 0x44, 0xC2, 0x1D, 0x10, 0xF6, 0x09, 0x85, 0x48, 0x8A, 0x62, 0xF8, 0x2B, 0x5C, 0x42, 0x89, 0x82, 0x92, 0x0A, 0x95, 0xA0, 0x05, 0x88, 0x76, 0x87, 0x06, 0x40, 0x00, 0x06, 0x32, 0x86, 0x61, 0xB3, 0x76, 0x89, 0x26, 0x18, 0x9E, 0xE0, 0x2C, 0xA0, 0xA0, 0x08, 0x5C, 0x92, 0x1F, 0x92, 0x71, 0x04, 0xA8, 0x26, 0x8C, 0x02, 0xA1, 0x03, 0xEF, 0xA1, 0x31, 0x1B, 0x03, 0x0A, 0xA4, 0xD0, 0x84, 0x2E, 0x37, 0x02, 0xD4, 0x61, 0x1F, 0x3B, 0x91, 0x3F, 0x04, 0x70, 0x6A, 0x65, 0x40, 0x8D, 0x03, 0x71, 0x04, 0x06, 0xA2, 0x16, 0xA3, 0x42, 0x2A, 0x38, 0xC0, 0x02, 0x30, 0x48, 0x1C, 0x3D, 0x08, 0x1F, 0x16, 0xB3, 0x07, 0x52, 0xE0, 0x02, 0x34, 0xA0, 0x05, 0x13, 0xE1, 0x09, 0x92, 0xB2, 0x2F, 0xEB, 0xA8, 0x08, 0x62, 0xF3, 0x09, 0xDC, 0x48, 0x1C, 0x6B, 0x20, 0x05, 0x38, 0x71, 0x1D, 0x25, 0xA0, 0x4A, 0x96, 0xB0, 0x06, 0xB0, 0x08, 0x11, 0xCA, 0xC1, 0x8F, 0x60, 0xE3, 0x17, 0x04, 0x50, 0x09, 0x59, 0x50, 0x74, 0x6F, 0x00, 0x08, 0x9B, 0xF7, 0x07, 0x2D, 0xB5, 0x90, 0xD3, 0x67, 0x25, 0x0E, 0x19, 0x2C, 0x5C, 0xB8, 0x1F, 0xF2, 0xE7, 0x72, 0x3E, 0xE5, 0x12, 0x52, 0xD4, 0x8C, 0x7F, 0x93, 0x03, 0xA6, 0xB2, 0x1F, 0xC9, 0xF8, 0x81, 0x04, 0xC1, 0x0B, 0x2A, 0x91, 0x23, 0x18, 0x82, 0x92, 0x7F, 0xC1, 0x02, 0x49, 0x10, 0x66, 0x2C, 0x79, 0x10, 0x95, 0x3B, 0xF0, 0x84, 0x49, 0x91, 0x03, 0x1A, 0xD2, 0x23, 0x19, 0x76, 0x93, 0x10, 0x91, 0x04, 0xB2, 0xB8, 0x1C, 0xDD, 0xB1, 0x07, 0x1C, 0x60, 0x8F, 0x2B, 0x09, 0x94, 0xD5, 0x28, 0x01, 0x2F, 0x00, 0x05, 0x58, 0x00, 0x0A, 0x05, 0x10, 0x4F, 0xD4, 0x45, 0x07, 0x6E, 0xA0, 0x94, 0x12, 0xA1, 0x03, 0x6A, 0x60, 0x5A, 0x96, 0xF0, 0x05, 0x65, 0xA0, 0x91, 0x2F, 0x11, 0x10, 0x00, 0x21, 0xF9, 0x04, 0x09, 0x0F, 0x00, 0x09, 0x00, 0x2C, 0x06, 0x00, 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 0xDE, 0xC8, 0x92, 0xE9, 0xFA, 0x41, 0x80, 0xE0, 0x52, 0xA2, 0x1C, 0xA0, 0x52, 0x6B, 0xD8, 0x31, 0x05, 0x55, 0xE7, 0x82, 0x99, 0xBA, 0x3E, 0xEA, 0xDA, 0x75, 0x8F, 0x51, 0x66, 0x1C, 0x32, 0x95, 0x04, 0x3C, 0x33, 0xF4, 0x40, 0x29, 0x08, 0x18, 0x30, 0x18, 0x12, 0xE2, 0x52, 0xEA, 0x44, 0x37, 0x73, 0x80, 0x58, 0xE5, 0x1A, 0x86, 0x40, 0x52, 0x97, 0x28, 0x48, 0xCF, 0xD9, 0x14, 0x87, 0x75, 0x1C, 0x4D, 0xA3, 0x4B, 0xA7, 0x70, 0x09, 0x87, 0xA7, 0x23, 0x83, 0x1F, 0xE1, 0xFF, 0x1C, 0x84, 0x60, 0xC8, 0x10, 0x23, 0x08, 0x48, 0xE1, 0x24, 0x55, 0x7E, 0x08, 0x82, 0x43, 0x3B, 0x50, 0x11, 0x78, 0xF3, 0xE8, 0xE6, 0xE9, 0x1C, 0x38, 0x91, 0x6F, 0xDF, 0x8E, 0x33, 0x35, 0x28, 0xFC, 0x38, 0x90, 0x42, 0xC0, 0x16, 0x65, 0x4D, 0x92, 0x48, 0x6A, 0x39, 0x00, 0xE3, 0xC0, 0x18, 0xCA, 0xF8, 0xE1, 0x06, 0x33, 0x6C, 0x05, 0xC7, 0x80, 0x11, 0x0C, 0x20, 0x70, 0xC1, 0x0E, 0xCC, 0x98, 0x86, 0x9A, 0x7F, 0x08, 0xE6, 0x97, 0x9F, 0x7F, 0x9B, 0x81, 0xA2, 0x93, 0x6D, 0x9F, 0xB0, 0x42, 0x55, 0x19, 0x14, 0xF8, 0xC7, 0x8A, 0x23, 0x16, 0xAC, 0xB2, 0x8A, 0x33, 0xBB, 0xD0, 0x44, 0x8A, 0x2A, 0xE5, 0x49, 0x82, 0xDE, 0x05, 0x80, 0x11, 0x40, 0x8A, 0x66, 0x49, 0x71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 0xE4, 0x19, 0x44, 0x08, 0xC2, 0x38, 0x46, 0x31, 0x6A, 0x31, 0x8B, 0x36, 0x2C, 0x23, 0x10, 0x6E, 0x90, 0x85, 0x3D, 0xF8, 0x49, 0x3B, 0x4A, 0x43, 0xD2, 0x16, 0x22, 0x71, 0x11, 0x40, 0x48, 0x40, 0x02, 0x9B, 0x00, 0x44, 0x12, 0x0B, 0xF2, 0x39, 0x0F, 0xDE, 0x4F, 0x0D, 0x7A, 0x3C, 0x57, 0x1F, 0xA7, 0x90, 0x05, 0x43, 0x26, 0xB2, 0x8C, 0xA8, 0x2C, 0x81, 0x2A, 0x4B, 0x60, 0xC6, 0x1B, 0x30, 0x12, 0x04, 0x53, 0xD8, 0xC3, 0x23, 0x20, 0xC6, 0x9D, 0x47, 0x38, 0x8E, 0x05, 0xAC, 0xD0, 0x05, 0x2A, 0xA8, 0x80, 0xC9, 0x66, 0x34, 0x43, 0x02, 0x74, 0x38, 0x88, 0x1D, 0x3D, 0x89, 0x47, 0x3D, 0x12, 0xAC, 0x8F, 0x22, 0x00, 0xC1, 0xD8, 0x6E, 0x10, 0x81, 0x51, 0xA2, 0x42, 0x14, 0xBE, 0x00, 0x41, 0x24, 0x48, 0xC8, 0xC8, 0x11, 0x82, 0x60, 0x07, 0x3B, 0x78, 0x24, 0x77, 0x80, 0xC7, 0x02, 0x08, 0xE8, 0xA2, 0x7D, 0x9B, 0xF0, 0x25, 0x0A, 0x50, 0xC0, 0x83, 0x32, 0x18, 0xA4, 0x02, 0xC3, 0xC4, 0x5B, 0x28, 0x98, 0xA8, 0x37, 0x01, 0x38, 0x91, 0x20, 0x50, 0x9C, 0x82, 0x08, 0x50, 0x21, 0x07, 0x41, 0xA8, 0x42, 0x04, 0xF8, 0xEC, 0xA3, 0x3E, 0xF7, 0x49, 0xFF, 0x99, 0x1D, 0x6C, 0xE1, 0x11, 0xD1, 0xE9, 0x8E, 0x6D, 0xD8, 0xC4, 0x85, 0x91, 0xF0, 0xA0, 0x19, 0xE3, 0x44, 0x81, 0x04, 0xD6, 0xE0, 0x86, 0x0E, 0x7A, 0xF0, 0x83, 0x7A, 0xAB, 0x41, 0x14, 0x92, 0xF5, 0x4E, 0x82, 0x64, 0x21, 0x0B, 0x3D, 0xC0, 0x27, 0x3E, 0x65, 0x00, 0xC8, 0x18, 0x94, 0x80, 0x9F, 0xFD, 0xC4, 0xA6, 0xCC, 0x04, 0xBA, 0xB1, 0x5C, 0x12, 0xB1, 0x0C, 0xE1, 0x1C, 0x67, 0x33, 0x2C, 0x61, 0x4E, 0x25, 0x12, 0x73, 0x9D, 0x51, 0x10, 0x40, 0x11, 0x26, 0xB1, 0x80, 0x9A, 0x16, 0x81, 0x08, 0x44, 0x38, 0x97, 0x23, 0x32, 0xE0, 0x07, 0x3E, 0x80, 0x20, 0x0B, 0x37, 0xC0, 0x82, 0x0C, 0x07, 0x59, 0x82, 0x1B, 0x44, 0x13, 0x8A, 0x7D, 0xD4, 0x04, 0x36, 0x45, 0x0A, 0x1D, 0x92, 0xE2, 0x92, 0x0B, 0x17, 0x49, 0x02, 0x26, 0x13, 0xCA, 0x83, 0x24, 0x64, 0x40, 0x98, 0x0F, 0x9D, 0x9A, 0x14, 0x8A, 0x50, 0xD3, 0xAE, 0x76, 0x75, 0x12, 0x02, 0x88, 0xC2, 0x69, 0x22, 0x40, 0xD6, 0x08, 0xCC, 0x8D, 0x35, 0x86, 0x31, 0xCC, 0x61, 0x96, 0xCA, 0xD6, 0x4A, 0xEC, 0x40, 0x17, 0x32, 0x13, 0x99, 0xFA, 0x74, 0x31, 0x12, 0x5E, 0x4E, 0x55, 0xA1, 0x5F, 0x68, 0xA9, 0xDD, 0xD2, 0x89, 0xB0, 0xAD, 0x76, 0x15, 0x13, 0x80, 0x5D, 0x00, 0x60, 0x07, 0x5B, 0x53, 0xB0, 0x86, 0xA2, 0x67, 0x64, 0xD5, 0x05, 0x5D, 0x97, 0x1A, 0x08, 0x48, 0x38, 0xD6, 0x0A, 0x6D, 0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x23, 0x12, 0x00, 0xBC, 0xA7, 0x7D, 0xEF, 0x8E, 0x87, 0xC4, 0x07, 0xFE, 0x40, 0x7B, 0x14, 0x58, 0xE2, 0x08, 0x8D, 0x33, 0xFC, 0xEA, 0x29, 0x72, 0x80, 0x40, 0xB8, 0x5E, 0xEF, 0xA3, 0xE0, 0x3B, 0x32, 0x1E, 0x80, 0xC9, 0x4D, 0x98, 0xF7, 0x0B, 0xCC, 0x70, 0x36, 0x01, 0xA2, 0xB6, 0x7B, 0x89, 0x08, 0x21, 0x10, 0xBE, 0x77, 0x7D, 0xDE, 0x6D, 0x20, 0x84, 0x38, 0x02, 0x82, 0x07, 0x96, 0xD0, 0x42, 0xF2, 0xF7, 0xB0, 0xFC, 0xE6, 0x53, 0xE4, 0xF9, 0xD0, 0x0F, 0xBF, 0xFF, 0x10, 0xA8, 0x20, 0x60, 0x01, 0x7F, 0x61, 0x0D, 0x18, 0x76, 0x36, 0xC7, 0xBC, 0x3F, 0x11, 0x55, 0x08, 0x21, 0x00, 0xD0, 0x17, 0xC2, 0x05, 0x97, 0x4C, 0x83, 0x25, 0x43, 0x19, 0xC3, 0x80, 0xF9, 0xC4, 0xE1, 0xD9, 0x2F, 0x11, 0x37, 0xC0, 0xE0, 0x00, 0xBB, 0xA4, 0x05, 0xFD, 0xB6, 0x06, 0x74, 0xB0, 0x06, 0x5A, 0x70, 0x3C, 0xF8, 0xC7, 0x0C, 0x47, 0x70, 0x71, 0xFC, 0x87, 0x67, 0x6D, 0x44, 0x05, 0x41, 0x70, 0x0A, 0x65, 0x50, 0x06, 0x5A, 0xA0, 0x05, 0x65, 0x10, 0x04, 0x53, 0x20, 0x03, 0x09, 0x58, 0x09, 0xC1, 0xD6, 0x80, 0x07, 0x61, 0x65, 0x64, 0x46, 0x05, 0xAA, 0xC0, 0x07, 0x7E, 0x50, 0x82, 0x7C, 0x90, 0x00, 0x6E, 0x10, 0x69, 0x45, 0x41, 0x34, 0x99, 0xE7, 0x81, 0x07, 0xE1, 0x19, 0xA2, 0x90, 0x60, 0xD8, 0xE4, 0x08, 0x65, 0x97, 0x00, 0xBE, 0xB0, 0x05, 0xBA, 0xE1, 0x6C, 0x1C, 0xD4, 0x80, 0x6A, 0xE0, 0x6C, 0x81, 0x41, 0x00, 0x27, 0x40, 0x10, 0xA8, 0xC0, 0x0A, 0x61, 0x57, 0x10, 0x7C, 0x70, 0x04, 0x36, 0x71, 0x2D, 0x7B, 0x00, 0x14, 0xDE, 0x47, 0x00, 0x5B, 0x43, 0x1D, 0x22, 0xF3, 0x66, 0x67, 0x16, 0x01, 0x45, 0x28, 0x10, 0x6E, 0xB0, 0x05, 0x6E, 0x81, 0x1C, 0xD8, 0x92, 0x05, 0xCD, 0xA7, 0x1E, 0x48, 0x71, 0x31, 0xD6, 0xA2, 0x13, 0xB3, 0xA1, 0x80, 0xAA, 0x42, 0x00, 0x04, 0xC0, 0x0A, 0x66, 0x98, 0x79, 0x32, 0xA0, 0x23, 0xD6, 0xB1, 0x07, 0x47, 0x70, 0x55, 0xAB, 0x07, 0x21, 0x5F, 0xD8, 0x17, 0xD6, 0x12, 0x3E, 0x90, 0x81, 0x83, 0xB7, 0x91, 0x02, 0x98, 0x30, 0x10, 0x30, 0x20, 0x03, 0x9F, 0x00, 0x17, 0x14, 0xC4, 0x05, 0x9F, 0x10, 0x17, 0x88, 0x77, 0x09, 0xA8, 0x11, 0x41, 0xDF, 0xC2, 0x14, 0xB3, 0x61, 0x1B, 0xB9, 0x53, 0x2A, 0x85, 0xFF, 0xC7, 0x0C, 0x52, 0x10, 0x4C, 0x05, 0x01, 0x72, 0x95, 0x70, 0x04, 0x18, 0xC6, 0x0C, 0x96, 0xD0, 0x82, 0xA1, 0xB1, 0x5D, 0x12, 0xD3, 0x33, 0x87, 0x02, 0x62, 0xA3, 0xC2, 0x40, 0x93, 0xD6, 0x40, 0x34, 0x40, 0x07, 0x2D, 0x78, 0x03, 0xCD, 0x32, 0x1B, 0xE9, 0x33, 0x88, 0x98, 0xA8, 0x89, 0x92, 0xB1, 0x07, 0x4F, 0xE2, 0x89, 0x49, 0x03, 0x62, 0xB9, 0x27, 0x2E, 0x4D, 0x73, 0x02, 0x05, 0x58, 0x83, 0x09, 0xE0, 0x28, 0x11, 0xF3, 0x1F, 0xD7, 0x82, 0x24, 0x92, 0xE8, 0x74, 0x5F, 0x21, 0x31, 0x20, 0x63, 0x2F, 0x40, 0x24, 0x69, 0x95, 0x20, 0x80, 0x65, 0xE0, 0x8A, 0x09, 0x40, 0x13, 0x73, 0xC8, 0x10, 0x46, 0xF2, 0x09, 0xE9, 0x75, 0x73, 0x6D, 0x46, 0x31, 0xA1, 0xA2, 0x13, 0xA1, 0x78, 0x04, 0xDD, 0x76, 0x0A, 0xCC, 0x28, 0x10, 0x41, 0xF0, 0x08, 0x39, 0xF0, 0x31, 0x67, 0x42, 0x0A, 0xCC, 0x77, 0x73, 0x6F, 0xA2, 0x19, 0x19, 0xA3, 0x26, 0xE7, 0xB7, 0x8C, 0x11, 0xB1, 0x5D, 0xE6, 0xE3, 0x2B, 0xBF, 0x12, 0x32, 0xB8, 0xE6, 0x74, 0x4E, 0x78, 0x1A, 0x4B, 0x51, 0x13, 0x7B, 0x20, 0x05, 0x2E, 0x40, 0x03, 0x5A, 0x40, 0x11, 0x7B, 0x10, 0x8E, 0x3D, 0x03, 0x8F, 0x6A, 0x91, 0x2B, 0xEB, 0xE7, 0x74, 0x6B, 0x20, 0x05, 0xF6, 0x41, 0x01, 0x25, 0xF0, 0x4B, 0x47, 0xA4, 0x8B, 0x0F, 0xE1, 0x08, 0x3B, 0x12, 0x90, 0xF0, 0xC8, 0x10, 0x6C, 0x11, 0x44, 0xE1, 0xE6, 0x1B, 0x6F, 0x00, 0x08, 0xA4, 0x27, 0x47, 0x0E, 0x19, 0x11, 0x41, 0x80, 0x03, 0x68, 0x21, 0x90, 0xC0, 0xB2, 0x07, 0x44, 0xC3, 0x85, 0x88, 0xA7, 0x03, 0xDD, 0x28, 0x11, 0xAC, 0x80, 0x03, 0x58, 0x51, 0x36, 0x3F, 0x54, 0x52, 0x77, 0xE6, 0x82, 0x08, 0xB1, 0x05, 0x2C, 0x29, 0x24, 0x44, 0x82, 0x28, 0xB8, 0x46, 0xC3, 0x02, 0x6B, 0x00, 0x87, 0x32, 0x09, 0x11, 0x34, 0x29, 0x28, 0x9B, 0x91, 0x03, 0x23, 0x32, 0x13, 0x5F, 0xE0, 0x10, 0x3D, 0x19, 0x11, 0x6B, 0x60, 0x13, 0x1B, 0xA2, 0x85, 0x7B, 0xC0, 0x01, 0xFB, 0x38, 0x8D, 0x47, 0x89, 0x10, 0x19, 0x20, 0x01, 0x2F, 0x50, 0x07, 0x38, 0x91, 0x03, 0x75, 0xA0, 0x50, 0xBE, 0xD6, 0x81, 0x51, 0xF9, 0x10, 0x6E, 0xA0, 0x05, 0x34, 0xE0, 0x02, 0x2E, 0x90, 0x57, 0x40, 0x47, 0x16, 0x01, 0x01, 0x00, 0x21, 0xF9, 0x04, 0x09, 0x0F, 0x00, 0x09, 0x00, 0x2C, 0x06, 0x00, 0x06, 0x00, 0x4E, 0x00, 0x55, 0x00, 0x00, 0x08, 0xFF, 0x00, 0x13, 0x08, 0x1C, 0x48, 0xB0, 0xA0, 0xC1, 0x83, 0x03, 0x39, 0x69, 0x48, 0x82, 0xB0, 0xA1, 0xC3, 0x87, 0x10, 0x23, 0x42, 0x14, 0x45, 0x45, 0x03, 0xA8, 0x47, 0x12, 0x33, 0x6A, 0xDC, 0xF8, 0xF0, 0xCD, 0x16, 0x2A, 0x54, 0x40, 0x78, 0x22, 0xC0, 0xB1, 0xA4, 0xC9, 0x8C, 0x37, 0x08, 0xEC, 0xA0, 0x22, 0xEA, 0x11, 0x81, 0x24, 0x93, 0x18, 0x12, 0x2C, 0x22, 0xF3, 0xA4, 0x4D, 0x8E, 0xD1, 0x3C, 0x8D, 0xC0, 0x71, 0xE9, 0x98, 0x4F, 0x9F, 0x38, 0x30, 0xAC, 0x64, 0x79, 0xB3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6E, 0x1F, 0x95, 0x8F, 0x36, 0xC2, 0x91, 0x58, 0x0E, 0x14, 0x72, 0x9C, 0x46, 0x63, 0xA1, 0x4A, 0x15, 0x68, 0x69, 0xA2, 0x51, 0xA8, 0x54, 0x9B, 0x81, 0x11, 0x06, 0x08, 0x14, 0x10, 0x81, 0x27, 0x41, 0x24, 0x10, 0x4D, 0x4F, 0x3F, 0xF9, 0x44, 0x01, 0x05, 0xE2, 0x35, 0x78, 0x09, 0x05, 0x09, 0x3A, 0x85, 0x83, 0x27, 0x9F, 0x4C, 0x85, 0x41, 0x69, 0xA8, 0x85, 0x20, 0x8D, 0x05, 0x16, 0x40, 0x53, 0x01, 0x0E, 0x14, 0x44, 0x23, 0x88, 0x03, 0x43, 0x48, 0xC2, 0xC0, 0x20, 0x05, 0x24, 0x37, 0x02, 0x84, 0xF2, 0x9D, 0x96, 0x83, 0x6E, 0x11, 0xFA, 0xD4, 0xE2, 0x69, 0xC7, 0x50, 0x30, 0x21, 0x01, 0x5B, 0x18, 0xA5, 0x9F, 0x69, 0xA8, 0xC9, 0x00, 0xC2, 0x0D, 0x37, 0xC4, 0x77, 0x9A, 0x35, 0xF6, 0x01, 0x20, 0x88, 0x21, 0x25, 0x3C, 0xA2, 0xE4, 0x1E, 0x04, 0x44, 0x83, 0x1A, 0x6A, 0x2F, 0x26, 0x88, 0xDA, 0x52, 0x16, 0x39, 0xC5, 0x1E, 0x01, 0x9F, 0x54, 0x72, 0x13, 0x01, 0x20, 0xF2, 0x78, 0x1A, 0x66, 0x1A, 0xA8, 0xC5, 0xC9, 0x10, 0xD5, 0x70, 0xA8, 0xC0, 0x34, 0x21, 0x5C, 0xD2, 0xD6, 0x4F, 0x88, 0x59, 0x04, 0xE5, 0x8B, 0x2D, 0x26, 0x86, 0x95, 0x45, 0x36, 0xEA, 0x84, 0xE5, 0x11, 0xCC, 0x9D, 0xB4, 0x47, 0x97, 0x79, 0x81, 0x19, 0xA6, 0x5A, 0x58, 0xA5, 0x12, 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xD0, 0x45, 0x04, 0x50, 0x41, 0x05, 0x3F, 0xC0, 0x44, 0x5E, 0x1C, 0x9B, 0xA0, 0xDB, 0xFF, 0x80, 0x17, 0x0A, 0x0B, 0x5A, 0x30, 0x01, 0x3A, 0xD0, 0x20, 0x21, 0x2E, 0x90, 0x3F, 0x04, 0x60, 0x01, 0x0B, 0x31, 0x98, 0xC1, 0x0C, 0x62, 0x30, 0xC2, 0x27, 0x62, 0x61, 0x84, 0x52, 0x7C, 0x21, 0x07, 0x38, 0x20, 0x43, 0x1A, 0x9E, 0x2B, 0x56, 0x34, 0x23, 0x40, 0x2A, 0x74, 0x41, 0x11, 0x2A, 0x24, 0x81, 0x0E, 0x96, 0x60, 0x81, 0x5C, 0x26, 0x27, 0x44, 0x22, 0x16, 0xD1, 0x88, 0x05, 0x72, 0x44, 0x0F, 0x7A, 0xC0, 0x81, 0x02, 0x3C, 0xB1, 0x00, 0x5A, 0x2C, 0x41, 0x09, 0x08, 0x31, 0xC5, 0x18, 0x44, 0xD1, 0x85, 0x25, 0xE0, 0x22, 0x10, 0x08, 0x95, 0x83, 0x3D, 0x84, 0x87, 0x02, 0x3B, 0x0B, 0xE3, 0xA5, 0xCA, 0xF8, 0x05, 0x1E, 0x38, 0xB2, 0x26, 0x11, 0x34, 0xDF, 0xF9, 0x88, 0x28, 0x01, 0x38, 0x0A, 0x64, 0x8E, 0x22, 0xE0, 0x83, 0x1F, 0x38, 0x90, 0x05, 0x10, 0x78, 0x32, 0x0B, 0x59, 0xB8, 0x01, 0x10, 0x8A, 0xC7, 0x81, 0x40, 0x8E, 0x12, 0x48, 0x9D, 0xDC, 0x81, 0x21, 0x79, 0xB2, 0x20, 0x03, 0xD6, 0xCE, 0x7A, 0x30, 0xA0, 0xC2, 0x29, 0x00, 0x21, 0x81, 0x4D, 0x6C, 0xE2, 0x0B, 0x10, 0x8C, 0xA4, 0x10, 0x8D, 0x56, 0x41, 0x23, 0x0E, 0x04, 0x04, 0x3D, 0x20, 0x03,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0x00, 0x51, 0xE1, 0x33, 0x1F, 0x82, 0xC0, 0x12, 0x3E, 0x34, 0x24, 0x03, 0x5F, 0x58, 0xC3, 0x1A, 0x78, 0x40, 0x87, 0x24, 0x40, 0x3B, 0xDA, 0x85, 0x41, 0x85, 0x92, 0x75, 0x11, 0x09, 0x1E, 0x63, 0x3B, 0x77, 0xA8, 0x60, 0xB1, 0x80, 0x83, 0x20, 0x04, 0x21, 0x04, 0xE0, 0x01, 0x9D, 0x10, 0x02, 0xB8, 0xF9, 0x4C, 0x51, 0x4F, 0x50, 0xF4, 0x21, 0x6B, 0x48, 0x42, 0x12, 0x2C, 0xD1, 0x6E, 0x0C, 0xD8, 0x84, 0xA2, 0x53, 0x28, 0xCB, 0xB4, 0x73, 0x47, 0x85, 0x20, 0x84, 0x38, 0x01, 0x66, 0xE9, 0xB7, 0xC6, 0xBF, 0x3D, 0xF0, 0x2C, 0x8B, 0x15, 0x22, 0x01, 0x3E, 0x45, 0x12, 0xD6, 0x70, 0xF1, 0x87, 0x53, 0x54, 0xDE, 0x5D, 0xFF, 0x45, 0x05, 0x41, 0xF8, 0xC0, 0x05, 0x2B, 0x78, 0xC0, 0x03, 0x9D, 0x88, 0x79, 0xCC, 0x3D, 0x60, 0x00, 0x44, 0xBC, 0x80, 0x0F, 0x30, 0x0E, 0xAB, 0x44, 0x54, 0xA0, 0xC9, 0x92, 0x1B, 0x45, 0xAC, 0xC9, 0x16, 0xC8, 0x0E, 0xAE, 0xF1, 0x72, 0x98, 0xCB, 0xBC, 0x13, 0x1E, 0xA8, 0x83, 0xCD, 0x51, 0xA0, 0x05, 0x6B, 0x17, 0xA6, 0x39, 0x36, 0x09, 0x42, 0x25, 0xAC, 0x60, 0x83, 0x07, 0x50, 0x83, 0x1A, 0x47, 0x87, 0xC4, 0x1F, 0xE6, 0x80, 0x88, 0x3F, 0xD0, 0x21, 0x1A, 0x35, 0xD6, 0x12, 0xD4, 0x4D, 0x12, 0x01, 0xAA, 0x9B, 0xC2,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61, 0x86, 0x41, 0xFE, 0xFB, 0x0D, 0x01, 0x1F, 0x48, 0x2C, 0x5E, 0x86, 0x32, 0x68, 0x41, 0x0B, 0x65, 0x20, 0x37, 0x97, 0x23, 0x4C, 0x00, 0x20, 0xC2, 0xDF, 0x21, 0xB8, 0xA6, 0x4E, 0x20, 0xA1, 0x49, 0x30, 0x65, 0x6E, 0x54, 0x10, 0x09, 0x47, 0x40, 0x00, 0x99, 0x60, 0x3D, 0xFF, 0x37, 0x11, 0xEA, 0xF4, 0x68, 0x4F, 0x97, 0x4B, 0x9A, 0xA0, 0x7D, 0xDB, 0x17, 0x78, 0x9F, 0xA7, 0x06, 0xC7, 0x31, 0x2B, 0xDE, 0x95, 0x00, 0xA8, 0xC0, 0x0A, 0xA2, 0x70, 0x70, 0x05, 0xD1, 0x19, 0x20, 0x62, 0x23, 0x23, 0x00, 0x01, 0xDF, 0xC7, 0x25, 0xD0, 0x33, 0x38, 0x0B, 0x23, 0x66, 0xBA, 0xE3, 0x53, 0x2B, 0x41, 0x16, 0xBD, 0x02, 0x21, 0x5B, 0x41, 0x00, 0x41, 0x27, 0x78, 0xD1, 0x60, 0x1A, 0x4B, 0x01, 0x38, 0x4D, 0x31, 0x33, 0xEC, 0x91, 0x80, 0xD2, 0xC5, 0x5E, 0xBC, 0xB6, 0x4F, 0x2A, 0x00, 0x01, 0x23, 0xF0, 0x08, 0x6A, 0xE2, 0x09, 0xAC, 0xF0, 0x7B, 0x2B, 0x52, 0x2E, 0x6A, 0x01, 0x2E, 0x6D, 0x51, 0x31, 0xAD, 0x03, 0x61, 0xEF, 0x95, 0x02, 0x8D, 0x26, 0x10, 0x11, 0x90, 0x0A, 0x37, 0x86, 0x23, 0x90, 0xC3, 0x6B, 0x0E, 0x27, 0x77, 0xCF, 0x01, 0x0A, 0x10, 0xC3, 0x2C, 0x06, 0x54, 0x38, 0x23, 0xC0, 0x3A, 0x96, 0xC2, 0x02, 0x37, 0x86, 0x07, 0x74, 0x50, 0x10, 0x6E, 0xE0, 0x55, 0x91, 0x00, 0x01, 0x2C, 0xF0, 0x09, 0x11, 0x66, 0x09, 0x35, 0x08, 0x19, 0x9F, 0x80, 0x83, 0x89, 0x83, 0x2E, 0x4E, 0xA1, 0x35, 0xEC, 0x72, 0x04, 0xA9, 0xC0, 0x0A, 0x15, 0xF6, 0x05, 0x74, 0x10, 0x74, 0x47, 0xD0, 0x4E, 0x85, 0x73, 0x04, 0x68, 0x38, 0x02, 0x34, 0x20, 0x77, 0x37, 0x98, 0x17, 0x35, 0xFF, 0xB4, 0x38, 0xAE, 0x34, 0x12, 0x17, 0x03, 0x34, 0x27, 0x80, 0x7E, 0xD0, 0x56, 0x09, 0xFA, 0xD1, 0x22, 0xBA, 0x81, 0x03, 0x58, 0xB2, 0x06, 0x72, 0xB7, 0x07, 0x14, 0xE0, 0x88, 0x61, 0x03, 0x46, 0x50, 0xE8, 0x87, 0x95, 0x50, 0x7E, 0x65, 0x50, 0x87, 0x09, 0x30, 0x02, 0x97, 0xC0, 0x84, 0xE8, 0xA2, 0x2E, 0x9F, 0x60, 0x81, 0x73, 0xE1, 0x09, 0x42, 0xF2, 0x2A, 0xB1, 0xD2, 0x16, 0x76, 0x72, 0x04, 0x09, 0x77, 0x0A, 0xAA, 0x28, 0x10, 0x41, 0x80, 0x03, 0x60, 0x18, 0x3B, 0xB2, 0x03, 0x0A, 0x80, 0x21, 0x77, 0xAC, 0x88, 0x83, 0x8B, 0x83, 0x8B, 0x94, 0x92, 0x6E, 0xA9, 0xF8, 0x10, 0x49, 0xF1, 0x27, 0x60, 0xF3, 0x45, 0x8F, 0xB0, 0x05, 0xBD, 0x38, 0x16, 0x5C, 0xC2, 0x23, 0x56, 0xB2, 0x07, 0x78, 0xE0, 0x02, 0x34, 0xF0, 0x51, 0x11, 0xB1, 0x07, 0xA0, 0x90, 0x38, 0x60, 0xF3, 0x2A, 0xC7, 0x00, 0x76, 0xBC, 0x03, 0x1A, 0x74, 0x90, 0x02, 0xD0, 0x43, 0x01, 0x25, 0xD0, 0x0C, 0xAA, 0xB7, 0x06, 0xB2, 0xE8, 0x5F, 0x8F, 0x10, 0x8E, 0xD1, 0xF8, 0x45, 0x21, 0xF2, 0x09, 0x32, 0xB0, 0x81, 0xA0, 0xF1, 0x06, 0x80, 0xA0, 0x78, 0x99, 0x15, 0x8F, 0x07, 0x21, 0x03, 0x89, 0x22, 0x8C, 0xB2, 0x13, 0x29, 0x14, 0x52, 0x09, 0x9F, 0x21, 0x78, 0xFF, 0x62, 0x12, 0x5B, 0xD0, 0x8A, 0xDC, 0x62, 0x25, 0x35, 0x53, 0x09, 0x6A, 0xD6, 0x80, 0x0D, 0x71, 0x04, 0xC0, 0xA8, 0x17, 0xB0, 0x62, 0x25, 0xDD, 0x03, 0x8F, 0x14, 0x19, 0x11, 0x16, 0xA9, 0x14, 0x98, 0xB1, 0x87, 0xCE, 0xF2, 0x05, 0xDE, 0xD8, 0x91, 0x0F, 0xF1, 0x75, 0x42, 0xA2, 0x1B, 0xEF, 0x94, 0x02, 0x2E, 0xF0, 0x05, 0xEA, 0x63, 0x92, 0xE0, 0x27, 0x01, 0x2F, 0x80, 0x0D, 0x8D, 0xD0, 0x08, 0x75, 0x80, 0x4F, 0xEF, 0x10, 0x58, 0x8D, 0x30, 0x69, 0x10, 0x3A, 0x70, 0x0A, 0xCD, 0x96, 0x6E, 0x2F, 0x49, 0x15, 0x01, 0x01, 0x00, 0x21, 0xF9, 0x04, 0x09, 0x0F, 0x00, 0x06, 0x00, 0x2C, 0x05, 0x00, 0x06, 0x00, 0x50, 0x00, 0x55, 0x00, 0x00, 0x08, 0xFF, 0x00, 0x0D, 0x08, 0x1C, 0x48, 0xB0, 0xA0, 0xC1, 0x83, 0x04, 0x33, 0xC0, 0x50, 0x04, 0x2A, 0x09, 0xC2, 0x87, 0x10, 0x23, 0x4A, 0x9C, 0x38, 0xF1, 0x08, 0x95, 0x48, 0xA0, 0x2E, 0x61, 0xA0, 0xC8, 0xB1, 0xA3, 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, 0x0B, 0x6F, 0xAB, 0x56, 0xFC, 0x8C, 0xA7, 0xB4, 0xA5, 0x05, 0x21, 0x08, 0x03, 0xE9, 0x01, 0x08, 0x48, 0x57, 0x1C, 0x04, 0x0C, 0x02, 0x0B, 0x31, 0x28, 0x40, 0x01, 0xB0, 0x00, 0xC0, 0x10, 0xB8, 0xF0, 0x02, 0x58, 0xC0, 0x82, 0x0A, 0x63, 0x30, 0x83, 0x19, 0x10, 0x82, 0x03, 0x11, 0x18, 0xDF, 0x58, 0x2E, 0x36, 0xB9, 0x48, 0xB1, 0x00, 0x02, 0x91, 0xB0, 0x20, 0x1F, 0xFF, 0x94, 0x50, 0x86, 0xC6, 0x55, 0x8B, 0x83, 0x23, 0x9B, 0xDF, 0x07, 0x3F, 0x28, 0x90, 0x1E, 0xF4, 0x80, 0x03, 0x4F, 0x53, 0x21, 0x21, 0x4A, 0x40, 0x45, 0x42, 0xCC, 0x20, 0x85, 0x2A, 0x2C, 0x40, 0x0D, 0x6D, 0x48, 0x45, 0x0E, 0x00, 0xC1, 0x4C, 0xAA, 0x3A, 0x5B, 0x46, 0x28, 0xD7, 0xB8, 0x08, 0x88, 0xC4, 0x0F, 0x49, 0xF8, 0xC2, 0x16, 0xEA, 0x27, 0x90, 0x0D, 0x72, 0x10, 0x79, 0x4B, 0x04, 0x61, 0x13, 0x61, 0x00, 0x02, 0x0E, 0x70, 0xE0, 0x06, 0x78, 0xBC, 0x01, 0x10, 0xEC, 0x58, 0x02, 0x2B, 0xD6, 0x70, 0x8A, 0x25, 0xB0, 0x23, 0x10, 0xBE, 0xE8, 0xC0, 0x63, 0x30, 0xC6, 0x42, 0xB9, 0x9B, 0xDC, 0x1E, 0x24, 0x75, 0x84, 0x48, 0x44, 0x60, 0x24, 0x6A, 0x58, 0x83, 0x25, 0xD6, 0xA0, 0x06, 0x82, 0x30, 0xC2, 0x8D, 0x9C, 0x0B, 0x45, 0x07, 0x43, 0xB1, 0xC4, 0x81, 0x64, 0x01, 0x04, 0x64, 0x00, 0x97, 0xB8, 0xCC, 0x20, 0x82, 0x52, 0x8A, 0x20, 0x2E, 0x20, 0xD8, 0xA3, 0x17, 0xBF, 0x88, 0xC7, 0x2C, 0x38, 0xD0, 0x13, 0x87, 0xA4, 0x8E, 0xBC, 0x16, 0xF9, 0x9A, 0x48, 0x5C, 0x85, 0x0A, 0x34, 0x70, 0x01, 0x20, 0x00, 0xF1, 0x85, 0x59, 0x61, 0x52, 0x7E, 0x75, 0x8B, 0x02, 0x13, 0x3D, 0x99, 0x85, 0x1D, 0x88, 0xC0, 0x11, 0x64, 0x30, 0x66, 0x29, 0x9D, 0xC8, 0x4C, 0xFC, 0xB5, 0x32, 0x12, 0x20, 0xE8, 0x41, 0x04, 0x60, 0xF9, 0x20, 0xAA, 0x7C, 0x8D, 0x96, 0x47, 0x90, 0xC1, 0x2D, 0x01, 0x21, 0x81, 0x4D, 0x6C, 0x82, 0x07, 0x95, 0xD4, 0x20, 0x12, 0x93, 0xD6, 0x86, 0x72, 0xD6, 0x4D, 0x8E, 0x03, 0x09, 0xC2, 0x68, 0xEA, 0x58, 0x82, 0x00, 0x86, 0x00, 0x0B, 0x33, 0xC8, 0x42, 0x33, 0x45, 0x18, 0x4D, 0x2E, 0x08, 0x86, 0x9A, 0x16, 0x3A, 0xD3, 0xCD, 0x18, 0x67, 0xFF, 0x4B, 0x2A, 0xF0, 0x61, 0x13, 0xCD, 0x40, 0x01, 0x0A, 0x9A, 0xB1, 0x06, 0x83, 0x20, 0x0D, 0x89, 0x35, 0x90, 0x42, 0x12, 0x26, 0x31, 0x89, 0x24, 0x6C, 0x60, 0x69, 0x3C, 0x30, 0x88, 0x0E, 0x38, 0x70, 0x01, 0x18, 0xC6, 0xE0, 0x86, 0x59, 0x88, 0x44, 0x16, 0x6E, 0xC0, 0xCC, 0xCC, 0xB0, 0x2F, 0x30, 0x10, 0x08, 0x18, 0x4B, 0x56, 0x54, 0xA3, 0x57, 0x01, 0xF1, 0x96, 0x01, 0x45, 0xC1, 0x1F, 0xFE, 0x00, 0x08, 0x25, 0x18, 0xE4, 0x97, 0xFC, 0x92, 0x42, 0x11, 0xD4, 0x43, 0x53, 0xF5, 0x14, 0x41, 0x0A, 0x1B, 0x10, 0x88, 0x23, 0x32, 0xE0, 0x86, 0x9E, 0x06, 0x41, 0x17, 0x82, 0x81, 0x41, 0x47, 0x41, 0x40, 0x54, 0x51, 0xF4, 0x60, 0x07, 0x89, 0x81, 0xC1, 0x3D, 0xF7, 0xF0, 0x08, 0xAA, 0x44, 0x2C, 0x13, 0xB1, 0xD2, 0x85, 0x48, 0xA8, 0x20, 0xD0, 0x95, 0xFE, 0x41, 0x02, 0x05, 0x7D, 0xA9, 0xF1, 0xA2, 0x20, 0x80, 0x49, 0xD0, 0x14, 0x13, 0xEA, 0xC1, 0x04, 0x58, 0x17, 0xD0, 0x50, 0x22, 0x44, 0xA1, 0x49, 0x11, 0x48, 0xAB, 0x26, 0x80, 0x2A, 0x18, 0xC1, 0x1C, 0x20, 0x10, 0x36, 0x78, 0x40, 0x00, 0xDA, 0xBA, 0x03, 0x56, 0x30, 0xD2, 0x27, 0xF9, 0xA4, 0x12, 0x0B, 0x58, 0x21, 0xD5, 0x91, 0x04, 0xD4, 0xAA, 0x28, 0xB0, 0x44, 0x38, 0x2D, 0xB9, 0xC1, 0x0E, 0x2C, 0x34, 0xAC, 0x62, 0x4D, 0xAC, 0x62, 0xC7, 0xBA, 0x80, 0x22, 0x24, 0x41, 0x00, 0x49, 0x28, 0x82, 0x00, 0x6A, 0x70, 0x8C, 0x8C, 0x7D, 0xC0, 0x09, 0xC9, 0xC8, 0xEC, 0x0A, 0x3E, 0x30, 0x82, 0x11, 0x08, 0x4A, 0x26, 0xA0, 0x8D, 0xC6, 0x22, 0xD5, 0x94, 0xBE, 0x4A, 0x68, 0x02, 0x2B, 0x00, 0x55, 0xE9, 0x4A, 0x79, 0xA0, 0x05, 0x36, 0xC2, 0x8F, 0x5F, 0x44, 0x48, 0xC2, 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06, 0x36, 0x08, 0xC4, 0x1A, 0x76, 0xC9, 0x03, 0x4B, 0xD0, 0xE1, 0xF8, 0x36, 0x8A, 0x84, 0xF2, 0x39, 0xC2, 0xFC, 0x40, 0x38, 0x3F, 0x10, 0x01, 0x80, 0x81, 0xFF, 0x24, 0x39, 0x2D, 0xF5, 0x20, 0x60, 0xFF, 0x13, 0xDA, 0xDF, 0xFE, 0x44, 0x1C, 0x21, 0x84, 0xE6, 0x83, 0x5F, 0x08, 0x54, 0xF8, 0xC2, 0x17, 0x7E, 0x2D, 0xF5, 0x32, 0xB0, 0xE0, 0xF8, 0xAB, 0x4F, 0xBE, 0xFA, 0x23, 0xE2, 0x88, 0x1E, 0x5C, 0xBB, 0x0C, 0x49, 0x60, 0x73, 0x35, 0xA7, 0x05, 0x6A, 0xA0, 0x09, 0xF7, 0x97, 0x24, 0x47, 0xC0, 0x17, 0xFB, 0x27, 0x11, 0x63, 0x36, 0x12, 0x4A, 0x70, 0x0A, 0x50, 0xA7, 0x05, 0x5A, 0x50, 0x06, 0x4A, 0x40, 0x05, 0x32, 0x70, 0x80, 0x23, 0x90, 0x77, 0x0B, 0x18, 0x11, 0x0C, 0x97, 0x19, 0x23, 0xC1, 0x07, 0x7E, 0x10, 0x82, 0x7C, 0xC1, 0x07, 0x91, 0x70, 0x04, 0x04, 0x30, 0x02, 0x95, 0xB2, 0x81, 0x12, 0x91, 0x19, 0xAC, 0xD6, 0x56, 0xF6, 0x33, 0x72, 0x47, 0xD0, 0x59, 0x9D, 0x71, 0x25, 0x1B, 0x78, 0x02, 0x22, 0x96, 0x24, 0x04, 0x70, 0x02, 0x6C, 0x84, 0x0A, 0xAC, 0x20, 0x0A, 0x2E, 0x58, 0x10, 0x30, 0xC0, 0x02, 0x2A, 0x92, 0x36, 0x9E, 0xB1, 0x7F, 0x99, 0xA0, 0x29, 0x88, 0x03, 0x23, 0x91, 0x02, 0x1B, 0x5F, 0x66, 0x4F, 0x3F, 0x28, 0x10, 0x20, 0x70, 0x04, 0x7B, 0x60, 0x1A, 0x65, 0x31, 0x02, 0x7D, 0xC6, 0x7B, 0x79, 0x81, 0x16, 0xA1, 0x82, 0x28, 0x34, 0x02, 0x36, 0x98, 0x17, 0x28, 0x75, 0xC2, 0x0A, 0x75, 0x82, 0x23, 0x8E, 0x90, 0x63, 0x3A, 0x82, 0x03, 0x9E, 0xB0, 0x46, 0xCA, 0x37, 0x02, 0x40, 0x71, 0x19, 0x63, 0xC1, 0x85, 0x4A, 0xB8, 0x38, 0x5B, 0x90, 0x09, 0x47, 0x86, 0x07, 0x83, 0x25, 0x0A, 0x95, 0x60, 0x64, 0xE9, 0x13, 0x09, 0x3D, 0x46, 0x00, 0x00, 0xA7, 0x77, 0x97, 0xD0, 0x24, 0x3B, 0x33, 0x16, 0xB9, 0x51, 0x16, 0xA2, 0x05, 0x3E, 0xD0, 0xC2, 0x02, 0x27, 0x88, 0x07, 0x74, 0xC0, 0x6B, 0x44, 0xFF, 0xC6, 0x0A, 0x0B, 0xA4, 0x24, 0x96, 0x10, 0x5F, 0xD1, 0xF1, 0x09, 0xA7, 0xB1, 0x2C, 0x5F, 0x92, 0x3B, 0x5F, 0x93, 0x31, 0xF4, 0x02, 0x01, 0xAC, 0x60, 0x5C, 0xD6, 0x47, 0x89, 0x21, 0xF5, 0x20, 0xA2, 0xF5, 0x89, 0x27, 0x68, 0x09, 0x8C, 0xB7, 0x07, 0x97, 0x98, 0x89, 0x52, 0x11, 0x31, 0xFB, 0x24, 0x60, 0x6F, 0x73, 0x02, 0x35, 0xF7, 0x87, 0x02, 0x11, 0x04, 0xD1, 0x70, 0x21, 0xA8, 0x31, 0x25, 0x93, 0x92, 0x55, 0x69, 0xF7, 0x13, 0x5D, 0xB2, 0x04, 0xE6, 0x03, 0x36, 0x49, 0xF2, 0x1A, 0x1E, 0xA3, 0x05, 0x49, 0xA0, 0x06, 0x94, 0x38, 0x10, 0x99, 0x40, 0x17, 0x6E, 0x08, 0x2F, 0x97, 0xF0, 0x09, 0xB4, 0x18, 0x1D, 0x9E, 0x10, 0x88, 0xA0, 0x00, 0x15, 0x72, 0x22, 0x8C, 0x1A, 0xB3, 0x06, 0x49, 0x70, 0x0A, 0xC9, 0x48, 0x10, 0x4A, 0x90, 0x32, 0xE4, 0x53, 0x3E, 0xA0, 0x60, 0x68, 0x8C, 0x37, 0x02, 0xA6, 0x61, 0x19, 0x69, 0x73, 0x88, 0x04, 0x20, 0x75, 0xC8, 0x18, 0x11, 0x9F, 0x40, 0x01, 0x98, 0xC8, 0x33, 0x62, 0xF4, 0x08, 0x5B, 0x10, 0x6E, 0xEE, 0xC1, 0x01, 0xC9, 0xD1, 0x24, 0x53, 0x21, 0x5A, 0x78, 0xE0, 0x02, 0x5F, 0x40, 0x75, 0x12, 0x61, 0x2A, 0x3B, 0x24, 0x8F, 0x68, 0xF3, 0x08, 0xE8, 0xA7, 0x77, 0x6B, 0x50, 0x07, 0x2C, 0x42, 0x01, 0x25, 0xD0, 0x0C, 0x12, 0x30, 0x49, 0x9C, 0xF7, 0x10, 0x3A, 0xF0, 0x08, 0xD5, 0x28, 0x8F, 0x91, 0x73, 0x3E, 0x9F, 0x20, 0x03, 0x68, 0x17, 0x1D, 0x3A, 0xC0, 0x03, 0x7F, 0xE0, 0x72, 0x55, 0x16, 0x8D, 0x12, 0x91, 0x05, 0x85, 0x61, 0x31, 0x91, 0x93, 0x36, 0xEB, 0x52, 0x09, 0x34, 0xC8, 0x78, 0x18, 0xD0, 0x8D, 0x14, 0xC1, 0x0A, 0x38, 0x50, 0x8D, 0xC3, 0xC2, 0x09, 0xFB, 0x88, 0x82, 0x95, 0x00, 0x90, 0x2A, 0x4A, 0x18, 0x11, 0x47, 0x10, 0x93, 0x97, 0x11, 0x15, 0xFB, 0xE8, 0x2A, 0x47, 0xB0, 0x06, 0xF6, 0x98, 0x93, 0x10, 0xB1, 0x05, 0x1E, 0xD2, 0x29, 0xE9, 0xE2, 0x2C, 0xEB, 0xA8, 0x05, 0x44, 0x39, 0x11, 0x6B, 0x70, 0x8B, 0x8B, 0x72, 0x4D, 0x86, 0xE0, 0x02, 0x34, 0x70, 0x85, 0x4D, 0xC9, 0x15, 0x12, 0xF0, 0x02, 0x50, 0x20, 0x43, 0x29, 0x30, 0x65, 0x12, 0xB0, 0x6F, 0x11, 0x79, 0x95, 0x12, 0xA9, 0x06, 0xF3, 0x47, 0x03, 0xA1, 0xE6, 0x92, 0x3A, 0x11, 0x10, 0x00, 0x21, 0xF9, 0x04, 0x09, 0x64, 0x00, 0x06, 0x00, 0x2C, 0x05, 0x00, 0x06, 0x00, 0x50, 0x00, 0x55, 0x00, 0x00, 0x08, 0xFF, 0x00, 0x0D, 0x08, 0x1C, 0x48, 0xB0, 0xA0, 0xC1, 0x83, 0x05, 0x45, 0x79, 0x52, 0x74, 0x0C, 0xA1, 0xC3, 0x87, 0x10, 0x23, 0x4A, 0x94, 0x98, 0x85, 0x0A, 0x15, 0x02, 0x14, 0x3C, 0x4D, 0xDC, 0xC8, 0xB1, 0xA3, 0xC4, 0x3D, 0x3B, 0x2C, 0xEE, 0x89, 0xE6, 0xB1, 0xA4, 0x49, 0x8F, 0x8F, 0x28, 0x6C, 0xD9, 0x82, 0xC3, 0x13, 0x0E, 0x1C, 0xD1, 0x92, 0x08, 0xDC, 0x73, 0x0C, 0xD4, 0xA4, 0x93, 0x38, 0x73, 0x46, 0xC3, 0x91, 0x03, 0x14, 0xA8, 0x1C, 0xC7, 0x8E, 0x65, 0x0C, 0x49, 0x05, 0x55, 0xCE, 0xA3, 0x25, 0x83, 0x80, 0xE2, 0xA4, 0x48, 0x91, 0x86, 0x63, 0x38, 0x28, 0x44, 0x3B, 0x66, 0x71, 0x07, 0xD2, 0xAB, 0x0F, 0x61, 0xF8, 0xD2, 0x64, 0x60, 0xD2, 0xD2, 0xA6, 0x8A, 0x40, 0x5D, 0x7A, 0xF4, 0x68, 0x2A, 0x50, 0x3E, 0x58, 0xD3, 0x16, 0x74, 0x83, 0x0A, 0x15, 0x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x61, 0x13, 0xC0, 0x01, 0x69, 0x68, 0x00, 0x5F, 0x50, 0x41, 0x05, 0x59, 0xE0, 0xC0, 0x0D, 0x7A, 0x40, 0x46, 0x10, 0x54, 0x09, 0x87, 0x40, 0xD4, 0xE1, 0x0E, 0x81, 0x00, 0x84, 0x1B, 0x64, 0xE1, 0x11, 0x3E, 0x19, 0x89, 0x88, 0xE2, 0x32, 0x42, 0x4F, 0x44, 0xAF, 0x89, 0x4F, 0xA4, 0x82, 0x1A, 0xE8, 0x40, 0x83, 0xBC, 0x98, 0xEB, 0x8A, 0x05, 0x3C, 0x5C, 0x28, 0xD4, 0x10, 0x04, 0xEF, 0x09, 0x64, 0x41, 0x3B, 0x10, 0x81, 0x20, 0xD2, 0xE0, 0x08, 0x11, 0x38, 0x52, 0x04, 0xA8, 0x20, 0x63, 0x0F, 0xB2, 0xC0, 0xC6, 0x36, 0x5A, 0x29, 0x0B, 0x20, 0xE0, 0x02, 0x28, 0x02, 0xB4, 0x13, 0x27, 0x65, 0x29, 0x5C, 0x32, 0xD0, 0x84, 0x45, 0x92, 0xF0, 0x05, 0x4B, 0x00, 0x82, 0x03, 0x41, 0x20, 0xC8, 0xB9, 0x08, 0x58, 0x40, 0x03, 0xEA, 0x80, 0x20, 0x40, 0x14, 0xC5, 0x23, 0x1D, 0x79, 0x00, 0x0E, 0x64, 0x41, 0x92, 0x64, 0xCC, 0x82, 0x2E, 0xB3, 0x10, 0x89, 0x08, 0x70, 0x21, 0x02, 0xFC, 0x91, 0x23, 0x05, 0x48, 0x76, 0xA4, 0x84, 0x31, 0xCC, 0x22, 0x34, 0x00, 0x04, 0x20, 0x24, 0x20, 0x81, 0x35, 0x7C, 0x8A, 0x95, 0x0F, 0xAB, 0xC1, 0x26, 0x04, 0x20, 0x85, 0xC3, 0x19, 0xE4, 0x0D, 0x58, 0x18, 0xC2, 0x20, 0xDA, 0x17, 0x41, 0x31, 0x8E, 0x51, 0x92, 0xA2, 0x00, 0x81, 0x61, 0xB8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C4, 0x17, 0x6A, 0x7B, 0x90, 0x29, 0xA0, 0x42, 0x09, 0x6A, 0xB8, 0x2B, 0x68, 0x3C, 0x11, 0x84, 0xED, 0xE6, 0x96, 0xA4, 0x44, 0x28, 0x8C, 0x2F, 0x74, 0x81, 0x19, 0x00, 0x01, 0x88, 0x6F, 0x47, 0x38, 0x02, 0xA1, 0xB6, 0x80, 0x3D, 0x03, 0x7C, 0x81, 0x07, 0xCB, 0x84, 0x6F, 0x33, 0x2C, 0x61, 0x5D, 0x87, 0xF4, 0xC5, 0x36, 0xF8, 0x55, 0x83, 0x38, 0x75, 0xB1, 0x85, 0x23, 0xF4, 0x17, 0x13, 0x59, 0xD8, 0xC2, 0x86, 0x4E, 0xE0, 0xDF, 0x91, 0x2E, 0xE0, 0x9F, 0x41, 0xF0, 0x03, 0x0F, 0xA8, 0xA0, 0x8B, 0xE3, 0x12, 0x20, 0x13, 0x23, 0xC8, 0xC4, 0xA0, 0xFA, 0x16, 0xB3, 0x4A, 0x44, 0x82, 0x2B, 0x02, 0xA1, 0x01, 0x84, 0x97, 0x09, 0x4F, 0x40, 0xCC, 0x37, 0x22, 0x7C, 0x90, 0xC1, 0xD5, 0x40, 0x20, 0x8A, 0xC2, 0x68, 0x42, 0x17, 0x11, 0x80, 0x80, 0xEA, 0x34, 0x51, 0x18, 0x51, 0x94, 0xD8, 0xA9, 0x25, 0x25, 0x42, 0x14, 0xD5, 0x60, 0x11, 0x5D, 0x54, 0x22, 0xC1, 0x47, 0xA8, 0x1E, 0xF5, 0x44, 0x91, 0x40, 0x81, 0x58, 0xC2, 0x12, 0x10, 0x96, 0x40, 0x33, 0x24, 0x40, 0x83, 0x0A, 0x4B, 0x84, 0x0F, 0x80, 0xDB, 0xC1, 0x56, 0xB8, 0xC0, 0x61, 0x06, 0x33, 0xF9, 0xFF, 0x7F, 0x20, 0x58, 0xAA, 0x1A, 0x32, 0xC1, 0x1F, 0xEE, 0x9E, 0xB8, 0x08, 0x16, 0xA1, 0x42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0xE0, 0x07, 0x0E, 0x88, 0x16, 0x62, 0xC0, 0x61, 0xC9, 0x45, 0x76, 0xF4, 0x84, 0x80, 0x10, 0xE1, 0x0B, 0x0B, 0x48, 0x53, 0x2E, 0x65, 0x00, 0xE8, 0x26, 0x0A, 0x8F, 0xC6, 0x49, 0xB8, 0x61, 0x81, 0xDF, 0x35, 0x37, 0x04, 0x70, 0x02, 0x04, 0x81, 0x0A, 0x32, 0xF0, 0x6F, 0x1B, 0x58, 0x10, 0x3A, 0x80, 0x28, 0xC3, 0x64, 0x24, 0x9F, 0x60, 0x73, 0x89, 0x47, 0x00, 0x07, 0x02, 0x24, 0x9F, 0x94, 0x77, 0x11, 0xA0, 0x3A, 0x9F, 0x46, 0x10, 0x8E, 0xC0, 0x0A, 0x58, 0x42, 0x32, 0x9E, 0x30, 0x7D, 0xA8, 0x37, 0x15, 0x51, 0x12, 0x29, 0xFC, 0xC2, 0x34, 0x86, 0xC7, 0x24, 0xC8, 0x03, 0x6D, 0x04, 0xD0, 0x65, 0x2D, 0xA6, 0x22, 0x39, 0xC2, 0x02, 0x99, 0x97, 0x78, 0x23, 0x40, 0x01, 0x51, 0x82, 0x2B, 0x64, 0x92, 0x25, 0xC6, 0xD3, 0x3F, 0x30, 0xE6, 0x1F, 0x29, 0x40, 0x20, 0x02, 0x11, 0x80, 0xE7, 0x05, 0x69, 0xBD, 0x74, 0x5C, 0x32, 0xA8, 0x1A, 0x97, 0xD0, 0x13, 0x4C, 0x91, 0x2F, 0x61, 0x61, 0x2D, 0xF3, 0x11, 0x63, 0x84, 0x72, 0x04, 0xE7, 0x35, 0x02, 0x52, 0x40, 0x07, 0x06, 0x51, 0x64, 0xBA, 0x20, 0x03, 0x09, 0xE6, 0x1F, 0x96, 0x20, 0x08, 0x7A, 0xF7, 0x09, 0x35, 0x01, 0x32, 0x22, 0x34, 0x16, 0xC6, 0xF3, 0x32, 0xA9, 0xC0, 0x0A, 0x0A, 0x46, 0x03, 0x74, 0x20, 0x6A, 0x7E, 0x30, 0x02, 0xD1, 0xFF, 0x50, 0x16, 0x23, 0x20, 0x64, 0xC9, 0x65, 0x09, 0x3E, 0xB7, 0x19, 0x90, 0x31, 0x17, 0x83, 0xF8, 0x08, 0xBB, 0x72, 0x35, 0x32, 0x23, 0x03, 0x27, 0xE0, 0x7E, 0x0D, 0x17, 0x04, 0x7B, 0x30, 0x4C, 0x5F, 0x82, 0x03, 0x83, 0x62, 0x87, 0x7A, 0x37, 0x8A, 0x82, 0x41, 0x30, 0xDD, 0x72, 0x21, 0x4E, 0xE3, 0x2B, 0x95, 0x90, 0x73, 0x65, 0x20, 0x83, 0x04, 0x70, 0x09, 0x57, 0xE8, 0x14, 0x80, 0xF2, 0x09, 0x60, 0x38, 0x75, 0xEA, 0xD1, 0x13, 0x90, 0x02, 0x0A, 0x65, 0x05, 0x2E, 0x90, 0xB6, 0x06, 0xC8, 0x76, 0x86, 0x1C, 0xF8, 0x08, 0x39, 0xB0, 0x86, 0x79, 0x93, 0x29, 0xD1, 0x20, 0x84, 0xCC, 0x31, 0x02, 0xBB, 0x11, 0x19, 0x23, 0x64, 0x26, 0x1F, 0x37, 0x8B, 0x10, 0xC1, 0x02, 0x14, 0x20, 0x88, 0xA3, 0x13, 0x16, 0x1A, 0x77, 0x80, 0xB9, 0x41, 0x83, 0xC7, 0xD0, 0x13, 0xD6, 0x82, 0x18, 0x52, 0xE0, 0x02, 0x34, 0xC0, 0x73, 0x10, 0xD1, 0x20, 0xCA, 0xB8, 0x8D, 0x39, 0xF0, 0x08, 0xE2, 0xA7, 0x77, 0x6B, 0x20, 0x05, 0xC1, 0x45, 0x01, 0x25, 0x30, 0x66, 0xA9, 0x56, 0x89, 0x08, 0x11, 0x0D, 0xA0, 0xA0, 0x32, 0xDB, 0xF8, 0x14, 0xD1, 0x00, 0x30, 0xD7, 0x05, 0x1E, 0x6F, 0x00, 0x08, 0x93, 0xD7, 0x56, 0x6B, 0x80, 0x8F, 0x0E, 0x11, 0x04, 0x73, 0xC2, 0x8F, 0x22, 0x94, 0x23, 0x4F, 0x53, 0x45, 0x89, 0x47, 0x2F, 0x26, 0x51, 0x37, 0xFB, 0x18, 0x32, 0x2D, 0x73, 0x79, 0xAC, 0xB0, 0x6A, 0x16, 0x08, 0x11, 0x2C, 0xB1, 0x8A, 0xD4, 0x72, 0x91, 0x48, 0x92, 0x04, 0xDE, 0xB8, 0x91, 0x0E, 0x21, 0x62, 0x71, 0xE1, 0x26, 0x39, 0xB0, 0x53, 0x82, 0x62, 0x6E, 0x24, 0x39, 0x11, 0x6B, 0x70, 0x17, 0x0E, 0x42, 0x32, 0x7B, 0xC0, 0x01, 0xE6, 0x98, 0x6C, 0x2D, 0xF9, 0x10, 0x19, 0x1F, 0x20, 0x01, 0x2F, 0xD0, 0x08, 0x40, 0x62, 0x07, 0x28, 0x20, 0x01, 0x3C, 0x40, 0x07, 0x15, 0x78, 0x93, 0x13, 0x91, 0x01, 0x6B, 0x00, 0x66, 0x3C, 0x70, 0x8E, 0x08, 0x69, 0x12, 0x01, 0x01, 0x00, 0x21, 0xF9, 0x04, 0x09, 0x0F, 0x00, 0x09, 0x00, 0x2C, 0x04, 0x00, 0x06, 0x00, 0x51, 0x00, 0x55, 0x00, 0x00, 0x08, 0xFF, 0x00, 0x13, 0x08, 0x1C, 0x48, 0xB0, 0xA0, 0xC1, 0x83, 0x05, 0xB3, 0x50, 0xE1, 0xA4, 0xC1, 0x10, 0xC2, 0x87, 0x10, 0x23, 0x4A, 0x9C, 0x48, 0x91, 0x00, 0x15, 0x2A, 0x97, 0x70, 0xE8, 0xA0, 0xC8, 0xB1, 0xA3, 0x47, 0x8A, 0x38, 0xA6, 0x5C, 0xC4, 0x31, 0xE2, 0xA0, 0x23, 0x43, 0x49, 0x3E, 0xAA, 0x5C, 0x89, 0x10, 0x08, 0x0E, 0x1C, 0x91, 0x1E, 0x5D, 0x8A, 0xF6, 0xF2, 0xD1, 0xA4, 0x04, 0x3A, 0x34, 0x51, 0x01, 0xB1, 0x91, 0xA5, 0x4F, 0x9F, 0x40, 0xF6, 0x50, 0x00, 0xA5, 0x01, 0x54, 0x0E, 0x0A, 0x14, 0x12, 0xC9, 0xD8, 0x71, 0x31, 0xD2, 0xCF, 0xA7, 0x2B, 0x29, 0x68, 0x50, 0x44, 0x15, 0x54, 0x46, 0x0D, 0x89, 0x40, 0x51, 0x99, 0x12, 0x04, 0xAA, 0xD7, 0x88, 0x30, 0x7C, 0x69, 0x4A, 0x20, 0x95, 0x13, 0x55, 0x45, 0x89, 0x70, 0xD0, 0xF4, 0x74, 0x29, 0x4B, 0x96, 0xAF, 0x70, 0x0F, 0xA2, 0x9A, 0x1B, 0x61, 0x04, 0x51, 0xB3, 0x8A, 0x34, 0x50, 0x50, 0x4B, 0x73, 0x6C, 0xDC, 0xBF, 0x04, 0xA7, 0xEC, 0xD0, 0xB1, 0xC3, 0xAE, 0x06, 0x0D, 0x9C, 0x7C, 0x45, 0x58, 0x7C, 0x64, 0xCF, 0x1E, 0x25, 0x80, 0x23, 0x27, 0xA0, 0x62, 0x68, 0x10, 0x8E, 0xAC, 0x87, 0x39, 0xA1, 0x82, 0x11, 0x36, 0x02, 0xAB, 0x11, 0x90, 0x25, 0xC7, 0x75, 0x84, 0x80, 0xC1, 0x90, 0x21, 0x38, 0x40, 0xA9, 0x26, 0x4A, 0x60, 0xC7, 0x66, 0x5F, 0x91, 0xBA, 0x8A, 0x86, 0x3B, 0x68, 0x88, 0xE9, 0x21, 0x17, 0x72, 0x1C, 0x1D, 0x84, 0x00, 0xC1, 0x20, 0xD7, 0x30, 0x8E, 0x6C, 0x99, 0xED, 0xF5, 0x12, 0x05, 0x41, 0x03, 0xC6, 0x0C, 0x30, 0xA3, 0x2B, 0x11, 0x85, 0xD2, 0x0C, 0x4C, 0x23, 0xE0, 0xB0, 0x63, 0x0F, 0x01, 0xE2, 0x3F, 0x93, 0x5C, 0x4A, 0x74, 0x04, 0xC3, 0x98, 0x55, 0x00, 0xD2, 0x6C, 0xFF,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, 0xC1, 0x25, 0x1E, 0x61, 0x1D, 0xF2, 0xF9, 0x02, 0x06, 0x7C, 0x50, 0x42, 0x12, 0xB6, 0xE0, 0x07, 0x82, 0x30, 0xE2, 0x72, 0xEB, 0x6B, 0x9F, 0xFB, 0xFF, 0x30, 0x28, 0x9B, 0x1E, 0xA0, 0xE2, 0x06, 0x91, 0x20, 0x04, 0x07, 0x80, 0xC0, 0x44, 0x20, 0x70, 0x80, 0x03, 0x25, 0x18, 0xE1, 0x0C, 0x42, 0x48, 0x88, 0x2A, 0x96, 0xE0, 0x89, 0x40, 0xB8, 0x81, 0x28, 0x54, 0x23, 0x1F, 0x1C, 0xC0, 0x30, 0x07, 0x13, 0x1B, 0x01, 0x0B, 0x2A, 0xC1, 0x05, 0x51, 0x5C, 0x44, 0x0D, 0x74, 0xF8, 0x42, 0xDC, 0x84, 0x07, 0x44, 0xE2, 0x09, 0x51, 0x00, 0x44, 0x1C, 0x88, 0x28, 0xA6, 0x10, 0x2C, 0x27, 0xDE, 0xA0, 0x07, 0x53, 0x10, 0x01, 0x0C, 0x22, 0x70, 0x22, 0x28, 0x96, 0xE0, 0x8A, 0x4B, 0x64, 0x22, 0x12, 0x41, 0xE1, 0x89, 0x3D, 0x44, 0xE3, 0x11, 0x22, 0xCA, 0x0A, 0xB5, 0xAC, 0x15, 0x3B, 0x18, 0x50, 0x81, 0x0F, 0x6B, 0xF8, 0x82, 0x0B, 0x3E, 0x11, 0x24, 0xF5, 0x55, 0x90, 0x6E, 0xED, 0x2B, 0x02, 0x06, 0x07, 0x12, 0x89, 0x1B, 0xE4, 0x51, 0x15, 0x69, 0x90, 0x83, 0x08, 0x46, 0x29, 0x82, 0x0D, 0x9A, 0x32, 0x0B, 0x59, 0x4C, 0xD3, 0x0D, 0xB2, 0x00, 0x3F, 0x4F, 0x14, 0x72, 0x48, 0x48, 0xE9, 0x18, 0xEC, 0x74, 0x21, 0x12, 0x3A, 0xB8, 0x00, 0x10, 0x12, 0x00, 0x84, 0x16, 0x0C, 0xD2, 0xC6, 0x0A, 0x0A, 0x31, 0x14, 0x19, 0x24, 0x08, 0x07, 0x10, 0x00, 0x02, 0x52, 0x8E, 0x72, 0x06, 0x83, 0xF8, 0xA0, 0x29, 0xE1, 0xE7, 0x96, 0x2C, 0x44, 0x02, 0x8F, 0x3B, 0x78, 0xA5, 0x84, 0x90, 0x42, 0xAD, 0x7C, 0xA5, 0x22, 0x12, 0xA8, 0xA0, 0x82, 0x16, 0x24, 0x20, 0x81, 0x66, 0x34, 0x83, 0x06, 0x19, 0xE0, 0xE5, 0x25, 0x4F, 0xB6, 0x01, 0x01, 0x24, 0x21, 0x09, 0x9B, 0x48, 0xD9, 0xCA, 0x06, 0xE2, 0x88, 0x19, 0xF8, 0xE6, 0x10, 0x21, 0x00, 0xE1, 0x0C, 0x80, 0x70, 0x22, 0x20, 0x98, 0x32, 0x02, 0x20, 0x10, 0x85, 0x26, 0x76, 0x10, 0xFF, 0xCD, 0x42, 0x8A, 0x89, 0x3C, 0x50, 0xCA, 0x57, 0x25, 0x74, 0x91, 0xCD, 0x4D, 0x34, 0x03, 0x05, 0x08, 0x95, 0x80, 0x1A, 0x0C, 0x62, 0xB9, 0x71, 0x36, 0x41, 0x00, 0x45, 0x98, 0xC4, 0x02, 0x26, 0x3A, 0x09, 0x01, 0x08, 0x0C, 0x21, 0x6F, 0xB8, 0x81, 0x20, 0x41, 0x00, 0x02, 0xB7, 0xA4, 0x69, 0xA3, 0x3D, 0xD8, 0x27, 0x3F, 0x5D, 0xC9, 0x2B, 0xF2, 0xD0, 0x30, 0x5F, 0xAC, 0x20, 0x28, 0x15, 0x2C, 0x81, 0xD0, 0x3F, 0xFC, 0x01, 0x05, 0x96, 0xE8, 0x17, 0x1B, 0xD7, 0x17, 0x05, 0x88, 0x4E, 0x14, 0x13, 0x37, 0x9D, 0xE8, 0x02, 0x8A, 0x60, 0x51, 0x81, 0x38, 0x22, 0x03, 0x4A, 0x50, 0x82, 0x1F, 0xFC, 0x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x1F, 0xA2, 0x03, 0x21, 0x5C, 0x3F, 0x10, 0x01, 0x38, 0x00, 0xF7, 0x77, 0x8D, 0xEF, 0x35, 0x94, 0x81, 0x05, 0xFD, 0xDD, 0x83, 0xDC, 0xC7, 0x3F, 0x11, 0x1D, 0x50, 0xE1, 0x00, 0xEA, 0xAF, 0xB9, 0xD3, 0x31, 0xAE, 0x05, 0x35, 0x68, 0xE2, 0x08, 0xC2, 0xE5, 0x09, 0x2C, 0xC0, 0x05, 0xF4, 0x37, 0x11, 0xBA, 0x10, 0x58, 0x41, 0xA0, 0x04, 0x65, 0x50, 0x06, 0x5A, 0xA0, 0x05, 0x65, 0xA0, 0x04, 0x54, 0x10, 0x09, 0x00, 0x58, 0x2D, 0x10, 0x30, 0x7A, 0x05, 0xF8, 0x10, 0x89, 0xB6, 0x68, 0xC5, 0x35, 0x54, 0x7E, 0xC0, 0x07, 0x38, 0xA1, 0x0B, 0x7B, 0xC5, 0x48, 0x16, 0x78, 0x81, 0x07, 0x31, 0x63, 0xA2, 0xB0, 0x54, 0x4A, 0xD7, 0x2F, 0x54, 0xC0, 0x0A, 0xC2, 0x65, 0x48, 0xD7, 0x71, 0x81, 0x6A, 0x40, 0x1F, 0xD6, 0x72, 0x0A, 0x04, 0x81, 0x0A, 0xAC, 0x30, 0x68, 0x4A, 0x67, 0x10, 0xEC, 0xB1, 0x1D, 0x33, 0x41, 0x00, 0xE1, 0x44, 0x7D, 0x7C, 0xC5, 0x5B, 0xE4, 0xA1, 0x16, 0x23, 0x50, 0x78, 0x09, 0x10, 0x01, 0xBC, 0x63, 0x6B, 0x05, 0x51, 0x09, 0x23, 0x70, 0x19, 0x93, 0xC2, 0x0A, 0xD4, 0x17, 0x0D, 0x98, 0x81, 0x28, 0x8D, 0xE2, 0x23, 0x0D, 0x52, 0x84, 0xE2, 0x92, 0x57, 0x2C, 0x48, 0x00, 0xDB, 0xC2, 0x05, 0xE2, 0xC2, 0x26, 0x9F, 0x10, 0x65, 0xB5, 0x37, 0x02, 0xA0, 0x72, 0x16, 0xA7, 0x52, 0x38, 0xD5, 0xF2, 0x09, 0x5B, 0xC0, 0x5F, 0x51, 0x92, 0x02, 0x0B, 0x25, 0x10, 0x6E, 0x20, 0x81, 0x79, 0x05, 0x73, 0x0F, 0xF6, 0x09, 0x82, 0x50, 0x79, 0x97, 0x20, 0x28, 0xB4, 0x53, 0x15, 0x89, 0x30, 0x43, 0xF3, 0xF1, 0x61, 0xD7, 0x72, 0x04, 0xF1, 0x32, 0x02, 0x52, 0x40, 0x07, 0x06, 0x81, 0x0A, 0x48, 0x28, 0x03, 0x5B, 0x70, 0x04, 0xFC, 0x65, 0x09, 0x77, 0xFF, 0x48, 0x76, 0x9F, 0x90, 0x22, 0x08, 0x14, 0x3E, 0x0D, 0x52, 0x2D, 0x1E, 0x03, 0x32, 0x47, 0xF0, 0x09, 0x34, 0x40, 0x07, 0xFB, 0xE6, 0x07, 0xDC, 0x25, 0x1F, 0x9E, 0x20, 0x03, 0x79, 0x35, 0x02, 0x96, 0xF0, 0x21, 0x64, 0xB7, 0x07, 0x98, 0x91, 0x31, 0x94, 0xD8, 0x3A, 0x1E, 0xF3, 0x64, 0x32, 0x70, 0x02, 0x18, 0x27, 0x53, 0x41, 0xB0, 0x07, 0xDB, 0xA1, 0x1A, 0x47, 0x81, 0x03, 0x7A, 0xF2, 0x05, 0x86, 0x27, 0x14, 0x44, 0x91, 0x31, 0x92, 0x52, 0x89, 0x48, 0x93, 0x0A, 0x95, 0x50, 0x73, 0x65, 0x40, 0x79, 0x02, 0x41, 0x00, 0x97, 0x80, 0x31, 0x0C, 0xB1, 0x28, 0xA5, 0x46, 0x1C, 0x9E, 0x40, 0x01, 0x82, 0x52, 0x2C, 0x45, 0x13, 0x46, 0xA3, 0xB5, 0x06, 0x49, 0xA0, 0x04, 0xC6, 0x38, 0x10, 0x3A, 0xF0, 0x08, 0x89, 0x40, 0x3B, 0x68, 0x63, 0x27, 0xD1, 0x20, 0x7E, 0xFD, 0x51, 0x8B, 0x87, 0xA1, 0x40, 0xF8, 0xF2, 0x7D, 0xC5, 0x18, 0x11, 0x47, 0x70, 0x09, 0x67, 0x53, 0x3B, 0xA0, 0xE0, 0x65, 0xDB, 0x46, 0x1C, 0x7C, 0x95, 0x08, 0x82, 0xD2, 0x87, 0xF3, 0x21, 0x05, 0x2E, 0x40, 0x03, 0x38, 0x27, 0x11, 0x9E, 0x80, 0x56, 0x43, 0x53, 0x3B, 0x39, 0xF0, 0x08, 0x9F, 0x30, 0x7C, 0xB3, 0xB1, 0x06, 0x52, 0x30, 0x22, 0x14, 0x40, 0x08, 0xCD, 0x20, 0x01, 0x58, 0xC6, 0x71, 0x08, 0x11, 0x0D, 0xA0, 0xF0, 0x8F, 0x68, 0x83, 0x15, 0xD1, 0xE0, 0x25, 0xCC, 0x25, 0x1A, 0x6F, 0x00, 0x08, 0x9E, 0xA7, 0x5C, 0x0E, 0xF9, 0x10, 0x41, 0x80, 0x03, 0x53, 0xB1, 0x38, 0x09, 0xF4, 0x23, 0xE1, 0xF6, 0x16, 0x95, 0xA7, 0x03, 0xD9, 0x38, 0x11, 0x95, 0x90, 0x1A, 0xC7, 0x12, 0x43, 0xD4, 0x12, 0x6E, 0xCD, 0x48, 0x82, 0x08, 0xD1, 0x65, 0xBD, 0x08, 0x31, 0x32, 0xF4, 0x87, 0x2C, 0x40, 0x90, 0x04, 0x3F, 0x28, 0x93, 0x11, 0xB1, 0x05, 0xDC, 0x58, 0x28, 0xB7, 0x78, 0x8E, 0x29, 0xC1, 0x93, 0x12, 0xB1, 0x06, 0xD1, 0x00, 0x8D, 0xB6, 0x38, 0x29, 0x9E, 0x90, 0x8F, 0x6F, 0x48, 0x94, 0x11, 0xF1, 0x06, 0x12, 0xF0, 0x02, 0x8D, 0x40, 0x22, 0x14, 0x60, 0x07, 0xAF, 0xC7, 0x03, 0x5F, 0x10, 0x8F, 0x4E, 0x59, 0x71, 0x6B, 0x70, 0x4B, 0xA0, 0xB6, 0x06, 0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x96, 0xBF, 0x90, 0x1D, 0xED, 0x20, 0x31, 0x28, 0x91, 0x5D, 0x86, 0x30, 0x76, 0xC0, 0x00, 0xCB, 0xB8, 0x2F, 0x64, 0xBF, 0x83, 0x86, 0x30, 0x18, 0x82, 0x80, 0x02, 0xA8, 0xD3, 0x0C, 0x3D, 0xED, 0x40, 0x05, 0x83, 0xF1, 0x67, 0xB8, 0x49, 0x10, 0x30, 0x98, 0x8D, 0x00, 0x47, 0xA2, 0x44, 0x05, 0x10, 0x90, 0x46, 0xA0, 0x19, 0x46, 0xC9, 0x82, 0x5A, 0xF6, 0x08, 0xDF, 0x33, 0x82, 0xC0, 0x09, 0x1D, 0x2A, 0x09, 0x3A, 0x4A, 0xFE, 0xDA, 0x80, 0xA3, 0x4B, 0x97, 0x06, 0x8C, 0x19, 0x30, 0x40, 0x85, 0x6D, 0x2C, 0xB2, 0x69, 0x0F, 0x12, 0xF5, 0xC9, 0x53, 0x10, 0x81, 0x93, 0x1E, 0x41, 0xFF, 0xA7, 0x40, 0x1E, 0xFA, 0x4D, 0x98, 0x37, 0xA1, 0x9B, 0x7F, 0xE4, 0x49, 0xC7, 0x5F, 0x0E, 0x14, 0x12, 0x21, 0xB0, 0xB0, 0x6A, 0x15, 0x80, 0x34, 0x48, 0x77, 0x04, 0x11, 0x2D, 0x09, 0xC1, 0x20, 0x42, 0xD1, 0xEC, 0x41, 0x80, 0x01, 0x9E, 0x58, 0x75, 0xDB, 0x81, 0x89, 0x90, 0x77, 0xD4, 0x78, 0xF1, 0x59, 0x96, 0xC3, 0x6D, 0x6A, 0x11, 0x50, 0x09, 0x5C, 0x6C, 0xDD, 0xC6, 0xC5, 0x20, 0x83, 0x9C, 0xD1, 0x40, 0x7C, 0xA0, 0x24, 0x02, 0xC0, 0x2A, 0x03, 0xF8, 0x31, 0x48, 0x08, 0x25, 0x3C, 0x12, 0xE0, 0x23, 0x1C, 0xA2, 0x76, 0xDA, 0x83, 0x08, 0xDE, 0x96, 0x83, 0x61, 0xA7, 0x25, 0xA2, 0xD6, 0x08, 0x9F, 0xF0, 0xE2, 0xD5, 0x08, 0x06, 0xDE, 0xE6, 0x09, 0x08, 0x37, 0x10, 0x80, 0x12, 0x27, 0x08, 0x0C, 0x00, 0x62, 0x1A, 0x69, 0x28, 0x70, 0x81, 0x4D, 0x8F, 0x14, 0xA7, 0xA2, 0x8A, 0x39, 0x3C, 0xE8, 0xE4, 0x69, 0x87, 0x71, 0xA2, 0x41, 0x55, 0x9E, 0x10, 0x40, 0xC0, 0x11, 0x19, 0x3C, 0x75, 0x82, 0x78, 0x0D, 0x3A, 0xC8, 0xD0, 0x59, 0x8A, 0x88, 0xC2, 0x41, 0x08, 0x21, 0x70, 0x70, 0x43, 0x46, 0xD1, 0x78, 0x72, 0xE0, 0x08, 0x76, 0x4D, 0xB9, 0x24, 0x6A, 0x44, 0x4D, 0xC5, 0x49, 0x87, 0x33, 0x12, 0xF0, 0x09, 0x0B, 0x36, 0x3A, 0x55, 0xE0, 0x25, 0xF1, 0x35, 0x09, 0x67, 0x94, 0x52, 0x6A, 0xB0, 0x07, 0x0B, 0x05, 0x9A, 0x18, 0x0D, 0x51, 0x53, 0x52, 0xE0, 0x09, 0xA2, 0x6F, 0x32, 0x64, 0x96, 0x9C, 0x46, 0xA5, 0x49, 0xE3, 0x9D, 0x10, 0x20, 0xD4, 0x04, 0x47, 0x2C, 0xEC, 0x91, 0x63, 0x22, 0x8D, 0x22, 0xEA, 0x29, 0xA0, 0x8A, 0x48, 0xD9, 0x61, 0x34, 0x9F, 0x30, 0xFA, 0xE7, 0xA3, 0x54, 0xC9, 0x48, 0x1C, 0x01, 0x2C, 0x1C, 0x71, 0x04, 0x04, 0xA7, 0x18, 0xFF, 0xD4, 0x46, 0x13, 0xA1, 0x54, 0x50, 0x51, 0x4D, 0xE4, 0x39, 0xFA, 0xE9, 0xA7, 0x9C, 0xF4, 0x0A, 0x66, 0xA8, 0x89, 0x26, 0x79, 0x99, 0x8A, 0x71, 0x2A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72, 0xC3, 0xE7, 0x87, 0x20, 0xD0, 0x83, 0x18, 0x7F, 0x83, 0x40, 0xE6, 0x21, 0x87, 0x60, 0xA8, 0xFF, 0x20, 0x87, 0x84, 0x50, 0x00, 0xC6, 0x99, 0xB0, 0x13, 0x07, 0x08, 0xA1, 0x0B, 0x02, 0xDC, 0xC5, 0x58, 0xA1, 0xFA, 0x19, 0x7B, 0xAE, 0x24, 0x03, 0x2E, 0xF8, 0x02, 0x06, 0x7C, 0x28, 0x43, 0x25, 0x7A, 0x42, 0x90, 0x90, 0x01, 0x4F, 0x7D, 0x74, 0x0B, 0x42, 0xAC, 0xA8, 0xD0, 0x03, 0x10, 0x8C, 0x69, 0x10, 0xD3, 0x3B, 0x44, 0x01, 0x46, 0xE8, 0xB4, 0x0B, 0x90, 0x89, 0x4C, 0x17, 0xC0, 0x02, 0x09, 0x63, 0x30, 0x83, 0x19, 0x10, 0x82, 0x03, 0xBE, 0xE0, 0x1E, 0xA4, 0x94, 0x45, 0x9C, 0x23, 0x34, 0x50, 0x14, 0x54, 0xF0, 0x83, 0x1A, 0xBE, 0x70, 0x04, 0xF7, 0xFC, 0x0E, 0x78, 0xC1, 0x53, 0x5F, 0x10, 0xFF, 0x86, 0x68, 0x80, 0x37, 0xF4, 0xA0, 0x07, 0x1C, 0xC0, 0xC2, 0x05, 0xFA, 0x57, 0x00, 0x17, 0xB6, 0x10, 0x6F, 0x23, 0xC4, 0x82, 0x0A, 0x63, 0xC0, 0x42, 0x17, 0x12, 0xA2, 0x04, 0x66, 0x12, 0x4E, 0x34, 0x60, 0x42, 0x15, 0x0A, 0xA4, 0xAD, 0x38, 0xBC, 0xD0, 0x05, 0x0E, 0x83, 0xB0, 0x86, 0x2F, 0x58, 0x22, 0x09, 0xD2, 0x02, 0x62, 0x10, 0x85, 0x37, 0x44, 0x22, 0x1A, 0xA0, 0x07, 0xA8, 0xB8, 0x01, 0x08, 0x5E, 0x08, 0x84, 0x1B, 0xDC, 0x00, 0x08, 0x78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0, 0x39, 0x2D, 0x82, 0x14, 0xA2, 0x60, 0x33, 0x16, 0x94, 0xB4, 0x12, 0x32, 0xB8, 0x67, 0x00, 0xA8, 0x91, 0x8C, 0xCA, 0x26, 0x83, 0x1A, 0x72, 0xB5, 0xD2, 0x27, 0x3E, 0x01, 0x01, 0x02, 0x88, 0xE7, 0x12, 0x49, 0x02, 0x5F, 0x24, 0x6A, 0xC9, 0xCD, 0xBD, 0xA2, 0x20, 0x9C, 0x5A, 0x18, 0xA7, 0x40, 0x2A, 0x20, 0x32, 0x34, 0x10, 0x76, 0x01, 0x86, 0x8D, 0xAD, 0x58, 0x63, 0x9B, 0x58, 0x86, 0xFF, 0x32, 0xB4, 0x09, 0x0C, 0x51, 0x8B, 0x27, 0x76, 0x8B, 0x3D, 0xEC, 0x05, 0xF0, 0x13, 0x85, 0x2C, 0xE4, 0x5A, 0xD6, 0x52, 0x25, 0x1A, 0x41, 0x40, 0x9B, 0x17, 0xC1, 0xA5, 0x69, 0x01, 0xB1, 0x86, 0x58, 0x1D, 0x44, 0x00, 0x37, 0x95, 0xAD, 0x74, 0x65, 0x9B, 0xD3, 0xB1, 0xDE, 0x74, 0x12, 0x52, 0xD8, 0x80, 0x7A, 0xF8, 0x74, 0xC8, 0x8C, 0xE8, 0x36, 0x13, 0x23, 0x38, 0x82, 0x27, 0xD4, 0x13, 0x8D, 0x23, 0xD0, 0x28, 0x12, 0x11, 0x08, 0x02, 0x15, 0x20, 0x89, 0xCB, 0x4D, 0x0C, 0x94, 0x06, 0xA9, 0xFD, 0x97, 0x1A, 0xA6, 0x4B, 0x5F, 0xE9, 0x56, 0x17, 0xB6, 0x0B, 0xD8, 0x84, 0x4D, 0xB8, 0xBB, 0x20, 0xF5, 0x44, 0x88, 0x00, 0x34, 0x02, 0xF0, 0x16, 0x31, 0xD6, 0x14, 0x47, 0x7C, 0xC1, 0x05, 0x3C, 0xE0, 0x41, 0x37, 0x37, 0xC1, 0x83, 0x35, 0xA8, 0x01, 0x22,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xA8, 0x10, 0x09, 0x16, 0x18, 0x2F, 0xBC, 0xA0, 0x7B, 0x1B, 0x28, 0x11, 0xAF, 0x36, 0x55, 0x7C, 0xE0, 0x07, 0x30, 0xC8, 0x07, 0x06, 0xA0, 0x03, 0x3E, 0x06, 0x60, 0x35, 0x92, 0x73, 0x2B, 0x68, 0x10, 0x61, 0x21, 0x0A, 0x72, 0xE5, 0x08, 0xE3, 0xD4, 0x03, 0xBC, 0x70, 0x62, 0x85, 0xA4, 0x62, 0x2B, 0x78, 0x02, 0xC2, 0x11, 0x2F, 0x04, 0xF0, 0x57, 0xA8, 0xC0, 0x0B, 0x72, 0x65, 0x10, 0x8E, 0xC0, 0x0B, 0x42, 0x71, 0x2E, 0xD1, 0x40, 0x00, 0x18, 0x80, 0x80, 0x04, 0xB0, 0x29, 0x87, 0x83, 0x31, 0x9E, 0xD1, 0x63, 0x9A, 0x30, 0x57, 0x05, 0xB1, 0x6A, 0xB6, 0x71, 0x15, 0x9E, 0x30, 0x21, 0xEC, 0x77, 0x12, 0x8E, 0xD2, 0x30, 0x35, 0x63, 0x22, 0xE1, 0xF5, 0x09, 0x53, 0x48, 0x00, 0x41, 0x48, 0x00, 0xCC, 0xA1, 0x0B, 0xC0, 0x65, 0x13, 0xD1, 0xC0, 0x02, 0x11, 0xC0, 0x7E, 0x23, 0x60, 0x1A, 0x64, 0x33, 0x3B, 0x1D, 0x82, 0x26, 0x92, 0x02, 0x3E, 0xE0, 0x85, 0x3D, 0x29, 0xD0, 0x6F, 0x06, 0xA0, 0x02, 0x91, 0x10, 0x31, 0x57, 0x82, 0x5E, 0x9B, 0x25, 0x08, 0xBB, 0x77, 0x09, 0x2F, 0xFF, 0x22, 0x3B, 0x68, 0x71, 0x2E, 0x26, 0x42, 0x1C, 0xCC, 0xD2, 0x2A, 0x11, 0x33, 0x02, 0x78, 0x40, 0x07, 0x06, 0xD1, 0x1A, 0xBC, 0xA3, 0x67, 0xD8, 0x63, 0x09, 0x8C, 0x88, 0x78, 0x9F, 0xA0, 0x87, 0x53, 0x71, 0x2C, 0x67, 0x03, 0x5A, 0x92, 0x62, 0x27, 0x47, 0x00, 0x66, 0x47, 0xF0, 0x09, 0x34, 0x40, 0x07, 0x59, 0x15, 0x04, 0x4B, 0x46, 0x5C, 0x6F, 0x38, 0x02, 0x96, 0x50, 0x85, 0x88, 0xB7, 0x07, 0x9C, 0x22, 0x15, 0xA6, 0x28, 0x89, 0x60, 0xA3, 0x8A, 0xF6, 0x22, 0x03, 0x27, 0x40, 0x6C, 0xAA, 0x15, 0x14, 0x48, 0xB1, 0x22, 0x32, 0x62, 0x27, 0x9A, 0xA8, 0x79, 0x33, 0xF1, 0x25, 0x4B, 0x30, 0x27, 0x5E, 0xF4, 0x87, 0xAB, 0x58, 0x09, 0x0E, 0xA8, 0x06, 0xAA, 0x67, 0x00, 0x04, 0x70, 0x09, 0xDC, 0x23, 0x25, 0x32, 0xF2, 0x09, 0x5D, 0x86, 0x78, 0x9E, 0x40, 0x01, 0x2F, 0x92, 0x40, 0xD1, 0x88, 0x84, 0x47, 0x80, 0x6F, 0xA7, 0x70, 0x8D, 0x9B, 0xF4, 0x08, 0x89, 0x40, 0x31, 0x15, 0x33, 0x27, 0xD1, 0x70, 0x80, 0x66, 0x37, 0x02, 0xC7, 0x48, 0x14, 0x17, 0xB3, 0x2A, 0x17, 0x57, 0x06, 0xEA, 0x38, 0x10, 0x47, 0x30, 0x14, 0xA5, 0xE8, 0x2E, 0xEF, 0x82, 0x03, 0x47, 0x00, 0x74, 0x66, 0x77, 0x85, 0x96, 0xD1, 0x87, 0x01, 0x82, 0x07, 0x2E, 0x00, 0x5F, 0x14, 0xE1, 0x09, 0x39, 0xE0, 0x8E, 0x00, 0xA9, 0x08, 0x39, 0xF0, 0x08, 0x9F, 0xB0, 0x7D, 0x66, 0xB7, 0x06, 0x78, 0xD0, 0x20, 0x14, 0x40, 0x08, 0xCD, 0x20, 0x01, 0x84, 0xA6, 0x5A, 0x10, 0x41, 0x16, 0x3D, 0x13, 0x91, 0x67, 0x43, 0x2A, 0x32, 0x80, 0x83, 0x90, 0xF1, 0x06, 0x80, 0x50, 0x7B, 0xCC, 0x05, 0x92, 0x11, 0x11, 0x04, 0x51, 0xF1, 0x8F, 0xBD, 0x88, 0x03, 0x7B, 0x50, 0x23, 0xD1, 0xB2, 0x7B, 0xC8, 0x59, 0xC1, 0x12, 0x95, 0x80, 0x03, 0xA0, 0xF0, 0x2B, 0x9C, 0x90, 0x2C, 0x69, 0x52, 0x23, 0xDF, 0x98, 0x83, 0x12, 0xA1, 0x17, 0x5F, 0x02, 0x2C, 0x40, 0x19, 0x2F, 0x2C, 0x20, 0x6E, 0x44, 0x49, 0x11, 0x5B, 0xC0, 0x8E, 0x9E, 0x92, 0x03, 0x5E, 0x84, 0x8F, 0x68, 0xD4, 0x94, 0x13, 0xB1, 0x06, 0x6C, 0xF1, 0x22, 0x85, 0x73, 0x15, 0x60, 0xB3, 0x90, 0x84, 0x68, 0x95, 0x34, 0x27, 0x01, 0x2F, 0xD0, 0x08, 0xB7, 0x41, 0x01, 0x76, 0x30, 0x50, 0x3C, 0xF0, 0x05, 0x04, 0x09, 0x96, 0x12, 0x71, 0x6F, 0x2F, 0x06, 0x08, 0x67, 0xB4, 0x96, 0x3F, 0x11, 0x10, 0x00, 0x21, 0xF9, 0x04, 0x09, 0x0F, 0x00, 0x09, 0x00, 0x2C, 0x05, 0x00, 0x06, 0x00, 0x4E, 0x00, 0x55, 0x00, 0x00, 0x08, 0xFF, 0x00, 0x13, 0x08, 0x1C, 0x48, 0xB0, 0xA0, 0xC1, 0x83, 0x02, 0x23, 0x10, 0x50, 0xA4, 0x21, 0x09, 0xC2, 0x87, 0x10, 0x23, 0x4A, 0x9C, 0x08, 0xF1, 0xCD, 0x16, 0x2A, 0x54, 0x12, 0xE1, 0xC0, 0x40, 0xB1, 0xA3, 0xC7, 0x8F, 0x10, 0x4F, 0x91, 0xEA, 0x81, 0x11, 0xC7, 0x88, 0x83, 0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x83, 0x17, 0xB8, 0x00, 0x16, 0x62, 0x40, 0xC2, 0x19, 0x10, 0x62, 0x40, 0xA3, 0xB1, 0xCA, 0x9C, 0x20, 0x73, 0x84, 0xEA, 0x51, 0xA1, 0x0C, 0x5F, 0xF8, 0x82, 0x25, 0xCA, 0x70, 0x3B, 0x06, 0x36, 0x10, 0x5F, 0x41, 0x08, 0x82, 0x1F, 0x7A, 0xD0, 0x83, 0x1B, 0x10, 0x22, 0x04, 0x83, 0xA0, 0xDF, 0x20, 0xFF, 0x48, 0x48, 0x42, 0x2C, 0x84, 0xF0, 0x88, 0x17, 0x20, 0x62, 0x0C, 0x66, 0x60, 0xC2, 0x12, 0x00, 0x41, 0x06, 0xA4, 0x28, 0xD4, 0x7A, 0xB2, 0x32, 0x31, 0x19, 0x58, 0xCF, 0x12, 0x2E, 0xE0, 0x01, 0x20, 0xC8, 0x57, 0x10, 0x46, 0x78, 0xEF, 0x5E, 0x36, 0x24, 0x5A, 0x0E, 0x83, 0x90, 0x01, 0x1E, 0xF6, 0x80, 0x03, 0x23, 0xCC, 0x20, 0x16, 0x4C, 0x48, 0x08, 0x42, 0x30, 0x51, 0x89, 0x25, 0x6C, 0x62, 0x09, 0x38, 0x00, 0x84, 0x48, 0xB4, 0x66, 0x4F, 0xCA, 0xA1, 0xD3, 0xE1, 0x74, 0x41, 0x05, 0x2D, 0x00, 0xE2, 0x8F, 0x80, 0x58, 0x43, 0x0D, 0xBF, 0x17, 0xBE, 0x8E, 0x8D, 0x31, 0x87, 0x4A, 0xE8, 0xC1, 0x0E, 0x6E, 0x70, 0x83, 0x19, 0x38, 0x31, 0x12, 0x59, 0x88, 0xE4, 0x0D, 0x80, 0x00, 0x04, 0x0E, 0x9C, 0xAF, 0x89, 0x96, 0xA4, 0xE3, 0x0D, 0xB2, 0xC0, 0x1A, 0x29, 0x2A, 0x07, 0x4D, 0x2C, 0x10, 0xE0, 0x0E, 0xD6, 0x20, 0x01, 0x09, 0x6C, 0x42, 0x02, 0x5F, 0x08, 0x42, 0x41, 0xD8, 0xF0, 0x45, 0x8E, 0xDD, 0xB0, 0x63, 0x6A, 0x38, 0x64, 0x02, 0x76, 0x28, 0x02, 0x31, 0x98, 0x61, 0x92, 0x37, 0xE0, 0x83, 0x08, 0x76, 0x29, 0x82, 0x29, 0xF0, 0x10, 0x04, 0x95, 0xA4, 0xE4, 0xA0, 0x36, 0xB9, 0x03, 0x4F, 0x8C, 0xE6, 0x12, 0xC8, 0x23, 0x10, 0x0B, 0x52, 0x11, 0x09, 0x54, 0x50, 0xC1, 0x94, 0x9B, 0xD8, 0x04, 0x20, 0x60, 0x43, 0x90, 0xA0, 0x2D, 0x10, 0x8C, 0x85, 0x84, 0xE5, 0x18, 0x05, 0x02, 0x04, 0x45, 0xEE, 0x92, 0x4C, 0x30, 0xE0, 0xA5, 0x25, 0xCD, 0xC8, 0xC3, 0x2D, 0x6D, 0x12, 0x04, 0x9B, 0xD9, 0x43, 0xA1, 0x72, 0xF2, 0xAE, 0x50, 0xEA, 0xC2, 0x99, 0xD0, 0x44, 0x01, 0x2A, 0x4F, 0x31, 0xC8, 0x05, 0x82, 0x6F, 0x6D, 0x92, 0xCB, 0x21, 0xB5, 0x04, 0xA2, 0xFF, 0xA3, 0x1B, 0xF0, 0x72, 0x97, 0xBF, 0x0B, 0x01, 0x16, 0x28, 0x49, 0xCE, 0x48, 0x8A, 0x62, 0x33, 0xAC, 0xB9, 0x09, 0xCC, 0x24, 0x04, 0x81, 0x01, 0x3E, 0xD3, 0x94, 0x28, 0xD8, 0x84, 0x0B, 0xB4, 0x70, 0xA9, 0x82, 0x5C, 0x93, 0x90, 0xE0, 0x43, 0x83, 0x00, 0x8A, 0x30, 0x89, 0x49, 0x14, 0x41, 0x7C, 0x52, 0x28, 0xC8, 0x1B, 0x74, 0x14, 0xBF, 0x43, 0x24, 0xB1, 0x04, 0x8C, 0x9C, 0xA4, 0x25, 0x81, 0x90, 0x85, 0x48, 0x6C, 0x86, 0x33, 0xC6, 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x27, 0x97, 0xB7, 0x16, 0x5D, 0xC3, 0x26, 0x0B, 0xD3, 0x57, 0x7E, 0x71, 0x69, 0xD3, 0xC6, 0x6A, 0x69, 0x62, 0x79, 0xBA, 0xF0, 0x09, 0x9A, 0xB2, 0x5E, 0x20, 0x80, 0x7A, 0x23, 0x40, 0x01, 0x5D, 0xC3, 0x3A, 0xB9, 0x61, 0x3A, 0xC8, 0xB5, 0x05, 0x99, 0x50, 0x6D, 0x29, 0x60, 0x5F, 0x7E, 0x20, 0x7B, 0x69, 0x72, 0x04, 0x91, 0x30, 0x67, 0x44, 0x58, 0x77, 0x06, 0x72, 0x16, 0x84, 0xB3, 0x86, 0x48, 0xE2, 0x5B, 0x9F, 0x60, 0x27, 0xAB, 0x36, 0x02, 0x52, 0x40, 0x07, 0x06, 0x41, 0x57, 0x5C, 0x30, 0x80, 0x2C, 0xF0, 0x86, 0x96, 0x50, 0x84, 0x29, 0xFF, 0xF7, 0x09, 0x68, 0xA8, 0x18, 0x8A, 0x60, 0x33, 0x30, 0x62, 0x1A, 0x52, 0x32, 0x23, 0xA9, 0xC0, 0x0B, 0x97, 0x46, 0x03, 0x74, 0x60, 0x79, 0x09, 0x10, 0x04, 0xDC, 0x82, 0x24, 0x30, 0x36, 0x02, 0x8D, 0x68, 0x75, 0x87, 0x92, 0x19, 0x93, 0x28, 0x27, 0x97, 0xB0, 0x62, 0x32, 0xC2, 0x60, 0xF4, 0x72, 0x02, 0x74, 0xB0, 0x06, 0x30, 0x77, 0x0A, 0x42, 0x88, 0x1B, 0x1A, 0x21, 0x21, 0x5F, 0x60, 0x76, 0x7B, 0x10, 0x89, 0x93, 0x08, 0x36, 0x32, 0x11, 0x29, 0x98, 0x58, 0x09, 0xFE, 0x57, 0x06, 0x9E, 0x38, 0x10, 0x9F, 0x70, 0x09, 0x69, 0xC8, 0x10, 0xDA, 0x91, 0x09, 0x5A, 0x60, 0x76, 0x9E, 0x40, 0x01, 0xD9, 0x01, 0x3D, 0x0C, 0x23, 0x36, 0x6B, 0x30, 0x7F, 0xC5, 0x48, 0x10, 0x6F, 0xB0, 0x16, 0x35, 0xF3, 0x35, 0xA0, 0xF0, 0x08, 0x54, 0x98, 0x72, 0x05, 0x82, 0x28, 0x45, 0x31, 0x27, 0xAE, 0xC2, 0x65, 0xC4, 0x18, 0x11, 0x5B, 0x80, 0x8C, 0x70, 0x02, 0x31, 0xA0, 0xC2, 0x02, 0xAA, 0x14, 0x74, 0x48, 0xD6, 0x1E, 0xE7, 0xB2, 0x07, 0x52, 0xE0, 0x02, 0x34, 0xD0, 0x8C, 0x13, 0x31, 0x02, 0x89, 0xB0, 0x8D, 0xEC, 0x02, 0x2A, 0xD5, 0x17, 0x74, 0x6B, 0x20, 0x05, 0xEC, 0x41, 0x01, 0x25, 0x20, 0x4D, 0xF4, 0x05, 0x73, 0x10, 0xA1, 0x15, 0x93, 0xA8, 0x2C, 0x94, 0x38, 0x6D, 0x95, 0x50, 0x86, 0x41, 0xF7, 0x06, 0x80, 0xF0, 0x79, 0x7F, 0x10, 0x48, 0x08, 0x19, 0x11, 0xA7, 0xF0, 0x08, 0x8A, 0xC1, 0x90, 0x85, 0x13, 0x1D, 0x0D, 0x55, 0x78, 0x4F, 0xE3, 0x12, 0x59, 0x70, 0x1B, 0xC1, 0xE2, 0x22, 0xC4, 0x42, 0x27, 0x13, 0x62, 0x5F, 0x29, 0xF8, 0x10, 0x95, 0xF0, 0x23, 0x5E, 0x72, 0x14, 0x27, 0x89, 0x3A, 0x5E, 0xB5, 0x92, 0x11, 0x91, 0x0A, 0x56, 0x98, 0x18, 0xEF, 0x32, 0xF1, 0x2E, 0x04, 0x90, 0x61, 0x34, 0x19, 0x11, 0x49, 0x50, 0x8B, 0x59, 0xB8, 0x07, 0x25, 0x60, 0x8F, 0x17, 0xD8, 0x93, 0x07, 0xE1, 0x08, 0x13, 0x89, 0x06, 0x8D, 0x40, 0x42, 0x9B, 0x20, 0x4F, 0x81, 0x76, 0x91, 0x46, 0x69, 0x10, 0x6F, 0x50, 0x6E, 0xCF, 0x45, 0x07, 0x6A, 0x70, 0x8D, 0x2F, 0x11, 0x10, 0x00, 0x21, 0xF9, 0x04, 0x09, 0x0F, 0x00, 0x00, 0x00, 0x2C, 0x05, 0x00, 0x06, 0x00, 0x4C, 0x00, 0x55, 0x00, 0x00, 0x08, 0xFF, 0x00, 0x01, 0x08, 0x1C, 0x48, 0xB0, 0xA0, 0xC1, 0x83, 0x00, 0x46, 0x70, 0x52, 0x94, 0x23, 0x09, 0xC2, 0x87, 0x10, 0x23, 0x4A, 0x9C, 0x88, 0x30, 0x8B, 0x28, 0x2A, 0x20, 0x12, 0x3D, 0x82, 0x38, 0x89, 0x82, 0x21, 0x8A, 0x20, 0x43, 0x4E, 0x3C, 0xB2, 0x87, 0x8A, 0x49, 0x1C, 0x04, 0x04, 0x3A, 0x22, 0xB8, 0x83, 0x0A, 0x1F, 0x2A, 0x22, 0x63, 0xCA, 0x2C, 0xE8, 0x89, 0x02, 0x0E, 0x10, 0xA4, 0x2E, 0xE1, 0xB8, 0xC4, 0x93, 0xE7, 0x89, 0x96, 0x26, 0x67, 0x0A, 0x9D, 0x79, 0x8A, 0x00, 0x0E, 0x50, 0x9C, 0x92, 0xE6, 0xC0, 0x41, 0x81, 0x94, 0x86, 0x4B, 0x9F, 0x2A, 0x0D, 0x9D, 0x2A, 0xF2, 0x13, 0x52, 0x45, 0x58, 0x35, 0x92, 0x4A, 0x44, 0x21, 0x51, 0x96, 0x37, 0x54, 0xC3, 0x3E, 0xF4, 0xE5, 0x4B, 0x13, 0x80, 0x1C, 0x1A, 0xB0, 0x2E, 0xE9, 0x4A, 0x6A, 0xCF, 0xA3, 0x3D, 0x62, 0x0A, 0xAA, 0x19, 0x31, 0xC2, 0xD3, 0x93, 0x49, 0x49, 0x56, 0xAA, 0xC4, 0x90, 0x44, 0x4B, 0x12, 0x0C, 0x62, 0x23, 0xC2, 0x18, 0x0C, 0xA3, 0x14, 0x28, 0x0D, 0x0B, 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0x3E, 0x3D, 0x6A, 0x7D, 0x15, 0x46, 0x15, 0x81, 0xA6, 0xB2, 0xAD, 0xAB, 0xDD, 0x11, 0x32, 0xF8, 0x42, 0x05, 0x1D, 0x5F, 0xD0, 0x40, 0x83, 0xE0, 0x04, 0x5D, 0x9C, 0xBA, 0xF4, 0x19, 0x17, 0x71, 0x0A, 0x10, 0x25, 0x98, 0x81, 0x3A, 0x42, 0x34, 0x3B, 0x4A, 0x18, 0x90, 0x12, 0x37, 0x08, 0x93, 0x02, 0x17, 0x38, 0xA6, 0x10, 0x84, 0xE0, 0x02, 0xEA, 0x50, 0x47, 0x0C, 0x62, 0x30, 0x83, 0x52, 0xEC, 0x4A, 0x36, 0xBA, 0xA1, 0x5B, 0x25, 0x34, 0x41, 0x05, 0x4B, 0xB8, 0x80, 0x07, 0x2E, 0x58, 0xC3, 0x41, 0x6A, 0x90, 0x3A, 0xD5, 0x49, 0x8F, 0x08, 0x41, 0x00, 0xC1, 0x0D, 0x38, 0x50, 0x82, 0x18, 0x84, 0x88, 0x0A, 0x77, 0xB0, 0xDD, 0x0C, 0x04, 0xE5, 0xC0, 0x40, 0x8D, 0xE9, 0x10, 0x82, 0xBA, 0x80, 0x0E, 0x25, 0x48, 0x41, 0x42, 0x94, 0xC0, 0x17, 0x8F, 0xD0, 0x94, 0x4E, 0xFF, 0x5E, 0x45, 0x00, 0x29, 0xA1, 0x82, 0x06, 0x3C, 0x00, 0x04, 0x20, 0x2C, 0xA1, 0x06, 0x8B, 0x95, 0x90, 0x7F, 0x19, 0x8B, 0x42, 0x10, 0x82, 0xD0, 0x83, 0x1E, 0x80, 0x00, 0x08, 0x84, 0xD0, 0xD1, 0x8E, 0x06, 0x81, 0x85, 0x09, 0xC6, 0x20, 0x82, 0x89, 0xD3, 0x21, 0x16, 0x78, 0x38, 0x83, 0x19, 0xF8, 0x90, 0x03, 0xA2, 0x12, 0x62, 0xCB, 0xB6, 0x13, 0x89, 0xE5, 0x29, 0x11, 0x10, 0x3C, 0x58, 0x83, 0x0E, 0x06, 0x67, 0x42, 0x28, 0x4E, 0x91, 0x8A, 0x55, 0xEC, 0x01, 0x07, 0xD4, 0x11, 0xA8, 0x07, 0xC6, 0x80, 0x10, 0x80, 0x24, 0x44, 0x19, 0xBD, 0x48, 0x41, 0x33, 0x96, 0xA0, 0x04, 0x5A, 0x02, 0x02, 0x2A, 0x82, 0xC8, 0x13, 0xF7, 0x6D, 0x67, 0x83, 0x54, 0x50, 0xA2, 0x04, 0x96, 0x58, 0x06, 0x27, 0xEE, 0x0F, 0x8A, 0x19, 0xBB, 0xE3, 0x14, 0xAB, 0x28, 0x82, 0x3D, 0xF9, 0x10, 0x08, 0x20, 0xC8, 0x23, 0x0C, 0x44, 0x11, 0x81, 0x48, 0x64, 0x01, 0x80, 0x88, 0x4C, 0x24, 0x10, 0x6E, 0x20, 0x8A, 0x23, 0x64, 0x06, 0x74, 0xF0, 0xE3, 0xA0, 0x24, 0x25, 0x10, 0x47, 0x3F, 0xD0, 0xB1, 0x8E, 0xFC, 0x53, 0x83, 0x26, 0xF1, 0x28, 0x02, 0x41, 0x98, 0x81, 0x0F, 0x59, 0x00, 0x81, 0x19, 0x44, 0x40, 0x4C, 0x11, 0xC0, 0x20, 0x8F, 0x3D, 0xD8, 0xD3, 0x2A, 0x43, 0x05, 0x82, 0x1D, 0xEC, 0x6A, 0x88, 0xF7, 0xA9, 0x04, 0x17, 0xA8, 0xA0, 0x06, 0x49, 0x02, 0x82, 0x06, 0x65, 0x98, 0x63, 0xFE, 0x4A, 0x68, 0x2F, 0x5C, 0x16, 0x4E, 0x97, 0x53, 0x9C, 0xE3, 0x0C, 0x7A, 0x30, 0x05, 0x62, 0x92, 0x41, 0x0E, 0x7C, 0x20, 0xE6, 0x0E, 0xC2, 0x74, 0x01, 0x0E, 0xE4, 0xD1, 0x17, 0x59, 0x88, 0x67, 0x0F, 0x0C, 0xB4, 0x2B, 0xE4, 0xA5, 0x62, 0x9A, 0x7E, 0x48, 0x22, 0x20, 0x24, 0x10, 0xFF, 0x42, 0xFC, 0x0D, 0x84, 0x84, 0x18, 0xF3, 0x66, 0xC6, 0x76, 0x16, 0x8A, 0x3B, 0x0E, 0xE4, 0x8B, 0x31, 0x28, 0xA6, 0x08, 0x76, 0x00, 0xA6, 0x10, 0xC4, 0x00, 0x08, 0x40, 0x40, 0x23, 0x08, 0x40, 0x00, 0xAF, 0x79, 0x3A, 0x33, 0x88, 0x6B, 0xDC, 0x82, 0x0C, 0x50, 0x41, 0x85, 0x0F, 0xBE, 0xD1, 0x12, 0x5A, 0xB0, 0x25, 0x41, 0xD8, 0xF0, 0xC4, 0x4B, 0xDE, 0xAB, 0x09, 0x35, 0x20, 0x82, 0x00, 0x8A, 0x50, 0x84, 0x49, 0x4C, 0xA2, 0x08, 0x51, 0xC0, 0x16, 0x0A, 0x09, 0xE2, 0x87, 0x18, 0x80, 0x6F, 0x4C, 0x17, 0x88, 0xC1, 0x96, 0x94, 0x99, 0xC8, 0x1B, 0x34, 0x73, 0x07, 0x3B, 0xE0, 0x97, 0x66, 0x2A, 0xA4, 0xD1, 0x08, 0x74, 0xD0, 0x83, 0x4A, 0x74, 0x01, 0x1D, 0x2A, 0x59, 0x10, 0xFD, 0x3D, 0x31, 0x14, 0x35, 0xD8, 0x80, 0x14, 0x58, 0x3A, 0x89, 0x05, 0x58, 0xF5, 0xAA, 0x0B, 0x28, 0x02, 0x11, 0x7A, 0x56, 0x01, 0x83, 0xA8, 0xE0, 0x94, 0x37, 0x88, 0x44, 0x29, 0x4D, 0x19, 0xAA, 0x1B, 0x04, 0x73, 0x0A, 0x40, 0xDD, 0x01, 0x01, 0xDC, 0xF2, 0xB4, 0xF7, 0xC9, 0x8B, 0x9A, 0x34, 0xB0, 0x84, 0x25, 0x92, 0x68, 0x89, 0x24, 0x34, 0xB1, 0x20, 0x28, 0x0D, 0x85, 0x4A, 0x59, 0x8A, 0x55, 0x4C, 0x5C, 0xD5, 0xAF, 0x58, 0x5D, 0xC0, 0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 0x1F, 0x95, 0x50, 0x69, 0x15, 0x78, 0x10, 0x36, 0xE3, 0x0B, 0x17, 0xC1, 0x07, 0x97, 0xE6, 0x07, 0x98, 0x06, 0x00, 0x6E, 0x50, 0x0A, 0x96, 0x17, 0x4D, 0xF1, 0x56, 0x82, 0x05, 0x41, 0x16, 0xA2, 0x00, 0x1A, 0x40, 0x45, 0x34, 0x04, 0x21, 0x0A, 0x5B, 0x10, 0x82, 0x8F, 0x71, 0x78, 0xF4, 0x77, 0x02, 0x8F, 0x61, 0x1F, 0x9F, 0x10, 0x04, 0x04, 0xC1, 0x05, 0x5C, 0xA0, 0x58, 0x5E, 0x85, 0x6F, 0x5D, 0x41, 0x1F, 0xA7, 0x33, 0x7D, 0x46, 0xB1, 0x29, 0xE5, 0xC3, 0x2E, 0x87, 0x87, 0x63, 0x06, 0x07, 0x54, 0x04, 0x21, 0x06, 0xA9, 0xE0, 0x09, 0xFF, 0x61, 0x13, 0x9E, 0xF0, 0x7B, 0x68, 0xB7, 0x15, 0x0F, 0x62, 0x39, 0x4E, 0x03, 0x3C, 0x12, 0xA8, 0x2B, 0x85, 0x17, 0x09, 0x85, 0xD7, 0x60, 0x6A, 0xF8, 0x58, 0x7B, 0x70, 0x04, 0xAD, 0x87, 0x76, 0x23, 0x40, 0x01, 0x9D, 0x82, 0x15, 0xE4, 0x12, 0x62, 0x92, 0xE2, 0x6C, 0xAF, 0x46, 0x17, 0x29, 0x60, 0x65, 0x3D, 0xD0, 0x6A, 0x99, 0xC0, 0x46, 0x9A, 0xC0, 0x6C, 0x88, 0x77, 0x09, 0xCF, 0xD1, 0x26, 0x58, 0x71, 0x1D, 0x86, 0x42, 0x24, 0xCF, 0xA2, 0x6F, 0xB2, 0xFF, 0x36, 0x02, 0x78, 0x40, 0x07, 0x06, 0x21, 0x0A, 0xF5, 0x56, 0x09, 0x47, 0x70, 0x04, 0x74, 0x61, 0x09, 0x68, 0xF7, 0x09, 0x74, 0x78, 0x37, 0x90, 0xB2, 0x88, 0x4F, 0x02, 0x2D, 0xA9, 0xE0, 0x6B, 0x9F, 0x40, 0x03, 0x74, 0xA0, 0x79, 0x37, 0x90, 0x66, 0x44, 0x62, 0x79, 0x91, 0x66, 0x09, 0x9A, 0x87, 0x70, 0x7B, 0x30, 0x1C, 0x69, 0xF1, 0x89, 0x6F, 0x61, 0x75, 0xD1, 0x52, 0x09, 0x32, 0x70, 0x02, 0x78, 0x36, 0x83, 0x41, 0xB0, 0x07, 0x5D, 0x21, 0x1D, 0x4D, 0x81, 0x64, 0x92, 0x98, 0x75, 0xBE, 0x78, 0x18, 0x8E, 0x22, 0x21, 0xFE, 0xD5, 0x2E, 0xA9, 0x50, 0x09, 0x7E, 0x51, 0x06, 0xAF, 0x28, 0x10, 0x99, 0x70, 0x09, 0x9D, 0x72, 0x24, 0x31, 0xC2, 0x02, 0x33, 0x88, 0x70, 0x35, 0xF1, 0x1C, 0x9E, 0x73, 0x30, 0x4F, 0x72, 0x04, 0x6B, 0x90, 0x04, 0xA7, 0xF0, 0x8C, 0x03, 0x71, 0x0A, 0x1F, 0x92, 0x2E, 0x6F, 0x92, 0x03, 0xA4, 0x00, 0x86, 0xDD, 0x41, 0x61, 0xB2, 0x28, 0x33, 0x44, 0xF4, 0x05, 0x0C, 0x16, 0x11, 0x9C, 0xE8, 0x89, 0x8F, 0xA2, 0x08, 0xA0, 0xF0, 0x08, 0x10, 0x80, 0x76, 0x46, 0xE1, 0x1C, 0x8A, 0xD8, 0x16, 0x78, 0xE0, 0x02, 0x34, 0xA0, 0x05, 0x14, 0xB1, 0x07, 0x39, 0xB0, 0x24, 0xAC, 0xC2, 0x09, 0x91, 0xF2, 0x09, 0xEA, 0xE8, 0x19, 0x6B, 0x80, 0x07, 0xAE, 0x41, 0x01, 0x25, 0xB0, 0x09, 0x4B, 0x24, 0x47, 0x14, 0xF1, 0x06, 0xC8, 0xB2, 0x2C, 0xF5, 0xA8, 0x01, 0xC1, 0x28, 0x03, 0x24, 0x88, 0x70, 0x6F, 0x00, 0x08, 0xB9, 0x07, 0x08, 0x14, 0x19, 0x12, 0x32, 0xA0, 0x28, 0x18, 0xA9, 0x2E, 0xE2, 0x95, 0x05, 0x88, 0xA7, 0x03, 0xE2, 0x38, 0x11, 0x5B, 0x60, 0x92, 0x6E, 0x53, 0x2C, 0xBA, 0x55, 0x09, 0x4C, 0x45, 0x83, 0x10, 0xC1, 0x02, 0x47, 0x43, 0x71, 0x37, 0x05, 0xA3, 0x1B, 0xCE, 0x72, 0x04, 0x49, 0x60, 0x5C, 0x36, 0x79, 0x93, 0xCD, 0x91, 0x22, 0x06, 0x03, 0x35, 0x04, 0xF0, 0x3C, 0x41, 0x19, 0x11, 0x74, 0x40, 0x0A, 0xD3, 0x05, 0x8C, 0x32, 0x02, 0x90, 0x9C, 0x96, 0x94, 0x06, 0xB6, 0x09, 0x68, 0x00, 0x1B, 0x14, 0x90, 0x02, 0x93, 0xC4, 0x03, 0x5F, 0xD0, 0x91, 0x52, 0x89, 0x10, 0xA7, 0x40, 0x03, 0xFB, 0x34, 0x91, 0x40, 0x39, 0x15, 0x01, 0x01, 0x00, 0x21, 0xF9, 0x04, 0x05, 0x64, 0x00, 0x06, 0x00, 0x2C, 0x05, 0x00, 0x06, 0x00, 0x4B, 0x00, 0x55, 0x00, 0x00, 0x08, 0xFF, 0x00, 0x0D, 0x08, 0x1C, 0x48, 0xB0, 0xA0, 0xC1, 0x83, 0x49, 0x14, 0x71, 0xA2, 0xE0, 0xE8, 0xA0, 0xC3, 0x87, 0x10, 0x23, 0x4A, 0x9C, 0x18, 0x44, 0x13, 0x15, 0x10, 0x39, 0x18, 0x3E, 0xC4, 0x71, 0xCC, 0x93, 0x96, 0x89, 0x20, 0x43, 0x82, 0xBC, 0xB1, 0x87, 0x8A, 0x49, 0x1C, 0x23, 0x04, 0x62, 0xC0, 0xD0, 0xD0, 0xC0, 0x0E, 0x93, 0x7C, 0x7C, 0x89, 0x9C, 0x49, 0xD3, 0xA0, 0xA7, 0x63,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01, 0x21, 0x22, 0x60, 0x97, 0xBB, 0xBC, 0xAB, 0x12, 0x16, 0xE1, 0x81, 0x0C, 0x2D, 0x91, 0x04, 0xBB, 0x15, 0x84, 0x11, 0x4D, 0xB0, 0x9A, 0xFA, 0xA4, 0x10, 0x84, 0x2C, 0x00, 0x81, 0x03, 0x84, 0x88, 0x81, 0x81, 0xFF, 0xB0, 0xD0, 0x83, 0x3B, 0xF4, 0xE0, 0x02, 0x83, 0x28, 0xE1, 0x05, 0x48, 0x78, 0x88, 0x11, 0x92, 0xF0, 0x02, 0x58, 0x28, 0x00, 0x0A, 0x67, 0x30, 0x83, 0x12, 0x70, 0x40, 0x06, 0x2D, 0x54, 0x54, 0xD3, 0xA6, 0x40, 0x03, 0x1E, 0x00, 0x02, 0x10, 0x34, 0x50, 0x43, 0xCC, 0x74, 0xA8, 0xBE, 0x28, 0x04, 0x21, 0x08, 0x3D, 0xE8, 0x01, 0x08, 0x6E, 0x40, 0x08, 0x24, 0x0E, 0x02, 0x55, 0x83, 0x88, 0x62, 0x0C, 0xE6, 0x28, 0xC5, 0x28, 0x62, 0x41, 0x8E, 0x54, 0x24, 0x84, 0x15, 0x81, 0x10, 0x89, 0x2C, 0x92, 0xE2, 0x80, 0x32, 0xF0, 0x45, 0x19, 0xBC, 0x08, 0x08, 0x17, 0xAC, 0x21, 0x08, 0x77, 0x23, 0xE3, 0x04, 0xCF, 0x88, 0xC6, 0x34, 0xF6, 0x00, 0x08, 0x42, 0x24, 0x21, 0x16, 0xA8, 0x58, 0x82, 0x4A, 0x96, 0x80, 0x10, 0x54, 0x9C, 0x41, 0x0A, 0x09, 0xA1, 0x47, 0x0E, 0x70, 0x00, 0x08, 0x37, 0xD8, 0x81, 0x5D, 0xF4, 0xD2, 0xB8, 0xDC, 0x51, 0xA1, 0x81, 0x5F, 0xA4, 0x81, 0x16, 0xDC, 0x60, 0x10, 0x36, 0x48, 0x70, 0x82, 0xEB, 0x63, 0x64, 0x16, 0xD2, 0x28, 0x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14, 0x04, 0x50, 0x84, 0x22, 0x4C, 0xE2, 0xA7, 0x45, 0x10, 0x00, 0xC5, 0x82, 0x60, 0x43, 0x15, 0x94, 0x00, 0x84, 0x21, 0x28, 0x80, 0xAA, 0x42, 0x75, 0x83, 0x92, 0x82, 0x52, 0x14, 0x06, 0x85, 0x00, 0x5F, 0x3E, 0xC3, 0x82, 0xDC, 0xA9, 0x60, 0x77, 0xBC, 0x1B, 0x5F, 0x3B, 0x9D, 0x49, 0x10, 0x63, 0xE0, 0x4B, 0x66, 0x1B, 0x20, 0x02, 0x4F, 0x7D, 0xFA, 0xD3, 0x05, 0x98, 0xF5, 0xAC, 0x66, 0x9D, 0x44, 0x11, 0xF0, 0x15, 0x05, 0x83, 0xBC, 0x01, 0x04, 0x59, 0xC8, 0x82, 0x28, 0x40, 0x00, 0x82, 0x48, 0xC4, 0x95, 0xA0, 0x20, 0x18, 0xA7, 0x41, 0x53, 0x24, 0x2C, 0xA6, 0xB1, 0x82, 0x72, 0x06, 0x08, 0xC2, 0x1A, 0x06, 0xFB, 0x05, 0x4B, 0x7C, 0x21, 0x09, 0x5C, 0x25, 0x08, 0x5A, 0x17, 0xCB, 0xD8, 0xC6, 0x16, 0x41, 0x02, 0xC0, 0x32, 0x80, 0x1B, 0xA8, 0x60, 0xD0, 0x08, 0xEC, 0xF5, 0xB2, 0x98, 0xDD, 0xAB, 0x26, 0x46, 0xB0, 0x87, 0xFE, 0x7D, 0x02, 0x02, 0x80, 0x15, 0xC8, 0x56, 0xB4, 0x40, 0x07, 0x1A, 0x1C, 0x56, 0x73, 0x06, 0x11, 0x05, 0x26, 0x30, 0xD1, 0xD8, 0xD6, 0xA2, 0x55, 0xAD, 0x44, 0xC8, 0x44, 0x55, 0x2A, 0x0B, 0xB7, 0x1D, 0xFF, 0xD8, 0x60, 0x14, 0x2B, 0x80, 0x84, 0x6E, 0x27, 0xB0, 0x17, 0xCF, 0x46, 0x82, 0xB3, 0xC9, 0x3A, 0x5A, 0x02, 0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0xB0, 0x66, 0xD9, 0xAA, 0x48, 0xF6, 0xD2, 0x5F, 0xF2, 0xFF, 0x01, 0x4C, 0x52, 0xDC, 0x24, 0x0C, 0xB6, 0xC5, 0x65, 0xE0, 0xC3, 0x9A, 0x19, 0x75, 0x34, 0x4D, 0x84, 0x1F, 0x22, 0xBA, 0xD0, 0xB6, 0x7A, 0x8B, 0x6B, 0x5C, 0x35, 0xF8, 0xC1, 0x17, 0x91, 0x50, 0x5B, 0xF6, 0x58, 0x01, 0xF4, 0xF7, 0x17, 0x44, 0x13, 0x87, 0x46, 0x05, 0x7C, 0xB0, 0x62, 0x2A, 0xE6, 0x71, 0x6F, 0xA0, 0x0B, 0x5B, 0x40, 0x00, 0x72, 0x62, 0x27, 0xFE, 0xE7, 0x10, 0x86, 0xF1, 0x69, 0x7B, 0xF5, 0x06, 0x36, 0x64, 0x00, 0x30, 0x90, 0x66, 0xBF, 0x47, 0x0A, 0x98, 0x26, 0x7D, 0x27, 0xF0, 0x7B, 0xFB, 0xF1, 0x09, 0x27, 0x40, 0x10, 0xB6, 0x76, 0x59, 0x06, 0xA1, 0x03, 0xA9, 0xB0, 0x07, 0xAF, 0xF1, 0x16, 0x04, 0x30, 0x81, 0x53, 0xB7, 0x36, 0xC4, 0x02, 0x3B, 0xBE, 0x61, 0x76, 0x06, 0x10, 0x01, 0xBA, 0x70, 0x59, 0x0C, 0x46, 0x10, 0x95, 0x80, 0x33, 0x23, 0x83, 0x03, 0x9E, 0x10, 0x7D, 0x53, 0x47, 0x0A, 0xB0, 0x81, 0x1A, 0xD2, 0x91, 0x83, 0x7B, 0x81, 0x67, 0xFE, 0x75, 0x04, 0xDD, 0x11, 0x16, 0xBA, 0xF0, 0x09, 0x7B, 0x50, 0x17, 0x7B, 0xC0, 0x02, 0x20, 0xA0, 0x77, 0x23, 0xD0, 0x36, 0x49, 0x73, 0x36, 0xBD, 0xE1, 0x73, 0x1A, 0x12, 0x69, 0xD9, 0x93, 0x02, 0x5C, 0xA5, 0x7E, 0xA9, 0xA6, 0x50, 0x91, 0xD0, 0x79, 0x04, 0x60, 0x16, 0x34, 0x77, 0x09, 0x9C, 0xE1, 0x14, 0x52, 0x72, 0x36, 0x7B, 0xC1, 0x1D, 0x72, 0x42, 0x6D, 0xA9, 0x36, 0x02, 0x5F, 0x40, 0x07, 0xA9, 0x75, 0x6B, 0x6B, 0x76, 0x04, 0x91, 0xE6, 0x02, 0x62, 0x58, 0x6F, 0x9F, 0xF0, 0x83, 0x6B, 0x41, 0x21, 0x4A, 0xA3, 0x1D, 0x51, 0x37, 0x27, 0xA9, 0xC0, 0x0A, 0x47, 0xF0, 0x09, 0xBE, 0x93, 0x23, 0x27, 0x30, 0x02, 0x7C, 0x71, 0x69, 0x18, 0x32, 0x02, 0x96, 0xA0, 0x82, 0x99, 0xFF, 0xB6, 0x07, 0x7A, 0xC8, 0x87, 0x63, 0xB2, 0x1D, 0x34, 0x32, 0x27, 0x10, 0xA0, 0x2B, 0x27, 0x40, 0x07, 0x6B, 0xA0, 0x82, 0x3A, 0xB0, 0x07, 0xE7, 0x31, 0x1B, 0x54, 0xF2, 0x1B, 0x5F, 0x40, 0x73, 0x26, 0xC8, 0x14, 0x51, 0x22, 0x23, 0x3C, 0x61, 0x85, 0x47, 0x90, 0x0A, 0x95, 0xA0, 0x05, 0xCA, 0xA5, 0x6C, 0x06, 0xF0, 0x09, 0x38, 0xD0, 0x20, 0xD7, 0x81, 0x1F, 0x97, 0x90, 0x09, 0xE6, 0x73, 0x70, 0x8D, 0xC2, 0x19, 0xB5, 0x12, 0x62, 0x0B, 0xD3, 0x62, 0xA7, 0x00, 0x8B, 0x02, 0xF1, 0x06, 0x3E, 0x68, 0x86, 0x4B, 0x00, 0x27, 0x8F, 0x50, 0x09, 0x34, 0x37, 0x02, 0x9F, 0x98, 0x1B, 0x4B, 0x33, 0x29, 0x5F, 0x30, 0x53, 0xC2, 0x38, 0x10, 0x10, 0x70, 0x09, 0x63, 0x73, 0x8C, 0xC7, 0xF8, 0x14, 0x38, 0xC0, 0x02, 0x64, 0x26, 0x6B, 0x6B, 0x03, 0x1B, 0x67, 0x03, 0x17, 0x5F, 0xE0, 0x02, 0xAA, 0x04, 0x12, 0x23, 0xC0, 0x31, 0x6F, 0x82, 0x8D, 0xDA, 0x28, 0x75, 0x07, 0x47, 0x07, 0x29, 0xD0, 0x29, 0x14, 0x50, 0x02, 0x9B, 0x00, 0x08, 0x32, 0xE5, 0x88, 0x0F, 0xB1, 0x07, 0x53, 0x81, 0x8D, 0xD9, 0xA8, 0x34, 0xA4, 0x40, 0x00, 0x30, 0xF4, 0x71, 0x6F, 0x00, 0x08, 0x9A, 0xF7, 0x07, 0x80, 0x40, 0x07, 0xF6, 0x08, 0x11, 0x19, 0xF0, 0x08, 0x6A, 0xA1, 0x8F, 0x09, 0x13, 0x18, 0x10, 0x00, 0x7A, 0x34, 0xF7, 0x35, 0x47, 0x11, 0x04, 0x60, 0x26, 0x34, 0x39, 0x90, 0x32, 0x9F, 0x95, 0x58, 0x0D, 0x78, 0x10, 0x58, 0x44, 0x8B, 0x21, 0x73, 0x91, 0x6A, 0xC2, 0x02, 0x5A, 0xD0, 0x78, 0x1B, 0x69, 0x10, 0xA9, 0xE0, 0x83, 0xF0, 0xB1, 0x1B, 0x55, 0x42, 0x00, 0x87, 0x55, 0x92, 0x10, 0x91, 0x04, 0x26, 0x08, 0x8E, 0x05, 0xC3, 0x01, 0xE4, 0xA8, 0x91, 0x2E, 0x59, 0x10, 0x8E, 0x1F, 0x20, 0x90, 0x75, 0x40, 0x1B, 0x39, 0x50, 0x07, 0x28, 0x20, 0x01, 0x0E, 0x24, 0x51, 0x37, 0x09, 0x11, 0x3A, 0x50, 0x06, 0x85, 0xE5, 0x02, 0x5F, 0xA0, 0x05, 0x07, 0x29, 0x12, 0x01, 0x01, 0x00, 0x21, 0xFE, 0x30, 0x28, 0x63, 0x29, 0x32, 0x30, 0x30, 0x33, 0x20, 0x41, 0x6E, 0x69, 0x6D, 0x61, 0x74, 0x69, 0x6F, 0x6E, 0x20, 0x46, 0x61, 0x63, 0x74, 0x6F, 0x72, 0x79, 0x20, 0x2D, 0x20, 0x77, 0x77, 0x77, 0x2E, 0x61, 0x6E, 0x69, 0x6D, 0x66, 0x61, 0x63, 0x74, 0x6F, 0x72, 0x79, 0x2E, 0x63, 0x6F, 0x6D, 0x00, 0x00, 0x3B, 0x00 }; /** * @} */ /** * @} */ /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
204.24613
254
0.685194
a59a45efdfb93f0a8b75986cffefe9d19d841b0a
37,035
c
C
emuboot/src/vendorcode/amd/agesa/f15tn/Proc/CPU/heapManager.c
leetobin/firebrick
9109e8025d949357a0320aa2903bbad876593143
[ "Apache-2.0" ]
9
2015-03-24T12:39:13.000Z
2021-03-31T20:08:03.000Z
emuboot/src/vendorcode/amd/agesa/f15tn/Proc/CPU/heapManager.c
leetobin/firebrickRemote
e825e194d09752b32db3c8d5a9b8d0e912030df9
[ "Apache-2.0" ]
null
null
null
emuboot/src/vendorcode/amd/agesa/f15tn/Proc/CPU/heapManager.c
leetobin/firebrickRemote
e825e194d09752b32db3c8d5a9b8d0e912030df9
[ "Apache-2.0" ]
3
2015-11-23T14:14:18.000Z
2018-03-14T11:49:00.000Z
/* $NoKeywords:$ */ /** * @file * * AMD Heap Manager and Heap Allocation APIs, and related functions. * * Contains code that initialize, maintain, and allocate the heap space. * * @xrefitem bom "File Content Label" "Release Content" * @e project: AGESA * @e sub-project: CPU * @e \$Revision: 63425 $ @e \$Date: 2011-12-22 11:24:10 -0600 (Thu, 22 Dec 2011) $ * */ /******************************************************************************* * * Copyright 2008 - 2012 ADVANCED MICRO DEVICES, INC. All Rights Reserved. * * AMD is granting you permission to use this software (the Materials) * pursuant to the terms and conditions of your Software License Agreement * with AMD. This header does *NOT* give you permission to use the Materials * or any rights under AMD's intellectual property. Your use of any portion * of these Materials shall constitute your acceptance of those terms and * conditions. If you do not agree to the terms and conditions of the Software * License Agreement, please do not use any portion of these Materials. * * CONFIDENTIALITY: The Materials and all other information, identified as * confidential and provided to you by AMD shall be kept confidential in * accordance with the terms and conditions of the Software License Agreement. * * LIMITATION OF LIABILITY: THE MATERIALS AND ANY OTHER RELATED INFORMATION * PROVIDED TO YOU BY AMD ARE PROVIDED "AS IS" WITHOUT ANY EXPRESS OR IMPLIED * WARRANTY OF ANY KIND, INCLUDING BUT NOT LIMITED TO WARRANTIES OF * MERCHANTABILITY, NONINFRINGEMENT, TITLE, FITNESS FOR ANY PARTICULAR PURPOSE, * OR WARRANTIES ARISING FROM CONDUCT, COURSE OF DEALING, OR USAGE OF TRADE. * IN NO EVENT SHALL AMD OR ITS LICENSORS BE LIABLE FOR ANY DAMAGES WHATSOEVER * (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF PROFITS, BUSINESS * INTERRUPTION, OR LOSS OF INFORMATION) ARISING OUT OF AMD'S NEGLIGENCE, * GROSS NEGLIGENCE, THE USE OF OR INABILITY TO USE THE MATERIALS OR ANY OTHER * RELATED INFORMATION PROVIDED TO YOU BY AMD, EVEN IF AMD HAS BEEN ADVISED OF * THE POSSIBILITY OF SUCH DAMAGES. BECAUSE SOME JURISDICTIONS PROHIBIT THE * EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES, * THE ABOVE LIMITATION MAY NOT APPLY TO YOU. * * AMD does not assume any responsibility for any errors which may appear in * the Materials or any other related information provided to you by AMD, or * result from use of the Materials or any related information. * * You agree that you will not reverse engineer or decompile the Materials. * * NO SUPPORT OBLIGATION: AMD is not obligated to furnish, support, or make any * further information, software, technical information, know-how, or show-how * available to you. Additionally, AMD retains the right to modify the * Materials at any time, without notice, and is not obligated to provide such * modified Materials to you. * * U.S. GOVERNMENT RESTRICTED RIGHTS: The Materials are provided with * "RESTRICTED RIGHTS." Use, duplication, or disclosure by the Government is * subject to the restrictions as set forth in FAR 52.227-14 and * DFAR252.227-7013, et seq., or its successor. Use of the Materials by the * Government constitutes acknowledgement of AMD's proprietary rights in them. * * EXPORT ASSURANCE: You agree and certify that neither the Materials, nor any * direct product thereof will be exported directly or indirectly, into any * country prohibited by the United States Export Administration Act and the * regulations thereunder, without the required authorization from the U.S. * government nor will be used for any purpose prohibited by the same. ****************************************************************************** */ /*---------------------------------------------------------------------------------------- * M O D U L E S U S E D *---------------------------------------------------------------------------------------- */ #include "AGESA.h" #include "amdlib.h" #include "Ids.h" #include "cpuRegisters.h" #include "cpuServices.h" #include "GeneralServices.h" #include "heapManager.h" #include "cpuCacheInit.h" #include "cpuFamilyTranslation.h" #include "Filecode.h" CODE_GROUP (G1_PEICC) RDATA_GROUP (G1_PEICC) #define FILECODE PROC_CPU_HEAPMANAGER_FILECODE /*---------------------------------------------------------------------------------------- * D E F I N I T I O N S A N D M A C R O S *---------------------------------------------------------------------------------------- */ /*---------------------------------------------------------------------------------------- * T Y P E D E F S A N D S T R U C T U R E S *---------------------------------------------------------------------------------------- */ /*---------------------------------------------------------------------------------------- * P R O T O T Y P E S O F L O C A L F U N C T I O N S *---------------------------------------------------------------------------------------- */ UINT64 STATIC HeapGetCurrentBase ( IN AMD_CONFIG_PARAMS *StdHeader ); VOID STATIC DeleteFreeSpaceNode ( IN AMD_CONFIG_PARAMS *StdHeader, IN UINT32 OffsetOfDeletedNode ); VOID STATIC InsertFreeSpaceNode ( IN AMD_CONFIG_PARAMS *StdHeader, IN UINT32 OffsetOfInsertNode ); /*---------------------------------------------------------------------------------------- * P U B L I C F U N C T I O N S *---------------------------------------------------------------------------------------- */ /*---------------------------------------------------------------------------------------- * E X P O R T E D F U N C T I O N S *---------------------------------------------------------------------------------------- */ extern BUILD_OPT_CFG UserOptions; /*---------------------------------------------------------------------------------------*/ /** * This function initializes the heap for each CPU core. * * Check for already initialized. If not, determine offset of local heap in CAS and * setup initial heap markers and bookkeeping status. Initialize a couple heap items * all cores need, for convenience. Currently these are caching the AP mailbox info and * an initial event log. * * @param[in] StdHeader Handle of Header for calling lib functions and services. * * @retval AGESA_SUCCESS This core's heap is initialized * @retval AGESA_FATAL This core's heap cannot be initialized due to any reasons below: * - current processor family cannot be identified. * */ AGESA_STATUS HeapManagerInit ( IN AMD_CONFIG_PARAMS *StdHeader ) { // First Time Initialization // Note: First 16 bytes of buffer is reserved for Heap Manager use UINT16 HeapAlreadyInitSizeDword; UINT32 HeapAlreadyRead; UINT8 L2LineSize; UINT8 *HeapBufferPtr; UINT8 *HeapInitPtr; UINT32 *HeapDataPtr; UINT64 MsrData; UINT64 MsrMask; UINT8 Ignored; CPUID_DATA CpuId; BUFFER_NODE *FreeSpaceNode; CACHE_INFO *CacheInfoPtr; AGESA_STATUS IgnoredSts; CPU_SPECIFIC_SERVICES *FamilySpecificServices; CPU_LOGICAL_ID CpuFamilyRevision; // Check whether this is a known processor family. GetLogicalIdOfCurrentCore (&CpuFamilyRevision, StdHeader); if ((CpuFamilyRevision.Family == 0) && (CpuFamilyRevision.Revision == 0)) { IDS_ERROR_TRAP; return AGESA_FATAL; } GetCpuServicesOfCurrentCore ((CONST CPU_SPECIFIC_SERVICES **)&FamilySpecificServices, StdHeader); FamilySpecificServices->GetCacheInfo (FamilySpecificServices, (CONST VOID **) &CacheInfoPtr, &Ignored, StdHeader); HeapBufferPtr = (UINT8 *)(UINT32) StdHeader->HeapBasePtr; // Check whether the heap manager is already initialized LibAmdMsrRead (AMD_MTRR_VARIABLE_HEAP_MASK, &MsrData, StdHeader); if (MsrData == (CacheInfoPtr->VariableMtrrMask & AMD_HEAP_MTRR_MASK)) { LibAmdMsrRead (AMD_MTRR_VARIABLE_HEAP_BASE, &MsrData, StdHeader); if ((MsrData & CacheInfoPtr->HeapBaseMask) == ((UINT64) (UINTN) HeapBufferPtr & CacheInfoPtr->HeapBaseMask)) { if (((HEAP_MANAGER *) HeapBufferPtr)->Signature == HEAP_SIGNATURE_VALID) { // This is not a bug, there are multiple premem basic entry points, // and each will call heap init to make sure create struct will succeed. // If that is later deemed a problem, there needs to be a reasonable test // for the calling code to make to determine if it needs to init heap or not. // In the mean time, add this to the event log PutEventLog (AGESA_SUCCESS, CPU_ERROR_HEAP_IS_ALREADY_INITIALIZED, 0, 0, 0, 0, StdHeader); return AGESA_SUCCESS; } } } // Set variable MTRR base and mask MsrData = ((UINT64) (UINTN) HeapBufferPtr & CacheInfoPtr->HeapBaseMask); MsrMask = CacheInfoPtr->VariableMtrrHeapMask & AMD_HEAP_MTRR_MASK; MsrData |= 0x06; LibAmdMsrWrite (AMD_MTRR_VARIABLE_HEAP_BASE, &MsrData, StdHeader); LibAmdMsrWrite (AMD_MTRR_VARIABLE_HEAP_MASK, &MsrMask, StdHeader); // Set top of memory to a temp value MsrData = (UINT64) (AMD_TEMP_TOM); LibAmdMsrWrite (TOP_MEM, &MsrData, StdHeader); // Enable variable MTTRs LibAmdMsrRead (SYS_CFG, &MsrData, StdHeader); MsrData |= AMD_VAR_MTRR_ENABLE_BIT; LibAmdMsrWrite (SYS_CFG, &MsrData, StdHeader); // Initialize Heap Space // BIOS may store to a line only after it has been allocated by a load LibAmdCpuidRead (AMD_CPUID_L2L3Cache_L2TLB, &CpuId, StdHeader); L2LineSize = (UINT8) (CpuId.ECX_Reg); HeapInitPtr = HeapBufferPtr ; for (HeapAlreadyRead = 0; HeapAlreadyRead < AMD_HEAP_SIZE_PER_CORE; (HeapAlreadyRead = HeapAlreadyRead + L2LineSize)) { Ignored = *HeapInitPtr; HeapInitPtr += L2LineSize; } HeapDataPtr = (UINT32 *) HeapBufferPtr; for (HeapAlreadyInitSizeDword = 0; HeapAlreadyInitSizeDword < AMD_HEAP_SIZE_DWORD_PER_CORE; HeapAlreadyInitSizeDword++) { *HeapDataPtr = 0; HeapDataPtr++; } // Note: We are reserving the first 16 bytes for Heap Manager use // UsedSize indicates the size of heap spaced is used for HEAP_MANAGER, BUFFER_NODE, // Pad for 16-byte alignment, buffer data, and IDS SENTINEL. // FirstActiveBufferOffset is initalized as invalid heap offset, AMD_HEAP_INVALID_HEAP_OFFSET. // FirstFreeSpaceOffset is initalized as the byte right after HEAP_MANAGER header. // Then we set Signature of HEAP_MANAGER header as valid, HEAP_SIGNATURE_VALID. ((HEAP_MANAGER*) HeapBufferPtr)->UsedSize = sizeof (HEAP_MANAGER); ((HEAP_MANAGER*) HeapBufferPtr)->FirstActiveBufferOffset = AMD_HEAP_INVALID_HEAP_OFFSET; ((HEAP_MANAGER*) HeapBufferPtr)->FirstFreeSpaceOffset = sizeof (HEAP_MANAGER); ((HEAP_MANAGER*) HeapBufferPtr)->Signature = HEAP_SIGNATURE_VALID; // Create free space link FreeSpaceNode = (BUFFER_NODE *) (HeapBufferPtr + sizeof (HEAP_MANAGER)); FreeSpaceNode->BufferSize = AMD_HEAP_SIZE_PER_CORE - sizeof (HEAP_MANAGER) - sizeof (BUFFER_NODE); FreeSpaceNode->OffsetOfNextNode = AMD_HEAP_INVALID_HEAP_OFFSET; StdHeader->HeapStatus = HEAP_LOCAL_CACHE; if (!IsBsp (StdHeader, &IgnoredSts)) { // The BSP's hardware mailbox has not been initialized, so only APs // can do this at this point. CacheApMailbox (StdHeader); } EventLogInitialization (StdHeader); return AGESA_SUCCESS; } /*---------------------------------------------------------------------------------------*/ /** * Allocates space for a new buffer in the heap * * This function will allocate new buffer either by using internal 'AGESA' heapmanager * or by using externa (IBV) heapmanager. This function will also determine if whether or not * there is enough space for the new structure. If so, it will zero out the buffer, * and return a pointer to the region. * * @param[in,out] AllocateHeapParams structure pointer containing the size of the * desired new region, its handle, and the * return pointer. * @param[in,out] StdHeader Config handle for library and services. * * @retval AGESA_SUCCESS No error * @retval AGESA_BOUNDS_CHK Handle already exists, or not enough * free space * @retval AGESA_UNSUPPORTED Do not support this kind of heap allocation * @retval AGESA_ERROR Heap is invaild * */ AGESA_STATUS HeapAllocateBuffer ( IN OUT ALLOCATE_HEAP_PARAMS *AllocateHeapParams, IN OUT AMD_CONFIG_PARAMS *StdHeader ) { UINT8 *BaseAddress; UINT8 AlignTo16Byte; UINT8 CalloutFcnData; UINT32 RemainSize; UINT32 OffsetOfSplitNode; UINT32 OffsetOfNode; HEAP_MANAGER *HeapManager; BUFFER_NODE *FreeSpaceNode; BUFFER_NODE *SplitFreeSpaceNode; BUFFER_NODE *CurrentBufferNode; BUFFER_NODE *NewBufferNode; AGESA_BUFFER_PARAMS AgesaBuffer; ASSERT (StdHeader != NULL); if (AllocateHeapParams->Persist == HEAP_RUNTIME_SYSTEM_MEM) { ASSERT (StdHeader->HeapStatus == HEAP_SYSTEM_MEM); if (StdHeader->HeapStatus != HEAP_SYSTEM_MEM) { return AGESA_UNSUPPORTED; } } // At this stage we will decide to either use external (IBV) heap manger // or internal (AGESA) heap manager. // If (HeapStatus == HEAP_SYSTEM_MEM), then use the call function to call // external heap manager if (StdHeader->HeapStatus == HEAP_SYSTEM_MEM) { AgesaBuffer.StdHeader = *StdHeader; AgesaBuffer.BufferHandle = AllocateHeapParams->BufferHandle; AgesaBuffer.BufferLength = AllocateHeapParams->RequestedBufferSize; if (AllocateHeapParams->Persist == HEAP_RUNTIME_SYSTEM_MEM) { CalloutFcnData = HEAP_CALLOUT_RUNTIME; } else { CalloutFcnData = HEAP_CALLOUT_BOOTTIME; } AGESA_TESTPOINT (TpIfBeforeAllocateHeapBuffer, StdHeader); if (AgesaAllocateBuffer (CalloutFcnData, &AgesaBuffer) != AGESA_SUCCESS) { AllocateHeapParams->BufferPtr = NULL; return AGESA_ERROR; } AGESA_TESTPOINT (TpIfAfterAllocateHeapBuffer, StdHeader); AllocateHeapParams->BufferPtr = (UINT8 *) (AgesaBuffer.BufferPointer); return AGESA_SUCCESS; } // If (StdHeader->HeapStatus != HEAP_SYSTEM_MEM), then allocated buffer // using following AGESA Heap Manager code. // Buffer pointer is NULL unless we return a buffer. AlignTo16Byte = 0; AllocateHeapParams->BufferPtr = NULL; AllocateHeapParams->RequestedBufferSize += NUM_OF_SENTINEL * SIZE_OF_SENTINEL; // Get base address BaseAddress = (UINT8 *) (UINTN) StdHeader->HeapBasePtr; HeapManager = (HEAP_MANAGER *) BaseAddress; // Check Heap database is valid if ((BaseAddress == NULL) || (HeapManager->Signature != HEAP_SIGNATURE_VALID)) { // The base address in StdHeader is incorrect, get base address by itself BaseAddress = (UINT8 *)(UINT32) HeapGetBaseAddress (StdHeader); HeapManager = (HEAP_MANAGER *) BaseAddress; if ((BaseAddress == NULL) || (HeapManager->Signature != HEAP_SIGNATURE_VALID)) { // Heap is not available, ASSERT here ASSERT (FALSE); return AGESA_ERROR; } StdHeader->HeapBasePtr = (UINT64)(UINT32) BaseAddress; } // Allocate CurrentBufferNode = (BUFFER_NODE *) (BaseAddress + sizeof (HEAP_MANAGER)); // If there already has been a heap with the incoming BufferHandle, we return AGESA_BOUNDS_CHK. if (HeapManager->FirstActiveBufferOffset != AMD_HEAP_INVALID_HEAP_OFFSET) { CurrentBufferNode = (BUFFER_NODE *) (BaseAddress + HeapManager->FirstActiveBufferOffset); while (CurrentBufferNode->OffsetOfNextNode != AMD_HEAP_INVALID_HEAP_OFFSET) { if (CurrentBufferNode->BufferHandle == AllocateHeapParams->BufferHandle) { PutEventLog (AGESA_BOUNDS_CHK, CPU_ERROR_HEAP_BUFFER_HANDLE_IS_ALREADY_USED, AllocateHeapParams->BufferHandle, 0, 0, 0, StdHeader); return AGESA_BOUNDS_CHK; } else { CurrentBufferNode = (BUFFER_NODE *) (BaseAddress + CurrentBufferNode->OffsetOfNextNode); } } if (CurrentBufferNode->BufferHandle == AllocateHeapParams->BufferHandle) { PutEventLog (AGESA_BOUNDS_CHK, CPU_ERROR_HEAP_BUFFER_HANDLE_IS_ALREADY_USED, AllocateHeapParams->BufferHandle, 0, 0, 0, StdHeader); return AGESA_BOUNDS_CHK; } } // Find the buffer size that first matches the requested buffer size (i.e. the first free buffer of greater size). OffsetOfNode = HeapManager->FirstFreeSpaceOffset; FreeSpaceNode = (BUFFER_NODE *) (BaseAddress + OffsetOfNode); while (OffsetOfNode != AMD_HEAP_INVALID_HEAP_OFFSET) { AlignTo16Byte = (UINT8) ((0x10 - (((UINTN) (VOID *) FreeSpaceNode + sizeof (BUFFER_NODE) + SIZE_OF_SENTINEL) & 0xF)) & 0xF); AllocateHeapParams->RequestedBufferSize = (UINT32) (AllocateHeapParams->RequestedBufferSize + AlignTo16Byte); if (FreeSpaceNode->BufferSize >= AllocateHeapParams->RequestedBufferSize) { break; } AllocateHeapParams->RequestedBufferSize = (UINT32) (AllocateHeapParams->RequestedBufferSize - AlignTo16Byte); OffsetOfNode = FreeSpaceNode->OffsetOfNextNode; FreeSpaceNode = (BUFFER_NODE *) (BaseAddress + OffsetOfNode); } if (OffsetOfNode == AMD_HEAP_INVALID_HEAP_OFFSET) { // We don't find any free space buffer that matches the requested buffer size. PutEventLog (AGESA_BOUNDS_CHK, CPU_ERROR_HEAP_IS_FULL, AllocateHeapParams->BufferHandle, 0, 0, 0, StdHeader); return AGESA_BOUNDS_CHK; } else { // We find one matched free space buffer. DeleteFreeSpaceNode (StdHeader, OffsetOfNode); NewBufferNode = FreeSpaceNode; // Add new buffer node to the buffer chain if (HeapManager->FirstActiveBufferOffset == AMD_HEAP_INVALID_HEAP_OFFSET) { HeapManager->FirstActiveBufferOffset = sizeof (HEAP_MANAGER); } else { CurrentBufferNode->OffsetOfNextNode = OffsetOfNode; } // New buffer size RemainSize = FreeSpaceNode->BufferSize - AllocateHeapParams->RequestedBufferSize; if (RemainSize > sizeof (BUFFER_NODE)) { NewBufferNode->BufferSize = AllocateHeapParams->RequestedBufferSize; OffsetOfSplitNode = OffsetOfNode + sizeof (BUFFER_NODE) + NewBufferNode->BufferSize; SplitFreeSpaceNode = (BUFFER_NODE *) (BaseAddress + OffsetOfSplitNode); SplitFreeSpaceNode->BufferSize = RemainSize - sizeof (BUFFER_NODE); InsertFreeSpaceNode (StdHeader, OffsetOfSplitNode); } else { // Remain size is less than BUFFER_NODE, we use whole size instead of requested size. NewBufferNode->BufferSize = FreeSpaceNode->BufferSize; } } // Initialize BUFFER_NODE structure of NewBufferNode NewBufferNode->BufferHandle = AllocateHeapParams->BufferHandle; if ((AllocateHeapParams->Persist == HEAP_TEMP_MEM) || (AllocateHeapParams->Persist == HEAP_SYSTEM_MEM)) { NewBufferNode->Persist = AllocateHeapParams->Persist; } else { NewBufferNode->Persist = HEAP_LOCAL_CACHE; } NewBufferNode->OffsetOfNextNode = AMD_HEAP_INVALID_HEAP_OFFSET; NewBufferNode->PadSize = AlignTo16Byte; // Clear to 0x00 LibAmdMemFill ((VOID *) ((UINT8 *) NewBufferNode + sizeof (BUFFER_NODE)), 0x00, NewBufferNode->BufferSize, StdHeader); // Debug feature SET_SENTINEL_BEFORE (NewBufferNode, AlignTo16Byte); SET_SENTINEL_AFTER (NewBufferNode); // Update global variables HeapManager->UsedSize += NewBufferNode->BufferSize + sizeof (BUFFER_NODE); // Now fill in the incoming structure AllocateHeapParams->BufferPtr = (UINT8 *) ((UINT8 *) NewBufferNode + sizeof (BUFFER_NODE) + SIZE_OF_SENTINEL + AlignTo16Byte); AllocateHeapParams->RequestedBufferSize -= (NUM_OF_SENTINEL * SIZE_OF_SENTINEL + AlignTo16Byte); return AGESA_SUCCESS; } /*---------------------------------------------------------------------------------------*/ /** * Deallocates a previously allocated buffer in the heap * * This function will deallocate buffer either by using internal 'AGESA' heapmanager * or by using externa (IBV) heapmanager. * * @param[in] BufferHandle Handle of the buffer to free. * @param[in] StdHeader Config handle for library and services. * * @retval AGESA_SUCCESS No error * @retval AGESA_BOUNDS_CHK Handle does not exist on the heap * */ AGESA_STATUS HeapDeallocateBuffer ( IN UINT32 BufferHandle, IN AMD_CONFIG_PARAMS *StdHeader ) { UINT8 *BaseAddress; UINT32 NodeSize; UINT32 OffsetOfFreeSpaceNode; UINT32 OffsetOfPreviousNode; UINT32 OffsetOfCurrentNode; BOOLEAN HeapLocateFlag; HEAP_MANAGER *HeapManager; BUFFER_NODE *CurrentNode; BUFFER_NODE *PreviousNode; BUFFER_NODE *FreeSpaceNode; AGESA_BUFFER_PARAMS AgesaBuffer; ASSERT (StdHeader != NULL); HeapLocateFlag = TRUE; BaseAddress = (UINT8 *) (UINTN) StdHeader->HeapBasePtr; HeapManager = (HEAP_MANAGER *) BaseAddress; // Check Heap database is valid if ((BaseAddress == NULL) || (HeapManager->Signature != HEAP_SIGNATURE_VALID)) { // The base address in StdHeader is incorrect, get base address by itself BaseAddress = (UINT8 *)(UINT32) HeapGetBaseAddress (StdHeader); HeapManager = (HEAP_MANAGER *) BaseAddress; if ((BaseAddress == NULL) || (HeapManager->Signature != HEAP_SIGNATURE_VALID)) { // Heap is not available, ASSERT here ASSERT (FALSE); return AGESA_ERROR; } StdHeader->HeapBasePtr = (UINT64)(UINT32) BaseAddress; } OffsetOfPreviousNode = AMD_HEAP_INVALID_HEAP_OFFSET; OffsetOfCurrentNode = HeapManager->FirstActiveBufferOffset; CurrentNode = (BUFFER_NODE *) (BaseAddress + OffsetOfCurrentNode); // Locate heap if ((BaseAddress != NULL) && (HeapManager->Signature == HEAP_SIGNATURE_VALID)) { if (OffsetOfCurrentNode == AMD_HEAP_INVALID_HEAP_OFFSET) { HeapLocateFlag = FALSE; } else { while (CurrentNode->BufferHandle != BufferHandle) { if (CurrentNode->OffsetOfNextNode == AMD_HEAP_INVALID_HEAP_OFFSET) { HeapLocateFlag = FALSE; break; } else { OffsetOfPreviousNode = OffsetOfCurrentNode; OffsetOfCurrentNode = CurrentNode->OffsetOfNextNode; CurrentNode = (BUFFER_NODE *) (BaseAddress + OffsetOfCurrentNode); } } } } else { HeapLocateFlag = FALSE; } if (HeapLocateFlag == TRUE) { // CurrentNode points to the buffer which wanted to be deallocated. // Remove deallocated heap from active buffer chain. if (OffsetOfPreviousNode == AMD_HEAP_INVALID_HEAP_OFFSET) { HeapManager->FirstActiveBufferOffset = CurrentNode->OffsetOfNextNode; } else { PreviousNode = (BUFFER_NODE *) (BaseAddress + OffsetOfPreviousNode); PreviousNode->OffsetOfNextNode = CurrentNode->OffsetOfNextNode; } // Now, CurrentNode become a free space node. HeapManager->UsedSize -= CurrentNode->BufferSize + sizeof (BUFFER_NODE); // Loop free space chain to see if any free space node is just before/after CurrentNode, then merge them. OffsetOfFreeSpaceNode = HeapManager->FirstFreeSpaceOffset; FreeSpaceNode = (BUFFER_NODE *) (BaseAddress + OffsetOfFreeSpaceNode); while (OffsetOfFreeSpaceNode != AMD_HEAP_INVALID_HEAP_OFFSET) { if ((OffsetOfFreeSpaceNode + sizeof (BUFFER_NODE) + FreeSpaceNode->BufferSize) == OffsetOfCurrentNode) { DeleteFreeSpaceNode (StdHeader, OffsetOfFreeSpaceNode); NodeSize = FreeSpaceNode->BufferSize + CurrentNode->BufferSize + sizeof (BUFFER_NODE); OffsetOfCurrentNode = OffsetOfFreeSpaceNode; CurrentNode = FreeSpaceNode; CurrentNode->BufferSize = NodeSize; } else if (OffsetOfFreeSpaceNode == (OffsetOfCurrentNode + sizeof (BUFFER_NODE) + CurrentNode->BufferSize)) { DeleteFreeSpaceNode (StdHeader, OffsetOfFreeSpaceNode); NodeSize = FreeSpaceNode->BufferSize + CurrentNode->BufferSize + sizeof (BUFFER_NODE); CurrentNode->BufferSize = NodeSize; } OffsetOfFreeSpaceNode = FreeSpaceNode->OffsetOfNextNode; FreeSpaceNode = (BUFFER_NODE *) (BaseAddress + OffsetOfFreeSpaceNode); } InsertFreeSpaceNode (StdHeader, OffsetOfCurrentNode); return AGESA_SUCCESS; } else { // If HeapStatus == HEAP_SYSTEM_MEM, try callout function if (StdHeader->HeapStatus == HEAP_SYSTEM_MEM) { AgesaBuffer.StdHeader = *StdHeader; AgesaBuffer.BufferHandle = BufferHandle; AGESA_TESTPOINT (TpIfBeforeDeallocateHeapBuffer, StdHeader); if (AgesaDeallocateBuffer (0, &AgesaBuffer) != AGESA_SUCCESS) { return AGESA_ERROR; } AGESA_TESTPOINT (TpIfAfterDeallocateHeapBuffer, StdHeader); return AGESA_SUCCESS; } // If we are still unable to locate the buffer handle, return AGESA_BOUNDS_CHK if ((BaseAddress != NULL) && (HeapManager->Signature == HEAP_SIGNATURE_VALID)) { PutEventLog (AGESA_BOUNDS_CHK, CPU_ERROR_HEAP_BUFFER_HANDLE_IS_NOT_PRESENT, BufferHandle, 0, 0, 0, StdHeader); } else { ASSERT (FALSE); } return AGESA_BOUNDS_CHK; } } /*---------------------------------------------------------------------------------------*/ /** * Locates a previously allocated buffer on the heap. * * This function searches the heap for a buffer with the desired handle, and * returns a pointer to the buffer. * * @param[in,out] LocateHeap Structure containing the buffer's handle, * and the return pointer. * @param[in] StdHeader Config handle for library and services. * * @retval AGESA_SUCCESS No error * @retval AGESA_BOUNDS_CHK Handle does not exist on the heap * */ AGESA_STATUS HeapLocateBuffer ( IN OUT LOCATE_HEAP_PTR *LocateHeap, IN AMD_CONFIG_PARAMS *StdHeader ) { UINT8 *BaseAddress; UINT8 AlignTo16Byte; UINT32 OffsetOfCurrentNode; BOOLEAN HeapLocateFlag; HEAP_MANAGER *HeapManager; BUFFER_NODE *CurrentNode; AGESA_BUFFER_PARAMS AgesaBuffer; ASSERT (StdHeader != NULL); HeapLocateFlag = TRUE; BaseAddress = (UINT8 *) (UINTN) StdHeader->HeapBasePtr; HeapManager = (HEAP_MANAGER *) BaseAddress; // Check Heap database is valid if ((BaseAddress == NULL) || (HeapManager->Signature != HEAP_SIGNATURE_VALID)) { // The base address in StdHeader is incorrect, get base address by itself BaseAddress = (UINT8 *)(UINT32) HeapGetBaseAddress (StdHeader); HeapManager = (HEAP_MANAGER *) BaseAddress; if ((BaseAddress == NULL) || (HeapManager->Signature != HEAP_SIGNATURE_VALID)) { // Heap is not available, ASSERT here ASSERT (FALSE); return AGESA_ERROR; } StdHeader->HeapBasePtr = (UINT64)(UINT32) BaseAddress; } OffsetOfCurrentNode = HeapManager->FirstActiveBufferOffset; CurrentNode = (BUFFER_NODE *) (BaseAddress + OffsetOfCurrentNode); // Find buffer using internal heap manager // Locate the heap using handle = LocateHeap-> BufferHandle // If HeapStatus != HEAP_SYSTEM_ MEM if ((BaseAddress != NULL) && (HeapManager->Signature == HEAP_SIGNATURE_VALID)) { if (OffsetOfCurrentNode == AMD_HEAP_INVALID_HEAP_OFFSET) { HeapLocateFlag = FALSE; } else { while (CurrentNode->BufferHandle != LocateHeap->BufferHandle) { if (CurrentNode->OffsetOfNextNode == AMD_HEAP_INVALID_HEAP_OFFSET) { HeapLocateFlag = FALSE; break; } else { OffsetOfCurrentNode = CurrentNode->OffsetOfNextNode; CurrentNode = (BUFFER_NODE *) (BaseAddress + OffsetOfCurrentNode); } } } } else { HeapLocateFlag = FALSE; } if (HeapLocateFlag) { AlignTo16Byte = CurrentNode->PadSize; LocateHeap->BufferPtr = (UINT8 *) ((UINT8 *) CurrentNode + sizeof (BUFFER_NODE) + SIZE_OF_SENTINEL + AlignTo16Byte); LocateHeap->BufferSize = CurrentNode->BufferSize - NUM_OF_SENTINEL * SIZE_OF_SENTINEL - AlignTo16Byte; return AGESA_SUCCESS; } else { // If HeapStatus == HEAP_SYSTEM_MEM, try callout function if (StdHeader->HeapStatus == HEAP_SYSTEM_MEM) { AgesaBuffer.StdHeader = *StdHeader; AgesaBuffer.BufferHandle = LocateHeap->BufferHandle; AGESA_TESTPOINT (TpIfBeforeLocateHeapBuffer, StdHeader); if (AgesaLocateBuffer (0, &AgesaBuffer) != AGESA_SUCCESS) { LocateHeap->BufferPtr = NULL; return AGESA_ERROR; } LocateHeap->BufferSize = AgesaBuffer.BufferLength; AGESA_TESTPOINT (TpIfAfterLocateHeapBuffer, StdHeader); LocateHeap->BufferPtr = (UINT8 *) (AgesaBuffer.BufferPointer); return AGESA_SUCCESS; } // If we are still unable to deallocate the buffer handle, return AGESA_BOUNDS_CHK LocateHeap->BufferPtr = NULL; LocateHeap->BufferSize = 0; if ((BaseAddress != NULL) && (HeapManager->Signature == HEAP_SIGNATURE_VALID)) { PutEventLog (AGESA_BOUNDS_CHK, CPU_ERROR_HEAP_BUFFER_HANDLE_IS_NOT_PRESENT, LocateHeap->BufferHandle, 0, 0, 0, StdHeader); } else { ASSERT (FALSE); } return AGESA_BOUNDS_CHK; } } /*---------------------------------------------------------------------------------------*/ /** * Get the heap base address * * This function will try to locate heap from cache, temp memory, main memory. * The heap signature will be checked for validity on each possible location. * Firstly, try if heap base is in cache by calling the function HeapGetCurrentBase. * Secondly, try if heap base is temp memory by UserOptoions.CfgHeapDramAddress. * Thirdly, try if heap base is in main memory by doing a buffer locate with buffer handle * AMD_HEAP_IN_MAIN_MEMORY_HANDLE. * If no valid heap signature is found in each possible location above, a NULL pointer is returned. * * @param[in] StdHeader Config handle for library and services. * * @return Heap base address of the executing core's heap. * */ UINT64 HeapGetBaseAddress ( IN AMD_CONFIG_PARAMS *StdHeader ) { UINT64 BaseAddress; HEAP_MANAGER *HeapManager; AGESA_BUFFER_PARAMS AgesaBuffer; // Firstly, we try to see if heap is in cache BaseAddress = HeapGetCurrentBase (StdHeader); HeapManager = (HEAP_MANAGER *) (UINTN) BaseAddress; if ((HeapManager->Signature != HEAP_SIGNATURE_VALID) && (StdHeader->HeapStatus != HEAP_DO_NOT_EXIST_YET) && (StdHeader->HeapStatus != HEAP_LOCAL_CACHE)) { // Secondly, we try to see if heap is in temp memory BaseAddress = UserOptions.CfgHeapDramAddress; HeapManager = (HEAP_MANAGER *) (UINTN) BaseAddress; if (HeapManager->Signature != HEAP_SIGNATURE_VALID) { // Thirdly, we try to see if heap in main memory // by locating with external buffer manager (IBV) AgesaBuffer.StdHeader = *StdHeader; AgesaBuffer.BufferHandle = AMD_HEAP_IN_MAIN_MEMORY_HANDLE; if (AgesaLocateBuffer (0, &AgesaBuffer) == AGESA_SUCCESS) { BaseAddress = (UINT64) (UINTN) AgesaBuffer.BufferPointer; HeapManager = (HEAP_MANAGER *) (UINTN) BaseAddress; if (HeapManager->Signature != HEAP_SIGNATURE_VALID) { // No valid heap signature ever found, return a NULL pointer BaseAddress = (UINT64) (UINTN) NULL; } } else { // No heap buffer is allocated by external manager (IBV), return a NULL pointer BaseAddress = (UINT64) (UINTN) NULL; } } } return BaseAddress; } /*--------------------------------------------------------------------------------------- * L O C A L F U N C T I O N S *--------------------------------------------------------------------------------------- */ /* -----------------------------------------------------------------------------*/ /** * * DeleteFreeSpaceNode * * Description: * Delete a free space node from free space chain * * Parameters: * @param[in] StdHeader Config handle for library and services. * @param[in] OffsetOfDeletedNode Offset of deleted node. * * Processing: * */ VOID STATIC DeleteFreeSpaceNode ( IN AMD_CONFIG_PARAMS *StdHeader, IN UINT32 OffsetOfDeletedNode ) { UINT8 *BaseAddress; UINT32 OffsetOfPreviousNode; UINT32 OffsetOfCurrentNode; HEAP_MANAGER *HeapManager; BUFFER_NODE *CurrentFreeSpaceNode; BUFFER_NODE *PreviousFreeSpaceNode; BaseAddress = (UINT8 *) (UINTN) StdHeader->HeapBasePtr; HeapManager = (HEAP_MANAGER *) BaseAddress; OffsetOfPreviousNode = AMD_HEAP_INVALID_HEAP_OFFSET; OffsetOfCurrentNode = HeapManager->FirstFreeSpaceOffset; // // After AmdInitEnv, there is no free space provided for HeapAllocateBuffer. // Hence if the FirstFreeSpaceOffset is AMD_HEAP_INVALID_HEAP_OFFSET, then // no need to do more on delete node. // if (OffsetOfCurrentNode != AMD_HEAP_INVALID_HEAP_OFFSET) { CurrentFreeSpaceNode = (BUFFER_NODE *) (BaseAddress + OffsetOfCurrentNode); while ((OffsetOfCurrentNode != AMD_HEAP_INVALID_HEAP_OFFSET) && (OffsetOfCurrentNode != OffsetOfDeletedNode)) { OffsetOfPreviousNode = OffsetOfCurrentNode; OffsetOfCurrentNode = CurrentFreeSpaceNode->OffsetOfNextNode; CurrentFreeSpaceNode = (BUFFER_NODE *) (BaseAddress + OffsetOfCurrentNode); } if (OffsetOfCurrentNode != AMD_HEAP_INVALID_HEAP_OFFSET) { if (OffsetOfPreviousNode == AMD_HEAP_INVALID_HEAP_OFFSET) { HeapManager->FirstFreeSpaceOffset = CurrentFreeSpaceNode->OffsetOfNextNode; } else { PreviousFreeSpaceNode = (BUFFER_NODE *) (BaseAddress + OffsetOfPreviousNode); PreviousFreeSpaceNode->OffsetOfNextNode = CurrentFreeSpaceNode->OffsetOfNextNode; } } } return; } /* -----------------------------------------------------------------------------*/ /** * * InsertFreeSpaceNode * * Description: * Insert a free space node to free space chain, size order * * Parameters: * @param[in] StdHeader Config handle for library and services. * @param[in] OffsetOfInsertNode Offset of inserted node. * * Processing: * */ VOID STATIC InsertFreeSpaceNode ( IN AMD_CONFIG_PARAMS *StdHeader, IN UINT32 OffsetOfInsertNode ) { UINT8 *BaseAddress; UINT32 OffsetOfPreviousNode; UINT32 OffsetOfCurrentNode; HEAP_MANAGER *HeapManager; BUFFER_NODE *CurrentFreeSpaceNode; BUFFER_NODE *PreviousFreeSpaceNode; BUFFER_NODE *InsertedFreeSpaceNode; BaseAddress = (UINT8 *) (UINTN) StdHeader->HeapBasePtr; HeapManager = (HEAP_MANAGER *) BaseAddress; OffsetOfPreviousNode = AMD_HEAP_INVALID_HEAP_OFFSET; OffsetOfCurrentNode = HeapManager->FirstFreeSpaceOffset; CurrentFreeSpaceNode = (BUFFER_NODE *) (BaseAddress + OffsetOfCurrentNode); InsertedFreeSpaceNode = (BUFFER_NODE *) (BaseAddress + OffsetOfInsertNode); while ((OffsetOfCurrentNode != AMD_HEAP_INVALID_HEAP_OFFSET) && (CurrentFreeSpaceNode->BufferSize < InsertedFreeSpaceNode->BufferSize)) { OffsetOfPreviousNode = OffsetOfCurrentNode; OffsetOfCurrentNode = CurrentFreeSpaceNode->OffsetOfNextNode; CurrentFreeSpaceNode = (BUFFER_NODE *) (BaseAddress + OffsetOfCurrentNode); } InsertedFreeSpaceNode->OffsetOfNextNode = OffsetOfCurrentNode; if (OffsetOfPreviousNode == AMD_HEAP_INVALID_HEAP_OFFSET) { HeapManager->FirstFreeSpaceOffset = OffsetOfInsertNode; } else { PreviousFreeSpaceNode = (BUFFER_NODE *) (BaseAddress + OffsetOfPreviousNode); PreviousFreeSpaceNode->OffsetOfNextNode = OffsetOfInsertNode; } return; } /*---------------------------------------------------------------------------------------*/ /** * Determines the base address of the executing core's heap. * * This function uses the executing core's socket/core numbers to determine * where it's heap should be located. * * @param[in] StdHeader Config handle for library and services. * * @return A pointer to the executing core's heap. * */ UINT64 STATIC HeapGetCurrentBase ( IN AMD_CONFIG_PARAMS *StdHeader ) { UINT32 SystemCoreNumber; UINT64 ReturnPtr; AGESA_STATUS IgnoredStatus; CPU_SPECIFIC_SERVICES *FamilyServices; if (IsBsp (StdHeader, &IgnoredStatus)) { ReturnPtr = AMD_HEAP_START_ADDRESS; } else { GetCpuServicesOfCurrentCore ((CONST CPU_SPECIFIC_SERVICES **)&FamilyServices, StdHeader); ASSERT (FamilyServices != NULL); SystemCoreNumber = FamilyServices->GetApCoreNumber (FamilyServices, StdHeader); ASSERT (SystemCoreNumber != 0); ASSERT (SystemCoreNumber < 64); ReturnPtr = ((SystemCoreNumber * AMD_HEAP_SIZE_PER_CORE) + AMD_HEAP_START_ADDRESS); } ASSERT (ReturnPtr <= ((AMD_HEAP_REGION_END_ADDRESS + 1) - AMD_HEAP_SIZE_PER_CORE)); return ReturnPtr; }
40.608553
128
0.66691
9d3a01dfaba06506288005a2daeb9ede95ebc78a
174
c
C
Living_SDK/platform/mcu/tg7100c/wifi/tg7100c_wifi_driver/wifi_netif.c
Ai-Thinker-Open/Ai-Thinker-Open-TG7100C_SDK
1d12cc5fdce57aa42e5880632ec2f8402706f48c
[ "Apache-2.0" ]
12
2020-12-04T15:06:22.000Z
2022-01-19T09:57:47.000Z
Living_SDK/platform/mcu/tg7100c/wifi/tg7100c_wifi_driver/wifi_netif.c
Ai-Thinker-Open/Ai-Thinker-Open-TG7100C_SDK
1d12cc5fdce57aa42e5880632ec2f8402706f48c
[ "Apache-2.0" ]
1
2021-03-01T04:29:31.000Z
2021-03-15T03:15:20.000Z
Living_SDK/platform/mcu/tg7100c/wifi/tg7100c_wifi_driver/wifi_netif.c
Ai-Thinker-Open/Ai-Thinker-Open-TG7100C_SDK
1d12cc5fdce57aa42e5880632ec2f8402706f48c
[ "Apache-2.0" ]
5
2020-12-10T09:09:24.000Z
2021-04-15T11:50:32.000Z
#include <lwip/netifapi.h> #include "wifi_mgmr.h" #include "wifi_netif.h" int wifi_netif_dhcp_start(struct netif *netif) { netifapi_dhcp_start(netif); return 0; }
14.5
46
0.724138
77e7dff2c4573b0d93d10c540ea01c102c54a578
2,478
h
C
include/lsst/afw/table/IdFactory.h
DarkEnergySurvey/cosmicRays
5c29bd9fc4a9f37e298e897623ec98fff4a8d539
[ "NCSA" ]
null
null
null
include/lsst/afw/table/IdFactory.h
DarkEnergySurvey/cosmicRays
5c29bd9fc4a9f37e298e897623ec98fff4a8d539
[ "NCSA" ]
null
null
null
include/lsst/afw/table/IdFactory.h
DarkEnergySurvey/cosmicRays
5c29bd9fc4a9f37e298e897623ec98fff4a8d539
[ "NCSA" ]
null
null
null
// -*- lsst-c++ -*- #ifndef AFW_TABLE_IdFactory_h_INCLUDED #define AFW_TABLE_IdFactory_h_INCLUDED #include <memory> #include "lsst/base.h" #include "lsst/afw/table/misc.h" namespace lsst { namespace afw { namespace table { /** * A polymorphic functor base class for generating record IDs for a table. * * The IDs produced by an IdFactory need not be sequential, but they must be unique, both with respect * to the IDs it generates itself and those passed to it via the notify() member function. Valid IDs * must be nonzero, as zero is used to indicate null in some contexts. */ class IdFactory { public: /// Return a new unique RecordId. virtual RecordId operator()() = 0; /// Notify the IdFactory that the given ID has been used and must not be returned by operator(). virtual void notify(RecordId id) = 0; /// Deep-copy the IdFactory. virtual std::shared_ptr<IdFactory> clone() const = 0; /** * Return a simple IdFactory that simply counts from 1. * * This is used when an empty pointer is passed to the BaseTable constructor. */ static std::shared_ptr<IdFactory> makeSimple(); /** * Return an IdFactory that includes another, fixed ID in the higher-order bits. * * @param[in] expId ID to include in the upper bits via a bitwise OR. * @param[in] reserved How many bits to reserve for the part of the ID that is unique. * * The final record ID will be: * * (upper << reserved) | sequence */ static std::shared_ptr<IdFactory> makeSource(RecordId expId, int reserved); /** * Return the number to pass as the 'reserved' argument to makeSource for * an exposure ID with the given maximum number of bits. * * @param[in] maxBits The maximum number of bits an exposure ID can have. */ static int computeReservedFromMaxBits(int maxBits) { // Subtract one for signed integers to avoid the sign bit. return sizeof(RecordId)*8 - std::is_signed<RecordId>::value - maxBits; } IdFactory() = default; IdFactory(IdFactory const &) = default; IdFactory(IdFactory &&) = default; // Protected to prevent slicing. IdFactory &operator=(IdFactory const &other) = delete; IdFactory &operator=(IdFactory &&other) = delete; virtual ~IdFactory() = default; private: }; } // namespace table } // namespace afw } // namespace lsst #endif // !AFW_TABLE_IdFactory_h_INCLUDED
31.769231
103
0.673123
8b03cf42aa4d6e8e660d3e37fe92d02979ce9067
2,139
c
C
c/examples/sum.c
Flouse/godwoken-scripts
add49db7187fc1aae1efc5bbb89fea30aa762847
[ "MIT" ]
6
2021-04-05T18:54:54.000Z
2021-12-16T07:38:04.000Z
c/examples/sum.c
Flouse/godwoken-scripts
add49db7187fc1aae1efc5bbb89fea30aa762847
[ "MIT" ]
10
2021-06-25T05:13:18.000Z
2022-03-04T11:38:04.000Z
c/examples/sum.c
Flouse/godwoken-scripts
add49db7187fc1aae1efc5bbb89fea30aa762847
[ "MIT" ]
7
2021-03-02T05:56:27.000Z
2022-03-15T03:20:57.000Z
/* * The Sum is a layer2 contract example demostrate how to read & write to the * account state. */ #include "ckb_syscalls.h" #include "gw_syscalls.h" #include "stdio.h" #define ERROR_INVALID_DATA 10 uint64_t saturating_add(uint64_t a, uint64_t b); int extract_args(gw_context_t *ctx, uint64_t *v); int read_counter(gw_context_t *ctx, uint64_t *counter); int write_counter(gw_context_t *ctx, uint64_t counter); /* transtions's args should be a uint64_t as the accumulate number */ int main() { gw_context_t ctx = {0}; int ret = gw_context_init(&ctx); if (ret != 0) { return ret; } uint64_t counter_value = 0; ret = read_counter(&ctx, &counter_value); if (ret != 0) { return ret; } uint64_t add_value = 0; ret = extract_args(&ctx, &add_value); if (ret != 0) { return ret; } counter_value = saturating_add(counter_value, add_value); /* return current counter value as data */ ctx.sys_set_program_return_data(&ctx, (uint8_t *)&counter_value, sizeof(uint64_t)); ret = write_counter(&ctx, counter_value); if (ret != 0) { return ret; } return gw_finalize(&ctx); } /* helper functions */ uint64_t saturating_add(uint64_t a, uint64_t b) { uint64_t c = a + b; if (c < a) { c = -1; } return c; } int extract_args(gw_context_t *ctx, uint64_t *v) { if (sizeof(uint64_t) != ctx->transaction_context.args_len) { return ERROR_INVALID_DATA; } *v = *(uint64_t *)ctx->transaction_context.args; return 0; } int read_counter(gw_context_t *ctx, uint64_t *counter) { uint8_t key[GW_KEY_BYTES]; blake2b_hash(key, (uint8_t *)"counter", 7); uint8_t value[GW_VALUE_BYTES]; int ret = ctx->sys_load(ctx, ctx->transaction_context.to_id, key, GW_KEY_BYTES, value); if (ret != 0) { return ret; } *counter = *(uint64_t *)value; return 0; } int write_counter(gw_context_t *ctx, uint64_t counter) { uint8_t key[GW_KEY_BYTES]; blake2b_hash(key, (uint8_t *)"counter", 7); uint8_t value[GW_VALUE_BYTES]; *(uint64_t *)value = counter; return ctx->sys_store(ctx, ctx->transaction_context.to_id, key, GW_KEY_BYTES, value); }
26.085366
89
0.677887
e2cd1caa6adebec02b5910d178c21825bfd44ae7
3,718
c
C
components/ucamera/src/device/wifi/wifi_camera.c
ekmixon/AliOS-Things
00334295af8aa474d818724149726ca93da4645d
[ "Apache-2.0" ]
4,538
2017-10-20T05:19:03.000Z
2022-03-30T02:29:30.000Z
components/ucamera/src/device/wifi/wifi_camera.c
ekmixon/AliOS-Things
00334295af8aa474d818724149726ca93da4645d
[ "Apache-2.0" ]
1,088
2017-10-21T07:57:22.000Z
2022-03-31T08:15:49.000Z
components/ucamera/src/device/wifi/wifi_camera.c
willianchanlovegithub/AliOS-Things
637c0802cab667b872d3b97a121e18c66f256eab
[ "Apache-2.0" ]
1,860
2017-10-20T05:22:35.000Z
2022-03-27T10:54:14.000Z
/* * Copyright (C) 2021-2023 Alibaba Group Holding Limited */ #include <stdio.h> #include <string.h> #include "ulog/ulog.h" #include "aos/kernel.h" #include "ucamera_service.h" #include <httpclient.h> #include "wifi_camera.h" // #include <aiconfig.h> /*Tested this program with esp32 eye*/ #define TAG "WIFI_CAMERA" #define HEAD_SIZE 2048 #define BODY_SZIE (1024 * 128 + 1) static httpclient_t wifi_camera_client = { 0 }; static httpclient_data_t wifi_camera_client_data = {0}; static void wifi_camera_delete(ucamera_device_t *dev) { free(dev); } static bool wifi_camera_device_available(void) { return true; } int32_t wifi_camera_init(ucamera_device_t *dev) { int32_t ret; char *customer_header = "Accept: */*\r\n"; ret = httpclient_prepare(&wifi_camera_client_data, HEAD_SIZE, BODY_SZIE); if (ret != HTTP_SUCCESS) return -1; wifi_camera_client.is_http = true; httpclient_set_custom_header(&wifi_camera_client, customer_header); LOG("wifi camera init done\n"); return ret; } int32_t wifi_camera_uninit(ucamera_device_t *dev) { int32_t ret; ret = httpclient_unprepare(&wifi_camera_client_data); return ret; } int32_t wifi_camera_connect(ucamera_device_t *dev) { int32_t ret; ret = httpclient_conn(&wifi_camera_client, (const char *)WIFICAMERA_URL); if (HTTP_SUCCESS != ret) { LOGE(TAG, "http connect failed"); return -1; } LOG("connect to wifi camera successfully\n"); return ret; } void wifi_camera_disconnect(ucamera_device_t *dev) { if (!dev) return; httpclient_clse(&wifi_camera_client); LOG("disconnect to wifi camera successfully\n"); } frame_buffer_t *wifi_camera_get_frame(ucamera_device_t *dev) { int ret; if (!dev) return NULL; httpclient_reset(&wifi_camera_client_data); ret = httpclient_send(&wifi_camera_client, (const char *)WIFICAMERA_URL, HTTP_GET, &wifi_camera_client_data); if (HTTP_SUCCESS != ret) { LOGE(TAG, "http send request failed"); return NULL; } do { ret = httpclient_recv(&wifi_camera_client, &wifi_camera_client_data); if (ret < 0) { dev->stream_buf = NULL; dev->stream_len = 0; break; } dev->stream_buf = wifi_camera_client_data.response_buf; dev->stream_len = wifi_camera_client_data.response_content_len; } while (ret == HTTP_EAGAIN); /*malloc frame*/ dev->frame.buf = dev->stream_buf; dev->frame.len = dev->stream_len; dev->frame.width = WIFI_CAMERA_FRAME_WIDTH; dev->frame.height = WIFI_CAMERA_FRAME_HEIGHT; dev->frame.format = FRAME_FORMAT_RGB565; return &dev->frame; } static ucamera_device_t *wifi_camera_device_create(int devindex) { ucamera_device_t *device = NULL; /* Initialize all variables that we clean on shutdown */ device = (ucamera_device_t *) malloc(sizeof(ucamera_device_t)); if (!device) { LOGE(TAG, "malloc camera device fail\n"); return 0; } device->is_dummy = false; device->width = WIFI_CAMERA_FRAME_WIDTH; device->height = WIFI_CAMERA_FRAME_HEIGHT; /* Set the function pointers */ device->camera_init = wifi_camera_init; device->camera_uninit = wifi_camera_uninit; device->camera_connect = wifi_camera_connect; device->camera_disconnect = wifi_camera_disconnect; device->camera_get_frame = wifi_camera_get_frame; device->camera_free = wifi_camera_delete; LOG("create camera device successfully\n"); return device; } ucamera_context_t wifi_camera = { WIFI_CAMERA_NAME, "http camera stream over wifi", wifi_camera_device_available, wifi_camera_device_create };
25.465753
113
0.695535
122a7155566e7cf254abb1730f6bf6cb7c49d31f
1,035
h
C
Modules/IOExt/Internal/mitkVtkUnstructuredGridReader.h
zhaomengxiao/MITK
a09fd849a4328276806008bfa92487f83a9e2437
[ "BSD-3-Clause" ]
1
2022-03-03T12:03:32.000Z
2022-03-03T12:03:32.000Z
Modules/IOExt/Internal/mitkVtkUnstructuredGridReader.h
zhaomengxiao/MITK
a09fd849a4328276806008bfa92487f83a9e2437
[ "BSD-3-Clause" ]
1
2021-12-22T10:19:02.000Z
2021-12-22T10:19:02.000Z
Modules/IOExt/Internal/mitkVtkUnstructuredGridReader.h
zhaomengxiao/MITK_lancet
a09fd849a4328276806008bfa92487f83a9e2437
[ "BSD-3-Clause" ]
1
2020-11-27T09:41:18.000Z
2020-11-27T09:41:18.000Z
/*============================================================================ The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center (DKFZ) All rights reserved. Use of this source code is governed by a 3-clause BSD license that can be found in the LICENSE file. ============================================================================*/ #ifndef VtkUnstructuredGridReader_H_HEADER_INCLUDED #define VtkUnstructuredGridReader_H_HEADER_INCLUDED #include <mitkAbstractFileReader.h> namespace mitk { //##Documentation //## @brief Reader to read unstructured grid files in vtk-format class VtkUnstructuredGridReader : public AbstractFileReader { public: VtkUnstructuredGridReader(); ~VtkUnstructuredGridReader() override; using AbstractFileReader::Read; protected: std::vector<itk::SmartPointer<BaseData>> DoRead() override; VtkUnstructuredGridReader *Clone() const override; }; } // namespace mitk #endif /* VtkUnstructuredGridReader_H_HEADER_INCLUDED */
27.236842
78
0.658937
12aa993502e6c868caea5cfed30ba7aa1a5c30d6
1,659
c
C
process_func.c
vanessaloiz/simple_shell
466fd27fff6c60157d832616c1a0f0f9f25506b9
[ "FTL" ]
null
null
null
process_func.c
vanessaloiz/simple_shell
466fd27fff6c60157d832616c1a0f0f9f25506b9
[ "FTL" ]
null
null
null
process_func.c
vanessaloiz/simple_shell
466fd27fff6c60157d832616c1a0f0f9f25506b9
[ "FTL" ]
null
null
null
#include "header.h" /** * _fork - Creates a forked process * @args: List of arguments * @argv: Starting arguments * @env: Environment variable list * @buffer: User input * @amt: While count */ void _fork(char **args, char **argv, char **env, char *buffer, int amt) { int child_status; pid_t pid; /*fstat da el status del file y stat verifica y cmp el estatus*/ struct stat fStat; pid = fork(); if (pid == -1) { perror("Error:"); exit(EXIT_FAILURE); } if (pid == 0)/*estamos adentro del child*/ { if (args == NULL)/*no hay argumentos*/ { free(buffer); exit(EXIT_SUCCESS); } else if (stat(args[0], &fStat) == 0)/*devuelve 0 si es correcto*/ execve(args[0], args, NULL);/*ejecutamos el arg*/ else if (_strcmp("env", args[0]))/*cmp env con args*/ env_exit(buffer, args, env);/*libera el buffer, args y corre el cmd*/ /*probar con strncmp para comparar los bytes necesarios.*/ else if (_strcmp("exit", args[0])) exitcmd(buffer, args); else path_handle(args, buffer, env, argv, amt);/*busca los cmd en el path*/ } else/*estamos en el parent*/ { wait(&child_status); if (args == NULL) free_process(buffer, args); else if (_strcmp("exit", args[0])) exitcmd(buffer, args); else free_process(buffer, args); } } /** * exitcmd - Exits the terminal * @buffer: the input string to free * @args: array to free */ void exitcmd(char *buffer, char **args) { int check = 0; /* siempre y cuando args[1] no sea igual a nulo, (ls) solo seria args nulo.*/ if (args[1] != NULL) check = _atoi(args[1]); /* atoi convierte de caracter a integers. */ free(buffer); free_arr(args); exit(check); }
24.397059
78
0.64135
e30763249c593e93c002583d00958773bb7230a5
123,417
c
C
main.c
meshmol/mesh
0aca5f8969d2ace2a3739329b04d3e88ddaa394c
[ "MIT" ]
3
2015-04-04T16:23:53.000Z
2020-02-15T09:58:48.000Z
main.c
meshmol/mesh
0aca5f8969d2ace2a3739329b04d3e88ddaa394c
[ "MIT" ]
null
null
null
main.c
meshmol/mesh
0aca5f8969d2ace2a3739329b04d3e88ddaa394c
[ "MIT" ]
1
2018-06-22T12:06:43.000Z
2018-06-22T12:06:43.000Z
// Normal Scheme compiler #include <stdio.h> #include <string.h> #include <stdlib.h> #include <ctype.h> #include <setjmp.h> #include <windows.h> #include <signal.h> #include <math.h> #include <time.h> #include "norm.h" cell memory[CELLSIZE]; token stok = {GO,OTHER}; jmp_buf toplevel; int asmflag = 0; int gbcflag = 0; int loadflag = 0; int profflag = 0; int stepflag = 0; int contflag = 0; int exitflag = 0; int initflag = 1; int debugflag = 0; int safeflag = 0; int caseflag = 0; //no-fold-case default int step_on = 0; int prof_on = 0; clock_t gctime; clock_t start_time; clock_t end_time; FILE *input_port; FILE *output_port; int genint = 1; int pc; // program counter int sp; //stack pointer int env; //environment (Scheme) int envp; //environment (Prolog) int overwrite_mode = 0; //(for Prolog) int n_args; int head; //head of code address int tail; //tail ofcode address int code[CODESIZE]; int stack[STACKSIZE]; int emem1[ENVSIZE]; int emem2[ENVSIZE2]; int code_pointer[CLOSIZE][2]; int code_pointer_end = 0; int trace_list = NIL; //closures to trace int current_module = 2; //(normal compile) int module_table[MODULESIZE][2]; //[0]= symbol, [1]=export_list int module_table_end; int export_id; int export_sym; int export_rename; int back_trace[TRACE_DEPTH][2]; int back_trace_end = 0; int cont_count = 0; int command_line_count; char *command_line[10]; locstk local_stack[LOCSTKSIZE]; int trail_stack[TRAILSIZE]; int lsp; //local stack pointer int tsp; //trail stack pointer //------vm2起動時のデータ保存用------ int s_pc; // program counter int s_sp; //stack pointer int s_env; //environment int s_n_args; int s_head; //head of code address int s_tail; //tail ofcode address int s_code[CODESIZE]; int s_stack[STACKSIZE]; int s_code_pointer[CLOSIZE][2]; int s_code_pointer_end = 0; //------main----------------------- int main( int argc, char *argv[] ){ int sexp,i; command_line_count = argc; for(i=0; i<argc; i++) command_line[i] = argv[i]; char szPath[128],szDrive[4],szDir[128],szFileName[32],szExt[4]; char initfile[128],compfile[128],libfile[128]; char *p; printf("Meiji-Scheme Ver 1.0 \n"); initcell(); initsubr(); initsyntax(); initmodule(); init_r7rs(); SetConsoleCtrlHandler(NULL, FALSE ); //CTRL+Cを有効にする。 SetConsoleCtrlHandler(CtrlHandler, TRUE ); //初期化ファイルのフルpathを生成 memset(szPath,0,sizeof(szPath)); memset(szDrive,0,sizeof(szDrive)); memset(szDir,0,sizeof(szDir)); memset(szExt,0,sizeof(szExt)); memset(initfile,0,sizeof(initfile)); memset(compfile,0,sizeof(compfile)); memset(libfile,0,sizeof(libfile)); GetModuleFileName(NULL, szPath, sizeof(szPath)); _splitpath(szPath, szDrive, szDir, szFileName, szExt); _makepath(initfile,szDrive, szDir, "initlib", "o"); _makepath(compfile,szDrive, szDir, "ncomp", "o"); for(i=0; i<argc; i++){ p=argv[i]; if(*p=='-'){ /* オプションの引数 */ p++; switch(*p){ case '2': /* -T(tail compiler2) */ _makepath(initfile,szDrive, szDir, "xinitlib", "o"); _makepath(compfile,szDrive, szDir, "xcomp", "o"); break; case '1': /* -R(recursive compiler1) */ _makepath(initfile,szDrive, szDir, "initlib", "o"); _makepath(compfile,szDrive, szDir, "ncomp", "o"); break; case 'S': /*セーフモード*/ safeflag = 1; break; } } } _makepath(libfile,szDrive, szDir, "libfile", "scm"); int ret = setjmp(toplevel); fflush(stdin); //----初期ファイルを読み込む----------- if(initflag == 1 && safeflag == 0){ pc = 0; sp = 0; tail = 0; stepflag = 0; back_trace_end = 0; push_s(make_str(compfile)); f_load(1); //最低限必要なcompile,assemble,compile-fileを(normal user)にexportする。 export_id = list3(make_sym("compile"),make_sym("assemble"),make_sym("compile-file")); current_module = 0; while(!nullp(export_id)){ export_sym = car(export_id); SET_CAR(remake(export_sym),GET_CAR(export_sym)); export_id = cdr(export_id); } push_s(make_str(initfile)); f_load(1); push_s(make_str(libfile)); f_load(1); initflag = 0; } repl: if(ret == 0) while(1){ input_port = stdin; output_port = stdout; loadflag = 0; contflag = 0; if(!debugflag) printf("mesh> "); else printf("debug> "); fflush(stdout); sexp = read(); pc = 0; sp = 0; env = make_env(0,0); tail = 0; gctime = 0; if(!safeflag){ print(eval(sexp)); } else{ if(eqvp(sexp,make_sym("q"))) return 0; list_to_code(sexp); stepflag = 1; print(vm2()); } printf("\n"); fflush(stdout); } else if(ret == 1){ ret = 0; goto repl; } else{ printf("- good bye. -\n"); return 0; } } //-----eval------------------- int eval(int x){ int arg1,arg2,res,savehead,savetail,savepc,savesp; savehead = head; savetail = tail; savepc = pc; savesp = sp; //(set! arg1 (asm (compile x)))相当のVM機械語を生成。 arg1 = cons(make_int(2), cons(x, cons(make_int(4), cons(make_sym("compile"), cons(make_int(13), cons(make_int(1), cons(make_int(4), cons(make_sym("assemble"), cons(make_int(13), cons(make_int(1), cons(make_int(1),NIL))))))))))); //アセンブルしてVM機械語を得る。 list_to_code(arg1); pc = head; arg2 = vm1(); //その機械語をコード領域に展開してVM実行。 head = savehead; tail = savetail; list_to_code(arg2); pc = head; if(!debugflag) res = vm1(); else{ back_trace_end = 0; if(prof_on) profflag = 1; if(step_on) stepflag = 1; res = vm2(); profflag = 0; stepflag = 0; } pc = savepc; sp = savesp; return(res); } //-----ctrl+C,D--------------- BOOL WINAPI CtrlHandler(DWORD CtrlEvent){ switch(CtrlEvent){ case CTRL_C_EVENT: exitflag = 1; return TRUE; case CTRL_BREAK_EVENT: exitflag = 2; return TRUE; default: return FALSE; } } //---------error----------- void exception(char *fn, int code, int arg){ int i; switch(code){ case UNBOUND_VARIABLE: printf("Exception: variable "); print(arg); printf(" is not bound\n"); break; case CANT_READ: printf("Exception: expr "); print(arg); printf(" is not readable\n"); break; case CANT_OPEN: printf("Exception in %s: ",fn); print(arg); printf(" is not exist\n"); break; case VM_ILLEGAL_CODE: printf("Exception in VM :"); print(arg); printf(" is illegal op code\n"); break; case LACK_CELL: printf("Exception: lack of cell\n"); gbc(); break; case LACK_VEC: printf("Exception: lack of vector\n"); break; case NOT_PAIR: printf("Exception in %s: ", fn); print(arg); printf(" is not pair\n"); break; case NOT_NUMBER: printf("Exception in %s: ", fn); print(arg); printf(" is not a number\n"); break; case NOT_INTEGER: printf("Exception in %s: ", fn); print(arg); printf(" is not an integer\n"); break; case NOT_EXACT: printf("Exception in %s: ", fn); print(arg); printf(" is not an exact nonnegative number\n"); break; case NOT_REAL: printf("Exception in %s: ", fn); print(arg); printf(" is not a real number\n"); break; case NOT_SYMBOL: printf("Exception in %s: ", fn); print(arg); printf(" is not a symbol\n"); break; case NOT_STRING: printf("Exception in %s: ", fn); print(arg); printf(" is not a string\n"); break; case NOT_CHAR: printf("Exception in %s: ", fn); print(arg); printf(" is not a character\n"); break; case NOT_PORT: printf("Exception in %s: ", fn); print(arg); printf(" is not a port\n"); break; case NOT_PROCEDURE: printf("Exception in %s: ", fn); print(arg); printf(" is not a procedure\n"); break; case NOT_CLOSURE: printf("Exception in %s: ", fn); print(arg); printf(" is not a closure\n"); break; case NOT_MACRO: printf("Exception in %s: ", fn); print(arg); printf(" is not a macro\n"); break; case NOT_HYGIENIC: printf("Exception in %s: ", fn); print(arg); printf(" is not a hygienic\n"); break; case NOT_LIST: printf("Exception in %s: ", fn); print(arg); printf(" is not a list\n"); break; case NOT_BOOL: printf("Exception in %s: ", fn); print(arg); printf(" is not a boolean\n"); break; case NOT_VECTOR: printf("Exception in %s: ", fn); print(arg); printf(" is not a vector\n"); break; case NOT_BYTE_VECTOR: printf("Exception in %s: ", fn); print(arg); printf(" is not a bytevector\n"); break; case NOT_IDENTIFIER: printf("Exception in %s: ", fn); print(arg); printf(" is not a identifier\n"); break; case NOT_SYNTACTIC: printf("Exception in %s: ", fn); print(arg); printf(" is not a syntactic closure\n"); break; case NOT_RECORD: printf("Exception in %s: ", fn); print(arg); printf(" is not a record\n"); break; case INCORRECT_ARG_CNT: printf("Exception: incorrect argument count in call (%s)\n", fn); break; case ILLEGAL_ARGUMENT: printf("Exception in %s: ", fn); print(arg); printf(" is illegal argument\n"); break; case DIVIDE_ZERO: printf("Exception in %s: divide by zero\n", fn); break; case TOO_BIG: printf("Exception in %s: ", fn); print(arg); printf(" is too big number\n"); break; case INVALID_SYNTAX: printf("Exception: invalid syntax "); print(arg); printf("\n"); break; case INVALID_APP: printf("Exception: invalid application "); print(arg); printf("\n"); break; case EXTRA_PAREN: printf("Exception: extra close parenthesis\n"); break; case STACK_OVERF: printf("Exception: stack overflow\n"); break; case CODE_OVERF: printf("Exception: code overflow\n"); break; case LOCSTK_OVERF: printf("Exception: local stack overflow\n"); break; case TRAIL_OVERF: printf("Exception: trail stack overflow\n"); break; case NOT_MODULE: printf("Exception in %s: not exist module ", fn); print(arg); printf("\n"); break; case MODULE_OVERF: printf("Exception: module overflow\n"); break; case CLOSURE_OVERF: printf("Exception: closure overflow\n"); break; case ILLEGAL_VMCODE: printf("Exception: illegal VM code pc=%d \n", pc); break; case MALLOC_OVERF: printf("Exception in %s: memory allocation over flow\n", fn); break; case NOT_EXIST_LIB: printf("Exception in import: not exist library "); print(arg); printf("\n"); break; case IMMUTABLE_OBJ: printf("Exceptionin %s: can't modify immutable object ", fn); print(arg); printf("\n"); break; case OUT_OF_RANGE: printf("Exceptionin %s: out of range ", fn); print(arg); printf("\n"); break; } //ステップ実行中止 stepflag = 0; //デバッグモードならバックトレースを出力 if(debugflag){ printf("back trace\n"); for(i=0; i<back_trace_end; i++){ printf("[%d] ", i - back_trace_end); print(cons(back_trace[i][0],back_trace[i][1])); printf("\n"); } } //load中ならクローズしてトップレベルへ復帰。 if(loadflag == 1) fclose(input_port); //クロージャに記憶した命令列の開始アドレスを消去。 for(i=0; i< code_pointer_end; i++){ SET_AUX(code_pointer[i][0] , -1); } code_pointer_end = 0; //モジュールを(normal user)に復帰 current_module = 0; longjmp(toplevel,1); } //----------VM1---------------------------- int vm1(void){ int arg,res,clo,m,n,o,i,j,x,y,z,size,clo_code,cont,cont_code,cont_stack, new_env,env_i,env_j,new_env_i,new_env_j,savepc,savesp,saveenv; char str[SYMSIZE]; static const void *JUMPTABLE[] = {&&CASE_NOP, //0 &&CASE_HALT, //1 &&CASE_CONST, //2 &&CASE_LVAR, //3 &&CASE_GVAR, //4 &&CASE_LSET, //5 &&CASE_GSET, //6 &&CASE_POP, //7 &&CASE_JUMP, //8 &&CASE_TJUMP, //9 &&CASE_FJUMP, //10 &&CASE_RETURN,//11 &&CASE_ARGS, //12 &&CASE_CALL, //13 &&CASE_CALLJ, //14 &&CASE_FN, //15 &&CASE_SAVE, //16 &&CASE_PRIM, //17 &&CASE_DEF, //18 &&CASE_DEFM, //19 &&CASE_DEFH, //20 &&CASE_NEQP, //21 &&CASE_SMLP, //22 &&CASE_ESMLP, //23 &&CASE_GRTP, //24 &&CASE_EGRTP, //25 &&CASE_ZEROP, //26 &&CASE_ADD1, //27 &&CASE_SUB1, //28 &&CASE_ADD2, //29 &&CASE_SUB2, //30 &&CASE_GREF, //31 &&CASE_CATCH, //32 &&CASE_PAUSE, //33 &&CASE_CAR, //34 &&CASE_CDR, //35 &&CASE_CONS, //36 &&CASE_ADAPT, //37 &&CASE_DEFLIB,//38 &&CASE_EXPLIB,//39 &&CASE_IMPLIB //40 }; env_i = GET_CDR(env); env_j = GET_AUX(env); n_args = 0; goto *JUMPTABLE[code[pc]]; CASE_NOP: pc = pc + 1; goto *JUMPTABLE[code[pc]]; CASE_HALT: for(i=0; i< code_pointer_end; i++){ SET_AUX(code_pointer[i][0], -1); } code_pointer_end = 0; return(TOP_STACK); CASE_CONST: push_s(ARG1); pc = pc + 2; goto *JUMPTABLE[code[pc]]; CASE_LVAR: if(ARG1 == 0) push_s(GET_ENV_VEC_ELT(env,ARG2)); else push_s(get_lvar(ARG1, ARG2)); pc = pc + 3; goto *JUMPTABLE[code[pc]]; CASE_GVAR: arg = ARG1; res = GET_CAR(arg); if(res == undef) exception("", UNBOUND_VARIABLE, arg); push_s(res); //クロージャの場合にはgref命令に置換する。 if(IS_CLOSURE(res)){ code[pc] = 31; //(gref addr) code[pc+1] = res; } pc = pc + 2; goto *JUMPTABLE[code[pc]]; CASE_LSET: res = POP_S; set_lvar(ARG1,ARG2,res); push_s(res); pc = pc + 3; goto *JUMPTABLE[code[pc]]; CASE_GSET: x = POP_S; arg = ARG1; if(GET_CAR(arg) != undef) SET_CAR(arg,x); else exception("", UNBOUND_VARIABLE, arg); push_s(x); pc = pc + 2; goto *JUMPTABLE[code[pc]]; CASE_POP: pop_s(); pc = pc + 1; goto *JUMPTABLE[code[pc]]; CASE_JUMP: pc = pc + ARG1; goto *JUMPTABLE[code[pc]]; CASE_TJUMP: if(POP_S != BOOLF) pc = pc + ARG1; else pc = pc + 2; goto *JUMPTABLE[code[pc]]; CASE_FJUMP: if(POP_S == BOOLF) pc = pc + ARG1; else pc = pc + 2; goto *JUMPTABLE[code[pc]]; CASE_RETURN: pc = THIRD_STACK; env = SECOND_STACK; stack[sp-3] = stack[sp-1]; sp = sp - 2; goto *JUMPTABLE[code[pc]]; CASE_ARGS: check_ctrl(); m = ARG1; n = abs(m); new_env_i = env_i+1; if(n > env_j) new_env_j = n; else new_env_j = env_j; new_env = make_env(new_env_i,new_env_j); //コピー元の環境のアドレスを記憶する。 SET_ENV_ORG(new_env,env); //通常の引数の場合。 if(m >= 0){ for(j=n-1; j>=0; j--) SET_ENV_VEC_ELT(new_env, j ,pop_s()); } //余剰引数の場合。 else{ x = count_stack() - (n-1);//剰余引数の個数 //余剰引数をリストにまとめる。 arg = NIL; for(i=x; i>0; i--) arg = cons(POP_S,arg); SET_ENV_MAT_ELT(new_env, 0 , n-1, arg); n--; //余剰以外の引数を環境にセットする。 for(j=n-1; j>=0; j--) SET_ENV_VEC_ELT(new_env, j ,pop_s()); } env = new_env; env_i = new_env_i; env_j = new_env_j; pc = pc + 2; goto *JUMPTABLE[code[pc]]; CASE_CALL: check_ctrl(); n = ARG1; clo = POP_S; if(closurep(clo)){ m = GET_ARGS_CNT(clo); if(((m >=0 ) && m != n) || ( m < 0 && n < abs(m)-1)) exception(GET_NAME(clo),INCORRECT_ARG_CNT,NIL); //まだ展開されていない命令列の場合 if((x=GET_AUX(clo)) == -1){ clo_code = GET_CAR(clo); size = GET_CDR(clo_code); for(i=0; i<size; i++) code[i+tail] = GET_VEC_ELT(clo_code,i); head = tail; tail = tail+size; SET_AUX(clo,head); code_pointer[code_pointer_end][0] = clo; code_pointer[code_pointer_end][1] = head; code_pointer_end++; if(code_pointer_end > CLOSIZE) exception("call", CLOSURE_OVERF,NIL); insert_stack(env,pc+2,n); env = GET_CDR(clo); env_i = GET_CDR(env); env_j = GET_AUX(env); pc = head; } //既に展開されている命令列の場合。 else{ i = sp-1; for(j=n; j>0; j--){ stack[i+2] = stack[i]; i--; } stack[sp-n] = pc+2; stack[sp-n+1] = env; sp = sp + 2; //insert_stack(env,pc+2,n); env = GET_CDR(clo); env_i = GET_CDR(env); env_j = GET_AUX(env); pc = x; } goto *JUMPTABLE[code[pc]]; } if(continuationp(clo)){ //継続から渡された引数 if(n == 0) arg = empty_set; else if (n == 1) arg = pop_s(); else{ arg = NIL; for(i=0; i<n; i++) arg = cons(pop_s(),arg); } contflag = 1; //メモリ展開情報のクリア for(i=0; i< code_pointer_end; i++){ SET_AUX(code_pointer[i][0], -1); } code_pointer_end = 0; //継続の保持する命令列を復元 cont_code = GET_CAR(clo); pc = GET_VEC_ELT(cont_code,0); //pcなどを復元 code_pointer_end = GET_VEC_ELT(cont_code,1); head = GET_VEC_ELT(cont_code,2); tail = GET_VEC_ELT(cont_code,3); j = 4; for(i=0; i<code_pointer_end; i++){ code_pointer[i][0] = GET_VEC_ELT(cont_code,j); //closure code_pointer[i][1] = GET_VEC_ELT(cont_code,j+1); //start address SET_AUX(code_pointer[i][0],code_pointer[i][1]); x = code_pointer[i][0]; clo_code = GET_CAR(x); size = GET_CDR(clo_code); y = code_pointer[i][1]; for(z=0; z<size; z++) code[z+y] = GET_VEC_ELT(clo_code,z); j = j + 2; } y = code_pointer[0][1]; for(i=0; i<y; i++){ code[i] = GET_VEC_ELT(cont_code,j); j++; } //継続の保持するスタックを復元 cont_stack = GET_CDR(clo); m = GET_CDR(cont_stack); for(i=0; i<m; i++) stack[i] = GET_VEC_ELT(cont_stack,i); sp = m; //継続に渡された引数をスタックトップへ if(n == 0 || n == 1) push_s(arg); else push_s(make_multiple_values(arg)); //継続の保持する環境を復元 env = car(GET_AUX(clo)); current_module = cadr(GET_AUX(clo)); goto *JUMPTABLE[code[pc]]; } if(subrp(clo)){ pc = pc + 2; push_s(((GET_SUBR(clo))(n))); goto *JUMPTABLE[code[pc]]; } CASE_CALLJ: check_ctrl(); n = ARG1; clo = POP_S; if((x=GET_AUX(clo)) == -1){ clo_code = GET_CAR(clo); size = GET_CDR(clo_code); for(i=0; i<size; i++) code[i+tail] = GET_VEC_ELT(clo_code,i); head = tail; tail = tail+size; SET_AUX(clo,head); code_pointer[code_pointer_end][0] = clo; code_pointer[code_pointer_end][1] = head; code_pointer_end++; if(code_pointer_end > CLOSIZE) exception("callj", CLOSURE_OVERF,NIL); env = GET_CDR(clo); env_i = GET_CDR(env); env_j = GET_AUX(env); pc = head; } else{ env = GET_CDR(clo); env_i = GET_CDR(env); env_j = GET_AUX(env); pc = x; } goto *JUMPTABLE[code[pc]]; CASE_FN: n = ARG1; arg = ARG2; res = make_clo(); if(IS_LIST(arg)) clo_code = list_to_code_obj(arg); else clo_code = arg; SET_CAR(res,clo_code); SET_CDR(res,env); SET_ARGS_CNT(res,n); push_s(res); pc = pc + 3; goto *JUMPTABLE[code[pc]]; CASE_SAVE: push_s(ARG1); push_s(env); pc = pc + 2; goto *JUMPTABLE[code[pc]]; CASE_PRIM: check_ctrl(); x = ARG1; if(symbolp(x)){ clo = car(x); if(clo == undef) exception("", UNBOUND_VARIABLE, x); } else clo = x; n = ARG2; pc = pc + 3; push_s(((GET_SUBR(clo))(n))); goto *JUMPTABLE[code[pc]]; CASE_DEF: arg = ARG1; if(closurep(TOP_STACK) || IS_HYGIENIC(TOP_STACK)){ clo = TOP_STACK; strcpy(str,GET_NAME(arg)); SET_NAME(clo,str); } SET_CAR(arg,pop_s()); push_s(arg); pc = pc + 2; goto *JUMPTABLE[code[pc]]; CASE_DEFM: arg = ARG1; clo = make_macro(); SET_CAR(clo,pop_s()); SET_CAR(arg,clo); strcpy(str,GET_NAME(arg)); SET_NAME(clo,str); push_s(arg); pc = pc + 2; goto *JUMPTABLE[code[pc]]; CASE_DEFH: clo = make_hygienic(); SET_CAR(clo,pop_s()); SET_CDR(clo,env); //vm-env push_s(clo); pc = pc + 1; goto *JUMPTABLE[code[pc]]; CASE_NEQP: y = pop_s(); x = pop_s(); if(IS_INTEGER(x) && IS_INTEGER(y)){ if(x == y) push_s(BOOLT); else push_s(BOOLF); } else{ if(numeqp(x,y)) push_s(BOOLT); else push_s(BOOLF); } pc = pc + 1; goto *JUMPTABLE[code[pc]]; CASE_SMLP: y = pop_s(); x = pop_s(); if(IS_INTEGER(x) && IS_INTEGER(y)){ if(x < y) push_s(BOOLT); else push_s(BOOLF); } else{ if(smallerp(x,y)) push_s(BOOLT); else push_s(BOOLF); } pc = pc + 1; goto *JUMPTABLE[code[pc]]; CASE_ESMLP: y = pop_s(); x = pop_s(); if(IS_INTEGER(x) && IS_INTEGER(y)){ if(x <= y) push_s(BOOLT); else push_s(BOOLF); } else{ if(eqsmallerp(x,y)) push_s(BOOLT); else push_s(BOOLF); } pc = pc + 1; goto *JUMPTABLE[code[pc]]; CASE_GRTP: y = pop_s(); x = pop_s(); if(IS_INTEGER(x) && IS_INTEGER(y)){ if(x > y) push_s(BOOLT); else push_s(BOOLF); } else{ if(greaterp(x,y)) push_s(BOOLT); else push_s(BOOLF); } pc = pc + 1; goto *JUMPTABLE[code[pc]]; CASE_EGRTP: y = pop_s(); x = pop_s(); if(IS_INTEGER(x) && IS_INTEGER(y)){ if(x >= y) push_s(BOOLT); else push_s(BOOLF); } else{ if(eqgreaterp(x,y)) push_s(BOOLT); else push_s(BOOLF); } pc = pc + 1; goto *JUMPTABLE[code[pc]]; CASE_ZEROP: x = pop_s(); if(IS_INTEGER(x)){ if(get_int(x) == 0) push_s(BOOLT); else push_s(BOOLF); } else{ if(zerop(x)) push_s(BOOLT); else push_s(BOOLF); } pc = pc + 1; goto *JUMPTABLE[code[pc]]; CASE_ADD1: arg = pop_s(); if(IS_INTEGER(arg)){ x = get_int(arg); x++; push_s(make_int(x)); } else{ if(!numberp(arg)) exception("add1",NOT_NUMBER,arg); push_s(plus(arg,make_int(1))); } pc = pc + 1; goto *JUMPTABLE[code[pc]]; CASE_SUB1: arg = pop_s(); if(IS_INTEGER(arg)){ x = get_int(arg); x--; push_s(make_int(x)); } else{ if(!numberp(arg)) exception("sub1",NOT_NUMBER,arg); push_s(minus(arg,make_int(1))); } pc = pc + 1; goto *JUMPTABLE[code[pc]]; CASE_ADD2: arg = pop_s(); if(IS_INTEGER(arg)){ x = get_int(arg); x = x+2; push_s(make_int(x)); } else{ if(!numberp(arg)) exception("add2",NOT_NUMBER,arg); push_s(plus(arg,make_int(2))); } pc = pc + 1; goto *JUMPTABLE[code[pc]]; CASE_SUB2: arg = pop_s(); if(IS_INTEGER(arg)){ x = get_int(arg); x = x-2; push_s(make_int(x)); } else{ if(!numberp(arg)) exception("add2",NOT_NUMBER,arg); push_s(minus(arg,make_int(2))); } pc = pc + 1; goto *JUMPTABLE[code[pc]]; CASE_GREF: push_s(ARG1); pc = pc + 2; goto *JUMPTABLE[code[pc]]; CASE_CATCH: cont_code = make_memory(); cont_stack = make_stack(); cont = make_cont(); SET_CAR(cont,cont_code); SET_CDR(cont,cont_stack); SET_AUX(cont,cons(env,cons(current_module,NIL))); push_s(cont); pc = pc + 1; goto *JUMPTABLE[code[pc]]; CASE_PAUSE: return(TOP_STACK); CASE_CAR: x = pop_s(); if(pairp(x)) push_s(GET_CAR(x)); else exception("car", NOT_PAIR, x); pc = pc + 1; goto *JUMPTABLE[code[pc]]; CASE_CDR: x = pop_s(); if(pairp(x)) push_s(GET_CDR(x)); else exception("cdr", NOT_PAIR, x); pc = pc + 1; goto *JUMPTABLE[code[pc]]; CASE_CONS: y = pop_s(); x = pop_s(); push_s(cons(x,y)); pc = pc + 1; goto *JUMPTABLE[code[pc]]; CASE_ADAPT: arg = pop_s(); if(GET_TAG(arg) == MUL){ m = GET_VEC_ELT(arg,0); for(i=1; i<=m; i++){ x = GET_VEC_ELT(arg,i); push_s(x); } } else if(arg == empty_set){ m = 0; } else{ m = 1; push_s(arg); } code[pc + 5] = m; pc = pc + 1; goto *JUMPTABLE[code[pc]]; CASE_DEFLIB: export_id = NIL; export_rename = NIL; x = ARG1; //name y = ARG2; //body for(i=0; i<module_table_end; i++) if(equalp(module_table[i][0],x)) goto deflib_exit; module_table[i][0] = x; module_table_end++; deflib_exit: current_module = i; y = remake(y); while(!nullp(y)){ current_module = 0; arg = cons(make_int(2), cons(car(y), cons(make_int(4), cons(make_sym("compile"), cons(make_int(13), cons(make_int(1), cons(make_int(4), cons(make_sym("assemble"), cons(make_int(13), cons(make_int(1), cons(make_int(1),NIL))))))))))); savepc = pc; savesp = sp; saveenv = env; list_to_code(arg); pc = head; m = vm1(); list_to_code(m); pc = head; current_module = i; vm1(); pc = savepc; sp = savesp; env = saveenv; y = cdr(y); } while(!nullp(export_rename)){ m = car(export_rename); n = car(m); o = car(cdr(m)); SET_CAR(o,GET_CAR(n)); export_id = cons(o,export_id); export_rename = cdr(export_rename); } module_table[i][1] = export_id; y = module_table[i][1]; while(!nullp(y)){ m = car(y); if(GET_CAR(m) == undef) exception("", UNBOUND_VARIABLE, m); y = cdr(y); } current_module = 0; pc = pc + 3; goto *JUMPTABLE[code[pc]]; CASE_EXPLIB: x = ARG1; //id-list while(!nullp(x)){ if(eqp(car(car(x)),make_sym("rename"))) export_rename = cons(cdr(car(x)),export_rename); else export_id = cons(car(x),export_id); x = cdr(x); } push_s(undef); pc = pc + 2; goto *JUMPTABLE[code[pc]]; CASE_IMPLIB: x = ARG1; //<name idintifier> while(!nullp(x)){ m = car(x); if(eqvp(car(m),make_sym("only"))){ o = cddr(m); //only symbols m = cadr(m); //module_name for(i=0; i<module_table_end; i++) if(equalp(module_table[i][0],m)) goto implib_only_exit; exception("", NOT_EXIST_LIB, m); implib_only_exit: y = module_table[i][1]; //export-list while(!nullp(y)){ n = car(y); if(memv(n,o) != BOOLF) SET_CAR(remake(n),GET_CAR(n)); y = cdr(y); } } else if(eqvp(car(m),make_sym("except"))){ o = cddr(m); //only symbols m = cadr(m); //module_name for(i=0; i<module_table_end; i++) if(equalp(module_table[i][0],m)) goto implib_except_exit; exception("", NOT_EXIST_LIB, m); implib_except_exit: y = module_table[i][1]; //export-list while(!nullp(y)){ n = car(y); if(memv(n,o) == BOOLF) SET_CAR(remake(n),GET_CAR(n)); y = cdr(y); } } else{ for(i=0; i<module_table_end; i++) if(equalp(module_table[i][0],m)) goto implib_else_exit; exception("", NOT_EXIST_LIB, m); implib_else_exit: y = module_table[i][1]; //export-list while(!nullp(y)){ n = car(y); SET_CAR(remake(n),GET_CAR(n)); y = cdr(y); } } x = cdr(x); } push_s(undef); pc = pc + 2; goto *JUMPTABLE[code[pc]]; } //----------VM2-------------------------- int vm2(void){ int arg,res,clo,m,n,o,i,j,x,y,z,size,clo_code,cont,cont_code,cont_stack, new_env,env_i,env_j,new_env_i,new_env_j,trace,level,savepc,savesp,saveenv; char str[SYMSIZE]; prof prof_dt[OPCODE]; clock_t start,end; double total,average; static const void *JUMPTABLE[] = {&&CASE_NOP, //0 &&CASE_HALT, //1 &&CASE_CONST, //2 &&CASE_LVAR, //3 &&CASE_GVAR, //4 &&CASE_LSET, //5 &&CASE_GSET, //6 &&CASE_POP, //7 &&CASE_JUMP, //8 &&CASE_TJUMP, //9 &&CASE_FJUMP, //10 &&CASE_RETURN,//11 &&CASE_ARGS, //12 &&CASE_CALL, //13 &&CASE_CALLJ, //14 &&CASE_FN, //15 &&CASE_SAVE, //16 &&CASE_PRIM, //17 &&CASE_DEF, //18 &&CASE_DEFM, //19 &&CASE_DEFH, //20 &&CASE_NEQP, //21 &&CASE_SMLP, //22 &&CASE_ESMLP, //23 &&CASE_GRTP, //24 &&CASE_EGRTP, //25 &&CASE_ZEROP, //26 &&CASE_ADD1, //27 &&CASE_SUB1, //28 &&CASE_ADD2, //29 &&CASE_SUB2, //30 &&CASE_GREF, //31 &&CASE_CATCH, //32 &&CASE_PAUSE, //33 &&CASE_CAR, //34 &&CASE_CDR, //35 &&CASE_CONS, //36 &&CASE_ADAPT, //37 &&CASE_DEFLIB, //38 &&CASE_EXPLIB, //39 &&CASE_IMPLIB , //40 &&CASE_R1, //41 &&CASE_R2, //42 &&CASE_R3, //43 &&CASE_R4, //44 &&CASE_R5, //45 &&CASE_R6, //46 &&CASE_R7, //47 &&CASE_R8, //48 &&CASE_R9, //49 &&CASE_R10 //50 }; prof_dt[0].name = "nop "; prof_dt[1].name = "halt "; prof_dt[2].name = "const "; prof_dt[3].name = "lvar "; prof_dt[4].name = "gvar "; prof_dt[5].name = "lset "; prof_dt[6].name = "gset "; prof_dt[7].name = "pop "; prof_dt[8].name = "jump "; prof_dt[9].name = "tjump "; prof_dt[10].name = "fjump "; prof_dt[11].name = "return "; prof_dt[12].name = "args "; prof_dt[13].name = "call "; prof_dt[14].name = "callj "; prof_dt[15].name = "fn "; prof_dt[16].name = "save "; prof_dt[17].name = "prim "; prof_dt[18].name = "def "; prof_dt[19].name = "defm "; prof_dt[20].name = "defh "; prof_dt[21].name = "neqp "; prof_dt[22].name = "smlp "; prof_dt[23].name = "esmlp "; prof_dt[24].name = "grtp "; prof_dt[25].name = "egrtp "; prof_dt[26].name = "zerop "; prof_dt[27].name = "add1 "; prof_dt[28].name = "sub1 "; prof_dt[29].name = "add2 "; prof_dt[30].name = "sub2 "; prof_dt[31].name = "gref "; prof_dt[32].name = "catch "; prof_dt[33].name = "pause "; prof_dt[34].name = "car "; prof_dt[35].name = "cdr "; prof_dt[36].name = "cons "; prof_dt[37].name = "adapt "; prof_dt[38].name = "deflib "; prof_dt[39].name = "explib "; prof_dt[40].name = "implib "; prof_dt[41].name = "reserv1"; prof_dt[42].name = "reserv2"; prof_dt[43].name = "reserv3"; prof_dt[44].name = "reserv4"; prof_dt[45].name = "reserv5"; prof_dt[46].name = "reserv6"; prof_dt[47].name = "reserv7"; prof_dt[48].name = "reserv8"; prof_dt[49].name = "reserv9"; prof_dt[50].name = "reserv10"; for(i=0; i<OPCODE; i++){ prof_dt[i].count = 0; prof_dt[i].time = 0; } env_i = GET_CDR(env); env_j = GET_AUX(env); n_args = 0; trace = 0; level = 0; overwrite_mode = 0; //(Prolog) lsp = 0; //(Prolog local_stack_pointer) tsp = 0; //(Prolog trail_stack_pointer) goto *JUMPTABLE[code[pc]]; CASE_NOP: step(); start = clock(); pc = pc + 1; end = clock(); prof_dt[0].count++; prof_dt[0].time = prof_dt[0].time + (end - start); VM_ERR_CHK; goto *JUMPTABLE[code[pc]]; CASE_HALT: step(); start = clock(); for(i=0; i< code_pointer_end; i++){ SET_AUX(code_pointer[i][0] , -1); } code_pointer_end = 0; end = clock(); prof_dt[1].count++; prof_dt[1].time = prof_dt[1].time + (end - start); if(profflag){ printf("inst total(s) average(s) count\n"); for(i=0; i<OPCODE; i++){ total = (double)(double)prof_dt[i].time / CLOCKS_PER_SEC; if(prof_dt[i].count != 0) average = total / (double)prof_dt[i].count; else average = 0; printf("%s %f %1.16f %d \n", prof_dt[i].name, total, average, prof_dt[i].count); } } return(TOP_STACK); CASE_CONST: step(); start = clock(); push_s(ARG1); pc = pc + 2; end = clock(); prof_dt[2].count++; prof_dt[2].time = prof_dt[2].time + (end - start); VM_ERR_CHK; goto *JUMPTABLE[code[pc]]; CASE_LVAR: step(); start = clock(); if(ARG1 == 0) push_s(GET_ENV_VEC_ELT(env,ARG2)); else push_s(get_lvar(ARG1, ARG2)); pc = pc + 3; end = clock(); prof_dt[3].count++; prof_dt[3].time = prof_dt[3].time + (end - start); VM_ERR_CHK; goto *JUMPTABLE[code[pc]]; CASE_GVAR: step(); start = clock(); arg = ARG1; if(GET_CDR(arg) == 1) trace = 1; res = GET_CAR(arg); if(res == undef) exception("", UNBOUND_VARIABLE, arg); push_s(res); if(GET_CDR(arg) == 0 && IS_CLOSURE(arg)){ //トレースがとれなくなるのでトレース中はgrefは使わない。 code[pc] = 31; //(gref addr); code[pc+1] = res; } pc = pc + 2; end = clock(); prof_dt[4].count++; prof_dt[4].time = prof_dt[4].time + (end - start); VM_ERR_CHK; goto *JUMPTABLE[code[pc]]; CASE_LSET: step(); start = clock(); res = POP_S; set_lvar(ARG1,ARG2,res); push_s(res); pc = pc + 3; end = clock(); prof_dt[5].count++; prof_dt[5].time = prof_dt[5].time + (end - start); VM_ERR_CHK; goto *JUMPTABLE[code[pc]]; CASE_GSET: step(); start = clock(); x = POP_S; arg = ARG1; if(GET_CAR(arg) != undef) SET_CAR(arg,x); else exception("", UNBOUND_VARIABLE, arg); push_s(x); pc = pc + 2; end = clock(); prof_dt[6].count++; prof_dt[6].time = prof_dt[6].time + (end - start); VM_ERR_CHK; goto *JUMPTABLE[code[pc]]; CASE_POP: step(); start = clock(); pop_s(); pc = pc + 1; end = clock(); prof_dt[7].count++; prof_dt[7].time = prof_dt[7].time + (end - start); VM_ERR_CHK; goto *JUMPTABLE[code[pc]]; CASE_JUMP: step(); start = clock(); pc = pc + ARG1; end = clock(); prof_dt[8].count++; prof_dt[8].time = prof_dt[8].time + (end - start); VM_ERR_CHK; goto *JUMPTABLE[code[pc]]; CASE_TJUMP: step(); start = clock(); if(POP_S != BOOLF) pc = pc + ARG1; else pc = pc + 2; end = clock(); prof_dt[9].count++; prof_dt[9].time = prof_dt[9].time + (end - start); VM_ERR_CHK; goto *JUMPTABLE[code[pc]]; CASE_FJUMP: step(); start = clock(); if(POP_S == BOOLF) pc = pc + ARG1; else{ //pc = pc + 2; pc++; pc++; } end = clock(); prof_dt[10].count++; prof_dt[10].time = prof_dt[10].time + (end - start); VM_ERR_CHK; goto *JUMPTABLE[code[pc]]; CASE_RETURN: step(); start = clock(); if(level > 0){ level--; for(i=0; i<level; i++){ if(i >= 10){ printf("[%d]",level); break; } else if(i % 2 == 0) printf("|"); else printf(" "); } print(stack[sp-1]); printf("\n"); } pc = THIRD_STACK; env = SECOND_STACK; stack[sp-3] = stack[sp-1]; sp = sp - 2; end = clock(); prof_dt[11].count++; prof_dt[11].time = prof_dt[11].time + (end - start); VM_ERR_CHK; goto *JUMPTABLE[code[pc]]; CASE_ARGS: check_ctrl(); step(); start = clock(); m = ARG1; n = abs(m); new_env_i = env_i+1; if(n > env_j) new_env_j = n; else new_env_j = env_j; new_env = make_env(new_env_i,new_env_j); //コピー元の環境のアドレスを記憶する。 SET_ENV_ORG(new_env,env); //通常の引数の場合。 if(m >= 0){ for(j=n-1; j>=0; j--) SET_ENV_VEC_ELT(new_env, j ,pop_s()); } //余剰引数の場合。 else{ x = count_stack() - (n-1);//剰余引数の個数 //余剰引数をリストにまとめる。 arg = NIL; for(i=x; i>0; i--) arg = cons(POP_S,arg); SET_ENV_MAT_ELT(new_env, 0 , n-1, arg); n--; //余剰以外の引数を環境にセットする。 for(j=n-1; j>=0; j--) SET_ENV_VEC_ELT(new_env, j ,pop_s()); } env = new_env; env_i = new_env_i; env_j = new_env_j; pc = pc + 2; end = clock(); prof_dt[12].count++; prof_dt[12].time = prof_dt[12].time + (end - start); VM_ERR_CHK; goto *JUMPTABLE[code[pc]]; CASE_CALL: step(); check_ctrl(); n = ARG1; clo = POP_S; push_back_trace(clo, stack_to_list(n)); start = clock(); if(closurep(clo)){ if(trace == 1){ for(i=0; i<=level; i++){ if(i >= 10){ printf("[%d]", level); break; } else if(i % 2 == 0) printf("|"); else printf(" "); } printf("(%s", GET_NAME(clo)); for(i=n; i>0; i--){ printf(" "); print(stack[sp-i]); } printf(")\n"); level++; trace = 0; } m = GET_ARGS_CNT(clo); if(((m >=0 ) && m != n) || ( m < 0 && n < abs(m)-1)) exception(GET_NAME(clo),INCORRECT_ARG_CNT,NIL); //まだ展開されていない命令列の場合 if((x=GET_AUX(clo)) == -1){ clo_code = GET_CAR(clo); size = GET_CDR(clo_code); for(i=0; i<size; i++) code[i+tail] = GET_VEC_ELT(clo_code,i); head = tail; tail = tail+size; SET_AUX(clo,head); code_pointer[code_pointer_end][0] = clo; code_pointer[code_pointer_end][1] = head; code_pointer_end++; if(code_pointer_end > CLOSIZE) exception("call", CLOSURE_OVERF,NIL); insert_stack(env,pc+2,n); env = GET_CDR(clo); env_j = GET_AUX(env); env_i = GET_CDR(env); pc = head; } //既に展開されている命令列の場合。 else{ insert_stack(env,pc+2,n); env = GET_CDR(clo); env_j = GET_AUX(env); env_i = GET_CDR(env); pc = x; } } if(continuationp(clo)){ //継続から渡された引数 if(n == 0) arg = empty_set; else if (n == 1) arg = pop_s(); else{ arg = NIL; for(i=0; i<n; i++) arg = cons(pop_s(),arg); } contflag = 1; //メモリ展開情報のクリア for(i=0; i< code_pointer_end; i++){ SET_AUX(code_pointer[i][0], -1); } code_pointer_end = 0; //継続の保持する命令列を復元 cont_code = GET_CAR(clo); pc = GET_VEC_ELT(cont_code,0); //pcなどを復元 code_pointer_end = GET_VEC_ELT(cont_code,1); head = GET_VEC_ELT(cont_code,2); tail = GET_VEC_ELT(cont_code,3); j = 4; for(i=0; i<code_pointer_end; i++){ code_pointer[i][0] = GET_VEC_ELT(cont_code,j); //closure code_pointer[i][1] = GET_VEC_ELT(cont_code,j+1); //start address SET_AUX(code_pointer[i][0],code_pointer[i][1]); x = code_pointer[i][0]; clo_code = GET_CAR(x); size = GET_CDR(clo_code); y = code_pointer[i][1]; for(z=0; z<size; z++) code[z+y] = GET_VEC_ELT(clo_code,z); j = j + 2; } y = code_pointer[0][1]; for(i=0; i<y; i++){ code[i] = GET_VEC_ELT(cont_code,j); j++; } //継続の保持するスタックを復元 cont_stack = GET_CDR(clo); m = GET_CDR(cont_stack); for(i=0; i<m; i++) stack[i] = GET_VEC_ELT(cont_stack,i); sp = m; //継続に渡された引数をスタックトップへ if(n == 0 || n == 1) push_s(arg); else push_s(make_multiple_values(arg)); //継続の保持する環境を復元 env = car(GET_AUX(clo)); current_module = cadr(GET_AUX(clo)); } if(subrp(clo)){ pc = pc + 2; push_s(((GET_SUBR(clo))(n))); } end = clock(); prof_dt[13].count++; prof_dt[13].time = prof_dt[13].time + (end - start); VM_ERR_CHK; goto *JUMPTABLE[code[pc]]; CASE_CALLJ: step(); check_ctrl(); n = ARG1; clo = POP_S; push_back_trace(clo, stack_to_list(n)); start = clock(); if(trace == 1){ for(i=0; i<=level; i++){ if(i >= 10){ printf("[%d]", level); break; } else if(i % 2 == 0) printf("|"); else printf(" "); } printf("(%s", GET_NAME(clo)); for(i=n; i>0; i--){ printf(" "); print(stack[sp-i]); } printf(")\n"); trace = 0; } if((x=GET_AUX(clo)) == -1){ clo_code = GET_CAR(clo); size = GET_CDR(clo_code); for(i=0; i<size; i++) code[i+tail] = GET_VEC_ELT(clo_code,i); head = tail; tail = tail+size; SET_AUX(clo,head); code_pointer[code_pointer_end][0] = clo; code_pointer[code_pointer_end][1] = head; code_pointer_end++; if(code_pointer_end > CLOSIZE) exception("callj", CLOSURE_OVERF,NIL); env = GET_CDR(clo); env_j = GET_AUX(env); env_i = GET_CDR(env); pc = head; } else{ env = GET_CDR(clo); env_j = GET_AUX(env); env_i = GET_CDR(env); pc = x; } end = clock(); prof_dt[14].count++; prof_dt[14].time = prof_dt[14].time + (end - start); VM_ERR_CHK; goto *JUMPTABLE[code[pc]]; CASE_FN: step(); start = clock(); n = ARG1; arg = ARG2; res = make_clo(); if(IS_LIST(arg)) clo_code = list_to_code_obj(arg); else clo_code = arg; SET_CAR(res,clo_code); SET_CDR(res,env); SET_ARGS_CNT(res,n); push_s(res); pc = pc + 3; end = clock(); prof_dt[15].count++; prof_dt[15].time = prof_dt[15].time + (end - start); VM_ERR_CHK; goto *JUMPTABLE[code[pc]]; CASE_SAVE: step(); start = clock(); push_s(ARG1); push_s(env); pc = pc + 2; end = clock(); prof_dt[16].count++; prof_dt[16].time = prof_dt[16].time + (end - start); VM_ERR_CHK; goto *JUMPTABLE[code[pc]]; CASE_PRIM: check_ctrl(); step(); start = clock(); x = ARG1; if(symbolp(x)){ clo = car(x); if(clo == undef) exception("", UNBOUND_VARIABLE, x); } else clo = x; n = ARG2; push_back_trace(clo, stack_to_list(n)); pc = pc + 3; push_s(((GET_SUBR(clo))(n))); end = clock(); prof_dt[17].count++; prof_dt[17].time = prof_dt[17].time + (end - start); VM_ERR_CHK; goto *JUMPTABLE[code[pc]]; CASE_DEF: step(); start = clock(); arg = ARG1; if(closurep(TOP_STACK) || IS_HYGIENIC(TOP_STACK)){ clo = TOP_STACK; strcpy(str,GET_NAME(arg)); SET_NAME(clo,str); } SET_CAR(arg,pop_s()); push_s(arg); pc = pc + 2; end = clock(); prof_dt[18].count++; prof_dt[18].time = prof_dt[18].time + (end - start); VM_ERR_CHK; goto *JUMPTABLE[code[pc]]; CASE_DEFM: step(); start = clock(); arg = ARG1; clo = make_macro(); SET_CAR(clo,pop_s()); SET_CAR(arg,clo); strcpy(str,GET_NAME(arg)); SET_NAME(clo,str); push_s(arg); pc = pc + 2; end = clock(); prof_dt[19].count++; prof_dt[19].time = prof_dt[19].time + (end - start); VM_ERR_CHK; goto *JUMPTABLE[code[pc]]; CASE_DEFH: step(); start = clock(); clo = make_hygienic(); SET_CAR(clo,pop_s()); SET_CDR(clo,env); //vm-env push_s(clo); pc = pc + 1; end = clock(); prof_dt[20].count++; prof_dt[20].time = prof_dt[20].time + (end - start); VM_ERR_CHK; goto *JUMPTABLE[code[pc]]; CASE_NEQP: step(); start = clock(); y = pop_s(); x = pop_s(); if(IS_INTEGER(x) && IS_INTEGER(y)){ if(x == y) push_s(BOOLT); else push_s(BOOLF); } else{ if(numeqp(x,y)) push_s(BOOLT); else push_s(BOOLF); } pc = pc + 1; end = clock(); prof_dt[21].count++; prof_dt[21].time = prof_dt[21].time + (end - start); VM_ERR_CHK; goto *JUMPTABLE[code[pc]]; CASE_SMLP: step(); start = clock(); y = pop_s(); x = pop_s(); if(IS_INTEGER(x) && IS_INTEGER(y)){ if(x < y) push_s(BOOLT); else push_s(BOOLF); } else{ if(smallerp(x,y)) push_s(BOOLT); else push_s(BOOLF); } pc = pc + 1; end = clock(); prof_dt[22].count++; prof_dt[22].time = prof_dt[22].time + (end - start); VM_ERR_CHK; goto *JUMPTABLE[code[pc]]; CASE_ESMLP: step(); start = clock(); y = pop_s(); x = pop_s(); if(IS_INTEGER(x) && IS_INTEGER(y)){ if(x <= y) push_s(BOOLT); else push_s(BOOLF); } else{ if(eqsmallerp(x,y)) push_s(BOOLT); else push_s(BOOLF); } pc = pc + 1; end = clock(); prof_dt[23].count++; prof_dt[23].time = prof_dt[23].time + (end - start); VM_ERR_CHK; goto *JUMPTABLE[code[pc]]; CASE_GRTP: step(); start = clock(); y = pop_s(); x = pop_s(); if(IS_INTEGER(x) && IS_INTEGER(y)){ if(x > y) push_s(BOOLT); else push_s(BOOLF); } else{ if(greaterp(x,y)) push_s(BOOLT); else push_s(BOOLF); } pc = pc + 1; end = clock(); prof_dt[24].count++; prof_dt[24].time = prof_dt[24].time + (end - start); VM_ERR_CHK; goto *JUMPTABLE[code[pc]]; CASE_EGRTP: step(); start = clock(); y = pop_s(); x = pop_s(); if(IS_INTEGER(x) && IS_INTEGER(y)){ if(x >= y) push_s(BOOLT); else push_s(BOOLF); } else{ if(eqgreaterp(x,y)) push_s(BOOLT); else push_s(BOOLF); } pc = pc + 1; end = clock(); prof_dt[25].count++; prof_dt[25].time = prof_dt[25].time + (end - start); VM_ERR_CHK; goto *JUMPTABLE[code[pc]]; CASE_ZEROP: step(); start = clock(); x = pop_s(); if(IS_INTEGER(x)){ if(get_int(x) == 0) push_s(BOOLT); else push_s(BOOLF); } else{ if(zerop(x)) push_s(BOOLT); else push_s(BOOLF); } pc = pc + 1; end = clock(); prof_dt[26].count++; prof_dt[26].time = prof_dt[26].time + (end - start); VM_ERR_CHK; goto *JUMPTABLE[code[pc]]; CASE_ADD1: step(); start = clock(); arg = pop_s(); if(IS_INTEGER(arg)){ x = get_int(arg); x++; push_s(make_int(x)); } else{ if(!numberp(arg)) exception("add1",NOT_NUMBER,arg); push_s(plus(arg,make_int(1))); } pc = pc + 1; end = clock(); prof_dt[27].count++; prof_dt[27].time = prof_dt[27].time + (end - start); VM_ERR_CHK; goto *JUMPTABLE[code[pc]]; CASE_SUB1: step(); start = clock(); arg = pop_s(); if(IS_INTEGER(arg)){ x = get_int(arg); x--; push_s(make_int(x)); } else{ if(!numberp(arg)) exception("sub1",NOT_NUMBER,arg); push_s(minus(arg,make_int(1))); } pc = pc + 1; end = clock(); prof_dt[28].count++; prof_dt[28].time = prof_dt[28].time + (end - start); VM_ERR_CHK; goto *JUMPTABLE[code[pc]]; CASE_ADD2: step(); start = clock(); arg = pop_s(); if(IS_INTEGER(arg)){ x = get_int(arg); x = x+2; push_s(make_int(x)); } else{ if(!numberp(arg)) exception("add2",NOT_NUMBER,arg); push_s(plus(arg,make_int(2))); } pc = pc + 1; end = clock(); prof_dt[29].count++; prof_dt[29].time = prof_dt[29].time + (end - start); VM_ERR_CHK; goto *JUMPTABLE[code[pc]]; CASE_SUB2: step(); start = clock(); arg = pop_s(); if(IS_INTEGER(arg)){ x = get_int(arg); x = x-2; push_s(make_int(x)); } else{ if(!numberp(arg)) exception("add2",NOT_NUMBER,arg); push_s(minus(arg,make_int(2))); } pc = pc + 1; end = clock(); prof_dt[30].count++; prof_dt[30].time = prof_dt[30].time + (end - start); VM_ERR_CHK; goto *JUMPTABLE[code[pc]]; CASE_GREF: step(); start = clock(); push_s(ARG1); pc = pc + 2; end = clock(); prof_dt[31].count++; prof_dt[31].time = prof_dt[31].time + (end - start); VM_ERR_CHK; goto *JUMPTABLE[code[pc]]; CASE_CATCH: step(); start = clock(); cont_code = make_memory(); cont_stack = make_stack(); cont = make_cont(); SET_CAR(cont,cont_code); SET_CDR(cont,cont_stack); SET_AUX(cont,cons(env,cons(current_module,NIL))); push_s(cont); pc = pc + 1; end = clock(); prof_dt[32].count++; prof_dt[32].time = prof_dt[32].time + (end - start); VM_ERR_CHK; goto *JUMPTABLE[code[pc]]; CASE_PAUSE: step(); start = clock(); end = clock(); prof_dt[33].count++; prof_dt[33].time = prof_dt[33].time + (end - start); VM_ERR_CHK; return(TOP_STACK); CASE_CAR: step(); start = clock(); x = pop_s(); if(pairp(x)) push_s(GET_CAR(x)); else exception("car", NOT_PAIR, x); pc = pc + 1; end = clock(); prof_dt[34].count++; prof_dt[34].time = prof_dt[34].time + (end - start); VM_ERR_CHK; goto *JUMPTABLE[code[pc]]; CASE_CDR: step(); start = clock(); x = pop_s(); if(pairp(x)) push_s(GET_CDR(x)); else exception("cdr", NOT_PAIR, x); pc = pc + 1; end = clock(); prof_dt[35].count++; prof_dt[35].time = prof_dt[35].time + (end - start); VM_ERR_CHK; goto *JUMPTABLE[code[pc]]; CASE_CONS: step(); start = clock(); y = pop_s(); x = pop_s(); push_s(cons(x,y)); pc = pc + 1; end = clock(); prof_dt[36].count++; prof_dt[36].time = prof_dt[36].time + (end - start); VM_ERR_CHK; goto *JUMPTABLE[code[pc]]; CASE_ADAPT: step(); start = clock(); arg = pop_s(); if(GET_TAG(arg) == MUL){ m = GET_VEC_ELT(arg,0); for(i=1; i<=m; i++){ x = GET_VEC_ELT(arg,i); push_s(x); } } else if(arg == empty_set){ m = 0; } else{ m = 1; push_s(arg); } code[pc + 5] = m; pc = pc + 1; end = clock(); prof_dt[37].count++; prof_dt[37].time = prof_dt[37].time + (end - start); VM_ERR_CHK; goto *JUMPTABLE[code[pc]]; CASE_DEFLIB: step(); start = clock(); export_id = NIL; export_rename = NIL; x = ARG1; //name y = ARG2; //body for(i=0; i<module_table_end; i++) if(equalp(module_table[i][0],x)) goto deflib_exit; module_table[i][0] = x; module_table_end++; deflib_exit: current_module = i; y = remake(y); while(!nullp(y)){ current_module = 0; arg = cons(make_int(2), cons(car(y), cons(make_int(4), cons(make_sym("compile"), cons(make_int(13), cons(make_int(1), cons(make_int(4), cons(make_sym("assemble"), cons(make_int(13), cons(make_int(1), cons(make_int(1),NIL))))))))))); savepc = pc; savesp = sp; saveenv = env; list_to_code(arg); pc = head; m = vm1(); list_to_code(m); pc = head; current_module = i; vm1(); pc = savepc; sp = savesp; env = saveenv; y = cdr(y); } while(!nullp(export_rename)){ m = car(export_rename); n = car(m); o = car(cdr(m)); SET_CAR(o,GET_CAR(n)); export_id = cons(o,export_id); export_rename = cdr(export_rename); } module_table[i][1] = export_id; y = module_table[i][1]; while(!nullp(y)){ m = car(y); if(GET_CAR(m) == undef) exception("", UNBOUND_VARIABLE, m); y = cdr(y); } current_module = 0; pc = pc + 3; end = clock(); prof_dt[38].count++; prof_dt[38].time = prof_dt[38].time + (end - start); VM_ERR_CHK; goto *JUMPTABLE[code[pc]]; CASE_EXPLIB: step(); start = clock(); x = ARG1; //id-list while(!nullp(x)){ if(eqp(car(car(x)),make_sym("rename"))) export_rename = cons(cdr(car(x)),export_rename); else export_id = cons(car(x),export_id); x = cdr(x); } push_s(undef); pc = pc + 2; end = clock(); prof_dt[39].count++; prof_dt[39].time = prof_dt[39].time + (end - start); VM_ERR_CHK; goto *JUMPTABLE[code[pc]]; CASE_IMPLIB: step(); start = clock(); x = ARG1; //<name idintifier> while(!nullp(x)){ m = car(x); if(eqvp(car(m),make_sym("only"))){ o = cddr(m); //only symbols m = cadr(m); //module_name for(i=0; i<module_table_end; i++) if(equalp(module_table[i][0],m)) goto implib_only_exit; exception("", NOT_EXIST_LIB, m); implib_only_exit: y = module_table[i][1]; //export-list while(!nullp(y)){ n = car(y); if(memv(n,o) != BOOLF) SET_CAR(remake(n),GET_CAR(n)); y = cdr(y); } } else if(eqvp(car(m),make_sym("except"))){ o = cddr(m); //only symbols m = cadr(m); //module_name for(i=0; i<module_table_end; i++) if(equalp(module_table[i][0],m)) goto implib_except_exit; exception("", NOT_EXIST_LIB, m); implib_except_exit: y = module_table[i][1]; //export-list while(!nullp(y)){ n = car(y); if(memv(n,o) == BOOLF) SET_CAR(remake(n),GET_CAR(n)); y = cdr(y); } } else{ for(i=0; i<module_table_end; i++) if(equalp(module_table[i][0],m)) goto implib_else_exit; exception("", NOT_EXIST_LIB, m); implib_else_exit: y = module_table[i][1]; //export-list while(!nullp(y)){ n = car(y); SET_CAR(remake(n),GET_CAR(n)); y = cdr(y); } } x = cdr(x); } push_s(undef); pc = pc + 2; end = clock(); prof_dt[40].count++; prof_dt[40].time = prof_dt[40].time + (end - start); VM_ERR_CHK; goto *JUMPTABLE[code[pc]]; CASE_R1: CASE_R2: CASE_R3: CASE_R4: CASE_R5: CASE_R6: CASE_R7: CASE_R8: CASE_R9: CASE_R10: goto *JUMPTABLE[code[pc]]; } //-------------------------------------- void push_s(int x){ stack[sp] = x; sp++; if(sp > STACKSIZE) exception("",STACK_OVERF,NIL); } int pop_s(void){ sp--; return(stack[sp]); } void push_t(int x){ trail_stack[tsp] = x; tsp++; if(tsp > TRAILSIZE) exception("",TRAIL_OVERF,NIL); } int pop_t(void){ tsp--; return(trail_stack[tsp]); } void push_l(int x, int y){ local_stack[lsp].elt1 = x; local_stack[lsp].elt2 = y; lsp++; if(tsp > TRAILSIZE) exception("",TRAIL_OVERF,NIL); } int get_l1(int x){ return(local_stack[x].elt1); } int get_l2(int x){ return(local_stack[x].elt2); } void insert_stack(int env, int pc, int n){ int i,j; i = sp-1; for(j=n; j>0; j--){ stack[i+2] = stack[i]; i--; } stack[sp-n] = pc; stack[sp-n+1] = env; sp = sp + 2; } void list_to_code(int lis){ int addr,i; head = tail; addr = tail; while(!nullp(lis)){ i = get_int(car(lis)); switch(i){ case 1: code[addr] = i; break; case 2: code[addr] = i; addr++; lis = cdr(lis); code[addr] = car(lis); break; case 3: code[addr] = i; addr++; lis = cdr(lis); code[addr] = get_int(car(lis)); addr++; lis = cdr(lis); code[addr] = get_int(car(lis)); break; case 4: code[addr] = i; addr++; lis = cdr(lis); code[addr] = car(lis); break; case 5: code[addr] = i; addr++; lis = cdr(lis); code[addr] = get_int(car(lis)); addr++; code[addr] = get_int(car(lis)); break; case 6: code[addr] = i; addr++; lis = cdr(lis); code[addr] = car(lis); break; case 7: code[addr] = i; break; case 8: case 9: case 10:code[addr] = i; addr++; lis = cdr(lis); code[addr] = get_int(car(lis)); break; case 11:code[addr] = i; break; case 12:code[addr] = i; addr++; lis = cdr(lis); code[addr] = get_int(car(lis)); break; case 13: case 14:code[addr] = i; addr++; lis = cdr(lis); code[addr] = get_int(car(lis)); break; case 15:code[addr] = i; addr++; lis = cdr(lis); code[addr] = get_int(car(lis)); addr++; lis = cdr(lis); code[addr] = car(lis); break; case 16:code[addr] = i; addr++; lis = cdr(lis); code[addr] = get_int(car(lis)); break; case 17:code[addr] = i; addr++; lis = cdr(lis); if(symbolp(car(lis))) code[addr] = car(lis); else code[addr] = get_int(car(lis)); addr++; lis = cdr(lis); code[addr] = get_int(car(lis)); break; case 18: case 19:code[addr] = i; addr++; lis = cdr(lis); code[addr] = car(lis); break; case 20: case 21: case 22: case 23: case 24: case 25: case 26: case 27: case 28: case 29: case 30:code[addr] = i; break; case 31:code[addr] = i; addr++; lis = cdr(lis); code[addr] = car(lis); break; case 32:code[addr] = i; break; case 33:code[addr] = i; break; case 34: case 35: case 36:code[addr] = i; break; case 37:code[addr] = i; break; case 38:code[addr] = i; addr++; lis = cdr(lis); code[addr] = car(lis); addr++; lis = cdr(lis); code[addr] = car(lis); break; case 39: case 40:code[addr] = i; addr++; lis = cdr(lis); code[addr] = car(lis); break; } addr++; if(addr > CODESIZE) exception("",CODE_OVERF,NIL); lis = cdr(lis); } tail = addr; } int list_to_code_obj(int lis){ int i,x,code_obj; code_obj = make_code(length(lis)); i = 0; while(!nullp(lis)){ x = get_int(car(lis)); switch(x){ case 1: SET_VEC_ELT(code_obj,i,x); break; case 2: SET_VEC_ELT(code_obj,i,x); i++; lis = cdr(lis); SET_VEC_ELT(code_obj,i,car(lis)); break; case 3: SET_VEC_ELT(code_obj,i,x); i++; lis = cdr(lis); SET_VEC_ELT(code_obj,i,get_int(car(lis))); i++; lis = cdr(lis); SET_VEC_ELT(code_obj,i,get_int(car(lis))); break; case 4: SET_VEC_ELT(code_obj,i,x); i++; lis = cdr(lis); SET_VEC_ELT(code_obj,i,car(lis)); break; case 5: SET_VEC_ELT(code_obj,i,x); i++; lis = cdr(lis); SET_VEC_ELT(code_obj,i,get_int(car(lis))); i++; lis = cdr(lis); SET_VEC_ELT(code_obj,i,get_int(car(lis))); break; case 6: SET_VEC_ELT(code_obj,i,x); i++; lis = cdr(lis); SET_VEC_ELT(code_obj,i,car(lis)); break; case 7: SET_VEC_ELT(code_obj,i,x); break; case 8: case 9: case 10:SET_VEC_ELT(code_obj,i,x); i++; lis = cdr(lis); SET_VEC_ELT(code_obj,i,get_int(car(lis))); break; case 11:SET_VEC_ELT(code_obj,i,x); break; case 12:SET_VEC_ELT(code_obj,i,x); i++; lis = cdr(lis); SET_VEC_ELT(code_obj,i,get_int(car(lis))); break; case 13: case 14:SET_VEC_ELT(code_obj,i,x); i++; lis = cdr(lis); SET_VEC_ELT(code_obj,i,get_int(car(lis))); break; case 15:SET_VEC_ELT(code_obj,i,x); i++; lis = cdr(lis); SET_VEC_ELT(code_obj,i,get_int(car(lis))); i++; lis = cdr(lis); SET_VEC_ELT(code_obj,i,list_to_code_obj(car(lis))); break; case 16:SET_VEC_ELT(code_obj,i,x); i++; lis = cdr(lis); SET_VEC_ELT(code_obj,i,get_int(car(lis))); break; case 17:SET_VEC_ELT(code_obj,i,x); i++; lis = cdr(lis); if(symbolp(car(lis))) SET_VEC_ELT(code_obj,i,car(lis)); else SET_VEC_ELT(code_obj,i,get_int(car(lis))); i++; lis = cdr(lis); SET_VEC_ELT(code_obj,i,get_int(car(lis))); break; case 18: case 19:SET_VEC_ELT(code_obj,i,x); i++; lis = cdr(lis); SET_VEC_ELT(code_obj,i,car(lis)); break; case 20: case 21: case 22: case 23: case 24: case 25: case 26: case 27: case 28: case 29: case 30:SET_VEC_ELT(code_obj,i,x); break; case 31:SET_VEC_ELT(code_obj,i,x); i++; lis = cdr(lis); SET_VEC_ELT(code_obj,i,car(lis)); break; case 32:SET_VEC_ELT(code_obj,i,x); break; case 33:SET_VEC_ELT(code_obj,i,x); break; case 34: case 35: case 36:SET_VEC_ELT(code_obj,i,x); break; case 37:SET_VEC_ELT(code_obj,i,x); break; case 38:SET_VEC_ELT(code_obj,i,x); i++; lis = cdr(lis); SET_VEC_ELT(code_obj,i,car(lis)); i++; lis = cdr(lis); SET_VEC_ELT(code_obj,i,car(lis)); break; case 39: case 40:SET_VEC_ELT(code_obj,i,x); i++; lis = cdr(lis); SET_VEC_ELT(code_obj,i,car(lis)); break; } i++; lis = cdr(lis); } return(code_obj); } int count_stack(void){ int i,count; i = sp -1; count = 0; while(i > 0 && (GET_TAG(stack[i]) != ENV)){ i--; count++; } return(count); } int find_code_pointer(int addr){ int i; for(i=0; i<code_pointer_end; i++) if(code_pointer[i][0] == addr) return(code_pointer[i][1]); return(-1); } void step(void){ int i,j,size_n,size_m,addr; char c; if(stepflag == 0) return; printf("pc: %d \n" ,pc); addr = pc; for(i=0; i<3; i++){ printf("code[%d] ",addr); addr = disasm(addr); } printf("sp: %d \n", sp); for(i=0; i<sp; i++){ printf("stack[%d] ", i); if(GET_TAG(stack[i+1]) == ENV && (i+1<sp)) printf("%d", stack[i]); //戻りアドレスの場合 else print(stack[i]); printf("\n"); } printf("env: \n"); size_n = GET_AUX(env); size_m = GET_CDR(env); for(i=0; i<size_m ; i++){ for(j=0; j<size_n; j++){ printf("["); print(GET_ENV_MAT_ELT(env,i,j)); printf("]"); } printf("\n"); } printf("> "); fflush(stdout); fflush(stdin); c = getc(stdin); if(c == 'q' || c == 'Q'){ stepflag = 0; longjmp(toplevel,1); } if(c == 'c'){ for(i=0; i<=50; i++) printf("[%d]", code[i]); printf("\n"); } } int disasm(int addr){ int op; op = code[addr]; switch(op){ case 0: printf("nop\n"); break; case 1: printf("halt\n"); break; case 2: printf("const "); print(code[addr+1]); printf("\n"); addr++; break; case 3: printf("lvar %d %d\n", code[addr+1], code[addr+2]); addr = addr + 2; break; case 4: printf("gvar "); print(code[addr+1]); printf("\n"); break; case 5: printf("lset %d %d\n", code[addr+1], code[addr+2]); addr = addr + 2; break; case 6: printf("gset\n"); print(code[addr+1]); printf("\n"); break; case 7: printf("pop\n"); break; case 8: printf("jump %d\n", code[addr+1]); addr++; break; case 9: printf("tump %d\n", code[addr+1]); addr++; break; case 10:printf("fump %d\n", code[addr+1]); addr++; break; case 11:printf("return\n"); break; case 12:printf("args %d\n", code[addr+1]); addr++; break; case 13:printf("call %d\n", code[addr+1]); addr++; break; case 14:printf("callj %d\n", code[addr+1]); addr++; break; case 15:printf("fn %d <code>\n", code[addr+1]); addr = addr + 2; break; case 16:printf("save %d", code[addr+1]); break; case 17:printf("prim "); print(code[addr+1]); printf(" "); printf("%d\n", code[addr+2]); addr = addr + 2; break; case 18:printf("def "); print(code[addr+1]); printf("\n"); break; case 19:printf("defm "); print(code[addr+1]); printf("\n"); break; case 20:printf("defh\n"); break; case 21:printf("neqp\n"); break; case 22:printf("smlp\n"); break; case 23:printf("esmlp\n"); break; case 24:printf("grtp\n"); break; case 25:printf("egrtp\n"); break; case 26:printf("zerop\n"); break; case 27:printf("add1\n"); break; case 28:printf("sub1\n"); break; case 29:printf("add2\n"); break; case 30:printf("sub2\n"); break; case 31:printf("gref "); print(code[addr+1]); printf("\n"); addr++; break; case 32:printf("catch\n"); break; case 33:printf("pause\n"); break; case 34:printf("car\n"); break; case 35:printf("cdr\n"); break; case 36:printf("cons\n"); break; case 37:printf("adapt\n"); break; case 38:printf("deflib "); print(code[addr+1]); printf(" "); print(code[addr+2]); printf("\n"); addr = addr + 2; break; case 39:printf("explib "); print(code[addr+1]); printf("\n"); addr++; break; case 40:printf("implib "); print(code[addr+1]); printf("\n"); addr++; break; } addr++; return(addr); } int stack_to_list(int n){ int res,i; res = NIL; for(i=0; i<n; i++){ res = cons(stack[sp-1-i],res); } return(res); } void push_back_trace(int proc, int args){ int i; if(back_trace_end < TRACE_DEPTH){ back_trace[back_trace_end][0] = proc; back_trace[back_trace_end][1] = args; back_trace_end++; } else{ for(i=0; i<TRACE_DEPTH-1; i++){ back_trace[i][0] = back_trace[i+1][0]; back_trace[i][1] = back_trace[i+1][1]; } back_trace[i][0] = proc; back_trace[i][1] = args; } } //-------read()-------- int read(void){ char *e; double r,s,x,y; int tag,res; gettoken(); tag = (int)stok.type; switch(tag){ case FILEEND: return(end_of_file); case INTEGER: if(stok.exact == YES) return(make_int(atoi(stok.buf))); else return(exact_to_inexact(make_int(atoi(stok.buf)))); case BIGNUM: if(stok.exact == YES) return(make_big(stok.buf)); else return(make_flt(bignumtofloat(make_big(stok.buf)))); case BINARY: return(make_int((int)strtol(stok.buf,&e,2))); case OCTAL: return(make_int((int)strtol(stok.buf,&e,8))); case DECNUM: return(make_int((int)strtol(stok.buf,&e,10))); case HEXNUM: return(make_int((int)strtol(stok.buf,&e,16))); case EXPTNUM: return(make_flt(atof(stok.buf))); case FLOAT_N: if(stok.exact == NO) return(make_flt(atof(stok.buf))); else return(inexact_to_exact(make_flt(atof(stok.buf)))); case RATIONAL: if(stok.exact == YES) return(make_rat(atoi(stok.before),atoi(stok.after))); else return(exact_to_inexact(make_rat(atoi(stok.before),atoi(stok.after)))); case COMPLEX: if(stok.ctype == RECTANGLER){ x = BOOLF; y = BOOLF; if(strcmp(stok.before,"+inf.0") ==0) x = PINF; if(strcmp(stok.before,"-inf.0") ==0) x = MINF; if(strcmp(stok.before,"+nan.0") ==0) x = PNAN; if(strcmp(stok.before,"-nan.0") ==0) x = MNAN; if(strcmp(stok.after,"+inf.0") ==0) y = PINF; if(strcmp(stok.after,"-inf.0") ==0) y = MINF; if(strcmp(stok.after,"+nan.0") ==0) y = PNAN; if(strcmp(stok.after,"-nan.0") ==0) y = MNAN; if(x == BOOLF) x = make_flt(atof(stok.before)); if(y == BOOLF) y = make_flt(atof(stok.after)); return(make_comp1(x,y)); } //POLAR else{ r = atof(stok.before); s = atof(stok.after); x = r * cos(s); y = r * sin(s); return(make_comp(x,y)); } case SYMBOL: return(make_sym(stok.buf)); case SBOOL: return(returnbool(stok.buf)); case INFINITY_NUMBER: return(returninf(stok.buf)); case NOT_A_NUMBER: return(returnnan(stok.buf)); case STRING: res = make_str(stok.buf); SET_AUX(res,1); //immutable object return(res); case CHARACTER: return(make_char(stok.buf)); case QUOTE: return(cons(quote, cons(read(),NIL))); case QUASIQUOTE:return(cons(quasiquote,cons(read(),NIL))); case UNQUOTE: {gettoken(); switch(stok.type){ case SPLICING: return(cons(unquote_splicing,cons(read(),NIL))); default: {stok.flag = BACK; return(cons(unquote,cons(read(),NIL)));} }} case LPAREN: return(readlist()); case VECTOR: res = vector(readlist()); SET_AUX(res,1); //immutable objext return(res); case U8VECTOR: res= u8vector(readlist()); SET_AUX(res,1); //immutable objext return(res); case RPAREN: exception("",EXTRA_PAREN, NIL); } exception("",CANT_READ,make_str(stok.buf)); return(undef); } int readlist(void){ int car_elt,cdr_elt; gettoken(); if(stok.type == RPAREN) return(NIL); else if(stok.type == DOT){ cdr_elt = read(); if(atomp(cdr_elt) || (pairp(cdr_elt) && eqp(car(cdr_elt),unquote)) || (pairp(cdr_elt) && eqp(car(cdr_elt),unquote_splicing))) gettoken(); return(cdr_elt); } else{ stok.flag = BACK; car_elt = read(); cdr_elt = readlist(); return(cons(car_elt,cdr_elt)); } } int issymch(char c){ switch(c){ case '!': case '?': case '+': case '-': case '*': case '/': case '=': case '<': case '>': case '_': case '.': case ':': case '#': case '$': case '@': case '%': case '&': case '~': case '^': return(1); default: return(0); } } void gettoken(void){ char c, directive[20]; int pos,i; if(stok.flag == BACK){ stok.flag = GO; return; } if(stok.ch == ')'){ stok.type = RPAREN; stok.ch = NUL; return; } if(stok.ch == '('){ stok.type = LPAREN; stok.ch = NUL; return; } if(caseflag) c = tolower(getc(input_port)); else c = getc(input_port); skip: //スペース等のスキップ while((c == SPACE) || (c == EOL) || (c == TAB)) c = getc(input_port); //コメント行のスキップ //コメント行の行末にEOFがあった場合にはFILEENDを返す。 if(c == ';'){ while(!(c == EOL)){ c = getc(input_port); if(c == EOF){ stok.type = FILEEND; return; } } goto skip; } //ファイルの終端ならFILEENDを返す。 if(c == EOF){ stok.type = FILEEND; return; } switch(c){ case '(': stok.type = LPAREN; break; case ')': stok.type = RPAREN; break; case '\'': stok.type = QUOTE; break; case '`': stok.type = QUASIQUOTE; break; case ',': stok.type = UNQUOTE; break; case '@': stok.type = SPLICING; break; case '.': {c = getc(input_port); //後ろが空白のdotはdot-pairと解釈 if(c == SPACE){ stok.type = DOT; break; } //それ以外はシンボルと解釈 else{ stok.buf[0] = '.'; stok.buf[1] = c; pos = 2; goto dot_exception; } } case '"': {c = getc(input_port); pos = 0; while(c != '"'){ switch(c){ case EOL: stok.buf[pos++] = '\\'; stok.buf[pos++] = 'n'; break; case RET: stok.buf[pos++] = '\\'; stok.buf[pos++] = 'r'; break; case TAB: stok.buf[pos++] = '\\'; stok.buf[pos++] = 't'; break; case '\\': stok.buf[pos++] = c; c = getc(input_port); stok.buf[pos++] = c; break; default: stok.buf[pos++] = c; } c = getc(input_port); } stok.buf[pos] = NUL; stok.type = STRING; break; } case '#': {c = getc(input_port); if(c == '(' ){ stok.type = VECTOR; break; } if(c == 'u'){ c = getc(input_port); if(c == '8'){ c = getc(input_port); if(c == '('){ stok.type = U8VECTOR; break; } else{ ungetc(c, input_port); c = '8'; ungetc(c, input_port); c = 'u'; } } else{ ungetc(c, input_port); c = 'u'; } } if(c == '\\'){ pos = 0; c = getc(input_port); stok.buf[pos++] = c; while(((c=getc(input_port)) != EOL) && (pos < BUFSIZE) && (c != SPACE) && (c != '(') && (c != ')')) stok.buf[pos++] = c; stok.buf[pos] = NUL; stok.type = CHARACTER; stok.ch = c; break; } if(c == '|'){ reskip: c = getc(input_port); while(c != '|'){ c = getc(input_port); } c = getc(input_port); if(c == '#'){ c = getc(input_port); goto skip; } else goto reskip; } if(c == '!'){ i = 0; c = getc(input_port); while((c != SPACE) && (c != EOL) && (c != TAB) && (c != EOF)){ directive[i] = c; i++; c = getc(input_port); } directive[i] = NUL; if(strcmp(directive,"fold-case") == 0) caseflag = 1; else if(strcmp(directive,"no-fold-case") == 0) caseflag = 0; c = getc(input_port); goto skip; } ungetc(c, input_port); c = '#'; } default: { pos = 0; stok.buf[pos++] = c; dot_exception: while(((c=getc(input_port)) != EOL) && (pos < BUFSIZE) && (c != SPACE) && (c != '(') && (c != ')')){ if(caseflag) stok.buf[pos++] = tolower(c); else stok.buf[pos++] = c; } stok.buf[pos] = NUL; stok.ch = c; if(inftoken(stok.buf)){ stok.type = INFINITY_NUMBER; break; } if(nantoken(stok.buf)){ stok.type = NOT_A_NUMBER; break; } //先に複素数の判定をしないと-1-2iのようなケースでシンボルになってしまう。 if(comptoken(stok.buf)){ stok.type = COMPLEX; stok.ctype = RECTANGLER; break; } if(polar_comptoken(stok.buf)){ stok.type = COMPLEX; stok.ctype = POLAR; break; } //先にbignumの判定をする。inttoken()は桁数の判定をしていない。 if(bignumtoken(stok.buf)){ stok.type = BIGNUM; break; } if(exact_bignumtoken(stok.buf)){ stok.type = BIGNUM; stok.exact = YES; break; } if(inexact_bignumtoken(stok.buf)){ stok.type = BIGNUM; stok.exact = NO; break; } if(inttoken(stok.buf)){ stok.type = INTEGER; stok.exact = YES; break; } if(exact_inttoken(stok.buf)){ stok.type = INTEGER; stok.exact = YES; break; } if(inexact_inttoken(stok.buf)){ stok.type = INTEGER; stok.exact = NO; break; } if(flttoken(stok.buf)){ stok.type = FLOAT_N; stok.exact = NO; break; } if(exact_flttoken(stok.buf)){ stok.type = FLOAT_N; stok.exact = YES; break; } if(inexact_flttoken(stok.buf)){ stok.type = FLOAT_N; stok.exact = NO; break; } if(rattoken(stok.buf)){ stok.type = RATIONAL; stok.exact = YES; break; } if(exact_rattoken(stok.buf)){ stok.type = RATIONAL; stok.exact = YES; break; } if(inexact_rattoken(stok.buf)){ stok.type = RATIONAL; stok.exact = NO; break; } if(bintoken(stok.buf)){ stok.type = BINARY; break; } if(octtoken(stok.buf)){ stok.type = OCTAL; break; } if(dectoken(stok.buf)){ stok.type = DECNUM; break; } if(hextoken(stok.buf)){ stok.type = HEXNUM; break; } if(expttoken(stok.buf)){ stok.type = EXPTNUM; break; } if(booltoken(stok.buf)){ stok.type = SBOOL; break; } if(symtoken(stok.buf)){ stok.type = SYMBOL; break; } stok.type = OTHER; } } } septoken separater(char buf[], char sep){ int i,j; char c; septoken res; res.sepch = NUL; res.before[0] = buf[0]; i = 1; j = 1; while((c=buf[i]) != NUL) if(c == sep){ res.before[j] = NUL; res.sepch = sep; i++; j = 0; while((c=buf[i]) != NUL){ res.after[j] = c; i++;j++; } res.after[j] = NUL; } else{ res.before[j] = c; i++; j++; } return(res); } void insertstr(char ch, char buf[]){ int i; i = laststr(buf)+1; while(i >= 0){ buf[i+1] = buf[i]; i--; } buf[0] = ch; } int laststr(char buf[]){ int i; i = 0; while(buf[i] != NUL) i++; return(i-1); } //文字の#\a -> a  #\を取り除く void dropchar(char buf[]){ int i,j; j = laststr(buf); for(i=2; i<=j; i++) buf[i-2] = buf[i]; buf[i-2] = NUL; } //符号あり整数 桁数は判定していない。 int inttoken(char buf[]){ int i; char c; if(((buf[0] == '+') || (buf[0] == '-'))){ if(buf[1] == NUL) return(0); // case {+,-} => symbol i = 1; while((c=buf[i]) != NUL) if(isdigit(c)) i++; // case {+123..., -123...} else return(0); } else { i = 0; // {1234...} while((c=buf[i]) != NUL) if(isdigit(c)) i++; else return(0); } return(1); } // 正確な整数 int exact_inttoken(char buf[]){ char buf1[BUFSIZE]; if(buf[0] == '#' && buf[1] == 'e'){ strcpy(buf1,buf); dropchar(buf1); if(inttoken(buf1)){ dropchar(buf); return(1); } else return(0); } else return(0); } // 非正確な整数 int inexact_inttoken(char buf[]){ char buf1[BUFSIZE]; if(buf[0] == '#' && buf[1] == 'i'){ strcpy(buf1,buf); dropchar(buf1); if(inttoken(buf1)){ dropchar(buf); return(1); } else return(0); } else return(0); } //符号なし整数 int inttoken_nsgn(char buf[]){ int i; char c; i = 0; while((c=buf[i]) != NUL) if(isdigit(c)) i++; else return(0); return(1); } //bignum //符号を含めないで9ケタ int bignumtoken(char buf[]){ int i; char c; if(((buf[0] == '+') || (buf[0] == '-'))){ if(buf[1] == NUL) return(0); // case {+,-} => symbol i = 1; while((c=buf[i]) != NUL) if(isdigit(c)) i++; // case {+123..., -123...} else return(0); if(strlen(buf) <= 10) return(0); //case not bignum } else { i = 0; // {1234...} while((c=buf[i]) != NUL) if(isdigit(c)) i++; else return(0); if(strlen(buf) <= 9) return(0); //case not bignum } return(1); //bignum } // 正確な巨大整数 int exact_bignumtoken(char buf[]){ char buf1[BUFSIZE]; if(buf[0] == '#' && buf[1] == 'e'){ strcpy(buf1,buf); dropchar(buf1); if(bignumtoken(buf1)){ dropchar(buf); return(1); } else return(0); } else return(0); } // 非正確な巨大整数 int inexact_bignumtoken(char buf[]){ char buf1[BUFSIZE]; if(buf[0] == '#' && buf[1] == 'i'){ strcpy(buf1,buf); dropchar(buf1); if(bignumtoken(buf1)){ dropchar(buf); return(1); } else return(0); } else return(0); } int rattoken(char buf[]){ septoken tok; tok = separater(buf, '/'); if(tok.sepch == NUL) return(0); if(inttoken(tok.before) && inttoken_nsgn(tok.after)){ strcpy(stok.before, tok.before); strcpy(stok.after, tok.after); return(1); } else return(0); } int exact_rattoken(char buf[]){ char buf1[BUFSIZE]; if(buf[0] == '#' && buf[1] == 'e'){ strcpy(buf1,buf); dropchar(buf1); if(rattoken(buf1)){ dropchar(buf); return(1); } else return(0); } else return(0); } int inexact_rattoken(char buf[]){ char buf1[BUFSIZE]; if(buf[0] == '#' && buf[1] == 'i'){ strcpy(buf1,buf); dropchar(buf1); if(rattoken(buf1)){ dropchar(buf); return(1); } else return(0); } else return(0); } int bintoken(char buf[]){ int i; char c; if(!(buf[0] == '#' && (buf[1] == 'b' || buf[1] == 'B'))) return(0); i = 2; while((c=buf[i]) != NUL) if(c == '0' || c == '1') i++; else return(0); dropchar(buf); return(1); } int flttoken(char buf[]){ septoken tok; char bufcp[SYMSIZE]; if(buf[0] == '.'){ strcpy(bufcp,buf); insertstr('0',bufcp); if(flttoken(bufcp)) return(1); } tok = separater(buf, '.'); if(tok.sepch == NUL) return(0); if(inttoken(tok.before) && inttoken_nsgn(tok.after)) return(1); else if((strcmp(tok.before,"-") == 0) && inttoken_nsgn(tok.after)) return(1); else return(0); } int exact_flttoken(char buf[]){ char buf1[BUFSIZE]; if(buf[0] == '#' && buf[1] == 'e'){ strcpy(buf1,buf); dropchar(buf1); if(flttoken(buf1)){ dropchar(buf); return(1); } else return(0); } else return(0); } int inexact_flttoken(char buf[]){ char buf1[BUFSIZE]; if(buf[0] == '#' && buf[1] == 'i'){ strcpy(buf1,buf); dropchar(buf1); if(flttoken(buf1)){ dropchar(buf); return(1); } else return(0); } else return(0); } int comptoken(char buf[]){ septoken tok; int lastindex; lastindex = laststr(buf); if(buf[lastindex] != 'i') return(0); // +i -> 0+1i if(buf[0] == '+' && buf[1] == 'i' && buf[2] == NUL){ strcpy(stok.before,"0"); strcpy(stok.after,"1"); return(1); } // -i -> 0-1i if(buf[0] == '-' && buf[1] == 'i' && buf[2] == NUL){ strcpy(stok.before,"0"); strcpy(stok.after,"-1"); return(1); } buf[lastindex] = NUL; // 虚数単位のiを削除する。 tok = separater(buf, '+'); if(tok.sepch == NUL) goto minus; insertstr('+', tok.after); //1+iのような場合 if((inttoken(tok.before) || flttoken(tok.before)) && tok.after[1] == NUL){ strcpy(stok.before, tok.before); stok.after[0] = '1'; stok.after[1] = NUL; return(1); } //n+inf.0 , inf.0+n , n+nan.0 , nan.0+n などの場合 if(((inttoken(tok.before) || flttoken(tok.before)) && (inftoken(tok.after) || nantoken(tok.after))) || ((inftoken(tok.before) || nantoken(tok.before)) && (inttoken(tok.after) || flttoken(tok.after))) || ((inftoken(tok.before) || nantoken(tok.before)) && (inftoken(tok.after) || nantoken(tok.after)))){ strcpy(stok.before, tok.before); strcpy(stok.after, tok.after); return(1); } //通常のn+miの場合 if((inttoken(tok.before) || flttoken(tok.before)) && (inttoken(tok.after) || flttoken(tok.after))){ strcpy(stok.before, tok.before); strcpy(stok.after, tok.after); return(1); } minus: //例 1-2i tok = separater(buf, '-'); if(tok.sepch == NUL) goto failexit; insertstr('-', tok.after); //1-iのような場合 if((inttoken(tok.before) || flttoken(tok.before)) && tok.after[1] == NUL){ strcpy(stok.before, tok.before); stok.after[0] = '-'; stok.after[1] = '1'; stok.after[2] = NUL; return(1); } //n-inf.0 , inf.0-n , n-nan.0 , nan.0-n などの場合 if(((inttoken(tok.before) || flttoken(tok.before)) && (inftoken(tok.after) || nantoken(tok.after))) || ((inftoken(tok.before) || nantoken(tok.before)) && (inttoken(tok.after) || flttoken(tok.after))) || ((inftoken(tok.before) || nantoken(tok.before)) && (inftoken(tok.after) || nantoken(tok.after)))){ strcpy(stok.before, tok.before); strcpy(stok.after, tok.after); return(1); } //通常のn-miの場合 if((inttoken(tok.before) || flttoken(tok.before)) && (inttoken(tok.after) || flttoken(tok.after))){ strcpy(stok.before, tok.before); strcpy(stok.after, tok.after); return(1); } else goto failexit; failexit: //複素数ではない場合 buf[lastindex] = 'i'; //削除したiを復元 return(0); } int polar_comptoken(char buf[]){ septoken tok; tok = separater(buf, '@'); if(tok.sepch == NUL) return(0); if((inttoken(tok.before) || flttoken(tok.before)) && (inttoken(tok.after) || flttoken(tok.after))){ strcpy(stok.before, tok.before); strcpy(stok.after, tok.after); return(1); } return(0); } int octtoken(char buf[]){ int i; char c; if(!(buf[0] == '#' && (buf[1] == 'o' || buf[1] == 'O'))) return(0); i = 2; while((c=buf[i]) != NUL) if(c == '0' || c == '1' || c == '2' || c == '3' || c == '4' || c == '5' || c == '6' || c == '7') i++; else return(0); dropchar(buf); return(1); } int dectoken(char buf[]){ int i; char c; if(!(buf[0] == '#' && (buf[1] == 'd' || buf[1] == 'D'))) return(0); i = 2; while((c=buf[i]) != NUL) if(isdigit(c)) i++; else return(0); dropchar(buf); return(1); } int hextoken(char buf[]){ int i; char c; if(!(buf[0] == '#' && (buf[1] == 'x' || buf[1] == 'X'))) return(0); i = 2; while((c=buf[i]) != NUL) if(isdigit(c) || c == 'A' || c == 'B' || c == 'C' || c == 'D' || c == 'E' || c == 'F' || c == 'a' || c == 'b' || c == 'c' || c == 'd' || c == 'e' || c == 'f') i++; else return(0); dropchar(buf); return(1); } int expttoken(char buf[]){ septoken tok; tok = separater(buf, 'e'); if(tok.sepch == NUL) return(0); if((inttoken(tok.before) || flttoken(tok.before)) && inttoken(tok.after)){ return(1); } else return(0); } int symtoken(char buf[]){ int i; char c; //printf("%s\n", buf); i = 0; while((c=buf[i]) != NUL) if((isalpha(c)) || (isdigit(c)) || (issymch(c))) i++; else return(0); return(1); } int booltoken(char buf[]){ if(strcmp(buf,"#t") == 0) return(1); if(strcmp(buf,"#T") == 0) return(1); if(strcmp(buf,"#true") == 0) return(1); if(strcmp(buf,"#f") == 0) return(1); if(strcmp(buf,"#F") == 0) return(1); if(strcmp(buf,"#false") == 0) return(1); return(0); } int inftoken(char buf[]){ if(strcmp(buf,"+inf.0") == 0) return(1); else if(strcmp(buf,"-inf.0") == 0) return(1); else return(0); } int nantoken(char buf[]){ if(strcmp(buf,"+nan.0") == 0) return(1); else if(strcmp(buf,"-nan.0") == 0) return(1); else return(0); } int charcmp(char buf[], char cmp[]){ int i; i = 2; while(buf[i] != NUL){ if(buf[i] == cmp[i-2]) i++; else return(0); } if(cmp[i-2] == NUL) return(1); else return(0); } //-----print------------------ void print(int x){ char c; int tag,i,j,m,n; tag = (int)GET_TAG(x); switch(tag){ case EMP: fprintf(output_port, "EMP"); break; case BIGBANG: fprintf(output_port, "()"); break; case EMPSET:fprintf(output_port, "#<empty-set>"); break; case INTN: fprintf(output_port, "%d", GET_INT(x)); break; case BIG: printbig(x); break; case FLTN: printflt(GET_FLT(x)); break; case RAT: fprintf(output_port, "%d", GET_CAR(x)); fprintf(output_port, "/"); fprintf(output_port, "%d", GET_CDR(x)); break; case COMP: if(floatp(GET_CAR(x))) printflt(GET_REAL_FLT(x)); else print(GET_CAR(x)); if(floatp(GET_CDR(x))){ if(GET_IMAG_FLT(x) >= 0) fprintf(output_port, "+"); printflt(GET_IMAG_FLT(x)); } else print(GET_CDR(x)); fprintf(output_port, "i"); break; case SYM: if(x == undef) fprintf(output_port, "#<undef>"); else if(inttoken(GET_NAME(x)) || flttoken(GET_NAME(x)) || rattoken(GET_NAME(x)) || comptoken(GET_NAME(x))) fprintf(output_port, "|%s|",GET_NAME(x)); else fprintf(output_port, "%s", GET_NAME(x)); break; case BOL: fprintf(output_port, "%s", GET_NAME(x)); break; case INF: fprintf(output_port, "%s", GET_NAME(x)); break; case NANN: fprintf(output_port, "%s", GET_NAME(x)); break; case STR: fprintf(output_port, "\""); fprintf(output_port, "%s", GET_NAME(x)); fprintf(output_port, "\""); break; case CHR: fprintf(output_port, "%c%c", '#', '\\'); c = GET_CHAR(x); if(c == SPACE) fprintf(output_port, "space"); else if(c == RET) fprintf(output_port, "\r"); else if(c == EOL) fprintf(output_port, "\n"); else if(c == TAB) fprintf(output_port, "\t"); else fprintf(output_port, "%c", GET_CHAR(x)) ; break; case SUBR: fprintf(output_port, "#<subr %s>", GET_NAME(x)); break; case SYNT: fprintf(output_port, "#<syntax %s>", GET_NAME(x)); break; case CLOS: fprintf(output_port, "#<closure %s>", GET_NAME(x)); break; case HCONT: fprintf(output_port, "#<continuation>"); break; case MAC: fprintf(output_port, "#<macro %s>", GET_NAME(x)); break; case HYG: fprintf(output_port, "#<hygienic %s>", GET_NAME(x)); break; case LIS: if(eqp(car(x),quote)){ fprintf(output_port, "'"); print(cadr(x)); break; } if(eqp(car(x),quasiquote)){ fprintf(output_port, "`"); print(cadr(x)); break; } if(eqp(car(x),unquote)){ fprintf(output_port, ","); print(cadr(x)); break; } if(eqp(car(x),unquote_splicing)){ fprintf(output_port, ",@"); print(cadr(x)); break; } else{ printlist(x); break; } case VEC: printvec(x); break; case U8VEC: print_u8vec(x); break; case REC: print_record(x); break; case MUL: n = GET_VEC_ELT(x,0); for(i=1; i<n; i++){ print(GET_VEC_ELT(x,i)); fprintf(output_port, "\n"); } print(GET_VEC_ELT(x,i)); break; case PRT: fprintf(output_port, "#<port>"); break; case EOFO: fprintf(output_port, "#<eof>"); break; case IDNT: fprintf(output_port, "#<id %s,", GET_NAME(x)); print(GET_AUX(x)); if(GET_CAR(x) == 1) fprintf(output_port, ",variable"); if(GET_CAR(x) == 2) fprintf(output_port, ",ellipsis"); fprintf(output_port, ">"); break; case SYNCLO: fprintf(output_port, "#<synclo "); print(GET_CAR(x)); fprintf(output_port, ">"); break; case ENV: fprintf(output_port, "<env>\n"); m = GET_CDR(x); n = GET_AUX(x); for(i=0; i<m; i++){ for(j=0; j<n; j++){ printf("["); print(GET_ENV_VEC_ELT(x,j)); printf("]"); } printf("\n"); x = GET_ENV_ORG(x); } break; case CODE: fprintf(output_port, "<code>"); n = GET_CDR(x); for(i=0; i<n; i++){ printf("[%d]", GET_VEC_ELT(x,i)); } printf("\n"); break; case STACK: fprintf(output_port, "<stack>"); break; } } //浮動小数点数で整数の場合に桁数を調整して表示 void printflt(double x){ if(x - ceil(x) != 0) fprintf(output_port, "%0.16g", x); else fprintf(output_port, "%0.1f", x); } void printbig(int x){ int y; y = reverse(x); fprintf(output_port, "%d",GET_INT(car(y))); y = cdr(y); while(!nullp(y)){ fprintf(output_port, "%09d",abs(GET_INT(car(y)))); y = cdr(y); } } void printlist1(int x){ while(!nullp(x)){ if((!(pairp(cdr(x)))) && (! (nullp(cdr(x))))){ print(car(x)); fprintf(output_port, " . "); print(cdr(x)); fprintf(output_port, ")"); return; } else { print(GET_CAR(x)); if(! (IS_NIL(GET_CDR(x)))) fprintf(output_port, " "); x = GET_CDR(x); } } fprintf(output_port, ")"); } void printlist(int x){ fprintf(output_port, "("); printlist1(x); } void printvec(int x){ int len,i; fprintf(output_port, "#("); len = GET_CDR(x); if(len != 0){ for(i=0; i<len-1; i++){ print(GET_VEC_ELT(x,i)); fprintf(output_port, " "); } print(GET_VEC_ELT(x,i)); } fprintf(output_port, ")"); } void print_u8vec(int x){ int len,i; fprintf(output_port, "#u8("); len = GET_CDR(x); if(len != 0){ for(i=0; i<len-1; i++){ printf("%d ", GET_U8VEC_ELT(x,i)); } printf("%d", GET_U8VEC_ELT(x,i)); } fprintf(output_port, ")"); } void print_record(int x){ int len,i; fprintf(output_port, "#r("); len = GET_CDR(x); if(len != 0){ for(i=0; i<len-1; i++){ if(!IS_RECORD(GET_VEC_ELT(x,i))) print(GET_VEC_ELT(x,i)); else fprintf(output_port, "#r#"); fprintf(output_port, " "); } print(GET_VEC_ELT(x,i)); } fprintf(output_port, ")"); } //-------デバッグ用------------------ void cellprint(int addr); //ヒープダンプ void memorydump(int start, int end){ int i; printf("addr car cdr tag val\n"); for(i=start; i<= end; i++) cellprint(i); } void cellprint(int addr){ int flag,tag; printf("%07d ", addr); flag = (int)GET_FLAG(addr); switch(flag){ case FRE: printf("F "); break; case USE: printf("U "); break; } printf("%07d ", GET_CAR(addr)); printf("%07d ", GET_CDR(addr)); tag = (int)GET_TAG(addr); switch(tag){ case BIGBANG: printf("BigBang"); break; case EMP: printf("Emp "); break; case INTN: printf("Int "); print(addr); break; case FLTN: printf("Flt "); print(addr); break; case COMP: printf("Com "); print(addr); break; case SYM: printf("Sym "); print(addr); printf(" = "); print(GET_CAR(addr)); break; case STR: printf("Str "); print(addr); break; case CHR: printf("Chr "); print(addr); break; case LIS: printf("Lis "); break; case BOL: printf("Bol "); print(addr); break; case INF: printf("Inf "); print(addr); break; case NANN: printf("Nan "); print(addr); break; case BIG: printf("Big "); printf("%d",GET_INT(addr)); break; case RAT: printf("Rat "); print(addr); break; case SUBR: printf("Sub "); break; case CLOS: printf("Clo "); break; case MAC: printf("Mac "); break; case HYG: printf("Hyg "); break; case HCONT: printf("Cnt "); print(GET_CDR(addr)); break; case MUL: printf("Mul "); break; case VEC: printf("Vec "); break; case ELT: printf("Elt "); break; case IDNT: printf("Idnt "); break; case SYNCLO:printf("SynClo "); break; case ENV: printf("Env "); break; case CODE: printf("Code "); break; case STACK: printf("Stack "); break; } printf("\n"); } //---------ガベージコレクション----------- void gbc(void){ register int addr; clock_t gctime1,gctime2; if(gbcflag == 1){ printf("enter GBC free= %d\n", cell_free); fflush(stdout); } gctime1 = clock(); cont_count = 0; gbcmark(); gbcsweep(); cell_free = 0; for(addr=0; addr <= CELLSIZE; addr++) if(IS_EMPTY(addr)) cell_free++; gctime2 = clock(); gctime = gctime + (gctime2 - gctime1); if(gbcflag == 1){ printf("exit GBC free= %d\n", cell_free); fflush(stdout); } } void markcell(int addr){ int n,i,j,x,y,tag; //小整数の場合はマークする必要なし。 if(addr < 0 || addr > CELLSIZE){ return; } if(IS_USE(addr)) return; SET_FLAG_USE(addr); tag = (int)GET_TAG(addr); switch(tag){ case FLTN: case RAT: case STR: case CHR: return; case COMP: markcell(car(addr)); markcell(cdr(addr)); return; case SYM: markcell(GET_CAR(addr)); case SUBR: case PRT: return; case BIG: markcell(car(addr)); markcell(cdr(addr)); return; case LIS: markcell(car(addr)); markcell(cdr(addr)); return; case CLOS: markcell(GET_CAR(addr)); markcell(GET_CDR(addr)); return; case HCONT: markcell(GET_CAR(addr)); markcell(GET_CDR(addr)); markcell(car(GET_AUX(addr))); return; case MAC: markcell(GET_CAR(addr)); return; case HYG: markcell(GET_CAR(addr)); return; case VEC: n = vector_length(addr); for(i=0; i<n; i++){ x = GET_VEC_ELT(addr,i); markcell(x); } return; case REC: n = record_length(addr); for(i=0; i<n; i++){ x = GET_VEC_ELT(addr,i); markcell(x); } return; case SYNT: markcell(car(addr)); markcell(cdr(addr)); markcell(GET_AUX(addr)); return; case IDNT: markcell(car(addr)); markcell(cdr(addr)); markcell(GET_AUX(addr)); return; case MUL: markcell(car(addr)); markcell(cdr(addr)); return; case ENV: j = GET_AUX(addr); y = j + 1; for(x=0; x<j; x++) markcell(GET_ENV_VEC_ELT(addr,x)); markcell(GET_ENV_ORG(addr)); n = dyna_env_cpy(GET_CAR(addr),y); SET_CAR(addr,n); return; case CODE: i = GET_CDR(addr); x = 0; while(x<i){ y = GET_VEC_ELT(addr,x); switch(y){ case 0: x = x + 1; break; case 1: x = x + 1; break; case 2: markcell(GET_VEC_ELT(addr,x+1)); x = x + 2; break; case 3: x = x + 3; break; case 4: x = x + 2; break; case 5: x = x + 3; break; case 6: x = x + 2; break; case 7: x = x + 1; break; case 8: x = x + 2; break; case 9: x = x + 2; break; case 10: x = x + 2; break; case 11: x = x + 1; break; case 12: x = x + 2; break; case 13: x = x + 2; break; case 14: x = x + 2; break ; case 15: markcell(GET_VEC_ELT(addr,x+2)); x = x + 3; break; case 16: x = x + 2; break; case 17: x = x + 3; break; case 18: x = x + 2; break; case 19: x = x + 2; break; case 20: case 21: case 22: case 23: case 24: case 25: case 26: case 27: case 28: case 29: case 30: x = x + 1; break; case 31: x = x + 2; break; case 32: x = x + 1; break; case 33: x = x + 1; case 34: case 35: case 36: case 37: x = x + 1; break; case 38: x = x + 3; break; case 39: case 40: x = x + 2; break; } } return; case STACK: i = GET_CDR(addr); for(x=0; x<i; x++) markcell(GET_VEC_ELT(addr,x)); return; case MEM: i = GET_VEC_ELT(addr,1); for(x=0; x<i; x = x+2) markcell(GET_VEC_ELT(addr,x+4)); return; } } void gbcmark(void){ int register addr,i; int x,y; dyna_env_p2 = 0; SET_FLAG_USE(NIL); //NILをuse状態にする。 SET_FLAG_USE(BOOLT); //#t SET_FLAG_USE(BOOLF); //#f SET_FLAG_USE(PINF); //+inf.0 SET_FLAG_USE(MINF); //-inf.0 SET_FLAG_USE(PNAN); //+nan.0 SET_FLAG_USE(MNAN); //-nan.0 SET_FLAG_USE(undef); SET_FLAG_USE(end_of_file); SET_FLAG_USE(quote); SET_FLAG_USE(quasiquote); SET_FLAG_USE(unquote); SET_FLAG_USE(unquote_splicing); SET_FLAG_USE(empty_set); //現状の環境をマーク markcell(env); //トレースリストをマーク markcell(trace_list); //スタックからつながっているcellをマーク。 for(i=sp-1; i>=0; i--){ addr = stack[i]; markcell(addr); } //命令列からつながっているcellをマーク。 for(i=tail-1; i>=0; i--){ addr = stack[i]; markcell(addr); } //大域定義シンボルをマーク。 for(x=0; x<HASHTBSIZE; x++) for(y=0; y<module_table_end; y++){ addr = cell_hash_table[x][y]; while(!(nullp(addr))){ //printf("%d ", addr); SET_FLAG_USE(addr); markcell(car(addr)); addr = cdr(addr); } } //ライブラリ名のリストおよびexportされたリストをマーク。 for(x=0; x<module_table_end; x++){ markcell(module_table[x][0]); markcell(module_table[x][1]); } //emem2 からemem1にコピー for(x=0; x<dyna_env_p2; x++){ emem1[x] = emem2[x]; SET_FLAG_USE(emem1[x]); } dyna_env_p1 = dyna_env_p2; } void gbcsweep(void){ int addr; //セル領域のGC addr = 0; while(addr < CELLSIZE){ if(IS_USE(addr)){ SET_FLAG_FREE(addr); } else{ clrcell(addr); SET_CDR(addr,cell_heap_p); cell_heap_p = addr; } addr++; } } void clrcell(int addr){ int tag; if((tag=GET_TAG(addr)) == SYM || tag == STR || tag == CHR || tag == CLOS){ free(memory[addr].name); memory[addr].name = NULL; } if(tag == CODE || tag == STACK || tag == VEC || tag == MEM || tag == REC){ free(memory[addr].val.car.dyna_vec); } if(tag == U8VEC){ free(memory[addr].val.car.u8_dyna_vec); } SET_TAG(addr,EMP); SET_CAR(addr,0); SET_AUX(addr,0); } //自由セルが一定数を下回った場合にはgbcを起動する。 void check_ctrl(void){ //ctrl+c がかかっているときにはトップレベルに戻る。 if(exitflag == 1){ exitflag = 0; longjmp(toplevel,1); } //ctrl+d がかかっているときには処理系を終了する。 if(exitflag == 2) longjmp(toplevel,2); if(cell_free < FREESIZE) gbc(); } int ealloc(int n){ int res; res = dyna_env_p1; dyna_env_p1 = dyna_env_p1 + n; if(dyna_env_p1 > ENVSIZE) exception("ealloc", MALLOC_OVERF, NIL); return(res); } int dyna_env_cpy(int p, int n){ int i,res; res = dyna_env_p2; for(i=0; i<n; i++){ emem2[dyna_env_p2] = emem1[p]; dyna_env_p2++; p++; if(dyna_env_p2 > ENVSIZE2) exception("dyna_env_copy", MALLOC_OVERF, NIL); } return(res); }
25.642427
97
0.425776
3f91a5305fb4cd7a28a87b905b0ae4cc4a643a07
1,383
c
C
InteractiveTowerOfHanoi/InteractiveTowerOfHanoi.c
lucasguesserts/tower_of_hanoi
7974825a3d33dc06513a6912d9f41631c8aa8dac
[ "MIT" ]
null
null
null
InteractiveTowerOfHanoi/InteractiveTowerOfHanoi.c
lucasguesserts/tower_of_hanoi
7974825a3d33dc06513a6912d9f41631c8aa8dac
[ "MIT" ]
null
null
null
InteractiveTowerOfHanoi/InteractiveTowerOfHanoi.c
lucasguesserts/tower_of_hanoi
7974825a3d33dc06513a6912d9f41631c8aa8dac
[ "MIT" ]
null
null
null
#include <TowerOfHanoi.h> #include <stdio.h> #include <stdlib.h> int getInt(char message[]); int main(void) { TowerOfHanoi th; const unsigned numberOfDisks = 3, numberOfRods = 3; unsigned diskToMove, targetRod; MoveError moveRet; initializeTowerOfHanoi(&th, numberOfDisks, numberOfRods); system("clear"); while(!gameOverTowerOfHanoi(&th)) { towerOfHanoi2string(&th); printf("%s", th.asString); diskToMove = getInt("Select a disk to move"); targetRod = getInt("Select a rod to move it into"); moveRet = moveDisk(&th, diskToMove, targetRod); system("clear"); switch (moveRet) { case invalid_disk_error: printf("Invalid disk selected.\n\n"); break; case invalid_rod_error: printf("Invalid rod selected.\n\n"); break; case disk_not_on_top_error: printf("The selected disk is not on top of the stack.\n\n"); break; case over_smaller_disk_error: printf("There is a disk smaller than the one selected on top of it.\n\n"); break; case no_move_done_error: printf("Nothing really done...\n\n"); break; case valid_move: break; } } system("clear"); printf("Congratulations, you have finished the game in %i moves.\n\n", th.numberOfMoves); return 0; } int getInt(char message[]) { int input, ret=EOF; while(ret==EOF) { printf("\n%s: ", message); ret = scanf("%i", &input); } return input; }
23.05
90
0.677513
273c71a11922581ff0c12f84246146032e95273e
891
c
C
dios/init.c
edjubuh/ose-14-15
933294b83660677f66b966a14035563c267b8ce0
[ "MIT" ]
4
2015-05-13T01:44:36.000Z
2022-01-06T04:26:57.000Z
dios/init.c
edjubuh/ose
933294b83660677f66b966a14035563c267b8ce0
[ "MIT" ]
null
null
null
dios/init.c
edjubuh/ose
933294b83660677f66b966a14035563c267b8ce0
[ "MIT" ]
null
null
null
/** * @file dios/init.c * @brief Source file for initialize functions. * * Copyright (c) 2014-2015 Olympic Steel Eagles. All rights reserved. * Portions of this file may contain elements from the PROS API. * See include/API.h for additional notice. ************************************************************************/ #include "main.h" #include "sml/SmartMotorLibrary.h" #include "lcd/LCDFunctions.h" #include "dios/CortexDefinitions.h" #include "dios/Chassis.h" #include "dios/Lift.h" #include "dios/buttons.h" /** * @brief Runs pre-initialization functions. */ void initializeIO() { pinMode(1, OUTPUT); pinMode(4, OUTPUT); setTeamName("7701"); } /** * @brief Initializes the robot. Displays graphics depicting process in initialization * sequence. */ void initialize() { InitializeMotorManager(); ChassisInitialize(); LiftInitialize(); initButtons(); }
22.275
86
0.655443
6bcb758e3b9c78aa075738523fe119a38daaeef5
6,595
h
C
Discarded/ParallellQueue___.h
FlovinTue/ConcurrentQueue
872adad164852aaa3970ad046142c77a5322f3e1
[ "MIT" ]
null
null
null
Discarded/ParallellQueue___.h
FlovinTue/ConcurrentQueue
872adad164852aaa3970ad046142c77a5322f3e1
[ "MIT" ]
null
null
null
Discarded/ParallellQueue___.h
FlovinTue/ConcurrentQueue
872adad164852aaa3970ad046142c77a5322f3e1
[ "MIT" ]
null
null
null
// Data shuttle v2 // Flovin Michaelsen #pragma once #include "GrowingArray.h" #include <atomic> #include <cassert> #include <thread> #include "ParallellQueueInternals.h" #pragma warning(disable : 4324) template <class T, uint32_t MaxProducers = 32> class ParallellQueue { public: ParallellQueue(uint32_t aInitClusters) = 4); ~ParallellQueue(); ParallellQueue(const ParallellQueue&) = delete; ParallellQueue& operator=(const ParallellQueue&) = delete; void Push(const T& aIn); bool TryPop(T& aOut); uint32_t Size() const; private: void InitConsumer(); void InitProducer(); bool RelocateConsumer(); int32_t FindAvaliableCluster(); PqInternals::Cluster<T>* CreateCluster(uint32_t aSize); int32_t PushCluster(PqInternals::Cluster<T>* aCluster); static const int32_t InvalidIndex = -1; static const uint32_t InitClusterCapacity = 64; const uint32_t myObjectId; static thread_local GrowingArray<PqInternals::Cluster<T>*> ourProducers; static thread_local GrowingArray<PqInternals::Cluster<T>*> ourConsumers; PqInternals::Cluster<T>* myClusters[MaxProducers]; uint8_t myPadding0[64 - (sizeof(myClusters) % 64)]; std::atomic<uint32_t> mySize; uint8_t myPadding1[64 - (sizeof(std::atomic<uint32_t>) % 64)]; std::atomic<uint32_t> myClusterCount; uint8_t myPadding2[64 - (sizeof(std::atomic<uint32_t>) % 64)]; std::atomic<uint32_t> myClusterReservations; uint8_t myPadding3[64 - (sizeof(std::atomic<uint32_t>) % 64)]; static std::atomic<uint32_t> ourIdIterator; }; // Static init template <class T, uint32_t MaxProducers> std::atomic<uint32_t> ParallellQueue<T, MaxProducers>::ourIdIterator(0); template <class T, uint32_t MaxProducers> thread_local GrowingArray<PqInternals::Cluster<T>*> ParallellQueue<T, MaxProducers>::ourProducers(4); template <class T, uint32_t MaxProducers> thread_local GrowingArray<PqInternals::Cluster<T>*> ParallellQueue<T, MaxProducers>::ourConsumers(4); // ----------- template<class T, uint32_t MaxProducers> inline ParallellQueue<T, MaxProducers>::ParallellQueue(uint32_t aInitClusters) : myObjectId(ourIdIterator++), myClusterCount(0), myClusterReservations(0), mySize(0), myDummyCluster(CreateCluster(0)) { for (uint32_t i = 0; i < aInitClusters; ++i) PushCluster(CreateCluster(InitClusterCapacity)); } template<class T, uint32_t MaxProducers> inline ParallellQueue<T, MaxProducers>::~ParallellQueue() { } template<class T, uint32_t MaxProducers> inline void ParallellQueue<T, MaxProducers>::Push(const T & aIn) { if (!(myObjectId < ourProducers.Size())) ourProducers.Resize(myObjectId + 1); PqInternals::Cluster<T>* cluster = ourProducers[myObjectId]; if (!cluster) InitProducer(); while (!cluster->TryPush(aIn)) { cluster = CreateCluster(location->Capacity() * 2); ourProducers[myObjectId] = cluster; } ++mySize; return true; } template<class T, uint32_t MaxProducers> inline bool ParallellQueue<T, MaxProducers>::TryPop(T & aOut) { if (!(myObjectId < ourConsumers.Size())) ourConsumers.Resize(myObjectId + 1); PqInternals::Cluster<T>* cluster = ourConsumers[myObjectId]; if (!cluster) InitConsumer(); while (!location->TryPop(aOut)) if (!RelocateConsumer()) return false; --mySize; return true; } template<class T, uint32_t MaxProducers> inline uint32_t ParallellQueue<T, MaxProducers>::Size() const { return mySize; } template<class T, uint32_t MaxProducers> inline void ParallellQueue<T, MaxProducers>::InitConsumer() { if (myClusterCount) RelocateConsumer(); } template<class T, uint32_t MaxProducers> inline void ParallellQueue<T, MaxProducers>::InitProducer() { int32_t nextClusterSlot(InvalidIndex); for (;;) { nextClusterSlot = FindAvaliableCluster(); if (nextClusterSlot != InvalidIndex) if (myBuffers[nextClusterSlot]->RegisterProducer()) break; else continue; nextClusterSlot = PushCluster(); if (nextClusterSlot == InvalidIndex) return false; if (myBuffers[nextClusterSlot]->RegisterProducer()) break; } ourProducers[myObjectId].myCurrentBufferSlot = nextClusterSlot; return true; } template<class T, uint32_t MaxProducers> inline bool ParallellQueue<T, MaxProducers>::RelocateConsumer() { const uint32_t startClusterSlot = 0; const uint32_t buffers(myClusterCount); for (int32_t i = 1; i < buffers; ++i) { const int32_t clusterSlot = (startClusterSlot + i) % buffers; if (0 < myClusters[clusterSlot]->Size()) { ourConsumers[myObjectId] = myClusters[clusterSlot]; return true; } } return false; } template<class T, uint32_t MaxProducers> inline PqInternals::Cluster<T>* ParallellQueue<T, MaxProducers>::CreateCluster(uint32_t aSize) { const uint32_t size(aSize + aSize % 2); const uint32_t clusterSize = sizeof(PqInternals::Cluster<T>); const uint32_t bufferSize = sizeof(PqInternals::Buffer<T>); const uint32_t dataSize = sizeof(T) * size; const uint32_t blockSize = clusterSize + dataSize * 2; const uint32_t clusterAddress(0); const uint32_t bufferAddressA(clusterAddress + clusterSize); const uint32_t dataAddressA(bufferAddressA + bufferSize); const uint32_t bufferAddressB(dataAddressA + dataSize); const uint32_t dataAddressB(bufferAddressB + bufferSize); void* block = new uint8_t(blockSize); T* dataA = new (block + dataAddressA) T[size]; T* dataB = new (block + dataAddressB) T[size]; PqInternals::Buffer<T>* bufferA = new(block + bufferAddressA) PqInternals::Buffer<T>(size, dataA); PqInternals::Buffer<T>* bufferB = new(block + bufferAddressB) PqInternals::Buffer<T>(size, dataB); PqInternals::Cluster<T>* cluster = new(block + clusterAddress) PqInternals::Cluster<T>(size); return cluster; } template<class T, uint32_t MaxProducers> inline int32_t ParallellQueue<T, MaxProducers>::PushCluster(PqInternals::Cluster<T>* aCluster) { const int32_t nextClusterSlot = static_cast<int32_t>(myClusterReservations++); assert(nextClusterSlot < MaxProducers && "Tried to allocate beyond max buffers. Increase max buffers?"); if (!(nextClusterSlot < MaxProducers)) return InvalidIndex; myClusters[nextClusterSlot] = aCluster; ++myClusterCount; return nextClusterSlot; } template<class T, uint32_t MaxProducers> inline int32_t ParallellQueue<T, MaxProducers>::FindAvaliableCluster() { const int32_t bufferCount(static_cast<int32_t>(myClusterCount)); const int32_t startClusterSlot(ourProducers[myObjectId].myCluster); for (int32_t i = 1; i < bufferCount + 1; ++i) { const int32_t clusterSlot((startClusterSlot + i) % bufferCount); if (myClusters[clusterSlot] && myClusters[clusterSlot]->Avaliable()) return clusterSlot; } return InvalidIndex; }
28.06383
105
0.751175
6a4b257be53f1d1e441631906a6da9c279b3fb21
5,479
h
C
graphics/vcglib/wrap/io_trimesh/import_ctm.h
hlzz/dotfiles
0591f71230c919c827ba569099eb3b75897e163e
[ "BSD-3-Clause" ]
4
2016-03-30T14:31:52.000Z
2019-02-02T05:01:32.000Z
graphics/vcglib/wrap/io_trimesh/import_ctm.h
hlzz/dotfiles
0591f71230c919c827ba569099eb3b75897e163e
[ "BSD-3-Clause" ]
null
null
null
graphics/vcglib/wrap/io_trimesh/import_ctm.h
hlzz/dotfiles
0591f71230c919c827ba569099eb3b75897e163e
[ "BSD-3-Clause" ]
null
null
null
/**************************************************************************** * VCGLib o o * * Visual and Computer Graphics Library o o * * _ O _ * * Copyright(C) 2011 \/)\/ * * Visual Computing Lab /\/| * * ISTI - Italian National Research Council | * * \ * * All rights reserved. * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * * * * This program is distributed in the hope that it will be useful, * * but WITHOUT ANY WARRANTY; without even the implied warranty of * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * GNU General Public License (http://www.gnu.org/licenses/gpl.txt) * * for more details. * * * ****************************************************************************/ #ifndef __VCGLIB_IMPORT_CTM #define __VCGLIB_IMPORT_CTM #include <openctm.h> #include <wrap/callback.h> #include <wrap/io_trimesh/io_mask.h> // lib3ds headers namespace vcg { namespace tri { namespace io { /** This class encapsulate a filter for importing 3ds meshes. It uses the lib3ds library. */ template <class OpenMeshType> class ImporterCTM { public: typedef typename OpenMeshType::VertexPointer VertexPointer; typedef typename OpenMeshType::ScalarType ScalarType; typedef typename OpenMeshType::VertexType VertexType; typedef typename OpenMeshType::FaceType FaceType; typedef typename OpenMeshType::VertexIterator VertexIterator; typedef typename OpenMeshType::FaceIterator FaceIterator; enum CTMError { // Successfull opening E_NOERROR, // 0 // Opening Errors E_CANTOPEN, // 1 E_UNESPECTEDEOF, // 2 E_ABORTED, // 3 E_NO_VERTEX, // 4 E_NO_FACE, // 5 E_LESS_THAN_3VERTINFACE, // 6 E_BAD_VERT_INDEX, // 7 E_BAD_TEX_VERT_INDEX // 8 }; static const char* ErrorMsg(int error) { static const char* _3ds_error_msg[] = { "No errors", // 0 "Can't open file", // 1 "Premature End of file", // 2 "File opening aborted", // 3 "No vertex field found", // 4 "No face field found", // 5 "Face with less than 3 vertices", // 6 "Bad vertex index in face", // 7 "Bad texture index in face" // 8 }; if(error>8 || error<0) return "Unknown error"; else return _3ds_error_msg[error]; }; static int Open( OpenMeshType &m, const char * filename, int &loadmask, CallBackPos */*cb*/=0) { CTMcontext context; // Create a new importer context context = ctmNewContext(CTM_IMPORT); // Load the OpenCTM file ctmLoad(context, filename); if(ctmGetError(context) == CTM_NONE) { // Access the mesh data CTMuint vertCount = ctmGetInteger(context, CTM_VERTEX_COUNT); const CTMfloat *vertices = ctmGetFloatArray(context, CTM_VERTICES); CTMuint triCount = ctmGetInteger(context, CTM_TRIANGLE_COUNT); const CTMuint *indices = ctmGetIntegerArray(context, CTM_INDICES); // Deal with the mesh (e.g. transcode it to our // internal representation) // ... // Extract colors m.Clear(); Allocator<OpenMeshType>::AddVertices(m, vertCount); for(unsigned int i=0;i<vertCount;++i) m.vert[i].P()=Point3f(vertices[i*3+0],vertices[i*3+1],vertices[i*3+2]); CTMenum colorAttrib = ctmGetNamedAttribMap(context,"Color"); if(colorAttrib != CTM_NONE) { const CTMfloat *colors = ctmGetFloatArray(context,colorAttrib); for(unsigned int i=0;i<vertCount;++i) m.vert[i].C()=Color4b(colors[i*4+0]*255,colors[i*4+1]*255,colors[i*4+2]*255,colors[i*4+3]*255); loadmask |= Mask::IOM_VERTCOLOR; } CTMenum qualityAttrib = ctmGetNamedAttribMap(context,"Quality"); if(qualityAttrib != CTM_NONE) { const CTMfloat *qualities = ctmGetFloatArray(context,colorAttrib); for(unsigned int i=0;i<vertCount;++i) m.vert[i].Q()=qualities[i*4+0]; loadmask |= Mask::IOM_VERTQUALITY; } if(triCount==1) { if(indices[0]==0 && indices[1]==0 && indices[2]==0) triCount=0; } Allocator<OpenMeshType>::AddFaces(m, triCount); for(unsigned int i=0;i<triCount;++i) { m.face[i].V(0)=&m.vert[indices[i*3+0]]; m.face[i].V(1)=&m.vert[indices[i*3+1]]; m.face[i].V(2)=&m.vert[indices[i*3+2]]; } // Free the context ctmFreeContext(context); } int result = E_NOERROR; return result; } // end of Open }; // end class } // end Namespace tri } // end Namespace io } // end Namespace vcg #endif // ndef __VCGLIB_IMPORT_3DS
34.898089
105
0.544625
580b1528e0072a3fafd94c5aafb0cbb94249f8bc
263
c
C
C/3.c
hanss314/ProjectEuler
4e032ae265cbce401dc76f6de836ca2492d94434
[ "MIT" ]
null
null
null
C/3.c
hanss314/ProjectEuler
4e032ae265cbce401dc76f6de836ca2492d94434
[ "MIT" ]
null
null
null
C/3.c
hanss314/ProjectEuler
4e032ae265cbce401dc76f6de836ca2492d94434
[ "MIT" ]
null
null
null
#include <stdio.h> int main(){ long int x = 600851475143; int f = 0; int c = 2; while(x != 1){ if(x%c == 0){ x /= c; f = c; }else{ c += 1; } } printf("%d\n", f); return 0; }
13.842105
27
0.334601
38e77867c0521264ce43f88ad909486a943715c1
3,949
h
C
CodeXL/AMDTApplicationFramework/Include/afSourceCodeViewsManager.h
jeongjoonyoo/CodeXL
ea6d623d0530aa3a862ef0bf60ad2923a2f8f8a5
[ "MIT" ]
1,025
2016-04-19T21:36:08.000Z
2020-04-26T05:12:53.000Z
CodeXL/AMDTApplicationFramework/Include/afSourceCodeViewsManager.h
jeongjoonyoo/CodeXL
ea6d623d0530aa3a862ef0bf60ad2923a2f8f8a5
[ "MIT" ]
244
2016-04-20T02:05:43.000Z
2020-04-29T17:40:49.000Z
CodeXL/AMDTApplicationFramework/Include/afSourceCodeViewsManager.h
jeongjoonyoo/CodeXL
ea6d623d0530aa3a862ef0bf60ad2923a2f8f8a5
[ "MIT" ]
161
2016-04-20T03:23:53.000Z
2020-04-14T01:46:55.000Z
//================================================================================== // Copyright (c) 2016 , Advanced Micro Devices, Inc. All rights reserved. // /// \author AMD Developer Tools Team /// \file afSourceCodeViewsManager.h /// //================================================================================== #ifndef __AFSOURCECODEVIEWSMANAGER_H #define __AFSOURCECODEVIEWSMANAGER_H // Qt: #include <QWidget> // Infra: #include <AMDTBaseTools/Include/gtMap.h> #include <AMDTBaseTools/Include/gtVector.h> #include <AMDTOSWrappers/Include/osFilePath.h> #include <AMDTAPIClasses/Include/Events/apIEventsObserver.h> #include <AMDTAPIClasses/Include/Events/apKernelSourceBreakpointsUpdatedEvent.h> #include <AMDTAPIClasses/Include/Events/apOpenCLProgramCreatedEvent.h> #include <AMDTAPIClasses/Include/Events/apOpenCLProgramDeletedEvent.h> // Forward declaration: class afSourceCodeView; class afQMdiSubWindow; // Infra: #include <AMDTAPIClasses/Include/Events/apIEventsObserver.h> // Local: #include <AMDTApplicationFramework/Include/afApplicationFrameworkDLLBuild.h> // ---------------------------------------------------------------------------------- // Class Name: afSourceCodeViewsManager : public apIEventsObserver // General Description: An object used for managing the creation and update of the // application source code windows // Author: Sigal Algranaty // Creation Date: 18/8/2011 // ---------------------------------------------------------------------------------- class AF_API afSourceCodeViewsManager : public apIEventsObserver { public: virtual ~afSourceCodeViewsManager(); // Overrides apIEventsObserver: virtual void onEvent(const apEvent& eve, bool& vetoEvent); virtual const wchar_t* eventObserverName() const { return L"SourceCodeViewsManager"; }; // Static instance function: static afSourceCodeViewsManager& instance(); // Events: void onSubWindowClose(afQMdiSubWindow* pSubWindowAboutToBeClosed); // Get of create source code windows by file type and item data: afSourceCodeView* getSourceCodeWindow(const osFilePath& sourceCodeFilePath, int lineNumber, int programCounterIndex, QWidget* pParent); afSourceCodeView* getExistingView(const osFilePath& filePath, int& viewIndex); void removeSourceCodeView(afSourceCodeView* pSourceCodeView); // Find the current line number and program counter index for the requested file path: bool getLineNumberAndProgramCounter(const osFilePath& filePath, int& lineNumber, int& programCounterIndex); void setLineNumberAndProgramCounter(const osFilePath& filePath, int lineNumber, int programCounterIndex); // Checks if a file is currently opened: bool isFileOpen(const osFilePath& filePath); // White spaces: void setViewLineNumbers(bool showLineNumbers); bool showLineNumbers() const {return _showLineNumbers;}; private: // Only afSingletonsDelete can delete my instance: friend class afSingletonsDelete; protected: // Do not allow the use of my constructor: afSourceCodeViewsManager(); // Utilities: void clearProgramCounters(); void onProgramStatusChanged(int contextId, int programId, bool programDeleted); void onKernelSourceCodeUpdate(const apKernelSourceBreakpointsUpdatedEvent& eve); void bindExistingBreakpoints(); void onProcessTerminate(); protected: typedef std::pair<int, int> afSourceLineAndPC; static afSourceCodeViewsManager* _pMySingleInstance; // Vector containing the displayed source code views: gtVector<afSourceCodeView*> _displayedSourceCodeViewsVector; // A mapping for the current line numbers and pc index for source code files: gtMap<gtString, afSourceLineAndPC > _sourceCodeFilesPCLineNumbers; // True iff the source code views should show white spaces: bool _showLineNumbers; }; #endif //__afSourceCodeViewsManager_H
36.906542
139
0.702963
59009b652b4c5975393e37136bdee38a839dfd64
2,348
h
C
project/c++/mri/src/mmus/include/xtreme/mmus/parameter_mgr.h
jia57196/code41
df611f84592afd453ccb2d22a7ad999ddb68d028
[ "Apache-2.0" ]
null
null
null
project/c++/mri/src/mmus/include/xtreme/mmus/parameter_mgr.h
jia57196/code41
df611f84592afd453ccb2d22a7ad999ddb68d028
[ "Apache-2.0" ]
null
null
null
project/c++/mri/src/mmus/include/xtreme/mmus/parameter_mgr.h
jia57196/code41
df611f84592afd453ccb2d22a7ad999ddb68d028
[ "Apache-2.0" ]
null
null
null
// Copyright @2012 JDSU Xtreme #ifndef XTREME_MMUS_PARAMETER_MGR_H #define XTREME_MMUS_PARAMETER_MGR_H #include <boost/thread/locks.hpp> #include <boost/thread/thread.hpp> #include "xtreme/cs/cs.h" #include <string> namespace xtreme { namespace mmus { class CParameterMgr { public: static CParameterMgr* GetInstance(); bool SetCmdIpPort(std::string ip, unsigned int port); void GetCmdIpPort(std::string &ip, unsigned int &port); bool LoadParamsFromConfig(xtreme::cs::CS &cs); inline std::string ssl_cer_file() { return ssl_cer_file_; } inline std::string ssl_key_file() { return ssl_key_file_; } inline std::string ssl_ca_file() { return ssl_ca_file_; } inline std::string hello_msg_category() { return hello_msg_category_; } inline unsigned int webserver_http_port() { return webserver_http_port_; } inline unsigned int webserver_https_port() { return webserver_https_port_; } inline unsigned int webserver_running_mode() { return webserver_running_mode_; } inline unsigned int conn_timeout() { return this->conn_timeout_; } unsigned int proc_timeout() { return this->proc_timeout_; } unsigned int pool_size() { return this->pool_size_; } inline unsigned int notify_try_send_interval() { return this->notify_try_send_interval_; } inline xtreme::cs::CS* get_cs() { return p_cs_; } private: CParameterMgr() : notify_try_send_interval_(5) , p_cs_(NULL) {} std::string cmd_ip_; volatile unsigned int cmd_port_; std::string ssl_cer_file_; std::string ssl_key_file_; std::string ssl_ca_file_; std::string hello_msg_category_; unsigned int webserver_http_port_; unsigned int webserver_https_port_; unsigned int webserver_running_mode_; unsigned int notify_try_send_interval_; unsigned int conn_timeout_; unsigned int proc_timeout_; unsigned int pool_size_; boost::mutex mutex_; static CParameterMgr *INSTANCE_; xtreme::cs::CS *p_cs_; }; }} #endif
24.715789
63
0.625213
df6958454ec71e71626cd767fb2ef9c95c918426
853
c
C
CodeChef/MATBREAK_MatrixDecomposition.c
a3X3k/Competitive-programing-hacktoberfest-2021
bc3997997318af4c5eafad7348abdd9bf5067b4f
[ "Unlicense" ]
12
2021-06-05T09:40:10.000Z
2021-10-07T17:59:51.000Z
CodeChef/MATBREAK_MatrixDecomposition.c
a3X3k/Competitive-programing-hacktoberfest-2021
bc3997997318af4c5eafad7348abdd9bf5067b4f
[ "Unlicense" ]
21
2021-09-30T22:25:03.000Z
2021-10-05T18:23:25.000Z
CodeChef/MATBREAK_MatrixDecomposition.c
a3X3k/Competitive-programing-hacktoberfest-2021
bc3997997318af4c5eafad7348abdd9bf5067b4f
[ "Unlicense" ]
67
2021-08-01T10:04:52.000Z
2021-10-10T00:25:04.000Z
//Link To The Problem //https://www.codechef.com/COOK117B/problems/MATBREAK/ #include <stdio.h> #include <stdlib.h> #include <math.h> void func(); long long int mod = pow(10, 9) + 7; long long int powercalculator(long long int x, unsigned long long int y) { long long int res = 1; x = x % mod; if (x == 0) return 0; while (y > 0) { if (y & 1) res = (res*x) % mod; y = y >> 1; x = (x * x) % mod; } return res; } int main() { int t; scanf("%d", &t); while(t > 0) { func(); t--; } // your code goes here return 0; } void func() { long long int n, a, i = 1, sum = 0 ,k ; scanf("%lld %lld", &n, &a); while(i <= 2 * n - 1) { k = powercalculator(a, i); sum += k % mod; a =a * k % mod; i += 2; } sum = sum % mod; printf("%lld\n", sum); }
16.72549
75
0.484174
8a49ba6e44f9a0755a6f187e10b4cfef9e49723e
5,492
c
C
drivers/platform/x86/dell/dell-wmi-sysman/int-attributes.c
Server2356/Sun-Kernel
63cc54a6948ba572388f829c1fd641ffde0803d8
[ "MIT" ]
5
2020-07-08T01:35:16.000Z
2021-04-12T16:35:29.000Z
kernel/drivers/platform/x86/dell/dell-wmi-sysman/int-attributes.c
SFIP/SFIP
e428a425d2d0e287f23d49f3dd583617ebd2e4a3
[ "Zlib" ]
null
null
null
kernel/drivers/platform/x86/dell/dell-wmi-sysman/int-attributes.c
SFIP/SFIP
e428a425d2d0e287f23d49f3dd583617ebd2e4a3
[ "Zlib" ]
null
null
null
// SPDX-License-Identifier: GPL-2.0 /* * Functions corresponding to integer type attributes under BIOS Integer GUID for use with * dell-wmi-sysman * * Copyright (c) 2020 Dell Inc. */ #include "dell-wmi-sysman.h" enum int_properties {MIN_VALUE = 6, MAX_VALUE, SCALAR_INCR}; get_instance_id(integer); static ssize_t current_value_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) { int instance_id = get_integer_instance_id(kobj); union acpi_object *obj; ssize_t ret; if (instance_id < 0) return instance_id; /* need to use specific instance_id and guid combination to get right data */ obj = get_wmiobj_pointer(instance_id, DELL_WMI_BIOS_INTEGER_ATTRIBUTE_GUID); if (!obj) return -EIO; if (obj->package.elements[CURRENT_VAL].type != ACPI_TYPE_INTEGER) { kfree(obj); return -EINVAL; } ret = snprintf(buf, PAGE_SIZE, "%lld\n", obj->package.elements[CURRENT_VAL].integer.value); kfree(obj); return ret; } /** * validate_integer_input() - Validate input of current_value against lower and upper bound * @instance_id: The instance on which input is validated * @buf: Input value */ static int validate_integer_input(int instance_id, char *buf) { int in_val; int ret; ret = kstrtoint(buf, 0, &in_val); if (ret) return ret; if (in_val < wmi_priv.integer_data[instance_id].min_value || in_val > wmi_priv.integer_data[instance_id].max_value) return -EINVAL; /* workaround for BIOS error. * validate input to avoid setting 0 when integer input passed with + sign */ if (*buf == '+') memmove(buf, (buf + 1), strlen(buf + 1) + 1); return ret; } attribute_s_property_show(display_name_language_code, integer); static struct kobj_attribute integer_displ_langcode = __ATTR_RO(display_name_language_code); attribute_s_property_show(display_name, integer); static struct kobj_attribute integer_displ_name = __ATTR_RO(display_name); attribute_n_property_show(default_value, integer); static struct kobj_attribute integer_default_val = __ATTR_RO(default_value); attribute_property_store(current_value, integer); static struct kobj_attribute integer_current_val = __ATTR_RW_MODE(current_value, 0600); attribute_s_property_show(dell_modifier, integer); static struct kobj_attribute integer_modifier = __ATTR_RO(dell_modifier); attribute_n_property_show(min_value, integer); static struct kobj_attribute integer_lower_bound = __ATTR_RO(min_value); attribute_n_property_show(max_value, integer); static struct kobj_attribute integer_upper_bound = __ATTR_RO(max_value); attribute_n_property_show(scalar_increment, integer); static struct kobj_attribute integer_scalar_increment = __ATTR_RO(scalar_increment); static ssize_t type_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) { return sprintf(buf, "integer\n"); } static struct kobj_attribute integer_type = __ATTR_RO(type); static struct attribute *integer_attrs[] = { &integer_displ_langcode.attr, &integer_displ_name.attr, &integer_default_val.attr, &integer_current_val.attr, &integer_modifier.attr, &integer_lower_bound.attr, &integer_upper_bound.attr, &integer_scalar_increment.attr, &integer_type.attr, NULL, }; static const struct attribute_group integer_attr_group = { .attrs = integer_attrs, }; int alloc_int_data(void) { int ret = 0; wmi_priv.integer_instances_count = get_instance_count(DELL_WMI_BIOS_INTEGER_ATTRIBUTE_GUID); wmi_priv.integer_data = kcalloc(wmi_priv.integer_instances_count, sizeof(struct integer_data), GFP_KERNEL); if (!wmi_priv.integer_data) { wmi_priv.integer_instances_count = 0; ret = -ENOMEM; } return ret; } /** * populate_int_data() - Populate all properties of an instance under integer attribute * @integer_obj: ACPI object with integer data * @instance_id: The instance to enumerate * @attr_name_kobj: The parent kernel object */ int populate_int_data(union acpi_object *integer_obj, int instance_id, struct kobject *attr_name_kobj) { wmi_priv.integer_data[instance_id].attr_name_kobj = attr_name_kobj; strlcpy_attr(wmi_priv.integer_data[instance_id].attribute_name, integer_obj[ATTR_NAME].string.pointer); strlcpy_attr(wmi_priv.integer_data[instance_id].display_name_language_code, integer_obj[DISPL_NAME_LANG_CODE].string.pointer); strlcpy_attr(wmi_priv.integer_data[instance_id].display_name, integer_obj[DISPLAY_NAME].string.pointer); wmi_priv.integer_data[instance_id].default_value = (uintptr_t)integer_obj[DEFAULT_VAL].string.pointer; strlcpy_attr(wmi_priv.integer_data[instance_id].dell_modifier, integer_obj[MODIFIER].string.pointer); wmi_priv.integer_data[instance_id].min_value = (uintptr_t)integer_obj[MIN_VALUE].string.pointer; wmi_priv.integer_data[instance_id].max_value = (uintptr_t)integer_obj[MAX_VALUE].string.pointer; wmi_priv.integer_data[instance_id].scalar_increment = (uintptr_t)integer_obj[SCALAR_INCR].string.pointer; return sysfs_create_group(attr_name_kobj, &integer_attr_group); } /** * exit_int_attributes() - Clear all attribute data * * Clears all data allocated for this group of attributes */ void exit_int_attributes(void) { int instance_id; for (instance_id = 0; instance_id < wmi_priv.integer_instances_count; instance_id++) { if (wmi_priv.integer_data[instance_id].attr_name_kobj) sysfs_remove_group(wmi_priv.integer_data[instance_id].attr_name_kobj, &integer_attr_group); } wmi_priv.integer_instances_count = 0; kfree(wmi_priv.integer_data); wmi_priv.integer_data = NULL; }
30.010929
95
0.787873
ad07edd15416fe2d98c4ae94a09fd7e5a1e4d4dd
966
h
C
Algorithms/cpp/611. Valid Triangle Number/solution.h
Stadstot/LeetCode
7e33877496651685b732e4f52c177c863609ef05
[ "MIT" ]
null
null
null
Algorithms/cpp/611. Valid Triangle Number/solution.h
Stadstot/LeetCode
7e33877496651685b732e4f52c177c863609ef05
[ "MIT" ]
null
null
null
Algorithms/cpp/611. Valid Triangle Number/solution.h
Stadstot/LeetCode
7e33877496651685b732e4f52c177c863609ef05
[ "MIT" ]
null
null
null
#pragma once #include <algorithm> class Solution { public: int triangleNumber(vector<int>& nums) { std::sort(nums.begin(), nums.end()); auto notNullStart = nums.begin(); for(; notNullStart < nums.end(); notNullStart += 1) { if (*notNullStart != 0) { break; } } if ((nums.end() - notNullStart) < 3) { return 0; } int result = 0; for(auto f = notNullStart; f != (nums.end() - 2); f += 1) { auto s = f + 1; auto t = s + 1; while (t != nums.end()) { if (s == t) { t += 1; continue; } if ((*f + *s) > *t) { result += t - s; t += 1; } else { s += 1; } } } return result; } };
24.15
67
0.333333
8dafaccd74af4760b89394ffe738fe5f7ce237e7
157
h
C
Classes/Music.h
melonedo/fate-grand-rider
63ff2a31dca4d0f29a60258554a3544c624ef7f1
[ "MIT" ]
1
2020-05-10T13:57:03.000Z
2020-05-10T13:57:03.000Z
Classes/Music.h
melonedo/fate-grand-rider
63ff2a31dca4d0f29a60258554a3544c624ef7f1
[ "MIT" ]
null
null
null
Classes/Music.h
melonedo/fate-grand-rider
63ff2a31dca4d0f29a60258554a3544c624ef7f1
[ "MIT" ]
null
null
null
#pragma once #include"Pause.h" class Music { public: //播放背景音乐 void PlayMusic(); private: int _audioID; bool _loopEnabled; float _volume; };
9.8125
20
0.66242
3871cccf8236ef6456e83a4b2b1a9f3bdc513b14
8,868
h
C
include/board.h
ohnx/shaibel
624dfd0a28c5120963f6c3c5d29a57fca9ecc8f1
[ "MIT" ]
null
null
null
include/board.h
ohnx/shaibel
624dfd0a28c5120963f6c3c5d29a57fca9ecc8f1
[ "MIT" ]
null
null
null
include/board.h
ohnx/shaibel
624dfd0a28c5120963f6c3c5d29a57fca9ecc8f1
[ "MIT" ]
null
null
null
/** * The chess board is represented in two formats; 10x12 array with pieces in * each slot (for more intuitive representation), a 64-bit bitfield for some pieces * (for easier evaluation of certain positions), and a piece list (for faster move generation). */ #ifndef BOARD_INC_H #define BOARD_INC_H #include <stdint.h> #include "move.h" #include "pvt.h" /* maximum history of game */ #define MAX_HIST 2048 /* maximum search depth */ #define MAX_SEARCH_DEPTH 64 /* can only have max of 10 pieces of a given type (2 initial, all pawn promotions) */ #define MAX_PIECES_PER_TYPE 10 /* board is 10x12 */ #define BOARD_SIZE 120 /* used for pawn tracking */ #define COLOUR_BLACK 0 #define COLOUR_WHITE 1 #define COLOUR_EITHER 2 /* used for castling checking */ #define CASTLE_WHITE_KING 0x1 #define CASTLE_WHITE_QUEEN 0x2 #define CASTLE_BLACK_KING 0x4 #define CASTLE_BLACK_QUEEN 0x8 /* TODO: define dataype for each piece */ /* each possible piece */ /* TODO: consider using int16_t for a piece, which would allow for * bit to indicate white/black, and bit to indicate which piece type */ #define PIECE_EMPTY 0 #define PIECE_WHITE_PAWN 1 #define PIECE_WHITE_KNIGHT 2 #define PIECE_WHITE_BISHOP 3 #define PIECE_WHITE_ROOK 4 #define PIECE_WHITE_QUEEN 5 #define PIECE_WHITE_KING 6 #define PIECE_BLACK_PAWN 7 #define PIECE_BLACK_KNIGHT 8 #define PIECE_BLACK_BISHOP 9 #define PIECE_BLACK_ROOK 10 #define PIECE_BLACK_QUEEN 11 #define PIECE_BLACK_KING 12 #define PIECE_INVALID 13 /* todo: could use arrays here */ #define piece_is_pawn(x) ((x) == PIECE_WHITE_PAWN || (x) == PIECE_BLACK_PAWN) #define piece_is_knight(x) ((x) == PIECE_WHITE_KNIGHT || (x) == PIECE_BLACK_KNIGHT) #define piece_is_bishop(x) ((x) == PIECE_WHITE_BISHOP || (x) == PIECE_BLACK_BISHOP) #define piece_is_rook(x) ((x) == PIECE_WHITE_ROOK || (x) == PIECE_BLACK_ROOK) #define piece_is_queen(x) ((x) == PIECE_WHITE_QUEEN || (x) == PIECE_BLACK_QUEEN) #define piece_is_king(x) ((x) == PIECE_WHITE_KING || (x) == PIECE_BLACK_KING) #define piece_colour(x) (((x) > 0 && (x) < PIECE_BLACK_PAWN) ? COLOUR_WHITE : \ (((x) > PIECE_WHITE_KING && (x) < PIECE_INVALID) ? \ COLOUR_BLACK : COLOUR_EITHER)) #define piece_is_sliding(x) (piece_is_bishop(x) || piece_is_rook(x) || piece_is_queen(x)) /* ranks and files */ #define RANK_1 2 #define RANK_2 3 #define RANK_3 4 #define RANK_4 5 #define RANK_5 6 #define RANK_6 7 #define RANK_7 8 #define RANK_8 9 #define FILE_A 1 #define FILE_B 2 #define FILE_C 3 #define FILE_D 4 #define FILE_E 5 #define FILE_F 6 #define FILE_G 7 #define FILE_H 8 /* all squares */ /* to generate: var files = "ABCDEFGH"; for (var j = 1; j < 9; j++) { for (var i = 0; i < 8; i++) { console.log(`#define SQUARE_${files[i]}${j} ${j+1}${i+1}`); } } */ #define SQUARE_A1 21 #define SQUARE_B1 22 #define SQUARE_C1 23 #define SQUARE_D1 24 #define SQUARE_E1 25 #define SQUARE_F1 26 #define SQUARE_G1 27 #define SQUARE_H1 28 #define SQUARE_A2 31 #define SQUARE_B2 32 #define SQUARE_C2 33 #define SQUARE_D2 34 #define SQUARE_E2 35 #define SQUARE_F2 36 #define SQUARE_G2 37 #define SQUARE_H2 38 #define SQUARE_A3 41 #define SQUARE_B3 42 #define SQUARE_C3 43 #define SQUARE_D3 44 #define SQUARE_E3 45 #define SQUARE_F3 46 #define SQUARE_G3 47 #define SQUARE_H3 48 #define SQUARE_A4 51 #define SQUARE_B4 52 #define SQUARE_C4 53 #define SQUARE_D4 54 #define SQUARE_E4 55 #define SQUARE_F4 56 #define SQUARE_G4 57 #define SQUARE_H4 58 #define SQUARE_A5 61 #define SQUARE_B5 62 #define SQUARE_C5 63 #define SQUARE_D5 64 #define SQUARE_E5 65 #define SQUARE_F5 66 #define SQUARE_G5 67 #define SQUARE_H5 68 #define SQUARE_A6 71 #define SQUARE_B6 72 #define SQUARE_C6 73 #define SQUARE_D6 74 #define SQUARE_E6 75 #define SQUARE_F6 76 #define SQUARE_G6 77 #define SQUARE_H6 78 #define SQUARE_A7 81 #define SQUARE_B7 82 #define SQUARE_C7 83 #define SQUARE_D7 84 #define SQUARE_E7 85 #define SQUARE_F7 86 #define SQUARE_G7 87 #define SQUARE_H7 88 #define SQUARE_A8 91 #define SQUARE_B8 92 #define SQUARE_C8 93 #define SQUARE_D8 94 #define SQUARE_E8 95 #define SQUARE_F8 96 #define SQUARE_G8 97 #define SQUARE_H8 98 #define SQUARE_NONE 0 /* convert between file/rank to square */ #define filerank_to_square(f, r) ((r)*10 + (f)) /* get nth bit from board */ #define board64_get(b, n) ((b >> n) & 0x1) /* TODO: come up with name for struct */ /* information necessary to store to be able to undo a move */ typedef struct _undo_move_t { moveinfo_t rep; /* representation of move */ uint8_t castle_perm; /* bitfield of castle permissions (CASTLE_<>) */ uint8_t enpassant; /* SQUARE_<> for en passant */ int pawnmovecnt; /* using half moves */ uint64_t pos_key; } undo_move_t; /* main structure to represent the board state at a given time */ typedef struct _board_t { /* 10x12 board of pieces */ uint8_t pieces[BOARD_SIZE]; /* bitfield of pawns on the board */ uint64_t pawns[3]; /* indexed by COLOUR_<> */ /* position (SQUARE_<>) of kings indexed by COLOUR_<> */ /* NOTE: redundant because can use piece_list[KING_BLAH] */ /*uint8_t kings[2];*/ uint8_t side; /* side to move (black or white) */ uint8_t castle_perm; /* bitfield of castle permissions (CASTLE_<>) */ uint8_t enpassant; /* SQUARE_<> for en passant */ uint32_t pawnmovecnt; /* using half moves */ uint32_t ply; /* number of half moves played in a search */ uint32_t hist_ply; /* number of half moves played in total */ uint64_t pos_key; /* position key (unique "hash" of board position) */ uint8_t big_pieces[3]; /* number of "big" (non-pawn) pieces present, indexed by COLOUR_<> */ uint8_t major_pieces[3]; /* number of "major" pieces present, indexed by COLOUR_<> */ uint8_t minor_pieces[3]; /* number of "minor" pieces present, indexed by COLOUR_<> */ int material_scores[3]; /* scores of materials, indexed by COLOUR_<> */ /* undo history */ undo_move_t history[MAX_HIST]; /* piece list */ uint8_t num_pieces[13]; /* number of each piece, indexed by PIECE_<> */ uint8_t piece_list[PIECE_INVALID][MAX_PIECES_PER_TYPE]; /* indexed by PIECE_<>, with values of SQUARE_<> */ /* principal variation table */ pvtable_t pvt; /* temporary array used to return results of board_pvt_get_chain() */ /* TODO: probably shouldn't really have this in here; return an array * instead maybe? */ moveinfo_t pvtarr[MAX_SEARCH_DEPTH]; /* variables to store for optimizations for searching */ uint32_t search_history[PIECE_INVALID][BOARD_SIZE]; moveinfo_t search_killers[2][MAX_SEARCH_DEPTH]; /* non-capture moves that cause beta cutoffs */ } board_t; /* translations for 10x12 board to 64-bit array and vice versa */ /* 10x12 -> 64-bit */ extern uint8_t board120_to_board64[BOARD_SIZE]; /* 10x12 -> rank */ extern uint8_t board120_to_rank[BOARD_SIZE]; /* 10x12 -> file */ extern uint8_t board120_to_file[BOARD_SIZE]; /* 64-bit to 10x12 */ extern uint8_t board64_to_board120[64]; /* TODO: find a better home for this stuff */ /* hashing/poskey info stuff */ extern uint64_t hashtb_pieces[13][120]; extern uint64_t hashtb_side; extern uint64_t hashtb_castle[16]; /* piece values, etc. */ /* TODO: name this nicely/right */ extern uint8_t big_pieces_lst[PIECE_INVALID]; extern uint8_t maj_pieces_lst[PIECE_INVALID]; extern uint8_t min_pieces_lst[PIECE_INVALID]; extern int piece_vals_lst[PIECE_INVALID]; /* TODO: dup of piece_colour() function */ extern uint8_t piece_colours[PIECE_INVALID]; /* function definitions */ void board64_print(uint64_t board); #ifdef __has_builtin #if __has_builtin(__builtin_popcount) #define board64_count_set(b) (__builtin_popcount((uint64_t)(b))) #else /* __has_builtin(__builtin_popcount) */ uint8_t _board64_count_set(uint64_t board); #define board64_count_set(b) _board64_count_set(b) #endif /* __has_builtin(__builtin_popcount) */ #else /* __has_builtin */ uint8_t _board64_count_set(uint64_t board); #define board64_count_set(b) _board64_count_set(b) #endif /* __has_builtin */ uint8_t board64_pop(uint64_t *bb); /* TODO: can use a static array here. is that better/faster? */ #define board64_set(b, n) ((b) |= (((uint64_t)1) << (n))) #define board64_clear(b, n) ((b) &= ~(((uint64_t)1) << (n))) uint64_t board_hash(board_t *pos); void board_clear(board_t *pos); int board_init_from_fen(board_t *pos, const char *fen); void board_print(board_t *pos); void board_update_material_lists(board_t *pos); int board_check(board_t *pos); /* making and undoing moves - see makemove.c for impl */ int board_make_move(board_t *pos, moveinfo_t rep); void board_undo_move(board_t *pos); /* pvt function - see pvt.c for impl */ int board_pvt_get_chain(board_t *pos, int depth); /* evaluate the score of a position - see evaluate.c for impl */ int board_evaluate_position(board_t *pos); #endif /* BOARD_INC_H */
30.898955
111
0.72959
69f29a01d528a11a6a434f1a1d40f326d9157abb
965
h
C
Engine/Source/Runtime/AudioMixer/Public/AudioMixerTypes.h
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
1
2022-01-29T18:36:12.000Z
2022-01-29T18:36:12.000Z
Engine/Source/Runtime/AudioMixer/Public/AudioMixerTypes.h
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
Engine/Source/Runtime/AudioMixer/Public/AudioMixerTypes.h
windystrife/UnrealEngine_NVIDIAGameWork
b50e6338a7c5b26374d66306ebc7807541ff815e
[ "MIT" ]
null
null
null
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved. #pragma once namespace Audio { namespace EAudioMixerPlatformApi { enum Type { XAudio2, // Windows, XBoxOne AudioOut, // PS4 CoreAudio, // Mac AudioUnit, // iOS SDL2, // Used on Linux, Html5 OpenSLES, // Android Switch, // Switch Null // Unknown/not Supported }; } namespace EAudioMixerStreamDataFormat { enum Type { Unknown, Float, Int16, Unsupported }; } /** * EAudioOutputStreamState * Specifies the state of the output audio stream. */ namespace EAudioOutputStreamState { enum Type { /* The audio stream is shutdown or not uninitialized. */ Closed, /* The audio stream is open but not running. */ Open, /** The audio stream is open but stopped. */ Stopped, /** The audio output stream is stopping. */ Stopping, /** The audio output stream is open and running. */ Running, }; } }
16.355932
60
0.634197
35d086098353b4663ae270e66de1b74a2779931e
1,148
h
C
skel/simint/simint_init.h
colleeneb/simint-generator
48125f29612c4a78a2d1493f717d82e4af095c59
[ "BSD-3-Clause" ]
20
2017-07-04T16:10:22.000Z
2021-04-19T20:48:44.000Z
skel/simint/simint_init.h
colleeneb/simint-generator
48125f29612c4a78a2d1493f717d82e4af095c59
[ "BSD-3-Clause" ]
9
2017-03-22T07:57:38.000Z
2018-12-11T18:48:55.000Z
skel/simint/simint_init.h
colleeneb/simint-generator
48125f29612c4a78a2d1493f717d82e4af095c59
[ "BSD-3-Clause" ]
8
2017-10-23T23:16:28.000Z
2021-12-13T17:18:11.000Z
#pragma once #ifdef __cplusplus extern "C" { #endif /*! \brief Initializes the simint library * * This function performs any required initialization of variables, data * structures, etc, within libint. * * The library must be initialized for a given process (not necessarily a given * thread). * * It is safe to initialize the library multiple times. After the first call, * this function has no effect. * * \warning Is not thread safe (ie, should not be called at the same time2 * from multiple threads). */ void simint_init(void); /*! \brief Cleans up any resources used by the simint library * * This function cleans up any data structures within the simint library. * This must be run when you are no longer using any simint functionality. * Afterwards, simint may crash if you attempt to use some functions within * simint. * * It is safe to finalize the library multiple times. After the first call, this * function has no effect. * * \warning Is not thread safe (ie, should not be called at the same time2 * from multiple threads). */ void simint_finalize(void); #ifdef __cplusplus } #endif
26.697674
80
0.722125
6c1d0cae7002aa110437f4f2cca12ced402da14b
1,148
h
C
System/Library/PrivateFrameworks/PhotosUICore.framework/PXGSpriteTexture.h
lechium/tvOS135Headers
46cd30d3f0f7962eaa0c3f925cd71f414c65e2ac
[ "MIT" ]
2
2020-07-26T20:30:54.000Z
2020-08-10T04:26:23.000Z
System/Library/PrivateFrameworks/PhotosUICore.framework/PXGSpriteTexture.h
lechium/tvOS135Headers
46cd30d3f0f7962eaa0c3f925cd71f414c65e2ac
[ "MIT" ]
1
2020-07-26T20:45:31.000Z
2020-08-09T09:30:46.000Z
System/Library/PrivateFrameworks/PhotosUICore.framework/PXGSpriteTexture.h
lechium/tvOS135Headers
46cd30d3f0f7962eaa0c3f925cd71f414c65e2ac
[ "MIT" ]
null
null
null
/* * This header is generated by classdump-dyld 1.0 * on Sunday, June 7, 2020 at 11:25:20 AM Mountain Standard Time * Operating System: Version 13.4.5 (Build 17L562) * Image Source: /System/Library/PrivateFrameworks/PhotosUICore.framework/PhotosUICore * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limneos. */ @class NSIndexSet; @protocol PXGSpriteTexture <NSObject> @property (nonatomic,readonly) unsigned spriteCount; @property (nonatomic,readonly) NSIndexSet * spriteIndexes; @property (nonatomic,readonly) long long estimatedByteSize; @property (nonatomic,readonly) int presentationType; @property (nonatomic,readonly) CGImageRef imageRepresentation; @property (nonatomic,readonly) CGSize pixelSize; @property (nonatomic,readonly) BOOL isOpaque; @required -(BOOL)isOpaque; -(CGSize)pixelSize; -(CGImageRef)imageRepresentation; -(int)presentationType; -(NSIndexSet *)spriteIndexes; -(long long)estimatedByteSize; -(void)getSpriteIndexes:(unsigned*)arg1 maxSpriteCount:(unsigned)arg2; -(void)enumerateSpriteIndexes:(/*^block*/id)arg1; -(BOOL)containsSpriteIndex:(unsigned)arg1; -(unsigned)spriteCount; @end
33.764706
85
0.79007
c70a1dff99c1e61d79f086adaf4eba039c6de8c0
206
h
C
esame-36/shapes/shapes.h
unimoreinginfo/esami
afb5bc8bc6247aaaa5452ebd32c0e69efe9e3b21
[ "MIT" ]
2
2020-12-25T11:17:40.000Z
2020-12-31T08:56:59.000Z
esame-36/shapes/shapes.h
Cledem/esami-fdi1
afb5bc8bc6247aaaa5452ebd32c0e69efe9e3b21
[ "MIT" ]
1
2020-07-23T12:34:56.000Z
2020-07-23T12:42:52.000Z
esame-36/shapes/shapes.h
Cledem/esami-fdi1
afb5bc8bc6247aaaa5452ebd32c0e69efe9e3b21
[ "MIT" ]
3
2020-12-25T10:08:39.000Z
2022-01-03T19:41:49.000Z
#pragma once #include <stdint.h> #include <stdbool.h> #include <stdio.h> struct line { int16_t x1, y1; int16_t x2, y2; uint8_t thickness; }; extern bool line_load(FILE* f, struct line* pln);
17.166667
49
0.665049
e4fbba1b98992b5726d4c13c8be7167c56e3a794
6,908
c
C
modules/synApps_5_6/support/mca-7-1/mcaApp/CanberraSrc/nmc_demo.c
A2-Collaboration/epics
b764a53bf449d9f6b54a1173c5e75a22cf95098c
[ "OML" ]
null
null
null
modules/synApps_5_6/support/mca-7-1/mcaApp/CanberraSrc/nmc_demo.c
A2-Collaboration/epics
b764a53bf449d9f6b54a1173c5e75a22cf95098c
[ "OML" ]
null
null
null
modules/synApps_5_6/support/mca-7-1/mcaApp/CanberraSrc/nmc_demo.c
A2-Collaboration/epics
b764a53bf449d9f6b54a1173c5e75a22cf95098c
[ "OML" ]
null
null
null
/* NMC_DEMO.C */ /******************************************************************************* * * Demonstration Program for User Control of Networked Modules * * This program is a demonstration of how to directly access and control * Nuclear Data networked acquisition modules (i.e., without using the * ND Integrated MCA Control System software). The program: * * 1. Sets up for networked module I/O, finds and "buys" the module whose * network address is specified by "address". You must change the last * three bytes of this variable to match that of your module! * 2. Sets up acquisition for the first ADC on the module (4K channels, 10 * seconds preset real time; the ADC number is determined by the * variable "adc"), and tells the module to send an event message when * the preset is reached. * 3. Erases the acquisition memory. * 4. Turns on acquisition for the ADC. * 5. Waits for the acquire off event message. The loop checks the * acquisition status every three seconds just in case the event * message was lost. * 6. Obtains the acquisition memory. * 7. Totalizes the data and prints the results. * * NOTES: * * 1. The module's network address is specified by "address". Only the * last three bytes should ever be changed. For example, if the * module's address is 00-10-5E (NI105E), the last two bytes of the * initialization of "address" should be changed to 0x10 and 0x5E. * 2. The acquisition start address for an ADC can be set to any value * desired. If both ADCs are set up, make sure that the combination of * start address and limit address for the ADCs do not overlap! * ******************************************************************************** * * Revision History: * * 10-Jan-1994 MLR Rewrote based upon Nuclear Data source * *******************************************************************************/ /* Definitions */ #include "nmc_sys_defs.h" #include "epicsTime.h" #include <stdio.h> #include <stdlib.h> #ifdef vxWorks int nmc_demo(char *intfc, int low_address) { #else int main(int argc, char** argv) { int low_address; /* Low order part of Ethernet address */ char *intfc; #endif /* * Declarations */ int i,s,module,total=0,elive,ereal,etotals,acq; epicsEventId acqoff_evt; int adc=0; /* The ADC we're dealing with; 0 is the first, 1 the second */ double wait_period = 30.0; /* Interval in secs for "deadman" polling */ int acq_time = 10; /* Acquisition time (seconds) */ static int data[4096]; /* Buffer for the spectrum = 4K channels */ unsigned char address[6]; /* Buffer for full Ethernet address */ int low_address_default=0x675; /* Low order part of Ethernet address */ epicsTimeStamp startTime, endTime; #ifdef vxWorks #else if (argc < 3){ printf("Usage: %s <ethernet-interface> <aim-ether-address>\n",argv[0]); printf("eg: nmc_demo eth0 0xe26\n"); exit(1); } intfc = argv[1]; low_address = strtol(argv[2],NULL,16); printf("Using AIM-Module %x\n",low_address); #endif if (low_address == 0) low_address = low_address_default; /* * First, setup to perform network module I/O. */ printf("Calling nmc_initialize ...\n"); s=nmc_initialize(intfc); if(s == ERROR) return ERROR; /* * Build the full Ethernet address from the low order portion */ printf("Calling nmc_build_enet_addr ...\n"); nmc_build_enet_addr(low_address, address); /* * Find the "module number" of the networked module whose address is specified * by "address". */ printf("Calling nmc_findmod_by_addr ...\n"); s=nmc_findmod_by_addr(&module,address); if(s==ERROR) {nmc_signal("nmc_demo",s); return ERROR;} /* * Buy the module */ printf("Calling nmc_buymodule ...\n"); s=nmc_buymodule(module, 0); if(s==ERROR) return ERROR; /* * Show all modules on network */ printf("Calling nmc_show_modules ...\n"); s=nmc_show_modules(); /* * Get an event to wait for acquisition off events */ acqoff_evt = epicsEventCreate(epicsEventEmpty); /* * Set up to receive acquire off event messages from the module. Semaphore * acqoff_sem will be set whenever an acquisition off message is received for * the first ADC. */ printf("Calling nmc_addeventsem ...\n"); nmc_acqu_addeventsem(module, adc, NCP_C_EVTYPE_ACQOFF, acqoff_evt); /* * Setup the first ADC on that module for acquisition (note that ADCs are * numbered starting with 0). We'll set it up for 4K channels, PHA mode, with * preset real time of "acq_time" seconds (all timing is in centiseconds!). */ printf("Calling nmc_acqu_setup ...\n"); s=nmc_acqu_setup(module, adc, 0, 4096, 0, acq_time*100, 0, 0, 0, NCP_C_AMODE_PHA); if(s==ERROR) return ERROR; /* * Erase the memory and turn on acquisition */ printf("Calling nmc_acqu_setstate(0) ...\n"); s = nmc_acqu_setstate(module, adc, 0); /* Make sure acquisition if off */ printf("Calling nmc_acqu_erase ...\n"); s = nmc_acqu_erase(module, 0, 4096*4); /* Set the elapsed live and real time back to zero. */ printf("Calling nmc_acqu_setelapsed ...\n"); s = nmc_acqu_setelapsed(module, adc, 0, 0); if(s==ERROR) return ERROR; epicsEventTryWait(acqoff_evt); /* make sure the acquisition off event is clear */ printf("Calling nmc_setstate(1) ...\n"); s = nmc_acqu_setstate(module, adc, 1); /* Turn on acquire */ if(s==ERROR) return ERROR; /* * Wait until acquisition turns off; check the status every "wait_period" ticks. * This is in case we drop the acquisition off event message. * Get the elapsed times at the end of acquisition. */ acq = 1; while (acq) { printf("Waiting for event flag or timeout. Should complete in %d seconds.\n", acq_time); epicsEventWaitWithTimeout(acqoff_evt, wait_period); printf("Calling nmc_statusupdate ...\n"); s=nmc_acqu_statusupdate(module,adc,0,0,0,&elive,&ereal,&etotals,&acq); if(s==ERROR) return ERROR; } /* * Get the data into "data" */ printf("Calling nmc_acqu_getmemory_cmp ...\n"); epicsTimeGetCurrent(&startTime); s=nmc_acqu_getmemory_cmp(module,adc,0,1,1,1,4096,data); if(s==ERROR) return ERROR; epicsTimeGetCurrent(&endTime); printf("Time for nmc_acqu_getmemory_cmp = %f\n", epicsTimeDiffInSeconds(&endTime, &startTime)); printf("Calling nmc_acqu_getmemory ...\n"); epicsTimeGetCurrent(&startTime); s=nmc_acqu_getmemory(module,adc,0,1,1,1,4096,data); if(s==ERROR) return ERROR; epicsTimeGetCurrent(&endTime); printf("Time for nmc_acqu_getmemory = %f\n", epicsTimeDiffInSeconds(&endTime, &startTime)); /* * Totalize the memory, print the results, release the module, and exit */ for(i=0; i < 4096; i++) total += data[i]; printf("Total counts were %d; Real time = %.2f, Live time=%.2f\n",total,ereal/100.,elive/100.); printf("Calling nmc_freemodule ...\n"); nmc_freemodule(module, 0); /* * Show all modules on network */ printf("Calling nmc_show_modules ...\n"); s=nmc_show_modules(); return(OK); }
32.280374
103
0.678633
90493065007f6d434d69ca6d164bbdea8e0d56e3
207
h
C
HXImage/Public/HXImage.h
Magic-Unique/HXImage
0b7451fb3b657050fc19063a6e5494b76f88070f
[ "MIT" ]
158
2016-05-02T13:51:45.000Z
2020-06-21T13:31:38.000Z
HXImage/Public/HXImage.h
Magic-Unique/HXImage
0b7451fb3b657050fc19063a6e5494b76f88070f
[ "MIT" ]
5
2016-05-03T09:18:47.000Z
2016-05-28T07:06:15.000Z
HXImage/Public/HXImage.h
Magic-Unique/HXImage
0b7451fb3b657050fc19063a6e5494b76f88070f
[ "MIT" ]
33
2016-05-02T13:51:46.000Z
2019-12-04T02:23:17.000Z
// // HXImage.h // HXImage // // Created by 冷秋 on 2018/7/3. // Copyright © 2018年 unique. All rights reserved. // #ifndef HXImage_h #define HXImage_h #import "UIImage+HXImage.h" #endif /* HXImage_h */
13.8
50
0.657005
8e7cc4bad74404643285383d93314876de747da2
907
h
C
xbed/MyOrder/OrderDetail/View/CheckinPersonListView.h
LeoChensj/Demo
03217286dcf843ac96997eed8eb82b219427f47c
[ "MIT" ]
null
null
null
xbed/MyOrder/OrderDetail/View/CheckinPersonListView.h
LeoChensj/Demo
03217286dcf843ac96997eed8eb82b219427f47c
[ "MIT" ]
null
null
null
xbed/MyOrder/OrderDetail/View/CheckinPersonListView.h
LeoChensj/Demo
03217286dcf843ac96997eed8eb82b219427f47c
[ "MIT" ]
null
null
null
// // CheckinPersonListView.h // xbed // // Created by Leo.Chen on 16/10/11. // Copyright © 2016年 Leo.Chen. All rights reserved. // #import <UIKit/UIKit.h> #import "CheckinOrderInfoRespModel.h" @interface CheckinPersonListCell : UITableViewCell { @private UILabel *_lbName; UILabel *_lbIdNo; } @property (nonatomic, strong)CheckinOrderCheckinerModel *model; @end ///////////////##################//////////////// @class CheckinPersonListView; typedef void(^CheckinPersonListViewDeleteBlock)(); @interface CheckinPersonListView : UITableView <UITableViewDataSource, UITableViewDelegate> @property (nonatomic, strong)NSMutableArray <CheckinOrderCheckinerModel *>*dataArray; @property (nonatomic, strong)CheckinPersonListViewDeleteBlock block; @property (nonatomic, strong)STAlertView *alertView; - (void)addCheckinPersonListViewDeleteBlock:(CheckinPersonListViewDeleteBlock)block; @end
23.868421
91
0.747519
b047aa667015b2bb3b4fd565b24195ae1258755b
1,124
h
C
src/utils/config/json.h
unbornchikken/reflect-cpp
1a9a3d107c952406d3b7cae4bc5a6a23d566ea4f
[ "BSD-2-Clause" ]
45
2015-03-24T09:35:46.000Z
2021-05-06T11:50:34.000Z
src/utils/config/json.h
unbornchikken/reflect-cpp
1a9a3d107c952406d3b7cae4bc5a6a23d566ea4f
[ "BSD-2-Clause" ]
null
null
null
src/utils/config/json.h
unbornchikken/reflect-cpp
1a9a3d107c952406d3b7cae4bc5a6a23d566ea4f
[ "BSD-2-Clause" ]
11
2015-01-27T12:08:21.000Z
2020-08-29T16:34:13.000Z
/* json.h -*- C++ -*- Rémi Attab (remi.attab@gmail.com), 27 Apr 2014 FreeBSD-style copyright and disclaimer apply Json config serialization. */ #include "includes.h" #pragma once namespace reflect { namespace config { /******************************************************************************/ /* LOAD */ /******************************************************************************/ void loadJson(Config& config, std::istream& json); void loadJson(Config& config, const std::string& json); /******************************************************************************/ /* SAVE */ /******************************************************************************/ std::string saveJson( const Config& config, const std::string& trait = "config"); void saveJson( const Config& config, std::ostream& json, const std::string& trait = "config"); } // namespace config } // namespace reflect
30.378378
80
0.36121
b81fff6b5b8fcd4bd00457c87474a1a829c863b0
20,171
c
C
src/wasmjit/instantiate.c
wolfired/wasmjit
6caca9d4228d5b2559414b4b0bc68132da64b55b
[ "MIT" ]
null
null
null
src/wasmjit/instantiate.c
wolfired/wasmjit
6caca9d4228d5b2559414b4b0bc68132da64b55b
[ "MIT" ]
null
null
null
src/wasmjit/instantiate.c
wolfired/wasmjit
6caca9d4228d5b2559414b4b0bc68132da64b55b
[ "MIT" ]
null
null
null
/* -*-mode:c; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* Copyright (c) 2018 Rian Hunter et. al, see AUTHORS file. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ #include <wasmjit/instantiate.h> #include <wasmjit/parse.h> #include <wasmjit/runtime.h> #include <wasmjit/compile.h> #include <wasmjit/util.h> #include <wasmjit/sys.h> static int func_sig_repr(char *why, size_t why_size, struct FuncType *type) { int ret ; size_t k; ret = snprintf(why, why_size, "["); for (k = 0; k < type->n_inputs; ++k) { ret += snprintf(why + ret, why_size - ret, "%s,", wasmjit_valtype_repr(type->input_types[k])); } ret += snprintf(why + ret, why_size - ret, "] -> ["); for (k = 0; k < FUNC_TYPE_N_OUTPUTS(type); ++k) { ret += snprintf(why + ret, why_size - ret, "%s,", wasmjit_valtype_repr(FUNC_TYPE_OUTPUT_IDX(type, k))); } ret += snprintf(why + ret, why_size - ret, "]"); return ret; } static int read_constant_expression(struct ModuleInst *module_inst, unsigned valtype, struct Value *value, size_t n_instructions, struct Instr *instructions) { if (n_instructions != 1) goto error; if (instructions[0].opcode == OPCODE_GET_GLOBAL) { struct GlobalInst *global = module_inst->globals.elts[instructions[0].data.get_global.globalidx]; if (global->mut) goto error; if (global->value.type != valtype) goto error; *value = global->value; return 1; } value->type = valtype; switch (valtype) { case VALTYPE_I32: if (instructions[0].opcode != OPCODE_I32_CONST) goto error; value->data.i32 = instructions[0].data.i32_const.value; break; case VALTYPE_I64: if (instructions[0].opcode != OPCODE_I64_CONST) goto error; value->data.i64 = instructions[0].data.i64_const.value; break; case VALTYPE_F32: if (instructions[0].opcode != OPCODE_F32_CONST) goto error; value->data.f32 = instructions[0].data.f32_const.value; break; case VALTYPE_F64: if (instructions[0].opcode != OPCODE_F64_CONST) goto error; value->data.f64 = instructions[0].data.f64_const.value; break; default: assert(0); break; } return 1; error: return 0; } static int fill_module_types(struct ModuleInst *module_inst, struct ModuleTypes *module_types) { size_t i; module_types->functypes = calloc(module_inst->funcs.n_elts, sizeof(module_types->functypes[0])); if (module_inst->funcs.n_elts && !module_types->functypes) goto error; module_types->tabletypes = calloc(module_inst->tables.n_elts, sizeof(module_types->tabletypes[0])); if (module_inst->tables.n_elts && !module_types->tabletypes) goto error; module_types->memorytypes = calloc(module_inst->mems.n_elts, sizeof(module_types->memorytypes[0])); if (module_inst->mems.n_elts && !module_types->memorytypes) goto error; module_types->globaltypes = calloc(module_inst->globals.n_elts, sizeof(module_types->globaltypes[0])); if (module_inst->globals.n_elts && !module_types->globaltypes) goto error; for (i = 0; i < module_inst->funcs.n_elts; ++i) { module_types->functypes[i] = module_inst->funcs.elts[i]->type; } for (i = 0; i < module_inst->tables.n_elts; ++i) { module_types->tabletypes[i].elemtype = module_inst->tables.elts[i]->elemtype; module_types->tabletypes[i].limits.min = module_inst->tables.elts[i]->length; module_types->tabletypes[i].limits.max = module_inst->tables.elts[i]->max; } for (i = 0; i < module_inst->mems.n_elts; ++i) { module_types->memorytypes[i].limits.min = module_inst->mems.elts[i]->size / WASM_PAGE_SIZE; module_types->memorytypes[i].limits.max = module_inst->mems.elts[i]->max / WASM_PAGE_SIZE; } for (i = 0; i < module_inst->globals.n_elts; ++i) { module_types->globaltypes[i].valtype = module_inst->globals.elts[i]->value.type; module_types->globaltypes[i].mut = module_inst->globals.elts[i]->mut; } return 1; error: return 0; } struct ModuleInst *wasmjit_instantiate(const struct Module *module, size_t n_imports, const struct NamedModule *imports, char *why, size_t why_size) { uint32_t i; struct ModuleInst *module_inst = NULL; struct ModuleTypes module_types; struct FuncInst *tmp_func = NULL; struct TableInst *tmp_table = NULL; struct MemInst *tmp_mem = NULL; struct GlobalInst *tmp_global = NULL; void *unmapped = NULL, *mapped = NULL; struct MemoryReferences memrefs = {0, NULL}; size_t code_size; unsigned global_compile_flags; global_compile_flags = wasmjit_detect_retpoline_flags(); memset(&module_types, 0, sizeof(module_types)); module_inst = calloc(1, sizeof(*module_inst)); if (!module_inst) goto error; #define LVECTOR_GROW(sstack, n_elts) \ do { \ if (!VECTOR_GROW((sstack), (n_elts))) \ goto error; \ } \ while (0) for (i = 0; i < module->type_section.n_types; ++i) { LVECTOR_GROW(&module_inst->types, 1); module_inst->types.elts[module_inst->types.n_elts - 1] = module->type_section.types[i]; } /* load imports */ for (i = 0; i < module->import_section.n_imports; ++i) { size_t j; struct ImportSectionImport *import = &module->import_section.imports[i]; struct ModuleInst *import_module = NULL; /* look for import module */ for (j = 0; j < n_imports; ++j) { if (strcmp(imports[j].name, import->module)) continue; import_module = imports[j].module; } if (!import_module) { if (why) snprintf(why, why_size, "Couldn't find module: %s", import->module); goto error; } for (j = 0; j < import_module->exports.n_elts; ++j) { struct Export *export = &import_module->exports.elts[j]; if (strcmp(export->name, import->name)) continue; if (export->type != import->desc_type) { /* bad import type */ if (why) snprintf(why, why_size, "bad import type"); goto error; } switch (export->type) { case IMPORT_DESC_TYPE_FUNC: { struct FuncInst *funcinst = export->value.func; struct TypeSectionType *type = &module->type_section.types[import->desc.functypeidx]; if (!wasmjit_typecheck_func(type, funcinst)) { int ret; ret = snprintf(why, why_size, "Mismatched types for %s.%s: ", import->module, import->name); ret += func_sig_repr(why + ret, why_size - ret, &funcinst->type); ret += snprintf(why + ret, why_size - ret, " vs "); ret += func_sig_repr(why + ret, why_size - ret, type); goto error; } /* add funcinst to func table */ LVECTOR_GROW(&module_inst->funcs, 1); module_inst->funcs.elts[module_inst->funcs.n_elts - 1] = funcinst; module_inst->n_imported_funcs++; break; } case IMPORT_DESC_TYPE_TABLE: { struct TableInst *tableinst = export->value.table; if (!wasmjit_typecheck_table(&import->desc.tabletype, tableinst)) { if (why) snprintf(why, why_size, "Mismatched table import for import " "%s.%s: {%u, %zu,%zu} vs {%u, %" PRIu32 ",%" PRIu32 "}", import->module, import->name, tableinst->elemtype, tableinst->length, tableinst->max, import->desc.tabletype.elemtype, import->desc.tabletype.limits.min, import->desc.tabletype.limits.max); goto error; } /* add tableinst to table table */ LVECTOR_GROW(&module_inst->tables, 1); module_inst->tables.elts[module_inst->tables.n_elts - 1] = tableinst; module_inst->n_imported_tables++; break; } case IMPORT_DESC_TYPE_MEM: { struct MemInst *meminst = export->value.mem; if (!wasmjit_typecheck_memory(&import->desc.memtype, meminst)) { if (why) snprintf(why, why_size, "Mismatched memory size for import " "%s.%s: {%zu,%zu} vs {%" PRIu32 ",%" PRIu32 "}", import->module, import->name, meminst->size / WASM_PAGE_SIZE, meminst->max / WASM_PAGE_SIZE, import->desc.memtype.limits.min, import->desc.memtype.limits.max); goto error; } /* add meminst to mems table */ LVECTOR_GROW(&module_inst->mems, 1); module_inst->mems.elts[module_inst->mems.n_elts - 1] = meminst; module_inst->n_imported_mems++; break; } case IMPORT_DESC_TYPE_GLOBAL: { struct GlobalInst *globalinst = export->value.global; if (!wasmjit_typecheck_global(&import->desc.globaltype, globalinst)) { if (why) snprintf(why, why_size, "Mismatched global for import " "%s.%s: %s%s vs %s%s", import->module, import->name, wasmjit_valtype_repr(globalinst->value.type), globalinst->mut ? " mut" : "", wasmjit_valtype_repr(import->desc.globaltype.valtype), import->desc.globaltype.mut ? " mut" : ""); goto error; } /* add globalinst to globals tables */ LVECTOR_GROW(&module_inst->globals, 1); module_inst->globals.elts[module_inst->globals.n_elts - 1] = globalinst; module_inst->n_imported_globals++; break; } default: assert(0); break; } break; } if (j == import_module->exports.n_elts) { /* couldn't find import */ if (why) switch (import->desc_type) { case IMPORT_DESC_TYPE_FUNC: { int ret; struct TypeSectionType *type = &module->type_section.types[import->desc.functypeidx]; ret = snprintf(why, why_size, "couldn't find func import: %s.%s ", import->module, import->name); func_sig_repr(why + ret, why_size - ret, type); break; } case IMPORT_DESC_TYPE_TABLE: snprintf(why, why_size, "couldn't find table import: %s.%s", import->module, import->name); break; case IMPORT_DESC_TYPE_MEM: snprintf(why, why_size, "couldn't find memory import: %s.%s " "{%" PRIu32 ", %" PRIu32 "}", import->module, import->name, import->desc.memtype.limits.min, import->desc.memtype.limits.max); break; case IMPORT_DESC_TYPE_GLOBAL: snprintf(why, why_size, "couldn't find global import: %s.%s %s%s", import->module, import->name, wasmjit_valtype_repr(import->desc.globaltype.valtype), import->desc.globaltype.mut ? " mut" : ""); break; default: assert(0); break; } goto error; } } for (i = 0; i < module->function_section.n_typeidxs; ++i) { assert(tmp_func == NULL); tmp_func = calloc(1, sizeof(*tmp_func)); if (!tmp_func) goto error; tmp_func->module_inst = module_inst; tmp_func->compiled_code = NULL; tmp_func->invoker = NULL; tmp_func->type = module->type_section.types[module-> function_section.typeidxs[i]]; LVECTOR_GROW(&module_inst->funcs, 1); module_inst->funcs.elts[module_inst->funcs.n_elts - 1] = tmp_func; tmp_func = NULL; } for (i = 0; i < module->table_section.n_tables; ++i) { struct TableSectionTable *table = &module->table_section.tables[i]; assert(!table->limits.max || table->limits.min <= table->limits.max); assert(tmp_table == NULL); tmp_table = calloc(1, sizeof(*tmp_table)); if (!tmp_table) goto error; tmp_table->elemtype = table->elemtype; tmp_table->length = table->limits.min; tmp_table->max = table->limits.max; if (tmp_table->length) { tmp_table->data = calloc(tmp_table->length, sizeof(tmp_table->data[0])); if (!tmp_table->data) goto error; } LVECTOR_GROW(&module_inst->tables, 1); module_inst->tables.elts[module_inst->tables.n_elts - 1] = tmp_table; tmp_table = NULL; } for (i = 0; i < module->memory_section.n_memories; ++i) { struct MemorySectionMemory *memory = &module->memory_section.memories[i]; size_t size, max; assert(!memory->memtype.limits.max || memory->memtype.limits.min <= memory->memtype.limits.max); if (__builtin_umull_overflow(memory->memtype.limits.min, WASM_PAGE_SIZE, &size)) { goto error; } if (__builtin_umull_overflow(memory->memtype.limits.max, WASM_PAGE_SIZE, &max)) { goto error; } assert(tmp_mem == NULL); tmp_mem = calloc(1, sizeof(*tmp_mem)); if (!tmp_mem) goto error; if (size) { tmp_mem->data = calloc(size, 1); if (!tmp_mem->data) { free(tmp_mem); goto error; } } tmp_mem->size = size; tmp_mem->max = max; LVECTOR_GROW(&module_inst->mems, 1); module_inst->mems.elts[module_inst->mems.n_elts - 1] = tmp_mem; tmp_mem = NULL; } for (i = 0; i < module->global_section.n_globals; ++i) { struct GlobalSectionGlobal *global = &module->global_section.globals[i]; struct Value value; int rrr; rrr = read_constant_expression(module_inst, global->type.valtype, &value, global->n_instructions, global->instructions); if (!rrr) goto error; assert(tmp_global == NULL); tmp_global = calloc(1, sizeof(*tmp_global)); if (!tmp_global) goto error; tmp_global->value = value; tmp_global->mut = global->type.mut; LVECTOR_GROW(&module_inst->globals, 1); module_inst->globals.elts[module_inst->globals.n_elts - 1] = tmp_global; tmp_global = NULL; } for (i = 0; i < module->export_section.n_exports; ++i) { struct Export *exportinst; struct ExportSectionExport *export = &module->export_section.exports[i]; LVECTOR_GROW(&module_inst->exports, 1); exportinst = &module_inst->exports.elts[module_inst->exports.n_elts - 1]; exportinst->name = strdup(export->name); if (!exportinst->name) goto error; exportinst->type = export->idx_type; switch (export->idx_type) { case IMPORT_DESC_TYPE_FUNC: exportinst->value.func = module_inst->funcs.elts[export->idx]; break; case IMPORT_DESC_TYPE_TABLE: exportinst->value.table = module_inst->tables.elts[export->idx]; break; case IMPORT_DESC_TYPE_MEM: exportinst->value.mem = module_inst->mems.elts[export->idx]; break; case IMPORT_DESC_TYPE_GLOBAL: exportinst->value.global = module_inst->globals.elts[export->idx]; break; default: assert(0); break; } } for (i = 0; i < module->element_section.n_elements; ++i) { struct ElementSectionElement *element = &module->element_section.elements[i]; struct TableInst *tableinst; int rrr; struct Value value; size_t j; rrr = read_constant_expression(module_inst, VALTYPE_I32, &value, element->n_instructions, element->instructions); if (!rrr) goto error; assert(element->tableidx < module_inst->tables.n_elts); tableinst = module_inst->tables.elts[element->tableidx]; if (value.data.i32 + element->n_funcidxs > tableinst->length) goto error; for (j = 0; j < element->n_funcidxs; ++j) { assert(element->funcidxs[j] < module_inst->funcs.n_elts); tableinst->data[value.data.i32 + j] = module_inst->funcs.elts[element->funcidxs[j]]; } } if (!fill_module_types(module_inst, &module_types)) goto error; for (i = 0; i < module->code_section.n_codes; ++i) { struct CodeSectionCode *code = &module->code_section.codes[i]; struct FuncInst *funcinst; size_t j; funcinst = module_inst->funcs.elts[i + module_inst->n_imported_funcs]; if (memrefs.elts) { free(memrefs.elts); memrefs.n_elts = 0; memrefs.elts = NULL; } if (unmapped) free(unmapped); assert(mapped == NULL); unmapped = wasmjit_compile_function(module_inst->types.elts, &module_types, &funcinst->type, code, &memrefs, &code_size, &funcinst->stack_usage, global_compile_flags); if (!unmapped) goto error; mapped = wasmjit_map_code_segment(code_size); if (!mapped) goto error; memcpy(mapped, unmapped, code_size); /* resolve code references */ for (j = 0; j < memrefs.n_elts; ++j) { uint64_t val; switch (memrefs.elts[j].type) { case MEMREF_TYPE: val = (uintptr_t) &module_inst->types.elts[memrefs.elts[j].idx]; break; case MEMREF_FUNC: val = (uintptr_t) module_inst->funcs.elts[memrefs.elts[j].idx]; break; case MEMREF_TABLE: val = (uintptr_t) module_inst->tables.elts[memrefs.elts[j].idx]; break; case MEMREF_MEM: val = (uintptr_t) module_inst->mems.elts[memrefs.elts[j].idx]; break; case MEMREF_GLOBAL: val = (uintptr_t) module_inst->globals.elts[memrefs.elts[j].idx]; break; case MEMREF_RESOLVE_INDIRECT_CALL: val = (uintptr_t) &wasmjit_resolve_indirect_call; break; case MEMREF_TRAP: val = (uintptr_t) &wasmjit_trap; break; case MEMREF_STACK_TOP: val = (uintptr_t) &wasmjit_stack_top; break; default: assert(0); val = 0; break; } encode_le_uint64_t(val, &((char *) mapped)[memrefs.elts[j].code_offset]); } if (!wasmjit_mark_code_segment_executable(mapped, code_size)) { goto error; } funcinst->compiled_code = mapped; funcinst->compiled_code_size = code_size; mapped = NULL; /* also need an invoker */ { size_t invoker_size; if (unmapped) free(unmapped); assert(mapped == NULL); unmapped = wasmjit_compile_invoker(&funcinst->type, funcinst->compiled_code, &invoker_size, global_compile_flags); if (!unmapped) goto error; mapped = wasmjit_map_code_segment(code_size); if (!mapped) goto error; memcpy(mapped, unmapped, invoker_size); if (!wasmjit_mark_code_segment_executable(mapped, code_size)) goto error; funcinst->invoker = mapped; funcinst->invoker_size = invoker_size; mapped = NULL; } } for (i = 0; i < module->data_section.n_datas; ++i) { struct DataSectionData *data = &module->data_section.datas[i]; struct MemInst *meminst = module_inst->mems.elts[data->memidx]; struct Value value; int rrr; rrr = read_constant_expression(module_inst, VALTYPE_I32, &value, data->n_instructions, data->instructions); if (!rrr) goto error; if (data->buf_size > meminst->size) goto error; if (value.data.i32 > meminst->size - data->buf_size) goto error; memcpy(meminst->data + value.data.i32, data->buf, data->buf_size); } /* add start function */ if (module->start_section.has_start) { wasmjit_invoke_function(module_inst->funcs.elts[module->start_section.funcidx], NULL, NULL); } if (0) { error: if (module_inst) wasmjit_free_module_inst(module_inst); module_inst = NULL; } if (tmp_func) free(tmp_func); if (tmp_table) { if (tmp_table->data) free(tmp_table->data); free(tmp_table); } if (tmp_mem) { if (tmp_mem->data) free(tmp_mem->data); free(tmp_mem); } if (tmp_global) free(tmp_global); if (mapped) wasmjit_unmap_code_segment(mapped, code_size); if (unmapped) free(unmapped); if (memrefs.elts) free(memrefs.elts); if (module_types.functypes) free(module_types.functypes); if (module_types.tabletypes) free(module_types.tabletypes); if (module_types.memorytypes) free(module_types.memorytypes); if (module_types.globaltypes) free(module_types.globaltypes); return module_inst; }
26.471129
90
0.658272
8ed4829fc6355584c2becaee2696ac69a3230091
812
h
C
YahooCodingTest/YahooCodingTest/Backend/OpenWeatherMapAccess.h
ntdhat/YahooCodingTest
ba505bb955134d915127290e8ad7ca109884fd88
[ "MIT" ]
null
null
null
YahooCodingTest/YahooCodingTest/Backend/OpenWeatherMapAccess.h
ntdhat/YahooCodingTest
ba505bb955134d915127290e8ad7ca109884fd88
[ "MIT" ]
null
null
null
YahooCodingTest/YahooCodingTest/Backend/OpenWeatherMapAccess.h
ntdhat/YahooCodingTest
ba505bb955134d915127290e8ad7ca109884fd88
[ "MIT" ]
null
null
null
// // OpenWeatherMapAccess.h // YahooCodingTest // // Created by admin on 2/5/18. // Copyright © 2018 ntdhat. All rights reserved. // #import <Foundation/Foundation.h> @class CityWeatherModel; @interface OpenWeatherMapRequest: NSObject { NSString* _cityName; } @property (nonatomic, strong) NSString* cityName; +(OpenWeatherMapRequest*) requestByCity:(NSString*) cityName; @end typedef void(^OpenWeatherMapRequestCompletion)(id model, NSError* error); @interface OpenWeatherMapAccess : NSObject { NSMutableData *_responseData; } - (id)init; - (void)fetchCurrentWeatherDataByRequest:(OpenWeatherMapRequest*) req completion:(OpenWeatherMapRequestCompletion) completion; - (void)fetchForecastDataByRequest:(OpenWeatherMapRequest*) req completion:(OpenWeatherMapRequestCompletion) completion; @end
27.066667
126
0.783251
9bde4c0a518e99e338d7b4f14d7abfae56def1d4
7,499
c
C
solutions/test_aoshal/app/src/hal_test/gpio_test.c
1847123212/YoC-open
f4e20c67256472d863ea6d118e3ecbaa1e879d4a
[ "Apache-2.0" ]
9
2020-05-12T03:01:55.000Z
2021-08-12T10:22:31.000Z
solutions/test_aoshal/app/src/hal_test/gpio_test.c
1847123212/YoC-open
f4e20c67256472d863ea6d118e3ecbaa1e879d4a
[ "Apache-2.0" ]
null
null
null
solutions/test_aoshal/app/src/hal_test/gpio_test.c
1847123212/YoC-open
f4e20c67256472d863ea6d118e3ecbaa1e879d4a
[ "Apache-2.0" ]
12
2020-04-15T11:37:33.000Z
2021-09-13T13:19:04.000Z
/* * Copyright (C) 2019-2020 Alibaba Group Holding Limited */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <ctype.h> #include <aos/kernel.h> #include <aos/aos.h> #include <aos/hal/gpio.h> #include <soc.h> // #include <ulog/ulog.h> #include <yoc/atserver.h> #define GPIO_LED_IO PA24 #define GPIO_BUTTON_IO PA23 #define GPIO_BUTTON_IO_2 PA29 gpio_dev_t led, read1; gpio_dev_t button1; int entry_flag = 0; int timeout_flag = 0; void should_be_fail(int ret) { if (ret==0) { AT_BACK_ERR(); } } void should_be_pass(int ret) { if (ret!=0) { AT_BACK_ERR(); } } void button1_handler(void *arg) { entry_flag = 1; printf("enter button fun\n"); } void hal_gpio_api_test(void) { uint32_t value = 0; printf("start test\n"); int ret = -1; /* gpio port config */ led.port = GPIO_LED_IO; /* set as output mode */ led.config = OUTPUT_PUSH_PULL; /* configure GPIO with the given settings */ ret = hal_gpio_init(NULL); should_be_fail(ret); ret = hal_gpio_init(&led); should_be_pass(ret); ret = hal_gpio_output_low(NULL); should_be_fail(ret); ret = hal_gpio_output_low(&led); should_be_pass(ret); ret = hal_gpio_output_high(&led); should_be_pass(ret); ret = hal_gpio_input_get(NULL,NULL); should_be_fail(ret); ret = hal_gpio_finalize(&led); should_be_pass(ret); ret = hal_gpio_finalize(NULL); should_be_fail(ret); ret = hal_gpio_enable_irq(NULL, IRQ_TRIGGER_FALLING_EDGE, button1_handler, NULL); should_be_fail(ret); AT_BACK_OK(); } void hal_gpio_set_read(gpio_config_t led_config, gpio_config_t read_config, uint8_t led_port, uint8_t read_port) { uint32_t value = 2; printf("start test\n"); int ret = -1; /* gpio port config */ led.port = led_port; /* set as output mode */ led.config = led_config; /* configure GPIO with the given settings */ printf("led init\n"); ret = hal_gpio_init(&led); should_be_pass(ret); /* gpio port config */ read1.port = read_port; /* set as output mode */ read1.config = read_config; printf("read1 init\n"); ret = hal_gpio_init(&read1); should_be_pass(ret); /* output low */ printf("low\n"); ret = hal_gpio_output_low(&led); should_be_pass(ret); aos_msleep(1000); ret = hal_gpio_input_get(&read1,&value); should_be_pass(ret); if (value != 0) { hal_gpio_finalize(&led); hal_gpio_finalize(&read1); AT_BACK_ERR(); return; } /* output high */ printf("high\n"); ret = hal_gpio_output_high(&led); should_be_pass(ret); aos_msleep(1000); ret = hal_gpio_input_get(&read1,&value); should_be_pass(ret); if (value != 1) { printf("get high error\n"); hal_gpio_finalize(&led); hal_gpio_finalize(&read1); AT_BACK_ERR(); return; } /* output toggle */ printf("toggle\n"); ret = hal_gpio_output_toggle(&led); should_be_pass(ret); aos_msleep(1000); ret = hal_gpio_input_get(&read1,&value); should_be_pass(ret); if (value != 0) { printf("get toggle1 error\n"); hal_gpio_finalize(&led); hal_gpio_finalize(&read1); AT_BACK_ERR(); return; } printf("toggle\n"); ret = hal_gpio_output_toggle(&led); should_be_pass(ret); aos_msleep(1000); ret = hal_gpio_input_get(&read1,&value); should_be_pass(ret); if (value != 1) { printf("get toggle2 error\n"); hal_gpio_finalize(&led); hal_gpio_finalize(&read1); AT_BACK_ERR(); return; } hal_gpio_finalize(&led); hal_gpio_finalize(&read1); AT_BACK_OK(); } void TASK_contrl_gpio_test(void *arg) { printf("start test\n"); int ret = -1; /* gpio port config */ led.port = GPIO_LED_IO; /* set as output mode */ led.config = OUTPUT_PUSH_PULL; /* configure GPIO with the given settings */ printf("led init\n"); ret = hal_gpio_init(&led); should_be_pass(ret); /* output low */ printf("output contrl low\n"); hal_gpio_output_low(&led); aos_msleep(3000); printf("output contrl high\n"); hal_gpio_output_high(&led); aos_msleep(3000); printf("output contrl low\n"); hal_gpio_output_low(&led); timeout_flag = 1; } void hal_gpio_irq_test(int trigger) { timeout_flag = 0; entry_flag = 0; int ret = 0; /* input pin config */ button1.port = GPIO_BUTTON_IO; /* set as interrupt mode */ button1.config = IRQ_MODE; /* configure GPIO with the given settings */ printf("button1 init\n"); ret = hal_gpio_init(&button1); should_be_pass(ret); button1.config = INPUT_PULL_UP; ret = hal_gpio_init(&button1); if (ret != 0) { printf("gpio init error !\n"); AT_BACK_ERR(); return; } /* gpio interrupt config */ ret = hal_gpio_enable_irq(&button1, trigger, button1_handler, NULL); if (ret != 0) { printf("gpio irq enable error !\n"); } ret = aos_task_new("contrl_gpio", TASK_contrl_gpio_test, NULL, 1024); printf("timeout_flag=%d\n",timeout_flag); while(1) { printf("entry_flag=%d\n",entry_flag); if (entry_flag == 1) { ret = hal_gpio_disable_irq(&button1); should_be_pass(ret); ret = hal_gpio_clear_irq(&button1); should_be_pass(ret); AT_BACK_OK(); entry_flag = 0; return; } else if (timeout_flag == 1) { AT_BACK_ERR(); hal_gpio_disable_irq(&button1); hal_gpio_clear_irq(&button1); return; } } hal_gpio_finalize(&button1); } void test_hal_gpio(char *cmd, int type, char *data) { csi_pin_set_mux(PA24,4); csi_pin_set_mux(PA23,4); csi_pin_set_mux(PA29,4); if (strcmp((const char *)data, "'API'\0") == 0) { hal_gpio_api_test(); } else if (strcmp((const char *)data, "'SET1'\0") == 0) { hal_gpio_set_read(OUTPUT_PUSH_PULL, INPUT_PULL_UP, GPIO_LED_IO, GPIO_BUTTON_IO); } else if (strcmp((const char *)data, "'SET2'\0") == 0) { hal_gpio_set_read(OUTPUT_PUSH_PULL, INPUT_PULL_DOWN, GPIO_LED_IO, GPIO_BUTTON_IO_2); } else if (strcmp((const char *)data, "'SET3'\0") == 0) { hal_gpio_set_read(OUTPUT_PUSH_PULL, INPUT_HIGH_IMPEDANCE, GPIO_LED_IO, GPIO_BUTTON_IO); } else if (strcmp((const char *)data, "'SET4'\0") == 0) { hal_gpio_set_read(OUTPUT_OPEN_DRAIN_NO_PULL, INPUT_PULL_UP, GPIO_LED_IO, GPIO_BUTTON_IO); } else if (strcmp((const char *)data, "'SET5'\0") == 0) { hal_gpio_set_read(OUTPUT_OPEN_DRAIN_PULL_UP, INPUT_PULL_UP, GPIO_LED_IO, GPIO_BUTTON_IO); } else if (strcmp((const char *)data, "'IRQ_FALLING'\0") == 0) { hal_gpio_irq_test(IRQ_TRIGGER_FALLING_EDGE); } else if (strcmp((const char *)data, "'IRQ_RISING'\0") == 0) { hal_gpio_irq_test(IRQ_TRIGGER_RISING_EDGE); } else if (strcmp((const char *)data, "'IRQ_BOTH'\0") == 0) { hal_gpio_irq_test(IRQ_TRIGGER_BOTH_EDGES); } }
26.592199
113
0.593012
f8aeb3b61b81156c262305bf30c0afd3cf61d068
835
h
C
Model.h
jstrom2002/SoftwareRasterizer
e681cddde81fcce7188c582f7af23aa84ae50286
[ "Unlicense" ]
2
2020-10-20T02:21:23.000Z
2020-12-27T14:10:59.000Z
Model.h
jstrom2002/SoftwareRasterizer
e681cddde81fcce7188c582f7af23aa84ae50286
[ "Unlicense" ]
null
null
null
Model.h
jstrom2002/SoftwareRasterizer
e681cddde81fcce7188c582f7af23aa84ae50286
[ "Unlicense" ]
null
null
null
#pragma once #include "Triangle.h" #include "Material.h" #include <vector> #include <string> namespace SoftwareRasterizer { class Model { public: glm::vec3 position, rotation; float scale; std::vector<Triangle> m_Triangles; std::vector<Material> m_Materials; glm::vec3 bounds[2];//bounds[0] = minima, bounds[1] = maxima. Model(std::string filename); void Draw(cv::Mat& img, cv::Mat& imgZ, glm::mat4 P, glm::mat4 V, int w, int h, int frameCount, bool wireframeOn, bool cullFace, bool frontFaceCCW, bool depthTest, unsigned int& trianglesRendered); private: std::vector<std::string> m_MaterialNames; void LoadTriangles(std::string filename); void LoadMaterials(std::string filename); }; }
28.793103
81
0.617964
59bc1310f8305de83ef978c2685b26439fd26dd6
536
h
C
qmk/keyboards/shotgun_cp/shotgun_cp.h
Taro-Hayashi/Shotgun-CherryPie
97a174e7092123c20a2386ca4ddd569ce58112d5
[ "MIT" ]
4
2022-01-17T15:26:38.000Z
2022-03-30T14:34:03.000Z
qmk/keyboards/shotgun_cp/shotgun_cp.h
Taro-Hayashi/Shotgun-CherryPie
97a174e7092123c20a2386ca4ddd569ce58112d5
[ "MIT" ]
null
null
null
qmk/keyboards/shotgun_cp/shotgun_cp.h
Taro-Hayashi/Shotgun-CherryPie
97a174e7092123c20a2386ca4ddd569ce58112d5
[ "MIT" ]
2
2021-12-11T14:29:13.000Z
2022-03-14T00:13:07.000Z
// Copyright 2021 Hayashi (@w_vwbw) // SPDX-License-Identifier: GPL-2.0-or-later #pragma once #include "quantum.h" #define LAYOUT( \ k00, k01, k02, k03, \ k10, k11, k12, k13, \ k20, k21, k22, k23, \ k30, k31, k32, k33, \ k40, k41, k42, k43, \ r00, r01, r10, r11, r20, r21, \ r30, r31, r40, r41 \ ) { \ { k00, k01, k02, k03, r00, r01 }, \ { k10, k11, k12, k13, r10, r11 }, \ { k20, k21, k22, k23, r20, r21 }, \ { k30, k31, k32, k33, r30, r31 }, \ { k40, k41, k42, k43, r40, r41 } \ }
23.304348
44
0.514925
dd46bf950f02177300faf3690ef88e740051bd9a
20,497
c
C
src/unum/util/util.c
bmastbergen/unum-sdk
7a7cbd56b920e49dcb78897acba9b2c68721e551
[ "Apache-2.0" ]
null
null
null
src/unum/util/util.c
bmastbergen/unum-sdk
7a7cbd56b920e49dcb78897acba9b2c68721e551
[ "Apache-2.0" ]
null
null
null
src/unum/util/util.c
bmastbergen/unum-sdk
7a7cbd56b920e49dcb78897acba9b2c68721e551
[ "Apache-2.0" ]
null
null
null
// (c) 2017-2019 minim.co // unum helper utils code #include "unum.h" // Get firmware version string (has to be static string) char *util_fw_version() { #ifdef AGENT_VERSION_IS_FW_VERSION return VERSION; #else // AGENT_VERSION_IS_FW_VERSION return platform_fw_version(); #endif // AGENT_VERSION_IS_FW_VERSION } // Terminate agent. // err - ERROR_SUCCESS or ERROR_FAILURE (any non-zero value is // treated as ERROR_FAILURE) void util_shutdown(int err) { log("Terminating unum %s, error code %d\n", VERSION, err); if(err == EXIT_SUCCESS) { agent_exit(EXIT_SUCCESS); } // Any non-zero err value is treated as EXIT_FAILURE since only // EXIT_SUCCESS and EXIT_FAILURE indicate to the monitor process // that the termination is intended. agent_exit(EXIT_FAILURE); } // Restart agent (the function does not return to the caller) // reason - see enum unum_start_reason void util_restart(int reason) { log("Terminating unum %s, restart requested, reson %d\n", VERSION, reason); if(is_process_unmonitored()) { // ToDo: handle self restart log("The process is not monitored, restart manually\n"); } agent_exit(reason); } // Restart command from server void util_restart_from_server(void) { util_restart(UNUM_START_REASON_SERVER); } // Reboot the device void util_reboot(void) { #ifdef REBOOT_CMD char *reboot_cmd = REBOOT_CMD; log("Reboot using %s...\n", reboot_cmd); if(system(reboot_cmd) == 0) { sleep(15); } #endif // REBOOT_CMD log("Reboot using syscall...\n"); reboot(LINUX_REBOOT_CMD_RESTART); sleep(15); log("Failed to reboot, restarting the agent...\n"); util_restart(UNUM_START_REASON_REBOOT_FAIL); } // Factory reset the device (triggers reboot if successful) // Some platforms (like linux_generic) might just ignore it. void util_factory_reset(void) { #ifdef FACTORY_RESET_CMD char *factory_reset_cmd = FACTORY_RESET_CMD; log("%s: using %s\n", __func__, factory_reset_cmd); system(factory_reset_cmd); sleep(5); #else // FACTORY_RESET_CMD // The platform might provide the function otherwise it will be NULL // (it's declared weak) if(util_platform_factory_reset != NULL) { util_platform_factory_reset(); } #endif // FACTORY_RESET_CMD log("%s: not supported on the platform\n", __func__); } // Get the command output and trim by removing trailing '\n' and '\r' // characters // cmd - Command to execute // output - Command output buffer // max_out_len - Maximum lenghth or output buffer int util_get_cmd_output_and_trim(char *cmd, char *output, int max_out_len) { int pstatus; int ret = 0; if(util_get_cmd_output(cmd, output, max_out_len, &pstatus) > 0) { if(pstatus == 0) { // Chop CR/LF int len; while((len = strlen(output)) > 0 && (output[len - 1] == '\r' || output[len - 1] == '\n')) { output[len - 1] = 0; } } else { // Some error while getting the output, zero it memset(output, 0, max_out_len); ret = -1; } } return ret; } // Populate auth_info_key. This is an unique identifier // that isn't as easy to guess as the MAC // address. It can provide extra security during initial onboardning // for the platforms that support it. // auth_info_key - Auth Info key will be saved into this buffer if it exists // max_key_len - Max length of auth_info_key buffer #ifdef AUTH_INFO_GET_CMD void util_get_auth_info_key(char *auth_info_key, int max_key_len) { char *get_auth_info_key_cmd = AUTH_INFO_GET_CMD; if (util_get_cmd_output_and_trim(get_auth_info_key_cmd, auth_info_key, max_key_len) < 0) { log("%s: Failed to get the auth info key\n", __func__); } } #endif // AUTH_INFO_GET_CMD // Populate Serial Number. This is an unique identifier // that isn't as easy to guess as the MAC // address. It can provide extra security during initial onboardning // for the platforms that support it. // serail_num - Serial number will be saved into this buffer if it exists // max_sn_len - Max length of serial_num buffer #ifdef SERIAL_NUM_GET_CMD void util_get_serial_num(char *serial_num, int max_sn_len) { char *get_serial_num_cmd = SERIAL_NUM_GET_CMD; if (util_get_cmd_output_and_trim(get_serial_num_cmd, serial_num, max_sn_len) < 0) { log("%s: Failed to get Serial Number\n", __func__); } } #endif // SERIAL_NUM_GET_CMD // Return uptime in specified fractions of the second (rounded to the low) // Note: it's typically (but not necessarily) the same as uptime unsigned long long util_time(unsigned int fraction) { struct timespec t; unsigned long long l; // We might not have the define for CLOCK_MONOTONIC_RAW, but have the kernel // that supports it and given that we only compile for Linux the clock ID // is going to be the same. static int clock_id = 4; // CLOCK_MONOTONIC_RAW // If platform does not support it switch to CLOCK_MONOTONIC if(clock_gettime(clock_id, &t) < 0) { clock_id = CLOCK_MONOTONIC; clock_gettime(clock_id, &t); } l = (unsigned long long)t.tv_sec * fraction; l += ((unsigned long)t.tv_nsec) / (1000000000UL / fraction); return l; } // Sleep the specified number of milliseconds void util_msleep(unsigned int msecs) { struct timespec t; t.tv_sec = msecs / 1000; t.tv_nsec = (msecs % 1000) * 1000000; nanosleep(&t, NULL); } // Create a blank file // file - Name of the file // crmode - File Permissions int touch_file (char *file, mode_t crmode) { return creat(file, crmode); } // Save data from memory to a file, returns -1 if fails. // crmode - permissions for creating new files (see man 2 open) int util_buf_to_file(char *file, void *buf, int len, mode_t crmode) { int fd = open(file, O_CREAT|O_WRONLY|O_TRUNC, crmode); if(fd < 0) { log("%s: open(%s) error: %s\n", __func__, file, strerror(errno)); return -1; } if(write(fd, buf, len) != len) { log("%s: write to %s error: %s\n", __func__, file, strerror(errno)); close(fd); return -1; } close(fd); return 0; } // Read data from file to a buffer // file - Name of the file // buf - Buffer to save the data to // buf_size - Maximum size of the buffer // Returns: negative - error, use errno to get the error code // positive - number of bytes read or the file size if // buf_size was not large enough to read all size_t util_file_to_buf(char *file, char *buf, size_t buf_size) { size_t len = 0; int fd = open(file, O_RDONLY); if(fd < 0) { return -1; } len = read(fd, buf, buf_size); if(len < 0) { int err = errno; close(fd); errno = err; return -2; } struct stat st; if(fstat(fd, &st) == 0 && len < (size_t)st.st_size) { len = st.st_size; } close(fd); return len; } // Compare two files. // Parameters: // file1, file2 - pathnames of the files to compare // must_exist - flag that tells the functon how to treat the non-existent files, // if TRUE both files must exist, if FALSE the non-existen files // are treated as empty. // Returns: TRUE - files match, FALSE - differ, negative - error accesing // file(s) (-1 - file1, -2 - file2) int util_cmp_files_match(char *file1, char *file2, int must_exist) { struct stat st1, st2; unsigned char buf1[512]; unsigned char buf2[512]; long file1_len, file2_len; file1_len = file2_len = 0; if(stat(file1, &st1) == 0) { file1_len = st1.st_size; } else if(must_exist || errno != ENOENT) { return -1; } if(stat(file2, &st2) == 0) { file2_len = st2.st_size; } else if(must_exist || errno != ENOENT) { return -2; } if(file1_len != file2_len) { return FALSE; } else if(file1_len == 0) { return TRUE; } do{ // open files FILE *fd1 = fopen(file1, "r"); FILE *fd2 = fopen(file2, "r"); int status = 0; // read files into memory int len1 = fread(buf1, sizeof(char), file1_len, fd1); int len2 = fread(buf2, sizeof(char), file2_len, fd2); // finish with null terminator buf1[++len1] = '\0'; buf2[++len2] = '\0'; // close files fclose(fd1); fclose(fd2); // compare buffers status = memcmp(buf1, buf2, 512); if(status == 0) { return TRUE; } return FALSE; } while(0); } // Replace CR/LF w/ LF in a string void util_fix_crlf(char *str_in) { char *str; if(!str_in) { return; } for(str = strstr(str_in, "\r\n"); str; str = strstr(str, "\r\n")) { memmove(str, str + 1, strlen(str)); } return; } // In general it is similar to system() call, but it does not change any // signal handlers. // It also allows to specify callback "cb" and time period in sconds // after which to call that callback. Parameters: // cmd - the commapd line to pass to shell // cb_time - positive - specifies time in seconds till callback is called, // 0 - call unconditionally after fork() (if process is created), // negative - the callback calling is disabled // cb - pointer to the callback function (see below), NULL - no call // cb_prm - parameter to pass to the callback function // // The UTIL_SYSTEM_CB_t callback is passed in the following parameters: // pid - PID of the running process // elapsed - the time in seconds since the command started // cb_prm - caller's parameter (void pointer) // The callback return value can be negative to disable future calling. // If the value is positive it specifies the number of seconds till the // next call to the callback (0 still means call in 1 second). int util_system_wcb(char *cmd, int cb_time, UTIL_SYSTEM_CB_t cb, void *cb_prm) { int ret, pid, status; unsigned int time_count = 0; int timeout = cb_time; if(!cmd) { return 1; } if((pid = fork()) < 0) { return -1; } if(pid == 0) { execl("/bin/sh", "sh", "-c", cmd, NULL); _exit(127); } // See if we need to make the callack on startup call if(cb != NULL && timeout == 0) { timeout = cb(pid, time_count, cb_prm); } for(;;) { ret = waitpid(pid, &status, WNOHANG); if(ret == pid) { return status; } else if(ret < 0) { return -1; } sleep(1); ++time_count; if(cb != NULL && timeout >= 0 && time_count >= timeout) { ret = cb(pid, time_count, cb_prm); if(ret < 0) { timeout = ret; } else { timeout = time_count + ret; } } } return -1; } // In general it is similar to system() call, but tries to kill the // command being waited for if the timeout (in seconds) is reached // and it does not change any signal handlers. // If pid_file is not NULL the function tries to store in that file // the PID of the running process while it is executing. static int util_system_cb(int pid, unsigned int elapsed, void *cb_ptr) { void **params = cb_ptr; unsigned int timeout = *((unsigned int *)(*params)); char *pid_file = (char *)(*(params + 1)); FILE *f = NULL; // Handle the first call after creating the process if(elapsed == 0) { if(pid_file && (f = fopen(pid_file, "w")) != NULL) { fprintf(f, "%d", pid); fclose(f); f = NULL; } return (signed int)timeout; } // Handle the second call (could be only due to the timeout) kill(pid, SIGKILL); return -1; } int util_system(char *cmd, unsigned int timeout, char *pid_file) { void *params[] = { &timeout, pid_file }; int ret = util_system_wcb(cmd, 0, util_system_cb, (void *)params); // Get rid of the PID file if(pid_file) { unlink(pid_file); } return ret; } // Call cmd in shell and capture its stdout in a buffer. // Returns: negative if fails to start cmd (see errno for the error code), the // length of the captured info (excluding terminating 0) if success. // If the returned value is not negative the pstatus (unless NULL) // contains command execution status (zero if the command terminated // with status 0, negative if error). // If the buffer is too short the remainig output is ignored. // The captured output is always zero-terminated. int util_get_cmd_output(char *cmd, char *buf, int buf_len, int *pstatus) { int len = 0; FILE *fp = popen(cmd, "r"); if(fp == NULL) { return -1; } while(fgets(buf + len, buf_len - len, fp) != NULL) { len += strlen(buf + len); // fgets always reads a max of size - 1 // So compare length with buf_len - 1. // Otherwise, we will end-up in an infintie loop when len = buf_len - 1 if(len >= (buf_len - 1)) { // Run out of the buffer space while(fgetc(fp) != EOF); break; } } int ret = pclose(fp); if(pstatus != NULL) { *pstatus = ret; } return len; } // Seed for the hash function (set at init and must stay constant) static unsigned int hash_seed; // Hash function // dptr - ptr to data, must be 4-bytes aligned // len - length of data // Returns: 32 bit hash unsigned int util_hash(void *dptr, int len) { unsigned char *data = (unsigned char *)dptr; unsigned int m = 0x5bd1e995; int r = 24; unsigned int h = hash_seed ^ len; while(len >= 4) { unsigned int k; k = *((unsigned int *)data); k *= m; k ^= k >> r; k *= m; h *= m; h ^= k; data += 4; len -= 4; } switch(len) { case 3: h ^= data[2] << 16; case 2: h ^= data[1] << 8; case 1: h ^= data[0]; h *= m; }; h ^= h >> 13; h *= m; h ^= h >> 15; return h; } // Clean up multiple tabs & spaces from a string // str - ptr to the string to clean up void util_cleanup_str(char *str) { int len = strlen(str) + 1; int ii, spaces; spaces = 0; for(ii = 0; ii < len; ++ii) { if(str[ii] == ' ' || str[ii] == '\t') { spaces++; continue; } if(spaces <= 1) { spaces = 0; continue; } memmove(&str[ii - (spaces - 1)], &str[ii], len - ii); len -= (spaces - 1); ii -= (spaces - 1); spaces = 0; } return; } // Configure the agent to the specified operation mode // opmode - the operation mode string pointer // Returns: 0 - success, negative - error setting the opmode // Note: this function is called from command line procesing routines // before any init is done (i.e. even the log msgs would go to stdout) int util_set_opmode(char *opmode) { int skip_generic_check = FALSE; int new_flags = 0; char *new_mode = NULL; // QCA mesh devices (only support QCA mesh AP/GW modes) #if defined(FEATURE_MESH_QCA) if(strcmp(opmode, UNUM_OPMS_MESH_QCA_GW) == 0) { new_flags = UNUM_OPM_GW | UNUM_OPM_MESH_QCA; new_mode = UNUM_OPMS_MESH_QCA_GW; } else if(strcmp(opmode, UNUM_OPMS_MESH_QCA_AP) == 0) { new_flags = UNUM_OPM_AP | UNUM_OPM_MESH_QCA; new_mode = UNUM_OPMS_MESH_QCA_AP; } else { // Unrecognized mode, keeping the flags unchanged // Mesh cannot be disabled for FEATURE_MESH_QCA return -1; } skip_generic_check = TRUE; #endif // FEATURE_MESH_QCA // MTK EasyMesh devices (only support, currently different HW kinds for // router and extenders, each supports only its own mode of operation) #if defined(FEATURE_MTK_EASYMESH) # if !defined(FEATURE_LAN_ONLY) if(strcmp(opmode, UNUM_OPMS_MTK_EM_GW) == 0) { new_flags = UNUM_OPM_GW | UNUM_OPM_MTK_EM; new_mode = UNUM_OPMS_MTK_EM_GW; } else # endif // !FEATURE_LAN_ONLY # if defined(FEATURE_AP_MODE) || defined(FEATURE_LAN_ONLY) if(strcmp(opmode, UNUM_OPMS_MTK_EM_AP) == 0) { new_flags = UNUM_OPM_AP | UNUM_OPM_MTK_EM; new_mode = UNUM_OPMS_MTK_EM_AP; } else # endif // defined(FEATURE_AP_MODE) || defined(FEATURE_LAN_ONLY) { // Unrecognized mode, keeping the flags unchanged // Mesh cannot be disabled for FEATURE_MTK_EASYMESH return -1; } skip_generic_check = TRUE; #endif // FEATURE_MTK_EASYMESH // Managed device (only supports its own mode of operation) #if defined(FEATURE_MANAGED_DEVICE) if(strcmp(opmode, UNUM_OPMS_MD) == 0) { new_flags = UNUM_OPM_MD; new_mode = UNUM_OPMS_MD; } else { // Unrecognized mode, keeping the flags unchanged // Mesh cannot be disabled for FEATURE_MANAGED_DEVICE return -1; } skip_generic_check = TRUE; #endif // FEATURE_MANAGED_DEVICE // 802.11s mesh, can be turned on and off #if defined(FEATURE_MESH_11S) # if !defined(FEATURE_LAN_ONLY) if(strcmp(opmode, UNUM_OPMS_MESH_11S_GW) == 0) { new_flags = UNUM_OPM_GW | UNUM_OPM_MESH_11S; new_mode = UNUM_OPMS_MESH_11S_GW; skip_generic_check = TRUE; } else # endif // !FEATURE_LAN_ONLY if(strcmp(opmode, UNUM_OPMS_MESH_11S_AP) == 0) { new_flags = UNUM_OPM_AP | UNUM_OPM_MESH_11S; new_mode = UNUM_OPMS_MESH_11S_AP; skip_generic_check = TRUE; } #endif // FEATURE_MESH_11S // Check for generic modes of operation. // First see if we've already found the mode name match and // no longer need to check for the generic modes. if(skip_generic_check) { // Nothing to do here, new_flags, new_mode should be set already } else #if !defined(FEATURE_LAN_ONLY) if(strcmp(opmode, UNUM_OPMS_GW) == 0) { new_flags = UNUM_OPM_GW; new_mode = UNUM_OPMS_GW; } else #endif // !FEATURE_LAN_ONLY #if defined(FEATURE_AP_MODE) || defined(FEATURE_LAN_ONLY) if(strcmp(opmode, UNUM_OPMS_AP) == 0) { new_flags = UNUM_OPM_AP; new_mode = UNUM_OPMS_AP; } else #endif // FEATURE_AP_MODE || FEATURE_LAN_ONLY { // Unrecognized mode, keeping the flags unchanged return -1; } // If opmode change is requested after the setup stage of the init is done // let the platform handle the opmode change (it might need to do something // special or limit possible changes) if(init_level_completed >= INIT_LEVEL_SETUP && strcmp(unum_config.opmode, new_mode) != 0 && platform_change_opmode != NULL && platform_change_opmode(unum_config.opmode_flags, new_flags) != 0) { return -2; } // All checks passed, change opmode unum_config.opmode = new_mode; unum_config.opmode_flags = new_flags; return 0; } // Subsystem init function int util_init(int level) { int ret = 0; // If platform implemented its own init routine, call it if(util_platform_init != NULL) { ret |= util_platform_init(level); } // Initialize random number generator if(level == INIT_LEVEL_RAND) { unsigned int seed = 0; unsigned int a, b, c, d; char *mac; if((mac = util_device_mac()) != NULL) { sscanf(mac, "%*02x:%*02x:%02x:%02x:%02x:%02x", &a, &b, &c, &d); seed = a | (b << 8) | (c << 16) | (d << 24); } seed += (unsigned int)util_time(1000000000); srand(seed); // Initialize the seed for the hash function hash_seed = rand(); } // Init default server list if(level == INIT_LEVEL_SETUP) { ret |= util_get_servers(TRUE); } // Get ready to work with threads. This has to be run in // the process main thread before util jobs APIs are used. if(level == INIT_LEVEL_THREADS) { util_init_thrd_key(); ret |= util_set_main_thrd(); } // Init timers subsystem (Note: requires threads) if(level == INIT_LEVEL_TIMERS) { ret |= util_timers_init(); } return ret; }
29.281429
80
0.613553
970dcad250eaa4e9879d9745c840120cb9838fa0
800
h
C
examples/0110-facade-class-and-rtti/exp/example.h
satya-das/cib
369333ea58b0530b8789a340e21096ba7d159d0e
[ "MIT" ]
30
2018-03-05T17:35:29.000Z
2022-03-17T18:59:34.000Z
examples/0110-facade-class-and-rtti/exp/example.h
satya-das/cib
369333ea58b0530b8789a340e21096ba7d159d0e
[ "MIT" ]
2
2016-05-26T04:47:13.000Z
2019-02-15T05:17:43.000Z
examples/0110-facade-class-and-rtti/exp/example.h
satya-das/cib
369333ea58b0530b8789a340e21096ba7d159d0e
[ "MIT" ]
5
2019-02-15T05:09:22.000Z
2021-04-14T12:10:16.000Z
#pragma once #include "__zz_cib_internal/example-predef.h" class Facade { public: Facade(Facade&& rhs); public: virtual void F() = 0; virtual ~Facade(); protected: Facade(); private: __ZZ_CIB_FACADE_CLASS_INTERNALS(Facade, Facade); }; class PublicFacadeImpl : public ::Facade { public: PublicFacadeImpl(PublicFacadeImpl&& rhs); public: PublicFacadeImpl(const PublicFacadeImpl&); ~PublicFacadeImpl(); PublicFacadeImpl(); virtual void F(); private: __ZZ_CIB_PROXY_CLASS_INTERNALS(PublicFacadeImpl, PublicFacadeImpl); }; class A { public: A(A&& rhs); public: A(const A&); ~A(); A(); Facade* PublicFacade(); Facade* PrivateFacade1(); Facade* PrivateFacade2(); private: __ZZ_CIB_PROXY_CLASS_INTERNALS(A, A); }; #include "__zz_cib_internal/example-postdef.h"
16
69
0.71875
971afc2ea4b4a29f9ce0025d87c951da5c6e5584
8,578
h
C
third_party/virtualbox/src/VBox/Additions/x11/x11include/xorg-server-1.6.5/exevents.h
Fimbure/icebox-1
0b81992a53e1b410955ca89bdb6f8169d6f2da86
[ "MIT" ]
521
2019-03-29T15:44:08.000Z
2022-03-22T09:46:19.000Z
third_party/virtualbox/src/VBox/Additions/x11/x11include/xorg-server-1.6.5/exevents.h
Fimbure/icebox-1
0b81992a53e1b410955ca89bdb6f8169d6f2da86
[ "MIT" ]
30
2019-06-04T17:00:49.000Z
2021-09-08T20:44:19.000Z
third_party/virtualbox/src/VBox/Additions/x11/x11include/xorg-server-1.6.5/exevents.h
Fimbure/icebox-1
0b81992a53e1b410955ca89bdb6f8169d6f2da86
[ "MIT" ]
99
2019-03-29T16:04:13.000Z
2022-03-28T16:59:34.000Z
/************************************************************ Copyright 1996 by Thomas E. Dickey <dickey@clark.net> All Rights Reserved Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation, and that the name of the above listed copyright holder(s) not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission. THE ABOVE LISTED COPYRIGHT HOLDER(S) DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ********************************************************/ /******************************************************************** * Interface of 'exevents.c' */ #ifndef EXEVENTS_H #define EXEVENTS_H #include <X11/extensions/XIproto.h> /** * Attached to the devPrivates of each client. Specifies the version number as * supported by the client. */ typedef struct _XIClientRec { int major_version; int minor_version; } XIClientRec, *XIClientPtr; extern void RegisterOtherDevice ( DeviceIntPtr /* device */); extern int UpdateDeviceState ( DeviceIntPtr /* device */, xEventPtr /* xE */, int /* count */); extern void ProcessOtherEvent ( xEventPtr /* FIXME deviceKeyButtonPointer * xE */, DeviceIntPtr /* other */, int /* count */); extern int InitProximityClassDeviceStruct( DeviceIntPtr /* dev */); extern void InitValuatorAxisStruct( DeviceIntPtr /* dev */, int /* axnum */, int /* minval */, int /* maxval */, int /* resolution */, int /* min_res */, int /* max_res */); extern void DeviceFocusEvent( DeviceIntPtr /* dev */, int /* type */, int /* mode */, int /* detail */, WindowPtr /* pWin */); extern int GrabButton( ClientPtr /* client */, DeviceIntPtr /* dev */, BYTE /* this_device_mode */, BYTE /* other_devices_mode */, CARD16 /* modifiers */, DeviceIntPtr /* modifier_device */, CARD8 /* button */, Window /* grabWindow */, BOOL /* ownerEvents */, Cursor /* rcursor */, Window /* rconfineTo */, Mask /* eventMask */); extern int GrabKey( ClientPtr /* client */, DeviceIntPtr /* dev */, BYTE /* this_device_mode */, BYTE /* other_devices_mode */, CARD16 /* modifiers */, DeviceIntPtr /* modifier_device */, CARD8 /* key */, Window /* grabWindow */, BOOL /* ownerEvents */, Mask /* mask */); extern int SelectForWindow( DeviceIntPtr /* dev */, WindowPtr /* pWin */, ClientPtr /* client */, Mask /* mask */, Mask /* exclusivemasks */, Mask /* validmasks */); extern int AddExtensionClient ( WindowPtr /* pWin */, ClientPtr /* client */, Mask /* mask */, int /* mskidx */); extern void RecalculateDeviceDeliverableEvents( WindowPtr /* pWin */); extern int InputClientGone( WindowPtr /* pWin */, XID /* id */); extern int SendEvent ( ClientPtr /* client */, DeviceIntPtr /* d */, Window /* dest */, Bool /* propagate */, xEvent * /* ev */, Mask /* mask */, int /* count */); extern int SetButtonMapping ( ClientPtr /* client */, DeviceIntPtr /* dev */, int /* nElts */, BYTE * /* map */); extern int SetModifierMapping( ClientPtr /* client */, DeviceIntPtr /* dev */, int /* len */, int /* rlen */, int /* numKeyPerModifier */, KeyCode * /* inputMap */, KeyClassPtr * /* k */); extern void SendDeviceMappingNotify( ClientPtr /* client, */, CARD8 /* request, */, KeyCode /* firstKeyCode */, CARD8 /* count */, DeviceIntPtr /* dev */); extern int ChangeKeyMapping( ClientPtr /* client */, DeviceIntPtr /* dev */, unsigned /* len */, int /* type */, KeyCode /* firstKeyCode */, CARD8 /* keyCodes */, CARD8 /* keySymsPerKeyCode */, KeySym * /* map */); extern void DeleteWindowFromAnyExtEvents( WindowPtr /* pWin */, Bool /* freeResources */); extern int MaybeSendDeviceMotionNotifyHint ( deviceKeyButtonPointer * /* pEvents */, Mask /* mask */); extern void CheckDeviceGrabAndHintWindow ( WindowPtr /* pWin */, int /* type */, deviceKeyButtonPointer * /* xE */, GrabPtr /* grab */, ClientPtr /* client */, Mask /* deliveryMask */); extern void MaybeStopDeviceHint( DeviceIntPtr /* dev */, ClientPtr /* client */); extern int DeviceEventSuppressForWindow( WindowPtr /* pWin */, ClientPtr /* client */, Mask /* mask */, int /* maskndx */); extern void SendEventToAllWindows( DeviceIntPtr /* dev */, Mask /* mask */, xEvent * /* ev */, int /* count */); /* Input device properties */ extern void XIDeleteAllDeviceProperties( DeviceIntPtr /* device */ ); extern int XIDeleteDeviceProperty( DeviceIntPtr /* device */, Atom /* property */, Bool /* fromClient */ ); extern int XIChangeDeviceProperty( DeviceIntPtr /* dev */, Atom /* property */, Atom /* type */, int /* format*/, int /* mode*/, unsigned long /* len*/, pointer /* value*/, Bool /* sendevent*/ ); extern int XIGetDeviceProperty( DeviceIntPtr /* dev */, Atom /* property */, XIPropertyValuePtr* /* value */ ); extern int XISetDevicePropertyDeletable( DeviceIntPtr /* dev */, Atom /* property */, Bool /* deletable */ ); extern long XIRegisterPropertyHandler( DeviceIntPtr dev, int (*SetProperty) (DeviceIntPtr dev, Atom property, XIPropertyValuePtr prop, BOOL checkonly), int (*GetProperty) (DeviceIntPtr dev, Atom property), int (*DeleteProperty) (DeviceIntPtr dev, Atom property) ); extern _X_EXPORT void XIUnregisterPropertyHandler( DeviceIntPtr dev, long id ); extern Atom XIGetKnownProperty( char* name ); extern DeviceIntPtr XIGetDevice(xEvent *ev); extern _X_EXPORT int XIPropToInt( XIPropertyValuePtr val, int *nelem_return, int **buf_return ); extern _X_EXPORT int XIPropToFloat( XIPropertyValuePtr val, int *nelem_return, float **buf_return ); #endif /* EXEVENTS_H */
32.127341
78
0.485894
e163c0b83b8b123c8f1817a99e1de5e1926dd75e
743
h
C
include/BitOperating.h
n-fallahinia/UoU_soft_v1.3
c7bd57825416a4bf8ef308d94a3572d41130d475
[ "MIT" ]
null
null
null
include/BitOperating.h
n-fallahinia/UoU_soft_v1.3
c7bd57825416a4bf8ef308d94a3572d41130d475
[ "MIT" ]
null
null
null
include/BitOperating.h
n-fallahinia/UoU_soft_v1.3
c7bd57825416a4bf8ef308d94a3572d41130d475
[ "MIT" ]
null
null
null
#ifndef BITOPERATING_H #define BITOPERATING_H //#include <conio.h> #include <iostream> using namespace std; //All index start from 0 #define BIT(x) (1 << (x)) //Set bit to 1 at x and the rest as 0 #define SETBITS(x,y) ((x) |= (y)) //Set bit to 1 as the bit in y is 1 #define CLEARBITS(x,y) ((x) &= (~(y))) //Set bit to 0 as the bit in y is 1 #define SETBIT(x,y) SETBITS((x), (BIT((y)))) //Set a bit y to 1 #define CLEARBIT(x,y) CLEARBITS((x), (BIT((y)))) #define BITSET(x,y) ((x) & (BIT(y))) #define BITCLEAR(x,y) !BITSET((x), (y)) #define BITSSET(x,y) (((x) & (y)) == (y)) #define BITSCLEAR(x,y) (((x) & (y)) == 0) #define BITVAL(x,y) (((x)>>(y)) & 1) void showBits(unsigned char); int countOnes(unsigned char); #endif
29.72
77
0.592194
dc2d68001cc06bde2f45fd12755207317a1e54a8
562
h
C
src/Message.h
hptroniccz/pulsar-client-phpcpp
78f496555a43468758e2a1602f94126d6fcb5cf0
[ "MIT" ]
15
2020-01-17T07:51:49.000Z
2021-12-17T10:27:36.000Z
src/Message.h
tspannhw/pulsar-client-phpcpp
0b1213fa0c0d8df8a84d56818459a562fe66832d
[ "MIT" ]
2
2020-10-16T09:03:29.000Z
2021-09-26T16:45:04.000Z
src/Message.h
tspannhw/pulsar-client-phpcpp
0b1213fa0c0d8df8a84d56818459a562fe66832d
[ "MIT" ]
7
2020-09-22T07:18:49.000Z
2022-02-09T13:35:50.000Z
#pragma once #include <phpcpp.h> #include <pulsar/Message.h> class Message : public Php::Base { public: pulsar::Message message; Message() {} Message(pulsar::Message msg); Php::Value getDataAsString(); // Php::Value getProperties(); // Php::Value hasProperty(Php::Parameters &params); // Php::Value getProperty(Php::Parameters &params); // Php::Value getMessageId(); // Php::Value getPartitionKey(Php::Parameters &params); // Php::Value hasPartitionKey(); }; void registerMessage(Php::Namespace &pulsarNamespace);
23.416667
59
0.670819