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
// // NSArray+BaseKit.h // WDZForAppStore // // Created by 李轩霖 on 2018/10/18. // Copyright © 2018 Wandianzhang. All rights reserved. // #import <Foundation/Foundation.h> #import "CategoryBugHeader.h" @interface NSArray (BaseKit) @end /*! * @author 黄仪标, 16-12-29 10:12:52 * * 请不要删除作者信息 * * @blog article ...
20.54
24
(translation_unit) "//\n// NSArray+BaseKit.h\n// WDZForAppStore\n//\n// Created by 李轩霖 on 2018/10/18.\n// Copyright © 2018 Wandianzhang. All rights reserved.\n//\n\n\n#import <Foundation/Foundation.h>\n#import "CategoryBugHeader.h"\n\n@interface NSArray (BaseKit)\n\n@end\n\n/*!\n * @author 黄仪标, 16-12-29 10:12:52\n...
40
8
{"language": "c", "success": true, "metadata": {"lines": 24, "avg_line_length": 20.54, "nodes": 27, "errors": 0, "source_hash": "1016cd75d85eed7c6615410f98c9161f31c776b38ef18ee91a1a3006f2e1e797", "categorized_nodes": 13}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": " <Foundat...
9,100
c
#ifndef _SYSTEM_H_ #define _SYSTEM_H_ #include <stdint.h> void systemInit(void); void delayMicroSeconds(uint32_t us); void delay(uint32_t ms); void cycleCounterInit(void); uint32_t micros(void); uint32_t microsISR(void); uint32_t millis(void); #endif
21.82
11
(translation_unit) "#ifndef _SYSTEM_H_\n#define _SYSTEM_H_\n\n#include <stdint.h>\n\nvoid systemInit(void);\nvoid delayMicroSeconds(uint32_t us);\nvoid delay(uint32_t ms);\nvoid cycleCounterInit(void);\n\nuint32_t micros(void);\nuint32_t microsISR(void);\nuint32_t millis(void);\n\n#endif\n" (preproc_ifdef) "#ifndef _...
83
0
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 21.82, "nodes": 61, "errors": 0, "source_hash": "b9481146cf7e8c454cea948b636284b7a3bf652eeaf15dbaf9324b3bbf0a344a", "categorized_nodes": 38}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
9,101
c
/* * This file is part of the Nautilus AeroKernel developed * by the Hobbes and V3VEE Projects with funding from the * United States National Science Foundation and the Department of Energy. * * The V3VEE Project is a joint project between Northwestern University * and the University of New Mexico. The Hobb...
34.74
133
(translation_unit) "/* \n * This file is part of the Nautilus AeroKernel developed\n * by the Hobbes and V3VEE Projects with funding from the \n * United States National Science Foundation and the Department of Energy. \n *\n * The V3VEE Project is a joint project between Northwestern University\n * and the Universit...
677
4
{"language": "c", "success": true, "metadata": {"lines": 133, "avg_line_length": 34.74, "nodes": 408, "errors": 0, "source_hash": "237125f27419291c1cb29bc397b7bff3cf19e304e553f16acfdb25e69786aecd", "categorized_nodes": 238}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
9,102
c
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by <NAME>. // #import "SBDashBoardViewBase.h" @class UIView; @interface SBDashBoardTodayContentView : SBDashBoardViewBase { _Bool _bouncing; UIView *_navigationView; UIView *_todayView; }...
33.24
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 "SBDashBoardViewBase.h"\n\n@class UIView;\n\n@interface SBDashBoardTodayContentView : SBDashBoardViewBase\n{\n _Bool _bouncing;\n UIView *_navigati...
143
14
{"language": "c", "success": true, "metadata": {"lines": 21, "avg_line_length": 33.24, "nodes": 91, "errors": 0, "source_hash": "2e52f9edb90c09c96fdf8bef3963a208749c5e874c52537c49c2c8265e75f078", "categorized_nodes": 52}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import \...
9,103
c
/* * Mesa 3-D graphics library * * Copyright (C) 2012-2013 LunarG, Inc. * * 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...
31.38
182
(translation_unit) "/*\n * Mesa 3-D graphics library\n *\n * Copyright (C) 2012-2013 LunarG, Inc.\n *\n * Permission is hereby granted, free of charge, to any person obtaining a\n * copy of this software and associated documentation files (the "Software"),\n * to deal in the Software without restriction, including with...
1,282
0
{"language": "c", "success": true, "metadata": {"lines": 182, "avg_line_length": 31.38, "nodes": 791, "errors": 0, "source_hash": "b8be040b74d2ee052b0ddb7647a40a91791220b771f75d0f74ba4eb17d435a80", "categorized_nodes": 619}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
9,104
c
/* Copyright (c) 2015 Nordic Semiconductor. All Rights Reserved. * * The information contained herein is property of Nordic Semiconductor ASA. * Terms and conditions of usage are described in detail in NORDIC * SEMICONDUCTOR STANDARD SOFTWARE LICENSE AGREEMENT. * * Licensees are granted free, non-transferab...
27.2
60
(translation_unit) "/* Copyright (c) 2015 Nordic Semiconductor. All Rights Reserved. \n * \n * The information contained herein is property of Nordic Semiconductor ASA. \n * Terms and conditions of usage are described in detail in NORDIC \n * SEMICONDUCTOR STANDARD SOFTWARE LICENSE AGREEMENT. \n * \n * Licensees are gr...
147
16
{"language": "c", "success": true, "metadata": {"lines": 60, "avg_line_length": 27.2, "nodes": 103, "errors": 0, "source_hash": "d73c2621b0cefa780905a522ae29d60d2a3425fd64c3293ccdf028795721f99a", "categorized_nodes": 77}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
9,105
c
/** * Description: Find three edge-disjoint spanning trees * (matroid partition) * Time: ? * Source: https://codeforces.com/blog/entry/69287 * chilli (KACTL) * Verification: https://dmoj.ca/problem/dmopc19c3p6 * Usage: MatroidPart<Gmat>(n,3,3*(N-1),Gmat(ed)) */ struct Gmat { // graphic matroid int V = 0; ...
23.87
84
(translation_unit) "/**\n * Description: Find three edge-disjoint spanning trees \n * (matroid partition)\n * Time: ?\n * Source: https://codeforces.com/blog/entry/69287\n * chilli (KACTL)\n * Verification: https://dmoj.ca/problem/dmopc19c3p6\n * Usage: MatroidPart<Gmat>(n,3,3*(N-1),Gmat(ed))\n */\n\n struct Gmat { /...
1,293
36
{"language": "c", "success": true, "metadata": {"lines": 84, "avg_line_length": 23.87, "nodes": 775, "errors": 0, "source_hash": "cd14429110558bff29843eeb98e783f894570d5c2a29da12f0cadb3e4c44c347", "categorized_nodes": 596}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "function_definition", "text": "...
9,106
c
#include <stdio.h> #include <string.h> char s[210]; int arr[5] = {0, 1, 0, 0, 2}; int sm, lg; void swap(int a, int b){ int t = arr[b]; arr[b] = arr[a]; arr[a] = t; return; } int main(void){ scanf("%s", s); int len = strlen(s); for(int i=0;i<len;i++){ switch(s[i]){ case...
19.77
43
(translation_unit) "#include <stdio.h>\n#include <string.h>\n\nchar s[210];\nint arr[5] = {0, 1, 0, 0, 2};\nint sm, lg;\n\nvoid swap(int a, int b){\n int t = arr[b];\n arr[b] = arr[a];\n arr[a] = t;\n return;\n}\n\nint main(void){\n scanf("%s", s);\n int len = strlen(s);\n for(int i=0;i<len;i++){\n...
367
0
{"language": "c", "success": true, "metadata": {"lines": 43, "avg_line_length": 19.77, "nodes": 224, "errors": 0, "source_hash": "8e4fd3ed9a01649909f05b8e2b0de05b5bc66eab24b4486a9234553f2e0bfc0d", "categorized_nodes": 149}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
9,107
c
#/*########################################################################## # # The fisx library for X-Ray Fluorescence # # Copyright (c) 2014-2016 European Synchrotron Radiation Facility # # This file is part of the fisx X-ray developed by <NAME> # # Permission is hereby granted, free of charge, to any person obtain...
37.73
102
(translation_unit) "#/*##########################################################################\n#\n# The fisx library for X-Ray Fluorescence\n#\n# Copyright (c) 2014-2016 European Synchrotron Radiation Facility\n#\n# This file is part of the fisx X-ray developed by <NAME>\n#\n# Permission is hereby granted, free of ...
493
33
{"language": "c", "success": true, "metadata": {"lines": 102, "avg_line_length": 37.73, "nodes": 301, "errors": 0, "source_hash": "a41d8eaa100b25471c971c17ebbb63ac0ccc19746c9ce1fc7527fb6301704d2a", "categorized_nodes": 164}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "#", "parent":...
9,108
c
// Use of this source code is governed by a BSD-style license // that can be found in the License file. // // Author: <NAME> (chenshuo at chenshuo dot com) // muduo/muduo/base/Exception.h #ifndef BUBBLEFS_UTILS_MUDUO_EXCEPTION_H_ #define BUBBLEFS_UTILS_MUDUO_EXCEPTION_H_ #include <exception> #include <string> names...
27
28
(translation_unit) "// Use of this source code is governed by a BSD-style license\n// that can be found in the License file.\n//\n// Author: <NAME> (chenshuo at chenshuo dot com)\n\n// muduo/muduo/base/Exception.h\n\n#ifndef BUBBLEFS_UTILS_MUDUO_EXCEPTION_H_\n#define BUBBLEFS_UTILS_MUDUO_EXCEPTION_H_\n\n#include <excep...
168
7
{"language": "c", "success": true, "metadata": {"lines": 28, "avg_line_length": 27.0, "nodes": 90, "errors": 0, "source_hash": "4606c7ab1cfbee24284aa0354cd4d5739a4bcabe0a89c9e3801a3cc9a049c2e1", "categorized_nodes": 60}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef B...
9,109
c
// // MenuDelegate.h // Twitter // // Created by <NAME> on 9/21/16. // Copyright © 2016 <NAME>. All rights reserved. // #ifndef MenuDelegate_h #define MenuDelegate_h @protocol MenuDelegate<NSObject> - (void)openMenu; - (void)closeMenu; @end @protocol MenuSelectDelegate<NSObject> @optional - (void)menuItemSelecte...
19.56
18
(translation_unit) "//\n// MenuDelegate.h\n// Twitter\n//\n// Created by <NAME> on 9/21/16.\n// Copyright © 2016 <NAME>. All rights reserved.\n//\n\n#ifndef MenuDelegate_h\n#define MenuDelegate_h\n\n@protocol MenuDelegate<NSObject>\n- (void)openMenu;\n- (void)closeMenu;\n@end\n\n@protocol MenuSelectDelegate<NSObjec...
80
11
{"language": "c", "success": true, "metadata": {"lines": 18, "avg_line_length": 19.56, "nodes": 54, "errors": 0, "source_hash": "fba5beb3b488109a00a0e0e76f036401616b843539c806e95d88608f05871c18", "categorized_nodes": 28}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "ifndef M...
9,110
c
#include "../vidhrdw/xybots.c" /*************************************************************************** Xybots Memory Map ----------------------------------- driver by <NAME> XYBOTS 68000 MEMORY MAP Function Address R/W DATA ----------------------------------------------------...
32.65
269
(translation_unit) "#include "../vidhrdw/xybots.c"\n\n/***************************************************************************\n\nXybots Memory Map\n-----------------------------------\n\ndriver by <NAME>\n\nXYBOTS 68000 MEMORY MAP\n\nFunction Address R/W DATA\n--------------------...
1,848
31
{"language": "c", "success": true, "metadata": {"lines": 269, "avg_line_length": 32.65, "nodes": 1018, "errors": 0, "source_hash": "04e9f942c3d4a731b6f9acee89e6fc3626e5d4772df23f7b9397ea1ab7a774f2", "categorized_nodes": 783}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#i...
9,111
c
#ifndef DALE_FORM_TOPLEVEL_INCLUDE #define DALE_FORM_TOPLEVEL_INCLUDE #include "../../../Units/Units.h" namespace dale { /*! Parse a top-level include form. * @param units The units context. * @param node The node being parsed. */ bool FormTopLevelIncludeParse(Units *units, Node *node); } #endif
26.45
11
(translation_unit) "#ifndef DALE_FORM_TOPLEVEL_INCLUDE\n#define DALE_FORM_TOPLEVEL_INCLUDE\n\n#include "../../../Units/Units.h"\n\nnamespace dale {\n/*! Parse a top-level include form.\n * @param units The units context.\n * @param node The node being parsed.\n */\nbool FormTopLevelIncludeParse(Units *units, Node *no...
40
0
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 26.45, "nodes": 28, "errors": 0, "source_hash": "2b6e287ccc816d7a3721e46738b2c5fe50459f8d41ca9289c3f399dcd02e62af", "categorized_nodes": 20}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
9,112
c
// // ServiceCore.h // ServiceCore // // Created by <NAME> on 22.11.2020. // #import <Foundation/Foundation.h> //! Project version number for ServiceCore. FOUNDATION_EXPORT double ServiceCoreVersionNumber; //! Project version string for ServiceCore. FOUNDATION_EXPORT const unsigned char ServiceCoreVersionString[]...
37
12
(translation_unit) "//\n// ServiceCore.h\n// ServiceCore\n//\n// Created by <NAME> on 22.11.2020.\n//\n\n#import <Foundation/Foundation.h>\n\n//! Project version number for ServiceCore.\nFOUNDATION_EXPORT double ServiceCoreVersionNumber;\n\n//! Project version string for ServiceCore.\nFOUNDATION_EXPORT const unsigne...
32
1
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 37.0, "nodes": 15, "errors": 0, "source_hash": "25e4a0337e1ff50ecd0e1ad0a64fc8021170d929d5b68551eb62ffc5b91c8fd1", "categorized_nodes": 10}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <F...
9,113
c
#pragma once enum numbers { KPS, CurrentFrameKeys, KP01S, NumCount }; class _num { private: _num() = default; ~_num() = default; int data[NumCount]{}; public: int get(numbers n) const { return data[n]; } void set(numbers n, int val) { data[n] = val; } friend _num& num(); }; _num& num();
13.24
21
(translation_unit) "#pragma once\n\nenum numbers\n{\n KPS,\n CurrentFrameKeys,\n KP01S,\n\n NumCount\n};\n\n\nclass _num\n{\nprivate:\n _num() = default;\n ~_num() = default;\n int data[NumCount]{};\npublic:\n int get(numbers n) const { return data[n]; }\n void set(numbers n, int val) { data[n] = val; }\n friend _num& ...
144
1
{"language": "c", "success": true, "metadata": {"lines": 21, "avg_line_length": 13.24, "nodes": 81, "errors": 0, "source_hash": "3d266df45054b9b0aa10730a894a060f757930fcec8b77cfb3bd5be2be5e08b9", "categorized_nodes": 60}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
9,114
c
/* GStreamer Musepack decoder plugin * Copyright (C) 2004 <NAME> <<EMAIL>> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) ...
33.54
123
(translation_unit) "/* GStreamer Musepack decoder plugin\n * Copyright (C) 2004 <NAME> <<EMAIL>>\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Library General Public\n * License as published by the Free Software Foundation; either\n * version 2 of the Lic...
845
0
{"language": "c", "success": true, "metadata": {"lines": 123, "avg_line_length": 33.54, "nodes": 530, "errors": 0, "source_hash": "12abcc19f3dec23887d3b78f331eae21a908c0b5a14698c2f9922dae11941510", "categorized_nodes": 392}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifde...
9,115
c
// // ResultModel.h // GZTCMhospital // // Created by Chris on 15/9/24. // Copyright (c) 2015年 Chris. All rights reserved. // #import <Foundation/Foundation.h> @interface ResultModel : NSObject @property (nonatomic, copy) NSString *ResultMessage; @property (nonatomic, assign) int ResultID; @end
24
12
(translation_unit) "//\n// ResultModel.h\n// GZTCMhospital\n//\n// Created by Chris on 15/9/24.\n// Copyright (c) 2015年 Chris. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n\n@interface ResultModel : NSObject\n\n@property (nonatomic, copy) NSString *ResultMessage;\n@property (nonatomic, assign) int...
52
10
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 24.0, "nodes": 35, "errors": 0, "source_hash": "29817afb8d0105db67f802b78112f579cffbec6c9a793f5fe6e88b1faef406d6", "categorized_nodes": 19}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "mport <Fou...
9,116
c
// // EZProgressHub.h // EZFramework_example // // Created by sun on 15/10/16. // Copyright © 2015年 sunfei. All rights reserved. // #import <Foundation/Foundation.h> #import "SVProgressHUD.h" typedef NS_ENUM(NSUInteger, EZProgressHUDMaskType) { EZProgressHUDMaskTypeNone = 1, EZProgressHUDMaskTypeClear, ...
38.52
29
(translation_unit) "//\n// EZProgressHub.h\n// EZFramework_example\n//\n// Created by sun on 15/10/16.\n// Copyright © 2015年 sunfei. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n#import "SVProgressHUD.h"\n\ntypedef NS_ENUM(NSUInteger, EZProgressHUDMaskType) {\n EZProgressHUDMaskTypeNone = 1,\n ...
286
24
{"language": "c", "success": true, "metadata": {"lines": 29, "avg_line_length": 38.52, "nodes": 174, "errors": 0, "source_hash": "4973afd99bd163944f510305ea227c971acf890d8a82fcef834892f5f9859889", "categorized_nodes": 94}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "port <Fo...
9,117
c
// SPDX-License-Identifier: GPL-2.0-or-later /* * net/sched/cls_rsvp6.c Special RSVP packet classifier for IPv6. * * Authors: <NAME>, <<EMAIL>> */ #include <linux/module.h> #include <linux/types.h> #include <linux/kernel.h> #include <linux/string.h> #include <linux/errno.h> #include <linux/ipv6.h> #include <linux/...
24.14
21
(translation_unit) "// SPDX-License-Identifier: GPL-2.0-or-later\n/*\n * net/sched/cls_rsvp6.c Special RSVP packet classifier for IPv6.\n *\n * Authors: <NAME>, <<EMAIL>>\n */\n\n#include <linux/module.h>\n#include <linux/types.h>\n#include <linux/kernel.h>\n#include <linux/string.h>\n#include <linux/errno.h>\n#include...
62
0
{"language": "c", "success": true, "metadata": {"lines": 21, "avg_line_length": 24.14, "nodes": 49, "errors": 0, "source_hash": "7cb42f89b1bff7099f202f42cde8952c661a6a2493449738fdba575704995934", "categorized_nodes": 39}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
9,118
c
/* * OoqpVector_fwd.h * * Created on: 08.11.2019 * Author: bzfkempk */ #ifndef OOQPVECTOR_FWD_H #define OOQPVECTOR_FWD_H template<typename T> class OoqpVectorBase; typedef OoqpVectorBase<double> OoqpVector; #endif
13.94
16
(translation_unit) "/*\n * OoqpVector_fwd.h\n *\n * Created on: 08.11.2019\n * Author: bzfkempk\n */\n \n #ifndef OOQPVECTOR_FWD_H\n #define OOQPVECTOR_FWD_H\n \n template<typename T>\n class OoqpVectorBase;\n \n typedef OoqpVectorBase<double> OoqpVector;\n \n #endif" (comment) "/*\n * OoqpVector_fwd.h\n *\n * ...
31
3
{"language": "c", "success": true, "metadata": {"lines": 16, "avg_line_length": 13.94, "nodes": 24, "errors": 0, "source_hash": "81bcbbec0321d50fc1f006c351e93b1611e5f6893f67b5c3b00d1f7d9c91e703", "categorized_nodes": 14}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
9,119
c
/* * File: rt_nonfinite.h * * MATLAB Coder version : 4.1 * C/C++ source code generated on : 15-Oct-2020 16:25:25 */ #ifndef RT_NONFINITE_H #define RT_NONFINITE_H #include <stddef.h> #include "rtwtypes.h" extern real_T rtInf; extern real_T rtMinusInf; extern real_T rtNaN; extern real32_...
20.74
31
(translation_unit) "/* \n * File: rt_nonfinite.h \n * \n * MATLAB Coder version : 4.1 \n * C/C++ source code generated on : 15-Oct-2020 16:25:25 \n */ \n \n#ifndef RT_NONFINITE_H \n#define RT_NONFINITE_H \n#include <stddef.h> \n#include "rtwtypes.h" \n \nextern real_T rtInf; \nextern real_T rtMinusInf; \nex...
120
0
{"language": "c", "success": true, "metadata": {"lines": 31, "avg_line_length": 20.74, "nodes": 93, "errors": 0, "source_hash": "5dbf5b14589adff85af905a3b5c237ad87b6bd06366421f1ecc51c2ea1adc46f", "categorized_nodes": 73}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
9,120
c
#ifndef RECENTFILES_H #define RECENTFILES_H #include <QMainWindow> #include <QObject> #include <QSettings> #include <QStringList> class QMenu; class QAction; #define recentFileCount "recentFiles/numOfRecentFiles" #define recentFileListId "recentFiles/fileList" /** * @brief The RecentFiles class manages a list of r...
34.89
46
(translation_unit) "#ifndef RECENTFILES_H\n#define RECENTFILES_H\n\n#include <QMainWindow>\n#include <QObject>\n#include <QSettings>\n#include <QStringList>\n\nclass QMenu;\nclass QAction;\n\n#define recentFileCount "recentFiles/numOfRecentFiles"\n#define recentFileListId "recentFiles/fileList"\n\n/**\n * @brief The Re...
281
12
{"language": "c", "success": true, "metadata": {"lines": 46, "avg_line_length": 34.89, "nodes": 182, "errors": 0, "source_hash": "794b6b294aed9a2ff5073dedfea152951f8dc11f410786dd42e5bb5dbfcea869", "categorized_nodes": 118}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
9,121
c
/*====================================================================== gluteus_boss_sprite coordinates Generated by Rel Texture Packer relminator 2010 ======================================================================*/ #ifndef GLUTEUS_BOSS_SPRITE__H #define GLUTEUS_BOSS_SPRITE__H #def...
20.69
35
(translation_unit) "/*====================================================================== \n \n gluteus_boss_sprite coordinates \n Generated by Rel Texture Packer \n relminator 2010 \n \n======================================================================*/ \n \n \n#ifndef GLUTEUS_BOSS_SPRITE__H \n#define GL...
104
0
{"language": "c", "success": true, "metadata": {"lines": 35, "avg_line_length": 20.69, "nodes": 58, "errors": 0, "source_hash": "aed9550b971718bb77f72d353164ca06ee78bb437b718003cf46b600dd48c7f1", "categorized_nodes": 40}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
9,122
c
#include "conf.h" #include "daemon.h" #include "file.h" #include "http.h" #include "logging.h" #include "slice.h" #include "threads.h" #include "util.h" #include "udp.h"
17.89
9
(translation_unit) "#include "conf.h"\n#include "daemon.h"\n#include "file.h"\n#include "http.h"\n#include "logging.h"\n#include "slice.h"\n#include "threads.h"\n#include "util.h"\n#include "udp.h"\n" (preproc_include) "#include "conf.h"\n" (#include) "#include" (string_literal) ""conf.h"" (") """ ...
55
0
{"language": "c", "success": true, "metadata": {"lines": 9, "avg_line_length": 17.89, "nodes": 27, "errors": 0, "source_hash": "8cf4937489def57f75336dc3de872759293af020b7e54ba13040075a9adb0387", "categorized_nodes": 27}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#includ...
9,123
c
// // Created by lepouki on 10/12/2020. // #pragma once #include "Attribute.h" #include "Check.h" namespace lepong { /// /// Initializes the game and all of its systems.<br> /// If the game is already initialized, this function returns false. /// /// \return Whether the game was successfully initialized. /// LEPONG...
20.83
24
(translation_unit) "//\n// Created by lepouki on 10/12/2020.\n//\n\n#pragma once\n\n#include "Attribute.h"\n#include "Check.h"\n\nnamespace lepong\n{\n\n///\n/// Initializes the game and all of its systems.<br>\n/// If the game is already initialized, this function returns false.\n///\n/// \return Whether the game was ...
69
3
{"language": "c", "success": true, "metadata": {"lines": 24, "avg_line_length": 20.83, "nodes": 33, "errors": 0, "source_hash": "f4b53394ccac9e561529f99aaf0bae8512bbc121c7ae67672a4bb9fff14b4170", "categorized_nodes": 23}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
9,124
c
/** * @file CUOMapList.h * */ #ifndef _INC_CUOMAPLIST_H #define _INC_CUOMAPLIST_H #include "../../common/common.h" // All these structures must be byte packed. #if defined(_WIN32) && defined(_MSC_VER) // Microsoft dependant pragma #pragma pack(1) #define PACK_NEEDED #else // GCC based compiler you can add: #def...
32
88
(translation_unit) "/**\n* @file CUOMapList.h\n*\n*/\n\n#ifndef _INC_CUOMAPLIST_H\n#define _INC_CUOMAPLIST_H\n\n#include "../../common/common.h"\n\n// All these structures must be byte packed.\n#if defined(_WIN32) && defined(_MSC_VER)\n // Microsoft dependant pragma\n #pragma pack(1)\n #define PACK_NEEDED\n#else\n // G...
549
21
{"language": "c", "success": true, "metadata": {"lines": 88, "avg_line_length": 32.0, "nodes": 337, "errors": 0, "source_hash": "de7d845b4374c40ba9180e715a1f55fbe3f9fad7c2c0ff6d407868a1d22784a9", "categorized_nodes": 188}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
9,125
c
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated from a parser. // ...
26.98
256
(translation_unit) "//------------------------------------------------------------------------------ \n // <auto-generated> \n // This code was generated from a parser. \n // ...
2,250
211
{"language": "c", "success": true, "metadata": {"lines": 256, "avg_line_length": 26.98, "nodes": 1176, "errors": 0, "source_hash": "2a9fd4cc3d99b9816a821ed86c19aafeaa16ff1a390c303608cc578f7b1f9d9f", "categorized_nodes": 764}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#prag...
9,126
c
#ifndef r_disco_r_manual_provider_h #define r_disco_r_manual_provider_h #include "r_disco/r_provider.h" #include "r_disco/r_stream_config.h" #include "r_utils/r_nullable.h" #include <chrono> namespace r_disco { class r_agent; class r_manual_provider : public r_provider { public: r_manual_provider(const std::str...
24.77
22
(translation_unit) "#ifndef r_disco_r_manual_provider_h\n#define r_disco_r_manual_provider_h\n\n#include "r_disco/r_provider.h"\n#include "r_disco/r_stream_config.h"\n#include "r_utils/r_nullable.h"\n#include <chrono>\n\nnamespace r_disco\n{\n\nclass r_agent;\nclass r_manual_provider : public r_provider\n{\npublic:\n ...
148
7
{"language": "c", "success": true, "metadata": {"lines": 22, "avg_line_length": 24.77, "nodes": 85, "errors": 0, "source_hash": "12ad08528df5efbf11ceae684f4566a7c068fe8e33a97449be3c03c90b274749", "categorized_nodes": 62}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
9,127
c
/* -Procedure ekops_c ( EK, open scratch file ) -Abstract Open a scratch (temporary) E-kernel file and prepare the file for writing. -Disclaimer THIS SOFTWARE AND ANY RELATED MATERIALS WERE CREATED BY THE CALIFORNIA INSTITUTE OF TECHNOLOGY (CALTECH) UNDER A U.S. GOVERNMENT CONTRACT WITH THE NATI...
25.35
136
(translation_unit) "/*\n\n-Procedure ekops_c ( EK, open scratch file )\n\n-Abstract\n \n Open a scratch (temporary) E-kernel file and prepare the file \n for writing. \n \n-Disclaimer\n\n THIS SOFTWARE AND ANY RELATED MATERIALS WERE CREATED BY THE\n CALIFORNIA INSTITUTE OF TECHNOLOGY (CALTECH) UNDER A U.S.\n ...
76
0
{"language": "c", "success": true, "metadata": {"lines": 136, "avg_line_length": 25.35, "nodes": 36, "errors": 0, "source_hash": "976d4365c820c8783401baf6bac74d779546edd1b5c4150992accac038edfeac", "categorized_nodes": 26}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
9,128
c
#ifdef __OBJC__ #import <UIKit/UIKit.h> #else #ifndef FOUNDATION_EXPORT #if defined(__cplusplus) #define FOUNDATION_EXPORT extern "C" #else #define FOUNDATION_EXPORT extern #endif #endif #endif #import "TrustKit.h" #import "TSKTrustKitConfig.h" #import "TSKPinningValidator.h" #import "TSKPinningValidatorCallback.h" #i...
25.05
19
(translation_unit) "#ifdef __OBJC__\n#import <UIKit/UIKit.h>\n#else\n#ifndef FOUNDATION_EXPORT\n#if defined(__cplusplus)\n#define FOUNDATION_EXPORT extern "C"\n#else\n#define FOUNDATION_EXPORT extern\n#endif\n#endif\n#endif\n\n#import "TrustKit.h"\n#import "TSKTrustKitConfig.h"\n#import "TSKPinningValidator.h"\n#import...
70
1
{"language": "c", "success": true, "metadata": {"lines": 19, "avg_line_length": 25.05, "nodes": 60, "errors": 0, "source_hash": "fc0f1a39256f040a9576d596e0758faedee89326bc91ebf1fb1c311901ea7363", "categorized_nodes": 30}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifdef _...
9,129
c
#ifndef THEA_ALGORITHM_GFX_H #define THEA_ALGORITHM_GFX_H #include <U8g2lib.h> namespace thea { namespace algorithm_gfx { void draw_alg_0(U8G2 &); void draw_alg_1(U8G2 &); void draw_alg_2(U8G2 &); void draw_alg_3(U8G2 &); void draw_alg_4(U8G2 &); void draw_alg_5(U8G2 &); void draw_alg_6(U8G2 &); void ...
18.19
21
(translation_unit) "#ifndef THEA_ALGORITHM_GFX_H \n#define THEA_ALGORITHM_GFX_H \n \n#include <U8g2lib.h> \n \nnamespace thea { \nnamespace algorithm_gfx { \n \nvoid draw_alg_0(U8G2 &); \nvoid draw_alg_1(U8G2 &); \nvoid draw_alg_2(U8G2 &); \nvoid draw_alg_3(U8G2 &); \nvoid draw_alg_4(U8G2 &); \nvoid draw_alg_5(U8G2 &);...
121
8
{"language": "c", "success": true, "metadata": {"lines": 21, "avg_line_length": 18.19, "nodes": 72, "errors": 0, "source_hash": "b57fa8236b5167e2d54e9d567669cfee12683ba993b05bee1bc7f5647fa37e10", "categorized_nodes": 54}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
9,130
c
#ifndef _IM_CONSOLE_H #define _IM_CONSOLE_H #include<vector> #include<string> #include"Point.h" class Console{ public: Console(int,int); void setChar(int,int,char); void setChar(Point,char); void setString(int,int,std::string); void draw(); void clear(); int width()const; int height()const; private: ...
17.05
21
(translation_unit) "#ifndef _IM_CONSOLE_H\n#define _IM_CONSOLE_H\n#include<vector>\n#include<string>\n#include"Point.h"\nclass Console{\n public:\n Console(int,int);\n void setChar(int,int,char);\n void setChar(Point,char);\n void setString(int,int,std::string);\n void draw();\n void clear();\n int width()const;...
150
5
{"language": "c", "success": true, "metadata": {"lines": 21, "avg_line_length": 17.05, "nodes": 91, "errors": 0, "source_hash": "9f58c001f4cca4d99a74d7b608cb7336756abba490a4fcce077534b0fad1e446", "categorized_nodes": 60}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
9,131
c
/* * Copyright (C) Madlambda Authors */ #ifndef _OAK_MODULE_H_ #define _OAK_MODULE_H_ #include "file.h" typedef enum { CustomId = 0, TypeId, ImportId, FunctionId, TableId, MemoryId, GlobalId, ExportId, StartId, ElementId, CodeId, DataId, LastSectionId, } Sectio...
20.06
150
(translation_unit) "/*\n * Copyright (C) Madlambda Authors\n */\n\n#ifndef _OAK_MODULE_H_\n#define _OAK_MODULE_H_\n\n\n#include "file.h"\n\n\ntypedef enum {\n CustomId = 0,\n TypeId,\n ImportId,\n FunctionId,\n TableId,\n MemoryId,\n GlobalId,\n ExportId,\n StartId,\n ElementId,\n CodeI...
615
0
{"language": "c", "success": true, "metadata": {"lines": 150, "avg_line_length": 20.06, "nodes": 415, "errors": 0, "source_hash": "fb78ab3b75d2418d93f9f02b5dddf0c2f8c37fc2dd753ad5ac335bae669d4b90", "categorized_nodes": 326}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
9,132
c
#pragma once #include <sstream> #include <stddef.h> [[noreturn]] void AbortImpl(const char* filename, size_t line, const std::string& message); template<typename... Args> [[noreturn]] void Abort(const char* filename, size_t line, Args... args) { std::ostringstream stream; (stream << ... << args); AbortImpl(...
27.93
14
(translation_unit) "#pragma once\n\n#include <sstream>\n\n#include <stddef.h>\n\n[[noreturn]] void\nAbortImpl(const char* filename, size_t line, const std::string& message);\n\ntemplate<typename... Args>\n[[noreturn]] void\nAbort(const char* filename, size_t line, Args... args)\n{\n std::ostringstream stream;\n\n (st...
136
6
{"language": "c", "success": true, "metadata": {"lines": 14, "avg_line_length": 27.93, "nodes": 88, "errors": 0, "source_hash": "c2af0c592395f73bbb8acae99320cc61fd0255f2bcbb9ef2c470b059abb911cd", "categorized_nodes": 54}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
9,133
c
/* * DaVinci I/O mapping code * * Copyright (C) 2005-2006 Texas Instruments * * 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. */ #include <linux/module.h> #include <linux/io.h...
29.92
39
(translation_unit) "/*\n * DaVinci I/O mapping code\n *\n * Copyright (C) 2005-2006 Texas Instruments\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\n#include <linux/...
268
2
{"language": "c", "success": true, "metadata": {"lines": 39, "avg_line_length": 29.92, "nodes": 194, "errors": 0, "source_hash": "ec8c4c2cb30c0e9ddab5e3be9da9da52ab03293fab2a20096b1aac3b428af0dc", "categorized_nodes": 133}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
9,134
c
#ifndef PHOENIX_BIT_VECTOR_H #define PHOENIX_BIT_VECTOR_H #include <vector> namespace Phoenix { typedef std::vector<bool> FBitVector; } #endif
17
8
(translation_unit) "#ifndef PHOENIX_BIT_VECTOR_H\n#define PHOENIX_BIT_VECTOR_H\n\n#include <vector>\n\nnamespace Phoenix\n{\n typedef std::vector<bool> FBitVector;\n}\n\n#endif\n" (preproc_ifdef) "#ifndef PHOENIX_BIT_VECTOR_H\n#define PHOENIX_BIT_VECTOR_H\n\n#include <vector>\n\nnamespace Phoenix\n{\n typedef std::ve...
29
1
{"language": "c", "success": true, "metadata": {"lines": 8, "avg_line_length": 17.0, "nodes": 22, "errors": 0, "source_hash": "9b1fa70707556d2878177ba427044c7930ba4b6ae94f0d87880d22349257e4f6", "categorized_nodes": 15}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef PH...
9,135
c
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* save5.c :+: :+: :+: ...
32.93
115
(translation_unit) "/* ************************************************************************** */\n/* */\n/* ::: :::::::: */\n/* save5.c ...
1,564
0
{"language": "c", "success": true, "metadata": {"lines": 115, "avg_line_length": 32.93, "nodes": 919, "errors": 0, "source_hash": "b25966116a010b9f1b1ad9e31e69f90b5c4f8c71272630e1d8410a215ba18424", "categorized_nodes": 792}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
9,136
c
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by <NAME>. // #import <HomeKitDaemon/HMDAction.h> @class NSData, WFHomeWorkflow, WFHomeWorkflowController; @interface HMDShortcutAction : HMDAction { NSData *_shortcutData; WFHomeWorkflow *_s...
38.7
37
(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 <HomeKitDaemon/HMDAction.h>\n\n@class NSData, WFHomeWorkflow, WFHomeWorkflowController;\n\n@interface HMDShortcutAction : HMDAction\n{\n NSData *_shor...
443
30
{"language": "c", "success": true, "metadata": {"lines": 37, "avg_line_length": 38.7, "nodes": 269, "errors": 0, "source_hash": "e7e1f9225c143d29eceb91af235e9de1bbca9d322fdaa31c1fca5d3ba06cdb84", "categorized_nodes": 170}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import ...
9,137
c
#include <stdio.h> #include <string.h> #include <stdlib.h> #include "mpi.h" int main(int argc, char** argv) { //=========VARIABLES INITIALIZATION=========== int MyRank, NoProcs; int Root = 0; int index; int *Input_Buffer, *Recv_Buffer; int Data_size, Scatter_size; FILE *fp; MPI_Status status; //========...
25.35
71
(translation_unit) "#include <stdio.h>\n#include <string.h>\n#include <stdlib.h>\n#include "mpi.h"\n\nint main(int argc, char** argv) {\n\n\n //=========VARIABLES INITIALIZATION===========\n \n int MyRank, NoProcs;\n int Root = 0;\n int index;\n int *Input_Buffer, *Recv_Buffer;\n int Data_size, Scatter_size;\n FILE *fp...
464
0
{"language": "c", "success": true, "metadata": {"lines": 71, "avg_line_length": 25.35, "nodes": 253, "errors": 0, "source_hash": "977e8a3de4fc0b574ae37cfd037a52c97178390501f4438bef27811ccba43302", "categorized_nodes": 177}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
9,138
c
/* * Copyright (c) 2012-2013, NVIDIA CORPORATION. All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights ...
30.9
132
(translation_unit) "/*\n * Copyright (c) 2012-2013, NVIDIA CORPORATION. All rights reserved.\n *\n * Permission is hereby granted, free of charge, to any person obtaining a\n * copy of this software and associated documentation files (the "Software"),\n * to deal in the Software without restriction, including without ...
432
0
{"language": "c", "success": true, "metadata": {"lines": 132, "avg_line_length": 30.9, "nodes": 310, "errors": 0, "source_hash": "ac64328ce1ead0222c3f07231ac5a89dab8966aa025b7dc089ecd21cda048f9e", "categorized_nodes": 238}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
9,139
c
/* -*- mode: c; c-file-style: "openbsd" -*- */ /* $OpenBSD: log.c,v 1.11 2007/12/07 17:17:00 reyk Exp $ */ /* * Copyright (c) 2003, 2004 <NAME> <<EMAIL>> * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyrigh...
24.15
239
(translation_unit) "/* -*- mode: c; c-file-style: "openbsd" -*- */\n/* $OpenBSD: log.c,v 1.11 2007/12/07 17:17:00 reyk Exp $ */\n\n/*\n * Copyright (c) 2003, 2004 <NAME> <<EMAIL>>\n *\n * Permission to use, copy, modify, and/or distribute this software for any\n * purpose with or without fee is hereby granted, provided...
1,802
0
{"language": "c", "success": true, "metadata": {"lines": 239, "avg_line_length": 24.15, "nodes": 982, "errors": 0, "source_hash": "84b40319adf873351c0ef525def8f9918193c4ebc8a974df7cb1c4724069d32e", "categorized_nodes": 678}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
9,140
c
#pragma once #include "mvTypeBases.h" namespace Marvel { class mvDummy : public mvAppItem { public: MV_APPITEM_TYPE_OLD_SYSTEM(mvAppItemType::Dummy, "add_dummy") mvDummy(const std::string& name) : mvAppItem(name) { m_description.duplicatesAllowed = true; } void draw() override { ImGui::Du...
20.61
18
(translation_unit) "#pragma once\n\n#include "mvTypeBases.h"\n\nnamespace Marvel {\n\n class mvDummy : public mvAppItem\n {\n\n public:\n\n MV_APPITEM_TYPE_OLD_SYSTEM(mvAppItemType::Dummy, "add_dummy")\n\n mvDummy(const std::string& name)\n : mvAppItem(name)\n {\n m_description.duplicatesAllowed = true;\n }\n\n...
131
6
{"language": "c", "success": true, "metadata": {"lines": 18, "avg_line_length": 20.61, "nodes": 66, "errors": 0, "source_hash": "8af55aa8d6ff43c7313b837ad4497ff81e85a8c58c19b2897a2a1cac18491d24", "categorized_nodes": 43}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
9,141
c
//--------------------------------------------------------------------------- // Greenplum Database // Copyright (C) 2011 Greenplum, Inc. // // @filename: // CDXLLogicalJoin.h // // @doc: // Class for representing DXL logical Join operators // //----------------------------------------------------------------------...
27.58
64
(translation_unit) "//---------------------------------------------------------------------------\n// Greenplum Database\n// Copyright (C) 2011 Greenplum, Inc.\n//\n// @filename:\n// CDXLLogicalJoin.h\n//\n// @doc:\n// Class for representing DXL logical Join operators\n// \n//----------------------------------------...
263
9
{"language": "c", "success": true, "metadata": {"lines": 64, "avg_line_length": 27.58, "nodes": 141, "errors": 0, "source_hash": "f2dd2e848839a3fef33b9419d10cf77023fca6ba62ab589305b32cd2b0529f28", "categorized_nodes": 92}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
9,142
c
/* $OpenLDAP: pkg/ldap/libraries/liblutil/getopt.c,v 1.3.8.3 2000/06/13 17:57:25 kurt Exp $ */ /* * Copyright 1998-2000 The OpenLDAP Foundation, All Rights Reserved. * COPYING RESTRICTIONS APPLY, see COPYRIGHT file */ /* getopt.c modified public-domain AT&T getopt(3) modified by <NAME> for inclusion into OpenLDA...
19.86
97
(translation_unit) "/* $OpenLDAP: pkg/ldap/libraries/liblutil/getopt.c,v 1.3.8.3 2000/06/13 17:57:25 kurt Exp $ */\n/*\n * Copyright 1998-2000 The OpenLDAP Foundation, All Rights Reserved.\n * COPYING RESTRICTIONS APPLY, see COPYRIGHT file\n */\n/*\n getopt.c\n\n modified public-domain AT&T getopt(3)\n modified by <NAM...
705
0
{"language": "c", "success": true, "metadata": {"lines": 97, "avg_line_length": 19.86, "nodes": 431, "errors": 0, "source_hash": "013d73e1a33ef4a61c16bb6ba5b5195995b5651017926ce5c7436bc3ec8475b9", "categorized_nodes": 293}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
9,143
c
/* * Generated by asn1c-0.9.24 (http://lionet.info/asn1c) * From ASN.1 module "EUTRA-RRC-Definitions" * found in "fixed_grammar.asn" * `asn1c -gen-PER` */ #ifndef _SchedulingInfoList_BR_r13_H_ #define _SchedulingInfoList_BR_r13_H_ #include <asn_application.h> /* Including external dependencies */ #include <a...
26.91
34
(translation_unit) "/*\n * Generated by asn1c-0.9.24 (http://lionet.info/asn1c)\n * From ASN.1 module "EUTRA-RRC-Definitions"\n * found in "fixed_grammar.asn"\n * `asn1c -gen-PER`\n */\n\n#ifndef _SchedulingInfoList_BR_r13_H_\n#define _SchedulingInfoList_BR_r13_H_\n\n\n#include <asn_application.h>\n\n/* Including ext...
88
0
{"language": "c", "success": true, "metadata": {"lines": 34, "avg_line_length": 26.91, "nodes": 60, "errors": 0, "source_hash": "f77decca719210b66905fd8db81b5870709df405b4ac0f31b9e2cad325e2c0ab", "categorized_nodes": 53}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef\...
9,144
c
// // FeedbackViewController.h // DroiFeedbackDemo // // Created by Jon on 16/6/30. // Copyright © 2016年 Droi. All rights reserved. // #import <UIKit/UIKit.h> @interface FeedbackViewController : UIViewController @end
21.1
10
(translation_unit) "//\n// FeedbackViewController.h\n// DroiFeedbackDemo\n//\n// Created by Jon on 16/6/30.\n// Copyright © 2016年 Droi. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface FeedbackViewController : UIViewController\n\n@end\n" (comment) "//" (comment) "// FeedbackViewController.h" ...
19
3
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 21.1, "nodes": 10, "errors": 0, "source_hash": "89990c90ae8514f26761ea317550e79c2eb6b87fb9ba06fcb505a79baaf95634", "categorized_nodes": 5}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "port <UIKit...
9,145
c
// // Generated by class-dump 3.5 (64 bit) (Debug version compiled Sep 17 2017 16:24:48). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by <NAME>. // #import "FBView.h" @class FBCopyableLabel, NSMutableArray, NSMutableDictionary, NSMutableParagraphStyle, NSString, UITapGestureRecognizer; ...
34.71
42
(translation_unit) "//\n// Generated by class-dump 3.5 (64 bit) (Debug version compiled Sep 17 2017 16:24:48).\n//\n// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by <NAME>.\n//\n\n#import "FBView.h"\n\n@class FBCopyableLabel, NSMutableArray, NSMutableDictionary, NSMutableParagraphStyle, NSStrin...
432
27
{"language": "c", "success": true, "metadata": {"lines": 42, "avg_line_length": 34.71, "nodes": 279, "errors": 0, "source_hash": "d542e3b24dae14496dab683e590c98ac80c0620b8cef683c2e55c86b9c0dccbc", "categorized_nodes": 173}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import...
9,146
c
#ifndef EZY_FEATURES_NULLABLE_RESULT_H_INCLUDED #define EZY_FEATURES_NULLABLE_RESULT_H_INCLUDED #include "nullable.h" #include "result_interface.h" #include "../type_traits.h" namespace ezy::features::experimental { // This is not a feature template <template <typename> class NullableFeature> struct adapter_for...
28.81
69
(translation_unit) "#ifndef EZY_FEATURES_NULLABLE_RESULT_H_INCLUDED\n#define EZY_FEATURES_NULLABLE_RESULT_H_INCLUDED\n\n#include "nullable.h"\n#include "result_interface.h"\n#include "../type_traits.h"\n\nnamespace ezy::features::experimental\n{\n // This is not a feature\n template <template <typename> class Nullabl...
599
40
{"language": "c", "success": true, "metadata": {"lines": 69, "avg_line_length": 28.81, "nodes": 379, "errors": 0, "source_hash": "f7188764a3e925f0e1981121193e746007a852a57449e8c96b674bacbcd4e532", "categorized_nodes": 260}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "#ifndef EZY_FE...
9,147
c
/* * @brief * * @note * Author: Mikeqin Fengling.<EMAIL> * <EMAIL> * <EMAIL> * * @par * This is free and unencumbered software released into the public domain. * For details see the UNLICENSE file at the root of the source tree. */ #include <string.h> #ifdef __CODE_RED #include <NXP/crp.h> #endif ...
27.9
175
(translation_unit) "/*\n * @brief\n *\n * @note\n * Author: Mikeqin Fengling.<EMAIL>\n * <EMAIL>\n * <EMAIL>\n *\n * @par\n * This is free and unencumbered software released into the public domain.\n * For details see the UNLICENSE file at the root of the source tree.\n */\n#include <string.h>\n#ifdef __CODE_...
1,738
1
{"language": "c", "success": true, "metadata": {"lines": 175, "avg_line_length": 27.9, "nodes": 1063, "errors": 0, "source_hash": "d4a76507dd42094b17011edcd3b54d8f4256755d98de049474ef8eafb59cea8e", "categorized_nodes": 799}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
9,148
c
#ifndef TCPSERVER_H #define TCPSERVER_H #include <QObject> class QTcpServer; class QTcpSocket; class TcpServer : public QObject { Q_OBJECT public: explicit TcpServer(QObject *parent = nullptr, uint16_t _port = 11000); private slots: /// Новое соединение. void newConnection(); /// Сокет готов ч...
22.96
24
(translation_unit) "#ifndef TCPSERVER_H\n#define TCPSERVER_H\n\n#include <QObject>\n\nclass QTcpServer;\nclass QTcpSocket;\n\nclass TcpServer : public QObject\n{\n Q_OBJECT\npublic:\n explicit TcpServer(QObject *parent = nullptr, uint16_t _port = 11000);\n\nprivate slots:\n\n /// Новое соединение.\n void ne...
120
7
{"language": "c", "success": true, "metadata": {"lines": 24, "avg_line_length": 22.96, "nodes": 78, "errors": 0, "source_hash": "f1d21ca0ecb8d3a2b10d9ee5d3d2c023727ea18612b50a70da868cc24b507d21", "categorized_nodes": 49}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
9,149
c
// stdafx.h : include file for standard system include files, // or project specific include files that are used frequently, but // are changed infrequently // #if !defined(AFX_STDAFX_H__40F856E0_C9B5_420D_B297_D2ED1D9A50DD__INCLUDED_) #define AFX_STDAFX_H__40F856E0_C9B5_420D_B297_D2ED1D9A50DD__INCLUDED_ ...
29.47
87
(translation_unit) "// stdafx.h : include file for standard system include files, \n// or project specific include files that are used frequently, but \n// are changed infrequently \n// \n \n#if !defined(AFX_STDAFX_H__40F856E0_C9B5_420D_B297_D2ED1D9A50DD__INCLUDED_) \n#define AFX_STDAFX_H__40F856E0_C9B5_420D_B297...
216
0
{"language": "c", "success": true, "metadata": {"lines": 87, "avg_line_length": 29.47, "nodes": 168, "errors": 0, "source_hash": "f06064f94f55c979acb78c2b78e68f913023b9330eb19cd6ac04d64db341ba91", "categorized_nodes": 112}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_if", "text": "#if !defi...
9,150
c
/* credit to https://github.com/graffiti-hypervisor/graffiti-hypervisor/ for code below */ #include "scancode.h" //255 scancodes in total char scancodes_map[mapSize]; //char special_convert_map[mapSize]; /* Initialize scancodes map Input: None Output: None Effect: Initialize the scancodes map above */ void init_scan...
33.5
108
(translation_unit) "/* credit to https://github.com/graffiti-hypervisor/graffiti-hypervisor/ for code below */\n#include "scancode.h"\n\n\n//255 scancodes in total\nchar scancodes_map[mapSize];\n//char special_convert_map[mapSize];\n\n/*\nInitialize scancodes map\nInput: None\nOutput: None\nEffect: Initialize the scanc...
1,268
0
{"language": "c", "success": true, "metadata": {"lines": 108, "avg_line_length": 33.5, "nodes": 880, "errors": 0, "source_hash": "1a04170aababa256f86eda149b55f2a0781a81aa34aa1ee4e2eee72ecf51316a", "categorized_nodes": 467}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
9,151
c
/* ********************************************************************************************************* * * 模块名称 : 字符串操作\数值转换 * 文件名称 : bsp_user_lib.h * 版 本 : V1.2 * 说 明 : 头文件 * ********************************************************************************************************* */ ...
31
68
(translation_unit) "/* \n********************************************************************************************************* \n* \n* 模块名称 : 字符串操作\数值转换 \n* 文件名称 : bsp_user_lib.h \n* 版 本 : V1.2 \n* 说 明 : 头文件 \n* \n************************************************************************************...
596
0
{"language": "c", "success": true, "metadata": {"lines": 68, "avg_line_length": 31.0, "nodes": 447, "errors": 0, "source_hash": "e871b7e9aa3f5c05264bb3efc5c16a4b8e520ab4860329ad76132662284e539f", "categorized_nodes": 242}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "_H\r\n\...
9,152
c
/* * Copyright 2017 CodiLime * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writ...
30.29
31
(translation_unit) "/*\n * Copyright 2017 CodiLime\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applic...
91
1
{"language": "c", "success": true, "metadata": {"lines": 31, "avg_line_length": 30.29, "nodes": 48, "errors": 0, "source_hash": "f8fa6383f6be775d1e229f2056f02766fc3faa75702d1312a1e1aba7c16ac6ca", "categorized_nodes": 34}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
9,153
c
#pragma once #include "sdl_fwd_decls.h" #include <SDL2/SDL.h> #include <deque> namespace pgt { namespace plattform { class SdlWindowEventHousehold { private: std::deque<SDL_Event> _events; SdlWindow* _user_window; SDL_Window* _sdl_win; public: ...
26.31
42
(translation_unit) "#pragma once\n#include "sdl_fwd_decls.h"\n#include <SDL2/SDL.h>\n#include <deque>\nnamespace pgt {\n namespace plattform {\n\n class SdlWindowEventHousehold {\n private:\n std::deque<SDL_Event> _events;\n SdlWindow* _user_window;\n SDL_Window* _sdl_w...
248
5
{"language": "c", "success": true, "metadata": {"lines": 42, "avg_line_length": 26.31, "nodes": 141, "errors": 0, "source_hash": "927e9beccd82a5a18ad42d270f651c17efad91ab430247a537c492ee887f8dd0", "categorized_nodes": 97}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma ...
9,154
c
#pragma once /** * Dictionary for watch <-> phone (PebbleJS) communication */ enum { STATUS_KEY = 0, COMMAND_KEY = 1, MESSAGE_KEY = 2, BROADCAST_KEY = 3, }; // statuses / commands / messages from phone to watch // see also js/config.json typedef enum { PHONE_WELCOMES = 1, API_WELCOMES = 51, TOGGLE_MEAS...
26.85
52
(translation_unit) "#pragma once\n/**\n * Dictionary for watch <-> phone (PebbleJS) communication\n */\nenum {\n STATUS_KEY = 0,\n COMMAND_KEY = 1,\n MESSAGE_KEY = 2,\n BROADCAST_KEY = 3,\n};\n\n// statuses / commands / messages from phone to watch\n// see also js/config.json\ntypedef enum {\n PHONE_WELCOMES = 1,\...
294
0
{"language": "c", "success": true, "metadata": {"lines": 52, "avg_line_length": 26.85, "nodes": 212, "errors": 0, "source_hash": "a55e64cc288ef3580ca904d370b64e78bdc9eb5feee2aadddf6bec39f25d19a6", "categorized_nodes": 139}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
9,155
c
// SPDX-License-Identifier: BSD-3-Clause // Copyright (c) 2004-2020 <NAME> // All rights reserved. #pragma once #include <djvSystem/ISystem.h> #include <djvCore/Enum.h> #include <djvCore/Time.h> #include <chrono> #include <functional> namespace djv { namespace System { class TimerSystem; /...
30.56
89
(translation_unit) "// SPDX-License-Identifier: BSD-3-Clause\n// Copyright (c) 2004-2020 <NAME>\n// All rights reserved.\n\n#pragma once\n\n#include <djvSystem/ISystem.h>\n\n#include <djvCore/Enum.h>\n#include <djvCore/Time.h>\n\n#include <chrono>\n#include <functional>\n\nnamespace djv\n{\n namespace System\n {\...
591
42
{"language": "c", "success": true, "metadata": {"lines": 89, "avg_line_length": 30.56, "nodes": 315, "errors": 0, "source_hash": "7e534d46c1d2d2c3af9874f9000fac2e456d8595c771cdfd63158b7b9d4471c8", "categorized_nodes": 205}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
9,156
c
//----------------------------------------------------------------------------- // File: msado15.h // // Copyright: Copyright (c) Microsoft Corporation // // Contents: Proxy for adoint.h // // Comments: // //----------------------------------------------------------------------------- #include "adoint.h"
27.91
11
(translation_unit) "//-----------------------------------------------------------------------------\n// File: msado15.h\n//\n// Copyright: Copyright (c) Microsoft Corporation \n//\n// Contents: Proxy for adoint.h\n//\n// Comments:\n//\n//-----------------------------------------------------------------------...
17
0
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 27.91, "nodes": 3, "errors": 0, "source_hash": "b2637effec3e34d9465ecac6d4f5fdf355669f68945df86ec192138bbc11243a", "categorized_nodes": 3}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#include...
9,157
c
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef SaturatedArithmeticARM_h #define SaturatedArithmeticARM_h #include "wtf/CPU.h" #include <limits> #include <stdint.h> ALWAYS_INLINE int32_t satur...
40.57
86
(translation_unit) "// Copyright 2014 The Chromium Authors. All rights reserved.\n// Use of this source code is governed by a BSD-style license that can be\n// found in the LICENSE file.\n\n#ifndef SaturatedArithmeticARM_h\n#define SaturatedArithmeticARM_h\n\n#include "wtf/CPU.h"\n#include <limits>\n#include <stdint.h>...
512
8
{"language": "c", "success": true, "metadata": {"lines": 86, "avg_line_length": 40.57, "nodes": 257, "errors": 0, "source_hash": "b50ee633b2f0cd19a7458beae3f4ed17d1270a4e2c1dee54c9a131111a616a18", "categorized_nodes": 178}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
9,158
c
// // RKLIBRMProjects.h // Pods // // Created by <NAME> on 18/10/14. // // #import <Foundation/Foundation.h> #import "RKLIBRMProject.h" @interface RKLIBRMProjects : NSObject @property (strong, nonatomic) NSArray *projects; @property (strong, nonatomic) NSNumber *limit; @property (strong, nonatomic) NSNumber *offset...
24.2
15
(translation_unit) "//\n// RKLIBRMProjects.h\n// Pods\n//\n// Created by <NAME> on 18/10/14.\n//\n//\n\n#import <Foundation/Foundation.h>\n#import "RKLIBRMProject.h"\n@interface RKLIBRMProjects : NSObject\n@property (strong, nonatomic) NSArray *projects;\n@property (strong, nonatomic) NSNumber *limit;\n@property (st...
96
18
{"language": "c", "success": true, "metadata": {"lines": 15, "avg_line_length": 24.2, "nodes": 70, "errors": 0, "source_hash": "a490f20ebcfcf278fe8bffd1e55863c82dbb8874c0bf434d4bc476678c57b2ef", "categorized_nodes": 33}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <F...
9,159
c
// // EKTemplateViewController.h // EmojiKit // // Created by <NAME> on 1/1/15. // Copyright (c) 2015 <NAME>. All rights reserved. // #import <UIKit/UIKit.h> #import <EmojiKit/EmojiKit.h> @interface EKTemplateViewController : UIViewController - (id)initWithPrefix:(NSString *)prefix andColumns:(CGFloat)columns; ...
25.75
12
(translation_unit) "//\n// EKTemplateViewController.h\n// EmojiKit\n//\n// Created by <NAME> on 1/1/15.\n// Copyright (c) 2015 <NAME>. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n#import <EmojiKit/EmojiKit.h>\n\n@interface EKTemplateViewController : UIViewController\n\n- (id)initWithPrefix:(NSString *)pref...
50
6
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 25.75, "nodes": 28, "errors": 0, "source_hash": "dfbb67fe86a9ee1955974cffbf02d629a7105667dbb6748e23d21f0ecbb1f0c8", "categorized_nodes": 16}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <...
9,160
c
#pragma once #include <stdio.h> #include <stddef.h> #include <stdint.h> #include <string.h> struct md5 { uint8_t in[64]; /* Input data */ uint32_t nl, nh; /* Number of _bits_ handled mod 2^64 */ uint32_t a, b, c, d; /* Scratch buffer a, b, c, d */ }; // // md5 16 byte, 默认转为 32 ...
22.2
30
(translation_unit) "ragma once \n \n#include <stdio.h> \n#include <stddef.h> \n#include <stdint.h> \n#include <string.h> \n \nstruct md5 { \n uint8_t in[64]; /* Input data */ \n uint32_t nl, nh; /* Number of _bits_ handled mod 2^64 */ \n uint32_t a, b, c, d; /* Scratch buffer a, b, c, d */ \n}; \n ...
164
0
{"language": "c", "success": true, "metadata": {"lines": 30, "avg_line_length": 22.2, "nodes": 104, "errors": 0, "source_hash": "7a5ba9e73e2e38d201c7e14d4b0245b3ec033f60ad13f6284e4b3a149d2cdb0a", "categorized_nodes": 69}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "ragma onc...
9,161
c
#pragma once #include "seqop.h" #include "select_type.h" #include "utility.h" #include <Talg/functional.h> #include <iterator> #include <Talg/basic_macro_impl.h> namespace Talg { //用于无视掉参数包的类型而简单地将其视作是T template<class T,class U> using PackAs = std::conditional_t<true, T, U>; struct bad_access:std::logic_error {...
26.26
150
(translation_unit) "ragma once\n#include "seqop.h"\n#include "select_type.h"\n#include "utility.h"\n#include <Talg/functional.h>\n#include <iterator>\n#include <Talg/basic_macro_impl.h>\n\nnamespace Talg {\n\n //用于无视掉参数包的类型而简单地将其视作是T\n template<class T,class U>\n using PackAs = std::conditional_t<true, T, U>;\n\n struc...
1,472
89
{"language": "c", "success": true, "metadata": {"lines": 150, "avg_line_length": 26.26, "nodes": 961, "errors": 0, "source_hash": "3bb9b2c8cbf951bef1ab03533460301e605e43c5e7f1b932b3a45768b2fb53b9", "categorized_nodes": 642}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "ragma ...
9,162
c
/****** dsdu_qhb.c -- compute the staple ******************/ /* This is a version for extended actions where 32 sublattices are needed to make the links independent. */ /* MIMD version 6 */ /* <NAME> August 1997 */ /* Modifications: 2/17/98 ANSI prototyping U.M.H. */ #include "symanzik_sl32_includes.h" #de...
33.17
231
(translation_unit) "/****** dsdu_qhb.c -- compute the staple ******************/\n/* This is a version for extended actions where 32 sublattices are\n needed to make the links independent. */\n/* MIMD version 6 */\n/* <NAME> August 1997 */\n\n/* Modifications:\n 2/17/98 ANSI prototyping U.M.H.\n */\n\n#include ...
2,439
0
{"language": "c", "success": true, "metadata": {"lines": 231, "avg_line_length": 33.17, "nodes": 1288, "errors": 0, "source_hash": "0b8ff291170d3ad3d50d13a71604649e48c5b22a6ab41d1684755e642e901960", "categorized_nodes": 1020}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#...
9,163
c
#ifndef LIME_SYSTEM_FILE_WATCHER_H #define LIME_SYSTEM_FILE_WATCHER_H #ifdef RemoveDirectory #undef RemoveDirectory #endif #include <system/Mutex.h> #include <hx/CFFI.h> #include <map> #include <string> #include <vector> namespace lime { struct FileWatcherEvent { long watchID; std::string dir; std::st...
14.41
54
(translation_unit) "#ifndef LIME_SYSTEM_FILE_WATCHER_H\n#define LIME_SYSTEM_FILE_WATCHER_H\n\n#ifdef RemoveDirectory\n#undef RemoveDirectory\n#endif\n\n#include <system/Mutex.h>\n#include <hx/CFFI.h>\n#include <map>\n#include <string>\n#include <vector>\n\n\nnamespace lime {\n \n \n struct FileWatcherEvent {\n \n lon...
214
8
{"language": "c", "success": true, "metadata": {"lines": 54, "avg_line_length": 14.41, "nodes": 147, "errors": 0, "source_hash": "197839664c7870b2ee6f0001196f98d0f157ffd968f8119a4ff448117efd33a8", "categorized_nodes": 106}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
9,164
c
/* SPDX-License-Identifier: GPL-2.0+ */ /* * (C) Copyright 2018 Cisco Systems, Inc. * * Author: <NAME> <<EMAIL>> */ #ifndef _BCMSTB_HARDWARE_H #define _BCMSTB_HARDWARE_H #endif /* _BCMSTB_HARDWARE_H */
22
9
(translation_unit) "/* SPDX-License-Identifier: GPL-2.0+ */\n/*\n * (C) Copyright 2018 Cisco Systems, Inc.\n *\n * Author: <NAME> <<EMAIL>>\n */\n\n#ifndef _BCMSTB_HARDWARE_H\n#define _BCMSTB_HARDWARE_H\n\n#endif /* _BCMSTB_HARDWARE_H */\n" (comment) "/* SPDX-License-Identifier: GPL-2.0+ */" (comment) "/*\n * (C) ...
11
0
{"language": "c", "success": true, "metadata": {"lines": 9, "avg_line_length": 22.0, "nodes": 7, "errors": 0, "source_hash": "560360405edd44bc2c14349058721eec460a4297af12e19aa640e6997220272f", "categorized_nodes": 5}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef _BCM...
9,165
c
// // TLTagCell.h // TLChat // // Created by 李伯坤 on 16/3/7. // Copyright © 2016年 李伯坤. All rights reserved. // #import "TLTableViewCell.h" @interface TLTagCell : TLTableViewCell @property (nonatomic, strong) NSString *title; @end
20.18
11
(translation_unit) "//\n// TLTagCell.h\n// TLChat\n//\n// Created by 李伯坤 on 16/3/7.\n// Copyright © 2016年 李伯坤. All rights reserved.\n//\n\n#import "TLTableViewCell.h"\n\n@interface TLTagCell : TLTableViewCell\n\n@property (nonatomic, strong) NSString *title;\n\n@end\n" (comment) "//" (comment) "// TLTagCell.h"...
36
6
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 20.18, "nodes": 23, "errors": 0, "source_hash": "3f1f653ba63bc4c6f7d2ac715f76238788026c81147e00511d8b587956d683d3", "categorized_nodes": 12}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "eViewCell...
9,166
c
typedef struct { int map[1000001]; } MyHashMap; MyHashMap* myHashMapCreate() { MyHashMap* new = malloc(sizeof(MyHashMap)); memset(&new->map, -1, sizeof(new->map)); return new; } void myHashMapPut(MyHashMap* obj, int key, int value) { obj->map[key] = value; } int myHashMapGet(MyHashMap* obj, int ...
21.86
21
(translation_unit) "typedef struct {\n int map[1000001];\n} MyHashMap;\n\n\nMyHashMap* myHashMapCreate() {\n MyHashMap* new = malloc(sizeof(MyHashMap));\n memset(&new->map, -1, sizeof(new->map));\n return new;\n}\n\nvoid myHashMapPut(MyHashMap* obj, int key, int value) {\n obj->map[key] = value;\n}\n\nin...
199
0
{"language": "c", "success": true, "metadata": {"lines": 21, "avg_line_length": 21.86, "nodes": 119, "errors": 0, "source_hash": "002dc5e45d53a7e51e98867bacb73aae92dec5aaafc91d53466fa03e636d7492", "categorized_nodes": 84}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "type_definition", "text": "typed...
9,167
c
#pragma once //C++ standard library #include <map> #include <unordered_map> #include <unordered_set> #include <mutex> #include <string> #include <vector> #include <list> #include <chrono> #include <thread> #include <iostream> #include <condition_variable> #include <atomic> #include <algorithm> #include <set> #include ...
21.04
114
(translation_unit) "#pragma once\n\n//C++ standard library\n#include <map>\n#include <unordered_map>\n#include <unordered_set>\n#include <mutex>\n#include <string>\n#include <vector>\n#include <list>\n#include <chrono>\n#include <thread>\n#include <iostream>\n#include <condition_variable>\n#include <atomic>\n#include <...
507
35
{"language": "c", "success": true, "metadata": {"lines": 114, "avg_line_length": 21.04, "nodes": 327, "errors": 0, "source_hash": "e714ff65e198b4f416f35f31648bc879366b561ac5a095ead59ab79c510d5212", "categorized_nodes": 275}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragm...
9,168
c
/* Copyright (C) <NAME> */ #ifndef ARCHIVEFS_INTEGRATION_H #define ARCHIVEFS_INTEGRATION_H #include "archivefs_api.h" /* here are the functions required for system integration */ /* These are the memory allocation functions that need to be available in order to archivefs_api to link. Semantics should be t...
38.31
64
(translation_unit) "/* Copyright (C) <NAME> */\n\n#ifndef ARCHIVEFS_INTEGRATION_H\n#define ARCHIVEFS_INTEGRATION_H\n\n#include "archivefs_api.h"\n\n\n/* here are the functions required for system integration */\n\n/*\n These are the memory allocation functions that need to be available\n in order to archivefs_api t...
152
0
{"language": "c", "success": true, "metadata": {"lines": 64, "avg_line_length": 38.31, "nodes": 108, "errors": 0, "source_hash": "d654502a472c5d458f3ce7c817a596843b87b4e9c6a0b86ccdedb68672f8a097", "categorized_nodes": 56}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
9,169
c
/** * MIT License * Copyright (c) 2020-present <NAME> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, mod...
35.78
120
(translation_unit) "/**\n * MIT License\n * Copyright (c) 2020-present <NAME>\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the "Software"), to deal\n * in the Software without restriction, including without limitation the r...
1,029
0
{"language": "c", "success": true, "metadata": {"lines": 120, "avg_line_length": 35.78, "nodes": 644, "errors": 0, "source_hash": "b3240e580c1a13940b6a388eb2358653483793ae54332c27cfc0aa7d70ac991d", "categorized_nodes": 491}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
9,170
c
/** * \file protocolservice/unauthorized_protocol_service_close_connection.c * * \brief Close a client connection. * * \copyright 2020-2021 Velo Payments, Inc. All rights reserved. */ #include <config.h> #include <agentd/dataservice/api.h> #if !defined(AGENTD_NEW_PROTOCOL) #include "unauthorized_protocol_serv...
38.02
43
(translation_unit) "/**\n * \file protocolservice/unauthorized_protocol_service_close_connection.c\n *\n * \brief Close a client connection.\n *\n * \copyright 2020-2021 Velo Payments, Inc. All rights reserved.\n */\n\n#include <config.h>\n#include <agentd/dataservice/api.h>\n\n#if !defined(AGENTD_NEW_PROTOCOL)\n\n#in...
213
0
{"language": "c", "success": true, "metadata": {"lines": 43, "avg_line_length": 38.02, "nodes": 127, "errors": 0, "source_hash": "79c20411ed63ab5c17bb36fb6c8a3ade0884963e1acd8aaca0a034ff69833774", "categorized_nodes": 98}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
9,171
c
// Copyright 2017 The Goma 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 DEVTOOLS_GOMA_CLIENT_CXX_INCLUDE_PROCESSOR_CPP_TOKEN_H_ #define DEVTOOLS_GOMA_CLIENT_CXX_INCLUDE_PROCESSOR_CPP_TOKEN_H_ #include <list> #include <ost...
27.37
183
(translation_unit) "// Copyright 2017 The Goma 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 DEVTOOLS_GOMA_CLIENT_CXX_INCLUDE_PROCESSOR_CPP_TOKEN_H_\n#define DEVTOOLS_GOMA_CLIENT_CXX_INCLUDE_PROCESSOR_CPP_TOKEN_H_\n\n#i...
1,559
51
{"language": "c", "success": true, "metadata": {"lines": 183, "avg_line_length": 27.37, "nodes": 928, "errors": 0, "source_hash": "6e749c442f97db93d460a41bbbebacd54e0ca0c6390783c33c8b0dcaff489447", "categorized_nodes": 670}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
9,172
c
/* * Copyright LWJGL. All rights reserved. * License terms: https://www.lwjgl.org/license */ #include <stddef.h> #include <inttypes.h> #define DISABLE_WARNINGS() #define ENABLE_WARNINGS() // JNIEXPORT_CRITICAL & CRITICAL are used as a workaround for JDK-8167409 on applicable functions. #define JNIEXPORT_CRITICAL ...
33.18
11
(translation_unit) "/*\n * Copyright LWJGL. All rights reserved.\n * License terms: https://www.lwjgl.org/license\n */\n\n#include <stddef.h>\n#include <inttypes.h>\n\n#define DISABLE_WARNINGS()\n#define ENABLE_WARNINGS()\n\n// JNIEXPORT_CRITICAL & CRITICAL are used as a workaround for JDK-8167409 on applicable functio...
33
0
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 33.18, "nodes": 22, "errors": 0, "source_hash": "12f2cde01e083040effc7b91c0a87f45ae57d87be317e9e7cf0647f7510579aa", "categorized_nodes": 13}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
9,173
c
// // Generated by class-dump 3.5 (64 bit) (Debug version compiled Sep 17 2017 16:24:48). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by <NAME>. // #import <objc/NSObject.h> @class LinkedMap; @interface DoubleLinkedList : NSObject { struct _opaque_pthread_mutex_t _mutex; LinkedM...
30.68
22
(translation_unit) "//\n// Generated by class-dump 3.5 (64 bit) (Debug version compiled Sep 17 2017 16:24:48).\n//\n// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by <NAME>.\n//\n\n#import <objc/NSObject.h>\n\n@class LinkedMap;\n\n@interface DoubleLinkedList : NSObject\n{\n struct _opaque_pth...
176
15
{"language": "c", "success": true, "metadata": {"lines": 22, "avg_line_length": 30.68, "nodes": 107, "errors": 0, "source_hash": "c7b3f65b1eab09df5ef21c4237fd103382924097de8d2f49f5de4ab64b2a583a", "categorized_nodes": 66}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import ...
9,174
c
#ifndef __mdaLeslie_H #define __mdaLeslie_H #include "audioeffectx.h" #define NPARAMS 9 //number of parameters #define NPROGS 3 //number of programs class mdaLeslieProgram { public: mdaLeslieProgram(); private: friend class mdaLeslie; float param[NPARAMS]; char name[24]; }; class mdaLeslie : pu...
34.47
49
(translation_unit) "#ifndef __mdaLeslie_H\n#define __mdaLeslie_H\n\n#include "audioeffectx.h"\n\n#define NPARAMS 9 //number of parameters\n#define NPROGS 3 //number of programs\n\nclass mdaLeslieProgram\n{\npublic:\n mdaLeslieProgram();\nprivate: \n friend class mdaLeslie;\n float param[NPARAMS];\n char...
480
19
{"language": "c", "success": true, "metadata": {"lines": 49, "avg_line_length": 34.47, "nodes": 334, "errors": 0, "source_hash": "bf6057c1b3c5eeab16e50a14c63137c5c935b5d5eb8f0d45cb500174a54c44e8", "categorized_nodes": 219}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
9,175
c
/********************************************************************** // @@@ START COPYRIGHT @@@ // // Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. ...
26.57
161
(translation_unit) "/**********************************************************************\n// @@@ START COPYRIGHT @@@\n//\n// Licensed to the Apache Software Foundation (ASF) under one\n// or more contributor license agreements. See the NOTICE file\n// distributed with this work for additional information\n// regard...
590
41
{"language": "c", "success": true, "metadata": {"lines": 161, "avg_line_length": 26.57, "nodes": 290, "errors": 0, "source_hash": "9230aeae92703afcb6d4c00eaa0f5ed41c1c6138e976dfe5fa5f5f8e45dff603", "categorized_nodes": 200}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "#ifndef Comdb...
9,176
c
#include <Cuboid/Renderer/VertexArray.h> #include <Cuboid/Platform/OpenGL/common.h> #include <Cuboid/Renderer/Buffer.h> #include <Cuboid/Renderer/Shader.h> #ifndef CUBOID_OPENGLVERTEXARRAY_H #define CUBOID_OPENGLVERTEXARRAY_H typedef unsigned int GLenum; namespace Cuboid { class OpenGLVertexArray : public VertexArr...
29.77
30
(translation_unit) "#include <Cuboid/Renderer/VertexArray.h>\n#include <Cuboid/Platform/OpenGL/common.h>\n#include <Cuboid/Renderer/Buffer.h>\n#include <Cuboid/Renderer/Shader.h>\n\n#ifndef CUBOID_OPENGLVERTEXARRAY_H\n#define CUBOID_OPENGLVERTEXARRAY_H\n\ntypedef unsigned int GLenum;\n\nnamespace Cuboid\n{\n class Open...
213
9
{"language": "c", "success": true, "metadata": {"lines": 30, "avg_line_length": 29.77, "nodes": 135, "errors": 0, "source_hash": "5492d572e98703981a35ba8a72dd43a79a1fc6bb7fd0fe1a705ecb7d474484b6", "categorized_nodes": 88}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
9,177
c
// Copyright (C) 2004-2018 by // <NAME> <<EMAIL>> // // // All rights reserved. // BSD license. // // Authors: <NAME> (<EMAIL>); // <NAME> (<EMAIL>); // <NAME> (<EMAIL>); /** Degree centrality measures. */ #include <xnetwork.hpp> // as xn from xnetwork.utils.decorators import not_implemen...
29.96
110
(ERROR) "// Copyright (C) 2004-2018 by\n// <NAME> <<EMAIL>>\n//\n//\n// All rights reserved.\n// BSD license.\n// \n// Authors: <NAME> (<EMAIL>);\n// <NAME> (<EMAIL>);\n// <NAME> (<EMAIL>);\n/** Degree centrality measures. */\n#include <xnetwork.hpp> // as xn\nfrom xnetwork.utils.decorator...
264
15
{"language": "c", "success": true, "metadata": {"lines": 110, "avg_line_length": 29.96, "nodes": 150, "errors": 0, "source_hash": "24fe513b65fdf43f6f406edea83d7dea999615fc16cd0e2f3fa3b5186f279b0d", "categorized_nodes": 102}, "ast": {"root": "ERROR", "nodes": [{"id": 0, "type": "ERROR", "text": "// Copyright (C) 2004...
9,178
c
#ifndef CDir_H #define CDir_H #include <CFile.h> class CDir; #define CDIR_PROCESS_DATA \ std::vector<CDir *> pdirs; \ CDir * dir; \ std::string filename; struct CDirProcessData { CDIR_PROCESS_DATA }; struct CDirProcessProc { CDIR_PROCESS_DATA CDirProcessProc() : dir(nullptr) { } ...
35.54
63
(translation_unit) "#ifndef CDir_H\n#define CDir_H\n\n#include <CFile.h>\n\nclass CDir;\n\n#define CDIR_PROCESS_DATA \\n std::vector<CDir *> pdirs; \\n CDir * dir; \\n std::string filename;\n\nstruct CDirProcessData {\n CDIR_PROCESS_DATA\n};\n\nstruct CDirProcessProc {\n CDIR_PROCESS_DATA\n\n ...
766
61
{"language": "c", "success": true, "metadata": {"lines": 63, "avg_line_length": 35.54, "nodes": 414, "errors": 0, "source_hash": "2d036655d96971bb1eae6b29dd7d29e8903981d8134e338ded36358cfbb15146", "categorized_nodes": 296}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
9,179
c
// // SLAppDelegate.h // LibTest // // Created by silicn on 07/27/2020. // Copyright (c) 2020 silicn. All rights reserved. // @import UIKit; @interface SLAppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWindow *window; @end
22.73
11
(translation_unit) "//\n// SLAppDelegate.h\n// LibTest\n//\n// Created by silicn on 07/27/2020.\n// Copyright (c) 2020 silicn. All rights reserved.\n//\n\n@import UIKit;\n\n@interface SLAppDelegate : UIResponder <UIApplicationDelegate>\n\n@property (strong, nonatomic) UIWindow *window;\n\n@end\n" (comment) "//" ...
42
8
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 22.73, "nodes": 26, "errors": 0, "source_hash": "713117590c393db0b5a31d8bd1e2609306d214d6954fc95967158decd075627e", "categorized_nodes": 13}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "@", "parent": nu...
9,180
c
/* * Copyright 2012 Red Hat Inc. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, publish, d...
26.15
143
(translation_unit) "/*\n * Copyright 2012 Red Hat Inc.\n *\n * Permission is hereby granted, free of charge, to any person obtaining a\n * copy of this software and associated documentation files (the "Software"),\n * to deal in the Software without restriction, including without limitation\n * the rights to use, copy,...
1,010
0
{"language": "c", "success": true, "metadata": {"lines": 143, "avg_line_length": 26.15, "nodes": 644, "errors": 0, "source_hash": "c97091c31fc027375fa51adf7ed9b940bfc30f5fb4a01a758929e94e8241ae8b", "categorized_nodes": 489}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
9,181
c
// // WtTouchableOpacityView.h // WtCore // // Created by wtfan on 2018/6/3. // #import <UIKit/UIKit.h> @interface WtTouchableOpacityView : UIControl @property (nonatomic, assign) CGFloat activeOpacity; @property (nonatomic, assign) CGFloat duration; @end
20.67
12
(translation_unit) "//\n// WtTouchableOpacityView.h\n// WtCore\n//\n// Created by wtfan on 2018/6/3.\n//\n\n#import <UIKit/UIKit.h>\n\n\n@interface WtTouchableOpacityView : UIControl\n@property (nonatomic, assign) CGFloat activeOpacity;\n@property (nonatomic, assign) CGFloat duration;\n@end\n" (comment) "//" (co...
49
10
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 20.67, "nodes": 32, "errors": 0, "source_hash": "01c15aa16fc7a0ad4074f2daed1ca6d822eb0d76fafdf75a3bd45ebc1c5f3dad", "categorized_nodes": 18}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <...
9,182
c
#pragma once #ifndef _WINDOWS_ #define WIN32_LEAN_AND_MEAN #include <windows.h> #undef WIN32_LEAN_AND_MEAN #endif namespace AmstelTech { namespace Win32 { /////////////////////////////////////////////////////////////////////////////// // IProvideTickCount /////////////////////////////////////////////////////////...
21.54
24
(translation_unit) "#pragma once\n\n#ifndef _WINDOWS_\n#define WIN32_LEAN_AND_MEAN\n#include <windows.h>\n#undef WIN32_LEAN_AND_MEAN\n#endif\n\nnamespace AmstelTech \n{\n \nnamespace Win32 \n{\n\n///////////////////////////////////////////////////////////////////////////////\n// IProvideTickCount\n/////////////////////...
74
1
{"language": "c", "success": true, "metadata": {"lines": 24, "avg_line_length": 21.54, "nodes": 41, "errors": 0, "source_hash": "c6abec3d14806c775ff8eed3d34b3b77137a0b6a0378759a4db238e0e377d630", "categorized_nodes": 27}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
9,183
c
#include <SPI.h> #include "command.h" #define MASTER 0 #define SLAVE 1 #define TRANSFER_SPEED 16000000 #define MODE MASTER //#define MODE SLAVE command_object_t c_object; SPISettings main_spi(TRANSFER_SPEED, MSBFIRST, SPI_MODE1); void TestFunction() { Serial.println("Test function called"); } void spi_send_mes...
16.95
59
(translation_unit) "#include <SPI.h>\n#include "command.h"\n\n#define MASTER 0\n#define SLAVE 1\n\n#define TRANSFER_SPEED 16000000\n\n#define MODE MASTER\n//#define MODE SLAVE\n\ncommand_object_t c_object;\n\nSPISettings main_spi(TRANSFER_SPEED, MSBFIRST, SPI_MODE1);\n\nvoid TestFunction() {\n Serial.println("Test fun...
349
0
{"language": "c", "success": true, "metadata": {"lines": 59, "avg_line_length": 16.95, "nodes": 185, "errors": 0, "source_hash": "ee0c089880d0f9ec707ed784b773b15d5f7aed725a2c1b5fb70c1f6bb3df472f", "categorized_nodes": 123}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
9,184
c
/* * This header is generated by classdump-dyld 1.0 * on Sunday, September 27, 2020 at 12:31:23 PM Mountain Standard Time * Operating System: Version 14.0 (Build 18A373) * Image Source: /System/Library/PrivateFrameworks/iWorkImport.framework/Frameworks/TSCharts.framework/TSCharts * classdump-dyld is licensed under GPLv...
36.38
37
(translation_unit) "/*\n* This header is generated by classdump-dyld 1.0\n* on Sunday, September 27, 2020 at 12:31:23 PM Mountain Standard Time\n* Operating System: Version 14.0 (Build 18A373)\n* Image Source: /System/Library/PrivateFrameworks/iWorkImport.framework/Frameworks/TSCharts.framework/TSCharts\n* classdump-dy...
353
20
{"language": "c", "success": true, "metadata": {"lines": 37, "avg_line_length": 36.38, "nodes": 189, "errors": 0, "source_hash": "1e57ae2bf45e98abda0ab7c88916baea4174b673204943336cd759f782e11714", "categorized_nodes": 126}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import ...
9,185
c
/**************************************************************************//** * * sff Doxygen Header * *****************************************************************************/ #ifndef __SFF_DOX_H__ #define __SFF_DOX_H__ /** * @defgroup sff sff - sff Description * The documentation overview for this modu...
22.68
22
(translation_unit) "/**************************************************************************//**\n *\n * sff Doxygen Header\n *\n *****************************************************************************/\n#ifndef __SFF_DOX_H__\n#define __SFF_DOX_H__\n\n/**\n * @defgroup sff sff - sff Description\n *\n\nThe docu...
12
0
{"language": "c", "success": true, "metadata": {"lines": 22, "avg_line_length": 22.68, "nodes": 7, "errors": 0, "source_hash": "bd895fb7f5b82c9208f42852792ce40b9b33b79750bfdc94c4efffc5faf90ffe", "categorized_nodes": 5}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef __...
9,186
c
// // list_iterator.c // // Copyright (c) 2019 TakedaHiromasa <t-takeda.work> // #include "list.h" /* * Return the next Node_t or NULL when no more * nodes remain in the list. */ Node_t* next(Node_t *itr, int n) { for (int i = 0; i < n; i++) { if(itr->next == NULL) break; INC_ITER(itr); } return i...
18
17
(translation_unit) "//\n// list_iterator.c\n//\n// Copyright (c) 2019 TakedaHiromasa <t-takeda.work>\n//\n\n#include "list.h"\n\n/*\n * Return the next Node_t or NULL when no more\n * nodes remain in the list.\n */\nNode_t* next(Node_t *itr, int n) { \n for (int i = 0; i < n; i++) {\n if(itr->next == NULL) break;\...
84
0
{"language": "c", "success": true, "metadata": {"lines": 17, "avg_line_length": 18.0, "nodes": 49, "errors": 0, "source_hash": "cad03eddd999118d3b9735f1185f35f99549543878317737f0b5fb4ffcd99caf", "categorized_nodes": 32}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#includ...
9,187
c
/*!\file MCP4725.h ** \author SMFSW ** \copyright MIT (c) 2017-2021, SMFSW ** \brief MCP4725 Driver ** \details MCP4725: 12-Bit Digital-to-Analog Converter with EEPROM Memory **/ /****************************************************************/ #ifndef __MCP4725_H__ #define __MCP4725_H__ #ifdef __cplusplus extern "...
37.83
133
(translation_unit) "/*!\file MCP4725.h\n** \author SMFSW\n** \copyright MIT (c) 2017-2021, SMFSW\n** \brief MCP4725 Driver\n** \details MCP4725: 12-Bit Digital-to-Analog Converter with EEPROM Memory\n**/\n/****************************************************************/\n#ifndef __MCP4725_H__\n #define __MCP4725_H__\n...
396
7
{"language": "c", "success": true, "metadata": {"lines": 133, "avg_line_length": 37.83, "nodes": 233, "errors": 0, "source_hash": "6090f625966fb952898bb7423f538c0583b27cf878ae9177cb75528a9602b353", "categorized_nodes": 168}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "#ifndef __MCP...
9,188
c
#include <stdio.h> #include <stdlib.h> #include <string.h> int main() { char desired_book[50]; scanf("%[^\n]", desired_book); int n; scanf("%d", &n); for(int i = 0; i < n; i++) { while ((getchar()) != '\n'); // FLUSH the BUFFER char book[50]; scanf("%[^\n]", book); ...
24.64
22
(translation_unit) "#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n\nint main()\n{\n char desired_book[50];\n scanf("%[^\n]", desired_book);\n\n int n;\n scanf("%d", &n);\n\n for(int i = 0; i < n; i++) {\n while ((getchar()) != '\n'); // FLUSH the BUFFER\n char book[50];\n...
195
0
{"language": "c", "success": true, "metadata": {"lines": 22, "avg_line_length": 24.64, "nodes": 101, "errors": 0, "source_hash": "2960ac0d8b681d13acfc7b4c4984ed14ff33460c69806ee5daf5568453650bbe", "categorized_nodes": 72}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
9,189
c
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by <NAME>. // #import "PBCodable.h" #import "NSCopying.h" @interface GEOModality : PBCodable <NSCopying> { double _timestamp; int _confidence; BOOL _expectedModality; BOOL _notMoving;...
27.98
42
(translation_unit) "//\n// Generated by class-dump 3.5 (64 bit).\n//\n// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by <NAME>.\n//\n\n#import "PBCodable.h"\n\n#import "NSCopying.h"\n\n@interface GEOModality : PBCodable <NSCopying>\n{\n double _timestamp;\n int _confidence;\n BOOL _expe...
393
40
{"language": "c", "success": true, "metadata": {"lines": 42, "avg_line_length": 27.98, "nodes": 258, "errors": 0, "source_hash": "41180f50637bfdef1254f03900116917e49f2c2c44affb7277d489f799a7696a", "categorized_nodes": 158}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import...
9,190
c
#pragma once #include "./common.h" namespace cq { extern int32_t _ac; // Auth Code, 在酷Q的 Initialize 事件中获得 extern void (*_init_impl)(); // 初始化函数, 在酷Q的 Initialize 事件中调用 inline void _init() { if (_init_impl) { _init_impl(); } } } // namespace cq #define CQ_INIT ...
40.5
16
(translation_unit) "#pragma once\n\n#include "./common.h"\n\nnamespace cq {\n extern int32_t _ac; // Auth Code, 在酷Q的 Initialize 事件中获得\n extern void (*_init_impl)(); // 初始化函数, 在酷Q的 Initialize 事件中调用\n\n inline void _init() {\n if (_init_impl) {\n _init_impl();\n }\n }\n} // namespace ...
72
0
{"language": "c", "success": true, "metadata": {"lines": 16, "avg_line_length": 40.5, "nodes": 39, "errors": 0, "source_hash": "7614d008b1e752acb345ea8259a457aa786db0596ba71e020707dd49c9c3910b", "categorized_nodes": 22}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma on...
9,191
c
#ifndef HOMEWORK3_CREATURE_H #define HOMEWORK3_CREATURE_H #endif // HOMEWORK3_CREATURE_H #include <cstdint> #include <string> #include "equipment.h" namespace game { class Creature { protected: enum Gender { male, fimale }; Gender gender_; uint8_t satiety_; uint8_t health_...
23.04
85
(translation_unit) "#ifndef HOMEWORK3_CREATURE_H\n#define HOMEWORK3_CREATURE_H\n\n#endif // HOMEWORK3_CREATURE_H\n\n#include <cstdint>\n#include <string>\n\n#include "equipment.h"\n\nnamespace game {\n\n class Creature {\n protected:\n enum Gender { male, fimale };\n Gender gender_;\n\n uint...
611
22
{"language": "c", "success": true, "metadata": {"lines": 85, "avg_line_length": 23.04, "nodes": 377, "errors": 0, "source_hash": "1d05f712854a9c1620a64843c9c0f7e05e525a27261c050a91efc9ff46d3e62d", "categorized_nodes": 256}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
9,192
c
#pragma once class CelestialBodyDataUpdater { public: CelestialBodyDataUpdater(ToolkitInterface* toolkit); ~CelestialBodyDataUpdater(); DescriptorSetLayoutInterface * getBodyDataSetLayout(); void update(std::vector<RenderedCelestialBody*> renderables); private: DescriptorSetLayoutInterface * celest...
33.58
12
(translation_unit) "#pragma once\nclass CelestialBodyDataUpdater\n{\npublic:\n CelestialBodyDataUpdater(ToolkitInterface* toolkit);\n ~CelestialBodyDataUpdater();\n DescriptorSetLayoutInterface * getBodyDataSetLayout();\n void update(std::vector<RenderedCelestialBody*> renderables);\n\nprivate:\n Descrip...
83
2
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 33.58, "nodes": 51, "errors": 0, "source_hash": "12eca3c7025ae8525d8ac3f57a0635534250677d545d7edc7fcdc545991f90c5", "categorized_nodes": 28}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
9,193
c
#include "../src/tabstractmodel.h"
34
1
(translation_unit) "#include "../src/tabstractmodel.h"\n" (preproc_include) "#include "../src/tabstractmodel.h"\n" (#include) "#include" (string_literal) ""../src/tabstractmodel.h"" (") """ (string_content) "../src/tabstractmodel.h" (") """
7
0
{"language": "c", "success": true, "metadata": {"lines": 1, "avg_line_length": 34.0, "nodes": 3, "errors": 0, "source_hash": "b7c7b50d8101c27302646c2baa3566838a4996c81a0f82531129940957346854", "categorized_nodes": 3}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#include \...
9,194
c
#include <stdio.h> int main(void) { int age = 10; int height = 72; printf("user is %d old\n", age); printf("user is %d tall\n", height); return 0; }
15.27
11
(translation_unit) "#include <stdio.h>\n\nint main(void)\n{\n int age = 10;\n int height = 72;\n \n printf("user is %d old\n", age);\n printf("user is %d tall\n", height);\n \n return 0;\n}\n" (preproc_include) "#include <stdio.h>\n" (#include) "#include" (system_lib_string) "<stdio.h>" ...
62
0
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 15.27, "nodes": 36, "errors": 0, "source_hash": "7ac64f318f22f4291194075f3b0b992de8cfce974a081c44d15247bef10e891f", "categorized_nodes": 23}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
9,195
c
#include<string> class Quote { public: Quote() = default; Quote(const std::string& book, double sales_price) : bookNo(book), price(sales_price) {} std::string isbn() const { return bookNo; } virtual double net_price(std::size_t n) const { return n * price; } virtual ~Quote() = default; private: std::string...
21.62
16
(translation_unit) "#include<string>\n\nclass Quote {\npublic:\n Quote() = default;\n Quote(const std::string& book, double sales_price) :\n bookNo(book), price(sales_price) {}\n std::string isbn() const { return bookNo; }\n virtual double net_price(std::size_t n) const {\n return n * price;\n }\n\n virtual ~Quote() ...
146
7
{"language": "c", "success": true, "metadata": {"lines": 16, "avg_line_length": 21.62, "nodes": 82, "errors": 0, "source_hash": "689c14a3c6236c547c04f71e0707617e1b6970b9e3c841f19a788758db3d95cf", "categorized_nodes": 54}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
9,196
c
/*** * Copyright (C) Microsoft. All rights reserved. * Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. * * File:Command.h ****/ #pragma once #include <pmod/library/model_library.h> #include "ObjectNode.h" class CCommandLogFactory : public _ObjectBaseLo...
33.07
111
(translation_unit) "/*** \n* Copyright (C) Microsoft. All rights reserved. \n* Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. \n* \n* File:Command.h \n****/ \n#pragma once \n \n#include <pmod/library/model_library.h> \n#include "ObjectNode.h" \n \nclass CCommandLo...
801
50
{"language": "c", "success": true, "metadata": {"lines": 111, "avg_line_length": 33.07, "nodes": 501, "errors": 0, "source_hash": "a233e322e520460ed3369008486c49259a3180ca14044a0a42f1008a238253ff", "categorized_nodes": 318}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragm...
9,197
c
#include <stdlib.h> #include <string.h> #include <stdio.h> #include "v1beta1_subject_access_review_status.h" v1beta1_subject_access_review_status_t *v1beta1_subject_access_review_status_create( int allowed, int denied, char *evaluation_error, char *reason ) { v1beta1_subject_access_review_sta...
36.53
122
(translation_unit) "#include <stdlib.h>\n#include <string.h>\n#include <stdio.h>\n#include "v1beta1_subject_access_review_status.h"\n\n\n\nv1beta1_subject_access_review_status_t *v1beta1_subject_access_review_status_create(\n int allowed,\n int denied,\n char *evaluation_error,\n char *reason\n ) {\n ...
783
0
{"language": "c", "success": true, "metadata": {"lines": 122, "avg_line_length": 36.53, "nodes": 443, "errors": 0, "source_hash": "3ae446c49d419b13d75605befb91916352701c17233b5be433db630378a8d6c2", "categorized_nodes": 297}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
9,198
c
#include "zxkeyboard.h" #include "allegro.h" #include "stdio.h" struct keyinfo *keys; unsigned char keybytes[8]; unsigned char keyindxs[] = { KEY_A, KEY_B, KEY_C, KEY_D, KEY_E, ...
30.96
187
(translation_unit) "#include "zxkeyboard.h" \n#include "allegro.h" \n#include "stdio.h" \n \nstruct keyinfo *keys; \nunsigned char keybytes[8]; \n \nunsigned char keyindxs[] = { KEY_A, \n KEY_B, \n KEY_C, \n KEY_D, \n ...
769
0
{"language": "c", "success": true, "metadata": {"lines": 187, "avg_line_length": 30.96, "nodes": 437, "errors": 0, "source_hash": "10fc44504d1df76f919121805a8e267b994c694f8b80af838b50c4b71d4cb128", "categorized_nodes": 356}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
9,199