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
#undef DEBUG #include <linux/kernel.h> #include <linux/string.h> #include <linux/pci_regs.h> #include <linux/module.h> #include <linux/ioport.h> #include <linux/etherdevice.h> #include <linux/of_address.h> #include <asm/prom.h> #include <asm/pci-bridge.h> #ifdef CONFIG_PCI int of_irq_map_pci(struct pci_dev *pdev, str...
33.72
136
(translation_unit) "#undef DEBUG\n\n#include <linux/kernel.h>\n#include <linux/string.h>\n#include <linux/pci_regs.h>\n#include <linux/module.h>\n#include <linux/ioport.h>\n#include <linux/etherdevice.h>\n#include <linux/of_address.h>\n#include <asm/prom.h>\n#include <asm/pci-bridge.h>\n\n#ifdef CONFIG_PCI\nint of_irq_...
887
0
{"language": "c", "success": true, "metadata": {"lines": 136, "avg_line_length": 33.72, "nodes": 576, "errors": 0, "source_hash": "a505892e86560686284d7025588cc6fdc95883a8be3e6b10c11f184fcbca4baa", "categorized_nodes": 415}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#undef...
8,100
c
#ifndef QLIFT_C_API_QLIFT_QINPUTEVENT_H #define QLIFT_C_API_QLIFT_QINPUTEVENT_H #ifdef __cplusplus extern "C" { #endif void QInputEvent_delete(void *inputEvent); #ifdef __cplusplus } #endif #endif //QLIFT_C_API_QLIFT_QINPUTEVENT_H
22.1
10
(translation_unit) "#ifndef QLIFT_C_API_QLIFT_QINPUTEVENT_H\n#define QLIFT_C_API_QLIFT_QINPUTEVENT_H\n\n#ifdef __cplusplus\nextern "C" {\n#endif\n\nvoid QInputEvent_delete(void *inputEvent);\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif //QLIFT_C_API_QLIFT_QINPUTEVENT_H\n\n" (preproc_ifdef) "#ifndef QLIFT_C_API_QLIFT_QI...
41
0
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 22.1, "nodes": 30, "errors": 0, "source_hash": "5e0b91c0d204f1c0a42a8c06a4a52006f87c52bc9c117f9971934dec4641132d", "categorized_nodes": 21}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef Q...
8,101
c
#ident "$Id$" /* ----------------------------------------------------------------------- * * * Copyright 2000 <NAME> - All Rights Reserved * * 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 ...
23.91
247
(translation_unit) "#ident "$Id$"\n/* ----------------------------------------------------------------------- *\n * \n * Copyright 2000 <NAME> - All Rights Reserved\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 ...
1,840
4
{"language": "c", "success": true, "metadata": {"lines": 247, "avg_line_length": 23.91, "nodes": 1110, "errors": 0, "source_hash": "34f83651ea3806462ac956d907e503c8e93b3a8bcce61f5e8f82fd80d45acf5d", "categorized_nodes": 805}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#iden...
8,102
c
/* * Distritos.h * * TFG Example * Author: GMCarlos_8 */ #ifndef DISTRITOS_H_ #define DISTRITOS_H_ #include "Distrito.h" #include "listapi.h" #include <fstream> class Distritos { private: ListaPI <Distrito*> *lDistritos; public: Distritos(); /* mostrar * PRE {La instancia debe estar creada.} * POST...
21.8
45
(translation_unit) "/*\n * Distritos.h\n *\n * TFG Example\n * Author: GMCarlos_8\n */\n\n#ifndef DISTRITOS_H_\n#define DISTRITOS_H_\n\n#include "Distrito.h"\n#include "listapi.h"\n#include <fstream>\n\nclass Distritos {\n\nprivate:\n ListaPI <Distrito*> *lDistritos;\n\npublic:\n\n Distritos();\n\n /* mostrar\n * PR...
144
4
{"language": "c", "success": true, "metadata": {"lines": 45, "avg_line_length": 21.8, "nodes": 92, "errors": 0, "source_hash": "ece5f93acf8ff4111c27ebb929cfcf94d75246722d6ea1ea7972ea6593f2154a", "categorized_nodes": 58}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef D...
8,103
c
/* * gpu_locking.h * * Created on: Dec 2, 2009 * Author: <NAME> (<EMAIL>) */ #ifndef GPU_LOCKING_H_ #define GPU_LOCKING_H_ #define GPU_LOCK_NO_SCRIPT -2 #define GPU_LOCK_NO_BOARD -1 #define GPU_LOCK_SCRIPT "/u/murray/bin/gpu_lock" int get_board_lock(); #endif /* GPU_LOCKING_H_ */
21.54
13
(translation_unit) "/*\n * gpu_locking.h\n *\n * Created on: Dec 2, 2009\n * Author: <NAME> (<EMAIL>)\n */\n\n#ifndef GPU_LOCKING_H_\n#define GPU_LOCKING_H_\n\n#define GPU_LOCK_NO_SCRIPT -2\n#define GPU_LOCK_NO_BOARD -1\n#define GPU_LOCK_SCRIPT "/u/murray/bin/gpu_lock"\n\nint get_board_lock();\n\n#endif /* GPU_L...
30
0
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 21.54, "nodes": 24, "errors": 0, "source_hash": "cb5a426dc9d8afc5973a7595a284ba6c67459d7cc998340bfc2a691529132c67", "categorized_nodes": 11}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
8,104
c
/**/ #include <stdio.h> int main() { int a,b,c,median; printf("Enter first integer > "); scanf ("%d", &a); printf("Enter second integer > "); scanf ("%d", &b); printf("Enter third integer > "); scanf ("%d", &c); if ((a>=b && b>=c)||(a<=b && b<=c)) printf("%d is the median\n", b)...
24.52
21
(translation_unit) "/**/\n#include <stdio.h>\nint main()\n {\n int a,b,c,median;\n printf("Enter first integer > ");\n scanf ("%d", &a);\n printf("Enter second integer > ");\n scanf ("%d", &b);\n printf("Enter third integer > ");\n scanf ("%d", &c);\n if ((a>=b && b>=c)||(a<=b && b<=c))\n ...
258
0
{"language": "c", "success": true, "metadata": {"lines": 21, "avg_line_length": 24.52, "nodes": 147, "errors": 0, "source_hash": "9de18784f60de1af24567152028669266ee9acb1d7f6c332666668ebd3c55fab", "categorized_nodes": 108}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
8,105
c
/*====================== display.c ======================== Contains functions for basic manipulation of a screen represented as a 2 dimensional array of colors. A color is an ordered triple of ints, with each value standing for red, green and blue respectively ==================================================*/ #i...
27.13
130
(translation_unit) "/*====================== display.c ========================\nContains functions for basic manipulation of a screen \nrepresented as a 2 dimensional array of colors.\n\nA color is an ordered triple of ints, with each value standing\nfor red, green and blue respectively\n==============================...
1,009
0
{"language": "c", "success": true, "metadata": {"lines": 130, "avg_line_length": 27.13, "nodes": 590, "errors": 0, "source_hash": "930f044b50edea1bff1385a5aab3f18fb130ea4f61d0ef3927f29301dd59488c", "categorized_nodes": 457}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
8,106
c
#include <stdio.h> #include <stdlib.h> #include <math.h> #include <time.h> #include "ran_uniform.h" #include "system.h" int main(void) { // Molecular Dynamics Program Of Argon, C // Written By <NAME> On 6-10-1998 C printf("Starting\n"); // initialize the random number generator with the system ti...
20.2
25
(translation_unit) "#include <stdio.h>\n#include <stdlib.h>\n#include <math.h>\n#include <time.h>\n#include "ran_uniform.h"\n#include "system.h"\n\n\nint main(void)\n{ \n // Molecular Dynamics Program Of Argon, C\n // Written By <NAME> On 6-10-1998 C\n\n printf("Starting\n");\n \n // initialize the random ...
93
0
{"language": "c", "success": true, "metadata": {"lines": 25, "avg_line_length": 20.2, "nodes": 48, "errors": 0, "source_hash": "6b27915b8c06b5cf6b78cd541fd52332b4c1df52b607d001469eed32ad11b0f8", "categorized_nodes": 38}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#includ...
8,107
c
/* * Copyright (c) 2013 Juniper Networks, Inc. All rights reserved. */ // queue_task.h // // Task based queue processor implementing thread safe enqueue and dequeue // using concurrent queues. If queue is empty, enqueue creates a dequeue task // that drains the queue. The dequeue task runs a maximum of kMaxIteration...
28.85
234
(translation_unit) "/*\n * Copyright (c) 2013 Juniper Networks, Inc. All rights reserved.\n */\n\n// queue_task.h\n//\n// Task based queue processor implementing thread safe enqueue and dequeue\n// using concurrent queues. If queue is empty, enqueue creates a dequeue task\n// that drains the queue. The dequeue task run...
1,653
49
{"language": "c", "success": true, "metadata": {"lines": 234, "avg_line_length": 28.85, "nodes": 988, "errors": 0, "source_hash": "8a563f6fa6cd6f25f94daffde8ca20d9624c47820643a2ef333fb359ca2e445d", "categorized_nodes": 659}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
8,108
c
/* * clock.h * * Created: 6/20/2020 1:54:17 PM * Author: Asus */ #ifndef CLOCK_H_ #define CLOCK_H_ void InitClock(); #endif /* CLOCK_H_ */
9.71
14
(translation_unit) "/*\n * clock.h\n *\n * Created: 6/20/2020 1:54:17 PM\n * Author: Asus\n */ \n\n\n#ifndef CLOCK_H_\n#define CLOCK_H_\n\n\n\nvoid InitClock();\n\n\n\n\n#endif /* CLOCK_H_ */" (comment) "/*\n * clock.h\n *\n * Created: 6/20/2020 1:54:17 PM\n * Author: Asus\n */" (preproc_ifdef) "#ifndef CLOCK_H_\...
18
0
{"language": "c", "success": true, "metadata": {"lines": 14, "avg_line_length": 9.71, "nodes": 12, "errors": 0, "source_hash": "4024913fed5b9e84fcc4d0de6760d1148a02f13bce4fbe2740d5e47d6d6323f2", "categorized_nodes": 8}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef CL...
8,109
c
#pragma once #include <arch.h> #include <stdint.h> #include <utils/lock.h> #include <utils/syscall_codes.h> typedef long int time_t; struct timespec { time_t tv_sec; /* time in seconds */ long tv_nsec; /* time in nanoseconds */ }; extern utils::lock_type lck_syscall; typedef uint64_t (*syscall_functions)(uint6...
37.67
15
(translation_unit) "#pragma once\n#include <arch.h>\n#include <stdint.h>\n#include <utils/lock.h>\n#include <utils/syscall_codes.h>\ntypedef long int time_t;\nstruct timespec\n{\n time_t tv_sec; /* time in seconds */\n long tv_nsec; /* time in nanoseconds */\n};\nextern utils::lock_type lck_syscall;\ntypedef uin...
133
1
{"language": "c", "success": true, "metadata": {"lines": 15, "avg_line_length": 37.67, "nodes": 98, "errors": 0, "source_hash": "638a9767cd5f491da8729e8411ff5c3cd45b3895c5165a115fbda87dd4d255ab", "categorized_nodes": 66}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
8,110
c
#ifndef HDR_PARSER #define HDR_PARSER #include "lexer.h" #define OUTPUT_SIZE (3 * 524288) uint8_t *parseTokens( struct Token *token, size_t token_len ); #endif
17
9
(translation_unit) "#ifndef HDR_PARSER\n#define HDR_PARSER\n#include "lexer.h"\n\n#define OUTPUT_SIZE (3 * 524288)\n\nuint8_t *parseTokens(\n struct Token *token,\n size_t token_len\n);\n\n#endif" (preproc_ifdef) "#ifndef HDR_PARSER\n#define HDR_PARSER\n#include "lexer.h"\n\n#define OUTPUT_SIZE (3 * 524288)\n\nuint8_...
39
0
{"language": "c", "success": true, "metadata": {"lines": 9, "avg_line_length": 17.0, "nodes": 31, "errors": 0, "source_hash": "86bdd4a83323b8e8665d1b4956ee4a4acba41b7a8926732cf15a03a2de3b3720", "categorized_nodes": 19}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef HD...
8,111
c
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* reboot.c :+: :+: :+: ...
25.65
98
(translation_unit) "/* ************************************************************************** */\n/* */\n/* ::: :::::::: */\n/* reboot.c ...
742
0
{"language": "c", "success": true, "metadata": {"lines": 98, "avg_line_length": 25.65, "nodes": 426, "errors": 0, "source_hash": "8687a747be2f1f7de3240d215883655e02fb708db53a21120fa7fd18a878a252", "categorized_nodes": 300}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
8,112
c
#define BUFFER_LENGTH 30000 typedef unsigned char buffer_t; extern buffer_t mem_buf[BUFFER_LENGTH]; extern buffer_t *data_ptr; extern buffer_t *max_ptr; // This is a rubbish solution to sharing the Buf type // between headers. I should definitely find a better // way of doing this. void *create_buffer(char *str);
34
9
(translation_unit) "#define BUFFER_LENGTH 30000\n\ntypedef unsigned char buffer_t;\n\nextern buffer_t mem_buf[BUFFER_LENGTH];\n\nextern buffer_t *data_ptr;\n\nextern buffer_t *max_ptr;\n\n// This is a rubbish solution to sharing the Buf type\n// between headers. I should definitely find a better\n// way of doing this.\...
56
0
{"language": "c", "success": true, "metadata": {"lines": 9, "avg_line_length": 34.0, "nodes": 43, "errors": 0, "source_hash": "76f0f85bb179ff035e2b1fb12de568de81c337063451f34d6e6eab0fa51e6cec", "categorized_nodes": 22}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_def", "text": "#define BUFF...
8,113
c
/* include/config.h. Generated from config.h.in by configure. */ /* include/config.h.in. Generated from configure.ac by autoheader. */ /* Define to 1 if you have the <arpa/inet.h> header file. */ #define HAVE_ARPA_INET_H 1 /* Define to 1 if you have the <dlfcn.h> header file. */ #define HAVE_DLFCN_H 1 /* Define ...
41
98
(translation_unit) "/* include/config.h. Generated from config.h.in by configure. */\n/* include/config.h.in. Generated from configure.ac by autoheader. */\n\n/* Define to 1 if you have the <arpa/inet.h> header file. */\n#define HAVE_ARPA_INET_H 1\n\n/* Define to 1 if you have the <dlfcn.h> header file. */\n#define...
206
0
{"language": "c", "success": true, "metadata": {"lines": 98, "avg_line_length": 41.0, "nodes": 152, "errors": 0, "source_hash": "59b5209973f9e6ce46c2c901b41e9eaa3e7b4d2dafa199c9e23e0efeaefdba97", "categorized_nodes": 41}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_def", "text": "#define HA...
8,114
c
// // CSAppDelegateIntializeService.h // CSAppDelegateModule // // Created by 余强 on 2018/5/7. // Copyright © 2018年 IntSig Information Co., Ltd. All rights reserved. // #import <Foundation/Foundation.h> #import "CSAppDelegatePrivateServiceProtocol.h" @protocol CSAppDelegateIntializeServiceProtocol; @interface CSAp...
32.25
12
(translation_unit) "//\n// CSAppDelegateIntializeService.h\n// CSAppDelegateModule\n//\n// Created by 余强 on 2018/5/7.\n// Copyright © 2018年 IntSig Information Co., Ltd. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n#import "CSAppDelegatePrivateServiceProtocol.h"\n\n@protocol CSAppDelegateIntializeS...
34
6
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 32.25, "nodes": 23, "errors": 0, "source_hash": "aa89c9c1715a29bdcb26f2854bf0c18363a75fd5a72156975fc8723f48790180", "categorized_nodes": 11}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": " <Foundat...
8,115
c
#pragma once #include "ArcTunnel.h" #include "SimpleIni.h" class CDrawArcProject { public: CDrawArcProject(); ~CDrawArcProject(); static void DrawArcTunnel(); private: CArcTunnel * arcTunnel = new CArcTunnel(); };
18.08
12
(translation_unit) "#pragma once \n#include "ArcTunnel.h" \n#include "SimpleIni.h" \nclass CDrawArcProject \n{ \npublic: \n CDrawArcProject(); \n ~CDrawArcProject(); \n static void DrawArcTunnel(); \nprivate: \n CArcTunnel * arcTunnel = new CArcTunnel(); \n}; \n \n" (preproc_call) "#pragma once \n" (preproc_direc...
71
1
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 18.08, "nodes": 36, "errors": 0, "source_hash": "c9d1182283e8c95f706473a1eb92c54cce926492fce7054c322a09f73bcb68a2", "categorized_nodes": 22}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
8,116
c
//===-- ABIX86_i386.h -------------------------------------------*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
37.18
17
(translation_unit) "//===-- ABIX86_i386.h -------------------------------------------*- C++ -*-===//\n//\n// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.\n// See https://llvm.org/LICENSE.txt for license information.\n// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception\n//\n//===-...
64
4
{"language": "c", "success": true, "metadata": {"lines": 17, "avg_line_length": 37.18, "nodes": 32, "errors": 0, "source_hash": "8a71ffd3cbc083c75592ce5b3cba4eca984353956571ea71c9f30d1ff9204e8c", "categorized_nodes": 22}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
8,117
c
/* PADDLEB.C Tile Source File. Info: Form : All tiles as one unit. Format : Gameboy 4 color. Compression : None. Counter : None. Tile size : 8 x 8 Tiles : 0 to 1 Palette colors : None. SGB Palette ...
19.91
34
(translation_unit) "/* \n \n PADDLEB.C \n \n Tile Source File. \n \n Info: \n Form : All tiles as one unit. \n Format : Gameboy 4 color. \n Compression : None. \n Counter : None. \n Tile size : 8 x 8 \n Tiles : 0 to 1 \n \n Palette col...
81
0
{"language": "c", "success": true, "metadata": {"lines": 34, "avg_line_length": 19.91, "nodes": 41, "errors": 0, "source_hash": "af387134a18eb3f83092d8f018ef8a3e3c3c4112d08d63721c1892d083bb1817", "categorized_nodes": 35}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "declaration", "text": "unsigned c...
8,118
c
#ifndef YR_SNVertex #define YR_SNVertex // std libraries #include <vector> #include <utility> // ROOT includes #include <Math/Point3D.h> #include <Math/Vector3D.h> class Interval { // simple interval mostly for convenience // on checking pairs of doubles // and interval overlap private: double lower; doubl...
31.11
228
(translation_unit) "#ifndef YR_SNVertex\n#define YR_SNVertex\n\n// std libraries\n#include <vector>\n#include <utility>\n\n// ROOT includes\n#include <Math/Point3D.h>\n#include <Math/Vector3D.h>\n\nclass Interval\n{\n // simple interval mostly for convenience\n // on checking pairs of doubles\n // and interval overl...
1,899
77
{"language": "c", "success": true, "metadata": {"lines": 228, "avg_line_length": 31.11, "nodes": 1165, "errors": 0, "source_hash": "a7fca0174d575b91b11b983a877f088b063b19d336dc2df0dabc8a22d466590f", "categorized_nodes": 821}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifn...
8,119
c
// // MyDocument.h // CSVManipulator // // Created by <NAME> on 21.02.08. // This sourcecode is released under the Apache License, Version 2.0 // http://www.apache.org/licenses/LICENSE-2.0.html // #import <Cocoa/Cocoa.h> #import "CSVDocumentDelegate.h" @class CSVWindowController; @class CSVDocument; @class CSVRo...
38.28
75
(translation_unit) "//\n// MyDocument.h\n// CSVManipulator\n//\n// Created by <NAME> on 21.02.08.\n// This sourcecode is released under the Apache License, Version 2.0\n// http://www.apache.org/licenses/LICENSE-2.0.html\n//\n\n\n#import <Cocoa/Cocoa.h>\n#import "CSVDocumentDelegate.h"\n@class CSVWindowController;\...
630
73
{"language": "c", "success": true, "metadata": {"lines": 75, "avg_line_length": 38.28, "nodes": 410, "errors": 0, "source_hash": "cd34ecf8529dd98252662612e118633832fc402b6160d846212164acb77f59a7", "categorized_nodes": 235}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import...
8,120
c
#pragma once #ifdef USE_PYTHON3 #include <contrib/tools/python3/src/Include/setobject.h> #else #include <contrib/tools/python/src/Include/setobject.h> #endif
25.33
6
(translation_unit) "#pragma once\n\n#ifdef USE_PYTHON3\n#include <contrib/tools/python3/src/Include/setobject.h>\n#else\n#include <contrib/tools/python/src/Include/setobject.h>\n#endif\n" (preproc_call) "#pragma once\n" (preproc_directive) "#pragma" (preproc_arg) "once" (preproc_ifdef) "#ifdef USE_PYTHON3\n...
16
0
{"language": "c", "success": true, "metadata": {"lines": 6, "avg_line_length": 25.33, "nodes": 15, "errors": 0, "source_hash": "a1116f5b710cd36f5e7d816c6174f22455ff66e0927f774d7fca38dd9443dccb", "categorized_nodes": 11}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma on...
8,121
c
#ifndef WASDCAMERA_H_ #define WASDCAMERA_H_ #include <SDL2/SDL_keycode.h> #include "../app/Interfaces.h" #include "Camera.h" class WASDCamera: public Camera, public IMouseListener, public IKeyboardListener { bool w, a, s, d, e, q, shiftDown, ctrlDown; public: static const std::string& SERIALIZE_ID; WASDCamera(...
29.5
34
(translation_unit) "#ifndef WASDCAMERA_H_\n#define WASDCAMERA_H_\n\n#include <SDL2/SDL_keycode.h>\n#include "../app/Interfaces.h"\n#include "Camera.h"\n\n\nclass WASDCamera: public Camera, public IMouseListener, public IKeyboardListener {\n\n bool w, a, s, d, e, q, shiftDown, ctrlDown;\n\npublic:\n static const std::st...
360
20
{"language": "c", "success": true, "metadata": {"lines": 34, "avg_line_length": 29.5, "nodes": 213, "errors": 0, "source_hash": "92c021f6be7f71ad028035f20c96fe06718d7d5157bff0922aba3e4b3618a685", "categorized_nodes": 145}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
8,122
c
// // RootViewController.h // DejalActivityView Demo // // Created by <NAME> on 2009-07-29. // Copyright Dejal Systems, LLC 2009-2013. All rights reserved. // @interface RootViewController : UITableViewController @end
23.67
9
(translation_unit) "//\n// RootViewController.h\n// DejalActivityView Demo\n//\n// Created by <NAME> on 2009-07-29.\n// Copyright Dejal Systems, LLC 2009-2013. All rights reserved.\n//\n\n@interface RootViewController : UITableViewController\n\n@end\n\n" (comment) "//" (comment) "// RootViewController.h" (co...
17
4
{"language": "c", "success": true, "metadata": {"lines": 9, "avg_line_length": 23.67, "nodes": 7, "errors": 0, "source_hash": "6392884a47ab802d91b71b13d8fdcd3e663677df0de22ad679cccaf3b3f0b395", "categorized_nodes": 3}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "@interface RootView...
8,123
c
#ifndef MOCMOVIEREPOSITORY_H #define MOCMOVIEREPOSITORY_H #include "gmock/gmock.h" #include "AbstractAllMoviesFetcher.h" #include "Movie.h" #include <vector> using std::vector; using std::string; class MocMovieRepository : public BMMBusinessLogic::AbstractAllMoviesFetcher { public: MOCK_METHOD(vector<BMMBusines...
27.86
14
(translation_unit) "#ifndef MOCMOVIEREPOSITORY_H\n#define MOCMOVIEREPOSITORY_H\n\n#include "gmock/gmock.h"\n#include "AbstractAllMoviesFetcher.h"\n#include "Movie.h"\n\n#include <vector>\n\nusing std::vector;\nusing std::string;\n\nclass MocMovieRepository : public BMMBusinessLogic::AbstractAllMoviesFetcher\n{\npublic:...
100
6
{"language": "c", "success": true, "metadata": {"lines": 14, "avg_line_length": 27.86, "nodes": 53, "errors": 0, "source_hash": "72eacea739a1fcff23b71829e6741de7d9eefaf5223a544c50682c33653d5522", "categorized_nodes": 42}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
8,124
c
// // count-and-say.h // algorithm // // Created by Kai on 2019/7/25. // Copyright © 2019 kai. All rights reserved. // #ifndef count_and_say_h #define count_and_say_h #include <stdio.h> void testCountAnSay(void); #endif /* count_and_say_h */
19.5
12
(translation_unit) "//\n// count-and-say.h\n// algorithm\n//\n// Created by Kai on 2019/7/25.\n// Copyright © 2019 kai. All rights reserved.\n//\n\n#ifndef count_and_say_h\n#define count_and_say_h\n\n#include <stdio.h>\n\nvoid testCountAnSay(void);\n\n#endif /* count_and_say_h */\n" (comment) "//" (comment) "//...
29
0
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 19.5, "nodes": 17, "errors": 0, "source_hash": "eb782b9fcdf9365efd15c32d50738ffed076f84d197137967c23d0dc8313be4f", "categorized_nodes": 12}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "ifndef co...
8,125
c
// // DeepeningPresentDetailViewController.h // MHelloTransition // // Created by chenms on 17/7/30. // Copyright © 2017年 chenms.m2. All rights reserved. // #import <UIKit/UIKit.h> @interface DimmingPresentOverFullScreenDetailViewController : UIViewController @end
25.9
10
(translation_unit) "//\n// DeepeningPresentDetailViewController.h\n// MHelloTransition\n//\n// Created by chenms on 17/7/30.\n// Copyright © 2017年 chenms.m2. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface DimmingPresentOverFullScreenDetailViewController : UIViewController\n\n@end\n" (comment) "...
19
3
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 25.9, "nodes": 10, "errors": 0, "source_hash": "9061e01528dfb05c6b42d654d394fdcb8a89f16ca469651c82dc1218e65f2d9d", "categorized_nodes": 5}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "port <UIKit...
8,126
c
// // Created by <NAME> on 8/8/20. // #ifndef VULKANANDROID_COMMONUTILS_LOGGER_H #define VULKANANDROID_COMMONUTILS_LOGGER_H #include <android/log.h> #define LOG_I(TAG, ...) \ ((void)__android_log_print(ANDROID_LOG_INFO, TAG, __VA_ARGS__)) #define LOG_W(TAG, ...) \ ((void)__android_log_print(ANDROID_LOG_WARN, TAG...
31.25
12
(translation_unit) "//\n// Created by <NAME> on 8/8/20.\n//\n\n#ifndef VULKANANDROID_COMMONUTILS_LOGGER_H\n#define VULKANANDROID_COMMONUTILS_LOGGER_H\n\n#include <android/log.h>\n\n#define LOG_I(TAG, ...) \\n ((void)__android_log_print(ANDROID_LOG_INFO, TAG, __VA_ARGS__))\n#define LOG_W(TAG, ...) \\n ((void)__android...
45
0
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 31.25, "nodes": 28, "errors": 0, "source_hash": "e4d22f59c25723f67143399752ce35e55541ee584bc63da74889795c9d9021da", "categorized_nodes": 17}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
8,127
c
#ifndef RAIL_FENCE_H #define RAIL_FENCE_H #include <string> #include <iomanip> template <class T> class RailFence { private: T msg; short int key; public: RailFence (T message, short int msgKey); T encode (); T decode (); }; #endif
15.8
15
(translation_unit) "#ifndef RAIL_FENCE_H\n#define RAIL_FENCE_H\n\n#include <string>\n#include <iomanip>\n\ntemplate <class T>\nclass RailFence {\n\nprivate:\n T msg;\n short int key;\npublic:\n RailFence (T message, short int msgKey);\n T encode ();\n T decode ();\n};\n\n#endif" (preproc_ifdef) "#ifnde...
78
4
{"language": "c", "success": true, "metadata": {"lines": 15, "avg_line_length": 15.8, "nodes": 52, "errors": 0, "source_hash": "db4a4d34aaff0550002351d7ab6527cb68bda114e3c38b9f66c63a539ac87775", "categorized_nodes": 38}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef R...
8,128
c
/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ /* Copyright(c) 2018-2019 Realtek Corporation */ #ifndef __RTW_8723DE_H_ #define __RTW_8723DE_H_ extern const struct dev_pm_ops rtw_pm_ops; extern struct rtw_chip_info rtw8723d_hw_spec; int rtw_pci_probe(struct pci_dev *pdev, const struct pci_device_id *id); vo...
36.36
11
(translation_unit) "/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */\n/* Copyright(c) 2018-2019 Realtek Corporation\n */\n\n#ifndef __RTW_8723DE_H_\n#define __RTW_8723DE_H_\n\nextern const struct dev_pm_ops rtw_pm_ops;\nextern struct rtw_chip_info rtw8723d_hw_spec;\nint rtw_pci_probe(struct pci_dev *pdev, const ...
83
0
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 36.36, "nodes": 64, "errors": 0, "source_hash": "50d14a9fb71b642492fd4f9e2573ea54344833426f39f8b9ab7816ec54becbd2", "categorized_nodes": 46}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
8,129
c
/*============================================================================ * Autor: * Licencia: * Fecha: *===========================================================================*/ #include "sapi.h" // <= Biblioteca sAPI uint8_t TecladoPinesFilas[4] = { RS232_TXD, ...
30.38
124
(translation_unit) "/*============================================================================\n * Autor:\n * Licencia:\n * Fecha:\n *===========================================================================*/\n\n#include "sapi.h" // <= Biblioteca sAPI\n\nuint8_t TecladoPinesFilas[4] = {\n ...
607
0
{"language": "c", "success": true, "metadata": {"lines": 124, "avg_line_length": 30.38, "nodes": 354, "errors": 0, "source_hash": "1fcc649f07882e46ed4e5f87f63dc4fd2c3a3985e8b46f350515d866766ee1f9", "categorized_nodes": 217}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
8,130
c
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. #pragma once #include <folly/dynamic.h> #include "AnimatedNode.h" #include "FacadeType.h" namespace react { namespace uwp { class StyleAnimatedNode : public AnimatedNode { public: StyleAnimatedNode( int64_t tag, co...
25.11
27
(translation_unit) "// Copyright (c) Microsoft Corporation. \n// Licensed under the MIT License. \n \n#pragma once \n#include <folly/dynamic.h> \n#include "AnimatedNode.h" \n#include "FacadeType.h" \n \nnamespace react { \nnamespace uwp { \nclass StyleAnimatedNode : public AnimatedNode { \n public: \n StyleAnimatedNod...
170
9
{"language": "c", "success": true, "metadata": {"lines": 27, "avg_line_length": 25.11, "nodes": 86, "errors": 0, "source_hash": "b9a5aa9331a28416e2635003ce0d8fcfc0a6a6720f46ee002fd14568e6744594", "categorized_nodes": 61}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
8,131
c
#pragma once #include <lightstep/tracer.h> namespace lightstep { /** * Construct LightStepTracerOptions from configuration json. * @param configuration the json configuration * @param error_message an error message provided upon failure * @return the LightStepTracerOptions or an error code */ opentracing::expect...
36.5
12
(translation_unit) "#pragma once\n\n#include <lightstep/tracer.h>\n\nnamespace lightstep {\n/**\n * Construct LightStepTracerOptions from configuration json.\n * @param configuration the json configuration\n * @param error_message an error message provided upon failure\n * @return the LightStepTracerOptions or an error...
48
3
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 36.5, "nodes": 30, "errors": 0, "source_hash": "37e88673ee883f2fd1e3da24fb0cb81c6854c176d4eabf77e3ce948bc12ef329", "categorized_nodes": 21}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma on...
8,132
c
/******************************************************************************* * * Copyright 1999 American Power Conversion, All Rights Reserved * * TITLE: UPSCOMMON.H * * VERSION: 1.0 * * AUTHOR: SteveT * * DATE: 07 June, 1999 * * DESCRIPTION: This file contains common decls a...
25.47
64
(translation_unit) "/******************************************************************************* \n* \n* Copyright 1999 American Power Conversion, All Rights Reserved \n* \n* TITLE: UPSCOMMON.H \n* \n* VERSION: 1.0 \n* \n* AUTHOR: SteveT \n* \n* DATE: 07 June, 1999 \n* \n* DESCRIPTION: T...
180
0
{"language": "c", "success": true, "metadata": {"lines": 64, "avg_line_length": 25.47, "nodes": 127, "errors": 0, "source_hash": "e853a26002ea0a0f8c9c4d1d7035982c97859384507282af3640a534baade545", "categorized_nodes": 87}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
8,133
c
// // Generated by the J2ObjC translator. DO NOT EDIT! // source: /Users/antoniocortes/j2objcprj/relases/j2objc/jsr305/build_result/java/javax/annotation/meta/Exhaustive.java // #include "J2ObjC_header.h" #pragma push_macro("INCLUDE_ALL_JavaxAnnotationMetaExhaustive") #ifdef RESTRICT_JavaxAnnotationMetaExhaustive ...
42.93
55
(translation_unit) "//\n// Generated by the J2ObjC translator. DO NOT EDIT!\n// source: /Users/antoniocortes/j2objcprj/relases/j2objc/jsr305/build_result/java/javax/annotation/meta/Exhaustive.java\n//\n\n#include "J2ObjC_header.h"\n\n#pragma push_macro("INCLUDE_ALL_JavaxAnnotationMetaExhaustive")\n#ifdef RESTRICT_Ja...
204
11
{"language": "c", "success": true, "metadata": {"lines": 55, "avg_line_length": 42.93, "nodes": 156, "errors": 0, "source_hash": "910b4acb27651c55b11a78aa8d93c1b363d03bae6a60cce577782a2c379fcf83", "categorized_nodes": 84}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
8,134
c
// // Bank.h // // Created by <NAME> on 28/11/11. // Modified by <NAME> on 16/2/13 // #ifndef Bank_h #define Bank_h #include <stdio.h> #include "Kmer.h" #include "loadKmers.h" //Added by Rauaq on 19/09/2013 #include <zlib.h> // Added by <NAME> on 02/08/2012. #define TAILLE_NOM 1024 #define MAX_NB_FILES 2000 #de...
34.79
169
(translation_unit) "//\n// Bank.h\n//\n// Created by <NAME> on 28/11/11.\n// Modified by <NAME> on 16/2/13\n//\n\n#ifndef Bank_h\n#define Bank_h\n#include <stdio.h>\n#include "Kmer.h"\n\n#include "loadKmers.h" //Added by Rauaq on 19/09/2013\n\n#include <zlib.h> // Added by <NAME> on 02/08/2012.\n\n#define TAILLE_NOM...
1,374
10
{"language": "c", "success": true, "metadata": {"lines": 169, "avg_line_length": 34.79, "nodes": 977, "errors": 0, "source_hash": "42fbb261f7f4d9c4ae0b478dd5fbdb511bda4a189589759bb92b529ecceb52ea", "categorized_nodes": 535}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
8,135
c
#include "test.h" typedef void (*Fn)(void); Fn g_foo; LIB(lb22);
15.25
4
(translation_unit) "#include "test.h"\n\ntypedef void (*Fn)(void);\n\nFn g_foo;\n\nLIB(lb22);\n" (preproc_include) "#include "test.h"\n" (#include) "#include" (string_literal) ""test.h"" (") """ (string_content) "test.h" (") """ (type_definition) "typedef void (*Fn)(void);" (typedef) "...
35
0
{"language": "c", "success": true, "metadata": {"lines": 4, "avg_line_length": 15.25, "nodes": 21, "errors": 0, "source_hash": "8c7bde64046dc6cfb8845d2c21bc235dd60f8aca5179f2e9d07aabce2a827b49", "categorized_nodes": 13}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#includ...
8,136
c
/*! * @file main.c * @brief IR Click Example. * * # Description * This is an example that demonstrates the use of the IR Click board. * * The demo application is composed of two sections : * * ## Application Init * Initialization driver enables - GPIO and Log. * * ## Application Task * This example conta...
27.87
105
(translation_unit) "/*!\n * @file main.c\n * @brief IR Click Example.\n *\n * # Description\n * This is an example that demonstrates the use of the IR Click board.\n *\n * The demo application is composed of two sections :\n *\n * ## Application Init\n * Initialization driver enables - GPIO and Log. \n * \n * ## Applic...
579
0
{"language": "c", "success": true, "metadata": {"lines": 105, "avg_line_length": 27.87, "nodes": 303, "errors": 0, "source_hash": "d03748919bc52d64df888dc2ded50740a07eeaf55331fc1c013ec20440709015", "categorized_nodes": 204}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
8,137
c
/* * Copyright (C) 2004, 2005, 2006, 2007, 2013 Apple Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later versio...
33.5
86
(translation_unit) "/*\n * Copyright (C) 2004, 2005, 2006, 2007, 2013 Apple Inc.\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Library General Public\n * License as published by the Free Software Foundation; either\n * version 2 of the License, or (at you...
186
2
{"language": "c", "success": true, "metadata": {"lines": 86, "avg_line_length": 33.5, "nodes": 147, "errors": 0, "source_hash": "3891d7384277e00cfe8d2093ff625b44d9b6deda86be609a0c53ab16f09d43d9", "categorized_nodes": 122}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifdef ...
8,138
c
#ifndef LIBDATACHANNELS_INTERNAL_READER_H_ #define LIBDATACHANNELS_INTERNAL_READER_H_ #include <stdint.h> #include <stddef.h> #include <stdexcept> #include <string> #include <array> #include "Buffer.h" class BufferReader { public: BufferReader(Buffer& buffer) : data(buffer.GetData()), size(buffer.GetSize()) { ...
28.5
115
(translation_unit) "#ifndef LIBDATACHANNELS_INTERNAL_READER_H_\n#define LIBDATACHANNELS_INTERNAL_READER_H_\n#include <stdint.h>\n#include <stddef.h>\n#include <stdexcept>\n#include <string>\n#include <array>\n\n#include "Buffer.h"\n\nclass BufferReader\n{\npublic:\n BufferReader(Buffer& buffer) :\n data(buffer.GetDat...
1,473
24
{"language": "c", "success": true, "metadata": {"lines": 115, "avg_line_length": 28.5, "nodes": 920, "errors": 0, "source_hash": "9682277e0ff9842f1be7d621ce6728d9c5236f03e3c29d19c425a04307fd8bcb", "categorized_nodes": 630}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
8,139
c
#pragma once #include <string> #include <sstream> #include "objetobase.h" #include "linkedlist.h" #include "persona.h" class Persona; class Curso : public ObjetoBase { private: std::string id; std::string descripcion; int limite_estudiantes; LinkedList* estudiantes_matriculados; public: Curso() { this->id = ""...
33.33
64
(translation_unit) "#pragma once\n#include <string>\n#include <sstream>\n#include "objetobase.h"\n#include "linkedlist.h"\n#include "persona.h"\n\nclass Persona;\n\nclass Curso : public ObjetoBase {\nprivate:\n std::string id;\n std::string descripcion;\n int limite_estudiantes;\n LinkedList* estudiantes_matriculados;\...
752
26
{"language": "c", "success": true, "metadata": {"lines": 64, "avg_line_length": 33.33, "nodes": 439, "errors": 0, "source_hash": "b5cf25cbe0a0ca39989d7b953be0f0f2bf31a72b147b44e654f8ad7baa9d0c34", "categorized_nodes": 316}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
8,140
c
//Character.h #ifndef CHARACTER_H #define CHARACTER_H class Controller; #include "Item.h" #include <iostream> #include <vector> using namespace std; class Character { public: int move()const; char get_symbol()const; unsigned int get_max_hp()const; void show_info()const; void...
22.33
45
(translation_unit) "//Character.h \n \n#ifndef CHARACTER_H \n#define CHARACTER_H \n \nclass Controller; \n \n#include "Item.h" \n#include <iostream> \n#include <vector> \n \nusing namespace std; \n \nclass Character \n{ \npublic: \n int move()const; \n char get_symbol()const; \n unsigned int get_max_hp()const;...
272
19
{"language": "c", "success": true, "metadata": {"lines": 45, "avg_line_length": 22.33, "nodes": 168, "errors": 0, "source_hash": "39f7da12aa5bc7d230b529ff0497f8173a78cf758efbc097f1768227f63a579f", "categorized_nodes": 95}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
8,141
c
// // SCLLayout+ConstraintStack.h // ScreenLayout // // Created by Jun on 12/4/14. // Copyright (c) 2014 <NAME>. All rights reserved. // #import "SCLLayout.h" @interface SCLLayout (SCLLayoutConstraintStack) - (BOOL)canPushConstraint:(SCLLayoutConstraint *)constraint; - (void)pushConstraint:(SCLLayoutConstraint ...
28.33
15
(translation_unit) "//\n// SCLLayout+ConstraintStack.h\n// ScreenLayout\n//\n// Created by Jun on 12/4/14.\n// Copyright (c) 2014 <NAME>. All rights reserved.\n//\n\n#import "SCLLayout.h"\n\n\n@interface SCLLayout (SCLLayoutConstraintStack)\n\n- (BOOL)canPushConstraint:(SCLLayoutConstraint *)constraint;\n- (void)pu...
94
9
{"language": "c", "success": true, "metadata": {"lines": 15, "avg_line_length": 28.33, "nodes": 56, "errors": 0, "source_hash": "5f38275914ee7dafcb797571937c2443ae7c43a8481ab64b2356283e03689106", "categorized_nodes": 30}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import \...
8,142
c
#include <stdio.h> // prototype int lower_self(int c); int main(void) { int a, b, c; int r; a = 'A'; b = 'C'; c = 'z'; r = lower_self(a); printf("%c becomes %c\n", a, r); r = lower_self(b); printf("%c becomes %c\n", b, r); r = lower_self(c); pr...
16.83
30
(translation_unit) "#include <stdio.h> \n \n// prototype \nint lower_self(int c); \n \n \nint main(void) { \n int a, b, c; \n int r; \n \n a = 'A'; \n b = 'C'; \n c = 'z'; \n \n r = lower_self(a); \n printf("%c becomes %c\n", a, r); \n \n r = lower_self(b); \n printf("%c becomes %c\n", b, r);...
202
0
{"language": "c", "success": true, "metadata": {"lines": 30, "avg_line_length": 16.83, "nodes": 132, "errors": 0, "source_hash": "f488a75a0612b2d17fe39b0e4dca3e32c7840a38b919094c8f331205d111fcc6", "categorized_nodes": 79}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
8,143
c
/* * An exit. * * Written by <NAME> 2015 */ #include "walkway.h" #include <string> #ifndef EXIT_H__ #define EXIT_H__ class Exit : public Walkway { char getPrintChar(); }; #endif
12.21
14
(translation_unit) "/*\n * An exit.\n *\n * Written by <NAME> 2015\n */\n\n#include "walkway.h"\n#include <string>\n\n#ifndef EXIT_H__\n#define EXIT_H__\n\nclass Exit : public Walkway {\n char getPrintChar();\n};\n\n\n#endif\n\n" (comment) "/*\n * An exit.\n *\n * Written by <NAME> 2015\n */" (preproc_include) "#i...
38
1
{"language": "c", "success": true, "metadata": {"lines": 14, "avg_line_length": 12.21, "nodes": 22, "errors": 0, "source_hash": "fac394a2ba0cd1de528fd8d9b5973e0fdb8f7739edcf6c1498b0ea4fa6aadf70", "categorized_nodes": 17}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
8,144
c
#pragma once // @generated by tools/codegen/gen.py from NativeFunction.h #include <c10/core/Scalar.h> #include <c10/core/Storage.h> #include <c10/core/TensorOptions.h> #include <c10/util/Deprecated.h> #include <c10/util/Optional.h> #include <c10/core/QScheme.h> #include <ATen/core/Reduction.h> #include <ATen/core/Ten...
38.71
28
(translation_unit) "#pragma once\n\n// @generated by tools/codegen/gen.py from NativeFunction.h\n\n#include <c10/core/Scalar.h>\n#include <c10/core/Storage.h>\n#include <c10/core/TensorOptions.h>\n#include <c10/util/Deprecated.h>\n#include <c10/util/Optional.h>\n#include <c10/core/QScheme.h>\n#include <ATen/core/Reduct...
302
21
{"language": "c", "success": true, "metadata": {"lines": 28, "avg_line_length": 38.71, "nodes": 180, "errors": 0, "source_hash": "2cebbbd4fc32e41b162edc6574ebcdabdcfc2eada82edba3db20fced64ef8243", "categorized_nodes": 147}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
8,145
c
#pragma once #include "ITestUnit.h" class InputImagesAsStreamsTest : public ITestUnit { public: InputImagesAsStreamsTest(void); ~InputImagesAsStreamsTest(void); virtual PDFHummus::EStatusCode Run(const TestConfiguration& inTestConfiguration); };
26.67
9
(translation_unit) "#pragma once\n#include "ITestUnit.h"\n\nclass InputImagesAsStreamsTest : public ITestUnit\n{\npublic:\n InputImagesAsStreamsTest(void);\n ~InputImagesAsStreamsTest(void);\n\n virtual PDFHummus::EStatusCode Run(const TestConfiguration& inTestConfiguration);\n};\n" (preproc_call) "#pragma once\n" ...
63
3
{"language": "c", "success": true, "metadata": {"lines": 9, "avg_line_length": 26.67, "nodes": 32, "errors": 0, "source_hash": "01033ee839981139aae153d1b173e4f0ea3230b0a8fda83b388baf8d78ee348f", "categorized_nodes": 23}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma on...
8,146
c
/*========================================================================= medInria Copyright (c) INRIA 2013 - 2018. All rights reserved. See LICENSE.txt for details. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE....
45.42
57
(translation_unit) "/*=========================================================================\n\n medInria\n\n Copyright (c) INRIA 2013 - 2018. All rights reserved.\n See LICENSE.txt for details.\n\n This software is distributed WITHOUT ANY WARRANTY; without even\n the implied warranty of MERCHANTABILITY or FITNESS...
561
39
{"language": "c", "success": true, "metadata": {"lines": 57, "avg_line_length": 45.42, "nodes": 325, "errors": 0, "source_hash": "c3741ba5205d9b007e3420c08ffd19e62005d3c042d921fcc98af8d07718c791", "categorized_nodes": 224}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
8,147
c
/* $Id: ex4.c,v 1.1 2020/05/12 03:19:02 mbsd Exp $ */ /* * Copyright (c) 2020 <NAME>' <<EMAIL>> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * ...
32.67
55
(translation_unit) "/* $Id: ex4.c,v 1.1 2020/05/12 03:19:02 mbsd Exp $ */\n\n/*\n * Copyright (c) 2020 <NAME>' <<EMAIL>>\n *\n * Permission to use, copy, modify, and distribute this software for any\n * purpose with or without fee is hereby granted, provided that the above\n * copyright notice and this permission notic...
263
0
{"language": "c", "success": true, "metadata": {"lines": 55, "avg_line_length": 32.67, "nodes": 154, "errors": 0, "source_hash": "4771934f8d20e9f0e9592484f2866b1e76088c20391d57007fa1c154cf27159c", "categorized_nodes": 110}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
8,148
c
// // StravaStream.h // FRDStravaClient // // Created by <NAME> on 5/3/14. // #import "Mantle/Mantle.h"//> #import "StravaCommon.h" /// /// Stream resolution. /// /// Matching Strava API docs: http://strava.github.io/api/v3/streams/ /// typedef NS_ENUM(NSInteger, kStravaStreamResolution) { kStravaStreamResolut...
32.89
62
(translation_unit) "//\n// StravaStream.h\n// FRDStravaClient\n//\n// Created by <NAME> on 5/3/14.\n//\n\n#import "Mantle/Mantle.h"//>\n#import "StravaCommon.h"\n\n///\n/// Stream resolution.\n///\n/// Matching Strava API docs: http://strava.github.io/api/v3/streams/\n///\ntypedef NS_ENUM(NSInteger, kStravaStreamRes...
223
34
{"language": "c", "success": true, "metadata": {"lines": 62, "avg_line_length": 32.89, "nodes": 130, "errors": 0, "source_hash": "d788e338ddeeb6c106073730478e72d4d86aff22db36bc7252e74e6b578162e8", "categorized_nodes": 78}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import ...
8,149
c
#ifndef ABBREV_H #define ABBREV_H #include <stdlib.h> /** * @brief safe malloc; checks for NULL and aborts if encountered */ static inline void* safe_malloc(size_t size) { void *mem = malloc(size); if (mem == NULL && size != 0) abort(); return mem; } /** * @brief safe realloc; checks for NULL and aborts if ...
24.25
20
(translation_unit) "#ifndef ABBREV_H\n#define ABBREV_H\n\n#include <stdlib.h>\n\n/**\n * @brief safe malloc; checks for NULL and aborts if encountered\n */\nstatic inline void* safe_malloc(size_t size) {\n void *mem = malloc(size);\n if (mem == NULL && size != 0) abort();\n return mem;\n}\n\n/**\n * @brief safe real...
142
0
{"language": "c", "success": true, "metadata": {"lines": 20, "avg_line_length": 24.25, "nodes": 98, "errors": 0, "source_hash": "cb53581d3125a5da2d663f62152d033a887078405a6cf0a76b8d875e09f07baf", "categorized_nodes": 57}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
8,150
c
#ifndef OBJECT_CAMERA_H #define OBJECT_CAMERA_H #include <functional> #include <iostream> #include "GL/glew.h" #include "GLFW/glfw3.h" #include "glm/vec3.hpp" #include "glm/mat4x4.hpp" #include "glm/gtc/matrix_transform.hpp" #include "glm/gtc/type_ptr.hpp" #include "../Global/Global.h" #include "Editable.h" namespa...
37.53
103
(translation_unit) "#ifndef OBJECT_CAMERA_H\n#define OBJECT_CAMERA_H\n\n#include <functional>\n#include <iostream>\n\n#include "GL/glew.h"\n#include "GLFW/glfw3.h"\n#include "glm/vec3.hpp"\n#include "glm/mat4x4.hpp"\n#include "glm/gtc/matrix_transform.hpp"\n#include "glm/gtc/type_ptr.hpp"\n\n#include "../Global/Global....
1,569
69
{"language": "c", "success": true, "metadata": {"lines": 103, "avg_line_length": 37.53, "nodes": 909, "errors": 0, "source_hash": "2ec051ab390fcfa671ab2bf4bfb3f2bb88296bf9f9f6fbb9344d6d5c276347f9", "categorized_nodes": 641}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
8,151
c
#include <stdio.h> #include <stdlib.h> #include "textcopy.h" #define FILE_IN argv[1] #define DEFAULT_FILE_OUT "file.out" #define MODE_READ "r" #define MODE_WRITE "w" int main(int argc, char *argv[]) { char file_out[256]; FILE *ifptr, *ofptr; check_args(file_out, argv, argc); if ((ifptr = check_file(...
25.41
27
(translation_unit) "#include <stdio.h>\n#include <stdlib.h>\n#include "textcopy.h"\n\n#define FILE_IN argv[1] \n#define DEFAULT_FILE_OUT "file.out"\n#define MODE_READ "r"\n#define MODE_WRITE "w"\n\nint main(int argc, char *argv[]) {\n char file_out[256];\n FILE *ifptr,\n *ofptr;\n\n check_args(file_out, argv, ...
236
0
{"language": "c", "success": true, "metadata": {"lines": 27, "avg_line_length": 25.41, "nodes": 140, "errors": 0, "source_hash": "bb2e48feda0cc3dafb4d002299182ba2ec34ceb5feae43eff3e74f0b5cda861c", "categorized_nodes": 90}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
8,152
c
// // Copyright (c) 2015 <NAME>. All rights reserved. // // Display EFI Configuration Table entries // // License: BSD License // #include <Uefi.h> #include <Library/UefiLib.h> #include <Library/ShellCEntryLib.h> #include <Library/ShellLib.h> #include <Library/BaseMemoryLib.h> #include <Library/UefiBootServices...
33.44
103
(translation_unit) "//\n// Copyright (c) 2015 <NAME>. All rights reserved.\n//\n// Display EFI Configuration Table entries \n//\n// License: BSD License\n//\n\n#include <Uefi.h>\n#include <Library/UefiLib.h>\n#include <Library/ShellCEntryLib.h>\n#include <Library/ShellLib.h>\n#include <Library/BaseMemoryLib.h>\n#...
755
1
{"language": "c", "success": true, "metadata": {"lines": 103, "avg_line_length": 33.44, "nodes": 446, "errors": 0, "source_hash": "92cabeea0ab2a232b5bf49fa0b0874cc3e99df913d17e96cef49473d98dfaba0", "categorized_nodes": 283}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
8,153
c
/* ** util.h for raytracer in /home/arbona/tek1/MUL/raytracer1 ** ** Made by <NAME> ** Login <<EMAIL>> ** ** Started on Tue Feb 14 20:11:57 2017 <NAME> ** Last update Fri Mar 17 11:54:15 2017 <NAME> */ #ifndef UTIL_H_ # define UTIL_H_ # define DEG2RADCONV 0.01745329251 #endif /* UTIL_H_ */
21.62
13
(translation_unit) "/*\n** util.h for raytracer in /home/arbona/tek1/MUL/raytracer1\n**\n** Made by <NAME>\n** Login <<EMAIL>>\n**\n** Started on Tue Feb 14 20:11:57 2017 <NAME>\n** Last update Fri Mar 17 11:54:15 2017 <NAME>\n*/\n\n#ifndef UTIL_H_\n# define UTIL_H_\n\n# define DEG2RADCONV 0.01745329251\n\n#endif /*...
14
0
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 21.62, "nodes": 11, "errors": 0, "source_hash": "43a4f5b3638a20cecff541eea1f7e352ed562710fc89a2f5e1bfce2bbded9ed5", "categorized_nodes": 6}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef U...
8,154
c
#include <sys/types.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #define NDROP (3) #define SMOL_ITERATIONS (100) #define HUGE_SIZE (1000000) #define HUGE_ITERATIONS (10000000) struct e { int i; int v; struct e *next; }; void print_input_list(struct e *input, struct e *offset...
24.23
192
(translation_unit) "#include <sys/types.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n\n\n#define NDROP (3)\n#define SMOL_ITERATIONS (100)\n#define HUGE_SIZE (1000000)\n#define HUGE_ITERATIONS (10000000)\n\n\n\nstruct e {\n int i;\n int v;\n struct e *next;\n};\n\n\n\nvoid print_inp...
1,664
0
{"language": "c", "success": true, "metadata": {"lines": 192, "avg_line_length": 24.23, "nodes": 1097, "errors": 0, "source_hash": "03447b40ec2d241f7a9486de43fe5972d9c8c374ee1e3c6352c3e130fb0c9812", "categorized_nodes": 775}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#i...
8,155
c
#ifndef __MONO_NATIVE_MSCORLIB_SYSTEM_RUNTIME_INTEROPSERVICES_CHARSET_H #define __MONO_NATIVE_MSCORLIB_SYSTEM_RUNTIME_INTEROPSERVICES_CHARSET_H namespace mscorlib { namespace System { namespace Runtime { namespace InteropServices { class CharSet { public: enum __ENUM__ { None = ...
14.73
26
(translation_unit) "#ifndef __MONO_NATIVE_MSCORLIB_SYSTEM_RUNTIME_INTEROPSERVICES_CHARSET_H\n#define __MONO_NATIVE_MSCORLIB_SYSTEM_RUNTIME_INTEROPSERVICES_CHARSET_H\nnamespace mscorlib\n{\n namespace System\n {\n namespace Runtime\n {\n namespace InteropServices\n {\n\n class CharSet\n {\n public:\n ...
72
0
{"language": "c", "success": true, "metadata": {"lines": 26, "avg_line_length": 14.73, "nodes": 44, "errors": 0, "source_hash": "953d641789807d80823b1860fbac691cc3b107c60433314d6649594125647c8f", "categorized_nodes": 37}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
8,156
c
#ifndef WINDOW_H #define WINDOW_H #pragma once #include <SDL2/SDL.h> namespace tiledl { enum FullscreenMode : Uint32 { FULLSCREEN = SDL_WINDOW_FULLSCREEN, FULLSCREEN_DESKTOP = SDL_WINDOW_FULLSCREEN_DESKTOP, WINDOWED = 0 }; class Window { public: Window(); Window(const char* title, int width, ...
25.84
61
(translation_unit) "#ifndef WINDOW_H\n#define WINDOW_H\n#pragma once\n\n#include <SDL2/SDL.h>\n\nnamespace tiledl\n{\n enum FullscreenMode : Uint32 {\n FULLSCREEN = SDL_WINDOW_FULLSCREEN,\n FULLSCREEN_DESKTOP = SDL_WINDOW_FULLSCREEN_DESKTOP,\n WINDOWED = 0\n };\n\n class Window\n {\n public:\n Window();\n ...
575
12
{"language": "c", "success": true, "metadata": {"lines": 61, "avg_line_length": 25.84, "nodes": 387, "errors": 0, "source_hash": "2aad4b51c02433e0e7b317e135e8ca49fa125e3d6bd57681c4d313f817590081", "categorized_nodes": 239}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "#ifndef WINDOW...
8,157
c
#include <stdio.h> main(){ int *ptr; int k; k=7; printf("Isi variabel k = %d",k); printf("\nAlamat variabel k = %d",&k); printf("\nAlamat variabel *ptr = %d",&ptr); printf("\nIsi variabel *ptr = %d",ptr); ptr=&k; printf("\nAlamat variabel *ptr = %d",&ptr); printf("\n...
25.44
16
(translation_unit) "#include <stdio.h> \n \nmain(){ \n int *ptr; \n int k; \n k=7; \n printf("Isi variabel k = %d",k); \n printf("\nAlamat variabel k = %d",&k); \n printf("\nAlamat variabel *ptr = %d",&ptr); \n printf("\nIsi variabel *ptr = %d",ptr); \n ptr=&k; \n printf("\nAlamat variabel *p...
156
0
{"language": "c", "success": true, "metadata": {"lines": 16, "avg_line_length": 25.44, "nodes": 75, "errors": 0, "source_hash": "d4d5adf578b1e0a2e064456a9d809a5309d27ead635765448767d91d3cb31ccc", "categorized_nodes": 52}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
8,158
c
/* * Copyright (c) 2019, <NAME>. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditio...
35.54
179
(translation_unit) "/*\n * Copyright (c) 2019, <NAME>.\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions are met:\n * 1. Redistributions of source code must retain the above copyright\n * no...
1,140
2
{"language": "c", "success": true, "metadata": {"lines": 179, "avg_line_length": 35.54, "nodes": 663, "errors": 0, "source_hash": "d6975e197f74e9d3c7fdf5def3c9e0f454784693ccdec941093bc2aaf50db192", "categorized_nodes": 473}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
8,159
c
#ifndef TIPPSE_FILETYPE_LUA_H #define TIPPSE_FILETYPE_LUA_H #include <stdlib.h> #include "../types.h" #include "../filetype.h" struct file_type_lua { struct file_type vtbl; struct trie_node* keywords; }; struct file_type* file_type_lua_create(struct config* config, const char* type_name); void file_type_lua_de...
34.71
14
(translation_unit) "#ifndef TIPPSE_FILETYPE_LUA_H\n#define TIPPSE_FILETYPE_LUA_H\n\n#include <stdlib.h>\n#include "../types.h"\n\n#include "../filetype.h"\n\nstruct file_type_lua {\n struct file_type vtbl;\n\n struct trie_node* keywords;\n};\n\nstruct file_type* file_type_lua_create(struct config* config, const char*...
116
0
{"language": "c", "success": true, "metadata": {"lines": 14, "avg_line_length": 34.71, "nodes": 85, "errors": 0, "source_hash": "27ce7bb6042b3fc38b06abc0a8c69d32a166ea71f4d3ac42bc7e7ad2b3be2c05", "categorized_nodes": 60}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
8,160
c
/* * Includes del sistema */ #include <sys/types.h> #include <sys/socket.h> #include <sys/un.h> #include <netinet/in.h> #include <netdb.h> #include <stdlib.h> #include <stdio.h> /* * Conecta con un servidor Unix, en la misma maquina. * Devuelve descriptor de socket si todo es correcto, -1 si hay error. */ int Abre_Con...
20.76
71
(translation_unit) "/*\n* Includes del sistema\n*/\n#include <sys/types.h>\n#include <sys/socket.h>\n#include <sys/un.h>\n#include <netinet/in.h>\n#include <netdb.h>\n#include <stdlib.h>\n#include <stdio.h>\n\n/*\n* Conecta con un servidor Unix, en la misma maquina.\n* Devuelve descriptor de socket si todo es correcto,...
394
0
{"language": "c", "success": true, "metadata": {"lines": 71, "avg_line_length": 20.76, "nodes": 252, "errors": 0, "source_hash": "bf954cee16b5983450baad80d3a4922907bb2cab09b2a9e1ccfb41acd59ba365", "categorized_nodes": 196}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
8,161
c
# include<stdio.h>//插入輸入輸出標頭檔案 # include<string.h>//字元陣列的函式定義的標頭檔案 # include<stdlib.h>//stdlib 標頭檔案即standard library標準庫標頭檔案stdlib 標頭檔案裡包含了C、C++語言的最常用的系統函式該 ,檔案包含了C語言標準庫函式的定義. # define SPA 0//在C或C++語言源程式中允許用一個識別符號來表示一個字串,稱為“巨集”。 “define”為巨集定義命令。 # define MAN 1 # define COM 2 /* 空位置設為0 ,玩家下的位置設為1 ,電腦下的位置設為2 */ #define O...
29.03
320
(translation_unit) "# include<stdio.h>//插入輸入輸出標頭檔案\n# include<string.h>//字元陣列的函式定義的標頭檔案\n# include<stdlib.h>//stdlib 標頭檔案即standard library標準庫標頭檔案stdlib 標頭檔案裡包含了C、C++語言的最常用的系統函式該 ,檔案包含了C語言標準庫函式的定義.\n# define SPA 0//在C或C++語言源程式中允許用一個識別符號來表示一個字串,稱為“巨集”。 “define”為巨集定義命令。\n# define MAN 1\n# define COM 2\n /* 空位置設為0 ,玩家下的位置設...
4,740
0
{"language": "c", "success": true, "metadata": {"lines": 320, "avg_line_length": 29.03, "nodes": 2797, "errors": 0, "source_hash": "2668857176e02047b3b6a94985eb364728c5a58717eb32a610558b2d44b7f79c", "categorized_nodes": 2024}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#...
8,162
c
// // UIImage+Gradient.h // SUAI_Navigation // // Created by Виктор on 13.07.17. // Copyright © 2017 Viktor. All rights reserved. // #import <UIKit/UIKit.h> @interface UIImage (Gradient) + (UIImage *)imageFromLayer:(CALayer *)layer; @end
21
11
(translation_unit) "//\n// UIImage+Gradient.h\n// SUAI_Navigation\n//\n// Created by Виктор on 13.07.17.\n// Copyright © 2017 Viktor. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface UIImage (Gradient)\n\n+ (UIImage *)imageFromLayer:(CALayer *)layer;\n\n@end\n" (comment) "//" (comment) "// UII...
45
5
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 21.0, "nodes": 25, "errors": 0, "source_hash": "e3ba1ce236372355d0dfa713d35fc102db4abbe977cd2a3a37b3d9374873a7f5", "categorized_nodes": 13}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": " <UIKit/UI...
8,163
c
/** * \author <NAME> <EMAIL> * \brief Definitions of helper methods for plasma_properties. * \date 03/29/2015 06:13:03 AM * \file properties.c * \version 1.0 * * **/ #include <errno.h> /* E2BIG, EINVAL, ENOTSUP, ERANGE */ #include <ionize/error.h> /* ionize_status */ #include <plas...
27.59
44
(translation_unit) "/**\n * \author <NAME> <EMAIL>\n * \brief Definitions of helper methods for plasma_properties.\n * \date 03/29/2015 06:13:03 AM\n * \file properties.c\n * \version 1.0\n *\n *\n **/\n\n#include <errno.h> /* E2BIG, EINVAL, ENOTSUP, ERANGE */\n#include <ionize/error.h> /* ...
180
0
{"language": "c", "success": true, "metadata": {"lines": 44, "avg_line_length": 27.59, "nodes": 99, "errors": 0, "source_hash": "0eed45afb7b42883a6953e2f6936b9124c26127b684010f8a5bd05e31ae43cb1", "categorized_nodes": 87}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
8,164
c
// // AFBaseTableCell.h // AppFactory // // Created by alan on 2017/10/3. // Copyright © 2017年 alan. All rights reserved. // #import <Foundation/Foundation.h> #import <UIKit/UIKit.h> typedef enum : NSUInteger { CellHighllightStyleDefault = 0, CellHighlightStyleNone } CellHighlightStyle; #define kSeparat...
32.83
23
(translation_unit) "//\n// AFBaseTableCell.h\n// AppFactory\n//\n// Created by alan on 2017/10/3.\n// Copyright © 2017年 alan. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n#import <UIKit/UIKit.h>\n\ntypedef enum : NSUInteger {\n CellHighllightStyleDefault = 0,\n CellHighlightStyleNone\n} Cell...
164
29
{"language": "c", "success": true, "metadata": {"lines": 23, "avg_line_length": 32.83, "nodes": 120, "errors": 0, "source_hash": "bdb64ac795b6be9f72b946423480642bf5f24d1a6dfa9a8a7d149f5e0d781473", "categorized_nodes": 64}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "port <Fo...
8,165
c
// // Generated by class-dump 3.5 (64 bit) (Debug version compiled Sep 9 2019 14:18:44). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by <NAME>. // #import <UIKit/UIView.h> @interface UIView (TVPreviewTableViewControllerAdditions) @property(nonatomic, getter=isPreviewPaused) _Bool previe...
35.89
9
(translation_unit) "//\n// Generated by class-dump 3.5 (64 bit) (Debug version compiled Sep 9 2019 14:18:44).\n//\n// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by <NAME>.\n//\n\n#import <UIKit/UIView.h>\n\n@interface UIView (TVPreviewTableViewControllerAdditions)\n@property(nonatomic, getter=...
40
8
{"language": "c", "success": true, "metadata": {"lines": 9, "avg_line_length": 35.89, "nodes": 27, "errors": 0, "source_hash": "fd31f598c2d4455d21d154a1ff8065ebf810bf310fce39565b84c83e8d9adc2c", "categorized_nodes": 13}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <U...
8,166
c
/* * Copyright (C) 2000 - 2007 <NAME> (<EMAIL>) * Licensed under the GPL */ #ifndef __UM_ELF_I386_H #define __UM_ELF_I386_H #include <asm/user.h> #include "skas.h" #define R_386_NONE 0 #define R_386_32 1 #define R_386_PC32 2 #define R_386_GOT32 3 #define R_386_PLT32 4 #define R_386_COPY 5 #define R_386_GLOB_DAT 6 ...
45.22
105
(translation_unit) "/*\n * Copyright (C) 2000 - 2007 <NAME> (<EMAIL>)\n * Licensed under the GPL\n */\n#ifndef __UM_ELF_I386_H\n#define __UM_ELF_I386_H\n\n#include <asm/user.h>\n#include "skas.h"\n\n#define R_386_NONE 0\n#define R_386_32 1\n#define R_386_PC32 2\n#define R_386_GOT32 3\n#define R_386_PLT32 4\n#define R_3...
429
2
{"language": "c", "success": true, "metadata": {"lines": 105, "avg_line_length": 45.22, "nodes": 324, "errors": 0, "source_hash": "c42ffcb594c3d4783bb338b90ff135927a17df208110068a655ccdb4644e8dce", "categorized_nodes": 169}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
8,167
c
//************************************************************* // // Microsoft Confidential. Copyright (c) Microsoft Corporation 1999. All rights reserved // // File: RsopInc.h // // Description: Headers for utility functions // // History: 8-26-99 NishadM Created // //***********************...
32.51
263
(translation_unit) "//************************************************************* \n// \n// Microsoft Confidential. Copyright (c) Microsoft Corporation 1999. All rights reserved \n// \n// File: RsopInc.h \n// \n// Description: Headers for utility functions \n// \n// History: 8-26-99 NishadM Created \n...
758
3
{"language": "c", "success": true, "metadata": {"lines": 263, "avg_line_length": 32.51, "nodes": 583, "errors": 0, "source_hash": "53d3ce408e2e01172821507c837dfabcab0c72986c3b0b3f576a0eced0962206", "categorized_nodes": 318}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "#ifndef __RSO...
8,168
c
// Geometric Tools, Inc. // http://www.geometrictools.com // Copyright (c) 1998-2006. All Rights Reserved // // The Wild Magic Version 4 Foundation Library source code is supplied // under the terms of the license agreement // http://www.geometrictools.com/License/Wm4FoundationLicense.pdf // and may not be copied ...
36.27
55
(translation_unit) "// Geometric Tools, Inc.\n// http://www.geometrictools.com\n// Copyright (c) 1998-2006. All Rights Reserved\n//\n// The Wild Magic Version 4 Foundation Library source code is supplied\n// under the terms of the license agreement\n// http://www.geometrictools.com/License/Wm4FoundationLicense.pdf...
354
28
{"language": "c", "success": true, "metadata": {"lines": 55, "avg_line_length": 36.27, "nodes": 221, "errors": 0, "source_hash": "09fd0ac1beccffed450f21dcdd2e7f4b739c6e349ea611ac140ecd9c161f39bb", "categorized_nodes": 128}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
8,169
c
///////////////////////////////////////////////////////////////////////// //Class PoseChecker: //Function: check the pose points after the PoseDetector //Author: <NAME> //Created at 2021-03-31 /////////////////////////////////////////////////////////////////////// #pragma once #include "commonincludes.h" struct Pe...
26.05
21
(translation_unit) "/////////////////////////////////////////////////////////////////////////\n//Class PoseChecker: \n//Function: check the pose points after the PoseDetector \n//Author: <NAME>\n//Created at 2021-03-31\n///////////////////////////////////////////////////////////////////////\n\n#pragma once\n#include "c...
70
2
{"language": "c", "success": true, "metadata": {"lines": 21, "avg_line_length": 26.05, "nodes": 34, "errors": 0, "source_hash": "b2e650ba96ed9cca3af927377215789d2035d4d5af7a81a0218d918f529acf72", "categorized_nodes": 24}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
8,170
c
int32_t acc = RD; for(int i = xlen/16 - 1; i >= 0; i--) acc += sext16(RS1_H(i)) * sext16(RS2_H(0)); WRITE_RD(sext_xlen(acc));
31
4
(translation_unit) "int32_t acc = RD;\n\nfor(int i = xlen/16 - 1; i >= 0; i--)\n acc += sext16(RS1_H(i)) * sext16(RS2_H(0));\n\nWRITE_RD(sext_xlen(acc));\n" (declaration) "int32_t acc = RD;" (primitive_type) "int32_t" (init_declarator) "acc = RD" (identifier) "acc" (=) "=" (identifier) "RD"...
75
0
{"language": "c", "success": true, "metadata": {"lines": 4, "avg_line_length": 31.0, "nodes": 52, "errors": 0, "source_hash": "a351287a89aab1addf6613a03e40442f96f02d685dcc1e7829b519ec0aefd040", "categorized_nodes": 34}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "declaration", "text": "int32_t acc ...
8,171
c
// // ViewController.h // Contacts // // Created by <NAME> on 12/13/17. // Copyright © 2017 Ollis. All rights reserved. // #import <UIKit/UIKit.h> @interface ContactsViewController : UITableViewController @end
18.55
11
(translation_unit) "//\n// ViewController.h\n// Contacts\n//\n// Created by <NAME> on 12/13/17.\n// Copyright © 2017 Ollis. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface ContactsViewController : UITableViewController\n\n\n@end\n\n" (comment) "//" (comment) "// ViewController.h" (comment) ...
19
3
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 18.55, "nodes": 9, "errors": 0, "source_hash": "83818c029d4bc6a8ad3a724d6f3c9d47365f4e28fb558bf9bc79ca07621d14f6", "categorized_nodes": 5}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <UIK...
8,172
c
/*- * SPDX-License-Identifier: BSD-2-Clause-FreeBSD * * Copyright (c) 2005 <NAME>. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the abov...
27.84
200
(translation_unit) "/*-\n * SPDX-License-Identifier: BSD-2-Clause-FreeBSD\n *\n * Copyright (c) 2005 <NAME>. All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions\n * are met:\n * 1. Redistributions of sour...
1,478
0
{"language": "c", "success": true, "metadata": {"lines": 200, "avg_line_length": 27.84, "nodes": 941, "errors": 0, "source_hash": "b2d11c8b0714e4856beb50ae8d2a369c71fc0e203127927f06e458937aef7a87", "categorized_nodes": 668}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
8,173
c
// // NSString+IPaSecurity.h // IPaSecurity // // Created by IPaPa on 13/2/7. // Copyright (c) 2013 IPaPa. All rights reserved. // #import <Foundation/Foundation.h> @interface NSString (IPaSecurity) -(NSString*) SHA1String; -(NSString*) SHA256String; -(NSString*) MD5String; -(NSString*)stringWithURLEncode; @end
21.64
14
(translation_unit) "//\n// NSString+IPaSecurity.h\n// IPaSecurity\n//\n// Created by IPaPa on 13/2/7.\n// Copyright (c) 2013 IPaPa. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n\n@interface NSString (IPaSecurity)\n-(NSString*) SHA1String;\n-(NSString*) SHA256String;\n-(NSString*) MD5String;\n-(NSS...
73
4
{"language": "c", "success": true, "metadata": {"lines": 14, "avg_line_length": 21.64, "nodes": 44, "errors": 0, "source_hash": "90153a839b2ad03aeb6a1866effa6b74ed7a80a8a47d9357d2db85665d2b294b", "categorized_nodes": 21}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <...
8,174
c
// @(#)root/thread:$Id$ // Author: <NAME> 20/09/2011 /************************************************************************* * Copyright (C) 1995-2011, <NAME> and <NAME>. * * All rights reserved. * * ...
38.21
303
(translation_unit) "// @(#)root/thread:$Id$\n// Author: <NAME> 20/09/2011\n\n/*************************************************************************\n * Copyright (C) 1995-2011, <NAME> and <NAME>. *\n * All rights reserved. *\n * ...
2,188
82
{"language": "c", "success": true, "metadata": {"lines": 303, "avg_line_length": 38.21, "nodes": 1201, "errors": 0, "source_hash": "a93679de48c1db9b23db438511910baa74145ea74fd741b27f772e27f8b41b33", "categorized_nodes": 841}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifn...
8,175
c
#import <Foundation/Foundation.h> @class SSDP; static const NSString *SSDP_DISCOVER_IP = @"172.16.58.3"; static const NSUInteger SSDP_DISCOVER_PORT = 1900; static const NSString *SSDP_DISCOVER_DEVICES = @"M-SEARCH * HTTP/1.1\r\n\ HOST: %@:%d\r\n\ Man: \"ssdp:discover\"\r\n\ MX: 1\r\n\ ST: urn:dial-multiscr...
32.24
17
(translation_unit) "#import <Foundation/Foundation.h>\n\n@class SSDP;\n\nstatic const NSString *SSDP_DISCOVER_IP = @"172.16.58.3";\nstatic const NSUInteger SSDP_DISCOVER_PORT = 1900;\n\nstatic const NSString *SSDP_DISCOVER_DEVICES = @"M-SEARCH * HTTP/1.1\r\n\\nHOST: %@:%d\r\n\\nMan: \"ssdp:discover\"\r\n\\nMX...
196
22
{"language": "c", "success": true, "metadata": {"lines": 17, "avg_line_length": 32.24, "nodes": 129, "errors": 0, "source_hash": "4d91415552c522926f82f8185292cfc812c211df82130a82d54acb18145459e5", "categorized_nodes": 59}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import ...
8,176
c
#include <unistd.h> #include <errno.h> #include <sys/syscall.h> #include <bfin_sram.h> _syscall2 (__ptr_t, sram_alloc, size_t, len, unsigned long, flags)
29.8
5
(translation_unit) "#include <unistd.h>\n#include <errno.h>\n#include <sys/syscall.h>\n#include <bfin_sram.h>\n\n_syscall2 (__ptr_t, sram_alloc, size_t, len, unsigned long, flags)\n" (preproc_include) "#include <unistd.h>\n" (#include) "#include" (system_lib_string) "<unistd.h>" (preproc_include) "#include ...
33
1
{"language": "c", "success": true, "metadata": {"lines": 5, "avg_line_length": 29.8, "nodes": 23, "errors": 0, "source_hash": "b608adb77c61ac5e4f3a6da1b5f747d33424645393f035a01ebf4b2f58c9a74a", "categorized_nodes": 21}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#include...
8,177
c
#include "sxsoaps_i.c"
22
1
(translation_unit) "#include "sxsoaps_i.c" \n" (preproc_include) "#include "sxsoaps_i.c" \n" (#include) "#include" (string_literal) ""sxsoaps_i.c"" (") """ (string_content) "sxsoaps_i.c" (") """
7
0
{"language": "c", "success": true, "metadata": {"lines": 1, "avg_line_length": 22.0, "nodes": 3, "errors": 0, "source_hash": "ac06969004614152ae9124b7268f8d68d4bfc6c0bb37f6f0ebf2615d7c2d71ce", "categorized_nodes": 3}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#include \...
8,178
c
// Copyright (c) 2021 <NAME>. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // This is a public API for writing Gate runtime libraries. (It is really only // suitable for supporting tests.) #include <stdint.h> #ifdef __cplusplus extern "...
33.2
20
(translation_unit) "// Copyright (c) 2021 <NAME>. All rights reserved.\n// Use of this source code is governed by a BSD-style\n// license that can be found in the LICENSE file.\n\n// This is a public API for writing Gate runtime libraries. (It is really only\n// suitable for supporting tests.)\n\n#include <stdint.h>\n...
91
0
{"language": "c", "success": true, "metadata": {"lines": 20, "avg_line_length": 33.2, "nodes": 56, "errors": 0, "source_hash": "c8a4e982eb726771c8534fabb5f672b11124e9a4c90d8c1401b7f216497c81ae", "categorized_nodes": 37}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#includ...
8,179
c
//============================================================================ // Copyright [2013] <NFC> // Name : NfcWrite.h // Author : TriggerHuang // Description : Example Application of NFC Project //============================================================================ #pragma once #include <g...
29.69
124
(translation_unit) "//============================================================================\n// Copyright [2013] <NFC>\n// Name : NfcWrite.h\n// Author : TriggerHuang\n// Description : Example Application of NFC Project\n//============================================================================\n...
950
66
{"language": "c", "success": true, "metadata": {"lines": 124, "avg_line_length": 29.69, "nodes": 563, "errors": 0, "source_hash": "2b4824c812a6544bf85736aad7d50b2098a15ea1fffe21dc34d79fb1aab83538", "categorized_nodes": 371}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragm...
8,180
c
/* Generated by RuntimeBrowser Image: /System/Library/PrivateFrameworks/ViewBridge.framework/Versions/A/ViewBridge */ @interface NSVB_ViewServiceReplyControlTrampoline : NSVB_TargetedProxy - (void)_forwardInvocation:(id)arg1 withIncomingReplyDispatchBlock:(id)arg2; - (void)forwardInvocation:(id)arg1; @end
43.43
7
(translation_unit) "/* Generated by RuntimeBrowser\n Image: /System/Library/PrivateFrameworks/ViewBridge.framework/Versions/A/ViewBridge\n */\n\n@interface NSVB_ViewServiceReplyControlTrampoline : NSVB_TargetedProxy\n\n- (void)_forwardInvocation:(id)arg1 withIncomingReplyDispatchBlock:(id)arg2;\n- (void)forwardInvoca...
54
6
{"language": "c", "success": true, "metadata": {"lines": 7, "avg_line_length": 43.43, "nodes": 31, "errors": 0, "source_hash": "b9456e9c26fd272b04741735d40f4058916e0cbe64a2f2e73aca3dea41cacd6d", "categorized_nodes": 18}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "@interface NSVB_V...
8,181
c
/*Prints the pattern 1 2 3 4 5 6 7 8 9 10 . */ #include <stdio.h> int main() { int i, j, rows ,num=1; printf("Enter number of rows: "); scanf("%d",&rows); for(i=1; i<=rows; i++) { for(j=1; j<=i; j++) { printf("%3d ",num); num++; } printf("\n"...
13.29
24
(translation_unit) "/*Prints the pattern\n1\n2 3\n4 5 6\n7 8 9 10\n.\n*/\n#include <stdio.h>\nint main()\n{\n int i, j, rows ,num=1;\n\n printf("Enter number of rows: ");\n scanf("%d",&rows);\n\n for(i=1; i<=rows; i++)\n {\n for(j=1; j<=i; j++)\n {\n printf("%3d ",num);\n ...
127
0
{"language": "c", "success": true, "metadata": {"lines": 24, "avg_line_length": 13.29, "nodes": 66, "errors": 0, "source_hash": "c97692b4d091fc0b5be1f98113bf304d2ae4e05b9d4c06e5832a6eb4b10535fe", "categorized_nodes": 49}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
8,182
c
#pragma once #include <opencv2/dnn.hpp> #include <opencv2/imgproc.hpp> #include <opencv2/highgui.hpp> #include "davWave.h" #include "davImpl.h" #include "objDetect.h" #include "objDetectPeerDynaEvent.h" namespace ff_dynamic { /* options passing use AVDictionary */ class CvDnnDetect : public DavImpl { public: Cv...
34.98
40
(translation_unit) "#pragma once\n\n#include <opencv2/dnn.hpp>\n#include <opencv2/imgproc.hpp>\n#include <opencv2/highgui.hpp>\n#include "davWave.h"\n#include "davImpl.h"\n\n#include "objDetect.h"\n#include "objDetectPeerDynaEvent.h"\n\nnamespace ff_dynamic {\n\n/* options passing use AVDictionary */\nclass CvDnnDetect...
369
23
{"language": "c", "success": true, "metadata": {"lines": 40, "avg_line_length": 34.98, "nodes": 208, "errors": 0, "source_hash": "69a5e649f334045ab3f683fbc90f676abc23b31ee9768fc404a7d76b025e9dca", "categorized_nodes": 149}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
8,183
c
// // Generated by classdumpios 1.0.1 (64 bit) (iOS port by DreamDevLost)(Debug version compiled Sep 26 2020 13:48:20). // // Copyright (C) 1997-2019 <NAME>. // #import "B238SetupBaseViewController.h" @class SVSHighlightButton, UILabel, _TtC18SharingViewService20SVSAdjustedImageView; @interface B238SetupStereoP...
43.42
19
(translation_unit) "//\n// Generated by classdumpios 1.0.1 (64 bit) (iOS port by DreamDevLost)(Debug version compiled Sep 26 2020 13:48:20).\n//\n// Copyright (C) 1997-2019 <NAME>.\n//\n\n#import "B238SetupBaseViewController.h"\n\n@class SVSHighlightButton, UILabel, _TtC18SharingViewService20SVSAdjustedImageView;\...
137
12
{"language": "c", "success": true, "metadata": {"lines": 19, "avg_line_length": 43.42, "nodes": 75, "errors": 0, "source_hash": "830ed2f2796b934f7d67fd345022792321f264674c82542f4efef560fe518e91", "categorized_nodes": 41}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import \...
8,184
c
// Copyright (c) by respective owners including Yahoo!, Microsoft, and // individual contributors. All rights reserved. Released under a BSD (revised) // license as described in the file LICENSE. #include <iterator> #include <cstddef> namespace VW { // This is a bit non-idiomatic but this class's value type is the it...
36.81
95
(translation_unit) "// Copyright (c) by respective owners including Yahoo!, Microsoft, and\n// individual contributors. All rights reserved. Released under a BSD (revised)\n// license as described in the file LICENSE.\n\n#include <iterator>\n#include <cstddef>\n\nnamespace VW\n{\n// This is a bit non-idiomatic but this...
825
30
{"language": "c", "success": true, "metadata": {"lines": 95, "avg_line_length": 36.81, "nodes": 496, "errors": 0, "source_hash": "6a3d789d681675d09e9afede36161e5b9795cdf1c83ee0bc3b7809866357a15f", "categorized_nodes": 364}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
8,185
c
// // AppDelegate.h // OCAvoidNilCategory // // Created by lianxiang on 2017/9/15. // Copyright © 2017年 lianxiangpro. All rights reserved. // #import <UIKit/UIKit.h> @interface AppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWindow *window; @end
22.75
12
(translation_unit) "//\n// AppDelegate.h\n// OCAvoidNilCategory\n//\n// Created by lianxiang on 2017/9/15.\n// Copyright © 2017年 lianxiangpro. 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@...
39
6
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 22.75, "nodes": 26, "errors": 0, "source_hash": "eaa057f08c60c52a5fa41e555dac8df2a8dbcbf5104660841b7d0ceb75fc2341", "categorized_nodes": 13}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "port <UIK...
8,186
c
// // UIImage+JLStoryStyle.h // Talk // // Created by 王卫 on 15/11/13. // Copyright © 2015年 Teambition. All rights reserved. // #import <UIKit/UIKit.h> @interface UIImage (JLStoryStyle) - (void)scrollView:(UIScrollView *)scrollView layoutSubviews:(NSArray *)subviews inFrame:(CGRect)frame; @end
26.09
11
(translation_unit) "//\n// UIImage+JLStoryStyle.h\n// Talk\n//\n// Created by 王卫 on 15/11/13.\n// Copyright © 2015年 Teambition. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface UIImage (JLStoryStyle)\n\n- (void)scrollView:(UIScrollView *)scrollView layoutSubviews:(NSArray *)subviews inFrame:(CGRect...
54
5
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 26.09, "nodes": 31, "errors": 0, "source_hash": "4200f479886ee5db8996204671395b492a82dc210772bb1d7330a68a6772f00a", "categorized_nodes": 19}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": " <UIKit/U...
8,187
c
// Copyright (c) 2015-2019 The HomeKit ADK Contributors // // Licensed under the Apache License, Version 2.0 (the “License”); // you may not use this file except in compliance with the License. // See [CONTRIBUTORS.md] for the list of HomeKit ADK project authors. #ifndef HAP_PLATFORM_MFI_TOKEN_AUTH_INIT_H #define HAP_...
24.38
40
(translation_unit) "// Copyright (c) 2015-2019 The HomeKit ADK Contributors\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// See [CONTRIBUTORS.md] for the list of HomeKit ADK project authors.\n\n#ifndef HAP_PLATFORM_MFI_TOKE...
100
0
{"language": "c", "success": true, "metadata": {"lines": 40, "avg_line_length": 24.38, "nodes": 61, "errors": 0, "source_hash": "1914776adce2980bc7467056a18a22cf15aa3cae0714303a5930f19f56cf3999", "categorized_nodes": 47}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "def HAP_...
8,188
c
/********************************************************************************************/ /* Montage Technology (Shanghai) Co., Ltd. */ /* Montage Proprietary and Confidential */ /* Copyright (c) 2014 Montage Techn...
19.56
197
(translation_unit) "/********************************************************************************************/\n/* Montage Technology (Shanghai) Co., Ltd. */\n/* Montage Proprietary and Confidential */\n/* Copyright...
1,145
0
{"language": "c", "success": true, "metadata": {"lines": 197, "avg_line_length": 19.56, "nodes": 702, "errors": 0, "source_hash": "41eebc4fb6ac743b3e554d3f829f5606ef2da947b1aa0d359c7dad2338356789", "categorized_nodes": 537}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
8,189
c
/* Generated by RuntimeBrowser Image: /System/Library/PrivateFrameworks/Sharing.framework/Sharing */ @interface AWDSharingProximityPairingTriggered : PBCodable <NSCopying> { int _deviceRole; int _deviceSide; struct { unsigned int timestamp : 1; unsigned int deviceRole : 1; ...
31.23
94
(translation_unit) "/* Generated by RuntimeBrowser\n Image: /System/Library/PrivateFrameworks/Sharing.framework/Sharing\n */\n\n@interface AWDSharingProximityPairingTriggered : PBCodable <NSCopying> {\n int _deviceRole;\n int _deviceSide;\n struct { \n unsigned int timestamp : 1; \n unsigned ...
1,066
87
{"language": "c", "success": true, "metadata": {"lines": 94, "avg_line_length": 31.23, "nodes": 688, "errors": 0, "source_hash": "6b59d9afeb86449dc4b0eb6a133fd28f1e37f08a41e6831120ce9121834bbce4", "categorized_nodes": 384}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "@", "parent": ...
8,190
c
/****************************************************************************** ** File: cfe_psp_support.c ** ** ** Copyright (c) 2004-2006, United States government as represented by the ** administrator of the National Aeronautics Space Administration. ** All rights reserved. This software(cFE) was cr...
21.77
257
(translation_unit) "/******************************************************************************\n** File: cfe_psp_support.c\n**\n**\n** Copyright (c) 2004-2006, United States government as represented by the\n** administrator of the National Aeronautics Space Administration.\n** All rights reserved....
465
0
{"language": "c", "success": true, "metadata": {"lines": 257, "avg_line_length": 21.77, "nodes": 229, "errors": 0, "source_hash": "c6a0de348214a74f3499e1f750257b5d92cbcaaff6119260fc834639f309d9c4", "categorized_nodes": 184}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
8,191
c
// Copyright 2016 <NAME> // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writin...
24.4
58
(translation_unit) "// Copyright 2016 <NAME>\n//\n// Licensed under the Apache License, Version 2.0 (the "License");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicabl...
275
6
{"language": "c", "success": true, "metadata": {"lines": 58, "avg_line_length": 24.4, "nodes": 158, "errors": 0, "source_hash": "9514a9fbe5d91b3d5ac856c4faa3a696b10958450afcc91c0491ce6a8ce8f86f", "categorized_nodes": 117}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
8,192
c
#include "my_math.h" char *itoa(int value, char *s){ int idx = 0; int tidx = 0; char tmp[10]; if(value < 0){ s[idx++] = '-'; value *= -1; } do { tmp[tidx++] = '0' + value % 10; value /= 10; } while (value != 0 && tidx < 11); for(int i = tidx-1; i >= 0 ; i--){ s[idx++] = tmp[i]; } s[...
22.89
100
(translation_unit) "#include "my_math.h"\n\nchar *itoa(int value, char *s){\n int idx = 0;\n int tidx = 0;\n char tmp[10];\n if(value < 0){\n s[idx++] = '-';\n value *= -1;\n }\n do {\n tmp[tidx++] = '0' + value % 10;\n value /= 10;\n } while (value != 0 && tidx < 11);\n for(int i = tidx-1; i >= 0 ; ...
936
1
{"language": "c", "success": true, "metadata": {"lines": 100, "avg_line_length": 22.89, "nodes": 627, "errors": 0, "source_hash": "a543e91f203763d43bb284936b996a6a6e6837796d66110685aba75438c21f2e", "categorized_nodes": 371}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
8,193
c
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* RomFS internal definitions * * Copyright © 2007 Red Hat, Inc. All Rights Reserved. * Written by <NAME> (<EMAIL>) */ #include <linux/romfs_fs.h> struct romfs_inode_info { struct inode vfs_inode; unsigned long i_metasize; /* size of non-data area */ unsigned lon...
29.3
37
(translation_unit) "/* SPDX-License-Identifier: GPL-2.0-or-later */\n/* RomFS internal definitions\n *\n * Copyright © 2007 Red Hat, Inc. All Rights Reserved.\n * Written by <NAME> (<EMAIL>)\n */\n\n#include <linux/romfs_fs.h>\n\nstruct romfs_inode_info {\n struct inode vfs_inode;\n unsigned long i_metasize; /* size of...
244
1
{"language": "c", "success": true, "metadata": {"lines": 37, "avg_line_length": 29.3, "nodes": 179, "errors": 0, "source_hash": "5fa9dacf499347bad9ee9a4c10d58fdf708ce5fa0422f92c071fd027a13db98b", "categorized_nodes": 115}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "inclu...
8,194
c
/* Author: <NAME> <<EMAIL>> Copyright (c) 2016 Cromulence LLC Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, m...
30.46
68
(translation_unit) "/*\n\nAuthor: <NAME> <<EMAIL>>\n\nCopyright (c) 2016 Cromulence LLC\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the "Software"), to deal\nin the Software without restriction, including without limitation the ri...
170
0
{"language": "c", "success": true, "metadata": {"lines": 68, "avg_line_length": 30.46, "nodes": 123, "errors": 0, "source_hash": "d171aac54dc39998bbab641530a1399651450d3a70c05814314ebb9afa0483b1", "categorized_nodes": 91}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
8,195
c
/** * @file * @author <NAME> * @date 14.10.2013 * * @brief Header file of probability density functions. */ #ifndef __ESTIMATION_PDFS_H__ #define __ESTIMATION_PDFS_H__ #include <Eigen/Dense> using namespace Eigen; /** * @brief Holds functions for working with random vectors. */ namespace probability { /**...
28.06
31
(translation_unit) "/**\n * @file \n * @author <NAME>\n * @date 14.10.2013\n *\n * @brief Header file of probability density functions.\n */\n\n#ifndef __ESTIMATION_PDFS_H__\n#define __ESTIMATION_PDFS_H__\n\n#include <Eigen/Dense>\nusing namespace Eigen;\n\n/**\n * @brief Holds functions for working with random vectors...
45
1
{"language": "c", "success": true, "metadata": {"lines": 31, "avg_line_length": 28.06, "nodes": 32, "errors": 0, "source_hash": "8c91d98d379574322a5c84a09dc754c3e99dd45c63d85c717352825972430139", "categorized_nodes": 27}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
8,196
c
// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2020-21 Intel Corporation. */ #include "iosm_ipc_pcie.h" #include "iosm_ipc_protocol.h" static void ipc_write_dbell_reg(struct iosm_pcie *ipc_pcie, int irq_n, u32 data) { void __iomem *write_reg; /* Select the first doorbell register, which is only curr...
28.04
73
(translation_unit) "// SPDX-License-Identifier: GPL-2.0-only\n/*\n * Copyright (C) 2020-21 Intel Corporation.\n */\n\n#include "iosm_ipc_pcie.h"\n#include "iosm_ipc_protocol.h"\n\nstatic void ipc_write_dbell_reg(struct iosm_pcie *ipc_pcie, int irq_n, u32 data)\n{\n void __iomem *write_reg;\n\n /* Select the first doorb...
545
3
{"language": "c", "success": true, "metadata": {"lines": 73, "avg_line_length": 28.04, "nodes": 349, "errors": 0, "source_hash": "ab06758b712080d95f1b82851ee95ec78501f83392c424c8f3d102acc9aaace5", "categorized_nodes": 255}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
8,197
c
#ifndef __wrapper_ResonanceGmZ_def_Pythia_8_212_h__ #define __wrapper_ResonanceGmZ_def_Pythia_8_212_h__ #include "identification.hpp" namespace CAT_3(BACKENDNAME,_,SAFE_VERSION) { namespace Pythia8 { // Member functions: // Wrappers for original constructors: ...
29.03
73
(translation_unit) "#ifndef __wrapper_ResonanceGmZ_def_Pythia_8_212_h__\n#define __wrapper_ResonanceGmZ_def_Pythia_8_212_h__\n\n\n\n#include "identification.hpp"\n\nnamespace CAT_3(BACKENDNAME,_,SAFE_VERSION)\n{\n \n namespace Pythia8\n {\n \n // Member functions: \n \n // Wrappers ...
459
16
{"language": "c", "success": true, "metadata": {"lines": 73, "avg_line_length": 29.03, "nodes": 249, "errors": 0, "source_hash": "516ba0e80b2aac816de70c03c2bc611141eee7a7291bb4e0b1ecdd59daf4d2a6", "categorized_nodes": 174}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
8,198
c
// Copyright (c) 2011-present, Facebook, Inc. All rights reserved. // This source code is licensed under both the GPLv2 (found in the // COPYING file in the root directory) and Apache 2.0 License // (found in the LICENSE.Apache file in the root directory). #pragma once #include <string> #include <vector> #inclu...
43.11
141
(ERROR) "// Copyright (c) 2011-present, Facebook, Inc. All rights reserved.\n// This source code is licensed under both the GPLv2 (found in the\n// COPYING file in the root directory) and Apache 2.0 License\n// (found in the LICENSE.Apache file in the root directory).\n\n#pragma once\n\n#include <string>\n#include...
933
74
{"language": "c", "success": true, "metadata": {"lines": 141, "avg_line_length": 43.11, "nodes": 545, "errors": 0, "source_hash": "6a932d08e25379fe5ff07fab1e7729dc265e10f9eee8bb45e2633f5502badbcb", "categorized_nodes": 372}, "ast": {"root": "ERROR", "nodes": [{"id": 0, "type": "ERROR", "text": "// Copyright (c) 2011-p...
8,199