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
/* * All of the documentation and software included in the * Alchemy Software is copyrighted by <NAME>, Parag * Singla, <NAME>, <NAME>, Marc <NAME>, <NAME>, and <NAME>. * * Copyright [2004-07] <NAME>, <NAME>, Matthew * Richardson, <NAME>, <NAME>, Hoifung * Poon, and <NAME>. All rights reserved. * * Contact:...
32.6
126
(translation_unit) "/*\n * All of the documentation and software included in the\n * Alchemy Software is copyrighted by <NAME>, Parag\n * Singla, <NAME>, <NAME>, Marc\n <NAME>, <NAME>, and <NAME>.\n * \n * Copyright [2004-07] <NAME>, <NAME>, Matthew\n * Richardson, <NAME>, <NAME>, Hoifung\n * Poon, and <NAME>. All righ...
369
12
{"language": "c", "success": true, "metadata": {"lines": 126, "avg_line_length": 32.6, "nodes": 226, "errors": 0, "source_hash": "2cafbb0dda4fcd655ae3eb906ca2b7e82f44b0766bbb2e6422870bc452f44bd7", "categorized_nodes": 169}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
11,600
c
// stdafx.h #pragma once // Ogre headers you need #include <OgreException.h> #include <OgreWindowEventUtilities.h> #include <OgreCamera.h> #include <OgreEntity.h> #include <OgreLogManager.h> #include <OgreRoot.h> #include <OgreViewport.h> #include <OgreSceneManager.h> #include <OgreRenderWindow.h> #inc...
20.71
31
(translation_unit) "// stdafx.h \n#pragma once \n \n// Ogre headers you need \n#include <OgreException.h> \n#include <OgreWindowEventUtilities.h> \n \n#include <OgreCamera.h> \n#include <OgreEntity.h> \n#include <OgreLogManager.h> \n#include <OgreRoot.h> \n#include <OgreViewport.h> \n#include <OgreSceneManager.h> \n#i...
75
0
{"language": "c", "success": true, "metadata": {"lines": 31, "avg_line_length": 20.71, "nodes": 68, "errors": 0, "source_hash": "c5fc088f9fed2a14d31854112bdc796b5579869f53024fe4c943e0baf581d891", "categorized_nodes": 62}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
11,601
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 "Account+WCTTableCoding.h" #import "Account.h" #import "Bill+WCTTableCoding.h" #import "Bill.h" #import "Book+WCTTabl...
27.47
30
(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 "Account+WCTTableCoding.h"\n#import "Account.h"\n#import "Bill+WCTTableCoding.h"\n#im...
103
1
{"language": "c", "success": true, "metadata": {"lines": 30, "avg_line_length": 27.47, "nodes": 93, "errors": 0, "source_hash": "9e1f2df329aea7659f7497f6b47f8186d9d5998520728d47a0ac5463c1092b1d", "categorized_nodes": 41}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifdef _...
11,602
c
/// \author <NAME> <<EMAIL>>, University and INFN Torino /// \date Mar 30, 2018 #ifndef __AliAnalysisTaskSignalLoss__ #define __AliAnalysisTaskSignalLoss__ #include "AliAnalysisTaskSE.h" #include "AliEventCuts.h" #include <Rtypes.h> #include <TList.h> #include <TH1F.h> #include <TH3F.h> #include <TArrayF.h> #include...
37.1
41
(translation_unit) "/// \author <NAME> <<EMAIL>>, University and INFN Torino\n/// \date Mar 30, 2018\n\n#ifndef __AliAnalysisTaskSignalLoss__\n#define __AliAnalysisTaskSignalLoss__\n\n#include "AliAnalysisTaskSE.h"\n#include "AliEventCuts.h"\n\n#include <Rtypes.h>\n#include <TList.h>\n#include <TH1F.h>\n#include <TH3F....
321
8
{"language": "c", "success": true, "metadata": {"lines": 41, "avg_line_length": 37.1, "nodes": 216, "errors": 0, "source_hash": "e5bbf60acd86d9523b874de6b5d194b8091e928005bdcbb7e2caf1d78dbdc5be", "categorized_nodes": 147}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
11,603
c
/** @file A brief file description @section license License 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. The ASF licenses this file to you und...
32.02
270
(translation_unit) "/** @file\n\n A brief file description\n\n @section license License\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 regarding copyright ownership. The ASF li...
1,405
4
{"language": "c", "success": true, "metadata": {"lines": 270, "avg_line_length": 32.02, "nodes": 789, "errors": 0, "source_hash": "700610643bb2d4c2768f5b040a5a05b9f185966715229fcfae92950dc5f0505a", "categorized_nodes": 587}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
11,604
c
/* * All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or * its licensors. * * For complete copyright and license terms please see the LICENSE at the root of this * distribution (the "License"). All use of this software is governed by the License, * or, if provided, by the license belo...
37.85
48
(translation_unit) "/*\n * All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or\n * its licensors.\n *\n * For complete copyright and license terms please see the LICENSE at the root of this\n * distribution (the "License"). All use of this software is governed by the License,\n * or, if pro...
315
24
{"language": "c", "success": true, "metadata": {"lines": 48, "avg_line_length": 37.85, "nodes": 201, "errors": 0, "source_hash": "b72ebb029f87b0c958f5c892812c990e4109adb2adfe3dfc15e1601171d9c87a", "categorized_nodes": 141}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
11,605
c
/* * Copyright (c) 2012-2016 <NAME> * See LICENSE for details. * * <NAME> <<EMAIL>> */ #include <vdp2/scrn.h> #include "vdp2-internal.h" void vdp2_sprite_type_priority_set(uint8_t type, uint8_t priority) { #ifdef DEBUG assert((type >= 0) && (type <= 7)); #endif /* DEBUG */ /* When priority is z...
32.68
53
(translation_unit) "/*\n * Copyright (c) 2012-2016 <NAME>\n * See LICENSE for details.\n *\n * <NAME> <<EMAIL>>\n */\n\n#include <vdp2/scrn.h>\n\n#include "vdp2-internal.h"\n\nvoid\nvdp2_sprite_type_priority_set(uint8_t type, uint8_t priority)\n{\n#ifdef DEBUG\n assert((type >= 0) && (type <= 7));\n#endif /* DEB...
363
0
{"language": "c", "success": true, "metadata": {"lines": 53, "avg_line_length": 32.68, "nodes": 233, "errors": 0, "source_hash": "7b8a26e1c8ad20fcb441ae45b085da608c71fdedc6b8e0daf8e81a919c7a7283", "categorized_nodes": 188}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
11,606
c
#include <MIDI.h> #include "Globals.h" struct LED { int led; boolean fxStatus; void turnOff(boolean fx) { digitalWrite(led, LOW); if (fx) fxStatus = 0; } void turnOn(boolean fx) { digitalWrite(led, HIGH); if (fx) fxStatus = 1; } }; struct ChannelSetting { int channel; boolean fx1; bo...
22.45
67
(translation_unit) "#include <MIDI.h>\n#include "Globals.h"\n\nstruct LED {\n int led;\n boolean fxStatus;\n void turnOff(boolean fx) {\n digitalWrite(led, LOW);\n if (fx) fxStatus = 0;\n }\n void turnOn(boolean fx) {\n digitalWrite(led, HIGH);\n if (fx) fxStatus = 1;\n }\n};\n\nstruct ChannelSetting ...
537
20
{"language": "c", "success": true, "metadata": {"lines": 67, "avg_line_length": 22.45, "nodes": 309, "errors": 0, "source_hash": "fac948160494ba63678413286c6bf2554a640e66c9d598589da4209e8b01db02", "categorized_nodes": 237}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
11,607
c
/*! * \copyright Copyright (c) 2018 Governikus GmbH & Co. KG, Germany */ #pragma once #include <QObject> #include <QSharedPointer> #include <QString> #include <QVector> namespace governikus { class DiagnosisItem : public QObject , public QEnableSharedFromThis<DiagnosisItem> { Q_OBJECT private: QString mTe...
27.82
34
(translation_unit) "/*!\n * \copyright Copyright (c) 2018 Governikus GmbH & Co. KG, Germany\n */\n\n#pragma once\n\n#include <QObject>\n#include <QSharedPointer>\n#include <QString>\n#include <QVector>\n\n\nnamespace governikus\n{\n\nclass DiagnosisItem\n : public QObject\n , public QEnableSharedFromThis<DiagnosisItem>...
237
15
{"language": "c", "success": true, "metadata": {"lines": 34, "avg_line_length": 27.82, "nodes": 147, "errors": 0, "source_hash": "4ed26ca82ab8c622a3557a7df3fc32e212a965e7ade8c84bd4f389362b0dfe5c", "categorized_nodes": 94}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma ...
11,608
c
/* This file is part of solidity. solidity is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. solidity is distributed in the hope that i...
31.62
40
(translation_unit) "/*\n This file is part of solidity.\n\n solidity is free software: you can redistribute it and/or modify\n it under the terms of the GNU General Public License as published by\n the Free Software Foundation, either version 3 of the License, or\n (at your option) any later version.\n\n solidity is di...
129
5
{"language": "c", "success": true, "metadata": {"lines": 40, "avg_line_length": 31.62, "nodes": 67, "errors": 0, "source_hash": "996b118c5b0e7ee075d870a15003f4b44d51cbf48259d58f3395be636924ea85", "categorized_nodes": 44}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
11,609
c
/*#include <stdio.h> int main() { printf("Hello, World\c"); } */ #include <stdio.h> main() { printf("hello, "); printf("world"); printf("\n"); }
11.42
12
(translation_unit) "/*#include <stdio.h>\n\nint main() {\n printf("Hello, World\c");\n}\n*/\n#include <stdio.h>\nmain()\n{\n printf("hello, ");\n printf("world");\n printf("\n");\n}\n\n" (comment) "/*#include <stdio.h>\n\nint main() {\n printf("Hello, World\c");\n}\n*/" (preproc_include) "#include <stdio.h>\n" ...
48
0
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 11.42, "nodes": 19, "errors": 0, "source_hash": "f3313b9e818994c162db434bbe8a61e543564bd416d43a6e69eda9be9806bf74", "categorized_nodes": 14}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
11,610
c
#ifndef __THUNDERVST_H__ #define __THUNDERVST_H__ #include <WaveSabreVstLib.h> using namespace WaveSabreVstLib; #include <WaveSabreCore.h> using namespace WaveSabreCore; class ThunderVst : public VstPlug { public: ThunderVst(audioMasterCallback audioMaster); virtual bool getEffectName(char *name); virtual bool g...
24.67
15
(translation_unit) "#ifndef __THUNDERVST_H__\n#define __THUNDERVST_H__\n\n#include <WaveSabreVstLib.h>\nusing namespace WaveSabreVstLib;\n\n#include <WaveSabreCore.h>\nusing namespace WaveSabreCore;\n\nclass ThunderVst : public VstPlug\n{\npublic:\n ThunderVst(audioMasterCallback audioMaster);\n\n virtual bool getEffec...
93
6
{"language": "c", "success": true, "metadata": {"lines": 15, "avg_line_length": 24.67, "nodes": 67, "errors": 0, "source_hash": "f621189586728250203a6817da2e156bc1107bdaa7e940470b617de06e85e09c", "categorized_nodes": 46}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
11,611
c
/* * sbl.c * * Created: 2018-05-07 21:01:46 * Author: leaf */ #include <inttypes.h> #include "sbl.h" #define SBL_VERSION (0x30u) #define SBL_ACK (0x79u) #define SBL_NAK (0x1Fu) /* get: version + Supported commands */ /* gv: version + readout protection(reserved 0x00) */ /* gid: device id 0x0400 */ const ui...
20.21
146
(translation_unit) "/*\n * sbl.c\n *\n * Created: 2018-05-07 21:01:46\n * Author: leaf\n */ \n\n#include <inttypes.h>\n#include "sbl.h"\n\n#define SBL_VERSION (0x30u)\n#define SBL_ACK (0x79u)\n#define SBL_NAK (0x1Fu)\n\n/* get: version + Supported commands */\n/* gv: version + readout protection(reserved 0x00) */\n...
910
0
{"language": "c", "success": true, "metadata": {"lines": 146, "avg_line_length": 20.21, "nodes": 504, "errors": 0, "source_hash": "24db7361dfe95b36a4297033ad4fb67ddfc7f2169f6174997c05dc38d0e92657", "categorized_nodes": 345}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
11,612
c
// // Created by Khyber on 5/21/2019. // #pragma once #include "src/share/io/fse.h" #include "src/share/io/Stat.h" #include "src/share/lib/corrade/CorradeArrayView.h" #include <string_view> #include <atomic> #include <sys/mman.h> namespace io { using namespace Corrade::Containers; template <typen...
30.92
86
(translation_unit) "//\n// Created by Khyber on 5/21/2019.\n//\n\n#pragma once\n\n#include "src/share/io/fse.h"\n#include "src/share/io/Stat.h"\n#include "src/share/lib/corrade/CorradeArrayView.h"\n\n#include <string_view>\n#include <atomic>\n\n#include <sys/mman.h>\n\nnamespace io {\n \n using namespace Corrade:...
702
53
{"language": "c", "success": true, "metadata": {"lines": 86, "avg_line_length": 30.92, "nodes": 422, "errors": 0, "source_hash": "168d3aeb08abe7e265bbd4fc75d22b444622bd4a122ca70221fffc61eabac93e", "categorized_nodes": 275}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
11,613
c
// // JCHATMessageTableViewCell.h // JChat // // Created by HuminiOS on 15/7/13. // Copyright (c) 2015年 HXHG. All rights reserved. //重构聊天界面代码用 // TODO: #import <UIKit/UIKit.h> #import "JCHATMessageContentView.h" #import "JCHATAudioPlayerHelper.h" #import "JCHATChatModel.h" @protocol playVoiceDelegate <NSObject> @...
36.94
54
(translation_unit) "//\n// JCHATMessageTableViewCell.h\n// JChat\n//\n// Created by HuminiOS on 15/7/13.\n// Copyright (c) 2015年 HXHG. All rights reserved.\n//重构聊天界面代码用\n\n// TODO:\n#import <UIKit/UIKit.h>\n#import "JCHATMessageContentView.h"\n#import "JCHATAudioPlayerHelper.h"\n#import "JCHATChatModel.h"\n\n@proto...
477
66
{"language": "c", "success": true, "metadata": {"lines": 54, "avg_line_length": 36.94, "nodes": 320, "errors": 0, "source_hash": "7c4cd8701fcbd5610c1ee00f4221e2653f4e09781eb19bce1830e263f491e15c", "categorized_nodes": 191}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": ".h>\n#i...
11,614
c
template<class T> inline const T& min(const T& a, const T& b) { return (b < a) ? b : a; } template<class T> inline const T& max(const T& a, const T& b) { return (a < b) ? b : a; } //BRANCHLESS - speed? Probably slower! template <typename T> inline int32_t min(int32_t a, int32_t b) { return b + ((a-b) & (a...
19.83
48
(translation_unit) "template<class T>\ninline const T& min(const T& a, const T& b)\n{\n return (b < a) ? b : a;\n}\n\ntemplate<class T>\ninline const T& max(const T& a, const T& b)\n{\n return (a < b) ? b : a;\n}\n\n//BRANCHLESS - speed? Probably slower!\ntemplate <typename T>\ninline int32_t min(int32_t a, int32...
449
38
{"language": "c", "success": true, "metadata": {"lines": 48, "avg_line_length": 19.83, "nodes": 306, "errors": 0, "source_hash": "37a08c3f0d227de7cae3efee52674b6f27764486a46dfe41f245d1a9c5bbc1bb", "categorized_nodes": 212}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "template<class...
11,615
c
/* * Copyright (c) 2021, <NAME> * * SPDX-License-Identifier: BSD-2-Clause */ #include <drivers/x86/keyboard.h> #include <fs/devfs/devfs.h> #include <fs/vfs.h> #include <io/tty/tty.h> #include <libkern/bits/errno.h> #include <libkern/libkern.h> #include <libkern/log.h> #include <libkern/syscall_structs.h> #include ...
25.71
214
(translation_unit) "/*\n * Copyright (c) 2021, <NAME>\n *\n * SPDX-License-Identifier: BSD-2-Clause\n */\n\n#include <drivers/x86/keyboard.h>\n#include <fs/devfs/devfs.h>\n#include <fs/vfs.h>\n#include <io/tty/tty.h>\n#include <libkern/bits/errno.h>\n#include <libkern/libkern.h>\n#include <libkern/log.h>\n#include <lib...
1,762
0
{"language": "c", "success": true, "metadata": {"lines": 214, "avg_line_length": 25.71, "nodes": 1084, "errors": 0, "source_hash": "feb05ad6b9d55835bc178942906bd2d2a593c5288f8506d3b78eea8eab40416d", "categorized_nodes": 783}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#i...
11,616
c
// RUN: %clang_cc1 -O1 -triple arm64-apple-ios7 -target-feature +neon -ffreestanding -S -o - -emit-llvm %s | FileCheck %s // Test ARM64 vector compare absolute intrinsics #include <arm_neon.h> uint32x2_t test_vcale_f32(float32x2_t a1, float32x2_t a2) { // CHECK: test_vcale_f32 return vcale_f32(a1, a2); // CHECK...
38.44
50
(translation_unit) "// RUN: %clang_cc1 -O1 -triple arm64-apple-ios7 -target-feature +neon -ffreestanding -S -o - -emit-llvm %s | FileCheck %s\n// Test ARM64 vector compare absolute intrinsics\n\n#include <arm_neon.h>\n\nuint32x2_t test_vcale_f32(float32x2_t a1, float32x2_t a2) {\n // CHECK: test_vcale_f32\n return vc...
253
0
{"language": "c", "success": true, "metadata": {"lines": 50, "avg_line_length": 38.44, "nodes": 139, "errors": 0, "source_hash": "348f72074fdf7c4503d08e57ce7802e9d62d342322d25cf44362467e340fb7dc", "categorized_nodes": 123}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
11,617
c
/* Copyright (c) 2016 <NAME>, <NAME> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, ...
37.57
42
(translation_unit) "/*\nCopyright (c) 2016 <NAME>, <NAME>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the "Software"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, me...
145
6
{"language": "c", "success": true, "metadata": {"lines": 42, "avg_line_length": 37.57, "nodes": 92, "errors": 0, "source_hash": "fcc7c315d8738b13ff51c2924f38d4026d39b668ecbcb3e33c83a53b76b1dfad", "categorized_nodes": 64}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
11,618
c
#include<iostream> #include"Break.h" class Compare: public Break { protected: std::string Subject; std::string Verb; public: Compare(); void Comparing(); ~Compare(); };
13.15
13
(translation_unit) "#include<iostream>\n#include"Break.h"\nclass Compare: public Break\n{\n protected:\n std::string Subject;\n std::string Verb;\n public:\n Compare();\n void Comparing();\n ~Compare();\n \n};" (preproc_include) "#include<iostream>\n" (#include) "#include" (system_lib_string) "<iostream...
70
3
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 13.15, "nodes": 35, "errors": 0, "source_hash": "ef8d775ec337f76fb2e0bf9137387456ffbb22e8d9887cb5e26653bdf328922e", "categorized_nodes": 25}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
11,619
c
#include <math.h> #include "../vendor/minunit/minunit.h" #include "../src/table-generator.h" static int output_call_count = 0; double converter_stub( double input) { return input; } int call_counter( char const * line) { (void)line; return output_call_count++; } char* test_table_generator(void) ...
24
39
(translation_unit) "#include <math.h>\n#include "../vendor/minunit/minunit.h"\n#include "../src/table-generator.h"\n\nstatic int output_call_count = 0;\n\ndouble converter_stub(\n double input) {\n return input;\n}\n\nint call_counter(\n char const * line) {\n (void)line;\n return output_call_count++;\n}...
192
0
{"language": "c", "success": true, "metadata": {"lines": 39, "avg_line_length": 24.0, "nodes": 111, "errors": 0, "source_hash": "3d2f69d577d1359c75d5be8fce6463754e37072880c219bf0f985721226ffdf5", "categorized_nodes": 72}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
11,620
c
// Copyright (C) 2007 Id Software, Inc. // #ifndef __AASCALLBACK_FINDAREAOUTOFRANGE_H__ #define __AASCALLBACK_FINDAREAOUTOFRANGE_H__ #include "AASCallback_AvoidLocation.h" /* =============================================================================== idAASCallback_FindAreaOutOfRange =============...
25.68
28
(translation_unit) "// Copyright (C) 2007 Id Software, Inc. \n// \n \n#ifndef __AASCALLBACK_FINDAREAOUTOFRANGE_H__ \n#define __AASCALLBACK_FINDAREAOUTOFRANGE_H__ \n \n#include "AASCallback_AvoidLocation.h" \n \n/* \n=============================================================================== \n \n idAASCallback_Find...
83
4
{"language": "c", "success": true, "metadata": {"lines": 28, "avg_line_length": 25.68, "nodes": 47, "errors": 0, "source_hash": "4406037e76515c2a363683f1bbc85f7f41cbd7474748a3270b96d616bd42201c", "categorized_nodes": 33}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
11,621
c
//IO 24 #include<stdio.h> int main() { int decimal,j,deci; scanf("%d",&decimal) deci=decimal; printf("Decimal value:%d\n",deci); int i,octal[100],hexa[100],quotient; quotient=deci; for(i=0;decimal>0;i++) { octal[i] = decimal % 8 decimal = Decimal...
19.95
39
(translation_unit) "//IO 24 \n #include<stdio.h> \n int main() \n { \n int decimal,j,deci; \n scanf("%d",&decimal) \n deci=decimal; \n printf("Decimal value:%d\n",deci); \n int i,octal[100],hexa[100],quotient; \n quotient=deci; \n for(i=0;decimal>0;i++) \n { \n octal[i] = decimal...
311
3
{"language": "c", "success": true, "metadata": {"lines": 39, "avg_line_length": 19.95, "nodes": 172, "errors": 0, "source_hash": "6a1a23165116cecfc0135385e1722038abd5db0033f0a37b10d3990e62dbf2ef", "categorized_nodes": 127}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
11,622
c
#define GL_GLEXT_PROTOTYPES #define EGL_EGLEXT_PROTOTYPES #include <emscripten.h> #include <emscripten/bind.h> #include <emscripten/emscripten.h> #include <emscripten/val.h> #include <emscripten/threading.h> #include <emscripten/html5.h> #include <GLES2/gl2.h> #include <libc/pthread.h> #include <AL/al.h> #include <AL/a...
26.23
13
(translation_unit) "#define GL_GLEXT_PROTOTYPES\n#define EGL_EGLEXT_PROTOTYPES\n#include <emscripten.h>\n#include <emscripten/bind.h>\n#include <emscripten/emscripten.h>\n#include <emscripten/val.h>\n#include <emscripten/threading.h>\n#include <emscripten/html5.h>\n#include <GLES2/gl2.h>\n#include <libc/pthread.h>\n#in...
43
1
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 26.23, "nodes": 41, "errors": 0, "source_hash": "d769a6e83f5786d70d6e0a127ab3a8fb83037ea1a9c13700c87454386939f9ed", "categorized_nodes": 36}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_def", "text": "#define GL...
11,623
c
#ifndef _SILC_PKT_PROCESS_H #define _SILC_PKT_PROCESS_H #include <string.h> #include <pcap.h> #include "dagapi.h" #include "dagutil.h" #ifdef __cplusplus extern "C" { #endif /* ERF types locally defined, as these not yet supported in dag */ #ifndef TYPE_IPV4 #define TYPE_IPV4 22 #endif #ifndef TYPE_IPV6 #define ...
19.64
95
(translation_unit) "#ifndef _SILC_PKT_PROCESS_H\n#define _SILC_PKT_PROCESS_H\n#include <string.h>\n#include <pcap.h>\n#include "dagapi.h"\n#include "dagutil.h"\n\n\n#ifdef __cplusplus\nextern "C" {\n#endif\n\n/* ERF types locally defined, as these not yet supported in dag */\n#ifndef TYPE_IPV4\n#define TYPE_IPV4 22\...
353
0
{"language": "c", "success": true, "metadata": {"lines": 95, "avg_line_length": 19.64, "nodes": 252, "errors": 0, "source_hash": "427c859aec3e045a7c40e5b598808545592978386b276b2b1c8f8113be2cfb66", "categorized_nodes": 185}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
11,624
c
#pragma once #include "R3D/Common/Common.h" #include "R3D/RigidBodyEngine/CollisionDetection/CollisionPair.h" #include "R3D/Utility/FixedSizeContainer.h" namespace r3 { class RigidBody; /** * \breif Hierarchy of bounding volumes. Only leaf nodes describe * actually collidable bounding volumes. */ template<cl...
29.78
86
(translation_unit) "#pragma once\n#include "R3D/Common/Common.h"\n#include "R3D/RigidBodyEngine/CollisionDetection/CollisionPair.h"\n#include "R3D/Utility/FixedSizeContainer.h"\n\nnamespace r3\n{\n class RigidBody;\n\n /**\n * \breif Hierarchy of bounding volumes. Only leaf nodes describe\n * actually collidable boun...
265
13
{"language": "c", "success": true, "metadata": {"lines": 86, "avg_line_length": 29.78, "nodes": 162, "errors": 0, "source_hash": "23cc779ac333f6b8e5847cf2809554ac35ee343590d528f80b56fce1c344ad9f", "categorized_nodes": 98}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma ...
11,625
c
#include<stdio.h> enum animal {Dog, Cat, Monkey, Invalid}; void dog(void) { puts("wang~wang"); } void cat(void) { puts("miao~miao"); } void monkey(void) { puts("ji~ji"); } enum animal select(void) { int tmp; do { printf("0-dog, 1-cat, 2-monkey, 3-end:"); scanf("%d", &tmp); ...
20.2
30
(translation_unit) "#include<stdio.h>\n\nenum animal {Dog, Cat, Monkey, Invalid};\n\nvoid dog(void) {\n puts("wang~wang");\n}\n\nvoid cat(void) {\n puts("miao~miao");\n}\n\nvoid monkey(void) {\n puts("ji~ji");\n}\n\nenum animal select(void) {\n int tmp;\n\n do {\n printf("0-dog, 1-cat, 2-monkey, 3...
253
0
{"language": "c", "success": true, "metadata": {"lines": 30, "avg_line_length": 20.2, "nodes": 137, "errors": 0, "source_hash": "826c6e13b9817b60bf4e419aeb8a6a65221c9777e78b3b63f7d9b6fad4085d9b", "categorized_nodes": 100}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
11,626
c
// // YYBAlertView+ActionSheet.h // SavingPot365 // // Created by September on 2018/10/14. // Copyright © 2018 Univease Co., Ltd. All rights reserved. // #import "YYBAlertView.h" #import "UIColor+YYBAdd.h" #import "UIDevice+YYBAdd.h" #import "UIView+YYBAdd.h" NS_ASSUME_NONNULL_BEGIN @interface YYBAlertView (Acti...
28.88
16
(translation_unit) "//\n// YYBAlertView+ActionSheet.h\n// SavingPot365\n//\n// Created by September on 2018/10/14.\n// Copyright © 2018 Univease Co., Ltd. All rights reserved.\n//\n\n#import "YYBAlertView.h"\n#import "UIColor+YYBAdd.h"\n#import "UIDevice+YYBAdd.h"\n#import "UIView+YYBAdd.h"\n\nNS_ASSUME_NONNULL_BEG...
67
4
{"language": "c", "success": true, "metadata": {"lines": 16, "avg_line_length": 28.88, "nodes": 37, "errors": 0, "source_hash": "0b07c21cf71bbe4665e15a256c678b1ec1721f32165e1b8682801c03ae7d9139", "categorized_nodes": 22}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import \"...
11,627
c
//++Dubrovnik.CodeGenerator System_FuncA8.h // // Managed class : Func`8 // // // Frameworks // #import <Dubrovnik/Dubrovnik.h> // // Optional extra import. Not auto generated. Add manually to project only if required. // #if __has_include("System_FuncA8.__Extra__.h") #import "System_FuncA8.__Extra__.h" #endif // //...
23.55
110
(translation_unit) "++Dubrovnik.CodeGenerator System_FuncA8.h\n//\n// Managed class : Func`8\n//\n//\n// Frameworks\n//\n#import <Dubrovnik/Dubrovnik.h>\n\n//\n// Optional extra import. Not auto generated. Add manually to project only if required.\n//\n#if __has_include("System_FuncA8.__Extra__.h")\n#import "System_Fun...
452
52
{"language": "c", "success": true, "metadata": {"lines": 110, "avg_line_length": 23.55, "nodes": 317, "errors": 0, "source_hash": "f82349d5c4d7f49a1a7d55b21ba626b74eedaf9d9d3299b92d8e477eff566883", "categorized_nodes": 183}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "mport ...
11,628
c
/* endian.h This file is part of Cygwin. This software is a copyrighted work licensed under the terms of the Cygwin license. Please consult the file "CYGWIN_LICENSE" for details. */ #ifndef _ENDIAN_H_ #define _ENDIAN_H_ #include <sys/config.h> #include <machine/endian.h> /*#ifdef __USE_BSD*/ # ifndef LITTLE_ENDI...
26.47
60
(translation_unit) "/* endian.h\n\nThis file is part of Cygwin.\n\nThis software is a copyrighted work licensed under the terms of the\nCygwin license. Please consult the file "CYGWIN_LICENSE" for\ndetails. */\n\n#ifndef _ENDIAN_H_\n#define _ENDIAN_H_\n\n#include <sys/config.h>\n#include <machine/endian.h>\n\n/*#ifdef...
304
0
{"language": "c", "success": true, "metadata": {"lines": 60, "avg_line_length": 26.47, "nodes": 242, "errors": 0, "source_hash": "a5bc565357320624fe38e0cdf8e9c3d07f78de94e187a058703baa81777928db", "categorized_nodes": 141}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
11,629
c
/* M3 -- Meka Robotics Real-Time Control System Copyright (c) 2010 Meka Robotics Author: <EMAIL> (<NAME>) M3 is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at...
29.18
100
(translation_unit) "/* \nM3 -- Meka Robotics Real-Time Control System \nCopyright (c) 2010 Meka Robotics \nAuthor: <EMAIL> (<NAME>) \n \nM3 is free software: you can redistribute it and/or modify \nit under the terms of the GNU Lesser General Public License as published by \nthe Free Software Foundation, either versio...
291
0
{"language": "c", "success": true, "metadata": {"lines": 100, "avg_line_length": 29.18, "nodes": 255, "errors": 0, "source_hash": "c2eacc38989ae0ee177487668e0c317b3457f4f547fd24028652e6c8762a2e0c", "categorized_nodes": 113}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
11,630
c
#include<stdio.h> #include<string.h> #include <stdlib.h> int check_key(const char *key) { int i; if ( strlen(key) != 16 ) return 1; for ( i = 0; i < strlen(key); i += 2 ) { if ( key[i] - key[i + 1] != -1 ) return 1; } return 0; } int main(int argc, char *argv[]) { if ( argc != 2 ) { puts...
15.57
28
(translation_unit) "#include<stdio.h>\n#include<string.h>\n#include <stdlib.h>\n\nint check_key(const char *key) {\n int i;\n\n if ( strlen(key) != 16 )\n return 1;\n for ( i = 0; i < strlen(key); i += 2 )\n {\n if ( key[i] - key[i + 1] != -1 )\n return 1;\n }\n return 0;\n}\n\nint main(int argc, char *a...
208
0
{"language": "c", "success": true, "metadata": {"lines": 28, "avg_line_length": 15.57, "nodes": 116, "errors": 0, "source_hash": "f87730b1fa8abf56ad91d40f2b1aa3efbd094bd12d29747f4870e37983290617", "categorized_nodes": 87}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
11,631
c
#include "LPC17xx.h" #include "platform.h" extern uint32_t platform_clock; // This function is bound to use UART1 only, as it's powered on boot, so we // have less issues with it. void platform_uart_setup(uint32_t baud_rate) { // Make sure UART IRQ is disabled NVIC_DisableIRQ(UART1_IRQn); // Setup pin 0....
29.08
65
(translation_unit) "#include "LPC17xx.h"\n#include "platform.h"\n\nextern uint32_t platform_clock;\n\n// This function is bound to use UART1 only, as it's powered on boot, so we\n// have less issues with it.\nvoid platform_uart_setup(uint32_t baud_rate)\n{\n // Make sure UART IRQ is disabled\n NVIC_DisableIRQ(UAR...
372
0
{"language": "c", "success": true, "metadata": {"lines": 65, "avg_line_length": 29.08, "nodes": 232, "errors": 0, "source_hash": "c0bb1ad55733ade3b850bbe6215f478ee8dbe6ae959d56a99f0c7fc23054d437", "categorized_nodes": 177}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
11,632
c
#pragma once #include "llWidgets_global.h" class LLWIDGETS_EXPORT llWidgets { public: llWidgets(); };
14.14
7
(translation_unit) "#pragma once\n\n#include "llWidgets_global.h"\n\nclass LLWIDGETS_EXPORT llWidgets\n{\npublic:\n llWidgets();\n};\n" (preproc_call) "#pragma once\n" (preproc_directive) "#pragma" (preproc_arg) "once" (preproc_include) "#include "llWidgets_global.h"\n" (#include) "#include" (str...
30
1
{"language": "c", "success": true, "metadata": {"lines": 7, "avg_line_length": 14.14, "nodes": 14, "errors": 0, "source_hash": "156b57dec3fc55b39406aaedf0b155ffdfea505b75123c713cb8ef173eb990c8", "categorized_nodes": 9}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma onc...
11,633
c
/** * @file il3820.h * */ #ifndef IL3820_H #define IL3820_H #ifdef __cplusplus extern "C" { #endif #ifdef LV_LVGL_H_INCLUDE_SIMPLE #include "lvgl.h" #else #include "lvgl/lvgl.h" #endif #include "sdkconfig.h" /* Values for Waveshare 2.9inch e-Paper Module, this values shouldn't be * swapped ...
31.38
112
(translation_unit) "/** \n * @file il3820.h \n * \n */ \n \n#ifndef IL3820_H \n#define IL3820_H \n \n#ifdef __cplusplus \nextern "C" \n{ \n#endif \n \n#ifdef LV_LVGL_H_INCLUDE_SIMPLE \n#include "lvgl.h" \n#else \n#include "lvgl/lvgl.h" \n#endif \n#include "sdkconfig.h" \n \n/* Values for Waveshare 2.9inch e-Paper Modul...
440
0
{"language": "c", "success": true, "metadata": {"lines": 112, "avg_line_length": 31.38, "nodes": 378, "errors": 0, "source_hash": "e2404c6f9306920044ae8d5fc87e1d877506043d511fa0a6af309acb455d57b5", "categorized_nodes": 154}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
11,634
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 NSMutableArray, NSString; @interface APDRRResult : NSObject { _Bool _success; NSString *_message; ...
31.32
19
(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 NSMutableArray, NSString;\n\n@interface APDRRResult : NSObject\n{\n _Bool _s...
123
15
{"language": "c", "success": true, "metadata": {"lines": 19, "avg_line_length": 31.32, "nodes": 76, "errors": 0, "source_hash": "b8b925d87cde7cd9885c05ba9c4e259b88a801f3d46581271b19f0aa8d68d2a7", "categorized_nodes": 44}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <...
11,635
c
#ifndef __XE_GRAPHICS_GL_TEXTURE3DGL_HPP__ #define __XE_GRAPHICS_GL_TEXTURE3DGL_HPP__ #include <XE/Graphics/Texture3D.h> #include "TextureBaseGL.h" namespace XE { class Texture3DGL : public Texture3D, public TextureBaseGL { public: Texture3DGL(const PixelFormat format, const Vector3i &size, const Pi...
39.15
27
(translation_unit) "#ifndef __XE_GRAPHICS_GL_TEXTURE3DGL_HPP__\n#define __XE_GRAPHICS_GL_TEXTURE3DGL_HPP__\n\n#include <XE/Graphics/Texture3D.h>\n\n#include "TextureBaseGL.h"\n\nnamespace XE {\n class Texture3DGL : public Texture3D, public TextureBaseGL {\n public:\n Texture3DGL(const PixelFormat format, c...
235
20
{"language": "c", "success": true, "metadata": {"lines": 27, "avg_line_length": 39.15, "nodes": 131, "errors": 0, "source_hash": "639bc8efa6b1b39a3df092dc3b2af121f609690c4d360c3aced6e7620db9ab82", "categorized_nodes": 94}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
11,636
c
// // OperationShaderTypes.h // Pods // // Created by Bear on 2020/8/21. // Copyright © 2020 Chocolate. All rights reserved. // #ifndef OperationShaderTypes_h #define OperationShaderTypes_h // It may be a bug in Xcode, maybe it will be fixed later // If you do not add this line, #include <metal_stdlib> will have ...
27.22
32
(translation_unit) "//\n// OperationShaderTypes.h\n// Pods\n//\n// Created by Bear on 2020/8/21.\n// Copyright © 2020 Chocolate. All rights reserved.\n//\n\n#ifndef OperationShaderTypes_h\n#define OperationShaderTypes_h\n\n// It may be a bug in Xcode, maybe it will be fixed later\n// If you do not add this line, #i...
130
1
{"language": "c", "success": true, "metadata": {"lines": 32, "avg_line_length": 27.22, "nodes": 90, "errors": 0, "source_hash": "7eca75e9b3ee9400680f968271ee33bf54da4ee285ec9c0f6ead0fc97f7b3600", "categorized_nodes": 59}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "ifndef O...
11,637
c
#pragma once #include "keyboard.h" #include <stdlib.h> #include <stdio.h> typedef struct listning_s { struct listning_s * next; void(*proxy)(void * arg); void(*proxy2)(void * arg, void * arg2); void(*proxy3)(void * arg, void * arg2, void * arg3); void * arg; void * arg2; void * arg3; char key; ...
19.57
54
(translation_unit) "#pragma once \n#include "keyboard.h" \n \n#include <stdlib.h> \n#include <stdio.h> \n \ntypedef struct listning_s \n{ \n struct listning_s * next; \n void(*proxy)(void * arg); \n void(*proxy2)(void * arg, void * arg2); \n void(*proxy3)(void * arg, void * arg2, void * arg3); \n void * arg; \n void * ...
366
0
{"language": "c", "success": true, "metadata": {"lines": 54, "avg_line_length": 19.57, "nodes": 280, "errors": 0, "source_hash": "75866499df4cda604812d039f16e8c0a24235aac7331fa5dfd651eed94fe0b17", "categorized_nodes": 144}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
11,638
c
#pragma once /**\class Sys_ComboBox_Delegate \author <NAME>, <NAME> et al. \author produced by the Institute of Hydraulic Engineering (IWW), RWTH Aachen University \version 0.0.1 \date 2009 */ #ifndef SYS_COMBOBOX_DELEGATE_H #define SYS_COMBOBOX_DELEGAT...
30.71
51
(translation_unit) "#pragma once\n/**\class Sys_ComboBox_Delegate\n \author <NAME>, <NAME> et al.\n \author produced by the Institute of Hydraulic Engineering (IWW), RWTH Aachen University\n \version 0.0.1 \n \date 2009 \n*/\n#ifndef SYS_COMBOBOX_DELEGATE_H\n...
249
13
{"language": "c", "success": true, "metadata": {"lines": 51, "avg_line_length": 30.71, "nodes": 144, "errors": 0, "source_hash": "0cd4a8f15f9ee5e0f75890b875059348eb8294d0e4953be8b9b42813384180ff", "categorized_nodes": 102}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
11,639
c
#include <spu_mfcio.h> #include <mars/error.h> #include <mars/module.h> #include "task_module.h" #define MARS_TASK_MODULE_DMA_SIZE_MAX 16384 #define MARS_TASK_MODULE_DMA_SIZE_MASK 0x7f /* global task variables */ static struct mars_task_context *task; /* called by task_switch.S */ void __module_main(void); void ...
30.83
287
(translation_unit) "#include <spu_mfcio.h>\n\n#include <mars/error.h>\n#include <mars/module.h>\n\n#include "task_module.h"\n\n#define MARS_TASK_MODULE_DMA_SIZE_MAX 16384\n#define MARS_TASK_MODULE_DMA_SIZE_MASK 0x7f\n\n/* global task variables */\nstatic struct mars_task_context *task;\n\n/* called by task_switch.S *...
1,928
9
{"language": "c", "success": true, "metadata": {"lines": 287, "avg_line_length": 30.83, "nodes": 1208, "errors": 0, "source_hash": "c943886bd97df20b59bff9fcdd353656ca5458a891528b26da69e985dd8e72f0", "categorized_nodes": 809}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#i...
11,640
c
/*++ Copyright (c) Microsoft Corporation. All rights reserved. Module Name: msptrmvc.cpp Abstract: MSP base classes: declaration of video capture terminal. --*/ #ifndef _MSPTRMVC_H_ #define _MSPTRMVC_H_ #include <winapifamily.h> #pragma region Desktop Family #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION...
25.81
62
(translation_unit) "/*++\n\nCopyright (c) Microsoft Corporation. All rights reserved.\n\nModule Name:\n\n msptrmvc.cpp\n\nAbstract:\n\n MSP base classes: declaration of video capture terminal.\n\n--*/\n\n\n#ifndef _MSPTRMVC_H_\n#define _MSPTRMVC_H_\n#include <winapifamily.h>\n\n#pragma region Desktop Family\n#if ...
212
9
{"language": "c", "success": true, "metadata": {"lines": 62, "avg_line_length": 25.81, "nodes": 127, "errors": 0, "source_hash": "bb18aa4ae9637083a0fb11a0181e197a2b57b561046ab4baf7b1e03d9281f1c7", "categorized_nodes": 86}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
11,641
c
// HTFBitmap.h: interface for the HTFBitmap class. // ////////////////////////////////////////////////////////////////////// #if !defined(AFX_HTFBITMAP_H__B6BE8DA9_F77B_4C0E_BC5A_0BDAE02CA68A__INCLUDED_) #define AFX_HTFBITMAP_H__B6BE8DA9_F77B_4C0E_BC5A_0BDAE02CA68A__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif /...
28.38
24
(translation_unit) "// HTFBitmap.h: interface for the HTFBitmap class.\n//\n//////////////////////////////////////////////////////////////////////\n\n#if !defined(AFX_HTFBITMAP_H__B6BE8DA9_F77B_4C0E_BC5A_0BDAE02CA68A__INCLUDED_)\n#define AFX_HTFBITMAP_H__B6BE8DA9_F77B_4C0E_BC5A_0BDAE02CA68A__INCLUDED_\n\n#if _MSC_VER >...
112
2
{"language": "c", "success": true, "metadata": {"lines": 24, "avg_line_length": 28.38, "nodes": 75, "errors": 0, "source_hash": "969a63e2d723e14fab8154cb5683199a8b273ec1ecc642bb13cd34daaeba9527", "categorized_nodes": 48}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_if", "text": "#if !define...
11,642
c
// // VTabBarViewController.h // VHLNavigation // // Created by Vincent on 2018/7/2. // Copyright © 2018 Darnel Studio. All rights reserved. // #import <UIKit/UIKit.h> @interface VTabBarViewController : UITabBarController @end
22.1
10
(translation_unit) "//\n// VTabBarViewController.h\n// VHLNavigation\n//\n// Created by Vincent on 2018/7/2.\n// Copyright © 2018 Darnel Studio. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface VTabBarViewController : UITabBarController\n\n@end\n" (comment) "//" (comment) "// VTabBarViewContro...
19
3
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 22.1, "nodes": 9, "errors": 0, "source_hash": "46154171c41561173238d6b5457b885884547eb5451fa4e34e7d346bb0c9fbe8", "categorized_nodes": 5}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <UIKi...
11,643
c
// // iFStatusBarView.h // iFootage // // Created by 黄品源 on 2017/6/14. // Copyright © 2017年 iFootage. All rights reserved. // #import <UIKit/UIKit.h> #import "iFCbperStatusView.h" @interface iFStatusBarView : UIView @property (nonatomic, strong)iFCbperStatusView * cbs1perView; @property (nonatomic, strong)iFCbpe...
26.29
14
(translation_unit) "//\n// iFStatusBarView.h\n// iFootage\n//\n// Created by 黄品源 on 2017/6/14.\n// Copyright © 2017年 iFootage. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n#import "iFCbperStatusView.h"\n\n@interface iFStatusBarView : UIView\n\n@property (nonatomic, strong)iFCbperStatusView * cbs1perView;\n@...
71
10
{"language": "c", "success": true, "metadata": {"lines": 14, "avg_line_length": 26.29, "nodes": 48, "errors": 0, "source_hash": "397c985c369125ac6b660cea4bf1d2330854733e1a9772e48326326f266a2edf", "categorized_nodes": 24}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "UIKit/UIK...
11,644
c
/* * CDDL HEADER START * * The contents of this file are subject to the terms of the * Common Development and Distribution License (the "License"). * You may not use this file except in compliance with the License. * * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE * or http://www.opensolar...
20.21
190
(translation_unit) "/*\n * CDDL HEADER START\n *\n * The contents of this file are subject to the terms of the\n * Common Development and Distribution License (the "License").\n * You may not use this file except in compliance with the License.\n *\n * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE...
851
7
{"language": "c", "success": true, "metadata": {"lines": 190, "avg_line_length": 20.21, "nodes": 521, "errors": 0, "source_hash": "434d6b8d9bcbf60cc18d6bc1560b25c400df7531cb0897f64773cc69a0c44d58", "categorized_nodes": 361}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragm...
11,645
c
#pragma once #include <memory> #include <map> #include <atomic> #include "mavlink_include.h" #include "plugins/geofence/geofence.h" #include "plugin_impl_base.h" #include "system.h" namespace dronecode_sdk { class GeofenceImpl : public PluginImplBase { public: GeofenceImpl(System &system); ~GeofenceImpl(); ...
41.74
39
(translation_unit) "#pragma once\n\n#include <memory>\n#include <map>\n#include <atomic>\n\n#include "mavlink_include.h"\n#include "plugins/geofence/geofence.h"\n#include "plugin_impl_base.h"\n#include "system.h"\n\nnamespace dronecode_sdk {\n\nclass GeofenceImpl : public PluginImplBase {\npublic:\n GeofenceImpl(Sys...
393
22
{"language": "c", "success": true, "metadata": {"lines": 39, "avg_line_length": 41.74, "nodes": 224, "errors": 0, "source_hash": "9a7576525ff9b1bbc866ac8daf1655161e429312711390d24a42d946074eae4e", "categorized_nodes": 148}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
11,646
c
/* * Copyright 2016-2021, Cypress Semiconductor Corporation (an Infineon company) or * an affiliate of Cypress Semiconductor Corporation. All rights reserved. * * This software, including source code, documentation and related * materials ("Software") is owned by Cypress Semiconductor Corporation * or one of its...
33.01
264
(translation_unit) "/*\n * Copyright 2016-2021, Cypress Semiconductor Corporation (an Infineon company) or\n * an affiliate of Cypress Semiconductor Corporation. All rights reserved.\n *\n * This software, including source code, documentation and related\n * materials ("Software") is owned by Cypress Semiconductor Cor...
1,143
0
{"language": "c", "success": true, "metadata": {"lines": 264, "avg_line_length": 33.01, "nodes": 626, "errors": 0, "source_hash": "daa7d5de0cbf95a9a7b8935c9d52fb44b2cecf3f663ddeedef0bf8386e17db7f", "categorized_nodes": 519}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
11,647
c
/* upper_case.c Converts all letters in a string to upper case. Written by <NAME> on Thursday January 10, 2019. */ #ifndef _UPPER_CASE_C #define _UPPER_CASE_C #include <errno.h> #ifndef EINVAL #define EINVAL 22 #endif /* This function converts all lower case letters in a string to upper ...
21.54
41
(translation_unit) "/*\n\n upper_case.c\n Converts all letters in a string to upper case.\n Written by <NAME> on Thursday January 10, 2019.\n\n*/\n\n#ifndef _UPPER_CASE_C\n#define _UPPER_CASE_C\n\n#include <errno.h>\n\n#ifndef EINVAL\n#define EINVAL 22\n#endif\n\n/*\n\n This function converts all lower ...
167
0
{"language": "c", "success": true, "metadata": {"lines": 41, "avg_line_length": 21.54, "nodes": 104, "errors": 0, "source_hash": "f716ce6fb5b54666cbca2ddec0a6be8dd03907913c85ea8219b323256ece02bb", "categorized_nodes": 74}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
11,648
c
#pragma once #include "./ThreadsMessageDefine.h" class ThreadsMessageApi : public IThreadsMessage { public: virtual string wait(); virtual void notify(string&& message); virtual void notifyAll(string&& message); virtual void init(); virtual void release(); ThreadsMessageApi(); ~ThreadsMessageApi(); ThreadsMess...
26.47
19
(translation_unit) "#pragma once\n#include "./ThreadsMessageDefine.h"\nclass ThreadsMessageApi : public IThreadsMessage\n{\npublic:\n virtual string wait();\n\n virtual void notify(string&& message);\n virtual void notifyAll(string&& message);\n virtual void init();\n virtual void release();\n ThreadsMessageApi();\n ~T...
159
7
{"language": "c", "success": true, "metadata": {"lines": 19, "avg_line_length": 26.47, "nodes": 96, "errors": 0, "source_hash": "d2d5985a7b7155797568fcec070a939609d423dfe5cc421c3465c9bb410d51c2", "categorized_nodes": 68}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
11,649
c
#ifndef __FLOAT_16__ #define __FLOAT_16__ #include <stdint.h> /* data type for storing float16s */ typedef union { struct { uint16_t sign : 1; uint16_t exponent : 5; uint16_t mantissa: 10; } number; struct { uint8_t msw; uint8_t lsw; } words; uint16_t bits; } _float16_shape_type; #ifdef __cplusplu...
14.81
27
(translation_unit) "#ifndef __FLOAT_16__\n#define __FLOAT_16__\n\n#include <stdint.h>\n\n/* data type for storing float16s */\ntypedef union\n{\n struct\n {\n uint16_t sign : 1;\n uint16_t exponent : 5;\n uint16_t mantissa: 10;\n } number;\n\n struct\n {\n uint8_t msw;\n uint8_t lsw;\n } words;\n\n uint16_t bits;\...
100
0
{"language": "c", "success": true, "metadata": {"lines": 27, "avg_line_length": 14.81, "nodes": 68, "errors": 0, "source_hash": "bdb3c2d215cc366647d404ab1c22da7fffd1ccdfa128eaf5e4abd45f80b66afd", "categorized_nodes": 55}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
11,650
c
// // Created by guozhenxiong on 2021-10-30. // #ifndef SHOWMAKER_DIAGNOSTICABLE_H #define SHOWMAKER_DIAGNOSTICABLE_H #include "diagnostic_properties_builder.h" namespace sm { class Diagnosticable { public: protected: virtual void DebugFillProperties(DiagnosticPropertiesBuilder* properties) { } private: }; } // ...
23.4
15
(translation_unit) "//\n// Created by guozhenxiong on 2021-10-30.\n//\n\n#ifndef SHOWMAKER_DIAGNOSTICABLE_H\n#define SHOWMAKER_DIAGNOSTICABLE_H\n\n#include "diagnostic_properties_builder.h"\n\nnamespace sm {\nclass Diagnosticable {\npublic:\nprotected:\n virtual void DebugFillProperties(DiagnosticPropertiesBuilder* ...
56
3
{"language": "c", "success": true, "metadata": {"lines": 15, "avg_line_length": 23.4, "nodes": 30, "errors": 0, "source_hash": "599eddac7562d18f7c0af36883f9c156c4f5ffaf90df8eb4d5776d43d71a32c3", "categorized_nodes": 19}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "#ifndef SHOWMAKER...
11,651
c
/** * Copyright (c) 2015 - 2017, Nordic Semiconductor ASA * * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright...
29.97
183
(translation_unit) "/** \n * Copyright (c) 2015 - 2017, Nordic Semiconductor ASA \n * \n * All rights reserved. \n * \n * Redistribution and use in source and binary forms, with or without modification, \n * are permitted provided that the following conditions are met: \n * \n * 1. Redistributions of source code mus...
608
1
{"language": "c", "success": true, "metadata": {"lines": 183, "avg_line_length": 29.97, "nodes": 377, "errors": 0, "source_hash": "78eff86c6f9df42a993916b1e93ee9d487a6424d5e7b784cc372c6140ebbf6ac", "categorized_nodes": 272}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
11,652
c
// // Generated by classdumpios 1.0.1 (64 bit) (iOS port by DreamDevLost)(Debug version compiled Sep 26 2020 13:48:20). // // Copyright (C) 1997-2019 <NAME>. // #import <objc/NSObject.h> @class AASetupAssistantConfigResponse; @protocol OS_dispatch_queue; @interface BuddyAppleIDConfigurationManager : NSObject { ...
42.1
21
(translation_unit) "//\n// Generated by classdumpios 1.0.1 (64 bit) (iOS port by DreamDevLost)(Debug version compiled Sep 26 2020 13:48:20).\n//\n// Copyright (C) 1997-2019 <NAME>.\n//\n\n#import <objc/NSObject.h>\n\n@class AASetupAssistantConfigResponse;\n@protocol OS_dispatch_queue;\n\n@interface BuddyAppleIDCon...
144
13
{"language": "c", "success": true, "metadata": {"lines": 21, "avg_line_length": 42.1, "nodes": 84, "errors": 0, "source_hash": "fb4ca59b538ef76d07a010da4e82cffd72668a75f9a1097730f832f8f19c3c52", "categorized_nodes": 51}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <o...
11,653
c
// There is no structured exits but there is one unstructured exit // due to the break. void main(){ int i,found; int x1,x2,x3,x4; i=0; /*IN*/ while(1) /*IN*/ { if /*IN*/ (i==10) { x2=x1; /*IN*/; x3=x2; /*IN*/; x4=x3; /*IN*/; found=x4 /*IN*/; break; /*IN*/} /*el...
19.47
19
(translation_unit) "// There is no structured exits but there is one unstructured exit\n// due to the break.\n\nvoid main(){\n int i,found;\n int x1,x2,x3,x4; \n i=0; /*IN*/\n while(1) /*IN*/ {\n if /*IN*/ (i==10) {\n x2=x1; /*IN*/;\n x3=x2; /*IN*/;\n x4=x3; /*IN*/;\n found=x4 /*IN*/; ...
116
0
{"language": "c", "success": true, "metadata": {"lines": 19, "avg_line_length": 19.47, "nodes": 54, "errors": 0, "source_hash": "09438272fe99db472c9c7fc41d0a37c8989a8d45d027194c55d74ef9c121deb5", "categorized_nodes": 40}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "function_definition", "text": "vo...
11,654
c
#pragma once #include "ScriptableObject.h" #include "Model.h" #include "EnemyWeapon.h" enum EnemyAnimationType { EnemyAnimationIdle, EnemyAnimationRun, EnemyAnimationAttack, EnemyAnimationDeath }; class Enemy : public ScriptableObject { friend class Village; public: Enemy(); ~Enemy(); std::shared_ptr<Transf...
21
40
(translation_unit) "#pragma once\n#include "ScriptableObject.h"\n#include "Model.h"\n#include "EnemyWeapon.h"\n\nenum EnemyAnimationType\n{\n EnemyAnimationIdle,\n EnemyAnimationRun,\n EnemyAnimationAttack,\n EnemyAnimationDeath\n};\n\nclass Enemy : public ScriptableObject\n{\n friend class Village;\n\npublic:\n Enemy(...
248
8
{"language": "c", "success": true, "metadata": {"lines": 40, "avg_line_length": 21.0, "nodes": 165, "errors": 0, "source_hash": "5d231864f382af638404e8af92cf1cc0a9db95ce715872367d57868ccf02e905", "categorized_nodes": 104}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma ...
11,655
c
// // Generated by the J2ObjC translator. DO NOT EDIT! // source: android/libcore/luni/src/main/java/java/lang/reflect/GenericArrayType.java // #include "../../../J2ObjC_header.h" #pragma push_macro("INCLUDE_ALL_JavaLangReflectGenericArrayType") #ifdef RESTRICT_JavaLangReflectGenericArrayType #define INCLUDE_ALL_J...
39.24
42
(translation_unit) "//\n// Generated by the J2ObjC translator. DO NOT EDIT!\n// source: android/libcore/luni/src/main/java/java/lang/reflect/GenericArrayType.java\n//\n\n#include "../../../J2ObjC_header.h"\n\n#pragma push_macro("INCLUDE_ALL_JavaLangReflectGenericArrayType")\n#ifdef RESTRICT_JavaLangReflectGenericArr...
126
7
{"language": "c", "success": true, "metadata": {"lines": 42, "avg_line_length": 39.24, "nodes": 96, "errors": 0, "source_hash": "58156fbce845d0f000de32267b06c377ff3aa63a5df4130fbf0dd0c622f53f3a", "categorized_nodes": 47}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
11,656
c
#include <stdio.h> #include <stdint.h> #include <limits.h> int main() { printf("%llu %llu %llu\n", INT_MAX, UINT_MAX, LONG_MAX); printf("%llu\n", 52437589423594); return 0; }
21.62
8
(translation_unit) "#include <stdio.h>\n#include <stdint.h>\n#include <limits.h>\n\nint main() {\n printf("%llu %llu %llu\n", INT_MAX, UINT_MAX, LONG_MAX);\n printf("%llu\n", 52437589423594);\n return 0;\n}\n" (preproc_include) "#include <stdio.h>\n" (#include) "#include" (system_lib_string) "<stdio.h>" ...
56
0
{"language": "c", "success": true, "metadata": {"lines": 8, "avg_line_length": 21.62, "nodes": 30, "errors": 0, "source_hash": "3c90a4ad25026d6acb596eff589b5c4fdf7738282695a00d0be74c37947dd740", "categorized_nodes": 24}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#includ...
11,657
c
#ifndef MATRIX_TEST_MATRIX_BLAS_H #define MATRIX_TEST_MATRIX_BLAS_H #include "slab/matrix.h" namespace slab { TEST(BLASL1Test, ASUM) { vec v = {1, 2, 3}; EXPECT_EQ(6, blas_asum(v)); } TEST(BLASL1Test, AXPY) { double a = 9.0; vec x = {1, 2, 3}; vec y = {1, 2, 3}; blas_axpy(a, x, y); EXPECT_EQ(10, y(0...
27.21
175
(translation_unit) "#ifndef MATRIX_TEST_MATRIX_BLAS_H\n#define MATRIX_TEST_MATRIX_BLAS_H\n\n#include "slab/matrix.h"\n\nnamespace slab {\n\nTEST(BLASL1Test, ASUM) {\n vec v = {1, 2, 3};\n EXPECT_EQ(6, blas_asum(v));\n}\n\nTEST(BLASL1Test, AXPY) {\n double a = 9.0;\n vec x = {1, 2, 3};\n vec y = {1, 2, 3};\n\n bla...
2,769
74
{"language": "c", "success": true, "metadata": {"lines": 175, "avg_line_length": 27.21, "nodes": 1567, "errors": 0, "source_hash": "88983a2d29bdd7143399526c411bf52e6f2cd0c1a79be30dae634d2cf163fa75", "categorized_nodes": 1212}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#if...
11,658
c
// // QSFilter.h // Azure Activity Logger // #ifndef chrandeiOSDotnet_QSFilter_h #define chrandeiOSDotnet_QSFilter_h #import <WindowsAzureMobileServices/WindowsAzureMobileServices.h> #import <Foundation/Foundation.h> @interface QSFilter : NSObject <MSFilter> @property (nonatomic, strong) MSClient *client; @end...
25.92
12
(translation_unit) "//\n// QSFilter.h\n// Azure Activity Logger\n//\n\n#ifndef chrandeiOSDotnet_QSFilter_h\n#define chrandeiOSDotnet_QSFilter_h\n\n#import <WindowsAzureMobileServices/WindowsAzureMobileServices.h>\n#import <Foundation/Foundation.h>\n\n@interface QSFilter : NSObject <MSFilter>\n\n@property (nonatomic, ...
46
6
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 25.92, "nodes": 35, "errors": 0, "source_hash": "b4a46d156d277ab6a240d019a158f58ab928dc012f4767d186c7c2f7ffd4d1bd", "categorized_nodes": 18}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
11,659
c
#include "game_loop.h" #include "assert.h" #include "gamepad.h" #include "vdp_print.h" #include "vram_command_queue.h" #include "palette_buffer.h" #include "music.h" #include "camera.h" #include "camera_init.h" #include "level_loading.h" #include "sprite_text.h" #include "hero.h" #include "debug_playfield.h" #include "...
32.22
129
(translation_unit) "#include "game_loop.h"\n#include "assert.h"\n#include "gamepad.h"\n#include "vdp_print.h"\n#include "vram_command_queue.h"\n#include "palette_buffer.h"\n#include "music.h"\n#include "camera.h"\n#include "camera_init.h"\n#include "level_loading.h"\n#include "sprite_text.h"\n#include "hero.h"\n#includ...
911
0
{"language": "c", "success": true, "metadata": {"lines": 129, "avg_line_length": 32.22, "nodes": 532, "errors": 0, "source_hash": "0f673057633ab3d7ce50b6bf4bbcafa2475fdd1a31ec4feaa573e84b08473f2e", "categorized_nodes": 387}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
11,660
c
#include "fast_sodium_current.h" // fast_sodium_current Initialisation function void FastSodiumCurrentInit(FastSodiumCurrent* me) { // Initialise State me->state = FAST_SODIUM_CURRENT_Q0; // Initialise Outputs me->i_na = 0.0; me->time_private = 0.0; me->v_private = 0.0; // Initialise Inte...
30.84
49
(translation_unit) "#include "fast_sodium_current.h"\n\n// fast_sodium_current Initialisation function\nvoid FastSodiumCurrentInit(FastSodiumCurrent* me) {\n // Initialise State\n me->state = FAST_SODIUM_CURRENT_Q0;\n\n // Initialise Outputs\n me->i_na = 0.0;\n me->time_private = 0.0;\n me->v_private ...
376
0
{"language": "c", "success": true, "metadata": {"lines": 49, "avg_line_length": 30.84, "nodes": 251, "errors": 0, "source_hash": "3fba93a49d4106f072c8112ab2fb4e38da8f6baa54bf980c1a8ab6b1c9784163", "categorized_nodes": 192}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
11,661
c
#ifndef SAYDX_TREEWALKER_H #define SAYDX_TREEWALKER_H #include "msdparser.h" #include "treebuilder.h" typedef struct { eventhandler_t eventhandler; } treewalkerinp_t; typedef struct { eventhandler_t eventhandler; } treewalker_t; void treewalker_init(treewalker_t *this, treewalkerinp_t *input); void treewalk...
29.43
14
(translation_unit) "#ifndef SAYDX_TREEWALKER_H\n#define SAYDX_TREEWALKER_H\n\n#include "msdparser.h"\n#include "treebuilder.h"\n\ntypedef struct {\n eventhandler_t eventhandler;\n} treewalkerinp_t;\n\ntypedef struct {\n eventhandler_t eventhandler;\n} treewalker_t;\n\nvoid treewalker_init(treewalker_t *this, tree...
101
0
{"language": "c", "success": true, "metadata": {"lines": 14, "avg_line_length": 29.43, "nodes": 72, "errors": 0, "source_hash": "fc647fa553a576cb17e2082e9ef14d2940991d60ea154040287aa8b981956f11", "categorized_nodes": 51}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
11,662
c
// // ZWWCommonTestTableViewController.h // InterviewDemo // // Created by Jolly on 2018/10/8. // Copyright © 2018年 mac. All rights reserved. // #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @interface ZWWCommonTestTableViewController : UITableViewController @end NS_ASSUME_NONNULL_END
23.33
12
(translation_unit) "//\n// ZWWCommonTestTableViewController.h\n// InterviewDemo\n//\n// Created by Jolly on 2018/10/8.\n// Copyright © 2018年 mac. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\nNS_ASSUME_NONNULL_BEGIN\n\n@interface ZWWCommonTestTableViewController : UITableViewController\n\n@end\n\nNS_ASSUME...
27
4
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 23.33, "nodes": 16, "errors": 0, "source_hash": "dc89e8bb3f328403a89b2fd21b96232d53d177ba0598b5d43fccfba01a62bd37", "categorized_nodes": 9}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "port <UIKi...
11,663
c
/** * Copyright (C) 2011, 2012, 2013 CentecNetworks, Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at: * * http://www.apache.org/licenses/LICENSE-2.0 * ...
22.87
221
(translation_unit) "/**\n * Copyright (C) 2011, 2012, 2013 CentecNetworks, Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at:\n *\n * http://www.apache.or...
1,296
0
{"language": "c", "success": true, "metadata": {"lines": 221, "avg_line_length": 22.87, "nodes": 807, "errors": 0, "source_hash": "72f4c7307c90c23385ef49125e7422609499da601f68e0bea1711e762ce70ecd", "categorized_nodes": 581}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
11,664
c
#ifndef _COFFEE_PLAYER_INCLUDES_H_ #define _COFFEE_PLAYER_INCLUDES_H_ // Here is the list of all preprocessor definitions available: /// @def COFFEE_PLAYER /// @brief Compiling in DLL import mode //-IMPORT-EXPORT----------------------------------------------------------------------------------// #ifndef COFFEE_PLAYE...
36.04
24
(translation_unit) "#ifndef _COFFEE_PLAYER_INCLUDES_H_\n#define _COFFEE_PLAYER_INCLUDES_H_\n\n// Here is the list of all preprocessor definitions available:\n\n/// @def COFFEE_PLAYER\n/// @brief Compiling in DLL import mode\n\n//-IMPORT-EXPORT-----------------------------------------------------------------------------...
66
1
{"language": "c", "success": true, "metadata": {"lines": 24, "avg_line_length": 36.04, "nodes": 56, "errors": 0, "source_hash": "572e725af63c39abeb7e7af2f98fe7e7fb33e17fb0feebd8bde755c605c72d71", "categorized_nodes": 28}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
11,665
c
/* * Copyright (C) 2014, Galois, Inc. * This sotware is distributed under a standard, three-clause BSD license. * Please see the file LICENSE, distributed with this software, for specific * terms and conditions. */ #include <stdio.h> #include <stdarg.h> int printf(const char *format, ...) { va_list args; int...
23.88
17
(translation_unit) "/* \n * Copyright (C) 2014, Galois, Inc.\n * This sotware is distributed under a standard, three-clause BSD license.\n * Please see the file LICENSE, distributed with this software, for specific\n * terms and conditions.\n */\n#include <stdio.h>\n#include <stdarg.h>\n\nint printf(const char *format,...
73
0
{"language": "c", "success": true, "metadata": {"lines": 17, "avg_line_length": 23.88, "nodes": 42, "errors": 0, "source_hash": "b45ed11e82f361ae607078ce82ac4dac6ba1ff2b00531c779051b94de512d29f", "categorized_nodes": 32}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
11,666
c
/* QJsonPhoneme.h from libstand http://github.com/qtau-devgroup/libstand by Hal@shurabaP, BSD license */ #ifndef QJSONPHONEME_H #define QJSONPHONEME_H #include <QJsonValue> #include <QSharedPointer> namespace stand { class Phoneme; QJsonValue operator <<(QJsonValue &left, const Phoneme &phoneme); QSharedPointer<Pho...
33.75
12
(translation_unit) "/* QJsonPhoneme.h from libstand http://github.com/qtau-devgroup/libstand by Hal@shurabaP, BSD license */\n#ifndef QJSONPHONEME_H\n#define QJSONPHONEME_H\n#include <QJsonValue>\n#include <QSharedPointer>\n\nnamespace stand\n{\n\nclass Phoneme;\n\nQJsonValue operator <<(QJsonValue &left, const Phoneme...
77
4
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 33.75, "nodes": 52, "errors": 0, "source_hash": "0c3d4ac5f71e65c878bdfdaedcd0b2df7cf41365bab90bc827b396c16cb7d81b", "categorized_nodes": 40}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
11,667
c
/* $OpenBSD: hostfile.h,v 1.15 2005/03/01 10:40:26 djm Exp $ */ /* * Author: <NAME> <<EMAIL>> * Copyright (c) 1995 <NAME> <<EMAIL>>, Espoo, Finland * All rights reserved * * As far as I am concerned, the code I have written for this software * can be used freely for any purpose. Any derived v...
38.59
27
(translation_unit) "/* $OpenBSD: hostfile.h,v 1.15 2005/03/01 10:40:26 djm Exp $ */\n\n/*\n * Author: <NAME> <<EMAIL>>\n * Copyright (c) 1995 <NAME> <<EMAIL>>, Espoo, Finland\n * All rights reserved\n *\n * As far as I am concerned, the code I have written for this software\n * can be used freely for...
191
0
{"language": "c", "success": true, "metadata": {"lines": 27, "avg_line_length": 38.59, "nodes": 132, "errors": 0, "source_hash": "f76f10ad52a20f94a2ad2189b7881076199499415659b645f12a6fac4f3db543", "categorized_nodes": 63}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
11,668
c
#include <stdlib.h> #include <stdbool.h> #include <stdio.h> #include <assert.h> #include <string.h> #include "test_interpreter.h" #include "../src/interpreter.c" #define ANSI_COLOR_RESET "\x1b[0m" #define ANSI_COLOR_GREEN "\x1b[32m" #define NUM_TESTS 16 // Delegates typedef void (*Test)(void); // Environment S...
21.74
268
(translation_unit) "#include <stdlib.h>\n#include <stdbool.h>\n#include <stdio.h>\n#include <assert.h>\n#include <string.h>\n\n\n#include "test_interpreter.h"\n#include "../src/interpreter.c"\n\n\n#define ANSI_COLOR_RESET "\x1b[0m"\n#define ANSI_COLOR_GREEN "\x1b[32m"\n#define NUM_TESTS 16\n\n\n// Delegates\n\ntypedef ...
1,906
0
{"language": "c", "success": true, "metadata": {"lines": 268, "avg_line_length": 21.74, "nodes": 1003, "errors": 0, "source_hash": "58a6c0de4dbf6355b3b0c210a051c9d078bd4a588d32788d08e1e6b9f5b2279d", "categorized_nodes": 695}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#i...
11,669
c
// KernelInvocation.h (Oclgrind) // Copyright (c) 2013-2019, <NAME> and <NAME>, // University of Bristol. All rights reserved. // // This program is provided under a three-clause BSD license. For full // license terms please see the LICENSE file distributed with this // source code. #include "common.h" namespace oclg...
29.58
52
(translation_unit) "// KernelInvocation.h (Oclgrind)\n// Copyright (c) 2013-2019, <NAME> and <NAME>,\n// University of Bristol. All rights reserved.\n//\n// This program is provided under a three-clause BSD license. For full\n// license terms please see the LICENSE file distributed with this\n// source code.\n\n#includ...
345
8
{"language": "c", "success": true, "metadata": {"lines": 52, "avg_line_length": 29.58, "nodes": 204, "errors": 0, "source_hash": "58110841757485d57fa52561f725b486366730b7e522a9c2029b02aa4b534431", "categorized_nodes": 141}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
11,670
c
#ifndef _tool_h #define _tool_h #include <stdio.h> #include <stdlib.h> #include <iostream> #include <cmath> #include <ctime> #include <unistd.h> #include <vector> #include "defines.h" #include "WhichStack.h" #include "Rule.h" #include "Data.h" #define TotalMitigations 99 #define RunTotal 100 struct Components { f...
22.55
29
(translation_unit) "#ifndef _tool_h\n#define _tool_h\n\n#include <stdio.h>\n#include <stdlib.h>\n#include <iostream>\n#include <cmath>\n#include <ctime>\n#include <unistd.h>\n#include <vector>\n#include "defines.h"\n#include "WhichStack.h"\n#include "Rule.h"\n#include "Data.h"\n\n#define TotalMitigations 99 \n#define R...
209
0
{"language": "c", "success": true, "metadata": {"lines": 29, "avg_line_length": 22.55, "nodes": 155, "errors": 0, "source_hash": "e7ebd74c0e1c5a846c1cdc842bd442ca96c6a468892c3528beb3570c9c292c32", "categorized_nodes": 102}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
11,671
c
#include <stdio.h> #include <string.h> #include <sys/mman.h> #include <sys/stat.h> #include <fcntl.h> #include <unistd.h> #include <sys/types.h> #define SHMEM_NAME "/isel.so.shm.example01" int main() { puts(":: STARTED ::"); printf("> Opening the shared memory object named \"%s\"\n", SHMEM_NAME); i...
24.35
48
(translation_unit) "#include <stdio.h> \n#include <string.h> \n#include <sys/mman.h> \n#include <sys/stat.h> \n#include <fcntl.h> \n#include <unistd.h> \n#include <sys/types.h> \n \n#define SHMEM_NAME "/isel.so.shm.example01" \n \nint main() { \n puts(":: STARTED ::"); \n \n printf("> Opening the shared memory object ...
333
0
{"language": "c", "success": true, "metadata": {"lines": 48, "avg_line_length": 24.35, "nodes": 177, "errors": 0, "source_hash": "f585284fe85657c78d432dc5c6fc18fb408cccc64434c34aea97fe12af0cf65b", "categorized_nodes": 132}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
11,672
c
#include <stdint.h> #include <stdlib.h> #include "blake3.h" uint16_t UncleBlake3_KEY_LEN() { return (BLAKE3_KEY_LEN); } uint16_t UncleBlake3_OUT_LEN() { return (BLAKE3_OUT_LEN); } void * UncleBlake3_Init() { blake3_hasher *retVal = malloc(sizeof (blake3_hasher)); // TODO: check result blake3_hasher_init(retV...
34.61
33
(translation_unit) "#include <stdint.h>\n#include <stdlib.h>\n#include "blake3.h"\n\nuint16_t UncleBlake3_KEY_LEN() {\n return (BLAKE3_KEY_LEN);\n}\n\nuint16_t UncleBlake3_OUT_LEN() {\n return (BLAKE3_OUT_LEN);\n}\n\nvoid * UncleBlake3_Init() {\n blake3_hasher *retVal = malloc(sizeof (blake3_hasher)); // TODO: check...
320
0
{"language": "c", "success": true, "metadata": {"lines": 33, "avg_line_length": 34.61, "nodes": 193, "errors": 0, "source_hash": "fa7e4ea9478215f4a005c761a972b5c67080d3238fae692d5ad87d3c8c2a854f", "categorized_nodes": 120}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
11,673
c
#pragma once #include "minsk/analysis/symbol.h" typedef struct { variable_symbol_t* data; size_t length; size_t capacity; } variable_symbol_vector_t; void variable_symbol_vector_init(variable_symbol_vector_t* vector); void variable_symbol_vector_push( variable_symbol_vector_t* vector, variable_symbol_t val...
34.45
11
(translation_unit) "#pragma once\n\n#include "minsk/analysis/symbol.h"\n\ntypedef struct {\n variable_symbol_t* data;\n size_t length;\n size_t capacity;\n} variable_symbol_vector_t;\n\nvoid variable_symbol_vector_init(variable_symbol_vector_t* vector);\nvoid variable_symbol_vector_push(\n variable_symbol_vector_...
76
0
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 34.45, "nodes": 55, "errors": 0, "source_hash": "7e244c9e39ec4ab43f0004ae3d31931e945cc2df028145e9f077b3e4dbde239e", "categorized_nodes": 36}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
11,674
c
// // RuntimeCircleStylesExample.h // Examples // // Created by <NAME> on 11/30/16. // Copyright © 2016 Mapbox. All rights reserved. // #import <UIKit/UIKit.h> @interface RuntimeCircleStylesExample : UIViewController @end
21.6
10
(translation_unit) "//\n// RuntimeCircleStylesExample.h\n// Examples\n//\n// Created by <NAME> on 11/30/16.\n// Copyright © 2016 Mapbox. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface RuntimeCircleStylesExample : UIViewController\n\n@end\n" (comment) "//" (comment) "// RuntimeCircleStylesExa...
19
3
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 21.6, "nodes": 9, "errors": 0, "source_hash": "c05f44893b3cf48a6ed7e905a3710087b99cc001b51c21b689766a45c361223c", "categorized_nodes": 5}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <UIKi...
11,675
c
#include <condition_variable> #include <mutex> // Any threads that called Wait(a_count) will be woken after a_count Notify() calls. class CountLatch { public: CountLatch() : m_count(0) { } // releases any threads waiting, and resets the count of notifications void Reset() { std::unique_lock...
16.95
42
(translation_unit) "#include <condition_variable> \n#include <mutex> \n \n// Any threads that called Wait(a_count) will be woken after a_count Notify() calls. \nclass CountLatch \n{ \npublic: \n \n CountLatch() \n : m_count(0) \n { \n } \n \n // releases any threads waiting, and resets the count of notifications \n vo...
214
6
{"language": "c", "success": true, "metadata": {"lines": 42, "avg_line_length": 16.95, "nodes": 120, "errors": 0, "source_hash": "6e15b93cafff6fc3a31ffc2c1b422d4e59f74e0e2591b246f80b19da435b1816", "categorized_nodes": 84}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
11,676
c
// // HBBridgeHandler.h // HBWebView // // Created by <NAME> on 2017/9/12. // Copyright © 2017年 Original. All rights reserved. // #import <Foundation/Foundation.h> @interface HBBridgeHandler : NSObject - (instancetype)initWithWebview:(id)webview NS_DESIGNATED_INITIALIZER; @end
24.64
11
(translation_unit) "//\n// HBBridgeHandler.h\n// HBWebView\n//\n// Created by <NAME> on 2017/9/12.\n// Copyright © 2017年 Original. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n\n@interface HBBridgeHandler : NSObject\n\n- (instancetype)initWithWebview:(id)webview NS_DESIGNATED_INITIALIZER;\n\n@end\...
39
5
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 24.64, "nodes": 22, "errors": 0, "source_hash": "b10b9ad8fe4b6133ecf0a9a3624617f7c69d473dc1551c55822ebcbfe7d350ec", "categorized_nodes": 13}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "port <Fou...
11,677
c
#include <lua5.3/lua.h> #include <lua5.3/lauxlib.h> #include <lua5.3/lualib.h> #include "hello.luac.h" void hello_lua() { lua_State *L = luaL_newstate(); luaL_openlibs(L); luaL_loadbuffer(L, hello_luac, hello_luac_len, "hello.lua"); lua_pcall(L, 0, 0, 0); lua_getglobal(L, "hello_lua"); lua_pca...
26.23
13
(translation_unit) "#include <lua5.3/lua.h>\n#include <lua5.3/lauxlib.h>\n#include <lua5.3/lualib.h>\n\n#include "hello.luac.h"\n\nvoid hello_lua() {\n lua_State *L = luaL_newstate();\n luaL_openlibs(L);\n luaL_loadbuffer(L, hello_luac, hello_luac_len, "hello.lua");\n lua_pcall(L, 0, 0, 0);\n lua_getglob...
113
0
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 26.23, "nodes": 61, "errors": 0, "source_hash": "bb975b86ab7a08a4625f34b415d8a909e41a08ecee3b011f648a14f0f07296f0", "categorized_nodes": 48}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
11,678
c
// // BaseTableViewController.h // EHome // // Created by Lifee on 2018/7/16. // Copyright © 2018年 zhongnan. All rights reserved. // #import "BaseViewController.h" #import <DZNEmptyDataSet/UIScrollView+EmptyDataSet.h> typedef NS_ENUM(NSUInteger, NODATA_TYPE) { NODATA_TYPE_EMPTY, NODATA_TYPE_NOMORE }; type...
30.23
31
(translation_unit) "//\n// BaseTableViewController.h\n// EHome\n//\n// Created by Lifee on 2018/7/16.\n// Copyright © 2018年 zhongnan. All rights reserved.\n//\n\n#import "BaseViewController.h"\n#import <DZNEmptyDataSet/UIScrollView+EmptyDataSet.h>\n\ntypedef NS_ENUM(NSUInteger, NODATA_TYPE) {\n NODATA_TYPE_EMPTY...
199
22
{"language": "c", "success": true, "metadata": {"lines": 31, "avg_line_length": 30.23, "nodes": 126, "errors": 0, "source_hash": "78a0fdafc44384fe1510c47ae10cdc146e4703444ffcd90c64f7f9d8df75ccd1", "categorized_nodes": 72}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "port \"B...
11,679
c
// // UIButton+Lhkh.h // UEHTML // // Created by LHKH on 2017/10/2. // Copyright © 2017年 LHKH. All rights reserved. // #import <UIKit/UIKit.h> @interface UIButton (Lhkh) /// 更改图片和文字位置 - (void)changeImageAndTitle; /// 图片文字居中 /// @param space 图片和文字之间的距离 - (void)centerImageAndTitleWithSpace:(float)space; /// 加载一张网...
22.74
19
(translation_unit) "//\n// UIButton+Lhkh.h\n// UEHTML\n//\n// Created by LHKH on 2017/10/2.\n// Copyright © 2017年 LHKH. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface UIButton (Lhkh)\n\n/// 更改图片和文字位置\n- (void)changeImageAndTitle;\n/// 图片文字居中\n/// @param space 图片和文字之间的距离\n- (void)centerImageAndTit...
79
7
{"language": "c", "success": true, "metadata": {"lines": 19, "avg_line_length": 22.74, "nodes": 43, "errors": 0, "source_hash": "5ff4d34d618e92435325f1bda8e62188bb7d6f41872200de81ee8d46c53b0e2b", "categorized_nodes": 22}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "port <UIK...
11,680
c
/* * <NAME> * Graduates Computer Engineer * Villanova University Class '10 * * ECE 8743: OSP * Assignment X Problem #X * * Template C program */ #include <stdio.h> #include <stdlib.h> #include <errno.h> void err_check(int err){/* ERROR CATCHING */ char err_msg[100]; sprintf(err_msg, "\nAn error occured...
15.33
39
(translation_unit) "/*\n* <NAME>\n* Graduates Computer Engineer\n* Villanova University Class '10\n*\n* ECE 8743: OSP\n* Assignment X Problem #X\n*\n* Template C program\n*/\n \n#include <stdio.h>\n#include <stdlib.h>\n#include <errno.h>\n \n \nvoid err_check(int err){/* ERROR CATCHING */\n char err_msg[100];\n \...
117
0
{"language": "c", "success": true, "metadata": {"lines": 39, "avg_line_length": 15.33, "nodes": 61, "errors": 0, "source_hash": "7e1b8e97f0cce6a48d81f420892257ff720e3ab9074034beac65da4f4a3e50bf", "categorized_nodes": 46}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
11,681
c
// // NSString+ZREXtention.h // Shuzic // // Created by 黄武杰 on 2017/6/28. // Copyright © 2017年 深圳跨港通国际贸易有限公司. All rights reserved. // #import <Foundation/Foundation.h> #import "ZRBaseModel.h" #import "ZRBaseModel+ZRExtension.h" @interface NSString (ZREXtention) /* *获取本地当前时间戳 */ +(NSTimeInterval)getCurrentTime; ...
16.88
90
(translation_unit) "//\n// NSString+ZREXtention.h\n// Shuzic\n//\n// Created by 黄武杰 on 2017/6/28.\n// Copyright © 2017年 深圳跨港通国际贸易有限公司. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n#import "ZRBaseModel.h"\n#import "ZRBaseModel+ZRExtension.h"\n\n@interface NSString (ZREXtention)\n/*\n *获取本地当前时间戳\n *...
386
29
{"language": "c", "success": true, "metadata": {"lines": 90, "avg_line_length": 16.88, "nodes": 237, "errors": 0, "source_hash": "8ea9f0f7017e127dd909c2f850c97be6c4994e85a33b5e61afcf473575ad71fb", "categorized_nodes": 129}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import ...
11,682
c
/* * Multi2Sim * Copyright (C) 2012 <NAME> (<EMAIL>) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * ...
37.8
40
(translation_unit) "/*\n * Multi2Sim\n * Copyright (C) 2012 <NAME> (<EMAIL>)\n *\n * This program is free software; you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation; either version 2 of the License, or\n * (at your opt...
165
0
{"language": "c", "success": true, "metadata": {"lines": 40, "avg_line_length": 37.8, "nodes": 90, "errors": 0, "source_hash": "c5968546f7a1d2983db4259cf7fb829f4a3586be75aa40c85354db632b839906", "categorized_nodes": 77}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#includ...
11,683
c
#ifndef __TIM1_H #define __TIM1_H extern uint32_t Sys_Time; void InitTIM2(u8 psc,u16 arr); void InitTIM3(u8 psc,u16 arr); #endif
14.11
9
(translation_unit) "#ifndef __TIM1_H\n#define __TIM1_H\n\n\n \nextern uint32_t Sys_Time;\n\nvoid InitTIM2(u8 psc,u16 arr);\nvoid InitTIM3(u8 psc,u16 arr);\n\n\n#endif" (preproc_ifdef) "#ifndef __TIM1_H\n#define __TIM1_H\n\n\n \nextern uint32_t Sys_Time;\n\nvoid InitTIM2(u8 psc,u16 arr);\nvoid InitTIM3(u8 psc,u1...
44
0
{"language": "c", "success": true, "metadata": {"lines": 9, "avg_line_length": 14.11, "nodes": 34, "errors": 0, "source_hash": "ac8bb98b6b777aeccc3a232fdfaf5d225475c33eebd1cee86af88b553170c413", "categorized_nodes": 26}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef _...
11,684
c
/* # ============================================================================= # Copyright (c) 2015 - 2021 Blue Brain Project/EPFL # # See top-level LICENSE file for details. # =============================================================================. */ #pragma once #include "neurox.h" using namespace neurox;...
30.31
32
(translation_unit) "/*\n# =============================================================================\n# Copyright (c) 2015 - 2021 Blue Brain Project/EPFL\n#\n# See top-level LICENSE file for details.\n# =============================================================================.\n*/\n#pragma once\n#include "neurox...
194
4
{"language": "c", "success": true, "metadata": {"lines": 32, "avg_line_length": 30.31, "nodes": 110, "errors": 0, "source_hash": "cb6dc6e881ea62943c5dc32af86314408f6e7f85b3417a54826765db13259d06", "categorized_nodes": 69}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma ...
11,685
c
// // SUSystemProfiler.h // Sparkle // // Created by <NAME> on 12/22/07. // Copyright 2007 <NAME>. All rights reserved. // #ifndef SUSYSTEMPROFILER_H #define SUSYSTEMPROFILER_H #import <Foundation/Foundation.h> NS_ASSUME_NONNULL_BEGIN @class SUHost; @interface SUSystemProfiler : NSObject + (NSArray<NSDictionar...
23.82
17
(translation_unit) "//\n// SUSystemProfiler.h\n// Sparkle\n//\n// Created by <NAME> on 12/22/07.\n// Copyright 2007 <NAME>. All rights reserved.\n//\n\n#ifndef SUSYSTEMPROFILER_H\n#define SUSYSTEMPROFILER_H\n\n#import <Foundation/Foundation.h>\n\nNS_ASSUME_NONNULL_BEGIN\n\n@class SUHost;\n@interface SUSystemProfile...
75
10
{"language": "c", "success": true, "metadata": {"lines": 17, "avg_line_length": 23.82, "nodes": 53, "errors": 0, "source_hash": "240258394c1021931a62288fcf7cbc57da1a0b1b9bab1a5d064ea9b9ebc7e129", "categorized_nodes": 28}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
11,686
c
#pragma once namespace mm { constexpr unsigned int RAND_MAX = (1 << 31); struct uniform_generator { explicit uniform_generator(unsigned int seed = 1) : _next(seed) {} double next() { _next = (1103515245 * _next + 12345) % RAND_MAX; return _next / static_cas...
23.88
16
(translation_unit) "#pragma once\n\nnamespace mm\n{\n constexpr unsigned int RAND_MAX = (1 << 31);\n\n struct uniform_generator\n {\n explicit uniform_generator(unsigned int seed = 1) : _next(seed) {}\n\n double next()\n {\n _next = (1103515245 * _next + 12345) % RAND_MAX;\n ...
109
6
{"language": "c", "success": true, "metadata": {"lines": 16, "avg_line_length": 23.88, "nodes": 74, "errors": 0, "source_hash": "c85a6b2316d91ce9e4c5e2b6c140e0c02f2a4dcd1c57de9a3c426de6049e7927", "categorized_nodes": 45}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
11,687
c
#ifndef __NVM_INTERNAL_DIS_MAPPING_H__ #define __NVM_INTERNAL_DIS_MAPPING_H__ /* Forward declarations */ struct va_map; struct io_map; struct device; struct device_memory; struct local_memory; #ifdef _SISCI /* Make sure everything is defined as needed */ #ifndef __DIS_CLUSTER__ #define __DIS_CLUSTER__ #endif /* Ne...
27.45
130
(translation_unit) "#ifndef __NVM_INTERNAL_DIS_MAPPING_H__\n#define __NVM_INTERNAL_DIS_MAPPING_H__\n\n/* Forward declarations */\nstruct va_map;\nstruct io_map;\nstruct device;\nstruct device_memory;\nstruct local_memory;\n\n\n#ifdef _SISCI\n\n/* Make sure everything is defined as needed */\n#ifndef __DIS_CLUSTER__\n#d...
400
0
{"language": "c", "success": true, "metadata": {"lines": 130, "avg_line_length": 27.45, "nodes": 291, "errors": 0, "source_hash": "b0b7c606ed1390762fb44c004f5a703116913512ab66e2f2dafbaddc855039a7", "categorized_nodes": 220}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
11,688
c
/* Take a command line of options to perform rfile -- file to read wfile -- file to write e[command] -- command to execute sN -- sleep for N seconds f -- raise a failure */ #include <stdio.h> #include <string.h> #include <stdlib.h> #include <unistd.h> #if !defined _WIN32_WINNT #include <sys/wait.h> #end...
17.81
105
(translation_unit) "/* Take a command line of options to perform\n rfile -- file to read\n wfile -- file to write\n e[command] -- command to execute\n sN -- sleep for N seconds\n f -- raise a failure\n*/\n\n#include <stdio.h>\n#include <string.h>\n#include <stdlib.h>\n#include <unistd.h>\n#if !defined _WIN32_...
808
0
{"language": "c", "success": true, "metadata": {"lines": 105, "avg_line_length": 17.81, "nodes": 488, "errors": 0, "source_hash": "a57622900d760e3d5e6814eb09836b298fccbcd87da03cd92404b36059e4ea96", "categorized_nodes": 329}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
11,689
c
/****************************************************************** Copyright (C) 2019 - All Rights Reserved by 文 件 名 : timeconfigwidget.h --- TimeConfigWidget 作 者 : Niyh(lynnhua) 论 坛 : http://www.firebbs.cn 编写日期 : 2019 说 明 : 历史纪录 : <作者> <日期> <版本> <内容> Niyh 2019 1.0.0...
23.61
44
(translation_unit) "/****************************************************************** \n Copyright (C) 2019 - All Rights Reserved by \n 文 件 名 : timeconfigwidget.h --- TimeConfigWidget \n 作 者 : Niyh(lynnhua) \n 论 坛 : http://www.firebbs.cn \n 编写日期 : 2019 \n 说 明 : \n 历史纪录 : \n <作者> <日期> <版本> <内...
168
4
{"language": "c", "success": true, "metadata": {"lines": 44, "avg_line_length": 23.61, "nodes": 114, "errors": 0, "source_hash": "eee8178bb4f78bfec2167980f7d4273f7eb00dba28c2003c14c74aacc7c20507", "categorized_nodes": 73}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#includ...
11,690
c
/*========================================================================= Program: Visualization Toolkit Module: vtkQtTableView.h Copyright (c) <NAME>, <NAME>, <NAME> All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. This software is distributed WITHOUT...
29.84
213
(translation_unit) "/*=========================================================================\n\n Program: Visualization Toolkit\n Module: vtkQtTableView.h\n\n Copyright (c) <NAME>, <NAME>, <NAME>\n All rights reserved.\n See Copyright.txt or http://www.kitware.com/Copyright.htm for details.\n\n This so...
742
26
{"language": "c", "success": true, "metadata": {"lines": 213, "avg_line_length": 29.84, "nodes": 458, "errors": 0, "source_hash": "0f52c76a3148ce8863400f5c96ad54eed7d08727ee2bcc0bd6eb7ea82beb8240", "categorized_nodes": 307}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
11,691
c
#ifndef QBLINKINGWIDGET_H #define QBLINKINGWIDGET_H #include <QWidget> #include <QPaintEvent> #include <QPainter> #include <QTimer> class QBlinkingWidget : public QWidget { Q_OBJECT public: explicit QBlinkingWidget(QWidget *parent = nullptr); protected: void paintEvent(QPaintEvent *event); private: QTimer b...
18.86
21
(translation_unit) "#ifndef QBLINKINGWIDGET_H\n#define QBLINKINGWIDGET_H\n\n#include <QWidget>\n#include <QPaintEvent>\n#include <QPainter>\n#include <QTimer>\n\nclass QBlinkingWidget : public QWidget\n{\nQ_OBJECT\npublic:\nexplicit QBlinkingWidget(QWidget *parent = nullptr);\n\nprotected:\n void paintEvent(QPaintEv...
98
4
{"language": "c", "success": true, "metadata": {"lines": 21, "avg_line_length": 18.86, "nodes": 66, "errors": 0, "source_hash": "a466b7b2d7be89968f1e5f4b0aed1ca7e007fdcafdf51d8f90483b441a9755a2", "categorized_nodes": 44}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
11,692
c
#include <stdio.h> #include <stdlib.h> #ifndef FATAL_H #define FATAL_H #define Error(Str) FatalError(Str) #define FatalError(Str) fprintf(stderr, "%s\n", Str), exit(1) #endif // FATAL_H
25.57
7
(translation_unit) "#include <stdio.h>\n#include <stdlib.h>\n\n#ifndef FATAL_H\n#define FATAL_H\n\n#define Error(Str) FatalError(Str)\n#define FatalError(Str) fprintf(stderr, "%s\n", Str), exit(1)\n\n#endif // FATAL_H\n" (preproc_include) "#include <stdio.h>\n" (#include) "#include" (system_lib_string) "<stdi...
31
0
{"language": "c", "success": true, "metadata": {"lines": 7, "avg_line_length": 25.57, "nodes": 25, "errors": 0, "source_hash": "9995b29ed762506bf98de7587e95fcaa5c14e551877c7661cb2304e82486226b", "categorized_nodes": 17}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#includ...
11,693
c
#if defined(__arm__) #include "byteorder_arm.h" #elif defined(__aarch64__) #include "byteorder_arm64.h" #elif defined(__powerpc__) #include "byteorder_powerpc.h" #elif defined(__i386__) || defined(__x86_64__) #include "byteorder_x86.h" #else #error unexpected #endif
23.27
11
(translation_unit) "#if defined(__arm__)\n#include "byteorder_arm.h"\n#elif defined(__aarch64__)\n#include "byteorder_arm64.h"\n#elif defined(__powerpc__)\n#include "byteorder_powerpc.h"\n#elif defined(__i386__) || defined(__x86_64__)\n#include "byteorder_x86.h"\n#else\n#error unexpected\n#endif\n" (preproc_if) "#if ...
70
0
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 23.27, "nodes": 47, "errors": 0, "source_hash": "1a2702b87c22137dfb315acf35930eb08153485557cec64fe0dd3cd99e5fe004", "categorized_nodes": 28}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_if", "text": "#if defined...
11,694
c
//////////////////////////////////////////////////////////////////////////////// // // CopyRight (c) 2018 <NAME> // // Author : <NAME> // // Description : StormForge, Tong Script // // //////////////////////////////////////////////////////////////////////////////// #pragma once #include "SFTypedef...
19.18
62
(translation_unit) "//////////////////////////////////////////////////////////////////////////////// \n// \n// CopyRight (c) 2018 <NAME> \n// \n// Author : <NAME> \n// \n// Description : StormForge, Tong Script \n// \n// \n//////////////////////////////////////////////////////////////////////////////// \n \n \n#prag...
197
6
{"language": "c", "success": true, "metadata": {"lines": 62, "avg_line_length": 19.18, "nodes": 97, "errors": 0, "source_hash": "8cf8e0d4f15131665f32a8b9cc6fa501c6577bb4159de24e78b95ac6a4c06ca5", "categorized_nodes": 77}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
11,695
c
// // Simu5G // // Authors: <NAME>, <NAME>, <NAME> (University of Pisa) // // This file is part of a software released under the license included in file // "license.pdf". Please read LICENSE and README files before using it. // The above files and the present reference are part of the software itself,...
27.19
98
(translation_unit) "//\n// Simu5G\n//\n// Authors: <NAME>, <NAME>, <NAME> (University of Pisa)\n//\n// This file is part of a software released under the license included in file\n// "license.pdf". Please read LICENSE and README files before using it.\n// The above files and the present reference are p...
264
20
{"language": "c", "success": true, "metadata": {"lines": 98, "avg_line_length": 27.19, "nodes": 148, "errors": 0, "source_hash": "f81dc88013b1291d6d7ed92635b1d3bc7a6f198f3431a7b4163cbfa4446a6dcc", "categorized_nodes": 100}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
11,696
c
/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright 2014, <NAME>, IBM Corp. */ #ifndef _SELFTESTS_POWERPC_PMU_EBB_TRACE_H #define _SELFTESTS_POWERPC_PMU_EBB_TRACE_H #include "utils.h" #define TRACE_TYPE_REG 1 #define TRACE_TYPE_COUNTER 2 #define TRACE_TYPE_STRING 3 #define TRACE_TYPE_INDENT 4 #define TRACE...
27.03
34
(translation_unit) "/* SPDX-License-Identifier: GPL-2.0-only */\n/*\n * Copyright 2014, <NAME>, IBM Corp.\n */\n\n#ifndef _SELFTESTS_POWERPC_PMU_EBB_TRACE_H\n#define _SELFTESTS_POWERPC_PMU_EBB_TRACE_H\n\n#include "utils.h"\n\n#define TRACE_TYPE_REG 1\n#define TRACE_TYPE_COUNTER 2\n#define TRACE_TYPE_STRING 3\n#define ...
227
0
{"language": "c", "success": true, "metadata": {"lines": 34, "avg_line_length": 27.03, "nodes": 173, "errors": 0, "source_hash": "1b80155b8e40fb945bc928545ee678ee2860d9a2603c6390781ae94ac5fe8639", "categorized_nodes": 116}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
11,697
c
/* This file is part of TinyRender, an educative rendering system. Designed for ECSE 446/546 Realistic/Advanced Image Synthesis. <NAME>, McGill University. */ /* OpenGL Camera Code Capable of 2 modes, orthogonal, and free Quaternion camera code adapted from: http://hamelot.co.uk/visualization/...
35.04
187
(translation_unit) "/*\n This file is part of TinyRender, an educative rendering system.\n\n Designed for ECSE 446/546 Realistic/Advanced Image Synthesis.\n <NAME>, McGill University.\n*/\n\n/*\n OpenGL Camera Code\n Capable of 2 modes, orthogonal, and free\n Quaternion camera code adapted from: http:...
1,360
37
{"language": "c", "success": true, "metadata": {"lines": 187, "avg_line_length": 35.04, "nodes": 838, "errors": 0, "source_hash": "8e39a259c011a9300268906e06d5178172db3a198426ab35a011a07d1b623e12", "categorized_nodes": 600}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
11,698
c
#include <time.h> #include "external/minunit.h" #include "benchmark_test.h" #include "core.h" #include "string_util.h" #include "linear_algebra.h" static char *test_matrix_multiplication() { // Create two matrices int row_num = 1000; int col_num = 1000; double *matrix_data1 = malloc((unsigned long)(r...
29.38
103
(translation_unit) "#include <time.h>\n#include "external/minunit.h"\n#include "benchmark_test.h"\n#include "core.h"\n#include "string_util.h"\n#include "linear_algebra.h"\n\n\nstatic char *test_matrix_multiplication()\n{\n // Create two matrices\n int row_num = 1000;\n int col_num = 1000;\n\n double *matri...
943
0
{"language": "c", "success": true, "metadata": {"lines": 103, "avg_line_length": 29.38, "nodes": 619, "errors": 0, "source_hash": "3ed9a0fdc739ed4bb33413bebc43a5778463b7ce4f9c5d22637b36326df3bfa5", "categorized_nodes": 377}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
11,699