language
stringclasses
1 value
code
stringlengths
6
12.3k
avg_line_length
float64
2.79
91
line_count
float64
1
367
lang_specific_parse
stringlengths
60
1.08M
ast_node_count
int64
2
6.81k
num_errors
int64
0
499
universal_schema
stringlengths
799
825k
__index_level_0__
int64
0
81.2k
c
#pragma once #include "sc2api/sc2_api.h" using namespace sc2; class MazzBOT : public Agent { };
15
6
(translation_unit) "#pragma once\n\n#include "sc2api/sc2_api.h"\n\nusing namespace sc2;\n\nclass MazzBOT : public Agent\n{\n\n};" (preproc_call) "#pragma once\n" (preproc_directive) "#pragma" (preproc_arg) "once" (preproc_include) "#include "sc2api/sc2_api.h"\n" (#include) "#include" (string_literal...
28
2
{"language": "c", "success": true, "metadata": {"lines": 6, "avg_line_length": 15.0, "nodes": 15, "errors": 0, "source_hash": "dd94c2f708c2389ce88a85cd16fb4dc7860e8b1c15567cd856f4c9f27efb3e08", "categorized_nodes": 11}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma onc...
1,200
c
#ifndef _KERNEL_KERNELOBJECT_H_ #define _KERNEL_KERNELOBJECT_H_ #include <System/Common.h> #include <HAL/Interrupts.h> void API_InterruptHandler(InterruptHandlerParameters parameters, u32 irq, InterruptHandlerRegisters registers); void API_HandleInterrupts(); #endif
37.14
7
(translation_unit) "#ifndef _KERNEL_KERNELOBJECT_H_\n#define _KERNEL_KERNELOBJECT_H_\n\n#include <System/Common.h>\n#include <HAL/Interrupts.h>\n\nvoid API_InterruptHandler(InterruptHandlerParameters parameters, u32 irq, InterruptHandlerRegisters registers);\nvoid API_HandleInterrupts();\n\n#endif" (preproc_ifdef) "#...
41
0
{"language": "c", "success": true, "metadata": {"lines": 7, "avg_line_length": 37.14, "nodes": 32, "errors": 0, "source_hash": "45b323506bf540a008aeee6c652ae208b44632365739d6ea4c295e2b89e2155c", "categorized_nodes": 26}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef _...
1,201
c
/** * \file py_event_base.h * \brief Python wrappers for event_base, python events iterator, * for event_base see event_base.h * \author <NAME> * \date 17.10.2008 * \copyright This source code is released under the terms of * the BSD License. See LICEN...
25.49
55
(translation_unit) "/** \n * \file py_event_base.h \n * \brief Python wrappers for event_base, python events iterator, \n * for event_base see event_base.h \n * \author <NAME> \n * \date 17.10.2008 \n * \copyright This source code is released under the terms of \n * ...
149
5
{"language": "c", "success": true, "metadata": {"lines": 55, "avg_line_length": 25.49, "nodes": 87, "errors": 0, "source_hash": "11cb18edb5f6174d20553620ef9f7b663afbd281ee5a8b8c61db2bfde838f4aa", "categorized_nodes": 66}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
1,202
c
#ifndef WK_WINDOW_H #define WK_WINDOW_H #include <stdbool.h> #include <wayland-client.h> #include <cairo/cairo.h> #include "xdg-shell-unstable-v6.h" #include "display.h" #include "event.h" /* A buffer struct that is used internally */ struct wk_window_buffer { uint32_t width, height; bool busy; void *pix...
28.91
47
(translation_unit) "#ifndef WK_WINDOW_H\n#define WK_WINDOW_H\n\n#include <stdbool.h>\n#include <wayland-client.h>\n#include <cairo/cairo.h>\n#include "xdg-shell-unstable-v6.h"\n#include "display.h"\n#include "event.h"\n\n/* A buffer struct that is used internally */\nstruct wk_window_buffer {\n uint32_t width, heigh...
280
0
{"language": "c", "success": true, "metadata": {"lines": 47, "avg_line_length": 28.91, "nodes": 208, "errors": 0, "source_hash": "5f8f1922ac80e04d3623e3fb810348a48e1594a3373419652a03f95eb55f2ecb", "categorized_nodes": 145}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
1,203
c
// SPDX-License-Identifier: GPL-2.0+ /* * HID driver for Google Hammer device. * * Copyright (c) 2017 Google Inc. * Author: <NAME> <<EMAIL>> */ /* * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the Free * Software...
31.72
114
(translation_unit) "// SPDX-License-Identifier: GPL-2.0+\n/*\n * HID driver for Google Hammer device.\n *\n * Copyright (c) 2017 Google Inc.\n * Author: <NAME> <<EMAIL>>\n */\n\n/*\n * This program is free software; you can redistribute it and/or modify it\n * under the terms of the GNU General Public License as pub...
823
3
{"language": "c", "success": true, "metadata": {"lines": 114, "avg_line_length": 31.72, "nodes": 502, "errors": 0, "source_hash": "e22af12e8cc3ba4f06b13c768cf9f798d785bc19c7fb3ac8545a1c95ded2301d", "categorized_nodes": 392}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
1,204
c
#ifndef CODEVISITOR_H #define CODEVISITOR_H //forward declarations class AddressI; class ArrayAllocI; class ArrayAccessI; class ArrayAssignmentI; class ArrayParamI; class BinAssignmentI; class CallI; class GotoI; class IfI; class LengthI; class ParamI; class ReadI; class ReturnI; class RetValI; class SimpleAssignment...
34.41
68
(translation_unit) "#ifndef CODEVISITOR_H\n#define CODEVISITOR_H\n\n//forward declarations\n\nclass AddressI;\nclass ArrayAllocI;\nclass ArrayAccessI;\nclass ArrayAssignmentI;\nclass ArrayParamI;\nclass BinAssignmentI;\nclass CallI;\nclass GotoI;\nclass IfI;\nclass LengthI;\nclass ParamI;\nclass ReadI;\nclass ReturnI;\...
589
27
{"language": "c", "success": true, "metadata": {"lines": 68, "avg_line_length": 34.41, "nodes": 384, "errors": 0, "source_hash": "a042c4f3929d9de5009f301351fe735e02df5d253a3728efbad066fe6682f140", "categorized_nodes": 273}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
1,205
c
/* * arch/v850/kernel/syscalls.c -- Various system-call definitions not * defined in machine-independent code * * Copyright (C) 2001,02 NEC Corporation * Copyright (C) 2001,02 <NAME> <<EMAIL>> * * This file is subject to the terms and conditions of the GNU General * Public License. See the file COPYING in...
25.01
198
(translation_unit) "/*\n * arch/v850/kernel/syscalls.c -- Various system-call definitions not\n * defined in machine-independent code\n *\n * Copyright (C) 2001,02 NEC Corporation\n * Copyright (C) 2001,02 <NAME> <<EMAIL>>\n *\n * This file is subject to the terms and conditions of the GNU General\n * Public Licen...
1,529
4
{"language": "c", "success": true, "metadata": {"lines": 198, "avg_line_length": 25.01, "nodes": 964, "errors": 0, "source_hash": "9acd05df8d5da48c1266192169ef5874de0ec9f036b13f076d5c9e5bbb9e9d65", "categorized_nodes": 654}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
1,206
c
#ifndef OTHERSWARMAGENTLISTENER_H #define OTHERSWARMAGENTLISTENER_H // ROS #include "ros/ros.h" // C++ standar libraries #include <cstdlib> #include <stdio.h> #include <iostream> #include "communication_definition.h" #include "std_msgs/Bool.h" #include "droneMsgsROS/dronePose.h" #include "droneMsgsROS/droneInfo.h" ...
30.87
39
(translation_unit) "#ifndef OTHERSWARMAGENTLISTENER_H\n#define OTHERSWARMAGENTLISTENER_H\n\n// ROS\n#include "ros/ros.h"\n\n// C++ standar libraries\n#include <cstdlib>\n#include <stdio.h>\n#include <iostream>\n\n#include "communication_definition.h"\n#include "std_msgs/Bool.h"\n#include "droneMsgsROS/dronePose.h"\n#in...
261
12
{"language": "c", "success": true, "metadata": {"lines": 39, "avg_line_length": 30.87, "nodes": 148, "errors": 0, "source_hash": "3dbbeecc2a0ac10bfe0dd4766edeadf940c792512b78adb558cd597a5309368c", "categorized_nodes": 107}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
1,207
c
// Copyright (c) 2016 <NAME> <EMAIL> // This software is provided 'as-is' under the zlib License, see the LICENSE.txt file. // This notice and the license may not be removed or altered from any source distribution. #pragma once /* mud */ #include <ctx/Context.h> #include <ui-nanovg/VgNano.h> #ifdef MUD_GL_LIB #de...
29.12
25
(translation_unit) "// Copyright (c) 2016 <NAME> <EMAIL>\n// This software is provided 'as-is' under the zlib License, see the LICENSE.txt file.\n// This notice and the license may not be removed or altered from any source distribution.\n\n#pragma once\n\n/* mud */\n#include <ctx/Context.h>\n#include <ui-nanovg/VgNa...
129
6
{"language": "c", "success": true, "metadata": {"lines": 25, "avg_line_length": 29.12, "nodes": 90, "errors": 0, "source_hash": "70e71d9fb098c05b96d61ee871b3105bea40e2e3f836eb3dadfd830e25afa429", "categorized_nodes": 60}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
1,208
c
#include "source/map/map.h" #include "source/map/load_map.h" #include "source/neslib_asm/neslib.h" #include "source/library/bank_helpers.h" #include "source/configuration/game_states.h" #include "source/globals.h" #include "source/configuration/system_constants.h" #include "source/graphics/hud.h" #include "source/graph...
35.9
148
(translation_unit) "#include "source/map/map.h"\n#include "source/map/load_map.h"\n#include "source/neslib_asm/neslib.h"\n#include "source/library/bank_helpers.h"\n#include "source/configuration/game_states.h"\n#include "source/globals.h"\n#include "source/configuration/system_constants.h"\n#include "source/graphics/hu...
1,325
1
{"language": "c", "success": true, "metadata": {"lines": 148, "avg_line_length": 35.9, "nodes": 816, "errors": 0, "source_hash": "99b55bec3aa055b2b61caa7e1b5761dcec5147afc44813488e810d8e610e26b2", "categorized_nodes": 614}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
1,209
c
/** * @cond doxygenLibsbmlInternal * * @file SBMLExternalValidator.h * @brief Definition of SBMLExternalValidator, a validator calling external programs * @author <NAME> * * <!-------------------------------------------------------------------------- * This file is part of libSBML. Please visit http://...
25.76
179
(translation_unit) "/**\n * @cond doxygenLibsbmlInternal\n * \n * @file SBMLExternalValidator.h\n * @brief Definition of SBMLExternalValidator, a validator calling external programs\n * @author <NAME>\n * \n * <!--------------------------------------------------------------------------\n * This file is part of li...
354
24
{"language": "c", "success": true, "metadata": {"lines": 179, "avg_line_length": 25.76, "nodes": 205, "errors": 0, "source_hash": "5552c0df0f8546ef6051ac0c25fcdd52d82fdc007ce0a7e7b85c29612f7453ea", "categorized_nodes": 142}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
1,210
c
#include "ggg-2d.h" #include "ggg-2d-draw-select.h" //function to draw a point with color void GGG2D_DrawPoint(int x, int y, GGG2D_Color* color) { GGG2D_DrawPoint_internal(x, y, color); } //function to draw a point with color void GGG2D_DrawPointP(GGG2D_Point p1, GGG2D_Color* color) { GGG2D_DrawPointP_internal(p1,...
33.51
77
(translation_unit) "#include "ggg-2d.h"\n\n#include "ggg-2d-draw-select.h"\n\n//function to draw a point with color\nvoid GGG2D_DrawPoint(int x, int y, GGG2D_Color* color)\n{\n GGG2D_DrawPoint_internal(x, y, color);\n}\n\n//function to draw a point with color\nvoid GGG2D_DrawPointP(GGG2D_Point p1, GGG2D_Color* color)\n...
670
0
{"language": "c", "success": true, "metadata": {"lines": 77, "avg_line_length": 33.51, "nodes": 426, "errors": 0, "source_hash": "d51a0a5fbda2a6806ca6750334ddab6d252b089993643f11066c3821e5fb4318", "categorized_nodes": 285}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
1,211
c
// **************************************************************************** // FigureView2.h // Представление фигур // **************************************************************************** #pragma once #include "FigureViewBase.h" namespace View { class FigureView2 final : public FigureViewBase { publ...
24.14
14
(translation_unit) " ****************************************************************************\n// FigureView2.h\n// Представление фигур\n// ****************************************************************************\n\n#pragma once\n#include "FigureViewBase.h"\n\nnamespace View\n{\n class FigureView2 final : pub...
48
2
{"language": "c", "success": true, "metadata": {"lines": 14, "avg_line_length": 24.14, "nodes": 23, "errors": 0, "source_hash": "62ad6e4ae733c29fe6884a46329a5d0e34c4d003d7d7abcccb36dc699a134ca8", "categorized_nodes": 15}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "e \"Figur...
1,212
c
/** * PANDA 3D SOFTWARE * Copyright (c) Carnegie Mellon University. All rights reserved. * * All use of this software is subject to the terms of the revised BSD * license. You should have received a copy of this license along * with this source code in a file named "LICENSE." * * @file physxBoxForceFieldShape...
29.04
56
(translation_unit) "/**\n * PANDA 3D SOFTWARE\n * Copyright (c) Carnegie Mellon University. All rights reserved.\n *\n * All use of this software is subject to the terms of the revised BSD\n * license. You should have received a copy of this license along\n * with this source code in a file named "LICENSE."\n *\n * @...
307
14
{"language": "c", "success": true, "metadata": {"lines": 56, "avg_line_length": 29.04, "nodes": 160, "errors": 0, "source_hash": "3fd9d2e89e3fc6aea00e429c3183f62b8b927a70ecfdcf8abf53d1fe44ff3ca0", "categorized_nodes": 107}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
1,213
c
#ifndef __SINGLE_SHOT_SOURCE__ #define __SINGLE_SHOT_SOURCE__ #include "Source.h" extern CFStringRef gSingleShotSourceName; /* We need this source because we need to send the data followed by a null value, so that all input sources have the same behavior. */ class SingleShotSource : public Source { protected: Si...
29.21
19
(translation_unit) "#ifndef __SINGLE_SHOT_SOURCE__\n#define __SINGLE_SHOT_SOURCE__\n\n#include "Source.h"\n\nextern CFStringRef gSingleShotSourceName;\n\n/*\n We need this source because we need to send the data followed by\n a null value, so that all input sources have the same behavior.\n*/\n\nclass SingleShotSource ...
118
4
{"language": "c", "success": true, "metadata": {"lines": 19, "avg_line_length": 29.21, "nodes": 73, "errors": 0, "source_hash": "82e58889c32167d04eaf2d354693680198caaf4216f49550bcf60f290fd03f94", "categorized_nodes": 52}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
1,214
c
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by <NAME>. // #import <SAObjects/SAAceView.h> @class SAResultObjectReference; @interface SAResultReferenceWrapper : SAAceView { } + (id)resultReferenceWrapperWithDictionary:(id)arg1 context:(id)arg2...
28.44
16
(translation_unit) "//\n// Generated by class-dump 3.5 (64 bit).\n//\n// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by <NAME>.\n//\n\n#import <SAObjects/SAAceView.h>\n\n@class SAResultObjectReference;\n\n@interface SAResultReferenceWrapper : SAAceView\n{\n}\n\n+ (id)resultReferenceWrapperWithDi...
102
11
{"language": "c", "success": true, "metadata": {"lines": 16, "avg_line_length": 28.44, "nodes": 60, "errors": 0, "source_hash": "292b20e2f50427856eb8ff0ff8a76d7c6d4cae25fe1e75d7602ad5d6888dd360", "categorized_nodes": 36}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <...
1,215
c
// // WVRFootballViewModel.h // WhaleyVR // // Created by qbshen on 2017/5/8. // Copyright © 2017年 Snailvr. All rights reserved. // #import "WVRFootballModel.h" typedef NS_ENUM(NSInteger, WVRFootballViewModelSectionType) { WVRFootballViewModelSectionTypeAD, WVRFootballViewModelSectionTypeLive, WVRFoot...
40.09
22
(translation_unit) "//\n// WVRFootballViewModel.h\n// WhaleyVR\n//\n// Created by qbshen on 2017/5/8.\n// Copyright © 2017年 Snailvr. All rights reserved.\n//\n\n#import "WVRFootballModel.h"\n\ntypedef NS_ENUM(NSInteger, WVRFootballViewModelSectionType) {\n WVRFootballViewModelSectionTypeAD,\n WVRFootballViewM...
197
26
{"language": "c", "success": true, "metadata": {"lines": 22, "avg_line_length": 40.09, "nodes": 136, "errors": 0, "source_hash": "2dfde1cb4bb8d585f94d3c278c2bc684deaa9b0830c8cfa5090033f8f7756f0d", "categorized_nodes": 71}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "port \"W...
1,216
c
#ifndef _SIGNAL_H_ #define _SIGNAL_H_ #define SIG(x) (1 << (x - 1)) #define SIGALRM 14 #endif
19.6
5
(translation_unit) "#ifndef _SIGNAL_H_\n#define _SIGNAL_H_\n\n#define SIG(x) (1 << (x - 1))\n\n#define SIGALRM 14\n\n#endif\n" (preproc_ifdef) "#ifndef _SIGNAL_H_\n#define _SIGNAL_H_\n\n#define SIG(x) (1 << (x - 1))\n\n#define SIGALRM 14\n\n#endif" (#ifndef) "#ifndef" (identifier) "_SIGNAL_H...
20
0
{"language": "c", "success": true, "metadata": {"lines": 5, "avg_line_length": 19.6, "nodes": 17, "errors": 0, "source_hash": "4f9ad56708623cb1ea1a214c7f82962d36bac9d71641fbd872beeade18e21beb", "categorized_nodes": 9}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef _SI...
1,217
c
#ifndef __11_1Yvki_LNXnG7i_t6C_IE_7_ZZ1Z #define __11_1Yvki_LNXnG7i_t6C_IE_7_ZZ1Z 1 #include "refheap.h" #include "threads.h" #include <stdint.h> #include <pthread.h> #include <stdatomic.h> #include <semaphore.h> extern uint64_t time_sec_to_ms(const uint64_t); extern uint64_t time_sec_to_us(const uint64_t); extern...
47.87
85
(translation_unit) "#ifndef __11_1Yvki_LNXnG7i_t6C_IE_7_ZZ1Z\n#define __11_1Yvki_LNXnG7i_t6C_IE_7_ZZ1Z 1\n\n#include "refheap.h"\n#include "threads.h"\n\n#include <stdint.h>\n#include <pthread.h>\n#include <stdatomic.h>\n#include <semaphore.h>\n\nextern uint64_t time_sec_to_ms(const uint64_t);\n\nextern uint64_t time_s...
1,192
0
{"language": "c", "success": true, "metadata": {"lines": 85, "avg_line_length": 47.87, "nodes": 815, "errors": 0, "source_hash": "7cfb410cb813b051fc74bd0b355f6f4e2d2fc4dcf36d704493118ab1e6e4d627", "categorized_nodes": 489}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
1,218
c
// // KitCompanyAddress+WCTTableCoding.h // AddressBook // // Created by lxj on 2018/7/27. // Copyright © 2018年 ronglian. All rights reserved. // #import "KitCompanyAddress.h" #import <WCDB/WCDB.h> @interface KitCompanyAddress (WCTTableCoding) <WCTTableCoding> WCDB_PROPERTY(name) WCDB_PROPERTY(nameId) WCDB_PROPE...
21.76
33
(translation_unit) "//\n// KitCompanyAddress+WCTTableCoding.h\n// AddressBook\n//\n// Created by lxj on 2018/7/27.\n// Copyright © 2018年 ronglian. All rights reserved.\n//\n\n#import "KitCompanyAddress.h"\n#import <WCDB/WCDB.h>\n\n@interface KitCompanyAddress (WCTTableCoding) <WCTTableCoding>\n\nWCDB_PROPERTY(name)...
158
6
{"language": "c", "success": true, "metadata": {"lines": 33, "avg_line_length": 21.76, "nodes": 106, "errors": 0, "source_hash": "3cf98bc36f78f28a8da4b4cd7326d16271f47ae05d0f50771cc8db0b0373893e", "categorized_nodes": 72}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "port \"K...
1,219
c
#ifndef MONSTER_H #define MONSTER_H #include <SDL.h> #include "Label.h" class Monster { public: virtual ~Monster() { return; } virtual void draw() = 0; virtual float getXPos() = 0; virtual float getYPos() = 0; virtual float getXSize() = 0; virtual float getYSize() = 0; virtual void sethasCollided(bool value) ...
25.12
32
(translation_unit) "#ifndef MONSTER_H\n#define MONSTER_H\n\n#include <SDL.h>\n#include "Label.h"\n\nclass Monster {\npublic:\n virtual ~Monster() { return; }\n virtual void draw() = 0;\n virtual float getXPos() = 0;\n virtual float getYPos() = 0;\n virtual float getXSize() = 0;\n virtual float getYSize() = 0;\n\n virtu...
312
19
{"language": "c", "success": true, "metadata": {"lines": 32, "avg_line_length": 25.12, "nodes": 228, "errors": 0, "source_hash": "f3350633d0b1e050efa8473e82fb1fe287a75a8f07ead0f1021fa829de80b3a8", "categorized_nodes": 143}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
1,220
c
#pragma once #include "../uv-lamp-timer.h" // Libraries for DS18B20 #include <OneWire.h> #include <DallasTemperature.h> //-------------------------------------------------------------------- // Class for getting temperature from sensor DS18B20 //-------------------------------------------------------------------- cl...
27.41
22
(translation_unit) "#pragma once\n#include "../uv-lamp-timer.h"\n\n// Libraries for DS18B20\n#include <OneWire.h>\n#include <DallasTemperature.h>\n\n//--------------------------------------------------------------------\n// Class for getting temperature from sensor DS18B20\n//-------------------------------------------...
97
0
{"language": "c", "success": true, "metadata": {"lines": 22, "avg_line_length": 27.41, "nodes": 61, "errors": 0, "source_hash": "1a260c2ae5a850c2f9140c127467e980bd4d1fd37bd034dddaaa8c2d5e78fb1d", "categorized_nodes": 40}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
1,221
c
#include "leet.h" /** * @brief ostream: OutputStream * put any data to stream, finally drain from it. * It work like StringBuffer in Java. * * API: * create create one ostream with unit length * destroy destory one stream * length return number of already output units *...
28.46
173
(translation_unit) "#include "leet.h"\n/**\n * @brief ostream: OutputStream\n * put any data to stream, finally drain from it.\n * It work like StringBuffer in Java.\n *\n * API:\n * create create one ostream with unit length\n * destroy destory one stream\n * length return numb...
1,553
0
{"language": "c", "success": true, "metadata": {"lines": 173, "avg_line_length": 28.46, "nodes": 943, "errors": 0, "source_hash": "5b5ed83fca45a044be8be0499f57372e57daf9e072a1b441d6bbff5280f0b989", "categorized_nodes": 605}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
1,222
c
/* * main.c -- start point for bsc * (c) <NAME> 1998 */ #define MAJ_VERSION 0 #define MIN_VERSION 1 #include "lexer.h" #include "syntax.h" #include "dump.h" #include "opt.h" #include <stdio.h> #include <stdlib.h> #include <string.h> void print_version(void) { fprintf(stderr, "bsc -- the bitslice compiler, " "...
22.63
83
(translation_unit) "/*\n * main.c -- start point for bsc\n * (c) <NAME> 1998\n */\n\n#define MAJ_VERSION 0\n#define MIN_VERSION 1\n\n#include "lexer.h"\n#include "syntax.h"\n#include "dump.h"\n#include "opt.h"\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n\nvoid print_version(void)\n{\n fprintf(stderr...
901
0
{"language": "c", "success": true, "metadata": {"lines": 83, "avg_line_length": 22.63, "nodes": 507, "errors": 0, "source_hash": "3fb1ddd7cff1acefd8981a8b8b54899c45a83a1efbcfc41cfe3797c2abd56e43", "categorized_nodes": 378}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_def", "text": "#define ...
1,223
c
#include <stdio.h> #include <string.h> #include <stdlib.h> #include "slist.h" #include "typeinfo.h" extern SList* type_info_list; void slist_set(SList* list, size_t i, void* ptr){ int data_size = list->type_info->data_size; int err = slist_reserve(list, i+1); if(!err) return; memcpy(((char*)list->data)+i*data_...
27.7
113
(translation_unit) "#include <stdio.h>\n#include <string.h>\n#include <stdlib.h>\n\n#include "slist.h"\n#include "typeinfo.h"\n\nextern SList* type_info_list;\n\nvoid slist_set(SList* list, size_t i, void* ptr){\n int data_size = list->type_info->data_size;\n int err = slist_reserve(list, i+1);\n if(!err)\n return;\n ...
1,420
0
{"language": "c", "success": true, "metadata": {"lines": 113, "avg_line_length": 27.7, "nodes": 943, "errors": 0, "source_hash": "e3676e5cfbc7530539c1b541b3d2cb2425d81178cf4743ed2d45624c801646c1", "categorized_nodes": 612}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
1,224
c
/* SPDX-License-Identifier: GPL-2.0+ */ /* * (C) Copyright 2009 * Marvell Semiconductor <www.marvell.com> * Written-by: <NAME> <<EMAIL>> * * Header file for Feroceon CPU core 88FR131 Based KW88F6192 SOC. */ #ifndef _CONFIG_KW88F6192_H #define _CONFIG_KW88F6192_H /* SOC specific definations */ #define KW88F6192_...
30.88
16
(translation_unit) "/* SPDX-License-Identifier: GPL-2.0+ */\n/*\n * (C) Copyright 2009\n * Marvell Semiconductor <www.marvell.com>\n * Written-by: <NAME> <<EMAIL>>\n *\n * Header file for Feroceon CPU core 88FR131 Based KW88F6192 SOC.\n */\n\n#ifndef _CONFIG_KW88F6192_H\n#define _CONFIG_KW88F6192_H\n\n/* SOC specific d...
26
0
{"language": "c", "success": true, "metadata": {"lines": 16, "avg_line_length": 30.88, "nodes": 19, "errors": 0, "source_hash": "01cf52e0f42cd4882bd42d46a4248207b3443522bd99d6e403dedcf3825b6431", "categorized_nodes": 8}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef _...
1,225
c
#ifndef APPLICATION_H #define APPLICATION_H #include "common.h" #include "graphics/window.h" #include "util/timer.h" namespace muon { class Application { public: Application(graphics::Window* window); void run(); graphics::Window* window; private: virtual void loadResources...
23.19
26
(translation_unit) "#ifndef APPLICATION_H\n#define APPLICATION_H\n\n#include "common.h"\n#include "graphics/window.h"\n#include "util/timer.h"\n\nnamespace muon {\n\nclass Application\n{\n public:\n Application(graphics::Window* window);\n\n void run();\n graphics::Window* window;\n\n private...
170
8
{"language": "c", "success": true, "metadata": {"lines": 26, "avg_line_length": 23.19, "nodes": 108, "errors": 0, "source_hash": "b810021b19fc5aaa5902c117368b676cc0508b6063d6646bdc8bf0951f82f66c", "categorized_nodes": 75}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
1,226
c
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __X86_KERNEL_FPU_CONTEXT_H #define __X86_KERNEL_FPU_CONTEXT_H #include <asm/fpu/xstate.h> #include <asm/trace/fpu.h> /* Functions related to FPU context tracking */ /* * The in-register FPU state for an FPU context on a CPU is assumed to be * valid if the fpu->last_cp...
33
71
(translation_unit) "/* SPDX-License-Identifier: GPL-2.0 */\n#ifndef __X86_KERNEL_FPU_CONTEXT_H\n#define __X86_KERNEL_FPU_CONTEXT_H\n\n#include <asm/fpu/xstate.h>\n#include <asm/trace/fpu.h>\n\n/* Functions related to FPU context tracking */\n\n/*\n * The in-register FPU state for an FPU context on a CPU is assumed to b...
325
0
{"language": "c", "success": true, "metadata": {"lines": 71, "avg_line_length": 33.0, "nodes": 203, "errors": 0, "source_hash": "d73723546c85e39be40e5669932a8e58ee860e50be595bf480ac68fdf85ea8d9", "categorized_nodes": 142}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
1,227
c
#ifndef NODE_H #define NODE_H #include <queue> #include <string> #include <vector> #include <memory> #include "Type.hpp" #include "codes/CodeNode.hpp" #include "util/LockFreeQueue.hpp" #include "FuncEnv.h" #include <list> #include "NodeMessage.hpp" #include "Engine.h" #include <iostream> #include "Object/object.h" us...
25.27
60
(translation_unit) "#ifndef NODE_H\n#define NODE_H\n\n#include <queue>\n#include <string>\n#include <vector>\n#include <memory>\n#include "Type.hpp"\n#include "codes/CodeNode.hpp"\n#include "util/LockFreeQueue.hpp"\n#include "FuncEnv.h"\n#include <list>\n#include "NodeMessage.hpp"\n#include "Engine.h"\n#include <iostre...
429
14
{"language": "c", "success": true, "metadata": {"lines": 60, "avg_line_length": 25.27, "nodes": 299, "errors": 0, "source_hash": "1917392f55f82677183b52f9f723febfcf7d73375f1fee77ea513a61967417fa", "categorized_nodes": 207}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
1,228
c
#ifndef MultiPhysicsCoupledQD_H #define MultiPhysicsCoupledQD_H #include "Mesh.h" #include "Materials.h" #include "GreyGroupSolver.h" #include "SingleGroupDNP.h" #include "WriteData.h" using namespace std; class HeatTransfer; class MultiGroupDNP; class GreyGroupQD; //================================================...
33.22
79
(translation_unit) "#ifndef MultiPhysicsCoupledQD_H\n#define MultiPhysicsCoupledQD_H\n\n#include "Mesh.h"\n#include "Materials.h"\n#include "GreyGroupSolver.h"\n#include "SingleGroupDNP.h"\n#include "WriteData.h"\n\nusing namespace std;\n\nclass HeatTransfer;\nclass MultiGroupDNP;\nclass GreyGroupQD;\n\n//=============...
613
19
{"language": "c", "success": true, "metadata": {"lines": 79, "avg_line_length": 33.22, "nodes": 392, "errors": 0, "source_hash": "2b915b0bf07a8aadf98171ac6fb521e187f31b210d287e7286d8349062c29597", "categorized_nodes": 258}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
1,229
c
#include "iftest.h" #include "yats.h" SETUP_YATS(); static void test_if() { unsigned char expected[] = { 0x18, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x27, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, O_BCONST_T, O_LLOAD, 0x00, O_BRF_8, 0x02, 0x00, 0x00,...
27.31
133
(translation_unit) "#include "iftest.h"\n#include "yats.h"\n\nSETUP_YATS();\n\n\nstatic void test_if() {\n unsigned char expected[] = {\n 0x18, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\n 0x27, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\n O_BCONST_T,\n O_LLOAD, 0x00...
1,036
0
{"language": "c", "success": true, "metadata": {"lines": 133, "avg_line_length": 27.31, "nodes": 512, "errors": 0, "source_hash": "d48add5678cb6aa10d9bcd1ec6d7a8bb8e0c6d68172acb2438409f7ad8766912", "categorized_nodes": 420}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
1,230
c
/* Copyright 2015 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. */ #include "Platform.h" #include "TPM_Types.h" #include "ccd_config.h" #include "pinweaver.h" #include "trng.h" #include "util.h" #include "version....
28.36
69
(translation_unit) "/* Copyright 2015 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#include "Platform.h"\n#include "TPM_Types.h"\n\n#include "ccd_config.h"\n#include "pinweaver.h"\n#include "trng.h"\n#incl...
291
0
{"language": "c", "success": true, "metadata": {"lines": 69, "avg_line_length": 28.36, "nodes": 172, "errors": 0, "source_hash": "b04027078d85a3fab4e7acecc8d5cbcad537ef66962cc564b32ee184da351dc7", "categorized_nodes": 111}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
1,231
c
#if !defined(AFX_CHARLISTBOX_H__69B0BCF9_DB52_494A_8F73_459FB3DE740F__INCLUDED_) #define AFX_CHARLISTBOX_H__69B0BCF9_DB52_494A_8F73_459FB3DE740F__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // CharListBox.h : header file // /////////////////////////////////////////////////////////////////////...
32.75
55
(translation_unit) "#if !defined(AFX_CHARLISTBOX_H__69B0BCF9_DB52_494A_8F73_459FB3DE740F__INCLUDED_)\n#define AFX_CHARLISTBOX_H__69B0BCF9_DB52_494A_8F73_459FB3DE740F__INCLUDED_\n\n#if _MSC_VER > 1000\n#pragma once\n#endif // _MSC_VER > 1000\n// CharListBox.h : header file\n//\n\n////////////////////////////////////////...
310
12
{"language": "c", "success": true, "metadata": {"lines": 55, "avg_line_length": 32.75, "nodes": 199, "errors": 0, "source_hash": "187349a41ca92d3c22886b4026aa8808f444d703def15442c5e37d5aaf2c73cb", "categorized_nodes": 145}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_if", "text": "#if !defi...
1,232
c
#if \ defined(__amd64__) \ || defined(__amd64) \ || defined(__x86_64__) \ || defined(__x86_64) \ || defined(_M_X64) \ || defined(_M_AMD64) #define X86 1 #define X64 1 #elif \ defined(i386) \ || defined(__i386) \ || defined(__i386__) \ || defined(__IA32__) \ || defined(_M_IX86) \ || defined(__X86__) \ || defined(_X86_) ...
27.41
17
(translation_unit) "#if \\ndefined(__amd64__) \\n|| defined(__amd64) \\n|| defined(__x86_64__) \\n|| defined(__x86_64) \\n|| defined(_M_X64) \\n|| defined(_M_AMD64)\n#define X86 1\n#define X64 1\n#elif \\ndefined(i386) \\n|| defined(__i386) \\n|| defined(__i386__) \\n|| defined(__IA32__) \\n|| defined(_M_IX86) \\n|| de...
149
0
{"language": "c", "success": true, "metadata": {"lines": 17, "avg_line_length": 27.41, "nodes": 114, "errors": 0, "source_hash": "4e872c53f31e1fee0180944c67a5cf7e4c1607941b68b6817234b0a6023dde31", "categorized_nodes": 43}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_if", "text": "#if \\\nde...
1,233
c
/* * module to include the modules */ //config_require(fts-mib/ftsRefCfg) config_require(fts-mib/fts_scalar) config_require(fts-mib/ftsRefTable) config_require(fts-mib/ftsPtpTable) config_require(fts-mib/ftsNtpTable) config_require(fts-mib/ftsTimingTable) config_require(fts-mib/ftsClkTrap) config_add_mi...
24.77
13
(translation_unit) "/*\n * module to include the modules\n */\n//config_require(fts-mib/ftsRefCfg)\nconfig_require(fts-mib/fts_scalar)\nconfig_require(fts-mib/ftsRefTable)\nconfig_require(fts-mib/ftsPtpTable)\nconfig_require(fts-mib/ftsNtpTable)\nconfig_require(fts-mib/ftsTimingTable)\nconfig_require(fts-mib/ftsClkTrap...
101
0
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 24.77, "nodes": 70, "errors": 0, "source_hash": "1d8d334e588e0fb19afe5afe1985ca7a0791105066e870585bb014954eed44b8", "categorized_nodes": 49}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "call_expression", "text": "config...
1,234
c
// // OAuth2ViewController.h // OAuth2 // // Created by <NAME> on 11/11/2014. // Copyright (c) 2014 <NAME>. All rights reserved. // #import <UIKit/UIKit.h> @interface OAuth2ViewController : UIViewController @end
20.6
10
(translation_unit) "//\n// OAuth2ViewController.h\n// OAuth2\n//\n// Created by <NAME> on 11/11/2014.\n// Copyright (c) 2014 <NAME>. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface OAuth2ViewController : UIViewController\n\n@end\n" (comment) "//" (comment) "// OAuth2ViewController.h" (comme...
19
3
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 20.6, "nodes": 9, "errors": 0, "source_hash": "1a0b578f964ad55275faf6e77313e540e095791745938548c0c1fe0bbc3ce835", "categorized_nodes": 4}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <UIK...
1,235
c
#pragma once #include <string> #include "version.inc" std::string GetVersionStr(int major = P0_VERSION_MAJOR, int minor = P0_VERSION_MINOR, int patch = P0_VERSION_PATCH, const std::string& postfix = P0_VERSION_POSTFIX);
41.57
7
(translation_unit) "#pragma once\n\n#include <string>\n#include "version.inc"\n\nstd::string GetVersionStr(int major = P0_VERSION_MAJOR,\n int minor = P0_VERSION_MINOR,\n int patch = P0_VERSION_PATCH,\n const std::string& postfix = P0_VERSION_PO...
59
5
{"language": "c", "success": true, "metadata": {"lines": 7, "avg_line_length": 41.57, "nodes": 41, "errors": 0, "source_hash": "e9cb51b4872601c07686c8818246daff89cfd83f7ff42320935278196caf55b2", "categorized_nodes": 26}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma on...
1,236
c
/* ------------------------------------------------------------------------- * * activetable.c * * This code is responsible for detecting active table for databases * * Copyright (C) 2013, PostgreSQL Global Development Group * * * ------------------------------------------------------------------------- */ #i...
32.46
282
(translation_unit) "/* -------------------------------------------------------------------------\n *\n * activetable.c\n *\n * This code is responsible for detecting active table for databases\n *\n * Copyright (C) 2013, PostgreSQL Global Development Group\n *\n *\n * ---------------------------------------------------...
1,879
8
{"language": "c", "success": true, "metadata": {"lines": 282, "avg_line_length": 32.46, "nodes": 1119, "errors": 0, "source_hash": "8ac584f42080d5d55b6d02ef0894a01d0bac47166d66044bfe86d4a1d55225e8", "categorized_nodes": 832}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#i...
1,237
c
#include <MMU.h> #include <Buses.h> #include <Processor.h> #include <string.h> // The base register int registerBase_MMU; // The limit register int registerLimit_MMU; // The MAR register int registerMAR_MMU; // Logical address is in registerMAR_MMU. If correct, physical address is produced // by adding logical addre...
32.5
44
(translation_unit) "#include <MMU.h>\n#include <Buses.h>\n#include <Processor.h>\n#include <string.h>\n\n// The base register\nint registerBase_MMU;\n// The limit register\nint registerLimit_MMU;\n\n// The MAR register\nint registerMAR_MMU;\n\n// Logical address is in registerMAR_MMU. If correct, physical address is pr...
186
0
{"language": "c", "success": true, "metadata": {"lines": 44, "avg_line_length": 32.5, "nodes": 99, "errors": 0, "source_hash": "284d7e21cd532f47461f4efb136c13bb0bb6f421b554ebad7815a12b0035598e", "categorized_nodes": 76}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#includ...
1,238
c
/* * Copyright 2021 Hewlett Packard Enterprise Development LP * Other additional copyright holders may be indicated within. * * The entirety of this work is 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 c...
31.75
53
(translation_unit) "/*\n * Copyright 2021 Hewlett Packard Enterprise Development LP\n * Other additional copyright holders may be indicated within.\n *\n * The entirety of this work is licensed under the Apache License,\n * Version 2.0 (the "License"); you may not use this file except\n * in compliance with the License...
208
10
{"language": "c", "success": true, "metadata": {"lines": 53, "avg_line_length": 31.75, "nodes": 120, "errors": 0, "source_hash": "bf4d5fcf21bdf31bdccbaacbc9a5defb0d58c50d2d5d4330b29bb5ece66f8f2c", "categorized_nodes": 84}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
1,239
c
// // UMDnsResourceRecordNULL.h // ulibdns // // Created by <NAME> on 31/08/15. // Copyright © 2017 <NAME> (<EMAIL>). All rights reserved. // #import "UMDnsResourceRecord.h" @interface UMDnsResourceRecordNULL : UMDnsResourceRecord { NSData *data; } @property(readwrite,strong) NSData *data; - (UMDnsResourceR...
26.81
16
(translation_unit) "//\n// UMDnsResourceRecordNULL.h\n// ulibdns\n//\n// Created by <NAME> on 31/08/15.\n// Copyright © 2017 <NAME> (<EMAIL>). All rights reserved.\n//\n\n#import "UMDnsResourceRecord.h"\n\n@interface UMDnsResourceRecordNULL : UMDnsResourceRecord\n{\n NSData *data;\n}\n\n@property(readwrite,stron...
101
14
{"language": "c", "success": true, "metadata": {"lines": 16, "avg_line_length": 26.81, "nodes": 57, "errors": 0, "source_hash": "54f4682b4b8aea458f97d83c86908edab2376143f3beae5672f7d1a507b56cea", "categorized_nodes": 33}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import \"...
1,240
c
/* * Copyright (c) 2016 Open-RnD Sp. z o.o. * Copyright (c) 2021 Linaro Limited * Copyright (c) 2021 Nordic Semiconductor ASA * * SPDX-License-Identifier: Apache-2.0 */ #include <drivers/clock_control/stm32_clock_control.h> #include <drivers/pinctrl.h> #include <gpio/gpio_stm32.h> #include <stm32_ll_bus.h> #inc...
31.54
179
(translation_unit) "/*\n * Copyright (c) 2016 Open-RnD Sp. z o.o.\n * Copyright (c) 2021 Linaro Limited\n * Copyright (c) 2021 Nordic Semiconductor ASA\n *\n * SPDX-License-Identifier: Apache-2.0\n */\n\n#include <drivers/clock_control/stm32_clock_control.h>\n#include <drivers/pinctrl.h>\n#include <gpio/gpio_stm32.h>\n...
1,254
0
{"language": "c", "success": true, "metadata": {"lines": 179, "avg_line_length": 31.54, "nodes": 772, "errors": 0, "source_hash": "0f6178bf9b8df5f7f2109422088a0de4fb78750aa97b31ad01307edd3203dfb0", "categorized_nodes": 556}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
1,241
c
#ifndef __JDK_SYSTEMSETTINGS_MACOSX_H #define __JDK_SYSTEMSETTINGS_MACOSX_H #if JDK_IS_MACOSX #include <SystemConfiguration/SystemConfiguration.h> struct macosx_http_proxy_config_t { macosx_http_proxy_config_t() { proxies = (NSDictionary *)SCDynamicStoreCopyProxies(NULL); HTTPEnabled = [[proxies obje...
29.71
21
(translation_unit) "#ifndef __JDK_SYSTEMSETTINGS_MACOSX_H\n#define __JDK_SYSTEMSETTINGS_MACOSX_H\n\n#if JDK_IS_MACOSX\n#include <SystemConfiguration/SystemConfiguration.h>\n\nstruct macosx_http_proxy_config_t\n{\n macosx_http_proxy_config_t()\n {\n proxies = (NSDictionary *)SCDynamicStoreCopyProxies(NULL);\n \n...
137
9
{"language": "c", "success": true, "metadata": {"lines": 21, "avg_line_length": 29.71, "nodes": 95, "errors": 0, "source_hash": "dbcfdf479648f2799ece9681192f9a5b25b48ef7c37d57fb3235b2d349e3a3c4", "categorized_nodes": 61}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
1,242
c
/* Generated by RuntimeBrowser Image: /System/Library/PrivateFrameworks/GeoServices.framework/GeoServices */ @interface GEOPDVenueContainer : PBCodable <NSCopying> { int _browseType; struct { unsigned long long *list; unsigned long long count; unsigned long long size; } _b...
32.7
67
(translation_unit) "/* Generated by RuntimeBrowser\n Image: /System/Library/PrivateFrameworks/GeoServices.framework/GeoServices\n */\n\n@interface GEOPDVenueContainer : PBCodable <NSCopying> {\n int _browseType;\n struct { \n unsigned long long *list; \n unsigned long long count; \n unsign...
809
56
{"language": "c", "success": true, "metadata": {"lines": 67, "avg_line_length": 32.7, "nodes": 531, "errors": 0, "source_hash": "0e99b5d7925c9556f5dd1929ab5a03a1b00cbf910629b8db27b242129db84ca2", "categorized_nodes": 287}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "@", "parent": n...
1,243
c
#import <Foundation/Foundation.h> #import "JOYButton.h" typedef enum { JOYAxisUsageNone, JOYAxisUsageL1, JOYAxisUsageL2, JOYAxisUsageL3, JOYAxisUsageR1, JOYAxisUsageR2, JOYAxisUsageR3, JOYAxisUsageSlider, JOYAxisUsageDial, JOYAxisUsageWheel, JOYAxisUsageRudder, ...
21.19
32
(translation_unit) "#import <Foundation/Foundation.h>\n#import "JOYButton.h"\n\ntypedef enum {\n JOYAxisUsageNone,\n JOYAxisUsageL1,\n JOYAxisUsageL2,\n JOYAxisUsageL3,\n JOYAxisUsageR1,\n JOYAxisUsageR2,\n JOYAxisUsageR3,\n \n JOYAxisUsageSlider,\n JOYAxisUsageDial,\n JOYAxisUsageWheel...
151
10
{"language": "c", "success": true, "metadata": {"lines": 32, "avg_line_length": 21.19, "nodes": 101, "errors": 0, "source_hash": "14bc30758edb3111b797d88900e1ad511ed08cfdc63adf7b14b76d3179d28e83", "categorized_nodes": 69}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import ...
1,244
c
//===- BNFParser.h ---------------------------------------------*- C++ --*-===// // Copyright 2014 Google // // 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/l...
31.43
87
(translation_unit) "//===- BNFParser.h ---------------------------------------------*- C++ --*-===//\n// Copyright 2014 Google\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//...
374
9
{"language": "c", "success": true, "metadata": {"lines": 87, "avg_line_length": 31.43, "nodes": 211, "errors": 0, "source_hash": "501fb15bb955271c0df71217169e9a1ca8cd57242e92c3c83cd44970e5ecd49e", "categorized_nodes": 154}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
1,245
c
#ifndef SETTINGSFAQ02_H #define SETTINGSFAQ02_H #include <QWidget> namespace Ui { class SettingsFaq02; } class SettingsFaq02 : public QWidget { Q_OBJECT public: explicit SettingsFaq02(QWidget *parent = nullptr); ~SettingsFaq02(); private: Ui::SettingsFaq02 *ui; }; #endif // SETTINGSFAQ02_H
18.19
16
(translation_unit) "#ifndef SETTINGSFAQ02_H\n#define SETTINGSFAQ02_H\n\n#include <QWidget>\n\nnamespace Ui {\nclass SettingsFaq02;\n}\n\nclass SettingsFaq02 : public QWidget\n{\n Q_OBJECT\n\npublic:\n explicit SettingsFaq02(QWidget *parent = nullptr);\n ~SettingsFaq02();\n\nprivate:\n Ui::SettingsFaq02 *ui;...
80
4
{"language": "c", "success": true, "metadata": {"lines": 16, "avg_line_length": 18.19, "nodes": 48, "errors": 0, "source_hash": "323e89b729dcaf54534ad6544ef01a5b2e0a6ca7faf410df7a3f1e54501cc9d6", "categorized_nodes": 31}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
1,246
c
#ifndef PLACEABLEGAMEOBJECT_H #define PLACEABLEGAMEOBJECT_H #include "gameobject.h" namespace Course { class TileBase; /** * @brief The PlaceableGameObject class represents GameObjects that can be * placed on Tile Objects. * * Handles placement on a Tile and throws exception if the placement would * violate P...
33.46
85
(translation_unit) "#ifndef PLACEABLEGAMEOBJECT_H\n#define PLACEABLEGAMEOBJECT_H\n\n#include "gameobject.h"\n\n\nnamespace Course {\n\nclass TileBase;\n\n/**\n * @brief The PlaceableGameObject class represents GameObjects that can be\n * placed on Tile Objects.\n *\n * Handles placement on a Tile and throws exception i...
249
15
{"language": "c", "success": true, "metadata": {"lines": 85, "avg_line_length": 33.46, "nodes": 139, "errors": 0, "source_hash": "8d0a29e865a5a9b28e5c842f4c3138342e1b974a56442f8e96074aeb75091804", "categorized_nodes": 91}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
1,247
c
/* * $Id: redboot.c,v 1.6 2001/10/25 09:16:06 dwmw2 Exp $ * * Parse RedBoot-style Flash Image System (FIS) tables and * produce a Linux partition array to match. */ #include <linux/kernel.h> #include <linux/slab.h> #include <linux/mtd/mtd.h> #include <linux/mtd/partitions.h> struct fis_image_desc { unsigned...
28.26
138
(translation_unit) "/*\n * $Id: redboot.c,v 1.6 2001/10/25 09:16:06 dwmw2 Exp $\n *\n * Parse RedBoot-style Flash Image System (FIS) tables and\n * produce a Linux partition array to match.\n */\n\n#include <linux/kernel.h>\n#include <linux/slab.h>\n\n#include <linux/mtd/mtd.h>\n#include <linux/mtd/partitions.h>\n\nstr...
1,321
0
{"language": "c", "success": true, "metadata": {"lines": 138, "avg_line_length": 28.26, "nodes": 847, "errors": 0, "source_hash": "9f4d24cc89765f35f99bfd6aa996785d8b3eb497ed671e385bbdbe0b1c8878a7", "categorized_nodes": 637}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
1,248
c
/* Paging handler. */ #include <type.h> #include <io.h> #include <mem.h> #include <link.h> #include <kprint.h> struct int_frame { u32 eip; u32 cs; u32 eflags; }; /* There should be non-bitfield implementation*/ struct pde { u32 present:1; u32 write:1; u32 user:1; u32 write_through:1; u32 nocache:1; u32 acces...
19.55
166
(translation_unit) "/* Paging handler. */\n#include <type.h>\n#include <io.h>\n#include <mem.h>\n#include <link.h>\n#include <kprint.h>\nstruct int_frame {\n u32 eip;\n u32 cs;\n u32 eflags;\n};\n\n/* There should be non-bitfield implementation*/\n\nstruct pde {\n u32 present:1;\n u32 write:1;\n u32 user:1;\n u32 write...
1,397
1
{"language": "c", "success": true, "metadata": {"lines": 166, "avg_line_length": 19.55, "nodes": 832, "errors": 0, "source_hash": "ee3b0402ce80c04afd9142a29aaaaf3a919071416682af929db68486f5492941", "categorized_nodes": 639}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
1,249
c
// Veuillez reporter tout commentaire a <EMAIL> // Version 1 #ifndef TORTUE_H #define TORTUE_H #include <stdbool.h> typedef struct Tortue { double x; double y; double orientation; bool trace; } Tortue; // Place la tortue en (0; 0), orientée à 0 radian et stylo levé void initialiseTortue(Tortue *tortue); // Bais...
32.68
22
(translation_unit) "// Veuillez reporter tout commentaire a <EMAIL>\n// Version 1\n\n#ifndef TORTUE_H\n#define TORTUE_H\n\n#include <stdbool.h>\n\ntypedef struct Tortue\n{\n double x;\n double y;\n double orientation;\n bool trace;\n} Tortue;\n\n// Place la tortue en (0; 0), orientée à 0 radian et stylo levé\nvoid init...
136
0
{"language": "c", "success": true, "metadata": {"lines": 22, "avg_line_length": 32.68, "nodes": 98, "errors": 0, "source_hash": "bedf229deea3353e0eea7b18966438509d91ccc973e9c92c09f4e40b0208fc8e", "categorized_nodes": 64}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
1,250
c
/* * All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or * its licensors. * * For complete copyright and license terms please see the LICENSE at the root of this * distribution (the "License"). All use of this software is governed by the License, * or, if provided, by the license below or t...
35.77
192
(translation_unit) "/*\n* All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or\n* its licensors.\n*\n* For complete copyright and license terms please see the LICENSE at the root of this\n* distribution (the "License"). All use of this software is governed by the License,\n* or, if provided,...
1,428
55
{"language": "c", "success": true, "metadata": {"lines": 192, "avg_line_length": 35.77, "nodes": 838, "errors": 0, "source_hash": "03f14c734bce57a9e943e367efde257514b89d10d3799a9171bbc79f7d68db08", "categorized_nodes": 597}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
1,251
c
// MaiBo - BlockOut3000 // Copyright(c) 2015 <NAME> // // Distributed under the MIT Software License // See accompanying file LICENSE.txt or copy at // http://opensource.org/licenses/MIT // // BlockOut 3000 precompiled header #include <maibo/Dependencies.h> #include <maibo/Common/memory.h>
28.1
10
(translation_unit) "// MaiBo - BlockOut3000\n// Copyright(c) 2015 <NAME>\n//\n// Distributed under the MIT Software License\n// See accompanying file LICENSE.txt or copy at\n// http://opensource.org/licenses/MIT\n//\n\n// BlockOut 3000 precompiled header\n\n#include <maibo/Dependencies.h>\n#include <maibo/Common/memory...
15
0
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 28.1, "nodes": 6, "errors": 0, "source_hash": "071c585b8d0da965e3c5bac6c0593753aa3444a88967780385afb0a5d49ecd84", "categorized_nodes": 6}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#include ...
1,252
c
/****************************************************************************** * * This file is part of Log4Qt library. * * Copyright (C) 2007 - 2020 Log4Qt contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You ...
32.38
73
(translation_unit) "/******************************************************************************\n *\n * This file is part of Log4Qt library.\n *\n * Copyright (C) 2007 - 2020 Log4Qt contributors\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in complianc...
205
15
{"language": "c", "success": true, "metadata": {"lines": 73, "avg_line_length": 32.38, "nodes": 122, "errors": 0, "source_hash": "b42851a0a68a0424f3e094330e11b9b1fca87269663f11701abafa26fe751ed2", "categorized_nodes": 86}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "#ifndef LOG4QT_...
1,253
c
/* * $Id: acconfig.h,v 1.5 1998/01/14 13:16:44 lf Exp $ * * Copyright (C) 1996,1997 <NAME> * * See the file COPYRIGHT for the respective terms and conditions. * If the file is missing contact me at <EMAIL> * and I'll send you a copy. * */ @TOP@ /* does /dev/urandom exist ? */ #undef HAVE_DEV_URANDOM /* sh...
25.07
27
(translation_unit) "/*\n * $Id: acconfig.h,v 1.5 1998/01/14 13:16:44 lf Exp $\n *\n * Copyright (C) 1996,1997 <NAME>\n *\n * See the file COPYRIGHT for the respective terms and conditions. \n * If the file is missing contact me at <EMAIL> \n * and I'll send you a copy.\n *\n */\n\n@TOP@\n\n/* does /dev/urandom exist ? ...
38
3
{"language": "c", "success": true, "metadata": {"lines": 27, "avg_line_length": 25.07, "nodes": 28, "errors": 0, "source_hash": "f684f82844f649c158a98331b1f235a4260c27efd1f530041637de7e83ff3c44", "categorized_nodes": 9}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "@TOP@", "parent":...
1,254
c
// Copyright (c) 2021, Myriota Pty Ltd, All Rights Reserved // SPDX-License-Identifier: BSD-3-Clause-Attribution // // This file is licensed under the BSD with attribution (the "License"); you // may not use these files except in compliance with the License. // // You may obtain a copy of the License here: // LICENSE-...
33.44
85
(translation_unit) "// Copyright (c) 2021, Myriota Pty Ltd, All Rights Reserved\n// SPDX-License-Identifier: BSD-3-Clause-Attribution\n//\n// This file is licensed under the BSD with attribution (the "License"); you\n// may not use these files except in compliance with the License.\n//\n// You may obtain a copy of the...
551
0
{"language": "c", "success": true, "metadata": {"lines": 85, "avg_line_length": 33.44, "nodes": 294, "errors": 0, "source_hash": "d029a444fd9074cd970989f57704a407d0a825628a0f17c2d670bfde0ac9d783", "categorized_nodes": 202}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
1,255
c
/*========================================================================= Library: iMSTK Copyright (c) Kitware, Inc. & Center for Modeling, Simulation, & Imaging in Medicine, Rensselaer Polytechnic Institute. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file e...
30.93
92
(translation_unit) "/*=========================================================================\n\n Library: iMSTK\n\n Copyright (c) Kitware, Inc. & Center for Modeling, Simulation,\n & Imaging in Medicine, Rensselaer Polytechnic Institute.\n\n Licensed under the Apache License, Version 2.0 (the "License");\n ...
396
24
{"language": "c", "success": true, "metadata": {"lines": 92, "avg_line_length": 30.93, "nodes": 223, "errors": 0, "source_hash": "b7fc293cc9e4c874699b0e41cc96b385050777c6942c1bf0d25ea6879abf1641", "categorized_nodes": 155}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
1,256
c
#ifdef PROTOTYPE unsigned float_twice(unsigned); unsigned test_float_twice(unsigned); #endif #ifdef DECL {"float_twice", (funct_t) float_twice, (funct_t) test_float_twice, 1, "$", 30, 4, {{1, 1},{1,1},{1,1}}}, #endif #ifdef CODE /* * float_twice - Return bit-level equivalent of expression 2*f for * float...
23.95
59
(translation_unit) "#ifdef PROTOTYPE\nunsigned float_twice(unsigned);\nunsigned test_float_twice(unsigned);\n#endif\n#ifdef DECL\n {"float_twice", (funct_t) float_twice, (funct_t) test_float_twice, 1,\n "$", 30, 4,\n {{1, 1},{1,1},{1,1}}},\n#endif\n#ifdef CODE\n/* \n * float_twice - Return bit-level equivalent o...
347
9
{"language": "c", "success": true, "metadata": {"lines": 59, "avg_line_length": 23.95, "nodes": 218, "errors": 0, "source_hash": "114d4873ea9932afc0662e94582c0adeb924b11569d72c2e504320138ca8a99f", "categorized_nodes": 165}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifdef...
1,257
c
version https://git-lfs.github.com/spec/v1 oid sha256:175e6db669ede15329b34cc66f08f458ce2d88f05e3895fbeb94484e7c467e5a size 4205
42
3
(translation_unit) "version https://git-lfs.github.com/spec/v1\noid sha256:175e6db669ede15329b34cc66f08f458ce2d88f05e3895fbeb94484e7c467e5a\nsize 4205\n" (declaration) "version https://git-lfs.github.com/spec/v1\noid" (type_identifier) "version" (ERROR) "https:" (identifier) "https" (:) ":" (c...
15
2
{"language": "c", "success": true, "metadata": {"lines": 3, "avg_line_length": 42.0, "nodes": 10, "errors": 0, "source_hash": "86063cecc956620ae832f3ef6cdc8043d91cda5242ab23136c22ac20543fe969", "categorized_nodes": 8}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "declaration", "text": "version https...
1,258
c
#ifndef CHARRANGE_H #define CHARRANGE_H #include <string> #include <string.h> #include "uncopyable.h" struct CharRange { CharRange() : begin( 0 ), end( 0 ) {} CharRange( const char *begin, const char *end ) : begin( begin ), end( end ) {} CharRange( const char *begin ) : begin( begin ), end( begin + str...
26.56
63
(translation_unit) "#ifndef CHARRANGE_H \n#define CHARRANGE_H \n \n#include <string> \n#include <string.h> \n#include "uncopyable.h" \n \nstruct CharRange \n{ \n CharRange() : begin( 0 ), end( 0 ) {} \n CharRange( const char *begin, const char *end ) : begin( begin ), end( end ) {} \n CharRange( const char *begin ) : b...
627
33
{"language": "c", "success": true, "metadata": {"lines": 63, "avg_line_length": 26.56, "nodes": 322, "errors": 0, "source_hash": "6bb7b780328e730bbd22f987582837dd274584c948aeb1993be0f39d96b80ccc", "categorized_nodes": 201}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
1,259
c
#ifndef __GAME_OBJECT_H__ #define __GAME_OBJECT_H__ #include "MathGeoLib/include/MathGeoLib.h" #include <vector> #include <map> #include <string> typedef unsigned int uint; class Component; class C_Transform; class C_Mesh; enum class COMPONENT_TYPE; class GameObject { public: GameObject(); GameObject(uint id, s...
34.1
61
(translation_unit) "#ifndef __GAME_OBJECT_H__\n#define __GAME_OBJECT_H__\n\n#include "MathGeoLib/include/MathGeoLib.h"\n\n#include <vector>\n#include <map>\n#include <string>\n\ntypedef unsigned int uint;\n\nclass Component;\nclass C_Transform;\nclass C_Mesh;\n\nenum class COMPONENT_TYPE;\n\nclass GameObject\n{\npublic...
485
15
{"language": "c", "success": true, "metadata": {"lines": 61, "avg_line_length": 34.1, "nodes": 311, "errors": 0, "source_hash": "4c6729f861b88b161a5ca0c2a4309a5fc8802c69edbd37fef54d2420d193c9b0", "categorized_nodes": 196}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
1,260
c
// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (c) 2020, <NAME> <<EMAIL>> * * Logging function tests for CONFIG_LOG_SYSLOG=y. * * Invoke the test with: ./u-boot -d arch/sandbox/dts/test.dtb */ /* Override CONFIG_LOG_MAX_LEVEL */ #define LOG_DEBUG #include <common.h> #include <asm/global_data.h> #include <d...
30.69
213
(translation_unit) "// SPDX-License-Identifier: GPL-2.0+\n/*\n * Copyright (c) 2020, <NAME> <<EMAIL>>\n *\n * Logging function tests for CONFIG_LOG_SYSLOG=y.\n *\n * Invoke the test with: ./u-boot -d arch/sandbox/dts/test.dtb\n */\n\n/* Override CONFIG_LOG_MAX_LEVEL */\n#define LOG_DEBUG\n\n#include <common.h>\n#includ...
1,595
0
{"language": "c", "success": true, "metadata": {"lines": 213, "avg_line_length": 30.69, "nodes": 905, "errors": 0, "source_hash": "a4e7c5d6c8ed19055c4ec2446547ac51bd848ab32192eefa2c167391c72c7280", "categorized_nodes": 679}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_def", "text": "#define...
1,261
c
// // Copyright 2018 Staysail Systems, Inc. <<EMAIL>> // Copyright 2018 Capitar IT Group BV <<EMAIL>> // // This software is supplied under the terms of the MIT License, a // copy of which should be located in the distribution where this // file was obtained (LICENSE.txt). A copy of the license may also be // found on...
26.16
158
(translation_unit) "//\n// Copyright 2018 Staysail Systems, Inc. <<EMAIL>>\n// Copyright 2018 Capitar IT Group BV <<EMAIL>>\n//\n// This software is supplied under the terms of the MIT License, a\n// copy of which should be located in the distribution where this\n// file was obtained (LICENSE.txt). A copy of the licen...
1,656
0
{"language": "c", "success": true, "metadata": {"lines": 158, "avg_line_length": 26.16, "nodes": 896, "errors": 0, "source_hash": "be91167d1ef27f9b3f267e623d911cf8e38a4380d06cec113e43b29247a4781f", "categorized_nodes": 623}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
1,262
c
/* chkmcv.f -- translated by f2c (version of 22 July 1992 22:54:52). You must link the resulting object file with the libraries: -lF77 -lI77 -lm -lc (in that order) */ #include "f2c.h" /* Table of constant values */ #ifndef NO_PROTO static real c_b2 = 0.f; static real c_b5 = 2.f; #else /* NO_PROTO */ static r...
34.02
45
(translation_unit) "/* chkmcv.f -- translated by f2c (version of 22 July 1992 22:54:52).\n You must link the resulting object file with the libraries:\n -lF77 -lI77 -lm -lc (in that order)\n*/\n\n#include "f2c.h"\n\n/* Table of constant values */\n\n#ifndef NO_PROTO\nstatic real c_b2 = 0.f;\nstatic real c_b5 = 2.f...
278
1
{"language": "c", "success": true, "metadata": {"lines": 45, "avg_line_length": 34.02, "nodes": 178, "errors": 0, "source_hash": "d95bc776e2f55f4736c744305577790856de952bbcf554b7975a464aa1cd9385", "categorized_nodes": 117}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
1,263
c
#ifndef UTAHA_UI_PIC_GRID_SELECTOR_H_ #define UTAHA_UI_PIC_GRID_SELECTOR_H_ #include "ui-component.h" #include <tuple> namespace utaha { class UIPicGridSelector : public UIComponent { public: UIPicGridSelector(); virtual ~UIPicGridSelector(); virtual int OnEvent(SDL_Event *event, bool *is_break) override...
34.97
66
(translation_unit) "#ifndef UTAHA_UI_PIC_GRID_SELECTOR_H_\n#define UTAHA_UI_PIC_GRID_SELECTOR_H_\n\n#include "ui-component.h"\n#include <tuple>\n\nnamespace utaha {\n\nclass UIPicGridSelector : public UIComponent {\npublic:\n UIPicGridSelector();\n virtual ~UIPicGridSelector();\n virtual int OnEvent(SDL_Event ...
667
10
{"language": "c", "success": true, "metadata": {"lines": 66, "avg_line_length": 34.97, "nodes": 434, "errors": 0, "source_hash": "73f442d21f1840fefb8e7c2f430ed886ef3ef24f2eea631f48511147a2ae3701", "categorized_nodes": 277}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
1,264
c
// // TextCell.h // CollectionViewTest // // Created by huangchengdu on 16/1/7. // Copyright © 2016年 李翰阳. All rights reserved. // #import <UIKit/UIKit.h> @interface TextCell : UICollectionViewCell @property(nonatomic,strong)UILabel *title; @end
21.64
11
(translation_unit) "//\n// TextCell.h\n// CollectionViewTest\n//\n// Created by huangchengdu on 16/1/7.\n// Copyright © 2016年 李翰阳. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface TextCell : UICollectionViewCell\n@property(nonatomic,strong)UILabel *title;\n@end\n" (comment) "//" (comment) "// ...
36
6
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 21.64, "nodes": 21, "errors": 0, "source_hash": "0ae624d9ce15b007297a57f84b5e2563e80aa958de593208118a91baedf84fbb", "categorized_nodes": 12}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "UIKit/UIK...
1,265
c
/* * machine dependicies * * %G% (Berkeley) %W% */ /* * where scorefile should live */ #define SCOREFILE "/var/games/rogueroll" /* * Variables for checking to make sure the system isn't too loaded * for people to play */ /* #define MAXUSERS 8 /* max number of users for this game */ //#undef MAXLOAD 40 /* 10...
27.68
38
(translation_unit) "/*\n * machine dependicies\n *\n * %G% (Berkeley) %W%\n */\n/*\n * where scorefile should live\n */\n#define SCOREFILE "/var/games/rogueroll"\n\n/*\n * Variables for checking to make sure the system isn't too loaded\n * for people to play\n */\n\n/* #define MAXUSERS 8 /* max number of users for this...
63
0
{"language": "c", "success": true, "metadata": {"lines": 38, "avg_line_length": 27.68, "nodes": 49, "errors": 0, "source_hash": "a6ecc768e9437ef71bf0c33718ec38218f37325edc0af2a69ba2826644283e32", "categorized_nodes": 29}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_def", "text": "#define SC...
1,266
c
/* automatically generated by pepy 7.0 #14 (nan<EMAIL>.mcc.com), do not edit! */ #include "psap.h" #define advise ryr_advise void advise (); /* Generated from module PasswordLookup */ #include <stdio.h> #include "PasswordLookup-types.h" #ifndef PEPYPARM #define PEPYPARM char * #endif /* PEPYPARM */ extern PEPYPAR...
30.24
180
(translation_unit) "/* automatically generated by pepy 7.0 #14 (nan<EMAIL>.mcc.com), do not edit! */\n\n#include "psap.h"\n\n#define advise ryr_advise\n\nvoid advise ();\n\n/* Generated from module PasswordLookup */\n\n#include <stdio.h>\n#include "PasswordLookup-types.h"\n\n#ifndef PEPYPARM\n#define PEPYPARM char *\n#...
1,876
0
{"language": "c", "success": true, "metadata": {"lines": 180, "avg_line_length": 30.24, "nodes": 1071, "errors": 0, "source_hash": "abfa47c61214f9980d0c3d4a5a922ce97474b50a8e85dab733bedf39b0c7bc01", "categorized_nodes": 824}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#i...
1,267
c
#pragma once #include <wx/wx.h> #include <wx/sizer.h> #include <wx/dc.h> #include <wx/dcbuffer.h> #include <vector> #include "DrawLine.h" class PolygonShape { private: public: wxPointList* points; int size; PolygonShape(); PolygonShape(wxPointList &points, int number); PolygonShape(std::vector<DrawLine> lines);...
19.35
20
(translation_unit) "#pragma once\n#include <wx/wx.h>\n#include <wx/sizer.h>\n#include <wx/dc.h>\n#include <wx/dcbuffer.h>\n#include <vector>\n#include "DrawLine.h"\n\nclass PolygonShape\n{\nprivate:\n\npublic:\n wxPointList* points;\n int size;\n\n PolygonShape();\n PolygonShape(wxPointList &points, int number);\n Poly...
125
4
{"language": "c", "success": true, "metadata": {"lines": 20, "avg_line_length": 19.35, "nodes": 80, "errors": 0, "source_hash": "c40dd58b881e6f2d0225be7ae7c99ce4b60367fb84dd2a873a73c3127acfcf80", "categorized_nodes": 57}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
1,268
c
#if _MSC_VER >= 1000 #pragma once #endif // _MSC_VER >= 1000 // peap.h : header file // #include "chap.h" typedef struct _PEAP_PROPERTIES { DWORD dwPEAPAuthType; DWORD dwValidateServerCert; DWORD dwPEAPTLSValidateServerCertificate; DWORD dwPEAPTLSCertificateType; DWORD dwAutoLogin; }...
24.1
71
(translation_unit) "#if _MSC_VER >= 1000 \n#pragma once \n#endif // _MSC_VER >= 1000 \n// peap.h : header file \n// \n \n#include "chap.h" \n \ntypedef struct _PEAP_PROPERTIES { \n DWORD dwPEAPAuthType; \n DWORD dwValidateServerCert; \n DWORD dwPEAPTLSValidateServerCertificate; \n DWORD dwPEAPTLSCertificate...
263
11
{"language": "c", "success": true, "metadata": {"lines": 71, "avg_line_length": 24.1, "nodes": 167, "errors": 0, "source_hash": "d9c6eb4d295fa6c48080888aa5ba3d4e661ff54799128990722347de881f41c4", "categorized_nodes": 123}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_if", "text": "#if _MSC_V...
1,269
c
/* * vim:ts=4:sw=4:expandtab * * i3 - an improved dynamic tiling window manager * * © 2009-2011 <NAME> and contributors * * See file LICENSE for license information. * */ #ifndef _XCB_H #define _XCB_H #include "data.h" #include "xcursor.h" #define _NET_WM_STATE_REMOVE 0 #define _NET_WM_STATE_ADD 1 #...
38.27
132
(translation_unit) "/*\n * vim:ts=4:sw=4:expandtab\n *\n * i3 - an improved dynamic tiling window manager\n *\n * © 2009-2011 <NAME> and contributors\n *\n * See file LICENSE for license information.\n *\n */\n#ifndef _XCB_H\n#define _XCB_H\n\n#include "data.h"\n#include "xcursor.h"\n\n#define _NET_WM_STATE_REMOVE 0...
458
1
{"language": "c", "success": true, "metadata": {"lines": 132, "avg_line_length": 38.27, "nodes": 331, "errors": 0, "source_hash": "15516c5dce5eb8d0b27446544781acb3b1641e005217511c8726e9873b205cc9", "categorized_nodes": 209}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "ifnde...
1,270
c
#ifndef __SOUND_CS5535AUDIO_H #define __SOUND_CS5535AUDIO_H #define cs_writel(cs5535au, reg, val) outl(val, (cs5535au)->port + reg) #define cs_writeb(cs5535au, reg, val) outb(val, (cs5535au)->port + reg) #define cs_readl(cs5535au, reg) inl((cs5535au)->port + reg) #define cs_readw(cs5535au, reg) inw((cs5535au)->port ...
30.78
119
(translation_unit) "#ifndef __SOUND_CS5535AUDIO_H\n#define __SOUND_CS5535AUDIO_H\n\n#define cs_writel(cs5535au, reg, val) outl(val, (cs5535au)->port + reg)\n#define cs_writeb(cs5535au, reg, val) outb(val, (cs5535au)->port + reg)\n#define cs_readl(cs5535au, reg) inl((cs5535au)->port + reg)\n#define cs_readw(cs5535au, r...
686
1
{"language": "c", "success": true, "metadata": {"lines": 119, "avg_line_length": 30.78, "nodes": 571, "errors": 0, "source_hash": "a31d2f05efae7cb717abe92f1be56df7cbae04ba578e9905ae8da751822de2f2", "categorized_nodes": 280}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
1,271
c
#ifndef __NDM_MEMCHK__ #define __NDM_MEMCHK__ #include <stdlib.h> #include <string.h> #if !defined NDEBUG && defined _MEMORY_LEAK_DEBUG #ifdef __cplusplus extern "C" { #endif void *__debug_malloc__( const size_t size, const char *const file, const unsigned long line, const int array); void *__debug_calloc_...
25.47
43
(translation_unit) "#ifndef __NDM_MEMCHK__\n#define __NDM_MEMCHK__\n\n#include <stdlib.h>\n#include <string.h>\n\n#if !defined NDEBUG && defined _MEMORY_LEAK_DEBUG\n\n#ifdef __cplusplus\nextern "C" {\n#endif\n\nvoid *__debug_malloc__(\n const size_t size,\n const char *const file,\n const unsigned long line,\n cons...
283
0
{"language": "c", "success": true, "metadata": {"lines": 43, "avg_line_length": 25.47, "nodes": 189, "errors": 0, "source_hash": "d3bc92124b0d84d69c0b3c85f56284268ff266c3a17bb1981365cd5c325c5be9", "categorized_nodes": 104}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
1,272
c
// // VgxLog.h // Vgx // // Created by Jason on 2021/6/23. // #ifndef VgxLog_h #define VgxLog_h #define CG_LOG_ALL 1 #define CG_LOG_VERBOSE 2 #define CG_LOG_DEBUG 3 #define CG_LOG_INFO 4 #define CG_LOG_WARN 5 #define CG_LOG_ERROR 6 #define CG_LOG_FATAL 7 extern int CG_LOG_LEVEL; namespace vgx { ...
30.8
117
(translation_unit) "//\n// VgxLog.h\n// Vgx\n//\n// Created by Jason on 2021/6/23.\n//\n\n#ifndef VgxLog_h\n#define VgxLog_h\n\n#define CG_LOG_ALL 1\n#define CG_LOG_VERBOSE 2\n#define CG_LOG_DEBUG 3\n#define CG_LOG_INFO 4\n#define CG_LOG_WARN 5\n#define CG_LOG_ERROR 6\n#define CG_LOG_FATAL 7\n\nexter...
591
12
{"language": "c", "success": true, "metadata": {"lines": 117, "avg_line_length": 30.8, "nodes": 417, "errors": 0, "source_hash": "74688ffd49f7b84d099f8010c061284d9afcaae2bbb72200b02fac74354e0c23", "categorized_nodes": 243}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
1,273
c
/************************************************************************* * * Used with ICCARM and AARM. * * (c) Copyright IAR Systems 2006 * * File name : drv_hd44780_l.h * Description : STM32 HD44780 low level I/O function driver * * History : * 1. Date : July 19, 2007 * A...
31.37
41
(translation_unit) "/*************************************************************************\n *\n * Used with ICCARM and AARM.\n *\n * (c) Copyright IAR Systems 2006\n *\n * File name : drv_hd44780_l.h\n * Description : STM32 HD44780 low level I/O function driver\n *\n * History :\n * 1. Date ...
144
0
{"language": "c", "success": true, "metadata": {"lines": 41, "avg_line_length": 31.37, "nodes": 110, "errors": 0, "source_hash": "adb88e43facb6fc64723a13e25274bd8e9eaf04e31608328610b4c366bdbac10", "categorized_nodes": 63}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
1,274
c
#include <stdio.h> #include <fcntl.h> #include <stdlib.h> #include <unistd.h> #include <string.h> #define MAX_LINE 100 int main(int argc, char *argv[]) { char line[MAX_LINE]; int fd = open("/proc/sys/kernel/pid_max", (argc > 1) ? O_RDWR : O_RDONLY); if (fd == -1) { perror("could not open pid_max"); exit(EXIT_F...
25.44
32
(translation_unit) "#include <stdio.h>\n#include <fcntl.h>\n#include <stdlib.h>\n#include <unistd.h>\n#include <string.h>\n\n#define MAX_LINE 100\n\nint main(int argc, char *argv[])\n{\n char line[MAX_LINE];\n int fd = open("/proc/sys/kernel/pid_max", (argc > 1) ? O_RDWR : O_RDONLY);\n if (fd == -1) {\n perror("could ...
305
0
{"language": "c", "success": true, "metadata": {"lines": 32, "avg_line_length": 25.44, "nodes": 168, "errors": 0, "source_hash": "63fe3757e68cb1457dfa08347b2ddb82d751e52b35833fe276a09468e79af668", "categorized_nodes": 122}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
1,275
c
#import <Flutter/Flutter.h> @interface AppTrackingTransparencyPlugin : NSObject<FlutterPlugin> @end
32.33
3
(translation_unit) "#import <Flutter/Flutter.h>\n\n@interface AppTrackingTransparencyPlugin : NSObject<FlutterPlugin>\n@end\n" (preproc_call) "#import <Flutter/Flutter.h>\n" (preproc_directive) "#import" (preproc_arg) "<Flutter/Flutter.h>" (ERROR) "@interface AppTrackingTransparencyPlugin : NSObject<Flutter...
15
3
{"language": "c", "success": true, "metadata": {"lines": 3, "avg_line_length": 32.33, "nodes": 12, "errors": 0, "source_hash": "234d7c1159bcdd8ec5fef72b0b7d173bf88fb6210bb3bd365ed432f91562bd9d", "categorized_nodes": 5}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <Fl...
1,276
c
// SDLRPCRequest.h // #import "SDLRPCMessage.h" NS_ASSUME_NONNULL_BEGIN @interface SDLRPCRequest : SDLRPCMessage /** * A unique id assigned to message sent to Core. The Correlation ID is used to map a request to its response. */ @property (strong, nonatomic) NSNumber<SDLInt> *correlationID; @end NS_ASSUME_NO...
26
12
(translation_unit) "// SDLRPCRequest.h\n//\n\n\n#import "SDLRPCMessage.h"\n\nNS_ASSUME_NONNULL_BEGIN\n\n@interface SDLRPCRequest : SDLRPCMessage\n\n/**\n * A unique id assigned to message sent to Core. The Correlation ID is used to map a request to its response.\n */\n@property (strong, nonatomic) NSNumber<SDLInt> *c...
43
7
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 26.0, "nodes": 32, "errors": 0, "source_hash": "2672c3807d7226eb860aa5f17428d22b2e7a2edef1c08606e2f4e7de06c42da5", "categorized_nodes": 19}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import \"...
1,277
c
/* * Copyright (c) 2016-2020 <NAME> <<EMAIL>> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR ...
28.72
188
(translation_unit) "/*\n * Copyright (c) 2016-2020 <NAME> <<EMAIL>>\n *\n * Permission to use, copy, modify, and distribute this software for any\n * purpose with or without fee is hereby granted, provided that the above\n * copyright notice and this permission notice appear in all copies.\n *\n * THE SOFTWARE IS PROVI...
1,822
86
{"language": "c", "success": true, "metadata": {"lines": 188, "avg_line_length": 28.72, "nodes": 1046, "errors": 0, "source_hash": "d83adeee87cdbf77a998c367ff657c6b8624621553a155e4728f0a4167c4182e", "categorized_nodes": 765}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "function_definition", "text":...
1,278
c
#pragma once #include "Module.h" #include <string> class PropertyMap; #ifndef _WINDEF_ struct HINSTANCE__; // Forward or never typedef HINSTANCE__* HINSTANCE; typedef HINSTANCE HMODULE; #endif enum class Configuration { RELEASE, RELEASE_EDITOR, DEBUG, DEBUG_EDITOR }; class ModuleProject : public Module { publ...
27.88
40
(translation_unit) "#pragma once\n\n#include "Module.h"\n\n#include <string>\n\nclass PropertyMap;\n\n#ifndef _WINDEF_\nstruct HINSTANCE__; // Forward or never\ntypedef HINSTANCE__* HINSTANCE;\ntypedef HINSTANCE HMODULE;\n#endif\n\nenum class Configuration {\n RELEASE,\n RELEASE_EDITOR,\n DEBUG,\n DEBUG_EDITOR\n};\n\nc...
349
12
{"language": "c", "success": true, "metadata": {"lines": 40, "avg_line_length": 27.88, "nodes": 221, "errors": 0, "source_hash": "8b32cbab63f5c3396851118658f6c5b35b56f86464d7b36934047dc544f87686", "categorized_nodes": 130}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
1,279
c
/* SPDX-License-Identifier: BSD-3-Clause * * Copyright(c) 2019 Intel Corporation. All rights reserved. * * Author: <NAME> <<EMAIL>> */ /** * \file platform/cpu.h * \brief DSP core parameters. */ #ifndef __INCLUDE_PLATFORM_CPU__ #define __INCLUDE_PLATFORM_CPU__ #include <cavs/cpu.h> /** \brief Maximum allowe...
22.31
16
(translation_unit) "/* SPDX-License-Identifier: BSD-3-Clause\n *\n * Copyright(c) 2019 Intel Corporation. All rights reserved.\n *\n * Author: <NAME> <<EMAIL>>\n */\n\n/**\n * \file platform/cpu.h\n * \brief DSP core parameters.\n */\n\n#ifndef __INCLUDE_PLATFORM_CPU__\n#define __INCLUDE_PLATFORM_CPU__\n\n#include <cav...
18
0
{"language": "c", "success": true, "metadata": {"lines": 16, "avg_line_length": 22.31, "nodes": 14, "errors": 0, "source_hash": "6d4c90f309cbd7ea51ac67cd572feab5a861361f183304fe2ac0397568fa9bf3", "categorized_nodes": 9}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef _...
1,280
c
/****************************************************************************** * * Copyright (c) 2019, the Perspective Authors. * * This file is part of the Perspective library, distributed under the terms of * the Apache License 2.0. The full license can be found in the LICENSE file. * */ #pragma once #ifdef ...
25.24
34
(translation_unit) "/******************************************************************************\n *\n * Copyright (c) 2019, the Perspective Authors.\n *\n * This file is part of the Perspective library, distributed under the terms of\n * the Apache License 2.0. The full license can be found in the LICENSE file.\n ...
95
10
{"language": "c", "success": true, "metadata": {"lines": 34, "avg_line_length": 25.24, "nodes": 65, "errors": 0, "source_hash": "36c7495c1832ef34c1f8f699dea4730e45657a4f41c65284e5b47ce916912ab3", "categorized_nodes": 49}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
1,281
c
// // mouse.c // KripayaOS // #include <drivers/mouse.h>
10.4
5
(translation_unit) "//\n// mouse.c\n// KripayaOS\n//\n\n#include <drivers/mouse.h>\n" (comment) "//" (comment) "// mouse.c" (comment) "// KripayaOS" (comment) "//" (preproc_include) "#include <drivers/mouse.h>\n" (#include) "#include" (system_lib_string) "<drivers/mouse.h>"
8
0
{"language": "c", "success": true, "metadata": {"lines": 5, "avg_line_length": 10.4, "nodes": 3, "errors": 0, "source_hash": "fbb039c06526aa61cbb1c37f9aa5335d40ebfc8d4b61ef3c64092a24104efb33", "categorized_nodes": 3}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#include <...
1,282
c
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by <NAME>. // @class SBBannerGestureHandler; @protocol SBBannerGestureHandlerDelegate - (void)handler:(SBBannerGestureHandler *)arg1 pulledBannerByDisplacement:(double)arg2; @end
32
9
(translation_unit) "//\n// Generated by class-dump 3.5 (64 bit).\n//\n// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by <NAME>.\n//\n\n@class SBBannerGestureHandler;\n\n@protocol SBBannerGestureHandlerDelegate\n- (void)handler:(SBBannerGestureHandler *)arg1 pulledBannerByDisplacement:(double)arg...
44
8
{"language": "c", "success": true, "metadata": {"lines": 9, "avg_line_length": 32.0, "nodes": 25, "errors": 0, "source_hash": "0065f65731d2af18affd79a488dee3047107d71708620907001d368ec8b7ac49", "categorized_nodes": 13}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "@class SBBannerGes...
1,283
c
// ArdcodeCreator.h - Creates code for arduino #ifndef NEOPIXELCODECONVERTER_h #define NEOPIXELCODECONVERTER_h #include <iostream> #include <fstream> #include <vector> #include <string> #include <LightParameter.h> using namespace std; /** \class NeoPixelCodeConverter * \brief Responsible for creating code for th...
29.53
19
(translation_unit) "// ArdcodeCreator.h - Creates code for arduino\n\n#ifndef NEOPIXELCODECONVERTER_h\n#define NEOPIXELCODECONVERTER_h\n\n#include <iostream>\n#include <fstream>\n#include <vector>\n#include <string>\n#include <LightParameter.h>\n\nusing namespace std;\n\n/** \class NeoPixelCodeConverter\n * \brief Re...
112
5
{"language": "c", "success": true, "metadata": {"lines": 19, "avg_line_length": 29.53, "nodes": 82, "errors": 0, "source_hash": "4c35cc45788a26f62426cd5801d1cdf3a2e58801921a4de40c1b49d6cd290b40", "categorized_nodes": 61}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
1,284
c
/* * InstructionCache.h * * Created on: Apr 14, 2018 * Author: ben */ #ifndef INSTRUCTIONCACHE_INSTRUCTIONCACHE_H_ #define INSTRUCTIONCACHE_INSTRUCTIONCACHE_H_ #include "../word.h" class InstructionCache { public: static const int START_OF_PROGRAM = 0x00; static const int END_OF_PROGRAM = 0xFF; // this...
27.62
26
(translation_unit) "/*\n * InstructionCache.h\n *\n * Created on: Apr 14, 2018\n * Author: ben\n */\n\n#ifndef INSTRUCTIONCACHE_INSTRUCTIONCACHE_H_\n#define INSTRUCTIONCACHE_INSTRUCTIONCACHE_H_\n\n#include "../word.h"\n\nclass InstructionCache {\npublic:\n static const int START_OF_PROGRAM = 0x00;\n static const ...
112
1
{"language": "c", "success": true, "metadata": {"lines": 26, "avg_line_length": 27.62, "nodes": 62, "errors": 0, "source_hash": "9190247ed332b1ac639fc73c8062dd27c1ef0d7003b4e6c9769d71759dd1d573", "categorized_nodes": 41}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
1,285
c
// // PizarroAppDelegate.h // Pizarro // // Created by <NAME> on 2/16/11. // Copyright Corrino Software 2011. All rights reserved. // #import <UIKit/UIKit.h> @class RootViewController; @interface PizarroAppDelegate : NSObject <UIApplicationDelegate> { UIWindow *window; RootViewController *viewController; } @p...
22.59
22
(translation_unit) "//\n// PizarroAppDelegate.h\n// Pizarro\n//\n// Created by <NAME> on 2/16/11.\n// Copyright Corrino Software 2011. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@class RootViewController;\n\n@interface PizarroAppDelegate : NSObject <UIApplicationDelegate>\n{\n UIWindow *window;\n RootVi...
138
12
{"language": "c", "success": true, "metadata": {"lines": 22, "avg_line_length": 22.59, "nodes": 85, "errors": 0, "source_hash": "7a71eecda34f96eb65a2ebe42704ee5d2384b237fd7d65e0943cec91ef7507b1", "categorized_nodes": 43}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <...
1,286
c
#ifndef _COS_IDL_MM_H #define _COS_IDL_MM_H #include "cidl_gen.h" service_global_info = { service = mem_mgr, desc_close_subtree = true, desc_dep_create_diff = true, desc_dep_close_removal = true, desc_global = true, desc_block = false, desc...
28.52
33
(translation_unit) "#ifndef _COS_IDL_MM_H\n#define _COS_IDL_MM_H\n\n#include "cidl_gen.h"\n\nservice_global_info = {\n service = mem_mgr,\n\n desc_close_subtree = true,\n desc_dep_create_diff = true,\n desc_dep_close_removal = true,\n desc_global = true,\n desc_bl...
223
5
{"language": "c", "success": true, "metadata": {"lines": 33, "avg_line_length": 28.52, "nodes": 149, "errors": 0, "source_hash": "878568f2ff0662429e6552be01673f9fc17bfc694ec56c2326df0f4c06836f4d", "categorized_nodes": 109}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
1,287
c
#include <stdio.h> #include <stdlib.h> #include <time.h> #include "funkcje_programu_2.h" int main(void) { time_t t; srand((unsigned) time(&t)); puts("Witaj w grze w kolko i krzyzyk\nWybor miejsca na wstawienie znaku odbywa sie przez podanie 2 liczb.\n" "Pierwsza liczba odpowiada wspolrzednej pionowej(kolu...
28.18
67
(translation_unit) "#include <stdio.h>\n#include <stdlib.h>\n#include <time.h>\n\n#include "funkcje_programu_2.h"\n\nint main(void)\n{\n time_t t;\n srand((unsigned) time(&t));\n puts("Witaj w grze w kolko i krzyzyk\nWybor miejsca na wstawienie znaku odbywa sie przez podanie 2 liczb.\n"\n "Pierwsza liczba odpow...
438
0
{"language": "c", "success": true, "metadata": {"lines": 67, "avg_line_length": 28.18, "nodes": 237, "errors": 0, "source_hash": "db5fd96961b0f3f6b3eb2e5d6244cb2d2354abe7d050b8af23696e28b21aaac3", "categorized_nodes": 170}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
1,288
c
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #ifndef __inDOMView_h__ #define __inDOMView_h__ #include "inIDOMView.h" #include "inIDOMUtils.h" #include "nsITr...
40.63
79
(translation_unit) "/* This Source Code Form is subject to the terms of the Mozilla Public\n * License, v. 2.0. If a copy of the MPL was not distributed with this\n * file, You can obtain one at http://mozilla.org/MPL/2.0/. */\n\n#ifndef __inDOMView_h__\n#define __inDOMView_h__\n\n#include "inIDOMView.h"\n#include "inI...
693
11
{"language": "c", "success": true, "metadata": {"lines": 79, "avg_line_length": 40.63, "nodes": 492, "errors": 0, "source_hash": "37367c5417d3c3b355ad9ae43ca65c6bbf9369352eb30c5e5ddd1e9848c44702", "categorized_nodes": 321}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
1,289
c
#pragma once #include <map> #include <string> #include <vector> #include "glm/glm.hpp" #include "pixelboost/framework/definitions.h" #include "pixelboost/graphics/device/texture.h" #include "pixelboost/graphics/device/vertexBuffer.h" #include "pixelboost/graphics/renderer/common/irenderer.h" #include "pixelboost/gra...
24.73
155
(translation_unit) "#pragma once\n\n#include <map>\n#include <string>\n#include <vector>\n\n#include "glm/glm.hpp"\n\n#include "pixelboost/framework/definitions.h"\n#include "pixelboost/graphics/device/texture.h"\n#include "pixelboost/graphics/device/vertexBuffer.h"\n#include "pixelboost/graphics/renderer/common/irende...
889
39
{"language": "c", "success": true, "metadata": {"lines": 155, "avg_line_length": 24.73, "nodes": 516, "errors": 0, "source_hash": "0b5f8ec1e119dab466cd82a6001d2b560c21d1e071ac8ea42dc96bbe561761e1", "categorized_nodes": 347}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragm...
1,290
c
// Copyright (C) 2019 by <NAME>, Rector and Visitors of the // University of Virginia, University of Heidelberg, and University // of Connecticut School of Medicine. // All rights reserved. // Copyright (C) 2017 - 2018 by <NAME>, Virginia Tech Intellectual // Properties, Inc., University of Heidelberg, and University ...
41.08
38
(translation_unit) "// Copyright (C) 2019 by <NAME>, Rector and Visitors of the\n// University of Virginia, University of Heidelberg, and University\n// of Connecticut School of Medicine.\n// All rights reserved.\n\n// Copyright (C) 2017 - 2018 by <NAME>, Virginia Tech Intellectual\n// Properties, Inc., University of H...
201
12
{"language": "c", "success": true, "metadata": {"lines": 38, "avg_line_length": 41.08, "nodes": 103, "errors": 0, "source_hash": "f3b79237f2354dcf9e12ddb49fed1a6beb07bb80920a653569990e006f08c028", "categorized_nodes": 65}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_if", "text": "#if !defin...
1,291
c
/* 2d.c */ #include<stdio.h> int main(void){ int X[2][3]; int A[2][3] = { {1, 2, 3}, {4, 5, 6}, }; int B[2][3] = { {7, 8, 9}, {-1, -2, -3}, }; for(int i = 0; i < 2; i++){ for(int j = 0; j < 3; j++){ X[i][j] = A[i][j] + B[i][j]; } ...
18.16
25
(translation_unit) "/* 2d.c */\n#include<stdio.h>\n\nint main(void){\n int X[2][3];\n int A[2][3] = {\n {1, 2, 3},\n {4, 5, 6},\n };\n int B[2][3] = {\n {7, 8, 9},\n {-1, -2, -3},\n };\n\n for(int i = 0; i < 2; i++){\n for(int j = 0; j < 3; j++){\n X[i][j]...
257
0
{"language": "c", "success": true, "metadata": {"lines": 25, "avg_line_length": 18.16, "nodes": 145, "errors": 0, "source_hash": "8c3ad28a0d3b3f70039424cf323d9809f7e165107437b7def07246c0a6b00f72", "categorized_nodes": 97}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
1,292
c
int main() { char c; int lo; int hi; int d; scanf("%c", &c); lo = (c >= 65); hi = (c <= 90); if ((lo && hi)) { d = (c + 32); } else { d = (c - 32); } printf("%c", d); }
11.5
16
(translation_unit) "int main() {\n char c;\n int lo;\n int hi;\n int d;\n scanf("%c", &c);\n lo = (c >= 65);\n hi = (c <= 90);\n if ((lo && hi)) {\n d = (c + 32);\n }\n else {\n d = (c - 32);\n }\n printf("%c", d);\n }" (function_definition) "int main() {\n char c;\n int lo;\n int hi;\n int d;\n ...
123
0
{"language": "c", "success": true, "metadata": {"lines": 16, "avg_line_length": 11.5, "nodes": 68, "errors": 0, "source_hash": "42a73786ba7a27b6045ae45335dddf1903a9647d8eed077f51e1b561273960fd", "categorized_nodes": 50}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "function_definition", "text": "int...
1,293
c
#ifndef _DIALOG_ACTION_H_ #define _DIALOG_ACTION_H_ #include <string> #include "Action.h" #include "Math/float4.h" using namespace std; class Dialogue; class DialogueStep; class DialogueAction : public Action { public: DialogueAction(FlyObject* _parentObject); ~DialogueAction(); void Update(float dt); void D...
27.42
38
(translation_unit) "#ifndef _DIALOG_ACTION_H_\n#define _DIALOG_ACTION_H_\n\n#include <string>\n#include "Action.h"\n#include "Math/float4.h"\n\nusing namespace std;\n\nclass Dialogue; \nclass DialogueStep; \nclass DialogueAction : public Action\n{\npublic:\n DialogueAction(FlyObject* _parentObject);\n ~DialogueAction()...
269
6
{"language": "c", "success": true, "metadata": {"lines": 38, "avg_line_length": 27.42, "nodes": 179, "errors": 0, "source_hash": "3bd5d75eb2173a49069a0c24650a7525e6ba168552eaa4542d621f5d2f2bcf0b", "categorized_nodes": 116}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
1,294
c
/* * Copyright (C) 2015-2020 "IoT.bzh" * Author: <NAME> <<EMAIL>> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless require...
33.24
37
(translation_unit) "/*\n * Copyright (C) 2015-2020 "IoT.bzh"\n * Author: <NAME> <<EMAIL>>\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICE...
211
0
{"language": "c", "success": true, "metadata": {"lines": 37, "avg_line_length": 33.24, "nodes": 158, "errors": 0, "source_hash": "e055e19876e904cf70c73cbabdee45b87ec2b1c1c9cd3d0acec5586143be8d01", "categorized_nodes": 102}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
1,295
c
// // RNEthController.h // Eth // // Created by User on 04.01.18. // Copyright © 2018 Facebook. All rights reserved. // #import <Foundation/Foundation.h> #import <React/RCTBridgeModule.h> #import <React/RCTEventEmitter.h> #import "Geth/Geth.h" @interface TestNative : RCTEventEmitter <RCTBridgeModule, GethNewHead...
22.71
14
(translation_unit) "//\n// RNEthController.h\n// Eth\n//\n// Created by User on 04.01.18.\n// Copyright © 2018 Facebook. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n#import <React/RCTBridgeModule.h>\n#import <React/RCTEventEmitter.h>\n#import "Geth/Geth.h"\n\n\n@interface TestNative : RCTEventEmi...
34
4
{"language": "c", "success": true, "metadata": {"lines": 14, "avg_line_length": 22.71, "nodes": 20, "errors": 0, "source_hash": "93e18852544d2fe526db4f35c5238b6540f720aa64c222d7f592f23d84f8b8c4", "categorized_nodes": 10}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <F...
1,296
c
#ifndef PRINTF_H #define PRINTF_H #include <stdarg.h> #include <drivers/vga.h> int printf(const char *format, ...); //int sprintf(char *buffer, const char* format, ...); //int vsprintf(char *str, ) #endif
21.89
9
(translation_unit) "#ifndef PRINTF_H\n#define PRINTF_H\n\n#include <stdarg.h>\n#include <drivers/vga.h>\n\nint printf(const char *format, ...);\n//int sprintf(char *buffer, const char* format, ...);\n\n//int vsprintf(char *str, )\n\n\n#endif" (preproc_ifdef) "#ifndef PRINTF_H\n#define PRINTF_H\n\n#include <stdarg.h>\...
34
0
{"language": "c", "success": true, "metadata": {"lines": 9, "avg_line_length": 21.89, "nodes": 23, "errors": 0, "source_hash": "dc3a9bfb8ccae95192953b3a3156d8742b0cd8d9873ce5732d5ae80d1d7d75dc", "categorized_nodes": 16}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef P...
1,297
c
#include <stdio.h> #include <stdint.h> #include <stdlib.h> #include <string.h> #include <unistd.h> // Load in our publicly-defined functions/types #include "libblastrampoline.h" #ifdef _OS_LINUX_ #include <linux/limits.h> #include <libgen.h> #include <dlfcn.h> #endif #ifdef _OS_WINDOWS_ #define WIN32_LEAN_AND_MEAN #...
33.84
81
(translation_unit) "#include <stdio.h>\n#include <stdint.h>\n#include <stdlib.h>\n#include <string.h>\n#include <unistd.h>\n\n// Load in our publicly-defined functions/types\n#include "libblastrampoline.h"\n\n#ifdef _OS_LINUX_\n#include <linux/limits.h>\n#include <libgen.h>\n#include <dlfcn.h>\n#endif\n\n#ifdef _OS_WIN...
616
0
{"language": "c", "success": true, "metadata": {"lines": 81, "avg_line_length": 33.84, "nodes": 455, "errors": 0, "source_hash": "7540a393e9d32149d4b4b5a43ee289ba95b92cdb832d2aad027121403c171e73", "categorized_nodes": 264}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
1,298
c
// Copyright 2019 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
38.15
99
(ERROR) "// Copyright 2019 Google LLC\n//\n// Licensed under the Apache License, Version 2.0 (the "License");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// https://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable la...
619
38
{"language": "c", "success": true, "metadata": {"lines": 99, "avg_line_length": 38.15, "nodes": 352, "errors": 0, "source_hash": "a301a21a0a5d74fa4878459c538154ced090afb6a3d9f9f484aab95b01ba4695", "categorized_nodes": 260}, "ast": {"root": "ERROR", "nodes": [{"id": 0, "type": "ERROR", "text": "// Copyright 2019 Google ...
1,299