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
/* RageInput - Starts up InputHandlers, which generate InputEvents. */ #ifndef RAGEINPUT_H #define RAGEINPUT_H #include "Etterna/Models/Misc/Preference.h" #include "RageInputDevice.h" struct lua_State; class InputHandler; class RageInput { public: RageInput(); ~RageInput(); void LoadDrivers(); void Update()...
31
31
(translation_unit) " RageInput - Starts up InputHandlers, which generate InputEvents. */\n\n#ifndef RAGEINPUT_H\n#define RAGEINPUT_H\n\n#include "Etterna/Models/Misc/Preference.h"\n#include "RageInputDevice.h"\n\nstruct lua_State;\nclass InputHandler;\n\nclass RageInput\n{\n public:\n RageInput();\n ~RageInput();\n\n ...
230
8
{"language": "c", "success": true, "metadata": {"lines": 31, "avg_line_length": 31.0, "nodes": 152, "errors": 0, "source_hash": "9ed40ea718b80c87feddaa6f25dcf04f0fc89064f4d193def2661ee0e45b4077", "categorized_nodes": 106}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "fndef R...
80,800
c
/* C H A R C L A S S . H * * Based off of OpenBSD's charclass.h v 1.1 2008/10/01 * * Public domain, 2008, <NAME> <<EMAIL>> * * POSIX character class support for fnmatch() and glob(). */ #include "common.h" #include <stdlib.h> #include <ctype.h> #include <string.h> #include "bio.h" /* isbla...
14.9
124
(translation_unit) "/* C H A R C L A S S . H\n *\n * Based off of OpenBSD's charclass.h v 1.1 2008/10/01\n *\n * Public domain, 2008, <NAME> <<EMAIL>>\n *\n * POSIX character class support for fnmatch() and glob().\n */\n\n#include "common.h"\n\n#include <stdlib.h>\n#include <ctype.h>\n#include <str...
573
0
{"language": "c", "success": true, "metadata": {"lines": 124, "avg_line_length": 14.9, "nodes": 308, "errors": 0, "source_hash": "d9674fdfb3dc1b7158c2b09a7c390ebcd161d8a0a9115587c7bf9aed890b2c3c", "categorized_nodes": 194}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
80,801
c
// // LTScheduleAddViewController.h // Lights // // Created by <NAME> on 12/18/13. // Copyright (c) 2013 <NAME>. All rights reserved. // #import "LTGroupedTableViewController.h" @interface LTScheduleAddViewController : LTGroupedTableViewController @end
24.7
10
(translation_unit) "//\n// LTScheduleAddViewController.h\n// Lights\n//\n// Created by <NAME> on 12/18/13.\n// Copyright (c) 2013 <NAME>. All rights reserved.\n//\n\n#import "LTGroupedTableViewController.h"\n\n@interface LTScheduleAddViewController : LTGroupedTableViewController\n\n@end\n" (comment) "//" (comme...
22
4
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 24.7, "nodes": 11, "errors": 0, "source_hash": "b50f2019c74198d82d41a814ce2ac962e17c8edd4ee81dac0f6830bee6a53253", "categorized_nodes": 5}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import \"L...
80,802
c
#pragma once #include "TestUtils.hpp" #include <catch2/catch.hpp> PartOne& GetPartOne(); TEST_CASE("Whiterun cow 0x10ebaf exists", "[NpcExists]") { auto& partOne = GetPartOne(); auto& cow = partOne.worldState.GetFormAt<MpActor>(0x10ebaf); } TEST_CASE("Whiterun cow 0x10ebaf is visible to players", "[NpcExists]")...
33.81
32
(translation_unit) "#pragma once\n#include "TestUtils.hpp"\n#include <catch2/catch.hpp>\n\nPartOne& GetPartOne();\n\nTEST_CASE("Whiterun cow 0x10ebaf exists", "[NpcExists]")\n{\n auto& partOne = GetPartOne();\n\n auto& cow = partOne.worldState.GetFormAt<MpActor>(0x10ebaf);\n}\n\nTEST_CASE("Whiterun cow 0x10ebaf is vi...
416
15
{"language": "c", "success": true, "metadata": {"lines": 32, "avg_line_length": 33.81, "nodes": 218, "errors": 0, "source_hash": "1435c4b5cd2c7fa606f7778745cf7f7802c441c8a9c9c5881305be40fbf9c563", "categorized_nodes": 159}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
80,803
c
#pragma once #include "cslang/predef.h" #include <string> namespace cslang { #undef VOID #undef CONST enum { #define TYPE(type, size, name) type, #include "cslang/type_cfg.h" #undef TYPE }; enum { CONST = 0x1, VOLATILE = 0x2 }; enum { I1, U1, I2, U2, I4, U4, F4, F8, V, B }; struct Type { int categ : 8; ...
18.97
64
(translation_unit) "#pragma once\n\n#include "cslang/predef.h"\n\n#include <string>\n\nnamespace cslang\n{\n\n#undef VOID\n#undef CONST\n\nenum\n{\n#define TYPE(type, size, name) type,\n#include "cslang/type_cfg.h"\n#undef TYPE\n};\n\nenum { CONST = 0x1, VOLATILE = 0x2 };\n\nenum { I1, U1, I2, U2, I4, U4, F4, F8, V, B ...
433
20
{"language": "c", "success": true, "metadata": {"lines": 64, "avg_line_length": 18.97, "nodes": 275, "errors": 0, "source_hash": "d20db8940db504753f6672273e13438da7664c706090db9d70ae8934ab05480f", "categorized_nodes": 203}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
80,804
c
#include <unistd.h> //#define checkMemoryLeak #include <stdio.h> #include <stdlib.h> #include <stdbool.h> #include <limits.h> #include <math.h> #include "DeqByArray.h" ////////////////////////////////////////////////// void test(void); Element_t *createElement(int value); bool destroyElement(Element_t *element); ///...
33.87
158
(translation_unit) "#include <unistd.h>\n//#define checkMemoryLeak\n\n#include <stdio.h>\n#include <stdlib.h>\n#include <stdbool.h>\n#include <limits.h>\n#include <math.h>\n#include "DeqByArray.h"\n\n//////////////////////////////////////////////////\nvoid test(void);\nElement_t *createElement(int value);\nbool destroy...
1,244
0
{"language": "c", "success": true, "metadata": {"lines": 158, "avg_line_length": 33.87, "nodes": 700, "errors": 0, "source_hash": "6796f14e48059aafcd6005b04bf480f7eaa5397f9e8dd9ce08b3291e24dbf1f2", "categorized_nodes": 478}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
80,805
c
/******************************************************************** * * * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. * * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * * GOVERNED BY A BSD-STYLE SOURCE LICENS...
33.19
113
(translation_unit) "/********************************************************************\n * *\n * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. *\n * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *\n * GOVERNED BY A...
633
0
{"language": "c", "success": true, "metadata": {"lines": 113, "avg_line_length": 33.19, "nodes": 396, "errors": 0, "source_hash": "084987cbd37fb8bc013f1ef67b922158af10b5edba64e3656949dc4a13b8540c", "categorized_nodes": 269}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
80,806
c
// // BulletController.h // Moon3d // // Created by <NAME> on 3/4/14. // // // version ported to win32 by <NAME> email : <EMAIL> #ifndef __Moon3d__BulletController__ #define __Moon3d__BulletController__ #include "cocos2d.h" USING_NS_CC; class Bullet; class AirCraft; class Missile; class Fodder; class FodderLeader; ...
23.61
69
(translation_unit) "//\n// BulletController.h\n// Moon3d\n//\n// Created by <NAME> on 3/4/14.\n//\n//\n// version ported to win32 by <NAME> email : <EMAIL>\n#ifndef __Moon3d__BulletController__\n#define __Moon3d__BulletController__\n\n#include "cocos2d.h"\nUSING_NS_CC;\nclass Bullet;\nclass AirCraft;\nclass Missile;...
416
8
{"language": "c", "success": true, "metadata": {"lines": 69, "avg_line_length": 23.61, "nodes": 244, "errors": 0, "source_hash": "e8549719126045875efb028a2bedd1efc3f794af87dff3f020d260a4c5874006", "categorized_nodes": 152}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
80,807
c
// Copyright (c) 2017 <NAME> // // This program is free software; you can redistribute it and/or modify it // under the terms of the MIT License. See LICENSE for more details. #include <stdio.h> #include <string.h> #include <stdlib.h> #include "modules/command.h" #include "modules/connectfunction.h" #include "modules/...
32.54
126
(translation_unit) "// Copyright (c) 2017 <NAME>\n//\n// This program is free software; you can redistribute it and/or modify it\n// under the terms of the MIT License. See LICENSE for more details.\n\n#include <stdio.h>\n#include <string.h>\n#include <stdlib.h>\n#include "modules/command.h"\n#include "modules/connectf...
456
0
{"language": "c", "success": true, "metadata": {"lines": 126, "avg_line_length": 32.54, "nodes": 258, "errors": 0, "source_hash": "674696b3dd62107d266e5deee42bcc7d64fdcd18d468ef59db235a0d7e04edce", "categorized_nodes": 186}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
80,808
c
#include <stdio.h> int main(void) { float first,middle,last; printf("Give me three => "); scanf("%f%f%f", &first, &middle, &last); printf("The result / average: %.2f\n", (first + middle + last) / 3.0); return 0; }
28.25
8
(translation_unit) "#include <stdio.h>\n\nint main(void) {\n float first,middle,last;\n\n printf("Give me three => ");\n scanf("%f%f%f", &first, &middle, &last);\n printf("The result / average: %.2f\n", (first + middle + last) / 3.0);\n return 0;\n}\n" (preproc_include) "#include <stdio.h>\n" (#inc...
88
0
{"language": "c", "success": true, "metadata": {"lines": 8, "avg_line_length": 28.25, "nodes": 47, "errors": 0, "source_hash": "398be65784de2e32c1fcb8c1a26e3d27f1e86e4d9e17c4bbb28666a03d5ff038", "categorized_nodes": 36}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#includ...
80,809
c
// Copyright (c) Microsoft Corporation. // Licensed under the MIT license. #pragma once #include "jd_config.h" void jd_led_set(int state); void jd_led_blink(int us); void jd_power_enable(int en);
27
7
(translation_unit) "// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\n#pragma once\n\n#include "jd_config.h"\n\nvoid jd_led_set(int state);\nvoid jd_led_blink(int us);\nvoid jd_power_enable(int en);" (comment) "// Copyright (c) Microsoft Corporation." (comment) "// Licensed under the MI...
45
0
{"language": "c", "success": true, "metadata": {"lines": 7, "avg_line_length": 27.0, "nodes": 30, "errors": 0, "source_hash": "b5e54daf8f162adea5bee8c893235cbc5aaa99df1961395eddfb55ae4e1a7078", "categorized_nodes": 19}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma onc...
80,810
c
#ifndef VKLPipelineLayout_h #define VKLPipelineLayout_h #include <VKL/VKL_base.h> typedef enum { VKL_PIPELINE_TYPE_GRAPHICS = 0, VKL_PIPELINE_TYPE_COMPUTE = 1 } VKLPipelineType; typedef struct { VkShaderModuleCreateInfo createInfo; VkShaderStageFlagBits stage; const char* entryPoint; } VKLShaderModuleCreateInfo...
34.26
80
(translation_unit) "#ifndef VKLPipelineLayout_h\n#define VKLPipelineLayout_h\n\n#include <VKL/VKL_base.h>\n\ntypedef enum {\n VKL_PIPELINE_TYPE_GRAPHICS = 0,\n VKL_PIPELINE_TYPE_COMPUTE = 1\n} VKLPipelineType;\n\ntypedef struct {\n VkShaderModuleCreateInfo createInfo;\n VkShaderStageFlagBits stage;\n const char* entryP...
562
33
{"language": "c", "success": true, "metadata": {"lines": 80, "avg_line_length": 34.26, "nodes": 337, "errors": 0, "source_hash": "15b33904a8429b38ad596ab8a4f89437a5a751d162de8ede4d9cfa5d511665bf", "categorized_nodes": 234}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
80,811
c
#include <sparc/sparc.h> /* Get generic NetBSD definitions. */ #include <netbsd.h> /* Names to predefine in the preprocessor for this target machine. */ #undef CPP_PREDEFINES #define CPP_PREDEFINES "-Dunix -Dsparc -D__NetBSD__ -Asystem(unix) -Asystem(NetBSD) -Acpu(sparc) -Amachine(sparc)" /* Make gcc agree with ...
36.79
28
(translation_unit) "#include <sparc/sparc.h>\n\n/* Get generic NetBSD definitions. */\n\n#include <netbsd.h>\n\n/* Names to predefine in the preprocessor for this target machine. */\n\n#undef CPP_PREDEFINES\n#define CPP_PREDEFINES "-Dunix -Dsparc -D__NetBSD__ -Asystem(unix) -Asystem(NetBSD) -Acpu(sparc) -Amachine(spa...
70
0
{"language": "c", "success": true, "metadata": {"lines": 28, "avg_line_length": 36.79, "nodes": 62, "errors": 0, "source_hash": "26e14b45d5aa8ad5ebdb8fe3082baf831231a19b010eecd3f2ef1be887bbca0d", "categorized_nodes": 22}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
80,812
c
#ifndef ADD_ON_INFO_H #define ADD_ON_INFO_H #include <libim/Protocol.h> #include <support/String.h> #include <OS.h> namespace IM { class AddOnInfo { public: Protocol * protocol; const char * signature; BString path; image_id image; }; }; #endif
15.19
16
(translation_unit) "#ifndef ADD_ON_INFO_H\n#define ADD_ON_INFO_H\n\n#include <libim/Protocol.h>\n#include <support/String.h>\n#include <OS.h>\n\nnamespace IM {\n\nclass AddOnInfo\n{\n public:\n Protocol * protocol;\n const char * signature;\n BString path;\n image_id image;\n};\n\n};\n\n#endif\n" (preproc_if...
58
0
{"language": "c", "success": true, "metadata": {"lines": 16, "avg_line_length": 15.19, "nodes": 38, "errors": 0, "source_hash": "e8d30d81abbe7a079954641626722e8e0cfaa24ad7c9b33dc823e18b0e76e7b1", "categorized_nodes": 30}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
80,813
c
/* Copyright (c) 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writ...
37.25
28
(translation_unit) "/* Copyright (c) 2008 Google Inc.\n*\n* Licensed under the Apache License, Version 2.0 (the "License");\n* you may not use this file except in compliance with the License.\n* You may obtain a copy of the License at\n*\n* http://www.apache.org/licenses/LICENSE-2.0\n*\n* Unless required by applica...
104
8
{"language": "c", "success": true, "metadata": {"lines": 28, "avg_line_length": 37.25, "nodes": 66, "errors": 0, "source_hash": "86ffe6a44518a57dd81ef860a3b2bb9109f55746945a078b0681d46ff3e50ddb", "categorized_nodes": 35}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_if", "text": "#if !GDATA_...
80,814
c
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef REMOTING_HOST_LINUX_UNICODE_TO_KEYSYM_H_ #define REMOTING_HOST_LINUX_UNICODE_TO_KEYSYM_H_ #include <stdint.h> #include <vector> namespace remo...
37.75
12
(translation_unit) "// Copyright 2014 The Chromium Authors. All rights reserved.\n// Use of this source code is governed by a BSD-style license that can be\n// found in the LICENSE file.\n\n#ifndef REMOTING_HOST_LINUX_UNICODE_TO_KEYSYM_H_\n#define REMOTING_HOST_LINUX_UNICODE_TO_KEYSYM_H_\n\n#include <stdint.h>\n\n#incl...
46
2
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 37.75, "nodes": 30, "errors": 0, "source_hash": "eed5d7e1091d367630f76ea68235d495d1b16cdd3e2b0ce741fac19a9abc826d", "categorized_nodes": 23}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
80,815
c
#include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <sys/types.h> #include <sys/stat.h> #include <sys/uio.h> #include <sys/mman.h> #include <sys/time.h> #include <unistd.h> #include <pthread.h> #include <fcntl.h> #include "args.h" #include "file_io.h" pthread_mutex_t dummy_lock; static int dummy_fd_he...
27.68
98
(translation_unit) "#include <stdint.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <sys/types.h>\n#include <sys/stat.h>\n#include <sys/uio.h>\n#include <sys/mman.h>\n#include <sys/time.h>\n#include <unistd.h>\n#include <pthread.h>\n#include <fcntl.h>\n#include "args.h"\n#include "file_io.h"\n\npthread_mutex_t d...
958
4
{"language": "c", "success": true, "metadata": {"lines": 98, "avg_line_length": 27.68, "nodes": 598, "errors": 0, "source_hash": "6810d94c98e713a08479c7f5609ab333479efddfdd56cf6649d2556fc7c33827", "categorized_nodes": 463}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
80,816
c
//////////////////////////////////////////////////////////////////////////////// // BNF2C // // This file is distributed under the 4-clause Berkeley Software Distribution // License. See LICENSE for details. /////////////////////////////////////////////////////////////////////////////...
34.53
36
(translation_unit) "////////////////////////////////////////////////////////////////////////////////\n// BNF2C\n//\n// This file is distributed under the 4-clause Berkeley Software Distribution\n// License. See LICENSE for details.\n////////////////////////////////////////////////////...
285
22
{"language": "c", "success": true, "metadata": {"lines": 36, "avg_line_length": 34.53, "nodes": 158, "errors": 0, "source_hash": "89fa85a99558ec829c43d832569a5047f12d7a6876108023d0d4da5b5966b2f9", "categorized_nodes": 107}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
80,817
c
/* * Copyright (c) 2001 Sendmail, Inc. and its suppliers. * All rights reserved. * * By using this file, you agree to the terms and conditions set * forth in the LICENSE file which can be found at the top level of * the sendmail distribution. */ #include <sm/gen.h> SM_IDSTR(id, "@(#)$Id$") #include <sm/limits....
27.76
49
(translation_unit) "/*\n * Copyright (c) 2001 Sendmail, Inc. and its suppliers.\n * All rights reserved.\n *\n * By using this file, you agree to the terms and conditions set\n * forth in the LICENSE file which can be found at the top level of\n * the sendmail distribution.\n */\n\n#include <sm/gen.h>\nSM_IDSTR(id, "@(...
394
0
{"language": "c", "success": true, "metadata": {"lines": 49, "avg_line_length": 27.76, "nodes": 224, "errors": 0, "source_hash": "a86c6734fd64f49064bc4aa6d534f0808441ce09ab15a0d5c3692bcaf4ee0025", "categorized_nodes": 159}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
80,818
c
#include <stdio.h> #include <string.h> int x[100000+10]; int y[100000+10]; int main(){ int a, b, i, counta, countb, input; while(scanf("%d %d", &a, &b) && a && b){ memset(x,0,sizeof(x)); memset(y,0,sizeof(y)); counta=0; countb=0; for(i = 0; i < a; i++){ scanf("%d", &input); x[input]++; } for(i =...
18.48
29
(translation_unit) "#include <stdio.h>\n#include <string.h>\n\nint x[100000+10];\nint y[100000+10];\n\nint main(){\n int a, b, i, counta, countb, input;\n while(scanf("%d %d", &a, &b) && a && b){\n memset(x,0,sizeof(x));\n memset(y,0,sizeof(y));\n counta=0;\n countb=0;\n for(i = 0; i < a; i++){\n scanf("%d", &in...
325
0
{"language": "c", "success": true, "metadata": {"lines": 29, "avg_line_length": 18.48, "nodes": 182, "errors": 0, "source_hash": "ddae4319f51462d96a5dedb96b8a5b39e72a0567c9b7f56746bb6ad0e9492962", "categorized_nodes": 141}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
80,819
c
/************************************************************************** * This file is part of PVIO * * Copyright (c) ZJU-SenseTime Joint Lab of 3D Vision. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * Yo...
31.48
88
(translation_unit) "/**************************************************************************\n* This file is part of PVIO\n*\n* Copyright (c) ZJU-SenseTime Joint Lab of 3D Vision. All Rights Reserved.\n*\n* Licensed under the Apache License, Version 2.0 (the "License");\n* you may not use this file except in complia...
619
28
{"language": "c", "success": true, "metadata": {"lines": 88, "avg_line_length": 31.48, "nodes": 375, "errors": 0, "source_hash": "54c8b84f72b29c5d1f6786896e75301de8cd8d3b83ee139a82209f7f43e52070", "categorized_nodes": 244}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
80,820
c
// // Generated by classdumpios 1.0.1 (64 bit) (iOS port by DreamDevLost)(Debug version compiled Jun 10 2020 10:03:13). // // Copyright (C) 1997-2019 <NAME>. // #import <UIKit/NSTextStorage.h> @interface NSTextStorage (Podcasts) - (long long)writingDirectionOfLine:(long long)arg1 usingLayoutManager:(id)arg2 text...
40
9
(translation_unit) "//\n// Generated by classdumpios 1.0.1 (64 bit) (iOS port by DreamDevLost)(Debug version compiled Jun 10 2020 10:03:13).\n//\n// Copyright (C) 1997-2019 <NAME>.\n//\n\n#import <UIKit/NSTextStorage.h>\n\n@interface NSTextStorage (Podcasts)\n- (long long)writingDirectionOfLine:(long long)arg1 usi...
57
6
{"language": "c", "success": true, "metadata": {"lines": 9, "avg_line_length": 40.0, "nodes": 32, "errors": 0, "source_hash": "7f764a16e15ba199a41c919b95b6da72efa75227ff8a28d78a618974810318f8", "categorized_nodes": 18}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <UI...
80,821
c
#include <stdio.h> #include <stdlib.h> typedef struct _el { int key; int ricerche; struct _el* next; struct _el* prev; } el; int Ricerca(el* l, int cercato) { int risultato = -1; int posizione = 0; while(risultato == -1 && l != NULL) { if((*l).key == cercato) { risultato = posizione; (*l).ricerche++...
18.22
89
(translation_unit) "#include <stdio.h>\n#include <stdlib.h>\n\ntypedef struct _el\n{\n int key;\n int ricerche;\n struct _el* next;\n struct _el* prev;\n} el;\n\nint Ricerca(el* l, int cercato)\n{\n int risultato = -1;\n int posizione = 0;\n while(risultato == -1 && l != NULL)\n {\n if((*l).key == cercato)\n {\n ri...
866
0
{"language": "c", "success": true, "metadata": {"lines": 89, "avg_line_length": 18.22, "nodes": 537, "errors": 0, "source_hash": "003296deba0b06621e27aeb2d33338f396aaab6fb938ccf2c3a63347d0c1dc55", "categorized_nodes": 381}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
80,822
c
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include <aws/gamelift/GameLift_EXPORTS.h> namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Game...
33.75
67
(translation_unit) "*\n * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n * SPDX-License-Identifier: Apache-2.0.\n */\n\n#pragma once\n#include <aws/gamelift/GameLift_EXPORTS.h>\n\nnamespace Aws\n{\nnamespace Utils\n{\nnamespace Json\n{\n class JsonValue;\n class JsonView;\n} // namespace Json\n}...
252
12
{"language": "c", "success": true, "metadata": {"lines": 67, "avg_line_length": 33.75, "nodes": 144, "errors": 0, "source_hash": "46c6a2eefac2010c08e4fa763e927b297a673e1b066cfe1dc6f42120932a8978", "categorized_nodes": 97}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "ragma on...
80,823
c
/** * @file resched.h * @brief 遅延スケジューリングに使用する宣言と定数。 */ //! 遅延リスケジューリングの開始 #define DEFER_START 1 //! 遅延リスケジューリングの停止 #define DEFER_STOP 2 /** * @struct defer * @brief 遅延リスケジューリングに関連する項目を集約した構造体 */ struct defer { //! 未処理の延期プロセスの数 int32 ndefers; //! 延期中に再スケジューリングが実行されたかどうか bool8 attempt; }; //! defer構造体のexte...
15.57
21
(translation_unit) "/**\n * @file resched.h\n * @brief 遅延スケジューリングに使用する宣言と定数。\n */\n\n//! 遅延リスケジューリングの開始\n#define DEFER_START 1\n//! 遅延リスケジューリングの停止\n#define DEFER_STOP 2\n\n/**\n * @struct defer\n * @brief 遅延リスケジューリングに関連する項目を集約した構造体\n */\nstruct defer\n{\n //! 未処理の延期プロセスの数\n int32 ndefers;\n //! 延期中に再スケジューリングが実行されたかどうか\...
39
0
{"language": "c", "success": true, "metadata": {"lines": 21, "avg_line_length": 15.57, "nodes": 24, "errors": 0, "source_hash": "928268dbe3bb8718d14e848b4acb9b828087400c335098a6168b725f2119bf0b", "categorized_nodes": 17}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_def", "text": "@struct de...
80,824
c
// // NSDate+TB.h // TBLibrary // // Created by 杨亚坤 on 2017/3/13. // Copyright © 2017年 yyk. All rights reserved. // #import <Foundation/Foundation.h> @interface NSDate (TB) + (NSString *)timeIntervalFromDate:(NSDate *)date; + (NSDate *)dateFromTimeInterval:(NSTimeInterval)timeInterval; + (NSString *)stringFromTi...
33.57
14
(translation_unit) "//\n// NSDate+TB.h\n// TBLibrary\n//\n// Created by 杨亚坤 on 2017/3/13.\n// Copyright © 2017年 yyk. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n\n@interface NSDate (TB)\n\n+ (NSString *)timeIntervalFromDate:(NSDate *)date;\n+ (NSDate *)dateFromTimeInterval:(NSTimeInterval)timeInt...
117
12
{"language": "c", "success": true, "metadata": {"lines": 14, "avg_line_length": 33.57, "nodes": 74, "errors": 0, "source_hash": "b3758098fa520844e353ce251d6c35d344b0f7f3462380c7be22ab487f78ef1a", "categorized_nodes": 40}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "Foundatio...
80,825
c
/****************************************************************************** Copyright [2016] [Comcast] Comcast Proprietary and Confidential All Rights Reserved. Unauthorized copying of this file, via any medium is strictly prohibited ******************************************************************...
32.72
25
(translation_unit) "/******************************************************************************\n Copyright [2016] [Comcast]\n\n Comcast Proprietary and Confidential\n\n All Rights Reserved.\n\n Unauthorized copying of this file, via any medium is strictly prohibited\n\n*************************************...
48
0
{"language": "c", "success": true, "metadata": {"lines": 25, "avg_line_length": 32.72, "nodes": 33, "errors": 0, "source_hash": "8ca449d72417982cff9d01e1b58c426b61134c56d2310e6f70725c02fa830d4d", "categorized_nodes": 20}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
80,826
c
/* Program to generate selftest values for taus113 prng from ** ** [1] <NAME>, "Tables of Maximally-Equidistributed Combined LFSR ** Generators", Mathematics of Computation, 68, 225 (1999), 261-269. ** [2] http://www.iro.umontreal.ca/~lecuyer/myftp/papers/tausme2.ps ** Online version of [1] ** ** Copied fro...
37.37
38
(translation_unit) "/* Program to generate selftest values for taus113 prng from\n**\n** [1] <NAME>, "Tables of Maximally-Equidistributed Combined LFSR\n** Generators", Mathematics of Computation, 68, 225 (1999), 261-269.\n** [2] http://www.iro.umontreal.ca/~lecuyer/myftp/papers/tausme2.ps\n** Online versio...
563
0
{"language": "c", "success": true, "metadata": {"lines": 38, "avg_line_length": 37.37, "nodes": 325, "errors": 0, "source_hash": "053d29634618c88d0290babde719839e7e7d99402e0c443617210525c6985005", "categorized_nodes": 229}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
80,827
c
// Meridian 59, Copyright 1994-2012 <NAME> and <NAME>. // All rights reserved. // // This software is distributed under a license that is described in // the LICENSE file that accompanies it. // // Meridian is a registered trademark. /* * select.h: Header file for select.c */ #ifndef _SELECT_H #define _SELECT_H ty...
29.17
18
(translation_unit) "// Meridian 59, Copyright 1994-2012 <NAME> and <NAME>.\n// All rights reserved.\n//\n// This software is distributed under a license that is described in\n// the LICENSE file that accompanies it.\n//\n// Meridian is a registered trademark.\n/*\n * select.h: Header file for select.c\n */\n\n#ifndef ...
82
2
{"language": "c", "success": true, "metadata": {"lines": 18, "avg_line_length": 29.17, "nodes": 55, "errors": 0, "source_hash": "4ed3e2a51073b10aa677858afccad4dbc72eacf45cbd1e50a4c8f211dabc6983", "categorized_nodes": 39}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
80,828
c
// Control of a HD44780 LCD in 4-Bit-Interfacemode #ifndef LCD_ROUTINES_H #define LCD_ROUTINES_H //////////////////////////////////////////////////////////////////////////////// // Define the MCUs frequency here #ifndef F_CPU #define F_CPU 3686400UL #endif //////////////////////////////////////////////////////...
29.41
146
(translation_unit) "// Control of a HD44780 LCD in 4-Bit-Interfacemode\n\n \n#ifndef LCD_ROUTINES_H\n#define LCD_ROUTINES_H\n \n////////////////////////////////////////////////////////////////////////////////\n// Define the MCUs frequency here\n \n#ifndef F_CPU\n#define F_CPU 3686400UL\n#endif\n \n/////////////////////...
379
0
{"language": "c", "success": true, "metadata": {"lines": 146, "avg_line_length": 29.41, "nodes": 310, "errors": 0, "source_hash": "4d2f3c77252687a2352e1c2c22111105a54fcd9ea90f45a6ef75a98b50288e65", "categorized_nodes": 107}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
80,829
c
/* SPDX-License-Identifier: GPL-2.0-only */ #ifndef __ASM_DMI_H #define __ASM_DMI_H #include <linux/io.h> #include <linux/slab.h> #define dmi_early_remap(x, l) memremap(x, l, MEMREMAP_WB) #define dmi_early_unmap(x, l) memunmap(x) #define dmi_remap(x, l) memremap(x, l, MEMREMAP_WB) #define dmi_unmap(x) memunmap...
33
11
(translation_unit) "/* SPDX-License-Identifier: GPL-2.0-only */\n\n#ifndef __ASM_DMI_H\n#define __ASM_DMI_H\n\n#include <linux/io.h>\n#include <linux/slab.h>\n\n#define dmi_early_remap(x, l) memremap(x, l, MEMREMAP_WB)\n#define dmi_early_unmap(x, l) memunmap(x)\n#define dmi_remap(x, l) memremap(x, l, MEMREMAP_WB)\n...
61
0
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 33.0, "nodes": 46, "errors": 0, "source_hash": "b59b80ad9248f5d626382b98d7efeea2b9424586d88415e4c454d11ba4144b95", "categorized_nodes": 29}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef _...
80,830
c
#include "string.h" char* strconv(uint32_t num, int base) { static char Representation[] = "0123456789ABCDEF"; static char buffer[50]; char *ptr; ptr = &buffer[49]; *ptr = '\0'; do { *--ptr = Representation[num % base]; num /= base; } while (num != 0); return (ptr); } uint32_t strlen(char* str) { uint3...
19.6
81
(translation_unit) "#include "string.h"\n\nchar* strconv(uint32_t num, int base) {\n static char Representation[] = "0123456789ABCDEF";\n static char buffer[50];\n char *ptr;\n\n ptr = &buffer[49];\n *ptr = '\0';\n\n do {\n *--ptr = Representation[num % base];\n num /= base;\n } while (num != 0);\n return (ptr);\n}\n...
769
3
{"language": "c", "success": true, "metadata": {"lines": 81, "avg_line_length": 19.6, "nodes": 499, "errors": 0, "source_hash": "f8731f0d96aa271af93e0b54dc885d7bb63614479ca91b3dc66e6cd49a890751", "categorized_nodes": 308}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
80,831
c
/* * Copyright 2003-2004 The Apache Software 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 req...
31.56
57
(translation_unit) "/*\n * Copyright 2003-2004 The Apache Software 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/LIC...
158
0
{"language": "c", "success": true, "metadata": {"lines": 57, "avg_line_length": 31.56, "nodes": 80, "errors": 0, "source_hash": "6c0f27e17aa57dec4950702a1acafef61bfbf11ecc97d333e68b97259d44ae56", "categorized_nodes": 80}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "enum_specifier", "text": "enum \n...
80,832
c
// Copyright 2004-present Facebook. All Rights Reserved. // // You are hereby granted a non-exclusive, worldwide, royalty-free license to use, // copy, modify, and distribute this software in source code or binary form for use // in connection with the web services and APIs provided by Facebook. // // As with any softw...
37.57
122
(translation_unit) "// Copyright 2004-present Facebook. All Rights Reserved.\n//\n// You are hereby granted a non-exclusive, worldwide, royalty-free license to use,\n// copy, modify, and distribute this software in source code or binary form for use\n// in connection with the web services and APIs provided by Facebook....
342
23
{"language": "c", "success": true, "metadata": {"lines": 122, "avg_line_length": 37.57, "nodes": 190, "errors": 0, "source_hash": "190fc4f81054e5619a7d8e7c9d393b0ee459fc539cfb3426cfb39e66438d58fc", "categorized_nodes": 110}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#impor...
80,833
c
/* This file is part of the YAZ toolkit. * Copyright (C) Index Data * See the file LICENSE for details. */ /* * Local variables: * c-basic-offset: 4 * c-file-style: "Stroustrup" * indent-tabs-mode: nil * End: * vim: shiftwidth=4 tabstop=8 expandtab */
20.83
12
(translation_unit) "/* This file is part of the YAZ toolkit.\n * Copyright (C) Index Data\n * See the file LICENSE for details.\n */\n\n/*\n * Local variables:\n * c-basic-offset: 4\n * c-file-style: "Stroustrup"\n * indent-tabs-mode: nil\n * End:\n * vim: shiftwidth=4 tabstop=8 expandtab\n */\n\n" (comment) "/* This...
3
0
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 20.83, "nodes": 0, "errors": 0, "source_hash": "b3c10383cf4bb799c0fd648b3b98a903c164bccf6df687acbe69c34d68332a0f", "categorized_nodes": 0}, "ast": {"root": "translation_unit", "nodes": []}, "node_categories": {"declarations": {"functions": ...
80,834
c
#pragma once struct SimpleGenericCredential { std::wstring m_name; blob m_blob; std::wstring m_password; bool Empty() { return m_name.empty(); } static bool CompareByName(const SimpleGenericCredential& lhs, const SimpleGenericCredential& rhs) { return lhs.m_name < rhs....
21.27
15
(translation_unit) "#pragma once\n\nstruct SimpleGenericCredential\n{\n std::wstring m_name;\n blob m_blob;\n std::wstring m_password;\n\n bool Empty()\n {\n return m_name.empty();\n }\n\n static bool CompareByName(const SimpleGenericCredential& lhs, const SimpleGenericCredential& rhs)\n ...
93
7
{"language": "c", "success": true, "metadata": {"lines": 15, "avg_line_length": 21.27, "nodes": 50, "errors": 0, "source_hash": "beee8eabdb3f240633df8581bc0e07752491a16ed822a7f02ada4143dc97defa", "categorized_nodes": 39}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
80,835
c
/* * This header is generated by classdump-dyld 1.0 * on Sunday, September 27, 2020 at 11:52:59 AM Mountain Standard Time * Operating System: Version 14.0 (Build 18A373) * Image Source: /System/Library/PrivateFrameworks/ConversationKit.framework/ConversationKit * classdump-dyld is licensed under GPLv3, Copyright © 2013...
34.25
16
(translation_unit) "/*\n* This header is generated by classdump-dyld 1.0\n* on Sunday, September 27, 2020 at 11:52:59 AM Mountain Standard Time\n* Operating System: Version 14.0 (Build 18A373)\n* Image Source: /System/Library/PrivateFrameworks/ConversationKit.framework/ConversationKit\n* classdump-dyld is licensed unde...
48
6
{"language": "c", "success": true, "metadata": {"lines": 16, "avg_line_length": 34.25, "nodes": 23, "errors": 0, "source_hash": "c75115c060355fe8a3c306bb58dc3ab831ce9a96d1682c149fe66060e53b875e", "categorized_nodes": 15}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "i", "parent": nu...
80,836
c
// // SMKTrack.h // SNRMusicKit // // Created by <NAME> on 2012-08-21. // Copyright (c) 2012 <NAME>. All rights reserved. // #import <Foundation/Foundation.h> #import "SMKAlbum.h" #import "SMKArtist.h" #import "SMKContentSource.h" #import "SMKContentObject.h" @protocol SMKTrack <NSObject, SMKContentObject> @requ...
21.04
92
(translation_unit) "//\n// SMKTrack.h\n// SNRMusicKit\n//\n// Created by <NAME> on 2012-08-21.\n// Copyright (c) 2012 <NAME>. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n#import "SMKAlbum.h"\n#import "SMKArtist.h"\n#import "SMKContentSource.h"\n\n#import "SMKContentObject.h"\n\n@protocol SMKTrack...
267
10
{"language": "c", "success": true, "metadata": {"lines": 92, "avg_line_length": 21.04, "nodes": 161, "errors": 0, "source_hash": "f2f085b084b7c01efa125a7873d9284ba4fe14d56edaeeb4c877078b22cdd85e", "categorized_nodes": 89}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import ...
80,837
c
/* Ask about updates checking */ #include "e_wizard.h" static int do_up = 0; /* EAPI int wizard_page_init(E_Wizard_Page *pg __UNUSED__, Eina_Bool *need_xdg_desktops __UNUSED__, Eina_Bool *need_xdg_icons __UNUSED__) { return 1; } EAPI int wizard_page_shutdown(E_Wizard_Page *pg __UNUSED__) { return 1; } */ EAPI i...
30.06
68
(translation_unit) "/* Ask about updates checking */\n#include "e_wizard.h"\n\nstatic int do_up = 0;\n/*\nEAPI int\nwizard_page_init(E_Wizard_Page *pg __UNUSED__, Eina_Bool *need_xdg_desktops __UNUSED__, Eina_Bool *need_xdg_icons __UNUSED__)\n{\n return 1;\n}\n\nEAPI int\nwizard_page_shutdown(E_Wizard_Page *pg __UNUS...
371
3
{"language": "c", "success": true, "metadata": {"lines": 68, "avg_line_length": 30.06, "nodes": 189, "errors": 0, "source_hash": "555e637d4aa3f6cd328bb115d7f5fffd74eae835fc08e38c40bd7216804991d1", "categorized_nodes": 145}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
80,838
c
#ifndef MODULE_H #define MODULE_H #include "symbol.h" struct module; struct function; extern struct module *m; struct module *module_new(const char *module_name); void module_free(struct module *m); struct function * module_get_or_create_function(struct module *m, struct symbol *sym); void module_print(struct mod...
34.29
14
(translation_unit) "#ifndef MODULE_H\n#define MODULE_H\n\n#include "symbol.h"\n\nstruct module;\nstruct function;\n\nextern struct module *m;\n\nstruct module *module_new(const char *module_name);\nvoid module_free(struct module *m);\n\nstruct function *\nmodule_get_or_create_function(struct module *m, struct symbol *s...
165
0
{"language": "c", "success": true, "metadata": {"lines": 14, "avg_line_length": 34.29, "nodes": 130, "errors": 0, "source_hash": "9e6e6a68b09455087ff3ff85c0cf110a4c29fed68851b4364579887a5534ce64", "categorized_nodes": 89}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
80,839
c
// OceanLoad3D_crust1.h // created by Kuangdai on 8-Oct-2016 // crustal model CRUST 1.0 // http://igppweb.ucsd.edu/~gabi/crust1.html #pragma once #include "OceanLoad3D.h" #include "eigenp.h" class OceanLoad3D_crust1: public OceanLoad3D { public: void initialize(); void initialize(const std::vector<std::st...
22.88
40
(translation_unit) "// OceanLoad3D_crust1.h\n// created by Kuangdai on 8-Oct-2016 \n// crustal model CRUST 1.0 \n// http://igppweb.ucsd.edu/~gabi/crust1.html\n\n#pragma once\n\n#include "OceanLoad3D.h"\n#include "eigenp.h"\n\nclass OceanLoad3D_crust1: public OceanLoad3D {\npublic:\n\n void initialize();\n void in...
176
4
{"language": "c", "success": true, "metadata": {"lines": 40, "avg_line_length": 22.88, "nodes": 98, "errors": 0, "source_hash": "b788d24bbdc1e8997f4ea05d85a4ab3ccbffe4d8c3a53ea41eca8255a510bb20", "categorized_nodes": 57}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
80,840
c
/*********************************************************************** ** E P P R O P . H * ** * ************************************************************************ ** Copyright (C) 1996 - ...
26.65
97
(translation_unit) "/*********************************************************************** \n** E P P R O P . H * \n** * \n************************************************************************ \n...
266
12
{"language": "c", "success": true, "metadata": {"lines": 97, "avg_line_length": 26.65, "nodes": 166, "errors": 0, "source_hash": "0e4c6541369a44cb8187185670c4cc8857d4351652dccef61c343b8c8d2522c1", "categorized_nodes": 113}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
80,841
c
/* * * Test functions * * */ #include <stdio.h> #include <stdlib.h> unsigned int test(unsigned int (*tests[]) (void)) { for (int i = 0; tests[i] != NULL; i++) { if (tests[i]()) { printf("Error in test number %i.\n", i); return 1; } } retur...
13.77
22
(translation_unit) "/*\n *\n * Test functions\n *\n *\n*/\n\n\n#include <stdio.h>\n#include <stdlib.h>\n\n\nunsigned int test(unsigned int (*tests[]) (void))\n{\n for (int i = 0; tests[i] != NULL; i++)\n {\n if (tests[i]()) \n {\n printf("Error in test number %i.\n", i);\n ...
105
0
{"language": "c", "success": true, "metadata": {"lines": 22, "avg_line_length": 13.77, "nodes": 60, "errors": 0, "source_hash": "9373cfcacd1fd783391c5fe6642238b09a4708feee9d0c37bf1546c1f6cd8e71", "categorized_nodes": 39}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
80,842
c
// BSD 2-Clause License // // Copyright (c) 2021, <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 //...
37.14
64
(translation_unit) "// BSD 2-Clause License\n//\n// Copyright (c) 2021, <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 abo...
235
0
{"language": "c", "success": true, "metadata": {"lines": 64, "avg_line_length": 37.14, "nodes": 145, "errors": 0, "source_hash": "f2a7cbdb7a6489cdcf143ec398e12585c9f2798022f4dc6979d6f2c474288137", "categorized_nodes": 94}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
80,843
c
#ifndef OPENST_COMMON_COMMON_H #define OPENST_COMMON_COMMON_H #include "openst/common/arrayops.h" #include "openst/common/buildinfo.h" #include "openst/common/coordsys.h" #include "openst/common/dynarr.h" #include "openst/common/error.h" #include "openst/common/float.h" #include "openst/common/grad.h" #include "openst...
32.93
15
(translation_unit) "#ifndef OPENST_COMMON_COMMON_H\n#define OPENST_COMMON_COMMON_H\n\n#include "openst/common/arrayops.h"\n#include "openst/common/buildinfo.h"\n#include "openst/common/coordsys.h"\n#include "openst/common/dynarr.h"\n#include "openst/common/error.h"\n#include "openst/common/float.h"\n#include "openst/co...
81
0
{"language": "c", "success": true, "metadata": {"lines": 15, "avg_line_length": 32.93, "nodes": 43, "errors": 0, "source_hash": "760e67aef72cde5af3fe6cd5b17dbcb94e81a5f11ae11588b4dd2678847308d3", "categorized_nodes": 41}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
80,844
c
#ifndef TOKEN_SETTINGS_WIDGET_H #define TOKEN_SETTINGS_WIDGET_H #include <QString> #include <QWidget> namespace Ui { class TokenSettingsWidget; } class QSettings; class TokenSettingsWidget : public QWidget { Q_OBJECT public: explicit TokenSettingsWidget(QSettings *settings, QString name, bool enableShorter,...
24.6
25
(translation_unit) "#ifndef TOKEN_SETTINGS_WIDGET_H\n#define TOKEN_SETTINGS_WIDGET_H\n\n#include <QString>\n#include <QWidget>\n\n\nnamespace Ui {\n class TokenSettingsWidget;\n}\n\n\nclass QSettings;\n\nclass TokenSettingsWidget : public QWidget\n{\n Q_OBJECT\n\n public:\n explicit TokenSettingsWidget(QSettings *sett...
155
9
{"language": "c", "success": true, "metadata": {"lines": 25, "avg_line_length": 24.6, "nodes": 96, "errors": 0, "source_hash": "abcae29bad30d91b8c07d919bd5863c5550214f71ca5ef1e3f97abd7b6b0b77b", "categorized_nodes": 63}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef T...
80,845
c
// -*-c++-*- /*! \file free_message_parser.h \brief player's freeform say message parser Header File */ /* *Copyright: Copyright (C) <NAME> This code is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundat...
32.12
90
(translation_unit) "// -*-c++-*-\n\n/*!\n \file free_message_parser.h\n \brief player's freeform say message parser Header File\n*/\n\n/*\n *Copyright:\n\n Copyright (C) <NAME>\n\n This code is free software; you can redistribute it and/or\n modify it under the terms of the GNU Lesser General Public\n License as publ...
310
12
{"language": "c", "success": true, "metadata": {"lines": 90, "avg_line_length": 32.12, "nodes": 183, "errors": 0, "source_hash": "39dcddfe328eb22aa374f9a1805bfcacfad092e3b5dcaae9b0d00625a995acb6", "categorized_nodes": 125}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
80,846
c
#define FOREACH 256 #define PATHNAME 257 #define STRING 258 #define INDENT 259 #define UNINDENT 260 #define NL 261 #define ERROR_TOKEN 262 #define WARNING_TOKEN 263 #define EXIST 264 #define OWNER 265 #define GROUP 266 #define CHMOD_PERMISSION 267 #define NUMBER 268 #define FILE_TOKEN 269 #define DIRECTORY 270 #define ...
18.22
27
(translation_unit) "#define FOREACH 256\n#define PATHNAME 257\n#define STRING 258\n#define INDENT 259\n#define UNINDENT 260\n#define NL 261\n#define ERROR_TOKEN 262\n#define WARNING_TOKEN 263\n#define EXIST 264\n#define OWNER 265\n#define GROUP 266\n#define CHMOD_PERMISSION 267\n#define NUMBER 268\n#define FILE_TOKEN 2...
112
0
{"language": "c", "success": true, "metadata": {"lines": 27, "avg_line_length": 18.22, "nodes": 101, "errors": 0, "source_hash": "89da9fb97a520ab858d6e25284d0b7ec13683b260b426292a70f01ee159dee28", "categorized_nodes": 38}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_def", "text": "#define F...
80,847
c
/* * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) * From ASN.1 module "NR-RRC-Definitions" * found in "NR-RRC-Definitions.asn" * `asn1c -fcompound-names -no-gen-example -pdu=all` */ #ifndef _PDCCH_Config_H_ #define _PDCCH_Config_H_ #include "asn_application.h" /* Including external dependencies */ #i...
33.44
182
(translation_unit) "/*\n * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)\n * From ASN.1 module "NR-RRC-Definitions"\n * found in "NR-RRC-Definitions.asn"\n * `asn1c -fcompound-names -no-gen-example -pdu=all`\n */\n\n#ifndef _PDCCH_Config_H_\n#define _PDCCH_Config_H_\n\n\n#include "asn_application.h"\n\n/* Incl...
709
0
{"language": "c", "success": true, "metadata": {"lines": 182, "avg_line_length": 33.44, "nodes": 451, "errors": 0, "source_hash": "d0ba81cb046f6fe3a99fa83214fc60f04fdf20d8e9c8c770daaeb7aec531f05d", "categorized_nodes": 398}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
80,848
c
/** * Copyright (C) 2016-2020 Xilinx, Inc * * Licensed under the Apache License, Version 2.0 (the "License"). You may * not use this file except in compliance with the License. A copy of the * License is located at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
39.18
77
(translation_unit) "/**\n * Copyright (C) 2016-2020 Xilinx, Inc\n *\n * Licensed under the Apache License, Version 2.0 (the "License"). You may\n * not use this file except in compliance with the License. A copy of the\n * License is located at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless requi...
689
57
{"language": "c", "success": true, "metadata": {"lines": 77, "avg_line_length": 39.18, "nodes": 402, "errors": 0, "source_hash": "83280a809fc37ab29600a93aab86b4b055c1fa1b207fc222dc056e6e35472589", "categorized_nodes": 253}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
80,849
c
// Copyright (c) 2012 The Chromium OS Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef DEBUGD_SRC_LOG_TOOL_H_ #define DEBUGD_SRC_LOG_TOOL_H_ #include <map> #include <string> #include <base/macros.h> #include <dbus-c++/dbus.h...
36.28
32
(translation_unit) "// Copyright (c) 2012 The Chromium OS Authors. All rights reserved.\n// Use of this source code is governed by a BSD-style license that can be\n// found in the LICENSE file.\n\n#ifndef DEBUGD_SRC_LOG_TOOL_H_\n#define DEBUGD_SRC_LOG_TOOL_H_\n\n#include <map>\n#include <string>\n\n#include <base/macro...
285
15
{"language": "c", "success": true, "metadata": {"lines": 32, "avg_line_length": 36.28, "nodes": 182, "errors": 0, "source_hash": "c04932b2f326a425880323c8d8b249ceff58c69a2d6eed497be59b81e35d253a", "categorized_nodes": 125}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
80,850
c
// // Created by pengfei.zhou on 2019/11/29. // #import <Foundation/Foundation.h> #import "DoricNativePlugin.h" @interface DoricAnimatePlugin : DoricNativePlugin @end
22.86
7
(translation_unit) "//\n// Created by pengfei.zhou on 2019/11/29.\n//\n\n#import <Foundation/Foundation.h>\n\n#import "DoricNativePlugin.h"\n\n@interface DoricAnimatePlugin : DoricNativePlugin\n@end" (comment) "//" (comment) "// Created by pengfei.zhou on 2019/11/29." (comment) "//" (preproc_call) "#import <Fou...
18
3
{"language": "c", "success": true, "metadata": {"lines": 7, "avg_line_length": 22.86, "nodes": 12, "errors": 0, "source_hash": "06da6566b3d30b846e6a1c553b92353ca3dd0382b973bfcf4df28075207c9a59", "categorized_nodes": 5}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <Fo...
80,851
c
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h> #include "fmt.h" #include "matrix.h" #include "utils.h" #define RAND_M 5 #define MAX_MSG_LEN 256 #define ROW1 10 #define COL1 10 #define ROW2 10 #define COL2 12 int main() { srand(time(NULL)); matrix* m1 = gen_matrix(ROW1, COL1); if...
20.26
47
(translation_unit) "#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include <time.h>\n\n#include "fmt.h"\n#include "matrix.h"\n#include "utils.h"\n\n#define RAND_M 5\n#define MAX_MSG_LEN 256\n#define ROW1 10\n#define COL1 10\n\n#define ROW2 10\n#define COL2 12\n\nint main() {\n srand(time(NULL));\n\n m...
387
0
{"language": "c", "success": true, "metadata": {"lines": 47, "avg_line_length": 20.26, "nodes": 231, "errors": 0, "source_hash": "47efa1049bcb6fb6e4048fd5b6ee156c2f1f67b5913df98003b27a558ba1531a", "categorized_nodes": 143}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
80,852
c
/* -*- Mode: C; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* * Copyright 2014-2020 Couchbase, Inc. * * 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 * * ...
28.88
163
(translation_unit) "/* -*- Mode: C; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */\n/*\n * Copyright 2014-2020 Couchbase, Inc.\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 o...
1,090
54
{"language": "c", "success": true, "metadata": {"lines": 163, "avg_line_length": 28.88, "nodes": 694, "errors": 0, "source_hash": "0475adf9e77b414100634af455a0ba5115218364970d4a789145cb7cf6d6332d", "categorized_nodes": 490}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
80,853
c
/*!@addtogroup HiTechnic * @{ * @defgroup httmux Touch Sensor MUX * HiTechnic Touch Sensor MUX * @{ */ #ifndef __HTTMUX_H__ #define __HTTMUX_H__ /** \file hitechnic-touchmux.h * \brief HiTechnic Touch Sensor Multiplexer Sensor driver * * hitechnic-touchmux.h provides an API for the HiTechnic Touch Sensor Multi...
26.68
85
(translation_unit) "/*!@addtogroup HiTechnic\n * @{\n * @defgroup httmux Touch Sensor MUX\n * HiTechnic Touch Sensor MUX\n * @{\n */\n\n#ifndef __HTTMUX_H__\n#define __HTTMUX_H__\n/** \file hitechnic-touchmux.h\n * \brief HiTechnic Touch Sensor Multiplexer Sensor driver\n *\n * hitechnic-touchmux.h provides an API for ...
344
0
{"language": "c", "success": true, "metadata": {"lines": 85, "avg_line_length": 26.68, "nodes": 223, "errors": 0, "source_hash": "359913aa2b1555c0436a77eafeb4b5c9e6b0772c1cc03b8934e149921b89d194", "categorized_nodes": 174}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
80,854
c
#ifndef FILE_H #define FILE_H #include <string> #include <vector> struct user; struct credential; namespace file::credentials { void write(std::string const& filename, std::vector<credential> const&); void append(std::string const&, std::vector<credential> const&); std::vector<credential> read(std::strin...
39.74
27
(translation_unit) "#ifndef FILE_H\n#define FILE_H\n\n#include <string>\n#include <vector>\n\nstruct user;\nstruct credential;\n\nnamespace file::credentials {\n void write(std::string const& filename, std::vector<credential> const&);\n void append(std::string const&, std::vector<credential> const&);\n std::ve...
354
32
{"language": "c", "success": true, "metadata": {"lines": 27, "avg_line_length": 39.74, "nodes": 192, "errors": 0, "source_hash": "026f6654fd248f8132182a2948065fc4d1f5e9801d6ff7c7d17cf888f138723c", "categorized_nodes": 142}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
80,855
c
#define STB_IMAGE_IMPLEMENTATION #define STBI_NO_STDIO #include "stb_image.h"
25
3
(translation_unit) "#define STB_IMAGE_IMPLEMENTATION\n#define STBI_NO_STDIO\n#include "stb_image.h"\n" (preproc_def) "#define STB_IMAGE_IMPLEMENTATION\n" (#define) "#define" (identifier) "STB_IMAGE_IMPLEMENTATION" (preproc_def) "#define STBI_NO_STDIO\n" (#define) "#define" (identifier) "STBI_NO_STDI...
13
0
{"language": "c", "success": true, "metadata": {"lines": 3, "avg_line_length": 25.0, "nodes": 9, "errors": 0, "source_hash": "7f580be9067c12b4a0fa93ee522394e7215a49a28686e5e2b9445527ded2d486", "categorized_nodes": 5}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_def", "text": "#define STB_IM...
80,856
c
// https://www.codeproject.com/Articles/1275479/State-Machine-Design-in-C // // The StateMachine module is a C language implementation of a finite state // machine (FSM). // // All event data must be created dynamically using SM_XAlloc. Use a fixed // block allocator or the heap as desired. // // The standard versio...
42.59
128
(translation_unit) "// https://www.codeproject.com/Articles/1275479/State-Machine-Design-in-C\n//\n// The StateMachine module is a C language implementation of a finite state \n// machine (FSM).\n//\n// All event data must be created dynamically using SM_XAlloc. Use a fixed \n// block allocator or the heap as desired. ...
672
0
{"language": "c", "success": true, "metadata": {"lines": 128, "avg_line_length": 42.59, "nodes": 469, "errors": 0, "source_hash": "1e9a5c04c619a57da2ab93c43c43ee2b3d761fb33031f3a5a8a423cbfa609f5f", "categorized_nodes": 284}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
80,857
c
/*===============================================================================================*/ /* >>> Copyright (C) Telit Communications S.p.A. Italy All Rights Reserved. <<< */ /*! @file azx_spi_flash_types.h @brief Project: SPI data flash @details @version 1.0.0 @note ...
23.4
40
(translation_unit) "/*===============================================================================================*/\n/* >>> Copyright (C) Telit Communications S.p.A. Italy All Rights Reserved. <<< */\n/*!\n @file\n azx_spi_flash_types.h\n\n @brief\n Project: SPI data flash\n\n @details\n...
104
0
{"language": "c", "success": true, "metadata": {"lines": 40, "avg_line_length": 23.4, "nodes": 88, "errors": 0, "source_hash": "e6e8b9383781da690d46b5ae9979a06ef860fdec01ce99930c18e29a80d14f3a", "categorized_nodes": 47}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef A...
80,858
c
#ifndef CCXS_DATA_H #define CCXS_DATA_H #include <libwebsockets.h> struct client_user_data { const char *name; /* should be a constant */ void (*subscribe)(struct lws *wsi); char *(*parse_json)(const void *const in); }; /* one of these created for each message */ struct msg { void *payload; /* is ...
31.38
29
(translation_unit) "#ifndef CCXS_DATA_H\n#define CCXS_DATA_H\n\n#include <libwebsockets.h>\n\nstruct client_user_data {\n const char *name; /* should be a constant */\n\n void (*subscribe)(struct lws *wsi);\n\n char *(*parse_json)(const void *const in);\n};\n\n/* one of these created for each message */\n\nstr...
179
0
{"language": "c", "success": true, "metadata": {"lines": 29, "avg_line_length": 31.38, "nodes": 124, "errors": 0, "source_hash": "1ec709035864605de4e5a23f85b35c1835cc4bcf0dae472c6a70ef20ff2c3e59", "categorized_nodes": 81}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
80,859
c
// Copyright (c) Eltechs. // All rights reserved. // // This code is licensed under the MIT License. // // Permission is hereby granted, free of charge, to any person obtaining a copy of this software // and associated documentation files (the "Software"), to deal in the Software without restriction, // including with...
37.2
105
(translation_unit) " Copyright (c) Eltechs.\n// All rights reserved.\n//\n// This code is licensed under the MIT License.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy of this software\n// and associated documentation files (the "Software"), to deal in the Software without restric...
702
32
{"language": "c", "success": true, "metadata": {"lines": 105, "avg_line_length": 37.2, "nodes": 418, "errors": 0, "source_hash": "96285576f2f44941d7a9e9b42db5c9ef0a1ccb500031505c1eef83e49df072d3", "categorized_nodes": 275}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "ragma o...
80,860
c
#ifndef _REGEX_CONFIG_H_ #define _REGEX_CONFIG_H_ # define GAWK # define NO_MBSUPPORT #endif
17.6
5
(translation_unit) "#ifndef _REGEX_CONFIG_H_\n#define _REGEX_CONFIG_H_\n\n# define GAWK\n# define NO_MBSUPPORT\n\n#endif\n" (preproc_ifdef) "#ifndef _REGEX_CONFIG_H_\n#define _REGEX_CONFIG_H_\n\n# define GAWK\n# define NO_MBSUPPORT\n\n#endif" (#ifndef) "#ifndef" (identifier) "_REGEX_CONFIG_H_" (preproc_de...
14
0
{"language": "c", "success": true, "metadata": {"lines": 5, "avg_line_length": 17.6, "nodes": 13, "errors": 0, "source_hash": "b2ec3e082719b4bfec507594ab1f8a5f8b27cd58095e1c88a64869f0a07ffcfe", "categorized_nodes": 7}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef _RE...
80,861
c
#include <stdio.h> #include "my shlib/my util.h" void foo2() { printf("test passed\n"); }
15
6
(translation_unit) "#include <stdio.h>\n#include "my shlib/my util.h"\n\nvoid foo2() \n{ \n printf("test passed\n");\n}\n" (preproc_include) "#include <stdio.h>\n" (#include) "#include" (system_lib_string) "<stdio.h>" (preproc_include) "#include "my shlib/my util.h"\n" (#include) "#include" (stri...
32
0
{"language": "c", "success": true, "metadata": {"lines": 6, "avg_line_length": 15.0, "nodes": 16, "errors": 0, "source_hash": "f63d36acc793891ae66e0fd29d7efde9409a75e5664903c85f8b1f9ba44976ee", "categorized_nodes": 12}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#include...
80,862
c
/* * This file is part of OpenModelica. * * Copyright (c) 1998-2014, Open Source Modelica Consortium (OSMC), * c/o Linköpings universitet, Department of Computer and Information Science, * SE-58183 Linköping, Sweden. * * All rights reserved. * * THIS PROGRAM IS PROVIDED UNDER THE TERMS OF THE BSD NEW LICENSE O...
37.68
207
(translation_unit) "/*\n * This file is part of OpenModelica.\n *\n * Copyright (c) 1998-2014, Open Source Modelica Consortium (OSMC),\n * c/o Linköpings universitet, Department of Computer and Information Science,\n * SE-58183 Linköping, Sweden.\n *\n * All rights reserved.\n *\n * THIS PROGRAM IS PROVIDED UNDER THE T...
1,728
0
{"language": "c", "success": true, "metadata": {"lines": 207, "avg_line_length": 37.68, "nodes": 1086, "errors": 0, "source_hash": "9bb48d0e030d7ff04112aaf3e28f096a050f0ea2ed41f86e75e90f0955a07e97", "categorized_nodes": 748}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "nc...
80,863
c
/** @file @brief 汎用リングバッファ @date 2017.09.07 @date 2002.03.24 @author <NAME> */ #include "fifo.h" /** @brief fifoを初期化する @param[in] fp 初期化するfifo @param[in] buf fifoとなるバッファポインタ @param[in] size バッファのバイト数 @note バッファ内に保存できるデータは size-1 となる */ void init_fifo(struct st_fifo *fp, unsigned char...
18.54
134
(translation_unit) "/** @file\n @brief 汎用リングバッファ\n\n @date 2017.09.07\n @date 2002.03.24\n @author <NAME>\n*/\n\n#include "fifo.h"\n\n/**\n @brief fifoを初期化する\n\n @param[in] fp 初期化するfifo\n @param[in] buf fifoとなるバッファポインタ\n @param[in] size バッファのバイト数\n\n @note バッファ内に保存できるデータは size-1 となる\n*/\nvoid init...
855
0
{"language": "c", "success": true, "metadata": {"lines": 134, "avg_line_length": 18.54, "nodes": 575, "errors": 0, "source_hash": "4773f0f11971cc55387307672aeefc9d919d9dd8cc7b31d61de20acc74685e73", "categorized_nodes": 388}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "\n/...
80,864
c
#include <stdlib.h> #include <stdio.h> #include <string.h> #include <math.h> /* * COPYRIGHT * * permi.c * Copyright (C) 2014 Exstrom Laboratories LLC * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as ...
28.12
68
(translation_unit) "#include <stdlib.h>\n#include <stdio.h>\n#include <string.h>\n#include <math.h>\n\n/*\n * COPYRIGHT\n *\n * permi.c\n * Copyright (C) 2014 Exstrom Laboratories LLC\n *\n * This program is free software; you can redistribute it and/or modify\n * it under the terms of th...
473
0
{"language": "c", "success": true, "metadata": {"lines": 68, "avg_line_length": 28.12, "nodes": 281, "errors": 0, "source_hash": "6ed70b1fb813e2d22d1374cbe8ab58ce27f204e6854ce3929ec549db96151223", "categorized_nodes": 205}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
80,865
c
#include "screen.h" #include <string.h> #include <SDL2/SDL.h> #include "common.h" #include "compat.h" #include "icon.xpm" #include "lock_util.h" #include "log.h" #include "tiny_xpm.h" #include "video_buffer.h" #define DISPLAY_MARGINS 96 // get the window size in a struct size static struct size get_native_window_si...
36.49
287
(translation_unit) "#include "screen.h"\n\n#include <string.h>\n#include <SDL2/SDL.h>\n\n#include "common.h"\n#include "compat.h"\n#include "icon.xpm"\n#include "lock_util.h"\n#include "log.h"\n#include "tiny_xpm.h"\n#include "video_buffer.h"\n\n#define DISPLAY_MARGINS 96\n\n// get the window size in a struct size\nsta...
2,381
0
{"language": "c", "success": true, "metadata": {"lines": 287, "avg_line_length": 36.49, "nodes": 1399, "errors": 0, "source_hash": "cb7f0e188bff25b42296347db52db853f30fd37c83f3f652e77450e7c71f5b9c", "categorized_nodes": 1104}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#...
80,866
c
#include "shell.h" int32_t main(int argc, char **argv) { //Load config // Run command loop shloop(); //Cleanup return EXIT_SUCCESS; }
16.11
9
(translation_unit) "#include "shell.h"\n\nint32_t main(int argc, char **argv)\n{\n //Load config\n\n // Run command loop\n shloop();\n\n //Cleanup\n\n return EXIT_SUCCESS;\n}\n" (preproc_include) "#include "shell.h"\n" (#include) "#include" (string_literal) ""shell.h"" (") """ (stri...
42
0
{"language": "c", "success": true, "metadata": {"lines": 9, "avg_line_length": 16.11, "nodes": 23, "errors": 0, "source_hash": "2ee65695312c40830936131e9aba114ce49326d4731a51d6a5d67d3f0b822363", "categorized_nodes": 14}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#includ...
80,867
c
// <NAME> // // Game object #pragma once #include <allegro.h> #include "Apple.h" #include "Snake.h" #include "System.h" class Game { private: BITMAP* buffer; Snake snake; public: Game(); ~Game(); System system; Apple apple; bool done; void init(...
15.17
23
(translation_unit) "// <NAME>\n//\n// Game object\n\n#pragma once\n#include <allegro.h>\n#include "Apple.h"\n#include "Snake.h"\n#include "System.h"\n\nclass Game\n{\n private:\n BITMAP* buffer;\n Snake snake;\n\n public:\n Game();\n ~Game();\n System system;\n Apple appl...
104
0
{"language": "c", "success": true, "metadata": {"lines": 23, "avg_line_length": 15.17, "nodes": 59, "errors": 0, "source_hash": "e382d0b04ea9c6480268f2509cd12e593bc105e70de3f712b024428b7977ef4b", "categorized_nodes": 43}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
80,868
c
/* *********************************************************** * * * Copyright, (C) Honeywell Bull Inc., 1987 * * * * Copyright, (C) Honeywell Information Systems Inc., 1986 * * ...
39.09
44
(translation_unit) "/* ***********************************************************\n * *\n * Copyright, (C) Honeywell Bull Inc., 1987 *\n * *\n * Copyright, (C) Honeywell Information Sy...
215
2
{"language": "c", "success": true, "metadata": {"lines": 44, "avg_line_length": 39.09, "nodes": 130, "errors": 0, "source_hash": "961129e3eb58fa84c71beaff5549594d8a90ebf1cfca07b33c052df46f76df30", "categorized_nodes": 105}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
80,869
c
#pragma once #include "UrlManager.h" #include "WinPCap.h" #include "../../../wptdriver/ipfw.h" #define MSG_UPDATE_UI (WM_APP + 1) #define MSG_CONTINUE_STARTUP (WM_APP + 2) class CurlBlastDlg; class CSpeed { public: CSpeed():connType(0){addr.S_un.S_addr = 0; mask.S_un.S_addr = 0;} CSpeed(const CSpeed&...
20.32
113
(translation_unit) "#pragma once \n#include "UrlManager.h" \n#include "WinPCap.h" \n#include "../../../wptdriver/ipfw.h" \n \n#define MSG_UPDATE_UI (WM_APP + 1) \n#define MSG_CONTINUE_STARTUP (WM_APP + 2) \n \nclass CurlBlastDlg; \n \nclass CSpeed \n{ \npublic: \n CSpeed():connType(0){addr.S_un.S_addr = 0; mask.S_un.S_...
706
9
{"language": "c", "success": true, "metadata": {"lines": 113, "avg_line_length": 20.32, "nodes": 463, "errors": 0, "source_hash": "3908e37c1753849a78b47039c8003ff30d9967686e346db596dbd8ad19e9fbb2", "categorized_nodes": 366}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragm...
80,870
c
#ifndef HACKERRANK_EULER_068_H_ #define HACKERRANK_EULER_068_H_ #include <set> #include <string> #include <array> #include <vector> // https://www.hackerrank.com/contests/projecteuler/challenges/euler068/problem //#define _GET_MAX_POSSIBLE_LINES struct P068MagicNGonRing { std::set<std::string> results; void Solv...
25.89
64
(translation_unit) "#ifndef HACKERRANK_EULER_068_H_\n#define HACKERRANK_EULER_068_H_\n\n#include <set>\n#include <string>\n#include <array>\n#include <vector>\n\n// https://www.hackerrank.com/contests/projecteuler/challenges/euler068/problem\n\n//#define _GET_MAX_POSSIBLE_LINES\n\nstruct P068MagicNGonRing\n{\n std::set...
395
21
{"language": "c", "success": true, "metadata": {"lines": 64, "avg_line_length": 25.89, "nodes": 251, "errors": 0, "source_hash": "28c583c096da630630d41811f5d0ffffb85087c4f90a6d05e7c612fc8cb44247", "categorized_nodes": 177}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
80,871
c
#ifndef __NT_DEFINITIONS_H__ #define __NT_DEFINITIONS_H__ extern "C" { enum SYSTEM_INFORMATION_CLASS { SystemProcessInformation = 5, // SystemProcessesAndThreadsInformation SystemModuleInformation = 11 }; // Note: simplified structure representation t...
31.96
104
(translation_unit) "#ifndef __NT_DEFINITIONS_H__\n#define __NT_DEFINITIONS_H__\n\nextern "C"\n{\n enum SYSTEM_INFORMATION_CLASS\n {\n SystemProcessInformation = 5, // SystemProcessesAndThreadsInformation\n SystemModuleInformation = 11 \n };\n\n // Note: simplified...
542
12
{"language": "c", "success": true, "metadata": {"lines": 104, "avg_line_length": 31.96, "nodes": 370, "errors": 0, "source_hash": "1f6557524014b021341c97168d84628aedea0f7dccd4f5f2040ebdabb64b3cb0", "categorized_nodes": 304}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
80,872
c
// C++ libraries #include <string.h> // FOSSA libraries #include <FOSSA-Comms.h> // contributed libraries #include <RadioLib.h> #include <TimerOne.h> // files #include "communication.h" #include "configuration.h" #include "debugging_utilities.h" #include "persistent_storage.h" #include "pin_interface.h" #include "sy...
22.57
14
(translation_unit) "// C++ libraries\n#include <string.h>\n\n// FOSSA libraries\n#include <FOSSA-Comms.h>\n\n// contributed libraries\n#include <RadioLib.h>\n#include <TimerOne.h>\n\n// files\n#include "communication.h"\n#include "configuration.h"\n#include "debugging_utilities.h"\n#include "persistent_storage.h"\n#inc...
53
0
{"language": "c", "success": true, "metadata": {"lines": 14, "avg_line_length": 22.57, "nodes": 30, "errors": 0, "source_hash": "2107a0e5a978a274d08b2496890f01a98d0762ba51374880496b2d1c21fa70f2", "categorized_nodes": 30}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
80,873
c
// // HachidoriScripting.h // Hachidori // // Created by <NAME> on 6/19/15. // Copyright 2015 MAL Updater OS X Group and <NAME> All rights reserved. Code licensed under New BSD License // #import <Foundation/Foundation.h> @interface ScriptingGetStatus: NSScriptCommand @end @interface ScriptingScrobbleNow: NSScr...
27.07
14
(translation_unit) "//\n// HachidoriScripting.h\n// Hachidori\n//\n// Created by <NAME> on 6/19/15.\n// Copyright 2015 MAL Updater OS X Group and <NAME> All rights reserved. Code licensed under New BSD License\n//\n\n#import <Foundation/Foundation.h>\n\n@interface ScriptingGetStatus: NSScriptCommand\n\n@end\n\n@int...
40
9
{"language": "c", "success": true, "metadata": {"lines": 14, "avg_line_length": 27.07, "nodes": 24, "errors": 0, "source_hash": "b91871771cf44357987fcd21d4f294406bf349d2b3e98ea1e252143dc399603d", "categorized_nodes": 12}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <...
80,874
c
/* * epu_n_unit_ba_terminate.h * * Code generation for function 'epu_n_unit_ba_terminate' * * C source code generated on: Tue Oct 30 14:49:26 2012 * */ #ifndef __EPU_N_UNIT_BA_TERMINATE_H__ #define __EPU_N_UNIT_BA_TERMINATE_H__ /* Include files */ #include <math.h> #include <stdlib.h> #include <string.h> #inclu...
24.03
30
(translation_unit) "/*\n * epu_n_unit_ba_terminate.h\n *\n * Code generation for function 'epu_n_unit_ba_terminate'\n *\n * C source code generated on: Tue Oct 30 14:49:26 2012\n *\n */\n\n#ifndef __EPU_N_UNIT_BA_TERMINATE_H__\n#define __EPU_N_UNIT_BA_TERMINATE_H__\n/* Include files */\n#include <math.h>\n#include <std...
91
0
{"language": "c", "success": true, "metadata": {"lines": 30, "avg_line_length": 24.03, "nodes": 55, "errors": 0, "source_hash": "1b58293e67e2c5bbc780f2a2067841470f3918cc2a7e36c1103fe57b70d2fb72", "categorized_nodes": 45}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
80,875
c
#include "Lists.h" #include "list.h" #include <Types.h> #include <string.h> // Based on the work of <NAME> (kurisuto). // url: umich.edu/~archive/mac/development/source/simplelistmanager.txt #define StandardList 0 short rowNum = 0; ListHandle Create_List(WindowPtr _win, Rect _rect) { ListHandle _list; Rect ViewR...
19.45
156
(translation_unit) "#include "Lists.h"\n#include "list.h"\n#include <Types.h>\n#include <string.h>\n\n// Based on the work of <NAME> (kurisuto).\n// url: umich.edu/~archive/mac/development/source/simplelistmanager.txt\n\n#define StandardList 0\n\n\nshort rowNum = 0;\n\nListHandle Create_List(WindowPtr _win, Rect _rect)...
923
0
{"language": "c", "success": true, "metadata": {"lines": 156, "avg_line_length": 19.45, "nodes": 544, "errors": 0, "source_hash": "ac406be305cb3d03638a3dffed90e79b1ed9d3fd728d6baaeaf3520be084027d", "categorized_nodes": 425}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
80,876
c
/* * VolumeTreeViewer.h * * Created on: Nov 15, 2012 * Author: <NAME> */ #ifndef VOLUMETREEVIEWER_H_ #define VOLUMETREEVIEWER_H_ // Include GLee before any other OpenGL includes #include "../../3drenderer/GLee_r.h" // #include "Camera3D.h" #include "TrackballInteractorCamera.h" #include "../render/ActorGL....
28.71
41
(translation_unit) "/*\n * VolumeTreeViewer.h\n *\n * Created on: Nov 15, 2012\n * Author: <NAME>\n */\n\n#ifndef VOLUMETREEVIEWER_H_\n#define VOLUMETREEVIEWER_H_\n\n// Include GLee before any other OpenGL includes\n#include "../../3drenderer/GLee_r.h"\n//\n#include "Camera3D.h"\n#include "TrackballInteractorCame...
250
12
{"language": "c", "success": true, "metadata": {"lines": 41, "avg_line_length": 28.71, "nodes": 175, "errors": 0, "source_hash": "5651951a47a34c4d2737bc39a6c5e17b61be3c1f90c085a77ba3f2975d118efa", "categorized_nodes": 125}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
80,877
c
/* * $Id: postconfig.h,v 1.1 2006-04-07 03:06:19 kensaku Exp $ */ #ifndef _CEAP_FIXCONFIG_H #define _CEAP_FIXCONFIG_H #define CEAP_PACKAGE PACKAGE #undef PACKAGE #define CEAP_PACKAGE_BUGREPORT PACKAGE_BUGREPORT #undef PACKAGE_BUGREPORT #define CEAP_PACKAGE_NAME PACKAGE_NAME #undef PACKAGE_NAME #define CEAP_PACKAGE_...
27.63
49
(translation_unit) "/*\n * $Id: postconfig.h,v 1.1 2006-04-07 03:06:19 kensaku Exp $\n */\n\n#ifndef _CEAP_FIXCONFIG_H\n#define _CEAP_FIXCONFIG_H\n\n#define CEAP_PACKAGE PACKAGE\n#undef PACKAGE\n#define CEAP_PACKAGE_BUGREPORT PACKAGE_BUGREPORT\n#undef PACKAGE_BUGREPORT\n#define CEAP_PACKAGE_NAME PACKAGE_NAME\n#undef PA...
137
0
{"language": "c", "success": true, "metadata": {"lines": 49, "avg_line_length": 27.63, "nodes": 133, "errors": 0, "source_hash": "1874ba88c254a1dfc177a376957f196800109578f09924bded0116032fc89712", "categorized_nodes": 61}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
80,878
c
#include <fc_api.h> #include "history.h" #include "gemini.h" #include "page.h" #define SAMS_ADDR 0xF000 #define HISTORY ((struct List*) (SAMS_ADDR)) void map_history() { fc_sams_map_page(state.history_id, SAMS_ADDR); } void FC_SAMS(0,init_history()) { state.history_id = fc_sams_alloc_pages(1); map_history(); ...
25.57
67
(translation_unit) "#include <fc_api.h>\n#include "history.h"\n#include "gemini.h"\n#include "page.h"\n\n#define SAMS_ADDR 0xF000\n#define HISTORY ((struct List*) (SAMS_ADDR))\n\nvoid map_history() {\n fc_sams_map_page(state.history_id, SAMS_ADDR);\n}\n\nvoid FC_SAMS(0,init_history()) {\n state.history_id = fc_sams_a...
629
5
{"language": "c", "success": true, "metadata": {"lines": 67, "avg_line_length": 25.57, "nodes": 365, "errors": 0, "source_hash": "862e444eabfb83d54ba244f69017f74e31ab79d1ae7ba241b5a57486b03627e6", "categorized_nodes": 247}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
80,879
c
// Fill out your copyright notice in the Description page of Project Settings. #pragma once #include "CoreMinimal.h" #include "Abilities/Tasks/AbilityTask.h" #include "AbilityTask_WaitDelayOneFrame.generated.h" DECLARE_DYNAMIC_MULTICAST_DELEGATE(FWaitDelayOneFrameDelegate); /** * Like WaitDelay but only delays one ...
37.86
22
(translation_unit) "// Fill out your copyright notice in the Description page of Project Settings.\n\n#pragma once\n\n#include "CoreMinimal.h"\n#include "Abilities/Tasks/AbilityTask.h"\n#include "AbilityTask_WaitDelayOneFrame.generated.h"\n\nDECLARE_DYNAMIC_MULTICAST_DELEGATE(FWaitDelayOneFrameDelegate);\n\n/**\n* Like...
158
8
{"language": "c", "success": true, "metadata": {"lines": 22, "avg_line_length": 37.86, "nodes": 90, "errors": 0, "source_hash": "55e1c3623d954323ddb2f2cfdb3d7f17df58cf1e7b90818678d0458bdbad94fa", "categorized_nodes": 63}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
80,880
c
#ifndef __CANDMC_H__ #define __CANDMC_H__ /* SUMMA and Cannon */ #include "../alg/MM/topo_pdgemm/topo_pdgemm_algs.h" /* Split-dimensional Cannon's algorithm for multidimensional torus networks */ #include "../alg/MM/splitdim_cannon/spcannon.h" /* tournament (CA) pivoting for panels of matrices */ #include "../alg/L...
39.76
25
(translation_unit) "#ifndef __CANDMC_H__\n#define __CANDMC_H__\n\n/* SUMMA and Cannon */\n#include "../alg/MM/topo_pdgemm/topo_pdgemm_algs.h"\n\n/* Split-dimensional Cannon's algorithm for multidimensional torus networks */\n#include "../alg/MM/splitdim_cannon/spcannon.h"\n\n/* tournament (CA) pivoting for panels of m...
85
0
{"language": "c", "success": true, "metadata": {"lines": 25, "avg_line_length": 39.76, "nodes": 40, "errors": 0, "source_hash": "4973b057d0cbaa4b467579ec80856fd7a3fa40533bd035cb0c91bf39eb4440c0", "categorized_nodes": 38}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
80,881
c
// Copyright (C) 2017 - 2018 by <NAME>, Virginia Tech Intellectual // Properties, Inc., University of Heidelberg, and University of // of Connecticut School of Medicine. // All rights reserved. // Copyright (C) 2010 - 2016 by <NAME>, Virginia Tech Intellectual // Properties, Inc., University of Heidelberg, and The Uni...
32.81
36
(translation_unit) "// Copyright (C) 2017 - 2018 by <NAME>, Virginia Tech Intellectual\n// Properties, Inc., University of Heidelberg, and University of\n// of Connecticut School of Medicine.\n// All rights reserved.\n\n// Copyright (C) 2010 - 2016 by <NAME>, Virginia Tech Intellectual\n// Properties, Inc., University ...
156
10
{"language": "c", "success": true, "metadata": {"lines": 36, "avg_line_length": 32.81, "nodes": 87, "errors": 0, "source_hash": "2a8d876f9a3a59b8d4f1bbf6c164089fbe977c7c4a565e1406e05ca4c72c1377", "categorized_nodes": 56}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
80,882
c
#ifndef STUDENT_H #define STUDENT_H #include <iostream> #include <fstream> #include <sstream> #include <vector> #include <unordered_map> #include <mutex> #include "city/DTSim.h" #include "DefaultPeople.h" class Student : public DefaultPeople { private: int grade; public: Student(double x_, double y_, int age_, in...
20.53
19
(translation_unit) "#ifndef STUDENT_H\n#define STUDENT_H\n\n#include <iostream>\n#include <fstream>\n#include <sstream>\n#include <vector>\n#include <unordered_map>\n#include <mutex>\n\n#include "city/DTSim.h"\n#include "DefaultPeople.h"\n\nclass Student : public DefaultPeople {\nprivate:\n int grade;\n\npublic:\n Stud...
109
5
{"language": "c", "success": true, "metadata": {"lines": 19, "avg_line_length": 20.53, "nodes": 69, "errors": 0, "source_hash": "d7bcf6335b2606b0f96b0de861acba7cc895790cf2a28b724372188f75d63a5e", "categorized_nodes": 53}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
80,883
c
// // UIView+HDCore.h // HDCore // // Created by zhangdadi on 15/3/31. // Copyright (c) 2015年 HD. All rights reserved. // #import <UIKit/UIKit.h> @interface UIView (HDCore) @property CGPoint HDOrigin; @property CGSize HDSize; @property CGFloat HDWidth; @property CGFloat HDHeight; @property CGFloat HDCenterX; @p...
17.06
52
(translation_unit) "//\n// UIView+HDCore.h\n// HDCore\n//\n// Created by zhangdadi on 15/3/31.\n// Copyright (c) 2015年 HD. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface UIView (HDCore)\n\n@property CGPoint HDOrigin;\n@property CGSize HDSize;\n@property CGFloat HDWidth;\n@property CGFloat HDHeig...
199
50
{"language": "c", "success": true, "metadata": {"lines": 52, "avg_line_length": 17.06, "nodes": 144, "errors": 0, "source_hash": "c4ba42a70f093913882590e1930451584d56497709dae203090bf13fe6c6bfa1", "categorized_nodes": 80}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "mport <U...
80,884
c
#include <stdio.h> void print_uebersicht(); int choose_option(); int main() { double rate_children = 5.00; double rate_adults = 9.50; double rate_students = 7.50; int status = 1; int option; while (status) { print_uebersicht(); option = choose_option(); switch (option) { case 'a': printf("Preiskateg...
18.77
71
(translation_unit) "#include <stdio.h>\n\nvoid print_uebersicht();\nint choose_option();\n\nint main()\n{\n double rate_children = 5.00;\n double rate_adults = 9.50;\n double rate_students = 7.50;\n int status = 1;\n int option;\n\n while (status) {\n print_uebersicht();\n option = choose_option();\n switch (option)...
436
0
{"language": "c", "success": true, "metadata": {"lines": 71, "avg_line_length": 18.77, "nodes": 248, "errors": 0, "source_hash": "b2044e6fb8f6f30c13bd5d78dea6be02ab811799ed85fa6343c9609f6e32163d", "categorized_nodes": 147}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
80,885
c
/****************************************************************************/ /// @file DistributionCont.h /// @author <NAME> /// @date Sept 2002 /// @version $Id$ /// // A container for distributions /****************************************************************************/ // SUMO, Simulation of Urban MOb...
39.29
62
(translation_unit) "/****************************************************************************/\n/// @file DistributionCont.h\n/// @author <NAME>\n/// @date Sept 2002\n/// @version $Id$\n///\n// A container for distributions\n/****************************************************************************/\n// S...
199
8
{"language": "c", "success": true, "metadata": {"lines": 62, "avg_line_length": 39.29, "nodes": 102, "errors": 0, "source_hash": "17b1dd72de2bc306d0bb7cd0397a8608c39c8d31748d24cc89cbafe55d53b278", "categorized_nodes": 73}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
80,886
c
#ifndef MODULE_H_INCLUDED #define MODULE_H_INCLUDED #define GET_SALUTATION_SYM "get_salutation" typedef const char * get_salutation_t(void); const char * get_salutation(void); #endif /* MODULE_H_INCLUDED */
33.5
6
(translation_unit) "#ifndef MODULE_H_INCLUDED\n#define MODULE_H_INCLUDED\n\n#define GET_SALUTATION_SYM "get_salutation"\n\ntypedef const char * get_salutation_t(void);\nconst char * get_salutation(void);\n\n#endif /* MODULE_H_INCLUDED */\n" (preproc_ifdef) "#ifndef MODULE_H_INCLUDED\n#define MODULE_H_INCLUDED\n\n#def...
42
0
{"language": "c", "success": true, "metadata": {"lines": 6, "avg_line_length": 33.5, "nodes": 30, "errors": 0, "source_hash": "20acba68dbb583e31113b2af23ce8dbbea0eb195421e3546b4e85d554d88238b", "categorized_nodes": 14}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef MO...
80,887
c
// Copyright 2016 <NAME> and The CondorLang Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. #ifndef FS_H_ #define FS_H_ #include <fstream> #include <streambuf> #include <iostream> #include <vector> #include <dirent.h> #i...
23.94
32
(translation_unit) "// Copyright 2016 <NAME> and The CondorLang Authors. All rights reserved. \n// Use of this source code is governed by a BSD-style \n// license that can be found in the LICENSE file. \n \n#ifndef FS_H_ \n#define FS_H_ \n \n#include <fstream> \n#include <streambuf> \n#include <iostream> \n#include <ve...
185
9
{"language": "c", "success": true, "metadata": {"lines": 32, "avg_line_length": 23.94, "nodes": 110, "errors": 0, "source_hash": "a59fbbf26f649d080c2e81c96559d1da11e3f5549e12268fa702c96f58b43c83", "categorized_nodes": 85}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
80,888
c
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by <NAME>. // #import "NSEvent.h" @interface NSEvent (DVTMorphingDragImageControllerExtras) - (BOOL)_DVTMorphingDragImageController_isEscapeKeyEvent; - (BOOL)_DVTMorphingDragImageController_isKeyEvent...
33.6
10
(translation_unit) "//\n// Generated by class-dump 3.5 (64 bit).\n//\n// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by <NAME>.\n//\n\n#import "NSEvent.h"\n\n@interface NSEvent (DVTMorphingDragImageControllerExtras)\n- (BOOL)_DVTMorphingDragImageController_isEscapeKeyEvent;\n- (BOOL)_DVTMorphing...
52
6
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 33.6, "nodes": 30, "errors": 0, "source_hash": "310e4b5c7ecb26fbdf8c980a0fda31d8aa70b918ce237ee5d04cd3006dbef4c3", "categorized_nodes": 16}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import \"...
80,889
c
#define NDEBUG /* I'm building a production copy -- ctm */ #include <stdio.h> #include "iconcontrol.h" enum { new_folder_menuid = 1, open_menuid, print_menuid, close_menuid, save_menuid, unused, delete_menuid, duplicate_menuid, get_info_menuid, rename_menuid, send_to_ho...
22.89
122
(translation_unit) "#define NDEBUG /* I'm building a production copy -- ctm */\n\n#include <stdio.h>\n#include "iconcontrol.h"\n\nenum\n {\n new_folder_menuid = 1,\n open_menuid,\n print_menuid,\n close_menuid,\n save_menuid,\n unused,\n delete_menuid,\n duplicate_menuid,\n get_info_menuid...
483
1
{"language": "c", "success": true, "metadata": {"lines": 122, "avg_line_length": 22.89, "nodes": 372, "errors": 0, "source_hash": "55c5d58e3901af2c56a0bd72844f0443984ca030a797c0951aacca526c7ac5c4", "categorized_nodes": 229}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_def", "text": "#define...
80,890
c
// Copyright 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef NET_QUIC_CRYPTO_PROOF_VERIFIER_CHROMIUM_H_ #define NET_QUIC_CRYPTO_PROOF_VERIFIER_CHROMIUM_H_ #include <string> #include <vector> #include "base...
40.75
69
(translation_unit) "// Copyright 2013 The Chromium Authors. All rights reserved.\n// Use of this source code is governed by a BSD-style license that can be\n// found in the LICENSE file.\n\n#ifndef NET_QUIC_CRYPTO_PROOF_VERIFIER_CHROMIUM_H_\n#define NET_QUIC_CRYPTO_PROOF_VERIFIER_CHROMIUM_H_\n\n#include <string>\n#incl...
427
19
{"language": "c", "success": true, "metadata": {"lines": 69, "avg_line_length": 40.75, "nodes": 248, "errors": 0, "source_hash": "34bd242febe584eb64aacaf35bf155ffccbc5dd127adb872fa334c49b2d32021", "categorized_nodes": 184}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "#ifndef NET_QU...
80,891
c
#ifndef SYSTEM_H #define SYSTEM_H /////////////////////////////// // PRE-PROCESSING DIRECTIVES // /////////////////////////////// #define WIN32_LEAN_AND_MEAN #include <Windows.h> #include "TextClass.h" #include "GamePlay.h" #include "Direct3D.h" #include "Menu.h" //move this ///////////// // GLOBALS // ////////////...
17.7
91
(translation_unit) "#ifndef SYSTEM_H\n#define SYSTEM_H\n\n///////////////////////////////\n// PRE-PROCESSING DIRECTIVES //\n///////////////////////////////\n#define WIN32_LEAN_AND_MEAN\n\n#include <Windows.h>\n\n#include "TextClass.h"\n#include "GamePlay.h"\n#include "Direct3D.h"\n#include "Menu.h"\n\n//move this\n////...
433
5
{"language": "c", "success": true, "metadata": {"lines": 91, "avg_line_length": 17.7, "nodes": 285, "errors": 0, "source_hash": "061bcee2de0346ee951ba5b63b95ba5ae0b6246b35386a01bcc6947a0ffef1a5", "categorized_nodes": 203}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
80,892
c
#include <stdio.h> #include <stdlib.h> int sieve (int *x, int *y, int b, int n, int nx) { int i; int ny = 1; for (i=1; i<nx; i++) { if (i != b && i%n == b%n) continue; y[ny++] = x[i]; } for (i=1; i<ny; i++) { x[i] = y[i]; } return ny; } int main (int ac, char **av) { int i; int N = 35...
15.43
42
(translation_unit) "#include <stdio.h>\n#include <stdlib.h>\n\nint sieve (int *x, int *y, int b, int n, int nx)\n{\n int i;\n int ny = 1;\n\n\n for (i=1; i<nx; i++) {\n if (i != b && i%n == b%n) continue;\n y[ny++] = x[i];\n }\n for (i=1; i<ny; i++) {\n x[i] = y[i];\n }\n\n return ny;\n}\n\nint main (in...
426
0
{"language": "c", "success": true, "metadata": {"lines": 42, "avg_line_length": 15.43, "nodes": 277, "errors": 0, "source_hash": "541a944a2316d11c94da67117879a15e6c5335645c612302adf31302363510d5", "categorized_nodes": 186}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
80,893
c
/* * This header is generated by classdump-dyld 1.0 * on Saturday, June 1, 2019 at 6:52:19 PM Mountain Standard Time * Operating System: Version 12.1.1 (Build 16C5050a) * Image Source: /System/Library/Frameworks/ClassKit.framework/ClassKit * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by <NAME>. */ #...
36.53
34
(translation_unit) "/*\n* This header is generated by classdump-dyld 1.0\n* on Saturday, June 1, 2019 at 6:52:19 PM Mountain Standard Time\n* Operating System: Version 12.1.1 (Build 16C5050a)\n* Image Source: /System/Library/Frameworks/ClassKit.framework/ClassKit\n* classdump-dyld is licensed under GPLv3, Copyright © 2...
340
30
{"language": "c", "success": true, "metadata": {"lines": 34, "avg_line_length": 36.53, "nodes": 202, "errors": 0, "source_hash": "90b34402c25b2cf09d664f4bf39ed726b8cc32bbb8775c674ca1e1b243753e32", "categorized_nodes": 130}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import ...
80,894
c
/*s: kernel/devices/screen/devdraw.h */ typedef struct Client Client; typedef struct KDraw KDraw; typedef struct DImage DImage; typedef struct DName DName; typedef struct DScreen DScreen; typedef struct CScreen CScreen; typedef struct FChar FChar; typedef struct Refresh Refresh; typedef struct Refx Refx; /*s: constan...
26.32
240
(translation_unit) "/*s: kernel/devices/screen/devdraw.h */\n\ntypedef struct Client Client;\ntypedef struct KDraw KDraw;\ntypedef struct DImage DImage;\ntypedef struct DName DName;\ntypedef struct DScreen DScreen;\ntypedef struct CScreen CScreen;\ntypedef struct FChar FChar;\ntypedef struct Refresh Refresh;\ntypedef s...
1,125
0
{"language": "c", "success": true, "metadata": {"lines": 240, "avg_line_length": 26.32, "nodes": 764, "errors": 0, "source_hash": "3fa761ea082d245abb9a04ed4a69223acb099274861013128d53829f79562275", "categorized_nodes": 476}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "type_definition", "text": "typ...
80,895
c
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by <NAME>. // #import "NSObject.h" @interface CIMEnginePacketStruct : NSObject { unsigned long long _sendSeq; unsigned long long _sendTime; char *_sendCmd; int _failReason; } - (void)...
32.1
20
(translation_unit) "//\n// Generated by class-dump 3.5 (64 bit).\n//\n// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by <NAME>.\n//\n\n#import "NSObject.h"\n\n@interface CIMEnginePacketStruct : NSObject\n{\n unsigned long long _sendSeq;\n unsigned long long _sendTime;\n char *_sendCmd;\...
131
15
{"language": "c", "success": true, "metadata": {"lines": 20, "avg_line_length": 32.1, "nodes": 90, "errors": 0, "source_hash": "928167ec99f8e31001fe26f21c1fc64374852e33650d20ae0dcbe85abccd3e50", "categorized_nodes": 50}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import \"...
80,896
c
/** * @file タスクリスト * @author */ #ifndef TASK_LIST_H_ #define TASK_LIST_H_ #include "task.h" struct task_list { struct task_entry *head; struct task_entry *tail; }; #ifdef __cplusplus extern "C" { #endif void task_list_init(struct task_list *list); void task_list_destroy(struct task_list *list); void task_l...
22.93
28
(translation_unit) "/**\n * @file タスクリスト\n * @author \n */\n\n#ifndef TASK_LIST_H_\n#define TASK_LIST_H_\n\n#include "task.h"\n\nstruct task_list {\n struct task_entry *head;\n struct task_entry *tail;\n};\n\n\n#ifdef __cplusplus\nextern "C" {\n#endif\n\nvoid task_list_init(struct task_list *list);\nvoid task_list_dest...
187
0
{"language": "c", "success": true, "metadata": {"lines": 28, "avg_line_length": 22.93, "nodes": 145, "errors": 0, "source_hash": "9ac47ba8dadb8f20cc6d89ae9f8f100f2a25ddf97631847720d17f261e4c01ae", "categorized_nodes": 103}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "_LIST_...
80,897
c
/* * Colibri JSON dictionary API * * Copyright (c) 2018-2021 <NAME> <<EMAIL>> * * SPDX-License-Identifier: BSD-2-Clause */ #include <colibri/data/json-dict.h> #define json_bool json_bool_impl #define json_type json_type_impl #include <json-c/json.h> #undef json_bool #undef json_type int json_dict_exists (s...
25.06
32
(translation_unit) "/*\n * Colibri JSON dictionary API\n *\n * Copyright (c) 2018-2021 <NAME> <<EMAIL>>\n *\n * SPDX-License-Identifier: BSD-2-Clause\n */\n\n#include <colibri/data/json-dict.h>\n\n#define json_bool json_bool_impl\n#define json_type json_type_impl\n\n#include <json-c/json.h>\n\n#undef json_bool\n#unde...
246
0
{"language": "c", "success": true, "metadata": {"lines": 32, "avg_line_length": 25.06, "nodes": 170, "errors": 0, "source_hash": "6158fd25d532464df9576c41807108800b576e4ae8ad135bf6a1cb8d91e9b96d", "categorized_nodes": 93}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
80,898
c
/* * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be use...
33.34
59
(translation_unit) "/*\n * This program is free software; you can redistribute it and/or\n * modify it under the terms of the GNU General Public License\n * as published by the Free Software Foundation; either version 2\n * of the License, or (at your option) any later version.\n *\n * This program is distributed in th...
207
4
{"language": "c", "success": true, "metadata": {"lines": 59, "avg_line_length": 33.34, "nodes": 137, "errors": 0, "source_hash": "1c98d43bccf1f47e39c17355425e8e32bf0fe52bd7b309bfe463902d3a081f5e", "categorized_nodes": 84}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma ...
80,899