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
/* Test for -Wtraditional warnings on integer constant suffixes. Note, gcc should omit these warnings in system header files. Origin: <NAME> <<EMAIL>> 8/24/2000. */ /* { dg-do compile } */ /* { dg-options "-Wtraditional" } */ void testfunc (void) { int i; double f; i = 1L; i = 1l; i = 1U; /* { dg-war...
33.19
32
(translation_unit) "/* Test for -Wtraditional warnings on integer constant suffixes.\n Note, gcc should omit these warnings in system header files.\n Origin: <NAME> <<EMAIL>> 8/24/2000. */\n/* { dg-do compile } */\n/* { dg-options "-Wtraditional" } */\n\nvoid\ntestfunc (void)\n{\n int i;\n double f;\n\n i = 1L;...
142
0
{"language": "c", "success": true, "metadata": {"lines": 32, "avg_line_length": 33.19, "nodes": 88, "errors": 0, "source_hash": "041fdb02d6190ce4bf6c9daf754d3be243ce0be2c1d171951dff1128f65c78dc", "categorized_nodes": 63}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "function_definition", "text": "vo...
77,400
c
/* * Copyright (c) 2020, <NAME> <<EMAIL>> * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include <LibJS/Runtime/StringObject.h> namespace JS { struct CodePoint { u32 code_point { 0 }; size_t code_unit_count { 0 }; bool is_unpaired_surrogate { false }; }; CodePoint code_point_at(Utf16Vie...
35.4
67
(translation_unit) "/*\n * Copyright (c) 2020, <NAME> <<EMAIL>>\n *\n * SPDX-License-Identifier: BSD-2-Clause\n */\n\n#pragma once\n\n#include <LibJS/Runtime/StringObject.h>\n\nnamespace JS {\n\nstruct CodePoint {\n u32 code_point { 0 };\n size_t code_unit_count { 0 };\n bool is_unpaired_surrogate { false };\n...
494
10
{"language": "c", "success": true, "metadata": {"lines": 67, "avg_line_length": 35.4, "nodes": 252, "errors": 0, "source_hash": "72746ae206f73f5f6d7c623eea6c1747cc9e23bce88bbead215fe14fcd88b8c4", "categorized_nodes": 188}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma ...
77,401
c
/* * Copyright (C) <NAME> (agentzh) */ #ifndef DDEBUG #define DDEBUG 0 #endif #include "ddebug.h" #include "ngx_stream_lua_contentby.h" #include "ngx_stream_lua_util.h" #include "ngx_stream_lua_cache.h" ngx_int_t ngx_stream_lua_content_handler_file(ngx_stream_session_t *s) { lua_State ...
33.2
180
(translation_unit) "/*\n * Copyright (C) <NAME> (agentzh)\n */\n\n\n#ifndef DDEBUG\n#define DDEBUG 0\n#endif\n#include "ddebug.h"\n\n\n#include "ngx_stream_lua_contentby.h"\n#include "ngx_stream_lua_util.h"\n#include "ngx_stream_lua_cache.h"\n\n\nngx_int_t\nngx_stream_lua_content_handler_file(ngx_stream_session_t *s)\n...
1,316
0
{"language": "c", "success": true, "metadata": {"lines": 180, "avg_line_length": 33.2, "nodes": 759, "errors": 0, "source_hash": "28cd5eccc331fd41f050c18358152f2f9632f023ac57844a64e33f3aded17230", "categorized_nodes": 586}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
77,402
c
// Copyright 2021 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. #ifndef MINIOS_MOCK_NETWORK_MANAGER_H_ #define MINIOS_MOCK_NETWORK_MANAGER_H_ #include <string> #include <vector> #include <gmock/gmock.h> #include ...
37.38
42
(translation_unit) "// Copyright 2021 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#ifndef MINIOS_MOCK_NETWORK_MANAGER_H_\n#define MINIOS_MOCK_NETWORK_MANAGER_H_\n\n#include <string>\n#include <vector>\n\n#incl...
350
14
{"language": "c", "success": true, "metadata": {"lines": 42, "avg_line_length": 37.38, "nodes": 178, "errors": 0, "source_hash": "5becce31f4e57b48046ebbcc2a9c55bccab6b8c29676fd55089af97939d66058", "categorized_nodes": 135}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
77,403
c
// // TXSCache.h // TXSYYCacheManager // // Created by Mac on 2018/1/23. // Copyright © 2018年 Mac. All rights reserved. // #import <Foundation/Foundation.h> #import "TXSKVStorage.h" NS_ASSUME_NONNULL_BEGIN @class TXSFileCache; @interface TXSCache : NSObject @property (nonatomic, strong) NSString *path; @prope...
21.16
133
(translation_unit) "//\n// TXSCache.h\n// TXSYYCacheManager\n//\n// Created by Mac on 2018/1/23.\n// Copyright © 2018年 Mac. All rights reserved.\n//\n\n\n\n#import <Foundation/Foundation.h>\n#import "TXSKVStorage.h"\n\nNS_ASSUME_NONNULL_BEGIN\n\n@class TXSFileCache;\n\n@interface TXSCache : NSObject\n@property (non...
457
59
{"language": "c", "success": true, "metadata": {"lines": 133, "avg_line_length": 21.16, "nodes": 298, "errors": 0, "source_hash": "4e777fe88463aaa0ae44182cc6f3ff0af7e51635d0959d1ab7d848116f613c21", "categorized_nodes": 159}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "port <...
77,404
c
//Room: bed.c inherit ROOM; void create() { set("short", "牀上"); set("long", @LONG 一張白色的軟榻,看上去極為精緻,紗衾鴛枕之間散發出一絲絲 幽香. LONG ); set("exits", ([ "out": "/d/changan/kzsleep", ])); set("no_fight", 1); set("no_magic", 1); set("sleep_room",1); ...
19.42
19
(translation_unit) "//Room: bed.c\n\ninherit ROOM;\n\nvoid create()\n{\n set("short", "牀上");\n set("long", @LONG\n一張白色的軟榻,看上去極為精緻,紗衾鴛枕之間散發出一絲絲\n幽香.\nLONG );\n set("exits", ([\n "out": "/d/changan/kzsleep",\n ]));\n set("no_fight", 1);\n set("no_magic", 1);...
151
7
{"language": "c", "success": true, "metadata": {"lines": 19, "avg_line_length": 19.42, "nodes": 61, "errors": 0, "source_hash": "c911e826da7e2004471e610bfceb98c262e0e2001a6fa63687763a489860d374", "categorized_nodes": 43}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "declaration", "text": "inherit RO...
77,405
c
#ifndef __ZMALLOC_H #define __ZMALLOC_H //内存分配函数包装 #define zmalloc malloc #define zrealloc realloc #define zcalloc(x) calloc(x,1) #define zfree free #define zstrdup strdup #endif
15.08
12
(translation_unit) "#ifndef __ZMALLOC_H \n#define __ZMALLOC_H \n \n//内存分配函数包装 \n \n#define zmalloc malloc \n#define zrealloc realloc \n#define zcalloc(x) calloc(x,1) \n#define zfree free \n#define zstrdup strdup \n \n#endif" (preproc_ifdef) "#ifndef __ZMALLOC_H \n#define __ZMALLOC_H \n \n//内存分配函数包装 \n \n#define zmall...
33
0
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 15.08, "nodes": 29, "errors": 0, "source_hash": "0299cff85fea59dce15c4a1b4e20aa051183c2c2d7851b174a5d36e9e8cdd3f5", "categorized_nodes": 12}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
77,406
c
#include "button.h" #include "globals.h" // Method sets all button pins as Input pins and activates internal pull up resistors for the inputs void init_button_ports_mcu() { BUTTON_REGISTER &= ~(1 << BUTTON_START_STOP) | ~(1 << BUTTON_1) | ~(1 << BUTTON_2) | ~(1 << BUTTON_3) | ~(1 << BUTTON_4); BUTTON_PORT = (1...
28.26
27
(translation_unit) "#include "button.h"\n#include "globals.h"\n\n// Method sets all button pins as Input pins and activates internal pull up resistors for the inputs\nvoid init_button_ports_mcu()\n{\n BUTTON_REGISTER &= ~(1 << BUTTON_START_STOP) | ~(1 << BUTTON_1) | ~(1 << BUTTON_2) | ~(1 << BUTTON_3) | ~(1 << BUTTO...
218
0
{"language": "c", "success": true, "metadata": {"lines": 27, "avg_line_length": 28.26, "nodes": 128, "errors": 0, "source_hash": "d6809a5a7bacc3b4a4c4935ec03b41de6ffd399138a0895db6b77733afeb3f78", "categorized_nodes": 101}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
77,407
c
#include <stdlib.h> #include <stdint.h> #include <stdio.h> #include <X11/Xutil.h> #include <kit/region.h> #include "window.h" #include <gosh/window.h> window_x11_t *create_window_x11 (backend_x11_t *backend, window_t *window, region_t region, ...
41.55
132
(translation_unit) "#include <stdlib.h>\n#include <stdint.h>\n#include <stdio.h>\n\n#include <X11/Xutil.h>\n\n#include <kit/region.h>\n\n#include "window.h"\n\n#include <gosh/window.h>\n\nwindow_x11_t *create_window_x11 (backend_x11_t *backend,\n window_t *window,\n ...
1,001
0
{"language": "c", "success": true, "metadata": {"lines": 132, "avg_line_length": 41.55, "nodes": 610, "errors": 0, "source_hash": "c0bbc2f0af21af24495a8c6bf8dbc43b269dc15f1bb7a5b539d8a20ab8f6faa1", "categorized_nodes": 503}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
77,408
c
#ifndef _ITENSOR_LAPACK_LINSYS_SOLVERS_H #define _ITENSOR_LAPACK_LINSYS_SOLVERS_H #include "pi-peps/config.h" #include "pi-peps/linalg/itensor-linsys-solvers.h" namespace itensor { // // // Forward declarations of fortran lapack routines // // #ifdef LAPACK_REQUIRE_EXTERN extern "C" { // SOLVE LINEAR SYSTEM Ax ...
34.64
190
(translation_unit) "#ifndef _ITENSOR_LAPACK_LINSYS_SOLVERS_H\n#define _ITENSOR_LAPACK_LINSYS_SOLVERS_H\n\n#include "pi-peps/config.h"\n#include "pi-peps/linalg/itensor-linsys-solvers.h"\n\nnamespace itensor {\n\n//\n//\n// Forward declarations of fortran lapack routines\n//\n//\n#ifdef LAPACK_REQUIRE_EXTERN\n extern "...
1,513
33
{"language": "c", "success": true, "metadata": {"lines": 190, "avg_line_length": 34.64, "nodes": 967, "errors": 0, "source_hash": "f59dc532164a23ffd8ccc0002fd06edb5cb8d51a743ea17f3ce16514316041cd", "categorized_nodes": 637}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
77,409
c
/* Generated by RuntimeBrowser Image: /System/Library/PrivateFrameworks/Home.framework/Home */ @interface HFRoomSuggestionItemProvider : HFItemProvider { HMHome * _home; unsigned long long _suggestedRoomLimit; NSSet * _suggestionItems; <HFRoomSuggestionVendor> * _suggestionVendor; NSSet * _sup...
34.69
36
(translation_unit) "/* Generated by RuntimeBrowser\n Image: /System/Library/PrivateFrameworks/Home.framework/Home\n */\n\n@interface HFRoomSuggestionItemProvider : HFItemProvider {\n HMHome * _home;\n unsigned long long _suggestedRoomLimit;\n NSSet * _suggestionItems;\n <HFRoomSuggestionVendor> * _sugges...
412
27
{"language": "c", "success": true, "metadata": {"lines": 36, "avg_line_length": 34.69, "nodes": 261, "errors": 0, "source_hash": "34c9e289be307e2d1d86e0fa83f3056185b64ab24f8d563bc23c31c92d497611", "categorized_nodes": 157}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "@", "parent": ...
77,410
c
/* * SiS 7018, Trident 4D Wave DX/NX, Acer Lab M5451 Sound Driver. * Copyright (c) 2002, 2008-2011 S.Zharski <<EMAIL>> * Distributed under the terms of the MIT license. * */ #ifndef _SiS7018_SETTINGS_H_ #define _SiS7018_SETTINGS_H_ #include <driver_settings.h> #include "Driver.h" void load_settings(); void re...
23.44
25
(translation_unit) "/*\n * SiS 7018, Trident 4D Wave DX/NX, Acer Lab M5451 Sound Driver.\n * Copyright (c) 2002, 2008-2011 S.Zharski <<EMAIL>>\n * Distributed under the terms of the MIT license.\n *\n */\n#ifndef _SiS7018_SETTINGS_H_\n#define _SiS7018_SETTINGS_H_\n\n\n#include <driver_settings.h>\n\n#include "Driver.h"...
99
2
{"language": "c", "success": true, "metadata": {"lines": 25, "avg_line_length": 23.44, "nodes": 69, "errors": 0, "source_hash": "31034aef0adc2dbcfc57ad50c9f5737fd0acaaf56ceb4fa54c7ae6c1d14372c1", "categorized_nodes": 42}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
77,411
c
#ifndef FTCMMN_H #define FTCMMN_H #define WM_CTRL_SETFOCUS WM_USER + 1 #define MAX_EXT MAX_PATH #define MAX_PROGID MAX_PATH #define MAX_PROGIDDESCR 200 //no reason #define MAX_APPFRIENDLYNAME 260 #define MAX_ACTION 63 #define MAX_ACTIONDESCR 200 //no reason ...
29
39
(translation_unit) "#ifndef FTCMMN_H \n#define FTCMMN_H \n \n#define WM_CTRL_SETFOCUS WM_USER + 1 \n \n#define MAX_EXT MAX_PATH \n#define MAX_PROGID MAX_PATH \n#define MAX_PROGIDDESCR 200 //no reason \n#define MAX_APPFRIENDLYNAME 260 \n#define MAX_ACTION 63 \n#define MAX_A...
160
0
{"language": "c", "success": true, "metadata": {"lines": 39, "avg_line_length": 29.0, "nodes": 124, "errors": 0, "source_hash": "203cc164e7f0021c97ef10920a1e96dc4ff0a96ef613bb8a8c7095b63e7f18da", "categorized_nodes": 67}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
77,412
c
// Copyright (2013) JDSU. All rights reserved. #ifndef XTREME_COMMON_DIMENSION_EPS_BEARER_ID_H_ #define XTREME_COMMON_DIMENSION_EPS_BEARER_ID_H_ #include <string> #include <boost/functional/hash.hpp> #include "xtreme/common/dimension/base.h" #include "xtreme/common/ofstream_handle.h" #include "xtreme/common/parsed_f...
37.39
67
(translation_unit) "// Copyright (2013) JDSU. All rights reserved.\n\n#ifndef XTREME_COMMON_DIMENSION_EPS_BEARER_ID_H_\n#define XTREME_COMMON_DIMENSION_EPS_BEARER_ID_H_\n\n#include <string>\n#include <boost/functional/hash.hpp>\n#include "xtreme/common/dimension/base.h"\n#include "xtreme/common/ofstream_handle.h"\n#in...
534
24
{"language": "c", "success": true, "metadata": {"lines": 67, "avg_line_length": 37.39, "nodes": 293, "errors": 0, "source_hash": "c2c452e7c4ddc87c29dde2945038fc44eac0da8603810ea35d3443f5505f4c48", "categorized_nodes": 207}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
77,413
c
#include <stdlib.h> #include <veb.h> #include <9unit.h> int main(void) { uint M = 1<<16; Veb T = vebnew(M,1); vebdel(T,0x000f); test(vebsucc(T,0x000f) != 0x000f); vebdel(T,0x00f0); test(vebsucc(T,0x00f0) != 0x00f0); vebdel(T,0x0f00); test(vebsucc(T,0x0f00) != 0x0f00); vebdel(T,0xf000); test(vebsucc(T,0xf000)...
20.37
27
(translation_unit) "#include <stdlib.h>\n#include <veb.h>\n#include <9unit.h>\n\nint\nmain(void)\n{\n uint M = 1<<16;\n Veb T = vebnew(M,1);\n vebdel(T,0x000f);\n test(vebsucc(T,0x000f) != 0x000f);\n vebdel(T,0x00f0);\n test(vebsucc(T,0x00f0) != 0x00f0);\n vebdel(T,0x0f00);\n test(vebsucc(T,0x0f00) != 0x0f00);\n vebdel...
285
0
{"language": "c", "success": true, "metadata": {"lines": 27, "avg_line_length": 20.37, "nodes": 171, "errors": 0, "source_hash": "6aa8f3dea305d87178855618f1170049fe66a3795ac16710974abe50a4f9f76d", "categorized_nodes": 129}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
77,414
c
#include <errno.h> #include <fcntl.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <sys/mman.h> #include <sys/stat.h> #include "rodats/hashset/errors.h" #include "rodats/hashset/HashMap.h" #include "MManager.h" #include "Manifest.h" inline MManager *allocMManager(void) { ...
34.17
83
(translation_unit) "#include <errno.h>\n#include <fcntl.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include <unistd.h>\n#include <sys/mman.h>\n#include <sys/stat.h>\n\n#include "rodats/hashset/errors.h"\n#include "rodats/hashset/HashMap.h"\n#include "MManager.h"\n#include "Manifest.h"\n\ninline M...
769
0
{"language": "c", "success": true, "metadata": {"lines": 83, "avg_line_length": 34.17, "nodes": 483, "errors": 0, "source_hash": "184395963d8a3597c2f867c61534c8ad3357fa0798afce884c85d8c9e52a98ea", "categorized_nodes": 328}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
77,415
c
#pragma once #include <cstdint> #include <assimp/StreamReader.h> #include <assimp/StreamWriter.h> #include <X4ConverterTools/xmf/XmfVertexElement.h> #include <X4ConverterTools/util/DXUtil.h> namespace xmf { class XmfDataBufferDesc { public: XmfDataBufferDesc() = default; explicit XmfDataBuffe...
32
43
(translation_unit) "#pragma once\n\n#include <cstdint>\n#include <assimp/StreamReader.h>\n#include <assimp/StreamWriter.h>\n#include <X4ConverterTools/xmf/XmfVertexElement.h>\n#include <X4ConverterTools/util/DXUtil.h>\n\nnamespace xmf {\n class XmfDataBufferDesc {\n public:\n XmfDataBufferDesc() = default;...
303
8
{"language": "c", "success": true, "metadata": {"lines": 43, "avg_line_length": 32.0, "nodes": 182, "errors": 0, "source_hash": "410b1815d2a8a5b9e0a443d4639ce7d04cb5098fff4a3b6a1bbab11d22fe31a5", "categorized_nodes": 126}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma ...
77,416
c
#ifndef __MENUMANAGER_H #define __MENUMANAGER_H #include "WString.h" #include "PageManager.h" class MenuManager { typedef void(*CallbackFunction_t)(void); typedef struct { String LabelText; uint8_t Type; int Data; } Item_TypeDef; public: typedef enum{ TYPE_None, ...
25.09
43
(translation_unit) "#ifndef __MENUMANAGER_H\n#define __MENUMANAGER_H\n\n#include "WString.h"\n#include "PageManager.h"\n\nclass MenuManager {\n typedef void(*CallbackFunction_t)(void);\n typedef struct {\n String LabelText;\n uint8_t Type;\n int Data;\n } Item_TypeDef;\npublic:\n typede...
250
7
{"language": "c", "success": true, "metadata": {"lines": 43, "avg_line_length": 25.09, "nodes": 168, "errors": 0, "source_hash": "69e818b43e24baf7ef705fe53751392f17bfeeea6639d4b347298fb6245de549", "categorized_nodes": 109}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
77,417
c
#ifndef __SUB_WINDOW__ #define __SUB_WINDOW__ #include "header.h" typedef struct { short state; short size; long* window; } window; void W(window* w, long* data, unsigned short size) { w->state = 0; w->size = size; w->window = data; } void put(window* w, long value) { w->window[w->state++] = value; w->state...
19.83
42
(translation_unit) "#ifndef __SUB_WINDOW__\n#define __SUB_WINDOW__\n\n#include "header.h"\n\ntypedef struct {\n short state;\n short size;\n long* window;\n} window;\n\nvoid W(window* w, long* data, unsigned short size) {\n w->state = 0;\n w->size = size;\n w->window = data;\n}\n\nvoid put(window* w, long value) {\n w-...
433
0
{"language": "c", "success": true, "metadata": {"lines": 42, "avg_line_length": 19.83, "nodes": 299, "errors": 0, "source_hash": "dbe997d10e6275f0b173ae8582d1d511191c91a8ef24655889d001f0ba4059cd", "categorized_nodes": 211}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
77,418
c
/* * Copyright (c) 2017 Intel Corporation * * SPDX-License-Identifier: Apache-2.0 */ /** * @file * @brief Per-arch thread definition * * This file contains definitions for * * struct _thread_arch * struct _callee_saved * * necessary to instantiate instances of struct k_thread. */ #ifndef ZEPHYR_ARCH_A...
21.12
59
(translation_unit) "/*\n * Copyright (c) 2017 Intel Corporation\n *\n * SPDX-License-Identifier: Apache-2.0\n */\n\n/**\n * @file\n * @brief Per-arch thread definition\n *\n * This file contains definitions for\n *\n * struct _thread_arch\n * struct _callee_saved\n *\n * necessary to instantiate instances of struct k...
126
0
{"language": "c", "success": true, "metadata": {"lines": 59, "avg_line_length": 21.12, "nodes": 94, "errors": 0, "source_hash": "4906bb31361fa60ee1dddef919767812dfdf31a6bfd574d59f49f0ec0957bdda", "categorized_nodes": 75}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
77,419
c
/*! * @file Wippersnapper_DigitalGPIO.h * * This file provides digital GPIO control and access. * * Adafruit invests time and resources providing this open source code, * please support Adafruit and open-source hardware by purchasing * products from Adafruit! * * Copyright (c) <NAME> 2020-2021 for Adafruit Ind...
35.43
53
(translation_unit) "/*!\n * @file Wippersnapper_DigitalGPIO.h\n *\n * This file provides digital GPIO control and access.\n *\n * Adafruit invests time and resources providing this open source code,\n * please support Adafruit and open-source hardware by purchasing\n * products from Adafruit!\n *\n * Copyright (c) <NAM...
178
1
{"language": "c", "success": true, "metadata": {"lines": 53, "avg_line_length": 35.43, "nodes": 111, "errors": 0, "source_hash": "54b39d84bed9cefa25de94b4bd259704ea07c2a2da73e23fbb56c7bdc6e0b2e6", "categorized_nodes": 78}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
77,420
c
#include "stl.h" struct ListNode { int val; ListNode *next; ListNode(int x) : val(x), next(NULL) {} }; class Solution { public: ListNode* swapPairs(ListNode* head) { ListNode *res = new ListNode(1); res->next = head; ListNode *p = res; while (head != NULL && head->next != NULL) { ListNode *tmp = head->n...
19
23
(translation_unit) "#include "stl.h"\nstruct ListNode {\n int val;\n ListNode *next;\n ListNode(int x) : val(x), next(NULL) {}\n};\n\nclass Solution {\npublic:\n ListNode* swapPairs(ListNode* head) {\n ListNode *res = new ListNode(1);\n res->next = head;\n ListNode *p = res;\n while (head != NULL && head->next != N...
192
17
{"language": "c", "success": true, "metadata": {"lines": 23, "avg_line_length": 19.0, "nodes": 128, "errors": 0, "source_hash": "47dc2a7feb7beca4c0ae5ceaf136b456b8bab80304ce61be37376d24180b240c", "categorized_nodes": 82}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
77,421
c
#pragma once #include "HAL.h" #include "common/node/ICombiner.h" #include "utils/Clock.h" #include "Sample_Accumulator.h" #include "Basic_Output_Stream.h" #include "hal.def.h" //#include "sz_Combiner.hpp" namespace silk { namespace hal { struct Combiner_Descriptor; struct Combiner_Config; } } namespace silk { na...
29.75
166
(translation_unit) "#pragma once\n\n#include "HAL.h"\n#include "common/node/ICombiner.h"\n#include "utils/Clock.h"\n\n#include "Sample_Accumulator.h"\n#include "Basic_Output_Stream.h"\n\n#include "hal.def.h"\n//#include "sz_Combiner.hpp"\n\n\nnamespace silk\n{\nnamespace hal\n{\nstruct Combiner_Descriptor;\nstruct Comb...
1,648
107
{"language": "c", "success": true, "metadata": {"lines": 166, "avg_line_length": 29.75, "nodes": 976, "errors": 0, "source_hash": "df2804bb4d21cf8ac8b8976490f0d53e007dab393d9d895579639ef8922a2b0f", "categorized_nodes": 674}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragm...
77,422
c
#ifndef __NPY_BINSEARCH_H__ #define __NPY_BINSEARCH_H__ #include "npy_sort.h" #include <numpy/npy_common.h> #include <numpy/ndarraytypes.h> #ifdef __cplusplus extern "C" { #endif typedef void (PyArray_BinSearchFunc)(const char*, const char*, char*, npy_intp, npy_intp, ...
40.12
24
(translation_unit) "#ifndef __NPY_BINSEARCH_H__\n#define __NPY_BINSEARCH_H__\n\n#include "npy_sort.h"\n#include <numpy/npy_common.h>\n#include <numpy/ndarraytypes.h>\n\n\n#ifdef __cplusplus\nextern "C" {\n#endif\n\ntypedef void (PyArray_BinSearchFunc)(const char*, const char*, char*,\n ...
191
2
{"language": "c", "success": true, "metadata": {"lines": 24, "avg_line_length": 40.12, "nodes": 135, "errors": 0, "source_hash": "b6ae637b018e04b9c508fc2a1ebc115a375a3b42919e6948ce7ef4ba3f0d7882", "categorized_nodes": 86}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
77,423
c
/* gd _t3 */ int main(int x) { int a; int b; return (a + b); }
9.71
7
(translation_unit) "/* gd _t3 */\n\nint main(int x)\n{\n int a;\n int b;\n return (a + b);\n}\n" (comment) "/* gd _t3 */" (function_definition) "int main(int x)\n{\n int a;\n int b;\n return (a + b);\n}" (primitive_type) "int" (function_declarator) "main(int x)" (identifier) "main" ...
33
0
{"language": "c", "success": true, "metadata": {"lines": 7, "avg_line_length": 9.71, "nodes": 20, "errors": 0, "source_hash": "05a97bb80861309b215c37396074df16d9f6600a2a55e4c2c2e2406a6eb18545", "categorized_nodes": 14}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "function_definition", "text": "int ...
77,424
c
//===========================================================================// // Copyright (C) Microsoft Corporation. All rights reserved. // //===========================================================================// #pragma once #if !defined(AFX_OBJECTIVESDLG_H__2D45CD01_42FA_4FF0_AB18_BBBAA9B...
33.51
51
(translation_unit) "//===========================================================================//\n// Copyright (C) Microsoft Corporation. All rights reserved. //\n//===========================================================================//\n\n#pragma once\n\n#if !defined(AFX_OBJECTIVESDLG_H__2D45C...
218
9
{"language": "c", "success": true, "metadata": {"lines": 51, "avg_line_length": 33.51, "nodes": 136, "errors": 0, "source_hash": "379ab804701a72835ca3a22a558f7d503570da4bf56ee9526269279665e4cf99", "categorized_nodes": 90}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma ...
77,425
c
/* This program prints generators for the automorphism group of an n-vertex polygon, where n is a number supplied by the user. This version uses dynamic allocation. */ #include "../nauty/nauty.h" /* MAXN=0 is defined by nauty.h, which implies dynamic allocation */ int main(int argc, char *argv[]) { /* DYNALL...
38.74
58
(translation_unit) "/* This program prints generators for the automorphism group of an\n n-vertex polygon, where n is a number supplied by the user.\n\n This version uses dynamic allocation.\n*/\n\n#include "../nauty/nauty.h"\n/* MAXN=0 is defined by nauty.h, which implies dynamic allocation */\n\nint\nmain(int arg...
422
0
{"language": "c", "success": true, "metadata": {"lines": 58, "avg_line_length": 38.74, "nodes": 215, "errors": 0, "source_hash": "f05e3d06d538b8342a44d48c72b59e7f1f7b8ffa9ef56bc33d2d2d519b09f990", "categorized_nodes": 165}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
77,426
c
// // main.c // Exponential // // Created by <NAME> on 19/04/20. // Copyright © 2020 <NAME>. All rights reserved. // #include <stdio.h> int pow1(int m,int n){ if(n==0) return 1; return pow1(m,n-1)*m; } int pow2(int m,int n){ if(n==0) return 1; if (n%2==0) return pow2(m*m, n/2...
17.81
26
(translation_unit) "//\n// main.c\n// Exponential\n//\n// Created by <NAME> on 19/04/20.\n// Copyright © 2020 <NAME>. All rights reserved.\n//\n#include <stdio.h>\nint pow1(int m,int n){\n if(n==0)\n return 1;\n return pow1(m,n-1)*m;\n}\nint pow2(int m,int n){\n if(n==0)\n return 1;\n if (...
199
0
{"language": "c", "success": true, "metadata": {"lines": 26, "avg_line_length": 17.81, "nodes": 104, "errors": 0, "source_hash": "a55c9ca3d63be74c93b444b020bfed44ae81f25a6b982815738f123ef78d27fa", "categorized_nodes": 69}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "inclu...
77,427
c
// Copyright (c) 2015-2016 Hypha #ifndef STREAMHANDLER_H #define STREAMHANDLER_H #include <Poco/Net/HTTPRequestHandler.h> #include <Poco/Net/HTTPServerRequest.h> #include <Poco/Net/HTTPServerResponse.h> namespace hypha { namespace plugin { namespace video { class Video; class StreamHandler : public Poco::Net::HTTPRe...
24.41
22
(translation_unit) "// Copyright (c) 2015-2016 Hypha\n\n#ifndef STREAMHANDLER_H\n#define STREAMHANDLER_H\n\n#include <Poco/Net/HTTPRequestHandler.h>\n#include <Poco/Net/HTTPServerRequest.h>\n#include <Poco/Net/HTTPServerResponse.h>\n\nnamespace hypha {\nnamespace plugin {\nnamespace video {\nclass Video;\nclass StreamH...
115
3
{"language": "c", "success": true, "metadata": {"lines": 22, "avg_line_length": 24.41, "nodes": 67, "errors": 0, "source_hash": "c7dd53ee25aa76856b4a8fd363cecbce496ea8580021632ade6aec6e3a9c0f26", "categorized_nodes": 52}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
77,428
c
/* * Copyright (c) 2013-2015 - Adjacent Link LLC, Bridgewater, New Jersey * 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 copyr...
25.58
311
(translation_unit) "/*\n * Copyright (c) 2013-2015 - Adjacent Link LLC, Bridgewater, New Jersey\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions\n * are met:\n *\n * * Redistributions of source code...
804
52
{"language": "c", "success": true, "metadata": {"lines": 311, "avg_line_length": 25.58, "nodes": 439, "errors": 0, "source_hash": "6b2236b05494a5339f4f3eb7247fa4ba2a47f6373d3fac340ee120f1a0e16508", "categorized_nodes": 292}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "#ifndef EMANE...
77,429
c
/* * Copyright (c) 2002-2008 <NAME>, <NAME> * Copyright (c) 2002-2008 Atheros Communications, Inc. * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copie...
28.4
168
(translation_unit) "/*\n * Copyright (c) 2002-2008 <NAME>, <NAME>\n * Copyright (c) 2002-2008 Atheros Communications, Inc.\n *\n * Permission to use, copy, modify, and/or distribute this software for any\n * purpose with or without fee is hereby granted, provided that the above\n * copyright notice and this permission ...
839
0
{"language": "c", "success": true, "metadata": {"lines": 168, "avg_line_length": 28.4, "nodes": 472, "errors": 0, "source_hash": "d15bedb8ace912c223876825b88743a3aa340eaeee5df72c5a8b797e0eff38ba", "categorized_nodes": 362}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
77,430
c
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ft_printf.h :+: :+: :+: ...
34.32
79
(translation_unit) "/* ************************************************************************** */\n/* */\n/* ::: :::::::: */\n/* ft_printf.h ...
756
0
{"language": "c", "success": true, "metadata": {"lines": 79, "avg_line_length": 34.32, "nodes": 560, "errors": 0, "source_hash": "b701d0f23e37c64b5d59f1384025706dffd0d27a9acf297ccc6fa611a1b511e9", "categorized_nodes": 327}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
77,431
c
/** * petprofile.h * The header file for viewing and managing pet information. * * @author Team2_1 * @version 2.0 * @since 2021-5-15 */ #ifndef PETPROFILE_H #define PETPROFILE_H #include <QWidget> #include "history.h" #include "header.h" namespace Ui { class petprofile; } class petprofile : public QWidget { Q...
25.71
34
(translation_unit) "/**\n* petprofile.h\n* The header file for viewing and managing pet information.\n*\n* @author Team2_1\n* @version 2.0\n* @since 2021-5-15\n*/\n\n#ifndef PETPROFILE_H\n#define PETPROFILE_H\n#include <QWidget>\n#include "history.h"\n#include "header.h"\n\nnamespace Ui {\nclass petprofile;\n}\n\ncl...
159
5
{"language": "c", "success": true, "metadata": {"lines": 34, "avg_line_length": 25.71, "nodes": 94, "errors": 0, "source_hash": "098d4463dad7d468947d60fe9f3d6a16555319f7520167fa5bba051da836653b", "categorized_nodes": 65}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
77,432
c
#include <utility> #include <utility> #include <utility> #ifndef OVEREDITOR_VERTICES_H #define OVEREDITOR_VERTICES_H #include <cstdint> #include <vector> #include <glm/glm.hpp> #include <vulkan/vulkan.hpp> #include <overeditor/graphics/device_context.h> namespace overeditor::graphics { class GeometryLayoutEle...
25.16
63
(translation_unit) "#include <utility>\n\n#include <utility>\n\n#include <utility>\n\n#ifndef OVEREDITOR_VERTICES_H\n#define OVEREDITOR_VERTICES_H\n\n#include <cstdint>\n#include <vector>\n#include <glm/glm.hpp>\n#include <vulkan/vulkan.hpp>\n#include <overeditor/graphics/device_context.h>\n\nnamespace overeditor::grap...
350
20
{"language": "c", "success": true, "metadata": {"lines": 63, "avg_line_length": 25.16, "nodes": 201, "errors": 0, "source_hash": "23e1b963e2c1375c4d67bfc2dea32609be2798ee27efeee6b1c3905cb08ff046", "categorized_nodes": 144}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
77,433
c
/* Generated by RuntimeBrowser Image: /System/Library/PrivateFrameworks/ApplePushService.framework/Versions/A/ApplePushService */ @interface APSPerAppTokenMapEntry : NSObject { BOOL _flag; NSData * _perAppToken; } @property (nonatomic, readwrite) BOOL flag; @property (nonatomic, readwrite, retain) NSData...
28.25
16
(translation_unit) "/* Generated by RuntimeBrowser\n Image: /System/Library/PrivateFrameworks/ApplePushService.framework/Versions/A/ApplePushService\n */\n\n@interface APSPerAppTokenMapEntry : NSObject {\n BOOL _flag;\n NSData * _perAppToken;\n}\n\n@property (nonatomic, readwrite) BOOL flag;\n@property (nonato...
134
11
{"language": "c", "success": true, "metadata": {"lines": 16, "avg_line_length": 28.25, "nodes": 81, "errors": 0, "source_hash": "64dee8f5a55c098a03f47eeec2328ca9df6cc1cf613798ec93a52a2286a6ea7d", "categorized_nodes": 49}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "@", "parent": nu...
77,434
c
// --------------------------------------------------------------------- // // Copyright (c) 2019 - 2019 by the IBAMR developers // All rights reserved. // // This file is part of IBAMR. // // IBAMR is free software and is distributed under the 3-clause BSD // license. The full text of the license can be found in the f...
34.85
95
(translation_unit) "// ---------------------------------------------------------------------\n//\n// Copyright (c) 2019 - 2019 by the IBAMR developers\n// All rights reserved.\n//\n// This file is part of IBAMR.\n//\n// IBAMR is free software and is distributed under the 3-clause BSD\n// license. The full text of the l...
333
16
{"language": "c", "success": true, "metadata": {"lines": 95, "avg_line_length": 34.85, "nodes": 181, "errors": 0, "source_hash": "f392a07dc538ebd9e0b3732e2cb9e499519faa5af195c474d82e3e100b8f1562", "categorized_nodes": 129}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
77,435
c
/* * This is where we statically allocate and initialize the initial * task. * * Copyright (C) 1999, 2002-2003 Hewlett-Packard Co * <NAME> <<EMAIL>> */ #include <linux/init.h> #include <linux/mm.h> #include <linux/module.h> #include <linux/sched.h> #include <linux/init_task.h> #include <asm/uaccess.h> #include ...
31.97
38
(translation_unit) "/*\n * This is where we statically allocate and initialize the initial\n * task.\n *\n * Copyright (C) 1999, 2002-2003 Hewlett-Packard Co\n * <NAME> <<EMAIL>>\n */\n\n#include <linux/init.h>\n#include <linux/mm.h>\n#include <linux/module.h>\n#include <linux/sched.h>\n#include <linux/init_task.h>\n\n...
230
3
{"language": "c", "success": true, "metadata": {"lines": 38, "avg_line_length": 31.97, "nodes": 150, "errors": 0, "source_hash": "8909726e0cea1425ffd92df2fb6d18da871d7f9a3967f52b14047e2e6bc69e91", "categorized_nodes": 114}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
77,436
c
/** *! * \file b_core.h * \version v0.0.1 * \date 2019/06/05 * \author Bean(<EMAIL>) ******************************************************************************* * @attention * * Copyright (c) 2019 Bean * * Permission is hereby granted, free of charge, to any person obtaining a co...
21.64
130
(translation_unit) "/**\n *!\n * \file b_core.h\n * \version v0.0.1\n * \date 2019/06/05\n * \author Bean(<EMAIL>)\n *******************************************************************************\n * @attention\n * \n * Copyright (c) 2019 Bean\n * \n * Permission is hereby granted, free of charg...
259
0
{"language": "c", "success": true, "metadata": {"lines": 130, "avg_line_length": 21.64, "nodes": 182, "errors": 0, "source_hash": "4698096cfcd3e9cef8a1340f5bbb84f51a2f9ddde3c2c1423831c05053d188d2", "categorized_nodes": 105}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
77,437
c
#pragma once #include <memory> struct virtual_enable_shared_from_this_base : std::enable_shared_from_this<virtual_enable_shared_from_this_base> { virtual ~virtual_enable_shared_from_this_base() {} }; template<typename T> struct virtual_enable_shared_from_this : virtual virtual_enable_shared_from_this_base { ...
34.78
18
(translation_unit) "#pragma once\n\n#include <memory>\n\nstruct virtual_enable_shared_from_this_base\n : std::enable_shared_from_this<virtual_enable_shared_from_this_base> {\n virtual ~virtual_enable_shared_from_this_base() {}\n};\n\ntemplate<typename T>\nstruct virtual_enable_shared_from_this\n : virtual virtual_en...
151
14
{"language": "c", "success": true, "metadata": {"lines": 18, "avg_line_length": 34.78, "nodes": 94, "errors": 0, "source_hash": "8b6da79490ed2f37080aaa6cbd980b524cf26d22b02b769c1bfc9c7f504251c1", "categorized_nodes": 58}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
77,438
c
// // WMFSearchFetcher_Testing.h // Wikipedia // // Created by <NAME> on 11/21/15. // Copyright © 2015 Wikimedia Foundation. All rights reserved. // #import "WMFSearchFetcher.h" @class AFHTTPSessionManager; @interface WMFSearchFetcher () @property (nonatomic, strong) AFHTTPSessionManager* operationManager; @en...
25.42
12
(translation_unit) "//\n// WMFSearchFetcher_Testing.h\n// Wikipedia\n//\n// Created by <NAME> on 11/21/15.\n// Copyright © 2015 Wikimedia Foundation. All rights reserved.\n//\n\n#import "WMFSearchFetcher.h"\n\n@class AFHTTPSessionManager;\n\n@interface WMFSearchFetcher ()\n\n@property (nonatomic, strong) AFHTTPSess...
46
10
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 25.42, "nodes": 29, "errors": 0, "source_hash": "e45c8457c4d80577fc3616949ef756c4fddf4fd1ef3f342dafcc32fdcae9041a", "categorized_nodes": 15}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import \"...
77,439
c
#pragma once #include <iostream> #include <vector> #include "../helpers/types.h" #include "../products/Product.h" #include "../products/ProductManager.h" #include "../clients/Client.h" using std::cout; using std::string; using std::to_string; using std::vector; using Cmp::dayTime; class Seller { protected: strin...
28.79
67
(translation_unit) "#pragma once\n\n#include <iostream>\n#include <vector>\n#include "../helpers/types.h"\n#include "../products/Product.h"\n#include "../products/ProductManager.h"\n#include "../clients/Client.h"\n\nusing std::cout;\nusing std::string;\nusing std::to_string;\nusing std::vector;\nusing Cmp::dayTime;\n\n...
633
21
{"language": "c", "success": true, "metadata": {"lines": 67, "avg_line_length": 28.79, "nodes": 382, "errors": 0, "source_hash": "6babf1c040509f555b677d825e8319f8b77422e802fae420f198b4d3d56db0c5", "categorized_nodes": 267}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
77,440
c
int main(void) { # 1 int x = 5; struct foo { int f1, f2; } a [] = {1, 2, 3, 4, 5 }; }
17.2
5
(translation_unit) "int main(void) {\n# 1\n int x = 5; \n struct foo { int f1, f2; } a [] = {1, 2, 3, 4, 5 };\n}\n" (function_definition) "int main(void) {\n# 1\n int x = 5; \n struct foo { int f1, f2; } a [] = {1, 2, 3, 4, 5 };\n}" (primitive_type) "int" (function_declarator) "main(void)" (identifi...
54
0
{"language": "c", "success": true, "metadata": {"lines": 5, "avg_line_length": 17.2, "nodes": 33, "errors": 0, "source_hash": "1b97fc780379db81b5d11615ed6774bdde79101e541a3c8d85cd21c67c5889cd", "categorized_nodes": 21}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "function_definition", "text": "int ...
77,441
c
#pragma once #include "macroes.h" #include <memory> #include <mutex> #include <condition_variable> #include <stack> NS_CCY_BEGIN template<typename T> class threadsafe_stack { public: threadsafe_stack() {} threadsafe_stack(const threadsafe_stack &other); threadsafe_stack &operator=(const threadsafe_stack &other); ...
23.07
94
(translation_unit) "#pragma once\n\n#include "macroes.h"\n#include <memory>\n#include <mutex>\n#include <condition_variable>\n#include <stack>\n\nNS_CCY_BEGIN\n\ntemplate<typename T>\nclass threadsafe_stack\n{\npublic:\n threadsafe_stack() {}\n threadsafe_stack(const threadsafe_stack &other);\n threadsafe_stack &operat...
1,050
67
{"language": "c", "success": true, "metadata": {"lines": 94, "avg_line_length": 23.07, "nodes": 656, "errors": 0, "source_hash": "ce65a4b8450d13647469680c0307ebfe1ab2d7e6ddf708749d02f146718661f9", "categorized_nodes": 453}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
77,442
c
/* * MIT License * * Copyright (c) 2017 Twitter * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, ...
29.01
174
(translation_unit) "/*\n * MIT License\n *\n * Copyright (c) 2017 Twitter\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the "Software"), to deal\n * in the Software without restriction, including without limitation the right...
1,360
28
{"language": "c", "success": true, "metadata": {"lines": 174, "avg_line_length": 29.01, "nodes": 856, "errors": 0, "source_hash": "e62b15bedeb2eb5b5124e3ca5f33fd2afeb21838b61c52ef24456fda4be39dc8", "categorized_nodes": 566}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragm...
77,443
c
#ifndef __REWRITE_H__ #define __REWRITE_H__ ITEM *clean_NOT(ITEM * ptr, int4 *len); ITEM *clean_fakeval(ITEM * ptr, int4 *len); #endif
27.2
5
(translation_unit) "#ifndef __REWRITE_H__\n#define __REWRITE_H__\n\nITEM *clean_NOT(ITEM * ptr, int4 *len);\nITEM *clean_fakeval(ITEM * ptr, int4 *len);\n\n#endif\n" (preproc_ifdef) "#ifndef __REWRITE_H__\n#define __REWRITE_H__\n\nITEM *clean_NOT(ITEM * ptr, int4 *len);\nITEM *clean_fakeval(ITEM * ptr, in...
50
0
{"language": "c", "success": true, "metadata": {"lines": 5, "avg_line_length": 27.2, "nodes": 41, "errors": 0, "source_hash": "05129a4ce11fc15ac59c321d94c7f7570788ac02025ce93410212e4215d38da4", "categorized_nodes": 25}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef __...
77,444
c
#ifndef __FNET_CIRCULARQUE_H_ #define __FNET_CIRCULARQUE_H_ #include <algorithm> #include <assert.h> #include <cstddef> #include <functional> #include <tuple> #include <vector> namespace base { template <typename T> class CircularQueue { public: enum QUE_ERROR { NONE, OUT_OF_RANGE }; using value_type ...
21.63
111
(translation_unit) "#ifndef __FNET_CIRCULARQUE_H_\n#define __FNET_CIRCULARQUE_H_\n#include <algorithm>\n#include <assert.h>\n#include <cstddef>\n#include <functional>\n#include <tuple>\n#include <vector>\n\nnamespace base {\n\ntemplate <typename T>\nclass CircularQueue {\n public:\n enum QUE_ERROR {\n NONE,\n O...
864
40
{"language": "c", "success": true, "metadata": {"lines": 111, "avg_line_length": 21.63, "nodes": 525, "errors": 0, "source_hash": "3929f24dd6ce5dad1c8681e5f16fa8d75bc9af2c6561c41bf582404c7047e1b0", "categorized_nodes": 368}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
77,445
c
/* * FragmentNumberSet.h * * Created on: Mar 10, 2012 * Author: knuthelv */ #ifndef RTPS_Elements_FragmentNumberSet_h_IsIncluded #define RTPS_Elements_FragmentNumberSet_h_IsIncluded #include"RTPS/IncludeExtLibs.h" #include"RTPS/Elements/FragmentNumber.h" #include"RTPS/Export.h" namespace RTPS { /*--------...
28.78
64
(translation_unit) "/*\n * FragmentNumberSet.h\n *\n * Created on: Mar 10, 2012\n * Author: knuthelv\n */\n\n#ifndef RTPS_Elements_FragmentNumberSet_h_IsIncluded\n#define RTPS_Elements_FragmentNumberSet_h_IsIncluded\n\n#include"RTPS/IncludeExtLibs.h"\n#include"RTPS/Elements/FragmentNumber.h"\n\n#include"RTPS/Expo...
301
15
{"language": "c", "success": true, "metadata": {"lines": 64, "avg_line_length": 28.78, "nodes": 168, "errors": 0, "source_hash": "7ffbf5ac5945068c1a98a89e196ae1e2b0fb4e55f818dedfd528027b60c7929f", "categorized_nodes": 118}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
77,446
c
#ifndef _STDLIB_H_ #define _STDLIB_H_ #include <stddef.h> #define abs(n) (((n)<0)?(-(n)):(n)) //typedef unsigned errno_t; //int abs( int n ); long int labs(long int n); char *itoa(int value, char *str, int base); int atoi(const char * str); long int atol(const char * str); long int strtol(const char *...
29.27
22
(translation_unit) "#ifndef _STDLIB_H_ \n#define _STDLIB_H_ \n \n#include <stddef.h> \n \n#define abs(n) (((n)<0)?(-(n)):(n)) \n \n//typedef unsigned errno_t; \n \n//int abs( int n ); \nlong int labs(long int n); \nchar *itoa(int value, char *str, int base); \nint atoi(const char * str); \nlong int atol(const char * st...
239
0
{"language": "c", "success": true, "metadata": {"lines": 22, "avg_line_length": 29.27, "nodes": 171, "errors": 0, "source_hash": "3740e7bad5de189646c6b87d079a77fa7638496893d3899f89e817819de46f11", "categorized_nodes": 86}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
77,447
c
/* This file is part of the software similarity tester SIM. Written by <NAME>, Vrije Universiteit, Amsterdam. $Id: lang.h,v 1.9 2016-04-27 19:09:48 dick Exp $ */ /* The *lang.l files provide two interfaces: language.[ch] static data about the language lang.[ch] dynamic data about the input file's content...
37.17
24
(translation_unit) "/* This file is part of the software similarity tester SIM.\n Written by <NAME>, Vrije Universiteit, Amsterdam.\n $Id: lang.h,v 1.9 2016-04-27 19:09:48 dick Exp $\n*/\n\n/*\n The *lang.l files provide two interfaces:\n language.[ch] static data about the language\n lang.[ch] dynamic data ab...
64
0
{"language": "c", "success": true, "metadata": {"lines": 24, "avg_line_length": 37.17, "nodes": 45, "errors": 0, "source_hash": "3d4049785bedf8f7810a244d1d82b081e023ad2845982858e32bdd675d0c08bc", "categorized_nodes": 27}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "declaration", "text": "extern FIL...
77,448
c
#ifndef __J1ENEMY_H__ #define __J1ENEMY_H__ #include "p2Point.h" #include "Animation.h" struct Path; struct SDL_Texture; struct Collider; class j1Enemy { protected: Animation* animation = nullptr; uint hitPoints; uint currentTime; uint lastTime; int time = 0; bool shot; bool hit_animation; public: Collider*...
19.56
32
(translation_unit) "#ifndef __J1ENEMY_H__\n#define __J1ENEMY_H__\n\n#include "p2Point.h"\n#include "Animation.h"\n\nstruct Path;\nstruct SDL_Texture;\nstruct Collider;\n\nclass j1Enemy\n{\nprotected:\n Animation* animation = nullptr;\n uint hitPoints;\n uint currentTime;\n uint lastTime;\n int time = 0;\n bool shot;\n ...
209
6
{"language": "c", "success": true, "metadata": {"lines": 32, "avg_line_length": 19.56, "nodes": 141, "errors": 0, "source_hash": "8e9eac209ed8f3271e8af7ced2b923c19c29df5df2da2f5ced54f73134526e9d", "categorized_nodes": 95}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
77,449
c
/* * This header is generated by classdump-dyld 1.0 * on Saturday, June 1, 2019 at 6:50:54 PM Mountain Standard Time * Operating System: Version 12.1.1 (Build 16C5050a) * Image Source: /System/Library/PrivateFrameworks/DataAccess.framework/Frameworks/DAIMAPNotes.framework/DADaemonIMAPNotes.bundle/DADaemonIMAPNotes * cl...
42.27
15
(translation_unit) "/*\n* This header is generated by classdump-dyld 1.0\n* on Saturday, June 1, 2019 at 6:50:54 PM Mountain Standard Time\n* Operating System: Version 12.1.1 (Build 16C5050a)\n* Image Source: /System/Library/PrivateFrameworks/DataAccess.framework/Frameworks/DAIMAPNotes.framework/DADaemonIMAPNotes.bundl...
63
9
{"language": "c", "success": true, "metadata": {"lines": 15, "avg_line_length": 42.27, "nodes": 39, "errors": 0, "source_hash": "268ed6baf6328e2fb1f03e0bcf2a2ce89100ba540549efdc7d5231a986313881", "categorized_nodes": 23}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <D...
77,450
c
#include <stdlib.h> #include <stdint.h> #include <assert.h> #include <string.h> #include "mestack.h" struct MeStack { uint32_t elem_size; void * data; uint32_t data_size; uint32_t data_free; }; MeStack mes_create(uint32_t elem_size, uint32_t elem_count) { MeStack stack; stack = (MeStack)mallo...
25.7
46
(translation_unit) "#include <stdlib.h>\n#include <stdint.h>\n#include <assert.h>\n#include <string.h>\n\n#include "mestack.h"\n\nstruct MeStack\n{\n uint32_t elem_size;\n void * data;\n uint32_t data_size;\n uint32_t data_free;\n};\n\nMeStack mes_create(uint32_t elem_size, uint32_t elem_count)\n{\n MeSt...
432
0
{"language": "c", "success": true, "metadata": {"lines": 46, "avg_line_length": 25.7, "nodes": 282, "errors": 0, "source_hash": "1e0580097b5874521a8204d0153a80c9040481e82a9cfd0c0dad1a404e173612", "categorized_nodes": 210}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
77,451
c
#pragma once #include <Arduino.h> #include <Adafruit_BMP085.h> class BMP180 { private: float current_height; int pressure_offset; Adafruit_BMP085 bmp; long timer = 0; public: BMP180(); ~BMP180(); float get_altitude(); };
15.6
15
(translation_unit) "#pragma once\n#include <Arduino.h>\n#include <Adafruit_BMP085.h>\n\nclass BMP180\n{\nprivate:\n float current_height;\n int pressure_offset;\n Adafruit_BMP085 bmp;\n\n long timer = 0;\n\npublic:\n BMP180();\n ~BMP180();\n\n float get_altitude();\n};" (preproc_call) "#pragma on...
68
0
{"language": "c", "success": true, "metadata": {"lines": 15, "avg_line_length": 15.6, "nodes": 42, "errors": 0, "source_hash": "7e972e90e32a4132574d9c1335eb72493b91ed76453c5f24a57da3a72fe9a5e8", "categorized_nodes": 28}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma on...
77,452
c
#pragma once #include "Definitions.h" namespace Lumos { namespace Maths { class Vector4; } namespace Graphics { class LUMOS_EXPORT RenderPass { public: virtual ~RenderPass(); static RenderPass* Create(const RenderPassDesc& renderPassDesc); ...
34.23
26
(translation_unit) "#pragma once\n#include "Definitions.h"\n\nnamespace Lumos\n{\n namespace Maths\n {\n class Vector4;\n }\n\n namespace Graphics\n {\n class LUMOS_EXPORT RenderPass\n {\n public:\n virtual ~RenderPass();\n static RenderPass* Create(const...
222
11
{"language": "c", "success": true, "metadata": {"lines": 26, "avg_line_length": 34.23, "nodes": 132, "errors": 0, "source_hash": "da3cd86acdf1f9675a5194a2c2c9bc25241de81c1fb3848dca258796074c61cf", "categorized_nodes": 86}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma ...
77,453
c
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* fdf.c :+: :+: :+: ...
24.41
111
(translation_unit) "/* ************************************************************************** */\n/* */\n/* ::: :::::::: */\n/* fdf.c ...
849
0
{"language": "c", "success": true, "metadata": {"lines": 111, "avg_line_length": 24.41, "nodes": 505, "errors": 0, "source_hash": "7d0646c9d31e174f5d691829b236064bba1c446a2aa39dfd780ba64809b7b6fe", "categorized_nodes": 390}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
77,454
c
/* io.h */ int readCavityData(FILE*);
18
2
(translation_unit) "/* io.h */\n\nint readCavityData(FILE*);\n\n" (comment) "/* io.h */" (declaration) "int readCavityData(FILE*);" (primitive_type) "int" (function_declarator) "readCavityData(FILE*)" (identifier) "readCavityData" (parameter_list) "(FILE*)" (() "(" (parameter_dec...
14
0
{"language": "c", "success": true, "metadata": {"lines": 2, "avg_line_length": 18.0, "nodes": 9, "errors": 0, "source_hash": "7e089f704191da9dd11717a3c1b87ec729b332e044a37f4435a4e5a5ec6f9703", "categorized_nodes": 5}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "declaration", "text": "int readCavity...
77,455
c
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by <NAME>. // #import "POPPropertyAnimation.h" @interface POPDecayAnimation : POPPropertyAnimation { } + (id)animation; + (id)animationWithPropertyNamed:(id)arg1; - (void)_appendDescription:(id)arg1 ...
29.73
26
(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 "POPPropertyAnimation.h"\n\n@interface POPDecayAnimation : POPPropertyAnimation\n{\n}\n\n+ (id)animation;\n+ (id)animationWithPropertyNamed:(id)arg1;\n- ...
245
21
{"language": "c", "success": true, "metadata": {"lines": 26, "avg_line_length": 29.73, "nodes": 147, "errors": 0, "source_hash": "e4c1a66da893ec317899145008aae4402c40c2441c1ab88af5cf5356097cbaef", "categorized_nodes": 89}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import ...
77,456
c
#include <u.h> #include <libc.h> #include <stdio.h> #include "dat.h" #include "fns.h" #include "y.tab.h" Minterm* and(int, Minterm *, Minterm * , Minterm *); void min_cpy(Minterm *, Minterm *, int); Minterm * reduce(Minterm*, Minterm*, int, Minterm*, int oput); Minterm * comterm(Minterm * mt0, Minterm * mt1) { int ...
19.56
80
(translation_unit) "#include <u.h>\n#include <libc.h>\n#include <stdio.h>\n#include "dat.h"\n#include "fns.h"\n#include "y.tab.h"\n\nMinterm* and(int, Minterm *, Minterm * , Minterm *);\nvoid min_cpy(Minterm *, Minterm *, int);\nMinterm * reduce(Minterm*, Minterm*, int, Minterm*, int oput);\n\nMinterm *\ncomterm(Minter...
787
1
{"language": "c", "success": true, "metadata": {"lines": 80, "avg_line_length": 19.56, "nodes": 485, "errors": 0, "source_hash": "2a67e4857b1f6ae37b0bd286bbdc9152da18e2ed867234faceee7984142d02ed", "categorized_nodes": 354}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
77,457
c
/* (c) <NAME>. * Stamp: <NAME> */ #include "c_rt_lib.h" #include "c_global_const.h" #include </usr/include/string.h> #include "func.h" #include "c_std_lib.h" #include "ptd.h" #include "array.h" #line 1 "func.nl" static ImmT *__const__f = NULL; void func_priv0__const__init(); ImmT func_priv0__const__sim(int __nr); ...
23.56
199
(translation_unit) "/* (c) <NAME>.\n * Stamp: <NAME>\n */\n#include "c_rt_lib.h"\n#include "c_global_const.h"\n#include </usr/include/string.h>\n#include "func.h"\n#include "c_std_lib.h"\n#include "ptd.h"\n#include "array.h"\n#line 1 "func.nl"\n\nstatic ImmT *__const__f = NULL;\nvoid func_priv0__const__init();\nImmT f...
1,578
0
{"language": "c", "success": true, "metadata": {"lines": 199, "avg_line_length": 23.56, "nodes": 993, "errors": 0, "source_hash": "71bae23360f8500e4a25c594e5458815cc53f15b62d9dd59ab490cccb413968e", "categorized_nodes": 652}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
77,458
c
#pragma once #include "types/types.h" namespace seq { namespace types { class ArrayType : public Type { private: Type *baseType; explicit ArrayType(Type *baseType); public: ArrayType(ArrayType const &) = delete; void operator=(ArrayType const &) = delete; llvm::Value *defaultValue(llvm::BasicBlock *block)...
32.71
28
(translation_unit) "#pragma once\n\n#include "types/types.h"\n\nnamespace seq {\nnamespace types {\nclass ArrayType : public Type {\nprivate:\n Type *baseType;\n explicit ArrayType(Type *baseType);\n\npublic:\n ArrayType(ArrayType const &) = delete;\n void operator=(ArrayType const &) = delete;\n\n llvm::Value *de...
321
18
{"language": "c", "success": true, "metadata": {"lines": 28, "avg_line_length": 32.71, "nodes": 205, "errors": 0, "source_hash": "015cefa3180790622403a6d694a6444d11cae094e450b37f72ed9c566c2ec790", "categorized_nodes": 125}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
77,459
c
// -*- C++ -*- //============================================================================= /** * @file Malloc_Base.h * * @author <NAME> and <NAME> */ //============================================================================= #ifndef ACE_MALLOC_BASE_H #define ACE_MALLOC_BASE_H #include /**/ "ace/pre...
37.32
182
(translation_unit) "// -*- C++ -*-\n\n//=============================================================================\n/**\n * @file Malloc_Base.h\n *\n * @author <NAME> and <NAME>\n */\n//=============================================================================\n\n\n#ifndef ACE_MALLOC_BASE_H\n#define ACE_MALL...
1,095
64
{"language": "c", "success": true, "metadata": {"lines": 182, "avg_line_length": 37.32, "nodes": 718, "errors": 0, "source_hash": "7ff0003c82e528fdfb6d75bae3884b1c1c068ff543c467a7d79985ca45b47969", "categorized_nodes": 422}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
77,460
c
// Walk and kick: Main walk and kick class // Author: <NAME> <<EMAIL>> // Ensure header is only included once #ifndef WALK_AND_KICK_H #define WALK_AND_KICK_H // Includes #include <walk_and_kick/wak_common.h> #include <walk_and_kick/wak_config.h> #include <walk_and_kick/wak_sensor_vars.h> #include <walk_and_kick/wak_...
28.7
77
(translation_unit) "// Walk and kick: Main walk and kick class\n// Author: <NAME> <<EMAIL>>\n \n// Ensure header is only included once\n#ifndef WALK_AND_KICK_H\n#define WALK_AND_KICK_H\n\n// Includes\n#include <walk_and_kick/wak_common.h>\n#include <walk_and_kick/wak_config.h>\n#include <walk_and_kick/wak_sensor_vars.h...
381
10
{"language": "c", "success": true, "metadata": {"lines": 77, "avg_line_length": 28.7, "nodes": 221, "errors": 0, "source_hash": "a10ccd329c3d8671e85fb9007b1611c9476e0ff5dc224d4fce1cda88e157affb", "categorized_nodes": 170}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
77,461
c
#ifndef SRC_MESH_STORE_ELEMENTSTORE_H_ #define SRC_MESH_STORE_ELEMENTSTORE_H_ #include "basis/containers/point.h" #include "elementinfo.h" #include "elementsinterval.h" #include "contactinfo.h" #include "nameddata.h" #include <cstddef> #include <string> #include <vector> namespace mesio { template <typename TEData...
38.6
57
(translation_unit) "#ifndef SRC_MESH_STORE_ELEMENTSTORE_H_\n#define SRC_MESH_STORE_ELEMENTSTORE_H_\n\n#include "basis/containers/point.h"\n#include "elementinfo.h"\n#include "elementsinterval.h"\n#include "contactinfo.h"\n#include "nameddata.h"\n\n#include <cstddef>\n#include <string>\n#include <vector>\n\nnamespace me...
735
43
{"language": "c", "success": true, "metadata": {"lines": 57, "avg_line_length": 38.6, "nodes": 473, "errors": 0, "source_hash": "10326c7e9fd05801a4bee870cfca62405d8c7687c47a76b89a372677d38ce51b", "categorized_nodes": 310}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
77,462
c
#ifndef LIBC_ISYSTEM_STDIO_H_ #define LIBC_ISYSTEM_STDIO_H_ #include "libc/calls/calls.h" #include "libc/fmt/fmt.h" #include "libc/log/log.h" #include "libc/stdio/stdio.h" #include "libc/stdio/temp.h" #endif
25
8
(translation_unit) "#ifndef LIBC_ISYSTEM_STDIO_H_\n#define LIBC_ISYSTEM_STDIO_H_\n#include "libc/calls/calls.h"\n#include "libc/fmt/fmt.h"\n#include "libc/log/log.h"\n#include "libc/stdio/stdio.h"\n#include "libc/stdio/temp.h"\n#endif\n" (preproc_ifdef) "#ifndef LIBC_ISYSTEM_STDIO_H_\n#define LIBC_ISYSTEM_STDIO_H_\n#...
38
0
{"language": "c", "success": true, "metadata": {"lines": 8, "avg_line_length": 25.0, "nodes": 22, "errors": 0, "source_hash": "ca175090b3d8576854e920c5dd3d3f50c426524a061fad6cc49c7cef02dbd6ce", "categorized_nodes": 20}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef LI...
77,463
c
#include <iostream> #ifndef HOUSE_H #define HOUSE_H #include "Person.h" class House { public: House(int, int); // specify number of rooms and bathrooms ~House(); void setResident(std::string, std::string); void addResident(std::string, std::string); void display(); private: int numBedrooms; int numB...
18.45
20
(translation_unit) "#include <iostream>\n\n#ifndef HOUSE_H\n#define HOUSE_H\n\n#include "Person.h"\n\nclass House {\npublic:\n House(int, int); // specify number of rooms and bathrooms\n ~House();\n \n void setResident(std::string, std::string);\n void addResident(std::string, std::string);\n void display();\n\n...
123
4
{"language": "c", "success": true, "metadata": {"lines": 20, "avg_line_length": 18.45, "nodes": 71, "errors": 0, "source_hash": "02b0989bfc1ee215d3556eb4a3acfb5f5fa21cd5a312c6d4d86790d4e8105d26", "categorized_nodes": 52}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
77,464
c
#pragma once /* * Copyright (c) <NAME>. All Rights Reserved. * * License: See License.txt */ /** * @file * @brief interface of the VersionNum class * @author <NAME> * * Revision History * 2021-10-26 Added 'parts' to GetVersionString. * 2018-08-15 Changed VERSION_NUMBER to std::array * 2012-04-10 Based on ...
21.75
126
(translation_unit) "#pragma once\n\n/*\n * Copyright (c) <NAME>. All Rights Reserved.\n *\n * License: See License.txt\n */\n\n/**\n * @file\n * @brief interface of the VersionNum class\n * @author <NAME>\n *\n * Revision History\n * 2021-10-26 Added 'parts' to GetVersionString.\n * 2018-08-15 Changed VERSION_NUMBER to...
779
50
{"language": "c", "success": true, "metadata": {"lines": 126, "avg_line_length": 21.75, "nodes": 463, "errors": 0, "source_hash": "622456395f5d2f5bcac386b6c4f27d830e9ee44140de279e8f6e9e2f925d019d", "categorized_nodes": 314}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragm...
77,465
c
/* * This header is generated by classdump-dyld 1.0 * on Sunday, September 27, 2020 at 11:40:42 AM Mountain Standard Time * Operating System: Version 14.0 (Build 18A373) * Image Source: /System/Library/Frameworks/WebKit.framework/WebKit * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by <NAME>. */ @cla...
35.94
17
(translation_unit) "/*\n* This header is generated by classdump-dyld 1.0\n* on Sunday, September 27, 2020 at 11:40:42 AM Mountain Standard Time\n* Operating System: Version 14.0 (Build 18A373)\n* Image Source: /System/Library/Frameworks/WebKit.framework/WebKit\n* classdump-dyld is licensed under GPLv3, Copyright © 2013...
100
16
{"language": "c", "success": true, "metadata": {"lines": 17, "avg_line_length": 35.94, "nodes": 65, "errors": 0, "source_hash": "bde7e4f23f614c16edc9c2c693afb3035427ad40437c888713532f9ebe9b6710", "categorized_nodes": 39}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "c", "parent": nu...
77,466
c
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by <NAME>. // #import <Xcode3UI/Xcode3UpgradeTargetTask.h> @class NSString; @interface Xcode3UpgradeCompiler : Xcode3UpgradeTargetTask { NSString *_suggestedValue; } + (id)analyzeInContext:(id)a...
23.4
15
(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 <Xcode3UI/Xcode3UpgradeTargetTask.h>\n\n@class NSString;\n\n@interface Xcode3UpgradeCompiler : Xcode3UpgradeTargetTask\n{\n NSString *_suggestedValue;...
75
9
{"language": "c", "success": true, "metadata": {"lines": 15, "avg_line_length": 23.4, "nodes": 42, "errors": 0, "source_hash": "4fec416942e8ca8a20586e453ba9eb93e9cdbb634e65c40aa806ee642cfb85c1", "categorized_nodes": 23}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <X...
77,467
c
// Copyright (c) 2004-2022 <NAME> et al. // // This file is part of TNL - Template Numerical Library (https://tnl-project.org/) // // SPDX-License-Identifier: MIT #pragma once #include <TNL/Images/Image.h> namespace TNL { namespace Images { template< typename Index > RegionOfInterest< Index >::RegionOfInterest() : ...
28.8
138
(translation_unit) "// Copyright (c) 2004-2022 <NAME> et al.\n//\n// This file is part of TNL - Template Numerical Library (https://tnl-project.org/)\n//\n// SPDX-License-Identifier: MIT\n\n#pragma once\n\n#include <TNL/Images/Image.h>\n\nnamespace TNL {\nnamespace Images {\n\ntemplate< typename Index >\nRegionOfIntere...
1,369
57
{"language": "c", "success": true, "metadata": {"lines": 138, "avg_line_length": 28.8, "nodes": 856, "errors": 0, "source_hash": "1591784a5c5062d8f916a2a9b3c5d7b5534d748ef0c443f9acf80b2cef11661e", "categorized_nodes": 596}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
77,468
c
int main() { int a=1; int b=2; int c = a + b; return c; }
9.57
7
(translation_unit) "int main()\n{\n int a=1;\n int b=2;\n int c = a + b;\n return c;\n}\n" (function_definition) "int main()\n{\n int a=1;\n int b=2;\n int c = a + b;\n return c;\n}" (primitive_type) "int" (function_declarator) "main()" (identifier) "main" (parameter_list) ...
39
0
{"language": "c", "success": true, "metadata": {"lines": 7, "avg_line_length": 9.57, "nodes": 28, "errors": 0, "source_hash": "e7ad746d1852d9a00ed379c37b98eabaf234ae3708db8dec271bfa984b2f6239", "categorized_nodes": 16}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "function_definition", "text": "int ...
77,469
c
//===----------------- QtmGateArg.cpp ----------------------===// // This file implements the Scaffold Quantum Gate Argument Class // // // // This file was created by Scaffold Compiler Working Group // // // // //===----------------------------------------------------------------------===// #include "llvm/Sup...
30.38
40
(translation_unit) "//===----------------- QtmGateArg.cpp ----------------------===//\n// This file implements the Scaffold Quantum Gate Argument Class\n//\n//\n//\n// This file was created by Scaffold Compiler Working Group\n//\n//\n//\n//\n//===------------------------------------------------------------------...
294
2
{"language": "c", "success": true, "metadata": {"lines": 40, "avg_line_length": 30.38, "nodes": 165, "errors": 0, "source_hash": "9065a06e60ae748d42f53da8fbdb896ac70098965df7912083c71979b0da3661", "categorized_nodes": 108}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
77,470
c
/** * @file nx_filter.h * * This file is part of the IYTE Visual Intelligence Research Group Software Library * * Copyright (C) 2013 <NAME>. All rights reserved. * * @author <NAME> * * Contact <EMAIL> for comments and bug reports. * */ #ifndef VIRG_NEXUS_NX_FILTER_H #define VIRG_NEXUS_NX_FILTER_H #include "...
44.73
40
(translation_unit) "/**\n * @file nx_filter.h\n *\n * This file is part of the IYTE Visual Intelligence Research Group Software Library\n *\n * Copyright (C) 2013 <NAME>. All rights reserved.\n *\n * @author <NAME>\n *\n * Contact <EMAIL> for comments and bug reports.\n *\n */\n#ifndef VIRG_NEXUS_NX_FILTER_H\n#define V...
397
3
{"language": "c", "success": true, "metadata": {"lines": 40, "avg_line_length": 44.73, "nodes": 287, "errors": 0, "source_hash": "c68c48553df120f11f1669a27938101a6b50137bbecd0b98bd471c294ee1ee57", "categorized_nodes": 182}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
77,471
c
#include <proc.h> #include <xlib.h> #include <xlibproc.h> PROC_TEMPLATE( WTMgrPacketHookExA, Wintab, -, 203)
27
4
(translation_unit) "#include <proc.h> \n#include <xlib.h> \n#include <xlibproc.h> \nPROC_TEMPLATE( WTMgrPacketHookExA, Wintab, -, 203) \n" (preproc_include) "#include <proc.h> \n" (#include) "#include" (system_lib_string) "<proc.h>" (preproc_include) "#include <xlib.h> \n" (#include) "#include" (sys...
26
1
{"language": "c", "success": true, "metadata": {"lines": 4, "avg_line_length": 27.0, "nodes": 17, "errors": 0, "source_hash": "d670946d5ba5104a0729daab7f13e342a531d6564900c488ec4d8631301910ae", "categorized_nodes": 15}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#include...
77,472
c
/* * Simple Vulkan application * * Copyright (c) 2016 by <NAME> * * This code is licensed under the MIT license * https://opensource.org/licenses/MIT */ #include <stdlib.h> #include <stdio.h> #include <unistd.h> #include <string.h> #include "util/vulkan.h" void createGraphicsPipeline(); int width = 512,...
34.92
212
(translation_unit) "/*\n * Simple Vulkan application\n * \n * Copyright (c) 2016 by <NAME>\n * \n * This code is licensed under the MIT license \n * https://opensource.org/licenses/MIT\n */\n\n#include <stdlib.h>\n#include <stdio.h>\n#include <unistd.h>\n#include <string.h>\n\n#include "util/vulkan.h"\n\nvoid createG...
1,638
0
{"language": "c", "success": true, "metadata": {"lines": 212, "avg_line_length": 34.92, "nodes": 954, "errors": 0, "source_hash": "38bf48c7ba6485bbbf04b0d2c319f63cde7b042d80bcede956cd1a9de5ac8501", "categorized_nodes": 658}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
77,473
c
/* ** EPITECH PROJECT, 2020 ** B-PSU-200-NAN-2-1-mysokoban-victor.harri-chal ** File description: ** lose_choice.c */ #include "my.h" #include "sokoban.h" void lose_choice(obj_t *obj, player_t *player) { int key = 0; char *lose_str = "You lose !\n"; char *try_str = "Try again ? y/n\n"; clear(); r...
23.3
27
(translation_unit) "/*\n** EPITECH PROJECT, 2020\n** B-PSU-200-NAN-2-1-mysokoban-victor.harri-chal\n** File description:\n** lose_choice.c\n*/\n\n#include "my.h"\n#include "sokoban.h"\n\nvoid lose_choice(obj_t *obj, player_t *player)\n{\n int key = 0;\n char *lose_str = "You lose !\n";\n char *try_str = "Try a...
234
0
{"language": "c", "success": true, "metadata": {"lines": 27, "avg_line_length": 23.3, "nodes": 150, "errors": 0, "source_hash": "ceb897706c670d51e45f9a8e8159c6b8460a490dda09f9c6331ca78d1facf33f", "categorized_nodes": 93}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
77,474
c
// // Created by <EMAIL> on 11-10-01. // Copyright (c) 2012年 www.e-linkway.com. All rights reserved. // #import "IELMediaPlayer.h" @protocol IELMediaPlayer; // 注册lib库,在调用任何其他操作前调用 : 0: 成功; 1:注册码错误; int registerLib(char * registerCode); // 获取MediaPlayer接口 id<IELMediaPlayer> loadELMediaPlayer(); // 释放mediaPlayer,...
29.75
12
(translation_unit) "//\n// Created by <EMAIL> on 11-10-01.\n// Copyright (c) 2012年 www.e-linkway.com. All rights reserved.\n//\n\n#import "IELMediaPlayer.h"\n\n@protocol IELMediaPlayer;\n\n// 注册lib库,在调用任何其他操作前调用 : 0: 成功; 1:注册码错误; \nint registerLib(char * registerCode);\n\n// 获取MediaPlayer接口\nid<IELMediaPlayer> loadEL...
53
2
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 29.75, "nodes": 34, "errors": 0, "source_hash": "c06f46020ff4408657d2838fd47406a400dd30efd7e519446d47183b7a31b787", "categorized_nodes": 19}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "mport \"I...
77,475
c
/* * Copyright (c) 2015 <NAME> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, dis...
29.92
102
(translation_unit) "/*\n * Copyright (c) 2015 <NAME>\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the "Software"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, m...
785
0
{"language": "c", "success": true, "metadata": {"lines": 102, "avg_line_length": 29.92, "nodes": 504, "errors": 0, "source_hash": "d4f53098aae5c69b689565e5d3ae319a071f28a0b90b465de88364889317947e", "categorized_nodes": 354}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
77,476
c
/* * Generated by class-dump 3.3.4 (64 bit). * * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by <NAME>. */ #import "NSObject.h" #import "QLPreviewItem-Protocol.h" @class NSString, NSURL; @interface DVTQuickLookLibraryDetailItem : NSObject <QLPreviewItem> { NSURL *_previewItemURL; } ...
27.68
19
(translation_unit) "/*\n * Generated by class-dump 3.3.4 (64 bit).\n *\n * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by <NAME>.\n */\n\n#import "NSObject.h"\n\n#import "QLPreviewItem-Protocol.h"\n\n@class NSString, NSURL;\n\n@interface DVTQuickLookLibraryDetailItem : NSObject <QLPreviewItem>\n...
113
18
{"language": "c", "success": true, "metadata": {"lines": 19, "avg_line_length": 27.68, "nodes": 77, "errors": 0, "source_hash": "b63d9e32ae478aabb4fe57a39814f0aa83245f2834cb688f82fd509e1cb8a991", "categorized_nodes": 40}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import \...
77,477
c
/* Copyright Joyent, Inc. and other Node contributors. All rights reserved. * * 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 * righ...
31.87
156
(translation_unit) "/* Copyright Joyent, Inc. and other Node contributors. All rights reserved.\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\n * deal in the Software without restriction, including withou...
1,191
0
{"language": "c", "success": true, "metadata": {"lines": 156, "avg_line_length": 31.87, "nodes": 688, "errors": 0, "source_hash": "fee3136a0300718f9fcf1af591b888cc9eb07b5bc16b9c9a1e894c22bd37be4a", "categorized_nodes": 487}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
77,478
c
/** @file consoleoutput.cpp * @brief manipulation with print to console * * Several utils for manipulation with console print. Defines also the offset of the print and the begin of the print with proc id. * * @author <NAME> */ #ifndef PASC_COMMON_CONSOLEOUTPUT_H #define PASC_COMMON_CONSOLEOUTPUT_H #include ...
24.92
149
(translation_unit) "/** @file consoleoutput.cpp\n * @brief manipulation with print to console\n *\n * Several utils for manipulation with console print. Defines also the offset of the print and the begin of the print with proc id.\n * \n * @author <NAME>\n */\n\n#ifndef PASC_COMMON_CONSOLEOUTPUT_H\n#define PASC_COMM...
530
25
{"language": "c", "success": true, "metadata": {"lines": 149, "avg_line_length": 24.92, "nodes": 277, "errors": 0, "source_hash": "3fb747c1e8b30bf804af6fbf1f05eefaa7e7393df744a5720ebbbc4889ddc308", "categorized_nodes": 197}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
77,479
c
#include<stdio.h> #include "../rrc/rrc.h" #include "rlc.h" #include "../mac/mac.h" #include "../sturb/stub.h" void srb0_without_security(srb_info rrc_pdu) { ccch_info UL_ccch; UL_ccch.rlc_sdu=rrc_pdu; /** here we created UL_ccch which will be passed to MAC layer and it will carry RRC message and type of ccch cha...
30.14
35
(translation_unit) "#include<stdio.h>\n#include "../rrc/rrc.h"\n#include "rlc.h"\n#include "../mac/mac.h"\n#include "../sturb/stub.h"\nvoid srb0_without_security(srb_info rrc_pdu)\n{\n ccch_info UL_ccch;\n UL_ccch.rlc_sdu=rrc_pdu;\n\n /** here we created UL_ccch which will be passed to MAC layer and it will carry RR...
169
0
{"language": "c", "success": true, "metadata": {"lines": 35, "avg_line_length": 30.14, "nodes": 88, "errors": 0, "source_hash": "844d97f6b049f06d1a8a9450c9da0a605fe324ab9186ec0bf7cbfab7909069ba", "categorized_nodes": 72}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
77,480
c
/* * This file is part of Freecell Solver. It is subject to the license terms in * the COPYING.txt file found in the top-level directory of this distribution * and at http://fc-solve.shlomifish.org/docs/distro/COPYING.html . No part of * Freecell Solver, including this file, may be copied, modified, propagated, * ...
27.55
56
(translation_unit) "/*\n * This file is part of Freecell Solver. It is subject to the license terms in\n * the COPYING.txt file found in the top-level directory of this distribution\n * and at http://fc-solve.shlomifish.org/docs/distro/COPYING.html . No part of\n * Freecell Solver, including this file, may be copied, m...
222
2
{"language": "c", "success": true, "metadata": {"lines": 56, "avg_line_length": 27.55, "nodes": 150, "errors": 0, "source_hash": "46583aca7a3307e271d9943993a636190f20ff134813f9960a5b2941ddd85b2c", "categorized_nodes": 103}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
77,481
c
/* * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) * From ASN.1 module "DSRC" * found in "J2735_201603_CARMA2.asn1" * `asn1c -pdu=MessageFrame -fcompound-names -gen-PER` */ #ifndef _RegionalExtension_H_ #define _RegionalExtension_H_ #include <asn_application.h> /* Including external dependencies */ #i...
28.51
49
(translation_unit) "/*\n * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)\n * From ASN.1 module "DSRC"\n * found in "J2735_201603_CARMA2.asn1"\n * `asn1c -pdu=MessageFrame -fcompound-names -gen-PER`\n */\n\n#ifndef _RegionalExtension_H_\n#define _RegionalExtension_H_\n\n\n#include <asn_application.h>\n\n/* Incl...
142
0
{"language": "c", "success": true, "metadata": {"lines": 49, "avg_line_length": 28.51, "nodes": 98, "errors": 0, "source_hash": "a9649d62a4b5b24361e2a773511f746d609d03dca65c6a3456e78f0ed4fccb23", "categorized_nodes": 88}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef\...
77,482
c
/** @file ExceptionReason.h * Reason why KTT exception was thrown. */ #pragma once namespace ktt { /** @enum ExceptionReason * Enum which describes reason why KTT exception was thrown. */ enum class ExceptionReason { /** General issue with KTT API usage. */ General, /** Kernel source file c...
23.14
22
(translation_unit) "/** @file ExceptionReason.h\n * Reason why KTT exception was thrown.\n */\n#pragma once\n\nnamespace ktt\n{\n\n/** @enum ExceptionReason\n * Enum which describes reason why KTT exception was thrown.\n */\nenum class ExceptionReason\n{\n /** General issue with KTT API usage.\n */\n Gen...
35
0
{"language": "c", "success": true, "metadata": {"lines": 22, "avg_line_length": 23.14, "nodes": 15, "errors": 0, "source_hash": "c543fd3b6277720a00095b49953fc2278d7e15907a2b50b66d194a0dbd43a0c1", "categorized_nodes": 13}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
77,483
c
/* FFTE: A FAST FOURIER TRANSFORM PACKAGE (C) COPYRIGHT SOFTWARE, 2000-2004, 2008-2014, ALL RIGHTS RESERVED BY <NAME> FACULTY OF ENGINEERING, INFORMATION AND SYSTEMS UNIVERSITY OF TSUKUBA 1-1-1 TENNODAI, TSUKUBA, IBARAKI 305-8573, JAPAN E-MAIL: <E...
29.16
49
(translation_unit) "/*\n\n FFTE: A FAST FOURIER TRANSFORM PACKAGE\n\n (C) COPYRIGHT SOFTWARE, 2000-2004, 2008-2014, ALL RIGHTS RESERVED\n BY\n <NAME>\n FACULTY OF ENGINEERING, INFORMATION AND SYSTEMS\n UNIVERSITY OF TSUKUBA\n 1-1-1 TENNODAI, TSUKUBA, IBARAKI 305-85...
509
0
{"language": "c", "success": true, "metadata": {"lines": 49, "avg_line_length": 29.16, "nodes": 326, "errors": 0, "source_hash": "dc3812759a145b91e25c956786a534f6f20c94cc3c6690946bf469a77cbb50e3", "categorized_nodes": 245}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "function_definition", "text": "...
77,484
c
#pragma once void TestGLConvolution();
18.5
2
(translation_unit) "#pragma once\n\nvoid TestGLConvolution();\n" (preproc_call) "#pragma once\n" (preproc_directive) "#pragma" (preproc_arg) "once" (declaration) "void TestGLConvolution();" (primitive_type) "void" (function_declarator) "TestGLConvolution()" (identifier) "TestGLConvolution" ...
12
0
{"language": "c", "success": true, "metadata": {"lines": 2, "avg_line_length": 18.5, "nodes": 8, "errors": 0, "source_hash": "f462afc832bf25a25df518b0867977a92ba21f3c7c6f6dfd7e0055ef2c590af6", "categorized_nodes": 4}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma once\...
77,485
c
#include <proc.h> #include <xlib.h> #include <xlibproc.h> PROC_TEMPLATE( WTInfoA, Wintab, -, 20)
23.25
4
(translation_unit) "#include <proc.h>\n#include <xlib.h>\n#include <xlibproc.h>\nPROC_TEMPLATE( WTInfoA, Wintab, -, 20)\n" (preproc_include) "#include <proc.h>\n" (#include) "#include" (system_lib_string) "<proc.h>" (preproc_include) "#include <xlib.h>\n" (#include) "#include" (system_lib_string) "<...
26
1
{"language": "c", "success": true, "metadata": {"lines": 4, "avg_line_length": 23.25, "nodes": 17, "errors": 0, "source_hash": "54a6d0d612842ac2c0a5b8c3f0a6ba52111f5560c2c23ded0682ad0c91ff6455", "categorized_nodes": 15}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#includ...
77,486
c
// enumerator_sizeof.c // an example from the CIL docs, this is an enumeration // where one of the enumerators is a sizeof expression #include <assert.h> // assert enum { FIVE = 5, SIX, SEVEN, FOUR = FIVE - 1, EIGHT = sizeof(double) }; int main() { // store the enumerator values in an array, so the...
18.81
26
(translation_unit) "// enumerator_sizeof.c\n// an example from the CIL docs, this is an enumeration\n// where one of the enumerators is a sizeof expression\n\n#include <assert.h> // assert\n\nenum {\n FIVE = 5,\n SIX, SEVEN,\n FOUR = FIVE - 1,\n EIGHT = sizeof(double)\n};\n\nint main()\n{ \n // store the en...
153
0
{"language": "c", "success": true, "metadata": {"lines": 26, "avg_line_length": 18.81, "nodes": 91, "errors": 0, "source_hash": "6ab3fd61fba17e2b93e1713e29d176c5c8ad2894afa93e2a066b237d1afeaf78", "categorized_nodes": 71}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
77,487
c
/* * fs/bfs/inode.c * BFS superblock and inode operations. * Copyright (C) 1999,2000 <NAME> <<EMAIL>> * From fs/minix, Copyright (C) 1991, 1992 <NAME>. */ #include <linux/module.h> #include <linux/mm.h> #include <linux/slab.h> #include <linux/init.h> #include <linux/locks.h> #include <linux/bfs_fs.h> #include <li...
26.26
283
(translation_unit) "/*\n * fs/bfs/inode.c\n * BFS superblock and inode operations.\n * Copyright (C) 1999,2000 <NAME> <<EMAIL>>\n * From fs/minix, Copyright (C) 1991, 1992 <NAME>.\n */\n\n#include <linux/module.h>\n#include <linux/mm.h>\n#include <linux/slab.h>\n#include <linux/init.h>\n#include <linux/locks.h>\n#inclu...
2,704
6
{"language": "c", "success": true, "metadata": {"lines": 283, "avg_line_length": 26.26, "nodes": 1714, "errors": 0, "source_hash": "ddd723d05842d16c5b14fb301bfbe95ebe8284464659fc499ef45be356038d92", "categorized_nodes": 1321}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#...
77,488
c
/*========================================================================= Library: UltrasoundPTXRecorder Copyright 2010 Kitware Inc. 28 Corporate Drive, Clifton Park, NY, 12065, USA. All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in complian...
34.56
143
(translation_unit) "/*=========================================================================\n\nLibrary: UltrasoundPTXRecorder\n\nCopyright 2010 Kitware Inc. 28 Corporate Drive,\nClifton Park, NY, 12065, USA.\n\nAll rights reserved.\n\nLicensed under the Apache License, Version 2.0 (the "License");\nyou may not us...
877
59
{"language": "c", "success": true, "metadata": {"lines": 143, "avg_line_length": 34.56, "nodes": 565, "errors": 0, "source_hash": "2604dbfe0e84fc9a1e776ee4a670588046ac949207820b0cfa8b1f6097ec0a23", "categorized_nodes": 382}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragm...
77,489
c
#include <stdio.h> #include <errno.h> #include <string.h> #include "libhvs/errorutil.h" #include "libhvs/matrixutil.h" #define LF(x) (long double)((x)) int main() { int status,i; FLOAT_TYPE x,y,l; FLOAT_TYPE m3[] = {1.0,2.0,3.0,4.0,0.0,1.0,2.0,2.0,0.0,2.0,3.0,-1.0,1.0,-1.0,3.0,1.0}; FLOAT_TYPE m2[] = {0.0,2.0,3...
32.22
36
(translation_unit) "#include <stdio.h>\n#include <errno.h>\n#include <string.h>\n#include "libhvs/errorutil.h"\n#include "libhvs/matrixutil.h"\n\n#define LF(x) (long double)((x))\n\nint main() {\n int status,i;\n FLOAT_TYPE x,y,l;\n \n FLOAT_TYPE m3[] = {1.0,2.0,3.0,4.0,0.0,1.0,2.0,2.0,0.0,2.0,3.0,-1.0,1.0,-1.0,3.0,1.0...
444
0
{"language": "c", "success": true, "metadata": {"lines": 36, "avg_line_length": 32.22, "nodes": 240, "errors": 0, "source_hash": "9555828c70cd83a28051aa43017c3408a806c00c76a92e9e4351a069f37bc52a", "categorized_nodes": 182}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
77,490
c
/** \file Drawable.h * \brief Obsahuje deklaraci interface Drawable. */ #pragma once #ifndef IDRAWING_H_ #define IDRAWING_H_ /** \class Drawable * \brief Interface pro tridy, ktere neco vykresluji. */ class Drawable { public: //! \brief Virtualni destruktor, co nic nedela. virtual ~Drawable() {} //! \br...
20.17
18
(translation_unit) "/** \file Drawable.h\n* \brief Obsahuje deklaraci interface Drawable.\n*/\n\n#pragma once\n\n#ifndef IDRAWING_H_\n#define IDRAWING_H_\n\n/** \class Drawable\n* \brief Interface pro tridy, ktere neco vykresluji.\n*/\nclass Drawable\n{\npublic:\n\n //! \brief Virtualni destruktor, co nic nedela.\n...
53
4
{"language": "c", "success": true, "metadata": {"lines": 18, "avg_line_length": 20.17, "nodes": 29, "errors": 0, "source_hash": "389540cf7700db5031e59d3fbe6bf6341eb940eacbbf89d2eab1d0c45c115812", "categorized_nodes": 16}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
77,491
c
// // DBCurrencyManager.h // CryptoTicker // // Created by <NAME> on 12/3/13. // Copyright (c) 2013 Dribba Development. All rights reserved. // #import <Foundation/Foundation.h> #import "DBConstants.h" @protocol DBCurrencyManagerDelegate <NSObject> /* * Delegate Methods */ - (void) manager:(id)controller didRe...
21.54
41
(translation_unit) "//\n// DBCurrencyManager.h\n// CryptoTicker\n//\n// Created by <NAME> on 12/3/13.\n// Copyright (c) 2013 Dribba Development. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n#import "DBConstants.h"\n\n@protocol DBCurrencyManagerDelegate <NSObject>\n/*\n * Delegate Methods\n */\n- ...
199
28
{"language": "c", "success": true, "metadata": {"lines": 41, "avg_line_length": 21.54, "nodes": 135, "errors": 0, "source_hash": "46cc0dcecb536d9a94978b79191547a34fd8e0d577a02a6433502512006cc0dd", "categorized_nodes": 76}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import ...
77,492
c
/* src/config.h.in. Generated from configure.ac by autoheader. */ /* Namespace for Google classes */ #undef GOOGLE_NAMESPACE /* Define to 1 if you have the <assert.h> header file. */ #undef HAVE_ASSERT_H /* Define to 1 if you have the `calloc' function. */ #undef HAVE_CALLOC /* Define to 1 if you have the <dlfcn....
36.99
91
(translation_unit) "/* src/config.h.in. Generated from configure.ac by autoheader. */\n\n/* Namespace for Google classes */\n#undef GOOGLE_NAMESPACE\n\n/* Define to 1 if you have the <assert.h> header file. */\n#undef HAVE_ASSERT_H\n\n/* Define to 1 if you have the `calloc' function. */\n#undef HAVE_CALLOC\n\n/* Defi...
182
0
{"language": "c", "success": true, "metadata": {"lines": 91, "avg_line_length": 36.99, "nodes": 135, "errors": 0, "source_hash": "8a370dab4525cbdc96ef2ccdd6a43740ee121611f24b19f193940d712e5f3c21", "categorized_nodes": 45}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#undef G...
77,493
c
#ifndef __Smoke_H__ #define __Smoke_H__ #include "SdkSample.h" using namespace Ogre; using namespace OgreBites; class _OgreSampleClassExport Sample_Smoke : public SdkSample { public: Sample_Smoke() { mInfo["Title"] = "Smoke"; mInfo["Description"] = "Demonstrates depth-sorting of particles in particle systems....
36.27
44
(translation_unit) "#ifndef __Smoke_H__\n#define __Smoke_H__\n\n#include "SdkSample.h"\n\nusing namespace Ogre;\nusing namespace OgreBites;\n\nclass _OgreSampleClassExport Sample_Smoke : public SdkSample\n{\npublic:\n\n Sample_Smoke()\n {\n mInfo["Title"] = "Smoke";\n mInfo["Description"] = "Demonstrates depth-sortin...
479
7
{"language": "c", "success": true, "metadata": {"lines": 44, "avg_line_length": 36.27, "nodes": 255, "errors": 0, "source_hash": "825e28dbdba43b5ce7c3779954dd70a7f472478bd8a62930cb1f8057e91cddd1", "categorized_nodes": 193}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
77,494
c
#ifndef __UI_FONT_H__ #define __UI_FONT_H__ #define UI_FONT_XORG 0 #define UI_FONT_FREETYPE2 1 struct uifont { const char *name; long type; void *data; }; #endif /* __UI_FONT_H__ */
25.1
10
(translation_unit) "#ifndef __UI_FONT_H__\n#define __UI_FONT_H__\n\n#define UI_FONT_XORG 0\n#define UI_FONT_FREETYPE2 1\nstruct uifont {\n const char *name;\n long type;\n void *data;\n};\n\n#endif /* __UI_FONT_H__ */\n\n" (preproc_ifdef) "#i...
43
0
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 25.1, "nodes": 32, "errors": 0, "source_hash": "a96e1e94dffdf2b1df292558ae945ddc1d3665087412a817e84c0952e8aea61f", "categorized_nodes": 17}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef _...
77,495
c
/** Author and Copyright 2017 <NAME> * * 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...
39.45
29
(translation_unit) "/** Author and Copyright 2017 <NAME>\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 require...
105
0
{"language": "c", "success": true, "metadata": {"lines": 29, "avg_line_length": 39.45, "nodes": 66, "errors": 0, "source_hash": "8160be7c385e98c4069f09fcb0e57c44f78bb4c5498772b789bd2775df77dbdb", "categorized_nodes": 54}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
77,496
c
#include "io_ncmpi_nonblocking.h" #define MAX_REQUESTS 128 FLASH_IO_Request m_requests[MAX_REQUESTS]; int m_statuses[MAX_REQUESTS]; int m_req_number, m_myPE; #ifdef DEBUG_IO const int debugIO = 1; #else const int debugIO = 0; #endif FLASH_IO_Request * io_ncmpi_nonblocking_get_request() { if (m_req_number < MAX_REQ...
26.81
54
(translation_unit) "#include "io_ncmpi_nonblocking.h"\n\n#define MAX_REQUESTS 128\nFLASH_IO_Request m_requests[MAX_REQUESTS];\nint m_statuses[MAX_REQUESTS];\nint m_req_number, m_myPE;\n\n#ifdef DEBUG_IO\nconst int debugIO = 1;\n#else\nconst int debugIO = 0;\n#endif\n\nFLASH_IO_Request * io_ncmpi_nonblocking_get_request...
333
0
{"language": "c", "success": true, "metadata": {"lines": 54, "avg_line_length": 26.81, "nodes": 195, "errors": 0, "source_hash": "e73ac50f80d29db556200ab3a148bc1a0a3661a765aa0ee08850049d00d0a5a4", "categorized_nodes": 133}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
77,497
c
#ifndef RELAY_H #define RELAY_H //#define SERIAL_DEBUG #include <Arduino.h> #include <DebugLog.h> #include <RelayInterface.h> class Relay : public RelayInterface { public: Relay(uint8_t p, bool invt = true); virtual void on() override; virtual void off() override; virtual bool isOn() override; pr...
20.11
18
(translation_unit) "#ifndef RELAY_H\n#define RELAY_H\n\n//#define SERIAL_DEBUG\n\n#include <Arduino.h>\n#include <DebugLog.h>\n#include <RelayInterface.h>\n\nclass Relay : public RelayInterface\n{\npublic:\n Relay(uint8_t p, bool invt = true);\n\n virtual void on() override;\n\n virtual void off() override;\n\...
102
6
{"language": "c", "success": true, "metadata": {"lines": 18, "avg_line_length": 20.11, "nodes": 62, "errors": 0, "source_hash": "f318123dc321b33c61556ed200764a6339d8c17cfca63c848988b627f796a72a", "categorized_nodes": 44}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
77,498
c
/* smptest (test13.c)'s cpu.1 */ /* 2015-09-18 <NAME> */ /* merge sort (cpu0, cpu1) cache hit */ /* array 2kB, work 4kB = total 6kB */ #define ARRAY_SIZE 512 #define LOG_ARRAY_SIZE 9 #define stride(x) ((2) << x) /* cpu0 cpu1 communication */ #define COMMU_CPU01CNTL ...
31.4
86
(translation_unit) "/* smptest (test13.c)'s cpu.1 */\n/* 2015-09-18 <NAME> */\n/* merge sort (cpu0, cpu1) cache hit */\n/* array 2kB, work 4kB = total 6kB */\n\n#define ARRAY_SIZE 512\n#define LOG_ARRAY_SIZE 9\n#define stride(x) ((2) << x)\n\n/* cpu0 cpu1 communicatio...
666
0
{"language": "c", "success": true, "metadata": {"lines": 86, "avg_line_length": 31.4, "nodes": 427, "errors": 0, "source_hash": "8ca68f0c4310313dd616f516472cb29f1564de3df4b4e57dee058c97c0b39b12", "categorized_nodes": 269}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_def", "text": "#define ...
77,499