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
/*! * @header CWNetwork.h * @copyright 2009-2014 Apple Inc. All rights reserved. */ #ifndef _CORE_WLAN_NETWORK_H_ #define _CORE_WLAN_NETWORK_H_ #import <Foundation/Foundation.h> #import <CoreWLAN/CoreWLANTypes.h> NS_ASSUME_NONNULL_BEGIN @class CWChannel; /*! * @class * * @abstract * Represents a device part...
25.22
154
(translation_unit) "/*!\n * @header CWNetwork.h\n * @copyright 2009-2014 Apple Inc. All rights reserved.\n */\n\n#ifndef _CORE_WLAN_NETWORK_H_\n#define _CORE_WLAN_NETWORK_H_\n\n#import <Foundation/Foundation.h>\n#import <CoreWLAN/CoreWLANTypes.h>\n\nNS_ASSUME_NONNULL_BEGIN\n@class CWChannel;\n\n/*!\n * @class\n *\n * @...
406
55
{"language": "c", "success": true, "metadata": {"lines": 154, "avg_line_length": 25.22, "nodes": 278, "errors": 0, "source_hash": "a8f6dd052f4c3feaa51d760a7a4ace3b82c7c2a5dc80dbb0e54270c4ebe9e2ef", "categorized_nodes": 175}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
100
c
#ifndef QUALITYLOGGER_H #define QUALITYLOGGER_H #include <vector> #include <map> typedef std::vector<std::pair<unsigned int, double>> LogVector; typedef std::map<int, LogVector> LogVectorMap; class QualityLogger { public: static QualityLogger& getInstance() { static QualityLogger instance; return instance; } ...
31
34
(translation_unit) "#ifndef QUALITYLOGGER_H\n#define QUALITYLOGGER_H\n\n#include <vector>\n#include <map>\n\ntypedef std::vector<std::pair<unsigned int, double>> LogVector;\ntypedef std::map<int, LogVector> LogVectorMap;\n\nclass QualityLogger {\npublic:\n static QualityLogger& getInstance()\n {\n static QualityLogger...
365
20
{"language": "c", "success": true, "metadata": {"lines": 34, "avg_line_length": 31.0, "nodes": 228, "errors": 0, "source_hash": "c0a623a2e04afe3e76cf740e868a4422df3ef8ebeb94b0b221c668b8607e8716", "categorized_nodes": 145}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
101
c
/** * Copyright (c) Facebook, Inc. and its affiliates. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include "common/Dictionary.h" #include "decoder/LM.h" // KenLM forward declarations ...
28.98
46
(translation_unit) "/**\n * Copyright (c) Facebook, Inc. and its affiliates.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n#pragma once\n\n#include "common/Dictionary.h"\n#include "decoder/LM.h"\...
276
20
{"language": "c", "success": true, "metadata": {"lines": 46, "avg_line_length": 28.98, "nodes": 145, "errors": 0, "source_hash": "d5bcdb8a1637bfe539ca1a434a47f9e5579f0a2be8c64093c847d6d160a94c46", "categorized_nodes": 106}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
102
c
/* * Copyright (C) 2010 DiamondCore <http://easy-emu.de/> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * ...
29.4
154
(translation_unit) "/*\n * Copyright (C) 2010 DiamondCore <http://easy-emu.de/>\n *\n * This program is free software; you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation; either version 2 of the License, or\n * (at your option)...
791
8
{"language": "c", "success": true, "metadata": {"lines": 154, "avg_line_length": 29.4, "nodes": 550, "errors": 0, "source_hash": "aa4d52bf0fc50435512c750a55992d86d84bd116e9f02aac0b29615390dc6f67", "categorized_nodes": 386}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
103
c
// // QHSStatAgent.h // QHSAnalyticsSdk // // Created by sunyimin on 16/5/23. // Copyright © 2016年 北京奇虎科技有限公司. All rights reserved. // #import <Foundation/Foundation.h> #import "QHSConfiguration.h" #import "QHSCustomEvent.h" #import "QHSLive.h" @interface QHSStatAgent : NSObject ///------------------------------...
24.07
226
(translation_unit) "//\n// QHSStatAgent.h\n// QHSAnalyticsSdk\n//\n// Created by sunyimin on 16/5/23.\n// Copyright © 2016年 北京奇虎科技有限公司. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n#import "QHSConfiguration.h"\n#import "QHSCustomEvent.h"\n#import "QHSLive.h"\n\n@interface QHSStatAgent : NSObject\n...
848
78
{"language": "c", "success": true, "metadata": {"lines": 226, "avg_line_length": 24.07, "nodes": 531, "errors": 0, "source_hash": "5cf9a4479d69680f63fa982335f823461e8227ce48d10342d14de08dffed5317", "categorized_nodes": 301}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "ndatio...
104
c
#ifndef HEAP_POPULATION_H #define HEAP_POPULATION_H #include "individual.h" #define FIRST_LEAF_INDEX (this->species_heap.size() / 2) #define NUMBER_OF_SPECIES (1 + species_heap.size() / 2) class HeapPopulation { protected: class Species {//basically it is just an array private: uint32 population; Indiv...
35.64
42
(translation_unit) "#ifndef HEAP_POPULATION_H\n#define HEAP_POPULATION_H\n\n#include "individual.h"\n\n#define FIRST_LEAF_INDEX (this->species_heap.size() / 2)\n#define NUMBER_OF_SPECIES (1 + species_heap.size() / 2)\n\nclass HeapPopulation {\n protected:\n class Species {//basically it is just an array\n private:\n...
393
21
{"language": "c", "success": true, "metadata": {"lines": 42, "avg_line_length": 35.64, "nodes": 242, "errors": 0, "source_hash": "5d59e35fb37e01306a9b1f9f91d525e7a18e37bb2346f1cd754156d2264c6ee2", "categorized_nodes": 141}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
105
c
/* ============================================================================== KbmWriter.h Created: 23 Oct 2020 11:37:09pm Author: Vincenzo ============================================================================== */ #pragma once #include <JuceHeader.h> #include "../Structures/ModeMapper.h" ...
37.2
111
(translation_unit) "/*\n ==============================================================================\n\n KbmWriter.h\n Created: 23 Oct 2020 11:37:09pm\n Author: Vincenzo\n\n ==============================================================================\n*/\n\n#pragma once\n#include <JuceHeader.h>\n#inclu...
823
37
{"language": "c", "success": true, "metadata": {"lines": 111, "avg_line_length": 37.2, "nodes": 512, "errors": 0, "source_hash": "b9cb24fdccf4d3254f27452e4618bb83841ff99750d0d8543af0763f549fb3e2", "categorized_nodes": 342}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
106
c
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- #ifndef __gnu_classpath_jdwp_util_VariableTable__ #define __gnu_classpath_jdwp_util_VariableTable__ #pragma interface #include <java/lang/Object.h> #include <gcj/array.h> extern "Java" { namespace gnu { namespace classpath { namespace...
26.95
39
(translation_unit) "// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-\n\n#ifndef __gnu_classpath_jdwp_util_VariableTable__\n#define __gnu_classpath_jdwp_util_VariableTable__\n\n#pragma interface\n\n#include <java/lang/Object.h>\n#include <gcj/array.h>\n\nextern "Java"\n{\n namespace gnu\n {\n namespac...
334
22
{"language": "c", "success": true, "metadata": {"lines": 39, "avg_line_length": 26.95, "nodes": 196, "errors": 0, "source_hash": "40af530e001e378aec1fab6d8c599312f3a06304a379646211c940b1a48621e5", "categorized_nodes": 128}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
107
c
#include<stdlib.h> #include<string.h> #include<stdio.h> #include "history.h" ll list; void init_ll() { list.head = 0; list.tail = -1; list.counter = 0; } void add_cmd(char *cmd) { list.tail++; list.tail = list.tail % MAX_CMD_SIZE; strcpy(list.cmd_list[list.tail].cmd, cmd); list.counter++; list.cmd_list[lis...
22.46
63
(translation_unit) "#include<stdlib.h>\n#include<string.h>\n#include<stdio.h>\n#include "history.h"\n\nll list; \n\nvoid init_ll()\n{\n list.head = 0;\n list.tail = -1;\n list.counter = 0;\n}\n\n\nvoid add_cmd(char *cmd)\n{\n list.tail++;\n list.tail = list.tail % MAX_CMD_SIZE;\n strcpy(list.cmd_list[list.tail].cmd, cm...
636
0
{"language": "c", "success": true, "metadata": {"lines": 63, "avg_line_length": 22.46, "nodes": 385, "errors": 0, "source_hash": "4c3c3c5f34421201bdd177d5abe0680fafb55a24ff6ca2a863a1105637d21952", "categorized_nodes": 307}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
108
c
/* * abstract-db-p.h * Copyright (C) 2010-2018 Belledonne Communications SARL * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any ...
35.77
35
(translation_unit) "/*\n * abstract-db-p.h\n * Copyright (C) 2010-2018 Belledonne Communications SARL\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 Software Foundation; either version 2\n * of the Licens...
81
2
{"language": "c", "success": true, "metadata": {"lines": 35, "avg_line_length": 35.77, "nodes": 42, "errors": 0, "source_hash": "d2c132582e0f5941202e91c0ab2982677d367f41d40d43b3fd82f216005d5785", "categorized_nodes": 32}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
109
c
/* * Copyright 2017 <NAME> * Copyright 2017 <NAME> * Copyright 2017 <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 right...
26.56
148
(translation_unit) "/*\n * Copyright 2017 <NAME>\n * Copyright 2017 <NAME>\n * Copyright 2017 <NAME>\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the "Software"), to deal\n * in the Software without restriction, including w...
976
0
{"language": "c", "success": true, "metadata": {"lines": 148, "avg_line_length": 26.56, "nodes": 596, "errors": 0, "source_hash": "e80a4e93a582f8cf386c36889497f8ba606f9ee56f516ffef4593993f9ddeba5", "categorized_nodes": 441}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
110
c
/********************************************************************** * * Copyright (c) 2012-2019 <NAME> * Copyright (C) 2015 The Qt Company Ltd. * * You may use this file under the terms of the 2-Clause BSD license * provided with KitchenSink or available at: * * https://opensource.org/licenses/BSD-2-Clause * * Kitc...
32.69
49
(translation_unit) "/**********************************************************************\n*\n* Copyright (c) 2012-2019 <NAME>\n* Copyright (C) 2015 The Qt Company Ltd.\n*\n* You may use this file under the terms of the 2-Clause BSD license\n* provided with KitchenSink or available at:\n*\n* https://opensource.org/li...
292
19
{"language": "c", "success": true, "metadata": {"lines": 49, "avg_line_length": 32.69, "nodes": 178, "errors": 0, "source_hash": "8fe919f966696f03af5501564bee1e12be002f83e452b9e499592c5e726436f6", "categorized_nodes": 125}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
111
c
/* * This header is generated by classdump-dyld 1.0 * on Tuesday, November 5, 2019 at 3:11:50 PM Mountain Standard Time * Operating System: Version 13.0 (Build 17J586) * Image Source: /usr/libexec/securityd * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by <NAME>. */ @class _SFECKeyPair; @protocol C...
31.38
16
(translation_unit) "/*\n* This header is generated by classdump-dyld 1.0\n* on Tuesday, November 5, 2019 at 3:11:50 PM Mountain Standard Time\n* Operating System: Version 13.0 (Build 17J586)\n* Image Source: /usr/libexec/securityd\n* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by <NAME>.\n*/\n\n@class...
76
13
{"language": "c", "success": true, "metadata": {"lines": 16, "avg_line_length": 31.38, "nodes": 51, "errors": 0, "source_hash": "f132ee92ea68bbcfcf5ce3390548ef5e61675ebc1d45a636cbdf304bb0e587e3", "categorized_nodes": 28}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "c", "parent": nu...
112
c
#ifndef __DISIGON_H #define __DISIGON_H #ifndef WIN32 #define DISIGON_API //__declspec(dllexport) #else #ifdef DISIGON_STATIC #define DISIGON_API #else #ifdef DISIGON_EXPORTS #define DISIGON_API //__declspec(dllexport) #else #define DISIGON_API //__declspec(dllimport) #endif #endif #endif #define M...
28.33
359
(translation_unit) "#ifndef __DISIGON_H \n#define __DISIGON_H \n \n#ifndef WIN32 \n#define DISIGON_API //__declspec(dllexport) \n#else \n#ifdef DISIGON_STATIC \n#define DISIGON_API \n#else \n#ifdef DISIGON_EXPORTS \n#define DISIGON_API //__declspec(dllexport) \n#else \n#define DISIGON_API //__declspec(dllimport) \n#end...
1,394
2
{"language": "c", "success": true, "metadata": {"lines": 359, "avg_line_length": 28.33, "nodes": 1132, "errors": 0, "source_hash": "9e1fb7323ce0dd5cf11491ee6c01808c24eeccfeab86ee1ed5ea8565ae9e74b5", "categorized_nodes": 535}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifn...
113
c
// // RightImageButton.h // MyFitness // // Created by <NAME> on 2018/12/18. // Copyright © 2018 KMZJ. All rights reserved. // #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @interface RightImageButton : UIControl - (void)setTitle:(NSString*)string; - (void)setImage:(UIImage*)image; - (void)setTitleFont:(UIF...
23.83
18
(translation_unit) "//\n// RightImageButton.h\n// MyFitness\n//\n// Created by <NAME> on 2018/12/18.\n// Copyright © 2018 KMZJ. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\nNS_ASSUME_NONNULL_BEGIN\n\n@interface RightImageButton : UIControl\n\n- (void)setTitle:(NSString*)string;\n\n- (void)setImage:(UIImag...
126
13
{"language": "c", "success": true, "metadata": {"lines": 18, "avg_line_length": 23.83, "nodes": 75, "errors": 0, "source_hash": "b714348729c48295f35588b42ea9793cd9a957937f841523ade962fd300a457c", "categorized_nodes": 40}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <U...
114
c
#pragma once #include <glm.hpp> #include <vector> #include <Helper.h> #include <iostream> /* An easy way to keep track of what object has moved is once it has moved remove this object and then see if it can be inserted completely into the parent, if not continue up until there is a parent that the object can complet...
25.31
132
(translation_unit) "#pragma once\n#include <glm.hpp>\n\n#include <vector>\n#include <Helper.h>\n#include <iostream>\n\n\n/*\nAn easy way to keep track of what object has moved is once it has moved remove this object and then see if it can be inserted completely into the parent,\nif not continue up until there is a pare...
1,109
54
{"language": "c", "success": true, "metadata": {"lines": 132, "avg_line_length": 25.31, "nodes": 687, "errors": 0, "source_hash": "d1cce5128c145194a8e52dea7cc8003d3becdc6cdf3da4036f7653cff85d5fa8", "categorized_nodes": 452}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragm...
115
c
/* * Atrac 3 compatible decoder data * Copyright (c) 2006-2007 <NAME> * Copyright (c) 2006-2007 <NAME> * * This file is part of FFmpeg. * * FFmpeg is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software F...
29.96
141
(translation_unit) "/* \n * Atrac 3 compatible decoder data \n * Copyright (c) 2006-2007 <NAME> \n * Copyright (c) 2006-2007 <NAME> \n * \n * This file is part of FFmpeg. \n * \n * FFmpeg is free software; you can redistribute it and/or \n * modify it under the terms of the GNU Lesser General Public \n * License as pub...
1,207
0
{"language": "c", "success": true, "metadata": {"lines": 141, "avg_line_length": 29.96, "nodes": 614, "errors": 0, "source_hash": "a3adada6c2375909f13e16c29c14e5421d6f8cf07e05e67fdc00b453793a4c97", "categorized_nodes": 481}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
116
c
#pragma once #include "ScriptComponent.h" #include "CameraComponent.h" #include "ModuleCamera3D.h" #include "ModuleRenderer3D.h" #include "Math/float3x3.h" #include "Geometry/LineSegment.h" #include "Geometry/Triangle.h" #include "Geometry/Capsule.h" #include "ScriptBindings.h" #include <metadata\object-forward.h> #i...
38.06
105
(translation_unit) "#pragma once\n#include "ScriptComponent.h"\n#include "CameraComponent.h"\n#include "ModuleCamera3D.h"\n#include "ModuleRenderer3D.h"\n\n#include "Math/float3x3.h"\n#include "Geometry/LineSegment.h"\n#include "Geometry/Triangle.h"\n#include "Geometry/Capsule.h"\n\n#include "ScriptBindings.h"\n#includ...
1,518
25
{"language": "c", "success": true, "metadata": {"lines": 105, "avg_line_length": 38.06, "nodes": 967, "errors": 0, "source_hash": "bc67bb615e270f113aeef7e6ffeae98a2531ef416025fb8ae490be1d1f95ee32", "categorized_nodes": 698}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragm...
117
c
#ifndef DRONE_NODE__VISIBILITY_CONTROL_H_ #define DRONE_NODE__VISIBILITY_CONTROL_H_ #ifdef __cplusplus extern "C" { #endif // This logic was borrowed (then namespaced) from the examples on the gcc wiki: // https://gcc.gnu.org/wiki/Visibility #if defined _WIN32 || defined __CYGWIN__ #ifdef __GNUC__ #define ...
30.18
39
(translation_unit) "#ifndef DRONE_NODE__VISIBILITY_CONTROL_H_\n#define DRONE_NODE__VISIBILITY_CONTROL_H_\n\n#ifdef __cplusplus\nextern "C"\n{\n#endif\n\n// This logic was borrowed (then namespaced) from the examples on the gcc wiki:\n// https://gcc.gnu.org/wiki/Visibility\n\n#if defined _WIN32 || defined __CYGWIN__...
121
0
{"language": "c", "success": true, "metadata": {"lines": 39, "avg_line_length": 30.18, "nodes": 111, "errors": 0, "source_hash": "0c3a7b4ac2e2447a19791f232d5e051b7bb2d268c440a16670dd25562849819a", "categorized_nodes": 51}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
118
c
/* Created (MFS based): * February 2010 (<NAME>) */ #include "fs.h" #include <assert.h> #include <stdarg.h> #include "puffs.h" #include "puffs_priv.h" /*===========================================================================* * no_sys * *=======================================================...
32.45
100
(translation_unit) "/* Created (MFS based):\n * February 2010 (<NAME>)\n */\n\n#include "fs.h"\n\n#include <assert.h>\n#include <stdarg.h>\n\n#include "puffs.h"\n#include "puffs_priv.h"\n\n\n/*===========================================================================*\n * no_sys *\n *====================...
646
0
{"language": "c", "success": true, "metadata": {"lines": 100, "avg_line_length": 32.45, "nodes": 398, "errors": 0, "source_hash": "60b0de8f64d57f29e404aa322f7814e1bdae0b63221105c5ae3e3daf30c99339", "categorized_nodes": 306}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
119
c
// Custo da lata de cerveja, L1a - 3 // Custo do alumínio por metro quadrado = R$100. #include <stdio.h> #define PI 3.14159 main(){ double raio, altura; double areaL, custoL; scanf("%lf%lf", &raio, &altura); areaL = (2 * (PI * raio * raio)) + (2 * PI * raio * altura); custoL = (areaL * 100); printf("O...
21.62
16
(translation_unit) "// Custo da lata de cerveja, L1a - 3 \n// Custo do alumínio por metro quadrado = R$100. \n#include <stdio.h> \n#define PI 3.14159 \n \nmain(){ \ndouble raio, altura; \ndouble areaL, custoL; \n \nscanf("%lf%lf", &raio, &altura); \n \nareaL = (2 * (PI * raio * raio)) + (2 * PI * raio * altura); \ncust...
113
0
{"language": "c", "success": true, "metadata": {"lines": 16, "avg_line_length": 21.62, "nodes": 70, "errors": 0, "source_hash": "d4e2249441d51d0bbd95a8d5ed7164ae7c3681eb6f57bb38c4072069f291b9de", "categorized_nodes": 49}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "includ...
120
c
/* * Copyright (C) 2015-2017 Alibaba Group Holding Limited */ #include <zephyr.h> #include <misc/util.h> #include <misc/dlist.h> #include "aos/errno.h" #include "aos/kernel.h" #define BT_DBG_ENABLED IS_ENABLED(CONFIG_BLUETOOTH_DEBUG_CORE) #include <common/log.h> #include <stddef.h> #include <stdint.h> #include <s...
24.03
237
(translation_unit) "/*\n * Copyright (C) 2015-2017 Alibaba Group Holding Limited\n */\n\n#include <zephyr.h>\n#include <misc/util.h>\n#include <misc/dlist.h>\n\n#include "aos/errno.h"\n#include "aos/kernel.h"\n\n#define BT_DBG_ENABLED IS_ENABLED(CONFIG_BLUETOOTH_DEBUG_CORE)\n\n#include <common/log.h>\n#include <stddef....
1,742
0
{"language": "c", "success": true, "metadata": {"lines": 237, "avg_line_length": 24.03, "nodes": 1001, "errors": 0, "source_hash": "cffd09b95ae1a510b8542793e0b5c7216129c5b8cb5196fc2f0f2f0f3ac02c9e", "categorized_nodes": 732}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#i...
121
c
#ifndef __SF65_TYPES_H__ #define __SF65_TYPES_H__ typedef enum { SF65_KEEPCASE, SF65_LOWERC, SF65_UPPERC } sf65Case_t; typedef enum { SF65_STREQ, SF65_STRNOTEQ } sf65StrEq_t; /* * Struct to hold values of command line arguments given to sf65 */ typedef struct { int tabs; // 0 = default = ...
37.2
95
(translation_unit) "#ifndef __SF65_TYPES_H__\n#define __SF65_TYPES_H__\n\ntypedef enum {\n SF65_KEEPCASE, SF65_LOWERC, SF65_UPPERC\n} sf65Case_t;\n\ntypedef enum {\n SF65_STREQ, SF65_STRNOTEQ\n} sf65StrEq_t;\n\n/*\n * Struct to hold values of command line arguments given to sf65\n */\ntypedef struct {\n int ta...
379
0
{"language": "c", "success": true, "metadata": {"lines": 95, "avg_line_length": 37.2, "nodes": 268, "errors": 0, "source_hash": "67bdae5caa1cbf5fed275da9667b8aa53bd623b978a490c1729471ddfcf6b513", "categorized_nodes": 184}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
122
c
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by <NAME>. // #import <FinderKit/FI_TLayer.h> @class NSColor; __attribute__((visibility("hidden"))) @interface FI_TCircularProgressLayer : FI_TLayer { double _endAngle; double _animationDurat...
38.19
32
(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 <FinderKit/FI_TLayer.h>\n\n@class NSColor;\n\n__attribute__((visibility("hidden")))\n@interface FI_TCircularProgressLayer : FI_TLayer\n{\n double _end...
296
31
{"language": "c", "success": true, "metadata": {"lines": 32, "avg_line_length": 38.19, "nodes": 180, "errors": 0, "source_hash": "a5196d8f0a32697485b0a5226cbc584117a86d6b64868e96c3ba2250721cc16d", "categorized_nodes": 108}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import...
123
c
#pragma once #include <system/types.h> #include <dependencies/workload_aware.h> namespace MOGSLib { /** * @brief This template structures are meant to be used to hold static data about the schedulers. * @details The only required trait to be informed in these structures is the name of the scheduler. This is meant...
35.71
45
(translation_unit) "#pragma once\n\n#include <system/types.h>\n\n#include <dependencies/workload_aware.h>\n\nnamespace MOGSLib {\n\n/**\n * @brief This template structures are meant to be used to hold static data about the schedulers.\n * @details The only required trait to be informed in these structures is the name o...
450
47
{"language": "c", "success": true, "metadata": {"lines": 45, "avg_line_length": 35.71, "nodes": 279, "errors": 0, "source_hash": "8444a38e1dda0dc6d1c000de0e650adfe207b903a78c2be5f2854ddd4227d551", "categorized_nodes": 178}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
124
c
/** @file Copyright (c) 2020 - 2021, Ampere Computing LLC. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #ifndef PCIE_DEVICE_CONFIG_HII_H_ #define PCIE_DEVICE_CONFIG_HII_H_ #define PCIE_DEVICE_CONFIG_FORMSET_GUID \ { \ 0xEC7B1D21, 0x9167, 0x4B9D, { 0xF7, 0x94, 0xC...
22.79
19
(translation_unit) "/** @file \n \n Copyright (c) 2020 - 2021, Ampere Computing LLC. All rights reserved.<BR> \n \n SPDX-License-Identifier: BSD-2-Clause-Patent \n \n**/ \n \n#ifndef PCIE_DEVICE_CONFIG_HII_H_ \n#define PCIE_DEVICE_CONFIG_HII_H_ \n \n#define PCIE_DEVICE_CONFIG_FORMSET_GUID \ \n { \ \n 0xEC7B1D21, ...
20
0
{"language": "c", "success": true, "metadata": {"lines": 19, "avg_line_length": 22.79, "nodes": 16, "errors": 0, "source_hash": "31bda170434080776d9c370345ed41e298642961d20fb05b82e8af0f8df58ced", "categorized_nodes": 10}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
125
c
#pragma once #include <bal/hw/io.h> #include <bal/hw/mem.h>
19
3
(translation_unit) "#pragma once\n\n#include <bal/hw/io.h>\n#include <bal/hw/mem.h>\n" (preproc_call) "#pragma once\n" (preproc_directive) "#pragma" (preproc_arg) "once" (preproc_include) "#include <bal/hw/io.h>\n" (#include) "#include" (system_lib_string) "<bal/hw/io.h>" (preproc_include) "#inclu...
10
0
{"language": "c", "success": true, "metadata": {"lines": 3, "avg_line_length": 19.0, "nodes": 9, "errors": 0, "source_hash": "d5e51c9812f40d26ce2bbc84d6740e3077d53590089ceaa7463ff7aa42b6298c", "categorized_nodes": 7}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma once\...
126
c
#ifndef SynthPatch1_H #define SynthPatch1_H #include "Synth.h" #include "Modules.h" //#include "ModuleExternalInput.h" class SynthPatch1 : public Synth { public: ModuleConstant param[8]; SynthPatch1() { //Define Node Objects ModuleWavetableOsc *moduleWavetableOsc_1 = new ModuleWavetableOsc(...
21.07
27
(translation_unit) "#ifndef SynthPatch1_H\n#define SynthPatch1_H\n#include "Synth.h"\n#include "Modules.h"\n//#include "ModuleExternalInput.h"\n\n\nclass SynthPatch1 : public Synth\n{\n public:\n ModuleConstant param[8];\n\n SynthPatch1()\n {\n //Define Node Objects\n ModuleWavetableOsc *moduleWavetab...
111
2
{"language": "c", "success": true, "metadata": {"lines": 27, "avg_line_length": 21.07, "nodes": 60, "errors": 0, "source_hash": "c2846a13afecacadf963a5773d10ba84a6aed70fc205f01660bb60cf16e69777", "categorized_nodes": 46}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
127
c
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */ /* * Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana * University Research and Technology * Corporation. All rights reserved. * Copyright (c) 2004-2015 The University of Tennessee a...
35.21
104
(translation_unit) "/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */\n/*\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-2015 The ...
523
0
{"language": "c", "success": true, "metadata": {"lines": 104, "avg_line_length": 35.21, "nodes": 336, "errors": 0, "source_hash": "bcea5fa4800fb639f4b43d0cd4e11484ecd55953c67a71e71fa9a01248524545", "categorized_nodes": 241}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
128
c
/* * Copyright (c) 2020 ETH Zurich. * All rights reserved. * * This file is distributed under the terms in the attached LICENSE file. * If you do not find this file, copies can be found by writing to: * ETH Zurich D-INFK, Universitaetstr. 6, CH-8092 Zurich. Attn: Systems Group. */ #ifndef CLEANQ_IPCQ_H_ #define ...
32.59
27
(translation_unit) "/*\n * Copyright (c) 2020 ETH Zurich.\n * All rights reserved.\n *\n * This file is distributed under the terms in the attached LICENSE file.\n * If you do not find this file, copies can be found by writing to:\n * ETH Zurich D-INFK, Universitaetstr. 6, CH-8092 Zurich. Attn: Systems Group.\n */\n#if...
50
0
{"language": "c", "success": true, "metadata": {"lines": 27, "avg_line_length": 32.59, "nodes": 39, "errors": 0, "source_hash": "124dc3693b12937efac7d7b3d2957f5d7cec48865e5cc93c4487f86df227b448", "categorized_nodes": 27}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
129
c
#pragma once #include <memory> #include <map> #include <vector> #include <array> #include <string> #include "IyathuumCoreLib/lib/glm/glm.hpp" #include "IyathuumCoreLib/BaseTypes/Color.h" #include "AhwassaGraphicsLib/Renderer/RendererTemplate.h" #include "AthanahCommonLib/SupCom/Gamedata/Gamedata.h" namespace Aezesel ...
28.84
38
(translation_unit) "#pragma once\n\n#include <memory>\n#include <map>\n#include <vector>\n#include <array>\n#include <string>\n#include "IyathuumCoreLib/lib/glm/glm.hpp"\n#include "IyathuumCoreLib/BaseTypes/Color.h"\n#include "AhwassaGraphicsLib/Renderer/RendererTemplate.h"\n#include "AthanahCommonLib/SupCom/Gamedata/G...
302
11
{"language": "c", "success": true, "metadata": {"lines": 38, "avg_line_length": 28.84, "nodes": 186, "errors": 0, "source_hash": "7dc521a954690e7d92e95eb3ce75ef06d40d465e6aaa2b4676c7538023afac45", "categorized_nodes": 139}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
130
c
/* Copyright (c) 2003-2017 Dovecot authors, see the included COPYING file */ #include "lib.h" #include "array.h" #include "ioloop.h" #include "mail-index-private.h" #include "mail-index-modseq.h" #include "mail-index-transaction-private.h" int mail_transaction_expunge_guid_cmp(const struct mail_transaction_expunge_gu...
30.29
297
(translation_unit) "/* Copyright (c) 2003-2017 Dovecot authors, see the included COPYING file */\n\n#include "lib.h"\n#include "array.h"\n#include "ioloop.h"\n#include "mail-index-private.h"\n#include "mail-index-modseq.h"\n#include "mail-index-transaction-private.h"\n\nint mail_transaction_expunge_guid_cmp(const struc...
2,744
0
{"language": "c", "success": true, "metadata": {"lines": 297, "avg_line_length": 30.29, "nodes": 1657, "errors": 0, "source_hash": "8dff2c5f66eec8fdee8463ef00a843e07d9ae62f5f7c1a2496ae134289f41559", "categorized_nodes": 1296}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#...
131
c
// // QBChatDialogResult.h // Quickblox // // Created by <NAME> on 14/05/2014. // Copyright (c) 2014 QuickBlox. All rights reserved. // #import "Result.h" /** QBChatDialogResult class declaration. */ /** Overview */ /** This class is an instance, which will be returned to the user after he made ​​the request for ...
30.06
16
(translation_unit) "//\n// QBChatDialogResult.h\n// Quickblox\n//\n// Created by <NAME> on 14/05/2014.\n// Copyright (c) 2014 QuickBlox. All rights reserved.\n//\n\n#import "Result.h"\n\n/** QBChatDialogResult class declaration. */\n/** Overview */\n/** This class is an instance, which will be returned to the user ...
46
8
{"language": "c", "success": true, "metadata": {"lines": 16, "avg_line_length": 30.06, "nodes": 28, "errors": 0, "source_hash": "e7ae2c42695d1d449ce47b19706c3c41730be9ea1d93b92c06727d6821015b5e", "categorized_nodes": 15}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import \...
132
c
@import Security; extern const int includedConst;
24
2
(translation_unit) "@import Security;\n\nextern const int includedConst;\n" (ERROR) "@" (ERROR) "@" (declaration) "import Security;" (type_identifier) "import" (identifier) "Security" (;) ";" (declaration) "extern const int includedConst;" (storage_class_specifier) "extern" (extern) "ext...
15
2
{"language": "c", "success": true, "metadata": {"lines": 2, "avg_line_length": 24.0, "nodes": 9, "errors": 0, "source_hash": "1b86820a58d10add3fbb7074d7080167896fa47c7ada06465c4b3499e5027568", "categorized_nodes": 5}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "@", "parent": null, ...
133
c
/* ** <NAME> "Damdoshi" ** Hanged Bunny Studio 2014-2016 ** ** */ #include <signal.h> #include <stdlib.h> #include <assert.h> #include <lapin.h> t_bunny_response loop(void *data) { t_bunny_window *win = data; t_bunny_position screen; t_bunny_position tmp; screen = bunny_get_screen_size(); tmp.x = ran...
24.81
52
(translation_unit) "/*\n** <NAME> "Damdoshi"\n** Hanged Bunny Studio 2014-2016\n**\n** \n*/\n\n#include <signal.h>\n#include <stdlib.h>\n#include <assert.h>\n#include <lapin.h>\n\nt_bunny_response loop(void *data)\n{\n t_bunny_window *win = data;\n t_bunny_position screen;\n t_bunny_position tmp;\n\n screen = ...
445
0
{"language": "c", "success": true, "metadata": {"lines": 52, "avg_line_length": 24.81, "nodes": 271, "errors": 0, "source_hash": "6e476f7264f6d7c7109c17a950ed82fa89801718e4280085d94c156602248c23", "categorized_nodes": 207}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
134
c
#pragma once #include "sp_common.h" #include "sp_sprite.h" #include "sp_prop.h" #include "sp_transform.h" #include "nlohmann/json.hpp" #include <string> #include <vector> #include <unordered_map> using json = nlohmann::json; class SPDatabase { public: void init(); void shutdown(); static SPSprite fetchSprite(co...
20
20
(translation_unit) "#pragma once\n\n#include "sp_common.h"\n#include "sp_sprite.h"\n#include "sp_prop.h"\n#include "sp_transform.h"\n\n#include "nlohmann/json.hpp"\n\n#include <string>\n#include <vector>\n#include <unordered_map>\n\nusing json = nlohmann::json;\n\nclass SPDatabase {\npublic:\n void init();\n void shutd...
127
2
{"language": "c", "success": true, "metadata": {"lines": 20, "avg_line_length": 20.0, "nodes": 74, "errors": 0, "source_hash": "f7c7ea1678373e856d598eae373a01d1e255242fa41764f529065acf0b271978", "categorized_nodes": 55}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma on...
135
c
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by <NAME>. // #import "NSObject.h" @class NSNumber, QRChapterInfoUpdater, QRSerializedBookInfo; @protocol QRChapterInfoUpdaterDelegate <NSObject> - (void)chapterInfoUpdateFailed:(QRChapterInfoUpdater...
42.54
13
(translation_unit) "//\n// Generated by class-dump 3.5 (64 bit).\n//\n// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by <NAME>.\n//\n\n#import "NSObject.h"\n\n@class NSNumber, QRChapterInfoUpdater, QRSerializedBookInfo;\n\n@protocol QRChapterInfoUpdaterDelegate <NSObject>\n- (void)chapterInfoUpd...
116
19
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 42.54, "nodes": 74, "errors": 0, "source_hash": "75d950289725707a0b67a81f24544a23448a20153c285903d01f4bb7297d6884", "categorized_nodes": 39}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import \...
136
c
/* { dg-do run } */ /* { dg-options "-O2 -mavx512f" } */ /* { dg-require-effective-target avx512f } */ #include "avx512f-check.h" static __m512i __attribute__ ((noinline)) foo (int x) { return _mm512_set_epi32 (x, x, x, x, x, x, x, x, x, x, x, x, x, x, x, x); } static __m512i __attribute__ ((noinline)) foo_r...
19.71
35
(translation_unit) "/* { dg-do run } */\n/* { dg-options "-O2 -mavx512f" } */\n/* { dg-require-effective-target avx512f } */\n\n#include "avx512f-check.h"\n\nstatic __m512i\n__attribute__ ((noinline))\nfoo (int x)\n{\n return _mm512_set_epi32 (x, x, x, x, x, x, x, x,\n x, x, x, x, x, x, x, x);\n}\n\nstatic __m512...
279
0
{"language": "c", "success": true, "metadata": {"lines": 35, "avg_line_length": 19.71, "nodes": 155, "errors": 0, "source_hash": "0c2f8811d0dd727c0673f200609f06a0bfbb22c4c7ad367df47f648552cc1e4d", "categorized_nodes": 122}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
137
c
// // LGeminiEvent.h // Gemini // // Created by <NAME> on 7/6/12. // Copyright (c) 2012 __MyCompanyName__. All rights reserved. // #include "lua.h" #include "lualib.h" #include "lauxlib.h" #import "GemLuaData.h" #import "GemEvent.h" #import <SpriteKit/SpriteKit.h> #ifdef __cplusplus extern "C" { #endif BOOL callE...
20.71
21
(translation_unit) "//\n// LGeminiEvent.h\n// Gemini\n//\n// Created by <NAME> on 7/6/12.\n// Copyright (c) 2012 __MyCompanyName__. All rights reserved.\n//\n\n#include "lua.h"\n#include "lualib.h"\n#include "lauxlib.h"\n#import "GemLuaData.h"\n#import "GemEvent.h"\n#import <SpriteKit/SpriteKit.h>\n\n#ifdef __cplus...
98
0
{"language": "c", "success": true, "metadata": {"lines": 21, "avg_line_length": 20.71, "nodes": 66, "errors": 0, "source_hash": "22a1c4b3a03177065ee1ec6761a8d2a6613d71174e69a58531045d61afceb192", "categorized_nodes": 46}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
138
c
// // Copyright (C) 2003-2009 by <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...
32.98
147
(translation_unit) "//\n// Copyright (C) 2003-2009 by <NAME>\n//\n// Licensed under the Apache License, Version 2.0 (the "License");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// ...
1,136
21
{"language": "c", "success": true, "metadata": {"lines": 147, "avg_line_length": 32.98, "nodes": 776, "errors": 0, "source_hash": "7089953beef71712171621902d9b9de32113196bf00d4c450f98da46ae658885", "categorized_nodes": 527}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
139
c
#ifndef __COMMONS_H_ #define __COMMONS_H_ /** * These are the system events that we use to signal events to the PRUs. * See the AM335x TRM Table 4-22 for a list of all events */ #define HOST_PRU_EVT_RESET 27 #define HOST_PRU_EVT_START 28 #define HOST_PRU_EVT_TIMESTAMP 29 /* The SharedMem struct resides at the begi...
36.13
55
(translation_unit) "#ifndef __COMMONS_H_\n#define __COMMONS_H_\n\n/**\n * These are the system events that we use to signal events to the PRUs.\n * See the AM335x TRM Table 4-22 for a list of all events\n */\n#define HOST_PRU_EVT_RESET 27\n#define HOST_PRU_EVT_START 28\n#define HOST_PRU_EVT_TIMESTAMP 29\n\n/* The Share...
206
1
{"language": "c", "success": true, "metadata": {"lines": 55, "avg_line_length": 36.13, "nodes": 133, "errors": 0, "source_hash": "f3c42161bca67b4e62aae44a9f7118dbe51499dc554e88de432d17ca56b8334a", "categorized_nodes": 92}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
140
c
/* * Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana * University Research and Technology * Corporation. All rights reserved. * Copyright (c) 2004-2005 The University of Tennessee and The University * of Tennessee Resea...
36.06
186
(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-2005 The University of Tennessee and The University\n * ...
1,179
0
{"language": "c", "success": true, "metadata": {"lines": 186, "avg_line_length": 36.06, "nodes": 705, "errors": 0, "source_hash": "2d8f2abe457c513835932a67ff92402d9d89d3ecced9c05cab6b64fa242f7cf0", "categorized_nodes": 549}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
141
c
/*------------------------------------------------------------------------------ * * * Copyright (c) 2018-Present Pivotal Software, Inc * *------------------------------------------------------------------------------ */ #ifndef PLC_PYQUOTE_H #define PLC_PYQUOTE_H #include <Python.h> PyObject * PLy_quote_liter...
34.93
14
(translation_unit) "/*------------------------------------------------------------------------------\n *\n *\n * Copyright (c) 2018-Present Pivotal Software, Inc\n *\n *------------------------------------------------------------------------------\n */\n\n#ifndef PLC_PYQUOTE_H\n#define PLC_PYQUOTE_H\n\n#include <Python...
76
0
{"language": "c", "success": true, "metadata": {"lines": 14, "avg_line_length": 34.93, "nodes": 61, "errors": 0, "source_hash": "c7109f1be4c27a1892096bc1294a1e1843cc48e9d258ec84457b2f81b78d1af5", "categorized_nodes": 38}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
142
c
#ifndef FURNITURE_H #define FURNITURE_H #include <QPointF> #include <QRectF> #include <QDebug> #include <QPixmap> class Furniture { private: QPixmap *image; QString name; QPointF position; QRectF size; QString image_dir; public: Furniture(); Furniture(const QStri...
19.51
39
(translation_unit) "#ifndef FURNITURE_H \n#define FURNITURE_H \n \n#include <QPointF> \n#include <QRectF> \n#include <QDebug> \n#include <QPixmap> \n \nclass Furniture \n{ \nprivate: \n QPixmap *image; \n QString name; \n QPointF position; \n QRectF size; \n QString image_dir; \n \n \npublic: \n ...
212
11
{"language": "c", "success": true, "metadata": {"lines": 39, "avg_line_length": 19.51, "nodes": 122, "errors": 0, "source_hash": "d6a0c42d6c9a85c52ac507a2ae6e11dd71796180063c7f5578170da6f7f0fdbb", "categorized_nodes": 92}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
143
c
//[]---------------------------------------------------------------[] //| | //| Copyright (C) 2016, 2022 <NAME>. | //| | //| This software is provided 'as-is', without a...
26.39
165
(translation_unit) "//[]---------------------------------------------------------------[]\n//| |\n//| Copyright (C) 2016, 2022 <NAME>. |\n//| |\n//| This software is pro...
707
38
{"language": "c", "success": true, "metadata": {"lines": 165, "avg_line_length": 26.39, "nodes": 377, "errors": 0, "source_hash": "e9a0aeb11bf1a0d96b8fa480c4d53136837008b42077dc4c184b58741b3db2a9", "categorized_nodes": 239}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "#ifndef __Ani...
144
c
/************************************************************************ * Copyright 2013 <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...
33.52
44
(translation_unit) "/************************************************************************\n * Copyright 2013 <NAME>\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * htt...
144
2
{"language": "c", "success": true, "metadata": {"lines": 44, "avg_line_length": 33.52, "nodes": 85, "errors": 0, "source_hash": "9891b4b6224d687fa33fdcf9e1d8a93a7a73cf14217e439d1fe8b58a78661ff6", "categorized_nodes": 51}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
145
c
// // AXPhotoViewer.h // AXPhotoViewer // // Created by <NAME> on 8/18/19. // Copyright © 2019 <NAME>. All rights reserved. // #import <UIKit/UIKit.h> //! Project version number for AXPhotoViewer. FOUNDATION_EXPORT double AXPhotoViewerVersionNumber; //! Project version string for AXPhotoViewer. FOUNDATION_EXPORT...
38.27
15
(translation_unit) "//\n// AXPhotoViewer.h\n// AXPhotoViewer\n//\n// Created by <NAME> on 8/18/19.\n// Copyright © 2019 <NAME>. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n//! Project version number for AXPhotoViewer.\nFOUNDATION_EXPORT double AXPhotoViewerVersionNumber;\n\n//! Project version string for...
39
1
{"language": "c", "success": true, "metadata": {"lines": 15, "avg_line_length": 38.27, "nodes": 19, "errors": 0, "source_hash": "cb3854ad067704ab18e500ac3a0a0140adcfe5ab829ba649664596c6e61b5e8f", "categorized_nodes": 13}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <U...
146
c
/* * helper object for POSIX examples */ #include <errno.h> #include <fcntl.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <termios.h> #include <unistd.h> #include "serial.h" int set_interface_attribs(int fd, int speed) { struct termios tty; if (tcgetattr(fd, &tty) < 0) { ...
30.04
55
(translation_unit) "/*\n * helper object for POSIX examples\n */\n#include <errno.h>\n#include <fcntl.h> \n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include <termios.h>\n#include <unistd.h>\n\n#include "serial.h"\n\n\nint set_interface_attribs(int fd, int speed)\n{\n struct termios tty;\n\n i...
493
0
{"language": "c", "success": true, "metadata": {"lines": 55, "avg_line_length": 30.04, "nodes": 294, "errors": 0, "source_hash": "8c7745d272100fbfa5e60e97ddbe69f06309a4ebdba63e3d1e88b9ab7f83db8e", "categorized_nodes": 241}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
147
c
#pragma once #include "project_check.h" #if defined(CONFIGURATION_DEBUG) #define USE_GUI() true #define USE_USER_INPUT_EVENTS() true #define PROFILING_MODE() true #define DEVEL_MODE_ENABLED() true #define SANITY_CHECK_ENABLED() true #define DEBUGGER_ASSERTION_ENABLED() false #endif #if defined(CONFIGURATION_PROFIL...
28.88
26
(translation_unit) "#pragma once\n\n#include "project_check.h"\n\n#if defined(CONFIGURATION_DEBUG)\n\n#define USE_GUI() true\n#define USE_USER_INPUT_EVENTS() true\n#define PROFILING_MODE() true\n#define DEVEL_MODE_ENABLED() true\n#define SANITY_CHECK_ENABLED() true\n#define DEBUGGER_ASSERTION_ENABLED() false\n\n#endif\...
163
0
{"language": "c", "success": true, "metadata": {"lines": 26, "avg_line_length": 28.88, "nodes": 117, "errors": 0, "source_hash": "24559b01ce11b3684edda94311a4a692b01dcedad8a6a3ae4f51302f92390c7a", "categorized_nodes": 52}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma ...
148
c
// // WRUntieBankCardSuccessController.h // wallet // // Created by xc-ios on 2020/7/29. // Copyright © 2020 为仁科技. All rights reserved. // #import "BaseViewController.h" NS_ASSUME_NONNULL_BEGIN @interface WRUntieBankCardSuccessController : BaseViewController @end NS_ASSUME_NONNULL_END
23.17
12
(translation_unit) "//\n// WRUntieBankCardSuccessController.h\n// wallet\n//\n// Created by xc-ios on 2020/7/29.\n// Copyright © 2020 为仁科技. All rights reserved.\n//\n\n#import "BaseViewController.h"\n\nNS_ASSUME_NONNULL_BEGIN\n\n@interface WRUntieBankCardSuccessController : BaseViewController\n\n@end\n\nNS_ASSUME_N...
27
4
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 23.17, "nodes": 16, "errors": 0, "source_hash": "59850b4d128e51f8efc76704c369023689e8ea66f3c4eb1c57fbc25fa2e76000", "categorized_nodes": 9}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "BaseViewCo...
149
c
/* SPDX-License-Identifier: GPL-2.0-only */ /* * Intel IFC VF NIC driver for virtio dataplane offloading * * Copyright (C) 2020 Intel Corporation. * * Author: <NAME> <<EMAIL>> * */ #ifndef _IFCVF_H_ #define _IFCVF_H_ #include <linux/pci.h> #include <linux/pci_regs.h> #include <linux/vdpa.h> #include <uapi/linu...
31.58
103
(translation_unit) "/* SPDX-License-Identifier: GPL-2.0-only */\n/*\n * Intel IFC VF NIC driver for virtio dataplane offloading\n *\n * Copyright (C) 2020 Intel Corporation.\n *\n * Author: <NAME> <<EMAIL>>\n *\n */\n\n#ifndef _IFCVF_H_\n#define _IFCVF_H_\n\n#include <linux/pci.h>\n#include <linux/pci_regs.h>\n#include...
662
7
{"language": "c", "success": true, "metadata": {"lines": 103, "avg_line_length": 31.58, "nodes": 512, "errors": 0, "source_hash": "66f0502cb9d40720eb16bc21e357bcb670df9c4f1937e04c8db7461c28bd1c39", "categorized_nodes": 344}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
150
c
// // Created by kira on 30.04.2020. // #ifndef LED_PLAYER_LIB_GEOMETRY_INCLUDE_POINT_H_ #define LED_PLAYER_LIB_GEOMETRY_INCLUDE_POINT_H_ namespace geometry { struct Point { float x; float y; }; } // namespace geometry #endif //LED_PLAYER_LIB_GEOMETRY_INCLUDE_POINT_H_
20.46
13
(translation_unit) "//\n// Created by kira on 30.04.2020.\n//\n\n#ifndef LED_PLAYER_LIB_GEOMETRY_INCLUDE_POINT_H_\n#define LED_PLAYER_LIB_GEOMETRY_INCLUDE_POINT_H_\n\nnamespace geometry {\nstruct Point {\n float x;\n float y;\n};\n} // namespace geometry\n\n\n#endif //LED_PLAYER_LIB_GEOMETRY_INCLUDE_POINT_H_\n" ...
34
0
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 20.46, "nodes": 19, "errors": 0, "source_hash": "0fafdf5d22b41ccf9fae006101c014649537387bca810a7ec8066d729439da9b", "categorized_nodes": 15}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
151
c
#include <stdio.h> #include <stdlib.h> // defining structure of a node struct node{ int data; struct node *next; }; //function to print element of linked list void display(struct node *head) { struct node *ptr; ptr=(struct node *)malloc(sizeof(struct node)); ptr = head; if(ptr == NULL) ...
22.77
107
(translation_unit) "#include <stdio.h>\n#include <stdlib.h>\n\n// defining structure of a node\nstruct node{\n int data;\n struct node *next;\n};\n\n\n\n//function to print element of linked list\nvoid display(struct node *head)\n{\n struct node *ptr;\n ptr=(struct node *)malloc(sizeof(struct node));\n p...
775
0
{"language": "c", "success": true, "metadata": {"lines": 107, "avg_line_length": 22.77, "nodes": 446, "errors": 0, "source_hash": "2073aeb1f3172e64ae02b59b3d89cba250406c19a42b9dafd8bb78fa772e6821", "categorized_nodes": 303}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
152
c
/* * Early printk support for Microblaze. * * Copyright (C) 2007-2009 <NAME> <<EMAIL>> * Copyright (C) 2007-2009 PetaLogix * Copyright (C) 2003-2006 <NAME> <<EMAIL>> * * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this arc...
27.01
163
(translation_unit) "/*\n * Early printk support for Microblaze.\n *\n * Copyright (C) 2007-2009 <NAME> <<EMAIL>>\n * Copyright (C) 2007-2009 PetaLogix\n * Copyright (C) 2003-2006 <NAME> <<EMAIL>>\n *\n * This file is subject to the terms and conditions of the GNU General Public\n * License. See the file "COPYING" in th...
812
3
{"language": "c", "success": true, "metadata": {"lines": 163, "avg_line_length": 27.01, "nodes": 510, "errors": 0, "source_hash": "cbf497e943f573ff117deba4cfaebd792fc4444599cec7c3cf6036afc544ce7d", "categorized_nodes": 356}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
153
c
#include <lib.h> /* rindex - find last occurrence of a character in a string */ #include <string.h> char *rindex(s, charwanted) /* found char, or NULL if none */ _CONST char *s; char charwanted; { return(strrchr(s, charwanted)); }
25
9
(translation_unit) "#include <lib.h>\n/* rindex - find last occurrence of a character in a string */\n\n#include <string.h>\n\nchar *rindex(s, charwanted) /* found char, or NULL if none */\n_CONST char *s;\nchar charwanted;\n{\n return(strrchr(s, charwanted));\n}\n" (preproc_include) "#include <lib.h>\n" (#incl...
50
1
{"language": "c", "success": true, "metadata": {"lines": 9, "avg_line_length": 25.0, "nodes": 32, "errors": 0, "source_hash": "3dceb022f79bb9b804f1d5d106bf37c1aaa6b2c000de2f52ab836c25b63dd328", "categorized_nodes": 24}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#include...
154
c
/* * Copyright 2010 <NAME> <<EMAIL>> * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
24.74
131
(translation_unit) "/* \n * Copyright 2010 <NAME> <<EMAIL>> \n * \n * Licensed under the Apache License, Version 2.0 (the "License"); you \n * 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 * Unle...
535
0
{"language": "c", "success": true, "metadata": {"lines": 131, "avg_line_length": 24.74, "nodes": 331, "errors": 0, "source_hash": "9762dfd12cac80c93af5de1648ded4bd8be926fad9d30b46b9555236bee3db0d", "categorized_nodes": 237}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
155
c
/* rcvstore.c - incorporate new mail asynchronously originally from <NAME> */ #ifndef lint static char ident[] = "@(#)$Id: rcvstore.c,v 1.9 1992/12/15 00:20:22 jromine Exp $"; #endif /* lint */ #include "../h/mh.h" #include <errno.h> #include <signal.h> #include <stdio.h> #include <sys/types.h> #include <sys/stat.h>...
23.96
196
(translation_unit) "/* rcvstore.c - incorporate new mail asynchronously\n originally from <NAME> */\n#ifndef lint\nstatic char ident[] = "@(#)$Id: rcvstore.c,v 1.9 1992/12/15 00:20:22 jromine Exp $";\n#endif /* lint */\n\n#include "../h/mh.h"\n#include <errno.h>\n#include <signal.h>\n#include <stdio.h>\n#include <sys/...
1,743
16
{"language": "c", "success": true, "metadata": {"lines": 196, "avg_line_length": 23.96, "nodes": 1029, "errors": 0, "source_hash": "dc0f946e4538f316366fa8b7d75c93119ffb51a4c3f5123da18fe874f6e61c1b", "categorized_nodes": 718}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifn...
156
c
/* This file is automatically generated. DO NOT EDIT! */ /* Generated from: NetBSD: mknative-gcc,v 1.92 2018/02/06 07:04:01 mrg Exp */ /* Generated from: NetBSD: mknative.common,v 1.16 2018/04/15 15:13:37 christos Exp */ #ifndef GCC_CONFIG_H #define GCC_CONFIG_H #ifdef GENERATOR_FILE #error config.h is for the host...
32.92
13
(translation_unit) "/* This file is automatically generated. DO NOT EDIT! */\n/* Generated from: NetBSD: mknative-gcc,v 1.92 2018/02/06 07:04:01 mrg Exp */\n/* Generated from: NetBSD: mknative.common,v 1.16 2018/04/15 15:13:37 christos Exp */\n\n#ifndef GCC_CONFIG_H\n#define GCC_CONFIG_H\n#ifdef GENERATOR_FILE\n#err...
35
0
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 32.92, "nodes": 24, "errors": 0, "source_hash": "819f0bc07720d3f9cfee73a0178b54a7683808ebc927f6a3b48bac7f94d18887", "categorized_nodes": 20}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
157
c
#pragma once #include "ITypeLoader.h" #include <iostream> #include <memory> #include <string> #include <typeindex> #include <unordered_map> class IAsset; class AssetLoader { public: // Update the registered loaders. void update(float deltaTime); // Load an asset through its specific TypeLoader, given its type a...
31.09
66
(ERROR) "#pragma once\n\n#include "ITypeLoader.h"\n\n#include <iostream>\n#include <memory>\n#include <string>\n#include <typeindex>\n#include <unordered_map>\n\nclass IAsset;\n\nclass AssetLoader\n{\npublic:\n // Update the registered loaders.\n void update(float deltaTime);\n\n // Load an asset through its specific T...
651
46
{"language": "c", "success": true, "metadata": {"lines": 66, "avg_line_length": 31.09, "nodes": 406, "errors": 0, "source_hash": "18114aca2e1ab895a5836a29a02d9041a31aa801aeac9527611cb92ed3a1073e", "categorized_nodes": 277}, "ast": {"root": "ERROR", "nodes": [{"id": 0, "type": "ERROR", "text": "#pragma once\n\n#include ...
158
c
// // BNRDrawViewController.h // TouchTracker // // Created by <NAME> on 1/9/14. // Copyright (c) 2014 Big Nerd Ranch. All rights reserved. // #import <Foundation/Foundation.h> @interface BNRDrawViewController : UIViewController - (void)saveState; - (void)loadState; @end
22
12
(translation_unit) "//\n// BNRDrawViewController.h\n// TouchTracker\n//\n// Created by <NAME> on 1/9/14.\n// Copyright (c) 2014 Big Nerd Ranch. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n\n@interface BNRDrawViewController : UIViewController\n\n- (void)saveState;\n- (void)loadState;\n\n@end\n" ...
42
4
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 22.0, "nodes": 22, "errors": 0, "source_hash": "c865bc5d1b0d6f50772bffe791fff445dcb61db7bea4cb49d2c1977e55a6d3bf", "categorized_nodes": 10}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <F...
159
c
/** * @File : darknet_shortcut.h * @Author : damone (<EMAIL>) * @Link : * @Date : 10/31/2018, 3:21:34 PM */ #ifndef _DARKNET_SHORTCUT_H #define _DARKNET_SHORTCUT_H #include "layer.h" namespace ncnn { ::ncnn::Layer *DarknetShortcut_layer_creator(); class DarknetShortcut : public Layer { public: DarknetS...
22.17
24
(translation_unit) "/**\n * @File : darknet_shortcut.h\n * @Author : damone (<EMAIL>)\n * @Link :\n * @Date : 10/31/2018, 3:21:34 PM\n */\n\n#ifndef _DARKNET_SHORTCUT_H\n#define _DARKNET_SHORTCUT_H\n\n#include "layer.h"\n\nnamespace ncnn\n{\n\n::ncnn::Layer *DarknetShortcut_layer_creator();\nclass DarknetShortcut...
135
10
{"language": "c", "success": true, "metadata": {"lines": 24, "avg_line_length": 22.17, "nodes": 73, "errors": 0, "source_hash": "cd863bea15c4402afefe217c80ac1b74a94adb76582ca8efbfa8ca2d1d095dd1", "categorized_nodes": 50}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
160
c
// // ExtraResponderTableViewCell.h // Ripple // // Created by <NAME> on 21/03/2016. // Copyright © 2016 <NAME>. All rights reserved. // #import <UIKit/UIKit.h> #import "Responder.h" @protocol ResponderChange <NSObject> // Responder change // @param responder responder item that has changed -(void) responderChan...
22.68
38
(translation_unit) "//\n// ExtraResponderTableViewCell.h\n// Ripple\n//\n// Created by <NAME> on 21/03/2016.\n// Copyright © 2016 <NAME>. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n#import "Responder.h"\n\n@protocol ResponderChange <NSObject>\n\n// Responder change\n// @param responder responder item that...
152
19
{"language": "c", "success": true, "metadata": {"lines": 38, "avg_line_length": 22.68, "nodes": 94, "errors": 0, "source_hash": "0f4827680eebe82f66d007275f7bc0592a04cfee96cc3b060f4d27c05de312f8", "categorized_nodes": 53}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <U...
161
c
#include <phpcpp.h> #include "../include/aspose.h" #include "../include/aspose_php.h" using namespace System::Drawing; #ifndef SIZEF_H #define SIZEF_H namespace AsposePhp { class SizeF : public Php::Base { private: System::Drawing::SizeF _asposeObj; public: SizeF() =...
26.09
22
(translation_unit) "#include <phpcpp.h>\n#include "../include/aspose.h"\n#include "../include/aspose_php.h"\n\nusing namespace System::Drawing;\n\n#ifndef SIZEF_H\n#define SIZEF_H\n\nnamespace AsposePhp {\n\n class SizeF : public Php::Base\n {\n private: \n System::Drawing::SizeF _asposeObj;\n ...
174
12
{"language": "c", "success": true, "metadata": {"lines": 22, "avg_line_length": 26.09, "nodes": 93, "errors": 0, "source_hash": "dc9434b4a8a01316e0db171ea47e021d65e9c87e2791724facc1340d7039bed1", "categorized_nodes": 64}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
162
c
#pragma once #include "Graphics/API/Pipeline.h" namespace Lumos { namespace Graphics { class GLRenderPass; class CommandBuffer; class GLPipeline : public Pipeline { public: GLPipeline(const PipelineInfo& pipelineCI); ~GLPipeline(); ...
29.9
41
(translation_unit) "#pragma once\n\n#include "Graphics/API/Pipeline.h"\n\nnamespace Lumos\n{\n namespace Graphics\n {\n class GLRenderPass;\n class CommandBuffer;\n\n class GLPipeline : public Pipeline\n {\n public:\n GLPipeline(const PipelineInfo& pipelineCI);\n ...
268
9
{"language": "c", "success": true, "metadata": {"lines": 41, "avg_line_length": 29.9, "nodes": 160, "errors": 0, "source_hash": "164b97e5192613214c9246bd15ea058f4a9ccf96c4bd149e8d4b71de074805a8", "categorized_nodes": 100}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma ...
163
c
#ifndef _STA013_DOT_H #define _STA013_DOT_H #include <xc.h> #define DATA_REQ PORTAbits.RA1 /* Prototypes */ void STA013_Init(void); void STA013_Config(void); void STA013_Run(void); void STA013_Patch(void); #endif
15.43
14
(translation_unit) "#ifndef _STA013_DOT_H \n#define _STA013_DOT_H \n \n#include <xc.h> \n \n#define DATA_REQ PORTAbits.RA1 \n \n/* Prototypes */ \nvoid STA013_Init(void); \nvoid STA013_Config(void); \nvoid STA013_Run(void); \nvoid STA013_Patch(void); \n \n#endif" (preproc_ifdef) "#ifndef _STA013_DOT_H \n#define _STA0...
56
0
{"language": "c", "success": true, "metadata": {"lines": 14, "avg_line_length": 15.43, "nodes": 42, "errors": 0, "source_hash": "48be005b0bfd1010a4ab91be5d3607161fb2cd5a8072e1b9cbb7cb68af6ce7f3", "categorized_nodes": 25}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
164
c
// ----------------------------------------------------------------------------- // Fern © Geoneric // // This file is part of Geoneric Fern which is available under the terms of // the GNU General Public License (GPL), version 2. If you do not want to // be bound by the terms of the GPL, you may purchase a proprietary...
33.12
24
(translation_unit) "// -----------------------------------------------------------------------------\n// Fern © Geoneric\n//\n// This file is part of Geoneric Fern which is available under the terms of\n// the GNU General Public License (GPL), version 2. If you do not want to\n// be bound by the terms of the GPL, you m...
90
6
{"language": "c", "success": true, "metadata": {"lines": 24, "avg_line_length": 33.12, "nodes": 54, "errors": 0, "source_hash": "1db1bd869fc3edf5332b588665cc1f62e9c525ceb9060704ea968f9e4e19a1ea", "categorized_nodes": 38}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "pragma on...
165
c
#include <stdio.h> #define DIM 20 int main(int argc, char * argv[]) { int seq1[DIM]; int seq2[DIM]; int i, j, pivot, min; int tmp; int min1, min2, prev; for(i=0; i<DIM; i++) { scanf("%d", &seq1[i]); } for(i=0; i<DIM; i++) { scanf("%d", &seq2[i]); } for(pivot=0; pivot<(DIM...
16.75
73
(translation_unit) "#include <stdio.h> \n#define DIM 20 \n \nint main(int argc, char * argv[]) { \n int seq1[DIM]; \n int seq2[DIM]; \n int i, j, pivot, min; \n int tmp; \n int min1, min2, prev; \n \n for(i=0; i<DIM; i++) { \n scanf("%d", &seq1[i]); \n } \n for(i=0; i<DIM; i++) { \n scanf("%d", &seq2[i]);...
627
0
{"language": "c", "success": true, "metadata": {"lines": 73, "avg_line_length": 16.75, "nodes": 354, "errors": 0, "source_hash": "0443297a61783f56e954a8a024d8014e22b26499e75bce72c038e71ab902c3d4", "categorized_nodes": 274}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
166
c
#ifndef REPLY_H #define REPLY_H #include <iostream> #include "Message.h" using namespace std; class Reply : public Message { public: Reply(); Reply(const string &athr, const string &sbjct, const string &body, unsigned id); virtual bool is_reply() const; // return true virtual string to_formatt...
19.47
17
(translation_unit) "#ifndef REPLY_H\n#define REPLY_H\n#include <iostream>\n#include "Message.h"\nusing namespace std;\n\nclass Reply : public Message\n{\n public: \n Reply();\n Reply(const string &athr,\n const string &sbjct,\n const string &body,\n unsigned id);\n virtual bool is_reply() const; // retur...
104
10
{"language": "c", "success": true, "metadata": {"lines": 17, "avg_line_length": 19.47, "nodes": 57, "errors": 0, "source_hash": "be00ca2ec0511f8bc289ac69c00098e87d29522d85366bf2155d85f60643cf12", "categorized_nodes": 43}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
167
c
// // ActiveSQLite.h // ActiveSQLite // // Created by <NAME> on 27/06/2017. // Copyright © 2017 <EMAIL>. All rights reserved. // #import <UIKit/UIKit.h> //! Project version number for ActiveSQLite. FOUNDATION_EXPORT double ActiveSQLiteVersionNumber; //! Project version string for ActiveSQLite. FOUNDATION_EXPORT ...
37.77
13
(translation_unit) "//\n// ActiveSQLite.h\n// ActiveSQLite\n//\n// Created by <NAME> on 27/06/2017.\n// Copyright © 2017 <EMAIL>. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n//! Project version number for ActiveSQLite.\nFOUNDATION_EXPORT double ActiveSQLiteVersionNumber;\n\n//! Project version string for...
33
1
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 37.77, "nodes": 15, "errors": 0, "source_hash": "dadbbd4f4d994b1bf85b47ba3a883b00fe85a1acdb4539cb6e02191fee5ad7ee", "categorized_nodes": 11}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <U...
168
c
#pragma once #include <atomic> #include <chrono> #include <map> #include <memory> #include <mutex> #include <string> #include <tuple> #include <cpprest/json.h> #include "../TimerHandler.h" #include "AppBehavior.h" #include "AppUtils.h" class AppTimer; class User; class CounterMetric; class GaugeMetric; class Prometh...
35.29
134
(translation_unit) "#pragma once\n#include <atomic>\n#include <chrono>\n#include <map>\n#include <memory>\n#include <mutex>\n#include <string>\n#include <tuple>\n\n#include <cpprest/json.h>\n\n#include "../TimerHandler.h"\n#include "AppBehavior.h"\n#include "AppUtils.h"\n\nclass AppTimer;\nclass User;\nclass CounterMet...
1,364
83
{"language": "c", "success": true, "metadata": {"lines": 134, "avg_line_length": 35.29, "nodes": 823, "errors": 0, "source_hash": "742d309e9cae64e207d7f8da720a81b5d078fc7da3a8e6dfacf566363fe685e5", "categorized_nodes": 562}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragm...
169
c
/* * * This file is part of the open-source SeetaFace engine, which includes three *modules: * SeetaFace Detection, SeetaFace Alignment, and SeetaFace Identification. * * This file is part of the SeetaFace Detection module, containing codes *implementing the * face detection method described in the following pa...
32.57
105
(translation_unit) "/*\n *\n * This file is part of the open-source SeetaFace engine, which includes three\n *modules:\n * SeetaFace Detection, SeetaFace Alignment, and SeetaFace Identification.\n *\n * This file is part of the SeetaFace Detection module, containing codes\n *implementing the\n * face detection method d...
192
9
{"language": "c", "success": true, "metadata": {"lines": 105, "avg_line_length": 32.57, "nodes": 123, "errors": 0, "source_hash": "f343f2bb45ce635b385f9239889a6803031e959c3cdcbd22fb62f428f77f9105", "categorized_nodes": 87}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
170
c
//Copyright (c) 2015 <NAME>(meson800) and <NAME>(jedidia) //The MIT License - See ../../LICENSE for more info #pragma once #include <irrlicht.h> class VesselSceneNode; using namespace irr; struct DockingIdentifier { unsigned int vesselUID, portID; }; struct DockingPortStatus { bool docked; DockingIdenti...
27.06
31
(translation_unit) "//Copyright (c) 2015 <NAME>(meson800) and <NAME>(jedidia)\n//The MIT License - See ../../LICENSE for more info\n#pragma once\n#include <irrlicht.h>\n\nclass VesselSceneNode;\n\nusing namespace irr;\n\nstruct DockingIdentifier\n{\n unsigned int vesselUID, portID;\n};\n\nstruct DockingPortStatus\n{...
206
10
{"language": "c", "success": true, "metadata": {"lines": 31, "avg_line_length": 27.06, "nodes": 139, "errors": 0, "source_hash": "c7de69aed96f11fffa231a1f84db0adde426f9fa82ab6b77f4d40539483938fb", "categorized_nodes": 98}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma ...
171
c
/* ChibiOS - Copyright (C) 2006..2015 <NAME> Copyright (C) 2015 <NAME>, TISA, (dismirlian (at) google's mail) 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 ...
26.18
302
(translation_unit) "/* \n ChibiOS - Copyright (C) 2006..2015 <NAME> \n Copyright (C) 2015 <NAME>, TISA, (dismirlian (at) google's mail) \n \n Licensed under the Apache License, Version 2.0 (the "License"); \n you may not use this file except in compliance with the License. \n You may obtain a c...
2,050
0
{"language": "c", "success": true, "metadata": {"lines": 302, "avg_line_length": 26.18, "nodes": 1231, "errors": 0, "source_hash": "14beaa000669f5813205adf8986e23409b9093e280ed8f73fdad8feb9f1df46c", "categorized_nodes": 880}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#i...
172
c
// Copyright (c) 2010 The Chromium OS 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 LOGIN_MANAGER_MOCK_SYSTEM_UTILS_H_ #define LOGIN_MANAGER_MOCK_SYSTEM_UTILS_H_ #include <stdint.h> #include <unistd.h> #include <string> #...
37.31
93
(translation_unit) "// Copyright (c) 2010 The Chromium OS 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 LOGIN_MANAGER_MOCK_SYSTEM_UTILS_H_\n#define LOGIN_MANAGER_MOCK_SYSTEM_UTILS_H_\n\n#include <stdint.h>\n#include <un...
1,040
38
{"language": "c", "success": true, "metadata": {"lines": 93, "avg_line_length": 37.31, "nodes": 514, "errors": 0, "source_hash": "a2ce1a1ac66b8c8ee42211a0fefdb53ae355fba4e807dc63ac701a6ac11aa575", "categorized_nodes": 379}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
173
c
/* * * * Copyright (C) 2005 <NAME> <<EMAIL>> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License * * This program is distributed in the hope that it w...
26.91
290
(translation_unit) "/*\n *\n *\n * Copyright (C) 2005 <NAME> <<EMAIL>>\n *\n * This program is free software; you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation; either version 2 of the License\n *\n * This program is dist...
2,764
0
{"language": "c", "success": true, "metadata": {"lines": 290, "avg_line_length": 26.91, "nodes": 1625, "errors": 0, "source_hash": "2960216c1ad7076cb36b3d891184761b475252da5f46447955bcc1a33581364e", "categorized_nodes": 1159}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#...
174
c
/* Generated by RuntimeBrowser Image: /System/Library/PrivateFrameworks/PencilKit.framework/PencilKit */ @interface PKMetalStrokeRenderCache : NSObject <PKStrokeRenderCache> { NSMutableArray * _buffers; unsigned long long _totalCost; } @property (nonatomic, readonly) NSArray *buffers; @property (readonly...
32.8
20
(translation_unit) "/* Generated by RuntimeBrowser\n Image: /System/Library/PrivateFrameworks/PencilKit.framework/PencilKit\n */\n\n@interface PKMetalStrokeRenderCache : NSObject <PKStrokeRenderCache> {\n NSMutableArray * _buffers;\n unsigned long long _totalCost;\n}\n\n@property (nonatomic, readonly) NSArray ...
197
19
{"language": "c", "success": true, "metadata": {"lines": 20, "avg_line_length": 32.8, "nodes": 132, "errors": 0, "source_hash": "55f5058c3d7ba22a13c6b503fdb2617efe5378f449a65b1cc1c9eb60a3a72567", "categorized_nodes": 74}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "@interface PKMet...
175
c
/* * SystemRestore implementation * * Copyright 2020 <NAME> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later ve...
32.41
87
(translation_unit) "/*\n * SystemRestore implementation\n *\n * Copyright 2020 <NAME>\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (...
617
0
{"language": "c", "success": true, "metadata": {"lines": 87, "avg_line_length": 32.41, "nodes": 367, "errors": 0, "source_hash": "78802636936f70e6fe38d8cb12e1e5b15b1c9a55d605659ece7f69d7311602fa", "categorized_nodes": 255}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_def", "text": "#define ...
176
c
#ifndef REACTDUINO_ISR_H_ #define REACTDUINO_ISR_H_ #include "Reactduino.h" #define INVALID_ISR -1 int8_t react_isr_alloc(void); react_callback react_isr_get(int8_t isr); bool react_isr_check(int8_t isr); void react_isr_free(int8_t isr); #endif
26.22
9
(translation_unit) "#ifndef REACTDUINO_ISR_H_\n#define REACTDUINO_ISR_H_\n\n#include "Reactduino.h"\n\n#define INVALID_ISR -1\n\nint8_t react_isr_alloc(void);\nreact_callback react_isr_get(int8_t isr);\nbool react_isr_check(int8_t isr);\nvoid react_isr_free(int8_t isr);\n\n#endif\n" (preproc_ifdef) "#ifndef REACTDUIN...
61
0
{"language": "c", "success": true, "metadata": {"lines": 9, "avg_line_length": 26.22, "nodes": 45, "errors": 0, "source_hash": "dd0366cc56a7c815b449f1cbe709514eb41c12208e3db7108800487bf2bdfd6c", "categorized_nodes": 29}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef R...
177
c
/* **************************************************************** * * Copyright 2018 Samsung Electronics All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * ...
35.76
151
(translation_unit) "/* ****************************************************************\n *\n * Copyright 2018 Samsung Electronics All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy o...
224
0
{"language": "c", "success": true, "metadata": {"lines": 151, "avg_line_length": 35.76, "nodes": 155, "errors": 0, "source_hash": "145adb7b12ef830c74d7bdbb448cf29922b46018804d655e941611802c83ff50", "categorized_nodes": 100}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
178
c
#ifdef NS3_MODULE_COMPILATION # error "Do not include ns3 module aggregator headers from other modules; these are meant only for end user scripts." #endif #ifndef NS3_MODULE_TRAFFIC_CONTROL // Module headers: #include "codel-queue-disc.h" #include "fq-codel-queue-disc.h" #include "mq-queue-disc.h" #include "pac...
30
18
(translation_unit) "#ifdef NS3_MODULE_COMPILATION\n# error "Do not include ns3 module aggregator headers from other modules; these are meant only for end user scripts."\n#endif\n\n#ifndef NS3_MODULE_TRAFFIC_CONTROL\n \n\n// Module headers:\n#include "codel-queue-disc.h"\n#include "fq-codel-queue-disc.h"\n#include "m...
79
0
{"language": "c", "success": true, "metadata": {"lines": 18, "avg_line_length": 30.0, "nodes": 44, "errors": 0, "source_hash": "cf3e343cc1e37ee097aa26cc6d456aa08d92180aa42bb4027e5c681ec855bff0", "categorized_nodes": 42}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifdef NS...
179
c
/* * GPL HEADER START * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 only, * as published by the Free Software Foundation. * * This program is distributed...
30.61
77
(translation_unit) "/*\n * GPL HEADER START\n *\n * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.\n *\n * This program is free software; you can redistribute it and/or modify\n * it under the terms of the GNU General Public License version 2 only,\n * as published by the Free Software Foundation.\n *\n ...
213
0
{"language": "c", "success": true, "metadata": {"lines": 77, "avg_line_length": 30.61, "nodes": 169, "errors": 0, "source_hash": "8c24630fabd53843d2db8b384fd7f5f87ed2fc3a17bb74b3091504475de53c16", "categorized_nodes": 134}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_def", "text": "#define ...
180
c
/* ** EPITECH PROJECT, 2018 ** position_sky.c ** File description: ** Function that manages the sky's position */ #include "../include/game_objects.h" #include "../include/include.h" void manage_all_s(object* obj, object* obj2, object* obj3, object* obj4) { manage_sky(obj); manage_sky(obj2); manage_sky(obj3); man...
22.25
20
(translation_unit) "/*\n** EPITECH PROJECT, 2018\n** position_sky.c\n** File description:\n** Function that manages the sky's position\n*/\n\n#include "../include/game_objects.h"\n#include "../include/include.h"\n\nvoid manage_all_s(object* obj, object* obj2, object* obj3, object* obj4)\n{\n manage_sky(obj);\n manage_s...
127
0
{"language": "c", "success": true, "metadata": {"lines": 20, "avg_line_length": 22.25, "nodes": 76, "errors": 0, "source_hash": "44d136f82e73f3165d9c603ff1ceecfdc8ca82ffc1c864eabdd8f1aae728de34", "categorized_nodes": 56}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
181
c
/* Student ID/Name: 2019120154 <NAME> * Date: 02/02/2022 * Course Code: CMPS2212 | Section: 1 * Program Name: FloydAck_2019120154_Lab1 */ #ifndef MAINMENU_H #define MAINMENU_H #include "Chat.h" #include <QWidget> #include <QColorDialog> #include <QPushButton> #include <QHBoxLayout> #include <QVBo...
16.81
37
(translation_unit) "/* Student ID/Name: 2019120154 <NAME> \n * Date: 02/02/2022 \n * Course Code: CMPS2212 | Section: 1 \n * Program Name: FloydAck_2019120154_Lab1 \n*/ \n \n#ifndef MAINMENU_H \n#define MAINMENU_H \n \n#include "Chat.h" \n \n#include <QWidget> \n \n#include <QColorDialog> \n#include <QPushButton> \n#in...
110
5
{"language": "c", "success": true, "metadata": {"lines": 37, "avg_line_length": 16.81, "nodes": 79, "errors": 0, "source_hash": "e7932361dbbfb1f466b376ce1ceeb440818792a814c8ac7102898b02a26c09d9", "categorized_nodes": 58}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
182
c
#include <sys/mkdir.h> #include <sys/get_syscall_id.h> int sys_touch_id = -1; void touch(const char* path) { if (sys_touch_id == -1) { sys_touch_id = get_syscall_id("sys_touch"); } __asm__ __volatile__ ("int $0x30" : : "a" (sys_touch_id), "b" (path)); }
27.78
9
(translation_unit) "#include <sys/mkdir.h>\n\n#include <sys/get_syscall_id.h>\n\nint sys_touch_id = -1;\n\nvoid touch(const char* path) {\n if (sys_touch_id == -1) {\n sys_touch_id = get_syscall_id("sys_touch");\n }\n\n __asm__ __volatile__ ("int $0x30" : : "a" (sys_touch_id), "b" (path));\n}" (preproc_include) "#in...
90
0
{"language": "c", "success": true, "metadata": {"lines": 9, "avg_line_length": 27.78, "nodes": 47, "errors": 0, "source_hash": "43e24882dddc6b7efddaa1b7b3a059b5a43e3c544d384af8b2937d8b7ac57219", "categorized_nodes": 31}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#includ...
183
c
/* * An rtc driver for the Dallas DS1742 * * Copyright (C) 2006 <NAME> <<EMAIL>> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * * Copyright (C) 2006 <NAME> <<EMAIL>> * ...
30.34
240
(translation_unit) "/*\n * An rtc driver for the Dallas DS1742\n *\n * Copyright (C) 2006 <NAME> <<EMAIL>>\n *\n * This program is free software; you can redistribute it and/or modify\n * it under the terms of the GNU General Public License version 2 as\n * published by the Free Software Foundation.\n *\n * Copyright (...
2,226
13
{"language": "c", "success": true, "metadata": {"lines": 240, "avg_line_length": 30.34, "nodes": 1494, "errors": 0, "source_hash": "14232fc7cbbe59fda2828486fa64c692a73cebddaf6b975e97124caf423d2603", "categorized_nodes": 1045}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#...
184
c
/* * Icon configuration file for Linux v2 on Athlon64, Solaris Studio compilers */ #define UNIX 1 #define LoadFunc /* no SysOpt: Linux getopt() is POSIX-compatible only if an envmt var is set */ /* CPU architecture */ #define IntBits 32 #define WordBits 64 #define Double #define StackAlign 16 #define NEED_UTIME /* ...
29.61
23
(translation_unit) "/*\n * Icon configuration file for Linux v2 on Athlon64, Solaris Studio compilers\n */\n\n#define UNIX 1\n#define LoadFunc\n/* no SysOpt: Linux getopt() is POSIX-compatible only if an envmt var is set */\n\n/* CPU architecture */\n#define IntBits 32\n#define WordBits 64\n#define Double\n#define Stac...
48
0
{"language": "c", "success": true, "metadata": {"lines": 23, "avg_line_length": 29.61, "nodes": 42, "errors": 0, "source_hash": "a48656b36b7f8d7320977cd6877f7ff62f57c7fd0c439f73947b8d0da2f7a69b", "categorized_nodes": 14}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_def", "text": "#define UN...
185
c
/* * drivers/video/tegra/dc/mipi_cal.h * * Copyright (c) 2012-2013, NVIDIA CORPORATION, All rights reserved. * * This software is licensed under the terms of the GNU General Public * License version 2, as published by the Free Software Foundation, and * may be copied, distributed, and modified under those terms....
26.98
99
(translation_unit) "/*\n * drivers/video/tegra/dc/mipi_cal.h\n *\n * Copyright (c) 2012-2013, NVIDIA CORPORATION, All rights reserved.\n *\n * This software is licensed under the terms of the GNU General Public\n * License version 2, as published by the Free Software Foundation, and\n * may be copied, distributed, and ...
575
1
{"language": "c", "success": true, "metadata": {"lines": 99, "avg_line_length": 26.98, "nodes": 397, "errors": 0, "source_hash": "af1aab232292516fd12d697d314c2701cacace7b5ea02ac9d4b6f413c594b58f", "categorized_nodes": 272}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
186
c
// | / | // ' / __| _` | __| _ \ __| // . \ | ( | | ( |\__ ` // _|\_\_| \__,_|\__|\___/ ____/ // Multi-Physics // // License: BSD License // license: HDF5Application/license.txt // // Main author: <NAME>, https://github.com/msandre // /** @file hdf5_no...
33.07
43
(translation_unit) "// | / |\n// ' / __| _` | __| _ \ __|\n// . \ | ( | | ( |\__ `\n// _|\_\_| \__,_|\__|\___/ ____/\n// Multi-Physics\n//\n// License: BSD License\n// license: HDF5Application/license.txt\n//\n// Main author: <NAME>, https://github.com/...
203
11
{"language": "c", "success": true, "metadata": {"lines": 43, "avg_line_length": 33.07, "nodes": 102, "errors": 0, "source_hash": "7b527d478089f713b66ba2e8aaaf4cfed2dda60b6f0e6f4e05d613054809254f", "categorized_nodes": 83}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_if", "text": "#if !defin...
187
c
// SPDX-License-Identifier: GPL-2.0+ /* * WORK Microwave work_92105 board support * * (C) Copyright 2014 DENX Software Engineering GmbH * Written-by: <NAME> <<EMAIL>> */ #include <common.h> #include <init.h> #include <asm/io.h> #include <asm/arch/sys_proto.h> #include <asm/arch/cpu.h> #include <asm/arch/clk.h> #...
24.86
66
(translation_unit) "// SPDX-License-Identifier: GPL-2.0+\n/*\n * WORK Microwave work_92105 board support\n *\n * (C) Copyright 2014 DENX Software Engineering GmbH\n * Written-by: <NAME> <<EMAIL>>\n */\n\n#include <common.h>\n#include <init.h>\n#include <asm/io.h>\n#include <asm/arch/sys_proto.h>\n#include <asm/arch/cp...
357
0
{"language": "c", "success": true, "metadata": {"lines": 66, "avg_line_length": 24.86, "nodes": 214, "errors": 0, "source_hash": "d7208fa06cfb7ea754686e4cccc0a34d40cde7c886cc325c3ea5321f615111a0", "categorized_nodes": 160}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
188
c
#ifndef E_MOD_MAIN_H #define E_MOD_MAIN_H #include "e_mod_physics_cfdata.h" typedef struct _Mod Mod; struct _Mod { E_Module *module; E_Config_DD *conf_edd; E_Config_DD *conf_match_edd; Config *conf; E_Config_Dialog *config_dialog; }; extern Mod *_physics_mod; EAPI extern...
30.18
22
(translation_unit) "#ifndef E_MOD_MAIN_H\n#define E_MOD_MAIN_H\n\n#include "e_mod_physics_cfdata.h"\n\ntypedef struct _Mod Mod;\n\nstruct _Mod\n{\n E_Module *module;\n\n E_Config_DD *conf_edd;\n E_Config_DD *conf_match_edd;\n Config *conf;\n\n E_Config_Dialog *config_dialog;\n};\n\n...
187
6
{"language": "c", "success": true, "metadata": {"lines": 22, "avg_line_length": 30.18, "nodes": 147, "errors": 0, "source_hash": "2da7d040b56207e776848f6d84f01ed95bbc80da2cb2f42622996354b24f60b4", "categorized_nodes": 94}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
189
c
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by <NAME>. // #import "MTLModel.h" #import "NSSecureCoding.h" @class NSString; @interface WFPHAssetCollectionDescriptor : MTLModel <NSSecureCoding> { NSString *_localIdentifier; NSString *_l...
36
21
(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 "MTLModel.h"\n\n#import "NSSecureCoding.h"\n\n@class NSString;\n\n@interface WFPHAssetCollectionDescriptor : MTLModel <NSSecureCoding>\n{\n NSString *...
165
15
{"language": "c", "success": true, "metadata": {"lines": 21, "avg_line_length": 36.0, "nodes": 102, "errors": 0, "source_hash": "6778524fc598cc690c72375ee8b19bd44542c68671487ba3a0d56f2a64cd0111", "categorized_nodes": 58}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import \...
190
c
// // RCCallViewWrapper.h // rongcloud_call_wrapper_plugin // // Created by <NAME> on 2021/12/13. // #import <Foundation/Foundation.h> #import <Flutter/Flutter.h> NS_ASSUME_NONNULL_BEGIN @class RCCallIWFlutterView; @interface RCCallView : NSObject - (RCCallIWFlutterView *)view; @end @interface RCCallViewWrapp...
23.72
18
(translation_unit) "//\n// RCCallViewWrapper.h\n// rongcloud_call_wrapper_plugin\n//\n// Created by <NAME> on 2021/12/13.\n//\n\n#import <Foundation/Foundation.h>\n#import <Flutter/Flutter.h>\n\nNS_ASSUME_NONNULL_BEGIN\n\n@class RCCallIWFlutterView;\n\n@interface RCCallView : NSObject\n\n- (RCCallIWFlutterView *)vie...
89
11
{"language": "c", "success": true, "metadata": {"lines": 18, "avg_line_length": 23.72, "nodes": 59, "errors": 0, "source_hash": "40cf67d724deba625a8e2ffca431dcfe084654c702a33a24cd537536cdd01b3a", "categorized_nodes": 31}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <...
191
c
{% extends "oyCMMapi_s_.template.h" %} {% block ChildMembers %} {{ block.super }} /* Include "CMMapi5.members.h" { */ {% include "CMMapi5.members.h" %} /* } Include "CMMapi5.members.h" */ {% endblock %}
28
7
(translation_unit) "{% extends "oyCMMapi_s_.template.h" %}\n\n{% block ChildMembers %}\n{{ block.super }}\n/* Include "CMMapi5.members.h" { */\n{% include "CMMapi5.members.h" %}\n/* } Include "CMMapi5.members.h" */\n{% endblock %}\n" (compound_statement) "{% extends "oyCMMapi_s_.template.h" %}" ({) "{" (ERROR...
54
4
{"language": "c", "success": true, "metadata": {"lines": 7, "avg_line_length": 28.0, "nodes": 24, "errors": 0, "source_hash": "35be0081333905aee2355b1991e1cade9d686437186a0218b178d97d127c48f7", "categorized_nodes": 12}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "% extends \"oyCMMa...
192
c
#ifndef _LINDENB_IO_STDIOSTREAMBUF_H #define _LINDENB_IO_STDIOSTREAMBUF_H #include <string> #include <iostream> #include <stdexcept> #include <zlib.h> #include <streambuf> #include <cstdlib> #include <cstring> #include <cassert> #include <zlib.h> #include "lindenb/lang/throw.h" namespace lindenb { namespace io { /** ...
18.62
73
(translation_unit) "#ifndef _LINDENB_IO_STDIOSTREAMBUF_H\n#define _LINDENB_IO_STDIOSTREAMBUF_H\n#include <string>\n#include <iostream>\n#include <stdexcept>\n#include <zlib.h>\n#include <streambuf>\n#include <cstdlib>\n#include <cstring>\n#include <cassert>\n#include <zlib.h>\n#include "lindenb/lang/throw.h"\n\nnamespa...
483
14
{"language": "c", "success": true, "metadata": {"lines": 73, "avg_line_length": 18.62, "nodes": 280, "errors": 0, "source_hash": "b7d86ff331878ead2d84d0b15166d8c9fa9c981946c09675c25a2923056cebcb", "categorized_nodes": 195}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
193
c
// // WJHShouldTerminateToken.h // WJHShouldTerminate // // Copyright (c) 2015 <NAME>. All rights reserved. // #import <Foundation/Foundation.h> /** A token returned when pausing application termination via -[WJHShouldTerminate pauseTermination]. */ @interface WJHShouldTerminateToken : NSObject /* Use the toke...
31.13
23
(translation_unit) "//\n// WJHShouldTerminateToken.h\n// WJHShouldTerminate\n//\n// Copyright (c) 2015 <NAME>. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n\n/**\n A token returned when pausing application termination via -[WJHShouldTerminate pauseTermination].\n */\n@interface WJHShouldTerminateTo...
44
4
{"language": "c", "success": true, "metadata": {"lines": 23, "avg_line_length": 31.13, "nodes": 22, "errors": 0, "source_hash": "cc595178561e88786b6fc1e511d39e775d7914bc4b303ff2bfbbfbe1a596a45f", "categorized_nodes": 10}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <...
194
c
/* * Author: <NAME>, Finland 2013-2016 * * This file is part of Kunquat. * * CC0 1.0 Universal, http://creativecommons.org/publicdomain/zero/1.0/ * * To the extent possible under law, Kunquat Affirmers have waived all * copyright and related or neighboring rights to Kunquat. */ #include <kunquat/testing.h>...
20.64
33
(translation_unit) "/*\n * Author: <NAME>, Finland 2013-2016\n *\n * This file is part of Kunquat.\n *\n * CC0 1.0 Universal, http://creativecommons.org/publicdomain/zero/1.0/\n *\n * To the extent possible under law, Kunquat Affirmers have waived all\n * copyright and related or neighboring rights to Kunquat.\n */\n\n...
99
0
{"language": "c", "success": true, "metadata": {"lines": 33, "avg_line_length": 20.64, "nodes": 60, "errors": 0, "source_hash": "492b4bca3e3d65e7185e141938b6592f088effc8dc0f3782cc170f535208a759", "categorized_nodes": 45}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
195
c
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- * vim: set ts=8 sts=4 et sw=4 tw=99: * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ ...
28.11
305
(translation_unit) "/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-\n * vim: set ts=8 sts=4 et sw=4 tw=99:\n * This Source Code Form is subject to the terms of the Mozilla Public\n * License, v. 2.0. If a copy of the MPL was not distributed with this\n * file, You can obtain one at http://m...
2,313
50
{"language": "c", "success": true, "metadata": {"lines": 305, "avg_line_length": 28.11, "nodes": 1326, "errors": 0, "source_hash": "e12f951cf535284029d40cb3f3cffb7c5fafd0fabcd4acaf4f44a8d32bc1b706", "categorized_nodes": 915}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifn...
196
c
#ifndef EN_COMBO_RELATION_FINDER_H #define EN_COMBO_RELATION_FINDER_H // Copyright 2008 by BBN Technologies Corp. // All Rights Reserved. #include "Generic/common/limits.h" #include "Generic/common/Symbol.h" #include "Generic/common/UTF8OutputStream.h" class Parse; class Mention; class MentionSet; class...
29.66
109
(translation_unit) "#ifndef EN_COMBO_RELATION_FINDER_H \n#define EN_COMBO_RELATION_FINDER_H \n \n// Copyright 2008 by BBN Technologies Corp. \n// All Rights Reserved. \n \n#include "Generic/common/limits.h" \n#include "Generic/common/Symbol.h" \n#include "Generic/common/UTF8OutputStream.h" \n \nclass Parse; \nclass Men...
625
4
{"language": "c", "success": true, "metadata": {"lines": 109, "avg_line_length": 29.66, "nodes": 407, "errors": 0, "source_hash": "9d078a37054ea60a3a128cc0bf0443c348ba2baec4138a16383e1d6b0159dc7d", "categorized_nodes": 275}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
197
c
/* * @file PDoba.h * @author <NAME>, xkozub03 * @author <NAME>, xhurta01 * @date 22.11.2014 * @brief Hlidac pracovni doby, projekt do predmetu IMS 2014 */ #ifndef PDOBA_H #define PDOBA_H #include "Defs.h" /** * \brief Hlídač začátku/konce pracovní doby */ class PDoba: public Process { public: int Aktualni...
22.16
25
(translation_unit) "/* \n * @file PDoba.h\n * @author <NAME>, xkozub03\n * @author <NAME>, xhurta01\n * @date 22.11.2014\n * @brief Hlidac pracovni doby, projekt do predmetu IMS 2014\n */\n\n#ifndef PDOBA_H\n#define PDOBA_H\n\n#include "Defs.h"\n\n/**\n * \brief Hlídač začátku/konce pracovní doby\n */\nclass PDoba: pub...
92
5
{"language": "c", "success": true, "metadata": {"lines": 25, "avg_line_length": 22.16, "nodes": 46, "errors": 0, "source_hash": "398fdd44534108585a5fdf848933b395a390a25b21a246553c7b11323740f10f", "categorized_nodes": 28}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "#ifndef PDOBA_H\...
198
c
#define __mirc__ 1 #define __STDC_HOSTED__ 1 //#define __STDC_ISO_10646__ 201103L #define __STDC_NO_ATOMICS__ 1 #define __STDC_NO_COMPLEX__ 1 #define __STDC_NO_THREADS__ 1 #define __STDC_NO_VLA__ 1 #define __STDC_UTF_16__ 1 #define __STDC_UTF_32__ 1 #define __STDC_VERSION__ 201112L #define __STDC__ 1 /* Some GCC alter...
28.55
20
(translation_unit) "#define __mirc__ 1\n#define __STDC_HOSTED__ 1\n//#define __STDC_ISO_10646__ 201103L\n#define __STDC_NO_ATOMICS__ 1\n#define __STDC_NO_COMPLEX__ 1\n#define __STDC_NO_THREADS__ 1\n#define __STDC_NO_VLA__ 1\n#define __STDC_UTF_16__ 1\n#define __STDC_UTF_32__ 1\n#define __STDC_VERSION__ 201112L\n#define...
75
0
{"language": "c", "success": true, "metadata": {"lines": 20, "avg_line_length": 28.55, "nodes": 70, "errors": 0, "source_hash": "38826e8f8a457403f10ca168754cfb1a6a95c99ceff3eeb541f2af30e95641d2", "categorized_nodes": 18}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_def", "text": "#define __...
199