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 <stdio.h> #include <stdlib.h> #include <string.h> #define SIZE 3 int main() { void PrintA(int x[SIZE][SIZE]); void Change(int y[SIZE][SIZE]); int a[SIZE][SIZE]; int i, j; for (i = 0; i < SIZE; i++) { for (j = 0; j < SIZE; j++) { printf("Plz input Line %...
18.36
53
(translation_unit) "#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#define SIZE 3\n\nint main()\n{\n void PrintA(int x[SIZE][SIZE]);\n void Change(int y[SIZE][SIZE]);\n int a[SIZE][SIZE];\n int i, j;\n \n for (i = 0; i < SIZE; i++)\n {\n for (j = 0; j < SIZE; j++)\n {\n...
457
0
{"language": "c", "success": true, "metadata": {"lines": 53, "avg_line_length": 18.36, "nodes": 263, "errors": 0, "source_hash": "e511d5ecaa2aaed2cfab103e647d8ede4e691fab8fadc0240aa01c1a437f3404", "categorized_nodes": 186}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
10,400
c
//Largest subset whose all elements are Fibonacci numbers #include<stdio.h> #include<math.h> int isPerfectSq(int n){ int check=sqrt(n); if((check*check)==n){//sqrt(5)=2 return 1; }else{ return 0; } } int checkFib(int n){ int x=(5*n*n)+4; int y=(5*n*n)-4; if(isPerfectSq(x)||is...
19.95
37
(translation_unit) "//Largest subset whose all elements are Fibonacci numbers\n#include<stdio.h>\n#include<math.h>\nint isPerfectSq(int n){\n int check=sqrt(n);\n if((check*check)==n){//sqrt(5)=2\n return 1;\n }else{\n return 0;\n }\n}\nint checkFib(int n){\n int x=(5*n*n)+4;\n int y=(5*...
362
0
{"language": "c", "success": true, "metadata": {"lines": 37, "avg_line_length": 19.95, "nodes": 210, "errors": 0, "source_hash": "452e4fc342e5bba5bd8537d0f18912f945d67633f58c8ababf071a3c296b8d9b", "categorized_nodes": 145}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
10,401
c
#pragma once #include <stdint.h> #include "mqtthandler.h" void website_task(void *pvParameter); void web_callback_single(uint8_t tchannel, uint16_t tval); void web_callback_array(int* values); void setup_website(mqttobjs objs); void assemble_objindex(char * objhtml, mqttobjs objs);
34.38
8
(translation_unit) "#pragma once\n\n#include <stdint.h>\n#include "mqtthandler.h"\n\nvoid website_task(void *pvParameter);\n\nvoid web_callback_single(uint8_t tchannel, uint16_t tval);\nvoid web_callback_array(int* values);\nvoid setup_website(mqttobjs objs);\nvoid assemble_objindex(char * objhtml, mqttobjs objs);\n" ...
82
0
{"language": "c", "success": true, "metadata": {"lines": 8, "avg_line_length": 34.38, "nodes": 61, "errors": 0, "source_hash": "86317054246bc20279ccfdc9313abd5c8d024fd7a22f513a961dbfe261889c85", "categorized_nodes": 38}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma on...
10,402
c
/** * 使用顺序存储的方式 * 实现逻辑上的循环队列 */ #include <stdio.h> typedef enum { false = 0, true } bool; /*-- 顺序存储定义的数据结构:「队列」 --*/ #define maxSize 10 // 本实现由于判队满的方式,最多存 maxSize - 1 个数据元素 typedef struct { int data[maxSize]; int front; // 队头指针 int rear; // 队尾指针,本实现中规定队尾指针指向下一个入队元素将要存放的位置 } SeqQueue; /*-- 顺序存储定义的数据结构:「队列」 --...
19.5
86
(translation_unit) "/**\n * 使用顺序存储的方式\n * 实现逻辑上的循环队列\n */\n#include <stdio.h>\ntypedef enum { false = 0, true } bool;\n\n/*-- 顺序存储定义的数据结构:「队列」 --*/\n#define maxSize 10 // 本实现由于判队满的方式,最多存 maxSize - 1 个数据元素\ntypedef struct {\n int data[maxSize];\n int front; // 队头指针\n int rear; // 队尾指针,本实现中规定队尾指针指向下一个入队元素将要存放的位置\n} S...
683
0
{"language": "c", "success": true, "metadata": {"lines": 86, "avg_line_length": 19.5, "nodes": 402, "errors": 0, "source_hash": "60c27d30304acfeafd778d6403dbc2b81dc298319c1421a8e7ee121cd54ed88a", "categorized_nodes": 282}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "e = 0...
10,403
c
#ifndef WBPEROSAISDIFFICULTY_H #define WBPEROSAISDIFFICULTY_H #include "wbpe.h" #include "wbparamevaluator.h" class WBPERosaIsDifficulty : public WBPE { public: WBPERosaIsDifficulty(); virtual ~WBPERosaIsDifficulty(); DEFINE_WBPE_FACTORY( RosaIsDifficulty ); virtual void InitializeFromDefinition( const SimpleSt...
31.29
17
(translation_unit) "#ifndef WBPEROSAISDIFFICULTY_H\n#define WBPEROSAISDIFFICULTY_H\n\n#include "wbpe.h"\n#include "wbparamevaluator.h"\n\nclass WBPERosaIsDifficulty : public WBPE\n{\npublic:\n WBPERosaIsDifficulty();\n virtual ~WBPERosaIsDifficulty();\n\n DEFINE_WBPE_FACTORY( RosaIsDifficulty );\n\n virtual void Initia...
120
8
{"language": "c", "success": true, "metadata": {"lines": 17, "avg_line_length": 31.29, "nodes": 66, "errors": 0, "source_hash": "18bf2c45f96387c5cff13251561b88ee581af1f0c9b8968b528935aeccd9de44", "categorized_nodes": 49}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
10,404
c
/* * This header is generated by classdump-dyld 1.0 * on Saturday, June 1, 2019 at 6:50:30 PM Mountain Standard Time * Operating System: Version 12.1.1 (Build 16C5050a) * Image Source: /System/Library/PreferenceBundles/BluetoothSettings.bundle/BluetoothSettings * classdump-dyld is licensed under GPLv3, Copyright © 2013...
29.63
27
(translation_unit) "/*\n* This header is generated by classdump-dyld 1.0\n* on Saturday, June 1, 2019 at 6:50:30 PM Mountain Standard Time\n* Operating System: Version 12.1.1 (Build 16C5050a)\n* Image Source: /System/Library/PreferenceBundles/BluetoothSettings.bundle/BluetoothSettings\n* classdump-dyld is licensed unde...
223
12
{"language": "c", "success": true, "metadata": {"lines": 27, "avg_line_length": 29.63, "nodes": 123, "errors": 0, "source_hash": "83ed4de1641962d26b8cda11b96820b0006417041ca2ac8e6e853bb0ba5dedce", "categorized_nodes": 84}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "i", "parent": n...
10,405
c
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See LICENSE in the project root for license information. #pragma once #include "PersonPicture.h" #include "PersonPictureAutomationPeer.g.h" class PersonPictureAutomationPeer : public ReferenceTracker<Perso...
31.84
19
(translation_unit) " Copyright (c) Microsoft Corporation. All rights reserved. \n// Licensed under the MIT License. See LICENSE in the project root for license information. \n \n#pragma once \n \n#include "PersonPicture.h" \n \n#include "PersonPictureAutomationPeer.g.h" \n \nclass PersonPictureAutomationPeer : \n pu...
96
9
{"language": "c", "success": true, "metadata": {"lines": 19, "avg_line_length": 31.84, "nodes": 55, "errors": 0, "source_hash": "9ac416fe20295c99d8c34e534907662a50a488cfcd6ab735d774cee65c83fe45", "categorized_nodes": 34}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "ragma onc...
10,406
c
#import <Flutter/Flutter.h> @interface RefresherPlugin : NSObject<FlutterPlugin> @end
27.67
3
(translation_unit) "#import <Flutter/Flutter.h>\n\n@interface RefresherPlugin : NSObject<FlutterPlugin>\n@end\n" (preproc_call) "#import <Flutter/Flutter.h>\n" (preproc_directive) "#import" (preproc_arg) "<Flutter/Flutter.h>" (ERROR) "@interface RefresherPlugin : NSObject<FlutterPlugin>\n@end" (ERROR) "...
15
3
{"language": "c", "success": true, "metadata": {"lines": 3, "avg_line_length": 27.67, "nodes": 12, "errors": 0, "source_hash": "63887b70b849c5a59ec40b3af52fc6e6b46b46c24850ffe72cac104ce88ba31f", "categorized_nodes": 5}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <Fl...
10,407
c
// // VAppDelegate.h // SmartUtils // // Created by fanhua0429 on 06/01/2020. // Copyright (c) 2020 fanhua0429. All rights reserved. // @import UIKit; @interface VAppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWindow *window; @end
23.55
11
(translation_unit) "//\n// VAppDelegate.h\n// SmartUtils\n//\n// Created by fanhua0429 on 06/01/2020.\n// Copyright (c) 2020 fanhua0429. All rights reserved.\n//\n\n@import UIKit;\n\n@interface VAppDelegate : UIResponder <UIApplicationDelegate>\n\n@property (strong, nonatomic) UIWindow *window;\n\n@end\n" (commen...
42
8
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 23.55, "nodes": 26, "errors": 0, "source_hash": "c9987f02576dab6b905f565163eebafdcb3b4d1736205c1d01429a4622e0ca80", "categorized_nodes": 13}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "@", "parent": nu...
10,408
c
#pragma once #include "VGMSeq.h" #include "SeqTrack.h" #include "SquarePS2Format.h" class BGMSeq: public VGMSeq { public: BGMSeq(RawFile *file, uint32_t offset); virtual ~BGMSeq(void); virtual bool GetHeaderInfo(void); virtual bool GetTrackPointers(void); virtual uint32_t GetID() { return assocWDID; } ...
22.22
23
(translation_unit) "#pragma once\n#include "VGMSeq.h"\n#include "SeqTrack.h"\n#include "SquarePS2Format.h"\n\nclass BGMSeq:\n public VGMSeq {\n public:\n BGMSeq(RawFile *file, uint32_t offset);\n virtual ~BGMSeq(void);\n\n virtual bool GetHeaderInfo(void);\n virtual bool GetTrackPointers(void);\n virtual uint32...
171
10
{"language": "c", "success": true, "metadata": {"lines": 23, "avg_line_length": 22.22, "nodes": 107, "errors": 0, "source_hash": "8a740745c5326649a20d77df1cfa14ed530668a0ee9753583e384635f8d21a5d", "categorized_nodes": 72}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma ...
10,409
c
#ifndef __LIST_H__ #define __LIST_H__ #include "Defs.h" // Contains items from double linked list template<class tdata> struct ListItem { tdata data; ListItem<tdata>* next; ListItem<tdata>* prev; inline ListItem(const tdata& pData) { data = pData; next = prev = NULL; } ~ListItem() {} }; // Manages a do...
15.91
279
(translation_unit) "#ifndef __LIST_H__\n#define __LIST_H__\n\n#include "Defs.h"\n\n// Contains items from double linked list\ntemplate<class tdata>\nstruct ListItem\n{\n tdata data;\n ListItem<tdata>* next;\n ListItem<tdata>* prev;\n\n inline ListItem(const tdata& pData)\n {\n data = pData;\n next = prev = NULL;\n }\...
1,764
21
{"language": "c", "success": true, "metadata": {"lines": 279, "avg_line_length": 15.91, "nodes": 1101, "errors": 0, "source_hash": "ace9e0d90eefcab40c49c243ac135ead0abcda70bd9af89ae430667b089ba419", "categorized_nodes": 747}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifn...
10,410
c
#include <stdio.h> #include <stdlib.h> #include "../../main.h" /** * main - Entry point * * Return: 0 on success, error code otherwise */ int main(void) { int len, len2; len = _printf("%c%cth %s%s a%cg%s: Y%sou %s no%ching%s Snow.%c", 'W', 'i', "some ", "more", 'r', "s", "", "know", 't', ", Jon", '\n'); len2 =...
24.73
22
(translation_unit) "#include <stdio.h>\n#include <stdlib.h>\n#include "../../main.h"\n\n/**\n * main - Entry point\n *\n * Return: 0 on success, error code otherwise\n */\nint main(void)\n{\n int len, len2;\n\n len = _printf("%c%cth %s%s a%cg%s: Y%sou %s no%ching%s Snow.%c", 'W', 'i', "some ", "more", 'r', "s", "", "kn...
222
0
{"language": "c", "success": true, "metadata": {"lines": 22, "avg_line_length": 24.73, "nodes": 111, "errors": 0, "source_hash": "4fcbbf733cb2fdb19343b9b62dd0a2345473f819894ed3bdde28d99a7bf1bd98", "categorized_nodes": 68}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
10,411
c
//altered 5/30/08 by ~Circe~ for the new temple of Anhur #include <std.h> inherit ROOM; int is_virtual(){ return 1; } void create(){ ::create(); set_terrain(DESERT); set_travel(FOOT_PATH); set_indoors(0); set_light(3); set_name("A vast desert"); set_short("%^RESET%^%^ORANGE%^You are nearing the ...
33.44
34
(translation_unit) "//altered 5/30/08 by ~Circe~ for the new temple of Anhur\n#include <std.h>\n\ninherit ROOM;\n\nint is_virtual(){ return 1; }\n\nvoid create(){\n ::create();\n set_terrain(DESERT);\n set_travel(FOOT_PATH);\n set_indoors(0);\n set_light(3);\n set_name("A vast desert");\n set_short("%^RES...
320
15
{"language": "c", "success": true, "metadata": {"lines": 34, "avg_line_length": 33.44, "nodes": 172, "errors": 0, "source_hash": "534e728134476ffd52d447586c19143d1d3e5e4222dcf5cc8c3cd080a8590b4d", "categorized_nodes": 126}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
10,412
c
/* modify the temperature conversion program to print the table in reverse order * from 300 to 0 */ #include <stdio.h> #define LOWER 0 #define UPPER 300 #define STEP 20 /* print fahrenheit-celsius table */ int main() { int fahr; printf("Fahr\tCelsius\n"); for (fahr = UPPER; fahr >= LOWER; fahr = fahr - STEP...
25.67
15
(translation_unit) "/* modify the temperature conversion program to print the table in reverse order\n * from 300 to 0 */\n\n#include <stdio.h>\n\n#define LOWER 0\n#define UPPER 300\n#define STEP 20\n\n/* print fahrenheit-celsius table */\nint main() {\n int fahr;\n\n printf("Fahr\tCelsius\n");\n\n for (fahr = UPPER...
107
0
{"language": "c", "success": true, "metadata": {"lines": 15, "avg_line_length": 25.67, "nodes": 66, "errors": 0, "source_hash": "d709c01007aab80dc1dee7e164bfe4518d761f93f5fea4ba95ac5399e5c27df2", "categorized_nodes": 41}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
10,413
c
// // RACViewController.h // ReactiveObjCExt // // Created by sylvanasx on 08/10/2018. // Copyright (c) 2018 sylvanasx. All rights reserved. // @import UIKit; @interface RACViewController : UIViewController @end
20.6
10
(translation_unit) "//\n// RACViewController.h\n// ReactiveObjCExt\n//\n// Created by sylvanasx on 08/10/2018.\n// Copyright (c) 2018 sylvanasx. All rights reserved.\n//\n\n@import UIKit;\n\n@interface RACViewController : UIViewController\n\n@end\n" (comment) "//" (comment) "// RACViewController.h" (comment)...
22
5
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 20.6, "nodes": 10, "errors": 0, "source_hash": "d068b75035f60279c9763a782ae7428f7645076febdbc5c8cc4e9df665930e39", "categorized_nodes": 5}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "@", "parent": null...
10,414
c
#ifndef __GAME_ANIMATEDGUI_H__ #define __GAME_ANIMATEDGUI_H__ class hhAnimatedGui : public hhAnimatedEntity { public: CLASS_PROTOTYPE(hhAnimatedGui); void Spawn(void); hhAnimatedGui(); virtual ~hhAnimatedGui(); virtual void Think(); void Save( idSaveGame *savefile ) const; void Restore( idResto...
24.33
27
(translation_unit) "#ifndef __GAME_ANIMATEDGUI_H__\n#define __GAME_ANIMATEDGUI_H__\n\n\nclass hhAnimatedGui : public hhAnimatedEntity {\npublic:\n CLASS_PROTOTYPE(hhAnimatedGui);\n\n void Spawn(void);\n hhAnimatedGui();\n virtual ~hhAnimatedGui();\n virtual void Think();\n void Save( idSaveGame *savefile ) c...
175
4
{"language": "c", "success": true, "metadata": {"lines": 27, "avg_line_length": 24.33, "nodes": 114, "errors": 0, "source_hash": "39268df85fa25757824047e6300d7210f306dbfe8a7789961161892cf0ab7fce", "categorized_nodes": 70}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
10,415
c
#ifndef CLIENT_H #define CLIENT_H int rpc_get_wallet(); #endif
14.75
4
(translation_unit) "#ifndef CLIENT_H\n#define CLIENT_H\n\nint rpc_get_wallet();\n\n#endif\n" (preproc_ifdef) "#ifndef CLIENT_H\n#define CLIENT_H\n\nint rpc_get_wallet();\n\n#endif" (#ifndef) "#ifndef" (identifier) "CLIENT_H" (preproc_def) "#define CLIENT_H\n" (#define) "#define" (identifier) "...
16
0
{"language": "c", "success": true, "metadata": {"lines": 4, "avg_line_length": 14.75, "nodes": 12, "errors": 0, "source_hash": "53e5a8f75d49084561d66b03e73ee9b6d47e6c6fb6608b5b66c8bea776f66ac5", "categorized_nodes": 8}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef CL...
10,416
c
#include <stropts.h> #define LASTMARK /* TODO */ /* XOPEN(400) */
12.2
5
(translation_unit) "#include <stropts.h>\n#define LASTMARK /* TODO */\n/*\nXOPEN(400)\n*/" (preproc_include) "#include <stropts.h>\n" (#include) "#include" (system_lib_string) "<stropts.h>" (preproc_def) "#define LASTMARK /* TODO */\n" (#define) "#define" (identifier) "LASTMARK" (comment) "/* TO...
9
0
{"language": "c", "success": true, "metadata": {"lines": 5, "avg_line_length": 12.2, "nodes": 6, "errors": 0, "source_hash": "8af29c932b9b062c586d30e338da689570059e7f26ace3c8c859eacab14d7ea7", "categorized_nodes": 4}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#include <...
10,417
c
// Copyright 1998-2016 Epic Games, Inc. All Rights Reserved. /** * */ #pragma once #include "BlueprintFunctionLibraryFactory.generated.h" UCLASS(hidecategories=Object, collapsecategories) class UBlueprintFunctionLibraryFactory : public UBlueprintFactory { GENERATED_UCLASS_BODY() // UFactory interface virtual F...
41.38
21
(translation_unit) "// Copyright 1998-2016 Epic Games, Inc. All Rights Reserved.\n\n/**\n *\n */\n\n#pragma once\n#include "BlueprintFunctionLibraryFactory.generated.h"\n\nUCLASS(hidecategories=Object, collapsecategories)\nclass UBlueprintFunctionLibraryFactory : public UBlueprintFactory\n{\n GENERATED_UCLASS_BODY()\n\...
163
5
{"language": "c", "success": true, "metadata": {"lines": 21, "avg_line_length": 41.38, "nodes": 107, "errors": 0, "source_hash": "ce0acaff7bdbb1793ca1b8c1e114bb4b5db205b25ccb29340e0b053db20534f6", "categorized_nodes": 78}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma ...
10,418
c
#pragma once #include <time.h> #include "afxwin.h" #include "afxcmn.h" // CTeachDlg dialog class CTeachDlg : public CDialog { DECLARE_DYNAMIC(CTeachDlg) private: FILE *m_Log; CString m_LogName; time_t m_StartTime; CTimeSpan m_TeachTime; CTimeSpan m_EndTime; CLis...
28.09
75
(translation_unit) "#pragma once \n \n#include <time.h> \n#include "afxwin.h" \n#include "afxcmn.h" \n \n// CTeachDlg dialog \n \nclass CTeachDlg : public CDialog \n{ \n DECLARE_DYNAMIC(CTeachDlg) \n \nprivate: \n FILE *m_Log; \n CString m_LogName; \n time_t m_StartTime; \n CTimeSpan m_TeachTim...
641
21
{"language": "c", "success": true, "metadata": {"lines": 75, "avg_line_length": 28.09, "nodes": 468, "errors": 0, "source_hash": "091db321b429698ee9997e643468628ab7fa0c43a94cca53fed85c3e96d9c47f", "categorized_nodes": 303}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
10,419
c
// ----------------------------------------------------------------------------- // Fern © Geoneric // // This file is part of Geoneric Fern which is available under the terms of // the GNU General Public License (GPL), version 2. If you do not want to // be bound by the terms of the GPL, you may purchase a proprietary...
32.43
95
(ERROR) "// -----------------------------------------------------------------------------\n// Fern © Geoneric\n//\n// This file is part of Geoneric Fern which is available under the terms of\n// the GNU General Public License (GPL), version 2. If you do not want to\n// be bound by the terms of the GPL, you may purchase...
452
39
{"language": "c", "success": true, "metadata": {"lines": 95, "avg_line_length": 32.43, "nodes": 294, "errors": 0, "source_hash": "f359a55b3739cf55ab2f5f619b4c0f5bea4cb370dd94f2bfc325d00c9ef5e515", "categorized_nodes": 211}, "ast": {"root": "ERROR", "nodes": [{"id": 0, "type": "ERROR", "text": "// ----------------------...
10,420
c
#pragma once #include "Types.h" #include "zip/ZipArchiveWriter.h" #include "zip/ZipArchiveReader.h" #include "Iop_DmacChannel.h" namespace Iop { class CIntc; class CDmac { public: enum { CHANNEL_SPU0 = 4, CHANNEL_SPU1 = 8, CHANNEL_SIO2in = 11, CHANNEL_SIO2out = 12, MAX_CHAN...
19.89
90
(translation_unit) "#pragma once \n \n#include "Types.h" \n#include "zip/ZipArchiveWriter.h" \n#include "zip/ZipArchiveReader.h" \n#include "Iop_DmacChannel.h" \n \nnamespace Iop \n{ \n class CIntc; \n \n class CDmac \n { \n public: \n enum \n { \n CHANNEL_SPU0 = 4, \n CHANNEL_SPU1 = 8, \n CHANNEL_SIO2in = 11, ...
478
15
{"language": "c", "success": true, "metadata": {"lines": 90, "avg_line_length": 19.89, "nodes": 312, "errors": 0, "source_hash": "45f17f5c1d9b0bdf8b92151a487cb408fa0b309758726ac46c1a6523bf2560db", "categorized_nodes": 229}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
10,421
c
#ifndef PLAY_H #define PLAY_H #include "menu.h" #include <SFML/Graphics/RenderWindow.hpp> #include "button.h" class play : public menu { public: play(); ~play(); void draw(sf::RenderWindow& main_win) override; menu_factory::menu_factory::type_menu update() override; private : text title_; button singleplayer_; ...
18.21
19
(translation_unit) "#ifndef PLAY_H\n#define PLAY_H\n#include "menu.h"\n#include <SFML/Graphics/RenderWindow.hpp>\n#include "button.h"\n\nclass play : public menu\n{\npublic:\n play();\n ~play();\n void draw(sf::RenderWindow& main_win) override;\n menu_factory::menu_factory::type_menu update() override;\n\nprivate :\n t...
110
5
{"language": "c", "success": true, "metadata": {"lines": 19, "avg_line_length": 18.21, "nodes": 63, "errors": 0, "source_hash": "48cf14e5b8871dfde46e62d398aed77fb89f7dad51a78245e47abda6ace7b499", "categorized_nodes": 47}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
10,422
c
/* http://code.google.com/p/inferno-os/source/browse/libbio/bgetd.c Copyright © 1994-1999 Lucent Technologies Inc. All rights reserved. Revisions Copyright © 2000-2007 Vita Nuova Holdings Limited (www.vitanuova.com). All rights reserved. Permission is hereby granted, free of charge, to any person obtaining a copy...
30.92
52
(translation_unit) "/*\nhttp://code.google.com/p/inferno-os/source/browse/libbio/bgetd.c\n\n Copyright © 1994-1999 Lucent Technologies Inc. All rights reserved.\n Revisions Copyright © 2000-2007 Vita Nuova Holdings Limited (www.vitanuova.com). All rights reserved.\n\nPermission is hereby granted, free of charge, to a...
193
0
{"language": "c", "success": true, "metadata": {"lines": 52, "avg_line_length": 30.92, "nodes": 122, "errors": 0, "source_hash": "3541ddfb26f5b8cfe28eabf048ff7affb212c04388f2d8584ef3b43b371e9e28", "categorized_nodes": 88}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "nclud...
10,423
c
//===================================================================================================================== // Copyright (c) 2018-2021 xamp project. All rights reserved. // More license information, please see LICENSE file in module root folder. //============================================================...
37.33
24
(translation_unit) "//=====================================================================================================================\n// Copyright (c) 2018-2021 xamp project. All rights reserved.\n// More license information, please see LICENSE file in module root folder.\n//=====================================...
160
8
{"language": "c", "success": true, "metadata": {"lines": 24, "avg_line_length": 37.33, "nodes": 93, "errors": 0, "source_hash": "befa1c4848eff2664b74f6881e7ec5e858710eeb271a8c77dea9da7108b0e922", "categorized_nodes": 62}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
10,424
c
/* $Id$ */ /* Project: miniupnp * http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/ * Author: <NAME> * Copyright (c) 2005-2009 <NAME> * This software is subjects to the conditions detailed * in the LICENCE file provided within this distribution */ #ifndef __MINIUPNPCSTRINGS_H__ #define __MINIUPNPCSTRINGS_...
32.33
12
(translation_unit) "/* $Id$ */\n/* Project: miniupnp\n * http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/\n * Author: <NAME>\n * Copyright (c) 2005-2009 <NAME>\n * This software is subjects to the conditions detailed\n * in the LICENCE file provided within this distribution */\n#ifndef __MINIUPNPCSTRINGS_H__\...
18
0
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 32.33, "nodes": 15, "errors": 0, "source_hash": "bcdfadd5da785602266a5fb2c90de04c42b1d3e9a4c09eb8e50d9767d50a973f", "categorized_nodes": 7}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef _...
10,425
c
#pragma once #include "state.h" #include "text.h" #include <SFML/Graphics/RenderWindow.hpp> #include <vector> class Initialization final : public cmm::State { enum // Enum with states of texts. { AUTHOR = 0, PRESENTS, HALLOWEEN, COMBAT, SKIP, AMOUNT }; sf::Uint8 state; std::vector <cmm::Text*> texts...
18.84
32
(translation_unit) "#pragma once\n#include "state.h"\n#include "text.h"\n#include <SFML/Graphics/RenderWindow.hpp>\n#include <vector>\n\nclass Initialization final : public cmm::State\n{\n enum // Enum with states of texts.\n {\n AUTHOR = 0,\n PRESENTS,\n HALLOWEEN,\n COMBAT,\n SKIP,\n AMOUNT\n };\n \n sf::Uint8 ...
222
11
{"language": "c", "success": true, "metadata": {"lines": 32, "avg_line_length": 18.84, "nodes": 125, "errors": 0, "source_hash": "71ef881b4fa7e95fadb72aa2801be512e022ef0b281e79cca3fd0102c58771fc", "categorized_nodes": 86}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma ...
10,426
c
/*++ Copyright (c) 1994-95 Microsoft Corporation Module Name: srvobj.h Abstract: Server object implementation. Author: <NAME> (donryan) 04-Jan-1995 Environment: User Mode - Win32 Revision History: <NAME> (jeffparh) 30-Jan-1996 o Modified to use LlsProductL...
24.62
115
(translation_unit) "/*++ \n \nCopyright (c) 1994-95 Microsoft Corporation \n \nModule Name: \n \n srvobj.h \n \nAbstract: \n \n Server object implementation. \n \nAuthor: \n \n <NAME> (donryan) 04-Jan-1995 \n \nEnvironment: \n \n User Mode - Win32 \n \nRevision History: \n \n <NAME> (jeffparh) 30-Jan-19...
395
15
{"language": "c", "success": true, "metadata": {"lines": 115, "avg_line_length": 24.62, "nodes": 259, "errors": 0, "source_hash": "48ffd44e4fc4bdf8f2bbd7c6e9f4cd8ab3bcb0d208caa8ef80f1f07d00642488", "categorized_nodes": 178}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
10,427
c
#include <stdio.h> #include <stdlib.h> #include "console.h" // println prints the given message with a line break after void println(const char *message) { puts(message); } // print prints the given message without a line break after void print(const char *message) { printf("%s", message); } // getStringEntry re...
23.57
23
(translation_unit) "#include <stdio.h>\n#include <stdlib.h>\n#include "console.h"\n\n// println prints the given message with a line break after\nvoid println(const char *message) {\n puts(message);\n}\n\n// print prints the given message without a line break after\nvoid print(const char *message) {\n printf("%s", me...
158
0
{"language": "c", "success": true, "metadata": {"lines": 23, "avg_line_length": 23.57, "nodes": 87, "errors": 0, "source_hash": "16cf5966a576850c97c45e431273eaa281cc047f31c20c1235fa6dc59baf55f1", "categorized_nodes": 54}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
10,428
c
/* GStreamer * Copyright (C) <2009> <NAME> <<EMAIL>> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version. * ...
33.99
197
(translation_unit) "/* GStreamer\n * Copyright (C) <2009> <NAME> <<EMAIL>>\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Library General Public\n * License as published by the Free Software Foundation; either\n * version 2 of the License, or (at your opti...
897
0
{"language": "c", "success": true, "metadata": {"lines": 197, "avg_line_length": 33.99, "nodes": 714, "errors": 0, "source_hash": "81a2181ee1f4bf471bbd3cbd55a31ebf126b99eefbb306000eb7b6ced280e599", "categorized_nodes": 534}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
10,429
c
#pragma once // NOLINT(namespace-envoy) enum RequestMethod { DELETE, GET, HEAD, OPTIONS, PATCH, POST, PUT, TRACE, };
10.08
12
(translation_unit) "#pragma once\n\n// NOLINT(namespace-envoy)\n\nenum RequestMethod {\n DELETE,\n GET,\n HEAD,\n OPTIONS,\n PATCH,\n POST,\n PUT,\n TRACE,\n};\n" (preproc_call) "#pragma once\n" (preproc_directive) "#pragma" (preproc_arg) "once" (comment) "// NOLINT(namespace-envoy)" (enum_specifi...
36
0
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 10.08, "nodes": 23, "errors": 0, "source_hash": "aea046502049e571e86321efa2d0e61e58b400811afb4157638b0c6abbdeafd3", "categorized_nodes": 21}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
10,430
c
/* * Network Configuration Module * * Copyright (c) 2000 - 2012 Samsung Electronics Co., Ltd. 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.apac...
29.25
212
(translation_unit) "/*\n * Network Configuration Module\n *\n * Copyright (c) 2000 - 2012 Samsung Electronics Co., Ltd. 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 Licen...
1,613
0
{"language": "c", "success": true, "metadata": {"lines": 212, "avg_line_length": 29.25, "nodes": 964, "errors": 0, "source_hash": "252b48fd30525077f1635708ffc1b0d22ac9eceabdfb1231f1032dffb504d756", "categorized_nodes": 601}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
10,431
c
#pragma once //#define __VERSION 1264 #define __VERSION 1298
19.33
3
(translation_unit) "#pragma once\n\n//#define __VERSION 1264\n#define __VERSION 1298\n" (preproc_call) "#pragma once\n" (preproc_directive) "#pragma" (preproc_arg) "once" (comment) "//#define __VERSION 1264" (preproc_def) "#define __VERSION 1298\n" (#define) "#define" (identifier) "__VERSION" ...
9
0
{"language": "c", "success": true, "metadata": {"lines": 3, "avg_line_length": 19.33, "nodes": 7, "errors": 0, "source_hash": "2e7b2241063debcf606b7ea0357a7d166ce62b9679bc9b20291c9b9cd8b035a7", "categorized_nodes": 2}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma once...
10,432
c
/* * This header is generated by classdump-dyld 1.0 * on Wednesday, March 22, 2017 at 9:02:49 AM Mountain Standard Time * Operating System: Version 10.1 (Build 14U593) * Image Source: /System/Library/Frameworks/UIKit.framework/UIKit * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by <NAME>. */ #import ...
30.46
41
(translation_unit) "/*\n* This header is generated by classdump-dyld 1.0\n* on Wednesday, March 22, 2017 at 9:02:49 AM Mountain Standard Time\n* Operating System: Version 10.1 (Build 14U593)\n* Image Source: /System/Library/Frameworks/UIKit.framework/UIKit\n* classdump-dyld is licensed under GPLv3, Copyright © 2013-201...
306
17
{"language": "c", "success": true, "metadata": {"lines": 41, "avg_line_length": 30.46, "nodes": 174, "errors": 0, "source_hash": "3931972895fc206cd06bb2cb1897bf91f5955a71d9cd9b45751666654ff878cd", "categorized_nodes": 116}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import ...
10,433
c
/* * This header is generated by classdump-dyld 1.5 * on Wednesday, April 28, 2021 at 9:07:42 PM Mountain Standard Time * Operating System: Version 14.5 (Build 18L204) * Image Source: /System/Library/PrivateFrameworks/MobileTime...
34.71
45
(translation_unit) "/*\n * This header is generated by classdump-dyld 1.5\n * on Wednesday, April 28, 2021 at 9:07:42 PM Mountain Standard Time\n * Operating System: Version 14.5 (Build 18L204)\n * Image Source: /System/Library/Priv...
285
0
{"language": "c", "success": true, "metadata": {"lines": 45, "avg_line_length": 34.71, "nodes": 181, "errors": 0, "source_hash": "e765d1589f0d5747e901ec56ddc6179cec07ccb13d9c8a2d1a467b53e921d3b8", "categorized_nodes": 142}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "type_definition", "text": "yped...
10,434
c
static size_t split(blist* self) { size_t num_lists = 0; assert(self->above->below == self); assert(self->head); node* current_node = self->head; tl_node* prev_tl_node = NULL; while (current_node) { tl_node* n = tl_node_new(); n->level = MAX_LEVEL; n->next = NULL; n->prev = prev_tl_node; ...
25.79
39
(translation_unit) "static size_t split(blist* self)\n{\n size_t num_lists = 0;\n assert(self->above->below == self);\n assert(self->head);\n\n node* current_node = self->head;\n tl_node* prev_tl_node = NULL;\n while (current_node) {\n\n tl_node* n = tl_node_new();\n n->level = MAX_LEVEL;\n n->next = NUL...
326
0
{"language": "c", "success": true, "metadata": {"lines": 39, "avg_line_length": 25.79, "nodes": 218, "errors": 0, "source_hash": "d10808ed92e623ca6929654a907558d36f532bc42fe01b5062b8f24182ce6416", "categorized_nodes": 151}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "function_definition", "text": "...
10,435
c
//////////////////////////////////////////////////////////////////////////////// // MeshPolygon.h // Class Declaration // Copyright <NAME> 2001, 2002 //////////////////////////////////////////////////////////////////////////////// #ifndef MeshPolygon__h #define MeshPolygon__h #include "Point3D.h" #include "Texture.h"...
31.23
78
(translation_unit) "////////////////////////////////////////////////////////////////////////////////\n// MeshPolygon.h\n// Class Declaration\n// Copyright <NAME> 2001, 2002\n////////////////////////////////////////////////////////////////////////////////\n\n#ifndef MeshPolygon__h\n#define MeshPolygon__h\n\n#include "Po...
465
10
{"language": "c", "success": true, "metadata": {"lines": 78, "avg_line_length": 31.23, "nodes": 275, "errors": 0, "source_hash": "003d3a132f2d7aa972d747b58981f111c9962d1ef6729a3c1c0c74b01ac1f2f7", "categorized_nodes": 178}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
10,436
c
// // LoginViewController.h // DragonHouse // // Created by KangJihun on 2016. 4. 21.. // Copyright © 2016년 a2big. All rights reserved. // #import <UIKit/UIKit.h> #import <KakaoOpenSDK/KakaoOpenSDK.h> #import "NaverThirdPartyLoginConnection.h" @interface LoginViewController : UIViewController<NaverThirdPartyLogin...
25.4
30
(translation_unit) "//\n// LoginViewController.h\n// DragonHouse\n//\n// Created by KangJihun on 2016. 4. 21..\n// Copyright © 2016년 a2big. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n#import <KakaoOpenSDK/KakaoOpenSDK.h>\n#import "NaverThirdPartyLoginConnection.h"\n\n@interface LoginViewController : UIVie...
150
9
{"language": "c", "success": true, "metadata": {"lines": 30, "avg_line_length": 25.4, "nodes": 99, "errors": 0, "source_hash": "ebe32553fc42ded23eafd5a11363fe0af497a23605ced78dc1895181a69f65e7", "categorized_nodes": 65}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "port <UIKi...
10,437
c
/* -*- mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- */ // vim: ft=cpp:expandtab:ts=8:sw=4:softtabstop=4: #ident "$Id$" /*====== This file is part of PerconaFT. Copyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved. PerconaFT is free software: you can redistribute it and/or modif...
37.47
303
(translation_unit) "/* -*- mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- */\n// vim: ft=cpp:expandtab:ts=8:sw=4:softtabstop=4:\n#ident "$Id$"\n/*======\nThis file is part of PerconaFT.\n\n\nCopyright (c) 2006, 2015, Percona and/or its affiliates. All rights reserved.\n\n PerconaFT is free software: you can...
1,376
32
{"language": "c", "success": true, "metadata": {"lines": 303, "avg_line_length": 37.47, "nodes": 831, "errors": 0, "source_hash": "8089361275d97ffe97417352b937fec82564327177bfb8a9308e1582381eacae", "categorized_nodes": 626}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#ident...
10,438
c
// Copyright eeGeo Ltd (2012-2015), All Rights Reserved #pragma once namespace ExampleApp { namespace FlattenButton { namespace View { class IFlattenButtonViewModule; class FlattenButtonView; } } }
18.85
13
(translation_unit) "// Copyright eeGeo Ltd (2012-2015), All Rights Reserved\n\n#pragma once\n\nnamespace ExampleApp\n{\n namespace FlattenButton\n {\n namespace View\n {\n class IFlattenButtonViewModule;\n class FlattenButtonView;\n }\n }\n}\n" (comment) "// Copyrig...
31
0
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 18.85, "nodes": 16, "errors": 0, "source_hash": "1bdbf96726c4802c9a879df5d0a7ecf1c3c6056ffe60b3c39fcc410d2b4f0ece", "categorized_nodes": 14}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
10,439
c
// // MessageViewController.h // WeiZaiProject // // Created by MS on 15-7-16. // Copyright (c) 2015年 HH. All rights reserved. // #import "RootViewController.h" @interface MessageViewController : RootViewController @end
21.4
10
(translation_unit) "//\n// MessageViewController.h\n// WeiZaiProject\n//\n// Created by MS on 15-7-16.\n// Copyright (c) 2015年 HH. All rights reserved.\n//\n\n#import "RootViewController.h"\n\n@interface MessageViewController : RootViewController\n\n@end\n" (comment) "//" (comment) "// MessageViewController.h"...
19
3
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 21.4, "nodes": 10, "errors": 0, "source_hash": "bdf2af03d240fd30e135c044bc7b60f1f248cd050a4db69ecd579be921f80f4c", "categorized_nodes": 5}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "mport \"Roo...
10,440
c
#ifndef INCLUDED_COOENGINE_TERRAINSERVICE_H #define INCLUDED_COOENGINE_TERRAINSERVICE_H #include "Terrain.h" #include "Service.h" namespace Coo { class CameraService; class TerrainService : public Service { public: META_CLASS_DECLARE void Initialize() override; void Terminate() override; ...
18.09
32
(translation_unit) "#ifndef INCLUDED_COOENGINE_TERRAINSERVICE_H \n#define INCLUDED_COOENGINE_TERRAINSERVICE_H \n \n#include "Terrain.h" \n#include "Service.h" \n \nnamespace Coo \n{ \n class CameraService; \n class TerrainService : public Service \n { \n public: \n META_CLASS_DECLARE \n \n void Initialize() override...
119
2
{"language": "c", "success": true, "metadata": {"lines": 32, "avg_line_length": 18.09, "nodes": 75, "errors": 0, "source_hash": "3df4c677173ccbbef776c7413760db8afb642dfe0f2ef1b86f06490a3e34b0aa", "categorized_nodes": 48}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
10,441
c
#ifndef TETRA_DOS_ELHAMILTONIAN_H #define TETRA_DOS_ELHAMILTONIAN_H #include <gsl/gsl_math.h> #include <gsl/gsl_sf_trig.h> #include <gsl/gsl_complex.h> #include <gsl/gsl_complex_math.h> #include <gsl/gsl_vector.h> #include <gsl/gsl_matrix.h> #include "environment.h" void ElHamiltonian_Recip(Environment *env, double k...
41.06
16
(translation_unit) "#ifndef TETRA_DOS_ELHAMILTONIAN_H\n#define TETRA_DOS_ELHAMILTONIAN_H\n\n#include <gsl/gsl_math.h>\n#include <gsl/gsl_sf_trig.h>\n#include <gsl/gsl_complex.h>\n#include <gsl/gsl_complex_math.h>\n#include <gsl/gsl_vector.h>\n#include <gsl/gsl_matrix.h>\n#include "environment.h"\n\nvoid ElHamiltonian_R...
171
0
{"language": "c", "success": true, "metadata": {"lines": 16, "avg_line_length": 41.06, "nodes": 128, "errors": 0, "source_hash": "1863f8fb5bed535743f155ad17177188d6be177398be42a875b4712d4a053a6a", "categorized_nodes": 90}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
10,442
c
// Tree Traversal (In-order, Pre-order, Post-order) #include<stdio.h> #include<stdlib.h> struct node { struct node *left; int data; struct node *right; }; struct node *create() { struct node *newn; int value; printf("Enter value(-1 for no data):"); scanf("%d",&value); if...
18.7
70
(translation_unit) "// Tree Traversal (In-order, Pre-order, Post-order) \n#include<stdio.h> \n#include<stdlib.h> \nstruct node \n{ \n struct node *left; \n int data; \n struct node *right; \n}; \n \nstruct node *create() \n{ \n struct node *newn; \n int value; \n printf("Enter value(-1 for no data):")...
492
0
{"language": "c", "success": true, "metadata": {"lines": 70, "avg_line_length": 18.7, "nodes": 281, "errors": 0, "source_hash": "e07803879c500803aabc91c5efd8ce1de5d0d7395279540a5d9dd0fbbd310b6a", "categorized_nodes": 197}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
10,443
c
/*--------------------------------------------- * modification time: 2016.11.23 15:00 * mender: Muse -*---------------------------------------------*/ /*--------------------------------------------- * file: events.c * creation time: 2016.11.03 15:05 * author: Muse -*---------------------------...
28.11
183
(translation_unit) "/*---------------------------------------------\n * modification time: 2016.11.23 15:00\n * mender: Muse\n-*---------------------------------------------*/\n\n/*---------------------------------------------\n * file: events.c\n * creation time: 2016.11.03 15:05\n * author: Muse\n...
937
1
{"language": "c", "success": true, "metadata": {"lines": 183, "avg_line_length": 28.11, "nodes": 588, "errors": 0, "source_hash": "fee92c43199cfb6819c170ff47b02a9e23dc8a5450833bc29bb700b182fa7783", "categorized_nodes": 419}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
10,444
c
// ------------------------------------------------- // BlinKit - BkHelper Library // ------------------------------------------------- // File Name: private_key_impl.h // Description: PrivateKeyImpl Class // Author: <NAME> // Created: 2020-06-01 // ------------------------------------------------- // Copyri...
32.44
27
(translation_unit) "// -------------------------------------------------\n// BlinKit - BkHelper Library\n// -------------------------------------------------\n// File Name: private_key_impl.h\n// Description: PrivateKeyImpl Class\n// Author: <NAME>\n// Created: 2020-06-01\n// --------------------------------...
132
6
{"language": "c", "success": true, "metadata": {"lines": 27, "avg_line_length": 32.44, "nodes": 75, "errors": 0, "source_hash": "59d4964eb8ba8d9827dbdec95181096aa1f97998bf1e1513dc760321eae55aac", "categorized_nodes": 46}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
10,445
c
/* Test we're able use __atomic_fetch_* where possible and verify we generate correct code. */ /* { dg-do run } */ /* { dg-options "-std=c11 -pedantic-errors -fdump-tree-original" } */ #include <stdatomic.h> extern void abort (void); static void test_inc_dec (void) { atomic_int i = ATOMIC_VAR_INIT (1); i++;...
14.75
119
(translation_unit) "/* Test we're able use __atomic_fetch_* where possible and verify\n we generate correct code. */\n/* { dg-do run } */\n/* { dg-options "-std=c11 -pedantic-errors -fdump-tree-original" } */\n\n#include <stdatomic.h>\n\nextern void abort (void);\n\nstatic void\ntest_inc_dec (void)\n{\n atomic_int ...
844
0
{"language": "c", "success": true, "metadata": {"lines": 119, "avg_line_length": 14.75, "nodes": 506, "errors": 0, "source_hash": "b3939b0ccc1fe1ababcf6b0bb49c8165efa6a631f6c1ad90263d4d28e2b4331a", "categorized_nodes": 360}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
10,446
c
#define FC_CACHEDIR "./" /* The normal alignment of `double', in bytes. */ #define ALIGNOF_DOUBLE 8 /* Use libxml2 instead of Expat */ /* #undef ENABLE_LIBXML2 */ /* Additional font directories */ #define FC_ADD_FONTS "yes" /* Architecture prefix to use for cache file names */ /* #undef FC_ARCHITECTURE */ /* Syst...
41.03
184
(translation_unit) "#define FC_CACHEDIR "./"\n\n/* The normal alignment of `double', in bytes. */\n#define ALIGNOF_DOUBLE 8\n\n/* Use libxml2 instead of Expat */\n/* #undef ENABLE_LIBXML2 */\n\n/* Additional font directories */\n#define FC_ADD_FONTS "yes"\n\n/* Architecture prefix to use for cache file names */\n/* #un...
304
0
{"language": "c", "success": true, "metadata": {"lines": 184, "avg_line_length": 41.03, "nodes": 172, "errors": 0, "source_hash": "e048e898020b5e914b6cfddf3595c6e4e08ece509164d0ca09a8648cd64acfbd", "categorized_nodes": 45}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_def", "text": "#define ...
10,447
c
#pragma once #include <stdint.h> #include <stdbool.h> #include <stdio.h> #define ADD_CLAMP(x, y, max) {(x) += (y); if ((x) > (max)) (x) = (max); if ((x) < 0) (x) = 0;} #define ADD_CLAMP_MINMAX(x, y, min, max) {(x) += (y); if ((x) > (max)) (x) = (max); if ((x) < (min)) (x) = (min);} #define ABS(a,b) ((a) > (b)...
19.12
42
(translation_unit) "#pragma once \n \n#include <stdint.h> \n#include <stdbool.h> \n#include <stdio.h> \n \n#define ADD_CLAMP(x, y, max) {(x) += (y); if ((x) > (max)) (x) = (max); if ((x) < 0) (x) = 0;} \n#define ADD_CLAMP_MINMAX(x, y, min, max) {(x) += (y); if ((x) > (max)) (x) = (max); if ((x) < (min)) (x) = (min);} \...
207
0
{"language": "c", "success": true, "metadata": {"lines": 42, "avg_line_length": 19.12, "nodes": 146, "errors": 0, "source_hash": "0bb5c02f13b66ec7511d3ef15bc5bb34beba601b882ade74b07de843bdcdc102", "categorized_nodes": 97}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma ...
10,448
c
/* fruity.c * * MIT License * * Copyright (c) 2022 <NAME> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, c...
35.67
134
(translation_unit) "/* fruity.c\n *\n * MIT License\n * \n * Copyright (c) 2022 <NAME>\n * \n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the "Software"), to deal\n * in the Software without restriction, including without limita...
1,117
0
{"language": "c", "success": true, "metadata": {"lines": 134, "avg_line_length": 35.67, "nodes": 766, "errors": 0, "source_hash": "0d47b199296bbff90e732bfd678b8e5d4cb2b36030bef2d9c298ed49309e8c16", "categorized_nodes": 516}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
10,449
c
#include <stdio.h> void strictlyAsc(int lst[], int len){ int flag = 1; for (int i=0; i<len-1; i++) if (lst[i]>=lst[i+1]){ printf("not strictly ascending!\n"); flag = -1; } if (flag == 1) puts("Strictly ascending!"); } int main(){ int lst[] = {5, 6, 7, 9, 11, 14}; int lst_[] = {5,...
17.39
23
(translation_unit) "#include <stdio.h>\n\nvoid strictlyAsc(int lst[], int len){\n int flag = 1;\n for (int i=0; i<len-1; i++)\n if (lst[i]>=lst[i+1]){\n printf("not strictly ascending!\n");\n flag = -1;\n }\n if (flag == 1)\n puts("Strictly ascending!");\n}\n\n\nint main(){\n \n int lst[] = {5, ...
201
0
{"language": "c", "success": true, "metadata": {"lines": 23, "avg_line_length": 17.39, "nodes": 119, "errors": 0, "source_hash": "718f7caa53f0ec205348653ba342adef142da7ee4fb5ad733b5687d3fda187ec", "categorized_nodes": 81}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
10,450
c
//%includeGuardStart { #ifndef INFERNALFLOORMAP_H #define INFERNALFLOORMAP_H //%includeGuardStart } 2tBobbUViMTONTr99BFE8A //%Header { /***************************************************************************** * * File: src/Infernal/InfernalFloorMap.h * * Copyright: <NAME> 2002-2007, 2020 * * Permission is he...
33.99
254
(translation_unit) "//%includeGuardStart {\n#ifndef INFERNALFLOORMAP_H\n#define INFERNALFLOORMAP_H\n//%includeGuardStart } 2tBobbUViMTONTr99BFE8A\n//%Header {\n/*****************************************************************************\n *\n * File: src/Infernal/InfernalFloorMap.h\n *\n * Copyright: <NAME> 2002-2007...
1,189
76
{"language": "c", "success": true, "metadata": {"lines": 254, "avg_line_length": 33.99, "nodes": 654, "errors": 0, "source_hash": "2ac3ea27ce56ad4182da4b22fdbe70357a38a4d60f158e5b21b5f09d238affb2", "categorized_nodes": 464}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
10,451
c
#pragma once #include <exception> namespace libVT100 { class InvalidByteException : public std::exception { protected: std::string formatMsg(const char* thing, byte _command, String _parameter) { char buffer[256] = { 0 }; sprintf_s(buffer, 256, "Invalid %s for command %x '%c',\"%S\"",thing, _command, (cha...
26.78
37
(translation_unit) "#pragma once\n#include <exception>\n\nnamespace libVT100\n{\n class InvalidByteException : public std::exception\n {\n protected:\n std::string formatMsg(const char* thing, byte _command, String _parameter)\n {\n char buffer[256] = { 0 };\n sprintf_s(buffer, 256, "Invalid %s for command %x '%c...
291
16
{"language": "c", "success": true, "metadata": {"lines": 37, "avg_line_length": 26.78, "nodes": 154, "errors": 0, "source_hash": "68d220ebe683cc86acf15c79a5c5862b81b1997deb011a4a5b24ec16444c9705", "categorized_nodes": 105}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
10,452
c
// // Copyright (c) 2016-present, Facebook, Inc. // All rights reserved. // // This source code is licensed under the BSD-style license found in the // LICENSE file in the root directory of this source tree. An additional grant // of patent rights can be found in the PATENTS file in the same directory. // #import <Fou...
26.65
34
(translation_unit) "//\n// Copyright (c) 2016-present, Facebook, Inc.\n// All rights reserved.\n//\n// This source code is licensed under the BSD-style license found in the\n// LICENSE file in the root directory of this source tree. An additional grant\n// of patent rights can be found in the PATENTS file in the same d...
90
3
{"language": "c", "success": true, "metadata": {"lines": 34, "avg_line_length": 26.65, "nodes": 44, "errors": 0, "source_hash": "7c4a22f71c017fdc044202d1ebbcd0bf722d96796c8bc79d0c56038db6e7fe27", "categorized_nodes": 28}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <...
10,453
c
// // VCAssetOpLock.h // oplayer // // Created by SYALON on 13-10-23. // // 资产锁仓界面 #import "VCBase.h" #import "ViewTextFieldAmountCell.h" @interface VCAssetOpLock : VCBase<UITableViewDelegate, UITableViewDataSource, UITextFieldDelegate, ViewTextFieldAmountCellDelegate> - (id)initWithCurrAsset:(id)cu...
23.61
18
(translation_unit) "// \n// VCAssetOpLock.h \n// oplayer \n// \n// Created by SYALON on 13-10-23. \n// \n// 资产锁仓界面 \n \n#import "VCBase.h" \n#import "ViewTextFieldAmountCell.h" \n \n@interface VCAssetOpLock : VCBase<UITableViewDelegate, UITableViewDataSource, UITextFieldDelegate, ViewTextFieldAmountCellDelegate> \n...
61
6
{"language": "c", "success": true, "metadata": {"lines": 18, "avg_line_length": 23.61, "nodes": 37, "errors": 0, "source_hash": "779f464395f77fdae311d265d0aec30fe5e4b4a9f1316e22ff284e98ceb65a2a", "categorized_nodes": 22}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "ase.h\"\r...
10,454
c
// // FormattingChannel.h // // Library: Foundation // Package: Logging // Module: Formatter // // Definition of the FormattingChannel class. // // Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH. // and Contributors. // // SPDX-License-Identifier: BSL-1.0 // #ifndef Foundation_FormattingChann...
27.27
84
(translation_unit) "//\n// FormattingChannel.h\n//\n// Library: Foundation\n// Package: Logging\n// Module: Formatter\n//\n// Definition of the FormattingChannel class.\n//\n// Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH.\n// and Contributors.\n//\n// SPDX-License-Identifier: BSL-1.0\n//\n\n...
261
4
{"language": "c", "success": true, "metadata": {"lines": 84, "avg_line_length": 27.27, "nodes": 130, "errors": 0, "source_hash": "fde1e21c89ac98a5c5f8106ce61c789bd55933387a74451ba4be1fd24e6b4b25", "categorized_nodes": 87}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
10,455
c
#include <math.h> #include "ActivationFunctions.h" #define max(x, y) (x > y ? x : y) float sigmoid(const float x) { return 1.0 / (1.0 + exp(-x)); } float d_sigmoid(const float x) { return x * (1.0 - x); } float tanh_f(const float x) { return (1.0 - exp(-2 * x)) / (1.0 + exp(-2 * x)); } float d_tanh(co...
21.24
21
(translation_unit) "#include <math.h>\n\n#include "ActivationFunctions.h"\n\n#define max(x, y) (x > y ? x : y)\n\nfloat sigmoid(const float x) {\n return 1.0 / (1.0 + exp(-x));\n}\n\nfloat d_sigmoid(const float x) {\n return x * (1.0 - x);\n}\n\nfloat tanh_f(const float x) {\n return (1.0 - exp(-2 * x)) / (1.0...
208
0
{"language": "c", "success": true, "metadata": {"lines": 21, "avg_line_length": 21.24, "nodes": 129, "errors": 0, "source_hash": "64c3a297f7675b9c453aeb62f764646fb13f0d32d8e4f46adaf84739e59b5250", "categorized_nodes": 91}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
10,456
c
/* * FreeOTP * * Authors: <NAME> <<EMAIL>> * * Copyright (C) 2014 <NAME>, Red Hat * * 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....
29.87
30
(translation_unit) "/*\n * FreeOTP\n *\n * Authors: <NAME> <<EMAIL>>\n *\n * Copyright (C) 2014 <NAME>, Red Hat\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...
114
0
{"language": "c", "success": true, "metadata": {"lines": 30, "avg_line_length": 29.87, "nodes": 79, "errors": 0, "source_hash": "875c4f90ee90a4dbac1aa84d083077fa5777785871f08ffed17f29ae90c86d6f", "categorized_nodes": 36}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
10,457
c
#ifndef __A_OUT_GNU_H__ #define __A_OUT_GNU_H__ #include <bits/a.out.h> #define __GNU_EXEC_MACROS__ struct exec { unsigned long a_info; /* Use macros N_MAGIC, etc for access. */ unsigned int a_text; /* Length of text, in bytes. */ unsigned int a_data; /* Length of data, in bytes. */ unsigned int a_bss; /*...
36.16
114
(translation_unit) "#ifndef __A_OUT_GNU_H__\n#define __A_OUT_GNU_H__\n\n#include <bits/a.out.h>\n\n#define __GNU_EXEC_MACROS__\n\nstruct exec\n{\n unsigned long a_info; /* Use macros N_MAGIC, etc for access. */\n unsigned int a_text; /* Length of text, in bytes. */\n unsigned int a_data; /* Length of data, in byte...
547
0
{"language": "c", "success": true, "metadata": {"lines": 114, "avg_line_length": 36.16, "nodes": 415, "errors": 0, "source_hash": "639d96d90b9b6ef3cde34414b11d4c0825d3b97ff3c6a84c2167d1e709ac7b4e", "categorized_nodes": 225}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
10,458
c
/*************************************************************************** * * File : SerLCD_2x16.c * * Author : <NAME> * Date : June 28, 2011 * Modified : February 24, 2013 * * Description : Control the Sparkfun 2x16 Serial Enabled LCD * : http://www.sparkfun.com/datasheets/LC...
31.93
296
(translation_unit) "/*************************************************************************** \n* \n* File : SerLCD_2x16.c \n* \n* Author : <NAME> \n* Date : June 28, 2011 \n* Modified : February 24, 2013 \n* \n* Description : Control the Sparkfun 2x16 Serial Enabled LCD \n* : http://w...
1,486
0
{"language": "c", "success": true, "metadata": {"lines": 296, "avg_line_length": 31.93, "nodes": 837, "errors": 0, "source_hash": "da481d9ddbd2963cc6a090565485c63af5393cee08680d0933da78e1be23db88", "categorized_nodes": 571}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
10,459
c
/* -Procedure tpictr_c ( Create a Time Format Picture ) -Abstract Create a time format picture suitable for use by the routine timout_c from a given sample time string. -Disclaimer THIS SOFTWARE AND ANY RELATED MATERIALS WERE CREATED BY THE CALIFORNIA INSTITUTE OF TECHNOLOGY (CALTECH) UNDER A U.S. G...
36.96
258
(translation_unit) "/*\n\n-Procedure tpictr_c ( Create a Time Format Picture )\n\n-Abstract\n\n Create a time format picture suitable for use by the routine\n timout_c from a given sample time string.\n\n-Disclaimer\n\n THIS SOFTWARE AND ANY RELATED MATERIALS WERE CREATED BY THE\n CALIFORNIA INSTITUTE OF TECHNO...
256
0
{"language": "c", "success": true, "metadata": {"lines": 258, "avg_line_length": 36.96, "nodes": 139, "errors": 0, "source_hash": "f3875f0ad87ff6e04c6700c1b38d1f81af1b0dec93590db2ef9abbe6fb0db53d", "categorized_nodes": 98}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
10,460
c
// Copyright (C) 2022. Huawei Technologies Co., Ltd. All rights reserved. // Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), // to deal in the Software without restriction, including without limitation the rights to use,...
35.28
180
(ERROR) "// Copyright (C) 2022. Huawei Technologies Co., Ltd. All rights reserved.\n\n// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"),\n// to deal in the Software without restriction, including without limitation the ri...
1,648
103
{"language": "c", "success": true, "metadata": {"lines": 180, "avg_line_length": 35.28, "nodes": 947, "errors": 0, "source_hash": "1ee412d156c18560a7aff1c9f1f58b9fd0763ba1f4f1491df73c5182180ff38f", "categorized_nodes": 672}, "ast": {"root": "ERROR", "nodes": [{"id": 0, "type": "ERROR", "text": "// Copyright (C) 2022. H...
10,461
c
#include <stdlib.h> #include <string.h> #include <minunit.h> int check_uniq(char** words, int wordsSize, char *str); int unique_mores_representations(char** words, int wordsSize) { if (wordsSize < 1) { return 0; } static char *mores[] = { ".-", "-...", "-.-.", "-..", ".", "..-.", ...
21.13
105
(translation_unit) "#include <stdlib.h>\n#include <string.h>\n#include <minunit.h>\n\nint check_uniq(char** words, int wordsSize, char *str);\n\nint unique_mores_representations(char** words, int wordsSize) {\n if (wordsSize < 1) {\n return 0;\n }\n static char *mores[] = {\n ".-",\n "-...",\n "-.-.",\n ...
778
0
{"language": "c", "success": true, "metadata": {"lines": 105, "avg_line_length": 21.13, "nodes": 412, "errors": 0, "source_hash": "bbfdd40908715177a67bf4cb6b7c6c00762ff5516777b85b101521fff2dd78cf", "categorized_nodes": 260}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
10,462
c
/* * CrissCross * A multi-purpose cross-platform library. * * A product of Uplink Laboratories. * * (c) 2006-2021 <NAME>. * Licensed under the New BSD License. * */ #ifndef __included_cc_cc_attr_h #define __included_cc_cc_attr_h #if defined(__GNUC__) && __GNUC__ >= 3 #define cc_pure __a...
30.84
112
(translation_unit) "/*\n * CrissCross\n * A multi-purpose cross-platform library.\n *\n * A product of Uplink Laboratories.\n *\n * (c) 2006-2021 <NAME>.\n * Licensed under the New BSD License.\n *\n */\n\n#ifndef __included_cc_cc_attr_h\n#define __included_cc_cc_attr_h\n\n#if defined(__GNUC__) && __GNUC__ >=...
428
0
{"language": "c", "success": true, "metadata": {"lines": 112, "avg_line_length": 30.84, "nodes": 370, "errors": 0, "source_hash": "3c052cc68fe958f00599f0b011efcc8baa413622234c1fa50d0a2934c48f6f7b", "categorized_nodes": 207}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
10,463
c
//========= Copyright Valve Corporation, All rights reserved. ============// // // Purpose: // // $NoKeywords: $ //============================================================================= #ifndef FRIENDSGAMES_H #define FRIENDSGAMES_H #ifdef _WIN32 #pragma once #endif //------------------------------------------...
35.1
31
(translation_unit) "//========= Copyright Valve Corporation, All rights reserved. ============//\n//\n// Purpose: \n//\n// $NoKeywords: $\n//=============================================================================\n\n#ifndef FRIENDSGAMES_H\n#define FRIENDSGAMES_H\n#ifdef _WIN32\n#pragma once\n#endif\n\n//---------...
132
5
{"language": "c", "success": true, "metadata": {"lines": 31, "avg_line_length": 35.1, "nodes": 72, "errors": 0, "source_hash": "beb134929d4aa4573d68dee299cde60dda0cacf1c7d1c9e5c27607a56bf7b353", "categorized_nodes": 51}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef F...
10,464
c
#pragma once #include "util/DbgState.h" #include "util/Helper.h" #include "util/PrintDs.h" #include "util/Graph.h"
22
5
(translation_unit) "#pragma once\n#include "util/DbgState.h"\n#include "util/Helper.h"\n#include "util/PrintDs.h"\n#include "util/Graph.h"" (preproc_call) "#pragma once\n" (preproc_directive) "#pragma" (preproc_arg) "once" (preproc_include) "#include "util/DbgState.h"\n" (#include) "#include" (strin...
28
0
{"language": "c", "success": true, "metadata": {"lines": 5, "avg_line_length": 22.0, "nodes": 15, "errors": 0, "source_hash": "35f7a264b7bbc9f0c370a1cbf9c8ab1d6f8f4bffb31f48526371ed4175b4e43f", "categorized_nodes": 13}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma onc...
10,465
c
/** \file HttpdSocket.h */ /* Copyright (C) 2001-2011 <NAME> (<EMAIL>) This library is made available under the terms of the GNU GPL, with the additional exemption that compiling, linking, and/or using OpenSSL is allowed. If you would like to use this library in a closed-source application, a separate license agree...
33.74
91
(translation_unit) "/** \file HttpdSocket.h\n*/\n/*\nCopyright (C) 2001-2011 <NAME> (<EMAIL>)\n\nThis library is made available under the terms of the GNU GPL, with\nthe additional exemption that compiling, linking, and/or using OpenSSL \nis allowed.\n\nIf you would like to use this library in a closed-source applicat...
486
23
{"language": "c", "success": true, "metadata": {"lines": 91, "avg_line_length": 33.74, "nodes": 263, "errors": 0, "source_hash": "e5f89f3dfc15820089fb186f9fb735aad48b9bbe29a5423ffa29d23e1415cafd", "categorized_nodes": 184}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
10,466
c
#pragma once #include <string> #include <vector> #include "Screen.h" #include "Character.h" #include "Tilemap.h" #include "font.h" #include "Label.h" #include "Button.h" #include "Resources.h" #include "Panel.h" #include "TextBox.h" class TestScreen : public Screen { public: TestScreen() {}; virtual void create()...
21.2
41
(translation_unit) "#pragma once\n\n#include <string>\n#include <vector>\n#include "Screen.h"\n#include "Character.h"\n#include "Tilemap.h"\n#include "font.h"\n#include "Label.h"\n#include "Button.h"\n#include "Resources.h"\n#include "Panel.h"\n#include "TextBox.h"\n\n\nclass TestScreen : public Screen\n{\npublic:\n Te...
244
8
{"language": "c", "success": true, "metadata": {"lines": 41, "avg_line_length": 21.2, "nodes": 153, "errors": 0, "source_hash": "1d0dbda93da2681972d265bfcd76a731111aa5b1c1952fd7da006cfce7ee476e", "categorized_nodes": 126}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma ...
10,467
c
#include <stdio.h> #include <stdint.h> extern void __bss_start; extern void _end; void tsgx_debug() { ocall_puts("tsgx_debug\n"); } void tsgx_init() { //uint64_t *addr = &tsgx_init; uint64_t addr = (uint64_t)tsgx_init & 0xfffffffffff00000; uint64_t bcc_start, bcc_end; unsigned access; int i; ...
26.57
46
(translation_unit) "#include <stdio.h>\n#include <stdint.h>\n\nextern void __bss_start;\nextern void _end;\n\nvoid tsgx_debug()\n{\n ocall_puts("tsgx_debug\n");\n}\n\nvoid tsgx_init()\n{\n //uint64_t *addr = &tsgx_init;\n uint64_t addr = (uint64_t)tsgx_init & 0xfffffffffff00000;\n uint64_t bcc_start, bcc_en...
370
0
{"language": "c", "success": true, "metadata": {"lines": 46, "avg_line_length": 26.57, "nodes": 230, "errors": 0, "source_hash": "b38b722d20731a1c85fdda4d4b157fb9d0720451702248fee4d246b451a3a437", "categorized_nodes": 143}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
10,468
c
/* * Copyright 2018 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
37.46
242
(translation_unit) "/*\n * Copyright 2018 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by...
1,343
6
{"language": "c", "success": true, "metadata": {"lines": 242, "avg_line_length": 37.46, "nodes": 724, "errors": 0, "source_hash": "1e5d336827079625ab10c44535ff7c35a965f1570b0bf41e5283ff75f7256e27", "categorized_nodes": 553}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
10,469
c
// Copyright (c) 2018 <NAME> // This code is licensed under MIT license (See LICENSE for details) #ifndef ast_FunctionDeclaration_h #define ast_FunctionDeclaration_h #include "Node.h" #include <string> #include <vector> namespace Sky { class Parameter; class Expression; class FunctionType; class Sta...
28.76
33
(translation_unit) "// Copyright (c) 2018 <NAME>\n// This code is licensed under MIT license (See LICENSE for details)\n\n#ifndef ast_FunctionDeclaration_h\n#define ast_FunctionDeclaration_h\n\n#include "Node.h"\n\n#include <string>\n#include <vector>\n\nnamespace Sky {\n class Parameter;\n class Expression;\n ...
214
9
{"language": "c", "success": true, "metadata": {"lines": 33, "avg_line_length": 28.76, "nodes": 143, "errors": 0, "source_hash": "69eff77a324a879956650c43a233afeb9df8468714b5c3ee6ff665aa7e8b3825", "categorized_nodes": 80}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
10,470
c
#include "common.h" #include "GL/intern.h" GLvoid gl_internal_set_error(GLenum error) { if(error != GL_NO_ERROR) // safety gl_error = error; } GLenum glGetError(GLvoid) // p20 2.5 { GLenum ret = gl_error; gl_error = 0; return ret; }
17.38
13
(translation_unit) "#include "common.h"\n#include "GL/intern.h"\n\nGLvoid gl_internal_set_error(GLenum error)\n{\n if(error != GL_NO_ERROR) // safety\n gl_error = error;\n}\n\nGLenum glGetError(GLvoid) // p20 2.5\n{\n GLenum ret = gl_error;\n gl_error = 0;\n return ret;\n}\n\n" (preproc_include) "#include "common.h"...
72
0
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 17.38, "nodes": 43, "errors": 0, "source_hash": "9ca2af68366eee314e1d10c10e78b085c8ac78a4ba75bc95cd1f1680ff41e6f7", "categorized_nodes": 36}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
10,471
c
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by <NAME>. // #import "NSObject.h" @class NSString; @interface MMKRedirectUrl : NSObject { int _type; NSString *_appid; NSString *_appVersion; NSString *_path; NSString *_btnName;...
37.44
25
(translation_unit) "//\n// Generated by class-dump 3.5 (64 bit).\n//\n// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by <NAME>.\n//\n\n#import "NSObject.h"\n\n@class NSString;\n\n@interface MMKRedirectUrl : NSObject\n{\n int _type;\n NSString *_appid;\n NSString *_appVersion;\n NSStr...
274
22
{"language": "c", "success": true, "metadata": {"lines": 25, "avg_line_length": 37.44, "nodes": 166, "errors": 0, "source_hash": "14a003bc4301bf55e6471cc7b31613f184f11930cf5cd55138c28917ba6899e1", "categorized_nodes": 102}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import...
10,472
c
// // ___FILENAME___ // ___PROJECTNAME___ // // Created by ___FULLUSERNAME___ on ___DATE___. //___COPYRIGHT___ // #include <assert.h> #include "___FILEBASENAMEASIDENTIFIER___.h" #define _Class ____FILEBASENAMEASIDENTIFIER___ #pragma mark - Object /** * @see Object::dealloc(Object *) */ static void dealloc(Obj...
27.78
60
(translation_unit) "//\n// ___FILENAME___\n// ___PROJECTNAME___\n//\n// Created by ___FULLUSERNAME___ on ___DATE___.\n//___COPYRIGHT___\n//\n\n#include <assert.h>\n\n#include "___FILEBASENAMEASIDENTIFIER___.h"\n\n#define _Class ____FILEBASENAMEASIDENTIFIER___\n\n#pragma mark - Object\n\n/**\n * @see Object::dealloc(...
325
2
{"language": "c", "success": true, "metadata": {"lines": 60, "avg_line_length": 27.78, "nodes": 186, "errors": 0, "source_hash": "600ca49e41fde89f3979df738e330b4a21edee4ea04a64367ad599794c0cf2ef", "categorized_nodes": 120}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
10,473
c
//===-- XCoreRegisterInfo.h - XCore Register Information Impl ---*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
40.42
40
(translation_unit) "//===-- XCoreRegisterInfo.h - XCore Register Information Impl ---*- C++ -*-===//\n//\n// The LLVM Compiler Infrastructure\n//\n// This file is distributed under the University of Illinois Open Source\n// License. See LICENSE.TXT for details.\n//\n//===----------------------------...
245
15
{"language": "c", "success": true, "metadata": {"lines": 40, "avg_line_length": 40.42, "nodes": 131, "errors": 0, "source_hash": "8729be0d1570e87a683dd6f5dbefb876d682963ffc21107b1b749fd1f77bb721", "categorized_nodes": 86}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
10,474
c
// ************************************************************* // File: dx_renderer.h // Author: <NAME> @ 2018 // URL: https://github.com/ans-hub/gdm_framework // ************************************************************* #ifndef AH_DX_RENDERER_H #define AH_DX_RENDERER_H #include <map> #include <vector> ...
39.47
105
(translation_unit) "// *************************************************************\n// File: dx_renderer.h\n// Author: <NAME> @ 2018\n// URL: https://github.com/ans-hub/gdm_framework\n// *************************************************************\n\n#ifndef AH_DX_RENDERER_H\n#define AH_DX_RENDERER_H\n\n#inc...
987
48
{"language": "c", "success": true, "metadata": {"lines": 105, "avg_line_length": 39.47, "nodes": 662, "errors": 0, "source_hash": "4b634659e1afa332eb438475c22fb4db29da8218ccc9ef0f5bd6670830e45084", "categorized_nodes": 399}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
10,475
c
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by <NAME>. // #import "NSObject.h" @class NSAttributedString; @interface MPTextInternal : NSObject { NSAttributedString *attributedString; NSAttributedString *nsAttributedString; } @property...
32.31
16
(translation_unit) "//\n// Generated by class-dump 3.5 (64 bit).\n//\n// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by <NAME>.\n//\n\n#import "NSObject.h"\n\n@class NSAttributedString;\n\n@interface MPTextInternal : NSObject\n{\n NSAttributedString *attributedString;\n NSAttributedString ...
91
11
{"language": "c", "success": true, "metadata": {"lines": 16, "avg_line_length": 32.31, "nodes": 56, "errors": 0, "source_hash": "6911dc6b415aa183c52a923e99a06a920f3e5355332ec51ccb16a465f7cac63b", "categorized_nodes": 30}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import \...
10,476
c
// // ViewController.h // TimerDemo // // Created by <NAME> on 2022/4/7. // #import <UIKit/UIKit.h> @interface ViewController : UIViewController @end
14.4
10
(translation_unit) "//\n// ViewController.h\n// TimerDemo\n//\n// Created by <NAME> on 2022/4/7.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface ViewController : UIViewController\n\n\n@end\n\n" (comment) "//" (comment) "// ViewController.h" (comment) "// TimerDemo" (comment) "//" (comment) "// Created by <...
21
4
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 14.4, "nodes": 11, "errors": 0, "source_hash": "9c88f6dfd327110ca4d01d359cdb82fca7706aff71e3fd0f98630bc0113718b8", "categorized_nodes": 5}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <UI...
10,477
c
/* * Self-implemented RFC 2104 */ #ifndef HMAC_H #define HMAC_H #include <stdlib.h> #include <string.h> uint8_t* hmac_pad(uint8_t* input, size_t size, size_t blockSize) { uint8_t* retVal = (uint8_t*) malloc(blockSize); memcpy(retVal, input, size); memset(retVal + size, 0x00, blockSize - size); return ret...
34.78
46
(translation_unit) "/*\n * Self-implemented RFC 2104\n */\n#ifndef HMAC_H\n#define HMAC_H\n\n#include <stdlib.h>\n#include <string.h>\n\nuint8_t* hmac_pad(uint8_t* input, size_t size, size_t blockSize) {\n uint8_t* retVal = (uint8_t*) malloc(blockSize);\n memcpy(retVal, input, size);\n memset(retVal + size, 0x00, bl...
560
0
{"language": "c", "success": true, "metadata": {"lines": 46, "avg_line_length": 34.78, "nodes": 373, "errors": 0, "source_hash": "a9b1476772d3a4657c6fff88d67c492702d494dbe13765553c158739fab367ae", "categorized_nodes": 212}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
10,478
c
/* Framebuffer Graphics Libary for Linux, Copyright 1993 <NAME> */ /* scale.c Scaling routine */ #include <stdlib.h> #include <vga.h> #include "inlstring.h" /* include inline string operations */ #include "vgagl.h" #include "def.h" static inline int muldiv64(float m1, float m2, float d) { return m1 * m2 /...
20.42
189
(translation_unit) "/* Framebuffer Graphics Libary for Linux, Copyright 1993 <NAME> */\n/* scale.c Scaling routine */\n\n\n#include <stdlib.h>\n#include <vga.h>\n#include "inlstring.h" /* include inline string operations */\n\n#include "vgagl.h"\n#include "def.h"\n\nstatic inline int muldiv64(float m1, float m2, ...
1,589
0
{"language": "c", "success": true, "metadata": {"lines": 189, "avg_line_length": 20.42, "nodes": 1091, "errors": 0, "source_hash": "c8f48ba7fb1d0a28e89b8520ca5a0a9b57fd6f9488b73742a53f7c5ffcb27125", "categorized_nodes": 740}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#i...
10,479
c
#pragma once //fast_io_devices.h defines commonly used io devices and their correlated mutex verisons. #include"fast_io_hosted.h" namespace fast_io { using pipe = io_wrapper<system_pipe>; using isystem_file = input_file_wrapper<system_file>; using osystem_file = output_file_wrapper<system_file>; using iosystem_file...
42.28
25
(translation_unit) "#pragma once\n\n//fast_io_devices.h defines commonly used io devices and their correlated mutex verisons.\n#include"fast_io_hosted.h"\n\n\nnamespace fast_io\n{\nusing pipe = io_wrapper<system_pipe>;\n\nusing isystem_file = input_file_wrapper<system_file>;\nusing osystem_file = output_file_wrapper<sy...
277
19
{"language": "c", "success": true, "metadata": {"lines": 25, "avg_line_length": 42.28, "nodes": 226, "errors": 0, "source_hash": "851d21acb4e0c15ef73817abf72e9e63db5b516649556fc1c01db7055dc13e8d", "categorized_nodes": 131}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
10,480
c
#include<stdio.h> int product(int a, int b); int main(){ int a, b, result; printf("Enter 2 number: "); scanf("%d%d",&a,&b); result = product(a,b); printf("Product is %d",result); return 0; } int product(int a, int b){ if (b > a) { return product(b,a); } else if (b!=0) ...
16.61
23
(translation_unit) "#include<stdio.h>\nint product(int a, int b);\nint main(){\n int a, b, result;\n printf("Enter 2 number: ");\n scanf("%d%d",&a,&b);\n result = product(a,b);\n printf("Product is %d",result);\n return 0;\n}\n\nint product(int a, int b){\n if (b > a)\n {\n return product...
180
0
{"language": "c", "success": true, "metadata": {"lines": 23, "avg_line_length": 16.61, "nodes": 97, "errors": 0, "source_hash": "7b98d38fe1258c59f355d42c292716888b9631e8f0c4e4cac0996a8d6f49fc8f", "categorized_nodes": 73}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
10,481
c
#ifndef Viewport_H__ #define Viewport_H__ #include "3d/C3DVector4.h" #include "3d/C3DVector2.h" #include "EnumDef_GL.h" namespace cocos3d { class C3DCamera; class C3DRenderTarget; /** Defines view port. With corner(x, y) and width, height */ class C3DViewport { public: /** * Constructor & Destructor. ...
15.45
42
(translation_unit) "#ifndef Viewport_H__\n#define Viewport_H__\n#include "3d/C3DVector4.h"\n#include "3d/C3DVector2.h"\n\n#include "EnumDef_GL.h"\nnamespace cocos3d\n{ \nclass C3DCamera;\nclass C3DRenderTarget;\n\n/**\nDefines view port.\nWith corner(x, y) and width, height\n*/\nclass C3DViewport\n{\npublic:\n \n /*...
146
6
{"language": "c", "success": true, "metadata": {"lines": 42, "avg_line_length": 15.45, "nodes": 83, "errors": 0, "source_hash": "d0ca07154f4da2ef148c06e7a9139c21410aa664f5aabb04361594d8318edba8", "categorized_nodes": 60}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
10,482
c
#if !defined(AFX_NTGRAPH_H__CF55B0EC_CF41_453C_BFEB_4740927AE8B3__INCLUDED_) #define AFX_NTGRAPH_H__CF55B0EC_CF41_453C_BFEB_4740927AE8B3__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++ // NOTE: Do not modify the con...
30.71
183
(translation_unit) "#if !defined(AFX_NTGRAPH_H__CF55B0EC_CF41_453C_BFEB_4740927AE8B3__INCLUDED_)\n#define AFX_NTGRAPH_H__CF55B0EC_CF41_453C_BFEB_4740927AE8B3__INCLUDED_\n\n#if _MSC_VER > 1000\n#pragma once\n#endif // _MSC_VER > 1000\n// Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++\n\n//...
1,687
15
{"language": "c", "success": true, "metadata": {"lines": 183, "avg_line_length": 30.71, "nodes": 1135, "errors": 0, "source_hash": "f25ad5e28565d56513ab1d51927cc0d244fa0630ca7e679f6257fa6ce18e744c", "categorized_nodes": 750}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_if", "text": "#if !de...
10,483
c
/* Copyright 2020 <COPYRIGHT HOLDER> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, ...
34.41
181
(translation_unit) "/*\nCopyright 2020 <COPYRIGHT HOLDER>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge...
754
0
{"language": "c", "success": true, "metadata": {"lines": 181, "avg_line_length": 34.41, "nodes": 565, "errors": 0, "source_hash": "5444fb284d21ebaa2ac6cb46729ee533498c77b5c2c7c2fc477644e1c137e642", "categorized_nodes": 316}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "type_definition", "text": "typ...
10,484
c
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by <NAME>. // #import "GPUImageFilterGroup.h" @class NSArray, _TTNLMeansMaskFilter, _TTNLMeansMixFilter; @interface TTNLMeansDenoiseFilter : GPUImageFilterGroup { int _denoiseLevel; double _b...
36.7
23
(translation_unit) "//\n// Generated by class-dump 3.5 (64 bit).\n//\n// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by <NAME>.\n//\n\n#import "GPUImageFilterGroup.h"\n\n@class NSArray, _TTNLMeansMaskFilter, _TTNLMeansMixFilter;\n\n@interface TTNLMeansDenoiseFilter : GPUImageFilterGroup\n{\n ...
170
18
{"language": "c", "success": true, "metadata": {"lines": 23, "avg_line_length": 36.7, "nodes": 106, "errors": 0, "source_hash": "bc351fb25932d755eacfb6c2d3ba6fba5b24a6d560fef75132cac4a1285c4844", "categorized_nodes": 61}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import \...
10,485
c
/* Generated by RuntimeBrowser Image: /System/Library/PrivateFrameworks/NewsUI.framework/NewsUI */ @interface NULayoutContextSizer : NSObject { NSArray * _attributes; <NUSizer> * _sizer; } @property (nonatomic, readonly) NSArray *attributes; @property (nonatomic, retain) <NUSizer> *sizer; - (void).cxx_de...
28.24
17
(translation_unit) "/* Generated by RuntimeBrowser\n Image: /System/Library/PrivateFrameworks/NewsUI.framework/NewsUI\n */\n\n@interface NULayoutContextSizer : NSObject {\n NSArray * _attributes;\n <NUSizer> * _sizer;\n}\n\n@property (nonatomic, readonly) NSArray *attributes;\n@property (nonatomic, retain) <NUS...
167
15
{"language": "c", "success": true, "metadata": {"lines": 17, "avg_line_length": 28.24, "nodes": 105, "errors": 0, "source_hash": "2590468c0a31744bfe0aa9d785a612f2a8f262a2788c85c0fdbd4caeaad06588", "categorized_nodes": 62}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "@interface NULa...
10,486
c
#ifndef RESOURCEMANAGER_H #define RESOURCEMANAGER_H #include "resource.h" #include "ResourcePool.h" #include "../core/Material.h" #include <string> #include <utility> // Forward declaration of returned types class GLSLProgram; class GLSLObject; //class Material; class Texture; class Tile; class Geometry; /// Create...
32.33
42
(translation_unit) "#ifndef RESOURCEMANAGER_H\n#define RESOURCEMANAGER_H\n\n#include "resource.h"\n#include "ResourcePool.h"\n#include "../core/Material.h"\n\n#include <string>\n#include <utility>\n\n// Forward declaration of returned types\nclass GLSLProgram;\nclass GLSLObject;\n//class Material;\nclass Texture;\nclas...
372
16
{"language": "c", "success": true, "metadata": {"lines": 42, "avg_line_length": 32.33, "nodes": 235, "errors": 0, "source_hash": "08a179a154224f6e750d45285f62c8943b8e19a1f2c237e668dc96e6a9dc4cd3", "categorized_nodes": 165}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
10,487
c
#ifndef _SHARED_OBJECTS_ #define _SHARED_OBJECTS_ #include "game_constants.h" #include "types.h" // // Constants // #define PAUSED 1 #define UNPAUSED 0 // // Globals // extern uint8 paused; // // Declarations // extern uint16 currentFB; #endif
10.23
26
(translation_unit) "#ifndef _SHARED_OBJECTS_ \n#define _SHARED_OBJECTS_ \n \n#include "game_constants.h" \n#include "types.h" \n// \n// Constants \n// \n#define PAUSED 1 \n#define UNPAUSED 0 \n \n \n // \n // Globals \n // \n extern uint8 paused; \n \n \n // \n // Declarations \n // \n \n extern uint16 currentFB; ...
49
0
{"language": "c", "success": true, "metadata": {"lines": 26, "avg_line_length": 10.23, "nodes": 31, "errors": 0, "source_hash": "1ac6e8a8ddc212b06ba7d00a2f307a33e99218e241b9a4e8228828c60b509350", "categorized_nodes": 21}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
10,488
c
/* * Copyright 2014 Google Inc. 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/LITENSE-2.0 * * Unless required by applica...
38.73
117
(ERROR) "/*\n * Copyright 2014 Google Inc. 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.apache.org/licenses/LITENSE-2.0\n *\n * Unless r...
1,100
57
{"language": "c", "success": true, "metadata": {"lines": 117, "avg_line_length": 38.73, "nodes": 687, "errors": 0, "source_hash": "049a0f7d3f613a1e433c2b5f08e947ee09039f7f2fcdeeeac51527b95114f2fb", "categorized_nodes": 470}, "ast": {"root": "ERROR", "nodes": [{"id": 0, "type": "ERROR", "text": "/*\n * Copyright 2014 Go...
10,489
c
#pragma once /* * Copyright 2016 Nu-book Inc. * Copyright 2016 ZXing 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless req...
27.21
53
(translation_unit) "#pragma once\n/*\n* Copyright 2016 Nu-book Inc.\n* Copyright 2016 ZXing 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* http://www.apache.org/licens...
205
9
{"language": "c", "success": true, "metadata": {"lines": 53, "avg_line_length": 27.21, "nodes": 114, "errors": 0, "source_hash": "604b2426ff58df3329a35a0d0e752516382b9f0c34ff3adbfd9d01676a5cca28", "categorized_nodes": 72}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma ...
10,490
c
// // MTCustomModal.h // MT_waimai008 // // Created by HM on 16/9/8. // Copyright © 2016年 itheima. All rights reserved. // #import <UIKit/UIKit.h> @interface MTCustomModal : NSObject <UIViewControllerTransitioningDelegate> @end
22.2
10
(translation_unit) "//\n// MTCustomModal.h\n// MT_waimai008\n//\n// Created by HM on 16/9/8.\n// Copyright © 2016年 itheima. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface MTCustomModal : NSObject <UIViewControllerTransitioningDelegate>\n\n@end\n" (comment) "//" (comment) "// MTCustomModal.h"...
25
4
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 22.2, "nodes": 15, "errors": 0, "source_hash": "f95a260bf7f583a589988ec4a6120733812eccc7a6aa1c2514df8131399f0a07", "categorized_nodes": 7}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "port <UIKit...
10,491
c
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by <NAME>. // #import "NSFileWrapper.h" #import "NSSecureCoding.h" @class NSString, NSURL; @interface ICLegacyAttachmentFileWrapper : NSFileWrapper <NSSecureCoding> { NSURL *_cidURL; } + (BOOL)...
28.9
20
(translation_unit) "//\n// Generated by class-dump 3.5 (64 bit).\n//\n// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by <NAME>.\n//\n\n#import "NSFileWrapper.h"\n\n#import "NSSecureCoding.h"\n\n@class NSString, NSURL;\n\n@interface ICLegacyAttachmentFileWrapper : NSFileWrapper <NSSecureCoding>\n...
152
15
{"language": "c", "success": true, "metadata": {"lines": 20, "avg_line_length": 28.9, "nodes": 91, "errors": 0, "source_hash": "06725f318f28bda05dd7ecf4b7a92f88146485b3702ac8d943768b3245c51a48", "categorized_nodes": 51}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import \"...
10,492
c
#include <stdbool.h> #include "pid.h" #include "util.h" #include "config.h" #include "defines.h" #define APIDNUMBER 3 // ANGLE PIDS // yaw is done by the rate yaw pid // Kp ROLL PITCH YAW float apidkp[APIDNUMBER] = { 2.2e-2, 2.2e-2, 0e-1 }; // Ki ...
23.46
54
(translation_unit) "#include <stdbool.h>\n#include "pid.h"\n#include "util.h"\n#include "config.h"\n#include "defines.h"\n\n#define APIDNUMBER 3\n\n// ANGLE PIDS\n// yaw is done by the rate yaw pid\n// Kp ROLL PITCH YAW\nfloat apidkp[APIDNUMBER] = { 2.2e-2, 2.2e-2,...
386
0
{"language": "c", "success": true, "metadata": {"lines": 54, "avg_line_length": 23.46, "nodes": 230, "errors": 0, "source_hash": "e1a80b721509b61b69c843e23fda164ab513d379a97ec3b4d437fd099c3f9ece", "categorized_nodes": 166}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
10,493
c
/* * Copyright (C) 2015-2019 Alibaba Group Holding Limited */ #ifndef BE_ADDON_H #define BE_ADDON_H #include "be.h" void module_builtin_load(void); void module_process_load(void); void module_wifi_register(void); /* * JS MQTT Class * * API: * MQTT.start(config, callback) * MQTT.subscribe("reply", function(mes...
24.57
37
(translation_unit) "/*\n * Copyright (C) 2015-2019 Alibaba Group Holding Limited\n */\n\n#ifndef BE_ADDON_H\n#define BE_ADDON_H\n\n#include "be.h"\n\nvoid module_builtin_load(void);\nvoid module_process_load(void);\nvoid module_wifi_register(void);\n/*\n * JS MQTT Class\n *\n * API:\n * MQTT.start(config, callback)\n *...
207
0
{"language": "c", "success": true, "metadata": {"lines": 37, "avg_line_length": 24.57, "nodes": 143, "errors": 0, "source_hash": "d2d7a28de8910ee081d6857c384ec9526719d4f8ee065d7bc349c31d5e977bf5", "categorized_nodes": 84}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
10,494
c
// Copyright information and license terms for this software can be // found in the file LICENSE that is included with the distribution #ifndef PVA_EXCEPTION_TRANSLATOR_H #define PVA_EXCEPTION_TRANSLATOR_H #include <map> #include "PvaException.h" #include "boost/python/object.hpp" class PvaExceptionTranslator { pub...
33.56
16
(translation_unit) "// Copyright information and license terms for this software can be\n// found in the file LICENSE that is included with the distribution\n\n#ifndef PVA_EXCEPTION_TRANSLATOR_H\n#define PVA_EXCEPTION_TRANSLATOR_H\n\n#include <map>\n#include "PvaException.h"\n#include "boost/python/object.hpp"\n\nclass...
107
4
{"language": "c", "success": true, "metadata": {"lines": 16, "avg_line_length": 33.56, "nodes": 62, "errors": 0, "source_hash": "f9a16a23ebf40f9a0fb0b5a3a58f9ba874eb1bdeb9f4b6261668c756a3179a39", "categorized_nodes": 41}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
10,495
c
/********************************************************************************* * FileName: list_node.h * Author: <NAME> * Version: V1.00 * Description: The header file for the class ListNode * Project: The Data Structures - SkipList Dictionary * Reference: THU Data S...
25.06
65
(translation_unit) "/*********************************************************************************\n\n * FileName: list_node.h\n * Author: <NAME>\n * Version: V1.00\n * Description: The header file for the class ListNode\n * Project: The Data Structures - SkipList Dictionary\n *...
448
24
{"language": "c", "success": true, "metadata": {"lines": 65, "avg_line_length": 25.06, "nodes": 325, "errors": 0, "source_hash": "f7fa7d3afd2b83473c566eb7cd67ac2b461e455c935bbc732b1110d5891de996", "categorized_nodes": 206}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
10,496
c
// DOM-IGNORE-BEGIN /******************************************************************************* Copyright 2015 Microchip Technology Inc. (www.microchip.com) 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...
40.7
237
(translation_unit) "// DOM-IGNORE-BEGIN\n/*******************************************************************************\nCopyright 2015 Microchip Technology Inc. (www.microchip.com)\n\nLicensed under the Apache License, Version 2.0 (the "License");\nyou may not use this file except in compliance with the License.\nYo...
223
0
{"language": "c", "success": true, "metadata": {"lines": 237, "avg_line_length": 40.7, "nodes": 156, "errors": 0, "source_hash": "aaba147d2166d191bbc72aef2e8402c5598693756510197d79b911bd87470eae", "categorized_nodes": 73}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
10,497
c
/******************************************************************************* Copyright (c) 2010, <NAME>, Inc. All rights reserved. This code is subject to the Google C++ Coding conventions: http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml ******************************************...
34.31
39
(translation_unit) "/*******************************************************************************\n Copyright (c) 2010, <NAME>, Inc.\n All rights reserved.\n This code is subject to the Google C++ Coding conventions:\n http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml\n *****************...
277
4
{"language": "c", "success": true, "metadata": {"lines": 39, "avg_line_length": 34.31, "nodes": 194, "errors": 0, "source_hash": "f835f22e544b201cfba5a023bcfb552dc777e3d9fef08f594313680040b6fac9", "categorized_nodes": 118}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
10,498
c
#include <Windows.h> #include "d3dx12.h"
19.5
2
(translation_unit) "#include <Windows.h>\n#include "d3dx12.h"\n" (preproc_include) "#include <Windows.h>\n" (#include) "#include" (system_lib_string) "<Windows.h>" (preproc_include) "#include "d3dx12.h"\n" (#include) "#include" (string_literal) ""d3dx12.h"" (") """ (string_content) "d3dx...
10
0
{"language": "c", "success": true, "metadata": {"lines": 2, "avg_line_length": 19.5, "nodes": 6, "errors": 0, "source_hash": "8d2559e33fd5e33256b944f9d94f785f7fde1b6f24c54ee08cf976e11b619d2b", "categorized_nodes": 6}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#include <...
10,499