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
// This file is part of the Luau programming language and is licensed under MIT License; see LICENSE.txt for details #pragma once #include "lua.h" #include <string> // Note: These are internal functions which are being exposed in a header // so they can be included by unit tests. int replMain(int argc, char** argv);...
44.67
9
(translation_unit) "// This file is part of the Luau programming language and is licensed under MIT License; see LICENSE.txt for details\n#pragma once\n\n#include "lua.h"\n\n#include <string>\n\n// Note: These are internal functions which are being exposed in a header\n// so they can be included by unit tests.\nint rep...
76
2
{"language": "c", "success": true, "metadata": {"lines": 9, "avg_line_length": 44.67, "nodes": 49, "errors": 0, "source_hash": "4e8789cb14df6d18b2aaafab6b77392e4e235381b001dd6ebe049f2d4f81d488", "categorized_nodes": 31}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma on...
80,000
c
// // ZHBaseAlert.h // TenantWallet // // Created by 李明伟 on 2017/4/29. // Copyright © 2017年 fintechzh. All rights reserved. // #import <UIKit/UIKit.h> /**消失回调*/ typedef void (^ZHBaseAlertDismissBlock)(void); /**警告框基础类(实现一些基础的动画与事件,用于继承)*/ @interface ZHBaseAlert : UIView /**是否允许点击旁白消失(默认YES)*/ @property (nonatom...
24.14
22
(translation_unit) "//\n// ZHBaseAlert.h\n// TenantWallet\n//\n// Created by 李明伟 on 2017/4/29.\n// Copyright © 2017年 fintechzh. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n/**消失回调*/\ntypedef void (^ZHBaseAlertDismissBlock)(void);\n\n/**警告框基础类(实现一些基础的动画与事件,用于继承)*/\n@interface ZHBaseAlert : UIView\n\n/**是否...
123
14
{"language": "c", "success": true, "metadata": {"lines": 22, "avg_line_length": 24.14, "nodes": 75, "errors": 0, "source_hash": "9159360056de412a76ed2973f721e3caa4b78a0a7c4a8fa0dcd5bd7565d03c44", "categorized_nodes": 38}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "UIKit/UIK...
80,001
c
// // JMPhotoBrowser.h // ControlTest // // Created by print on 2018/10/18. // Copyright © 2018年 liuxuanbo. All rights reserved. // #import <Foundation/Foundation.h> #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN #define SelectNotificationName @"DidSelectedImagesNotificationName" #define CancelNotificationName @...
39.11
36
(translation_unit) "//\n// JMPhotoBrowser.h\n// ControlTest\n//\n// Created by print on 2018/10/18.\n// Copyright © 2018年 liuxuanbo. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n#import <UIKit/UIKit.h>\nNS_ASSUME_NONNULL_BEGIN\n\n#define SelectNotificationName @"DidSelectedImagesNotificationName"\...
321
34
{"language": "c", "success": true, "metadata": {"lines": 36, "avg_line_length": 39.11, "nodes": 218, "errors": 0, "source_hash": "53f7bb357617530783db3b9bb4d4378b48282d72340a703ae8911c8a08d5c4b5", "categorized_nodes": 127}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "port <F...
80,002
c
/* * Contains the entry point for the project, and defines the ISR vectors * Copyright (C) 2013 <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...
36.87
82
(translation_unit) "/* \n * Contains the entry point for the project, and defines the ISR vectors\n * Copyright (C) 2013 <NAME>\n * \n * Permission is hereby granted, free of charge, to any person obtaining\n * a copy of this software and associated documentation files (the\n * "Software"), to deal in the Software with...
338
2
{"language": "c", "success": true, "metadata": {"lines": 82, "avg_line_length": 36.87, "nodes": 213, "errors": 0, "source_hash": "ed2bb200c46652b0abe056ce90cc45411e8c6ee8e843997107bd52d741266b9b", "categorized_nodes": 127}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_function_def", "text": ...
80,003
c
// // ZHLLModel.h // AppDemo // // Created by TerryChao on 16/7/25. // Copyright © 2016年 czh. All rights reserved. // #import "ZHJSONModel.h" typedef NS_ENUM(NSInteger, ZHLLApiCode) { ZHLLApiCodeSuccess = 0, ZHLLApiCodeFail, }; @interface ZHLLModel : ZHJSONModel @property (copy, nonatomic) NSString *msg...
25.68
19
(translation_unit) "//\n// ZHLLModel.h\n// AppDemo\n//\n// Created by TerryChao on 16/7/25.\n// Copyright © 2016年 czh. All rights reserved.\n//\n\n#import "ZHJSONModel.h"\n\ntypedef NS_ENUM(NSInteger, ZHLLApiCode) {\n ZHLLApiCodeSuccess = 0,\n ZHLLApiCodeFail,\n};\n\n@interface ZHLLModel : ZHJSONModel\n\n@pro...
117
14
{"language": "c", "success": true, "metadata": {"lines": 19, "avg_line_length": 25.68, "nodes": 74, "errors": 0, "source_hash": "33db0ae26833408942eb29c22bdb102b8c3e41ae3e26e19cb1437c0e6613a781", "categorized_nodes": 44}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "port \"ZH...
80,004
c
/* * Title : Car Wash System V1.0 * Developer : <NAME> * Compiler : gcc version 5.4.0 * OS : Ubuntu 16.04 LTS * IDE : Qt Creator 4.1.0 * License : The MIT License (MIT) * Indent : 4 spaces * *#Compiling with gcc * gcc Project_Lib/queue.c Project_Lib/carwashsystem.c Project_Lib/toolbox.c...
30.41
41
(translation_unit) "/*\n * Title : Car Wash System V1.0\n * Developer : <NAME>\n * Compiler : gcc version 5.4.0\n * OS : Ubuntu 16.04 LTS\n * IDE : Qt Creator 4.1.0\n * License : The MIT License (MIT)\n * Indent : 4 spaces\n *\n *#Compiling with gcc\n * gcc Project_Lib/queue.c Project_Lib/carwash...
247
0
{"language": "c", "success": true, "metadata": {"lines": 41, "avg_line_length": 30.41, "nodes": 148, "errors": 0, "source_hash": "8a803fbe45a1babd0e0a9098538278dbb6e6b9e6cdd068917781af2767c39d0f", "categorized_nodes": 100}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
80,005
c
// // TLADayCollectionViewCell.h // travelApp // // Created by <NAME> on 08/05/2019. // Copyright © 2019 <NAME>. All rights reserved. // #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @interface TLADayCollectionViewCell : UICollectionViewCell @property (nonatomic, strong) UILabel *dateLabel; /**< Дата */ -...
21.24
17
(translation_unit) "//\n// TLADayCollectionViewCell.h\n// travelApp\n//\n// Created by <NAME> on 08/05/2019.\n// Copyright © 2019 <NAME>. All rights reserved.\n//\n\n\n#import <UIKit/UIKit.h>\n\n\nNS_ASSUME_NONNULL_BEGIN\n\n\n@interface TLADayCollectionViewCell : UICollectionViewCell\n\n@property (nonatomic, strong...
62
7
{"language": "c", "success": true, "metadata": {"lines": 17, "avg_line_length": 21.24, "nodes": 38, "errors": 0, "source_hash": "17970b3e4895a277eb7a3e9bbbca7351095db9b925eea4d0e54932557b5d9709", "categorized_nodes": 23}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <U...
80,006
c
// // EUCGroupController.h // EUCSDK_Sample // // Created by 肖乐 on 2018/3/9. // Copyright © 2018年 IMMoveMobile. All rights reserved. // #import "EUCBaseController.h" @interface EUCGroupController : EUCBaseController @end
21.5
10
(translation_unit) "//\n// EUCGroupController.h\n// EUCSDK_Sample\n//\n// Created by 肖乐 on 2018/3/9.\n// Copyright © 2018年 IMMoveMobile. All rights reserved.\n//\n\n#import "EUCBaseController.h"\n\n@interface EUCGroupController : EUCBaseController\n\n@end\n" (comment) "//" (comment) "// EUCGroupController.h" ...
19
3
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 21.5, "nodes": 10, "errors": 0, "source_hash": "a3e1974feb21762788b6c8869798925b388d95d70a2f53676ee3718c763c57d6", "categorized_nodes": 5}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": " \"EUCBaseC...
80,007
c
#include "unittest.h" #include <fcntl.h> #include <unistd.h> #include <stdbool.h> #include <stdio.h> #include <string.h> static const char red[] = "\033[1;31m"; static const char green[] = "\033[1;32m"; static const char end_color[] = "\033[0m"; void print_summary(const tests_summary *summary) { const char *c...
27.64
81
(translation_unit) "#include "unittest.h"\n\n#include <fcntl.h>\n#include <unistd.h>\n\n#include <stdbool.h>\n#include <stdio.h>\n#include <string.h>\n\n\nstatic const char red[] = "\033[1;31m";\nstatic const char green[] = "\033[1;32m";\nstatic const char end_color[] = "\033[0m";\n\n\nvoid print_summary(const tests_su...
725
0
{"language": "c", "success": true, "metadata": {"lines": 81, "avg_line_length": 27.64, "nodes": 407, "errors": 0, "source_hash": "4415f583a68b989f33e73f40850ae860f461ebe11d602a4ff7f8a8f70d80b40c", "categorized_nodes": 259}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
80,008
c
#include <stdio.h> int main (){ int num1 = 0; int num2 = 1; int sum = 0; int i = 0; long sumapares = 0; int seguir = 1; do{ sum = num1 + num2; if (sum < 4000000){ if (sum % 2 == 0){ sumapares += sum; } num1 = num2; num2 = sum; printf ("%d\n", num2); } else{ seguir = 0; } }w...
15.59
27
(translation_unit) "#include <stdio.h>\n\n\nint main (){\n\n int num1 = 0;\n int num2 = 1;\n int sum = 0;\n int i = 0;\n long sumapares = 0;\n int seguir = 1;\n\n do{\n sum = num1 + num2;\n if (sum < 4000000){\n if (sum % 2 == 0){\n sumapares += sum;\n }\n num1 = num2;\n num2 = sum;\n\n printf ("%d\n", n...
165
0
{"language": "c", "success": true, "metadata": {"lines": 27, "avg_line_length": 15.59, "nodes": 101, "errors": 0, "source_hash": "fee426eb9c9a06b717d0b6994f2261245c20e05918bcf46775948990f7d66ea4", "categorized_nodes": 66}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
80,009
c
#ifndef ITP_POLL_H #define ITP_POLL_H #include <sys/poll.h> #endif // ITP_POLL_H
19.5
4
(translation_unit) "fndef ITP_POLL_H\n#define ITP_POLL_H\n\n#include <sys/poll.h>\n\n#endif // ITP_POLL_H\n" (preproc_ifdef) "fndef ITP_POLL_H\n#define ITP_POLL_H\n\n#include <sys/poll.h>\n\n#endif /" (#ifndef) "fndef I" (identifier) "P_POLL_H\n#" (preproc_def) "efine ITP_POLL_H\n\n#" (#define) "efi...
12
0
{"language": "c", "success": true, "metadata": {"lines": 4, "avg_line_length": 19.5, "nodes": 10, "errors": 0, "source_hash": "3460e24b936a2726f235854b23b5141af34ac804dc593b7e414039d723dedf28", "categorized_nodes": 8}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "fndef ITP_P...
80,010
c
#ifndef CMAINFRAME_H #define CMAINFRAME_H class CMainToolBar : public CToolBar { public: CMainToolBar(); virtual ~CMainToolBar(); DECLARE_DYNCREATE(CMainToolBar) virtual int Create(CWnd *parent); enum { NoState = 0, ViewFree, }; virtual void EnableState(int state, BOOL enabled); void ...
21.21
57
(translation_unit) "#ifndef CMAINFRAME_H \n#define CMAINFRAME_H \n \nclass CMainToolBar : public CToolBar { \npublic: \n CMainToolBar(); \n virtual ~CMainToolBar(); \n DECLARE_DYNCREATE(CMainToolBar) \n \n virtual int Create(CWnd *parent); \n \n enum { \n NoState = 0, \n ViewFree, \n }; \n \n virtual void EnableState...
358
19
{"language": "c", "success": true, "metadata": {"lines": 57, "avg_line_length": 21.21, "nodes": 240, "errors": 0, "source_hash": "0c2214150bb9dd003a9c8a829f0a1e04ca126ad610c2fa0be5a0b6b967014d92", "categorized_nodes": 169}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "#ifndef CMAINF...
80,011
c
#include "Logger.h" #include "OSSupport/File.h" class cFileListener : public cLogger::cListener { public: cFileListener(); cFileListener(AString a_Filename); virtual void Log(AString a_Message, cLogger::eLogLevel a_LogLevel) override; private: cFile m_File; }; cLogger::cListener * MakeConsoleListen...
16.56
18
(translation_unit) "#include "Logger.h"\n#include "OSSupport/File.h"\n\n\n\n\n\nclass cFileListener\n : public cLogger::cListener\n{\npublic:\n\n cFileListener();\n cFileListener(AString a_Filename);\n\n virtual void Log(AString a_Message, cLogger::eLogLevel a_LogLevel) override;\n \nprivate:\n\n cFile m_File;\n};\n\n\...
92
6
{"language": "c", "success": true, "metadata": {"lines": 18, "avg_line_length": 16.56, "nodes": 50, "errors": 0, "source_hash": "0a2f7df8cf2b4140691ad89452ee016454a046dfbcde674d4411fdada63ed737", "categorized_nodes": 36}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
80,012
c
// Copyright 2016 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_UI_APP_LIST_ARC_ARC_DEFAULT_APP_LIST_H_ #define CHROME_BROWSER_UI_APP_LIST_ARC_ARC_DEFAULT_APP_LIST_H_ #include <stdint.h> #inclu...
36.59
87
(translation_unit) "// Copyright 2016 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_UI_APP_LIST_ARC_ARC_DEFAULT_APP_LIST_H_\n#define CHROME_BROWSER_UI_APP_LIST_ARC_ARC_DEFAULT_APP_LIST_H_\n\n...
567
37
{"language": "c", "success": true, "metadata": {"lines": 87, "avg_line_length": 36.59, "nodes": 317, "errors": 0, "source_hash": "4efd118fafc6e780f0cef817f98fc89bc0fa9b1d1694def92fc4d5eb8fb319b8", "categorized_nodes": 219}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "#ifndef CHROME...
80,013
c
// // LMWebWKInterfaceImage.h // LMWebWKInterfaceImage // // Created by <NAME> on 03.11.16. // Copyright © 2016 BigBadBird. All rights reserved. // #import <WatchKit/WatchKit.h> #import <Foundation/Foundation.h> @interface WKInterfaceImage (LMWebWKInterfaceImage) - (void) setImageWithURL:(NSURL*) url; - (void) se...
30.08
13
(translation_unit) "//\n// LMWebWKInterfaceImage.h\n// LMWebWKInterfaceImage\n//\n// Created by <NAME> on 03.11.16.\n// Copyright © 2016 BigBadBird. All rights reserved.\n//\n\n#import <WatchKit/WatchKit.h>\n#import <Foundation/Foundation.h>\n\n@interface WKInterfaceImage (LMWebWKInterfaceImage)\n- (void) setImageW...
87
10
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 30.08, "nodes": 48, "errors": 0, "source_hash": "b8c6cc8f81cf5a7d0b97109dccf3a476525c81f2642770f3df286b2c30158a25", "categorized_nodes": 26}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <W...
80,014
c
#pragma once // License: MIT http://opensource.org/licenses/MIT // Author: dustpg mailto:<EMAIL> #include "sfc_famicom.h" /// <summary> /// 实用函数-StepFC: 载入8k PRG-ROM /// </summary> /// <param name="famicom">The famicom.</param> /// <param name="des">The DES.</param> /// <param name="src">The source.</param> stat...
32.4
25
(translation_unit) "ragma once\n// License: MIT http://opensource.org/licenses/MIT\n// Author: dustpg mailto:<EMAIL>\n\n#include "sfc_famicom.h"\n\n\n/// <summary>\n/// 实用函数-StepFC: 载入8k PRG-ROM\n/// </summary>\n/// <param name="famicom">The famicom.</param>\n/// <param name="des">The DES.</param>\n/// <param name="...
137
0
{"language": "c", "success": true, "metadata": {"lines": 25, "avg_line_length": 32.4, "nodes": 86, "errors": 0, "source_hash": "9afd119458a29c9ffa460a2305716371548548097e227944901ea710245e6b0f", "categorized_nodes": 60}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "ragma once...
80,015
c
#include <stdio.h>f main() { char ch; printf("Enter any Character\n"); ch=getchar(); printf("you entered "); putchar(ch); }//end main
14.91
11
(translation_unit) "#include <stdio.h>f\nmain()\n\n{\n char ch;\n printf("Enter any Character\n");\n \n ch=getchar(); \n printf("you entered ");\n putchar(ch);\n \n}//end main\n" (preproc_include) "#include <stdio.h>" (#include) "#include" (system_lib_string) "<stdio.h>" (func...
60
0
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 14.91, "nodes": 30, "errors": 0, "source_hash": "1ad6ed9d6951a921b10641c3890eb19c814489d89819dc280c050e987c986330", "categorized_nodes": 22}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
80,016
c
#ifndef MAIN_H #define MAIN_H #include "ace/OS.h" class Splot_Main { public: Splot_Main (int = 0, ACE_TCHAR** = NULL); virtual ~Splot_Main (); virtual bool run () = 0; virtual bool checkErrors () = 0; virtual bool setVideoMode () = 0; virtual bool setFullScreen (bool) = 0; virtual void...
22.19
16
(translation_unit) "#ifndef MAIN_H\n#define MAIN_H\n\n#include "ace/OS.h"\n\nclass Splot_Main\n{\n public:\n Splot_Main (int = 0,\n ACE_TCHAR** = NULL);\n virtual ~Splot_Main ();\n\n virtual bool run () = 0;\n virtual bool checkErrors () = 0;\n\n virtual bool setVideoMode () = 0;\n virtual bool setFu...
131
6
{"language": "c", "success": true, "metadata": {"lines": 16, "avg_line_length": 22.19, "nodes": 92, "errors": 0, "source_hash": "b194c1693a9b40d38d7923ca639d3a02d319855cd6eb99f3699fc7c4fb06f1a6", "categorized_nodes": 57}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
80,017
c
#ifndef LIBIMG_JPEG_H #define LIBIMG_JPEG_H #include "libimgJinclude.h" #include "jpeglib.h" #include "jerror.h" #include <setjmp.h> /* Stuff for overriden error handlers */ struct local_error_mgr { struct jpeg_error_mgr pub; jmp_buf setjmp_buffer; }; typedef struct local_error_mgr *local_error_ptr; void l...
35.32
19
(translation_unit) "#ifndef LIBIMG_JPEG_H\n#define LIBIMG_JPEG_H\n\n#include "libimgJinclude.h"\n#include "jpeglib.h"\n#include "jerror.h"\n\n#include <setjmp.h>\n\n/* Stuff for overriden error handlers */\nstruct local_error_mgr\n{\n struct jpeg_error_mgr pub;\n jmp_buf setjmp_buffer;\n};\n\ntypedef struct local...
130
0
{"language": "c", "success": true, "metadata": {"lines": 19, "avg_line_length": 35.32, "nodes": 91, "errors": 0, "source_hash": "3a636316e94cedb6f9b3bef3f644e77a7142931d4c188c2a54b866819d7d861a", "categorized_nodes": 69}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
80,018
c
#ifndef TC_CLASSIC_H #define TC_CLASSIC_H #ifdef __cplusplus extern "C" { #endif #include <check.h> Suite* tc_classic_suite(void); #ifdef __cplusplus } #endif #endif // TC_CLASSIC_H
15.55
11
(translation_unit) "#ifndef TC_CLASSIC_H\n#define TC_CLASSIC_H\n\n#ifdef __cplusplus\nextern "C" {\n#endif\n\n#include <check.h>\n\nSuite* tc_classic_suite(void);\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif // TC_CLASSIC_H\n" (preproc_ifdef) "#ifndef TC_CLASSIC_H\n#define TC_CLASSIC_H\n\n#ifdef __cplusplus\nextern "C"...
43
0
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 15.55, "nodes": 32, "errors": 0, "source_hash": "e9edb0308b6fa2768610ca31b72e55bfeeb7a8fd594172a0ac0618e07e897fa6", "categorized_nodes": 24}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
80,019
c
#include <stdio.h> #include <conio.h> int main(){ int arr2D[3][3]; int i,j; for ( i = 0; i < 3; i++) { for ( j = 0; j < 3; j++) { printf("[%d] [%d] ::",i,j); scanf("%d",&arr2D[i][j]);} //&arr2D[i][j] is the memory addresss of...
29.22
23
(translation_unit) "#include <stdio.h>\n#include <conio.h>\n\nint main(){\n\n int arr2D[3][3];\n\n int i,j;\n for ( i = 0; i < 3; i++)\n {\n for ( j = 0; j < 3; j++)\n { \n printf("[%d] [%d] ::",i,j);\n scanf("%d",&arr2D[i][j]);} //&arr2...
204
0
{"language": "c", "success": true, "metadata": {"lines": 23, "avg_line_length": 29.22, "nodes": 109, "errors": 0, "source_hash": "2ed70217054da63148e23a06b8050b0f703b377dadc8a0481da00118d75a8bc0", "categorized_nodes": 84}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
80,020
c
#include "graphics/commandbuffer.h" #include "graphics/vulkan_members.h" #include "mempool.h" #include "magpie.h" #include "log.h" #include "handlepool.h" static VkCommandPool commandpools[RENDERER_MAX_THREADS] = {0}; typedef struct { // One command buffer for each frame VkCommandBuffer cmd; VkCommandBufferLevel l...
32.84
257
(translation_unit) "#include "graphics/commandbuffer.h"\n#include "graphics/vulkan_members.h"\n#include "mempool.h"\n#include "magpie.h"\n#include "log.h"\n#include "handlepool.h"\n\nstatic VkCommandPool commandpools[RENDERER_MAX_THREADS] = {0};\n\ntypedef struct\n{\n // One command buffer for each frame\n VkCommandBuf...
2,030
0
{"language": "c", "success": true, "metadata": {"lines": 257, "avg_line_length": 32.84, "nodes": 1227, "errors": 0, "source_hash": "8884beb8289b79d7855270ae1adb67fa5def159cb8a82caee5223fc0589216a8", "categorized_nodes": 925}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#i...
80,021
c
/* utbi_futougou_ui.c * Copyright (C) 2008 梅どぶろく umedoblock */ #include "utbi_sanjutsu.h" int utbi_futougou_ui(unt *iroha_futougou, unt nihohe_futougou) { extern int yousosuu; #ifdef ___ASSEMBLE_WIN32___ _asm{ mov edx, dword ptr [iroha_futougou] mov ecx, [yousosuu] shl ecx, 2 add edx, ecx shr ecx,...
16.77
53
(translation_unit) "/* utbi_futougou_ui.c\n * Copyright (C) 2008 梅どぶろく umedoblock\n */\n\n#include "utbi_sanjutsu.h"\n\nint utbi_futougou_ui(unt *iroha_futougou, unt nihohe_futougou)\n{\n extern int yousosuu;\n#ifdef ___ASSEMBLE_WIN32___\n _asm{\n mov edx, dword ptr [iroha_futougou]\n\n mov ecx, [yousosuu]\n shl ...
281
17
{"language": "c", "success": true, "metadata": {"lines": 53, "avg_line_length": 16.77, "nodes": 184, "errors": 0, "source_hash": "36fca49210d312eab42bde9c720b3f68f80cfda1f6f06d6e09a96f3499fe2418", "categorized_nodes": 134}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "utbi...
80,022
c
/* $OpenBSD: math.h,v 1.1 2004/02/01 05:12:54 drahn Exp $ */ /* $NetBSD: math.h,v 1.3 2001/11/25 15:55:57 thorpej Exp $ */ #include <arm/math.h>
47.33
3
(translation_unit) "/* $OpenBSD: math.h,v 1.1 2004/02/01 05:12:54 drahn Exp $ */\n/* $NetBSD: math.h,v 1.3 2001/11/25 15:55:57 thorpej Exp $ */\n\n#include <arm/math.h>\n" (comment) "/* $OpenBSD: math.h,v 1.1 2004/02/01 05:12:54 drahn Exp $ */" (comment) "/* $NetBSD: math.h,v 1.3 2001/11/25 15:55:57 thorpej Exp $ *...
6
0
{"language": "c", "success": true, "metadata": {"lines": 3, "avg_line_length": 47.33, "nodes": 3, "errors": 0, "source_hash": "e28d96d4bc72bd58d51a6880940ad6643b81627c0945b02aaaaa5f09d56b8158", "categorized_nodes": 3}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#include ...
80,023
c
/* ---------------------------------------------------------- % (C)1994,1995 Institute for New Generation Computer Technology % (Read COPYRIGHT for detailed information.) % (C)1996, 1997, 1998, 1999 Japan Information Processing Development Center % (Read COPYRIGHT-JIPDEC for detailed information.) --...
27.93
55
(translation_unit) "/* ---------------------------------------------------------- \n% (C)1994,1995 Institute for New Generation Computer Technology \n% (Read COPYRIGHT for detailed information.) \n% (C)1996, 1997, 1998, 1999 Japan Information Processing Development Center\n% (Read COPYRIGHT-JIPDEC for d...
273
2
{"language": "c", "success": true, "metadata": {"lines": 55, "avg_line_length": 27.93, "nodes": 192, "errors": 0, "source_hash": "06693788a54c6b15f025ee59785f15e555268d7a6a0a93dc70eb64c33ceda423", "categorized_nodes": 128}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "struct_specifier", "text": "str...
80,024
c
/** * @file Servant_var.h * * $Id: Servant_var.h 77276 2007-02-21 08:26:36Z johnnyw $ * * @author <NAME> <<EMAIL>> * @author <NAME> <<EMAIL>> */ #ifndef TAO_PERF_RTEC_SERVANT_VAR_H #define TAO_PERF_RTEC_SERVANT_VAR_H #include "tao/corba.h" /** * @class Servant_var * * @brief Implement a smart pointer class ...
24.23
66
(translation_unit) "/**\n * @file Servant_var.h\n *\n * $Id: Servant_var.h 77276 2007-02-21 08:26:36Z johnnyw $\n *\n * @author <NAME> <<EMAIL>>\n * @author <NAME> <<EMAIL>>\n */\n#ifndef TAO_PERF_RTEC_SERVANT_VAR_H\n#define TAO_PERF_RTEC_SERVANT_VAR_H\n\n#include "tao/corba.h"\n\n/**\n * @class Servant_var\n *\n * @br...
289
19
{"language": "c", "success": true, "metadata": {"lines": 66, "avg_line_length": 24.23, "nodes": 171, "errors": 0, "source_hash": "c718ea8915b9432892c5b7db84682153ffc0e54e23183b8359d4411c1b0ca4ea", "categorized_nodes": 105}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
80,025
c
/* * Copyright 2007 Baylor University * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
28.5
98
(translation_unit) "/*\n * Copyright 2007 Baylor University\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n...
316
23
{"language": "c", "success": true, "metadata": {"lines": 98, "avg_line_length": 28.5, "nodes": 182, "errors": 0, "source_hash": "f25118172f46d31ce15da010bf9ace11e689e83ce30463bcf061bf5ab5092fcb", "categorized_nodes": 97}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
80,026
c
#include <liba.h> int libB_func() { return libA_func(); }
28
2
(translation_unit) "#include <liba.h>\n\nint libB_func() { return libA_func(); }\n" (preproc_include) "#include <liba.h>\n" (#include) "#include" (system_lib_string) "<liba.h>" (function_definition) "int libB_func() { return libA_func(); }" (primitive_type) "int" (function_declarator) "libB_func()" ...
22
0
{"language": "c", "success": true, "metadata": {"lines": 2, "avg_line_length": 28.0, "nodes": 12, "errors": 0, "source_hash": "0f75471dc5b75292bd43938fd7f71a4705579aa54c4706b9221f1ff8f015c454", "categorized_nodes": 9}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#include ...
80,027
c
extern int fill_yunobitarray (int, yunosize, yunosize, yunobitarray*);
70
1
(translation_unit) "extern int fill_yunobitarray (int, yunosize, yunosize, yunobitarray*);\n" (declaration) "extern int fill_yunobitarray (int, yunosize, yunosize, yunobitarray*);" (storage_class_specifier) "extern" (extern) "extern" (primitive_type) "int" (function_declarator) "fill_yunobitarray (i...
24
0
{"language": "c", "success": true, "metadata": {"lines": 1, "avg_line_length": 70.0, "nodes": 17, "errors": 0, "source_hash": "cfd6321c559c86d71358c2ab03929a54eecfb99a56998e28322284a91d5ba21e", "categorized_nodes": 11}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "declaration", "text": "extern int f...
80,028
c
#include <string.h> #include <stdlib.h> #include <stdio.h> #include "assert.h" #include "compress40.h" static void (*compress_or_decompress)(FILE *input) = compress40; int main(int argc, char *argv[]) { int i; for (i = 1; i < argc; i++) { if (strcmp(argv[i], "-c") == 0) { ...
35.59
37
(translation_unit) "#include <string.h>\n#include <stdlib.h>\n#include <stdio.h>\n#include "assert.h"\n#include "compress40.h"\n\nstatic void (*compress_or_decompress)(FILE *input) = compress40;\n\nint main(int argc, char *argv[])\n{\n int i;\n\n for (i = 1; i < argc; i++) {\n if (strcmp(ar...
370
0
{"language": "c", "success": true, "metadata": {"lines": 37, "avg_line_length": 35.59, "nodes": 206, "errors": 0, "source_hash": "74f8cf02f578759469b0a6e824bb6640e8f4bc0892d0f1887e3bfae1854ad178", "categorized_nodes": 143}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
80,029
c
// // #import <Foundation/Foundation.h> #import "ISAEnumValueConverter.h" @interface ISANSTextAlignmentValueConverter : ISAEnumValueConverter @end
20.14
7
(translation_unit) "//\n//\n\n#import <Foundation/Foundation.h>\n#import "ISAEnumValueConverter.h"\n\n\n@interface ISANSTextAlignmentValueConverter : ISAEnumValueConverter\n@end" (comment) "//" (comment) "//" (preproc_call) "#import <Foundation/Foundation.h>\n" (preproc_directive) "#import" (preproc_arg) ...
17
3
{"language": "c", "success": true, "metadata": {"lines": 7, "avg_line_length": 20.14, "nodes": 12, "errors": 0, "source_hash": "61a042147d57ce0fa2d76584622d1ec3c6ab6637a12b2ae49d4b2c110e9bedf1", "categorized_nodes": 5}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <Fo...
80,030
c
// // RecieveDataParser.h // // // Created by <NAME> on 2016/3/9. // Copyright © 2016年 Nuvoton. All rights reserved. // #import <Foundation/Foundation.h> #import "PlayerManager.h" @interface RecieveDataParser : NSObject{ PlayerManager *playerManager; } /** * parse socket read data buffer * * @param data ...
28.54
26
(translation_unit) "//\n// RecieveDataParser.h\n// \n//\n// Created by <NAME> on 2016/3/9.\n// Copyright © 2016年 Nuvoton. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n#import "PlayerManager.h"\n@interface RecieveDataParser : NSObject{\n PlayerManager *playerManager;\n}\n/**\n * parse socket re...
93
11
{"language": "c", "success": true, "metadata": {"lines": 26, "avg_line_length": 28.54, "nodes": 56, "errors": 0, "source_hash": "0626f18f64aac0e460b0d279466235b4619c5bcbe9f7f27a0d8acb5b81cfc41d", "categorized_nodes": 27}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "port <Fou...
80,031
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 src/OPENSOLARIS.LICENSE * or http://www.opensolaris.o...
32.62
52
(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 src/OPENSOLARIS.LICENSE\n *...
246
0
{"language": "c", "success": true, "metadata": {"lines": 52, "avg_line_length": 32.62, "nodes": 160, "errors": 0, "source_hash": "a18e2c59de670bf5273d2efc365d5b8db96711058b4ccdd1ef9f33447b25b4b1", "categorized_nodes": 127}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
80,032
c
#ifndef __RAIN_H__ #define __RAIN_H__ void matrix_rain(const char *string); int rain_animation(void); #endif
20.8
5
(translation_unit) "#ifndef __RAIN_H__\n#define __RAIN_H__\n\nvoid matrix_rain(const char *string);\nint rain_animation(void);\n\n#endif\n" (preproc_ifdef) "#ifndef __RAIN_H__\n#define __RAIN_H__\n\nvoid matrix_rain(const char *string);\nint rain_animation(void);\n\n#endif" (#ifndef) "#ifndef" (identifier) "_...
33
0
{"language": "c", "success": true, "metadata": {"lines": 5, "avg_line_length": 20.8, "nodes": 24, "errors": 0, "source_hash": "3d31c4f5584838bd2b38be9e4331c30cf07ca2b8b2a42ca9f678893c7e910dfe", "categorized_nodes": 14}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef __...
80,033
c
// // SKVideoDownloader.h // SKVideoPlayer // // Created by shavekevin on 2018/6/20. // Copyright © 2018年 shavekevin. All rights reserved. // #import <Foundation/Foundation.h> #import "SKM3U8PlayListModel.h" #import <UIKit/UIKit.h> /** 文件下载管理并组装下载后的文件为本地m3u8 执行下载操作(总的下载操作-对单个下载器做操作) */ @class SKVideoDownloader; ...
22.67
55
(translation_unit) "//\n// SKVideoDownloader.h\n// SKVideoPlayer\n//\n// Created by shavekevin on 2018/6/20.\n// Copyright © 2018年 shavekevin. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n#import "SKM3U8PlayListModel.h"\n#import <UIKit/UIKit.h>\n/**\n 文件下载管理并组装下载后的文件为本地m3u8 执行下载操作(总的下载操作-对单个下载器做操作...
241
26
{"language": "c", "success": true, "metadata": {"lines": 55, "avg_line_length": 22.67, "nodes": 156, "errors": 0, "source_hash": "2a7437d1985788f1d9ca751beeb1ada3cb18ae28db8de201bcd833fef937642b", "categorized_nodes": 84}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "port <Fo...
80,034
c
#ifndef DIALOG_H #define DIALOG_H #include <QDialog> #include "examplemodel.h" #include "exampleview.h" QT_BEGIN_NAMESPACE class QVBoxLayout; QT_END_NAMESPACE class ExampleDialog : public QDialog { Q_OBJECT public: ExampleDialog(QWidget *parent = 0); ~ExampleDialog(); QVBoxLayout *m_pVBoxLayout; ...
21
19
(translation_unit) "#ifndef DIALOG_H\n#define DIALOG_H\n\n#include <QDialog>\n\n#include "examplemodel.h"\n#include "exampleview.h"\n\nQT_BEGIN_NAMESPACE\nclass QVBoxLayout;\nQT_END_NAMESPACE\n\nclass ExampleDialog : public QDialog\n{\n Q_OBJECT\n\npublic:\n ExampleDialog(QWidget *parent = 0);\n ~ExampleDialog...
96
4
{"language": "c", "success": true, "metadata": {"lines": 19, "avg_line_length": 21.0, "nodes": 61, "errors": 0, "source_hash": "96c94efebe549188e80793d378787a96b830a02763e7e9113b261b3d56b964a9", "categorized_nodes": 43}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef D...
80,035
c
// HARFANG(R) Copyright (C) 2021 <NAME>, NWNC HARFANG. Released under GPL/LGPL/Commercial Licence, see licence.txt for details. #pragma once #include "foundation/time.h" #include <chrono> namespace hg { std::chrono::seconds time_to_chrono_sec(time_ns t); std::chrono::milliseconds time_to_chrono_ms(time_ns t); std::...
43.73
11
(translation_unit) "// HARFANG(R) Copyright (C) 2021 <NAME>, NWNC HARFANG. Released under GPL/LGPL/Commercial Licence, see licence.txt for details.\n\n#pragma once\n\n#include "foundation/time.h"\n#include <chrono>\n\nnamespace hg {\n\nstd::chrono::seconds time_to_chrono_sec(time_ns t);\nstd::chrono::milliseconds time_...
126
10
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 43.73, "nodes": 72, "errors": 0, "source_hash": "dadeea4d4c8312062366fd05d0219b03846310ace3f5b6cdcb68aab8dac8b062", "categorized_nodes": 55}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
80,036
c
/** @file This file include board specific boot manager callbacks Copyright (c) 2019, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Library/DebugLib.h> #include <Library/UefiBootServicesTableLib.h> #include <Library/PlatformBootManagerLib.h> #...
25.64
103
(translation_unit) "/** @file \n This file include board specific boot manager callbacks \n \n Copyright (c) 2019, Intel Corporation. All rights reserved.<BR> \n SPDX-License-Identifier: BSD-2-Clause-Patent \n**/ \n \n \n#include <Library/DebugLib.h> \n#include <Library/UefiBootServicesTableLib.h> \n#include <Librar...
451
2
{"language": "c", "success": true, "metadata": {"lines": 103, "avg_line_length": 25.64, "nodes": 262, "errors": 0, "source_hash": "f2fc15f9105da718038b9a2123bcccbc36ec3990c09eea85486a56fcebcf9419", "categorized_nodes": 211}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
80,037
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 ...
35.52
191
(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...
524
40
{"language": "c", "success": true, "metadata": {"lines": 191, "avg_line_length": 35.52, "nodes": 324, "errors": 0, "source_hash": "4e90d185bc168ff64c2f3adbe75996fe2dbb36b214d1dc24c7a97c59da67c0c3", "categorized_nodes": 221}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
80,038
c
#include <seccomp.h> int main(void) { scmp_filter_ctx ctx = seccomp_init(SCMP_ACT_ALLOW); seccomp_rule_add(ctx, SCMP_ACT_ERRNO(0), SCMP_SYS(chown), 0); seccomp_rule_add(ctx, SCMP_ACT_ERRNO(0), SCMP_SYS(fchown), 0); seccomp_rule_add(ctx, SCMP_ACT_ERRNO(0), SCMP_SYS(lchown), 0); seccomp_rule_add(ctx, SCMP_ACT_ERRNO...
36.9
10
(translation_unit) "#include <seccomp.h>\n\nint main(void)\n{\n scmp_filter_ctx ctx = seccomp_init(SCMP_ACT_ALLOW);\n seccomp_rule_add(ctx, SCMP_ACT_ERRNO(0), SCMP_SYS(chown), 0);\n seccomp_rule_add(ctx, SCMP_ACT_ERRNO(0), SCMP_SYS(fchown), 0);\n seccomp_rule_add(ctx, SCMP_ACT_ERRNO(0), SCMP_SYS(lchown), 0);\n seccomp_...
134
0
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 36.9, "nodes": 76, "errors": 0, "source_hash": "6318be355b886b250353af20f7917524375f5afedc8526b7926514c6ef8bd597", "categorized_nodes": 57}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#includ...
80,039
c
#ifndef _GUI_MOUSE_H_ #define _GUI_MOUSE_H_ #include "gui_def.h" #include <memory> #include "math_type.h" namespace gui { class Mouse final { public: /** * \brief */ Mouse(); /** * \brief */ Mouse(const Mouse &other); /** * \brief */ virtual ~Mouse(); /** ...
17.85
53
(translation_unit) "#ifndef _GUI_MOUSE_H_\n#define _GUI_MOUSE_H_\n\n#include "gui_def.h"\n#include <memory>\n#include "math_type.h"\n\nnamespace gui {\n\nclass Mouse final\n{\n\npublic:\n /**\n * \brief\n */\n Mouse();\n /**\n * \brief\n */\n Mouse(const Mouse &other);\n /**\n * \brie...
178
9
{"language": "c", "success": true, "metadata": {"lines": 53, "avg_line_length": 17.85, "nodes": 93, "errors": 0, "source_hash": "e16c27c8a3903abe6d6fb3565e76953cb18d77e635e2e2fbbd30dfeb84707d03", "categorized_nodes": 64}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
80,040
c
#pragma once #include "SAEEngine.h" #include <cstdint> #include <glm/vec3.hpp> #include <glm/geometric.hpp> #include <chrono> namespace sae::engine { struct position_t; struct distance_t; struct velocity_t; struct acceleration_t; struct force_t; struct mass_t; using direction_t = glm::vec3; using magn...
24.88
115
(translation_unit) "#pragma once\n\n#include "SAEEngine.h"\n\n#include <cstdint>\n\n#include <glm/vec3.hpp>\n#include <glm/geometric.hpp>\n\n#include <chrono>\n\nnamespace sae::engine\n{\n\n struct position_t;\n struct distance_t;\n struct velocity_t;\n struct acceleration_t;\n struct force_t;\n struct mass_t;\n\n\n\n\...
1,074
71
{"language": "c", "success": true, "metadata": {"lines": 115, "avg_line_length": 24.88, "nodes": 631, "errors": 0, "source_hash": "0ed03bba3aa0ce52decdf7e8c89b541c44b55d4191640d633b7945368b92a3b6", "categorized_nodes": 482}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragm...
80,041
c
#include "BSP\bsp.h" #include "common.h" #include "stm32f103xb.h" int main(void){ while(1){ } }
10.44
9
(translation_unit) "#include "BSP\bsp.h"\n\n#include "common.h"\n#include "stm32f103xb.h"\n\n\nint main(void){\n while(1){\n\n\n }\n}\n\n" (preproc_include) "#include "BSP\bsp.h"\n" (#include) "#include" (string_literal) ""BSP\bsp.h"" (") """ (string_content) "BSP" (escape_sequence) "\b" ...
42
0
{"language": "c", "success": true, "metadata": {"lines": 9, "avg_line_length": 10.44, "nodes": 20, "errors": 0, "source_hash": "5a56380cbf6698eae0e442db6669fca5360182f58c952a63eec974a216425fb6", "categorized_nodes": 16}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#includ...
80,042
c
// // CollectRoomListRequestModel.h // xbed // // Created by Leo.Chen on 16/9/29. // Copyright © 2016年 Leo.Chen. All rights reserved. // #import "XbedRequestModel.h" @interface CollectRoomListRequestModel : XbedRequestModel @property (nonatomic, strong)NSNumber *page; @property (nonatomic, strong)NSNumber *size;...
25.92
12
(translation_unit) "//\n// CollectRoomListRequestModel.h\n// xbed\n//\n// Created by Leo.Chen on 16/9/29.\n// Copyright © 2016年 Leo.Chen. All rights reserved.\n//\n\n#import "XbedRequestModel.h"\n\n@interface CollectRoomListRequestModel : XbedRequestModel\n\n@property (nonatomic, strong)NSNumber *page;\n@property (...
54
10
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 25.92, "nodes": 37, "errors": 0, "source_hash": "2e783cd97f7f9788457a1a87052c12142f7f77a7850323dbfaa6000139b1d3c0", "categorized_nodes": 19}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "port \"Xb...
80,043
c
// SPDX-License-Identifier: GPL-2.0+ /* * Driver for Motorcomm PHYs * * Author: <NAME> <<EMAIL>> */ #include <linux/kernel.h> #include <linux/module.h> #include <linux/phy.h> #define PHY_ID_YT8511 0x0000010a #define YT8511_PAGE_SELECT 0x1e #define YT8511_PAGE 0x1f #define YT8511_EXT_CLK_GATE 0x0c #define YT851...
29.18
114
(translation_unit) "// SPDX-License-Identifier: GPL-2.0+\n/*\n * Driver for Motorcomm PHYs\n *\n * Author: <NAME> <<EMAIL>>\n */\n\n#include <linux/kernel.h>\n#include <linux/module.h>\n#include <linux/phy.h>\n\n#define PHY_ID_YT8511 0x0000010a\n\n#define YT8511_PAGE_SELECT 0x1e\n#define YT8511_PAGE 0x1f\n#define YT8...
668
1
{"language": "c", "success": true, "metadata": {"lines": 114, "avg_line_length": 29.18, "nodes": 422, "errors": 0, "source_hash": "f9d44c1b34c00412a9c18821541d4c7b5e6f7cdd2b43574bad769514358924fe", "categorized_nodes": 274}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
80,044
c
/****************************************************************************** * Copyright (c) 2013 - 2021 Xilinx, Inc. All rights reserved. * SPDX-License-Identifier: MIT ******************************************************************************/ /****************************************************************...
26.82
95
(translation_unit) "/******************************************************************************\n* Copyright (c) 2013 - 2021 Xilinx, Inc. All rights reserved.\n* SPDX-License-Identifier: MIT\n******************************************************************************/\n\n/***************************************...
76
0
{"language": "c", "success": true, "metadata": {"lines": 95, "avg_line_length": 26.82, "nodes": 52, "errors": 0, "source_hash": "6375721cb6c1ac6984b0c7590f25caf64ce5b7b33587ca5c051b0e889f32640d", "categorized_nodes": 27}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
80,045
c
// // ViewController.h // BackWebView // // Created by <NAME> on 15/11/25. // Copyright (c) 2015年 CheilOpenTide. All rights reserved. // #import <UIKit/UIKit.h> @interface ViewController : UIViewController @end
18.64
11
(translation_unit) "//\n// ViewController.h\n// BackWebView\n//\n// Created by <NAME> on 15/11/25.\n// Copyright (c) 2015年 CheilOpenTide. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface ViewController : UIViewController\n\n\n@end\n\n" (comment) "//" (comment) "// ViewController.h" (comment)...
22
4
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 18.64, "nodes": 12, "errors": 0, "source_hash": "4ff1153921772b77cd4a0f33c199b43fe0ded42bc73ed8e8b9a88722005508de", "categorized_nodes": 6}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "mport <UIK...
80,046
c
inherit "obj/weapon"; start() { set_class(4); set_sub_type("short sword"); set_name("sword"); set_short("A rusty short sword"); set_long("Rusty and old short sword. It's blade is in bad\n"+ "condition. Orcs usually uses this kind of weapons.\n"); }
33
9
(translation_unit) "inherit "obj/weapon";\n\nstart() {\n set_class(4);\n set_sub_type("short sword");\n set_name("sword");\n set_short("A rusty short sword");\n set_long("Rusty and old short sword. It's blade is in bad\n"+\n "condition. Orcs usually uses this kind of w...
79
0
{"language": "c", "success": true, "metadata": {"lines": 9, "avg_line_length": 33.0, "nodes": 31, "errors": 0, "source_hash": "f8d134d3533b60d3fd634ebbae762a3c814d0003d06cd9a784b981aaddeb513d", "categorized_nodes": 22}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "concatenated_string", "text": "inhe...
80,047
c
#ifndef COIN_SOFILE_H #define COIN_SOFILE_H /**************************************************************************\ * * This file is part of the Coin 3D visualization library. * Copyright (C) by <NAME> & Gas Technologies. * * This library is free software; you can redistribute it and/or * modify it unde...
39.16
64
(translation_unit) "#ifndef COIN_SOFILE_H\n#define COIN_SOFILE_H\n\n/**************************************************************************\\n *\n * This file is part of the Coin 3D visualization library.\n * Copyright (C) by <NAME> & Gas Technologies.\n *\n * This library is free software; you can redistribute ...
410
18
{"language": "c", "success": true, "metadata": {"lines": 64, "avg_line_length": 39.16, "nodes": 288, "errors": 0, "source_hash": "1bd9e80de4c038b5e780e7fcd366476176ddc126844a90a64e334106cccc952c", "categorized_nodes": 192}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
80,048
c
#include <stdio.h> void fgets_cons_erase_character(unsigned char toerase) __z88dk_fastcall { fputc_cons(8); fputc_cons(' '); fputc_cons(8); }
21
7
(translation_unit) "#include <stdio.h>\n\nvoid fgets_cons_erase_character(unsigned char toerase) __z88dk_fastcall\n{\n fputc_cons(8);\n fputc_cons(' ');\n fputc_cons(8);\n}\n" (preproc_include) "#include <stdio.h>\n" (#include) "#include" (system_lib_string) "<stdio.h>" (function_definition) "void ...
47
0
{"language": "c", "success": true, "metadata": {"lines": 7, "avg_line_length": 21.0, "nodes": 29, "errors": 0, "source_hash": "565229fe654539f113eed96ebc17d7afb6a158ad85a5884db10adcf6d770d689", "categorized_nodes": 19}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#include...
80,049
c
#ifndef BLAZINGDB_RAL_ORDERBY_OPERATOR_H #define BLAZINGDB_RAL_ORDERBY_OPERATOR_H #include "DataFrame.h" #include <blazingdb/manager/Context.h> #include <string> #include <vector> namespace ral { namespace operators { namespace { using blazingdb::manager::Context; } // namespace bool is_sort(std::string query_part...
30.19
16
(translation_unit) "#ifndef BLAZINGDB_RAL_ORDERBY_OPERATOR_H\n#define BLAZINGDB_RAL_ORDERBY_OPERATOR_H\n\n#include "DataFrame.h"\n#include <blazingdb/manager/Context.h>\n#include <string>\n#include <vector>\n\nnamespace ral {\nnamespace operators {\n\nnamespace {\nusing blazingdb::manager::Context;\n} // namespace\n\n...
97
5
{"language": "c", "success": true, "metadata": {"lines": 16, "avg_line_length": 30.19, "nodes": 61, "errors": 0, "source_hash": "f4433758237da9031016ce692187ca4342b3e592f87d4be483de36df69bb93ab", "categorized_nodes": 49}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
80,050
c
/*------------------------------------------------------------------------- * * nbtstrat.c * Strategy map entries for the btree indexed access method * * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * * * IDENTIFI...
25.49
118
(translation_unit) "/*-------------------------------------------------------------------------\n *\n * nbtstrat.c\n * Strategy map entries for the btree indexed access method\n *\n * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group\n * Portions Copyright (c) 1994, Regents of the University of Ca...
430
0
{"language": "c", "success": true, "metadata": {"lines": 118, "avg_line_length": 25.49, "nodes": 238, "errors": 0, "source_hash": "37be2cdbf02f688fd3f00244b76d6fde7e102decbf4eb897bb5ef4fe87735cc0", "categorized_nodes": 173}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
80,051
c
#include <pthread.h> #include <stdio.h> #include <unistd.h> #include <thread_pool.h> pthread_key_t key; void tls_cleanup(void *args) { UNUSED_PARAM(args); fprintf(stderr, "tls_cleanup()\n"); } void *func(void *args) { UNUSED_PARAM(args); int i = 0; int j = 0; pthread_setspecific(key, &i...
16.54
41
(translation_unit) "#include <pthread.h>\n#include <stdio.h>\n#include <unistd.h>\n#include <thread_pool.h>\n\n\npthread_key_t key;\n\n\nvoid tls_cleanup(void *args)\n{\n UNUSED_PARAM(args);\n\n fprintf(stderr, "tls_cleanup()\n");\n}\n\n\nvoid *func(void *args)\n{\n UNUSED_PARAM(args);\n\n int i = 0;\n i...
258
0
{"language": "c", "success": true, "metadata": {"lines": 41, "avg_line_length": 16.54, "nodes": 150, "errors": 0, "source_hash": "9c32db8b9b8dedcea92c7d364228f7fb2628bad7317226978d04fab4bbd66fd7", "categorized_nodes": 100}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
80,052
c
// Copyright 2013 Viewfinder. All rights reserved. // Author: <NAME> #ifndef VIEWFINDER_JNI_NATIVE_APP_STATE_H #define VIEWFINDER_JNI_NATIVE_APP_STATE_H #include "AppState.h" #include "JNIUtils.h" class NativeAppState : public AppState { public: NativeAppState(const string& base_dir, int server_port, JNIEnv* env,...
39.08
40
(translation_unit) "// Copyright 2013 Viewfinder. All rights reserved.\n// Author: <NAME>\n\n#ifndef VIEWFINDER_JNI_NATIVE_APP_STATE_H\n#define VIEWFINDER_JNI_NATIVE_APP_STATE_H\n\n#include "AppState.h"\n#include "JNIUtils.h"\n\nclass NativeAppState : public AppState {\n public:\n NativeAppState(const string& base_dir...
418
29
{"language": "c", "success": true, "metadata": {"lines": 40, "avg_line_length": 39.08, "nodes": 268, "errors": 0, "source_hash": "7a0cfa4afeef6d3d974e270f3377ff3661ce543f03990dceb790e201c96d4e95", "categorized_nodes": 186}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
80,053
c
/* Generated by RuntimeBrowser Image: /System/Library/PrivateFrameworks/CoreWiFi.framework/Versions/A/CoreWiFi */ @interface CoreWiFiClient : CoreWiFiMAC { unsigned long long createTime; unsigned long long deauthReason; BOOL isAssociated; BOOL isWOWSleep; unsigned long long joinTime; u...
36.33
36
(translation_unit) "/* Generated by RuntimeBrowser\n Image: /System/Library/PrivateFrameworks/CoreWiFi.framework/Versions/A/CoreWiFi\n */\n\n@interface CoreWiFiClient : CoreWiFiMAC {\n unsigned long long createTime;\n unsigned long long deauthReason;\n BOOL isAssociated;\n BOOL isWOWSleep;\n unsign...
428
31
{"language": "c", "success": true, "metadata": {"lines": 36, "avg_line_length": 36.33, "nodes": 282, "errors": 0, "source_hash": "d673e79bb85f18aa44ba6e9009559d4145eab2169e17540295423af4f81989e9", "categorized_nodes": 161}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "@", "parent": ...
80,054
c
#pragma once #include "ASTVariableNode.h" #include "ASTExpressionNode.h" namespace trent { class ASTFunctionDeclarationNode :public ASTNode { public: ASTFunctionDeclarationNode(); std::string d_function_name; std::vector<NodeRef<ASTVariableNode>> d_parameters; std::vector<NodeRef<ASTNode>> d_body...
26.12
16
(translation_unit) "#pragma once\n#include "ASTVariableNode.h"\n#include "ASTExpressionNode.h"\n\nnamespace trent\n{\n class ASTFunctionDeclarationNode :public ASTNode\n {\n public:\n ASTFunctionDeclarationNode();\n\n std::string d_function_name;\n\n std::vector<NodeRef<ASTVariableNode>> d_parameters;\n std:...
97
4
{"language": "c", "success": true, "metadata": {"lines": 16, "avg_line_length": 26.12, "nodes": 56, "errors": 0, "source_hash": "ab07771683180e5cff356da729aa5ae0770267b02d3833c9b9795aec854d5479", "categorized_nodes": 40}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
80,055
c
version https://git-lfs.github.com/spec/v1 oid sha256:551cae90ca254f04692ba06561aaa63bb8daf50319ab6e85b951e08bbfc51f00 size 8124
42
3
(translation_unit) "version https://git-lfs.github.com/spec/v1\noid sha256:551cae90ca254f04692ba06561aaa63bb8daf50319ab6e85b951e08bbfc51f00\nsize 8124\n" (declaration) "version https://git-lfs.github.com/spec/v1\noid" (type_identifier) "version" (ERROR) "https:" (identifier) "https" (:) ":" (c...
19
2
{"language": "c", "success": true, "metadata": {"lines": 3, "avg_line_length": 42.0, "nodes": 12, "errors": 0, "source_hash": "8614156f298385db6cbc28add861e80fe0991a694f95ba0bac9adac7be394166", "categorized_nodes": 9}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "declaration", "text": "version https...
80,056
c
/* SPDX-License-Identifier: GPL-2.0 */ /* * Shared Memory Communications over RDMA (SMC-R) and RoCE * * Definitions for the SMC module (socket related) * * Copyright IBM Corp. 2016 * * Author(s): <NAME> <<EMAIL>> */ #ifndef __SMC_H #define __SMC_H #include <linux/socket.h> #include <linux/types.h> #includ...
31.91
262
(translation_unit) "/* SPDX-License-Identifier: GPL-2.0 */\n/*\n * Shared Memory Communications over RDMA (SMC-R) and RoCE\n *\n * Definitions for the SMC module (socket related)\n *\n * Copyright IBM Corp. 2016\n *\n * Author(s): <NAME> <<EMAIL>>\n */\n#ifndef __SMC_H\n#define __SMC_H\n\n#include <linux/socket.h>...
1,286
3
{"language": "c", "success": true, "metadata": {"lines": 262, "avg_line_length": 31.91, "nodes": 883, "errors": 0, "source_hash": "eff9a2e016e19528095afb4d109a316e93d695185662046ea4e4ecaf729a1566", "categorized_nodes": 710}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
80,057
c
#pragma once #include <windows.h> namespace framework { namespace Threading { class CIntraProcessLock { public: CIntraProcessLock() { InitializeCriticalSection(&m_cs); } ~CIntraProcessLock() { DeleteCriticalSection(&m_cs); } inline bool Lock() { return TryEnterCriticalSec...
13.38
42
(translation_unit) "#pragma once\n\n#include <windows.h>\n\nnamespace framework\n{\n namespace Threading\n {\n class CIntraProcessLock\n {\n public:\n CIntraProcessLock()\n {\n InitializeCriticalSection(&m_cs);\n }\n\n ~CIntraProcessLock()\n {\n DeleteCriticalSection(&m_cs);\n }\n\n inline bool L...
175
1
{"language": "c", "success": true, "metadata": {"lines": 42, "avg_line_length": 13.38, "nodes": 90, "errors": 0, "source_hash": "37cd0f0966166d60ff58f3217dbec6df0f670accdeb312d55daa038bd8f848aa", "categorized_nodes": 60}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
80,058
c
#include <stdio.h> #include <stdlib.h> #include "meta_dfo.h" typedef struct { char name[32]; int value; int partition; } dfo_test; typedef struct { char name[32]; } dfo_combo_mode_test; typedef struct { char name[32]; int modeCount; dfo_combo_mode_test* modeArray; } dfo_combo_test; i...
26.81
208
(translation_unit) "#include <stdio.h>\n#include <stdlib.h>\n#include "meta_dfo.h"\n\ntypedef struct\n{\n char name[32];\n int value;\n int partition;\n} dfo_test;\n\ntypedef struct\n{\n char name[32]; \n} dfo_combo_mode_test;\n\ntypedef struct\n{\n char name[32];\n int modeCount;\n dfo_combo_mo...
1,583
0
{"language": "c", "success": true, "metadata": {"lines": 208, "avg_line_length": 26.81, "nodes": 923, "errors": 0, "source_hash": "3d568b11497e1f488f6a71b78f812c2cf24587cd6b064f764d267719bedb576d", "categorized_nodes": 719}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
80,059
c
// // ViewController.h // shakefun // // Created by zm on 15/9/9. // Copyright (c) 2015年 zm. All rights reserved. // #import <UIKit/UIKit.h> @interface ViewController : UIViewController @property (weak, nonatomic) IBOutlet UIWebView *webViewBrowser; - (IBAction)buttonNextToggle:(id)sender; - (IBAction)buttonColl...
29.94
16
(translation_unit) "//\n// ViewController.h\n// shakefun\n//\n// Created by zm on 15/9/9.\n// Copyright (c) 2015年 zm. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface ViewController : UIViewController\n\n@property (weak, nonatomic) IBOutlet UIWebView *webViewBrowser;\n- (IBAction)buttonNextToggle:(...
112
15
{"language": "c", "success": true, "metadata": {"lines": 16, "avg_line_length": 29.94, "nodes": 70, "errors": 0, "source_hash": "9200dda7d25cbc9b539d052f61c4c02317a85338f31199a12de75e00aada3280", "categorized_nodes": 42}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "mport <UI...
80,060
c
#include <stdio.h> #include "omp.h" int valida_primo(int numero); int main() { int numero; printf("Informe um numero: "); scanf("%d", &numero); if(numero < 100 || numero > 1000000) { printf("\nNumero deve ser maior que 100 e menor que 1000000"); return 1; } float tempo_inicial, tempo_final; in...
22.24
33
(translation_unit) "#include <stdio.h>\n#include "omp.h"\n\nint valida_primo(int numero);\n\nint main() {\n int numero;\n printf("Informe um numero: ");\n scanf("%d", &numero);\n\n if(numero < 100 || numero > 1000000) {\n printf("\nNumero deve ser maior que 100 e menor que 1000000");\n return 1;\n }\n\n flo...
263
0
{"language": "c", "success": true, "metadata": {"lines": 33, "avg_line_length": 22.24, "nodes": 144, "errors": 0, "source_hash": "935b6127eecbc833b1f1a92916f4420c015d76f9f1cb7dbdd59d24ea89854556", "categorized_nodes": 106}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
80,061
c
#pragma once #include "liquid/scripting/ComponentLuaInterface.h" namespace liquid { /** * @brief Name component */ struct NameComponent { struct LuaInterface; /** * Entity name */ String name; }; /** * @brief Lua interface for name component */ struct NameComponent::LuaInterface : public Compon...
20.02
45
(translation_unit) "#pragma once\n\n#include "liquid/scripting/ComponentLuaInterface.h"\n\nnamespace liquid {\n\n/**\n * @brief Name component\n */\nstruct NameComponent {\n struct LuaInterface;\n\n /**\n * Entity name\n */\n String name;\n};\n\n/**\n * @brief Lua interface for name component\n */\nstruct NameCo...
148
6
{"language": "c", "success": true, "metadata": {"lines": 45, "avg_line_length": 20.02, "nodes": 77, "errors": 0, "source_hash": "261fd49268392e2d786d610179c02ff0e1669467fc72f72afbc757d51988994e", "categorized_nodes": 53}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
80,062
c
#ifndef TABELLAHASH_H #define TABELLAHASH_H #include "liste.h" #include <vector> class TabellaHash { private: vector<LISTE> hashtable; int size_table; public: TabellaHash(int lunghezza); int hash(string s); bool inserimento(PAROLE par); void rimozione(string par); bool ricerca...
15.7
27
(translation_unit) "#ifndef TABELLAHASH_H \n#define TABELLAHASH_H \n#include "liste.h" \n#include <vector> \n \n \nclass TabellaHash \n{ \n private: \n vector<LISTE> hashtable; \n int size_table; \n \n public: \n \n TabellaHash(int lunghezza); \n int hash(string s); \n bool inserimento(PAROLE par); \n void r...
144
1
{"language": "c", "success": true, "metadata": {"lines": 27, "avg_line_length": 15.7, "nodes": 93, "errors": 0, "source_hash": "9462015e807bfeb5b00899cea8883d48aa189578e64a7675ed8b0a6f5b9f4359", "categorized_nodes": 66}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef T...
80,063
c
/***************************************************************************** * HalconCpp.h ***************************************************************************** * * Project: HALCON/C++ * Description: Defines / types / extern declarations for HALCON/C++ interface * * (c) 2010-2014 by MVTec Software...
29.25
126
(translation_unit) "/*****************************************************************************\n * HalconCpp.h\n ***************************************************************************** \n *\n * Project: HALCON/C++\n * Description: Defines / types / extern declarations for HALCON/C++ interface\n *\n * (c) ...
362
1
{"language": "c", "success": true, "metadata": {"lines": 126, "avg_line_length": 29.25, "nodes": 236, "errors": 0, "source_hash": "95f79bdefccd923caebb30fb857c2e300932f1af64c53d48944644016f8945c6", "categorized_nodes": 155}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
80,064
c
/* * (C) 2007 by <NAME> <<EMAIL>> * (C) 2007-2010 by <NAME> <<EMAIL>> * * Extracted from xt_TEE.c * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 or later, as * published by the Free Software Foundation. */ #include <linu...
29.34
94
(translation_unit) "/*\n * (C) 2007 by <NAME> <<EMAIL>>\n * (C) 2007-2010 by <NAME> <<EMAIL>>\n *\n * Extracted from xt_TEE.c\n *\n * This program is free software; you can redistribute it and/or modify it\n * under the terms of the GNU General Public License version 2 or later, as\n * published by the Free Software Fo...
614
0
{"language": "c", "success": true, "metadata": {"lines": 94, "avg_line_length": 29.34, "nodes": 386, "errors": 0, "source_hash": "53f223f9dcdd7a01746ad39fbb44fd8e1b1471a9a2fe8333998105bcd26d656c", "categorized_nodes": 303}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
80,065
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 // // ...
33.42
59
(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...
197
4
{"language": "c", "success": true, "metadata": {"lines": 59, "avg_line_length": 33.42, "nodes": 102, "errors": 0, "source_hash": "b9784b63f419cade82815a96fde5cdd1f3bb71b20fb71d676024704ee1bfa743", "categorized_nodes": 73}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
80,066
c
/* See LICENSE for license details */ /* Module: feed_page.c Description: History of visited pages. */ #include "feed_os.h" #include "feed_cfg.h" #include "feed_prompt_iterator.h" #include "feed_text_iterator.h" #include "feed_screen_iterator.h" #include "feed_view.h" #include "feed_list.h" #include "f...
20.25
136
(translation_unit) "/* See LICENSE for license details */\n\n/*\n\nModule: feed_page.c\n\nDescription:\n\n History of visited pages.\n\n*/\n\n#include "feed_os.h"\n\n#include "feed_cfg.h"\n\n#include "feed_prompt_iterator.h"\n\n#include "feed_text_iterator.h"\n\n#include "feed_screen_iterator.h"\n\n#include "feed_vi...
563
0
{"language": "c", "success": true, "metadata": {"lines": 136, "avg_line_length": 20.25, "nodes": 333, "errors": 0, "source_hash": "8111fb15f87dc9968df88768003d26d0efa194a42341c949a9c5c687ac012b4e", "categorized_nodes": 258}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
80,067
c
@interface _LSQueryResult : NSObject @end
20
2
(translation_unit) "@interface _LSQueryResult : NSObject\n\n@end\n" (ERROR) "@interface _LSQueryResult : NSObject\n\n@end" (ERROR) "@" (type_identifier) "interface" (identifier) "_LSQueryResult" (:) ":" (identifier) "NSObject" (ERROR) "@" (identifier) "end"
9
3
{"language": "c", "success": true, "metadata": {"lines": 2, "avg_line_length": 20.0, "nodes": 6, "errors": 0, "source_hash": "b04b4639c1970b474d0b6248fb367c3a98b8bdc834efbf17ec7ac983a16677e5", "categorized_nodes": 3}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "@interface _LSQueryR...
80,068
c
#include <stdio.h> int main() { int x = 1; int y = 2; int z = 3; printf("(x,y,z) = (%d,%d,%d)\n",x,y,z); { int x = 100; y = 2; if (x > y) { z = x; } else { z = y; } printf("(x,y,z) = (%d,%d,%d)\n",x,y,z); { ...
19.58
26
(translation_unit) "#include <stdio.h>\n\nint main() {\n int x = 1;\n int y = 2;\n int z = 3;\n\n printf("(x,y,z) = (%d,%d,%d)\n",x,y,z);\n\n {\n int x = 100;\n y = 2;\n if (x > y) {\n z = x;\n }\n else {\n z = y;\n }\n\n printf("(x,y...
190
0
{"language": "c", "success": true, "metadata": {"lines": 26, "avg_line_length": 19.58, "nodes": 103, "errors": 0, "source_hash": "ca6c500c2c89a3170ce09931e677dfb5a34f4d124adb7a7f618bf0487a25c466", "categorized_nodes": 70}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
80,069
c
// // ProgressView.h // Ad Hoc Distribution Assistant // // Created by <NAME> on 20.06.10. // Copyright 2010 DEETUNE. All rights reserved. // #import <Cocoa/Cocoa.h> @interface ProgressSheet : NSWindow { IBOutlet NSTextField *label; IBOutlet NSProgressIndicator *progressIndicator; } @property (nonatomic, assi...
25
16
(translation_unit) "//\n// ProgressView.h\n// Ad Hoc Distribution Assistant\n//\n// Created by <NAME> on 20.06.10.\n// Copyright 2010 DEETUNE. All rights reserved.\n//\n\n#import <Cocoa/Cocoa.h>\n\n\n@interface ProgressSheet : NSWindow {\n IBOutlet NSTextField *label;\n IBOutlet NSProgressIndicator *progressIndicat...
81
9
{"language": "c", "success": true, "metadata": {"lines": 16, "avg_line_length": 25.0, "nodes": 48, "errors": 0, "source_hash": "408837c5e2488ce762215abb3a0910b7ef69e8eafd50ef1cd7a608b363aba4c1", "categorized_nodes": 29}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <C...
80,070
c
// https://www.codewars.com/kata/55fd2d567d94ac3bc9000064 #include <inttypes.h> #include <math.h> uint64_t rowSumOddNumbers(uint32_t n) { uint64_t m = n; return m * m * m; }
21.75
8
(translation_unit) "// https://www.codewars.com/kata/55fd2d567d94ac3bc9000064\n\n#include <inttypes.h>\n#include <math.h>\n\nuint64_t rowSumOddNumbers(uint32_t n)\n{\n uint64_t m = n;\n return m * m * m;\n}\n\n" (comment) "// https://www.codewars.com/kata/55fd2d567d94ac3bc9000064" (preproc_include) "#include ...
38
0
{"language": "c", "success": true, "metadata": {"lines": 8, "avg_line_length": 21.75, "nodes": 28, "errors": 0, "source_hash": "c29e62918a96e82b8763ee4ef26f95b4b6c99977de8407359bdb013332e1fda2", "categorized_nodes": 20}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#includ...
80,071
c
// // FirstRootController.h // TestReactiveNative // // Created by zhangpoor on 16/7/21. // Copyright © 2016年 zhangpoor. All rights reserved. // #import <UIKit/UIKit.h> @interface FirstRootController : UIViewController @end
21.8
10
(translation_unit) "//\n// FirstRootController.h\n// TestReactiveNative\n//\n// Created by zhangpoor on 16/7/21.\n// Copyright © 2016年 zhangpoor. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface FirstRootController : UIViewController\n\n@end\n" (comment) "//" (comment) "// FirstRootController....
19
3
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 21.8, "nodes": 10, "errors": 0, "source_hash": "44dbc57085db85c4dfecd118e7b58284025ec20e21971411d2f2856208e5aff8", "categorized_nodes": 5}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "port <UIKit...
80,072
c
#include "ringbuffer.h" #include "mem.h" struct RingBuffer { int size; jack_ringbuffer_t *buf; }; RingBuffer *ringbuf_new(int size) { RingBuffer *rb = malloc_exit(sizeof(RingBuffer)); rb->size = size; rb->buf = jack_ringbuffer_create(sizeof(void *) * size); return rb; } void ringbuf_free(Ring...
22.41
44
(translation_unit) "#include "ringbuffer.h"\n#include "mem.h"\n\nstruct RingBuffer {\n int size;\n jack_ringbuffer_t *buf;\n};\n\nRingBuffer *ringbuf_new(int size)\n{\n RingBuffer *rb = malloc_exit(sizeof(RingBuffer));\n rb->size = size;\n rb->buf = jack_ringbuffer_create(sizeof(void *) * size);\n ret...
380
0
{"language": "c", "success": true, "metadata": {"lines": 44, "avg_line_length": 22.41, "nodes": 237, "errors": 0, "source_hash": "c5b367ed7d3fb8269faf14ccd190d103d8a83b6f1684a97b7a1cd480aaa1bc86", "categorized_nodes": 145}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
80,073
c
/* * Copyright (c) Facebook, Inc. and its affiliates. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applic...
34.59
103
(translation_unit) "/*\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\...
408
21
{"language": "c", "success": true, "metadata": {"lines": 103, "avg_line_length": 34.59, "nodes": 250, "errors": 0, "source_hash": "f5df488eba28968cd5ef78c8a898ddb47385f5e34a52f18c0d0c22dd78c20fe9", "categorized_nodes": 163}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragm...
80,074
c
/* // Dao Graphics Engine // http://www.daovm.net // // Copyright (c) 2012, <NAME> // All rights reserved. // // Redistribution and use in source and binary forms, with or without modification, // are permitted provided that the following conditions are met: // // * Redistributions of source code must retain the above ...
29.3
172
(translation_unit) "/*\n// Dao Graphics Engine\n// http://www.daovm.net\n//\n// Copyright (c) 2012, <NAME>\n// All rights reserved.\n//\n// Redistribution and use in source and binary forms, with or without modification,\n// are permitted provided that the following conditions are met:\n//\n// * Redistributions of sour...
893
0
{"language": "c", "success": true, "metadata": {"lines": 172, "avg_line_length": 29.3, "nodes": 635, "errors": 0, "source_hash": "e7fd266492b4cc031d5403dd070036055c565816a6ae5ac21f30165db1df330e", "categorized_nodes": 500}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
80,075
c
/* * This file is part of the Visual Computing Library (VCL) release under the * MIT license. * * Copyright (c) 2015 <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 r...
37.87
82
(translation_unit) "/*\n * This file is part of the Visual Computing Library (VCL) release under the\n * MIT license.\n *\n * Copyright (c) 2015 <NAME>\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the "Software"), to deal\n...
560
39
{"language": "c", "success": true, "metadata": {"lines": 82, "avg_line_length": 37.87, "nodes": 321, "errors": 0, "source_hash": "a2a25c18f0abfb4062a840c3890961285e47c2acd756f72072e0ab2d552560c3", "categorized_nodes": 212}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
80,076
c
#pragma once #include <stdlib.h> #include <string.h> #include <inttypes.h> #include <limits.h> #define ERROR_INVALID_PARAMETER 87 #define ERROR_OUTOFMEMORY 14 #define ERROR_BAD_ENVIRONMENT 0x0000000A #define ERROR_TOO_MANY_OPEN_FILES 0x00000004 #define ERROR_INSUFFICIENT_BUFFER 0x0000007A #define ERROR_NO_ASSOCIATION...
30.25
40
(translation_unit) "#pragma once\n\n#include <stdlib.h>\n#include <string.h>\n#include <inttypes.h>\n#include <limits.h>\n\n#define ERROR_INVALID_PARAMETER 87\n#define ERROR_OUTOFMEMORY 14\n#define ERROR_BAD_ENVIRONMENT 0x0000000A\n#define ERROR_TOO_MANY_OPEN_FILES 0x00000004\n#define ERROR_INSUFFICIENT_BUFFER 0x000000...
122
0
{"language": "c", "success": true, "metadata": {"lines": 40, "avg_line_length": 30.25, "nodes": 117, "errors": 0, "source_hash": "73479f2084407fcce14d2830fb063db745b37b3bfa490fe674283210b7d89192", "categorized_nodes": 41}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma ...
80,077
c
// // SILKSplashSlideUpButton.h // SILKDouYin // // Created by 张骞 on 2022/4/10. // #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @interface SILKSplashSlideUpButton : UIView @property (nonatomic, strong) UILabel *tipsLabel; @end NS_ASSUME_NONNULL_END
20.25
12
(translation_unit) "//\n// SILKSplashSlideUpButton.h\n// SILKDouYin\n//\n// Created by 张骞 on 2022/4/10.\n//\n\n#import <UIKit/UIKit.h>\n\nNS_ASSUME_NONNULL_BEGIN\n\n@interface SILKSplashSlideUpButton : UIView\n\n@property (nonatomic, strong) UILabel *tipsLabel;\n\n@end\n\nNS_ASSUME_NONNULL_END\n" (comment) "//" ...
44
6
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 20.25, "nodes": 30, "errors": 0, "source_hash": "4544f38014f3f1036db451ca41033af2d68ff8acf7e143580889150b9f246f8b", "categorized_nodes": 18}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "ort <UIKi...
80,078
c
/* * Copyright (C) 2017 Apple Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions a...
40.16
127
(translation_unit) "/*\n * Copyright (C) 2017 Apple Inc. All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions\n * are met:\n * 1. Redistributions of source code must retain the above copyright\n * notice...
620
33
{"language": "c", "success": true, "metadata": {"lines": 127, "avg_line_length": 40.16, "nodes": 395, "errors": 0, "source_hash": "883e9f3413205c92217c06f18e3bf35f6190272031f49888c22529c763138b1e", "categorized_nodes": 267}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragm...
80,079
c
// SPDX-License-Identifier: BSD-3-Clause // Copyright (c) 2017-2020 <NAME> // All rights reserved. #pragma once #include <djvUI/IButton.h> namespace djv { namespace UI { namespace Button { //! This class provides a toggle button. class Toggle : public IButton ...
36.76
37
(translation_unit) "// SPDX-License-Identifier: BSD-3-Clause\n// Copyright (c) 2017-2020 <NAME>\n// All rights reserved.\n\n#pragma once\n\n#include <djvUI/IButton.h>\n\nnamespace djv\n{\n namespace UI\n {\n namespace Button\n {\n //! This class provides a toggle button.\n clas...
304
28
{"language": "c", "success": true, "metadata": {"lines": 37, "avg_line_length": 36.76, "nodes": 160, "errors": 0, "source_hash": "43be6b46518ba3faaaea6e0a87efc5bb84e4bb10d9b67d579c9a7b30008910c5", "categorized_nodes": 100}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
80,080
c
#include "newton_method.h" float newton_method(float x0, polynomial f, polynomial fprime); float newton_method(float x0, polynomial f, polynomial fprime) { int i=0; float nextx,lastx; lastx=x0; do { nextx = lastx - (*f)(lastx)/(*fprime)(lastx); lastx = nextx; i++; }while(fabs((*f)(lastx)) > FLT_EPSILON);...
21.33
15
(translation_unit) "#include "newton_method.h"\n\nfloat newton_method(float x0, polynomial f, polynomial fprime);\n\nfloat newton_method(float x0, polynomial f, polynomial fprime)\n{\n int i=0;\n float nextx,lastx;\n\n lastx=x0;\n do\n {\n nextx = lastx - (*f)(lastx)/(*fprime)(lastx);\n lastx = nextx;\n i++;\n }whil...
142
0
{"language": "c", "success": true, "metadata": {"lines": 15, "avg_line_length": 21.33, "nodes": 91, "errors": 0, "source_hash": "5b52524c460d05377ef22ca86d012c5845aa8ff2cfba5e1f9c96deb794ffa649", "categorized_nodes": 66}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
80,081
c
#pragma once #include "CoreMinimal.h" #include "TetherPowerChanged_DelegateDelegate.generated.h" UDELEGATE(BlueprintCallable) DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FTetherPowerChanged_Delegate, bool, hasPower);
53.25
4
(translation_unit) "#pragma once\n#include "CoreMinimal.h"\n#include "TetherPowerChanged_DelegateDelegate.generated.h"\n\nUDELEGATE(BlueprintCallable) DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(FTetherPowerChanged_Delegate, bool, hasPower);\n\n" (preproc_call) "#pragma once\n" (preproc_directive) "#pragma" (...
37
0
{"language": "c", "success": true, "metadata": {"lines": 4, "avg_line_length": 53.25, "nodes": 23, "errors": 0, "source_hash": "70eba337316cf40c6c1e8f1ec7f13cf831251a5bcc88468d0a407eb881f6e975", "categorized_nodes": 18}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma on...
80,082
c
#include<stdio.h> int main(){ int i,j,n,min,max,temp; printf("Enter the size of the array: "); scanf("%d",&n); int arr[n]; printf("Enter the Array Elements\n"); for(i=0;i<n;i++) scanf("%d",&arr[i]); for(i=0;i<n;i+=2){ min=i;max=i; for(j=i+1;j<n;j++){ if(arr[min]>arr[j]) min=j; ...
18.27
33
(translation_unit) "#include<stdio.h>\nint main(){\n int i,j,n,min,max,temp;\n printf("Enter the size of the array: ");\n scanf("%d",&n);\n int arr[n];\n printf("Enter the Array Elements\n");\n for(i=0;i<n;i++)\n scanf("%d",&arr[i]);\n for(i=0;i<n;i+=2){\n min=i;max=i;\n for(j=i+1;j<n;j++){\n if(ar...
366
0
{"language": "c", "success": true, "metadata": {"lines": 33, "avg_line_length": 18.27, "nodes": 214, "errors": 0, "source_hash": "6aab00ca09f57bd8a60141dda401e9d484363c3e04446e6a7a2225ef1bfc14da", "categorized_nodes": 166}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
80,083
c
#ifndef URLIFY_IN_PLACE_H #define URLIFY_IN_PLACE_H #include <array> namespace urlify_in_place { using buffer_t = std::array<char, 100>; void urlify(buffer_t *p_buffer); } // namespace urlify_in_place #endif
25
8
(translation_unit) "#ifndef URLIFY_IN_PLACE_H\n#define URLIFY_IN_PLACE_H\n\n#include <array>\n\nnamespace urlify_in_place {\nusing buffer_t = std::array<char, 100>;\nvoid urlify(buffer_t *p_buffer);\n} // namespace urlify_in_place\n\n#endif\n" (preproc_ifdef) "#ifndef URLIFY_IN_PLACE_H\n#define URLIFY_IN_PLACE_H\n\n#...
49
2
{"language": "c", "success": true, "metadata": {"lines": 8, "avg_line_length": 25.0, "nodes": 37, "errors": 0, "source_hash": "a4a22f7c7817ef8aeaa28d5645d31d79a17a4848af095b4b001ec896f0d86024", "categorized_nodes": 25}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef UR...
80,084
c
/*++ Copyright (c) 1990 Microsoft Corporation Module Name: tshut.c Abstract: This test is used to shut-down a SAM server. This might be useful for killing SAM without rebooting during development. Author: <NAME> (JimK) 12-July-1991 Environment: User Mode - Win32 ...
24.17
119
(translation_unit) "/*++ \n \nCopyright (c) 1990 Microsoft Corporation \n \nModule Name: \n \n tshut.c \n \nAbstract: \n \n This test is used to shut-down a SAM server. This might be useful \n for killing SAM without rebooting during development. \n \nAuthor: \n \n <NAME> (JimK) 12-July-1991 \n \nEnvi...
202
0
{"language": "c", "success": true, "metadata": {"lines": 119, "avg_line_length": 24.17, "nodes": 100, "errors": 0, "source_hash": "f4956ff12d837f76972de8f687073189dc030d816e1d13532e2645fb93a4fd48", "categorized_nodes": 76}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
80,085
c
#ifndef SLIM_NET_CGI_MESSAGE_H #define SLIM_NET_CGI_MESSAGE_H #include "Slim/Net/CGI/Definition.h" #include "Slim/Net/CGI/Exception.h" #include <map> #include <string> using std::map; using std::string; namespace Slim { namespace Net { namespace CGI { typedef struct { BYTE version; BYTE type; BYTE reque...
24.86
137
(translation_unit) "#ifndef SLIM_NET_CGI_MESSAGE_H\n#define SLIM_NET_CGI_MESSAGE_H\n\n#include "Slim/Net/CGI/Definition.h"\n#include "Slim/Net/CGI/Exception.h"\n#include <map>\n#include <string>\n\nusing std::map;\nusing std::string;\n\nnamespace Slim {\nnamespace Net {\nnamespace CGI {\n\ntypedef struct {\n BYTE ve...
558
18
{"language": "c", "success": true, "metadata": {"lines": 137, "avg_line_length": 24.86, "nodes": 341, "errors": 0, "source_hash": "1088667001300c196c993e990afdd4650ed998eabc60ea30c52b9c92b50cd411", "categorized_nodes": 270}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
80,086
c
/* * --------------------------------------------------------------------------------------------------------------------- * * Copyright (C) 2018, <NAME> * * --------------------------------------------------------------------------------------------------------------------- */ #ifndef MSP_FIXED_H #define MSP_FI...
33.67
24
(translation_unit) "/*\n * ---------------------------------------------------------------------------------------------------------------------\n *\n * Copyright (C) 2018, <NAME>\n *\n * ---------------------------------------------------------------------------------------------------------------------\n */\n\n#ifnde...
142
1
{"language": "c", "success": true, "metadata": {"lines": 24, "avg_line_length": 33.67, "nodes": 80, "errors": 0, "source_hash": "831a5bfbc7f94a0aa3f913bfb6f833b507953f652d0597761065451bc27c5a22", "categorized_nodes": 60}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
80,087
c
#pragma once #include "CoreMinimal.h" #include "IParserOsm.h" #include "ProvidersInterfaces/IProviderRoads.h" #include "RoadsData.h" #include "LoaderRoadsOsm.generated.h" class UOsmReader; /** * \class ULoaderRoadsOsm * \brief Class for process roads data from OSM. * * @see IParserOsm, IProviderRoads */ UCLASS(B...
23
33
(translation_unit) "#pragma once\n\n#include "CoreMinimal.h"\n\n#include "IParserOsm.h"\n#include "ProvidersInterfaces/IProviderRoads.h"\n#include "RoadsData.h"\n\n#include "LoaderRoadsOsm.generated.h"\n\n\nclass UOsmReader;\n\n\n/**\n* \class ULoaderRoadsOsm\n* \brief Class for process roads data from OSM.\n*\n* @see ...
125
8
{"language": "c", "success": true, "metadata": {"lines": 33, "avg_line_length": 23.0, "nodes": 64, "errors": 0, "source_hash": "9ee264281b0e73902a18d9e5ee45d5494682d00ae040aa81e2a133eabde028fe", "categorized_nodes": 48}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma on...
80,088
c
#pragma once #include "hdtConvertNi.h" #include "hdtSkyrimBone.h" #include "hdtSkinnedMesh\hdtSkinnedMeshBody.h" namespace hdt { class SkyrimMesh; class SkyrimShape : public SkinnedMeshBody { public: SkyrimShape(); ~SkyrimShape(); enum SharedType { SHARED_PUBLIC, SHARED_INTERNAL, SHARED_PRIVATE,...
20.37
27
(translation_unit) "#pragma once\n\n#include "hdtConvertNi.h"\n#include "hdtSkyrimBone.h"\n#include "hdtSkinnedMesh\hdtSkinnedMeshBody.h"\n\nnamespace hdt\n{\n class SkyrimMesh;\n class SkyrimShape : public SkinnedMeshBody\n {\n public:\n SkyrimShape();\n ~SkyrimShape();\n\n enum SharedType\n {\n SHARED_PUBLIC,\n...
141
5
{"language": "c", "success": true, "metadata": {"lines": 27, "avg_line_length": 20.37, "nodes": 85, "errors": 0, "source_hash": "fe9b68f6e918de504923dfda795f77de9e3a66e972a9c06567b3d45ea7fd2492", "categorized_nodes": 60}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
80,089
c
#include "libc.h" size_t strlen(const char* str) { size_t i = 0; for (; str[i] != '\0'; i++); return i; } char* strcpy(char* dest, const char* src) { while ((*dest++ = *src++)); return dest; } char* strcat(char* dest, const char* src) { return strcpy(&dest[strlen(dest)], src); } int strncmp(...
27.76
45
(translation_unit) "#include "libc.h"\n\nsize_t strlen(const char* str) {\n size_t i = 0;\n for (; str[i] != '\0'; i++);\n return i;\n}\n\nchar* strcpy(char* dest, const char* src) {\n while ((*dest++ = *src++));\n return dest;\n}\n\nchar* strcat(char* dest, const char* src) {\n return strcpy(&dest[st...
528
0
{"language": "c", "success": true, "metadata": {"lines": 45, "avg_line_length": 27.76, "nodes": 344, "errors": 0, "source_hash": "1399f24c1be60390b8e8a52e5daee5582a26f3c6ef6619343921a5f2d6923135", "categorized_nodes": 211}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
80,090
c
#include "troponin.h" static double KOffPw(double tension, double gamma_trpn, double t_ref, double k_ref_off) { if(1.0 - tension / (gamma_trpn * t_ref) > 0.1) { return k_ref_off * (1.0 - tension / (gamma_trpn * t_ref)); } else { return k_ref_off * 0.1; } } // troponin Initialisation f...
30.37
54
(translation_unit) "#include "troponin.h"\n\nstatic double KOffPw(double tension, double gamma_trpn, double t_ref, double k_ref_off) {\n if(1.0 - tension / (gamma_trpn * t_ref) > 0.1) {\n return k_ref_off * (1.0 - tension / (gamma_trpn * t_ref));\n }\n else {\n return k_ref_off * 0.1;\n }\n}\n...
435
0
{"language": "c", "success": true, "metadata": {"lines": 54, "avg_line_length": 30.37, "nodes": 288, "errors": 0, "source_hash": "7cdbe475c4be4289c7d247f7b2bf2c1cb6dd38b46753a05ebd437e4a893e2e18", "categorized_nodes": 218}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
80,091
c
#include <stddef.h> #include <stdlib.h> #include <stdbool.h> #include "memnode.h" #include "bitarray.h" #include "gcmemnode.h" void gcmemnode_init (void *sequence, size_t size, bitarray *reservemask, bitarray *gcmarks, gcmemnode *nextnode, gcmemnode *gmnode){ memnode_init(sequence, size, reservemask, (memnode*)next...
30.65
98
(translation_unit) "#include <stddef.h>\n#include <stdlib.h>\n#include <stdbool.h>\n#include "memnode.h"\n#include "bitarray.h"\n#include "gcmemnode.h"\n\nvoid gcmemnode_init (void *sequence, size_t size, bitarray *reservemask, bitarray *gcmarks, gcmemnode *nextnode, gcmemnode *gmnode){\n memnode_init(sequence, size, ...
1,034
0
{"language": "c", "success": true, "metadata": {"lines": 98, "avg_line_length": 30.65, "nodes": 674, "errors": 0, "source_hash": "2dc0c5f88e724771b794e5e196980f8300648d88be46f5abc44c99dfef09e312", "categorized_nodes": 444}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
80,092
c
// // TJPTabBarController.h // TJPYingKe // // Created by Walkman on 2016/12/7. // Copyright © 2016年 AaronTang. All rights reserved. // #import <UIKit/UIKit.h> @interface TJPTabBarController : UITabBarController /** 获取单例对象 @return TabBarController */ + (instancetype)shareInstance; /** 添加子控制器的block @par...
24.55
33
(translation_unit) "//\n// TJPTabBarController.h\n// TJPYingKe\n//\n// Created by Walkman on 2016/12/7.\n// Copyright © 2016年 AaronTang. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface TJPTabBarController : UITabBarController\n\n\n/**\n 获取单例对象\n\n @return TabBarController\n */\n+ (instancetype)sha...
105
13
{"language": "c", "success": true, "metadata": {"lines": 33, "avg_line_length": 24.55, "nodes": 62, "errors": 0, "source_hash": "6a6266eb3173a3398bc32d7fc450c662fc1c49295fed8f12893c836d396709b0", "categorized_nodes": 33}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "port <UIK...
80,093
c
/* * Copyright (C) 2018 SoloKeys, Inc. <https://solokeys.com/> * * This file is part of Solo. * * Solo is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your o...
28.96
45
(translation_unit) "/*\n * Copyright (C) 2018 SoloKeys, Inc. <https://solokeys.com/>\n * \n * This file is part of Solo.\n * \n * Solo is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of th...
62
0
{"language": "c", "success": true, "metadata": {"lines": 45, "avg_line_length": 28.96, "nodes": 44, "errors": 0, "source_hash": "8fb743b137a41fece56146a84d753bec715cb87de2f178cf2f27d4ab9557eabc", "categorized_nodes": 21}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
80,094
c
/* ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010, 2011,2012,2013 <NAME>. This file is part of ChibiOS/RT. ChibiOS/RT 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 Foundat...
30.01
198
(translation_unit) "/* \n ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010, \n 2011,2012,2013 <NAME>. \n \n This file is part of ChibiOS/RT. \n \n ChibiOS/RT is free software; you can redistribute it and/or modify \n it under the terms of the GNU General Public License as published by \n ...
584
0
{"language": "c", "success": true, "metadata": {"lines": 198, "avg_line_length": 30.01, "nodes": 335, "errors": 0, "source_hash": "832ed93e7ab9938a52d3aa79666f11f1dc344eb8854402a7703af2284dd6a265", "categorized_nodes": 231}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
80,095
c
/* * MJSONLIB - SMALL JSON LIBRARY based on M*LIB * * Copyright (c) 2018, <NAME> * All rights reserved. * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * + Redistributions of source code must retain the above copyr...
30.77
251
(translation_unit) "/*\n * MJSONLIB - SMALL JSON LIBRARY based on M*LIB\n *\n * Copyright (c) 2018, <NAME>\n * All rights reserved.\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions are met:\n * + Redistributions of source code ...
2,564
3
{"language": "c", "success": true, "metadata": {"lines": 251, "avg_line_length": 30.77, "nodes": 1580, "errors": 0, "source_hash": "c1659ae525f5a802c6b6a90c2ab8c1b47ac2a1908a61ed49532556fc067d55c7", "categorized_nodes": 1068}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#...
80,096
c
// // UGMSListViewController.h // UGouApp // // Created by 靓萌服饰靓萌服饰 on 2018/3/15. // #import <UIKit/UIKit.h> @interface UGMSListViewController : UIViewController @property(nonatomic,strong)NSNumber *brandID; /** 1 代表秒杀 2代表拍卖 */ @property(nonatomic,assign)NSInteger flag; @end
19.14
14
(translation_unit) "//\n// UGMSListViewController.h\n// UGouApp\n//\n// Created by 靓萌服饰靓萌服饰 on 2018/3/15.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface UGMSListViewController : UIViewController\n@property(nonatomic,strong)NSNumber *brandID;\n\n/**\n 1 代表秒杀 2代表拍卖\n */\n@property(nonatomic,assign)NSInteger flag;\n@end...
52
10
{"language": "c", "success": true, "metadata": {"lines": 14, "avg_line_length": 19.14, "nodes": 35, "errors": 0, "source_hash": "e506db9ab821d80159239541206d02957b2bd528639841704dcaa92b4d680b09", "categorized_nodes": 19}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "IKit.h>\n...
80,097
c
#ifndef SRC_S21_STRING_H_ #define SRC_S21_STRING_H_ int s21_strlen(const char *str); int s21_strcmp(const char *str1, const char *str2); char* s21_strcpy(const char *src, char *dst); char* s21_strcat(char *dest, const char *src); char* s21_strchr(const char *src, int c); char* s21_strstr(const char *haystack, const ch...
39.6
10
(translation_unit) "#ifndef SRC_S21_STRING_H_\n#define SRC_S21_STRING_H_\n\nint s21_strlen(const char *str);\nint s21_strcmp(const char *str1, const char *str2);\nchar* s21_strcpy(const char *src, char *dst);\nchar* s21_strcat(char *dest, const char *src);\nchar* s21_strchr(const char *src, int c);\nchar* s21_strstr(co...
140
0
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 39.6, "nodes": 98, "errors": 0, "source_hash": "f548f7f8e7ef2861ddb0f20da9880a7d1f9f49b5749f0be1dbe21747fb3b6bdc", "categorized_nodes": 45}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef S...
80,098
c
/** @file tw.c * * @brief This simple client demonstrates the basic features of JACK * as they would be used by many applications. */ #include <stdio.h> #include <errno.h> #include <unistd.h> #include <stdlib.h> #include <string.h> #include <jack/jack.h> jack_port_t *input_port; jack_port_t *output_port; jack_cl...
27.39
216
(translation_unit) "/** @file tw.c\n *\n * @brief This simple client demonstrates the basic features of JACK\n * as they would be used by many applications.\n */\n\n#include <stdio.h>\n#include <errno.h>\n#include <unistd.h>\n#include <stdlib.h>\n#include <string.h>\n\n#include <jack/jack.h>\n\njack_port_t *input_port;...
1,210
0
{"language": "c", "success": true, "metadata": {"lines": 216, "avg_line_length": 27.39, "nodes": 659, "errors": 0, "source_hash": "d8a03434056f36c759b3ed3c3b66698f6d2dde7752f7f023a41e76c5bb841a86", "categorized_nodes": 467}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
80,099