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
/* * GDevelop Core * Copyright 2008-2016 <NAME> (<EMAIL>). All rights * reserved. This project is released under the MIT License. */ #if defined(GD_IDE_ONLY) && !defined(GD_NO_WX_GUI) #ifndef EditExpressionDialog_H #define EditExpressionDialog_H #include <vector> #include "GDCore/String.h" //(*Headers(E...
29.34
238
(translation_unit) "/* \n * GDevelop Core \n * Copyright 2008-2016 <NAME> (<EMAIL>). All rights \n * reserved. This project is released under the MIT License. \n */ \n#if defined(GD_IDE_ONLY) && !defined(GD_NO_WX_GUI) \n#ifndef EditExpressionDialog_H \n#define EditExpressionDialog_H \n \n#include <vector> \n#include "G...
1,650
59
{"language": "c", "success": true, "metadata": {"lines": 238, "avg_line_length": 29.34, "nodes": 997, "errors": 0, "source_hash": "044eca8787e438977e192418346cec7aded571cdb61a25df30989632521605b4", "categorized_nodes": 721}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_if", "text": "#if defi...
11,100
c
bool isNumberRelatedChar(char c) { return (isDigit(c) || (c == '.') || (c == '+') || (c == '-')); } int parseNextNumberFromString(String text_buffer, int start_ind, float &value) { //find start of number while (!isNumberRelatedChar(text_buffer[start_ind])) start_ind++; //find end of number int end_ind = s...
36.77
13
(translation_unit) "bool isNumberRelatedChar(char c) {\n return (isDigit(c) || (c == '.') || (c == '+') || (c == '-'));\n}\n\nint parseNextNumberFromString(String text_buffer, int start_ind, float &value) {\n //find start of number\n while (!isNumberRelatedChar(text_buffer[start_ind])) start_ind++;\n\n //find end o...
164
1
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 36.77, "nodes": 103, "errors": 0, "source_hash": "f4629056589e03deaa6f19ade83a83b4c513549492c370b7a39573e8ace5e9cf", "categorized_nodes": 70}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "function_definition", "text": "b...
11,101
c
#pragma once #define _USE_MATH_DEFINES #include <math.h> #include <vector> #include <algorithm> #include <cmath> /* @proginoskes; 2022-01-28 a class that holds our rays for casting should be called by player */ class View { private: int numRays; float viewWidth; //int depthOfField; std::vector<float> rayAngle...
21.26
27
(translation_unit) "#pragma once\n\n#define _USE_MATH_DEFINES\n\n#include <math.h>\n#include <vector>\n#include <algorithm>\n#include <cmath>\n\n/*\n@proginoskes; 2022-01-28\n\na class that holds our rays for casting\nshould be called by player\n\n*/\n\nclass View {\nprivate:\n int numRays;\n float viewWidth;\n //int d...
147
4
{"language": "c", "success": true, "metadata": {"lines": 27, "avg_line_length": 21.26, "nodes": 98, "errors": 0, "source_hash": "427af2d34c32008a870eec569cc09ca093820b50249d906072795bf4d659ba83", "categorized_nodes": 66}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
11,102
c
// // CCLDayCellView.h // CalendarView // // Created by <NAME> on 26.08.14. // Copyright (c) 2014 <NAME>. All rights reserved. // #import <Cocoa/Cocoa.h> #import "CCLBorderedCellView.h" @interface CCLDayCellView : CCLBorderedCellView @property (assign) BOOL isSelected; @property (assign) BOOL isWeekend; @property...
26.61
18
(translation_unit) "//\n// CCLDayCellView.h\n// CalendarView\n//\n// Created by <NAME> on 26.08.14.\n// Copyright (c) 2014 <NAME>. All rights reserved.\n//\n\n#import <Cocoa/Cocoa.h>\n#import "CCLBorderedCellView.h"\n\n@interface CCLDayCellView : CCLBorderedCellView\n@property (assign) BOOL isSelected;\n@property (...
117
24
{"language": "c", "success": true, "metadata": {"lines": 18, "avg_line_length": 26.61, "nodes": 82, "errors": 0, "source_hash": "f66cabd25be33844e0d3ecec0c2e30c165a181fe4c91deb2334d17761340d5d6", "categorized_nodes": 41}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <...
11,103
c
/*========================== begin_copyright_notice ============================ Copyright (C) 2020-2021 Intel Corporation SPDX-License-Identifier: MIT ============================= end_copyright_notice ===========================*/ #ifndef IGCLLVM_IR_DERIVEDTYPES_H #define IGCLLVM_IR_DERIVEDTYPES_H #include "llvm...
31.38
47
(translation_unit) "/*========================== begin_copyright_notice ============================\n\nCopyright (C) 2020-2021 Intel Corporation\n\nSPDX-License-Identifier: MIT\n\n============================= end_copyright_notice ===========================*/\n\n#ifndef IGCLLVM_IR_DERIVEDTYPES_H\n#define IGCLLVM_IR_D...
317
11
{"language": "c", "success": true, "metadata": {"lines": 47, "avg_line_length": 31.38, "nodes": 206, "errors": 0, "source_hash": "aa1fbfaa767fc72f89a33dfffb1da8f92f4a7e813e7501d051b039ead02e6e5f", "categorized_nodes": 139}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
11,104
c
#ifndef __PRETVAL_QUEUE #define __PRETVAL_QUEUE #include <stdlib.h> #include <stdio.h> #include <pthread.h> typedef struct _exit_item { void* exit_status; struct _exit_item* next; struct _exit_item* prec; } exit_item_t; typedef struct _exitq { exit_item_t* head; exit_item_t* tail; int size; pthread_mutex_t ...
20.32
25
(translation_unit) "#ifndef __PRETVAL_QUEUE\n#define __PRETVAL_QUEUE\n\n#include <stdlib.h>\n#include <stdio.h>\n\n#include <pthread.h>\n\ntypedef struct _exit_item {\n void* exit_status;\n struct _exit_item* next;\n struct _exit_item* prec;\n} exit_item_t;\n\n\ntypedef struct _exitq {\n exit_item_t* head;\n exit_item_...
146
0
{"language": "c", "success": true, "metadata": {"lines": 25, "avg_line_length": 20.32, "nodes": 115, "errors": 0, "source_hash": "dd12d3099404ade3cc0fc03afa880935fa85b560c5c510ae5af7c41b93f9203b", "categorized_nodes": 77}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
11,105
c
// // DNSCacheManager.h // DNSCache // // Created by <NAME> on 15/8/3. // Copyright (c) 2015年 Weibo. All rights reserved. // #import <Foundation/Foundation.h> #import "WBDNSDBManager.h" #import "WBDNSTools.h" #import "WBDNSCache.h" @protocol WBDNSCacheProtocol <NSObject> - (void)addMemoryCache:(NSString *)url mod...
31.34
29
(translation_unit) "//\n// DNSCacheManager.h\n// DNSCache\n//\n// Created by <NAME> on 15/8/3.\n// Copyright (c) 2015年 Weibo. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n#import "WBDNSDBManager.h"\n#import "WBDNSTools.h"\n#import "WBDNSCache.h"\n@protocol WBDNSCacheProtocol <NSObject>\n\n- (void)...
259
23
{"language": "c", "success": true, "metadata": {"lines": 29, "avg_line_length": 31.34, "nodes": 168, "errors": 0, "source_hash": "334b7f886bb346c6347c03bf4c5aefa7a136567aaddaf86edb9ef9879526748f", "categorized_nodes": 89}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "mport <F...
11,106
c
// MIT License // Copyright (c) 2022 Anotra // https://github.com/Anotra/priority_queue #pragma once #ifndef PRIORITY_QUEUE_H #define PRIORITY_QUEUE_H #include <stdlib.h> typedef struct priority_queue priority_queue; typedef unsigned priority_queue_id; typedef enum { priority_queue_min = 0, priority_queue_max...
28.98
42
(translation_unit) "// MIT License\n// Copyright (c) 2022 Anotra\n// https://github.com/Anotra/priority_queue\n\n#pragma once\n\n#ifndef PRIORITY_QUEUE_H\n#define PRIORITY_QUEUE_H\n\n#include <stdlib.h>\n\ntypedef struct priority_queue priority_queue;\ntypedef unsigned priority_queue_id;\n\ntypedef enum {\n priority_q...
292
0
{"language": "c", "success": true, "metadata": {"lines": 42, "avg_line_length": 28.98, "nodes": 224, "errors": 0, "source_hash": "4928f1dda37a070c66a57f8a31a179b7469fa53ac82de2519b2752c92863ae91", "categorized_nodes": 135}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
11,107
c
/* 1.注册appId 和 添加需要显示的分享渠道 注册appId需要分别调用渠道自己的方法,例如封装好的UBWechat 的setConfig 添加分享渠道 调用 UBShareResources registerShareChannel方法 */ #import <Foundation/Foundation.h> #import <UIKit/UIKit.h> #import "UBShareView.h" #import "UBShareKitDataGetter.h" #import "UBShareViewController.h" @interface UBShareKit : NSObje...
35.1
30
(translation_unit) "/*\n \n 1.注册appId 和 添加需要显示的分享渠道\n 注册appId需要分别调用渠道自己的方法,例如封装好的UBWechat 的setConfig\n 添加分享渠道 调用 UBShareResources registerShareChannel方法\n\n */\n\n#import <Foundation/Foundation.h>\n\n#import <UIKit/UIKit.h>\n\n#import "UBShareView.h"\n\n#import "UBShareKitDataGetter.h"\n\n#import "UBShareViewController...
257
34
{"language": "c", "success": true, "metadata": {"lines": 30, "avg_line_length": 35.1, "nodes": 181, "errors": 0, "source_hash": "37cb70de8be5ef363cc7fd6b545378dceafa2e1d6beefaafeda195dc475b013b", "categorized_nodes": 94}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "UBShareKi...
11,108
c
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #pragma once #if !defined(ORT_MINIMAL_BUILD) #include "onnx/defs/schema.h" #else #include "onnx/defs/data_type_utils.h" #endif #include "onnx/onnx_pb.h" #include "onnx/onnx-operators_pb.h" namespace onnxruntime { namespac...
27.93
15
(translation_unit) "// Copyright (c) Microsoft Corporation. All rights reserved.\n// Licensed under the MIT License.\n\n#pragma once\n\n#if !defined(ORT_MINIMAL_BUILD)\n#include "onnx/defs/schema.h"\n#else\n#include "onnx/defs/data_type_utils.h"\n#endif\n#include "onnx/onnx_pb.h"\n#include "onnx/onnx-operators_pb.h"\n\...
83
3
{"language": "c", "success": true, "metadata": {"lines": 15, "avg_line_length": 27.93, "nodes": 45, "errors": 0, "source_hash": "b0f56c1835b26e9998f92d92919f6c0a4cb618425ea71a40f3ed063db3df1d63", "categorized_nodes": 33}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
11,109
c
#ifndef DRVS_VOL_H #define DRVS_VOL_H #include <base.h> #include <misc/kref.h> #include <misc/list.h> typedef struct blk_dev blk_dev_t; typedef struct fs fs_t; typedef struct volume { kref_t ref; dlnode_t dl; // note in vol_list blk_dev_t * blk; fs_t * fs; //...
34.5
22
(translation_unit) "#ifndef DRVS_VOL_H\n#define DRVS_VOL_H\n\n#include <base.h>\n#include <misc/kref.h>\n#include <misc/list.h>\n\ntypedef struct blk_dev blk_dev_t;\ntypedef struct fs fs_t;\n\ntypedef struct volume {\n kref_t ref;\n dlnode_t dl; // note in vol_list\n blk_dev_t * blk;\n...
197
0
{"language": "c", "success": true, "metadata": {"lines": 22, "avg_line_length": 34.5, "nodes": 153, "errors": 0, "source_hash": "318db68786661f8ec6bf7052b45de8c4e2177c72febf6963acc921a7b62384bf", "categorized_nodes": 113}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
11,110
c
#ifndef NINE_PATCH_IMAGE_H #define NINE_PATCH_IMAGE_H // voxel #include "RenderNode.h" // cpp #include <array> namespace Voxel { // foward declaration class SpriteSheet; namespace UI { /** * @class NinePatchImage * @brief Divide image in to 9 section and stretches. */ class NinePatchImage : public Ren...
35.63
51
(translation_unit) "#ifndef NINE_PATCH_IMAGE_H\n#define NINE_PATCH_IMAGE_H\n\n// voxel\n#include "RenderNode.h"\n\n// cpp\n#include <array>\n\nnamespace Voxel\n{\n // foward declaration\n class SpriteSheet;\n\n namespace UI\n {\n /**\n * @class NinePatchImage\n * @brief Divide image in to 9 section and stretches.\n ...
465
34
{"language": "c", "success": true, "metadata": {"lines": 51, "avg_line_length": 35.63, "nodes": 249, "errors": 0, "source_hash": "3f72072284476659946b0570783b72b1ce36b1f8f6bcda357e78b05b6326ec91", "categorized_nodes": 165}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
11,111
c
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil ; -*- */ /* * See COPYRIGHT in top-level directory. */ #include <stdlib.h> #include <stdio.h> #include <pthread.h> #include <zmtest_abslock.h> #define TEST_NTHREADS 1 #define TEST_NITER 1000 char cache_lines[640] = {0}; int indices [] = {3,6,1,7,0,2,9,4,8,5}; ...
30.19
62
(translation_unit) "/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil ; -*- */\n/*\n * See COPYRIGHT in top-level directory.\n */\n#include <stdlib.h>\n#include <stdio.h>\n#include <pthread.h>\n#include <zmtest_abslock.h>\n\n#define TEST_NTHREADS 1\n#define TEST_NITER 1000\n\nchar cache_lines[640] = {0};\nint ind...
488
0
{"language": "c", "success": true, "metadata": {"lines": 62, "avg_line_length": 30.19, "nodes": 287, "errors": 0, "source_hash": "8d7b6e303781f0318afee76b0a3f89eaf38d20244db826b5a6e1b486de1d81b9", "categorized_nodes": 199}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
11,112
c
/** * DeepDetect * Copyright (c) 2014-2016 <NAME> * Author: <NAME> <<EMAIL>> * * This file is part of deepdetect. * * deepdetect is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3...
30.35
168
(translation_unit) "/**\n * DeepDetect\n * Copyright (c) 2014-2016 <NAME>\n * Author: <NAME> <<EMAIL>>\n *\n * This file is part of deepdetect.\n *\n * deepdetect is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published by\n * the Free Software...
1,338
103
{"language": "c", "success": true, "metadata": {"lines": 168, "avg_line_length": 30.35, "nodes": 708, "errors": 0, "source_hash": "510002bcb71d23014b17e57719bc7001dd41e1a4c11f040d31c592d5b2304e84", "categorized_nodes": 472}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
11,113
c
#ifndef BASIC_NETWORK_H #define BASIC_NETWORK_H #include <Common/Error.h> #include <Common/CommandDefs.h> #include <sys/socket.h> #include <vector> #include <map> namespace Network { struct Config { int type{SOCK_STREAM|SOCK_NONBLOCK}; int addressType{AF_INET}; int port {8080}; std...
25.54
39
(translation_unit) "#ifndef BASIC_NETWORK_H\n#define BASIC_NETWORK_H\n\n#include <Common/Error.h>\n#include <Common/CommandDefs.h>\n\n#include <sys/socket.h> \n#include <vector>\n#include <map>\n\nnamespace Network \n{\n\nstruct Config\n{\n int type{SOCK_STREAM|SOCK_NONBLOCK};\n int addressType{AF_INE...
303
20
{"language": "c", "success": true, "metadata": {"lines": 39, "avg_line_length": 25.54, "nodes": 165, "errors": 0, "source_hash": "a8bb597773863f896631bcad4c05e1e0f188b9cb8accb53203ed4306c8ea932a", "categorized_nodes": 112}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "#ifndef BASIC_...
11,114
c
#import "BMWeakifying.h"
24
1
(translation_unit) "#import "BMWeakifying.h"\n" (preproc_call) "#import "BMWeakifying.h"\n" (preproc_directive) "#import" (preproc_arg) ""BMWeakifying.h""
4
0
{"language": "c", "success": true, "metadata": {"lines": 1, "avg_line_length": 24.0, "nodes": 3, "errors": 0, "source_hash": "746cc4491f3979f06fc95e6c55f0f31f62f88b757f5f43b0312aa8daab1d7b83", "categorized_nodes": 1}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import \"BMW...
11,115
c
#include <windows.h> #include <stdio.h> #include <stdlib.h> #include <time.h> #include <atlbase.h> #include <vststtools.hxx>
20.67
6
(translation_unit) "#include <windows.h> \n#include <stdio.h> \n#include <stdlib.h> \n#include <time.h> \n#include <atlbase.h> \n#include <vststtools.hxx> \n \n" (preproc_include) "#include <windows.h> \n" (#include) "#include" (system_lib_string) "<windows.h>" (preproc_include) "#include <stdio.h> \n" ...
19
0
{"language": "c", "success": true, "metadata": {"lines": 6, "avg_line_length": 20.67, "nodes": 18, "errors": 0, "source_hash": "56d1b6eb7f95c053f2dd2db84ba1ce382fae490bdab27c06a7e599df769cde06", "categorized_nodes": 18}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#includ...
11,116
c
#pragma once #include <windows.h> #include "..\RNA_UI\sChecks.h" #include "..\RNA_UI\sCombo.h" #include "Structures.h" #include "..\Win32GBAImageClasses\image.h" struct tBlock { unsigned short Tile; unsigned short HFlip; unsigned short VFlip; unsigned short Pal; }; class cTSAEditorClass { public: cTSAEditorCla...
19.19
36
(translation_unit) "#pragma once\n#include <windows.h>\n\n#include "..\RNA_UI\sChecks.h"\n#include "..\RNA_UI\sCombo.h"\n#include "Structures.h"\n#include "..\Win32GBAImageClasses\image.h"\nstruct tBlock {\n unsigned short Tile;\n unsigned short HFlip;\n unsigned short VFlip;\n unsigned short Pal;\n};\n\nclass cTSAEd...
227
0
{"language": "c", "success": true, "metadata": {"lines": 36, "avg_line_length": 19.19, "nodes": 143, "errors": 0, "source_hash": "02fb5cb5f3864bb1d3ef0aea7c4d6f10289bcb7f0efb81095553d39a89b431dc", "categorized_nodes": 98}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma ...
11,117
c
/******************************************************************* COPYRIGHT NOTIFICATION ******************************************************************** Copyright © 2021, UChicago Argonne, LLC All Rights Reserved Software Name: ENPEP- Balance By: Argonne National Laboratory OPEN SOURCE LICENSE ...
34.13
93
(translation_unit) "/*******************************************************************\n\n COPYRIGHT NOTIFICATION\n\n********************************************************************\n\n Copyright © 2021, UChicago Argonne, LLC\n\n All Rights Reserved\n Software Name: ENPEP- Balance\n By: Argonne National Lab...
604
4
{"language": "c", "success": true, "metadata": {"lines": 93, "avg_line_length": 34.13, "nodes": 365, "errors": 0, "source_hash": "f8b2b167ee404dde3f8dee949b05c75b1e055bea801233b3e7bdda663f629e84", "categorized_nodes": 226}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "incl...
11,118
c
/* conn.h - handles the raw TCP (or proxy) connection * libsrsirc - a lightweight serious IRC lib - (C) 2012-20, <NAME> * See README for contact-, COPYING for license information. */ #ifndef LIBSRSIRC_CONN_H #define LIBSRSIRC_CONN_H 1 #include <stdbool.h> #include <stddef.h> #include <libsrsirc/defs.h> #include "...
40
36
(translation_unit) "/* conn.h - handles the raw TCP (or proxy) connection\n * libsrsirc - a lightweight serious IRC lib - (C) 2012-20, <NAME>\n * See README for contact-, COPYING for license information. */\n\n#ifndef LIBSRSIRC_CONN_H\n#define LIBSRSIRC_CONN_H 1\n\n\n#include <stdbool.h>\n#include <stddef.h>\n\n#includ...
417
0
{"language": "c", "success": true, "metadata": {"lines": 36, "avg_line_length": 40.0, "nodes": 312, "errors": 0, "source_hash": "2eaac0f5ccd2be5a6e9c49bcb3be96270fac9f393b6cb8328991219639e0a8cf", "categorized_nodes": 183}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
11,119
c
/* MIT License - Copyright (c) 2019-2021 <NAME> For full license information read the LICENSE file in the project folder */ #ifndef HASP_CUSTOM_H #define HASP_CUSTOM_H #include "hasplib.h" #if HASP_USE_CUSTOM > 0 /*this function is used to do logic depending on the published mqtt message*/ void publishmessageproc...
40.68
22
(translation_unit) "/* MIT License - Copyright (c) 2019-2021 <NAME>\n For full license information read the LICENSE file in the project folder */\n\n#ifndef HASP_CUSTOM_H\n#define HASP_CUSTOM_H\n\n#include "hasplib.h"\n#if HASP_USE_CUSTOM > 0\n\n/*this function is used to do logic depending on the published mqtt mess...
111
1
{"language": "c", "success": true, "metadata": {"lines": 22, "avg_line_length": 40.68, "nodes": 69, "errors": 0, "source_hash": "7c9ee8858272663895b3ebcbfd8185668703abf26bf27b1e2dbb23958e117b1e", "categorized_nodes": 45}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
11,120
c
// // Created by <NAME> on 09.03.16. // #ifndef FFMPEG_TEST_CODEC_H #define FFMPEG_TEST_CODEC_H #include "../CFFmpeg.h" namespace FFmpeg { namespace Codec { class Codec { protected: CFFmpeg::AVCodec *codec; public: Codec(CFFmpeg::AVCodec *codec) { t...
20.86
21
(translation_unit) "//\n// Created by <NAME> on 09.03.16.\n//\n\n#ifndef FFMPEG_TEST_CODEC_H\n#define FFMPEG_TEST_CODEC_H\n\n#include "../CFFmpeg.h"\n\nnamespace FFmpeg {\n namespace Codec {\n class Codec {\n protected:\n CFFmpeg::AVCodec *codec;\n public:\n Codec(CFFmpeg::...
102
4
{"language": "c", "success": true, "metadata": {"lines": 21, "avg_line_length": 20.86, "nodes": 55, "errors": 0, "source_hash": "f695d53b291384a50c3a459787f521ebd778df98f16f9b4b1aa7d138f46a6507", "categorized_nodes": 37}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
11,121
c
/** @file Copyright (c) 2019, Linaro. All rights reserved. SPDX-License-Identifier: BSD-2-Clause-Patent **/ #ifndef QCOM_H_ #define QCOM_H_ #include <Uefi.h> #include "CHID.h" /** Detect (if present) the qcom specific UEFIDisplayInfo variable, adjust dtb accordingly @param[in] Root The root of...
31.22
27
(translation_unit) "/** @file\n\n Copyright (c) 2019, Linaro. All rights reserved.\n\n SPDX-License-Identifier: BSD-2-Clause-Patent\n\n**/\n\n#ifndef QCOM_H_\n#define QCOM_H_\n\n#include <Uefi.h>\n\n#include "CHID.h"\n\n/**\n Detect (if present) the qcom specific UEFIDisplayInfo variable, adjust dtb\n accordingly\n...
51
4
{"language": "c", "success": true, "metadata": {"lines": 27, "avg_line_length": 31.22, "nodes": 39, "errors": 0, "source_hash": "7c12b06a4f3275379b82628b62da3144fb266e0c716e00604b7a201c02677ea7", "categorized_nodes": 28}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
11,122
c
#ifndef LIST_H #define LIST_H #include "types.h" class list { public: // -- проверки на нулевой размер и существование элемента -- void size_checker(const size_type &size) const; void element_checker(const size_type &i) const; /* Конструкторы/деструктор/присваивания */ list() = default; expli...
37.31
54
(translation_unit) "#ifndef LIST_H\n#define LIST_H\n\n#include "types.h"\n\nclass list\n{\npublic:\n // -- проверки на нулевой размер и существование элемента --\n void size_checker(const size_type &size) const;\n void element_checker(const size_type &i) const;\n\n /* Конструкторы/деструктор/присваивания */...
535
19
{"language": "c", "success": true, "metadata": {"lines": 54, "avg_line_length": 37.31, "nodes": 322, "errors": 0, "source_hash": "56e9386298a7d238aee2ac136515936e298ff1f29135c2fd49e3e94146d9ca00", "categorized_nodes": 224}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
11,123
c
#include <wctype.h> #include <newlib.h> #include "check.h" int main() { wctrans_t x; x = wctrans ("tolower"); CHECK (x != 0); CHECK (towctrans (L'A', x) == towlower (L'A')); CHECK (towctrans (L'5', x) == towlower (L'5')); x = wctrans ("toupper"); CHECK (x != 0); CHECK (towctrans (L'c', x) == towupper...
23.22
18
(translation_unit) "#include <wctype.h>\n#include <newlib.h>\n#include "check.h"\n\nint main()\n{\n wctrans_t x;\n\n x = wctrans ("tolower");\n CHECK (x != 0);\n CHECK (towctrans (L'A', x) == towlower (L'A'));\n CHECK (towctrans (L'5', x) == towlower (L'5'));\n\n x = wctrans ("toupper");\n CHECK (x != 0);\n CHE...
226
0
{"language": "c", "success": true, "metadata": {"lines": 18, "avg_line_length": 23.22, "nodes": 143, "errors": 0, "source_hash": "56f8bac8a14085cb18a03692781e3270e38d6998b1a2695faea3fc24d9e7d4c0", "categorized_nodes": 88}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
11,124
c
// // Generated by class-dump 3.5 (64 bit) (Debug version compiled Sep 17 2017 16:24:48). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by <NAME>. // #import <objc/NSObject.h> @class NSData, NSError, NSString, UIImage; @interface APImageDownloadResponse : NSObject { NSString *_identif...
40.04
25
(translation_unit) "//\n// Generated by class-dump 3.5 (64 bit) (Debug version compiled Sep 17 2017 16:24:48).\n//\n// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by <NAME>.\n//\n\n#import <objc/NSObject.h>\n\n@class NSData, NSError, NSString, UIImage;\n\n@interface APImageDownloadResponse : NSO...
270
26
{"language": "c", "success": true, "metadata": {"lines": 25, "avg_line_length": 40.04, "nodes": 166, "errors": 0, "source_hash": "6db87c4cfcb2e6ca60d5e39315e3bfb13347e64524292cbfe49829f201ff8550", "categorized_nodes": 106}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import...
11,125
c
// // BaseService.h // BaseService // // Created by chao on 2017/7/24. // Copyright © 2017年 chao. All rights reserved. // #import <Foundation/Foundation.h> @interface BaseService : NSObject @end
18.9
10
(translation_unit) "//\n// BaseService.h\n// BaseService\n//\n// Created by chao on 2017/7/24.\n// Copyright © 2017年 chao. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n\n@interface BaseService : NSObject\n\n@end\n" (comment) "//" (comment) "// BaseService.h" (comment) "// BaseService" (c...
19
3
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 18.9, "nodes": 10, "errors": 0, "source_hash": "6d325a9a273db306c343ab7073a4e1d657af7e0f8950ff9c4de1cb0ff81d81ee", "categorized_nodes": 5}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "port <Found...
11,126
c
#include <stdio.h> #include <stdlib.h> #include <assert.h> #include <drv/drv.h> /* * Ops */ static unsigned int rand_seed = 1; static int dev_rand_read(devid_t id, void *buf, size_t count, size_t offset, struct fs_file_op_result *result) { if (count) { unsigned char *bytes = bu...
20.95
40
(translation_unit) "#include <stdio.h>\n#include <stdlib.h>\n#include <assert.h>\n#include <drv/drv.h>\n\n\n/*\n * Ops\n */\nstatic unsigned int rand_seed = 1;\n\nstatic int dev_rand_read(devid_t id, void *buf, size_t count, size_t offset,\n struct fs_file_op_result *result)\n{\n if (count) {...
260
0
{"language": "c", "success": true, "metadata": {"lines": 40, "avg_line_length": 20.95, "nodes": 165, "errors": 0, "source_hash": "90420eda1f6efd8d576d507b7b42729d65a8d09d3ee027c8ee6001b866e1b969", "categorized_nodes": 117}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
11,127
c
#pragma once #include <math/core.h> #include <simulation.time/ITimeProvider.h> namespace nspace{ class SimulationTimeProvider:public virtual ITimeProvider{ private: Time _t_initial; Time _t_target; Time _t_actual; Time _lastTargetAdvance; Time _lastActualAdvance; AverageRate _av...
28.28
68
(translation_unit) "#pragma once \n \n#include <math/core.h> \n#include <simulation.time/ITimeProvider.h> \nnamespace nspace{ \n class SimulationTimeProvider:public virtual ITimeProvider{ \n private: \n Time _t_initial; \n Time _t_target; \n Time _t_actual; \n Time _lastTargetAdvance; \n Time _lastActu...
479
11
{"language": "c", "success": true, "metadata": {"lines": 68, "avg_line_length": 28.28, "nodes": 283, "errors": 0, "source_hash": "b6516d48f0f5c5f04e99bf38115e49cfb0707edd4a264f83c5a0563ce66b1be7", "categorized_nodes": 208}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
11,128
c
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by <NAME>. // #import "AMSAuthenticateTask.h" @class NSViewController; @interface AMSUIAuthenticateTask : AMSAuthenticateTask { id <AMSBagProtocol> _bag; NSViewController *_presentingViewCont...
41.9
21
(translation_unit) "//\n// Generated by class-dump 3.5 (64 bit).\n//\n// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by <NAME>.\n//\n\n#import "AMSAuthenticateTask.h"\n\n@class NSViewController;\n\n@interface AMSUIAuthenticateTask : AMSAuthenticateTask\n{\n id <AMSBagProtocol> _bag;\n NSVi...
207
20
{"language": "c", "success": true, "metadata": {"lines": 21, "avg_line_length": 41.9, "nodes": 128, "errors": 0, "source_hash": "7a07ac805c6a598876a55ac148f19d5d255e8030dc53df02684267b70d3bde6d", "categorized_nodes": 79}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import \...
11,129
c
const unsigned char smallscan[64] = { 0x80, // 0,0 - 10000000 0xc0, // 0,1 - 11000000 0xe0, // 0,2 - 11100000 0xf0, // 0,3 - 11110000 0xf8, // 0,4 - 11111000 0xfc, // 0,5 - 11111100 0xfe, // 0,6 - 11111110 0xff, // 0,7 - 11111111 0xc0, // 1,0 - 11000000 0x40, // 1,1 - 01000000 0x60, // 1,2 - 01100000 0x70, // 1,3 - 011...
22.89
66
(translation_unit) "const unsigned char smallscan[64] = {\n0x80, // 0,0 - 10000000\n0xc0, // 0,1 - 11000000\n0xe0, // 0,2 - 11100000\n0xf0, // 0,3 - 11110000\n0xf8, // 0,4 - 11111000\n0xfc, // 0,5 - 11111100\n0xfe, // 0,6 - 11111110\n0xff, // 0,7 - 11111111\n0xc0, // 1,0 - 11000000\n0x40, // 1,1 - 01000000\n0x60, // 1,...
209
0
{"language": "c", "success": true, "metadata": {"lines": 66, "avg_line_length": 22.89, "nodes": 74, "errors": 0, "source_hash": "a7fcadb54e1d7ffd7ecca381c9fd8d946731284b99fa8aa0b15e327fd65c9ac5", "categorized_nodes": 68}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "declaration", "text": "const unsi...
11,130
c
#include <stdint.h> #include <stdio.h> #include "../lib/led.h" #include "../lib/debug.h" #include "../lib/sdcard.h" void main(void) { uint32_t * ddr3_mem = (uint32_t*)&DDR3; LED_set(0); for(uint32_t i = 0; i < 128; i++) { ddr3_mem[i] = (i<<16)|i; } for(uint32_t i = DDR3_ENTRIES_32B-128; i < DDR3_ENTRIE...
22.25
28
(translation_unit) "#include <stdint.h>\n#include <stdio.h>\n\n#include "../lib/led.h"\n#include "../lib/debug.h"\n#include "../lib/sdcard.h"\n\nvoid main(void) {\n\n uint32_t * ddr3_mem = (uint32_t*)&DDR3;\n\n LED_set(0);\n\n for(uint32_t i = 0; i < 128; i++) {\n ddr3_mem[i] = (i<<16)|i;\n }\n for(uint32_t i = D...
292
0
{"language": "c", "success": true, "metadata": {"lines": 28, "avg_line_length": 22.25, "nodes": 175, "errors": 0, "source_hash": "7c19c5a13470ef0d9bbff9b9430dfed4123ca62d94be49c21577b6479c97d514", "categorized_nodes": 128}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
11,131
c
/****************************************************************************** * * FILE * ---- * decoder.c * * History * ------- * 2014-03-28 File created * ******************************************************************************* * * This file is generated by the 'acplt_builder' co...
21.44
71
(translation_unit) "/****************************************************************************** \n* \n* FILE \n* ---- \n* decoder.c \n* \n* History \n* ------- \n* 2014-03-28 File created \n* \n******************************************************************************* \n* \n* This file is gener...
363
2
{"language": "c", "success": true, "metadata": {"lines": 71, "avg_line_length": 21.44, "nodes": 210, "errors": 0, "source_hash": "a92d0714a2fd59c886797ca1eadc883f2b2e67c5313950cbcf713f20efc7e84f", "categorized_nodes": 170}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
11,132
c
/******************************************************************************* * Copyright (c) 2009-2014, MAV'RIC Development Team * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: *...
29.96
155
(translation_unit) "/******************************************************************************* \n * Copyright (c) 2009-2014, MAV'RIC Development Team \n * All rights reserved. \n * \n * Redistribution and use in source and binary forms, with or without \n * modification, are permitted provided that the followin...
229
0
{"language": "c", "success": true, "metadata": {"lines": 155, "avg_line_length": 29.96, "nodes": 157, "errors": 0, "source_hash": "13ac630ff5157a9109d35f763f322e02e5dd98637aa2eb82891666c81871e2e7", "categorized_nodes": 97}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
11,133
c
/* mpq_set_str -- string to mpq conversion. Copyright 2001, 2002 Free Software Foundation, Inc. This file is part of the GNU MP Library. The GNU MP Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation;...
35.49
45
(translation_unit) "/* mpq_set_str -- string to mpq conversion.\n\nCopyright 2001, 2002 Free Software Foundation, Inc.\n\nThis file is part of the GNU MP Library.\n\nThe GNU MP Library is free software; you can redistribute it and/or modify\nit under the terms of the GNU Lesser General Public License as published by\nt...
265
0
{"language": "c", "success": true, "metadata": {"lines": 45, "avg_line_length": 35.49, "nodes": 167, "errors": 0, "source_hash": "0b3ea911565fa2a6f31a2f325cd742c76c419092f1cbb8ef8a94689acdd9c11d", "categorized_nodes": 121}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
11,134
c
/** * Linux bigdir iterator. * * glibc's implementation of readdir() on Linux can end up reading the entire * directory into memory. This can lead to a problem with very large * directories with millions of files in them. Instead of using readdir(), this * uses the underlying system call that glibc uses, getdents...
28.49
65
(translation_unit) "/**\n * Linux bigdir iterator.\n *\n * glibc's implementation of readdir() on Linux can end up reading the entire\n * directory into memory. This can lead to a problem with very large\n * directories with millions of files in them. Instead of using readdir(), this\n * uses the underlying system call...
430
0
{"language": "c", "success": true, "metadata": {"lines": 65, "avg_line_length": 28.49, "nodes": 282, "errors": 0, "source_hash": "189cf6060a1fb18cd856703626e49f28301a3ce3da4136d8d57fa9d7be8dade1", "categorized_nodes": 217}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
11,135
c
require_privilege(get_field(STATE.mstatus, MSTATUS_TW) ? PRV_M : PRV_S); wfi();
39
2
(translation_unit) "require_privilege(get_field(STATE.mstatus, MSTATUS_TW) ? PRV_M : PRV_S);\nwfi();\n" (expression_statement) "require_privilege(get_field(STATE.mstatus, MSTATUS_TW) ? PRV_M : PRV_S);" (call_expression) "require_privilege(get_field(STATE.mstatus, MSTATUS_TW) ? PRV_M : PRV_S)" (identifier) "...
31
0
{"language": "c", "success": true, "metadata": {"lines": 2, "avg_line_length": 39.0, "nodes": 17, "errors": 0, "source_hash": "f0a15bf7dc14c54964299b5801b8d7fd911a6624418a093caad7bd4604fd2d25", "categorized_nodes": 13}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "call_expression", "text": "require_...
11,136
c
#ifndef _ASI_IO_H_ #define _ASI_IO_H_ #include "asi_image.h" typedef enum pnm_ftype { PNM_P1, PNM_P2, PNM_P3, PNM_P4, PNM_P5, PNM_P6 } pnm_ftype_enum; typedef struct pnm_header { pnm_ftype_enum ftype; int width; int height; int data_depth; int header_length; } pnm_header_t...
24.23
30
(translation_unit) "#ifndef _ASI_IO_H_\n#define _ASI_IO_H_\n\n#include "asi_image.h"\n\ntypedef enum pnm_ftype\n{\n PNM_P1,\n PNM_P2,\n PNM_P3,\n PNM_P4,\n PNM_P5,\n PNM_P6\n} pnm_ftype_enum;\n\ntypedef struct pnm_header\n{\n pnm_ftype_enum ftype;\n int width;\n int height;\n int data_dept...
182
0
{"language": "c", "success": true, "metadata": {"lines": 30, "avg_line_length": 24.23, "nodes": 130, "errors": 0, "source_hash": "c2faef4118337bf84227c592f791cd0827b4421c3f6ebc7c03d6ad6c7d67f9de", "categorized_nodes": 90}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
11,137
c
#pragma once #include "caffeine/IR/Operation.h" #include "caffeine/Memory/MemHeap.h" #include "caffeine/Support/UnsupportedOperation.h" #include <llvm/IR/InstVisitor.h> #include <optional> #include <stdexcept> namespace caffeine { class Context; class LLVMValue; class LLVMScalar; class InterpreterContext; /** * LL...
41.48
122
(translation_unit) "#pragma once\n\n#include "caffeine/IR/Operation.h"\n#include "caffeine/Memory/MemHeap.h"\n#include "caffeine/Support/UnsupportedOperation.h"\n#include <llvm/IR/InstVisitor.h>\n#include <optional>\n#include <stdexcept>\n\nnamespace caffeine {\n\nclass Context;\nclass LLVMValue;\nclass LLVMScalar;\ncl...
1,313
83
{"language": "c", "success": true, "metadata": {"lines": 122, "avg_line_length": 41.48, "nodes": 803, "errors": 0, "source_hash": "cfb81e552202332bbc559681baa26e6cb7b4cff0707da53c8ecbb255356edb2a", "categorized_nodes": 615}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragm...
11,138
c
#define AFIRST #include <stdlib.h> #include <stdio.h> #include <string.h> #include "netcdf.h" #define AFIRST #undef DEBUG #define FILE "tst_charvlenbug.nc" void checkErrorCode(int status, const char* message){ if (status != NC_NOERR){ fprintf(stderr,"Error code: %d: %s\n",status,message); } } int ...
27.47
117
(translation_unit) "#define AFIRST\n\n#include <stdlib.h>\n#include <stdio.h>\n#include <string.h>\n#include "netcdf.h"\n\n#define AFIRST\n\n#undef DEBUG\n\n#define FILE "tst_charvlenbug.nc"\n\nvoid checkErrorCode(int status, const char* message){\n if (status != NC_NOERR){\n fprintf(stderr,"Error code: %d: %...
1,101
0
{"language": "c", "success": true, "metadata": {"lines": 117, "avg_line_length": 27.47, "nodes": 620, "errors": 0, "source_hash": "320befb92eeb5e559d5b9b1ad150ec1c6dacf7dcecb7092f42bb28c607c8b2e9", "categorized_nodes": 449}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_def", "text": "#define...
11,139
c
// // AppDelegateWX.h // AXiOSKit_Example // // Created by 小星星吃KFC on 2020/10/27. // Copyright © 2020 axinger. All rights reserved. // #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @interface AppDelegateWX : NSObject<UIApplicationDelegate> @end NS_ASSUME_NONNULL_END
21.75
12
(translation_unit) "//\n// AppDelegateWX.h\n// AXiOSKit_Example\n//\n// Created by 小星星吃KFC on 2020/10/27.\n// Copyright © 2020 axinger. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\nNS_ASSUME_NONNULL_BEGIN\n\n@interface AppDelegateWX : NSObject<UIApplicationDelegate>\n\n@end\n\nNS_ASSUME_NONNULL_END\n" (...
32
4
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 21.75, "nodes": 20, "errors": 0, "source_hash": "a18c43db0d87dbb49243d50140668436582a14ff485f8b44afbd7e41e8c549d3", "categorized_nodes": 11}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "UIKit/UIK...
11,140
c
/* Genetic algorithm to explore xorshift-multiply-xorshift hashes. */ #include <math.h> #include <time.h> #include <stdio.h> #include <stdint.h> #include <stdlib.h> #define POOL 40 #define THRESHOLD 2.0 // Use exact when estimate is below this #define DONTCARE 0.3 // Only print tuples with bias below this thr...
26.5
261
(translation_unit) "/* Genetic algorithm to explore xorshift-multiply-xorshift hashes.\n */\n#include <math.h>\n#include <time.h>\n#include <stdio.h>\n#include <stdint.h>\n#include <stdlib.h>\n\n#define POOL 40\n#define THRESHOLD 2.0 // Use exact when estimate is below this\n#define DONTCARE 0.3 // Only print t...
2,954
0
{"language": "c", "success": true, "metadata": {"lines": 261, "avg_line_length": 26.5, "nodes": 1936, "errors": 0, "source_hash": "cb2a917c0a2b0bdbb7d21f66b3c3bce386d71a14d5fc545d0a6101a3c7610c3f", "categorized_nodes": 1371}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#i...
11,141
c
/* //%LICENSE//////////////////////////////////////////////////////////////// // // Licensed to The Open Group (TOG) under one or more contributor license // agreements. Refer to the OpenPegasusNOTICE.txt file distributed with // this work for additional information regarding copyright ownership. // Each contributor l...
36.28
100
(translation_unit) "/*\n//%LICENSE////////////////////////////////////////////////////////////////\n//\n// Licensed to The Open Group (TOG) under one or more contributor license\n// agreements. Refer to the OpenPegasusNOTICE.txt file distributed with\n// this work for additional information regarding copyright ownersh...
514
0
{"language": "c", "success": true, "metadata": {"lines": 100, "avg_line_length": 36.28, "nodes": 311, "errors": 0, "source_hash": "438fbb4842c0adb369b152fcdbd020fccf5e7fbbc6edbce54f0c8819c60a52cc", "categorized_nodes": 223}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
11,142
c
/*=========================================================================== _____ _____ _____ _____ ___| _|__ __|_ |__ __|__ |__ __| __ |__ ______ | \ / | || \ || | || |/ / ||___ | | \/ | || \ || \ || \ ||___ | |_...
28.82
93
(translation_unit) "/*=========================================================================== \n _____ _____ _____ _____ \n ___| _|__ __|_ |__ __|__ |__ __| __ |__ ______ \n| \ / | || \ || | || |/ / ||___ | \n| \/ | || \ || \ ||...
185
0
{"language": "c", "success": true, "metadata": {"lines": 93, "avg_line_length": 28.82, "nodes": 95, "errors": 0, "source_hash": "65d116265c219586fdba2f1ed5fb9d8e3fc9e01dc278ff352799fd968c774dd7", "categorized_nodes": 67}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
11,143
c
#include <stdio.h> #include <stdlib.h> // This solution is an invalid C solution (not writing any 'output' file). int main() { int k; FILE *fin; fin = fopen("input", "r"); fscanf(fin, "%d", &k); fclose(fin); return 0; }
21.18
11
(translation_unit) "#include <stdio.h>\n#include <stdlib.h>\n\n// This solution is an invalid C solution (not writing any 'output' file).\n\nint main() {\n int k;\n FILE *fin;\n\n fin = fopen("input", "r");\n fscanf(fin, "%d", &k);\n fclose(fin);\n\n return 0;\n}\n" (preproc_include) "#include <stdi...
76
0
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 21.18, "nodes": 40, "errors": 0, "source_hash": "30d688d6a7e02c671b90922269093d84d2d5eea30a2b59335d16b36ef9b7a2ac", "categorized_nodes": 31}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
11,144
c
#include <stdio.h> #include "freertos/FreeRTOS.h" #include "freertos/task.h" #include "freertos/semphr.h" #include "freertos/queue.h" #include "freertos/event_groups.h" #include "driver/timer.h" #include "unity.h" #ifdef CONFIG_IDF_TARGET_ESP32S2 #define int_clr_timers int_clr #define update update.update #define int...
39.44
182
(translation_unit) "#include <stdio.h>\n\n#include "freertos/FreeRTOS.h"\n#include "freertos/task.h"\n#include "freertos/semphr.h"\n#include "freertos/queue.h"\n#include "freertos/event_groups.h"\n#include "driver/timer.h"\n#include "unity.h"\n\n#ifdef CONFIG_IDF_TARGET_ESP32S2\n#define int_clr_timers int_clr\n#define ...
1,466
1
{"language": "c", "success": true, "metadata": {"lines": 182, "avg_line_length": 39.44, "nodes": 809, "errors": 0, "source_hash": "ed72aedae9976d3c5543b2d24d5be34f9065d7b92dba346c7f6353fb15cbee0e", "categorized_nodes": 537}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
11,145
c
/* * Copyright (c) 2016-2018 <NAME>. All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to * deal with the Software without restriction, including without limitation the * rights to use, cop...
31.52
218
(translation_unit) "/*\n * Copyright (c) 2016-2018 <NAME>. All rights reserved.\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\n * deal with the Software without restriction, including without limitation ...
1,461
0
{"language": "c", "success": true, "metadata": {"lines": 218, "avg_line_length": 31.52, "nodes": 813, "errors": 0, "source_hash": "10aaf14ac41adaa4286222e80569b80ed830f8823a2909ca6b8fa1f7d71e30f1", "categorized_nodes": 636}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
11,146
c
#include "types.h" #include "stat.h" #include "user.h" int main (int argc, char *argv[]){ if (argc != 3){ printf(2, "Usage: mv oldname newname\n"); exit(); } if ((link(argv[1], argv[2]) < 0) || (unlink(argv[1]) < 0)) printf(2, "mv %s to %s failed\n", argv[1], argv[2]); exit(); }
20.71
14
(translation_unit) "#include "types.h"\n#include "stat.h"\n#include "user.h"\n \nint main (int argc, char *argv[]){\n if (argc != 3){\n printf(2, "Usage: mv oldname newname\n");\n exit();\n }\n if ((link(argv[1], argv[2]) < 0) || (unlink(argv[1]) < 0))\n printf(2, "mv %s to %s failed\n", argv[1], argv[2]);\...
152
0
{"language": "c", "success": true, "metadata": {"lines": 14, "avg_line_length": 20.71, "nodes": 80, "errors": 0, "source_hash": "076f88162bf4f22ef052dd9197b84526f52c1ce99d78e39c0ab393d04eba742b", "categorized_nodes": 61}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
11,147
c
/* { dg-shouldfail "tsan" } */ /* { dg-additional-options "-ldl" } */ #include <pthread.h> #include "tsan_barrier.h" static pthread_barrier_t barrier; void *Thread(void *x) { pthread_mutex_lock((pthread_mutex_t*)x); pthread_mutex_unlock((pthread_mutex_t*)x); barrier_wait(&barrier); return 0; } int main() { ...
25.87
23
(translation_unit) "/* { dg-shouldfail "tsan" } */\n/* { dg-additional-options "-ldl" } */\n\n#include <pthread.h>\n#include "tsan_barrier.h"\n\nstatic pthread_barrier_t barrier;\n\nvoid *Thread(void *x) {\n pthread_mutex_lock((pthread_mutex_t*)x);\n pthread_mutex_unlock((pthread_mutex_t*)x);\n barrier_wait(&barrier...
174
0
{"language": "c", "success": true, "metadata": {"lines": 23, "avg_line_length": 25.87, "nodes": 95, "errors": 0, "source_hash": "e40a74ef01aac2aef4d3aab1497e5e2ecf4438f7b65e6102e3300cafee6746ec", "categorized_nodes": 71}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
11,148
c
// // SKSTableView.h // SKSTableView // // Created by Sakkaras on 26/12/13. // Copyright (c) 2013 Sakkaras. All rights reserved. // #import <UIKit/UIKit.h> @class SKSTableView; #pragma mark - SKSTableViewDelegate @protocol SKSTableViewDelegate <UITableViewDataSource, UITableViewDelegate> @required /** * 返回的内...
24.96
56
(translation_unit) "//\n// SKSTableView.h\n// SKSTableView\n//\n// Created by Sakkaras on 26/12/13.\n// Copyright (c) 2013 Sakkaras. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@class SKSTableView;\n\n#pragma mark - SKSTableViewDelegate\n\n@protocol SKSTableViewDelegate <UITableViewDataSource, UITableVie...
196
32
{"language": "c", "success": true, "metadata": {"lines": 56, "avg_line_length": 24.96, "nodes": 134, "errors": 0, "source_hash": "43c42fcb2ee3ff41c46895e6079ce2e484cf2eb318446b4d5faee751ba1b3878", "categorized_nodes": 72}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import ...
11,149
c
// // FYBaseData.h // FYMall // // Created by dai.fengyi on 15/5/21. // Copyright (c) 2015年 childrenOurFuture. All rights reserved. // #import <Foundation/Foundation.h> @interface FYBaseData : NSObject - (id)initWithDic:(NSDictionary *)dic; @end
19.92
12
(translation_unit) "//\n// FYBaseData.h\n// FYMall\n//\n// Created by dai.fengyi on 15/5/21.\n// Copyright (c) 2015年 childrenOurFuture. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n\n@interface FYBaseData : NSObject\n\n\n- (id)initWithDic:(NSDictionary *)dic;\n@end\n" (comment) "//" (comment) ...
40
5
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 19.92, "nodes": 21, "errors": 0, "source_hash": "39df305d798e2d2f1407781456125de76c978998332938fe6479aadb6a622f0c", "categorized_nodes": 12}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "mport <Fo...
11,150
c
#ifndef CALIBRATE_H #define CALIBRATE_H #include "CaliParamConfigSection.h" #include "ObjectiveFunc.h" #include "Simulator.h" class Calibrate { public: virtual void Initialize(CaliParamConfigSection *caliParamConfigNew, RoutingCaliParamConfigSection *routingCaliParamConfigNew, SnowCaliPa...
33.09
22
(translation_unit) "#ifndef CALIBRATE_H\n#define CALIBRATE_H\n\n#include "CaliParamConfigSection.h"\n#include "ObjectiveFunc.h"\n#include "Simulator.h"\n\nclass Calibrate {\npublic:\n virtual void\n Initialize(CaliParamConfigSection *caliParamConfigNew,\n RoutingCaliParamConfigSection *routingCaliParamCon...
135
2
{"language": "c", "success": true, "metadata": {"lines": 22, "avg_line_length": 33.09, "nodes": 95, "errors": 0, "source_hash": "dc94b659a6ffa0a6bc7c42204c81f143538ab6db431ec237208747a2cc04ac0c", "categorized_nodes": 63}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
11,151
c
// SPDX-License-Identifier: MIT /* * MIT License * Copyright (c) 2019, 2018 - present OMRON Corporation * Copyright (c) 2019 Renesas Electronics Corporation * All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation file...
34.78
88
(translation_unit) "// SPDX-License-Identifier: MIT\n/*\n * MIT License\n * Copyright (c) 2019, 2018 - present OMRON Corporation\n * Copyright (c) 2019 Renesas Electronics Corporation\n * All rights reserved.\n *\n * Permission is hereby granted, free of charge, to any person obtaining a\n * copy of this software and a...
138
4
{"language": "c", "success": true, "metadata": {"lines": 88, "avg_line_length": 34.78, "nodes": 90, "errors": 0, "source_hash": "82336e8a3434ac13e258d5562765144faa18b96a9a5d474d388c49a49d6c413c", "categorized_nodes": 57}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
11,152
c
#ifndef COORDINATOR_NODE_H #define COORDINATOR_NODE_H #include <map> #include <ostream> #include <common/equality.h> #include "location.h" struct Node { unsigned long rank{}; unsigned long id{}; std::string name{}; // Location loc{}; std::map<double, Location, common::is_less<double>> locations{}...
27.21
19
(translation_unit) "#ifndef COORDINATOR_NODE_H\n#define COORDINATOR_NODE_H\n\n#include <map>\n#include <ostream>\n\n#include <common/equality.h>\n\n#include "location.h"\n\nstruct Node {\n unsigned long rank{};\n unsigned long id{};\n std::string name{};\n// Location loc{};\n std::map<double, Location, c...
140
6
{"language": "c", "success": true, "metadata": {"lines": 19, "avg_line_length": 27.21, "nodes": 77, "errors": 0, "source_hash": "d95b55a2105efd6f7101f49868b74cabe3f96c9e24f296d8f821dc5edc9b5a36", "categorized_nodes": 54}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
11,153
c
/************************************************************************** * * \file * * \brief JPEG memory manager. * * Copyright (c) 2014 Atmel Corporation. All rights reserved. * * \asf_license_start * * \page License * * Redistribution and use in source and binary forms, with or without * modification...
33.19
137
(translation_unit) "/**************************************************************************\n *\n * \file\n *\n * \brief JPEG memory manager.\n *\n * Copyright (c) 2014 Atmel Corporation. All rights reserved.\n *\n * \asf_license_start\n *\n * \page License\n *\n * Redistribution and use in source and binary forms,...
327
3
{"language": "c", "success": true, "metadata": {"lines": 137, "avg_line_length": 33.19, "nodes": 200, "errors": 0, "source_hash": "369e606b3e24d434ac644fbc2ef7c5ecdfabf9aa46cb708a2e432274b75db0c7", "categorized_nodes": 140}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_def", "text": "#define...
11,154
c
#include<bits/stdc++.h> using namespace::std; void C(){ cout<<"C is included."<<endl; }
17.4
5
(translation_unit) "#include<bits/stdc++.h>\nusing namespace::std;\nvoid C(){\n cout<<"C is included."<<endl;\n}" (preproc_include) "#include<bits/stdc++.h>\n" (#include) "#include" (system_lib_string) "<bits/stdc++.h>" (declaration) "using namespace::std;" (type_identifier) "using" (identifier) ...
34
1
{"language": "c", "success": true, "metadata": {"lines": 5, "avg_line_length": 17.4, "nodes": 20, "errors": 0, "source_hash": "dabba5fad7fb49da7aa866c8bc228dfa98109e6c70a4c13c62251f32a9577e22", "categorized_nodes": 15}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#include...
11,155
c
#pragma once #define AMT_SHOW_NONE 0x0000 #define AMT_SHOW_NOT_MATCHING 0x0001 #define AMT_SHOW_MATCHING 0x0002 #define AMT_SHOW_ORPHANS 0x0004 template<typename T> bool CanShow(int filter, T lhs, T rhs) { if (filter & AMT_SHOW_MATCHING && filter & AMT_SHOW_NOT_MATCHING && filter & AMT_SHOW_ORPHANS) {...
30.4
30
(translation_unit) "#pragma once\n\n#define AMT_SHOW_NONE 0x0000\n#define AMT_SHOW_NOT_MATCHING 0x0001\n#define AMT_SHOW_MATCHING 0x0002\n#define AMT_SHOW_ORPHANS 0x0004\n\ntemplate<typename T>\nbool CanShow(int filter, T lhs, T rhs)\n{\n if (filter & AMT_SHOW_MATCHING && filter & AMT_SHOW_NOT_MATCHING && fi...
241
7
{"language": "c", "success": true, "metadata": {"lines": 30, "avg_line_length": 30.4, "nodes": 154, "errors": 0, "source_hash": "f989ad768b3d5c2b3c9dfd175bf1f348833256f0a38e311477effed628820601", "categorized_nodes": 104}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma ...
11,156
c
#include <stdio.h> int main(void) { int height; float profit; height = 8; profit = 9.873f; printf("height: %d, profit: %.3f, profit2: %f", height, profit, profit); return 0; }
19
10
(translation_unit) "#include <stdio.h>\n\nint main(void)\n\n{\n int height;\n float profit;\n\n height = 8;\n profit = 9.873f;\n\n printf("height: %d, profit: %.3f, profit2: %f", height, profit, profit);\n return 0;\n}" (preproc_include) "#include <stdio.h>\n" (#include) "#include" (system_l...
57
0
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 19.0, "nodes": 33, "errors": 0, "source_hash": "4ed2fd7985466298f413e8a9af0c5c1e07cb0e43dc32dfb42a999e5b23c3c712", "categorized_nodes": 25}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#includ...
11,157
c
#ifndef _ISSHE_COMMON_H_ #define _ISSHE_COMMON_H_ #include <errno.h> #include <stdio.h> #include <string.h> #include <stdlib.h> #include <unistd.h> #include <stdarg.h> #include <fcntl.h> /* For O_* constants */ #include <sys/stat.h> /* For mode constants */ #include <sys/errno.h> #include <sys/types.h...
28.94
48
(translation_unit) "#ifndef _ISSHE_COMMON_H_\n#define _ISSHE_COMMON_H_\n\n#include <errno.h>\n#include <stdio.h>\n#include <string.h>\n#include <stdlib.h>\n#include <unistd.h>\n#include <stdarg.h>\n#include <fcntl.h> /* For O_* constants */\n#include <sys/stat.h> /* For mode constants */\n#include <sys...
182
0
{"language": "c", "success": true, "metadata": {"lines": 48, "avg_line_length": 28.94, "nodes": 159, "errors": 0, "source_hash": "64e83c0193c8c79469931ab9d8841cf796b6260a43a793958276847e0e32a770", "categorized_nodes": 96}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
11,158
c
#ifndef CIRCLE_H #define CIRCLE_H #include "datatypes.hpp" #include "Drawable.h" /// /// @brief Drawable circle, this will draw a circle on the matrix. /// class Circle: public Drawable { public: /// /// @brief Constructor, initializes all properties with desired values. /// @param p1 The centre position of th...
24.36
33
(translation_unit) "#ifndef CIRCLE_H\n#define CIRCLE_H\n\n#include "datatypes.hpp"\n#include "Drawable.h"\n\n///\n/// @brief Drawable circle, this will draw a circle on the matrix.\n///\nclass Circle: public Drawable {\n public:\n ///\n /// @brief Constructor, initializes all properties with desired values.\n /// @p...
118
8
{"language": "c", "success": true, "metadata": {"lines": 33, "avg_line_length": 24.36, "nodes": 62, "errors": 0, "source_hash": "a37b2930e2c35fe08bbcc3b603c22a37e7891460ad81d8d863a75c84a1dd4d31", "categorized_nodes": 43}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
11,159
c
/** @file QNC Smm Library Services header file. Copyright (c) 2013-2015 Intel Corporation. SPDX-License-Identifier: BSD-2-Clause-Patent **/ #ifndef __QNC_SMM_LIB_H__ #define __QNC_SMM_LIB_H__ /** This routine is the chipset code that accepts a request to "open" a region of SMRAM. The region could be legacy ABS...
27.37
46
(translation_unit) "/** @file\nQNC Smm Library Services header file.\n\nCopyright (c) 2013-2015 Intel Corporation.\n\nSPDX-License-Identifier: BSD-2-Clause-Patent\n\n**/\n\n#ifndef __QNC_SMM_LIB_H__\n#define __QNC_SMM_LIB_H__\n\n/**\n This routine is the chipset code that accepts a request to "open" a region of SMRAM....
48
3
{"language": "c", "success": true, "metadata": {"lines": 46, "avg_line_length": 27.37, "nodes": 34, "errors": 0, "source_hash": "c095154fe6fb3d250de1a45d80d83cc3f12f97a92012686031aa56b3291c4abd", "categorized_nodes": 26}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
11,160
c
/* * Copyright 2013 <NAME> (<EMAIL>) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
20.84
135
(translation_unit) "/* \n * Copyright 2013 <NAME> (<EMAIL>) \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 * Unle...
760
0
{"language": "c", "success": true, "metadata": {"lines": 135, "avg_line_length": 20.84, "nodes": 477, "errors": 0, "source_hash": "0616bf0b3cf6414c375ee836108412a8f0c816a1d8368b3b8f920df94e7910d9", "categorized_nodes": 334}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
11,161
c
//FILESYS_PARSE HEADER FILE #include "types.h" #include "lib.h" #define FILENAME_LEN 32 #define DATA_BLOCK_SIZE 4096 typedef struct{ int8_t filename[FILENAME_LEN]; int32_t filetype; int32_t inode_num; int8_t reserved[24]; }dentry_t; //directory entry struct typedef struct{ int32_t i_length; int32_t da...
31.83
35
(translation_unit) "//FILESYS_PARSE HEADER FILE\n#include "types.h"\n#include "lib.h"\n\n#define FILENAME_LEN 32\n#define DATA_BLOCK_SIZE 4096\n\ntypedef struct{\n int8_t filename[FILENAME_LEN];\n int32_t filetype;\n int32_t inode_num;\n int8_t reserved[24];\n}dentry_t; //directory entry struct\n\ntypedef struct...
326
0
{"language": "c", "success": true, "metadata": {"lines": 35, "avg_line_length": 31.83, "nodes": 227, "errors": 0, "source_hash": "6b8bb8eeab11e438fb9c0914d88ba4be355aedc3bceadf0763302147d65c0a73", "categorized_nodes": 136}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
11,162
c
#pragma once #include "Key.h" struct Point { static const unsigned ADDRESS0; static const unsigned COMPRESSION_ENDING[7]; static const Point G; static Point gPowers[64]; static Point gMultiples[Key::GROUP_SIZE / 2 + 1]; static void initialize(); Key x; Key y; Point(); explicit Point(unsigned long lon...
24.75
24
(translation_unit) "#pragma once\n\n#include "Key.h"\n\nstruct Point\n{\n static const unsigned ADDRESS0;\n static const unsigned COMPRESSION_ENDING[7];\n\n static const Point G;\n\n static Point gPowers[64];\n static Point gMultiples[Key::GROUP_SIZE / 2 + 1];\n\n static void initialize();\n \n Key x;\n Key y;\n \n Poi...
235
12
{"language": "c", "success": true, "metadata": {"lines": 24, "avg_line_length": 24.75, "nodes": 134, "errors": 0, "source_hash": "649b08e0860a99a65f112ffb78499f0182235fc65814677c2e0904e33743044a", "categorized_nodes": 98}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma ...
11,163
c
/* * This header is generated by classdump-dyld 1.0 * on Tuesday, November 5, 2019 at 1:54:29 PM Mountain Standard Time * Operating System: Version 13.0 (Build 17J586) * Image Source: /Applications/PineBoard.app/PineBoard * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by <NAME>. */ #import <BaseBoard/...
38.25
16
(translation_unit) "/*\n* This header is generated by classdump-dyld 1.0\n* on Tuesday, November 5, 2019 at 1:54:29 PM Mountain Standard Time\n* Operating System: Version 13.0 (Build 17J586)\n* Image Source: /Applications/PineBoard.app/PineBoard\n* classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by <NAME>...
87
11
{"language": "c", "success": true, "metadata": {"lines": 16, "avg_line_length": 38.25, "nodes": 52, "errors": 0, "source_hash": "1084e05f4bc3c8c6825f0592cda45c23f5214895ec691490311a1d6773187906", "categorized_nodes": 33}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <B...
11,164
c
/* * \file formatfileworker.h * \brief Объявление класса FormatFileWorker * \author <NAME>. * \date 09.20 */ #ifndef FORMATFILEWORKER_H #define FORMATFILEWORKER_H #include <QObject> #include <QThread> #include <QFile> #include <QFileInfoList> #include <QProcess> /* * \class FormatFileWorker * \brief Класс, про...
30.65
40
(translation_unit) "/*\n * \file formatfileworker.h\n * \brief Объявление класса FormatFileWorker\n * \author <NAME>.\n * \date 09.20\n */\n#ifndef FORMATFILEWORKER_H\n#define FORMATFILEWORKER_H\n\n#include <QObject>\n#include <QThread>\n#include <QFile>\n#include <QFileInfoList>\n#include <QProcess>\n\n/*\n * \class F...
165
6
{"language": "c", "success": true, "metadata": {"lines": 40, "avg_line_length": 30.65, "nodes": 113, "errors": 0, "source_hash": "ded00f4c0d71ecfcbd801df40b5390437d94724f0d1dd5e881ba97bd1a612b46", "categorized_nodes": 80}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "LEWORKE...
11,165
c
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ft_ls.h :+: :+: :+: ...
35.09
91
(translation_unit) "/* ************************************************************************** */\n/* */\n/* ::: :::::::: */\n/* ft_ls.h ...
792
0
{"language": "c", "success": true, "metadata": {"lines": 91, "avg_line_length": 35.09, "nodes": 614, "errors": 0, "source_hash": "e27583923325e4ee9ce6ccbcc76de23932547f6a32798cc233145badad98ce52", "categorized_nodes": 354}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
11,166
c
// // WXZPersonalCityCell.h // rufangrongke // // Created by 儒房融科 on 15/10/29. // Copyright (c) 2015年 王晓植. All rights reserved. // /** * 城市列表cell **/ #import <UIKit/UIKit.h> @interface WXZPersonalCityCell : UITableViewCell @property (weak, nonatomic) IBOutlet UILabel *cityNameLabel; // 城市名称 + (instancetype)i...
23.94
16
(translation_unit) "//\n// WXZPersonalCityCell.h\n// rufangrongke\n//\n// Created by 儒房融科 on 15/10/29.\n// Copyright (c) 2015年 王晓植. All rights reserved.\n//\n\n/**\n * 城市列表cell\n **/\n\n#import <UIKit/UIKit.h>\n\n@interface WXZPersonalCityCell : UITableViewCell\n\n@property (weak, nonatomic) IBOutlet UILabel *cityN...
70
9
{"language": "c", "success": true, "metadata": {"lines": 16, "avg_line_length": 23.94, "nodes": 43, "errors": 0, "source_hash": "61692ab2a5e0a3bc253bf307781903ca24bd62b1b40e7fb25aa8535b3015ae34", "categorized_nodes": 23}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "\n@interf...
11,167
c
#pragma once #include "Common.h" #include "Events/KeyboardKeyEvent.h" #include "Events/MouseButtonEvent.h" #include "Events/ApplicationEvent.h" #include "Dispatcher.h" #include "Renderer/Renderer2D.h" #include "ResourceManager.h" #include <entt/entt.hpp> #include <string> namespace Yugo { class Scene; class Windo...
23.75
53
(translation_unit) "#pragma once\n#include "Common.h"\n#include "Events/KeyboardKeyEvent.h"\n#include "Events/MouseButtonEvent.h"\n#include "Events/ApplicationEvent.h"\n#include "Dispatcher.h"\n#include "Renderer/Renderer2D.h"\n#include "ResourceManager.h"\n\n#include <entt/entt.hpp>\n#include <string>\n\nnamespace Yug...
395
10
{"language": "c", "success": true, "metadata": {"lines": 53, "avg_line_length": 23.75, "nodes": 235, "errors": 0, "source_hash": "f399549de3a652c7f0dc0a6735fc266edf463fe30002620c94013bc67669248c", "categorized_nodes": 165}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
11,168
c
/* * Copyright (C) 2015 sjbiwa All rights reserved. */ /* * flag.h * * Created on: 2014/11/18 * Author: biwa */ #ifndef FLAG_H_ #define FLAG_H_ #include "common.h" #include "link.h" #include "smp.h" typedef struct tagFlagStruct { Link link; #if USE_SMP==1 SpinLockObj spin_lock; /* spin lock */ #e...
19.06
31
(translation_unit) "/*\n * Copyright (C) 2015 sjbiwa All rights reserved.\n */\n\n/*\n * flag.h\n *\n * Created on: 2014/11/18\n * Author: biwa\n */\n\n#ifndef FLAG_H_\n#define FLAG_H_\n\n#include "common.h"\n#include "link.h"\n#include "smp.h"\n\ntypedef struct tagFlagStruct {\n Link link;\n#if USE_SMP==1\n Sp...
99
0
{"language": "c", "success": true, "metadata": {"lines": 31, "avg_line_length": 19.06, "nodes": 63, "errors": 0, "source_hash": "7eeba7f32a1f2ab289af4bb24fcff0c54f4f99c13f98f75c61b95784007e1c1f", "categorized_nodes": 48}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
11,169
c
// Copyright 2021 Sony Corporation. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef FLUTTER_SHELL_PLATFORM_LINUX_EMBEDDED_WINDOW_NATIVE_WINDOW_DRM_EGLSTREAM_H_ #define FLUTTER_SHELL_PLATFORM_LINUX_EMBEDDED_WINDOW_NATIVE_WINDOW_DRM_EGL...
40.87
47
(translation_unit) "// Copyright 2021 Sony Corporation. 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 FLUTTER_SHELL_PLATFORM_LINUX_EMBEDDED_WINDOW_NATIVE_WINDOW_DRM_EGLSTREAM_H_\n#define FLUTTER_SHELL_PLATFORM_LINUX_EMBEDDED_WIN...
328
14
{"language": "c", "success": true, "metadata": {"lines": 47, "avg_line_length": 40.87, "nodes": 208, "errors": 0, "source_hash": "ab5af5ce0bc29f5daa76212fa77dfce2e2a3f37386d6de982ab48aa8a5841077", "categorized_nodes": 137}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
11,170
c
// // TM & (c) 2019 Lucasfilm Entertainment Company Ltd. and Lucasfilm Ltd. // All rights reserved. See LICENSE.txt for license. // #ifndef MATERIALX_RTAPI_H #define MATERIALX_RTAPI_H /// @file /// TODO: Docs #include <MaterialXRuntime/Library.h> #include <MaterialXRuntime/RtLogger.h> #include <MaterialXRuntime/RtP...
37.05
214
(translation_unit) "//\n// TM & (c) 2019 Lucasfilm Entertainment Company Ltd. and Lucasfilm Ltd.\n// All rights reserved. See LICENSE.txt for license.\n//\n\n#ifndef MATERIALX_RTAPI_H\n#define MATERIALX_RTAPI_H\n\n/// @file\n/// TODO: Docs\n\n#include <MaterialXRuntime/Library.h>\n#include <MaterialXRuntime/RtLogger.h...
1,241
91
{"language": "c", "success": true, "metadata": {"lines": 214, "avg_line_length": 37.05, "nodes": 650, "errors": 0, "source_hash": "c0a3850c6b152d7fdd0c81659179e38888721f0c2b5b1bf2726e1852f5461ab2", "categorized_nodes": 436}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "#ifndef MATER...
11,171
c
// // DDButton.h // DDButton // // Created by Think on 2017/9/18. // Copyright © 2017年 Think. All rights reserved. // #import <UIKit/UIKit.h> @interface DDButton : UIButton @property (nonatomic,assign) CGRect titleRect; @property (nonatomic,assign) CGRect imageRect; @end
22
12
(translation_unit) "//\n// DDButton.h\n// DDButton\n//\n// Created by Think on 2017/9/18.\n// Copyright © 2017年 Think. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface DDButton : UIButton\n\n@property (nonatomic,assign) CGRect titleRect;\n\n@property (nonatomic,assign) CGRect imageRect;\n\n@end\n" ...
50
10
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 22.0, "nodes": 33, "errors": 0, "source_hash": "f0bafc55b6d5a7b69f09df5229d7da646a7ce928db8cd48e5771d9a2b5d30ac5", "categorized_nodes": 19}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "port <UIKi...
11,172
c
// // Copyright © 2018 Sandcastle Software Ltd. All rights reserved. // // This file is part of 'Oaknut' which is released under the MIT License. // See the LICENSE file in the root of this installation for details. // class BlurShader : public Shader { public: BlurShader(Renderer* renderer, int radius=4); ...
25.9
42
(translation_unit) "//\n// Copyright © 2018 Sandcastle Software Ltd. All rights reserved.\n//\n// This file is part of 'Oaknut' which is released under the MIT License.\n// See the LICENSE file in the root of this installation for details.\n//\n\nclass BlurShader : public Shader {\npublic:\n BlurShader(Renderer* ren...
248
11
{"language": "c", "success": true, "metadata": {"lines": 42, "avg_line_length": 25.9, "nodes": 166, "errors": 0, "source_hash": "aa728fab25192e427f3a9eac1dd7f49898234618407070eaec22214426184a83", "categorized_nodes": 107}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "function_definition", "text": "l...
11,173
c
// // Car.h // FMDBDemo // // Created by admin on 16/3/21. // Copyright © 2017年 admin. All rights reserved. // #import <Foundation/Foundation.h> @interface Car : NSObject /** * 所有者 */ @property(nonatomic,strong ) NSNumber *own_id; /** * 车的ID */ @property(nonatomic,strong) NSNumber *car_id; @property(nona...
17
22
(translation_unit) "//\n// Car.h\n// FMDBDemo\n//\n// Created by admin on 16/3/21.\n// Copyright © 2017年 admin. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n\n@interface Car : NSObject\n/**\n * 所有者\n */\n@property(nonatomic,strong ) NSNumber *own_id;\n\n/**\n * 车的ID\n */\n@property(nonatomic,str...
90
18
{"language": "c", "success": true, "metadata": {"lines": 22, "avg_line_length": 17.0, "nodes": 61, "errors": 0, "source_hash": "e8f16540519f65d265e818deb82c49ef195734275789bfe1d52292866f7afe3c", "categorized_nodes": 32}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "port <Foun...
11,174
c
30 mtime=1527291425.549873342 30 atime=1527291425.741874025 29 ctime=1527291454.73797288
28.67
3
(translation_unit) "30 mtime=1527291425.549873342\n30 atime=1527291425.741874025\n29 ctime=1527291454.73797288\n" (ERROR) "30 mtime=1527291425.549873342\n30 atime=1527291425.741874025\n29 ctime=1527291454.73797288" (number_literal) "30" (assignment_expression) "mtime=1527291425.549873342\n30 atime=1527291425....
17
2
{"language": "c", "success": true, "metadata": {"lines": 3, "avg_line_length": 28.67, "nodes": 16, "errors": 0, "source_hash": "cbde5bebec2f1d1788b66e6ce57ccc31f907c2cd0721ef4f708fbec66d76f746", "categorized_nodes": 11}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "30 mtime=15272914...
11,175
c
#define DEBUG_PRINT #include <stdio.h> #include <stdint.h> #include <string.h> #include "driverlib.h" #include "nvm.h" #include "arch.h" #include "checkpoint.h" #include "stackpool.h" #include "virtualaddr.h" #include "virtualmem.h" extern int checkpoint_full(void); extern int checkpoint_minimal(stack_block_t *rest...
25.19
108
(translation_unit) "#define DEBUG_PRINT\n\n#include <stdio.h>\n#include <stdint.h>\n#include <string.h>\n#include "driverlib.h"\n\n#include "nvm.h"\n#include "arch.h"\n#include "checkpoint.h"\n#include "stackpool.h"\n#include "virtualaddr.h"\n#include "virtualmem.h"\n\n\nextern int checkpoint_full(void);\nextern int ch...
803
3
{"language": "c", "success": true, "metadata": {"lines": 108, "avg_line_length": 25.19, "nodes": 489, "errors": 0, "source_hash": "2ab7cab623293f4b1e5f01e6d6f1bdc78cbb1bf6e4ccb5c1b1c3781f6981c3cb", "categorized_nodes": 326}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_def", "text": "#define...
11,176
c
/********************************************************************** * LeechCraft - modular cross-platform feature rich internet client. * Copyright (C) 2006-2014 <NAME> * * Distributed under the Boost Software License, Version 1.0. * (See accompanying file LICENSE or copy at https://www.boost.org/LICENSE_1_0....
34.37
108
(translation_unit) "/**********************************************************************\n * LeechCraft - modular cross-platform feature rich internet client.\n * Copyright (C) 2006-2014 <NAME>\n *\n * Distributed under the Boost Software License, Version 1.0.\n * (See accompanying file LICENSE or copy at https://w...
883
53
{"language": "c", "success": true, "metadata": {"lines": 108, "avg_line_length": 34.37, "nodes": 535, "errors": 0, "source_hash": "b10227bd6a5b472447ca2665ef19162e497d7c1c1999264315b3e358f40083c2", "categorized_nodes": 422}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragm...
11,177
c
/* * Copyright (C) 2014 BlueKitchen GmbH * * 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 and the follo...
37.71
84
(translation_unit) "/*\n * Copyright (C) 2014 BlueKitchen GmbH\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 *\n * 1. Redistributions of source code must retain the above copyright\n * notice, this list...
238
0
{"language": "c", "success": true, "metadata": {"lines": 84, "avg_line_length": 37.71, "nodes": 170, "errors": 0, "source_hash": "0b426f53191c200a3c609b302aaf8492a44b30af5bd7b9165f620fae2da9f9fb", "categorized_nodes": 105}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
11,178
c
///////////////////////////////////////////////////////////////////////////// // Name: threadvscpwork.h // Purpose: // Author: <NAME> // Modified by: // Created: Mon 31 May 2007 17:00:07 CEST // RCS-ID: // Copyright: (C) Copyright 2007 <NAME>, eurosource // Licence: // //////////////////...
22.59
79
(translation_unit) "/////////////////////////////////////////////////////////////////////////////\n// Name: threadvscpwork.h\n// Purpose: \n// Author: <NAME>\n// Modified by: \n// Created: Mon 31 May 2007 17:00:07 CEST\n// RCS-ID: \n// Copyright: (C) Copyright 2007 <NAME>, eurosource\n// Lice...
238
4
{"language": "c", "success": true, "metadata": {"lines": 79, "avg_line_length": 22.59, "nodes": 134, "errors": 0, "source_hash": "b2c24c6e0d34b3d44818cb9dc299e09d44609360ccaeaaa77e2b08420d415659", "categorized_nodes": 89}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
11,179
c
/* Capstone Disassembler Engine */ /* By <NAME> <<EMAIL>>, 2013> */ #include <stdio.h> #include <stdlib.h> #include <inttypes.h> #include <capstone.h> static csh handle; struct platform { cs_arch arch; cs_mode mode; unsigned char *code; size_t size; char *comment; }; static void print_string_hex(char *comment...
36.03
205
(translation_unit) "/* Capstone Disassembler Engine */\n/* By <NAME> <<EMAIL>>, 2013> */\n\n#include <stdio.h>\n#include <stdlib.h>\n#include <inttypes.h>\n\n#include <capstone.h>\n\nstatic csh handle;\n\nstruct platform {\n cs_arch arch;\n cs_mode mode;\n unsigned char *code;\n size_t size;\n char *comment;\n};\n\nsta...
1,651
0
{"language": "c", "success": true, "metadata": {"lines": 205, "avg_line_length": 36.03, "nodes": 937, "errors": 0, "source_hash": "d45fdddb27dd4546860e5c8d87878a0122a3fdfc9a39fbe506c95eecc4aad145", "categorized_nodes": 653}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
11,180
c
/* * Copyright (c) 2016-2020 <NAME> <<EMAIL>> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR ...
32.61
88
(translation_unit) "/*\n * Copyright (c) 2016-2020 <NAME> <<EMAIL>>\n *\n * Permission to use, copy, modify, and distribute this software for any\n * purpose with or without fee is hereby granted, provided that the above\n * copyright notice and this permission notice appear in all copies.\n *\n * THE SOFTWARE IS PROVI...
678
12
{"language": "c", "success": true, "metadata": {"lines": 88, "avg_line_length": 32.61, "nodes": 380, "errors": 0, "source_hash": "b2b75d86b255248ccd6087dca3635988ee1096afed73eed4e4f0e633c5dbe058", "categorized_nodes": 304}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "declaration", "text": "enumflag...
11,181
c
/* * Copyright 2021 Adobe. All rights reserved. * This file is licensed to you 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 appli...
37.1
29
(translation_unit) "/*\n * Copyright 2021 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n ...
46
0
{"language": "c", "success": true, "metadata": {"lines": 29, "avg_line_length": 37.1, "nodes": 19, "errors": 0, "source_hash": "866b0fd8d9ee830f86dd67e55681721e75b948930525a9812b627ddbecccd11a", "categorized_nodes": 13}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma on...
11,182
c
/** * @file example_replicated.c * * @brief Example of usage of added replicated tasks functionality. * * @note Written according to BARR-C:2018 coding standard * Exceptions: * - 3.2 a, c - Eclipse formatter doesn't support * - 6.3 b iv. - ERR_CHECK() macro has return ke...
37.81
216
(translation_unit) "/**\n * @file example_replicated.c\n *\n * @brief Example of usage of added replicated tasks functionality.\n *\n * @note Written according to BARR-C:2018 coding standard\n * Exceptions:\n * - 3.2 a, c - Eclipse formatter doesn't support\n * - 6.3 b iv. - ERR...
1,296
0
{"language": "c", "success": true, "metadata": {"lines": 216, "avg_line_length": 37.81, "nodes": 762, "errors": 0, "source_hash": "f13e63828ecf159af907ad07ab001097ca95d90a26805ffd127d37f64738fca7", "categorized_nodes": 482}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
11,183
c
//cave39.c #include "../cave.h" inherit DDCAVE; void create(){ ::create(); set_listen("default","You can hear scurrying rats, and dripping water."); set_smell("default","The smell of sulfur fills your nostrils."); set_exits(([ "south" : CAVEDIR+"cave38", "down" : CAVEDIR+"cavern4" ])); } /* voi...
22.28
18
(translation_unit) "//cave39.c\n#include "../cave.h"\n\ninherit DDCAVE;\n\nvoid create(){\n ::create();\n set_listen("default","You can hear scurrying rats, and dripping water.");\n set_smell("default","The smell of sulfur fills your nostrils.");\n set_exits(([\n "south" : CAVEDIR+"cave38",\n "down" : CAVE...
105
3
{"language": "c", "success": true, "metadata": {"lines": 18, "avg_line_length": 22.28, "nodes": 42, "errors": 0, "source_hash": "4b5904675bed2c425d1d82cf23f2dc5b926799dae2195641c69a00de81b5315e", "categorized_nodes": 30}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
11,184
c
// // FLEXArgumentInputDataView.h // Flipboard // // Created by <NAME> on 2/14/15. // Copyright (c) 2015 Flipboard. All rights reserved. // #import "FLEXArgumentInputView.h" @interface FLEXArgumentInputDateView : FLEXArgumentInputView @end
23.4
10
(translation_unit) "//\n// FLEXArgumentInputDataView.h\n// Flipboard\n//\n// Created by <NAME> on 2/14/15.\n// Copyright (c) 2015 Flipboard. All rights reserved.\n//\n\n#import "FLEXArgumentInputView.h"\n\n@interface FLEXArgumentInputDateView : FLEXArgumentInputView\n\n@end\n" (comment) "//" (comment) "// FLEX...
19
3
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 23.4, "nodes": 9, "errors": 0, "source_hash": "741ed75e1c33bd721bbbd72376dc3e96a7652066f8138bdb85b59a3aff2d6e76", "categorized_nodes": 4}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import \"FL...
11,185
c
/* * File Layout for: BT.BT_TUITION on 21-May-01 * * Tuition Table */ #pragma member_alignment save #pragma nomember_alignment struct bt_tuition_cdd { /* Element = CUSTOMER Description = Guardian */ char cusnum[10]; /* Element = Description = Child */ char child[40]; /* Element = DATE Description = Eff...
20.34
32
(translation_unit) "/*\n * File Layout for: BT.BT_TUITION on 21-May-01\n *\n * Tuition Table\n */\n\n#pragma member_alignment save\n#pragma nomember_alignment\n\nstruct bt_tuition_cdd\n{\n/* Element = CUSTOMER\n Description = Guardian */\n char cusnum[10];\n/* Element =\n Description = Child */\n char child[40];\n/...
73
0
{"language": "c", "success": true, "metadata": {"lines": 32, "avg_line_length": 20.34, "nodes": 43, "errors": 0, "source_hash": "6861f745bc32fc37e9a2fab70371af6d2fa7bf5e089e6c9b22e672fbc96e612a", "categorized_nodes": 25}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma m...
11,186
c
// This source code is licensed under the MIT license found in the LICENSE file in the root directory of this source tree. #pragma once #include "CoreMinimal.h" #include "GameFramework/Actor.h" #include "Components/TimelineComponent.h" #include "FloaterActor.generated.h" UENUM() enum class EFloaterShowState : uint8...
35.6
60
(translation_unit) "// This source code is licensed under the MIT license found in the LICENSE file in the root directory of this source tree.\n\n#pragma once\n\n#include "CoreMinimal.h"\n#include "GameFramework/Actor.h"\n#include "Components/TimelineComponent.h"\n\n#include "FloaterActor.generated.h"\n\nUENUM()\nenum ...
378
20
{"language": "c", "success": true, "metadata": {"lines": 60, "avg_line_length": 35.6, "nodes": 231, "errors": 0, "source_hash": "fc43d4b0042a1ef3b79dc2631df5031734bde54ea6734a4508531c4c0c09b7b7", "categorized_nodes": 164}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma ...
11,187
c
// // ThouHelper.h // ThouTool // // Created by thou on 15/8/11. // Copyright (c) 2015年 thou. All rights reserved. // #import <UIKit/UIKit.h> #define fn ThouHelper @interface ThouHelper : NSObject /** * 获取时间戳 * * @return 精确到秒 */ +(double)getTimestamp; /** * MD5加密 * * @param str 待加密字符串 * * @return ...
16.98
143
(ERROR) "//\n// ThouHelper.h\n// ThouTool\n//\n// Created by thou on 15/8/11.\n// Copyright (c) 2015年 thou. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n#define fn ThouHelper\n\n@interface ThouHelper : NSObject\n/**\n * 获取时间戳\n *\n * @return 精确到秒\n */\n+(double)getTimestamp;\n\n/**\n * MD5加密\n *\n * @...
379
11
{"language": "c", "success": true, "metadata": {"lines": 143, "avg_line_length": 16.98, "nodes": 203, "errors": 0, "source_hash": "06bbd1030981b61c81bce8beb950360903ad2f071de1cdfb6984a1d8746da571", "categorized_nodes": 121}, "ast": {"root": "ERROR", "nodes": [{"id": 0, "type": "ERROR", "text": "//\n// ThouHelper.h\n//...
11,188
c
// // JMArc.h // JMSmallAppEngine // // Created by lzj<<EMAIL>> on 2019/3/4. // Copyright © 2019 jimi. All rights reserved. // #import <BaiduMapAPI_Map/BMKArcline.h> NS_ASSUME_NONNULL_BEGIN @interface JMArc : BMKArcline @property (nonatomic,strong) UIColor *color; @property (nonatomic,assign) float width; @end...
23.14
14
(translation_unit) "//\n// JMArc.h\n// JMSmallAppEngine\n//\n// Created by lzj<<EMAIL>> on 2019/3/4.\n// Copyright © 2019 jimi. All rights reserved.\n//\n\n#import <BaiduMapAPI_Map/BMKArcline.h>\n\nNS_ASSUME_NONNULL_BEGIN\n\n@interface JMArc : BMKArcline\n\n@property (nonatomic,strong) UIColor *color;\n@property (n...
59
8
{"language": "c", "success": true, "metadata": {"lines": 14, "avg_line_length": 23.14, "nodes": 38, "errors": 0, "source_hash": "5df4f6bb5870c3daf9b71448876eaadd7bdb35ac78a62dbb861f8d1a60395ea6", "categorized_nodes": 24}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <B...
11,189
c
//.............................................................................. // // This file is part of the AXL library. // // AXL is distributed under the MIT license. // For details see accompanying license.txt file, // the public copy of which is also available at: // http://tibbo.com/downloads/archive/axl/...
31.43
23
(translation_unit) "//..............................................................................\n//\n// This file is part of the AXL library.\n//\n// AXL is distributed under the MIT license.\n// For details see accompanying license.txt file,\n// the public copy of which is also available at:\n// http://tibbo...
59
0
{"language": "c", "success": true, "metadata": {"lines": 23, "avg_line_length": 31.43, "nodes": 39, "errors": 0, "source_hash": "06b5b7f74d5c5b6833911ea2c605d707e8d7324f1c91d02a28ad7722dd0ada3f", "categorized_nodes": 37}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
11,190
c
// // MKWebSocket.h // MoonBridge // // Created by liang on 2021/6/24. // #import <Foundation/Foundation.h> NS_ASSUME_NONNULL_BEGIN @protocol MKWebSocket; @protocol MKWebSocketDelegate <NSObject> - (void)webSocket:(id<MKWebSocket>)webSocket didReceiveMessage:(id)message; @end @protocol MKWebSocket <NSObject> ...
26.18
17
(translation_unit) "//\n// MKWebSocket.h\n// MoonBridge\n//\n// Created by liang on 2021/6/24.\n//\n\n#import <Foundation/Foundation.h>\n\nNS_ASSUME_NONNULL_BEGIN\n\n@protocol MKWebSocket;\n\n@protocol MKWebSocketDelegate <NSObject>\n\n- (void)webSocket:(id<MKWebSocket>)webSocket didReceiveMessage:(id)message;\n\n@e...
115
17
{"language": "c", "success": true, "metadata": {"lines": 17, "avg_line_length": 26.18, "nodes": 79, "errors": 0, "source_hash": "9b3e38781a52d4d435b01eb0d060115c81999a6e6d5efc42eadf756344d7f839", "categorized_nodes": 47}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <...
11,191
c
/* * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) * From ASN.1 module "NR-RRC-Definitions" * found in "asn/nr-rrc-15.6.0.asn1" * `asn1c -fcompound-names -pdu=all -findirect-choice -fno-include-deps -gen-PER -no-gen-OER -no-gen-example -D rrc` */ #ifndef _ASN_RRC_PUSCH_ConfigCommon_H_ #define _ASN_RRC_PU...
37.98
47
(translation_unit) "/*\n * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)\n * From ASN.1 module "NR-RRC-Definitions"\n * found in "asn/nr-rrc-15.6.0.asn1"\n * `asn1c -fcompound-names -pdu=all -findirect-choice -fno-include-deps -gen-PER -no-gen-OER -no-gen-example -D rrc`\n */\n\n#ifndef _ASN_RRC_PUSCH_ConfigCo...
139
0
{"language": "c", "success": true, "metadata": {"lines": 47, "avg_line_length": 37.98, "nodes": 100, "errors": 0, "source_hash": "20ce73f274fd205310bf0e7e41fcb68fbfdb664dedb2edc0feb804746076e726", "categorized_nodes": 78}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
11,192
c
// // MKLoadingManagerView.h // // Created by https://github.com/mythkiven/ on 15/01/18. // Copyright © 2015年 mythkiven. All rights reserved. // #import <UIKit/UIKit.h> #import "MKControlLoadingCircleView.h" #import "MKPushTableCellView.h" typedef NS_ENUM(NSInteger, MKLoadingManagerType) { MKLoadingManagerTy...
25.61
28
(translation_unit) "//\n// MKLoadingManagerView.h\n//\n// Created by https://github.com/mythkiven/ on 15/01/18.\n// Copyright © 2015年 mythkiven. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n#import "MKControlLoadingCircleView.h"\n#import "MKPushTableCellView.h"\n\n\ntypedef NS_ENUM(NSInteger, MKLoadingMana...
137
13
{"language": "c", "success": true, "metadata": {"lines": 28, "avg_line_length": 25.61, "nodes": 85, "errors": 0, "source_hash": "cf8f2f3882184fc4ad6e056634a0345df0f38eb3f89d16c2f8575317c13d1a25", "categorized_nodes": 51}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "port <UIK...
11,193
c
#include <curl/curl.h> #include <stdio.h> #define INT_PARAMETER "integer(c_int), parameter :: " int main(void) { printf(INT_PARAMETER "curle_url_malformat = %d\n", CURLE_URL_MALFORMAT); printf(INT_PARAMETER "curle_ok = %d\n", CURLE_OK); printf(INT_PARAMETER "curlopt_url = %d\n", CURLOPT_URL...
26.47
15
(translation_unit) "#include <curl/curl.h>\n#include <stdio.h>\n\n#define INT_PARAMETER "integer(c_int), parameter :: "\n\nint main(void)\n{\n printf(INT_PARAMETER\n "curle_url_malformat = %d\n", CURLE_URL_MALFORMAT);\n printf(INT_PARAMETER\n "curle_ok = %d\n", CURLE_OK);\n printf(INT_PARAMETER\n "...
91
0
{"language": "c", "success": true, "metadata": {"lines": 15, "avg_line_length": 26.47, "nodes": 51, "errors": 0, "source_hash": "4e4e3200af986f1efc4768f99670e07c0731194081e79aa77dd770c85d4c989e", "categorized_nodes": 37}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
11,194
c
/*********************************************************************** * scas, Copyright (c) 2012-2013, <NAME> * This file is distributed under the FreeBSD license. * See LICENSE for details. ***********************************************************************/ #ifndef SCAS_CONNECTION_H #define SCAS_CONNECTI...
32.83
12
(translation_unit) "/***********************************************************************\n * scas, Copyright (c) 2012-2013, <NAME>\n * This file is distributed under the FreeBSD license. \n * See LICENSE for details.\n ***********************************************************************/\n\n#ifndef SCAS_CONNECTI...
30
0
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 32.83, "nodes": 22, "errors": 0, "source_hash": "573f4c9d95a1ce288f527f72560995d57edf56c25eeb38bfec80e35225d3bc35", "categorized_nodes": 14}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
11,195
c
/* Compute the complement of a graph and output it in our standard format. Usage: complement <input graph> <output graph> */ #include <stdio.h> #include <stdlib.h> #include "declarations.h" int main(argc,argv) int argc; char *argv[]; { FILE *fidin; FILE *fidout; int i; int j; i...
17.55
84
(translation_unit) "/*\n Compute the complement of a graph and output it in our standard\n format. \n \n Usage:\n \n complement <input graph> <output graph>\n \n \n*/\n#include <stdio.h>\n#include <stdlib.h>\n#include "declarations.h"\n\nint main(argc,argv)\n int argc;\n char *argv[];\n{\n FILE *fidin;...
560
0
{"language": "c", "success": true, "metadata": {"lines": 84, "avg_line_length": 17.55, "nodes": 329, "errors": 0, "source_hash": "a23fe5bed557796e7464691f9f78499cbdbedd35fabb459b2fe8999545fc378f", "categorized_nodes": 239}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
11,196
c
/* HEADER FILE : SPRITE_LIST_H Ah, yes, a compilation of sprites. I can't tell your what would be better than that. */ #ifndef _SPRITELIST_H #define _SPRITELIST_H #include "sprite.h" #include <vector> class SpriteList { public: SpriteList(); ~SpriteList(); // Gotta Draw 'Em All // Seri...
28.09
35
(translation_unit) "/*\n HEADER FILE : SPRITE_LIST_H\n Ah, yes, a compilation of sprites.\n I can't tell your what would be better than that.\n*/\n\n#ifndef _SPRITELIST_H\n#define _SPRITELIST_H\n\n#include "sprite.h"\n#include <vector>\n\nclass SpriteList\n{\n public:\n SpriteList();\n ~SpriteList();\n\n ...
147
4
{"language": "c", "success": true, "metadata": {"lines": 35, "avg_line_length": 28.09, "nodes": 81, "errors": 0, "source_hash": "607739130d46558d26ada4dd4f12065dfa059d15fcccb3416e65655a4442bfba", "categorized_nodes": 52}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
11,197
c
//----------------------------------------------------------------- // Robot Object // C++ Header - Robot.h //----------------------------------------------------------------- #pragma once //----------------------------------------------------------------- // Include Files //------------------------------------------...
36.35
65
(translation_unit) "//-----------------------------------------------------------------\n// Robot Object\n// C++ Header - Robot.h\n//-----------------------------------------------------------------\n\n#pragma once\n\n//-----------------------------------------------------------------\n// Include Files\n//-------------...
568
15
{"language": "c", "success": true, "metadata": {"lines": 65, "avg_line_length": 36.35, "nodes": 321, "errors": 0, "source_hash": "7f35850360beb56197bb199ee57dd0fc3bde3fba276926f013432851e4ae8c94", "categorized_nodes": 239}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
11,198
c
/* $OpenBSD: conf.c,v 1.3 2016/02/19 21:30:06 naddy Exp $ */ /* * Copyright (c) 1996 <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: * 1. Redistributions of source code must retai...
35.09
78
(translation_unit) "/* $OpenBSD: conf.c,v 1.3 2016/02/19 21:30:06 naddy Exp $ */\n\n/*\n * Copyright (c) 1996 <NAME>\n * 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. Redistributi...
398
4
{"language": "c", "success": true, "metadata": {"lines": 78, "avg_line_length": 35.09, "nodes": 239, "errors": 0, "source_hash": "16517610e1275d4addff006db14afadbf72af0091c937da25b6af6e486a47a67", "categorized_nodes": 150}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
11,199