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 Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include <aws/appmesh/AppMesh_EXPORTS.h> #include <aws/appmesh/model/Duration.h> #include <utility> namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView...
39.43
136
(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/appmesh/AppMesh_EXPORTS.h>\n#include <aws/appmesh/model/Duration.h>\n#include <utility>\n\nnamespace Aws\n{\nnamespace Utils\n{\nnamespace Json\n{\n ...
774
41
{"language": "c", "success": true, "metadata": {"lines": 136, "avg_line_length": 39.43, "nodes": 478, "errors": 0, "source_hash": "e7467e4977b4fbd4beeba1c4d05d2b37e240d27ef43539e3ee557960f7729540", "categorized_nodes": 305}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "ragma ...
3,800
c
#pragma once #include "d3dx9.h" #include "rgl_material.h" #include "rgl_texture.h" #include "rgl_scene.h" #include "rgl_render_context.h" namespace rgl { struct shadowmap_renderer { material *shadow_material_static; texture *shadow_render_target; IDirect3DSurface9 *shadow_surface; int shadow_...
19.86
21
(translation_unit) "#pragma once \n \n#include "d3dx9.h" \n#include "rgl_material.h" \n#include "rgl_texture.h" \n#include "rgl_scene.h" \n#include "rgl_render_context.h" \n \nnamespace rgl \n{ \n struct shadowmap_renderer \n { \n material *shadow_material_static; \n texture *shadow_render_target; \n IDirect3DSurfac...
83
0
{"language": "c", "success": true, "metadata": {"lines": 21, "avg_line_length": 19.86, "nodes": 53, "errors": 0, "source_hash": "bd6c942e44677cc77bd7b4da98938daabb20df3f426204d32e2d4f5e8c0935ee", "categorized_nodes": 41}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
3,801
c
#include <vector> #include <string> #include <variant> #include <sstream> #include "Message.cpp" #pragma once namespace Server { class Args { public: std::vector<std::string> usernames; std::vector<std::string> ipAddress; std::vector<std::string> oped; std::string ranByUser; Messages message; Args(s...
22.24
38
(translation_unit) "#include <vector>\n#include <string>\n#include <variant>\n#include <sstream>\n\n#include "Message.cpp"\n\n#pragma once\n\nnamespace Server\n{\n class Args\n {\n public:\n std::vector<std::string> usernames;\n std::vector<std::string> ipAddress;\n std::vector<std::string> oped;\n\n std::string ra...
313
17
{"language": "c", "success": true, "metadata": {"lines": 38, "avg_line_length": 22.24, "nodes": 199, "errors": 0, "source_hash": "bb75272dba79f6422c3174773e7e3d37dbd1c6133c4462e07b88532b7db9a606", "categorized_nodes": 141}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
3,802
c
/* * @file seed.h * * A partition object, used for indicating blocks within the matrix of an * SP_MATRIX object. * */ #ifndef PARTITION_H #define PARTITION_H #include "macros.h" #ifdef DMALLOC #include "dmalloc.h" #endif /** * A PARTITION type. */ /** * A PARTITION type. */ typedef struct partition PAR...
18.85
52
(translation_unit) "/*\n * @file seed.h \n *\n * A partition object, used for indicating blocks within the matrix of an\n * SP_MATRIX object.\n *\n */\n\n#ifndef PARTITION_H\n#define PARTITION_H\n\n#include "macros.h"\n#ifdef DMALLOC\n#include "dmalloc.h"\n#endif\n\n\n/**\n * A PARTITION type.\n */\n\n\n/**\n * A PARTI...
130
0
{"language": "c", "success": true, "metadata": {"lines": 52, "avg_line_length": 18.85, "nodes": 88, "errors": 0, "source_hash": "6c84f42793bb264f5623936b31f411377797193f79b3002aadf412ae099b3d9a", "categorized_nodes": 62}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
3,803
c
extern zend_class_entry *zendframework_barcode_object_exception_runtimeexception_ce; ZEPHIR_INIT_CLASS(ZendFramework_Barcode_Object_Exception_RuntimeException);
79.5
2
(translation_unit) "extern zend_class_entry *zendframework_barcode_object_exception_runtimeexception_ce;\n\nZEPHIR_INIT_CLASS(ZendFramework_Barcode_Object_Exception_RuntimeException);\n\n" (declaration) "extern zend_class_entry *zendframework_barcode_object_exception_runtimeexception_ce;" (storage_class_specifier...
17
0
{"language": "c", "success": true, "metadata": {"lines": 2, "avg_line_length": 79.5, "nodes": 11, "errors": 0, "source_hash": "d0c53f7e6f8351b295198de19942498a59c2f8c76cf04477d402dc2fda655e49", "categorized_nodes": 7}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "declaration", "text": "extern zend_c...
3,804
c
// // ListViewController.h // PullNewController // // Created by liyufeng on 2019/5/23. // Copyright © 2019 liyufeng. All rights reserved. // #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @interface ListViewController : UIViewController @end NS_ASSUME_NONNULL_END
21.5
12
(translation_unit) "//\n// ListViewController.h\n// PullNewController\n//\n// Created by liyufeng on 2019/5/23.\n// Copyright © 2019 liyufeng. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\nNS_ASSUME_NONNULL_BEGIN\n\n@interface ListViewController : UIViewController\n\n@end\n\nNS_ASSUME_NONNULL_END\n" (com...
27
4
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 21.5, "nodes": 14, "errors": 0, "source_hash": "be1c5d387b59ba1129c13bf09884011c365520fc570a054b13cc25449af17379", "categorized_nodes": 9}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <UIK...
3,805
c
// // UIImage+LEAdditions.h // LinKingEnSDK // // Created by leoan on 2020/8/10. // Copyright © 2020 <EMAIL>. All rights reserved. // #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @interface UIImage (LEAdditions) + (UIImage *)le_ImageNamed:(NSString *)name; + (UIImage *)le_ImageNamed:(NSString *)name withCls:(...
24.36
14
(translation_unit) "//\n// UIImage+LEAdditions.h\n// LinKingEnSDK\n//\n// Created by leoan on 2020/8/10.\n// Copyright © 2020 <EMAIL>. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\nNS_ASSUME_NONNULL_BEGIN\n\n@interface UIImage (LEAdditions)\n+ (UIImage *)le_ImageNamed:(NSString *)name;\n+ (UIImage *)le_Ima...
77
8
{"language": "c", "success": true, "metadata": {"lines": 14, "avg_line_length": 24.36, "nodes": 40, "errors": 0, "source_hash": "f579ab741485ec1d645eb8e98182e4b6ac80abe1d68a572522aaae9a6267c235", "categorized_nodes": 25}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <U...
3,806
c
// Copyright(c) 2016 <NAME> (<NAME>), <NAME> // MIT License. #pragma once #include <glm/glm.hpp> #include <memory> struct GLFWwindow; class _VulkanRenderer_Impl; class VulkanRenderer { public: VulkanRenderer(GLFWwindow* window); ~VulkanRenderer(); int getDebugViewIndex() const; void resize(int width, int hei...
29.04
25
(translation_unit) "// Copyright(c) 2016 <NAME> (<NAME>), <NAME>\n// MIT License.\n\n#pragma once\n\n#include <glm/glm.hpp>\n\n#include <memory>\n\nstruct GLFWwindow;\nclass _VulkanRenderer_Impl;\n\nclass VulkanRenderer\n{\npublic:\n VulkanRenderer(GLFWwindow* window);\n ~VulkanRenderer();\n\n int getDebugViewIndex() c...
214
13
{"language": "c", "success": true, "metadata": {"lines": 25, "avg_line_length": 29.04, "nodes": 127, "errors": 0, "source_hash": "032b4ad87aab95501fce94c7bdd945a4d11085234af844e0e4583b9e6cdec387", "categorized_nodes": 81}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma ...
3,807
c
/* * Load Analog Devices SigmaStudio firmware files * * Copyright 2009-2011 Analog Devices Inc. * * Licensed under the GPL-2 or later. */ #include <linux/export.h> #include <linux/i2c.h> #include <linux/module.h> #include <linux/slab.h> #include <asm/unaligned.h> #include "sigmadsp.h" static int sigmadsp_write...
26.58
78
(translation_unit) "/*\n * Load Analog Devices SigmaStudio firmware files\n *\n * Copyright 2009-2011 Analog Devices Inc.\n *\n * Licensed under the GPL-2 or later.\n */\n\n#include <linux/export.h>\n#include <linux/i2c.h>\n#include <linux/module.h>\n#include <linux/slab.h>\n#include <asm/unaligned.h>\n\n#include "sigm...
579
0
{"language": "c", "success": true, "metadata": {"lines": 78, "avg_line_length": 26.58, "nodes": 361, "errors": 0, "source_hash": "73b24d58b57e7033463c0a811147d5a3a365389038498f383d32c19506c82ef4", "categorized_nodes": 277}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
3,808
c
#include<stdio.h> int G[1005][1005]; int len[1005]; int vis[1005]; void dfs(int source,int dest) { int i; vis[source]=1; if(vis[dest]==1) return; for(i=0;i<len[source];i++) { if(vis[G[source][i]]==0) { dfs(G[source][i],dest); } } } int min(int x,int y) { if(x<y) return x; ...
14.08
78
(translation_unit) "#include<stdio.h> \n \nint G[1005][1005]; \nint len[1005]; \nint vis[1005]; \n \nvoid dfs(int source,int dest) \n{ \n int i; \n vis[source]=1; \n if(vis[dest]==1) \n return; \n for(i=0;i<len[source];i++) \n { \n if(vis[G[source][i]]==0) \n { \n dfs(G[source][i],dest); \n } \n } \n} \n \nint mi...
585
0
{"language": "c", "success": true, "metadata": {"lines": 78, "avg_line_length": 14.08, "nodes": 302, "errors": 0, "source_hash": "e20621cb9fd1d7c5fed05993b910c907cbca0d82fb7dea030782d38b6575371a", "categorized_nodes": 237}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
3,809
c
#define MAINGAME_H void playTetros(int difficulty, int* score, int gameMode);
38
2
(translation_unit) "#define MAINGAME_H\n\nvoid playTetros(int difficulty, int* score, int gameMode);" (preproc_def) "#define MAINGAME_H\n" (#define) "#define" (identifier) "MAINGAME_H" (declaration) "void playTetros(int difficulty, int* score, int gameMode);" (primitive_type) "void" (function_declar...
25
0
{"language": "c", "success": true, "metadata": {"lines": 2, "avg_line_length": 38.0, "nodes": 19, "errors": 0, "source_hash": "612f79df14bdffef23330a84123dac119ecb549160c20ee20437c52c458365d9", "categorized_nodes": 10}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_def", "text": "#define MAIN...
3,810
c
/** * \class TextArea * \brief This widget is a reimplementation of QTextEdit * to add support for the editingFinished() signal * as in QLineEdit. * \author <NAME> - GIOWISYS Software * \date 30/06/2012 */ #ifndef TEXTAREA_H #define TEXTAREA_H //-------------------------------------------...
28.5
32
(translation_unit) "/**\n * \class TextArea\n * \brief This widget is a reimplementation of QTextEdit\n * to add support for the editingFinished() signal\n * as in QLineEdit.\n * \author <NAME> - GIOWISYS Software\n * \date 30/06/2012\n */\n\n#ifndef TEXTAREA_H\n#define TEXTAREA_H\n\n\n//----------...
107
3
{"language": "c", "success": true, "metadata": {"lines": 32, "avg_line_length": 28.5, "nodes": 68, "errors": 0, "source_hash": "cd4fc9d94de25c54116d21a97854d728d695e8a646a323e86ef6a478a43b844f", "categorized_nodes": 41}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef T...
3,811
c
#include <assert.h> #include <pthread.h> #include "debug.h" #include "rwlock.h" #include <execinfo.h> void obtain_read_lock(struct rwlock* lock) { pthread_mutex_lock(&lock->lock); } void obtain_write_lock(struct rwlock* lock) { pthread_mutex_lock(&lock->lock); } void release_read_lock(struct rwlock* lock) {...
20.24
21
(translation_unit) "#include <assert.h>\n#include <pthread.h>\n\n#include "debug.h"\n#include "rwlock.h"\n#include <execinfo.h>\n\nvoid obtain_read_lock(struct rwlock* lock)\n{\n pthread_mutex_lock(&lock->lock);\n}\n\nvoid obtain_write_lock(struct rwlock* lock)\n{\n pthread_mutex_lock(&lock->lock);\n}\n\nvoid rel...
142
0
{"language": "c", "success": true, "metadata": {"lines": 21, "avg_line_length": 20.24, "nodes": 91, "errors": 0, "source_hash": "497a4b056ab5005962af470da8a16267b3c9f7debfb7722caf73a8754c25faf1", "categorized_nodes": 71}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
3,812
c
#pragma once #include <list> #include "IMGUI/imgui.h" #include "Observer.h" enum class InputEventTD { SELECT, STOP_BUILDING, CUR_TEST, RESET_CREEPS }; class TDController : public Observer { std::list<InputEventTD> _inputEventList; public: //enum class InputMode { PLAYING, BUILDING } mode; //mode = InputMode::PLAYI...
21.92
53
(translation_unit) "#pragma once\n#include <list>\n#include "IMGUI/imgui.h"\n#include "Observer.h"\n\nenum class InputEventTD { SELECT, STOP_BUILDING, CUR_TEST, RESET_CREEPS };\n\nclass TDController : public Observer\n{\n std::list<InputEventTD> _inputEventList;\n\npublic:\n //enum class InputMode { PLAYING, BUILDING }...
371
14
{"language": "c", "success": true, "metadata": {"lines": 53, "avg_line_length": 21.92, "nodes": 207, "errors": 0, "source_hash": "266d386a9150da27d79ae83551c54911e6aa5e5b90133e3d2c375da6a3550c9a", "categorized_nodes": 149}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
3,813
c
/* * q_csz.c CSZ. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version * 2 of the License, or (at your option) any later version. * * Authors: <NAME>, <<EMAIL>> * */ ...
22.19
42
(translation_unit) "/*\n * q_csz.c CSZ.\n *\n * This program is free software; you can redistribute it and/or\n * modify it under the terms of the GNU General Public License\n * as published by the Free Software Foundation; either version\n * 2 of the License, or (at your option) any later version.\n *\n * Authors...
190
0
{"language": "c", "success": true, "metadata": {"lines": 42, "avg_line_length": 22.19, "nodes": 135, "errors": 0, "source_hash": "80a37772b344104518c3fb4a3a1173196acc3b3afed32688f3a333686137288b", "categorized_nodes": 99}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
3,814
c
#pragma once #include <lila/utils/logger.h> #include <hydra/common.h> #include <hydra/blocks/utils/block_utils.h> #include <hydra/bitops/bitops.h> #include <hydra/indexing/electron/electron_indexing.h> #include <hydra/operators/bondlist.h> #include <hydra/operators/couplings.h> #include <hydra/operators/operator_...
32.03
30
(translation_unit) "#pragma once\n\n#include <lila/utils/logger.h>\n\n#include <hydra/common.h>\n\n#include <hydra/blocks/utils/block_utils.h>\n\n#include <hydra/bitops/bitops.h>\n\n#include <hydra/indexing/electron/electron_indexing.h>\n\n#include <hydra/operators/bondlist.h>\n#include <hydra/operators/couplings.h>\n#...
251
15
{"language": "c", "success": true, "metadata": {"lines": 30, "avg_line_length": 32.03, "nodes": 161, "errors": 0, "source_hash": "86f1fc770c56db58c4e073c09175459acbbdffcb77f9844213ff2fb82ad31aa4", "categorized_nodes": 121}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
3,815
c
#ifndef INC_AppMainJobs_H_ #define INC_AppMainJobs_H_ #include "stdbool.h" #include "Encoders_Module.h" extern void HM10BLE_Init(); extern void LF_App_MainConfig(void); extern void LF_App_MainTask(void); #define CountStatesWhenLineBy4SenDetToEndLapMark 25 typedef struct { float X[MaxProbeNumber]; float Y[MaxProb...
18.75
61
(translation_unit) "#ifndef INC_AppMainJobs_H_\n#define INC_AppMainJobs_H_\n\n#include "stdbool.h"\n#include "Encoders_Module.h"\n\nextern void HM10BLE_Init();\nextern void LF_App_MainConfig(void);\nextern void LF_App_MainTask(void);\n\n\n#define CountStatesWhenLineBy4SenDetToEndLapMark 25\n\ntypedef struct\n{\n float ...
240
0
{"language": "c", "success": true, "metadata": {"lines": 61, "avg_line_length": 18.75, "nodes": 165, "errors": 0, "source_hash": "28bb0eac209b67831545cb2fda551179b5aab3cf945157a66813e015f5bc22e6", "categorized_nodes": 126}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
3,816
c
/* * This file is part of the coreboot project. * * Copyright (C) 2016-2017 Intel Corporation * * 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; version 2 of the License. * * This progra...
32.07
28
(translation_unit) "/*\n * This file is part of the coreboot project.\n *\n * Copyright (C) 2016-2017 Intel Corporation\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; version 2 of the...
43
0
{"language": "c", "success": true, "metadata": {"lines": 28, "avg_line_length": 32.07, "nodes": 30, "errors": 0, "source_hash": "fc074be4e4eeffac2c93841499ac75b625bd28c01e25b1a8d9210dcdd5a9398f", "categorized_nodes": 15}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
3,817
c
int MoveColumn( const char *outputName, const char *inputName, size_t colNr);
19.75
4
(translation_unit) "int MoveColumn(\n const char *outputName, \n const char *inputName, \n size_t colNr);\n" (declaration) "int MoveColumn(\n const char *outputName, \n const char *inputName, \n size_t colNr);" (primitive_type) "int" (function_declarator) "MoveColumn(\n const char *outputName, \n const char *...
28
0
{"language": "c", "success": true, "metadata": {"lines": 4, "avg_line_length": 19.75, "nodes": 18, "errors": 0, "source_hash": "a7c2be76fbbaff8f02db305bad4de375a95c5f81d1fe25192d8f2331c8cf4fa8", "categorized_nodes": 9}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "declaration", "text": "int MoveColu...
3,818
c
/* * rinks -- tournament planner for curling * (c) 2014 <NAME> (see also: LICENSE) * */ #include <glib/gprintf.h> #include <stdlib.h> #include "ui-dialog-results.h" #include "ui.h" #include "tournament.h" #include "encounters.h" #include "teams.h" #include "application.h" GtkWidget *ui_dialog_results = NULL; Ui...
39.34
190
(translation_unit) "/*\n * rinks -- tournament planner for curling\n * (c) 2014 <NAME> (see also: LICENSE)\n *\n */\n#include <glib/gprintf.h>\n#include <stdlib.h>\n\n#include "ui-dialog-results.h"\n#include "ui.h"\n\n#include "tournament.h"\n#include "encounters.h"\n#include "teams.h"\n#include "application.h"\n\nGtkW...
2,135
0
{"language": "c", "success": true, "metadata": {"lines": 190, "avg_line_length": 39.34, "nodes": 1276, "errors": 0, "source_hash": "a1f882bb37c3817b2b864b549b8a6263516a9860a554d9f1dd09dc5378e6dbb1", "categorized_nodes": 930}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#i...
3,819
c
// Author & Copyright : <NAME> // Created: 2010-01-15 // License: LGPL version 2.1 or (at your option) // Creative Commons Attribution-ShareAlike 3.0 // Adapter for library functions. #ifndef LMP_H_ #define LMP_H_ #include <stdlib.h> #ifndef __GMP_H__ #include "mpir.h" #endif typedef mpz_t Xint; typedef long int s...
27.33
73
(translation_unit) "// Author & Copyright : <NAME>\n// Created: 2010-01-15\n// License: LGPL version 2.1 or (at your option)\n// Creative Commons Attribution-ShareAlike 3.0\n\n// Adapter for library functions.\n\n#ifndef LMP_H_\n#define LMP_H_\n\n#include <stdlib.h>\n\n#ifndef __GMP_H__\n#include "mpir.h"\n#endif\n\nty...
621
2
{"language": "c", "success": true, "metadata": {"lines": 73, "avg_line_length": 27.33, "nodes": 358, "errors": 0, "source_hash": "b637ec6c116078868c1a6edf2e2b9402ac4444be5b3bae8fc3dd31eac8e1f499", "categorized_nodes": 280}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
3,820
c
#include <sys/types.h> #include <stdarg.h> #include "z_syscalls.h" static int lastfd = -1; #define OUTBUFSIZE 128 static char outbuf[OUTBUFSIZE]; static char *outptr; static void kprintn(int, unsigned long, int); static void kdoprnt(int, const char *, va_list); static void z_flushbuf(void); static void putcharfd(in...
18.1
154
(translation_unit) "#include <sys/types.h>\n#include <stdarg.h>\n\n#include "z_syscalls.h"\n\nstatic int lastfd = -1;\n#define OUTBUFSIZE 128\nstatic char outbuf[OUTBUFSIZE];\nstatic char *outptr;\n\nstatic void kprintn(int, unsigned long, int);\nstatic void kdoprnt(int, const char *, va_list);\nstatic void z_flushbuf(...
1,362
9
{"language": "c", "success": true, "metadata": {"lines": 154, "avg_line_length": 18.1, "nodes": 844, "errors": 0, "source_hash": "c77a6a6075093c41afc2288b140695f4a0e8be869eef9bca0b42210e2d2c2cf4", "categorized_nodes": 541}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
3,821
c
#include "litha_internal.h" #include <vector> class IEngine; class Task; class Kernel : public IReferenceCounted { IEngine *engine; IrrlichtDevice *device; std::vector<Task *> tasks; bool readyToExit; u32 screenWidth, screenHeight; public: Kernel(); ~Kernel(); // only add a task once, this does n...
17.48
25
(translation_unit) "#include "litha_internal.h"\n#include <vector>\n\nclass IEngine;\nclass Task;\n\nclass Kernel : public IReferenceCounted\n{\n IEngine *engine;\n IrrlichtDevice *device;\n \n std::vector<Task *> tasks;\n \n bool readyToExit;\n\n u32 screenWidth, screenHeight;\n \npublic:\n Kernel();\n ~Kernel();\n...
118
3
{"language": "c", "success": true, "metadata": {"lines": 25, "avg_line_length": 17.48, "nodes": 71, "errors": 0, "source_hash": "2d72cbf4dd6401216c56d02965ef8add63530c176f4801f8c325119587d0a38b", "categorized_nodes": 48}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
3,822
c
/*swap two numbers without using third variable */ #include <stdio.h> int main(){ //variables int x, y; //input printf("Enter value of x and y: "); scanf("%d%d", &x, &y); //swap x = x + y; y = x - y; x = x - y; //output printf("x = %d y = %d\n", x, y); return 0; }
13.15
20
(translation_unit) "/*swap two numbers without using third variable\n*/\n\n#include <stdio.h>\n\nint main(){\n //variables\n int x, y;\n \n //input\n printf("Enter value of x and y: ");\n scanf("%d%d", &x, &y);\n \n //swap\n x = x + y;\n y = x - y;\n x = x - y;\n \n //output\n printf("x = %d y = %d\n", x, y);\n return ...
102
0
{"language": "c", "success": true, "metadata": {"lines": 20, "avg_line_length": 13.15, "nodes": 54, "errors": 0, "source_hash": "6855ec37ba3fcf8a44dbf5ef5e5c817ae69a2abd61fb31058735de3d4902c4b4", "categorized_nodes": 41}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
3,823
c
#include <stdio.h> /* count blanks, tabs, and newlines in input; */ int main() { int c, nl, nb, nt; nl = 0; nb = 0; nt = 0; while((c = getchar()) != EOF) { if (c == '\n') ++nl; else if (c == ' ') ++nb; else if (c == '\t') ++nt; } ...
20.78
18
(translation_unit) "#include <stdio.h>\n\n/* count blanks, tabs, and newlines in input; */\nint main() {\n int c, nl, nb, nt;\n nl = 0;\n nb = 0;\n nt = 0;\n while((c = getchar()) != EOF) {\n if (c == '\n')\n ++nl;\n else if (c == ' ')\n ++nb;\n else if (c == '\...
142
0
{"language": "c", "success": true, "metadata": {"lines": 18, "avg_line_length": 20.78, "nodes": 86, "errors": 0, "source_hash": "81f2b0afb16183d004541f16a6bb5864345855f91a19a90a74a113b0218807d5", "categorized_nodes": 58}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
3,824
c
/* example of parallelism without libraries / fbg builtin parallelism sometimes fbg parallelism may be uneeded; this is the case when you don't want to mix stuff and just want to push some pixels! this example split the screen vertically in 4 parts handled by one thread each, it set pixels color / par...
35.16
101
(translation_unit) "/*\n example of parallelism without libraries / fbg builtin parallelism\n\n sometimes fbg parallelism may be uneeded; this is the case when you don't want to mix stuff and just want to push some pixels!\n \n this example split the screen vertically in 4 parts handled by one thread each, ...
926
0
{"language": "c", "success": true, "metadata": {"lines": 101, "avg_line_length": 35.16, "nodes": 596, "errors": 0, "source_hash": "08afc105027dcd749744031be061cbc206383318657d437016a3959c9e80e3f2", "categorized_nodes": 410}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
3,825
c
/* Handle faults in the signal thread. Copyright (C) 1994-2020 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Fo...
34.38
208
(translation_unit) "/* Handle faults in the signal thread.\n Copyright (C) 1994-2020 Free Software Foundation, Inc.\n This file is part of the GNU C Library.\n\n The GNU C Library is free software; you can redistribute it and/or\n modify it under the terms of the GNU Lesser General Public\n License as publish...
1,066
5
{"language": "c", "success": true, "metadata": {"lines": 208, "avg_line_length": 34.38, "nodes": 659, "errors": 0, "source_hash": "9438c5356787b8cc942adb54a19ccacf83544c79d45292cc9f72f64aceac787e", "categorized_nodes": 529}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
3,826
c
/* * Copyright (c) 2016-2021 <NAME> <jeremy-at-dust3d dot org>. All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without li...
30.59
166
(translation_unit) "/* \n * Copyright (c) 2016-2021 <NAME> <jeremy-at-dust3d dot org>. All rights reserved. \n * \n * Permission is hereby granted, free of charge, to any person obtaining a copy \n * of this software and associated documentation files (the "Software"), to deal \n * in the Software without restrict...
1,587
91
{"language": "c", "success": true, "metadata": {"lines": 166, "avg_line_length": 30.59, "nodes": 951, "errors": 0, "source_hash": "e74ac80548e33e50197591f060c5b0036eeb58784280839398fe07d8be1a51cf", "categorized_nodes": 636}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
3,827
c
#include <SPI.h> #include <MFRC522.h> const byte Kivi[] = {0xF2, 0xE1, 0x2D, 0x83}; const byte Asia[] = {0xA9, 0x8B, 0x48, 0x59}; const byte Mama[] = {0x43, 0x7B, 0xB5, 0x63}; const byte Tata[] = {0x43, 0x65, 0xB4, 0x63}; const byte Skrytka[] = {0xCC, 0xFA, 0xB4, 0x63}; const byte Karta[] = {0x97, 0x5F, 0x6D, 0x11}; ...
32.3
47
(translation_unit) "#include <SPI.h>\n#include <MFRC522.h>\n\nconst byte Kivi[] = {0xF2, 0xE1, 0x2D, 0x83};\nconst byte Asia[] = {0xA9, 0x8B, 0x48, 0x59};\nconst byte Mama[] = {0x43, 0x7B, 0xB5, 0x63};\nconst byte Tata[] = {0x43, 0x65, 0xB4, 0x63};\nconst byte Skrytka[] = {0xCC, 0xFA, 0xB4, 0x63};\n\nconst byte Karta[]...
748
2
{"language": "c", "success": true, "metadata": {"lines": 47, "avg_line_length": 32.3, "nodes": 465, "errors": 0, "source_hash": "bf08b4b3ccb40f5b96d18acc7617b251a07b7008acfe561da52814e641462bf9", "categorized_nodes": 385}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
3,828
c
#pragma once #include "HoleCards.h" #include "Stack.h" #include <memory> namespace game52{ class Pot; class Board; class HandHistory; class DecisionEngine; class Dealer; enum class Position{ UTG, UTGp1, UTGp2, Lojack, Hijack, Cutoff, Button, SmallBlind, BigBlind, }; enum class ...
25.88
57
(translation_unit) "#pragma once\n\n#include "HoleCards.h"\n#include "Stack.h"\n\n#include <memory>\n\nnamespace game52{\n\nclass Pot;\nclass Board;\nclass HandHistory;\nclass DecisionEngine;\nclass Dealer;\n\nenum class Position{\n UTG,\n UTGp1,\n UTGp2,\n Lojack,\n Hijack,\n Cutoff,\n Button,\n ...
450
26
{"language": "c", "success": true, "metadata": {"lines": 57, "avg_line_length": 25.88, "nodes": 258, "errors": 0, "source_hash": "cfe75fe95f9f4505a9ebfdf24bef5ac159e359b423fa073b683fbd4ae4aedf74", "categorized_nodes": 195}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
3,829
c
/* Generated by RuntimeBrowser Image: /System/Library/PrivateFrameworks/AudioServerApplication.framework/AudioServerApplication */ @interface ASASelectorControl : ASAControl @property (nonatomic, readonly, copy) NSArray *availableItems; @property (nonatomic) unsigned int currentItem; - (id)availableItems; - (id)...
39
13
(translation_unit) "/* Generated by RuntimeBrowser\n Image: /System/Library/PrivateFrameworks/AudioServerApplication.framework/AudioServerApplication\n */\n\n@interface ASASelectorControl : ASAControl\n\n@property (nonatomic, readonly, copy) NSArray *availableItems;\n@property (nonatomic) unsigned int currentItem;\n\...
139
14
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 39.0, "nodes": 88, "errors": 0, "source_hash": "0efed7392a22341dab1c4baf4a6b808e6b108976c330b908587d69c14b507587", "categorized_nodes": 52}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "@interface ASASel...
3,830
c
#ifndef _TWR_SHT30_H #define _TWR_SHT30_H #include <twr_i2c.h> #include <twr_scheduler.h> //! @addtogroup twr_sht30 twr_sht30 //! @brief Driver for SHT30 humidity sensor //! @{ #define TWR_SHT30_ADDRESS_DEFAULT 0x44 #define TWR_SHT30_ADDRESS_ALTERNATE 0x45 //! @brief Callback events typedef enum { //! @brief E...
37.68
106
(translation_unit) "#ifndef _TWR_SHT30_H\n#define _TWR_SHT30_H\n\n#include <twr_i2c.h>\n#include <twr_scheduler.h>\n\n//! @addtogroup twr_sht30 twr_sht30\n//! @brief Driver for SHT30 humidity sensor\n//! @{\n\n#define TWR_SHT30_ADDRESS_DEFAULT 0x44\n#define TWR_SHT30_ADDRESS_ALTERNATE 0x45\n\n//! @brief Callback events...
446
0
{"language": "c", "success": true, "metadata": {"lines": 106, "avg_line_length": 37.68, "nodes": 301, "errors": 0, "source_hash": "4ba16cd7e1756d71aeeb18b6cceb212be79e0570cfb2f81488fa174ea2b620a5", "categorized_nodes": 188}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
3,831
c
// // SBHPopoverContentView.h // StoryboardHelper // // Created by hirai.yuki on 2014/02/25. // Copyright (c) 2014年 hirai.yuki. All rights reserved. // // This plug-in was created in reference to Lin-Xcode5. // // Lin-Xcode5 is: // // Created by <NAME> on 2013/08/21. // Copyright (c) 2013年 <NAME>. All rights re...
35.52
25
(translation_unit) "//\n// SBHPopoverContentView.h\n// StoryboardHelper\n//\n// Created by hirai.yuki on 2014/02/25.\n// Copyright (c) 2014年 hirai.yuki. All rights reserved.\n//\n// This plug-in was created in reference to Lin-Xcode5.\n//\n// Lin-Xcode5 is:\n//\n// Created by <NAME> on 2013/08/21.\n// Copyright...
171
20
{"language": "c", "success": true, "metadata": {"lines": 25, "avg_line_length": 35.52, "nodes": 108, "errors": 0, "source_hash": "e3485d495e1733de97add4939039066bbe7d6f993f4f5b44412f271ff7a735ea", "categorized_nodes": 63}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "ort <Coc...
3,832
c
#ifndef CFG_H #define CFG_H #include "cat_typing.h" #include <vector> namespace ngpl::optimizer { PTRS_FOR_CLASS(CFG) class CFG { std::vector<CFGPtr> _children; public: CFG(); const std::vector<CFGWeakPtr>& parent(); const std::vector<CFGPtr>& children(); void removeChild(size_t index) { } }; } #endif ...
16.67
18
(translation_unit) "#ifndef CFG_H\n#define CFG_H\n\n#include "cat_typing.h"\n\n#include <vector>\n\nnamespace ngpl::optimizer {\n\nPTRS_FOR_CLASS(CFG)\nclass CFG\n{\n\n std::vector<CFGPtr> _children;\npublic:\n CFG();\n\n const std::vector<CFGWeakPtr>& parent();\n const std::vector<CFGPtr>& children();\n\n void removeC...
116
5
{"language": "c", "success": true, "metadata": {"lines": 18, "avg_line_length": 16.67, "nodes": 66, "errors": 0, "source_hash": "8a82e4a93afe16761d3f3a89d52df89fcd12464cb87922a93a6d0e46c2efe612", "categorized_nodes": 45}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
3,833
c
#ifndef QUSER_H #define QUSER_H #include <QObject> class QUser : public QObject { Q_OBJECT public: Q_PROPERTY(bool signedIn READ getSignedIn WRITE setSignedIn NOTIFY signedInChanged) Q_PROPERTY(bool anonymous READ isAnonymous WRITE setAnonymous NOTIFY anonymousChanged) Q_PROPERTY(QString email READ ge...
32.1
49
(translation_unit) "#ifndef QUSER_H\n#define QUSER_H\n\n#include <QObject>\n\nclass QUser : public QObject\n{\n Q_OBJECT\npublic:\n Q_PROPERTY(bool signedIn READ getSignedIn WRITE setSignedIn NOTIFY signedInChanged)\n Q_PROPERTY(bool anonymous READ isAnonymous WRITE setAnonymous NOTIFY anonymousChanged)\n Q...
364
16
{"language": "c", "success": true, "metadata": {"lines": 49, "avg_line_length": 32.1, "nodes": 234, "errors": 0, "source_hash": "79b39325f3f9ddafa2de0fcd5c41b56f7ffdd5915b3e7829899a417385b25e80", "categorized_nodes": 164}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
3,834
c
#include <stdint.h> int spi_init(char *spidev_name, unsigned bits_per_sec); void spi_close(void); int spi_set_mode(int mode); int spi_transfer(uint8_t buf); int spi_bulk_rw(uint8_t *buf, unsigned len);
32.67
6
(translation_unit) "#include <stdint.h>\n\nint spi_init(char *spidev_name, unsigned bits_per_sec);\nvoid spi_close(void);\nint spi_set_mode(int mode);\n\nint spi_transfer(uint8_t buf);\nint spi_bulk_rw(uint8_t *buf, unsigned len);\n" (preproc_include) "#include <stdint.h>\n" (#include) "#include" (system_lib_...
72
0
{"language": "c", "success": true, "metadata": {"lines": 6, "avg_line_length": 32.67, "nodes": 54, "errors": 0, "source_hash": "a1990ef32271a265fd798697bd36b0e9273ad383403b96a7d6aef32521f56d9e", "categorized_nodes": 33}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#includ...
3,835
c
/* SPDX-License-Identifier: BSD-2-Clause * Created: Sun Apr 24 2022 13:58:09 */ #include <limine.h> #include <stddef.h> #include <sys/cdefs.h> #include <sys/debug.h> #include <sys/initcall.h> #include <sys/mm/pm.h> #include <sys/kp.h> static void kmain(void) __noreturn; static volatile struct limine_entry_...
29.28
50
(translation_unit) "/* SPDX-License-Identifier: BSD-2-Clause \n * Created: Sun Apr 24 2022 13:58:09 */ \n#include <limine.h> \n#include <stddef.h> \n#include <sys/cdefs.h> \n#include <sys/debug.h> \n#include <sys/initcall.h> \n#include <sys/mm/pm.h> \n#include <sys/kp.h> \n \nstatic void kmain(void) __noreturn; \nstati...
420
3
{"language": "c", "success": true, "metadata": {"lines": 50, "avg_line_length": 29.28, "nodes": 235, "errors": 0, "source_hash": "caa4724caa97c875ea9450004a706f160ae46e94f98b755bf2909e914393eea1", "categorized_nodes": 162}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
3,836
c
// // SecondViewController.h // RangeSliderDemo // // Created by Face on 2020/5/19. // Copyright © 2020 tomthorpe. All rights reserved. // #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @interface SecondViewController : UIViewController @end NS_ASSUME_NONNULL_END
21.42
12
(translation_unit) "//\n// SecondViewController.h\n// RangeSliderDemo\n//\n// Created by Face on 2020/5/19.\n// Copyright © 2020 tomthorpe. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\nNS_ASSUME_NONNULL_BEGIN\n\n@interface SecondViewController : UIViewController\n\n@end\n\nNS_ASSUME_NONNULL_END\n" (comm...
27
4
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 21.42, "nodes": 14, "errors": 0, "source_hash": "105e79c1af3590655073a81a3986ff516cad27d5380f47536fecebef2fd88c87", "categorized_nodes": 9}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <UI...
3,837
c
#ifndef ARCHIVO_H #define ARCHIVO_H #include "Usuario.h" #include "Post.h" #include "Comentario.h" #include<iostream> #include<vector> using std::vector; #include <string> using std::string; #include <fstream> using std::ofstream; using std::ifstream; class Archivo { public: Archivo(string); bool guardarUsuarios(v...
18.2
30
(translation_unit) "#ifndef ARCHIVO_H\n#define ARCHIVO_H\n#include "Usuario.h"\n#include "Post.h"\n#include "Comentario.h"\n#include<iostream>\n#include<vector>\nusing std::vector;\n#include <string>\nusing std::string;\n#include <fstream>\nusing std::ofstream;\nusing std::ifstream;\nclass Archivo\n{\n public:\n Archi...
171
7
{"language": "c", "success": true, "metadata": {"lines": 30, "avg_line_length": 18.2, "nodes": 112, "errors": 0, "source_hash": "5d8610be82d9db36bb21f49cadf022a4e7d46f2399aa617c90242a9415c33aea", "categorized_nodes": 82}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
3,838
c
// // DemoViewController.h // Form Accessory View Demo // // Created by <NAME> on 10.11.12. // Copyright (c) 2012 <NAME>. All rights reserved. // @interface DemoViewController : UITableViewController @property (nonatomic, strong) IBOutletCollection(UIView) NSArray *textInputs; @end
27.7
10
(translation_unit) "//\n// DemoViewController.h\n// Form Accessory View Demo\n//\n// Created by <NAME> on 10.11.12.\n// Copyright (c) 2012 <NAME>. All rights reserved.\n//\n\n@interface DemoViewController : UITableViewController\n\n@property (nonatomic, strong) IBOutletCollection(UIView) NSArray *textInputs;\n\n@en...
41
6
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 27.7, "nodes": 25, "errors": 0, "source_hash": "cee468cab47f44b5886b14e6b16af0d800f1802ac648e17ba066be35c03b0820", "categorized_nodes": 15}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "@interface DemoVi...
3,839
c
#include <unico.h> #include <stddef.h> int upcase_unicos (size_t index, size_t size, unicos *uniout){ int status = upcase_unicos_manually(index, size, uniout); if (status){ size_t si = size_unicos(uniout); int status = extend_unicos(si * 2, uniout); if (status) return status; return upcase_unicos(i...
28.83
12
(translation_unit) "#include <unico.h>\n#include <stddef.h>\n\nint upcase_unicos (size_t index, size_t size, unicos *uniout){\n int status = upcase_unicos_manually(index, size, uniout);\n if (status){\n size_t si = size_unicos(uniout);\n int status = extend_unicos(si * 2, uniout);\n if (status) return status...
111
0
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 28.83, "nodes": 72, "errors": 0, "source_hash": "bb346fe51100389b950f204533d9ee27428566ac7e441b2ff49ae1c82033a12a", "categorized_nodes": 52}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
3,840
c
// // CJBAdvancedUIImageViewController.h // CJBAdvancedUIImage // // Created by <EMAIL> on 10/26/2017. // Copyright (c) 2017 <EMAIL>. All rights reserved. // @import UIKit; @interface CJBAdvancedUIImageViewController : UIViewController @end
23.5
10
(translation_unit) "//\n// CJBAdvancedUIImageViewController.h\n// CJBAdvancedUIImage\n//\n// Created by <EMAIL> on 10/26/2017.\n// Copyright (c) 2017 <EMAIL>. All rights reserved.\n//\n\n@import UIKit;\n\n@interface CJBAdvancedUIImageViewController : UIViewController\n\n@end\n" (comment) "//" (comment) "// CJB...
22
5
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 23.5, "nodes": 10, "errors": 0, "source_hash": "b8d90d2998704b9e791855b5373e3a617937bf89e83bc1a7b0dc82d3fd65229c", "categorized_nodes": 5}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "@", "parent": null...
3,841
c
// // AppDelegate.h // SMCycleView // // Created by Magic on 23/2/2016. // Copyright © 2016 Magic. All rights reserved. // #import <UIKit/UIKit.h> @interface AppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWindow *window; @end
21.17
12
(translation_unit) "//\n// AppDelegate.h\n// SMCycleView\n//\n// Created by Magic on 23/2/2016.\n// Copyright © 2016 Magic. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface AppDelegate : UIResponder <UIApplicationDelegate>\n\n@property (strong, nonatomic) UIWindow *window;\n\n\n@end\n\n" (comment...
39
6
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 21.17, "nodes": 25, "errors": 0, "source_hash": "7030a97eae20d2fc84d7204b579b2c4a388e90fbd11bc730a238448d4451752c", "categorized_nodes": 13}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <U...
3,842
c
// Copyright 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_UI_WEBUI_EXTENSIONS_EXTENSION_ERROR_HANDLER_H_ #define CHROME_BROWSER_UI_WEBUI_EXTENSIONS_EXTENSION_ERROR_HANDLER_H_ #include <str...
43.86
59
(translation_unit) "// Copyright 2013 The Chromium Authors. All rights reserved.\n// Use of this source code is governed by a BSD-style license that can be\n// found in the LICENSE file.\n\n#ifndef CHROME_BROWSER_UI_WEBUI_EXTENSIONS_EXTENSION_ERROR_HANDLER_H_\n#define CHROME_BROWSER_UI_WEBUI_EXTENSIONS_EXTENSION_ERROR_...
338
16
{"language": "c", "success": true, "metadata": {"lines": 59, "avg_line_length": 43.86, "nodes": 187, "errors": 0, "source_hash": "f8b69970bd6ecef31cced0a697fa2b186cb2627733725b1d2e4aba4fcfa26316", "categorized_nodes": 134}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
3,843
c
/** * This header is generated by class-dump-z 0.2a. * class-dump-z is Copyright (C) 2009 by KennyTM~, licensed under GPLv3. * * Source: (null) */ #import "MMObject.h" @class NSArray, MMDelegateProxy, MultiTalkSessionItem; @protocol MultiTalkSessionDetailLogicControllerDelegate; @interface MultiTalkSessionDetai...
35.79
29
(translation_unit) "/**\n * This header is generated by class-dump-z 0.2a.\n * class-dump-z is Copyright (C) 2009 by KennyTM~, licensed under GPLv3.\n *\n * Source: (null)\n */\n\n#import "MMObject.h"\n\n@class NSArray, MMDelegateProxy, MultiTalkSessionItem;\n@protocol MultiTalkSessionDetailLogicControllerDelegate;\n\n...
240
19
{"language": "c", "success": true, "metadata": {"lines": 29, "avg_line_length": 35.79, "nodes": 157, "errors": 0, "source_hash": "a9aa9f242335fdea926feb9859f0da1be3c95ac6150e1888b30a1d5db599ce05", "categorized_nodes": 91}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import ...
3,844
c
// // ViewController.h // SonyHeadphonesClient // // Created by <NAME> on 01/12/2020. // #import <Cocoa/Cocoa.h> #import "AppDelegate.h" BluetoothWrapper bt = (BluetoothWrapper)nil; NSStatusItem* statusItem; @interface ViewController : NSViewController @property (weak, nonatomic) IBOutlet NSTextField *connectedLa...
32.71
17
(translation_unit) "//\n// ViewController.h\n// SonyHeadphonesClient\n//\n// Created by <NAME> on 01/12/2020.\n//\n\n#import <Cocoa/Cocoa.h>\n#import "AppDelegate.h"\n\nBluetoothWrapper bt = (BluetoothWrapper)nil;\nNSStatusItem* statusItem;\n\n@interface ViewController : NSViewController\n@property (weak, nonatomic)...
142
19
{"language": "c", "success": true, "metadata": {"lines": 17, "avg_line_length": 32.71, "nodes": 105, "errors": 0, "source_hash": "0bb2856c905d028f12f762d9c3aae318a9dcc3076ce9bf5be826f76aab9d5d10", "categorized_nodes": 58}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import ...
3,845
c
// // Protocol.h // TOPIOSSdk // // isv模块业务协议定义 // // Created by fangweng on 12-11-20. // // #import <Foundation/Foundation.h> #import "JDY_ItemManagement.h" #import "JDY_TradeManagement.h" #import "JDY_PlugInEntry.h" #import "JDY_WangWangCommunication.h" #import "JDY_MsgCenterManagement.h" #import "JDY_ProtocolCo...
19.5
18
(translation_unit) "//\n// Protocol.h\n// TOPIOSSdk\n//\n// isv模块业务协议定义\n//\n// Created by fangweng on 12-11-20.\n//\n//\n\n#import <Foundation/Foundation.h>\n#import "JDY_ItemManagement.h"\n#import "JDY_TradeManagement.h"\n#import "JDY_PlugInEntry.h"\n#import "JDY_WangWangCommunication.h"\n#import "JDY_MsgCenterMa...
40
3
{"language": "c", "success": true, "metadata": {"lines": 18, "avg_line_length": 19.5, "nodes": 30, "errors": 0, "source_hash": "cdd4e0814b8039e0513a7dfe54b3504704bffc48a034b33576a06fe9686070c4", "categorized_nodes": 11}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "ion/Founda...
3,846
c
/* * Copyright (C) 2015 University of Oregon * * You may distribute under the terms of either the GNU General Public * License or the Apache License, as specified in the LICENSE file. * * For more information, see the LICENSE file. */ /* */ #ifndef upLink_h #define upLink_h /* ------------- Make C header fil...
26.64
36
(translation_unit) "/*\n * Copyright (C) 2015 University of Oregon\n *\n * You may distribute under the terms of either the GNU General Public\n * License or the Apache License, as specified in the LICENSE file.\n *\n * For more information, see the LICENSE file.\n */\n/*\n */\n\n#ifndef upLink_h\n#define upLink_h\n\n...
123
0
{"language": "c", "success": true, "metadata": {"lines": 36, "avg_line_length": 26.64, "nodes": 89, "errors": 0, "source_hash": "c8c2d7c98691bebaba55558c72f1c4c0dd8c0504c92c4b4d0137fce66a9690c9", "categorized_nodes": 63}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
3,847
c
#ifndef SEANTABLEVIEWDELEGATE_H #define SEANTABLEVIEWDELEGATE_H #include <QStyledItemDelegate> #include <QTableView> #include <QPen> #include <QSize> class SeanTableViewDelegate : public QStyledItemDelegate { Q_OBJECT public: SeanTableViewDelegate(QTableView* tableView); ~SeanTableViewDelegate(); p...
22.33
27
(translation_unit) "#ifndef SEANTABLEVIEWDELEGATE_H \n#define SEANTABLEVIEWDELEGATE_H \n \n#include <QStyledItemDelegate> \n#include <QTableView> \n#include <QPen> \n#include <QSize> \n \nclass SeanTableViewDelegate : public QStyledItemDelegate \n{ \n Q_OBJECT \n \npublic: \n SeanTableViewDelegate(QTableView* tableView...
111
5
{"language": "c", "success": true, "metadata": {"lines": 27, "avg_line_length": 22.33, "nodes": 66, "errors": 0, "source_hash": "a1dcdd05051adfb2ec825909de4680bdf8bd79bda1ead4fad329cb5accbad499", "categorized_nodes": 47}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
3,848
c
// // Mat+Converters.h // // Created by <NAME> on 2020/10/08. // #pragma once #ifdef __cplusplus #import "opencv2/core.hpp" #else #define CV_EXPORTS #endif #import "Mat.h" #import <Foundation/Foundation.h> #import <AppKit/AppKit.h> NS_ASSUME_NONNULL_BEGIN CV_EXPORTS @interface Mat (Converters...
20.28
32
(translation_unit) "// \n// Mat+Converters.h \n// \n// Created by <NAME> on 2020/10/08. \n// \n \n#pragma once \n \n#ifdef __cplusplus \n#import "opencv2/core.hpp" \n#else \n#define CV_EXPORTS \n#endif \n \n#import "Mat.h" \n#import <Foundation/Foundation.h> \n#import <AppKit/AppKit.h> \n \nNS_ASSUME_NONNULL_BEGIN \n...
154
14
{"language": "c", "success": true, "metadata": {"lines": 32, "avg_line_length": 20.28, "nodes": 103, "errors": 0, "source_hash": "02684baa4f8362a798be8e390be1abc71477b1efb609e51393d75fc18f468e3a", "categorized_nodes": 60}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma ...
3,849
c
/* * prom configuration */ #include "bootloader.h" #define CPUFREQ_KHZ BOOTLOADER_FREQ_KHZ //#define CPUFREQ_KHZ 50000 /* if defined, jump immediately to this address after init */ #ifndef JUMP_TO #define JUMP_TO BOOTLOADER_physbase /*0x40000000*/ #endif /* ram configuration */ //16384 //8192 //16384 //4096 #de...
21.95
64
(translation_unit) "/*\n * prom configuration\n */\n\n#include "bootloader.h"\n\n#define CPUFREQ_KHZ BOOTLOADER_FREQ_KHZ\n//#define CPUFREQ_KHZ 50000\n\n/* if defined, jump immediately to this address after init */\n\n#ifndef JUMP_TO\n#define JUMP_TO BOOTLOADER_physbase /*0x40000000*/\n#endif\n\n/* ram configuration */...
221
0
{"language": "c", "success": true, "metadata": {"lines": 64, "avg_line_length": 21.95, "nodes": 206, "errors": 0, "source_hash": "63bb358c14afe1f8efa8a6ad14fa0d6a358596fce73d467a21e942b012b89048", "categorized_nodes": 57}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
3,850
c
/** Copyright 2020 Alibaba Group Holding Limited. 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 w...
31.97
278
(translation_unit) "/** Copyright 2020 Alibaba Group Holding Limited.\n\nLicensed under the Apache License, Version 2.0 (the "License");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by appl...
2,758
135
{"language": "c", "success": true, "metadata": {"lines": 278, "avg_line_length": 31.97, "nodes": 1565, "errors": 0, "source_hash": "a6d8f98689be8b907eec8e06bc6e15f3565ca9ef8158718d74991bdcfc36ba9c", "categorized_nodes": 1078}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#if...
3,851
c
#include <stdio.h> char * congratulateUser(const char *userName) { char buffer[80]; /* BAD: this could overflow the buffer if the UserName is long */ snprintf(buffer, 256, "Congratulations, %s!", userName); printf("%s\n", buffer); return (char*) buffer; } int main() {...
21.59
22
(translation_unit) "#include <stdio.h>\n\nchar * congratulateUser(const char *userName)\n{\n char buffer[80];\n /* BAD: this could overflow the buffer if the UserName is long */\n snprintf(buffer, 256, "Congratulations, %s!", userName);\n \n printf("%s\n", buffer);\n\n return (...
136
0
{"language": "c", "success": true, "metadata": {"lines": 22, "avg_line_length": 21.59, "nodes": 70, "errors": 0, "source_hash": "697263dc6cbe287c9743bfacd48c29406a7985e37611a8df6c4636d24f536ab4", "categorized_nodes": 43}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
3,852
c
#ifndef QUEUE_H #define QUEUE_H #include <sys/types.h> struct element { size_t id; }; void queue_init(void); void enqueue(struct element); struct element dequeue(void); #endif
15.18
11
(translation_unit) "#ifndef QUEUE_H\n#define QUEUE_H\n\n#include <sys/types.h>\n\nstruct element\n{\n size_t id;\n};\n\nvoid queue_init(void);\n\nvoid enqueue(struct element);\n\nstruct element dequeue(void);\n\n#endif\n" (preproc_ifdef) "#ifndef QUEUE_H\n#define QUEUE_H\n\n#include <sys/types.h>\n\nstruct element\n...
56
0
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 15.18, "nodes": 41, "errors": 0, "source_hash": "48bbe7a1aabbdbc84aba3c478d9fa5a7c3b36b4164b4765806f4a3df97e08b1c", "categorized_nodes": 31}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
3,853
c
//--------------------------------------------------------------------------- // Greenplum Database // Copyright (C) 2013 EMC Corp. // // @filename: // IMDRelationExternal.h // // @doc: // Interface for external relations in the metadata cache //------------------------------------------------------------------------...
22.5
109
(translation_unit) "//---------------------------------------------------------------------------\n// Greenplum Database\n// Copyright (C) 2013 EMC Corp.\n//\n// @filename:\n// IMDRelationExternal.h\n//\n// @doc:\n// Interface for external relations in the metadata cache\n//-------------------------------------------...
371
22
{"language": "c", "success": true, "metadata": {"lines": 109, "avg_line_length": 22.5, "nodes": 189, "errors": 0, "source_hash": "12590679ce1c5ff1a65645a08482db596fdbe203dbadee5005cf0aa1e15f9074", "categorized_nodes": 120}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
3,854
c
#ifndef __ENTITY_H__ #define __ENTITY_H__ #include "Module.h" #include "Defs.h" #include "Physics.h" #include "p2Point.h" class PhysBody; class Entity : public Module { public: Entity() { } ~Entity() {} void SetID(int id) { this->id = id; } int Id() const { return id; } bool isEnemy = false; ...
11.2
51
(translation_unit) "#ifndef __ENTITY_H__\n#define __ENTITY_H__\n\n#include "Module.h"\n#include "Defs.h"\n#include "Physics.h"\n#include "p2Point.h"\n\nclass PhysBody;\n\nclass Entity : public Module\n{\npublic:\n Entity() \n {\n \n }\n\n ~Entity()\n {}\n\n void SetID(int id)\n {\n this->id = id;\n }\n\n int Id() con...
208
6
{"language": "c", "success": true, "metadata": {"lines": 51, "avg_line_length": 11.2, "nodes": 121, "errors": 0, "source_hash": "4213875556f30c094ad06e3a6bf06515a4e00543aa0d5271c32660f3a63b3923", "categorized_nodes": 81}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
3,855
c
// // circular_list.c // appFirewall // // Copyright © 2019 <NAME>. All rights reserved. // #include "circular_list.h" int list_cmp(char* (*hash)(const void* item),const void* item1, const void* item2) { // default method for comparing list entries, using hash char * temp1 = hash(item1); char * temp2 = hash(ite...
29.18
284
(translation_unit) "//\n// circular_list.c\n// appFirewall\n//\n// Copyright © 2019 <NAME>. All rights reserved.\n//\n\n#include "circular_list.h"\n\nint list_cmp(char* (*hash)(const void* item),const void* item1, const void* item2) {\n // default method for comparing list entries, using hash\n char * temp1 = hash(i...
3,471
0
{"language": "c", "success": true, "metadata": {"lines": 284, "avg_line_length": 29.18, "nodes": 2183, "errors": 0, "source_hash": "7d4c5352e610de26658c1c3d1c1706e717ff83c3edc98a68648fcc25c876ab3b", "categorized_nodes": 1410}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "i...
3,856
c
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by <NAME>. // #import <HexFiend/HFByteSlice.h> @interface HFRandomDataByteSlice : HFByteSlice { unsigned long long start; unsigned long long length; unsigned char randomizer; } - (id)subs...
29
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 <HexFiend/HFByteSlice.h>\n\n@interface HFRandomDataByteSlice : HFByteSlice\n{\n unsigned long long start;\n unsigned long long length;\n unsigne...
120
11
{"language": "c", "success": true, "metadata": {"lines": 17, "avg_line_length": 29.0, "nodes": 76, "errors": 0, "source_hash": "ddf44c49ad7c9b0b9d40f880e53afe03a74ec81eaf8defe82ee4bc016cee2b1c", "categorized_nodes": 39}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <H...
3,857
c
#ifndef imet4_subframe_h #define imet4_subframe_h #include <stdlib.h> #include "protocol.h" /** * Get the size of the given subframe * * @param sf subframe to analyze * @return size of the data within the subframe, including sof, type, and crc bytes */ size_t imet4_subframe_len(IMET4Subframe *sf); #endi...
25.58
12
(translation_unit) "#ifndef imet4_subframe_h\n#define imet4_subframe_h\n\n#include <stdlib.h>\n#include "protocol.h"\n\n/**\n * Get the size of the given subframe\n *\n * @param sf subframe to analyze\n * @return size of the data within the subframe, including sof, type, and crc bytes\n */\nsize_t imet4_subfram...
31
0
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 25.58, "nodes": 23, "errors": 0, "source_hash": "69d0268b4381c1f2930a40f518dbc73985803d93585d3514c61e93cf3bf47a41", "categorized_nodes": 17}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
3,858
c
// // Person.h // search // // Created by 王帅 on 16/9/2. // Copyright © 2016年 shuai. All rights reserved. // #import <Foundation/Foundation.h> @interface Person : NSObject @property(nonatomic, copy)NSString * age; @property(nonatomic, assign)double money; + (void)run; + (void)study; @end
19.86
14
(translation_unit) "//\n// Person.h\n// search\n//\n// Created by 王帅 on 16/9/2.\n// Copyright © 2016年 shuai. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n\n@interface Person : NSObject\n\n@property(nonatomic, copy)NSString * age;\n@property(nonatomic, assign)double money;\n+ (void)run;\n+ (void)st...
74
10
{"language": "c", "success": true, "metadata": {"lines": 14, "avg_line_length": 19.86, "nodes": 45, "errors": 0, "source_hash": "d800081003e5174edfd08055ba3b088fbae07fbec2d38f59752e8eda82896751", "categorized_nodes": 25}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": " <Foundat...
3,859
c
#ifndef NODATA_H_INCLUDED #define NODATA_H_INCLUDED #include <iostream> using namespace std; class NoData { public: NoData(){}; ~NoData(){}; void setDescricao(string descricao){ this->descricao = descricao; }; string getDescricao(){ return descricao; }; void setValor(string val){ this->va...
23.68
22
(translation_unit) "#ifndef NODATA_H_INCLUDED\n#define NODATA_H_INCLUDED\n\n#include <iostream>\n\nusing namespace std;\n\nclass NoData\n{\n public:\n NoData(){};\n ~NoData(){};\n\n void setDescricao(string descricao){ this->descricao = descricao; };\n string getDescricao(){ return descricao; };\n \n ...
192
2
{"language": "c", "success": true, "metadata": {"lines": 22, "avg_line_length": 23.68, "nodes": 104, "errors": 0, "source_hash": "c513fae2a17b9b4e42f1d427911b1f4d008eb30aa36b722cbced472fb54aa345", "categorized_nodes": 77}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
3,860
c
/****************************************************************************** * Copyright 2019 The Apollo Authors. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at ...
38.47
258
(translation_unit) "/******************************************************************************\n * Copyright 2019 The Apollo Authors. All Rights Reserved.\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 ...
754
33
{"language": "c", "success": true, "metadata": {"lines": 258, "avg_line_length": 38.47, "nodes": 427, "errors": 0, "source_hash": "e4617a066f403d34e24e4aa545ac8c8f046b4d82fc9721263013de15d55ad65f", "categorized_nodes": 275}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragm...
3,861
c
#include "Python.h" #define const static PyObject *__Pyx_UnpackItem(PyObject *, int); static int __Pyx_EndUnpack(PyObject *, int); static int __Pyx_PrintItem(PyObject *); static int __Pyx_PrintNewline(void); static void __Pyx_ReRaise(void); static void __Pyx_RaiseWithTraceback(PyObject *, PyObject *, PyObject *); st...
37.23
96
(translation_unit) "#include "Python.h"\n\n#define const\n\n\nstatic PyObject *__Pyx_UnpackItem(PyObject *, int);\nstatic int __Pyx_EndUnpack(PyObject *, int);\nstatic int __Pyx_PrintItem(PyObject *);\nstatic int __Pyx_PrintNewline(void);\nstatic void __Pyx_ReRaise(void);\nstatic void __Pyx_RaiseWithTraceback(PyObject ...
1,091
0
{"language": "c", "success": true, "metadata": {"lines": 96, "avg_line_length": 37.23, "nodes": 667, "errors": 0, "source_hash": "7a80bde2e44fa00a0a657458fb391312311d97274433139806f77a41b452eb7b", "categorized_nodes": 421}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
3,862
c
#include<iostream> using namespace std; void swap (int &a, int &b) { int replace = x; a = b; b = temp; } int main() { int a,b; cin>>a; cin>>b; swap( a, b ); cout << a << " " << b; }
10.88
16
(translation_unit) "#include<iostream>\nusing namespace std;\nvoid swap (int &a, int &b)\n{\n int replace = x;\n a = b;\n b = temp;\n}\nint main()\n{\n int a,b;\n cin>>a;\n cin>>b;\n swap( a, b );\n cout << a << " " << b;\n}\n\n" (preproc_include) "#include<iostream>\n" (#include) "#include" (system_lib_strin...
103
3
{"language": "c", "success": true, "metadata": {"lines": 16, "avg_line_length": 10.88, "nodes": 65, "errors": 0, "source_hash": "ea4b8ea8531f43bd72ed1ee795ed92e0318b5056d5f1207f0dce430d9bf1465a", "categorized_nodes": 46}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
3,863
c
/*! \file animationsresize.h Describes an animation for resizing an object */ #pragma once #include "animationsanimation.h" #include "../sadpoint.h" #include "../sadsize.h" namespace sad { namespace animations { /*! An animation of rotating the camera */ class Resize: public sad::...
27.93
97
(translation_unit) "/*! \file animationsresize.h \n \n \n Describes an animation for resizing an object \n */ \n#pragma once \n#include "animationsanimation.h" \n \n#include "../sadpoint.h" \n#include "../sadsize.h" \n \nnamespace sad \n{ \n \nnamespace animations \n{ \n \n/*! An animation of rotating the ca...
395
28
{"language": "c", "success": true, "metadata": {"lines": 97, "avg_line_length": 27.93, "nodes": 214, "errors": 0, "source_hash": "e1eb5d1ef11f10bbc4ce1142aca3d900cfdab13a4d535f75ead7d2e81c397615", "categorized_nodes": 146}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
3,864
c
// // NSString+AppInfo.h // LFGCategory // // Created by handsome on 2020/6/10. // Copyright © 2020 Mr.Li. All rights reserved. // #import <Foundation/Foundation.h> NS_ASSUME_NONNULL_BEGIN @interface NSString (AppInfo) /** UUID @return UUID String */ + (NSString *)UUID ; /** version @return version */...
12.77
52
(translation_unit) "//\n// NSString+AppInfo.h\n// LFGCategory\n//\n// Created by handsome on 2020/6/10.\n// Copyright © 2020 Mr.Li. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n\nNS_ASSUME_NONNULL_BEGIN\n\n@interface NSString (AppInfo)\n\n/**\n UUID\n\n @return UUID String\n */\n+ (NSString *)UUID...
119
5
{"language": "c", "success": true, "metadata": {"lines": 52, "avg_line_length": 12.77, "nodes": 60, "errors": 0, "source_hash": "963226f59753188d72f67368ee5e0f10c4925f67ae47202558cf9b91d69387c5", "categorized_nodes": 37}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <F...
3,865
c
/** @file @brief Header @date 2015-2019 @author <NAME> <<EMAIL>> @author Sensics, Inc. <http://sensics.com/osvr> */ // Copyright 2015 Sensics, Inc. // Copyright 2019 Collabora, Ltd. // // SPDX-License-Identifier: Apache-2.0 // // Licensed under the Apache License, Version 2.0 (the "L...
36.79
95
(translation_unit) "/** @file\n @brief Header\n\n @date 2015-2019\n\n @author\n <NAME>\n <<EMAIL>>\n\n @author\n Sensics, Inc.\n <http://sensics.com/osvr>\n*/\n\n// Copyright 2015 Sensics, Inc.\n// Copyright 2019 Collabora, Ltd.\n//\n// SPDX-License-Identifier: Apache-2.0\n//\n// Licensed under ...
494
21
{"language": "c", "success": true, "metadata": {"lines": 95, "avg_line_length": 36.79, "nodes": 282, "errors": 0, "source_hash": "cd519012be84eb23c0a1990187d17cafb58d867ef34544f3ad8d1368a85e8a3d", "categorized_nodes": 197}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
3,866
c
/* * $Header: /Book/Language.h 2 2.07.99 10:58 Oslph312 $ */ #pragma once void setNewLanguage( int nLanguage ); void initLanguageComboBox( HWND hwnd ); void exitLanguageComboBox( HWND hwnd ); // end of file
25.62
8
(translation_unit) "/*\n * $Header: /Book/Language.h 2 2.07.99 10:58 Oslph312 $\n */\n\n#pragma once\n\nvoid setNewLanguage( int nLanguage );\nvoid initLanguageComboBox( HWND hwnd );\nvoid exitLanguageComboBox( HWND hwnd );\n\n// end of file\n" (comment) "/*\n * $Header: /Book/Language.h 2 2.07.99 10:58 Oslph...
39
0
{"language": "c", "success": true, "metadata": {"lines": 8, "avg_line_length": 25.62, "nodes": 27, "errors": 0, "source_hash": "4b770a9cb0ddd87ce055b2d60e8115c860b5ac4364cdd09b1b223e0387459087", "categorized_nodes": 18}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma on...
3,867
c
/* -*- mode: C; coding:utf-8 -*- */ /**********************************************************************/ /* Yet Another Teachable Operating System */ /* Copyright 2016 <NAME> */ /* */...
37
31
(translation_unit) "/* -*- mode: C; coding:utf-8 -*- */\n/**********************************************************************/\n/* Yet Another Teachable Operating System */\n/* Copyright 2016 <NAME> */\n/* ...
133
0
{"language": "c", "success": true, "metadata": {"lines": 31, "avg_line_length": 37.0, "nodes": 91, "errors": 0, "source_hash": "20ee700edc4d16d53d78069e2bd1b6d84ca186d02d3345d9187b425c2bef17d4", "categorized_nodes": 59}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#includ...
3,868
c
/* label.h - header for label.c */ #ifndef _label_h_ #define _label_h_ #include "rline.h" */ #include "rpilot.h" */ typedef struct { char *name; line *stmnt; int linenum; struct label *next; } label; label *get_label( char *name ); label *new_label( char *name, line *lne, int linenum ); void prt_lb( label...
18.28
18
(translation_unit) "/*\n label.h - header for label.c\n*/\n\n#ifndef _label_h_\n#define _label_h_\n\n#include "rline.h" */\n#include "rpilot.h" */\n\ntypedef struct {\n char *name;\n line *stmnt;\n int linenum;\n struct label *next;\n} label;\n\nlabel *get_label( char *name );\nlabel *new_label( char *name, line *...
118
1
{"language": "c", "success": true, "metadata": {"lines": 18, "avg_line_length": 18.28, "nodes": 88, "errors": 0, "source_hash": "73933f6595e5845560f6a4004ae9212f47f5b99f878ec8c68e4c3566190c40fc", "categorized_nodes": 51}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
3,869
c
#ifndef _lua_cred_help_h #define _lua_cred_help_h #include "../common/lua_common.h" int lua_git_cred_username_details(lua_State *L); int lua_git_cred_userpass_details(lua_State *L); int lua_git_cred_ssh_key_from_agent_details(lua_State *L); #endif
34.43
7
(translation_unit) "#ifndef _lua_cred_help_h\n#define _lua_cred_help_h\n\n#include "../common/lua_common.h"\n\nint lua_git_cred_username_details(lua_State *L);\nint lua_git_cred_userpass_details(lua_State *L);\nint lua_git_cred_ssh_key_from_agent_details(lua_State *L);\n\n#endif" (preproc_ifdef) "#ifndef _lua_cred_he...
53
0
{"language": "c", "success": true, "metadata": {"lines": 7, "avg_line_length": 34.43, "nodes": 40, "errors": 0, "source_hash": "9f23b62cd46bd185fbcff5521ef32b5417f302280222375104bf285c55be8c19", "categorized_nodes": 26}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef _...
3,870
c
/* * Copyright (c) 2014-2020 Intel, Inc. All rights reserved. * Copyright (c) 2017 Amazon.com, Inc. or its affiliates. * All Rights reserved. * $COPYRIGHT$ * * Additional copyrights may follow * * $HEADER$ */ #ifndef MCA_REACHABLE_WEIGHTED_H #define MCA_REACHABLE_WEIGHTED_H #inc...
28
32
(translation_unit) "/*\n * Copyright (c) 2014-2020 Intel, Inc. All rights reserved.\n * Copyright (c) 2017 Amazon.com, Inc. or its affiliates.\n * All Rights reserved.\n * $COPYRIGHT$\n *\n * Additional copyrights may follow\n *\n * $HEADER$\n */\n\n#ifndef MCA_REACHABLE_WEIGHTED_H\n#defin...
91
1
{"language": "c", "success": true, "metadata": {"lines": 32, "avg_line_length": 28.0, "nodes": 58, "errors": 0, "source_hash": "309109c0ff1b3a7aec8c609e681572e8d520d96e611ee41ffcdd33a86f67c3c4", "categorized_nodes": 53}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef M...
3,871
c
// // CopyableCellViewController.h // CopyableCell // // Created by <NAME> on 6/9/11. // Copyright 2011 SpinningSphere Labs. All rights reserved. // #import <UIKit/UIKit.h> #import "CopyableCell.h" @interface CopyableCellViewController: UIViewController<UITableViewDelegate, ...
31.53
19
(translation_unit) "//\n// CopyableCellViewController.h\n// CopyableCell\n//\n// Created by <NAME> on 6/9/11.\n// Copyright 2011 SpinningSphere Labs. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n#import "CopyableCell.h"\n\n@interface CopyableCellViewController: UIViewController<UITableViewDelegate,\n ...
83
9
{"language": "c", "success": true, "metadata": {"lines": 19, "avg_line_length": 31.53, "nodes": 54, "errors": 0, "source_hash": "41c78fbba939be1bfe4ddb0bf49cd0ba740c5df346dabd6902d3fe5a526c69e5", "categorized_nodes": 29}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <...
3,872
c
#pragma once #include "Engine/Graphics/Effects/Logic/Components/RenderedChannelsData.h" #include "Engine/Graphics/Effects/Logic/Components/RenderChannel.h" #include <string> #include <vector> namespace bv { class RenderContext; struct ScreenshotInfo { RenderChannelType InputChannel; ...
22.18
60
(translation_unit) "#pragma once \n \n#include "Engine/Graphics/Effects/Logic/Components/RenderedChannelsData.h" \n#include "Engine/Graphics/Effects/Logic/Components/RenderChannel.h" \n \n \n#include <string> \n#include <vector> \n \n \nnamespace bv { \n \n \n \nclass RenderContext; \n \n \nstruct ScreenshotInfo \n{ \n...
247
10
{"language": "c", "success": true, "metadata": {"lines": 60, "avg_line_length": 22.18, "nodes": 158, "errors": 0, "source_hash": "2ce4da5394533c1f48a1f619b644b0f2e58e94cf71a809afe63d15ed061a454d", "categorized_nodes": 108}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
3,873
c
#include "mex.h" #include "../SE_fgg.h" void SE_FGG_MEX_params(SE_FGG_params*, const mxArray*, int); #define X prhs[0] #define HH prhs[1] #define OPT prhs[2] #define ZS prhs[3] #define ZX prhs[4] #define ZY prhs[5] #define ZZ prhs[6] #define ZFX prhs[7] #define ZFY prhs[8] #define ZFZ prhs[9] #define IDX prh...
25.35
65
(translation_unit) "#include "mex.h"\n#include "../SE_fgg.h"\n\nvoid SE_FGG_MEX_params(SE_FGG_params*, const mxArray*, int);\n\n#define X prhs[0]\n#define HH prhs[1] \n#define OPT prhs[2] \n#define ZS prhs[3]\n#define ZX prhs[4]\n#define ZY prhs[5]\n#define ZZ prhs[6]\n#define ZFX prhs[7]\n#define ZFY prhs[8]\n#...
536
0
{"language": "c", "success": true, "metadata": {"lines": 65, "avg_line_length": 25.35, "nodes": 351, "errors": 0, "source_hash": "e3f41f06324f17a9fd0072929487f05829ce1b30db994048bfe21fc21c552e1e", "categorized_nodes": 228}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
3,874
c
// // AccountListViewController.h // WechatPublicAccount 2.0 // // Created by mayan on 2019/11/27. // Copyright © 2019 mayan. All rights reserved. // #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @interface AccountListViewController : UITableViewController @end NS_ASSUME_NONNULL_END
23.17
12
(translation_unit) "//\n// AccountListViewController.h\n// WechatPublicAccount 2.0\n//\n// Created by mayan on 2019/11/27.\n// Copyright © 2019 mayan. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\nNS_ASSUME_NONNULL_BEGIN\n\n@interface AccountListViewController : UITableViewController\n\n@end\n\nNS_ASSUME_N...
27
4
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 23.17, "nodes": 14, "errors": 0, "source_hash": "59e07039bb355924c8a95664c7f64a887c4ddbc9c89172ff1b2a04cf16545a75", "categorized_nodes": 9}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <UI...
3,875
c
--- lib/chunkio/deps/crc32/crc32.c.orig 2021-07-30 20:22:02 UTC +++ lib/chunkio/deps/crc32/crc32.c @@ -34,7 +34,7 @@ # define __BIG_ENDIAN 1 # define __LITTLE_ENDIAN 2 # define __BYTE_ORDER __LITTLE_ENDIAN -#elif defined(__FreeBSD__) +#elif defined(__FreeBSD__) || defined(__DragonFly__) # include <sys/endian.h>...
34.27
11
(translation_unit) "--- lib/chunkio/deps/crc32/crc32.c.orig 2021-07-30 20:22:02 UTC\n+++ lib/chunkio/deps/crc32/crc32.c\n@@ -34,7 +34,7 @@\n # define __BIG_ENDIAN 1\n # define __LITTLE_ENDIAN 2\n # define __BYTE_ORDER __LITTLE_ENDIAN\n-#elif defined(__FreeBSD__)\n+#elif defined(__FreeBSD__) || defined(__DragonFly__)...
102
8
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 34.27, "nodes": 94, "errors": 0, "source_hash": "b42284061e5b624e330a7e63b5e69d9563fca0b593a64ac0171c820175e66856", "categorized_nodes": 54}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "--- lib/chunkio/...
3,876
c
/*-------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. See license.txt for license information. */ /** \file runasprovider.h \brief RunAs provider \date 05-15-03 */ /*-----------------...
41.58
65
(translation_unit) "/*--------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved. See license.txt for license information.\n*/\n/**\n \file runasprovider.h\n\n \brief RunAs provider\n\n \date 05-...
532
35
{"language": "c", "success": true, "metadata": {"lines": 65, "avg_line_length": 41.58, "nodes": 287, "errors": 0, "source_hash": "840859d3eb969021bb82bb94c8d0af47078af69e7a465791c55a14c20d2568dc", "categorized_nodes": 201}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
3,877
c
int b = 13;
11
1
(translation_unit) "int b = 13;\n" (declaration) "int b = 13;" (primitive_type) "int" (init_declarator) "b = 13" (identifier) "b" (=) "=" (number_literal) "13" (;) ";"
8
0
{"language": "c", "success": true, "metadata": {"lines": 1, "avg_line_length": 11.0, "nodes": 6, "errors": 0, "source_hash": "5060741679a116796bc4d0a1165fea0f0d1dcfe50a554f25d18200514fa4a1eb", "categorized_nodes": 3}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "declaration", "text": "int b = 13;", ...
3,878
c
// Copyright 2021 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 THIRD_PARTY_BLINK_RENDERER_CORE_FRAGMENT_DIRECTIVE_FRAGMENT_DIRECTIVE_UTILS_H_ #define THIRD_PARTY_BLINK_RENDERER_CORE_FRAGMENT_DIRECTIVE_FRAGMENT...
45.29
14
(translation_unit) "// Copyright 2021 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 THIRD_PARTY_BLINK_RENDERER_CORE_FRAGMENT_DIRECTIVE_FRAGMENT_DIRECTIVE_UTILS_H_\n#define THIRD_PARTY_BLINK_RENDERER_CORE_FR...
50
0
{"language": "c", "success": true, "metadata": {"lines": 14, "avg_line_length": 45.29, "nodes": 25, "errors": 0, "source_hash": "7c1041a5d2bd44d33b6060a351240a7682b94250fe33d0463500e02cbdc60ef9", "categorized_nodes": 18}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
3,879
c
// Stroke.cpp: implementation of the Stroke class. #include <memory.h> #include <math.h> #include <stdlib.h> #include "types.h" #include "Stroke.h" ERR_CODE Stroke_AddPoint(STROKE* pS, INT Dim, FLOAT* pPnt); ERR_CODE Stroke_Init(STROKE* pS, int Dim, int Sam) { FLOAT * pOrg = NULL; RSDATA * pOrgRS = NULL; if ...
23.09
171
(translation_unit) "// Stroke.cpp: implementation of the Stroke class.\n\n#include <memory.h>\n#include <math.h>\n#include <stdlib.h>\n\n#include "types.h"\n#include "Stroke.h"\n\nERR_CODE Stroke_AddPoint(STROKE* pS, INT Dim, FLOAT* pPnt);\n\nERR_CODE Stroke_Init(STROKE* pS, int Dim, int Sam)\n{\n FLOAT * pOrg = NUL...
1,609
0
{"language": "c", "success": true, "metadata": {"lines": 171, "avg_line_length": 23.09, "nodes": 1066, "errors": 0, "source_hash": "a827553a083b9e5706edc3b7c49b197f9bc07b79d121cb9568c22f611654b69c", "categorized_nodes": 776}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#i...
3,880
c
// // GZNavigationController.h // GPAZJU // // Created by <NAME> on 10/5/15. // Copyright © 2015 com.dongxinbao. All rights reserved. // #import <UIKit/UIKit.h> @interface GZNavigationController : UINavigationController @property (assign, nonatomic) BOOL willTransition; - (void)setMenuDisplay:(BOOL)display anima...
31.67
12
(translation_unit) "//\n// GZNavigationController.h\n// GPAZJU\n//\n// Created by <NAME> on 10/5/15.\n// Copyright © 2015 com.dongxinbao. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface GZNavigationController : UINavigationController\n\n@property (assign, nonatomic) BOOL willTransition;\n- (void)s...
85
7
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 31.67, "nodes": 48, "errors": 0, "source_hash": "c31ea1d07674b8767cb0c48aeaf36837d7142d041837e9c45ef151edadecfa5b", "categorized_nodes": 30}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <U...
3,881
c
// // SimulationID.h // Testbed // // Created by <NAME> on 24.11.2019. // #ifndef SimulationID_h #define SimulationID_h enum SimulationID { ID_ObstructionDemo = 0, ID_Scene1 = 1, ID_Scene2 = 2, ID_Scene3 = 3, ID_Scene4 = 4, ID_Scene5 = 5, ID_Scene6 = 6, ID_Scene7 = 7, ID_Scene8 = 8, ID_Scene9 = 9, ID_Sc...
15.39
33
(translation_unit) "//\n// SimulationID.h\n// Testbed\n//\n// Created by <NAME> on 24.11.2019.\n//\n\n#ifndef SimulationID_h\n#define SimulationID_h\n\nenum SimulationID\n{\n ID_ObstructionDemo = 0,\n ID_Scene1 = 1,\n ID_Scene2 = 2,\n ID_Scene3 = 3,\n ID_Scene4 = 4,\n ID_Scene5 = 5,\n ID_Scene6 = 6,\n ID_Scene7 = 7,...
127
0
{"language": "c", "success": true, "metadata": {"lines": 33, "avg_line_length": 15.39, "nodes": 95, "errors": 0, "source_hash": "5264da3bb5dec2d4c2c890d32e0eec74e8c084886d0da8185af4bb9772ac0745", "categorized_nodes": 72}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
3,882
c
#include <apue.h> #include <dirent.h> int main(int argc, char *argv[]) { DIR *dp; struct dirent *dirp; if(argc !=2 ) err_quit("usagee: ls directory_name"); if((dp = opendir(argv[1])) == NULL) err_sys("can't open %s",argv[1]); while ((dirp = readdir(dp)) != NULL) printf("%s\n",dirp->d_name); closedir(dp);...
19.75
16
(translation_unit) "#include <apue.h>\n#include <dirent.h>\n\nint main(int argc, char *argv[])\n{\n DIR *dp;\n struct dirent *dirp;\n if(argc !=2 )\n err_quit("usagee: ls directory_name");\n \n if((dp = opendir(argv[1])) == NULL)\n err_sys("can't open %s",argv[1]);\n while ((dirp = readdir(dp)) != NULL)\n printf("%s...
159
0
{"language": "c", "success": true, "metadata": {"lines": 16, "avg_line_length": 19.75, "nodes": 95, "errors": 0, "source_hash": "5957ae5b576b6faa0f989939b9820f975032052b4f1fa7aae72fbb22444584b1", "categorized_nodes": 67}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
3,883
c
/* * llib little C library * BSD licence * Copyright <NAME>, 2013 */ #include <stdlib.h> #include "obj.h" #include <stdio.h> ////// Object Pool Support ////// // An object pool is a ref seq containing all objects generated since the pool // was created. The actual pool object is a ref to that seq, so that disposing /...
29.44
88
(translation_unit) "/*\n* llib little C library\n* BSD licence\n* Copyright <NAME>, 2013\n*/\n#include <stdlib.h>\n#include "obj.h"\n#include <stdio.h>\n\n////// Object Pool Support //////\n// An object pool is a ref seq containing all objects generated since the pool\n// was created. The actual pool object is a ref t...
581
0
{"language": "c", "success": true, "metadata": {"lines": 88, "avg_line_length": 29.44, "nodes": 360, "errors": 0, "source_hash": "1007ec5dc1139b61048fdc5e10c5b1dc4f1c9b471e54276b130ce97d73ef8ae2", "categorized_nodes": 213}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
3,884
c
//===-- FrontendAction.h - Pluggable Frontend Action Interface --*- C++ -*-===// // // The LLVM37 Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-----------------------------------------------------...
40.37
19
(translation_unit) "//===-- FrontendAction.h - Pluggable Frontend Action Interface --*- C++ -*-===//\n//\n// The LLVM37 Compiler Infrastructure\n//\n// This file is distributed under the University of Illinois Open Source\n// License. See LICENSE.TXT for details.\n//\n//===--------------------------...
72
2
{"language": "c", "success": true, "metadata": {"lines": 19, "avg_line_length": 40.37, "nodes": 40, "errors": 0, "source_hash": "9913b3322d28b9fd82639d9d77a4b9f514d4ff129ab28ab4a1766fe776bb57e8", "categorized_nodes": 29}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
3,885
c
#ifndef COINWALLET_H #define COINWALLET_H #include "ICoin.h" class CoinWallet { public: CoinWallet(ICoin * c); void ShowBalance(int group); bool Withdraw(int amount); void Deposit(int amount); int Clear(); private: ICoin * mCoin; int balance; }; #endif
16.81
16
(translation_unit) "#ifndef COINWALLET_H\n#define COINWALLET_H\n\n#include "ICoin.h"\n\nclass CoinWallet\n{\n public:\n CoinWallet(ICoin * c);\n void ShowBalance(int group);\n bool Withdraw(int amount);\n void Deposit(int amount);\n int Clear();\n private:\n ICoin * mCoin;\n int balance;\n};\n\n#...
90
0
{"language": "c", "success": true, "metadata": {"lines": 16, "avg_line_length": 16.81, "nodes": 58, "errors": 0, "source_hash": "c9c3591a071da534cf5fcacbb2a2eaba3eff9103ce3587d61af246457a1ff728", "categorized_nodes": 38}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
3,886
c
#ifdef SPRNG_MPI #include <mpi.h> #endif #include "util.h" #define SPRNG_MPI_KS 0 extern int proc_rank, init_nprocs, nsubsequences; #ifdef __STDC__ void getKSdata (double *V, long ntests) #else void getKSdata (V, ntests) double *V; long ntests; #endif { int nprocs, myid, i, nsets; long first, last; #ifdef S...
19.3
74
(translation_unit) "#ifdef SPRNG_MPI\n#include <mpi.h>\n#endif\n\n#include "util.h"\n\n#define SPRNG_MPI_KS 0\n\nextern int proc_rank, init_nprocs, nsubsequences;\n\n\n#ifdef __STDC__\nvoid getKSdata (double *V, long ntests)\n#else\nvoid getKSdata (V, ntests)\ndouble *V;\nlong ntests;\n#endif\n{\n int nprocs, myid, i,...
541
3
{"language": "c", "success": true, "metadata": {"lines": 74, "avg_line_length": 19.3, "nodes": 373, "errors": 0, "source_hash": "09d9e6d267f47424bb6bb1f66a9001b5960530c884baa56322113a7b40e7647f", "categorized_nodes": 258}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifdef ...
3,887
c
// Copyright 2018 The Fuchsia Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include <openssl/aead.h> #include <array> #include "src/connectivity/overnet/lib/packet_protocol/packet_protocol.h" #include "src/connectivity/overnet/l...
38.58
52
(translation_unit) "// Copyright 2018 The Fuchsia 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#include <openssl/aead.h>\n\n#include <array>\n\n#include "src/connectivity/overnet/lib/packet_protocol/packet_protocol.h"\n#includ...
635
40
{"language": "c", "success": true, "metadata": {"lines": 52, "avg_line_length": 38.58, "nodes": 371, "errors": 0, "source_hash": "df54d150aa1ace218e32b256c1a3fbfd9697e15a2ba45d5bdaa8e2e15c5cef19", "categorized_nodes": 245}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
3,888
c
// Copyright (c) 2015 Nuxi, https://nuxi.nl/ // // SPDX-License-Identifier: BSD-2-Clause #include <mqueue.h> #include <pthread.h> #include <stdlib.h> #include "mqueue_impl.h" int mq_destroy(mqd_t mqdes) { // Destroy locking objects. struct __mqd *mqd = mqdes.__mqd; pthread_mutex_destroy(&mqd->lock); pthread_...
25.08
24
(translation_unit) "// Copyright (c) 2015 Nuxi, https://nuxi.nl/\n//\n// SPDX-License-Identifier: BSD-2-Clause\n\n#include <mqueue.h>\n#include <pthread.h>\n#include <stdlib.h>\n\n#include "mqueue_impl.h"\n\nint mq_destroy(mqd_t mqdes) {\n // Destroy locking objects.\n struct __mqd *mqd = mqdes.__mqd;\n pthread_mute...
155
0
{"language": "c", "success": true, "metadata": {"lines": 24, "avg_line_length": 25.08, "nodes": 98, "errors": 0, "source_hash": "ea47908da56438be52f79f5989ff597eb88c5c4d3b31dff8f77895adde0ad18c", "categorized_nodes": 75}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
3,889
c
#include<stdio.h> #include<math.h> #include<stdlib.h> float func(float x) { float res=pow(pow(x,3)-1,3)+pow(2*x*x-5,4); return res; } int main() { float x[3],f[3],Xmin,Fmin,Xbar,Fbar,a1,a2,delta,e,min; printf("Welcome to Successive Quadratic Estimation Method!!!\n\n"); printf("Enter the initial poin...
27.4
88
(translation_unit) "#include<stdio.h>\n#include<math.h>\n#include<stdlib.h>\nfloat func(float x)\n{\n float res=pow(pow(x,3)-1,3)+pow(2*x*x-5,4);\n return res;\n}\nint main()\n{\n float x[3],f[3],Xmin,Fmin,Xbar,Fbar,a1,a2,delta,e,min;\n printf("Welcome to Successive Quadratic Estimation Method!!!\n\n");\n ...
1,128
0
{"language": "c", "success": true, "metadata": {"lines": 88, "avg_line_length": 27.4, "nodes": 678, "errors": 0, "source_hash": "83f55c3b97e7ac27b9aef2d1a913e6b3577adc88df8839873ed9fec0066db8bb", "categorized_nodes": 524}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
3,890
c
/* * This header is generated by classdump-dyld 1.0 * on Sunday, September 27, 2020 at 11:39:18 AM Mountain Standard Time * Operating System: Version 14.0 (Build 18A373) * Image Source: /System/Library/PrivateFrameworks/BaseBoard.framework/BaseBoard * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by <NA...
33.39
18
(translation_unit) "/*\n* This header is generated by classdump-dyld 1.0\n* on Sunday, September 27, 2020 at 11:39:18 AM Mountain Standard Time\n* Operating System: Version 14.0 (Build 18A373)\n* Image Source: /System/Library/PrivateFrameworks/BaseBoard.framework/BaseBoard\n* classdump-dyld is licensed under GPLv3, Cop...
103
16
{"language": "c", "success": true, "metadata": {"lines": 18, "avg_line_length": 33.39, "nodes": 68, "errors": 0, "source_hash": "8054e44fe48d3ada7f4fc2e4c6e6f139d4d3514d8d0f46661afaff7dd7853440", "categorized_nodes": 41}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "c", "parent": nu...
3,891
c
#include "ErrorCode.h" namespace NServerNetLib { class TcpSession { public: TcpSession(); virtual ~TcpSession(); void Init(const int index); private: int mIndex = 0; }; }
10.78
18
(translation_unit) "nclude "ErrorCode.h" \n \nnamespace NServerNetLib \n{ \n class TcpSession \n { \n public: \n TcpSession(); \n virtual ~TcpSession(); \n \n void Init(const int index); \n \n \n \n private: \n int mIndex = 0; \n }; \n} \n" (preproc_include) "nclude "ErrorCode.h" \n \n" (#include) "nclud...
64
1
{"language": "c", "success": true, "metadata": {"lines": 18, "avg_line_length": 10.78, "nodes": 36, "errors": 0, "source_hash": "d7556c64cbbb7ed7420a70921237f71b5702e7a887114207af3a80651282d3f8", "categorized_nodes": 26}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "nclude...
3,892
c
/* { dg-do run { target powerpc-*-*altivec powerpc-*-*-*altivec } } */ /* { dg-options "-maltivec" } */ /* Program to test PowerPC AltiVec instructions. */ /* These macros are not analogous to the overloaded functions described in Motorola's AltiVec Programming Interface Manual. These are just here for readabi...
30.05
63
(translation_unit) "/* { dg-do run { target powerpc-*-*altivec powerpc-*-*-*altivec } } */\n/* { dg-options "-maltivec" } */\n\n/* Program to test PowerPC AltiVec instructions. */\n\n/* These macros are not analogous to the overloaded functions\n described in Motorola's AltiVec Programming Interface Manual.\n Thes...
668
10
{"language": "c", "success": true, "metadata": {"lines": 63, "avg_line_length": 30.05, "nodes": 393, "errors": 0, "source_hash": "cafba79011aace5a20e6c0292f6745772dcb46ea6ee429dcc3138836288423e1", "categorized_nodes": 263}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_function_def", "text": ...
3,893
c
// Fill out your copyright notice in the Description page of Project Settings. #pragma once #include "Blueprint/UserWidget.h" #include "LoginUserWidget.generated.h" /** * Aceasta clasa este pentru interfata meniului principal */ UCLASS() class CHEESSY_API ULoginUserWidget : public UUserWidget { GENERATED_BODY() ...
39.35
37
(translation_unit) "// Fill out your copyright notice in the Description page of Project Settings.\n\n#pragma once\n\n#include "Blueprint/UserWidget.h"\n#include "LoginUserWidget.generated.h"\n\n/**\n * Aceasta clasa este pentru interfata meniului principal\n */\nUCLASS()\nclass CHEESSY_API ULoginUserWidget : public UU...
239
2
{"language": "c", "success": true, "metadata": {"lines": 37, "avg_line_length": 39.35, "nodes": 122, "errors": 0, "source_hash": "5b28194533bc26f25a4cb0a7f8b3ab0b71d82ef0772efee676c0b684c5cb6f28", "categorized_nodes": 90}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma ...
3,894
c
/* @(#)root/textinput:$Id$ */ /* Author: <NAME> <<EMAIL>>, 2011-05-21 */ /************************************************************************* * Copyright (C) 1995-2011, <NAME> and <NAME>. * * All rights reserved. * * ...
37.16
37
(translation_unit) "/* @(#)root/textinput:$Id$ */\n/* Author: <NAME> <<EMAIL>>, 2011-05-21 */\n\n/*************************************************************************\n * Copyright (C) 1995-2011, <NAME> and <NAME>. *\n * All rights reserved. *\n * ...
282
4
{"language": "c", "success": true, "metadata": {"lines": 37, "avg_line_length": 37.16, "nodes": 191, "errors": 0, "source_hash": "e596ddab586dc873ceaca1246115548299606f49c86fbee1dc06d41a62ab2142", "categorized_nodes": 115}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "#ifndef ROOT_G...
3,895
c
/*------------------------------------------------------------------------------ * Copyright (C) 2003-2006 <NAME> and the CLucene Team * * 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. -----------------------...
28.34
270
(translation_unit) "/*------------------------------------------------------------------------------ \n* Copyright (C) 2003-2006 <NAME> and the CLucene Team \n* \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. ...
1,956
131
{"language": "c", "success": true, "metadata": {"lines": 270, "avg_line_length": 28.34, "nodes": 1210, "errors": 0, "source_hash": "27f3aeb224ab2bdc8af19713aa43093896eecd6a6546cb05f812dfdc68f5d104", "categorized_nodes": 789}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifn...
3,896
c
#ifndef ADD_EVENT_COMMAND_H #define ADD_EVENT_COMMAND_H #include "ICommand.h" #include "FileReader.h" #include "Validator.h" /// <summary> /// AddEventCommand creates a new event with given parameters and saves it to the Store. /// </summary> class AddEventCommand : public ICommand { public: AddEventCommand(Store*, ...
27.33
18
(translation_unit) "#ifndef ADD_EVENT_COMMAND_H\n#define ADD_EVENT_COMMAND_H\n\n#include "ICommand.h"\n#include "FileReader.h"\n#include "Validator.h"\n\n/// <summary>\n/// AddEventCommand creates a new event with given parameters and saves it to the Store.\n/// </summary>\nclass AddEventCommand : public ICommand\n{\np...
117
8
{"language": "c", "success": true, "metadata": {"lines": 18, "avg_line_length": 27.33, "nodes": 67, "errors": 0, "source_hash": "c614db6ad6d876d4072f9655727ce9d00f16c568479f7e5ca3572a795525a3d1", "categorized_nodes": 43}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
3,897
c
/* src/include/port/hpux.h */ #ifndef PORT_HPUX_H #define PORT_HPUX_H /* nothing needed */ #endif /* PORT_HPUX_H */
22.2
5
(translation_unit) "/* src/include/port/hpux.h */\n#ifndef PORT_HPUX_H\n#define PORT_HPUX_H\n\n/* nothing needed */\n#endif /* PORT_HPUX_H */\n\n" (comment) "/* src/include/port/hpux.h */" (preproc_ifdef) "#ifndef PORT_HPUX_H\n#define PORT_HPUX_H\n\n/* nothing needed */\n#endif" (#ifndef) "#ifndef" (identif...
11
0
{"language": "c", "success": true, "metadata": {"lines": 5, "avg_line_length": 22.2, "nodes": 7, "errors": 0, "source_hash": "e62f7928779089212ddd97b2c4aab6c1848da9a53fe8e34bbfca4d5576d1af8e", "categorized_nodes": 5}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef PORT...
3,898
c
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by <NAME>. // #import "NSObject.h" #import "DOAsyncResultProtocol.h" @interface DOAsyncResult : NSObject <DOAsyncResultProtocol> { BOOL mDone; long long mResult; CDUnknownBlockType mCompl...
30.3
23
(translation_unit) "//\n// Generated by class-dump 3.5 (64 bit).\n//\n// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by <NAME>.\n//\n\n#import "NSObject.h"\n\n#import "DOAsyncResultProtocol.h"\n\n@interface DOAsyncResult : NSObject <DOAsyncResultProtocol>\n{\n BOOL mDone;\n long long mResu...
175
19
{"language": "c", "success": true, "metadata": {"lines": 23, "avg_line_length": 30.3, "nodes": 116, "errors": 0, "source_hash": "51bc89d488b4b370c62dcf517e84d0a1b1c619cbe2ac28b2e30c2f58d9504516", "categorized_nodes": 65}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import \...
3,899