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
Stub content: Drivers/CMSIS/DSP_Lib/Source/BasicMathFunctions/arm_dot_prod_q7.c
39
2
(translation_unit) "Stub content:\nDrivers/CMSIS/DSP_Lib/Source/BasicMathFunctions/arm_dot_prod_q7.c\n" (declaration) "Stub content:\nDrivers/CMSIS/DSP_Lib/Source/BasicMathFunctions/arm_dot_prod_q7.c" (type_identifier) "Stub" (ERROR) "content:\nDrivers/CMSIS/DSP_Lib/Source/BasicMathFunctions/arm_dot_prod_q7."...
20
1
{"language": "c", "success": true, "metadata": {"lines": 2, "avg_line_length": 39.0, "nodes": 16, "errors": 0, "source_hash": "a8ca78e91bb476e272f67780f97f03c10f95bf9e6d6d9e920bfa0dcf6b24ee18", "categorized_nodes": 10}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "declaration", "text": "Stub content...
77,000
c
/*- *********************************************************************** * * $Id: socket.h,v 1.19 2019/03/14 16:07:43 klm Exp $ * *********************************************************************** * * Copyright 2001-2019 The FTimes Project, All Rights Reserved. * ***************************************...
30.39
54
(translation_unit) "/*-\n ***********************************************************************\n *\n * $Id: socket.h,v 1.19 2019/03/14 16:07:43 klm Exp $\n *\n ***********************************************************************\n *\n * Copyright 2001-2019 The FTimes Project, All Rights Reserved.\n *\n **********...
172
0
{"language": "c", "success": true, "metadata": {"lines": 54, "avg_line_length": 30.39, "nodes": 135, "errors": 0, "source_hash": "2543000d1e14685af52272175425e52be0ae253d66d1307d66e3a13f3ba63849", "categorized_nodes": 77}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
77,001
c
// // CXWBaseNavigationController.h // voiceAIApp // // Created by Avsnest on 2018/9/17. // Copyright © 2018年 Avsnest. All rights reserved. // #import <UIKit/UIKit.h> @interface CXWBaseNavigationController : UINavigationController @property (nonatomic, assign) BOOL isSingleWrite; @end
23.25
12
(translation_unit) "//\n// CXWBaseNavigationController.h\n// voiceAIApp\n//\n// Created by Avsnest on 2018/9/17.\n// Copyright © 2018年 Avsnest. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface CXWBaseNavigationController : UINavigationController\n\n\n@property (nonatomic, assign) BOOL isSingleWrite...
34
6
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 23.25, "nodes": 21, "errors": 0, "source_hash": "dc53c669a8a9fdc5a8f7caa7d3240b97b12a2206cd2c6eff32f7eab0899e48d3", "categorized_nodes": 12}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "port <UIK...
77,002
c
#pragma once // aplicacion #include <utiles/include/ID.h> namespace herramientas { namespace utiles { class ID; class GestorIDs { public: GestorIDs(uint64_t id_mas_alto = 1); virtual ~GestorIDs(); // GETTERS ID* nuevoID(); uint64_t getIdActual(); // SETTERS void setIdActual(...
10.97
37
(translation_unit) "#pragma once \n \n// aplicacion \n#include <utiles/include/ID.h> \n \nnamespace herramientas \n{ \nnamespace utiles \n{ \n \nclass ID; \n \nclass GestorIDs \n{ \npublic: \n \n GestorIDs(uint64_t id_mas_alto = 1); \n virtual ~GestorIDs(); \n \n // GETTERS \n \n ID* nuevoID(); \n \n uint64_t getIdAct...
102
2
{"language": "c", "success": true, "metadata": {"lines": 37, "avg_line_length": 10.97, "nodes": 57, "errors": 0, "source_hash": "95fcb6ee1ae60757a954bb9c283ebca3a45426ae4c245fa3e50fa4ac663ac10b", "categorized_nodes": 37}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
77,003
c
/* * ichip_2128.h * * Class to interface with the ichip 2128 based wifi adapter we're using on our board * * Created: 4/18/2013 8:10:00 PM * Author: <NAME> */ /* The wifi adapter must be able to either create an adhoc network or connect to an existing network * the EEPROM has three entries for storing network...
32.67
193
(translation_unit) "/*\n * ichip_2128.h\n *\n * Class to interface with the ichip 2128 based wifi adapter we're using on our board\n *\n * Created: 4/18/2013 8:10:00 PM\n * Author: <NAME>\n */\n\n/* The wifi adapter must be able to either create an adhoc network or connect to an existing network\n * the EEPROM has thr...
736
6
{"language": "c", "success": true, "metadata": {"lines": 193, "avg_line_length": 32.67, "nodes": 488, "errors": 0, "source_hash": "e8b3faf7d6c5fcb25b2a3c36730e9cc0fffde34e73e4d5f2dca64d7793760ca0", "categorized_nodes": 349}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "#ifndef ICHIP...
77,004
c
#ifndef QTANGRAMGESTUREAREA_H #define QTANGRAMGESTUREAREA_H #include <QtQuick/QQuickItem> #include <QTouchEvent> #include <QElapsedTimer> #include <QtGui/QVector2D> #include <QtCore/QPointer> class QDeclarativeTangramMap; class QWheelEvent; class QTangramMap; class QTangramPoint; namespace Tangram { struct MarkerPi...
33.37
289
(translation_unit) "#ifndef QTANGRAMGESTUREAREA_H\n#define QTANGRAMGESTUREAREA_H\n\n#include <QtQuick/QQuickItem>\n#include <QTouchEvent>\n#include <QElapsedTimer>\n\n#include <QtGui/QVector2D>\n#include <QtCore/QPointer>\n\nclass QDeclarativeTangramMap;\nclass QWheelEvent;\nclass QTangramMap;\nclass QTangramPoint;\n\n...
2,077
63
{"language": "c", "success": true, "metadata": {"lines": 289, "avg_line_length": 33.37, "nodes": 1345, "errors": 0, "source_hash": "549d41e8bfc56ea4ad2710053810218716720838216421675bb32ad96d7da60f", "categorized_nodes": 936}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifn...
77,005
c
/* * Dimensionizer.h * Dimensionizer * * Created by <NAME> on 1/16/08. * Copyright 2008 <NAME>. All rights reserved. * */ #include <Carbon/Carbon.h> #include <CoreFoundation/CoreFoundation.h> #include <CoreFoundation/CFPlugInCOM.h> #include <QuickTime/QuickTime.h> #pragma mark * Constants * // ---------...
38.51
132
(translation_unit) "/*\n * Dimensionizer.h\n * Dimensionizer\n *\n * Created by <NAME> on 1/16/08.\n * Copyright 2008 <NAME>. All rights reserved.\n *\n */\n\n#include <Carbon/Carbon.h>\n#include <CoreFoundation/CoreFoundation.h>\n#include <CoreFoundation/CFPlugInCOM.h>\n#include <QuickTime/QuickTime.h>\n\n\n\n\n#p...
683
0
{"language": "c", "success": true, "metadata": {"lines": 132, "avg_line_length": 38.51, "nodes": 468, "errors": 0, "source_hash": "cefd2efcbfe4d3f13c36aeb4dc10aa465f0a4fa9fedee0838f32991c79970750", "categorized_nodes": 311}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
77,006
c
inherit "/std/monster"; inherit "/std/modules/m_wander"; #include "../domain.h" void setup(void) { set_name("<NAME>"); add_id("hyr0n"); add_id("gerbil"); set_short( "<NAME>" ); set_long( "A small light brown furry gerbil. He has a white tummy, and very sharp claws. He is very cute, and quite friendly but sc...
31.92
25
(translation_unit) "inherit "/std/monster";\ninherit "/std/modules/m_wander";\n\n#include "../domain.h"\n\nvoid setup(void) {\n set_name("<NAME>");\n add_id("hyr0n");\n add_id("gerbil");\n set_short( "<NAME>" );\n set_long( "A small light brown furry gerbil. He has a white tummy, and very sharp claws. He is very c...
243
0
{"language": "c", "success": true, "metadata": {"lines": 25, "avg_line_length": 31.92, "nodes": 102, "errors": 0, "source_hash": "2478d385ac9bb64438dca49cca305cddcdcec6d7c53a165364950f539f4b0026", "categorized_nodes": 77}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "concatenated_string", "text": "i...
77,007
c
// // UILabel+FlickerNumber.h // FlickerNumber // // Created by Diaoshu on 15-2-1. // Copyright (c) 2015年 DDKit. All rights reserved. // #pragma clang diagnostic push #pragma clang diagnostic ignored "-Wdocumentation" #import <UIKit/UIKit.h> typedef enum : NSUInteger { Format, Mutiable } FlickerNumberAttri...
27.45
159
(ERROR) "//\n// UILabel+FlickerNumber.h\n// FlickerNumber\n//\n// Created by Diaoshu on 15-2-1.\n// Copyright (c) 2015年 DDKit. All rights reserved.\n//\n#pragma clang diagnostic push\n#pragma clang diagnostic ignored "-Wdocumentation"\n#import <UIKit/UIKit.h>\n\ntypedef enum : NSUInteger {\n Format,\n Mutiabl...
476
22
{"language": "c", "success": true, "metadata": {"lines": 159, "avg_line_length": 27.45, "nodes": 254, "errors": 0, "source_hash": "895e615e6bed16e6e7ba65f8976ab6a472b29e4d1bf8999dc0f3db024a80a709", "categorized_nodes": 174}, "ast": {"root": "ERROR", "nodes": [{"id": 0, "type": "ERROR", "text": "//\n// UILabel+FlickerN...
77,008
c
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef PPAPI_THUNK_PPB_FILE_CHOOSER_API_H_ #define PPAPI_THUNK_PPB_FILE_CHOOSER_API_H_ #include <stdint.h> #include "base/memory/ref_counted.h" #in...
35.41
34
(translation_unit) "// Copyright (c) 2012 The Chromium Authors. All rights reserved.\n// Use of this source code is governed by a BSD-style license that can be\n// found in the LICENSE file.\n\n#ifndef PPAPI_THUNK_PPB_FILE_CHOOSER_API_H_\n#define PPAPI_THUNK_PPB_FILE_CHOOSER_API_H_\n\n#include <stdint.h>\n\n#include "b...
195
8
{"language": "c", "success": true, "metadata": {"lines": 34, "avg_line_length": 35.41, "nodes": 126, "errors": 0, "source_hash": "1c277a594aa2151b25964b42b438cd19d93e765338771046357d0bc68813c09a", "categorized_nodes": 94}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
77,009
c
//-*-C++-*- /*************************************************************************** * * Copyright (C) 2012 by <NAME> * Licensed under the Academic Free License version 2.1 * ***************************************************************************/ #ifndef __Pulsar_CalibratorInfo_h #define __Pulsar_Cal...
37.26
54
(translation_unit) "//-*-C++-*-\n/***************************************************************************\n *\n * Copyright (C) 2012 by <NAME>\n * Licensed under the Academic Free License version 2.1\n *\n ***************************************************************************/\n\n#ifndef __Pulsar_Calibrato...
320
12
{"language": "c", "success": true, "metadata": {"lines": 54, "avg_line_length": 37.26, "nodes": 172, "errors": 0, "source_hash": "059e54882ffe13a0423c66ab7fc0aab86a77792b8cd1b2eeec8f6081f7d5fcb2", "categorized_nodes": 111}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
77,010
c
// // XDXFFmpegVideoDecoder.h // XDXVideoDecoder // // Created by 小东邪 on 2019/6/6. // Copyright © 2019 小东邪. All rights reserved. // #import <AVFoundation/AVFoundation.h> // FFmpeg Header File #ifdef __cplusplus extern "C" { #endif #include "libavformat/avformat.h" #include "libavcodec/avcodec.h" #include "li...
26.4
35
(translation_unit) "//\n// XDXFFmpegVideoDecoder.h\n// XDXVideoDecoder\n//\n// Created by 小东邪 on 2019/6/6.\n// Copyright © 2019 小东邪. All rights reserved.\n//\n\n#import <AVFoundation/AVFoundation.h>\n\n// FFmpeg Header File\n#ifdef __cplusplus\nextern "C" {\n#endif\n \n#include "libavformat/avformat.h"\n#include...
191
19
{"language": "c", "success": true, "metadata": {"lines": 35, "avg_line_length": 26.4, "nodes": 119, "errors": 0, "source_hash": "6d1a44a4323617b776f8ecef86923599a45d2519dc9b5f7e9aec823f5ec017b6", "categorized_nodes": 76}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "undation/...
77,011
c
// // Tri.h // SGLKit // // Created by <NAME> on 11-06-24. // Copyright 2017 Secret Geometry. All rights reserved. // #ifndef SGL_TRI_H #define SGL_TRI_H #import "SGLMath.h" // // Tri // typedef struct tri { vec3 a; vec3 b; vec3 c; #ifdef __cplusplus tri() {} ...
15.67
36
(translation_unit) "//\n// Tri.h\n// SGLKit\n//\n// Created by <NAME> on 11-06-24.\n// Copyright 2017 Secret Geometry. All rights reserved.\n//\n\n#ifndef SGL_TRI_H\n#define SGL_TRI_H\n\n#import "SGLMath.h"\n\n//\n// Tri\n//\n\ntypedef struct tri\n{\n vec3 a;\n vec3 b;\n vec3 c;\n \n #ifdef __cpluspl...
145
4
{"language": "c", "success": true, "metadata": {"lines": 36, "avg_line_length": 15.67, "nodes": 90, "errors": 0, "source_hash": "1ae3a80a56c24231fe7983f2b32f9cdab984b84b4fcd698c474d5a1e7317642e", "categorized_nodes": 66}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
77,012
c
// // AppDelegate.h // NTTableViewArraySample // // Created by <NAME> on 8/10/12. // Copyright (c) 2012 Nagel Technologies, Inc. All rights reserved. // #import <UIKit/UIKit.h> #import "MainViewController.h" @interface AppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWindow *wi...
27.29
14
(translation_unit) "//\n// AppDelegate.h\n// NTTableViewArraySample\n//\n// Created by <NAME> on 8/10/12.\n// Copyright (c) 2012 Nagel Technologies, Inc. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n#import "MainViewController.h"\n\n\n@interface AppDelegate : UIResponder <UIApplicationDelegate>\n\n@proper...
61
10
{"language": "c", "success": true, "metadata": {"lines": 14, "avg_line_length": 27.29, "nodes": 43, "errors": 0, "source_hash": "4bd396043aaba558bd2bfc84f2be031bad265d02056adf6261f1ed81dcc43cc9", "categorized_nodes": 20}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <...
77,013
c
#ifndef _JSON_PARSER_H_ #define _JSON_PARSER_H_ #include "JsonValue.h" namespace MyJson { enum ParseResult { eOk = 0, eExpectValue, // 只含空白 eInvalidValue, // 无效值 eRootNotSingular, // 一个有效值后未结束 eNumberTooBig, // 浮点溢出 eMissQuatationMark, // 字符串缺失引号 eInvalidStringEscape, // 无效字符转义 eInvalidSt...
27.46
57
(translation_unit) "#ifndef _JSON_PARSER_H_\n#define _JSON_PARSER_H_\n\n#include "JsonValue.h"\n\nnamespace MyJson\n{\n\nenum ParseResult\n{\n eOk = 0,\n eExpectValue, // 只含空白\n eInvalidValue, // 无效值\n eRootNotSingular, // 一个有效值后未结束\n eNumberTooBig, // 浮点溢出\n eMissQuatationMark, // 字符串缺失引号\n eInvalidS...
394
13
{"language": "c", "success": true, "metadata": {"lines": 57, "avg_line_length": 27.46, "nodes": 258, "errors": 0, "source_hash": "2dd12f3ef69852bca46347748c69d9e87e12517ebdf01ed1c158b041cee0683e", "categorized_nodes": 181}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
77,014
c
#pragma once struct _task { /* 0 if this task is available for use, 1 if it is already in use */ int in_use; /* 0 if this is not an init task, 1 if it is */ int is_init; /* Stack and depth used by the rstate subsystem */ const struct _return_state *rstate_stack[RSTATE_STACK_ENTRIES]; int rstate_stack_depth; ...
28.78
23
(translation_unit) "#pragma once\n\nstruct _task {\n /* 0 if this task is available for use, 1 if it is already in use */\n int in_use;\n\n /* 0 if this is not an init task, 1 if it is */\n int is_init;\n\n /* Stack and depth used by the rstate subsystem */\n const struct _return_state *rstate_stack[RSTATE_STACK_ENTRIE...
97
0
{"language": "c", "success": true, "metadata": {"lines": 23, "avg_line_length": 28.78, "nodes": 65, "errors": 0, "source_hash": "237662f1119220481dbd0b8a1461f60e1e5edec5b399569d010185c8e25ef5a2", "categorized_nodes": 42}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
77,015
c
#ifndef _ABIBITS_IN_H #define _ABIBITS_IN_H #include <bits/posix/in_addr_t.h> #include <bits/posix/in_port_t.h> #include <abi-bits/socket.h> #ifdef __cplusplus extern "C" { #endif struct in_addr { in_addr_t s_addr; }; struct sockaddr_in { sa_family_t sin_family; in_port_t sin_port; struct in_addr sin_addr; uin...
27.67
89
(translation_unit) "#ifndef _ABIBITS_IN_H\n#define _ABIBITS_IN_H\n\n#include <bits/posix/in_addr_t.h>\n#include <bits/posix/in_port_t.h>\n#include <abi-bits/socket.h>\n\n#ifdef __cplusplus\nextern "C" {\n#endif\n\nstruct in_addr {\n in_addr_t s_addr;\n};\n\nstruct sockaddr_in {\n sa_family_t sin_family;\n in_port_t sin...
361
2
{"language": "c", "success": true, "metadata": {"lines": 89, "avg_line_length": 27.67, "nodes": 306, "errors": 0, "source_hash": "c1461b95beb5c4385bb2a34cd9f42583f152b8b97511800f4dbc5685f3ab63e7", "categorized_nodes": 139}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "#ifndef _ABIBI...
77,016
c
// // DemoNormalViewController.h // CRChecker // // Created by <NAME> on 14/12/30. // Copyright (c) 2014年 <NAME>. All rights reserved. // #import <UIKit/UIKit.h> @interface DemoNormalViewController : UIViewController @end
21.6
10
(translation_unit) "//\n// DemoNormalViewController.h\n// CRChecker\n//\n// Created by <NAME> on 14/12/30.\n// Copyright (c) 2014年 <NAME>. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface DemoNormalViewController : UIViewController\n\n@end\n" (comment) "//" (comment) "// DemoNormalViewControll...
19
3
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 21.6, "nodes": 10, "errors": 0, "source_hash": "6a5da8319433e31b7c3e0881e9008b9283003c09fea67328bfbb8982e7c6960c", "categorized_nodes": 5}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "mport <UIKi...
77,017
c
#ifndef DATE_MANAGER_H #define DATE_MANAGER_H #include <sstream> #include <iostream> #include <time.h> #include <windows.h> #include "AuxiliaryMethods.h" #include "Date.h" using namespace std; class DateManager { int getNumberDaysOfFebruary(int yearNumberOfFebruary); int getNumberDaysOfMo...
22.08
36
(translation_unit) "#ifndef DATE_MANAGER_H \n#define DATE_MANAGER_H \n \n \n#include <sstream> \n#include <iostream> \n#include <time.h> \n#include <windows.h> \n#include "AuxiliaryMethods.h" \n#include "Date.h" \n \nusing namespace std; \n \n \nclass DateManager { \n \n int getNumberDaysOfFebruary(int yearNumberOfF...
184
1
{"language": "c", "success": true, "metadata": {"lines": 36, "avg_line_length": 22.08, "nodes": 128, "errors": 0, "source_hash": "5aa2837dc9652e6c5c0bbbe47e856d2bcd689bd0f7ac46b356803ef64c97d132", "categorized_nodes": 94}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
77,018
c
/* * Copyright (c) 1996-2002, <NAME> * * This source code is released for free distribution under the terms of the * GNU General Public License version 2 or (at your option) any later version. * * This module contains functions to sort the tag entries. */ /* * INCLUDE FILES */ #include "general.h" /* must a...
25.33
260
(translation_unit) "/*\n* Copyright (c) 1996-2002, <NAME>\n*\n* This source code is released for free distribution under the terms of the\n* GNU General Public License version 2 or (at your option) any later version.\n*\n* This module contains functions to sort the tag entries.\n*/\n\n/*\n* INCLUDE FILES\n*/\...
2,134
5
{"language": "c", "success": true, "metadata": {"lines": 260, "avg_line_length": 25.33, "nodes": 1249, "errors": 0, "source_hash": "f0bb304148b78b771c90b25a21abb30ce79c1fc654120eefecb241df683e2467", "categorized_nodes": 781}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#i...
77,019
c
/* * Machine Generated include file for message "Send Chat Message". * NOTE: This file is read only. DO NOT ATTEMPT TO MODIFY IT BY HAND. * Generated on 07-August-1997 at 02:38:16 * Generated from file EVENTS.XLS by MIS */ #ifndef _SENDCHATMESSAGE_H #define _SENDCHATMESSAGE_H /* * Required Include Files */ #i...
24.63
43
(translation_unit) "/*\n * Machine Generated include file for message "Send Chat Message".\n * NOTE: This file is read only. DO NOT ATTEMPT TO MODIFY IT BY HAND.\n * Generated on 07-August-1997 at 02:38:16\n * Generated from file EVENTS.XLS by MIS\n */\n\n#ifndef _SENDCHATMESSAGE_H\n#define _SENDCHATMESSAGE_H\n\n/*\n *...
227
9
{"language": "c", "success": true, "metadata": {"lines": 43, "avg_line_length": 24.63, "nodes": 142, "errors": 0, "source_hash": "0b54fb794db19d3841394c54b2a9df23673ed82293a3af6dd8a6964975cd2e7e", "categorized_nodes": 88}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
77,020
c
#import <Foundation/Foundation.h> #if __has_include("BraintreeCore.h") #import "BraintreeCore.h" #else #import <BraintreeCore/BraintreeCore.h> #endif #import "BTPaymentFlowRequest.h" #import "BTPaymentFlowDriver.h" NS_ASSUME_NONNULL_BEGIN @class BTLocalPaymentResult; @protocol BTLocalPaymentRequestDelegate; /** Use...
35.51
78
(translation_unit) "#import <Foundation/Foundation.h>\n#if __has_include("BraintreeCore.h")\n#import "BraintreeCore.h"\n#else\n#import <BraintreeCore/BraintreeCore.h>\n#endif\n#import "BTPaymentFlowRequest.h"\n#import "BTPaymentFlowDriver.h"\n\nNS_ASSUME_NONNULL_BEGIN\n\n@class BTLocalPaymentResult;\n@protocol BTLocalP...
357
65
{"language": "c", "success": true, "metadata": {"lines": 78, "avg_line_length": 35.51, "nodes": 254, "errors": 0, "source_hash": "76a8cbd4ddd59afb81c6c8f50ec684f4667f79ffb27847c69addd06bad014d3a", "categorized_nodes": 131}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import...
77,021
c
/* Create descriptor from file descriptor for processing file. Copyright (C) 2002, 2003, 2004, 2005 Red Hat, Inc. This file is part of elfutils. Written by <NAME> <<EMAIL>>, 2002. This file is free software; you can redistribute it and/or modify it under the terms of either * the GNU Lesser Genera...
31.09
82
(translation_unit) "/* Create descriptor from file descriptor for processing file.\n Copyright (C) 2002, 2003, 2004, 2005 Red Hat, Inc.\n This file is part of elfutils.\n Written by <NAME> <<EMAIL>>, 2002.\n\n This file is free software; you can redistribute it and/or modify\n it under the terms of either\n\n...
307
0
{"language": "c", "success": true, "metadata": {"lines": 82, "avg_line_length": 31.09, "nodes": 194, "errors": 0, "source_hash": "2356431cf2de2d7dfd56b1777846c7b6b0e74224e6c46d28325dc6cfbca20926", "categorized_nodes": 136}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifdef...
77,022
c
/* * Copyright 2017 GoPro Inc. * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Vers...
34.87
54
(translation_unit) "/*\n * Copyright 2017 GoPro Inc.\n *\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements. See the NOTICE file\n * distributed with this work for additional information\n * regarding copyright ownership. The ASF licenses this file\n * to you und...
303
0
{"language": "c", "success": true, "metadata": {"lines": 54, "avg_line_length": 34.87, "nodes": 192, "errors": 0, "source_hash": "e7c2f3c7b5fa4cee2ff7ea34179dddcbb5e747903121b21488cbbf5cdb9d3862", "categorized_nodes": 131}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
77,023
c
#pragma once #include <kazen/object.h> NAMESPACE_BEGIN(kazen) /** * \brief EmitterQueryRecord */ struct LightQueryRecord { /// Shading point position Point3f ref; ///uv coordinate Point2f uv; /// Incident direction Vector3f wi; /// Light Sample position Point3f p; //...
23.09
53
(translation_unit) "#pragma once\n\n#include <kazen/object.h>\n\nNAMESPACE_BEGIN(kazen)\n\n/**\n * \brief EmitterQueryRecord\n */\nstruct LightQueryRecord {\n /// Shading point position\n Point3f ref;\n\n ///uv coordinate\n Point2f uv;\n\n /// Incident direction\n Vector3f wi;\n \n /// Light Sam...
293
15
{"language": "c", "success": true, "metadata": {"lines": 53, "avg_line_length": 23.09, "nodes": 164, "errors": 0, "source_hash": "e7f632c7589e82fbdf55a604199ea43ab675601b071e57a455f859aa4178af55", "categorized_nodes": 125}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
77,024
c
// // SQTrainingMusclesBuilder.h // SQFitnessProgram_Viper // // Created by 朱双泉 on 2019/2/22. // Copyright © 2019 Castie!. All rights reserved. // #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @protocol SQViperRouter; @protocol SQViperView; @protocol SQTrainingMusclesDataService; @interface SQTrainingMusclesB...
37.06
17
(translation_unit) "//\n// SQTrainingMusclesBuilder.h\n// SQFitnessProgram_Viper\n//\n// Created by 朱双泉 on 2019/2/22.\n// Copyright © 2019 Castie!. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\nNS_ASSUME_NONNULL_BEGIN\n\n@protocol SQViperRouter;\n@protocol SQViperView;\n@protocol SQTrainingMusclesDataServi...
122
16
{"language": "c", "success": true, "metadata": {"lines": 17, "avg_line_length": 37.06, "nodes": 84, "errors": 0, "source_hash": "16e1720e0475d057aca20f1d2d63cd5b9a164880f2e67b7e4013543bd1ecd551", "categorized_nodes": 52}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": " <UIKit/U...
77,025
c
#ifndef COMMON_MEMORY_RAMMEMORY_H_ #define COMMON_MEMORY_RAMMEMORY_H_ #include "memory/include/Memory.h" #include "utils/include/Buffer.h" class RamMemory : public Memory { public: RamMemory(uint32_t bufSize) : buf(bufSize) { address = 0; } virtual MemoryResult write(const void *pData, uint32_t len) override; virt...
31.26
19
(translation_unit) "#ifndef COMMON_MEMORY_RAMMEMORY_H_\n#define COMMON_MEMORY_RAMMEMORY_H_\n\n#include "memory/include/Memory.h"\n#include "utils/include/Buffer.h"\n\nclass RamMemory : public Memory {\npublic:\n RamMemory(uint32_t bufSize) : buf(bufSize) { address = 0; }\n virtual MemoryResult write(const void *pData, ...
185
12
{"language": "c", "success": true, "metadata": {"lines": 19, "avg_line_length": 31.26, "nodes": 117, "errors": 0, "source_hash": "9b5ec55dffae5d0a6742a2e989865d8eb67410d8ab23402ea8bae02e2f27d3b1", "categorized_nodes": 74}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
77,026
c
// // UIAlertView+WtUI.h // WtUI // // Created by wtfan on 2017/9/8. // // #import <UIKit/UIKit.h> #import "WtDelegateProxy.h" @interface UIAlertView (WtUI) @property (nonatomic, strong, readonly) WtDelegateProxy<UIAlertViewDelegate> *wtDelegateProxy; @end
19.08
13
(translation_unit) "//\n// UIAlertView+WtUI.h\n// WtUI\n//\n// Created by wtfan on 2017/9/8.\n//\n//\n\n#import <UIKit/UIKit.h>\n\n#import "WtDelegateProxy.h"\n\n\n@interface UIAlertView (WtUI)\n@property (nonatomic, strong, readonly) WtDelegateProxy<UIAlertViewDelegate> *wtDelegateProxy;\n@end\n" (comment) "//" ...
49
8
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 19.08, "nodes": 33, "errors": 0, "source_hash": "76e9fd0ef4559258706a93373bc4f26cfa5949a49ad5d4ca2344ba6302013f36", "categorized_nodes": 15}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <...
77,027
c
#pragma once /*! * Неупорядоченное множество неуникальных элементов. * Можно выполнить операции положить и извлечь, никакой порядок * включения извлечения не гарантируется. * * Возможные реализации на основе списков, очередей и т.п. */ template < typename _Type, typename _MultiplicityTool > class Bag;
29.9
10
(translation_unit) "#pragma once\n\n/*!\n * Неупорядоченное множество неуникальных элементов.\n * Можно выполнить операции положить и извлечь, никакой порядок\n * включения извлечения не гарантируется.\n *\n * Возможные реализации на основе списков, очередей и т.п.\n */\ntemplate < typename _Type, typename _Multiplicit...
20
2
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 29.9, "nodes": 16, "errors": 0, "source_hash": "347b346e10a4ab08736c63978142ca26f345c5e64dace5fc90fa565dee808dd6", "categorized_nodes": 10}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma on...
77,028
c
/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved. * * Contact Information: wlanfae <<EMAIL>> */ #ifndef R819x_WX_H #define R819x_WX_H struct iw_handler_def; extern const struct iw_handler_def r8192_wx_handlers_def; #endif
25.09
11
(translation_unit) "/* SPDX-License-Identifier: GPL-2.0 */\n/*\n * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved.\n *\n * Contact Information: wlanfae <<EMAIL>>\n */\n#ifndef R819x_WX_H\n#define R819x_WX_H\n\nstruct iw_handler_def;\n\nextern const struct iw_handler_def r8192_wx_handlers_def;\n#endif...
24
0
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 25.09, "nodes": 17, "errors": 0, "source_hash": "6a9b5687b19f0273dbfd1e37a4ae14ceb3a429c292de02dda62a76044e3965df", "categorized_nodes": 14}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
77,029
c
// // ProfileListViewController.h // HUT // // Created by Lingyu on 16/2/16. // Copyright © 2016年 Lingyu. All rights reserved. // #import <UIKit/UIKit.h> @interface ProfileListViewController : UITableViewController +(instancetype)profileListController; @end
22.82
11
(translation_unit) "//\n// ProfileListViewController.h\n// HUT\n//\n// Created by Lingyu on 16/2/16.\n// Copyright © 2016年 Lingyu. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface ProfileListViewController : UITableViewController\n+(instancetype)profileListController;\n@end\n" (comment) "//" (c...
32
4
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 22.82, "nodes": 17, "errors": 0, "source_hash": "4f35147cc308d26aab9905143429bc53f7f9323d856512c3740d7429e6653e7d", "categorized_nodes": 9}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "port <UIKi...
77,030
c
/* * @assignment EECS 268 Lab05 * @file: Executive.h * @author: <NAME> * @brief: Header File for Executive class. Lists member methods. Class governs the programs 'executive' actions of parsing the input file for instructions, running those instructions, and displaying the results. * @date: 04-01-2020 */ #ifndef...
34.56
39
(translation_unit) "/*\n * @assignment EECS 268 Lab05 \n * @file: Executive.h\n * @author: <NAME>\n * @brief: Header File for Executive class. Lists member methods. Class governs the programs 'executive' actions of parsing the input file for instructions, running those instructions, and displaying the results.\n * @dat...
76
2
{"language": "c", "success": true, "metadata": {"lines": 39, "avg_line_length": 34.56, "nodes": 46, "errors": 0, "source_hash": "03222b0c945506866f94b79bcb061b56878dee611187ca0a529e68f34341657c", "categorized_nodes": 25}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
77,031
c
// // ScanViewController.h // NanoScan // // Created by bob on 12/13/14. // Copyright (c) 2014 KS Technologies. All rights reserved. // #import <UIKit/UIKit.h> #import "KSTNanoSDK.h" #import "KSTDataManager.h" #import <Charts/Charts.h> @import Charts; @interface ScanViewController : UIViewController <UITextFiel...
43.07
28
(translation_unit) "//\n// ScanViewController.h\n// NanoScan\n//\n// Created by bob on 12/13/14.\n// Copyright (c) 2014 KS Technologies. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n#import "KSTNanoSDK.h"\n#import "KSTDataManager.h"\n\n#import <Charts/Charts.h>\n@import Charts;\n\n@interface ScanViewContr...
290
35
{"language": "c", "success": true, "metadata": {"lines": 28, "avg_line_length": 43.07, "nodes": 205, "errors": 0, "source_hash": "6d48306a74eb8de679093426f6ce60d979f744654540f9686fa30c56dd2551a6", "categorized_nodes": 118}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import...
77,032
c
/* SPDX-License-Identifier: Apache-2.0 */ // // Copyright (c) 2021 Blue Clover Devices // int app_ble(void);
20.8
5
(translation_unit) "/* SPDX-License-Identifier: Apache-2.0 */\n\n//\n// Copyright (c) 2021 Blue Clover Devices\n//\n\nint app_ble(void);\n" (comment) "/* SPDX-License-Identifier: Apache-2.0 */" (comment) "//" (comment) "// Copyright (c) 2021 Blue Clover Devices" (comment) "//" (declaration) "int app_ble(void)...
15
0
{"language": "c", "success": true, "metadata": {"lines": 5, "avg_line_length": 20.8, "nodes": 7, "errors": 0, "source_hash": "8985a811583960682188c72f318a026cd02ca30128f935bcf2bfda4005d87031", "categorized_nodes": 4}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "declaration", "text": "int app_ble(vo...
77,033
c
#include "../../macros.h" #include "../../typed.h" #include "../bml_allocate.h" #include "../bml_transpose_triangle.h" #include "../bml_types.h" #include "bml_allocate_dense.h" #include "bml_transpose_triangle_dense.h" #include "bml_types_dense.h" #include <complex.h> #include <stdlib.h> #include <string.h> #include <...
26.07
55
(translation_unit) "#include "../../macros.h"\n#include "../../typed.h"\n#include "../bml_allocate.h"\n#include "../bml_transpose_triangle.h"\n#include "../bml_types.h"\n#include "bml_allocate_dense.h"\n#include "bml_transpose_triangle_dense.h"\n#include "bml_types_dense.h"\n\n#include <complex.h>\n#include <stdlib.h>\...
323
0
{"language": "c", "success": true, "metadata": {"lines": 55, "avg_line_length": 26.07, "nodes": 212, "errors": 0, "source_hash": "377ce9047bb33d963b54dfc10402eb4a482c2c078ce7be14a16d26ab73a4c66c", "categorized_nodes": 155}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
77,034
c
/* Reality plug-in Copyright (c) Pret-a-3D/<NAME> 2012. All rights reserved. */ #ifndef RE_MIX_TEXTURE_H #define RE_MIX_TEXTURE_H #include "ReTexture.h" #include "ReTextureCreator.h" #include "textures/ReImageMap.h" #include "textures/ReComplexTexture.h" #include "ReTextureContainer.h" namespace Reality { ...
28
121
(translation_unit) "/*\n Reality plug-in\n Copyright (c) Pret-a-3D/<NAME> 2012. All rights reserved. \n*/\n\n#ifndef RE_MIX_TEXTURE_H\n#define RE_MIX_TEXTURE_H\n\n#include "ReTexture.h"\n#include "ReTextureCreator.h"\n#include "textures/ReImageMap.h"\n#include "textures/ReComplexTexture.h" \n#include "ReTextureCo...
531
19
{"language": "c", "success": true, "metadata": {"lines": 121, "avg_line_length": 28.0, "nodes": 303, "errors": 0, "source_hash": "bbd7cb1620d7682aeb1a9efe4c5df71734d0b53ed6612c44151ff7e63dbb0140", "categorized_nodes": 206}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "#ifndef RE_MIX...
77,035
c
#pragma once class DecisionVariable { public: DecisionVariable(void); ~DecisionVariable(void); CString m_name; long m_ID; // Value returned from GetSolutionVariableValue() double m_currentValue; // TODO: Add information that will allow you to set values in the simulation // model for the entity that corres...
27.29
14
(translation_unit) "#pragma once\n\nclass DecisionVariable\n{\npublic:\n DecisionVariable(void);\n ~DecisionVariable(void);\n\n CString m_name;\n long m_ID;\n // Value returned from GetSolutionVariableValue()\n double m_currentValue; \n\n // TODO: Add information that will allow you to set values in the simulation\n /...
50
0
{"language": "c", "success": true, "metadata": {"lines": 14, "avg_line_length": 27.29, "nodes": 26, "errors": 0, "source_hash": "2c5d58b138e373ff75901df4935eb13d0712f22057d0655f8b96fbe4e7caf565", "categorized_nodes": 18}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
77,036
c
/* * io.h * * StreamCode IO module configuration Headfile. * author: RedoC * * 2020, DiggieBro. All right reserved. * This file is under MIT license. * check LICENSE to get license information. * */ #ifndef IO_MODULE_CONFIGURATION #define IO_MODULE_CONFIGURATION // include header #include <string> #include <...
25.76
45
(translation_unit) "/*\n * io.h\n *\n * StreamCode IO module configuration Headfile.\n * author: RedoC\n *\n * 2020, DiggieBro. All right reserved.\n * This file is under MIT license.\n * check LICENSE to get license information.\n * */\n\n#ifndef IO_MODULE_CONFIGURATION\n#define IO_MODULE_CONFIGURATION\n\n// include h...
241
3
{"language": "c", "success": true, "metadata": {"lines": 45, "avg_line_length": 25.76, "nodes": 144, "errors": 0, "source_hash": "b5b8cf811a3e94bc1e83d1488f12526c14388bed3193240d76a3ca8890143815", "categorized_nodes": 121}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
77,037
c
// gmshio header #include <cstring> // for "strncmp" #include <cstdlib> // for "exit" #include <cstdio> #include <cmath> #include <vector> #include <map> struct Node { int num; // label double x, y, z; // coordinates Node(int _num = 0, double _x = 0.0, double _y = 0.0, double _z = 0.0) { ...
26.89
37
(translation_unit) "// gmshio header\n\n#include <cstring> // for "strncmp"\n#include <cstdlib> // for "exit"\n#include <cstdio>\n#include <cmath>\n#include <vector>\n#include <map>\n\nstruct Node\n{\n int num; // label\n double x, y, z; // coordinates\n\n Node(int _num = 0, double _x = 0.0, double _y =...
287
19
{"language": "c", "success": true, "metadata": {"lines": 37, "avg_line_length": 26.89, "nodes": 202, "errors": 0, "source_hash": "a0087c9e02bdc23ee353d793891892a27e234be9b21be37c36e76fbc9746cd36", "categorized_nodes": 120}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
77,038
c
#include "message_manage.h" #define C_MAX_SIZE 10 // typedef struct { MessageType_t m_Msg[C_MAX_SIZE]; uint8_t front; uint8_t rear; } SqQueue_t; // static SqQueue_t msgQueue; //// void fn_queue_init(void) { msgQueue.front = msgQueue.rear = 0; } //// uint8_t fn_msg_exist(void) { return msg...
18.26
46
(translation_unit) "#include "message_manage.h"\n\n#define C_MAX_SIZE 10\n//\ntypedef struct\n{\n MessageType_t m_Msg[C_MAX_SIZE];\n uint8_t front;\n uint8_t rear;\n} SqQueue_t;\n\n//\nstatic SqQueue_t msgQueue;\n////\nvoid fn_queue_init(void)\n{\n msgQueue.front = msgQueue.rear = 0;\n}\n////\nuint...
281
0
{"language": "c", "success": true, "metadata": {"lines": 46, "avg_line_length": 18.26, "nodes": 175, "errors": 0, "source_hash": "bab11d20e1a8b7183678cb646e0fe76f1869815accd6282e86e3e3441d554d0c", "categorized_nodes": 132}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
77,039
c
/** * @file SLinkedList_impl.h * @author <NAME> <<EMAIL>> * * @section LICENSE * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * 1. Redistributions of source code must retain the above copyright * notice, ...
30.47
163
(translation_unit) "/**\n * @file SLinkedList_impl.h\n * @author <NAME> <<EMAIL>>\n * \n * @section LICENSE\n * \n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions are met:\n * 1. Redistributions of source code must retain the ab...
1,064
6
{"language": "c", "success": true, "metadata": {"lines": 163, "avg_line_length": 30.47, "nodes": 663, "errors": 0, "source_hash": "8ffa412973e3245a314f4b833258a8abfd937926df61dacf0f0b1ff62d2250bc", "categorized_nodes": 460}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
77,040
c
/* * Copyright (C) 2017 Inria * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup tests * @{ * * @file * @brief MCUBoot compile test application * * @author ...
21.79
28
(translation_unit) "/*\n * Copyright (C) 2017 Inria\n *\n * This file is subject to the terms and conditions of the GNU Lesser\n * General Public License v2.1. See the file LICENSE in the top level\n * directory for more details.\n */\n\n/**\n * @ingroup tests\n * @{\n *\n * @file\n * @brief MCUBoot compile t...
91
0
{"language": "c", "success": true, "metadata": {"lines": 28, "avg_line_length": 21.79, "nodes": 44, "errors": 0, "source_hash": "a55b4175b6514e59117b71107ae7af85775890fc284bdcd0ace6f7cb5560b80e", "categorized_nodes": 30}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
77,041
c
// // CLRollLabel.h // CLRollLabel // // Created by ClaudeLi on 16/5/6. // Copyright © 2016年 ClaudeLi. All rights reserved. // #import <UIKit/UIKit.h> @interface CLRollLabel : UIScrollView @property (nonatomic, strong) NSString *text; // 设置文字 @property(nonatomic,assign) float rollSpeed; // 滚动速度,默认0.5 /** * 初...
24.78
18
(translation_unit) "//\n// CLRollLabel.h\n// CLRollLabel\n//\n// Created by ClaudeLi on 16/5/6.\n// Copyright © 2016年 ClaudeLi. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface CLRollLabel : UIScrollView\n\n@property (nonatomic, strong) NSString *text; // 设置文字\n\n@property(nonatomic,assign) float r...
94
12
{"language": "c", "success": true, "metadata": {"lines": 18, "avg_line_length": 24.78, "nodes": 58, "errors": 0, "source_hash": "8ea8015cd3742b70e7975e50fb0621f009524451c73e08a15b28f2d9fd5f238c", "categorized_nodes": 33}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "port <UIK...
77,042
c
// // NSDictionary+NilNull.h // MobilePrinter // // Created by <NAME> on 2019/7/10. // Copyright © 2019 <NAME>. All rights reserved. // #import <Foundation/Foundation.h> #import <Foundation/NSEnumerator.h> NS_ASSUME_NONNULL_BEGIN @interface NSDictionary (NilNull) - (BOOL)boolForKey:(id<NSCopying>)aKey; - (doubl...
30.96
25
(translation_unit) "//\n// NSDictionary+NilNull.h\n// MobilePrinter\n//\n// Created by <NAME> on 2019/7/10.\n// Copyright © 2019 <NAME>. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n#import <Foundation/NSEnumerator.h>\n\nNS_ASSUME_NONNULL_BEGIN\n\n@interface NSDictionary (NilNull)\n\n- (BOOL)boolF...
229
27
{"language": "c", "success": true, "metadata": {"lines": 25, "avg_line_length": 30.96, "nodes": 148, "errors": 0, "source_hash": "be7de7e285820a68e573b711a2e0a98b8672d48d45777b217900fccb212afb64", "categorized_nodes": 87}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <...
77,043
c
/* Copyright © 2017-2020 ABBYY Production LLC Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing,...
43.34
38
(translation_unit) "/* Copyright © 2017-2020 ABBYY Production LLC\n\nLicensed under the Apache License, Version 2.0 (the "License");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable ...
180
9
{"language": "c", "success": true, "metadata": {"lines": 38, "avg_line_length": 43.34, "nodes": 111, "errors": 0, "source_hash": "e3a3fcf1b56d2d077457f9f48892c79c88ed7a5737098ce6392618ce014f3f11", "categorized_nodes": 78}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "pragma o...
77,044
c
#include <stdio.h> #include <stdlib.h> #include <math.h> #include <string.h> #include "proto.h" #include "bwt.h" #include "mtf.h" #include "zerorun.h" #include "huffman.h" #include "btd.h" #include "revzerorun.h" #include "genint.h" char binstr[9]; int bstrlen = 0; int zrlen = 0; int revzrlen = 0; int gintlen = 0; ...
22.03
277
(translation_unit) "#include <stdio.h>\n#include <stdlib.h>\n#include <math.h>\n#include <string.h>\n#include "proto.h"\n#include "bwt.h"\n#include "mtf.h"\n#include "zerorun.h"\n#include "huffman.h"\n#include "btd.h"\n#include "revzerorun.h"\n#include "genint.h"\n\nchar binstr[9];\nint bstrlen = 0;\n\nint zrlen = 0;\n...
2,254
0
{"language": "c", "success": true, "metadata": {"lines": 277, "avg_line_length": 22.03, "nodes": 1268, "errors": 0, "source_hash": "3b823130d030d565855675b3f111e10ac096733be59253843b273008ec1de2de", "categorized_nodes": 826}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#i...
77,045
c
/* * Copyright (c) 2001-2019, Arm Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause OR Arm’s non-OSI source license */ #ifndef _CHACHA_DRIVER_EXT_DMA_H #define _CHACHA_DRIVER_EXT_DMA_H #include "driver_defs.h" drvError_t FinishChachaExtDma(hashMode_t mode, uint32_t * di...
33.06
16
(translation_unit) "/*\n * Copyright (c) 2001-2019, Arm Limited and Contributors. All rights reserved.\n *\n * SPDX-License-Identifier: BSD-3-Clause OR Arm’s non-OSI source license\n */\n#ifndef _CHACHA_DRIVER_EXT_DMA_H\n#define _CHACHA_DRIVER_EXT_DMA_H\n\n#include "driver_defs.h"\n\n\n\n\ndrvError_t FinishChachaExtD...
74
0
{"language": "c", "success": true, "metadata": {"lines": 16, "avg_line_length": 33.06, "nodes": 54, "errors": 0, "source_hash": "959df7ed2c80f1d9cb3744167361fdeca757cc6d6babfebfce2c9792d25467ea", "categorized_nodes": 37}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "fndef _...
77,046
c
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by <NAME>. // #import "NSObject.h" @class SBPasscodeEntryAlertView; @protocol SBPasscodeEntryAlertViewDelegate <NSObject> @optional - (_Bool)passcodeAlertViewShouldAnimatePresentation:(SBPasscodeEnt...
35.33
12
(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 "NSObject.h"\n\n@class SBPasscodeEntryAlertView;\n\n@protocol SBPasscodeEntryAlertViewDelegate <NSObject>\n\n@optional\n- (_Bool)passcodeAlertViewShouldA...
63
10
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 35.33, "nodes": 39, "errors": 0, "source_hash": "8cae1b2126d31cbe1386985aa9f592a5a63f5008e6f79a85230c3f7e17047c0c", "categorized_nodes": 21}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import \...
77,047
c
#ifndef PRINTER_H #define PRINTER_H #include <cstdint> #include <type_traits> #include <charconv> #include <cstring> namespace stm32::lib { class Printer { public: using OutputFunction = void(*)(const char); public: Printer(bool endLine = false); void registerOutput(OutputFunction out); void printEndLine(b...
23.75
240
(translation_unit) "#ifndef PRINTER_H\n#define PRINTER_H\n\n#include <cstdint>\n#include <type_traits>\n#include <charconv>\n#include <cstring>\n\nnamespace stm32::lib {\n\nclass Printer\n{\npublic:\n using OutputFunction = void(*)(const char);\n\npublic:\n Printer(bool endLine = false);\n\n void registerOutput(Outp...
2,160
97
{"language": "c", "success": true, "metadata": {"lines": 240, "avg_line_length": 23.75, "nodes": 1372, "errors": 0, "source_hash": "343969ab48cefc9585bf1618ed1372ceeebb8f943128ad262c014fa148c161da", "categorized_nodes": 834}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifn...
77,048
c
/* * Copyright (c) 2020, <NAME> <<EMAIL>> * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include <AK/Forward.h> namespace GUI { JsonValue parse_gml(const StringView&); }
17.6
10
(translation_unit) "/*\n * Copyright (c) 2020, <NAME> <<EMAIL>>\n *\n * SPDX-License-Identifier: BSD-2-Clause\n */\n\n#pragma once\n\n#include <AK/Forward.h>\n\nnamespace GUI {\n\nJsonValue parse_gml(const StringView&);\n\n}\n" (comment) "/*\n * Copyright (c) 2020, <NAME> <<EMAIL>>\n *\n * SPDX-License-Identifier: BS...
28
1
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 17.6, "nodes": 16, "errors": 0, "source_hash": "bf4d8441507822f2608de81e217dcae904c916640250743edd0fad5b688350d4", "categorized_nodes": 13}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma on...
77,049
c
// // PayMentBottomView.h // FireCoin // // Created by 王涛 on 2019/5/29. // Copyright © 2019 王涛. All rights reserved. // #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @interface PayMentBottomView : UIView @property(nonatomic, strong)UIButton *showTitleBtn; @property(nonatomic, strong)UILabel *showTextLabel; ...
21.87
15
(translation_unit) "//\n// PayMentBottomView.h\n// FireCoin\n//\n// Created by 王涛 on 2019/5/29.\n// Copyright © 2019 王涛. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\nNS_ASSUME_NONNULL_BEGIN\n\n\n@interface PayMentBottomView : UIView\n\n@property(nonatomic, strong)UIButton *showTitleBtn;\n@property(nonatom...
63
8
{"language": "c", "success": true, "metadata": {"lines": 15, "avg_line_length": 21.87, "nodes": 39, "errors": 0, "source_hash": "929a3a71d1c911cde8f59dbb25e9156e992a4525a673a9529280e02721acecec", "categorized_nodes": 25}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "UIKit/UIK...
77,050
c
// // ViewController.h // JANCodeReader // // Created by <NAME> on 2014/05/01. // Copyright (c) 2014年 <NAME>. All rights reserved. // #import <UIKit/UIKit.h> @interface ViewController : UIViewController @end
20.2
10
(translation_unit) "//\n// ViewController.h\n// JANCodeReader\n//\n// Created by <NAME> on 2014/05/01.\n// Copyright (c) 2014年 <NAME>. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface ViewController : UIViewController\n\n@end\n" (comment) "//" (comment) "// ViewController.h" (comment) "// J...
22
4
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 20.2, "nodes": 12, "errors": 0, "source_hash": "383b43d7d3d38685d4858581e3ce2e5c0ecc5c2a4b730a70470590d90fa7fe74", "categorized_nodes": 6}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "mport <UIKi...
77,051
c
#include <sys/stat.h> #include <sys/time.h> #include <fcntl.h> #include <errno.h> #include "syscall.h" int utimensat(int fd, const char *path, const struct timespec times[2], int flags) { int r = __syscall(SYS_utimensat, fd, path, times, flags); #ifdef SYS_futimesat if (r != -ENOSYS || flags) return __syscall_ret(r)...
26.31
35
(translation_unit) "#include <sys/stat.h>\n#include <sys/time.h>\n#include <fcntl.h>\n#include <errno.h>\n#include "syscall.h"\n\nint utimensat(int fd, const char *path, const struct timespec times[2], int flags)\n{\n int r = __syscall(SYS_utimensat, fd, path, times, flags);\n#ifdef SYS_futimesat\n if (r != -ENOSYS || ...
370
0
{"language": "c", "success": true, "metadata": {"lines": 35, "avg_line_length": 26.31, "nodes": 239, "errors": 0, "source_hash": "ca856aec3e69a99eebecce57f8fa5c0e533250fdc16d737ea4fd8c985b702176", "categorized_nodes": 187}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
77,052
c
/**************************************************************************** ** ** Copyright 2010 <NAME> <<EMAIL>> ** ** $QT_BEGIN_LICENSE:LGPL$ ** 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 Sof...
15.76
159
(translation_unit) "/****************************************************************************\n**\n** Copyright 2010 <NAME> <<EMAIL>>\n**\n** $QT_BEGIN_LICENSE:LGPL$\n** This program is free software; you can redistribute it and/or modify\n** it under the terms of the GNU General Public License as publish...
277
4
{"language": "c", "success": true, "metadata": {"lines": 159, "avg_line_length": 15.76, "nodes": 143, "errors": 0, "source_hash": "e3a0c9851f1c61e8cb924e6d4273b6d634cf3fe29c8f542e9d4a47fec8be3488", "categorized_nodes": 96}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
77,053
c
#include<iostream> #include<conio.h> #define greater(a,b) (a>b?a:b) using namespace std; void main(){ int a,b,c; char x[20],y[20],z[20]; cout<<"\n enter the value of a and b"; cin>>a>>b; c=greater(a,b); cout<<c; cin.ignore(); cout<<"\n enter first string:"; gets(x); cout<<"\n enter the second string:"; gets(y); c=great...
16.89
19
(translation_unit) "#include<iostream>\n#include<conio.h>\n#define greater(a,b) (a>b?a:b)\nusing namespace std;\nvoid main(){\nint a,b,c;\nchar x[20],y[20],z[20];\ncout<<"\n enter the value of a and b";\ncin>>a>>b;\nc=greater(a,b);\ncout<<c;\ncin.ignore();\ncout<<"\n enter first string:";\ngets(x);\ncout<<"\n enter the...
166
1
{"language": "c", "success": true, "metadata": {"lines": 19, "avg_line_length": 16.89, "nodes": 98, "errors": 0, "source_hash": "da85c4b7d7a525a76f18cd26d0dfb566b491abd3388b5dcaa2e00d4ea6cea01d", "categorized_nodes": 70}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
77,054
c
#ifndef FEUP_AEDA_PROJ1_PASSENGER_VEHICLE_H #define FEUP_AEDA_PROJ1_PASSENGER_VEHICLE_H #include "i_vehicle.h" /*! * A PassengerVehicle provides an implementation for a passenger vehicle that is characterized for having a seat number. * The PassengerVehicle is a sub-class of IVehicle. */ class PassengerVehicle : p...
25.15
112
(translation_unit) "#ifndef FEUP_AEDA_PROJ1_PASSENGER_VEHICLE_H\n#define FEUP_AEDA_PROJ1_PASSENGER_VEHICLE_H\n\n#include "i_vehicle.h"\n\n/*!\n * A PassengerVehicle provides an implementation for a passenger vehicle that is characterized for having a seat number.\n * The PassengerVehicle is a sub-class of IVehicle.\n *...
269
25
{"language": "c", "success": true, "metadata": {"lines": 112, "avg_line_length": 25.15, "nodes": 140, "errors": 0, "source_hash": "fc8ef1563b05fc01c972fa7fe621bf7400e419e2b8448cd057a0f59f35ccdbac", "categorized_nodes": 98}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
77,055
c
#ifndef _BULLET_MANAGER_H_ #define _BULLET_MANAGER_H_ #include "GameObject.h" using namespace std; class PlayerBullet: public ShooterObject { public: PlayerBullet(): ShooterObject(){} virtual ~PlayerBullet(); string type() { return "PlayerBullet"; } void load(const unique_ptr<LoaderParams> &params, Ve...
23.88
26
(translation_unit) "#ifndef _BULLET_MANAGER_H_\n#define _BULLET_MANAGER_H_\n\n#include "GameObject.h"\nusing namespace std;\n\nclass PlayerBullet: public ShooterObject\n{\npublic:\n PlayerBullet(): ShooterObject(){}\n virtual ~PlayerBullet();\n string type() { return "PlayerBullet"; }\n void load(const uniq...
197
12
{"language": "c", "success": true, "metadata": {"lines": 26, "avg_line_length": 23.88, "nodes": 110, "errors": 0, "source_hash": "705409f4627bd76b8ac58b50a66aa7b435a082d8481f1b1623683e1ec0880a0b", "categorized_nodes": 71}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "#ifndef _BULLET...
77,056
c
#pragma once #include <functional> #include <memory> #include "Util/NamedPipeListener.h" #include "openvr_driver.h" struct ControllerDiscoveryPipeData { short controllerId; }; class ControllerDiscovery { public: ControllerDiscovery(vr::ETrackedControllerRole role, std::function<void(ControllerDiscoveryPipeData...
29.61
18
(translation_unit) "#pragma once\n\n#include <functional>\n#include <memory>\n\n#include "Util/NamedPipeListener.h"\n#include "openvr_driver.h"\n\nstruct ControllerDiscoveryPipeData {\n short controllerId;\n};\n\nclass ControllerDiscovery {\n public:\n ControllerDiscovery(vr::ETrackedControllerRole role, std::functio...
142
6
{"language": "c", "success": true, "metadata": {"lines": 18, "avg_line_length": 29.61, "nodes": 81, "errors": 0, "source_hash": "583ed65326a524ca53750c914c9218af585f363e65a16b5faee05cf191510d0a", "categorized_nodes": 56}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
77,057
c
#pragma once #include "Globals.h" class GameObject; class Component { public: ALIGN_CLASS_TO_16 enum class Type { NONE = -1, TRANSFORM, MESH, TEXTURE, CANVAS, IMAGE, BUTTON }; Component(GameObject* my_GO, Component::Type comp_type); ~Component(); virtual bool Enable(); virtual bool Upda...
15.69
29
(translation_unit) "#pragma once\n#include "Globals.h"\n\nclass GameObject;\n\nclass Component\n{\npublic:\n ALIGN_CLASS_TO_16\n\n enum class Type\n {\n NONE = -1,\n TRANSFORM,\n MESH,\n TEXTURE, \n CANVAS, \n IMAGE, \n BUTTON\n };\n\n Component(GameObject* my_GO, Component::Type comp_type); \n ~Component(); \n\...
166
7
{"language": "c", "success": true, "metadata": {"lines": 29, "avg_line_length": 15.69, "nodes": 104, "errors": 0, "source_hash": "0a2da8714bca402b87397570e762b52c0f3bf6575262eb04da98036e8eb7cbe9", "categorized_nodes": 74}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma ...
77,058
c
/* * Copyright (C) the libgit2 contributors. All rights reserved. * * This file is part of libgit2, distributed under the GNU GPL v2 with * a Linking Exception. For full terms see the included COPYING file. */ #ifndef INCLUDE_diff_file_h__ #define INCLUDE_diff_file_h__ #include "common.h" #include "diff.h" #inclu...
31.4
50
(translation_unit) "/*\n * Copyright (C) the libgit2 contributors. All rights reserved.\n *\n * This file is part of libgit2, distributed under the GNU GPL v2 with\n * a Linking Exception. For full terms see the included COPYING file.\n */\n#ifndef INCLUDE_diff_file_h__\n#define INCLUDE_diff_file_h__\n\n#include "commo...
268
0
{"language": "c", "success": true, "metadata": {"lines": 50, "avg_line_length": 31.4, "nodes": 188, "errors": 0, "source_hash": "e7bef57f2bc1d5602f7316a302f5ce2bb827416a9f8fa595c0bec7d69d4cc702", "categorized_nodes": 122}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
77,059
c
#ifndef COMPLIANT_CONSTANTASSEMBLEDSOLVER_H #define COMPLIANT_CONSTANTASSEMBLEDSOLVER_H #include "CompliantImplicitSolver.h" namespace sofa { namespace component { namespace odesolver { /** An CompliantImplicitSolver where the assembly is only performed at the first step @warning: only external forces can ...
26.43
30
(translation_unit) "#ifndef COMPLIANT_CONSTANTASSEMBLEDSOLVER_H\n#define COMPLIANT_CONSTANTASSEMBLEDSOLVER_H\n\n\n#include "CompliantImplicitSolver.h"\n\nnamespace sofa {\n\nnamespace component {\n\nnamespace odesolver {\n \n\n\n/** An CompliantImplicitSolver where the assembly is only performed at the first step\n ...
102
5
{"language": "c", "success": true, "metadata": {"lines": 30, "avg_line_length": 26.43, "nodes": 56, "errors": 0, "source_hash": "90d5adf396d9bf8b1193a70d4dea39dae6f33e7906e49b7e5262fd00610595ed", "categorized_nodes": 42}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
77,060
c
/* For more information, please see: http://software.sci.utah.edu The MIT License Copyright (c) 2020 Scientific Computing and Imaging Institute, University of Utah. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the ...
33.99
83
(ERROR) "/*\n For more information, please see: http://software.sci.utah.edu\n\n The MIT License\n\n Copyright (c) 2020 Scientific Computing and Imaging Institute,\n University of Utah.\n\n Permission is hereby granted, free of charge, to any person obtaining a\n copy of this software and associated documen...
424
30
{"language": "c", "success": true, "metadata": {"lines": 83, "avg_line_length": 33.99, "nodes": 238, "errors": 0, "source_hash": "171383b68d94bbeaddc898fa8737e5f6b2e5205d70688c90a266b891f07ff175", "categorized_nodes": 185}, "ast": {"root": "ERROR", "nodes": [{"id": 0, "type": "ERROR", "text": "/*\n For more informati...
77,061
c
#ifndef __idc_macro_h__ #define __idc_macro_h__ #define IDC_MAX_DEVICES_PER_NODE 32 #define IDC_AFFIS(n,a) (((n)+(a)-1)&(~((a)-1))) #ifdef _MSC_VER #define INLINE __forceinline #else #define INLINE inline #endif #ifdef __GNUC__ #if __GNUC__>=4 #define __local_func __attribute__((visibility("hidden...
20.26
19
(translation_unit) "fndef __idc_macro_h__\n#define __idc_macro_h__\n\n#define IDC_MAX_DEVICES_PER_NODE 32\n#define IDC_AFFIS(n,a) (((n)+(a)-1)&(~((a)-1)))\n\n#ifdef _MSC_VER\n#define INLINE __forceinline\n#else\n#define INLINE inline\n#endif\n\n#ifdef __GNUC__\n #if __GNUC__>=4\n #define __local_func __...
62
0
{"language": "c", "success": true, "metadata": {"lines": 19, "avg_line_length": 20.26, "nodes": 58, "errors": 0, "source_hash": "b6f1f48427b383a8dc46229d81539b9351970e47fad25cdc59014bc2a3b84d36", "categorized_nodes": 29}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "fndef __...
77,062
c
#pragma once #include "../namer.h" #include "../../vlasov/tile.h" #include "../../vlasov/amr/mesh.h" /// Write vlv::Tile template<size_t D> bool h5io::Writer::write( const vlv::Tile<D>& tile, ezh5::File& file ) { // internal tile numbering auto my_ind = expand_indices( &tile ); string numbering = crea...
33.05
73
(translation_unit) "#pragma once\n\n#include "../namer.h"\n#include "../../vlasov/tile.h"\n#include "../../vlasov/amr/mesh.h"\n\n/// Write vlv::Tile \ntemplate<size_t D>\nbool\nh5io::Writer::write(\n const vlv::Tile<D>& tile,\n ezh5::File& file\n ) \n{\n\n // internal tile numbering \n auto my_ind = expand_indices...
733
26
{"language": "c", "success": true, "metadata": {"lines": 73, "avg_line_length": 33.05, "nodes": 426, "errors": 0, "source_hash": "8bf6ed66e62944dc2fd4c3b1f3193d34e8f4d83b1b8ea9ef64ccf2d5e8f54d84", "categorized_nodes": 301}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
77,063
c
#pragma once static inline void lighttable_keyboard(GLFWwindow *w, int key, int scancode, int action, int mods) { if(action == GLFW_PRESS) { if(key == GLFW_KEY_E) { if(dt_db_current_imgid(&vkdt.db) != -1u) dt_view_switch(s_view_darkroom); } // TODO: work on selection instead of curren...
26.87
39
(translation_unit) "#pragma once\n\nstatic inline void\nlighttable_keyboard(GLFWwindow *w, int key, int scancode, int action, int mods)\n{\n if(action == GLFW_PRESS)\n {\n if(key == GLFW_KEY_E)\n {\n if(dt_db_current_imgid(&vkdt.db) != -1u)\n dt_view_switch(s_view_darkroom);\n }\n // TODO: wor...
286
0
{"language": "c", "success": true, "metadata": {"lines": 39, "avg_line_length": 26.87, "nodes": 174, "errors": 0, "source_hash": "1e1ab1177a7c0d65a689cba415d34f623360d89dc9637c212b2cc99fd191d81e", "categorized_nodes": 115}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
77,064
c
#ifndef GROUND_H #define GROUND_H #include <vector> #include "../include/Mesh.h" class Ground { public: Ground(); Ground(int x, int z) : _x(x), _z(z) {}; Ground(int x, int z, float sizeX, float sizeZ) : _x(x), _z(z), _sizeX(sizeX), _sizeZ(sizeZ) {}; Mesh* createMesh() { Mesh* mesh; std::vector<Vertex> verti...
20.63
59
(translation_unit) "#ifndef GROUND_H\n#define GROUND_H\n\n#include <vector>\n#include "../include/Mesh.h"\n\nclass Ground\n{\npublic:\n Ground();\n Ground(int x, int z) : _x(x), _z(z) {};\n Ground(int x, int z, float sizeX, float sizeZ) : _x(x), _z(z), _sizeX(sizeX), _sizeZ(sizeZ) {};\n\n Mesh* createMesh()\n {\n Mesh...
591
10
{"language": "c", "success": true, "metadata": {"lines": 59, "avg_line_length": 20.63, "nodes": 390, "errors": 0, "source_hash": "5093c45be05da7efa1905c2db96b79df6f9258c3d0a5e5885a485b4cac4bcb2e", "categorized_nodes": 276}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
77,065
c
#ifndef SOYCORE_H #define SOYCORE_H /* Windows does not define the S_ISREG and S_ISDIR macros in stat.h, so we do. * We have to define _CRT_INTERNAL_NONSTDC_NAMES 1 before #including sys/stat.h * in order for Microsoft's stat.h to define names like S_IFMT, S_IFREG, and S_IFDIR, * rather than just defining...
22.1
288
(translation_unit) "#ifndef SOYCORE_H \n#define SOYCORE_H \n \n/* Windows does not define the S_ISREG and S_ISDIR macros in stat.h, so we do. \n * We have to define _CRT_INTERNAL_NONSTDC_NAMES 1 before #including sys/stat.h \n * in order for Microsoft's stat.h to define names like S_IFMT, S_IFREG, and S_IFDIR, \n * ...
1,695
0
{"language": "c", "success": true, "metadata": {"lines": 288, "avg_line_length": 22.1, "nodes": 1201, "errors": 0, "source_hash": "d706fd812fe169bcda14440cc2f3ed9b355a940d2bd751befa95b3fb22a5893d", "categorized_nodes": 770}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
77,066
c
#pragma once #include "il2cpp-config.h" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #include <stdint.h> #include "mscorlib_System_ValueType3507792607.h" #include "UnityEngine_UnityEngine_Vector32243707580.h" #include "UnityEngine_UnityEngine_Vector22243707579.h" #ifdef __clang__ #p...
37.57
63
(translation_unit) "ragma once\n\n#include "il2cpp-config.h"\n\n#ifndef _MSC_VER\n# include <alloca.h>\n#else\n# include <malloc.h>\n#endif\n\n#include <stdint.h>\n\n#include "mscorlib_System_ValueType3507792607.h"\n#include "UnityEngine_UnityEngine_Vector32243707580.h"\n#include "UnityEngine_UnityEngine_Vector22243707...
466
14
{"language": "c", "success": true, "metadata": {"lines": 63, "avg_line_length": 37.57, "nodes": 291, "errors": 0, "source_hash": "2a6ec6eb07330d24bba7821c4f611bc2f1006aae316d33686b930378607afcc4", "categorized_nodes": 199}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "ragma o...
77,067
c
/* automatically generated by configure */ /* edit configure.ac to change version number */ #define PHP_MAJOR_VERSION 7 #define PHP_MINOR_VERSION 4 #define PHP_RELEASE_VERSION 12 #define PHP_EXTRA_VERSION "" #define PHP_VERSION "7.4.12" #define PHP_VERSION_ID 70412
32.25
8
(translation_unit) "/* automatically generated by configure */\n/* edit configure.ac to change version number */\n#define PHP_MAJOR_VERSION 7\n#define PHP_MINOR_VERSION 4\n#define PHP_RELEASE_VERSION 12\n#define PHP_EXTRA_VERSION ""\n#define PHP_VERSION "7.4.12"\n#define PHP_VERSION_ID 70412\n" (comment) "/* automati...
27
0
{"language": "c", "success": true, "metadata": {"lines": 8, "avg_line_length": 32.25, "nodes": 24, "errors": 0, "source_hash": "92992c60b74a2870c13536e917d63422de2425cb5467effb6cb8add21a6cdab2", "categorized_nodes": 6}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_def", "text": "#define PHP_...
77,068
c
/** * Mojang Authentication API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * OpenAPI spec version: 2020-06-05 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edi...
21.74
148
(translation_unit) "/**\n* Mojang Authentication API\n* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)\n*\n* OpenAPI spec version: 2020-06-05\n* \n*\n* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n* https://openapi...
708
35
{"language": "c", "success": true, "metadata": {"lines": 148, "avg_line_length": 21.74, "nodes": 391, "errors": 0, "source_hash": "fb21f0581c76b5118c2fcb3df42ee1183b3b75d39194f92e18e42a8d28cbd03c", "categorized_nodes": 246}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
77,069
c
////--------------------------------------------------------------------------- //// E L E N A P r o j e c t: ELENA IDEtk //// GUI Kit Header File //// (C)2005-2011, by <NAME> ////-----------------------------------------------------------------------...
28.14
36
(translation_unit) "////---------------------------------------------------------------------------\n//// E L E N A P r o j e c t: ELENA IDEtk\n//// GUI Kit Header File\n//// (C)2005-2011, by <NAME>\n////-----------------------------------------------...
37
0
{"language": "c", "success": true, "metadata": {"lines": 36, "avg_line_length": 28.14, "nodes": 0, "errors": 0, "source_hash": "34d19b3c21ad9978de5272d6d6f85106519a365773210d6ea77399f032b6f008", "categorized_nodes": 0}, "ast": {"root": "translation_unit", "nodes": []}, "node_categories": {"declarations": {"functions": ...
77,070
c
/*********************************************************************** *Copyright (C) 2005 ���ڰ��ƴ������޹�˾��ƷӦ��һ�� * All rights reserved. *File name: �� SysWorkPara.c *Version: ��0.1 *Author: Jordan.chen *update: 2011-12-19 *Description: ��Ҫ��ϵͳ���ò����Ĺ����� *History: **************...
24.82
322
(translation_unit) "/***********************************************************************\n*Copyright (C) 2005 ���ڰ��ƴ������޹�˾��ƷӦ��һ��\n* All rights reserved.\n\n*File name: �� SysWorkPara.c\n*Version: ��0.1\n*Author: Jordan.chen\n*update: 2011-12-19\n\n*Description:\n ��Ҫ��ϵͳ���ò����Ĺ���...
1,992
4
{"language": "c", "success": true, "metadata": {"lines": 322, "avg_line_length": 24.82, "nodes": 1176, "errors": 0, "source_hash": "927cd5e9aa4ea9633404d4e232630709fa98b35077f60be73fab95a96c7d3975", "categorized_nodes": 992}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_def", "text": "al.h\"...
77,071
c
#ifndef APPROVALTESTS_CPP_COMBINATIONREPORTER_H #define APPROVALTESTS_CPP_COMBINATIONREPORTER_H #include "ApprovalTests/core/Reporter.h" #include <memory> #include <vector> namespace ApprovalTests { class CombinationReporter : public Reporter { private: std::vector< std::unique_ptr<Reporter> > reporters; public: ...
28.26
31
(translation_unit) "#ifndef APPROVALTESTS_CPP_COMBINATIONREPORTER_H\n#define APPROVALTESTS_CPP_COMBINATIONREPORTER_H\n\n#include "ApprovalTests/core/Reporter.h"\n#include <memory>\n#include <vector>\n\nnamespace ApprovalTests {\nclass CombinationReporter : public Reporter\n{\nprivate:\n std::vector< std::unique_ptr<...
194
15
{"language": "c", "success": true, "metadata": {"lines": 31, "avg_line_length": 28.26, "nodes": 113, "errors": 0, "source_hash": "523b6e3e6f8df270a5654cecf44511dd6aa2eb99b7d4f53557a9dc7d09dcc952", "categorized_nodes": 77}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
77,072
c
#ifndef __UI_IMAGE_LIST_H__ #define __UI_IMAGE_LIST_H__ #ifdef _DEBUG_MEM_LEAKS #ifdef new #undef new #endif //new #endif //_DEBUG_MEM_LEAKS #include <vector> #ifdef _DEBUG_MEM_LEAKS #ifdef DBG_NORMAL_BLOCK #define new DBG_NORMAL_BLOCK #endif //DBG_NORMAL_BLOCK #endif //_DEBUG_MEM_LEAKS //#pra...
18.93
155
(translation_unit) "#ifndef __UI_IMAGE_LIST_H__ \n#define __UI_IMAGE_LIST_H__ \n \n#ifdef _DEBUG_MEM_LEAKS \n#ifdef new \n#undef new \n#endif //new \n#endif //_DEBUG_MEM_LEAKS \n \n#include <vector> \n \n#ifdef _DEBUG_MEM_LEAKS \n \n#ifdef DBG_NORMAL_BLOCK \n#define new DBG_NORMAL_BLOCK \n#endif //DBG_NORMAL_BLOCK \n ...
633
15
{"language": "c", "success": true, "metadata": {"lines": 155, "avg_line_length": 18.93, "nodes": 421, "errors": 0, "source_hash": "18fb1ad045abfba8fd1b88d29214dc7372514a1137a398b0d2498c0fedf29db0", "categorized_nodes": 294}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "#ifndef __UI_...
77,073
c
/* This header file contains the Piece class. */ #ifndef _PIECE_H #define _PIECE_H #include <iostream> #include <SFML/Graphics.hpp> #include <string> #include <vector> #include "pieceTextures.h" class Piece : public sf::Drawable{ public: Piece(char type='P', bool player=true, int pos=-1, bool moved=false) ...
35.96
45
(translation_unit) "/*\n This header file contains the Piece class.\n*/\n\n#ifndef _PIECE_H\n#define _PIECE_H\n\n#include <iostream>\n#include <SFML/Graphics.hpp>\n#include <string>\n#include <vector>\n#include "pieceTextures.h"\n\nclass Piece : public sf::Drawable{\n\npublic:\n\n Piece(char type='P', bool player...
510
17
{"language": "c", "success": true, "metadata": {"lines": 45, "avg_line_length": 35.96, "nodes": 305, "errors": 0, "source_hash": "7dd2b79c1f42df71510367be93e31f379aefd44aefe298d99790a001092991b3", "categorized_nodes": 201}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
77,074
c
#pragma once #include "Behaviour.h" //Decorators modify the child's behaviourstate class BehaviourDecorator : public Behaviour { public: BehaviourDecorator(std::string name) : Behaviour::Behaviour(name) {}; virtual ~BehaviourDecorator(); virtual BehaviourState Execute(AIAgent* agent) override = 0; ...
27.43
14
(translation_unit) "#pragma once\n#include "Behaviour.h"\n\n//Decorators modify the child's behaviourstate\nclass BehaviourDecorator :\n public Behaviour\n{\npublic:\n BehaviourDecorator(std::string name) : Behaviour::Behaviour(name) {};\n virtual ~BehaviourDecorator();\n\n virtual BehaviourState Execute(AI...
109
5
{"language": "c", "success": true, "metadata": {"lines": 14, "avg_line_length": 27.43, "nodes": 68, "errors": 0, "source_hash": "aedbeac32980bf24ff6a4848aad427b479b74d18db5042e60f79918e3f755d20", "categorized_nodes": 38}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
77,075
c
// Copyright 2011 Google Inc. All Rights Reserved. // // This code is licensed under the same terms as WebM: // Software License Agreement: http://www.webmproject.org/license/software/ // Additional IP Rights Grant: http://www.webmproject.org/license/additional/ // ---------------------------------------------...
32.63
364
(translation_unit) "// Copyright 2011 Google Inc. All Rights Reserved. \n// \n// This code is licensed under the same terms as WebM: \n// Software License Agreement: http://www.webmproject.org/license/software/ \n// Additional IP Rights Grant: http://www.webmproject.org/license/additional/ \n// --------------------...
3,428
1
{"language": "c", "success": true, "metadata": {"lines": 364, "avg_line_length": 32.63, "nodes": 2129, "errors": 0, "source_hash": "61a23d75e02da9914b57730c248bf6b3c83c0d46d1ff8f0d351b0748da81bcf4", "categorized_nodes": 1559}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#...
77,076
c
#include<stdio.h> void copia_vetor(int origem[], int copia[],int tam){ if(tam>0){ copia[tam-1] = origem[tam-1]; copia_vetor(origem,copia,tam-1); }else if(tam==0){ copia[0] = origem[0]; } } int main(void){ int tam; scanf("%d",&tam); int v1[tam],v2[tam]; for(int ...
19
25
(translation_unit) "#include<stdio.h>\n\nvoid copia_vetor(int origem[], int copia[],int tam){\n if(tam>0){\n copia[tam-1] = origem[tam-1];\n copia_vetor(origem,copia,tam-1);\n }else if(tam==0){\n copia[0] = origem[0];\n }\n}\n\nint main(void){\n int tam;\n scanf("%d",&tam);\n int ...
258
0
{"language": "c", "success": true, "metadata": {"lines": 25, "avg_line_length": 19.0, "nodes": 143, "errors": 0, "source_hash": "9870307c778ebe67efe07060b926ec0199a6a21d58d9f4f37955eb1afe226e16", "categorized_nodes": 104}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
77,077
c
#pragma once #include "MedusaExtensionPreDeclares.h" MEDUSA_BEGIN; enum class AnalyticsCurrencyType { CNY, USD, EUR }; MEDUSA_END;
12.6
10
(translation_unit) "#pragma once\n#include "MedusaExtensionPreDeclares.h"\nMEDUSA_BEGIN;\nenum class AnalyticsCurrencyType\n{\n CNY, \n USD, \n EUR\n};\n\nMEDUSA_END;\n" (preproc_call) "#pragma once\n" (preproc_directive) "#pragma" (preproc_arg) "once" (preproc_include) "#include "MedusaExtensionPreDeclares...
34
0
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 12.6, "nodes": 17, "errors": 0, "source_hash": "7a842726fc1851df53150e8b3b10a48253a690cb8ee6dd31e035b693c41cc66c", "categorized_nodes": 15}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma on...
77,078
c
// // AMMethod2Implement.h // AMMethod2Implement // // Created by Mellong on 14-4-15. // Copyright (c) 2014年 Tendencystudio. All rights reserved. // #import <AppKit/AppKit.h> @interface AMMethod2Implement : NSObject @end
19.55
11
(translation_unit) "//\n// AMMethod2Implement.h\n// AMMethod2Implement\n//\n// Created by Mellong on 14-4-15.\n// Copyright (c) 2014年 Tendencystudio. All rights reserved.\n//\n\n#import <AppKit/AppKit.h>\n\n@interface AMMethod2Implement : NSObject\n\n\n@end" (comment) "//" (comment) "// AMMethod2Implement.h" ...
19
3
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 19.55, "nodes": 10, "errors": 0, "source_hash": "2da538ef54419bc855e0aa2016685287c2e381fdf698573f2482f35d2fd0d75a", "categorized_nodes": 5}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "mport <App...
77,079
c
#ifndef _jogo_h #define _jogo_h #include <string.h> #include <allegro5/allegro.h> #include <allegro5/allegro_ttf.h> #include <allegro5/allegro_font.h> #include <allegro5/allegro_acodec.h> #include <allegro5/allegro_audio.h> #include <allegro5/allegro_native_dialog.h> #include <allegro5/allegro_primitives.h...
18.81
52
(translation_unit) "#ifndef _jogo_h \n#define _jogo_h \n \n#include <string.h> \n \n#include <allegro5/allegro.h> \n#include <allegro5/allegro_ttf.h> \n#include <allegro5/allegro_font.h> \n#include <allegro5/allegro_acodec.h> \n#include <allegro5/allegro_audio.h> \n#include <allegro5/allegro_native_dialog.h> \n#include...
218
0
{"language": "c", "success": true, "metadata": {"lines": 52, "avg_line_length": 18.81, "nodes": 165, "errors": 0, "source_hash": "e32413fdf22d78d8b445f61a50aa3b1dca1a1c1633fe8c7a6c567a6dc8fce69a", "categorized_nodes": 124}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
77,080
c
// // LoginViewController.h // InstaCam // // Created by belchercd on 7/8/19. // Copyright © 2019 belchercd. All rights reserved. // #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @interface LoginViewController : UIViewController - (IBAction)loginButton:(id)sender; - (IBAction)signupButton:(id)sender; @propert...
24.94
18
(translation_unit) "//\n// LoginViewController.h\n// InstaCam\n//\n// Created by belchercd on 7/8/19.\n// Copyright © 2019 belchercd. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n\nNS_ASSUME_NONNULL_BEGIN\n\n@interface LoginViewController : UIViewController\n- (IBAction)loginButton:(id)sender;\n- (IBActio...
95
10
{"language": "c", "success": true, "metadata": {"lines": 18, "avg_line_length": 24.94, "nodes": 61, "errors": 0, "source_hash": "c040ca13addc3dfc363d8c063937627dfbbdae335e40825ed4d18f25e391969c", "categorized_nodes": 38}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <U...
77,081
c
// // NIPVersionUpdater.h // NSIP // // Created by 赵松 on 16/12/8. // Copyright © 2016年 netease. All rights reserved. // #import "NIPAction.h" typedef void (^SimpleCompletionBlock)(void); @interface NIPVersionUpdater : NIPAction @property (nonatomic,strong) NSString *maxVersion; @property (nonatomic,strong) NS...
37.95
20
(translation_unit) "//\n// NIPVersionUpdater.h\n// NSIP\n//\n// Created by 赵松 on 16/12/8.\n// Copyright © 2016年 netease. All rights reserved.\n//\n\n#import "NIPAction.h"\n\ntypedef void (^SimpleCompletionBlock)(void);\n\n@interface NIPVersionUpdater : NIPAction\n\n@property (nonatomic,strong) NSString *maxVersio...
201
37
{"language": "c", "success": true, "metadata": {"lines": 20, "avg_line_length": 37.95, "nodes": 142, "errors": 0, "source_hash": "1d1bef54012ff26fef61eda26ff542b9c3c76c5c48f9a2c730f77963d5724644", "categorized_nodes": 75}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": " \"NIPAc...
77,082
c
/* * Copyright (C) 2005-2019 Centre National d'Etudes Spatiales (CNES) * Copyright (C) 2007-2012 Institut Mines Telecom / Telecom Bretagne * * This file is part of Orfeo Toolbox * * https://www.orfeo-toolbox.org/ * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this fil...
30.05
61
(translation_unit) "/*\n * Copyright (C) 2005-2019 Centre National d'Etudes Spatiales (CNES)\n * Copyright (C) 2007-2012 Institut Mines Telecom / Telecom Bretagne\n *\n * This file is part of Orfeo Toolbox\n *\n * https://www.orfeo-toolbox.org/\n *\n * Licensed under the Apache License, Version 2.0 (the "License");...
133
2
{"language": "c", "success": true, "metadata": {"lines": 61, "avg_line_length": 30.05, "nodes": 80, "errors": 0, "source_hash": "b385dba2856de4da86e49989726f7f0672b0f4c38412e495f519fe76c13fc460", "categorized_nodes": 56}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
77,083
c
#ifndef MUI_H #define MUI_H #include "mres.h" #include "matlastexture.h" class MUI : public MRes { GDCLASS(MUI, MRes); public: MUI(); ~MUI(); Ref<Texture> GetSkin(const String& v); virtual bool Load() override; virtual bool Fill(PoolByteArray db) override; virtual void Init() override; Vector<Ref<Image> > img...
21
17
(translation_unit) "#ifndef MUI_H\n#define MUI_H\n#include "mres.h"\n#include "matlastexture.h"\n\nclass MUI : public MRes {\n GDCLASS(MUI, MRes);\npublic:\n MUI();\n ~MUI();\n Ref<Texture> GetSkin(const String& v);\n virtual bool Load() override;\n virtual bool Fill(PoolByteArray db) override;\n virtual void Init() ov...
139
7
{"language": "c", "success": true, "metadata": {"lines": 17, "avg_line_length": 21.0, "nodes": 90, "errors": 0, "source_hash": "a9b7d34924515c4e13c37cc2b622b6c5f41d0fbe38f56f5d2d96e6de15e1c018", "categorized_nodes": 62}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef M...
77,084
c
// // RgUploadImageViewController.h // RgFeinno // // Created by <NAME> on 16/9/14. // Copyright © 2016年 RogueAndy. All rights reserved. // #import "RgBaseViewController.h" @interface RgUploadImageViewController : RgBaseViewController @end
21.27
11
(translation_unit) "//\n// RgUploadImageViewController.h\n// RgFeinno\n//\n// Created by <NAME> on 16/9/14.\n// Copyright © 2016年 RogueAndy. All rights reserved.\n//\n\n#import "RgBaseViewController.h"\n\n@interface RgUploadImageViewController : RgBaseViewController\n\n\n\n@end\n" (comment) "//" (comment) "// ...
19
3
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 21.27, "nodes": 10, "errors": 0, "source_hash": "b8ca2ffca7ec39f4cbe5e9fce93faddbff478696f3e0fbb2b43856d931091ac5", "categorized_nodes": 5}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "port \"RgB...
77,085
c
#pragma once #include <GLUL/Config.h> #include <GLUL/G2D/TexturedBatch.h> #include <glm/vec3.hpp> #include <glm/vec4.hpp> namespace GLUL { namespace G2D { class GLUL_API TexturedPrimitive { public: virtual void render(const GL::Texture& texture, unsigned int textureUnit = 0...
44.92
24
(translation_unit) "#pragma once\n\n#include <GLUL/Config.h>\n#include <GLUL/G2D/TexturedBatch.h>\n\n#include <glm/vec3.hpp>\n#include <glm/vec4.hpp>\n\n\nnamespace GLUL {\n\n namespace G2D {\n\n class GLUL_API TexturedPrimitive {\n public:\n virtual void render(const GL::Texture& te...
291
22
{"language": "c", "success": true, "metadata": {"lines": 24, "avg_line_length": 44.92, "nodes": 171, "errors": 0, "source_hash": "4bdb6c87e8e37ecadd64c3e38b56e955ec1c2c6e02d200716be05c087ad1e757", "categorized_nodes": 121}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
77,086
c
#ifndef _NO_EXECVE /* execv.c */ /* This and the other exec*.c files in this directory require the target to provide the _execve syscall. */ #include <_ansi.h> #include <unistd.h> /* Only deal with a pointer to environ, to work around subtle bugs with shared libraries and/or small data systems where the use...
30.24
17
(translation_unit) "#ifndef _NO_EXECVE\n\n/* execv.c */\n\n/* This and the other exec*.c files in this directory require \n the target to provide the _execve syscall. */\n\n#include <_ansi.h>\n#include <unistd.h>\n\n/* Only deal with a pointer to environ, to work around subtle bugs with shared\n libraries and/or s...
86
0
{"language": "c", "success": true, "metadata": {"lines": 17, "avg_line_length": 30.24, "nodes": 55, "errors": 0, "source_hash": "669f3d33f52c5b25afb72656b8108903f68e91ca8fb0e29aa85208128615463e", "categorized_nodes": 29}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
77,087
c
/* Copyright 2020 <NAME> (https://github.com/adamgreen/) Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable la...
32.2
81
(translation_unit) "/* Copyright 2020 <NAME> (https://github.com/adamgreen/)\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 http://www.apache.org/licenses/LICENSE-2.0\n Unless ...
231
2
{"language": "c", "success": true, "metadata": {"lines": 81, "avg_line_length": 32.2, "nodes": 126, "errors": 0, "source_hash": "9825fb019cc60fff53b61740698513f440c6f61f047e59823296c3101472c0a2", "categorized_nodes": 87}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
77,088
c
/* 113. Program to delete an element from array. */ #include<stdio.h> #include<conio.h> void main() { int array[100], position, c, n; clrscr(); printf("Enter total number of elements in array : "); scanf("%d", &n); printf("\nEnter element %d : ", n); for (c = 0; c < n; c++) scanf(...
27.65
26
(translation_unit) "/* 113. Program to delete an element from array. */\n\n#include<stdio.h>\n#include<conio.h>\n\nvoid main()\n{\n int array[100], position, c, n;\n clrscr();\n\n printf("Enter total number of elements in array : ");\n scanf("%d", &n);\n\n printf("\nEnter element %d : ", n);\n\n for...
268
0
{"language": "c", "success": true, "metadata": {"lines": 26, "avg_line_length": 27.65, "nodes": 144, "errors": 0, "source_hash": "d89f11d20d4a319dacc680f17e394f15683e777dd124c7017407257dc5e689f9", "categorized_nodes": 107}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
77,089
c
#pragma once /* https://github.com/zimpha/algorithmic-library/blob/master/StringUtility/eerTree.cc https://arxiv.org/abs/1506.04862 EERTREE: An Efficient Data Structure for Processing Palindromes in Strings    Properties:   1) Nodes and edges of an eerTree form two weakly connected components:   the tree of ...
39.96
203
(translation_unit) "ragma once\n\n/*\n https://github.com/zimpha/algorithmic-library/blob/master/StringUtility/eerTree.cc\n https://arxiv.org/abs/1506.04862\n\n EERTREE: An Efficient Data Structure for Processing Palindromes in Strings\n \n Properties:\n  1) Nodes and edges of an eerTree form two weakly connected comp...
1,960
22
{"language": "c", "success": true, "metadata": {"lines": 203, "avg_line_length": 39.96, "nodes": 1141, "errors": 0, "source_hash": "0497121d32b320ba97f58b2d37d2133df6d00f9383dfaaa0a28913fce464e916", "categorized_nodes": 874}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "ragma...
77,090
c
#include "../bml_add.h" #include "../bml_logger.h" #include "../bml_types.h" #include "bml_add_ellsort.h" #include "bml_types_ellsort.h" #include <stdlib.h> #include <string.h> /** Matrix addition. * * \f$ A = \alpha A + \beta B \f$ * * \ingroup add_group * * \param A Matrix A * \param B Matrix B * \param alp...
26.86
170
(translation_unit) "#include "../bml_add.h"\n#include "../bml_logger.h"\n#include "../bml_types.h"\n#include "bml_add_ellsort.h"\n#include "bml_types_ellsort.h"\n\n#include <stdlib.h>\n#include <string.h>\n\n/** Matrix addition.\n *\n * \f$ A = \alpha A + \beta B \f$\n *\n * \ingroup add_group\n *\n * \param A Matrix A...
644
0
{"language": "c", "success": true, "metadata": {"lines": 170, "avg_line_length": 26.86, "nodes": 380, "errors": 0, "source_hash": "ba5f5f5f1f241307f8169ce4770b64b92078768bb6d29d06563a8b5066341685", "categorized_nodes": 274}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
77,091
c
#ifndef __WAVESABRECORE_H__ #define __WAVESABRECORE_H__ #include "WaveSabreCore/Device.h" #include "WaveSabreCore/SynthDevice.h" #include "WaveSabreCore/Helpers.h" #include "WaveSabreCore/Envelope.h" #include "WaveSabreCore/BiquadFilter.h" #include "WaveSabreCore/StateVariableFilter.h" #include "WaveSabreCo...
28
20
(translation_unit) "#ifndef __WAVESABRECORE_H__ \n#define __WAVESABRECORE_H__ \n \n#include "WaveSabreCore/Device.h" \n#include "WaveSabreCore/SynthDevice.h" \n \n#include "WaveSabreCore/Helpers.h" \n#include "WaveSabreCore/Envelope.h" \n#include "WaveSabreCore/BiquadFilter.h" \n#include "WaveSabreCore/StateVariableFil...
86
0
{"language": "c", "success": true, "metadata": {"lines": 20, "avg_line_length": 28.0, "nodes": 46, "errors": 0, "source_hash": "c3908964f43e0d7980b4cd89960c37f2c61b92f86cc000d130f12a01ac39f4e6", "categorized_nodes": 44}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef _...
77,092
c
/* Copyright 2009 Music and Entertainment Technology Laboratory - Drexel University 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 requi...
28.46
46
(translation_unit) "/*\n Copyright 2009 Music and Entertainment Technology Laboratory - Drexel University\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/...
269
1
{"language": "c", "success": true, "metadata": {"lines": 46, "avg_line_length": 28.46, "nodes": 188, "errors": 0, "source_hash": "bb2961c2701f925a3ed327f955e9aaa05e917be864eaa4ba262b1861f741fe13", "categorized_nodes": 99}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
77,093
c
/* * This header is generated by classdump-dyld 1.0 * on Sunday, June 7, 2020 at 11:42:37 AM Mountain Standard Time * Operating System: Version 13.4.5 (Build 17L562) * Image Source: /System/Library/PrivateFrameworks/ATVSlideshow.framework/ATVSlideshow * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by <...
32.16
44
(translation_unit) "/*\n* This header is generated by classdump-dyld 1.0\n* on Sunday, June 7, 2020 at 11:42:37 AM Mountain Standard Time\n* Operating System: Version 13.4.5 (Build 17L562)\n* Image Source: /System/Library/PrivateFrameworks/ATVSlideshow.framework/ATVSlideshow\n* classdump-dyld is licensed under GPLv3, C...
421
29
{"language": "c", "success": true, "metadata": {"lines": 44, "avg_line_length": 32.16, "nodes": 241, "errors": 0, "source_hash": "19e314950944283f68d19674896a9f390877ea8993dfe8ca98dd667a27c81fd1", "categorized_nodes": 154}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "c", "parent": ...
77,094
c
// Generic and platform independent bitwise functions library // Copyright (C) 2020, <NAME> <<EMAIL>>. // Licensed under the Apache License, Version 2.0. #ifndef CREN_BITFUNCS_H #define CREN_BITFUNCS_H #include <stdint.h> /** * Count leading zeros in an 8-bit unsigned int */ unsigned uint8_clz(uint8_t x); /** * Co...
25.04
23
(translation_unit) "// Generic and platform independent bitwise functions library\n// Copyright (C) 2020, <NAME> <<EMAIL>>.\n// Licensed under the Apache License, Version 2.0.\n\n#ifndef CREN_BITFUNCS_H\n#define CREN_BITFUNCS_H\n\n#include <stdint.h>\n\n/**\n* Count leading zeros in an 8-bit unsigned int\n*/\nunsigned ...
67
0
{"language": "c", "success": true, "metadata": {"lines": 23, "avg_line_length": 25.04, "nodes": 46, "errors": 0, "source_hash": "8009a7d5b92b636ab6add4531a15e4f5623e14b60cb163c49588f1c8ce372fea", "categorized_nodes": 32}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
77,095
c
/** * ------------------------------------------ * Project : Interpreter jazyka IFJ11 * Name : <NAME> * File : my_memory.c * Authors : <NAME> (xhalak00) * : <NAME> (xbarti00) * : <NAME> (xgoldm03) * : <NAME> (xblask00) * ------------------------------------------ */ #include <s...
17.6
176
(translation_unit) "/**\n * ------------------------------------------\n * Project : Interpreter jazyka IFJ11 \n * Name : <NAME>\n * File : my_memory.c\n * Authors : <NAME> (xhalak00)\n * : <NAME> (xbarti00)\n * : <NAME> (xgoldm03)\n * : <NAME> (xblask00)\n * ------------------------------...
782
0
{"language": "c", "success": true, "metadata": {"lines": 176, "avg_line_length": 17.6, "nodes": 478, "errors": 0, "source_hash": "d90a26e968bb6d7155c1f9af8cc9d82dd9436407ba5f0e3396c428272111bdc9", "categorized_nodes": 308}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
77,096
c
// ____ ______ __ // / __ \ / ____// / // / /_/ // / / / // / ____// /___ / /___ PixInsight Class Library // /_/ \____//_____/ PCL 02.01.01.0784 // ---------------------------------------------------------------------------- // Standard INDIClient Process Module Version 01.00.07.0141 // ---------...
39.09
264
(translation_unit) "// ____ ______ __\n// / __ \ / ____// /\n// / /_/ // / / /\n// / ____// /___ / /___ PixInsight Class Library\n// /_/ \____//_____/ PCL 02.01.01.0784\n// ----------------------------------------------------------------------------\n// Standard INDIClient Process Module Version ...
1,380
55
{"language": "c", "success": true, "metadata": {"lines": 264, "avg_line_length": 39.09, "nodes": 853, "errors": 0, "source_hash": "776cd06c726a0e5b302ed50deb8391988e955acf4b83c688d0f2e1e655df5bb3", "categorized_nodes": 671}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "#ifndef __IND...
77,097
c
#include <assert.h> #include <arch/x86/timing/cpu.h> #include <arch/x86/emu/context.h> #include <lib/esim/esim.h> #include <lib/util/debug.h> #include <lib/util/misc.h> #include <lib/util/string.h> #include "module.h" /* * Private structures */ struct cache_partitioning_t { /* Pointer to the struct describing t...
30.46
222
(translation_unit) "#include <assert.h>\n\n#include <arch/x86/timing/cpu.h>\n#include <arch/x86/emu/context.h>\n#include <lib/esim/esim.h>\n#include <lib/util/debug.h>\n#include <lib/util/misc.h>\n#include <lib/util/string.h>\n\n#include "module.h"\n\n\n/*\n * Private structures\n*/\n\n\nstruct cache_partitioning_t\n{\...
1,447
0
{"language": "c", "success": true, "metadata": {"lines": 222, "avg_line_length": 30.46, "nodes": 920, "errors": 0, "source_hash": "9c9495de7eecfc05de5816b48b8c77511891401b5edb48eb49529209734eb285", "categorized_nodes": 644}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
77,098
c
// Copyright (c) 2019 Slack Technologies, Inc. // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. #ifndef SHELL_BROWSER_API_ATOM_API_NATIVE_THEME_H_ #define SHELL_BROWSER_API_ATOM_API_NATIVE_THEME_H_ #include "shell/browser/api/event_emitter.h" #include "ui/native_them...
37.83
48
(translation_unit) "// Copyright (c) 2019 Slack Technologies, Inc.\n// Use of this source code is governed by the MIT license that can be\n// found in the LICENSE file.\n\n#ifndef SHELL_BROWSER_API_ATOM_API_NATIVE_THEME_H_\n#define SHELL_BROWSER_API_ATOM_API_NATIVE_THEME_H_\n\n#include "shell/browser/api/event_emitter....
426
25
{"language": "c", "success": true, "metadata": {"lines": 48, "avg_line_length": 37.83, "nodes": 247, "errors": 0, "source_hash": "9a1d4cec0774a67c613ad40056b344dbc3b8c181097fa94a10172f292f415a8d", "categorized_nodes": 158}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
77,099