language
stringclasses
1 value
code
stringlengths
6
12.3k
avg_line_length
float64
2.79
91
line_count
float64
1
367
lang_specific_parse
stringlengths
60
1.08M
ast_node_count
int64
2
6.81k
num_errors
int64
0
499
universal_schema
stringlengths
799
825k
__index_level_0__
int64
0
81.2k
c
#pragma once #include "LocalToParentSystem.h" #include "ParentSystem.h" #include "RotationEulerSystem.h" #include "TRSToLocalToParentSystem.h" #include "TRSToLocalToWorldSystem.h" #include "WorldToLocalSystem.h"
29.29
7
(translation_unit) "#pragma once\n\n#include "LocalToParentSystem.h"\n#include "ParentSystem.h"\n#include "RotationEulerSystem.h"\n#include "TRSToLocalToParentSystem.h"\n#include "TRSToLocalToWorldSystem.h"\n#include "WorldToLocalSystem.h"\n" (preproc_call) "#pragma once\n" (preproc_directive) "#pragma" (prep...
40
0
{"language": "c", "success": true, "metadata": {"lines": 7, "avg_line_length": 29.29, "nodes": 21, "errors": 0, "source_hash": "0ea74b84f4a3513523fc761fea1eca261d4cd114374b107731ec185afc93b12b", "categorized_nodes": 19}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma on...
2,800
c
#pragma once #include <Winsock2.h> inline unsigned int MGEVIPCreate(const unsigned int a, const unsigned int b, const unsigned int c, const unsigned int d) { return a | (b << 8) | (c << 16) | (d << 24); } class MGEVUDPCallBack { public: virtual void Recv(unsigned int pn, unsigned char * p) = 0; }; class MGEVUDP {...
25.01
112
(translation_unit) "#pragma once\n\n#include <Winsock2.h>\n\ninline unsigned int MGEVIPCreate(const unsigned int a, const unsigned int b, const unsigned int c, const unsigned int d)\n{\n return a | (b << 8) | (c << 16) | (d << 24);\n}\n\nclass MGEVUDPCallBack\n{\npublic:\n virtual void Recv(unsigned int pn, unsigned ch...
1,008
16
{"language": "c", "success": true, "metadata": {"lines": 112, "avg_line_length": 25.01, "nodes": 623, "errors": 0, "source_hash": "d66879a83b7b76afc613996c3304d95596f0f2c1b90038d29138e69055e899bc", "categorized_nodes": 423}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragm...
2,801
c
/* * Copyright (c) 2017-2019 Cisco and/or its affiliates. * 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 appl...
35.99
67
(translation_unit) "/*\n * Copyright (c) 2017-2019 Cisco and/or its affiliates.\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at:\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *...
91
0
{"language": "c", "success": true, "metadata": {"lines": 67, "avg_line_length": 35.99, "nodes": 66, "errors": 0, "source_hash": "0cc3d83b66f74c807c9f4ff029be5385f6bc8437ee3f4f100bf8041265c61bb3", "categorized_nodes": 45}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
2,802
c
#include <stdlib.h> extern char *getenv(const char *name); extern int foo(); extern int bar(); struct t { char *taint[2]; }; struct s { int a; struct t b; }; int main() { struct s str_array[2][2]; if (getenv("gude") != NULL) { struct s str_array_temp; str_array[0][0] = str_array...
21.54
28
(translation_unit) "#include <stdlib.h>\n\nextern char *getenv(const char *name);\nextern int foo();\nextern int bar();\n\nstruct t {\n char *taint[2];\n};\n\nstruct s {\n int a;\n struct t b;\n};\n\nint\nmain()\n{\n struct s str_array[2][2];\n\n if (getenv("gude") != NULL) {\n struct s str_array_...
301
0
{"language": "c", "success": true, "metadata": {"lines": 28, "avg_line_length": 21.54, "nodes": 194, "errors": 0, "source_hash": "a4d095c9ce483421dbc1719056767f4c9d7417e65c7bb9faf8ef08d6041e1da2", "categorized_nodes": 140}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
2,803
c
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ /* * FPGA Virtual to Physical Near-Memory Mapping Helper * * Copyright 2020 Intel Corporation, Inc. * * Authors: * <NAME> <<EMAIL> * * This driver may eventually provide the framework for managing virtual to * physical translation in an FPGA. For...
27.92
274
(translation_unit) "/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */\n/*\n * FPGA Virtual to Physical Near-Memory Mapping Helper\n *\n * Copyright 2020 Intel Corporation, Inc.\n *\n * Authors:\n * <NAME> <<EMAIL>\n *\n * This driver may eventually provide the framework for managing virtual to\n * physic...
1,995
7
{"language": "c", "success": true, "metadata": {"lines": 274, "avg_line_length": 27.92, "nodes": 1300, "errors": 0, "source_hash": "2a9830d721e6ff2460918066a7cbd357942d9b11f281822e6e5a8f5e74035307", "categorized_nodes": 942}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#i...
2,804
c
#include <stdio.h> int main(){ int a,b,c; a=5;b=10; c=a+b; printf("The addition of two numbers is %d",c); printf("\n%d",0%1); printf("\n"); return 0; }
15.45
11
(translation_unit) "#include <stdio.h>\n\n\nint main(){\n\n int a,b,c;\n a=5;b=10;\n c=a+b;\n\n printf("The addition of two numbers is %d",c);\n printf("\n%d",0%1);\n\n printf("\n");\n return 0;\n}" (preproc_include) "#include <stdio.h>\n" (#include) "#include" (system_lib_string) "<stdio...
88
0
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 15.45, "nodes": 49, "errors": 0, "source_hash": "38c24946fda4c17e3854df7c6e774bb71cb6231cd657b7c87a71dfd422c1147d", "categorized_nodes": 36}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
2,805
c
int printf(); int strcmp(); struct test{ int x; int y; int z; int v; int w; char* name; }; char* str = "Hello."; struct test *t0; int judge(struct test *arg){ if(arg->x != 2) return -1; if(arg->y != 4) return -1; if(arg->z != 6) return -1; if(strcmp(arg->name, str)) return -1...
17.29
52
(translation_unit) "int printf();\nint strcmp();\n\nstruct test{\n int x;\n int y;\n int z;\n int v;\n int w;\n char* name;\n};\n\nchar* str = "Hello.";\nstruct test *t0;\n\nint judge(struct test *arg){\n if(arg->x != 2) return -1;\n if(arg->y != 4) return -1;\n if(arg->z != 6) return -1;\n ...
477
0
{"language": "c", "success": true, "metadata": {"lines": 52, "avg_line_length": 17.29, "nodes": 284, "errors": 0, "source_hash": "85084ffa449f5c220e74c8e7116f20451a572e28d68fc80b003c99e37b7362f1", "categorized_nodes": 217}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "declaration", "text": "int prin...
2,806
c
/* * sexproc.h - specification of the Sextium® III processor */ #include<stdint.h> // int16_t, int32_t, uint16_t #include<endian.h> // __BYTE_ORDER, __LITTLE_ENDIAN // Machine word is 16 bit long, big endian typedef int16_t machine_word; typedef int32_t double_machine_word; typedef uint16_t unsigned_machine_...
29.27
74
(translation_unit) "/*\n * sexproc.h - specification of the Sextium® III processor \n */\n\n#include<stdint.h> // int16_t, int32_t, uint16_t\n#include<endian.h> // __BYTE_ORDER, __LITTLE_ENDIAN\n\n// Machine word is 16 bit long, big endian\ntypedef int16_t machine_word;\ntypedef int32_t double_machine_word;\ntype...
291
0
{"language": "c", "success": true, "metadata": {"lines": 74, "avg_line_length": 29.27, "nodes": 172, "errors": 0, "source_hash": "d06e9e3520f6aad9e08c6286a128ee15b533c3d4a66f6e9880d8ebf3b2dbf0bb", "categorized_nodes": 152}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "incl...
2,807
c
#define _XOPEN_SOURCE 500 #include <ftw.h> #include <dirent.h> #include <stdlib.h> #include <stdint.h> #include <stdio.h> #include <string.h> #include <time.h> #include <limits.h> #include <errno.h> #define SLASH "/" #define MAX 0 #define CHECK_NULL(FUN, VAL, ERR) if((VAL) == NULL) {\ printf("%s: %s\n", FUN, ERR...
33.55
94
(translation_unit) "#define _XOPEN_SOURCE 500\n#include <ftw.h>\n#include <dirent.h>\n\n#include <stdlib.h>\n#include <stdint.h>\n#include <stdio.h>\n#include <string.h>\n#include <time.h>\n#include <limits.h>\n#include <errno.h>\n\n#define SLASH "/"\n#define MAX 0\n\n#define CHECK_NULL(FUN, VAL, ERR) if((VAL) == NULL)...
1,118
0
{"language": "c", "success": true, "metadata": {"lines": 94, "avg_line_length": 33.55, "nodes": 678, "errors": 0, "source_hash": "877867541a4b36913764cd85e1753f9d0f077bacf32618abbbcd21ae1e3dbeb6", "categorized_nodes": 446}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_def", "text": "#define ...
2,808
c
#ifndef INVENTORYDATADIALOG_H #define INVENTORYDATADIALOG_H #include <QDialog> #include <QDebug> #include <QDataWidgetMapper> #include <QMessageBox> #include <inventorydatadialog.h> #include <productitem.h> #include <linkeddict.h> #include <hashdict.h> #include <mapmodel.h> #include <constants.h> #inclu...
24
99
(translation_unit) "#ifndef INVENTORYDATADIALOG_H \n#define INVENTORYDATADIALOG_H \n \n#include <QDialog> \n#include <QDebug> \n#include <QDataWidgetMapper> \n#include <QMessageBox> \n \n#include <inventorydatadialog.h> \n#include <productitem.h> \n#include <linkeddict.h> \n#include <hashdict.h> \n#include <mapmodel.h>...
562
15
{"language": "c", "success": true, "metadata": {"lines": 99, "avg_line_length": 24.0, "nodes": 345, "errors": 0, "source_hash": "655094713cda73f277fcf275c533bdd0e611cbd448719b4b95ef4f5b4177829a", "categorized_nodes": 258}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
2,809
c
/* * Firmament * Copyright (c) The Firmament 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 * * ...
35.08
51
(translation_unit) "/*\n * Firmament\n * Copyright (c) The Firmament Authors.\n * All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.or...
171
6
{"language": "c", "success": true, "metadata": {"lines": 51, "avg_line_length": 35.08, "nodes": 99, "errors": 0, "source_hash": "9aa8f93682bce6173dbeef45e79fe858231553bf42488994d3a8b22b920f20b4", "categorized_nodes": 71}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
2,810
c
#pragma once #include "Settings.h" namespace Experimental { void Install(); } //script speedup namespace Script { inline bool Speedup(RE::BSScript::Internal::VirtualMachine* a_vm) { if (!a_vm) { return false; } auto experimental = Settings::GetSingleton()->experimental; if (experimental.fastRandomInt...
29.79
134
(translation_unit) "#pragma once\n\n#include "Settings.h"\n\nnamespace Experimental\n{\n void Install();\n}\n\n//script speedup\nnamespace Script\n{\n inline bool Speedup(RE::BSScript::Internal::VirtualMachine* a_vm)\n {\n if (!a_vm) {\n return false;\n }\n\n auto experimental = Settings::GetSingleton()->experimen...
1,383
94
{"language": "c", "success": true, "metadata": {"lines": 134, "avg_line_length": 29.79, "nodes": 741, "errors": 0, "source_hash": "a16fd0de295f0333a12d02acf1a278abc7308b1f2d1a6c3ef8f51d17f8ca619e", "categorized_nodes": 502}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragm...
2,811
c
// // // IN Copyright (c) %s, Microsoft Corporation // IN // IN SPDX-License-Identifier: Apache-2.0 * // IN // IN All rights reserved. This program and the accompanying materials are // IN made available under the terms of the Apache License, Version 2.0 // IN which accompanies this distribution, and is available at...
30.09
169
(translation_unit) "//\n// \n// IN Copyright (c) %s, Microsoft Corporation\n// IN \n// IN SPDX-License-Identifier: Apache-2.0 *\n// IN \n// IN All rights reserved. This program and the accompanying materials are\n// IN made available under the terms of the Apache License, Version 2.0\n// IN which accompanies this distr...
488
28
{"language": "c", "success": true, "metadata": {"lines": 169, "avg_line_length": 30.09, "nodes": 262, "errors": 0, "source_hash": "1fe7520024fd4d5bd4dc153ed52d1bb7e2bf29eda1ff0d1f810efc4b0da5fe49", "categorized_nodes": 195}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragm...
2,812
c
/***** 5x7 ASCII character data ***** Written By <NAME> Defined Column Wise Columns are created from top (LSB is bottom, MSB is not on display) ASCII CHAR ASCII CHAR ASCII CHAR ASCII CHAR ASCII CHAR ASCII CHAR 0x20 0x30 0 0x40 @ 0x50 P 0x60 ` 0x70 p 0x21 ! 0x31 1 0x41 A 0x51 Q ...
43.28
127
(translation_unit) "/***** 5x7 ASCII character data *****\n\nWritten By <NAME>\n\nDefined Column Wise\nColumns are created from top (LSB is bottom, MSB is not on display)\n\nASCII CHAR ASCII CHAR ASCII CHAR ASCII CHAR ASCII CHAR ASCII CHAR\n0x20 0x30 0 0x40 @ 0x50 P 0x60 ` 0x70 p\n0x21 ! 0x31...
1,366
1
{"language": "c", "success": true, "metadata": {"lines": 127, "avg_line_length": 43.28, "nodes": 594, "errors": 0, "source_hash": "7174523bb291bcd45cb75464c58f6465f950204c23cdc678a0fc4d17131abdb7", "categorized_nodes": 489}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
2,813
c
/* SPDX-License-Identifier: BSD-3-Clause */ #ifndef _RCLIENT_H #define _RCLIENT_H /********** List of all the Headers *******************/ typedef struct cp_cs_cb_s { unsigned int user_count; struct radius_data radiusd; } cp_cs_cb_t; #endif /* _RCLIENT_H */
26.45
11
(translation_unit) "/* SPDX-License-Identifier: BSD-3-Clause */\n\n#ifndef _RCLIENT_H\n#define _RCLIENT_H\n\n/********** List of all the Headers *******************/\ntypedef struct cp_cs_cb_s\n{\n unsigned int user_count;\n struct radius_data radiusd;\n} cp_cs_cb_t; \n\n\n#endif...
33
0
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 26.45, "nodes": 23, "errors": 0, "source_hash": "c38bddf4859a5d9c4e7d8815fffee429dba532c7a39716ecaed67ddf00696de3", "categorized_nodes": 18}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
2,814
c
#ifndef FUERZA_BRUTRA_H #define FUERZA_BRUTRA_H #include <math.h> #include <stdlib.h> #include "dibujar.h" void fuerza_bruta(int x0, int y0, int x1, int y1, COLOR * color, void (*func_dibujar)(int,int,COLOR *)); #endif
28.38
8
(translation_unit) "#ifndef FUERZA_BRUTRA_H\n#define FUERZA_BRUTRA_H\n\n#include <math.h>\n#include <stdlib.h>\n#include "dibujar.h"\n\nvoid fuerza_bruta(int x0, int y0, int x1, int y1, COLOR * color,\n void (*func_dibujar)(int,int,COLOR *));\n\n#endif" (preproc_ifdef) "#ifndef FUERZA_BRUTRA_H\n#define...
72
0
{"language": "c", "success": true, "metadata": {"lines": 8, "avg_line_length": 28.38, "nodes": 54, "errors": 0, "source_hash": "2796bfa8e84d7ebd3312001d4115f4368aad067372be188d96bf0593371440e2", "categorized_nodes": 35}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef F...
2,815
c
/* * Copyright 1999 Perforce Software. All rights reserved. * * This file is part of Perforce - the FAST SCM System. */ #ifndef __SpecsPage__ #define __SpecsPage__ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // SpecsPage.h : header file // //////////////////////////////////////...
22.68
84
(translation_unit) "/* \n * Copyright 1999 Perforce Software. All rights reserved. \n * \n * This file is part of Perforce - the FAST SCM System. \n */ \n \n \n \n#ifndef __SpecsPage__ \n#define __SpecsPage__ \n \n#if _MSC_VER > 1000 \n#pragma once \n#endif // _MSC_VER > 1000 \n// SpecsPage.h : header file \n// \n \n/...
311
10
{"language": "c", "success": true, "metadata": {"lines": 84, "avg_line_length": 22.68, "nodes": 202, "errors": 0, "source_hash": "24e438af4702d874d406419f90cfa931f309cb97e8e50432d991f81754d91b20", "categorized_nodes": 147}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
2,816
c
#ifndef PHPCXX_FUNCTION_P_H #define PHPCXX_FUNCTION_P_H #include "phpcxx.h" extern "C" { #include <Zend/zend_API.h> #include <Zend/zend_compile.h> } #include <vector> #include "argument.h" #include "argument_p.h" #include "types.h" namespace phpcxx { class PHPCXX_HIDDEN FunctionPrivate { friend class Function;...
31.53
66
(ERROR) "#ifndef PHPCXX_FUNCTION_P_H\n#define PHPCXX_FUNCTION_P_H\n\n#include "phpcxx.h"\n\nextern "C" {\n#include <Zend/zend_API.h>\n#include <Zend/zend_compile.h>\n}\n\n#include <vector>\n#include "argument.h"\n#include "argument_p.h"\n#include "types.h"\n\nnamespace phpcxx {\n\nclass PHPCXX_HIDDEN FunctionPrivate {\...
663
27
{"language": "c", "success": true, "metadata": {"lines": 66, "avg_line_length": 31.53, "nodes": 415, "errors": 0, "source_hash": "7846942c93becc014597125a0b3a1f806f4ed3fabf74a9d9ed7a0b30241c89b8", "categorized_nodes": 313}, "ast": {"root": "ERROR", "nodes": [{"id": 0, "type": "ERROR", "text": "#ifndef PHPCXX_FUNCTION_P...
2,817
c
#include<stdio.h> #include<stdlib.h> #include<string.h> int main(){ int i, c, first, middle, last, n, search, array[30]; printf("ENTER THE NUMBER OF ELEMENTS: "); scanf("%d", &n); printf("\nENTER %d INTEGERS: \n", n); for(i=0; i<n; i++){ scanf("%d", &array[i]); } printf("\nENTER THE VALUE TO FIND:...
19.17
36
(translation_unit) "#include<stdio.h> \n#include<stdlib.h> \n#include<string.h> \n \nint main(){ \n int i, c, first, middle, last, n, search, array[30]; \n printf("ENTER THE NUMBER OF ELEMENTS: "); \n scanf("%d", &n); \n printf("\nENTER %d INTEGERS: \n", n); \n for(i=0; i<n; i++){ \n scanf("%d", &array[i]); \n } \n pr...
319
0
{"language": "c", "success": true, "metadata": {"lines": 36, "avg_line_length": 19.17, "nodes": 172, "errors": 0, "source_hash": "d6cb13838b11379647cdc9647d3e533f4670daf59e6e6200e9d92fc0d9a5bce5", "categorized_nodes": 130}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
2,818
c
#pragma once #include <Windows.h> #include <stdio.h> #include <d3d9.h> #include <dsound.h> #include "tools\tools.h" #ifdef LOGGING extern HANDLE LOG_FILE; #define fFileLog(Format, ...) LogToFileA(LOG_FILE, Format, __VA_ARGS__) #define qFileLog(string) LogToFileA(LOG_FILE, "%s", string) #else #pragma warning( disable ...
15.92
184
(ERROR) "#pragma once\n\n#include <Windows.h>\n#include <stdio.h>\n#include <d3d9.h>\n#include <dsound.h>\n#include "tools\tools.h"\n\n#ifdef LOGGING\nextern HANDLE LOG_FILE;\n#define fFileLog(Format, ...) LogToFileA(LOG_FILE, Format, __VA_ARGS__)\n#define qFileLog(string) LogToFileA(LOG_FILE, "%s", string)\n#else\n#pr...
670
6
{"language": "c", "success": true, "metadata": {"lines": 184, "avg_line_length": 15.92, "nodes": 431, "errors": 0, "source_hash": "b87023c15f3c6f8de1c7ea4654d1f5b5843e2259a8cd5ca1eb66fa98021a8f74", "categorized_nodes": 337}, "ast": {"root": "ERROR", "nodes": [{"id": 0, "type": "ERROR", "text": "#pragma once\n\n#include...
2,819
c
// SPDX-License-Identifier: ISC /* Copyright (C) 2020 MediaTek Inc. */ #include "mt7921.h" #include "eeprom.h" static u32 mt7921_eeprom_read(struct mt7921_dev *dev, u32 offset) { u8 *data = dev->mt76.eeprom.data; if (data[offset] == 0xff) mt7921_mcu_get_eeprom(dev, offset); return data[offset]; } static int m...
23.26
77
(translation_unit) "// SPDX-License-Identifier: ISC\n/* Copyright (C) 2020 MediaTek Inc. */\n\n#include "mt7921.h"\n#include "eeprom.h"\n\nstatic u32 mt7921_eeprom_read(struct mt7921_dev *dev, u32 offset)\n{\n u8 *data = dev->mt76.eeprom.data;\n\n if (data[offset] == 0xff)\n mt7921_mcu_get_eeprom(dev, offset);\n\n ret...
618
0
{"language": "c", "success": true, "metadata": {"lines": 77, "avg_line_length": 23.26, "nodes": 391, "errors": 0, "source_hash": "445c57609927dc4e60611ea4e1e380f9753a0de125335ed4351d908a978f4061", "categorized_nodes": 308}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
2,820
c
/* * Copyright (c) 2003 <NAME> <<EMAIL>> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright * notice, this list of...
30.29
164
(translation_unit) "/*\n * Copyright (c) 2003 <NAME> <<EMAIL>>\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions are met:\n * * Redistributions of source code must retain the above copyright\n *...
1,361
0
{"language": "c", "success": true, "metadata": {"lines": 164, "avg_line_length": 30.29, "nodes": 798, "errors": 0, "source_hash": "dad7f4d01bf16457875cca26f8f00f5374fe4e511e233570676069333129ead5", "categorized_nodes": 613}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
2,821
c
/* Generic atexit() Copyright (C) 1996 Free Software Foundation, Inc. This file 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. In addition to the perm...
33.03
77
(translation_unit) "/* Generic atexit()\n Copyright (C) 1996 Free Software Foundation, Inc.\n\nThis file is free software; you can redistribute it and/or modify it\nunder the terms of the GNU General Public License as published by the\nFree Software Foundation; either version 2, or (at your option) any\nlater version...
376
0
{"language": "c", "success": true, "metadata": {"lines": 77, "avg_line_length": 33.03, "nodes": 242, "errors": 0, "source_hash": "c33ce27018a120f5f61e14e4cda146bd4457a7e1227344a36273fade84033080", "categorized_nodes": 164}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
2,822
c
/** * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ /********************************************************************20** Name: Com...
36.67
153
(translation_unit) "/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n \n\n/******************************************************************...
278
0
{"language": "c", "success": true, "metadata": {"lines": 153, "avg_line_length": 36.67, "nodes": 247, "errors": 0, "source_hash": "3a3220792fa797e7de01a7ce34c8aa8034619aa909cca3945128cfbaec872227", "categorized_nodes": 65}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
2,823
c
/* * Copyright (C) 2015-2017 Alibaba Group Holding Limited */ #ifndef __BE_IOT_MODULE_H__ #define __BE_IOT_MODULE_H__ #include "be_jse.h" #include "be_jse_api.h" be_jse_symbol_t *be_iot_module_handle_cb(be_jse_vm_ctx_t *execInfo, be_jse_symbol_t *var, const char *name); void be_module_init(be_jse_executor_ctx_t *...
33.55
11
(translation_unit) "/*\n * Copyright (C) 2015-2017 Alibaba Group Holding Limited\n */\n\n#ifndef __BE_IOT_MODULE_H__\n#define __BE_IOT_MODULE_H__\n\n#include "be_jse.h"\n#include "be_jse_api.h"\n\nbe_jse_symbol_t *be_iot_module_handle_cb(be_jse_vm_ctx_t *execInfo, be_jse_symbol_t *var, const char *name);\n\nvoid be_mod...
72
0
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 33.55, "nodes": 49, "errors": 0, "source_hash": "59a06d7908e3579200614819c7212a282b8753346276f84d3665689970ea00be", "categorized_nodes": 31}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
2,824
c
#ifndef MTR_SCREEN_SDL2_GPU_H #define MTR_SCREEN_SDL2_GPU_H #ifdef __MINGW64__ #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wswitch-default" #endif #include "SDL2/SDL.h" #include "SDL2/SDL_gpu.h" #ifdef __MINGW64__ #pragma GCC diagnostic pop #endif #include "marathoner/plugin.h" #ifdef MTR...
39.69
29
(translation_unit) "#ifndef MTR_SCREEN_SDL2_GPU_H\n#define MTR_SCREEN_SDL2_GPU_H\n\n#ifdef __MINGW64__\n #pragma GCC diagnostic push\n #pragma GCC diagnostic ignored "-Wswitch-default"\n#endif\n#include "SDL2/SDL.h"\n#include "SDL2/SDL_gpu.h"\n#ifdef __MINGW64__\n #pragma GCC diagnostic pop\n#endif\n\n#include...
112
0
{"language": "c", "success": true, "metadata": {"lines": 29, "avg_line_length": 39.69, "nodes": 84, "errors": 0, "source_hash": "c1b185b9ea2eb22732ced902408d6dbc6790bd612ed870b781adc61f9895d788", "categorized_nodes": 56}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
2,825
c
/* csdebug.h: Copyright (C) 2014 <NAME> This file is part of Csound. The Csound Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (...
34.11
263
(translation_unit) "/*\n csdebug.h:\n\n Copyright (C) 2014 <NAME>\n\n This file is part of Csound.\n\n The Csound Library is free software; you can redistribute it\n and/or modify it under the terms of the GNU Lesser General Public\n License as published by the Free Software Foundation; either\n ve...
766
13
{"language": "c", "success": true, "metadata": {"lines": 263, "avg_line_length": 34.11, "nodes": 554, "errors": 0, "source_hash": "89c1baa8d05bb8ed01634fac8abf900613226ea31bf5580233199bead0d38c15", "categorized_nodes": 385}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
2,826
c
/* Copyright (C) 2000-2002 <NAME> <<EMAIL>> 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. This program is distributed in...
24.92
120
(translation_unit) "/*\n Copyright (C) 2000-2002 <NAME> <<EMAIL>>\n\n This program is free software; you can redistribute it and/or modify\n it under the terms of the GNU General Public License as published by\n the Free Software Foundation; either version 2, or (at your option)\n any later version.\n\n Th...
994
0
{"language": "c", "success": true, "metadata": {"lines": 120, "avg_line_length": 24.92, "nodes": 589, "errors": 0, "source_hash": "05f776850dd5f5c6bd5891e56e7db38118fbff5b95d00458bd34ecf79b4c07d6", "categorized_nodes": 450}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
2,827
c
#pragma once #include "IApplicationEventReceiver.h" class SampleSkinnedMesh : public IApplicationEventReceiver { public: SampleSkinnedMesh(); virtual ~SampleSkinnedMesh(); virtual void onUpdate(); virtual void onRender(); virtual void onPostRender(); virtual void onResume(); virtual void onPause(); virt...
24.06
17
(translation_unit) "#pragma once\n\n#include "IApplicationEventReceiver.h"\n\nclass SampleSkinnedMesh : public IApplicationEventReceiver\n{\npublic:\n SampleSkinnedMesh();\n virtual ~SampleSkinnedMesh();\n\n virtual void onUpdate();\n\n virtual void onRender();\n\n virtual void onPostRender();\n\n virtual void onResume...
139
11
{"language": "c", "success": true, "metadata": {"lines": 17, "avg_line_length": 24.06, "nodes": 90, "errors": 0, "source_hash": "7412a2cd2f10abfb78ca52c1b6fbb1419bc2a5fb92694f514a40cfe3b31d478c", "categorized_nodes": 62}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
2,828
c
#include <assert.h> #include <stdio.h> #include <string.h> #include "term.h" #define BUFFER_SIZE_MAX 16 /* if s1 starts with s2 returns 1, else 0 */ static int starts_with(const char *s1, const char *s2) { /* nice huh? */ while (*s2) if (*s1++ != *s2++) return 0; return 1; } /* convert escape sequence to event, a...
28.27
86
(translation_unit) "#include <assert.h>\n#include <stdio.h>\n#include <string.h>\n\n#include "term.h"\n\n#define BUFFER_SIZE_MAX 16\n\n/* if s1 starts with s2 returns 1, else 0 */\nstatic int starts_with(const char *s1, const char *s2)\n{\n /* nice huh? */\n while (*s2) if (*s1++ != *s2++) return 0; return 1;\n}\n\n/* ...
642
0
{"language": "c", "success": true, "metadata": {"lines": 86, "avg_line_length": 28.27, "nodes": 379, "errors": 0, "source_hash": "ab095a02b27a19d1fce82c19323a1a034d8d90944090184a4ec0b11ac17c6d1d", "categorized_nodes": 277}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
2,829
c
/******************************************************************************* * File: cpu.c * * Purpose: * The data structures and operations used by the CPU. * * Copyright 2018 <NAME> <<EMAIL>> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associat...
28.7
162
(translation_unit) "/*******************************************************************************\n * File: cpu.c\n *\n * Purpose:\n * The data structures and operations used by the CPU.\n *\n * Copyright 2018 <NAME> <<EMAIL>>\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * ...
1,272
0
{"language": "c", "success": true, "metadata": {"lines": 162, "avg_line_length": 28.7, "nodes": 797, "errors": 0, "source_hash": "d266df95945d6e56e38f93717c2f05ffcb0b6a0f0f89872873e5637d13990ac1", "categorized_nodes": 582}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_def", "text": "#define ...
2,830
c
#pragma once #include <iostream> #include "COREFramework/CORETask.h" #include "COREUtilities/COREConstant.h" #include "COREDrive.h" #include "ctre/Phoenix.h" #include "VelocityPair.h" namespace CORE { class COREEtherDrive: public COREDrive { public: COREEtherDrive(TalonSRX* leftMotor1, TalonSRX* leftMotor2, T...
33.81
26
(translation_unit) "#pragma once\n\n#include <iostream>\n#include "COREFramework/CORETask.h"\n#include "COREUtilities/COREConstant.h"\n#include "COREDrive.h"\n#include "ctre/Phoenix.h"\n#include "VelocityPair.h"\n\nnamespace CORE {\n class COREEtherDrive: public COREDrive {\n public:\n COREEtherDrive(TalonSRX* leftMot...
258
6
{"language": "c", "success": true, "metadata": {"lines": 26, "avg_line_length": 33.81, "nodes": 164, "errors": 0, "source_hash": "1a9a98c0fddd91738a38ef4654f3c529a29734c3f5796e67069f8ebbba136b8f", "categorized_nodes": 108}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
2,831
c
/* copyi.f -- translated by f2c (version 19980913). You must link the resulting object file with the libraries: -lf2c -lm (in that order) */ #include "f2c.h" /* $Procedure COPYI ( Copy an integer cell ) */ /* Subroutine */ int copyi_(integer *cell, integer *copy) { /* System generated locals */ int...
39.32
142
(translation_unit) "/* copyi.f -- translated by f2c (version 19980913).\n You must link the resulting object file with the libraries:\n -lf2c -lm (in that order)\n*/\n\n#include "f2c.h"\n\n/* $Procedure COPYI ( Copy an integer cell ) */\n/* Subroutine */ int copyi_(integer *cell, integer *copy)\n{\n /* Syst...
500
0
{"language": "c", "success": true, "metadata": {"lines": 142, "avg_line_length": 39.32, "nodes": 243, "errors": 0, "source_hash": "b3b6b843b1703eba7120bd996fb67d3ae9550766840e2060b4fb97ca252123d4", "categorized_nodes": 171}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
2,832
c
#include "strset.h" #include <assert.h> //including only strset.h int main(void) { unsigned long first = strset_new(); unsigned long second = strset_new(); strset_insert(first, "a"); strset_insert(second, "b"); assert(strset_size(first) == 1); assert(strset_size(second) == 1); assert(str...
33.97
36
(translation_unit) "#include "strset.h"\n#include <assert.h>\n\n//including only strset.h\nint main(void) {\n unsigned long first = strset_new();\n unsigned long second = strset_new();\n\n strset_insert(first, "a");\n strset_insert(second, "b");\n\n assert(strset_size(first) == 1);\n assert(strset_siz...
519
0
{"language": "c", "success": true, "metadata": {"lines": 36, "avg_line_length": 33.97, "nodes": 292, "errors": 0, "source_hash": "ee08c32375accf2c38f05a9c3cf53802043fecc41338d23dbfec7c5b316c3001", "categorized_nodes": 208}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
2,833
c
/* * Copyright (C) 2011-2013, 2015 Internet Systems Consortium, Inc. ("ISC") * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE ...
34.2
204
(translation_unit) "/*\n * Copyright (C) 2011-2013, 2015 Internet Systems Consortium, Inc. ("ISC")\n *\n * Permission to use, copy, modify, and/or distribute this software for any\n * purpose with or without fee is hereby granted, provided that the above\n * copyright notice and this permission notice appear in all co...
1,653
0
{"language": "c", "success": true, "metadata": {"lines": 204, "avg_line_length": 34.2, "nodes": 888, "errors": 0, "source_hash": "37e2c7f004dd482911433da01f60f9ae5f313a81697f91cfdeb4ca640991a186", "categorized_nodes": 672}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
2,834
c
// // MyOrderPageCell.h // FireCoin // // Created by 王涛 on 2019/6/6. // Copyright © 2019 王涛. All rights reserved. // #import "BaseTableViewCell.h" #import "LegalCurrencyModel.h" #import "MyOrderPageTBVC.h" NS_ASSUME_NONNULL_BEGIN @protocol MyOrderPageCellDelegate <NSObject> -(void)cancelOrder:(UIButton *)btn cel...
29.79
19
(translation_unit) "//\n// MyOrderPageCell.h\n// FireCoin\n//\n// Created by 王涛 on 2019/6/6.\n// Copyright © 2019 王涛. All rights reserved.\n//\n\n#import "BaseTableViewCell.h"\n#import "LegalCurrencyModel.h"\n#import "MyOrderPageTBVC.h"\nNS_ASSUME_NONNULL_BEGIN\n\n@protocol MyOrderPageCellDelegate <NSObject>\n\n-(v...
109
15
{"language": "c", "success": true, "metadata": {"lines": 19, "avg_line_length": 29.79, "nodes": 75, "errors": 0, "source_hash": "819834216454518d809f58d948b75b2cad7e0a98f641ae013f38b69451f4a246", "categorized_nodes": 43}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "BaseTable...
2,835
c
#ifndef __SP0256_H__ #define __SP0256_H__ /* GI SP0256 Narrator Speech Processor By <NAME>. Ported to MESS by <NAME>. Copyright (c) 1998-2000, <NAME>, all rights reserved. Copyright (c) 2006, <NAME>, all rights reserved. - This source code is released as freeware for non-commercial purposes. - You are fre...
38.7
27
(translation_unit) "#ifndef __SP0256_H__\n#define __SP0256_H__\n\n/*\n GI SP0256 Narrator Speech Processor\n\n By <NAME>. Ported to MESS by <NAME>.\n\n Copyright (c) 1998-2000, <NAME>, all rights reserved.\n Copyright (c) 2006, <NAME>, all rights reserved.\n\n - This source code is released as freeware for non-comm...
101
0
{"language": "c", "success": true, "metadata": {"lines": 27, "avg_line_length": 38.7, "nodes": 67, "errors": 0, "source_hash": "4d35017eb874b982dfede7e53b6899d714747c02c122124a28586fe9631513de", "categorized_nodes": 41}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef _...
2,836
c
#pragma once #include <array> #include "Render/Renderer.h" #include "Common.h" #include "RenderContext.h" #include "Texture.h" #include "Shader.h" #include "Pipeline.h" #include "Buffer.h" #include "Framebuffer.h" namespace Immortal { namespace Vulkan { class Renderer : public SuperRenderer { public: using Supe...
33.72
97
(ERROR) "#pragma once\n\n#include <array>\n\n#include "Render/Renderer.h"\n#include "Common.h"\n#include "RenderContext.h"\n#include "Texture.h"\n#include "Shader.h"\n#include "Pipeline.h"\n#include "Buffer.h"\n#include "Framebuffer.h"\n\nnamespace Immortal\n{\nnamespace Vulkan\n{\n\nclass Renderer : public SuperRender...
942
72
{"language": "c", "success": true, "metadata": {"lines": 97, "avg_line_length": 33.72, "nodes": 561, "errors": 0, "source_hash": "06079eed3eb0ae22284ec1a71c089921948ae12092993cf6afdb56aa4559b8bd", "categorized_nodes": 387}, "ast": {"root": "ERROR", "nodes": [{"id": 0, "type": "ERROR", "text": "#pragma once\n\n#include ...
2,837
c
/* * Copyright 2012 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #ifndef PictureBenchmark_DEFINED #define PictureBenchmark_DEFINED #include "SkTypes.h" #include "SkRefCnt.h" #include "PictureRenderer.h" class BenchTimer; class SkPicture; c...
27.48
119
(translation_unit) "/*\n * Copyright 2012 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n */\n\n#ifndef PictureBenchmark_DEFINED\n#define PictureBenchmark_DEFINED\n#include "SkTypes.h"\n#include "SkRefCnt.h"\n#include "PictureRenderer.h"\n\ncla...
788
31
{"language": "c", "success": true, "metadata": {"lines": 119, "avg_line_length": 27.48, "nodes": 450, "errors": 0, "source_hash": "a71e6ef292c0cc69ce4d7dfe120dd69582de0fce849b42b0d56115f0ec59e642", "categorized_nodes": 303}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
2,838
c
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <signal.h> #include "client/client.h" #include "logger/logger.h" #include "errors/client_errors.h" int main(int argc, char *argv[]) { pid_t loggerPid; int clientExitStatus; int loopback; int loggerExitStatus = 0; if (argc != 2) {...
28.98
45
(translation_unit) "#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include <signal.h>\n#include "client/client.h"\n#include "logger/logger.h"\n#include "errors/client_errors.h"\n\n\nint main(int argc, char *argv[]) {\n pid_t loggerPid;\n int clientExitStatus;\n int loopback;\n int loggerExit...
377
0
{"language": "c", "success": true, "metadata": {"lines": 45, "avg_line_length": 28.98, "nodes": 192, "errors": 0, "source_hash": "a57d6704692a27c5b36e7753a6741a84391914b164f49fdfd5802b174c251524", "categorized_nodes": 143}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
2,839
c
// // WTFeatureGuideViewController.h // WTFeatureGuide // // Created by Wynter on 2018/11/30. // Copyright © 2018 Wynter. All rights reserved. // #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN typedef NS_ENUM(NSInteger, WTMarkStyle) { WTMarkStyleOval, // 椭圆 WTMarkStyleRound, // 圆形 WTMarkStyleRect /...
33.13
23
(translation_unit) "//\n// WTFeatureGuideViewController.h\n// WTFeatureGuide\n//\n// Created by Wynter on 2018/11/30.\n// Copyright © 2018 Wynter. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\nNS_ASSUME_NONNULL_BEGIN\n\ntypedef NS_ENUM(NSInteger, WTMarkStyle) {\n WTMarkStyleOval, // 椭圆\n WTMarkStyleR...
160
29
{"language": "c", "success": true, "metadata": {"lines": 23, "avg_line_length": 33.13, "nodes": 112, "errors": 0, "source_hash": "2e45663d04ebc4b173ae4c8b2a68f2dbac849ff7357a7b695f68c1aab6047289", "categorized_nodes": 62}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <...
2,840
c
#pragma once class Experiment { public: };
6.5
6
(translation_unit) "#pragma once\n\n\nclass Experiment {\npublic:\n\n\n};\n" (preproc_call) "#pragma once\n" (preproc_directive) "#pragma" (preproc_arg) "once" (function_definition) "class Experiment {\npublic:\n\n\n}" (type_identifier) "class" (identifier) "Experiment" (compound_statement) "{\n...
17
0
{"language": "c", "success": true, "metadata": {"lines": 6, "avg_line_length": 6.5, "nodes": 6, "errors": 0, "source_hash": "fa98492cea0ce86d8942905fd890646b44e75cd905b6e39f6bbceffdd74b3e61", "categorized_nodes": 3}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma once\n...
2,841
c
/*************************************** * Framework Handler Task * https://github.com/goganoga/FHT * Created: 06.08.19 * Copyright (C) goganoga 2019 ***************************************/ #ifndef FHTITEST_H #define FHTITEST_H #include <memory> namespace FHT { struct iTest { static std::shared_ptr...
23.88
16
(translation_unit) "/***************************************\n* Framework Handler Task\n* https://github.com/goganoga/FHT\n* Created: 06.08.19\n* Copyright (C) goganoga 2019\n***************************************/\n#ifndef FHTITEST_H\n#define FHTITEST_H\n#include <memory>\nnamespace FHT {\n struct iTest {\...
52
3
{"language": "c", "success": true, "metadata": {"lines": 16, "avg_line_length": 23.88, "nodes": 34, "errors": 0, "source_hash": "03be075a12fbd21801ee0220d2b39bb80e6df788e272b8fbd5666ea4f4f41316", "categorized_nodes": 23}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
2,842
c
// // DDAddCustomisationVC.h // ANStepperView // // Created by <NAME> on 30/07/2020. // #import "DDUI.h" NS_ASSUME_NONNULL_BEGIN @interface DDAddCustomisationVC : DDUIBaseViewController @end NS_ASSUME_NONNULL_END
18.64
11
(translation_unit) "//\n// DDAddCustomisationVC.h\n// ANStepperView\n//\n// Created by <NAME> on 30/07/2020.\n//\n\n#import "DDUI.h"\n\nNS_ASSUME_NONNULL_BEGIN\n\n@interface DDAddCustomisationVC : DDUIBaseViewController\n\n@end\n\nNS_ASSUME_NONNULL_END\n" (comment) "//" (comment) "// DDAddCustomisationVC.h" (...
26
4
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 18.64, "nodes": 15, "errors": 0, "source_hash": "7182f4bbc4a36b4c3c66e1850a3ccd78c6a1c518eb7c28e24454532c11396902", "categorized_nodes": 8}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import \"...
2,843
c
#ifndef SERIAL_TOOLS_H #define SERIAL_TOOLS_H void dump_response(HttpResponse* res); #endif
22
4
(translation_unit) "#ifndef SERIAL_TOOLS_H\n#define SERIAL_TOOLS_H\n\nvoid dump_response(HttpResponse* res);\n\n#endif" (preproc_ifdef) "#ifndef SERIAL_TOOLS_H\n#define SERIAL_TOOLS_H\n\nvoid dump_response(HttpResponse* res);\n\n#endif" (#ifndef) "#ifndef" (identifier) "SERIAL_TOOLS_H" (preproc_def) "#def...
21
0
{"language": "c", "success": true, "metadata": {"lines": 4, "avg_line_length": 22.0, "nodes": 17, "errors": 0, "source_hash": "a31b3242cd5ebec2b4b91712415d607bbd1f592b6637b2f38e48ecf63f377590", "categorized_nodes": 11}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef SE...
2,844
c
#pragma once #ifndef EVENTSOURCING #define EVENTSOURCING using namespace std; #include <string> struct Event { string name; string data; unsigned long long int revision; Event(){}; Event(string _name, string _data) : name(_name), data(_data) {}; Event(string _name, string _data, unsigned long long i...
23.47
17
(translation_unit) "#pragma once\n#ifndef EVENTSOURCING\n#define EVENTSOURCING\nusing namespace std;\n#include <string>\n\nstruct Event {\n string name;\n string data;\n unsigned long long int revision;\n \n Event(){};\n Event(string _name, string _data)\n : name(_name), data(_data) {};\n Event(string _name, ...
139
7
{"language": "c", "success": true, "metadata": {"lines": 17, "avg_line_length": 23.47, "nodes": 92, "errors": 0, "source_hash": "d6327441438d06b59c9375b08e3cbe7e47b51504250a94aef5a263073faec868", "categorized_nodes": 67}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
2,845
c
#include <stdio.h> // function for swapping two numbers void swap(int *xp, int *yp) { int temp = *xp; *xp = *yp; *yp = temp; } void selectionSort(int arr[], int n) { int i, j, min_idx; // One by one move boundary of unsorted subarray for(i = 0; i < n - 1; i++) { // Find the minimu...
26.29
41
(translation_unit) "#include <stdio.h>\n\n// function for swapping two numbers\nvoid swap(int *xp, int *yp)\n{\n int temp = *xp;\n *xp = *yp;\n *yp = temp;\n}\n\nvoid selectionSort(int arr[], int n)\n{\n int i, j, min_idx;\n\n // One by one move boundary of unsorted subarray\n for(i = 0; i < n - 1; i+...
342
0
{"language": "c", "success": true, "metadata": {"lines": 41, "avg_line_length": 26.29, "nodes": 197, "errors": 0, "source_hash": "65f4a85e9a113e65af0cfee533f993796d1e19cfef0ae93f0389a9e86b5de55b", "categorized_nodes": 142}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
2,846
c
/* * Copyright (C) 2019-2020 Intel Corporation * * SPDX-License-Identifier: MIT * */ #pragma once #include <level_zero/zes_api.h> #include <vector> struct _zes_freq_handle_t { virtual ~_zes_freq_handle_t() = default; }; namespace L0 { struct OsSysman; class Frequency : _zes_freq_handle_t { public: ...
35.76
37
(translation_unit) "/*\n * Copyright (C) 2019-2020 Intel Corporation\n *\n * SPDX-License-Identifier: MIT\n *\n */\n\n#pragma once\n#include <level_zero/zes_api.h>\n\n#include <vector>\n\nstruct _zes_freq_handle_t {\n virtual ~_zes_freq_handle_t() = default;\n};\n\nnamespace L0 {\n\nstruct OsSysman;\n\nclass Frequen...
321
12
{"language": "c", "success": true, "metadata": {"lines": 37, "avg_line_length": 35.76, "nodes": 213, "errors": 0, "source_hash": "d38dc478d7909863742d77300a6f8f9dbf6ea4f33391a43b80c0bc4018d01620", "categorized_nodes": 143}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
2,847
c
#ifndef _HTTP_IMP_H_ #define _HTTP_IMP_H_ #include <map> #include <string> #include <vector> #include "servant/Application.h" using namespace std; using namespace tars; ///////////////////////////////////////////////////////////////////////// class HttpImp : public Servant { public: /** * ...
17.71
41
(translation_unit) "fndef _HTTP_IMP_H_ \n#define _HTTP_IMP_H_ \n \n#include <map> \n#include <string> \n#include <vector> \n#include "servant/Application.h" \n \nusing namespace std; \nusing namespace tars; \n \n///////////////////////////////////////////////////////////////////////// \nclass HttpImp : public Servant {...
112
8
{"language": "c", "success": true, "metadata": {"lines": 41, "avg_line_length": 17.71, "nodes": 76, "errors": 0, "source_hash": "6a2b80ea7bc1015a10f125d2883ff65b701849ac4f8ea523bbe3100872e760c7", "categorized_nodes": 56}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "fndef _H...
2,848
c
#include "pathfinder.h" void mx_graph_path_push_front(t_path **paths, t_path *path) { if (!*paths) { *paths = path; return; } path->next = *paths; *paths = path; }
20.78
9
(translation_unit) "#include "pathfinder.h"\n\nvoid mx_graph_path_push_front(t_path **paths, t_path *path) {\n if (!*paths) {\n *paths = path;\n return;\n }\n path->next = *paths;\n *paths = path;\n}\n" (preproc_include) "#include "pathfinder.h"\n" (#include) "#include" (string_liter...
73
0
{"language": "c", "success": true, "metadata": {"lines": 9, "avg_line_length": 20.78, "nodes": 48, "errors": 0, "source_hash": "9b7f1135629e1c7537589288a6ee136b00bb8ea4bcd021b7131240a1720da918", "categorized_nodes": 32}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#includ...
2,849
c
#pragma once #include "Application.h" #include "PlatformContactGenerator.h" #include "BlobForceGenerator.h" #include <cyclone/Particle/Particle.h> #include <cyclone/Particle/ParticleWorld.h> #ifndef BLOB_COUNT #define BLOB_COUNT 5 #endif #ifndef BLOB_RADIUS #define BLOB_RADIUS 0.4f #endif #ifndef PLATFORM_COUNT #de...
25.45
40
(translation_unit) "#pragma once\n\n#include "Application.h"\n#include "PlatformContactGenerator.h"\n#include "BlobForceGenerator.h"\n#include <cyclone/Particle/Particle.h>\n#include <cyclone/Particle/ParticleWorld.h>\n\n#ifndef BLOB_COUNT\n#define BLOB_COUNT 5\n#endif\n\n#ifndef BLOB_RADIUS\n#define BLOB_RADIUS 0.4f\n...
191
7
{"language": "c", "success": true, "metadata": {"lines": 40, "avg_line_length": 25.45, "nodes": 121, "errors": 0, "source_hash": "0e7850206149354218f7b7112ad308a41ee5f02d719f1b09b158cefdbdd53beb", "categorized_nodes": 81}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma ...
2,850
c
// // BaseNavigationController.h // FisherPaykel // // Created by apple on 2018/1/30. // Copyright © 2018年 TanSi. All rights reserved. // #import <UIKit/UIKit.h> @interface BaseNavigationController : QMUINavigationController @end
22.4
10
(translation_unit) "//\n// BaseNavigationController.h\n// FisherPaykel\n//\n// Created by apple on 2018/1/30.\n// Copyright © 2018年 TanSi. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface BaseNavigationController : QMUINavigationController\n\n@end\n" (comment) "//" (comment) "// BaseNavigation...
19
3
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 22.4, "nodes": 10, "errors": 0, "source_hash": "1ffb942321235588c45df0b33c435fa42433d4941159473cf18fc1e8e34e275f", "categorized_nodes": 5}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "port <UIKit...
2,851
c
#pragma once #ifndef __DEM_L1_VIDEO_SERVER_H__ #define __DEM_L1_VIDEO_SERVER_H__ #include <Core/Object.h> #include <Data/Singleton.h> #include <Data/Array.h> #include <dshow.h> // Server object to playback video streams. // DirectShow implementation. namespace Video { class CVideoPlayer; #define VideoSrv Video::CVi...
25.71
42
(translation_unit) "#pragma once\n#ifndef __DEM_L1_VIDEO_SERVER_H__\n#define __DEM_L1_VIDEO_SERVER_H__\n\n#include <Core/Object.h>\n#include <Data/Singleton.h>\n#include <Data/Array.h>\n#include <dshow.h>\n\n// Server object to playback video streams.\n// DirectShow implementation.\n\nnamespace Video\n{\nclass CVideoPl...
276
12
{"language": "c", "success": true, "metadata": {"lines": 42, "avg_line_length": 25.71, "nodes": 180, "errors": 0, "source_hash": "6a66ead2c2a1005a80ce68b4757d20e006891e2418a6258c3715453832edf09d", "categorized_nodes": 116}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
2,852
c
#include <stdio.h> #include <stdlib.h> #include <stdint.h> #define STB_IMAGE_WRITE_IMPLEMENTATION #include "stb_image_write.h" #include "color.h" #include "vmath.h" #include "texture.h" static vec3 ray_col(const vec3 vec, const texture* tex) { float u = (atan2f(-vec.z, vec.x) + M_PI) / (2 * M_PI); fl...
23.39
41
(translation_unit) "#include <stdio.h> \n#include <stdlib.h> \n#include <stdint.h> \n \n#define STB_IMAGE_WRITE_IMPLEMENTATION \n#include "stb_image_write.h" \n \n#include "color.h" \n#include "vmath.h" \n#include "texture.h" \n \nstatic vec3 ray_col(const vec3 vec, const texture* tex) \n{ \n float u = (atan2f(-vec.z, ...
392
0
{"language": "c", "success": true, "metadata": {"lines": 41, "avg_line_length": 23.39, "nodes": 253, "errors": 0, "source_hash": "070f835c18a02d05a29a926506237ee2b37cef9de118e4825cf12e477a0a2cec", "categorized_nodes": 183}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
2,853
c
#ifndef _TauEffect_h_ #define _TauEffect_h_ #include<Synth/TauTypes.h> #include "scutils/Utils.h" using namespace scutils; using namespace tau; namespace tauFX { class DLL_CLASS TauEffect { public: TauEffect(Synther* synther = nullptr) { this->synther = synther; } virtual ~TauEffect() { } virtual...
17.82
44
(translation_unit) "fndef _TauEffect_h_\n#define _TauEffect_h_\n\n#include<Synth/TauTypes.h>\n#include "scutils/Utils.h"\nusing namespace scutils;\nusing namespace tau;\n\n\nnamespace tauFX\n{\n class DLL_CLASS TauEffect\n {\n public:\n TauEffect(Synther* synther = nullptr)\n {\n this->synther = synther;\n }\n\n ...
232
6
{"language": "c", "success": true, "metadata": {"lines": 44, "avg_line_length": 17.82, "nodes": 160, "errors": 0, "source_hash": "731938a99aa9be86baae7385de6a073fe94afd9da3086c5eba680977ed3e49e6", "categorized_nodes": 102}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "fndef ...
2,854
c
#ifndef LIST_H_ #define LIST_H_ template<class T> class List { private: struct Node { T* data; Node* previous, * next; //full constructor for a Node Node(T* data, Node* previous, Node* next) : data(data), previous(previous), next(next) { } //contructor which links the new node to the nextNode ...
19.32
134
(translation_unit) "#ifndef LIST_H_\n#define LIST_H_\n\ntemplate<class T>\nclass List {\nprivate:\n struct Node {\n T* data;\n Node* previous, * next;\n\n //full constructor for a Node\n Node(T* data, Node* previous, Node* next) : data(data), previous(previous), next(next) {\n\n }\n\n //contructor which lin...
1,161
33
{"language": "c", "success": true, "metadata": {"lines": 134, "avg_line_length": 19.32, "nodes": 708, "errors": 0, "source_hash": "ad11ce59beb48d003504fdb1de5888052e4091b61f478564b8cd1ca520b329a7", "categorized_nodes": 494}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
2,855
c
/* * Copyright 2017 <NAME> <<EMAIL>> * * 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 agree...
29.29
49
(translation_unit) "/*\n * Copyright 2017 <NAME> <<EMAIL>>\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless requir...
234
4
{"language": "c", "success": true, "metadata": {"lines": 49, "avg_line_length": 29.29, "nodes": 166, "errors": 0, "source_hash": "0d1d7faa20c2603962fe30e81c0b9a81f7513026affbebdcda85d426b54789c2", "categorized_nodes": 108}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
2,856
c
// // Use this file to import your target's public headers that you would like to expose to Swift. // #import "AWCollectionViewSlidingDoorLayout.h" #import "GalleryCell.h"
33.6
5
(translation_unit) "//\n// Use this file to import your target's public headers that you would like to expose to Swift.\n//\n\n#import "AWCollectionViewSlidingDoorLayout.h"\n#import "GalleryCell.h"\n" (comment) "//" (comment) "// Use this file to import your target's public headers that you would like to expose t...
10
0
{"language": "c", "success": true, "metadata": {"lines": 5, "avg_line_length": 33.6, "nodes": 6, "errors": 0, "source_hash": "a481d1a221932731c71e42b24b8c7cbfd2749de1411f853dffc63d6c04f27edb", "categorized_nodes": 2}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import \"AWC...
2,857
c
/* * This header is generated by classdump-dyld 1.0 * on Sunday, September 27, 2020 at 11:54:08 AM Mountain Standard Time * Operating System: Version 14.0 (Build 18A373) * Image Source: /System/Library/PrivateFrameworks/ClassroomKit.framework/ClassroomKit * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 ...
37.6
15
(translation_unit) "/*\n* This header is generated by classdump-dyld 1.0\n* on Sunday, September 27, 2020 at 11:54:08 AM Mountain Standard Time\n* Operating System: Version 14.0 (Build 18A373)\n* Image Source: /System/Library/PrivateFrameworks/ClassroomKit.framework/ClassroomKit\n* classdump-dyld is licensed under GPLv...
80
12
{"language": "c", "success": true, "metadata": {"lines": 15, "avg_line_length": 37.6, "nodes": 49, "errors": 0, "source_hash": "fb2464325be7beac922df15ab85359e20aa5d7b7b653fda7164d38f89e2df2c1", "categorized_nodes": 31}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "c", "parent": nul...
2,858
c
#import <AVFoundation/AVFoundation.h> #import <ABI41_0_0UMCore/ABI41_0_0UMViewManager.h> @interface ABI41_0_0EXAdsAdMobDFPManager : ABI41_0_0UMViewManager @end
39
4
(translation_unit) "#import <AVFoundation/AVFoundation.h>\n#import <ABI41_0_0UMCore/ABI41_0_0UMViewManager.h>\n\n@interface ABI41_0_0EXAdsAdMobDFPManager : ABI41_0_0UMViewManager\n\n@end\n" (preproc_call) "#import <AVFoundation/AVFoundation.h>\n" (preproc_directive) "#import" (preproc_arg) "<AVFoundation/AVFo...
15
3
{"language": "c", "success": true, "metadata": {"lines": 4, "avg_line_length": 39.0, "nodes": 12, "errors": 0, "source_hash": "96115e57cff9f9a45dda1477d6a838ffaed9a8f3a6dbbf6de9fdbda0a9526a09", "categorized_nodes": 5}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <AVF...
2,859
c
#pragma once #ifndef DKDomXMLHttpRequestEventTarget_H #define DKDomXMLHttpRequestEventTarget_H #include "DKDuktape/DKDuktape.h" class DKDomXMLHttpRequestEventTarget : public DKObjectT<DKDomXMLHttpRequestEventTarget> { public: bool Init(); }; REGISTER_OBJECT(DKDomXMLHttpRequestEventTarget, true) #endif //DKDomXML...
27.33
12
(translation_unit) "#pragma once\n#ifndef DKDomXMLHttpRequestEventTarget_H\n#define DKDomXMLHttpRequestEventTarget_H\n\n#include "DKDuktape/DKDuktape.h"\n\nclass DKDomXMLHttpRequestEventTarget : public DKObjectT<DKDomXMLHttpRequestEventTarget>\n{\npublic:\n bool Init();\n\n};\n\n\nREGISTER_OBJECT(DKDomXMLHttpRequestEve...
54
1
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 27.33, "nodes": 31, "errors": 0, "source_hash": "a7510f95bc1a3ab95d031122abdb7cb222fd8d9d4476e5b9e9d987fbaacb2620", "categorized_nodes": 19}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
2,860
c
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <assert.h> #include <limits.h> #include <stdint.h> #define INPUT_PATH "input.txt" uint32_t part1(FILE *in); uint32_t part2(FILE *in); int main(void) { FILE *input = fopen(INPUT_PATH, "r"); if (input == NULL) { exit(EXIT_FAILURE);...
22.05
64
(translation_unit) "#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include <assert.h>\n#include <limits.h>\n#include <stdint.h>\n\n#define INPUT_PATH "input.txt"\n\nuint32_t part1(FILE *in);\nuint32_t part2(FILE *in);\n\nint main(void)\n{\n FILE *input = fopen(INPUT_PATH, "r");\n if (input == NULL...
549
0
{"language": "c", "success": true, "metadata": {"lines": 64, "avg_line_length": 22.05, "nodes": 340, "errors": 0, "source_hash": "2f795b0df352d6786934845e768a0fc118e7d3fec15b5caa5ea5ef8eb82a6034", "categorized_nodes": 229}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
2,861
c
//+-------------------------------------------------------------------------- // // Microsoft Windows // Copyright (C) Microsoft Corporation, 1994 - 2001. // // File: msibase.h // // Contents: msi database abstractions // // History: 4-14-2000 adamed Created // //-------------------------...
30.86
291
(translation_unit) "//+-------------------------------------------------------------------------- \n// \n// Microsoft Windows \n// Copyright (C) Microsoft Corporation, 1994 - 2001. \n// \n// File: msibase.h \n// \n// Contents: msi database abstractions \n// \n// History: 4-14-2000 adamed Created \n/...
570
4
{"language": "c", "success": true, "metadata": {"lines": 291, "avg_line_length": 30.86, "nodes": 272, "errors": 0, "source_hash": "04d06b650c63185d297fb2a26a0a681c125c65ac69a6fd50a5b05c0b9d2db29e", "categorized_nodes": 186}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_if", "text": "#if !def...
2,862
c
#include <stdio.h> #include <stdlib.h> int is_alph_num(int key) { if( (key >= '0' && key <= '9') ||(key >= 'A' && key <= 'Y') ) return 1; return 0; } char map_num(char i) { char key ; switch (i) { case 'A': case 'B': case'C':key = '2';break; case 'D': case 'E': case'F':key = '3';break...
15.65
88
(translation_unit) "#include <stdio.h> \n#include <stdlib.h> \n \nint is_alph_num(int key) \n{ \n if( (key >= '0' && key <= '9') \n ||(key >= 'A' && key <= 'Y') ) \n return 1; \n \n return 0; \n} \n \nchar map_num(char i) \n{ \n char key ; \n switch (i) \n { \n case 'A': case 'B': case'C':key = '2';break; \n case ...
740
0
{"language": "c", "success": true, "metadata": {"lines": 88, "avg_line_length": 15.65, "nodes": 517, "errors": 0, "source_hash": "af05c0b8357ba4bff87c2290f7092a8a3a384ae6e17ea838cc12885ea83ed2cd", "categorized_nodes": 291}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
2,863
c
#include "helpers.h" //Color Sensor registers const uint8_t IRAddr = 0xC0; //Selecting IR values instead of clear values const uint8_t EnableAddr = 0x80; //Responsible for powering on the device and setting sleep times const uint8_t TimeAddr = 0x81; //Controls the internal integration time of the RGBC channel A...
28.41
137
(translation_unit) "#include "helpers.h" \n \n \n//Color Sensor registers \nconst uint8_t IRAddr = 0xC0; //Selecting IR values instead of clear values \nconst uint8_t EnableAddr = 0x80; //Responsible for powering on the device and setting sleep times \nconst uint8_t TimeAddr = 0x81; //Controls the internal integration ...
946
1
{"language": "c", "success": true, "metadata": {"lines": 137, "avg_line_length": 28.41, "nodes": 584, "errors": 0, "source_hash": "a61f2e32434c790b7647c48051c864b6f7454444714493a43a0c8370e2cbe0f6", "categorized_nodes": 414}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
2,864
c
// // Created by machiry on 12/12/18. // #ifndef PROJECT_CONTEXTSENSITIVEFACTS_H #define PROJECT_CONTEXTSENSITIVEFACTS_H #include <llvm/Pass.h> #include <llvm/IR/Function.h> #include <llvm/Support/raw_ostream.h> #include <llvm/IR/LegacyPassManager.h> #include <llvm/Transforms/IPO/PassManagerBuilder.h> #include <llvm/...
29.83
35
(translation_unit) "//\n// Created by machiry on 12/12/18.\n//\n\n#ifndef PROJECT_CONTEXTSENSITIVEFACTS_H\n#define PROJECT_CONTEXTSENSITIVEFACTS_H\n\n#include <llvm/Pass.h>\n#include <llvm/IR/Function.h>\n#include <llvm/Support/raw_ostream.h>\n#include <llvm/IR/LegacyPassManager.h>\n#include <llvm/Transforms/IPO/PassMa...
208
10
{"language": "c", "success": true, "metadata": {"lines": 35, "avg_line_length": 29.83, "nodes": 136, "errors": 0, "source_hash": "e5a20048ef1ce5aa19731313fd46827e33e4333a9ef3af45207fcf5f5018d3e6", "categorized_nodes": 99}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
2,865
c
// // BaseOperation.h // CSSOperation // // Created by <NAME> on 2018/4/17. // Copyright © 2018年 joslyn. All rights reserved. // // https://github.com/JoslynWu/CSSOperation // #import <Foundation/Foundation.h> #import "NSOperation+CSSOperation.h" @class CSSOperation; typedef NSString *CSSOperationType; extern CS...
32.44
66
(translation_unit) "//\n// BaseOperation.h\n// CSSOperation\n//\n// Created by <NAME> on 2018/4/17.\n// Copyright © 2018年 joslyn. All rights reserved.\n//\n// https://github.com/JoslynWu/CSSOperation\n//\n\n#import <Foundation/Foundation.h>\n#import "NSOperation+CSSOperation.h"\n\n@class CSSOperation;\n\ntypedef NS...
334
34
{"language": "c", "success": true, "metadata": {"lines": 66, "avg_line_length": 32.44, "nodes": 220, "errors": 0, "source_hash": "37bbe62748f09217e72716273f479deb5faf9608e94d29794b7c0788c0974ee7", "categorized_nodes": 140}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "port <F...
2,866
c
#import "CSHandle.h" #import "CSStreamHandle.h" #import "CSZlibHandle.h" #import "CSBzip2Handle.h" @interface CSHandle (Progress) -(double)estimatedProgress; @end @interface CSZlibHandle (Progress) -(double)estimatedProgress; @end @interface CSStreamHandle (progress) -(double)estimatedProgress; @end @interfac...
22.12
16
(translation_unit) "#import "CSHandle.h"\n#import "CSStreamHandle.h"\n#import "CSZlibHandle.h"\n#import "CSBzip2Handle.h"\n\n@interface CSHandle (Progress)\n\n-(double)estimatedProgress;\n\n@end\n\n@interface CSZlibHandle (Progress)\n\n-(double)estimatedProgress;\n\n@end\n\n@interface CSStreamHandle (progress)\n\n-(dou...
103
16
{"language": "c", "success": true, "metadata": {"lines": 16, "avg_line_length": 22.12, "nodes": 72, "errors": 0, "source_hash": "e46c6877ea748940aea05dd8e954d927e222712984e8cf58f84b6b84fbd0748d", "categorized_nodes": 32}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import \...
2,867
c
/* ACVP debug helper * * Copyright (C) 2018, <NAME> <<EMAIL>> * * License: see LICENSE file in root directory * * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, ALL OF ...
31.39
204
(translation_unit) "/* ACVP debug helper\n *\n * Copyright (C) 2018, <NAME> <<EMAIL>>\n *\n * License: see LICENSE file in root directory\n *\n * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED\n * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES\n * OF MERCHANTABILITY AND FITNESS FOR A ...
1,703
0
{"language": "c", "success": true, "metadata": {"lines": 204, "avg_line_length": 31.39, "nodes": 1045, "errors": 0, "source_hash": "f803f75384ce4044c919024afb850010cf87e985a535160e259fd22e35615185", "categorized_nodes": 752}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#i...
2,868
c
//------------------------------------------------------------------------------ // Copyright 2010-2012 by <NAME> and George Mason University // See the file "LICENSE" for more information //------------------------------------------------------------------------------ #if !defined(_Point_H_ACD2D) #define _Point_H_A...
33.5
105
(translation_unit) "//------------------------------------------------------------------------------\n// Copyright 2010-2012 by <NAME> and George Mason University\n// See the file "LICENSE" for more information\n//------------------------------------------------------------------------------\n\n#if !defined(_Point_H_...
1,145
42
{"language": "c", "success": true, "metadata": {"lines": 105, "avg_line_length": 33.5, "nodes": 695, "errors": 0, "source_hash": "d5728c68575e3c36471444bce48ad7c77c5dc72d93a7ed76179cec6cefbf1774", "categorized_nodes": 498}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_if", "text": "#if !defi...
2,869
c
// // HKImageShowView.h // HongKZH_IOS // // Created by wanghui on 2018/9/10. // Copyright © 2018年 hkzh. All rights reserved. // #import <UIKit/UIKit.h> @protocol HKImageShowViewDelegate <NSObject> @optional -(void)gotoShopping:(NSInteger)tag; @end @interface HKImageShowView : UIView @property (nonatomic, strong...
25
16
(translation_unit) "//\n// HKImageShowView.h\n// HongKZH_IOS\n//\n// Created by wanghui on 2018/9/10.\n// Copyright © 2018年 hkzh. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n@protocol HKImageShowViewDelegate <NSObject>\n\n@optional\n-(void)gotoShopping:(NSInteger)tag;\n\n@end\n@interface HKImageShowView : ...
89
14
{"language": "c", "success": true, "metadata": {"lines": 16, "avg_line_length": 25.0, "nodes": 62, "errors": 0, "source_hash": "4e94b026565ee3c0a651e3d57c2ce3721adac6db922f5e876182be300b630928", "categorized_nodes": 34}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "port <UIKi...
2,870
c
#ifndef NODE_H #define NODE_H typedef struct _node NODE; struct _node { NODE *left; int type; NODE *right; void *value; int line; int column; }; void printNode(NODE *node); void freeNode(NODE *node); void freeNodes(NODE **nodes, int length); #endif
17.2
15
(translation_unit) "#ifndef NODE_H\n#define NODE_H\n\ntypedef struct _node NODE;\n\nstruct _node {\n NODE *left;\n int type;\n NODE *right;\n void *value;\n int line;\n int column;\n};\n\nvoid printNode(NODE *node);\n\nvoid freeNode(NODE *node);\n\nvoid freeNodes(NODE **nodes, int length);\n\n#endif\n...
97
0
{"language": "c", "success": true, "metadata": {"lines": 15, "avg_line_length": 17.2, "nodes": 75, "errors": 0, "source_hash": "a62ac17a5bc319a238949e5e4c7790cc363dd495ddb5f143ed8d90248582841a", "categorized_nodes": 47}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef N...
2,871
c
/* * erecovery_common.h * * This file is the common header file for erecovery * * Copyright (c) 2018-2019 Huawei Technologies Co., Ltd. * * This software is licensed under the terms of the GNU General Public * License version 2, as published by the Free Software Foundation, and * may be copied, distributed, an...
30.91
34
(translation_unit) "/*\n * erecovery_common.h\n *\n * This file is the common header file for erecovery\n *\n * Copyright (c) 2018-2019 Huawei Technologies Co., Ltd.\n *\n * This software is licensed under the terms of the GNU General Public\n * License version 2, as published by the Free Software Foundation, and\n * m...
64
0
{"language": "c", "success": true, "metadata": {"lines": 34, "avg_line_length": 30.91, "nodes": 48, "errors": 0, "source_hash": "7937678c6f07b12e849db0281342da6b4c01cb49a1e97235c444f998bcd76fd1", "categorized_nodes": 26}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
2,872
c
/* * H.265 video codec. * Copyright (c) 2013-2014 struktur AG, <NAME> <<EMAIL>> * * Authors: <NAME> <<EMAIL>> * * This file is part of libde265. * * libde265 is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as * published by the Free Softwar...
31.26
85
(translation_unit) "/*\n * H.265 video codec.\n * Copyright (c) 2013-2014 struktur AG, <NAME> <<EMAIL>>\n *\n * Authors: <NAME> <<EMAIL>>\n *\n * This file is part of libde265.\n *\n * libde265 is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as\n *...
417
22
{"language": "c", "success": true, "metadata": {"lines": 85, "avg_line_length": 31.26, "nodes": 231, "errors": 0, "source_hash": "32dd4ddf604bd8d5a1184050d4de041527edc172eea029e753b8adb7c4c64fc5", "categorized_nodes": 164}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
2,873
c
/** * @file include/retdec/fileformat/types/resource_table/bitmap_image.h * @brief Class for one bitmap image. * @copyright (c) 2017 Avast Software, licensed under the MIT license */ #ifndef RETDEC_FILEFORMAT_TYPES_RESOURCE_TABLE_BITMAP_IMAGE_H #define RETDEC_FILEFORMAT_TYPES_RESOURCE_TABLE_BITMAP_IMAGE_H #includ...
36.42
92
(translation_unit) "/**\n * @file include/retdec/fileformat/types/resource_table/bitmap_image.h\n * @brief Class for one bitmap image.\n * @copyright (c) 2017 Avast Software, licensed under the MIT license\n */\n\n#ifndef RETDEC_FILEFORMAT_TYPES_RESOURCE_TABLE_BITMAP_IMAGE_H\n#define RETDEC_FILEFORMAT_TYPES_RESOURCE_TA...
786
69
{"language": "c", "success": true, "metadata": {"lines": 92, "avg_line_length": 36.42, "nodes": 429, "errors": 0, "source_hash": "886da1d76ec1a89c72a099bb2f87703a3196dad75eacb135a5eb39efd2498569", "categorized_nodes": 301}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
2,874
c
#pragma once #include "tools/buffer.h" #include "UfTypes.h" #include <list> class UfPieceBuffer { public: UfPieceBuffer(int size); virtual ~UfPieceBuffer(); class Piece { public: Piece(); ~Piece(); Piece(const Piece& o); Piece& operator=(const Piece& o); __i...
23.43
28
(translation_unit) "#pragma once\n\n\n#include "tools/buffer.h"\n#include "UfTypes.h"\n#include <list>\n\nclass UfPieceBuffer\n{\npublic:\n UfPieceBuffer(int size);\n virtual ~UfPieceBuffer();\n\n class Piece {\n public:\n Piece();\n ~Piece();\n Piece(const Piece& o);\n Piece& op...
251
9
{"language": "c", "success": true, "metadata": {"lines": 28, "avg_line_length": 23.43, "nodes": 144, "errors": 0, "source_hash": "5bd09cee03401373c1f2a085b63f47d67c93afcbdb5986e9ce3a11992df45925", "categorized_nodes": 96}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma ...
2,875
c
#pragma once #ifndef COMPONENT_H #define COMPONENT_H class GAME_OBJECT; //#include "GameObject.h" //#include "manager.h" // コンポーネントクラス class COMPONENT /*: public GAME_OBJECT*/ { protected: weak_ptr<GAME_OBJECT> Owner; bool Enable; bool Draw_Enable; bool DestroyFlag; Aegis::Vector3 Position; Aegis::Vector3 R...
26.13
67
(translation_unit) "ragma once\n\n#ifndef COMPONENT_H\n#define COMPONENT_H\n\nclass GAME_OBJECT;\n//#include "GameObject.h"\n//#include "manager.h"\n\n// コンポーネントクラス\nclass COMPONENT /*: public GAME_OBJECT*/ {\nprotected:\n weak_ptr<GAME_OBJECT> Owner;\n\n bool Enable;\n bool Draw_Enable;\n bool DestroyFlag;\n\n Aegis::...
572
27
{"language": "c", "success": true, "metadata": {"lines": 67, "avg_line_length": 26.13, "nodes": 368, "errors": 0, "source_hash": "c62552a4161d0423b5c867fdda24d4ec3fe58b9931e3403c7306e7f5b040946e", "categorized_nodes": 238}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "ragma o...
2,876
c
/** * This header is generated by class-dump-z 0.2b. * * Source: /System/Library/PrivateFrameworks/iTunesStoreUI.framework/iTunesStoreUI */ #import <iTunesStoreUI/SUDataConsumer.h> @class NSData; @protocol SUCollectingDataConsumer <SUDataConsumer> @property(readonly, assign, nonatomic) NSData *consumedData; // d...
32.36
11
(translation_unit) "/**\n * This header is generated by class-dump-z 0.2b.\n *\n * Source: /System/Library/PrivateFrameworks/iTunesStoreUI.framework/iTunesStoreUI\n */\n\n#import <iTunesStoreUI/SUDataConsumer.h>\n\n@class NSData;\n\n@protocol SUCollectingDataConsumer <SUDataConsumer>\n@property(readonly, assign, nonato...
40
8
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 32.36, "nodes": 29, "errors": 0, "source_hash": "4b765de6f9fe0ac31ec6045aeeefd9b1dc28dbaf32d5cb665773993d1017832e", "categorized_nodes": 14}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <...
2,877
c
/* Print a string, appropriately quoted. Copyright 1997, 1999, 2001, 2003, 2005 Free Software Foundation, Inc. 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 3 of the Lic...
38.56
27
(translation_unit) "/* Print a string, appropriately quoted.\n\n Copyright 1997, 1999, 2001, 2003, 2005 Free Software Foundation, Inc.\n\n This program is free software: you can redistribute it and/or modify\n it under the terms of the GNU General Public License as published by\n the Free Software Foundation, e...
92
0
{"language": "c", "success": true, "metadata": {"lines": 27, "avg_line_length": 38.56, "nodes": 67, "errors": 0, "source_hash": "6fcb2e4ac8650a66be000cfeca84d06477221a7979fb8546130bba28b9d425c5", "categorized_nodes": 42}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_if", "text": "#if !define...
2,878
c
#include<stdio.h> #include<stdlib.h> int main() { int i,j,k,l,n; printf("Enter the number of rows : "); scanf("%d",&n); for(i = 1; i <= n; i++) { for(k = 1; k <= i; k++) { printf("%d ",k); } for(l = i-1; l >= 1; l--) { printf("%d ",l); } ...
19.76
17
(translation_unit) "#include<stdio.h>\n#include<stdlib.h>\n\nint main() {\n int i,j,k,l,n;\n printf("Enter the number of rows : ");\n scanf("%d",&n);\n for(i = 1; i <= n; i++) {\n for(k = 1; k <= i; k++) {\n printf("%d ",k);\n } \n for(l = i-1; l >= 1; l--) {\n pr...
160
0
{"language": "c", "success": true, "metadata": {"lines": 17, "avg_line_length": 19.76, "nodes": 84, "errors": 0, "source_hash": "de2ff50349b22d658ac0c2938f2a4da194819b0688f772c236898388e5bef066", "categorized_nodes": 65}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
2,879
c
// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROMECAST_PUBLIC_MEDIA_CAST_KEY_STATUS_H_ #define CHROMECAST_PUBLIC_MEDIA_CAST_KEY_STATUS_H_ namespace chromecast { namespace media { // Status...
44.14
14
(translation_unit) "// Copyright 2015 The Chromium Authors. All rights reserved.\n// Use of this source code is governed by a BSD-style license that can be\n// found in the LICENSE file.\n\n#ifndef CHROMECAST_PUBLIC_MEDIA_CAST_KEY_STATUS_H_\n#define CHROMECAST_PUBLIC_MEDIA_CAST_KEY_STATUS_H_\n\nnamespace chromecast {\n...
43
0
{"language": "c", "success": true, "metadata": {"lines": 14, "avg_line_length": 44.14, "nodes": 23, "errors": 0, "source_hash": "0132ed875ef33e95fcce0335d4c98949a53521ab46061a1a0be38eec5e2f6aae", "categorized_nodes": 20}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
2,880
c
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by <NAME>. // @class NSString, NSXPCListenerEndpoint; @protocol AuxiliaryCallsClient @optional - (void)retrievePreviewEndpoint:(void (^)(NSError *, NSXPCListenerEndpoint *))arg1; - (void)addFreeWindo...
41.82
11
(translation_unit) "//\n// Generated by class-dump 3.5 (64 bit).\n//\n// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by <NAME>.\n//\n\n@class NSString, NSXPCListenerEndpoint;\n\n@protocol AuxiliaryCallsClient\n\n@optional\n- (void)retrievePreviewEndpoint:(void (^)(NSError *, NSXPCListenerEndpoin...
115
13
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 41.82, "nodes": 70, "errors": 0, "source_hash": "e818ffbbb0fc192d973ce9328654f032758242c115cddf737b0bf01d50d8970d", "categorized_nodes": 36}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "@", "parent": nu...
2,881
c
#include <ccube.h> #include <ctools.h> #include <cheaders.h> extern int hasoverbright; void setupworld2(void) { glEnableClientState(GL_VERTEX_ARRAY); glEnableClientState(GL_COLOR_ARRAY); glEnableClientState(GL_TEXTURE_COORD_ARRAY); setarraypointers(); if(hasoverbright) ...
34.81
31
(translation_unit) "#include <ccube.h>\n#include <ctools.h>\n#include <cheaders.h>\n\nextern int hasoverbright;\n\nvoid setupworld2(void)\n{\n glEnableClientState(GL_VERTEX_ARRAY);\n glEnableClientState(GL_COLOR_ARRAY);\n glEnableClientState(GL_TEXTURE_COORD_ARRAY);\n setarraypointers();\n\n...
278
0
{"language": "c", "success": true, "metadata": {"lines": 31, "avg_line_length": 34.81, "nodes": 175, "errors": 0, "source_hash": "d3921e2d24b06b868de741800ff1885acdb8242cafed193717066c36f00f2743", "categorized_nodes": 124}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
2,882
c
/* * This header is generated by classdump-dyld 1.0 * on Sunday, September 27, 2020 at 11:52:32 AM Mountain Standard Time * Operating System: Version 14.0 (Build 18A373) * Image Source: /System/Library/PrivateFrameworks/ChronoCore.framework/ChronoCore * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by <...
28.12
17
(translation_unit) "/*\n* This header is generated by classdump-dyld 1.0\n* on Sunday, September 27, 2020 at 11:52:32 AM Mountain Standard Time\n* Operating System: Version 14.0 (Build 18A373)\n* Image Source: /System/Library/PrivateFrameworks/ChronoCore.framework/ChronoCore\n* classdump-dyld is licensed under GPLv3, C...
38
5
{"language": "c", "success": true, "metadata": {"lines": 17, "avg_line_length": 28.12, "nodes": 17, "errors": 0, "source_hash": "00c908d68eb2ae7289ac403049e4348250661776424d38d23d453ac9dd06d0b5", "categorized_nodes": 12}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "i", "parent": nu...
2,883
c
// // MCTeacherVideoView.h // AgoraEducation // // Created by yangmoumou on 2019/11/15. // Copyright © 2019 Agora. All rights reserved. // #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @interface MCTeacherVideoView : UIView @property (weak, nonatomic) IBOutlet UIView *videoRenderView; @property (weak, nonatomi...
29.06
16
(translation_unit) "//\n// MCTeacherVideoView.h\n// AgoraEducation\n//\n// Created by yangmoumou on 2019/11/15.\n// Copyright © 2019 Agora. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\nNS_ASSUME_NONNULL_BEGIN\n\n@interface MCTeacherVideoView : UIView\n@property (weak, nonatomic) IBOutlet UIView *videoRend...
100
13
{"language": "c", "success": true, "metadata": {"lines": 16, "avg_line_length": 29.06, "nodes": 66, "errors": 0, "source_hash": "78fbdcad939da1d3c0c176f1cf42cd4b448cae049ed7b2d6937cd0dd644b0028", "categorized_nodes": 39}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <U...
2,884
c
// Copyright (c) FIRST and other WPILib contributors. // Open Source Software; you can modify and/or share it under the terms of // the WPILib BSD license file in the root directory of this project. #pragma once #include <memory> #include <string> #include <string_view> #include <utility> #include <vector> #include ...
34.18
45
(translation_unit) "// Copyright (c) FIRST and other WPILib contributors.\n// Open Source Software; you can modify and/or share it under the terms of\n// the WPILib BSD license file in the root directory of this project.\n\n#pragma once\n\n#include <memory>\n#include <string>\n#include <string_view>\n#include <utility>...
350
17
{"language": "c", "success": true, "metadata": {"lines": 45, "avg_line_length": 34.18, "nodes": 209, "errors": 0, "source_hash": "f35e3ea3ced4c0c23c022af238547affe607400ad24ed83ba1b60022b024661b", "categorized_nodes": 150}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
2,885
c
// // IMAAVPlayerContentPlayhead.h // GoogleIMA3 // // Copyright (c) 2013 Google Inc. All rights reserved. // // Declares IMAAVPlayerContentPlayhead, a wrapper for tracking AVPlayer-based // video players. #import <AVFoundation/AVFoundation.h> #import "IMAContentPlayhead.h" /** * An implementation of IMAConten...
27.38
34
(translation_unit) "//\n// IMAAVPlayerContentPlayhead.h\n// GoogleIMA3\n//\n// Copyright (c) 2013 Google Inc. All rights reserved.\n//\n// Declares IMAAVPlayerContentPlayhead, a wrapper for tracking AVPlayer-based\n// video players.\n\n#import <AVFoundation/AVFoundation.h>\n\n#import "IMAContentPlayhead.h"\n\n/**\...
82
9
{"language": "c", "success": true, "metadata": {"lines": 34, "avg_line_length": 27.38, "nodes": 49, "errors": 0, "source_hash": "e3ec486d67ee3e9e0e8805c5c9872c8c466e2617baa8613de0659e370bb2aa5f", "categorized_nodes": 26}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <...
2,886
c
#include <stdio.h> int main(){ float left,right,result; char air; _Bool turn = 1; printf("请输入: "); scanf("%f%c%f",&left,&air,&right); switch(air){ case '+': result = left+right; break; case '-': result = left-right; break; case '*': result = left*right; break; case '/':...
14.69
36
(translation_unit) "#include <stdio.h>\n\nint main(){\n\n float left,right,result;\n char air;\n _Bool turn = 1;\n \n printf("请输入: ");\n scanf("%f%c%f",&left,&air,&right);\n switch(air){\n case '+': \n result = left+right; \n break;\n case '-': \n result = left-right; \n break;\n case '*': \n result ...
237
0
{"language": "c", "success": true, "metadata": {"lines": 36, "avg_line_length": 14.69, "nodes": 134, "errors": 0, "source_hash": "d137621e16d3c3d9707f0dfcfd2ead50dc168f84fd18c612c50cda819e48df3b", "categorized_nodes": 90}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
2,887
c
/* * mmp factor clock operation source file * * Copyright (C) 2012 Marvell * <NAME> <<EMAIL>> * * This file is licensed under the terms of the GNU General Public * License version 2. This program is licensed "as is" without any * warranty of any kind, whether express or implied. */ #include <linux/clk-provide...
27.76
131
(translation_unit) "/*\n * mmp factor clock operation source file\n *\n * Copyright (C) 2012 Marvell\n * <NAME> <<EMAIL>>\n *\n * This file is licensed under the terms of the GNU General Public\n * License version 2. This program is licensed "as is" without any\n * warranty of any kind, whether express or implied.\n */...
1,165
2
{"language": "c", "success": true, "metadata": {"lines": 131, "avg_line_length": 27.76, "nodes": 783, "errors": 0, "source_hash": "872f3d4f2beeddc14cca58550148ca9eb44dbb975652a41140a8f336cc97d9bc", "categorized_nodes": 583}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
2,888
c
.if (file_epilogue == false) /**************************************************************/ /* */ /* (C) Copyright 1998-2013 Mentor Graphics Corporation */ /* All Rights Reserved */ /* ...
38.89
35
(translation_unit) ".if (file_epilogue == false)\n/**************************************************************/\n/* */\n/* (C) Copyright 1998-2013 Mentor Graphics Corporation */\n/* All Rights Reserved */\n/* ...
172
16
{"language": "c", "success": true, "metadata": {"lines": 35, "avg_line_length": 38.89, "nodes": 74, "errors": 0, "source_hash": "241962922ff023c5aa9a071c8f14605c8951f5e026ad6519b973301be6abab75", "categorized_nodes": 54}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "if_statement", "text": "if (file_...
2,889
c
/* * Copyright 2017-2018, <NAME> <<EMAIL>>. * All rights reserved. Distributed under the terms of the MIT License. */ #ifndef SERVER_ICON_EXPORT_UPDATE_PROCESS_H #define SERVER_ICON_EXPORT_UPDATE_PROCESS_H #include <File.h> #include <Path.h> #include <String.h> #include <Url.h> #include "AbstractServerProcess.h" ...
30.48
44
(translation_unit) "/*\n * Copyright 2017-2018, <NAME> <<EMAIL>>.\n * All rights reserved. Distributed under the terms of the MIT License.\n */\n#ifndef SERVER_ICON_EXPORT_UPDATE_PROCESS_H\n#define SERVER_ICON_EXPORT_UPDATE_PROCESS_H\n\n\n#include <File.h>\n#include <Path.h>\n#include <String.h>\n#include <Url.h>\n\n#i...
269
12
{"language": "c", "success": true, "metadata": {"lines": 44, "avg_line_length": 30.48, "nodes": 161, "errors": 0, "source_hash": "7132cdef22e17b4388c7b120981944a96e74f57f18744d4dd81fdd4e13e39ef1", "categorized_nodes": 119}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
2,890
c
/* Copyright (C) 2003-2008 <NAME> 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 app...
30.75
57
(translation_unit) "/* \n Copyright (C) 2003-2008 <NAME> \n \n This software is provided 'as-is', without any express or implied \n warranty. In no event will the authors be held liable for any damages \n arising from the use of this software. \n \n Permission is granted to anyone to use this software for any purpose,...
230
3
{"language": "c", "success": true, "metadata": {"lines": 57, "avg_line_length": 30.75, "nodes": 152, "errors": 0, "source_hash": "7a8a3bb30038fd0aea88897d8710094a64c1ad31f514bca5903db54f25e96cb0", "categorized_nodes": 108}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
2,891
c
/* * Copyright 2019 Google LLC * * 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 ...
36.39
51
(translation_unit) "/*\n * Copyright 2019 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by...
291
12
{"language": "c", "success": true, "metadata": {"lines": 51, "avg_line_length": 36.39, "nodes": 155, "errors": 0, "source_hash": "eb5cb45327ca39af8e7b3be44ba131980eed738050019da6223320327d2290dd", "categorized_nodes": 104}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
2,892
c
/* * Copyright (c) 2020 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 ...
35.55
150
(translation_unit) "/*\n * Copyright (c) 2020 Huawei Device Co., Ltd.\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless...
535
0
{"language": "c", "success": true, "metadata": {"lines": 150, "avg_line_length": 35.55, "nodes": 515, "errors": 0, "source_hash": "b99157078bddedb4e679cca84336b491511b7b9a6419a0c208fe8efe408c14b8", "categorized_nodes": 161}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
2,893
c
/* * Generated by class-dump 3.3.4 (64 bit). * * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by <NAME>. */ #import <DVTFoundation/DVTDeviceLocator.h> @interface DVTLocalComputerLocator : DVTDeviceLocator { } + (id)localComputer; - (BOOL)matchDevice:(id)arg1 againstOptions:(id)arg2 generic...
26.22
18
(translation_unit) "/*\n * Generated by class-dump 3.3.4 (64 bit).\n *\n * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by <NAME>.\n */\n\n#import <DVTFoundation/DVTDeviceLocator.h>\n\n@interface DVTLocalComputerLocator : DVTDeviceLocator\n{\n}\n\n+ (id)localComputer;\n- (BOOL)matchDevice:(id)arg...
126
8
{"language": "c", "success": true, "metadata": {"lines": 18, "avg_line_length": 26.22, "nodes": 74, "errors": 0, "source_hash": "39c05766a4d19d4bf882633187cdb131e729f681107cef6344f7374d1d3d3ae6", "categorized_nodes": 46}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <...
2,894
c
/* * This file is part of `et engine` * Copyright 2009-2016 by <NAME> * Please, modify content only if you know what are you doing. * */ #pragma once #include <et/core/singleton.h> #include <et/core/tools.h> #include <et/app/events.h> #include <et/app/runloop.h> #include <et/app/appevironment.h> #i...
21.56
236
(translation_unit) "/* \n * This file is part of `et engine` \n * Copyright 2009-2016 by <NAME> \n * Please, modify content only if you know what are you doing. \n * \n */ \n \n#pragma once \n \n#include <et/core/singleton.h> \n#include <et/core/tools.h> \n#include <et/app/events.h> \n#include <et/app/runloop.h> \n#inc...
1,356
76
{"language": "c", "success": true, "metadata": {"lines": 236, "avg_line_length": 21.56, "nodes": 770, "errors": 0, "source_hash": "89104e4cd40dbdc95ef9b81dbd38817b1565bd32d7d27d33aaf35c18704effed", "categorized_nodes": 518}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragm...
2,895
c
#ifndef CCONFD_CONFIGDIRJSON_H #define CCONFD_CONFIGDIRJSON_H #include "common/Debug.h" #include "common/Logger.h" #include "components/ConfigVault.h" #include "interfaces/ConfigDir.h" #include <fruit/fruit.h> #include <nlohmann/json.hpp> #include <unordered_map> class ConfigDirJson : public ConfigDir { public: IN...
36.88
32
(translation_unit) "#ifndef CCONFD_CONFIGDIRJSON_H\n#define CCONFD_CONFIGDIRJSON_H\n\n#include "common/Debug.h"\n#include "common/Logger.h"\n#include "components/ConfigVault.h"\n#include "interfaces/ConfigDir.h"\n\n#include <fruit/fruit.h>\n#include <nlohmann/json.hpp>\n#include <unordered_map>\n\nclass ConfigDirJson :...
248
13
{"language": "c", "success": true, "metadata": {"lines": 32, "avg_line_length": 36.88, "nodes": 139, "errors": 0, "source_hash": "8262b3ec67872a183b9cbe3db7efbed084bd4716117a62d3747224bf9256203d", "categorized_nodes": 106}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
2,896
c
#pragma once #include <utility> namespace MV { class Input { public : static bool IsKeyPressed(int keycode); static bool IsMouseButtonPressed(int button); static std::pair<int, int> GetMousePosition(); private : }; }
15.79
14
(translation_unit) "#pragma once\n\n#include <utility>\n\n\nnamespace MV {\n\n class Input {\n public :\n\n\n static bool IsKeyPressed(int keycode);\n static bool IsMouseButtonPressed(int button);\n\n static std::pair<int, int> GetMousePosition();\n\n private :\n\n\n };\n\n}" (preproc_call) "#pragma once\n" ...
76
3
{"language": "c", "success": true, "metadata": {"lines": 14, "avg_line_length": 15.79, "nodes": 41, "errors": 0, "source_hash": "d9ea4855062536f62b5d9b4dcdb82d58055acea77b40e0fabeac0e7fa4e88bda", "categorized_nodes": 25}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
2,897
c
/** * Copyright (c): <NAME>, <NAME> * * You may study, modify and distribute this source code * FOR NON-COMMERCIAL PURPOSES ONLY. * This copyright message has to remain unchanged. * * Note that this document is provided 'as is', * WITHOUT WARRANTY of any kind either expressed or implied. */ #ifndef M...
25.89
35
(translation_unit) "/**\n * Copyright (c): <NAME>, <NAME>\n *\n * You may study, modify and distribute this source code\n * FOR NON-COMMERCIAL PURPOSES ONLY.\n * This copyright message has to remain unchanged.\n *\n * Note that this document is provided 'as is',\n * WITHOUT WARRANTY of any kind either expressed...
202
0
{"language": "c", "success": true, "metadata": {"lines": 35, "avg_line_length": 25.89, "nodes": 152, "errors": 0, "source_hash": "a5c4d1b092bcba23b68cbf9e963f4c86829859c2ab1443940088cf59bf21c475", "categorized_nodes": 107}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
2,898
c
/***========================================================================= ==== ==== ==== D C U t i l i t y ==== ==== ==== ========...
36.6
72
(translation_unit) "/***=========================================================================\n==== ====\n==== D C U t i l i t y ====\n==== ...
229
7
{"language": "c", "success": true, "metadata": {"lines": 72, "avg_line_length": 36.6, "nodes": 141, "errors": 0, "source_hash": "c70b91939a946012ce17d64e0acc140f3d7003262d08b0a8ba17842b0ae61637", "categorized_nodes": 99}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
2,899