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
///////////////////////////////////////////////////////////////////////////// // Name: fontenum.h // Purpose: wxFontEnumerator class for Windows // Author: <NAME> // Modified by: // Created: 04/01/98 // RCS-ID: $Id: fontenum.h,v 1.6 2004/10/13 14:04:19 ABX Exp $ // Copyright: (c) <NAME> // Li...
31.25
36
(translation_unit) "/////////////////////////////////////////////////////////////////////////////\n// Name: fontenum.h\n// Purpose: wxFontEnumerator class for Windows\n// Author: <NAME>\n// Modified by:\n// Created: 04/01/98\n// RCS-ID: $Id: fontenum.h,v 1.6 2004/10/13 14:04:19 ABX Exp $\n// Co...
133
5
{"language": "c", "success": true, "metadata": {"lines": 36, "avg_line_length": 31.25, "nodes": 66, "errors": 0, "source_hash": "d080df7d8b66096a2a3c1410b5909c2dcabe546f7f5bb61530f5345e344757da", "categorized_nodes": 45}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
3,900
c
#include "matrix.h" #include <stdio.h> #include <stdlib.h> int **allocate_matrix(int rows, int columns) { int i; int **matrix = (int **)malloc(columns * sizeof(int *)); for (i = 0; i < columns; i++) matrix[i] = (int *)malloc(rows * sizeof(int)); return matrix; } void free_matrix(int **matrix,...
22.49
53
(translation_unit) "#include "matrix.h"\n#include <stdio.h>\n#include <stdlib.h>\n\nint **allocate_matrix(int rows, int columns)\n{\n int i;\n int **matrix = (int **)malloc(columns * sizeof(int *));\n for (i = 0; i < columns; i++)\n matrix[i] = (int *)malloc(rows * sizeof(int));\n\n return matrix;\n}...
549
0
{"language": "c", "success": true, "metadata": {"lines": 53, "avg_line_length": 22.49, "nodes": 362, "errors": 0, "source_hash": "73926d413e871c8a06e528400fa3d1be75ba541539df6c9171e3c7c10314c569", "categorized_nodes": 228}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
3,901
c
#ifndef DEBUG_H #define DEBUG_H #define breakpoint asm volatile("brk #0") void dbg_main(); //Only to be called if c_irq_handler can't figure out what it is #endif
31.6
5
(translation_unit) "#ifndef DEBUG_H\n#define DEBUG_H\n\n#define breakpoint asm volatile("brk #0")\n\nvoid dbg_main(); //Only to be called if c_irq_handler can't figure out what it is\n\n#endif\n" (preproc_ifdef) "#ifndef DEBUG_H\n#define DEBUG_H\n\n#define breakpoint asm volatile("brk #0")\n\nvoid dbg_main(); //Only ...
21
0
{"language": "c", "success": true, "metadata": {"lines": 5, "avg_line_length": 31.6, "nodes": 16, "errors": 0, "source_hash": "334e49efc1c74a047ff0b7b7acbe8419f09474b0849c97921020f5f38152ef40", "categorized_nodes": 9}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef DEB...
3,902
c
#pragma once #include "instruction.h" namespace kpp { namespace x64 { instruction_list generate_control_instruction(ir::Instruction* i); instruction_list gen_jump(ir::Branch* i); instruction_list gen_cond_jump(ir::BranchCond* i); instruction_list gen_ret(ir::Return* i); instruction_list gen_call(ir::Call*...
30.19
16
(translation_unit) "#pragma once\n\n#include "instruction.h"\n\nnamespace kpp\n{\n namespace x64\n {\n instruction_list generate_control_instruction(ir::Instruction* i);\n instruction_list gen_jump(ir::Branch* i);\n instruction_list gen_cond_jump(ir::BranchCond* i);\n instruction_list gen_ret(ir::Return* i);\n ins...
166
5
{"language": "c", "success": true, "metadata": {"lines": 16, "avg_line_length": 30.19, "nodes": 117, "errors": 0, "source_hash": "17695ad6686e16c35b50064eb7567df49c100710c385ec6ca1461c3fc8823135", "categorized_nodes": 80}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma ...
3,903
c
#ifndef _defines_h_ #define _defines_h_ //ARQUIVOS #define SAVEFILE_NAME "saves.save" #define MAPLIST_NAME "maps/maplist.txt" #define MOB_DEF_FILE "mob_definitions.txt" #define TEXTURES_FILE "textures/textures.txt" #define BASE_MOB_TEXTURE_FILE "textures/mob.png" #define BASE_ITEM_TEXTURE_FILE "textures/item.png" #def...
23.8
66
(translation_unit) "#ifndef _defines_h_\n#define _defines_h_\n\n//ARQUIVOS\n#define SAVEFILE_NAME "saves.save"\n#define MAPLIST_NAME "maps/maplist.txt"\n#define MOB_DEF_FILE "mob_definitions.txt"\n#define TEXTURES_FILE "textures/textures.txt"\n#define BASE_MOB_TEXTURE_FILE "textures/mob.png"\n#define BASE_ITEM_TEXTURE_...
242
0
{"language": "c", "success": true, "metadata": {"lines": 66, "avg_line_length": 23.8, "nodes": 225, "errors": 0, "source_hash": "3c14a7a6e53e43ce45f4331babbcef6f1895c0aa21de614c2a54caebdda70a05", "categorized_nodes": 64}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
3,904
c
/* findfree.c - Find space in the temp-file to put a frame. Expand file if necessary. Works on temp_flx - our basic indexed frame/state file. */ #include "jimk.h" #include "errcodes.h" #include "flx.h" #include "linklist.h" static int cmp_flx(void *f1, void *f2, void *data) /* int value returned for sor...
22.01
213
(translation_unit) "/* findfree.c - Find space in the temp-file to put a frame. Expand file \n if necessary. Works on temp_flx - our basic indexed frame/state file. */ \n \n#include "jimk.h" \n#include "errcodes.h" \n#include "flx.h" \n#include "linklist.h" \n \nstatic int cmp_flx(void *f1, void *f2, void *data) \n...
1,318
0
{"language": "c", "success": true, "metadata": {"lines": 213, "avg_line_length": 22.01, "nodes": 845, "errors": 0, "source_hash": "87131fd356593d915bf2f76d69fd608127a639aa9fe8d91a0763fcd2ffe4be1a", "categorized_nodes": 628}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
3,905
c
// // HWAutoScrollView.h // AutoScroll // // Created by hw on 16/9/19. // Copyright © 2016年 hwacdx. All rights reserved. // #import <UIKit/UIKit.h> typedef NS_ENUM(NSInteger, HWPageControlPosition) { HWPageControlPositionCenter,//底部中间 HWPageControlPositionRight,//右下角 HWPageControlPositionLeft//左下角 };...
26.36
39
(translation_unit) "//\n// HWAutoScrollView.h\n// AutoScroll \n//\n// Created by hw on 16/9/19.\n// Copyright © 2016年 hwacdx. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\ntypedef NS_ENUM(NSInteger, HWPageControlPosition) {\n HWPageControlPositionCenter,//底部中间\n HWPageControlPositionRight,//右下角\n ...
180
27
{"language": "c", "success": true, "metadata": {"lines": 39, "avg_line_length": 26.36, "nodes": 109, "errors": 0, "source_hash": "e9f0bae75d6d8470ca18ee54c45299b9a98daea83ec170c808b869dcb4fec96b", "categorized_nodes": 57}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "port <UI...
3,906
c
// @(#)root/mathcore:$Id$ // Authors: <NAME>, <NAME>, <NAME> 2005 #ifndef ROOT_Math_Point3D #define ROOT_Math_Point3D // defines typedefs to specific vectors and forward declarations #include "Math/Point3Dfwd.h" // coordinate system types #include "Math/GenVector/Cartesian3D.h" #include "Math/GenVector/Cylindrica...
31.93
15
(translation_unit) "// @(#)root/mathcore:$Id$\n// Authors: <NAME>, <NAME>, <NAME> 2005\n\n#ifndef ROOT_Math_Point3D\n#define ROOT_Math_Point3D\n\n// defines typedefs to specific vectors and forward declarations\n#include "Math/Point3Dfwd.h"\n\n// coordinate system types\n#include "Math/GenVector/Cartesian3D.h"\n#inc...
49
0
{"language": "c", "success": true, "metadata": {"lines": 15, "avg_line_length": 31.93, "nodes": 25, "errors": 0, "source_hash": "3e933e6fc210d8075adc36e957915e2565e7af5cafbbe5ed3d8afb8bc956ad0a", "categorized_nodes": 23}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
3,907
c
// // UITableViewCell+AKABindingTargetContainer.h // AKABeacon // // Created by <NAME> on 21.05.16. // Copyright © 2016 <NAME> & AKA Sarl. All rights reserved. // #import "UIView+AKABindingTargetContainer.h" @interface UITableViewCell(AKABindingTargetContainer) /** Enumerates potential binding targets owned or...
48.89
18
(translation_unit) "//\n// UITableViewCell+AKABindingTargetContainer.h\n// AKABeacon\n//\n// Created by <NAME> on 21.05.16.\n// Copyright © 2016 <NAME> & AKA Sarl. All rights reserved.\n//\n\n#import "UIView+AKABindingTargetContainer.h"\n\n\n@interface UITableViewCell(AKABindingTargetContainer)\n\n/**\n Enumerates ...
56
7
{"language": "c", "success": true, "metadata": {"lines": 18, "avg_line_length": 48.89, "nodes": 31, "errors": 0, "source_hash": "31104ee30c75fe76a5552bd6c61aa2b6fe667b4390aec083b2f277b0df657b06", "categorized_nodes": 16}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import \"...
3,908
c
#include "type/info.h" uint8_t _ctf_info_get_kind (uint16_t info) { return (info & 0xf800) >> 11; } uint8_t _ctf_info_is_root (uint16_t info) { return (info & 0x0400) >> 10; } uint16_t _ctf_info_get_vardata_length (uint16_t info) { return (info & 0x3ff); }
15.25
16
(translation_unit) "#include "type/info.h"\n\nuint8_t\n_ctf_info_get_kind (uint16_t info)\n{\n return (info & 0xf800) >> 11;\n}\n\nuint8_t\n_ctf_info_is_root (uint16_t info)\n{\n return (info & 0x0400) >> 10;\n}\n\nuint16_t\n_ctf_info_get_vardata_length (uint16_t info)\n{\n return (info & 0x3ff);\n}\n\n" (preproc_inc...
82
0
{"language": "c", "success": true, "metadata": {"lines": 16, "avg_line_length": 15.25, "nodes": 48, "errors": 0, "source_hash": "d47f1e39af1a5fc11a1dac3040717320280389cc47da963fddd3719d302c0e4b", "categorized_nodes": 37}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
3,909
c
// // Created by <NAME> on 2021-07-21. // #ifndef UCENTRALGW_DASHBOARD_H #define UCENTRALGW_DASHBOARD_H #include "framework/OpenWifiTypes.h" #include "RESTObjects/RESTAPI_FMSObjects.h" namespace OpenWifi { class DeviceDashboard { public: void Create(); const FMSObjects::DeviceReport & Report() const { retu...
25.37
19
(translation_unit) "//\n// Created by <NAME> on 2021-07-21.\n//\n\n#ifndef UCENTRALGW_DASHBOARD_H\n#define UCENTRALGW_DASHBOARD_H\n\n#include "framework/OpenWifiTypes.h"\n#include "RESTObjects/RESTAPI_FMSObjects.h"\n\nnamespace OpenWifi {\n class DeviceDashboard {\n public:\n void Create();\n const FMSObjects::De...
119
3
{"language": "c", "success": true, "metadata": {"lines": 19, "avg_line_length": 25.37, "nodes": 61, "errors": 0, "source_hash": "f2162aa109c0809d13617b01fe0b17666d9eab1bc4942cc7deb9f2274cf275b2", "categorized_nodes": 43}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
3,910
c
/* * The MIT License (MIT) * * Copyright (c) 2014,2015 <NAME> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, ...
32.47
55
(translation_unit) "/*\n * The MIT License (MIT)\n *\n * Copyright (c) 2014,2015 <NAME>\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the "Software"), to deal\n * in the Software without restriction, including without limita...
239
0
{"language": "c", "success": true, "metadata": {"lines": 55, "avg_line_length": 32.47, "nodes": 143, "errors": 0, "source_hash": "ed3405988500c65071a84d76d04ecca192d87a47bcf6336be35379b52e2a0fbb", "categorized_nodes": 102}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
3,911
c
#ifndef _SLD_LOGICAL_EXPRESSION_H_ #define _SLD_LOGICAL_EXPRESSION_H_ #include "SldTypes.h" #include "SldDynArray.h" #include "SldStack.h" // Класс, позволяющий вычислять логические выражения (методом двух стеков) class CSldLogicalExpression { public: // Базовый класс для операндов логического выражения class Ope...
33.89
80
(translation_unit) "fndef _SLD_LOGICAL_EXPRESSION_H_\n#define _SLD_LOGICAL_EXPRESSION_H_\n\n#include "SldTypes.h"\n#include "SldDynArray.h"\n#include "SldStack.h"\n\n// Класс, позволяющий вычислять логические выражения (методом двух стеков)\nclass CSldLogicalExpression\n{\npublic:\n\n // Базовый класс для операндов лог...
517
19
{"language": "c", "success": true, "metadata": {"lines": 80, "avg_line_length": 33.89, "nodes": 322, "errors": 0, "source_hash": "8a73cfa98face9bfdb27577ad5cd1f368b91a9c212cb51fa5e6a80110ce1bc4f", "categorized_nodes": 213}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "fndef ...
3,912
c
#include <stdbool.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include "common/wave.h" #include "ft8.h" #define FT4_SLOT_TIME 6.0f // total length of output waveform in seconds #define FT8_SLOT_TIME 15.0f // total length of output waveform in seconds int main(int argc, char *argv[]) { int sampl...
32.48
42
(translation_unit) "#include <stdbool.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n\n#include "common/wave.h"\n#include "ft8.h"\n\n#define FT4_SLOT_TIME 6.0f // total length of output waveform in seconds\n#define FT8_SLOT_TIME 15.0f // total length of output waveform in seconds\n\nint main(int argc...
338
0
{"language": "c", "success": true, "metadata": {"lines": 42, "avg_line_length": 32.48, "nodes": 198, "errors": 0, "source_hash": "639da6f8c7fc721bb5b1fb4c5a12c07cb61bd7503c7d3efd4021978df1e12f94", "categorized_nodes": 137}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
3,913
c
typedef struct section_info { int offset; int size; }SectionInfo; SectionInfo *get_section_info(char *targetpath, char *section_name); char *get_current_path();
26.5
6
(translation_unit) "typedef struct section_info {\n int offset;\n int size;\n}SectionInfo;\n\nSectionInfo *get_section_info(char *targetpath, char *section_name);\nchar *get_current_path();" (type_definition) "typedef struct section_info {\n int offset;\n int size;\n}SectionInfo;" (typedef) "typedef" (str...
50
0
{"language": "c", "success": true, "metadata": {"lines": 6, "avg_line_length": 26.5, "nodes": 36, "errors": 0, "source_hash": "9043d251e3efdf8041be11241c054d1a50fa2515e06ce5768e5bdec195f19163", "categorized_nodes": 20}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "type_definition", "text": "typedef ...
3,914
c
#include "connect_shell.h" #include "shell.h" #include "debug.h" int connectbackListen( char* ip, int port) { int sock; int retval = 0; struct sockaddr_in client; //Get a Socket if( ( sock = socket(AF_INET,SOCK_STREAM,IPPROTO_IP) ) == SOCKET_ERROR ) { // socket() failed D( perror( "socket()" ); ) return F...
25.32
38
(translation_unit) "#include "connect_shell.h"\n#include "shell.h"\n#include "debug.h"\n\nint connectbackListen( char* ip, int port)\n{\n int sock;\n int retval = 0;\n struct sockaddr_in client;\n\n //Get a Socket\n if( ( sock = socket(AF_INET,SOCK_STREAM,IPPROTO_IP) ) == SOCKET_ERROR )\n {\n // socket() failed\n D( ...
265
2
{"language": "c", "success": true, "metadata": {"lines": 38, "avg_line_length": 25.32, "nodes": 146, "errors": 0, "source_hash": "6c449bdd6a8a5f164ab6e1bbeab05fdd99e968583c184f51399456ce8cdd1a03", "categorized_nodes": 112}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
3,915
c
/* * Riscy 0.0.1 * Copyright 2021 <NAME>. * * To set up Riscy in your project, define RISCY_IMPLEMENTATION macro: * * ... * #define RISCY_IMPLEMENTATION * #include "riscy.h" * ... * * and then add these functions in your code: * * uint8_t rv_read_mem(uint64_t address); * void rv_wr...
27.13
63
(translation_unit) "/*\n * Riscy 0.0.1\n * Copyright 2021 <NAME>.\n *\n * To set up Riscy in your project, define RISCY_IMPLEMENTATION macro:\n *\n * ...\n * #define RISCY_IMPLEMENTATION\n * #include "riscy.h"\n * ...\n *\n * and then add these functions in your code:\n *\n * uint8_t rv_read_mem(uin...
293
0
{"language": "c", "success": true, "metadata": {"lines": 63, "avg_line_length": 27.13, "nodes": 171, "errors": 0, "source_hash": "f0170c8003ba97a2d33ea7388f69d4e1fc5db3e42c36be24251c12f752b05693", "categorized_nodes": 121}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
3,916
c
/******************************************************************************* * Copyright 2019 Microchip Corporation. * * SPDX-License-Identifier: MIT * * MPFS HSS Embedded Software * */ /*! * \file MMC (null) Service * \brief Setup MMC */ #include "config.h" #include "hss_types.h" #include "hss_state_ma...
37.37
223
(translation_unit) "/*******************************************************************************\n * Copyright 2019 Microchip Corporation.\n *\n * SPDX-License-Identifier: MIT\n *\n * MPFS HSS Embedded Software\n *\n */\n\n/*!\n * \file MMC (null) Service\n * \brief Setup MMC\n */\n\n#include "config.h"\n#include "...
1,481
9
{"language": "c", "success": true, "metadata": {"lines": 223, "avg_line_length": 37.37, "nodes": 883, "errors": 0, "source_hash": "62fb38068e9fd60ad4c550ed2eff3f8569c1a11f14f6fa151751f47bc21078d4", "categorized_nodes": 588}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
3,917
c
#ifndef CMAP_H #define CMAP_H #include "Mappings/ClassMap.h" #include "C.h" class CMap : public QtOrm::Mapping::ClassMap<C> { public: CMap() { setTable("C"); mapId("id"); addOneToOne("kindA").setTableColumn("idKindA"); } }; #endif // CMAP_H
18.77
13
(translation_unit) "#ifndef CMAP_H\n#define CMAP_H\n\n#include "Mappings/ClassMap.h"\n#include "C.h"\n\nclass CMap : public QtOrm::Mapping::ClassMap<C> {\npublic:\n CMap() {\n setTable("C");\n mapId("id");\n\n addOneToOne("kindA").setTableColumn("idKindA");\n }\n};\n\n#endif // CMAP_H\n" (preproc_ifdef) "#...
104
4
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 18.77, "nodes": 48, "errors": 0, "source_hash": "8745f4a2575524883c1eef6923596edb22f9175ad862b601e8a6f366517d57bb", "categorized_nodes": 33}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
3,918
c
/******************************************************************************* * Bytecoin Wallet for Ledger Nano S * (c) 2018 - 2019 The Bytecoin developers * * 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 ...
33.97
194
(translation_unit) "/*******************************************************************************\n* Bytecoin Wallet for Ledger Nano S\n* (c) 2018 - 2019 The Bytecoin developers\n*\n* Licensed under the Apache License, Version 2.0 (the "License");\n* you may not use this file except in compliance with the Lice...
1,520
0
{"language": "c", "success": true, "metadata": {"lines": 194, "avg_line_length": 33.97, "nodes": 970, "errors": 0, "source_hash": "2f205a7eaea7d3f2dc5520543ecd28b16eafffe5c01cf87e5b494378e30e4161", "categorized_nodes": 665}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
3,919
c
#import <Foundation/Foundation.h> #import <Realm/Realm.h> @interface Account : RLMObject @end @interface ClusterNode : RLMObject @end @interface Metadata : RLMObject @end @interface Permission : RLMObject @end @interface RealmFile : RLMObject @end @interface Token : RLMObject @end @interface User : RLMObject @en...
22.89
70
(translation_unit) "#import <Foundation/Foundation.h>\n#import <Realm/Realm.h>\n\n@interface Account : RLMObject\n@end\n\n@interface ClusterNode : RLMObject\n@end\n\n@interface Metadata : RLMObject\n@end\n\n@interface Permission : RLMObject\n@end\n\n@interface RealmFile : RLMObject\n@end\n\n@interface Token : RLMObject...
548
131
{"language": "c", "success": true, "metadata": {"lines": 70, "avg_line_length": 22.89, "nodes": 447, "errors": 0, "source_hash": "06d93faee097956ef9da0ccfac2ce5f595ced5d16d38bd81601784bf74ec3aa9", "categorized_nodes": 214}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import...
3,920
c
#include<argx/argx.h> #include<string.h> #include<stdio.h> #include<stdlib.h> #include<assert.h> #include<limits.h> #define HELP_EXPECT 1 #define STRING_EXPECT "itiomorbovina" #define UINT_EXPECT 2976579765U int main(int argc, char **argv) { Argx argx; argx_init(&argx); printf("Running validity tes...
35.33
70
(translation_unit) "#include<argx/argx.h>\n#include<string.h>\n#include<stdio.h>\n#include<stdlib.h>\n#include<assert.h>\n#include<limits.h>\n\n#define HELP_EXPECT 1\n#define STRING_EXPECT "itiomorbovina"\n#define UINT_EXPECT 2976579765U\n\nint main(int argc, char **argv)\n{\n Argx argx;\n\n argx_init(&argx);...
784
0
{"language": "c", "success": true, "metadata": {"lines": 70, "avg_line_length": 35.33, "nodes": 429, "errors": 0, "source_hash": "9beff0bb05f222a66eb46c8e9fa061a5668def0757abe4187587e52ae2a587c3", "categorized_nodes": 307}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
3,921
c
// // RPLogDelegate.h // RaxelPulse // // Created by <NAME> on 18/09/2018. // Copyright © 2020 Data Motion Pte. Ltd. All rights reserved. // #import <Foundation/Foundation.h> NS_ASSUME_NONNULL_BEGIN @protocol RPLogDelegate <NSObject> - (void)logEvent:(NSString *)event; - (void)logWarning:(NSString *)warning; @...
23.36
14
(translation_unit) "//\n// RPLogDelegate.h\n// RaxelPulse\n//\n// Created by <NAME> on 18/09/2018.\n// Copyright © 2020 Data Motion Pte. Ltd. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n\nNS_ASSUME_NONNULL_BEGIN\n\n@protocol RPLogDelegate <NSObject>\n\n- (void)logEvent:(NSString *)event;\n- (void...
64
9
{"language": "c", "success": true, "metadata": {"lines": 14, "avg_line_length": 23.36, "nodes": 40, "errors": 0, "source_hash": "725c889a61196413e86a0bb4d1885ab4a5544fec97becfad196a087b636f735f", "categorized_nodes": 22}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <F...
3,922
c
/*******************************************************************\ Module: Binary Decision Diagrams Author: <NAME>, <EMAIL> \*******************************************************************/ /// \file /// Choice between the different interface to BDD libraries. #ifndef CPROVER_SOLVERS_BDD_BDD_H #define CPROV...
37
13
(translation_unit) "/*******************************************************************\\n\nModule: Binary Decision Diagrams\n\nAuthor: <NAME>, <EMAIL>\n\n\*******************************************************************/\n\n/// \file\n/// Choice between the different interface to BDD libraries.\n\n#ifndef CPROVER_...
31
0
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 37.0, "nodes": 19, "errors": 0, "source_hash": "3e0cec0d9e615af66351132d43eb3a84a777f457348f5dacce3efe87745250d1", "categorized_nodes": 15}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef C...
3,923
c
#include <stdio.h> #include <time.h> #define note_file "NOTES.TXT" int main(int argc, char**argv) { FILE *note; time_t timer; int i; char ch; if(argc==1) { //Read NOTES.TXT and print it note = fopen(note_file, "r"); if(note!=NULL) { while((ch=getc(note))!=EOF) putc(ch, stdout); } } else { ...
16.64
36
(translation_unit) "#include <stdio.h>\n#include <time.h>\n\n#define note_file "NOTES.TXT"\n\nint main(int argc, char**argv)\n{\n FILE *note;\n time_t timer;\n int i;\n char ch;\n\n if(argc==1)\n {\n //Read NOTES.TXT and print it\n note = fopen(note_file, "r");\n if(note!=NULL)\n {\n while((ch=getc(note))!=EOF)\n...
270
0
{"language": "c", "success": true, "metadata": {"lines": 36, "avg_line_length": 16.64, "nodes": 157, "errors": 0, "source_hash": "d88d7850c0b128b7dc9a9c7aced59e158f4565a2152a333731d002b79c3c33f5", "categorized_nodes": 106}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
3,924
c
/*****************************************************************//** * \file graphics.h * \brief * * \author ifkno * \date October 2021 *********************************************************************/ //#pragma once #ifndef GRAPHICS_H #define GRAPHICS_H #include <cassert> #include <stdint.h> #includ...
38.8
71
(translation_unit) "/*****************************************************************//**\n * \file graphics.h\n * \brief\n *\n * \author ifkno\n * \date October 2021\n *********************************************************************/\n//#pragma once\n#ifndef GRAPHICS_H\n#define GRAPHICS_H\n\n#include <casser...
450
21
{"language": "c", "success": true, "metadata": {"lines": 71, "avg_line_length": 38.8, "nodes": 253, "errors": 0, "source_hash": "a4f4c5ccc91b49eff3dc6a0cf294ade60d32f4e7adcb3f72392d3258b4dfadda", "categorized_nodes": 177}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
3,925
c
/* * Copyright (c) 2018, Arm Limited. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause * */ #include "tfm_platform_api.h" #include "tfm_platform_veneers.h" __attribute__((section("SFN"))) enum tfm_platform_err_t tfm_platform_system_reset(void) { return tfm_platform_veneer_system_reset(); }
23.15
13
(translation_unit) "/*\n * Copyright (c) 2018, Arm Limited. All rights reserved.\n *\n * SPDX-License-Identifier: BSD-3-Clause\n *\n */\n\n#include "tfm_platform_api.h"\n#include "tfm_platform_veneers.h"\n\n__attribute__((section("SFN")))\nenum tfm_platform_err_t tfm_platform_system_reset(void)\n{\n return tfm_platf...
52
0
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 23.15, "nodes": 26, "errors": 0, "source_hash": "28fefa1fd276bcb4bc8b756b6a813d5cf5f9be2ee664828ebfcba7a370d24c8a", "categorized_nodes": 20}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
3,926
c
#pragma once #include "gfx/device_type.h" struct BufferElement { DeviceType type; bool instanced = false; }; class BufferLayout { public: BufferLayout(const std::initializer_list<BufferElement>& elements = {}); const std::vector<VkVertexInputBindingDescription>& getBindingDescriptions() const { return binding_...
37.22
18
(translation_unit) "#pragma once\n\n#include "gfx/device_type.h"\n\nstruct BufferElement\n{\n DeviceType type;\n bool instanced = false;\n};\n\nclass BufferLayout \n{\npublic:\n BufferLayout(const std::initializer_list<BufferElement>& elements = {});\n\n const std::vector<VkVertexInputBindingDescription>& getBindingDes...
166
10
{"language": "c", "success": true, "metadata": {"lines": 18, "avg_line_length": 37.22, "nodes": 88, "errors": 0, "source_hash": "8ecf7bb95535863523a1a07c193ea7e8feaa09c8c4821d7b1e8b24f62c42c834", "categorized_nodes": 54}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
3,927
c
#ifndef HGL_GRAPH_VULKAN_SEMAPHORE_INCLUDE #define HGL_GRAPH_VULKAN_SEMAPHORE_INCLUDE #include<hgl/graph/VK.h> VK_NAMESPACE_BEGIN class GPUSemaphore { VkDevice device; VkSemaphore sem; private: friend class GPUDevice; GPUSemaphore(VkDevice d,VkSemaphore s) { device=d; sem=s; ...
22.86
22
(translation_unit) "fndef HGL_GRAPH_VULKAN_SEMAPHORE_INCLUDE\n#define HGL_GRAPH_VULKAN_SEMAPHORE_INCLUDE\n\n#include<hgl/graph/VK.h>\nVK_NAMESPACE_BEGIN\nclass GPUSemaphore\n{\n VkDevice device;\n VkSemaphore sem;\n\nprivate:\n\n friend class GPUDevice;\n\n GPUSemaphore(VkDevice d,VkSemaphore s)\n {\n ...
114
5
{"language": "c", "success": true, "metadata": {"lines": 22, "avg_line_length": 22.86, "nodes": 68, "errors": 0, "source_hash": "c95951c597ad7951d63bb71d23af771c889734d67d001e14f7b2578e0ff87f96", "categorized_nodes": 54}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "fndef HG...
3,928
c
#ifndef INC_SHADER_H_ #define INC_SHADER_H_ GLuint createShaders(const char* vertexData, const char* fragmentData); #endif //INC_SHADER_H_
33.75
4
(translation_unit) "#ifndef INC_SHADER_H_\n#define INC_SHADER_H_\n\nGLuint createShaders(const char* vertexData, const char* fragmentData);\n\n#endif //INC_SHADER_H_\n\n" (preproc_ifdef) "#ifndef INC_SHADER_H_\n#define INC_SHADER_H_\n\nGLuint createShaders(const char* vertexData, const char* fragmentData);\n\n#endif"...
32
0
{"language": "c", "success": true, "metadata": {"lines": 4, "avg_line_length": 33.75, "nodes": 22, "errors": 0, "source_hash": "5cd6dace0dd05a88bcbdca11ac037905e6ba01aee9830077114b7e2e9dd8da72", "categorized_nodes": 13}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef I...
3,929
c
// Copyright (c) 2018, Smart Projects Holdings Ltd // All rights reserved. // See LICENSE file for license details. /** * @file cucs_processor.h * * UCS processor manages communications with UCS server and registered * vehicles. */ #ifndef _UGCS_VSM_CUCS_PROCESSOR_H_ #define _UGCS_VSM_CUCS_PROCESSOR_H_ #include...
37.77
184
(translation_unit) "// Copyright (c) 2018, Smart Projects Holdings Ltd\n// All rights reserved.\n// See LICENSE file for license details.\n\n/**\n * @file cucs_processor.h\n *\n * UCS processor manages communications with UCS server and registered\n * vehicles.\n */\n\n#ifndef _UGCS_VSM_CUCS_PROCESSOR_H_\n#define _UGCS...
1,068
68
{"language": "c", "success": true, "metadata": {"lines": 184, "avg_line_length": 37.77, "nodes": 641, "errors": 0, "source_hash": "8f6eaa66a6fdb30dbc135d7280b8106dbf363757bad2132a4e847264b979b2fb", "categorized_nodes": 443}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
3,930
c
#ifndef CObject_h #define CObject_h class CObject { public: }; #endif
9.14
7
(translation_unit) "#ifndef CObject_h\n#define CObject_h\n\nclass CObject\n{\n public:\n};\n\n#endif\n\n" (preproc_ifdef) "#ifndef CObject_h\n#define CObject_h\n\nclass CObject\n{\n public:\n};\n\n#endif" (#ifndef) "#ifndef" (identifier) "CObject_h" (preproc_def) "#define CObject_h\n" (#define) "#de...
21
0
{"language": "c", "success": true, "metadata": {"lines": 7, "avg_line_length": 9.14, "nodes": 10, "errors": 0, "source_hash": "a007f83d7ffaaf09fa8ecc7090896a2f520b3a6194a4966668612a2ffca7bf96", "categorized_nodes": 7}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef COb...
3,931
c
/** * @copyright Copyright (c) 2015 <NAME> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, m...
23.34
301
(translation_unit) "/** \n * @copyright Copyright (c) 2015 <NAME> \n * \n * Permission is hereby granted, free of charge, to any person obtaining a copy \n * of this software and associated documentation files (the "Software"), to deal \n * in the Software without restriction, including without limitation the rights \n...
2,132
0
{"language": "c", "success": true, "metadata": {"lines": 301, "avg_line_length": 23.34, "nodes": 1326, "errors": 0, "source_hash": "be58bf72d57043e61fdcc4b034de60616f37a86cefca6afa84830bbcac6557d8", "categorized_nodes": 959}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#i...
3,932
c
#ifndef __GS_BUF_H__ #define __GS_BUF_H__ 1 typedef struct { void *data; size_t sz_total; size_t sz_used; size_t sz_max_add; } GS_BUF; void GS_BUF_init(GS_BUF *gsb, size_t sz_min_free); void GS_BUF_free(GS_BUF *gsb); int GS_BUF_resize(GS_BUF *gsb, size_t sz_new); int GS_BUF_add_length(GS_BUF *gsb, size_t len); ...
33.58
26
(translation_unit) "#ifndef __GS_BUF_H__\n#define __GS_BUF_H__ 1\n\n\ntypedef struct\n{\n void *data;\n size_t sz_total;\n size_t sz_used;\n\n size_t sz_max_add;\n} GS_BUF;\n\nvoid GS_BUF_init(GS_BUF *gsb, size_t sz_min_free);\nvoid GS_BUF_free(GS_BUF *gsb);\nint GS_BUF_resize(GS_BUF *gsb, size_t sz_new);\nint GS_BUF_a...
244
0
{"language": "c", "success": true, "metadata": {"lines": 26, "avg_line_length": 33.58, "nodes": 182, "errors": 0, "source_hash": "ffa9aef1823bf7a6ba2a64931e843a871922102dba98f00cc99ec8713e709033", "categorized_nodes": 104}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
3,933
c
/* stub to allow libpthread to override */ #include <stdio.h> #include <machine/weakalias.h> void __libc_funlockfile (FILE *fp) { } weak_alias(__libc_funlockfile,funlockfile)
24
7
(translation_unit) "/* stub to allow libpthread to override */\n\n#include <stdio.h>\n#include <machine/weakalias.h>\n\nvoid __libc_funlockfile (FILE *fp)\n{\n}\nweak_alias(__libc_funlockfile,funlockfile)\n" (comment) "/* stub to allow libpthread to override */" (preproc_include) "#include <stdio.h>\n" (#includ...
33
0
{"language": "c", "success": true, "metadata": {"lines": 7, "avg_line_length": 24.0, "nodes": 21, "errors": 0, "source_hash": "6de77551f41329b1713e39098aac0d5e76e96c215d67cb11eb1ec037b074098d", "categorized_nodes": 16}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#include...
3,934
c
#pragma once #include "HooksManager.h" namespace MyHooks { bool __fastcall MyCreateMoveHook(void* ecx, void* edx, int FrameTime, CUserCmd* UCMD); }
23.83
6
(translation_unit) "#pragma once\n#include "HooksManager.h"\n\nnamespace MyHooks\n{\n bool __fastcall MyCreateMoveHook(void* ecx, void* edx, int FrameTime, CUserCmd* UCMD);\n}" (preproc_call) "#pragma once\n" (preproc_directive) "#pragma" (preproc_arg) "once" (preproc_include) "#include "HooksManager.h"\n" ...
47
0
{"language": "c", "success": true, "metadata": {"lines": 6, "avg_line_length": 23.83, "nodes": 34, "errors": 0, "source_hash": "aed4cf09ae34422cba284af51ae6ffbc54ceb0ff536b234c33a406f3e3530390", "categorized_nodes": 21}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma on...
3,935
c
#ifndef __ASYNC_POLLER_H__ #define __ASYNC_POLLER_H__ #include <arpa/inet.h> #include <myepoll.h> #include "list.h" #define EPOLL_DATA_SLOT(x) ((x)->data.u64 & 0xFFFFFFFF) #define EPOLL_DATA_SEQ(x) ((x)->data.u64 >> 32) enum TPollerState { POLLER_FAIL = -1, POLLER_SUCC, POLLER_COMPLETE...
20.34
115
(translation_unit) "#ifndef __ASYNC_POLLER_H__ \n#define __ASYNC_POLLER_H__ \n \n#include <arpa/inet.h> \n#include <myepoll.h> \n#include "list.h" \n \n#define EPOLL_DATA_SLOT(x) ((x)->data.u64 & 0xFFFFFFFF) \n#define EPOLL_DATA_SEQ(x) ((x)->data.u64 >> 32) \n \n \nenum TPollerState { \n POLLER_FAIL = -1, \n ...
644
9
{"language": "c", "success": true, "metadata": {"lines": 115, "avg_line_length": 20.34, "nodes": 436, "errors": 0, "source_hash": "8012ba744a68c32ae4bb1170462d19a6a103d2aed7ffe8a112fa825a401f18d4", "categorized_nodes": 283}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
3,936
c
/* * MIT License * * Copyright (c) 2020 FredericDT <<EMAIL>> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, c...
32.84
216
(translation_unit) "/*\n * MIT License\n *\n * Copyright (c) 2020 FredericDT <<EMAIL>>\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the "Software"), to deal\n * in the Software without restriction, including without limitat...
1,269
0
{"language": "c", "success": true, "metadata": {"lines": 216, "avg_line_length": 32.84, "nodes": 747, "errors": 0, "source_hash": "ffad47bcf261b9c7a939a16e0c014aa45be9db2017b67b62140ea93ebed71437", "categorized_nodes": 499}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_def", "text": "#define...
3,937
c
#include "../include/keyboardDriver.h" #include "../include/video_driver.h" #include "../include/registers.h" #include "../include/keyboard.h" #define BUFFER_LENGTH 150 static void write_key(uint64_t *rsp); static int isLetter(int code); const char scancodes[58][2]= { {0,0},{0,0},{'1','!'},{'...
28.88
114
(translation_unit) "#include "../include/keyboardDriver.h"\n#include "../include/video_driver.h"\n#include "../include/registers.h"\n#include "../include/keyboard.h"\n\n#define BUFFER_LENGTH 150\n\nstatic void write_key(uint64_t *rsp);\nstatic int isLetter(int code);\n\nconst char scancodes[58][2]=\n { \n ...
1,356
0
{"language": "c", "success": true, "metadata": {"lines": 114, "avg_line_length": 28.88, "nodes": 866, "errors": 0, "source_hash": "9719403430ca2780e2dbb62e261f67aefee276437592f837af21e7ea580aed41", "categorized_nodes": 390}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
3,938
c
#ifndef MATRIX_4_X_4_H #pragma once #define MATRIX_4_X_4_H #include <cstdlib> #include <cstdio> #include <iomanip> #include <iostream> #include <cmath> #include <vector> #include "math-helpers.h" #include "vec3.h" template<typename T> class Matrix4x4 { public: T matrix[4][4] = { {zero,zero,zero,zero}, {ze...
27.62
207
(translation_unit) "#ifndef MATRIX_4_X_4_H\n#pragma once\n#define MATRIX_4_X_4_H\n\n#include <cstdlib> \n#include <cstdio> \n\n#include <iomanip>\n#include <iostream>\n#include <cmath>\n\n#include <vector>\n\n#include "math-helpers.h"\n#include "vec3.h"\n\ntemplate<typename T>\nclass Matrix4x4\n{\npublic:\n T matrix[4]...
3,331
19
{"language": "c", "success": true, "metadata": {"lines": 207, "avg_line_length": 27.62, "nodes": 2092, "errors": 0, "source_hash": "7aef4f2a6913917058d8be1991f4004f6e53b6e19cda52a50dffdd470caf0cc6", "categorized_nodes": 1618}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#if...
3,939
c
#ifndef SRC_STORE_H_ #define SRC_STORE_H_ #include <stdlib.h> #include <stdio.h> #include <string.h> #include "hashmap.h" map_t store; void store_init(); int store_put(char* key, char* value); int store_get(char* key, char args[]); int store_remove(char* key); int store_length(); #endif /* SRC_STORE_H_ */
21
14
(translation_unit) "#ifndef SRC_STORE_H_\n#define SRC_STORE_H_\n\n#include <stdlib.h>\n#include <stdio.h>\n#include <string.h>\n#include "hashmap.h"\n\nmap_t store;\n\nvoid store_init();\nint store_put(char* key, char* value);\nint store_get(char* key, char args[]);\nint store_remove(char* key);\nint store_length();\n\...
96
0
{"language": "c", "success": true, "metadata": {"lines": 14, "avg_line_length": 21.0, "nodes": 71, "errors": 0, "source_hash": "0d959214313daca31a4731b80ba37a7c7c5ccdf11c3a0086005334f89ded7cc2", "categorized_nodes": 45}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef S...
3,940
c
/* Generated by RuntimeBrowser Image: /System/Library/PrivateFrameworks/FrontBoard.framework/FrontBoard */ @interface FBWorkspaceConnectionListener : NSObject <BSXPCConnectionListenerHandler> { NSObject<OS_dispatch_queue> * _connectionDispatcherQueue; } @property (readonly, copy) NSString *debugDescription; @...
37.07
15
(translation_unit) "/* Generated by RuntimeBrowser\n Image: /System/Library/PrivateFrameworks/FrontBoard.framework/FrontBoard\n */\n\n@interface FBWorkspaceConnectionListener : NSObject <BSXPCConnectionListenerHandler> {\n NSObject<OS_dispatch_queue> * _connectionDispatcherQueue;\n}\n\n@property (readonly, copy) N...
145
16
{"language": "c", "success": true, "metadata": {"lines": 15, "avg_line_length": 37.07, "nodes": 99, "errors": 0, "source_hash": "56cb596daeda6c0d3081fa290ecc57ff27f8dde9e772e2877791c2674ac86bab", "categorized_nodes": 59}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "@interface FBWor...
3,941
c
// // QBViewController.h // QBBannerScrollerView // // Created by <EMAIL> on 09/02/2020. // Copyright (c) 2020 <EMAIL>. All rights reserved. // @import UIKit; @interface QBViewController : UIViewController @end
20.5
10
(translation_unit) "//\n// QBViewController.h\n// QBBannerScrollerView\n//\n// Created by <EMAIL> on 09/02/2020.\n// Copyright (c) 2020 <EMAIL>. All rights reserved.\n//\n\n@import UIKit;\n\n@interface QBViewController : UIViewController\n\n@end\n" (comment) "//" (comment) "// QBViewController.h" (comment) "...
22
5
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 20.5, "nodes": 10, "errors": 0, "source_hash": "3c03b6c02684a5652217a463d616c9f67c55722dece6cf249210af1c2866dcc1", "categorized_nodes": 5}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "@", "parent": null...
3,942
c
#ifdef __OBJC__ #import <Cocoa/Cocoa.h> #else #ifndef FOUNDATION_EXPORT #if defined(__cplusplus) #define FOUNDATION_EXPORT extern "C" #else #define FOUNDATION_EXPORT extern #endif #endif #endif FOUNDATION_EXPORT double Pods_SnoozeVersionNumber; FOUNDATION_EXPORT const unsigned char Pods_SnoozeVersionString[];
21.29
14
(translation_unit) "#ifdef __OBJC__\n#import <Cocoa/Cocoa.h>\n#else\n#ifndef FOUNDATION_EXPORT\n#if defined(__cplusplus)\n#define FOUNDATION_EXPORT extern "C"\n#else\n#define FOUNDATION_EXPORT extern\n#endif\n#endif\n#endif\n\n\nFOUNDATION_EXPORT double Pods_SnoozeVersionNumber;\nFOUNDATION_EXPORT const unsigned char P...
52
1
{"language": "c", "success": true, "metadata": {"lines": 14, "avg_line_length": 21.29, "nodes": 42, "errors": 0, "source_hash": "70789dcb61a95a67144253c47d6d79325bd8eca90c66f80806fb8bad42259342", "categorized_nodes": 24}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifdef _...
3,943
c
#ifndef _LOS_BSP_KEY_H #define _LOS_BSP_KEY_H #ifdef LOS_NUC472H #define PIN_KEY1 (PH) #define BIT_KEY1 (BIT12) #define KEY1_STATE (PH12) #endif #define LOS_KEY_PRESS 0 #define USER_KEY 0 #define LOS_GPIO_ERR 0xFF; extern void LOS_EvbKeyInit(void); unsigned int LOS_EvbGetKeyVal(i...
24.62
13
(translation_unit) "#ifndef _LOS_BSP_KEY_H\n#define _LOS_BSP_KEY_H\n\n#ifdef LOS_NUC472H\n #define PIN_KEY1 (PH)\n #define BIT_KEY1 (BIT12)\n #define KEY1_STATE (PH12)\n#endif\n\n#define LOS_KEY_PRESS 0\n\n#define USER_KEY 0\n\n#define LOS_GPIO_ERR 0xFF;\n\nextern void LOS_EvbKeyInit(void...
61
0
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 24.62, "nodes": 54, "errors": 0, "source_hash": "d2ba41633eba73e93fcf8464564497f96fab541082b7246804cdd8fc0b6960a0", "categorized_nodes": 26}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
3,944
c
#include <limits.h> int main(void){ INT_MAX << 2; }
12.25
4
(translation_unit) "#include <limits.h>\n\nint main(void){\n INT_MAX << 2;\n}\n\n" (preproc_include) "#include <limits.h>\n" (#include) "#include" (system_lib_string) "<limits.h>" (function_definition) "int main(void){\n INT_MAX << 2;\n}" (primitive_type) "int" (function_declarator) "main(void)" ...
22
0
{"language": "c", "success": true, "metadata": {"lines": 4, "avg_line_length": 12.25, "nodes": 14, "errors": 0, "source_hash": "f1fa01c91c5f24a4f7a5b3d77eef3c74c67b1000eef5a0a7da607b84596684e0", "categorized_nodes": 10}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#includ...
3,945
c
//<NAME> 150101033 #include <stdio.h> #include <stdlib.h> // Global counter variable int count=0; //randomizing array function void randomizeArray(int arr[], int arraysize){ int i; //assigning random values to the array and putting a limit of 1000 for(i=0;i<arraysize;i++){ arr[i]=r...
23.62
84
(translation_unit) "//<NAME> 150101033 \n#include <stdio.h> \n#include <stdlib.h> \n// Global counter variable \nint count=0; \n \n//randomizing array function \nvoid randomizeArray(int arr[], int arraysize){ \n \n int i; \n //assigning random values to the array and putting a limit of 1000 \n for(i=0;i<ar...
622
0
{"language": "c", "success": true, "metadata": {"lines": 84, "avg_line_length": 23.62, "nodes": 362, "errors": 0, "source_hash": "3267989faf5bc9a81762025d5abb742a242a7a5409f6ffb2a6fdc96f7db3b39d", "categorized_nodes": 260}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
3,946
c
/* Generated by RuntimeBrowser. */ @protocol DSTextFileEnumeratorControl @required - (void)end; - (void)skipWithLines:(long long)arg1; @end
19.14
7
(translation_unit) "/* Generated by RuntimeBrowser.\n */\n\n@protocol DSTextFileEnumeratorControl\n\n@required\n\n- (void)end;\n- (void)skipWithLines:(long long)arg1;\n\n@end\n" (comment) "/* Generated by RuntimeBrowser.\n */" (ERROR) "@protocol DSTextFileEnumeratorControl\n\n@required\n\n- (void)end;\n- (void)skip...
40
7
{"language": "c", "success": true, "metadata": {"lines": 7, "avg_line_length": 19.14, "nodes": 25, "errors": 0, "source_hash": "9e72cceb711e986d8dddc52aa5babd283354a0ee9493bf31ed0a6274573c60e3", "categorized_nodes": 11}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "@protocol DSTextF...
3,947
c
/* * Copyright (C) 2010 <NAME> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distr...
30.17
127
(translation_unit) "/*\n * Copyright (C) 2010 <NAME>\n *\n * This program is free software; you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation; either version 2 of the License, or\n * (at your option) any later version.\n ...
903
0
{"language": "c", "success": true, "metadata": {"lines": 127, "avg_line_length": 30.17, "nodes": 518, "errors": 0, "source_hash": "39c436363d307fbba8608bb4a8575d0ccf9b458af5086101d2458dc18918f947", "categorized_nodes": 412}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
3,948
c
#include <stdio.h> int main(){ int x, y; while(1){ scanf("%d %d", &x, &y); if(x == 0 || y == 0){ break; } if(x > 0 && y > 0) printf("primeiro\n"); if(x < 0 && y > 0) printf("segundo\n"); if(x < 0 && y < 0) printf("terceiro\n"); if(x > 0 && y < 0) ...
13.12
26
(translation_unit) "#include <stdio.h>\n\nint main(){\n \n int x, y;\n \n while(1){\n scanf("%d %d", &x, &y);\n if(x == 0 || y == 0){\n break;\n }\n \n if(x > 0 && y > 0)\n printf("primeiro\n");\n \n if(x < 0 && y > 0)\n printf("segundo\n");\n \n if(x < 0 && y < 0)\n printf("terce...
178
0
{"language": "c", "success": true, "metadata": {"lines": 26, "avg_line_length": 13.12, "nodes": 105, "errors": 0, "source_hash": "432ab18b84dd88834704af23bacdb3fa618ee89cac1aa9bfbde277efb934dec5", "categorized_nodes": 76}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
3,949
c
// // YSUserCenterViewController.h // PXH // // Created by 刘鹏程 on 2017/11/8. // Copyright © 2017年 yu. All rights reserved. // #import "YSBaseScrollViewController.h" @interface YSUserCenterViewController : YSBaseViewController // 0 为默认我的页面进 1为商品详情入口 @property (nonatomic, assign)NSInteger type; @end
24.33
12
(translation_unit) "//\n// YSUserCenterViewController.h\n// PXH\n//\n// Created by 刘鹏程 on 2017/11/8.\n// Copyright © 2017年 yu. All rights reserved.\n//\n\n#import "YSBaseScrollViewController.h"\n\n@interface YSUserCenterViewController : YSBaseViewController\n\n// 0 为默认我的页面进 1为商品详情入口\n@property (nonatomic, assign)N...
35
6
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 24.33, "nodes": 21, "errors": 0, "source_hash": "8adca7eed45724f824d4450f9fe6487ec38f5d4666ed152759ae97f2ccfbb9d8", "categorized_nodes": 12}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "YSBaseScr...
3,950
c
#include "barrier.h" #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/stat.h> #include <unistd.h> #include "dipc.h" union semun { int val; /* value for SETVAL */ struct semid_ds *buf; /* buffer for IPC_STAT & IPC_SET */ unsigned short *array; /* array for GETALL & ...
27.55
55
(translation_unit) "#include "barrier.h"\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include <sys/stat.h>\n#include <unistd.h>\n#include "dipc.h"\n\nunion semun {\n int val; /* value for SETVAL */\n struct semid_ds *buf; /* buffer for IPC_STAT & IPC_SET */\n unsigned short ...
451
0
{"language": "c", "success": true, "metadata": {"lines": 55, "avg_line_length": 27.55, "nodes": 266, "errors": 0, "source_hash": "27b0230cd9650494fc94c749490854add9d3df8b4cff72e12d33b7154f15d63f", "categorized_nodes": 205}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
3,951
c
// Created by <NAME> @2016-2-16 #include <iostream> #include <string> using namespace std; class HealthProfile { public: HealthProfile(string, string, string, int, int, int, int, int); void setFirstname(string); string getFirstname(); void setLastname(string); string getLastname(); void setGen...
26.66
44
(translation_unit) "// Created by <NAME> @2016-2-16\n\n#include <iostream>\n#include <string>\nusing namespace std;\n\nclass HealthProfile\n{\npublic:\n HealthProfile(string, string, string, int, int, int, int, int);\n void setFirstname(string);\n string getFirstname();\n void setLastname(string);\n stri...
291
1
{"language": "c", "success": true, "metadata": {"lines": 44, "avg_line_length": 26.66, "nodes": 181, "errors": 0, "source_hash": "3c42a412cf7f179f45f73d36c08c5890dee000416bc4bc00bffc09751adc24df", "categorized_nodes": 125}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
3,952
c
#pragma once #include <trtlab/memory/descriptor.h> #include <trtlab/core/utils.h> #include "NvInfer.h" #include "trtlab/tensorrt/model.h" #include "trtlab/tensorrt/common.h" namespace trtlab { namespace TensorRT { class ExecutionContext { public: using model_t = std::sha...
32.2
41
(translation_unit) "#pragma once\n\n#include <trtlab/memory/descriptor.h>\n#include <trtlab/core/utils.h>\n\n#include "NvInfer.h"\n#include "trtlab/tensorrt/model.h"\n#include "trtlab/tensorrt/common.h"\n\nnamespace trtlab\n{\n namespace TensorRT\n {\n class ExecutionContext\n {\n public:\n ...
279
16
{"language": "c", "success": true, "metadata": {"lines": 41, "avg_line_length": 32.2, "nodes": 155, "errors": 0, "source_hash": "c0be95a514a8e86b1e92f96cae78a4b2e192234d18a103852464c3d286463124", "categorized_nodes": 109}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma ...
3,953
c
// // Generated by class-dump 3.5 (64 bit) (Debug version compiled Mar 22 2020 01:47:48). // // Copyright (C) 1997-2019 <NAME>. // #import <objc/NSObject.h> #import <SpringBoardHome/SBIconListLayoutProvider-Protocol.h> @class NSMutableDictionary; @protocol SBIconListLayoutProvider; @interface SBHMappedIconList...
39.55
20
(translation_unit) "//\n// Generated by class-dump 3.5 (64 bit) (Debug version compiled Mar 22 2020 01:47:48).\n//\n// Copyright (C) 1997-2019 <NAME>.\n//\n\n#import <objc/NSObject.h>\n\n#import <SpringBoardHome/SBIconListLayoutProvider-Protocol.h>\n\n@class NSMutableDictionary;\n@protocol SBIconListLayoutProvider...
135
16
{"language": "c", "success": true, "metadata": {"lines": 20, "avg_line_length": 39.55, "nodes": 86, "errors": 0, "source_hash": "0a44c4125ee153f44c8907663bbdb4b271d584d5a954065eaa4aafcfbcf03d3e", "categorized_nodes": 50}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <...
3,954
c
// // Location.h // Grocery Dude // // Created by Gerry on 7/19/16. // Copyright © 2016 <NAME>. All rights reserved. // #import <Foundation/Foundation.h> #import <CoreData/CoreData.h> NS_ASSUME_NONNULL_BEGIN @interface Location : NSManagedObject // Insert code here to declare functionality of your managed objec...
25.27
15
(translation_unit) "//\n// Location.h\n// Grocery Dude\n//\n// Created by Gerry on 7/19/16.\n// Copyright © 2016 <NAME>. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n#import <CoreData/CoreData.h>\n\nNS_ASSUME_NONNULL_BEGIN\n\n@interface Location : NSManagedObject\n\n// Insert code here to declare ...
32
5
{"language": "c", "success": true, "metadata": {"lines": 15, "avg_line_length": 25.27, "nodes": 18, "errors": 0, "source_hash": "75213795e6b1e7c50741272ee76f1d1fcf03b403a6cb80a4f0e264294bf1dcde", "categorized_nodes": 10}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <F...
3,955
c
#pragma once #include <iostream> #include <SFML/Graphics.hpp> #include <memory> class Shawarma { private: //Shape sf::CircleShape shape; public: //Constructors Shawarma(sf::Texture* texture, sf::Vector2f map_size); //Accesors const sf::FloatRect getGlobal() const; //Functions void render(sf::RenderTarget...
16.42
19
(translation_unit) "#pragma once\n\n#include <iostream>\n#include <SFML/Graphics.hpp>\n#include <memory>\n\n\nclass Shawarma\n{\nprivate:\n //Shape\n sf::CircleShape shape;\n\npublic:\n //Constructors \n Shawarma(sf::Texture* texture, sf::Vector2f map_size);\n \n //Accesors\n const sf::FloatRect getGlobal() const;\n //...
95
7
{"language": "c", "success": true, "metadata": {"lines": 19, "avg_line_length": 16.42, "nodes": 51, "errors": 0, "source_hash": "b3bb8df8ee9129c1f7b87696fd94d7b950466a1d2153ef01d910a0ba6c360de0", "categorized_nodes": 35}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
3,956
c
/* * Copyright 2014 Canonical Ltd. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; version 3. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARR...
24.75
118
(translation_unit) "/*\n * Copyright 2014 Canonical Ltd.\n *\n * This program is free software; you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation; version 3.\n *\n * This program is distributed in the hope that it will be usef...
578
25
{"language": "c", "success": true, "metadata": {"lines": 118, "avg_line_length": 24.75, "nodes": 322, "errors": 0, "source_hash": "ba542efd2a0186d25c9ed56c08983f270a83ed25ffb29e071f5ced0edf6b292f", "categorized_nodes": 240}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
3,957
c
// // KNVerificationCode.h // XDFAHS-test // // Created by LuKane on 16/2/15. // Copyright © 2016年 XDF. All rights reserved. // #import <UIKit/UIKit.h> @interface KNVerificationCode : UIView @property (nonatomic, strong) NSArray *changeArr; // 字符串素材数组 @property (nonatomic, strong) NSMutableString *changeStr; // ...
19.91
23
(translation_unit) "//\n// KNVerificationCode.h\n// XDFAHS-test\n//\n// Created by LuKane on 16/2/15.\n// Copyright © 2016年 XDF. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface KNVerificationCode : UIView\n\n@property (nonatomic, strong) NSArray *changeArr; // 字符串素材数组\n@property (nonatomic, strong...
86
11
{"language": "c", "success": true, "metadata": {"lines": 23, "avg_line_length": 19.91, "nodes": 52, "errors": 0, "source_hash": "c334edf4d69e91135d8ec3a31863a23957c1b1e720544170d1968187705ad13e", "categorized_nodes": 27}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "port <UIK...
3,958
c
/* Copyright 2018 <NAME> */ #pragma once #include <memory> #include "lib_utils.h" #include "plugin.h" #include "server_config.h" namespace webserver { namespace utils { namespace detail { using std::make_shared; using std::shared_ptr; using std::static_pointer_cast; using webserver::ServerConfig; using webserver::plu...
39.77
30
(translation_unit) "/*\nCopyright 2018 <NAME>\n*/\n\n#pragma once\n#include <memory>\n#include "lib_utils.h"\n#include "plugin.h"\n#include "server_config.h"\n\nnamespace webserver {\nnamespace utils {\nnamespace detail {\nusing std::make_shared;\nusing std::shared_ptr;\nusing std::static_pointer_cast;\nusing webserver...
134
7
{"language": "c", "success": true, "metadata": {"lines": 30, "avg_line_length": 39.77, "nodes": 72, "errors": 0, "source_hash": "e00668ae8681681b4d65903f20d324d1e77ef2479ec4149cbcd15189593a55d1", "categorized_nodes": 57}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
3,959
c
#include "precision.h" #include "mparith_c.h" #if defined(FLOAT) #define FUNC_FINITE alm_mp_finitef #define FUNC_FINITE_ULP alm_mp_finitef_ULP #elif defined(DOUBLE) #define FUNC_FINITE alm_mp_finite #define FUNC_FINITE_ULP alm_mp_finite_ULP #else #error #endif int FUNC_FINITE(REAL x) { fp_params params; int b...
22.93
45
(translation_unit) "#include "precision.h"\n#include "mparith_c.h"\n\n#if defined(FLOAT)\n#define FUNC_FINITE alm_mp_finitef\n#define FUNC_FINITE_ULP alm_mp_finitef_ULP\n#elif defined(DOUBLE)\n#define FUNC_FINITE alm_mp_finite\n#define FUNC_FINITE_ULP alm_mp_finite_ULP\n#else\n#error\n#endif\n\nint FUNC_FINITE(REAL x)\...
364
0
{"language": "c", "success": true, "metadata": {"lines": 45, "avg_line_length": 22.93, "nodes": 228, "errors": 0, "source_hash": "132aa0bbb885cf0f9b87fd86c2e412f86f01123b83fffbe2b32c6db8b74ed49f", "categorized_nodes": 161}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
3,960
c
#ifndef SCOPED_PTR_H_ #define SCOPED_PTR_H_ template<typename T> class scoped_ptr { public: explicit scoped_ptr(T* p) : p_(p) { } ~scoped_ptr() { delete p_; } T* operator->() const { return p_; } private: T* p_; }; #endif // SCOPED_PTR_H_
19.83
12
(translation_unit) "#ifndef SCOPED_PTR_H_\n#define SCOPED_PTR_H_\n\ntemplate<typename T>\nclass scoped_ptr {\n public:\n explicit scoped_ptr(T* p) : p_(p) { }\n ~scoped_ptr() { delete p_; }\n\n T* operator->() const { return p_; }\n\n private:\n T* p_;\n};\n\n#endif // SCOPED_PTR_H_\n" (preproc_ifdef) "#ifndef S...
96
5
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 19.83, "nodes": 56, "errors": 0, "source_hash": "5efdbaf15a46ab161843b8c4a60bd272e30dc0da8fb5560dbddf26004f59e8e0", "categorized_nodes": 36}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
3,961
c
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by <NAME>. // #import "_MSStyleBasicFill.h" @interface MSStyleBasicFill : _MSStyleBasicFill { } + (id)defaultFillColor; + (void)drawNoiseFill:(id)arg1 inRect:(struct CGRect)arg2 context:(struct CGCon...
41.26
19
(translation_unit) "//\n// Generated by class-dump 3.5 (64 bit).\n//\n// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by <NAME>.\n//\n\n#import "_MSStyleBasicFill.h"\n\n@interface MSStyleBasicFill : _MSStyleBasicFill\n{\n}\n\n+ (id)defaultFillColor;\n+ (void)drawNoiseFill:(id)arg1 inRect:(struct ...
262
19
{"language": "c", "success": true, "metadata": {"lines": 19, "avg_line_length": 41.26, "nodes": 155, "errors": 0, "source_hash": "8ac7caea8a0cb29d75c5cfffbe9e1f10d574d1297153e6b2075793e93e032ca1", "categorized_nodes": 104}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import...
3,962
c
#pragma once #include <string> #include "BF/Math/Math.h" #include "BF/Graphics/Fonts/Character.h" #include "BF/Graphics/API/Texture2D.h" #include "BF/IO/Resource.h" #include "BF/Graphics/Fonts/Character.h" #include "BF/Common.h" namespace BF { namespace Graphics { namespace Renderers { class SpriteRenderer; ...
23.31
39
(translation_unit) "#pragma once\n#include <string>\n#include "BF/Math/Math.h"\n#include "BF/Graphics/Fonts/Character.h"\n#include "BF/Graphics/API/Texture2D.h"\n#include "BF/IO/Resource.h"\n#include "BF/Graphics/Fonts/Character.h"\n#include "BF/Common.h"\n\nnamespace BF\n{\n namespace Graphics\n {\n namespace Rendere...
263
17
{"language": "c", "success": true, "metadata": {"lines": 39, "avg_line_length": 23.31, "nodes": 141, "errors": 0, "source_hash": "6e9e130cadc528399240b9b153863fa00cbae74654390377acb968ea151abc46", "categorized_nodes": 101}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
3,963
c
// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef IOS_WEB_PUBLIC_WEB_VIEW_COUNTER_H_ #define IOS_WEB_PUBLIC_WEB_VIEW_COUNTER_H_ #include <stddef.h> #include "base/macros.h" namespace web { cla...
36.78
27
(translation_unit) "// Copyright 2015 The Chromium Authors. All rights reserved.\n// Use of this source code is governed by a BSD-style license that can be\n// found in the LICENSE file.\n\n#ifndef IOS_WEB_PUBLIC_WEB_VIEW_COUNTER_H_\n#define IOS_WEB_PUBLIC_WEB_VIEW_COUNTER_H_\n\n#include <stddef.h>\n\n#include "base/ma...
124
4
{"language": "c", "success": true, "metadata": {"lines": 27, "avg_line_length": 36.78, "nodes": 63, "errors": 0, "source_hash": "7b6cbeacab78c83396fc77e63441e45ff8f0d82b410086db8486f6c66757bb16", "categorized_nodes": 42}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
3,964
c
//============================================================================= // profmapp.h - Header file for user remap API. // // Copyright (c) Microsoft Corporation 1995-1999 // All rights reserved // //============================================================================= //===============...
24.36
99
(translation_unit) "//============================================================================= \n// profmapp.h - Header file for user remap API. \n// \n// Copyright (c) Microsoft Corporation 1995-1999 \n// All rights reserved \n// \n//==========================================================================...
201
1
{"language": "c", "success": true, "metadata": {"lines": 99, "avg_line_length": 24.36, "nodes": 129, "errors": 0, "source_hash": "42450a4184aa3a7ee0a00b0ae14552accf88d61b06a20cda8be92ddda8d43a8b", "categorized_nodes": 98}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_def", "text": "#define R...
3,965
c
/* OpenVAS * $Id$ * Description: Header file for module pcap. * * Authors: * <NAME> <<EMAIL>> (Original pre-fork development) * * Copyright: * Based on work Copyright (C) 1998 - 2007 Tenable Network Security, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms o...
35.54
39
(translation_unit) "/* OpenVAS\n * $Id$\n * Description: Header file for module pcap.\n *\n * Authors:\n * <NAME> <<EMAIL>> (Original pre-fork development)\n *\n * Copyright:\n * Based on work Copyright (C) 1998 - 2007 Tenable Network Security, Inc.\n *\n * This library is free software; you can redistribute it and/or\...
141
0
{"language": "c", "success": true, "metadata": {"lines": 39, "avg_line_length": 35.54, "nodes": 115, "errors": 0, "source_hash": "cf95d0610f50830e919dbb1403a040418670bd6606241f602a70676320fce608", "categorized_nodes": 76}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
3,966
c
/*========================================================================= Copyright 2009 Rensselaer Polytechnic Institute 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/lice...
31.48
71
(translation_unit) "/*=========================================================================\nCopyright 2009 Rensselaer Polytechnic Institute\nLicensed under the Apache License, Version 2.0 (the "License");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n...
393
14
{"language": "c", "success": true, "metadata": {"lines": 71, "avg_line_length": 31.48, "nodes": 285, "errors": 0, "source_hash": "6a67f7211304382b6efa8595a0e1a1238180aa42b22b029f49c409336b81327b", "categorized_nodes": 191}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
3,967
c
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. #include "pal_ecdsa.h" #include "pal_utilities.h" int32_t CryptoNative_EcDsaSign(const uint8_t* dgst, int32_t dgstlen, uint8_t* sig, int32_t* siglen, EC_KEY* key) { ERR_clear_er...
30.14
28
(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\n#include "pal_ecdsa.h"\n#include "pal_utilities.h"\n\nint32_t\nCryptoNative_EcDsaSign(const uint8_t* dgst, int32_t dgstlen, uint8_t* sig, int32_t* siglen, EC_K...
218
0
{"language": "c", "success": true, "metadata": {"lines": 28, "avg_line_length": 30.14, "nodes": 132, "errors": 0, "source_hash": "045d6b0f24f42b16e969d888c6d206304fc802b5df788d4fc120d77ede7dd82d", "categorized_nodes": 86}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
3,968
c
#include "ZoneDef.h" #include "ZoneError.h" #include "LobbyDataStore.h" #include "ClientImpl.h" #include "ZoneShell.h" #include "EventQueue.h" #include "Queue.h" #include "MillNetworkCore.h" #include "Conduit.h" #include "proxymsg.h" #include "zgameinfo.h" class ATL_NO_VTABLE CMillNetworkCore : publ...
23.04
133
(translation_unit) "#include "ZoneDef.h" \n#include "ZoneError.h" \n#include "LobbyDataStore.h" \n#include "ClientImpl.h" \n#include "ZoneShell.h" \n#include "EventQueue.h" \n#include "Queue.h" \n#include "MillNetworkCore.h" \n#include "Conduit.h" \n#include "proxymsg.h" \n#include "zgameinfo.h" \n \n \nclass ATL_NO_VT...
691
15
{"language": "c", "success": true, "metadata": {"lines": 133, "avg_line_length": 23.04, "nodes": 443, "errors": 0, "source_hash": "908eb57dd25485f73223aa073517fcd0eb1aa9725ba2db1d889e155787eff8e5", "categorized_nodes": 322}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
3,969
c
//===--- TextAPIWriter.h - Text API Writer ----------------------*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
33.05
22
(translation_unit) "//===--- TextAPIWriter.h - Text API Writer ----------------------*- C++ -*-===//\n//\n// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.\n// See https://llvm.org/LICENSE.txt for license information.\n// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception\n//\n//===-...
85
2
{"language": "c", "success": true, "metadata": {"lines": 22, "avg_line_length": 33.05, "nodes": 37, "errors": 0, "source_hash": "f983a79bfea27d29323c4d02b644670a9d79d7b0d9fb725565807f51769025ec", "categorized_nodes": 31}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
3,970
c
#include <stdio.h> int main(void) { int i = 0; int n = 0; int start = i; int longest = 0; long long test = i; for (; i<=1000000; i++){ test = i; while (test>2){ if (test%2==0) test/=2; else test=((test*3)+1)/2; n++; } if (n>longest){ longest = n; start = i; printf("%i produces a ...
15.79
24
(translation_unit) "#include <stdio.h> \n \nint main(void) { \n int i = 0; \n int n = 0; \n int start = i; \n int longest = 0; \n long long test = i; \nfor (; i<=1000000; i++){ \n test = i; \n while (test>2){ \n if (test%2==0) test/=2; \n else test=((test*3)+1)/2; \n n++; \n } \n if (n>longest){ \n longest = n; \n ...
183
0
{"language": "c", "success": true, "metadata": {"lines": 24, "avg_line_length": 15.79, "nodes": 119, "errors": 0, "source_hash": "f8a928812d8561ecf01f301400244bac588065320e9f9a7448595be2d14c82f8", "categorized_nodes": 81}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
3,971
c
// WARNING: You are not adviced to change this manually // Please run AutoControllerHelper tool!!! uint8_t m_type = 3; bool m_fastMode = false;
35
4
(translation_unit) "// WARNING: You are not adviced to change this manually\n// Please run AutoControllerHelper tool!!!\n\nuint8_t m_type = 3;\nbool m_fastMode = false;\n" (comment) "// WARNING: You are not adviced to change this manually" (comment) "// Please run AutoControllerHelper tool!!!" (declaration) "uint...
17
0
{"language": "c", "success": true, "metadata": {"lines": 4, "avg_line_length": 35.0, "nodes": 12, "errors": 0, "source_hash": "245bbbe07652f8c0c359d97c053e472c1672de4d43a96f28d5855d6fd5ff41c1", "categorized_nodes": 5}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "declaration", "text": "uint8_t m_typ...
3,972
c
#define ICE_TEST_IMPL #include <stdio.h> #include "ice_test.h" ICE_TEST_CREATE(equ) { int a = 6; int b = 5; ICE_TEST_ASSERT_NOT_NULL(a); ICE_TEST_ASSERT_NOT_NULL(b); ICE_TEST_ASSERT_INT(a); ICE_TEST_ASSERT_INT(b); ICE_TEST_ASSERT_EQU(a + b, 11); printf("TEST equ RAN SUCCESSFUL...
19.58
19
(translation_unit) "#define ICE_TEST_IMPL\n#include <stdio.h>\n#include "ice_test.h"\n\nICE_TEST_CREATE(equ) {\n int a = 6;\n int b = 5;\n \n ICE_TEST_ASSERT_NOT_NULL(a);\n ICE_TEST_ASSERT_NOT_NULL(b);\n ICE_TEST_ASSERT_INT(a);\n ICE_TEST_ASSERT_INT(b);\n ICE_TEST_ASSERT_EQU(a + b, 11);\n \n ...
125
0
{"language": "c", "success": true, "metadata": {"lines": 19, "avg_line_length": 19.58, "nodes": 74, "errors": 0, "source_hash": "35b084a8fe0275df00c91687c49ad1db771a90cd5bc2037e580f165cfb24daf2", "categorized_nodes": 48}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_def", "text": "#define IC...
3,973
c
#pragma once #include <windows.h> #include <iostream> #include <fstream> #include <WinInet.h> #include "stdafx.h" #include "shit.h" #include "downloaditems.h" #include "base64.h" #include "paste.h" #pragma comment(lib, "wininet.lib") using namespace std;
17.13
15
(translation_unit) "#pragma once \n#include <windows.h> \n#include <iostream> \n#include <fstream> \n#include <WinInet.h> \n \n#include "stdafx.h" \n#include "shit.h" \n#include "downloaditems.h" \n#include "base64.h" \n#include "paste.h" \n \n#pragma comment(lib, "wininet.lib") \n \nusing namespace std;" (preproc_ca...
55
1
{"language": "c", "success": true, "metadata": {"lines": 15, "avg_line_length": 17.13, "nodes": 38, "errors": 0, "source_hash": "c4bd2f0fe3f2c91f6e2493c5d5be2ee417f1934819511255266cce31b8dde3e4", "categorized_nodes": 33}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
3,974
c
/******************************************************************************* * * CLASS_GRID.h: A class for building a 2D lattice for Ising model and basic * functions. * * This program is made freely available with the understanding that every * copy of this file must include this header and that it comes without...
39.1
162
(translation_unit) "/*******************************************************************************\n* \n* CLASS_GRID.h: A class for building a 2D lattice for Ising model and basic\n* functions.\n*\n* This program is made freely available with the understanding that every \n* copy of this file must include this header...
2,054
14
{"language": "c", "success": true, "metadata": {"lines": 162, "avg_line_length": 39.1, "nodes": 1295, "errors": 0, "source_hash": "c86941c4de8b5193fefc67fcbbfb779d15ce2faf75155597ec8387c1f648019c", "categorized_nodes": 939}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
3,975
c
//MIT License // //Copyright (c) 2022 guu1 // //Permission is hereby granted, free of charge, to any person obtaining a copy //of this software and associated documentation files (the "Software"), to deal //in the Software without restriction, including without limitation the rights //to use, copy, modify, merge, publi...
31.31
98
(translation_unit) "//MIT License\n//\n//Copyright (c) 2022 guu1\n//\n//Permission is hereby granted, free of charge, to any person obtaining a copy\n//of this software and associated documentation files (the "Software"), to deal\n//in the Software without restriction, including without limitation the rights\n//to use,...
462
0
{"language": "c", "success": true, "metadata": {"lines": 98, "avg_line_length": 31.31, "nodes": 252, "errors": 0, "source_hash": "36d118aaa389d7ffb365631f330e43d7d402967f4ffa761f679cece937a27b4f", "categorized_nodes": 180}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
3,976
c
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by <NAME>. // #import "NSBezierPath.h" @interface NSBezierPath (AKPlatformGeometryExtensions) + (struct CGPath *)newCGPathWithBezierPath:(id)arg1; + (id)bezierPathWithCGPath:(struct CGPath *)arg1; - (...
34.15
13
(translation_unit) "//\n// Generated by class-dump 3.5 (64 bit).\n//\n// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by <NAME>.\n//\n\n#import "NSBezierPath.h"\n\n@interface NSBezierPath (AKPlatformGeometryExtensions)\n+ (struct CGPath *)newCGPathWithBezierPath:(id)arg1;\n+ (id)bezierPathWithCGP...
113
10
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 34.15, "nodes": 70, "errors": 0, "source_hash": "c7a156cab844d1d519fb12f0e9fbaba811bc921377799f56af77b0201d207343", "categorized_nodes": 42}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import \...
3,977
c
// // JYCustomHudView.h // JYWave // // Created by apple on 2018/6/2. // Copyright © 2018年 apple. All rights reserved. // #import <UIKit/UIKit.h> typedef NS_ENUM(NSUInteger, JYCustomHudViewStlye) { JYCustomHudViewIndicator, JYCustomHudViewAlert, }; @interface JYCustomHudView : UIView - (instancetype)initW...
24.53
15
(translation_unit) "//\n// JYCustomHudView.h\n// JYWave\n//\n// Created by apple on 2018/6/2.\n// Copyright © 2018年 apple. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\ntypedef NS_ENUM(NSUInteger, JYCustomHudViewStlye) {\n JYCustomHudViewIndicator,\n JYCustomHudViewAlert,\n};\n\n@interface JYCustomHudV...
75
7
{"language": "c", "success": true, "metadata": {"lines": 15, "avg_line_length": 24.53, "nodes": 43, "errors": 0, "source_hash": "14ce31afa5721236a9a175ee172f2c9abb7f11406654ab6f9e30e87ec77ec054", "categorized_nodes": 23}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "port <UIK...
3,978
c
// // GangNotifyDefaultTableViewCell.h // Demo // // Created by xd on 2017/12/13. // Copyright © 2017年 qm. All rights reserved. // #import "GangBaseTableViewCell.h" @interface GangNotifyDefaultTableViewCell : GangBaseTableViewCell @end
23
10
(translation_unit) "//\n// GangNotifyDefaultTableViewCell.h\n// Demo\n//\n// Created by xd on 2017/12/13.\n// Copyright © 2017年 qm. All rights reserved.\n//\n\n#import "GangBaseTableViewCell.h"\n\n@interface GangNotifyDefaultTableViewCell : GangBaseTableViewCell\n\n@end\n" (comment) "//" (comment) "// GangNoti...
19
3
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 23.0, "nodes": 10, "errors": 0, "source_hash": "e5f982c917c082f76fadbb0cd0ec34374b0ec23425fda9fe2ac5a0df160fb411", "categorized_nodes": 5}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "port \"Gang...
3,979
c
#include<bits/stdc++.h> using namespace std; #define ROW 9 #define COL 10 // A structure to hold the neccesary parameters struct cell { // Row and Column index of its parent // Note that 0 <= i <= ROW-1 & 0 <= j <= COL-1 int parent_i, parent_j; // f = g + h double f, g, h; }; bool isValid(int row, i...
24.03
63
(translation_unit) "#include<bits/stdc++.h> \nusing namespace std; \n\n#define ROW 9 \n#define COL 10\n\n// A structure to hold the neccesary parameters \nstruct cell \n{ \n // Row and Column index of its parent \n // Note that 0 <= i <= ROW-1 & 0 <= j <= COL-1 \n int parent_i, parent_j; \n // f = g + h \n double f, g,...
456
3
{"language": "c", "success": true, "metadata": {"lines": 63, "avg_line_length": 24.03, "nodes": 274, "errors": 0, "source_hash": "ca104491da4403ac831ae2a0dec363bacb424206cadd44d1f322271e8232e1ed", "categorized_nodes": 198}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
3,980
c
#pragma once #include "stdafx.h" #include "MuBuffer.h" #include "MuGL.h" namespace Muriel { class MURIEL_API IndexBuffer : public Buffer { private: unsigned int* _indices; GraphicsDataType _graphicsDataType; public: /*IndexBuffer(unsigned* data, unsigned numberOfElements);*/ IndexBuffer(voi...
24.67
21
(translation_unit) "#pragma once \n \n#include "stdafx.h" \n#include "MuBuffer.h" \n#include "MuGL.h" \n \nnamespace Muriel \n{ \n class MURIEL_API IndexBuffer : public Buffer \n { \n private: \n unsigned int* _indices; \n GraphicsDataType _graphicsDataType; \n public: \n /*IndexBuffer(unsigned* data, unsigned numbe...
114
7
{"language": "c", "success": true, "metadata": {"lines": 21, "avg_line_length": 24.67, "nodes": 65, "errors": 0, "source_hash": "e6ca0829addba520a734bed16541e09ae2e890c0149ec52ad03301cd7b0446cb", "categorized_nodes": 43}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
3,981
c
#ifndef STRING_UTILS_H #define STRING_UTILS_H #include <string> #include <vector> namespace utils { void ltrim(std::string &s); void rtrim(std::string &s); void trim(std::string &s); const std::vector<std::string> GetTokens(const std::string& state_line, const char& delim); } // utils #endif // STRING_UTILS_H
24.92
12
(translation_unit) "#ifndef STRING_UTILS_H\n#define STRING_UTILS_H\n\n#include <string>\n#include <vector>\n\nnamespace utils\n{\nvoid ltrim(std::string &s);\nvoid rtrim(std::string &s);\nvoid trim(std::string &s);\nconst std::vector<std::string> GetTokens(const std::string& state_line, const char& delim);\n} // utils\...
108
6
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 24.92, "nodes": 65, "errors": 0, "source_hash": "1719519ddf619e7e6a704ce5f639b33c53fbb9288f15e7a7c906840cdbea971c", "categorized_nodes": 48}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
3,982
c
#include <frankenstein/utils.h> #include <frankenstein/hook.h> #include <frankenstein/xmit_state_emu.h> void inqfilter_init(); void inqfilter_registerBdAddr(char *, int); void get_int(); void set_int(); #include <sys/stat.h> #include <fcntl.h> void do_exit() { exit(0); } void *mm_allocACLDown(); void dbfw_asse...
24.79
43
(translation_unit) "#include <frankenstein/utils.h>\n#include <frankenstein/hook.h>\n#include <frankenstein/xmit_state_emu.h>\n\nvoid inqfilter_init();\nvoid inqfilter_registerBdAddr(char *, int);\nvoid get_int();\nvoid set_int();\n\n#include <sys/stat.h>\n#include <fcntl.h>\n\n\n\nvoid do_exit() {\n exit(0); \n}\nvo...
334
1
{"language": "c", "success": true, "metadata": {"lines": 43, "avg_line_length": 24.79, "nodes": 201, "errors": 0, "source_hash": "dee4eb3d20fc6244e2b6e8305c80a9dfc788fa5c97b30a54f50be1b61336df53", "categorized_nodes": 141}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
3,983
c
/************************************************************************** * * Copyright (c) 2002 - 2011 by Computer Architecture Department, * Universitat Politecnica de Catalunya. * All rights reserved. * * The contents of this file may not be disclosed to third parties, * copied or duplicated in any form, in...
31.6
109
(translation_unit) "/**************************************************************************\n *\n * Copyright (c) 2002 - 2011 by Computer Architecture Department,\n * Universitat Politecnica de Catalunya.\n * All rights reserved.\n *\n * The contents of this file may not be disclosed to third parties,\n * copied or...
329
9
{"language": "c", "success": true, "metadata": {"lines": 109, "avg_line_length": 31.6, "nodes": 209, "errors": 0, "source_hash": "eb1f9cd312aed7b31a38fc68aaa77d20d9a06d40edbc8e49d8e16b478e657371", "categorized_nodes": 146}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
3,984
c
#include <stdio.h> #include <stdlib.h> #include <stdbool.h> #include <time.h> #include "http.h" #include "../utils/concurrency.h" #include "../utils/log.h" #include "../utils/map.h" #include "../utils/utils.h" static bool printHeader(char *key, void *val, void *ctx); static bool sendHeader(char *key, void *val, void *...
29.02
256
(translation_unit) "#include <stdio.h>\n#include <stdlib.h>\n#include <stdbool.h>\n#include <time.h>\n#include "http.h"\n#include "../utils/concurrency.h"\n#include "../utils/log.h"\n#include "../utils/map.h"\n#include "../utils/utils.h"\n\nstatic bool printHeader(char *key, void *val, void *ctx);\nstatic bool sendHead...
2,703
0
{"language": "c", "success": true, "metadata": {"lines": 256, "avg_line_length": 29.02, "nodes": 1552, "errors": 0, "source_hash": "2878030a097ba561be4826d22081d53736984867d70e6a04165d29b7817fcb0d", "categorized_nodes": 1078}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#...
3,985
c
#include "common.h" void swap(int *a,int *b) { int tmp; tmp = *a; *a=*b; *b=tmp; }
10.75
8
(translation_unit) "#include "common.h" \nvoid swap(int *a,int *b) \n{ \n int tmp; \n tmp = *a; \n *a=*b; \n *b=tmp; \n} \n" (preproc_include) "#include "common.h" \n" (#include) "#include" (string_literal) ""common.h"" (") """ (string_content) "common.h" (") """ (function_definition) "voi...
58
0
{"language": "c", "success": true, "metadata": {"lines": 8, "avg_line_length": 10.75, "nodes": 41, "errors": 0, "source_hash": "7e0bb45585521ff1c3dd96df3417990c2cd87223249b7335de5453319c33d867", "categorized_nodes": 25}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#includ...
3,986
c
// // UIBarButtonItem+LFMenu.h // LFMenuView // // Created by Mac on 2018/7/4. // Copyright © 2018年 Mac. All rights reserved. // #import <UIKit/UIKit.h> #import "LFMenu.h" @interface UIBarButtonItem (LFMenu) /** NavBarItem Show XYMenu @param imagesArr 图片 @param titles 标题 @param menuType 菜单类型(XYMenuLeftNavBar...
29.5
20
(translation_unit) "//\n// UIBarButtonItem+LFMenu.h\n// LFMenuView\n//\n// Created by Mac on 2018/7/4.\n// Copyright © 2018年 Mac. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n#import "LFMenu.h"\n\n@interface UIBarButtonItem (LFMenu)\n\n/**\n NavBarItem Show XYMenu\n @param imagesArr 图片\n @param titles 标题\n ...
84
10
{"language": "c", "success": true, "metadata": {"lines": 20, "avg_line_length": 29.5, "nodes": 46, "errors": 0, "source_hash": "6788b0f3632e2435569bd5740643cc92ec4ba7b52a116fc778c829fe6c77e130", "categorized_nodes": 27}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "port <UIKi...
3,987
c
#pragma once #include "Node.h" #include "Lexer.h" class Parser { public: Parser(std::vector<Token> tokens); void Advance(); Node* Parse(); Node* Expr(); Node* Term(); Node* Factor(); Node* Atom(); Node* Power(); void Dispose(void* obj); private: std::vector<Token> m_Tokens; int m_CurrentIndex = 0; Toke...
15.41
22
(translation_unit) "#pragma once\n#include "Node.h"\n#include "Lexer.h"\n\n\nclass Parser\n{\npublic:\n Parser(std::vector<Token> tokens);\n\n void Advance();\n Node* Parse();\n\n Node* Expr();\n Node* Term();\n Node* Factor();\n Node* Atom();\n Node* Power();\n\n void Dispose(void* obj);\nprivate:\n std::vector<Token>...
164
4
{"language": "c", "success": true, "metadata": {"lines": 22, "avg_line_length": 15.41, "nodes": 105, "errors": 0, "source_hash": "921f3e69b621ae46e86c3a613b030ec796bc410f8acf769ccea38ba3bbd68918", "categorized_nodes": 64}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma ...
3,988
c
#pragma once namespace RayTracer { namespace Tests { bool Util_FloatEquals(float a, float b) { bool result = FloatEquals(a, b); std::string pf = (result) ? "PASS" : "FAIL"; std::cout << pf << "\t" << "FloatEquals()\n"; return result; } bool Util_FloatNotEquals(float a, float b) { boo...
20.5
22
(translation_unit) "#pragma once\n\n\n\nnamespace RayTracer\n{\n namespace Tests\n {\n bool Util_FloatEquals(float a, float b)\n { \n bool result = FloatEquals(a, b);\n\n std::string pf = (result) ? "PASS" : "FAIL";\n std::cout << pf << "\t" << "FloatEquals()\n";\n\n return result;\n }\n\n bool Util_Float...
188
4
{"language": "c", "success": true, "metadata": {"lines": 22, "avg_line_length": 20.5, "nodes": 111, "errors": 0, "source_hash": "8401ab8594d58455bcf52c84b80a567d622b28393c1ba1cc9726a4dd6c09c6b2", "categorized_nodes": 72}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
3,989
c
#include <lib.h> #include <idt.h> #include <memory.h> #include <apic.h> #include <entry.h> #include <file.h> #include<fs.h> struct os_stats *stats = NULL; struct os_configs *config = NULL; int kmain(unsigned long magic) { struct IDTR gdt; unsigned mb_info; u32 cs,ds,ss,esp,ebp; ...
35.66
64
(translation_unit) "#include <lib.h>\n#include <idt.h>\n#include <memory.h>\n#include <apic.h>\n#include <entry.h>\n#include <file.h>\n#include<fs.h>\n\nstruct os_stats *stats = NULL;\nstruct os_configs *config = NULL;\n\nint kmain(unsigned long magic)\n{\n struct IDTR gdt;\n unsigned mb_info;\n ...
568
0
{"language": "c", "success": true, "metadata": {"lines": 64, "avg_line_length": 35.66, "nodes": 293, "errors": 0, "source_hash": "6968e48b512d74a0196356433d66a30938e22b78754df0fc08a091d29ea60344", "categorized_nodes": 203}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
3,990
c
#ifndef __DISJOINTSET__ #define __DISJOINTSET__ namespace alg { template<typename T> struct Set{ Set<T>* parent; int rank; }; template<typename T> void MakeSet(T *s){ s->parent = s; s->rank = 0; } template<typename T> void Union(T *x, T *y) { Link(FindSet(x), FindSet(y)); } template<t...
16.3
37
(translation_unit) "#ifndef __DISJOINTSET__\n#define __DISJOINTSET__\n\nnamespace alg {\n template<typename T>\n struct Set{\n Set<T>* parent;\n int rank;\n };\n\n template<typename T>\n void MakeSet(T *s){\n s->parent = s;\n s->rank = 0;\n }\n\n template<typename T>\n void Union(T *x, T *y) {\n Link(Fin...
289
12
{"language": "c", "success": true, "metadata": {"lines": 37, "avg_line_length": 16.3, "nodes": 198, "errors": 0, "source_hash": "d363bd55eb5daab80920fb4b5f506b833dd768ad78c3225081625ef1b6b9b202", "categorized_nodes": 145}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
3,991
c
/* * Copyright (c) 2020 Raspberry Pi (Trading) Ltd. * * SPDX-License-Identifier: BSD-3-Clause */ #ifndef _PICO_TYPES_H #define _PICO_TYPES_H #include <stdint.h> #include <stdbool.h> #include <stddef.h> typedef unsigned int uint; #ifdef NDEBUG /*! \typedef absolute_time_t \brief An opaque 64 bit timestamp in...
33.36
66
(translation_unit) "/*\n * Copyright (c) 2020 Raspberry Pi (Trading) Ltd.\n *\n * SPDX-License-Identifier: BSD-3-Clause\n */\n\n#ifndef _PICO_TYPES_H\n#define _PICO_TYPES_H\n\n#include <stdint.h>\n#include <stdbool.h>\n#include <stddef.h>\n\ntypedef unsigned int uint;\n\n#ifdef NDEBUG\n/*! \typedef absolute_time_t\n ...
225
0
{"language": "c", "success": true, "metadata": {"lines": 66, "avg_line_length": 33.36, "nodes": 148, "errors": 0, "source_hash": "393a752469c9201fbc86af62314202f021003a270894f21fd64b50c12d2a9948", "categorized_nodes": 102}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
3,992
c
/* * Copyright (c) 2017, NVIDIA CORPORATION. All rights reserved. * * NVIDIA CORPORATION and its licensors retain all intellectual property * and proprietary rights in and to this software, related documentation * and any modifications thereto. Any use, reproduction, disclosure or * distribution of this softwar...
41.95
19
(translation_unit) "/*\n * Copyright (c) 2017, NVIDIA CORPORATION. All rights reserved.\n *\n * NVIDIA CORPORATION and its licensors retain all intellectual property\n * and proprietary rights in and to this software, related documentation\n * and any modifications thereto. Any use, reproduction, disclosure or\n * di...
79
0
{"language": "c", "success": true, "metadata": {"lines": 19, "avg_line_length": 41.95, "nodes": 58, "errors": 0, "source_hash": "3a831c41ea049efa730ec59e062aae7f82dc25985710e608cc971798d8ede5dc", "categorized_nodes": 40}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
3,993
c
#ifndef _LINKED_LIST_H_ #define _LINKED_LIST_H_ #include "types.h" typedef struct linked_list_node_struct { struct linked_list_node_struct *prev; struct linked_list_node_struct *next; u64 data; } linked_list_node; linked_list_node *linked_list_create_node(u64 data); typedef struct linked_list_struct { int s...
39.8
25
(translation_unit) "#ifndef _LINKED_LIST_H_\n#define _LINKED_LIST_H_\n\n#include "types.h"\n\ntypedef struct linked_list_node_struct {\n struct linked_list_node_struct *prev;\n struct linked_list_node_struct *next;\n u64 data;\n} linked_list_node;\n\nlinked_list_node *linked_list_create_node(u64 data);\n\ntypedef st...
247
0
{"language": "c", "success": true, "metadata": {"lines": 25, "avg_line_length": 39.8, "nodes": 191, "errors": 0, "source_hash": "871c1d5d914d9975edbfe148f4f3d5b64dfa405ff72c96ea66dbe89b9c5683e6", "categorized_nodes": 122}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
3,994
c
#ifndef BASIC_ERR_CODE_H_ #define BASIC_ERR_CODE_H_ #include "defn/type/code/Value.h" #include <utility> namespace basic { namespace err { class Code { public: typedef defn::type::code::Value CodeValueType; private: CodeValueType m_value; public: constexpr Code() noexcept; constexpr Code(const CodeV...
23.35
99
(translation_unit) "#ifndef BASIC_ERR_CODE_H_\n#define BASIC_ERR_CODE_H_\n\n#include "defn/type/code/Value.h"\n\n#include <utility>\n\nnamespace basic\n{\nnamespace err\n{\n\nclass Code\n{\npublic:\n typedef defn::type::code::Value CodeValueType;\nprivate:\n CodeValueType m_value;\npublic:\n constexpr Code() n...
813
56
{"language": "c", "success": true, "metadata": {"lines": 99, "avg_line_length": 23.35, "nodes": 478, "errors": 0, "source_hash": "796d4e92f444f043e07105273157beb3be25e62cdd51a0c152934a10f3b454b7", "categorized_nodes": 323}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
3,995
c
// // searchViewC.h // MaShangTong // // Created by q on 15/12/10. // Copyright © 2015年 NY. All rights reserved. // #import <UIKit/UIKit.h> @class AMapGeoPoint; @interface searchViewC : UIViewController<UISearchBarDelegate,UITableViewDelegate,UITableViewDataSource> @property (nonatomic,strong) UIButton *backBtn...
33.45
20
(translation_unit) "//\n// searchViewC.h\n// MaShangTong\n//\n// Created by q on 15/12/10.\n// Copyright © 2015年 NY. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n@class AMapGeoPoint;\n\n\n@interface searchViewC : UIViewController<UISearchBarDelegate,UITableViewDelegate,UITableViewDataSource>\n\n@property (n...
175
22
{"language": "c", "success": true, "metadata": {"lines": 20, "avg_line_length": 33.45, "nodes": 115, "errors": 0, "source_hash": "e27fab39a5c5ccdeba51e6a4da5135001d20ad305a9aea1113b601c1a7a4d5ed", "categorized_nodes": 64}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "port <UI...
3,996
c
#pragma once //////////////////////////////////////////////////////////////////////////////// #include "vor3d/Common.h" #include <set> #include <limits> #include <cassert> #include <vector> //////////////////////////////////////////////////////////////////////////////// namespace voroffset3d { class CompressedVolum...
38.63
41
(translation_unit) "#pragma once\n\n////////////////////////////////////////////////////////////////////////////////\n#include "vor3d/Common.h"\n#include <set>\n#include <limits>\n#include <cassert>\n#include <vector>\n////////////////////////////////////////////////////////////////////////////////\n\nnamespace voroffs...
440
25
{"language": "c", "success": true, "metadata": {"lines": 41, "avg_line_length": 38.63, "nodes": 274, "errors": 0, "source_hash": "827f87ecdc055161c15cd1172989fb330d19824b32b583d14c8451557af63ce9", "categorized_nodes": 186}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
3,997
c
/****************************************************************************************** * Data Structures and Algorithm in CPP * https://github.com/DreamBuilder-Yuanwei/DSACPP * <NAME>, <EMAIL> * Copyright (c) 2021-2050. All rights reserved. *********************************************************************...
34.86
14
(translation_unit) "/******************************************************************************************\n * Data Structures and Algorithm in CPP\n * https://github.com/DreamBuilder-Yuanwei/DSACPP\n * <NAME>, <EMAIL>\n * Copyright (c) 2021-2050. All rights reserved.\n ********************************************...
65
3
{"language": "c", "success": true, "metadata": {"lines": 14, "avg_line_length": 34.86, "nodes": 45, "errors": 0, "source_hash": "39f5fad12825f78be137d9f1f0fdbacc277e1535429a639ce9e18f24d940ebcc", "categorized_nodes": 30}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
3,998
c
// Copyright 2016 The Fuchsia Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef LIB_ESCHER_SHAPE_MODIFIER_WOBBLE_H_ #define LIB_ESCHER_SHAPE_MODIFIER_WOBBLE_H_ #include "lib/escher/scene/shape.h" namespace escher { // Data c...
36.43
21
(translation_unit) "// Copyright 2016 The Fuchsia Authors. All rights reserved.\n// Use of this source code is governed by a BSD-style license that can be\n// found in the LICENSE file.\n\n#ifndef LIB_ESCHER_SHAPE_MODIFIER_WOBBLE_H_\n#define LIB_ESCHER_SHAPE_MODIFIER_WOBBLE_H_\n\n#include "lib/escher/scene/shape.h"\n\n...
98
6
{"language": "c", "success": true, "metadata": {"lines": 21, "avg_line_length": 36.43, "nodes": 59, "errors": 0, "source_hash": "3a0d7b8f59dba3f520248b9dd143b3fb4be0d3d3eac12602a9ecdb893fc027f6", "categorized_nodes": 41}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
3,999