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
#include "path.h" #include "mft.h" #include "index.h" #include "attribs.h" const uint32_t SYMLINK_FLAG_RELATIVE = 0x00000001; /* The substitute name is a path name relative to the directory containing the symbolic link. */ #pragma pack (push, 1) struct _reparse_point { /*0x00*/ uint32_t ...
31.97
248
(translation_unit) "#include "path.h" \n#include "mft.h" \n#include "index.h" \n#include "attribs.h" \n \n \nconst uint32_t SYMLINK_FLAG_RELATIVE = 0x00000001; /* The substitute name is a path name relative to the \n directory containing the symbolic link. */ \n \n#pragma pack (push, 1) \nstruct _repars...
2,073
0
{"language": "c", "success": true, "metadata": {"lines": 248, "avg_line_length": 31.97, "nodes": 1212, "errors": 0, "source_hash": "37421d8509f51afa7a82e41f2a0f555e4f72f82b72ac40be53de0036ab615e26", "categorized_nodes": 879}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#i...
11,300
c
// // HBWKWebViewProtocol.h // HBLib // // Created by 王海波 on 2020/4/28. // #import <Foundation/Foundation.h> #import <WebKit/WebKit.h> #import <WebViewJavascriptBridge/WKWebViewJavascriptBridge.h> NS_ASSUME_NONNULL_BEGIN @protocol HBWKWebViewProtocol <NSObject> //WKWebView @property (nonatomic,readonly) WKWebVie...
23.09
22
(translation_unit) "//\n// HBWKWebViewProtocol.h\n// HBLib\n//\n// Created by 王海波 on 2020/4/28.\n//\n\n#import <Foundation/Foundation.h>\n#import <WebKit/WebKit.h>\n#import <WebViewJavascriptBridge/WKWebViewJavascriptBridge.h>\n\nNS_ASSUME_NONNULL_BEGIN\n\n@protocol HBWKWebViewProtocol <NSObject>\n\n//WKWebView\n@pr...
88
10
{"language": "c", "success": true, "metadata": {"lines": 22, "avg_line_length": 23.09, "nodes": 59, "errors": 0, "source_hash": "6e0793eff82a5d6543889dbe16dc9d2424bde95737529bc1b7b58fb0e1c9ad70", "categorized_nodes": 34}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "t <Founda...
11,301
c
/** ****************************************************************************** * @file STM32F10x_DSP_Lib/src/iir_stm32.c * @author MCD Application Team * @version V2.0.0 * @date 04/27/2009 * @brief This source file contains IIR functions in C ******************************************************...
33.19
90
(translation_unit) "/**\n ******************************************************************************\n * @file STM32F10x_DSP_Lib/src/iir_stm32.c \n * @author MCD Application Team\n * @version V2.0.0\n * @date 04/27/2009\n * @brief This source file contains IIR functions in C\n ***************************...
565
0
{"language": "c", "success": true, "metadata": {"lines": 90, "avg_line_length": 33.19, "nodes": 392, "errors": 0, "source_hash": "98d24a75157e0be8adc389375049fd6f1ec3fd410a258773cd46570c4c435a9f", "categorized_nodes": 283}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
11,302
c
// // SwiftWeather-Bridgin-Header.h // Swift Weather // // Created by apple on 15/5/15. // Copyright (c) 2015年 zz. All rights reserved. // #import <AFNetworking/AFNetworking.h> #ifndef Swift_Weather_SwiftWeather_Bridgin_Header_h #define Swift_Weather_SwiftWeather_Bridgin_Header_h #endif
23.42
12
(translation_unit) "//\n// SwiftWeather-Bridgin-Header.h\n// Swift Weather\n//\n// Created by apple on 15/5/15.\n// Copyright (c) 2015年 zz. All rights reserved.\n//\n\n#import <AFNetworking/AFNetworking.h>\n\n#ifndef Swift_Weather_SwiftWeather_Bridgin_Header_h\n#define Swift_Weather_SwiftWeather_Bridgin_Header_h\n\...
18
0
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 23.42, "nodes": 10, "errors": 0, "source_hash": "70959cc970c5e5a0939fb01225eeb925c5807e546eda77e4d8bd84edea0a2788", "categorized_nodes": 6}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "mport <AFN...
11,303
c
#ifndef DTDCSByLumiTask_H #define DTDCSByLumiTask_H /* * \file DTDCSByLumiTask.h * * \author <NAME> - CIEMAT * \author <NAME> - INFN PD * \author <NAME> = INFN PD * */ #include "FWCore/Framework/interface/Frameworkfwd.h" #include <FWCore/Framework/interface/EDAnalyzer.h> #include <DataFormats/Common/interface/H...
33.49
59
(translation_unit) "#ifndef DTDCSByLumiTask_H\n#define DTDCSByLumiTask_H\n\n/*\n * \file DTDCSByLumiTask.h\n *\n * \author <NAME> - CIEMAT\n * \author <NAME> - INFN PD\n * \author <NAME> = INFN PD\n *\n*/\n\n#include "FWCore/Framework/interface/Frameworkfwd.h"\n#include <FWCore/Framework/interface/EDAnalyzer.h>\n#inclu...
381
31
{"language": "c", "success": true, "metadata": {"lines": 59, "avg_line_length": 33.49, "nodes": 204, "errors": 0, "source_hash": "88169da2436915c28fd3220bd53d4cbc12fd5445eb22934e5a6031da1d449151", "categorized_nodes": 149}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
11,304
c
/*--------------------------------------------------------------*/ /* */ /* surface_hourly */ /* */ /* NAME */ /* surface_hourly */ /* */ /* */ /* SYNOPSIS */ /* void surface_hourly */ /* */ /* OPTIONS */ /* */ /* DESCRIPTION */ /* */...
34.34
94
(translation_unit) "/*--------------------------------------------------------------*/\n/* */\n/* surface_hourly */\n/* */\n/* NAME */\n/* surface_hourly */\n/* */\n/* */\n/* SYNOPSIS */\n/* void surface_hourly */\n/* */\n/* OPTIONS */\n/* */\n/* ...
600
0
{"language": "c", "success": true, "metadata": {"lines": 94, "avg_line_length": 34.34, "nodes": 362, "errors": 0, "source_hash": "a70b18204e1ff51fdbb62dd7305c94cfdddc3291816eafdcfbc8b59622490ef2", "categorized_nodes": 304}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
11,305
c
// // Copyright (c) 1997-2001 Microsoft Corporation, All Rights Reserved // // *************************************************************************** // // Original Author: <NAME> // // $Author: rajeshr $ // $Date: 6/11/98 4:43p $ // $Workfile:clsproi.cpp $ // // $Modtime: 6/11/98 11:21a $ // $Revi...
25.37
35
(translation_unit) "// \n \n// Copyright (c) 1997-2001 Microsoft Corporation, All Rights Reserved \n// \n// *************************************************************************** \n// \n// Original Author: <NAME> \n// \n// $Author: rajeshr $ \n// $Date: 6/11/98 4:43p $ \n// $Workfile:clsproi.cpp $ \n// \n// $Mod...
57
0
{"language": "c", "success": true, "metadata": {"lines": 35, "avg_line_length": 25.37, "nodes": 18, "errors": 0, "source_hash": "a1438467e4b589d2975a1282685702d4b33cfca2c005d30f01e23981921d103c", "categorized_nodes": 12}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
11,306
c
version https://git-lfs.github.com/spec/v1 oid sha256:5d0a9ad73cf8a67758bbf2616a89db8c51a738dbc3c8ab90d0456316f7833fc3 size 4548
42
3
(translation_unit) "version https://git-lfs.github.com/spec/v1\noid sha256:5d0a9ad73cf8a67758bbf2616a89db8c51a738dbc3c8ab90d0456316f7833fc3\nsize 4548\n" (declaration) "version https://git-lfs.github.com/spec/v1\noid" (type_identifier) "version" (ERROR) "https:" (identifier) "https" (:) ":" (c...
20
2
{"language": "c", "success": true, "metadata": {"lines": 3, "avg_line_length": 42.0, "nodes": 13, "errors": 0, "source_hash": "3889b9065e4e0b09e732d9f8289c24c63ea738117e980e101d85bda2336d14c6", "categorized_nodes": 10}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "declaration", "text": "version http...
11,307
c
#ifndef _PRIME_H #define _PRIME_H int numprime(int); #endif
14
4
(translation_unit) "#ifndef _PRIME_H\n#define _PRIME_H\n\nint numprime(int);\n\n#endif\n" (preproc_ifdef) "#ifndef _PRIME_H\n#define _PRIME_H\n\nint numprime(int);\n\n#endif" (#ifndef) "#ifndef" (identifier) "_PRIME_H" (preproc_def) "#define _PRIME_H\n" (#define) "#define" (identifier) "_PRIME...
18
0
{"language": "c", "success": true, "metadata": {"lines": 4, "avg_line_length": 14.0, "nodes": 14, "errors": 0, "source_hash": "8776568c97e25bed11faf0ccd86a580ca25c971d8afe75ee63df9eb8d54d9d8b", "categorized_nodes": 9}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef _PR...
11,308
c
#pragma once #include <QDataStream> #include <QTextStream> #include <QVector> #include <QVector3D> class medWorldPosContours { public: medWorldPosContours(); medWorldPosContours(qint32 id, qint32 ori, QVector<QVector3D> coordinates); medWorldPosContours(const medWorldPosContours& other); friend QDa...
33.69
26
(translation_unit) "#pragma once\n\n#include <QDataStream>\n#include <QTextStream>\n#include <QVector>\n#include <QVector3D>\n\n\nclass medWorldPosContours\n{\npublic:\n medWorldPosContours();\n medWorldPosContours(qint32 id, qint32 ori, QVector<QVector3D> coordinates);\n medWorldPosContours(const medWorldPos...
250
7
{"language": "c", "success": true, "metadata": {"lines": 26, "avg_line_length": 33.69, "nodes": 154, "errors": 0, "source_hash": "adf690d568ece16e642b41456af23c8b47fdcdfacc89e5c7456f2c257291e8fc", "categorized_nodes": 123}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
11,309
c
#ifndef YARPFineOrientation_INC #define YARPFineOrientation_INC #include <yarp/YARPImage.h> #define FINE_ORIENTATION_SHIFTS (16) class YARPFineOrientation { protected: static YARPImageOf<YarpPixelBGR> shifts[FINE_ORIENTATION_SHIFTS], mean; public: int use_democracy; int use_luminance_filter; int use_quoti...
25.91
45
(translation_unit) "#ifndef YARPFineOrientation_INC\n#define YARPFineOrientation_INC\n\n#include <yarp/YARPImage.h>\n\n#define FINE_ORIENTATION_SHIFTS (16)\n\nclass YARPFineOrientation\n{\nprotected:\n\n static YARPImageOf<YarpPixelBGR> shifts[FINE_ORIENTATION_SHIFTS], mean;\n\npublic:\n int use_democracy;\n int use...
310
11
{"language": "c", "success": true, "metadata": {"lines": 45, "avg_line_length": 25.91, "nodes": 200, "errors": 0, "source_hash": "f59bb65edd8111b2cae573dfb3aa71be1596b96bd40fcd00530ecd2342d4e4a2", "categorized_nodes": 129}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
11,310
c
#pragma once class SolarSystem { public: SolarSystem(); ~SolarSystem(); void Update(float dt); void Draw(); protected: private: };
11.27
11
(translation_unit) "#pragma once\nclass SolarSystem\n{\npublic:\n\n SolarSystem();\n ~SolarSystem();\n\n void Update(float dt);\n void Draw();\n\nprotected:\n\nprivate:\n\n};\n\n" (preproc_call) "#pragma once\n" (preproc_directive) "#pragma" (preproc_arg) "once" (function_definition) "class SolarSystem\n{\n...
58
0
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 11.27, "nodes": 29, "errors": 0, "source_hash": "703fe58132f9128ffbd4e57d4db070d41fb41e114690550ac43de4a2061cc0bc", "categorized_nodes": 16}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
11,311
c
#ifndef PLATOON_H_ #define PLATOON_H_ #pragma once #include <math.h> #include <float.h> #include <cgmres_lib/model.hpp> #include <controller.h> template<int NCAR> class DriverModel{ public: using x_t = typename Model<3*NCAR, 1*NCAR>::x_t; virtual void cal_output(const x_t &in_x, const int i, double* out_y) = 0; ...
33.13
331
(translation_unit) "#ifndef PLATOON_H_\n#define PLATOON_H_\n#pragma once\n\n#include <math.h>\n#include <float.h>\n#include <cgmres_lib/model.hpp>\n#include <controller.h>\n\ntemplate<int NCAR>\nclass DriverModel{\npublic:\n using x_t = typename Model<3*NCAR, 1*NCAR>::x_t;\n \n virtual void cal_output(const x_t &in_x, ...
5,140
48
{"language": "c", "success": true, "metadata": {"lines": 331, "avg_line_length": 33.13, "nodes": 3312, "errors": 0, "source_hash": "a833bd3327309f7f69bf8993fa198dc6018aacc54c6307aa03a31a2424b2edc3", "categorized_nodes": 2489}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#if...
11,312
c
#ifndef _HSK_HSK_H #define _HSK_HSK_H #include "addr.h" #include "addrmgr.h" #include "aead.h" #include "base32.h" #include "blake2b.h" #include "bn.h" #include "brontide.h" #include "chain.h" #include "constants.h" #include "cuckoo.h" #include "dns.h" #include "dnssec.h" #include "ec.h" #include "ecc.h" #include "err...
18.03
33
(translation_unit) "#ifndef _HSK_HSK_H\n#define _HSK_HSK_H\n\n#include "addr.h"\n#include "addrmgr.h"\n#include "aead.h"\n#include "base32.h"\n#include "blake2b.h"\n#include "bn.h"\n#include "brontide.h"\n#include "chain.h"\n#include "constants.h"\n#include "cuckoo.h"\n#include "dns.h"\n#include "dnssec.h"\n#include "e...
178
0
{"language": "c", "success": true, "metadata": {"lines": 33, "avg_line_length": 18.03, "nodes": 91, "errors": 0, "source_hash": "ace0b6afcfa34f625b3abc87f2426a669f834772041de29d790c5e14b693585f", "categorized_nodes": 89}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
11,313
c
// globals.c // // global variable definitions for cyborg_vision // #include <unistd.h> #include <stdio.h> #include <sys/time.h> #include "cv.h" #include "cv_net.h" #include "sensors.h" #include "db/externs.h" /// Program name /// /// argv[0] in Linux terms /// /// Used as part of error and warning messages to id...
31.89
61
(translation_unit) "// globals.c\n//\n// global variable definitions for cyborg_vision\n//\n\n#include <unistd.h>\n#include <stdio.h>\n#include <sys/time.h>\n\n#include "cv.h"\n#include "cv_net.h"\n#include "sensors.h"\n#include "db/externs.h"\n\n\n/// Program name\n///\n/// argv[0] in Linux terms\n///\n/// Used as p...
207
0
{"language": "c", "success": true, "metadata": {"lines": 61, "avg_line_length": 31.89, "nodes": 108, "errors": 0, "source_hash": "9fa0cf23bccbb74575f1c22098b4cf8da739bb2f513f5e911cb6cf0b68308fe6", "categorized_nodes": 75}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
11,314
c
#ifndef MAINWINDOW_H #define MAINWINDOW_H /* Standard Libraries */ #include <cstdlib> #include <iostream> // #include <fstream> #include <string> // #include <sstream> // #include <thread> /* 3rd Party Libraries */ //QT #include <QTime> #include <QtGui> #include <QFile> #include <QFileDialog> #include <QMainWindow...
22.62
87
(translation_unit) "#ifndef MAINWINDOW_H\n#define MAINWINDOW_H\n\n/*\n Standard Libraries\n*/\n#include <cstdlib>\n#include <iostream>\n// #include <fstream>\n#include <string>\n// #include <sstream>\n// #include <thread> \n\n/*\n 3rd Party Libraries\n*/\n//QT\n#include <QTime>\n#include <QtGui>\n#include <QFile>\n#inc...
376
11
{"language": "c", "success": true, "metadata": {"lines": 87, "avg_line_length": 22.62, "nodes": 234, "errors": 0, "source_hash": "02feb4eecfb4e516d97180b10bf3b1a6276bf9cf14342a9c5fb2b3c0d072618b", "categorized_nodes": 174}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
11,315
c
#pragma once #ifndef __SN76496_H__ #define __SN76496_H__ #include "devlegcy.h" READ_LINE_DEVICE_HANDLER( sn76496_ready_r ); WRITE8_DEVICE_HANDLER( sn76496_w ); WRITE8_DEVICE_HANDLER( sn76496_stereo_w ); DECLARE_LEGACY_SOUND_DEVICE(SN76496, sn76496); DECLARE_LEGACY_SOUND_DEVICE(SN76489, sn76489); DECLAR...
29.24
21
(translation_unit) "#pragma once \n \n#ifndef __SN76496_H__ \n#define __SN76496_H__ \n \n#include "devlegcy.h" \n \nREAD_LINE_DEVICE_HANDLER( sn76496_ready_r ); \nWRITE8_DEVICE_HANDLER( sn76496_w ); \nWRITE8_DEVICE_HANDLER( sn76496_stereo_w ); \n \nDECLARE_LEGACY_SOUND_DEVICE(SN76496, sn76496); \nDECLARE_LEGACY_SOUND_D...
122
0
{"language": "c", "success": true, "metadata": {"lines": 21, "avg_line_length": 29.24, "nodes": 65, "errors": 0, "source_hash": "9f8522c01e9546f5fac6a2d53bc4de5ce472c6d1c098b1a8c39a221e1bea3d2f", "categorized_nodes": 50}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
11,316
c
//Classification: #default/p/ML/UPO/aA/D(D(v))/fp/rp //Written by: <NAME> //Reviewed by: <NAME> //Comment: memory is allocated at *(*(p+i)) #include <stdlib.h> #include <stdio.h> void func_free(int i, int **p) { int j; for (j = 0; j<i; j++) { free (p[j]); } } int main(void) { int *p[10], i; for (i = 0; i<=...
16.1
29
(translation_unit) "//Classification: #default/p/ML/UPO/aA/D(D(v))/fp/rp\n//Written by: <NAME>\n//Reviewed by: <NAME>\n//Comment: memory is allocated at *(*(p+i))\n\n#include <stdlib.h>\n#include <stdio.h>\n\nvoid func_free(int i, int **p) {\n int j;\n for (j = 0; j<i; j++) {\n free (p[j]);\n }\n}\n\nint main(void)\n...
217
0
{"language": "c", "success": true, "metadata": {"lines": 29, "avg_line_length": 16.1, "nodes": 127, "errors": 0, "source_hash": "385419bb40cca8ef993bd1a7b02d05a81629f40456fab829c2c11ca8519b86c5", "categorized_nodes": 88}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
11,317
c
#ifndef BUTTON_H #define BUTTON_H #include "base_window.h" namespace WinapiFramework { // ConStruct specialization for Button class Button; template <> struct ConStruct<Button>; // ~~~~~~~~ [CLASS] Button ~~~~~~~~ // class Button : public BaseWindow , public HasSubclassProcedure<Button> { public: enum ...
24.3
86
(translation_unit) "#ifndef BUTTON_H\n#define BUTTON_H\n\n#include "base_window.h"\n\nnamespace WinapiFramework\n{\n // ConStruct specialization for Button\n class Button;\n template <> struct ConStruct<Button>;\n\n // ~~~~~~~~ [CLASS] Button ~~~~~~~~ //\n class Button \n : public BaseWindow\n , public HasSubclassPro...
549
35
{"language": "c", "success": true, "metadata": {"lines": 86, "avg_line_length": 24.3, "nodes": 316, "errors": 0, "source_hash": "364e53af95b6e117b45148e2b618dda42552e9af9a43ef32e3a9b8416277fc52", "categorized_nodes": 227}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
11,318
c
#ifndef __GLOBAL_GAME_DATA__ #define __GLOBAL_GAME_DATA__ #include <QString> struct GlobalGameData { long int m_GameId; long int m_RoundId; long int m_UserId; long int m_OtherUserId; QString m_GameName; QString m_OtherUsername; public: void reset() { m_GameId = 0; m_RoundId = 0; m_UserId...
18.59
22
(translation_unit) "#ifndef __GLOBAL_GAME_DATA__\n#define __GLOBAL_GAME_DATA__\n\n#include <QString>\n\nstruct GlobalGameData {\n\nlong int m_GameId;\nlong int m_RoundId;\nlong int m_UserId;\nlong int m_OtherUserId;\nQString m_GameName;\nQString m_OtherUsername;\n\npublic:\n void reset() {\n m_GameId = 0;\n ...
107
9
{"language": "c", "success": true, "metadata": {"lines": 22, "avg_line_length": 18.59, "nodes": 75, "errors": 0, "source_hash": "7cf6afff990ead661b5b4657dc77673a0c55f825524f8947d123710f67e7fe2b", "categorized_nodes": 51}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
11,319
c
/* * Copyright (C) 2008 <NAME> * Hochschule fuer Technik Rapperswil * * 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, or (at your * option) any later vers...
31.05
41
(translation_unit) "/*\n * Copyright (C) 2008 <NAME>\n * Hochschule fuer Technik Rapperswil\n *\n * This program is free software; you can redistribute it and/or modify it\n * under the terms of the GNU General Public License as published by the\n * Free Software Foundation; either version 2 of the License, or (at your...
72
0
{"language": "c", "success": true, "metadata": {"lines": 41, "avg_line_length": 31.05, "nodes": 50, "errors": 0, "source_hash": "64a4ea5ec7bb58b3e46d2addc6b6cf2613fa7314fa3edf2413e456e2181de901", "categorized_nodes": 35}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
11,320
c
// // AFONavigationController.h // AFOUIKit // // Created by <NAME> on 2017/12/13. // Copyright © 2017年 AFO Science Technology Ltd. All rights reserved. // #import <UIKit/UIKit.h> @interface AFONavigationController : UINavigationController @end
23.9
10
(translation_unit) "//\n// AFONavigationController.h\n// AFOUIKit\n//\n// Created by <NAME> on 2017/12/13.\n// Copyright © 2017年 AFO Science Technology Ltd. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface AFONavigationController : UINavigationController\n\n@end\n" (comment) "//" (comment) "// ...
19
3
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 23.9, "nodes": 10, "errors": 0, "source_hash": "c672ab7b51a49e23f0323e2dc04c392cf975f842420cca37ce35a058adf07d15", "categorized_nodes": 5}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "port <UIKit...
11,321
c
/* * Abuse - dark 2D side-scrolling platform game * Copyright (c) 1995 Crack dot Com * Copyright (c) 2005-2011 <NAME> <<EMAIL>> * * This software was released into the Public Domain. As with most public * domain software, no warranty is made or implied by Crack dot Com, by * <NAME>, or by <NAME>. */ #ifn...
33.93
196
(translation_unit) "/*\n * Abuse - dark 2D side-scrolling platform game\n * Copyright (c) 1995 Crack dot Com\n * Copyright (c) 2005-2011 <NAME> <<EMAIL>>\n *\n * This software was released into the Public Domain. As with most public\n * domain software, no warranty is made or implied by Crack dot Com, by\n * <NAM...
1,440
26
{"language": "c", "success": true, "metadata": {"lines": 196, "avg_line_length": 33.93, "nodes": 998, "errors": 0, "source_hash": "976a472c9fb2537222c4bb7cb6a28503838d22b68a114b449bf2304392532b10", "categorized_nodes": 593}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
11,322
c
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <assert.h> #include "xevutil.h" #include "xevparse.h" static int directive_cont(xmlcell_t *x) { if (x == NULL) return 0; if (xml_get_name(x) != xos._xev_pragma) return 0; xmlcell_t *cc = xml_get_cell(x, "cc"); if (cc == NULL) ret...
25.05
65
(translation_unit) "#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include <assert.h>\n#include "xevutil.h"\n#include "xevparse.h"\n\nstatic int directive_cont(xmlcell_t *x) {\n if (x == NULL)\n return 0;\n\n if (xml_get_name(x) != xos._xev_pragma)\n return 0;\n\n xmlcell_t *cc = xml_get_cell(x...
660
0
{"language": "c", "success": true, "metadata": {"lines": 65, "avg_line_length": 25.05, "nodes": 397, "errors": 0, "source_hash": "1f17ebdfdce79ff0dd17bb8b580653d855719c71389ef472e98967d0f37806ba", "categorized_nodes": 267}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
11,323
c
#include "../../domain.h" inherit DIR + "/lib/sword"; void setup(void) { ::setup(); set_id("kris"); set_adj(""); set_short("A kris"); set_long("The serrated blade of this weapon looks " + "like it makes nasty cuts."); set_sword_skill("small"); set_weapon_actions(({ "slash", "slice", "...
24.5
14
(translation_unit) "#include "../../domain.h"\n\ninherit DIR + "/lib/sword";\n\nvoid setup(void) {\n ::setup();\n set_id("kris");\n set_adj("");\n set_short("A kris");\n set_long("The serrated blade of this weapon looks " +\n "like it makes nasty cuts.");\n set_sword_skill("small");\n set_weapon_acti...
150
1
{"language": "c", "success": true, "metadata": {"lines": 14, "avg_line_length": 24.5, "nodes": 57, "errors": 0, "source_hash": "0d95e321c2a7c6a267f53d6fe5e7579e37e8cb1b4fdf22bc95bd0c681925424f", "categorized_nodes": 45}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#includ...
11,324
c
// ====================================================================== /*! * \file NFmiValueStation.h * \brief Interface of class NFmiValueStation */ // ====================================================================== /*! * \class NFmiValueStation * * Undocumented * */ // ==============================...
36.51
102
(translation_unit) "// ======================================================================\n/*!\n * \file NFmiValueStation.h\n * \brief Interface of class NFmiValueStation\n */\n// ======================================================================\n/*!\n * \class NFmiValueStation\n *\n * Undocumented\n *\n */\n/...
495
37
{"language": "c", "success": true, "metadata": {"lines": 102, "avg_line_length": 36.51, "nodes": 267, "errors": 0, "source_hash": "3ee714379c4a7d04ad97f271c521b39323e91c21d7dde60ade23a178deb8fa8d", "categorized_nodes": 171}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragm...
11,325
c
/* * function_interface.h * * Created on: Apr 9, 2013 * Author: rlyerly */ #ifndef FUNCTION_INTERFACE_H_ #define FUNCTION_INTERFACE_H_ class FunctionInterface { public: FunctionInterface(SgFunctionDeclaration*, SgGraphNode*); void storeFunctionsCalled(set<FunctionInterface*>); enum analysisStatus getSta...
30.64
42
(translation_unit) "/*\n * function_interface.h\n *\n * Created on: Apr 9, 2013\n * Author: rlyerly\n */\n\n#ifndef FUNCTION_INTERFACE_H_\n#define FUNCTION_INTERFACE_H_\n\nclass FunctionInterface {\npublic:\n FunctionInterface(SgFunctionDeclaration*, SgGraphNode*);\n void storeFunctionsCalled(set<FunctionInterfac...
350
19
{"language": "c", "success": true, "metadata": {"lines": 42, "avg_line_length": 30.64, "nodes": 259, "errors": 0, "source_hash": "971a0e8ba601b75622594e270e5557eade8502d03e36155fb1f38f0670c3868f", "categorized_nodes": 145}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
11,326
c
#ifndef VECTOR_H #define VECTOR_H #include <cmath> #include <ostream> #include <vector> #define POLY_SPLIT_EPS 1E-6 class Vector { public: double x, y, z; Vector(double x = 0.0f, double y = 0.0f, double z = 0.0f) : x(x), y(y), z(z) {} inline Vector operator-() const { return Vector(...
23.31
98
(translation_unit) "#ifndef VECTOR_H\n#define VECTOR_H\n\n#include <cmath>\n#include <ostream>\n#include <vector>\n\n#define POLY_SPLIT_EPS 1E-6\n\nclass Vector\n{\npublic:\n double x, y, z;\n\n Vector(double x = 0.0f, double y = 0.0f, double z = 0.0f)\n : x(x), y(y), z(z) {}\n\n inline Vector operator-...
953
32
{"language": "c", "success": true, "metadata": {"lines": 98, "avg_line_length": 23.31, "nodes": 633, "errors": 0, "source_hash": "335c14673eea811f8b0755025e4c4bbaeabe450b9d921079218028a65d2a2e0f", "categorized_nodes": 440}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
11,327
c
/* * ambigsw.c -- report an ambiguous switch * * This code is Copyright (c) 2002, by the authors of nmh. See the * COPYRIGHT file in the root directory of the nmh distribution for * complete copyright information. */ #include <h/mh.h> void ambigsw (char *arg, struct swit *swp) { advise (NULL, "-%s ambigu...
24.47
15
(translation_unit) "/*\n * ambigsw.c -- report an ambiguous switch\n *\n * This code is Copyright (c) 2002, by the authors of nmh. See the\n * COPYRIGHT file in the root directory of the nmh distribution for\n * complete copyright information.\n */\n\n#include <h/mh.h>\n\n\nvoid\nambigsw (char *arg, struct swit *swp)\...
61
0
{"language": "c", "success": true, "metadata": {"lines": 15, "avg_line_length": 24.47, "nodes": 34, "errors": 0, "source_hash": "8a46bd41acbe910853c3345a9bef7f8cbc63d2099525eeed3f34c416130dd61b", "categorized_nodes": 23}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
11,328
c
#pragma once #include "vapor/MatrixManager.h" #include "vapor/ShaderManager.h" namespace VAPoR { class LegacyGL; class FontManager; //! \class GLManager //! \ingroup Public_Render //! //! \brief Contains references to context scope OpenGL data //! //! \author <NAME> struct RENDER_API GLManager { ShaderManager ...
28.67
46
(translation_unit) "#pragma once\n\n#include "vapor/MatrixManager.h"\n#include "vapor/ShaderManager.h"\n\nnamespace VAPoR {\n\nclass LegacyGL;\nclass FontManager;\n\n//! \class GLManager\n//! \ingroup Public_Render\n//!\n//! \brief Contains references to context scope OpenGL data\n//!\n//! \author <NAME>\n\nstruct REND...
286
2
{"language": "c", "success": true, "metadata": {"lines": 46, "avg_line_length": 28.67, "nodes": 161, "errors": 0, "source_hash": "e470f9fc284414fe37cf4d167350c5a7e31e717897d6545da330d8d5d277fbbc", "categorized_nodes": 108}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
11,329
c
/* Copyright (C) 2014, The University of Texas at Austin This file is part of libflame and is available under the 3-Clause BSD license, which can be found in the LICENSE file at the top-level directory, or at http://opensource.org/licenses/BSD-3-Clause */ #include "FLAME.h" FLA_Error FLA_SA_FS_blk(...
44.43
75
(translation_unit) "/*\n\n Copyright (C) 2014, The University of Texas at Austin\n\n This file is part of libflame and is available under the 3-Clause\n BSD license, which can be found in the LICENSE file at the top-level\n directory, or at http://opensource.org/licenses/BSD-3-Clause\n\n*/\n\n#include "FLAM...
505
0
{"language": "c", "success": true, "metadata": {"lines": 75, "avg_line_length": 44.43, "nodes": 258, "errors": 0, "source_hash": "386b3d8c69d5de1b55c4b4cd6cd8ab035d592dc3fbb2090cfa64ad49e2f9b087", "categorized_nodes": 235}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
11,330
c
inherit "/std/armor"; #include "../../../domain.h" void setup(void) { set_id("bronze plate"); add_id("bronze"); add_id("armour"); add_id("plate"); set_ac(1); set_value(200); set_size(1); set_weight(10); set_slot("torso"); set_short("A bronze plate"); set_long("A bronze plate"); }
20.57
14
(translation_unit) "inherit "/std/armor";\n\n#include "../../../domain.h"\n\nvoid setup(void) {\n set_id("bronze plate");\n add_id("bronze");\n add_id("armour"); add_id("plate");\n set_ac(1);\n set_value(200);\n set_size(1);\n set_weight(10);\n set_slot("torso");\n set_short("A bronze plate");\n set_long("A ...
136
0
{"language": "c", "success": true, "metadata": {"lines": 14, "avg_line_length": 20.57, "nodes": 57, "errors": 0, "source_hash": "3ecf8681cc1e59559b16143d980ab001f83c0445e74e7439a72a354e097b8e47", "categorized_nodes": 43}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "concatenated_string", "text": "in...
11,331
c
/**************************************************************************************************************************** defines.h For RTL8720DN, RTL8722DM and RTL8722CSM WiFi shields WiFiWebServer_RTL8720 is a library for the RTL8720DN, RTL8722DM and RTL8722CSM WiFi shields to run WebServer Built by <NA...
41.97
30
(translation_unit) "/****************************************************************************************************************************\n defines.h\n For RTL8720DN, RTL8722DM and RTL8722CSM WiFi shields\n\n WiFiWebServer_RTL8720 is a library for the RTL8720DN, RTL8722DM and RTL8722CSM WiFi shields to run W...
107
0
{"language": "c", "success": true, "metadata": {"lines": 30, "avg_line_length": 41.97, "nodes": 83, "errors": 0, "source_hash": "a23ce6812ec6500e562840a30feacf711afad60d4cd91f47f2dec27bb670b65b", "categorized_nodes": 38}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
11,332
c
/* UniSFED Copyright (C) 2007 Involutive http://www.involutive.com author: <NAME> < <EMAIL> > This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or ...
40.65
31
(translation_unit) "/*\n UniSFED Copyright (C) 2007 Involutive http://www.involutive.com\n author: <NAME> < <EMAIL> >\n\n This program is free software; you can redistribute it and/or modify\n it under the terms of the GNU General Public License as published by\n the Free Software Foundation; either vers...
150
0
{"language": "c", "success": true, "metadata": {"lines": 31, "avg_line_length": 40.65, "nodes": 115, "errors": 0, "source_hash": "1e8cf304fec02087e3125acb147864a130de1d707e6bf442d206bcf3bf4c7440", "categorized_nodes": 60}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_def", "text": "#define _...
11,333
c
#pragma once class UpdateSystem { public: void update(); UpdateSystem(); private: void postEvents(); void updatePhysics(); void updateEntitiesWthModels(); void updateFrustum(); };
14.5
12
(translation_unit) "#pragma once\n\nclass UpdateSystem\n{\npublic:\n void update();\n\n UpdateSystem();\nprivate:\n void postEvents();\n void updatePhysics();\n void updateEntitiesWthModels();\n void updateFrustum();\n};" (preproc_call) "#pragma once\n" (preproc_directive) "#pragma" (preproc_arg) "once" (fu...
65
0
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 14.5, "nodes": 35, "errors": 0, "source_hash": "80a4a6ce35aa8a7bb6df29d01b7ec4f5820afd1ab60be4185a11c05b18d85cd4", "categorized_nodes": 20}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma on...
11,334
c
/* Copyright (c) 2021 <NAME>, All Rights Reserved * * The contents of this file is dual-licensed under the * Apache License 2.0. * * You may obtain a copy of the Apache License at: * * http://www.apache.org/licenses/ * * A copy is also included in the downloadable source code. */ #ifndef FL_DLL_LIBRARY_H #def...
36.74
70
(translation_unit) "/* Copyright (c) 2021 <NAME>, All Rights Reserved\n *\n * The contents of this file is dual-licensed under the\n * Apache License 2.0.\n *\n * You may obtain a copy of the Apache License at:\n *\n * http://www.apache.org/licenses/\n *\n * A copy is also included in the downloadable source code.\n */...
881
0
{"language": "c", "success": true, "metadata": {"lines": 70, "avg_line_length": 36.74, "nodes": 654, "errors": 0, "source_hash": "f9fd44b50c1f55ccd21e34f5010611ca1984299567c011bfa7a7eab2244e7fa3", "categorized_nodes": 368}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
11,335
c
// // LibraryProj.h // LibraryProj // // Created by RAC IT SOLUTIONS PVT.LTD on 12/07/18. // Copyright © 2018 Appino. All rights reserved. // #import <UIKit/UIKit.h> //! Project version number for LibraryProj. FOUNDATION_EXPORT double LibraryProjVersionNumber; //! Project version string for LibraryProj. FOUNDATI...
38.38
13
(translation_unit) "//\n// LibraryProj.h\n// LibraryProj\n//\n// Created by RAC IT SOLUTIONS PVT.LTD on 12/07/18.\n// Copyright © 2018 Appino. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n//! Project version number for LibraryProj.\nFOUNDATION_EXPORT double LibraryProjVersionNumber;\n\n//! Project version...
33
1
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 38.38, "nodes": 15, "errors": 0, "source_hash": "7e7d8b124aed4926b230da8d22eb66bdfcdaa03d336cf23561132dd49ff44a33", "categorized_nodes": 11}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <U...
11,336
c
/** * @file * @brief Common types for 32-bit architectures. * * @date 04.10.10 * @author <NAME> */ #ifndef ASM_GENERIC_TYPES32_H_ #define ASM_GENERIC_TYPES32_H_ #define __WORDSIZE 32 #ifndef __ASSEMBLER__ typedef signed char __s8; typedef unsigned char __u8; typedef signed short __s1...
26.85
27
(translation_unit) "/**\n * @file\n * @brief Common types for 32-bit architectures.\n *\n * @date 04.10.10\n * @author <NAME>\n */\n\n#ifndef ASM_GENERIC_TYPES32_H_\n#define ASM_GENERIC_TYPES32_H_\n\n#define __WORDSIZE 32\n\n#ifndef __ASSEMBLER__\n\ntypedef signed char __s8;\ntypedef unsigned char _...
115
0
{"language": "c", "success": true, "metadata": {"lines": 27, "avg_line_length": 26.85, "nodes": 97, "errors": 0, "source_hash": "01b512350b88acad7a4fab9105b9ce0290810c60cef3fe26c6fcb5471f90718d", "categorized_nodes": 52}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
11,337
c
// // NSObject+Greed.h // Pods // // Created by Bell on 16/2/15. // Copyright © 2016年 GreedLab. All rights reserved. // #import <Foundation/Foundation.h> @interface NSObject (Greed) /** * 获取类名 * * @return 类名 */ - (NSString *)gr_className; /** * 获取实例名 * * @return 实例名 */ - (NSString*)gr_instanceName; ...
13.59
22
(translation_unit) "//\n// NSObject+Greed.h\n// Pods\n//\n// Created by Bell on 16/2/15.\n// Copyright © 2016年 GreedLab. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n\n@interface NSObject (Greed)\n\n/**\n * 获取类名\n *\n * @return 类名\n */\n- (NSString *)gr_className;\n\n/**\n * 获取实例名\n *\n * @ret...
51
4
{"language": "c", "success": true, "metadata": {"lines": 22, "avg_line_length": 13.59, "nodes": 29, "errors": 0, "source_hash": "40994315eae2cf204e7a7cdd39f2e7d7ec8b5a298ce69ecc71f61faab9e74208", "categorized_nodes": 14}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "port <Fou...
11,338
c
/* sound/soc/samsung/i2s.h * * ALSA SoC Audio Layer - Samsung I2S Controller driver * * Copyright (c) 2010 Samsung Electronics Co. Ltd. * <NAME> <<EMAIL>> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by ...
36.54
26
(translation_unit) "/* sound/soc/samsung/i2s.h\n *\n * ALSA SoC Audio Layer - Samsung I2S Controller driver\n *\n * Copyright (c) 2010 Samsung Electronics Co. Ltd.\n * <NAME> <<EMAIL>>\n *\n * This program is free software; you can redistribute it and/or modify\n * it under the terms of the GNU General Public License v...
59
0
{"language": "c", "success": true, "metadata": {"lines": 26, "avg_line_length": 36.54, "nodes": 51, "errors": 0, "source_hash": "b7ef19b619a951cfb41f152188175b64f2118dc62e39ad593d54169b1d1b529c", "categorized_nodes": 16}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
11,339
c
/* * @Author: <NAME> (Alenygam) * @Date: 2022-04-07 * @Problem: Festa di laurea * @Reference: https://training.olinfo.it/#/task/luiss_laurea/statement * @Big-O: O(N) */ #include <stdio.h> #include <string.h> #include <limits.h> #define MAXN 107 int N; int mezzi[4] = {2, 4, 5, 7}; int numeriInit[4]; int prezzi[4...
24.43
44
(translation_unit) "/*\n * @Author: <NAME> (Alenygam)\n * @Date: 2022-04-07\n * @Problem: Festa di laurea\n * @Reference: https://training.olinfo.it/#/task/luiss_laurea/statement\n * @Big-O: O(N)\n */\n\n#include <stdio.h>\n#include <string.h>\n#include <limits.h>\n#define MAXN 107\n\nint N;\nint mezzi[4] = {2, 4, 5, 7...
475
0
{"language": "c", "success": true, "metadata": {"lines": 44, "avg_line_length": 24.43, "nodes": 276, "errors": 0, "source_hash": "b03225c8af8458ae7a24ad9264dcde9104b9d53b41800e3ef30f6eb557556cf0", "categorized_nodes": 201}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
11,340
c
#ifndef _UTILS_H #define _UTILS_H enum Node_Type{ TP_COMP_UNIT, TP_DECL, TP_DEF, TP_INDEXES, TP_INIT_VAL, TP_FUNC_DEF, TP_FUNC_FPARAM, TP_BLOCK, TP_STMT, TP_BINARY_EXP, TP_UNARY_EXP, TP_FUNC_CALL, TP_TOKEN, }; enum Token_Type{ TOK_SYNT, TOK_DEC, TOK_IDEN...
15.11
37
(translation_unit) "#ifndef _UTILS_H\n#define _UTILS_H\n\nenum Node_Type{\n TP_COMP_UNIT,\n TP_DECL,\n TP_DEF,\n TP_INDEXES,\n TP_INIT_VAL,\n TP_FUNC_DEF,\n TP_FUNC_FPARAM,\n TP_BLOCK,\n TP_STMT,\n TP_BINARY_EXP,\n TP_UNARY_EXP,\n TP_FUNC_CALL,\n TP_TOKEN,\n};\n\nenum Token_Type{\...
148
0
{"language": "c", "success": true, "metadata": {"lines": 37, "avg_line_length": 15.11, "nodes": 101, "errors": 0, "source_hash": "a3cdb98f749a9387a697fa21a33418661ba3eb8289bb992a10db300c0c0dd5a0", "categorized_nodes": 83}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
11,341
c
// BOOT_ARGS: dyld_flags=2 // BUILD: $CC foo.c -dynamiclib -o $BUILD_DIR/libmissing.dylib -install_name @rpath/libmissing.dylib // BUILD: $CC foo.c -dynamiclib -Wl,-weak_library,$BUILD_DIR/libmissing.dylib -o $BUILD_DIR/libfoo.dylib -install_name $RUN_DIR/libfoo.dylib -rpath $RUN_DIR // BUILD: $CC main.c -o $BUILD...
45.37
19
(translation_unit) "// BOOT_ARGS: dyld_flags=2\n\n// BUILD: $CC foo.c -dynamiclib -o $BUILD_DIR/libmissing.dylib -install_name @rpath/libmissing.dylib\n// BUILD: $CC foo.c -dynamiclib -Wl,-weak_library,$BUILD_DIR/libmissing.dylib -o $BUILD_DIR/libfoo.dylib -install_name $RUN_DIR/libfoo.dylib -rpath $RUN_DIR\n// BUILD...
99
0
{"language": "c", "success": true, "metadata": {"lines": 19, "avg_line_length": 45.37, "nodes": 49, "errors": 0, "source_hash": "8e5606ecb98e8f577c29337f80828c8f78a16540d7da3e0cf2a42625b8e4369c", "categorized_nodes": 33}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
11,342
c
/* * Copyright (c) 2016-2017, Texas Instruments Incorporated * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * * Redistributions of source code must retain the above copyright * n...
33.09
74
(translation_unit) "/*\n * Copyright (c) 2016-2017, Texas Instruments Incorporated\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions\n * are met:\n *\n * * Redistributions of source code must retain...
119
0
{"language": "c", "success": true, "metadata": {"lines": 74, "avg_line_length": 33.09, "nodes": 84, "errors": 0, "source_hash": "83438dea286901f739188cb7195c0903aeb20c1aa5964f2f84b25e5131e1f027", "categorized_nodes": 59}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
11,343
c
// // ListInterfaceController.h // AppleWatchOCDemo // // Created by zhangmingwei on 2017/2/16. // Copyright © 2017年 SpeedX. All rights reserved. // #import <WatchKit/WatchKit.h> #import <Foundation/Foundation.h> @interface ListInterfaceController : WKInterfaceController @property (unsafe_unretained, nonatomic)...
28.86
14
(translation_unit) "//\n// ListInterfaceController.h\n// AppleWatchOCDemo\n//\n// Created by zhangmingwei on 2017/2/16.\n// Copyright © 2017年 SpeedX. All rights reserved.\n//\n\n#import <WatchKit/WatchKit.h>\n#import <Foundation/Foundation.h>\n\n@interface ListInterfaceController : WKInterfaceController\n\n\n@prope...
59
11
{"language": "c", "success": true, "metadata": {"lines": 14, "avg_line_length": 28.86, "nodes": 42, "errors": 0, "source_hash": "efed39b090a49270e7e8b20173409bec1bad14fc8d0348c34caa28809d6490a3", "categorized_nodes": 21}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "port <Wat...
11,344
c
// // ZHCMessages.h // ZHChat // // Created by aimoke on 16/8/10. // Copyright © 2016年 zhuo. All rights reserved. // #ifndef ZHCMessages_h #define ZHCMessages_h //Views #import "ZHCMessagesTableViewCell.h" #import "ZHCMessagesCellTextView.h" #import "ZHCMessagesLabel.h" #import "ZHCMessagesTableViewCellIncoming....
26.28
69
(translation_unit) "//\n// ZHCMessages.h\n// ZHChat\n//\n// Created by aimoke on 16/8/10.\n// Copyright © 2016年 zhuo. All rights reserved.\n//\n\n#ifndef ZHCMessages_h\n#define ZHCMessages_h\n\n\n//Views\n#import "ZHCMessagesTableViewCell.h"\n#import "ZHCMessagesCellTextView.h"\n#import "ZHCMessagesLabel.h"\n#impor...
156
0
{"language": "c", "success": true, "metadata": {"lines": 69, "avg_line_length": 26.28, "nodes": 139, "errors": 0, "source_hash": "f379f720ecd51ce353e1e5742963c8e894422936958ee49826ad497fbaeda976", "categorized_nodes": 49}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "ndef ZH...
11,345
c
#pragma once #include <iostream> #include <vector> #include <algorithm> #include "../../Base.h" using std::vector; class Cycle : public Base { private: int GetCycleNumberCount(int n, int p, int curNubmer, vector<int>& numbers); protected: void Code() override; };
19.46
13
(translation_unit) "#pragma once\n#include <iostream>\n#include <vector>\n#include <algorithm>\n\n#include "../../Base.h"\n\nusing std::vector;\n\nclass Cycle : public Base\n{\nprivate:\n int GetCycleNumberCount(int n, int p, int curNubmer, vector<int>& numbers);\n\nprotected:\n void Code() override;\n};" (preproc_ca...
83
4
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 19.46, "nodes": 53, "errors": 0, "source_hash": "1b3e060d1c9f377b8a14c26489814c54be1234e8757f38b70fb6eae07db08226", "categorized_nodes": 35}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
11,346
c
#pragma once #include <type_traits> namespace OpenApoc { // Trait for enums that don't define their domain completely // enables (in)equality comparisons against underlying type template <typename T> struct is_partial_enum : std::false_type { }; // Trait for enums that are meant to be used as flags // enables bitwi...
30.56
82
(translation_unit) "#pragma once\n\n#include <type_traits>\n\nnamespace OpenApoc\n{\n\n// Trait for enums that don't define their domain completely\n// enables (in)equality comparisons against underlying type\ntemplate <typename T> struct is_partial_enum : std::false_type\n{\n};\n\n// Trait for enums that are meant to ...
1,058
60
{"language": "c", "success": true, "metadata": {"lines": 82, "avg_line_length": 30.56, "nodes": 702, "errors": 0, "source_hash": "e405dc8fa54f7e98b6cf7453ad408bd87423ebf3e1ec5224f3c6307f8524052c", "categorized_nodes": 476}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
11,347
c
#ifndef EXTRACT_H #define EXTRACT_H /* * Functions for programmatically extracting data from VisIt/Libsim. */ int extract_set_options(const char *format, int writeUsingGroups, int groupSize); const char *extract_err(int err); int extract_slice_3v(const char *filebase, const double *v0, const...
46.5
22
(translation_unit) "#ifndef EXTRACT_H\n#define EXTRACT_H\n\n/*\n * Functions for programmatically extracting data from VisIt/Libsim.\n */\n\nint extract_set_options(const char *format, int writeUsingGroups, int groupSize);\n\nconst char *extract_err(int err);\n\nint extract_slice_3v(const char *filebase, \n ...
260
0
{"language": "c", "success": true, "metadata": {"lines": 22, "avg_line_length": 46.5, "nodes": 175, "errors": 0, "source_hash": "d57dadceeac05b84d089143c44711661e9061f862caddef72fba5bb5be5c2d01", "categorized_nodes": 80}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
11,348
c
#include <stdio.h> #include "libpack.h" #include "test.h" // The "s" format packs host-endian host-sized "short"s by default, so this // test script is specifically endian-and-size dependant for a reason. // Ditto for "i" and "l" #include <string.h> // for memcpy() short fget_short(FILE *file) { short ret; frea...
20.72
134
(translation_unit) "#include <stdio.h>\n\n#include "libpack.h"\n\n#include "test.h"\n\n// The "s" format packs host-endian host-sized "short"s by default, so this\n// test script is specifically endian-and-size dependant for a reason.\n// Ditto for "i" and "l"\n#include <string.h> // for memcpy()\n\nshort fget_short(FI...
1,469
0
{"language": "c", "success": true, "metadata": {"lines": 134, "avg_line_length": 20.72, "nodes": 767, "errors": 0, "source_hash": "524bcd2fe3f5945a8b03224c9fe23f2735e6a8c50231fd7f42631428fb7d6bc3", "categorized_nodes": 561}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
11,349
c
EXTERN_C DWORD InitNtAccessChecks(); EXTERN_C DWORD DoNtAccessChecks( IN ULONG NumChecks, IN DWORD Flags );
12.2
10
(translation_unit) "EXTERN_C \nDWORD \nInitNtAccessChecks(); \n \nEXTERN_C \nDWORD \nDoNtAccessChecks( \n IN ULONG NumChecks, \n IN DWORD Flags \n ); \n \n" (declaration) "EXTERN_C \nDWORD \nInitNtAccessChecks();" (type_identifier) "EXTERN_C" (ERROR) "DWORD" (identifier) "DWORD" (functio...
32
4
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 12.2, "nodes": 24, "errors": 0, "source_hash": "6fc676b8c033949e06e36f0aa1ae460e0fe48eb44d95f71dd7f0f03550a169cb", "categorized_nodes": 18}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "declaration", "text": "EXTERN_C\r\...
11,350
c
/////////////////////////////////////// // AUTO GENERATED FILE - DO NOT EDIT // /////////////////////////////////////// /* SPDX-License-Identifier: BSD-2-Clause-Patent * * Copyright (c) 2016-2019 Intel Corporation * * This code is subject to the terms of the BSD+Patent license. * See LICENSE file for more details...
25.74
23
(translation_unit) "///////////////////////////////////////\n// AUTO GENERATED FILE - DO NOT EDIT //\n///////////////////////////////////////\n\n/* SPDX-License-Identifier: BSD-2-Clause-Patent\n *\n * Copyright (c) 2016-2019 Intel Corporation\n *\n * This code is subject to the terms of the BSD+Patent license.\n * See ...
50
0
{"language": "c", "success": true, "metadata": {"lines": 23, "avg_line_length": 25.74, "nodes": 32, "errors": 0, "source_hash": "c103e91ec95c696ca48695aeb96a6f08a741edb0eee6ded2cdf8ea6a9755a572", "categorized_nodes": 27}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
11,351
c
/* * USCH - The (permutated) tcsh successor * Copyright (c) 2013 <NAME> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights ...
31.74
298
(translation_unit) "/*\n * USCH - The (permutated) tcsh successor\n * Copyright (c) 2013 <NAME> \n * \n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the "Software"), to deal\n * in the Software without restriction, including with...
2,220
0
{"language": "c", "success": true, "metadata": {"lines": 298, "avg_line_length": 31.74, "nodes": 1289, "errors": 0, "source_hash": "78c4a6f110293f03b895a042e80eb817db5fa5414d6c76cbb68aa972edb04750", "categorized_nodes": 851}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#i...
11,352
c
#ifndef _RECT_H_ #define _RECT_H_ #include "Vector2.h" //#DECLARATION //@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ CLASS RECT template <typename T> class Rect { public: T x; T y; T width; T height; Rect(); Rect(T x, T y, T width, T height); Rect(const Vector2<T>& position, const Vector2<T>& size...
27.72
46
(translation_unit) "#ifndef _RECT_H_\n#define _RECT_H_\n \n#include "Vector2.h"\n\n//#DECLARATION\n//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ CLASS RECT\n\ntemplate <typename T>\nclass Rect {\n\npublic:\n\n T x;\n T y;\n T width;\n T height;\n\n Rect();\n \n Rect(T x, T y, T width, T height);\n \n Rect(const Ve...
502
40
{"language": "c", "success": true, "metadata": {"lines": 46, "avg_line_length": 27.72, "nodes": 340, "errors": 0, "source_hash": "ac740afbf153ed4a16ffc9fdb8bf84050e890d05adbd363f155a47cfb69fa3b6", "categorized_nodes": 221}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
11,353
c
/**************************************************************************/ /*! @file uart.c @author <NAME> (microBuilder.eu) @date 22 March 2010 @version 0.10 @section DESCRIPTION Generic code for UART-based communication. Incoming text is stored in a FIFO Queue fo...
29.02
344
(translation_unit) "/**************************************************************************/ \n/*! \n @file uart.c \n @author <NAME> (microBuilder.eu) \n @date 22 March 2010 \n @version 0.10 \n \n @section DESCRIPTION \n \n Generic code for UART-based communication. Incoming text is s...
749
0
{"language": "c", "success": true, "metadata": {"lines": 344, "avg_line_length": 29.02, "nodes": 409, "errors": 0, "source_hash": "a46b125639236527c19b5049dbee934680433e8ae08761d26ee270d218a837c6", "categorized_nodes": 324}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
11,354
c
#ifndef SK_NODE_EXPMAP_H #define SK_NODE_EXPMAP_H int sk_node_expmap(sk_core *core); #endif
22
4
(translation_unit) "#ifndef SK_NODE_EXPMAP_H\n#define SK_NODE_EXPMAP_H\nint sk_node_expmap(sk_core *core);\n#endif\n" (preproc_ifdef) "#ifndef SK_NODE_EXPMAP_H\n#define SK_NODE_EXPMAP_H\nint sk_node_expmap(sk_core *core);\n#endif" (#ifndef) "#ifndef" (identifier) "SK_NODE_EXPMAP_H" (preproc_def) "#define ...
21
0
{"language": "c", "success": true, "metadata": {"lines": 4, "avg_line_length": 22.0, "nodes": 17, "errors": 0, "source_hash": "492504e6d509b9be7f1100de368f15496af8e25e6d0a13bc7d3da7f6f55140e7", "categorized_nodes": 11}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef SK...
11,355
c
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* vec2__3.c :+: :+: :+: ...
36.5
32
(translation_unit) "/* ************************************************************************** */\n/* */\n/* ::: :::::::: */\n/* vec2__3.c ...
184
0
{"language": "c", "success": true, "metadata": {"lines": 32, "avg_line_length": 36.5, "nodes": 100, "errors": 0, "source_hash": "e0a88bba5dabafa41533122b48b43c08a9c1822fbefc3d7cc5d7893fead98a8e", "categorized_nodes": 79}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
11,356
c
// // main.c // ChatClient // // Created by 桜井雄介 on 2013/07/10. // Copyright (c) 2013年 <NAME>. All rights reserved. // #include <stdio.h> #include <stdlib.h> #include <string.h> #include <ncurses.h> #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> #include <netdb.h> #in...
28.09
312
(translation_unit) "//\n// main.c\n// ChatClient\n//\n// Created by 桜井雄介 on 2013/07/10.\n// Copyright (c) 2013年 <NAME>. All rights reserved.\n//\n\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include <ncurses.h>\n#include <sys/types.h>\n#include <sys/socket.h>\n#include <netinet/in.h>\n#include <...
2,405
0
{"language": "c", "success": true, "metadata": {"lines": 312, "avg_line_length": 28.09, "nodes": 1370, "errors": 0, "source_hash": "964cbb8830c652a3b5166da2020e4c5909502dfae3322cd8a6a6975a3ac763f4", "categorized_nodes": 927}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "st...
11,357
c
#ifndef TX_RIPEMD160_H #define TX_RIPEMD160_H #include <vector> class Ripemd160 { public: static void ripemd160(unsigned char* message, unsigned int messageLength, unsigned char* digest); static std::vector<unsigned char> ripemd160(std::vector<unsigned char> message); }; #endif //TX_RIPEMD160_H
26.82
11
(translation_unit) "#ifndef TX_RIPEMD160_H\n#define TX_RIPEMD160_H\n\n\n#include <vector>\n\nclass Ripemd160 {\npublic:\n static void ripemd160(unsigned char* message, unsigned int messageLength, unsigned char* digest);\n static std::vector<unsigned char> ripemd160(std::vector<unsigned char> message);\n};\n\n\n#e...
87
4
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 26.82, "nodes": 60, "errors": 0, "source_hash": "07417a99fad884be35dd5aba3171c8d988823fa1201726a30fc27864e8b162a1", "categorized_nodes": 33}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
11,358
c
// Porres 2016 #include "m_pd.h" #include "math.h" static t_class *changed_class; typedef struct _changed { t_object x_obj; t_float x_x1m1; t_float x_thresh; t_inlet *x_tresh_inlet; } t_changed; static t_int *changed_perform(t_int *w) { t_changed *x = (t_changed *)(w[1]); int nblock = (t_...
26.52
62
(translation_unit) "// Porres 2016\n\n#include "m_pd.h"\n#include "math.h"\n\nstatic t_class *changed_class;\n\ntypedef struct _changed\n{\n t_object x_obj;\n t_float x_x1m1;\n t_float x_thresh;\n t_inlet *x_tresh_inlet;\n} t_changed;\n\nstatic t_int *changed_perform(t_int *w)\n{\n t_changed *x = (t_c...
686
0
{"language": "c", "success": true, "metadata": {"lines": 62, "avg_line_length": 26.52, "nodes": 430, "errors": 0, "source_hash": "86a2bd673869e60f20d54a48c30298f0e47871875336a56959a006f2058de740", "categorized_nodes": 293}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
11,359
c
/* SPDX-License-Identifier: BSD-3-Clause * Copyright (C) 2020 Marvell International Ltd. */ #ifndef __TEST_CRYPTODEV_ECPM_TEST_VECTORS_H__ #define __TEST_CRYPTODEV_ECPM_TEST_VECTORS_H__ #include "rte_crypto_asym.h" struct crypto_testsuite_ecpm_params { rte_crypto_param gen_x; rte_crypto_param gen_y; rte_crypto_...
31.97
315
(translation_unit) "/* SPDX-License-Identifier: BSD-3-Clause\n * Copyright (C) 2020 Marvell International Ltd.\n */\n\n#ifndef __TEST_CRYPTODEV_ECPM_TEST_VECTORS_H__\n#define __TEST_CRYPTODEV_ECPM_TEST_VECTORS_H__\n\n#include "rte_crypto_asym.h"\n\nstruct crypto_testsuite_ecpm_params {\n rte_crypto_param gen_x;\n rte_c...
3,141
0
{"language": "c", "success": true, "metadata": {"lines": 315, "avg_line_length": 31.97, "nodes": 1685, "errors": 0, "source_hash": "88ef3d857e92fade47c49b0db8306f9ee4e293612fa5a76263fecde555569e49", "categorized_nodes": 1357}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#if...
11,360
c
// Copyright 2015 <NAME> // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writi...
28.95
55
(translation_unit) "// Copyright 2015 <NAME>\n//\n// Licensed under the Apache License, Version 2.0 (the "License");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicab...
348
28
{"language": "c", "success": true, "metadata": {"lines": 55, "avg_line_length": 28.95, "nodes": 191, "errors": 0, "source_hash": "9ca4c955223929b4aa94bbb62c364a2e95eb6bfbf6cf05181b9934d3b01b93cb", "categorized_nodes": 138}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
11,361
c
#pragma once #include "M2_AnimatedConverters.h" #include "M2_Types.h" /* Generic animated value class: T is the values type to animate D is the values type stored in the file (by default this is the same as T) Conv is a conversion object that defines T conv(D) to convert from D to T (by default this is an identi...
27.21
133
(translation_unit) "#pragma once\n\n#include "M2_AnimatedConverters.h"\n#include "M2_Types.h"\n\n/*\n Generic animated value class:\n\n T is the values type to animate\n D is the values type stored in the file (by default this is the same as T)\n Conv is a conversion object that defines T conv(D) to convert from D to T...
1,292
34
{"language": "c", "success": true, "metadata": {"lines": 133, "avg_line_length": 27.21, "nodes": 831, "errors": 0, "source_hash": "03a60c35fb7bcf884f72fc63e213d86f0df870ffdf2a1b5212c43f0f59a6d18b", "categorized_nodes": 605}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragm...
11,362
c
#include "libmx.h" void mx_printint(int n) { int flag = 1; if (n == -2147483648) { write(1, "-2147483648", 11); return; } if (n == 0) { mx_printchar('0'); return; } if (n < 0) { flag = 0; n *= -1; } int temp = n; int counter = 0; w...
18.54
35
(translation_unit) "#include "libmx.h"\n\nvoid mx_printint(int n) {\n int flag = 1;\n if (n == -2147483648) {\n write(1, "-2147483648", 11);\n return;\n }\n if (n == 0) {\n mx_printchar('0');\n return;\n }\n if (n < 0) {\n flag = 0;\n n *= -1;\n }\n int ...
261
0
{"language": "c", "success": true, "metadata": {"lines": 35, "avg_line_length": 18.54, "nodes": 158, "errors": 0, "source_hash": "0878eb3bcbed7c0ae79ad4d97b7311c0aae4e2ffcd6392b9313416f9239737e3", "categorized_nodes": 109}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
11,363
c
version https://git-lfs.github.com/spec/v1 oid sha256:da2ecb50b1f8d1b503a264f5f7dd370ee9152ec843fc3942fabb1507a0994e36 size 19238
42.33
3
(translation_unit) "version https://git-lfs.github.com/spec/v1\noid sha256:da2ecb50b1f8d1b503a264f5f7dd370ee9152ec843fc3942fabb1507a0994e36\nsize 19238\n" (declaration) "version https://git-lfs.github.com/spec/v1\noid" (type_identifier) "version" (ERROR) "https:" (identifier) "https" (:) ":" (...
15
2
{"language": "c", "success": true, "metadata": {"lines": 3, "avg_line_length": 42.33, "nodes": 10, "errors": 0, "source_hash": "1046deb4fa27aa867a94af35c956618d9182945d910a0c250b9cbc139d6ea8cc", "categorized_nodes": 8}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "declaration", "text": "version http...
11,364
c
/* * Copyright (C) 2015-2017 Alibaba Group Holding Limited */ #ifndef __UNISTD_H__ #define __UNISTD_H__ #ifdef __cplusplus extern "C" { #endif #ifndef _WIN32 #include <unistd.h> #else #include <winsock2.h> #include <ws2tcpip.h> #include <Windows.h> #include <stdint.h> typedef long int ssize_t; #endif #ifdef __cp...
16.05
21
(translation_unit) "/*\n * Copyright (C) 2015-2017 Alibaba Group Holding Limited\n */\n\n#ifndef __UNISTD_H__\n#define __UNISTD_H__\n\n#ifdef __cplusplus\nextern "C" {\n#endif\n\n#ifndef _WIN32\n#include <unistd.h>\n#else\n#include <winsock2.h>\n#include <ws2tcpip.h>\n#include <Windows.h>\n#include <stdint.h>\n\ntypede...
57
0
{"language": "c", "success": true, "metadata": {"lines": 21, "avg_line_length": 16.05, "nodes": 47, "errors": 0, "source_hash": "8338fc22fd45e4e883d7ff1c43efa786aa5f69755c6e32656ae31baaa8b52041", "categorized_nodes": 37}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
11,365
c
/* * Copyright (c) 1980, 1990, 1993, 1994 * The Regents of the University of California. All rights reserved. * (c) UNIX System Laboratories, Inc. * All or some portions of this file are derived from material licensed * to the University of California by American Telephone and Telegraph * Co. or Unix System Labo...
28.04
332
(translation_unit) "/*\n * Copyright (c) 1980, 1990, 1993, 1994\n * The Regents of the University of California. All rights reserved.\n * (c) UNIX System Laboratories, Inc.\n * All or some portions of this file are derived from material licensed\n * to the University of California by American Telephone and Telegraph\n...
2,695
5
{"language": "c", "success": true, "metadata": {"lines": 332, "avg_line_length": 28.04, "nodes": 1639, "errors": 0, "source_hash": "b6e738ff29b0797ed55e2e444e8dcdc69eff2dfad87e103261f3cdde695fb14e", "categorized_nodes": 1179}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#...
11,366
c
#define PRADDR(A, B) printf("texts element %d at %p\n", B, A) #include <stdio.h> #include <pthread.h> #include <errno.h> extern _etext; extern _edata; extern _end; void * print_text(void * text); int main() { pthread_t thread[4]; int i = 0; int err = 0; int msg_length = 256; char err_msg[256] = {0}; int error...
20.02
51
(translation_unit) "#define PRADDR(A, B) printf("texts element %d at %p\n", B, A)\n#include <stdio.h>\n#include <pthread.h>\n#include <errno.h>\n\nextern _etext;\nextern _edata;\nextern _end;\n\nvoid * print_text(void * text);\n\nint main() {\n pthread_t thread[4];\n int i = 0;\n int err = 0;\n int msg_length = 256;\n...
338
0
{"language": "c", "success": true, "metadata": {"lines": 51, "avg_line_length": 20.02, "nodes": 206, "errors": 0, "source_hash": "89025f8e833a7ccdd15a4eef35d9f0baa5df6322c39e0c38ad2d8dbc1cd2d9e6", "categorized_nodes": 133}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_function_def", "text": ...
11,367
c
//------------------------------------------------------------------ // //this file is part of Proximodo //Copyright (C) 2004 <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...
30.71
56
(translation_unit) "//------------------------------------------------------------------\n//\n//this file is part of Proximodo\n//Copyright (C) 2004 <NAME> ( <EMAIL> )\n//\n//This program is free software; you can redistribute it and/or\n//modify it under the terms of the GNU General Public License\n//as published by t...
158
4
{"language": "c", "success": true, "metadata": {"lines": 56, "avg_line_length": 30.71, "nodes": 79, "errors": 0, "source_hash": "9bcd8ccdd9cb4596b5f78a6b97ef99fb64dfc03898f0ea9115f649bc81169be8", "categorized_nodes": 61}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
11,368
c
//metadoc TokyoCabinetCursor category Databases //metadoc TokyoCabinetCursor copyright <NAME> 2002 //metadoc TokyoCabinetCursor license BSD revised /*metadoc TokyoCabinetCursor description A database cursor. */ #include "IoTokyoCabinetCursor.h" #include "IoObject.h" #include "IoState.h" #include "IoSeq.h" #include "...
32.21
195
(translation_unit) "//metadoc TokyoCabinetCursor category Databases\n//metadoc TokyoCabinetCursor copyright <NAME> 2002\n//metadoc TokyoCabinetCursor license BSD revised\n/*metadoc TokyoCabinetCursor description\nA database cursor.\n*/\n\n#include "IoTokyoCabinetCursor.h"\n\n#include "IoObject.h"\n#include "IoState.h"\...
1,561
0
{"language": "c", "success": true, "metadata": {"lines": 195, "avg_line_length": 32.21, "nodes": 931, "errors": 0, "source_hash": "486932d94ce07df69a6804a3ca954490e5a2519d7b530c954a930c89224a90bf", "categorized_nodes": 599}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
11,369
c
/* engine.h for libcurl */ #include <wolfssl/openssl/err.h> #undef HAVE_OPENSSL_ENGINE_H /* ENGINE_load_builtin_engines not needed, as all builtin engines are already loaded into memory and used on startup. */ #define ENGINE_load_builtin_engines()
28.11
9
(translation_unit) "/* engine.h for libcurl */ \n \n#include <wolfssl/openssl/err.h> \n \n#undef HAVE_OPENSSL_ENGINE_H \n \n/* ENGINE_load_builtin_engines not needed, as all builtin engines are already \n loaded into memory and used on startup. */ \n#define ENGINE_load_builtin_engines() \n \n" (comment) "/* engine....
15
0
{"language": "c", "success": true, "metadata": {"lines": 9, "avg_line_length": 28.11, "nodes": 10, "errors": 0, "source_hash": "41f5e8729548c130246ce4fcdd02c8fd791fba05a8e1a2875caf6deedd91bcd6", "categorized_nodes": 6}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#include...
11,370
c
/* * This header is generated by classdump-dyld 1.0 * on Sunday, September 27, 2020 at 12:25:57 PM Mountain Standard Time * Operating System: Version 14.0 (Build 18A373) * Image Source: /System/Library/PrivateFrameworks/PhotoImaging.framework/PhotoImaging * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 ...
37.1
20
(translation_unit) "/*\n* This header is generated by classdump-dyld 1.0\n* on Sunday, September 27, 2020 at 12:25:57 PM Mountain Standard Time\n* Operating System: Version 14.0 (Build 18A373)\n* Image Source: /System/Library/PrivateFrameworks/PhotoImaging.framework/PhotoImaging\n* classdump-dyld is licensed under GPLv...
117
11
{"language": "c", "success": true, "metadata": {"lines": 20, "avg_line_length": 37.1, "nodes": 71, "errors": 0, "source_hash": "e27c85010b1d0c10a3c5b8b88aea125f0afbedcc8f83aceb6bb0df6c42a357b5", "categorized_nodes": 44}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <Ph...
11,371
c
// Generated by the protocol buffer compiler. DO NOT EDIT! // source: example_robo.proto #ifndef GOOGLE_PROTOBUF_INCLUDED_example_5frobo_2eproto #define GOOGLE_PROTOBUF_INCLUDED_example_5frobo_2eproto #include <limits> #include <string> #include <google/protobuf/port_def.inc> #if PROTOBUF_VERSION < 3009000 #error T...
35.29
288
(translation_unit) "// Generated by the protocol buffer compiler. DO NOT EDIT!\n// source: example_robo.proto\n\n#ifndef GOOGLE_PROTOBUF_INCLUDED_example_5frobo_2eproto\n#define GOOGLE_PROTOBUF_INCLUDED_example_5frobo_2eproto\n\n#include <limits>\n#include <string>\n\n#include <google/protobuf/port_def.inc>\n#if PROTO...
2,270
145
{"language": "c", "success": true, "metadata": {"lines": 288, "avg_line_length": 35.29, "nodes": 1241, "errors": 0, "source_hash": "2a06d1ae202647c0c48e150ae5ea63fd36d0889b57080f75dcb9280c7e8818b8", "categorized_nodes": 800}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifn...
11,372
c
#pragma once #include "rkclib.h" #include "rkccore.h" namespace rkci { struct IStream { virtual size_t Read(void *buf, size_t size) = 0; virtual size_t Write(void *buf, size_t size) = 0; virtual rkcUFilePos_t Tell() const = 0; virtual bool SeekStart(rkcUFilePos_t pos) = 0; virtual bool SeekEnd(rkcFilePos_...
26.33
18
(translation_unit) "#pragma once\n\n#include "rkclib.h"\n#include "rkccore.h"\n\nnamespace rkci\n{\n struct IStream\n {\n virtual size_t Read(void *buf, size_t size) = 0;\n virtual size_t Write(void *buf, size_t size) = 0;\n virtual rkcUFilePos_t Tell() const = 0;\n virtual bool SeekStart(rkcUFilePos_t pos) = 0;\n ...
176
18
{"language": "c", "success": true, "metadata": {"lines": 18, "avg_line_length": 26.33, "nodes": 130, "errors": 0, "source_hash": "86cd8a7a90faac9292612ba8e372b14c05a06f5d507cee6cf93f5a2fccf10e3a", "categorized_nodes": 84}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma ...
11,373
c
// // Hanoi.h // Recursion_HW // // Created by <NAME> on 10/1/16. // Copyright © 2016 <NAME>. All rights reserved. // http://www.taoyue.com/tutorials/pascal/pas4g.html #import <Foundation/Foundation.h> @interface Hanoi : NSObject @property (retain, nonatomic) id delegate; -(void)Hanoi:(int)n source:(int)source ...
29.6
15
(translation_unit) "//\n// Hanoi.h\n// Recursion_HW\n//\n// Created by <NAME> on 10/1/16.\n// Copyright © 2016 <NAME>. All rights reserved.\n// http://www.taoyue.com/tutorials/pascal/pas4g.html\n\n#import <Foundation/Foundation.h>\n\n@interface Hanoi : NSObject\n\n@property (retain, nonatomic) id delegate;\n\n-(voi...
122
13
{"language": "c", "success": true, "metadata": {"lines": 15, "avg_line_length": 29.6, "nodes": 73, "errors": 0, "source_hash": "7030d68f13f86e0101fb1e95f8f29bcb0d4047871985d997eaa588d5eba892f3", "categorized_nodes": 40}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <Fo...
11,374
c
/* * Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 ...
35.39
211
(translation_unit) "/*\n * Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apach...
592
39
{"language": "c", "success": true, "metadata": {"lines": 211, "avg_line_length": 35.39, "nodes": 357, "errors": 0, "source_hash": "96f2acd2166c637a1e379b5291542e236396515f72b7e5ecbdbcd9dd1a5ac404", "categorized_nodes": 241}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
11,375
c
#include<stdio.h> int test(void) { puts("Just a test function"); return 0; } int socket(void) { int client_socket; char sendline[256]; int input = 0; struct sockaddr_in servaddr; client_socket = socket(AF_INET, SOCK_STREAM, 0); //bzero(&servaddr,sizeof servaddr); memset(&servaddr, '\0', sizeof(servaddr)); s...
24.41
29
(translation_unit) "#include<stdio.h>\n\nint test(void)\n{\n puts("Just a test function");\n return 0;\n}\n\nint socket(void)\n{\n int client_socket;\n char sendline[256];\n int input = 0;\n struct sockaddr_in servaddr;\n client_socket = socket(AF_INET, SOCK_STREAM, 0);\n //bzero(&servaddr,sizeof servaddr);\n memset(&s...
241
0
{"language": "c", "success": true, "metadata": {"lines": 29, "avg_line_length": 24.41, "nodes": 136, "errors": 0, "source_hash": "30a2e6e365aedd6d70e60a93991025c2a42bf86abff7029a3787aff02856f1a6", "categorized_nodes": 102}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
11,376
c
/* PR middle-end/33880 */ /* { dg-do run } */ extern void abort (void); void test1 (void) { int i = 0, j = 0; void bar (void) { i++; j++; } bar (); #pragma omp parallel for num_threads(4) for (i = 0; i < 100; i++) #pragma omp atomic j += 1; if (j != 101) abort (); #pragma omp pa...
15.07
117
(translation_unit) "/* PR middle-end/33880 */\n/* { dg-do run } */\n\nextern void abort (void);\n\nvoid\ntest1 (void)\n{\n int i = 0, j = 0;\n void bar (void)\n {\n i++;\n j++;\n }\n bar ();\n #pragma omp parallel for num_threads(4)\n for (i = 0; i < 100; i++)\n #pragma omp atomic\n j += 1;\n if (j...
812
0
{"language": "c", "success": true, "metadata": {"lines": 117, "avg_line_length": 15.07, "nodes": 535, "errors": 0, "source_hash": "07e4ce27f58109e8fac6c3ff2fc7b4d7805a1e443deca49833ae04b8165f3237", "categorized_nodes": 355}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "declaration", "text": "extern ...
11,377
c
/* * Copyright 2022 The Naja Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
35.75
36
(translation_unit) "/*\n * Copyright 2022 The Naja Authors.\n * \n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless re...
165
6
{"language": "c", "success": true, "metadata": {"lines": 36, "avg_line_length": 35.75, "nodes": 92, "errors": 0, "source_hash": "25f669ba7b001f39f7b5879a5ad43a13d3d703e6176d9e94f7e298276a2a8655", "categorized_nodes": 60}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
11,378
c
// // PBResponse.h // Pbind <https://github.com/wequick/Pbind> // // Created by galen on 15/2/12. // Copyright (c) 2015-present, Wequick.net. All rights reserved. // // This source code is licensed under the MIT-style license found in the // LICENSE file in the root directory of this source tree. // #import <Fou...
37.49
37
(translation_unit) "//\n// PBResponse.h\n// Pbind <https://github.com/wequick/Pbind>\n//\n// Created by galen on 15/2/12.\n// Copyright (c) 2015-present, Wequick.net. All rights reserved.\n//\n// This source code is licensed under the MIT-style license found in the\n// LICENSE file in the root directory of this s...
158
15
{"language": "c", "success": true, "metadata": {"lines": 37, "avg_line_length": 37.49, "nodes": 93, "errors": 0, "source_hash": "91b7b517354a683f06619e72147830674dba8c31e1593ef58c81d1331d3eb99a", "categorized_nodes": 57}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <...
11,379
c
#ifndef _MUFFIN_CORE_ARRAY_H_ #define _MUFFIN_CORE_ARRAY_H_ #include "muffin_core/common.h" #include "muffin_core/memory.h" typedef struct MufArray_s { muf_usize elementSize; muf_usize capacity; muf_usize size; muf_rawptr data; } MufArray; typedef struct MufArrayConfig_s { muf_usize elementSi...
46.36
133
(translation_unit) "#ifndef _MUFFIN_CORE_ARRAY_H_\n#define _MUFFIN_CORE_ARRAY_H_\n\n#include "muffin_core/common.h"\n#include "muffin_core/memory.h"\n\ntypedef struct MufArray_s {\n muf_usize elementSize;\n muf_usize capacity;\n muf_usize size;\n muf_rawptr data;\n} MufArray;\n\ntypedef struct MufArrayCo...
876
33
{"language": "c", "success": true, "metadata": {"lines": 133, "avg_line_length": 46.36, "nodes": 645, "errors": 0, "source_hash": "27f0f641f9929ae5954acdd1910a9ccd62eceeedc1ac3e778bdcc1090eabee13", "categorized_nodes": 470}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
11,380
c
/// /// anax /// An open source C++ entity system. /// /// Copyright (C) 2013-2014 <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 wi...
40.56
52
(translation_unit) "///\n/// anax\n/// An open source C++ entity system.\n///\n/// Copyright (C) 2013-2014 <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\n/// deal in the Software witho...
217
14
{"language": "c", "success": true, "metadata": {"lines": 52, "avg_line_length": 40.56, "nodes": 129, "errors": 0, "source_hash": "413945d373bec5d2b7a984c9407eed68e35771e2b9a17f6ccb2f78889a35c2f9", "categorized_nodes": 89}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
11,381
c
#ifndef _UTILS_H_ #define _UTILS_H_ #include <gtk/gtk.h> #include <SDL/SDL.h> #include <SDL/SDL_image.h> #include "cascading.h" #include "json.h" void showResults (SDL_Surface* img, PositionList* result); void GtkAdaptation (SDL_Surface* img); int detect2(SDL_Surface* surface); #endif
25
11
(translation_unit) "#ifndef _UTILS_H_\n#define _UTILS_H_\n\n#include <gtk/gtk.h>\n#include <SDL/SDL.h>\n#include <SDL/SDL_image.h>\n#include "cascading.h"\n#include "json.h"\n\nvoid showResults (SDL_Surface* img, PositionList* result);\nvoid GtkAdaptation (SDL_Surface* img);\nint detect2(SDL_Surface* surface);\n\n#endi...
74
0
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 25.0, "nodes": 57, "errors": 0, "source_hash": "1dbb14d61956082e5465806b486a2e18f405828f20f264c39accd27d9dacb495", "categorized_nodes": 41}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef _...
11,382
c
#ifndef REDUCE_H #define REDUCE_H #include <stdint.h> #include "params.h" #define reduce_avx DILITHIUM_NAMESPACE(_reduce_avx) void reduce_avx(uint32_t a[N], const uint32_t *qdata); #define csubq_avx DILITHIUM_NAMESPACE(_csubq_avx) void csubq_avx(uint32_t a[N], const uint32_t *qdata); #endif
31.44
9
(translation_unit) "#ifndef REDUCE_H\n#define REDUCE_H\n\n#include <stdint.h>\n#include "params.h"\n\n#define reduce_avx DILITHIUM_NAMESPACE(_reduce_avx)\nvoid reduce_avx(uint32_t a[N], const uint32_t *qdata);\n#define csubq_avx DILITHIUM_NAMESPACE(_csubq_avx)\nvoid csubq_avx(uint32_t a[N], const uint32_t *qdata);\n\n#...
71
0
{"language": "c", "success": true, "metadata": {"lines": 9, "avg_line_length": 31.44, "nodes": 51, "errors": 0, "source_hash": "a635a4df1c7801047fed39dcfc5675bd66e5f1b30cd5772066baa4d04a108c35", "categorized_nodes": 29}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef R...
11,383
c
#include <stdio.h> #include <string.h> #include <math.h> #include <stdlib.h> int main() { int n; scanf("%d", &n); int pattern[2*n-1][2*n-1]; for (int i=0; i<2*n-1; i++) { for (int j=0;j<2*n-1;j++){ pattern[i][j]=0; } } for (int i=0; i<=n-1; i++) { pattern[n-...
22.2
45
(translation_unit) "#include <stdio.h>\n#include <string.h>\n#include <math.h>\n#include <stdlib.h>\n\nint main() \n{\n\n int n;\n scanf("%d", &n);\n int pattern[2*n-1][2*n-1];\n for (int i=0; i<2*n-1; i++) {\n for (int j=0;j<2*n-1;j++){\n pattern[i][j]=0;\n }\n }\n for (int i=...
634
0
{"language": "c", "success": true, "metadata": {"lines": 45, "avg_line_length": 22.2, "nodes": 439, "errors": 0, "source_hash": "bf80b085b2365155165dfd89d40d45d093b77a23770878701833a005a8bb078e", "categorized_nodes": 316}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
11,384
c
// // ALSubStr.h // AnsiLove.framework // // Copyright (C) 2011-2015 <NAME>. // All rights reserved. // // This source code is licensed under the BSD 3-Clause License. // See the file LICENSE for details. // #import <Foundation/Foundation.h> // Returns portion of a string specified by start and length parameter...
27.62
13
(translation_unit) "//\n// ALSubStr.h\n// AnsiLove.framework\n//\n// Copyright (C) 2011-2015 <NAME>.\n// All rights reserved.\n//\n// This source code is licensed under the BSD 3-Clause License.\n// See the file LICENSE for details.\n//\n\n#import <Foundation/Foundation.h>\n\n// Returns portion of a string specif...
38
0
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 27.62, "nodes": 20, "errors": 0, "source_hash": "267297e9fcbd776831a0619e2d783a293555ef08011b92f0e17391042b25a4af", "categorized_nodes": 9}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <F...
11,385
c
// // # -*- coding: utf-8, tab-width: 3 -*- // mc_csinh.h // // Copyright (C) 2019-2021 Moe123. All rights reserved. // #include <macadam/details/math/mc_zsinh.h> #ifndef MC_CSINH_H #define MC_CSINH_H #pragma mark - mc_csinh - MC_TARGET_PROC mc_complex_float_t mc_csinhf(const mc_complex_float_t c) { # if MC_TARGET...
20.44
48
(translation_unit) "//\n// # -*- coding: utf-8, tab-width: 3 -*-\n\n// mc_csinh.h\n//\n// Copyright (C) 2019-2021 Moe123. All rights reserved.\n//\n\n#include <macadam/details/math/mc_zsinh.h>\n\n#ifndef MC_CSINH_H\n#define MC_CSINH_H\n\n#pragma mark - mc_csinh -\n\nMC_TARGET_PROC mc_complex_float_t mc_csinhf(const mc_...
259
3
{"language": "c", "success": true, "metadata": {"lines": 48, "avg_line_length": 20.44, "nodes": 157, "errors": 0, "source_hash": "3115139fe2a0c4f26b24e5b6124b22f567da2ba359b343a42e684b1402fc3c19", "categorized_nodes": 120}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
11,386
c
#ifndef ACTUAL_RESOURCES_H #define ACTUAL_RESOURCES_H #include "Parser.h" namespace HoI4 { class ActualResources: commonItems::parser { public: explicit ActualResources(std::istream& theStream); [[nodiscard]] auto takeResources() { return std::move(theResources); } private: std::map<std::string, double>...
20.17
18
(translation_unit) "#ifndef ACTUAL_RESOURCES_H\n#define ACTUAL_RESOURCES_H\n\n\n\n#include "Parser.h"\n\n\n\nnamespace HoI4\n{\n\nclass ActualResources: commonItems::parser\n{\n public:\n explicit ActualResources(std::istream& theStream);\n\n [[nodiscard]] auto takeResources() { return std::move(theResources); }\n\n ...
101
4
{"language": "c", "success": true, "metadata": {"lines": 18, "avg_line_length": 20.17, "nodes": 56, "errors": 0, "source_hash": "dd180ae71d164ff344df5527048d368b1bc708e32587a419e751727d26239838", "categorized_nodes": 37}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
11,387
c
/** * TS-ConfigReader * * Config reader class. * * @package TS-TimeTracker * @author <NAME> * @copyright Copyright (c) 2019, <NAME> * @license MIT License (https://opensource.org/licenses/MIT) * @since Version 0.1.0 * @filesource */ #ifndef TS_TIMETRACKER_TS_CONFIGREADER_H #define TS_TI...
22.58
33
(translation_unit) "/**\n * TS-ConfigReader\n *\n * Config reader class.\n *\n * @package TS-TimeTracker\n * @author <NAME>\n * @copyright Copyright (c) 2019, <NAME>\n * @license MIT License (https://opensource.org/licenses/MIT)\n * @since Version 0.1.0\n * @filesource\n */\n\n#ifndef TS_TIMETRACKE...
136
5
{"language": "c", "success": true, "metadata": {"lines": 33, "avg_line_length": 22.58, "nodes": 76, "errors": 0, "source_hash": "89a02da9d49b9f12a9904b181223714742f9828f75a6b531351b3ade18a33ef5", "categorized_nodes": 55}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
11,388
c
// // JRSDKProposalFlightSegmentRate.h // // Copyright 2020 Go Travel Un Limited // This code is distributed under the terms and conditions of the MIT license. // #import <AviasalesSDK/DataDefines.h> #import <AviasalesSDK/JRSDKModelObject.h> @class JRSDKProposalFlightRate; @class JRSDKFlightSegment; @interface JR...
33.82
17
(translation_unit) "//\n// JRSDKProposalFlightSegmentRate.h\n//\n// Copyright 2020 Go Travel Un Limited\n// This code is distributed under the terms and conditions of the MIT license.\n//\n\n#import <AviasalesSDK/DataDefines.h>\n#import <AviasalesSDK/JRSDKModelObject.h>\n\n@class JRSDKProposalFlightRate;\n@class JRS...
83
13
{"language": "c", "success": true, "metadata": {"lines": 17, "avg_line_length": 33.82, "nodes": 55, "errors": 0, "source_hash": "fd0b59cba1958d3fae22c9af73152fed18add81331429d891c2f190239c38b27", "categorized_nodes": 30}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <...
11,389
c
/* Copyright 2016-2019 <NAME> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
23.7
40
(translation_unit) "/* \n Copyright 2016-2019 <NAME> \n \n Licensed under the Apache License, Version 2.0 (the "License"); \n you may not use this file except in compliance with the License. \n You may obtain a copy of the License at \n \n http://www.apache.org/licenses/LICENSE-2.0 \n \n Unless required b...
88
1
{"language": "c", "success": true, "metadata": {"lines": 40, "avg_line_length": 23.7, "nodes": 55, "errors": 0, "source_hash": "b4aadc24cbb8479a483fb66efcdd73f981619cd17f23dd5675a8cb94a0e064b1", "categorized_nodes": 38}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef z...
11,390
c
// alias of #include "main_task.h"
16.5
2
(translation_unit) "// alias of\n#include "main_task.h"\n" (comment) "// alias of" (preproc_include) "#include "main_task.h"\n" (#include) "#include" (string_literal) ""main_task.h"" (") """ (string_content) "main_task.h" (") """
8
0
{"language": "c", "success": true, "metadata": {"lines": 2, "avg_line_length": 16.5, "nodes": 3, "errors": 0, "source_hash": "854f5f6da724c3b2fd3a2b6a9a3f6e5e2216ec8df6661a0e2111f0b374c00475", "categorized_nodes": 3}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#include \...
11,391
c
#include "../neuron.h" #include "engine/core/editor/object_editor.h" namespace Echo { #ifdef ECHO_EDITOR_MODE class NeuronEditor : public ObjectEditor { public: NeuronEditor(Object* object); // get camera2d icon, used for editor const char* getEditorIcon() const; }; #endif }
19.43
14
(translation_unit) "#include "../neuron.h"\n#include "engine/core/editor/object_editor.h"\n\nnamespace Echo\n{\n#ifdef ECHO_EDITOR_MODE\n class NeuronEditor : public ObjectEditor\n {\n public:\n NeuronEditor(Object* object);\n\n // get camera2d icon, used for editor\n const char* getEditorIcon() const;\n };\n#endif\...
63
1
{"language": "c", "success": true, "metadata": {"lines": 14, "avg_line_length": 19.43, "nodes": 32, "errors": 0, "source_hash": "b0dd28ace0f72e8ca245c6510ffa69b8a63d44afade37f3c28d001382d4d64a1", "categorized_nodes": 24}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
11,392
c
#include <stdio.h> #include <errno.h> #include <assert.h> #include <stdlib.h> #include <stdint.h> #include "handle_zmq.h" #ifndef HAVE_ZMQ int open_zmq_socket(context *ctx, config_socket_t *sock) { fprintf(stderr, "Paperjam was compiled without libzmq support\n"); errno = ENOTSUP; return -1; } #else #...
31.76
221
(translation_unit) "#include <stdio.h>\n#include <errno.h>\n#include <assert.h>\n#include <stdlib.h>\n#include <stdint.h>\n\n#include "handle_zmq.h"\n\n#ifndef HAVE_ZMQ\n\nint open_zmq_socket(context *ctx, config_socket_t *sock) {\n fprintf(stderr, "Paperjam was compiled without libzmq support\n");\n errno = ENOT...
2,146
0
{"language": "c", "success": true, "metadata": {"lines": 221, "avg_line_length": 31.76, "nodes": 1315, "errors": 0, "source_hash": "969d97256f8b23422c2770ae8dae455f10e32793b70cae13a18bf487a4fc7e5d", "categorized_nodes": 995}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#i...
11,393
c
/* * Copyright (c) 2016 Intel Corporation. * * SPDX-License-Identifier: Apache-2.0 */ #if 1 #define SYS_LOG_DOMAIN "Setup" #define NET_SYS_LOG_LEVEL SYS_LOG_LEVEL_DEBUG #define NET_LOG_ENABLED 1 #endif #include <zephyr.h> #include <errno.h> #include <net/net_if.h> #include <net/net_core.h> #define MCAST_IP6ADDR...
23.6
50
(translation_unit) "/*\n * Copyright (c) 2016 Intel Corporation.\n *\n * SPDX-License-Identifier: Apache-2.0\n */\n\n#if 1\n#define SYS_LOG_DOMAIN "Setup"\n#define NET_SYS_LOG_LEVEL SYS_LOG_LEVEL_DEBUG\n#define NET_LOG_ENABLED 1\n#endif\n\n#include <zephyr.h>\n#include <errno.h>\n\n#include <net/net_if.h>\n#include <ne...
301
0
{"language": "c", "success": true, "metadata": {"lines": 50, "avg_line_length": 23.6, "nodes": 166, "errors": 0, "source_hash": "28cd82176c28b2be34a1c40e233ea4ca235802c40e1af1cee8550a530cf5d93b", "categorized_nodes": 121}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_if", "text": "#if 1\n#de...
11,394
c
/* * System.h * * Created on: 18.02.2020 * Author: LK */ #ifndef TMC_SYSTEM_H_ #define TMC_SYSTEM_H_ #include "hal/tmc/Definitions.h" #include "boards/Board.h" void System_init(void); void System_periodic(void); #endif /* TMC_SYSTEM_H_ */
18.23
13
(translation_unit) "/*\n * System.h\n *\n * Created on: 18.02.2020\n * Author: LK\n */\n\n#ifndef TMC_SYSTEM_H_\n#define TMC_SYSTEM_H_\n\n#include "hal/tmc/Definitions.h"\n#include "boards/Board.h"\n\nvoid System_init(void);\nvoid System_periodic(void);\n\n#endif /* TMC_SYSTEM_H_ */\n" (comment) "/*\n * System....
42
0
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 18.23, "nodes": 27, "errors": 0, "source_hash": "ee2a7ee76f710b131790a0ea1f4821912ed95c510fcbf4243a687ac0b9ce41ad", "categorized_nodes": 19}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
11,395
c
#include "letgine.h" static char _LGBUF[LGBUFSIZ]; static char* _BUFSEEK = NULL; static char* _LGLINEBUF = NULL; static char* _LINESEEK = NULL; #define _readbuffer(fd) do { \ read(fd, _LGBUF, LGBUFSIZ - 1); \ _LGBUF[LGBUFSIZ-1] = EOF; \ _BUFSEEK = _LGBUF; \ } w...
17.71
49
(translation_unit) "#include "letgine.h"\n\nstatic char _LGBUF[LGBUFSIZ];\nstatic char* _BUFSEEK = NULL;\n\nstatic char* _LGLINEBUF = NULL;\nstatic char* _LINESEEK = NULL;\n\n#define _readbuffer(fd) do { \\n read(fd, _LGBUF, LGBUFSIZ - 1); \\n _LGBUF[LGBUFSIZ-1] = EOF; \\n _BUFSEE...
315
0
{"language": "c", "success": true, "metadata": {"lines": 49, "avg_line_length": 17.71, "nodes": 201, "errors": 0, "source_hash": "a0136b5ba8d4e3b7ab72530ca15f5072642c4e79ddce5ecc808a86def4b4031e", "categorized_nodes": 108}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
11,396
c
#ifndef DATA_IMAGE_H #define DATA_IMAGE_H #include <string> #include <vector> #include "gl/opengl.h" namespace oc { class Image { public: Image(unsigned char r, unsigned char g, unsigned char b, unsigned char a); Image(int w, int h); Image(unsigned char* src, int w, int h, int scale);...
37.57
54
(translation_unit) "#ifndef DATA_IMAGE_H\n#define DATA_IMAGE_H\n\n#include <string>\n#include <vector>\n#include "gl/opengl.h"\n\nnamespace oc {\n\n class Image {\n public:\n Image(unsigned char r, unsigned char g, unsigned char b, unsigned char a);\n Image(int w, int h);\n Image(unsigned cha...
709
26
{"language": "c", "success": true, "metadata": {"lines": 54, "avg_line_length": 37.57, "nodes": 457, "errors": 0, "source_hash": "625359c3d28e80a0237f7443709aa1e819eec8d3ac808e5ea3168c8f918e58ec", "categorized_nodes": 292}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
11,397
c
// Copyright (c) 2011-2015 The Bitcoin Core developers // Copyright (c) 2017-2019 The Raven Core developers // Copyright (c) 2020 The Chellit Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef CHELLIT_QT_SEN...
33.27
74
(translation_unit) "// Copyright (c) 2011-2015 The Bitcoin Core developers\n// Copyright (c) 2017-2019 The Raven Core developers\n// Copyright (c) 2020 The Chellit Core developers\n// Distributed under the MIT software license, see the accompanying\n// file COPYING or http://www.opensource.org/licenses/mit-license.php....
459
11
{"language": "c", "success": true, "metadata": {"lines": 74, "avg_line_length": 33.27, "nodes": 288, "errors": 0, "source_hash": "078ff42f6af6b39137d1dee2ea5e280b8baad5d3887a5dcbc6c1a12973dd8021", "categorized_nodes": 189}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
11,398
c
// // UITapGestureRecognizer+SensorsData.h // SensorsSDK // // Created by 张慧鑫 on 2021/4/8. // #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @interface UIGestureRecognizer (SensorsData) @end NS_ASSUME_NONNULL_END
18.73
11
(translation_unit) "//\n// UITapGestureRecognizer+SensorsData.h\n// SensorsSDK\n//\n// Created by 张慧鑫 on 2021/4/8.\n//\n\n#import <UIKit/UIKit.h>\n\nNS_ASSUME_NONNULL_BEGIN\n\n@interface UIGestureRecognizer (SensorsData)\n\n@end\n\nNS_ASSUME_NONNULL_END\n" (comment) "//" (comment) "// UITapGestureRecognizer+Sen...
25
5
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 18.73, "nodes": 16, "errors": 0, "source_hash": "91372bda07dfab2605682dcef50a456b0d0cd64eae72c48066ace8c4fcbe19af", "categorized_nodes": 8}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "t <UIKit/U...
11,399