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
30 atime=1394114088.280500578 29 ctime=1374498496.79030629
28.5
2
(translation_unit) "30 atime=1394114088.280500578\n29 ctime=1374498496.79030629\n" (ERROR) "30 atime=1394114088.280500578\n29 ctime=1374498496.79030629" (number_literal) "30" (identifier) "atime" (=) "=" (ERROR) "1394114088.280500578\n29" (number_literal) "1394114088.280500578" (number_lit...
12
2
{"language": "c", "success": true, "metadata": {"lines": 2, "avg_line_length": 28.5, "nodes": 11, "errors": 0, "source_hash": "01241d9bbad5910f9f06a0dcf6597fd172f4fb3835c9a68d46025193101fb076", "categorized_nodes": 7}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "30 atime=1394114088...
2,300
c
#ifndef _J3DANMVTXCOLOR_H #define _J3DANMVTXCOLOR_H /* __vt__14J3DAnmVtxColor: .4byte 0 .4byte 0 .4byte __dt__14J3DAnmVtxColorFv .4byte getKind__14J3DAnmVtxColorCFv .4byte getColor__14J3DAnmVtxColorCFUcUsP8_GXColor */ struct J3DAnmVtxColor { virtual ~J3DAnmVtxColor(); // _00 virtual void ...
24.94
18
(translation_unit) "#ifndef _J3DANMVTXCOLOR_H\n#define _J3DANMVTXCOLOR_H\n\n/*\n __vt__14J3DAnmVtxColor:\n .4byte 0\n .4byte 0\n .4byte __dt__14J3DAnmVtxColorFv\n .4byte getKind__14J3DAnmVtxColorCFv\n .4byte getColor__14J3DAnmVtxColorCFUcUsP8_GXColor\n*/\n\nstruct J3DAnmVtxColor {\n virtual ~J3DAnmVtx...
66
3
{"language": "c", "success": true, "metadata": {"lines": 18, "avg_line_length": 24.94, "nodes": 43, "errors": 0, "source_hash": "120fb09e842dae4c7753b91e8600175b5af8601f3a3af114e4f2714459024dc5", "categorized_nodes": 28}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
2,301
c
// // TalentsTableViewCell.h // QiPinTong // // Created by taylor on 2017/3/30. // Copyright © 2017年 ShiJiJiaLian. All rights reserved. // #import <UIKit/UIKit.h> @interface TalentsTableViewCell : UITableViewCell //图像 @property (strong,nonatomic) UIImageView *imgView; //姓名 @property (strong,nonatomic) UILabel *...
28.09
32
(translation_unit) "//\n// TalentsTableViewCell.h\n// QiPinTong\n//\n// Created by taylor on 2017/3/30.\n// Copyright © 2017年 ShiJiJiaLian. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface TalentsTableViewCell : UITableViewCell\n\n//图像\n@property (strong,nonatomic) UIImageView *imgView;\n\n//姓名\n@p...
273
54
{"language": "c", "success": true, "metadata": {"lines": 32, "avg_line_length": 28.09, "nodes": 198, "errors": 0, "source_hash": "76376ddf13a40c03cbd4a68bcbc6ae20fc63304c317b83aef7d7d258d6ce855b", "categorized_nodes": 96}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "port <UI...
2,302
c
// vi:nu:et:sts=4 ts=4 sw=4 /* * Generated 02/22/2020 20:18:12 */ // All code under test must be linked into the Unit Test bundle // Test Macros: // TINYTEST_ASSERT(condition) // TINYTEST_ASSERT_MSG(condition,msg) // TINYTEST_EQUAL(expected, actual) // TINYTEST_EQUAL_MSG(expecte...
22.88
241
(translation_unit) "// vi:nu:et:sts=4 ts=4 sw=4 \n/* \n * Generated 02/22/2020 20:18:12 \n */ \n \n \n \n \n \n// All code under test must be linked into the Unit Test bundle \n// Test Macros: \n// TINYTEST_ASSERT(condition) \n// TINYTEST_ASSERT_MSG(condition,msg) \n// TINYTEST_EQUAL(expected, actual) \n...
1,270
0
{"language": "c", "success": true, "metadata": {"lines": 241, "avg_line_length": 22.88, "nodes": 705, "errors": 0, "source_hash": "5ec944dd5f877ac1b59793babfbe8862183352a445edbac1a135ddf881132a94", "categorized_nodes": 507}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
2,303
c
// // ViewController.h // SBAnimation // // Created by <NAME> on 2017/1/12. // Copyright © 2017年 <NAME>. All rights reserved. // // This source code is licensed under the MIT-style license found in the // LICENSE file in the root directory of this source tree. // #import <UIKit/UIKit.h> @interface ViewControlle...
23.64
14
(translation_unit) "//\n// ViewController.h\n// SBAnimation\n//\n// Created by <NAME> on 2017/1/12.\n// Copyright © 2017年 <NAME>. All rights reserved.\n//\n// This source code is licensed under the MIT-style license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n#import <UIKit/UIK...
25
4
{"language": "c", "success": true, "metadata": {"lines": 14, "avg_line_length": 23.64, "nodes": 12, "errors": 0, "source_hash": "19b18b627ccf3e1e3bcb6e294e13abc323cf821f3ad5ed40d0719f307f35180c", "categorized_nodes": 6}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "port <UIKi...
2,304
c
version https://git-lfs.github.com/spec/v1 oid sha256:611c3db24b0f7e72718433666ef0bec5c12007f5ce0fc5ee2b54fd414496e55d size 2012
42
3
(translation_unit) "version https://git-lfs.github.com/spec/v1\noid sha256:611c3db24b0f7e72718433666ef0bec5c12007f5ce0fc5ee2b54fd414496e55d\nsize 2012\n" (declaration) "version https://git-lfs.github.com/spec/v1\noid" (type_identifier) "version" (ERROR) "https:" (identifier) "https" (:) ":" (c...
19
2
{"language": "c", "success": true, "metadata": {"lines": 3, "avg_line_length": 42.0, "nodes": 12, "errors": 0, "source_hash": "8ef332139521ba9baaf47bc39d2ae485451f45dd1e420eac32c9bd8f1ec7d9c8", "categorized_nodes": 9}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "declaration", "text": "version https...
2,305
c
#include "sbuf.h" #include <string.h> void sbuf_init(struct sbuf* sbuf, size_t def_cap) { sbuf->buf = NULL; sbuf->cap = 0; sbuf->def_cap = def_cap; sbuf->used = 0; } void sbuf_free(struct sbuf* sbuf) { if (sbuf->buf != NULL) { free(sbuf->buf); sbuf->buf = NULL; sbuf->cap = 0; sbuf->used = 0;...
21.14
90
(translation_unit) "#include "sbuf.h"\n#include <string.h>\n\nvoid sbuf_init(struct sbuf* sbuf, size_t def_cap) {\n sbuf->buf = NULL;\n sbuf->cap = 0;\n sbuf->def_cap = def_cap;\n sbuf->used = 0;\n}\n\nvoid sbuf_free(struct sbuf* sbuf) {\n if (sbuf->buf != NULL) {\n free(sbuf->buf);\n sbuf->buf = NULL;\n ...
843
0
{"language": "c", "success": true, "metadata": {"lines": 90, "avg_line_length": 21.14, "nodes": 557, "errors": 0, "source_hash": "509c2c7fae0e05215bf5256f85ffef16360c9ea4e3355b5a77ef16410f3ccfdc", "categorized_nodes": 382}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
2,306
c
#pragma once #include <Insight/Core.h> #include "Insight/Systems/Managers/Geometry_Manager.h" #include "Insight/Systems/Managers/Texture_Manager.h" #include "Insight/Systems/Managers/Mono_Script_Manager.h" namespace Insight { class INSIGHT_API ResourceManager { public: ResourceManager(); ~ResourceManager(); ...
30.79
29
(translation_unit) "#pragma once\n\n#include <Insight/Core.h>\n#include "Insight/Systems/Managers/Geometry_Manager.h"\n#include "Insight/Systems/Managers/Texture_Manager.h"\n#include "Insight/Systems/Managers/Mono_Script_Manager.h"\n\nnamespace Insight {\n\n class INSIGHT_API ResourceManager\n {\n public:\n ResourceMa...
216
4
{"language": "c", "success": true, "metadata": {"lines": 29, "avg_line_length": 30.79, "nodes": 126, "errors": 0, "source_hash": "add5618e7b5ade78964d072532d6e5bcfe07cdc3e8bd0993216a32072bdbbe77", "categorized_nodes": 81}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma ...
2,307
c
#ifndef __RFID_THREAD_H__ #define __RFID_THREAD_H__ #include <stdint.h> #include <stdbool.h> #include <kernel.h> bool rfidThreadStart(void); void rfidThreadStop(void); s64_t rfidThreadRunLastTime(); void debugRfidErrFlagSet(bool flag); uint32_t RFID_get(void); #endif
21.42
12
(translation_unit) "#ifndef __RFID_THREAD_H__\n#define __RFID_THREAD_H__\n\n#include <stdint.h>\n#include <stdbool.h>\n#include <kernel.h>\nbool rfidThreadStart(void);\nvoid rfidThreadStop(void);\ns64_t rfidThreadRunLastTime();\nvoid debugRfidErrFlagSet(bool flag);\nuint32_t RFID_get(void);\n\n\n#endif\n" (preproc_if...
66
0
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 21.42, "nodes": 50, "errors": 0, "source_hash": "c5eeb1cb6741274a109f7e2f578ce3dd7baeb23509164cde727609fc692f3d49", "categorized_nodes": 35}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
2,308
c
/* * This header is generated by classdump-dyld 1.0 * on Sunday, September 27, 2020 at 12:31:27 PM Mountain Standard Time * Operating System: Version 14.0 (Build 18A373) * Image Source: /System/Library/PrivateFrameworks/iWorkImport.framework/Frameworks/TSKit.framework/TSKit * classdump-dyld is licensed under GPLv3, Cop...
35.68
31
(translation_unit) "/*\n* This header is generated by classdump-dyld 1.0\n* on Sunday, September 27, 2020 at 12:31:27 PM Mountain Standard Time\n* Operating System: Version 14.0 (Build 18A373)\n* Image Source: /System/Library/PrivateFrameworks/iWorkImport.framework/Frameworks/TSKit.framework/TSKit\n* classdump-dyld is ...
311
31
{"language": "c", "success": true, "metadata": {"lines": 31, "avg_line_length": 35.68, "nodes": 181, "errors": 0, "source_hash": "ae254e7912a91b6b7a7f417f997a903ce77e3864ab6312c6ce3d0938e28bcf3f", "categorized_nodes": 115}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import ...
2,309
c
#include <kos.h> #include <zlib/zlib.h> #include <png/png.h> // Texture pvr_ptr_t face1; //To store the image from image.png pvr_ptr_t face2; //To store the image from grump.png pvr_ptr_t face3; //To store the image from notMaccas.png //KOS_INIT_FLAGS(INIT_DEFAULT | INIT_MALLOCSTATS); //name is ...
30.7
108
(translation_unit) "#include <kos.h>\n#include <zlib/zlib.h>\n#include <png/png.h>\n\n// Texture\npvr_ptr_t face1; //To store the image from image.png\npvr_ptr_t face2; //To store the image from grump.png\npvr_ptr_t face3; //To store the image from notMaccas.png\n\n//KOS_INIT_FLAGS(INIT_DEFAULT | I...
994
0
{"language": "c", "success": true, "metadata": {"lines": 108, "avg_line_length": 30.7, "nodes": 551, "errors": 0, "source_hash": "fd9f7a7f10c34f0b79a0513241f8ba539607d4dbe5039b65fad36ba5f0a0afac", "categorized_nodes": 421}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
2,310
c
#ifndef CKBASE_H__ #define CKBASE_H__ enum { ID_CKEY_PROPERTIES = 807, ID_CKEY_TIME = 901, ID_CKEY_MUTE = 902, ID_DKEY_INTER = 924, // for data key ID_DKEY_LINEAR = 2, ID_DKEY_STEP = 3, ID_CKEY_LOCK_T = 925, ID_CKEY_BREAKDOWN = 1234, ID_CKEY_BREAKDOWNCOLOR = 1235, ID_CBAS_ }...
20.12
16
(translation_unit) "#ifndef CKBASE_H__\n#define CKBASE_H__\n\nenum\n{\n ID_CKEY_PROPERTIES = 807,\n ID_CKEY_TIME = 901,\n ID_CKEY_MUTE = 902,\n\n ID_DKEY_INTER = 924, // for data key\n ID_DKEY_LINEAR = 2,\n ID_DKEY_STEP = 3,\n\n ID_CKEY_LOCK_T = 925,\n\n ID_CKEY_BREAKDOWN = 1234,\n ID_CKEY...
63
0
{"language": "c", "success": true, "metadata": {"lines": 16, "avg_line_length": 20.12, "nodes": 48, "errors": 0, "source_hash": "7d6d36150c6f4571f0b3daf55b109d8496e26bcab29baf1c374fa76744c21a85", "categorized_nodes": 37}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
2,311
c
/*=========================================================================== _____ _____ _____ _____ ___| _|__ __|_ |__ __|__ |__ __| __ |__ ______ | \ / | || \ || | || |/ / ||___ | | \/ | || \ || \ || \ ||___ | |__/\__...
30.86
69
(translation_unit) "/*===========================================================================\n _____ _____ _____ _____\n ___| _|__ __|_ |__ __|__ |__ __| __ |__ ______\n| \ / | || \ || | || |/ / ||___ |\n| \/ | || \ || \ || ...
110
1
{"language": "c", "success": true, "metadata": {"lines": 69, "avg_line_length": 30.86, "nodes": 63, "errors": 0, "source_hash": "fd2a761fdac65386f41b5bbf9d9f284b66d1029dd54ad380a71efe2e25228302", "categorized_nodes": 43}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
2,312
c
#import <Foundation/Foundation.h> #import "TLObject.h" #import "TLMetaRpc.h" @class TLInputNotifyPeer; @class TLPeerNotifySettings; @interface TLRPCaccount_getNotifySettings : TLMetaRpc @property (nonatomic, retain) TLInputNotifyPeer *peer; - (Class)responseClass; - (int)impliedResponseSignature; @end @interfac...
30.54
13
(translation_unit) "#import <Foundation/Foundation.h>\n\n#import "TLObject.h"\n#import "TLMetaRpc.h"\n\n@class TLInputNotifyPeer;\n@class TLPeerNotifySettings;\n\n@interface TLRPCaccount_getNotifySettings : TLMetaRpc\n\n@property (nonatomic, retain) TLInputNotifyPeer *peer;\n\n- (Class)responseClass;\n\n- (int)impliedR...
81
14
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 30.54, "nodes": 58, "errors": 0, "source_hash": "d019c743eebf036bbaf189e08204105a23cf6ca7866c3b7e24d07f65481ed740", "categorized_nodes": 29}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <...
2,313
c
// // DetailsViewController.h // GoT // // Created by Paciej on 21/10/15. // Copyright © 2015 <NAME>. All rights reserved. // #import <UIKit/UIKit.h> #import "Article.h" @interface DetailsViewController : UIViewController - (nonnull instancetype)initWithArticle:(nonnull Article *)article ...
26.31
13
(translation_unit) "//\n// DetailsViewController.h\n// GoT\n//\n// Created by Paciej on 21/10/15.\n// Copyright © 2015 <NAME>. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n#import "Article.h"\n\n@interface DetailsViewController : UIViewController\n\n- (nonnull instancetype)initWithArticle:(nonnull Article *...
51
6
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 26.31, "nodes": 28, "errors": 0, "source_hash": "6e8abf5188f37af7ec7d7f7905558286d0e153d59fbae6b30091e4e559eb3479", "categorized_nodes": 18}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <U...
2,314
c
/* * Copyright (c) 2019 Sinric. All rights reserved. * Licensed under Creative Commons Attribution-Share Alike (CC BY-SA) * * This file is part of the Sinric Pro (https://github.com/sinricpro/) */ #pragma once #include "SinricProDevice.h" #include "Capabilities/SettingController.h" #include "Capabilities/Door...
34
29
(translation_unit) "/*\n * Copyright (c) 2019 Sinric. All rights reserved.\n * Licensed under Creative Commons Attribution-Share Alike (CC BY-SA)\n *\n * This file is part of the Sinric Pro (https://github.com/sinricpro/)\n */\n\n#pragma once\n\n#include "SinricProDevice.h"\n#include "Capabilities/SettingController....
117
8
{"language": "c", "success": true, "metadata": {"lines": 29, "avg_line_length": 34.0, "nodes": 61, "errors": 0, "source_hash": "cabba8be8100a147529c3cd2b8135d8c8602f6b7c35e9a56371c8860f58b81b6", "categorized_nodes": 41}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma on...
2,315
c
/* Copyright 2013 Hardcoded Software (http://www.hardcoded.net) This software is licensed under the "BSD" License as described in the "LICENSE" file, which should be included with this package. The terms are also available at http://www.hardcoded.net/licenses/bsd_license */ #import <Cocoa/Cocoa.h> #import "HSGUICo...
31.68
25
(translation_unit) "/* \nCopyright 2013 Hardcoded Software (http://www.hardcoded.net)\n\nThis software is licensed under the "BSD" License as described in the "LICENSE" file, \nwhich should be included with this package. The terms are also available at \nhttp://www.hardcoded.net/licenses/bsd_license\n*/\n\n#import <Coc...
156
13
{"language": "c", "success": true, "metadata": {"lines": 25, "avg_line_length": 31.68, "nodes": 104, "errors": 0, "source_hash": "83f7e8654d45172108af6ce7ea83a9c63a2e841f2e4ff94718ef731a966b1aec", "categorized_nodes": 55}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import ...
2,316
c
/** * @file zpipe.c * @author <NAME> <<EMAIL>> * @date 2014-11-22 00:41:29 * * @brief * * */ #ifndef __ZPIPE_H__ #define __ZPIPE_H__ #include <stdint.h> #ifdef __cplusplus extern "C" { #endif typedef struct _zactor_t zactor_t; typedef struct _zsock_t zsock_t; typedef void (zactor_fn)(zsock_t *pipe, void...
37.23
69
(translation_unit) "/**\n * @file zpipe.c\n * @author <NAME> <<EMAIL>>\n * @date 2014-11-22 00:41:29\n *\n * @brief\n *\n *\n */\n\n#ifndef __ZPIPE_H__\n#define __ZPIPE_H__\n\n#include <stdint.h>\n\n#ifdef __cplusplus\nextern "C" {\n#endif\n\ntypedef struct _zactor_t zactor_t;\ntypedef struct _zsock_t zsock_t;\ntyp...
295
0
{"language": "c", "success": true, "metadata": {"lines": 69, "avg_line_length": 37.23, "nodes": 218, "errors": 0, "source_hash": "e44e18c9ca6eacbed97b64af46e2c8c1871f268ec684d7f9691b088b9a9ab3fc", "categorized_nodes": 132}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
2,317
c
#if !defined(KOTLIB_WINSUBSET_H) && (defined(_WIN32) || defined(_WIN64) || defined(__CYGWIN__)) #define KOTLIB_WINSUBSET_H // # define OEMRESOURCE #if !(defined(WIN32_LEAN_AND_MEAN) || defined(KOTLIB_WINSUBSET_DISABLE_WIN32_LEAN_AND_MEAN)) # define WIN32_LEAN_AND_MEAN # define KOTLIB_WINSUBSET_WIN32_LEAN_AND_MEAN_...
32.83
319
(translation_unit) "#if !defined(KOTLIB_WINSUBSET_H) && (defined(_WIN32) || defined(_WIN64) || defined(__CYGWIN__))\n#define KOTLIB_WINSUBSET_H\n\n\n// # define OEMRESOURCE\n#if !(defined(WIN32_LEAN_AND_MEAN) || defined(KOTLIB_WINSUBSET_DISABLE_WIN32_LEAN_AND_MEAN))\n# define WIN32_LEAN_AND_MEAN\n# define KOTLIB_WIN...
1,487
0
{"language": "c", "success": true, "metadata": {"lines": 319, "avg_line_length": 32.83, "nodes": 1240, "errors": 0, "source_hash": "1f9f7aaa4d5234c2c03a804e7cea5de10aa0eafe98c98bbf4eff19f0c99c65b0", "categorized_nodes": 640}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_if", "text": "#if !de...
2,318
c
#ifndef H_FUNCTION_H #define H_FUNCTION_H #include <vector> using namespace std; void random_numbers_generating(vector<vector <int> >* h_function,int k,int W,int size); int Compute_the_value_of_h(vector <int> a,vector <int> modulo_Exponents_of_m,int M,int dimensions); #endif
38.43
7
(translation_unit) "#ifndef H_FUNCTION_H\n#define H_FUNCTION_H\n#include <vector>\n\nusing namespace std;\n\nvoid random_numbers_generating(vector<vector <int> >* h_function,int k,int W,int size);\n\nint Compute_the_value_of_h(vector <int> a,vector <int> modulo_Exponents_of_m,int M,int dimensions);\n\n#endif\n" (prep...
80
4
{"language": "c", "success": true, "metadata": {"lines": 7, "avg_line_length": 38.43, "nodes": 66, "errors": 0, "source_hash": "8f2aa1e6e9fb78b3fedd73d3c68be9d1e0fe5b01054ebadc23b2df291bd8a38d", "categorized_nodes": 38}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef H...
2,319
c
extern void test_yunomutex1 ();
31
1
(translation_unit) "extern void test_yunomutex1 ();\n" (declaration) "extern void test_yunomutex1 ();" (storage_class_specifier) "extern" (extern) "extern" (primitive_type) "void" (function_declarator) "test_yunomutex1 ()" (identifier) "test_yunomutex1" (parameter_list) "()" (() ...
11
0
{"language": "c", "success": true, "metadata": {"lines": 1, "avg_line_length": 31.0, "nodes": 7, "errors": 0, "source_hash": "599d0c3c4fbdc2d873b2e22cbca22295c17a07d36068d1c8b345c581f556b065", "categorized_nodes": 4}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "declaration", "text": "extern void te...
2,320
c
#include"Search1.h" #include"Search1.h" Array* input(Array *a) { int i; printf(" Enter Maximum Size : "); scanf("%d",&a->maxsize); a->data=(any*)malloc(a->maxsize*sizeof(any)); printf(" Enter Size : "); scanf("%d",&a->size); if(a->size<=a->maxsize) { for(i=0;i<a->size;i++) { printf(" Enter Val...
17.74
92
(translation_unit) "#include"Search1.h"\n#include"Search1.h"\nArray* input(Array *a)\n{\n int i;\n printf(" Enter Maximum Size : ");\n scanf("%d",&a->maxsize);\n a->data=(any*)malloc(a->maxsize*sizeof(any));\n printf(" Enter Size : ");\n scanf("%d",&a->size);\n if(a->size<=a->maxsize)\n {\n for(i=0;i<a->size;...
744
0
{"language": "c", "success": true, "metadata": {"lines": 92, "avg_line_length": 17.74, "nodes": 427, "errors": 0, "source_hash": "7c40a150ba1a0ad6f5284154500af777915bd5207d6934aa75ed26c430895f7b", "categorized_nodes": 312}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
2,321
c
// // TweetCell.h // twitter // // Created by <NAME> on 6/28/21. // Copyright © 2021 <NAME>. All rights reserved. // #import <UIKit/UIKit.h> #import "Tweet.h" NS_ASSUME_NONNULL_BEGIN @interface TweetCell : UITableViewCell @property (weak, nonatomic) IBOutlet UIImageView *pfpView; @property (weak, nonatomic) IBOu...
35.74
23
(translation_unit) "//\n// TweetCell.h\n// twitter\n//\n// Created by <NAME> on 6/28/21.\n// Copyright © 2021 <NAME>. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n#import "Tweet.h"\n\nNS_ASSUME_NONNULL_BEGIN\n\n@interface TweetCell : UITableViewCell\n@property (weak, nonatomic) IBOutlet UIImageView *pfpView...
203
24
{"language": "c", "success": true, "metadata": {"lines": 23, "avg_line_length": 35.74, "nodes": 148, "errors": 0, "source_hash": "716beb25d5b499edc307e9f45a7afbb7afe098b6e7e156acdf05ed8a7151578d", "categorized_nodes": 91}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <...
2,322
c
#include "LFO.h" void LFOInit(LFO *self) { self->value = 0.0; } void LFOUpdateRuntimeParams(LFO *self, int16_t delay, int16_t frequency, double sampleRate, int updateThreshold) { // 8.1.1 Kinds of Generator Enumerators // 21 delayModLFO / 23 delayVibLFO // The most negative number (-32768) conventiona...
31.12
42
(translation_unit) "#include "LFO.h"\n\nvoid LFOInit(LFO *self)\n{\n self->value = 0.0;\n}\n\nvoid LFOUpdateRuntimeParams(LFO *self, int16_t delay, int16_t frequency, double sampleRate, int updateThreshold)\n{\n // 8.1.1 Kinds of Generator Enumerators\n // 21 delayModLFO / 23 delayVibLFO\n // The most negat...
324
0
{"language": "c", "success": true, "metadata": {"lines": 42, "avg_line_length": 31.12, "nodes": 204, "errors": 0, "source_hash": "905c94a8273b0b8994a7ddb0f856855705cfd8ee535cd4d1972aed9a88849ea2", "categorized_nodes": 153}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
2,323
c
#ifndef __THREADING_ALT_H__ #define __THREADING_ALT_H__ #include "FreeRTOS.h" #include "semphr.h" typedef struct { SemaphoreHandle_t mutex; char is_valid; } mbedtls_threading_mutex_t; extern void mbedtls_threading_set_alt( void ( * mutex_init )( mbedtls_threading_mutex_t * ), ...
37
16
(translation_unit) "#ifndef __THREADING_ALT_H__\n#define __THREADING_ALT_H__\n\n\n#include "FreeRTOS.h"\n#include "semphr.h"\n\ntypedef struct\n{\n SemaphoreHandle_t mutex;\n char is_valid;\n} mbedtls_threading_mutex_t;\n\nextern void mbedtls_threading_set_alt( void ( * mutex_init )( mbedtls_threading_mutex_t * )...
115
0
{"language": "c", "success": true, "metadata": {"lines": 16, "avg_line_length": 37.0, "nodes": 79, "errors": 0, "source_hash": "df6d5baf5ee0ea0f2735a824e5bc7188d3c83eb5c75f9cba4e99b60ade31e49a", "categorized_nodes": 44}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef _...
2,324
c
// // Created by <NAME> on 2020/03/29. // Copyright © 2020年 <NAME>. All rights reserved. // #ifndef _MIX_MULTI_MAP_ARRAY_H_ #define _MIX_MULTI_MAP_ARRAY_H_ #include <utility> #include <loki/Typelist.h> #include <loki/Singleton.h> #include "MultiSetArray.h" namespace Mix { struct less_inner { template < ...
28.42
86
(translation_unit) "//\n// Created by <NAME> on 2020/03/29.\n// Copyright © 2020年 <NAME>. All rights reserved.\n//\n\n#ifndef _MIX_MULTI_MAP_ARRAY_H_\n#define _MIX_MULTI_MAP_ARRAY_H_\n\n#include <utility>\n\n#include <loki/Typelist.h>\n#include <loki/Singleton.h>\n\n#include "MultiSetArray.h"\n\nnamespace Mix\n{\n \...
559
37
{"language": "c", "success": true, "metadata": {"lines": 86, "avg_line_length": 28.42, "nodes": 355, "errors": 0, "source_hash": "e3f3ed5df64e1fc4a8f3f5334ac8ad208f78a74bdcb9160023f3390c11a4447e", "categorized_nodes": 239}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "ndef _...
2,325
c
#include "clar_libgit2.h" #include "hash.h" #define FIXTURE_DIR "sha1" void test_core_sha1__initialize(void) { cl_fixture_sandbox(FIXTURE_DIR); } void test_core_sha1__cleanup(void) { cl_fixture_cleanup(FIXTURE_DIR); } static int sha1_file(git_oid *oid, const char *filename) { git_hash_ctx ctx; char buf[2048]; ...
28.08
49
(translation_unit) "#include "clar_libgit2.h"\n#include "hash.h"\n\n#define FIXTURE_DIR "sha1"\n\nvoid test_core_sha1__initialize(void)\n{\n cl_fixture_sandbox(FIXTURE_DIR);\n}\n\nvoid test_core_sha1__cleanup(void)\n{\n cl_fixture_cleanup(FIXTURE_DIR);\n}\n\nstatic int sha1_file(git_oid *oid, const char *filename)\n{\n...
433
0
{"language": "c", "success": true, "metadata": {"lines": 49, "avg_line_length": 28.08, "nodes": 238, "errors": 0, "source_hash": "d10ebd9b8786c6ac355b5275033bbf0477c472907818e7009374551622e994a9", "categorized_nodes": 177}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
2,326
c
#ifndef MOVEMENT_CONTROL_H #define MOVEMENT_CONTROL_H #include "MotorControl.h" class MovementController { private: MotorController *motor_controller; // remember our current position int curPos [3] = {100, 370, 540}; // the lenght of a movement section in mm int section_...
33.71
21
(translation_unit) "#ifndef MOVEMENT_CONTROL_H\n#define MOVEMENT_CONTROL_H\n\n#include "MotorControl.h"\n\nclass MovementController {\n private:\n MotorController *motor_controller;\n\n // remember our current position\n int curPos [3] = {100, 370, 540};\n\n // the lenght of a movement se...
214
6
{"language": "c", "success": true, "metadata": {"lines": 21, "avg_line_length": 33.71, "nodes": 132, "errors": 0, "source_hash": "de87b423a4b2a07c3ba05206eb37a431bc60d533578ef508b23f97e87892d064", "categorized_nodes": 80}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
2,327
c
// // WSWebController.h // Pods // // Created by winter on 16/8/9. // // #import <UIKit/UIKit.h> @interface WSWebController : UIViewController @property(nonatomic,strong) UIWebView *webView; /// params for webView @property(nonatomic,copy) NSDictionary* params; /// params from javascript @property(nonatomic,stron...
22.1
21
(translation_unit) "//\n// WSWebController.h\n// Pods\n//\n// Created by winter on 16/8/9.\n//\n//\n\n#import <UIKit/UIKit.h>\n\n@interface WSWebController : UIViewController\n\n@property(nonatomic,strong) UIWebView *webView;\n/// params for webView\n@property(nonatomic,copy) NSDictionary* params;\n/// params from j...
102
18
{"language": "c", "success": true, "metadata": {"lines": 21, "avg_line_length": 22.1, "nodes": 64, "errors": 0, "source_hash": "c086f72e9c172665b627330c3d84ead1da31b1bfd0720eb2905291f3d570162b", "categorized_nodes": 31}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <U...
2,328
c
char IEH3endm[128] {0}; IEH3mtab (formatp) char **formatp; { /* make up special table of string ending characters */ int i, normal; char ch; /* normally all characters end string except those listed */ normal = 1; if (**formatp == '^') {normal = 0; (*formatp)++;} for (i= 0; i < 128; i++) IEH3endm[i] = normal; while (...
23
16
(translation_unit) "char IEH3endm[128] {0};\nIEH3mtab (formatp)\nchar **formatp;\n{\n/* make up special table of string ending characters */\nint i, normal;\nchar ch;\n/* normally all characters end string except those listed */\nnormal = 1;\nif (**formatp == '^')\n {normal = 0; (*formatp)++;}\nfor (i= 0; i < 128; i++)...
159
2
{"language": "c", "success": true, "metadata": {"lines": 16, "avg_line_length": 23.0, "nodes": 101, "errors": 0, "source_hash": "e13cf0b112328d67f369a457f24312867a7762d7bef07bdc04091591a580e7d2", "categorized_nodes": 67}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "function_definition", "text": "ch...
2,329
c
#pragma once namespace PhysX { ref class SweepHit; public ref class LinearSweepMultipleResult { public: property array<SweepHit^>^ Hits; property array<int>^ HitShapeIndices; property SweepHit^ Block; property int BlockingShapeIndex; property bool Overflow; }; };
18.93
14
(translation_unit) "#pragma once\n\nnamespace PhysX\n{\n ref class SweepHit;\n\n public ref class LinearSweepMultipleResult\n {\n public:\n property array<SweepHit^>^ Hits;\n property array<int>^ HitShapeIndices;\n\n property SweepHit^ Block;\n property int BlockingShapeIndex;\n property bool Overflow;\n };\n};" ...
75
7
{"language": "c", "success": true, "metadata": {"lines": 14, "avg_line_length": 18.93, "nodes": 50, "errors": 0, "source_hash": "b2a4ff67e2a6aafba234d55aeed6eb6a874417202e0740f8bce9cf9d20eb8467", "categorized_nodes": 33}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
2,330
c
#ifndef _UTILS_IPOINT_ #define _UTILS_IPOINT_ class IRect; class IPoint { public: IPoint(); IPoint(int x, int y); /// Инициализация точки левым нижним углом прямоугольника explicit IPoint(const IRect& rect); int x; int y; /// Оператор унарный минус IPoint operator - () const; IPoint& operator += (const IP...
21.88
40
(translation_unit) "#ifndef _UTILS_IPOINT_\n#define _UTILS_IPOINT_\n\nclass IRect;\n\nclass IPoint\n{\npublic:\n IPoint();\n IPoint(int x, int y);\n\n /// Инициализация точки левым нижним углом прямоугольника\n explicit IPoint(const IRect& rect);\n\n int x;\n int y;\n\n /// Оператор унарный минус\n IPoint operator - ()...
422
23
{"language": "c", "success": true, "metadata": {"lines": 40, "avg_line_length": 21.88, "nodes": 277, "errors": 0, "source_hash": "653f742c04946c1ddb46b8610152457771cbff177e267ed14c3b69a0667a3782", "categorized_nodes": 194}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
2,331
c
#pragma once #include <cstddef> using byte_t = unsigned char; struct RGBPixel { byte_t& r; byte_t& g; byte_t& b; constexpr RGBPixel(byte_t& _r, byte_t& _g, byte_t& _b) : r(_r) , g(_g) , b(_b) {} }; class Image { public: Image(const char* path); ~Image(); size_t getWidth...
18.03
30
(translation_unit) "#pragma once\n\n#include <cstddef>\n\nusing byte_t = unsigned char;\n\nstruct RGBPixel\n{\n byte_t& r;\n byte_t& g;\n byte_t& b;\n\n constexpr RGBPixel(byte_t& _r, byte_t& _g, byte_t& _b)\n : r(_r)\n , g(_g)\n , b(_b)\n {}\n};\n\nclass Image\n{\npublic:\n Image(const char*...
214
15
{"language": "c", "success": true, "metadata": {"lines": 30, "avg_line_length": 18.03, "nodes": 131, "errors": 0, "source_hash": "8e5fca8b99a25030231e7111d72b806a63c2b90b7f73b813f21d9a58a714d557", "categorized_nodes": 93}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma ...
2,332
c
#ifndef __Iustat #define __Iustat #ifdef __cplusplus extern "C" { #endif struct ustat { daddr_t f_tfree; ino_t f_tinode; char f_fname[6]; char f_fpack[6]; }; extern int ustat(int, struct ustat *); #ifdef __cplusplus } #endif #endif
12
20
(translation_unit) "#ifndef __Iustat \n#define __Iustat \n \n#ifdef __cplusplus \nextern "C" { \n#endif \n \nstruct ustat { \n daddr_t f_tfree; \n ino_t f_tinode; \n char f_fname[6]; \n char f_fpack[6]; \n}; \n \nextern int ustat(int, struct ustat *); \n \n#ifdef __cplusplus \n} \n#endif \n#endif \n" (preproc_ifdef)...
77
0
{"language": "c", "success": true, "metadata": {"lines": 20, "avg_line_length": 12.0, "nodes": 54, "errors": 0, "source_hash": "d0b26ea8a40de4dd239ee19644ad4d7055228c35d08103c59e37cd435d913cb5", "categorized_nodes": 40}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef _...
2,333
c
// // Super Gluu-Bridging-Header.h // Super Gluu // // Created by <NAME> on 2/4/22. // Copyright © 2022 Gluu. All rights reserved. // #ifndef Super_Gluu_Bridging_Header_h #define Super_Gluu_Bridging_Header_h #import "TokenEntity.h" #import "TokenDevice.h" #import "UserLoginInfo.h" #import "DataStoreManager.h" #im...
24.47
17
(translation_unit) "//\n// Super Gluu-Bridging-Header.h\n// Super Gluu\n//\n// Created by <NAME> on 2/4/22.\n// Copyright © 2022 Gluu. All rights reserved.\n//\n\n#ifndef Super_Gluu_Bridging_Header_h\n#define Super_Gluu_Bridging_Header_h\n\n#import "TokenEntity.h"\n#import "TokenDevice.h"\n#import "UserLoginInfo.h"...
37
0
{"language": "c", "success": true, "metadata": {"lines": 17, "avg_line_length": 24.47, "nodes": 21, "errors": 0, "source_hash": "63ec89809e3bee3f661a4d365bbf6e3370297719e05424ff2e31d3bff32ae98c", "categorized_nodes": 12}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "ifndef S...
2,334
c
#ifndef PROJECT_HEADER_component312_13_H #define PROJECT_HEADER_component312_13_H int component312_13(); #endif // PROJECT_HEADER_component312_13_H
28.8
5
(translation_unit) "#ifndef PROJECT_HEADER_component312_13_H\n#define PROJECT_HEADER_component312_13_H\n\n\n\nint component312_13();\n\n#endif // PROJECT_HEADER_component312_13_H" (preproc_ifdef) "#ifndef PROJECT_HEADER_component312_13_H\n#define PROJECT_HEADER_component312_13_H\n\n\n\nint component312_13();\n\n#endi...
17
0
{"language": "c", "success": true, "metadata": {"lines": 5, "avg_line_length": 28.8, "nodes": 12, "errors": 0, "source_hash": "528911812c04525d21ccc743a82099063e2e2be37077cd5662eee6540ffa5d61", "categorized_nodes": 8}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef PRO...
2,335
c
/* * hremap -- key remapper for Linux * (C) <NAME> * * xkeymacs substitute for X11/Linux * Copyright 2011 (C) <NAME> <<EMAIL>> * * keyboard.h: keyboard device input/output */ #ifndef _DEFINE_H_X11KEYMACS_KEYBOARD_ #define _DEFINE_H_X11KEYMACS_KEYBOARD_ #include <linux/input.h> #include <string> #define USERD...
24.27
33
(translation_unit) "/*\n * hremap -- key remapper for Linux\n * (C) <NAME>\n *\n * xkeymacs substitute for X11/Linux\n * Copyright 2011 (C) <NAME> <<EMAIL>>\n *\n * keyboard.h: keyboard device input/output\n */\n\n#ifndef _DEFINE_H_X11KEYMACS_KEYBOARD_\n#define _DEFINE_H_X11KEYMACS_KEYBOARD_\n\n#include <linux/input.h>...
161
4
{"language": "c", "success": true, "metadata": {"lines": 33, "avg_line_length": 24.27, "nodes": 104, "errors": 0, "source_hash": "bf35c9977e104236fdc45ffca225ee51d8154ff74bc9e582c9f8bf41001d3df1", "categorized_nodes": 64}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
2,336
c
/* * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be use...
31.84
141
(translation_unit) "/*\n * This program is free software; you can redistribute it and/or\n * modify it under the terms of the GNU General Public License\n * as published by the Free Software Foundation; either version 2\n * of the License, or (at your option) any later version.\n *\n * This program is distributed in th...
969
0
{"language": "c", "success": true, "metadata": {"lines": 141, "avg_line_length": 31.84, "nodes": 612, "errors": 0, "source_hash": "edbfc51a5f40d88380ad8c61b676e19866fc95185c99c3b4e13c50fe818b2761", "categorized_nodes": 427}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
2,337
c
// // ViewController.h // YHLagMonitor_Example // // Created by Vanha on 2019/12/18. // Copyright © 2020 wanwan. All rights reserved. // #import <UIKit/UIKit.h> @interface ViewController : UIViewController @end
18.64
11
(translation_unit) "//\n// ViewController.h\n// YHLagMonitor_Example\n//\n// Created by Vanha on 2019/12/18.\n// Copyright © 2020 wanwan. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface ViewController : UIViewController\n\n\n@end\n\n" (comment) "//" (comment) "// ViewController.h" (comment)...
22
4
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 18.64, "nodes": 11, "errors": 0, "source_hash": "5cfdddcbe33f9bb48ee5d2d75405c6b99699792880db38f50757256272c416ec", "categorized_nodes": 6}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <UI...
2,338
c
/* * This header is generated by classdump-dyld 1.0 * on Sunday, September 27, 2020 at 12:26:54 PM Mountain Standard Time * Operating System: Version 14.0 (Build 18A373) * Image Source: /System/Library/PrivateFrameworks/VideosUICore.framework/VideosUICore * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 ...
38.5
12
(translation_unit) "/*\n* This header is generated by classdump-dyld 1.0\n* on Sunday, September 27, 2020 at 12:26:54 PM Mountain Standard Time\n* Operating System: Version 14.0 (Build 18A373)\n* Image Source: /System/Library/PrivateFrameworks/VideosUICore.framework/VideosUICore\n* classdump-dyld is licensed under GPLv...
32
5
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 38.5, "nodes": 19, "errors": 0, "source_hash": "07741d76bcd22d712bb3871ed13344d0a869ce093eb8a7c7f6554118f9b762c9", "categorized_nodes": 12}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <Vi...
2,339
c
// // GMOForumTopicsViewController.h // GauchoMobile // // GMOForumTopicsViewController is responsible for fetching and providing the list of topics in a // specific forum to a table view for presentation // #import <UIKit/UIKit.h> #import "GMSourceFetcher.h" #import "GMDataSource.h" #import "GMForumsParser.h" #im...
31.79
19
(translation_unit) "//\n// GMOForumTopicsViewController.h\n// GauchoMobile\n//\n// GMOForumTopicsViewController is responsible for fetching and providing the list of topics in a\n// specific forum to a table view for presentation\n//\n\n#import <UIKit/UIKit.h>\n#import "GMSourceFetcher.h"\n#import "GMDataSource.h"\...
56
6
{"language": "c", "success": true, "metadata": {"lines": 19, "avg_line_length": 31.79, "nodes": 42, "errors": 0, "source_hash": "ad12db78e349fb898d80959979481245f0cbc850a9d66cec9e88301640f3c988", "categorized_nodes": 17}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <...
2,340
c
/* * Copyright © 2012, United States Government, as represented by the * Administrator of the National Aeronautics and Space Administration. * All rights reserved. * * The NASA Tensegrity Robotics Toolkit (NTRT) v1 platform is licensed * under the Apache License, Version 2.0 (the "License"); * you may not use t...
36.17
100
(translation_unit) "/*\n * Copyright © 2012, United States Government, as represented by the\n * Administrator of the National Aeronautics and Space Administration.\n * All rights reserved.\n * \n * The NASA Tensegrity Robotics Toolkit (NTRT) v1 platform is licensed\n * under the Apache License, Version 2.0 (the "Licen...
236
12
{"language": "c", "success": true, "metadata": {"lines": 100, "avg_line_length": 36.17, "nodes": 144, "errors": 0, "source_hash": "937d6d3d8ee2d82d2fa568058a7884d50e359c3433a2c9340a2351fe3a4f3679", "categorized_nodes": 101}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "ifnde...
2,341
c
#pragma once #include <common/Common.h> #include <common/EigenBridge.h> namespace sqaod_cpu { namespace sq = sqaod; template<class real> struct CPUBipartiteGraphBatchSearch { typedef sq::MatrixType<real> Matrix; typedef sq::VectorType<real> Vector; CPUBipartiteGraphBatchSearch(); void setQUBO(...
28.58
26
(translation_unit) "#pragma once\n\n#include <common/Common.h>\n#include <common/EigenBridge.h>\n\nnamespace sqaod_cpu {\n\nnamespace sq = sqaod;\n\ntemplate<class real>\nstruct CPUBipartiteGraphBatchSearch {\n typedef sq::MatrixType<real> Matrix;\n typedef sq::VectorType<real> Vector;\n \n CPUBipartiteGrap...
205
16
{"language": "c", "success": true, "metadata": {"lines": 26, "avg_line_length": 28.58, "nodes": 128, "errors": 0, "source_hash": "778dba247a903f93efbb7bda3e462beaa336753e1fab8195ffb346ebc8f192b7", "categorized_nodes": 96}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma ...
2,342
c
#pragma once #include "ExtensibleObjectJsonHandler.h" #include "StringJsonHandler.h" namespace CesiumGltf { struct NamedObject; class NamedObjectJsonHandler : public ExtensibleObjectJsonHandler { protected: void reset(IJsonHandler* pParent, NamedObject* pObject); IJsonHandler* NamedObjectKey(const char* str, Nam...
29.46
13
(translation_unit) "#pragma once\n\n#include "ExtensibleObjectJsonHandler.h"\n#include "StringJsonHandler.h"\n\nnamespace CesiumGltf {\nstruct NamedObject;\n\nclass NamedObjectJsonHandler : public ExtensibleObjectJsonHandler {\nprotected:\n void reset(IJsonHandler* pParent, NamedObject* pObject);\n IJsonHandler* Name...
91
2
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 29.46, "nodes": 54, "errors": 0, "source_hash": "840d7b7fbe3b16a2699aff4cbf6c4097f94dc1fa5b469eeadd889d9fc6a322e5", "categorized_nodes": 37}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
2,343
c
/* * Copyright (C) 2015-2017 Alibaba Group Holding Limited */ #include <stdio.h> #include <string.h> #include <stdlib.h> #include <errno.h> #include <fcntl.h> #include <sys/stat.h> #include <sys/types.h> #include <unistd.h> #include <aos/aos.h> #include <hal/soc/nand.h> #define CONFIG_FLASH_START_ADDR 0 #define CONF...
32.5
153
(translation_unit) "/*\n * Copyright (C) 2015-2017 Alibaba Group Holding Limited\n */\n#include <stdio.h>\n#include <string.h>\n#include <stdlib.h>\n#include <errno.h>\n#include <fcntl.h>\n#include <sys/stat.h>\n#include <sys/types.h>\n#include <unistd.h>\n#include <aos/aos.h>\n#include <hal/soc/nand.h>\n\n#define CONF...
1,557
0
{"language": "c", "success": true, "metadata": {"lines": 153, "avg_line_length": 32.5, "nodes": 1019, "errors": 0, "source_hash": "b0b67de8f9008ede23759383f87b521819143cc9b11fae93d45ea6893bfeaf0a", "categorized_nodes": 766}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
2,344
c
#pragma once #include <DirectXMath.h> #include <vector> namespace BRE { /// /// @brief Responsible to generate procedurally the geometry of common mathematical objects. /// /// All triangles are generated outward facing. /// namespace GeometryGenerator { struct Vertex { Vertex() = default; /// /// @brief...
33.62
110
(translation_unit) "#pragma once\n\n#include <DirectXMath.h>\n#include <vector>\n\nnamespace BRE {\n///\n/// @brief Responsible to generate procedurally the geometry of common mathematical objects.\n///\n/// All triangles are generated outward facing.\n///\nnamespace GeometryGenerator {\nstruct Vertex {\n Vertex() =...
518
44
{"language": "c", "success": true, "metadata": {"lines": 110, "avg_line_length": 33.62, "nodes": 249, "errors": 0, "source_hash": "3ccaadaa33fe79c288b3e78adb48d2f33bbe14bc6715c2e7fd72b92ca831f562", "categorized_nodes": 179}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragm...
2,345
c
/** * MK4duo Firmware for 3D Printer, Laser and CNC * * Based on Marlin, Sprinter and grbl * Copyright (c) 2011 <NAME> / <NAME> * Copyright (c) 2020 <NAME> @MagoKimbra * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by ...
23.38
90
(translation_unit) "/**\n * MK4duo Firmware for 3D Printer, Laser and CNC\n *\n * Based on Marlin, Sprinter and grbl\n * Copyright (c) 2011 <NAME> / <NAME>\n * Copyright (c) 2020 <NAME> @MagoKimbra\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Pub...
391
0
{"language": "c", "success": true, "metadata": {"lines": 90, "avg_line_length": 23.38, "nodes": 241, "errors": 0, "source_hash": "673ac1b6868adeee8b61ab382938b1e0c9f2692d232d46c3536e439db840a812", "categorized_nodes": 164}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_def", "text": "#define ...
2,346
c
// This program is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License // as published by the Free Software Foundation; either version // 2 of the License, or (at your option) any later version. // // This file is part of the VSCP (http://www.vscp.org) // // Co...
24.24
197
(translation_unit) "// This program is free software; you can redistribute it and/or\n// modify it under the terms of the GNU General Public License\n// as published by the Free Software Foundation; either version\n// 2 of the License, or (at your option) any later version.\n// \n// This file is part of the VSCP (http:...
522
0
{"language": "c", "success": true, "metadata": {"lines": 197, "avg_line_length": 24.24, "nodes": 392, "errors": 0, "source_hash": "e52ff32fb4a81a3c73cd5c769f2f9f7c531d35aa61e1540b254c179472b43bbb", "categorized_nodes": 251}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
2,347
c
// SPDX-FileCopyrightText: 2013-2020 pancake <<EMAIL>> // SPDX-License-Identifier: LGPL-3.0-only #include <rz_main.h> #include <rz_core.h> static const char *page_index = "<html>" "<head>" "<title>rz-agent</title>" "<script>" "function file_open() {" " var file = window.prompt ('path to file?');" " window.op...
24.42
197
(translation_unit) "// SPDX-FileCopyrightText: 2013-2020 pancake <<EMAIL>>\n// SPDX-License-Identifier: LGPL-3.0-only\n\n#include <rz_main.h>\n#include <rz_core.h>\n\nstatic const char *page_index =\n "<html>"\n "<head>"\n "<title>rz-agent</title>"\n "<script>"\n "function file_open() {"\n " var file = window.prompt (...
1,528
1
{"language": "c", "success": true, "metadata": {"lines": 197, "avg_line_length": 24.42, "nodes": 857, "errors": 0, "source_hash": "2e642438dbe67d29118d439728a78f2288e8beacde98875bfacc23f890919526", "categorized_nodes": 572}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
2,348
c
/* * CDDL HEADER START * * The contents of this file are subject to the terms of the * Common Development and Distribution License (the "License"). * You may not use this file except in compliance with the License. * * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE * or http://www.opensolar...
31.71
130
(translation_unit) "/*\n * CDDL HEADER START\n *\n * The contents of this file are subject to the terms of the\n * Common Development and Distribution License (the "License").\n * You may not use this file except in compliance with the License.\n *\n * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE...
348
0
{"language": "c", "success": true, "metadata": {"lines": 130, "avg_line_length": 31.71, "nodes": 277, "errors": 0, "source_hash": "bf14e5e0f5218c03c52320c0c43d0b91c0a0b9d187f305bc6ecebe2c61dd8539", "categorized_nodes": 146}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
2,349
c
#include <ruby.h> #include "ruby/debug.h" /* Context info */ enum ctx_stop_reason { CTX_STOP_NONE, CTX_STOP_STEP, CTX_STOP_BREAKPOINT, CTX_STOP_CATCHPOINT }; /* Context flags */ #define CTX_FL_SUSPEND (1<<1) /* suspend because another thread stopping */ #define CTX_FL_TRACING (1<<2) /* call ...
28.77
132
(translation_unit) "#include <ruby.h>\n#include "ruby/debug.h"\n\n/* Context info */\nenum ctx_stop_reason {\n CTX_STOP_NONE,\n CTX_STOP_STEP,\n CTX_STOP_BREAKPOINT,\n CTX_STOP_CATCHPOINT\n};\n\n/* Context flags */\n#define CTX_FL_SUSPEND (1<<1) /* suspend because another thread stopping */\n#define CT...
809
0
{"language": "c", "success": true, "metadata": {"lines": 132, "avg_line_length": 28.77, "nodes": 548, "errors": 0, "source_hash": "1a6d4d475db49ba7ed975dd9d16302d58c913cb3d1f00089f357175bbb77fd32", "categorized_nodes": 404}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
2,350
c
// ObjectTalk Scripting Language // Copyright (c) 1993-2022 <NAME>. All rights reserved. // // This work is licensed under the terms of the MIT license. // For a copy, see <https://opensource.org/licenses/MIT>. #pragma once // // Include files // #include <string> #include <unordered_map> #include "source.h" #inc...
31.8
135
(translation_unit) "// ObjectTalk Scripting Language\n// Copyright (c) 1993-2022 <NAME>. All rights reserved.\n//\n// This work is licensed under the terms of the MIT license.\n// For a copy, see <https://opensource.org/licenses/MIT>.\n\n\n#pragma once\n\n\n//\n// Include files\n//\n\n#include <string>\n#include <unord...
875
18
{"language": "c", "success": true, "metadata": {"lines": 135, "avg_line_length": 31.8, "nodes": 538, "errors": 0, "source_hash": "6c1a2498c059f8bcb9ad3c16627b5b21bd86fd4c55b676bbf08e699b250de0d7", "categorized_nodes": 403}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
2,351
c
/* * utils/color.h * * Copyleft (C) 2015 <NAME> (a.k.a. kala13x) * * This library includes color operations with strings such es * colorize string and color print in cli. Color values are: * * 0 - Normal * 1 - Green * 2 - Red * 3 - Yellow * 4 - Blue * 5 - Nagenta * 6 - Cyan * 7 - White */ ...
25.39
147
(translation_unit) "/*\n * utils/color.h\n * \n * Copyleft (C) 2015 <NAME> (a.k.a. kala13x)\n *\n * This library includes color operations with strings such es\n * colorize string and color print in cli. Color values are:\n * \n * 0 - Normal\n * 1 - Green\n * 2 - Red\n * 3 - Yellow\n * 4 - Blue\n * 5 - Nagenta...
697
0
{"language": "c", "success": true, "metadata": {"lines": 147, "avg_line_length": 25.39, "nodes": 391, "errors": 0, "source_hash": "a3caebbcf41e179126724b7a21642d8a3c1a6aea4a88e298bc096f55652fcbaf", "categorized_nodes": 254}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
2,352
c
#ifndef STATE_SET_OBJECT_H #define STATE_SET_OBJECT_H #include "warped.h" #include "State.h" #include "SetObject.h" #include "EventId.h" #include "ObjectID.h" /** The StateSetObject Class. This class is used for encapsulating events in the State queue. This class is derived from the SetObject base class and...
38.02
80
(translation_unit) "#ifndef STATE_SET_OBJECT_H\n#define STATE_SET_OBJECT_H\n\n\n#include "warped.h"\n#include "State.h"\n#include "SetObject.h"\n#include "EventId.h"\n#include "ObjectID.h"\n\n/** The StateSetObject Class.\n\n This class is used for encapsulating events in the State\n queue. This class is derived ...
458
22
{"language": "c", "success": true, "metadata": {"lines": 80, "avg_line_length": 38.02, "nodes": 246, "errors": 0, "source_hash": "3b33ff1ef7d525821756e36b1e43db8f79abe2f23d0d767e106cdf31c383a365", "categorized_nodes": 180}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
2,353
c
// // ECKey.h // ectest // // Created by <NAME> on 2018/3/20. // Copyright © 2018 <NAME>. All rights reserved. // #import <Foundation/Foundation.h> #import "ECKeySignature.h" @interface ECKey : NSObject { NSData *privateKey; NSData *publicKey; } /** * @brief Initialization method */ - (instancetype)i...
19.89
47
(translation_unit) "//\n// ECKey.h\n// ectest\n//\n// Created by <NAME> on 2018/3/20.\n// Copyright © 2018 <NAME>. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n#import "ECKeySignature.h"\n\n\n@interface ECKey : NSObject {\n NSData *privateKey;\n NSData *publicKey;\n}\n\n/**\n * @brief Initi...
235
24
{"language": "c", "success": true, "metadata": {"lines": 47, "avg_line_length": 19.89, "nodes": 132, "errors": 0, "source_hash": "db1099b9968fcd0c1eb1ded07f2d135326e0af9d9c73522491f1147c06617f73", "categorized_nodes": 80}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <...
2,354
c
/* * Copyright © 2015 Collabora, Ltd. * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the * "Software"), to deal in the Software without restriction, including * without limitation the rights to use, copy, modify, merge, publi...
32.32
111
(translation_unit) "/*\n * Copyright © 2015 Collabora, Ltd.\n *\n * Permission is hereby granted, free of charge, to any person obtaining\n * a copy of this software and associated documentation files (the\n * "Software"), to deal in the Software without restriction, including\n * without limitation the rights to use, ...
527
0
{"language": "c", "success": true, "metadata": {"lines": 111, "avg_line_length": 32.32, "nodes": 348, "errors": 0, "source_hash": "95c484637a74e24c71099be68cc70028cacf025dede0d5a9272e8a40941e5bb4", "categorized_nodes": 230}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "ifnde...
2,355
c
#ifndef NETWORKPROGRESSDIALOG_H #define NETWORKPROGRESSDIALOG_H #include <QProgressDialog> class NetworkProgressDialog : public QProgressDialog { Q_OBJECT public: NetworkProgressDialog(const QString &labelText, QWidget *parent = nullptr); ~NetworkProgressDialog(); public slots: void networkProgress(qi...
29.5
14
(translation_unit) "#ifndef NETWORKPROGRESSDIALOG_H\n#define NETWORKPROGRESSDIALOG_H\n\n#include <QProgressDialog>\n\nclass NetworkProgressDialog : public QProgressDialog\n{\n Q_OBJECT\npublic:\n NetworkProgressDialog(const QString &labelText, QWidget *parent = nullptr);\n ~NetworkProgressDialog();\npublic slo...
90
5
{"language": "c", "success": true, "metadata": {"lines": 14, "avg_line_length": 29.5, "nodes": 55, "errors": 0, "source_hash": "09e8562ec9d87b67f82ce7aebbbff554a15249806fbddeca0dcaa80531a8eb1c", "categorized_nodes": 37}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef N...
2,356
c
/* This is a generated file. DO NOT EDIT! */ LJ_DATADEF const uint16_t lj_bc_ofs[] = { 0, 65, 130, 195, 260, 387, 517, 577, 637, 701, 765, 816, 866, 916, 966, 1006, 1046, 1073, 1101, 1132, 1163, 1218, 1291, 1340, 1389, 1438, 1487, 1541, 1590, 1639, 1688, 1737, 1769, 1829, 1889, 1949, 2009, 2052, 2134, 2222, 2255, 2288...
6.85
217
(translation_unit) "/* This is a generated file. DO NOT EDIT! */\n\nLJ_DATADEF const uint16_t lj_bc_ofs[] = {\n0,\n65,\n130,\n195,\n260,\n387,\n517,\n577,\n637,\n701,\n765,\n816,\n866,\n916,\n966,\n1006,\n1046,\n1073,\n1101,\n1132,\n1163,\n1218,\n1291,\n1340,\n1389,\n1438,\n1487,\n1541,\n1590,\n1639,\n1688,\n1737,\n176...
461
3
{"language": "c", "success": true, "metadata": {"lines": 217, "avg_line_length": 6.85, "nodes": 234, "errors": 0, "source_hash": "153f23318f0f6bb2ee8f99c446f7eac909949888d3dfc61f4af4f4f4737ecbc3", "categorized_nodes": 222}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "declaration", "text": "LJ_DATAD...
2,357
c
#ifndef __SYSCALL_ARCH_H #define __SYSCALL_ARCH_H #ifdef __cplusplus extern "C" { #endif #define __SYSCALL_LL_E(x) \ ((union { long long ll; long l[2]; }){ .ll = x }).l[0], \ ((union { long long ll; long l[2]; }){ .ll = x }).l[1] #define __SYSCALL_LL_O(x) __SYSCALL_LL_E((x)) long internal__syscall0(long n); long int...
31.19
52
(translation_unit) "#ifndef __SYSCALL_ARCH_H\n#define __SYSCALL_ARCH_H\n\n#ifdef __cplusplus\nextern "C" {\n#endif\n\n#define __SYSCALL_LL_E(x) \\n((union { long long ll; long l[2]; }){ .ll = x }).l[0], \\n((union { long long ll; long l[2]; }){ .ll = x }).l[1]\n#define __SYSCALL_LL_O(x) __SYSCALL_LL_E((x))\n\nlong inte...
598
0
{"language": "c", "success": true, "metadata": {"lines": 52, "avg_line_length": 31.19, "nodes": 426, "errors": 0, "source_hash": "5b0dc68fd404ff400f4519e2534bcd978de0b7be158403f70bc53c134d174894", "categorized_nodes": 309}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
2,358
c
#pragma once #include "renderable.h" #include <vector> #include <vulkansubsystem/buffer.h> #include "vertexdescription.h" // Renders two triangles to cover the whole screen class ScreenRenderable : public IRenderable { VkDescriptorSetLayout m_DescriptorSetLayout; VkPipelineLayout m_PipelineLayout; VkPipeline m_G...
29.17
47
(translation_unit) "#pragma once\n#include "renderable.h"\n#include <vector>\n#include <vulkansubsystem/buffer.h>\n#include "vertexdescription.h"\n\n// Renders two triangles to cover the whole screen\nclass ScreenRenderable : public IRenderable\n{\n VkDescriptorSetLayout m_DescriptorSetLayout;\n VkPipelineLayout m_Pi...
318
9
{"language": "c", "success": true, "metadata": {"lines": 47, "avg_line_length": 29.17, "nodes": 193, "errors": 0, "source_hash": "c2ece66db34a26200b76a79ae01c066dc3aafd0fc31fe76e8eceb74cb75ab06c", "categorized_nodes": 131}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
2,359
c
#pragma bank 2 #include "main.h" UINT8 bank_SPRITE_DOOR = 2; #include "Keys.h" #include "SpriteManager.h" #include "MapCommon.h" #include "ZGBMain.h" #include "Print.h" #include "SpriteDoor.h" static const UINT8 anim[] = {4, 0, 1, 2, 3}; static const UINT8 anim_static[] = {1, 0}; void Start_SPRITE_DOOR() { UINT...
25.94
47
(translation_unit) "#pragma bank 2\n#include "main.h"\nUINT8 bank_SPRITE_DOOR = 2;\n\n#include "Keys.h"\n#include "SpriteManager.h"\n#include "MapCommon.h"\n\n#include "ZGBMain.h"\n#include "Print.h"\n#include "SpriteDoor.h"\n\nstatic const UINT8 anim[] = {4, 0, 1, 2, 3};\nstatic const UINT8 anim_static[] = {1, 0};\n\n...
424
0
{"language": "c", "success": true, "metadata": {"lines": 47, "avg_line_length": 25.94, "nodes": 252, "errors": 0, "source_hash": "adeb9096229b9790cd4123f0514cfe78bee602562552b7c0b18009a484fc9a9f", "categorized_nodes": 196}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
2,360
c
// // DemoTableViewController.h // GTScrollNavigationBarExample // // Created by <NAME> on 21/12/13. // Copyright (c) 2013 <NAME>. All rights reserved. // #import <UIKit/UIKit.h> @interface DemoTableViewController : UITableViewController @property (assign, nonatomic) BOOL hasSection; @property (assign, nonatomic...
28
12
(translation_unit) "//\n// DemoTableViewController.h\n// GTScrollNavigationBarExample\n//\n// Created by <NAME> on 21/12/13.\n// Copyright (c) 2013 <NAME>. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface DemoTableViewController : UITableViewController\n\n@property (assign, nonatomic) BOOL hasSecti...
51
10
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 28.0, "nodes": 33, "errors": 0, "source_hash": "a0de841c34408e1a17ff01e54c53e977ad9e0fa386be37ff52c75374760578df", "categorized_nodes": 18}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <U...
2,361
c
#ifndef BOARD_H #define BOARD_H #include "includes.h" void generate_board_layout(GAME * gp); void clear_board(GAME * gp); void board_add_virus(GAME * gp); void generate_board(GAME * gp, int vcount); int find_runs(GAME * gp); void delete_runs(GAME * gp); void blocks_fall(GAME * gp); int board_cleared(BOARD...
22.06
16
(translation_unit) "#ifndef BOARD_H \n#define BOARD_H \n \n#include "includes.h" \n \nvoid generate_board_layout(GAME * gp); \nvoid clear_board(GAME * gp); \nvoid board_add_virus(GAME * gp); \nvoid generate_board(GAME * gp, int vcount); \nint find_runs(GAME * gp); \nvoid delete_runs(GAME * gp); \nvoid blocks_fall(GAME ...
135
0
{"language": "c", "success": true, "metadata": {"lines": 16, "avg_line_length": 22.06, "nodes": 103, "errors": 0, "source_hash": "c39a175d087e9ae62e70976af1e89309af563aed45520e40f506da9f4b9d9336", "categorized_nodes": 64}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
2,362
c
#ifndef _FAT_H_ #define _FAT_H_ /** * [文件说明] * FAT : File Allocation Table * 文件分配表 * */ #include "Common.h" /** * FAT : File Allocation Table */ typedef struct FAT { unsigned short id; } FAT; void deleteFileAtFat(unsigned char *VhdPtr,int blockNo); #endif
12.84
19
(translation_unit) "#ifndef _FAT_H_\n#define _FAT_H_\n\n/**\n * [文件说明]\n * FAT : File Allocation Table\n * 文件分配表\n *\n */\n\n#include "Common.h"\n\n/**\n* FAT : File Allocation Table\n*/\ntypedef struct FAT\n{\n unsigned short id;\n} FAT;\n\nvoid deleteFileAtFat(unsigned char *VhdPtr,int blockNo);\n\n\n\n#endif\n" (p...
51
0
{"language": "c", "success": true, "metadata": {"lines": 19, "avg_line_length": 12.84, "nodes": 35, "errors": 0, "source_hash": "2041be15ff19d0935083523ff5d48af7c83dc310d6d9ff1b0b79ca96f71aea66", "categorized_nodes": 24}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
2,363
c
#pragma once #include <string> #include <vector> bool EqualFiles(std::string in1, std::string in2); template<class ArgType, class ResType> ResType ApplyPermutation(ArgType arg, std::vector<std::vector<int>> &perm) { ResType res = 0; for (int i = 0; i < perm.size(); ++i) for (int j = 0; j < perm[i].size(); ++j) ...
27.02
45
(translation_unit) "#pragma once\n#include <string>\n#include <vector>\n\nbool EqualFiles(std::string in1, std::string in2);\n\ntemplate<class ArgType, class ResType>\nResType ApplyPermutation(ArgType arg, std::vector<std::vector<int>> &perm)\n{\n ResType res = 0;\n for (int i = 0; i < perm.size(); ++i)\n for (int j =...
578
31
{"language": "c", "success": true, "metadata": {"lines": 45, "avg_line_length": 27.02, "nodes": 398, "errors": 0, "source_hash": "53396297ec089214fc6204f795fd6959bd2043bc473ac541cbd0d5af7bda2ba4", "categorized_nodes": 278}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
2,364
c
#include "PyHelpers.h" #include "PyEvents.h" #include <CTPL/ctpl_stl.h> #include <xlOil/Log.h> namespace xloil { namespace Python { class EventLoop { ctpl::thread_pool _thread; pybind11::object _eventLoop; pybind11::object _callSoonFunction; pybind11::object _pumpFunction; uns...
32.18
131
(translation_unit) "#include "PyHelpers.h"\n#include "PyEvents.h"\n#include <CTPL/ctpl_stl.h>\n#include <xlOil/Log.h>\n\nnamespace xloil\n{\n namespace Python\n {\n class EventLoop\n {\n ctpl::thread_pool _thread;\n pybind11::object _eventLoop;\n pybind11::object _callSoonFunction;\n pybind1...
1,124
59
{"language": "c", "success": true, "metadata": {"lines": 131, "avg_line_length": 32.18, "nodes": 578, "errors": 0, "source_hash": "9409e648c16105ab91e5000e209af00600a7bdd84aab5f859578cdf866029aee", "categorized_nodes": 404}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
2,365
c
// // SEGKochavaIntegration.h // Pods // #import <Foundation/Foundation.h> #if defined(__has_include) && __has_include(<Analytics/SEGAnalytics.h>) #import <Analytics/SEGIntegration.h> #else #import <Segment/SEGIntegration.h> #endif #if defined(TEST) FOUNDATION_EXPORT NSString *const SKConfigEnforceATT; FOUNDATION_...
34.15
27
(translation_unit) "//\n// SEGKochavaIntegration.h\n// Pods\n//\n\n#import <Foundation/Foundation.h>\n\n#if defined(__has_include) && __has_include(<Analytics/SEGAnalytics.h>)\n#import <Analytics/SEGIntegration.h>\n#else\n#import <Segment/SEGIntegration.h>\n#endif\n\n#if defined(TEST)\nFOUNDATION_EXPORT NSString *con...
221
25
{"language": "c", "success": true, "metadata": {"lines": 27, "avg_line_length": 34.15, "nodes": 152, "errors": 0, "source_hash": "2de70224b9699094f4dc4299c9fba0a22a8f6afad8b42e2a07c924178fcfe75a", "categorized_nodes": 83}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import ...
2,366
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 "MMTableViewCell.h" @class AttributeLabel, MMUIImageView, MMWebImageView, UIImageView, UIView, WxaResult; @interface FTSWANetSearch...
31.75
28
(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 "MMTableViewCell.h"\n\n@class AttributeLabel, MMUIImageView, MMWebImageView, UIImageView, UIView, WxaResult...
237
17
{"language": "c", "success": true, "metadata": {"lines": 28, "avg_line_length": 31.75, "nodes": 148, "errors": 0, "source_hash": "9a947bb923ea45bce9941adf0caf563646256450e2d6af65323920c3701519ea", "categorized_nodes": 87}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import ...
2,367
c
// Copyright Epic Games, Inc. All Rights Reserved. #pragma once #include "CoreMinimal.h" #include "GameFramework/Character.h" #include "AllMallsAreWallsCharacter.generated.h" class UInputComponent; class USkeletalMeshComponent; class USceneComponent; class UCameraComponent; class UMotionControllerComponent; class UA...
36.23
80
(translation_unit) "// Copyright Epic Games, Inc. All Rights Reserved.\n\n#pragma once\n\n#include "CoreMinimal.h"\n#include "GameFramework/Character.h"\n#include "AllMallsAreWallsCharacter.generated.h"\n\nclass UInputComponent;\nclass USkeletalMeshComponent;\nclass USceneComponent;\nclass UCameraComponent;\nclass UMot...
448
10
{"language": "c", "success": true, "metadata": {"lines": 80, "avg_line_length": 36.23, "nodes": 266, "errors": 0, "source_hash": "8e7a86721c1e9897570c8dbaa2706f5959a2c863e8608e97c7c067c3b3e2ec0c", "categorized_nodes": 184}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
2,368
c
#ifndef GAMEBOY_ROM_TESTER_ENV_H #define GAMEBOY_ROM_TESTER_ENV_H #include <filesystem> #include <gtest/gtest.h> class rom_tester_env : public testing::Environment { public: explicit rom_tester_env(const char* res_base_path) noexcept { res_base_path_ = res_base_path; } static std::filesystem...
26.72
18
(translation_unit) "#ifndef GAMEBOY_ROM_TESTER_ENV_H\n#define GAMEBOY_ROM_TESTER_ENV_H\n\n#include <filesystem>\n\n#include <gtest/gtest.h>\n\nclass rom_tester_env : public testing::Environment {\npublic:\n explicit rom_tester_env(const char* res_base_path) noexcept\n {\n res_base_path_ = res_base_path;\n ...
105
6
{"language": "c", "success": true, "metadata": {"lines": 18, "avg_line_length": 26.72, "nodes": 56, "errors": 0, "source_hash": "7fdad26de331e6e514ad55db447fb63f1efe0ae10be85853b1de36970f9905dc", "categorized_nodes": 38}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
2,369
c
/* * Copyright (c) 2008 <NAME>, <NAME>, <NAME> * * 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...
33.24
141
(translation_unit) "/*\n * Copyright (c) 2008 <NAME>, <NAME>, <NAME>\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 PROV...
394
24
{"language": "c", "success": true, "metadata": {"lines": 141, "avg_line_length": 33.24, "nodes": 224, "errors": 0, "source_hash": "fe237013d7948c89cf9db0c74f4fb857ec63aef53f1d0b3e6720ebb70263dd68", "categorized_nodes": 151}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
2,370
c
#ifndef __dispatch_timer_h__ #define __dispatch_timer_h__ 1 /* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you un...
33.77
93
(translation_unit) "#ifndef __dispatch_timer_h__\n#define __dispatch_timer_h__ 1\n/*\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements. See the NOTICE file\n * distributed with this work for additional information\n * regarding copyright ownership. The ASF licen...
141
0
{"language": "c", "success": true, "metadata": {"lines": 93, "avg_line_length": 33.77, "nodes": 103, "errors": 0, "source_hash": "4a1b961867bd0f38a0dfe8c5c27f9bad97415d901c64aded41af5da293eab188", "categorized_nodes": 65}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
2,371
c
#include <stdint.h> #include <stdio.h> #include <stdlib.h> #include "mp5.h" #include "mp10.h" // // These variables hold the heads of two singly-linked lists of // requests. // // The avaialble list consists of unpaired requests: partner // should be NULL, and next is used to form the list. // // The shared list cons...
32.58
248
(translation_unit) "#include <stdint.h>\n#include <stdio.h>\n#include <stdlib.h>\n\n#include "mp5.h"\n#include "mp10.h"\n\n//\n// These variables hold the heads of two singly-linked lists of\n// requests.\n//\n// The avaialble list consists of unpaired requests: partner\n// should be NULL, and next is used to form the ...
1,656
0
{"language": "c", "success": true, "metadata": {"lines": 248, "avg_line_length": 32.58, "nodes": 1027, "errors": 0, "source_hash": "1c447764f6d56cb8f658a5682376ce193abc9c37aefb09bb91dea3e1baca685d", "categorized_nodes": 720}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#i...
2,372
c
#ifndef WEIGHTED_TRACK_MEANS #define WEIGHTED_TRACK_MEANS #include "HistoAnalyzer.h" using namespace jdb; class WeightedTrackMeans : public HistoAnalyzer { public: WeightedTrackMeans() {} ~WeightedTrackMeans() {} virtual void initialize(){ HistoAnalyzer::initialize(); } double compute_weighted_value( TH1 ...
32.89
61
(translation_unit) "#ifndef WEIGHTED_TRACK_MEANS\n#define WEIGHTED_TRACK_MEANS\n\n\n#include "HistoAnalyzer.h"\n\nusing namespace jdb;\n\n\nclass WeightedTrackMeans : public HistoAnalyzer\n{\npublic:\n WeightedTrackMeans() {}\n ~WeightedTrackMeans() {}\n\n virtual void initialize(){\n HistoAnalyzer::initialize();\n }\...
840
6
{"language": "c", "success": true, "metadata": {"lines": 61, "avg_line_length": 32.89, "nodes": 508, "errors": 0, "source_hash": "535fd7e6b2d1c9a4e589dd73b051616fa157d112fd9a32b7f18517dadba2831f", "categorized_nodes": 343}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
2,373
c
// Copyright 2014 <NAME>. All Rights Reserved. #pragma once #include "CoreUObject.h" #include "Engine.h" #include "Delegate.h" #include "Http.h" #include "Map.h" #include "Json.h" #include "JsonUtilities.h" #include "LatentActions.h" #include "Core.h" #include "Engine.h" #include "SharedPointer.h" // You should pl...
29.83
24
(translation_unit) "// Copyright 2014 <NAME>. All Rights Reserved.\n\n#pragma once\n\n#include "CoreUObject.h"\n#include "Engine.h"\n\n#include "Delegate.h"\n#include "Http.h"\n#include "Map.h"\n#include "Json.h"\n#include "JsonUtilities.h"\n\n#include "LatentActions.h"\n#include "Core.h"\n#include "Engine.h"\n#include...
133
0
{"language": "c", "success": true, "metadata": {"lines": 24, "avg_line_length": 29.83, "nodes": 66, "errors": 0, "source_hash": "d253f1e4f3c63ac07947ee6aecdcf2385ec4f076672cd84f3d3ea9ca477e8dcd", "categorized_nodes": 63}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
2,374
c
/* * Copyright (c) 2014-2018, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #ifndef __HPSC_DEF_H__ #define __HPSC_DEF_H__ #include <common_def.h> #define HPSC_CONSOLE_ID_16550 1 /* #define HPSC_CONSOLE_ID_dcc 2 */ #define HPSC_CONSOLE_IS(con) (HPSC_CO...
38.1
68
(translation_unit) "/*\n * Copyright (c) 2014-2018, ARM Limited and Contributors. All rights reserved.\n *\n * SPDX-License-Identifier: BSD-3-Clause\n */\n\n#ifndef __HPSC_DEF_H__\n#define __HPSC_DEF_H__\n\n#include <common_def.h>\n\n#define HPSC_CONSOLE_ID_16550 1\n/* #define HPSC_CONSOLE_ID_dcc 2 */\n\n#de...
197
0
{"language": "c", "success": true, "metadata": {"lines": 68, "avg_line_length": 38.1, "nodes": 178, "errors": 0, "source_hash": "453c9a53182f55cd8b8715fa4dab8e7a64205406bd420d12a8a54c650c01e070", "categorized_nodes": 58}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
2,375
c
#ifndef RADIXSORT_H #define RADIXSORT_H /** Radix sort for ordering collections whose keys are arrays of bits. The collection must provide functions: bool isBitSet(long i, int b): true iff item i has bit b set. void swap(long i, long j) : exchange positions of items i and j. This function is rec...
27.17
59
(translation_unit) "#ifndef RADIXSORT_H\n#define RADIXSORT_H\n\n/** Radix sort for ordering collections whose keys are arrays of bits.\n The collection must provide functions:\n bool isBitSet(long i, int b): true iff item i has bit b set.\n void swap(long i, long j) : exchange positions of items i and j....
364
6
{"language": "c", "success": true, "metadata": {"lines": 59, "avg_line_length": 27.17, "nodes": 208, "errors": 0, "source_hash": "898d332a57d777dab5c9bd97911d59c481c51a81750ebe6dea406ee3b2dce452", "categorized_nodes": 159}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
2,376
c
#include <stdint.h> #include <stdio.h> int gcd(int a, int b) { int32_t x; while (b > 0) { x = b; b = a % b; a = x; } return a; } int main() { int32_t n, a, b; scanf("%d", &n); while (n--) { scanf("%d %d", &a, &b); printf("%d\n", gcd(a, b)); ...
15.55
20
(translation_unit) "#include <stdint.h>\n#include <stdio.h>\n\nint gcd(int a, int b) {\n int32_t x;\n\n while (b > 0) {\n x = b;\n b = a % b;\n a = x;\n }\n\n return a;\n}\n\nint main() {\n int32_t n, a, b;\n\n scanf("%d", &n);\n\n while (n--) {\n scanf("%d %d", &a, &b);...
153
0
{"language": "c", "success": true, "metadata": {"lines": 20, "avg_line_length": 15.55, "nodes": 84, "errors": 0, "source_hash": "0c9a281e8b10b8a0b76c50408a3f408d510253f663eb2d32bc1f974f851fb053", "categorized_nodes": 65}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
2,377
c
// // CXDefineHeader.h // Pods // // #ifndef CXDefineHeader_h #define CXDefineHeader_h #import "CXFontAndColorMacros.h" #import "CXUtilsMacros.h" #import "UIView+CXExtension.h" #endif /* CXDefineHeader_h */
18
11
(translation_unit) "//\n// CXDefineHeader.h\n// Pods\n//\n\n//\n\n#ifndef CXDefineHeader_h\n#define CXDefineHeader_h\n\n#import "CXFontAndColorMacros.h"\n#import "CXUtilsMacros.h"\n#import "UIView+CXExtension.h"\n\n#endif /* CXDefineHeader_h */\n" (comment) "//" (comment) "// CXDefineHeader.h" (comment) "// P...
23
0
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 18.0, "nodes": 16, "errors": 0, "source_hash": "55abc9f37b930e8c0f4381edd3a870ae6853310db13e594ba28d9aa055537b63", "categorized_nodes": 8}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef CX...
2,378
c
// // WVRMineAvatarCellViewModel.h // WhaleyVR // // Created by qbshen on 2017/8/21. // Copyright © 2017年 Snailvr. All rights reserved. // #import "WVRTableViewCellViewModel.h" typedef NS_ENUM(NSInteger, WVRMAvatarClickType) { WVRMAvatarClickTypeLogin = 10, WVRMAvatarClickTypeRegister, WVRMAvatarClick...
34.67
24
(translation_unit) "//\n// WVRMineAvatarCellViewModel.h\n// WhaleyVR\n//\n// Created by qbshen on 2017/8/21.\n// Copyright © 2017年 Snailvr. All rights reserved.\n//\n\n#import "WVRTableViewCellViewModel.h"\n\ntypedef NS_ENUM(NSInteger, WVRMAvatarClickType) {\n WVRMAvatarClickTypeLogin = 10,\n WVRMAvatarClickT...
162
19
{"language": "c", "success": true, "metadata": {"lines": 24, "avg_line_length": 34.67, "nodes": 107, "errors": 0, "source_hash": "39a639feda192bb179ec5b6ec4bdd09cd041e95766fb983ef1b4c675b223d282", "categorized_nodes": 66}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "port \"W...
2,379
c
// // CDTLamoSettingsViewController.h // Lamo // // Created by <NAME> on 6/5/15. // Copyright (c) 2015 CortexDevTeam. All rights reserved. // #import <UIKit/UIKit.h> #import <Social/Social.h> #import "Lamo.h" #import "CDTLamoSettings.h" #import "CDTLamoDefaultWindowPane.h" #import "CDTLamoMinimizedWindowPane.h" #i...
36.78
27
(translation_unit) "//\n// CDTLamoSettingsViewController.h\n// Lamo\n//\n// Created by <NAME> on 6/5/15.\n// Copyright (c) 2015 CortexDevTeam. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n#import <Social/Social.h>\n#import "Lamo.h"\n#import "CDTLamoSettings.h"\n#import "CDTLamoDefaultWindowPane.h"\n#import ...
177
19
{"language": "c", "success": true, "metadata": {"lines": 27, "avg_line_length": 36.78, "nodes": 120, "errors": 0, "source_hash": "4e45a4486914457180c385a18f4cfb31267da44efc20abcf8d894e186f2fd31a", "categorized_nodes": 58}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import ...
2,380
c
#pragma once #include "BaseAIPerspective.h" class DummyPlayerPerspective : public BaseAIPerspective { public: DummyPlayerPerspective(Settings & settings) : BaseAIPerspective(settings) {} ~DummyPlayerPerspective() {} protected: Tile whichToDiscard() override; bool isAbleToWin(Tile tile) const override { ...
23.79
14
(translation_unit) "#pragma once\n\n#include "BaseAIPerspective.h"\n\nclass DummyPlayerPerspective : public BaseAIPerspective\n{\npublic:\nDummyPlayerPerspective(Settings & settings) : BaseAIPerspective(settings) {}\n~DummyPlayerPerspective() {}\nprotected:\n Tile whichToDiscard() override;\n bool isAbleToWin(Til...
89
3
{"language": "c", "success": true, "metadata": {"lines": 14, "avg_line_length": 23.79, "nodes": 45, "errors": 0, "source_hash": "37de7ac9ba9fffe243da29e69ba82f110cf58b47d30dca826c179825f069abdd", "categorized_nodes": 30}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
2,381
c
/***************************** LICENSE START *********************************** Copyright 2012 ECMWF and INPE. This software is distributed under the terms of the Apache License version 2.0. In applying this license, ECMWF does not waive the privileges and immunities granted to it by virtue of its status as an In...
40.33
24
(translation_unit) "/***************************** LICENSE START ***********************************\n\n Copyright 2012 ECMWF and INPE. This software is distributed under the terms\n of the Apache License version 2.0. In applying this license, ECMWF does not\n waive the privileges and immunities granted to it by virtue...
136
13
{"language": "c", "success": true, "metadata": {"lines": 24, "avg_line_length": 40.33, "nodes": 65, "errors": 0, "source_hash": "fb7c95c92bf76fb7414a9d30bca10440911859881cfdb73b026c54896960a08f", "categorized_nodes": 37}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
2,382
c
/** * @file normalize.c * ナンプレの標準形を求める * * なお、かなりの手抜きなので本来の意味の標準形ではない。 */ #include "numpl.h" #include "convert.h" #include "inline_functions.h" #include "normalize.h" #include "analyze.h" #include "common.h" #include <time.h> #include <stdlib.h> #include <stdio.h> #include <limits.h> #include <string.h> #include <...
26.35
138
(translation_unit) "/**\n * @file normalize.c\n * ナンプレの標準形を求める\n *\n * なお、かなりの手抜きなので本来の意味の標準形ではない。\n */\n#include "numpl.h"\n#include "convert.h"\n#include "inline_functions.h"\n#include "normalize.h"\n#include "analyze.h"\n#include "common.h"\n#include <time.h>\n#include <stdlib.h>\n#include <stdio.h>\n#include <limit...
1,046
0
{"language": "c", "success": true, "metadata": {"lines": 138, "avg_line_length": 26.35, "nodes": 618, "errors": 0, "source_hash": "b797d5b13f2b65f7bf75b7463745baeefee0f6ff5acc45249b4f2d24b81ef1ef", "categorized_nodes": 463}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": " \"...
2,383
c
/* mpq_mul -- mutiply two rational numbers. Copyright (C) 1991, 1994, 1995, 1996 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 Soft...
36.24
62
(translation_unit) "/* mpq_mul -- mutiply two rational numbers.\n\nCopyright (C) 1991, 1994, 1995, 1996 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...
499
2
{"language": "c", "success": true, "metadata": {"lines": 62, "avg_line_length": 36.24, "nodes": 282, "errors": 0, "source_hash": "54e1daca68588fb2036bf863874fb25589693c8b7cea1a656122140738993c07", "categorized_nodes": 239}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
2,384
c
/** * Copyright (C) 2006 <NAME> * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distribute...
32
49
(translation_unit) "/**\n * Copyright (C) 2006 <NAME>\n *\n * This program is free software; you can redistribute it and/or\n * modify it under the terms of the GNU General Public License\n * as published by the Free Software Foundation; either version 2\n * of the License, or (at your option) any later version.\n *\n ...
141
0
{"language": "c", "success": true, "metadata": {"lines": 49, "avg_line_length": 32.0, "nodes": 98, "errors": 0, "source_hash": "5416ec851e5596b7af7099d1cbff3ea08ff157a1e5efd269032b6b0d77b9963d", "categorized_nodes": 65}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef _...
2,385
c
/* Copyright 2018-present IsCool Entertainment Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
34.49
70
(translation_unit) "/*\n Copyright 2018-present IsCool Entertainment\n\n Licensed under the Apache License, Version 2.0 (the "License");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required b...
494
27
{"language": "c", "success": true, "metadata": {"lines": 70, "avg_line_length": 34.49, "nodes": 310, "errors": 0, "source_hash": "d446d7394b762f3e69853fbcdb2e8c06767704b9ee49875e614df3db37a7148a", "categorized_nodes": 206}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
2,386
c
/* * lfsr.c * */ #include <stdio.h> #include "datatypes.h" uint32_t parity(uint32_t x) { x ^= (x >> 16); x ^= (x >> 8); x ^= (x >> 4); x ^= (x >> 2); x ^= (x >> 1); return x & 1; } /* typedef struct { */ /* uint32_t register[8]; */ /* } lfsr_t; */ void compute_period(uint32_t feedback_polynomi...
17.6
263
(translation_unit) "/*\n * lfsr.c\n *\n */\n\n\n#include <stdio.h>\n#include "datatypes.h"\n\nuint32_t \nparity(uint32_t x) {\n\n x ^= (x >> 16);\n x ^= (x >> 8);\n x ^= (x >> 4);\n x ^= (x >> 2);\n x ^= (x >> 1);\n\n return x & 1;\n}\n\n\n/* typedef struct { */\n/* uint32_t register[8]; */\n/* } lfsr_t; */\n\n...
1,629
0
{"language": "c", "success": true, "metadata": {"lines": 263, "avg_line_length": 17.6, "nodes": 979, "errors": 0, "source_hash": "4a9104b50e980001443e43a8200e21ba699fa78240adabff6e1b0a82f6bd1b0e", "categorized_nodes": 718}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
2,387
c
/* * texture_pool.h * test_runner * * Created by Justin on 16/03/09. * Copyright 2009 Monkey Style Games. All rights reserved. * */ #ifndef __LXT_GFX_TEXTURE_POOL_H__ #define __LXT_GFX_TEXTURE_POOL_H__ #include "file/file.h" #include <map> #include <vector> #include "core/buffer.h" namespace Lxt { class ...
25.15
62
(translation_unit) "/*\n * texture_pool.h\n * test_runner\n *\n * Created by Justin on 16/03/09.\n * Copyright 2009 Monkey Style Games. All rights reserved.\n *\n */\n\n#ifndef __LXT_GFX_TEXTURE_POOL_H__\n#define __LXT_GFX_TEXTURE_POOL_H__\n\n#include "file/file.h"\n#include <map>\n#include <vector>\n#include "core...
297
17
{"language": "c", "success": true, "metadata": {"lines": 62, "avg_line_length": 25.15, "nodes": 165, "errors": 0, "source_hash": "f9b80435bb023fd1f96280ee7c74ad0031fe1463cec102aa4893b90f3f61fb19", "categorized_nodes": 119}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
2,388
c
// // LabelCustomization.h // CardinalEMVCoSDK // // Copyright © 2018 Cardinal Commerce. All rights reserved. // #import "Customization.h" /** * The LabelCustomization class provides methods for the 3DS Requestor App to pass label customization parameters to the 3DS SDK. */ @interface LabelCustomization : Custom...
30.46
24
(translation_unit) "//\n// LabelCustomization.h\n// CardinalEMVCoSDK\n//\n// Copyright © 2018 Cardinal Commerce. All rights reserved.\n//\n\n#import "Customization.h"\n\n/**\n * The LabelCustomization class provides methods for the 3DS Requestor App to pass label customization parameters to the 3DS SDK.\n */\n@inter...
65
13
{"language": "c", "success": true, "metadata": {"lines": 24, "avg_line_length": 30.46, "nodes": 43, "errors": 0, "source_hash": "afaa60c773833d1979f9b08512e68b4216b27c1185113295ce582ffccef02330", "categorized_nodes": 23}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import \"...
2,389
c
/* * This file is a part of the open source stm32plus library. * Copyright (c) 2011,2012,2013,2014 <NAME> <www.andybrown.me.uk> * Please see website for licensing terms. */ #pragma once /** * @file * This file provides access to the STM32 timer peripherals. The timers are incredibly configurable and * very pow...
39.45
164
(translation_unit) "/*\n * This file is a part of the open source stm32plus library.\n * Copyright (c) 2011,2012,2013,2014 <NAME> <www.andybrown.me.uk>\n * Please see website for licensing terms.\n */\n\n#pragma once\n\n/**\n * @file\n * This file provides access to the STM32 timer peripherals. The timers are incredibl...
783
0
{"language": "c", "success": true, "metadata": {"lines": 164, "avg_line_length": 39.45, "nodes": 450, "errors": 0, "source_hash": "3fd87466c5ff84f8ac044fe1ec02139708569bb7e0861292fe3de806b3b8ca60", "categorized_nodes": 364}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragm...
2,390
c
// // Generated by the J2ObjC translator. DO NOT EDIT! // source: android/libcore/luni/src/main/java/java/util/Observable.java // #ifndef _JavaUtilObservable_H_ #define _JavaUtilObservable_H_ #include "J2ObjC_header.h" @protocol JavaUtilList; @protocol JavaUtilObserver; @interface JavaUtilObservable : NSObject {...
33.39
33
(translation_unit) "//\n// Generated by the J2ObjC translator. DO NOT EDIT!\n// source: android/libcore/luni/src/main/java/java/util/Observable.java\n//\n\n#ifndef _JavaUtilObservable_H_\n#define _JavaUtilObservable_H_\n\n#include "J2ObjC_header.h"\n\n@protocol JavaUtilList;\n@protocol JavaUtilObserver;\n\n@interfac...
251
19
{"language": "c", "success": true, "metadata": {"lines": 33, "avg_line_length": 33.39, "nodes": 165, "errors": 0, "source_hash": "1c970b4ca9ca6272a6096e0297189fdde0f6fc3667aa605512f4cf7fcffd9a96", "categorized_nodes": 99}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
2,391
c
/*++ BUILD Version: 0001 // Increment this if a change has global effects Copyright (c) 1992 Microsoft Corporation Module Name: Remi.h Abstract: Author: <NAME> (davegi) 04-May-1992 Environment: Win32, User Mode --*/ #if ! defined( _REMI_ ) #define _REMI_ #define MAXPA...
30.03
60
(translation_unit) "/*++ BUILD Version: 0001 // Increment this if a change has global effects \n \nCopyright (c) 1992 Microsoft Corporation \n \nModule Name: \n \n Remi.h \n \nAbstract: \n \n \nAuthor: \n \n <NAME> (davegi) 04-May-1992 \n \nEnvironment: \n \n Win32, User Mode \n \n--*/ \n \n#if ! defined( ...
252
0
{"language": "c", "success": true, "metadata": {"lines": 60, "avg_line_length": 30.03, "nodes": 183, "errors": 0, "source_hash": "130fbba9c819cd517c33dd5e86ab0380df51aca3399e0bba015f464f15f802c6", "categorized_nodes": 95}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_if", "text": "#if ! defi...
2,392
c
////////////////////////////////////////////////////////// //Project 1 // //This is a utility header for the Dragons game. // //Contained herein is the data structures and functions // //necessary to play a game of Dragons. // //Author: <NAME> ...
30.8
143
(translation_unit) "//////////////////////////////////////////////////////////\n//Project 1 //\n//This is a utility header for the Dragons game. //\n//Contained herein is the data structures and functions //\n//necessary to play a game of Dragons. //\n...
613
27
{"language": "c", "success": true, "metadata": {"lines": 143, "avg_line_length": 30.8, "nodes": 340, "errors": 0, "source_hash": "4d3018720355c7058660e8b5d5192d8da976b10091e6c23b26121f4f37f11468", "categorized_nodes": 252}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
2,393
c
#include<stdio.h> #define MAX 100001; // Max size of stack int stack [MAX]; int top=-1; // current stack is empty void push(int data){ //function to push elements if(top==MAX) { printf("Overflow"); return; } top++; ...
27.24
37
(translation_unit) "#include<stdio.h>\n#define MAX 100001; // Max size of stack\nint stack [MAX];\nint top=-1; // current stack is empty\n\nvoid push(int data){ //function to push elements\n if(top==MAX) {\n printf("Overflow");\n return; }\n top...
273
0
{"language": "c", "success": true, "metadata": {"lines": 37, "avg_line_length": 27.24, "nodes": 136, "errors": 0, "source_hash": "e99c6d6bffc6b88d3cd60bf93cd0e94e6f61bf63737b8f38b9dc40cf5a13b47f", "categorized_nodes": 98}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
2,394
c
#import <Foundation/Foundation.h> #import "DSObject.h" /** * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen * Do not edit the class manually. */ @protocol DSRecipientPhoneAuthentication @end @interface DSRecipientPhoneAuthentication : ...
33.71
24
(translation_unit) "#import <Foundation/Foundation.h>\n#import "DSObject.h"\n\n/**\n * NOTE: This class is auto generated by the swagger code generator program.\n * https://github.com/swagger-api/swagger-codegen\n * Do not edit the class manually.\n */\n\n\n\n@protocol DSRecipientPhoneAuthentication\n@end\n\n@interface...
86
17
{"language": "c", "success": true, "metadata": {"lines": 24, "avg_line_length": 33.71, "nodes": 64, "errors": 0, "source_hash": "f7dc1d04c84279720a8fb3a98153bc099100eb6bd9795d7889586e3b6112dff6", "categorized_nodes": 31}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <...
2,395
c
/******************************************************************************* * Copyright (c) 2014 IBM Corp. * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * and Eclipse Distribution License v1.0 which accompany this d...
36.33
158
(translation_unit) "/*******************************************************************************\n * Copyright (c) 2014 IBM Corp.\n *\n * All rights reserved. This program and the accompanying materials\n * are made available under the terms of the Eclipse Public License v1.0\n * and Eclipse Distribution License v1...
1,122
2
{"language": "c", "success": true, "metadata": {"lines": 158, "avg_line_length": 36.33, "nodes": 617, "errors": 0, "source_hash": "e44efdaf6d59ccc740f046fbea26c36f8d70befd919c8cbe39a27d525d3f0399", "categorized_nodes": 415}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
2,396
c
#ifndef _IMAGE_IO_H #define _IMAGE_IO_H #include "image.h" //! \addtogroup image utilitaires pour manipuler des images ///@{ //! \file //! manipulation directe d'images //! charge une image a partir d'un fichier. renvoie Image::error() en cas d'echec. a detruire avec image::release( ). //! \param filemane nom de ...
37.45
49
(translation_unit) "#ifndef _IMAGE_IO_H\n#define _IMAGE_IO_H\n\n#include "image.h"\n\n\n//! \addtogroup image utilitaires pour manipuler des images\n///@{\n\n//! \file\n//! manipulation directe d'images\n\n//! charge une image a partir d'un fichier. renvoie Image::error() en cas d'echec. a detruire avec image::release(...
499
25
{"language": "c", "success": true, "metadata": {"lines": 49, "avg_line_length": 37.45, "nodes": 290, "errors": 0, "source_hash": "5904989bcdf8ef9ccc4e6400c7845768e520bafabf4c8db6e19d02b4825d52cc", "categorized_nodes": 167}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
2,397
c
/*********************** auth: <EMAIL> date: 2020-03-23 16:23:29 name: VloudStreamConfigBuilder.h ************************/ #import <Foundation/Foundation.h> #import "RTCMacros.h" #import "VloudStreamConfig.h" NS_ASSUME_NONNULL_BEGIN RTC_OBJC_EXPORT @interface VloudStreamConfigBuilder : NSObject + (VloudStreamConf...
36.06
36
(translation_unit) "/***********************\nauth: <EMAIL>\ndate: 2020-03-23 16:23:29\nname: VloudStreamConfigBuilder.h\n************************/\n\n#import <Foundation/Foundation.h>\n\n#import "RTCMacros.h"\n#import "VloudStreamConfig.h"\n\nNS_ASSUME_NONNULL_BEGIN\n\nRTC_OBJC_EXPORT\n@interface VloudStreamConfigBuil...
311
42
{"language": "c", "success": true, "metadata": {"lines": 36, "avg_line_length": 36.06, "nodes": 189, "errors": 0, "source_hash": "72083487dd2b343919423a38c440305f75b009cddfcfa6c37440e69388e13987", "categorized_nodes": 93}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import ...
2,398
c
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by <NAME>. // #import <ScreenReader/SCRApplication.h> __attribute__((visibility("hidden"))) @interface SCRCalendarApplication : SCRApplication { } - (id)_destinationElementForContentChooserElements:(...
37.76
17
(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 <ScreenReader/SCRApplication.h>\n\n__attribute__((visibility("hidden")))\n@interface SCRCalendarApplication : SCRApplication\n{\n}\n\n- (id)_destinationE...
164
14
{"language": "c", "success": true, "metadata": {"lines": 17, "avg_line_length": 37.76, "nodes": 93, "errors": 0, "source_hash": "0ca6682e3e3efd9da4b1d34361b4e7924acc3cd66b7979d15ea4cf5841348c86", "categorized_nodes": 59}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <...
2,399