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
// // Generated by the J2ObjC translator. DO NOT EDIT! // source: ./analysis/common/src/java/org/apache/lucene/analysis/fi/FinnishLightStemmer.java // #include "J2ObjC_header.h" #pragma push_macro("INCLUDE_ALL_OrgApacheLuceneAnalysisFiFinnishLightStemmer") #ifdef RESTRICT_OrgApacheLuceneAnalysisFiFinnishLightStemm...
45.07
44
(translation_unit) "//\n// Generated by the J2ObjC translator. DO NOT EDIT!\n// source: ./analysis/common/src/java/org/apache/lucene/analysis/fi/FinnishLightStemmer.java\n//\n\n#include "J2ObjC_header.h"\n\n#pragma push_macro("INCLUDE_ALL_OrgApacheLuceneAnalysisFiFinnishLightStemmer")\n#ifdef RESTRICT_OrgApacheLucen...
210
10
{"language": "c", "success": true, "metadata": {"lines": 44, "avg_line_length": 45.07, "nodes": 153, "errors": 0, "source_hash": "9a72ee2f5f981d2b55d818373a328030180101ddb33281166fbdbea8378c7228", "categorized_nodes": 89}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
79,700
c
/* * Copyright (c) 2010 Yahoo! Inc. All rights reserved. Licensed under * the Apache License, Version 2.0 (the "License"); you may not use * this file except in compliance with the License. You may obtain a * copy of the License at http://www.apache.org/licenses/LICENSE-2.0 * Unless required by applicable law or a...
28.18
129
(translation_unit) "/*\n * Copyright (c) 2010 Yahoo! Inc. All rights reserved. Licensed under\n * the Apache License, Version 2.0 (the "License"); you may not use\n * this file except in compliance with the License. You may obtain a\n * copy of the License at http://www.apache.org/licenses/LICENSE-2.0\n * Unless requir...
300
20
{"language": "c", "success": true, "metadata": {"lines": 129, "avg_line_length": 28.18, "nodes": 117, "errors": 0, "source_hash": "485722200039adc45276fab0a5ca8e918ac84836fdd538a718e2e525bacf0ac1", "categorized_nodes": 92}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
79,701
c
#ifndef Cadrans_H #define Cadrans_H #include <QGraphicsItem> #include <QPainter> class CadranEss : public QGraphicsItem { public: CadranEss(QGraphicsItem *parent =0); QRectF boundingRect() const; void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget); int getValueMax()...
21.32
19
(translation_unit) "#ifndef Cadrans_H\n#define Cadrans_H\n#include <QGraphicsItem>\n#include <QPainter>\n\nclass CadranEss : public QGraphicsItem\n{\n\npublic:\n CadranEss(QGraphicsItem *parent =0);\n QRectF boundingRect() const;\n void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *...
119
3
{"language": "c", "success": true, "metadata": {"lines": 19, "avg_line_length": 21.32, "nodes": 81, "errors": 0, "source_hash": "7a793a9d792e6abda18abc689d5383674132f5e367e858995d1c54687e4cbb99", "categorized_nodes": 52}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
79,702
c
/*############################################################################# # TCONVERT.H # http://www.codeproject.com/string/tconvert.asp # SCA Software International S.A. # http://www.scasoftware.com # <EMAIL> # # Copyright (c) 2000 SCA Software International S.A. # # Date: 01.05.2000 # Author: <NAME> #...
24.97
325
(translation_unit) "/*############################################################################# \n# TCONVERT.H \n# http://www.codeproject.com/string/tconvert.asp \n# SCA Software International S.A. \n# http://www.scasoftware.com \n# <EMAIL> \n# \n# Copyright (c) 2000 SCA Software International S.A. \n# \n# Date: 01...
4
0
{"language": "c", "success": true, "metadata": {"lines": 325, "avg_line_length": 24.97, "nodes": 0, "errors": 0, "source_hash": "c5cb030150aef79e84ff72fbf291150ed8faa642f3608d0e1228a4a3f7b484a8", "categorized_nodes": 0}, "ast": {"root": "translation_unit", "nodes": []}, "node_categories": {"declarations": {"functions":...
79,703
c
/* Shiny Hunt Autonomous - Swords Of Justice * * From: https://github.com/PokemonAutomation/Arduino-Source * */ #ifndef PokemonAutomation_PokemonSwSh_ShinyHuntAutonomousSwordsOfJustice_H #define PokemonAutomation_PokemonSwSh_ShinyHuntAutonomousSwordsOfJustice_H #include "CommonFramework/Options/Section...
29.95
44
(translation_unit) "/* Shiny Hunt Autonomous - Swords Of Justice \n * \n * From: https://github.com/PokemonAutomation/Arduino-Source \n * \n */ \n \n#ifndef PokemonAutomation_PokemonSwSh_ShinyHuntAutonomousSwordsOfJustice_H \n#define PokemonAutomation_PokemonSwSh_ShinyHuntAutonomousSwordsOfJustice_H \n \n#include "Co...
174
9
{"language": "c", "success": true, "metadata": {"lines": 44, "avg_line_length": 29.95, "nodes": 109, "errors": 0, "source_hash": "c3d159e0ad1a2e0f1dd0df5f24c4b5730c0d82f2bd54a5f8dd70dba3c46533c2", "categorized_nodes": 81}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
79,704
c
/* Multiple versions of wmemset. Copyright (C) 2015-2020 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundati...
39.77
35
(translation_unit) "/* Multiple versions of wmemset.\n Copyright (C) 2015-2020 Free Software Foundation, Inc.\n This file is part of the GNU C Library.\n\n The GNU C Library is free software; you can redistribute it and/or\n modify it under the terms of the GNU Lesser General Public\n License as published by ...
105
2
{"language": "c", "success": true, "metadata": {"lines": 35, "avg_line_length": 39.77, "nodes": 80, "errors": 0, "source_hash": "f6a7f10cd153b6c601bbcba0d0c7ff05500fe656e2ac33cdf44d8c32f6f1e7a8", "categorized_nodes": 57}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
79,705
c
#ifndef MQUEUE_H #define MQUEUE_H #endif
10.25
4
(translation_unit) "#ifndef MQUEUE_H \n#define MQUEUE_H \n \n#endif \n" (preproc_ifdef) "#ifndef MQUEUE_H \n#define MQUEUE_H \n \n#endif" (#ifndef) "#ifndef" (identifier) "MQUEUE_H" (preproc_def) "#define MQUEUE_H \n" (#define) "#define" (identifier) "MQUEUE_H" (#endif) "#endif"
8
0
{"language": "c", "success": true, "metadata": {"lines": 4, "avg_line_length": 10.25, "nodes": 7, "errors": 0, "source_hash": "83355b33462a8de51d13f7baa2ba42e390b70c152345863463d4ad7ff6d8e00d", "categorized_nodes": 5}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef MQU...
79,706
c
#pragma once #include <destoer-emu/lib.h> #ifdef CONTROLLER_SDL #define SDL_MAIN_HANDLED #ifdef _WIN32 #include <SDL.H> #else #include <SDL2/SDL.h> #endif class Controller { public: void init(); void connected(int id); void disconnected(int id); ~Controller(); protected: bool controller_connected ...
17.84
31
(translation_unit) "#pragma once\n#include <destoer-emu/lib.h>\n#ifdef CONTROLLER_SDL\n\n#define SDL_MAIN_HANDLED\n#ifdef _WIN32\n#include <SDL.H>\n#else\n#include <SDL2/SDL.h>\n#endif\n\nclass Controller\n{\npublic:\n void init();\n void connected(int id);\n void disconnected(int id);\n ~Controller();\npro...
178
0
{"language": "c", "success": true, "metadata": {"lines": 31, "avg_line_length": 17.84, "nodes": 114, "errors": 0, "source_hash": "91be2427370610045a476c74fa2f2408f16d240f7ead3c2b9ed181d0683af0f1", "categorized_nodes": 69}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma ...
79,707
c
#include<sys/types.h> #include<sys/stat.h> #include<pwd.h> #include<time.h> #include<stdio.h> int main(){ int s; char source[30],flag='y'; struct stat filestat; struct passwd *pwd; printf("\nEnter the file name:- "); gets(source); s=stat(source,&filestat); if(s!=-1){ printf("\nOwner...
28.27
26
(translation_unit) "#include<sys/types.h>\n#include<sys/stat.h>\n#include<pwd.h>\n#include<time.h>\n#include<stdio.h>\nint main(){\n int s;\n char source[30],flag='y';\n struct stat filestat;\n struct passwd *pwd;\n printf("\nEnter the file name:- ");\n gets(source);\n s=stat(source,&filestat);\n ...
265
0
{"language": "c", "success": true, "metadata": {"lines": 26, "avg_line_length": 28.27, "nodes": 151, "errors": 0, "source_hash": "1f1c378c1fc015683e09d2e584d63ae0ea14f4841826dfd7b39eb1bfd201ef1f", "categorized_nodes": 111}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
79,708
c
inherit __DIR__"bhd_npc.c"; #include <ansi.h> void create() { set_name(HIG "野人" NOR, ({ "ye ren", "ye", "ren" })); set("long", HIG "終年生活在冰火島上的野人,似乎與常人頗有不同。\n" NOR); set("age", 500); set("str",121); set("dex", 80); set("int", 80); set("con", 80); set("max...
27.39
44
(translation_unit) "inherit __DIR__"bhd_npc.c";\n#include <ansi.h>\n\nvoid create()\n{\n set_name(HIG "野人" NOR, ({ "ye ren", "ye", "ren" }));\n set("long", HIG "終年生活在冰火島上的野人,似乎與常人頗有不同。\n" NOR);\n\n set("age", 500);\n set("str",121);\n set("dex", 80);\n set("int", 80);\n ...
486
2
{"language": "c", "success": true, "metadata": {"lines": 44, "avg_line_length": 27.39, "nodes": 197, "errors": 0, "source_hash": "90aceade565921cddaffda091d8ad2d4a4b0d3ded50d9e577d34f26415d2adce", "categorized_nodes": 155}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "declaration", "text": "inherit ...
79,709
c
/* * Written by Dr <NAME> (<EMAIL>) for the OpenSSL project * 2006 */ /* ==================================================================== * Copyright (c) 2006 The OpenSSL Project. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provid...
31.97
324
(translation_unit) "/*\n * Written by Dr <NAME> (<EMAIL>) for the OpenSSL project\n * 2006\n */\n/* ====================================================================\n * Copyright (c) 2006 The OpenSSL Project. All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modifi...
2,327
2
{"language": "c", "success": true, "metadata": {"lines": 324, "avg_line_length": 31.97, "nodes": 1354, "errors": 0, "source_hash": "a2e71eddfaffb8cc7b33e7c2e008e57570a80c57d3d3ba822a6c8dc453bb9dff", "categorized_nodes": 852}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#i...
79,710
c
#include "DSP2833x_Device.h" // DSP2833x Headerfile Include File #include "Serial.h" #include "Log.h" #include "ModbusSettings.h" // Clear flags of overflow void serial_clear(){ static unsigned short i, destroyFifo; SERIAL_DEBUG(); // Reset Serial in case of error if(SciaRegs.SCIRXST.bit.RXERROR == true){ ...
33.66
152
(translation_unit) "#include "DSP2833x_Device.h" // DSP2833x Headerfile Include File\n#include "Serial.h"\n#include "Log.h"\n#include "ModbusSettings.h"\n\n// Clear flags of overflow\nvoid serial_clear(){\n static unsigned short i, destroyFifo;\n\n SERIAL_DEBUG();\n\n // Reset Serial in case of error\n if(SciaRegs....
1,232
0
{"language": "c", "success": true, "metadata": {"lines": 152, "avg_line_length": 33.66, "nodes": 748, "errors": 0, "source_hash": "c39ec72db62e44b586f1e3fb16f66c4fca93ec3065bd310345185340aeee45db", "categorized_nodes": 632}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
79,711
c
#pragma once #include <utility> #include <vector> #include "utl/verify.h" #include "motis/core/schedule/connection.h" #include "motis/core/access/realtime_access.h" #include "motis/routing/output/stop.h" #include "motis/routing/output/transport.h" constexpr auto MOTIS_UNKNOWN_TRACK = 0; namespace motis::routing::...
37.64
311
(translation_unit) "#pragma once\n\n#include <utility>\n#include <vector>\n\n#include "utl/verify.h"\n\n#include "motis/core/schedule/connection.h"\n#include "motis/core/access/realtime_access.h"\n\n#include "motis/routing/output/stop.h"\n#include "motis/routing/output/transport.h"\n\nconstexpr auto MOTIS_UNKNOWN_TRACK...
3,394
96
{"language": "c", "success": true, "metadata": {"lines": 311, "avg_line_length": 37.64, "nodes": 2099, "errors": 0, "source_hash": "9642dc2b9b6e36709919f8df37f08023ca0021ccb42116c4513963a9641003bf", "categorized_nodes": 1504}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pra...
79,712
c
// -*- mode: cpp; mode: fold -*- // Description /*{{{*/ /* ###################################################################### Update - ListUpdate related code ##################################################################### */ /*}}}*/ #ifndef PKGLIB_UPDATE_H #define PKGLIB_UPDATE_H cl...
38.75
16
(translation_unit) "// -*- mode: cpp; mode: fold -*-\n// Description /*{{{*/\n/* ######################################################################\n\n Update - ListUpdate related code\n\n ##################################################################### */\n /*}}}*/\n\n#ifndef PKGLIB_UPDATE_...
90
4
{"language": "c", "success": true, "metadata": {"lines": 16, "avg_line_length": 38.75, "nodes": 58, "errors": 0, "source_hash": "910b06bd0fede9557d370738b80d9f92fbbff3d0b97595751ea949674e7ed166", "categorized_nodes": 44}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
79,713
c
// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (c) 2016 Linux Test Project. */ /* * DESCRIPTION * * Total s390 2^31 addr space is 0x80000000. * * 0x80000000 - 0x10000000 = 0x70000000 * * 0x70000000 is a valid positive intptr_t and adding it to the current offset * produces a valid uintptr_t ...
33.05
64
(translation_unit) "// SPDX-License-Identifier: GPL-2.0-or-later\n/*\n * Copyright (c) 2016 Linux Test Project.\n */\n\n/*\n * DESCRIPTION\n *\n * Total s390 2^31 addr space is 0x80000000.\n *\n * 0x80000000 - 0x10000000 = 0x70000000\n *\n * 0x70000000 is a valid positive intptr_t and adding it to the current offse...
270
0
{"language": "c", "success": true, "metadata": {"lines": 64, "avg_line_length": 33.05, "nodes": 139, "errors": 0, "source_hash": "523a776c34eaf8d209948556a69846193fca2bbac9fa5051aa7e71a0ad2c67da", "categorized_nodes": 93}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
79,714
c
/* Generated by RuntimeBrowser Image: /System/Library/PrivateFrameworks/CameraUI.framework/CameraUI */ @interface CAMRampToVideoZoomFactorCommand : CAMCaptureCommand { double __duration; float __rate; double __videoZoomFactor; } @property (nonatomic, readonly) double _duration; @property (nonatomic...
34.43
21
(translation_unit) "/* Generated by RuntimeBrowser\n Image: /System/Library/PrivateFrameworks/CameraUI.framework/CameraUI\n */\n\n@interface CAMRampToVideoZoomFactorCommand : CAMCaptureCommand {\n double __duration;\n float __rate;\n double __videoZoomFactor;\n}\n\n@property (nonatomic, readonly) double _...
220
20
{"language": "c", "success": true, "metadata": {"lines": 21, "avg_line_length": 34.43, "nodes": 130, "errors": 0, "source_hash": "98f9a7431bb8d41209a10e8257e62aebf4761c52cfc4308d29b07df5de37ebb8", "categorized_nodes": 78}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "@", "parent": n...
79,715
c
#include "main.h" #include "entities.h" #ifdef __unix__ #include <termios.h> #include <unistd.h> #endif unsigned int rngState=6969; int sX=7; int sY=7; /*World data occupying 128 bytes.*/ unsigned int worldArray[16];/*The dungeon as 16 bit fields.*/ unsigned int strengthArray[16];/*The rooms requiring power bracelet ...
15.41
293
(translation_unit) "#include "main.h"\n#include "entities.h"\n#ifdef __unix__\n#include <termios.h>\n#include <unistd.h>\n#endif\n\nunsigned int rngState=6969;\nint sX=7;\nint sY=7;\n\n/*World data occupying 128 bytes.*/\nunsigned int worldArray[16];/*The dungeon as 16 bit fields.*/\nunsigned int strengthArray[16];/*Th...
2,105
10
{"language": "c", "success": true, "metadata": {"lines": 293, "avg_line_length": 15.41, "nodes": 1310, "errors": 0, "source_hash": "34a39b338e52f16bbb3115c471298100299107ce4f845cfb0e552fff8583266f", "categorized_nodes": 953}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#i...
79,716
c
#include "tpm/times.h" #include <stdio.h> #include <math.h> int main(){ #define L 12 #define DEG (180.0/M_PI) double r[L] = { 0.0, -0.0, M_PI/2.0, -M_PI/2.0, 2*M_PI, -2*M_PI, -3*M_PI, 3*M_PI, 4*M_PI, -4*M_PI, 4.2*M_PI, -4.2*M_PI }; for(int i=0; i < L; i++){ /*printf("%9.6f %10.6f %9.6f %10.6f\n"...
25.88
16
(translation_unit) "#include "tpm/times.h"\n#include <stdio.h>\n#include <math.h>\n\nint main(){\n #define L 12\n #define DEG (180.0/M_PI)\n double r[L] = {\n 0.0, -0.0, M_PI/2.0, -M_PI/2.0, 2*M_PI, -2*M_PI,\n -3*M_PI, 3*M_PI, 4*M_PI, -4*M_PI, 4.2*M_PI, -4.2*M_PI\n };\n\n for(int i=0; i < L; i++){\n /*pri...
155
0
{"language": "c", "success": true, "metadata": {"lines": 16, "avg_line_length": 25.88, "nodes": 104, "errors": 0, "source_hash": "76d9a68faec4ee08e462f1cee3fba10c5090a7deb57ae0ed434204fe05c85441", "categorized_nodes": 72}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
79,717
c
/* +----------------------------------------------------------------------+ | HipHop for PHP | +----------------------------------------------------------------------+ | Copyright (c) 2010-2015 Facebook, Inc. (http://www.facebook.com) | +---------...
30.81
77
(translation_unit) "/*\n +----------------------------------------------------------------------+\n | HipHop for PHP |\n +----------------------------------------------------------------------+\n | Copyright (c) 2010-2015 Facebook, Inc. (http://www.facebook....
550
25
{"language": "c", "success": true, "metadata": {"lines": 77, "avg_line_length": 30.81, "nodes": 328, "errors": 0, "source_hash": "838b1a990c9a41595f0560e1474f28d2388423e33157a9f06e8d69993993cf57", "categorized_nodes": 225}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
79,718
c
// // FViewController.h // groupingKit // // Created by <EMAIL> on 07/05/2019. // Copyright (c) 2019 <EMAIL>. All rights reserved. // @import UIKit; @interface FViewController : UIViewController @end
19.4
10
(translation_unit) "//\n// FViewController.h\n// groupingKit\n//\n// Created by <EMAIL> on 07/05/2019.\n// Copyright (c) 2019 <EMAIL>. All rights reserved.\n//\n\n@import UIKit;\n\n@interface FViewController : UIViewController\n\n@end\n" (comment) "//" (comment) "// FViewController.h" (comment) "// grouping...
23
6
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 19.4, "nodes": 11, "errors": 0, "source_hash": "a43d3cb1ae9087d910de29076a65dd80d3540ed8318b23b7be06ab933518d829", "categorized_nodes": 5}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "@import UIKit;\n\n...
79,719
c
#pragma once #include "CriticalSection.h" #include "AutoResetEvent.h" #include "Thread.h" #include "TODO.h" #include "../Common/NodeList.h" #pragma TODO("BUG: - need to handle GetTickCount() wrap") namespace AmstelTech { namespace Win32 { class IProvideTickCount; class CCallbackTimer : protected CThread { ...
27.33
91
(translation_unit) "#pragma once\n\n#include "CriticalSection.h"\n#include "AutoResetEvent.h"\n#include "Thread.h"\n#include "TODO.h"\n\n#include "../Common/NodeList.h"\n\n#pragma TODO("BUG: - need to handle GetTickCount() wrap")\n\nnamespace AmstelTech \n{\n \nnamespace Win32 \n{\n \nclass IProvideTickCount;\n\nclass ...
583
29
{"language": "c", "success": true, "metadata": {"lines": 91, "avg_line_length": 27.33, "nodes": 339, "errors": 0, "source_hash": "058fdd4466e3ef88fecd112b6c4dc8f62b843db0b77fa668af4729fcdbb7caab", "categorized_nodes": 239}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
79,720
c
/////////////////////////////////////////////////////////////////////////// // C++ code generated with wxFormBuilder (version Jun 6 2014) // http://www.wxformbuilder.org/ // // PLEASE DO "NOT" EDIT THIS FILE! /////////////////////////////////////////////////////////////////////////// #ifndef __NIN10KITVIEWERGUI_H__ #...
30.98
64
(translation_unit) "///////////////////////////////////////////////////////////////////////////\n// C++ code generated with wxFormBuilder (version Jun 6 2014)\n// http://www.wxformbuilder.org/\n//\n// PLEASE DO "NOT" EDIT THIS FILE!\n///////////////////////////////////////////////////////////////////////////\n\n#ifnde...
317
6
{"language": "c", "success": true, "metadata": {"lines": 64, "avg_line_length": 30.98, "nodes": 217, "errors": 0, "source_hash": "0080bb56dbfa1f4e92f0bf4d2d035cbb2bc08747e72e8041b6d1dcc44bea9fe8", "categorized_nodes": 166}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
79,721
c
/* Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. */ #pragma once // This file is used internally to the project and is not part of the public interface. #include <stdbool.h> #define MAX_EVENTS_QUEUED 512 typedef struct _EventQueue { unsigned read...
20.17
29
(translation_unit) "/* \nCopyright (c) Microsoft Corporation. All rights reserved. \nLicensed under the MIT License. \n*/ \n \n#pragma once \n \n// This file is used internally to the project and is not part of the public interface. \n \n \n#include <stdbool.h> \n \n \n#define MAX_EVENTS_QUEUED 512 \n \n \ntypedef stru...
107
0
{"language": "c", "success": true, "metadata": {"lines": 29, "avg_line_length": 20.17, "nodes": 79, "errors": 0, "source_hash": "79bf18f4415fbb2dcd7f07b3596b764f0464144d6dfcfa0bb13ba3fdd722a661", "categorized_nodes": 49}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
79,722
c
extern dword StubSize; extern byte * Stub; extern const char * StrippedOutputFileName; extern void GetStub(); extern void WriteOutFile(); extern dword getOffset(dword vadr, word object); extern word getObjectNumber(dword vadr);
23.3
10
(translation_unit) "extern dword StubSize; \nextern byte * Stub; \n \nextern const char * StrippedOutputFileName; \n \nextern void GetStub(); \nextern void WriteOutFile(); \n \nextern dword getOffset(dword vadr, word object); \nextern word getObjectNumber(dword vadr); \n" (declaration) "extern dword StubSize;" ...
75
0
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 23.3, "nodes": 56, "errors": 0, "source_hash": "43f59f85ee3f7a87be9a6b2ec12c74a7b673ae83c4c09a1d09f570d688a0bba5", "categorized_nodes": 38}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "declaration", "text": "extern dwor...
79,723
c
/* * Copyright (c) 2018-2020, <NAME> <<EMAIL>> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, this * list ...
35.37
90
(translation_unit) "/*\n * Copyright (c) 2018-2020, <NAME> <<EMAIL>>\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions are met:\n *\n * 1. Redistributions of source code must retain the above copyrig...
544
0
{"language": "c", "success": true, "metadata": {"lines": 90, "avg_line_length": 35.37, "nodes": 431, "errors": 0, "source_hash": "41f2812e94f8d0397aa00e5d47b1a7fcdfbefd8f44cd7f2e5b996b2236432aa0", "categorized_nodes": 221}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
79,724
c
#ifndef NX_COLLISION_NXCAPSULESHAPEDESC #define NX_COLLISION_NXCAPSULESHAPEDESC /*----------------------------------------------------------------------------*\ | | Public Interface to NVIDIA PhysX Technology | | www.nvidia.com | \*-------------------------------------------------------------------------...
25.2
101
(translation_unit) "#ifndef NX_COLLISION_NXCAPSULESHAPEDESC\n#define NX_COLLISION_NXCAPSULESHAPEDESC\n/*----------------------------------------------------------------------------*\\n|\n| Public Interface to NVIDIA PhysX Technology\n|\n| www.nvidia.com\n|\n\*---------------------------------------------...
271
12
{"language": "c", "success": true, "metadata": {"lines": 101, "avg_line_length": 25.2, "nodes": 143, "errors": 0, "source_hash": "d6b66808025300163d64364f834d31b23949f22f018a8ec5c4f4606233a67594", "categorized_nodes": 104}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
79,725
c
/**************************************************************************** Copyright (c) 2019 ZhuLei Email:<EMAIL> 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/li...
29.06
113
(translation_unit) "***************************************************************************\n Copyright (c) 2019 ZhuLei\n Email:<EMAIL>\n\n Licensed under the Apache License, Version 2.0 (the "License");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n...
597
12
{"language": "c", "success": true, "metadata": {"lines": 113, "avg_line_length": 29.06, "nodes": 398, "errors": 0, "source_hash": "eb4b8798f41a01dd6cf5f270082ae98215b71fea92678fb46b4fa21225427986", "categorized_nodes": 269}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "ragma ...
79,726
c
#ifndef __BACKPORT_RCULIST_H #define __BACKPORT_RCULIST_H #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,26) #include_next <linux/rculist.h> #endif #if LINUX_VERSION_CODE < KERNEL_VERSION(3,9,0) #include <backport/magic.h> #define hlist_for_each_entry_rcu4(tpos, pos, head, member) \ for (pos = rcu_dereference_raw(hlis...
47.32
38
(translation_unit) "#ifndef __BACKPORT_RCULIST_H\n#define __BACKPORT_RCULIST_H\n#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,26)\n#include_next <linux/rculist.h>\n#endif\n\n#if LINUX_VERSION_CODE < KERNEL_VERSION(3,9,0)\n#include <backport/magic.h>\n#define hlist_for_each_entry_rcu4(tpos, pos, head, member) \\n for (p...
154
0
{"language": "c", "success": true, "metadata": {"lines": 38, "avg_line_length": 47.32, "nodes": 113, "errors": 0, "source_hash": "6d2a82cd2338151e41db4e66b3e65d3b3159cbdf86c239ca7a966c72912f7ea2", "categorized_nodes": 77}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
79,727
c
// Copyright 2009 <NAME>. // // Author: <NAME> (<EMAIL>) // // 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 3 of the License, or // (at your option) any later version. // This ...
33.31
319
(translation_unit) "// Copyright 2009 <NAME>.\n//\n// Author: <NAME> (<EMAIL>)\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 3 of the License, or\n// (at your option) ...
2,533
180
{"language": "c", "success": true, "metadata": {"lines": 319, "avg_line_length": 33.31, "nodes": 1565, "errors": 0, "source_hash": "d20b50759a847fe7511a0cad31d67e7fb6359ba57dd3a87adb58d4ccfde927fc", "categorized_nodes": 997}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifn...
79,728
c
// // // //////////////////////////////////////////////////////////////////////////////////// // ///////// /////////// // ////// SSS PPPP I N N DDDD U U M M PPPP ////// // // S P P I NN N D...
34.39
109
(translation_unit) "//\n//\n// ////////////////////////////////////////////////////////////////////////////////////\n// ///////// ///////////\n// ////// SSS PPPP I N N DDDD U U M M PPPP //////\n// // S ...
563
0
{"language": "c", "success": true, "metadata": {"lines": 109, "avg_line_length": 34.39, "nodes": 298, "errors": 0, "source_hash": "e56e171308a91ee52a140d436434e1d00e1fd4226aa681f4b34b7df67997875f", "categorized_nodes": 183}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
79,729
c
/* This file is for Benes network related functions */ #ifndef BENES_H #define BENES_H #define benes crypto_kem_mceliece8192128_vec_benes #define support_gen crypto_kem_mceliece8192128_vec_support_gen #include "gf.h" #include "vec.h" void benes(vec *, const unsigned char *, int); #endif
25.36
11
(translation_unit) "/*\n This file is for Benes network related functions\n*/\n\n#ifndef BENES_H\n#define BENES_H\n#define benes crypto_kem_mceliece8192128_vec_benes\n#define support_gen crypto_kem_mceliece8192128_vec_support_gen\n\n#include "gf.h"\n#include "vec.h"\n\nvoid benes(vec *, const unsigned char *, int);\n\...
53
0
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 25.36, "nodes": 38, "errors": 0, "source_hash": "1ddfbb155b5cfc25b5e64d0b805f70ff1eb4d5d904dfc228208d039503c0540e", "categorized_nodes": 21}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
79,730
c
/* * Copyright (C) 2014, The CyanogenMod Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
27.31
61
(translation_unit) "/*\n * Copyright (C) 2014, The CyanogenMod Project\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * ...
277
0
{"language": "c", "success": true, "metadata": {"lines": 61, "avg_line_length": 27.31, "nodes": 160, "errors": 0, "source_hash": "5a045af4151a90ad4ff4d7b5bdfc692946069a25757919f8add9a200fb590d55", "categorized_nodes": 116}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_def", "text": "#define ...
79,731
c
// createw.c #include <kernel.h>
10.33
3
(translation_unit) "// createw.c\n\n\n\n#include <kernel.h> \n\n\n\n" (comment) "// createw.c" (preproc_include) "#include <kernel.h>" (#include) "#include" (system_lib_string) "<kernel.h>"
5
0
{"language": "c", "success": true, "metadata": {"lines": 3, "avg_line_length": 10.33, "nodes": 3, "errors": 0, "source_hash": "9e60aa9074f18e82de3462d023263a90d461c3fbfdd9538abb41f2b0515752b5", "categorized_nodes": 3}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#include ...
79,732
c
// Copyright 2020, Collabora, Ltd. // SPDX-License-Identifier: BSL-1.0 /*! * @file * @brief Functions for Android-specific global state. * @author <NAME> <<EMAIL>> * @ingroup aux_android */ #pragma once #include <xrt/xrt_config_os.h> #ifdef XRT_OS_ANDROID #ifdef __cplusplus extern "C" { #endif struct _JNIEnv...
26.07
61
(translation_unit) "// Copyright 2020, Collabora, Ltd.\n// SPDX-License-Identifier: BSL-1.0\n/*!\n * @file\n * @brief Functions for Android-specific global state.\n * @author <NAME> <<EMAIL>>\n * @ingroup aux_android\n */\n\n#pragma once\n\n#include <xrt/xrt_config_os.h>\n\n#ifdef XRT_OS_ANDROID\n\n#ifdef __cplusplus\...
152
0
{"language": "c", "success": true, "metadata": {"lines": 61, "avg_line_length": 26.07, "nodes": 110, "errors": 0, "source_hash": "43f6174466e53ea9aa15c4df0ec26f7b28c54ca9872f9bb047add1c4127c6f06", "categorized_nodes": 74}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma ...
79,733
c
// // ELBreakCell.h // Timus // // Created by <NAME> on 23/01/14. // Copyright (c) 2014 Timus. All rights reserved. // #import "ELTaskCell.h" @interface ELBreakCell : ELTaskCell #pragma mark - Properties @property (weak, nonatomic) IBOutlet UILabel *breakDescritpionLabel; @property (weak, nonatomic) IBOutlet UI...
25.46
13
(translation_unit) "//\n// ELBreakCell.h\n// Timus\n//\n// Created by <NAME> on 23/01/14.\n// Copyright (c) 2014 Timus. All rights reserved.\n//\n\n#import "ELTaskCell.h"\n\n@interface ELBreakCell : ELTaskCell\n\n#pragma mark - Properties\n\n@property (weak, nonatomic) IBOutlet UILabel *breakDescritpionLabel;\n@pro...
59
8
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 25.46, "nodes": 39, "errors": 0, "source_hash": "9ee5429143167205f3790b6e9bb78bc050d380087b0ddda51a8feadeed8ae689", "categorized_nodes": 21}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import \...
79,734
c
#ifndef CLICKLIB_GLOBAL_H #define CLICKLIB_GLOBAL_H #include <QtCore/qglobal.h> #if defined(CLICKLIB_LIBRARY) # define CLICKLIBSHARED_EXPORT Q_DECL_EXPORT #else # define CLICKLIBSHARED_EXPORT Q_DECL_IMPORT #endif #endif // CLICKLIB_GLOBAL_H
26
9
(translation_unit) "#ifndef CLICKLIB_GLOBAL_H\n#define CLICKLIB_GLOBAL_H\n\n#include <QtCore/qglobal.h>\n\n#if defined(CLICKLIB_LIBRARY)\n# define CLICKLIBSHARED_EXPORT Q_DECL_EXPORT\n#else\n# define CLICKLIBSHARED_EXPORT Q_DECL_IMPORT\n#endif\n\n#endif // CLICKLIB_GLOBAL_H\n" (preproc_ifdef) "#ifndef CLICKLIB_GLOB...
31
0
{"language": "c", "success": true, "metadata": {"lines": 9, "avg_line_length": 26.0, "nodes": 27, "errors": 0, "source_hash": "e4fd3029ace3036e18e7244356336900dbb73aaa7bb4b67e136be8360fd7b7c8", "categorized_nodes": 14}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef CL...
79,735
c
// // demangle.h // FunctionalTemplates // // Created by <NAME> on 03.04.15. // Copyright (c) 2015 <NAME>. All rights reserved. // #ifndef FunctionalTemplates_demangle_h #define FunctionalTemplates_demangle_h #include <cxxabi.h> #include <string> #include <cstdlib> template <typename T> std::string demangle() { ...
23.73
22
(translation_unit) "//\n// demangle.h\n// FunctionalTemplates\n//\n// Created by <NAME> on 03.04.15.\n// Copyright (c) 2015 <NAME>. All rights reserved.\n//\n\n#ifndef FunctionalTemplates_demangle_h\n#define FunctionalTemplates_demangle_h\n\n#include <cxxabi.h>\n#include <string>\n#include <cstdlib>\n\ntemplate <ty...
162
5
{"language": "c", "success": true, "metadata": {"lines": 22, "avg_line_length": 23.73, "nodes": 103, "errors": 0, "source_hash": "bfe32bfaff51ab071046f3897b1e8e7d7ba95c4c5b7f299751da58bc28705078", "categorized_nodes": 70}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
79,736
c
#ifndef RUNNING_CONFIGURATION_H #define RUNNING_CONFIGURATION_H enum Tool { Car_Tool, Speed_Tool, Barrier_Tool, Slow_Down_Tool }; class Running_Configuration { public: Running_Configuration() : tool(Car_Tool) { } // options private: Tool tool; // set options public: inline void set_tool(const Tool& new_tool)...
17.83
24
(translation_unit) "#ifndef RUNNING_CONFIGURATION_H\n#define RUNNING_CONFIGURATION_H\n\nenum Tool\n{\n Car_Tool,\n Speed_Tool,\n Barrier_Tool,\n Slow_Down_Tool\n};\n\nclass Running_Configuration\n{\npublic:\n Running_Configuration() : tool(Car_Tool) { }\n\n// options\nprivate:\n Tool tool;\n\n// set options\npublic:\n ...
114
5
{"language": "c", "success": true, "metadata": {"lines": 24, "avg_line_length": 17.83, "nodes": 61, "errors": 0, "source_hash": "c312d5886b6f672977b9db85831dbe7da9aa44716f49a79351c56b8611084364", "categorized_nodes": 42}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
79,737
c
#include <stdio.h> #include <time.h> #include <stdlib.h> #include <conio.h> #include <ctype.h> #include <string.h> char test_book[20]="Bhavan"; char test_author[20]="Bhavan"; int test_pages=23; int test_price=24; char test_book1[20]="Rahul"; char test_author1[20]="Rahul"; int test_pages1=22; int test_price1=23;...
21.94
18
(translation_unit) "#include <stdio.h>\n#include <time.h>\n#include <stdlib.h>\n#include <conio.h>\n#include <ctype.h>\n#include <string.h>\n\nchar test_book[20]="Bhavan";\n\nchar test_author[20]="Bhavan";\n\nint test_pages=23;\n\nint test_price=24;\n\nchar test_book1[20]="Rahul";\n\nchar test_author1[20]="Rahul";\n\ni...
145
0
{"language": "c", "success": true, "metadata": {"lines": 18, "avg_line_length": 21.94, "nodes": 102, "errors": 0, "source_hash": "eff40135d6d4e90051a8a52b946a9bfef0f03ccb0bf30e8c0118ba9531743911", "categorized_nodes": 60}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
79,738
c
#include <pthread.h> #include <stdbool.h> #include "c9.h" enum { ALTID_SUCCESS= 0, ALTID_FAILURE= 1, MAINBUF= 0, STATBUF= 1, TITLBUF= 2, TABSBUF= 3, /* Has entry is set when we find a service through our callback */ HAS_ENTRY = (1 << 0), CONNECTED = (1 << 1), SCROLLSTEP = -3...
20
50
(translation_unit) "#include <pthread.h>\n#include <stdbool.h>\n#include "c9.h"\n\nenum {\n ALTID_SUCCESS= 0,\n ALTID_FAILURE= 1,\n \n MAINBUF= 0,\n STATBUF= 1,\n TITLBUF= 2,\n TABSBUF= 3,\n\n /* Has entry is set when we find a service through our callback */\n HAS_ENTRY = (1 << 0),\n CONNECT...
321
0
{"language": "c", "success": true, "metadata": {"lines": 50, "avg_line_length": 20.0, "nodes": 229, "errors": 0, "source_hash": "b5a27daa1dd9348fa3360d45ec568c3d1552783c1146adf27e9d921f2664e27f", "categorized_nodes": 150}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
79,739
c
// // UIView+LTFetch.h // BuDeJie // // Created by Lenhulk on 2016/10/31. // Copyright © 2016年 Lenhulk. All rights reserved. // #import <UIKit/UIKit.h> @interface UIView (LTFetch) - (UITableView *)fetchTableView; @end
19.18
11
(translation_unit) "//\n// UIView+LTFetch.h\n// BuDeJie\n//\n// Created by Lenhulk on 2016/10/31.\n// Copyright © 2016年 Lenhulk. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface UIView (LTFetch)\n- (UITableView *)fetchTableView;\n@end\n" (comment) "//" (comment) "// UIView+LTFetch.h" (commen...
37
4
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 19.18, "nodes": 21, "errors": 0, "source_hash": "15b9afc3f92e2cb61f3d985a8021005fd772b95c87ffe388f2978f97fd169d1d", "categorized_nodes": 10}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "port <UIK...
79,740
c
/********************************************************************** Audacity: A Digital Audio Editor SimpleMono.h <NAME> This abstract class simplifies the implementation of a basic monaural effect. Inherit from it if your effect doesn't just modifies a track in place and doesn't care how many samp...
33.94
36
(translation_unit) "/**********************************************************************\n\n Audacity: A Digital Audio Editor\n\n SimpleMono.h\n\n <NAME>\n\n This abstract class simplifies the implementation of a basic\n monaural effect. Inherit from it if your effect doesn't just\n modifies a track in place ...
135
4
{"language": "c", "success": true, "metadata": {"lines": 36, "avg_line_length": 33.94, "nodes": 84, "errors": 0, "source_hash": "269a0373b533e0ba6819f7c39c994d4a7426cc6144fc715ed89f5c083420cdff", "categorized_nodes": 54}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
79,741
c
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by <NAME>. // #import <SAObjects/SARemoteDevice.h> #import "SABackgroundContextObject.h" @class NSDictionary, NSString; @interface SARemotePlaybackDevice : SARemoteDevice <SABackgroundContextObject>...
36.33
27
(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 <SAObjects/SARemoteDevice.h>\n\n#import "SABackgroundContextObject.h"\n\n@class NSDictionary, NSString;\n\n@interface SARemotePlaybackDevice : SARemoteDe...
266
31
{"language": "c", "success": true, "metadata": {"lines": 27, "avg_line_length": 36.33, "nodes": 174, "errors": 0, "source_hash": "c88d41b498d99de0e75c1c50fcc2b6854d87018e95bf7c9c6dc4d6daf96a3836", "categorized_nodes": 102}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import...
79,742
c
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- #ifndef __java_lang_reflect_WildcardType__ #define __java_lang_reflect_WildcardType__ #pragma interface #include <java/lang/Object.h> #include <gcj/array.h> class java::lang::reflect::WildcardType : public ::java::lang::Object { public: virtual JAr...
36.8
15
(translation_unit) "// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-\n\n#ifndef __java_lang_reflect_WildcardType__\n#define __java_lang_reflect_WildcardType__\n\n#pragma interface\n\n#include <java/lang/Object.h>\n#include <gcj/array.h>\n\n\nclass java::lang::reflect::WildcardType : public ::java::lang::O...
136
6
{"language": "c", "success": true, "metadata": {"lines": 15, "avg_line_length": 36.8, "nodes": 75, "errors": 0, "source_hash": "726c31e1abb4d6e4b3e802acca66cf78ea80558640dc66ab45f82b3ab1b439cd", "categorized_nodes": 47}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef _...
79,743
c
#ifndef TINYXMLSPRITERFILEDOCUMENTWRAPPER_H #define TINYXMLSPRITERFILEDOCUMENTWRAPPER_H #include "../../tinyxml2/tinyxml2.h" #include "../../spriterengine/override/spriterfiledocumentwrapper.h" namespace SpriterEngine { class TinyXmlSpriterFileDocumentWrapper : public SpriterFileDocumentWrapper { public: TinyXm...
36.11
18
(translation_unit) "#ifndef TINYXMLSPRITERFILEDOCUMENTWRAPPER_H\n#define TINYXMLSPRITERFILEDOCUMENTWRAPPER_H\n\n#include "../../tinyxml2/tinyxml2.h"\n\n#include "../../spriterengine/override/spriterfiledocumentwrapper.h"\n\nnamespace SpriterEngine\n{\n class TinyXmlSpriterFileDocumentWrapper : public SpriterFileDocumen...
110
5
{"language": "c", "success": true, "metadata": {"lines": 18, "avg_line_length": 36.11, "nodes": 62, "errors": 0, "source_hash": "914a2ccdf9c3adc40c514d1709c8b11d83f21ca73bc5c73ddb26a112280af9c7", "categorized_nodes": 44}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
79,744
c
/* Copyright (C) 2014, The University of Texas at Austin This file is part of libflame and is available under the 3-Clause BSD license, which can be found in the LICENSE file at the top-level directory, or at http://opensource.org/licenses/BSD-3-Clause */ #include "FLAME.h" FLA_Error FLA_SA_LU_task...
35.5
16
(translation_unit) "/*\n\n Copyright (C) 2014, The University of Texas at Austin\n\n This file is part of libflame and is available under the 3-Clause\n BSD license, which can be found in the LICENSE file at the top-level\n directory, or at http://opensource.org/licenses/BSD-3-Clause\n\n*/\n\n#include "FLAM...
70
0
{"language": "c", "success": true, "metadata": {"lines": 16, "avg_line_length": 35.5, "nodes": 44, "errors": 0, "source_hash": "1d14d1c0e93cd850fd541d5642ae9f04d760b867612fccdc6b2ac4a31a4752b8", "categorized_nodes": 39}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#includ...
79,745
c
#ifndef WIZ_STACK_SIZE_T_H #define WIZ_STACK_SIZE_T_H #include <stdlib.h> #include "wiz_vector_size_t.h" #define FORM(A, B) A##B struct FORM(wiz_stack_, size_t) { FORM(wiz_vector_, size_t) stack; size_t count; }; typedef struct FORM(wiz_stack_, size_t) FORM(wiz_stack_, size_t); void FORM(...
27.61
33
(translation_unit) "#ifndef WIZ_STACK_SIZE_T_H \n#define WIZ_STACK_SIZE_T_H \n \n#include <stdlib.h> \n#include "wiz_vector_size_t.h" \n \n#define FORM(A, B) A##B \n \n \nstruct FORM(wiz_stack_, size_t) \n{ \n FORM(wiz_vector_, size_t) stack; \n size_t count; \n}; \n \ntypedef struct FORM(wiz_stack_, size_t) FORM(wiz_s...
357
11
{"language": "c", "success": true, "metadata": {"lines": 33, "avg_line_length": 27.61, "nodes": 251, "errors": 0, "source_hash": "e121f2a823e19f5bda4ee30af70ac821de3d4dce73672a1c07781a5da9dc2a5b", "categorized_nodes": 155}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
79,746
c
/* * This header is generated by classdump-dyld 1.0 * on Sunday, September 27, 2020 at 12:26:17 PM Mountain Standard Time * Operating System: Version 14.0 (Build 18A373) * Image Source: /System/Library/PrivateFrameworks/Settings/PrivacySettingsUI.framework/PrivacySettingsUI * classdump-dyld is licensed under GPLv3, Cop...
43.11
18
(translation_unit) "/*\n* This header is generated by classdump-dyld 1.0\n* on Sunday, September 27, 2020 at 12:26:17 PM Mountain Standard Time\n* Operating System: Version 14.0 (Build 18A373)\n* Image Source: /System/Library/PrivateFrameworks/Settings/PrivacySettingsUI.framework/PrivacySettingsUI\n* classdump-dyld is ...
102
10
{"language": "c", "success": true, "metadata": {"lines": 18, "avg_line_length": 43.11, "nodes": 58, "errors": 0, "source_hash": "56f193f2f926ffe3c903a78d179d5c9422b5c997c4641087ceb94a1e8398d467", "categorized_nodes": 38}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <P...
79,747
c
// Copyright (c) 2021 <NAME>. // This code is licensed under MIT license (see LICENSE.txt for details) #ifndef STAMP_TIMESTAMP_H #define STAMP_TIMESTAMP_H #include "bytes.h" #include <iostream> namespace stamp { // 对TIME_STAMP格式进行设定 enum TIME_STAMP_TYPE {NTP, PTP}; extern TIME_STAMP_TYPE timestamp_type; ...
26.25
24
(translation_unit) "// Copyright (c) 2021 <NAME>.\n// This code is licensed under MIT license (see LICENSE.txt for details)\n#ifndef STAMP_TIMESTAMP_H\n#define STAMP_TIMESTAMP_H\n\n#include "bytes.h"\n\n#include <iostream>\n\nnamespace stamp {\n // 对TIME_STAMP格式进行设定\n enum TIME_STAMP_TYPE {NTP, PTP};\n extern ...
123
6
{"language": "c", "success": true, "metadata": {"lines": 24, "avg_line_length": 26.25, "nodes": 82, "errors": 0, "source_hash": "10d9f6c678ea16681fc97d9678775a9f5411231c3fae4a790d593ed8566ce91b", "categorized_nodes": 61}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
79,748
c
/* * Memory management wrappers */ #ifndef _AI_MEM_H_ #define _AI_MEM_H_ void *AI_malloc(size_t size); void AI_free(void *mem); void *AI_memcpy(void *dest, void const *src, size_t size); void *AI_memset(void *dest, int val, size_t len); #endif /* _AI_MEM_H_ */
25.3
10
(translation_unit) "/*\n * Memory management wrappers\n */\n#ifndef _AI_MEM_H_\n#define _AI_MEM_H_\n\nvoid *AI_malloc(size_t size);\n\nvoid AI_free(void *mem);\n\nvoid *AI_memcpy(void *dest, void const *src, size_t size);\n\nvoid *AI_memset(void *dest, int val, size_t len);\n\n#endif /* _AI_MEM_H_ */\n" (comment) "/*...
86
0
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 25.3, "nodes": 65, "errors": 0, "source_hash": "5ed35285eb4a0c89d3d43c7a85f6c966241e44db2bed0014c4ea192a090401d6", "categorized_nodes": 33}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef _...
79,749
c
//------------------------------------------------------------------------------ /* This file is part of rippled: https://github.com/ripple/rippled Copyright (c) 2012, 2013 Ripple Labs Inc. Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby ...
28.25
93
(translation_unit) "//------------------------------------------------------------------------------\n/*\n This file is part of rippled: https://github.com/ripple/rippled\n Copyright (c) 2012, 2013 Ripple Labs Inc.\n\n Permission to use, copy, modify, and/or distribute this software for any\n purpose with ...
513
42
{"language": "c", "success": true, "metadata": {"lines": 93, "avg_line_length": 28.25, "nodes": 266, "errors": 0, "source_hash": "73c9e5f1aec8b754c2a30899ec4b3dba0b9eae10a2df961aac3ca87486a50107", "categorized_nodes": 188}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
79,750
c
// // Created by kewen on 2019-08-16. // #include "looper.h" #include <stdio.h> #include <string.h> #include <stdlib.h> #include "../common/log.h" #define LOG_TAG "adi_looper" static message_t *fetch_message(message_queue_t *queue) { if (queue->size < 1) { return NULL; } message_t *message = queu...
30.46
171
(translation_unit) "//\n// Created by kewen on 2019-08-16.\n//\n\n#include "looper.h"\n#include <stdio.h>\n#include <string.h>\n#include <stdlib.h>\n#include "../common/log.h"\n\n#define LOG_TAG "adi_looper"\n\nstatic message_t *fetch_message(message_queue_t *queue) {\n if (queue->size < 1) {\n return NULL;\n...
1,586
0
{"language": "c", "success": true, "metadata": {"lines": 171, "avg_line_length": 30.46, "nodes": 944, "errors": 0, "source_hash": "943eabe3ab5e3ac9570dc8f98cd0723ec30a9465f415e01428c63939b0ad9941", "categorized_nodes": 640}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
79,751
c
// // RecipeDetailViewController.h // RecipeBook // // Created by <NAME> on 2021/07/02. // Copyright (c) 2021. All rights reserved. // #import <UIKit/UIKit.h> @interface RecipeDetailViewController : UIViewController @property (nonatomic, strong) IBOutlet UILabel *recipeLabel; @property (nonatomic, strong) NSStri...
27.17
12
(translation_unit) "//\n// RecipeDetailViewController.h\n// RecipeBook\n//\n// Created by <NAME> on 2021/07/02.\n// Copyright (c) 2021. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface RecipeDetailViewController : UIViewController\n\n@property (nonatomic, strong) IBOutlet UILabel *recipeLabel;\n@pr...
56
11
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 27.17, "nodes": 38, "errors": 0, "source_hash": "88219f0edb9e1c5bdb93ec99b5913634e71b7ba011447efc90047ce6857930b7", "categorized_nodes": 19}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <...
79,752
c
#ifndef _BITS_DIRENT_H #define _BITS_DIRENT_H // Shamelessly stolen from musl #define DT_UNKNOWN 0 #define DT_FIFO 1 #define DT_CHR 2 #define DT_DIR 4 #define DT_BLK 6 #define DT_REG 8 #define DT_LNK 10 #define DT_SOCK 12 #define DT_WHT 14 #define IFTODT(x) ((x)>>12 & 017) #define DTTOIF(x) ((x)<<12) #endif /* _BITS_...
21
15
(translation_unit) "#ifndef _BITS_DIRENT_H\n#define _BITS_DIRENT_H\n\n// Shamelessly stolen from musl\n#define DT_UNKNOWN 0\n#define DT_FIFO 1\n#define DT_CHR 2\n#define DT_DIR 4\n#define DT_BLK 6\n#define DT_REG 8\n#define DT_LNK 10\n#define DT_SOCK 12\n#define DT_WHT 14\n#define IFTODT(x) ((x)>>12 & 017)\n#define DTT...
62
0
{"language": "c", "success": true, "metadata": {"lines": 15, "avg_line_length": 21.0, "nodes": 55, "errors": 0, "source_hash": "6d6cfe930ab1885624ccf03df8aa94f5bebcfcd689ec387912bbba3ab8e44002", "categorized_nodes": 20}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef _...
79,753
c
#ifndef _TCS_H_ #define _TCS_H_ #define DEBUG #undef DEBUG #define MAX_PLANNER_CONTROLS 1000 #endif // TCS_H_
17.5
6
(translation_unit) "#ifndef _TCS_H_\n#define _TCS_H_\n\n#define DEBUG \n#undef DEBUG\n\n#define MAX_PLANNER_CONTROLS 1000\n\n#endif // TCS_H_\n" (preproc_ifdef) "#ifndef _TCS_H_\n#define _TCS_H_\n\n#define DEBUG \n#undef DEBUG\n\n#define MAX_PLANNER_CONTROLS 1000\n\n#endif" (#ifndef) "#ifndef" (identifier) "_...
17
0
{"language": "c", "success": true, "metadata": {"lines": 6, "avg_line_length": 17.5, "nodes": 15, "errors": 0, "source_hash": "af1a322d72aa138cb3ecdf95eed6c7f5f90797aa43f4834845dec021395735be", "categorized_nodes": 7}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef _TC...
79,754
c
/* Config.h Written by <NAME> Options that affect the compiler, debug output, DirectX debug modes, etc. */ //#define USE_EMPTY_CALLBACK #define USE_D3DX // // VS 8+ includes some bounds checking even in release mode. This include disable this and // enables full optimization. // #ifndef _DEBUG #defin...
19.4
55
(translation_unit) "/* \nConfig.h \nWritten by <NAME> \n \nOptions that affect the compiler, debug output, DirectX debug modes, etc. \n*/ \n \n//#define USE_EMPTY_CALLBACK \n#define USE_D3DX \n \n// \n// VS 8+ includes some bounds checking even in release mode. This include disable this and \n// enables full optimizat...
62
0
{"language": "c", "success": true, "metadata": {"lines": 55, "avg_line_length": 19.4, "nodes": 30, "errors": 0, "source_hash": "73433d240fa9b3798b9397c83583d3263bb74c6c0c6c3899404e3a972f2252f7", "categorized_nodes": 15}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_def", "text": "#define USE...
79,755
c
#ifndef __PAGE_FILE_H #define __PAGE_FILE_H #include <stasis/pageHandle.h> #include <stasis/logger/logger2.h> stasis_page_handle_t* openPageFile(stasis_log_t * log, stasis_dirty_page_table_t * dirtyPages); stasis_page_handle_t* stasis_page_handle_deprecated_factory(stasis_log_t *log, stasis_dirty_page_table_t *dpt);...
48.29
7
(translation_unit) "#ifndef __PAGE_FILE_H\n#define __PAGE_FILE_H\n\n#include <stasis/pageHandle.h>\n#include <stasis/logger/logger2.h>\n\nstasis_page_handle_t* openPageFile(stasis_log_t * log, stasis_dirty_page_table_t * dirtyPages);\nstasis_page_handle_t* stasis_page_handle_deprecated_factory(stasis_log_t *log, stasis...
57
0
{"language": "c", "success": true, "metadata": {"lines": 7, "avg_line_length": 48.29, "nodes": 47, "errors": 0, "source_hash": "d8eb1ba7cec2a31c25ffb088ea55c90f510f0e959b5f88b09749b93abfb87a31", "categorized_nodes": 31}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef _...
79,756
c
#include <QtTest/QTest> class DaemonClientTest : public QObject { Q_OBJECT private slots: /** * Test that DBus service provided by the digcrossd daemon is available. **/ void dbusServiceAvailable(); /** * Connect to transaction daemon and verify the feedback. For * convenience in checking that th...
32.88
17
(translation_unit) "#include <QtTest/QTest>\n\nclass DaemonClientTest : public QObject {\n Q_OBJECT\n private slots:\n /**\n * Test that DBus service provided by the digcrossd daemon is available.\n **/\n void dbusServiceAvailable();\n\n /**\n * Connect to transaction daemon and verify the feedback. For\n *...
41
1
{"language": "c", "success": true, "metadata": {"lines": 17, "avg_line_length": 32.88, "nodes": 21, "errors": 0, "source_hash": "5c07b61ecfe0a340643204c2a31b6f14642294da75958e13f0380ef4b339cf2c", "categorized_nodes": 15}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
79,757
c
#ifndef HAS_MATERIALS_H_BEEN_INCLUDED #define HAS_MATERIALS_H_BEEN_INCLUDED #include "resource.h" #include <stdint.h> #include <string> #include <vector> #include <glm/glm.hpp> class MaterialSet { public: // ---------------------------------------------------------------------------- MaterialSet() : textureA...
28.77
71
(translation_unit) "#ifndef HAS_MATERIALS_H_BEEN_INCLUDED\n#define HAS_MATERIALS_H_BEEN_INCLUDED\n\n#include "resource.h"\n\n#include <stdint.h>\n#include <string>\n#include <vector>\n#include <glm/glm.hpp>\n\nclass MaterialSet\n{\npublic:\n\n // -----------------------------------------------------------------------...
560
12
{"language": "c", "success": true, "metadata": {"lines": 71, "avg_line_length": 28.77, "nodes": 325, "errors": 0, "source_hash": "16774dd031d5c05ef22c1bac62ab31cc3f1787bda79642c37321b137e7a2de9d", "categorized_nodes": 234}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
79,758
c
// blibioteca #include <stdio.h> #include <stdlib.h> #include <math.h> //funçao principal int main() { //variaveis int num, quadrado, raiz; //saida para coleta de dados printf("Digite um numero: "); scanf("%d", &num); //condiçao if (num % 2 == 0) { //formula para numeros pares...
21.21
24
(translation_unit) "// blibioteca\n#include <stdio.h>\n#include <stdlib.h>\n#include <math.h>\n//funçao principal\nint main()\n{ \n //variaveis\n int num, quadrado, raiz;\n //saida para coleta de dados\n printf("Digite um numero: ");\n scanf("%d", &num);\n //condiçao\n if (num % 2 == 0)\n {\n ...
133
0
{"language": "c", "success": true, "metadata": {"lines": 24, "avg_line_length": 21.21, "nodes": 68, "errors": 0, "source_hash": "ff6170a5b5121cff8f0186e6d9e607d0b5fa9b831e85ba0d5e98ad9a9ce6c2f2", "categorized_nodes": 52}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
79,759
c
// // LZViewController.h // TRULogining // // Created by <EMAIL> on 02/28/2019. // Copyright (c) 2019 <EMAIL>. All rights reserved. // @import UIKit; @interface LZViewController : UIViewController @end
19.6
10
(translation_unit) "//\n// LZViewController.h\n// TRULogining\n//\n// Created by <EMAIL> on 02/28/2019.\n// Copyright (c) 2019 <EMAIL>. All rights reserved.\n//\n\n@import UIKit;\n\n@interface LZViewController : UIViewController\n\n@end\n" (comment) "//" (comment) "// LZViewController.h" (comment) "// TRULo...
22
5
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 19.6, "nodes": 10, "errors": 0, "source_hash": "28bacc946dded1ee105c003fd53d87ac1833115b3691d4f816ebbe2f98017819", "categorized_nodes": 5}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "@", "parent": null...
79,760
c
//--------------------------------------------------------------------------- // Greenplum Database // Copyright (C) 2012 EMC Corp. // // @filename: // CLogicalAssert.h // // @doc: // Assert operator //--------------------------------------------------------------------------- #ifndef GPOS_CLogicalAssert_H #define GP...
29.37
105
(translation_unit) "//---------------------------------------------------------------------------\n// Greenplum Database\n// Copyright (C) 2012 EMC Corp.\n//\n// @filename:\n// CLogicalAssert.h\n//\n// @doc:\n// Assert operator\n//---------------------------------------------------------------------------\n#ifndef GP...
477
11
{"language": "c", "success": true, "metadata": {"lines": 105, "avg_line_length": 29.37, "nodes": 260, "errors": 0, "source_hash": "de65a9c3a8437cebaaba4b454ed19ae6e9bcf13134e1b025cab5d050819a42a8", "categorized_nodes": 185}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
79,761
c
/** * \file * \brief Platform code for the Xilinx Zynq7000-series SoCs */ /* * Copyright (c) 2016 ETH Zurich. * All rights reserved. * * This file is distributed under the terms in the attached LICENSE file. * If you do not find this file, copies can be found by writing to: * ETH Zurich D-INFK, Universitaetst...
25.35
31
(translation_unit) "/**\n * \file\n * \brief Platform code for the Xilinx Zynq7000-series SoCs\n */\n\n/*\n * Copyright (c) 2016 ETH Zurich.\n * All rights reserved.\n *\n * This file is distributed under the terms in the attached LICENSE file.\n * If you do not find this file, copies can be found by writing to:\n * ET...
97
0
{"language": "c", "success": true, "metadata": {"lines": 31, "avg_line_length": 25.35, "nodes": 68, "errors": 0, "source_hash": "48d8d469286b049de8686e9f20d9de29f7c477ec19d66920841d486b04c9f45f", "categorized_nodes": 40}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
79,762
c
// // TTLiveAgentWidget.h // Pods // // Created by <NAME> on 22/06/15. // // #import <Foundation/Foundation.h> #import <UIKit/UIKit.h> #import "TTLiveAgentWidgetQuestionsController.h" #import "TTLiveAgentWidgetTopicsController.h" #import "TTLiveAgentWidgetDataManager.h" #import "TTLiveAgentWidgetEmailComposer.h" #i...
37.35
78
(ERROR) "//\n// TTLiveAgentWidget.h\n// Pods\n//\n// Created by <NAME> on 22/06/15.\n//\n//\n\n#import <Foundation/Foundation.h>\n#import <UIKit/UIKit.h>\n#import "TTLiveAgentWidgetQuestionsController.h"\n#import "TTLiveAgentWidgetTopicsController.h"\n#import "TTLiveAgentWidgetDataManager.h"\n#import "TTLiveAgentWid...
475
43
{"language": "c", "success": true, "metadata": {"lines": 78, "avg_line_length": 37.35, "nodes": 282, "errors": 0, "source_hash": "99c6af04c526c67c18d37d5b2a7da6c5c07e52dc3385701884f43fbd711dc55c", "categorized_nodes": 161}, "ast": {"root": "ERROR", "nodes": [{"id": 0, "type": "ERROR", "text": "//\n// TTLiveAgentWidget...
79,763
c
// // TWRLoginVC.h // Twitteroid // // Created by Mac on 23/07/15. // Copyright (c) 2015 Kievkao. All rights reserved. // #import <UIKit/UIKit.h> #import "TWRLoginViewProtocol.h" #import "TWRLoginEventHandlerProtocol.h" @interface TWRLoginViewController : UIViewController <TWRLoginViewProtocol, TWRViewControllerI...
30.62
13
(translation_unit) "//\n// TWRLoginVC.h\n// Twitteroid\n//\n// Created by Mac on 23/07/15.\n// Copyright (c) 2015 Kievkao. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n#import "TWRLoginViewProtocol.h"\n#import "TWRLoginEventHandlerProtocol.h"\n\n@interface TWRLoginViewController : UIViewController <TWRLogin...
51
8
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 30.62, "nodes": 36, "errors": 0, "source_hash": "74e09c01d138d48d798a1d0bdc4ba69552ea0616d837beecd058a6ae963a8939", "categorized_nodes": 17}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <...
79,764
c
/* * Copyright 2021 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
40.56
27
(translation_unit) "/*\n * Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by...
77
1
{"language": "c", "success": true, "metadata": {"lines": 27, "avg_line_length": 40.56, "nodes": 50, "errors": 0, "source_hash": "c6444474ea90e10cb60482dd45f9a9026b8e7a14de9c5f49e9a4884a1166a037", "categorized_nodes": 38}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
79,765
c
#ifndef MODEL_MANAGER_H_INCLUDED # define MODEL_MANAGER_H_INCLUDED # include <inex/extensions.h> # include <inex/render/common/sources/res_shader.h> # include <inex/render/gl4/sources/visual.h> # include <vector> namespace inex { namespace resources { struct managed_resource_ptr { math::float4x4 m_vertices; ...
34.36
84
(translation_unit) "#ifndef MODEL_MANAGER_H_INCLUDED\n# define MODEL_MANAGER_H_INCLUDED\n\n# include <inex/extensions.h>\n# include <inex/render/common/sources/res_shader.h>\n# include <inex/render/gl4/sources/visual.h>\n\n# include <vector>\n\nnamespace inex {\n namespace resources {\n struct managed_resource_ptr\n ...
618
20
{"language": "c", "success": true, "metadata": {"lines": 84, "avg_line_length": 34.36, "nodes": 371, "errors": 0, "source_hash": "8dccd025403fb51df76d3d8cd99a5a2abae839f130f45fd5f0f1220338343b33", "categorized_nodes": 275}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
79,766
c
#pragma once #include <array> #include "BlocModel.h" class GraphicEntity; class Bloc { public: Bloc(BlocModel const &model_p, std::array<unsigned long, 3> const &position_p, double level_p); /// @brief update the level will (will also update _position[2]) void updateLevel(double level_p); /// @brief update _p...
35.21
38
(translation_unit) "#pragma once\n\n#include <array>\n\n#include "BlocModel.h"\n\nclass GraphicEntity;\n\nclass Bloc\n{\npublic:\n Bloc(BlocModel const &model_p, std::array<unsigned long, 3> const &position_p, double level_p);\n\n /// @brief update the level will (will also update _position[2])\n void updateLevel(doubl...
341
25
{"language": "c", "success": true, "metadata": {"lines": 38, "avg_line_length": 35.21, "nodes": 199, "errors": 0, "source_hash": "e251d626a98e547217ce9ceaededbfee224d54ba83f11a49b7efb20a5edbd34c", "categorized_nodes": 117}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
79,767
c
#include <stdio.h> #include <string.h> #include <unistd.h> #include <sys/types.h> #include <sys/stat.h> #include "bloques/bloques.h" #include "ficheros_basico/ficheros_basico.h" int main(int argc, char const *argv[]) { if(argc != 3){ puts("Uso: mi_mkfs <nombre_fichero> <cantidad_bloques>"); return -1; } bmo...
25.33
27
(translation_unit) "#include <stdio.h>\n#include <string.h>\n#include <unistd.h>\n#include <sys/types.h>\n#include <sys/stat.h>\n#include "bloques/bloques.h"\n#include "ficheros_basico/ficheros_basico.h"\n\nint main(int argc, char const *argv[])\n{\n if(argc != 3){\n puts("Uso: mi_mkfs <nombre_fichero> <cantidad_bloqu...
223
0
{"language": "c", "success": true, "metadata": {"lines": 27, "avg_line_length": 25.33, "nodes": 135, "errors": 0, "source_hash": "a1fe784c00383921da487baf47217f7ce8d6261ad591d0910b47f258c806b3df", "categorized_nodes": 97}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
79,768
c
/*! \file dfkvkselect.c \brief Sorts only the largest k values \date Started 7/14/00 \author George \version\verbatim $Id: fkvkselect.c 10711 2011-08-31 22:23:04Z karypis $\endverbatim */ #include <GKlib.h> /* Byte-wise swap two items of size SIZE. */ #define QSSWAP(a, b, stmp) do { stmp = (a); (a) = (b); (b) =...
26.12
120
(translation_unit) "/*!\n\file dfkvkselect.c\n\brief Sorts only the largest k values\n \n\date Started 7/14/00\n\author George\n\version\verbatim $Id: fkvkselect.c 10711 2011-08-31 22:23:04Z karypis $\endverbatim\n*/\n\n\n#include <GKlib.h>\n\n/* Byte-wise swap two items of size SIZE. */\n#define QSSWAP(a, b, stmp) ...
786
0
{"language": "c", "success": true, "metadata": {"lines": 120, "avg_line_length": 26.12, "nodes": 481, "errors": 0, "source_hash": "ffbbeb095c13157ce1f54df13c9acf070b2ecb2d620e867556f8f8d280a52742", "categorized_nodes": 380}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
79,769
c
// Generated by HLC 4.2.1 (HL v4) #define HLC_BOOT #include <hlc.h> #include <haxe/ds/BalancedTree.h> haxe__ds__TreeNode haxe_ds_BalancedTree_setLoop(haxe__ds__BalancedTree,vdynamic*,vdynamic*,haxe__ds__TreeNode); #include <hl/types/ArrayObj.h> #include <haxe/iterators/ArrayIterator.h> extern hl_type t$_dyn; #include ...
27.93
304
(translation_unit) " Generated by HLC 4.2.1 (HL v4)\n#define HLC_BOOT\n#include <hlc.h>\n#include <haxe/ds/BalancedTree.h>\nhaxe__ds__TreeNode haxe_ds_BalancedTree_setLoop(haxe__ds__BalancedTree,vdynamic*,vdynamic*,haxe__ds__TreeNode);\n#include <hl/types/ArrayObj.h>\n#include <haxe/iterators/ArrayIterator.h>\nextern h...
2,960
0
{"language": "c", "success": true, "metadata": {"lines": 304, "avg_line_length": 27.93, "nodes": 1811, "errors": 0, "source_hash": "cbfc7e3bfb5ec5d995dd696be67428447e78c077fd20176c85487a49fb2982b2", "categorized_nodes": 1244}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_def", "text": "efine...
79,770
c
// // FMHotBrandCeollctionSectionHeadView.h // ForMan // // Created by 陈炜来 on 16/9/1. // Copyright © 2016年 RuiBao. All rights reserved. // #import <UIKit/UIKit.h> @interface FMHotBrandCeollctionSectionHeadView : UICollectionReusableView @property (weak, nonatomic) IBOutlet UILabel *brandNameLaebl; @end
27
11
(translation_unit) "//\n// FMHotBrandCeollctionSectionHeadView.h\n// ForMan\n//\n// Created by 陈炜来 on 16/9/1.\n// Copyright © 2016年 RuiBao. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface FMHotBrandCeollctionSectionHeadView : UICollectionReusableView\n@property (weak, nonatomic) IBOutlet UILabel *...
38
7
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 27.0, "nodes": 25, "errors": 0, "source_hash": "fcc912357a7ffe230731bbef538acc609ae84155c0ee90fa917af7d1fe33ca43", "categorized_nodes": 13}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "UIKit/UIKi...
79,771
c
#include <stdbool.h> #include <stddef.h> #include <stdlib.h> #include <stdio.h> #include <string.h> // Copied from musl libc static char* utf8_strdup(const char* str) { size_t len = strlen(str); char* dest = malloc(len + 1); if (!dest) { return NULL; } return memcpy(dest, str, len + 1); } // Copied from musl...
22.67
194
(translation_unit) "#include <stdbool.h>\n#include <stddef.h>\n#include <stdlib.h>\n#include <stdio.h>\n#include <string.h>\n\n// Copied from musl libc\nstatic char*\nutf8_strdup(const char* str)\n{\n size_t len = strlen(str);\n char* dest = malloc(len + 1);\n\n if (!dest) {\n return NULL;\n }\n\n return memcpy(dest, ...
1,489
0
{"language": "c", "success": true, "metadata": {"lines": 194, "avg_line_length": 22.67, "nodes": 927, "errors": 0, "source_hash": "b7fb31147815166cdd07b0b907ebea599c7d37b3d8b0ad525db54666fbc234d7", "categorized_nodes": 571}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
79,772
c
#include <esp_log.h> #include <freertos/FreeRTOS.h> #include <freertos/semphr.h> #include <freertos/task.h> #include "naos.h" #include "task.h" #include "utils.h" static SemaphoreHandle_t naos_task_mutex; static TaskHandle_t naos_task_ref; static bool naos_task_started = false; static void naos_task_process(void *...
25.51
79
(translation_unit) "#include <esp_log.h>\n#include <freertos/FreeRTOS.h>\n#include <freertos/semphr.h>\n#include <freertos/task.h>\n\n#include "naos.h"\n#include "task.h"\n#include "utils.h"\n\nstatic SemaphoreHandle_t naos_task_mutex;\n\nstatic TaskHandle_t naos_task_ref;\n\nstatic bool naos_task_started = false;\n\ns...
477
0
{"language": "c", "success": true, "metadata": {"lines": 79, "avg_line_length": 25.51, "nodes": 229, "errors": 0, "source_hash": "5b7b24a87f48ab5eb216c026eb634f3588ee3e2607edd4adafeafc7aacdce2a1", "categorized_nodes": 168}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
79,773
c
// // ViewController.h // CollectionViewTest // // Created by most on 2017/12/20. // Copyright © 2017年 most. All rights reserved. // #import <UIKit/UIKit.h> @interface ViewController : UIViewController @end
18.27
11
(translation_unit) "//\n// ViewController.h\n// CollectionViewTest\n//\n// Created by most on 2017/12/20.\n// Copyright © 2017年 most. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface ViewController : UIViewController\n\n\n@end\n\n" (comment) "//" (comment) "// ViewController.h" (comment) "//...
22
4
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 18.27, "nodes": 12, "errors": 0, "source_hash": "2a73a75ed692d055b94221686bb8163c5f076d9caf9bc09697fda1529bb3973c", "categorized_nodes": 6}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "port <UIKi...
79,774
c
#include<stdio.h> #include<malloc.h> void quick_sort(int s[],int l,int r) { if(l < r) { int i=l,j=r,x=s[l]; while(i<j) { while(i<j&&s[j]<=x) j--; if(i<j) s[i++]=s[j]; while(i<j&&s[i]>=x) i++; ...
18.48
46
(translation_unit) "#include<stdio.h>\n#include<malloc.h>\nvoid quick_sort(int s[],int l,int r)\n{\n if(l < r)\n {\n int i=l,j=r,x=s[l];\n while(i<j)\n {\n while(i<j&&s[j]<=x)\n j--;\n if(i<j)\n s[i++]=s[j];\n while(i<j&&s[i]>=x)\...
487
0
{"language": "c", "success": true, "metadata": {"lines": 46, "avg_line_length": 18.48, "nodes": 301, "errors": 0, "source_hash": "054e36437dd093f3539456a14062f7d67bf97aeb9e6b21a390f6f065335bb4b7", "categorized_nodes": 221}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
79,775
c
#pragma once #include "arduino.h" #include "Element.h" #include <functional> class OneShotTimer : public Element { public: OneShotTimer(unsigned long timeout, bool startFromBoot); void Stop(); void Reset(); std::function<void()> OnTick; unsigned long Timeout; private: unsigned long _startTime; bool _active; ...
17.58
19
(translation_unit) "#pragma once\n\n#include "arduino.h"\n#include "Element.h"\n#include <functional>\n\n\nclass OneShotTimer : public Element\n{\npublic:\n OneShotTimer(unsigned long timeout, bool startFromBoot);\n void Stop();\n void Reset();\n std::function<void()> OnTick;\n unsigned long Timeout;\n\nprivate:\n unsi...
116
4
{"language": "c", "success": true, "metadata": {"lines": 19, "avg_line_length": 17.58, "nodes": 71, "errors": 0, "source_hash": "1417d140b8157a6f793a4a8dea953a8fb3a5e2c708385935eace4638ab3502b9", "categorized_nodes": 45}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
79,776
c
struct FASTPIX3D_API Color { public: int32 R, G, B; Color(); Color(int32 r, int32 g, int32 b); Color(int32 rgb); int32 getRGB(); };
12.55
11
(translation_unit) "struct FASTPIX3D_API Color \n{ \npublic: \n int32 R, G, B; \n \n Color(); \n Color(int32 r, int32 g, int32 b); \n Color(int32 rgb); \n \n int32 getRGB(); \n};" (function_definition) "struct FASTPIX3D_API Color \n{ \npublic: \n int32 R, G, B; \n \n Color(); \n Color(int32 r, int32 g, int32 b); \n C...
64
3
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 12.55, "nodes": 37, "errors": 0, "source_hash": "a58e8a0c2b8c7050b201f760c9359b970e67202d802344a66946c2490dc6cfd3", "categorized_nodes": 29}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "function_definition", "text": "st...
79,777
c
#ifndef __MyVolumeImportDialog__ #define __MyVolumeImportDialog__ /** @file Subclass of MovieImportDialog, which is generated by wxFormBuilder. */ //// end generated include /** Implementing MovieImportDialog */ class MyVolumeImportDialog : public VolumeImportDialog { public: /** Constructor */ MyVolumeImp...
32.83
23
(translation_unit) "#ifndef __MyVolumeImportDialog__\n#define __MyVolumeImportDialog__\n\n/**\n@file\nSubclass of MovieImportDialog, which is generated by wxFormBuilder.\n*/\n\n//// end generated include\n\n/** Implementing MovieImportDialog */\nclass MyVolumeImportDialog : public VolumeImportDialog {\n public:\n /...
139
8
{"language": "c", "success": true, "metadata": {"lines": 23, "avg_line_length": 32.83, "nodes": 80, "errors": 0, "source_hash": "0cdd8dead90881bf0538b4fc83f259caf247bf68e331e564c0aca798942df195", "categorized_nodes": 58}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
79,778
c
#ifndef __OPENCL_C_VERSION__ #include <CL/cl.hpp> typedef cl_float3 float3; typedef cl_float4 float4; #endif float sqr(float x); float4 float3ToFloat4(float3 x, float c); float3 float4ToFloat3(float4 x); float getW(float4 x);
24.11
9
(translation_unit) "#ifndef __OPENCL_C_VERSION__\n\n#include <CL/cl.hpp>\n\ntypedef cl_float3 float3;\ntypedef cl_float4 float4;\n\n#endif\n\nfloat sqr(float x);\nfloat4 float3ToFloat4(float3 x, float c);\nfloat3 float4ToFloat3(float4 x);\nfloat getW(float4 x);\n" (preproc_ifdef) "#ifndef __OPENCL_C_VERSION__\n\n#inc...
66
0
{"language": "c", "success": true, "metadata": {"lines": 9, "avg_line_length": 24.11, "nodes": 50, "errors": 0, "source_hash": "2d990a41c9f5f113513c9b78eb25e4c1417a7a919cf3391af6d089f146ed2e4c", "categorized_nodes": 40}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef _...
79,779
c
#include "event2/event.h" #include "event2/util.h" #include "server.h" #include "event2/visibility.h" #include <sys/socket.h> #include <string.h> #include <stdio.h> #include <fcntl.h> #include "event2/listener.h" #include <stdlib.h> #include <arpa/inet.h> #include "event2/bufferevent.h" #include "event2/buffer.h" #in...
26.8
137
(translation_unit) "#include "event2/event.h"\n#include "event2/util.h"\n#include "server.h"\n#include "event2/visibility.h"\n#include <sys/socket.h>\n#include <string.h>\n#include <stdio.h>\n#include <fcntl.h>\n#include "event2/listener.h"\n#include <stdlib.h>\n#include <arpa/inet.h>\n#include "event2/bufferevent.h"\n...
901
0
{"language": "c", "success": true, "metadata": {"lines": 137, "avg_line_length": 26.8, "nodes": 529, "errors": 0, "source_hash": "9f8f7369ad7fe9e6e361dc94e40de6ae68ce6d44af549acc95bf534a7f03c2d2", "categorized_nodes": 386}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
79,780
c
#include <stdio.h> int main(int ac, char * av[]){ printf("%d\n", ac); printf("%s\n", av[0]); return 0; }
18.5
6
(translation_unit) "#include <stdio.h>\nint main(int ac, char * av[]){\n printf("%d\n", ac);\n printf("%s\n", av[0]);\n return 0;\n}" (preproc_include) "#include <stdio.h>\n" (#include) "#include" (system_lib_string) "<stdio.h>" (function_definition) "int main(int ac, char * av[]){\n printf("%d\...
62
0
{"language": "c", "success": true, "metadata": {"lines": 6, "avg_line_length": 18.5, "nodes": 33, "errors": 0, "source_hash": "301a06453b3869b742da200aad49c0a9d840232765ced5b5655cb0abcc22e9d9", "categorized_nodes": 22}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#include...
79,781
c
#pragma once #include <Mist_Common/include/UtilityMacros.h> #include <memory> #include <utility> MIST_NAMESPACE namespace Detail { class AnyImpl; } // The Any class holds a variable of any type. // To retrieve the value however, the type requested must match the type of the value exactly. class Any {...
18.36
174
(translation_unit) "#pragma once \n \n#include <Mist_Common/include/UtilityMacros.h> \n#include <memory> \n#include <utility> \n \nMIST_NAMESPACE \n \nnamespace Detail { \n class AnyImpl; \n} \n \n// The Any class holds a variable of any type. \n// To retrieve the value however, the type requested must match the type o...
958
71
{"language": "c", "success": true, "metadata": {"lines": 174, "avg_line_length": 18.36, "nodes": 614, "errors": 0, "source_hash": "65c4993c07b5c193b7b6d27a29d8988b535cfa0a77b9098c10df40bdaa227d70", "categorized_nodes": 401}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragm...
79,782
c
// // BHROtherProjectView.h // <NAME> // // Created by <NAME> on 4/13/14. // Copyright (c) 2014 HIRMER.me. All rights reserved. // #import <UIKit/UIKit.h> @class BHROtherProjectItem; @interface BHROtherProjectView : UIView @property (nonatomic, strong) BHROtherProjectItem *item; @end
23.08
12
(translation_unit) "//\n// BHROtherProjectView.h\n// <NAME>\n//\n// Created by <NAME> on 4/13/14.\n// Copyright (c) 2014 HIRMER.me. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@class BHROtherProjectItem;\n\n@interface BHROtherProjectView : UIView\n\n@property (nonatomic, strong) BHROtherProjectItem *item...
42
8
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 23.08, "nodes": 26, "errors": 0, "source_hash": "72f2939bb60463cdd60bb96fc47015308a2469587662397537a272ff1ed77e55", "categorized_nodes": 13}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <...
79,783
c
#ifndef ALIFILTER_H #define ALIFILTER_H /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * See cxx source for full Copyright notice */ /* $Id$ */ // // base class for high level filter algorithms // Derived classes should implement a default constructor and //...
28.43
21
(translation_unit) "#ifndef ALIFILTER_H\n#define ALIFILTER_H\n/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *\n * See cxx source for full Copyright notice */\n\n/* $Id$ */\n\n//\n// base class for high level filter algorithms\n// Derived classes should implement...
79
2
{"language": "c", "success": true, "metadata": {"lines": 21, "avg_line_length": 28.43, "nodes": 45, "errors": 0, "source_hash": "ffd042078de08d824401b61781813eb1c7190aa3750e4163bf76719acc558d22", "categorized_nodes": 31}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
79,784
c
#include <errno.h> int main(){ int x = 5; if (errno == ENOENT) { x = 9; } assert(x == 5); // UNKNOWN return 0; } /* >>>Function definition missing for __errno_location (04-assign-to-ukwn.c:5) >>>Assignment to unknown address (04-assign-to-ukwn.c:5) >>>ANALYSIS IS NO LONGER SOUND! (04-assign-to-ukwn.c:...
20.6
15
(translation_unit) "#include <errno.h>\n\nint main(){\n int x = 5;\n if (errno == ENOENT) {\n x = 9;\n } \n assert(x == 5); // UNKNOWN\n return 0;\n}\n\n\n/*\n>>>Function definition missing for __errno_location (04-assign-to-ukwn.c:5)\n>>>Assignment to unknown address (04-assign-to-ukwn.c:5)\n>>>ANALYSIS IS NO ...
56
0
{"language": "c", "success": true, "metadata": {"lines": 15, "avg_line_length": 20.6, "nodes": 33, "errors": 0, "source_hash": "9a808ae782e2c4797522361d9e193eb4b575543d29fd75fdc730ec4d3aeef808", "categorized_nodes": 24}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#includ...
79,785
c
/** * Copyright 2019 <NAME> <<EMAIL>> */ #ifndef __OS_H_INCLUDED__ #define __OS_H_INCLUDED__ #include <stdint.h> namespace xbwee { namespace os { class Printer { public: // prints out a string to the console out stdout or debug log or whatever static void print(int ll, const char *msg); }; class Trace...
27.48
31
(translation_unit) "/**\n * Copyright 2019 <NAME> <<EMAIL>>\n */\n\n#ifndef __OS_H_INCLUDED__\n#define __OS_H_INCLUDED__\n\n#include <stdint.h>\n\nnamespace xbwee {\nnamespace os {\n\nclass Printer {\n public:\n // prints out a string to the console out stdout or debug log or whatever\n static void print(int ll...
204
0
{"language": "c", "success": true, "metadata": {"lines": 31, "avg_line_length": 27.48, "nodes": 113, "errors": 0, "source_hash": "362d94214e2dd97638025dd1bf701f3d4bd099591931b4521bfe3a6811d69b89", "categorized_nodes": 61}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
79,786
c
/* * halm/platform/stm32/exti.h * Copyright (C) 2021 xent * Project is distributed under the terms of the MIT License */ #ifndef HALM_PLATFORM_STM32_EXTI_H_ #define HALM_PLATFORM_STM32_EXTI_H_ /*----------------------------------------------------------------------------*/ #include <halm/interrupt.h> #include <hal...
29.73
40
(translation_unit) "/*\n * halm/platform/stm32/exti.h\n * Copyright (C) 2021 xent\n * Project is distributed under the terms of the MIT License\n */\n\n#ifndef HALM_PLATFORM_STM32_EXTI_H_\n#define HALM_PLATFORM_STM32_EXTI_H_\n/*----------------------------------------------------------------------------*/\n#include <ha...
125
0
{"language": "c", "success": true, "metadata": {"lines": 40, "avg_line_length": 29.73, "nodes": 83, "errors": 0, "source_hash": "cc19dd403479afd8ab8a8f4ff9ef0a1585f7d8da40cc0c702f88a271fd586703", "categorized_nodes": 64}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
79,787
c
#define _GNU_SOURCE #include <assert.h> #include <ctype.h> #include <errno.h> #include <pwd.h> #include <sched.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/mount.h> #include <sys/types.h> #include <unistd.h> #include <plash.h> void D(char *arr[]) { int ai; for (ai = 0; arr[ai]; ai++...
26.9
77
(translation_unit) "#define _GNU_SOURCE\n#include <assert.h>\n#include <ctype.h>\n#include <errno.h>\n#include <pwd.h>\n#include <sched.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include <sys/mount.h>\n#include <sys/types.h>\n#include <unistd.h>\n\n#include <plash.h>\n\nvoid D(char *arr[]) {\n ...
810
0
{"language": "c", "success": true, "metadata": {"lines": 77, "avg_line_length": 26.9, "nodes": 481, "errors": 0, "source_hash": "8b1130da81dc5d3177c2c7ae1f1bbc8132f47308f41cac597f62a0ddd7278cb9", "categorized_nodes": 332}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_def", "text": "#define _...
79,788
c
#include <stdint.h> #include <stddef.h> #include "frxt/xtensa_api.h" typedef void (* _xt_isr_t)(void *arg); // void ResetCcountVal(uint32_t cnt_val) // { // asm volatile("wsr a2, ccount"); // } // void _xt_isr_mask(uint32_t mask) // { // xt_ints_off(mask); // } // void _xt_isr_unmask(uint32_t mask) // { //...
22.05
20
(translation_unit) "#include <stdint.h>\n#include <stddef.h>\n\n#include "frxt/xtensa_api.h"\n\ntypedef void (* _xt_isr_t)(void *arg);\n\n// void ResetCcountVal(uint32_t cnt_val)\n// {\n// asm volatile("wsr a2, ccount");\n// }\n\n// void _xt_isr_mask(uint32_t mask)\n// {\n// xt_ints_off(mask);\n// }\n\n// void ...
48
0
{"language": "c", "success": true, "metadata": {"lines": 20, "avg_line_length": 22.05, "nodes": 23, "errors": 0, "source_hash": "db3697e33542d993cda2c44088fc7a9d500420b65ffc7788ddb77256b38ade2d", "categorized_nodes": 14}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
79,789
c
#include "../include/include.h" int main(int argc , char const *argv[]) { int file = open("/tmp/fifo", O_RDONLY); int b_read = 0; char buff[1024]; while((b_read = read(file , buff , 1024)) > 0) write(STDOU_FILENO , buff , b_read); close(file); return 0; }
27.8
10
(translation_unit) "#include "../include/include.h"\n\nint main(int argc , char const *argv[]) {\n int file = open("/tmp/fifo", O_RDONLY);\n int b_read = 0;\n char buff[1024];\n while((b_read = read(file , buff , 1024)) > 0)\n write(STDOU_FILENO , buff , b_read);\n close(file);\n return 0;\n}" ...
111
0
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 27.8, "nodes": 65, "errors": 0, "source_hash": "159b206a601154847f15a0dc14f0f1a46276df2bdd27b6d5802c9e44f60d15c6", "categorized_nodes": 44}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#includ...
79,790
c
#pragma once #include <cstdint> namespace SirEngine { namespace Hardware { #ifdef BUILD_AMD class AMDGPUQuery; #endif } // namespace Hardware namespace debug { struct HWInfoWidget final { static const int NUMBER_OF_SAMPLES = 200; HWInfoWidget(); void render(); float temperatureSamples[NUMBER_OF_SAMPLES]{}; f...
23.67
24
(translation_unit) "#pragma once\n#include <cstdint>\n\nnamespace SirEngine {\nnamespace Hardware {\n#ifdef BUILD_AMD\nclass AMDGPUQuery;\n#endif\n} // namespace Hardware\nnamespace debug {\nstruct HWInfoWidget final {\n static const int NUMBER_OF_SAMPLES = 200;\n HWInfoWidget();\n void render();\n float temperatur...
144
1
{"language": "c", "success": true, "metadata": {"lines": 24, "avg_line_length": 23.67, "nodes": 77, "errors": 0, "source_hash": "21e603fb48b43df521a89a5075323c407962fc4118a8ee46a8130ac783551be9", "categorized_nodes": 55}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
79,791
c
/* $NetBSD: sync_subr.c,v 1.11 2001/12/06 04:29:55 chs Exp $ */ /* * Copyright 1997 <NAME>. All Rights Reserved. * * This code is derived from work done by <NAME> at the * University of Michigan. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that t...
31.5
224
(translation_unit) "/* $NetBSD: sync_subr.c,v 1.11 2001/12/06 04:29:55 chs Exp $ */\n\n/*\n * Copyright 1997 <NAME>. All Rights Reserved.\n *\n * This code is derived from work done by <NAME> at the\n * University of Michigan.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, ...
890
0
{"language": "c", "success": true, "metadata": {"lines": 224, "avg_line_length": 31.5, "nodes": 536, "errors": 0, "source_hash": "a336c60b8d4b943365c8ff356c8746203d102a15874a8fe1a11a77748297d4cd", "categorized_nodes": 406}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
79,792
c
// // XTYJson.h // XTYModel // // Created by Michael on 16/8/19. // Copyright © 2016 Michael. All rights reserved. // #import <Foundation/Foundation.h> @interface XTYJson : NSObject <NSCopying> /** jsonObj is NSDictionary or NSArray*/ @property(nonatomic, readonly) id jsonObj; /** * init method */ - (instan...
36.23
96
(translation_unit) "//\n// XTYJson.h\n// XTYModel\n//\n// Created by Michael on 16/8/19.\n// Copyright © 2016 Michael. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n\n@interface XTYJson : NSObject <NSCopying>\n\n/** jsonObj is NSDictionary or NSArray*/\n@property(nonatomic, readonly) id jsonObj;\n\...
1,006
95
{"language": "c", "success": true, "metadata": {"lines": 96, "avg_line_length": 36.23, "nodes": 590, "errors": 0, "source_hash": "b3b65ef44e3004eca06d75c0b7772ec406f8030b11fe4accfc69aa8d6f1fbafb", "categorized_nodes": 348}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import ...
79,793
c
// // aboutMeVC.h // TakeMeHome // // Created by Nigel on 2015/8/3. // Copyright (c) 2015年 Josh. All rights reserved. // #import <UIKit/UIKit.h> @interface aboutMeVC : UIViewController @property (strong, nonatomic)NSString *getID; - (void)setAnimalProfile:(NSArray*)animalProfile; @end
21.38
13
(translation_unit) "//\n// aboutMeVC.h\n// TakeMeHome\n//\n// Created by Nigel on 2015/8/3.\n// Copyright (c) 2015年 Josh. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface aboutMeVC : UIViewController\n@property (strong, nonatomic)NSString *getID;\n\n\n- (void)setAnimalProfile:(NSArray*)animalProfil...
56
7
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 21.38, "nodes": 33, "errors": 0, "source_hash": "c1790abe3fbec2a738c3fd64f72ececb62211747685abe926b0b7506795a1961", "categorized_nodes": 18}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "mport <UI...
79,794
c
// // ZYIntegralMallSectionCH.h // WSCollege // // Created by spring on 2020/5/20. // Copyright © 2020 JG. All rights reserved. // #import "ZYBaseCollectionReusableView.h" NS_ASSUME_NONNULL_BEGIN @interface ZYIntegralMallSectionCH : ZYBaseCollectionReusableView @property (nonatomic, strong) UILabel *TitleLbl; ...
27.21
14
(translation_unit) "//\n// ZYIntegralMallSectionCH.h\n// WSCollege\n//\n// Created by spring on 2020/5/20.\n// Copyright © 2020 JG. All rights reserved.\n//\n\n#import "ZYBaseCollectionReusableView.h"\n\nNS_ASSUME_NONNULL_BEGIN\n\n@interface ZYIntegralMallSectionCH : ZYBaseCollectionReusableView\n\n@property (nonat...
59
8
{"language": "c", "success": true, "metadata": {"lines": 14, "avg_line_length": 27.21, "nodes": 38, "errors": 0, "source_hash": "5d3e31b0a633c45700953939c80131fd78e0658e6496b7397e27b0bbc0cf7a50", "categorized_nodes": 24}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import \"...
79,795
c
/******************************************************/ /* File: parse.c */ /* The parser implementation for the C-MINUS compiler */ /* Compiler Construction: Principles and Practice */ /* <NAME> */ /*********************************************...
23.96
198
(translation_unit) "/******************************************************/\n/* File: parse.c */\n/* The parser implementation for the C-MINUS compiler */\n/* Compiler Construction: Principles and Practice */\n/* <NAME> */\n/********************...
1,896
0
{"language": "c", "success": true, "metadata": {"lines": 198, "avg_line_length": 23.96, "nodes": 1162, "errors": 0, "source_hash": "01d77c4cf56801b45068d3b34f9fcedeb5168ad20d0c820a1d030f3a6cdc2d2b", "categorized_nodes": 779}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#i...
79,796
c
#include <stdio.h> #include <assert.h> int findPeakElement(int* nums, int numsSize) { int left = 0, right = numsSize - 1, mid; while (left < right) { mid = left + (right - left) / 2; if ((mid == 0 && nums[mid] > nums[mid + 1]) || (mid == numsSize - 1 && nums[mid] > nums[mid - 1]) ...
30.04
28
(translation_unit) "#include <stdio.h>\n#include <assert.h>\n\nint findPeakElement(int* nums, int numsSize) {\n int left = 0, right = numsSize - 1, mid;\n while (left < right) {\n mid = left + (right - left) / 2;\n if ((mid == 0 && nums[mid] > nums[mid + 1])\n || (mid == numsSize - 1 && n...
365
0
{"language": "c", "success": true, "metadata": {"lines": 28, "avg_line_length": 30.04, "nodes": 236, "errors": 0, "source_hash": "de0a67c3aec42beed7b24bf7b9e50fd96c0a070ab79504818ce90f66f58ce41c", "categorized_nodes": 173}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
79,797
c
#import <UIKit/UIKit.h> FOUNDATION_EXPORT double Pods_RPServiceLayer_TestsVersionNumber; FOUNDATION_EXPORT const unsigned char Pods_RPServiceLayer_TestsVersionString[];
41.5
4
(translation_unit) "#import <UIKit/UIKit.h>\n\n\nFOUNDATION_EXPORT double Pods_RPServiceLayer_TestsVersionNumber;\nFOUNDATION_EXPORT const unsigned char Pods_RPServiceLayer_TestsVersionString[];\n\n" (preproc_call) "#import <UIKit/UIKit.h>\n" (preproc_directive) "#import" (preproc_arg) "<UIKit/UIKit.h>" (de...
23
1
{"language": "c", "success": true, "metadata": {"lines": 4, "avg_line_length": 41.5, "nodes": 15, "errors": 0, "source_hash": "68cad29b0550f14f69db6b80f6051977d550fe309f4557381142347ed3495e9b", "categorized_nodes": 10}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <UI...
79,798
c
/* SPDX-License-Identifier: BSD-3-Clause * Copyright(c) 2018 Intel Corporation. */ #include <stdio.h> #include <fcntl.h> #include <stdbool.h> #include <rte_ethdev.h> #include <rte_cycles.h> #include "rte_portlist.h" #include "rte_link.h" static volatile bool lsc_cancel = 0; static int get_link_status(uint16_t po...
22
108
(translation_unit) "/* SPDX-License-Identifier: BSD-3-Clause\n * Copyright(c) 2018 Intel Corporation.\n */\n\n#include <stdio.h>\n#include <fcntl.h>\n#include <stdbool.h>\n\n#include <rte_ethdev.h>\n#include <rte_cycles.h>\n\n#include "rte_portlist.h"\n#include "rte_link.h"\n\nstatic volatile bool lsc_cancel = 0;\n\nst...
727
0
{"language": "c", "success": true, "metadata": {"lines": 108, "avg_line_length": 22.0, "nodes": 424, "errors": 0, "source_hash": "048406ef358b47d77f85ed640a6bf1de063a7e5ab18ab1d0d1c80657c7a95fc7", "categorized_nodes": 313}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
79,799