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
// Copyright (c) 2003,2004 INRIA Sophia-Antipolis (France). // All rights reserved. // // This file is part of CGAL (www.cgal.org). // You can redistribute it and/or modify it under the terms of the GNU // General Public License as published by the Free Software Foundation, // either version 3 of the License, or (at y...
27.54
79
(translation_unit) "// Copyright (c) 2003,2004 INRIA Sophia-Antipolis (France).\n// All rights reserved.\n//\n// This file is part of CGAL (www.cgal.org).\n// You can redistribute it and/or modify it under the terms of the GNU\n// General Public License as published by the Free Software Foundation,\n// either version ...
541
32
{"language": "c", "success": true, "metadata": {"lines": 79, "avg_line_length": 27.54, "nodes": 312, "errors": 0, "source_hash": "374da9ad2e48010b303b151c0c4906eac47982ce17042b4454e72569581c8bf8", "categorized_nodes": 226}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
500
c
#include <stdio.h> #include <stdlib.h> #include <ctype.h> int main(void) { char fname[80]; printf("Enter name of file to erase: "); gets(fname); printf("Are you sure? (Y/N) "); if (toupper(getchar()) == 'Y') remove(fname); return 0; }
19.54
13
(translation_unit) "#include <stdio.h>\n#include <stdlib.h>\n#include <ctype.h>\n\nint main(void)\n{\n char fname[80];\n\n printf("Enter name of file to erase: ");\n gets(fname);\n printf("Are you sure? (Y/N) ");\n if (toupper(getchar()) == 'Y')\n remove(fname);\n return 0;\n}" (preproc_inclu...
93
0
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 19.54, "nodes": 53, "errors": 0, "source_hash": "8cac68f5c0593696942f6d24fe3567cdb7fabfe9e265213ef305d5ca91e53a4b", "categorized_nodes": 38}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
501
c
#ifndef BEAST_INCLUDE_VITERBIDECODER_H_ #define BEAST_INCLUDE_VITERBIDECODER_H_ #include "TrellisDecoder.h" #include "Trellis.h" class ViterbiDecoder : public SoftDecoder { private: double *prev_layer, *cur_layer; uint64_t *prev_layer_path, *cur_layer_path; double decode(int *u); public: Trellis trellis; V...
31.59
17
(translation_unit) "#ifndef BEAST_INCLUDE_VITERBIDECODER_H_\n#define BEAST_INCLUDE_VITERBIDECODER_H_\n\n#include "TrellisDecoder.h"\n#include "Trellis.h"\nclass ViterbiDecoder : public SoftDecoder {\n private:\n double *prev_layer, *cur_layer;\n uint64_t *prev_layer_path, *cur_layer_path;\n double decode(int *u);\n ...
163
5
{"language": "c", "success": true, "metadata": {"lines": 17, "avg_line_length": 31.59, "nodes": 108, "errors": 0, "source_hash": "ad7297e0a61deb20a813323cd260c5dbea29a154b38e36f6d406b340a466eac6", "categorized_nodes": 57}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
502
c
/* * Copyright (c) <NAME> * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, publish, distribu...
31.7
171
(translation_unit) "/*\n * Copyright (c) <NAME>\n *\n * Permission is hereby granted, free of charge, to any person obtaining a\n * copy of this software and associated documentation files (the "Software"),\n * to deal in the Software without restriction, including without limitation\n * the rights to use, copy, modify...
1,603
101
{"language": "c", "success": true, "metadata": {"lines": 171, "avg_line_length": 31.7, "nodes": 1036, "errors": 0, "source_hash": "d43080762206f838b7dae57b91c803d9d8f2fd0e22014b2cd5fa2ab7aa843d1d", "categorized_nodes": 681}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragm...
503
c
#include "arkvm_sdl.h" typedef ArkVM VM; typedef ArkCode Code; void usage() { fprintf(stderr, "Usage: arkam IMAGE\n"); exit(1); } int handle_opts(int argc, char* argv[]) { const char* optstr = "hz"; struct option long_opts[] = { { "help", no_argument, NULL, 'h' }, { "zoom", required_ar...
23.02
56
(translation_unit) "#include "arkvm_sdl.h"\n\ntypedef ArkVM VM;\ntypedef ArkCode Code;\n\n\nvoid usage() {\n fprintf(stderr, "Usage: arkam IMAGE\n");\n exit(1);\n}\n\n\nint handle_opts(int argc, char* argv[]) {\n const char* optstr = "hz";\n\n struct option long_opts[] =\n { { "help", no_argument, NULL,...
505
0
{"language": "c", "success": true, "metadata": {"lines": 56, "avg_line_length": 23.02, "nodes": 309, "errors": 0, "source_hash": "26cd0f07d272e39a9115c74df8b5d9945b5f917936c0398de45987d4a8fe7ce6", "categorized_nodes": 192}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
504
c
#pragma once enum class UIState { SPLASH, MAIN_MENU, CONFIRM_QUIT, QUIT, ABOUT, OPTIONS, START_GAME, LEAVE_PLAY, TIP, IN_PLAY_NEXT, IN_PLAY_BOARD, GAME_OVER };
9.75
16
(translation_unit) "#pragma once\nenum class UIState\n{\n SPLASH,\n MAIN_MENU,\n CONFIRM_QUIT,\n QUIT,\n ABOUT,\n OPTIONS,\n START_GAME,\n LEAVE_PLAY,\n TIP,\n IN_PLAY_NEXT,\n IN_PLAY_BOARD,\n GAME_OVER\n};\n" (preproc_call) "#pragma once\n" (preproc_directive) "#pragma" (preproc_arg) "once" (function_defin...
50
1
{"language": "c", "success": true, "metadata": {"lines": 16, "avg_line_length": 9.75, "nodes": 30, "errors": 0, "source_hash": "4c743cf3d508a6318268d2d36f582223912e3c653c0fb464b9a523d887ada412", "categorized_nodes": 28}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma on...
505
c
/* @文件:write.c @作者: CSHF[https://github.com/CSHF-yhhhh] @说明: 驱动相关函数 */ #include <string.h> #include <stdio.h> #include <stdlib.h> #include <errno.h> #include <fcntl.h> #include <unistd.h> //打开设备驱动,如:/dev/cshfFirewall int OpenDev(char *name) { printf("%s\n", name); int fd = open(name, O_RDWR); if (fd < 0) ...
16.11
37
(translation_unit) "/*\n@文件:write.c\n@作者: CSHF[https://github.com/CSHF-yhhhh]\n@说明: 驱动相关函数\n*/\n\n#include <string.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <errno.h>\n#include <fcntl.h>\n#include <unistd.h>\n\n//打开设备驱动,如:/dev/cshfFirewall\nint OpenDev(char *name)\n{\n printf("%s\n", name);\n int fd =...
179
0
{"language": "c", "success": true, "metadata": {"lines": 37, "avg_line_length": 16.11, "nodes": 105, "errors": 0, "source_hash": "1aeea6ea1d8286407d32c116d66aeb0b25b088b4c17ff25e700ac34cedf5fd86", "categorized_nodes": 78}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "lude ...
506
c
/** * @file jutil_map.h * @author <NAME> (https://github.com/gnarrf95) * * @brief Simple string indexed map. * * This is not a very efficient way to implement * a map, but it was easy to implement and is fairly * easy to use. * * @date 2020-10-02 * @copyright Copyright (c) 2020 by <NAME> * */ #ifndef ...
24.04
139
(translation_unit) "/**\n * @file jutil_map.h\n * @author <NAME> (https://github.com/gnarrf95)\n * \n * @brief Simple string indexed map.\n * \n * This is not a very efficient way to implement\n * a map, but it was easy to implement and is fairly\n * easy to use.\n * \n * @date 2020-10-02\n * @copyright Copyright (c) 2...
273
0
{"language": "c", "success": true, "metadata": {"lines": 139, "avg_line_length": 24.04, "nodes": 192, "errors": 0, "source_hash": "8004bc60d6edbff6bed237dbaa96f4baf98a5413a09efa1b453fd568ef62f08f", "categorized_nodes": 111}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
507
c
// Copyright © 2016 <NAME>. All rights reserved. // License: MIT License (see LICENSE) // e-mail: <EMAIL> #ifndef INCLUDE_CODE_TREE_NODE_H_ #define INCLUDE_CODE_TREE_NODE_H_ #include <vector> #include <string> #include "include/structures.h" class CodeTreeNode { public: CodeTreeNode(); ~CodeTreeNode(); sta...
33.57
23
(translation_unit) "// Copyright © 2016 <NAME>. All rights reserved.\n// License: MIT License (see LICENSE)\n// e-mail: <EMAIL>\n\n#ifndef INCLUDE_CODE_TREE_NODE_H_\n#define INCLUDE_CODE_TREE_NODE_H_\n\n#include <vector>\n#include <string>\n\n#include "include/structures.h"\n\nclass CodeTreeNode {\n public:\n CodeTree...
177
7
{"language": "c", "success": true, "metadata": {"lines": 23, "avg_line_length": 33.57, "nodes": 120, "errors": 0, "source_hash": "0a02727babca9835c5a8320519767a9b74d785ed265c5b3c05dadf31423b985f", "categorized_nodes": 72}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "ifndef ...
508
c
// Copyright <NAME> 2014 // MIT License // // Arduino JSON library // https://github.com/bblanchon/ArduinoJson #include "../include/ArduinoJson/DynamicJsonBuffer.hpp" #include "../include/ArduinoJson/JsonArray.hpp" #include "../include/ArduinoJson/JsonObject.hpp" #include "../include/ArduinoJson/StaticJsonBuf...
29.08
12
(translation_unit) "// Copyright <NAME> 2014 \n// MIT License \n// \n// Arduino JSON library \n// https://github.com/bblanchon/ArduinoJson \n \n#include "../include/ArduinoJson/DynamicJsonBuffer.hpp" \n#include "../include/ArduinoJson/JsonArray.hpp" \n#include "../include/ArduinoJson/JsonObject.hpp" \n#include "../incl...
36
1
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 29.08, "nodes": 17, "errors": 0, "source_hash": "dae71e60d674ae9864527bfa8e18358ea419d2f941bc6d528741018e689f90c0", "categorized_nodes": 16}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
509
c
/*********************************************************\ * File: VisContainer.h * * * Copyright (C) 2002-2013 The PixelLight Team (http://www.pixellight.org/) * * This file is part of PixelLight. * * Permission is hereby granted, free of charge, to any person obtaining a co...
35.4
186
(translation_unit) "/*********************************************************\\n * File: VisContainer.h *\n *\n * Copyright (C) 2002-2013 The PixelLight Team (http://www.pixellight.org/)\n *\n * This file is part of PixelLight.\n *\n * Permission is hereby granted, free of charge, t...
394
23
{"language": "c", "success": true, "metadata": {"lines": 186, "avg_line_length": 35.4, "nodes": 206, "errors": 0, "source_hash": "db91bcd023a635b006a891565e03dbae46048e6685873c8e28933746adfd60ed", "categorized_nodes": 136}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
510
c
#ifndef SKELETALMODEL_H #define SKELETALMODEL_H #include <cstdlib> #include <iostream> #include <fstream> #include <map> #include <vector> #include <sstream> #include <vecmath.h> #include "gl.h" #include "tuple.h" #include "joint.h" #include "mesh.h" #include "matrixstack.h" #include "camera.h" class SkeletalModel ...
38.57
63
(translation_unit) "#ifndef SKELETALMODEL_H\n#define SKELETALMODEL_H\n\n#include <cstdlib>\n#include <iostream>\n#include <fstream>\n#include <map>\n#include <vector>\n#include <sstream>\n\n#include <vecmath.h>\n\n#include "gl.h"\n#include "tuple.h"\n#include "joint.h"\n#include "mesh.h"\n#include "matrixstack.h"\n#inc...
372
7
{"language": "c", "success": true, "metadata": {"lines": 63, "avg_line_length": 38.57, "nodes": 223, "errors": 0, "source_hash": "4893e0e7f5feec18f45dd4af312109e34b11ddfdb22d5c7b924fd38e92010ed9", "categorized_nodes": 156}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
511
c
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include <aws/glue/Glue_EXPORTS.h> #include <aws/glue/model/JobRun.h> #include <utility> namespace Aws { template<typename RESULT_TYPE> class AmazonWebServiceResult; namespace Utils { n...
25.96
56
(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/glue/Glue_EXPORTS.h>\n#include <aws/glue/model/JobRun.h>\n#include <utility>\n\nnamespace Aws\n{\ntemplate<typename RESULT_TYPE>\nclass AmazonWebServi...
327
27
{"language": "c", "success": true, "metadata": {"lines": 56, "avg_line_length": 25.96, "nodes": 214, "errors": 0, "source_hash": "0b35180da077fc78323ba4f72f45ae666abde847f2dbf7580f24d4119309bbb4", "categorized_nodes": 138}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "ragma o...
512
c
#define _GNU_SOURCE 700 #include <stdio.h> #include <stdlib.h> #include <string.h> #include <signal.h> #include <unistd.h> #include <fcntl.h> void chk_rt(int sig, siginfo_t *siginfo_rt, void *data) { printf("[SIGRT] si->si_band (%lx)\n", siginfo_rt->si_band); } int main(int argc, char *argv[]) { int fd_dir; struc...
21.97
31
(translation_unit) "#define _GNU_SOURCE 700\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include <signal.h>\n#include <unistd.h>\n#include <fcntl.h>\n\nvoid chk_rt(int sig, siginfo_t *siginfo_rt, void *data)\n{\n printf("[SIGRT] si->si_band (%lx)\n", siginfo_rt->si_band);\n}\n\nint main(int argc, cha...
244
0
{"language": "c", "success": true, "metadata": {"lines": 31, "avg_line_length": 21.97, "nodes": 147, "errors": 0, "source_hash": "954e2adb407767088d66364702ec29c74ecdde97d77ef97e2c5a894adbfd66d7", "categorized_nodes": 112}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_def", "text": "#define ...
513
c
#ifndef VERTEX_H #define VERTEX_H #include <glm/glm.hpp> #include <vector> struct Vertex { public: Vertex() = default; Vertex(const glm::vec3 &position, const glm::vec2 &texCoord = {0.f,0.f}, const glm::vec3 &normal = {0.f,0.f,0.f}); glm::vec3 position; glm::vec3 normal; glm::vec2 texCoord...
22
15
(translation_unit) "#ifndef VERTEX_H\n#define VERTEX_H\n\n#include <glm/glm.hpp>\n#include <vector>\n\nstruct Vertex {\npublic:\n Vertex() = default;\n Vertex(const glm::vec3 &position,\n const glm::vec2 &texCoord = {0.f,0.f},\n const glm::vec3 &normal = {0.f,0.f,0.f});\n glm::vec3 position;\n glm::...
118
8
{"language": "c", "success": true, "metadata": {"lines": 15, "avg_line_length": 22.0, "nodes": 68, "errors": 0, "source_hash": "4dc6bb0dd02c18d4c82377a1eafc388864b9b7e67e9b5121949655766b5f7e21", "categorized_nodes": 53}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef V...
514
c
/** * \copyright * MIT License * * Copyright (c) 2018 Infineon Technologies AG * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the ...
31.61
141
(translation_unit) "/** \n* \copyright \n* MIT License \n* \n* Copyright (c) 2018 Infineon Technologies AG \n* \n* Permission is hereby granted, free of charge, to any person obtaining a copy \n* of this software and associated documentation files (the "Software"), to deal \n* in the Software without restriction, inclu...
512
0
{"language": "c", "success": true, "metadata": {"lines": 141, "avg_line_length": 31.61, "nodes": 306, "errors": 0, "source_hash": "5aecb86790cf6566538994d514890f74fc3994030d0048718f932fdb2b15bc70", "categorized_nodes": 234}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
515
c
#pragma once #include "GameServerNetwork.h" #include "GameState.h" class GameServerState : public GameState, public GameServerNetwork { public: GameServerState(sf::RenderWindow* hwnd, Input* in); ~GameServerState(); virtual void handleInput(); virtual void update(); virtual void render(); //Window* getWindow();...
25.33
48
(translation_unit) "#pragma once\n#include "GameServerNetwork.h"\n#include "GameState.h"\n\nclass GameServerState : public GameState, public GameServerNetwork\n{\npublic:\n GameServerState(sf::RenderWindow* hwnd, Input* in);\n ~GameServerState();\n\n virtual void handleInput();\n virtual void update();\n virtual void r...
385
17
{"language": "c", "success": true, "metadata": {"lines": 48, "avg_line_length": 25.33, "nodes": 229, "errors": 0, "source_hash": "6d145446055c4923f12b66d6a61464b004f911f3ba9ec04749b499c3bf43998c", "categorized_nodes": 154}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
516
c
/* ---------------------------------------------------------------------------- * GTSAM Copyright 2010, Georgia Tech Research Corporation, * Atlanta, Georgia 30332-0415 * All Rights Reserved * Authors: <NAME>, et al. (see THANKS for the full author list) * See LICENSE for the license information * ------------...
40.98
42
(translation_unit) "/* ----------------------------------------------------------------------------\n\n * GTSAM Copyright 2010, Georgia Tech Research Corporation,\n * Atlanta, Georgia 30332-0415\n * All Rights Reserved\n * Authors: <NAME>, et al. (see THANKS for the full author list)\n\n * See LICENSE for the license i...
204
7
{"language": "c", "success": true, "metadata": {"lines": 42, "avg_line_length": 40.98, "nodes": 115, "errors": 0, "source_hash": "c193216eb5ea0216fe80e8aad031a75d177c5183faf7fc6cd0af201209048cf9", "categorized_nodes": 78}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma ...
517
c
// // SceneAdSdkMagicShopTipManager.h // VipGift // // Created by xmiles on 2019/7/15. // Copyright © 2019 小迈科技. All rights reserved. // #import <Foundation/Foundation.h> typedef NS_ENUM(NSUInteger, VGMagicShopTipType) { VGMagicShopTipType_SHOW_ENERGY_COUNTDOWN_TIP = 1, VGMagicShopTipType_HIDE_ENERGY_COU...
25.7
23
(translation_unit) "//\n// SceneAdSdkMagicShopTipManager.h\n// VipGift\n//\n// Created by xmiles on 2019/7/15.\n// Copyright © 2019 小迈科技. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n\n\ntypedef NS_ENUM(NSUInteger, VGMagicShopTipType) {\n VGMagicShopTipType_SHOW_ENERGY_COUNTDOWN_TIP = 1,\n V...
82
8
{"language": "c", "success": true, "metadata": {"lines": 23, "avg_line_length": 25.7, "nodes": 55, "errors": 0, "source_hash": "d4b0919f450966dc3ba9b3c15260521e37fda8c4dc95b0b4007c4f045ee07b50", "categorized_nodes": 33}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "Foundation...
518
c
/* * Copyright (c) 2018 ISP RAS (http://www.ispras.ru) * Ivannikov Institute for System Programming of the Russian Academy of Sciences * * 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 *...
34.79
68
(translation_unit) "/*\n * Copyright (c) 2018 ISP RAS (http://www.ispras.ru)\n * Ivannikov Institute for System Programming of the Russian Academy of Sciences\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...
301
0
{"language": "c", "success": true, "metadata": {"lines": 68, "avg_line_length": 34.79, "nodes": 176, "errors": 0, "source_hash": "6c96775db1199094d41194f807139875a7c49def5a80124eb588ff2019ce30b6", "categorized_nodes": 132}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
519
c
// // ZYKit.h // Pods // // Created by on 2020/3/19. // #ifndef ZYKit_h #define ZYKit_h #import "UIColor+Test.h" #import "NSString+Test.h" #endif /* ZYKit_h */
14
11
(translation_unit) "//\n// ZYKit.h\n// Pods\n//\n// Created by on 2020/3/19.\n//\n\n#ifndef ZYKit_h\n#define ZYKit_h\n\n#import "UIColor+Test.h"\n#import "NSString+Test.h"\n\n#endif /* ZYKit_h */\n" (comment) "//" (comment) "// ZYKit.h" (comment) "// Pods" (comment) "//" (comment) "// Created by on ...
21
0
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 14.0, "nodes": 13, "errors": 0, "source_hash": "15df263dbeaa562b89b6fb4282cd2ecc926e9eb753b3778d9b5877eb3912dfe4", "categorized_nodes": 7}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ZY...
520
c
// // HCHollyWebView.h // HCHollyOC // // Created by 林龙成 on 2019/6/20. // Copyright © 2019 loganv. All rights reserved. // #import <Foundation/Foundation.h> #import <WebKit/WebKit.h> NS_ASSUME_NONNULL_BEGIN @interface HCHollyWebView : NSObject +(void)initializtionWithAccount:(NSString*)account chatId:(NSString*...
29.41
22
(translation_unit) "//\n// HCHollyWebView.h\n// HCHollyOC\n//\n// Created by 林龙成 on 2019/6/20.\n// Copyright © 2019 loganv. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n#import <WebKit/WebKit.h>\n\nNS_ASSUME_NONNULL_BEGIN\n\n@interface HCHollyWebView : NSObject\n\n+(void)initializtionWithAccount:(...
195
19
{"language": "c", "success": true, "metadata": {"lines": 22, "avg_line_length": 29.41, "nodes": 131, "errors": 0, "source_hash": "9453fc29cccbe2ebc237a14c0d068777000f4781965ce58c2dc627349ddd7084", "categorized_nodes": 69}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": " <Founda...
521
c
#include <stdio.h> int main() { int t; scanf("%d", &t); int _2=0,_3=0,_4=0,_5=0; while(t--) { int x; scanf("%d", &x); if(x%2==0) _2++; if(x%3==0) _3++; if(x%4==0) _4++; if(x%5==0) _5++; } printf("%d Multiplo(s) de 2\n", _2); printf("%d Multi...
20.9
20
(translation_unit) "#include <stdio.h>\n\nint main() {\n\n int t;\n scanf("%d", &t);\n int _2=0,_3=0,_4=0,_5=0;\n\n while(t--) {\n int x;\n scanf("%d", &x);\n if(x%2==0) _2++;\n if(x%3==0) _3++;\n if(x%4==0) _4++;\n if(x%5==0) _5++;\n }\n printf("%d Multiplo(s...
213
0
{"language": "c", "success": true, "metadata": {"lines": 20, "avg_line_length": 20.9, "nodes": 123, "errors": 0, "source_hash": "24b94f29dd558a7e903e25d1408c84b894fe98336d705dd512c8914b274c80e5", "categorized_nodes": 87}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
522
c
// // UIAlertView+HelperKit.h // HelperKit // // Created by <NAME> on 2/23/10. // Copyright 2010 Beautiful Pixel. All rights reserved. // #import <UIKit/UIKit.h> @interface UIAlertView (HelperKit) + (void)showSimpleAlertWithTitle:(NSString*)title message:(NSString*)message; + (void)showSimpleAlertWithTitle:(NSS...
33.72
18
(ERROR) "//\n// UIAlertView+HelperKit.h\n// HelperKit\n//\n// Created by <NAME> on 2/23/10.\n// Copyright 2010 Beautiful Pixel. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n\n@interface UIAlertView (HelperKit)\n\n+ (void)showSimpleAlertWithTitle:(NSString*)title message:(NSString*)message;\n+ (void)showSi...
141
19
{"language": "c", "success": true, "metadata": {"lines": 18, "avg_line_length": 33.72, "nodes": 85, "errors": 0, "source_hash": "609753956cfa617fefb3fd321483e8696ad470a4ba50c759da9ccbb33f9993f0", "categorized_nodes": 49}, "ast": {"root": "ERROR", "nodes": [{"id": 0, "type": "ERROR", "text": "//\n// UIAlertView+HelperK...
523
c
//Copyright (c) 2018, ARM Limited. All rights reserved. // //SPDX-License-Identifier: BSD-3-Clause //A scalable non-blocking reorder buffer using pass-the-buck algorithm #ifndef P64_BUCKROB_H #define P64_BUCKROB_H #include <stdint.h> #include <stdbool.h> #ifdef __cplusplus extern "C" { #endif //Reserved ele...
32.1
42
(translation_unit) "//Copyright (c) 2018, ARM Limited. All rights reserved.\n//\n//SPDX-License-Identifier: BSD-3-Clause\n\n//A scalable non-blocking reorder buffer using pass-the-buck algorithm\n\n#ifndef P64_BUCKROB_H\n#define P64_BUCKROB_H\n\n#include <stdint.h>\n#include <stdbool.h>\n\n#ifdef __cplusplus\nex...
181
0
{"language": "c", "success": true, "metadata": {"lines": 42, "avg_line_length": 32.1, "nodes": 129, "errors": 0, "source_hash": "8a698d94eaefc34748715375aacbde01d50f85d840ff631511540bb39be89210", "categorized_nodes": 78}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
524
c
// // RNOpenVRVulkanSwapChain.h // Rayne-OpenVR // // Copyright 2018 by Überpixel. All rights reserved. // Unauthorized use is punishable by torture, mutilation, and vivisection. // #ifndef __RAYNE_OPENVRVULKANSWAPCHAIN_H_ #define __RAYNE_OPENVRVULKANSWAPCHAIN_H_ #include "RNOpenVRSwapChain.h" #include "RNVulkanS...
35.92
36
(translation_unit) "//\n// RNOpenVRVulkanSwapChain.h\n// Rayne-OpenVR\n//\n// Copyright 2018 by Überpixel. All rights reserved.\n// Unauthorized use is punishable by torture, mutilation, and vivisection.\n//\n\n#ifndef __RAYNE_OPENVRVULKANSWAPCHAIN_H_\n#define __RAYNE_OPENVRVULKANSWAPCHAIN_H_\n\n#include "RNOpenVRS...
250
12
{"language": "c", "success": true, "metadata": {"lines": 36, "avg_line_length": 35.92, "nodes": 157, "errors": 0, "source_hash": "4afc7849b479914ca5ddd3ef4c60a8c7e8c2b0ead39b2b1d01c52225255c6e94", "categorized_nodes": 121}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "ifndef...
525
c
#include<stdlib.h> #include<stdio.h> #if !defined(__CYGWIN__) #include<complex.h> #endif #include<assert.h> int main() { return 0; }
13.4
10
(translation_unit) "#include<stdlib.h>\n#include<stdio.h>\n#if !defined(__CYGWIN__)\n#include<complex.h>\n#endif\n#include<assert.h>\n\nint main()\n {\n return 0;\n }\n" (preproc_include) "#include<stdlib.h>\n" (#include) "#include" (system_lib_string) "<stdlib.h>" (preproc_include) "#include<stdio....
38
0
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 13.4, "nodes": 28, "errors": 0, "source_hash": "0b7833683c852561997eedbbf2d3c3a5bb0d7e04f788636297655e55057be8e7", "categorized_nodes": 22}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#includ...
526
c
#pragma once //#include "utils/utility.hpp" #include <cstddef> #include <stdexcept> namespace csv { template<typename Stream, int Size> struct source { using stream_type = Stream; using char_type = typename Stream::char_type; using traits_type = typename Stream::traits_type; using boolean_type = bool ...
28.16
81
(translation_unit) "#pragma once\n//#include "utils/utility.hpp"\n#include <cstddef>\n#include <stdexcept>\n\nnamespace csv\n{\n\ntemplate<typename Stream, int Size>\nstruct source\n{\n using stream_type = Stream;\n using char_type = typename Stream::char_type;\n using traits_type = typename Stream::traits_typ...
630
24
{"language": "c", "success": true, "metadata": {"lines": 81, "avg_line_length": 28.16, "nodes": 350, "errors": 0, "source_hash": "f51fcb5ac11f8510f075cd849347b71411c1fb18eec3838fc1cf46966cdf58c4", "categorized_nodes": 240}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
527
c
#pragma once #include <iostream> #include <opencv2/opencv.hpp> #include "Options.h" #include "Capture.h" #include "FPS.h" #include "Eyes.h" #include "Hands.h" #include "Brain.h" class Runloop { public: Runloop(int argc, char* argv[]) : // throws InterceptionDriverNotFoundError m_options {argc, argv}, ...
21.97
30
(translation_unit) "#pragma once\n\n#include <iostream>\n\n#include <opencv2/opencv.hpp>\n\n#include "Options.h"\n#include "Capture.h"\n#include "FPS.h"\n#include "Eyes.h"\n#include "Hands.h"\n#include "Brain.h"\n\nclass Runloop\n{\npublic:\n Runloop(int argc, char* argv[]) : // throws InterceptionDriverNotFoundErro...
211
14
{"language": "c", "success": true, "metadata": {"lines": 30, "avg_line_length": 21.97, "nodes": 113, "errors": 0, "source_hash": "3293c5e41135a3ca9dcacf5dda3bcbba3439c408b4a5bcc78b7a844d6a1ae55c", "categorized_nodes": 83}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma ...
528
c
#import "GVRWidgetView.h" /** Enum for video image types. */ typedef NS_ENUM(int, GVRVideoType) { // Each video frame is a monocular equirectangular panorama. // Each frame image is expected to cover 360 degrees along its horizontal axis. kGVRVideoTypeMono = 1, // Each video frame contains two vertically-stac...
35.23
43
(translation_unit) "#import "GVRWidgetView.h"\n\n/** Enum for video image types. */\ntypedef NS_ENUM(int, GVRVideoType) {\n // Each video frame is a monocular equirectangular panorama.\n // Each frame image is expected to cover 360 degrees along its horizontal axis.\n kGVRVideoTypeMono = 1,\n\n // Each video frame ...
205
17
{"language": "c", "success": true, "metadata": {"lines": 43, "avg_line_length": 35.23, "nodes": 117, "errors": 0, "source_hash": "941391aa0197027df1913e314257b788d521d4cd651ddd6dab5cc1dfb4751514", "categorized_nodes": 63}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import ...
529
c
#include <iostream> #include <string_view> #include <string> #include <fstream> #include <array> namespace csl { using lexer_input_it = std::string_view::iterator; using token_type_t = unsigned int; class token_type_predef { public: static const token_type_t eoi = 0; static const token_type_t undef = 1; ...
29.07
111
(translation_unit) "#include <iostream>\n#include <string_view>\n#include <string>\n#include <fstream>\n#include <array>\n\n\nnamespace csl {\n using lexer_input_it = std::string_view::iterator;\n using token_type_t = unsigned int;\n\n class token_type_predef {\n public:\n static const token_type_t eoi = 0;\n stat...
1,128
61
{"language": "c", "success": true, "metadata": {"lines": 111, "avg_line_length": 29.07, "nodes": 641, "errors": 0, "source_hash": "2a4066ae25eeb717feaadc10237a62956e3efd3b89687158bb403a7020af1f9e", "categorized_nodes": 438}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
530
c
/* * Acess 2 Kernel * - By <NAME> (thePowersGang) * * emergency_console.c * - Kernel-land emergency console/shell */ #include <acess.h> #include <stdarg.h> #define STDIN 0 #define STDOUT 1 #define STDERR 2 // === PROTOTYPES === void EmergencyConsole(void); // -- Commands void Command_ls(const char* path); void...
19.17
217
(translation_unit) "/*\n * Acess 2 Kernel\n * - By <NAME> (thePowersGang)\n * \n * emergency_console.c\n * - Kernel-land emergency console/shell\n */\n#include <acess.h>\n#include <stdarg.h>\n\n#define STDIN 0\n#define STDOUT 1\n#define STDERR 2\n\n// === PROTOTYPES ===\nvoid EmergencyConsole(void);\n// -- Commands\nvo...
1,589
0
{"language": "c", "success": true, "metadata": {"lines": 217, "avg_line_length": 19.17, "nodes": 953, "errors": 0, "source_hash": "f8408f01a4d09945d3ef6a93fb41bc64a2f4519d54276ecba596f957a580de4c", "categorized_nodes": 576}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
531
c
/** * \file smt_identif.h * \brief SMT-LIB identifiers. * \author <NAME> <<EMAIL>> */ #ifndef SMTLIB_PARSER_AST_IDENTIFIER_H #define SMTLIB_PARSER_AST_IDENTIFIER_H #include "ast_basic.h" #include "ast_interfaces.h" #include "ast_sort.h" #include <memory> #include <vector> namespace smtlib { namespace ast { ...
41.57
69
(translation_unit) "/**\n * \file smt_identif.h\n * \brief SMT-LIB identifiers.\n * \author <NAME> <<EMAIL>>\n */\n\n#ifndef SMTLIB_PARSER_AST_IDENTIFIER_H\n#define SMTLIB_PARSER_AST_IDENTIFIER_H\n\n#include "ast_basic.h"\n#include "ast_interfaces.h"\n#include "ast_sort.h"\n\n#include <memory>\n#include <vector>\n\nnam...
459
19
{"language": "c", "success": true, "metadata": {"lines": 69, "avg_line_length": 41.57, "nodes": 295, "errors": 0, "source_hash": "f14b0e3ef7b04e70cd61949ee1901d515317736f95a6030f8468c41ac3854518", "categorized_nodes": 201}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
532
c
#pragma once #include <sne/server/session/AbstractServerSideSessionFactory.h> namespace gideon { namespace zoneserver { /** * @class ArenaServerSideProxyFactory * * ArenaServer-side SessionFactory */ class ArenaServerSideProxyFactory : public sne::server::AbstractServerSideSessionFactory { public: ArenaS...
33.21
19
(translation_unit) "#pragma once\n\n#include <sne/server/session/AbstractServerSideSessionFactory.h>\n\nnamespace gideon { namespace zoneserver {\n\n/**\n * @class ArenaServerSideProxyFactory\n *\n * ArenaServer-side SessionFactory\n */\nclass ArenaServerSideProxyFactory :\n public sne::server::AbstractServerSideSes...
135
11
{"language": "c", "success": true, "metadata": {"lines": 19, "avg_line_length": 33.21, "nodes": 69, "errors": 0, "source_hash": "e3ca760311b47d9cbc7af141d8c8761275053f2f996d8e8bd5a9f7ca61d8df52", "categorized_nodes": 44}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
533
c
#include <map> #include <functional> #include <chrono> #include <mutex> #include <thread> #include <condition_variable> #include <memory> #include <boost/noncopyable.hpp> class Scheduler : boost::noncopyable { private: std::multimap<std::chrono::system_clock::time_point, std::function<void()>> tasks; std::mu...
30.71
63
(translation_unit) "#include <map>\n#include <functional>\n#include <chrono>\n#include <mutex>\n#include <thread>\n#include <condition_variable>\n#include <memory>\n#include <boost/noncopyable.hpp>\n\nclass Scheduler : boost::noncopyable {\n private:\n std::multimap<std::chrono::system_clock::time_point, std::functi...
729
36
{"language": "c", "success": true, "metadata": {"lines": 63, "avg_line_length": 30.71, "nodes": 395, "errors": 0, "source_hash": "7198454b2d07108537f19f9256e8fa60d3950c75f9a34d33e9f64fdb65b3cd05", "categorized_nodes": 274}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
534
c
#ifndef _HEADER_GFW_MANAGER_ #define _HEADER_GFW_MANAGER_ #pragma warning(push) namespace GFW { } #pragma warning(pop) #endif
17
7
(translation_unit) "#ifndef _HEADER_GFW_MANAGER_\n#define _HEADER_GFW_MANAGER_\n#pragma warning(push)\nnamespace GFW {\n}\n\n#pragma warning(pop)\n#endif" (preproc_ifdef) "#ifndef _HEADER_GFW_MANAGER_\n#define _HEADER_GFW_MANAGER_\n#pragma warning(push)\nnamespace GFW {\n}\n\n#pragma warning(pop)\n#endif" (#ifnde...
20
0
{"language": "c", "success": true, "metadata": {"lines": 7, "avg_line_length": 17.0, "nodes": 16, "errors": 0, "source_hash": "a63c49af0f74994349f19e7f7af95c2a45da5f93638542555eab2a299812cfb5", "categorized_nodes": 10}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef _H...
535
c
// Copyright 2018 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 IOS_CHROME_BROWSER_UI_POPUP_MENU_POPUP_MENU_ACTION_HANDLER_H_ #define IOS_CHROME_BROWSER_UI_POPUP_MENU_POPUP_MENU_ACTION_HANDLER_H_ #import <UIKi...
44.65
31
(translation_unit) "// Copyright 2018 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 IOS_CHROME_BROWSER_UI_POPUP_MENU_POPUP_MENU_ACTION_HANDLER_H_\n#define IOS_CHROME_BROWSER_UI_POPUP_MENU_POPUP_MENU_ACTION_...
155
31
{"language": "c", "success": true, "metadata": {"lines": 31, "avg_line_length": 44.65, "nodes": 116, "errors": 0, "source_hash": "be5502701922780e62673f59b257a3700a825299944748845f10732af434c097", "categorized_nodes": 65}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
536
c
// ====PROGRAM FOR LINEAR SEARCH IN ARRAY USING RECURSION==== // #include <stdio.h> int linearSearch(int arr[], int n, int value, int index) { int pos = -1; if (index >= n) return -1; else if (arr[index] == value) { pos = index; return pos; } else return linearS...
23
36
(translation_unit) "// ====PROGRAM FOR LINEAR SEARCH IN ARRAY USING RECURSION==== //\n\n#include <stdio.h>\n\nint linearSearch(int arr[], int n, int value, int index)\n{\n int pos = -1;\n if (index >= n)\n return -1;\n else if (arr[index] == value)\n {\n pos = index;\n return pos;\n ...
296
0
{"language": "c", "success": true, "metadata": {"lines": 36, "avg_line_length": 23.0, "nodes": 157, "errors": 0, "source_hash": "8d7493f934bba9cf5a2f911da7d57bb75b8eb84517eb41ee8be43215c44ef9db", "categorized_nodes": 115}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
537
c
#include <stdio.h> #include <stdbool.h> #include <stdlib.h> #include <unistd.h> #include <string.h> #include <math.h> #include <pthread.h> #include <assert.h> #include <util_misc.h> #include <util_geometry.h> #include <util_sdl.h> // // notes // - lengths are in mm unless otherwise indicated // // // defines // #de...
29.85
123
(translation_unit) "#include <stdio.h>\n#include <stdbool.h>\n#include <stdlib.h>\n#include <unistd.h>\n#include <string.h>\n#include <math.h>\n#include <pthread.h>\n#include <assert.h>\n\n#include <util_misc.h>\n#include <util_geometry.h>\n#include <util_sdl.h>\n\n//\n// notes\n// - lengths are in mm unless otherwise ...
717
0
{"language": "c", "success": true, "metadata": {"lines": 123, "avg_line_length": 29.85, "nodes": 524, "errors": 0, "source_hash": "55607c4b1a59a2ec0be5ae918021c53e2b7ba9f2f6e9d90cc843e52cefaef8ce", "categorized_nodes": 341}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
538
c
#include <stdio.h> #include <assert.h> #include <stdlib.h> #include <string.h> #define unsigned long long ull #define unsigned long ul #define unsigned int ui #define long long ll #define const char cc int request_dma(ui dmanr, cc *device_id); void free_dma(ui dmanr);
23.45
11
(translation_unit) "#include <stdio.h>\n#include <assert.h>\n#include <stdlib.h>\n#include <string.h>\n#define unsigned long long ull\n#define unsigned long ul\n#define unsigned int ui\n#define long long ll\n#define const char cc\n\nint request_dma(ui dmanr, cc *device_id);\nvoid free_dma(ui dmanr);\n\n\n\n" (preproc...
61
0
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 23.45, "nodes": 52, "errors": 0, "source_hash": "f7eb9e821f2389064213323e6290b2c9b7f302203ca8f83999b88b108ca7d8fb", "categorized_nodes": 31}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
539
c
// // Created by uartman on 9/12/21. // #include "asm.h"
13.25
4
(translation_unit) "//\n// Created by uartman on 9/12/21.\n//\n\n#include "asm.h"\n" (comment) "//" (comment) "// Created by uartman on 9/12/21." (comment) "//" (preproc_include) "#include "asm.h"\n" (#include) "#include" (string_literal) ""asm.h"" (") """ (string_content) "asm.h" (") ...
10
0
{"language": "c", "success": true, "metadata": {"lines": 4, "avg_line_length": 13.25, "nodes": 3, "errors": 0, "source_hash": "31d852b868741c3e353737b7ce23f595debee941294bead50f820ec95265c7ab", "categorized_nodes": 3}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#include ...
540
c
/*! * @file * @brief */ #include "tiny_utils.h" #include "accelerometer_plugin.h" #include "buzzer_plugin.h" #include "distance_sensors_plugin.h" #include "line_sensors_plugin.h" #include "motors_plugin.h" void accelerometer_plugin_init( accelerometer_plugin_t* self, i_tiny_key_value_store_t* store, tiny_ti...
24.79
42
(translation_unit) "/*!\n * @file\n * @brief\n */\n\n#include "tiny_utils.h"\n\n#include "accelerometer_plugin.h"\n#include "buzzer_plugin.h"\n#include "distance_sensors_plugin.h"\n#include "line_sensors_plugin.h"\n#include "motors_plugin.h"\n\nvoid accelerometer_plugin_init(\n accelerometer_plugin_t* self,\n i_tiny_...
265
0
{"language": "c", "success": true, "metadata": {"lines": 42, "avg_line_length": 24.79, "nodes": 160, "errors": 0, "source_hash": "5954995387ff8c573930c70e6526c2bf155a74d6c333024a2ee6e7f679c26dbf", "categorized_nodes": 98}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
541
c
#ifndef EDITORSYSTEM_H #define EDITORSYSTEM_H #include "editor/editorwindow.h" class EditorSystem { public: static EditorSystem* Instance(); public: void Render(); const bool GetGameRunning() { return m_isGameRunning; } private: EditorWindow m_mainWindow; PropertyWindow m_propertyWindow; bool m_isGameRunnin...
20.62
16
(translation_unit) "#ifndef EDITORSYSTEM_H\n#define EDITORSYSTEM_H\n\n#include "editor/editorwindow.h"\n\nclass EditorSystem\n{\npublic:\n static EditorSystem* Instance();\n\npublic:\n void Render();\n\n const bool GetGameRunning() { return m_isGameRunning; }\n\nprivate:\n EditorWindow m_mainWindow;\n PropertyWindow m_...
80
0
{"language": "c", "success": true, "metadata": {"lines": 16, "avg_line_length": 20.62, "nodes": 43, "errors": 0, "source_hash": "8b3a60a4a557287ee874e573be120547ab10a91493921bda4af2ea6f5e2d6ee2", "categorized_nodes": 30}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
542
c
#ifndef SUDOKU_H #define SUDOKU_H #include <vector> #include <string> #include <iostream> #include <algorithm> #include "game.h" using std::vector; using std::string; class SudokuGame : public Game { private: std::vector<std::vector<int>> game_board = {\ // omg, this is pa...
24.81
48
(translation_unit) "#ifndef SUDOKU_H \n#define SUDOKU_H \n \n#include <vector> \n#include <string> \n#include <iostream> \n#include <algorithm> \n \n#include "game.h" \n \nusing std::vector; \nusing std::string; \n \n \n \n \nclass SudokuGame : public Game \n{ \n private: \n std::vector<std::vector<int>> game...
532
29
{"language": "c", "success": true, "metadata": {"lines": 48, "avg_line_length": 24.81, "nodes": 322, "errors": 0, "source_hash": "554247993f7d9f1f96a9d69aede7821c26ff5c93e328d71f6a074fe21b9eabcc", "categorized_nodes": 275}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
543
c
// // PlaceholderTextView.h // SaleHelper // // Created by gitBurning on 14/12/8. // Copyright (c) 2014年 Burning_git. All rights reserved. // #import <UIKit/UIKit.h> #define IsNilOrNull(_ref) (((_ref) == nil) || ([(_ref) isEqual:[NSNull null]]) || ([(_ref) isKindOfClass:[NSNull class]]) ) #define isValidStr(_re...
27.28
58
(translation_unit) "//\n// PlaceholderTextView.h\n// SaleHelper\n//\n// Created by gitBurning on 14/12/8.\n// Copyright (c) 2014年 Burning_git. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n#define IsNilOrNull(_ref) (((_ref) == nil) || ([(_ref) isEqual:[NSNull null]]) || ([(_ref) isKindOfClass:[NSNull cla...
258
37
{"language": "c", "success": true, "metadata": {"lines": 58, "avg_line_length": 27.28, "nodes": 165, "errors": 0, "source_hash": "691e55d8381b26f35b39ff291e67efd7f565772d8e4f8a58719f517947ebcedf", "categorized_nodes": 74}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "mport <U...
544
c
/********************************************************************** * LeechCraft - modular cross-platform feature rich internet client. * Copyright (C) 2006-2014 <NAME> * * Distributed under the Boost Software License, Version 1.0. * (See accompanying file LICENSE or copy at https://www.boost.org/LICENSE_1_0....
26.55
33
(translation_unit) "/**********************************************************************\n * LeechCraft - modular cross-platform feature rich internet client.\n * Copyright (C) 2006-2014 <NAME>\n *\n * Distributed under the Boost Software License, Version 1.0.\n * (See accompanying file LICENSE or copy at https://w...
142
4
{"language": "c", "success": true, "metadata": {"lines": 33, "avg_line_length": 26.55, "nodes": 89, "errors": 0, "source_hash": "42328413f6655ff02908b22b56edbeabd1390c4e9972b82ebfcddb571efb4387", "categorized_nodes": 54}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
545
c
#ifndef __GAME_SETTINGS_H__ #define __GAME_SETTINGS_H__ #include "cocos2d.h" #include "Model/Data/PlayerData.h" #include "enumerate/EControl.h" class GameSettings { private: GameSettings(); ~GameSettings(); GameSettings(GameSettings const&) = delete; GameSettings& operator= (GameSettings const&) = delete; public...
27.31
42
(translation_unit) "#ifndef __GAME_SETTINGS_H__\n#define __GAME_SETTINGS_H__\n\n#include "cocos2d.h"\n#include "Model/Data/PlayerData.h"\n#include "enumerate/EControl.h"\n\nclass GameSettings \n{\nprivate:\n GameSettings();\n ~GameSettings();\n GameSettings(GameSettings const&) = delete;\n GameSettings& operator= (Game...
357
11
{"language": "c", "success": true, "metadata": {"lines": 42, "avg_line_length": 27.31, "nodes": 217, "errors": 0, "source_hash": "fc26d782e2e3f53bca604eca652b65ea3cae6265a2bad67eba172268e01bd185", "categorized_nodes": 145}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
546
c
/************************************ BLE initialization *************************************/ void ble_init(){ esp.setServiceUUID(SERVICE_UUID, sizeof(SERVICE_UUID)); esp.setCharUUID(CHAR_UUID, sizeof(CHAR_UUID)); esp.init(); Serial.println("Made ble UUID"); } /*****************************...
22.55
31
(translation_unit) "/************************************\n BLE initialization\n*************************************/\n\nvoid ble_init(){\n esp.setServiceUUID(SERVICE_UUID, sizeof(SERVICE_UUID));\n esp.setCharUUID(CHAR_UUID, sizeof(CHAR_UUID));\n esp.init();\n Serial.println("Made ble UUID");\n}\n\n...
208
0
{"language": "c", "success": true, "metadata": {"lines": 31, "avg_line_length": 22.55, "nodes": 110, "errors": 0, "source_hash": "3d62983c8519c5baf6f3a54f766808b257d37af3fd0d57cac552c040e683749b", "categorized_nodes": 82}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "function_definition", "text": "v...
547
c
/* Unix SMB/CIFS implementation. Samba utility functions Copyright (C) <NAME> <<EMAIL>> 2010 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 3 of the License, or (...
33.35
78
(translation_unit) "/*\n Unix SMB/CIFS implementation.\n Samba utility functions\n Copyright (C) <NAME> <<EMAIL>> 2010\n\n This program is free software; you can redistribute it and/or modify\n it under the terms of the GNU General Public License as published by\n the Free Software Foundation; either versio...
584
2
{"language": "c", "success": true, "metadata": {"lines": 78, "avg_line_length": 33.35, "nodes": 350, "errors": 0, "source_hash": "e4f123661fe23767a575271d8034c9299b5b1ee44dda43f56508e8f73b36f481", "categorized_nodes": 235}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
548
c
// // FXTimelineManager+music.h // FXVideoEdit // // Created by <NAME> on 2020/8/28. // Copyright © 2020 <NAME>. All rights reserved. // #import "FXTimelineManager.h" @interface FXTimelineManager (music) /** * 设置音量,默认1.0,取值范围0--1.0 */ - (void)setMusicVolume:(CGFloat)volume; @end
18.27
15
(translation_unit) "//\n// FXTimelineManager+music.h\n// FXVideoEdit\n//\n// Created by <NAME> on 2020/8/28.\n// Copyright © 2020 <NAME>. All rights reserved.\n//\n\n#import "FXTimelineManager.h"\n\n@interface FXTimelineManager (music)\n\n/**\n * 设置音量,默认1.0,取值范围0--1.0\n */\n- (void)setMusicVolume:(CGFloat)volume;...
42
5
{"language": "c", "success": true, "metadata": {"lines": 15, "avg_line_length": 18.27, "nodes": 21, "errors": 0, "source_hash": "d0b2acda493049b425abb3cebf35ff5d451e413fb0f0d36af8a7d35fafc61fbd", "categorized_nodes": 11}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import \"...
549
c
/* * blinkenspiel / display.h * * On/Off controller for a 5x7 LED matrix * * Defines how the 5x7 led dot matrix display is connected * - 4 possible orientations (from top/from bottom + 0/180deg rotated) * - common anode (TA07) or common cathode (TC07) displays are supported * - (display pins , attiny pin...
30.66
174
(translation_unit) "/* \n * blinkenspiel / display.h\n * \n * On/Off controller for a 5x7 LED matrix\n * \n * Defines how the 5x7 led dot matrix display is connected\n * - 4 possible orientations (from top/from bottom + 0/180deg rotated)\n * - common anode (TA07) or common cathode (TC07) displays are supported\n * ...
591
0
{"language": "c", "success": true, "metadata": {"lines": 174, "avg_line_length": 30.66, "nodes": 567, "errors": 0, "source_hash": "7d9d783ce856fd9293b9b77ad9d69ad97714886ac79acb18370c8df6463aab4a", "categorized_nodes": 165}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "declaration", "text": "void do...
550
c
#include <assert.h> #include <stdlib.h> #include <stddef.h> #include <string.h> #include "String.h" #include "new.h" #include "new_r.h" struct String { const void *class; char *text; struct String *next; unsigned count; }; // header static struct String *ring; static void *String_clone(const void *_self) { ...
18.94
79
(translation_unit) "#include <assert.h>\n#include <stdlib.h>\n#include <stddef.h>\n#include <string.h>\n\n#include "String.h"\n#include "new.h"\n#include "new_r.h"\n\nstruct String\n{\n const void *class;\n char *text;\n struct String *next;\n unsigned count;\n};\n\n// header\nstatic struct String *ring;\n\nstatic ...
610
1
{"language": "c", "success": true, "metadata": {"lines": 79, "avg_line_length": 18.94, "nodes": 393, "errors": 0, "source_hash": "e428a6dd2afaeba22c9a02861e4a15af23766c8490eb624531e3aa5a20a73476", "categorized_nodes": 274}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
551
c
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by <NAME>. // #import <OfficeImport/OADPathElement.h> __attribute__((visibility("hidden"))) @interface OADToPointPathElement : OADPathElement { struct OADAdjustPoint mToPoint; BOOL mRelative; ...
26.06
17
(translation_unit) "//\n// Generated by class-dump 3.5 (64 bit).\n//\n// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by <NAME>.\n//\n\n#import <OfficeImport/OADPathElement.h>\n\n__attribute__((visibility("hidden")))\n@interface OADToPointPathElement : OADPathElement\n{\n struct OADAdjustPoint...
108
8
{"language": "c", "success": true, "metadata": {"lines": 17, "avg_line_length": 26.06, "nodes": 62, "errors": 0, "source_hash": "28a26da98e2a1fe7e2fe37c9da9831439d1a54c1f2016c44d23f7d2411815263", "categorized_nodes": 41}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <...
552
c
/* * sdl_keymap.c * * Mappings from SDL keycode to local key codes. * Stolen from xkeymap.c * */ #include <SDL/SDL_keysym.h> #include "input.h" int keymap[][2] = { { SDLK_LSHIFT, K_SHIFT }, { SDLK_RSHIFT, K_SHIFT }, { SDLK_LCTRL, K_CTRL }, { SDLK_RCTRL, K_CTRL }, { SDLK_LALT, K_ALT }, { SDLK_RALT, K_ALT }...
21.55
84
(translation_unit) "/*\n * sdl_keymap.c\n *\n * Mappings from SDL keycode to local key codes.\n * Stolen from xkeymap.c\n *\n */\n\n#include <SDL/SDL_keysym.h>\n#include "input.h"\n\nint keymap[][2] = {\n { SDLK_LSHIFT, K_SHIFT },\n { SDLK_RSHIFT, K_SHIFT },\n { SDLK_LCTRL, K_CTRL },\n { SDLK_RCTRL, K_CTRL },\n { SDLK_...
524
0
{"language": "c", "success": true, "metadata": {"lines": 84, "avg_line_length": 21.55, "nodes": 233, "errors": 0, "source_hash": "2228726aff956fc237924b92387930e31a3a3937d735997ac3b1e0fa0b3b8b89", "categorized_nodes": 147}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
553
c
/* ** audio.h ** @brief : Audio component control ** @warn : Must be initialized for output */ #pragma once class Audio { public: Audio() = delete; static void Initialize(); static int GetOpenChannel(); static void Exit(); static int Register(lua_State * L); ...
26.28
25
(translation_unit) "/*\n** audio.h\n** @brief : Audio component control\n** @warn : Must be initialized for output\n*/\n\n#pragma once\n\nclass Audio\n{\n public:\n Audio() = delete;\n \n static void Initialize();\n\n static int GetOpenChannel();\n\n static void Exit();\n\n ...
176
3
{"language": "c", "success": true, "metadata": {"lines": 25, "avg_line_length": 26.28, "nodes": 103, "errors": 0, "source_hash": "bb589baa155f965782a5945ec8fcb5faac9ddf590b916da46241f1f084785276", "categorized_nodes": 57}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma ...
554
c
// // Created by xcy on 2020/10/6. // #ifndef DAY10_UTILS_H #define DAY10_UTILS_H #include <ctime> #include <iostream> // 实现插入排序 template<typename T> void insertionSort(T arr[], int l, int r) { for (int i = l + 1; i <= r; ++i) { T v = arr[i]; int j; for (j = i; j > l; --j) { i...
22.41
69
(translation_unit) "//\n// Created by xcy on 2020/10/6.\n//\n\n#ifndef DAY10_UTILS_H\n#define DAY10_UTILS_H\n\n#include <ctime>\n#include <iostream>\n\n// 实现插入排序\ntemplate<typename T>\nvoid insertionSort(T arr[], int l, int r) {\n for (int i = l + 1; i <= r; ++i) {\n T v = arr[i];\n int j;\n for...
738
30
{"language": "c", "success": true, "metadata": {"lines": 69, "avg_line_length": 22.41, "nodes": 421, "errors": 0, "source_hash": "a200ac6be5df063de1bd460849609562e4b5db2db302cbc9ddbf05977fd490fd", "categorized_nodes": 289}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
555
c
#ifndef _ZD_IEEE80211_H #define _ZD_IEEE80211_H #include <net/ieee80211.h> /* Additional definitions from the standards. */ #define ZD_REGDOMAIN_FCC 0x10 #define ZD_REGDOMAIN_IC 0x20 #define ZD_REGDOMAIN_ETSI 0x30 #define ZD_REGDOMAIN_SPAIN 0x31 #define ZD_REGDOMAIN_FRANCE 0x32 #define ZD_REGDOMAIN_JAPAN_ADD 0x40 ...
26.63
67
(translation_unit) "#ifndef _ZD_IEEE80211_H\n#define _ZD_IEEE80211_H\n\n#include <net/ieee80211.h>\n\n/* Additional definitions from the standards.\n */\n\n#define ZD_REGDOMAIN_FCC 0x10\n#define ZD_REGDOMAIN_IC 0x20\n#define ZD_REGDOMAIN_ETSI 0x30\n#define ZD_REGDOMAIN_SPAIN 0x31\n#define ZD_REGDOMAIN_FRANCE 0x32\n#de...
382
0
{"language": "c", "success": true, "metadata": {"lines": 67, "avg_line_length": 26.63, "nodes": 280, "errors": 0, "source_hash": "51e04c455c55f2ddbd16d0ffd1e1a2175aaef184c181ab8b108656ad77b7e833", "categorized_nodes": 179}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
556
c
/* Generated by RuntimeBrowser Image: /System/Library/Frameworks/CloudKit.framework/CloudKit */ @interface CKModifyRecordAccessOperationInfo : CKDatabaseOperationInfo <NSSecureCoding> { NSArray * _recordIDsToGrant; NSArray * _recordIDsToRevoke; } @property (nonatomic, retain) NSArray *recordIDsToGrant; @p...
33.56
18
(translation_unit) "/* Generated by RuntimeBrowser\n Image: /System/Library/Frameworks/CloudKit.framework/CloudKit\n */\n\n@interface CKModifyRecordAccessOperationInfo : CKDatabaseOperationInfo <NSSecureCoding> {\n NSArray * _recordIDsToGrant;\n NSArray * _recordIDsToRevoke;\n}\n\n@property (nonatomic, retain) ...
171
14
{"language": "c", "success": true, "metadata": {"lines": 18, "avg_line_length": 33.56, "nodes": 106, "errors": 0, "source_hash": "5404ab147728d8f8f49fb75671768af96eb73ea2326bdf2a13158a5f5b1b702f", "categorized_nodes": 60}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "@interface CKMo...
557
c
#pragma once #include <cstdint> #include "CEvent.h" namespace alt { class IPlayer; class IEntity; class CPlayerDamageEvent : public CEvent { public: CPlayerDamageEvent(IPlayer* _target, IEntity* _attacker, uint16_t _damage, uint32_t _weapon) : CEvent(Type::PLAYER_DAMAGE), target(_target), attacker(_...
21.9
29
(translation_unit) "#pragma once\n\n#include <cstdint>\n\n#include "CEvent.h"\n\nnamespace alt\n{\n class IPlayer;\n class IEntity;\n\n class CPlayerDamageEvent : public CEvent\n {\n public:\n CPlayerDamageEvent(IPlayer* _target, IEntity* _attacker, uint16_t _damage, uint32_t _weapon) :\n CEvent(Type::PLAYER_DAMAGE)...
203
8
{"language": "c", "success": true, "metadata": {"lines": 29, "avg_line_length": 21.9, "nodes": 114, "errors": 0, "source_hash": "f2818ccf4d3cb07480c836f2fb0031925b0c910398299070d0a0feeac3833b9b", "categorized_nodes": 78}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
558
c
// // SocketIOTransport.h // v0.5.1 // // based on // socketio-cocoa https://github.com/fpotter/socketio-cocoa // by <NAME> <<EMAIL>> // // using // https://github.com/square/SocketRocket // // reusing some parts of // /socket.io/socket.io.js // // Created by <NAME> http://beta-interactive.de // // With help...
28.67
39
(translation_unit) "//\n// SocketIOTransport.h\n// v0.5.1\n//\n// based on\n// socketio-cocoa https://github.com/fpotter/socketio-cocoa\n// by <NAME> <<EMAIL>>\n//\n// using\n// https://github.com/square/SocketRocket\n//\n// reusing some parts of\n// /socket.io/socket.io.js\n//\n// Created by <NAME> http://be...
287
33
{"language": "c", "success": true, "metadata": {"lines": 39, "avg_line_length": 28.67, "nodes": 178, "errors": 0, "source_hash": "e92694a221011fe941b897dcfcd79c078521a5d67753a89ff68c9c905e111dfd", "categorized_nodes": 102}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import...
559
c
#ifndef TREESCENE_H_ #define TREESCENE_H_ #include <QGraphicsScene> class TreeScene : public QGraphicsScene{ Q_OBJECT; public: TreeScene(QObject *parent = 0); TreeScene(const QRectF &sceneRect, QObject *parent = 0); TreeScene(qreal x, qreal y, qreal width, qreal height, QObject *parent = 0); signals: ...
28.6
15
(translation_unit) "#ifndef TREESCENE_H_\n#define TREESCENE_H_\n\n#include <QGraphicsScene>\n\nclass TreeScene : public QGraphicsScene{\n Q_OBJECT;\npublic:\n TreeScene(QObject *parent = 0);\n TreeScene(const QRectF &sceneRect, QObject *parent = 0);\n TreeScene(qreal x, qreal y, qreal width, qreal height, Q...
126
8
{"language": "c", "success": true, "metadata": {"lines": 15, "avg_line_length": 28.6, "nodes": 81, "errors": 0, "source_hash": "549870745b7939e1e879e5d0178563b3ac834ef3e150ecab9a1e4231eb46a0ea", "categorized_nodes": 53}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef T...
560
c
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by <NAME>. // #import "MMService.h" #import "IGameHaowanPostMgrExt.h" #import "MMService.h" @class NSHashTable, NSString; @interface GameHaowanPostEventDispatcher : MMService <MMService, IGameHaowan...
32
27
(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 "MMService.h"\n\n#import "IGameHaowanPostMgrExt.h"\n#import "MMService.h"\n\n@class NSHashTable, NSString;\n\n@interface GameHaowanPostEventDispatcher : ...
240
24
{"language": "c", "success": true, "metadata": {"lines": 27, "avg_line_length": 32.0, "nodes": 149, "errors": 0, "source_hash": "1d8237593b5793730ec11982805ee9a36dbf1e468cb70feae6656fa87b373d94", "categorized_nodes": 83}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import \...
561
c
/* pcp.h -- Describes the format of a precompiled file Copyright (C) 1990 Free Software Foundation, Inc. This file is part of GNU CC. GNU CC 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, o...
35.56
85
(translation_unit) "/* pcp.h -- Describes the format of a precompiled file\n Copyright (C) 1990 Free Software Foundation, Inc.\n\nThis file is part of GNU CC.\n\nGNU CC is free software; you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foun...
101
0
{"language": "c", "success": true, "metadata": {"lines": 85, "avg_line_length": 35.56, "nodes": 55, "errors": 0, "source_hash": "16ce9af91df8bdc109bb31a18e224a73ff9b7c304af5a363870fca0323f14866", "categorized_nodes": 39}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "type_definition", "text": "typede...
562
c
#ifndef __FTPD_P_H__ #define __FTPD_P_H__ 1 #include "ftpd.h" #include "log_unix.h" #ifdef USE_PAM # include "log_pam.h" #endif #ifdef WITH_LDAP # include "log_ldap.h" #endif #ifdef WITH_MYSQL # include "log_mysql.h" #endif #ifdef WITH_PGSQL # include "log_pgsql.h" #endif #ifdef WITH_PUREDB # include "log_puredb.h" #e...
25.78
331
(translation_unit) "#ifndef __FTPD_P_H__\n#define __FTPD_P_H__ 1\n\n#include "ftpd.h"\n#include "log_unix.h"\n#ifdef USE_PAM\n# include "log_pam.h"\n#endif\n#ifdef WITH_LDAP\n# include "log_ldap.h"\n#endif\n#ifdef WITH_MYSQL\n# include "log_mysql.h"\n#endif\n#ifdef WITH_PGSQL\n# include "log_pgsql.h"\n#endif\n#ifdef WI...
2,381
44
{"language": "c", "success": true, "metadata": {"lines": 331, "avg_line_length": 25.78, "nodes": 1430, "errors": 0, "source_hash": "0eeaa1b443516bcbfe9d20fb839a0b1edcd25c1b589bc0e7156abfdad8118f34", "categorized_nodes": 727}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifn...
563
c
/* Generated by GNU Make 4.2.1. Do not edit. */ #ifndef __CONFIG__embox__cmd__net__httpd__H_ #define __CONFIG__embox__cmd__net__httpd__H_ // This is the most specific implementation type #ifndef OPTION_NUMBER_embox__cmd__net__httpd__log_level #define OPTION_NUMBER_embox__cmd__net__httpd__log_level 1 #endif #ifndef ...
36.65
20
(translation_unit) "/* Generated by GNU Make 4.2.1. Do not edit. */\n\n#ifndef __CONFIG__embox__cmd__net__httpd__H_\n#define __CONFIG__embox__cmd__net__httpd__H_\n// This is the most specific implementation type\n\n#ifndef OPTION_NUMBER_embox__cmd__net__httpd__log_level\n#define OPTION_NUMBER_embox__cmd__net__httpd__lo...
43
0
{"language": "c", "success": true, "metadata": {"lines": 20, "avg_line_length": 36.65, "nodes": 39, "errors": 0, "source_hash": "9df843652fb71bb186b571e1c76aa386bfeee065980e1455fb3c6a554b938aa6", "categorized_nodes": 25}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
564
c
// // UIView+CHBase.h // CHCategories // // Created by CHwang on 16/12/31. // Copyright © 2016年 Colin. All rights reserved. // #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @interface UIView (CHBase) #pragma mark - Base /** View可见的Alpha值(综合考虑Subview及Window情况) */ @property (nonatomic, readonly) CGFloat ch_vi...
26.44
252
(translation_unit) "//\n// UIView+CHBase.h\n// CHCategories\n//\n// Created by CHwang on 16/12/31.\n// Copyright © 2016年 Colin. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\nNS_ASSUME_NONNULL_BEGIN\n\n@interface UIView (CHBase)\n\n#pragma mark - Base\n/**\n View可见的Alpha值(综合考虑Subview及Window情况)\n */\n@proper...
1,264
137
{"language": "c", "success": true, "metadata": {"lines": 252, "avg_line_length": 26.44, "nodes": 789, "errors": 0, "source_hash": "8dc46c9ec6ffbc0f88432c4bc598ee4b98b54ae2357a5203dbbb1e8e634ce4cc", "categorized_nodes": 435}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "port <...
565
c
// QtStrava - A Qt wrapper for Strava API // Copyright (C) 2020 <NAME> <<EMAIL>> // // Licensed under the MIT license. See LICENSE for details. #pragma once #include <QtStrava/global.h> #include <QtCore/qobject.h> #include <QtCore/qurl.h> #include <QtPromise> #include <chrono> #include <optional> class QFile; nam...
37.27
104
(translation_unit) "// QtStrava - A Qt wrapper for Strava API\n// Copyright (C) 2020 <NAME> <<EMAIL>>\n//\n// Licensed under the MIT license. See LICENSE for details.\n\n#pragma once\n\n#include <QtStrava/global.h>\n\n#include <QtCore/qobject.h>\n#include <QtCore/qurl.h>\n#include <QtPromise>\n\n#include <chrono>\n#inc...
513
33
{"language": "c", "success": true, "metadata": {"lines": 104, "avg_line_length": 37.27, "nodes": 321, "errors": 0, "source_hash": "92ce80d61734147ebd06b4532273d033d82eff170c6fc5d2d1c578bea0b5b68d", "categorized_nodes": 217}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragm...
566
c
#include<stdio.h> void main() { int x = 10, y = 9; int a, b, c; a = (--x == y++)? --x: ++y; b = x++; c = y; a = b = c = 3; printf("%d%d%d\n",a,b,c); }
16.9
10
(translation_unit) "#include<stdio.h>\nvoid main() {\n int x = 10, y = 9;\n int a, b, c;\n a = (--x == y++)? --x: ++y;\n b = x++;\n c = y;\n a = b = c = 3;\n printf("%d%d%d\n",a,b,c);\n}\n" (preproc_include) "#include<stdio.h>\n" (#include) "#include" (system_lib_string) "<stdio.h>" (fu...
103
0
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 16.9, "nodes": 71, "errors": 0, "source_hash": "d86f6479aaef123a9b40a05652310c1c675b3f1569069957637becd248d58760", "categorized_nodes": 48}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#includ...
567
c
// // IMPAdjustmentCurves_metal.h // IMProcessing // // Created by <NAME> on 12.01.16. // Copyright © 2016 Dehancer.photo. All rights reserved. // #ifndef IMPAdjustmentCurves_metal_h #define IMPAdjustmentCurves_metal_h #ifdef __METAL_VERSION__ #include "IMPSwift-Bridging-Metal.h" #include "IMPFlowControl_metal.h...
34.59
61
(translation_unit) "//\n// IMPAdjustmentCurves_metal.h\n// IMProcessing\n//\n// Created by <NAME> on 12.01.16.\n// Copyright © 2016 Dehancer.photo. All rights reserved.\n//\n\n#ifndef IMPAdjustmentCurves_metal_h\n#define IMPAdjustmentCurves_metal_h\n\n#ifdef __METAL_VERSION__\n\n#include "IMPSwift-Bridging-Metal.h"...
442
24
{"language": "c", "success": true, "metadata": {"lines": 61, "avg_line_length": 34.59, "nodes": 271, "errors": 0, "source_hash": "1e7ec21578ca3fa88d46486a600b2b1296a8e808a05f298a7f9c05d656b7cd4e", "categorized_nodes": 193}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "ifndef...
568
c
// ------------------------------------------------------------- // a simple Arduino Teensy 3.1/3.2/3.6 CAN driver // by teachop // dual CAN support for MK66FX1M0 by Pawelsky // #ifndef __FLEXCAN_H__ #define __FLEXCAN_H__ #include <Arduino.h> #if !defined(SIZE_RX_BUFFER) #define SIZE_RX_BUFFER 32 // receive incoming...
38.75
137
(translation_unit) "// -------------------------------------------------------------\n// a simple Arduino Teensy 3.1/3.2/3.6 CAN driver\n// by teachop\n// dual CAN support for MK66FX1M0 by Pawelsky\n//\n#ifndef __FLEXCAN_H__\n#define __FLEXCAN_H__\n\n#include <Arduino.h>\n\n#if !defined(SIZE_RX_BUFFER)\n#define SIZE_RX...
997
21
{"language": "c", "success": true, "metadata": {"lines": 137, "avg_line_length": 38.75, "nodes": 645, "errors": 0, "source_hash": "353643cdf5587e3c348351c74e5bc5f69826631f5fad5e098332cd42c88bbf84", "categorized_nodes": 432}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
569
c
#include <stdio.h> int main(){ int a,b; b = (a=2)+3*4; printf("b=%d - - a=%d\n",b,a); return 0; }
12
8
(translation_unit) "#include <stdio.h>\nint main(){\n \n int a,b;\n b = (a=2)+3*4;\n printf("b=%d - - a=%d\n",b,a);\n\n return 0;\n}\n" (preproc_include) "#include <stdio.h>\n" (#include) "#include" (system_lib_string) "<stdio.h>" (function_definition) "int main(){\n \n int a,b;\n b = (a=2)+3*4;\n printf("b...
58
0
{"language": "c", "success": true, "metadata": {"lines": 8, "avg_line_length": 12.0, "nodes": 35, "errors": 0, "source_hash": "be0be7ee41613935c099732b04e962a60609e55cb2361097e9bfa69f62f8f49a", "categorized_nodes": 26}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#include...
570
c
//########################################################################### // Description: //! \addtogroup f2806x_example_list //! <h1>eCAP capture PWM (ecap_capture_pwm)</h1> //! //! This example configures ePWM3A for: //! - Up count //! - Period starts at 2 and goes up to 1000 //! - Toggle output on PRD //! //! eC...
35.04
206
(translation_unit) "//###########################################################################\n// Description:\n//! \addtogroup f2806x_example_list\n//! <h1>eCAP capture PWM (ecap_capture_pwm)</h1>\n//!\n//! This example configures ePWM3A for:\n//! - Up count\n//! - Period starts at 2 and goes up to 1000\n//! - Tog...
1,135
2
{"language": "c", "success": true, "metadata": {"lines": 206, "avg_line_length": 35.04, "nodes": 649, "errors": 0, "source_hash": "542e7878b5521a7bdd70a1d3635ffb17521c117c5bc1ca623212c373fcf33a2b", "categorized_nodes": 525}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
571
c
#ifdef CS333_P2 #include "types.h" #include "user.h" #include "uproc.h" static void printTime(int ticks){ printf(1, "%d.%d%d%d\t", (ticks / 1000), (ticks % 1000) / 100, (ticks % 100) / 10, (ticks % 10) / 1); } int main(void) { int max = 16, procs = 0; struct uproc* table = malloc(max * sizeof(struct uproc)); ...
25.47
43
(translation_unit) "#ifdef CS333_P2\n#include "types.h"\n#include "user.h"\n#include "uproc.h"\n\nstatic void\nprintTime(int ticks){\n printf(1, "%d.%d%d%d\t", (ticks / 1000), (ticks % 1000) / 100, (ticks % 100) / 10, (ticks % 10) / 1);\n}\n\nint\nmain(void)\n{\n int max = 16, procs = 0;\n struct uproc* table = mall...
472
0
{"language": "c", "success": true, "metadata": {"lines": 43, "avg_line_length": 25.47, "nodes": 257, "errors": 0, "source_hash": "ad17648fe40001765309031f528a9a71d5f5723de4fcee26d1b9fdf9030b3338", "categorized_nodes": 182}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifdef...
572
c
#pragma once #include <QString> #include <QByteArray> namespace Process { void restartHyperion(bool asNewProcess=false); QByteArray command_exec(const QString& cmd, const QByteArray& data = {}); }
27.14
7
(translation_unit) "#pragma once\n\n#include <QString>\n#include <QByteArray>\n\nnamespace Process {\n\nvoid restartHyperion(bool asNewProcess=false);\nQByteArray command_exec(const QString& cmd, const QByteArray& data = {});\n\n}\n" (preproc_call) "#pragma once\n" (preproc_directive) "#pragma" (preproc_arg) ...
62
4
{"language": "c", "success": true, "metadata": {"lines": 7, "avg_line_length": 27.14, "nodes": 37, "errors": 0, "source_hash": "0d8abcc2d41e390051697981093fe67d988bc3ce020c7209f65670c4ba7de537", "categorized_nodes": 25}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma on...
573
c
#ifndef TIMER_H #define TIMER_H # include "OS_Timer.h" # include <iostream> #ifdef UNIX_TIMER # include <sys/time.h> #define DEC_INI double inicio; #define DEC_FIN double fin; #define START struct timeval tp; gettimeofday(&tp,NULL); inicio = (double) tp.tv_sec +( double) tp.tv_usec / 1000000....
34.21
86
(translation_unit) "#ifndef TIMER_H\n#define TIMER_H\n # include "OS_Timer.h"\n\n # include <iostream>\n\n\n#ifdef UNIX_TIMER\n # include <sys/time.h>\n #define DEC_INI double inicio;\n #define DEC_FIN double fin;\n #define START struct timeval tp; gettimeofday(&tp,NULL); inicio = (double) tp.tv_sec +...
209
4
{"language": "c", "success": true, "metadata": {"lines": 86, "avg_line_length": 34.21, "nodes": 156, "errors": 0, "source_hash": "51caf8add17ed4c5b1bb70f83a672b805ff5f75f50d7c26d93bb59a0d4226c6b", "categorized_nodes": 81}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
574
c
// // CHBannerViewHeader.h // CHBannerView-Demo // // Created by 张晨晖 on 2019/2/27. // Copyright © 2019 张晨晖. All rights reserved. // #ifndef CHBannerViewHeader_h #define CHBannerViewHeader_h #import "CHBannerView.h" #endif /* CHBannerViewHeader_h */
22
11
(translation_unit) "//\n// CHBannerViewHeader.h\n// CHBannerView-Demo\n//\n// Created by 张晨晖 on 2019/2/27.\n// Copyright © 2019 张晨晖. All rights reserved.\n//\n\n#ifndef CHBannerViewHeader_h\n#define CHBannerViewHeader_h\n\n#import "CHBannerView.h"\n\n#endif /* CHBannerViewHeader_h */\n" (comment) "//" (comment)...
19
0
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 22.0, "nodes": 10, "errors": 0, "source_hash": "ba77795b98b58831d06c0637e77f7ef458bcead8eb5f5bbe9628ec37b5863981", "categorized_nodes": 6}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "nerViewHea...
575
c
/* stlink/v2 device driver (c) <NAME>, 2012 */ #ifndef __STLINK_H #define __STLINK_H #include <stdio.h> #include <stdbool.h> #include <stdint.h> #include "pgm.h" typedef struct stlink_context_s { libusb_device_handle *dev_handle; libusb_context *ctx; unsigned int debug; } stlink_context_t; typedef enum { STL...
33.45
47
(translation_unit) "/* stlink/v2 device driver\n (c) <NAME>, 2012 */\n\n#ifndef __STLINK_H\n#define __STLINK_H\n\n#include <stdio.h>\n#include <stdbool.h>\n#include <stdint.h>\n#include "pgm.h"\n\ntypedef struct stlink_context_s {\n libusb_device_handle *dev_handle;\n libusb_context *ctx;\n unsigned int debug;\n} stl...
298
0
{"language": "c", "success": true, "metadata": {"lines": 47, "avg_line_length": 33.45, "nodes": 220, "errors": 0, "source_hash": "abad98e7639e3aa104728e2ae5cc2e62d48a9f4d9dd7bbf7a3db2ec2ded2a642", "categorized_nodes": 141}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
576
c
/* * OpenBOR - http://www.LavaLit.com * ----------------------------------------------------------------------- * Licensed under the BSD license, see LICENSE in OpenBOR root for details. * * Copyright (c) 2004 - 2011 OpenBOR Team */ #ifndef VIDEO_H #define VIDEO_H #include "types.h" extern int scaleVideo; int...
25.62
16
(translation_unit) "/*\n * OpenBOR - http://www.LavaLit.com\n * -----------------------------------------------------------------------\n * Licensed under the BSD license, see LICENSE in OpenBOR root for details.\n *\n * Copyright (c) 2004 - 2011 OpenBOR Team\n */\n\n#ifndef VIDEO_H\n#define VIDEO_H\n\n#include "types....
52
0
{"language": "c", "success": true, "metadata": {"lines": 16, "avg_line_length": 25.62, "nodes": 37, "errors": 0, "source_hash": "914e7b353daef650d39025fce339f3feed8a8664c889d7017e4b7fbae5e357c0", "categorized_nodes": 25}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
577
c
#pragma once #include <dinput.h> #include "Config.h" #include "Mutex.h" #include "ForceFeedback.h" class Controller { friend class ForceFeedback; public: Controller(u32 user); ~Controller(); Controller(const Controller &other): m_ForceFeedback(this) { m_pDevice = other.m_pDevice;...
26.33
49
(translation_unit) "#pragma once\n\n#include <dinput.h>\n#include "Config.h"\n#include "Mutex.h"\n\n#include "ForceFeedback.h"\n\nclass Controller\n{\n friend class ForceFeedback;\npublic:\n Controller(u32 user);\n ~Controller();\n\n Controller(const Controller &other):\n m_ForceFeedback(this)\n {...
326
7
{"language": "c", "success": true, "metadata": {"lines": 49, "avg_line_length": 26.33, "nodes": 207, "errors": 0, "source_hash": "a737cc06381a4a3019770a13331bef6afa0e2c8fd48cb880a7bfffef55652882", "categorized_nodes": 163}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
578
c
#ifndef COOLPHYSICS2D_CENTRIPETALGRAVITYFIELD_H #define COOLPHYSICS2D_CENTRIPETALGRAVITYFIELD_H #include "AttachableField.h" BEGIN_NAMESPACE_COOLPHYSICS2D class CentripetalGravityField:public AttachableField { public: CentripetalGravityField(const Rectangle& range,const Particle* charge,double gravity); virt...
30.07
15
(translation_unit) "#ifndef COOLPHYSICS2D_CENTRIPETALGRAVITYFIELD_H\n#define COOLPHYSICS2D_CENTRIPETALGRAVITYFIELD_H\n\n#include "AttachableField.h"\n\nBEGIN_NAMESPACE_COOLPHYSICS2D\n\nclass CentripetalGravityField:public AttachableField\n{\npublic:\n CentripetalGravityField(const Rectangle& range,const Particle* ch...
94
6
{"language": "c", "success": true, "metadata": {"lines": 15, "avg_line_length": 30.07, "nodes": 53, "errors": 0, "source_hash": "cd683478e0bc494fd0095d7da85516d68b2a3a4f357cdbfd6e263476fa6d3a60", "categorized_nodes": 38}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
579
c
/* Copyright (C) 2013 <NAME> * See the COPYRIGHT file for more information */ #ifndef __UTILS_H #define __UTILS_H __INLINE void delay_ms(uint32_t dlyTicks); uint16_t hex2int(char *a, uint16_t len); void split_args(char *buf, char *p1, char *p2); #endif /* vim: set sw=4 et: */
30
9
(translation_unit) "/* Copyright (C) 2013 <NAME>\n * See the COPYRIGHT file for more information */\n\n#ifndef __UTILS_H \n#define __UTILS_H\n\n__INLINE void delay_ms(uint32_t dlyTicks);\nuint16_t hex2int(char *a, uint16_t len);\nvoid split_args(char *buf, char *p1, char *p2);\n\n#endif\n\n/* vim: set sw=4 et: */\n" ...
65
1
{"language": "c", "success": true, "metadata": {"lines": 9, "avg_line_length": 30.0, "nodes": 50, "errors": 0, "source_hash": "46104aeeb8d882df53f74619c3b2a784bbf8f2723d8e0c4032f13eb33effdca4", "categorized_nodes": 28}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef __...
580
c
// // UNUserNotificationCenter+ZRTracking.h // ZRObjcKit // // Created by jiaxw-mac on 2017/12/7. // Copyright © 2017年 jiaxw. All rights reserved. // #import <UserNotifications/UserNotifications.h> @interface UNUserNotificationCenter (ZRTracking) @end
24.6
10
(translation_unit) "//\n// UNUserNotificationCenter+ZRTracking.h\n// ZRObjcKit\n//\n// Created by jiaxw-mac on 2017/12/7.\n// Copyright © 2017年 jiaxw. All rights reserved.\n//\n\n#import <UserNotifications/UserNotifications.h>\n\n@interface UNUserNotificationCenter (ZRTracking)\n\n@end\n" (comment) "//" (commen...
23
4
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 24.6, "nodes": 13, "errors": 0, "source_hash": "7c52f9d36cfcbf409e6320a2fc51375b9b33fcef7eb5d4949334fd293395066c", "categorized_nodes": 6}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "port <UserN...
581
c
#include <stdio.h> #include "4geo.h" int main(){ struct rect screen; struct point middle,a1,a2,a3; struct point makepoint(double,double); screen.pt1=makepoint((double)3,(double)27); screen.pt2=makepoint((double)18,(double)7); printf("screen:\n"); printf("pt1(%.2lf,%.2lf) pt2(%.2lf,%.2lf)\n",screen.pt1.x,screen....
35.29
24
(translation_unit) "#include <stdio.h>\n#include "4geo.h"\n\nint main(){\n struct rect screen;\n struct point middle,a1,a2,a3;\n struct point makepoint(double,double);\n screen.pt1=makepoint((double)3,(double)27);\n screen.pt2=makepoint((double)18,(double)7);\n printf("screen:\n");\n printf("pt1(%.2lf,%.2lf) pt2(%.2lf,...
418
0
{"language": "c", "success": true, "metadata": {"lines": 24, "avg_line_length": 35.29, "nodes": 232, "errors": 0, "source_hash": "a01b3ffe3a7814021cad8f9a43b9fc070eb6fe037b67b03514164ea104ab6d5c", "categorized_nodes": 185}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
582
c
/* src/r2rconf.h. Generated from r2rconf.h.in by configure. */ /* src/r2rconf.h.in. Generated from configure.ac by autoheader. */ /* enable CFSQP */ /* #undef ENABLE_CFSQP */ /* enable NLopt */ /* #undef ENABLE_NLOPT */ /* Define to 1 if you have the <inttypes.h> header file. */ #define HAVE_INTTYPES_H 1 /* Def...
41.76
63
(translation_unit) "/* src/r2rconf.h. Generated from r2rconf.h.in by configure. */\n/* src/r2rconf.h.in. Generated from configure.ac by autoheader. */\n\n/* enable CFSQP */\n/* #undef ENABLE_CFSQP */\n\n/* enable NLopt */\n/* #undef ENABLE_NLOPT */\n\n/* Define to 1 if you have the <inttypes.h> header file. */\n#de...
133
0
{"language": "c", "success": true, "metadata": {"lines": 63, "avg_line_length": 41.76, "nodes": 96, "errors": 0, "source_hash": "d43ec596336bc32d125cdaab325ab4fc05c4ed8c342936b1f09a65e490d36fe9", "categorized_nodes": 24}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_def", "text": "#define HA...
583
c
/* * Copyright (c) 2005-2012 by KoanLogic s.r.l. - All rights reserved. */ #ifndef _LIBU_DAEMON_H_ #define _LIBU_DAEMON_H_ #include <u/libu_conf.h> #ifdef HAVE_DAEMON #ifdef HAVE_STDLIB #include <stdlib.h> #endif #ifdef HAVE_UNISTD #include <unistd.h> #endif #else /* !HAVE_DAEMON */ #ifdef __...
19.39
23
(translation_unit) "/* \n * Copyright (c) 2005-2012 by KoanLogic s.r.l. - All rights reserved. \n */\n\n#ifndef _LIBU_DAEMON_H_\n#define _LIBU_DAEMON_H_\n\n#include <u/libu_conf.h>\n\n#ifdef HAVE_DAEMON\n #ifdef HAVE_STDLIB\n #include <stdlib.h>\n #endif\n #ifdef HAVE_UNISTD\n #include <unistd.h>\n #endif\n#...
69
0
{"language": "c", "success": true, "metadata": {"lines": 23, "avg_line_length": 19.39, "nodes": 54, "errors": 0, "source_hash": "ad212fed158333e9bd021965b62ad064e956c601c8b1abd6d1defd2187f50fac", "categorized_nodes": 44}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
584
c
// // ShoppingcartUnusebleHeader.h // HWDMall // // Created by stewedr on 2018/11/23. // Copyright © 2018 stewardR. All rights reserved. // #import <UIKit/UIKit.h> typedef void(^DeleteAllBlock)(void); @interface ShoppingcartUnusebleHeader : UITableViewHeaderFooterView @property (nonatomic,copy) DeleteAllBlock del...
26.75
12
(translation_unit) "//\n// ShoppingcartUnusebleHeader.h\n// HWDMall\n//\n// Created by stewedr on 2018/11/23.\n// Copyright © 2018 stewardR. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\ntypedef void(^DeleteAllBlock)(void);\n@interface ShoppingcartUnusebleHeader : UITableViewHeaderFooterView\n@property (no...
50
7
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 26.75, "nodes": 31, "errors": 0, "source_hash": "b2d670de21e7c5023950f6aee0e37c96ba3f6efc6149dbb61461178e3b7ce74b", "categorized_nodes": 16}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <U...
585
c
#import <UIKit/UIKit.h> FOUNDATION_EXPORT double EJPracticalVersionNumber; FOUNDATION_EXPORT const unsigned char EJPracticalVersionString[];
34.5
4
(translation_unit) "#import <UIKit/UIKit.h>\n\n\nFOUNDATION_EXPORT double EJPracticalVersionNumber;\nFOUNDATION_EXPORT const unsigned char EJPracticalVersionString[];\n\n" (preproc_call) "#import <UIKit/UIKit.h>\n" (preproc_directive) "#import" (preproc_arg) "<UIKit/UIKit.h>" (declaration) "FOUNDATION_EXPOR...
23
1
{"language": "c", "success": true, "metadata": {"lines": 4, "avg_line_length": 34.5, "nodes": 15, "errors": 0, "source_hash": "8461f069877a04103c859073086e223a135a5aa1dc8bc90308e17298da913b0f", "categorized_nodes": 10}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <UI...
586
c
/* * Copyright 2018 <NAME> * * 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 wr...
36.26
38
(translation_unit) "/*\n * Copyright 2018 <NAME>\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 appl...
211
9
{"language": "c", "success": true, "metadata": {"lines": 38, "avg_line_length": 36.26, "nodes": 124, "errors": 0, "source_hash": "d17541563d9d637b179b6dcc4a81c7f1b301b352cf1ce91e05b0622984426aab", "categorized_nodes": 77}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma ...
587
c
//================This is split line================ // KEYWORD: COMPONENT NAME IS libkm_se // description:Root of trust, SE-KM // #define AOS_COMP_LIBKM_SE 0 // type: bool // #if AOS_COMP_LIBKM_SE // #endif
33.83
6
(translation_unit) "//================This is split line================\n// KEYWORD: COMPONENT NAME IS libkm_se\n\n// description:Root of trust, SE-KM\n// #define AOS_COMP_LIBKM_SE 0 // type: bool\n\n// #if AOS_COMP_LIBKM_SE\n\n// #endif\n\n" (comment) "//================This is split line================" (comme...
7
0
{"language": "c", "success": true, "metadata": {"lines": 6, "avg_line_length": 33.83, "nodes": 0, "errors": 0, "source_hash": "dabfe3649a76959668b51fd9586f3169132ee1e01226da27e4473cd9ed284910", "categorized_nodes": 0}, "ast": {"root": "translation_unit", "nodes": []}, "node_categories": {"declarations": {"functions": [...
588
c
version https://git-lfs.github.com/spec/v1 oid sha256:af6acfe38044a4751849030b5c840b8933667117e606cb1324a52f10e1cb87a3 size 2806
42
3
(translation_unit) "version https://git-lfs.github.com/spec/v1\noid sha256:af6acfe38044a4751849030b5c840b8933667117e606cb1324a52f10e1cb87a3\nsize 2806\n" (declaration) "version https://git-lfs.github.com/spec/v1\noid" (type_identifier) "version" (ERROR) "https:" (identifier) "https" (:) ":" (c...
15
2
{"language": "c", "success": true, "metadata": {"lines": 3, "avg_line_length": 42.0, "nodes": 10, "errors": 0, "source_hash": "bbcfe21552a49068b602c651b323b5631eee46e3a850e96bc4bbe634cc4da6ac", "categorized_nodes": 8}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "declaration", "text": "version https...
589
c
// ************************** // *** CLASS FLOAT MATRIX *** // ************************** #ifndef _FLOTMTRX_H_ #define _FLOTMTRX_H_ #include "matrix.h" #include "debug.def" #include "freestor.h" #include <stdio.h> #include <stdlib.h> class FloatArray ; class DiagonalMatrix ; class FloatMa...
31.04
75
(translation_unit) "// ************************** \n// *** CLASS FLOAT MATRIX *** \n// ************************** \n \n \n#ifndef _FLOTMTRX_H_ \n#define _FLOTMTRX_H_ \n \n#include "matrix.h" \n#include "debug.def" \n#include "freestor.h" \n#include <stdio.h> \n#include <stdlib.h> \n \nclass FloatArray ; class Dia...
580
10
{"language": "c", "success": true, "metadata": {"lines": 75, "avg_line_length": 31.04, "nodes": 384, "errors": 0, "source_hash": "44414be35b1a83a1cac332bc0e38f9607ec21edcf7828b1b1b103f2d0791bbe6", "categorized_nodes": 249}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
590
c
//+--------------------------------------------------------------------------- // // Microsoft Windows // Copyright (C) Microsoft Corporation, 1997 - 1999 // // File: certifct.h // // Contents: // //---------------------------------------------------------------------------- #ifndef __CERTIFICT_H...
29.3
67
(translation_unit) "//+--------------------------------------------------------------------------- \n// \n// Microsoft Windows \n// Copyright (C) Microsoft Corporation, 1997 - 1999 \n// \n// File: certifct.h \n// \n// Contents: \n// \n//----------------------------------------------------------------------...
370
10
{"language": "c", "success": true, "metadata": {"lines": 67, "avg_line_length": 29.3, "nodes": 238, "errors": 0, "source_hash": "f52d206ed3a496fd003a9171268e406466096968402aea827f2895b5c0fb7b8d", "categorized_nodes": 176}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
591
c
//##################################################################### // Header config //##################################################################### #pragma once #include <geode/config.h> // Autogenerated config header #include <geode/python/config.h> // Must be included before C++ headers // Choose stand...
38.15
204
(translation_unit) "//#####################################################################\n// Header config\n//#####################################################################\n#pragma once\n\n#include <geode/config.h> // Autogenerated config header\n#include <geode/python/config.h> // Must be included before C+...
880
0
{"language": "c", "success": true, "metadata": {"lines": 204, "avg_line_length": 38.15, "nodes": 699, "errors": 0, "source_hash": "60b259f25c49d2182df514a19cd1b2c9870511171ae77967a3c3c8d94725ff22", "categorized_nodes": 340}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragm...
592
c
/* * Parts of this program has been derived from mrouted. It is covered * by the license in the accompanying file named "LICENSE". */ #include <ifaddrs.h> #include "defs.h" /* * Exported variables. */ TAILQ_HEAD(ifaces, ifi) ifaces = TAILQ_HEAD_INITIALIZER(ifaces); void config_set_ifflag(uint32_t flag) { s...
24.96
203
(translation_unit) "/*\n * Parts of this program has been derived from mrouted. It is covered\n * by the license in the accompanying file named "LICENSE".\n */\n\n#include <ifaddrs.h>\n#include "defs.h"\n\n/*\n * Exported variables.\n */\nTAILQ_HEAD(ifaces, ifi) ifaces = TAILQ_HEAD_INITIALIZER(ifaces);\n\nvoid config_...
1,559
2
{"language": "c", "success": true, "metadata": {"lines": 203, "avg_line_length": 24.96, "nodes": 931, "errors": 0, "source_hash": "5e40c89551b8267dc2ae2988e2e4260c19a9c3132ec30f5c1332999e2e68c46e", "categorized_nodes": 705}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
593
c
/* Copyright 2018 Intel Corporation * * 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 ...
34.29
42
(translation_unit) "/* Copyright 2018 Intel Corporation\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 ...
206
13
{"language": "c", "success": true, "metadata": {"lines": 42, "avg_line_length": 34.29, "nodes": 107, "errors": 0, "source_hash": "2dccf2292f4bcaacf29c957a3b0e1fbc0af59141841278b8dee593e4853dc337", "categorized_nodes": 77}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma ...
594
c
/*settings*{"name":"fourinarow","author":"corax","image":[17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,19,49,17,51,17,19,49,17,51,17,17,18,34,34,35,17,49,49,34,34,34,34,17,17,49,19,1...
20.61
302
(translation_unit) "/*settings*{"name":"fourinarow","author":"corax","image":[17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,17,19,49,17,51,17,19,49,17,51,17,17,18,34,34,35,17,49,49,34,34...
2,839
0
{"language": "c", "success": true, "metadata": {"lines": 302, "avg_line_length": 20.61, "nodes": 1673, "errors": 0, "source_hash": "f78abd4b8ee90e43fbaf568cfadab82949f0546c66b98bc7a188cfad00089215", "categorized_nodes": 1296}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_def", "text": "#defi...
595
c
#pragma once #include <stddef.h> #include <sys/cdefs.h> #include <kernel/types.h> __BEGIN_EXTERN_C u8 port_byte_in (u16 port); void port_byte_out (u16 port, u8 data); u16 port_word_in (u16 port); void port_word_out (u16 port, u16 data); __END_EXTERN_C
24.2
10
(translation_unit) "#pragma once\n\n#include <stddef.h>\n#include <sys/cdefs.h>\n\n#include <kernel/types.h>\n\n__BEGIN_EXTERN_C\n\nu8 port_byte_in (u16 port);\nvoid port_byte_out (u16 port, u8 data);\nu16 port_word_in (u16 port);\nvoid port_word_out (u16 port, u16 data);\n\n__END_EXTERN_C\n" (preproc_call) "#pragma ...
70
1
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 24.2, "nodes": 53, "errors": 0, "source_hash": "6af0ceec1423ab4d06fad579db916095afbd824c238e36c463b350dd61d87c7c", "categorized_nodes": 44}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma on...
596
c
// Copyright (C) 2012 by wubenqi // Distributable under the terms of either the Apache License (Version 2.0) or // the GNU Lesser General Public License, as specified in the COPYING file. // // By: wubenqi<<EMAIL>> // #ifndef NET_ENGINE_IO_HANDLER_H_ #define NET_ENGINE_IO_HANDLER_H_ #include "base/time/time.h" #incl...
31.39
96
(translation_unit) "// Copyright (C) 2012 by wubenqi\n// Distributable under the terms of either the Apache License (Version 2.0) or \n// the GNU Lesser General Public License, as specified in the COPYING file.\n//\n// By: wubenqi<<EMAIL>>\n//\n\n#ifndef NET_ENGINE_IO_HANDLER_H_\n#define NET_ENGINE_IO_HANDLER_H_\n\n#in...
804
47
{"language": "c", "success": true, "metadata": {"lines": 96, "avg_line_length": 31.39, "nodes": 480, "errors": 0, "source_hash": "4f3d09179226b11d9f2aab21dc31fab290620490d3c77aa14b151757071726ff", "categorized_nodes": 326}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
597
c
#ifndef CANVAS2DVIEWERINTERFACE_H #define CANVAS2DVIEWERINTERFACE_H #include <string> #include "canvas2d.h" #include "ra_types.h" class Canvas2dViewerInterface { public: virtual ~Canvas2dViewerInterface() = default; virtual void ViewResult(const ra_core::pipeline::Canvas2d& canvas, ...
31.62
13
(translation_unit) "#ifndef CANVAS2DVIEWERINTERFACE_H\n#define CANVAS2DVIEWERINTERFACE_H\n\n#include <string>\n\n#include "canvas2d.h"\n#include "ra_types.h"\n\nclass Canvas2dViewerInterface\n{\npublic:\n virtual ~Canvas2dViewerInterface() = default;\n virtual void ViewResult(const ra_cor...
83
4
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 31.62, "nodes": 50, "errors": 0, "source_hash": "251d26bc31682f96a3aa18f02e6c12fa19ffb60ca50d89ee2c57c52dd78811e8", "categorized_nodes": 36}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
598
c
// // Created by Rakesh on 01/01/2022. // #pragma once #include <string> #include <thread> #include <vector> namespace spt::configdb::model { struct Configuration { struct Encryption { Encryption() = default; ~Encryption() = default; Encryption(Encryption&&) = default; Encryption&...
32.66
144
(ERROR) "//\n// Created by Rakesh on 01/01/2022.\n//\n\n#pragma once\n\n#include <string>\n#include <thread>\n#include <vector>\n\nnamespace spt::configdb::model\n{\n struct Configuration\n {\n struct Encryption\n {\n Encryption() = default;\n ~Encryption() = default;\n Encryption(Encryption&&) =...
1,120
110
{"language": "c", "success": true, "metadata": {"lines": 144, "avg_line_length": 32.66, "nodes": 585, "errors": 0, "source_hash": "d5da4af6c23ce87d834c3082cfd10be2199ac9f5a8c187cd3393f2a61c112dc5", "categorized_nodes": 339}, "ast": {"root": "ERROR", "nodes": [{"id": 0, "type": "ERROR", "text": "//\n// Created by Rakesh...
599