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
#ifndef PTHREAD_H #define PTHREAD_H #ifndef _WIN32 #include <pthread.h> #else #include <windows.h> typedef HANDLE pthread_mutex_t; typedef HANDLE pthread_cond_t; typedef DWORD pthread_t; typedef HANDLE pid_t; int pthread_cond_destroy (pthread_cond_t *cond); int pthread_cond_init (pthread_cond_t *cond, const void *i...
33.9
21
(translation_unit) "#ifndef PTHREAD_H\n#define PTHREAD_H\n\n#ifndef _WIN32\n#include <pthread.h>\n#else\n#include <windows.h>\n\ntypedef HANDLE pthread_mutex_t;\ntypedef HANDLE pthread_cond_t;\ntypedef DWORD pthread_t;\ntypedef HANDLE pid_t;\n\nint pthread_cond_destroy (pthread_cond_t *cond);\nint pthread_cond_init (p...
176
0
{"language": "c", "success": true, "metadata": {"lines": 21, "avg_line_length": 33.9, "nodes": 137, "errors": 0, "source_hash": "72a859d7d88bd489aecdec571a5c2f94927f7c12bf20b1150c9872e23c3492a2", "categorized_nodes": 87}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
14,100
c
#pragma once #include "Renderer/Shader.h" #include "Scene/BaseComponent.h" constexpr glm::vec3 RIGHT = glm::vec3(1, 0, 0); constexpr glm::vec3 FRONT = glm::vec3(0, 0, -1); constexpr glm::vec3 WORLD_UP = glm::vec3(0, 1, 0); struct Camera : public ECS::BaseComponent { float zNear = 0.1f; float zFar = 1000.0f; float...
40.49
45
(translation_unit) "#pragma once\n\n#include "Renderer/Shader.h"\n#include "Scene/BaseComponent.h"\n\nconstexpr glm::vec3 RIGHT = glm::vec3(1, 0, 0);\nconstexpr glm::vec3 FRONT = glm::vec3(0, 0, -1);\nconstexpr glm::vec3 WORLD_UP = glm::vec3(0, 1, 0);\n\nstruct Camera : public ECS::BaseComponent {\n float zNear = 0.1f;...
794
42
{"language": "c", "success": true, "metadata": {"lines": 45, "avg_line_length": 40.49, "nodes": 475, "errors": 0, "source_hash": "a1b836cf92727de16c34e0de00dcc6e52610fb5718683b2a19382b2822eb008f", "categorized_nodes": 330}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
14,101
c
#ifndef SG_GUI_IMAGE_VIEW_H__ #define SG_GUI_IMAGE_VIEW_H__ #include <scopegraph/Agent.h> #include <imageprocessing/Image.h> #include "Texture.h" #include "GuiSignals.h" #include "MouseSignals.h" #include "ViewSignals.h" namespace sg_gui { class SetImage : public SetContent { public: typedef SetContent parent_typ...
22.07
57
(translation_unit) "#ifndef SG_GUI_IMAGE_VIEW_H__\n#define SG_GUI_IMAGE_VIEW_H__\n\n#include <scopegraph/Agent.h>\n#include <imageprocessing/Image.h>\n#include "Texture.h"\n#include "GuiSignals.h"\n#include "MouseSignals.h"\n#include "ViewSignals.h"\n\nnamespace sg_gui {\n\nclass SetImage : public SetContent {\n\npubli...
401
18
{"language": "c", "success": true, "metadata": {"lines": 57, "avg_line_length": 22.07, "nodes": 241, "errors": 0, "source_hash": "2d5df6d578d5e8cbaf64716eb0f62b58c698869167dd20aab41fd1ef22fde522", "categorized_nodes": 170}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
14,102
c
#include <sysdeps/sparc/sparc64/rtld-memmove.c>
47
1
(translation_unit) "#include <sysdeps/sparc/sparc64/rtld-memmove.c>\n" (preproc_include) "#include <sysdeps/sparc/sparc64/rtld-memmove.c>\n" (#include) "#include" (system_lib_string) "<sysdeps/sparc/sparc64/rtld-memmove.c>"
4
0
{"language": "c", "success": true, "metadata": {"lines": 1, "avg_line_length": 47.0, "nodes": 3, "errors": 0, "source_hash": "a0739fac9118ff57fbcaae8ff3988ea57501deeaa74471503509d6cde18ca40a", "categorized_nodes": 3}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#include <...
14,103
c
#pragma once namespace RRLibs::MMalRR { enum class Exposure { OFF, AUTO, NIGHT, NIGHTPREVIEW, BACKLIGHT, SPOTLIGHT, SPORTS, SNOW, BEACH, VERYLONG, FIXEDFPS, ANTISHAKE, FIREWORKS }; }
11.42
19
(translation_unit) "#pragma once\n\nnamespace RRLibs::MMalRR {\n\n\nenum class Exposure {\n OFF,\n AUTO,\n NIGHT,\n NIGHTPREVIEW,\n BACKLIGHT,\n SPOTLIGHT,\n SPORTS,\n SNOW,\n BEACH,\n VERYLONG,\n FIXEDFPS,\n ANTISHAKE,\n FIREWORKS\n};\n\n}" (preproc_call) "#pragma once\n" (...
63
2
{"language": "c", "success": true, "metadata": {"lines": 19, "avg_line_length": 11.42, "nodes": 37, "errors": 0, "source_hash": "051c6e5a5bb3af88e6e961e0fc08adaae017c7b74c9a38dfccc5ff661170db78", "categorized_nodes": 34}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
14,104
c
#ifndef PROGRESS__H #define PROGRESS__H //====================== PROGRESS REPORTS ===================== enum PROGRESS { INITIAL_LOAD, GAME_INTRO_SCREEN, GAME_WIN_SCREEN, GAME_LOSE_SCREEN }; #define CREDITS "FONTS/SRC: <NAME>\nSRC: <NAME> BSN RNMUSIC: Neurodancer, Aminet\nSOUND: Caustic\nGFX: Gimp\nDEV:...
28.64
14
(translation_unit) "#ifndef PROGRESS__H\n#define PROGRESS__H\n//====================== PROGRESS REPORTS =====================\nenum PROGRESS {\n INITIAL_LOAD,\n GAME_INTRO_SCREEN,\n GAME_WIN_SCREEN,\n GAME_LOSE_SCREEN\n};\n\n#define CREDITS "FONTS/SRC: <NAME>\nSRC: <NAME> BSN RNMUSIC: Neurodancer, Aminet\nS...
43
0
{"language": "c", "success": true, "metadata": {"lines": 14, "avg_line_length": 28.64, "nodes": 35, "errors": 0, "source_hash": "10a730b66b29179ccdab6fedecd516f76271738b996f03fb83345b210090ee73", "categorized_nodes": 21}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
14,105
c
/*======================================================================== VES --- VTK OpenGL ES Rendering Toolkit http://www.kitware.com/ves Copyright 2011 Kitware, Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. Y...
36.36
36
(translation_unit) "/*========================================================================\n VES --- VTK OpenGL ES Rendering Toolkit\n\n http://www.kitware.com/ves\n\n Copyright 2011 Kitware, Inc.\n\n Licensed under the Apache License, Version 2.0 (the "License");\n you may not use this file except in comp...
109
4
{"language": "c", "success": true, "metadata": {"lines": 36, "avg_line_length": 36.36, "nodes": 60, "errors": 0, "source_hash": "f78c5465db51e2382b03d20cfa517fc35f40755ac2252d6559221577abdf2386", "categorized_nodes": 43}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
14,106
c
#ifndef MERT_TER_TER_ALIGNMENT_H_ #define MERT_TER_TER_ALIGNMENT_H_ #include <vector> #include <stdio.h> #include <string.h> #include "tools.h" #include "terShift.h" using namespace std; // using namespace HashMapSpace; namespace TERCpp { class terAlignment { private: public: terAlignment(); string toString();...
17.8
40
(translation_unit) "#ifndef MERT_TER_TER_ALIGNMENT_H_\n#define MERT_TER_TER_ALIGNMENT_H_\n\n#include <vector>\n#include <stdio.h>\n#include <string.h>\n#include "tools.h"\n#include "terShift.h"\n\n\nusing namespace std;\n// using namespace HashMapSpace;\nnamespace TERCpp\n{\n\nclass terAlignment\n{\nprivate:\npublic:\n...
196
2
{"language": "c", "success": true, "metadata": {"lines": 40, "avg_line_length": 17.8, "nodes": 134, "errors": 0, "source_hash": "0c6ef25f1c0b59847c871835d5d82400236de864836cae92300eb8fe9c4a2957", "categorized_nodes": 99}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
14,107
c
#ifndef CLASS_METHOD_RETURNS_METHOD_H_ # define CLASS_METHOD_RETURNS_METHOD_H_ # include "oolua_tests_pch.h" # include "common_cppunit_headers.h" # include "oolua.h" //bad includes we just net oolua_pushull_fwd //and the include for CPPUNIT macro template<typename Return_type,typename Input_type> void assert_return_...
31.4
15
(translation_unit) "#ifndef CLASS_METHOD_RETURNS_METHOD_H_\n# define CLASS_METHOD_RETURNS_METHOD_H_\n\n# include "oolua_tests_pch.h"\n# include "common_cppunit_headers.h"\n# include "oolua.h"\n\n//bad includes we just net oolua_pushull_fwd\n//and the include for CPPUNIT macro\n\ntemplate<typename Return_type,typename I...
96
5
{"language": "c", "success": true, "metadata": {"lines": 15, "avg_line_length": 31.4, "nodes": 58, "errors": 0, "source_hash": "96b13e166b49068512e58b57878e18a2b8fbdfbde02cb54087b150bc85a6e0ba", "categorized_nodes": 44}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef C...
14,108
c
#ifndef H3175F5B7_3EBF_4468_AED7_8FF395B88AF7 #define H3175F5B7_3EBF_4468_AED7_8FF395B88AF7 #include <cut/core/TestCaller.h> #include <cut/hook/runtime/Runtime.h> #include <cut/startup/TestOptions.h> #include <cub/utils/TypeName.h> #include <iostream> CUT_NS_BEGIN template <typename Fixture> struct TestMethod { ...
24.73
37
(translation_unit) "#ifndef H3175F5B7_3EBF_4468_AED7_8FF395B88AF7\n#define H3175F5B7_3EBF_4468_AED7_8FF395B88AF7\n\n#include <cut/core/TestCaller.h>\n#include <cut/hook/runtime/Runtime.h>\n#include <cut/startup/TestOptions.h>\n#include <cub/utils/TypeName.h>\n#include <iostream>\n\nCUT_NS_BEGIN\n\ntemplate <typename Fi...
269
13
{"language": "c", "success": true, "metadata": {"lines": 37, "avg_line_length": 24.73, "nodes": 169, "errors": 0, "source_hash": "181ff5dda54c1419d3569945f479ca7600cf46bce23a0630dea6a6080237aa72", "categorized_nodes": 117}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
14,109
c
// BUILD_ONLY: MacOSX // BUILD: $CC main.c -o $BUILD_DIR/rebuild-dyld-cache.exe // RUN: ./rebuild-dyld-cache.exe #include <stdio.h> #include <dlfcn.h> #include <unistd.h> #include <signal.h> #include <spawn.h> #include <errno.h> #include <sys/uio.h> #include <sys/wait.h> #include <sys/types.h> extern ...
32.59
34
(translation_unit) "// BUILD_ONLY: MacOSX\n\n// BUILD: $CC main.c -o $BUILD_DIR/rebuild-dyld-cache.exe\n\n// RUN: ./rebuild-dyld-cache.exe\n\n\n#include <stdio.h>\n#include <dlfcn.h>\n#include <unistd.h>\n#include <signal.h>\n#include <spawn.h>\n#include <errno.h>\n#include <sys/uio.h>\n#include <sys/wait....
266
0
{"language": "c", "success": true, "metadata": {"lines": 34, "avg_line_length": 32.59, "nodes": 153, "errors": 0, "source_hash": "a249122c57dba5ae9dc67ef532bdf1390d0b1429aaead60827bc891cb99a3420", "categorized_nodes": 99}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
14,110
c
#ifndef __FILE_H__ #define __FILE_H__ #include <stdint.h> #include <stddef.h> #define FILE_NAME_LEN ( 240 ) class xiFile { public: enum seekType_e { SEEK_ABSOLUTE, SEEK_RELATIVE }; void Retain(); void Release(); virtual bool Seek( const ptrdiff_t finalPos, const seekType_e seekType = SEEK_ABSOLU...
21.22
27
(translation_unit) "#ifndef __FILE_H__\n#define __FILE_H__\n\n#include <stdint.h>\n#include <stddef.h>\n\n#define FILE_NAME_LEN ( 240 )\n\nclass xiFile {\npublic:\n enum seekType_e {\n SEEK_ABSOLUTE,\n SEEK_RELATIVE\n };\n \n void Retain();\n void Release();\n virtual bool Seek( const ptrdiff_t finalPos, co...
173
8
{"language": "c", "success": true, "metadata": {"lines": 27, "avg_line_length": 21.22, "nodes": 110, "errors": 0, "source_hash": "d5e2191a8bf2eb7788329674da4ea851fcc2a7df423c734abcff2becfc390dd4", "categorized_nodes": 72}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
14,111
c
/* * Copyright 2020 <NAME> <<EMAIL>> * * SPDX-License-Identifier: MIT */ #pragma once #include <stdint.h> struct acpi_rsdp { char signature[8]; uint8_t checksum; char oemid[6]; uint8_t revision; uint32_t rsdt_address; uint32_t length; uint64_t xsdt_addr; uint8_t extended_checksum;...
22.45
64
(translation_unit) "/*\n * Copyright 2020 <NAME> <<EMAIL>>\n *\n * SPDX-License-Identifier: MIT\n */\n\n#pragma once\n\n#include <stdint.h>\n\nstruct acpi_rsdp {\n char signature[8];\n uint8_t checksum;\n char oemid[6];\n uint8_t revision;\n uint32_t rsdt_address;\n uint32_t length;\n uint64_t xsdt...
346
0
{"language": "c", "success": true, "metadata": {"lines": 64, "avg_line_length": 22.45, "nodes": 215, "errors": 0, "source_hash": "cbd61117bbabfc9f54d88836f9c38d13fa3f48d36f2d5ba35e87a37a63f8d742", "categorized_nodes": 149}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
14,112
c
// // EthosNetwork.h // EthosNetwork // // Created by <NAME> on 4/17/19. // Copyright © 2019 egouletlang. All rights reserved. // #import <UIKit/UIKit.h> //! Project version number for EthosNetwork. FOUNDATION_EXPORT double EthosNetworkVersionNumber; //! Project version string for EthosNetwork. FOUNDATION_EXPORT...
37.85
13
(translation_unit) "//\n// EthosNetwork.h\n// EthosNetwork\n//\n// Created by <NAME> on 4/17/19.\n// Copyright © 2019 egouletlang. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n//! Project version number for EthosNetwork.\nFOUNDATION_EXPORT double EthosNetworkVersionNumber;\n\n//! Project version string fo...
33
1
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 37.85, "nodes": 15, "errors": 0, "source_hash": "7af26dec4acaa16ddacce279fe015d736b1cfaf227b631cfb9802065b3e17535", "categorized_nodes": 11}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <U...
14,113
c
// // NSDate+Demo.h // Geoloqi // // Created by <NAME> on 12/11/11. // Copyright (c) 2011 Me. All rights reserved. // #import <Foundation/Foundation.h> @interface NSDate (Demo) + (NSDate *) dateWithISO8601String:(NSString *)dateString; @end
21.27
11
(translation_unit) "//\n// NSDate+Demo.h\n// Geoloqi\n//\n// Created by <NAME> on 12/11/11.\n// Copyright (c) 2011 Me. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n\n@interface NSDate (Demo)\n\n+ (NSDate *) dateWithISO8601String:(NSString *)dateString;\n\n@end\n" (comment) "//" (comment) "// ...
45
5
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 21.27, "nodes": 24, "errors": 0, "source_hash": "807d749b969ab91a308867c87eef181a6b6e9402e3cca03e9f237d84848491f7", "categorized_nodes": 12}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <...
14,114
c
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/types.h> #include <sys/wait.h> #include <unistd.h> #include "Processes_Creation.c" char nome_ficheiro[125]; char cabecalho[45]; char coluna_dados[35]; int menu_criacao_processos(); void executa_menu_criacao_processos(); /*A fu...
28.07
254
(translation_unit) "#include <stdio.h> \n#include <stdlib.h> \n#include <string.h> \n#include <sys/types.h> \n#include <sys/wait.h> \n#include <unistd.h> \n \n#include "Processes_Creation.c" \n \nchar nome_ficheiro[125]; \nchar cabecalho[45]; \nchar coluna_dados[35]; \n \nint menu_criacao_processos(); \nvoid executa_m...
1,354
0
{"language": "c", "success": true, "metadata": {"lines": 254, "avg_line_length": 28.07, "nodes": 657, "errors": 0, "source_hash": "d9e5e3e3935769edcde8dc2953a2491c157142526ffb87c0610890fb6b5359db", "categorized_nodes": 454}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
14,115
c
/* * Copyright 2009-2011 The VOTCA Development Team (http://www.votca.org) * * 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 * * Unl...
33.28
130
(translation_unit) "/* \n * Copyright 2009-2011 The VOTCA Development Team (http://www.votca.org)\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/lic...
749
57
{"language": "c", "success": true, "metadata": {"lines": 130, "avg_line_length": 33.28, "nodes": 461, "errors": 0, "source_hash": "6bcd38b4c98932943acd57cc623d18bfe146ac0b617d409388d5174685169f22", "categorized_nodes": 323}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
14,116
c
/* * Copyright (c) 2021 ITE Corporation. All Rights Reserved. * * SPDX-License-Identifier: Apache-2.0 */ #define DT_DRV_COMPAT ite_it8xxx2_adc #define LOG_LEVEL CONFIG_ADC_LOG_LEVEL #include <logging/log.h> LOG_MODULE_REGISTER(adc_ite_it8xxx2); #include <drivers/adc.h> #include <drivers/pinmux.h> #include <soc.h...
30.18
272
(translation_unit) "/*\n * Copyright (c) 2021 ITE Corporation. All Rights Reserved.\n *\n * SPDX-License-Identifier: Apache-2.0\n */\n\n#define DT_DRV_COMPAT ite_it8xxx2_adc\n\n#define LOG_LEVEL CONFIG_ADC_LOG_LEVEL\n#include <logging/log.h>\nLOG_MODULE_REGISTER(adc_ite_it8xxx2);\n\n#include <drivers/adc.h>\n#include <...
1,748
2
{"language": "c", "success": true, "metadata": {"lines": 272, "avg_line_length": 30.18, "nodes": 1068, "errors": 0, "source_hash": "770f38e116cbdecc5210deb074bdf5a2d2077b647ac6b1ade837400fb7b18382", "categorized_nodes": 778}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_def", "text": "#defin...
14,117
c
// // PayUAssetLibraryKit.h // PayUAssetLibraryKit // // Created by <NAME> on 30/04/20. // Copyright © 2020 PayU Payments Pvt Ltd. All rights reserved. // #import <Foundation/Foundation.h> //! Project version number for PayUAssetLibraryKit. FOUNDATION_EXPORT double PayUAssetLibraryKitVersionNumber; //! Project v...
43
13
(translation_unit) "//\n// PayUAssetLibraryKit.h\n// PayUAssetLibraryKit\n//\n// Created by <NAME> on 30/04/20.\n// Copyright © 2020 PayU Payments Pvt Ltd. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n\n//! Project version number for PayUAssetLibraryKit.\nFOUNDATION_EXPORT double PayUAssetLibraryK...
33
1
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 43.0, "nodes": 15, "errors": 0, "source_hash": "81e8281c07a6b00e499051a407478e5e6d1afdaf701a9cd7abe2c4af50ee2a8c", "categorized_nodes": 11}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <Fo...
14,118
c
/*++ Copyright (c) 1999-2001 Microsoft Corporation All rights reserved. Module Name: realize.h Abstract: Environment: Windows NT Unidrv driver Revision History: 09/10/97 <NAME> Created it. --*/ #ifndef REALIZE_H #define REALIZE_H #include "comnfile.h" #include "g...
24.29
164
(translation_unit) "/*++ \n \nCopyright (c) 1999-2001 Microsoft Corporation \nAll rights reserved. \n \nModule Name: \n \n realize.h \n \nAbstract: \n \nEnvironment: \n \n Windows NT Unidrv driver \n \nRevision History: \n \n 09/10/97 <NAME> \n Created it. \n \n--*/ \n \n#ifndef REALIZE_H \n#define REAL...
442
10
{"language": "c", "success": true, "metadata": {"lines": 164, "avg_line_length": 24.29, "nodes": 339, "errors": 0, "source_hash": "03c855110bd4ff41eff6543c7af9c9926c99732945b067bfe9389cb02012e74d", "categorized_nodes": 215}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
14,119
c
// // QZTabbarController.h // addTabbar // // Created by 000 on 16/11/21. // Copyright © 2016年 faner. All rights reserved. // 主控制器 #import <UIKit/UIKit.h> @interface QZTabbarController : UITabBarController @end
20.6
10
(translation_unit) "//\n// QZTabbarController.h\n// addTabbar\n//\n// Created by 000 on 16/11/21.\n// Copyright © 2016年 faner. All rights reserved.\n// 主控制器\n\n#import <UIKit/UIKit.h>\n\n@interface QZTabbarController : UITabBarController\n\n@end\n" (comment) "//" (comment) "// QZTabbarController.h" (comment...
19
3
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 20.6, "nodes": 10, "errors": 0, "source_hash": "57728fe04bb6ee7ed8084b43752e2b4d81c84c8a323f3c324d5ddf943261324b", "categorized_nodes": 5}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "Kit/UIKit.h...
14,120
c
// // Copyright High Order Bit, Inc. 2009. All rights reserved. // #import <Foundation/Foundation.h> @protocol LogInViewControllerDelegate - (void)userProvidedUsername:(NSString *)username token:(NSString *)token; - (void)userDidCancel; - (void)provideHelp; @end
28.33
9
(translation_unit) "//\n// Copyright High Order Bit, Inc. 2009. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n\n@protocol LogInViewControllerDelegate\n\n- (void)userProvidedUsername:(NSString *)username token:(NSString *)token;\n- (void)userDidCancel;\n\n- (void)provideHelp;\n\n@end\n" (comment) "//...
64
9
{"language": "c", "success": true, "metadata": {"lines": 9, "avg_line_length": 28.33, "nodes": 39, "errors": 0, "source_hash": "93ff64aded032a688bc8cd9aead4233f564d1a3811c2c0f1fde31d0b7422be69", "categorized_nodes": 17}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <F...
14,121
c
//======================================================================================= // Box.h by <NAME> (C) 2008 All Rights Reserved. //======================================================================================= #ifndef TRI_H #define TRI_H #include "d3dUtil.h" class TriangleBox { public: TriangleB...
27.95
21
(translation_unit) "//=======================================================================================\n// Box.h by <NAME> (C) 2008 All Rights Reserved.\n//=======================================================================================\n\n#ifndef TRI_H\n#define TRI_H\n\n#include "d3dUtil.h"\n\nclass Tria...
127
0
{"language": "c", "success": true, "metadata": {"lines": 21, "avg_line_length": 27.95, "nodes": 82, "errors": 0, "source_hash": "47dddb0836f1132ebe9ef0ebea9675fe2725933ad95a5850d3b15a1e8002630b", "categorized_nodes": 55}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
14,122
c
#pragma once #include "pal_plain.h" #ifdef OPEN_ENCLAVE extern "C" const void* __oe_get_heap_base(); extern "C" const void* __oe_get_heap_end(); extern "C" void* oe_memset_s(void* p, size_t p_size, int c, size_t size); extern "C" void oe_abort(); namespace snmalloc { class PALOpenEnclave { std::a...
22.31
61
(translation_unit) "#pragma once \n \n#include "pal_plain.h" \n#ifdef OPEN_ENCLAVE \nextern "C" const void* __oe_get_heap_base(); \nextern "C" const void* __oe_get_heap_end(); \nextern "C" void* oe_memset_s(void* p, size_t p_size, int c, size_t size); \nextern "C" void oe_abort(); \n \nnamespace snmalloc \n{ \n class ...
392
11
{"language": "c", "success": true, "metadata": {"lines": 61, "avg_line_length": 22.31, "nodes": 246, "errors": 0, "source_hash": "c81e9fbe4095b5faaade60842ebfa73e5d1a7a22a6f0eb929d559a75694ce33b", "categorized_nodes": 149}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
14,123
c
// HIDRAW_test Terminal display helpers // Copyright (c) 2014 <NAME> // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to ...
31.81
62
(translation_unit) "// HIDRAW_test Terminal display helpers\n\n// Copyright (c) 2014 <NAME>\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the "Software"), to deal\n// in the Software without restriction, including without li...
329
0
{"language": "c", "success": true, "metadata": {"lines": 62, "avg_line_length": 31.81, "nodes": 198, "errors": 0, "source_hash": "482dbe23b40702b059ade20dc53edc1757898c70804c813cf8f4ce6957204a8b", "categorized_nodes": 130}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
14,124
c
#ifdef HAVE_CONFIG_H #include "../ext_config.h" #endif #include <php.h> #include "../php_ext.h" #include "../ext.h" #include <Zend/zend_operators.h> #include <Zend/zend_exceptions.h> #include <Zend/zend_interfaces.h> #include "kernel/main.h" #include "kernel/memory.h" #include "kernel/object.h" /** * OO operatio...
23.01
104
(translation_unit) "#ifdef HAVE_CONFIG_H\n#include "../ext_config.h"\n#endif\n\n#include <php.h>\n#include "../php_ext.h"\n#include "../ext.h"\n\n#include <Zend/zend_operators.h>\n#include <Zend/zend_exceptions.h>\n#include <Zend/zend_interfaces.h>\n\n#include "kernel/main.h"\n#include "kernel/memory.h"\n#include "kern...
770
4
{"language": "c", "success": true, "metadata": {"lines": 104, "avg_line_length": 23.01, "nodes": 412, "errors": 0, "source_hash": "a3196880b5ad91120a08268673ba8675be07565b59787713b0d9f2bbecf043d6", "categorized_nodes": 312}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifde...
14,125
c
#ifndef AE_DESKTOP_PLUGIN_H #define AE_DESKTOP_PLUGIN_H #include <string> #include "DLog.h" #include "Error.h" #include "Timer.h" #include "LuaEngine.h" #include "DesktopPluginCfg.h" namespace ae { namespace engine { namespace desktop { /** * \brief The superclass for desktop plugins. */ class...
19.09
154
(translation_unit) "#ifndef AE_DESKTOP_PLUGIN_H \n#define AE_DESKTOP_PLUGIN_H \n \n#include <string> \n#include "DLog.h" \n#include "Error.h" \n#include "Timer.h" \n#include "LuaEngine.h" \n#include "DesktopPluginCfg.h" \n \nnamespace ae { \n \nnamespace engine { \n \nnamespace desktop { \n \n/** \n * \brief The superc...
486
11
{"language": "c", "success": true, "metadata": {"lines": 154, "avg_line_length": 19.09, "nodes": 270, "errors": 0, "source_hash": "7b17aa378c061d52e345e3972ed7d42dbac23dc032adfa19ccc56c90eb850628", "categorized_nodes": 182}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
14,126
c
#include <math-type-macros-double.h> #include <s_fabs_template.c>
32
2
(translation_unit) "#include <math-type-macros-double.h>\n#include <s_fabs_template.c>\n" (preproc_include) "#include <math-type-macros-double.h>\n" (#include) "#include" (system_lib_string) "<math-type-macros-double.h>" (preproc_include) "#include <s_fabs_template.c>\n" (#include) "#include" (syste...
7
0
{"language": "c", "success": true, "metadata": {"lines": 2, "avg_line_length": 32.0, "nodes": 6, "errors": 0, "source_hash": "0cda49d39f676b0911d17523e43190ee9f934c28fd977c8853c13973d997db4e", "categorized_nodes": 6}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#include <...
14,127
c
/* Copyright (c) 2016 REDLattice, Inc. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publi...
30.4
52
(translation_unit) "/*\n Copyright (c) 2016 REDLattice, Inc.\n \n Permission is hereby granted, free of charge, to any person\n obtaining a copy of this software and associated documentation files\n (the "Software"), to deal in the Software without restriction,\n including without limitation the rights to use, co...
187
0
{"language": "c", "success": true, "metadata": {"lines": 52, "avg_line_length": 30.4, "nodes": 105, "errors": 0, "source_hash": "87b5436d75fd19c91f9c5c60f4c8d4104ab3024dacc9319ca41433b2796c0497", "categorized_nodes": 79}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
14,128
c
// // LearnWindowController.h // WaniManabu // // Created by 千代田桃 on 1/10/22. // #import <Cocoa/Cocoa.h> @interface LearnWindowController : NSWindowController @property (strong) NSArray *studyitems; @property bool ankimode; - (void)loadStudyItemsForDeckUUID:(NSUUID *)uuid withType:(int)deckType; @end
22.54
13
(translation_unit) "//\n// LearnWindowController.h\n// WaniManabu\n//\n// Created by 千代田桃 on 1/10/22.\n//\n\n#import <Cocoa/Cocoa.h>\n\n\n\n@interface LearnWindowController : NSWindowController\n@property (strong) NSArray *studyitems;\n@property bool ankimode;\n- (void)loadStudyItemsForDeckUUID:(NSUUID *)uuid withTy...
68
11
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 22.54, "nodes": 45, "errors": 0, "source_hash": "b12bd3db3d358495889ee61e9cd7dfbb3dfdcd52d2d0ae3b628aa6382e65eb6d", "categorized_nodes": 24}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "<Cocoa/Co...
14,129
c
// Copyright (c) 2017-2021 <NAME> <<EMAIL>> // // This software may be modified and distributed under the terms // of the MIT license. See the LICENSE file for details. #pragma once #include <memory> #include <goost/magma/BlkRaw.h> #include <goost/magma/LazyKey.h> namespace goost { namespace gost89 { // @todo #352 ...
30.74
23
(translation_unit) "// Copyright (c) 2017-2021 <NAME> <<EMAIL>>\n//\n// This software may be modified and distributed under the terms\n// of the MIT license. See the LICENSE file for details.\n\n#pragma once\n#include <memory>\n#include <goost/magma/BlkRaw.h>\n#include <goost/magma/LazyKey.h>\n\nnamespace goost {\nnam...
134
7
{"language": "c", "success": true, "metadata": {"lines": 23, "avg_line_length": 30.74, "nodes": 64, "errors": 0, "source_hash": "f68662b981b268971f0322d9596faf2cd3ebe9a480247a7338e6d4a46b32891b", "categorized_nodes": 46}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
14,130
c
/*========================================================================= * * Copyright Insight Software Consortium * * 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 * * h...
34.93
41
(translation_unit) "/*=========================================================================\n *\n * Copyright Insight Software Consortium\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 ...
68
2
{"language": "c", "success": true, "metadata": {"lines": 41, "avg_line_length": 34.93, "nodes": 36, "errors": 0, "source_hash": "bb33892ea4e0b6638e30ef24dfbe46a97df0439fc7a8294097fa80aac85bb7c5", "categorized_nodes": 26}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
14,131
c
// This file generated by staff_codegen // For more information please visit: http://code.google.com/p/staff/ #ifndef _$($svc.!mangledot.!toupper)_H_ #define _$($svc.!mangledot.!toupper)_H_ #include <staff/common/IService.h> #ifneq($($sNamespace),) namespace $($sNamespace.!replace/./\n{\nnamespace /) { #ifeqend /...
32.35
20
(translation_unit) "// This file generated by staff_codegen\n// For more information please visit: http://code.google.com/p/staff/\n\n#ifndef _$($svc.!mangledot.!toupper)_H_\n#define _$($svc.!mangledot.!toupper)_H_\n\n#include <staff/common/IService.h>\n\n#ifneq($($sNamespace),)\nnamespace $($sNamespace.!replace/./\n{\...
112
14
{"language": "c", "success": true, "metadata": {"lines": 20, "avg_line_length": 32.35, "nodes": 71, "errors": 0, "source_hash": "3b66ef0c55b4fcefe997fd8a4df5d756e626d07eca4f4c5e4edc5fbb4b3e468c", "categorized_nodes": 41}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
14,132
c
// // InfoController.h // DicionarioAberto // // Created by <NAME> on 04/01/2011. // #import "DADelegate.h" #import "InfoPageController.h" @interface InfoTableController : UIViewController <UITableViewDataSource, UITableViewDelegate> { DADelegate *delegate; IBOutlet UITableView *infoTableView; NSArray ...
28.62
16
(translation_unit) "//\n// InfoController.h\n// DicionarioAberto\n//\n// Created by <NAME> on 04/01/2011.\n//\n\n#import "DADelegate.h"\n#import "InfoPageController.h"\n\n@interface InfoTableController : UIViewController <UITableViewDataSource, UITableViewDelegate> {\n DADelegate *delegate;\n IBOutlet UITableV...
56
5
{"language": "c", "success": true, "metadata": {"lines": 16, "avg_line_length": 28.62, "nodes": 34, "errors": 0, "source_hash": "81067279f821be88d38205f4c0953a7d40ca6938031f8c97528866bc2708119d", "categorized_nodes": 18}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import \...
14,133
c
//***************************************************************************** // //! @file apollo4_board.c // //***************************************************************************** //***************************************************************************** // // Copyright (c) 2021, Ambiq Micro, Inc. // ...
36.95
109
(translation_unit) "//*****************************************************************************\n//\n//! @file apollo4_board.c\n//\n//*****************************************************************************\n\n//*****************************************************************************\n//\n// Copyright (c)...
300
0
{"language": "c", "success": true, "metadata": {"lines": 109, "avg_line_length": 36.95, "nodes": 138, "errors": 0, "source_hash": "336c0077b47c1d029ff92eecca324e87c4c230297bb1dc4360806daffa311dfc", "categorized_nodes": 83}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
14,134
c
// // EventTrackerHandler.h // XHBEventTracker_Example // // Created by 李俊毅 on 2020/9/23. // Copyright © 2020 李洋超. All rights reserved. // #import <Foundation/Foundation.h> #import <Tracker.h> NS_ASSUME_NONNULL_BEGIN @interface EventTrackerHandler : NSObject<EventTrackerDelegate> @end NS_ASSUME_NONNULL_END
23
13
(translation_unit) "//\n// EventTrackerHandler.h\n// XHBEventTracker_Example\n//\n// Created by 李俊毅 on 2020/9/23.\n// Copyright © 2020 李洋超. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n#import <Tracker.h>\n\nNS_ASSUME_NONNULL_BEGIN\n\n@interface EventTrackerHandler : NSObject<EventTrackerDelegate>...
35
4
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 23.0, "nodes": 23, "errors": 0, "source_hash": "f3680767fbe7f1949aa43ff0c8a59be793b56bc20d2713e15c80fa97b10b4871", "categorized_nodes": 12}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "dation/Fou...
14,135
c
/* Max Lair Run Pokemon Select * * From: https://github.com/PokemonAutomation/Arduino-Source * */ #ifndef PokemonAutomation_PokemonSwSh_MaxLair_Run_PokemonSelect_H #define PokemonAutomation_PokemonSwSh_MaxLair_Run_PokemonSelect_H #include "CommonFramework/Tools/ConsoleHandle.h" #include "PokemonSwSh/M...
24.24
34
(translation_unit) "/* Max Lair Run Pokemon Select \n * \n * From: https://github.com/PokemonAutomation/Arduino-Source \n * \n */ \n \n#ifndef PokemonAutomation_PokemonSwSh_MaxLair_Run_PokemonSelect_H \n#define PokemonAutomation_PokemonSwSh_MaxLair_Run_PokemonSelect_H \n \n#include "CommonFramework/Tools/ConsoleHandl...
94
4
{"language": "c", "success": true, "metadata": {"lines": 34, "avg_line_length": 24.24, "nodes": 50, "errors": 0, "source_hash": "d9254fb666d75cc3a79719350040f37120b9b11b348b46518e8e0c65de70da6e", "categorized_nodes": 46}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
14,136
c
// Panel class #include "CBasicContainer.h" class CPanel : public CBasicContainer { public: // Contructor CPanel() {} protected: void Repaint(); private: CSurface bmpBackground; CBorder cBorder; public: CBorder& getBorder() { return cBorder; } void Draw(CSurface &dest); v...
15.59
22
(translation_unit) "// Panel class \n \n#include "CBasicContainer.h" \n \nclass CPanel : public CBasicContainer { \npublic: \n // Contructor \n CPanel() {} \n \nprotected: \n void Repaint(); \n \nprivate: \n CSurface bmpBackground; \n CBorder cBorder; \n \npublic: \n CBorder& getBorder() { return cBorder; }...
111
3
{"language": "c", "success": true, "metadata": {"lines": 22, "avg_line_length": 15.59, "nodes": 58, "errors": 0, "source_hash": "4891213ecba82821d9214a2dc49f840a15323da7e09220f38ee418951ab1ea73", "categorized_nodes": 40}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
14,137
c
#ifndef ATLAS_R1TESTTIME_H #define ATLAS_R1TESTTIME_H #include "atlas_r1parse.h" #include "atlas_gentesttime.h" static int SprintAlignStr ( char pre, /* precision modifier */ ATL_r1node_t *kp, /* kernel pointer */ char *str /* (OUTPUT) string to print to */ ) /* * Prints alignment s...
30.37
338
(translation_unit) "#ifndef ATLAS_R1TESTTIME_H\n #define ATLAS_R1TESTTIME_H\n\n#include "atlas_r1parse.h"\n#include "atlas_gentesttime.h"\n\nstatic int SprintAlignStr\n(\n char pre, /* precision modifier */\n ATL_r1node_t *kp, /* kernel pointer */\n char *str /* (OUTPUT) string to print to...
3,298
0
{"language": "c", "success": true, "metadata": {"lines": 338, "avg_line_length": 30.37, "nodes": 1905, "errors": 0, "source_hash": "fafd7d7c470af7db5169e75ab1043ed065070fe52f4ea48aca3860e385cb7b1c", "categorized_nodes": 1434}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#if...
14,138
c
#pragma once #include "list.h" typedef unsigned long (*hash_data)(void*); typedef int (*comp_data)(void*, void*); typedef struct DictFunctions { hash_data hash_func; comp_data comp_func; destroy_data_ptr destory_key; destroy_data_ptr destory_value; } DictFunctions; typedef struct DictPair { void* key; void* v...
26.16
50
(translation_unit) "#pragma once\n\n#include "list.h"\n\ntypedef unsigned long (*hash_data)(void*);\ntypedef int (*comp_data)(void*, void*);\n\ntypedef struct DictFunctions\n{\n hash_data hash_func;\n comp_data comp_func;\n destroy_data_ptr destory_key;\n destroy_data_ptr destory_value;\n} DictFunctions;\n\ntypedef str...
432
0
{"language": "c", "success": true, "metadata": {"lines": 50, "avg_line_length": 26.16, "nodes": 325, "errors": 0, "source_hash": "3237b761db3d415e7fc0a26b6a341dc3510d028fe10406f68f53d9a1f9d91213", "categorized_nodes": 190}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
14,139
c
// dbfilter-cidr // // Copyright (c) 2015, Los Alamos National Security, LLC // All rights reserved. // // Copyright (2015). Los Alamos National Security, LLC. This software was // produced under U.S. Government contract DE-AC52-06NA25396 for Los Alamos // National Laboratory (LANL), which is operated by Los Alamos Nat...
30.48
196
(translation_unit) "// dbfilter-cidr\n//\n// Copyright (c) 2015, Los Alamos National Security, LLC\n// All rights reserved.\n//\n// Copyright (2015). Los Alamos National Security, LLC. This software was\n// produced under U.S. Government contract DE-AC52-06NA25396 for Los Alamos\n// National Laboratory (LANL), which is...
1,372
0
{"language": "c", "success": true, "metadata": {"lines": 196, "avg_line_length": 30.48, "nodes": 796, "errors": 0, "source_hash": "c123fb418a29d842a5030646be3c338dfc2772e6b0a4e95c599054fafc63f686", "categorized_nodes": 533}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
14,140
c
// // InteractionCell.h // NewsBlur // // Created by <NAME> on 7/16/12. // Copyright (c) 2012 NewsBlur. All rights reserved. // #import <UIKit/UIKit.h> #import "OHAttributedLabel.h" @interface InteractionCell : UITableViewCell { OHAttributedLabel *interactionLabel; UIImageView *avatarView; int topMarg...
29.18
28
(translation_unit) "//\n// InteractionCell.h\n// NewsBlur\n//\n// Created by <NAME> on 7/16/12.\n// Copyright (c) 2012 NewsBlur. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n#import "OHAttributedLabel.h"\n\n@interface InteractionCell : UITableViewCell {\n OHAttributedLabel *interactionLabel;\n UIImage...
206
29
{"language": "c", "success": true, "metadata": {"lines": 28, "avg_line_length": 29.18, "nodes": 142, "errors": 0, "source_hash": "a4e4a9e48eb6fcb37870ac280f290ac8944167a9041850d81eb7b1a941347631", "categorized_nodes": 81}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import ...
14,141
c
/* The function first discards as many whitespace characters as necessary until the first non-whitespace character is found. Then, starting from this character, takes an optional initial plus or minus sign followed by as many numerical digits as possible, and interprets them as a numerical value. The...
34.6
63
(translation_unit) "/*\n The function first discards as many whitespace characters as necessary until\n the first non-whitespace character is found.\n Then, starting from this character, takes an optional initial plus or minus\n sign followed by as many numerical digits as possible, and interprets them as a\n ...
500
0
{"language": "c", "success": true, "metadata": {"lines": 63, "avg_line_length": 34.6, "nodes": 258, "errors": 0, "source_hash": "d0c3517a523ccd915f3dccbbcebb317b78dc590cda510f2254314ca984dd6136", "categorized_nodes": 174}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
14,142
c
#ifndef BASICTYPES_H #define BASICTYPES_H #include <QMap> #include <QString> #include <QVariant> //#include "BjutName.h" //#include "BjutNameMap.h" typedef QString BjutName; typedef QMap<QString, QVariant> BjutNameMap; #endif // BASICTYPES_H
23.2
10
(translation_unit) "#ifndef BASICTYPES_H\n#define BASICTYPES_H\n\n#include <QMap>\n#include <QString>\n#include <QVariant>\n\n//#include "BjutName.h"\n//#include "BjutNameMap.h"\ntypedef QString BjutName;\ntypedef QMap<QString, QVariant> BjutNameMap;\n\n#endif // BASICTYPES_H\n" (preproc_ifdef) "#ifndef BASICTYPES_H\...
37
2
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 23.2, "nodes": 30, "errors": 0, "source_hash": "df36b51936870cc484ffb9212cf40a5d7526f8852451eb1464e73cd862a32fc9", "categorized_nodes": 22}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef B...
14,143
c
/************************************************************************* ** ** GSC-18128-1, "Core Flight Executive Version 6.7" ** ** Copyright (c) 2006-2019 United States Government as represented by ** the Administrator of the National Aeronautics and Space Administration. ** All Rights Reserved...
38.43
96
(translation_unit) "/*************************************************************************\n**\n** GSC-18128-1, "Core Flight Executive Version 6.7"\n**\n** Copyright (c) 2006-2019 United States Government as represented by\n** the Administrator of the National Aeronautics and Space Administration.\n*...
522
0
{"language": "c", "success": true, "metadata": {"lines": 96, "avg_line_length": 38.43, "nodes": 299, "errors": 0, "source_hash": "bb498655aad0eac4fab0962c897ef71f9be526187126b84c3b46a1b7b423d32a", "categorized_nodes": 209}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
14,144
c
#ifndef __GPUTileMapLayerInfo_H_ #define __GPUTileMapLayerInfo_H_ class Texture2D; USING_NS_CC; class GPUTileMapLayerInfo : public Ref { public: static GPUTileMapLayerInfo* create(const std::string& map,const std::string& tileset, Vec2 offset, Vec2 tileSize); CC_CONSTRUCTOR_ACCESS: GPUTileMapLayerInfo(); virtua...
28.57
23
(translation_unit) "#ifndef __GPUTileMapLayerInfo_H_\n#define __GPUTileMapLayerInfo_H_\n\nclass Texture2D;\n\nUSING_NS_CC;\n\nclass GPUTileMapLayerInfo : public Ref\n{\npublic:\n static GPUTileMapLayerInfo* create(const std::string& map,const std::string& tileset, Vec2 offset, Vec2 tileSize);\n\nCC_CONSTRUCTOR_ACCESS:\...
194
11
{"language": "c", "success": true, "metadata": {"lines": 23, "avg_line_length": 28.57, "nodes": 114, "errors": 0, "source_hash": "8c7114ee42bf9f3a7f19526f27ac91abd496bb4b2e0cab4f1cfc59d8cd1ca851", "categorized_nodes": 81}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
14,145
c
#ifndef FORMATS_DATA_URI_H_ #define FORMATS_DATA_URI_H_ #include "format.h" extern bool is_verbose; class DataURI : public Format { public: using Format::Format; size_t Leanify(size_t size_leanified = 0) override; void SetSingleMode(bool single_mode) { single_mode_ = single_mode; } private: // Sin...
25.19
16
(translation_unit) "#ifndef FORMATS_DATA_URI_H_\n#define FORMATS_DATA_URI_H_\n\n#include "format.h"\n\nextern bool is_verbose;\n\nclass DataURI : public Format {\n public:\n using Format::Format;\n\n size_t Leanify(size_t size_leanified = 0) override;\n\n void SetSingleMode(bool single_mode) {\n single_mode_ = si...
91
3
{"language": "c", "success": true, "metadata": {"lines": 16, "avg_line_length": 25.19, "nodes": 57, "errors": 0, "source_hash": "d3d9a007057b62742f8f6ebde6a2a196c965677fa5d2e4e67d0ea805a316a901", "categorized_nodes": 35}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
14,146
c
// // YHPGuideViewController.h // Demo // // Created by <NAME> on 16/7/26. // Copyright © 2016年 Yan. All rights reserved. // #import <UIKit/UIKit.h> @interface YHPGuideViewController : UIViewController @end
20.1
10
(translation_unit) "//\n// YHPGuideViewController.h\n// Demo\n//\n// Created by <NAME> on 16/7/26.\n// Copyright © 2016年 Yan. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface YHPGuideViewController : UIViewController\n\n@end\n" (comment) "//" (comment) "// YHPGuideViewController.h" (comment)...
19
3
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 20.1, "nodes": 10, "errors": 0, "source_hash": "3ba8a4a90c0eb7e3a443c2b51224188456b9d35bc1de664cb304118d642bc8f1", "categorized_nodes": 5}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "port <UIKit...
14,147
c
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #define BUF_SIZE 20 int main(int argc, char **argv) { chdir("."); int ncopie, i, ris; char command[BUF_SIZE]; if (argc < 3) { printf("inserisci due o più argomenti (ncopie, command)\n"); exit(1); } ncopie = atoi(argv[1])...
24.3
37
(translation_unit) "#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include <unistd.h>\n#define BUF_SIZE 20\n\nint main(int argc, char **argv) {\n chdir(".");\n int ncopie, i, ris;\n char command[BUF_SIZE];\n if (argc < 3) {\n printf("inserisci due o più argomenti (ncopie, command)\n");\n exit(...
308
0
{"language": "c", "success": true, "metadata": {"lines": 37, "avg_line_length": 24.3, "nodes": 162, "errors": 0, "source_hash": "1472a0ec2aac751b0089f6b07c465562d3ddf8433c635b105c9fda9b35d774f1", "categorized_nodes": 108}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
14,148
c
//程序13.6,C风格 #include<stdio.h> int main( ) { char s[50]; gets(s); printf("%s\n",s); puts(s); return 0; }
10.2
10
(translation_unit) "//程序13.6,C风格\n#include<stdio.h>\nint main( )\n{ \n char s[50];\n gets(s);\n printf("%s\n",s);\n puts(s);\n return 0;\n}\n" (comment) "//程序13.6,C风格\n#includ" (preproc_include) "<stdio.h>\nint main" (#include) "<stdio.h" (system_lib_string) ">\nint mai" (function_definition) "( )\n{ \n...
57
0
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 10.2, "nodes": 28, "errors": 0, "source_hash": "b2f9968a9813f77ef48d47d929d627335a1d553ff7eff13c840405d19c6ba477", "categorized_nodes": 20}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "<stdio....
14,149
c
/* * Copyright 2006 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ /* Copyright (c) 1983, 1984, 1985, 1986, 1987, 1988, 1989 AT&T */ /* All Rights Reserved */ /* * Copyright (c) 1980 Regents of the University of California. * All rights reserved. The Berkeley Software Licens...
27.88
128
(translation_unit) "/*\n * Copyright 2006 Sun Microsystems, Inc. All rights reserved.\n * Use is subject to license terms.\n */\n\n/* Copyright (c) 1983, 1984, 1985, 1986, 1987, 1988, 1989 AT&T */\n/* All Rights Reserved */\n\n/*\n * Copyright (c) 1980 Regents of the University of California.\n * All rights reserved...
659
0
{"language": "c", "success": true, "metadata": {"lines": 128, "avg_line_length": 27.88, "nodes": 413, "errors": 0, "source_hash": "bd3fd4e10132398ed01b720fa346ace29506690ae6dfa8d4580f754b104fcf09", "categorized_nodes": 332}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragm...
14,150
c
/* * This header is generated by classdump-dyld 1.0 * on Sunday, September 27, 2020 at 11:40:56 AM Mountain Standard Time * Operating System: Version 14.0 (Build 18A373) * Image Source: /System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/AVFAudio * classdump-dyld is licensed under GPLv3, Cop...
40.08
24
(translation_unit) "/*\n* This header is generated by classdump-dyld 1.0\n* on Sunday, September 27, 2020 at 11:40:56 AM Mountain Standard Time\n* Operating System: Version 14.0 (Build 18A373)\n* Image Source: /System/Library/Frameworks/AVFoundation.framework/Frameworks/AVFAudio.framework/AVFAudio\n* classdump-dyld is ...
193
20
{"language": "c", "success": true, "metadata": {"lines": 24, "avg_line_length": 40.08, "nodes": 114, "errors": 0, "source_hash": "e408a65c986d16f63e9fb9e51d32958ea671b91c18f9c04829fc7251d14a8061", "categorized_nodes": 72}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <...
14,151
c
#ifndef __INC_LC7APP_H #define __INC_LC7APP_H #include"LC7Main.h" #include<QApplication> #include"../../lc7core/include/ILC7Controller.h" #include"CLC7GUILinkage.h" #include"CLC7ColorManager.h" #include"qtsingleapplication.h" #include"CSystemOptions.h" #include"CSystemPage.h" #include"Attach.h" #ifdef _W...
18.99
86
(translation_unit) "#ifndef __INC_LC7APP_H \n#define __INC_LC7APP_H \n \n#include"LC7Main.h" \n#include<QApplication> \n#include"../../lc7core/include/ILC7Controller.h" \n#include"CLC7GUILinkage.h" \n#include"CLC7ColorManager.h" \n#include"qtsingleapplication.h" \n#include"CSystemOptions.h" \n#include"CSystemPage.h" \n...
432
9
{"language": "c", "success": true, "metadata": {"lines": 86, "avg_line_length": 18.99, "nodes": 271, "errors": 0, "source_hash": "0297ad1e86ece0a292c275429d37951afb8c439b67542ea062a49bcf56b26775", "categorized_nodes": 184}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
14,152
c
/* * This file is a part of the open source stm32plus library. * Copyright (c) 2011,2012,2013,2014 <NAME> <www.andybrown.me.uk> * Please see website for licensing terms. */ #pragma once /** * @file * This config file gives access to the concurrency-related utility classes such as Mutex, Critical Section * an...
31.9
21
(translation_unit) "/*\n * This file is a part of the open source stm32plus library.\n * Copyright (c) 2011,2012,2013,2014 <NAME> <www.andybrown.me.uk>\n * Please see website for licensing terms.\n */\n\n\n#pragma once\n\n\n/**\n * @file\n * This config file gives access to the concurrency-related utility classes such ...
48
0
{"language": "c", "success": true, "metadata": {"lines": 21, "avg_line_length": 31.9, "nodes": 27, "errors": 0, "source_hash": "1747c10ecb79ac2b8cedd242fb864ce4be9b918d2724b40af5bb2a4c7242ebdc", "categorized_nodes": 21}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma on...
14,153
c
#ifndef TEXTURE_H #define TEXTURE_H #include <glad.h> typedef struct texture{ GLuint id; unsigned int width; unsigned int height; }texture_t; int texture_create(texture_t* texture, const char* file_name); #endif
21.4
10
(translation_unit) "#ifndef TEXTURE_H\n#define TEXTURE_H\n\n#include <glad.h>\n\ntypedef struct texture{\n GLuint id;\n unsigned int width;\n unsigned int height;\n}texture_t;\n\nint texture_create(texture_t* texture, const char* file_name);\n\n#endif" (preproc_ifdef) "#ifndef TEXTURE_H\n#define TEXTURE_H\n\...
58
0
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 21.4, "nodes": 44, "errors": 0, "source_hash": "2039b088804d6bfb784316199da9758396f515e87646cbfc744527a1864afb95", "categorized_nodes": 30}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef T...
14,154
c
// // LiveRoom-Relay.h // zegoliveroom // // Copyright © 2018年 Zego. All rights reserved. // // #ifndef LiveRoom_Relay_h #define LiveRoom_Relay_h #include "./LiveRoomDefines.h" #include "./LiveRoomCallback-Relay.h" namespace ZEGO { namespace LIVEROOM { /** 设置 Relay 通知的回调对象 @para...
20.66
32
(translation_unit) "//\n// LiveRoom-Relay.h\n// zegoliveroom\n//\n// Copyright © 2018年 Zego. All rights reserved.\n//\n//\n\n#ifndef LiveRoom_Relay_h\n#define LiveRoom_Relay_h\n\n#include "./LiveRoomDefines.h"\n#include "./LiveRoomCallback-Relay.h"\n\nnamespace ZEGO\n{\n namespace LIVEROOM\n {\n /**\n ...
82
3
{"language": "c", "success": true, "metadata": {"lines": 32, "avg_line_length": 20.66, "nodes": 49, "errors": 0, "source_hash": "585be73f36074796784b4e7ca6ead77dc8816ca5d212bab01fe65b06136d170e", "categorized_nodes": 37}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "ndef Liv...
14,155
c
#include <c3d/maths.h> void Mtx_Transpose(C3D_Mtx* out) { float swap; for (int i = 0; i <= 2; i++) { for (int j = 2-i; j >= 0; j--) { swap = out->r[i].c[j]; out->r[i].c[j] = out->r[3-j].c[3-i]; out->r[3-j].c[3-i] = swap; } } }
16.57
14
(translation_unit) "#include <c3d/maths.h>\n\nvoid Mtx_Transpose(C3D_Mtx* out)\n{\n float swap;\n for (int i = 0; i <= 2; i++)\n {\n for (int j = 2-i; j >= 0; j--)\n {\n swap = out->r[i].c[j];\n out->r[i].c[j] = out->r[3-j].c[3-i];\n out->r[3-j].c[3-i] = swap;\n }\n }\n}\n" (preproc_include) "#include <c3d/m...
156
0
{"language": "c", "success": true, "metadata": {"lines": 14, "avg_line_length": 16.57, "nodes": 103, "errors": 0, "source_hash": "3448e248601ba3aeee58a83399c1994711d568569872d57b77972d64544979eb", "categorized_nodes": 80}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
14,156
c
// // Generated by class-dump 3.5 (64 bit) (Debug version compiled Sep 17 2017 16:24:48). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by <NAME>. // #import <UIKit/UICollectionViewCell.h> @class NSString, SightIconView, UILabel; @interface RelatedEmoticonCollectionExceptionCell : UIColle...
39.86
22
(translation_unit) "//\n// Generated by class-dump 3.5 (64 bit) (Debug version compiled Sep 17 2017 16:24:48).\n//\n// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by <NAME>.\n//\n\n#import <UIKit/UICollectionViewCell.h>\n\n@class NSString, SightIconView, UILabel;\n\n@interface RelatedEmoticonCol...
173
18
{"language": "c", "success": true, "metadata": {"lines": 22, "avg_line_length": 39.86, "nodes": 108, "errors": 0, "source_hash": "2802de1bfb7cc872519338d9741ca704b195a5a95e210e0842fe496fec0b5603", "categorized_nodes": 65}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import ...
14,157
c
/* * (C) Copyright 1996-2015 ECMWF. * * This software is licensed under the terms of the Apache Licence Version 2.0 * which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. * In applying this licence, ECMWF does not waive the privileges and immunities * granted to it by virtue of its status as an in...
38.98
202
(translation_unit) "/*\n * (C) Copyright 1996-2015 ECMWF.\n *\n * This software is licensed under the terms of the Apache Licence Version 2.0\n * which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.\n * In applying this licence, ECMWF does not waive the privileges and immunities\n * granted to it by vir...
1,645
0
{"language": "c", "success": true, "metadata": {"lines": 202, "avg_line_length": 38.98, "nodes": 992, "errors": 0, "source_hash": "4bbce7bab3cd0b6673fd24380b0931b199b0d3b3882c1433545a5fd86a4c08cc", "categorized_nodes": 737}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
14,158
c
#include <linux/cdev.h> #include <linux/device.h> #include <linux/fs.h> #include <linux/uaccess.h> #include <linux/wait.h> #include <linux/module.h> #include <linux/slab.h> #include <linux/uaccess.h> #include <linux/kthread.h> #include <linux/poll.h> #include <linux/time.h> #include <linux/delay.h> #include <linux/kobj...
27.36
298
(translation_unit) "#include <linux/cdev.h>\n#include <linux/device.h>\n#include <linux/fs.h>\n#include <linux/uaccess.h>\n#include <linux/wait.h>\n#include <linux/module.h>\n#include <linux/slab.h>\n#include <linux/uaccess.h>\n#include <linux/kthread.h>\n#include <linux/poll.h>\n#include <linux/time.h>\n#include <linu...
2,389
8
{"language": "c", "success": true, "metadata": {"lines": 298, "avg_line_length": 27.36, "nodes": 1462, "errors": 0, "source_hash": "986f1c2ad24e907f6c82185f0cd94dc9e67628b937b0b892e936ddf05be5bf15", "categorized_nodes": 1056}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#...
14,159
c
/* * Copyright (c) 2018-2021 <NAME>, m00nbsd.net * All rights reserved. * * This code is part of the NVMM hypervisor. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must r...
36.7
109
(translation_unit) "/*\n * Copyright (c) 2018-2021 <NAME>, m00nbsd.net\n * All rights reserved.\n *\n * This code is part of the NVMM hypervisor.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions\n * are met:\n * 1. Redistri...
766
0
{"language": "c", "success": true, "metadata": {"lines": 109, "avg_line_length": 36.7, "nodes": 599, "errors": 0, "source_hash": "04b421be04e12e66db3ae68ef35743717fb39737f827fa073d70e84ae8c1f785", "categorized_nodes": 375}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
14,160
c
#pragma once #include "resource_file.h" #include "renderer/shader.h" #include "material_resource_file.h" #include "image_resource_file.h" /// Representation of a material used for drawing decals. Uses ImageResourceFile to store the Decal's texture. class DecalMaterialResourceFile : public MaterialResourceFile { privat...
35.7
37
(translation_unit) "#pragma once\n\n#include "resource_file.h"\n#include "renderer/shader.h"\n#include "material_resource_file.h"\n#include "image_resource_file.h"\n/// Representation of a material used for drawing decals. Uses ImageResourceFile to store the Decal's texture.\nclass DecalMaterialResourceFile : public Ma...
371
17
{"language": "c", "success": true, "metadata": {"lines": 37, "avg_line_length": 35.7, "nodes": 219, "errors": 0, "source_hash": "2ed043fc7b83380842bf1d1d0c2badd476943e9d49166dd464a015d026a69849", "categorized_nodes": 144}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma ...
14,161
c
#include "muxxdef.h" #include "config.h" #include "errno.h" #include "externals.h" #include "kernfuncs.h" /* ** Change a user space memory page protection. ** A process can change its own non-shared pages ** A PRIVILEGED (operprv) process can change any page ** ** This syscall forces a YIELD to make sure the MMU regis...
27.9
48
(translation_unit) "#include "muxxdef.h"\n#include "config.h"\n#include "errno.h"\n#include "externals.h"\n#include "kernfuncs.h"\n\n/*\n** Change a user space memory page protection.\n** A process can change its own non-shared pages\n** A PRIVILEGED (operprv) process can change any page\n**\n** This syscall forces a Y...
368
0
{"language": "c", "success": true, "metadata": {"lines": 48, "avg_line_length": 27.9, "nodes": 230, "errors": 0, "source_hash": "911697f089bb26e2d01cb34798525a24b32f20863e189b04bb409a9e1033d36d", "categorized_nodes": 182}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
14,162
c
#ifndef BOARDSTATE_H #define BOARDSTATE_H enum Side {White=0, Black=1}; #include "SideState.h" #include "SearchAlgorithm.h" #include <stdlib.h> /** Stores the state of the board. **/ class BoardState { public: /** Constructs a new BoardState. This defaults to the starting position. **/ BoardState(); ...
25.35
88
(translation_unit) "#ifndef BOARDSTATE_H\n#define BOARDSTATE_H\n\nenum Side {White=0, Black=1};\n\n#include "SideState.h"\n#include "SearchAlgorithm.h"\n#include <stdlib.h>\n\n/**\n Stores the state of the board.\n**/\nclass BoardState\n{\npublic:\n /**\n Constructs a new BoardState. This defaults to the startin...
613
15
{"language": "c", "success": true, "metadata": {"lines": 88, "avg_line_length": 25.35, "nodes": 427, "errors": 0, "source_hash": "4fe0b69707303a0e1ab1b48cd6f8e78d0dd5201b44355483ccd4e23d0ff9bf09", "categorized_nodes": 290}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
14,163
c
// // OrderView.h // TestApp // // Created by <NAME> on 3/10/10. // Copyright 2010 FastSpring. All rights reserved. // #import <Cocoa/Cocoa.h> @interface OrderView : NSView { } @end
14.58
12
(translation_unit) "//\n// OrderView.h\n// TestApp\n//\n// Created by <NAME> on 3/10/10.\n// Copyright 2010 FastSpring. All rights reserved.\n//\n\n#import <Cocoa/Cocoa.h>\n\n\n@interface OrderView : NSView {\n\n}\n\n@end\n" (comment) "//" (comment) "// OrderView.h" (comment) "// TestApp" (comment) "//" ...
27
5
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 14.58, "nodes": 12, "errors": 0, "source_hash": "da5de0eddb07ca95cde5e9c4917574031522318eddeb5ac95f684437391f9390", "categorized_nodes": 5}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <C...
14,164
c
/* addclient.c Demonstrates using the function imported from the DLL, in a flexible and elegant way. */ #include <stdlib.h> #include <stdio.h> #include "add.h" int main(int argc, char** argv) { printf("6 + 23 = %d\n", Add(6, 23)); return EXIT_SUCCESS; }
21
12
(translation_unit) "/* addclient.c\n\n Demonstrates using the function imported from the DLL, in a flexible and\n elegant way.\n*/\n\n#include <stdlib.h>\n#include <stdio.h>\n#include "add.h"\n\nint main(int argc, char** argv)\n{\n printf("6 + 23 = %d\n", Add(6, 23));\n\n return EXIT_SUCCESS;\n}\n" (comment) "/...
60
0
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 21.0, "nodes": 36, "errors": 0, "source_hash": "45b61edad1fcfd46873c79c71dc865a994c58e6a227ca035b29aad63460751ab", "categorized_nodes": 25}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#includ...
14,165
c
#ifndef DRAWTEXTDOCUMENTHELPER_H #define DRAWTEXTDOCUMENTHELPER_H #include <QPainter> #include <QTextDocument> #include <QTextCharFormat> class DrawTextDocumentHelper { public: DrawTextDocumentHelper(); ~DrawTextDocumentHelper(); public: // 绘制QTextDocument中的指定区域 static void drawDocument(QPainter* paint...
32.44
36
(translation_unit) "fndef DRAWTEXTDOCUMENTHELPER_H\n#define DRAWTEXTDOCUMENTHELPER_H\n#include <QPainter>\n#include <QTextDocument>\n#include <QTextCharFormat>\nclass DrawTextDocumentHelper\n{\npublic:\n DrawTextDocumentHelper();\n ~DrawTextDocumentHelper();\npublic:\n // 绘制QTextDocument中的指定区域\n static void...
289
15
{"language": "c", "success": true, "metadata": {"lines": 36, "avg_line_length": 32.44, "nodes": 196, "errors": 0, "source_hash": "00ee9bf94954547a27f1b232621aad898767efd264e5481a2d792f5591c443ed", "categorized_nodes": 128}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "fndef ...
14,166
c
void Barrel_New2(void) { //=========================== // AutoNav Barrel Race // Drive straight forward, stop next to first marker AutonMove(0,-1,0,false,0,210); // Circle around first marker //CircleAroundRight(20, 25, 0.7); //CircleAroundRight(#of polygon sides, loopcount, speed) //...
27.03
151
(translation_unit) "void Barrel_New2(void)\n{\n //===========================\n // AutoNav Barrel Race\n \n // Drive straight forward, stop next to first marker\n AutonMove(0,-1,0,false,0,210);\n\n // Circle around first marker\n //CircleAroundRight(20, 25, 0.7); //CircleAroundRight(#of polygon si...
893
0
{"language": "c", "success": true, "metadata": {"lines": 151, "avg_line_length": 27.03, "nodes": 458, "errors": 0, "source_hash": "d3dd53d298447a8d58b61d1aaf66bd5b6f9661c85ea64faaefc1f3cd1554687b", "categorized_nodes": 335}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "function_definition", "text": ...
14,167
c
// // NSURL+XMGAudio.h // XMGRemotePlayerLib // // Created by 小码哥 on 2016/11/27. // Copyright © 2016年 小码哥. All rights reserved. // #import <Foundation/Foundation.h> @interface NSURL (XMGAudio) - (NSURL *)streamingURL; - (NSURL *)httpURL; @end
19.58
12
(translation_unit) "//\n// NSURL+XMGAudio.h\n// XMGRemotePlayerLib\n//\n// Created by 小码哥 on 2016/11/27.\n// Copyright © 2016年 小码哥. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n\n@interface NSURL (XMGAudio)\n\n- (NSURL *)streamingURL;\n\n- (NSURL *)httpURL;\n\n@end\n" (comment) "//" (comment) ...
49
4
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 19.58, "nodes": 29, "errors": 0, "source_hash": "4bff9ab9da90d2087dd104028b0f5852d2627717214068dda21684733139d21e", "categorized_nodes": 14}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "tion/Foun...
14,168
c
/******************************************************************************* * * MODULE: object.c * ******************************************************************************** * * DESCRIPTION: C::B::C object * ******************************************************************************** * * Copyright (c) 20...
35.08
195
(translation_unit) "/*******************************************************************************\n*\n* MODULE: object.c\n*\n********************************************************************************\n*\n* DESCRIPTION: C::B::C object\n*\n*************************************************************************...
1,269
3
{"language": "c", "success": true, "metadata": {"lines": 195, "avg_line_length": 35.08, "nodes": 779, "errors": 0, "source_hash": "1ab44d8660ddc849f4d2d5bd2d5a70e72350ec00d4b0cb85b61844c06afce87a", "categorized_nodes": 637}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_def", "text": "#define...
14,169
c
/* $Id: libport.h,v 1.1.1.1 2003/03/30 18:55:40 al-guest Exp $ */ #ifndef H_LIBPORT #define H_LIBPORT #include <stdarg.h> #include <config.h> #ifndef HAVE_SNPRINTF extern int snprintf (char *str, size_t count, const char *fmt, ...); #endif #ifndef HAVE_VSNPRINTF extern int vsnprintf (char *str, size_t count, const ...
24.78
18
(translation_unit) "/* $Id: libport.h,v 1.1.1.1 2003/03/30 18:55:40 al-guest Exp $ */\n\n#ifndef H_LIBPORT\n#define H_LIBPORT\n\n#include <stdarg.h>\n#include <config.h>\n\n#ifndef HAVE_SNPRINTF\nextern int snprintf (char *str, size_t count, const char *fmt, ...);\n#endif\n\n#ifndef HAVE_VSNPRINTF\nextern int vsnprintf...
106
0
{"language": "c", "success": true, "metadata": {"lines": 18, "avg_line_length": 24.78, "nodes": 81, "errors": 0, "source_hash": "1d62f8a481330a9be24167fff51f7526e7dc9aea0e405026917b286592f23401", "categorized_nodes": 56}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
14,170
c
/* Copyright 2016 The Chromium OS 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 __CROS_RDD_H #define __CROS_RDD_H /* Detach from debug cable */ void rdd_detached(void); /* Attach to debug cable */ void rdd_attached(vo...
32.35
17
(translation_unit) "/* Copyright 2016 The Chromium OS 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\n#ifndef __CROS_RDD_H\n#define __CROS_RDD_H\n\n/* Detach from debug cable */\nvoid rdd_detached(void);\n\n/* Attach to debu...
43
0
{"language": "c", "success": true, "metadata": {"lines": 17, "avg_line_length": 32.35, "nodes": 28, "errors": 0, "source_hash": "55236ca429c98ad706a0e098061c5f2c427d743cfa41a65b5021e3caf89775ea", "categorized_nodes": 17}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
14,171
c
#include <switch.h> #include "stdbool.h" bool RunMainLoop() { return appletMainLoop(); } void UpdateInputs() { hidScanInput(); } void UpdateConsole() { consoleUpdate(NULL); }
16
11
(translation_unit) "#include <switch.h>\n#include "stdbool.h"\n\nbool RunMainLoop() {\n return appletMainLoop();\n}\n\nvoid UpdateInputs() {\n hidScanInput();\n}\n\nvoid UpdateConsole() {\n consoleUpdate(NULL);\n}" (preproc_include) "#include <switch.h>\n" (#include) "#include" (system_lib_string) "<...
64
0
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 16.0, "nodes": 33, "errors": 0, "source_hash": "b6859b81cbed6c24b3101ebb15126f0abcdd15f096fc3ebb99e0f446a0e12e39", "categorized_nodes": 22}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#includ...
14,172
c
#pragma once #include <string> using namespace std; class Utils { public: void toUpper(string &str) { for(unsigned int i=0; i<str.length(); i++) { str.at(i) = toupper(str.at(i)); } } void toLower(string &str) { for(unsigned int i=0; i<str.length(); i++) { ...
22.44
16
(translation_unit) "#pragma once\n#include <string>\n\nusing namespace std;\n\nclass Utils {\npublic:\n void toUpper(string &str) {\n for(unsigned int i=0; i<str.length(); i++) {\n str.at(i) = toupper(str.at(i));\n }\n }\n\n void toLower(string &str) {\n for(unsigned int i=0...
170
4
{"language": "c", "success": true, "metadata": {"lines": 16, "avg_line_length": 22.44, "nodes": 104, "errors": 0, "source_hash": "8cbf8babdb8f990b52a76b7bcc4d06519f4ad9960c001ebb1048d9cae53cb4c8", "categorized_nodes": 73}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma ...
14,173
c
/** * Copyright 2016 Comcast Cable Communications Management, 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 requir...
27.8
85
(translation_unit) "/**\n * Copyright 2016 Comcast Cable Communications Management, 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/LICE...
168
0
{"language": "c", "success": true, "metadata": {"lines": 85, "avg_line_length": 27.8, "nodes": 132, "errors": 0, "source_hash": "d358dc01abec64f703af35ded6f7bdadc3881d5dd12b243173902895e0f6809b", "categorized_nodes": 82}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
14,174
c
/*********************************************************** Copyright 1991 by Stichting Mathematisch Centrum, Amsterdam, The Netherlands. All Rights Reserved Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, ...
30.43
96
(translation_unit) "/***********************************************************\nCopyright 1991 by Stichting Mathematisch Centrum, Amsterdam, The\nNetherlands.\n\n All Rights Reserved\n\nPermission to use, copy, modify, and distribute this software and its\ndocumentation for any purpose and with...
486
6
{"language": "c", "success": true, "metadata": {"lines": 96, "avg_line_length": 30.43, "nodes": 279, "errors": 0, "source_hash": "3e3d144a076037a1093ee2bd1d8eed35bb3c9be69318d96182d345b6e49c8547", "categorized_nodes": 186}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
14,175
c
#pragma once #include "MessageContainer.h" #include "ListenerManagerBase.h" #include "Listener.h" namespace cranc { template<typename T, msgID_t msgID> class ListenerManager final : public cranc::util::Singleton<ListenerManager<T, msgID>>, public ListenerManagerBase { public: void invoke(MessageContainerBase* msg) ...
30.47
19
(translation_unit) "#pragma once\n\n#include "MessageContainer.h"\n#include "ListenerManagerBase.h"\n#include "Listener.h"\n\nnamespace cranc\n{\n\ntemplate<typename T, msgID_t msgID>\nclass ListenerManager final : public cranc::util::Singleton<ListenerManager<T, msgID>>, public ListenerManagerBase {\npublic:\n void in...
216
10
{"language": "c", "success": true, "metadata": {"lines": 19, "avg_line_length": 30.47, "nodes": 140, "errors": 0, "source_hash": "934f42d160a0d9fe16815d0dd9b29d961cd4e6b4cff8b8236d465626d9274727", "categorized_nodes": 99}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma ...
14,176
c
// // CSCustomPopLowProprityHandler.h // CSPopKit // // Created by joy_yu on 2018/1/12. // Copyright © 2018年 joy_yu. All rights reserved. // #import "CSCustomPopHandler.h" @interface CSCustomPopLowProprityHandler : CSCustomPopHandler @end
23.3
10
(translation_unit) "//\n// CSCustomPopLowProprityHandler.h\n// CSPopKit\n//\n// Created by joy_yu on 2018/1/12.\n// Copyright © 2018年 joy_yu. All rights reserved.\n//\n\n#import "CSCustomPopHandler.h"\n\n@interface CSCustomPopLowProprityHandler : CSCustomPopHandler\n\n@end\n" (comment) "//" (comment) "// CSCus...
19
3
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 23.3, "nodes": 10, "errors": 0, "source_hash": "97b6a66192bea7f77e19abdfed266756e8513b6ab3d54690fef22b1df08af6b4", "categorized_nodes": 5}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "port \"CSCu...
14,177
c
/////////////////////////////////////////////////////////////////////// // CSpeedTreeForestOpenGL Class // // (c) 2003 IDV, Inc. // // This class is provided to illustrate one way to incorporate // SpeedTreeRT into an OpenGL application. All of the SpeedTreeRT // calls that must be made on a per tree basis are done ...
36.64
56
(translation_unit) "/////////////////////////////////////////////////////////////////////// \n// CSpeedTreeForestOpenGL Class\n//\n// (c) 2003 IDV, Inc.\n//\n// This class is provided to illustrate one way to incorporate\n// SpeedTreeRT into an OpenGL application. All of the SpeedTreeRT\n// calls that must be made on...
203
10
{"language": "c", "success": true, "metadata": {"lines": 56, "avg_line_length": 36.64, "nodes": 98, "errors": 0, "source_hash": "f19cb72c7b4b5bfd4371035470a8850d06da2b1a390ee140a3fcfd15eec8cd80", "categorized_nodes": 64}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
14,178
c
// // XPMArgumentParser.h // ArgumentParser // // Created by <NAME> on 2/23/12. // Copyright (c) 2012, 2016 <NAME>. All rights reserved. // #import <Foundation/Foundation.h> @class XPMArgumentPackage; @interface XPMArgumentParser : NSObject - (id)initWithArguments:(NSArray *)arguments signatures:(id)signatures;...
26.15
13
(translation_unit) "//\n// XPMArgumentParser.h\n// ArgumentParser\n//\n// Created by <NAME> on 2/23/12.\n// Copyright (c) 2012, 2016 <NAME>. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n\n@class XPMArgumentPackage;\n\n@interface XPMArgumentParser : NSObject\n\n- (id)initWithArguments:(NSArray *)ar...
65
8
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 26.15, "nodes": 37, "errors": 0, "source_hash": "d5a2fd00d9a43f88664facae4ed232b5f6e855bd5b7f7f1bc1d67cbcdc749897", "categorized_nodes": 21}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <...
14,179
c
// // BigBrother.h // BigBrother // // Created by <NAME> on 01/01/15. // Copyright (c) 2015 <NAME>. All rights reserved. // #import <UIKit/UIKit.h> //! Project version number for BigBrother. FOUNDATION_EXPORT double BigBrotherVersionNumber; //! Project version string for BigBrother. FOUNDATION_EXPORT const unsig...
36.62
13
(translation_unit) "//\n// BigBrother.h\n// BigBrother\n//\n// Created by <NAME> on 01/01/15.\n// Copyright (c) 2015 <NAME>. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n//! Project version number for BigBrother.\nFOUNDATION_EXPORT double BigBrotherVersionNumber;\n\n//! Project version string for BigBroth...
33
1
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 36.62, "nodes": 15, "errors": 0, "source_hash": "dd7c7d3a2d3a23565352d2b4ba567f22c9bd4a4a802dc564b4a6b8bfa3251106", "categorized_nodes": 10}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <...
14,180
c
#ifndef MODELS_EQUIPMENT_PROTOCOL_INCLUDE_GPSR_S_NAV_TLM_H_ #define MODELS_EQUIPMENT_PROTOCOL_INCLUDE_GPSR_S_NAV_TLM_H_ #include <stdint.h> #define SV_CHANNEL_NUM 12 struct sv_channel_t { uint8_t sv_id; uint8_t snr; } __attribute__((packed)); typedef enum _NSPO_FRAME_TYPE_ENUM { NSPO_FRAME_TYPE_TC = 0, ...
26.65
78
(translation_unit) "#ifndef MODELS_EQUIPMENT_PROTOCOL_INCLUDE_GPSR_S_NAV_TLM_H_\n#define MODELS_EQUIPMENT_PROTOCOL_INCLUDE_GPSR_S_NAV_TLM_H_\n#include <stdint.h>\n\n#define SV_CHANNEL_NUM 12\n\nstruct sv_channel_t {\n uint8_t sv_id;\n uint8_t snr;\n} __attribute__((packed));\n\ntypedef enum _NSPO_FRAME_TYPE_ENUM ...
386
0
{"language": "c", "success": true, "metadata": {"lines": 78, "avg_line_length": 26.65, "nodes": 253, "errors": 0, "source_hash": "f1054ae2c89146766a5efd4e58d81062d57b69734b301d183697d5753d6f5f8f", "categorized_nodes": 193}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
14,181
c
// ------------------------------------------------------------------------- // @FileName : NFGUID.h // @Author : LvSheng.Huang // @Date : 2012-07-11 // @Module : NFGUID // // ------------------------------------------------------------------------- #ifnd...
23.63
105
(translation_unit) "// -------------------------------------------------------------------------\n// @FileName : NFGUID.h\n// @Author : LvSheng.Huang\n// @Date : 2012-07-11\n// @Module : NFGUID\n//\n// ------------------------------------------------------...
678
23
{"language": "c", "success": true, "metadata": {"lines": 105, "avg_line_length": 23.63, "nodes": 404, "errors": 0, "source_hash": "91b9b90520b78e40a4924f3221caf42e6d9adeeaaed47320182ad3f69be26877", "categorized_nodes": 296}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
14,182
c
#pragma once #include <godot/gdnative_interface.h> #include <godot_cpp/godot.hpp> #include <godot_cpp/core/defs.hpp> #include <godot_cpp/classes/node3d.hpp> #include <godot_cpp/classes/control.hpp> #include <builder.h> #include <cstring> using namespace godot; class TBLoader : public Node3D { GDCLASS(TBLoader, N...
25.12
50
(translation_unit) "#pragma once\n\n#include <godot/gdnative_interface.h>\n\n#include <godot_cpp/godot.hpp>\n#include <godot_cpp/core/defs.hpp>\n\n#include <godot_cpp/classes/node3d.hpp>\n#include <godot_cpp/classes/control.hpp>\n\n#include <builder.h>\n#include <cstring>\n\nusing namespace godot;\n\nclass TBLoader : p...
335
6
{"language": "c", "success": true, "metadata": {"lines": 50, "avg_line_length": 25.12, "nodes": 218, "errors": 0, "source_hash": "c955ea6938fcfb687cc53bcf89b45ff967dbc104c1d22a7163be9f96307f0bcc", "categorized_nodes": 137}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
14,183
c
#pragma once class FEMesh; //----------------------------------------------------------------------------- struct VTKEXPORT { bool bshellthick; // shell thickness bool bscalar_data; //user scalar data }; class FEVTKExport { public: FEVTKExport(void); ~FEVTKExport(void); bool Export(FEMesh&...
15.89
28
(translation_unit) "#pragma once \n \nclass FEMesh; \n \n//----------------------------------------------------------------------------- \nstruct VTKEXPORT \n{ \n bool bshellthick; // shell thickness \n bool bscalar_data; //user scalar data \n}; \n \n \nclass FEVTKExport \n{ \npublic: \n FEVTKExport(void); \n ~FEVTKE...
119
1
{"language": "c", "success": true, "metadata": {"lines": 28, "avg_line_length": 15.89, "nodes": 67, "errors": 0, "source_hash": "9a7c2d25f56e5bbc2fffbc47c67c9f320c7b96d53d118714749df88e60d74236", "categorized_nodes": 45}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
14,184
c
int int_shifts_are_arithmetic() { int x = ~0; return (x >> 1) == x; }
12.83
6
(translation_unit) "int int_shifts_are_arithmetic()\n{\n int x = ~0;\n \n return (x >> 1) == x;\n}\n" (function_definition) "int int_shifts_are_arithmetic()\n{\n int x = ~0;\n \n return (x >> 1) == x;\n}" (primitive_type) "int" (function_declarator) "int_shifts_are_arithmetic()" (ident...
33
0
{"language": "c", "success": true, "metadata": {"lines": 6, "avg_line_length": 12.83, "nodes": 22, "errors": 0, "source_hash": "6e134fd0a000f8cbb69e76b615367ea7a717ca4909bfaeb4f982005c8525fec7", "categorized_nodes": 14}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "function_definition", "text": "int...
14,185
c
#pragma once #include <nanogui/opengl.h> #include <nanogui/glutil.h> #include <nanogui/screen.h> #include <nanogui/window.h> #include <nanogui/layout.h> #include <nanogui/label.h> #include <nanogui/checkbox.h> #include <nanogui/button.h> #include <nanogui/toolbutton.h> #include <nanogui/popupbutton.h> #include <nanogui...
25.48
44
(translation_unit) "#pragma once\n#include <nanogui/opengl.h>\n#include <nanogui/glutil.h>\n#include <nanogui/screen.h>\n#include <nanogui/window.h>\n#include <nanogui/layout.h>\n#include <nanogui/label.h>\n#include <nanogui/checkbox.h>\n#include <nanogui/button.h>\n#include <nanogui/toolbutton.h>\n#include <nanogui/po...
148
0
{"language": "c", "success": true, "metadata": {"lines": 44, "avg_line_length": 25.48, "nodes": 137, "errors": 0, "source_hash": "8ac3edb285b9dfa8f7430f467cc04d9f6c81be3caf3343194e9ed09d9006d142", "categorized_nodes": 108}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
14,186
c
// // TXGradientLabel.h // TailorX // // Created by <NAME> on 12/9/17. // Copyright © 2017年 utouu. All rights reserved. // #import <UIKit/UIKit.h> @interface TXGradientLabel : UILabel @property (nonatomic,assign)CGFloat sca; @end
20.27
11
(translation_unit) "//\n// TXGradientLabel.h\n// TailorX\n//\n// Created by <NAME> on 12/9/17.\n// Copyright © 2017年 utouu. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface TXGradientLabel : UILabel\n\n@property (nonatomic,assign)CGFloat sca;\n\n@end\n" (comment) "//" (comment) "// TXGradientL...
34
6
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 20.27, "nodes": 20, "errors": 0, "source_hash": "9b4a91bb10fc66a1149f15190662569f607f789621d05ae3a4e2d7bd1f6133ca", "categorized_nodes": 11}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "port <UIK...
14,187
c
// semmle-extractor-options: --edg --clang int x = 0; int* f(void) { int* x_addr = __builtin_addressof(x); return x_addr; }
20.33
6
(translation_unit) "// semmle-extractor-options: --edg --clang\n\nint x = 0;\n\nint* f(void) {\n int* x_addr = __builtin_addressof(x);\n return x_addr;\n}\n" (comment) "// semmle-extractor-options: --edg --clang" (declaration) "int x = 0;" (primitive_type) "int" (init_declarator) "x = 0" (identifier...
41
0
{"language": "c", "success": true, "metadata": {"lines": 6, "avg_line_length": 20.33, "nodes": 28, "errors": 0, "source_hash": "fa236365fd2022611fb196e416246db0e2155800768b520639d965f523190f7a", "categorized_nodes": 14}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "declaration", "text": "int x = 0;"...
14,188
c
/**************************************************************** Copyright (C) 1997 Lucent Technologies All Rights Reserved Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copi...
21.47
130
(ERROR) "/****************************************************************\nCopyright (C) 1997 Lucent Technologies\nAll Rights Reserved\n\nPermission to use, copy, modify, and distribute this software and\nits documentation for any purpose and without fee is hereby\ngranted, provided that the above copyright notice app...
627
11
{"language": "c", "success": true, "metadata": {"lines": 130, "avg_line_length": 21.47, "nodes": 404, "errors": 0, "source_hash": "f9b33798934ad1a3ba327bd2ced7089d1b77ac5ee70de6dcc66d8926991c1624", "categorized_nodes": 256}, "ast": {"root": "ERROR", "nodes": [{"id": 0, "type": "ERROR", "text": "/***********************...
14,189
c
#include "types.h" #include "user.h" #include "tournament_tree.h" #include "kthread.h" int* level_index; // array of node indeces that holds the max index in the level (used in create_tree) int treeDepth = 0; trnmnt_tree* trnmnt_tree_alloc(int depth){ if(depth < 1) // illegal depth return 0; trnmnt_tr...
26.91
140
(translation_unit) "#include "types.h"\n#include "user.h"\n#include "tournament_tree.h"\n#include "kthread.h"\n\nint* level_index; // array of node indeces that holds the max index in the level (used in create_tree)\nint treeDepth = 0;\n\ntrnmnt_tree* trnmnt_tree_alloc(int depth){\n if(depth < 1) // illegal depth\n ...
1,320
0
{"language": "c", "success": true, "metadata": {"lines": 140, "avg_line_length": 26.91, "nodes": 834, "errors": 0, "source_hash": "d1d8768260d18a079cd4a339fb14a32077b88a6a593324ee6221254e976f7db6", "categorized_nodes": 617}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
14,190
c
// // SetSecretVC.h // Practice // // Created by 赵麦 on 9/2/16. // Copyright © 2016 Zmy. All rights reserved. // #import <UIKit/UIKit.h> @interface SetSecretVC : UIViewController @end
17.7
10
(translation_unit) "//\n// SetSecretVC.h\n// Practice\n//\n// Created by 赵麦 on 9/2/16.\n// Copyright © 2016 Zmy. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface SetSecretVC : UIViewController\n\n@end\n" (comment) "//" (comment) "// SetSecretVC.h" (comment) "// Practice" (comment) "//" ...
22
4
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 17.7, "nodes": 12, "errors": 0, "source_hash": "e56d9f8f528c4d54471ddf8e2109579450c0c8be32b533907e3f6f29b106f68f", "categorized_nodes": 6}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "rt <UIKit/U...
14,191
c
// // VehicleLicensContentViewController.h // SEMCRM // // Created by 薛斯岐 on 16/3/15. // Copyright © 2016年 sem. All rights reserved. // #import "SemCRMTableViewController.h" @interface VehicleLicensContentViewController : SemCRMTableViewController @property (nonatomic,copy)NSString *vin; @end
26.09
11
(translation_unit) "//\n// VehicleLicensContentViewController.h\n// SEMCRM\n//\n// Created by 薛斯岐 on 16/3/15.\n// Copyright © 2016年 sem. All rights reserved.\n//\n\n#import "SemCRMTableViewController.h"\n\n@interface VehicleLicensContentViewController : SemCRMTableViewController\n@property (nonatomic,copy)NSString ...
36
6
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 26.09, "nodes": 23, "errors": 0, "source_hash": "45787df950f71b39522f6bbef013eb4f80946d45cb612333defc03c1a45ba7da", "categorized_nodes": 12}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "SemCRMTab...
14,192
c
#pragma once #include "ToyUtility/Prerequisites/PreDefine.h" #include "TRL/details/RenderAPIImpl/DX11/DX11CommonType.h" namespace TRL { namespace details { struct DX11AttributeData { }; } // end of namespace details } // end of namespace TRL
15.33
15
(translation_unit) "#pragma once\n\n#include "ToyUtility/Prerequisites/PreDefine.h"\n#include "TRL/details/RenderAPIImpl/DX11/DX11CommonType.h"\n\n\nnamespace TRL\n{\n\nnamespace details\n{\n\n\nstruct DX11AttributeData\n{\n\n};\n\n\n} // end of namespace details\n\n} // end of namespace TRL" (preproc_call) "#pragma ...
37
0
{"language": "c", "success": true, "metadata": {"lines": 15, "avg_line_length": 15.33, "nodes": 18, "errors": 0, "source_hash": "7c2cf83835010bba6a3f94c7c0bddefe00b04720b6f820658ccbf851038aab53", "categorized_nodes": 16}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
14,193
c
#ifndef CULTURE_GROUPS_H #define CULTURE_GROUPS_H #include "newParser.h" #include "CultureGroup.h" #include <map> #include <optional> namespace EU4 { class World; } namespace mappers { class CultureMapper; class CultureGroups: commonItems::parser { public: CultureGroups() = default; explicit CultureGroups(...
31.21
33
(translation_unit) "#ifndef CULTURE_GROUPS_H\n#define CULTURE_GROUPS_H\n\n#include "newParser.h"\n#include "CultureGroup.h"\n#include <map>\n#include <optional>\n\nnamespace EU4 {\n class World;\n}\n\nnamespace mappers\n{\n class CultureMapper;\n\n class CultureGroups: commonItems::parser\n {\n public:\n CultureGroups...
318
16
{"language": "c", "success": true, "metadata": {"lines": 33, "avg_line_length": 31.21, "nodes": 186, "errors": 0, "source_hash": "927ac53c1c861510223b8d423c329dbc55727f94dcf9181500f88f6cf3c24dc3", "categorized_nodes": 132}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
14,194
c
#ifndef LW_SOCKETS_H #define LW_SOCKETS_H #ifdef _WIN32 #pragma once #endif #include <stdio.h> #include <EASTL/string.h> #include <EASTL/vector.h> #ifdef _WIN32 #include <winsock2.h> #include <ws2tcpip.h> #else #include <sys/wait.h> #include <sys/socket.h> #include <wctype.h> #include <arpa/inet.h> ...
19.76
106
(translation_unit) "#ifndef LW_SOCKETS_H \n#define LW_SOCKETS_H \n#ifdef _WIN32 \n#pragma once \n#endif \n \n#include <stdio.h> \n#include <EASTL/string.h> \n#include <EASTL/vector.h> \n \n#ifdef _WIN32 \n#include <winsock2.h> \n#include <ws2tcpip.h> \n#else \n#include <sys/wait.h> \n#include <sys/socket.h> \n#include ...
623
31
{"language": "c", "success": true, "metadata": {"lines": 106, "avg_line_length": 19.76, "nodes": 406, "errors": 0, "source_hash": "ed9dc84006e65eb8ef4d0d59d484341aa1db11d71521010c5e14fdeaa83cc381", "categorized_nodes": 284}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
14,195
c
/* * FrontendResource.h * * Copyright (C) 2020 by VISUS (Universitaet Stuttgart). * Alle Rechte vorbehalten. */ #pragma once #include <any> #include <functional> #include <iostream> #include <optional> #include <string> #include <typeinfo> namespace megamol { namespace frontend_resources { template<typename T>...
33.42
88
(translation_unit) "/*\n * FrontendResource.h\n *\n * Copyright (C) 2020 by VISUS (Universitaet Stuttgart).\n * Alle Rechte vorbehalten.\n */\n\n#pragma once\n\n#include <any>\n#include <functional>\n#include <iostream>\n#include <optional>\n#include <string>\n#include <typeinfo>\n\nnamespace megamol {\nnamespace front...
748
63
{"language": "c", "success": true, "metadata": {"lines": 88, "avg_line_length": 33.42, "nodes": 419, "errors": 0, "source_hash": "20df01bea0af48be39b9bd7f8907c18eb8e2501450c1d4931d62d78009d1611e", "categorized_nodes": 283}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
14,196
c
// // ViewController.h // TXWKWebViewJavascriptBridgeDemo // // Created by ztx on 2020/7/18. // Copyright © 2020 ztx. All rights reserved. // #import <UIKit/UIKit.h> @interface ViewController : UIViewController @end
19.09
11
(translation_unit) "//\n// ViewController.h\n// TXWKWebViewJavascriptBridgeDemo\n//\n// Created by ztx on 2020/7/18.\n// Copyright © 2020 ztx. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface ViewController : UIViewController\n\n\n@end\n\n" (comment) "//" (comment) "// ViewController.h" (com...
22
4
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 19.09, "nodes": 11, "errors": 0, "source_hash": "4713856ec6b0146902bea68301050ced06124087a5ffea858f79a3d983e6fb05", "categorized_nodes": 6}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <UI...
14,197
c
// // TKGaugeLinear.h // TelerikUI // // Copyright (c) 2015 г. Telerik. All rights reserved. // #import "TKGauge.h" @class TKGaugeLinearScale; /** @enum TKLinearGaugeOrientation @discussion Defines the orientation of TKLinearGauge. */ typedef NS_ENUM(NSInteger, TKLinearGaugeOrientation) { /** Orientat...
26.03
61
(translation_unit) "//\n// TKGaugeLinear.h\n// TelerikUI\n//\n// Copyright (c) 2015 г. Telerik. All rights reserved.\n//\n\n#import "TKGauge.h"\n\n@class TKGaugeLinearScale;\n\n/**\n @enum TKLinearGaugeOrientation\n @discussion Defines the orientation of TKLinearGauge.\n */\ntypedef NS_ENUM(NSInteger, TKLinearGaugeO...
127
23
{"language": "c", "success": true, "metadata": {"lines": 61, "avg_line_length": 26.03, "nodes": 78, "errors": 0, "source_hash": "addb9dc5265c53e3b1d36f2c8cdbf3172282f8528cff254eecea4f226f848007", "categorized_nodes": 46}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import \"...
14,198
c
/* * This header is generated by classdump-dyld 1.0 * on Wednesday, March 22, 2017 at 9:01:37 AM Mountain Standard Time * Operating System: Version 10.1 (Build 14U593) * Image Source: /System/Library/PrivateFrameworks/ProtocolBuffer.framework/ProtocolBuffer * classdump-dyld is licensed under GPLv3, Copyright © 2013-201...
32.17
23
(translation_unit) "/*\n* This header is generated by classdump-dyld 1.0\n* on Wednesday, March 22, 2017 at 9:01:37 AM Mountain Standard Time\n* Operating System: Version 10.1 (Build 14U593)\n* Image Source: /System/Library/PrivateFrameworks/ProtocolBuffer.framework/ProtocolBuffer\n* classdump-dyld is licensed under GP...
183
13
{"language": "c", "success": true, "metadata": {"lines": 23, "avg_line_length": 32.17, "nodes": 100, "errors": 0, "source_hash": "27078cd9f6017198472bf436480c7dac48e79156f8fb358df715354de1204e89", "categorized_nodes": 68}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <...
14,199