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
/* * POK header * * The following file is a part of the POK project. Any modification should * made according to the POK licence. You CANNOT use this file or a part of * this file is this part of a file for your own project * * For more information on the POK licence, please see ou...
32.15
109
(translation_unit) "/*\n * POK header\n * \n * The following file is a part of the POK project. Any modification should\n * made according to the POK licence. You CANNOT use this file or a part of\n * this file is this part of a file for your own project\n *\n * For more information on the...
366
0
{"language": "c", "success": true, "metadata": {"lines": 109, "avg_line_length": 32.15, "nodes": 222, "errors": 0, "source_hash": "b976d1c47e9c4da2211ba2d5d8b8878baf19e2fc087dc65bced66b9aa96d1d22", "categorized_nodes": 160}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
5,000
c
/* The purpose of this code is to demonstrate the capabilities of the monster model generator of selfie. Monster translates the code to an SMT-LIB or BTOR2 formula that is satisfiable if and only if the code exits with a non-zero exit code, or performs division by zero or invalid/unsafe memory accesses. Input != #b001...
24.55
20
(translation_unit) "/*\nThe purpose of this code is to demonstrate the capabilities\nof the monster model generator of selfie. Monster translates\nthe code to an SMT-LIB or BTOR2 formula that is satisfiable\nif and only if the code exits with a non-zero exit code, or\nperforms division by zero or invalid/unsafe memory ...
92
0
{"language": "c", "success": true, "metadata": {"lines": 20, "avg_line_length": 24.55, "nodes": 58, "errors": 0, "source_hash": "77a2fd4291120dd4a98a1e01db6fa6e6164fc5f8183c750210ced730e57107bf", "categorized_nodes": 40}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "function_definition", "text": "ui...
5,001
c
/* There is no need to modify this C program file for CSC389 projects. */ /* ------------------- semshm.c ---------------------------- */ /* Semaphore and shared memory routines -------------------- */ #define BADADDR (char *)(-1) /* used in getting shared memeory */ void syserr(); /* print error messages ...
35.93
86
(translation_unit) "/* There is no need to modify this C program file for CSC389 projects. */\n\n/* ------------------- semshm.c ---------------------------- */\n/* Semaphore and shared memory routines -------------------- */\n\n#define BADADDR (char *)(-1) /* used in getting shared memeory */ \n\nvoid syserr(); ...
619
0
{"language": "c", "success": true, "metadata": {"lines": 86, "avg_line_length": 35.93, "nodes": 362, "errors": 0, "source_hash": "2b53303aeb4e66bb9da4ec1bf9d6fa9181da8d652702b687aba6bd822a27869a", "categorized_nodes": 260}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_def", "text": "#define ...
5,002
c
#pragma once #include <string> #include <compare> struct VersionHelper { VersionHelper(std::string str); VersionHelper(const size_t major, const size_t minor, const size_t revision); auto operator<=>(const VersionHelper&) const = default; size_t major; size_t minor; size_t revision; std...
25.69
13
(translation_unit) "#pragma once\n\n#include <string>\n#include <compare>\n\nstruct VersionHelper\n{\n VersionHelper(std::string str);\n VersionHelper(const size_t major, const size_t minor, const size_t revision);\n\n auto operator<=>(const VersionHelper&) const = default;\n\n size_t major;\n size_t min...
99
5
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 25.69, "nodes": 60, "errors": 0, "source_hash": "19cf04a8592d10516812304180e2f6a2f65d74a3547df2eed59abc7dc614e2a9", "categorized_nodes": 39}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
5,003
c
#pragma once #ifndef INC_MCORE_H #define INC_MCORE_H #include <System/CSingleton.h> #include <string> #include <vector> #include <map> #include <unordered_map> #include <functional> #include <boost/any.hpp> using std::string; using std::vector; using std::map; using std::multimap; using std::unordered_map; using st...
24.49
86
(translation_unit) "#pragma once\n#ifndef INC_MCORE_H\n#define INC_MCORE_H\n\n\n#include <System/CSingleton.h>\n\n#include <string>\n#include <vector>\n#include <map>\n#include <unordered_map>\n#include <functional>\n#include <boost/any.hpp>\n\nusing std::string;\nusing std::vector;\nusing std::map;\nusing std::multima...
651
26
{"language": "c", "success": true, "metadata": {"lines": 86, "avg_line_length": 24.49, "nodes": 422, "errors": 0, "source_hash": "0feecf1b04ffeff970524774c0676001c7d2e63e0fc7483b7af45352cc945aff", "categorized_nodes": 291}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
5,004
c
/* GStreamer * Copyright (C) <1999> <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. * ...
32.1
72
(translation_unit) "/* GStreamer\n * Copyright (C) <1999> <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...
236
0
{"language": "c", "success": true, "metadata": {"lines": 72, "avg_line_length": 32.1, "nodes": 170, "errors": 0, "source_hash": "4f6c7d1367b39fa677fc1ab779c31d2c138f68ef034e8d08f713647c562fdd13", "categorized_nodes": 128}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
5,005
c
#pragma once namespace k3d { class IWindow; class RendererFactory { public: ~RendererFactory(); /*static IRenderer * SetUpRenderer(const char *, IWindow *);*/ private: RendererFactory(); }; }
15.08
13
(translation_unit) "#pragma once\n\nnamespace k3d {\n\n class IWindow;\n\n class RendererFactory {\n public:\n \n ~RendererFactory();\n\n /*static IRenderer * SetUpRenderer(const char *, IWindow *);*/\n\n private:\n RendererFactory();\n \n };\n\n}" (preproc_call) "#pragma once\n" (preproc_directive) "#pragma...
45
0
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 15.08, "nodes": 20, "errors": 0, "source_hash": "54aee830efeb358a426b20228c8169869384ce1d2f927b131a3611440f006aa2", "categorized_nodes": 13}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
5,006
c
#ifndef FS_MEMORY_UTILS_H #define FS_MEMORY_UTILS_H #ifndef WINDOWS #include <unistd.h> #endif #include <sys/mman.h> #ifndef MAP_ANONYMOUS #define MAP_ANONYMOUS MAP_ANON #endif #include <boost/format.hpp> #include "fscore/types.h" #include "fscore/platforms.h" namespace fs { namespace pointerUtil { ...
33.58
50
(translation_unit) "#ifndef FS_MEMORY_UTILS_H\n#define FS_MEMORY_UTILS_H\n\n#ifndef WINDOWS\n #include <unistd.h>\n#endif\n\n#include <sys/mman.h>\n\n#ifndef MAP_ANONYMOUS\n#define MAP_ANONYMOUS MAP_ANON\n#endif\n\n#include <boost/format.hpp>\n\n#include "fscore/types.h"\n#include "fscore/platforms.h"\n\nnamespace f...
295
4
{"language": "c", "success": true, "metadata": {"lines": 50, "avg_line_length": 33.58, "nodes": 202, "errors": 0, "source_hash": "6381cf45c4351e7a57300b23941d2a142ab4adce62e0b7835c844bb3aacf6438", "categorized_nodes": 136}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
5,007
c
// // ContactsService.h // BeepSendSDK // // Created by <NAME> on 6/25/14. // Copyright (c) 2014 BeepSend. All rights reserved. // #import "BSBaseService.h" #import "BSContact.h" #import "BSGroup.h" #import "BSError.h" @interface BSContactsService : BSBaseService - (void)getAllContactsWithCompletionBlock:(void(...
40.59
34
(ERROR) "//\n// ContactsService.h\n// BeepSendSDK\n//\n// Created by <NAME> on 6/25/14.\n// Copyright (c) 2014 BeepSend. All rights reserved.\n//\n\n#import "BSBaseService.h"\n\n#import "BSContact.h"\n#import "BSGroup.h"\n#import "BSError.h"\n\n@interface BSContactsService : BSBaseService\n\n- (void)getAllContactsW...
321
8
{"language": "c", "success": true, "metadata": {"lines": 34, "avg_line_length": 40.59, "nodes": 183, "errors": 0, "source_hash": "acc92a09b5d8e3672dc2ea0673448a89811c7265350e9fc9b8a86dd4adf7451e", "categorized_nodes": 106}, "ast": {"root": "ERROR", "nodes": [{"id": 0, "type": "ERROR", "text": "//\n// ContactsService.h...
5,008
c
// // _CT_OMP_TARGET_H // // Copyright (C) 2017-2021 Tactical Computing Laboratories, LLC // All Rights Reserved // <EMAIL> // // See LICENSE in the top level directory for licensing details // /** * \class CT_OMP_TARGET * * \ingroup CircusTent * * \brief CircusTent OpenMP Target Implementation * */ #ifdef _EN...
31.15
141
(translation_unit) "//\n// _CT_OMP_TARGET_H\n//\n// Copyright (C) 2017-2021 Tactical Computing Laboratories, LLC\n// All Rights Reserved\n// <EMAIL>\n//\n// See LICENSE in the top level directory for licensing details\n//\n\n/**\n * \class CT_OMP_TARGET\n *\n * \ingroup CircusTent\n *\n * \brief CircusTent OpenMP Targe...
672
6
{"language": "c", "success": true, "metadata": {"lines": 141, "avg_line_length": 31.15, "nodes": 466, "errors": 0, "source_hash": "d39de8e0e76e00e11d586fc230b9977a389d6730f62c023863c4f9bc7a2b3910", "categorized_nodes": 268}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifde...
5,009
c
// // QSTwitterUtil.h // QSTwitter // // Created by <NAME> on 23/03/2013. // // #import <Foundation/Foundation.h> @class GTMOAuthAuthentication; @class QSTwitterPrefPane; @interface QSTwitterUtil : NSObject { GTMOAuthAuthentication *authentication; QSTwitterPrefPane *prefPane; } @property (retain) QSTwit...
24.96
24
(translation_unit) "//\n// QSTwitterUtil.h\n// QSTwitter\n//\n// Created by <NAME> on 23/03/2013.\n//\n//\n\n#import <Foundation/Foundation.h>\n\n@class GTMOAuthAuthentication;\n@class QSTwitterPrefPane;\n\n@interface QSTwitterUtil : NSObject {\n GTMOAuthAuthentication *authentication;\n QSTwitterPrefPane *pre...
182
19
{"language": "c", "success": true, "metadata": {"lines": 24, "avg_line_length": 24.96, "nodes": 114, "errors": 0, "source_hash": "3c9b964d17284987171396df6b312579f1428a59e462b614ae2590643a79b106", "categorized_nodes": 64}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import ...
5,010
c
// // Generated by classdumpios 1.0.1 (64 bit) (iOS port by DreamDevLost)(Debug version compiled Sep 26 2020 13:48:20). // // Copyright (C) 1997-2019 <NAME>. // #import <objc/NSObject.h> @class MISSING_TYPE; @interface _TtC13FTMInternal_413DashboardItem : NSObject { MISSING_TYPE *groupTitle; // 8 = 0x8 ...
36.78
23
(translation_unit) "//\n// Generated by classdumpios 1.0.1 (64 bit) (iOS port by DreamDevLost)(Debug version compiled Sep 26 2020 13:48:20).\n//\n// Copyright (C) 1997-2019 <NAME>.\n//\n\n#import <objc/NSObject.h>\n\n@class MISSING_TYPE;\n\n@interface _TtC13FTMInternal_413DashboardItem : NSObject\n{\n MISSING_T...
159
11
{"language": "c", "success": true, "metadata": {"lines": 23, "avg_line_length": 36.78, "nodes": 91, "errors": 0, "source_hash": "224a33bfc6534dbef8704ef4f55c4c35fa16b083a6e15e11124067cd5363d0d7", "categorized_nodes": 52}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <...
5,011
c
// // ScriptAnalyser.h // Platypus // // Created by <NAME> on 8/30/10. // Copyright 2010 <NAME>. All rights reserved. // #import <Cocoa/Cocoa.h> #import "Common.h" @interface ScriptAnalyser : NSObject { } + (NSArray *)interpreters; + (NSArray *)interpreterDisplayNames; + (NSDictionary *)interpreterHelloWorlds; ...
33.78
23
(ERROR) "//\n// ScriptAnalyser.h\n// Platypus\n//\n// Created by <NAME> on 8/30/10.\n// Copyright 2010 <NAME>. All rights reserved.\n//\n\n#import <Cocoa/Cocoa.h>\n#import "Common.h"\n\n@interface ScriptAnalyser : NSObject \n{\n\n}\n+ (NSArray *)interpreters;\n+ (NSArray *)interpreterDisplayNames;\n+ (NSDictionary ...
219
27
{"language": "c", "success": true, "metadata": {"lines": 23, "avg_line_length": 33.78, "nodes": 129, "errors": 0, "source_hash": "ba1c651c7171325428024583a69471360404d71568f9e8ee451916c3899bd4cd", "categorized_nodes": 71}, "ast": {"root": "ERROR", "nodes": [{"id": 0, "type": "ERROR", "text": "//\n// ScriptAnalyser.h\n...
5,012
c
/* * fzy.c */ #include "postgres.h" #include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #include <sys/stat.h> #include <unistd.h> #include "funcapi.h" #include "fzy_native/src/match.c" #ifndef unlikely #define unlikely(x) __builtin_expect((x), 0) #endif PG_MODULE_MAG...
22.58
33
(translation_unit) "/*\n * fzy.c\n */\n\n#include "postgres.h"\n\n#include <stdint.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include <math.h>\n#include <sys/stat.h>\n#include <unistd.h>\n\n#include "funcapi.h"\n#include "fzy_native/src/match.c"\n\n#ifndef unlikely\n#define unlikely(x) __builtin...
208
0
{"language": "c", "success": true, "metadata": {"lines": 33, "avg_line_length": 22.58, "nodes": 133, "errors": 0, "source_hash": "f76e9735c2401e8f6d097eda829a0108b35d6b0ef3261add68ecfd8efbeb4552", "categorized_nodes": 100}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
5,013
c
/*! In each of these functions, important tests are: (1) errno is not set (error is unhandled), (2) $me is NULL (big error!), and (3) $num * $size is valid, */ #include <assert.h> #include <errno.h> #include <stddef.h> #include <stdlib.h> #include <string.h> #include "common/common.h" #include "mem/mem.h"...
34.21
128
(translation_unit) "/*! In each of these functions, important tests are:\n (1) errno is not set (error is unhandled),\n (2) $me is NULL (big error!), and\n (3) $num * $size is valid,\n*/\n\n#include <assert.h>\n#include <errno.h>\n#include <stddef.h>\n#include <stdlib.h>\n#include <string.h>\n\n#include "commo...
1,132
0
{"language": "c", "success": true, "metadata": {"lines": 128, "avg_line_length": 34.21, "nodes": 714, "errors": 0, "source_hash": "16a1d838ddb03e48fabe129c2b5104bd85adbfa5e9ba61fc8310ba116e9c779e", "categorized_nodes": 455}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
5,014
c
// // CollageView.h // VideoEditor2 // // Created by Alexander on 9/11/15. // Copyright (c) 2015 Onix-Systems. All rights reserved. // #import <Foundation/Foundation.h> #import <UIKit/UIKit.h> #import "CollageLayout.h" #import "AssetsCollection.h" @class CollageLayoutView; @protocol CollageLayoutViewDelegate -(...
31
21
(translation_unit) "//\n// CollageView.h\n// VideoEditor2\n//\n// Created by Alexander on 9/11/15.\n// Copyright (c) 2015 Onix-Systems. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n#import <UIKit/UIKit.h>\n\n#import "CollageLayout.h"\n#import "AssetsCollection.h"\n\n@class CollageLayoutView;\n@pro...
111
15
{"language": "c", "success": true, "metadata": {"lines": 21, "avg_line_length": 31.0, "nodes": 72, "errors": 0, "source_hash": "7a0dfded5368a88f1c93d06388463e83dd13f993bdc2d13fa75028e977c3609a", "categorized_nodes": 40}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <F...
5,015
c
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved. #pragma once #include "CoreMinimal.h" #include "UObject/ObjectMacros.h" #include "UObject/Object.h" #include "Layer.generated.h" USTRUCT() struct FLayerActorStats { GENERATED_USTRUCT_BODY() /** A Type of Actor currently associated with the Layer */ UPR...
22.64
39
(translation_unit) "// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.\n\n#pragma once\n\n#include "CoreMinimal.h"\n#include "UObject/ObjectMacros.h"\n#include "UObject/Object.h"\n#include "Layer.generated.h"\n\nUSTRUCT()\nstruct FLayerActorStats\n{\n GENERATED_USTRUCT_BODY()\n\n /** A Type of Actor currently...
160
8
{"language": "c", "success": true, "metadata": {"lines": 39, "avg_line_length": 22.64, "nodes": 91, "errors": 0, "source_hash": "2202075cbba29090ada670ae6c2a29d0c7acbf40f9a7f734712fdc6580c664c6", "categorized_nodes": 61}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
5,016
c
#pragma once // Qt. #include <QObject> #include <QStatusBar> // Forward declarations. class QAction; class QMenu; class rgBuildView; class rgMainWindow; class rgSettingsTab; class rgStartTab; // The rgAppState object allows a project with a specific mode to interface with the main window. class rgAppState : public Q...
43.09
78
(translation_unit) "#pragma once\n\n// Qt.\n#include <QObject>\n#include <QStatusBar>\n\n// Forward declarations.\nclass QAction;\nclass QMenu;\nclass rgBuildView;\nclass rgMainWindow;\nclass rgSettingsTab;\nclass rgStartTab;\n\n// The rgAppState object allows a project with a specific mode to interface with the main w...
498
26
{"language": "c", "success": true, "metadata": {"lines": 78, "avg_line_length": 43.09, "nodes": 333, "errors": 0, "source_hash": "08566a2192c11a3bf766fcd2b7b73cee170ade77b5573afed13f74ab12e0bee7", "categorized_nodes": 200}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
5,017
c
/* * Copyright (c) 2018 HELIOS Software GmbH * 30827 Garbsen (Hannover) Germany * Licensed under the Apache License, Version 2.0 */ #import <UserNotifications/UserNotifications.h> @interface NotificationService : UNNotificationServiceExtension @end
30.62
8
(translation_unit) "/*\n * Copyright (c) 2018 HELIOS Software GmbH\n * 30827 Garbsen (Hannover) Germany\n * Licensed under the Apache License, Version 2.0\n */\n\n#import <UserNotifications/UserNotifications.h>\n\n@interface NotificationService : UNNotificationServiceExtension\n\n@end\n" (comment) "/*\n * Copyright (...
16
4
{"language": "c", "success": true, "metadata": {"lines": 8, "avg_line_length": 30.62, "nodes": 11, "errors": 0, "source_hash": "3f39f35414fe7f9634ebe71e7ad8d5abef5571631ca6685aa9b888027194dd5b", "categorized_nodes": 5}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <Us...
5,018
c
// test.c #include <stdio.h> #include <stdlib.h> #include "dict.h" int main (int argc, char *argv[]) { printf("\n\nbegin tests\n"); dict *d = dict_new(); dict_set(d, "hello", "world"); dict_set(d, "foo", "4"); printf("\n getting things...\n"); char *world = dict_get(d, "hello"); prin...
31.38
60
(translation_unit) "// test.c\n\n#include <stdio.h>\n#include <stdlib.h>\n\n#include "dict.h"\n\nint main (int argc, char *argv[])\n{\n printf("\n\nbegin tests\n");\n\n dict *d = dict_new();\n dict_set(d, "hello", "world");\n dict_set(d, "foo", "4");\n\n printf("\n getting things...\n");\n\n char *wo...
827
0
{"language": "c", "success": true, "metadata": {"lines": 60, "avg_line_length": 31.38, "nodes": 431, "errors": 0, "source_hash": "f7fc1922206b575a4407564b5b6653add8ce47bf29c6dfe35b1193f9670e314d", "categorized_nodes": 271}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
5,019
c
// license:BSD-3-Clause // copyright-holders:<NAME> /************************************************************************* Atari Shuuz hardware *************************************************************************/ #ifndef MAME_INCLUDES_SHUUZ_H #define MAME_INCLUDES_SHUUZ_H #pragma once #include "machin...
33.27
33
(translation_unit) "// license:BSD-3-Clause\n// copyright-holders:<NAME>\n/*************************************************************************\n\n Atari Shuuz hardware\n\n*************************************************************************/\n#ifndef MAME_INCLUDES_SHUUZ_H\n#define MAME_INCLUDES_SHUUZ_H\n\n...
236
15
{"language": "c", "success": true, "metadata": {"lines": 33, "avg_line_length": 33.27, "nodes": 133, "errors": 0, "source_hash": "3f38cd1f92043402c72c73526878fc0aad626686f9aec28e8a422550602c07f7", "categorized_nodes": 97}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
5,020
c
#include <stdio.h> #include <ctype.h> #include "../libft.h" int main() { int var1 = 'h'; int var2 = '2'; if( isdigit(var1) ) { printf("var1 = |%c| is a digit\n", var1 ); } else { printf("var1 = |%c| is not a digit\n", var1 ); } if( isdigit(var2) ) { printf("var2 = |%c| is a digit\n", var2 ); } else { printf("var2 = |%...
13.56
25
(translation_unit) "#include <stdio.h>\n#include <ctype.h>\n#include "../libft.h"\n\nint main()\n{\nint var1 = 'h';\nint var2 = '2';\nif( isdigit(var1) )\n{\nprintf("var1 = |%c| is a digit\n", var1 );\n}\nelse\n{\nprintf("var1 = |%c| is not a digit\n", var1 );\n}\nif( isdigit(var2) )\n{\nprintf("var2 = |%c| is a digit\...
144
0
{"language": "c", "success": true, "metadata": {"lines": 25, "avg_line_length": 13.56, "nodes": 73, "errors": 0, "source_hash": "62a61c354c01b2201ee2270a5b8656fe88b3589793b5e9634f4726e1c82ec6a9", "categorized_nodes": 47}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
5,021
c
#ifndef SCAN_LABELER_H #define SCAN_LABELER_H /// PROJECT #include <csapex_core_plugins/interactive_node.h> #include <csapex_scan_2d/labeled_scan_message.h> #include <cslibs_laser_processing/data/scan.h> namespace csapex { class Input; class ScanLabeler : public InteractiveNode { friend class ScanLabelerAdapter;...
29.18
34
(translation_unit) "#ifndef SCAN_LABELER_H\n#define SCAN_LABELER_H\n\n/// PROJECT\n#include <csapex_core_plugins/interactive_node.h>\n#include <csapex_scan_2d/labeled_scan_message.h>\n#include <cslibs_laser_processing/data/scan.h>\n\nnamespace csapex\n{\nclass Input;\n\nclass ScanLabeler : public InteractiveNode\n{\n ...
238
16
{"language": "c", "success": true, "metadata": {"lines": 34, "avg_line_length": 29.18, "nodes": 139, "errors": 0, "source_hash": "41b9065880ab8a0940f44f4b17a35f710d7111f8ffa7b86445e9c17007898f3b", "categorized_nodes": 92}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
5,022
c
/* * ISC License * * Copyright (C) 1993-2018 by * <NAME> * <NAME> * <NAME> * Delft University of Technology * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appea...
35.72
53
(translation_unit) "/*\n * ISC License\n *\n * Copyright (C) 1993-2018 by\n * <NAME>\n * <NAME>\n * <NAME>\n * Delft University of Technology\n *\n * Permission to use, copy, modify, and/or distribute this software for any\n * purpose with or without fee is hereby granted, provided that the above\n * copyright notice a...
345
0
{"language": "c", "success": true, "metadata": {"lines": 53, "avg_line_length": 35.72, "nodes": 203, "errors": 0, "source_hash": "d11fe9b1930b809cae6a47942104e863089ddcf3728c02a7d4905f461f05412e", "categorized_nodes": 167}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
5,023
c
#ifndef _EFX2D_FILESELECT_ARGFILECOPY_H #define _EFX2D_FILESELECT_ARGFILECOPY_H /* __vt__Q35efx2d10FileSelect11ArgFilecopy: .4byte 0 .4byte 0 .4byte getName__Q35efx2d10FileSelect11ArgFilecopyFv */ namespace efx2d { namespace FileSelect { struct ArgFilecopy { virtual void getName(); // _00 // _00...
21.41
17
(translation_unit) "#ifndef _EFX2D_FILESELECT_ARGFILECOPY_H\n#define _EFX2D_FILESELECT_ARGFILECOPY_H\n\n/*\n __vt__Q35efx2d10FileSelect11ArgFilecopy:\n .4byte 0\n .4byte 0\n .4byte getName__Q35efx2d10FileSelect11ArgFilecopyFv\n*/\n\nnamespace efx2d {\nnamespace FileSelect {\n struct ArgFilecopy {\n virtual...
42
1
{"language": "c", "success": true, "metadata": {"lines": 17, "avg_line_length": 21.41, "nodes": 23, "errors": 0, "source_hash": "922a99ecfa1df1718dda720d4a1209fbc2557d372a4f945449287e484b2b307f", "categorized_nodes": 19}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
5,024
c
#import <Foundation/Foundation.h> @interface com_codename1_datatransfer_NativeDragAndDropImpl : NSObject { } -(void)startGlobalDropListener; -(void)stopGlobalDropListener; -(BOOL)isSupported; @end
27.14
7
(translation_unit) "#import <Foundation/Foundation.h>\n\n@interface com_codename1_datatransfer_NativeDragAndDropImpl : NSObject {\n}\n\n-(void)startGlobalDropListener;\n-(void)stopGlobalDropListener;\n-(BOOL)isSupported;\n@end\n" (preproc_call) "#import <Foundation/Foundation.h>\n" (preproc_directive) "#import" ...
50
5
{"language": "c", "success": true, "metadata": {"lines": 7, "avg_line_length": 27.14, "nodes": 30, "errors": 0, "source_hash": "474e2854182c6dce63832d932490587a9a64315ebb905f3dbd46027f195a6fb0", "categorized_nodes": 15}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <F...
5,025
c
/* WARNING: THIS FILE IS AUTO-GENERATED. DO NOT MODIFY. This file was generated from Image_.idl using "rtiddsgen". The rtiddsgen tool is part of the RTI Connext distribution. For more information, type 'rtiddsgen -help' at a command shell or consult the RTI Connext manual. */ #ifndef Image__548605620_h #define Imag...
37.45
89
(translation_unit) "/*\nWARNING: THIS FILE IS AUTO-GENERATED. DO NOT MODIFY.\n\nThis file was generated from Image_.idl using "rtiddsgen".\nThe rtiddsgen tool is part of the RTI Connext distribution.\nFor more information, type 'rtiddsgen -help' at a command shell\nor consult the RTI Connext manual.\n*/\n\n#ifndef Imag...
428
11
{"language": "c", "success": true, "metadata": {"lines": 89, "avg_line_length": 37.45, "nodes": 299, "errors": 0, "source_hash": "15030940b4e185b62ad7fadd873af4c1a455987ff6c8f267ff9118b0fd69a74e", "categorized_nodes": 214}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
5,026
c
/* Copyright (C) 2016 Apple Inc. All Rights Reserved. See LICENSE.txt for this sample’s licensing information Abstract: View controller for camera interface. */ @import UIKit; #import "AVCamManualAppDelegate.h" @interface AVCamManualCameraViewController : UIViewController @property (nonatomic) AVCaptureMovieF...
39.77
13
(translation_unit) "/*\n Copyright (C) 2016 Apple Inc. All Rights Reserved.\n See LICENSE.txt for this sample’s licensing information\n \n Abstract:\n View controller for camera interface.\n*/\n\n@import UIKit;\n\n#import "AVCamManualAppDelegate.h"\n\n@interface AVCamManualCameraViewController : UIViewController\n\n@pr...
82
13
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 39.77, "nodes": 56, "errors": 0, "source_hash": "364b0d5ed7bfa0b91d0ffa55fce8b35ce8678c2eaefa99f3a2b29c4e2e9649be", "categorized_nodes": 32}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "m", "parent": nu...
5,027
c
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by <NAME>. // #import <SearchFoundation/SFFeedback.h> @class NSString; @interface SFClientTimingFeedback : SFFeedback { NSString *_input; NSString *_eventName; unsigned long long _nanosec...
35.35
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 <SearchFoundation/SFFeedback.h>\n\n@class NSString;\n\n@interface SFClientTimingFeedback : SFFeedback\n{\n NSString *_input;\n NSString *_eventName...
199
19
{"language": "c", "success": true, "metadata": {"lines": 23, "avg_line_length": 35.35, "nodes": 123, "errors": 0, "source_hash": "fa131491a98dbd35c3d88f19d1ba1bfcbf9cfce95d4b3bed1da0b5e3fc78efc7", "categorized_nodes": 69}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import ...
5,028
c
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by <NAME>. // #import "NSStreamDelegate.h" @class NSData, NSInputStream, NSObject<QBPostDataProtocol>, NSString; @protocol QBPostDataProtocol <NSStreamDelegate> @property long long randomString; @pro...
33.43
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 "NSStreamDelegate.h"\n\n@class NSData, NSInputStream, NSObject<QBPostDataProtocol>, NSString;\n\n@protocol QBPostDataProtocol <NSStreamDelegate>\n@proper...
205
22
{"language": "c", "success": true, "metadata": {"lines": 23, "avg_line_length": 33.43, "nodes": 144, "errors": 0, "source_hash": "8d6cb5f420d3baee9b1a2e2af5fa2e4eb24d07d5e2b8d3116f3fed068f9db6d1", "categorized_nodes": 76}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import ...
5,029
c
// // QqcIncludeShareSdk.h // QqcShareSDK // // Created by qiuqinchuan on 15/9/28. // Copyright © 2015年 Qqc. All rights reserved. // #ifndef QqcIncludeShareSdk_h #define QqcIncludeShareSdk_h //==========ShareSDK头文件==================== #import <ShareSDK/ShareSDK.h> #import <ShareSDKConnector/ShareSDKConnector.h> /...
24
35
(translation_unit) "//\n// QqcIncludeShareSdk.h\n// QqcShareSDK\n//\n// Created by qiuqinchuan on 15/9/28.\n// Copyright © 2015年 Qqc. All rights reserved.\n//\n\n#ifndef QqcIncludeShareSdk_h\n#define QqcIncludeShareSdk_h\n\n//==========ShareSDK头文件====================\n#import <ShareSDK/ShareSDK.h>\n#import <ShareSD...
52
0
{"language": "c", "success": true, "metadata": {"lines": 35, "avg_line_length": 24.0, "nodes": 25, "errors": 0, "source_hash": "ddae2a26169c5a7a62e98bfaca92ed161ba3e65d2f32ae74358e3618dc43a05d", "categorized_nodes": 11}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "ndef QqcI...
5,030
c
#include <iostream> #include <vector> #include <sstream> #include "XMLFile.h" #include "Expence.h" #include "DataManager.h" using namespace std; class ExpensesFile:public XMLFile { public: ExpensesFile(string expensesFileName) : XMLFile(expensesFileName) { lastID=0; }; void addExpense(Ex...
21.33
18
(translation_unit) "#include <iostream>\n#include <vector>\n#include <sstream>\n#include "XMLFile.h"\n#include "Expence.h"\n#include "DataManager.h"\nusing namespace std;\nclass ExpensesFile:public XMLFile\n{\npublic:\n ExpensesFile(string expensesFileName)\n : XMLFile(expensesFileName)\n {\n lastID...
103
6
{"language": "c", "success": true, "metadata": {"lines": 18, "avg_line_length": 21.33, "nodes": 66, "errors": 0, "source_hash": "868f08d72ce5b220557a73ef83e878bdf60e8c9bf423145624746466d37baf39", "categorized_nodes": 50}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
5,031
c
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef FLUTTER_RUNTIME_DART_ISOLATE_H_ #define FLUTTER_RUNTIME_DART_ISOLATE_H_ #include <memory> #include <set> #include <string> #include "flutter/comm...
38.98
147
(translation_unit) "// Copyright 2013 The Flutter Authors. All rights reserved.\n// Use of this source code is governed by a BSD-style license that can be\n// found in the LICENSE file.\n\n#ifndef FLUTTER_RUNTIME_DART_ISOLATE_H_\n#define FLUTTER_RUNTIME_DART_ISOLATE_H_\n\n#include <memory>\n#include <set>\n#include <st...
1,211
71
{"language": "c", "success": true, "metadata": {"lines": 147, "avg_line_length": 38.98, "nodes": 752, "errors": 0, "source_hash": "bbcb36959391d1164bacb41ba697c39fa518199cad40bef43e03911663695ac7", "categorized_nodes": 486}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
5,032
c
/* * * ============================================================================ * Copyright (c) 2006-2009 Marvell International Ltd. All Rights Reserved. * * Marvell Confidential * ============================================================================ */ /** * * \file acldow...
33.19
235
(translation_unit) "/*\n *\n * ============================================================================\n * Copyright (c) 2006-2009 Marvell International Ltd. All Rights Reserved.\n *\n * Marvell Confidential\n * ============================================================================\...
1,312
0
{"language": "c", "success": true, "metadata": {"lines": 235, "avg_line_length": 33.19, "nodes": 779, "errors": 0, "source_hash": "68704e80a30d2b94b76a9dd77925435b2ff948c8794232c166b195406b4025aa", "categorized_nodes": 527}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
5,033
c
/* * libews_gsoap_utils.h * * Created on: Jul 25, 2014 * Author: stone */ #ifndef LIBEWS_GSOAP_UTILS_H_ #define LIBEWS_GSOAP_UTILS_H_ namespace ews { DLL_LOCAL CEWSString XsdBase64BinaryToEWSString(struct soap *soap, xsd__base64Binary * pBinary); DLL_LOCAL xsd__base64Binary * EWSStringToXsdBase64Binary(s...
25.19
99
(translation_unit) "/*\n * libews_gsoap_utils.h\n *\n * Created on: Jul 25, 2014\n * Author: stone\n */\n\n#ifndef LIBEWS_GSOAP_UTILS_H_\n#define LIBEWS_GSOAP_UTILS_H_\n\nnamespace ews {\nDLL_LOCAL CEWSString XsdBase64BinaryToEWSString(struct soap *soap,\n xsd__base64Binary * pBinary);\nDLL_LOCAL xsd__base64Bina...
695
41
{"language": "c", "success": true, "metadata": {"lines": 99, "avg_line_length": 25.19, "nodes": 444, "errors": 0, "source_hash": "dcecc40b6fc427d4dc8398b7d3be7abae061179e59c2c51e8969ce9c0634964a", "categorized_nodes": 283}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
5,034
c
#pragma once #include <state.h> namespace AI_Search { template <typename T> class Frontier { protected: std::vector<State<T>*> _states; std::vector<State<T>*> _visitedStates; public: Frontier(State<T>* initialState) { _states.push_back(initialState); _visitedStates.push_back(initialSt...
21.93
60
(translation_unit) "#pragma once\n\n#include <state.h>\n\nnamespace AI_Search {\n\ntemplate <typename T>\nclass Frontier\n{\nprotected:\n std::vector<State<T>*> _states;\n std::vector<State<T>*> _visitedStates;\npublic:\n Frontier(State<T>* initialState)\n {\n _states.push_back(initialState);\n ...
434
23
{"language": "c", "success": true, "metadata": {"lines": 60, "avg_line_length": 21.93, "nodes": 273, "errors": 0, "source_hash": "b23ef59b149a4405b68e828c2eae12a922e124c2094504c05c068650ae1dea6b", "categorized_nodes": 170}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
5,035
c
#ifndef RAPIDVERTEXSMEAR_H #define RAPIDVERTEXSMEAR_H 1 #include "Math/Point3D.h" class RapidVertexSmear { public: virtual ~RapidVertexSmear() {} virtual ROOT::Math::XYZPoint smearVertex(ROOT::Math::XYZPoint vtx, int direction)=0; }; #endif
25.8
10
(translation_unit) "#ifndef RAPIDVERTEXSMEAR_H\n#define RAPIDVERTEXSMEAR_H 1\n\n#include "Math/Point3D.h"\n\nclass RapidVertexSmear {\n public:\n virtual ~RapidVertexSmear() {}\n\n virtual ROOT::Math::XYZPoint smearVertex(ROOT::Math::XYZPoint vtx, int direction)=0;\n};\n\n\n#endif\n" (preproc_i...
72
5
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 25.8, "nodes": 41, "errors": 0, "source_hash": "6c20d7656bd33f826f74e9a900d3bff66716bf296b72a5f142b5b6953dc02fca", "categorized_nodes": 27}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef R...
5,036
c
#pragma once #include "UrhoBaseTypeEditor.h" #include <QLineEdit> #include <QTableWidget> namespace UrhoUI { class VariantTypeCombo; class BaseCollectionEditor : public BaseTypeEditor { Q_OBJECT public: BaseCollectionEditor(unsigned property); protected slots: virtual vo...
31.52
40
(translation_unit) "#pragma once\n\n#include "UrhoBaseTypeEditor.h"\n\n#include <QLineEdit>\n#include <QTableWidget>\n\nnamespace UrhoUI\n{\n class VariantTypeCombo;\n\n class BaseCollectionEditor : public BaseTypeEditor\n {\n Q_OBJECT\n public:\n BaseCollectionEditor(unsigned property);\n\n ...
283
15
{"language": "c", "success": true, "metadata": {"lines": 40, "avg_line_length": 31.52, "nodes": 175, "errors": 0, "source_hash": "512ce565f8d6d0a534fea5622e0f5a9bd4b79843214a06924342b8a77f568ad4", "categorized_nodes": 126}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
5,037
c
#pragma once #include "state.h" #include "graphics_engine.h" #include "legal_move_generator.h" class chess_environment { public: //public class functions: chess_environment(std::string fen = start_fen, bool user_interface = true); ~chess_environment(); void reset(); void set(const state& state); void set(std::s...
31.54
35
(translation_unit) "#pragma once\n#include "state.h"\n#include "graphics_engine.h"\n#include "legal_move_generator.h"\n\nclass chess_environment\n{\npublic:\n //public class functions:\n chess_environment(std::string fen = start_fen, bool user_interface = true);\n ~chess_environment();\n\n void reset();\n void set(cons...
306
8
{"language": "c", "success": true, "metadata": {"lines": 35, "avg_line_length": 31.54, "nodes": 192, "errors": 0, "source_hash": "94356a83434a0e59edd7d4d64ce5d658cfe3d460f95d1505eda7141c3ee6bc9e", "categorized_nodes": 124}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
5,038
c
#include <stdio.h> #include <stdlib.h> #include <string.h> unsigned long fibonacci(unsigned int n); unsigned long * fibonacci_array(unsigned int n); unsigned long * complete_reverse_ulong(unsigned long * array, unsigned int len); unsigned long * reverse_ulong(unsigned long * array, unsigned int i, unsigned int j); uns...
25.97
101
(translation_unit) "#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n\nunsigned long fibonacci(unsigned int n);\nunsigned long * fibonacci_array(unsigned int n);\nunsigned long * complete_reverse_ulong(unsigned long * array, unsigned int len);\nunsigned long * reverse_ulong(unsigned long * array, unsigned ...
1,060
0
{"language": "c", "success": true, "metadata": {"lines": 101, "avg_line_length": 25.97, "nodes": 677, "errors": 0, "source_hash": "0feb5bd6b65c1467fee54e416fab70b16b52d559ed2a65ebb6587c454c6f0c26", "categorized_nodes": 409}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
5,039
c
/* * Cerritos * Copyright 2021 by <NAME>, <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, copy, modi...
32.06
84
(translation_unit) "/*\n * Cerritos\n * Copyright 2021 by <NAME>, <NAME>\n * \n * Permission is hereby granted, free of charge, to any person obtaining a \n * copy of this software and associated documentation files (the "Software"), \n * to deal in the Software without restriction, including without limitation \n * th...
637
18
{"language": "c", "success": true, "metadata": {"lines": 84, "avg_line_length": 32.06, "nodes": 384, "errors": 0, "source_hash": "1d84fd1ed69ae0879eed201e45c78573d855d5c98dc13565cabf239fbc5874b8", "categorized_nodes": 270}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
5,040
c
#ifndef TEXTURE_GENERATOR_H #define TEXTURE_GENERATOR_H #include "SpeckEngineDefinitions.h" #include "DirectXHeaders.h" namespace Speck { void BuildRandomVectorTexture( ID3D12Device *device, ID3D12GraphicsCommandList* cmdList, Microsoft::WRL::ComPtr<ID3D12Resource> &mRandomVectorMap, Microsoft::WRL::ComPtr<...
31.32
19
(translation_unit) "#ifndef TEXTURE_GENERATOR_H\n#define TEXTURE_GENERATOR_H\n\n#include "SpeckEngineDefinitions.h"\n#include "DirectXHeaders.h"\n\nnamespace Speck\n{\n void BuildRandomVectorTexture(\n ID3D12Device *device,\n ID3D12GraphicsCommandList* cmdList,\n Microsoft::WRL::ComPtr<ID3D12Resource> &mRandomVector...
135
5
{"language": "c", "success": true, "metadata": {"lines": 19, "avg_line_length": 31.32, "nodes": 87, "errors": 0, "source_hash": "97c6abbdf38673dcb57dcef891ab45e20e8c5e5dba642f8fea17d5d39d03f5bf", "categorized_nodes": 60}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
5,041
c
#pragma once #include "BindableCommon.h" #include "ChiliMath.h" #include "ImGui\imgui.h" class BlurPack { public: BlurPack(Graphics& gfx, int radius = 7, float sigma = 2.6f, const char* shader = "Blur_PS.cso") : m_Shader(gfx, shader), m_Pcb(gfx, 0u), m_Ccb(gfx, 1u), m_Radius(radius), m_Sigma(sigma) { S...
20.69
134
(translation_unit) "#pragma once\n#include "BindableCommon.h"\n#include "ChiliMath.h"\n#include "ImGui\imgui.h"\n\nclass BlurPack\n{\npublic:\n BlurPack(Graphics& gfx, int radius = 7, float sigma = 2.6f, const char* shader = "Blur_PS.cso")\n :\n m_Shader(gfx, shader),\n m_Pcb(gfx, 0u),\n m_Ccb(gfx, 1u),\n m_Radius...
1,102
31
{"language": "c", "success": true, "metadata": {"lines": 134, "avg_line_length": 20.69, "nodes": 640, "errors": 0, "source_hash": "b742844785a309c9a8289f7e89aab0e681236b80439618068b78f9c352ee7f69", "categorized_nodes": 458}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragm...
5,042
c
#include <stdio.h> #include <stdint.h> #include <errno.h> #include <unistd.h> #include <sys/types.h> #include <string.h> #include <stdlib.h> #include <ctype.h> #include "prl.h" #undef PRIME #define PRIME (7919) static char * myname; static int ignore_case = 0; static int negated = 0; static int color = 0; static...
19.21
189
(translation_unit) "#include <stdio.h>\n#include <stdint.h>\n#include <errno.h>\n#include <unistd.h>\n#include <sys/types.h>\n#include <string.h>\n#include <stdlib.h>\n#include <ctype.h>\n\n#include "prl.h"\n\n#undef PRIME\n#define PRIME (7919)\n\nstatic char * myname;\nstatic int ignore_case = 0;\nstatic int negate...
1,576
0
{"language": "c", "success": true, "metadata": {"lines": 189, "avg_line_length": 19.21, "nodes": 932, "errors": 0, "source_hash": "78c4516b4494c2477b126675ea3117d34b489b4d1d62d040d900fb53ec4ac8c5", "categorized_nodes": 593}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
5,043
c
#pragma once #include "glm/glm.hpp" #include <string> struct VertexSSAO { glm::vec3 Position; glm::vec3 Normal; glm::vec2 TexCoords; }; struct VertexTangents { glm::vec3 Position; glm::vec2 TexCoord; glm::vec3 Normal; glm::vec3 Tangent; glm::vec3 Bitangent; }; struct TextureData {...
14.96
24
(translation_unit) "#pragma once\n\n#include "glm/glm.hpp"\n\n#include <string>\n\n\nstruct VertexSSAO\n{\n glm::vec3 Position;\n glm::vec3 Normal;\n glm::vec2 TexCoords;\n};\n\nstruct VertexTangents\n{\n glm::vec3 Position;\n glm::vec2 TexCoord;\n glm::vec3 Normal;\n glm::vec3 Tangent;\n glm::v...
120
10
{"language": "c", "success": true, "metadata": {"lines": 24, "avg_line_length": 14.96, "nodes": 73, "errors": 0, "source_hash": "97c3740d10f57e974206b86b12656ca85a939930ab576a74e649ff36a3552c76", "categorized_nodes": 59}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
5,044
c
/* Generated by RuntimeBrowser Image: /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit */ @interface _NSActionRecord : NSObject { SEL _action; NSString * _actionTitle; BOOL _canUseResponderChain; BOOL _fromMainMenu; id _sender; long long _tag; id _target; } @property...
28.58
26
(translation_unit) "/* Generated by RuntimeBrowser\n Image: /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit\n */\n\n@interface _NSActionRecord : NSObject {\n SEL _action;\n NSString * _actionTitle;\n BOOL _canUseResponderChain;\n BOOL _fromMainMenu;\n id _sender;\n long long _tag;...
231
18
{"language": "c", "success": true, "metadata": {"lines": 26, "avg_line_length": 28.58, "nodes": 147, "errors": 0, "source_hash": "4be6b0a95e49c87993716a81ab2ab4bea8dd84cfbb2b0a3d183a6df45383d8a7", "categorized_nodes": 98}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "@", "parent": n...
5,045
c
/* ptrace.h: ptrace() relevant definitions * * Copyright (C) 2003 Red Hat, Inc. All Rights Reserved. * Written by <NAME> (<EMAIL>) * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either...
35.2
70
(translation_unit) "/* ptrace.h: ptrace() relevant definitions\n *\n * Copyright (C) 2003 Red Hat, Inc. All Rights Reserved.\n * Written by <NAME> (<EMAIL>)\n *\n * This program is free software; you can redistribute it and/or\n * modify it under the terms of the GNU General Public License\n * as published by the Free ...
300
0
{"language": "c", "success": true, "metadata": {"lines": 70, "avg_line_length": 35.2, "nodes": 243, "errors": 0, "source_hash": "d781e2905d688b1affa3524f18e16c4264941a638922cc879204c5b4eb6436db", "categorized_nodes": 109}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
5,046
c
#include <stdio.h> int main() { int n; scanf("%d", &n); if (n == 1)printf("January\n"); if (n == 2)printf("February\n"); if (n == 3)printf("March\n"); if (n == 4)printf("April\n"); if (n == 5)printf("May\n"); if (n == 6)printf("June\n"); if (n == 7)printf("July\n"); if (n == 8)pr...
25.58
19
(translation_unit) "#include <stdio.h>\nint main()\n{\n int n;\n scanf("%d", &n);\n if (n == 1)printf("January\n");\n if (n == 2)printf("February\n");\n if (n == 3)printf("March\n");\n if (n == 4)printf("April\n");\n if (n == 5)printf("May\n");\n if (n == 6)printf("June\n");\n if (n == 7)prin...
289
0
{"language": "c", "success": true, "metadata": {"lines": 19, "avg_line_length": 25.58, "nodes": 151, "errors": 0, "source_hash": "47d6c7fbba9fa0aaa1e3c496d1d137474987f2e56236fe52d9158d70b9797a1d", "categorized_nodes": 111}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
5,047
c
/* * Copyright (c) 2021 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
36.36
91
(translation_unit) "/*\n * Copyright (c) 2021 Huawei Device Co., Ltd.\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...
593
23
{"language": "c", "success": true, "metadata": {"lines": 91, "avg_line_length": 36.36, "nodes": 335, "errors": 0, "source_hash": "5b7c26f91e31f740ae93fa4393e7d0a13e7d11faa8824a80445f60f853cd6c13", "categorized_nodes": 247}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
5,048
c
#pragma once #include <Windows.h> #include <map> #include <memory> #include <set> #include <vector> #include "PassManager.h" namespace cchips { class FuncInit : public FunctionPass { public: static char ID; FuncInit() : FunctionPass(ID) {} ~FuncInit() {} virtual bool runOn...
23.26
19
(translation_unit) "#pragma once\n#include <Windows.h>\n#include <map>\n#include <memory>\n#include <set>\n#include <vector>\n#include "PassManager.h"\n\nnamespace cchips {\n\n class FuncInit : public FunctionPass\n {\n public:\n static char ID;\n FuncInit() : FunctionPass(ID) {}\n ~FuncIn...
125
6
{"language": "c", "success": true, "metadata": {"lines": 19, "avg_line_length": 23.26, "nodes": 75, "errors": 0, "source_hash": "35654245a37003091b84a5c088d764d4750868ed4490ab294df8b63714e34b71", "categorized_nodes": 53}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
5,049
c
#ifndef __AP_HAL_STORAGE_H__ #define __AP_HAL_STORAGE_H__ #include <stdint.h> #include "AP_HAL_Namespace.h" class AP_HAL::Storage { public: virtual void init(void *) = 0; virtual void read_block(void *dst, uint16_t src, size_t n) = 0; virtual void write_block(uint16_t dst, const void* src, size_t n) = 0;...
31
11
(translation_unit) "#ifndef __AP_HAL_STORAGE_H__\n#define __AP_HAL_STORAGE_H__\n\n#include <stdint.h>\n#include "AP_HAL_Namespace.h"\n\nclass AP_HAL::Storage {\npublic:\n virtual void init(void *) = 0;\n virtual void read_block(void *dst, uint16_t src, size_t n) = 0;\n virtual void write_block(uint16_t dst, co...
104
4
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 31.0, "nodes": 74, "errors": 0, "source_hash": "80bcda3d81ab23a5fc7f66dc625848befafed95e0f0b77e08a943f3cbff086ba", "categorized_nodes": 45}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef _...
5,050
c
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef RemoteDOMWindow_h #define RemoteDOMWindow_h #include "core/frame/DOMWindow.h" #include "core/frame/RemoteFrame.h" #include "platform/wtf/Assertio...
35.45
40
(translation_unit) "// Copyright 2014 The Chromium Authors. All rights reserved.\n// Use of this source code is governed by a BSD-style license that can be\n// found in the LICENSE file.\n\n#ifndef RemoteDOMWindow_h\n#define RemoteDOMWindow_h\n\n#include "core/frame/DOMWindow.h"\n#include "core/frame/RemoteFrame.h"\n#i...
265
11
{"language": "c", "success": true, "metadata": {"lines": 40, "avg_line_length": 35.45, "nodes": 144, "errors": 0, "source_hash": "7e287840450e1f3db52224d3481cb75413527bcef5c23aeaa1911a247fe45cbc", "categorized_nodes": 97}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
5,051
c
/* diskmodel (version 1.0) * Authors: <NAME>, <NAME> * Contributors: <NAME>, <NAME>, <NAME> * * Copyright (c) of Carnegie Mellon University, 2001-2008. * * This software is being provided by the copyright holders under the * following license. By obtaining, using and/or copying this * software, you agree that ...
36.59
59
(translation_unit) "/* diskmodel (version 1.0)\n * Authors: <NAME>, <NAME>\n * Contributors: <NAME>, <NAME>, <NAME>\n *\n * Copyright (c) of Carnegie Mellon University, 2001-2008.\n *\n * This software is being provided by the copyright holders under the\n * following license. By obtaining, using and/or copying this\n ...
208
4
{"language": "c", "success": true, "metadata": {"lines": 59, "avg_line_length": 36.59, "nodes": 125, "errors": 0, "source_hash": "33a5f81f5cc4e0fa20988004789037f80d2e5e967c1b2d77d024aac60061ccdb", "categorized_nodes": 85}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
5,052
c
// // YMSigmobManager.h // YMRichCat // // Created by apple on 2020/8/7. // Copyright © 2020 niuhui. All rights reserved. // #import <Foundation/Foundation.h> NS_ASSUME_NONNULL_BEGIN typedef void(^ShowADSuccessBlock)(BOOL isDataLoadSuccess); @interface YMSigmobManager : NSObject + (instancetype)sharedSigmobMang...
26.5
22
(ERROR) "//\n// YMSigmobManager.h\n// YMRichCat\n//\n// Created by apple on 2020/8/7.\n// Copyright © 2020 niuhui. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n\nNS_ASSUME_NONNULL_BEGIN\n\ntypedef void(^ShowADSuccessBlock)(BOOL isDataLoadSuccess);\n\n@interface YMSigmobManager : NSObject\n+ (insta...
112
10
{"language": "c", "success": true, "metadata": {"lines": 22, "avg_line_length": 26.5, "nodes": 68, "errors": 0, "source_hash": "11847a54544db3ddeea4d4daf214ad96264e1f3b814b4471a4b3b5bb6cf90622", "categorized_nodes": 43}, "ast": {"root": "ERROR", "nodes": [{"id": 0, "type": "ERROR", "text": "//\n// YMSigmobManager.h\n/...
5,053
c
/** * \file misc.h * \brief Prototypes of some miscellaneous functions. * \copyright Copyright (c) 2016-2018, Barba group. All rights reserved. * \license BSD 3-Clause License. */ # pragma once // here goes C++ STL # include <vector> # include <algorithm> # include <functional> # include <cmath> // here goes PE...
36.24
210
(translation_unit) "/**\n * \file misc.h\n * \brief Prototypes of some miscellaneous functions.\n * \copyright Copyright (c) 2016-2018, Barba group. All rights reserved.\n * \license BSD 3-Clause License.\n */\n\n# pragma once\n\n// here goes C++ STL\n# include <vector>\n# include <algorithm>\n# include <functional>\n#...
767
41
{"language": "c", "success": true, "metadata": {"lines": 210, "avg_line_length": 36.24, "nodes": 413, "errors": 0, "source_hash": "6dea5c2cac34acd495308ac24eb6441a029f779a24e8cc5e8df19ec91047271e", "categorized_nodes": 331}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "# prag...
5,054
c
#ifndef STATS_H #define STATS_H #include <vector> #include <string> #include <fstream> struct Stats { std::vector<long long> z3_times; std::vector<long long> cvc4_times; std::vector<long long> total_times; std::vector<long long> model_min_times; void add_z3(long long a) { z3_times.push_back(a); } void ad...
27.23
35
(translation_unit) "#ifndef STATS_H\n#define STATS_H\n\n#include <vector>\n#include <string>\n#include <fstream>\n\nstruct Stats {\n std::vector<long long> z3_times;\n std::vector<long long> cvc4_times;\n std::vector<long long> total_times;\n std::vector<long long> model_min_times;\n\n void add_z3(long long a) { z...
355
16
{"language": "c", "success": true, "metadata": {"lines": 35, "avg_line_length": 27.23, "nodes": 219, "errors": 0, "source_hash": "a5fd6b240e2044f10e46c43833243f4334cafcba1a050219e6cfd4688ddb1a5f", "categorized_nodes": 144}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
5,055
c
#ifndef ADT_VECTOR_H #define ADT_VECTOR_H #include <math.h> #include <stdlib.h> #include <stdio.h> typedef struct vec { void **arr; int capacity, size; } vec; vec vec_create(int capacity); size_t vec_memory(vec* v); void vec_add(vec* v, void *element); void *vec_remove(vec* v); void *vec_at(vec* v, int i); ...
22.41
17
(translation_unit) "#ifndef ADT_VECTOR_H\n#define ADT_VECTOR_H\n\n#include <math.h>\n#include <stdlib.h>\n#include <stdio.h>\n\ntypedef struct vec {\n void **arr;\n int capacity, size;\n} vec;\n\nvec vec_create(int capacity);\nsize_t vec_memory(vec* v);\n\nvoid vec_add(vec* v, void *element);\nvoid *vec_remove(ve...
151
0
{"language": "c", "success": true, "metadata": {"lines": 17, "avg_line_length": 22.41, "nodes": 118, "errors": 0, "source_hash": "5e2c1cbcb2102be70c634c991698d332cc270f8bb7e1d3f7c407902c2ef61a40", "categorized_nodes": 72}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
5,056
c
#ifndef SPLAYTREE_H #define SPLAYTREE_H #include <vector> class SplayTree { private: struct node { node *left, *right; node *parent; int val; node(int value) : left(nullptr), right(nullptr), parent(nullptr), val(value) {} }; node *root; int t_size; void left_rotate(node* x) { node* y = x->right; ...
18.9
168
(translation_unit) "#ifndef SPLAYTREE_H\n#define SPLAYTREE_H\n\n#include <vector>\n\nclass SplayTree {\nprivate:\n \n struct node {\n node *left, *right;\n node *parent;\n int val;\n node(int value) : left(nullptr), right(nullptr), parent(nullptr), val(value) {}\n };\n\n node *root;\n int t_size;\n\n void left_rota...
1,588
16
{"language": "c", "success": true, "metadata": {"lines": 168, "avg_line_length": 18.9, "nodes": 965, "errors": 0, "source_hash": "4e5e0a4f5b15de946220f26eb7436a7854fbc0219abdc5e8152426b0a1e7a060", "categorized_nodes": 734}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
5,057
c
#ifndef _SYMBOLTABLE_H #define _SYMBOLTABLE_H #include "structure.h" #include <unordered_map> namespace simplex { class SymbolTable : public std::unordered_map<std::string, Structure> { public: std::istream& input; std::ostream& output; SymbolTable(std::istream& input, std::ostream& output); ...
28.71
14
(translation_unit) "#ifndef _SYMBOLTABLE_H\n#define _SYMBOLTABLE_H\n\n#include "structure.h"\n\n#include <unordered_map>\n\nnamespace simplex {\n class SymbolTable : public std::unordered_map<std::string, Structure> {\n public:\n std::istream& input;\n std::ostream& output;\n SymbolTable(std::istream...
127
9
{"language": "c", "success": true, "metadata": {"lines": 14, "avg_line_length": 28.71, "nodes": 66, "errors": 0, "source_hash": "7a1cf7aad3efc06c7fdc73a98249b503377127622524267e5911df95d5a9742b", "categorized_nodes": 48}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
5,058
c
/* * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab * Copyright (C) 2008-2008 - INRIA - <NAME> * * This file must be used under the terms of the CeCILL. * This source file is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms ...
27.81
59
(translation_unit) "/*\n * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab\n * Copyright (C) 2008-2008 - INRIA - <NAME>\n *\n * This file must be used under the terms of the CeCILL.\n * This source file is licensed as described in the file COPYING, which\n * you should have received as part of this...
129
4
{"language": "c", "success": true, "metadata": {"lines": 59, "avg_line_length": 27.81, "nodes": 89, "errors": 0, "source_hash": "bf720a6b80aeed2f03d9fb0b234f5e37fc996943c7c3e1af7dcd7c93ff741d7d", "categorized_nodes": 63}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
5,059
c
#define DEFINITION_Traces #ifndef DEFINITION_Dfa #include "Dfa.h" #endif extern void Zq0Dy2B_0 ARGS ((void)); extern void Zq0Dy2B_1 ARGS ((INTEGER Z119)); extern void Zq0Dy2B_2 ARGS ((SHORTCARD Z121, Zaf1_6 Z122, Zaf1_6 Z123)); extern Zaf1_6 Zq0Dy2B_3 ARGS ((SHORTCARD Z121, Zaf1_6 Z122)); extern void Zq0Dy2B_4 ARGS (...
35.7
10
(translation_unit) "#define DEFINITION_Traces\n\n#ifndef DEFINITION_Dfa\n#include "Dfa.h"\n#endif\n\nextern void Zq0Dy2B_0 ARGS ((void));\nextern void Zq0Dy2B_1 ARGS ((INTEGER Z119));\nextern void Zq0Dy2B_2 ARGS ((SHORTCARD Z121, Zaf1_6 Z122, Zaf1_6 Z123));\nextern Zaf1_6 Zq0Dy2B_3 ARGS ((SHORTCARD Z121, Zaf1_6 Z122));...
125
3
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 35.7, "nodes": 82, "errors": 0, "source_hash": "5c1e2594d5ac8238bff430696011a4cc57208fbbbc350ece33c160137797db13", "categorized_nodes": 54}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_def", "text": "#define DEF...
5,060
c
/* * Copyright (c) 2016 RF <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, * copy, modify, me...
27.22
122
(translation_unit) "/* \n * Copyright (c) 2016 RF <NAME> \n * \n * Permission is hereby granted, free of charge, \n * to any person obtaining a copy of this software \n * and associated documentation files (the "Software"), \n * to deal in the Software without restriction, \n * including without limitation the rights t...
518
0
{"language": "c", "success": true, "metadata": {"lines": 122, "avg_line_length": 27.22, "nodes": 300, "errors": 0, "source_hash": "229deae19ac93ee03cc9fbd89744d3cf4f7fc89d74f4bb22258b022b41c356cd", "categorized_nodes": 228}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
5,061
c
/*************************************************************************** * * FILE NAME: Simulation.c * * AUTHOR: <NAME> (0664008) * * CREATED: October 3, 2012 * LAST UPDATED: October 5, 2012 * * LIMITATIONS: * ****************************************************************************/ #include "Queue.h" ...
25.58
122
(translation_unit) "/***************************************************************************\n*\n* FILE NAME: Simulation.c\n*\n* AUTHOR: <NAME> (0664008)\n*\n* CREATED: October 3, 2012\n* LAST UPDATED: October 5, 2012\n*\n* LIMITATIONS:\n* \n*******************************************************************...
737
0
{"language": "c", "success": true, "metadata": {"lines": 122, "avg_line_length": 25.58, "nodes": 453, "errors": 0, "source_hash": "f60a31fe6151a4de58fa416bbc263a694a645f844c1c35da5ef47b6b2d78a77c", "categorized_nodes": 309}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
5,062
c
// // DeviceSmartLinkStart.h // WebIntegration // // Created by 李晓 on 15/8/19. // Copyright (c) 2015年 skyware. All rights reserved. // #import "StepNextView.h" #import "SkywareUIInstance.h" @interface DeviceSmartLinkStart : StepNextView /** * 创建 SmartLink 配网View */ + (instancetype)createDeviceSmartLinkStartVi...
20.73
15
(translation_unit) "//\n// DeviceSmartLinkStart.h\n// WebIntegration\n//\n// Created by 李晓 on 15/8/19.\n// Copyright (c) 2015年 skyware. All rights reserved.\n//\n\n#import "StepNextView.h"\n#import "SkywareUIInstance.h"\n\n@interface DeviceSmartLinkStart : StepNextView\n\n/**\n * 创建 SmartLink 配网View\n */\n+ (insta...
36
4
{"language": "c", "success": true, "metadata": {"lines": 15, "avg_line_length": 20.73, "nodes": 20, "errors": 0, "source_hash": "f3314d28a9cf660c82170756ae95aefcef3fdbf3e202ba82e2780c7da6210841", "categorized_nodes": 10}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "t \"StepN...
5,063
c
/**************************************************** * This is a test that will test condition variables* ****************************************************/ #include <stdio.h> #include <pthread.h> #include <sys/types.h> #include <sys/stat.h> #include <stdlib.h> #include <fcntl.h> #include "capi.h" #include "mcp_...
30.17
98
(translation_unit) "/****************************************************\n * This is a test that will test condition variables*\n ****************************************************/\n\n#include <stdio.h>\n#include <pthread.h>\n#include <sys/types.h>\n#include <sys/stat.h>\n#include <stdlib.h>\n#include <fcntl.h>\n#i...
757
0
{"language": "c", "success": true, "metadata": {"lines": 98, "avg_line_length": 30.17, "nodes": 428, "errors": 0, "source_hash": "3d883f2d4a8027e6931ceb42edd744b34523912e5c966212d63dd86e5eeecfeb", "categorized_nodes": 292}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
5,064
c
/** * @file tests/llvmir2hll/pattern/pattern_finders/api_call/api_call_seq_finder_mock.h * @brief A mock for the APICallSeqFinder class. * @copyright (c) 2017 Avast Software, licensed under the MIT license */ #ifndef BACKEND_BIR_PATTERN_PATTERN_FINDERS_API_CALL_TESTS_API_CALL_SEQ_FINDER_MOCK_H #define BACKEND_BIR_PATT...
35.52
27
(translation_unit) "/**\n* @file tests/llvmir2hll/pattern/pattern_finders/api_call/api_call_seq_finder_mock.h\n* @brief A mock for the APICallSeqFinder class.\n* @copyright (c) 2017 Avast Software, licensed under the MIT license\n*/\n\n#ifndef BACKEND_BIR_PATTERN_PATTERN_FINDERS_API_CALL_TESTS_API_CALL_SEQ_FINDER_MOCK_...
141
8
{"language": "c", "success": true, "metadata": {"lines": 27, "avg_line_length": 35.52, "nodes": 83, "errors": 0, "source_hash": "f6a7fc8af383f550770956722988c80287b29e1f1d400af988c3efcb504f47f4", "categorized_nodes": 61}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
5,065
c
#ifndef KERN_PARAM_H #define KERN_PARAM_H /* Change the config.h. */ #define MACHINE MACHINE_CONFIG /* Operating System endianess. */ #define ENDIAN ENDIAN_CONFIG /* Operating System version. */ #define VERSION VERSION_CONFIG /* System running level/state. */ #define SYS_THREAD 0x1 #define SYS_HANDLER 0...
26.47
32
(translation_unit) "#ifndef KERN_PARAM_H\n#define KERN_PARAM_H\n\n/* Change the config.h. */\n#define MACHINE MACHINE_CONFIG\n\n/* Operating System endianess. */\n#define ENDIAN ENDIAN_CONFIG\n\n/* Operating System version. */\n#define VERSION VERSION_CONFIG\n\n/* System running level/state. */\n#define SYS_THREAD ...
99
0
{"language": "c", "success": true, "metadata": {"lines": 32, "avg_line_length": 26.47, "nodes": 91, "errors": 0, "source_hash": "51337c980249932ec89a335c9990dd976ec190bc0a46695b48f5b60030c9ddb1", "categorized_nodes": 26}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
5,066
c
#ifndef BLAS_FALLBACK_H #define BLAS_FALLBACK_H #ifdef __cplusplus extern "C" { #endif void* resolve_fallback_function(const char * func_name); #ifdef __cplusplus } #endif #endif // BLAS_FALLBACK_H
17
11
(translation_unit) "#ifndef BLAS_FALLBACK_H\n#define BLAS_FALLBACK_H\n\n#ifdef __cplusplus\nextern "C" {\n#endif\n\nvoid*\nresolve_fallback_function(const char * func_name);\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif // BLAS_FALLBACK_H\n" (preproc_ifdef) "#ifndef BLAS_FALLBACK_H\n#define BLAS_FALLBACK_H\n\n#ifdef __c...
45
0
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 17.0, "nodes": 32, "errors": 0, "source_hash": "1753e5cd706029cdf8d31fa220820aed631115a83233ba90a206cd1f5e4c5b4b", "categorized_nodes": 21}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef B...
5,067
c
/************************************************************************ # Copyright (C) 2010-2020 VIAZIJING TECHNOLOGY CO., LTD. # All rights reserved. #***********************************************************************/ #ifndef __LIBRTMP_PUBLISH_DEFS_H__ #define __LIBRTMP_PUBLISH_DEFS_H__ enum { R...
23.03
29
(translation_unit) "/************************************************************************\n# Copyright (C) 2010-2020 VIAZIJING TECHNOLOGY CO., LTD.\n# All rights reserved.\n#***********************************************************************/\n\n#ifndef __LIBRTMP_PUBLISH_DEFS_H__\n#define __LIBRTMP_PU...
75
0
{"language": "c", "success": true, "metadata": {"lines": 29, "avg_line_length": 23.03, "nodes": 51, "errors": 0, "source_hash": "9329b81a80ad6620f6e42dbcba5c36a94b858411687d6b3f0672a2ef0a117b7d", "categorized_nodes": 45}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
5,068
c
// // QuestionnaireVC.h // tp_ankiety // // Created by <NAME> on 04/12/14. // Copyright (c) 2014 <NAME>. All rights reserved. // #import "ViewPagerController.h" #import "Questionnaire.h" @protocol QuestionnaireVCDelegate <NSObject> - (void)deleteQuestionnaireFromModel:(Questionnaire *)questionnaire; @end @inte...
30.06
16
(translation_unit) "//\n// QuestionnaireVC.h\n// tp_ankiety\n//\n// Created by <NAME> on 04/12/14.\n// Copyright (c) 2014 <NAME>. All rights reserved.\n//\n\n#import "ViewPagerController.h"\n#import "Questionnaire.h"\n\n@protocol QuestionnaireVCDelegate <NSObject>\n\n- (void)deleteQuestionnaireFromModel:(Questionna...
92
13
{"language": "c", "success": true, "metadata": {"lines": 16, "avg_line_length": 30.06, "nodes": 62, "errors": 0, "source_hash": "14edaa0a5e643f7857e7fa1366ee032e61f179970507c2883a6add6fc7695842", "categorized_nodes": 33}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import \...
5,069
c
#import "TLStatement.h" #import "TLExpression.h" #import "TLScope.h" #import "TLCompoundStatement.h" #import "TLForeachLoop.h" #import "TLWhileLoop.h" #import "TLConditional.h" #import "TLAssignment.h" #import "TLObject.h" #import "TLIdentifier.h" #import "TLOperation.h" #import "TLMethodInvocation.h" NSString *cons...
25.64
14
(translation_unit) "#import "TLStatement.h"\n#import "TLExpression.h"\n#import "TLScope.h"\n\n#import "TLCompoundStatement.h"\n#import "TLForeachLoop.h"\n#import "TLWhileLoop.h"\n#import "TLConditional.h"\n#import "TLAssignment.h"\n\n#import "TLObject.h"\n#import "TLIdentifier.h"\n#import "TLOperation.h"\n#import "TLMe...
53
0
{"language": "c", "success": true, "metadata": {"lines": 14, "avg_line_length": 25.64, "nodes": 46, "errors": 0, "source_hash": "8a425bfae318ad3fe905989d1b4df201c12cb0a323ae4675545cb62187675769", "categorized_nodes": 18}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import \...
5,070
c
// // Created by <NAME> on 31/03/2018. // #ifndef VOICERECOGNITION_GRAPHNODE_H #define VOICERECOGNITION_GRAPHNODE_H #include <vector> #include <GraphNodeFWD.h> #include <TokenFWD.h> #include <Phoneme.h> #include <list> namespace SpeechRecognition::Decoder { /** * @brief Class representing a node in a graph...
34.38
40
(translation_unit) "//\n// Created by <NAME> on 31/03/2018.\n//\n\n#ifndef VOICERECOGNITION_GRAPHNODE_H\n#define VOICERECOGNITION_GRAPHNODE_H\n\n\n#include <vector>\n#include <GraphNodeFWD.h>\n#include <TokenFWD.h>\n#include <Phoneme.h>\n#include <list>\n\nnamespace SpeechRecognition::Decoder {\n /**\n * @brief ...
180
12
{"language": "c", "success": true, "metadata": {"lines": 40, "avg_line_length": 34.38, "nodes": 116, "errors": 0, "source_hash": "5d8171f22dc4b6ce2879b0ff33aacb156f344c99e62b74fd73a74ec95f16bd36", "categorized_nodes": 78}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
5,071
c
#ifndef DYNAMICS_H #define DYNAMICS_H class Dynamics { public: virtual double iterate(double input) = 0; }; #endif
13.88
8
(translation_unit) "#ifndef DYNAMICS_H\n#define DYNAMICS_H\n\nclass Dynamics\n{\n public:\n virtual double iterate(double input) = 0; \n};\n\n#endif\n" (preproc_ifdef) "#ifndef DYNAMICS_H\n#define DYNAMICS_H\n\nclass Dynamics\n{\n public:\n virtual double iterate(double input) = 0; \n};\n\n#endif" (#ifndef) "#i...
35
1
{"language": "c", "success": true, "metadata": {"lines": 8, "avg_line_length": 13.88, "nodes": 23, "errors": 0, "source_hash": "e95723ba19507c51eec21a16786f648c514e19be8c73f5a2afdd468176f69616", "categorized_nodes": 15}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef D...
5,072
c
/* * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) * From ASN.1 module "DSRC" * found in "J2735_201603_CARMA2.asn1" * `asn1c -pdu=MessageFrame -fcompound-names -gen-PER` */ #ifndef _TrailerData_H_ #define _TrailerData_H_ #include <asn_application.h> /* Including external dependencies */ #include "SSPi...
25.32
40
(translation_unit) "/*\n * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)\n * From ASN.1 module "DSRC"\n * found in "J2735_201603_CARMA2.asn1"\n * `asn1c -pdu=MessageFrame -fcompound-names -gen-PER`\n */\n\n#ifndef _TrailerData_H_\n#define _TrailerData_H_\n\n\n#include <asn_application.h>\n\n/* Including extern...
109
0
{"language": "c", "success": true, "metadata": {"lines": 40, "avg_line_length": 25.32, "nodes": 73, "errors": 0, "source_hash": "65392e6e0bdf03378ab91611b64c9528ef9d41f13d10d6796d93c210ebfb2c92", "categorized_nodes": 64}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef\...
5,073
c
/* Copyright 2016 <NAME> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed ...
33.52
42
(translation_unit) "/*\nCopyright 2016 <NAME>\n\nLicensed under the Apache License, Version 2.0 (the "License");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in w...
235
9
{"language": "c", "success": true, "metadata": {"lines": 42, "avg_line_length": 33.52, "nodes": 144, "errors": 0, "source_hash": "8c9f104868a8a10869eca3b22c26f27da1de43feb68e3684494d7a4284d79eef", "categorized_nodes": 101}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
5,074
c
// // SudoChess.h // SudoChess // // Created by <NAME> on 9/2/19. // Copyright © 2019 <NAME>. All rights reserved. // #import <Foundation/Foundation.h> //! Project version number for SudoChess. FOUNDATION_EXPORT double SudoChessVersionNumber; //! Project version string for SudoChess. FOUNDATION_EXPORT const unsi...
36.54
13
(translation_unit) "//\n// SudoChess.h\n// SudoChess\n//\n// Created by <NAME> on 9/2/19.\n// Copyright © 2019 <NAME>. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n\n//! Project version number for SudoChess.\nFOUNDATION_EXPORT double SudoChessVersionNumber;\n\n//! Project version string for SudoCh...
33
1
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 36.54, "nodes": 15, "errors": 0, "source_hash": "a014e7bf5ed6ef11c2d0efebe142f22fa5b7282c9946e920640b23e6b0127504", "categorized_nodes": 11}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <F...
5,075
c
/* dbl-64/s_sin.c uses NAN and sincos identifiers internally. */ #define sincos sincos_disable #include <math_ldbl_opt.h> #include <gnu/option-groups.h> #undef NAN #undef sincos #if __OPTION_EGLIBC_LIBM_BIG # include <sysdeps/ieee754/dbl-64/s_sin.c> #else # include <sysdeps/ieee754/dbl-wrap/s_sin.c> #endif #if LONG_DO...
28.87
15
(translation_unit) "/* dbl-64/s_sin.c uses NAN and sincos identifiers internally. */\n#define sincos sincos_disable\n#include <math_ldbl_opt.h>\n#include <gnu/option-groups.h>\n#undef NAN\n#undef sincos\n#if __OPTION_EGLIBC_LIBM_BIG\n# include <sysdeps/ieee754/dbl-64/s_sin.c>\n#else\n# include <sysdeps/ieee754/dbl-wra...
71
0
{"language": "c", "success": true, "metadata": {"lines": 15, "avg_line_length": 28.87, "nodes": 52, "errors": 0, "source_hash": "42570b093e5c8527654fe8c1cd4adfb292539205cdba0be9ca07c8866932191d", "categorized_nodes": 38}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_def", "text": "#define si...
5,076
c
/*************************************************************************** * * PROGRAM NAME: PMCTLSPP * ------------- * * MODULE NAME: COMBODLGPROC * ------------ * * VERSION: 1.0 * -------- * * DESCRIPTION: * ------------ * Initialisation module * * FUNCTIONS: * ---------- * InputHoo...
34.52
134
(translation_unit) "/***************************************************************************\n *\n * PROGRAM NAME: PMCTLSPP\n * -------------\n *\n * MODULE NAME: COMBODLGPROC\n * ------------\n *\n * VERSION: 1.0\n * --------\n *\n * DESCRIPTION:\n * ------------\n * Initialisation module\n *\n * FUNCTI...
694
5
{"language": "c", "success": true, "metadata": {"lines": 134, "avg_line_length": 34.52, "nodes": 408, "errors": 0, "source_hash": "6f515ce2c1dc2548fc1ad28ce3127f389d74537364368347c23dc2a5a5f62524", "categorized_nodes": 327}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_def", "text": "#define...
5,077
c
#ifndef VFPay_VFOffinePay_h #define VFPay_VFOffinePay_h #import "VFOfflinePayReq.h" #import "VFOfflinePayResp.h" #import "VFOfflineStatusReq.h" #import "VFOfflineStatusResp.h" #import "VFOfflineRevertReq.h" #import "VFOfflineRevertResp.h" #endif
26.33
9
(translation_unit) "#ifndef VFPay_VFOffinePay_h\n#define VFPay_VFOffinePay_h\n\n#import "VFOfflinePayReq.h"\n#import "VFOfflinePayResp.h"\n#import "VFOfflineStatusReq.h"\n#import "VFOfflineStatusResp.h"\n#import "VFOfflineRevertReq.h"\n#import "VFOfflineRevertResp.h"\n\n#endif\n" (preproc_ifdef) "#ifndef VFPay_VFOffi...
26
0
{"language": "c", "success": true, "metadata": {"lines": 9, "avg_line_length": 26.33, "nodes": 25, "errors": 0, "source_hash": "99019a1e26eccb41981af0abfa4c964889500aaa0703705cbc3b357044e71c57", "categorized_nodes": 11}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef V...
5,078
c
/*ckwg +5 * Copyright 2013 by Kitware, Inc. All Rights Reserved. Please refer to * KITWARE_LICENSE.TXT for licensing information, or contact General Counsel, * Kitware, Inc., 28 Corporate Drive, Clifton Park, NY 12065. */ #ifndef __vtkVgImageIcon_h #define __vtkVgImageIcon_h #include "vtkBalloonRepresentation.h" ...
30.65
54
(translation_unit) "/*ckwg +5\n * Copyright 2013 by Kitware, Inc. All Rights Reserved. Please refer to\n * KITWARE_LICENSE.TXT for licensing information, or contact General Counsel,\n * Kitware, Inc., 28 Corporate Drive, Clifton Park, NY 12065.\n */\n\n#ifndef __vtkVgImageIcon_h\n#define __vtkVgImageIcon_h\n\n#include ...
339
7
{"language": "c", "success": true, "metadata": {"lines": 54, "avg_line_length": 30.65, "nodes": 193, "errors": 0, "source_hash": "9aa1300e571596c28cbc517ea1244fef0b7390d05e066b220d1d79354078efd8", "categorized_nodes": 141}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
5,079
c
#include <stdio.h> char map[100][101]; short path[10000][2]; short nlines; short ncols; /*Linha,coluna a procurar; caracter esperado; numero de posicoes por onde passa a possibilidade de caminho; *x,y ultima posicao por onde passou */ short checkPath(short line, short col, char car, short count, short x, short y){ ...
26.02
174
(translation_unit) "#include <stdio.h>\n\nchar map[100][101];\nshort path[10000][2];\nshort nlines;\nshort ncols;\n\n/*Linha,coluna a procurar; caracter esperado; numero de posicoes por onde passa a possibilidade de caminho;\n *x,y ultima posicao por onde passou */\nshort checkPath(short line, short col, char car, shor...
2,188
0
{"language": "c", "success": true, "metadata": {"lines": 174, "avg_line_length": 26.02, "nodes": 1116, "errors": 0, "source_hash": "90853b4eeb765ba638eceec6b0f0df7a7f77d550c08dfe7fc7ec7c9fed167a79", "categorized_nodes": 805}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#i...
5,080
c
#include "header2.h" #include <stdio.h> void header2_test(Vector_int *v) { puts("header2_test"); v->capacity += 2; }
19.83
6
(translation_unit) "#include "header2.h"\n#include <stdio.h>\n\nvoid header2_test(Vector_int *v) {\n puts("header2_test");\n v->capacity += 2;\n}\n" (preproc_include) "#include "header2.h"\n" (#include) "#include" (string_literal) ""header2.h"" (") """ (string_content) "header2.h" (") ...
45
0
{"language": "c", "success": true, "metadata": {"lines": 6, "avg_line_length": 19.83, "nodes": 26, "errors": 0, "source_hash": "0ca1994196a443e740126e9e323b25d6a2c4e3b3265223481c6ff0cf7a94a74a", "categorized_nodes": 20}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#includ...
5,081
c
#ifndef JFC_TEST_INCLUDE_H #define JFC_TEST_INCLUDE_H #include <gdkgraphics/buildinfo.h> #include <stdexcept> #if defined JFC_TARGET_PLATFORM_Linux || defined JFC_TARGET_PLATFORM_Windows #define GLEW_STATIC #include <GL/glew.h> #endif #include <GLFW/glfw3.h> #include <iostream> inline void initGL() { static b...
35.1
67
(translation_unit) "#ifndef JFC_TEST_INCLUDE_H\n#define JFC_TEST_INCLUDE_H\n\n#include <gdkgraphics/buildinfo.h>\n\n#include <stdexcept>\n\n#if defined JFC_TARGET_PLATFORM_Linux || defined JFC_TARGET_PLATFORM_Windows\n#define GLEW_STATIC\n#include <GL/glew.h>\n#endif\n\n#include <GLFW/glfw3.h>\n\n#include <iostream>\n\...
497
13
{"language": "c", "success": true, "metadata": {"lines": 67, "avg_line_length": 35.1, "nodes": 276, "errors": 0, "source_hash": "bf436fb9abb1d394e1eafa71c9b0631b4459f81e49bf9d7abc00de3eba9c1904", "categorized_nodes": 181}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
5,082
c
/* * Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana * University Research and Technology * Corporation. All rights reserved. * Copyright (c) 2004-2011 The University of Tennessee and The University * of Tennessee Resea...
37.09
181
(translation_unit) "/*\n * Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana\n * University Research and Technology\n * Corporation. All rights reserved.\n * Copyright (c) 2004-2011 The University of Tennessee and The University\n * ...
1,216
0
{"language": "c", "success": true, "metadata": {"lines": 181, "avg_line_length": 37.09, "nodes": 712, "errors": 0, "source_hash": "10741869e973bfaace23f12c436f35893c1c19a56b97566d2d14260e06fd7e85", "categorized_nodes": 549}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
5,083
c
#include <stdlib.h> #include "i2cMaster.h" #include "i2cMasterInputStream.h" #include "i2cMasterSetup.h" #include "../../../common/i2c/i2cDebug.h" #include "../../../common/io/buffer.h" #include "../../../common/io/inputStream.h" // DEBUG #include "../../../common/log/logHandler.h" #include "../../../c...
27.07
118
(translation_unit) "#include <stdlib.h> \n \n#include "i2cMaster.h" \n#include "i2cMasterInputStream.h" \n#include "i2cMasterSetup.h" \n \n#include "../../../common/i2c/i2cDebug.h" \n \n#include "../../../common/io/buffer.h" \n#include "../../../common/io/inputStream.h" \n \n// DEBUG \n#include "../../../common/log/log...
569
0
{"language": "c", "success": true, "metadata": {"lines": 118, "avg_line_length": 27.07, "nodes": 378, "errors": 0, "source_hash": "47243aeab6b00fbb014a023697508aca6e762ca912d7d70d67ca536e678e9411", "categorized_nodes": 252}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
5,084
c
#pragma once #include <cstddef> #include <string> namespace avocado { struct Replica { int session_id; }; struct Replica_info { int session_id; size_t base_id; std::string uri; }; } //avocado
14.38
13
(translation_unit) "#pragma once\n\n#include <cstddef>\n#include <string>\n\nnamespace avocado {\n\nstruct Replica {\n int session_id;\n};\n\nstruct Replica_info {\n int session_id;\n size_t base_id;\n std::string uri;\n};\n\n} //avocado\n" (preproc_call) "#pragma once\n" (preproc_directive) "#pragma" (pr...
51
1
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 14.38, "nodes": 32, "errors": 0, "source_hash": "e84b652eed8ef722d9e38994cf2c400cbd0182da3697724712e0fc90c0748d83", "categorized_nodes": 26}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
5,085
c
/* * Optional line before binary operator must be discarded. */ int main(void) { if (!(vmm_softc->mode == VMM_MODE_EPT || vmm_softc->mode == VMM_MODE_RVI)) return 0; }
16.8
10
(translation_unit) "/*\n * Optional line before binary operator must be discarded.\n */\n\nint\nmain(void)\n{\n if (!(vmm_softc->mode == VMM_MODE_EPT\n || vmm_softc->mode == VMM_MODE_RVI))\n return 0;\n}\n" (comment) "/*\n * Optional line before binary operator must be discarded.\n */" (function_definition) "i...
44
0
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 16.8, "nodes": 28, "errors": 0, "source_hash": "57245e8951cf42d25cc605bd0a2f98591401d97696ca634fcccfd9a9965de58d", "categorized_nodes": 21}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "function_definition", "text": "int...
5,086
c
/* http://www.w3.org/TR/SVG/pservers.html#InterfaceSVGStopElement interface SVGStopElement : SVGElement, SVGStylable { readonly attribute SVGAnimatedNumber offset; */ #import "SVGElement.h" #import "SVGUtils.h" @interface SVGGradientStop : SVGElement @property (nonatomic, readonly)CGFloat offset; /** FIXME: ...
35.75
16
(translation_unit) "/*\n http://www.w3.org/TR/SVG/pservers.html#InterfaceSVGStopElement\n \n interface SVGStopElement : SVGElement,\n SVGStylable {\n readonly attribute SVGAnimatedNumber offset;\n */\n\n#import "SVGElement.h"\n#import "SVGUtils.h"\n\n\n@interface SVGGradientStop : SVGElement\n\n@property (nonatomic, re...
67
14
{"language": "c", "success": true, "metadata": {"lines": 16, "avg_line_length": 35.75, "nodes": 47, "errors": 0, "source_hash": "a25a43d66aad06befae90d96ab1178bd8e9ae858aaf9ecbbe2c6ab548be512f5", "categorized_nodes": 26}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import \...
5,087
c
#include<stdio.h> #include<stdlib.h> #include"list.h" #define CloseNode 1 void clear(Item * item); void InitializeList(List * plist) { plist->items=0; } int ListIsEmpty(const List *plist) { if(plist->items==0) return true; else return false; } int ListIsFull(const List *plist) { if(plist->items==MAXSIZE) ...
15.62
53
(translation_unit) "#include<stdio.h>\n#include<stdlib.h>\n#include"list.h"\n\n#define CloseNode 1\n\nvoid clear(Item * item);\n\nvoid InitializeList(List * plist)\n{\n plist->items=0;\n}\n\nint ListIsEmpty(const List *plist)\n{\n if(plist->items==0)\n return true;\n else\n return false;\n}\n\nint ListIsFull(const Li...
397
0
{"language": "c", "success": true, "metadata": {"lines": 53, "avg_line_length": 15.62, "nodes": 254, "errors": 0, "source_hash": "ec3a0b94ebd11a667cc86dd5de30c5c604d3c4eb5ff0577cf8d5871d61fdabbc", "categorized_nodes": 179}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
5,088
c
// // MessageModel.h // KIMessage // // Created by GifKMing on 2018/5/5. // Copyright © 2018年 KZGifMaker. All rights reserved. // #import <Foundation/Foundation.h> @interface MessageModel : NSObject @property (nonatomic,copy ) NSString *imessageImageURL; @property (nonatomic,copy ) NSString *imessageTitle; @pr...
30.73
15
(translation_unit) "//\n// MessageModel.h\n// KIMessage\n//\n// Created by GifKMing on 2018/5/5.\n// Copyright © 2018年 KZGifMaker. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n\n@interface MessageModel : NSObject\n\n@property (nonatomic,copy ) NSString *imessageImageURL;\n@property (nonatomic,cop...
105
20
{"language": "c", "success": true, "metadata": {"lines": 15, "avg_line_length": 30.73, "nodes": 74, "errors": 0, "source_hash": "b5269fc5572d173d50cfce2404fcb51e7e6e6c409943d6c3fabb493e7b509921", "categorized_nodes": 38}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "port <Fou...
5,089
c
/* * This header is generated by classdump-dyld 1.0 * on Sunday, September 27, 2020 at 11:42:14 AM Mountain Standard Time * Operating System: Version 14.0 (Build 18A373) * Image Source: /System/Library/PrivateFrameworks/TeaUI.framework/TeaUI * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by <NAME>. */ ...
30.75
28
(translation_unit) "/*\n* This header is generated by classdump-dyld 1.0\n* on Sunday, September 27, 2020 at 11:42:14 AM Mountain Standard Time\n* Operating System: Version 14.0 (Build 18A373)\n* Image Source: /System/Library/PrivateFrameworks/TeaUI.framework/TeaUI\n* classdump-dyld is licensed under GPLv3, Copyright ©...
191
17
{"language": "c", "success": true, "metadata": {"lines": 28, "avg_line_length": 30.75, "nodes": 113, "errors": 0, "source_hash": "9da5bc0aea9f1be38d729fe97faed925885034d084d96ed3da8a8aa1174ea9f2", "categorized_nodes": 74}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <...
5,090
c
/* * Copyright (c) 2005-2017 National Technology & Engineering Solutions * of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with * NTESS, the U.S. Government retains certain rights in this software. * * Redistribution and use in source and binary forms, with or without * modification, are permitt...
33.47
130
(translation_unit) "/*\n * Copyright (c) 2005-2017 National Technology & Engineering Solutions\n * of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with\n * NTESS, the U.S. Government retains certain rights in this software.\n *\n * Redistribution and use in source and binary forms, with or without\n *...
789
0
{"language": "c", "success": true, "metadata": {"lines": 130, "avg_line_length": 33.47, "nodes": 452, "errors": 0, "source_hash": "7ca74aa7dad6a21d0a12b7323afb9fc150eb92a238a449e5400c1e3f02396342", "categorized_nodes": 319}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
5,091
c
#ifndef PixelToFEDAssociateFromAscii_H #define PixelToFEDAssociateFromAscii_H /** \class PixelToFEDAssociateFromAscii * Check to which FED pixel module belongs to. * The associacions are read from the datafile */ #include <vector> #include <string> #include "CalibTracker/SiPixelConnectivity/interface/TRange.h" ...
36.45
55
(translation_unit) "#ifndef PixelToFEDAssociateFromAscii_H\n#define PixelToFEDAssociateFromAscii_H\n\n/** \class PixelToFEDAssociateFromAscii\n * Check to which FED pixel module belongs to.\n * The associacions are read from the datafile\n */\n\n#include <vector>\n#include <string>\n\n#include "CalibTracker/SiPixelCo...
443
36
{"language": "c", "success": true, "metadata": {"lines": 55, "avg_line_length": 36.45, "nodes": 241, "errors": 0, "source_hash": "9348d9e2a335559ba9881b82bc7a64981265a12f84bf77fc388d32a5e5b20de7", "categorized_nodes": 156}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
5,092
c
/* * Copyright (c) 2018 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contribut...
40.03
30
(translation_unit) "/*\n * Copyright (c) 2018 The WebRTC project authors. All Rights Reserved.\n *\n * Use of this source code is governed by a BSD-style license\n * that can be found in the LICENSE file in the root of the source\n * tree. An additional intellectual property rights grant can be found\n * in the fi...
154
5
{"language": "c", "success": true, "metadata": {"lines": 30, "avg_line_length": 40.03, "nodes": 80, "errors": 0, "source_hash": "7b241c86e90036ce1e3e8cbfa4f35e3481c5da8b3c714a291692ebf5b91a9be4", "categorized_nodes": 60}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
5,093
c
/* // Licensed to DynamoBI Corporation (DynamoBI) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. DynamoBI licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may ...
33.65
128
(translation_unit) "/*\n// Licensed to DynamoBI Corporation (DynamoBI) under one\n// or more contributor license agreements. See the NOTICE file\n// distributed with this work for additional information\n// regarding copyright ownership. DynamoBI licenses this file\n// to you under the Apache License, Version 2.0 (th...
439
21
{"language": "c", "success": true, "metadata": {"lines": 128, "avg_line_length": 33.65, "nodes": 261, "errors": 0, "source_hash": "c5100bd55a64087998a54d354ab26a03f263fdc19cd24369c6384da9b8372e93", "categorized_nodes": 181}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
5,094
c
#include <stdio.h> int num; int mfunc(void){ if(num==0){ return 0; } if(num==1){ return 1; } int zero = 0, one = 1, sum; for(int i=0; i<num-1; i++){ sum = zero + one ; zero = one; one = sum; } return sum; } int main(void){ int a; scanf("%d",&num); if(num < 0 || num > 45){ return 0; } a=mfunc...
12.08
26
(translation_unit) "#include <stdio.h>\n\nint num;\n\nint mfunc(void){\n if(num==0){\n return 0;\n }\n if(num==1){\n return 1;\n }\n int zero = 0, one = 1, sum;\n for(int i=0; i<num-1; i++){\n sum = zero + one ;\n zero = one;\n one = sum;\n }\n return sum;\n}\n\nint main(void){\n int a;\n scanf("%d",&num);\n if(nu...
192
0
{"language": "c", "success": true, "metadata": {"lines": 26, "avg_line_length": 12.08, "nodes": 115, "errors": 0, "source_hash": "1e5d93a945a649f7156badd2bb0f5a7e19ead44d32de5f603af9c0b051dcb3f9", "categorized_nodes": 83}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
5,095
c
version https://git-lfs.github.com/spec/v1 oid sha256:b9ccfbd30c643946ce0def383e9c3bdb4c877d442f30373cbae92e62a87fff56 size 1812
42
3
(translation_unit) "version https://git-lfs.github.com/spec/v1\noid sha256:b9ccfbd30c643946ce0def383e9c3bdb4c877d442f30373cbae92e62a87fff56\nsize 1812\n" (declaration) "version https://git-lfs.github.com/spec/v1\noid" (type_identifier) "version" (ERROR) "https:" (identifier) "https" (:) ":" (c...
15
2
{"language": "c", "success": true, "metadata": {"lines": 3, "avg_line_length": 42.0, "nodes": 10, "errors": 0, "source_hash": "93928294386405908dcef84f3147411bf2f8bc0ec145681c65d51c3ef60a7c4e", "categorized_nodes": 8}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "declaration", "text": "version https...
5,096
c
// // HHAttachmentSheetButtonItemView.h // HHAttachmentSheetView // // Created by Herui on 15/12/23. // Copyright © 2015年 hirain. All rights reserved. // #import "HHAttachmentSheetItemView.h" @interface HHAttachmentSheetButtonItemView : HHAttachmentSheetItemView - (instancetype)initWithTitle:(NSString *)title pr...
43.88
16
(translation_unit) "//\n// HHAttachmentSheetButtonItemView.h\n// HHAttachmentSheetView\n//\n// Created by Herui on 15/12/23.\n// Copyright © 2015年 hirain. All rights reserved.\n//\n\n#import "HHAttachmentSheetItemView.h"\n\n@interface HHAttachmentSheetButtonItemView : HHAttachmentSheetItemView\n\n- (instancetype)in...
119
14
{"language": "c", "success": true, "metadata": {"lines": 16, "avg_line_length": 43.88, "nodes": 75, "errors": 0, "source_hash": "f63c0a7d73e768ff3e4038eb893b5d5789b68cfdd4a9cdc2f6d80a25c990d1b9", "categorized_nodes": 47}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "port \"HH...
5,097
c
/* Copyright (c) 2020 <NAME> <EMAIL> Permission to use, copy, modify, and distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIE...
23.08
237
(translation_unit) "/*\n\nCopyright (c) 2020 <NAME> <EMAIL>\n\nPermission to use, copy, modify, and distribute \nthis software for any purpose with or without fee\nis hereby granted, provided that the above copyright\nnotice and this permission notice appear in all copies.\n\nTHE SOFTWARE IS PROVIDED "AS IS" AND THE A...
1,523
0
{"language": "c", "success": true, "metadata": {"lines": 237, "avg_line_length": 23.08, "nodes": 893, "errors": 0, "source_hash": "df4c6cabe47a123cf346131cc57c662ffb6de9aeb731ffc466554490e4cd75a8", "categorized_nodes": 627}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
5,098
c
#pragma once #include <SprueEngine/Texturing/TextureBakers.h> #include <vector> namespace SprueEngine { class SprueModel; class TexturingComponent; struct RasterizerData; class SprueTextureBaker : public TextureBaker { BASECLASSDEF(SprueTextureBaker, TextureBaker); ...
23.58
31
(translation_unit) "#pragma once \n \n#include <SprueEngine/Texturing/TextureBakers.h> \n \n#include <vector> \n \nnamespace SprueEngine \n{ \n \n class SprueModel; \n class TexturingComponent; \n \n struct RasterizerData; \n \n class SprueTextureBaker : public TextureBaker \n { \n BASECLASSDEF(Sp...
166
8
{"language": "c", "success": true, "metadata": {"lines": 31, "avg_line_length": 23.58, "nodes": 110, "errors": 0, "source_hash": "aebe1fe0eb89d79dfaed57e1ed3ee0ea3412f67abad4fdc30d54696dcc9bc5e4", "categorized_nodes": 70}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma ...
5,099