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
#pragma once #include "FirmwarePlugin.h" #include "PX4FirmwarePlugin.h" class VHFTrackerFirmwarePlugin : public PX4FirmwarePlugin { Q_OBJECT public: VHFTrackerFirmwarePlugin(void); // FirmwarePlugin overrides private: };
20.18
11
(translation_unit) "#pragma once\n\n#include "FirmwarePlugin.h"\n#include "PX4FirmwarePlugin.h"\n\nclass VHFTrackerFirmwarePlugin : public PX4FirmwarePlugin\n{\n Q_OBJECT\n\npublic:\n VHFTrackerFirmwarePlugin(void);\n\n // FirmwarePlugin overrides\n\nprivate:\n};\n" (preproc_call) "#pragma once\n" (prepr...
47
2
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 20.18, "nodes": 22, "errors": 0, "source_hash": "82ff74dab8bf8f6a0f9730ffd817956cbb18818bb2ab757f4a38113f35875cfd", "categorized_nodes": 15}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
7,100
c
//------------------------------------------------------------------------------ // common.h - Common math functions // // Gaen Concurrency Engine - http://gaen.org // Copyright (c) 2014-2021 <NAME> // // This software is provided 'as-is', without any express or implied // warranty. In no event will the authors be held...
29.06
108
(translation_unit) "//------------------------------------------------------------------------------\n// common.h - Common math functions\n//\n// Gaen Concurrency Engine - http://gaen.org\n// Copyright (c) 2014-2021 <NAME>\n//\n// This software is provided 'as-is', without any express or implied\n// warranty. In no eve...
910
46
{"language": "c", "success": true, "metadata": {"lines": 108, "avg_line_length": 29.06, "nodes": 531, "errors": 0, "source_hash": "1880266d8b55c163f8790d084dbabc91a0404a860759589593c2c7a1d0e0a4b4", "categorized_nodes": 412}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
7,101
c
#ifndef _EXAMPLES_HELPERS_H #define _EXAMPLES_HELPERS_H #include <stddef.h> #include "lightmqtt/core.h" lmqtt_io_result_t get_time(long *secs, long *nsecs); lmqtt_io_result_t file_read(void *data, void *buf, size_t buf_len, size_t *bytes_read, int *os_error); lmqtt_io_result_t file_write(void *data, void *buf, si...
38
12
(translation_unit) "#ifndef _EXAMPLES_HELPERS_H\n#define _EXAMPLES_HELPERS_H\n\n#include <stddef.h>\n#include "lightmqtt/core.h"\n\nlmqtt_io_result_t get_time(long *secs, long *nsecs);\nlmqtt_io_result_t file_read(void *data, void *buf, size_t buf_len,\n size_t *bytes_read, int *os_error);\nlmqtt_io_result_t file_wr...
140
0
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 38.0, "nodes": 109, "errors": 0, "source_hash": "3c902a00a92b2203d366d0ad01daf1d07ce2c2bd1c65552fa00e0ce6e507d46c", "categorized_nodes": 62}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
7,102
c
#include <cstdio> #ifdef DEBUG #define LOG(...) \ { \ fprintf(stderr, "[%s: Line:%d]", __FILE__, __LINE__); \ fprintf(stderr, __VA_ARGS__); \ fprintf(stderr, "\n"); ...
49.75
8
(translation_unit) "#include <cstdio>\n\n#ifdef DEBUG\n#define LOG(...) \\n { \\n fprintf(stderr, "[%s: Line:%d]", __FILE__, __LINE__); \\n fprintf(stderr, __VA_ARGS__); \\n fprintf(stderr, "...
25
0
{"language": "c", "success": true, "metadata": {"lines": 8, "avg_line_length": 49.75, "nodes": 18, "errors": 0, "source_hash": "c41e9643708371b715228d0af8ec7c1005b5bdb4c27868ca85ba2d6e85f57fb8", "categorized_nodes": 11}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#includ...
7,103
c
#pragma once void appMain (void);
16
2
(translation_unit) "#pragma once\nvoid appMain (void);\n" (preproc_call) "#pragma once\n" (preproc_directive) "#pragma" (preproc_arg) "once" (declaration) "void appMain (void);" (primitive_type) "void" (function_declarator) "appMain (void)" (identifier) "appMain" (parameter_list) "(void)...
14
0
{"language": "c", "success": true, "metadata": {"lines": 2, "avg_line_length": 16.0, "nodes": 10, "errors": 0, "source_hash": "f367783042abd497c355c62a1f4755596f4491984cb7b75248b413aab263a055", "categorized_nodes": 5}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma once...
7,104
c
// // MBAppDelegate.h // MyTest // // Created by yintr on 12/23/2019. // Copyright (c) 2019 yintr. All rights reserved. // @import UIKit; @interface MBAppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWindow *window; @end
22.45
11
(translation_unit) "//\n// MBAppDelegate.h\n// MyTest\n//\n// Created by yintr on 12/23/2019.\n// Copyright (c) 2019 yintr. All rights reserved.\n//\n\n@import UIKit;\n\n@interface MBAppDelegate : UIResponder <UIApplicationDelegate>\n\n@property (strong, nonatomic) UIWindow *window;\n\n@end\n" (comment) "//" (c...
42
8
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 22.45, "nodes": 26, "errors": 0, "source_hash": "874540cef1428c62cbcb26198163ec1ea33d9eefc98b6657e1000bb70ecf2223", "categorized_nodes": 13}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "@", "parent": nu...
7,105
c
static unsigned char heap[10*1024]; heap_init((unsigned int)heap, sizeof(heap)); #define OSX_THREAD_NAME_MAX 8 struct osx_thread { unsigned int *stack_addr; //stack address unsigned short stack_size; //stack size char name[OSX_THREAD_NAME_MAX]; //t...
27.91
66
(translation_unit) "static unsigned char heap[10*1024]; \n \nheap_init((unsigned int)heap, sizeof(heap)); \n \n \n#define OSX_THREAD_NAME_MAX 8 \nstruct osx_thread \n{ \n unsigned int *stack_addr; //stack address \n unsigned short stack_size; //stack size \n \n char name...
428
0
{"language": "c", "success": true, "metadata": {"lines": 66, "avg_line_length": 27.91, "nodes": 276, "errors": 0, "source_hash": "0304505bd8c9bf54e0b0b9a060875eeb64155c2273e8f8fa6d8a47e4139b3642", "categorized_nodes": 179}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "declaration", "text": "static u...
7,106
c
/* Generated by RuntimeBrowser Image: /System/Library/Frameworks/SecurityFoundation.framework/Versions/A/SecurityFoundation */ @interface SFKeySearchFilter_Ivars : NSObject { NSArray * domains; NSArray * specifiers; } - (void).cxx_destruct; @end
27.67
9
(translation_unit) "/* Generated by RuntimeBrowser\n Image: /System/Library/Frameworks/SecurityFoundation.framework/Versions/A/SecurityFoundation\n */\n\n@interface SFKeySearchFilter_Ivars : NSObject {\n NSArray * domains;\n NSArray * specifiers;\n}\n\n- (void).cxx_destruct;\n\n@end\n" (comment) "/* Generated...
42
6
{"language": "c", "success": true, "metadata": {"lines": 9, "avg_line_length": 27.67, "nodes": 25, "errors": 0, "source_hash": "06a731e0a9c8f49694dc07cd527df7e031c63f676ed3572b8d92e222ce05ff7d", "categorized_nodes": 13}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "@", "parent": nul...
7,107
c
// // $Id: Session_Control.h 80166 2007-12-03 13:53:49Z sowayaa $ // #ifndef BIG_ONEWAYS_SESSION_CONTROL_H #define BIG_ONEWAYS_SESSION_CONTROL_H #include /**/ "ace/pre.h" #include "TestS.h" /// Implement the Test::Session_Control interface class Session_Control : public virtual POA_Test::Session_Control { public: ...
28.45
33
(translation_unit) "//\n// $Id: Session_Control.h 80166 2007-12-03 13:53:49Z sowayaa $\n//\n\n#ifndef BIG_ONEWAYS_SESSION_CONTROL_H\n#define BIG_ONEWAYS_SESSION_CONTROL_H\n#include /**/ "ace/pre.h"\n\n#include "TestS.h"\n\n/// Implement the Test::Session_Control interface\nclass Session_Control\n : public virtual POA_...
140
9
{"language": "c", "success": true, "metadata": {"lines": 33, "avg_line_length": 28.45, "nodes": 73, "errors": 0, "source_hash": "99c192c18cc524ccc3bd89634d479ebda6aab9822eaf9bfb505be470ffed47fe", "categorized_nodes": 52}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
7,108
c
#include "points.h" int square_distance(CvPoint pt1, CvPoint pt2) { int dx = pt2.x - pt1.x; int dy = pt2.y - pt1.y; return dx * dx + dy * dy; } CvPoint point_on_line(CvPoint pt1, CvPoint pt2, double u) { int dx = pt2.x - pt1.x; int dy = pt2.y - pt1.y; CvPoint result; result.x = pt1.x + cvRound(dx * u); resu...
23.39
51
(translation_unit) "#include "points.h"\n\n\nint square_distance(CvPoint pt1, CvPoint pt2)\n{\n int dx = pt2.x - pt1.x;\n int dy = pt2.y - pt1.y;\n return dx * dx + dy * dy;\n}\n\n\nCvPoint point_on_line(CvPoint pt1, CvPoint pt2, double u)\n{\n int dx = pt2.x - pt1.x;\n int dy = pt2.y - pt1.y;\n CvPoint result;\n resul...
492
0
{"language": "c", "success": true, "metadata": {"lines": 51, "avg_line_length": 23.39, "nodes": 388, "errors": 0, "source_hash": "348acbf56aba0850c9692f70ff306815e4ed2485be0d815cd84c6868b5e668df", "categorized_nodes": 263}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
7,109
c
#include <stddef.h> #include "hns.h" // Entrypoint for Clang's libfuzzer int LLVMFuzzerTestOneInput(const unsigned char *data, unsigned long size) { // Feed the data into each of the hns_parse_*_reply functions. struct hostent *host = NULL; struct hns_addrttl info[5]; int count = 5;...
33.88
40
(translation_unit) "#include <stddef.h>\n\n#include "hns.h"\n\n// Entrypoint for Clang's libfuzzer\nint LLVMFuzzerTestOneInput(const unsigned char *data,\n unsigned long size) {\n // Feed the data into each of the hns_parse_*_reply functions.\n struct hostent *host = NULL;\n struct hns_addr...
464
0
{"language": "c", "success": true, "metadata": {"lines": 40, "avg_line_length": 33.88, "nodes": 281, "errors": 0, "source_hash": "d02b379a7efb33d983737b2203d77d65990fd5faae5e41d5ab2d78cd511d3549", "categorized_nodes": 198}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
7,110
c
/* * This text was generated automatically * It provides the ISC implementation of * MPI_File_close */ #include <_mpi.h> int MPI_File_close (MPI_File *fh) { static void *address=0; int mpi_return; if (!address) { if ((address = dlsym(MPIO_libhandle,"MPI_File_close")) == NULL) { printf("%s %s %s"...
31.18
34
(translation_unit) "/*\n * This text was generated automatically\n * It provides the ISC implementation of\n * MPI_File_close\n */\n\n#include <_mpi.h>\n\nint\nMPI_File_close (MPI_File *fh)\n{\n static void *address=0;\n int mpi_return;\n\n if (!address) {\n if ((address = dlsym(MPIO_libhandle,"MPI_File_close")) ...
336
0
{"language": "c", "success": true, "metadata": {"lines": 34, "avg_line_length": 31.18, "nodes": 205, "errors": 0, "source_hash": "46ec8c44fea5ab043a47bad2c6260fb35fa88de63af2777483b6f0e96ac1fbd0", "categorized_nodes": 137}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
7,111
c
#ifndef SWAPCHAIN_H #define SWAPCHAIN_H #include "engine/core/util/math/Math.h" #include "engine/common/rendering/command/CommandBuffer.h" namespace Prehistoric { class Window; class Swapchain { public: Swapchain(Window* window) : window(window) {} virtual ~Swapchain() = 0; virtual void SwapBuffers(Comma...
29.16
25
(translation_unit) "#ifndef SWAPCHAIN_H\n#define SWAPCHAIN_H\n\n#include "engine/core/util/math/Math.h"\n\n#include "engine/common/rendering/command/CommandBuffer.h"\n\nnamespace Prehistoric\n{\n class Window;\n\n class Swapchain\n {\n public:\n Swapchain(Window* window) : window(window) {}\n virtual ~Swapchain() = 0...
219
10
{"language": "c", "success": true, "metadata": {"lines": 25, "avg_line_length": 29.16, "nodes": 136, "errors": 0, "source_hash": "6166c524d6a24b6eb8f02b3b776047369d275004eeadd9ad318e7bfedd52948a", "categorized_nodes": 92}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
7,112
c
// // ChatViewTextCell.h // ECSDKDemo_OC // // Created by jiazy on 14/12/8. // Copyright (c) 2014年 ronglian. All rights reserved. // #import "ChatViewCell.h" extern NSString *const KResponderCustomChatViewTextCellBubbleViewEvent; extern NSString *const KResponderCustomChatViewTextLnkCellBubbleViewEvent; extern NSS...
30.14
14
(translation_unit) "//\n// ChatViewTextCell.h\n// ECSDKDemo_OC\n//\n// Created by jiazy on 14/12/8.\n// Copyright (c) 2014年 ronglian. All rights reserved.\n//\n\n#import "ChatViewCell.h"\nextern NSString *const KResponderCustomChatViewTextCellBubbleViewEvent;\nextern NSString *const KResponderCustomChatViewTextLnkC...
49
3
{"language": "c", "success": true, "metadata": {"lines": 14, "avg_line_length": 30.14, "nodes": 34, "errors": 0, "source_hash": "f3ff1c5e384ab7ab2feb9fb072ef974968595e2b69ec4b5af6292b2256954149", "categorized_nodes": 20}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "mport \"C...
7,113
c
#ifndef TINY_LANG_LEXER_H_INCLUDED #define TINY_LANG_LEXER_H_INCLUDED #include "Stream.h" #include "Token.h" typedef struct { Stream *stream; int ch; // 先読み文字 Token *token; // 先読みトークン } LexingState; LexingState *createLexingState(Stream *stream); void destroyLexingState(LexingState *state); Tok...
28.92
13
(translation_unit) "#ifndef TINY_LANG_LEXER_H_INCLUDED\n#define TINY_LANG_LEXER_H_INCLUDED\n\n#include "Stream.h"\n#include "Token.h"\n\ntypedef struct {\n Stream *stream;\n int ch; // 先読み文字\n Token *token; // 先読みトークン\n} LexingState;\n\nLexingState *createLexingState(Stream *stream);\nvoid destroyLex...
91
0
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 28.92, "nodes": 65, "errors": 0, "source_hash": "04121ff030f5477d84f5fcdf5750afd47732f8819331d27408561e62b10f8288", "categorized_nodes": 43}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
7,114
c
/* Copyright (c) 2015, <NAME> All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaime...
39.66
56
(translation_unit) "/*\nCopyright (c) 2015, <NAME> All rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are met:\n\n* Redistributions of source code must retain the above copyright notice, this\nlist of conditions ...
264
10
{"language": "c", "success": true, "metadata": {"lines": 56, "avg_line_length": 39.66, "nodes": 161, "errors": 0, "source_hash": "427c09f3ad357eb6cf69c9d7ca0811f0330058ded2f901e9fcda8101a9c5ad88", "categorized_nodes": 102}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
7,115
c
// Copyright (c) 2012 Plenluno All rights reserved. #ifndef LIBJ_ARRAY_LIST_H_ #define LIBJ_ARRAY_LIST_H_ #include <libj/list.h> namespace libj { class ArrayList : LIBJ_LIST(ArrayList) public: static Ptr create(); }; } // namespace libj #define LIBJ_ARRAY_LIST(T) public libj::ArrayList { \ LIBJ_MUTABLE_...
27.38
13
(translation_unit) "// Copyright (c) 2012 Plenluno All rights reserved.\n\n#ifndef LIBJ_ARRAY_LIST_H_\n#define LIBJ_ARRAY_LIST_H_\n\n#include <libj/list.h>\n\nnamespace libj {\n\nclass ArrayList : LIBJ_LIST(ArrayList)\n public:\n static Ptr create();\n};\n\n} // namespace libj\n\n#define LIBJ_ARRAY_LIST(T) public l...
56
4
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 27.38, "nodes": 32, "errors": 0, "source_hash": "66273a69048bc0f7e9ff3109d5754e947550419e0ada9ed1ac1790f62bd933db", "categorized_nodes": 22}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
7,116
c
/* * Copyright 2014, General Dynamics C4 Systems * * This software may be distributed and modified according to the terms of * the GNU General Public License version 2. Note that NO WARRANTY is provided. * See "LICENSE_GPLv2.txt" for details. * * @TAG(GD_GPL) */ #ifndef __ARCH_MODEL_STATEDATA_H #define __ARCH_...
33.38
24
(translation_unit) "/*\n * Copyright 2014, General Dynamics C4 Systems\n *\n * This software may be distributed and modified according to the terms of\n * the GNU General Public License version 2. Note that NO WARRANTY is provided.\n * See "LICENSE_GPLv2.txt" for details.\n *\n * @TAG(GD_GPL)\n */\n\n#ifndef __ARCH_MOD...
62
1
{"language": "c", "success": true, "metadata": {"lines": 24, "avg_line_length": 33.38, "nodes": 46, "errors": 0, "source_hash": "04d09faf897766b9c7f657430bb02276a64f24b914febe4b8c932240495c80bd", "categorized_nodes": 39}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
7,117
c
#ifndef _ROS_jsk_gui_msgs_AndroidSensor_h #define _ROS_jsk_gui_msgs_AndroidSensor_h #include <stdint.h> #include <string.h> #include <stdlib.h> #include "ros/msg.h" namespace jsk_gui_msgs { class AndroidSensor : public ros::Msg { public: typedef float _accel_x_type; _accel_x_type accel_x; t...
35.29
59
(translation_unit) "#ifndef _ROS_jsk_gui_msgs_AndroidSensor_h\n#define _ROS_jsk_gui_msgs_AndroidSensor_h\n\n#include <stdint.h>\n#include <string.h>\n#include <stdlib.h>\n#include "ros/msg.h"\n\nnamespace jsk_gui_msgs\n{\n\n class AndroidSensor : public ros::Msg\n {\n public:\n typedef float _accel_x_type;\n ...
522
5
{"language": "c", "success": true, "metadata": {"lines": 59, "avg_line_length": 35.29, "nodes": 333, "errors": 0, "source_hash": "ccc06d582aa4d2fd4deef0a1c0d0a88a36f0ab30bca0106f018ca64b1af6bd8f", "categorized_nodes": 248}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
7,118
c
#include "sys/param.h" #include "sys/user.h" #include "sys/filsys.h" #include "sys/file.h" #include "sys/conf.h" #include "sys/inode.h" #include "sys/stream.h" #include "sys/buf.h" #include "sys/acct.h" /* * Convert a user supplied * file descriptor into a pointer * to a file structure. * Only task is to check ran...
18.78
297
(translation_unit) "#include "sys/param.h"\n#include "sys/user.h"\n#include "sys/filsys.h"\n#include "sys/file.h"\n#include "sys/conf.h"\n#include "sys/inode.h"\n#include "sys/stream.h"\n#include "sys/buf.h"\n#include "sys/acct.h"\n\n/*\n * Convert a user supplied\n * file descriptor into a pointer\n * to a file struct...
1,755
3
{"language": "c", "success": true, "metadata": {"lines": 297, "avg_line_length": 18.78, "nodes": 1076, "errors": 0, "source_hash": "a61d9f8bf4b61cfa038cc00907f43fe33c6a2f235b2b89930d83358b9b00dc75", "categorized_nodes": 845}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#i...
7,119
c
// Copyright 2018 <NAME> <<EMAIL>>. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. #ifndef FILESYSTEM_BUCKET_H #define FILESYSTEM_BUCKET_H #include "chunk.h" #include <vector> #include <mutex> #include <functional> #include "types.h" #include...
31.72
78
(translation_unit) "// Copyright 2018 <NAME> <<EMAIL>>. All rights reserved.\n// Use of this source code is governed by a BSD-style\n// license that can be found in the LICENSE file.\n#ifndef FILESYSTEM_BUCKET_H\n#define FILESYSTEM_BUCKET_H\n#include "chunk.h"\n#include <vector>\n#include <mutex>\n#include <functional>...
724
34
{"language": "c", "success": true, "metadata": {"lines": 78, "avg_line_length": 31.72, "nodes": 460, "errors": 0, "source_hash": "689bc086dc016f6ce46edf9420042c7d23a4a7e138c4735aaa93c3fe42ea6362", "categorized_nodes": 309}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
7,120
c
/* ColorGenerator.h Written by <NAME> */ class ColorGenerator { public: static void Generate(Vector<RGBColor> &Result); static void Generate(Vector<RGBColor> &Result, const Vec3f &Scale); private: };
16.75
12
(translation_unit) "/*\nColorGenerator.h\nWritten by <NAME>\n*/\n\nclass ColorGenerator\n{\npublic:\n static void Generate(Vector<RGBColor> &Result);\n static void Generate(Vector<RGBColor> &Result, const Vec3f &Scale);\n\nprivate:\n \n};" (comment) "/*\nColorGenerator.h\nWritten by <NAME>\n*/" (function_d...
62
3
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 16.75, "nodes": 31, "errors": 0, "source_hash": "3a3b44cf461239fb6e8eb252ddc9caa7424e2b5f30c4a9e210995d30881254dc", "categorized_nodes": 19}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "function_definition", "text": "cl...
7,121
c
#pragma once #include <QThread> #include <vector> #include "PhysicsObject.h" #include <limits> #include <QMutex> #include <QWaitCondition> #include <chrono> class PhysicsThread : public QThread { public: PhysicsThread(); PhysicsThread(int minx , int miny , int minz , int maxx , int maxy , int maxz); ~Physics...
27.19
63
(translation_unit) "#pragma once\n\n#include <QThread>\n#include <vector>\n#include "PhysicsObject.h"\n#include <limits>\n#include <QMutex>\n#include <QWaitCondition>\n#include <chrono>\n\n\nclass PhysicsThread : public QThread\n{\n public:\n\n PhysicsThread();\n PhysicsThread(int minx , int miny , int minz , int max...
521
20
{"language": "c", "success": true, "metadata": {"lines": 63, "avg_line_length": 27.19, "nodes": 359, "errors": 0, "source_hash": "62e4d730e08a8f90e8282a81b69b1103c063af074ff9adb92b8114977e698bf9", "categorized_nodes": 219}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
7,122
c
/* Author: <NAME> a.k.a. Gauss <NAME> Contacts: [<EMAIL>, <EMAIL>] See for more information LICENSE.md. */ #pragma once #include <vector> class A { unsigned int x = 0; float y; double z; std::vector<int> vx; public: virtual void Foo(){} }; class B : public A { public: ...
13.78
76
(translation_unit) "/* \nAuthor: <NAME> a.k.a. Gauss \n<NAME> \nContacts: [<EMAIL>, <EMAIL>] \nSee for more information LICENSE.md. \n*/ \n \n#pragma once \n \n#include <vector> \n \nclass A \n{ \n unsigned int x = 0; \n float y; \n double z; \n \n std::vector<int> vx; \n \npublic: \n virtual void Foo(){...
311
17
{"language": "c", "success": true, "metadata": {"lines": 76, "avg_line_length": 13.78, "nodes": 183, "errors": 0, "source_hash": "c62d9db75d4f1c3bc481b1fef82948b77dcb491d791fc2f98a3ef8dd847f907d", "categorized_nodes": 121}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
7,123
c
/*!******************************************************************** Audacity: A Digital Audio Editor @name JournalEvents.h @brief utilities to record events to journal and recreate them on playback <NAME> **********************************************************************/ #include <vector> namesp...
29.29
17
(translation_unit) "/*!********************************************************************\n\n Audacity: A Digital Audio Editor\n\n @name JournalEvents.h\n\n @brief utilities to record events to journal and recreate them on playback\n\n <NAME>\n\n********************************************************************...
35
0
{"language": "c", "success": true, "metadata": {"lines": 17, "avg_line_length": 29.29, "nodes": 19, "errors": 0, "source_hash": "7b4268ceab98f4bd19f826ac6ffa2110f6cff814fe522178e0a4cceb78ad8dd5", "categorized_nodes": 15}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
7,124
c
/*========================================================================= Program: Visualization Toolkit Module: vtkReflectionFilter.h Copyright (c) <NAME>, <NAME>, <NAME> All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. This software is distributed WI...
37.95
94
(translation_unit) "/*=========================================================================\n\n Program: Visualization Toolkit\n Module: vtkReflectionFilter.h\n\n Copyright (c) <NAME>, <NAME>, <NAME>\n All rights reserved.\n See Copyright.txt or http://www.kitware.com/Copyright.htm for details.\n\n Th...
654
9
{"language": "c", "success": true, "metadata": {"lines": 94, "avg_line_length": 37.95, "nodes": 368, "errors": 0, "source_hash": "0d74f05b45db99619e2d850df108001d4965ed76e1620c4a26da933f5e2195ec", "categorized_nodes": 256}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
7,125
c
/* * Copyright (c) 2015-2017, NVIDIA CORPORATION. All rights reserved. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License, * version 2, as published by the Free Software Foundation. * * This program is distributed in the...
32.11
117
(translation_unit) "/*\n * Copyright (c) 2015-2017, NVIDIA CORPORATION. All rights reserved.\n *\n * This program is free software; you can redistribute it and/or modify it\n * under the terms and conditions of the GNU General Public License,\n * version 2, as published by the Free Software Foundation.\n *\n * This pr...
930
2
{"language": "c", "success": true, "metadata": {"lines": 117, "avg_line_length": 32.11, "nodes": 501, "errors": 0, "source_hash": "ba17693e249102f5fced4720b48ffd4f40ce216a381e060b46029c812f6873d3", "categorized_nodes": 392}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
7,126
c
/* +----------------------------------------------------------------------+ | HipHop for PHP | +----------------------------------------------------------------------+ | Copyright (c) 2010-2013 Facebook, Inc. (http://www.facebook.com) | +---------...
29.96
252
(translation_unit) "/*\n +----------------------------------------------------------------------+\n | HipHop for PHP |\n +----------------------------------------------------------------------+\n | Copyright (c) 2010-2013 Facebook, Inc. (http://www.facebook....
2,003
84
{"language": "c", "success": true, "metadata": {"lines": 252, "avg_line_length": 29.96, "nodes": 1213, "errors": 0, "source_hash": "9ae35d02e55ce3c3ccba4c6b9a0e74448f94916c786db965a6e97107dccf93b9", "categorized_nodes": 846}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifn...
7,127
c
#ifndef SQUARE_H #define SQUARE_H // Forward declaration for returning the number of sides of a square int getSquareSides(); // Foward declaration for calculating the perimeter of a square int getSquarePerimeter(int sideLength); #endif
32.71
7
(translation_unit) "#ifndef SQUARE_H\n#define SQUARE_H\n\n// Forward declaration for returning the number of sides of a square\nint getSquareSides();\n\n// Foward declaration for calculating the perimeter of a square\nint getSquarePerimeter(int sideLength);\n#endif\n" (preproc_ifdef) "#ifndef SQUARE_H\n#define SQUARE...
29
0
{"language": "c", "success": true, "metadata": {"lines": 7, "avg_line_length": 32.71, "nodes": 20, "errors": 0, "source_hash": "1fe41d8782950601bc249b9e524fd5a26a9652ac7c925bb595748228beca02e3", "categorized_nodes": 13}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef S...
7,128
c
//------------------------------------------------------------------------------ // File: Watermark.h // // Desc: DirectShow sample code - header file for video in window movie // player application. // // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------...
27.54
124
(translation_unit) "//------------------------------------------------------------------------------ \n// File: Watermark.h \n// \n// Desc: DirectShow sample code - header file for video in window movie \n// player application. \n// \n// Copyright (c) Microsoft Corporation. All rights reserved. \n//-------------...
533
0
{"language": "c", "success": true, "metadata": {"lines": 124, "avg_line_length": 27.54, "nodes": 397, "errors": 0, "source_hash": "9e0c16076e423f60f335165722f3437d1b4af4204e58f5ef832ca2a6ce391115", "categorized_nodes": 232}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
7,129
c
#include <stdlib.h> #include <strings.h> #include "libguess.h" struct guess_impl { const char *lang; guess_impl_f impl; }; /* keep these in alphabetical order! */ static const struct guess_impl guess_impl_list[] = { {"arabic", guess_ar}, {"baltic", guess_bl}, {"chinese", guess_cn}, {"greek", ...
25.44
50
(translation_unit) "#include <stdlib.h>\n#include <strings.h>\n\n#include "libguess.h"\n\nstruct guess_impl {\n const char *lang;\n guess_impl_f impl;\n};\n\n/* keep these in alphabetical order! */\nstatic const struct guess_impl guess_impl_list[] = {\n {"arabic", guess_ar},\n {"baltic", guess_bl},\n {"c...
382
0
{"language": "c", "success": true, "metadata": {"lines": 50, "avg_line_length": 25.44, "nodes": 200, "errors": 0, "source_hash": "b43f231844a12eb97ee4d01c609d4ac53a679f76b1e20b0f964a5e6fa710c24b", "categorized_nodes": 128}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
7,130
c
#if !defined(AFX_SERVERCONNECTIONS_H__BCEF4D34_0C4E_41C6_A81B_A6A6281489DF__INCLUDED_) #define AFX_SERVERCONNECTIONS_H__BCEF4D34_0C4E_41C6_A81B_A6A6281489DF__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // ServerConnections.h : header file // //////////////////////////////////////...
24.59
59
(translation_unit) "#if !defined(AFX_SERVERCONNECTIONS_H__BCEF4D34_0C4E_41C6_A81B_A6A6281489DF__INCLUDED_) \n#define AFX_SERVERCONNECTIONS_H__BCEF4D34_0C4E_41C6_A81B_A6A6281489DF__INCLUDED_ \n \n#if _MSC_VER > 1000 \n#pragma once \n#endif // _MSC_VER > 1000 \n// ServerConnections.h : header file \n// \n \n \n \n///////...
175
7
{"language": "c", "success": true, "metadata": {"lines": 59, "avg_line_length": 24.59, "nodes": 104, "errors": 0, "source_hash": "80b329763f5e0007ed458dfa97db4a78a94ac4d362956d17d47e9076a28cc9b9", "categorized_nodes": 64}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_if", "text": "#if !defin...
7,131
c
/* * Copyright 2022 <NAME>/KSS Technologies (Pty) Ltd. */ #pragma once #include <stdint.h> #include "endpoint_struct.h" #include "hal_i2c.h" #ifdef __cplusplus extern "C" { #endif // ########################################### Macros ############################################## // ##########################...
25.96
108
(translation_unit) "/*\n * Copyright 2022 <NAME>/KSS Technologies (Pty) Ltd.\n */\n\n#pragma once\n\n#include <stdint.h>\n\n#include "endpoint_struct.h"\n#include "hal_i2c.h"\n\n#ifdef __cplusplus\n extern "C" {\n#endif\n\n// ########################################### Macros ###########################################...
622
0
{"language": "c", "success": true, "metadata": {"lines": 108, "avg_line_length": 25.96, "nodes": 396, "errors": 0, "source_hash": "92c83417fa1901d4038431a27c4daa34ba26f4db2f2ae851d917d3816e25f3dd", "categorized_nodes": 296}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragm...
7,132
c
/* * * University of Luxembourg * Laboratory of Algorithmics, Cryptology and Security (LACS) * * FELICS - Fair Evaluation of Lightweight Cryptographic Systems * * Copyright (C) 2015 University of Luxembourg * * Written in 2015 by <NAME> <<EMAIL>> and * <NAME> <<EMAIL>> * * This file is part of FELICS. * ...
23.88
200
(translation_unit) "/*\n *\n * University of Luxembourg\n * Laboratory of Algorithmics, Cryptology and Security (LACS)\n *\n * FELICS - Fair Evaluation of Lightweight Cryptographic Systems\n *\n * Copyright (C) 2015 University of Luxembourg\n *\n * Written in 2015 by <NAME> <<EMAIL>> and \n * <NAME> <<EMAIL>>\n *\n * T...
559
0
{"language": "c", "success": true, "metadata": {"lines": 200, "avg_line_length": 23.88, "nodes": 388, "errors": 0, "source_hash": "5cabed89e0420c88137c370192fc9170bd4e16a7d241aee684953885f6cf52ad", "categorized_nodes": 191}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
7,133
c
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. //+----------------------------------------------------------------------- // // // Description: // Abstract...
32.24
34
(translation_unit) "// Licensed to the .NET Foundation under one or more agreements.\n// The .NET Foundation licenses this file to you under the MIT license.\n// See the LICENSE file in the project root for more information.\n\n\n//+-----------------------------------------------------------------------\n//\n\n//\n// ...
106
6
{"language": "c", "success": true, "metadata": {"lines": 34, "avg_line_length": 32.24, "nodes": 50, "errors": 0, "source_hash": "6e64c4d2df2f6299a4c8e79ba732ccc4511d64d889ce02efd154b804350bcc1e", "categorized_nodes": 34}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "function_definition", "text": "cl...
7,134
c
/* Generated by RuntimeBrowser Image: /System/Library/PrivateFrameworks/IDS.framework/IDS */ @interface IDSServiceMonitor : NSObject { long long _availability; NSString * _service; int _token; } @property (nonatomic, readonly, retain) NSString *service; - (void)_postAvailability:(long long)arg1; - ...
27.94
18
(translation_unit) "/* Generated by RuntimeBrowser\n Image: /System/Library/PrivateFrameworks/IDS.framework/IDS\n */\n\n@interface IDSServiceMonitor : NSObject {\n long long _availability;\n NSString * _service;\n int _token;\n}\n\n@property (nonatomic, readonly, retain) NSString *service;\n\n- (void)_post...
155
11
{"language": "c", "success": true, "metadata": {"lines": 18, "avg_line_length": 27.94, "nodes": 97, "errors": 0, "source_hash": "bbd1d872c82df9516f883d74c77ede8ef9904209de84629da319ab67c3b7b729", "categorized_nodes": 54}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "@interface IDSSe...
7,135
c
/*=================================================================== BlueBerry Platform Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS...
32.28
29
(translation_unit) "/*===================================================================\n\nBlueBerry Platform\n\nCopyright (c) German Cancer Research Center,\nDivision of Medical and Biological Informatics.\nAll rights reserved.\n\nThis software is distributed WITHOUT ANY WARRANTY; without\neven the implied warranty ...
123
5
{"language": "c", "success": true, "metadata": {"lines": 29, "avg_line_length": 32.28, "nodes": 78, "errors": 0, "source_hash": "0e7e15ec85dcba7e581905e9638ceeaec9b34048ccc3954454249e6303df1a10", "categorized_nodes": 49}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
7,136
c
#include <stdlib.h> #include <stdio.h> #include <assert.h> #include <string.h> #include "../marshal.h" #define MAX_KEY_SIZE 250 #define MAX_VALUE_SIZE 1024 struct operation *create_request(method op, char *key, char *value); void print_request(struct operation *op) { printf("Method: %d\n", op->method_type); ...
34.34
179
(translation_unit) "#include <stdlib.h>\n#include <stdio.h>\n#include <assert.h>\n#include <string.h>\n#include "../marshal.h"\n#define MAX_KEY_SIZE 250\n#define MAX_VALUE_SIZE 1024 \nstruct operation *create_request(method op, char *key, char *value);\n\nvoid\nprint_request(struct operation *op)\n{\n printf("Me...
1,777
0
{"language": "c", "success": true, "metadata": {"lines": 179, "avg_line_length": 34.34, "nodes": 1087, "errors": 0, "source_hash": "338bef7d43accee0d84d2322d29e72fb871273a4ea6f92d4e446ce7645c9fead", "categorized_nodes": 724}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#i...
7,137
c
/** Copyright 2018 <NAME><<EMAIL>> */ #include "include/log.h" enum { LM_DOUBLE_BUFFER_RING }; typedef int (*message_callback)(int fd, int nitems); int create_log(board_t* brd); /** * 创建内存环形容器;返回环形容器的描述符 descriptor */ int create_ring(board_t* brd, int item_size, int nitems); int set_message_handler(int fd, int msg, ...
29.19
27
(translation_unit) "/** Copyright 2018 <NAME><<EMAIL>> */\n\n#include "include/log.h"\nenum { LM_DOUBLE_BUFFER_RING };\ntypedef int (*message_callback)(int fd, int nitems);\nint create_log(board_t* brd);\n/**\n * 创建内存环形容器;返回环形容器的描述符 descriptor\n */\nint create_ring(board_t* brd, int item_size, int nitems);\nint set_mes...
206
0
{"language": "c", "success": true, "metadata": {"lines": 27, "avg_line_length": 29.19, "nodes": 133, "errors": 0, "source_hash": "221c6b586b8886ef159d4def36b8c4cffeade6a31ecc5065588d74530cc78b1a", "categorized_nodes": 90}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
7,138
c
// // ModuleParatemCellTableViewCell.h // BLECollection // // Created by rfstar on 14-4-22. // Copyright (c) 2014年 rfstar. All rights reserved. // #import <UIKit/UIKit.h> @interface ModuleParatemCellTableViewCell : UITableViewCell @end
23
10
(translation_unit) "//\n// ModuleParatemCellTableViewCell.h\n// BLECollection\n//\n// Created by rfstar on 14-4-22.\n// Copyright (c) 2014年 rfstar. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface ModuleParatemCellTableViewCell : UITableViewCell\n\n@end\n" (comment) "//" (comment) "// ModulePa...
19
3
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 23.0, "nodes": 10, "errors": 0, "source_hash": "d0883c4904f701a04bedf92be615f535bedee6a326f49c2fd76255c001dd45b5", "categorized_nodes": 5}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "mport <UIKi...
7,139
c
#include<stdio.h> int main() { char str[80], search[10]; int count1 = 0, count2 = 0, i, j, flag; printf("Enter a string: \n"); scanf("%s", &str); printf("Enter search substring: \n"); scanf("%s", &search); while (str[count1] != '\0') count1++; while (search[count2] != '\0'...
19.51
35
(translation_unit) "#include<stdio.h>\n \nint main()\n{\n char str[80], search[10];\n int count1 = 0, count2 = 0, i, j, flag;\n \n printf("Enter a string: \n");\n scanf("%s", &str);\n\n printf("Enter search substring: \n");\n scanf("%s", &search);\n\n while (str[count1] != '\0')\n count1++;\...
267
0
{"language": "c", "success": true, "metadata": {"lines": 35, "avg_line_length": 19.51, "nodes": 151, "errors": 0, "source_hash": "b8761cb42202c0bfa5ee9f99c3d49cb4da3818a209e10abedaddc231065cfc9f", "categorized_nodes": 104}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
7,140
c
#include <pebble.h> #include "appglance.h" #include "settings.h" #if !PBL_PLATFORM_APLITE void appglance_update_app_glance(AppGlanceReloadSession *session, size_t limit, void *context) { // This should never happen, but developers should always ensure // they’re not adding more app glance slices than the limit ...
39.15
27
(translation_unit) "#include <pebble.h>\n\n#include "appglance.h"\n\n#include "settings.h"\n\n#if !PBL_PLATFORM_APLITE\nvoid appglance_update_app_glance(AppGlanceReloadSession *session, size_t limit, void *context) {\n // This should never happen, but developers should always ensure\n // they’re not adding more app g...
203
0
{"language": "c", "success": true, "metadata": {"lines": 27, "avg_line_length": 39.15, "nodes": 127, "errors": 0, "source_hash": "3284428baa091e69d4cb03ee1b4108ad6cfc137ee029b94d7a3730b20e46be64", "categorized_nodes": 85}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
7,141
c
#pragma once #include <Common/Base/hkBase.h> #include "hkbModifier_0.h" #include "hkbAttributeModifierAssignment_0.h" class hkbAttributeModifier : public hkbModifier { public: HK_DECLARE_CLASS_ALLOCATOR( HK_MEMORY_CLASS_BEHAVIOR_RUNTIME ); HK_DECLARE_REFLECTION(); public: HK_FORCE_INLINE hkbAttributeModifie...
31.33
18
(translation_unit) "#pragma once\n\n#include <Common/Base/hkBase.h>\n#include "hkbModifier_0.h"\n#include "hkbAttributeModifierAssignment_0.h"\n\nclass hkbAttributeModifier : public hkbModifier\n{\npublic:\n HK_DECLARE_CLASS_ALLOCATOR( HK_MEMORY_CLASS_BEHAVIOR_RUNTIME );\n HK_DECLARE_REFLECTION();\n\npublic:\n HK...
112
4
{"language": "c", "success": true, "metadata": {"lines": 18, "avg_line_length": 31.33, "nodes": 62, "errors": 0, "source_hash": "aab22c3cde87ec9749bab333ca37f0ee1dc82a8332a95c1693c4e45eb9a3a96f", "categorized_nodes": 45}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
7,142
c
// -*- mode: c++; tab-width: 4; indent-tabs-mode: t; c-file-style: "stroustrup"; -*- // vi:set ts=4 sts=4 sw=4 noet : // Copyright 2012, The TPIE development team // // This file is part of TPIE. // // TPIE is free software: you can redistribute it and/or modify it under // the terms of the GNU Lesser General Public ...
27.99
200
(translation_unit) "// -*- mode: c++; tab-width: 4; indent-tabs-mode: t; c-file-style: "stroustrup"; -*-\n// vi:set ts=4 sts=4 sw=4 noet :\n// Copyright 2012, The TPIE development team\n// \n// This file is part of TPIE.\n// \n// TPIE is free software: you can redistribute it and/or modify it under\n// the terms of the...
1,172
11
{"language": "c", "success": true, "metadata": {"lines": 200, "avg_line_length": 27.99, "nodes": 734, "errors": 0, "source_hash": "2c46c6d4c12fbe43648cadb36cfd9eb9625a94d16bb13bfc88db55a8eb989552", "categorized_nodes": 536}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
7,143
c
/* * Copyright (C) 2019 Otto-von-Guericke-Universität Magdeburg * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup drivers_ina3221 * @{ * * @file * @brief Functi...
26.42
53
(translation_unit) "/*\n * Copyright (C) 2019 Otto-von-Guericke-Universität Magdeburg\n *\n * This file is subject to the terms and conditions of the GNU Lesser\n * General Public License v2.1. See the file LICENSE in the top level\n * directory for more details.\n */\n\n/**\n * @ingroup drivers_ina3221\n * @{\n *\...
292
0
{"language": "c", "success": true, "metadata": {"lines": 53, "avg_line_length": 26.42, "nodes": 187, "errors": 0, "source_hash": "1f9f7194ba05690af78217a14250a3aefd16ad95214ebd8946dd117e4aeac87a", "categorized_nodes": 150}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "incl...
7,144
c
#define PY_SSIZE_T_CLEAN #include "domlette_interface.h" /** Private Routines **************************************************/ /* nothing to see here */ /** Public C API *******************************************************/ /* Remove the preprocessor macros so that we can export the entry points. */ #undef C...
38.8
99
(translation_unit) "#define PY_SSIZE_T_CLEAN\n#include "domlette_interface.h"\n\n/** Private Routines **************************************************/\n\n/* nothing to see here */\n\n/** Public C API *******************************************************/\n\n/* Remove the preprocessor macros so that we can export t...
706
1
{"language": "c", "success": true, "metadata": {"lines": 99, "avg_line_length": 38.8, "nodes": 380, "errors": 0, "source_hash": "f03f13585c2871c656a82749f722dc04fd7d7a26574dede3039d63ed98620869", "categorized_nodes": 244}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_def", "text": "#define P...
7,145
c
/* * Copyright (C) 2011 Google Inc. All rights reserved. * Copyright (C) 2011, 2015 Ericsson AB. All rights reserved. * Copyright (C) 2013-2019 Apple Inc. All rights reserved. * Copyright (C) 2013 Nokia Corporation and/or its subsidiary(-ies). * * Redistribution and use in source and binary forms, with or without...
40.84
167
(translation_unit) "/*\n * Copyright (C) 2011 Google Inc. All rights reserved.\n * Copyright (C) 2011, 2015 Ericsson AB. All rights reserved.\n * Copyright (C) 2013-2019 Apple Inc. All rights reserved.\n * Copyright (C) 2013 Nokia Corporation and/or its subsidiary(-ies).\n *\n * Redistribution and use in source and bin...
1,315
88
{"language": "c", "success": true, "metadata": {"lines": 167, "avg_line_length": 40.84, "nodes": 785, "errors": 0, "source_hash": "c282b7169dbca2531c1abe6ad2dd932ebfad7671c78988cba05c7c27604cb48d", "categorized_nodes": 508}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragm...
7,146
c
#ifndef INDIVIDUALITEMGATHERCRAFTS_H #define INDIVIDUALITEMGATHERCRAFTS_H #include "AbstractCounter.h" #include "GatherCraftRecord.h" //template <class T> class IndividualItemGatherCrafts: public AbstractCounter<string, GatherCraftRecord>{ public: void success(const string& item){ addEntryToMapIfNecessary(item); ...
23.21
39
(translation_unit) "#ifndef INDIVIDUALITEMGATHERCRAFTS_H\n#define INDIVIDUALITEMGATHERCRAFTS_H\n\n#include "AbstractCounter.h"\n#include "GatherCraftRecord.h"\n\n//template <class T>\nclass IndividualItemGatherCrafts: public AbstractCounter<string, GatherCraftRecord>{\npublic:\n void success(const string& item){\n add...
311
12
{"language": "c", "success": true, "metadata": {"lines": 39, "avg_line_length": 23.21, "nodes": 157, "errors": 0, "source_hash": "11af33cfefdff2a26180c2a8bc60590c12636c6f9dd8d8ced296c5bd662e57dc", "categorized_nodes": 120}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
7,147
c
/* * This file is used by configure.in. * Causes cpp error when running NeXT's cc. * No error when running gcc on a NeXT box. */ #if defined(NeXT) #if defined(_NEXT_SOURCE) "Not running NeXT's cc" #else "Running NeXT's cc" #error #endif #else "Not running NeXT's cc" #endif /* This would be us...
22.76
17
(translation_unit) "/* \n * This file is used by configure.in.\n * Causes cpp error when running NeXT's cc.\n * No error when running gcc on a NeXT box.\n */\n\n#if defined(NeXT)\n #if defined(_NEXT_SOURCE)\n "Not running NeXT's cc"\n #else\n "Running NeXT's cc"\n #error\n #endif\n#else\n "Not running NeXT...
44
1
{"language": "c", "success": true, "metadata": {"lines": 17, "avg_line_length": 22.76, "nodes": 24, "errors": 0, "source_hash": "c0bc3782808593ad670444c91bf87f418f65aca8951241eede81493ee8c2a781", "categorized_nodes": 13}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_if", "text": "#if defined...
7,148
c
// Copyright (c) 2019, Lawrence Livermore National Security, LLC. // See top-level LICENSE file for details. /// \file Services.h /// Services class declaration #ifndef CALI_SERVICES_H #define CALI_SERVICES_H #include <memory> #include <string> #include <vector> namespace cali { class Caliper; struct CaliperServic...
31.52
29
(translation_unit) "// Copyright (c) 2019, Lawrence Livermore National Security, LLC.\n// See top-level LICENSE file for details.\n\n/// \file Services.h\n/// Services class declaration\n\n#ifndef CALI_SERVICES_H\n#define CALI_SERVICES_H\n\n#include <memory>\n#include <string>\n#include <vector>\n\nnamespace cali\n{\n\...
143
1
{"language": "c", "success": true, "metadata": {"lines": 29, "avg_line_length": 31.52, "nodes": 92, "errors": 0, "source_hash": "6a180609e3a53e7e10eba1f143c8647bf4dbd367d8a39beff469abb6869449cc", "categorized_nodes": 64}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
7,149
c
// // CitiesListDisplayData.h // WeatherApp // // Created by <NAME> on 12/5/15. // Copyright © 2015 <NAME>. All rights reserved. // #import <Foundation/Foundation.h> @class CityDisplayData; @interface CitiesListDisplayData : NSObject - (id )initWithCitiesDisplayData:(NSArray <CityDisplayData *> *)citiesDisplayDa...
31.13
15
(translation_unit) "//\n// CitiesListDisplayData.h\n// WeatherApp\n//\n// Created by <NAME> on 12/5/15.\n// Copyright © 2015 <NAME>. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n\n@class CityDisplayData;\n@interface CitiesListDisplayData : NSObject\n\n- (id )initWithCitiesDisplayData:(NSArray <Cit...
97
11
{"language": "c", "success": true, "metadata": {"lines": 15, "avg_line_length": 31.13, "nodes": 61, "errors": 0, "source_hash": "960cd55e05280fb15b6aed7f0026192b208b9d3c6711f09bdd97a7e1c549309d", "categorized_nodes": 34}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <F...
7,150
c
// Copyright 1998-2016 Epic Games, Inc. All Rights Reserved. #pragma once #include "Model/FPatchersModeContext.h" #include "SHotPatcherWidgetBase.h" #include "CreatePatch/FExportPatchSettings.h" #include "CreatePatch/FExportReleaseSettings.h" // engine header #include "Interfaces/ITargetPlatformManagerModu...
27.12
57
(translation_unit) "// Copyright 1998-2016 Epic Games, Inc. All Rights Reserved. \n \n#pragma once \n \n#include "Model/FPatchersModeContext.h" \n#include "SHotPatcherWidgetBase.h" \n#include "CreatePatch/FExportPatchSettings.h" \n#include "CreatePatch/FExportReleaseSettings.h" \n \n// engine header \n#include "Interfa...
281
16
{"language": "c", "success": true, "metadata": {"lines": 57, "avg_line_length": 27.12, "nodes": 156, "errors": 0, "source_hash": "b686fa96b70e8d35dbb104d7c2afb8bb5c79968854a56f69bf7810b406924b98", "categorized_nodes": 111}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
7,151
c
// // XSYLoveBeenNetworkingTools.h // LoveBeen // // Created by xin on 2017/2/18. // Copyright © 2017年 DogeEggEgg. All rights reserved. // #import <Foundation/Foundation.h> typedef void(^SuccessBlock)(id response); typedef void(^FailureBlock)(NSError *error); @interface XSYLoveBeenNetworkingTools : NSObject /* 首...
32.05
21
(translation_unit) "//\n// XSYLoveBeenNetworkingTools.h\n// LoveBeen\n//\n// Created by xin on 2017/2/18.\n// Copyright © 2017年 DogeEggEgg. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n\ntypedef void(^SuccessBlock)(id response);\ntypedef void(^FailureBlock)(NSError *error);\n\n@interface XSYLoveBe...
130
12
{"language": "c", "success": true, "metadata": {"lines": 21, "avg_line_length": 32.05, "nodes": 79, "errors": 0, "source_hash": "f751b32240c785c8cbd9de1c1667b812754c33a998de1603ae834bd2fde8a344", "categorized_nodes": 44}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "port <Fou...
7,152
c
/* $Id$ $Revision$ */ /* vim:set shiftwidth=4 ts=8: */ /************************************************************************* * Copyright (c) 2011 AT&T Intellectual Property * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1....
27.56
96
(translation_unit) "/* $Id$ $Revision$ */\n/* vim:set shiftwidth=4 ts=8: */\n\n/*************************************************************************\n * Copyright (c) 2011 AT&T Intellectual Property \n * All rights reserved. This program and the accompanying materials\n * are made available under the terms of the ...
810
1
{"language": "c", "success": true, "metadata": {"lines": 96, "avg_line_length": 27.56, "nodes": 471, "errors": 0, "source_hash": "cc6277655ad50efafb6f6561a50cb33e9759fdb34601c8db77c87e360ede7f63", "categorized_nodes": 345}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifdef...
7,153
c
/* * Copyright (c) 2021 HopeBayTech. * * This file is part of Tera. * See https://github.com/HopeBayMobile for further info. * * 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 * * ...
27.66
41
(translation_unit) "/*\n * Copyright (c) 2021 HopeBayTech.\n *\n * This file is part of Tera.\n * See https://github.com/HopeBayMobile for further info.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy ...
184
1
{"language": "c", "success": true, "metadata": {"lines": 41, "avg_line_length": 27.66, "nodes": 108, "errors": 0, "source_hash": "7829ea1eaefacbd742d8299b1bab48717867170e90df3ea38935f309433705cb", "categorized_nodes": 91}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
7,154
c
// // BorderScrollView.h // DTPowerApi // // Created by leks on 13-3-26. // Copyright (c) 2013年 leks. All rights reserved. // #import <Cocoa/Cocoa.h> @interface BorderScrollView : NSScrollView { NSColor *borderColor; } @property (nonatomic, retain) NSColor *borderColor; @end
19.29
14
(translation_unit) "//\n// BorderScrollView.h\n// DTPowerApi\n//\n// Created by leks on 13-3-26.\n// Copyright (c) 2013年 leks. All rights reserved.\n//\n\n#import <Cocoa/Cocoa.h>\n\n@interface BorderScrollView : NSScrollView\n{\n NSColor *borderColor;\n}\n@property (nonatomic, retain) NSColor *borderColor;\n@end...
51
7
{"language": "c", "success": true, "metadata": {"lines": 14, "avg_line_length": 19.29, "nodes": 30, "errors": 0, "source_hash": "24dab064ead7f7caba834629096276a6acdd36de41761aa9b00163a9c7e5b447", "categorized_nodes": 16}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "mport <Co...
7,155
c
#ifndef SETOFInts2_H_ #define SETOFInts2_H_ class SetOfInts2 { // Conjuntos de enteros representados como un vector no ordenado sin repeticiones private: static const int MAXSIZE = 50; int elems[MAXSIZE]; int size; bool isFull() const; void linSearch(int x, int left, int right, bool& found, int& pos) co...
29.86
21
(translation_unit) "#ifndef SETOFInts2_H_\n#define SETOFInts2_H_\n\nclass SetOfInts2 {\n // Conjuntos de enteros representados como un vector no ordenado sin repeticiones\n private:\n static const int MAXSIZE = 50;\n\n int elems[MAXSIZE];\n int size;\n\n bool isFull() const;\n void linSearch(int x, int left, int r...
194
13
{"language": "c", "success": true, "metadata": {"lines": 21, "avg_line_length": 29.86, "nodes": 112, "errors": 0, "source_hash": "e374e51237e2c38e174a5d7bb8acff9abfdb1ab63185977b3bd69e94f56ecdd5", "categorized_nodes": 69}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
7,156
c
// // STShowManager.h // LFJShowManager // // Created by 李方建 on 2018/6/12. // Copyright © 2018年 李方建. All rights reserved. // #import <Foundation/Foundation.h> #import <UIKit/UIKit.h> @interface STShowManager : NSObject + (STShowManager*)shared; - (void)showMassage:(NSString *)massage; @end
21.69
13
(translation_unit) "//\n// STShowManager.h\n// LFJShowManager\n//\n// Created by 李方建 on 2018/6/12.\n// Copyright © 2018年 李方建. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n#import <UIKit/UIKit.h>\n\n@interface STShowManager : NSObject\n+ (STShowManager*)shared;\n- (void)showMassage:(NSString *)mass...
53
6
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 21.69, "nodes": 34, "errors": 0, "source_hash": "0e475cb7dccecfe871312e301b582d2207cf03b7a576b1be567316a9486e4d55", "categorized_nodes": 16}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "tion/Foun...
7,157
c
/** * This header is generated by class-dump-z 0.2a. * class-dump-z is Copyright (C) 2009 by KennyTM~, licensed under GPLv3. * * Source: (null) */ #import "WXPBGeneratedMessage.h" @class VoipAddr; @interface SpeedTestSvr : WXPBGeneratedMessage { } @property(assign, nonatomic) unsigned pktSize; @property(assign,...
29
17
(translation_unit) "/**\n * This header is generated by class-dump-z 0.2a.\n * class-dump-z is Copyright (C) 2009 by KennyTM~, licensed under GPLv3.\n *\n * Source: (null)\n */\n\n#import "WXPBGeneratedMessage.h"\n\n@class VoipAddr;\n\n@interface SpeedTestSvr : WXPBGeneratedMessage {\n}\n@property(assign, nonatomic) un...
111
17
{"language": "c", "success": true, "metadata": {"lines": 17, "avg_line_length": 29.0, "nodes": 70, "errors": 0, "source_hash": "c179c6b29011510c20c233df67381e0066c1181fed4f559dab0ebee2853ad4db", "categorized_nodes": 41}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import \"...
7,158
c
#include <stdlib.h> #include <string.h> #define HASHTABLE_IMPL #include "../hashtable.h" size_t radix_hash(const void *str) { return *((const char *) str) & 0xFF; } int string_equals(const void *a, const void *b) { if (!a || !b) return a == b; return !strcmp(a, b); } #define TEST(x) if (!(x)) exit(__LIN...
37.61
89
(translation_unit) "#include <stdlib.h>\n#include <string.h>\n\n#define HASHTABLE_IMPL\n#include "../hashtable.h"\n\nsize_t radix_hash(const void *str) {\n return *((const char *) str) & 0xFF;\n}\n\nint string_equals(const void *a, const void *b) {\n if (!a || !b) return a == b;\n return !strcmp(a, b);\n}\n\n#...
1,496
0
{"language": "c", "success": true, "metadata": {"lines": 89, "avg_line_length": 37.61, "nodes": 769, "errors": 0, "source_hash": "dfedd28b39fd57704235b7b43f1e70f80d051e639f4ba7c15cc7628097f4c48a", "categorized_nodes": 513}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
7,159
c
// // MediaConferenceFetchUsersRequest.h // MediaSDK // // Created by Frederic on 15/11/25. // Copyright © 2015年 stylejar. All rights reserved. // // 查询加入群组的用户列表 #import <Foundation/Foundation.h> typedef NS_ENUM(NSInteger, SHFetchUserListRequestStatus) { SHFetchUserListRequestStatusStart , SHFetchUserLis...
31.78
37
(translation_unit) "//\n// MediaConferenceFetchUsersRequest.h\n// MediaSDK\n//\n// Created by Frederic on 15/11/25.\n// Copyright © 2015年 stylejar. All rights reserved.\n//\n// 查询加入群组的用户列表\n\n#import <Foundation/Foundation.h>\n\ntypedef NS_ENUM(NSInteger, SHFetchUserListRequestStatus) {\n SHFetchUserListRequest...
145
18
{"language": "c", "success": true, "metadata": {"lines": 37, "avg_line_length": 31.78, "nodes": 93, "errors": 0, "source_hash": "0fd6daaaca852b6475b059b4866ec151c864345f77bd34a38beee51b62aa3e8d", "categorized_nodes": 55}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "ation.h>\...
7,160
c
#ifndef _P2JME_MGR_H #define _P2JME_MGR_H /* __vt__Q25P2JME3Mgr: .4byte 0 .4byte 0 .4byte __dt__Q25P2JME3MgrFv .4byte 0 */ namespace P2JME { struct Mgr { virtual ~Mgr(); // _00 virtual void _04() = 0; // _04 // _00 VTBL }; } // namespace P2JME #endif
15.59
17
(translation_unit) "#ifndef _P2JME_MGR_H\n#define _P2JME_MGR_H\n\n/*\n __vt__Q25P2JME3Mgr:\n .4byte 0\n .4byte 0\n .4byte __dt__Q25P2JME3MgrFv\n .4byte 0\n*/\n\nnamespace P2JME {\nstruct Mgr {\n virtual ~Mgr(); // _00\n virtual void _04() = 0; // _04\n\n // _00 VTBL\n};\n} // namespace P2JME\n\n#...
49
3
{"language": "c", "success": true, "metadata": {"lines": 17, "avg_line_length": 15.59, "nodes": 30, "errors": 0, "source_hash": "505fcca073a828a03acd2b99ee4ce6d97e90a6b4c6cb1068b2e8a965559a36fc", "categorized_nodes": 21}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
7,161
c
#pragma once #include "EnginePch.h" namespace DerydocaEngine { class SystemWindowingLayer { public: static void init(); static SystemWindow* createWindow(std::string title, int width, int height); static GraphicsAPIContext createGraphicsAPIContext(SystemWindow* window); static bool setVSync(bool enabled); ...
31.25
16
(translation_unit) "#pragma once\n#include "EnginePch.h"\n\nnamespace DerydocaEngine\n{\n\n class SystemWindowingLayer\n {\n public:\n static void init();\n static SystemWindow* createWindow(std::string title, int width, int height);\n static GraphicsAPIContext createGraphicsAPIContext(SystemWindow* window);\n stat...
143
1
{"language": "c", "success": true, "metadata": {"lines": 16, "avg_line_length": 31.25, "nodes": 87, "errors": 0, "source_hash": "a7837ce7be08ec6a28a7a3bcc513e9ea58a64db989655f53134c54c1cf519b27", "categorized_nodes": 57}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
7,162
c
// // ZiZhongTableViewCell.h // PrisonerFitnessRecord // // Created by dong on 2018/1/18. // Copyright © 2018年 董永胜. All rights reserved. // #import <UIKit/UIKit.h> @interface ZiZhongTableViewCell : UITableViewCell @property (weak, nonatomic) IBOutlet UIImageView *contentImageView; @end
25.45
11
(translation_unit) "//\n// ZiZhongTableViewCell.h\n// PrisonerFitnessRecord\n//\n// Created by dong on 2018/1/18.\n// Copyright © 2018年 董永胜. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface ZiZhongTableViewCell : UITableViewCell\n\n@property (weak, nonatomic) IBOutlet UIImageView *contentImageView;...
38
7
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 25.45, "nodes": 25, "errors": 0, "source_hash": "8ed395f5390d1db77e695c63d87ae11024ebc063df1bef06913572653649e226", "categorized_nodes": 13}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "UIKit/UIK...
7,163
c
/*- * Copyright (c) 1991 The Regents of the University of California. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright ...
35.24
104
(translation_unit) "/*-\n * Copyright (c) 1991 The Regents of the University of California.\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions\n * are met:\n * 1. Redistributions of source code must r...
319
0
{"language": "c", "success": true, "metadata": {"lines": 104, "avg_line_length": 35.24, "nodes": 200, "errors": 0, "source_hash": "eb87fa9d8fd224f74ad44ced232deaf19284c55018f68d629d386f7778b41082", "categorized_nodes": 127}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
7,164
c
#ifndef __COMMON_H__ #define __COMMON_H__ #include <algorithm> #define NOMINMAX #include <Windows.h> #pragma warning(disable: 4512 4244 4100) #include "avisynth.h" #pragma warning(default: 4512 4244 4100) #include <smmintrin.h> typedef unsigned char Byte; #define RG_FORCEINLINE __forceinline #define USE_MOVPS enum...
41.82
72
(translation_unit) "#ifndef __COMMON_H__\n#define __COMMON_H__\n\n#include <algorithm>\n#define NOMINMAX\n#include <Windows.h>\n#pragma warning(disable: 4512 4244 4100)\n#include "avisynth.h"\n#pragma warning(default: 4512 4244 4100)\n#include <smmintrin.h>\n\ntypedef unsigned char Byte;\n\n#define RG_FORCEINLINE __for...
642
31
{"language": "c", "success": true, "metadata": {"lines": 72, "avg_line_length": 41.82, "nodes": 397, "errors": 0, "source_hash": "66ea2df560530fcea787d4a5f768b51f6e84d47c4cdd99c240d63acf74fdca9d", "categorized_nodes": 291}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
7,165
c
#include <stdio.h> #include <stdlib.h> /*void insert_sort(long* first, long *last){ int n = last - first; int i, j; long key; for(i = 1; i < n+1; i++){ j = i - 1; key = first[i]; while ((j >= 0) && (first[j] > key)){ first[j+1] = first[j]; j--; } ...
21.22
32
(translation_unit) "#include <stdio.h>\n#include <stdlib.h>\n\n/*void insert_sort(long* first, long *last){\n int n = last - first;\n int i, j;\n long key;\n for(i = 1; i < n+1; i++){\n j = i - 1;\n key = first[i];\n while ((j >= 0) && (first[j] > key)){\n first[j+1] = first[...
211
0
{"language": "c", "success": true, "metadata": {"lines": 32, "avg_line_length": 21.22, "nodes": 128, "errors": 0, "source_hash": "863280f8f15f1924d584bf569103c4e20991746f52218c051b4082d1411847e1", "categorized_nodes": 88}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
7,166
c
// // Copyright (c) .NET Foundation and Contributors // Portions Copyright (c) Microsoft Corporation. All rights reserved. // See LICENSE file in the project root for full license information. // #ifndef HAL_TYPES_H #define HAL_TYPES_H #include <nf_errors_exceptions.h> #include <stddef.h> #if defined (__GNUC__) #de...
31.93
40
(translation_unit) "//\n// Copyright (c) .NET Foundation and Contributors\n// Portions Copyright (c) Microsoft Corporation. All rights reserved.\n// See LICENSE file in the project root for full license information.\n//\n#ifndef HAL_TYPES_H\n#define HAL_TYPES_H\n\n#include <nf_errors_exceptions.h>\n\n#include <stddef....
216
0
{"language": "c", "success": true, "metadata": {"lines": 40, "avg_line_length": 31.93, "nodes": 162, "errors": 0, "source_hash": "816def03a60807efae98b7d7a5ae924d7e2f63ae7c49ce8dfddee22d31bb59c4", "categorized_nodes": 91}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
7,167
c
#ifndef LIB_COMMON_INCLUDE_COMMON_COMPARATOR_ID_H_ #define LIB_COMMON_INCLUDE_COMMON_COMPARATOR_ID_H_ #include <memory> #include "vrt/vrt_types.h" #include "vrt/vrt_util.h" namespace vrt::common { /** * Comparator to compare packets by Class and Stream ID. */ struct ComparatorId { /** * Compare packets b...
34.38
69
(translation_unit) "#ifndef LIB_COMMON_INCLUDE_COMMON_COMPARATOR_ID_H_\n#define LIB_COMMON_INCLUDE_COMMON_COMPARATOR_ID_H_\n\n#include <memory>\n\n#include "vrt/vrt_types.h"\n#include "vrt/vrt_util.h"\n\nnamespace vrt::common {\n\n/**\n * Comparator to compare packets by Class and Stream ID.\n */\nstruct ComparatorId {...
564
8
{"language": "c", "success": true, "metadata": {"lines": 69, "avg_line_length": 34.38, "nodes": 325, "errors": 0, "source_hash": "e54dabab87e952b0a65ed907b1d153348734e9101af2ae32a4edede4da66bffe", "categorized_nodes": 272}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
7,168
c
// // ScoresViewController.h // SUMMING // // Created by cliff on 11. 5. 23.. // Copyright 2011 esed. All rights reserved. // #import <UIKit/UIKit.h> @interface ScoresViewController : UIViewController { @private UILabel *_scoreLabel1; UILabel *_scoreLabel2; UILabel *_scoreLabel3; UILabel *_s...
27
25
(translation_unit) "//\n// ScoresViewController.h\n// SUMMING\n//\n// Created by cliff on 11. 5. 23..\n// Copyright 2011 esed. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n\n@interface ScoresViewController : UIViewController {\n \n@private\n UILabel *_scoreLabel1;\n UILabel *_scoreLabel2;\n UI...
162
19
{"language": "c", "success": true, "metadata": {"lines": 25, "avg_line_length": 27.0, "nodes": 114, "errors": 0, "source_hash": "fc9aaaf8b01a10fdf7688ae8acd77c7f389c495c5707f7c1ad017eb174f56791", "categorized_nodes": 66}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <...
7,169
c
// Copyright (c) <NAME> - Licensed under GNU GPL // For more information, see LICENCE in the main folder #include "../common/timer.h" // gettick #include "random.h" #if defined(WIN32) #define WIN32_LEAN_AND_MEAN #include <windows.h> #elif defined(HAVE_GETPID) || defined(HAVE_GETTID) #include <sys/types.h> ...
23.7
83
(translation_unit) "// Copyright (c) <NAME> - Licensed under GNU GPL \n// For more information, see LICENCE in the main folder \n \n#include "../common/timer.h" // gettick \n#include "random.h" \n#if defined(WIN32) \n #define WIN32_LEAN_AND_MEAN \n #include <windows.h> \n#elif defined(HAVE_GETPID) || defined(HAVE_GETTI...
398
0
{"language": "c", "success": true, "metadata": {"lines": 83, "avg_line_length": 23.7, "nodes": 243, "errors": 0, "source_hash": "de5d9f571751a73f2d5623841ff0cc44e416bb0daab194202c356ba18d6724c2", "categorized_nodes": 169}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
7,170
c
// /d/shenlong/xianfuju 東廂房(仙福居) // Last Modified by winder on Jul. 12 2002 #include <ansi.h> #include <room.h> inherit ROOM; void init() { add_action("do_get", "get"); } void create() { set("short", "仙福居"); set("long", @LONG 神龍教的仙福居,雖説是廂房,卻也十分寬敞,陳設雅潔,桌上架 上擺滿了金玉古玩,壁上懸着字畫,牀上被褥華美,居然有點皇宮中的 派頭。你真...
22.59
56
(translation_unit) "// /d/shenlong/xianfuju 東廂房(仙福居)\n// Last Modified by winder on Jul. 12 2002\n\n#include <ansi.h>\n#include <room.h>\ninherit ROOM;\n\nvoid init()\n{\n add_action("do_get", "get");\n}\n\nvoid create()\n{\n set("short", "仙福居");\n set("long", @LONG\n神龍教的仙福居,雖説是廂房,卻也十分寬敞,陳設雅潔,桌上架\n...
277
13
{"language": "c", "success": true, "metadata": {"lines": 56, "avg_line_length": 22.59, "nodes": 129, "errors": 0, "source_hash": "65961a09072c5e600928a5b9df3fdce457ade0ad534d828f1e04aaa4a963c3ef", "categorized_nodes": 93}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "si.h>...
7,171
c
/** * * \section COPYRIGHT * * Copyright 2013-2017 Software Radio Systems Limited * * \section LICENSE * * This file is part of srsLTE. * * srsUE is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundati...
34
105
(translation_unit) "/**\n *\n * \section COPYRIGHT\n *\n * Copyright 2013-2017 Software Radio Systems Limited\n *\n * \section LICENSE\n *\n * This file is part of srsLTE.\n *\n * srsUE is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * publish...
657
26
{"language": "c", "success": true, "metadata": {"lines": 105, "avg_line_length": 34.0, "nodes": 414, "errors": 0, "source_hash": "6c0dbebc6a1af3aead98235d54d4c91552076cebdca5dbc41bfe61c5b55ff17f", "categorized_nodes": 271}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
7,172
c
#import "ScoreBoardViewController.h" @class ScoreBoardViewController; @interface ScoreBoardAppDelegate : NSObject <UIApplicationDelegate> { UIWindow *_window; ScoreBoardViewController *_viewController; } @property (nonatomic, retain) IBOutlet UIWindow *window; @property (nonatomic, retain) IBOutlet ScoreBoardVie...
38
9
(translation_unit) "#import "ScoreBoardViewController.h"\n\n@class ScoreBoardViewController;\n\n@interface ScoreBoardAppDelegate : NSObject <UIApplicationDelegate> {\n UIWindow *_window;\n ScoreBoardViewController *_viewController;\n}\n\n@property (nonatomic, retain) IBOutlet UIWindow *window;\n@property (nonatomic, ...
75
11
{"language": "c", "success": true, "metadata": {"lines": 9, "avg_line_length": 38.0, "nodes": 55, "errors": 0, "source_hash": "64c000c9d7eb363b1361060608b66baa1e4493be9c4f03bd9297194f229fa112", "categorized_nodes": 30}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import \"S...
7,173
c
#pragma once #ifndef _PLAYER_CONTEXT_H_ #define _PLAYER_CONTEXT_H_ #include "Player.h" #include "World.h" namespace model { class PlayerContext { private: Player player; World world; public: PlayerContext(); PlayerContext(const Player& player, const World& world); ...
21.5
18
(translation_unit) "#pragma once\n\n#ifndef _PLAYER_CONTEXT_H_\n#define _PLAYER_CONTEXT_H_\n\n#include "Player.h"\n#include "World.h"\n\nnamespace model {\n class PlayerContext {\n private:\n Player player;\n World world;\n public:\n PlayerContext();\n PlayerContext(const Player& pl...
108
7
{"language": "c", "success": true, "metadata": {"lines": 18, "avg_line_length": 21.5, "nodes": 51, "errors": 0, "source_hash": "8dfae339a495fb945d4a2d6f7f4aa4adadc9f5c0ae6f45fc0d0654e0359bcf60", "categorized_nodes": 39}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma on...
7,174
c
#ifndef SETTINGSTATE_H #define SETTINGSTATE_H class State; class Thermofan; // Настройки class SettingState: public State { public: SettingState(Thermofan* context); ~SettingState(); virtual void loop(); virtual void encoder(); int Ksave = 0; bool oldButtonChange; }; #endif
19.07
15
(translation_unit) "#ifndef SETTINGSTATE_H\n#define SETTINGSTATE_H\n\nclass State;\nclass Thermofan;\n\n// Настройки\nclass SettingState: public State {\n public:\n SettingState(Thermofan* context);\n ~SettingState();\n virtual void loop();\n virtual void encoder();\n int Ksave = 0;\n bool oldButtonC...
83
3
{"language": "c", "success": true, "metadata": {"lines": 15, "avg_line_length": 19.07, "nodes": 52, "errors": 0, "source_hash": "d06811294150a1a9db4a96c4ff1ed1f86cb6779ede39417a766317b51c7903cb", "categorized_nodes": 37}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
7,175
c
#include <stdio.h> #include <zlib.h> #include <avs/f_utils.h> #include "xp_comm_proj/zip_io/gen.h" #include "xp_comm_proj/zip_io/fn_util.h" #define BUFLEN 16384 #define MAX_NAME_LEN 1024 #define GZ_SUFFIX ".gz" /* Uncomment the following line to enable the display of debugging information */ /* #define DEBUG *...
29.36
180
(translation_unit) "#include <stdio.h>\n#include <zlib.h>\n#include <avs/f_utils.h>\n\n#include "xp_comm_proj/zip_io/gen.h"\n#include "xp_comm_proj/zip_io/fn_util.h"\n\n#define BUFLEN 16384\n#define MAX_NAME_LEN 1024\n#define GZ_SUFFIX ".gz"\n\n\n/* Uncomment the following line to enable the display of debugging i...
1,316
0
{"language": "c", "success": true, "metadata": {"lines": 180, "avg_line_length": 29.36, "nodes": 682, "errors": 0, "source_hash": "f609768bb4e24cdfda1530f97d6af85388878e1d152bdceafbaea6f455ecd360", "categorized_nodes": 486}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
7,176
c
/** * \file * * \brief Management of C42364A LCD Glass component. * * Copyright (c) 2014-2018 Microchip Technology Inc. and its subsidiaries. * * \asf_license_start * * \page License * * Subject to your compliance with these terms, you may use Microchip * software and any derivatives exclusively with Microc...
30.95
222
(translation_unit) "/**\n * \file\n *\n * \brief Management of C42364A LCD Glass component.\n *\n * Copyright (c) 2014-2018 Microchip Technology Inc. and its subsidiaries.\n *\n * \asf_license_start\n *\n * \page License\n *\n * Subject to your compliance with these terms, you may use Microchip\n * software and any der...
1,317
0
{"language": "c", "success": true, "metadata": {"lines": 222, "avg_line_length": 30.95, "nodes": 741, "errors": 0, "source_hash": "8d02d801445db1b225f143411b605712ffc918b3076583f9ec8ee4de215f5b90", "categorized_nodes": 543}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
7,177
c
// Copyright (c) 2010-2020 The Regents of the University of Michigan // This file is from the freud project, released under the BSD 3-Clause License. #ifndef PMFTXYT_H #define PMFTXYT_H #include "PMFT.h" /*! \file PMFTXYT.h \brief Routines for computing potential of mean force and torque in XYT coordinates */ n...
39.14
29
(translation_unit) "// Copyright (c) 2010-2020 The Regents of the University of Michigan\n// This file is from the freud project, released under the BSD 3-Clause License.\n\n#ifndef PMFTXYT_H\n#define PMFTXYT_H\n\n#include "PMFT.h"\n\n/*! \file PMFTXYT.h\n \brief Routines for computing potential of mean force and to...
177
11
{"language": "c", "success": true, "metadata": {"lines": 29, "avg_line_length": 39.14, "nodes": 102, "errors": 0, "source_hash": "46379d5c0fa8b330eafa1badc097c59cc0863a760b8f0c2525b30464c6a1fac2", "categorized_nodes": 63}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
7,178
c
// Basic Linker // Copyright (c) 2021 <NAME> // Consolidate groups in a segmented program. #ifndef CONSOLIDATE_H #define CONSOLIDATE_H #include "segmented.h" void consolidate_groups_and_stack(SEGMENTED*, int verbose); #endif // CONSOLIDATE_H
29.25
8
(translation_unit) "// Basic Linker\n// Copyright (c) 2021 <NAME>\n// Consolidate groups in a segmented program.\n\n#ifndef CONSOLIDATE_H\n#define CONSOLIDATE_H\n\n#include "segmented.h"\n\nvoid consolidate_groups_and_stack(SEGMENTED*, int verbose);\n\n#endif // CONSOLIDATE_H" (comment) "// Basic Linker" (comment) ...
34
0
{"language": "c", "success": true, "metadata": {"lines": 8, "avg_line_length": 29.25, "nodes": 22, "errors": 0, "source_hash": "36388de5eb044b05917637782b8edfefd4335603251828a80de1a858bb8904f9", "categorized_nodes": 15}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef C...
7,179
c
// Copyright (c) 2013, The Toft Authors. // All rights reserved. // // Author: <NAME> <<EMAIL>> #ifndef TOFT_STORAGE_SSTABLE_WRITER_UNSORTED_SSTABLE_WRITER_H #define TOFT_STORAGE_SSTABLE_WRITER_UNSORTED_SSTABLE_WRITER_H #include <map> #include <string> #include "toft/base/scoped_ptr.h" #include "toft/storage/sstable...
33.05
44
(translation_unit) "// Copyright (c) 2013, The Toft Authors.\n// All rights reserved.\n//\n// Author: <NAME> <<EMAIL>>\n\n#ifndef TOFT_STORAGE_SSTABLE_WRITER_UNSORTED_SSTABLE_WRITER_H\n#define TOFT_STORAGE_SSTABLE_WRITER_UNSORTED_SSTABLE_WRITER_H\n\n#include <map>\n#include <string>\n\n#include "toft/base/scoped_ptr.h"...
312
15
{"language": "c", "success": true, "metadata": {"lines": 44, "avg_line_length": 33.05, "nodes": 182, "errors": 0, "source_hash": "3ec672ff806cfed337477a218ffcba3263d24d1d70e4b21aa7dfa8e2b709dbc6", "categorized_nodes": 135}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
7,180
c
#ifndef ANIM_H #define ANIM_H typedef struct Message { char* title; char* line1; char* line2; char* line3; } Message; typedef struct ElementMessage { Message infoMessage; Message boughMessage; } ElementMessage; typedef struct ShopMessages{ ElementMessage carMessage[6]; ElementMessage carMessageNoWeapons[6...
28.62
60
(translation_unit) "#ifndef ANIM_H\n#define ANIM_H\n\ntypedef struct Message {\n char* title;\n char* line1;\n char* line2;\n char* line3;\n\n} Message;\n\ntypedef struct ElementMessage {\n Message infoMessage;\n Message boughMessage;\n\n} ElementMessage;\n\n\ntypedef struct ShopMessages{\n ElementMessage carMessage[6]...
390
0
{"language": "c", "success": true, "metadata": {"lines": 60, "avg_line_length": 28.62, "nodes": 265, "errors": 0, "source_hash": "e5e6bae39a28e5b16f894510a4c44cd715346f4045cc3ffbca6e3440ec5a3c0a", "categorized_nodes": 178}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
7,181
c
// // Created by chris on 18.05.15. // #ifndef IRCBOT_PROPERTIESREADER_H #define IRCBOT_PROPERTIESREADER_H #include <string> #include <map> class PropertiesFile { private: std::map<std::string, std::string> data; std::string fileName; public: PropertiesFile(const std::string filename); int getInteg...
31.79
24
(translation_unit) "//\n// Created by chris on 18.05.15.\n//\n\n#ifndef IRCBOT_PROPERTIESREADER_H\n#define IRCBOT_PROPERTIESREADER_H\n\n#include <string>\n#include <map>\n\nclass PropertiesFile {\nprivate:\n std::map<std::string, std::string> data;\n std::string fileName;\n\npublic:\n PropertiesFile(const std:...
267
14
{"language": "c", "success": true, "metadata": {"lines": 24, "avg_line_length": 31.79, "nodes": 138, "errors": 0, "source_hash": "d7be7776ef78ecc03efa12bc1b2cca81292cc94f85c59fc55f12b5d80f0642da", "categorized_nodes": 99}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
7,182
c
#ifndef BLENDEDITEM_H #define BLENDEDITEM_H #include "drawitem.h" namespace Vizzu { namespace Draw { class BlendedDrawItem : public DrawItem { public: BlendedDrawItem(const Diag::Marker &marker, const Diag::Options &options, const Styles::Chart &style, const CoordinateSystem &coordSys, const Dia...
20.92
24
(translation_unit) "#ifndef BLENDEDITEM_H\n#define BLENDEDITEM_H\n\n#include "drawitem.h"\n\nnamespace Vizzu\n{\nnamespace Draw\n{\n\nclass BlendedDrawItem : public DrawItem\n{\npublic:\n BlendedDrawItem(const Diag::Marker &marker,\n const Diag::Options &options,\n const Styles::Chart &style,\n const Coordi...
181
15
{"language": "c", "success": true, "metadata": {"lines": 24, "avg_line_length": 20.92, "nodes": 100, "errors": 0, "source_hash": "3c3894837f7e0f4ea5386370c0b7f093a0664f9dc721d07ddc16c921c9028f18", "categorized_nodes": 74}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
7,183
c
#pragma once #ifndef UI_H #define UI_H #include<queue> #include<vector> #include <Utility/JSON_Helper.h> #include<UI/WidgetIncludes.h> #include"TextRenderer.h" #include<UI/Fonts.h> #include<Utility/EventSystem/Listener.h> struct TextToDraw { string _Text; XMFLOAT2 _Position; XMVECTORF32 _Colour; }; class UI:public...
33.02
43
(translation_unit) "#pragma once\n#ifndef UI_H\n#define UI_H\n\n#include<queue>\n#include<vector>\n#include <Utility/JSON_Helper.h>\n#include<UI/WidgetIncludes.h>\n#include"TextRenderer.h"\n#include<UI/Fonts.h>\n#include<Utility/EventSystem/Listener.h>\nstruct TextToDraw {\n string _Text;\n XMFLOAT2 _Position;\n XMVECT...
391
14
{"language": "c", "success": true, "metadata": {"lines": 43, "avg_line_length": 33.02, "nodes": 273, "errors": 0, "source_hash": "f636f5ead1195235e87f0caf2442785e501e128b2f948d65d983aae245cb6594", "categorized_nodes": 191}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
7,184
c
// // stoneFramework.h // stoneFramework // // Created by stone on 2021/12/1. // #import <Foundation/Foundation.h> #import <stoneFramework/stoneTest.h> //! Project version number for stoneFramework. FOUNDATION_EXPORT double stoneFrameworkVersionNumber; //! Project version string for stoneFramework. FOUNDATION_EX...
35.64
14
(translation_unit) "//\n// stoneFramework.h\n// stoneFramework\n//\n// Created by stone on 2021/12/1.\n//\n\n#import <Foundation/Foundation.h>\n#import <stoneFramework/stoneTest.h>\n\n\n//! Project version number for stoneFramework.\nFOUNDATION_EXPORT double stoneFrameworkVersionNumber;\n\n//! Project version string...
35
1
{"language": "c", "success": true, "metadata": {"lines": 14, "avg_line_length": 35.64, "nodes": 18, "errors": 0, "source_hash": "f39c6df6e6558b71d2ff5b3dd5a6f56d896e4c2b7a6629ff8184ea3894b7dec5", "categorized_nodes": 11}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <...
7,185
c
// // PBTransition.h // PBScrollMonitor // // Created by galen on 17/7/22. // Copyright © 2017年 galen. All rights reserved. // #import <Foundation/Foundation.h> #import <UIKit/UIKit.h> @interface PBControllerTransition : NSObject <UIViewControllerAnimatedTransitioning> + (instancetype)enterTransitionForViewContr...
35.21
14
(translation_unit) "//\n// PBTransition.h\n// PBScrollMonitor\n//\n// Created by galen on 17/7/22.\n// Copyright © 2017年 galen. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n#import <UIKit/UIKit.h>\n\n@interface PBControllerTransition : NSObject <UIViewControllerAnimatedTransitioning>\n\n+ (instanc...
82
11
{"language": "c", "success": true, "metadata": {"lines": 14, "avg_line_length": 35.21, "nodes": 54, "errors": 0, "source_hash": "fd5e94aa15b9ce206475f145248b502f580fa7b9ac78adcce46b94dff8cbd6b3", "categorized_nodes": 28}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "port <Fou...
7,186
c
#ifndef _COFFEE_GRAPHICS_COMPONENT_LIGHT_DIRECTIONAL_H_ #define _COFFEE_GRAPHICS_COMPONENT_LIGHT_DIRECTIONAL_H_ #include "coffee_includes.h" #include "kernel/kernel.h" #include "system/graphics/component/light/graphics_component_light.h" namespace coffee { namespace graphics { //----------------------------------...
41.52
29
(translation_unit) "#ifndef _COFFEE_GRAPHICS_COMPONENT_LIGHT_DIRECTIONAL_H_\n#define _COFFEE_GRAPHICS_COMPONENT_LIGHT_DIRECTIONAL_H_\n\n#include "coffee_includes.h"\n#include "kernel/kernel.h"\n#include "system/graphics/component/light/graphics_component_light.h"\n\nnamespace coffee\n{\nnamespace graphics\n{\n //---...
125
1
{"language": "c", "success": true, "metadata": {"lines": 29, "avg_line_length": 41.52, "nodes": 59, "errors": 0, "source_hash": "155a1101fb9ed3f07cb382342aa7199a3b1f7d5240e44a5d9c3cb28c21c6e348", "categorized_nodes": 44}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
7,187
c
/* * Copyright (C) 2013 <NAME> <<EMAIL>> * * c to fortran interface */ #ifdef WITH_FORTRAN #include <stdlib.h> #include <math.h> #include "cint_bas.h" #include "g1e.h" #include "misc.h" #include "c2f.h" #include "optimizer.h" /* * * * * * * * * * * * * * * * * * * * * * * for cint_bas.c */ FINT cintlen_spin...
24.09
134
(translation_unit) "/*\n * Copyright (C) 2013 <NAME> <<EMAIL>>\n *\n * c to fortran interface\n */\n\n#ifdef WITH_FORTRAN\n#include <stdlib.h>\n#include <math.h>\n#include "cint_bas.h"\n#include "g1e.h"\n#include "misc.h"\n#include "c2f.h"\n#include "optimizer.h"\n\n\n/*\n * * * * * * * * * * * * * * * * * * * * *\n *...
868
0
{"language": "c", "success": true, "metadata": {"lines": 134, "avg_line_length": 24.09, "nodes": 535, "errors": 0, "source_hash": "2209168479d1f1f6f90ea1be8e852839dee3671de1b6b20d91f838bdfe8c4aba", "categorized_nodes": 362}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifde...
7,188
c
#pragma once #include "mvItemRegistry.h" namespace Marvel { MV_REGISTER_WIDGET(mvTooltip, MV_ITEM_DESC_CONTAINER | MV_ITEM_DESC_AFTER | MV_ITEM_DESC_HANDLER, StorageValueTypes::Bool, 1); class mvTooltip : public mvAppItem { public: static void InsertParser(std::map<std::string, mvPythonParser>* parsers); M...
31.79
19
(translation_unit) "#pragma once\n\n#include "mvItemRegistry.h"\n\nnamespace Marvel {\n\n MV_REGISTER_WIDGET(mvTooltip, MV_ITEM_DESC_CONTAINER | MV_ITEM_DESC_AFTER | MV_ITEM_DESC_HANDLER, StorageValueTypes::Bool, 1);\n class mvTooltip : public mvAppItem\n {\n public:\n\n static void InsertParser(std::map<std::string, ...
158
9
{"language": "c", "success": true, "metadata": {"lines": 19, "avg_line_length": 31.79, "nodes": 98, "errors": 0, "source_hash": "ce9ac79fa72cbefaa3439bb269200557b3fbedb7ae9a07fe9b16168a68bd1813", "categorized_nodes": 65}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
7,189
c
/*- * Copyright (c) 2014-2018 <NAME> <<EMAIL>> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list ...
29.53
105
(translation_unit) "/*-\n * Copyright (c) 2014-2018 <NAME> <<EMAIL>>\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions\n * are met:\n * 1. Redistributions of source code must retain the above copyrig...
394
3
{"language": "c", "success": true, "metadata": {"lines": 105, "avg_line_length": 29.53, "nodes": 280, "errors": 0, "source_hash": "0fd697ca22ab7c94eff9e9b762318120f3a597f92948721246b231d59b8f6ae8", "categorized_nodes": 178}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
7,190
c
/* * Copyright 2020 Google LLC * * 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 ...
34.58
33
(translation_unit) "/*\n * Copyright 2020 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by...
132
3
{"language": "c", "success": true, "metadata": {"lines": 33, "avg_line_length": 34.58, "nodes": 76, "errors": 0, "source_hash": "96b46fd3987fc1952a0a25c1fad8dd212782ec029b5ef0618e389cffa0cc0eca", "categorized_nodes": 55}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
7,191
c
#ifndef __CREDENTIALS_H__ #define __CREDENTIALS_H__ // Access point parameters char ssid[] = "mynetworkname"; char passphrase[] = "<PASSWORD>"; #endif
24.17
6
(translation_unit) "#ifndef __CREDENTIALS_H__\n#define __CREDENTIALS_H__\n\n// Access point parameters\nchar ssid[] = "mynetworkname";\nchar passphrase[] = "<PASSWORD>";\n\n#endif\n\n" (preproc_ifdef) "#ifndef __CREDENTIALS_H__\n#define __CREDENTIALS_H__\n\n// Access point parameters\nchar ssid[] = "mynetworkname";\n...
35
0
{"language": "c", "success": true, "metadata": {"lines": 6, "avg_line_length": 24.17, "nodes": 21, "errors": 0, "source_hash": "7075bba163fad80bd30d4d1ff1a817dd318fa7e3f1e4d4a84290dff758feaf80", "categorized_nodes": 11}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef _...
7,192
c
#include <stdio.h> #include <time.h> int map[27]={21,22,23,31,32,33,41,42,43,51,52,53,61,62,63,71,72,73,74,81,82,83,91,92,93,94}; char a[101]; int sum() { int i, t, p, n; for (i = t = p= 0; a[i]; i++) { n = map[a[i]-'a']; if ((n/10)==(p/10)) { t += 2; } ...
19.73
33
(translation_unit) "#include <stdio.h> \n#include <time.h> \n \nint map[27]={21,22,23,31,32,33,41,42,43,51,52,53,61,62,63,71,72,73,74,81,82,83,91,92,93,94}; \nchar a[101]; \n \nint sum() \n{ \n int i, t, p, n; \n for (i = t = p= 0; a[i]; i++) { \n n = map[a[i]-'a']; \n if ((n/10)==(p/10)) { \n ...
328
0
{"language": "c", "success": true, "metadata": {"lines": 33, "avg_line_length": 19.73, "nodes": 183, "errors": 0, "source_hash": "b1cd210585030b06b1bbdd190a512e343d3c7cfe1f305b9160425c5365cd99e8", "categorized_nodes": 135}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
7,193
c
#include <pebble.h> #include "main_screen.h" // BEGIN AUTO-GENERATED UI CODE; DO NOT MODIFY static void destroy_ui(void) {} static void initialise_ui(void) {} // END AUTO-GENERATED UI CODE static void handle_window_unload(Window* window) { destroy_ui(); } void show_main_screen(void) { initialise_ui(); window_s...
26.21
19
(translation_unit) "#include <pebble.h>\n#include "main_screen.h"\n\n// BEGIN AUTO-GENERATED UI CODE; DO NOT MODIFY\nstatic void destroy_ui(void) {}\nstatic void initialise_ui(void) {}\n// END AUTO-GENERATED UI CODE\n\nstatic void handle_window_unload(Window* window) {\n destroy_ui();\n}\n\nvoid show_main_screen(void)...
139
0
{"language": "c", "success": true, "metadata": {"lines": 19, "avg_line_length": 26.21, "nodes": 73, "errors": 0, "source_hash": "62dbc682c9a6214296248b0a85c809379cd1dca1fb23143273e08262e2e2cbdb", "categorized_nodes": 46}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
7,194
c
// // GGNavigationController.h // GG_iOSProject // // Created by Mac on 2018/5/18. // Copyright © 2018年 Mr.Gao. All rights reserved. // #import <UIKit/UIKit.h> @interface GGNavigationController : UINavigationController @end
21.8
10
(translation_unit) "//\n// GGNavigationController.h\n// GG_iOSProject\n//\n// Created by Mac on 2018/5/18.\n// Copyright © 2018年 Mr.Gao. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface GGNavigationController : UINavigationController\n\n@end\n" (comment) "//" (comment) "// GGNavigationControll...
19
3
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 21.8, "nodes": 10, "errors": 0, "source_hash": "c9b08716028a24b15c2f514ddd597f7c6a2829ea2744f67fddb38e6963b3d028", "categorized_nodes": 5}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "port <UIKit...
7,195
c
#ifndef QLDESERIALIZER_H_FWVEGBMK #define QLDESERIALIZER_H_FWVEGBMK #include "Deserializer.h" namespace fovris { class QlDeserializer : public Deserializer { std::vector<Query> queries_; std::vector<Module> modules_; public: std::vector<Query> getQueries(); std::vector<Module>&& getModules(); vo...
30.07
14
(translation_unit) "#ifndef QLDESERIALIZER_H_FWVEGBMK\n#define QLDESERIALIZER_H_FWVEGBMK\n#include "Deserializer.h"\nnamespace fovris {\n\nclass QlDeserializer : public Deserializer {\n std::vector<Query> queries_;\n std::vector<Module> modules_;\n\n public:\n std::vector<Query> getQueries();\n std::vector...
123
6
{"language": "c", "success": true, "metadata": {"lines": 14, "avg_line_length": 30.07, "nodes": 70, "errors": 0, "source_hash": "7f767fe500296595f7fdb599e16cc8fbd314375d757cf0af71729f4a79ae89cd", "categorized_nodes": 49}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
7,196
c
/* Generated by RuntimeBrowser Image: /System/Library/PrivateFrameworks/NotesUI.framework/NotesUI */ @interface ICNotePasteboardData : NSObject <NSSecureCoding> { NSData * _attributedStringData; ICDataPersister * _dataPersister; } @property (nonatomic, readonly) NSData *attributedStringData; @property (no...
33.65
20
(translation_unit) "/* Generated by RuntimeBrowser\n Image: /System/Library/PrivateFrameworks/NotesUI.framework/NotesUI\n */\n\n@interface ICNotePasteboardData : NSObject <NSSecureCoding> {\n NSData * _attributedStringData;\n ICDataPersister * _dataPersister;\n}\n\n@property (nonatomic, readonly) NSData *attrib...
198
15
{"language": "c", "success": true, "metadata": {"lines": 20, "avg_line_length": 33.65, "nodes": 123, "errors": 0, "source_hash": "bcc08076f97181ea3d96ff3c32699e20556d791a0856795df483bd1bc6b6c8bb", "categorized_nodes": 74}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "@interface ICNo...
7,197
c
#include <stdlib.h> #define FALSE 140 #define TRUE 13 int feq (x) long long int x; { if (x == 0) return TRUE; else return FALSE; } int fne (x) long long int x; { if (x != 0) return TRUE; else return FALSE; } int flt (x) long long int x; { if (x < 0) return TRUE; else ...
17.72
127
(translation_unit) "#include <stdlib.h>\n#define FALSE 140\n#define TRUE 13\n\nint feq (x)\n long long int x;\n{\n if (x == 0)\n return TRUE;\n else\n return FALSE;\n}\n\nint fne (x)\n long long int x;\n{\n if (x != 0)\n return TRUE;\n else\n return FALSE;\n}\n\nint flt (x)\n long long int x...
1,008
0
{"language": "c", "success": true, "metadata": {"lines": 127, "avg_line_length": 17.72, "nodes": 590, "errors": 0, "source_hash": "f7effe366755d1092d6aec4f7908708e756f24482368d912beae4f666a12e3a3", "categorized_nodes": 383}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
7,198
c
// // Created by per on 20.02.18. // #ifndef AA_BATTLESIM_H #define AA_BATTLESIM_H #include <cstddef> #include "../Board.h" #include "../Dice.h" // Air supremacy dice #define DICE_FIGHTER_DEFEAT_MIN 0 #define DICE_FIGHTER_DEFEAT_MAX 2 // Attacker artillery #define DICE_ATK_ARTILLERY_MIN 0 #define DICE_ATK_ARTILLE...
23.24
83
(translation_unit) "//\n// Created by per on 20.02.18.\n//\n\n#ifndef AA_BATTLESIM_H\n#define AA_BATTLESIM_H\n\n\n#include <cstddef>\n#include "../Board.h"\n#include "../Dice.h"\n\n\n// Air supremacy dice\n#define DICE_FIGHTER_DEFEAT_MIN 0\n#define DICE_FIGHTER_DEFEAT_MAX 2\n\n// Attacker artillery\n#define DICE_ATK_AR...
304
2
{"language": "c", "success": true, "metadata": {"lines": 83, "avg_line_length": 23.24, "nodes": 215, "errors": 0, "source_hash": "0550a82dc936c4bdde7c96d4db44b429b2f213b5e7a9304f7dac47d7f3163446", "categorized_nodes": 111}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
7,199