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
// // OBAEditStopBookmarkGroupViewController.h // org.onebusaway.iphone // // Created by <NAME> on 12/19/13. // Copyright (c) 2013 OneBusAway. All rights reserved. // #import <UIKit/UIKit.h> @class OBAModelDAO; @class OBABookmarkGroup; @class OBAApplicationDelegate; @protocol OBABookmarkGroupVCDelegate <NSObject...
38.95
21
(translation_unit) "//\n// OBAEditStopBookmarkGroupViewController.h\n// org.onebusaway.iphone\n//\n// Created by <NAME> on 12/19/13.\n// Copyright (c) 2013 OneBusAway. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@class OBAModelDAO;\n@class OBABookmarkGroup;\n@class OBAApplicationDelegate;\n\n@protocol OB...
174
28
{"language": "c", "success": true, "metadata": {"lines": 21, "avg_line_length": 38.95, "nodes": 116, "errors": 0, "source_hash": "f648e79c9966d23f64276f481e067a185c53409cf02af74e0f5e0fee27e5b698", "categorized_nodes": 64}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import ...
80,100
c
#pragma once #include <Foundation/Math/Transform.h> template <typename Type> inline ezTransformTemplate<Type>::ezTransformTemplate(const ezVec3Template<Type>& vPosition, const ezQuatTemplate<Type>& qRotation, const ezVec3Template<Type>& vScale) { m_vPosition = vPosition; m_qRotation = qRotation; m_vScale = vSca...
37.62
180
(translation_unit) "#pragma once\n\n#include <Foundation/Math/Transform.h>\n\ntemplate <typename Type>\ninline ezTransformTemplate<Type>::ezTransformTemplate(const ezVec3Template<Type>& vPosition, const ezQuatTemplate<Type>& qRotation, const ezVec3Template<Type>& vScale)\n{\n m_vPosition = vPosition;\n m_qRotation = ...
2,331
129
{"language": "c", "success": true, "metadata": {"lines": 180, "avg_line_length": 37.62, "nodes": 1626, "errors": 0, "source_hash": "328150d74fdadca1667e91efb18a03db36bb35d7c6f838d05d72cd1400f9f4cc", "categorized_nodes": 1156}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pra...
80,101
c
inherit "room/room"; inherit "/wizards/ahma/swamp/rooms/swafun"; reset(arg) { add_exit("west", "swa1c"); if(mode) add_exit("south", "swa2d"); short_desc = "swamp"; long_desc = "swamp 1 d.\n"; }
22.44
9
(translation_unit) "inherit "room/room"; \ninherit "/wizards/ahma/swamp/rooms/swafun"; \n \nreset(arg) { \n add_exit("west", "swa1c"); \n if(mode) add_exit("south", "swa2d"); \n short_desc = "swamp"; \n long_desc = "swamp 1 d.\n"; \n}" (expression_statement) "inherit "room/room";" (concatenated_string) "inher...
83
0
{"language": "c", "success": true, "metadata": {"lines": 9, "avg_line_length": 22.44, "nodes": 32, "errors": 0, "source_hash": "6966f08fe912944a5bddb64fcf4b84165e4bc287b06fcf83b92603d6d4961afb", "categorized_nodes": 26}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "concatenated_string", "text": "inh...
80,102
c
// // FEAudioDisplay.h // FeelingView // // Created by YamatoKira on 16/1/30. // Copyright © 2016年 feeling. All rights reserved. // #import <UIKit/UIKit.h> #import "FEAudioWaveView.h" @class FEAudioDisplayView; /** * 音频视图的状态 */ typedef NS_ENUM(NSUInteger, FEAudioDisplayViewState) { /** * 未播放 */...
16.28
90
(translation_unit) "//\n// FEAudioDisplay.h\n// FeelingView\n//\n// Created by YamatoKira on 16/1/30.\n// Copyright © 2016年 feeling. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n#import "FEAudioWaveView.h"\n\n@class FEAudioDisplayView;\n\n/**\n * 音频视图的状态\n */\ntypedef NS_ENUM(NSUInteger, FEAudioDisplayView...
293
34
{"language": "c", "success": true, "metadata": {"lines": 90, "avg_line_length": 16.28, "nodes": 189, "errors": 0, "source_hash": "2702eea229173fcd61139e15927265da09d9c84257c984e2e62c960e83dc6a53", "categorized_nodes": 101}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "port <U...
80,103
c
/*++ Copyright (c) 2000, Microsoft Corporation Module Name: dnsfile.h Abstract: This module contains declarations for the DNS proxy's file management. Author: <NAME> (rgatta) 21-Nov-2000 Revision History: --*/ #ifndef _NATHLP_DNSFILE_H_ #define _NATHLP_DNSFILE_H_ ...
19.68
114
(translation_unit) "/*++ \n \nCopyright (c) 2000, Microsoft Corporation \n \nModule Name: \n \n dnsfile.h \n \nAbstract: \n \n This module contains declarations for the DNS proxy's file \n management. \n \nAuthor: \n \n <NAME> (rgatta) 21-Nov-2000 \n \nRevision History: \n \n--*/ \n \n#ifndef _NATHLP_...
195
0
{"language": "c", "success": true, "metadata": {"lines": 114, "avg_line_length": 19.68, "nodes": 140, "errors": 0, "source_hash": "780c08f6e6a7e6f27501ee1d00bb5f6851c686ec4ae439412c759be7e8dcf9a1", "categorized_nodes": 103}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
80,104
c
#ifndef __MODELLOADER_H_INCLUDED__ #define __MODELLOADER_H_INCLUDED__ #include <algorithm> #include <iostream> #include <vector> #include <string> #include <fstream> #include <exception> #include <cassert> #include <cstring> #include "shapes.h" #define MAX_LINE_LENGTH 1024 float min(float a, float b) ...
30.1
276
(translation_unit) "#ifndef __MODELLOADER_H_INCLUDED__ \n#define __MODELLOADER_H_INCLUDED__ \n \n#include <algorithm> \n#include <iostream> \n#include <vector> \n#include <string> \n#include <fstream> \n#include <exception> \n#include <cassert> \n#include <cstring> \n#include "shapes.h" \n \n#define MAX_LINE_LENGTH 102...
3,197
42
{"language": "c", "success": true, "metadata": {"lines": 276, "avg_line_length": 30.1, "nodes": 1920, "errors": 0, "source_hash": "a5d5e4e19a8d281f5941bebfd033d64309d5c0739d5e06c24fce146f36012be0", "categorized_nodes": 1397}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifn...
80,105
c
#pragma once #include "compiler.h" #ifdef __cplusplus extern "C" { #endif LIBRARY_API void *QGroupBox_new(const char *title, void *parent); LIBRARY_API int QGroupBox_alignment(void *groupBox); LIBRARY_API void QGroupBox_setAlignment(void *groupBox, int alignment); LIBRARY_API CQString QGroupBox_title(void *groupBox)...
31.23
13
(translation_unit) "#pragma once\n\n#include "compiler.h"\n\n#ifdef __cplusplus\nextern "C" {\n#endif\n\nLIBRARY_API void *QGroupBox_new(const char *title, void *parent);\nLIBRARY_API int QGroupBox_alignment(void *groupBox);\nLIBRARY_API void QGroupBox_setAlignment(void *groupBox, int alignment);\nLIBRARY_API CQString ...
126
5
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 31.23, "nodes": 94, "errors": 0, "source_hash": "06b5ba1cc77a3d808b2b0f1b77d6a1c6b9e79dc8bef8c3a7d8ce0846a002ea26", "categorized_nodes": 56}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
80,106
c
// // Created by hacht on 3/4/17. // #pragma once #include <memory> #include <vector> #include "util/util.h" namespace simpleCNN { class Edge; class Node; class Layer; typedef Node* nodeptr_t; typedef std::shared_ptr<Edge> edgeptr_t; class Node : public std::enable_shared_from_this<Node> { public: ...
28.7
74
(translation_unit) "//\n// Created by hacht on 3/4/17.\n//\n\n#pragma once\n\n#include <memory>\n#include <vector>\n#include "util/util.h"\n\nnamespace simpleCNN {\n class Edge;\n class Node;\n class Layer;\n\n typedef Node* nodeptr_t;\n typedef std::shared_ptr<Edge> edgeptr_t;\n\n class Node : public std::enable...
498
19
{"language": "c", "success": true, "metadata": {"lines": 74, "avg_line_length": 28.7, "nodes": 265, "errors": 0, "source_hash": "dbc90464b3f87cfca8159a6ff507bacc2cb5653819ac070e05e85b454fdf7f58", "categorized_nodes": 186}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma ...
80,107
c
#include <stdio.h> #include <uuid/uuid.h> #define UUID_STR_LEN 37 int main(int argc, char const *argv[]) { uuid_t uuid; uuid_generate(uuid); char uuid_str[UUID_STR_LEN]; uuid_unparse_lower(uuid, uuid_str); printf("%s\n", uuid_str); return 0; }
22.27
11
(translation_unit) "#include <stdio.h>\n\n#include <uuid/uuid.h>\n\n#define UUID_STR_LEN 37\n\nint main(int argc, char const *argv[]) {\n uuid_t uuid;\n uuid_generate(uuid);\n char uuid_str[UUID_STR_LEN];\n uuid_unparse_lower(uuid, uuid_str);\n printf("%s\n", uuid_str);\n return 0;\n}\n" (preproc_include) "#inc...
83
0
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 22.27, "nodes": 49, "errors": 0, "source_hash": "6b79cbf4745999b11737e6c710491558a485251173f8b309c612e603c41e3a27", "categorized_nodes": 33}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
80,108
c
/* * Copyright (c) 2022 The ZMK Contributors * * SPDX-License-Identifier: MIT */ #pragma once #include <kernel.h> #include <stdint.h> #include <zmk/behavior.h> int zmk_behavior_queue_add(uint32_t position, const struct zmk_behavior_binding behavior, bool press, uint32_t wait);
27.09
11
(translation_unit) "/*\n * Copyright (c) 2022 The ZMK Contributors\n *\n * SPDX-License-Identifier: MIT\n */\n\n#pragma once\n\n#include <kernel.h>\n#include <stdint.h>\n#include <zmk/behavior.h>\n\nint zmk_behavior_queue_add(uint32_t position, const struct zmk_behavior_binding behavior,\n boo...
41
0
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 27.09, "nodes": 31, "errors": 0, "source_hash": "eddb72b78a769814bc729275a8e7554391fc29f8f4c7cbe54a7dfb209f29078f", "categorized_nodes": 24}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
80,109
c
#define REDIS_VERSION "6.0.9" #define REDIS_VERSION_NUM 0x00060009
32.5
2
(translation_unit) "#define REDIS_VERSION "6.0.9"\n#define REDIS_VERSION_NUM 0x00060009\n" (preproc_def) "#define REDIS_VERSION "6.0.9"\n" (#define) "#define" (identifier) "REDIS_VERSION" (preproc_arg) ""6.0.9"" (preproc_def) "#define REDIS_VERSION_NUM 0x00060009\n" (#define) "#define" (identifi...
9
0
{"language": "c", "success": true, "metadata": {"lines": 2, "avg_line_length": 32.5, "nodes": 8, "errors": 0, "source_hash": "d7ad6da1ba29367691d21baf0074d79bedc82f1a2c641dad95d289d7cf2f54bd", "categorized_nodes": 2}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_def", "text": "#define REDIS_...
80,110
c
#if 0 /// Copyright (c) Titan Robotics Club. All rights reserved. /// /// <module name="Kicker.h" /> /// /// <summary> /// This module contains the definitions of the Kicker class. /// </summary> /// /// <remarks> /// Environment: Wind River C++ for National Instrument cRIO based Robot. /// </remarks> #endif #...
26.89
255
(translation_unit) "#if 0\n/// Copyright (c) Titan Robotics Club. All rights reserved.\n///\n/// <module name="Kicker.h" />\n///\n/// <summary>\n/// This module contains the definitions of the Kicker class.\n/// </summary>\n///\n/// <remarks>\n/// Environment: Wind River C++ for National Instrument cRIO based R...
1,162
18
{"language": "c", "success": true, "metadata": {"lines": 255, "avg_line_length": 26.89, "nodes": 629, "errors": 0, "source_hash": "7632ca5308c13cbe4a5f8f78ebb19fb34bc9e32f269db9ce51871054b52900b0", "categorized_nodes": 446}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_if", "text": "#if 0\n/...
80,111
c
#include "finite/log1pf.h" #include "atan2f.h" #include <complex.h> static float _Complex finite_catanf_(double x, double y) { double xx = x * x; double yy = y * y; double t = y - 1; float a = atan2f_(2 * x, 1 - xx - yy); float b = log1pf_(4 * y / (xx + t * t)); return CMPLXF(0.5f * a, 0.25f *...
25.59
27
(translation_unit) "#include "finite/log1pf.h"\n#include "atan2f.h"\n#include <complex.h>\n\nstatic float _Complex finite_catanf_(double x, double y)\n{\n double xx = x * x;\n double yy = y * y;\n double t = y - 1;\n float a = atan2f_(2 * x, 1 - xx - yy);\n float b = log1pf_(4 * y / (xx + t * t));\n\n ...
280
2
{"language": "c", "success": true, "metadata": {"lines": 27, "avg_line_length": 25.59, "nodes": 196, "errors": 0, "source_hash": "730be8d784ec6b99c16443f567d4563c7f2961d4f9a0bf06a69d42cce5f5795f", "categorized_nodes": 139}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
80,112
c
#pragma once #include <DirectXMath.h> #include <array> struct Crosshair { static constexpr float z_offset = 0.4f; static constexpr float scale = 0.055f; static constexpr std::pair<std::array<DirectX::XMFLOAT3, 8>, std::array<uint16_t, 12>> NearSide{ { DirectX::XMFLOAT3( -0.1f * scale, -0.01f * scale, z_offset),...
32.08
25
(translation_unit) "#pragma once\n#include <DirectXMath.h>\n#include <array>\n\nstruct Crosshair {\n static constexpr float z_offset = 0.4f;\n static constexpr float scale = 0.055f;\n static constexpr std::pair<std::array<DirectX::XMFLOAT3, 8>, std::array<uint16_t, 12>> NearSide{\n {\n DirectX::XMFLOAT3( -0.1f * scal...
289
16
{"language": "c", "success": true, "metadata": {"lines": 25, "avg_line_length": 32.08, "nodes": 182, "errors": 0, "source_hash": "08e5a8ad01f4dbd1077422083bd197898e4a85c76a2ad6323b9558e038658191", "categorized_nodes": 137}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
80,113
c
#include <sys/wait.h> #include <unistd.h> #include <stdlib.h> #include <stdio.h> #include <string.h> int main(int argc, char **argv) { //load any config files, if they exist //run command loop lsh_loop(); //perform necessary shutdown/cleanup return EXIT_SUCCESS; } void lsh_loop() { char *lin...
22.7
152
(translation_unit) "#include <sys/wait.h>\n#include <unistd.h>\n#include <stdlib.h>\n#include <stdio.h>\n#include <string.h>\nint main(int argc, char **argv)\n{\n //load any config files, if they exist\n\n //run command loop\n lsh_loop();\n\n //perform necessary shutdown/cleanup\n\n return EXIT_SUCCESS;\...
1,174
0
{"language": "c", "success": true, "metadata": {"lines": 152, "avg_line_length": 22.7, "nodes": 674, "errors": 0, "source_hash": "d2bc70df21e793c2ee93e477f43739d74ea46849f8e0da2ae31589f147857b7c", "categorized_nodes": 409}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
80,114
c
#ifndef __BRIDGED_SCREEN_H_ #define __BRIDGED_SCREEN_H_ 1 // #include <stdint.h> //#define rgb16(r,g,b) { (uint16_t)( (( r *31/255 )<<11) | (( g *63/255 )<<5) | ( b *31/255 ) ) } //#define rgb16(r,g,b) { (int)( (( r *31/255 )<<11) | (( g *63/255 )<<5) | ( b *31/255 ) ) } //static const uint16_t rgb16(uint8_t r,uint8_...
40.1
116
(translation_unit) "#ifndef __BRIDGED_SCREEN_H_\n#define __BRIDGED_SCREEN_H_ 1\n\n// #include <stdint.h>\n\n//#define rgb16(r,g,b) { (uint16_t)( (( r *31/255 )<<11) | (( g *63/255 )<<5) | ( b *31/255 ) ) }\n//#define rgb16(r,g,b) { (int)( (( r *31/255 )<<11) | (( g *63/255 )<<5) | ( b *31/255 ) ) }\n//static const uint...
1,031
13
{"language": "c", "success": true, "metadata": {"lines": 116, "avg_line_length": 40.1, "nodes": 768, "errors": 0, "source_hash": "273ae728288f277238a6f47f3ff4e5e9bfb654c688f660ca3ef8361433eae7c3", "categorized_nodes": 422}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
80,115
c
/*#******************************************************************************** * tet_a_tet.h o o * * o o * * Visual Computing Group _ ...
39.15
206
(translation_unit) "/*#********************************************************************************\n * tet_a_tet.h o o *\n * o o *\n * Visual Computing Group ...
2,767
5
{"language": "c", "success": true, "metadata": {"lines": 206, "avg_line_length": 39.15, "nodes": 1558, "errors": 0, "source_hash": "1bd47b37dd853d2efc38c20a1c123fbcf759716522913c6271409716c4401ab4", "categorized_nodes": 1244}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_function_def", "text...
80,116
c
// Copyright (C) 2012 by wubenqi // Distributable under the terms of either the Apache License (Version 2.0) or // the GNU Lesser General Public License, as specified in the COPYING file. // // By: wubenqi<<EMAIL>> // #ifndef ZSNIFFER_PB_MESSAGE_FACTORY_H_ #define ZSNIFFER_PB_MESSAGE_FACTORY_H_ #pragma once #include...
35.95
37
(translation_unit) "// Copyright (C) 2012 by wubenqi\n// Distributable under the terms of either the Apache License (Version 2.0) or \n// the GNU Lesser General Public License, as specified in the COPYING file.\n//\n// By: wubenqi<<EMAIL>>\n//\n\n#ifndef ZSNIFFER_PB_MESSAGE_FACTORY_H_\n#define ZSNIFFER_PB_MESSAGE_FACTO...
333
22
{"language": "c", "success": true, "metadata": {"lines": 37, "avg_line_length": 35.95, "nodes": 176, "errors": 0, "source_hash": "d20b1d36c641ff7261fc90d3115fe9a99e99d186a8a5675288c95f4461cce838", "categorized_nodes": 124}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
80,117
c
// // RYViewController.h // RYPing // // Created by raiyi on 09/09/2016. // Copyright (c) 2016 raiyi. All rights reserved. // @import UIKit; @interface RYViewController : UIViewController @end
18.7
10
(translation_unit) "//\n// RYViewController.h\n// RYPing\n//\n// Created by raiyi on 09/09/2016.\n// Copyright (c) 2016 raiyi. All rights reserved.\n//\n\n@import UIKit;\n\n@interface RYViewController : UIViewController\n\n@end\n" (comment) "//" (comment) "// RYViewController.h" (comment) "// RYPing" (com...
22
5
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 18.7, "nodes": 10, "errors": 0, "source_hash": "67f2f293bae0b14bf154bca2afea521fe5b53bb055bb4c883153eae862cfa6c3", "categorized_nodes": 5}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "@", "parent": null...
80,118
c
// // KMTMapView.h // KMDepartureCourier // // Created by 康美通 on 2018/6/14. // Copyright © 2018年 KMT. All rights reserved. // #import <MAMapKit/MAMapKit.h> @interface KMTMapView : MAMapView -(instancetype)initWithFrame:(CGRect)frame; /** 添加定位按钮 @param frame 按钮位置(仅x/y有效) */ -(void)createUserLocationBtnWit...
17.57
23
(translation_unit) "//\n// KMTMapView.h\n// KMDepartureCourier\n//\n// Created by 康美通 on 2018/6/14.\n// Copyright © 2018年 KMT. All rights reserved.\n//\n\n#import <MAMapKit/MAMapKit.h>\n\n\n\n@interface KMTMapView : MAMapView\n\n-(instancetype)initWithFrame:(CGRect)frame;\n\n\n/**\n 添加定位按钮\n\n @param frame 按钮位置(仅x/...
72
7
{"language": "c", "success": true, "metadata": {"lines": 23, "avg_line_length": 17.57, "nodes": 39, "errors": 0, "source_hash": "ea92562ae288275157cfc20705fedc2889eb21ef990c3c2c8b25fc12cdb206e2", "categorized_nodes": 22}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "MAMapKit/...
80,119
c
#include "main.h" #include "helper_1.h" #include "title.h" #include "sprite.h" #include "graphics/world_0_sprites.h" #include <gb/gb.h> #include <rand.h> // TODO: // - Create levels // - SFX? // - Tell people how to play this stupid thing. #define BANK_GRAPHICS 1U #define BANK_WORLD_DATA 2U #define BANK_HELPER_1 3U...
28.85
301
(translation_unit) "#include "main.h"\n#include "helper_1.h"\n#include "title.h"\n#include "sprite.h"\n#include "graphics/world_0_sprites.h"\n\n#include <gb/gb.h>\n#include <rand.h>\n\n// TODO: \n// - Create levels\n// - SFX?\n// - Tell people how to play this stupid thing.\n\n#define BANK_GRAPHICS 1U\n#define BANK_WOR...
2,323
0
{"language": "c", "success": true, "metadata": {"lines": 301, "avg_line_length": 28.85, "nodes": 1353, "errors": 0, "source_hash": "b7cfbefd3c5c46bf3fec4eb912ac89b025abf5ec499155119c6c78d2a3b0b468", "categorized_nodes": 1033}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#...
80,120
c
// // Header.h // PaymentSecurityField // // Created by liuyu on 2017/8/8. // Copyright © 2017年 刘宇. All rights reserved. // #ifndef Header_h #define Header_h #define ScreenWidth [[UIScreen mainScreen]bounds].size.width #define ScreenHeight [[UIScreen mainScreen]bounds].size.height #define LRWeakSelf(type) __w...
27.85
13
(translation_unit) "//\n// Header.h\n// PaymentSecurityField\n//\n// Created by liuyu on 2017/8/8.\n// Copyright © 2017年 刘宇. All rights reserved.\n//\n\n#ifndef Header_h\n#define Header_h\n\n#define ScreenWidth [[UIScreen mainScreen]bounds].size.width\n#define ScreenHeight [[UIScreen mainScreen]bounds].size.heigh...
32
0
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 27.85, "nodes": 21, "errors": 0, "source_hash": "ca2595e346bd04f99318d11df835061151559268b8f453141142d5ba9ded7f9f", "categorized_nodes": 10}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": " Header_...
80,121
c
// // OutputNodeCSV.h // Exam // // Created by kizzy on 17/01/2021. // Copyright © 2021 kizzy. All rights reserved. // #pragma once
16
8
(translation_unit) "//\n// OutputNodeCSV.h\n// Exam\n//\n// Created by kizzy on 17/01/2021.\n// Copyright © 2021 kizzy. All rights reserved.\n//\n\n#pragma once\n" (comment) "//" (comment) "// OutputNodeCSV.h" (comment) "// Exam" (comment) "//" (comment) "// Created by kizzy on 17/01/2021." (comment)...
11
0
{"language": "c", "success": true, "metadata": {"lines": 8, "avg_line_length": 16.0, "nodes": 3, "errors": 0, "source_hash": "d14942a4e320c90c8b72da4b879123d25f9c4eeed2d0424478fcc9981da238ae", "categorized_nodes": 1}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "pragma once\n...
80,122
c
#ifndef Logging_h #define Logging_h #include "Arduino.h" namespace ame{ class Logging { public: Logging(Stream *p){ port = p; } Logging(){} virtual ~Logging(){} virtual void StaticLog(String className, String methodName, String type, String mns){ if(port == nullptr){ return; }Serial.println(...
21.15
47
(translation_unit) "#ifndef Logging_h\n#define Logging_h\n\n#include "Arduino.h"\n\nnamespace ame{\n\nclass Logging {\n public:\n Logging(Stream *p){\n port = p;\n }\n Logging(){}\n virtual ~Logging(){}\n virtual void StaticLog(String className, String methodName, String type, String mns){\n if(port == nullptr...
406
7
{"language": "c", "success": true, "metadata": {"lines": 47, "avg_line_length": 21.15, "nodes": 220, "errors": 0, "source_hash": "8c5b60782f4d8a9ee2dac665113250f350f3789348f380423fbf228a10e33cdf", "categorized_nodes": 170}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
80,123
c
#pragma once #include <limits> #include <cmath> // TODO: is this needed? #undef min #undef max #undef INFINITY static constexpr float INFINITY = std::numeric_limits<float>::infinity(); static constexpr float PI = 3.14159265358979323846; static constexpr float INV_PI = 0.31830988618379067154; static constexpr float I...
23.31
91
(translation_unit) "#pragma once\n\n#include <limits>\n#include <cmath>\n\n// TODO: is this needed?\n#undef min\n#undef max\n\n#undef INFINITY\nstatic constexpr float INFINITY = std::numeric_limits<float>::infinity();\nstatic constexpr float PI = 3.14159265358979323846;\nstatic constexpr float INV_PI = 0.31830988618379...
741
19
{"language": "c", "success": true, "metadata": {"lines": 91, "avg_line_length": 23.31, "nodes": 524, "errors": 0, "source_hash": "3c170704eba2b8736d2ed53a3688440c0e5d4eb131ac0e814f15a3273c659f5b", "categorized_nodes": 337}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
80,124
c
#pragma once #include "il2cpp-config.h" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #include <stdint.h> #include "mscorlib_System_Object3080106164.h" // System.Byte[] struct ByteU5BU5D_t4116647657; #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagn...
24.77
44
(translation_unit) "ragma once\n \n#include "il2cpp-config.h"\n \n#ifndef _MSC_VER \n# include <alloca.h> \n#else \n# include <malloc.h> \n#endif \n \n#include <stdint.h> \n \n#include "mscorlib_System_Object3080106164.h" \n \n// System.Byte[] \nstruct ByteU5BU5D_t4116647657; \n \n \n \n \n#ifdef __clang__\n#pragma cla...
193
2
{"language": "c", "success": true, "metadata": {"lines": 44, "avg_line_length": 24.77, "nodes": 132, "errors": 0, "source_hash": "8890cbb156cc6f389b46f2caf689ad39d38bd9de682ac330138542e9aab9c608", "categorized_nodes": 90}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "ragma on...
80,125
c
// Upgrade is an in-place firmware upgrader for tiny85 chips - just fill in the // 'bootloaderAddress' variable in bootloader_data.h, and the bootloaderData // progmem array with the bootloader data, and you're ready to go. // // Upgrade will firstly rewrite the interrupt vector table to disable the bootloader, // rew...
31.89
163
(translation_unit) "// Upgrade is an in-place firmware upgrader for tiny85 chips - just fill in the\n// 'bootloaderAddress' variable in bootloader_data.h, and the bootloaderData\n// progmem array with the bootloader data, and you're ready to go.\n// \n// Upgrade will firstly rewrite the interrupt vector table to disabl...
1,193
0
{"language": "c", "success": true, "metadata": {"lines": 163, "avg_line_length": 31.89, "nodes": 658, "errors": 0, "source_hash": "2c99c25917fae20ce1c7f95cef7528685a63ccf0480dcdf122a2582f0cb4138f", "categorized_nodes": 447}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
80,126
c
// Copyright 2019 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef IOS_WEB_VIEW_INTERNAL_UTILS_NSOBJECT_DESCRIPTION_UTILS_H_ #define IOS_WEB_VIEW_INTERNAL_UTILS_NSOBJECT_DESCRIPTION_UTILS_H_ #import <Foundation/F...
49.75
12
(translation_unit) "// Copyright 2019 The Chromium Authors. All rights reserved.\n// Use of this source code is governed by a BSD-style license that can be\n// found in the LICENSE file.\n\n#ifndef IOS_WEB_VIEW_INTERNAL_UTILS_NSOBJECT_DESCRIPTION_UTILS_H_\n#define IOS_WEB_VIEW_INTERNAL_UTILS_NSOBJECT_DESCRIPTION_UTILS_...
34
1
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 49.75, "nodes": 23, "errors": 0, "source_hash": "6c05ee376b25f4d052e540a1fec76fd1184ab55775952b5fd817b54645259c2b", "categorized_nodes": 15}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
80,127
c
//===-- Statistics.h --------------------------------------------*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
37.68
148
(translation_unit) "//===-- Statistics.h --------------------------------------------*- C++ -*-===//\n//\n// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.\n// See https://llvm.org/LICENSE.txt for license information.\n// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception\n//\n//===-...
1,002
57
{"language": "c", "success": true, "metadata": {"lines": 148, "avg_line_length": 37.68, "nodes": 550, "errors": 0, "source_hash": "bde7c59bcfdd6583479d39adc0eb7d7363c5f892a0382a8dc08a9dd100ee936d", "categorized_nodes": 373}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
80,128
c
#ifndef _S2LOADER_SCALE9_SYM_LOADER_H_ #define _S2LOADER_SCALE9_SYM_LOADER_H_ #include <cu/uncopyable.h> #include <cu/cu_stl.h> #include <json/json.h> #include <memory> #include <stdint.h> namespace s2 { class Scale9Symbol; class Sprite; } namespace simp { class NodeScale9; } namespace s2s { class NodeSprCommon; }...
31.5
30
(translation_unit) "#ifndef _S2LOADER_SCALE9_SYM_LOADER_H_\n#define _S2LOADER_SCALE9_SYM_LOADER_H_\n\n#include <cu/uncopyable.h>\n#include <cu/cu_stl.h>\n\n#include <json/json.h>\n\n#include <memory>\n\n#include <stdint.h>\n\nnamespace s2 { class Scale9Symbol; class Sprite; }\nnamespace simp { class NodeScale9; }\nname...
272
17
{"language": "c", "success": true, "metadata": {"lines": 30, "avg_line_length": 31.5, "nodes": 157, "errors": 0, "source_hash": "30e501d96c47239895f70cb9d4e732ed5316fa26ac7ff44094c23631a2d64e25", "categorized_nodes": 115}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
80,129
c
#ifndef ASN1SEQUENCE_H_ #define ASN1SEQUENCE_H_ #include "Asn1Type.h" class Asn1Sequence : public Asn1Type { public: Asn1Sequence(); Asn1Sequence(ASN1_TYPE* type); virtual ~Asn1Sequence(); const Asn1Type* getValue(int index) const throw(); void addValue(int index = -1) throw(); }; #endif /*ASN1SEQUENCE_H_*/
21.57
14
(translation_unit) "#ifndef ASN1SEQUENCE_H_\n#define ASN1SEQUENCE_H_\n\n#include "Asn1Type.h"\n\nclass Asn1Sequence : public Asn1Type\n{\npublic:\n Asn1Sequence();\n Asn1Sequence(ASN1_TYPE* type);\n virtual ~Asn1Sequence();\n \n const Asn1Type* getValue(int index) const throw();\n void addValue(int index = -1) throw();...
100
3
{"language": "c", "success": true, "metadata": {"lines": 14, "avg_line_length": 21.57, "nodes": 58, "errors": 0, "source_hash": "e1075014339d5df7136c718eda10881af6bc113803eb1111f8b7c68e2e222dba", "categorized_nodes": 36}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
80,130
c
#include "Definitions.h" #include <string.h> #include <stdio.h> int main() { srand(time(NULL)); rand(); #ifndef WIN32 initTermAttr(); #endif bool runProgram = true; printMainMenu(); while (runProgram){ switch (waitAndGetInput()) { case '1': printResu...
23.76
42
(translation_unit) "#include "Definitions.h"\n#include <string.h>\n#include <stdio.h>\n\nint main() {\n\n srand(time(NULL));\n rand();\n\n#ifndef WIN32\n\n initTermAttr();\n\n#endif\n\n bool runProgram = true;\n\n printMainMenu();\n\n while (runProgram){\n\n switch (waitAndGetInput()) {\n\n ...
262
0
{"language": "c", "success": true, "metadata": {"lines": 42, "avg_line_length": 23.76, "nodes": 151, "errors": 0, "source_hash": "3dc622c0e19c72db0804950c9aea264d296f5bb6be9cd96ee3956d3f7113e212", "categorized_nodes": 94}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
80,131
c
// // renderer.h // RayTracer // // Created by ZhaoYuhan on 4/20/15. // Copyright (c) 2015 ZhaoYuhan. All rights reserved. // #ifndef __RayTracer__renderer__ #define __RayTracer__renderer__ #include <memory> #include "scene.h" #include "camera.h" class Renderer { public: std::shared_ptr<Scene> scene; std...
19.45
33
(translation_unit) "//\n// renderer.h\n// RayTracer\n//\n// Created by ZhaoYuhan on 4/20/15.\n// Copyright (c) 2015 ZhaoYuhan. All rights reserved.\n//\n\n#ifndef __RayTracer__renderer__\n#define __RayTracer__renderer__\n\n#include <memory>\n#include "scene.h"\n#include "camera.h"\n\nclass Renderer\n{\npublic:\n ...
147
2
{"language": "c", "success": true, "metadata": {"lines": 33, "avg_line_length": 19.45, "nodes": 92, "errors": 0, "source_hash": "feb7741ede039cba2a11c991c5be65d3139ccfda755f5a52b898319a002f4794", "categorized_nodes": 60}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
80,132
c
#include <stdio.h> #define MAX 1010 int main(){ int X[MAX], i=0 , N, menor = 999999, p_menor; scanf(" %d" , &N); while(i<N){ scanf(" %d" , &X[i]); if(X[i]<menor){ menor = X[i]; p_menor = i; } i++; } printf("Menor valor: %d\nPosicao: %d\n" , menor, p_menor); return...
19
16
(translation_unit) "#include <stdio.h>\n#define MAX 1010\n\nint main(){\n\n int X[MAX], i=0 , N, menor = 999999, p_menor;\n\n scanf(" %d" , &N);\n\n while(i<N){\n scanf(" %d" , &X[i]);\n if(X[i]<menor){\n menor = X[i];\n p_menor = i;\n }\n i++;\n }\n\n printf("Menor valor: %d\nPos...
145
0
{"language": "c", "success": true, "metadata": {"lines": 16, "avg_line_length": 19.0, "nodes": 78, "errors": 0, "source_hash": "67c3aa98a25b4d7fefe888527f4355b5b6e444d734a7fe40c3d5d689a8b0af78", "categorized_nodes": 57}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#includ...
80,133
c
/****************************************************************************** Copyright (c) 1996 - 2004 -- University of Washington ******************************************************************************/ #ifndef __DTYPE_H_ #define __DTYPE_H_ #include "struct.h" #include "symtab.h" datatype_...
42.74
19
(translation_unit) "/******************************************************************************\n\n Copyright (c) 1996 - 2004 -- University of Washington\n\n******************************************************************************/\n\n#ifndef __DTYPE_H_\n#define __DTYPE_H_\n\n#include "struct.h"\n...
181
0
{"language": "c", "success": true, "metadata": {"lines": 19, "avg_line_length": 42.74, "nodes": 136, "errors": 0, "source_hash": "92ed74984fb2102f4cf7e9894c5fbeda3c62bb175163af9595da1599b1327910", "categorized_nodes": 82}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
80,134
c
#import <UIKit/UIKit.h> const NSString *action_attestation = @"request_attestation_data"; IB_DESIGNABLE @interface RequestButton : UIView -(void)setRequestData:(NSMutableDictionary *)requestData withCallbackUrl:(NSString *)callbackUrl; @end
39.17
6
(translation_unit) "#import <UIKit/UIKit.h>\n\nconst NSString *action_attestation = @"request_attestation_data";\n\nIB_DESIGNABLE\n@interface RequestButton : UIView\n\n-(void)setRequestData:(NSMutableDictionary *)requestData withCallbackUrl:(NSString *)callbackUrl;\n\n@end\n" (preproc_call) "#import <UIKit/UIKit.h>\n...
68
7
{"language": "c", "success": true, "metadata": {"lines": 6, "avg_line_length": 39.17, "nodes": 44, "errors": 0, "source_hash": "c01dafcb528cee0bd374b5c6a9cd171d11e28cbafa0a0e9c26086a446811237c", "categorized_nodes": 20}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <U...
80,135
c
#ifndef DFSAN_TYPES_H #define DFSAN_TYPES_H #include "sanitizer_common/sanitizer_atomic.h" #include "sanitizer_common/sanitizer_internal_defs.h" #include <stdint.h> using __sanitizer::u16; using __sanitizer::u32; using __sanitizer::uptr; using namespace __dfsan; /* This defines how many bits are used for dfsan labels....
34.43
37
(translation_unit) "#ifndef DFSAN_TYPES_H\n#define DFSAN_TYPES_H\n#include "sanitizer_common/sanitizer_atomic.h"\n#include "sanitizer_common/sanitizer_internal_defs.h"\n#include <stdint.h>\n\nusing __sanitizer::u16;\nusing __sanitizer::u32;\nusing __sanitizer::uptr;\nusing namespace __dfsan;\n/* This defines how many b...
193
7
{"language": "c", "success": true, "metadata": {"lines": 37, "avg_line_length": 34.43, "nodes": 133, "errors": 0, "source_hash": "d8cc6f69c2c3990341533ea4bad230daa5ec6a97c303ef8b3bd831448065e793", "categorized_nodes": 89}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
80,136
c
#ifndef _STIMULATION_ #define _STIMULATION_ #include <string.h> #include <iostream> #include <string> namespace final{ class Stimulation{ protected: std::string name; public: virtual void display(std::ostream& os) = 0; virtual Stimulation* clone() const = 0; virtual std::string getName() const = 0; }; } #e...
19.25
16
(translation_unit) "#ifndef _STIMULATION_\n#define _STIMULATION_\n#include <string.h>\n#include <iostream>\n#include <string>\n\nnamespace final{\n class Stimulation{\n protected:\n std::string name;\n public:\n virtual void display(std::ostream& os) = 0;\n virtual Stimulation* clone() const = 0;\n virtual std::str...
101
6
{"language": "c", "success": true, "metadata": {"lines": 16, "avg_line_length": 19.25, "nodes": 65, "errors": 0, "source_hash": "842219596d2247968ab654b1fcbae8543ba528f67f4ba4b7062bb0cdf2ea6ca9", "categorized_nodes": 45}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
80,137
c
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CONTENT_RENDERER_SHARED_WORKER_WEBSHAREDWORKER_PROXY_H_ #define CONTENT_RENDERER_SHARED_WORKER_WEBSHAREDWORKER_PROXY_H_ #include "base/macros...
42.66
50
(translation_unit) "// Copyright (c) 2012 The Chromium Authors. All rights reserved.\n// Use of this source code is governed by a BSD-style license that can be\n// found in the LICENSE file.\n\n#ifndef CONTENT_RENDERER_SHARED_WORKER_WEBSHAREDWORKER_PROXY_H_\n#define CONTENT_RENDERER_SHARED_WORKER_WEBSHAREDWORKER_PROXY_...
257
10
{"language": "c", "success": true, "metadata": {"lines": 50, "avg_line_length": 42.66, "nodes": 142, "errors": 0, "source_hash": "08f88411c533983dbf05eaf33df99d62fcf7cad7e3f39a1dd2aa5b8fd6038d88", "categorized_nodes": 101}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
80,138
c
// Copyright 2013-2017 UT-Battelle, LLC. See LICENSE.txt for more information. // **************************************************************************** // Class: ASTMap // // Purpose: Map Application Data/Kernel to Machine Components // // Programmer: <NAME> // Creation: Nov, 2017 // // Modifications:...
26.02
49
(translation_unit) "// Copyright 2013-2017 UT-Battelle, LLC. See LICENSE.txt for more information.\n// ****************************************************************************\n// Class: ASTMap\n//\n// Purpose: Map Application Data/Kernel to Machine Components\n//\n// Programmer: <NAME>\n// Creation: Nov...
271
12
{"language": "c", "success": true, "metadata": {"lines": 49, "avg_line_length": 26.02, "nodes": 156, "errors": 0, "source_hash": "b7c1b1bad3f7fae8681b8a82766d727eeb3b2ac59fd7d97727bb67d09ba930cd", "categorized_nodes": 103}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
80,139
c
#ifndef REQUESTS_FRIENDMANAGER_H_ #define REQUESTS_FRIENDMANAGER_H_ #include <map> #include <list> #include <memory> #include "coreFwd.h" #include "MessagesSender.h" class FriendManager { public: FriendManager(MessagesSenderPtr messageSender); virtual ~FriendManager(); void addFriendListener(std::string na...
29.57
21
(translation_unit) "#ifndef REQUESTS_FRIENDMANAGER_H_\n#define REQUESTS_FRIENDMANAGER_H_\n\n#include <map>\n#include <list>\n#include <memory>\n\n#include "coreFwd.h"\n\n#include "MessagesSender.h"\n\nclass FriendManager\n{\n public:\n FriendManager(MessagesSenderPtr messageSender);\n virtual ~FriendManager();\n\n ...
159
8
{"language": "c", "success": true, "metadata": {"lines": 21, "avg_line_length": 29.57, "nodes": 100, "errors": 0, "source_hash": "e34d7810dac696e8878ace3517c044a2879f3cbe775f4e2d35a483bf05a1628e", "categorized_nodes": 74}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
80,140
c
/* Generated by RuntimeBrowser Image: /System/Library/PrivateFrameworks/IDSFoundation.framework/IDSFoundation */ @interface IDSRemoteURLConnection : NSObject <FTMessageDeliveryRemoteURLConnection> { bool _alwaysForceCellular; id /* block */ _block; NSString * _bundleIdentifierForDataUsage; bool ...
33.3
71
(translation_unit) "/* Generated by RuntimeBrowser\n Image: /System/Library/PrivateFrameworks/IDSFoundation.framework/IDSFoundation\n */\n\n@interface IDSRemoteURLConnection : NSObject <FTMessageDeliveryRemoteURLConnection> {\n bool _alwaysForceCellular;\n id /* block */ _block;\n NSString * _bundleIdentif...
713
67
{"language": "c", "success": true, "metadata": {"lines": 71, "avg_line_length": 33.3, "nodes": 463, "errors": 0, "source_hash": "75af336f48730f4ec3f0ceba8c0fc729c2d52721d66cac454b6f5150f9fcd0a7", "categorized_nodes": 258}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "@", "parent": n...
80,141
c
// // DHGlobalArchiver.h // XcodeAutoPackage // // Created by Daniel on 2020/6/27. // Copyright © 2020 Daniel. All rights reserved. // #import <Foundation/Foundation.h> NS_ASSUME_NONNULL_BEGIN @interface DHGlobalArchiver : NSObject /// 归档 全局配置 + (BOOL)archiveGlobalConfiguration; /// 解档 全局配置 + (BOOL)unarchiveGlo...
21.56
16
(translation_unit) "//\n// DHGlobalArchiver.h\n// XcodeAutoPackage\n//\n// Created by Daniel on 2020/6/27.\n// Copyright © 2020 Daniel. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n\nNS_ASSUME_NONNULL_BEGIN\n\n@interface DHGlobalArchiver : NSObject\n/// 归档 全局配置\n+ (BOOL)archiveGlobalConfiguration;...
49
4
{"language": "c", "success": true, "metadata": {"lines": 16, "avg_line_length": 21.56, "nodes": 27, "errors": 0, "source_hash": "fd231ab64ad03a0a39217f8a9798b0b4bce99daf712b9c18488b327b9f6f5c66", "categorized_nodes": 17}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <F...
80,142
c
#include <stdlib.h> #include <stdio.h> #include <unistd.h> #include <limits.h> #include <pthread.h> #include <semaphore.h> #include <string.h> #include <signal.h> #define FAILURE_EXIT(code, format, ...) { fprintf(stderr, format, ##__VA_ARGS__); exit(code);} char **buffer; sem_t *b_sem; int P, K, N, L, nk, search, ver...
35.44
133
(translation_unit) "#include <stdlib.h>\n#include <stdio.h>\n#include <unistd.h>\n#include <limits.h>\n#include <pthread.h>\n#include <semaphore.h>\n#include <string.h>\n#include <signal.h>\n\n#define FAILURE_EXIT(code, format, ...) { fprintf(stderr, format, ##__VA_ARGS__); exit(code);}\n\nchar **buffer;\nsem_t *b_sem;...
1,782
0
{"language": "c", "success": true, "metadata": {"lines": 133, "avg_line_length": 35.44, "nodes": 1040, "errors": 0, "source_hash": "143c29d2969caebb55efc4fe0842bf52d06b4e8847d683203185fff409daa910", "categorized_nodes": 726}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#i...
80,143
c
/* * Runtimecounter.h * * Author: <NAME> (<EMAIL>) */ #ifndef Runtimecounter_h_ #define Runtimecounter_h_ #include <sys/time.h> #include <stdlib.h> /*struct timevalue{ long tv_sec; // seconds long tv_usec; // microseconds }; struct timezone{ int tz_minuteswest; // minutes W of Green...
20.41
41
(translation_unit) "/*\n * Runtimecounter.h\n *\n * Author: <NAME> (<EMAIL>)\n */\n\n#ifndef Runtimecounter_h_\n#define Runtimecounter_h_\n#include <sys/time.h>\n#include <stdlib.h>\n\n/*struct timevalue{\nlong tv_sec; // seconds\nlong tv_usec; // microseconds\n};\n\nstruct timezone{\nint ...
219
4
{"language": "c", "success": true, "metadata": {"lines": 41, "avg_line_length": 20.41, "nodes": 130, "errors": 0, "source_hash": "9e78c6ae3eb5ed0c8abf5c07aff6d84ea6c1117ec9b57bb054dd8a11cd06e7a6", "categorized_nodes": 87}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
80,144
c
/* tests_percentile.h Copyright (c) Stylemania Ltd. 2018 */ #ifndef TESTS_PERCENTILE_H #define TESTS_PERCENTILE_H #include <CUnit/CUnit.h> extern CU_TestInfo tests_percentile[]; extern void test_percentile_small_permutations(void); extern void test_percentile_uniform(void); extern void test_percentile_half_gaus...
30.93
15
(translation_unit) "/*\n tests_percentile.h\n Copyright (c) Stylemania Ltd. 2018\n*/\n\n#ifndef TESTS_PERCENTILE_H\n#define TESTS_PERCENTILE_H\n\n#include <CUnit/CUnit.h>\n\nextern CU_TestInfo tests_percentile[];\n\nextern void test_percentile_small_permutations(void);\nextern void test_percentile_uniform(void);\next...
93
0
{"language": "c", "success": true, "metadata": {"lines": 15, "avg_line_length": 30.93, "nodes": 70, "errors": 0, "source_hash": "6054ed8d5f2c194af4bd5901a35bfabe695b121b1c944c2ad3378eeecfbab3cf", "categorized_nodes": 42}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
80,145
c
// // NSCMethodChainController.h // OCCodes // // Created by <NAME> on 8/30/16. // Copyright © 2016 nscookies. All rights reserved. // #import <UIKit/UIKit.h> @interface NSCMethodChainController : UIViewController @end
21.3
10
(translation_unit) "//\n// NSCMethodChainController.h\n// OCCodes\n//\n// Created by <NAME> on 8/30/16.\n// Copyright © 2016 nscookies. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface NSCMethodChainController : UIViewController\n\n@end\n" (comment) "//" (comment) "// NSCMethodChainController....
19
3
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 21.3, "nodes": 9, "errors": 0, "source_hash": "dc0fc422c33d2062bd3b6960b600bcf3e777d8909558be7343393122149c63af", "categorized_nodes": 5}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <UIKi...
80,146
c
/* AI Lib Copyright (C) 2014 <NAME> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, including commercial applic...
27.01
86
(translation_unit) "/* \nAI Lib \nCopyright (C) 2014 <NAME> \n \nThis software is provided 'as-is', without any express or implied \nwarranty. In no event will the authors be held liable for any damages \narising from the use of this software. \n \nPermission is granted to anyone to use this software for any purpose, ...
388
10
{"language": "c", "success": true, "metadata": {"lines": 86, "avg_line_length": 27.01, "nodes": 246, "errors": 0, "source_hash": "13f841759d5f2bef2a1ab166f34e03f77b5e17a8224304c1f7ccf12688988fd2", "categorized_nodes": 174}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
80,147
c
#include <stdio.h> /* for printf, scanf */ #include <conio.h> /* for clrscr, getch */ int main(){ int a, b, sum; /* clrscr(); */ printf("enter two numbers, comma as seperators\n"); scanf("%d,%d", &a, &b); sum = a + b; printf("sum=%d\n", sum); getch(); }
23.75
12
(translation_unit) "#include <stdio.h> /* for printf, scanf */\n#include <conio.h> /* for clrscr, getch */\n\nint main(){\n \n int a, b, sum;\n\n /* clrscr(); */\n printf("enter two numbers, comma as seperators\n");\n scanf("%d,%d", &a, &b);\n sum = a + b;\n\n printf("sum=%d\n", sum);\n...
89
0
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 23.75, "nodes": 45, "errors": 0, "source_hash": "7592b12c98601ca62959eb1aad92e611305bfd48d9c24ad63dd927bf352bceab", "categorized_nodes": 34}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
80,148
c
// // RCSegmentedBar.h // RCKit // // Created by <NAME> on 16/4/20. // Copyright (c) 2016 <NAME>. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/...
37.54
39
(translation_unit) "//\n// RCSegmentedBar.h\n// RCKit\n//\n// Created by <NAME> on 16/4/20.\n// Copyright (c) 2016 <NAME>.\n//\n// Licensed under the Apache License, Version 2.0 (the "License");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// ...
251
38
{"language": "c", "success": true, "metadata": {"lines": 39, "avg_line_length": 37.54, "nodes": 167, "errors": 0, "source_hash": "56f7179560c986fc6c877ab6e27052772d83e3c9f510c73554fc623bdbf0b1a4", "categorized_nodes": 96}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import ...
80,149
c
#include <stdio.h> #ifdef READLINE_LIBRARY # include "history.h" #else # include <readline/history.h> #endif main (argc, argv) int argc; char **argv; { char line[1024], *t; int len, done = 0; line[0] = 0; using_history (); while (!done) { printf ("history$ "); fflush (stdout); ...
25.52
80
(translation_unit) "#include <stdio.h>\n\n#ifdef READLINE_LIBRARY\n# include "history.h"\n#else\n# include <readline/history.h>\n#endif\n\nmain (argc, argv)\n int argc;\n char **argv;\n{\n char line[1024], *t;\n int len, done = 0;\n\n line[0] = 0;\n\n using_history ();\n while (!done)\n {\n print...
680
0
{"language": "c", "success": true, "metadata": {"lines": 80, "avg_line_length": 25.52, "nodes": 379, "errors": 0, "source_hash": "03376818f42a5b73cb9cc6d37fc453a10526929a2c428ec58966c2478f71c2a0", "categorized_nodes": 271}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
80,150
c
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #import <Foundation/Foundation.h> #import <FBControlCore/FBControlCore.h> #import <FBDeviceControl/FBDeviceCommands.h> NS_ASSU...
30.94
33
(translation_unit) "/*\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n#import <Foundation/Foundation.h>\n\n#import <FBControlCore/FBControlCore.h>\n\n#import <FBDeviceContr...
120
16
{"language": "c", "success": true, "metadata": {"lines": 33, "avg_line_length": 30.94, "nodes": 87, "errors": 0, "source_hash": "c041be84a5dd590052b1739c2b6eebb53ea69216e96a5bd39f97fb0cf1f197d3", "categorized_nodes": 42}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <...
80,151
c
// Project - Project description // mainwindow.h // // CopyRight (c) 2021 Watasuke // Email : <<EMAIL>> // Twitter: @Watasuke102 // This software is released under the MIT-SUSHI WARE License. #ifndef TEMPLATE_MAINWINDOW_H_ #define TEMPLATE_MAINWINDOW_H_ #include <QMainWindow> class MainWindow : public QMainWindow {...
23.65
17
(translation_unit) "// Project - Project description\n// mainwindow.h\n//\n// CopyRight (c) 2021 Watasuke\n// Email : <<EMAIL>>\n// Twitter: @Watasuke102\n// This software is released under the MIT-SUSHI WARE License.\n\n#ifndef TEMPLATE_MAINWINDOW_H_\n#define TEMPLATE_MAINWINDOW_H_\n\n#include <QMainWindow>\n\nclass ...
56
3
{"language": "c", "success": true, "metadata": {"lines": 17, "avg_line_length": 23.65, "nodes": 31, "errors": 0, "source_hash": "8966fe4a0d1572d5777b5ba3b009c2486c59fb23995d81401bcf090eb3b06e73", "categorized_nodes": 18}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
80,152
c
/* * This file is part of the MicroPython project, http://micropython.org/ * * The MIT License (MIT) * * Copyright (c) 2015-2020 <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 Softw...
33.04
177
(translation_unit) "/*\n * This file is part of the MicroPython project, http://micropython.org/\n *\n * The MIT License (MIT)\n *\n * Copyright (c) 2015-2020 <NAME>\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the "Softwar...
1,210
2
{"language": "c", "success": true, "metadata": {"lines": 177, "avg_line_length": 33.04, "nodes": 690, "errors": 0, "source_hash": "96d9f79c779f98291b45f8511ad79e34ab7e242c19bc4e28291ae676ec3475e3", "categorized_nodes": 464}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
80,153
c
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- vim:set ts=4 sw=4 sts=4 noet: */ #ifndef FLINT_COMPILER_SORT_H_ #define FLINT_COMPILER_SORT_H_ #include "sqlite3.h" namespace flint { namespace compiler { namespace sort { bool Sort(sqlite3 *db); } } } #endif
22.67
12
(translation_unit) "/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- vim:set ts=4 sw=4 sts=4 noet: */\n#ifndef FLINT_COMPILER_SORT_H_\n#define FLINT_COMPILER_SORT_H_\n\n#include "sqlite3.h"\n\nnamespace flint {\nnamespace compiler {\nnamespace sort {\n\nbool Sort(sqlite3 *db);\n\n}\n}\n}\n\n#e...
46
0
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 22.67, "nodes": 29, "errors": 0, "source_hash": "adb505a27ff7bcaf36065a319f200fe7fd1a64cdcd18e6d93e5cf55fbdfae685", "categorized_nodes": 23}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
80,154
c
#pragma once #include <esp_err.h> #include <driver/gpio.h> #include <driver/i2c.h> esp_err_t display_init(i2c_port_t port, gpio_num_t sda, gpio_num_t scl); esp_err_t display_draw_text(char* line1, char* line2); esp_err_t display_clear(void);
33.71
7
(translation_unit) "#pragma once\n\n#include <esp_err.h>\n#include <driver/gpio.h>\n#include <driver/i2c.h>\n\nesp_err_t display_init(i2c_port_t port, gpio_num_t sda, gpio_num_t scl);\nesp_err_t display_draw_text(char* line1, char* line2);\nesp_err_t display_clear(void);\n" (preproc_call) "#pragma once\n" (prepr...
61
0
{"language": "c", "success": true, "metadata": {"lines": 7, "avg_line_length": 33.71, "nodes": 48, "errors": 0, "source_hash": "96b90baca13634dd30970c14c99aba0ee5030a3bd5048849358443c736892fbe", "categorized_nodes": 36}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma on...
80,155
c
#include <stdio.h> struct test1 { char a:1; char:2; long b:3; char c:2; }; // size: long 8bytes struct test2 { char a:1; char:2; char b:3; long c:2; }; // size: long 8bytes struct test3 { char a:1; char:2; char b:3; char c:2; }; // size: 1byte struct bs { int a:8...
18.37
54
(translation_unit) "#include <stdio.h>\n\nstruct test1 {\n char a:1;\n char:2;\n long b:3;\n char c:2;\n}; // size: long 8bytes\n\nstruct test2 {\n char a:1;\n char:2;\n char b:3;\n long c:2;\n}; // size: long 8bytes \n\nstruct test3 {\n char a:1;\n char:2;\n char b:3;\n char c:2;\n}...
382
0
{"language": "c", "success": true, "metadata": {"lines": 54, "avg_line_length": 18.37, "nodes": 233, "errors": 0, "source_hash": "3cd4df230fabbb9716c10d089b98485f86f8ed993e67ef0549fae377a32e841e", "categorized_nodes": 181}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
80,156
c
/* Author: <NAME> * C file to copy an image to the framebuffer * 2.2" pi tft screen resolution * W = 320, H = 240 * 6-bit color * Code referenced from * https://stackoverflow.com/questions/2693631/read-ppm-file-and-store-it-in-an-array-coded-with-c * and * http://betteros.org/tut/graphics1.php */ #include <linu...
26.74
179
(translation_unit) "/* Author: <NAME>\n* C file to copy an image to the framebuffer\n* 2.2" pi tft screen resolution\n* W = 320, H = 240\n* 6-bit color\n* Code referenced from \n* https://stackoverflow.com/questions/2693631/read-ppm-file-and-store-it-in-an-array-coded-with-c \n* and\n* http://betteros.org/tut/graph...
1,227
0
{"language": "c", "success": true, "metadata": {"lines": 179, "avg_line_length": 26.74, "nodes": 736, "errors": 0, "source_hash": "b033ed5c9451ae5079f635b17ebb371cbff4272ce34c3affa62e1eb758c9525e", "categorized_nodes": 539}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
80,157
c
/* * Copyright (C) 2014-2015 <NAME>. All rights reserved. * Author: <NAME> <<EMAIL>> * * Provided under the three clause BSD license found in the LICENSE file. */ #include <string.h> #include <assert.h> #include <stdlib.h> #include <asm/spinlock.h> #include <asm/machine.h> #include <asm/scheduler.h> #include <ph...
25.9
94
(translation_unit) "/*\n * Copyright (C) 2014-2015 <NAME>. All rights reserved.\n * Author: <NAME> <<EMAIL>>\n *\n * Provided under the three clause BSD license found in the LICENSE file.\n */\n\n#include <string.h>\n#include <assert.h>\n#include <stdlib.h>\n\n#include <asm/spinlock.h>\n#include <asm/machine.h>\n#inclu...
748
1
{"language": "c", "success": true, "metadata": {"lines": 94, "avg_line_length": 25.9, "nodes": 482, "errors": 0, "source_hash": "86d6499f3ef45c69e50d03274fb392a9cfea84efba275767505d5cdcc706285b", "categorized_nodes": 355}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
80,158
c
#ifndef OPENGL_LOW_LEVEL_H_ #define OPENGL_LOW_LEVEL_H_ #include "opengl_low_level/2d/opengl_2d_functions.h" #include "opengl_low_level/2d/opengl_2d_shape_primitives.h" #include "opengl_low_level/3d/opengl_3d_functions.h" #include "opengl_low_level/3d/opengl_3d_shape_primitives.h" #include "opengl_low_level/data_struc...
41.1
10
(translation_unit) "#ifndef OPENGL_LOW_LEVEL_H_\n#define OPENGL_LOW_LEVEL_H_\n\n#include "opengl_low_level/2d/opengl_2d_functions.h"\n#include "opengl_low_level/2d/opengl_2d_shape_primitives.h"\n#include "opengl_low_level/3d/opengl_3d_functions.h"\n#include "opengl_low_level/3d/opengl_3d_shape_primitives.h"\n#include "...
50
0
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 41.1, "nodes": 28, "errors": 0, "source_hash": "06d7b9ad87ac877298f50f4c2bb403786a79b657accbd8691dd1017c6df50a38", "categorized_nodes": 26}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef O...
80,159
c
#include "error.h" #include "format.h" #include "memctl/kernel.h" #include <assert.h> #include <stdio.h> #include <string.h> static size_t format(char *buffer, size_t size, const char *fmt, ...) { va_list ap; va_start(ap, fmt); int len = vsnprintf(buffer, size, fmt, ap); va_end(ap); return (len > 0 ? len : 0);...
28.05
199
(translation_unit) "#include "error.h"\n\n#include "format.h"\n\n#include "memctl/kernel.h"\n\n#include <assert.h>\n#include <stdio.h>\n#include <string.h>\n\nstatic size_t\nformat(char *buffer, size_t size, const char *fmt, ...) {\n va_list ap;\n va_start(ap, fmt);\n int len = vsnprintf(buffer, size, fmt, ap);\n va_en...
2,037
0
{"language": "c", "success": true, "metadata": {"lines": 199, "avg_line_length": 28.05, "nodes": 1255, "errors": 0, "source_hash": "e07925ab3665d7ff21312a14570f8a135ea296521bd00e936d95c108aa2b743d", "categorized_nodes": 829}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#i...
80,160
c
#pragma once #include <SDL_hints.h> #include <SDL.h> namespace Application { class Input { public: static void Tick(); static void OnEvent(SDL_Event& e); static bool GetKeyDown(SDL_Keycode key); static bool GetKeyUp(SDL_Keycode key); static bool GetKeyHold(SDL_Keycode key); static bool GetMouseDown(in...
24.69
32
(translation_unit) "ragma once\n#include <SDL_hints.h>\n#include <SDL.h>\nnamespace Application\n{\n class Input\n {\n public:\n static void Tick();\n static void OnEvent(SDL_Event& e);\n\n static bool GetKeyDown(SDL_Keycode key);\n static bool GetKeyUp(SDL_Keycode key);\n static bool GetKeyHold(SDL_Keycode key);\...
219
1
{"language": "c", "success": true, "metadata": {"lines": 32, "avg_line_length": 24.69, "nodes": 140, "errors": 0, "source_hash": "da765860b5bf9141b15bb081c81f3ddb9582316876dad913bd5cb7c7a69ec620", "categorized_nodes": 112}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "ragma o...
80,161
c
/*********************************************************** * FileName: Field.h * Author: binss * Create: 2015-12-08 21:17:41 * Description: No Description ***********************************************************/ #ifndef __FIELD_H__ #define __FIELD_H__ #include <string> #include <iostream> #i...
27.69
147
(ERROR) "/***********************************************************\n* FileName: Field.h\n* Author: binss\n* Create: 2015-12-08 21:17:41\n* Description: No Description\n***********************************************************/\n#ifndef __FIELD_H__\n#define __FIELD_H__\n\n#include <string>\n#in...
1,155
91
{"language": "c", "success": true, "metadata": {"lines": 147, "avg_line_length": 27.69, "nodes": 783, "errors": 0, "source_hash": "a5a7cbe9ac84ae7bb51183d180b8f04069b1a1ae08da2f30fbe603b48221e482", "categorized_nodes": 473}, "ast": {"root": "ERROR", "nodes": [{"id": 0, "type": "ERROR", "text": "/***********************...
80,162
c
/** * Universidad de La Laguna * Escuela Superior de Ingeniería y Tecnología * Grado en Ingeniería Informática * Informática Básica * * @author <NAME> * @date 25 Jun 2020 * @brief Desarrolle una clase Fecha que permita representar y gestionar fechas. Incorpore en la clase los miembros de datos * y méto...
31.46
41
(translation_unit) "/**\n * Universidad de La Laguna\n * Escuela Superior de Ingeniería y Tecnología\n * Grado en Ingeniería Informática\n * Informática Básica\n *\n * @author <NAME>\n * @date 25 Jun 2020\n * @brief Desarrolle una clase Fecha que permita representar y gestionar fechas. Incorpore en la clase los miembro...
315
19
{"language": "c", "success": true, "metadata": {"lines": 41, "avg_line_length": 31.46, "nodes": 196, "errors": 0, "source_hash": "c3a0660099bcd3a4221c6099245f7a855311dc53f5714fcbd0663ee4555a968a", "categorized_nodes": 131}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": " DATE_...
80,163
c
//+--------------------------------------------------------------------------- // // Microsoft Windows NT5.0 // Copyright (C) Microsoft Corporation, 1997-1999. // // File: O E M U P G E X . H // // Contents: Function prototypes needed for OEM network upgrade // // Notes: These functions are obsolete for W...
34.78
270
(translation_unit) "//+---------------------------------------------------------------------------\n//\n// Microsoft Windows NT5.0\n// Copyright (C) Microsoft Corporation, 1997-1999.\n//\n// File: O E M U P G E X . H\n//\n// Contents: Function prototypes needed for OEM network upgrade\n//\n// Notes: These...
974
58
{"language": "c", "success": true, "metadata": {"lines": 270, "avg_line_length": 34.78, "nodes": 644, "errors": 0, "source_hash": "49daa331032cba2aad66a7d78208bbba7381e49fbbdd3f9e2da845c3618055ab", "categorized_nodes": 451}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
80,164
c
/* Copyright 2020 The OneFlow Authors. 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 Unless required by applicable law or agre...
39.35
80
(translation_unit) "/*\nCopyright 2020 The OneFlow Authors. All rights reserved.\n\nLicensed under the Apache License, Version 2.0 (the "License");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless requi...
660
24
{"language": "c", "success": true, "metadata": {"lines": 80, "avg_line_length": 39.35, "nodes": 361, "errors": 0, "source_hash": "552b3ebb7ae3dc0d1acf95aed84aad8ec1eb5d212858156642f260774e86cf44", "categorized_nodes": 244}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
80,165
c
#include <stdio.h> void predigito(char primeiroDigito, char proximoDigito); void posdigito(char digitoRomano, int numeroArabico); void imprimirValorRomanoConvertido(int numeroArabico); char digitosRomanos[50]; int indice = 0; int numeroArabico; int main(){ printf("Informe um valor entre 1 e 50: "); scanf("%d...
26.78
77
(translation_unit) "#include <stdio.h>\n \nvoid predigito(char primeiroDigito, char proximoDigito);\nvoid posdigito(char digitoRomano, int numeroArabico);\nvoid imprimirValorRomanoConvertido(int numeroArabico);\n \nchar digitosRomanos[50];\nint indice = 0;\nint numeroArabico;\n\nint main(){\n \n printf("Informe um val...
692
0
{"language": "c", "success": true, "metadata": {"lines": 77, "avg_line_length": 26.78, "nodes": 401, "errors": 0, "source_hash": "c32558f4c2af8a7c9748742228f94fd7e33eb713227da29ccbc7691b2cc71c9f", "categorized_nodes": 272}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
80,166
c
#pragma once namespace torch { namespace autograd { void initFFTFunctions(PyObject* module); }} // namespace torch::autograd
30.25
4
(translation_unit) "#pragma once\n\nnamespace torch { namespace autograd {\n\nvoid initFFTFunctions(PyObject* module);\n\n}} // namespace torch::autograd\n" (preproc_call) "#pragma once\n" (preproc_directive) "#pragma" (preproc_arg) "once" (function_definition) "namespace torch { namespace autograd {\n\nvoi...
30
0
{"language": "c", "success": true, "metadata": {"lines": 4, "avg_line_length": 30.25, "nodes": 19, "errors": 0, "source_hash": "54882399595985136f583b0e66277a10a3890fb7a6fdc7e0da2d4efb28a2dccf", "categorized_nodes": 13}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma on...
80,167
c
// // LLDOReceiver.h // MacTrek // // Created by Aqua on 27/04/2006. // Copyright 2006 Luky Soft. LGPL Licence. // #import <Cocoa/Cocoa.h> #import "LLDOProxy.h" #import "LLObject.h" @interface LLDOReceiver : LLObject <LLDOProxy> { id target; SEL selector; NSConnection *theConnection; } // this is the target...
21
20
(translation_unit) "//\n// LLDOReceiver.h\n// MacTrek\n//\n// Created by Aqua on 27/04/2006.\n// Copyright 2006 Luky Soft. LGPL Licence.\n//\n\n#import <Cocoa/Cocoa.h>\n#import "LLDOProxy.h"\n#import "LLObject.h"\n\n\n@interface LLDOReceiver : LLObject <LLDOProxy> {\n id target;\n SEL selector;\n NSConnection *the...
75
7
{"language": "c", "success": true, "metadata": {"lines": 20, "avg_line_length": 21.0, "nodes": 46, "errors": 0, "source_hash": "757f9e254f20003bd7f234fa01edb40d35a490c06f43c265b40f2ffcb965b120", "categorized_nodes": 26}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <C...
80,168
c
#pragma once #include"RxData/IncludeExtLibs.h" #include"RxData/cache/observer/CacheListener.h" #include"RxData/cache/CacheDescription.h" #include"RxData/cache/object/ObjectCache.h" #include"RxData/cache/object/policy/ObjectHomePolicy.h" #include"RxData/Export.h" namespace RxData { /* DDS::DomainParticipant_var dp; ...
31.86
114
(translation_unit) "#pragma once\n\n#include"RxData/IncludeExtLibs.h"\n\n#include"RxData/cache/observer/CacheListener.h"\n#include"RxData/cache/CacheDescription.h"\n#include"RxData/cache/object/ObjectCache.h"\n#include"RxData/cache/object/policy/ObjectHomePolicy.h"\n\n#include"RxData/Export.h"\nnamespace RxData\n{\n\n/...
303
24
{"language": "c", "success": true, "metadata": {"lines": 114, "avg_line_length": 31.86, "nodes": 174, "errors": 0, "source_hash": "8f0e8982fa55d52c0a5ac11c6e9400a5d726a7f4f19433b395411df26eadfd14", "categorized_nodes": 125}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragm...
80,169
c
// // WVRCollectionController.h // WhaleyVR // // Created by qbshen on 2017/1/6. // Copyright © 2017年 Snailvr. All rights reserved. // #import "WVRTableViewController.h" @interface WVRCollectionController : WVRTableViewController @end
22.9
10
(translation_unit) "//\n// WVRCollectionController.h\n// WhaleyVR\n//\n// Created by qbshen on 2017/1/6.\n// Copyright © 2017年 Snailvr. All rights reserved.\n//\n\n#import "WVRTableViewController.h"\n\n@interface WVRCollectionController : WVRTableViewController\n\n@end\n" (comment) "//" (comment) "// WVRCollec...
19
3
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 22.9, "nodes": 10, "errors": 0, "source_hash": "9a863c871ac08b3e245aa8d74ccd8a02050a0310ac08a72c5d140f373b36bd2c", "categorized_nodes": 5}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "port \"WVRT...
80,170
c
#ifndef __MESSAGE_H #define __MESSAGE_H void message_screenOn(char* message); void message_loading(char* message); void message_screenOff(void); uint16_t message_ask(char* message); #endif
16.18
11
(translation_unit) "#ifndef __MESSAGE_H\n#define __MESSAGE_H\n\nvoid\nmessage_screenOn(char* message);\nvoid\nmessage_loading(char* message);\nvoid\nmessage_screenOff(void);\nuint16_t\nmessage_ask(char* message);\n#endif\n" (preproc_ifdef) "#ifndef __MESSAGE_H\n#define __MESSAGE_H\n\nvoid\nmessage_screenOn(char* mess...
57
0
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 16.18, "nodes": 44, "errors": 0, "source_hash": "8c830b5c32a5f3e6618071a3e7f875d33ce1e63a9b9b035944a7d10e8a71249e", "categorized_nodes": 24}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
80,171
c
#ifndef __LV2_FONT_H__ #define __LV2_FONT_H__ #include <ppu-types.h> #include <font/fontset.h> #define FONT_LIBRARY_TYPE_NONE 0 #ifdef __cplusplus extern "C" { #endif typedef void* (*fontMallocCallback)(void *object,u32 size); typedef void (*fontFreeCallback)(void *object,void *ptr); typedef void* (*fontReall...
33.17
237
(translation_unit) "#ifndef __LV2_FONT_H__\n#define __LV2_FONT_H__\n\n#include <ppu-types.h>\n\n#include <font/fontset.h>\n\n#define FONT_LIBRARY_TYPE_NONE 0\n\n#ifdef __cplusplus\nextern "C" {\n#endif\n\ntypedef void* (*fontMallocCallback)(void *object,u32 size);\ntypedef void (*fontFreeCallback)(void *object,voi...
2,417
13
{"language": "c", "success": true, "metadata": {"lines": 237, "avg_line_length": 33.17, "nodes": 1803, "errors": 0, "source_hash": "9fa809f9dc72c84c8f9f32af555606825218fe6f9a7bf25a152af27fe3477e4c", "categorized_nodes": 1291}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#if...
80,172
c
// // WebViewPreviewController.h // Playground // // Created by <NAME> on 11/19/12. // Copyright (c) 2012 Pixate, Inc. All rights reserved. // #import <UIKit/UIKit.h> @interface WebViewPreviewController : UIViewController <UIWebViewDelegate, UITextFieldDelegate> @property (nonatomic, strong) IBOutlet UIWebView *...
34.86
14
(translation_unit) "//\n// WebViewPreviewController.h\n// Playground\n//\n// Created by <NAME> on 11/19/12.\n// Copyright (c) 2012 Pixate, Inc. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface WebViewPreviewController : UIViewController <UIWebViewDelegate, UITextFieldDelegate>\n\n@property (nonatom...
98
13
{"language": "c", "success": true, "metadata": {"lines": 14, "avg_line_length": 34.86, "nodes": 66, "errors": 0, "source_hash": "5f1641ff33d02be89ab05b3e5b0d860952c5c0b2b2a138037aed4829f441050e", "categorized_nodes": 38}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <...
80,173
c
#include "blocklist.h" /********************* * STRUCTURES * *********************/ struct blocklist { struct block* p_block; struct blocklist* p_rest; }; /********************* * FUNCTIONS * *********************/ /* * Removes front element from the list. */ void blocklist_pop_front(str...
22.36
33
(translation_unit) "#include "blocklist.h"\n\n\n/*********************\n * STRUCTURES *\n *********************/\n\nstruct blocklist {\n struct block* p_block;\n struct blocklist* p_rest;\n};\n\n\n/*********************\n * FUNCTIONS *\n *********************/\n\n\n/*\n * Removes front element from the...
197
0
{"language": "c", "success": true, "metadata": {"lines": 33, "avg_line_length": 22.36, "nodes": 132, "errors": 0, "source_hash": "61e41ea8e896a2bbe22716fa4208797cbb7e1436da75843255d8029cf75d3242", "categorized_nodes": 87}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
80,174
c
// This file was generated based on C:/Users/JuanJose/AppData/Local/Fusetools/Packages/Fuse.Reactive/1.9.0/ObserverMap.uno. // WARNING: Changes might be lost if you edit this file directly. #pragma once #include <Fuse.IArray.h> #include <Uno.Object.h> namespace g{namespace Fuse{namespace Reactive{struct ObserverMap;}}...
40.84
31
(translation_unit) "// This file was generated based on C:/Users/JuanJose/AppData/Local/Fusetools/Packages/Fuse.Reactive/1.9.0/ObserverMap.uno.\n// WARNING: Changes might be lost if you edit this file directly.\n\n#pragma once\n#include <Fuse.IArray.h>\n#include <Uno.Object.h>\nnamespace g{namespace Fuse{namespace Reac...
356
17
{"language": "c", "success": true, "metadata": {"lines": 31, "avg_line_length": 40.84, "nodes": 212, "errors": 0, "source_hash": "785019fd46537259c029023444430905ab22b176d0edff7dc4f793b8af9d8714", "categorized_nodes": 144}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
80,175
c
/* This file is part of the HWA project. * Copyright (c) 2012,2015 <NAME>. * All rights reserved. Read LICENSE.TXT for details. */ /** * @example * * This example is meant to validate the porting of HWA to the Atmel AVR ATtinyX5. * * Generate a complementary PWM signal with dead time using counter1. */ #...
29.28
53
(translation_unit) "/* This file is part of the HWA project.\n * Copyright (c) 2012,2015 <NAME>.\n * All rights reserved. Read LICENSE.TXT for details.\n */\n\n/**\n * @example\n *\n * This example is meant to validate the porting of HWA to the Atmel AVR ATtinyX5.\n *\n * Generate a complementary PWM signal with dea...
268
0
{"language": "c", "success": true, "metadata": {"lines": 53, "avg_line_length": 29.28, "nodes": 166, "errors": 0, "source_hash": "c660f40494ca7b45aeb4289fa3e02a9679e347ec58b0130ef3806619beda7baa", "categorized_nodes": 113}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
80,176
c
#include "hvr_sparse_arr.h" #include <assert.h> #include <stdio.h> #include <stdlib.h> int main(int argc, char **argv) { hvr_sparse_arr_t arr; hvr_sparse_arr_init(&arr, 2000); assert(hvr_sparse_arr_contains(3, 3, &arr) == 0); hvr_sparse_arr_insert(3, 3, &arr); assert(hvr_sparse_arr_contains(3, 3...
38.55
29
(translation_unit) "#include "hvr_sparse_arr.h"\n\n#include <assert.h>\n#include <stdio.h>\n#include <stdlib.h>\n\nint main(int argc, char **argv) {\n hvr_sparse_arr_t arr;\n hvr_sparse_arr_init(&arr, 2000);\n\n assert(hvr_sparse_arr_contains(3, 3, &arr) == 0);\n\n hvr_sparse_arr_insert(3, 3, &arr);\n as...
432
0
{"language": "c", "success": true, "metadata": {"lines": 29, "avg_line_length": 38.55, "nodes": 259, "errors": 0, "source_hash": "7053e39d853a84df67a9ce42a6cb77bf8c341a337ce304cdfe1e7d62321db625", "categorized_nodes": 194}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
80,177
c
/* ** Copyright 2005-2017 Solarflare Communications Inc. ** 7505 Irvine Center Drive, Irvine, CA 92618, USA ** Copyright 2002-2005 Level 5 Networks Inc. ** ** This program is free software; you can redistribute it and/or modify it ** under the terms of version 2 of the GNU General Public License ...
36.87
46
(translation_unit) "/*\n** Copyright 2005-2017 Solarflare Communications Inc.\n** 7505 Irvine Center Drive, Irvine, CA 92618, USA\n** Copyright 2002-2005 Level 5 Networks Inc.\n**\n** This program is free software; you can redistribute it and/or modify it\n** under the terms of version 2 of the G...
102
0
{"language": "c", "success": true, "metadata": {"lines": 46, "avg_line_length": 36.87, "nodes": 76, "errors": 0, "source_hash": "1cdfc932ebfca70a69631e47a2a1d176b3254099b17effb975a1a952c5d06bd5", "categorized_nodes": 57}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
80,178
c
//mmlibc/include/mmbits/define_map_options.h //Fragment for building C standard headers. //<NAME> <<EMAIL>> 2020 #ifndef _DEFINE_MAP_OPTIONS_H #define _DEFINE_MAP_OPTIONS_H //Like Linux #define MAP_FIXED 0x10 #define MAP_PRIVATE 0x2 #define MAP_SHARED 0x1 #define MAP_ANONYMOUS 0x20 #endif //_DEFINE_MAP_OPTIONS_H
27.55
11
(translation_unit) "//mmlibc/include/mmbits/define_map_options.h\n//Fragment for building C standard headers.\n//<NAME> <<EMAIL>> 2020\n#ifndef _DEFINE_MAP_OPTIONS_H\n#define _DEFINE_MAP_OPTIONS_H\n\n//Like Linux\n#define MAP_FIXED 0x10\n#define MAP_PRIVATE 0x2\n#define MAP_SHARED 0x1\n#define MAP_ANONYMOUS 0x20\n\n#en...
29
0
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 27.55, "nodes": 23, "errors": 0, "source_hash": "95179f3f4978af9f00f8532e75bea99ab74333500aa3173a15550f7649874cff", "categorized_nodes": 9}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef _...
80,179
c
#ifndef UICORE_H #define UICORE_H #include <glibmm/ustring.h> #include <sigc++/sigc++.h> #include "textkey.h" /** marker for internal tag for an icon */ typedef const char * IconKey; /** abstract enumeration, convert index into text. */ typedef sigc::slot < Glib::ustring, int /*ordinal*/ > Textifier; /** Translate ...
36.33
27
(translation_unit) "#ifndef UICORE_H\n#define UICORE_H\n\n#include <glibmm/ustring.h>\n#include <sigc++/sigc++.h>\n#include "textkey.h"\n\n/** marker for internal tag for an icon */\ntypedef const char * IconKey;\n\n/** abstract enumeration, convert index into text. */\ntypedef sigc::slot < Glib::ustring, int /*ordinal...
157
8
{"language": "c", "success": true, "metadata": {"lines": 27, "avg_line_length": 36.33, "nodes": 99, "errors": 0, "source_hash": "25a6091f19585a1acf2ab4de9806becbcaf951ffda0fcae67fe3f11806e217f3", "categorized_nodes": 59}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
80,180
c
#ifndef __OSPLATFORMDEF_H__ #define __OSPLATFORMDEF_H__ #include <stdio.h> #include <stdint.h> #ifdef __cplusplus extern "C" { #endif typedef unsigned char os_byte_t; typedef unsigned long os_size_t; //////////////////////////////////////////////////////////////////////////////////////////////////////////////// #define...
29.32
34
(translation_unit) "#ifndef __OSPLATFORMDEF_H__\n#define __OSPLATFORMDEF_H__\n#include <stdio.h>\n#include <stdint.h>\n#ifdef __cplusplus\nextern "C"\n{\n#endif\ntypedef unsigned char os_byte_t;\ntypedef unsigned long os_size_t;\n//////////////////////////////////////////////////////////////////////////////////////////...
115
0
{"language": "c", "success": true, "metadata": {"lines": 34, "avg_line_length": 29.32, "nodes": 92, "errors": 0, "source_hash": "d885efd1af8b947f12b9e6e9c2ba0daae3b01b8fe4ae6750e7982f53550afb0f", "categorized_nodes": 52}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
80,181
c
/* * CDDL HEADER START * * The contents of this file are subject to the terms of the * Common Development and Distribution License, Version 1.0 only * (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 * o...
30.22
88
(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, Version 1.0 only\n * (the "License"). You may not use this file except in compliance\n * with the License.\n *\n * You can obtain a copy of the license at usr/...
199
0
{"language": "c", "success": true, "metadata": {"lines": 88, "avg_line_length": 30.22, "nodes": 136, "errors": 0, "source_hash": "0860c82791d9e5b69a48d4906eabad66bc52225eb960ba13875c85693ea3478f", "categorized_nodes": 83}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
80,182
c
/* * Copyright 2018 Robotic Eyes GmbH * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
23.63
105
(translation_unit) "/*\n * Copyright 2018 Robotic Eyes GmbH\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required ...
751
0
{"language": "c", "success": true, "metadata": {"lines": 105, "avg_line_length": 23.63, "nodes": 471, "errors": 0, "source_hash": "a50adf23ac3dc9200b9e714e1462145677c59e984f0a329a33a765a5b04f79f7", "categorized_nodes": 302}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
80,183
c
/* * FILENAME: nptcp.h * * Copyright 1997 - 2000 By InterNiche Technologies Inc. All rights reserved * * File to MAP TCP's Berserkly-isms into NetPort/InterNiche IP Stack. * * MODULE: TCP * * * PORTABLE: yes */ /* Additional Copyrights: */ /* Portions Copyright 1996 by NetPort Software. All rights reserved....
37.71
297
(translation_unit) "/*\n * FILENAME: nptcp.h\n *\n * Copyright 1997 - 2000 By InterNiche Technologies Inc. All rights reserved\n *\n * File to MAP TCP's Berserkly-isms into NetPort/InterNiche IP Stack.\n *\n * MODULE: TCP\n *\n *\n * PORTABLE: yes\n */\n\n/* Additional Copyrights: */\n/* Portions Copyright 1996 by NetP...
1,461
2
{"language": "c", "success": true, "metadata": {"lines": 297, "avg_line_length": 37.71, "nodes": 1154, "errors": 0, "source_hash": "ff7353df84712fa1cfe3f9698a257c80bae8304af60af60fd2162884d8be65e0", "categorized_nodes": 498}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifn...
80,184
c
// // NSData+FHDigests.h // FontHelper // // Add md5sum and sha1sum methods (returning lowercase hex nsstrings) to NSData and NSInputStream instances. #import <Foundation/Foundation.h> @interface NSData (FHDigests) - (NSString*) md5sum; - (NSString*) sha1sum; @end #ifndef READ_CHUNK_SIZE #define READ_CHUNK_SIZ...
20.95
19
(translation_unit) "//\n// NSData+FHDigests.h\n// FontHelper\n//\n// Add md5sum and sha1sum methods (returning lowercase hex nsstrings) to NSData and NSInputStream instances.\n\n#import <Foundation/Foundation.h>\n\n\n@interface NSData (FHDigests)\n\n- (NSString*) md5sum;\n- (NSString*) sha1sum;\n\n@end\n\n\n#ifndef R...
93
8
{"language": "c", "success": true, "metadata": {"lines": 19, "avg_line_length": 20.95, "nodes": 61, "errors": 0, "source_hash": "86cdc01d75824274150fb6183a828938edd9ffa840f0ee01773c59d3593150a1", "categorized_nodes": 30}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <...
80,185
c
#include "PCH.h" #include "RE/G/GFxValue.h" #include "RE/G/GPtr.h" class oxygenMenu : RE::IMenu { public: static constexpr const char* MENU_PATH = "oxygenMeter"; static constexpr const char* MENU_NAME = "oxygenMeter"; oxygenMenu(); static void Register(); static void Show(); static void Hide(); stati...
30.36
39
(translation_unit) "#include "PCH.h"\n#include "RE/G/GFxValue.h"\n#include "RE/G/GPtr.h"\n\nclass oxygenMenu : RE::IMenu\n{\npublic:\n static constexpr const char* MENU_PATH = "oxygenMeter";\n static constexpr const char* MENU_NAME = "oxygenMeter";\n\n oxygenMenu();\n\n static void Register();\n static void Sh...
501
19
{"language": "c", "success": true, "metadata": {"lines": 39, "avg_line_length": 30.36, "nodes": 265, "errors": 0, "source_hash": "3e289b64c8fc9f71681528f13354119f35b9e4fd49ea73abcd4ca0664a746a2f", "categorized_nodes": 171}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
80,186
c
/* * If not stated otherwise in this file or this component's LICENSE file the * following copyright and licenses apply: * * Copyright 2011 RDK Management * * 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...
33.86
44
(translation_unit) "/*\n* If not stated otherwise in this file or this component's LICENSE file the\n* following copyright and licenses apply:\n*\n* Copyright 2011 RDK Management\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* ...
152
0
{"language": "c", "success": true, "metadata": {"lines": 44, "avg_line_length": 33.86, "nodes": 114, "errors": 0, "source_hash": "f0f6f2d457ad8d1ba424603898010aab51e99bc123cf8ce52eea42f2991dd1c0", "categorized_nodes": 79}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
80,187
c
/* convert.h */ /* Temperature, mm and speed conversion */ #ifndef CONVERT_H #define CONVERT_H 1 float convert_temp(float c, int f) ; float convert_speed(float s, int m) ; float convert_barom(float b, int inchesHg) ; float convert_mm(float r, int mm) ; char *convert_mm_string(float r, int mm, int comma) ; float conv...
25.02
41
(translation_unit) "/* convert.h */\n\n/* Temperature, mm and speed conversion */\n\n#ifndef CONVERT_H\n#define CONVERT_H 1\n\nfloat convert_temp(float c, int f) ;\nfloat convert_speed(float s, int m) ;\nfloat convert_barom(float b, int inchesHg) ;\nfloat convert_mm(float r, int mm) ;\nchar *convert_mm_string(float r, ...
223
0
{"language": "c", "success": true, "metadata": {"lines": 41, "avg_line_length": 25.02, "nodes": 177, "errors": 0, "source_hash": "c46d2e6f3cc298bc935db7dd12aa8a6e15229d2fb09237b682f9a15912000c4a", "categorized_nodes": 99}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
80,188
c
/* **** Notes Restore. Remarks: Refer at fn. rule_b, store_rule_b, and backup_rule_b. Based on rule *(CLI_BASE+(R(rule,ty. */ # define CAR # include "../../../incl/config.h" signed(__cdecl restore_rule_b(signed short(arg_b),signed(arg),rule_t(*argp))) { auto signed char *b; auto rule_t *rule; auto signed r; auto ...
22.56
25
(translation_unit) "/* **** Notes\n\nRestore.\n\nRemarks:\nRefer at fn. rule_b, store_rule_b, and backup_rule_b.\nBased on rule *(CLI_BASE+(R(rule,ty.\n*/\n\n\n# define CAR\n# include "../../../incl/config.h"\n\nsigned(__cdecl restore_rule_b(signed short(arg_b),signed(arg),rule_t(*argp))) {\n\nauto signed char *b;\naut...
244
0
{"language": "c", "success": true, "metadata": {"lines": 25, "avg_line_length": 22.56, "nodes": 152, "errors": 0, "source_hash": "785006dd713158e1f37e4eb1271697197e9b52be40ea85e74c13778e06ebd226", "categorized_nodes": 109}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_def", "text": "# define...
80,189
c
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #ifndef VPNCONNECTION_H #define VPNCONNECTION_H #include "json.hpp" #ifdef MVPN_WINDOWS # include <winsock2.h> ...
22.18
45
(translation_unit) "/* This Source Code Form is subject to the terms of the Mozilla Public\n * License, v. 2.0. If a copy of the MPL was not distributed with this\n * file, You can obtain one at http://mozilla.org/MPL/2.0/. */\n\n#ifndef VPNCONNECTION_H\n#define VPNCONNECTION_H\n\n#include "json.hpp"\n\n#ifdef MVPN_WIN...
234
7
{"language": "c", "success": true, "metadata": {"lines": 45, "avg_line_length": 22.18, "nodes": 150, "errors": 0, "source_hash": "d32f0200e56615041594439496f165b4d9cce8e8d871a46b65457dad3a1ee503", "categorized_nodes": 98}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
80,190
c
/* * lclimpfn.h - generic function implementation macros for MAXScript SDK plug-ins */ #include "ClassCfg.h" #ifdef def_local_generic # undef def_local_generic # undef use_local_generic #endif #ifdef use_generic # undef use_generic #endif #define def_local_generic(fn, name) \ Value* fn##_vf(Value** arglist, in...
33
17
(translation_unit) "/* \n * lclimpfn.h - generic function implementation macros for MAXScript SDK plug-ins\n */\n\n#include "ClassCfg.h"\n\n#ifdef def_local_generic\n# undef def_local_generic\n# undef use_local_generic\n#endif\n#ifdef use_generic\n# undef use_generic\n#endif\n\n\n#define def_local_generic(fn, name) \\...
66
0
{"language": "c", "success": true, "metadata": {"lines": 17, "avg_line_length": 33.0, "nodes": 50, "errors": 0, "source_hash": "dac4b325969120a5caf6b84e7fac1f8407971b2929190c2ec5b7526cb09b745f", "categorized_nodes": 30}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#includ...
80,191
c
/*捂脸猫FaceCat框架 v1.0 1.创始人-矿洞程序员-上海宁米科技创始人-脉脉KOL-陶德 (微信号:suade1984); 2.联合创始人-上海宁米科技创始人-袁立涛(微信号:wx627378127); 3.联合创始人-肖添龙(微信号:xiaotianlong_luu); 4.联合开发者-陈晓阳(微信号:chenxiaoyangzxy),助理-朱炜(微信号:cnnic_zhu) 5.该框架开源协议为BSD,欢迎对我们的创业活动进行各种支持,欢迎更多开发者加入。 包含C/C++,Java,C#,iOS,MacOS,Linux六个版本的图形和通讯服务框架。 */ #ifndef __FCTABCONTROL_...
20.35
190
(translation_unit) "/*捂脸猫FaceCat框架 v1.0\n 1.创始人-矿洞程序员-上海宁米科技创始人-脉脉KOL-陶德 (微信号:suade1984);\n 2.联合创始人-上海宁米科技创始人-袁立涛(微信号:wx627378127);\n 3.联合创始人-肖添龙(微信号:xiaotianlong_luu);\n 4.联合开发者-陈晓阳(微信号:chenxiaoyangzxy),助理-朱炜(微信号:cnnic_zhu)\n 5.该框架开源协议为BSD,欢迎对我们的创业活动进行各种支持,欢迎更多开发者加入。\n 包含C/C++,Java,C#,iOS,MacOS,Linux六个版本的图形和通讯服务框架。\n ...
517
28
{"language": "c", "success": true, "metadata": {"lines": 190, "avg_line_length": 20.35, "nodes": 340, "errors": 0, "source_hash": "2c0d686dee3fe9715e6988c81b0074904a38c474bf4d728cd2d4ac7ec8ade070", "categorized_nodes": 238}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": " T...
80,192
c
#include "Common.hpp" void bustools_collapse(Bustools_opt &opt);
31.5
2
(translation_unit) "#include "Common.hpp"\n\nvoid bustools_collapse(Bustools_opt &opt);\n" (preproc_include) "#include "Common.hpp"\n" (#include) "#include" (string_literal) ""Common.hpp"" (") """ (string_content) "Common.hpp" (") """ (declaration) "void bustools_collapse(Bustools_opt &opt...
20
1
{"language": "c", "success": true, "metadata": {"lines": 2, "avg_line_length": 31.5, "nodes": 11, "errors": 0, "source_hash": "4616a6953b623b5b35e59349c717e397ad33572e35b0ef37312d3eedd0f5fa7d", "categorized_nodes": 9}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#include ...
80,193
c
#ifndef KEYDIALOG_H #define KEYDIALOG_H #include <QDialog> #include <QValidator> namespace Ui { class KeyDialog; } class Ascii85Validator : public QValidator { public: Ascii85Validator(QObject * parent); QValidator::State validate(QString &s, int &i) const; }; class HexValidator : public QValidator { publi...
22.07
41
(translation_unit) "#ifndef KEYDIALOG_H\n#define KEYDIALOG_H\n\n#include <QDialog>\n#include <QValidator>\n\nnamespace Ui {\nclass KeyDialog;\n}\n\nclass Ascii85Validator : public QValidator\n{\npublic:\n Ascii85Validator(QObject * parent);\n\n QValidator::State validate(QString &s, int &i) const;\n};\n\nclass He...
269
11
{"language": "c", "success": true, "metadata": {"lines": 41, "avg_line_length": 22.07, "nodes": 152, "errors": 0, "source_hash": "a13875b47f7a6c30c416df9421f880374a3767628032849b35a76eaec9d4d39d", "categorized_nodes": 105}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
80,194
c
#ifndef VLCSERVICE_H #define VLCSERVICE_H #include "player/MediaEngine.h" #include <QObject> struct libvlc_instance_t; class VLCPlayerControl; class VLCMetadataControl; class VLCEnginePrivate; class VLCEngine : public MediaEngine { Q_OBJECT Q_DECLARE_PRIVATE(VLCEngine) public: explicit VLCEngine(QObject...
27
24
(translation_unit) "#ifndef VLCSERVICE_H\n#define VLCSERVICE_H\n\n#include "player/MediaEngine.h"\n\n#include <QObject>\n\nstruct libvlc_instance_t;\nclass VLCPlayerControl;\nclass VLCMetadataControl;\n\nclass VLCEnginePrivate;\nclass VLCEngine : public MediaEngine\n{\n Q_OBJECT\n Q_DECLARE_PRIVATE(VLCEngine)\npu...
161
7
{"language": "c", "success": true, "metadata": {"lines": 24, "avg_line_length": 27.0, "nodes": 105, "errors": 0, "source_hash": "017aa4c02694c8d74bd342702905427624f67141bde8016ce5baa3736d607358", "categorized_nodes": 62}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
80,195
c
// See: https://root.cern.ch/selecting-dictionary-entries-linkdefh #ifdef __CINT__ #pragma link off all globals; #pragma link off all classes; #pragma link off all functions; #pragma link C++ nestedclasses; #pragma link C++ class Simple+; #endif
29.75
8
(translation_unit) "// See: https://root.cern.ch/selecting-dictionary-entries-linkdefh\n#ifdef __CINT__\n\n#pragma link off all globals;\n#pragma link off all classes;\n#pragma link off all functions;\n#pragma link C++ nestedclasses;\n\n#pragma link C++ class Simple+;\n\n#endif\n" (comment) "// See: https://root.cern...
21
0
{"language": "c", "success": true, "metadata": {"lines": 8, "avg_line_length": 29.75, "nodes": 19, "errors": 0, "source_hash": "ea6c96e92ca0400906bc389314cf9d0932d77e8c6ffd0ab34ec6e8a0a01a0ab9", "categorized_nodes": 9}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifdef __C...
80,196
c
/* * This header is generated by classdump-dyld 1.0 * on Saturday, June 1, 2019 at 6:48:04 PM Mountain Standard Time * Operating System: Version 12.1.1 (Build 16C5050a) * Image Source: /System/Library/PrivateFrameworks/ChatKit.framework/ChatKit * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by <NAME>. ...
42
20
(translation_unit) "/*\n* This header is generated by classdump-dyld 1.0\n* on Saturday, June 1, 2019 at 6:48:04 PM Mountain Standard Time\n* Operating System: Version 12.1.1 (Build 16C5050a)\n* Image Source: /System/Library/PrivateFrameworks/ChatKit.framework/ChatKit\n* classdump-dyld is licensed under GPLv3, Copyrigh...
141
14
{"language": "c", "success": true, "metadata": {"lines": 20, "avg_line_length": 42.0, "nodes": 82, "errors": 0, "source_hash": "5895896548c683f1a5e6516f4eb7412f201629219cdda0206a3e532282ca1b91", "categorized_nodes": 50}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <UI...
80,197
c
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by <NAME>. // #import "_MSStyledLayer.h" @interface MSStyledLayer : _MSStyledLayer { BOOL ignoreStyleDidChangeNotifications; } + (void)pasteExportOptions:(id)arg1 onLayers:(id)arg2; + (void)paste...
34.42
31
(translation_unit) "//\n// Generated by class-dump 3.5 (64 bit).\n//\n// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by <NAME>.\n//\n\n#import "_MSStyledLayer.h"\n\n@interface MSStyledLayer : _MSStyledLayer\n{\n BOOL ignoreStyleDidChangeNotifications;\n}\n\n+ (void)pasteExportOptions:(id)arg1...
348
22
{"language": "c", "success": true, "metadata": {"lines": 31, "avg_line_length": 34.42, "nodes": 202, "errors": 0, "source_hash": "b46bd7affad1e84c4c31478e3a9c10e64f1f332c4d3628e93d53c0a6de6f37e7", "categorized_nodes": 126}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import...
80,198
c
#ifndef APPROVALTESTS_CPP_QT_LOADAPPROVALS_H #define APPROVALTESTS_CPP_QT_LOADAPPROVALS_H // Never #include "ApprovalTests.hpp" directly in this project: // #include "ApprovalTestsQt/integrations/LoadApprovals.h" instead // <SingleHpp unalterable> // clang-format off #if defined(APPROVALS_CATCH_QT) #define CATCH_...
33.87
15
(translation_unit) "#ifndef APPROVALTESTS_CPP_QT_LOADAPPROVALS_H\n#define APPROVALTESTS_CPP_QT_LOADAPPROVALS_H\n\n// Never #include "ApprovalTests.hpp" directly in this project:\n// #include "ApprovalTestsQt/integrations/LoadApprovals.h" instead\n\n// <SingleHpp unalterable>\n// clang-format off\n#if defined(APPROVALS_...
36
0
{"language": "c", "success": true, "metadata": {"lines": 15, "avg_line_length": 33.87, "nodes": 26, "errors": 0, "source_hash": "44bf5d49e9a3db45e725f9cf7882fadb7b111ca8edcb6848da5e2d4c136178db", "categorized_nodes": 17}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
80,199