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
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by <NAME>. // #import "TWTRBaseSession.h" @class NSString; @protocol TWTRAuthSession <TWTRBaseSession> @property(readonly, copy, nonatomic) NSString *userID; @property(readonly, copy, nonatomic) NSSt...
32.58
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 "TWTRBaseSession.h"\n\n@class NSString;\n\n@protocol TWTRAuthSession <TWTRBaseSession>\n@property(readonly, copy, nonatomic) NSString *userID;\n@property...
85
16
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 32.58, "nodes": 61, "errors": 0, "source_hash": "378bfe782418fb5309e89c34d574692d1316d2ac76947500308d43c4bb81f058", "categorized_nodes": 30}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import \...
600
c
/* ------------------------------------------------------------------------------------------ Copyright (c) 2014 Vinyl Games Studio Author: <NAME> Date: 9/3/2014 2:39:05 PM ------------------------------------------------------------------------------------------ */ #ifndef __COMPONENT_H__ #de...
27.02
42
(translation_unit) "/*\n------------------------------------------------------------------------------------------\n Copyright (c) 2014 Vinyl Games Studio\n \n\n\n Author: <NAME>\n Date: 9/3/2014 2:39:05 PM\n------------------------------------------------------------------------------------------\n*/...
202
5
{"language": "c", "success": true, "metadata": {"lines": 42, "avg_line_length": 27.02, "nodes": 118, "errors": 0, "source_hash": "e5800b0405df79719ca6f077787605cb2a6edfb3761bd0eaec2f8b7eab3e1e6e", "categorized_nodes": 78}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
601
c
/* * Copyright (C) 2018-2019 <NAME> */ #include "convert.h" #include <stdlib.h> /* strtol(), strtoul(), strtod() */ #include <vtm/core/blob.h> #include <vtm/core/format.h> #include <vtm/core/string.h> char* vtm_conv_int64_str(int64_t num) { return vtm_str_printf("%" PRId64, num); } char* vtm_conv_uint64_str(uint...
19.56
45
(translation_unit) "/*\n * Copyright (C) 2018-2019 <NAME>\n */\n\n#include "convert.h"\n\n#include <stdlib.h> /* strtol(), strtoul(), strtod() */\n#include <vtm/core/blob.h>\n#include <vtm/core/format.h>\n#include <vtm/core/string.h>\n\nchar* vtm_conv_int64_str(int64_t num)\n{\n return vtm_str_printf("%" PRId64, num);\...
319
0
{"language": "c", "success": true, "metadata": {"lines": 45, "avg_line_length": 19.56, "nodes": 198, "errors": 0, "source_hash": "fc58a00c473ada863860a7be906932e213a3df7b166663ad45bf550e02667edf", "categorized_nodes": 126}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
602
c
#ifndef CONTACTINFOHISTORYWIDGET_H #define CONTACTINFOHISTORYWIDGET_H #include <QWidget> namespace Ui { class ContactInfoHistoryWidget; } class ContactInfoHistoryWidget : public QWidget { Q_OBJECT public: explicit ContactInfoHistoryWidget(QWidget *parent = 0); ~ContactInfoHistoryWidget(); void show...
29
28
(translation_unit) "#ifndef CONTACTINFOHISTORYWIDGET_H\n#define CONTACTINFOHISTORYWIDGET_H\n\n#include <QWidget>\n\nnamespace Ui {\nclass ContactInfoHistoryWidget;\n}\n\nclass ContactInfoHistoryWidget : public QWidget\n{\n Q_OBJECT\n\npublic:\n explicit ContactInfoHistoryWidget(QWidget *parent = 0);\n ~Contact...
185
7
{"language": "c", "success": true, "metadata": {"lines": 28, "avg_line_length": 29.0, "nodes": 114, "errors": 0, "source_hash": "412bd1ba885f092ec16b4f9e7faedc4eb0c7e52da43620a0f88421c666712f4a", "categorized_nodes": 76}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
603
c
/** * @file * @brief Onewire WS2812B command handlers. * @copyright 2015 [DeviceHive](http://devicehive.com) * @author <NAME> */ #ifndef _COMMANDS_WS2812B_CMD_H_ #define _COMMANDS_WS2812B_CMD_H_ #include "user_config.h" #if defined(DH_COMMANDS_ONEWIRE) // onewire WS2812B command handlers #include "dhsender_data.h...
33
19
(translation_unit) "/**\n * @file\n * @brief Onewire WS2812B command handlers.\n * @copyright 2015 [DeviceHive](http://devicehive.com)\n * @author <NAME>\n */\n#ifndef _COMMANDS_WS2812B_CMD_H_\n#define _COMMANDS_WS2812B_CMD_H_\n\n#include "user_config.h"\n#if defined(DH_COMMANDS_ONEWIRE) // onewire WS2812B command hand...
75
0
{"language": "c", "success": true, "metadata": {"lines": 19, "avg_line_length": 33.0, "nodes": 48, "errors": 0, "source_hash": "e34195676eac0e352d80d2cf8a58b43efbe244382d87f2827c424ddc2a56bdaf", "categorized_nodes": 31}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef _...
604
c
/******************************************************************************* Snes9x - Portable Super Nintendo Entertainment System (TM) emulator. (c) Copyright 1996 - 2002 <NAME> (<EMAIL>) and <NAME> (<EMAIL>) (c) Copyright 2001 - 2004 <NAME> (<EMAIL>) (c) Copyright 2002 - 20...
36.26
123
(translation_unit) "/*******************************************************************************\n Snes9x - Portable Super Nintendo Entertainment System (TM) emulator.\n \n (c) Copyright 1996 - 2002 <NAME> (<EMAIL>) and\n <NAME> (<EMAIL>)\n\n (c) Copyright 2001 - 2004 <NAME> (<EMAIL>)\...
164
0
{"language": "c", "success": true, "metadata": {"lines": 123, "avg_line_length": 36.26, "nodes": 122, "errors": 0, "source_hash": "a9db6dd4b4bf9db0fbd11298b0c077cbb4d661a1ca85836904ffaf4ef3544839", "categorized_nodes": 79}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
605
c
// // ZoneUtil.h // Zone // // Created by 王胜利 on 2018/5/9. // Copyright © 2018年 pansoft. All rights reserved. // #import <Foundation/Foundation.h> @interface ZoneUtil : NSObject /// 根据时间戳转换成时间 + (NSString *)timeString:(NSTimeInterval)timeIntreval; /// 获取当前时间戳 + (NSString *)currentTimeInterval; @end
19.33
15
(translation_unit) "//\n// ZoneUtil.h\n// Zone\n//\n// Created by 王胜利 on 2018/5/9.\n// Copyright © 2018年 pansoft. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n\n@interface ZoneUtil : NSObject\n\n/// 根据时间戳转换成时间\n+ (NSString *)timeString:(NSTimeInterval)timeIntreval;\n/// 获取当前时间戳\n+ (NSString *)curr...
54
5
{"language": "c", "success": true, "metadata": {"lines": 15, "avg_line_length": 19.33, "nodes": 30, "errors": 0, "source_hash": "1bb4440fb5789c78315b5d1a61b0d646bb26d0c6e7b010a40566476c7f8a958b", "categorized_nodes": 15}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "Foundatio...
606
c
/** * @file gui_w_scroller.h * @brief scroller bar implementation * @author <NAME> <<EMAIL>> * @version 0.1b * @date (yyyy-mm-dd) * 0.1b 2013-08-27 : initial version * Licence: MIT */ #ifndef _gui_w_scroller_h_ #define _gui_w_scroller_h_ #include "gui.h" /** * scroll_param_st */ typedef struct { uint1...
29.94
52
(translation_unit) "/**\n * @file gui_w_scroller.h\n * @brief scroller bar implementation\n * @author <NAME> <<EMAIL>>\n * @version 0.1b\n * @date (yyyy-mm-dd)\n * 0.1b 2013-08-27 : initial version\n * Licence: MIT\n */\n\n#ifndef _gui_w_scroller_h_\n#define _gui_w_scroller_h_\n\n#include "gui.h"\n\n/**\n * scroll_p...
114
0
{"language": "c", "success": true, "metadata": {"lines": 52, "avg_line_length": 29.94, "nodes": 79, "errors": 0, "source_hash": "b062042c70798e23823f8674b7a0dcbf4951b54c751ea0e550d8e462c67f782e", "categorized_nodes": 51}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
607
c
/*+-----------------------------------------------------------------------------------------------------------------+*/ // // (C) <EMAIL> 2013 // /*+-----------------------------------------------------------------------------------------------------------------+*/ typedef struct swetwin_lua { // int fp_dsp...
18.71
45
(translation_unit) "/*+-----------------------------------------------------------------------------------------------------------------+*/ \n// \n// (C) <EMAIL> 2013 \n// \n/*+-----------------------------------------------------------------------------------------------------------------+*/ \n \ntypedef struct swetwi...
103
1
{"language": "c", "success": true, "metadata": {"lines": 45, "avg_line_length": 18.71, "nodes": 60, "errors": 0, "source_hash": "0cc0be6b1feaa3c41e3a7b89f01e6e521fd63867a342b1b114d22b54338d7608", "categorized_nodes": 43}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "type_definition", "text": "typede...
608
c
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* parser_room.c :+: :+: :+: ...
27.7
133
(translation_unit) "/* ************************************************************************** */\n/* */\n/* ::: :::::::: */\n/* parser_room.c ...
1,538
0
{"language": "c", "success": true, "metadata": {"lines": 133, "avg_line_length": 27.7, "nodes": 1036, "errors": 0, "source_hash": "e099c43e99af6cec2da9ea24f6caeab301eeab9c02998c2d18a12239d215bccc", "categorized_nodes": 703}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
609
c
/** * Copyright (c) 2014-2015, RongCloud. * All rights reserved. * * All the contents are the copyright of RongCloud Network Technology Co.Ltd. * Unless otherwise credited. http://rongcloud.cn * */ // RongIMLib.h // Created by xugang on 14/12/11. #import <UIKit/UIKit.h> //! Project version number for RongIM...
36.18
65
(translation_unit) "/**\n * Copyright (c) 2014-2015, RongCloud.\n * All rights reserved.\n *\n * All the contents are the copyright of RongCloud Network Technology Co.Ltd.\n * Unless otherwise credited. http://rongcloud.cn\n *\n */\n\n// RongIMLib.h\n// Created by xugang on 14/12/11.\n\n#import <UIKit/UIKit.h>\n\n//!...
166
1
{"language": "c", "success": true, "metadata": {"lines": 65, "avg_line_length": 36.18, "nodes": 147, "errors": 0, "source_hash": "ea337e850b2bd36bf729ba168c1aaf9fa53836f52259244378788e941a8faf25", "categorized_nodes": 54}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import ...
610
c
/* * Copyright (c) 2017, Texas Instruments Incorporated * * SPDX-License-Identifier: Apache-2.0 */ #define MEM_ALIGN (sizeof(uint32_t))
22.33
6
(translation_unit) "/*\n * Copyright (c) 2017, Texas Instruments Incorporated\n *\n * SPDX-License-Identifier: Apache-2.0\n */\n\n#define MEM_ALIGN (sizeof(uint32_t))\n" (comment) "/*\n * Copyright (c) 2017, Texas Instruments Incorporated\n *\n * SPDX-License-Identifier: Apache-2.0\n */" (preproc_def) "#define MEM_...
6
0
{"language": "c", "success": true, "metadata": {"lines": 6, "avg_line_length": 22.33, "nodes": 4, "errors": 0, "source_hash": "d0257bf75ed264b76ac333326cf7ad7d50447fb485db3b0208da625acc5d3d49", "categorized_nodes": 1}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_def", "text": "#define MEM_A...
611
c
// // LJButton-Google.h // LJAnimation // // Created by LiJie on 16/8/10. // Copyright © 2016年 LiJie. All rights reserved. // #import <UIKit/UIKit.h> @interface LJButton_Google : UIButton /** 圆圈动画效果颜色 */ @property(nonatomic, strong)UIColor* circleEffectColor; /** 动画时间默认0.35秒 */ @property(nonatomic, assign)CGF...
23.64
14
(translation_unit) "//\n// LJButton-Google.h\n// LJAnimation\n//\n// Created by LiJie on 16/8/10.\n// Copyright © 2016年 LiJie. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface LJButton_Google : UIButton\n\n/** 圆圈动画效果颜色 */\n@property(nonatomic, strong)UIColor* circleEffectColor;\n\n/** 动画时间默认0.35秒...
54
10
{"language": "c", "success": true, "metadata": {"lines": 14, "avg_line_length": 23.64, "nodes": 33, "errors": 0, "source_hash": "b4f4f9f981e1b1d8b24be819465a02c0193f1c35128dc82c13aff0f517987941", "categorized_nodes": 19}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "port <UIK...
612
c
/// @file IVideoConsumer.h /// @brief IVideoConsumer interface definition #ifndef __I_VIDEO_CONSUMER_2_H #define __I_VIDEO_CONSUMER_2_H #include "OutgoingImage.h" //OJO //Image problem in FFMpegAVOutputComponent //FFMpegAVOutputComponent uses its own class Image //IVideoConsumer interface uses a class...
21.86
21
(translation_unit) "/// @file IVideoConsumer.h \n/// @brief IVideoConsumer interface definition \n \n \n#ifndef __I_VIDEO_CONSUMER_2_H \n#define __I_VIDEO_CONSUMER_2_H \n \n#include "OutgoingImage.h" \n \n \n//OJO \n//Image problem in FFMpegAVOutputComponent \n//FFMpegAVOutputComponent uses its own class Image \n//IVid...
48
1
{"language": "c", "success": true, "metadata": {"lines": 21, "avg_line_length": 21.86, "nodes": 27, "errors": 0, "source_hash": "b75a32da15509a6d674024cd22f14460405ae5351b139a10bb81bc5b732d4222", "categorized_nodes": 18}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
613
c
/* * AB300 device support */ #include <epicsStdio.h> #include <devCommonGpib.h> /****************************************************************************** * * The following define statements are used to declare the names to be used * for the dset tables. * * A DSET_AI entry must be declared here and re...
35.64
88
(translation_unit) "/*\n * AB300 device support\n */\n\n#include <epicsStdio.h>\n#include <devCommonGpib.h>\n\n/******************************************************************************\n *\n * The following define statements are used to declare the names to be used\n * for the dset tables. \n *\n * A DSET_AI en...
579
0
{"language": "c", "success": true, "metadata": {"lines": 88, "avg_line_length": 35.64, "nodes": 344, "errors": 0, "source_hash": "8206077833f331fa8275b4133c41978586eeb8c6830e20ee84f6ba8145173cce", "categorized_nodes": 228}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
614
c
#include <cstdio> #include <string> //Header file for parser #include "exprtk.hpp" #include <iostream> #include<vector> using namespace std; //The parser uses templates template <typename T> double *function_x(string c) { //Declarations std::string expression_string = c; T x; exprtk::s...
22.24
42
(translation_unit) "#include <cstdio> \n#include <string> \n//Header file for parser \n#include "exprtk.hpp" \n#include <iostream> \n#include<vector> \n \nusing namespace std; \n \n//The parser uses templates \ntemplate <typename T> \ndouble *function_x(string c) \n{ \n //Declarations \n std::string expression_stri...
245
9
{"language": "c", "success": true, "metadata": {"lines": 42, "avg_line_length": 22.24, "nodes": 155, "errors": 0, "source_hash": "9dc060fc57ec3e30a95852904709faf4206555c56a521f7cdcd1a705fc65abff", "categorized_nodes": 115}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
615
c
/* Serial Connection Selector * * From: https://github.com/PokemonAutomation/Arduino-Source * */ #ifndef PokemonAutomation_SerialSelector_H #define PokemonAutomation_SerialSelector_H #include <QSerialPortInfo> #include <QLabel> #include <QComboBox> #include <QPushButton> #include "Common/PokemonSwS...
19.25
95
(translation_unit) "/* Serial Connection Selector \n * \n * From: https://github.com/PokemonAutomation/Arduino-Source \n * \n */ \n \n#ifndef PokemonAutomation_SerialSelector_H \n#define PokemonAutomation_SerialSelector_H \n \n#include <QSerialPortInfo> \n#include <QLabel> \n#include <QComboBox> \n#include <QPushButt...
371
18
{"language": "c", "success": true, "metadata": {"lines": 95, "avg_line_length": 19.25, "nodes": 220, "errors": 0, "source_hash": "c3390cb2b6b31e16a29751afae33615f73326f4703053d3098de80cda245a5e8", "categorized_nodes": 163}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "#ifndef Pokemo...
616
c
#include <utils/util.h> #include <malloc.h> #include <string.h> #include <stdio.h> #include <sys/stat.h> int number_of_digits(int n){ int count = 1; while((n /= 10) && count++); return count; } char* xstrcpy(char* dest, const char* src){ return xstrncpy(dest, src, 0); } char* xstrncpy(char* dest, con...
23.81
67
(translation_unit) "#include <utils/util.h>\n#include <malloc.h>\n#include <string.h>\n#include <stdio.h>\n#include <sys/stat.h>\n\nint number_of_digits(int n){\n int count = 1;\n while((n /= 10) && count++);\n return count;\n}\n\nchar* xstrcpy(char* dest, const char* src){\n return xstrncpy(dest, src, 0);\...
694
0
{"language": "c", "success": true, "metadata": {"lines": 67, "avg_line_length": 23.81, "nodes": 428, "errors": 0, "source_hash": "9a0ff64f3ff4ea34408b4c360cb084903aa4562a046be9febed39f756f04d77a", "categorized_nodes": 273}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
617
c
/*Given two arrays, write a function to compute their intersection. Example 1: Input: nums1 = [1,2,2,1], nums2 = [2,2] Output: [2,2] Example 2: Input: nums1 = [4,9,5], nums2 = [9,4,9,8,4] Output: [4,9] Note: Each element in the result should appear as many times as it shows in both arrays. The result can be in any ...
18.86
120
(translation_unit) "/*Given two arrays, write a function to compute their intersection.\n\nExample 1:\n\nInput: nums1 = [1,2,2,1], nums2 = [2,2]\nOutput: [2,2]\nExample 2:\n\nInput: nums1 = [4,9,5], nums2 = [9,4,9,8,4]\nOutput: [4,9]\nNote:\n\nEach element in the result should appear as many times as it shows in both a...
805
0
{"language": "c", "success": true, "metadata": {"lines": 120, "avg_line_length": 18.86, "nodes": 444, "errors": 0, "source_hash": "88247775a30b9423c59391de6b3968bca3809fed29819dc7e8477a45d20b013f", "categorized_nodes": 319}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
618
c
#ifndef __SKBUFF_H__ #define __SKBUFF_H__ struct sk_buff_head { struct list_head *next, *prev; unsigned int qlen; }; #ifdef CONFIG_TRACE_SKB #define TRACE_SKB_DEPTH 8 #endif struct sk_buff { /* These two members must be first. */ struct sk_buff *next; /* Next buffer in list */ struct sk_bu...
32.86
56
(translation_unit) "#ifndef __SKBUFF_H__ \n#define __SKBUFF_H__ \n \nstruct sk_buff_head { \n struct list_head *next, *prev; \n unsigned int qlen; \n}; \n \n#ifdef CONFIG_TRACE_SKB \n#define TRACE_SKB_DEPTH 8 \n#endif \n \nstruct sk_buff { \n /* These two members must be first. */ \n struct sk_buff *next; /* Nex...
446
0
{"language": "c", "success": true, "metadata": {"lines": 56, "avg_line_length": 32.86, "nodes": 347, "errors": 0, "source_hash": "0912487955de69fdbe0e780450c581b4ad335ae526de5c1d90025a86278a1ab9", "categorized_nodes": 210}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
619
c
/* Generated by RuntimeBrowser Image: /System/Library/PrivateFrameworks/UIFoundation.framework/UIFoundation */ @interface NSGlyphNameGlyphInfo : NSIdentityGlyphInfo <NSSecureCoding> { NSString * _name; } + (void)initialize; + (bool)supportsSecureCoding; - (void)dealloc; - (id)description; - (void)encodeWithC...
31
15
(translation_unit) "/* Generated by RuntimeBrowser\n Image: /System/Library/PrivateFrameworks/UIFoundation.framework/UIFoundation\n */\n\n@interface NSGlyphNameGlyphInfo : NSIdentityGlyphInfo <NSSecureCoding> {\n NSString * _name;\n}\n\n+ (void)initialize;\n+ (bool)supportsSecureCoding;\n\n- (void)dealloc;\n- (id)...
156
9
{"language": "c", "success": true, "metadata": {"lines": 15, "avg_line_length": 31.0, "nodes": 92, "errors": 0, "source_hash": "f4b1c1b3374857b8d0a50c674f6d55693ee9064480ccf500812fb23bf2c3ef89", "categorized_nodes": 54}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "@", "parent": nul...
620
c
#pragma once #include <memory> namespace PimplCyclic { class Cyclic { public: Cyclic(); ~Cyclic(); private: class Impl; std::shared_ptr<Impl> _impl; }; } // namespace PimplCyclic
14
13
(translation_unit) "#pragma once\n\n#include <memory>\n\nnamespace PimplCyclic {\nclass Cyclic\n{\npublic:\n Cyclic();\n ~Cyclic();\n\nprivate:\n class Impl;\n std::shared_ptr<Impl> _impl;\n};\n} // namespace PimplCyclic\n" (preproc_call) "#pragma once\n" (preproc_directive) "#pragma" (preproc_arg...
62
1
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 14.0, "nodes": 32, "errors": 0, "source_hash": "44bf23707ce443e0917d69e1470630acf7721e0e0d7a7f988e8a6961ff8e87e0", "categorized_nodes": 22}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma on...
621
c
/* ** Alowed function: write() ** */ #incldue <unistd.h> int main(void) { write(1, "AbCdEfGhIjKlMnOpQrStUvWxYz\n", 28); return(0); }
13
10
(translation_unit) "/*\n** Alowed function: write()\n** \n*/\n\n#incldue <unistd.h>\n\nint main(void)\n{\n write(1, "AbCdEfGhIjKlMnOpQrStUvWxYz\n", 28);\n return(0);\n}\n \n" (comment) "/*\n** Alowed function: write()\n** \n*/" (preproc_call) "#incldue <unistd.h>\n" (preproc_directive) "#incldue" (prep...
40
0
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 13.0, "nodes": 20, "errors": 0, "source_hash": "3389cf15f2057c51948f38463e6d9e86073e035b112961a51e5e5879c0ac1f8f", "categorized_nodes": 13}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#incldue <...
622
c
// // LocationService.h // mage-ios-sdk // // #import <Foundation/Foundation.h> #import <CoreData/CoreData.h> #import <CoreLocation/CoreLocation.h> extern NSString * const kReportLocationKey; extern NSString * const kGPSDistanceFilterKey; extern NSString * const kLocationReportingFrequencyKey; @interface LocationS...
25.65
17
(translation_unit) "//\n// LocationService.h\n// mage-ios-sdk\n//\n//\n\n#import <Foundation/Foundation.h>\n#import <CoreData/CoreData.h>\n#import <CoreLocation/CoreLocation.h>\n\nextern NSString * const kReportLocationKey;\nextern NSString * const kGPSDistanceFilterKey;\nextern NSString * const kLocationReportingFre...
102
5
{"language": "c", "success": true, "metadata": {"lines": 17, "avg_line_length": 25.65, "nodes": 67, "errors": 0, "source_hash": "8c2aa6f3f35d78d9eda2622254edc0c147475d3350954c7c4d48fad899e493fa", "categorized_nodes": 33}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <...
623
c
#ifndef TIMER_H #define TIMER_H #include <thread> #include<chrono> class Timer { std::thread Thread ; bool Alive = false; long CallNumber = -1L; long repeat_count = -1L; std::chrono::milliseconds interval = std::chrono::milliseconds(0); std::function <void(void)> funct = nul...
21.68
98
(translation_unit) "#ifndef TIMER_H \n #define TIMER_H \n \n #include <thread> \n #include<chrono> \n \n class Timer \n { \n std::thread Thread ; \n bool Alive = false; \n long CallNumber = -1L; \n long repeat_count = -1L; \n std::chrono::milliseconds interval = std::chrono::milliseconds(0); \n std::f...
677
31
{"language": "c", "success": true, "metadata": {"lines": 98, "avg_line_length": 21.68, "nodes": 372, "errors": 0, "source_hash": "8b57672923ac5de9b718bc862ab39f7c86503ded20aa31c91bce70228ca3d232", "categorized_nodes": 234}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
624
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 GKEventEmitter; @interface GKScreenConfigurationController : NSObject { double _greatestScreenScale; GKEventEmitter *_emitter; } + (double)_scaleFor...
31.23
22
(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 GKEventEmitter;\n\n@interface GKScreenConfigurationController : NSObject\n{\n double _greatestScreenScale;\n GKEventEmitter ...
164
16
{"language": "c", "success": true, "metadata": {"lines": 22, "avg_line_length": 31.23, "nodes": 97, "errors": 0, "source_hash": "59bb2745e62f4dd53affc9b2ed3254fde9056d73c4625445760e1cb0a6c75e92", "categorized_nodes": 54}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import \...
625
c
#ifndef SQL_CONNECTION_POOL_H_ #define SQL_CONNECTION_POOL_H_ #include <mysql/mysql.h> #include "../synchronize/synchronize.h" #include <string> #include <list> /* mysql连接池 */ class sql_connpool { public: ~sql_connpool() { destroy_pool(); } static sql_connpool* get_instance(); void init(const std::string& url, c...
25.22
49
(translation_unit) "#ifndef SQL_CONNECTION_POOL_H_\n#define SQL_CONNECTION_POOL_H_\n\n#include <mysql/mysql.h>\n#include "../synchronize/synchronize.h"\n#include <string>\n#include <list>\n\n/* mysql连接池 */\nclass sql_connpool {\npublic:\n ~sql_connpool() { destroy_pool(); }\n\n static sql_connpool* get_instance();\n\n ...
398
15
{"language": "c", "success": true, "metadata": {"lines": 49, "avg_line_length": 25.22, "nodes": 253, "errors": 0, "source_hash": "1d5ef8b82a3e03c2373b1f1dfa41db5cc68b59c99e49756d8f8e6d42c048c565", "categorized_nodes": 171}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
626
c
#ifndef RENDERINGWIDGET_H #define RENDERINGWIDGET_H #include <qopenglwidget.h> #include <QTimer> #include <mutex> #include "BasicRenderer.h" using namespace BasicRenderer; class QRenderingWidget : public QOpenGLWidget { Q_OBJECT protected: std::unique_ptr<Model> m_model; std::unique_ptr<RenderState> m_renderStat...
35.16
64
(translation_unit) "#ifndef RENDERINGWIDGET_H\n#define RENDERINGWIDGET_H\n\n#include <qopenglwidget.h>\n#include <QTimer>\n#include <mutex>\n#include "BasicRenderer.h"\n\nusing namespace BasicRenderer;\n\nclass QRenderingWidget : public QOpenGLWidget\n{\n Q_OBJECT\n\nprotected:\n std::unique_ptr<Model> m_model;\n std::...
725
49
{"language": "c", "success": true, "metadata": {"lines": 64, "avg_line_length": 35.16, "nodes": 472, "errors": 0, "source_hash": "6aae27ee816980822a37415992598fd168f8feba72743938e64bfd23ba7e9a59", "categorized_nodes": 315}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
627
c
/****************************************************************************** * * Copyright (C) 2019 Xilinx, Inc. All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software wit...
29.07
188
(translation_unit) "/******************************************************************************\n*\n* Copyright (C) 2019 Xilinx, Inc. All rights reserved.\n*\n* Permission is hereby granted, free of charge, to any person obtaining a copy\n* of this software and associated documentation files (the "Software"), to d...
1,125
0
{"language": "c", "success": true, "metadata": {"lines": 188, "avg_line_length": 29.07, "nodes": 699, "errors": 0, "source_hash": "3e56345f8db8236fd179b2fb8e8beb143417ba81dfcedf4809ec0da7eaf8d3a6", "categorized_nodes": 506}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
628
c
#ifndef INCLUDED_CORE_ITEM_H #define INCLUDED_CORE_ITEM_H #include "core/item_factory.h" #include "platform/log.h" #include "core/actor.h" #include "item_type.h" #include <portable_oarchive.hpp> #include <portable_iarchive.hpp> #include <boost/serialization/serialization.hpp> #include "item_loader.h" #include "platfor...
20.14
70
(translation_unit) "#ifndef INCLUDED_CORE_ITEM_H\n#define INCLUDED_CORE_ITEM_H\n\n#include "core/item_factory.h"\n#include "platform/log.h"\n#include "core/actor.h"\n#include "item_type.h"\n#include <portable_oarchive.hpp>\n#include <portable_iarchive.hpp>\n#include <boost/serialization/serialization.hpp>\n#include "it...
403
22
{"language": "c", "success": true, "metadata": {"lines": 70, "avg_line_length": 20.14, "nodes": 215, "errors": 0, "source_hash": "034c2d676ebd4b710840bb42afdc88fea3714da7e10fcb249da2d29e44d42751", "categorized_nodes": 153}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
629
c
#pragma once #include "ui/UIStatic.h" #include "alife_space.h" class CMapLocation; class CUIXml; class CMapSpot :public CUIStatic { private: typedef CUIStatic inherited; CMapLocation* m_map_location; int m_location_level; CUIStatic* m_border_static; bool m_mark_focused; publ...
29.22
114
(translation_unit) "#pragma once \n \n#include "ui/UIStatic.h" \n#include "alife_space.h" \n \nclass CMapLocation; \nclass CUIXml; \n \nclass CMapSpot :public CUIStatic \n{ \nprivate: \n typedef CUIStatic inherited; \n CMapLocation* m_map_location; \n int m_location_level; \n \n CUIStatic* m_border_static; \n...
796
38
{"language": "c", "success": true, "metadata": {"lines": 114, "avg_line_length": 29.22, "nodes": 484, "errors": 0, "source_hash": "a398582eef48632a13354c2c1d658dc3a72769694cdef46d263124d62be9c07e", "categorized_nodes": 341}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragm...
630
c
#ifndef WESpatialManager_KDTreeBuilder_h #define WESpatialManager_KDTreeBuilder_h #include "WESpatialManager_KDTreeBase.h" #include "../WESpatialManagerBuilder.h" #include "../WESpatialObjectContainer.h" namespace WE { class SpatialManager_KDTreeBuilder : public SpatialManagerBuilder , public Spatia...
28.88
50
(translation_unit) "#ifndef WESpatialManager_KDTreeBuilder_h \n#define WESpatialManager_KDTreeBuilder_h \n \n#include "WESpatialManager_KDTreeBase.h" \n#include "../WESpatialManagerBuilder.h" \n#include "../WESpatialObjectContainer.h" \n \nnamespace WE { \n \n class SpatialManager_KDTreeBuilder \n : public SpatialMan...
329
11
{"language": "c", "success": true, "metadata": {"lines": 50, "avg_line_length": 28.88, "nodes": 212, "errors": 0, "source_hash": "a7ac8ff1289b11eaaa3288d67716a88a9e0fb3d3b41855e847fda601659aab13", "categorized_nodes": 159}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
631
c
//////////////////////////////////////////////////////////////////////////// // Created : 07.02.2009 // Author : <NAME> // Copyright (C) GSC Game World - 2009 //////////////////////////////////////////////////////////////////////////// #ifndef RES_COMMON_H_INCLUDED #define RES_COMMON_H_INCLUDED namespace x...
21.85
82
(translation_unit) "//////////////////////////////////////////////////////////////////////////// \n// Created : 07.02.2009 \n// Author : <NAME> \n// Copyright (C) GSC Game World - 2009 \n//////////////////////////////////////////////////////////////////////////// \n \n#ifndef RES_COMMON_H_INCLUDED \n#define RES_COMMO...
488
16
{"language": "c", "success": true, "metadata": {"lines": 82, "avg_line_length": 21.85, "nodes": 260, "errors": 0, "source_hash": "48fa222a36173fc24501a1539b094e30fe69c18b9ec2aaa8c6342a759a131370", "categorized_nodes": 173}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
632
c
/* * PROJECT: Universal C++ RunTime (UCXXRT) * FILE: malloc.h * DATA: 2021/05/08 * * PURPOSE: Universal C++ RunTime * * LICENSE: Relicensed under The MIT License from The CC BY 4.0 License * * DEVELOPER: MiroKaku (miro.kaku AT Outlook.com) */ #pragma once #include <malloc.h> _CRT_BEGIN_C_HEA...
24.74
27
(translation_unit) "/*\n * PROJECT: Universal C++ RunTime (UCXXRT)\n * FILE: malloc.h\n * DATA: 2021/05/08\n *\n * PURPOSE: Universal C++ RunTime\n *\n * LICENSE: Relicensed under The MIT License from The CC BY 4.0 License\n *\n * DEVELOPER: MiroKaku (miro.kaku AT Outlook.com)\n */\n\n#pragma once\n#inc...
89
5
{"language": "c", "success": true, "metadata": {"lines": 27, "avg_line_length": 24.74, "nodes": 69, "errors": 0, "source_hash": "2c7eed51e490d306c0266b64d85d12b9d8e4a7a25de3b2028eb829cf88dc0634", "categorized_nodes": 49}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
633
c
#ifndef __MEMORY_H_ #define __MEMORY_H_ #include "config.h" // macros, (u)int*_t, bool #include "typedefs.h" // typedefs uint8_t mem_read8(emu_state *restrict, uint16_t); uint16_t mem_read16(emu_state *restrict, uint16_t); void mem_write8(emu_state *restrict, uint16_t, uint8_t); void mem_write16(emu_state *restrict,...
35.4
10
(translation_unit) "#ifndef __MEMORY_H_\n#define __MEMORY_H_\n\n#include "config.h" // macros, (u)int*_t, bool\n#include "typedefs.h" // typedefs\n\n\nuint8_t mem_read8(emu_state *restrict, uint16_t);\nuint16_t mem_read16(emu_state *restrict, uint16_t);\nvoid mem_write8(emu_state *restrict, uint16_t, uint8_t);\nvoid me...
97
0
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 35.4, "nodes": 69, "errors": 0, "source_hash": "7f011f533286cf61afb47861155478242fec59516b97fb90c242510825e19192", "categorized_nodes": 41}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef _...
634
c
/* * Copyright (C) <NAME> <<EMAIL>> * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, publish...
32.25
100
(translation_unit) "/*\n * Copyright (C) <NAME> <<EMAIL>>\n *\n * Permission is hereby granted, free of charge, to any person obtaining a\n * copy of this software and associated documentation files (the "Software"),\n * to deal in the Software without restriction, including without limitation\n * the rights to use, co...
736
0
{"language": "c", "success": true, "metadata": {"lines": 100, "avg_line_length": 32.25, "nodes": 428, "errors": 0, "source_hash": "7465084f84f1393dc51dbd20e2c049cdcb1a5e04735d4dc6140af2d614614573", "categorized_nodes": 281}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
635
c
// // IVVExchangeCurrencyFromView.h // AwesomeCurrencyConverter // // Created by <NAME> on 04/03/2017. // Copyright © 2017 Ignatov inc. All rights reserved. // #import <UIKit/UIKit.h> #import "IVVDynamicView.h" @interface IVVExchangeCurrencyToView : UIView <IVVDynamicView> @property (strong, nonatomic) IBOutlet...
36.62
16
(translation_unit) "//\n// IVVExchangeCurrencyFromView.h\n// AwesomeCurrencyConverter\n//\n// Created by <NAME> on 04/03/2017.\n// Copyright © 2017 Ignatov inc. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n#import "IVVDynamicView.h"\n\n@interface IVVExchangeCurrencyToView : UIView <IVVDynamicView>\n\n@pro...
128
19
{"language": "c", "success": true, "metadata": {"lines": 16, "avg_line_length": 36.62, "nodes": 93, "errors": 0, "source_hash": "f6177bc956117eea9695324cc793e78adbba1ab7a63dfd73ea6dd39d59c6a5fe", "categorized_nodes": 51}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <U...
636
c
#include <stdlib.h> //integer cmp function int cmp(const void *lhs, const void *rhs) { int *l = *(int **)lhs, *r = *(int **)rhs; return (l[0] + r[1]) - (l[1] + r[0]); } int minimumEffort(int **tasks, int tasksSize, int *tasksColSize) { int N = tasksSize; qsort(tasks, N, sizeof(int *), cmp); int res = 0, cur = 0;...
19.65
23
(translation_unit) "#include <stdlib.h>\n\n//integer cmp function\nint cmp(const void *lhs, const void *rhs)\n{\n int *l = *(int **)lhs, *r = *(int **)rhs;\n return (l[0] + r[1]) - (l[1] + r[0]);\n}\n\nint minimumEffort(int **tasks, int tasksSize, int *tasksColSize)\n{\n int N = tasksSize;\n qsort(tasks, N, sizeof(int ...
261
0
{"language": "c", "success": true, "metadata": {"lines": 23, "avg_line_length": 19.65, "nodes": 171, "errors": 0, "source_hash": "4382ddb5e727465f1f1637784b0d466ea367a774c33ceaad2ba58019bf819b73", "categorized_nodes": 103}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
637
c
/* Implementation of the CPU_TIME intrinsic. Copyright (C) 2003, 2007, 2009 Free Software Foundation, Inc. This file is part of the GNU Fortran 95 runtime library (libgfortran). Libgfortran is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by ...
31.05
116
(translation_unit) "/* Implementation of the CPU_TIME intrinsic.\n Copyright (C) 2003, 2007, 2009 Free Software Foundation, Inc.\n\nThis file is part of the GNU Fortran 95 runtime library (libgfortran).\n\nLibgfortran is free software; you can redistribute it and/or\nmodify it under the terms of the GNU General Publi...
742
1
{"language": "c", "success": true, "metadata": {"lines": 116, "avg_line_length": 31.05, "nodes": 509, "errors": 0, "source_hash": "c6a40119efa62bc3277207ec1c9a8b820fef1ce37a3b2515624ecd12ab2827fa", "categorized_nodes": 336}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
638
c
#ifndef SAMUI_APPLICATION_EVENT_H_ #define SAMUI_APPLICATION_EVENT_H_ // clang-format off #include "event.h" #include <core/pch.h> // clang-format on namespace samui { class SAMUI_API WindowResizeEvent : public Event { public: WindowResizeEvent(unsigned int width, unsigned int height) : width_(width), heigh...
30.34
50
(ERROR) "#ifndef SAMUI_APPLICATION_EVENT_H_\n#define SAMUI_APPLICATION_EVENT_H_\n\n// clang-format off\n#include "event.h"\n\n#include <core/pch.h>\n// clang-format on\n\nnamespace samui {\nclass SAMUI_API WindowResizeEvent : public Event {\n public:\n WindowResizeEvent(unsigned int width, unsigned int height)\n ...
398
26
{"language": "c", "success": true, "metadata": {"lines": 50, "avg_line_length": 30.34, "nodes": 219, "errors": 0, "source_hash": "688d226b122995356c932d4819c1d152872cb2dab8e9ff57465762e96559248e", "categorized_nodes": 150}, "ast": {"root": "ERROR", "nodes": [{"id": 0, "type": "ERROR", "text": "#ifndef SAMUI_APPLICATION...
639
c
// Copyright (c) Lawrence Livermore National Security, LLC and other VisIt // Project developers. See the top-level LICENSE file for dates and other // details. No copyright assignment is required to contribute to VisIt. // ************************************************************************* // // ...
36.1
58
(translation_unit) "// Copyright (c) Lawrence Livermore National Security, LLC and other VisIt\n// Project developers. See the top-level LICENSE file for dates and other\n// details. No copyright assignment is required to contribute to VisIt.\n\n// *********************************************************************...
302
13
{"language": "c", "success": true, "metadata": {"lines": 58, "avg_line_length": 36.1, "nodes": 191, "errors": 0, "source_hash": "daa8b62598644aee5c034bec19b5142c04721bcd77adf6907183bc213106c324", "categorized_nodes": 123}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
640
c
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* list.c :+: :+: :+: ...
27.35
52
(translation_unit) "/* ************************************************************************** */\n/* */\n/* ::: :::::::: */\n/* list.c ...
352
0
{"language": "c", "success": true, "metadata": {"lines": 52, "avg_line_length": 27.35, "nodes": 213, "errors": 0, "source_hash": "bab868e2d048f445295c59fb24e8ec045774dc5cae521163d5606b925ea858f1", "categorized_nodes": 160}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
641
c
// MIT LICENSE // // Copyright (c) 2020 FOSSA Systems // // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and associated documentation files (the // "Software"), to deal in the Software without restriction, including // without limitation the rights to use, copy, modif...
29.82
68
(translation_unit) "// MIT LICENSE\n//\n// Copyright (c) 2020 FOSSA Systems\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// "Software"), to deal in the Software without restriction, including\n// without limitation the...
272
6
{"language": "c", "success": true, "metadata": {"lines": 68, "avg_line_length": 29.82, "nodes": 145, "errors": 0, "source_hash": "012dc5df5c861d2e1c980ff27f7671077491eff34745f6399c5bfc8251f27fd9", "categorized_nodes": 94}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
642
c
#pragma once #include <Panels/Panel.h> #include <Application/GameBoyVM.h> #include <gbz80.h> #include <map> #include <vector> namespace GameGuy { class DisassemblerPanel : public Panel { public: DisassemblerPanel(); ~DisassemblerPanel(); void setInstance(GameBoyVM* pInstance) { mVMInstance = pInstance; mI...
30.9
67
(translation_unit) "#pragma once\n\n#include <Panels/Panel.h>\n#include <Application/GameBoyVM.h>\n\n#include <gbz80.h>\n\n#include <map>\n#include <vector>\n\nnamespace GameGuy {\n\n class DisassemblerPanel : public Panel {\n public:\n DisassemblerPanel();\n ~DisassemblerPanel();\n\n void setInstance(GameBoyVM* pIn...
563
23
{"language": "c", "success": true, "metadata": {"lines": 67, "avg_line_length": 30.9, "nodes": 352, "errors": 0, "source_hash": "c194e05e26b5b31ad46dcd5c6ec8c3a21f43c5298277519714b43777b7defaff", "categorized_nodes": 228}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma ...
643
c
/** * WinPR: Windows Portable Runtime * Microsoft Remote Procedure Call (MSRPC) * * Copyright 2012 <NAME> <<EMAIL>> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://ww...
23.16
158
(translation_unit) "/**\n * WinPR: Windows Portable Runtime\n * Microsoft Remote Procedure Call (MSRPC)\n *\n * Copyright 2012 <NAME> <<EMAIL>>\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the Li...
897
0
{"language": "c", "success": true, "metadata": {"lines": 158, "avg_line_length": 23.16, "nodes": 608, "errors": 0, "source_hash": "d0236724f39d522fff8f502e917dc81ce9967f4e709fcef7fc2fef5dbffe89f0", "categorized_nodes": 413}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifde...
644
c
// // LKBaseTableView.h // LKBaseController // // Created by ZhangXiaofei on 16/9/13. // Copyright © 2016年 Yuri. All rights reserved. // #import <UIKit/UIKit.h> #import <MJRefresh/MJRefreshGifHeader.h> //cell刷新动画类型 typedef NS_ENUM(NSInteger, LKBaseTableViewRowAnimation) { Fade = UITableViewRowAnimationFade, ...
26.69
239
(ERROR) "//\n// LKBaseTableView.h\n// LKBaseController\n//\n// Created by ZhangXiaofei on 16/9/13.\n// Copyright © 2016年 Yuri. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n#import <MJRefresh/MJRefreshGifHeader.h>\n\n//cell刷新动画类型\ntypedef NS_ENUM(NSInteger, LKBaseTableViewRowAnimation) {\n Fade = UITableV...
977
84
{"language": "c", "success": true, "metadata": {"lines": 239, "avg_line_length": 26.69, "nodes": 600, "errors": 0, "source_hash": "fb04bcf77ee750ab02f330a1345d3f2b21d5380e7cdce8925a3f521fc775d278", "categorized_nodes": 330}, "ast": {"root": "ERROR", "nodes": [{"id": 0, "type": "ERROR", "text": "//\n// LKBaseTableView....
645
c
/*************************************************************************************** * Original Author: <NAME> * Created: 2018-06-23 * Copyright: <NAME> (https://github.com/GabrieleGiuseppini) ***************************************************************************************/ #pragma once #include "Cir...
36.71
221
(translation_unit) "/***************************************************************************************\n* Original Author: <NAME>\n* Created: 2018-06-23\n* Copyright: <NAME> (https://github.com/GabrieleGiuseppini)\n***************************************************************************************/\n#p...
1,275
34
{"language": "c", "success": true, "metadata": {"lines": 221, "avg_line_length": 36.71, "nodes": 710, "errors": 0, "source_hash": "1bcf0a4410c87e1fc9bf6079c0ca5ba89f557f862353bb0662132fc9652098a9", "categorized_nodes": 520}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragm...
646
c
#pragma once #include "skse64/GameObjects.h" class TESObjectARMOEx : public TESObjectARMO { public: EnchantmentItem* GetEnchantment(void); UInt32 GetGoldValue(void); };
20.38
8
(translation_unit) "#pragma once\n#include "skse64/GameObjects.h"\n\nclass TESObjectARMOEx : public TESObjectARMO\n{\npublic:\n EnchantmentItem* GetEnchantment(void);\n UInt32 GetGoldValue(void);\n};\n" (preproc_call) "#pragma once\n" (preproc_directive) "#pragma" (preproc_arg) "once" (preproc_include) "#in...
47
1
{"language": "c", "success": true, "metadata": {"lines": 8, "avg_line_length": 20.38, "nodes": 27, "errors": 0, "source_hash": "5e7d261bee7b75c5d8d1fab40cd86a9ce71c5c19a511eb84c72c3389a4eb4510", "categorized_nodes": 17}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma on...
647
c
// // QIMSDKUIHelper+CustomConfig.h // QIMSDK // // Created by 李露 on 2018/9/29. // Copyright © 2018年 QIM. All rights reserved. // #import "QIMSDKUIHelper.h" @interface QIMSDKUIHelper (CustomConfig) @end
19.7
10
(translation_unit) "//\n// QIMSDKUIHelper+CustomConfig.h\n// QIMSDK\n//\n// Created by 李露 on 2018/9/29.\n// Copyright © 2018年 QIM. All rights reserved.\n//\n\n#import "QIMSDKUIHelper.h"\n\n@interface QIMSDKUIHelper (CustomConfig)\n\n@end\n" (comment) "//" (comment) "// QIMSDKUIHelper+CustomConfig.h" (comment...
23
4
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 19.7, "nodes": 13, "errors": 0, "source_hash": "d1ac45d54c11130939ccefa489518e2f2b943d534d91a478094da813859589f2", "categorized_nodes": 6}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": " \"QIMSDKUI...
648
c
/* * * BlueZ - Bluetooth protocol stack for Linux * * Copyright (C) 2004-2007 <NAME> <<EMAIL>> * * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License,...
24.77
203
(translation_unit) "/*\n *\n * BlueZ - Bluetooth protocol stack for Linux\n *\n * Copyright (C) 2004-2007 <NAME> <<EMAIL>>\n *\n *\n * This program is free software; you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation; eit...
1,642
0
{"language": "c", "success": true, "metadata": {"lines": 203, "avg_line_length": 24.77, "nodes": 981, "errors": 0, "source_hash": "48aef87145d665f732ed81e4a7edd477d73261249c5dd4922dbc572afe2fdb9e", "categorized_nodes": 762}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifde...
649
c
#include <stdio.h> #include <stdlib.h> int main(){ FILE *fp; struct emp { char name[40]; int age; float bs; }; struct emp e; fp = fopen("Employee.dat", "r"); if(fp == NULL){ puts("Cannot open file"); exit(1); } while(fscanf(fp, "%s %d %f", e.n...
19.33
21
(translation_unit) "#include <stdio.h>\n#include <stdlib.h>\n\nint main(){\n FILE *fp;\n struct emp\n {\n char name[40];\n int age;\n float bs;\n };\n struct emp e;\n fp = fopen("Employee.dat", "r");\n if(fp == NULL){\n puts("Cannot open file");\n exit(1);\n }\...
180
0
{"language": "c", "success": true, "metadata": {"lines": 21, "avg_line_length": 19.33, "nodes": 99, "errors": 0, "source_hash": "ad100d3acd7905c3b7ab1b7d0ca453be54fd727e608be0a8c81e0ed3677e2efc", "categorized_nodes": 79}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
650
c
/* * Copyright 2015 The Foundry Visionmongers Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Neither the name of The Foundry nor t...
33.64
36
(translation_unit) "/*\n* Copyright 2015 The Foundry Visionmongers Ltd.\n*\n* Licensed under the Apache License, Version 2.0 (the "License");\n* you may not use this file except in compliance with the License.\n* You may obtain a copy of the License at\n*\n* http://www.apache.org/licenses/LICENSE-2.0\n*\n* Neither ...
53
1
{"language": "c", "success": true, "metadata": {"lines": 36, "avg_line_length": 33.64, "nodes": 32, "errors": 0, "source_hash": "b474274cb561c880f3ee71bfc2ee4914d7cfb2d76e3d9738c8dad6e92313446f", "categorized_nodes": 23}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
651
c
#pragma once #include "../monster_state_manager.h" class CAI_Flesh; class CStateManagerFlesh : public CMonsterStateManager<CAI_Flesh> { typedef CMonsterStateManager<CAI_Flesh> inherited; public: CStateManagerFlesh (CAI_Flesh *monster); virtual void execute (); };
21.38
13
(translation_unit) "#pragma once \n#include "../monster_state_manager.h" \n \nclass CAI_Flesh; \n \nclass CStateManagerFlesh : public CMonsterStateManager<CAI_Flesh> { \n typedef CMonsterStateManager<CAI_Flesh> inherited; \n \npublic: \n \n CStateManagerFlesh (CAI_Flesh *monster); \n virtual void execute (); \n...
63
4
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 21.38, "nodes": 39, "errors": 0, "source_hash": "410890f958997641cc1162de5062e525ecab5682146788b24feb5ad11446e6f2", "categorized_nodes": 24}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
652
c
// // Common.h // XYProgressHUD // // Created by wuw on 2017/5/19. // Copyright © 2017年 wuw. All rights reserved. // #ifndef Common_h #define Common_h #define ScreenSize [UIScreen mainScreen].bounds.size #define ScreenH [UIScreen mainScreen].bounds.size.height #define ScreenW [UIScreen mainScreen].bounds.size.wid...
26.93
14
(translation_unit) "//\n// Common.h\n// XYProgressHUD\n//\n// Created by wuw on 2017/5/19.\n// Copyright © 2017年 wuw. All rights reserved.\n//\n\n#ifndef Common_h\n#define Common_h\n\n#define ScreenSize [UIScreen mainScreen].bounds.size\n#define ScreenH [UIScreen mainScreen].bounds.size.height\n#define ScreenW [UIS...
32
0
{"language": "c", "success": true, "metadata": {"lines": 14, "avg_line_length": 26.93, "nodes": 23, "errors": 0, "source_hash": "93cdddf2a3f94e9b680ae33629320893a2392ad1bd8a9779b9f247292d9f1700", "categorized_nodes": 9}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "ndef Comm...
653
c
/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2008-2017 Cisco Systems, Inc. All rights reserved. * Copyright 2007 Nuova Systems, Inc. All rights reserved. */ #ifndef _VNIC_STATS_H_ #define _VNIC_STATS_H_ /* Tx statistics */ struct vnic_tx_stats { uint64_t tx_frames_ok; uint64_t tx_unicast_frames_ok; ui...
24.67
51
(translation_unit) "/* SPDX-License-Identifier: BSD-3-Clause\n * Copyright 2008-2017 Cisco Systems, Inc. All rights reserved.\n * Copyright 2007 Nuova Systems, Inc. All rights reserved.\n */\n\n#ifndef _VNIC_STATS_H_\n#define _VNIC_STATS_H_\n\n/* Tx statistics */\nstruct vnic_tx_stats {\n uint64_t tx_frames_ok;\n uin...
189
0
{"language": "c", "success": true, "metadata": {"lines": 51, "avg_line_length": 24.67, "nodes": 132, "errors": 0, "source_hash": "b56e853a30bd4edae172617e266a2eb77f397b3bd9901ed54da1615f27abd0d9", "categorized_nodes": 94}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
654
c
//----------------------------------------------------------------------------- // NOTE! This should never be called directly from leaf code // Just use new,delete,malloc,free etc. They will call into this eventually //----------------------------------------------------------------------------- #include "pch_tier0.h" ...
31.03
212
(translation_unit) "//-----------------------------------------------------------------------------\n// NOTE! This should never be called directly from leaf code\n// Just use new,delete,malloc,free etc. They will call into this eventually\n//-----------------------------------------------------------------------------\...
1,875
43
{"language": "c", "success": true, "metadata": {"lines": 212, "avg_line_length": 31.03, "nodes": 1306, "errors": 0, "source_hash": "08d2a801078b285cab89de4ca87dbe50254f55cbb111dabcba484eb064fdf4e3", "categorized_nodes": 764}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#i...
655
c
#ifndef ADIAR_DOT_H #define ADIAR_DOT_H #include <string.h> #include <adiar/file.h> #include <fstream> #include <adiar/file_stream.h> #include <adiar/file_writer.h> namespace adiar { template <typename T> void output_dot(const T& nodes, const std::string &filename) { std::ofstream out; out.open(filena...
31.22
65
(translation_unit) "#ifndef ADIAR_DOT_H\n#define ADIAR_DOT_H\n\n#include <string.h>\n#include <adiar/file.h>\n\n#include <fstream>\n\n#include <adiar/file_stream.h>\n#include <adiar/file_writer.h>\n\nnamespace adiar {\n template <typename T>\n void output_dot(const T& nodes, const std::string &filename)\n {\n std...
795
23
{"language": "c", "success": true, "metadata": {"lines": 65, "avg_line_length": 31.22, "nodes": 470, "errors": 0, "source_hash": "622aba53b84f33d1fda4e40561a5a083ec8b3e2d35935302e2b81f4c66b318df", "categorized_nodes": 325}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
656
c
/* ftpii -- an FTP server for the Wii Copyright (C) 2008 <NAME> <<EMAIL>> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpos...
40.88
25
(translation_unit) "/*\n\nftpii -- an FTP server for the Wii\n\nCopyright (C) 2008 <NAME> <<EMAIL>>\n\nThis software is provided 'as-is', without any express or implied warranty.\nIn no event will the authors be held liable for any damages arising from\nthe use of this software.\n\nPermission is granted to anyone to us...
59
0
{"language": "c", "success": true, "metadata": {"lines": 25, "avg_line_length": 40.88, "nodes": 34, "errors": 0, "source_hash": "236188c648e8147eb14d67654cfa98590f5465a6fd9754e09e36bd163fead5d3", "categorized_nodes": 24}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
657
c
#ifndef NODETYPE_H #define NODETYPE_H struct NodeType { char info; NodeType* next; }; #endif
10.88
8
(translation_unit) "#ifndef NODETYPE_H\n#define NODETYPE_H\n\nstruct NodeType\n{\n char info;\n NodeType* next;\n};\n\n#endif" (preproc_ifdef) "#ifndef NODETYPE_H\n#define NODETYPE_H\n\nstruct NodeType\n{\n char info;\n NodeType* next;\n};\n\n#endif" (#ifndef) "#ifndef" (identifier) "NODETYPE_H" (preproc_...
25
0
{"language": "c", "success": true, "metadata": {"lines": 8, "avg_line_length": 10.88, "nodes": 18, "errors": 0, "source_hash": "1d01090342d337cfa8b198a293f77a77e233a5e41962bbcc316516678894551a", "categorized_nodes": 13}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef N...
658
c
// // KKViewController.h // KKEasyTouch // // Created by keke on 08/11/2017. // Copyright (c) 2017 keke. All rights reserved. // @import UIKit; @interface KKViewController : UIViewController @end
19
10
(translation_unit) "//\n// KKViewController.h\n// KKEasyTouch\n//\n// Created by keke on 08/11/2017.\n// Copyright (c) 2017 keke. All rights reserved.\n//\n\n@import UIKit;\n\n@interface KKViewController : UIViewController\n\n@end\n" (comment) "//" (comment) "// KKViewController.h" (comment) "// KKEasyTouch...
22
5
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 19.0, "nodes": 10, "errors": 0, "source_hash": "7198891c35d4315be8f4c6f907e59a407ba02faf26dc3ee3e86c6d900624c903", "categorized_nodes": 5}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "@", "parent": null...
659
c
// Porres 2017 #include "m_pd.h" static t_class *stepnoise_class; typedef struct _stepnoise { t_object x_obj; t_float x_freq; int x_val; double x_phase; t_float x_ynp1; t_float x_yn; t_outlet *x_outlet; float x_sr; } t_stepnoise; static void stepnoise_seed...
30.12
103
(translation_unit) "// Porres 2017\n\n#include "m_pd.h"\n\nstatic t_class *stepnoise_class;\n\ntypedef struct _stepnoise\n{\n t_object x_obj;\n t_float x_freq;\n int x_val;\n double x_phase;\n t_float x_ynp1;\n t_float x_yn;\n t_outlet *x_outlet;\n float x_sr;\n} t_st...
1,053
0
{"language": "c", "success": true, "metadata": {"lines": 103, "avg_line_length": 30.12, "nodes": 675, "errors": 0, "source_hash": "5e9623d9e6a3e942f179102d04543aae2885812e6be8e4542bb5e6cb73753119", "categorized_nodes": 476}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
660
c
/** * @file hi_logmng.h * @brief product logmng struct and interface * * Copyright (c) 2017 Unionman Tech.Co.,Ltd * * @author MinJie.YU * @date 2019/05/28 * @version 1.0 */ #ifndef _HI_LOGMNG_H #define _HI_LOGMNG_H #include "hi_appcomm.h" #ifdef __cplusplus #if __cplusplus extern "C" { #endif #endif ...
23.75
130
(translation_unit) "/**\n* @file hi_logmng.h\n* @brief product logmng struct and interface\n*\n* Copyright (c) 2017 Unionman Tech.Co.,Ltd\n*\n* @author MinJie.YU\n* @date 2019/05/28\n* @version 1.0\n\n*/\n\n#ifndef _HI_LOGMNG_H\n#define _HI_LOGMNG_H\n\n#include "hi_appcomm.h"\n\n#ifdef __cplusplus\n#if _...
360
2
{"language": "c", "success": true, "metadata": {"lines": 130, "avg_line_length": 23.75, "nodes": 240, "errors": 0, "source_hash": "000d469c89a9612444eaf5112291c0acbc1aa0ce6cef91c96594521bad2b2052", "categorized_nodes": 194}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "#ifndef _HI_L...
661
c
// Copyright (C) 2021 <NAME> #ifndef FILES_H #define FILES_H #include "types.h" #define FILETYPE_PBM 0x01 #define FILETYPE_PGM 0x02 #define FILETYPE_YAI 0x03 // Display list storage structure struct dl_store { unsigned size; void* mem; }; #define MAX_N_DL 8 #define DL_TOKEN 0x01 // Display list interupt st...
19.03
35
(translation_unit) "// Copyright (C) 2021 <NAME>\n\n#ifndef FILES_H\n#define FILES_H\n\n#include "types.h"\n\n#define FILETYPE_PBM 0x01\n#define FILETYPE_PGM 0x02\n#define FILETYPE_YAI 0x03\n\n// Display list storage structure\nstruct dl_store\n{\n unsigned size;\n void* mem;\n};\n#define MAX_N_DL 8\n#define DL_T...
157
0
{"language": "c", "success": true, "metadata": {"lines": 35, "avg_line_length": 19.03, "nodes": 109, "errors": 0, "source_hash": "73798ad19351251779f756ed16c268d0eec01f72dceaf9f5997b58784f62bb72", "categorized_nodes": 58}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
662
c
// stdafx.h : include file for standard system include files, // or project specific include files that are used frequently, // but are changed infrequently #pragma once // temporarily make unicode go away as we deal with Valve types #ifdef _UNICODE #define PUT_UNICODE_BACK #undef _UNICODE #endif #if _MANAGED #pra...
23.29
49
(translation_unit) " stdafx.h : include file for standard system include files,\n// or project specific include files that are used frequently,\n// but are changed infrequently\n\n#pragma once\n\n// temporarily make unicode go away as we deal with Valve types\n#ifdef _UNICODE\n#define PUT_UNICODE_BACK \n#undef _UNICODE...
188
4
{"language": "c", "success": true, "metadata": {"lines": 49, "avg_line_length": 23.29, "nodes": 130, "errors": 0, "source_hash": "3d4e2b006cd2cdc4b16e417a0adbc4e279b0b5f541dc898fe29ac56368e84997", "categorized_nodes": 89}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "ragma on...
663
c
#ifndef OKUYAMA_HOST_H #define OKUYAMA_HOST_H /***************************************************************************** * * File: okuyama_host.h * Author: <NAME> * Created: February 2011 * * $Id: okuyama_host.h 99 2011-02-21 23:25:38Z astivala $ * * * CUDA host code for multiple-source shortest path ...
36.58
24
(translation_unit) "#ifndef OKUYAMA_HOST_H\n#define OKUYAMA_HOST_H\n/*****************************************************************************\n * \n * File: okuyama_host.h\n * Author: <NAME>\n * Created: February 2011\n *\n * $Id: okuyama_host.h 99 2011-02-21 23:25:38Z astivala $\n *\n *\n * CUDA host code for...
71
0
{"language": "c", "success": true, "metadata": {"lines": 24, "avg_line_length": 36.58, "nodes": 45, "errors": 0, "source_hash": "a8ea497ee2a0032410e50efab670b7ef6f1d488b4d53a1eb0f0b124f226c91d9", "categorized_nodes": 26}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
664
c
#define CONFIG_FAKEIDENTD 1
27
1
(translation_unit) "#define CONFIG_FAKEIDENTD 1\n" (preproc_def) "#define CONFIG_FAKEIDENTD 1\n" (#define) "#define" (identifier) "CONFIG_FAKEIDENTD" (preproc_arg) "1"
5
0
{"language": "c", "success": true, "metadata": {"lines": 1, "avg_line_length": 27.0, "nodes": 4, "errors": 0, "source_hash": "63d4d04ab438fc79f6b7526873bebf509eac649c7733ddbd921b9015a34f2f0a", "categorized_nodes": 1}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_def", "text": "#define CONFIG...
665
c
#pragma once #include <chrono> #include <string> #include <iostream> #include <cassert> namespace recipe_6_01 { void execute() { { std::chrono::hours half_day(12); std::chrono::minutes half_hour(30); std::chrono::seconds half_minute(30); std::chrono:...
37.13
63
(translation_unit) "#pragma once\n\n#include <chrono>\n#include <string>\n#include <iostream>\n#include <cassert>\n\nnamespace recipe_6_01\n{\n void execute()\n {\n {\n std::chrono::hours half_day(12);\n std::chrono::minutes half_hour(30);\n std::chrono::seconds half...
816
65
{"language": "c", "success": true, "metadata": {"lines": 63, "avg_line_length": 37.13, "nodes": 505, "errors": 0, "source_hash": "9b1a3583d26e3717d1406fc1ba0634d9cf4482955c7e7ecf3247fd4e687256dd", "categorized_nodes": 334}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
666
c
// MIT License // // Copyright(c) 2021 <NAME> <<EMAIL>> // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files(the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modi...
36.46
41
(translation_unit) "// MIT License\n//\n// Copyright(c) 2021 <NAME> <<EMAIL>>\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files(the "Software"), to deal\n// in the Software without restriction, including without limitation the ri...
139
0
{"language": "c", "success": true, "metadata": {"lines": 41, "avg_line_length": 36.46, "nodes": 81, "errors": 0, "source_hash": "00d325a27f163dda1d424164e15702993d6244d21423dd93d4e06a5ef72a8a3c", "categorized_nodes": 55}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
667
c
#ifndef __ASM_SH73A0_H__ #define __ASM_SH73A0_H__ /* DMA slave IDs */ enum { SHDMA_SLAVE_INVALID, SHDMA_SLAVE_SCIF0_TX, SHDMA_SLAVE_SCIF0_RX, SHDMA_SLAVE_SCIF1_TX, SHDMA_SLAVE_SCIF1_RX, SHDMA_SLAVE_SCIF2_TX, SHDMA_SLAVE_SCIF2_RX, SHDMA_SLAVE_SCIF3_TX, SHDMA_SLAVE_SCIF3_RX, SHDMA_SLAVE_SCIF4_TX, SHDMA_SLAVE_...
27.45
85
(translation_unit) "#ifndef __ASM_SH73A0_H__\n#define __ASM_SH73A0_H__\n\n/* DMA slave IDs */\nenum {\n SHDMA_SLAVE_INVALID,\n SHDMA_SLAVE_SCIF0_TX,\n SHDMA_SLAVE_SCIF0_RX,\n SHDMA_SLAVE_SCIF1_TX,\n SHDMA_SLAVE_SCIF1_RX,\n SHDMA_SLAVE_SCIF2_TX,\n SHDMA_SLAVE_SCIF2_RX,\n SHDMA_SLAVE_SCIF3_TX,\n SHDMA_SLAVE_SCIF3_RX,\n S...
296
0
{"language": "c", "success": true, "metadata": {"lines": 85, "avg_line_length": 27.45, "nodes": 215, "errors": 0, "source_hash": "bbb40c2adb46c04a80cf0411e89c027f0ff9439340c76c3373f27ff2f9b86e89", "categorized_nodes": 162}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
668
c
#import <Foundation/Foundation.h> #import <UIKit/UIKit.h> #ifdef __cplusplus #define EXTERN_C_BEGIN extern "C" { #define EXTERN_C_END } #else #define EXTERN_C_BEGIN #define EXTERN_C_END #endif EXTERN_C_BEGIN /* * UILabel */ /// 实例化UILabel UILabel *InsertLabel(id superView, CGRect cRect, NSTextAlignment align,...
41.41
135
(translation_unit) "#import <Foundation/Foundation.h>\n#import <UIKit/UIKit.h>\n#ifdef __cplusplus\n#define EXTERN_C_BEGIN extern "C" {\n#define EXTERN_C_END }\n#else\n#define EXTERN_C_BEGIN\n#define EXTERN_C_END\n#endif\n\n\n\nEXTERN_C_BEGIN\n/*\n * UILabel\n */\n\n/// 实例化UILabel\nUILabel *InsertLabel(id superView,...
1,407
17
{"language": "c", "success": true, "metadata": {"lines": 135, "avg_line_length": 41.41, "nodes": 1021, "errors": 0, "source_hash": "03ecb0830a517128872826256e97c4d05f25fecebb61367c42e49be418f6bd90", "categorized_nodes": 733}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#impo...
669
c
#pragma once #include "ofMain.h" class BarValue { private: ofTrueTypeFont fontCycle; float fontCycleSize; std::string label; std::string tittle; bool bLabel = false; bool bTitle = false; public: void setLabel(std::string _label) { label = _label; } void setTitle(std::string _label) { tittle = _label; b...
19.94
167
(translation_unit) "#pragma once\n\n#include "ofMain.h"\n\nclass BarValue\n{\nprivate:\n ofTrueTypeFont fontCycle;\n float fontCycleSize;\n std::string label;\n std::string tittle;\n bool bLabel = false;\n bool bTitle = false;\npublic:\n void setLabel(std::string _label) {\n label = _label;\n }\n void setTitle(std::st...
1,116
13
{"language": "c", "success": true, "metadata": {"lines": 167, "avg_line_length": 19.94, "nodes": 654, "errors": 0, "source_hash": "4cf10e3d9329daa326d973c5241352398174dc92d068040b019d2ee5af079743", "categorized_nodes": 466}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragm...
670
c
#pragma once class CMiniDump { public: static BOOL Begin(VOID); static BOOL End(VOID); };
12.14
7
(translation_unit) "#pragma once\n\nclass CMiniDump\n{\npublic:\n static BOOL Begin(VOID);\n static BOOL End(VOID);\n};" (preproc_call) "#pragma once\n" (preproc_directive) "#pragma" (preproc_arg) "once" (function_definition) "class CMiniDump\n{\npublic:\n static BOOL Begin(VOID);\n static BOOL End(VOID);\n...
39
0
{"language": "c", "success": true, "metadata": {"lines": 7, "avg_line_length": 12.14, "nodes": 20, "errors": 0, "source_hash": "7411f4ca4ccc255a374257705d1dd22625aa27fa2b4ce7b46eb22065862f4eac", "categorized_nodes": 15}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma on...
671
c
/* ------------------------------------------------------------------------- */ // File : SG_File.h // Project : Star Gen // Author C++ : <NAME> /* ------------------------------------------------------------------------- */ #ifndef _STARGEN_FILE_H_ #define _STARGEN_FILE_H_ #if _MSC_VER > 1000 #pragma once #e...
39.49
53
(translation_unit) "/* ------------------------------------------------------------------------- */\n// File : SG_File.h\n// Project : Star Gen\n// Author C++ : <NAME>\n/* ------------------------------------------------------------------------- */\n#ifndef _STARGEN_FILE_H_\n#define _STARGEN_FILE_H_\n\n#if _MS...
437
17
{"language": "c", "success": true, "metadata": {"lines": 53, "avg_line_length": 39.49, "nodes": 318, "errors": 0, "source_hash": "52a7e2c1dbd61218677cfaf6c4279d147af2d799594f6787c44947c65e60a9a5", "categorized_nodes": 208}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
672
c
/* rename-test.c ** ** ** A simple test of the rename function. ** ** 2008-10-06, <NAME> */ #include <errno.h> #include <stdio.h> #include <stdlib.h> static FILE* file; static int r; static char name1[16], name2[16]; int main(void) { /* Generate two temporary file-names that have a random, unused spelling. */ ...
27.69
98
(translation_unit) "/* rename-test.c\n**\n**\n** A simple test of the rename function.\n**\n** 2008-10-06, <NAME>\n*/\n\n#include <errno.h>\n#include <stdio.h>\n#include <stdlib.h>\n\n\nstatic FILE* file;\nstatic int r;\nstatic char name1[16], name2[16];\n\nint main(void)\n{\n /* Generate two temporary file-names th...
639
0
{"language": "c", "success": true, "metadata": {"lines": 98, "avg_line_length": 27.69, "nodes": 308, "errors": 0, "source_hash": "d269b5e130496a3019bafe995a391a31f9baad1e6be18326955c0da243c7ece6", "categorized_nodes": 220}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
673
c
/* * Copyright (c) 2015-16 <NAME>, for NetDEF, Inc. * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE ...
37.96
84
(translation_unit) "/*\n * Copyright (c) 2015-16 <NAME>, for NetDEF, Inc.\n *\n * Permission to use, copy, modify, and distribute this software for any\n * purpose with or without fee is hereby granted, provided that the above\n * copyright notice and this permission notice appear in all copies.\n *\n * THE SOFTWARE I...
343
0
{"language": "c", "success": true, "metadata": {"lines": 84, "avg_line_length": 37.96, "nodes": 236, "errors": 0, "source_hash": "5239ea2458546aa78e19d37c61315b10fd6b1a94adc241c77b905cdb5db8a432", "categorized_nodes": 151}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
674
c
/********************* */ /*! \file AutoProjectedSteepestEdge.h ** \verbatim ** Top contributors (to current version): ** <NAME> ** This file is part of the Marabou project. ** Copyright (c) 2017-2019 by the authors listed in the file AUTHORS ** in the top-...
27.52
56
(translation_unit) "/********************* */\n/*! \file AutoProjectedSteepestEdge.h\n ** \verbatim\n ** Top contributors (to current version):\n ** <NAME>\n ** This file is part of the Marabou project.\n ** Copyright (c) 2017-2019 by the authors listed in the fi...
178
3
{"language": "c", "success": true, "metadata": {"lines": 56, "avg_line_length": 27.52, "nodes": 85, "errors": 0, "source_hash": "c2fb39743960cd09f841da6545f5866e030368419217e84115c295fef8e289b0", "categorized_nodes": 62}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
675
c
/* ozdevguy | C General Libraries Copyright 2016 <NAME> (ozdevguy) Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law...
35.43
81
(translation_unit) "/*\nozdevguy | C General Libraries\n\nCopyright 2016 <NAME> (ozdevguy)\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\nUn...
531
0
{"language": "c", "success": true, "metadata": {"lines": 81, "avg_line_length": 35.43, "nodes": 377, "errors": 0, "source_hash": "f36ef03f056849eb952229d286180d285c619e2ae768e8d5ecdf2d4c655e1986", "categorized_nodes": 228}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "type_definition", "text": "type...
676
c
/* * File: CacheDBType.h * Author: <NAME> * * Created on 2014_8_4, 16:00 */ #ifndef _CACHEDBTYPE_H #define _CACHEDBTYPE_H enum eDBType { DB_TYPE_TINYINT, DB_TYPE_SMALLINT, DB_TYPE_MEDIUMINT, DB_TYPE_INTEGER, DB_TYPE_BIGINT, DB_TYPE_INT, DB_TYPE_BIT, DB_TYPE_REAL, DB_TYPE_DOUBLE, DB_TYPE_FLOAT, DB_...
15.55
44
(translation_unit) "/* \n * File: CacheDBType.h\n * Author: <NAME>\n * \n * Created on 2014_8_4, 16:00\n */\n\n#ifndef _CACHEDBTYPE_H\n#define _CACHEDBTYPE_H\n\nenum eDBType {\n DB_TYPE_TINYINT,\n DB_TYPE_SMALLINT,\n DB_TYPE_MEDIUMINT,\n DB_TYPE_INTEGER,\n DB_TYPE_BIGINT,\n DB_TYPE_INT,\n DB_TYPE_BIT,\n DB_TYPE_REAL,...
113
0
{"language": "c", "success": true, "metadata": {"lines": 44, "avg_line_length": 15.55, "nodes": 75, "errors": 0, "source_hash": "7af42d130c408b28a4decc0403bf669410173a1a1eabc08be27a594e5feb2498", "categorized_nodes": 73}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
677
c
#pragma once #include "RedstoneHandler.h" #include "../../Blocks/BlockDoor.h" class cDoorHandler : public cRedstoneHandler { typedef cRedstoneHandler super; public: virtual unsigned char GetPowerDeliveredToPosition(cWorld & a_World, Vector3i a_Position, BLOCKTYPE a_BlockType, NIBBLETYPE a_Meta, Vector3i a_Que...
37.33
46
(translation_unit) "#pragma once\n\n#include "RedstoneHandler.h"\n#include "../../Blocks/BlockDoor.h"\n\n\n\n\n\nclass cDoorHandler : public cRedstoneHandler\n{\n typedef cRedstoneHandler super;\npublic:\n\n virtual unsigned char GetPowerDeliveredToPosition(cWorld & a_World, Vector3i a_Position, BLOCKTYPE a_BlockType, ...
450
22
{"language": "c", "success": true, "metadata": {"lines": 46, "avg_line_length": 37.33, "nodes": 250, "errors": 0, "source_hash": "ead5628e082c55b266afde4aee67e4bfec62b2d75722909456bf37dfc92de2a5", "categorized_nodes": 194}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
678
c
#ifndef UI_H #define UI_H #include "ui_events.h" #include "gfx.h" #include "powermanager.h" #include "ringbuffer.h" #include "machine.h" #include "button.h" #include "ui_power.h" #include "stm32/systime.h" class Ui { public: enum State { PowerDown, Splash, WaitForSolo, Arming, Telem, Pairing, G...
25.69
108
(translation_unit) "#ifndef UI_H\n#define UI_H\n\n\n\n#include "ui_events.h"\n\n#include "gfx.h"\n\n#include "powermanager.h"\n#include "ringbuffer.h"\n#include "machine.h"\n#include "button.h"\n\n\n#include "ui_power.h"\n\n#include "stm32/systime.h"\n\nclass Ui\n{\npublic:\n\n enum State {\n PowerDown,\n Splash,\n ...
816
16
{"language": "c", "success": true, "metadata": {"lines": 108, "avg_line_length": 25.69, "nodes": 495, "errors": 0, "source_hash": "6503beb815a6e771f90ff852784d039623c892129b3b310e3272bc3451c345e9", "categorized_nodes": 331}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
679
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" #import "DVTInvalidation.h" @class DVTStackBacktrace, IDEWorkspace, NSMutableDictionary, NSString; @interface IDEWorkspaceSettings : NSObject <DVTInvalidation> { ...
36.12
42
(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#import "DVTInvalidation.h"\n\n@class DVTStackBacktrace, IDEWorkspace, NSMutableDictionary, NSString;\n\n@interface IDEWorkspaceSettings ...
471
43
{"language": "c", "success": true, "metadata": {"lines": 42, "avg_line_length": 36.12, "nodes": 296, "errors": 0, "source_hash": "8f7e1fe1fb449ac7cfd25daa0eb3d26f0c0fe1187ce750ceb06910b62a02bb66", "categorized_nodes": 179}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import...
680
c
#ifndef OILBRUSHELEMENT_H #define OILBRUSHELEMENT_H #include "brushdrawingelement.h" namespace Velasquez { #define DEFAULT_OILBRUSH_COLOR 0xFF0000 #define DEFAULT_OILBRUSH_WIDTH 12.0 #define OILBRUSH_IMAGE ":/Velasquez/Resources/OilBrush.png" #define OILBRUSH_SPACING 2.0 // Width scale ...
24.28
65
(translation_unit) "#ifndef OILBRUSHELEMENT_H \n#define OILBRUSHELEMENT_H \n \n#include "brushdrawingelement.h" \n \nnamespace Velasquez \n{ \n \n#define DEFAULT_OILBRUSH_COLOR 0xFF0000 \n#define DEFAULT_OILBRUSH_WIDTH 12.0 \n \n#define OILBRUSH_IMAGE ":/Velasquez/Resources/OilBrush.png" \n \n#define OILBRUSH_S...
347
21
{"language": "c", "success": true, "metadata": {"lines": 65, "avg_line_length": 24.28, "nodes": 226, "errors": 0, "source_hash": "9c91c47468a9115c96c69fc2913bdc09383ef79ad0c71e70479752a0a4d94265", "categorized_nodes": 143}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
681
c
#pragma once #include <tuple> #define FMT_HEADER_ONLY #include <fmt/format.h> #include "log_type.h" namespace shark_log { template <typename S, class _Tuple, size_t... _Indices> std::string format_tuple_impl(const S& format_str, _Tuple&& _Tpl, std::index_sequence<_Indices...>) { return fmt::format...
34.19
78
(translation_unit) "#pragma once\n#include <tuple>\n#define FMT_HEADER_ONLY\n#include <fmt/format.h>\n\n#include "log_type.h"\n\nnamespace shark_log\n{\n template <typename S, class _Tuple, size_t... _Indices>\n std::string format_tuple_impl(const S& format_str, _Tuple&& _Tpl, std::index_sequence<_Indices...>)\n ...
849
49
{"language": "c", "success": true, "metadata": {"lines": 78, "avg_line_length": 34.19, "nodes": 531, "errors": 0, "source_hash": "359880746dbeb433b4fef7e532340877312397d686bb4f14a7ff6da6708fab08", "categorized_nodes": 346}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
682
c
/* * Copyright 2018, Data61, CSIRO (ABN 41 687 119 230) * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include <autoconf.h> #include <sel4utils/gen_config.h> #if CONFIG_PT_LEVELS == 2 #define VSPACE_LEVEL_BITS 10 #elif CONFIG_PT_LEVELS == 3 #define VSPACE_LEVEL_BITS 9 #elif CONFIG_PT_LEVELS == 4 #defi...
23.37
19
(translation_unit) "/*\n * Copyright 2018, Data61, CSIRO (ABN 41 687 119 230)\n *\n * SPDX-License-Identifier: BSD-2-Clause\n */\n#pragma once\n\n#include <autoconf.h>\n#include <sel4utils/gen_config.h>\n\n#if CONFIG_PT_LEVELS == 2\n#define VSPACE_LEVEL_BITS 10\n#elif CONFIG_PT_LEVELS == 3\n#define VSPACE_LEVEL_BITS 9\...
58
0
{"language": "c", "success": true, "metadata": {"lines": 19, "avg_line_length": 23.37, "nodes": 56, "errors": 0, "source_hash": "8e59e654924a741a40a16b3603d622249b2546aeb0da739750b53e1274622b9b", "categorized_nodes": 29}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
683
c
/* * GLKView.h * * Copyright (c) 2014-2019 The Brenwill Workshop Ltd. All rights reserved. * http://www.brenwill.com * * Use of this document is governed by the MoltenGL License Agreement, as included * in the MoltenGL distribution package. CAREFULLY READ THAT LICENSE AGREEMENT BEFORE * READING AND USING THIS D...
42.06
71
(translation_unit) "/*\n * GLKView.h\n *\n * Copyright (c) 2014-2019 The Brenwill Workshop Ltd. All rights reserved.\n * http://www.brenwill.com\n *\n * Use of this document is governed by the MoltenGL License Agreement, as included\n * in the MoltenGL distribution package. CAREFULLY READ THAT LICENSE AGREEMENT BEFORE\...
277
25
{"language": "c", "success": true, "metadata": {"lines": 71, "avg_line_length": 42.06, "nodes": 177, "errors": 0, "source_hash": "a1641be64834be092acee0dd3e0d0b22f8aecb81eeb382f42220d2f03d50ea6e", "categorized_nodes": 102}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import...
684
c
/* adler32_x86.c -- compute the Adler-32 checksum of a data stream * Copyright (C) 1995-2011 <NAME> * Copyright (C) 2017 <NAME> * For conditions of distribution and use, see copyright notice in zlib.h */ /* @(#) $Id$ */ #include "adler32_x86.h" #include "x86.h" extern uint32_t adler32_c(uint32_t adler, const uns...
33.3
20
(translation_unit) "/* adler32_x86.c -- compute the Adler-32 checksum of a data stream\n * Copyright (C) 1995-2011 <NAME>\n * Copyright (C) 2017 <NAME>\n * For conditions of distribution and use, see copyright notice in zlib.h\n */\n\n/* @(#) $Id$ */\n\n#include "adler32_x86.h"\n#include "x86.h"\n\nextern uint32_t adle...
139
0
{"language": "c", "success": true, "metadata": {"lines": 20, "avg_line_length": 33.3, "nodes": 89, "errors": 0, "source_hash": "9383083f43fe7826fd6bd7ffa4adde1ebab93ff093953caae99108c4601a4e2f", "categorized_nodes": 61}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#includ...
685
c
#include <string> #include <iostream> // Following data types are can't be serialized by type casting. // 1. std::string // 2. pointers class inner_class { public: inner_class() { k = 888; l = 123.445f; //m = "inner_class"; } std::string to_stri...
25
77
(translation_unit) "#include <string>\n#include <iostream>\n\n// Following data types are can't be serialized by type casting.\n// 1. std::string\n// 2. pointers\n\nclass inner_class\n{\n public:\n inner_class()\n {\n k = 888;\n l = 123.445f;\n //m = "inner_class";\n ...
549
14
{"language": "c", "success": true, "metadata": {"lines": 77, "avg_line_length": 25.0, "nodes": 306, "errors": 0, "source_hash": "66b4013a684d4c4a07dded490365334cb12af0e52b510a5da89f26d63798692f", "categorized_nodes": 210}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
686
c
#import <Foundation/NSNotification.h> #import <PromiseKit/AnyPromise.h> /** To import the `NSNotificationCenter` category: use_frameworks! pod "PromiseKit/Foundation" Or `NSNotificationCenter` is one of the categories imported by the umbrella pod: use_frameworks! pod "PromiseKit" And then in yo...
41.45
31
(translation_unit) "#import <Foundation/NSNotification.h>\n#import <PromiseKit/AnyPromise.h>\n\n\n/**\n To import the `NSNotificationCenter` category:\n\n use_frameworks!\n pod "PromiseKit/Foundation"\n\n Or `NSNotificationCenter` is one of the categories imported by the umbrella pod:\n\n use_frameworks!\n ...
42
6
{"language": "c", "success": true, "metadata": {"lines": 31, "avg_line_length": 41.45, "nodes": 30, "errors": 0, "source_hash": "f8e56adc3f8b5a2ed83a53c3969e2e056226678c23d49bfb10bcf75ddd6eb677", "categorized_nodes": 15}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <...
687
c
/* Generated by RuntimeBrowser Image: /System/Library/PrivateFrameworks/CoreThemeDefinition.framework/CoreThemeDefinition */ @interface TDStringProperty : TDProperty { NSString * _stringValue; } @property (nonatomic, copy) NSString *stringValue; - (void)addToDictionary:(id)arg1; - (void)dealloc; - (void)setS...
29.17
12
(translation_unit) "/* Generated by RuntimeBrowser\n Image: /System/Library/PrivateFrameworks/CoreThemeDefinition.framework/CoreThemeDefinition\n */\n\n@interface TDStringProperty : TDProperty {\n NSString * _stringValue;\n}\n\n@property (nonatomic, copy) NSString *stringValue;\n\n- (void)addToDictionary:(id)arg1;...
92
9
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 29.17, "nodes": 56, "errors": 0, "source_hash": "83c7b28fe14314f6be1f9a40d6da2beaa3c53a3eced0c46ef2d8910b3ab08a82", "categorized_nodes": 31}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "@interface TDStr...
688
c
// // WBPagesManagerController.h // WBPagesManagerController // // Created by WMB on 2017/3/27. // Copyright © 2017年 文波. All rights reserved. // #import <UIKit/UIKit.h> #import "WBPagesReuseSegmentView.h" @interface WBPagesManagerController : UIViewController <UIScrollViewDelegate> @property (nonatomic,strong) W...
27.91
33
(translation_unit) "//\n// WBPagesManagerController.h\n// WBPagesManagerController\n//\n// Created by WMB on 2017/3/27.\n// Copyright © 2017年 文波. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n#import "WBPagesReuseSegmentView.h"\n@interface WBPagesManagerController : UIViewController <UIScrollViewDelegate>\...
158
28
{"language": "c", "success": true, "metadata": {"lines": 33, "avg_line_length": 27.91, "nodes": 104, "errors": 0, "source_hash": "b9a212c73158090ee2959a0d7265a221c38d50c3d87e64770da1b7ccfb2813a6", "categorized_nodes": 52}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": " <UIKit/...
689
c
// // PasterVideoViewController.h // MedProAdapter // // Created by lurich on 2021/12/28. // #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @interface PasterVideoViewController : UIViewController @end NS_ASSUME_NONNULL_END
19.64
11
(translation_unit) "//\n// PasterVideoViewController.h\n// MedProAdapter\n//\n// Created by lurich on 2021/12/28.\n//\n\n#import <UIKit/UIKit.h>\n\nNS_ASSUME_NONNULL_BEGIN\n\n@interface PasterVideoViewController : UIViewController\n\n@end\n\nNS_ASSUME_NONNULL_END\n" (comment) "//" (comment) "// PasterVideoViewC...
26
4
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 19.64, "nodes": 15, "errors": 0, "source_hash": "93da18c32a59cc7a5eb96a53617268237149c44934e443cdd5b51f619b599d5b", "categorized_nodes": 8}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <U...
690
c
#ifndef ERIZO_SRC_ERIZO_RTP_RTCPFORWARDER_H_ #define ERIZO_SRC_ERIZO_RTP_RTCPFORWARDER_H_ #include <boost/shared_ptr.hpp> #include <map> #include <list> #include <set> #include "./logger.h" #include "./MediaDefinitions.h" #include "./SdpInfo.h" #include "rtp/RtpHeaders.h" #include "rtp/RtcpProcessor.h" namespace er...
39.51
37
(translation_unit) "#ifndef ERIZO_SRC_ERIZO_RTP_RTCPFORWARDER_H_\n#define ERIZO_SRC_ERIZO_RTP_RTCPFORWARDER_H_\n\n#include <boost/shared_ptr.hpp>\n\n#include <map>\n#include <list>\n#include <set>\n\n#include "./logger.h"\n#include "./MediaDefinitions.h"\n#include "./SdpInfo.h"\n#include "rtp/RtpHeaders.h"\n#include "r...
402
16
{"language": "c", "success": true, "metadata": {"lines": 37, "avg_line_length": 39.51, "nodes": 264, "errors": 0, "source_hash": "cb6f1fd3b81445929be13ce0e278523dd8ab2b615aa75a315be04993de4e8efe", "categorized_nodes": 174}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
691
c
/*=========================================================================== _____ _____ _____ _____ ___| _|__ __|_ |__ __|__ |__ __| __ |__ ______ | \ / | || \ || | || |/ / ||___ | | \/ | || \ || \ || \ ||___ | |__/\__...
29.17
123
(translation_unit) "/*===========================================================================\n _____ _____ _____ _____\n ___| _|__ __|_ |__ __|__ |__ __| __ |__ ______\n| \ / | || \ || | || |/ / ||___ |\n| \/ | || \ || \ || ...
344
4
{"language": "c", "success": true, "metadata": {"lines": 123, "avg_line_length": 29.17, "nodes": 193, "errors": 0, "source_hash": "f332b8ac21a938265185b8482b078e19d44f9cbae7b80bb28b8d9ecb95f7683b", "categorized_nodes": 128}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
692
c
// QSLogLib // // Authors // SLogLib : <NAME> https://github.com/saurabhg17/SLogLib // QSLogLib : j2doll https://github.com/j2doll/QSLogLib // // MIT License // #ifndef _SLOGLIB_LOGGINGMANAGER_H_ #define _SLOGLIB_LOGGINGMANAGER_H_ #include <QtGlobal> #include <QMutex> #include <QVector> #include "QSLogLib/Devic...
28
71
(translation_unit) "// QSLogLib\n// \n// Authors\n// SLogLib : <NAME> https://github.com/saurabhg17/SLogLib\n// QSLogLib : j2doll https://github.com/j2doll/QSLogLib\n//\n// MIT License\n//\n\n#ifndef _SLOGLIB_LOGGINGMANAGER_H_\n#define _SLOGLIB_LOGGINGMANAGER_H_\n\n#include <QtGlobal>\n#include <QMutex>\n#include <...
343
12
{"language": "c", "success": true, "metadata": {"lines": 71, "avg_line_length": 28.0, "nodes": 186, "errors": 0, "source_hash": "f6425c254c45a03ba75aa41b54b59fc5e5286f47b5b16f1ad7a0936026ddb695", "categorized_nodes": 126}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
693
c
#pragma once void testUDP(); void testUDPCounter();
16.33
3
(translation_unit) "#pragma once\n\nvoid testUDP();\nvoid testUDPCounter();" (preproc_call) "#pragma once\n" (preproc_directive) "#pragma" (preproc_arg) "once" (declaration) "void testUDP();" (primitive_type) "void" (function_declarator) "testUDP()" (identifier) "testUDP" (parameter_list...
20
0
{"language": "c", "success": true, "metadata": {"lines": 3, "avg_line_length": 16.33, "nodes": 13, "errors": 0, "source_hash": "5e27734f8704511d228995378a50ad77eb24d2f2c58ab04290ed55b4c05fb702", "categorized_nodes": 7}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma onc...
694
c
#include <stdlib.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <unistd.h> #include <sys/ioctl.h> #include "common.h" /* the console device */ #define CONSOLE_DEVICE "/dev/console" int main(int argc, char *argv[]) { /* the console device file descriptor */ int console_fd = 0; /* make...
23.75
51
(translation_unit) "#include <stdlib.h>\n#include <sys/types.h>\n#include <sys/stat.h>\n#include <fcntl.h>\n#include <unistd.h>\n#include <sys/ioctl.h>\n\n#include "common.h"\n\n/* the console device */\n#define CONSOLE_DEVICE "/dev/console"\n\nint main(int argc, char *argv[]) {\n /* the console device file descriptor ...
305
0
{"language": "c", "success": true, "metadata": {"lines": 51, "avg_line_length": 23.75, "nodes": 172, "errors": 0, "source_hash": "b76acd1a532a8c0663894be6de998230bfcf07b17e9ee8a4ba5f7e3a811ac043", "categorized_nodes": 114}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
695
c
// // NSPrintableString.h // Atari800MacX // // Created by <NAME> on Sat Mar 19 2005. // Copyright (c) 2005 __MyCompanyName__. All rights reserved. // #import <Cocoa/Cocoa.h> #import "PrintProtocol.h" @interface PrintablePath : NSBezierPath <PrintProtocol> { NSColor *color; } -(void) setColor:(NSColor *)pathC...
22.43
14
(translation_unit) "//\n// NSPrintableString.h\n// Atari800MacX\n//\n// Created by <NAME> on Sat Mar 19 2005.\n// Copyright (c) 2005 __MyCompanyName__. All rights reserved.\n//\n\n#import <Cocoa/Cocoa.h>\n#import "PrintProtocol.h"\n\n@interface PrintablePath : NSBezierPath <PrintProtocol> {\n NSColor *color;\n}\n...
55
7
{"language": "c", "success": true, "metadata": {"lines": 14, "avg_line_length": 22.43, "nodes": 34, "errors": 0, "source_hash": "294e8f4bc737c641c017df2a17764f2d18ac9d4dd8bc687bb91421b08237f5ec", "categorized_nodes": 16}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <...
696
c
#ifndef MIO_ZONE_VECTOR_H_ #define MIO_ZONE_VECTOR_H_ #include "zone.h" #include "glog/logging.h" namespace mio { template<class T> class ZoneVector : public ManagedObject { public: enum { kDefaultCapacity = 8, }; ZoneVector(Zone *zone) : zone_(DCHECK_NOTNULL(zone)) {} ~ZoneVector(); DEF_GETTER(int...
36.66
134
(translation_unit) "#ifndef MIO_ZONE_VECTOR_H_\n#define MIO_ZONE_VECTOR_H_\n\n#include "zone.h"\n#include "glog/logging.h"\n\nnamespace mio {\n\ntemplate<class T>\nclass ZoneVector : public ManagedObject {\npublic:\n enum { kDefaultCapacity = 8, };\n\n ZoneVector(Zone *zone) : zone_(DCHECK_NOTNULL(zone)) {}\n ...
1,384
70
{"language": "c", "success": true, "metadata": {"lines": 134, "avg_line_length": 36.66, "nodes": 882, "errors": 0, "source_hash": "0c4993f676271ca67668bfb1e36e0c4254f3148cabc310616f69b0f958d10ec2", "categorized_nodes": 581}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
697
c
// // SSA.h // SSA // // Created by <NAME> on 06.07.15. // Copyright (c) 2015 GfK. All rights reserved. // #import <Foundation/Foundation.h> @class Agent; @class Event; @interface SSA : NSObject - (instancetype)initWithAdvertisingId:(NSString *)advertisingId andConfigUrl:(NSString *)configUrl; - (Agent *)agen...
26.78
18
(translation_unit) "//\n// SSA.h\n// SSA\n//\n// Created by <NAME> on 06.07.15.\n// Copyright (c) 2015 GfK. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n\n@class Agent;\n@class Event;\n\n\n@interface SSA : NSObject\n\n- (instancetype)initWithAdvertisingId:(NSString *)advertisingId andConfigUrl:(NS...
138
18
{"language": "c", "success": true, "metadata": {"lines": 18, "avg_line_length": 26.78, "nodes": 85, "errors": 0, "source_hash": "3ce6fc7bafafcc57df236d049843f570f4f13be7f0ce0ccc3c2020ee99188559", "categorized_nodes": 45}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <...
698
c
#include <SDL.H> #include "cst.h" #ifndef AFFICHAGE_H #define AFFICHAGE_H void SDL_ExitWhileRunning(const char * message); SDL_Texture* initTexture(const char *fileName, SDL_Renderer *renderer); void initSDLGame(); void destroyTextures(); void renderMenu(); void renderRules(); void rende...
22.32
22
(translation_unit) "#include <SDL.H> \n#include "cst.h" \n \n#ifndef AFFICHAGE_H \n \n#define AFFICHAGE_H \n void SDL_ExitWhileRunning(const char * message); \n SDL_Texture* initTexture(const char *fileName, SDL_Renderer *renderer); \n void initSDLGame(); \n void destroyTextures(); \n \n \n void renderMenu(); \n ...
145
0
{"language": "c", "success": true, "metadata": {"lines": 22, "avg_line_length": 22.32, "nodes": 101, "errors": 0, "source_hash": "7746314ec0a036a297bfbe97a2be429c314d2b4451348afc7e38ad4f215a2625", "categorized_nodes": 61}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
699