language
stringclasses
1 value
code
stringlengths
6
12.3k
avg_line_length
float64
2.79
91
line_count
float64
1
367
lang_specific_parse
stringlengths
60
1.08M
ast_node_count
int64
2
6.81k
num_errors
int64
0
499
universal_schema
stringlengths
799
825k
__index_level_0__
int64
0
81.2k
c
/* Copyright (c) 2012, The Linux Foundation. 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 version 2 and * only version 2 as published by the Free Software Foundation. * * This program is distributed in the hope...
42.7
20
(translation_unit) "/* Copyright (c) 2012, The Linux Foundation. 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 version 2 and\n * only version 2 as published by the Free Software Foundation.\n *\n * This program ...
27
0
{"language": "c", "success": true, "metadata": {"lines": 20, "avg_line_length": 42.7, "nodes": 23, "errors": 0, "source_hash": "6b0eb71831f60ba7197e9cc85706a6c24784793e5d0d0feaee6add66966fdc71", "categorized_nodes": 9}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef __...
13,200
c
#include <stdio.h> #include <stdlib.h> #include <arpa/inet.h> #include <sys/types.h> #include <sys/socket.h> #include <unistd.h> int main(int argc, char** argv) { int sd; int port=8080; struct sockaddr_in addr; if ( argc != 2 ) printf("usage: %s <portnum>\n...Using default port (%d).\n", argv[0], port); else {...
26.68
40
(translation_unit) "#include <stdio.h>\n#include <stdlib.h>\n#include <arpa/inet.h>\n#include <sys/types.h>\n#include <sys/socket.h>\n#include <unistd.h>\n\nint main(int argc, char** argv) {\n int sd;\n int port=8080;\n struct sockaddr_in addr;\n\n if ( argc != 2 )\n printf("usage: %s <portnum>\n...Using default port ...
416
0
{"language": "c", "success": true, "metadata": {"lines": 40, "avg_line_length": 26.68, "nodes": 233, "errors": 0, "source_hash": "236a80adae117b45d6b159fba295f4bacaf551e4da2273d646f7c269ff25010b", "categorized_nodes": 177}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
13,201
c
#include <stdio.h> #include "output.h" void jsonc_print_html_header() { puts("<!DOCTYPE html>\n"); puts("<html>\n"); puts("<head>\n"); puts("<style>\n"); jsonc_print_html_css(); puts("</style>\n"); puts("</head>\n"); puts("<body>\n"); } void jsonc_print_html_footer() { puts("</body>\n"); puts("</html>\...
33.79
98
(translation_unit) "#include <stdio.h>\n\n#include "output.h"\n\nvoid jsonc_print_html_header() {\n puts("<!DOCTYPE html>\n");\n puts("<html>\n");\n puts("<head>\n");\n\n puts("<style>\n");\n jsonc_print_html_css();\n puts("</style>\n");\n\n puts("</head>\n");\n puts("<body>\n");\n}\nvoid jsonc_print_html_footer() {...
1,118
0
{"language": "c", "success": true, "metadata": {"lines": 98, "avg_line_length": 33.79, "nodes": 538, "errors": 0, "source_hash": "8da10a07eba04a89b125a6d4f6e27e2cf7e4bf82cc10614e820a225d2b3c859f", "categorized_nodes": 388}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
13,202
c
#pragma once #include "Engine/System/MemoryManager.h" namespace BIGOS { struct SystemInfo { SystemMemoryInfo memoryInfo; }; class System { public: static void Init(); static void Shutdown(); static SystemInfo GetSystemInfo() { return s_SystemInfo; } private: static SystemInfo s_SystemInfo; private...
17.68
19
(translation_unit) "#pragma once\n#include "Engine/System/MemoryManager.h"\n\nnamespace BIGOS {\n\n struct SystemInfo\n {\n SystemMemoryInfo memoryInfo;\n };\n\n class System\n {\n public:\n static void Init();\n static void Shutdown();\n\n static SystemInfo GetSystemInfo() { return s_SystemInfo; }\n private:\n st...
96
0
{"language": "c", "success": true, "metadata": {"lines": 19, "avg_line_length": 17.68, "nodes": 45, "errors": 0, "source_hash": "a72b52c80379642cbce1cfcf9e17e1974b90523630a7292bf58bea3c07b1cf91", "categorized_nodes": 33}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
13,203
c
#ifndef MAINWINDOW_H #define MAINWINDOW_H #include <QMainWindow> // #include <QMediaRecorder> // Needed for Camera #include <QCameraViewfinder> // #include <QApplication> #include <QLabel> #include <QString> #include <QtCore> #include <QImage> #include <QPixmap> /// Needed for OpenCV #include <...
20.24
100
(translation_unit) "#ifndef MAINWINDOW_H \n#define MAINWINDOW_H \n \n#include <QMainWindow> \n \n// \n#include <QMediaRecorder> \n \n// Needed for Camera \n#include <QCameraViewfinder> \n \n// \n#include <QApplication> \n#include <QLabel> \n#include <QString> \n#include <QtCore> \n#include <QImage> \n#include <QPixmap>...
277
11
{"language": "c", "success": true, "metadata": {"lines": 100, "avg_line_length": 20.24, "nodes": 192, "errors": 0, "source_hash": "a27dfe01f42169149c9a5e5504a3c2838e80493e0feac9cc40d16bdc33f35637", "categorized_nodes": 144}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
13,204
c
/* * This program is licenced under the same licence as Ruby. * (See the file 'LICENCE'.) * $Id: ossl_pkcs12.c 11708 2007-02-12 23:01:19Z shyouhei $ */ #include "ossl.h" #define WrapPKCS12(klass, obj, p12) do { \ if(!p12) ossl_raise(rb_eRuntimeError, "PKCS12 wasn't initialized."); \ obj = Data_Wrap_Struct(...
32.44
131
(translation_unit) "/*\n * This program is licenced under the same licence as Ruby.\n * (See the file 'LICENCE'.)\n * $Id: ossl_pkcs12.c 11708 2007-02-12 23:01:19Z shyouhei $\n */\n#include "ossl.h"\n\n#define WrapPKCS12(klass, obj, p12) do { \\n if(!p12) ossl_raise(rb_eRuntimeError, "PKCS12 wasn't initialized."); \...
1,288
3
{"language": "c", "success": true, "metadata": {"lines": 131, "avg_line_length": 32.44, "nodes": 764, "errors": 0, "source_hash": "a9e938acb234cdc1a8dfd314b060af2625865114f792b8183bdcba809bbbb882", "categorized_nodes": 537}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
13,205
c
/// /// \file timing.c /// Implementation of timing functions. /// /// \author <NAME> <<EMAIL>> /// \date 28.09.2007 // // This file is part of the ReconOS project <http://www.reconos.de>. // University of Paderborn, Computer Engineering Group. // // (C) Copyright University of Paderborn 2007. // #include ...
27.71
58
(translation_unit) "///\n/// \file timing.c\n/// Implementation of timing functions.\n///\n/// \author <NAME> <<EMAIL>>\n/// \date 28.09.2007\n//\n// This file is part of the ReconOS project <http://www.reconos.de>.\n// University of Paderborn, Computer Engineering Group.\n//\n// (C) Copyright University of...
279
0
{"language": "c", "success": true, "metadata": {"lines": 58, "avg_line_length": 27.71, "nodes": 176, "errors": 0, "source_hash": "3ad8d5aaed6957c94fee0756cd3631858903fc15bcd14710b7bb09d55d748880", "categorized_nodes": 126}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
13,206
c
#ifndef SOURCEPOS_H #define SOURCEPOS_H #include <string> using namespace std; class SourcePos { public: string file; int line; SourcePos(const string& f, int l); SourcePos(const SourcePos& that); SourcePos(); ~SourcePos(); string ToString() const; int Error(const char* fmt, ...) co...
21.55
20
(translation_unit) "#ifndef SOURCEPOS_H\n#define SOURCEPOS_H\n\n#include <string>\n\nusing namespace std;\n\nclass SourcePos\n{\npublic:\n string file;\n int line;\n\n SourcePos(const string& f, int l);\n SourcePos(const SourcePos& that);\n SourcePos();\n ~SourcePos();\n\n string ToString() const;\...
143
8
{"language": "c", "success": true, "metadata": {"lines": 20, "avg_line_length": 21.55, "nodes": 83, "errors": 0, "source_hash": "69063f9bcf21498045c0a51d500a3a76d41d79bbbf99c75f47b103809f330708", "categorized_nodes": 54}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
13,207
c
// // GSFastPass.h // FastPass iOS Test App // // Created by <NAME> on 3/22/15. // Copyright (c) 2015 <NAME>. All rights reserved. // #import <Foundation/Foundation.h> @interface GSFastPass : NSObject - (instancetype)initWithHost:(NSString *)host protocol:(NSString *)protocol ...
34.8
15
(translation_unit) "//\n// GSFastPass.h\n// FastPass iOS Test App\n//\n// Created by <NAME> on 3/22/15.\n// Copyright (c) 2015 <NAME>. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n\n@interface GSFastPass : NSObject\n\n- (instancetype)initWithHost:(NSString *)host\n protocol:(NSS...
115
16
{"language": "c", "success": true, "metadata": {"lines": 15, "avg_line_length": 34.8, "nodes": 69, "errors": 0, "source_hash": "c91df954919f958c235084c5ebf4647f47bd6587dcd9e7b07a24dfd2460e3f00", "categorized_nodes": 42}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <F...
13,208
c
//Edited by fandog, 01/31/2000 inherit ROOM; void create () { set ("short", "知府衙門"); set ("long", @LONG 一座大廈,硃紅的大門,門上釘着碗口大的銅釘,門外兩盞大燈籠, 一盞寫着“荊州府正堂”,另一盞寫着“凌府”。門前兩座石獅子。 LONG); set("exits", ([ "east" : __DIR__"datang", "west" : __DIR__"xijie3", ])); ...
22.86
22
(translation_unit) "//Edited by fandog, 01/31/2000\n\ninherit ROOM;\nvoid create ()\n{\n set ("short", "知府衙門");\n set ("long", @LONG\n一座大廈,硃紅的大門,門上釘着碗口大的銅釘,門外兩盞大燈籠,\n一盞寫着“荊州府正堂”,另一盞寫着“凌府”。門前兩座石獅子。\nLONG);\n set("exits", ([ \n "east" : __DIR__"datang",\n "west" : __DIR_...
192
15
{"language": "c", "success": true, "metadata": {"lines": 22, "avg_line_length": 22.86, "nodes": 87, "errors": 0, "source_hash": "5505ca47716788b3399a83d9817574c7a9d8552d24487535253e6b2163006e0c", "categorized_nodes": 61}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "declaration", "text": "inherit RO...
13,209
c
#include <std.h> #include "../elf.h" inherit MONSTER; int step; int guards; void reply_snarl(string str); void reply_yell(string str); void reply_ask(string str); void create() { ::create(); set_name("gatekeeper"); set_id( ({"gatekeeper","elf","feanor","Faenor"}) ); set_short("Feanor, Ashta'Rathai's Gate...
29.6
170
(translation_unit) "#include <std.h>\n#include "../elf.h"\ninherit MONSTER;\n\nint step;\nint guards;\n\nvoid reply_snarl(string str);\nvoid reply_yell(string str);\nvoid reply_ask(string str);\n\nvoid create() {\n ::create();\n set_name("gatekeeper");\n set_id( ({"gatekeeper","elf","feanor","Faenor"}) );\n set...
1,659
3
{"language": "c", "success": true, "metadata": {"lines": 170, "avg_line_length": 29.6, "nodes": 775, "errors": 0, "source_hash": "e9f6fe9006b92d92d7bca4222d0949bf1b931eec8b200f6886e3fe095da3ae6e", "categorized_nodes": 594}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
13,210
c
#define _CRT_SECURE_NO_WARNINGS #include <stdio.h> #include <stdlib.h> int read_r1(int *n, int **key, int **left, int **right) { int i; int *keyLocal; int *leftLocal, *rightLocal; scanf("%d", n); // n is same as &*n or *&n here. keyLocal = (int *)call...
26.88
116
(translation_unit) "#define _CRT_SECURE_NO_WARNINGS \n \n#include <stdio.h> \n#include <stdlib.h> \n \n \nint read_r1(int *n, int **key, int **left, int **right) { \n int i; \n int *keyLocal; \n int *leftLocal, *rightLocal; \n scanf("%d", n); // n is same as &*n or *&n he...
1,276
0
{"language": "c", "success": true, "metadata": {"lines": 116, "avg_line_length": 26.88, "nodes": 774, "errors": 0, "source_hash": "fe4d3b6d589dc7917a53965879f43a1c38cebcca450433586a27f27f056b6deb", "categorized_nodes": 493}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_def", "text": "#define...
13,211
c
// // FSCCDayView.h // NL // // Created by fudon on 16/8/4. // Copyright © 2016年 Fudongdong. All rights reserved. // #import <UIKit/UIKit.h> #define CCGreenColor [UIColor colorWithRed:100 / 255.0 green:170 / 255.0 blue:70 / 255.0 alpha:1] @class FSCCDayView; typedef void(^CCDayViewBlock)(FSCCDayView *bView); ...
33.41
22
(translation_unit) "//\n// FSCCDayView.h\n// NL\n//\n// Created by fudon on 16/8/4.\n// Copyright © 2016年 Fudongdong. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n#define CCGreenColor [UIColor colorWithRed:100 / 255.0 green:170 / 255.0 blue:70 / 255.0 alpha:1]\n\n@class FSCCDayView;\ntypedef void(^CCDa...
145
24
{"language": "c", "success": true, "metadata": {"lines": 22, "avg_line_length": 33.41, "nodes": 99, "errors": 0, "source_hash": "01f69a8d65f5757378dc6eb9aaa8042136de8a7bda6acca1ecb3bfacc277c84c", "categorized_nodes": 54}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "port <UIK...
13,212
c
#include <fs/minix3_inode.h> #include <fs/minix3_inode.h> #include <stdio.h> bool minix3_inode_is_dir(const minix3_inode_t *ino) { return ino->i_mode & MINIX3_S_IFDIR; } static const char *_file_format_str(uint16_t mode) { switch (mode & 0xf000) { case MINIX3_S_IFREG: return "regular file"; ...
25
25
(translation_unit) "#include <fs/minix3_inode.h>\n\n#include <fs/minix3_inode.h>\n\n#include <stdio.h>\n\nbool minix3_inode_is_dir(const minix3_inode_t *ino)\n{\n return ino->i_mode & MINIX3_S_IFDIR;\n}\n\nstatic const char *_file_format_str(uint16_t mode)\n{\n switch (mode & 0xf000) {\n case MINIX3_S_IFREG:\n...
191
0
{"language": "c", "success": true, "metadata": {"lines": 25, "avg_line_length": 25.0, "nodes": 101, "errors": 0, "source_hash": "8d633fe8f098c93d033c5e7e7e45fd6f12c4005cd19ebd0d14343c2c98be5a2e", "categorized_nodes": 77}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
13,213
c
#ifdef HAVE_CONFIG_H #include "../../../ext_config.h" #endif #include <php.h> #include "../../../php_ext.h" #include "../../../ext.h" #include <Zend/zend_operators.h> #include <Zend/zend_exceptions.h> #include <Zend/zend_interfaces.h> #include "kernel/main.h" /** * @author <NAME> <<EMAIL>> */ ZEPHIR_INIT_CLASS(...
39.91
22
(translation_unit) "#ifdef HAVE_CONFIG_H\n#include "../../../ext_config.h"\n#endif\n\n#include <php.h>\n#include "../../../php_ext.h"\n#include "../../../ext.h"\n\n#include <Zend/zend_operators.h>\n#include <Zend/zend_exceptions.h>\n#include <Zend/zend_interfaces.h>\n\n#include "kernel/main.h"\n\n\n/**\n * @author <NAM...
174
7
{"language": "c", "success": true, "metadata": {"lines": 22, "avg_line_length": 39.91, "nodes": 95, "errors": 0, "source_hash": "064f3f4c81e5c07f73886810d5488774a15dd920c8e791411ef185724d060757", "categorized_nodes": 77}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifdef H...
13,214
c
#include <stdio.h> #include <stdbool.h> static bool A[2750158]; int main() { int n = 2, i = 0, j, index; for(i = 0; i < 1657; i++) if(!A[i]) for(j = (i + 2) * (i + 2) - 2; j < 2750158; j += i + 2) A[j] = true; scanf("%d", &n); for(i = 0; i < n; i++) { scanf("%d", &index); for(j = 0; j < 2750158; j+...
17.3
23
(translation_unit) "#include <stdio.h>\n#include <stdbool.h>\n\nstatic bool A[2750158];\n\nint main() {\n int n = 2, i = 0, j, index;\n for(i = 0; i < 1657; i++)\n if(!A[i])\n for(j = (i + 2) * (i + 2) - 2; j < 2750158; j += i + 2)\n A[j] = true;\n\n\n scanf("%d", &n);\n for(i = 0; i < n; i++) {\n scanf("%d", &i...
240
0
{"language": "c", "success": true, "metadata": {"lines": 23, "avg_line_length": 17.3, "nodes": 147, "errors": 0, "source_hash": "4d64ba4d22fb260ae6f56279cb43b91845994ea25aec2f861db7e4605c8a7157", "categorized_nodes": 109}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
13,215
c
// LightBulb.h: interface for the CSoundItem class. // #ifndef __SOUND_ITEM_H__ #define __SOUND_ITEM_H__ #include "SceItem.h" class CSoundItem : public SceItem { public: CSoundItem(); CSoundItem(const CSoundItem& r); CSoundItem& operator=(const CSoundItem& r); virtual ~CSoundItem(); Htex&...
26.98
49
(translation_unit) "// LightBulb.h: interface for the CSoundItem class. \n// \n#ifndef __SOUND_ITEM_H__ \n#define __SOUND_ITEM_H__ \n \n#include "SceItem.h" \n \nclass CSoundItem : public SceItem \n{ \npublic: \n CSoundItem(); \n CSoundItem(const CSoundItem& r); \n CSoundItem& operator=(const CSoundItem& r); \n ...
449
21
{"language": "c", "success": true, "metadata": {"lines": 49, "avg_line_length": 26.98, "nodes": 293, "errors": 0, "source_hash": "7000074cc309b3b51abd18b181a8c0d1f9488cf74bcb56a24b8f3b0b43838c7b", "categorized_nodes": 200}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
13,216
c
#pragma once #include <stdio.h> #include <stdarg.h> #include <string.h> #ifndef LOG_PREFIX #define LOG_PREFIX "[%s] ", __builtin_strrchr("/"__BASE_FILE__, '/') + 1 #endif static void uprintf(const char *format, ...) { static _Bool carry = 1; va_list args0, args1; va_start(args0, format); va_copy(args1, args0); c...
24.14
29
(translation_unit) "#pragma once\n#include <stdio.h>\n#include <stdarg.h>\n#include <string.h>\n\n#ifndef LOG_PREFIX\n#define LOG_PREFIX "[%s] ", __builtin_strrchr("/"__BASE_FILE__, '/') + 1\n#endif\n\nstatic void uprintf(const char *format, ...) {\n static _Bool carry = 1;\n va_list args0, args1;\n va_start(args0, for...
287
0
{"language": "c", "success": true, "metadata": {"lines": 29, "avg_line_length": 24.14, "nodes": 167, "errors": 0, "source_hash": "e3ac3f0e6929ca1bc7a9b5c5cab7b48d14ee074498b507745adf814b550e3ebf", "categorized_nodes": 119}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
13,217
c
// // OGLTypes.h // OGLUIKit // // Created by samuel on 26/08/2014. // Copyright (c) 2014 SDS. All rights reserved. // #ifndef OGLUIKit_OGLTypes_h #define OGLUIKit_OGLTypes_h #include <OpenGL/gltypes.h> #include <GLKit/GLKMatrix4.h> #ifdef __cplusplus extern "C" { #endif struct OGLrect { GLint x,y; GLsi...
16.85
27
(translation_unit) "//\n// OGLTypes.h\n// OGLUIKit\n//\n// Created by samuel on 26/08/2014.\n// Copyright (c) 2014 SDS. All rights reserved.\n//\n\n#ifndef OGLUIKit_OGLTypes_h\n#define OGLUIKit_OGLTypes_h\n\n#include <OpenGL/gltypes.h>\n#include <GLKit/GLKMatrix4.h>\n\n#ifdef __cplusplus\nextern "C" {\n#endif\n\nst...
86
0
{"language": "c", "success": true, "metadata": {"lines": 27, "avg_line_length": 16.85, "nodes": 56, "errors": 0, "source_hash": "8f6ad086643895abd0623982fde60b923a22effabbd81f5d524ebc0a6d41a61b", "categorized_nodes": 50}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
13,218
c
/* * Copyright 2017, Data61 * Commonwealth Scientific and Industrial Research Organisation (CSIRO) * ABN 41 687 119 230. * * This software may be distributed and modified according to the terms of * the BSD 2-Clause license. Note that NO WARRANTY is provided. * See "LICENSE_BSD2.txt" for details. * * @TAG(DATA...
28.46
46
(translation_unit) "/*\n * Copyright 2017, Data61\n * Commonwealth Scientific and Industrial Research Organisation (CSIRO)\n * ABN 41 687 119 230.\n *\n * This software may be distributed and modified according to the terms of\n * the BSD 2-Clause license. Note that NO WARRANTY is provided.\n * See "LICENSE_BSD2.txt" f...
80
0
{"language": "c", "success": true, "metadata": {"lines": 46, "avg_line_length": 28.46, "nodes": 53, "errors": 0, "source_hash": "69260731a5bc24053ea988bf7617d1022214674a21d84fdd25fa193c337c73a5", "categorized_nodes": 41}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
13,219
c
// // YYNetwork.h // YYProject // // Created by 于优 on 2018/12/4. // Copyright © 2018 SuperYu. All rights reserved. // #import <Foundation/Foundation.h> #import "AFNetworking.h" @class ResponseModel; NS_ASSUME_NONNULL_BEGIN typedef NS_ENUM(NSInteger, NetworkStatus) { StatusUnknown = 0, //未知状态 StatusN...
30.51
91
(translation_unit) "//\n// YYNetwork.h\n// YYProject\n//\n// Created by 于优 on 2018/12/4.\n// Copyright © 2018 SuperYu. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n#import "AFNetworking.h"\n@class ResponseModel;\n\nNS_ASSUME_NONNULL_BEGIN\n\ntypedef NS_ENUM(NSInteger, NetworkStatus) {\n StatusU...
646
50
{"language": "c", "success": true, "metadata": {"lines": 91, "avg_line_length": 30.51, "nodes": 420, "errors": 0, "source_hash": "120860ab94e63db7e51ccb5f493a3e5c0173f648bf41a93442d56101eb76920f", "categorized_nodes": 235}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "rt <Fou...
13,220
c
/* Generated by RuntimeBrowser Image: /System/Library/PrivateFrameworks/IDSFoundation.framework/IDSFoundation */ @interface IDSMessageContext : NSObject { id _boostContext; NSMutableDictionary * _dict; NSObject<OS_dispatch_queue> * _ivarQueue; } @property (nonatomic, retain) id boostContext; @propert...
36.74
66
(translation_unit) "/* Generated by RuntimeBrowser\n Image: /System/Library/PrivateFrameworks/IDSFoundation.framework/IDSFoundation\n */\n\n@interface IDSMessageContext : NSObject {\n id _boostContext;\n NSMutableDictionary * _dict;\n NSObject<OS_dispatch_queue> * _ivarQueue;\n}\n\n@property (nonatomic, ret...
816
66
{"language": "c", "success": true, "metadata": {"lines": 66, "avg_line_length": 36.74, "nodes": 514, "errors": 0, "source_hash": "30dedcbd2f8fe4c1fcf76467d5db3aeec10fe6e8e99dbf75988ee5b1b892d009", "categorized_nodes": 299}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "@", "parent": ...
13,221
c
// Copyright (c) 2012, <NAME>. All rights reserved. Use of this source // code is governed by a MIT-style license that can be found in the LICENSE file. // A ByteInput implementation that reads from a standard input stream #ifndef HUE__STREAM_INPUT_H #define HUE__STREAM_INPUT_H #include "ByteInput.h" #include <iostre...
29.51
126
(translation_unit) "// Copyright (c) 2012, <NAME>. All rights reserved. Use of this source\n// code is governed by a MIT-style license that can be found in the LICENSE file.\n\n// A ByteInput implementation that reads from a standard input stream\n#ifndef HUE__STREAM_INPUT_H\n#define HUE__STREAM_INPUT_H\n\n#include "By...
1,089
43
{"language": "c", "success": true, "metadata": {"lines": 126, "avg_line_length": 29.51, "nodes": 631, "errors": 0, "source_hash": "2275dc4c651007059d530ec95edc9655ddfd888861ed3db96b18f1ff8f0b398a", "categorized_nodes": 410}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
13,222
c
/* * Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fil...
35.27
117
(translation_unit) "\n* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n*\n* Licensed under the Apache License, Version 2.0 (the "License").\n* You may not use this file except in compliance with the License.\n* A copy of the License is located at\n*\n* http://aws.amazon.com/apache2.0\n*\...
513
19
{"language": "c", "success": true, "metadata": {"lines": 117, "avg_line_length": 35.27, "nodes": 310, "errors": 0, "source_hash": "6f4e258440bc65e52891c4d7d358d308aa614b01df8bfcfabb4915d54bfe6734", "categorized_nodes": 199}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "ragma ...
13,223
c
/** * Copyright (C) 2020 by <NAME> <<EMAIL>> * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES O...
32.32
57
(translation_unit) "/**\n * Copyright (C) 2020 by <NAME> <<EMAIL>>\n *\n * Permission to use, copy, modify, and/or distribute this software for any\n * purpose with or without fee is hereby granted.\n *\n * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES\n * WITH REGARD TO THIS SOFTWARE INCLUDI...
481
0
{"language": "c", "success": true, "metadata": {"lines": 57, "avg_line_length": 32.32, "nodes": 264, "errors": 0, "source_hash": "ff6f1dde5061653e89a3ef8beaf0854405c77c572ef248f8ab44b091f2d11a01", "categorized_nodes": 185}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
13,224
c
/* ** swapbuffers.c for tmlxwin in /home/fourri_l/Projects/lib/tmlxwin ** ** Made by <NAME> ** Login <<EMAIL>> ** ** Started on Mon Feb 3 16:11:30 2014 Laurent Fourrier ** Last update Sat Mar 15 16:38:03 2014 Laurent Fourrier */ #include <mlx.h> #include "tmlxwin.h" void mlxwin_swapbuffers(t_mlxwin *window) { ...
25.65
17
(translation_unit) "/*\n** swapbuffers.c for tmlxwin in /home/fourri_l/Projects/lib/tmlxwin\n** \n** Made by <NAME>\n** Login <<EMAIL>>\n** \n** Started on Mon Feb 3 16:11:30 2014 Laurent Fourrier\n** Last update Sat Mar 15 16:38:03 2014 Laurent Fourrier\n*/\n\n#include <mlx.h>\n#include "tmlxwin.h"\n\nvoid mlxwin_...
74
0
{"language": "c", "success": true, "metadata": {"lines": 17, "avg_line_length": 25.65, "nodes": 47, "errors": 0, "source_hash": "8dff43c6ed3f54e7c5b5c0d899dfe3ad90dfc791674187d4fd0828538225f351", "categorized_nodes": 38}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
13,225
c
#ifndef _OSMAND_CORE_SYSTEM_TYPEFACE_FINDER_H_ #define _OSMAND_CORE_SYSTEM_TYPEFACE_FINDER_H_ #include <OsmAndCore/stdlib_common.h> #include <OsmAndCore/QtExtensions.h> #include <QString> #include <SkFontMgr.h> #include <OsmAndCore.h> #include <OsmAndCore/CommonTypes.h> #include <OsmAndCore/ITypefaceFinder.h> name...
35.65
26
(translation_unit) "#ifndef _OSMAND_CORE_SYSTEM_TYPEFACE_FINDER_H_\n#define _OSMAND_CORE_SYSTEM_TYPEFACE_FINDER_H_\n\n#include <OsmAndCore/stdlib_common.h>\n\n#include <OsmAndCore/QtExtensions.h>\n#include <QString>\n\n#include <SkFontMgr.h>\n\n#include <OsmAndCore.h>\n#include <OsmAndCore/CommonTypes.h>\n#include <Osm...
155
9
{"language": "c", "success": true, "metadata": {"lines": 26, "avg_line_length": 35.65, "nodes": 99, "errors": 0, "source_hash": "4b83db7d8464a51cd11471578b5c271b15396140aec78e7e5a682ce9b514a161", "categorized_nodes": 70}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
13,226
c
// // ViewController.h // Example for lottie-macos // // Created by <NAME> on 2/2/17. // Copyright © 2017 <NAME>. All rights reserved. // #import <Cocoa/Cocoa.h> @interface ViewController : NSViewController @end
18.73
11
(translation_unit) "//\n// ViewController.h\n// Example for lottie-macos\n//\n// Created by <NAME> on 2/2/17.\n// Copyright © 2017 <NAME>. All rights reserved.\n//\n\n#import <Cocoa/Cocoa.h>\n\n@interface ViewController : NSViewController\n\n\n@end\n\n" (comment) "//" (comment) "// ViewController.h" (comment...
22
4
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 18.73, "nodes": 11, "errors": 0, "source_hash": "997e110aad7c36aeab54824be6b60eeadd0a87ecb5ac6b7c6aa3c9b0b4cd49b6", "categorized_nodes": 6}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <Co...
13,227
c
/* Copyright (c) 2010, Oracle and/or its affiliates. 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 Foundation; version 2 of the License. This program is distributed in the ...
24.68
81
(translation_unit) "/*\n Copyright (c) 2010, Oracle and/or its affiliates. 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 by\n the Free Software Foundation; version 2 of the License.\n\n This pro...
530
0
{"language": "c", "success": true, "metadata": {"lines": 81, "avg_line_length": 24.68, "nodes": 351, "errors": 0, "source_hash": "867947568dc5f96b76a4126b641352cfcd43bbdee39441330acaecdac54dedd8", "categorized_nodes": 258}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
13,228
c
/* ** Byte (binary data) library ** See Agreement in LICENSE ** Copyright (C) 2019, <NAME> <<EMAIL>> */ #define bytelib_c #define LUA_LIB #include "lprefix.h" #include "lua.h" #include "lauxlib.h" #include "lualib.h" #ifdef LUAEX_BYTE #include <stdio.h> #include <string.h> #include <stdlib.h> #include <malloc.h> ...
25.92
201
(translation_unit) "/*\n** Byte (binary data) library\n** See Agreement in LICENSE\n** Copyright (C) 2019, <NAME> <<EMAIL>>\n*/\n\n#define bytelib_c\n#define LUA_LIB\n\n#include "lprefix.h"\n\n#include "lua.h"\n\n#include "lauxlib.h"\n#include "lualib.h"\n\n\n#ifdef LUAEX_BYTE\n#include <stdio.h>\n#include <string.h>\n...
1,955
2
{"language": "c", "success": true, "metadata": {"lines": 201, "avg_line_length": 25.92, "nodes": 1130, "errors": 0, "source_hash": "481471d9890dc4756b4e3dff85d8e6adb7a177730e9bc069676c29d7166bcc25", "categorized_nodes": 767}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_def", "text": "#defin...
13,229
c
#ifndef GOTO_URL_H #define GOTO_URL_H /** @brief Open URLs in a browser. */ bool GotoURL(const std::string& sUrl); #endif
19.33
6
(translation_unit) "#ifndef GOTO_URL_H\n#define GOTO_URL_H\n\n/** @brief Open URLs in a browser. */\nbool\nGotoURL(const std::string& sUrl);\n\n#endif\n" (preproc_ifdef) "#ifndef GOTO_URL_H\n#define GOTO_URL_H\n\n/** @brief Open URLs in a browser. */\nbool\nGotoURL(const std::string& sUrl);\n\n#endif" (#ifndef) "...
27
1
{"language": "c", "success": true, "metadata": {"lines": 6, "avg_line_length": 19.33, "nodes": 17, "errors": 0, "source_hash": "230353fbf0b28e56ac7436933bcd58e97d55f3539086c1b293fc7dbc3c32d6cf", "categorized_nodes": 12}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef G...
13,230
c
/** * @file hi_watchdog.h * * Copyright (c) 2020 HiSilicon (Shanghai) Technologies CO., LIMITED. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/L...
28.26
92
(translation_unit) "/**\n * @file hi_watchdog.h\n *\n * Copyright (c) 2020 HiSilicon (Shanghai) Technologies CO., LIMITED.\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...
62
0
{"language": "c", "success": true, "metadata": {"lines": 92, "avg_line_length": 28.26, "nodes": 43, "errors": 0, "source_hash": "0121ac9f5360b5c780486f3db4b1624f96e8bedff7d701975437983d4877252e", "categorized_nodes": 34}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
13,231
c
/****************************************************************************** ** COPYRIGHT NOTICE ** (c) 2009 The Johns Hopkins University Applied Physics Laboratory ** All rights reserved. ** ** This material may only be used, modified, or reproduced by...
27.69
267
(translation_unit) "/******************************************************************************\n ** COPYRIGHT NOTICE\n ** (c) 2009 The Johns Hopkins University Applied Physics Laboratory\n ** All rights reserved.\n **\n ** This material may only be used, m...
1,713
0
{"language": "c", "success": true, "metadata": {"lines": 267, "avg_line_length": 27.69, "nodes": 1082, "errors": 0, "source_hash": "524a69307c22352f57a7148b991875c917cc067ae8cd8ba232a82dffb4e93c38", "categorized_nodes": 656}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#i...
13,232
c
#ifndef NXT3_HAL_LED #define NXT3_HAL_LED #include <stdbool.h> typedef enum { BRICK_LED_OFF, BRICK_LED_ON_GREEN, BRICK_LED_ON_RED, BRICK_LED_ON_ORANGE, BRICK_LED_BLINK_GREEN, BRICK_LED_BLINK_RED, BRICK_LED_BLINK_ORANGE, BRICK_LED_BEAT_GREEN, BRICK_LED_BEAT_RED, BRICK_LED_BEAT_O...
24.53
19
(translation_unit) "#ifndef NXT3_HAL_LED\n#define NXT3_HAL_LED\n\n#include <stdbool.h>\n\ntypedef enum {\n BRICK_LED_OFF,\n BRICK_LED_ON_GREEN,\n BRICK_LED_ON_RED,\n BRICK_LED_ON_ORANGE,\n BRICK_LED_BLINK_GREEN,\n BRICK_LED_BLINK_RED,\n BRICK_LED_BLINK_ORANGE,\n BRICK_LED_BEAT_GREEN,\n BRICK_...
88
0
{"language": "c", "success": true, "metadata": {"lines": 19, "avg_line_length": 24.53, "nodes": 64, "errors": 0, "source_hash": "0850c06a0d9c712e73250ec2942904f2d45c71c0100c588e9aa2823e58384cb3", "categorized_nodes": 50}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
13,233
c
#pragma once #include <sne/sgp/session/detail/Heartbeater.h> namespace sne { namespace server { /** * @class HeartbeatSender */ class HeartbeatSender : public sgp::Heartbeater { public: HeartbeatSender(base::Session& session, msec_t heartbeatInterval) : Heartbeater(session, heartbeatInterval) {} priva...
26.06
18
(translation_unit) "#pragma once\n\n#include <sne/sgp/session/detail/Heartbeater.h>\n\nnamespace sne { namespace server {\n\n/**\n * @class HeartbeatSender\n */\nclass HeartbeatSender : public sgp::Heartbeater\n{\npublic:\n HeartbeatSender(base::Session& session, msec_t heartbeatInterval) :\n Heartbeater(sess...
102
3
{"language": "c", "success": true, "metadata": {"lines": 18, "avg_line_length": 26.06, "nodes": 50, "errors": 0, "source_hash": "e62e7abed73b4de7044eafe506a896e10a735e8262fe19641330d2665c7d8db9", "categorized_nodes": 35}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
13,234
c
#include <stdlib.h> #include "function_pointers.h" /** *array_iterator - performs a given function on each element of an array *@array: array on which to perform given function *@size: size of the array *@action: function to be performed on the array * *Return: Void. */ void array_iterator(int *array, size_t si...
20.9
21
(translation_unit) "#include <stdlib.h>\n#include "function_pointers.h"\n\n/**\n *array_iterator - performs a given function on each element of an array\n *@array: array on which to perform given function\n *@size: size of the array\n *@action: function to be performed on the array\n *\n *Return: Void.\n */\nvoid array...
100
0
{"language": "c", "success": true, "metadata": {"lines": 21, "avg_line_length": 20.9, "nodes": 64, "errors": 0, "source_hash": "6674d8ca90c1da9b9dd914208995b7317c81a55be7bb7f2f1277f99948952e65", "categorized_nodes": 39}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#includ...
13,235
c
#ifndef __RANKER_NONSWIG_HEADER__ #define __RANKER_NONSWIG_HEADER__ #include <vector> #include <tr1/unordered_map> using namespace std; using namespace tr1; typedef vector<int> INT_VECTOR; typedef unordered_map<int, INT_VECTOR> INT_INT_VECTOR_MAP; typedef unordered_map<int, float> INT_DOUBLE_MAP; typedef...
23.53
15
(translation_unit) "#ifndef __RANKER_NONSWIG_HEADER__ \n#define __RANKER_NONSWIG_HEADER__ \n \n#include <vector> \n#include <tr1/unordered_map> \n \nusing namespace std; \nusing namespace tr1; \n \ntypedef vector<int> INT_VECTOR; \ntypedef unordered_map<int, INT_VECTOR> INT_INT_VECTOR_MAP; \ntypedef unordered_map<int, ...
71
9
{"language": "c", "success": true, "metadata": {"lines": 15, "avg_line_length": 23.53, "nodes": 61, "errors": 0, "source_hash": "1d6a8f3a9f10e08a200d01d0163ad7facb9ad2d7ed2db189db744507f0e0ab3c", "categorized_nodes": 32}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
13,236
c
/******************************************************************** created: 2018/05/27 filename: BladeGrassEditor.h author: Crazii purpose: *********************************************************************/ #ifndef __Blade_BladeGrassEditor_h__ #define __Blade_BladeGrassEditor_h__ #include <BladePlatform.h...
30.84
25
(translation_unit) "/********************************************************************\n created: 2018/05/27\n filename: BladeGrassEditor.h\n author: Crazii\n purpose: \n*********************************************************************/\n#ifndef __Blade_BladeGrassEditor_h__\n#define __Blade_BladeGrassEditor_h_...
61
0
{"language": "c", "success": true, "metadata": {"lines": 25, "avg_line_length": 30.84, "nodes": 54, "errors": 0, "source_hash": "5f3014ca0fcb32524883a5691a1dfe6631e156c63c96906821d1fc10fb099f81", "categorized_nodes": 30}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
13,237
c
/* * Copyright 2017 Integrated Device Technology, Inc. * Copyright 2017 RapidIO.org * * Header file for RapidIO mport device library. * * This software is available to you under a choice of one of two licenses. * You may choose to be licensed under the terms of the GNU General Public * License(GPL) Version 2, o...
34.14
241
(translation_unit) "/*\n * Copyright 2017 Integrated Device Technology, Inc.\n * Copyright 2017 RapidIO.org\n *\n * Header file for RapidIO mport device library.\n *\n * This software is available to you under a choice of one of two licenses.\n * You may choose to be licensed under the terms of the GNU General Public\n...
419
0
{"language": "c", "success": true, "metadata": {"lines": 241, "avg_line_length": 34.14, "nodes": 306, "errors": 0, "source_hash": "92c1092beb2e2fa5ab95eedc29ad2c7bcd1070903a7023a4da7fe3e37a632202", "categorized_nodes": 195}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
13,238
c
//2164 - Fibonacci Rápido #include <stdio.h> #include <stdlib.h> #include <math.h> int main(){ double fibo, n; scanf("%lf", &n); fibo = (pow(((1+(sqrt(5)))/2),n)-pow(((1-(sqrt(5)))/2),n))/(sqrt(5)); printf("%.1lf\n", fibo); return 0; }
20.42
12
(translation_unit) "//2164 - Fibonacci Rápido\n#include <stdio.h>\n#include <stdlib.h>\n#include <math.h>\n\nint main(){\n double fibo, n;\n\n scanf("%lf", &n);\n\n fibo = (pow(((1+(sqrt(5)))/2),n)-pow(((1-(sqrt(5)))/2),n))/(sqrt(5));\n\n printf("%.1lf\n", fibo);\n\n\n return 0;\n}\n" (comment) "//2164...
137
0
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 20.42, "nodes": 67, "errors": 0, "source_hash": "ba5e6acbe686ed84fa48079d971b535249ed0dbbc87a290dc523c58995080e6e", "categorized_nodes": 51}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "includ...
13,239
c
#ifndef _APS_H_ #define _APS_H_ #include "ctypes.h" #include "error.h" #include "asn.h" typedef ErrStatusType ApsStatusType; typedef CUnswType ApsIdType; typedef CBytePtrType ApsNameType; typedef CUnswType ApsGoodiesType; typedef CBoolType (*ApsVerifyFnType) (AsnIdType asn); typedef AsnIdType (*Ap...
39.76
21
(translation_unit) "#ifndef _APS_H_\n#define _APS_H_\n\n\n#include "ctypes.h"\n#include "error.h"\n#include "asn.h"\n\ntypedef ErrStatusType ApsStatusType;\n\ntypedef CUnswType ApsIdType;\n\ntypedef CBytePtrType ApsNameType;\n\ntypedef CUnswType ApsGoodiesType;\n\ntypedef CBoolType (*ApsVerifyFnType) (AsnId...
210
0
{"language": "c", "success": true, "metadata": {"lines": 21, "avg_line_length": 39.76, "nodes": 150, "errors": 0, "source_hash": "f4a9485571aa7524e2e8359ef1ad0459eedd2cbeb97f4f96e3f1d8741a7f3280", "categorized_nodes": 121}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
13,240
c
// // UIButton+KZExtension.h // KKXC_Franchisee // // Created by LL on 16/10/21. // Copyright © 2016年 cqingw. All rights reserved. // typedef enum { LLButtonStyleTextOnly = 1, //只显示文字 LLButtonStyleImgOnly, //只显示图片 LLButtonStyleTextLeft, //文字在左,图片在右 LLButtonStyleTextRight, //文字在右,图片在左 ...
30.33
21
(translation_unit) "//\n// UIButton+KZExtension.h\n// KKXC_Franchisee\n//\n// Created by LL on 16/10/21.\n// Copyright © 2016年 cqingw. All rights reserved.\n//\n\ntypedef enum {\n LLButtonStyleTextOnly = 1, //只显示文字\n LLButtonStyleImgOnly, //只显示图片\n LLButtonStyleTextLeft, //文字在左,图片在右\n LLButtonS...
83
6
{"language": "c", "success": true, "metadata": {"lines": 21, "avg_line_length": 30.33, "nodes": 46, "errors": 0, "source_hash": "45fe6122a4bf321f88d473a1a0289b570bdc2f1f91074e4ff08072f968985b01", "categorized_nodes": 33}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "type_definition", "text": "edef e...
13,241
c
/* Generated by RuntimeBrowser Image: /System/Library/PrivateFrameworks/SAObjects.framework/SAObjects */ @interface SAWeatherPollutant : SADomainObject @property (nonatomic, copy) NSNumber *amount; @property (nonatomic, copy) NSString *localizedDescription; @property (nonatomic, copy) NSString *name; + (id)pollu...
31.33
18
(translation_unit) "/* Generated by RuntimeBrowser\n Image: /System/Library/PrivateFrameworks/SAObjects.framework/SAObjects\n */\n\n@interface SAWeatherPollutant : SADomainObject\n\n@property (nonatomic, copy) NSNumber *amount;\n@property (nonatomic, copy) NSString *localizedDescription;\n@property (nonatomic, copy) ...
196
19
{"language": "c", "success": true, "metadata": {"lines": 18, "avg_line_length": 31.33, "nodes": 124, "errors": 0, "source_hash": "065247900072c87d24e00bca4000cfaed6ab1d2bc17680156acca99312eacf60", "categorized_nodes": 73}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "@interface SAWe...
13,242
c
#include <stdio.h> int main(char argv, char** argc) { int i, limit = 100; char c; char s[100]; for (i = 0; i < limit-1 && (c = getchar()) != EOF && c != '\n'; i++) { s[i] = c; } s[i] = '\0'; printf("Your input was: \"%s\"\n", s); return 0; }
18.38
13
(translation_unit) "#include <stdio.h>\n\nint main(char argv, char** argc)\n{\n int i, limit = 100;\n char c;\n char s[100];\n\n for (i = 0; i < limit-1 && (c = getchar()) != EOF && c != '\n'; i++) {\n s[i] = c;\n }\n\n s[i] = '\0';\n\n printf("Your input was: \"%s\"\n", s);\n\n return 0;\n}\n" (preproc_include) "#i...
138
0
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 18.38, "nodes": 94, "errors": 0, "source_hash": "5add8d14ea57afdd163b33c99b89ce1e8a38778b7c33f6e22074f2b2bdeb1bd7", "categorized_nodes": 58}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
13,243
c
#include <_ansi.h> #include <sys/types.h> #include <sys/stat.h> #include "trap.h" int write ( int file, char *ptr, size_t len) { return TRAP0 (SYS_write, file, ptr, len); }
14
12
(translation_unit) "#include <_ansi.h>\n#include <sys/types.h>\n#include <sys/stat.h>\n#include "trap.h"\n\n\nint\nwrite ( int file,\n char *ptr,\n size_t len)\n{\n return TRAP0 (SYS_write, file, ptr, len);\n}\n" (preproc_include) "#include <_ansi.h>\n" (#include) "#include" (system_lib_string) "<_ansi.h>"...
54
0
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 14.0, "nodes": 36, "errors": 0, "source_hash": "9c595af017df576b9a4a8e5a3198dae9b36f8374f70040d7b9f301b05069d95f", "categorized_nodes": 28}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#includ...
13,244
c
#include <types.h> #include <string.h> uint strlen(char *str) { uint i = 0; while (str[i]) i++; return i; } void its(uint num, char *str) { char *head = str; while (num != 0) { // next number is equal to integer value plus zero value in ascii table *str++ = num % 10 + '0'; //...
20.03
30
(translation_unit) "#include <types.h>\n#include <string.h>\n\nuint strlen(char *str) {\n uint i = 0;\n while (str[i])\n i++;\n return i;\n}\n\nvoid its(uint num, char *str) {\n char *head = str;\n while (num != 0) {\n // next number is equal to integer value plus zero value in ascii table\n *...
208
0
{"language": "c", "success": true, "metadata": {"lines": 30, "avg_line_length": 20.03, "nodes": 138, "errors": 0, "source_hash": "09c868a6dccd131f6a73debcdfe2a016a25f832aae21f78902c3563c0ed63f3d", "categorized_nodes": 90}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
13,245
c
#pragma once #include "Dot/Renderer/Buffers/ArrayBuffer.h" #include "Dot/PhysicsEngine/Components/ComponentData.h" #include "Dot/ECS/ECSManager.h" #include "Dot/Renderer/Shader/Shader.h" #include "Dot/Renderer/Renderable/Renderable.h" #include <glm/glm.hpp> namespace Dot { class TerrainCollider { public: TerrainC...
26.4
35
(translation_unit) "#pragma once\n#include "Dot/Renderer/Buffers/ArrayBuffer.h"\n#include "Dot/PhysicsEngine/Components/ComponentData.h"\n#include "Dot/ECS/ECSManager.h"\n#include "Dot/Renderer/Shader/Shader.h"\n#include "Dot/Renderer/Renderable/Renderable.h"\n#include <glm/glm.hpp>\n\nnamespace Dot {\n class TerrainCo...
310
14
{"language": "c", "success": true, "metadata": {"lines": 35, "avg_line_length": 26.4, "nodes": 183, "errors": 0, "source_hash": "d5f484c4578e885d9aed4c050a9fbace23687fe31429a25e002d4ac2840ab7af", "categorized_nodes": 126}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma ...
13,246
c
int RET=1;
10
1
(translation_unit) "int RET=1;\n" (declaration) "int RET=1;" (primitive_type) "int" (init_declarator) "RET=1" (identifier) "RET" (=) "=" (number_literal) "1" (;) ";"
8
0
{"language": "c", "success": true, "metadata": {"lines": 1, "avg_line_length": 10.0, "nodes": 6, "errors": 0, "source_hash": "03cb594a984ccd5b452b66d71c69ce9a136d6eeaac3ec630b4542335dd600cfe", "categorized_nodes": 3}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "declaration", "text": "int RET=1;", "...
13,247
c
/* THIS FILE IS A PART OF GTA V SCRIPT HOOK SDK http://dev-c.com (C) <NAME> 2015 */ #pragma once #include "..\..\inc\natives.h" #include "..\..\inc\types.h" #include "..\..\inc\enums.h" #include "..\..\inc\main.h" void ScriptMain();
20.18
11
(translation_unit) "/*\nTHIS FILE IS A PART OF GTA V SCRIPT HOOK SDK\nhttp://dev-c.com\n(C) <NAME> 2015\n*/\n\n#pragma once\n\n#include "..\..\inc\natives.h"\n#include "..\..\inc\types.h"\n#include "..\..\inc\enums.h"\n#include "..\..\inc\main.h"\n\nvoid ScriptMain();" (comment) "/*\nTHIS FILE IS A PART OF GTA V SCRI...
61
0
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 20.18, "nodes": 32, "errors": 0, "source_hash": "a4c14ddda40136905b1371f3320ff9702fed24cfef275584a10dcbd31a2673d5", "categorized_nodes": 16}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
13,248
c
// // ZXLUIStringPickerView.h // AFNetworking // // Created by 张小龙 on 2019/2/21. // #import "ZXLUIPickerBaseView.h" typedef void(^ZXLStringResultBlock)(id selectValue); typedef void(^ZXLStringCancelBlock)(void); @interface ZXLUIStringPickerView : ZXLUIPickerBaseView @property (nonatomic, assign) BOOL isDataSourceV...
36.75
20
(translation_unit) "//\n// ZXLUIStringPickerView.h\n// AFNetworking\n//\n// Created by 张小龙 on 2019/2/21.\n//\n\n#import "ZXLUIPickerBaseView.h"\ntypedef void(^ZXLStringResultBlock)(id selectValue);\ntypedef void(^ZXLStringCancelBlock)(void);\n\n@interface ZXLUIStringPickerView : ZXLUIPickerBaseView\n@property (nonat...
159
13
{"language": "c", "success": true, "metadata": {"lines": 20, "avg_line_length": 36.75, "nodes": 97, "errors": 0, "source_hash": "a53f1e34de1f316c5fb633f4f876f33ff41d295a307c6f3510228b6390735140", "categorized_nodes": 56}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "t \"ZXLUI...
13,249
c
// // JSMessageTableViewController.h // Weibo // // Created by jason on 15/5/14. // Copyright (c) 2015年 JasoneIo. All rights reserved. // #import <UIKit/UIKit.h> @interface JSMessageTableViewController : UITableViewController @end
22.5
10
(translation_unit) "//\n// JSMessageTableViewController.h\n// Weibo\n//\n// Created by jason on 15/5/14.\n// Copyright (c) 2015年 JasoneIo. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface JSMessageTableViewController : UITableViewController\n\n@end\n" (comment) "//" (comment) "// JSMessageTabl...
19
3
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 22.5, "nodes": 10, "errors": 0, "source_hash": "2e7a3c6fbf3d7b35ad7aba9f4c8c4153c35d71b8830f6faa9a3bbb0cc5686a6a", "categorized_nodes": 5}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "mport <UIKi...
13,250
c
/* ==================================================================== */ /* Template toolbox_skeleton */ /* This file is released under the 3-clause BSD license. See COPYING-BSD. */ /* ==================================================================== */ #include "api_scilab.h" #include "Scierror.h" #include "sci_m...
37
24
(translation_unit) "/* ==================================================================== */\n/* Template toolbox_skeleton */\n/* This file is released under the 3-clause BSD license. See COPYING-BSD. */\n/* ==================================================================== */\n#include "api_scilab.h"\n#include "Sc...
140
0
{"language": "c", "success": true, "metadata": {"lines": 24, "avg_line_length": 37.0, "nodes": 70, "errors": 0, "source_hash": "da9faeafaee3f90f74bf27abc5e499ba9cc3d842cb37db2779d0a4441e5ca3ee", "categorized_nodes": 50}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#includ...
13,251
c
// // splay.h // LRUAnalyzer // // Created by Juncheng on 5/25/16. // Copyright © 2016 Juncheng. All rights reserved. // #ifndef splay_h #define splay_h #ifdef __cplusplus extern "C" { #endif #include <stdio.h> #include <stdlib.h> #include <assert.h> #define node_value(x) (((x)==NULL) ? 0 : ((x)->value)) #def...
18.11
47
(translation_unit) "//\n// splay.h\n// LRUAnalyzer\n//\n// Created by Juncheng on 5/25/16.\n// Copyright © 2016 Juncheng. All rights reserved.\n//\n\n#ifndef splay_h\n#define splay_h\n\n\n\n#ifdef __cplusplus\nextern "C"\n{\n#endif\n\n#include <stdio.h>\n#include <stdlib.h>\n#include <assert.h>\n\n#define node_valu...
278
0
{"language": "c", "success": true, "metadata": {"lines": 47, "avg_line_length": 18.11, "nodes": 184, "errors": 0, "source_hash": "7031d6f48c4ed90b0db1580625571ea6daf94d9e01b92d33d6a60f0f645548e2", "categorized_nodes": 119}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "ifndef...
13,252
c
// SacredSocket.h : header file // #ifndef __SACRED_SOCKET_H__ #define __SACRED_SOCKET_H__ ///////////////////////////////////////////////////////////////////////////// // CSacredSocket command target class CSacredSocket : public CSocket { // Attributes public: // Operations public: CSacredSocket(int nSocketType);...
32.39
61
(translation_unit) "// SacredSocket.h : header file\n//\n#ifndef __SACRED_SOCKET_H__\n#define __SACRED_SOCKET_H__\n\n/////////////////////////////////////////////////////////////////////////////\n// CSacredSocket command target\n\nclass CSacredSocket : public CSocket\n{\n// Attributes\npublic:\n \n// Operations\npublic...
395
7
{"language": "c", "success": true, "metadata": {"lines": 61, "avg_line_length": 32.39, "nodes": 234, "errors": 0, "source_hash": "8a1e3fbe859855e2ae8f67a2dd67ae11011fa6ab50aaef60ce38467e1086593c", "categorized_nodes": 166}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
13,253
c
// // AppDelegate.h // RealmDataMerging // // Created by MacComp on 1/2/20. // Copyright © 2020 <NAME>. All rights reserved. // #import <UIKit/UIKit.h> @interface AppDelegate : UIResponder <UIApplicationDelegate> @end
19.27
11
(translation_unit) "//\n// AppDelegate.h\n// RealmDataMerging\n//\n// Created by MacComp on 1/2/20.\n// Copyright © 2020 <NAME>. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface AppDelegate : UIResponder <UIApplicationDelegate>\n\n\n@end\n\n" (comment) "//" (comment) "// AppDelegate.h" (comm...
25
4
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 19.27, "nodes": 14, "errors": 0, "source_hash": "f3e785fe5218b564ffd53b17c72b9c737820793eaa6b05b74b6518a5af4f9c03", "categorized_nodes": 7}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <UI...
13,254
c
/* rivetChannel.c -- mod_rivet Tcl output channel. */ /* Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you un...
34.57
96
(translation_unit) "/* rivetChannel.c -- mod_rivet Tcl output channel. */\n\n/*\n Licensed to the Apache Software Foundation (ASF) under one\n or more contributor license agreements. See the NOTICE file\n distributed with this work for additional information\n regarding copyright ownership. The ASF licens...
417
3
{"language": "c", "success": true, "metadata": {"lines": 96, "avg_line_length": 34.57, "nodes": 246, "errors": 0, "source_hash": "5c86a30e3aab7a238d1b6a7d66d256fa9b86ad85e8b0b1ad2f8e22eeaccc1d10", "categorized_nodes": 165}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifdef...
13,255
c
#ifndef LIBRARIES_EXPANSION_H #define LIBRARIES_EXPANSION_H /* ** $VER: expansion.h 36.7 (28.5.1990) ** Includes Release 45.1 ** ** External definitions for expansion.library ** ** (C) Copyright 1985-2001 Amiga, Inc. ** All Rights Reserved */ #define EXPANSIONNAME "expansion.library" /* flags for the AddDosNode()...
25.12
16
(translation_unit) "#ifndef LIBRARIES_EXPANSION_H\n#define LIBRARIES_EXPANSION_H\n/*\n** $VER: expansion.h 36.7 (28.5.1990)\n** Includes Release 45.1\n**\n** External definitions for expansion.library\n**\n** (C) Copyright 1985-2001 Amiga, Inc.\n** All Rights Reserved\n*/\n\n#define EXPANSIONNAME "expansion.library...
23
0
{"language": "c", "success": true, "metadata": {"lines": 16, "avg_line_length": 25.12, "nodes": 19, "errors": 0, "source_hash": "39b82ddae755e912143f2244f649abb99b0ff8ee4ed95f01be11f6d1415fd937", "categorized_nodes": 8}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef L...
13,256
c
#ifndef PSANA_STEPITER_H #define PSANA_STEPITER_H //-------------------------------------------------------------------------- // File and Version Information: // $Id$ // // Description: // Class StepIter. // //------------------------------------------------------------------------ //----------------- // C/C...
27.88
72
(translation_unit) "#ifndef PSANA_STEPITER_H\n#define PSANA_STEPITER_H\n\n//--------------------------------------------------------------------------\n// File and Version Information:\n// $Id$\n//\n// Description:\n// Class StepIter.\n//\n//----------------------------------------------------------------------...
196
6
{"language": "c", "success": true, "metadata": {"lines": 72, "avg_line_length": 27.88, "nodes": 95, "errors": 0, "source_hash": "6d09b82022077aa23e1f25a556ba724bef2f3b7541f1d3c6ca0220179e113317", "categorized_nodes": 70}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
13,257
c
/* $Id: image.h,v 1.4 1997/02/09 20:05:03 brianp Exp $ */ /* * Mesa 3-D graphics library * Version: 2.2 * Copyright (C) 1995-1997 <NAME> * * 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 F...
34.99
73
(translation_unit) "/* $Id: image.h,v 1.4 1997/02/09 20:05:03 brianp Exp $ */\n\n/*\n * Mesa 3-D graphics library\n * Version: 2.2\n * Copyright (C) 1995-1997 <NAME>\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 pub...
276
0
{"language": "c", "success": true, "metadata": {"lines": 73, "avg_line_length": 34.99, "nodes": 210, "errors": 0, "source_hash": "204a1dc8aedaff1aadcb4bf27842ee5629ab18fd4f5143f3f76197bb822d33a8", "categorized_nodes": 161}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
13,258
c
// // WinningTicketViewController.h // 07 -- Jackpot // // Created by <NAME> on 7/23/15. // Copyright (c) 2015 <NAME> -- The Iron Yard. All rights reserved. // #import <UIKit/UIKit.h> #import "TicketsTableViewController.h" @interface WinningTicketViewController : UIViewController @property (strong, nonatomic) id...
29.83
12
(translation_unit) "//\n// WinningTicketViewController.h\n// 07 -- Jackpot\n//\n// Created by <NAME> on 7/23/15.\n// Copyright (c) 2015 <NAME> -- The Iron Yard. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n#import "TicketsTableViewController.h"\n\n@interface WinningTicketViewController : UIViewController\n\...
41
7
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 29.83, "nodes": 27, "errors": 0, "source_hash": "f5d0a5d2a7975d3aacb62d78d89e53c31a14f588b2bbee37283f21991391acce", "categorized_nodes": 13}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <...
13,259
c
// // EXRCustomTextField+Formatter.h // ExchangeRate // // Created by 曹文兵 on 2017/2/26. // Copyright © 2017年 bbyz. All rights reserved. // #import "EXRCustomTextField.h" @interface EXRCustomTextField (Formatter) - (double)calculateTextValueWithInput:(NSString *)title; - (BOOL)legalInput:(NSString *)title; - (v...
31.82
17
(translation_unit) "//\n// EXRCustomTextField+Formatter.h\n// ExchangeRate\n//\n// Created by 曹文兵 on 2017/2/26.\n// Copyright © 2017年 bbyz. All rights reserved.\n//\n\n#import "EXRCustomTextField.h"\n\n@interface EXRCustomTextField (Formatter)\n\n- (double)calculateTextValueWithInput:(NSString *)title;\n\n- (BOOL)l...
158
22
{"language": "c", "success": true, "metadata": {"lines": 17, "avg_line_length": 31.82, "nodes": 104, "errors": 0, "source_hash": "c8d62ddc3da2e94ea72233f5f96984187c3032178303be23256ebc16d2b8c8ad", "categorized_nodes": 53}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "EXRCusto...
13,260
c
// // LELocalCongfig.h // LKAppBoxSDK // // Created by leoan on 2020/4/1. // Copyright © 2020 MrDML. All rights reserved. // #import <Foundation/Foundation.h> NS_ASSUME_NONNULL_BEGIN @interface LELocalCongfig : NSObject<NSCoding> - (instancetype)initWithDictonary:(NSDictionary *)dicttionary; + (LELocalCongfig *)...
38.54
26
(translation_unit) "//\n// LELocalCongfig.h\n// LKAppBoxSDK\n//\n// Created by leoan on 2020/4/1.\n// Copyright © 2020 MrDML. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n\nNS_ASSUME_NONNULL_BEGIN\n\n@interface LELocalCongfig : NSObject<NSCoding>\n- (instancetype)initWithDictonary:(NSDictionary *)...
280
29
{"language": "c", "success": true, "metadata": {"lines": 26, "avg_line_length": 38.54, "nodes": 181, "errors": 0, "source_hash": "5aec3d8e272dcecdc3d7927199f54769f29a1ccf7cb80e37780400b6a9dc850b", "categorized_nodes": 107}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import ...
13,261
c
extern int read_bdl (FILE *fp, double jd, double *xp, double *yp, double *zp, char ynot[]); /* For RCS Only -- Do Not Edit * @(#) $RCSfile: bdl.h,v $ $Date: 2003/03/20 08:56:31 $ $Revision: 1.1 $ $Name: $ */
42
5
(translation_unit) "extern int read_bdl (FILE *fp, double jd, double *xp, double *yp, double *zp,\n char ynot[]);\n\n/* For RCS Only -- Do Not Edit\n * @(#) $RCSfile: bdl.h,v $ $Date: 2003/03/20 08:56:31 $ $Revision: 1.1 $ $Name: $\n */\n" (declaration) "extern int read_bdl (FILE *fp, double jd, double *xp, doubl...
46
0
{"language": "c", "success": true, "metadata": {"lines": 5, "avg_line_length": 42.0, "nodes": 34, "errors": 0, "source_hash": "b6d422ce2ffef1b0140f022bef50dab57c0e30eee8ef0a67ea3bdb9dc62f63da", "categorized_nodes": 17}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "declaration", "text": "extern int r...
13,262
c
#ifndef TASKTRAYNOTIFIER_H #define TASKTRAYNOTIFIER_H #include <QObject> namespace waltz { namespace engine { namespace Notifier { class TaskTrayNotifier : public QObject { Q_OBJECT public: static TaskTrayNotifier& getInstanc...
27.74
27
(translation_unit) "#ifndef TASKTRAYNOTIFIER_H\n#define TASKTRAYNOTIFIER_H\n\n#include <QObject>\n\nnamespace waltz\n{\n namespace engine\n {\n namespace Notifier\n {\n\n class TaskTrayNotifier : public QObject\n {\n Q_OBJECT\n public:\n ...
128
6
{"language": "c", "success": true, "metadata": {"lines": 27, "avg_line_length": 27.74, "nodes": 69, "errors": 0, "source_hash": "ee1cd4f5ec4a4b503306270aee0ee4a645cc8fa910f9af944dce8b77bb22d4f6", "categorized_nodes": 50}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
13,263
c
/* * Copyright 2021 The OpenSSL Project Authors. All Rights Reserved. * * Licensed under the Apache License 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 * https://www.openssl.org/source/license.html * or in the file LICENSE in t...
33.78
220
(translation_unit) "/*\n * Copyright 2021 The OpenSSL Project Authors. All Rights Reserved.\n *\n * Licensed under the Apache License 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 * https://www.openssl.org/source/license.html\n * ...
1,855
0
{"language": "c", "success": true, "metadata": {"lines": 220, "avg_line_length": 33.78, "nodes": 1108, "errors": 0, "source_hash": "ac7d231f5f6b8493a143e99792332d40611c115791aea1bf3e70d3fac9aef7cb", "categorized_nodes": 616}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#i...
13,264
c
#include <stdio.h> #include <math.h> #define HEXSIZE 6 int check_hex(char hex[]); int htoi(char hex[], int len); int hexlen; int main(){ char example_hex[HEXSIZE]; example_hex[0]='b'; example_hex[1]='b'; example_hex[2]='b'; example_hex[3]='d'; example_hex[4]='9'; example_hex[5]='\0'; if (check_hex(exampl...
21.79
48
(translation_unit) "#include <stdio.h>\n#include <math.h>\n\n#define HEXSIZE 6\n\nint check_hex(char hex[]);\nint htoi(char hex[], int len);\n\nint hexlen;\n\nint main(){\n\n char example_hex[HEXSIZE];\n\n example_hex[0]='b';\n example_hex[1]='b';\n example_hex[2]='b';\n example_hex[3]='d';\n example_hex[4]='9';\n exam...
664
0
{"language": "c", "success": true, "metadata": {"lines": 48, "avg_line_length": 21.79, "nodes": 444, "errors": 0, "source_hash": "a6edf9a5dd1360d0054abcaa3bc76963e7731fbe839736b69a0161644e6bf80c", "categorized_nodes": 276}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
13,265
c
#define MAX_CARDS 1 #define FCLOCK 50000000 #define REVERSE_IQ_ORDER 0 #define SCAN_OK 1 #define SCAN_ERROR -1 #define SCAN_OVERFLOW -2 #define SCAN_SATURATE -3 #define GAIN_ADJ 10
21.88
8
(translation_unit) "#define MAX_CARDS 1 \n#define FCLOCK 50000000\n#define REVERSE_IQ_ORDER 0\n#define SCAN_OK 1\n#define SCAN_ERROR -1\n#define SCAN_OVERFLOW -2\n#define SCAN_SATURATE -3\n#define GAIN_ADJ 10 \n" (preproc_def) "#define MAX_CARDS 1 \n" (#define) "#define" (identifier) "MAX_CARDS" (preproc...
33
0
{"language": "c", "success": true, "metadata": {"lines": 8, "avg_line_length": 21.88, "nodes": 32, "errors": 0, "source_hash": "6b54a6dd39c62b72b4c990e6626bb7aa232cc91f38898ba744dfba30d143beaf", "categorized_nodes": 8}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_def", "text": "#define MAX_...
13,266
c
// // ViewController2.h // Wechat_Hook_log // // Created by jyh on 2018/1/15. // // #import <UIKit/UIKit.h> @interface ViewController2 : UIViewController @end
15.2
10
(translation_unit) "//\n// ViewController2.h\n// Wechat_Hook_log\n//\n// Created by jyh on 2018/1/15.\n//\n//\n\n#import <UIKit/UIKit.h>\n\n@interface ViewController2 : UIViewController\n\n@end\n" (comment) "//" (comment) "// ViewController2.h" (comment) "// Wechat_Hook_log" (comment) "//" (comment) "// ...
22
4
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 15.2, "nodes": 11, "errors": 0, "source_hash": "3c502d05dc81ae4e9f294d2a4524e8453b533f7acb10747aebd13a3d3d1b2294", "categorized_nodes": 5}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <UI...
13,267
c
/********************************************************************** * Premake - cb.c * The Code::Blocks target * * Copyright (c) 2002-2006 <NAME> and the Premake project * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * ...
26
111
(translation_unit) "/********************************************************************** \n * Premake - cb.c \n * The Code::Blocks target \n * \n * Copyright (c) 2002-2006 <NAME> and the Premake project \n * \n * This program is free software; you can redistribute it and/or \n * modify it under the terms of the GNU ...
664
0
{"language": "c", "success": true, "metadata": {"lines": 111, "avg_line_length": 26.0, "nodes": 332, "errors": 0, "source_hash": "d2a15d6747d64330b5f655abbb30f16d6c1b358dfc5947969e96f2b5225b4145", "categorized_nodes": 216}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
13,268
c
/* * Copyright (C) Research In Motion Limited 2010. All rights reserved. * * 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) an...
35.8
93
(translation_unit) "/*\n * Copyright (C) Research In Motion Limited 2010. All rights reserved.\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 Licen...
611
35
{"language": "c", "success": true, "metadata": {"lines": 93, "avg_line_length": 35.8, "nodes": 349, "errors": 0, "source_hash": "9a2e0a6e9d5d1dc973047b6929e3ba9169d70c9a8f963795376d0de3268dcd90", "categorized_nodes": 259}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
13,269
c
/* * 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 writing, software * distribut...
34.95
37
(translation_unit) "/*\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 applicable law or agreed to in wri...
274
18
{"language": "c", "success": true, "metadata": {"lines": 37, "avg_line_length": 34.95, "nodes": 175, "errors": 0, "source_hash": "4af979661960849e56f511ea6ef0be843334a678e75b8fb682f5908d2af34fe3", "categorized_nodes": 110}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "#ifndef TYPEDR...
13,270
c
/* $Id$ */ #include "env/general_definitions.h" #ifndef __INIT_SWITCHING_H #define __INIT_SWITCHING_H #ifdef __cplusplus extern "C" { #endif extern int* loop_bound_array; int _smi_init_switching(); #ifdef __cplusplus } #endif #endif
11.4
20
(translation_unit) "/* $Id$ */\n\n#include "env/general_definitions.h"\n\n#ifndef __INIT_SWITCHING_H\n#define __INIT_SWITCHING_H\n \n \n#ifdef __cplusplus\nextern "C" {\n#endif\n\n\n\nextern int* loop_bound_array;\n\n \nint _smi_init_switching();\n \n \n#ifdef __cplusplus\n}\n#endif\n \n#endif\n" (comment) "/* $Id$...
50
0
{"language": "c", "success": true, "metadata": {"lines": 20, "avg_line_length": 11.4, "nodes": 35, "errors": 0, "source_hash": "9300c4fb2490f2b7ff61319c0e606076303515fedb4b35292b00d73a2f9e3d79", "categorized_nodes": 25}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#includ...
13,271
c
#ifndef FRACTION #define FRACTION #include <iostream> #include <cstdlib> #include <exception> #include <string> #include <regex> //exception classes class invalidFraction:public std::exception { public: const char * what() const throw() { return "Invalid fraction entered"; }; }; class divBy...
23.05
62
(translation_unit) "#ifndef FRACTION\n#define FRACTION\n\n#include <iostream>\n#include <cstdlib>\n#include <exception>\n#include <string>\n#include <regex>\n\n\n//exception classes\nclass invalidFraction:public std::exception\n{\n public:\n const char * what() const throw()\n {\n return "Invalid fracti...
480
35
{"language": "c", "success": true, "metadata": {"lines": 62, "avg_line_length": 23.05, "nodes": 225, "errors": 0, "source_hash": "781b85f29423ea65fc90ac07bcbfd2ff2bf98a240eb4698f5c5d7f63be79390b", "categorized_nodes": 133}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
13,272
c
// // WHIPmHomeViewController.h // whisky // // Created by QiuFeng on 4/25/16. // Copyright © 2016 www.qiufeng.me. All rights reserved. // #import <UIKit/UIKit.h> @interface WHIPmHomeViewController : UIViewController @end
21.6
10
(translation_unit) "//\n// WHIPmHomeViewController.h\n// whisky\n//\n// Created by QiuFeng on 4/25/16.\n// Copyright © 2016 www.qiufeng.me. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface WHIPmHomeViewController : UIViewController\n\n@end\n" (comment) "//" (comment) "// WHIPmHomeViewControlle...
19
3
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 21.6, "nodes": 9, "errors": 0, "source_hash": "673c22789633106b7e57730cd08c03715cc2fb6777b64d50145b00755d799ad5", "categorized_nodes": 5}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <UIKi...
13,273
c
// // UIAHttps.h // UIADemo // // Created by zhangchao on 16/12/13. // Copyright © 2016年 王龙. All rights reserved. // #import <Foundation/Foundation.h> NS_ASSUME_NONNULL_BEGIN @interface UIAHttps : NSObject + (UIAHttps *)shared; - (void)POST:(NSString *)urlString Dictionary:(NSDictionary *)dic progress:(...
35.5
20
(translation_unit) "//\n// UIAHttps.h\n// UIADemo\n//\n// Created by zhangchao on 16/12/13.\n// Copyright © 2016年 王龙. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n\n\nNS_ASSUME_NONNULL_BEGIN\n\n@interface UIAHttps : NSObject\n\n+ (UIAHttps *)shared;\n\n- (void)POST:(NSString *)urlString\n Diction...
221
26
{"language": "c", "success": true, "metadata": {"lines": 20, "avg_line_length": 35.5, "nodes": 146, "errors": 0, "source_hash": "242f884ce3f2621239f46a8f1d00088f9fc8488a37df95c399628b352cdfba6e", "categorized_nodes": 80}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": " <Foundat...
13,274
c
// // Created by jonas on 12.08.19. // #ifndef WEIGHTED_F_FREE_EDGE_EDITING_EDITORTESTS_H #define WEIGHTED_F_FREE_EDGE_EDITING_EDITORTESTS_H #include <random> #include "../Configuration.h" class EditorTests { std::mt19937 gen; std::string instance_path = "../data/bio/bio-nr-3-size-16.graph"; public: ...
45.6
25
(translation_unit) "//\n// Created by jonas on 12.08.19.\n//\n\n#ifndef WEIGHTED_F_FREE_EDGE_EDITING_EDITORTESTS_H\n#define WEIGHTED_F_FREE_EDGE_EDITING_EDITORTESTS_H\n\n\n#include <random>\n\n#include "../Configuration.h"\n\n\nclass EditorTests {\n\n std::mt19937 gen;\n std::string instance_path = "../data/bio/b...
262
14
{"language": "c", "success": true, "metadata": {"lines": 25, "avg_line_length": 45.6, "nodes": 152, "errors": 0, "source_hash": "e7f73cf1bbc951d1d58781480059bed084818c1a69934b53109f2872041b3508", "categorized_nodes": 100}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
13,275
c
/** * @author ooooo * @date 2020/12/12 20:27 */ #ifndef CPP_1562__SOLUTION2_H_ #define CPP_1562__SOLUTION2_H_ #include <iostream> #include <vector> #include <unordered_map> using namespace std; class Solution { public: int findLatestStep(vector<int> &arr, int m) { int n = arr.size(); if (m == n) return n;...
23.43
35
(translation_unit) "/**\n * @author ooooo\n * @date 2020/12/12 20:27 \n */\n\n#ifndef CPP_1562__SOLUTION2_H_\n#define CPP_1562__SOLUTION2_H_\n\n#include <iostream>\n#include <vector>\n#include <unordered_map>\n\nusing namespace std;\n\nclass Solution {\n public:\n int findLatestStep(vector<int> &arr, int m) {\n int n ...
262
3
{"language": "c", "success": true, "metadata": {"lines": 35, "avg_line_length": 23.43, "nodes": 178, "errors": 0, "source_hash": "64e1bf36d4841c83e8c4b3657db33bf7d99ea6c37a0c64fd01fb08817c7b7e57", "categorized_nodes": 127}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
13,276
c
// // CustomeView.h // third // // Created by Apple on 2019/6/8. // Copyright © 2019 Apple. All rights reserved. // #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @interface CustomeView : UIView @end NS_ASSUME_NONNULL_END
17.92
12
(translation_unit) "//\n// CustomeView.h\n// third\n//\n// Created by Apple on 2019/6/8.\n// Copyright © 2019 Apple. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\nNS_ASSUME_NONNULL_BEGIN\n\n@interface CustomeView : UIView\n\n@end\n\nNS_ASSUME_NONNULL_END\n" (comment) "//" (comment) "// CustomeView.h" ...
27
4
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 17.92, "nodes": 14, "errors": 0, "source_hash": "22f1aea96a0a9aba968a818c2ba732a111469d718b3770476bd232112f1b048d", "categorized_nodes": 9}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <UI...
13,277
c
#ifndef EcalNextToDeadChannelRcd_h #define EcalNextToDeadChannelRcd_h #include "FWCore/Utilities/interface/mplVector.h" #include "FWCore/Framework/interface/DependentRecordImplementation.h" #include "CondFormats/DataRecord/interface/EcalChannelStatusRcd.h" // // Registration of to the EventSetup mechanism // class E...
43.92
12
(translation_unit) "#ifndef EcalNextToDeadChannelRcd_h\n#define EcalNextToDeadChannelRcd_h\n\n#include "FWCore/Utilities/interface/mplVector.h"\n#include "FWCore/Framework/interface/DependentRecordImplementation.h"\n#include "CondFormats/DataRecord/interface/EcalChannelStatusRcd.h"\n\n//\n// Registration of to the Even...
61
3
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 43.92, "nodes": 33, "errors": 0, "source_hash": "ed115c6159751b283e6c0f904452d5a729ebcbfe55cec982f808f96d716a4ec6", "categorized_nodes": 24}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
13,278
c
// // SPPress.h // Sparrow // // Created by <NAME> on 10/24/15. // Copyright 2011-2015 Gamua. All rights reserved. // // This program is free software; you can redistribute it and/or modify // it under the terms of the Simplified BSD License. // #import <Foundation/Foundation.h> NS_ENUM_AVAILABLE_IOS(9_0) typed...
37.62
65
(translation_unit) "//\n// SPPress.h\n// Sparrow\n//\n// Created by <NAME> on 10/24/15.\n// Copyright 2011-2015 Gamua. All rights reserved.\n//\n// This program is free software; you can redistribute it and/or modify\n// it under the terms of the Simplified BSD License.\n//\n\n#import <Foundation/Foundation.h>\n\...
231
21
{"language": "c", "success": true, "metadata": {"lines": 65, "avg_line_length": 37.62, "nodes": 128, "errors": 0, "source_hash": "ca0b119d71f9d2b820a163055a26c7e89bb4b62b80f4a53201a21be8451c5d1f", "categorized_nodes": 87}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import ...
13,279
c
/* * simpler interface to arms.h * with checking of bounds */ #include "stdlib.h" #include "math.h" #include "arms.h" #include "yap.h" #ifdef isfinite #define ISFINITE(x) isfinite(x) #else #define ISFINITE(x) finite(x) #endif int myarms_evals; double myarms_last; extern int verbose; static int myarms_simple(int...
29.43
106
(translation_unit) "/*\n * simpler interface to arms.h\n * with checking of bounds\n */\n\n\n#include "stdlib.h"\n#include "math.h"\n#include "arms.h"\n#include "yap.h"\n\n#ifdef isfinite\n#define ISFINITE(x) isfinite(x)\n#else\n#define ISFINITE(x) finite(x)\n#endif\n\nint myarms_evals;\ndouble myarms_last;\nextern int...
1,009
0
{"language": "c", "success": true, "metadata": {"lines": 106, "avg_line_length": 29.43, "nodes": 653, "errors": 0, "source_hash": "0868a32da79390e99c412d906e8f3e008a5776cb0c844699e2c5f350c9c83abc", "categorized_nodes": 440}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
13,280
c
/* * This file is part of the coreboot project. * * Copyright (C) 2010 Advanced Micro Devices, Inc. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; version 2 of the License. * * This ...
33.65
55
(translation_unit) "/*\n * This file is part of the coreboot project.\n *\n * Copyright (C) 2010 Advanced Micro Devices, Inc.\n *\n * This program is free software; you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation; version 2 ...
350
0
{"language": "c", "success": true, "metadata": {"lines": 55, "avg_line_length": 33.65, "nodes": 220, "errors": 0, "source_hash": "466f75c9ed62374ee556933a1d1745be18d8a1d3e0319df4db3b6910bc28eab7", "categorized_nodes": 178}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "function_definition", "text": "...
13,281
c
#ifndef VCZH_GACUISRC_TESTCPPCODEGEN_HELPERS #define VCZH_GACUISRC_TESTCPPCODEGEN_HELPERS #include "../../../Source/GacUI.h" using namespace vl; namespace demo { class IViewModel; extern Ptr<IViewModel> CreateViewModel(); } #endif
22.3
10
(translation_unit) "#ifndef VCZH_GACUISRC_TESTCPPCODEGEN_HELPERS\n#define VCZH_GACUISRC_TESTCPPCODEGEN_HELPERS\n\n#include "../../../Source/GacUI.h"\n\nusing namespace vl;\n\nnamespace demo\n{\n class IViewModel;\n\n extern Ptr<IViewModel> CreateViewModel();\n}\n\n#endif" (preproc_ifdef) "#ifndef VCZH_GACUISRC_TESTCP...
44
2
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 22.3, "nodes": 31, "errors": 0, "source_hash": "8366ac072b6ccffb6c2154b01b69ebae1f572f3162618f841e67c6ffd96ee4f5", "categorized_nodes": 23}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef V...
13,282
c
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include <aws/core/client/AWSError.h> #include <aws/core/client/CoreErrors.h> #include <aws/network-firewall/NetworkFirewall_EXPORTS.h> namespace Aws { namespace NetworkFirewall { enum ...
35.07
71
(translation_unit) "*\n * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n * SPDX-License-Identifier: Apache-2.0.\n */\n\n#pragma once\n\n#include <aws/core/client/AWSError.h>\n#include <aws/core/client/CoreErrors.h>\n#include <aws/network-firewall/NetworkFirewall_EXPORTS.h>\n\nnamespace Aws\n{\nnam...
568
25
{"language": "c", "success": true, "metadata": {"lines": 71, "avg_line_length": 35.07, "nodes": 372, "errors": 0, "source_hash": "889ccf906a87e27f598cfbc2a40617b5cf13e96fce3b4b49aa8397ce184e967f", "categorized_nodes": 257}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "ragma o...
13,283
c
// // VZSettingInspector.h // VZInspector // // Created by moxin.xt on 14-12-16. // Copyright (c) 2014年 VizLab. All rights reserved. // #import <Foundation/Foundation.h> typedef void(^vz_api_env_callback)(void); @interface VZSettingInspector : NSObject + (VZSettingInspector* )sharedInstance; + (void)addAPIEnvTy...
29.64
14
(translation_unit) "//\n// VZSettingInspector.h\n// VZInspector\n//\n// Created by moxin.xt on 14-12-16.\n// Copyright (c) 2014年 VizLab. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n\ntypedef void(^vz_api_env_callback)(void);\n\n@interface VZSettingInspector : NSObject\n\n+ (VZSettingInspector* )s...
95
9
{"language": "c", "success": true, "metadata": {"lines": 14, "avg_line_length": 29.64, "nodes": 51, "errors": 0, "source_hash": "c8cb4b5e582ac94c7a1cdf546b6caa17ad33c8a0fa08a0d30af4b2b2dd9e947f", "categorized_nodes": 30}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "mport <Fo...
13,284
c
#ifndef _LOOP_FULL_UNROLLING_H_INCLUDED_ #define _LOOP_FULL_UNROLLING_H_INCLUDED_ #include "Reprise/Reprise.h" namespace OPS { namespace Transforms { namespace Loops { using OPS::Reprise::ForStatement; bool canApplyLoopFullUnrollingTo(ForStatement& forStatement); void makeLoopFullUnrolling(ForStatement& forStatem...
22.53
17
(translation_unit) "#ifndef _LOOP_FULL_UNROLLING_H_INCLUDED_\n#define _LOOP_FULL_UNROLLING_H_INCLUDED_\n\n#include "Reprise/Reprise.h"\n\nnamespace OPS\n{\nnamespace Transforms\n{\nnamespace Loops\n{\n\nusing OPS::Reprise::ForStatement;\n\n\nbool canApplyLoopFullUnrollingTo(ForStatement& forStatement);\n\nvoid makeLoop...
73
3
{"language": "c", "success": true, "metadata": {"lines": 17, "avg_line_length": 22.53, "nodes": 41, "errors": 0, "source_hash": "44d8d3f7fa6f530c965c1e122647695f6287cff59f71c99bf2d8f779897335b9", "categorized_nodes": 34}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
13,285
c
/*! @brief * @file DJI_HotPoint.h * @version 3.0 * @date Dec 16, 2015 * * @abstract * HotPoint API for DJI onboardSDK library * * @attention * Project configuration: * * @version features: * -* @version V3.0 * -* DJI-onboard-SDK for Windows,QT,STM32,ROS,Cmake * -* @date Dec 16, 2015 * -* @aut...
26.51
115
(translation_unit) "/*! @brief\n * @file DJI_HotPoint.h\n * @version 3.0\n * @date Dec 16, 2015\n *\n * @abstract\n * HotPoint API for DJI onboardSDK library\n *\n * @attention\n * Project configuration:\n *\n * @version features:\n * -* @version V3.0\n * -* DJI-onboard-SDK for Windows,QT,STM32,ROS,Cmake\n * ...
645
20
{"language": "c", "success": true, "metadata": {"lines": 115, "avg_line_length": 26.51, "nodes": 445, "errors": 0, "source_hash": "24b16d40377e11213b976b5e9ba1e71cfc5993f05ddaaf7693cbc31c9edf3ea1", "categorized_nodes": 310}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
13,286
c
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* * Copyright 1994 OpenVision Technologies, Inc., All Rights Reserved * */ #ifndef _MISC_H #define _MISC_H 1 #include "net-server.h" /* for krb5_fulladdr */ int setup_gss_names(struct svc_req*, gss_buffer_desc*, gss_buffer_desc*); kadm5_ret_t schpw...
46.45
29
(translation_unit) "/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */\n/*\n * Copyright 1994 OpenVision Technologies, Inc., All Rights Reserved\n *\n */\n\n#ifndef _MISC_H\n#define _MISC_H 1\n\n#include "net-server.h" /* for krb5_fulladdr */\n\nint setup_gss_names(struct svc_req*, gss_buffer_desc*, gss_bu...
321
0
{"language": "c", "success": true, "metadata": {"lines": 29, "avg_line_length": 46.45, "nodes": 244, "errors": 0, "source_hash": "b68f299bcb6d72137481e7fe88a5b02b23df48b4223506ff0c7ff305d149dd0a", "categorized_nodes": 148}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
13,287
c
/* (-lgl * COHERENT Version 3.2 * Copyright (c) 1982, 1991 by <NAME>. * All rights reserved. May not be copied without permission. -lgl) */ /* * time.h * COHERENT time function header. */ #ifndef TIME_H #define TIME_H TIME_H #include <sys/types.h> struct tm { int tm_sec; int tm_min; int tm_hour; int tm...
17.91
32
(translation_unit) "/* (-lgl\n * COHERENT Version 3.2\n * Copyright (c) 1982, 1991 by <NAME>.\n * All rights reserved. May not be copied without permission.\n -lgl) */\n/*\n * time.h\n * COHERENT time function header.\n */\n\n#ifndef TIME_H\n#define TIME_H TIME_H\n\n#include <sys/types.h>\n\nstruct tm {\n int tm_sec...
141
0
{"language": "c", "success": true, "metadata": {"lines": 32, "avg_line_length": 17.91, "nodes": 103, "errors": 0, "source_hash": "53a7b26b8bce677b2a045937ed77dcb8de51c21d54762668bfab0a5295f521c2", "categorized_nodes": 65}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
13,288
c
/* ** EPITECH PROJECT, 2017 ** my_sokoban ** File description: ** main sokoban */ #include "my.h" #include "header_SOKOBAN.h" #include <stdlib.h> #include <ncurses.h> #include <stdio.h> int loop_window(char **map, linked_list_t *storage) { WINDOW *win; int var = 0; initscr(); win = newwin(LINES, COLS, 0, 0); wh...
18.88
43
(translation_unit) "/*\n** EPITECH PROJECT, 2017\n** my_sokoban\n** File description:\n** main sokoban\n*/\n\n#include "my.h"\n#include "header_SOKOBAN.h"\n#include <stdlib.h>\n#include <ncurses.h>\n#include <stdio.h>\n\nint loop_window(char **map, linked_list_t *storage)\n{\n WINDOW *win;\n int var = 0;\n\n initscr();...
308
0
{"language": "c", "success": true, "metadata": {"lines": 43, "avg_line_length": 18.88, "nodes": 188, "errors": 0, "source_hash": "9d309609b532fd2037ed7d6b5f0844e8511ea351dc596bf8e09df0b666e348f4", "categorized_nodes": 124}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
13,289
c
#ifndef BITCOINB3_QT_TEST_WALLETTESTS_H #define BITCOINB3_QT_TEST_WALLETTESTS_H #include <QObject> #include <QTest> class WalletTests : public QObject { Q_OBJECT private Q_SLOTS: void walletTests(); }; #endif // BITCOINB3_QT_TEST_WALLETTESTS_H
21.91
11
(translation_unit) "#ifndef BITCOINB3_QT_TEST_WALLETTESTS_H\n#define BITCOINB3_QT_TEST_WALLETTESTS_H\n\n#include <QObject>\n#include <QTest>\n\nclass WalletTests : public QObject\n{\n Q_OBJECT\n\nprivate Q_SLOTS:\n void walletTests();\n};\n\n#endif // BITCOINB3_QT_TEST_WALLETTESTS_H\n" (preproc_ifdef) "#ifndef ...
42
1
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 21.91, "nodes": 26, "errors": 0, "source_hash": "91caa0c14257e1f13432184e7b08cd99228834115de0e943bfc6a36df91e2d54", "categorized_nodes": 20}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
13,290
c
// RUN: %clang_cc1 -triple i386-apple-darwin10 -mms-bitfields -emit-llvm %s -o - | FileCheck %s struct s1 { int f32; long long f64; } s1; // CHECK: %struct.s1 = type { i32, [4 x i8], i64 } struct s2 { int f32; long long f64[4]; } s2; // CHECK: %struct.s2 = type { i32, [4 x i8], [4 x i64] } stru...
38.11
47
(translation_unit) "// RUN: %clang_cc1 -triple i386-apple-darwin10 -mms-bitfields -emit-llvm %s -o - | FileCheck %s\n\nstruct s1 {\n int f32;\n long long f64;\n} s1;\n\n// CHECK: %struct.s1 = type { i32, [4 x i8], i64 }\n\nstruct s2 {\n int f32;\n long long f64[4];\n} s2;\n\n// CHECK: %struct.s2 = type ...
256
0
{"language": "c", "success": true, "metadata": {"lines": 47, "avg_line_length": 38.11, "nodes": 164, "errors": 0, "source_hash": "5406a71f530f661cce44ba325847c507fb298eead2a9e565fa4c0d3be9dbc696", "categorized_nodes": 129}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "declaration", "text": "struct s...
13,291
c
#pragma once #include "PersonalCarBody.h" class PersonalCarBodyStandard1:public PersonalCarBody { public: virtual int GetPassagersStorage(); virtual float GetItemsStorage(); virtual float GetMass(); };
24.56
9
(translation_unit) "#pragma once\n\n#include "PersonalCarBody.h"\n\nclass PersonalCarBodyStandard1:public PersonalCarBody\n{\n public:\n virtual int GetPassagersStorage();\n virtual float GetItemsStorage();\n virtual float GetMass();\n};\n" (preproc_call) "#pragma once\n" (preproc_directiv...
55
4
{"language": "c", "success": true, "metadata": {"lines": 9, "avg_line_length": 24.56, "nodes": 32, "errors": 0, "source_hash": "283dd96eefdd71e7e59ca07111280977a297c7857fe5c7ac5ee06f6cc7e2742a", "categorized_nodes": 22}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma on...
13,292
c
/** * Upbit Open API * ## REST API for Upbit Exchange - Base URL: [https://api.upbit.com] - Official Upbit API Documents: [https://docs.upbit.com] - Official Support email: [<EMAIL>] * * OpenAPI spec version: 1.0.0 * Contact: <EMAIL> * * NOTE: This class is auto generated by the swagger code generator 2.4.18. ...
28.2
122
(translation_unit) "/**\n * Upbit Open API\n * ## REST API for Upbit Exchange - Base URL: [https://api.upbit.com] - Official Upbit API Documents: [https://docs.upbit.com] - Official Support email: [<EMAIL>] \n *\n * OpenAPI spec version: 1.0.0\n * Contact: <EMAIL>\n *\n * NOTE: This class is auto generated by the swagg...
646
35
{"language": "c", "success": true, "metadata": {"lines": 122, "avg_line_length": 28.2, "nodes": 385, "errors": 0, "source_hash": "07b39968291fb83621f9e3083510663cebf5d997d37c889b293fa96a7a048e0c", "categorized_nodes": 258}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "WAGGER...
13,293
c
#include <stdbool.h> #include <stdio.h> #include <string.h> #define __USE_GNU #include <dlfcn.h> #include <link.h> #include "dlfn.h" #include "macro.h" #define MAX_PATH 128 static char dlname[MAX_PATH]; static void *dlhandle; // visible Symbol_t dlfn_symbols[MAX_SYMBOLS]; int dlfn_used_symbols; Object_t dlfn_object...
21.71
249
(translation_unit) "#include <stdbool.h>\n#include <stdio.h>\n#include <string.h>\n\n#define __USE_GNU\n#include <dlfcn.h>\n#include <link.h>\n\n#include "dlfn.h"\n#include "macro.h"\n\n#define MAX_PATH 128\nstatic char dlname[MAX_PATH];\nstatic void *dlhandle;\n\n// visible\nSymbol_t dlfn_symbols[MAX_SYMBOLS];\nint dl...
2,034
0
{"language": "c", "success": true, "metadata": {"lines": 249, "avg_line_length": 21.71, "nodes": 1231, "errors": 0, "source_hash": "e92a1f9c0e9e0be7b8d8c3ed2eb6896036318797efa783ff4f2535b9c1f4b5c9", "categorized_nodes": 821}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#i...
13,294
c
// // DJIAircraft.h // DJISDK // // Copyright © 2015, DJI. All rights reserved. // #import <Foundation/Foundation.h> #import <DJISDK/DJIBaseProduct.h> @class DJIFlightController; @class DJIGimbal; @class DJIBattery; @class DJIRemoteController; @class DJICamera; @class DJIAirLink; NS_ASSUME_NONNULL_BEGIN /** * ...
26.51
121
(translation_unit) "//\n// DJIAircraft.h\n// DJISDK\n//\n// Copyright © 2015, DJI. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n#import <DJISDK/DJIBaseProduct.h>\n\n@class DJIFlightController;\n@class DJIGimbal;\n@class DJIBattery;\n@class DJIRemoteController;\n@class DJICamera;\n@class DJIAirLink;...
388
57
{"language": "c", "success": true, "metadata": {"lines": 121, "avg_line_length": 26.51, "nodes": 279, "errors": 0, "source_hash": "f318e843427ca951bea08d5043d7cea7962e746f1a865f6a8dc520ef0259cb03", "categorized_nodes": 153}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import...
13,295
c
#ifndef __VWO__ #define __VWO__ #include "gl/gl.h" #include "gl/glu.h" #include "3d/dhVector.h" #include "3d/dhMat.h" class vwPolygon { public: vwPolygon(); public: dhVector *v[3]; void Tri(dhVector*,int,int,int); }; class vwO { public: vwO(); ~vwO(); public: // startup void Ini...
14.49
51
(translation_unit) "#ifndef __VWO__ \n#define __VWO__ \n \n#include "gl/gl.h" \n#include "gl/glu.h" \n#include "3d/dhVector.h" \n#include "3d/dhMat.h" \n \nclass vwPolygon \n{ \npublic: \n vwPolygon(); \npublic: \n dhVector *v[3]; \n void Tri(dhVector*,int,int,int); \n}; \n \nclass vwO \n{ \npublic: \n vwO(); \n ~...
302
5
{"language": "c", "success": true, "metadata": {"lines": 51, "avg_line_length": 14.49, "nodes": 190, "errors": 0, "source_hash": "af9daea8126e62f1f352ba1ad4a7839c27da7df4a50c2a40d69b8801990dc086", "categorized_nodes": 114}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
13,296
c
#include <stdio.h> #include "disk.h" void get_data(int sector_id, int sector_num, char* info) { FILE* file = fopen("file", "r"); fseek(file, sector_id*SECTOR_SIZE, SEEK_SET); fread(info, sector_num*SECTOR_SIZE, 1, file); fclose(file); } void save_data(int sector_id, int sector_num, char* info) { char k[SECTOR_SIZE...
24.84
19
(translation_unit) "#include <stdio.h>\n#include "disk.h"\nvoid get_data(int sector_id, int sector_num, char* info)\n{\n FILE* file = fopen("file", "r");\n fseek(file, sector_id*SECTOR_SIZE, SEEK_SET);\n fread(info, sector_num*SECTOR_SIZE, 1, file);\n fclose(file);\n}\nvoid save_data(int sector_id, int sector_num, char...
207
0
{"language": "c", "success": true, "metadata": {"lines": 19, "avg_line_length": 24.84, "nodes": 124, "errors": 0, "source_hash": "35e0f6f42b4cd8f82b621806235a052fdeb2da7ef1328607c7cc8e74030edf68", "categorized_nodes": 84}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
13,297
c
#include "clingo/io/write.h" #include <ctype.h> #include <stdio.h> #include "_/io/read_write_util.h" #include "clingo/io/jot.h" #include "clingo/io/write_type.h" /******************************************************************************* ********************************************************* Types and Defini...
29.19
278
(translation_unit) "#include "clingo/io/write.h"\n\n#include <ctype.h>\n#include <stdio.h>\n\n#include "_/io/read_write_util.h"\n#include "clingo/io/jot.h"\n#include "clingo/io/write_type.h"\n\n/*******************************************************************************\n********************************************...
2,204
13
{"language": "c", "success": true, "metadata": {"lines": 278, "avg_line_length": 29.19, "nodes": 1212, "errors": 0, "source_hash": "b3dc18776d1b1b4b4fe583bc14f54b307892df73577219b07d354836ce89faec", "categorized_nodes": 868}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#i...
13,298
c
#ifndef _drop_down_box_h #define _drop_down_box_h typedef struct { SCREEN_OBJECT_T so; UCHAR** strings; int selected, dropped, count; void (_far* OnChange)(); }DROPDOWN_BOX_T; extern void DisplayDropDown(DROPDOWN_BOX_T* ddb); extern void DropDownClick(DROPDOWN_BOX_T* ddb); extern void S...
27.72
18
(translation_unit) "#ifndef _drop_down_box_h\n#define _drop_down_box_h\n\ntypedef struct\n{\n SCREEN_OBJECT_T so;\n UCHAR** strings;\n int selected,\n dropped,\n count;\n void (_far* OnChange)();\n}DROPDOWN_BOX_T;\n\nextern void DisplayDropDown(DROPDOWN_BOX_T* ddb);\nextern void DropDownClick(D...
146
1
{"language": "c", "success": true, "metadata": {"lines": 18, "avg_line_length": 27.72, "nodes": 112, "errors": 0, "source_hash": "9333c834ef368a2c15afbbcd893c38ded51e33128a0117b8f44a07203801f43b", "categorized_nodes": 67}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
13,299