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
/***************************************************************************** * @file helper.c * @author <NAME> * @brief Helpers for MP3 player *****************************************************************************/ /* FreeRTOS headers */ #include "FreeRTOS.h" #include "task.h" #include "queue.h" /...
24.66
277
(translation_unit) "/*****************************************************************************\n * @file helper.c\n * @author <NAME>\n * @brief Helpers for MP3 player\n*****************************************************************************/\n/* FreeRTOS headers */\n#include "FreeRTOS.h"\n#include "ta...
1,590
1
{"language": "c", "success": true, "metadata": {"lines": 277, "avg_line_length": 24.66, "nodes": 929, "errors": 0, "source_hash": "10788d54070bfea67b792a80016658a34393081e91a24250e1c0657ae9330261", "categorized_nodes": 693}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
1,500
c
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <pthread.h> #include <sys/socket.h> #include <arpa/inet.h> #define MAXLen 1024 typedef struct CTask{ int sockfd; int port; char* ip; char* str; }CTask; void client_thread(CTask* ctask); int main(int argc, char *argv[]){ ...
24.57
98
(translation_unit) "#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include <unistd.h>\n#include <pthread.h>\n#include <sys/socket.h>\n#include <arpa/inet.h>\n\n#define MAXLen 1024\n\ntypedef struct CTask{\n int sockfd;\n int port;\n char* ip;\n char* str;\n}CTask;\n\n\n\nvoid client_thread(CTask* ctask)...
992
0
{"language": "c", "success": true, "metadata": {"lines": 98, "avg_line_length": 24.57, "nodes": 626, "errors": 0, "source_hash": "9244d8f2d780bc1479246c8b179447533124905725d268fb15598781e0f128e3", "categorized_nodes": 416}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
1,501
c
--- channels/chan_console.c.orig 2015-11-05 09:54:11.190595000 +0100 +++ channels/chan_console.c @@ -60,6 +60,11 @@ #include <portaudio.h> +#if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__DragonFly__) +#include <pthread.h> +#include <signal.h> +#endif + #include "asterisk/module.h" #include "asteris...
24.71
14
(translation_unit) "--- channels/chan_console.c.orig 2015-11-05 09:54:11.190595000 +0100\n+++ channels/chan_console.c\n@@ -60,6 +60,11 @@\n \n #include <portaudio.h>\n \n+#if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__DragonFly__)\n+#include <pthread.h>\n+#include <signal.h>\n+#endif\n+\n #include "asteri...
134
15
{"language": "c", "success": true, "metadata": {"lines": 14, "avg_line_length": 24.71, "nodes": 107, "errors": 0, "source_hash": "d833fd9c510446609732d23c9b831db4a23c6540ac449ce070c3a5561ea0b095", "categorized_nodes": 66}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "--- channels/ch...
1,502
c
// Copyright © 2019-present 650 Industries. All rights reserved. #if __has_include(<ABI35_0_0EXSegment/ABI35_0_0EXSegment.h>) #import <ABI35_0_0EXSegment/ABI35_0_0EXSegment.h> #import <ABI35_0_0UMCore/ABI35_0_0UMModuleRegistryConsumer.h> NS_ASSUME_NONNULL_BEGIN @interface ABI35_0_0EXScopedSegment : ABI35_0_0EXSegmen...
42.22
9
(translation_unit) "// Copyright © 2019-present 650 Industries. All rights reserved.\n\n#if __has_include(<ABI35_0_0EXSegment/ABI35_0_0EXSegment.h>)\n#import <ABI35_0_0EXSegment/ABI35_0_0EXSegment.h>\n#import <ABI35_0_0UMCore/ABI35_0_0UMModuleRegistryConsumer.h>\n\nNS_ASSUME_NONNULL_BEGIN\n\n@interface ABI35_0_0EXScope...
44
8
{"language": "c", "success": true, "metadata": {"lines": 9, "avg_line_length": 42.22, "nodes": 32, "errors": 0, "source_hash": "6cd8db3276559c5d918001a0c0246ea8c2aaacaef64747eb601d136ba9e84070", "categorized_nodes": 19}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "if __has_include(...
1,503
c
/**************************************************************************** ** ** Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/ ** ** This file is part of the QtSCriptTools module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** GNU Lesser General Public L...
30.77
116
(translation_unit) "/****************************************************************************\n**\n** Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies).\n** Contact: http://www.qt-project.org/\n**\n** This file is part of the QtSCriptTools module of the Qt Toolkit.\n**\n** $QT_BEGIN_LICENSE:LGPL$\n**...
375
12
{"language": "c", "success": true, "metadata": {"lines": 116, "avg_line_length": 30.77, "nodes": 247, "errors": 0, "source_hash": "6223af767cbde56f3cfcb51ed0cdda9325f549de52c9919d87764235fcb11bf4", "categorized_nodes": 190}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
1,504
c
extern "C" { void egui_glium_pure_example_c_wrapper(); }
19.33
3
(translation_unit) "extern "C" {\n void egui_glium_pure_example_c_wrapper();\n}\n" (linkage_specification) "extern "C" {\n void egui_glium_pure_example_c_wrapper();\n}" (extern) "extern" (string_literal) ""C"" (") """ (string_content) "C" (") """ (declaration_list) "{\n void egu...
18
0
{"language": "c", "success": true, "metadata": {"lines": 3, "avg_line_length": 19.33, "nodes": 8, "errors": 0, "source_hash": "3990180259183c344d64aa5d35d7514fa6b3e8d3c148803de48762d3d8c8a578", "categorized_nodes": 5}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "linkage_specification", "text": "ext...
1,505
c
#pragma once static struct CookedPcEntry { const char* name; int32 bValid; } cookedPcFiles[] = { {"Editor.u", FALSE}, {"Engine.u", FALSE}, //{"GameFramework.u", FALSE}, //{"GFxIME.upk", FALSE}, //{"GFxUI.u", FALSE}, //{"GFxUIEditor.u", FALSE}, //{"GlobalPersist...
29.72
184
(translation_unit) "#pragma once\n\nstatic struct CookedPcEntry { const char* name; int32 bValid; } cookedPcFiles[] = {\n {"Editor.u", FALSE},\n {"Engine.u", FALSE},\n //{"GameFramework.u", FALSE},\n //{"GFxIME.upk", FALSE},\n //{"GFxUI.u", FALSE},\n //{"GFxUIEditor.u", ...
1,785
19
{"language": "c", "success": true, "metadata": {"lines": 184, "avg_line_length": 29.72, "nodes": 1039, "errors": 0, "source_hash": "ff0ca85b2dc5b6b138a79c3ced6283ec95108cc025b2ec7627aa9b35bb4514c7", "categorized_nodes": 710}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#prag...
1,506
c
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _GCD_H #define _GCD_H #include <linux/compiler.h> unsigned long gcd(unsigned long a, unsigned long b) __attribute_const__; #endif /* _GCD_H */
30.67
6
(translation_unit) "/* SPDX-License-Identifier: GPL-2.0 */\n#ifndef _GCD_H\n#define _GCD_H\n\n#include <linux/compiler.h>\n\nunsigned long gcd(unsigned long a, unsigned long b) __attribute_const__;\n\n#endif /* _GCD_H */\n" (comment) "/* SPDX-License-Identifier: GPL-2.0 */" (preproc_ifdef) "#ifndef _GCD_H\n#define ...
36
1
{"language": "c", "success": true, "metadata": {"lines": 6, "avg_line_length": 30.67, "nodes": 28, "errors": 0, "source_hash": "7de1b495ed255eb4faa7abbacfc1b0e4fa1d4e54bdadc3783b3176dc2be639c1", "categorized_nodes": 18}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef _...
1,507
c
// Copyright 2013 Tera Insights, LLC. All Rights Reserved. #ifndef _COMM_RECEIVER_H_ #define _COMM_RECEIVER_H_ #include "CommConfig.h" #include "EventGenerator.h" #include "EventGeneratorImp.h" #include "RemoteAddress.h" #include <string> #include <mutex> #include <condition_variable> #include <atomic> /** * Clas...
40.4
77
(translation_unit) "// Copyright 2013 Tera Insights, LLC. All Rights Reserved.\n\n#ifndef _COMM_RECEIVER_H_\n#define _COMM_RECEIVER_H_\n\n#include "CommConfig.h"\n\n#include "EventGenerator.h"\n#include "EventGeneratorImp.h"\n#include "RemoteAddress.h"\n\n#include <string>\n#include <mutex>\n#include <condition_variabl...
396
23
{"language": "c", "success": true, "metadata": {"lines": 77, "avg_line_length": 40.4, "nodes": 222, "errors": 0, "source_hash": "cb47426eceac4437504ec08491c2d7f03de13c3851f5a12609b402a64ad6b95a", "categorized_nodes": 161}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
1,508
c
#include <math.h> #include <stdio.h> #include <stdlib.h> #include "../../lib/matrix.h" int main(void) { Matrix A = matrix_alloc(3, 3); printf("Matrix A:\n"); matrix_set(A, 0, 0, 9.0); matrix_set(A, 0, 1, -18.0); matrix_set(A, 0, 2, 10.0); matrix_set(A, 1, 0, -36.0); matrix_set(A, 1, 1, 96....
28.92
36
(translation_unit) "#include <math.h>\n#include <stdio.h>\n#include <stdlib.h>\n\n#include "../../lib/matrix.h"\n\nint main(void) {\n Matrix A = matrix_alloc(3, 3);\n printf("Matrix A:\n");\n matrix_set(A, 0, 0, 9.0);\n matrix_set(A, 0, 1, -18.0);\n matrix_set(A, 0, 2, 10.0);\n matrix_set(A, 1, 0, -36...
364
0
{"language": "c", "success": true, "metadata": {"lines": 36, "avg_line_length": 28.92, "nodes": 192, "errors": 0, "source_hash": "adfa33f3ba143811b0e800835eec04c024d5bda1cb80a117f3e38d6a4ac7829d", "categorized_nodes": 149}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
1,509
c
#ifndef BACKTRACKING_H #define BACKTRACKING_H #include <string> #include <vector> int overlap(std::string a, std::string b, int min_length = 5); void backtranckingSCS( std::vector<std::string> a, size_t n, size_t depth,std::vector<bool> used, std::vector<std::string> curr, std::string stringThatLevel, std...
29.25
12
(translation_unit) "#ifndef BACKTRACKING_H\n#define BACKTRACKING_H\n\n#include <string>\n#include <vector>\n\nint \noverlap(std::string a, std::string b, int min_length = 5);\n\nvoid \nbacktranckingSCS( std::vector<std::string> a, size_t n,\n size_t depth,std::vector<bool> used, std::vector<std::string> curr, \n ...
124
8
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 29.25, "nodes": 88, "errors": 0, "source_hash": "5e00d73074638ebd407337383897895d3f4bbc990ca535894ab84f02439cb452", "categorized_nodes": 58}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
1,510
c
#ifndef __ALLOCATOR__ #define __ALLOCATOR__ #define FRAME_SIZE 4096 // 4K typedef struct Memblock { unsigned long start_addr; unsigned long size; unsigned long record_addr; // record frame_array start address in RECORD_DYNAMIC_BLOCK table } Memblock; /* * state >= 0 : There is an allocable,...
36.39
28
(translation_unit) "#ifndef __ALLOCATOR__\n#define __ALLOCATOR__\n\n#define FRAME_SIZE 4096 // 4K\n\ntypedef struct Memblock {\n unsigned long start_addr;\n unsigned long size;\n unsigned long record_addr; // record frame_array start address in RECORD_DYNAMIC_BLOCK table\n} Memblock;\n\n/*\n * sta...
137
0
{"language": "c", "success": true, "metadata": {"lines": 28, "avg_line_length": 36.39, "nodes": 101, "errors": 0, "source_hash": "d31134cfd0e5ab5001d580ceccf04938b903e1ce3e8c6a400ceca1e2187d041b", "categorized_nodes": 66}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
1,511
c
// // Created by <NAME> on 2019-05-02. // #include "libtar.h" #include <fcntl.h> #include <pthread.h> #include <util.h> #include <network.h> #include <protocol.h> #include <stdlib.h> #include <stdio.h> #include <client.h> #include <unistd.h> #include <time.h> #define CONCURRENCY 50 #define T1 clock_gettime(CLO...
29.76
227
(translation_unit) "//\n// Created by <NAME> on 2019-05-02.\n//\n\n#include "libtar.h"\n\n#include <fcntl.h>\n\n#include <pthread.h>\n\n#include <util.h>\n#include <network.h>\n#include <protocol.h>\n#include <stdlib.h>\n#include <stdio.h>\n\n#include <client.h>\n\n#include <unistd.h>\n\n#include <time.h>\n\n#define CO...
1,892
4
{"language": "c", "success": true, "metadata": {"lines": 227, "avg_line_length": 29.76, "nodes": 1078, "errors": 0, "source_hash": "a062d3845171c08f1eb39322033e210228d1cf0262291d3e6dbdb14958ab347d", "categorized_nodes": 756}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#i...
1,512
c
/* * Profiling infrastructure declarations. * * This file is based on gcc-internal definitions. Data structures are * defined to be compatible with gcc counterparts. For a better * understanding, refer to gcc source: gcc/gcov-io.h. * * Copyright IBM Corp. 2009 * Author(s): <NAME> <<EMAIL>> * * Us...
31.72
113
(translation_unit) "/*\n * Profiling infrastructure declarations.\n *\n * This file is based on gcc-internal definitions. Data structures are\n * defined to be compatible with gcc counterparts. For a better\n * understanding, refer to gcc source: gcc/gcov-io.h.\n *\n * Copyright IBM Corp. 2009\n * Author(s): ...
500
0
{"language": "c", "success": true, "metadata": {"lines": 113, "avg_line_length": 31.72, "nodes": 380, "errors": 0, "source_hash": "f67235bebf017579170bae8c92d5d967d56b3632674e9ab64269b52fe3e9905b", "categorized_nodes": 252}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
1,513
c
#ifndef FOGFORSTATEMENT_HXX #define FOGFORSTATEMENT_HXX class FogForStatement : public FogStatement { typedef FogStatement Super; typedef FogForStatement This; TYPEDECL_SINGLE(This, Super) FOGTOKEN_MEMBER_DECLS FOGTOKEN_LEAF_DECLS private: FogExprRef _init; FogExprRefToConst _test; ...
29.7
30
(translation_unit) "#ifndef FOGFORSTATEMENT_HXX\n#define FOGFORSTATEMENT_HXX\n\n\n\n\nclass FogForStatement : public FogStatement\n{\n typedef FogStatement Super;\n typedef FogForStatement This;\n TYPEDECL_SINGLE(This, Super)\n FOGTOKEN_MEMBER_DECLS\n FOGTOKEN_LEAF_DECLS\nprivate:\n FogExprRef _init;\...
235
14
{"language": "c", "success": true, "metadata": {"lines": 30, "avg_line_length": 29.7, "nodes": 140, "errors": 0, "source_hash": "36fbca71321e5a5c97685f30a2359782c8a847e99a7eebb644c6a58b7093ac08", "categorized_nodes": 102}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
1,514
c
/* * Copyright 2011-2019 Blender Foundation * * 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 ag...
29.88
34
(translation_unit) "/*\n * Copyright 2011-2019 Blender Foundation\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 req...
73
1
{"language": "c", "success": true, "metadata": {"lines": 34, "avg_line_length": 29.88, "nodes": 39, "errors": 0, "source_hash": "f4ef817f303dd89088bed836be285dfc4d312739124709f6727f78fadae58195", "categorized_nodes": 31}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
1,515
c
main() { int foo[3] = { 10, 20, 3 }; printf("Here's foo's contents: %d %d %d\n", foo[0], foo[1], foo[2]); }
17.83
6
(translation_unit) "main()\n{\n int foo[3] = { 10, 20, 3 };\n\n printf("Here's foo's contents: %d %d %d\n",\n foo[0], foo[1], foo[2]);\n}\n\n" (ERROR) "main()" (call_expression) "main()" (identifier) "main" (argument_list) "()" (() "(" ()) ")" (compound_statement) "{\n int foo[3] =...
58
1
{"language": "c", "success": true, "metadata": {"lines": 6, "avg_line_length": 17.83, "nodes": 29, "errors": 0, "source_hash": "0de01e91f549d8344e7125a25bda40f61c5f327c528ff6b066a668d936c25560", "categorized_nodes": 20}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "main()", "parent"...
1,516
c
/* * asm-generic/int-ll64.h * * Integer declarations for architectures which use "long long" * for 64-bit types. */ #ifndef _ASM_GENERIC_INT_LL64_H #define _ASM_GENERIC_INT_LL64_H #include <asm-generic/bitsperlong.h> #ifndef __ASSEMBLY__ /* * __xx is ok: it doesn't pollute the POSIX namespace. Use these in the...
24.19
58
(translation_unit) "/*\n * asm-generic/int-ll64.h\n *\n * Integer declarations for architectures which use "long long"\n * for 64-bit types.\n */\n\n#ifndef _ASM_GENERIC_INT_LL64_H\n#define _ASM_GENERIC_INT_LL64_H\n\n#include <asm-generic/bitsperlong.h>\n\n#ifndef __ASSEMBLY__\n/*\n * __xx is ok: it doesn't pollute the...
300
2
{"language": "c", "success": true, "metadata": {"lines": 58, "avg_line_length": 24.19, "nodes": 242, "errors": 0, "source_hash": "f3046148a555b050238ce0c5941d0262bcb879245e9f1eab27fa1f609a0a235e", "categorized_nodes": 129}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
1,517
c
#import <UIKit/UIKit.h> FOUNDATION_EXPORT double Pods_ImageCollectionVersionNumber; FOUNDATION_EXPORT const unsigned char Pods_ImageCollectionVersionString[];
39
4
(translation_unit) "#import <UIKit/UIKit.h>\n\n\nFOUNDATION_EXPORT double Pods_ImageCollectionVersionNumber;\nFOUNDATION_EXPORT const unsigned char Pods_ImageCollectionVersionString[];\n\n" (preproc_call) "#import <UIKit/UIKit.h>\n" (preproc_directive) "#import" (preproc_arg) "<UIKit/UIKit.h>" (declaration)...
23
1
{"language": "c", "success": true, "metadata": {"lines": 4, "avg_line_length": 39.0, "nodes": 15, "errors": 0, "source_hash": "6b3269bce28c708b88b1c4e4fbad56d6af57b4aa2f4ec39b1a38fbc3a24f6f82", "categorized_nodes": 10}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <UI...
1,518
c
// // AlarmStyleButtons.h // Awake // // Created by <NAME> on 2015-02-10. // Copyright (c) 2015 <NAME>. All rights reserved. // #import <UIKit/UIKit.h> #import "Colors.h" @interface AlarmStyleButtons : UIView @property NSString *imageName; @property UIImageView *imageView; @end//@interface AlarmStyleButtons : U...
23.77
13
(translation_unit) "//\n// AlarmStyleButtons.h\n// Awake\n//\n// Created by <NAME> on 2015-02-10.\n// Copyright (c) 2015 <NAME>. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n#import "Colors.h"\n\n@interface AlarmStyleButtons : UIView\n\n@property NSString *imageName;\n@property UIImageView *imageView;\n\n@e...
46
8
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 23.77, "nodes": 29, "errors": 0, "source_hash": "6d1520ec02ce9819e5757b219ff5645566552dd3e5fe8668aaedf3121e9816b2", "categorized_nodes": 14}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <...
1,519
c
// // NSNull+ZXLExtension.h // AFNetworking // // Created by 张小龙 on 2019/1/10. // #import <Foundation/Foundation.h> @interface NSNull (ZXLExtension) @end
16.44
9
(translation_unit) "//\n// NSNull+ZXLExtension.h\n// AFNetworking\n//\n// Created by 张小龙 on 2019/1/10.\n//\n\n#import <Foundation/Foundation.h>\n\n@interface NSNull (ZXLExtension)\n\n@end\n\n" (comment) "//" (comment) "// NSNull+ZXLExtension.h" (comment) "// AFNetworking" (comment) "//" (comment) "// Cr...
22
4
{"language": "c", "success": true, "metadata": {"lines": 9, "avg_line_length": 16.44, "nodes": 13, "errors": 0, "source_hash": "b71da1c34ee698531c7273d6747e8c39d32c42e8d9ebd9b8f70031e77f10f455", "categorized_nodes": 6}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "t <Foundati...
1,520
c
#include <winpr/crt.h> #include <winpr/print.h> #include <freerdp/codec/clear.h> static BYTE TEST_CLEAR_EXAMPLE_1[] = "\x03\xc3\x11\x00"; static BYTE TEST_CLEAR_EXAMPLE_2[] = "\x00\x0d\x00\x00\x00\x00\x00\x00\x00\x00\x82\x00\x00\x00\x00\x00" "\x00\x00\x4e\x00\x11\x00\x75\x00\x00\x00\x02\x0e\xff\xff\xff\x00" "\x00...
38.28
101
(translation_unit) "#include <winpr/crt.h>\n#include <winpr/print.h>\n\n#include <freerdp/codec/clear.h>\n\nstatic BYTE TEST_CLEAR_EXAMPLE_1[] = "\x03\xc3\x11\x00";\n\nstatic BYTE TEST_CLEAR_EXAMPLE_2[] =\n "\x00\x0d\x00\x00\x00\x00\x00\x00\x00\x00\x82\x00\x00\x00\x00\x00"\n "\x00\x00\x4e\x00\x11\x00\x75\x00\x00\x00\x0...
1,115
0
{"language": "c", "success": true, "metadata": {"lines": 101, "avg_line_length": 38.28, "nodes": 819, "errors": 0, "source_hash": "ba4aa6cbf788bd96774d26130d96f92fda9b2038afbb5a8c92d8c1ff324f10e7", "categorized_nodes": 290}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
1,521
c
/* -------------------------------------------------------------------------- * Name: bsearch.h * Purpose: Searching arrays * ----------------------------------------------------------------------- */ #define TYPE int #define NAME bsearch_int #include "bsearch-impl.h"
38.29
7
(translation_unit) "/* --------------------------------------------------------------------------\n * Name: bsearch.h\n * Purpose: Searching arrays\n * ----------------------------------------------------------------------- */\n\n#define TYPE int\n#define NAME bsearch_int\n\n#include "bsearch-impl.h"\n" (comment) ...
16
0
{"language": "c", "success": true, "metadata": {"lines": 7, "avg_line_length": 38.29, "nodes": 11, "errors": 0, "source_hash": "2c55e8b4d159deb74d8c01bba217f5c0e1ad79f83c7f40d9e1ee76d081f18848", "categorized_nodes": 5}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_def", "text": "#define TYPE...
1,522
c
#ifndef __MOONLIGHT_PTR_H__ #define __MOONLIGHT_PTR_H__ #include <wrl/client.h> namespace ml { template <typename T> using Ptr = Microsoft::WRL::ComPtr<T>; } #endif // !__MOONLIGHT_PTR_H__
20.22
9
(translation_unit) "#ifndef __MOONLIGHT_PTR_H__\n#define __MOONLIGHT_PTR_H__\n\n#include <wrl/client.h>\n\nnamespace ml\n{\n template <typename T>\n using Ptr = Microsoft::WRL::ComPtr<T>;\n}\n\n#endif // !__MOONLIGHT_PTR_H__\n" (preproc_ifdef) "#ifndef __MOONLIGHT_PTR_H__\n#define __MOONLIGHT_PTR_H__\n\n#include <wrl...
47
4
{"language": "c", "success": true, "metadata": {"lines": 9, "avg_line_length": 20.22, "nodes": 36, "errors": 0, "source_hash": "6d1f2ca77a45a46d4474164c7ef82ed45a2cad68bd5ff3917f46a6d757de843e", "categorized_nodes": 24}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef _...
1,523
c
// // CQueryStringPair.h // // Copyright (c) 2015 Certona. All rights reserved. // @import Foundation; @interface CQueryStringPair : NSObject <NSCoding, NSCopying> +(NSArray *) queryStringPairsFromKey:(NSString *) key andValue:(id) value; +(NSString *) queryStringFromParameters:(NSDictionary *...
24.52
25
(translation_unit) "// \n// CQueryStringPair.h \n// \n// Copyright (c) 2015 Certona. All rights reserved. \n// \n \n@import Foundation; \n \n@interface CQueryStringPair : NSObject <NSCoding, NSCopying> \n \n+(NSArray *) queryStringPairsFromKey:(NSString *) key \n andValue:(id) value; \n \n+(NSString *) queryStr...
151
18
{"language": "c", "success": true, "metadata": {"lines": 25, "avg_line_length": 24.52, "nodes": 93, "errors": 0, "source_hash": "617016d9426af48370a9f259a85f3867e08afe92280453fac5155ee4f8a4be26", "categorized_nodes": 56}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "@", "parent": nu...
1,524
c
/** @file blink_sequence.h @brief Some example sequence as own thread. @author <NAME> @version 1.0 @date 2.8.2020 Copyright 2020 <NAME>. This file is part of the eobjects project and shall only be used, modified, and distributed under the terms of the project licensing. By continuing to use, mo...
32.19
37
(translation_unit) "/**\n\n @file blink_sequence.h\n @brief Some example sequence as own thread.\n @author <NAME>\n @version 1.0\n @date 2.8.2020\n\n Copyright 2020 <NAME>. This file is part of the eobjects project and shall only be used,\n modified, and distributed under the terms of the project licens...
116
6
{"language": "c", "success": true, "metadata": {"lines": 37, "avg_line_length": 32.19, "nodes": 77, "errors": 0, "source_hash": "9ceab628439fc6cd4c0348b240fc83ead6343c7c0b18d5d89045d20780ca0ffa", "categorized_nodes": 53}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
1,525
c
/* * MTD engine * * IO engine that reads/writes from MTD character devices. * */ #include <stdio.h> #include <stdlib.h> #include <errno.h> #include <sys/ioctl.h> #include <mtd/mtd-user.h> #include "../fio.h" #include "../optgroup.h" #include "../oslib/libmtd.h" static libmtd_t desc; struct fio_mtd_data { struc...
25.33
202
(translation_unit) "/*\n * MTD engine\n *\n * IO engine that reads/writes from MTD character devices.\n *\n */\n#include <stdio.h>\n#include <stdlib.h>\n#include <errno.h>\n#include <sys/ioctl.h>\n#include <mtd/mtd-user.h>\n\n#include "../fio.h"\n#include "../optgroup.h"\n#include "../oslib/libmtd.h"\n\nstatic libmtd_t...
1,667
3
{"language": "c", "success": true, "metadata": {"lines": 202, "avg_line_length": 25.33, "nodes": 1020, "errors": 0, "source_hash": "af4513c0e3d6cb93028ec33ef30e0da957d578a8a210a510c0996a27e17bab76", "categorized_nodes": 748}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#i...
1,526
c
#include <stdio.h> int main() { int num_problems, solve, i, sum, count = 0; scanf("%i", &num_problems); while (0 < num_problems--) { sum = 0; for (i = 0; i < 3; i++) { scanf("%d", &solve); sum += solve; } if (sum > 1) count++;...
18.37
19
(translation_unit) "#include <stdio.h>\n\nint main()\n{\n int num_problems, solve, i, sum, count = 0;\n\n scanf("%i", &num_problems);\n while (0 < num_problems--)\n {\n sum = 0;\n for (i = 0; i < 3; i++)\n {\n scanf("%d", &solve);\n sum += solve;\n }\n ...
137
0
{"language": "c", "success": true, "metadata": {"lines": 19, "avg_line_length": 18.37, "nodes": 75, "errors": 0, "source_hash": "6afd20665b091a6622e25e15ed8c0927fd22d42e5e3da0dd2068647ee57ea2ed", "categorized_nodes": 57}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
1,527
c
// // SKYConversation.h // SKYKitChat // // Copyright 2016 Oursky Ltd. // // 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 // // U...
37.8
69
(translation_unit) "//\n// SKYConversation.h\n// SKYKitChat\n//\n// Copyright 2016 Oursky Ltd.\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...
338
33
{"language": "c", "success": true, "metadata": {"lines": 69, "avg_line_length": 37.8, "nodes": 217, "errors": 0, "source_hash": "b01852bdf8b68e2c476396f1d33759431003c8614dd5274ea8ae205b3da04e07", "categorized_nodes": 128}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import ...
1,528
c
#ifndef PID_H #define PID_H enum TwiddleState {BEST_ERROR_INIT, TRY_ADDITION, TRY_SUBTRACTION, OFFICIAL_UPDATE}; class PID { public: /** * Constructor */ PID(); /** * Destructor. */ virtual ~PID(); /** * Initialize PID. * @param (Kp_, Ki_, Kd_) The initial PID coefficients */ void ...
18.12
58
(translation_unit) "#ifndef PID_H\n#define PID_H\n\nenum TwiddleState {BEST_ERROR_INIT, TRY_ADDITION, TRY_SUBTRACTION, OFFICIAL_UPDATE};\n\nclass PID {\n public:\n /**\n * Constructor\n */\n PID();\n\n /**\n * Destructor.\n */\n virtual ~PID();\n\n /**\n * Initialize PID.\n * @param (Kp_, Ki_, Kd_) The...
203
3
{"language": "c", "success": true, "metadata": {"lines": 58, "avg_line_length": 18.12, "nodes": 132, "errors": 0, "source_hash": "f694d2fbda639d1a4a784ddae0c431feaaa53fc55dbc59f709580d75ca04cb21", "categorized_nodes": 87}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
1,529
c
#ifndef LUA_CONTROLSTATE_H_ #define LUA_CONTROLSTATE_H_ #include "Control.h" namespace gameplay { // Lua bindings for enum conversion functions for Control::State. Control::State lua_enumFromString_ControlState(const char* s); const char* lua_stringFromEnum_ControlState(Control::State e); } #endif
28.9
10
(translation_unit) "#ifndef LUA_CONTROLSTATE_H_\n#define LUA_CONTROLSTATE_H_\n\n#include "Control.h"\n\nnamespace gameplay\n{\n\n// Lua bindings for enum conversion functions for Control::State.\nControl::State lua_enumFromString_ControlState(const char* s);\nconst char* lua_stringFromEnum_ControlState(Control::State e...
60
2
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 28.9, "nodes": 37, "errors": 0, "source_hash": "596042cd5fa7e14c027d29293bd5b643d832cc35779ab2f2fb7540472883b5c5", "categorized_nodes": 25}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef L...
1,530
c
/* SPDX-License-Identifier: MIT */ #pragma once #include <mmu/address-translation-context.h> namespace captive { namespace arch { namespace mmu { class AArch64MMU { public: bool translate(gva_t va, AddressTranslationContext& ctx); }; } } }
18.92
13
(translation_unit) "/* SPDX-License-Identifier: MIT */\n#pragma once\n\n#include <mmu/address-translation-context.h>\n\nnamespace captive {\n namespace arch {\n namespace mmu {\n\n class AArch64MMU {\n public:\n bool translate(gva_t va, AddressTranslationContext& ctx);\n };\n }\n }\n}\n" (comment) "/* SPDX...
54
1
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 18.92, "nodes": 29, "errors": 0, "source_hash": "57b6f344edcc0cb61c2a2a8ff8970689497c3cf4868b64003bab1ded2d601697", "categorized_nodes": 24}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
1,531
c
/** * @file pcm86.h * @brief Interface of the 86-PCM */ #pragma once #include <sound/sound.h> #include <nevent.h> enum { PCM86_LOGICALBUF = 0x8000, PCM86_BUFSIZE = (1 << 16), PCM86_BUFMSK = ((1 << 16) - 1), PCM86_DIVBIT = 10, PCM86_DIVENV = (1 << PCM86_DIVBIT), PCM86_RESCUE = 20 };...
18.36
102
(translation_unit) "/** \n * @file pcm86.h \n * @brief Interface of the 86-PCM \n */ \n \n#pragma once \n \n#include <sound/sound.h> \n#include <nevent.h> \n \nenum { \n PCM86_LOGICALBUF = 0x8000, \n PCM86_BUFSIZE = (1 << 16), \n PCM86_BUFMSK = ((1 << 16) - 1), \n \n PCM86_DIVBIT = 10, \n PCM86_DIVENV = (1 << PCM86...
394
3
{"language": "c", "success": true, "metadata": {"lines": 102, "avg_line_length": 18.36, "nodes": 280, "errors": 0, "source_hash": "4cb6e6d52299a2ab412fa6e3f2b5e895cb558a09546c666e61def8285db39357", "categorized_nodes": 224}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragm...
1,532
c
/** * \file * \author <NAME> * \date no date * \brief Definition of the DiagramScene class. * * \copyright * Copyright (c) 2012-2021, OpenGeoSys Community (http://www.opengeosys.org) * Distributed under a Modified BSD License. * See accompanying file LICENSE.txt or * ht...
35.23
69
(translation_unit) "/**\n * \file\n * \author <NAME>\n * \date no date\n * \brief Definition of the DiagramScene class.\n *\n * \copyright\n * Copyright (c) 2012-2021, OpenGeoSys Community (http://www.opengeosys.org)\n * Distributed under a Modified BSD License.\n * See accompanying file LICE...
511
19
{"language": "c", "success": true, "metadata": {"lines": 69, "avg_line_length": 35.23, "nodes": 338, "errors": 0, "source_hash": "8bcce72ad61ba066c267a65f808ebf6cea37e00e7e4f0f2af744fa97df1663dc", "categorized_nodes": 220}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
1,533
c
#include "_string.h" void test_strrchr() {}
21
2
(translation_unit) "#include "_string.h"\n\nvoid test_strrchr() {}\n" (preproc_include) "#include "_string.h"\n" (#include) "#include" (string_literal) ""_string.h"" (") """ (string_content) "_string.h" (") """ (function_definition) "void test_strrchr() {}" (primitive_type) "void" ...
17
0
{"language": "c", "success": true, "metadata": {"lines": 2, "avg_line_length": 21.0, "nodes": 8, "errors": 0, "source_hash": "4131834fa27efdd4c95e12aa44448a829f11fae72f27aba395aed9c267289962", "categorized_nodes": 6}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#include \...
1,534
c
#ifndef __ERR_H__ #define __ERR_H__ typedef int ERR_VALUE; #define ERR_SUCCESS 0 #define ERR_INTERNAL_ERROR 1 #define ERR_OUT_OF_MEMORY 2 #define ERR_TYPE_MISMATCH 3 #define ERR_NOT_FOUND 4 #define ERR_TABLE_FULL 5 #define ERR_NOT_A_PRIME 6 #define ERR_UNKNOWN_OPTION 7 #...
32.36
64
(translation_unit) "#ifndef __ERR_H__\n#define __ERR_H__\n\n\ntypedef int ERR_VALUE;\n\n#define ERR_SUCCESS 0\n#define ERR_INTERNAL_ERROR 1\n#define ERR_OUT_OF_MEMORY 2\n#define ERR_TYPE_MISMATCH 3\n#define ERR_NOT_FOUND 4\n#define ERR_TABLE_FULL 5\n#define ERR_NOT_A_PRIME 6\n#de...
245
0
{"language": "c", "success": true, "metadata": {"lines": 64, "avg_line_length": 32.36, "nodes": 243, "errors": 0, "source_hash": "e9fd1cf633cb4a51fa649da5d2b8114cf64648ab333429fadb27b008400c7259", "categorized_nodes": 65}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
1,535
c
// // LGNoteFilterCollectionViewCell.h // LGAssistanter // // Created by hend on 2018/6/1. // Copyright © 2018年 hend. All rights reserved. // #import <UIKit/UIKit.h> @class LGNSubjectModel; @interface LGNNoteFilterCollectionViewCell : UICollectionViewCell /** 是否选中 */ @property (nonatomic, assign) BOOL selectedIt...
26.56
16
(translation_unit) "//\n// LGNoteFilterCollectionViewCell.h\n// LGAssistanter\n//\n// Created by hend on 2018/6/1.\n// Copyright © 2018年 hend. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@class LGNSubjectModel;\n@interface LGNNoteFilterCollectionViewCell : UICollectionViewCell\n\n/** 是否选中 */\n@property (...
76
16
{"language": "c", "success": true, "metadata": {"lines": 16, "avg_line_length": 26.56, "nodes": 52, "errors": 0, "source_hash": "b872c2bb509bf9091e6466b8999dc2132ad70c1f6f4979757535fa7cbc92775c", "categorized_nodes": 29}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "port <UIK...
1,536
c
#ifndef MATH_ROW_ECHELON_H #define MATH_ROW_ECHELON_H #include "MatrixTemplate.h" #include <vector> namespace Math { /** @ingroup Math * @brief Compute reduced row-eschelon form for a matrix A. * * Back-substitution of Ax=b is done by providing b at initialization. */ template <class T> class RowEchelon { public...
27.76
45
(ERROR) "#ifndef MATH_ROW_ECHELON_H\n#define MATH_ROW_ECHELON_H\n\n#include "MatrixTemplate.h"\n#include <vector>\n\nnamespace Math {\n\n/** @ingroup Math\n * @brief Compute reduced row-eschelon form for a matrix A.\n *\n * Back-substitution of Ax=b is done by providing b at initialization.\n */\ntemplate <class T>\ncl...
328
30
{"language": "c", "success": true, "metadata": {"lines": 45, "avg_line_length": 27.76, "nodes": 188, "errors": 0, "source_hash": "4d2f4233f93f3f5f9dc68404ba5bf69330c109c36f4f5c18b9feb0e2e3104b41", "categorized_nodes": 126}, "ast": {"root": "ERROR", "nodes": [{"id": 0, "type": "ERROR", "text": "#ifndef MATH_ROW_ECHELON_...
1,537
c
// arguments.h //============================================================================== #ifndef CLIB_ARGUMENTS_HEADER #define CLIB_ARGUMENTS_HEADER //============================================================================== #include <stdarg.h> #include <clib/types.h> //=====================================...
34.23
39
(translation_unit) "// arguments.h\n//==============================================================================\n#ifndef CLIB_ARGUMENTS_HEADER\n#define CLIB_ARGUMENTS_HEADER\n//==============================================================================\n#include <stdarg.h>\n#include <clib/types.h>\n//==========...
200
0
{"language": "c", "success": true, "metadata": {"lines": 39, "avg_line_length": 34.23, "nodes": 149, "errors": 0, "source_hash": "e249bdec7b5e8487b1b2b20e873b60f3d76b3613b13b1a8fe351a78008e40c99", "categorized_nodes": 99}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
1,538
c
// This file is a part of Simple-XX/SimpleKernel // (https://github.com/Simple-XX/SimpleKernel). // // pmm.h for Simple-XX/SimpleKernel. #ifndef _PMM_H_ #define _PMM_H_ #ifdef __cplusplus extern "C" { #endif #include "stddef.h" #include "stdint.h" #include "multiboot2.h" // A common problem is getting garbage data...
28.52
158
(translation_unit) "// This file is a part of Simple-XX/SimpleKernel\n// (https://github.com/Simple-XX/SimpleKernel).\n//\n// pmm.h for Simple-XX/SimpleKernel.\n\n#ifndef _PMM_H_\n#define _PMM_H_\n\n#ifdef __cplusplus\nextern "C" {\n#endif\n\n#include "stddef.h"\n#include "stdint.h"\n#include "multiboot2.h"\n\n// A com...
599
0
{"language": "c", "success": true, "metadata": {"lines": 158, "avg_line_length": 28.52, "nodes": 418, "errors": 0, "source_hash": "050be1893ca238d130d0a57c4293eb9290d95f43e9883a0e17266f34ca347766", "categorized_nodes": 236}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
1,539
c
// license:BSD-3-Clause // copyright-holders:<NAME> /********************************************************************** Copyright (C) <NAME>' 2008 Hewlett Packard HP48 S/SX & G/GX and HP49 G **********************************************************************/ #ifndef MAME_INCLUDES_HP84_H #define MAME_INC...
32.19
176
(translation_unit) "// license:BSD-3-Clause\n// copyright-holders:<NAME>\n/**********************************************************************\n\n Copyright (C) <NAME>' 2008\n\n Hewlett Packard HP48 S/SX & G/GX and HP49 G\n\n**********************************************************************/\n#ifndef MAME_INC...
1,261
42
{"language": "c", "success": true, "metadata": {"lines": 176, "avg_line_length": 32.19, "nodes": 780, "errors": 0, "source_hash": "d98c4f492b09f5d3d852e3cc5d8013fe3d6452344f7384c835b27b0f91be6d86", "categorized_nodes": 523}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
1,540
c
#include "filesys/inode.h" #include <list.h> #include <debug.h> #include <round.h> #include <string.h> #include "filesys/filesys.h" #include "filesys/free-map.h" #include "threads/malloc.h" /* Identifies an inode. */ #define INODE_MAGIC 0x494e4f44 /* On-disk inode. Must be exactly BLOCK_SECTOR_SIZE bytes long. */ ...
35.94
270
(translation_unit) "#include "filesys/inode.h"\n#include <list.h>\n#include <debug.h>\n#include <round.h>\n#include <string.h>\n#include "filesys/filesys.h"\n#include "filesys/free-map.h"\n#include "threads/malloc.h"\n\n/* Identifies an inode. */\n#define INODE_MAGIC 0x494e4f44\n\n/* On-disk inode.\n Must be exactly ...
1,745
1
{"language": "c", "success": true, "metadata": {"lines": 270, "avg_line_length": 35.94, "nodes": 1110, "errors": 0, "source_hash": "08f71ef9941e7c5bab8f9f59d35ef251a900e2748a333876d24a9e9e57aec5a0", "categorized_nodes": 799}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#i...
1,541
c
/* * Copyright 2010, <NAME>, <EMAIL>. * Distributed under the terms of the MIT License. */ #ifndef _SYSTEM_ARCH_ARM_DEFS_H #define _SYSTEM_ARCH_ARM_DEFS_H #define SPINLOCK_PAUSE() do {} while (false) #endif /* _SYSTEM_ARCH_ARM_DEFS_H */
23.2
10
(translation_unit) "/*\n * Copyright 2010, <NAME>, <EMAIL>.\n * Distributed under the terms of the MIT License.\n */\n#ifndef _SYSTEM_ARCH_ARM_DEFS_H\n#define _SYSTEM_ARCH_ARM_DEFS_H\n\n\n#define SPINLOCK_PAUSE() do {} while (false)\n\n\n#endif /* _SYSTEM_ARCH_ARM_DEFS_H */\n" (comment) "/*\n * Copyright 2010, <NAME>...
17
0
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 23.2, "nodes": 12, "errors": 0, "source_hash": "0b0ac0e2920ff37cf28b1602418df30933a5fb5c3f85bb6384d238393180fdad", "categorized_nodes": 7}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef _S...
1,542
c
#include "messages.h" #include <stdlib.h> #include <stdio.h> #include <sys/msg.h> int sendMessage(int msgid, struct message* msg) { return msgsnd(msgid, msg, (sizeof(struct message) - sizeof(long)), 0); }
25.25
8
(translation_unit) "#include "messages.h"\n#include <stdlib.h>\n#include <stdio.h>\n#include <sys/msg.h>\n\n\nint sendMessage(int msgid, struct message* msg) {\n return msgsnd(msgid, msg, (sizeof(struct message) - sizeof(long)), 0);\n}" (preproc_include) "#include "messages.h"\n" (#include) "#include" (str...
71
0
{"language": "c", "success": true, "metadata": {"lines": 8, "avg_line_length": 25.25, "nodes": 46, "errors": 0, "source_hash": "77c79bc13d297b48ec85a57201d4603d4e223be779d4eae1181358156770d02f", "categorized_nodes": 36}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#includ...
1,543
c
#ifndef NIM_WIN_GUI_CAPTURE_WND_H_ #define NIM_WIN_GUI_CAPTURE_WND_H_ #include "capture_def.h" #include "ui_capture_edit.h" #include "ui_color_palette.h" #define DeTrackState(n) ((n) & 0x03) #define DeSizeState(n) ((n) & 0xFFFFFFFC) class CCaptureEdit; class CaptureWindow : public ui::WindowImplBase { public: Captu...
31.04
109
(translation_unit) "#ifndef NIM_WIN_GUI_CAPTURE_WND_H_\n#define NIM_WIN_GUI_CAPTURE_WND_H_\n\n#include "capture_def.h"\n#include "ui_capture_edit.h"\n#include "ui_color_palette.h"\n\n#define DeTrackState(n) ((n) & 0x03)\n#define DeSizeState(n) ((n) & 0xFFFFFFFC)\n\nclass CCaptureEdit;\nclass CaptureWindow : public ui::...
938
36
{"language": "c", "success": true, "metadata": {"lines": 109, "avg_line_length": 31.04, "nodes": 621, "errors": 0, "source_hash": "dd805255e9f83594d0cefff4f69330462a01e13db3589df340149397fd2daf74", "categorized_nodes": 452}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
1,544
c
#pragma once #include <onut/BlendMode.h> #include <onut/ForwardDeclaration.h> #include "_2DRendererComponent.h" #if BARK_EDITOR #include "Gizmo2DRenderer.h" #endif OForwardDeclare(Texture); ForwardDeclare(SpriteRendererComponent); class SpriteRendererComponent final : public _2DRendererComponent #if BARK_EDITOR...
31.59
74
(translation_unit) "#pragma once\n\n#include <onut/BlendMode.h>\n#include <onut/ForwardDeclaration.h>\n#include "_2DRendererComponent.h"\n#if BARK_EDITOR\n#include "Gizmo2DRenderer.h"\n#endif\n\nOForwardDeclare(Texture);\nForwardDeclare(SpriteRendererComponent);\n\nclass SpriteRendererComponent final \n : public _2D...
669
15
{"language": "c", "success": true, "metadata": {"lines": 74, "avg_line_length": 31.59, "nodes": 364, "errors": 0, "source_hash": "e543a56d1bd50543b8c4c1bc05dc6fec0c5393b1928192a3c5591edb09456c36", "categorized_nodes": 265}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
1,545
c
/** * @file * @brief A convenience header * * A header which includes all headers needed for a front-end */ #pragma once #ifdef __cplusplus extern "C" { #endif #include "boot-loader.h" #include "config.h" #include "drives.h" #include "install.h" #include "lickdir.h" #include "llist.h" #include "menu.h" #include ...
16.32
22
(translation_unit) "/**\n * @file\n * @brief A convenience header\n *\n * A header which includes all headers needed for a front-end\n */\n\n#pragma once\n#ifdef __cplusplus\nextern "C" {\n#endif\n\n#include "boot-loader.h"\n#include "config.h"\n#include "drives.h"\n#include "install.h"\n#include "lickdir.h"\n#include ...
78
0
{"language": "c", "success": true, "metadata": {"lines": 22, "avg_line_length": 16.32, "nodes": 43, "errors": 0, "source_hash": "64ef5ecbaf799a9c1c91987ef9fc89a675ec025bafc933df81a06643feabce2e", "categorized_nodes": 39}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
1,546
c
// SPDX-FileCopyrightText: 2021 <NAME> // SPDX-License-Identifier: MIT #pragma once #include <Tests/Test.h> #include <Jolt/Physics/Body/Body.h> // This test will switch a body between static, kinematic and dynamic class ChangeMotionTypeTest : public Test { public: JPH_DECLARE_RTTI_VIRTUAL(ChangeMotionTypeTest) //...
32
19
(translation_unit) "// SPDX-FileCopyrightText: 2021 <NAME>\n// SPDX-License-Identifier: MIT\n\n#pragma once\n\n#include <Tests/Test.h>\n#include <Jolt/Physics/Body/Body.h>\n\n// This test will switch a body between static, kinematic and dynamic\nclass ChangeMotionTypeTest : public Test\n{\npublic:\n JPH_DECLARE_RTTI_VI...
114
6
{"language": "c", "success": true, "metadata": {"lines": 19, "avg_line_length": 32.0, "nodes": 71, "errors": 0, "source_hash": "de80f224a711a1af77edc448c0e4287053f8dcb7c9df811fdd8e8800b5135646", "categorized_nodes": 50}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma on...
1,547
c
30 atime=1386526221.800506486 30 ctime=1374498496.709307302
29
2
(translation_unit) "30 atime=1386526221.800506486\n30 ctime=1374498496.709307302\n" (ERROR) "30 atime=1386526221.800506486\n30 ctime=1374498496.709307302" (number_literal) "30" (identifier) "atime" (=) "=" (ERROR) "1386526221.800506486\n30" (number_literal) "1386526221.800506486" (number_l...
12
2
{"language": "c", "success": true, "metadata": {"lines": 2, "avg_line_length": 29.0, "nodes": 11, "errors": 0, "source_hash": "4dc17ff28735f8ef735ff4daed8f4375b1c14ab8f74fa1efb07dd7a6607a588f", "categorized_nodes": 7}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "30 atime=1386526221...
1,548
c
// // ViewController.h // WFWebImage // // Created by feiwu on 15/8/29. // Copyright (c) 2015年 feiwu. All rights reserved. // #import <UIKit/UIKit.h> @interface ViewController : UITableViewController @end
19.9
10
(translation_unit) "//\n// ViewController.h\n// WFWebImage\n//\n// Created by feiwu on 15/8/29.\n// Copyright (c) 2015年 feiwu. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface ViewController : UITableViewController\n\n@end\n" (comment) "//" (comment) "// ViewController.h" (comment) "// WFWe...
22
4
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 19.9, "nodes": 12, "errors": 0, "source_hash": "c17fcdd79a9e062d68353afa3adeb2bdf7264c433b3c25389f8252df1c4e1d7e", "categorized_nodes": 6}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "mport <UIKi...
1,549
c
// // VSCStaticEnveloppe.h // EnveloppeEditor // // Created by <NAME> on 1/26/12. // Copyright (c) 2012 JBAT. All rights reserved. // #ifndef VSC_STATIC_ENVELOPPE_H #define VSC_STATIC_ENVELOPPE_H #include <list> #include <string> #include <boost/shared_ptr.hpp> #include <boost/serialization/list.hpp> #include ...
31.95
225
(translation_unit) "//\n// VSCStaticEnveloppe.h\n// EnveloppeEditor\n//\n// Created by <NAME> on 1/26/12.\n// Copyright (c) 2012 JBAT. All rights reserved.\n//\n\n#ifndef VSC_STATIC_ENVELOPPE_H\n#define VSC_STATIC_ENVELOPPE_H\n\n\n\n#include <list>\n#include <string>\n\n#include <boost/shared_ptr.hpp>\n#include <bo...
1,340
55
{"language": "c", "success": true, "metadata": {"lines": 225, "avg_line_length": 31.95, "nodes": 798, "errors": 0, "source_hash": "25326e9d81b67bd27edd14a9f76143c42a2cad10aa1ec6197170925b85cb3e97", "categorized_nodes": 578}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
1,550
c
/* * Automatically Generated from Mathematica. * Thu 4 Nov 2021 16:55:59 GMT-04:00 */ #ifndef JP_LEFT_HIP_PITCH_SRC_H #define JP_LEFT_HIP_PITCH_SRC_H #ifdef MATLAB_MEX_FILE #include <tmwtypes.h> #else #include "rtwtypes.h" #endif void Jp_left_hip_pitch_src(double *p_output1, const double *var1); #endif /* JP_LE...
23.14
14
(translation_unit) "/*\n * Automatically Generated from Mathematica.\n * Thu 4 Nov 2021 16:55:59 GMT-04:00\n */\n\n#ifndef JP_LEFT_HIP_PITCH_SRC_H\n#define JP_LEFT_HIP_PITCH_SRC_H\n\n#ifdef MATLAB_MEX_FILE\n#include <tmwtypes.h>\n#else\n#include "rtwtypes.h"\n#endif\n\nvoid Jp_left_hip_pitch_src(double *p_output1, cons...
46
0
{"language": "c", "success": true, "metadata": {"lines": 14, "avg_line_length": 23.14, "nodes": 34, "errors": 0, "source_hash": "d3791435721c1c3627eb297ba44bfbb740d876f7fb5984f828901603f5f4727c", "categorized_nodes": 22}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
1,551
c
// FEATURE // See COPYING and AUTHORS for copyright and license agreement terms. // $Id: const.h 1101 2011-09-12 08:43:33Z mikewong899 $ #ifndef CONST_H #define CONST_H // FEATURE constants #define FeatureDirEnvStr "FEATURE_DIR" #define PdbDirEnvStr "PDB_DIR" #define DsspDirEnvStr "DSSP_D...
31.8
10
(translation_unit) "// FEATURE\n// See COPYING and AUTHORS for copyright and license agreement terms.\n\n// $Id: const.h 1101 2011-09-12 08:43:33Z mikewong899 $\n\n#ifndef CONST_H\n#define CONST_H\n\n// FEATURE constants\n#define FeatureDirEnvStr "FEATURE_DIR"\n#define PdbDirEnvStr "PDB_DIR"\n#define ...
24
0
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 31.8, "nodes": 19, "errors": 0, "source_hash": "6968efa9a75d85d44edf07242b557b114136bcba18a62eb72c9b4dcaf984207e", "categorized_nodes": 8}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef CO...
1,552
c
#include "PublicParametersInterop.h" #include <stdlib.h> #include "gmp.h" #include "elliptic/AffinePoint.h" #include "elliptic/EllipticCurve.h" #include "identity-based/HashFunction.h" #include "identity-based/PublicParameters.h" PublicParameters* EMSCRIPTEN_KEEPALIVE cryptid_interop_allocatePublicParameters( ...
36.07
42
(translation_unit) "#include "PublicParametersInterop.h"\n\n#include <stdlib.h>\n\n#include "gmp.h"\n\n#include "elliptic/AffinePoint.h"\n#include "elliptic/EllipticCurve.h"\n#include "identity-based/HashFunction.h"\n#include "identity-based/PublicParameters.h"\n\n\nPublicParameters* EMSCRIPTEN_KEEPALIVE cryptid_intero...
378
5
{"language": "c", "success": true, "metadata": {"lines": 42, "avg_line_length": 36.07, "nodes": 223, "errors": 0, "source_hash": "5b386ce04d3f530726c9a94b07b5b5406f7165b80cb127f28ea9fe5db3a46d81", "categorized_nodes": 177}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
1,553
c
// // NSManagedObject+AutoDescription.h // Created by <NAME> on 09.09.10. // #import <CoreData/CoreData.h> @interface NSManagedObject(AutoDescription) - (NSString *)description; @end
22.12
8
(translation_unit) "//\n// NSManagedObject+AutoDescription.h\n// Created by <NAME> on 09.09.10.\n//\n#import <CoreData/CoreData.h>\n\n@interface NSManagedObject(AutoDescription)\n\n- (NSString *)description;\n\n@end\n" (comment) "//" (comment) "// NSManagedObject+AutoDescription.h" (comment) "// Created by <N...
34
4
{"language": "c", "success": true, "metadata": {"lines": 8, "avg_line_length": 22.12, "nodes": 20, "errors": 0, "source_hash": "18aa1bdc10dc416f9f4e7f7622855a0df50bebdcae0cf399ae05cd4be2c070dc", "categorized_nodes": 9}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <Co...
1,554
c
/** * Definition for a binary tree node. * struct TreeNode { * int val; * struct TreeNode *left; * struct TreeNode *right; * }; */ /** * Return an array of arrays of size *returnSize. * The sizes of the arrays are returned as *columnSizes array. * Note: Both returned array and *columnSizes array m...
26.57
98
(translation_unit) "/**\n * Definition for a binary tree node.\n * struct TreeNode {\n * int val;\n * struct TreeNode *left;\n * struct TreeNode *right;\n * };\n */\n/**\n * Return an array of arrays of size *returnSize.\n * The sizes of the arrays are returned as *columnSizes array.\n * Note: Both returned...
1,014
0
{"language": "c", "success": true, "metadata": {"lines": 98, "avg_line_length": 26.57, "nodes": 670, "errors": 0, "source_hash": "583b9121f6c0f135d8db44d8aeb46cdf7c4abfe12cfc81e871278b29bd93a471", "categorized_nodes": 423}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "function_definition", "text": "...
1,555
c
// ************************************** // File: CharSet.h // Copyright: Copyright(C) 2013-2017 Wuhan KOTEI Informatics Co., Ltd. All rights reserved. // Website: http://www.nuiengine.com // Description: This code is part of NUI Engine (NUI Graphics Lib) // Comments: // Rev: 2 // Created...
38.14
88
(translation_unit) " **************************************\n// File: CharSet.h\n// Copyright: Copyright(C) 2013-2017 Wuhan KOTEI Informatics Co., Ltd. All rights reserved.\n// Website: http://www.nuiengine.com\n// Description: This code is part of NUI Engine (NUI Graphics Lib)\n// Comments:\n// Rev...
696
32
{"language": "c", "success": true, "metadata": {"lines": 88, "avg_line_length": 38.14, "nodes": 510, "errors": 0, "source_hash": "491c89fc69c67fab253d4989026e89660ffc59b05d068c44e35cfc79881e879f", "categorized_nodes": 344}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "fndef ...
1,556
c
// // OAFileManager.h // SchoolHelper // // Created by 陈林 on 16/8/2. // Copyright © 2016年 SEN. All rights reserved. // #import <Foundation/Foundation.h> #import "OAFile.h" #import <TCBlobDownload/TCBlobDownload.h> #import "OAFileListVC.h" #import <AFNetworking/AFNetworking.h> @interface OAFileManager : NSObje...
37.48
31
(ERROR) "//\n// OAFileManager.h\n// SchoolHelper\n//\n// Created by 陈林 on 16/8/2.\n// Copyright © 2016年 SEN. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n#import "OAFile.h"\n#import <TCBlobDownload/TCBlobDownload.h>\n#import "OAFileListVC.h"\n\n\n#import <AFNetworking/AFNetworking.h>\n\n\n\n@inter...
278
36
{"language": "c", "success": true, "metadata": {"lines": 31, "avg_line_length": 37.48, "nodes": 175, "errors": 0, "source_hash": "df5f4f5c02a0b33cfb80f7f8d6e2f029660275b0faeb719311adbf0cb4366079", "categorized_nodes": 95}, "ast": {"root": "ERROR", "nodes": [{"id": 0, "type": "ERROR", "text": "//\n// OAFileManager.h\n/...
1,557
c
/** * Copyright 2021 Huawei Technologies Co., Ltd * * 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...
35.21
43
(translation_unit) "/**\n * Copyright 2021 Huawei Technologies Co., Ltd\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unle...
151
0
{"language": "c", "success": true, "metadata": {"lines": 43, "avg_line_length": 35.21, "nodes": 110, "errors": 0, "source_hash": "acabec021522c443b97774fe704e2323c23ee8543033ef4836b0854700836a59", "categorized_nodes": 65}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
1,558
c
/** garbagecollector.c * This file implements memory operations which are handled in * one-directional list and it releases all memory resources when program * finishes. * Author: <NAME> xpatri00 * Collaborators: * <NAME> xhorna14 * <NAME> xjance00 * <NAME> xhubin03 * */ #include <stdlib.h>...
23.49
183
(translation_unit) "/** garbagecollector.c\n * This file implements memory operations which are handled in\n * one-directional list and it releases all memory resources when program\n * finishes.\n * Author: <NAME> xpatri00\n * Collaborators:\n * <NAME> xhorna14\n * <NAME> xjance00\n * <NAME> xhubin0...
909
0
{"language": "c", "success": true, "metadata": {"lines": 183, "avg_line_length": 23.49, "nodes": 522, "errors": 0, "source_hash": "6fc90cb3d7cc70f4ee48ae97c53d83f5456e755b4e8794e377feeff54e03d2e2", "categorized_nodes": 350}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
1,559
c
/* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */ /* All Rights Reserved */ /* THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T */ /* The copyright notice above does not evidence any */ /* actual or intended publication of such source code. */ #ident "@(#)unix.c 1.3 92/07/14 SMI" /* SVr4.0 1.2 */...
24.26
114
(translation_unit) "/* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */\n/* All Rights Reserved */\n\n/* THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T */\n/* The copyright notice above does not evidence any */\n/* actual or intended publication of such source code. */\n\n#ident "@(#)unix.c 1.3 92/07/14 S...
717
0
{"language": "c", "success": true, "metadata": {"lines": 114, "avg_line_length": 24.26, "nodes": 402, "errors": 0, "source_hash": "90756e1f470b141a17c5f1a12f3f7a22cda27967d290073c6b50bf7af0cd3250", "categorized_nodes": 307}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#ident...
1,560
c
/** * This header is generated by class-dump-z 0.2a. * class-dump-z is Copyright (C) 2009 by KennyTM~, licensed under GPLv3. * * Source: (null) */ #import "IFavAudioPlayerExt.h" #import "FavRecordLeftThumbRightLabelNodeView.h" @class NSString, FavAudioInfo; @interface FavRecordVoiceNodeView : FavRecordLeftThumb...
31.6
25
(translation_unit) "/**\n * This header is generated by class-dump-z 0.2a.\n * class-dump-z is Copyright (C) 2009 by KennyTM~, licensed under GPLv3.\n *\n * Source: (null)\n */\n\n#import "IFavAudioPlayerExt.h"\n#import "FavRecordLeftThumbRightLabelNodeView.h"\n\n@class NSString, FavAudioInfo;\n\n@interface FavRecordVo...
219
22
{"language": "c", "success": true, "metadata": {"lines": 25, "avg_line_length": 31.6, "nodes": 136, "errors": 0, "source_hash": "dcb608a42a0f6bd642c76ad3cf06f504f6f26d6822194fca468a1013259ff562", "categorized_nodes": 76}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import \...
1,561
c
#include "../resource.h" #define IDB_TOOLBAR 1000
16.67
3
(translation_unit) "#include "../resource.h" \n \n#define IDB_TOOLBAR 1000 \n" (preproc_include) "#include "../resource.h" \n" (#include) "#include" (string_literal) ""../resource.h"" (") """ (string_content) "../resource.h" (") """ (preproc_def) "#define IDB_TOOLBAR 1000 \n" (#define)...
11
0
{"language": "c", "success": true, "metadata": {"lines": 3, "avg_line_length": 16.67, "nodes": 7, "errors": 0, "source_hash": "dcb9f256e8dc33c4e68b7e4d4970c21e7e4b01415207def4a473adb92cf5f246", "categorized_nodes": 4}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#include ...
1,562
c
//////////////////////////////////////////////////////////////////////////// // Module : ef_storage_штдшту.h // Created : 25.03.2002 // Modified : 11.10.2002 // Author : <NAME> // Description : Evaluation functions storage class inline functions ////////////////////////////////////////////////////////////////////...
35.41
17
(translation_unit) "////////////////////////////////////////////////////////////////////////////\n// Module : ef_storage_штдшту.h\n// Created : 25.03.2002\n// Modified : 11.10.2002\n// Author : <NAME>\n// Description : Evaluation functions storage class inline functions\n//////////////////////////////////////////...
117
6
{"language": "c", "success": true, "metadata": {"lines": 17, "avg_line_length": 35.41, "nodes": 57, "errors": 0, "source_hash": "273a12742066e1fcb192e7141f3998305d806f91f5f883e2057831a5bd5b83b0", "categorized_nodes": 38}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "a once\n\...
1,563
c
#include "Enemie.h" #include <stdlib.h> struct _EnemiesProps{ int direction; int typeMove; }; typedef struct _EnemiesProps EnemiesProps; Element* Enemie_create(char symbol,int color,int typeMove){ EnemiesProps* props = (EnemiesProps*) malloc(sizeof(EnemiesProps)); props->typeMove = typeMove; sw...
28.02
40
(translation_unit) "#include "Enemie.h"\n\n\n#include <stdlib.h>\nstruct _EnemiesProps{\n int direction;\n int typeMove;\n};\n\ntypedef struct _EnemiesProps EnemiesProps;\n\nElement* Enemie_create(char symbol,int color,int typeMove){\n\n EnemiesProps* props = (EnemiesProps*) malloc(sizeof(EnemiesProps));\n ...
324
0
{"language": "c", "success": true, "metadata": {"lines": 40, "avg_line_length": 28.02, "nodes": 218, "errors": 0, "source_hash": "de001d11eba73798b646ca5af8fac2c561e19a0b358a859c86948d3af6518553", "categorized_nodes": 142}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
1,564
c
// // PGCDecimal.c // PGCFoundation // // Created by <NAME> on 2/23/2012. // Copyright (c) 2012 <NAME>. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, inclu...
35.85
93
(translation_unit) "//\n// PGCDecimal.c\n// PGCFoundation\n//\n// Created by <NAME> on 2/23/2012.\n// Copyright (c) 2012 <NAME>.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the "Software"), to deal\n// in the Softwa...
567
0
{"language": "c", "success": true, "metadata": {"lines": 93, "avg_line_length": 35.85, "nodes": 336, "errors": 0, "source_hash": "3e99d0bbb23c4313eb339e0fca921c9f6a4e937601506f08aff0d1b3fd8df068", "categorized_nodes": 222}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
1,565
c
// // MCBarChartViewController.h // MCChartView // // Created by zhmch0329 on 15/8/17. // Copyright (c) 2015年 zhmch0329. All rights reserved. // #import <UIKit/UIKit.h> @interface MCBarChartViewController : UIViewController @end
22.3
10
(translation_unit) "//\n// MCBarChartViewController.h\n// MCChartView\n//\n// Created by zhmch0329 on 15/8/17.\n// Copyright (c) 2015年 zhmch0329. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface MCBarChartViewController : UIViewController\n\n@end\n" (comment) "//" (comment) "// MCBarChartViewC...
19
3
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 22.3, "nodes": 10, "errors": 0, "source_hash": "70e0d57661252e630520aa70ba4737ccf8a1b1184156ad366983a8cf70b27276", "categorized_nodes": 5}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "mport <UIKi...
1,566
c
// // XVIEWUmengManager.h // XVIEWUmengManager // // Created by zd on 2019/2/22. // Copyright © 2019 zd. All rights reserved. // #import <Foundation/Foundation.h> @interface XVIEWUmengManager : NSObject /** * 单例 */ + (instancetype)sharedUmengManager; /** * 注册友盟 @param param data {appId 友盟key}, */ ...
18.16
19
(translation_unit) "//\n// XVIEWUmengManager.h\n// XVIEWUmengManager\n//\n// Created by zd on 2019/2/22.\n// Copyright © 2019 zd. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n\n@interface XVIEWUmengManager : NSObject\n\n/**\n * 单例\n */\n+ (instancetype)sharedUmengManager;\n\n/**\n * 注册友盟\n @para...
50
6
{"language": "c", "success": true, "metadata": {"lines": 19, "avg_line_length": 18.16, "nodes": 28, "errors": 0, "source_hash": "393c640b6237c4740b106cfe08d489ac6d61bfba77a69fe6d0fe77d751545916", "categorized_nodes": 15}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <F...
1,567
c
#include "blitter.h" typedef struct { BitmapT *src; BitmapT *dst; BitmapT *msk; ULONG start; UWORD size; } StateT; static StateT state[1]; __regargs void BlitterCopyMaskedSetup(BitmapT *dst, UWORD x, UWORD y, BitmapT *src, BitmapT *msk) { UWORD dstmod = dst->bytesPer...
29.06
62
(translation_unit) "#include "blitter.h"\n\ntypedef struct {\n BitmapT *src;\n BitmapT *dst;\n BitmapT *msk;\n ULONG start;\n UWORD size;\n} StateT;\n\nstatic StateT state[1];\n\n__regargs void BlitterCopyMaskedSetup(BitmapT *dst, UWORD x, UWORD y,\n BitmapT *src, BitmapT *msk)...
686
2
{"language": "c", "success": true, "metadata": {"lines": 62, "avg_line_length": 29.06, "nodes": 457, "errors": 0, "source_hash": "341ce149222ad0d167388da20e2d0b2d73613106ee01d156c46981d73680e0ae", "categorized_nodes": 370}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
1,568
c
#pragma once #include <ppgso/ppgso.h> #include "scene.h" const unsigned int MW_SIZE = 850; // menu window size class MenuWindow : public ppgso::Window { private: Scene scene; void initWindow(); public: bool gameStart = false; MenuWindow(); void onIdle() override; void onKey(int key, int scanCode, int a...
23.79
14
(translation_unit) "#pragma once\n\n#include <ppgso/ppgso.h>\n#include "scene.h"\n\nconst unsigned int MW_SIZE = 850; // menu window size\n\nclass MenuWindow : public ppgso::Window {\n private:\n Scene scene;\n void initWindow();\n public:\n bool gameStart = false;\n MenuWindow();\n void onIdle() override;\n void...
107
2
{"language": "c", "success": true, "metadata": {"lines": 14, "avg_line_length": 23.79, "nodes": 66, "errors": 0, "source_hash": "f9ba26c7413b34f47fe908e32c6fd3f549f50780d229e653496e3b3522bb5e0b", "categorized_nodes": 41}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
1,569
c
// // NSObject+MethodIdentify.h // RouterTest // // Created by Goko on 27/07/2017. // Copyright © 2017 Goko. All rights reserved. // #import <Foundation/Foundation.h> @interface NSObject (Utils) -(void)addProperty:(NSString *)propertyName withValue:(id)value; -(id)propertyValue:(NSString *)propertyName; -(void)c...
31.13
15
(translation_unit) "//\n// NSObject+MethodIdentify.h\n// RouterTest\n//\n// Created by Goko on 27/07/2017.\n// Copyright © 2017 Goko. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n\n@interface NSObject (Utils)\n\n-(void)addProperty:(NSString *)propertyName withValue:(id)value;\n-(id)propertyValue:(...
122
11
{"language": "c", "success": true, "metadata": {"lines": 15, "avg_line_length": 31.13, "nodes": 63, "errors": 0, "source_hash": "03f8750e35c3adeb6ab17e058e9de4cb8b85a5e14ea62dddb3f4483659e34f9b", "categorized_nodes": 42}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <F...
1,570
c
/** * Copyright @ 深圳市谷米万物科技有限公司. 2009-2019. All rights reserved. * File name: log_service.h * Author: 王志华 * Version: 1.0 * Date: 2019-05-21 * Description: 来自于cJSON,删除了大部分不用的功能和特性,print函数完全重写 * Others: * Function List: 1. 创建对象 2. 添加数字 ...
20.39
301
(translation_unit) "/** \n * Copyright @ 深圳市谷米万物科技有限公司. 2009-2019. All rights reserved. \n * File name: log_service.h \n * Author: 王志华 \n * Version: 1.0 \n * Date: 2019-05-21 \n * Description: 来自于cJSON,删除了大部分不用的功能和特性,print函数完全重写 \n * Others: \n * Function List: ...
1,845
0
{"language": "c", "success": true, "metadata": {"lines": 301, "avg_line_length": 20.39, "nodes": 1165, "errors": 0, "source_hash": "15713c04c1769e0d2c77b92896b86b629be4c57ec86d4f08c6a78a7e4baa9975", "categorized_nodes": 740}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "* ...
1,571
c
#pragma once #include <stdint.h> #include <string.h> #include <string> // No-OP for now being. #define FBSYSTRACE_UNLIKELY(x) x #define FBSYSTRACE_LIKELY(x) x #define FBSYSTRACE_MAX_MESSAGE_LENGTH 1024 #define FBSYSTRACE_MAX_SECTION_NAME_LENGTH 1024 #define TRACE_TAG_REACT_CXX_BRIDGE 0 #define TRACE_TAG_REACT_APPS ...
36.71
52
(translation_unit) "#pragma once\n\n#include <stdint.h>\n#include <string.h>\n#include <string>\n\n// No-OP for now being.\n#define FBSYSTRACE_UNLIKELY(x) x\n#define FBSYSTRACE_LIKELY(x) x\n\n#define FBSYSTRACE_MAX_MESSAGE_LENGTH 1024\n#define FBSYSTRACE_MAX_SECTION_NAME_LENGTH 1024\n\n#define TRACE_TAG_REACT_CXX_BRIDG...
459
27
{"language": "c", "success": true, "metadata": {"lines": 52, "avg_line_length": 36.71, "nodes": 284, "errors": 0, "source_hash": "35a0df3d16b8d558d4210c7ef140fa58d4f616eb4d8f5ed469fe5d818d50da8c", "categorized_nodes": 174}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
1,572
c
#ifndef CONFIRMPAGE_H #define CONFIRMPAGE_H #include <QDialog> #include "QDebug" #include "fileparser.h" namespace shapeID { extern int I_D; } namespace properID { extern int UNIQUE_ID; } /** * @brief confirmpage() * ui page for adding and editing shapes * */ namespace Ui { class confirmpage; } class...
20.93
91
(translation_unit) "#ifndef CONFIRMPAGE_H\n#define CONFIRMPAGE_H\n\n#include <QDialog>\n#include "QDebug"\n\n#include "fileparser.h"\n\nnamespace shapeID\n{\n extern int I_D;\n}\n\nnamespace properID\n{\n extern int UNIQUE_ID;\n}\n\n\n/**\n * @brief confirmpage()\n * ui page for adding and editing shapes\n *\n */...
292
4
{"language": "c", "success": true, "metadata": {"lines": 91, "avg_line_length": 20.93, "nodes": 187, "errors": 0, "source_hash": "5e01d5012277a292eda806fd3051f21f7fef8ce36bb0494e4a2dbc8f804e33e4", "categorized_nodes": 132}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
1,573
c
/* Copyright (c) 2016, <NAME> <<EMAIL>> All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the ...
42.39
70
(translation_unit) "/*\nCopyright (c) 2016, <NAME> <<EMAIL>>\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are\nmet:\n * Redistributions of source code must retain the above copyright\n notice, this...
193
0
{"language": "c", "success": true, "metadata": {"lines": 70, "avg_line_length": 42.39, "nodes": 134, "errors": 0, "source_hash": "2b9bab034da470b90b5da622981acd8b1f1d6885821d41edc2fdec7f13c7ead4", "categorized_nodes": 81}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
1,574
c
/***************************************************************************** This file is part of x2600, the Atari 2600 Emulator =================================================== Copyright 1996 <NAME>. For contributions see the file CREDITS. This software is distributed under the terms of the GNU ...
28.09
57
(translation_unit) "/*****************************************************************************\n\n This file is part of x2600, the Atari 2600 Emulator\n ===================================================\n \n Copyright 1996 <NAME>. For contributions see the file CREDITS.\n\n This software is distributed ...
236
0
{"language": "c", "success": true, "metadata": {"lines": 57, "avg_line_length": 28.09, "nodes": 135, "errors": 0, "source_hash": "3e3e5fc3ec42a6fd3c0a80c83ecf68378e33ff593bcde07b95d7bed6c770cd89", "categorized_nodes": 106}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
1,575
c
// // DDVideoPlayerManager.h // DuoDUoAnimateHouse // // Created by 唐天成 on 2018/5/10. // Copyright © 2018年 唐天成. All rights reserved. // #import <Foundation/Foundation.h> #import "ZFPlayer.h" //@class ZFHttpRequest; //@class ZFFileModel; //@protocol ZFManagerDownLoadDelegate <NSObject> // //// 开始下载 ////- (void)ZF...
26.9
98
(translation_unit) "//\n// DDVideoPlayerManager.h\n// DuoDUoAnimateHouse\n//\n// Created by 唐天成 on 2018/5/10.\n// Copyright © 2018年 唐天成. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n#import "ZFPlayer.h"\n\n//@class ZFHttpRequest;\n//@class ZFFileModel;\n\n//@protocol ZFManagerDownLoadDelegate <NSO...
406
37
{"language": "c", "success": true, "metadata": {"lines": 98, "avg_line_length": 26.9, "nodes": 235, "errors": 0, "source_hash": "d1ef9ae0df7f99fcce99944ad6068c18b096076386546d6e69d68aa46ebd320c", "categorized_nodes": 129}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "tion/Fou...
1,576
c
// // SDSwitchCell.h // SDKit // // Created by <NAME> on 10/18/11. // Copyright 2011 Bixby Apps. All rights reserved. // #import <UIKit/UIKit.h> /** SDSwitchCell Provides a UISwitch inside a UITableViewCell, accessable through the native `switchItem` property. The UISwitch instance is aligned to the right s...
26.79
28
(translation_unit) "//\n// SDSwitchCell.h\n// SDKit\n//\n// Created by <NAME> on 10/18/11.\n// Copyright 2011 Bixby Apps. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n/**\n SDSwitchCell\n \n Provides a UISwitch inside a UITableViewCell, accessable through the native `switchItem` property.\n \n The UISwitch ...
41
6
{"language": "c", "success": true, "metadata": {"lines": 28, "avg_line_length": 26.79, "nodes": 22, "errors": 0, "source_hash": "d4da1541ff32c3df66f556fc11a2f14b281609d08095ca528740f04d58c21a83", "categorized_nodes": 11}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <...
1,577
c
/** * @file Main.c * @author vishalK * @brief * @version @ref VERSION * @date 2020-12-20 * @bug No known bugs at the time of development * */ #include <stdio.h> #include <stdint.h> #include "Logger.h" /** * @brief Printfunction to be registered with Logger * * @param str String to be pr...
24.24
49
(translation_unit) "/** \n * @file Main.c \n * @author vishalK \n * @brief \n * @version @ref VERSION \n * @date 2020-12-20 \n * @bug No known bugs at the time of development \n * \n */ \n \n#include <stdio.h> \n#include <stdint.h> \n#include "Logger.h" \n \n/** \n * @brief Printfunction to be registered with Logger ...
152
0
{"language": "c", "success": true, "metadata": {"lines": 49, "avg_line_length": 24.24, "nodes": 73, "errors": 0, "source_hash": "716a466685e92c9de045ab9627a6c1726ae240a5e8695846c53ad0df62e681ea", "categorized_nodes": 54}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
1,578
c
#pragma once #include <libs/util.hpp> #include "widgets.h" #include <QDir> #include <QWidget> #include <QLabel> #include <QGridLayout> #include <QScrollArea> #include <QButtonGroup> #include <boost/property_tree/info_parser.hpp> #include <boost/property_tree/xml_parser.hpp> #include <boost/algorithm/string.hpp> #incl...
24.13
39
(translation_unit) "#pragma once\n#include <libs/util.hpp>\n#include "widgets.h"\n\n#include <QDir>\n#include <QWidget>\n#include <QLabel>\n#include <QGridLayout>\n#include <QScrollArea>\n#include <QButtonGroup>\n\n#include <boost/property_tree/info_parser.hpp>\n#include <boost/property_tree/xml_parser.hpp>\n#include <...
227
5
{"language": "c", "success": true, "metadata": {"lines": 39, "avg_line_length": 24.13, "nodes": 164, "errors": 0, "source_hash": "46ad8ec6cd409104759683579bb1f11ae01c6d8537188282af69fc7d55c6fcfc", "categorized_nodes": 117}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
1,579
c
/* * * (c) Copyright 1993 OPEN SOFTWARE FOUNDATION, INC. * (c) Copyright 1993 HEWLETT-PACKARD COMPANY * (c) Copyright 1993 DIGITAL EQUIPMENT CORPORATION * To anyone who acknowledges that this file is provided "AS IS" * without any express or implied warranty: * permission to use, copy, modify, a...
32.95
179
(translation_unit) "/*\n * \n * (c) Copyright 1993 OPEN SOFTWARE FOUNDATION, INC.\n * (c) Copyright 1993 HEWLETT-PACKARD COMPANY\n * (c) Copyright 1993 DIGITAL EQUIPMENT CORPORATION\n * To anyone who acknowledges that this file is provided "AS IS"\n * without any express or implied warranty:\n * permiss...
821
1
{"language": "c", "success": true, "metadata": {"lines": 179, "avg_line_length": 32.95, "nodes": 418, "errors": 0, "source_hash": "9a270583122140c83baa0175475a6eaed275d779c8407ed1542cfacd31657aab", "categorized_nodes": 306}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
1,580
c
// stdafx.h : include file for standard system include files, // or project specific include files that are used frequently, but // are changed infrequently // #pragma once #include "targetver.h" #include <stdio.h> #include <tchar.h> #include <iostream> #include <iomanip> // TODO: reference additional headers you...
20.35
23
(translation_unit) "// stdafx.h : include file for standard system include files,\n// or project specific include files that are used frequently, but\n// are changed infrequently\n//\n\n#pragma once\n\n#include "targetver.h"\n\n#include <stdio.h>\n#include <tchar.h>\n#include <iostream>\n#include <iomanip>\n\n\n\n// TO...
83
0
{"language": "c", "success": true, "metadata": {"lines": 23, "avg_line_length": 20.35, "nodes": 48, "errors": 0, "source_hash": "90f120377fee991cc547cfdc6c38581fe952516a2a1db0f8df1eb1b91a633e01", "categorized_nodes": 35}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
1,581
c
#include "game.h" #include <stdbool.h> #include <math.h> #include <assert.h> #define HIT_SPEED_INC 0.00025 static float clamp(float x, float min, float max) { if (x < min) return min; if (x > max) return max; return x; } typedef struct { // IF no collision detected time equal to INFINITY float time; Vec...
36.28
249
(translation_unit) "#include "game.h"\n\n#include <stdbool.h>\n#include <math.h>\n#include <assert.h>\n\n#define HIT_SPEED_INC 0.00025\n\nstatic float clamp(float x, float min, float max) {\n if (x < min) return min;\n if (x > max) return max;\n return x;\n}\n\ntypedef struct {\n // IF no collision detected time eq...
2,906
0
{"language": "c", "success": true, "metadata": {"lines": 249, "avg_line_length": 36.28, "nodes": 1879, "errors": 0, "source_hash": "4122551b557708468dca1c4ca6344eb8fa2e6af5e5c255ae810efe5016111560", "categorized_nodes": 1365}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#...
1,582
c
// AUTOGENERATED FILE - DO NOT MODIFY! // This file generated by Djinni from react.djinni #import <Foundation/Foundation.h> @protocol RVJobDispatcher - (void)start; - (void)quit; @end
22.12
8
(translation_unit) "// AUTOGENERATED FILE - DO NOT MODIFY!\n// This file generated by Djinni from react.djinni\n\n#import <Foundation/Foundation.h>\n\n\n@protocol RVJobDispatcher\n\n- (void)start;\n\n- (void)quit;\n\n@end\n" (comment) "// AUTOGENERATED FILE - DO NOT MODIFY!" (comment) "// This file generated by Dji...
37
4
{"language": "c", "success": true, "metadata": {"lines": 8, "avg_line_length": 22.12, "nodes": 22, "errors": 0, "source_hash": "bfeab802dcf2a6f4e2270881116e2dce0d0131e8455c31040409da341de88a1c", "categorized_nodes": 10}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <F...
1,583
c
#ifndef LIB_WEBRTC_RTC_VIDEO_RENDERER_HXX #define LIB_WEBRTC_RTC_VIDEO_RENDERER_HXX #include "rtc_types.h" namespace libwebrtc { template <typename VideoFrameT> class RTCVideoRenderer { public: virtual ~RTCVideoRenderer() {} virtual void OnFrame(VideoFrameT frame) = 0; }; } // namespace libwebrtc #endif //...
28.08
12
(translation_unit) "#ifndef LIB_WEBRTC_RTC_VIDEO_RENDERER_HXX\n#define LIB_WEBRTC_RTC_VIDEO_RENDERER_HXX\n\n#include "rtc_types.h"\n\nnamespace libwebrtc {\n\ntemplate <typename VideoFrameT>\nclass RTCVideoRenderer {\n public:\n virtual ~RTCVideoRenderer() {}\n\n virtual void OnFrame(VideoFrameT frame) = 0;\n};\n\n} ...
66
3
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 28.08, "nodes": 42, "errors": 0, "source_hash": "8ef1a65540a3cf11346cd724ec2145e60158ea26e66c3ecd69cc07840bb620dd", "categorized_nodes": 29}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
1,584
c
#ifndef API_FROM_UX_H #define API_FROM_UX_H #include <QString> #include <QDateTime> #include <QMetaType> class APIFromUX { public: explicit APIFromUX(); APIFromUX(const APIFromUX&); enum MarkerIs { OTHER, SECOND, THIS }; MarkerIs mark; ///<< Добавления маркера при передачи. void reset(); }; Q_DEC...
23.4
15
(translation_unit) "#ifndef API_FROM_UX_H\n#define API_FROM_UX_H\n#include <QString>\n#include <QDateTime>\n#include <QMetaType>\n\nclass APIFromUX {\npublic:\n explicit APIFromUX();\n APIFromUX(const APIFromUX&);\n enum MarkerIs { OTHER, SECOND, THIS };\n\n MarkerIs mark; ///<< Добавления маркера при перед...
83
1
{"language": "c", "success": true, "metadata": {"lines": 15, "avg_line_length": 23.4, "nodes": 50, "errors": 0, "source_hash": "575aed82108c886e9daaee60a9281b312de2e70faaf8482a0e360594928db2ba", "categorized_nodes": 42}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef A...
1,585
c
/* Copyright (c) 2017, <NAME> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, * this list of conditions and the...
21.84
203
(translation_unit) "/* Copyright (c) 2017, <NAME>\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions are met:\n *\n * 1. Redistributions of source code must retain the above copyright notice,\n * this...
1,209
0
{"language": "c", "success": true, "metadata": {"lines": 203, "avg_line_length": 21.84, "nodes": 784, "errors": 0, "source_hash": "f71a03b5d1dce869c872145a05608115f373b7c37937990b5c41ca01102158ca", "categorized_nodes": 549}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
1,586
c
/****************************************************************************** * Copyright (c) 2020 <NAME>. * All rights reserved. This program and the accompanying materials are made * available under the terms of LICENSE.txt. * * Contributors: * <NAME> and others ******************************************...
33.23
30
(translation_unit) "/******************************************************************************\n * Copyright (c) 2020 <NAME>.\n * All rights reserved. This program and the accompanying materials are made\n * available under the terms of LICENSE.txt.\n *\n * Contributors:\n * <NAME> and others\n ***************...
136
4
{"language": "c", "success": true, "metadata": {"lines": 30, "avg_line_length": 33.23, "nodes": 81, "errors": 0, "source_hash": "7ce55572f558d728dda9ae56a839b0d28b50f302dcbf3c15f3d024e9ada95483", "categorized_nodes": 61}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
1,587
c
#include <CuckyGameLib/CuckyGameLib.h> #include <CuckyGameLib/Log.h> #include <CuckyGameLib/Backend/Core.h> #include <CuckyGameLib/Backend/Render.h> #include <stdio.h> CGL_Bool Log_Callback(void *conn_user, void *user) { CGL_Log_Userdata *log_user = (CGL_Log_Userdata*)user; fprintf(stdout, "%s %s\n", ((const char *...
27.36
33
(translation_unit) "#include <CuckyGameLib/CuckyGameLib.h>\n#include <CuckyGameLib/Log.h>\n#include <CuckyGameLib/Backend/Core.h>\n#include <CuckyGameLib/Backend/Render.h>\n\n#include <stdio.h>\n\nCGL_Bool Log_Callback(void *conn_user, void *user)\n{\n CGL_Log_Userdata *log_user = (CGL_Log_Userdata*)user;\n fprintf(std...
235
0
{"language": "c", "success": true, "metadata": {"lines": 33, "avg_line_length": 27.36, "nodes": 128, "errors": 0, "source_hash": "37aefa31164bbb2aa3265822b4c121dd031bd7aad77988323d2ea964e02aa335", "categorized_nodes": 87}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
1,588
c
// // MSAppDelegate.h // MSWatchKitNotifications // // Created by CocoaPods on 03/08/2015. // Copyright (c) 2014 <NAME>. All rights reserved. // #import <UIKit/UIKit.h> @interface MSAppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWindow *window; @end
25.27
11
(translation_unit) "//\n// MSAppDelegate.h\n// MSWatchKitNotifications\n//\n// Created by CocoaPods on 03/08/2015.\n// Copyright (c) 2014 <NAME>. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface MSAppDelegate : UIResponder <UIApplicationDelegate>\n\n@property (strong, nonatomic) UIWindow *window;\n...
39
6
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 25.27, "nodes": 25, "errors": 0, "source_hash": "ce2538eabb7ccdb27c2e07bdca4c10a855a6b596070e1520f9d8528e10cefec5", "categorized_nodes": 12}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <...
1,589
c
/* ==================================================================== * * * * block_dgemm.c -- Implemant a block matrix multiplication routine * * * * ==================================================================== */ #i...
28.42
43
(translation_unit) "/* ==================================================================== *\n * *\n * block_dgemm.c -- Implemant a block matrix multiplication routine *\n * *\n * ===================================================...
315
0
{"language": "c", "success": true, "metadata": {"lines": 43, "avg_line_length": 28.42, "nodes": 208, "errors": 0, "source_hash": "23fbda134ebaa86f8e83452bf86be36c7fb7ad7c00bf53656671eba87b5b376e", "categorized_nodes": 150}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
1,590
c
/* * SPDX-License-Identifier: Apache-2.0 */ #ifndef BACKLIGHT__H #define BACKLIGHT__H #include <stdbool.h> //void backlight_init(void); void backlight_switch(bool); //bool backlight_is_enabled(void); #endif /* BACKLIGHT__H */
21.8
10
(translation_unit) "/*\n * SPDX-License-Identifier: Apache-2.0\n */\n\n#ifndef BACKLIGHT__H\n#define BACKLIGHT__H\n\n#include <stdbool.h>\n\n//void backlight_init(void);\nvoid backlight_switch(bool);\n//bool backlight_is_enabled(void);\n\n#endif /* BACKLIGHT__H */\n" (comment) "/*\n * SPDX-License-Identifier: Apache-...
25
0
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 21.8, "nodes": 17, "errors": 0, "source_hash": "471aaa29ed5afea0b39904d2dd262f3ac933ab46c00fa06518f57c4b7c88e514", "categorized_nodes": 12}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef B...
1,591
c
//greed.c #include <std.h> #include "/d/islands/tonerra/areadefs.h" inherit WEAPONLESS; void create(){ ::create(); set_name("he who strives"); set_id(({"strive","striver","he","he who strives"})); set_short("he who strives"); set_long( @OLI This being always strives. The world is imperfect, and h...
34.82
55
(translation_unit) "//greed.c\n\n#include <std.h>\n\n#include "/d/islands/tonerra/areadefs.h"\n\ninherit WEAPONLESS;\n\nvoid create(){\n ::create();\n\n set_name("he who strives");\n set_id(({"strive","striver","he","he who strives"}));\n set_short("he who strives");\n set_long(\n@OLI\n This being always st...
672
7
{"language": "c", "success": true, "metadata": {"lines": 55, "avg_line_length": 34.82, "nodes": 312, "errors": 0, "source_hash": "56117ca981bf265a36a34ece9af81715b2f9da0dcd61c2953863edb703af3369", "categorized_nodes": 250}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
1,592
c
// // psglobal.h // // // temporary include file for tumbo stuff // // globally included in all sources // // // // Define huge to be nothing to satisfy compiler // #ifdef huge #undef huge #endif #define huge #if DBG==1 && DEVL==1 #define MYPSDEBUG #else #undef MYPSDEBUG #endif #ifde...
19.36
137
(translation_unit) "// \n// psglobal.h \n// \n// \n// temporary include file for tumbo stuff \n// \n// globally included in all sources \n// \n// \n \n// \n// Define huge to be nothing to satisfy compiler \n// \n#ifdef huge \n#undef huge \n#endif \n#define huge \n \n \n \n \n#if DBG==1 && DEVL==1 \n#define MYPSDEBUG \n...
421
2
{"language": "c", "success": true, "metadata": {"lines": 137, "avg_line_length": 19.36, "nodes": 341, "errors": 0, "source_hash": "321b9a9bbc19f4376fb4dabb0c62fb8a8d3c6bd6b48a7dde383b7b6737e55a57", "categorized_nodes": 198}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifde...
1,593
c
// // BLNinePicAddCollectionViewCell.h // BiLin // // Created by devduwan on 15/9/22. // Copyright © 2015年 inbilin. All rights reserved. // #import <UIKit/UIKit.h> @protocol BLNinePicAddCollectionViewCellDelegate <NSObject> - (void)addPicNineStatus; @end @interface BLNinePicAddCollectionViewCell : UICollection...
28.57
14
(translation_unit) "//\n// BLNinePicAddCollectionViewCell.h\n// BiLin\n//\n// Created by devduwan on 15/9/22.\n// Copyright © 2015年 inbilin. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@protocol BLNinePicAddCollectionViewCellDelegate <NSObject>\n\n- (void)addPicNineStatus;\n\n@end\n\n@interface BLNinePic...
63
11
{"language": "c", "success": true, "metadata": {"lines": 14, "avg_line_length": 28.57, "nodes": 45, "errors": 0, "source_hash": "297feae93cc75909420c83973c56d6cdb4b73a44a2e1fe17d050307a3f192a5a", "categorized_nodes": 24}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "port <UIK...
1,594
c
// Copyright(c) 2021 <NAME> // Distributed under the MIT License (See accompanying file LICENSE.md file or copy at http://opensource.org/licenses/MIT). #pragma once #include "math/vector/coVec3.h" #include "lang/result/coResult.h" template <class T> class coArray; template <class T> class coDynamicArray; class coRend...
32.2
64
(translation_unit) "// Copyright(c) 2021 <NAME>\n// Distributed under the MIT License (See accompanying file LICENSE.md file or copy at http://opensource.org/licenses/MIT).\n#pragma once\n#include "math/vector/coVec3.h"\n#include "lang/result/coResult.h"\n\ntemplate <class T> class coArray;\ntemplate <class T> class co...
717
34
{"language": "c", "success": true, "metadata": {"lines": 64, "avg_line_length": 32.2, "nodes": 444, "errors": 0, "source_hash": "613048c091ac882fad83a179e9546ed1b2a701fa3a65880bfe792b77ee4ecb86", "categorized_nodes": 311}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma ...
1,595
c
/* * This header is generated by classdump-dyld 1.0 * on Sunday, June 7, 2020 at 11:25:08 AM Mountain Standard Time * Operating System: Version 13.4.5 (Build 17L562) * Image Source: /System/Library/PrivateFrameworks/PhotosUICore.framework/PhotosUICore * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by <...
34.25
24
(translation_unit) "/*\n* This header is generated by classdump-dyld 1.0\n* on Sunday, June 7, 2020 at 11:25:08 AM Mountain Standard Time\n* Operating System: Version 13.4.5 (Build 17L562)\n* Image Source: /System/Library/PrivateFrameworks/PhotosUICore.framework/PhotosUICore\n* classdump-dyld is licensed under GPLv3, C...
164
10
{"language": "c", "success": true, "metadata": {"lines": 24, "avg_line_length": 34.25, "nodes": 89, "errors": 0, "source_hash": "f7cfd334f58d9f1c7fd9a68703b65779d44d8ae83330278331532458288a710b", "categorized_nodes": 61}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "protocol PXFeedb...
1,596
c
#include <sys/types.h> #include <sys/stat.h> #include <errno.h> #include <fcntl.h> #include <string.h> #include <stdlib.h> #include <assert.h> #include <stdio.h> #include "network.h" #include "fdevent.h" #include "log.h" #include "stat_cache.h" #include "sys-socket.h" #include "sys-files.h" #include "network_backen...
26.6
207
(translation_unit) "#include <sys/types.h>\n#include <sys/stat.h>\n\n#include <errno.h>\n#include <fcntl.h>\n#include <string.h>\n#include <stdlib.h>\n#include <assert.h>\n#include <stdio.h>\n\n#include "network.h"\n#include "fdevent.h"\n#include "log.h"\n#include "stat_cache.h"\n\n#include "sys-socket.h"\n#include "sy...
1,544
0
{"language": "c", "success": true, "metadata": {"lines": 207, "avg_line_length": 26.6, "nodes": 919, "errors": 0, "source_hash": "ce5921bf86170f3580e419c6711300aeeb94d9c7c86f442b9045ae0eb460ea3f", "categorized_nodes": 746}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
1,597
c
#ifndef LCDFunctions_h #define LCDFunctions_h #include <LiquidCrystal_PCF8574.h> namespace LCDFunctions { void init_display(); void clear_display(); void print_display(String s, uint8_t x = 0, uint8_t y = 0); } #endif
23.22
9
(translation_unit) "#ifndef LCDFunctions_h\n#define LCDFunctions_h\n\n#include <LiquidCrystal_PCF8574.h>\n\nnamespace LCDFunctions {\nvoid init_display();\nvoid clear_display();\nvoid print_display(String s, uint8_t x = 0, uint8_t y = 0);\n}\n\n#endif\n" (preproc_ifdef) "#ifndef LCDFunctions_h\n#define LCDFunctions_h...
60
2
{"language": "c", "success": true, "metadata": {"lines": 9, "avg_line_length": 23.22, "nodes": 43, "errors": 0, "source_hash": "1ffa4788570c825ec9f7827881fc798b7a18210b6dc1314da7cf5cc5df4af8e7", "categorized_nodes": 29}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef L...
1,598
c
/* * Copyright (C) 2016 Texas Instruments Incorporated * * All rights reserved. Property of Texas Instruments Incorporated. * Restricted rights to use, duplicate or disclose this code are * granted through contract. * * The program may not be used without the written permission of * Texas Instrument...
28.32
81
(translation_unit) "/*\n * Copyright (C) 2016 Texas Instruments Incorporated\n *\n * All rights reserved. Property of Texas Instruments Incorporated.\n * Restricted rights to use, duplicate or disclose this code are\n * granted through contract.\n *\n * The program may not be used without the written permissi...
350
0
{"language": "c", "success": true, "metadata": {"lines": 81, "avg_line_length": 28.32, "nodes": 224, "errors": 0, "source_hash": "861fef88996edbef69ba2cac2e07b375967735ae4466ff836ccf841d15bfaadf", "categorized_nodes": 165}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
1,599