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
#ifndef TOOLSVIEW_H #define TOOLSVIEW_H // Qt #include <QWidget> #include <QHash> // Project #include "Core/LibExport.h" #include "AbstractToolsView.h" namespace Ui { class ToolsView; } class QToolButton; namespace Gui { //***********************************************************************...
17.82
51
(translation_unit) "#ifndef TOOLSVIEW_H \n#define TOOLSVIEW_H \n \n// Qt \n#include <QWidget> \n#include <QHash> \n \n// Project \n#include "Core/LibExport.h" \n#include "AbstractToolsView.h" \n \nnamespace Ui { \nclass ToolsView; \n} \n \nclass QToolButton; \n \nnamespace Gui \n{ \n \n//*******************************...
198
11
{"language": "c", "success": true, "metadata": {"lines": 51, "avg_line_length": 17.82, "nodes": 124, "errors": 0, "source_hash": "eac00e2d400abffbbbf70ab0b1d0640eb75dd56ac3b2c101982337181734bb1a", "categorized_nodes": 87}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
77,700
c
#ifndef _GLOBALS_H #define _GLOBALS_H //-------------------------------------------------------------------- // Include Files #include "lrun.h" #include "web_api.h" #include "lrw_custom_body.h" void addDynaTraceHeader(char* header){ char* headerValue; int headerValueLength; int vuserid, scid; char *groupid, *tim...
32.77
31
(translation_unit) "#ifndef _GLOBALS_H \n#define _GLOBALS_H\n\n//--------------------------------------------------------------------\n// Include Files\n#include "lrun.h"\n#include "web_api.h"\n#include "lrw_custom_body.h"\n\nvoid addDynaTraceHeader(char* header){\n char* headerValue;\n int headerValueLength;\n int vus...
305
0
{"language": "c", "success": true, "metadata": {"lines": 31, "avg_line_length": 32.77, "nodes": 177, "errors": 0, "source_hash": "146754f560d04936e3ae76aa80286e45891432ca40052b24eb05d090286e9a6d", "categorized_nodes": 116}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
77,701
c
// // NUISearchBarRenderer.h // NUIDemo // // Created by <NAME> on 1/11/13. // Copyright (c) 2013 <NAME>. All rights reserved. // #import <Foundation/Foundation.h> #import "NUIGraphics.h" #import "NUISettings.h" #import "NUIUtilities.h" @interface NUISearchBarRenderer : NSObject + (void)render:(UISearchBar*)bar ...
24.29
14
(translation_unit) "//\n// NUISearchBarRenderer.h\n// NUIDemo\n//\n// Created by <NAME> on 1/11/13.\n// Copyright (c) 2013 <NAME>. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n#import "NUIGraphics.h"\n#import "NUISettings.h"\n#import "NUIUtilities.h"\n\n@interface NUISearchBarRenderer : NSObject\n...
58
6
{"language": "c", "success": true, "metadata": {"lines": 14, "avg_line_length": 24.29, "nodes": 35, "errors": 0, "source_hash": "1acd365762b72271edc826387a881e0147e0dedd160599a7e9973ab1f24a0773", "categorized_nodes": 17}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <...
77,702
c
#ifndef __NEAREST_NEIGHBORS_CPU_H__ #define __NEAREST_NEIGHBORS_CPU_H__ #include "lut.h" #include "nearest_neighbors.h" class NearestNeighborsCPU : public NearestNeighbors { public: NearestNeighborsCPU(uint32_t tau, uint32_t Tp, bool verbose); void compute_lut(LUT &out, const Series &library, const Series &t...
28.93
14
(translation_unit) "#ifndef __NEAREST_NEIGHBORS_CPU_H__\n#define __NEAREST_NEIGHBORS_CPU_H__\n\n#include "lut.h"\n#include "nearest_neighbors.h"\n\nclass NearestNeighborsCPU : public NearestNeighbors\n{\npublic:\n NearestNeighborsCPU(uint32_t tau, uint32_t Tp, bool verbose);\n\n void compute_lut(LUT &out, const S...
99
7
{"language": "c", "success": true, "metadata": {"lines": 14, "avg_line_length": 28.93, "nodes": 55, "errors": 0, "source_hash": "0a2c7c34a7f379ebcc10671bbc7004e6d233addb26b231a665b5b581d32fe672", "categorized_nodes": 41}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
77,703
c
#pragma once #include <fmt/format.h> #include <Event/MouseEvent.h> #include <Inputs/KeyCode.h> namespace ZEngine::Event { #ifdef ZENGINE_WINDOW_SDL class MouseButtonReleasedEvent : public MouseEvent { public: explicit MouseButtonReleasedEvent(unsigned char button) :MouseEvent(button) { } EVENT_TYPE(Mous...
24.72
43
(translation_unit) "#pragma once\n\n#include <fmt/format.h>\n#include <Event/MouseEvent.h>\n#include <Inputs/KeyCode.h>\n\nnamespace ZEngine::Event {\n#ifdef ZENGINE_WINDOW_SDL\n class MouseButtonReleasedEvent : public MouseEvent {\n public:\n explicit MouseButtonReleasedEvent(unsigned char button)\n :MouseEvent(but...
272
22
{"language": "c", "success": true, "metadata": {"lines": 43, "avg_line_length": 24.72, "nodes": 146, "errors": 0, "source_hash": "3129b81219168f3b29ebcfefc58e9a7e221b5a5c0784fcd0d21d87bda5bfa241", "categorized_nodes": 104}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
77,704
c
/* * splat1.h * * Created on: 26Sep.,2019 * Author: bob */ #ifndef SPLAT1_H_ #define SPLAT1_H_ extern void initsplat(void); extern uint16_t getpgagain(void); extern int bumppga(int); extern void setpgagain(int gain); extern uint32_t pressure, pressfrac, temperature, tempfrac; extern uint32_t logampmode; ...
35.25
28
(translation_unit) "/*\n * splat1.h\n *\n * Created on: 26Sep.,2019\n * Author: bob\n */\n\n#ifndef SPLAT1_H_\n#define SPLAT1_H_\n\nextern void initsplat(void);\nextern uint16_t getpgagain(void);\nextern int bumppga(int);\n\nextern void setpgagain(int gain);\nextern uint32_t pressure, pressfrac, temperature, temp...
197
0
{"language": "c", "success": true, "metadata": {"lines": 28, "avg_line_length": 35.25, "nodes": 133, "errors": 0, "source_hash": "a1cd3d86dd1e104dd2e1de0c634e1afc0d094606c2ab608138b58974d97fe5b4", "categorized_nodes": 78}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
77,705
c
/* A Bison parser, made by GNU Bison 2.4.1. */ /* Skeleton interface for Bison's Yacc-like parsers in C Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the term...
28.68
111
(translation_unit) "/* A Bison parser, made by GNU Bison 2.4.1. */\n\n/* Skeleton interface for Bison's Yacc-like parsers in C\n \n Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006\n Free Software Foundation, Inc.\n \n This program is free software: you can redistribute it and/or m...
355
0
{"language": "c", "success": true, "metadata": {"lines": 111, "avg_line_length": 28.68, "nodes": 282, "errors": 0, "source_hash": "ee325b00a52cb7701d81a788f2f483e5debc1d8e8eb4b224235bd3852e99145c", "categorized_nodes": 198}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
77,706
c
/* * Artist Demo #7 * Copyright (C) 2007 <NAME>. * <EMAIL> * * This program is free software, released under the zlib/libpng * license. The license text is available in the file COPYING. */ #include "art.h" void updateScale(float scale) { art_setScale(scale, scale); float newCenterX = 400.0f * scale; ...
26.72
71
(translation_unit) "/*\n * Artist Demo #7\n * Copyright (C) 2007 <NAME>.\n * <EMAIL>\n *\n * This program is free software, released under the zlib/libpng\n * license. The license text is available in the file COPYING.\n */\n\n#include "art.h"\n\nvoid updateScale(float scale)\n{\n art_setScale(scale, scale);\n\n ...
393
0
{"language": "c", "success": true, "metadata": {"lines": 71, "avg_line_length": 26.72, "nodes": 218, "errors": 0, "source_hash": "fec1cb9616187827f2d0e86c47f2ae2e6fc2a66e8482ac4d4db9c290ad7527c6", "categorized_nodes": 151}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
77,707
c
#ifndef H_KYBER1024 #define H_KYBER1024 #ifdef __cplusplus extern "C" { #endif #include "api.h" #ifdef __cplusplus } #endif #include <napi.h> #define SECRETKEYBYTES 3168 #define PUBLICKEYBYTES 1568 #define CIPHERTEXTBYTES 1568 #define CRYPTO_BYTES 32 #define keypair PQCLEAN_KYBER102...
16.78
36
(translation_unit) "#ifndef H_KYBER1024 \n#define H_KYBER1024 \n \n#ifdef __cplusplus \nextern "C" { \n#endif \n \n#include "api.h" \n \n#ifdef __cplusplus \n} \n#endif \n \n#include <napi.h> \n \n#define SECRETKEYBYTES 3168 \n \n#define PUBLICKEYBYTES 1568 \n \n#define CIPHERTEXTBYTES 1568 \n \n#define CRYPTO_BYTES ...
125
8
{"language": "c", "success": true, "metadata": {"lines": 36, "avg_line_length": 16.78, "nodes": 79, "errors": 0, "source_hash": "8fffd32767fa6babea8dbc23e5624f6ed750734d46b84baafef0b17eb56a8d0f", "categorized_nodes": 46}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "#ifndef H_KYBER1...
77,708
c
/* * * Authors: * <NAME> <<EMAIL>> * */ #pragma once namespace Managed { namespace Graphics { namespace Imaging { public ref class WicComponentInfo: ComWrapper { internal: WicComponentInfo(IWICComponentInfo* native): ComWrapper(native) { } public: }; }}}
13.65
20
(translation_unit) "/* \n* \n* Authors: \n* <NAME> <<EMAIL>> \n* \n*/ \n#pragma once \n \n \nnamespace Managed { namespace Graphics { namespace Imaging \n{ \n public ref class WicComponentInfo: ComWrapper \n { \n internal: \n WicComponentInfo(IWICComponentInfo* native): ComWrapper(native) \n { \n } \n public: ...
66
2
{"language": "c", "success": true, "metadata": {"lines": 20, "avg_line_length": 13.65, "nodes": 33, "errors": 0, "source_hash": "ba957c5f0ea9fd788bda668edca18dc3b9ae7e1b411045a2e07b213dc057bd9d", "categorized_nodes": 24}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
77,709
c
/* Copyright (c) 2015-2017, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and * only version 2 as published by the Free Software Foundation. * * This program is distributed in the...
32.15
65
(translation_unit) "/* Copyright (c) 2015-2017, The Linux Foundation. All rights reserved.\n *\n * This program is free software; you can redistribute it and/or modify\n * it under the terms of the GNU General Public License version 2 and\n * only version 2 as published by the Free Software Foundation.\n *\n * This pro...
332
1
{"language": "c", "success": true, "metadata": {"lines": 65, "avg_line_length": 32.15, "nodes": 241, "errors": 0, "source_hash": "ad15269c6fdafc45ce68118e76f8622312f3236e5fa832c31cd2ffe06b305a6f", "categorized_nodes": 151}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
77,710
c
#include "server.h" JSON_OBJECT jerr(int jerrno,const char *errmsg) { JSON_OBJECT ejson,ijson,sjson; ejson=json_object_new_object(); ijson=json_object_new_int(jerrno); json_object_object_add(ejson,"errno",ijson); sjson=json_object_new_string(errmsg); json_object_object_add(ejso...
31.05
21
(translation_unit) "#include "server.h"\n\nJSON_OBJECT jerr(int jerrno,const char *errmsg)\n{\nJSON_OBJECT ejson,ijson,sjson;\n\n ejson=json_object_new_object();\n ijson=json_object_new_int(jerrno);\n json_object_object_add(ejson,"errno",ijson);\n sjson=json_object_new_string(errmsg);\n ...
226
0
{"language": "c", "success": true, "metadata": {"lines": 21, "avg_line_length": 31.05, "nodes": 137, "errors": 0, "source_hash": "5834c875bb268264f037f4066d1993f15e1748b58f0ac02b74987bc4ea5f0eb9", "categorized_nodes": 103}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
77,711
c
#ifndef _INCLUDE_SIGSEGV_UTIL_IACCESSONLY_H_ #define _INCLUDE_SIGSEGV_UTIL_IACCESSONLY_H_ /* fundamental base class type: ensures that derived classes cannot be created/destroyed/copied/moved */ class IAccessOnly { public: /* deleted: all possible normal constructors */ template<typename... ARGS> explici...
33.15
39
(translation_unit) "#ifndef _INCLUDE_SIGSEGV_UTIL_IACCESSONLY_H_ \n#define _INCLUDE_SIGSEGV_UTIL_IACCESSONLY_H_ \n \n \n/* fundamental base class type: ensures that derived classes cannot be created/destroyed/copied/moved */ \nclass IAccessOnly \n{ \npublic: \n /* deleted: all possible normal constructors */ \n templat...
267
16
{"language": "c", "success": true, "metadata": {"lines": 39, "avg_line_length": 33.15, "nodes": 166, "errors": 0, "source_hash": "9915087870f0aad8e36abd14fde1f81734a06abaaade36abb809cf12fc4b55cb", "categorized_nodes": 101}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
77,712
c
#pragma once #include <string> using std::wstring; class CSettingDlg { public: CSettingDlg(void); ~CSettingDlg(void); DWORD CreateSettingDialog(HINSTANCE hInstance, HWND parentWnd); public: wstring macro; protected: static LRESULT CALLBACK DlgProc(HWND hDlgWnd, UINT msg, WPARAM wp, LPARAM lp)...
16.16
19
(translation_unit) "#pragma once \n \n#include <string> \nusing std::wstring; \n \nclass CSettingDlg \n{ \npublic: \n CSettingDlg(void); \n ~CSettingDlg(void); \n \n DWORD CreateSettingDialog(HINSTANCE hInstance, HWND parentWnd); \n \npublic: \n wstring macro; \n \nprotected: \n static LRESULT CALLBACK DlgProc(HWND hDl...
96
2
{"language": "c", "success": true, "metadata": {"lines": 19, "avg_line_length": 16.16, "nodes": 59, "errors": 0, "source_hash": "c92936fe537a2d57a91172fdb58e4d039ccce3f56689a2bf84812d7cf38535bb", "categorized_nodes": 47}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
77,713
c
/** * GeoDa TM, Copyright (C) 2011-2015 by <NAME> - all rights reserved * * This file is part of GeoDa. * * GeoDa 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 * ...
33.34
56
(translation_unit) "/**\n * GeoDa TM, Copyright (C) 2011-2015 by <NAME> - all rights reserved\n *\n * This file is part of GeoDa.\n * \n * GeoDa 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 versi...
462
19
{"language": "c", "success": true, "metadata": {"lines": 56, "avg_line_length": 33.34, "nodes": 266, "errors": 0, "source_hash": "305dd388ee4f8cc11d88351b6535f003a56dc7f1d1c033bacf0af095813242fd", "categorized_nodes": 204}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
77,714
c
/* $OpenBSD: kern_timeout.c,v 1.18 2003/06/03 12:05:25 art Exp $ */ /* * Copyright (c) 2001 <NAME> <<EMAIL>> * Copyright (c) 2000-2001 <NAME> <<EMAIL>> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditio...
33.38
245
(translation_unit) "/* $OpenBSD: kern_timeout.c,v 1.18 2003/06/03 12:05:25 art Exp $ */\n/*\n * Copyright (c) 2001 <NAME> <<EMAIL>>\n * Copyright (c) 2000-2001 <NAME> <<EMAIL>>\n * All rights reserved. \n *\n * Redistribution and use in source and binary forms, with or without \n * modification, are permitted provided ...
1,350
0
{"language": "c", "success": true, "metadata": {"lines": 245, "avg_line_length": 33.38, "nodes": 833, "errors": 0, "source_hash": "c7b227a1f4d210f1d7e5daef4c88cf361d834e792efeaa96d35c16515469bc01", "categorized_nodes": 605}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
77,715
c
/* Generated by RuntimeBrowser Image: /System/Library/PrivateFrameworks/AirPortAssistant.framework/AirPortAssistant */ @interface StepByStepUIViewController_ExtendWired_Config : StepByStepUIViewController_ExtendWireless_Config - (id)initWithNibName:(id)arg1 bundle:(id)arg2; @end
46.33
6
(translation_unit) "/* Generated by RuntimeBrowser\n Image: /System/Library/PrivateFrameworks/AirPortAssistant.framework/AirPortAssistant\n */\n\n@interface StepByStepUIViewController_ExtendWired_Config : StepByStepUIViewController_ExtendWireless_Config\n\n- (id)initWithNibName:(id)arg1 bundle:(id)arg2;\n\n@end\n" ...
39
6
{"language": "c", "success": true, "metadata": {"lines": 6, "avg_line_length": 46.33, "nodes": 23, "errors": 0, "source_hash": "d9e7f74e6731fd6de1929371c760c45cde771cf1a200aa0df682ee9878f7a958", "categorized_nodes": 14}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "@interface StepBy...
77,716
c
// ---------------------------------------------------------------------------------------- // COPYRIGHT NOTICE // ---------------------------------------------------------------------------------------- // // The Source Code Store LLC // ACTIVEGANTT SCHEDULER COMPONENT FOR C++ - ActiveGan...
37.47
91
(translation_unit) " ----------------------------------------------------------------------------------------\n// COPYRIGHT NOTICE\n// ----------------------------------------------------------------------------------------\n//\n// The Source Code Store LLC\n// ACTIVEGANTT SCHEDULER COMPONE...
759
11
{"language": "c", "success": true, "metadata": {"lines": 91, "avg_line_length": 37.47, "nodes": 545, "errors": 0, "source_hash": "c10ab722e6dcc1c3f12a42ade77a3b28fcb696cae12ecc9d3cb95945f7ce9c61", "categorized_nodes": 398}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "ragma o...
77,717
c
// Filename: multiplexStream.h // Created by: drose (27Nov00) // //////////////////////////////////////////////////////////////////// // // PANDA 3D SOFTWARE // Copyright (c) Carnegie Mellon University. All rights reserved. // // All use of this software is subject to the terms of the revised BSD // license. You sho...
37.64
42
(translation_unit) "// Filename: multiplexStream.h\n// Created by: drose (27Nov00)\n//\n////////////////////////////////////////////////////////////////////\n//\n// PANDA 3D SOFTWARE\n// Copyright (c) Carnegie Mellon University. All rights reserved.\n//\n// All use of this software is subject to the terms of the revi...
176
8
{"language": "c", "success": true, "metadata": {"lines": 42, "avg_line_length": 37.64, "nodes": 103, "errors": 0, "source_hash": "913dea31d1321da80f8722faef55f4a54a7d930d2ed4c0da3f8531a634d34184", "categorized_nodes": 75}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
77,718
c
#import <UIKit/UIKit.h> FOUNDATION_EXPORT double Pods_GreenDayDatePicker_TestsVersionNumber; FOUNDATION_EXPORT const unsigned char Pods_GreenDayDatePicker_TestsVersionString[];
43.5
4
(translation_unit) "#import <UIKit/UIKit.h>\n\n\nFOUNDATION_EXPORT double Pods_GreenDayDatePicker_TestsVersionNumber;\nFOUNDATION_EXPORT const unsigned char Pods_GreenDayDatePicker_TestsVersionString[];\n\n" (preproc_call) "#import <UIKit/UIKit.h>\n" (preproc_directive) "#import" (preproc_arg) "<UIKit/UIKit.h...
23
1
{"language": "c", "success": true, "metadata": {"lines": 4, "avg_line_length": 43.5, "nodes": 15, "errors": 0, "source_hash": "5e68141c19f0494d87230f513225c3f631a83eeb203ed88ead47250fba9e9da0", "categorized_nodes": 10}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <UI...
77,719
c
#include <stdio.h> typedef unsigned int uint; typedef unsigned char uchar; typedef unsigned long long int ulonglong; #define ULL2UCHARS(uc, ull) do { \ (uc)[0] = (uchar )((ull) >> 56); \ (uc)[1] = (uchar )((ull) >> 48); \ (uc)[2] = (uchar )((ull) >> 40); \ (uc)[3] = (uchar )((ull) >> 3...
32.3
27
(translation_unit) "#include <stdio.h>\n\ntypedef unsigned int uint;\ntypedef unsigned char uchar;\ntypedef unsigned long long int ulonglong;\n\n#define ULL2UCHARS(uc, ull) do { \\n (uc)[0] = (uchar )((ull) >> 56); \\n (uc)[1] = (uchar )((ull) >> 48); \\n (uc)[2] = (uchar )((ull) >> 40); \\n ...
196
0
{"language": "c", "success": true, "metadata": {"lines": 27, "avg_line_length": 32.3, "nodes": 119, "errors": 0, "source_hash": "59e525c0452956f80dcf7bb00e92c0cfdd56c7bcdafbaa83b0e933ac34db382a", "categorized_nodes": 82}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
77,720
c
#ifndef TLVPREPARE_H #define TLVPREPARE_H #include <QObject> #include <QByteArray> #include <QSettings> #include <QString> #include <QDebug> #include <iostream> #include <sstream> #include <string> #include <fstream> #include <iomanip> #include "crc-master/cyg_crc.h" #include "read_tlv.h" using namespace std; class T...
31.41
73
(translation_unit) "#ifndef TLVPREPARE_H\n#define TLVPREPARE_H\n\n#include <QObject>\n#include <QByteArray>\n#include <QSettings>\n#include <QString>\n#include <QDebug>\n#include <iostream>\n#include <sstream>\n#include <string>\n#include <fstream>\n#include <iomanip>\n#include "crc-master/cyg_crc.h"\n#include "read_tl...
379
14
{"language": "c", "success": true, "metadata": {"lines": 73, "avg_line_length": 31.41, "nodes": 239, "errors": 0, "source_hash": "9872850f76435b860dae7551d431c610b58bc0a496b763fd97b1ab9fe53d220a", "categorized_nodes": 180}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
77,721
c
#include "memchunk.h" /* Global variable for sigjmp buffer */ static sigjmp_buf env; int readPrivs(uint1 * address) { uint1 charTester; int signalVariable; /* Override default signal behavior for segmentation faults corresponding * to SIGSEGV signals to behavior assigned by subroutine signalHandler */ (...
32.86
152
(translation_unit) "#include "memchunk.h"\n/* Global variable for sigjmp buffer */\nstatic sigjmp_buf env; \n\nint readPrivs(uint1 * address)\n{\n uint1 charTester;\n int signalVariable;\n \n /* Override default signal behavior for segmentation faults corresponding\n * to SIGSEGV signals to behavior assigned by s...
618
0
{"language": "c", "success": true, "metadata": {"lines": 152, "avg_line_length": 32.86, "nodes": 376, "errors": 0, "source_hash": "64d0c0e6b0ff038e391e39f42337b5cd38457312ad4b6c435e8efb9b2612163e", "categorized_nodes": 257}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
77,722
c
#pragma once #include "AudioSource.h" namespace vst { class Vst : public base::AudioSource { public: Vst(); ~Vst(); }; }
9.92
12
(translation_unit) "#pragma once\n\n#include "AudioSource.h"\n\nnamespace vst\n{\n class Vst :\n public base::AudioSource\n {\n public:\n Vst();\n ~Vst();\n };\n}\n" (preproc_call) "#pragma once\n" (preproc_directive) "#pragma" (preproc_arg) "once" (preproc_include) "#include "AudioSource.h"\n" (#inc...
53
2
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 9.92, "nodes": 25, "errors": 0, "source_hash": "86b0dcc293ee7e14196d05654c14db920acb20bacc42701958a8b9239dc8320d", "categorized_nodes": 16}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma on...
77,723
c
// Copyright 2000-2021 <NAME> #ifndef PRIME_OPENSSLAESTESTS_H #define PRIME_OPENSSLAESTESTS_H #include "OpenSSLSupport.h" #ifndef PRIME_NO_OPENSSL #include "OpenSSLAES.h" #include "TextEncoding.h" namespace Prime { namespace OpenSSLAESTestsPrivate { inline void Tests() { Log* log = Log::getGlobal...
28.49
37
(translation_unit) "// Copyright 2000-2021 <NAME>\n\n#ifndef PRIME_OPENSSLAESTESTS_H\n#define PRIME_OPENSSLAESTESTS_H\n\n#include "OpenSSLSupport.h"\n\n#ifndef PRIME_NO_OPENSSL\n\n#include "OpenSSLAES.h"\n#include "TextEncoding.h"\n\nnamespace Prime {\n\nnamespace OpenSSLAESTestsPrivate {\n\n inline void Tests()\n ...
294
9
{"language": "c", "success": true, "metadata": {"lines": 37, "avg_line_length": 28.49, "nodes": 161, "errors": 0, "source_hash": "ab0e7c72620f3154abc1937513dfa49828b096985102ebf15580234ff38089f3", "categorized_nodes": 110}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
77,724
c
/* * NCI based Driver for STMicroelectronics NFC Chip * * Copyright (C) 2014 STMicroelectronics SAS. All rights reserved. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License, * version 2, as published by the Free Software...
36.6
52
(translation_unit) "/*\n * NCI based Driver for STMicroelectronics NFC Chip\n *\n * Copyright (C) 2014 STMicroelectronics SAS. All rights reserved.\n *\n * This program is free software; you can redistribute it and/or modify it\n * under the terms and conditions of the GNU General Public License,\n * version 2, as pub...
278
0
{"language": "c", "success": true, "metadata": {"lines": 52, "avg_line_length": 36.6, "nodes": 217, "errors": 0, "source_hash": "07d665ecd66b7db1669d8d0964f200cbae7644d85d2d245a2c905f0937434727", "categorized_nodes": 155}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
77,725
c
#ifndef __YENC_ENCODER_COMMON #define __YENC_ENCODER_COMMON // lookup tables for scalar processing #define _B1(n) _B(n), _B(n+1), _B(n+2), _B(n+3) #define _B2(n) _B1(n), _B1(n+4), _B1(n+8), _B1(n+12) #define _B3(n) _B2(n), _B2(n+16), _B2(n+32), _B2(n+48) #define _BX _B3(0), _B3(64), _B3(128), _B3(192) static const un...
29.92
103
(translation_unit) "#ifndef __YENC_ENCODER_COMMON\n#define __YENC_ENCODER_COMMON\n\n// lookup tables for scalar processing\n#define _B1(n) _B(n), _B(n+1), _B(n+2), _B(n+3)\n#define _B2(n) _B1(n), _B1(n+4), _B1(n+8), _B1(n+12)\n#define _B3(n) _B2(n), _B2(n+16), _B2(n+32), _B2(n+48)\n#define _BX _B3(0), _B3(64), _B3(128)...
1,154
10
{"language": "c", "success": true, "metadata": {"lines": 103, "avg_line_length": 29.92, "nodes": 789, "errors": 0, "source_hash": "f152360b5a34fc0a59970688da0a60d8b2a2ea6da01f91d912ad897056f806a7", "categorized_nodes": 486}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
77,726
c
/* Copyright (c) 2015 Google Inc. * * 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...
36.39
46
(translation_unit) "/* Copyright (c) 2015 Google Inc.\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...
82
10
{"language": "c", "success": true, "metadata": {"lines": 46, "avg_line_length": 36.39, "nodes": 46, "errors": 0, "source_hash": "d3d59f870e9202b927b03e7abe585f1031435a55b2e0d7fe113bfa10cd1df822", "categorized_nodes": 23}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_if", "text": "#if GTL_BUI...
77,727
c
typedef struct _complex1 { struct { int a; }; } complex1, *pcomplex1; typedef struct _complex2 { struct { int a; }; struct { long b; }; } complex2, *pcomplex2; typedef struct _complex3 { union { struct { int a; }; struct { long b; union { ...
14.15
61
(translation_unit) "typedef struct _complex1 {\n struct {\n int a;\n };\n} complex1, *pcomplex1;\n\ntypedef struct _complex2 {\n struct {\n int a;\n };\n struct {\n long b;\n };\n} complex2, *pcomplex2;\n\ntypedef struct _complex3 {\n union {\n struct {\n int a;\n };\n struct {\n ...
289
0
{"language": "c", "success": true, "metadata": {"lines": 61, "avg_line_length": 14.15, "nodes": 171, "errors": 0, "source_hash": "57108bdefb0d38cc2b2d81cf646c3d15ff1628cfe955131a335c1ff2297b0ee3", "categorized_nodes": 129}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "type_definition", "text": "type...
77,728
c
/* Scans one or more tranche source files and lists all the named destination files. stdout is not explicitly named. Would be intersting if stdout were also listed if anything is sent to stdout. Might distinguish between blank lines being sent and text being sent to stdout. */ #include <stdio.h> #include <unistd.h> ...
29.41
112
(translation_unit) "/*\nScans one or more tranche source files and lists all the named destination files.\n\nstdout is not explicitly named. Would be intersting if stdout\nwere also listed if anything is sent to stdout. Might distinguish\nbetween blank lines being sent and text being sent to stdout.\n\n*/\n#include <s...
867
0
{"language": "c", "success": true, "metadata": {"lines": 112, "avg_line_length": 29.41, "nodes": 507, "errors": 0, "source_hash": "109e268992a35c346f7ea20408460ad82c2dd4d9056e2ea9bbf36a6aeb874cbe", "categorized_nodes": 313}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
77,729
c
/******************************************************************************************************** * @file board_et104_bt05.h * * @brief board configuration for * * @author pvvx *******************************************************************************************************/ #ifndef _BOARD_...
32.07
215
(translation_unit) "/********************************************************************************************************\n * @file board_et104_bt05.h\n *\n * @brief board configuration for\n *\n * @author pvvx\n **********************************************************************************************...
392
0
{"language": "c", "success": true, "metadata": {"lines": 215, "avg_line_length": 32.07, "nodes": 329, "errors": 0, "source_hash": "a8c038cc3a35794a907fb3093b574d3e26428c3d4baac1b7617a17ff584a15a3", "categorized_nodes": 131}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
77,730
c
/* $Id: main.c,v 2.2 2005/07/07 16:27:09 ksb Exp $ */ /* $Revision: 2.2 $ */ #include <flump.h> int reconf; struct global_s global; /* only enable this is you want it to cresh out on any memory error */ /* extern char *malloc_options; malloc_options = "A"; */ void look(connection *u, char *arg); void usage() { ...
18.54
164
(translation_unit) "/* $Id: main.c,v 2.2 2005/07/07 16:27:09 ksb Exp $ */\n/* $Revision: 2.2 $ */\n\n#include <flump.h>\n\nint reconf;\nstruct global_s global;\n\n/* only enable this is you want it to cresh out on any memory error \n*/\n/* extern char *malloc_options;\nmalloc_options = "A";\n*/\n\n\nvoid look(connectio...
1,218
0
{"language": "c", "success": true, "metadata": {"lines": 164, "avg_line_length": 18.54, "nodes": 661, "errors": 0, "source_hash": "0cb7ad4e550e9b443a0aff6b1205ccfa9f63ab1cfad9e4b29fc17290a28007be", "categorized_nodes": 444}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
77,731
c
// // Created by rainywan // #import <UIKit/UIKit.h> typedef NS_ENUM(NSInteger, RCTNavigatorDirection) { RCTNavigatorDirectionTypeRight = 0, RCTNavigatorDirectionTypeLeft, RCTNavigatorDirectionTypeTop, RCTNavigatorDirectionTypeBottom, }; @interface RCTNavigationControllerAnimator : NSObject <UIViewC...
38.23
13
(translation_unit) "//\n// Created by rainywan\n//\n\n#import <UIKit/UIKit.h>\n\ntypedef NS_ENUM(NSInteger, RCTNavigatorDirection) {\n RCTNavigatorDirectionTypeRight = 0,\n RCTNavigatorDirectionTypeLeft,\n RCTNavigatorDirectionTypeTop,\n RCTNavigatorDirectionTypeBottom,\n};\n\n@interface RCTNavigationContr...
89
8
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 38.23, "nodes": 58, "errors": 0, "source_hash": "2756d79a20439a7792cb121303f96bf3126e8d31f62155408b15cf8fb567e563", "categorized_nodes": 35}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <...
77,732
c
char c; char *cp; const char cc; char const cc2; const char *ccp; char const *ccp2; char * const ccp3; char const * const ccp4; volatile char vc; char volatile vc2; volatile char *vcp; char volatile *vcp2; char * volatile vcp3; char volatile * volatile vcp4; char * restrict rcp; char *__restrict_...
16.28
39
(translation_unit) "char c; \nchar *cp; \n \nconst char cc; \nchar const cc2; \nconst char *ccp; \nchar const *ccp2; \nchar * const ccp3; \nchar const * const ccp4; \n \nvolatile char vc; \nchar volatile vc2; \nvolatile char *vcp; \nchar volatile *vcp2; \nchar * volatile vcp3; \nchar volatile * volatile vcp4; \n \nchar...
249
0
{"language": "c", "success": true, "metadata": {"lines": 39, "avg_line_length": 16.28, "nodes": 182, "errors": 0, "source_hash": "8693634b6dfc1fcbb1641bfd4dc33ef6a22aad72b2c41e5d9b00d63f7cb66bbf", "categorized_nodes": 93}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "declaration", "text": "char c;",...
77,733
c
/* assert.h assert macro */ /* * C/C++ Run Time Library - Version 8.0 * * Copyright (c) 1987, 1997 by Borland International * All Rights Reserved. * */ /* $Revision: 8.1 $ */ #if !defined(___DEFS_H) #include <_defs.h> #endif #if !defined(RC_INVOKED) #if define...
17.57
96
(translation_unit) "/* assert.h \n \n assert macro \n \n*/ \n \n/* \n * C/C++ Run Time Library - Version 8.0 \n * \n * Copyright (c) 1987, 1997 by Borland International \n * All Rights Reserved. \n * \n */ \n/* $Revision: 8.1 $ */ \n \n \n#if !defined(___DEFS_H) \n#include <_defs.h> \n#endif \n \n...
291
6
{"language": "c", "success": true, "metadata": {"lines": 96, "avg_line_length": 17.57, "nodes": 226, "errors": 0, "source_hash": "1bc1cb38e0ebb78a07c30c4aafea2452e5876ef6031ebf3b53d1954da879cc2f", "categorized_nodes": 123}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_if", "text": "#if !defi...
77,734
c
/*=======================================================/ Header file for nsp_cs.c By: <NAME> <<EMAIL>> Ver.1.0 : Cut unused lines. Ver 0.1 : Initial version. This software may be used and distributed according to the terms of the GNU General Public License. =================================...
31.43
265
(translation_unit) "/*=======================================================/\n Header file for nsp_cs.c\n By: <NAME> <<EMAIL>>\n\n Ver.1.0 : Cut unused lines.\n Ver 0.1 : Initial version.\n\n This software may be used and distributed according to the terms of\n the GNU General Public License.\n\n===...
1,315
0
{"language": "c", "success": true, "metadata": {"lines": 265, "avg_line_length": 31.43, "nodes": 1079, "errors": 0, "source_hash": "308f804dbeb15826be6bef00ad469151c6f4ca3c730c93700fe42b22d56b6f5b", "categorized_nodes": 454}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifn...
77,735
c
// // UIColor+Ext.h // Pods // // Created by Leon on 3/22/16. // // #import <UIKit/UIKit.h> @interface UIColor (Ext) + (UIColor *)md_colorWithHexString:(NSString *)hexString; + (UIColor *)md_colorWithHexString:(NSString *)hexString alpha:(CGFloat)alpha; + (UIColor *)md_colorWithIntRed:(NSInteger)r green:(NSIntege...
30.79
14
(translation_unit) "//\n// UIColor+Ext.h\n// Pods\n//\n// Created by Leon on 3/22/16.\n//\n//\n\n#import <UIKit/UIKit.h>\n\n@interface UIColor (Ext)\n\n+ (UIColor *)md_colorWithHexString:(NSString *)hexString;\n+ (UIColor *)md_colorWithHexString:(NSString *)hexString alpha:(CGFloat)alpha;\n+ (UIColor *)md_colorWithI...
149
11
{"language": "c", "success": true, "metadata": {"lines": 14, "avg_line_length": 30.79, "nodes": 86, "errors": 0, "source_hash": "e7e7b6f321f657f7c6dd00f116deed9192f99c6c0d7db8b74e02da27ee4cc81f", "categorized_nodes": 52}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <...
77,736
c
// Under MIT licensee, see github page (https://github.com/noslopforever/NFUESample_VehicleAdvLockStep) for more informations. #pragma once #include "CoreMinimal.h" #include "Components/ActorComponent.h" #include "VehicleAdvLockStep.h" #include "ServerLockStepComponent.generated.h" /** Action sent from clients. */ U...
26.94
94
(translation_unit) "// Under MIT licensee, see github page (https://github.com/noslopforever/NFUESample_VehicleAdvLockStep) for more informations.\n\n#pragma once\n\n#include "CoreMinimal.h"\n#include "Components/ActorComponent.h"\n#include "VehicleAdvLockStep.h"\n#include "ServerLockStepComponent.generated.h"\n\n/** A...
388
25
{"language": "c", "success": true, "metadata": {"lines": 94, "avg_line_length": 26.94, "nodes": 215, "errors": 0, "source_hash": "5a6063480e7b4181bd15aa8defc88518f948503db7bf3e6343251c36a8c25ff1", "categorized_nodes": 145}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
77,737
c
#pragma once #include <stdint.h> #include <string> #include <unordered_map> #include <glm/glm.hpp> #include "Engine/Core/Memory.h" typedef unsigned int GLenum; typedef int GLint; namespace Engine { class Shader { public: Shader(const std::string& filePath); ~Shader(); void Bind() const; void Unbind() con...
37.84
58
(translation_unit) "#pragma once\n\n#include <stdint.h>\n#include <string>\n#include <unordered_map>\n#include <glm/glm.hpp>\n#include "Engine/Core/Memory.h"\n\ntypedef unsigned int GLenum;\ntypedef int GLint;\n\nnamespace Engine\n{\n class Shader\n {\n public:\n Shader(const std::string& filePath);\n ~Shader();\n\n ...
750
39
{"language": "c", "success": true, "metadata": {"lines": 58, "avg_line_length": 37.84, "nodes": 425, "errors": 0, "source_hash": "39b132d8a89ee749b4aa28bb82b6b02c1fc60cd8c917602036aad5498e5300a3", "categorized_nodes": 294}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
77,738
c
#include <stdlib.h> #include <ctype.h> #include <errno.h> #include <limits.h> #include "tree.h" #include "lex/token.h" #include "opp/errors.h" #include "opp/operator.h" #include "ast.h" #include "brackets.h" // Nil and prepend #include "tokens.h" static bool isNumberLexeme(String lexeme) { for (unsigned int i = 0...
36.44
79
(translation_unit) "#include <stdlib.h>\n#include <ctype.h>\n#include <errno.h>\n#include <limits.h>\n#include "tree.h"\n#include "lex/token.h"\n#include "opp/errors.h"\n#include "opp/operator.h"\n#include "ast.h"\n#include "brackets.h" // Nil and prepend\n#include "tokens.h"\n\nstatic bool isNumberLexeme(String lexem...
1,076
0
{"language": "c", "success": true, "metadata": {"lines": 79, "avg_line_length": 36.44, "nodes": 696, "errors": 0, "source_hash": "b52c922a73184de6ef18896d0ee8436a35c06c4b37b3e039d32d8943d38238fd", "categorized_nodes": 476}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
77,739
c
#include <ubx/ubx.h> #include <ubx/trig_utils.h> #define WEBIF_PORT "8810" #include "ptrig_period.h" #include "signal.h" def_cfg_set_fun(cfg_set_ptrig_period, struct ptrig_period); def_cfg_set_fun(cfg_set_ubx_triggee, struct ubx_triggee); static const char* modules[] = { "/usr/local/lib/ubx/0.9/stdtypes.so", "/us...
35.51
200
(translation_unit) "#include <ubx/ubx.h>\n#include <ubx/trig_utils.h>\n\n#define WEBIF_PORT "8810"\n\n#include "ptrig_period.h"\n#include "signal.h"\n\ndef_cfg_set_fun(cfg_set_ptrig_period, struct ptrig_period);\ndef_cfg_set_fun(cfg_set_ubx_triggee, struct ubx_triggee);\n\nstatic const char* modules[] = {\n "/usr/local...
2,084
2
{"language": "c", "success": true, "metadata": {"lines": 200, "avg_line_length": 35.51, "nodes": 1034, "errors": 0, "source_hash": "5c6e765c6022626ad0a80b5946617cfa9089ed5f13bdcaf5b1d1b141638f4754", "categorized_nodes": 739}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#i...
77,740
c
#pragma once #include "tstrings.h" #include "RegAccess.h" enum neTKVMRegParamType { NETKVM_RTT_ENUM, NETKVM_RTT_INT, NETKVM_RTT_LONG, NETKVM_RTT_EDIT, NETKVM_RTT_LAST }; #define NETKVM_RTT_UNKNOWN NETKVM_RTT_LAST //////////////////////////////////////////////////////////////////////////////// //...
33.31
164
(translation_unit) "#pragma once\n\n#include "tstrings.h"\n#include "RegAccess.h"\n\nenum neTKVMRegParamType\n{\n NETKVM_RTT_ENUM,\n NETKVM_RTT_INT,\n NETKVM_RTT_LONG,\n NETKVM_RTT_EDIT,\n NETKVM_RTT_LAST\n};\n\n#define NETKVM_RTT_UNKNOWN NETKVM_RTT_LAST\n\n///////////////////////////////////////////////...
1,122
53
{"language": "c", "success": true, "metadata": {"lines": 164, "avg_line_length": 33.31, "nodes": 646, "errors": 0, "source_hash": "6c9de886060b57573464d127eab1f7da8a2b14770ab7125a823b8c556a24c81f", "categorized_nodes": 472}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragm...
77,741
c
#ifndef _TIMER_H #define _TIMER_H void timer_setup(void); unsigned char timer_read(void); void timer_set(unsigned char countdown); #endif /* _TIMER_H */
24.5
6
(translation_unit) "#ifndef _TIMER_H\n#define _TIMER_H\n\nvoid timer_setup(void);\nunsigned char timer_read(void);\nvoid timer_set(unsigned char countdown);\n\n#endif /* _TIMER_H */\n" (preproc_ifdef) "#ifndef _TIMER_H\n#define _TIMER_H\n\nvoid timer_setup(void);\nunsigned char timer_read(void);\nvoid timer_set(unsig...
44
0
{"language": "c", "success": true, "metadata": {"lines": 6, "avg_line_length": 24.5, "nodes": 33, "errors": 0, "source_hash": "2c9b64b3831d866dda8598b3778617280a4b4373e9944198b015b900416d200c", "categorized_nodes": 20}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef _T...
77,742
c
// Generated by gencpp from file autoware_msgs/vscan_tracked.msg // DO NOT EDIT! #ifndef AUTOWARE_MSGS_MESSAGE_VSCAN_TRACKED_H #define AUTOWARE_MSGS_MESSAGE_VSCAN_TRACKED_H #include <string> #include <vector> #include <map> #include <ros/types.h> #include <ros/serialization.h> #include <ros/builtin_message_traits....
31.92
195
(translation_unit) "// Generated by gencpp from file autoware_msgs/vscan_tracked.msg\n// DO NOT EDIT!\n\n\n#ifndef AUTOWARE_MSGS_MESSAGE_VSCAN_TRACKED_H\n#define AUTOWARE_MSGS_MESSAGE_VSCAN_TRACKED_H\n\n\n#include <string>\n#include <vector>\n#include <map>\n\n#include <ros/types.h>\n#include <ros/serialization.h>\n#in...
1,682
120
{"language": "c", "success": true, "metadata": {"lines": 195, "avg_line_length": 31.92, "nodes": 978, "errors": 0, "source_hash": "ea80e7b597a4a1261e3ee6d5479d7f5053e1755e4ef0adfea8c2fa96ec29c636", "categorized_nodes": 648}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
77,743
c
/* Copyright (c) 2017-2019 by <NAME> Released under the MIT License. See the provided LICENSE.TXT file for details. */ #ifndef PHOTOSBROWSER_IMAGELOADER_H #define PHOTOSBROWSER_IMAGELOADER_H #include "Resizer.h" #include "ImageProvider.h" class Resize; class ImageProvider; class Window; class ImageLoader : pu...
22.85
26
(translation_unit) "/*\n Copyright (c) 2017-2019 by <NAME>\n Released under the MIT License.\n See the provided LICENSE.TXT file for details.\n*/\n\n#ifndef PHOTOSBROWSER_IMAGELOADER_H\n#define PHOTOSBROWSER_IMAGELOADER_H\n\n#include "Resizer.h"\n#include "ImageProvider.h"\n\n\nclass Resize;\n\nclass ImageProvider;\n\n...
124
1
{"language": "c", "success": true, "metadata": {"lines": 26, "avg_line_length": 22.85, "nodes": 78, "errors": 0, "source_hash": "c994185126f3eba1e53eec45220f0deda404a7189866147a86c77395bc66d6ac", "categorized_nodes": 55}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
77,744
c
// // ZGAppDelegate.h // ZGAssistiveBtnDemo // // Created by zhangchuanzhi on 04/23/2018. // Copyright (c) 2018 zhangchuanzhi. All rights reserved. // @import UIKit; @interface ZGAppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWindow *window; @end
25
11
(translation_unit) "//\n// ZGAppDelegate.h\n// ZGAssistiveBtnDemo\n//\n// Created by zhangchuanzhi on 04/23/2018.\n// Copyright (c) 2018 zhangchuanzhi. All rights reserved.\n//\n\n@import UIKit;\n\n@interface ZGAppDelegate : UIResponder <UIApplicationDelegate>\n\n@property (strong, nonatomic) UIWindow *window;\n\n@...
42
8
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 25.0, "nodes": 26, "errors": 0, "source_hash": "f97efa49d8a43d18f1ca943362f00c8c8ac803ac0e795a6a7f31f804bab493d6", "categorized_nodes": 13}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "@", "parent": nul...
77,745
c
/* * S2E Selective Symbolic Execution Framework * * Copyright (c) 2010, Dependable Systems Laboratory, EPFL * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of sourc...
32.42
170
(translation_unit) "/*\n * S2E Selective Symbolic Execution Framework\n *\n * Copyright (c) 2010, Dependable Systems Laboratory, EPFL\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 * ...
972
49
{"language": "c", "success": true, "metadata": {"lines": 170, "avg_line_length": 32.42, "nodes": 567, "errors": 0, "source_hash": "170b639c3c1196de67fd54538a80459512260c7cf730331b941504e62caa8847", "categorized_nodes": 386}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
77,746
c
#pragma once /*========================================================================= medInria Copyright (c) INRIA 2013 - 2020. All rights reserved. See LICENSE.txt for details. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICUL...
38.17
41
(translation_unit) "#pragma once\n/*=========================================================================\n\n medInria\n\n Copyright (c) INRIA 2013 - 2020. All rights reserved.\n See LICENSE.txt for details.\n\n This software is distributed WITHOUT ANY WARRANTY; without even\n the implied warranty of MERCHANTABIL...
267
12
{"language": "c", "success": true, "metadata": {"lines": 41, "avg_line_length": 38.17, "nodes": 176, "errors": 0, "source_hash": "f49a5ad2aafc7d5d6ecbb695cd7f4c8405382c2c30765a164be77c139168ff81", "categorized_nodes": 112}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
77,747
c
#ifndef COMMIT_LEVEL_H #define COMMIT_LEVEL_H enum CommitLevel { never = 0, success = 1, // some other historic values used to be in between here often = 4, }; #endif
18
9
(translation_unit) "#ifndef COMMIT_LEVEL_H\n#define COMMIT_LEVEL_H\n\nenum CommitLevel {\n never = 0,\n success = 1,\n // some other historic values used to be in between here\n often = 4,\n};\n\n#endif\n" (preproc_ifdef) "#ifndef COMMIT_LEVEL_H\n#define COMMIT_LEVEL_H\n\nenum CommitLevel {\n never = 0,\n success = 1...
31
0
{"language": "c", "success": true, "metadata": {"lines": 9, "avg_line_length": 18.0, "nodes": 23, "errors": 0, "source_hash": "c7867e09c8cc88b98f1dd486b56af13026a86aa55d03868d586c03edf073808c", "categorized_nodes": 18}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef CO...
77,748
c
#ifndef CPUCYCLES_H #define CPUCYCLES_H #ifdef DBENCH #define DBENCH_START() unsigned long long time = cpucycles_start() #define DBENCH_STOP(t) t += cpucycles_stop() - time - timing_overhead #else #define DBENCH_START() #define DBENCH_STOP(t) #endif #ifdef USE_RDPMC /* Needs echo 2 > /sys/devices/cpu/rdpmc */ #ifdef...
31.85
72
(translation_unit) "#ifndef CPUCYCLES_H\n#define CPUCYCLES_H\n\n#ifdef DBENCH\n#define DBENCH_START() unsigned long long time = cpucycles_start()\n#define DBENCH_STOP(t) t += cpucycles_stop() - time - timing_overhead\n#else\n#define DBENCH_START()\n#define DBENCH_STOP(t)\n#endif\n\n#ifdef USE_RDPMC /* Needs echo 2 > /...
722
0
{"language": "c", "success": true, "metadata": {"lines": 72, "avg_line_length": 31.85, "nodes": 398, "errors": 0, "source_hash": "be5fb92849ecda0b3249359d1069e1a75153b84e331cd8c2f86371249cc8ee77", "categorized_nodes": 228}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
77,749
c
#include <stdio.h> #include <math.h> struct Vec3 { double x; double y; double z; }; double potential_LennardJones (struct Vec3 atom1Pos, struct Vec3 atom2Pos, double epsilon, double r_m) { double r = sqrt( (atom2Pos.x-atom1Pos.x)*(atom2Pos.x-atom1Pos.x) +(atom2Pos.y-atom1Pos.y)*(atom2Pos.y-atom1Pos.y) ...
28.72
18
(translation_unit) "#include <stdio.h>\n#include <math.h>\n\nstruct Vec3 {\n double x;\n double y;\n double z;\n};\n\ndouble potential_LennardJones (struct Vec3 atom1Pos, struct Vec3 atom2Pos, double epsilon, double r_m) {\n double r = sqrt( (atom2Pos.x-atom1Pos.x)*(atom2Pos.x-atom1Pos.x)\n +(atom2Pos.y-atom1Pos...
221
1
{"language": "c", "success": true, "metadata": {"lines": 18, "avg_line_length": 28.72, "nodes": 156, "errors": 0, "source_hash": "25e5614e0c10ea3ab22271b04b7ef6b0326b51b3f905a5607fde6936e47160f5", "categorized_nodes": 120}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
77,750
c
#pragma once #include "Composite.h" // OR node for running a list of behaviours consecutively until one succeeds class Selector : public Composite { public: virtual eBehaviourResult execute(GameObject* gameObject, float deltaTime) { // iterates through all child behaviours for (auto child : childBehavi...
28.73
22
(translation_unit) "#pragma once \n#include "Composite.h" \n \n// OR node for running a list of behaviours consecutively until one succeeds \nclass Selector : public Composite \n{ \npublic: \n virtual eBehaviourResult execute(GameObject* gameObject, float deltaTime) \n { \n // iterates through all child behaviours \n ...
105
8
{"language": "c", "success": true, "metadata": {"lines": 22, "avg_line_length": 28.73, "nodes": 53, "errors": 0, "source_hash": "11661382d8b511d855235b005e2311ba0f439fb4a522177ee78d869dad76a4fc", "categorized_nodes": 36}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
77,751
c
#include<stdio.h> #include<stdlib.h> #include<stdbool.h> #include <limits.h> #include <string.h> struct stack{ int size; int top; char *arr; }; bool isEmpty(struct stack *stack){ if(stack->top == -1){ return true; } return false; } bool isFull(struct stack *stack){ if(stack->top =...
20.77
96
(translation_unit) "#include<stdio.h>\n#include<stdlib.h>\n#include<stdbool.h>\n#include <limits.h>\n#include <string.h>\n\nstruct stack{\n int size;\n int top;\n char *arr;\n};\n\nbool isEmpty(struct stack *stack){\n if(stack->top == -1){\n return true;\n }\n return false;\n}\n\nbool isFull(st...
840
0
{"language": "c", "success": true, "metadata": {"lines": 96, "avg_line_length": 20.77, "nodes": 522, "errors": 0, "source_hash": "c768f523a7ef07a2b428b047749a00c977553775fe1aee33e42eed0fa6a2d68b", "categorized_nodes": 350}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
77,752
c
#define local_mmu_gathers local_cpu_data->mmu_gathers #include <asm-generic/tlb.h>
40.5
2
(translation_unit) "#define local_mmu_gathers local_cpu_data->mmu_gathers\n\n#include <asm-generic/tlb.h>\n" (preproc_def) "#define local_mmu_gathers local_cpu_data->mmu_gathers\n" (#define) "#define" (identifier) "local_mmu_gathers" (preproc_arg) "local_cpu_data->mmu_gathers" (preproc_include) "#includ...
8
0
{"language": "c", "success": true, "metadata": {"lines": 2, "avg_line_length": 40.5, "nodes": 7, "errors": 0, "source_hash": "1834acd6c81677ccd414a5db9385b19e33e88cba6deac88739b5c4193ad4f9f7", "categorized_nodes": 4}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_def", "text": "#define local_...
77,753
c
/* *Copyright 2013-2015 by Explorer Developers. *made by <NAME><<EMAIL>> *Explorer 8259 head *Explorer 0.01/arch/x86/include/i8259.h *version:Alpha *7/26/2014 5:26 PM */ #ifndef PIC_H_ #define PIC_H_ #include <types.h> #define PIC0_ICW1 0x0020 #define PIC0_OCW2 0x0020 #define PIC0_IMR 0x0021 #define PIC0_I...
23.53
30
(translation_unit) "/*\n *Copyright 2013-2015 by Explorer Developers.\n *made by <NAME><<EMAIL>>\n *Explorer 8259 head\n *Explorer 0.01/arch/x86/include/i8259.h\n *version:Alpha\n *7/26/2014 5:26 PM\n */\n\n#ifndef PIC_H_\n#define PIC_H_\n\n#include <types.h>\n\n#define PIC0_ICW1 0x0020\n#define PIC0_OCW2 0x0020\n#de...
122
0
{"language": "c", "success": true, "metadata": {"lines": 30, "avg_line_length": 23.53, "nodes": 105, "errors": 0, "source_hash": "05133047cb4bcde67c87b2972a1ec7269008f40f27cbf001c1f6d634f4308b9b", "categorized_nodes": 48}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
77,754
c
/*************************************************************************** qthelp.h - XQP help widget ------------------- begin : April 2004 copyright : (C) 2004 by <NAME> email : <EMAIL> *******************...
33.97
39
(translation_unit) "/***************************************************************************\n qthelp.h - XQP help widget\n -------------------\n begin : April 2004\n copyright : (C) 2004 by <NAME>\n email : <EM...
83
3
{"language": "c", "success": true, "metadata": {"lines": 39, "avg_line_length": 33.97, "nodes": 50, "errors": 0, "source_hash": "8535633f0f7436bffa194cef3de853bf79dc29591300ecdd1a902f3323c6b6cb", "categorized_nodes": 35}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
77,755
c
// // PSWebSocketDriver+FixSecWebsocketProtocol.h // WeAppExample // // Created by lionvoom on 2020/11/18. // Copyright © 2020 wept. All rights reserved. // #import "PSWebSocketDriver.h" NS_ASSUME_NONNULL_BEGIN @interface PSWebSocketDriver (FixSecWebsocketProtocol) @end NS_ASSUME_NONNULL_END
23.75
12
(translation_unit) "//\n// PSWebSocketDriver+FixSecWebsocketProtocol.h\n// WeAppExample\n//\n// Created by lionvoom on 2020/11/18.\n// Copyright © 2020 wept. All rights reserved.\n//\n\n#import "PSWebSocketDriver.h"\n\nNS_ASSUME_NONNULL_BEGIN\n\n@interface PSWebSocketDriver (FixSecWebsocketProtocol)\n\n@end\n\nNS_A...
26
5
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 23.75, "nodes": 15, "errors": 0, "source_hash": "9af5b43b95534da62f785161082d0bfc712a6da5b7179077e9d11f9648885f57", "categorized_nodes": 8}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import \"P...
77,756
c
#include <stdio.h> float bad_add(float v1,float v2){ printf("I know how to add %f and %f\n",v1,v2); return v1 + v2 + 10.0; }
25.6
5
(translation_unit) "#include <stdio.h>\n\nfloat bad_add(float v1,float v2){\n printf("I know how to add %f and %f\n",v1,v2);\n return v1 + v2 + 10.0;\n}\n" (preproc_include) "#include <stdio.h>\n" (#include) "#include" (system_lib_string) "<stdio.h>" (function_definition) "float bad_add(float v1,float...
47
0
{"language": "c", "success": true, "metadata": {"lines": 5, "avg_line_length": 25.6, "nodes": 29, "errors": 0, "source_hash": "241665cf3a373b996374ce966785d2b383bb05c84c898a6ed0c8969eeee82435", "categorized_nodes": 21}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#include...
77,757
c
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef WEBKIT_FILEAPI_FILEAPI_EXPORT_H_ #define WEBKIT_FILEAPI_FILEAPI_EXPORT_H_ #if defined(COMPONENT_BUILD) #if defined(WIN32) #if defined(FILEAP...
34.18
28
(translation_unit) "// Copyright (c) 2012 The Chromium Authors. All rights reserved.\n// Use of this source code is governed by a BSD-style license that can be\n// found in the LICENSE file.\n\n#ifndef WEBKIT_FILEAPI_FILEAPI_EXPORT_H_\n#define WEBKIT_FILEAPI_FILEAPI_EXPORT_H_\n\n#if defined(COMPONENT_BUILD)\n#if define...
95
0
{"language": "c", "success": true, "metadata": {"lines": 28, "avg_line_length": 34.18, "nodes": 79, "errors": 0, "source_hash": "47beea8897b0e77ce6f2557f25add57ad824b8fc8fcddcada9aa59d2a6d252ee", "categorized_nodes": 31}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
77,758
c
#ifndef __SELECTION_H__ #define __SELECTION_H__ #include "SPlisHSPlasH/Common.h" #include "MiniGL.h" #ifdef WIN32 #define NOMINMAX #include "windows.h" #endif #ifdef __APPLE__ #include <OpenGL/GL.h> #include <OpenGL/GLU.h> #else #include "GL/gl.h" #include "GL/glu.h" #endif #include <vector> namespace SPH { clas...
32.67
107
(translation_unit) "#ifndef __SELECTION_H__\n#define __SELECTION_H__\n\n#include "SPlisHSPlasH/Common.h"\n#include "MiniGL.h"\n\n#ifdef WIN32\n#define NOMINMAX\n#include "windows.h"\n#endif\n\n#ifdef __APPLE__\n#include <OpenGL/GL.h>\n#include <OpenGL/GLU.h>\n#else\n#include "GL/gl.h"\n#include "GL/glu.h"\n#endif\n\n#i...
1,415
12
{"language": "c", "success": true, "metadata": {"lines": 107, "avg_line_length": 32.67, "nodes": 870, "errors": 0, "source_hash": "276b74c90943428f56aa6b9eab193f5f1386210923d529e7e2910fd4b7096884", "categorized_nodes": 662}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
77,759
c
// SPDX-License-Identifier: MIT /* * This file uses the 8080 emulator to run the test suite (roms in cpu_tests * directory). It uses a simple array as memory. */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <time.h> #include <inttypes.h> #include "i8080.h" // memory callbacks #define MEMOR...
25.5
134
(translation_unit) "// SPDX-License-Identifier: MIT\n\n/*\n * This file uses the 8080 emulator to run the test suite (roms in cpu_tests\n * directory). It uses a simple array as memory.\n */\n\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include <time.h>\n#include <inttypes.h>\n\n#include "i8080.h"\n...
1,050
0
{"language": "c", "success": true, "metadata": {"lines": 134, "avg_line_length": 25.5, "nodes": 595, "errors": 0, "source_hash": "d3d124467dc6d912b4b9d7127942559cbe178d507df712f722d5c37abfc90a8d", "categorized_nodes": 422}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
77,760
c
#define DPCT_USM_LEVEL_NONE #include <CL/sycl.hpp> #include <dpct/dpct.hpp> void kernel_find_index(const float *arrayX, const float *arrayY, const float *CDF, const float *u, float *xj, float *yj, const int Nparticles, sycl::nd_item<3> item_ct1) { int i = item_ct1.get_loca...
24
26
(translation_unit) "#define DPCT_USM_LEVEL_NONE\n#include <CL/sycl.hpp>\n#include <dpct/dpct.hpp>\nvoid kernel_find_index(const float *arrayX, const float *arrayY,\n const float *CDF, const float *u, float *xj, float *yj,\n const int Nparticles, sycl::nd_item<3> item_ct1)\n{\...
245
1
{"language": "c", "success": true, "metadata": {"lines": 26, "avg_line_length": 24.0, "nodes": 158, "errors": 0, "source_hash": "453a43150254a821eeb6c10a9242713d8a265c6e242ca358fbfb98067380a29b", "categorized_nodes": 106}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_def", "text": "#define D...
77,761
c
// // YBLPayResultViewModel.h // YC168 // // Created by 乔同新 on 2017/4/10. // Copyright © 2017年 乔同新. All rights reserved. // #import <Foundation/Foundation.h> @interface YBLPayResultModel : NSObject @property (nonatomic, strong) NSString *payWay; @property (nonatomic, strong) NSNumber *payMoney; @property (non...
30
17
(translation_unit) "//\n// YBLPayResultViewModel.h\n// YC168\n//\n// Created by 乔同新 on 2017/4/10.\n// Copyright © 2017年 乔同新. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n\n@interface YBLPayResultModel : NSObject\n\n@property (nonatomic, strong) NSString *payWay;\n\n@property (nonatomic, strong) N...
114
23
{"language": "c", "success": true, "metadata": {"lines": 17, "avg_line_length": 30.0, "nodes": 83, "errors": 0, "source_hash": "8a92fe255c54a298a8b67a4bcc0d97d432267b09e32ffd34b6c78a2c2fdcf8b7", "categorized_nodes": 46}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "tion/Found...
77,762
c
/* Given an array A of non-negative integers, return an array consisting of all the even elements of A, followed by all the odd elements of A. You may return any answer array that satisfies this condition. */ /** * Return an array of size *returnSize. * Note: The returned array must be malloced, assume caller calls...
28.33
27
(translation_unit) "/* \nGiven an array A of non-negative integers, return an array consisting of all the even elements of A, followed by all the odd elements of A.\nYou may return any answer array that satisfies this condition.\n*/\n\n/**\n * Return an array of size *returnSize.\n * Note: The returned array must be ma...
204
0
{"language": "c", "success": true, "metadata": {"lines": 27, "avg_line_length": 28.33, "nodes": 131, "errors": 0, "source_hash": "f22f550361e2da70b1634ee06379f6902b3d2018b325fc4a631c943bda2ab2ae", "categorized_nodes": 80}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "function_definition", "text": "i...
77,763
c
// // LMDeleteTableViewCell.h // Connect // // Created by bitmain on 2016/12/20. // Copyright © 2016年 Connect. All rights reserved. // #import <UIKit/UIKit.h> #import "BaseCell.h" @interface LMDeleteTableViewCell : BaseCell @property(weak, nonatomic) IBOutlet UILabel *deleteTable; @end
23.25
12
(translation_unit) "//\n// LMDeleteTableViewCell.h\n// Connect\n//\n// Created by bitmain on 2016/12/20.\n// Copyright © 2016年 Connect. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n#import "BaseCell.h"\n\n@interface LMDeleteTableViewCell : BaseCell\n@property(weak, nonatomic) IBOutlet UILabel *deleteTable;\...
41
7
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 23.25, "nodes": 28, "errors": 0, "source_hash": "40d23b8f48fae94cc0de8f2fc2881eff9735a7ae3219bdc63d0957caae8f6252", "categorized_nodes": 14}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "port <UIK...
77,764
c
#ifndef AUTO_GRIP_SETTER_H_ #define AUTO_GRIP_SETTER_H_ #include "../../CommandBase.h" #include "SmartDashboard/SmartDashboard.h" class AutoGripSetter: public CommandBase { private: float speed; float step; public: AutoGripSetter(float s, float st); virtual void Initialize(); virtual void Execute(); virtual b...
20.89
19
(translation_unit) "#ifndef AUTO_GRIP_SETTER_H_\n#define AUTO_GRIP_SETTER_H_\n\n#include "../../CommandBase.h"\n#include "SmartDashboard/SmartDashboard.h"\n\nclass AutoGripSetter: public CommandBase\n{\nprivate:\n float speed;\n float step;\n\npublic:\n AutoGripSetter(float s, float st);\n\n virtual void Initialize();\...
111
7
{"language": "c", "success": true, "metadata": {"lines": 19, "avg_line_length": 20.89, "nodes": 69, "errors": 0, "source_hash": "b4ffdcba4a62878e793d379eacd28a4d0b9766f79d18cccd1ca913c160afffb3", "categorized_nodes": 49}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
77,765
c
//============================================================================= // The CDataSource class encapsulates a data source, which might be live data // from WMI, data saved in an NFO file, or data from XML. //============================================================================= #pragma once #i...
28.93
306
(translation_unit) "//============================================================================= \n// The CDataSource class encapsulates a data source, which might be live data \n// from WMI, data saved in an NFO file, or data from XML. \n//============================================================================...
1,695
36
{"language": "c", "success": true, "metadata": {"lines": 306, "avg_line_length": 28.93, "nodes": 960, "errors": 0, "source_hash": "6f4be8812f27fbaa6e8a8ea90cbd60dd71d1f42fd8a26125f1e7ab1f27a2d215", "categorized_nodes": 663}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragm...
77,766
c
// Copyright 2019 The Goma Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef DEVTOOLS_GOMA_CLIENT_PROTO_UTIL_H_ #define DEVTOOLS_GOMA_CLIENT_PROTO_UTIL_H_ #include "absl/time/time.h" #include "google/protobuf/timestamp.pb.h" ...
43.92
12
(translation_unit) "// Copyright 2019 The Goma Authors. All rights reserved.\n// Use of this source code is governed by a BSD-style license that can be\n// found in the LICENSE file.\n\n#ifndef DEVTOOLS_GOMA_CLIENT_PROTO_UTIL_H_\n#define DEVTOOLS_GOMA_CLIENT_PROTO_UTIL_H_\n\n#include "absl/time/time.h"\n#include "googl...
79
6
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 43.92, "nodes": 36, "errors": 0, "source_hash": "985b4fae782c2bf390880fe41cadc456c6fcf56b4e055527faaa946ff4c8a5b9", "categorized_nodes": 26}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
77,767
c
#ifndef GENOS_DATASTRUCT_RING_HEAD_H #define GENOS_DATASTRUCT_RING_HEAD_H #include <igris/compiler.h> struct ring_head { unsigned int head; unsigned int tail; unsigned int size; }; #define RING_HEAD_INIT(size) \ { ...
25.67
132
(translation_unit) "#ifndef GENOS_DATASTRUCT_RING_HEAD_H\n#define GENOS_DATASTRUCT_RING_HEAD_H\n\n#include <igris/compiler.h>\n\nstruct ring_head\n{\n unsigned int head;\n unsigned int tail;\n unsigned int size;\n};\n\n#define RING_HEAD_INIT(size) \\n { ...
1,105
0
{"language": "c", "success": true, "metadata": {"lines": 132, "avg_line_length": 25.67, "nodes": 745, "errors": 0, "source_hash": "4fc5669d73fac7d835708a3a9b87d053b9380cb4c78f0d61b9fff7edece5f7a3", "categorized_nodes": 540}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
77,768
c
// // TouTiaoTwoTableViewCell.h // WangYi // // Created by lanou3g on 15/10/7. // Copyright (c) 2015年 庞雪松. All rights reserved. // #import <UIKit/UIKit.h> @interface TouTiaoTwoTableViewCell : UITableViewCell @property (nonatomic, strong) UILabel * titleLabel; @property (nonatomic, strong) UILabel * replyCountLa...
31.53
15
(translation_unit) "//\n// TouTiaoTwoTableViewCell.h\n// WangYi\n//\n// Created by lanou3g on 15/10/7.\n// Copyright (c) 2015年 庞雪松. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface TouTiaoTwoTableViewCell : UITableViewCell\n\n@property (nonatomic, strong) UILabel * titleLabel;\n\n@property (nonatom...
108
22
{"language": "c", "success": true, "metadata": {"lines": 15, "avg_line_length": 31.53, "nodes": 79, "errors": 0, "source_hash": "f901f741e83c800a29870ba2464a1f9c7fb6dcce63d518dd72f3ecc52d8aaa7f", "categorized_nodes": 40}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "<UIKit/UI...
77,769
c
#ifndef _DEDQUEUE #define _DEDQUEUE typedef struct _node { int value; struct _node *next; struct _node *prev; } node; typedef struct { node *head; node *tail; } dedqueue; void dedqueue_init (dedqueue *queue); int dedqueue_insert_first(dedqueue *queue, int value); int dedqueue_insert_last(dedqueue *queue,...
25.85
20
(translation_unit) "#ifndef _DEDQUEUE\n#define _DEDQUEUE\n\ntypedef struct _node {\n int value;\n struct _node *next;\n struct _node *prev;\n} node;\n\ntypedef struct {\n node *head;\n node *tail;\n} dedqueue;\n\nvoid dedqueue_init (dedqueue *queue);\n\nint dedqueue_insert_first(dedqueue *queue, int value);\n\nint...
171
0
{"language": "c", "success": true, "metadata": {"lines": 20, "avg_line_length": 25.85, "nodes": 131, "errors": 0, "source_hash": "5924f44dc51edbd3fb101be294b26de5662e00d1a001b66ebe5028ba05caf210", "categorized_nodes": 84}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
77,770
c
/* * The MIT License (MIT) * * Copyright (c) 2014-2017 by <NAME> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to u...
34.35
62
(translation_unit) "\n * The MIT License (MIT)\n *\n * Copyright (c) 2014-2017 by <NAME>\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the "Software"), to deal\n * in the Software without restriction, including without limit...
218
14
{"language": "c", "success": true, "metadata": {"lines": 62, "avg_line_length": 34.35, "nodes": 145, "errors": 0, "source_hash": "45458e005fa68de2147e09e0e44e34dd87775423b345d7118143047693e075ba", "categorized_nodes": 102}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "fndef ...
77,771
c
/* * Copyright (c) 2019 Rockchip Electronics Co. Ltd. * Author: <NAME> <<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/licenses/LICENSE-2.0 *...
28.73
56
(translation_unit) "/*\n * Copyright (c) 2019 Rockchip Electronics Co. Ltd.\n * Author: <NAME> <<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 * http://www.apache...
181
0
{"language": "c", "success": true, "metadata": {"lines": 56, "avg_line_length": 28.73, "nodes": 130, "errors": 0, "source_hash": "3b9adc48f27639107c2be8b6f51002d5c8dd22c3c48e623219f771cfbf8233a0", "categorized_nodes": 89}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
77,772
c
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by <NAME>. // #import "EDSearchableIndexPersistence.h" #import "EFLoggable.h" @class NSString; @interface MFSearchableIndexPersistence_macOS : EDSearchableIndexPersistence <EFLoggable> { } + (id)lo...
40.54
24
(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 "EDSearchableIndexPersistence.h"\n\n#import "EFLoggable.h"\n\n@class NSString;\n\n@interface MFSearchableIndexPersistence_macOS : EDSearchableIndexPersis...
252
25
{"language": "c", "success": true, "metadata": {"lines": 24, "avg_line_length": 40.54, "nodes": 156, "errors": 0, "source_hash": "6844849734d9f50abc7c22b5485d435bac7d63cc86d957dd8545174ad375dba1", "categorized_nodes": 99}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import ...
77,773
c
// // ViewController.h // LAttegotchi // // Created by <NAME> on 17.02.14. // Copyright (c) 2014 <NAME>. All rights reserved. // #import <UIKit/UIKit.h> @class TableViewController, LAttegotchi, DotImageView, Animation; @interface ViewController : UIViewController { TableViewController * tableViewController...
25.27
26
(translation_unit) "//\n// ViewController.h\n// LAttegotchi\n//\n// Created by <NAME> on 17.02.14.\n// Copyright (c) 2014 <NAME>. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@class TableViewController, LAttegotchi, DotImageView, Animation;\n\n\n@interface ViewController : UIViewController {\n TableVie...
159
20
{"language": "c", "success": true, "metadata": {"lines": 26, "avg_line_length": 25.27, "nodes": 109, "errors": 0, "source_hash": "5cb2ca0799bde8f5b4142194d95975eb16c1ada0c09917f69f2a7c6436f9b2b0", "categorized_nodes": 61}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import ...
77,774
c
/* * * Copyright 2018 Asylo authors * * 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 agree...
36.87
55
(translation_unit) "/*\n *\n * Copyright 2018 Asylo authors\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 requi...
278
1
{"language": "c", "success": true, "metadata": {"lines": 55, "avg_line_length": 36.87, "nodes": 168, "errors": 0, "source_hash": "dcadc0ca33c18fccb7a37d2e6e5e94977ed8cc99200fe2b8cb7de13a0824a169", "categorized_nodes": 133}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
77,775
c
#ifndef FIGHT_DUDE_GAMEENTITY_H #define FIGHT_DUDE_GAMEENTITY_H #include <string> #include <SFML/Graphics.hpp> #include <SFML/Window.hpp> #include "Entity.h" namespace fightdude { /** * Game entity base class. * * @author <NAME> * @version 1.0 */ class GameEntity : public Entity { public: GameEntity(std::stri...
24.22
32
(translation_unit) "#ifndef FIGHT_DUDE_GAMEENTITY_H\n#define FIGHT_DUDE_GAMEENTITY_H\n\n#include <string>\n#include <SFML/Graphics.hpp>\n#include <SFML/Window.hpp>\n#include "Entity.h"\n\nnamespace fightdude {\n/**\n * Game entity base class.\n *\n * @author <NAME>\n * @version 1.0\n */\nclass GameEntity : public Entit...
205
17
{"language": "c", "success": true, "metadata": {"lines": 32, "avg_line_length": 24.22, "nodes": 125, "errors": 0, "source_hash": "253b0830d9276e7d5ab4e622bba85a227dbd87565d6bd93877dcd7eb98a0a57f", "categorized_nodes": 94}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
77,776
c
#ifndef __CUBE_EVENTOR_H__ #define __CUBE_EVENTOR_H__ #include <memory> #include <functional> #include "callbacks.h" #include "poller.h" namespace cube { namespace net { class EventLoop; class Eventor { public: Eventor(EventLoop *event_loop, int fd); ~Eventor(); void SetEventsCallback...
32.68
38
(translation_unit) "#ifndef __CUBE_EVENTOR_H__\n#define __CUBE_EVENTOR_H__\n\n#include <memory>\n#include <functional>\n\n#include "callbacks.h"\n#include "poller.h"\n\nnamespace cube {\n\nnamespace net {\n\nclass EventLoop;\n\nclass Eventor {\n public:\n Eventor(EventLoop *event_loop, int fd);\n ~Even...
386
11
{"language": "c", "success": true, "metadata": {"lines": 38, "avg_line_length": 32.68, "nodes": 213, "errors": 0, "source_hash": "d6cab78c1eec5b1e0f5c1e1364254769976d782ae117a57613f2dbfa1f4c4020", "categorized_nodes": 146}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
77,777
c
// // Created by <NAME> on 2019/7/27. // #ifndef P3_G8_VEC_H #define P3_G8_VEC_H #include <iostream> #include <cmath> #define PI_V 3.14159265358979 typedef struct _Point { double x,y; } Point; double d2r(double a); // degree to rad double r2d(double a); // rad to degree void printVec(Point p); // onl...
24
21
(translation_unit) "// \n// Created by <NAME> on 2019/7/27. \n// \n \n#ifndef P3_G8_VEC_H \n#define P3_G8_VEC_H \n \n#include <iostream> \n#include <cmath> \n#define PI_V 3.14159265358979 \ntypedef struct _Point { double x,y; } Point; \n \ndouble d2r(double a); // degree to rad \ndouble r2d(double a); // rad to degre...
144
0
{"language": "c", "success": true, "metadata": {"lines": 21, "avg_line_length": 24.0, "nodes": 104, "errors": 0, "source_hash": "398d8c2c1900871541b1d4a51ddf42c2810a6ae31ca1ee6b3bdf4128d376c2c2", "categorized_nodes": 73}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
77,778
c
// Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef FLUTTER_FLOW_LAYERS_ELEVATED_CONTAINER_LAYER_H_ #define FLUTTER_FLOW_LAYERS_ELEVATED_CONTAINER_LAYER_H_ #include "flutter/flow/layers/container_la...
39.33
24
(translation_unit) "// Copyright 2013 The Flutter Authors. All rights reserved.\n// Use of this source code is governed by a BSD-style license that can be\n// found in the LICENSE file.\n\n#ifndef FLUTTER_FLOW_LAYERS_ELEVATED_CONTAINER_LAYER_H_\n#define FLUTTER_FLOW_LAYERS_ELEVATED_CONTAINER_LAYER_H_\n\n#include "flutt...
155
7
{"language": "c", "success": true, "metadata": {"lines": 24, "avg_line_length": 39.33, "nodes": 90, "errors": 0, "source_hash": "df62d864415dc65666b438d4bc922a61c03ee5c5559d931612f26f38a2287218", "categorized_nodes": 56}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
77,779
c
/* * This header is generated by classdump-dyld 1.0 * on Sunday, September 27, 2020 at 11:44:32 AM Mountain Standard Time * Operating System: Version 14.0 (Build 18A373) * Image Source: /System/Library/PrivateFrameworks/StoreKitUI.framework/StoreKitUI * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by <...
47.06
18
(translation_unit) "/*\n* This header is generated by classdump-dyld 1.0\n* on Sunday, September 27, 2020 at 11:44:32 AM Mountain Standard Time\n* Operating System: Version 14.0 (Build 18A373)\n* Image Source: /System/Library/PrivateFrameworks/StoreKitUI.framework/StoreKitUI\n* classdump-dyld is licensed under GPLv3, C...
99
11
{"language": "c", "success": true, "metadata": {"lines": 18, "avg_line_length": 47.06, "nodes": 57, "errors": 0, "source_hash": "9b59fb8b59b16474d01f8fe5ad07c5668e32bfc61794984501d2f83860f6f78e", "categorized_nodes": 36}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <S...
77,780
c
#ifndef _DF_TOKENS_H_ #define _DF_TOKENS_H_ #include "difengine.h" /** * @file * Difengine token types */ #ifdef __cplusplus extern "C" { #endif typedef struct { int type; const char *start; ssize_t length; ssize_t line; } DfToken; typedef struct { char *str; /* keyword itself */ int t...
13.97
73
(translation_unit) "#ifndef _DF_TOKENS_H_\n#define _DF_TOKENS_H_\n\n#include "difengine.h"\n\n/**\n * @file\n * Difengine token types\n */\n\n#ifdef __cplusplus\nextern "C" {\n#endif\n\ntypedef struct {\n int type;\n const char *start;\n ssize_t length;\n ssize_t line;\n} DfToken;\n\ntypedef struct {\n c...
226
0
{"language": "c", "success": true, "metadata": {"lines": 73, "avg_line_length": 13.97, "nodes": 147, "errors": 0, "source_hash": "cd49bb975157d2f74d158cf7a4792af6d0cf7b6fb6288ee747ad9f7a9b23bebc", "categorized_nodes": 130}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
77,781
c
/* Copyright 2020 The Chromium OS Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "pwr_defs.h" #include "stdbool.h" /* Registers definitions */ #define GL3590_HUB_MODE_REG 0x0 #define GL3590_HUB_MODE_I2C_READY 0x1 #def...
35.37
52
(translation_unit) "/* Copyright 2020 The Chromium OS Authors. All rights reserved.\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n */\n\n#include "pwr_defs.h"\n#include "stdbool.h"\n\n/* Registers definitions */\n#define GL3590_HUB_MODE_REG 0x0\n#define GL35...
268
0
{"language": "c", "success": true, "metadata": {"lines": 52, "avg_line_length": 35.37, "nodes": 215, "errors": 0, "source_hash": "900280b70d52d3147ccf03f055890f766a9fa98367a5b8ae4d0d57bdd859e0fd", "categorized_nodes": 101}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
77,782
c
#include <stdint.h> #include "platform.h" #include "internals.h" #include "softfloat.h" float32_t f32_mulAdd( float32_t a, float32_t b, float32_t c ) { union ui32_f32 uA; uint_fast32_t uiA; union ui32_f32 uB; uint_fast32_t uiB; union ui32_f32 uC; uint_fast32_t uiC; uA.f = a; uiA = uA....
20.85
20
(translation_unit) "#include <stdint.h>\n#include "platform.h"\n#include "internals.h"\n#include "softfloat.h"\n\nfloat32_t f32_mulAdd( float32_t a, float32_t b, float32_t c )\n{\n union ui32_f32 uA;\n uint_fast32_t uiA;\n union ui32_f32 uB;\n uint_fast32_t uiB;\n union ui32_f32 uC;\n uint_fast32_t ui...
142
0
{"language": "c", "success": true, "metadata": {"lines": 20, "avg_line_length": 20.85, "nodes": 94, "errors": 0, "source_hash": "ee85cb612260117444dbb4de8f44b4b20e8748b61de7e4254653f1b1e5da974b", "categorized_nodes": 86}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
77,783
c
// Copyright 2017 <EMAIL> // Licensed under the MIT license (http://opensource.org/licenses/MIT) #define OP_REG(op, dest, x, y) (op | (dest<<DEST_bp | x<<R0_bp | y<<R1_bp)<<8) #define OP_I(op, dest, x, im_type) (op | (1<<IM_bp | dest<<DEST_bp | x<<R0_bp | im_type<<IM_TYPE_bp)<<8) #define MOVI(dest) OP_I(OP_MOV, dest,...
23.31
61
(translation_unit) "// Copyright 2017 <EMAIL>\n// Licensed under the MIT license (http://opensource.org/licenses/MIT)\n\n#define OP_REG(op, dest, x, y) (op | (dest<<DEST_bp | x<<R0_bp | y<<R1_bp)<<8)\n#define OP_I(op, dest, x, im_type) (op | (1<<IM_bp | dest<<DEST_bp | x<<R0_bp | im_type<<IM_TYPE_bp)<<8)\n\n#define MOV...
338
0
{"language": "c", "success": true, "metadata": {"lines": 61, "avg_line_length": 23.31, "nodes": 237, "errors": 0, "source_hash": "e8dc02ffed9170a325168c0a31d2399a44e90fdb67ac8f291fceb5a305c0dbc6", "categorized_nodes": 163}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_function_def", "text": ...
77,784
c
#ifndef TOOLS_ARCH_PARISC_UAPI_ASM_MMAN_FIX_H #define TOOLS_ARCH_PARISC_UAPI_ASM_MMAN_FIX_H #define MADV_DODUMP 70 #define MADV_DOFORK 11 #define MADV_DONTDUMP 69 #define MADV_DONTFORK 10 #define MADV_DONTNEED 4 #define MADV_FREE 8 #define MADV_HUGEPAGE 67 #define MADV_MERGEABLE 65 #define MADV_NOHUGEPAGE 68 #def...
28.23
47
(translation_unit) "#ifndef TOOLS_ARCH_PARISC_UAPI_ASM_MMAN_FIX_H\n#define TOOLS_ARCH_PARISC_UAPI_ASM_MMAN_FIX_H\n#define MADV_DODUMP 70\n#define MADV_DOFORK 11\n#define MADV_DONTDUMP 69\n#define MADV_DONTFORK 10\n#define MADV_DONTNEED 4\n#define MADV_FREE 8\n#define MADV_HUGEPAGE 67\n#define MADV_MERGEABLE 65\n#...
172
0
{"language": "c", "success": true, "metadata": {"lines": 47, "avg_line_length": 28.23, "nodes": 167, "errors": 0, "source_hash": "8706892dccf4889d334c0a6b986878393b1dabe6097f9de09bbb2ec7b090f6de", "categorized_nodes": 45}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
77,785
c
#include "wallet.h" #include "constants.h" #include "crypto.h" #include "ser_wallet.h" #include "mbedtls/ecp.h" mbedtls_ecdsa_context **build_inputs(Transaction *tx, TxOptions *options) { size_t i, num_entries; mbedtls_ecdsa_context **keys; options->out_total = options->tx_fee; for (i = 0; i < options->num_de...
32.83
135
(translation_unit) "#include "wallet.h"\n#include "constants.h"\n#include "crypto.h"\n#include "ser_wallet.h"\n\n#include "mbedtls/ecp.h"\n\nmbedtls_ecdsa_context **build_inputs(Transaction *tx, TxOptions *options) {\n size_t i, num_entries;\n mbedtls_ecdsa_context **keys;\n options->out_total = options->tx_fee;\n ...
1,403
0
{"language": "c", "success": true, "metadata": {"lines": 135, "avg_line_length": 32.83, "nodes": 873, "errors": 0, "source_hash": "6ce6471116531419634ac1070ab22128dbfe386721eeea5f6c75222e1c889406", "categorized_nodes": 622}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
77,786
c
#include <stdio.h> #include <math.h> void swap(int *x, int *y); void heapify(int arr[], int i, int s); void HeapSort(int arr[], int n); void BuildHeap(int arr[], int n); int main(){ int arr[] = {3,25,9,30,2}; HeapSort(arr, 5); for(int i = 0; i < 5; i++){ printf("%d ", arr[i]); } ret...
18.72
50
(translation_unit) "#include <stdio.h>\n#include <math.h>\n\nvoid swap(int *x, int *y);\nvoid heapify(int arr[], int i, int s);\nvoid HeapSort(int arr[], int n);\nvoid BuildHeap(int arr[], int n);\n\nint main(){\n \n int arr[] = {3,25,9,30,2};\n HeapSort(arr, 5);\n\n for(int i = 0; i < 5; i++){\n pri...
544
0
{"language": "c", "success": true, "metadata": {"lines": 50, "avg_line_length": 18.72, "nodes": 346, "errors": 0, "source_hash": "9c2230920bc0bb8c4cc3b34e08154d2aeba23243d1f2644e1e1e92a590218745", "categorized_nodes": 231}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
77,787
c
// // Created by pedro on 16/05/2019. // #ifndef LA_FILES_H #define LA_FILES_H void save(ESTADO e,char ficheiro[MAX_BUF]); ESTADO load(ESTADO e,char ficheiro[MAX_BUF]); #endif //LA_FILES_H
22.62
8
(translation_unit) "//\n// Created by pedro on 16/05/2019.\n//\n\n#ifndef LA_FILES_H\n#define LA_FILES_H\nvoid save(ESTADO e,char ficheiro[MAX_BUF]);\nESTADO load(ESTADO e,char ficheiro[MAX_BUF]);\n#endif //LA_FILES_H\n" (comment) "//" (comment) "// Created by pedro on 16/05/2019." (comment) "//" (preproc_ifdef...
50
0
{"language": "c", "success": true, "metadata": {"lines": 8, "avg_line_length": 22.62, "nodes": 33, "errors": 0, "source_hash": "43de42afef362bad2af9cb5b3c52c16d788970c651c5f166e99f70c34bc16ade", "categorized_nodes": 24}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef L...
77,788
c
/* * Copyright (C) 1999 <NAME> (<EMAIL>) * (C) 2000 <NAME> <<EMAIL>> * Copyright (C) 2006, 2009 Apple Inc. All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Softw...
31.28
65
(translation_unit) "/* \n * Copyright (C) 1999 <NAME> (<EMAIL>) \n * (C) 2000 <NAME> <<EMAIL>> \n * Copyright (C) 2006, 2009 Apple Inc. All rights reserved. \n * \n * This library is free software; you can redistribute it and/or \n * modify it under the terms of the GNU Library General Public \n * License as ...
237
8
{"language": "c", "success": true, "metadata": {"lines": 65, "avg_line_length": 31.28, "nodes": 141, "errors": 0, "source_hash": "b04efcf3baac24c8e867938d25c41ad69f951d388de38253d58dc61e2f36270d", "categorized_nodes": 90}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
77,789
c
#ifndef MCFUNCTIONHIGHLIGHTER_H #define MCFUNCTIONHIGHLIGHTER_H #include <QRegularExpression> #include "highlighter.h" #include "parsers/command/minecraftparser.h" class McfunctionHighlighter : public Highlighter { public: McfunctionHighlighter(QTextDocument *parent = nullptr); protected slots: void highlig...
33.52
31
(translation_unit) "#ifndef MCFUNCTIONHIGHLIGHTER_H\n#define MCFUNCTIONHIGHLIGHTER_H\n\n#include <QRegularExpression>\n\n#include "highlighter.h"\n#include "parsers/command/minecraftparser.h"\n\nclass McfunctionHighlighter : public Highlighter\n{\npublic:\n McfunctionHighlighter(QTextDocument *parent = nullptr);\n\n...
200
8
{"language": "c", "success": true, "metadata": {"lines": 31, "avg_line_length": 33.52, "nodes": 125, "errors": 0, "source_hash": "e3dbfee8748525d7da9b257004b6acf8b5429146cf5c0d6c36f890caa1e66df8", "categorized_nodes": 92}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
77,790
c
#ifndef lint static char sccsid[] = "@(#)uusnap.c 5.7 (Berkeley) 10/9/85"; #endif /* * Uusnap - displays a snapshot of the uucp system. * originally by RJKing WECo-MG6565 May 83 */ #include "uucp.h" #include <sys/stat.h> #include <strings.h> #ifdef NDIR #include "ndir.h" #else #include <sys/dir.h> #endif #include ...
24.1
269
(translation_unit) "#ifndef lint\nstatic char sccsid[] = "@(#)uusnap.c 5.7 (Berkeley) 10/9/85";\n#endif\n\n/*\n * Uusnap - displays a snapshot of the uucp system.\n * originally by RJKing WECo-MG6565 May 83\n */\n\n#include "uucp.h"\n#include <sys/stat.h>\n#include <strings.h>\n#ifdef NDIR\n#include "ndir.h"\n#else\n#i...
2,932
1
{"language": "c", "success": true, "metadata": {"lines": 269, "avg_line_length": 24.1, "nodes": 1724, "errors": 0, "source_hash": "817cfda8a500dd4817bbb6332575fb481318959c2855f5269000bee649878ba9", "categorized_nodes": 1256}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifn...
77,791
c
// // DVTViewController.h // SCXcodeSwitchExpander // // Created by <NAME> on 16/05/2015. // Copyright (c) 2015 <NAME>. All rights reserved. // #import <Cocoa/Cocoa.h> @interface DVTViewController : NSViewController @end
21.5
10
(translation_unit) "//\n// DVTViewController.h\n// SCXcodeSwitchExpander\n//\n// Created by <NAME> on 16/05/2015.\n// Copyright (c) 2015 <NAME>. All rights reserved.\n//\n\n#import <Cocoa/Cocoa.h>\n\n@interface DVTViewController : NSViewController\n\n@end\n" (comment) "//" (comment) "// DVTViewController.h" ...
19
3
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 21.5, "nodes": 9, "errors": 0, "source_hash": "bf5f0b3db3b8c300100322aec011d88a437e154d4843fdc7573669c6f22c4be2", "categorized_nodes": 4}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <Coc...
77,792
c
/* * $Id: argz_append.c,v 1.0 2021-01-21 10:48:32 clib2devs Exp $ */ #ifndef _STDLIB_HEADERS_H #include "stdlib_headers.h" #endif /* _STDLIB_HEADERS_H */ #include <argz.h> error_t argz_append(char **argz, size_t *argz_len, const char *buf, size_t buf_len) { size_t last = *argz_len; *argz_len += buf_len; ...
25.29
17
(translation_unit) "/*\n * $Id: argz_append.c,v 1.0 2021-01-21 10:48:32 clib2devs Exp $\n*/\n\n#ifndef _STDLIB_HEADERS_H\n#include "stdlib_headers.h"\n#endif /* _STDLIB_HEADERS_H */\n\n#include <argz.h>\n\nerror_t\nargz_append(char **argz, size_t *argz_len, const char *buf, size_t buf_len)\n{\n size_t last = *argz_l...
127
0
{"language": "c", "success": true, "metadata": {"lines": 17, "avg_line_length": 25.29, "nodes": 88, "errors": 0, "source_hash": "8be57de73fa130128093fcc3888b64add07bd50e2bb43199f03ab262077f4ce2", "categorized_nodes": 56}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
77,793
c
/* * Copyright (c) 2019-2020, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright * notice, this l...
34.22
115
(translation_unit) "/*\n * Copyright (c) 2019-2020, NVIDIA CORPORATION. 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 * * Redistributions of source code must retain the above copyrigh...
445
21
{"language": "c", "success": true, "metadata": {"lines": 115, "avg_line_length": 34.22, "nodes": 241, "errors": 0, "source_hash": "fa2ad658a1f8784d3683cb165b8bcc11d2c2759389df383899be1afa07e11785", "categorized_nodes": 176}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
77,794
c
/* * Arm SCP/MCP Software * Copyright (c) 2015-2019, Arm Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #include <stdbool.h> #include <stdint.h> #include <fwk_assert.h> #include <fwk_element.h> #include <fwk_errno.h> #include <fwk_event.h> #include <fwk_id.h> #include ...
25.57
192
(translation_unit) "/*\n * Arm SCP/MCP Software\n * Copyright (c) 2015-2019, Arm Limited and Contributors. All rights reserved.\n *\n * SPDX-License-Identifier: BSD-3-Clause\n */\n\n#include <stdbool.h>\n#include <stdint.h>\n#include <fwk_assert.h>\n#include <fwk_element.h>\n#include <fwk_errno.h>\n#include <fwk_event....
1,057
0
{"language": "c", "success": true, "metadata": {"lines": 192, "avg_line_length": 25.57, "nodes": 646, "errors": 0, "source_hash": "d8fbf257c89411d102b07d97791afa18cbb480187160dc95e4451fe6f4c7897f", "categorized_nodes": 436}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
77,795
c
#ifndef MATH_FUNCTION_PTR_H #define MATH_FUNCTION_PTR_H #include <random> #include <sys/timeb.h> namespace BigBang { //d = alpha* a*b + c; //TODO: need to refactor the function, //need to the same as the gpu_gemm //template<typename dtype> //void bigbang_cpu_gemm(const dtype* a, const int a_row, const int a_colum...
36.49
85
(translation_unit) "#ifndef MATH_FUNCTION_PTR_H\n#define MATH_FUNCTION_PTR_H\n\n#include <random>\n#include <sys/timeb.h>\n\nnamespace BigBang {\n//d = alpha* a*b + c;\n //TODO: need to refactor the function, \n //need to the same as the gpu_gemm\n//template<typename dtype>\n//void bigbang_cpu_gemm(const dtype* a, con...
1,000
120
{"language": "c", "success": true, "metadata": {"lines": 85, "avg_line_length": 36.49, "nodes": 674, "errors": 0, "source_hash": "65c344db0a734a9ac1e90a8db19e790a22e1b573e065d364c28beb87d699a27b", "categorized_nodes": 415}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
77,796
c
// SPDX-License-Identifier: MIT // Copyright (C) 2021 <NAME> <<EMAIL>> #include "loader.h" #include "config.h" #include <errno.h> #include <fcntl.h> #include <stdarg.h> #include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/mman.h> #include <sys/stat.h> #include <unistd.h> #def...
24.53
236
(translation_unit) "// SPDX-License-Identifier: MIT\n// Copyright (C) 2021 <NAME> <<EMAIL>>\n\n#include "loader.h"\n\n#include "config.h"\n\n#include <errno.h>\n#include <fcntl.h>\n#include <stdarg.h>\n#include <stdint.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include <sys/mman.h>\n#include <sy...
1,584
8
{"language": "c", "success": true, "metadata": {"lines": 236, "avg_line_length": 24.53, "nodes": 991, "errors": 0, "source_hash": "ea278be31a9df5d548e98c75c0ff77897561ae8998accb2b9772119eeed1efcc", "categorized_nodes": 677}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
77,797
c
/* *------------------------------------------------------------ * ___ ___ _ * ___ ___ ___ ___ ___ _____| _| . | |_ * | _| . |_ -| _| . | | | . | . | '_| * |_| |___|___|___|___|_____|_|_|_|___|___|_,_| * |_____| firmware v1 * ----------...
31.4
35
(translation_unit) "/*\n *------------------------------------------------------------\n * ___ ___ _\n * ___ ___ ___ ___ ___ _____| _| . | |_\n * | _| . |_ -| _| . | | | . | . | '_|\n * |_| |___|___|___|___|_____|_|_|_|___|___|_,_|\n * |_____| ...
97
0
{"language": "c", "success": true, "metadata": {"lines": 35, "avg_line_length": 31.4, "nodes": 70, "errors": 0, "source_hash": "898c46ad13b16294bf8775c0ed4e16c6ea92e920ffd9c96b2b978f0f4560cb51", "categorized_nodes": 52}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef _...
77,798
c
/*AULA 3 - Exercicio 5 - Ler caracter e transforma-lo em maisculo */ #include <stdio.h> int main () { char ch, d; printf ("Digite alguma letra do teclado.\n"); scanf ("%c", &ch); if (((ch > 64) && (ch < 91) || (ch > 96) && (ch < 123))) { if ((ch > 64) && (ch < 91)) { printf ("%c\n", ch); } if ((ch > ...
21.1
20
(translation_unit) "/*AULA 3 - Exercicio 5 - Ler caracter e transforma-lo em maisculo */\n#include <stdio.h>\n\nint main () {\n\n char ch, d;\n\n printf ("Digite alguma letra do teclado.\n");\n scanf ("%c", &ch);\n\n if (((ch > 64) && (ch < 91) || (ch > 96) && (ch < 123))) {\n\n if ((ch > 64) && (ch < 91)) {\n print...
199
0
{"language": "c", "success": true, "metadata": {"lines": 20, "avg_line_length": 21.1, "nodes": 106, "errors": 0, "source_hash": "541363804516ee0c7fed8412735f8f7be28488ce8838b395346f32b46fb93538", "categorized_nodes": 78}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
77,799