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
/* Simple DirectMedia Layer Copyright (C) 1997-2012 <NAME> <<EMAIL>> 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 ...
29.67
129
(translation_unit) "/*\n Simple DirectMedia Layer\n Copyright (C) 1997-2012 <NAME> <<EMAIL>>\n\n This software is provided 'as-is', without any express or implied\n warranty. In no event will the authors be held liable for any damages\n arising from the use of this software.\n\n Permission is granted to anyone t...
386
0
{"language": "c", "success": true, "metadata": {"lines": 129, "avg_line_length": 29.67, "nodes": 364, "errors": 0, "source_hash": "714915ab8023ef3d1089e1b70a76ab9dc52c7e58f1d35725375a02b9e175b3ed", "categorized_nodes": 99}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
78,500
c
#include <stdlib.h> #include <string.h> #include <stdio.h> #include "v1_validating_webhook.h" v1_validating_webhook_t *v1_validating_webhook_create( list_t *admissionReviewVersions, admissionregistration_v1_webhook_client_config_t *clientConfig, char *failurePolicy, char *matchPolicy, char *name,...
35.2
294
(translation_unit) "#include <stdlib.h>\n#include <string.h>\n#include <stdio.h>\n#include "v1_validating_webhook.h"\n\n\n\nv1_validating_webhook_t *v1_validating_webhook_create(\n list_t *admissionReviewVersions,\n admissionregistration_v1_webhook_client_config_t *clientConfig,\n char *failurePolicy,\n cha...
2,013
0
{"language": "c", "success": true, "metadata": {"lines": 294, "avg_line_length": 35.2, "nodes": 1152, "errors": 0, "source_hash": "aff5ef93c271df527d3ee73dba8c2c57d23b555e820e4843b810af64098e88be", "categorized_nodes": 757}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
78,501
c
// // Created by faguilar on 19/10/20. // #include "bit.h" #include <stdio.h> #include <stdlib.h> int main(int argn, char **argv) { char c;//1 bit int i; double d; c = 255;//'J' i = 1024; d = 3.1416; printf("%c\t%i\t%le\n", c, i, d ); print_bit(c); }
16.69
16
(translation_unit) "//\n// Created by faguilar on 19/10/20.\n//\n#include "bit.h"\n#include <stdio.h>\n#include <stdlib.h>\n\nint main(int argn, char **argv) {\n char c;//1 bit\n int i;\n double d;\n\n c = 255;//'J'\n i = 1024;\n d = 3.1416;\n\n printf("%c\t%i\t%le\n", c, i, d );\n print_bit(c);...
99
0
{"language": "c", "success": true, "metadata": {"lines": 16, "avg_line_length": 16.69, "nodes": 59, "errors": 0, "source_hash": "8db21045c38708469d95b647dd9f16cbe710375d8d3b3b7c63e1f63dd4981290", "categorized_nodes": 40}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
78,502
c
// // PYPodText.h // podTextProject // // Created by yang.pu on 2020/12/4. // #import <Foundation/Foundation.h> NS_ASSUME_NONNULL_BEGIN @interface PYPodText : NSObject @end NS_ASSUME_NONNULL_END
17
11
(translation_unit) "//\n// PYPodText.h\n// podTextProject\n//\n// Created by yang.pu on 2020/12/4.\n//\n\n#import <Foundation/Foundation.h>\n\nNS_ASSUME_NONNULL_BEGIN\n\n@interface PYPodText : NSObject\n\n@end\n\nNS_ASSUME_NONNULL_END\n" (comment) "//" (comment) "// PYPodText.h" (comment) "// podTextProject"...
26
4
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 17.0, "nodes": 15, "errors": 0, "source_hash": "3d830a84770733f0187915f5c2ffd4c7fde7ca774c2fe7e20f69b38124bd5026", "categorized_nodes": 8}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <Fo...
78,503
c
/*============================================================================ fbclock bitmap_fonts.h Copyright (c)2020 <NAME>, GPL v3.0 ============================================================================*/ #pragma once #include <stdint.h> #include "defs.h" typedef struct _BitmapFont { const ui...
23.95
21
(translation_unit) "/*============================================================================\n\n fbclock \n bitmap_fonts.h\n Copyright (c)2020 <NAME>, GPL v3.0\n\n============================================================================*/\n\n#pragma once\n\n#include <stdint.h>\n#include "defs.h"\n\ntypedef ...
74
0
{"language": "c", "success": true, "metadata": {"lines": 21, "avg_line_length": 23.95, "nodes": 54, "errors": 0, "source_hash": "ad30ab3bc25da9e15a45d8201dd3b6377cd9dcb71127a4d0fec969b835eaa3dd", "categorized_nodes": 41}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
78,504
c
// // WDGBeautyVideoView.h // WilddogVideo // // Created by <NAME> on 9/9/16. // Copyright © 2016 WildDog. All rights reserved. // #import <UIKit/UIKit.h> #import "WDGVideoView.h" /** `WDGBeautyVideoView` 是 `WDGVideoView` 的子类。 `WDGVideoStream` 只能与 `WDGBeautyVideoView` 绑定,若要展示 `WDGVideoStream` ,请创建 `WDGBeautyVid...
37.94
17
(translation_unit) "//\n// WDGBeautyVideoView.h\n// WilddogVideo\n//\n// Created by <NAME> on 9/9/16.\n// Copyright © 2016 WildDog. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n#import "WDGVideoView.h"\n\n/**\n `WDGBeautyVideoView` 是 `WDGVideoView` 的子类。\n `WDGVideoStream` 只能与 `WDGBeautyVideoView` 绑定,若要展示 `W...
32
4
{"language": "c", "success": true, "metadata": {"lines": 17, "avg_line_length": 37.94, "nodes": 16, "errors": 0, "source_hash": "3069616775accf05bb30ac0bb100cfb0066542dd1983e5e9e046c3625ea99d6b", "categorized_nodes": 8}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <UI...
78,505
c
/* * Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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 ...
36.26
196
(translation_unit) "/*\n * Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apach...
561
33
{"language": "c", "success": true, "metadata": {"lines": 196, "avg_line_length": 36.26, "nodes": 330, "errors": 0, "source_hash": "66eff7e42344f3c315de321bbfd7a9933d203154ec654f312d509336b6ee1584", "categorized_nodes": 223}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
78,506
c
// C Program to Find Largest Number Using Dynamic Memory Allocation // C program to find largest element using dynamic memory allocation.... #include <stdio.h> #include <stdlib.h> int main() { int i, num; float *data; printf("Enter total number of elements(1 to 100): "); scanf("%d", &num); // A...
28.94
35
(translation_unit) "// C Program to Find Largest Number Using Dynamic Memory Allocation\n\n// C program to find largest element using dynamic memory allocation....\n\n#include <stdio.h>\n#include <stdlib.h>\n\nint main()\n{\n int i, num;\n float *data;\n\n printf("Enter total number of elements(1 to 100): ");\...
256
0
{"language": "c", "success": true, "metadata": {"lines": 35, "avg_line_length": 28.94, "nodes": 140, "errors": 0, "source_hash": "d945aea3ad87b85c1d2a2b5e82b0a82fe24d31b704d2b013feaada7063bf083b", "categorized_nodes": 97}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
78,507
c
//--------------------------------------------------------------------------- // GameSetupFactory.h //--------------------------------------------------------------------------- #pragma once namespace CC { class ILowLevelGameSetup; /** Creates a platform dependent GameSetup */ class GameSetupFactory { ...
24.25
16
(translation_unit) "//---------------------------------------------------------------------------\n// GameSetupFactory.h\n//---------------------------------------------------------------------------\n\n#pragma once\n\nnamespace CC\n{\n class ILowLevelGameSetup;\n\n /** Creates a platform dependent GameSetup\n */\n...
46
0
{"language": "c", "success": true, "metadata": {"lines": 16, "avg_line_length": 24.25, "nodes": 21, "errors": 0, "source_hash": "3a58e2b9783c673ed3f56ef05a039c083bb0807d82e249e05f222307be04579c", "categorized_nodes": 14}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
78,508
c
#ifndef MOTOR_H #define MOTOR_H #include "definitions.h" #define MOTOR_MAX_PWM 5999 void motor_init(); void motor_turn_off(); void motor_left_set_pwm(int pwm); void motor_right_set_pwm(int pwm); #endif
15.77
13
(translation_unit) "#ifndef MOTOR_H \n#define MOTOR_H \n \n#include "definitions.h" \n \n#define MOTOR_MAX_PWM 5999 \n \nvoid motor_init(); \nvoid motor_turn_off(); \nvoid motor_left_set_pwm(int pwm); \nvoid motor_right_set_pwm(int pwm); \n \n#endif" (preproc_ifdef) "#ifndef MOTOR_H \n#define MOTOR_H \n \n#include "d...
56
0
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 15.77, "nodes": 40, "errors": 0, "source_hash": "e2802aeb689642a4e4ae8f7fc93bdaf25f2f4cbb9ef4b55ea02fbd4dd856bda6", "categorized_nodes": 25}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
78,509
c
/* * This header is generated by classdump-dyld 1.0 * on Tuesday, November 5, 2019 at 2:46:42 AM Mountain Standard Time * Operating System: Version 13.0 (Build 17J586) * Image Source: /System/Library/PrivateFrameworks/VideoProcessing.framework/VideoProcessing * classdump-dyld is licensed under GPLv3, Copyright © 2013-2...
35
12
(translation_unit) "/*\n* This header is generated by classdump-dyld 1.0\n* on Tuesday, November 5, 2019 at 2:46:42 AM Mountain Standard Time\n* Operating System: Version 13.0 (Build 17J586)\n* Image Source: /System/Library/PrivateFrameworks/VideoProcessing.framework/VideoProcessing\n* classdump-dyld is licensed under ...
31
4
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 35.0, "nodes": 18, "errors": 0, "source_hash": "9acbf736564bd4d9dc9091cb93ede2454079fa6f87dae59d10c93e0cabe4fc71", "categorized_nodes": 12}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "interface VCPDevi...
78,510
c
#pragma once #include "Company.h" #include <string> #include <vector> #include <memory> std::shared_ptr<Company> makeCompany(const std::vector<std::string>& params){ int id = std::stoi(params[0]); std::string name = params[1]; std::vector<std::pair<char,char> > employees; for(int i = 2;i < params.size...
29.16
19
(translation_unit) "#pragma once\n\n#include "Company.h"\n#include <string>\n#include <vector>\n#include <memory>\n\nstd::shared_ptr<Company> makeCompany(const std::vector<std::string>& params){\n int id = std::stoi(params[0]);\n std::string name = params[1];\n std::vector<std::pair<char,char> > employees;\n ...
241
9
{"language": "c", "success": true, "metadata": {"lines": 19, "avg_line_length": 29.16, "nodes": 153, "errors": 0, "source_hash": "f61c897150d2d2a40222e77b175daa7b61f86d460f2480a66e7ef717cac696a4", "categorized_nodes": 111}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
78,511
c
#include "kernel/types.h" #include "user/user.h" void filter(int *p) { int n, temp, next_p[2]; pipe(next_p); if (read(p[0], &n, sizeof(int))) { printf("prime %d\n", n); close(p[1]); if (fork() == 0) { // 子进程 filter(next_p); exit(0); ...
17.5
60
(translation_unit) "#include "kernel/types.h"\n#include "user/user.h"\n\nvoid filter(int *p)\n{\n int n, temp, next_p[2];\n pipe(next_p);\n\n if (read(p[0], &n, sizeof(int)))\n {\n printf("prime %d\n", n);\n close(p[1]);\n if (fork() == 0)\n {\n // 子进程\n fil...
433
0
{"language": "c", "success": true, "metadata": {"lines": 60, "avg_line_length": 17.5, "nodes": 198, "errors": 0, "source_hash": "1fb7db8f3047d65e6dc8d5fa75924462196f5be606c035f062ba9bc5e1017695", "categorized_nodes": 137}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
78,512
c
#pragma once #include<iostream> using namespace std; class Turist { private: string name; int age; friend ostream& operator<<(ostream& stream, const Turist& c) { if (&stream == &cout) { stream << " Name: "; } stream << c.name << endl; if (&stream == &cout) { stream << " Age: "; ...
16.89
44
(translation_unit) "#pragma once \n#include<iostream> \nusing namespace std; \n \nclass Turist { \nprivate: \n string name; \n int age; \n friend ostream& operator<<(ostream& stream, const Turist& c) { \n if (&stream == &cout) { \n stream << " Name: "; \n } \n stream << c.name << endl; \n if (&stream == &cout...
303
5
{"language": "c", "success": true, "metadata": {"lines": 44, "avg_line_length": 16.89, "nodes": 171, "errors": 0, "source_hash": "167f2c5a49906d7889029d7e57e8c15dd137a7f5030833cd2e0bc480472f4747", "categorized_nodes": 138}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
78,513
c
// Copyright (c) 2015-present, Qihoo, Inc. All rights reserved. // This source code is licensed under the BSD-style license found in the // LICENSE file in the root directory of this source tree. An additional grant // of patent rights can be found in the PATENTS file in the same directory. #ifndef PINK_INCLUDE_REDIS...
33.15
82
(translation_unit) "// Copyright (c) 2015-present, Qihoo, Inc. All rights reserved.\n// This source code is licensed under the BSD-style license found in the\n// LICENSE file in the root directory of this source tree. An additional grant\n// of patent rights can be found in the PATENTS file in the same directory.\n\n#...
530
11
{"language": "c", "success": true, "metadata": {"lines": 82, "avg_line_length": 33.15, "nodes": 344, "errors": 0, "source_hash": "9a3080fa3a0c9666db6dbc1378b63238b658966f36ad253efbd63b37be162799", "categorized_nodes": 229}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
78,514
c
// // YDCache.h // Sports // // Created by 吴超 on 15/7/5. // Copyright (c) 2015年 吴超. All rights reserved. // #import <Foundation/Foundation.h> @interface YDCache : NSObject // 首页数据 + (NSArray *)getIndexDictData; // 保存首页数据 + (void)saveIndexDataWithIndexArray:(NSArray *)indexArray; @end
19.64
14
(translation_unit) "//\n// YDCache.h\n// Sports\n//\n// Created by 吴超 on 15/7/5.\n// Copyright (c) 2015年 吴超. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n\n@interface YDCache : NSObject\n// 首页数据\n+ (NSArray *)getIndexDictData;\n// 保存首页数据\n+ (void)saveIndexDataWithIndexArray:(NSArray *)indexArray;\...
55
7
{"language": "c", "success": true, "metadata": {"lines": 14, "avg_line_length": 19.64, "nodes": 31, "errors": 0, "source_hash": "88dadcff2a0e934e8d2ddb5aa95bc392d9032aa216257229ecb9c005e73d2166", "categorized_nodes": 16}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "oundation...
78,515
c
/**************************************************************** * Devantech sensor of e-puck * * Version 1.0 7.2006 * * <NAME> * ****************************************************************/ /*! \file * \ingroup LIS_SENSOR_TURRET * \brief Devantech sensor of e-puck * \author <NAM...
36.82
38
(translation_unit) "/****************************************************************\n* Devantech sensor of e-puck *\n* Version 1.0 7.2006 *\n* <NAME> *\n****************************************************************/\n\n/*! \file\n * \ingroup LIS_SENSOR_TURRET\n * \brief Devantech senso...
184
0
{"language": "c", "success": true, "metadata": {"lines": 38, "avg_line_length": 36.82, "nodes": 125, "errors": 0, "source_hash": "373cfb289d6fedbb94c1e216dd952426bd878795739c0aa677a0ef7aa08b2c33", "categorized_nodes": 80}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
78,516
c
// // AdaptationConstiOS7.h // gpuimagedemo // // Created by zhangchong on 15-3-24. // Copyright (c) 2015年 vitonzhang. All rights reserved. // #import <Foundation/Foundation.h> #import <UIKit/UIKit.h> @interface AdaptationConstiOS7 : NSObject + (CGFloat)viewOriginOffset; @end
22.42
12
(translation_unit) "//\n// AdaptationConstiOS7.h\n// gpuimagedemo\n//\n// Created by zhangchong on 15-3-24.\n// Copyright (c) 2015年 vitonzhang. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n#import <UIKit/UIKit.h>\n\n@interface AdaptationConstiOS7 : NSObject\n\n+ (CGFloat)viewOriginOffset;\n\n@end\...
35
4
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 22.42, "nodes": 19, "errors": 0, "source_hash": "7e30b5f3f2aed67f874b1e8206ea7eb9e414945eb8c5ad6c0ce576fde8cf2eba", "categorized_nodes": 10}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "mport <Fo...
78,517
c
// // Created by PolarAir on 2019-04-14. // #ifndef KUNGFU_COMMISSION_STORAGE_H #define KUNGFU_COMMISSION_STORAGE_H #include "oms_struct.h" #include <map> #include <functional> #include <SQLiteCpp/Database.h> #include <sqlite3.h> namespace kungfu { typedef std::function<void(const InstrumentCommissionRate&)> Com...
39.89
35
(translation_unit) "//\n// Created by PolarAir on 2019-04-14.\n//\n\n#ifndef KUNGFU_COMMISSION_STORAGE_H\n#define KUNGFU_COMMISSION_STORAGE_H\n\n#include "oms_struct.h"\n#include <map>\n#include <functional>\n#include <SQLiteCpp/Database.h>\n#include <sqlite3.h>\n\nnamespace kungfu\n{\n typedef std::function<void(co...
350
22
{"language": "c", "success": true, "metadata": {"lines": 35, "avg_line_length": 39.89, "nodes": 203, "errors": 0, "source_hash": "e0a3f18b53150a916d084221a4edf471e249b66a26032f928d95bc9d6551f554", "categorized_nodes": 132}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
78,518
c
/* * dhrequest.c * * Copyright 2015 DeviceHive * * Author: <NAME> * * Description: Module for creating HTTP requests for DeviceHive server * */ #include "dhrequest.h" #include "user_config.h" #include "dhdebug.h" #include "snprintf.h" #include "dhsettings.h" #include <ets_sys.h> #include <osapi.h> #include <o...
27.22
99
(translation_unit) "/*\n * dhrequest.c\n *\n * Copyright 2015 DeviceHive\n *\n * Author: <NAME>\n *\n * Description: Module for creating HTTP requests for DeviceHive server\n *\n */\n#include "dhrequest.h"\n#include "user_config.h"\n#include "dhdebug.h"\n#include "snprintf.h"\n#include "dhsettings.h"\n\n#include <ets_s...
961
10
{"language": "c", "success": true, "metadata": {"lines": 99, "avg_line_length": 27.22, "nodes": 629, "errors": 0, "source_hash": "bbae81e473012e7e99ff16de2c51fa5e9e5ed95481116140d069768bd20d5c4c", "categorized_nodes": 394}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
78,519
c
// Copyright 2020 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 CHROME_BROWSER_EXTENSIONS_MIXIN_BASED_EXTENSION_APITEST_H_ #define CHROME_BROWSER_EXTENSIONS_MIXIN_BASED_EXTENSION_APITEST_H_ #include "chrome/br...
40.06
36
(translation_unit) "// Copyright 2020 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 CHROME_BROWSER_EXTENSIONS_MIXIN_BASED_EXTENSION_APITEST_H_\n#define CHROME_BROWSER_EXTENSIONS_MIXIN_BASED_EXTENSION_APITES...
206
8
{"language": "c", "success": true, "metadata": {"lines": 36, "avg_line_length": 40.06, "nodes": 120, "errors": 0, "source_hash": "393adb8589c24024f98af2104dc1bed70419707db685f52a344cf0525cde453c", "categorized_nodes": 80}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
78,520
c
#if defined(CAMERA_MODEL_POCKETCARD) #define PWDN_GPIO_NUM -1 #define RESET_GPIO_NUM -1 #define XCLK_GPIO_NUM 2 #define SIOD_GPIO_NUM 18 #define SIOC_GPIO_NUM 23 #define Y9_GPIO_NUM 35 #define Y8_GPIO_NUM 33 #define Y7_GPIO_NUM 32 #define Y6_GPIO_NUM 19 #define Y5_GPIO_NUM 15 #d...
26.57
21
(translation_unit) "#if defined(CAMERA_MODEL_POCKETCARD)\n#define PWDN_GPIO_NUM -1\n#define RESET_GPIO_NUM -1\n#define XCLK_GPIO_NUM 2\n#define SIOD_GPIO_NUM 18\n#define SIOC_GPIO_NUM 23\n\n#define Y9_GPIO_NUM 35\n#define Y8_GPIO_NUM 33\n#define Y7_GPIO_NUM 32\n#define Y6_GPIO_NUM 19\n...
80
0
{"language": "c", "success": true, "metadata": {"lines": 21, "avg_line_length": 26.57, "nodes": 76, "errors": 0, "source_hash": "b7b1793788c1ea93dfd0a6b686c44aeb70b2d5e78b7a202e9df38e82305407c2", "categorized_nodes": 21}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_if", "text": "#if defined...
78,521
c
/* * Copyright (c) 2008-2009 <NAME> * Copyright (c) 2008-2009 <NAME> * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights ...
38.2
200
(translation_unit) "/*\n * Copyright (c) 2008-2009 <NAME>\n * Copyright (c) 2008-2009 <NAME>\n *\n * Permission is hereby granted, free of charge, to any person obtaining a\n * copy of this software and associated documentation files (the "Software"),\n * to deal in the Software without restriction, including without...
1,374
0
{"language": "c", "success": true, "metadata": {"lines": 200, "avg_line_length": 38.2, "nodes": 802, "errors": 0, "source_hash": "7036b436dfdff10cb457b7045f23330f721aae453427ff4c6732d3e8ef99d3c8", "categorized_nodes": 598}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
78,522
c
/* * $Id: NG_NetworkObject.h 35072 2011-02-22 12:42:55Z jesterking $ * * ***** BEGIN GPL LICENSE BLOCK ***** * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the L...
29.92
53
(translation_unit) "/*\n * $Id: NG_NetworkObject.h 35072 2011-02-22 12:42:55Z jesterking $\n *\n * ***** BEGIN GPL LICENSE BLOCK *****\n *\n * This program is free software; you can redistribute it and/or\n * modify it under the terms of the GNU General Public License\n * as published by the Free Software Foundation; e...
133
4
{"language": "c", "success": true, "metadata": {"lines": 53, "avg_line_length": 29.92, "nodes": 73, "errors": 0, "source_hash": "a8b2be5c477ae190ea39b8e6834ae982a6f8e2e24be0ff99d206da26f5d16c2d", "categorized_nodes": 50}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
78,523
c
#import <Foundation/Foundation.h> typedef NS_ENUM(NSInteger, DLReachabilityStatus) { DLReachabilityStatusNone = 0, DLReachabilityWWANStatusWWAN, DLReachabilityStatusWiFi, }; @interface DLReachability : NSObject -(instancetype)init UNAVAILABLE_ATTRIBUTE; +(instancetype)new UNAVAILABLE_ATTRIBUTE; //+(voi...
36
12
(translation_unit) "#import <Foundation/Foundation.h>\n\ntypedef NS_ENUM(NSInteger, DLReachabilityStatus) {\n DLReachabilityStatusNone = 0,\n DLReachabilityWWANStatusWWAN,\n DLReachabilityStatusWiFi,\n};\n\n@interface DLReachability : NSObject\n\n-(instancetype)init UNAVAILABLE_ATTRIBUTE;\n+(instancetype)new ...
78
8
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 36.0, "nodes": 49, "errors": 0, "source_hash": "a908e1f23aaebb38eab0137be251c7ca9394904c31fc5d2bdc949fe15a3f8c18", "categorized_nodes": 29}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <F...
78,524
c
/* ** Purpose: Define message IDs for the 42 interface application ** ** Notes: ** 1. This is part of prototype effort to port a 42 simulator FSW controller ** component into a cFS-based application ** ** References: ** 1. OpenSat Object-based Application Developer's Guide. ** 2. cFS Application Developer's...
25.32
28
(translation_unit) "/*\n** Purpose: Define message IDs for the 42 interface application\n**\n** Notes:\n** 1. This is part of prototype effort to port a 42 simulator FSW controller\n** component into a cFS-based application \n**\n** References:\n** 1. OpenSat Object-based Application Developer's Guide.\n** 2...
32
0
{"language": "c", "success": true, "metadata": {"lines": 28, "avg_line_length": 25.32, "nodes": 22, "errors": 0, "source_hash": "cee9c9678a13723504b9b9e0bfb1b650053b902cfee723cef57bbf41206c578b", "categorized_nodes": 11}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
78,525
c
#ifndef __ENEMY_BLUESHOTDOWN_H__ #define __ENEMY_BLUESHOTDOWN_H__ #include "Enemy.h" #include "Path.h" class Enemy_BlueshotDown : public Enemy { private: int original_x = 0; int original_y = 0; float wave = -1.0f; bool going_up = true; Animation fly; Path path; public: Enemy_BlueshotDown(int x, int y); v...
20.84
19
(translation_unit) "#ifndef __ENEMY_BLUESHOTDOWN_H__\n#define __ENEMY_BLUESHOTDOWN_H__\n\n#include "Enemy.h"\n#include "Path.h"\n\nclass Enemy_BlueshotDown : public Enemy\n{\nprivate:\n int original_x = 0;\n int original_y = 0;\n\n float wave = -1.0f;\n bool going_up = true;\n\n Animation fly;\n Path path;\n\npublic:\n...
112
3
{"language": "c", "success": true, "metadata": {"lines": 19, "avg_line_length": 20.84, "nodes": 75, "errors": 0, "source_hash": "435104def10599ae3990d93e8703387541589a231f5ba3468e887089741c879d", "categorized_nodes": 48}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
78,526
c
// // SecondViewController.h // // // Created by Paul on 6/21/15. // // #import "DCViewController.h" @interface SecondViewController : DCViewController @end
15.1
10
(translation_unit) "//\n// SecondViewController.h\n// \n//\n// Created by Paul on 6/21/15.\n//\n//\n\n#import "DCViewController.h"\n\n@interface SecondViewController : DCViewController\n\n@end\n" (comment) "//" (comment) "// SecondViewController.h" (comment) "// " (comment) "//" (comment) "// Created by...
19
3
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 15.1, "nodes": 9, "errors": 0, "source_hash": "9780873693c11c85e5d7bbb501ad7257231b98cacc2bc9120a8457fe049a5bbd", "categorized_nodes": 4}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import \"DC...
78,527
c
#include "mt_pair.h" #include <stdlib.h> #include <assert.h> MtPair* mt_pair_new(MtString* key, void* value) { MtPair* pair = (MtPair *) malloc(sizeof(MtPair)); assert(pair != NULL); assert(key != NULL); assert(value != NULL); pair->key = key; pair->value = value; return pair; } void mt_pair_free(Mt...
19.89
19
(translation_unit) "#include "mt_pair.h"\n\n#include <stdlib.h>\n#include <assert.h>\n\nMtPair* mt_pair_new(MtString* key, void* value)\n{\n MtPair* pair = (MtPair *) malloc(sizeof(MtPair));\n assert(pair != NULL);\n\n assert(key != NULL);\n assert(value != NULL);\n\n pair->key = key;\n pair->value = value;\n\n ...
166
0
{"language": "c", "success": true, "metadata": {"lines": 19, "avg_line_length": 19.89, "nodes": 110, "errors": 0, "source_hash": "bef8d471fd82a40559a28542588176a634bc7d6b388b79387b0bb6ddccb43b5e", "categorized_nodes": 70}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
78,528
c
// ********************************************************************** // // Generated by the CIDL Translator // // Copyright (c) 2001-2004 // StarMiddleware Group // www.StarMiddleware.net // // All Rights Reserved // // Author: <NAME> <EMAIL> // Author: <NAME> <EMAIL> // Author: <NAME> // // *************...
35
102
(translation_unit) "// **********************************************************************\n//\n// Generated by the CIDL Translator\n//\n// Copyright (c) 2001-2004\n// StarMiddleware Group\n// www.StarMiddleware.net\n//\n// All Rights Reserved\n//\n// Author: <NAME> <EMAIL>\n// Author: <NAME> <EMAIL>\n// Au...
695
49
{"language": "c", "success": true, "metadata": {"lines": 102, "avg_line_length": 35.0, "nodes": 388, "errors": 0, "source_hash": "0b3be20c18ba79b5d674660bbac6a81e380010b650bad80466828d91be58c6d6", "categorized_nodes": 247}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
78,529
c
/* this is NTLM-brute - a generic password guesser. It's just a shell for now. Eventually I'll get it working. */ #include <stdio.h> #include <stdlib.h> #include <string.h> /*for memset */ #include <sys/types.h> #include <sys/socket.h> #include <ntlm.h> #include <signal.h> #include "spike.h" #include "base...
25.81
218
(translation_unit) "/*\n this is NTLM-brute - a generic password guesser.\n It's just a shell for now. Eventually I'll get it working.\n */\n\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h> /*for memset */\n#include <sys/types.h>\n#include <sys/socket.h>\n#include <ntlm.h>\n#include <signal.h>\n\n\...
1,676
0
{"language": "c", "success": true, "metadata": {"lines": 218, "avg_line_length": 25.81, "nodes": 884, "errors": 0, "source_hash": "b5e4cf3506aca4c4c3ecc92d1c8931e6b2f93291c0717bcf3b822b4d7cef087f", "categorized_nodes": 600}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
78,530
c
#include "TraverseAlgorithm.h" typedef struct DFS DFS; struct DFS { Graph *graph; bool *visited; FILE *_file; int visitedCount; }; DFS* newDFS_malloc(Graph *graph) { DFS *dfs = malloc(sizeof(DFS)); dfs->graph = graph; dfs->visited = calloc( graph->count, sizeof(bool) ); dfs->visitedCou...
25.86
65
(translation_unit) "#include "TraverseAlgorithm.h"\n\ntypedef struct DFS DFS;\nstruct DFS {\n Graph *graph;\n bool *visited;\n FILE *_file;\n int visitedCount;\n};\n\nDFS* newDFS_malloc(Graph *graph) {\n DFS *dfs = malloc(sizeof(DFS));\n dfs->graph = graph;\n dfs->visited = calloc( graph->count, si...
592
0
{"language": "c", "success": true, "metadata": {"lines": 65, "avg_line_length": 25.86, "nodes": 370, "errors": 0, "source_hash": "7666a26fcb36b136d544d126294b19ee4ae03cc525f89916851daaf6f3605a01", "categorized_nodes": 256}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
78,531
c
// // WVRHttpRewardModel.h // WhaleyVR // // Created by qbshen on 2016/12/12. // Copyright © 2016年 Snailvr. All rights reserved. // #import <Foundation/Foundation.h> /* // actid 活动ID // action 活动代码 // actiontxt 活动名称 // uid 用户Uid // whaleyuid 微鲸通行证Uid // nickname 用户姓名 // status 状态 // ...
26.46
39
(translation_unit) "//\n// WVRHttpRewardModel.h\n// WhaleyVR\n//\n// Created by qbshen on 2016/12/12.\n// Copyright © 2016年 Snailvr. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n\n/*\n // actid 活动ID\n // action 活动代码\n // actiontxt 活动名称\n // uid 用户Uid\n // whaleyuid 微鲸通行证Uid\n // ...
215
42
{"language": "c", "success": true, "metadata": {"lines": 39, "avg_line_length": 26.46, "nodes": 162, "errors": 0, "source_hash": "8aab86b9e670bfcc481069d61877da1bc5fd4510faa25cb88585b9f3fd216475", "categorized_nodes": 83}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "port <Fo...
78,532
c
// // NumberInputView.h // LFDistributionApp // // Created by 司小波 on 16/3/25. // Copyright © 2016年 LetvFinancial. All rights reserved. // #import <UIKit/UIKit.h> #import "PassGuardCtrl.h" @protocol NumberInputDelegate <NSObject> - (void)tapAction; @end @interface NumberInputView : UIView { PassGuardTextFie...
27.27
44
(translation_unit) "//\n// NumberInputView.h\n// LFDistributionApp\n//\n// Created by 司小波 on 16/3/25.\n// Copyright © 2016年 LetvFinancial. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n#import "PassGuardCtrl.h"\n\n@protocol NumberInputDelegate <NSObject>\n\n- (void)tapAction;\n\n@end\n\n@interface NumberInpu...
335
36
{"language": "c", "success": true, "metadata": {"lines": 44, "avg_line_length": 27.27, "nodes": 214, "errors": 0, "source_hash": "05c9fb59ba6809f0cb388b0da27e7536cc785d018746ffa83b083b03734b11f2", "categorized_nodes": 120}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "UIKit/U...
78,533
c
//***************************************************************************** // // //***************************************************************************** #include <stdbool.h> #include <stdint.h> #include "priorities.h" #include "FreeRTOS.h" #include "task.h" #include "semphr.h" #include "utils.h" #include "...
28.77
39
(translation_unit) "//*****************************************************************************\n//\n//\n//*****************************************************************************\n#include <stdbool.h>\n#include <stdint.h>\n#include "priorities.h"\n#include "FreeRTOS.h"\n#include "task.h"\n#include "semphr.h"\...
225
0
{"language": "c", "success": true, "metadata": {"lines": 39, "avg_line_length": 28.77, "nodes": 126, "errors": 0, "source_hash": "86d6e5915b86183a6fb0d84504209c125c5cc034b89c5060918d8f165e4e6869", "categorized_nodes": 88}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
78,534
c
// Copyright 2019 The Fuchsia Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // The base include file for simulated firmware. #ifndef SRC_CONNECTIVITY_WLAN_DRIVERS_THIRD_PARTY_INTEL_IWLWIFI_TEST_SIM_H_ #define SRC_CONNECTIVITY_WLAN...
51.5
12
(translation_unit) "// Copyright 2019 The Fuchsia 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// The base include file for simulated firmware.\n\n#ifndef SRC_CONNECTIVITY_WLAN_DRIVERS_THIRD_PARTY_INTEL_IWLWIFI_TEST_SIM_H_\n#d...
40
2
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 51.5, "nodes": 24, "errors": 0, "source_hash": "d88c4c2ce2077344dbe67f43a83c6080fed6156fad52767389aa76c54de4e44e", "categorized_nodes": 16}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef S...
78,535
c
/** * \copyright * MIT License * * Copyright (c) 2021 Infineon Technologies AG * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights *...
35.13
167
(translation_unit) "/**\n* \copyright\n* MIT License\n*\n* Copyright (c) 2021 Infineon Technologies AG\n*\n* Permission is hereby granted, free of charge, to any person obtaining a copy\n* of this software and associated documentation files (the "Software"), to deal\n* in the Software without restriction, including wit...
162
3
{"language": "c", "success": true, "metadata": {"lines": 167, "avg_line_length": 35.13, "nodes": 101, "errors": 0, "source_hash": "8841c2a980de79e8867f094d708b0afcf2da86f290a7477b62d88c7c25abe645", "categorized_nodes": 79}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
78,536
c
#include "/sys/ansi.h" inherit "obj/monster"; reset(arg) { int a; a = random(3); ::reset(arg); if (arg) return; set_animal(1); set_name("dog"); set_alias("dog"); switch(a) { case 0 : set_level(2+random(8)); set_short("A dog running around you"); set_gender(1); set_alt_name("dog"); break; case 1 : set_level(3+random(6...
27.26
35
(translation_unit) "#include "/sys/ansi.h"\ninherit "obj/monster";\nreset(arg) {\nint a;\na = random(3);\n::reset(arg);\nif (arg) return;\nset_animal(1);\nset_name("dog");\nset_alias("dog");\nswitch(a) {\n\ncase 0 : set_level(2+random(8));\nset_short("A dog running around you");\nset_gender(1);\nset_alt_name("dog");\n\...
564
1
{"language": "c", "success": true, "metadata": {"lines": 35, "avg_line_length": 27.26, "nodes": 339, "errors": 0, "source_hash": "1d8244e9244e1bc517fd160ff72dde579668f46f8720cdfb60d165dec3a31494", "categorized_nodes": 230}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
78,537
c
/* Icecast * * This program is distributed under the GNU General Public License, version 2. * A copy of this license is included with this source. * * Copyright 2000-2004, <NAME> <<EMAIL>, * <NAME> <<EMAIL>>, * oddsock <<EMAIL>>, * <NAME> <<EMAIL>>...
30.93
41
(translation_unit) "/* Icecast\n *\n * This program is distributed under the GNU General Public License, version 2.\n * A copy of this license is included with this source.\n *\n * Copyright 2000-2004, <NAME> <<EMAIL>, \n * <NAME> <<EMAIL>>,\n * oddsock <<EMAIL>>,\n * ...
185
0
{"language": "c", "success": true, "metadata": {"lines": 41, "avg_line_length": 30.93, "nodes": 145, "errors": 0, "source_hash": "1c2ce6b94036d40f6edb78d6f9483bd22acc9ea6ee3ce459ca62b3edceead267", "categorized_nodes": 65}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
78,538
c
// // XModel.h // XModule // // Created by 苏秋东 on 2021/5/24. // #import <Foundation/Foundation.h> NS_ASSUME_NONNULL_BEGIN @interface XModel : NSObject @end NS_ASSUME_NONNULL_END
15.45
11
(translation_unit) "//\n// XModel.h\n// XModule\n//\n// Created by 苏秋东 on 2021/5/24.\n//\n\n#import <Foundation/Foundation.h>\n\nNS_ASSUME_NONNULL_BEGIN\n\n@interface XModel : NSObject\n\n@end\n\nNS_ASSUME_NONNULL_END\n" (comment) "//" (comment) "// XModel.h" (comment) "// XModule" (comment) "//" (commen...
26
4
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 15.45, "nodes": 16, "errors": 0, "source_hash": "750fd134b30f39e338bf6ffbbf21789cf613aff04e66cb44a206a1ccfb5fe0e1", "categorized_nodes": 9}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "t <Foundat...
78,539
c
#pragma once #include <string> #include <iomanip> #include <sstream> #include <algorithm> #include <filesystem> template<typename T> std::string to_hex(const T number) { std::stringstream ss; std::make_unsigned_t<T> unsigned_number = number; ss << std::setw(sizeof number * 2) << std::setfill('0') << std::...
24.45
126
(translation_unit) "#pragma once\n#include <string>\n#include <iomanip>\n#include <sstream>\n#include <algorithm>\n#include <filesystem>\n\n\ntemplate<typename T>\nstd::string to_hex(const T number)\n{\n std::stringstream ss;\n std::make_unsigned_t<T> unsigned_number = number;\n ss << std::setw(sizeof number *...
1,315
76
{"language": "c", "success": true, "metadata": {"lines": 126, "avg_line_length": 24.45, "nodes": 740, "errors": 0, "source_hash": "60aa81ae19691373414bc9f6adde6b43c21b0ef4a602410fba70cb21a3e6e793", "categorized_nodes": 531}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragm...
78,540
c
/***************************************************************************** * * Copyright 2017 Samsung Electronics All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License a...
33.35
316
(translation_unit) "/*****************************************************************************\n *\n * Copyright 2017 Samsung Electronics All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obta...
3,774
0
{"language": "c", "success": true, "metadata": {"lines": 316, "avg_line_length": 33.35, "nodes": 2369, "errors": 0, "source_hash": "3e390c78d9bc0048190bb9b0551d4675295426fe5f5b75cc6ab45065b908664b", "categorized_nodes": 1580}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#...
78,541
c
#pragma once /** * \file */ #include <cnfkit/detail/check_cxx_version.h> #if !__has_include(<zlib.h>) #error "zlib.h not found. The headers of zlib must be added to the include search path." #endif #include <cnfkit/io.h> #include <zlib.h> #include <cstddef> #include <filesystem> #include <optional> namespace c...
26.04
122
(translation_unit) "#pragma once\n\n/**\n * \file\n */\n\n#include <cnfkit/detail/check_cxx_version.h>\n\n#if !__has_include(<zlib.h>)\n#error "zlib.h not found. The headers of zlib must be added to the include search path."\n#endif\n\n#include <cnfkit/io.h>\n\n#include <zlib.h>\n\n#include <cstddef>\n#include <filesys...
955
60
{"language": "c", "success": true, "metadata": {"lines": 122, "avg_line_length": 26.04, "nodes": 553, "errors": 0, "source_hash": "91a61b049ac87abd27f4424212163b14cea5a02eb55d086c305e3e76e7d35e91", "categorized_nodes": 355}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragm...
78,542
c
/* * CDDL HEADER START * * The contents of this file are subject to the terms of the * Common Development and Distribution License (the "License"). * You may not use this file except in compliance with the License. * * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE * or http://www.opensolar...
35.02
132
(translation_unit) "/*\n * CDDL HEADER START\n *\n * The contents of this file are subject to the terms of the\n * Common Development and Distribution License (the "License").\n * You may not use this file except in compliance with the License.\n *\n * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE...
909
0
{"language": "c", "success": true, "metadata": {"lines": 132, "avg_line_length": 35.02, "nodes": 702, "errors": 0, "source_hash": "ceb7467a8f38a218ffd839ad43d6926a1ee1a3b4415887cacd118b43eca06891", "categorized_nodes": 446}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
78,543
c
/* * This header is generated by classdump-dyld 1.0 * on Sunday, September 27, 2020 at 11:39:14 AM Mountain Standard Time * Operating System: Version 14.0 (Build 18A373) * Image Source: /System/Library/Frameworks/ContactsUI.framework/ContactsUI * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by <NAME>. ...
41.56
16
(translation_unit) "/*\n* This header is generated by classdump-dyld 1.0\n* on Sunday, September 27, 2020 at 11:39:14 AM Mountain Standard Time\n* Operating System: Version 14.0 (Build 18A373)\n* Image Source: /System/Library/Frameworks/ContactsUI.framework/ContactsUI\n* classdump-dyld is licensed under GPLv3, Copyrigh...
84
9
{"language": "c", "success": true, "metadata": {"lines": 16, "avg_line_length": 41.56, "nodes": 45, "errors": 0, "source_hash": "6edc5e23294dcfaa4ecfb3724dc0fc81d12ccaf4f2d21d58e4e082a327c43671", "categorized_nodes": 30}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <U...
78,544
c
//========================================================================= // Copyright (C) 2012 The Elastos Open Source Project // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // ...
35.79
63
(translation_unit) "//=========================================================================\n// Copyright (C) 2012 The Elastos Open Source Project\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...
173
4
{"language": "c", "success": true, "metadata": {"lines": 63, "avg_line_length": 35.79, "nodes": 85, "errors": 0, "source_hash": "b8edafed88f4cd036433a79729eb973a60612e07347c2d29276cb3469f381f9d", "categorized_nodes": 64}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
78,545
c
#ifndef __PROPOINTCLOUD_H #define __PROPOINTCLOUD_H #include <iostream> #include <opencv2/opencv.hpp> #include <boost/format.hpp> #include <pcl/point_types.h> #include <pcl/io/pcd_io.h> #include <pcl/filters/voxel_grid.h> #include <pcl/filters/passthrough.h> #include <pcl/filters/radius_outlier_removal.h> #include <pc...
31.59
22
(translation_unit) "#ifndef __PROPOINTCLOUD_H\n#define __PROPOINTCLOUD_H\n\n#include <iostream>\n#include <opencv2/opencv.hpp>\n#include <boost/format.hpp>\n#include <pcl/point_types.h>\n#include <pcl/io/pcd_io.h>\n#include <pcl/filters/voxel_grid.h>\n#include <pcl/filters/passthrough.h>\n#include <pcl/filters/radius_o...
92
1
{"language": "c", "success": true, "metadata": {"lines": 22, "avg_line_length": 31.59, "nodes": 79, "errors": 0, "source_hash": "0794b8663f71f5a5eb6a0d1e4e7123fa6d803ab8e6a6e52f91096c20cf1fb54b", "categorized_nodes": 68}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
78,546
c
/* * Copyright (C) 2009-2011 by <NAME> (<EMAIL>) * * Released under the MIT license, see LICENSE.txt */ #include "CuTest.h" #include "sonLib.h" CuSuite *matchingAlgorithmsTestSuite(void); CuSuite* cyclesConstrainedMatchingAlgorithmsTestSuite(void); CuSuite* referenceProblemTestSuite(void); CuSuite* referenceProbl...
32.06
36
(translation_unit) "/*\n * Copyright (C) 2009-2011 by <NAME> (<EMAIL>)\n *\n * Released under the MIT license, see LICENSE.txt\n */\n\n#include "CuTest.h"\n#include "sonLib.h"\n\nCuSuite *matchingAlgorithmsTestSuite(void);\nCuSuite* cyclesConstrainedMatchingAlgorithmsTestSuite(void);\nCuSuite* referenceProblemTestSuite...
259
0
{"language": "c", "success": true, "metadata": {"lines": 36, "avg_line_length": 32.06, "nodes": 160, "errors": 0, "source_hash": "1acd0aeda811376a469c4e2cab5625c3e95f96fc46aa662aca93d050a121c546", "categorized_nodes": 102}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
78,547
c
/* * Copyright (c) 2006-2018, RT-Thread Development Team * * SPDX-License-Identifier: Apache-2.0 * * Change Logs: * Date Author Notes * 2018-08-03 chenyong the first version */ #include <string.h> #include <rtthread.h> #include <webclient.h> #define POST_RESP_BUFSZ 1024...
27.34
103
(translation_unit) "/*\n * Copyright (c) 2006-2018, RT-Thread Development Team\n *\n * SPDX-License-Identifier: Apache-2.0\n *\n * Change Logs:\n * Date Author Notes\n * 2018-08-03 chenyong the first version\n */\n\n#include <string.h>\n\n#include <rtthread.h>\n#include <webclient.h>\n\n#define ...
608
1
{"language": "c", "success": true, "metadata": {"lines": 103, "avg_line_length": 27.34, "nodes": 346, "errors": 0, "source_hash": "ebbe3aaebc3ef27ddc59d3cc72090dd608bb67d0a18d4a526bb2850aca50f0f4", "categorized_nodes": 231}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
78,548
c
/** * PANDA 3D SOFTWARE * Copyright (c) Carnegie Mellon University. All rights reserved. * * All use of this software is subject to the terms of the revised BSD * license. You should have received a copy of this license along * with this source code in a file named "LICENSE." * * @file cycleDataReader.h * @a...
36.46
59
(translation_unit) "/**\n * PANDA 3D SOFTWARE\n * Copyright (c) Carnegie Mellon University. All rights reserved.\n *\n * All use of this software is subject to the terms of the revised BSD\n * license. You should have received a copy of this license along\n * with this source code in a file named "LICENSE."\n *\n * @...
274
15
{"language": "c", "success": true, "metadata": {"lines": 59, "avg_line_length": 36.46, "nodes": 168, "errors": 0, "source_hash": "024fa4cd6ac498d40a19db398fbaa052070b918a565fa3e5804b89dfb7773be7", "categorized_nodes": 107}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
78,549
c
#ifndef __MYCMS_SYSTEM_H #define __MYCMS_SYSTEM_H #if defined(HAVE_C99_VARARGS_MACROS) #define MYCMS_SYSTEM_DRIVER_FUNC(group, ret, name, ...) \ typedef ret (*mycms_system_driver_p_##name)(const mycms_system system __VA_OPT__(,) __VA_ARGS__); \ static inline mycms_system_driver_p_##name mycms_system_driver_##group##...
26.6
81
(translation_unit) "#ifndef __MYCMS_SYSTEM_H\n#define __MYCMS_SYSTEM_H\n\n#if defined(HAVE_C99_VARARGS_MACROS)\n#define MYCMS_SYSTEM_DRIVER_FUNC(group, ret, name, ...) \\n typedef ret (*mycms_system_driver_p_##name)(const mycms_system system __VA_OPT__(,) __VA_ARGS__); \\n static inline mycms_system_driver_p_##name myc...
378
0
{"language": "c", "success": true, "metadata": {"lines": 81, "avg_line_length": 26.6, "nodes": 240, "errors": 0, "source_hash": "fc308cea3e752d772ff75a422caef0410394dfe9f7428469b9e1c8d691d688a8", "categorized_nodes": 146}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
78,550
c
#ifndef __REFCODE_H__ #define __REFCODE_H__ //#include "Validation.h" #define F54_Porting #ifdef F54_Porting #include <linux/kernel.h> //printk #include <linux/string.h> //memset extern void device_I2C_read(unsigned char add, unsigned char *value, unsigned short len); extern void device_I2C_write(unsigned char add, ...
36.14
72
(translation_unit) "#ifndef __REFCODE_H__\n#define __REFCODE_H__\n\n//#include "Validation.h"\n\n#define F54_Porting\n\n#ifdef F54_Porting\n#include <linux/kernel.h> //printk\n#include <linux/string.h> //memset\nextern void device_I2C_read(unsigned char add, unsigned char *value, unsigned short len);\nextern void devic...
598
0
{"language": "c", "success": true, "metadata": {"lines": 72, "avg_line_length": 36.14, "nodes": 459, "errors": 0, "source_hash": "d22a3f6e174913489338a269569fb3fad395bb875ed734d2c0e6d6f0c09471bb", "categorized_nodes": 258}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
78,551
c
/* Created By: <NAME> (2017) */ #ifndef LEXER_H #define LEXER_H #include <stdio.h> #include <ctype.h> #include <string.h> const char* token_to_string_table[] = { "COMMA", "PERIOD", "Q_MARK", "LEFT_PAREN", "RIGHT_PAREN", "COLON", "COLON_DASH", "MULTIPLY", "ADD", "SCHEMES", ...
21.89
335
(translation_unit) "/* Created By: <NAME> (2017) */\n \n#ifndef LEXER_H\n#define LEXER_H\n\n#include <stdio.h>\n#include <ctype.h>\n#include <string.h>\n\nconst char* token_to_string_table[] = {\n "COMMA",\n "PERIOD",\n "Q_MARK",\n "LEFT_PAREN",\n "RIGHT_PAREN",\n "COLON",\n "COLON_DASH",\n "MUL...
2,133
0
{"language": "c", "success": true, "metadata": {"lines": 335, "avg_line_length": 21.89, "nodes": 1300, "errors": 0, "source_hash": "96ee19fba614c251ba933ac5c996d98db12a6cfe09d056154f2f05f4cf05c630", "categorized_nodes": 867}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifn...
78,552
c
// // NonlinearFilter.hpp // Voxel // // Created by 席齐 on 2017/7/26. // // #ifndef NonlinearFilter_hpp #define NonlinearFilter_hpp #include "Filter.h" #include <stdio.h> #define LIGHT_SPEED 299792458.0 namespace Voxel { /** * \addtogroup Flt * @{ */ class VOXEL_EXPORT NonlinearFilte...
18.88
52
(translation_unit) "//\n// NonlinearFilter.hpp\n// Voxel\n//\n// Created by 席齐 on 2017/7/26.\n//\n//\n\n#ifndef NonlinearFilter_hpp\n#define NonlinearFilter_hpp\n#include "Filter.h"\n#include <stdio.h>\n#define LIGHT_SPEED 299792458.0\nnamespace Voxel\n{\n \n /**\n * \addtogroup Flt\n * @{\n */\n ...
210
12
{"language": "c", "success": true, "metadata": {"lines": 52, "avg_line_length": 18.88, "nodes": 135, "errors": 0, "source_hash": "46f623104b82e4f9f551cda9f41c4dc2b8b41084ec0772c750d62c361bdbd221", "categorized_nodes": 91}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "def Non...
78,553
c
// AUTOGENERATED FILE - DO NOT MODIFY! // This file generated by Djinni from bitcoin_like_wallet.djinni #import "LGBitcoinLikeAccount.h" #import "LGBitcoinLikeOutputListCallback.h" #import "LGBitcoinLikeTransaction.h" #import "LGBitcoinLikeTransactionBuilder.h" #import "LGI32Callback.h" #import "LGStringCallback.h" #i...
36.6
15
(translation_unit) "// AUTOGENERATED FILE - DO NOT MODIFY!\n// This file generated by Djinni from bitcoin_like_wallet.djinni\n\n#import "LGBitcoinLikeAccount.h"\n#import "LGBitcoinLikeOutputListCallback.h"\n#import "LGBitcoinLikeTransaction.h"\n#import "LGBitcoinLikeTransactionBuilder.h"\n#import "LGI32Callback.h"\n#im...
56
6
{"language": "c", "success": true, "metadata": {"lines": 15, "avg_line_length": 36.6, "nodes": 46, "errors": 0, "source_hash": "799caca230a787d37ec6860903eae13a9945a443aff57f7e276406add7c8844e", "categorized_nodes": 19}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import \"...
78,554
c
/* <NAME> <EMAIL>, SINP MSU/Moscow and JINR/Dubna <NAME> <EMAIL>, Oslo University and ISS-Bucharest Date : 2007/05/30 */ #ifndef INITIALSTATE #define INITIALSTATE // Virtual class for the initial state classes // Include here common methods, but always declare them as virtual #inc...
24.85
34
(translation_unit) "/* \n <NAME> <EMAIL>, SINP MSU/Moscow and JINR/Dubna \n <NAME> <EMAIL>, Oslo University and ISS-Bucharest \n Date : 2007/05/30 \n*/ \n \n#ifndef INITIALSTATE \n#define INITIALSTATE \n// Virtual class for the initial state classes \n// Include here common methods, but always ...
177
5
{"language": "c", "success": true, "metadata": {"lines": 34, "avg_line_length": 24.85, "nodes": 98, "errors": 0, "source_hash": "9fef2f7e971fc6bc49a4a46bd6ac11e272fe7fbd43b6d5892b7f69d0c1b58b0a", "categorized_nodes": 72}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
78,555
c
#pragma once // List entry that contain a buffer that is transmitted between peers. class ListEntry { private: ListEntry* forward; ListEntry* backward; ULONG size; ULONG index; BYTE* data; friend class List; public: ListEntry(); ~ListEntry(); void Attach( ...
16.48
50
(translation_unit) "#pragma once \n \n// List entry that contain a buffer that is transmitted between peers. \nclass ListEntry \n{ \nprivate: \n ListEntry* forward; \n ListEntry* backward; \n ULONG size; \n ULONG index; \n BYTE* data; \n friend class List; \n \npublic: \n ListEntry(); \n \n ~Lis...
222
9
{"language": "c", "success": true, "metadata": {"lines": 50, "avg_line_length": 16.48, "nodes": 143, "errors": 0, "source_hash": "151175d08bd0a50f8763897850ec530c8e6849569d1c5e9eec030cfed327512c", "categorized_nodes": 91}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma ...
78,556
c
#pragma once #include "ocl_toolkit.h" namespace cldnn { namespace gpu { struct profiling_period_ocl_start_stop { const char* name; cl_profiling_info start; cl_profiling_info stop; }; struct base_event : virtual public event_impl { public: base_event(std::shared_ptr<gpu_toolkit> ctx, cl::Event const&...
32.42
31
(translation_unit) "#pragma once\n\n#include "ocl_toolkit.h"\n\nnamespace cldnn { namespace gpu {\n\nstruct profiling_period_ocl_start_stop\n{\n const char* name;\n cl_profiling_info start;\n cl_profiling_info stop;\n};\n\nstruct base_event : virtual public event_impl\n{\npublic:\n base_event(std::shared_pt...
298
14
{"language": "c", "success": true, "metadata": {"lines": 31, "avg_line_length": 32.42, "nodes": 178, "errors": 0, "source_hash": "5ce67da03914b471d2c309320f00f07050ab98e02b1a2e13556538f14ac5dcbe", "categorized_nodes": 115}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
78,557
c
// Copyright (c) 2014-2018 Bauhaus-Universitaet Weimar // This Software is distributed under the Modified BSD License, see license.txt. // // Virtual Reality and Visualization Research Group // Faculty of Media, Bauhaus-Universitaet Weimar // http://www.uni-weimar.de/medien/vr #ifndef REN_MEASUREMENT_H_ #define REN_M...
33.66
56
(translation_unit) "// Copyright (c) 2014-2018 Bauhaus-Universitaet Weimar\n// This Software is distributed under the Modified BSD License, see license.txt.\n//\n// Virtual Reality and Visualization Research Group \n// Faculty of Media, Bauhaus-Universitaet Weimar\n// http://www.uni-weimar.de/medien/vr\n\n#ifndef REN_M...
306
11
{"language": "c", "success": true, "metadata": {"lines": 56, "avg_line_length": 33.66, "nodes": 207, "errors": 0, "source_hash": "e8238d176c5300e2a09c5293d9217f10bbe9e0823e17e667b917202a2474f28c", "categorized_nodes": 166}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
78,558
c
// See LICENSE for license details. #ifndef LOWRISC_TAG_H #define LOWRISC_TAG_H #define TAG_WIDTH 4 inline int load_tag(void *addr) { int rv = 32; asm volatile ("ltag %0, 0(%1)" :"=r"(rv) :"r"(addr) ); return rv; } inline void store_tag(void *addr, int tag) { ...
20.55
20
(translation_unit) "// See LICENSE for license details.\n\n#ifndef LOWRISC_TAG_H\n#define LOWRISC_TAG_H\n\n#define TAG_WIDTH 4\n\ninline int load_tag(void *addr) {\n int rv = 32;\n asm volatile ("ltag %0, 0(%1)"\n :"=r"(rv)\n :"r"(addr)\n );\n return rv;\n}\n\n\ninline vo...
127
0
{"language": "c", "success": true, "metadata": {"lines": 20, "avg_line_length": 20.55, "nodes": 71, "errors": 0, "source_hash": "f98b5a4b9203c603a35d977a40fbd8a73de7ec6ce757b393c082587e07d1d6d6", "categorized_nodes": 39}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
78,559
c
#ifndef _BCRYPTO_SECP256K1_HH #define _BCRYPTO_SECP256K1_HH #include <node.h> #include <nan.h> class BSecp256k1 { public: static void Init(v8::Local<v8::Object> &target); private: static NAN_METHOD(privateKeyVerify); static NAN_METHOD(privateKeyExport); static NAN_METHOD(privateKeyImport); static NAN_METHO...
30.59
32
(translation_unit) "#ifndef _BCRYPTO_SECP256K1_HH\n#define _BCRYPTO_SECP256K1_HH\n\n#include <node.h>\n#include <nan.h>\n\nclass BSecp256k1 {\npublic:\n static void Init(v8::Local<v8::Object> &target);\n\nprivate:\n static NAN_METHOD(privateKeyVerify);\n static NAN_METHOD(privateKeyExport);\n static NAN_METHOD(priv...
250
1
{"language": "c", "success": true, "metadata": {"lines": 32, "avg_line_length": 30.59, "nodes": 119, "errors": 0, "source_hash": "948ea17501ff8a4f53d27245894478c00302d012a3ae10c58d48899ba901697a", "categorized_nodes": 88}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
78,560
c
#ifndef Cond_Summary_h #define Cond_Summary_h #include "CondFormats/Serialization/interface/Serializable.h" #include <string> #include <iosfwd> namespace cond { /** Base class for summary of condition payoad */ class Summary { public: Summary(); virtual ~Summary(); // short message (just conten...
27.46
24
(translation_unit) "#ifndef Cond_Summary_h\n#define Cond_Summary_h\n\n#include "CondFormats/Serialization/interface/Serializable.h"\n\n#include <string>\n#include <iosfwd>\n\nnamespace cond {\n\n /** Base class for summary of condition payoad\n */\n class Summary {\n public:\n Summary();\n virtual ~Summary();...
162
8
{"language": "c", "success": true, "metadata": {"lines": 24, "avg_line_length": 27.46, "nodes": 93, "errors": 0, "source_hash": "c4fc77986b7f4b282f8c6dfed24e4e1d63dc255f8bdb5601827692719efea462", "categorized_nodes": 69}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
78,561
c
#include <stdio.h> #include <stdlib.h> #include "src/conhash.h" struct node_s g_nodes[64]; int main() { int i; const struct node_s *node; char str[128]; long hashes[512]; /* init conhash instance */ struct conhash_s *conhash = conhash_init(NULL); if(conhash) { /* set nodes *...
36.94
49
(translation_unit) "#include <stdio.h>\n#include <stdlib.h>\n\n#include "src/conhash.h"\n\nstruct node_s g_nodes[64];\nint main()\n{\n int i;\n const struct node_s *node;\n char str[128];\n long hashes[512];\n\n /* init conhash instance */\n struct conhash_s *conhash = conhash_init(NULL);\n if(conh...
553
0
{"language": "c", "success": true, "metadata": {"lines": 49, "avg_line_length": 36.94, "nodes": 282, "errors": 0, "source_hash": "96dfc0946f8884a22da776f2080dd149667309c5b1d80a125d91721a6b6d703b", "categorized_nodes": 225}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
78,562
c
#ifndef __BASEPROP_H__ #define __BASEPROP_H__ #pragma once #include "hashtbl.h" #include "CustomProp.h" #include "FontXML.h" // ------------------------------------------------------------------ // FREE function for HashTbl<WCHAR, CPropertyGridPropertyEx*> // ----------------------------------------------------------...
41.71
70
(translation_unit) "#ifndef __BASEPROP_H__\n#define __BASEPROP_H__\n#pragma once\n\n#include "hashtbl.h"\n#include "CustomProp.h"\n#include "FontXML.h"\n\n// ------------------------------------------------------------------\n// FREE function for HashTbl<WCHAR, CPropertyGridPropertyEx*>\n// ----------------------------...
773
37
{"language": "c", "success": true, "metadata": {"lines": 70, "avg_line_length": 41.71, "nodes": 534, "errors": 0, "source_hash": "d474f531cb9dcee7f1396f23aa054c5562df6afc007f7a53166e9b38375ce059", "categorized_nodes": 349}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
78,563
c
// generated from rosidl_generator_c/resource/idl.h.em // with input from std_msgs:msg/Byte.idl // generated code does not contain a copyright notice #ifndef STD_MSGS__MSG__BYTE_H_ #define STD_MSGS__MSG__BYTE_H_ #include "std_msgs/msg/detail/byte__struct.h" #include "std_msgs/msg/detail/byte__functions.h" #include "s...
42.67
9
(translation_unit) "// generated from rosidl_generator_c/resource/idl.h.em\n// with input from std_msgs:msg/Byte.idl\n// generated code does not contain a copyright notice\n\n#ifndef STD_MSGS__MSG__BYTE_H_\n#define STD_MSGS__MSG__BYTE_H_\n\n#include "std_msgs/msg/detail/byte__struct.h"\n#include "std_msgs/msg/detail/by...
30
0
{"language": "c", "success": true, "metadata": {"lines": 9, "avg_line_length": 42.67, "nodes": 16, "errors": 0, "source_hash": "c5e83ace1861c5bf54af7dedc64b0ea18bd6c5abc5fb1ec65afe7e7c102ed75a", "categorized_nodes": 14}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef S...
78,564
c
/* $Id$ */ /* C Test program */ /* * Copyright (C) 1995 Technische Universitaet Braunschweig, Germany. * Copyright (C) 2000-2001 Universitaet Passau, Germany. * Written by <NAME> <<EMAIL>>. * * This file is part of DDD. * * DDD is free software; you can redistribute it and/or * modify it under the terms of t...
27.21
231
(translation_unit) "/* $Id$ */\n/* C Test program */\n\n/*\n * Copyright (C) 1995 Technische Universitaet Braunschweig, Germany.\n * Copyright (C) 2000-2001 Universitaet Passau, Germany.\n * Written by <NAME> <<EMAIL>>.\n * \n * This file is part of DDD.\n * \n * DDD is free software; you can redistribute it and/or\n *...
1,663
0
{"language": "c", "success": true, "metadata": {"lines": 231, "avg_line_length": 27.21, "nodes": 1001, "errors": 0, "source_hash": "c9288dca2dcba87ef26e644d1924e6b0f4f592217234b5be9b981f008d2cf1ca", "categorized_nodes": 722}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "declaration", "text": "char c...
78,565
c
#include <std.h> #include <objects.h> inherit ROOM; void create() { ::create(); set_property("light",3); set_property("indoors",0); set_short("Town of Sandy, east road."); set_long("" "%^BOLD%^WHITE%^You are on a paved road.\n%^RESET%^" "You can see the center of Sandy to the far west. To the e...
29.45
33
(translation_unit) "#include <std.h>\n#include <objects.h>\n\n\n\ninherit ROOM;\n\nvoid create() {\n ::create();\n set_property("light",3);\n set_property("indoors",0);\n set_short("Town of Sandy, east road.");\n set_long(""\n"%^BOLD%^WHITE%^You are on a paved road.\n%^RESET%^"\n"You can see the center o...
250
4
{"language": "c", "success": true, "metadata": {"lines": 33, "avg_line_length": 29.45, "nodes": 110, "errors": 0, "source_hash": "90e9892e17df19d2086fd53472c1517983ed8e5838db47f15279d8b290046859", "categorized_nodes": 83}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
78,566
c
#ifndef LATEX_ATOM_CHAR_H #define LATEX_ATOM_CHAR_H #include "common.h" #include "atom/atom.h" #include "box/box_group.h" #include "fonts/font_basic.h" #include "fonts/tex_font.h" namespace tex { struct CharFont; struct Char; class TeXFont; /** * An common superclass for atoms that represent one single character...
29.49
166
(translation_unit) "#ifndef LATEX_ATOM_CHAR_H\n#define LATEX_ATOM_CHAR_H\n\n#include "common.h"\n#include "atom/atom.h"\n#include "box/box_group.h"\n#include "fonts/font_basic.h"\n#include "fonts/tex_font.h"\n\nnamespace tex {\n\nstruct CharFont;\n\nstruct Char;\n\nclass TeXFont;\n\n/**\n * An common superclass for ato...
922
47
{"language": "c", "success": true, "metadata": {"lines": 166, "avg_line_length": 29.49, "nodes": 519, "errors": 0, "source_hash": "4b28a74d4e69d71e7686aefb0960625284bf2e41e78ad0b7fd0c50129a09c204", "categorized_nodes": 367}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "#ifndef LATEX...
78,567
c
/* * Copyright (C) 2012 <NAME> * <<EMAIL>> * * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> #include <asm/gpio.h> #include <asm/io.h> inline int gpio_is_valid(unsigned gpio) { return (gpio < BCM2835_GPIO_COUNT); } int gpio_request(unsigned gpio, const char *label) { return !gpio_is_valid(gpio); } ...
27.56
61
(translation_unit) "/*\n * Copyright (C) 2012 <NAME>\n * <<EMAIL>>\n *\n * SPDX-License-Identifier: GPL-2.0+\n */\n\n#include <common.h>\n#include <asm/gpio.h>\n#include <asm/io.h>\n\ninline int gpio_is_valid(unsigned gpio)\n{\n return (gpio < BCM2835_GPIO_COUNT);\n}\n\nint gpio_request(unsigned gpio, const char *label...
531
0
{"language": "c", "success": true, "metadata": {"lines": 61, "avg_line_length": 27.56, "nodes": 354, "errors": 0, "source_hash": "c3c9a9d1ca5369e5f3616ea00608ac650855b7221b3eab262cbfb2f20cecb2d8", "categorized_nodes": 254}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
78,568
c
// This file is part of CPU Energy Meter, // a tool for measuring energy consumption of Intel CPUs: // https://github.com/sosy-lab/cpu-energy-meter // // SPDX-FileCopyrightText: 2018-2021 <NAME> <https://www.sosy-lab.org> // // SPDX-License-Identifier: BSD-3-Clause #include <sys/capability.h> #include <unistd.h> #inc...
39.56
39
(translation_unit) "// This file is part of CPU Energy Meter,\n// a tool for measuring energy consumption of Intel CPUs:\n// https://github.com/sosy-lab/cpu-energy-meter\n//\n// SPDX-FileCopyrightText: 2018-2021 <NAME> <https://www.sosy-lab.org>\n//\n// SPDX-License-Identifier: BSD-3-Clause\n\n#include <sys/capability....
280
0
{"language": "c", "success": true, "metadata": {"lines": 39, "avg_line_length": 39.56, "nodes": 151, "errors": 0, "source_hash": "35f519afa6171ce666b1b030183fe7afc37afce6ae2b23b3921cb2b22f1398cb", "categorized_nodes": 104}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
78,569
c
#pragma once #include "../common.h" #include "../graphics/ShaderProgram.h" class Framebuffer { public: Framebuffer(GLuint w, GLuint h); ~Framebuffer(); void Bind(); void Unbind(); void Render(); void RenderWithShader(ShaderProgram* shader); private: ShaderProgram* screenShader = new ShaderProgram("../res/sh...
23.03
31
(translation_unit) "#pragma once\n\n#include "../common.h"\n#include "../graphics/ShaderProgram.h"\n\nclass Framebuffer\n{\npublic:\n Framebuffer(GLuint w, GLuint h);\n ~Framebuffer();\n\n void Bind();\n void Unbind();\n\n void Render();\n void RenderWithShader(ShaderProgram* shader);\n\nprivate:\n ShaderProgram* scree...
212
2
{"language": "c", "success": true, "metadata": {"lines": 31, "avg_line_length": 23.03, "nodes": 127, "errors": 0, "source_hash": "00f154beede974cf9f910f0d9fc7ba39413787fd0158c08e6cc009fdc8d4c200", "categorized_nodes": 99}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma ...
78,570
c
#ifndef _DESKX_NETWORK_UDP_H_ #define _DESKX_NETWORK_UDP_H_ #define UDP_ATTEMPTS (uint8_t)8 #define UDP_MTU 1500 using namespace std::chrono; using std::chrono::system_clock; class UDP { private: int sock, packlim, userlim; sddr_struct own, out; bool sender = false, *w; timeval tout = {0, 0}; byte *pack, *back...
21.79
28
(translation_unit) "#ifndef _DESKX_NETWORK_UDP_H_\n#define _DESKX_NETWORK_UDP_H_\n\n#define UDP_ATTEMPTS (uint8_t)8\n#define UDP_MTU 1500\n\nusing namespace std::chrono;\nusing std::chrono::system_clock;\n\nclass UDP {\nprivate:\n int sock, packlim, userlim;\n sddr_struct own, out;\n bool sender = false, *w;\n timeval ...
262
6
{"language": "c", "success": true, "metadata": {"lines": 28, "avg_line_length": 21.79, "nodes": 178, "errors": 0, "source_hash": "6fbcd690e4201912ce007e349467aeeac172868b33e03aa1902fe97972437d70", "categorized_nodes": 101}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
78,571
c
// BiomeMap.h // Interfaces to the cBiomeMap class representing a cCallback descendant that draws a map of biomes for the world #pragma once #include "Callback.h" class cBiomeMap : public cCallback { public: cBiomeMap(void); /// Saves the last region that it was processing void Finish(void); protect...
32.08
51
(translation_unit) "// BiomeMap.h\n\n// Interfaces to the cBiomeMap class representing a cCallback descendant that draws a map of biomes for the world\n\n\n\n\n\n#pragma once\n\n#include "Callback.h"\n\n\n\n\n\nclass cBiomeMap :\n public cCallback\n{\npublic:\n cBiomeMap(void);\n \n /// Saves the last region that it wa...
354
15
{"language": "c", "success": true, "metadata": {"lines": 51, "avg_line_length": 32.08, "nodes": 226, "errors": 0, "source_hash": "31cb4ce0d807c3741b832cc6e60967a74b41ae9770faf8d230c01abd64149d79", "categorized_nodes": 147}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
78,572
c
//*************************************************************************** // // Copyright (c) 1999 - 2006 Intel Corporation // // 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 // // ...
33.79
48
(translation_unit) "//***************************************************************************\n//\n// Copyright (c) 1999 - 2006 Intel Corporation\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...
125
0
{"language": "c", "success": true, "metadata": {"lines": 48, "avg_line_length": 33.79, "nodes": 55, "errors": 0, "source_hash": "5199fdcb85d563c93abbccd33005cd2a1c437376403f6b65b8fc9f961ade1e70", "categorized_nodes": 53}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
78,573
c
#ifndef QJSONSERIALIZER_P_H #define QJSONSERIALIZER_P_H #include "qtjsonserializer_global.h" #include "qjsonserializer.h" class Q_JSONSERIALIZER_EXPORT QJsonSerializerPrivate { public: bool allowNull; bool keepObjectName; bool enumAsString; bool validateBase64; bool useBcp47Locale; QJsonSerializer::ValidationFl...
29.68
19
(translation_unit) "#ifndef QJSONSERIALIZER_P_H\n#define QJSONSERIALIZER_P_H\n\n#include "qtjsonserializer_global.h"\n#include "qjsonserializer.h"\n\nclass Q_JSONSERIALIZER_EXPORT QJsonSerializerPrivate\n{\npublic:\n bool allowNull;\n bool keepObjectName;\n bool enumAsString;\n bool validateBase64;\n bool useBcp47Local...
105
5
{"language": "c", "success": true, "metadata": {"lines": 19, "avg_line_length": 29.68, "nodes": 68, "errors": 0, "source_hash": "c2c493ecc530e4f7aa2cf0ca6089e936d040a9c4a62d365a33d21feaa050e1aa", "categorized_nodes": 47}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
78,574
c
#ifndef QT_H7_LOG_H #define QT_H7_LOG_H #include <QFile> #include <QMutex> #include <QObject> #define H7_LOG_LEVEL_DEBUG 1 #define H7_LOG_LEVEL_INFO 2 #define H7_LOG_LEVEL_WARN 3 #define H7_LOG_LEVEL_ERROR 4 namespace h7 { /* class LogSender{ public: signals: void logMessage(int level, cons...
22.06
34
(translation_unit) "fndef QT_H7_LOG_H\n#define QT_H7_LOG_H\n\n#include <QFile>\n#include <QMutex>\n#include <QObject>\n\n#define H7_LOG_LEVEL_DEBUG 1\n#define H7_LOG_LEVEL_INFO 2\n#define H7_LOG_LEVEL_WARN 3\n#define H7_LOG_LEVEL_ERROR 4\n\n\nnamespace h7 {\n /* class LogSender{\n\n public:\n signals:\n ...
153
6
{"language": "c", "success": true, "metadata": {"lines": 34, "avg_line_length": 22.06, "nodes": 105, "errors": 0, "source_hash": "b8f45f2bd7b949d1881e000a562931b468563cd397b6429a621a648492ee5734", "categorized_nodes": 69}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "fndef Q...
78,575
c
#ifndef __GAALET_SUMMATION #define __GAALET_SUMMATION namespace gaalet { template<class L, class R> struct addition : public expression<addition<L, R>> { typedef typename merge_lists<typename L::clist, typename R::clist>::clist clist; typedef typename metric_combination_traits<typename L::metric, typename R::m...
32.76
54
(ERROR) "#ifndef __GAALET_SUMMATION\n#define __GAALET_SUMMATION\n\nnamespace gaalet\n{\n\ntemplate<class L, class R>\nstruct addition : public expression<addition<L, R>>\n{\n typedef typename merge_lists<typename L::clist, typename R::clist>::clist clist;\n\n typedef typename metric_combination_traits<typename L::m...
634
52
{"language": "c", "success": true, "metadata": {"lines": 54, "avg_line_length": 32.76, "nodes": 407, "errors": 0, "source_hash": "1aa1613b30bcdbeac32d78f749cf97ee110505295442c83ea267e28278ac998e", "categorized_nodes": 272}, "ast": {"root": "ERROR", "nodes": [{"id": 0, "type": "ERROR", "text": "#ifndef __GAALET_SUMMATIO...
78,576
c
#ifndef TELETALL_GRAPHICS_H #define TELETALL_GRAPHICS_H #include "x_sdl2headers.h" #include <JUTA/JUTA_geometry_core.h> #include <JUTA/JUTA_math.h> #include <vector> static void DrawGrid( SDL_Renderer *renderer, Point2D<int> &origin, const int &grid_size, const int &pad_width, const int &pad_heig...
31.08
215
(translation_unit) "#ifndef TELETALL_GRAPHICS_H\n#define TELETALL_GRAPHICS_H\n\n#include "x_sdl2headers.h"\n\n#include <JUTA/JUTA_geometry_core.h>\n#include <JUTA/JUTA_math.h>\n#include <vector>\n\nstatic void DrawGrid(\n SDL_Renderer *renderer,\n Point2D<int> &origin,\n const int &grid_size,\n const int &p...
1,855
30
{"language": "c", "success": true, "metadata": {"lines": 215, "avg_line_length": 31.08, "nodes": 1124, "errors": 0, "source_hash": "92d204ed8d7e2a0d3fc636ca7b64a4305804c41ee660bc85c6d32b97acbaa2d9", "categorized_nodes": 853}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifn...
78,577
c
#include "rect.h" bool Rect_uint8_containPos(const Rect_uint8* contains, uint8_t posX, uint8_t posY) { if (contains->x < posX && contains->x + contains->w > posX) { if (contains->y < posX && contains->y + contains->h > posY) { return false; } } return true; } bool Rect_uint8_containRect_uint8(const Rect_...
25
27
(translation_unit) "#include "rect.h"\n\nbool Rect_uint8_containPos(const Rect_uint8* contains, uint8_t posX, uint8_t posY)\n{\n if (contains->x < posX && contains->x + contains->w > posX)\n {\n if (contains->y < posX && contains->y + contains->h > posY)\n {\n return false;\n }\n }\n return true;\n}\n\nbool Rect_u...
281
0
{"language": "c", "success": true, "metadata": {"lines": 27, "avg_line_length": 25.0, "nodes": 180, "errors": 0, "source_hash": "0d02d1124f162c1d3306aafb8dfaee9801f20028d5c3920c9b423ede5bcb3ce6", "categorized_nodes": 141}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
78,578
c
// // KYKeyChain.h // KYBaseKit // // Created by zr on 2019/8/27. // #import <Foundation/Foundation.h> NS_ASSUME_NONNULL_BEGIN @interface KYKeychain : NSObject + (NSMutableDictionary *)getKeychainQuery:(NSString *)service; + (void)save:(NSString *)service data:(id)data; + (id)load:(NSString *)service; + (void)de...
23.8
15
(translation_unit) "//\n// KYKeyChain.h\n// KYBaseKit\n//\n// Created by zr on 2019/8/27.\n//\n\n#import <Foundation/Foundation.h>\n\nNS_ASSUME_NONNULL_BEGIN\n\n@interface KYKeychain : NSObject\n\n+ (NSMutableDictionary *)getKeychainQuery:(NSString *)service;\n+ (void)save:(NSString *)service data:(id)data;\n+ (id)l...
110
13
{"language": "c", "success": true, "metadata": {"lines": 15, "avg_line_length": 23.8, "nodes": 67, "errors": 0, "source_hash": "ba976a3a2b1dbcd6ecf4eeebb10956eca57772f8d4c3c152a80e192c21d9ba49", "categorized_nodes": 37}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <F...
78,579
c
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by <NAME>. // #import <PhotosGraph/PGGraphNode.h> @class NSSet; @interface PGGraphPetNode : PGGraphNode { } @property(readonly, nonatomic) NSSet *momentNodes; @property(readonly, nonatomic) NSSet *o...
29.73
15
(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 <PhotosGraph/PGGraphNode.h>\n\n@class NSSet;\n\n@interface PGGraphPetNode : PGGraphNode\n{\n}\n\n@property(readonly, nonatomic) NSSet *momentNodes;\n@pro...
99
13
{"language": "c", "success": true, "metadata": {"lines": 15, "avg_line_length": 29.73, "nodes": 58, "errors": 0, "source_hash": "99ea55fe7a2448c7e520715611f21f43f95bf082211bc9a9b8610e41516519b7", "categorized_nodes": 31}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <...
78,580
c
#ifndef WEAPLIST_H #define WEAPLIST_H #define MAX_WEAPONS_IN_LIST 64 // to accomodate additional weapons struct WeaponListDataType { char Name[16]; short WeaponID[MAX_WEAPONS_IN_LIST]; uchar Quantity[MAX_WEAPONS_IN_LIST]; }; extern WeaponListDataType* WeaponListDataTable; // Functions extern int GetLi...
28.47
15
(translation_unit) "#ifndef WEAPLIST_H\n#define WEAPLIST_H\n\n#define MAX_WEAPONS_IN_LIST 64 // to accomodate additional weapons\n\nstruct WeaponListDataType\n{\n char Name[16];\n short WeaponID[MAX_WEAPONS_IN_LIST];\n uchar Quantity[MAX_WEAPONS_IN_LIST];\n};\n\nextern WeaponListDataType* WeaponListDataTable;\...
102
0
{"language": "c", "success": true, "metadata": {"lines": 15, "avg_line_length": 28.47, "nodes": 75, "errors": 0, "source_hash": "1f5c8ac02a6a3aa2ecde92ce3e2dbf3ae7b11ec66ac5dcab1c915b712ed34c66", "categorized_nodes": 46}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
78,581
c
#include <axl_gui/axl_gui_ColorAttr.h>
38
1
(translation_unit) "#include <axl_gui/axl_gui_ColorAttr.h>\n" (preproc_include) "#include <axl_gui/axl_gui_ColorAttr.h>\n" (#include) "#include" (system_lib_string) "<axl_gui/axl_gui_ColorAttr.h>"
4
0
{"language": "c", "success": true, "metadata": {"lines": 1, "avg_line_length": 38.0, "nodes": 3, "errors": 0, "source_hash": "250ade2577a11265a1b79242924a576fa29d3cb3e71d19e5871e1eeea481d096", "categorized_nodes": 3}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#include <...
78,582
c
// // GreetingView.h // MothersDayPlanner // // Created by <NAME> on 5/19/16. // Copyright © 2016 V-RGB. All rights reserved. // #import <UIKit/UIKit.h> @interface GreetingView : UIView @end
18.5
10
(translation_unit) "//\n// GreetingView.h\n// MothersDayPlanner\n//\n// Created by <NAME> on 5/19/16.\n// Copyright © 2016 V-RGB. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface GreetingView : UIView\n\n@end\n" (comment) "//" (comment) "// GreetingView.h" (comment) "// MothersDayPlanner" ...
19
3
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 18.5, "nodes": 9, "errors": 0, "source_hash": "88823ef526e3c5bcf7a997bf676cd64d0dfa9034f13f99e3d4e2073acf6c93e8", "categorized_nodes": 5}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <UIKi...
78,583
c
#pragma once #include "GamePCH.h" struct PointLight { vec3 Position; vec3 LightColor; float Strength; float Distance; float linear; float quadratic; }; struct SpotLight { vec3 Position; vec3 Direction; vec3 LightColor; float innerCutOff; float outerCutOff; float Strength; float Distance; float linea...
13.7
23
(translation_unit) "#pragma once\n#include "GamePCH.h"\n\nstruct PointLight\n{\n vec3 Position;\n vec3 LightColor;\n\n float Strength;\n float Distance;\n\n float linear;\n float quadratic;\n};\nstruct SpotLight\n{\n vec3 Position;\n vec3 Direction;\n vec3 LightColor;\n\n float innerCutOff;\n float outerCutOff;\n\n flo...
84
0
{"language": "c", "success": true, "metadata": {"lines": 23, "avg_line_length": 13.7, "nodes": 57, "errors": 0, "source_hash": "0061b2eb5760308a325930288d57cf2b396f83ca3ab6d9c3fa7247dc515aaf04", "categorized_nodes": 45}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma on...
78,584
c
// // UICollectionViewCell+PEX.h // AFJSONRPCClient-iOS10.0 // // Created by <NAME> on 2018/11/16. // #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @interface UICollectionViewCell (PEX) @property (nonatomic, strong) NSIndexPath *pex_indexPath; @property (nonatomic, copy) NSString *trackDataId; /**< 点击cell时将会携带上...
26.08
13
(translation_unit) "//\n// UICollectionViewCell+PEX.h\n// AFJSONRPCClient-iOS10.0\n//\n// Created by <NAME> on 2018/11/16.\n//\n\n#import <UIKit/UIKit.h>\n\nNS_ASSUME_NONNULL_BEGIN\n\n@interface UICollectionViewCell (PEX)\n@property (nonatomic, strong) NSIndexPath *pex_indexPath;\n@property (nonatomic, copy) NSStrin...
62
13
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 26.08, "nodes": 44, "errors": 0, "source_hash": "08fe6af4044d92fdfb8b181052ad739ccdaa0a913d9db668d6702aa35f803623", "categorized_nodes": 22}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <...
78,585
c
#pragma once #include "IControl.h" namespace Borg::UI { class DpiHelper final { public: static DpiHelper FromControl(const Ref<UI::IControl>& control); double LogicalDpi() const; int DeviceDpi() const; double LogicalToDeviceUnitsScalingFactor() const; template <typ...
25.32
19
(translation_unit) "#pragma once\n#include "IControl.h"\n\nnamespace Borg::UI\n{\n class DpiHelper final\n {\n public:\n static DpiHelper FromControl(const Ref<UI::IControl>& control);\n\n double LogicalDpi() const;\n int DeviceDpi() const;\n double LogicalToDeviceUnitsScalingFactor...
136
8
{"language": "c", "success": true, "metadata": {"lines": 19, "avg_line_length": 25.32, "nodes": 78, "errors": 0, "source_hash": "231e3f8c2790865afd1bd2d190bf4c45d55548056972c79005d00989b6c84052", "categorized_nodes": 48}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
78,586
c
#include <lua.h> #include <lauxlib.h> #if LUA_VERSION_NUM <= 501 #error Lua <= 5.1 not supported #endif static int regkey_upval; /* registry key for the upvalues table */ static int getupval(lua_State *L) { luaL_checkstack(L, 2, NULL); /* we need 2 slots */ lua_pushvalue(L, -1); lua_pushlightuserdata(L, &regk...
35.24
141
(translation_unit) "#include <lua.h>\n#include <lauxlib.h>\n\n#if LUA_VERSION_NUM <= 501\n#error Lua <= 5.1 not supported\n#endif\n\nstatic int regkey_upval; /* registry key for the upvalues table */\n\nstatic int getupval(lua_State *L) {\n luaL_checkstack(L, 2, NULL); /* we need 2 slots */\n lua_pushvalue(L, -1);\n...
1,334
0
{"language": "c", "success": true, "metadata": {"lines": 141, "avg_line_length": 35.24, "nodes": 700, "errors": 0, "source_hash": "bf6bb73dd4c85bd6d4d90f25487a8444ec274f28000a147c6435275209e82e98", "categorized_nodes": 497}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
78,587
c
//===- FIRParser.h - .fir to FIRRTL dialect parser --------------*- 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 // //===------------------------...
35.95
38
(translation_unit) "//===- FIRParser.h - .fir to FIRRTL dialect parser --------------*- C++ -*-===//\n//\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//...
130
5
{"language": "c", "success": true, "metadata": {"lines": 38, "avg_line_length": 35.95, "nodes": 67, "errors": 0, "source_hash": "9b402b606754673141f16c02e3cc8d96c00210464f7dc9e56202eae7e82d2b03", "categorized_nodes": 47}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
78,588
c
#include <stdio.h> #include <stdlib.h> #include <unistd.h> int main(int argc, char const *argv[]) { if (chdir("/tmp") < 0) { fprintf(stderr, "chdir error for /tmp\n"); exit(1); } printf("chdir to /tmp succeeded\n"); return 0; }
20.67
12
(translation_unit) "#include <stdio.h>\n#include <stdlib.h>\n#include <unistd.h>\n\nint main(int argc, char const *argv[])\n{\n if (chdir("/tmp") < 0) {\n fprintf(stderr, "chdir error for /tmp\n");\n exit(1);\n }\n printf("chdir to /tmp succeeded\n");\n return 0;\n}" (preproc_include) "#incl...
92
0
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 20.67, "nodes": 49, "errors": 0, "source_hash": "430917689517244ff81e7f7bfd9c6e6c70ce1502ffa5d0dd186aec3b77af0fc1", "categorized_nodes": 35}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
78,589
c
#ifndef Mars_verinfo_h #define Mars_verinfo_h #define MARS_REVISION "fee4ead" #define MARS_PATH "fix-iOSDemoXlog-warry-Could-not-found-window" #define MARS_URL "" #define MARS_BUILD_TIME "2017-01-17 14:27:25" #define MARS_TAG "pre_[2017-01-17_14.27]@git-fee4ead@shihui" #endif
33.62
8
(translation_unit) "#ifndef Mars_verinfo_h\n#define Mars_verinfo_h\n\n#define MARS_REVISION "fee4ead"\n#define MARS_PATH "fix-iOSDemoXlog-warry-Could-not-found-window"\n#define MARS_URL ""\n#define MARS_BUILD_TIME "2017-01-17 14:27:25"\n#define MARS_TAG "pre_[2017-01-17_14.27]@git-fee4ead@shihui"\n\n#endif\n" (prepro...
28
0
{"language": "c", "success": true, "metadata": {"lines": 8, "avg_line_length": 33.62, "nodes": 27, "errors": 0, "source_hash": "d7a2f16751c4cef71e40abcc26c3ae49177e035aa30767de0b2abf40afb35092", "categorized_nodes": 10}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef M...
78,590
c
#ifndef CUDNN_CONV_H_ #define CUDNN_CONV_H_ #include <cudnn.h> #include <cuda_runtime.h> #include <iostream> #include "basic.h" using std::cout; using std::endl; extern cudnnHandle_t cudnn_handle_g; extern void* input_data_g; extern void* output_data_g; extern void* weight_data_g; extern void* cudnn_workspace_g; #d...
27.94
132
(translation_unit) "#ifndef CUDNN_CONV_H_\n#define CUDNN_CONV_H_\n\n#include <cudnn.h>\n#include <cuda_runtime.h>\n#include <iostream>\n#include "basic.h"\n\nusing std::cout;\nusing std::endl;\nextern cudnnHandle_t cudnn_handle_g;\n\nextern void* input_data_g;\nextern void* output_data_g;\nextern void* weight_data_g;\n...
822
28
{"language": "c", "success": true, "metadata": {"lines": 132, "avg_line_length": 27.94, "nodes": 566, "errors": 0, "source_hash": "f67f4053f3e00c9f7e22e4387668f49478ef2c080cb4bd3db82bc6865d602d7e", "categorized_nodes": 374}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
78,591
c
// // UIView+K2SFrame.h // 网易彩票test // // Created by K2S on 15/7/21. // Copyright (c) 2015年 小码哥. All rights reserved. // #import <UIKit/UIKit.h> @interface UIView (K2SFrame) // @property在分类里面只会自动生成get,set方法,并不会生成下划线的成员属性 //协议里面也可以类似的做法 @property (nonatomic, assign) CGFloat width; @property (nonatomic, assign) CG...
26
19
(translation_unit) "//\n// UIView+K2SFrame.h\n// 网易彩票test\n//\n// Created by K2S on 15/7/21.\n// Copyright (c) 2015年 小码哥. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface UIView (K2SFrame)\n// @property在分类里面只会自动生成get,set方法,并不会生成下划线的成员属性\n//协议里面也可以类似的做法\n@property (nonatomic, assign) CGFloat width;\...
121
28
{"language": "c", "success": true, "metadata": {"lines": 19, "avg_line_length": 26.0, "nodes": 83, "errors": 0, "source_hash": "2a5250480fa4783b1c7488ebbc8a43d71de7b7d4d35b6ad7e4c26979da1b371e", "categorized_nodes": 48}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "IKit.h>\n\...
78,592
c
// ---------------------------------------------------------------------------- // Copyright 2016-2017 ARM Ltd. // // SPDX-License-Identifier: Apache-2.0 // // 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 ...
40.14
146
(translation_unit) "// ----------------------------------------------------------------------------\n// Copyright 2016-2017 ARM Ltd.\n//\n// SPDX-License-Identifier: Apache-2.0\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/...
917
0
{"language": "c", "success": true, "metadata": {"lines": 146, "avg_line_length": 40.14, "nodes": 563, "errors": 0, "source_hash": "aa153412483e0af37045baaa32a3a6ee159c9d04479a644fe787405527b4bb07", "categorized_nodes": 389}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
78,593
c
// wxClientDC.h // This file was automatically generated // by extractxml.rb, part of the wxRuby project // Do not make changes directly to this file! #if !defined(_wxClientDC_h_) #define _wxClientDC_h_ class wxClientDC : public wxWindowDC { public: /** * \brief Constructor. Pass a pointer to the window on which yo...
23.18
17
(translation_unit) "// wxClientDC.h\n// This file was automatically generated\n// by extractxml.rb, part of the wxRuby project\n// Do not make changes directly to this file!\n\n#if !defined(_wxClientDC_h_)\n#define _wxClientDC_h_\nclass wxClientDC : public wxWindowDC\n{\npublic:\n /**\n * \brief Constructor. Pass a po...
46
1
{"language": "c", "success": true, "metadata": {"lines": 17, "avg_line_length": 23.18, "nodes": 24, "errors": 0, "source_hash": "a7b536b4a786bd43b63c1f80576358c82fa313dbaed1057899fcea62a00fa4aa", "categorized_nodes": 14}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_if", "text": "#if !define...
78,594
c
/**************************************************************************** * * Copyright 2016 Samsung Electronics All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at...
26.52
231
(translation_unit) "/****************************************************************************\n *\n * Copyright 2016 Samsung Electronics All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtai...
1,537
0
{"language": "c", "success": true, "metadata": {"lines": 231, "avg_line_length": 26.52, "nodes": 923, "errors": 0, "source_hash": "d1bf3a760f826b9ee9935a9dc0d254ebd02670f615fb049486945eb2810c3ce7", "categorized_nodes": 670}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
78,595
c
#import <Metal/Metal.h> #import "MBEMesh.h" @class MBEOBJGroup; @interface MBEOBJMesh : MBEMesh - (instancetype)initWithPath:(NSString*)path device:(id<MTLDevice>)device; @end
28.33
6
(translation_unit) "#import <Metal/Metal.h>\n#import "MBEMesh.h"\n\n@class MBEOBJGroup;\n\n@interface MBEOBJMesh : MBEMesh\n\n- (instancetype)initWithPath:(NSString*)path device:(id<MTLDevice>)device;\n\n@end\n" (preproc_call) "#import <Metal/Metal.h>\n" (preproc_directive) "#import" (preproc_arg) "<Metal/Met...
54
8
{"language": "c", "success": true, "metadata": {"lines": 6, "avg_line_length": 28.33, "nodes": 36, "errors": 0, "source_hash": "f18aa6aeb62f2fab7c8a668c0307c8a43d36c07ed1956df17b2d331fde91b77b", "categorized_nodes": 20}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <M...
78,596
c
#include <Arduino.h> #ifndef __KEYPADEVENTDEF_H #define __KEYPADEVENTDEF_H struct KeypadEventDef { uint8_t numKey; uint32_t eventTime; uint8_t eventType; uint8_t previousState; }; #endif
19.3
10
(translation_unit) "#include <Arduino.h>\n\n#ifndef __KEYPADEVENTDEF_H\n#define __KEYPADEVENTDEF_H\n\nstruct KeypadEventDef {\n uint8_t numKey;\n uint32_t eventTime;\n uint8_t eventType;\n uint8_t previousState;\n};\n\n#endif" (preproc_include) "#include <Arduino.h>\n" (#include) "#include" (syste...
34
0
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 19.3, "nodes": 25, "errors": 0, "source_hash": "7bf989f7ccd2aa74e116372816fde9cfae9a271e690c48d4ea41d8081a99c076", "categorized_nodes": 19}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#includ...
78,597
c
#include <unistd.h> #include "py/mpconfig.h" #include "s3c2440_regs.h" #include "uart.h" #define PCLK 50000000 // clock_init函数设置PCLK为50MHz #define UART_CLK PCLK // UART0的时钟源设为PCLK #define UART_BAUD_RATE 115200 // 波特率 #define UART_BRD ((UART_CLK / (UART_BAUD_RATE * 16)) - 1) ...
25.49
41
(translation_unit) "#include <unistd.h>\n#include "py/mpconfig.h"\n\n#include "s3c2440_regs.h"\n#include "uart.h"\n\n#define PCLK 50000000 // clock_init函数设置PCLK为50MHz\n#define UART_CLK PCLK // UART0的时钟源设为PCLK\n#define UART_BAUD_RATE 115200 // 波特率\n#define UART_BRD ((UART_CLK /...
245
0
{"language": "c", "success": true, "metadata": {"lines": 41, "avg_line_length": 25.49, "nodes": 147, "errors": 0, "source_hash": "b9f8977093d9bd4ebdfe31c0df2ddb2823eec2009212599a59a27d8e0179f464", "categorized_nodes": 102}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
78,598
c
/*****************************************************************//** * \file StdRanlux24RandomNumberEngine.h * \brief RANLUX法のレベル3 乱数生成器 * * \author japan * \date December 2021 *********************************************************************/ #pragma once #if 0 // C++ #include <random> // My #includ...
32.82
39
(translation_unit) "****************************************************************//**\n * \file StdRanlux24RandomNumberEngine.h\n * \brief RANLUX法のレベル3 乱数生成器\n *\n * \author japan\n * \date December 2021\n *********************************************************************/\n\n#pragma once\n#if 0\n// C++\n#in...
211
18
{"language": "c", "success": true, "metadata": {"lines": 39, "avg_line_length": 32.82, "nodes": 153, "errors": 0, "source_hash": "83b30b639b51121477d55b9111ea22a03b9ed4c67ef534f6778d218f29d1fc53", "categorized_nodes": 94}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "C++\n#in...
78,599