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
/* Copyright (c) 2020 vesoft inc. All rights reserved. * * This source code is licensed under Apache 2.0 License, * attached with Common Clause Condition 1.0, found in the LICENSES directory. */ #ifndef COMMON_EXPRESSION_VARIABLEEXPRESSION_H_ #define COMMON_EXPRESSION_VARIABLEEXPRESSION_H_ #include "common/expres...
30.51
67
(translation_unit) "/* Copyright (c) 2020 vesoft inc. All rights reserved.\n *\n * This source code is licensed under Apache 2.0 License,\n * attached with Common Clause Condition 1.0, found in the LICENSES directory.\n */\n\n#ifndef COMMON_EXPRESSION_VARIABLEEXPRESSION_H_\n#define COMMON_EXPRESSION_VARIABLEEXPRESSION_...
503
33
{"language": "c", "success": true, "metadata": {"lines": 67, "avg_line_length": 30.51, "nodes": 260, "errors": 0, "source_hash": "806e2a194facc7d3a4c6568df82acd3dfc2bcf6220aa277c956ed4766d90e85d", "categorized_nodes": 172}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
80,300
c
// taken (and modified) from riscv-pk. See LICENSE.riscv-pk #ifndef _RISCV_UART_H #if defined(QEMU_UART) || defined(SHAKTI_UART) #define _RISCV_UART_H #include <stdint.h> namespace pk { void uart_putchar(uint8_t ch); int uart_getchar(); void init_uart(); } #endif #endif
22.58
12
(translation_unit) "// taken (and modified) from riscv-pk. See LICENSE.riscv-pk\n\n#ifndef _RISCV_UART_H\n#if defined(QEMU_UART) || defined(SHAKTI_UART)\n#define _RISCV_UART_H\n\n#include <stdint.h>\n\nnamespace pk {\n void uart_putchar(uint8_t ch);\n int uart_getchar();\n void init_uart();\n}\n\n#endif\n#endi...
61
0
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 22.58, "nodes": 43, "errors": 0, "source_hash": "d56ad54cb48c188ecebbd86df6bd40d97617542214d234ab7005b7197ad56205", "categorized_nodes": 28}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
80,301
c
//uart initialization (for REAL) and communication #include "types.h" #include "mmu.h" #include "memlayout.h" #include "uart.h" extern inline void mmio_write(unsigned int reg, unsigned int data); extern inline unsigned int mmio_read(unsigned int reg); /* * countサイクル待つ * ループを最適化しない * 00000030 <__delay_16>: * 30: ...
27.45
83
(translation_unit) "//uart initialization (for REAL) and communication\n\n#include "types.h"\n#include "mmu.h"\n#include "memlayout.h"\n#include "uart.h"\n\nextern inline void mmio_write(unsigned int reg, unsigned int data);\nextern inline unsigned int mmio_read(unsigned int reg);\n\n/*\n * countサイクル待つ\n * ループを最適化しない\n...
517
0
{"language": "c", "success": true, "metadata": {"lines": 83, "avg_line_length": 27.45, "nodes": 282, "errors": 0, "source_hash": "d463ca7370e69a1c9f18f964d289551bd3a50cd2778b2ac82c05984959505f51", "categorized_nodes": 202}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
80,302
c
/* * Copyright(c) 2012-2018 Intel Corporation * SPDX-License-Identifier: BSD-3-Clause-Clear */ #ifndef __OCF_ENV_HEADERS_H__ #define __OCF_ENV_HEADERS_H__ #include <stdint.h> #include <stdbool.h> #include <stddef.h> #endif /* __OCF_ENV_HEADERS_H__ */
24.4
10
(translation_unit) "/*\n * Copyright(c) 2012-2018 Intel Corporation\n * SPDX-License-Identifier: BSD-3-Clause-Clear\n */\n\n#ifndef __OCF_ENV_HEADERS_H__\n#define __OCF_ENV_HEADERS_H__\n\n#include <stdint.h>\n#include <stdbool.h>\n#include <stddef.h>\n\n#endif /* __OCF_ENV_HEADERS_H__ */\n" (comment) "/*\n * Copyrigh...
19
0
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 24.4, "nodes": 16, "errors": 0, "source_hash": "5e6b9978c0f28e1f4bcb54e6f332724098cc398eddec7c512e0f5da253b0ae4c", "categorized_nodes": 14}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef _...
80,303
c
// // HSLiveModel.h // FunkyFMHome // // Created by 胡晟 on 2017/7/31. // Copyright © 2017年 funkyHS. All rights reserved. // #import <Foundation/Foundation.h> @interface HSLiveModel : NSObject @property (nonatomic, copy) NSString *chatId; @property (nonatomic, copy, getter=adImgURL) NSString *coverPath; @proper...
33.91
23
(translation_unit) "//\n// HSLiveModel.h\n// FunkyFMHome\n//\n// Created by 胡晟 on 2017/7/31.\n// Copyright © 2017年 funkyHS. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n\n@interface HSLiveModel : NSObject\n\n\n@property (nonatomic, copy) NSString *chatId;\n@property (nonatomic, copy, getter=adImg...
246
50
{"language": "c", "success": true, "metadata": {"lines": 23, "avg_line_length": 33.91, "nodes": 182, "errors": 0, "source_hash": "57aed1d9644836d0819bde8591ba91afb18bc570a584aa76f3c3e3ca10c94f3d", "categorized_nodes": 94}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": " <Founda...
80,304
c
#pragma once #include <glhimmel-computed/glhimmel-computed_api.h> #include <glhimmel-base/julianday.h> namespace glHimmel { class GLHIMMEL_COMPUTED_API Earth { public: static long double orbitEccentricity(const JulianDay t); static long double apparentAngularSunDiameter(const JulianDay t); static lon...
42.42
26
(translation_unit) "ragma once\n\n#include <glhimmel-computed/glhimmel-computed_api.h>\n#include <glhimmel-base/julianday.h>\n\n\nnamespace glHimmel\n{\n\nclass GLHIMMEL_COMPUTED_API Earth\n{\npublic:\n\n static long double orbitEccentricity(const JulianDay t);\n\n static long double apparentAngularSunDiameter(co...
248
2
{"language": "c", "success": true, "metadata": {"lines": 26, "avg_line_length": 42.42, "nodes": 160, "errors": 0, "source_hash": "9254ca901159001c2a0e788655dafadb8c8957366f4afba5fc874def3d06cb8b", "categorized_nodes": 112}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "ragma o...
80,305
c
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by <NAME>. // #import <SAObjects/SABaseCommand.h> #import "SAIntentGroupSetMapLocation.h" #import "SAServerBoundCommand.h" @class NSNumber, NSString, SAIntentGroupProtobufMessage; @interface SAInten...
41.35
31
(translation_unit) "//\n// Generated by class-dump 3.5 (64 bit).\n//\n// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by <NAME>.\n//\n\n#import <SAObjects/SABaseCommand.h>\n\n#import "SAIntentGroupSetMapLocation.h"\n#import "SAServerBoundCommand.h"\n\n@class NSNumber, NSString, SAIntentGroupProto...
319
34
{"language": "c", "success": true, "metadata": {"lines": 31, "avg_line_length": 41.35, "nodes": 207, "errors": 0, "source_hash": "f290d51d6240d564a40a5801e6261bf8eede70fa6c57e5f6d78a8901835e9e83", "categorized_nodes": 122}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import...
80,306
c
// // ABSecrect.h // ABFoundation // // Created by qp on 2021/3/18. // Copyright © 2021 abteam. All rights reserved. // #import <Foundation/Foundation.h> NS_ASSUME_NONNULL_BEGIN typedef enum : NSUInteger { ABSecrectTypeAES, ABSecrectTypeRSA, ABSecrectTypeDES, } ABSecrectType; @interface ABSecrect : ...
28.71
41
(translation_unit) "//\n// ABSecrect.h\n// ABFoundation\n//\n// Created by qp on 2021/3/18.\n// Copyright © 2021 abteam. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n\nNS_ASSUME_NONNULL_BEGIN\n\ntypedef enum : NSUInteger {\n ABSecrectTypeAES,\n ABSecrectTypeRSA,\n ABSecrectTypeDES,\n} ABS...
198
13
{"language": "c", "success": true, "metadata": {"lines": 41, "avg_line_length": 28.71, "nodes": 100, "errors": 0, "source_hash": "18184764b24eb60ee641150e472722728899eabc12cf41d129ecf5e86ec06d0b", "categorized_nodes": 66}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <...
80,307
c
/** ********************************************************************* ********************************************************************* */ #include <stdint.h> #include <stdbool.h> #include <string.h> #include "sglib.h" #include "bus.h" #include "sgstring.h" #include "uart_at89c51.h" #include "cpu_mcs51.h" #i...
23.38
223
(translation_unit) "/**\n *********************************************************************\n *********************************************************************\n */\n#include <stdint.h>\n#include <stdbool.h>\n#include <string.h>\n#include "sglib.h"\n#include "bus.h"\n#include "sgstring.h"\n#include "uart_at89c5...
1,474
0
{"language": "c", "success": true, "metadata": {"lines": 223, "avg_line_length": 23.38, "nodes": 928, "errors": 0, "source_hash": "880635b3593a90f0896ffe6adc6676f24e1419217291e2c67aa0a8ee2bda1878", "categorized_nodes": 629}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
80,308
c
#ifndef EZ_QBUFFER_H_ #define EZ_QBUFFER_H_ #include "ez_def.h" namespace ez { typedef struct { uint32_t in; uint32_t out; uint32_t len; uint32_t size; uint8_t *p_buf; } qbuffer_t; void qbufferInit(void); bool qbufferCreate(qbuffer_t *p_node, uint8_t *p_buf, uint32_t length); bool qbuffer...
23.57
30
(translation_unit) "#ifndef EZ_QBUFFER_H_\n#define EZ_QBUFFER_H_\n\n\n#include "ez_def.h"\n\n\nnamespace ez\n{\n\n\ntypedef struct\n{\n uint32_t in;\n uint32_t out;\n uint32_t len;\n uint32_t size;\n\n uint8_t *p_buf;\n} qbuffer_t;\n\n\nvoid qbufferInit(void);\nbool qbufferCreate(qbuffer_t *p_node, uint8_t...
213
0
{"language": "c", "success": true, "metadata": {"lines": 30, "avg_line_length": 23.57, "nodes": 161, "errors": 0, "source_hash": "2d4cbcbfc131f6a2735ff6430bea116403c920a89db34de5b244347fe6a8c3bc", "categorized_nodes": 95}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
80,309
c
// // TFCustomTabBarItem.h // TFUILib // // Created by <NAME> on 16/3/9. // Copyright © 2016年 <EMAIL> All rights reserved. // #import "TFView.h" /** * TFCustomTabBarItem */ @interface TFCustomTabBarItem : TFView /** * 点击回调 */ typedef void(^TouchActionBlock)(TFCustomTabBarItem *); /** * 是否被选择(单独更改无法切换Con...
18.67
93
(translation_unit) "//\n// TFCustomTabBarItem.h\n// TFUILib\n//\n// Created by <NAME> on 16/3/9.\n// Copyright © 2016年 <EMAIL> All rights reserved.\n//\n\n#import "TFView.h"\n\n/**\n * TFCustomTabBarItem\n */\n@interface TFCustomTabBarItem : TFView\n\n/**\n * 点击回调\n */\ntypedef void(^TouchActionBlock)(TFCustomTab...
367
43
{"language": "c", "success": true, "metadata": {"lines": 93, "avg_line_length": 18.67, "nodes": 230, "errors": 0, "source_hash": "7228ba543a42c4ed9c34b204b3575424d8f15a28863e0e5386baa907bf14afe0", "categorized_nodes": 133}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "port \"...
80,310
c
#pragma once typedef struct __timer *timer_t;
22
2
(translation_unit) "#pragma once\n\ntypedef struct __timer *timer_t;\n" (preproc_call) "#pragma once\n" (preproc_directive) "#pragma" (preproc_arg) "once" (type_definition) "typedef struct __timer *timer_t;" (typedef) "typedef" (struct_specifier) "struct __timer" (struct) "struct" (type_...
13
0
{"language": "c", "success": true, "metadata": {"lines": 2, "avg_line_length": 22.0, "nodes": 11, "errors": 0, "source_hash": "0a309c43a912c59077f1c94482ebe10728ef76ef01da6462b1871bba89a195a9", "categorized_nodes": 6}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma once...
80,311
c
#ifndef __geometryhelpers_h__ #define __geometryhelpers_h__ // Collection of useful geometry helper functions //HEDGES // hedge_opposite(int geo ; int hedge) // - INPUT: geo, handle to a geometry ; hedge a headge of that geometry // - OUTPUT: the index of the flipped hedge (add a warning in case the geometr...
27.56
110
(translation_unit) "#ifndef __geometryhelpers_h__ \n#define __geometryhelpers_h__ \n \n// Collection of useful geometry helper functions \n \n//HEDGES \n \n// hedge_opposite(int geo ; int hedge) \n// - INPUT: geo, handle to a geometry ; hedge a headge of that geometry \n// - OUTPUT: the index of the flipped hedge (add ...
599
14
{"language": "c", "success": true, "metadata": {"lines": 110, "avg_line_length": 27.56, "nodes": 358, "errors": 0, "source_hash": "ccc076d05b6569cba028bdff2305aba75ac1be102cf4899465f3c76f44aeea1d", "categorized_nodes": 253}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
80,312
c
/*********************************************************************** * * Copyright (c) Berkeley Softworks 1988 -- All Rights Reserved * * PROJECT: PCGEOS * MODULE: Tool Utilities * FILE: FileUtil.h * * AUTHOR: <NAME>, Sep 26, 1996 * * ROUTINES: * Name Description * ---- ...
25.93
80
(translation_unit) "/*********************************************************************** \n * \n * Copyright (c) Berkeley Softworks 1988 -- All Rights Reserved \n * \n * PROJECT: PCGEOS \n * MODULE: Tool Utilities \n * FILE: FileUtil.h \n * \n * AUTHOR: <NAME>, Sep 26, 1996 \n * \n * ROUTINES: \n * Name ...
328
0
{"language": "c", "success": true, "metadata": {"lines": 80, "avg_line_length": 25.93, "nodes": 252, "errors": 0, "source_hash": "8747684f92fed1727d009ebec62281968908a1bd21ffde3373cbd12948fb9c69", "categorized_nodes": 147}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
80,313
c
/*************************************************************************** * include/stxxl/bits/utils/malloc.h * * Part of the STXXL. See http://stxxl.sourceforge.net * * Copyright (C) 2003 <NAME> <<EMAIL>> * Copyright (C) 2009 <NAME> <<EMAIL>> * * Distributed under the Boost Software License, Version 1....
35.39
129
(translation_unit) "/***************************************************************************\n * include/stxxl/bits/utils/malloc.h\n *\n * Part of the STXXL. See http://stxxl.sourceforge.net\n *\n * Copyright (C) 2003 <NAME> <<EMAIL>>\n * Copyright (C) 2009 <NAME> <<EMAIL>>\n *\n * Distributed under the Boost ...
892
41
{"language": "c", "success": true, "metadata": {"lines": 129, "avg_line_length": 35.39, "nodes": 523, "errors": 0, "source_hash": "70f6987f4fa700d43a3ee83b0d17d5b70ae5de19d47cd766ea6cab7f5f3b65ab", "categorized_nodes": 379}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
80,314
c
/** @file DXE Core library services. Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "DxeMain.h" // // Lock Stuff // /** Initialize a basic mutual exclusion lock. Each lock provides mutual exclusion access at it's task priority...
23.9
72
(translation_unit) "/** @file\n DXE Core library services.\n\nCopyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>\nSPDX-License-Identifier: BSD-2-Clause-Patent\n\n**/\n\n#include "DxeMain.h"\n\n//\n// Lock Stuff\n//\n/**\n Initialize a basic mutual exclusion lock. Each lock\n provides mutual exc...
251
3
{"language": "c", "success": true, "metadata": {"lines": 72, "avg_line_length": 23.9, "nodes": 155, "errors": 0, "source_hash": "c3827e4962b38d730fb7c1d3a0ca9e8fed592c59f806148fd9e75b27a4305a96", "categorized_nodes": 115}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
80,315
c
// // Created by <NAME>. // Grupo de Optimizacion Combinatoria (GOC). // Departamento de Computacion - Universidad de Buenos Aires. // #ifndef GOC_COLLECTION_MATRIX_H #define GOC_COLLECTION_MATRIX_H #include <iostream> #include <vector> #include "goc/lib/json.hpp" #include "goc/print/printable.h" #include "goc/print...
22.42
118
(translation_unit) "//\n// Created by <NAME>.\n// Grupo de Optimizacion Combinatoria (GOC).\n// Departamento de Computacion - Universidad de Buenos Aires.\n//\n\n#ifndef GOC_COLLECTION_MATRIX_H\n#define GOC_COLLECTION_MATRIX_H\n\n#include <iostream>\n#include <vector>\n\n#include "goc/lib/json.hpp"\n#include "goc/print...
886
38
{"language": "c", "success": true, "metadata": {"lines": 118, "avg_line_length": 22.42, "nodes": 528, "errors": 0, "source_hash": "02458309a2ed21700b2db741600d2b581ec7b9e836ebe7fac9e97666ce9f80dd", "categorized_nodes": 371}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
80,316
c
// // Copyright <NAME> (<EMAIL>), <NAME> (<EMAIL>) 2014-2021 // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // #pragma once #include "td/actor/SchedulerLocalStorage.h" #include "td/db/DbKey.h" #include "td/db/...
29.15
26
(translation_unit) "//\n// Copyright <NAME> (<EMAIL>), <NAME> (<EMAIL>) 2014-2021\n//\n// Distributed under the Boost Software License, Version 1.0. (See accompanying\n// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)\n//\n#pragma once\n\n#include "td/actor/SchedulerLocalStorage.h"\n\n#include "t...
163
4
{"language": "c", "success": true, "metadata": {"lines": 26, "avg_line_length": 29.15, "nodes": 93, "errors": 0, "source_hash": "9ee52c02d4c16023117c8a4f25b6bb850999c9db5d2194793c77858ed7fb5d18", "categorized_nodes": 65}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
80,317
c
/* ___________________________________________________________ / __ _ \ | / _| (_) | | | |_ _ _ ___ _ ___ _ __ | | | _| | | / __| |/ _ \| '_ \ | | ...
37.54
63
(translation_unit) "/*\n ___________________________________________________________\n/ __ _ \\n| / _| (_) |\n| | |_ _ _ ___ _ ___ _ __ |\n| | _| | | / __| |/ _ \| '_ \ ...
205
0
{"language": "c", "success": true, "metadata": {"lines": 63, "avg_line_length": 37.54, "nodes": 123, "errors": 0, "source_hash": "ee8428749bcad25428bd1b0f3236a0c64cccc8a82853beb94305695592572ebc", "categorized_nodes": 93}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
80,318
c
#ifndef EMPR_LIB_I2C_H #define EMPR_LIB_I2C_H #include "empr_lib_common.h" #include "lpc17xx_pinsel.h" #include "lpc17xx_i2c.h" #define EMPR_LIB_I2C_RETRANSMISSIONS_MAX 0 #define EMPR_LIB_I2C_DATA_RATE 100000 void EL_I2C_Init(void); Status EL_I2C_SendBytes(uint8_t address, uint8_t *data, size_t data_length); Status ...
35.09
11
(translation_unit) "#ifndef EMPR_LIB_I2C_H\n#define EMPR_LIB_I2C_H\n\n#include "empr_lib_common.h"\n#include "lpc17xx_pinsel.h"\n#include "lpc17xx_i2c.h"\n\n#define EMPR_LIB_I2C_RETRANSMISSIONS_MAX 0\n#define EMPR_LIB_I2C_DATA_RATE 100000\n\nvoid EL_I2C_Init(void);\nStatus EL_I2C_SendBytes(uint8_t address, uint8_t *dat...
86
0
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 35.09, "nodes": 63, "errors": 0, "source_hash": "20e9d4de19d6c8b75720fde52375b27decdd066ff110f1c092cf837c6bebbdb4", "categorized_nodes": 40}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
80,319
c
/******************************************************** * Copyright (C) 2016 All rights reserved. * * Filename: section_fun.h * Author : lubing.han * Date : 2017-03-21 * Describe: * ********************************************************/ #ifndef SECTION_FUN_H #define SECTION_FUN_H #include "lane_...
28.44
18
(translation_unit) "/********************************************************\n* Copyright (C) 2016 All rights reserved.\n* \n* Filename: section_fun.h\n* Author : lubing.han\n* Date : 2017-03-21\n* Describe:\n*\n********************************************************/\n\n#ifndef SECTION_FUN_H\n#define...
78
6
{"language": "c", "success": true, "metadata": {"lines": 18, "avg_line_length": 28.44, "nodes": 56, "errors": 0, "source_hash": "ee71d5dae3fcf9c63192467dd6751d3be402b431c4c3153ddb1fb02c7820baca", "categorized_nodes": 39}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
80,320
c
#pragma once //---------------------------------------------------------------------------------- // //---------------------------------------------------------------------------------- #include "../../Graphics/Resource/asd.Texture2D.h" #include <Math/asd.RectF.h> #include "asd.CoreChip2D.h" #include "../../ObjectSys...
34.9
96
(translation_unit) "ragma once\n\n//----------------------------------------------------------------------------------\n//\n//----------------------------------------------------------------------------------\n#include "../../Graphics/Resource/asd.Texture2D.h"\n#include <Math/asd.RectF.h>\n#include "asd.CoreChip2D.h"\n...
691
28
{"language": "c", "success": true, "metadata": {"lines": 96, "avg_line_length": 34.9, "nodes": 463, "errors": 0, "source_hash": "ffc9a99ff0a534fd0d13909771c0020707666c4ef27a90f4ac56d065e050bffe", "categorized_nodes": 317}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "ragma on...
80,321
c
/* Copyright (c) 2017, The University of Bristol, Senate House, Tyndall Avenue, Bristol, BS8 1TH, United Kingdom. Copyright (c) 2018, <NAME>, <NAME> 10, bus 2452, B-3001 Leuven-Heverlee, Belgium. All rights reserved */ #ifndef _LaAND #define _LaAND /* Executed the leaky-AND protocol of Figure 8 * of ePrint 2017/189 ...
28.18
28
(translation_unit) "/*\nCopyright (c) 2017, The University of Bristol, Senate House, Tyndall Avenue, Bristol, BS8 1TH, United Kingdom.\nCopyright (c) 2018, <NAME>, <NAME> 10, bus 2452, B-3001 Leuven-Heverlee, Belgium.\n\nAll rights reserved\n*/\n#ifndef _LaAND\n#define _LaAND\n\n/* Executed the leaky-AND protocol of Fi...
93
3
{"language": "c", "success": true, "metadata": {"lines": 28, "avg_line_length": 28.18, "nodes": 51, "errors": 0, "source_hash": "951ddeaaa611bc223d9533d1cf49cf7850bc7203dca314f9a9c9b9746eeb367c", "categorized_nodes": 39}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
80,322
c
/* * sha1_ut.c * * Author: Lirui.Liu * <EMAIL> * */ #include "ut.h" #include "sha1.h" void do_sha1(void) { SHA1_CTX ctx; char *data = "abc"; char hash[20]; uint32_t len = strlen(data); SHA1Init(&ctx); SHA1Update(&ctx, (unsigned char*)data, len); SHA1Final((...
18.18
22
(translation_unit) "/* \n * sha1_ut.c \n * \n * Author: Lirui.Liu \n * <EMAIL> \n * \n */ \n#include "ut.h" \n#include "sha1.h" \n \n \nvoid do_sha1(void) \n{ \n SHA1_CTX ctx; \n char *data = "abc"; \n char hash[20]; \n uint32_t len = strlen(data); \n SHA1Init(&ctx); \n SHA1Update(&ctx, (unsig...
149
0
{"language": "c", "success": true, "metadata": {"lines": 22, "avg_line_length": 18.18, "nodes": 87, "errors": 0, "source_hash": "eb8c55642c0d4c022d007380479b1639fdbbb906793c98f658221be5b55e3184", "categorized_nodes": 52}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
80,323
c
/* * Copyright 2012 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contributing ...
37.07
101
(translation_unit) "/*\n * Copyright 2012 The WebRTC project authors. All Rights Reserved.\n *\n * Use of this source code is governed by a BSD-style license\n * that can be found in the LICENSE file in the root of the source\n * tree. An additional intellectual property rights grant can be found\n * in the file P...
627
31
{"language": "c", "success": true, "metadata": {"lines": 101, "avg_line_length": 37.07, "nodes": 379, "errors": 0, "source_hash": "4057bd3c4c6944c75129a2df38de1b6332340154f06c85dbc752f5a27e7d7f03", "categorized_nodes": 252}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
80,324
c
#ifndef HISTOGRAMS_EQUI_HEIGHT_BUCKET_INCLUDED #define HISTOGRAMS_EQUI_HEIGHT_BUCKET_INCLUDED /* Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, ...
41.61
127
(translation_unit) "#ifndef HISTOGRAMS_EQUI_HEIGHT_BUCKET_INCLUDED\n#define HISTOGRAMS_EQUI_HEIGHT_BUCKET_INCLUDED\n\n/* Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.\n\n This program is free software; you can redistribute it and/or modify\n it under the terms of the GNU General Publi...
287
17
{"language": "c", "success": true, "metadata": {"lines": 127, "avg_line_length": 41.61, "nodes": 135, "errors": 0, "source_hash": "0709409911c3e0083c8b98329c61d8e0f489a755af9ac969137365417a8dca50", "categorized_nodes": 98}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
80,325
c
// // Generated by class-dump 3.5 (64 bit) (Debug version compiled Sep 17 2017 16:24:48). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by <NAME>. // #import <objc/NSObject.h> @interface KSAudioQueueBuff : NSObject { struct AudioQueueBuffer *_audioBuffer; unsigned int _bufferSize; ...
40.6
20
(translation_unit) "//\n// Generated by class-dump 3.5 (64 bit) (Debug version compiled Sep 17 2017 16:24:48).\n//\n// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by <NAME>.\n//\n\n#import <objc/NSObject.h>\n\n@interface KSAudioQueueBuff : NSObject\n{\n struct AudioQueueBuffer *_audioBuffer;\...
177
15
{"language": "c", "success": true, "metadata": {"lines": 20, "avg_line_length": 40.6, "nodes": 118, "errors": 0, "source_hash": "98ee314f56d5dc378d95982e5ac05d8c6a7a141561f5688e08b65755f8f2ba01", "categorized_nodes": 70}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <...
80,326
c
#ifndef MODIO_MEDIA_H #define MODIO_MEDIA_H #include "../../c/schemas/ModioMedia.h" #include "Image.h" #include "../../Globals.h" namespace modio { class Media { public: std::vector<std::string> youtube; std::vector<std::string> sketchfab; std::vector<Image> images; void initialize(ModioMedia m...
19.39
18
(translation_unit) "#ifndef MODIO_MEDIA_H\n#define MODIO_MEDIA_H\n\n#include "../../c/schemas/ModioMedia.h"\n#include "Image.h"\n#include "../../Globals.h"\n\nnamespace modio\n{\n class Media\n {\n public:\n std::vector<std::string> youtube;\n std::vector<std::string> sketchfab;\n std::vector<Image> images;...
115
4
{"language": "c", "success": true, "metadata": {"lines": 18, "avg_line_length": 19.39, "nodes": 68, "errors": 0, "source_hash": "7475ec2c4e0ad0d26a26fdd5cc15a88957692e75b76bbc5a012b8b3d7df87b55", "categorized_nodes": 50}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
80,327
c
// // KnownMetadata.c // Echo // // Created by <NAME> // Copyright © 2019 - 2020 <NAME>. All rights reserved. // #include "include/KnownMetadata.h" // Grab the metadata pointer that's appropriate for Swift. By default, // getting the address of the reference type metadata points to the full // metadata which poin...
34.31
16
(translation_unit) "//\n// KnownMetadata.c\n// Echo\n//\n// Created by <NAME>\n// Copyright © 2019 - 2020 <NAME>. All rights reserved.\n//\n\n#include "include/KnownMetadata.h"\n\n// Grab the metadata pointer that's appropriate for Swift. By default,\n// getting the address of the reference type metadata points to ...
37
0
{"language": "c", "success": true, "metadata": {"lines": 16, "avg_line_length": 34.31, "nodes": 16, "errors": 0, "source_hash": "f049f674de0b66d4848b5e6038006c4853178321a91ee9bb236b94c51b7f3725", "categorized_nodes": 11}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "includ...
80,328
c
/* * Generated by class-dump 3.3.4 (64 bit). * * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by <NAME>. */ #import <IBFoundation/IBICMultipartImageRepSlotComponent.h> @interface IBICExtent : IBICMultipartImageRepSlotComponent { int _extentValue; } + (id)itemWithIdentifier:(id)arg1 fil...
40.94
17
(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 <IBFoundation/IBICMultipartImageRepSlotComponent.h>\n\n@interface IBICExtent : IBICMultipartImageRepSlotComponent\n{\n int _extentValue;\n}\n\n+ (i...
173
14
{"language": "c", "success": true, "metadata": {"lines": 17, "avg_line_length": 40.94, "nodes": 99, "errors": 0, "source_hash": "0a6c0af1be1254489b7c88124cc3b6faa9e37c018ff7bdb011a4aa3f2d9b6953", "categorized_nodes": 65}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <...
80,329
c
#ifndef __CLIENT_INTERFACE__ #define __CLIENT_INTERFACE__ #include <Addons/scriptarray.h> #include <Defines.Public.h> #include <Item.h> #include <Types.h> #define TB_DEBUG "Debug" #define TI_FPS "00:FPS" #define TI_SCREENS "01:Engine" #define TI_SCREENZ "02:PGUI" #define TI_COORD "03:Coords" #d...
29.03
86
(translation_unit) "#ifndef __CLIENT_INTERFACE__\n#define __CLIENT_INTERFACE__\n\n#include <Addons/scriptarray.h>\n#include <Defines.Public.h>\n#include <Item.h>\n#include <Types.h>\n\n#define TB_DEBUG "Debug"\n#define TI_FPS "00:FPS"\n#define TI_SCREENS "01:Engine"\n#define TI_SCREENZ "02:PGUI"\n#def...
545
20
{"language": "c", "success": true, "metadata": {"lines": 86, "avg_line_length": 29.03, "nodes": 344, "errors": 0, "source_hash": "2effb0ead3670ddabf12dc87ee06141889d7467842ae1884549a527c2c8cda65", "categorized_nodes": 215}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
80,330
c
#ifndef INFORMATION_PANEL_H #define INFORMATION_PANEL_H #include "PanelForm.h" #include "Settings.h" #include "DrawUtil.h" class CInformationPanel : public CPanelForm::CPage, public CSettingsBase { public: class ABSTRACT_CLASS(CEventHandler) { public: virtual ~CEventHandler() {} virtual bool OnProgramInfoUpda...
30.66
113
(translation_unit) "#ifndef INFORMATION_PANEL_H\n#define INFORMATION_PANEL_H\n\n\n#include "PanelForm.h"\n#include "Settings.h"\n#include "DrawUtil.h"\n\n\nclass CInformationPanel : public CPanelForm::CPage, public CSettingsBase\n{\npublic:\n class ABSTRACT_CLASS(CEventHandler) {\n public:\n virtual ~CEventHandler() {...
899
30
{"language": "c", "success": true, "metadata": {"lines": 113, "avg_line_length": 30.66, "nodes": 586, "errors": 0, "source_hash": "1523589d9619a7a02a6f45fe7f3164a1c89114a33f6f952393839911ac6ff5ac", "categorized_nodes": 426}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
80,331
c
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. #pragma once #include <v8.h> namespace napa { namespace v8_extensions { /// <summary> /// 1. ExternalizedContents holds the externalized memory of a SharedArrayBuffer once it is serialized. /// 2. Only 1 ins...
41.42
26
(translation_unit) "// Copyright (c) Microsoft Corporation. All rights reserved.\n// Licensed under the MIT license.\n\n#pragma once\n\n#include <v8.h>\n\nnamespace napa {\nnamespace v8_extensions {\n\n /// <summary> \n /// 1. ExternalizedContents holds the externalized memory of a SharedArrayBuffer once it is se...
142
5
{"language": "c", "success": true, "metadata": {"lines": 26, "avg_line_length": 41.42, "nodes": 74, "errors": 0, "source_hash": "9472b423e8be837010c394bb36093c75018954eb01391a5a080224f8b5a2a928", "categorized_nodes": 51}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
80,332
c
#ifndef TOKEN_H #define TOKEN_H class Token { public: enum class Type { Error, Digit, Add, Substract, Multiply, Divide, Modulo, Sqrt, Power, LeftBracket, RightBracket, Comma }; protected: Type m_type; std...
18.16
37
(translation_unit) "#ifndef TOKEN_H\n#define TOKEN_H\n\nclass Token\n{\npublic:\n\n enum class Type\n {\n Error,\n Digit,\n Add,\n Substract,\n Multiply,\n Divide,\n Modulo,\n Sqrt,\n Power,\n LeftBracket,\n RightBracket,\n Comma\n ...
214
13
{"language": "c", "success": true, "metadata": {"lines": 37, "avg_line_length": 18.16, "nodes": 114, "errors": 0, "source_hash": "4cdd0939b93739bb11221caf709574d1d41e8f37c8d96d04257bc75ff3bfa5e4", "categorized_nodes": 80}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "#ifndef TOKEN_H...
80,333
c
#ifndef PLANARCELLOBSERVATION_H #define PLANARCELLOBSERVATION_H class PlanarCellObservation { public: PlanarCellObservation() : o_(false), inverse_sensor_model_(0.0) { } PlanarCellObservation(bool o, double ism) : o_(o), inverse_sensor_model_(ism) { } bool getObservation()...
20.71
24
(translation_unit) "#ifndef PLANARCELLOBSERVATION_H\n#define PLANARCELLOBSERVATION_H\n\nclass PlanarCellObservation\n{\npublic:\n PlanarCellObservation()\n : o_(false), inverse_sensor_model_(0.0)\n {\n }\n\n PlanarCellObservation(bool o, double ism)\n : o_(o), inverse_sensor_model_(ism)\n {...
118
5
{"language": "c", "success": true, "metadata": {"lines": 24, "avg_line_length": 20.71, "nodes": 62, "errors": 0, "source_hash": "078c0aff9a289d64168fe68d96b47ccea2e4fb1166ecd6490803f932e0a3d7c3", "categorized_nodes": 40}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
80,334
c
#include "stdio.h" /** * 本示例展示了指针的运算特性 * 当 + 1时表示是指针当前地址 + 指针类型的位数(sizeof(int)) */ int main(int argc, char const *argv[]) { int foo; int *p = &foo; printf("p : %p \n", p); p++; printf("p : %p \n", p); printf("p : %p \n", p + 3); return 0; }
17.2
15
(translation_unit) "#include "stdio.h"\n\n/**\n * 本示例展示了指针的运算特性\n * 当 + 1时表示是指针当前地址 + 指针类型的位数(sizeof(int))\n */\nint main(int argc, char const *argv[])\n{\n int foo;\n int *p = &foo;\n\n printf("p : %p \n", p);\n\n p++;\n\n printf("p : %p \n", p);\n printf("p : %p \n", p + 3);\n\n return 0;\n}\n" ...
101
0
{"language": "c", "success": true, "metadata": {"lines": 15, "avg_line_length": 17.2, "nodes": 56, "errors": 0, "source_hash": "e0e68685174c4aef8caf72782abeafb55a20a74f53345aa9f9e33edc81307d20", "categorized_nodes": 35}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#includ...
80,335
c
#include "extension.h" void _PG_init(void) { elog(DEBUG1, "loading DemoPGExtension extension...."); _guc_init(); } PG_FUNCTION_INFO_V1(get_welcome_message); Datum get_welcome_message(PG_FUNCTION_ARGS) { elog(DEBUG1, "Triggered get_welcome_message func"); int32 arg = PG_GETARG_INT32(0); int sprintf_output_co...
26.86
37
(translation_unit) "#include "extension.h"\n\nvoid\n_PG_init(void) {\n elog(DEBUG1, "loading DemoPGExtension extension....");\n \n _guc_init();\n}\n\nPG_FUNCTION_INFO_V1(get_welcome_message);\n\nDatum\nget_welcome_message(PG_FUNCTION_ARGS) {\n elog(DEBUG1, "Triggered get_welcome_message func");\n \n int32 arg = PG_GETA...
300
0
{"language": "c", "success": true, "metadata": {"lines": 37, "avg_line_length": 26.86, "nodes": 165, "errors": 0, "source_hash": "a79278df2aa5abdee20a398ecdfe6a60c7f845891bb34cd9b430eafbe0386861", "categorized_nodes": 116}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
80,336
c
#pragma once #include <utility> namespace Testing { namespace Allocator { namespace Construct { template<typename Type, typename ... Args> constexpr static void InPlace(Type& Obj, Args&& ... args) { new(&Obj) Type{ std::forward<Args>(args)... }; } } template<typename Type> constexpr static vo...
18.58
19
(translation_unit) "#pragma once\n#include <utility>\n\nnamespace Testing\n{\n namespace Allocator\n {\n namespace Construct\n {\n template<typename Type, typename ... Args>\n constexpr static void InPlace(Type& Obj, Args&& ... args) {\n new(&Obj) Type{ std::forward<Args>(args)... };\n }\n }\n\n template<t...
139
10
{"language": "c", "success": true, "metadata": {"lines": 19, "avg_line_length": 18.58, "nodes": 82, "errors": 0, "source_hash": "66732a1ccf7defa2292d17df7cdfcbf50b4d99b1efa4ea32b4fe00d2f1354b30", "categorized_nodes": 58}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
80,337
c
// File Name: BST.h // Programmer: <NAME> // Date: 10/17/2017 #ifndef BST_H #define BST_H #include "List.h" #define BUFFER 50 template <class T> class element { public: element(int ranking, node<T> * ptr) : ranking(ranking), ptrToNode(ptr), order(0) {}; node<T> * getNode() {return ptrToNode;}; int get...
21.22
180
(translation_unit) "// File Name: BST.h \n// Programmer: <NAME> \n// Date: 10/17/2017 \n#ifndef BST_H \n#define BST_H \n \n#include "List.h" \n#define BUFFER 50 \ntemplate <class T> \nclass element \n{ \npublic: \n element(int ranking, node<T> * ptr) : ranking(ranking), ptrToNode(ptr), order(0) {}; \n node<T> * getNode...
1,753
42
{"language": "c", "success": true, "metadata": {"lines": 180, "avg_line_length": 21.22, "nodes": 1090, "errors": 0, "source_hash": "6fe3a7f521f0e25758ec86be75f088c22461994c7fb2e218035f4a6cd9c2d549", "categorized_nodes": 712}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifn...
80,338
c
/* Copyright (c) Members of the EGEE Collaboration. 2004. See http://www.eu-egee.org/partners/ for details on the copyright holders. 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.a...
33
37
(translation_unit) "/*\nCopyright (c) Members of the EGEE Collaboration. 2004.\nSee http://www.eu-egee.org/partners/ for details on the\ncopyright holders.\n\nLicensed under the Apache License, Version 2.0 (the "License");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the L...
136
4
{"language": "c", "success": true, "metadata": {"lines": 37, "avg_line_length": 33.0, "nodes": 76, "errors": 0, "source_hash": "db54d344685907bd07797a5156e159ed2c602fe2909e609afb08fe4845e764f2", "categorized_nodes": 59}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef G...
80,339
c
#ifndef _ASM_IRQ_H #define _ASM_IRQ_H /* * linux/include/asm/irq.h * * (C) 1992, 1993 <NAME>, (C) 1997 <NAME> * * IRQ/IPI changes taken from work by <NAME> * <<EMAIL>> */ #define TIMER_IRQ 0 /* * 16 8259A IRQ's, 208 potential APIC interrupt sources. * Right now the APIC is mostly only used for SMP. * 256 v...
27.28
29
(translation_unit) "#ifndef _ASM_IRQ_H\n#define _ASM_IRQ_H\n\n/*\n * linux/include/asm/irq.h\n *\n * (C) 1992, 1993 <NAME>, (C) 1997 <NAME>\n *\n * IRQ/IPI changes taken from work by <NAME>\n * <<EMAIL>>\n */\n\n#define TIMER_IRQ 0\n\n/*\n * 16 8259A IRQ's, 208 potential APIC interrupt sources.\n * Right now the APIC i...
96
0
{"language": "c", "success": true, "metadata": {"lines": 29, "avg_line_length": 27.28, "nodes": 69, "errors": 0, "source_hash": "0b39d5f2882171ad65d663014bfbfebd71e905a9adeaf0df13964e9461ff3cd4", "categorized_nodes": 40}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
80,340
c
#pragma once #include "LibLsp/JsonRpc/RequestInMessage.h" #include "LibLsp/JsonRpc/lsResponseMessage.h" #include <LibLsp/lsp/lsCodeAction.h> #include "LibLsp/lsp/CodeActionParams.h" struct LspVariableBinding { std::string bindingKey; std::string name; std::string type; bool isField; void swap(LspVariableBindin...
34.5
28
(translation_unit) "#pragma once\n\n#include "LibLsp/JsonRpc/RequestInMessage.h"\n#include "LibLsp/JsonRpc/lsResponseMessage.h"\n\n#include <LibLsp/lsp/lsCodeAction.h>\n\n#include "LibLsp/lsp/CodeActionParams.h"\n\nstruct LspVariableBinding {\n std::string bindingKey;\n std::string name;\n std::string type;\n bool isFi...
248
18
{"language": "c", "success": true, "metadata": {"lines": 28, "avg_line_length": 34.5, "nodes": 139, "errors": 0, "source_hash": "95b2aefd591f8f8bd52d8284a1e1f5f9d3a275fc1a2bdc3dc295238d09eacbb1", "categorized_nodes": 114}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma ...
80,341
c
/* * Copyright 2013 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
39.1
105
(translation_unit) "/*\n * Copyright 2013 The Android Open Source Project\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n...
821
31
{"language": "c", "success": true, "metadata": {"lines": 105, "avg_line_length": 39.1, "nodes": 557, "errors": 0, "source_hash": "a320bae3c91b9567bc03fae886861caf3fa08fe72f8e874d79810913ab453706", "categorized_nodes": 372}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
80,342
c
// // Tempo.h // VexFlow // // Created by <NAME> on 1/1/15. // Copyright (c) 2015 <EMAIL>. All rights reserved. // @import Foundation; #import "IAModelBase.h" /** The `Tempo` class wraps tempo data for displaying to the staff The following demonstrates some basic usage of this class. ExampleCode */ @interfac...
32.92
24
(translation_unit) "//\n// Tempo.h\n// VexFlow\n//\n// Created by <NAME> on 1/1/15.\n// Copyright (c) 2015 <EMAIL>. All rights reserved.\n//\n\n@import Foundation;\n#import "IAModelBase.h"\n\n/** The `Tempo` class wraps tempo data for displaying to the staff\n\n The following demonstrates some basic usage of this c...
100
15
{"language": "c", "success": true, "metadata": {"lines": 24, "avg_line_length": 32.92, "nodes": 61, "errors": 0, "source_hash": "e3b2d18a68dab569a05c7331773e4a127a6c72893d9c391b8d1b817ce148d875", "categorized_nodes": 34}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "@", "parent": nu...
80,343
c
/* * squareball: A general-purpose library for C99. * Copyright (C) 2014-2018 <NAME> <<EMAIL>> * * This program can be distributed under the terms of the BSD License. * See the file LICENSE. */ #include <stdlib.h> #include <stdio.h> #include <squareball.h> int main(int argc, char **argv) { if (argc != 2) {...
28.49
51
(translation_unit) "/*\n * squareball: A general-purpose library for C99.\n * Copyright (C) 2014-2018 <NAME> <<EMAIL>>\n *\n * This program can be distributed under the terms of the BSD License.\n * See the file LICENSE.\n */\n\n#include <stdlib.h>\n#include <stdio.h>\n#include <squareball.h>\n\n\nint\nmain(int argc, c...
453
0
{"language": "c", "success": true, "metadata": {"lines": 51, "avg_line_length": 28.49, "nodes": 264, "errors": 0, "source_hash": "ef0d0ad33d673ba021b2bb99fab107fd6069ed27ddb2716463b70f5fbf882514", "categorized_nodes": 168}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
80,344
c
/* * Copyright (c) 2006 <NAME> * Copyright (c) 2006 <NAME> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * - Redistributions of source code must retain the above copyright * noti...
26.22
260
(translation_unit) "/*\n * Copyright (c) 2006 <NAME>\n * Copyright (c) 2006 <NAME>\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 must retain ...
1,187
0
{"language": "c", "success": true, "metadata": {"lines": 260, "avg_line_length": 26.22, "nodes": 743, "errors": 0, "source_hash": "ccf5829a7b0bc73988bb5a0f14460ba0845a8c20a06b3f8a90cee821c6521fca", "categorized_nodes": 554}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
80,345
c
/* Up to 20% marks will be allotted for good programming practice. These include - Comments: for non-trivial code - Indentation: align your code properly - Function use and modular programming - Do not include anything in the header other than what is already given in the template. - You are required to alloca...
35.38
120
(translation_unit) "/*\nUp to 20% marks will be allotted for good programming practice. These include \n - Comments: for non-trivial code \n - Indentation: align your code properly \n - Function use and modular programming \n - Do not include anything in the header other than what is already given in the template.\n - ...
785
0
{"language": "c", "success": true, "metadata": {"lines": 120, "avg_line_length": 35.38, "nodes": 476, "errors": 0, "source_hash": "1f6bd91145e1bc2d9d0d09515dd42718f8c5be364c39751f12f2a3d2fb08d39a", "categorized_nodes": 320}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
80,346
c
/* * This file is part of FFmpeg. * * FFmpeg is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * FFmpeg is distributed...
33.51
37
(translation_unit) "/*\n * This file is part of FFmpeg.\n *\n * FFmpeg is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any later version.\n...
169
0
{"language": "c", "success": true, "metadata": {"lines": 37, "avg_line_length": 33.51, "nodes": 105, "errors": 0, "source_hash": "df2f71c2010f1bc9b523ad7b39ba47589f8304ac24ed445bcaafe5fd8738e215", "categorized_nodes": 76}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
80,347
c
void main() { int a = 0; int b = 0; int x = 0; int y = 0; while(x<10) { x++; y++; if(x==y) a = x; if(x==a) b = a; //here transitivity of equalities is needed } assert(x==b); }
12.87
15
(translation_unit) "void main()\n{\n int a = 0;\n int b = 0;\n int x = 0;\n int y = 0;\n while(x<10)\n {\n x++;\n y++;\n if(x==y) a = x;\n if(x==a) b = a; //here transitivity of equalities is needed\n }\n assert(x==b);\n}\n" (function_definition) "void main()\n{\n int a = 0;\n int b = 0;\n int ...
103
0
{"language": "c", "success": true, "metadata": {"lines": 15, "avg_line_length": 12.87, "nodes": 68, "errors": 0, "source_hash": "976e717221f94ca6d6113e232ae69b13a9ac2f5606f0d788cf5080cb7c5e07bb", "categorized_nodes": 45}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "function_definition", "text": "vo...
80,348
c
// // FBSUtil.h // serrano // // Created by <NAME> on 7/5/17. // Copyright © 2017 <NAME>. All rights reserved. // #ifndef FBSUtil_h #define FBSUtil_h #include <stdio.h> #include <errno.h> #include "SerranoSchema_reader.h" #include "flatbuffers_common_reader.h" char* FBSUtil_readFlatBuffer(const char* file_path);...
31.62
21
(translation_unit) "//\n// FBSUtil.h\n// serrano\n//\n// Created by <NAME> on 7/5/17.\n// Copyright © 2017 <NAME>. All rights reserved.\n//\n\n#ifndef FBSUtil_h\n#define FBSUtil_h\n\n#include <stdio.h>\n#include <errno.h>\n#include "SerranoSchema_reader.h"\n#include "flatbuffers_common_reader.h"\n\nchar* FBSUtil_re...
144
0
{"language": "c", "success": true, "metadata": {"lines": 21, "avg_line_length": 31.62, "nodes": 101, "errors": 0, "source_hash": "38cc10ac09e54106af6e1291273d53120da50570c3d3afb880ac8cd0313f275c", "categorized_nodes": 61}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "ifndef ...
80,349
c
// // Created by <NAME> on 10/27/21. // #ifndef WORD_SEARCH_SRC_TRIE_TRIE_H_ #define WORD_SEARCH_SRC_TRIE_TRIE_H_ #include <array> #include <memory> #include <string> enum class SearchResult { kFound, kPrefix, kNonexistent }; class Trie { static constexpr std::size_t num_buckets = 26; public: struct Node { ...
36.94
34
(translation_unit) "//\n// Created by <NAME> on 10/27/21.\n//\n\n#ifndef WORD_SEARCH_SRC_TRIE_TRIE_H_\n#define WORD_SEARCH_SRC_TRIE_TRIE_H_\n\n#include <array>\n#include <memory>\n#include <string>\n\nenum class SearchResult { kFound, kPrefix, kNonexistent };\n\nclass Trie {\n static constexpr std::size_t num_buckets ...
407
32
{"language": "c", "success": true, "metadata": {"lines": 34, "avg_line_length": 36.94, "nodes": 250, "errors": 0, "source_hash": "854dbf8a217a8ba51c6458363ae013b53013bb2f4be4c65a4555c2a9b04effd0", "categorized_nodes": 153}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "#ifndef WORD_S...
80,350
c
extern zend_class_entry *zendframework_xmlrpc_exception_runtimeexception_ce; ZEPHIR_INIT_CLASS(ZendFramework_XmlRpc_Exception_RuntimeException);
71.5
2
(translation_unit) "extern zend_class_entry *zendframework_xmlrpc_exception_runtimeexception_ce;\n\nZEPHIR_INIT_CLASS(ZendFramework_XmlRpc_Exception_RuntimeException);\n\n" (declaration) "extern zend_class_entry *zendframework_xmlrpc_exception_runtimeexception_ce;" (storage_class_specifier) "extern" (extern...
17
0
{"language": "c", "success": true, "metadata": {"lines": 2, "avg_line_length": 71.5, "nodes": 11, "errors": 0, "source_hash": "96c9175e2aff5743504067e87e823259dd4d5c8cded951a7924d93ad11fe77c9", "categorized_nodes": 7}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "declaration", "text": "extern zend_c...
80,351
c
/* * Copyright 2009-2017 Alibaba Cloud All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required...
34
62
(translation_unit) "/*\n * Copyright 2009-2017 Alibaba Cloud All rights reserved.\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...
358
23
{"language": "c", "success": true, "metadata": {"lines": 62, "avg_line_length": 34.0, "nodes": 205, "errors": 0, "source_hash": "6187560bfd44654d694eaf1a4376176f03a41b3489d04512a8db16bf41e5c3fd", "categorized_nodes": 146}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
80,352
c
#pragma once #include "HAL/Platform.h" #if PLATFORM_WINDOWS #include "IPingThread.h" class WinPingThread : public IPingThread { public: WinPingThread(FString const & host, UPingIP * pingOp) : IPingThread(host, pingOp) {} // FRunnable interface virtual bool Init() override; virtual uint32 Run() override; virtu...
25.07
15
(translation_unit) "#pragma once\n\n#include "HAL/Platform.h"\n\n#if PLATFORM_WINDOWS\n\n#include "IPingThread.h"\n\nclass WinPingThread : public IPingThread\n{\npublic:\n WinPingThread(FString const & host, UPingIP * pingOp) : IPingThread(host, pingOp) {}\n\n // FRunnable interface\n virtual bool Init() override;\n vi...
110
6
{"language": "c", "success": true, "metadata": {"lines": 15, "avg_line_length": 25.07, "nodes": 67, "errors": 0, "source_hash": "6d05b4a55730cbb6b69f277ec8f1c03f94bbe7e968536995e82268f4d3c9e271", "categorized_nodes": 48}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
80,353
c
#pragma once // // FILE: Complex.h // AUTHOR: <NAME> // VERSION: 0.2.2 // PURPOSE: Arduino library for Complex math // URL: https://github.com/RobTillaart/Complex // http://arduino.cc/playground/Main/ComplexMath // #include "Arduino.h" #include "Printable.h" #define COMPLEX_LIB_VERSION "0.2.2" class...
28.8
79
(translation_unit) "#pragma once\n//\n// FILE: Complex.h\n// AUTHOR: <NAME>\n// VERSION: 0.2.2\n// PURPOSE: Arduino library for Complex math\n// URL: https://github.com/RobTillaart/Complex\n// http://arduino.cc/playground/Main/ComplexMath\n//\n\n#include "Arduino.h"\n#include "Printable.h"\n\n#define C...
836
34
{"language": "c", "success": true, "metadata": {"lines": 79, "avg_line_length": 28.8, "nodes": 461, "errors": 0, "source_hash": "4bc1808de7701a7be515d96436743a3d07a26842fc0a4628d7e1bd8c294c4642", "categorized_nodes": 334}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma ...
80,354
c
/* this file is part of srm http://srm.sourceforge.net/ It is licensed under the MIT/X11 license */ void fill(unsigned char *dst, unsigned dst_len, const unsigned char *src, const unsigned src_len) { unsigned i = 0; while(dst_len > 0) { *dst++ = src[i]; if (++i == src_len) { i = 0; } --dst...
24.46
13
(translation_unit) "/* this file is part of srm http://srm.sourceforge.net/\n It is licensed under the MIT/X11 license */\n\nvoid fill(unsigned char *dst, unsigned dst_len, const unsigned char *src, const unsigned src_len)\n{\n unsigned i = 0;\n while(dst_len > 0) {\n *dst++ = src[i];\n if (++i == src_len) {\...
100
0
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 24.46, "nodes": 65, "errors": 0, "source_hash": "884ca220bbc2a13d6aced5bac1badbe548722ab33dacf941c7dfd54eb3dc4316", "categorized_nodes": 42}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "function_definition", "text": "vo...
80,355
c
/* * Program: Operating-system dependent routines -- Secure Linux version * * Author: <NAME> * Networks and Distributed Computing * Computing & Communications * University of Washington * Administration Building, AG-44 * Seattle, WA 98195 * Internet: <EMAIL> * * Date: 1 August 1993 * Last Edited: 20 ...
23.74
46
(translation_unit) "/*\n * Program: Operating-system dependent routines -- Secure Linux version\n *\n * Author: <NAME>\n * Networks and Distributed Computing\n * Computing & Communications\n * University of Washington\n * Administration Building, AG-44\n * Seattle, WA 98195\n * Internet: <EMAIL>\n *\n * Date: 1 ...
119
0
{"language": "c", "success": true, "metadata": {"lines": 46, "avg_line_length": 23.74, "nodes": 78, "errors": 0, "source_hash": "68c914f659414f48d51d1700c133f0c03c218e4a7844191b445bfe183ac90bd5", "categorized_nodes": 73}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
80,356
c
/* * Generated by ./misc/optlib2c from optlib/gdbinit.ctags, Don't edit this manually. */ #include "general.h" #include "parse.h" #include "routines.h" #include "field.h" #include "xtag.h" static void initializeGdbinitParser (const langType language CTAGS_ATTR_UNUSED) { } extern parserDefinition* GdbinitParser (vo...
25.51
65
(translation_unit) "/*\n * Generated by ./misc/optlib2c from optlib/gdbinit.ctags, Don't edit this manually.\n */\n#include "general.h"\n#include "parse.h"\n#include "routines.h"\n#include "field.h"\n#include "xtag.h"\n\n\nstatic void initializeGdbinitParser (const langType language CTAGS_ATTR_UNUSED)\n{\n}\n\nextern p...
519
1
{"language": "c", "success": true, "metadata": {"lines": 65, "avg_line_length": 25.51, "nodes": 236, "errors": 0, "source_hash": "cc0eb6eccb03dc77d78db0420bf764cbe0e596c0de71249bebdac6b918c9055c", "categorized_nodes": 121}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
80,357
c
#include <stdio.h> #include "stm32h7xx_ll_usart.h" #define DBG_UART UART4 // GNUC libc output/input function redirection #if defined (__GNUC__) void dbg_output_setup(void) { // setup stdin and stdout unbufferd setvbuf(stdin, NULL, _IONBF, 0); setvbuf(stdout, NULL, _IONBF, 0); } int ...
19.5
48
(translation_unit) "#include <stdio.h> \n#include "stm32h7xx_ll_usart.h" \n \n#define DBG_UART UART4 \n \n// GNUC libc output/input function redirection \n#if defined (__GNUC__) \nvoid dbg_output_setup(void) \n{ \n // setup stdin and stdout unbufferd \n setvbuf(stdin, NULL, _IONBF, 0); \n setvbuf(stdou...
300
0
{"language": "c", "success": true, "metadata": {"lines": 48, "avg_line_length": 19.5, "nodes": 182, "errors": 0, "source_hash": "ab3bc0c78536a17498766f84b544a1a567362ee09f7d69d45ba24115952b759c", "categorized_nodes": 116}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
80,358
c
// // ViewController.h // WTTextView // // Created by macmini on 2018/3/27. // Copyright © 2018年 org.objc.yandere. All rights reserved. // #import <UIKit/UIKit.h> @interface ViewController : UIViewController @end
18.82
11
(translation_unit) "//\n// ViewController.h\n// WTTextView\n//\n// Created by macmini on 2018/3/27.\n// Copyright © 2018年 org.objc.yandere. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface ViewController : UIViewController\n\n\n@end\n\n" (comment) "//" (comment) "// ViewController.h" (commen...
22
4
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 18.82, "nodes": 12, "errors": 0, "source_hash": "7b778a477bef17e085c9deeb2dd5bae648c2f7e8fb828b5fa200715ded54954c", "categorized_nodes": 6}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "port <UIKi...
80,359
c
/* $FreeBSD: head/sys/dev/drm2/radeon/r600_cp.h 254885 2013-08-25 19:37:15Z dumbbell $ */ #ifndef __R600_CP_H__ #define __R600_CP_H__ void r600_cs_legacy_get_tiling_conf(struct drm_device *dev, u32 *npipes, u32 *nbanks, u32 *group_size); int r600_cs_legacy(struct drm_device *dev, void *data, struct drm_file *fi...
46.78
9
(translation_unit) "/* $FreeBSD: head/sys/dev/drm2/radeon/r600_cp.h 254885 2013-08-25 19:37:15Z dumbbell $ */\n\n#ifndef __R600_CP_H__\n#define __R600_CP_H__\n\nvoid r600_cs_legacy_get_tiling_conf(struct drm_device *dev,\n u32 *npipes, u32 *nbanks, u32 *group_size);\n\nint r600_cs_legacy(struct drm_device *dev, voi...
99
0
{"language": "c", "success": true, "metadata": {"lines": 9, "avg_line_length": 46.78, "nodes": 79, "errors": 0, "source_hash": "96306036409e395245d06c17ab590224c311400a0034b38841691a15f220eef7", "categorized_nodes": 49}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef _...
80,360
c
// // UIControl+AgainTouch.h // CategoryDemo // // Created by MaricleZhang on 2019/3/20. // Copyright © 2019 MaricleZhang. All rights reserved. // /** 防止按钮重复点击 */ #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @interface UIControl (AgainTouch) @property (nonatomic, assign) NSTimeInterval touchInterval; @end ...
23.07
14
(translation_unit) "//\n// UIControl+AgainTouch.h\n// CategoryDemo\n//\n// Created by MaricleZhang on 2019/3/20.\n// Copyright © 2019 MaricleZhang. All rights reserved.\n//\n\n/** 防止按钮重复点击 */\n#import <UIKit/UIKit.h>\n\nNS_ASSUME_NONNULL_BEGIN\n\n@interface UIControl (AgainTouch)\n\n@property (nonatomic, assign) N...
43
9
{"language": "c", "success": true, "metadata": {"lines": 14, "avg_line_length": 23.07, "nodes": 28, "errors": 0, "source_hash": "7293892f4199beea7a7d2c95ea2d22b6dfd201428ddc7a46b5f465f59b2c4b73", "categorized_nodes": 15}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "Kit.h>\n\...
80,361
c
#pragma once #include "common/common.h" #include "tile.h" namespace SCAMP { static constexpr int NUM_EXTRA_OPERANDS = 3; template <typename T> struct SCAMPKernelInputArgs { SCAMPKernelInputArgs(Tile *t, bool transpose, bool ab_join); T *__restrict cov; const T *__restrict dfa; const T *__restrict dfb; con...
26.69
36
(translation_unit) "#pragma once\n\n#include "common/common.h"\n#include "tile.h"\n\nnamespace SCAMP {\n\nstatic constexpr int NUM_EXTRA_OPERANDS = 3;\n\ntemplate <typename T>\nstruct SCAMPKernelInputArgs {\n SCAMPKernelInputArgs(Tile *t, bool transpose, bool ab_join);\n T *__restrict cov;\n const T *__restrict dfa;...
251
4
{"language": "c", "success": true, "metadata": {"lines": 36, "avg_line_length": 26.69, "nodes": 178, "errors": 0, "source_hash": "b915c7ea7a9b724fda0f6148355a1d07e84eeced822ccb8359109fb100e74646", "categorized_nodes": 115}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
80,362
c
/* This file was automatically generated by CasADi. The CasADi copyright holders make no ownership claim of its contents. */ #ifdef __cplusplus extern "C" { #endif /* How to prefix internal symbols */ #ifdef CODEGEN_PREFIX #define NAMESPACE_CONCAT(NS, ID) _NAMESPACE_CONCAT(NS, ID) #define _NAMESPACE_CONCAT(NS, ...
30.24
196
(translation_unit) "/* This file was automatically generated by CasADi.\n The CasADi copyright holders make no ownership claim of its contents. */\n#ifdef __cplusplus\nextern "C" {\n#endif\n\n/* How to prefix internal symbols */\n#ifdef CODEGEN_PREFIX\n #define NAMESPACE_CONCAT(NS, ID) _NAMESPACE_CONCAT(NS, ID)\n #...
2,670
10
{"language": "c", "success": true, "metadata": {"lines": 196, "avg_line_length": 30.24, "nodes": 1643, "errors": 0, "source_hash": "1ea83d093fca89dd0f9d09086b176537142d5cf8a7d79489c76546fde0f3512c", "categorized_nodes": 1288}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#if...
80,363
c
#ifndef __TEST_SDK_PACK_H__ #define __TEST_SDK_PACK_H__ #include <fstream> #include "in_sdk.pb.h" using namespace insider::sdk; void test_sdk_pack(Sdk &msg); #endif // !__TEST_SDK_PACK_H__
26
7
(translation_unit) "#ifndef __TEST_SDK_PACK_H__\n#define __TEST_SDK_PACK_H__\n#include <fstream>\n#include "in_sdk.pb.h"\n\nusing namespace insider::sdk;\nvoid test_sdk_pack(Sdk &msg);\n\n#endif // !__TEST_SDK_PACK_H__" (preproc_ifdef) "#ifndef __TEST_SDK_PACK_H__\n#define __TEST_SDK_PACK_H__\n#include <fstream>\n#in...
43
2
{"language": "c", "success": true, "metadata": {"lines": 7, "avg_line_length": 26.0, "nodes": 27, "errors": 0, "source_hash": "732547f3a224ff159602f6b80bc78b9b717a100980a4b6f7920886ab65a69662", "categorized_nodes": 22}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef __...
80,364
c
//////////////////////////////////////////////////////////////////////////// // // // Project : VideoNet Ver. 1.0. // Description : Video Conferencing over the LAN. // Author : <NAME> ( <EMAIL> ) // Date : 17/12/2005 // // This is the modified version of tmndecode (H.263 decoder) ...
32.04
51
(translation_unit) "//////////////////////////////////////////////////////////////////////////// \n// \n// \n// Project : VideoNet Ver. 1.0. \n// Description : Video Conferencing over the LAN. \n// Author : <NAME> ( <EMAIL> ) \n// Date : 17/12/2005 \n// \n// This is the modified version of...
156
0
{"language": "c", "success": true, "metadata": {"lines": 51, "avg_line_length": 32.04, "nodes": 94, "errors": 0, "source_hash": "f1c68220b09f2c32fdc2cd29cf1a3e8fddce1cef919c92644a6e4ae3ac1a31bf", "categorized_nodes": 62}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_if", "text": "#if !define...
80,365
c
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef IOPRIO_H #define IOPRIO_H #include <linux/sched.h> #include <linux/sched/rt.h> #include <linux/iocontext.h> /* * Gives us 8 prio classes with 13-bits of data for each class */ #define IOPRIO_CLASS_SHIFT (13) #define IOPRIO_PRIO_MASK ((1UL << IOPRIO_CLASS_SHIFT) - 1) #...
27.77
75
(translation_unit) "/* SPDX-License-Identifier: GPL-2.0 */\n#ifndef IOPRIO_H\n#define IOPRIO_H\n\n#include <linux/sched.h>\n#include <linux/sched/rt.h>\n#include <linux/iocontext.h>\n\n/*\n * Gives us 8 prio classes with 13-bits of data for each class\n */\n#define IOPRIO_CLASS_SHIFT (13)\n#define IOPRIO_PRIO_MASK ((1U...
294
0
{"language": "c", "success": true, "metadata": {"lines": 75, "avg_line_length": 27.77, "nodes": 204, "errors": 0, "source_hash": "3d3104992e1d9f6468e51b3998f856a3a54f4835110f0ef92b2bc11941c9ce2a", "categorized_nodes": 136}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
80,366
c
#include "../include/asmc.h" int main(int argc, char** argv){ printf("\t=== ASMC ===\n"); short x=0; char* args[TOTAL_ATTRIBUTES]; while(x++ < TOTAL_ATTRIBUTES) args[x] = "\0"; // Fills with 0 values for(int i = 0; i < argc; i++) args[i] = *(argv + i); //Fills remaining memory attri...
29
15
(translation_unit) "#include "../include/asmc.h" \nint main(int argc, char** argv){ \n printf("\t=== ASMC ===\n"); \n \n short x=0; \n char* args[TOTAL_ATTRIBUTES]; \n \n while(x++ < TOTAL_ATTRIBUTES) args[x] = "\0"; // Fills with 0 values \n for(int i = 0; i < argc; i++) args[i] = *(argv + i); //Fills r...
169
0
{"language": "c", "success": true, "metadata": {"lines": 15, "avg_line_length": 29.0, "nodes": 104, "errors": 0, "source_hash": "bc73ecadb5458599655f973f53ab98153d722ce67e395196f1c707035551189c", "categorized_nodes": 70}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
80,367
c
// Copyright 2017 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 ARC_SETUP_ARC_READ_AHEAD_H_ #define ARC_SETUP_ARC_READ_AHEAD_H_ #include <stddef.h> #include <stdint.h> #include <utility> #include "arc/set...
43.12
25
(translation_unit) "// Copyright 2017 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 ARC_SETUP_ARC_READ_AHEAD_H_\n#define ARC_SETUP_ARC_READ_AHEAD_H_\n\n#include <stddef.h>\n#include <stdint.h>\n\n#includ...
112
4
{"language": "c", "success": true, "metadata": {"lines": 25, "avg_line_length": 43.12, "nodes": 64, "errors": 0, "source_hash": "470e334eb45831d3d9faa6fb371e673d2d741f7807506fad6f7ad26dae624329", "categorized_nodes": 51}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
80,368
c
#ifndef _THROTTLE_H #define _THROTTLE_H typedef struct Throttle Throttle; Throttle *Throttle_New(const char *name); #endif
23.6
5
(translation_unit) "#ifndef _THROTTLE_H\n#define _THROTTLE_H\ntypedef struct Throttle Throttle;\nThrottle *Throttle_New(const char *name);\n#endif\n" (preproc_ifdef) "#ifndef _THROTTLE_H\n#define _THROTTLE_H\ntypedef struct Throttle Throttle;\nThrottle *Throttle_New(const char *name);\n#endif" (#ifndef) "#ifndef"...
32
0
{"language": "c", "success": true, "metadata": {"lines": 5, "avg_line_length": 23.6, "nodes": 25, "errors": 0, "source_hash": "ebc13810a669120ef06d489818fc6ee752f67eda40adb24f3a90619fc67eddfa", "categorized_nodes": 16}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef _T...
80,369
c
// // TJY_BaseViewController.h // TJYFoundation // // Created by wang_wei on 2018/4/9. // Copyright © 2018年 wangwei. All rights reserved. // #import <UIKit/UIKit.h> #import "NavTitleView.h" @interface TJY_BaseViewController : UIViewController { NavTitleView *titleView; } @property(nonatomic,assign) BOOL navTi...
32.29
24
(translation_unit) "//\n// TJY_BaseViewController.h\n// TJYFoundation\n//\n// Created by wang_wei on 2018/4/9.\n// Copyright © 2018年 wangwei. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n#import "NavTitleView.h"\n@interface TJY_BaseViewController : UIViewController\n{\n NavTitleView *titleView;\n}\n@prop...
199
26
{"language": "c", "success": true, "metadata": {"lines": 24, "avg_line_length": 32.29, "nodes": 129, "errors": 0, "source_hash": "b37c708bd15e2e14176dd78727fb48f444cd1b0ba611d6065ee329c798b17419", "categorized_nodes": 68}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "port <UI...
80,370
c
// .NAME vtkGeoReferencedImageReader // By: <NAME> // Uses libtiff and geotiff libraries from http://trac.osgeo.org/geotiff/ // Reads standard .tiff, .jpg and .png files. // Also reads GeoTIFF (with both embedded info and external text files). // Supports .tfw files for any .tiff, .jpg or .png #ifndef __vtkGeoReferen...
39.31
42
(translation_unit) "// .NAME vtkGeoReferencedImageReader \n// By: <NAME>\n// Uses libtiff and geotiff libraries from http://trac.osgeo.org/geotiff/\n// Reads standard .tiff, .jpg and .png files.\n// Also reads GeoTIFF (with both embedded info and external text files).\n// Supports .tfw files for any .tiff, .jpg or .png...
280
5
{"language": "c", "success": true, "metadata": {"lines": 42, "avg_line_length": 39.31, "nodes": 166, "errors": 0, "source_hash": "17b5cbe25345d748695bc877aae882456f035de0540c5d099241dd22a22915f0", "categorized_nodes": 108}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
80,371
c
/* -*- c-basic-offset: 3 -*- * * ENSICAEN * 6 <NAME> * F-14050 Caen Cedex * * This file is owned by ENSICAEN students. * No portion of this document may be reproduced, copied * or revised without written permission of the authors. */ /** * @author Luigi * @version 0.0.1 / 7-10-2017 */ /**...
15.35
43
(translation_unit) "/* -*- c-basic-offset: 3 -*- \n * \n * ENSICAEN \n * 6 <NAME> \n * F-14050 Caen Cedex \n * \n * This file is owned by ENSICAEN students. \n * No portion of this document may be reproduced, copied \n * or revised without written permission of the authors. \n */ \n \n/** \n * @author Luigi \n * @vers...
65
0
{"language": "c", "success": true, "metadata": {"lines": 43, "avg_line_length": 15.35, "nodes": 45, "errors": 0, "source_hash": "309ed33e3e586017d4603f1aeca98ff84b6abf178e9b4d206a26e4b8118ffa4d", "categorized_nodes": 27}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
80,372
c
#include "GraphicRenderer.h" #include "../Cameras/PerspectiveCamera.h" namespace Z_Engine::Rendering::Renderers { class GraphicRenderer3D : public GraphicRenderer { public: void BeginScene(const Ref<Cameras::PerspectiveCamera>& camera) { GraphicRenderer::BeginScene(camera); } void EndScene() override {...
23.2
15
(translation_unit) "#include "GraphicRenderer.h"\n#include "../Cameras/PerspectiveCamera.h"\n\n\nnamespace Z_Engine::Rendering::Renderers {\n\n class GraphicRenderer3D : public GraphicRenderer {\n public:\n\n void BeginScene(const Ref<Cameras::PerspectiveCamera>& camera) {\n GraphicRenderer::BeginScene(camera);\n }...
89
5
{"language": "c", "success": true, "metadata": {"lines": 15, "avg_line_length": 23.2, "nodes": 42, "errors": 0, "source_hash": "b785ed78c1b44c2d71a648c58e92935d6519071e28f599c7218b65f7d38f75cb", "categorized_nodes": 29}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#includ...
80,373
c
#include "pwalign.h" #include <numpy/arrayobject.h> // Docstrings static char module_docstring[] = "C module for pairwise alignment"; static char pwalign_docstring[] = "\ Performs global optimal pairwise alignment of two sequences using Gotoh's \ algorithm"; // pwalign python method declaration static PyObject *pw...
28.8
162
(translation_unit) "#include "pwalign.h"\n\n#include <numpy/arrayobject.h>\n\n\n// Docstrings\nstatic char module_docstring[] = "C module for pairwise alignment";\nstatic char pwalign_docstring[] = "\\nPerforms global optimal pairwise alignment of two sequences using Gotoh's \\nalgorithm";\n\n\n// pwalign python method...
1,170
0
{"language": "c", "success": true, "metadata": {"lines": 162, "avg_line_length": 28.8, "nodes": 709, "errors": 0, "source_hash": "59b7c42fc6dac01b41db48eda0bc439ad98e280a1f66a7c252f72961b8a0edfa", "categorized_nodes": 442}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
80,374
c
#include "argz.c" int readme_percent_suffix(struct argz_ull *ull, const char *s) { return s && s[0] && strcmp(s, "%"); } int main(int argc, char **argv) { struct argz_ull size = { .min = 1, .suffix = argz_size_suffix, }; struct argz_ull time = { .suffix = argz_time_suffix, ...
27.35
34
(translation_unit) "#include "argz.c"\n\nint\nreadme_percent_suffix(struct argz_ull *ull, const char *s)\n{\n return s && s[0] && strcmp(s, "%");\n}\n\nint\nmain(int argc, char **argv)\n{\n struct argz_ull size = {\n .min = 1,\n .suffix = argz_size_suffix,\n };\n struct argz_ull time = {\n ...
337
0
{"language": "c", "success": true, "metadata": {"lines": 34, "avg_line_length": 27.35, "nodes": 193, "errors": 0, "source_hash": "685871c7519823f07d2ea1a254dfb05718c6d49037773d01c633113512687c3d", "categorized_nodes": 133}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
80,375
c
/** * Copyright(c) 2016-2017 rryqszq4 * * */ #ifndef _NGX_PHP_UTHREAD_H_ #define _NGX_PHP_UTHREAD_H_ #include <ngx_config.h> #include <ngx_core.h> #include <ucontext.h> #define PHP_UTHREAD_DEAD 0 #define PHP_UTHREAD_READY 1 #define PHP_UTHREAD_RUNNING 2 #define PHP_UTHREAD_SUSPEND 3 #define PHP_UTHREAD...
29.74
34
(translation_unit) "/**\n * Copyright(c) 2016-2017 rryqszq4\n *\n *\n */\n\n#ifndef _NGX_PHP_UTHREAD_H_\n#define _NGX_PHP_UTHREAD_H_\n\n#include <ngx_config.h>\n#include <ngx_core.h>\n\n#include <ucontext.h>\n\n#define PHP_UTHREAD_DEAD 0\n#define PHP_UTHREAD_READY 1\n#define PHP_UTHREAD_RUNNING 2\n#define PHP_U...
177
0
{"language": "c", "success": true, "metadata": {"lines": 34, "avg_line_length": 29.74, "nodes": 142, "errors": 0, "source_hash": "6d7bfcb90f3a32ba3f87e14f40e610ec6b6e13e5078e5e897f2573ee3ceede88", "categorized_nodes": 89}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
80,376
c
#ifndef __RFDUINO_TICK_H__ #define __RFDUINO_TICK_H__ class RFDuinoTick{ public: static void startTick(); static void stopTick(); static void tick(); }; #endif
17.44
9
(translation_unit) "#ifndef __RFDUINO_TICK_H__\n#define __RFDUINO_TICK_H__\n\nclass RFDuinoTick{\npublic:\n static void startTick();\n static void stopTick();\n static void tick();\n};\n\n#endif\n" (preproc_ifdef) "#ifndef __RFDUINO_TICK_H__\n#define __RFDUINO_TICK_H__\n\nclass RFDuinoTick{\npublic:\n static void...
49
0
{"language": "c", "success": true, "metadata": {"lines": 9, "avg_line_length": 17.44, "nodes": 25, "errors": 0, "source_hash": "746488f47603d5c45e46225c33e5bf4de0d92aaf108350da5a5b7fd6d7eee032", "categorized_nodes": 16}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef _...
80,377
c
#include <math.h> // M_PI constant #include <stdio.h> #include <string.h> // strncopy(), strlen() etc // definin a random function void something() { printf("Ok called this function\n"); } // part II float get_pi() { return M_PI; } // loops void the_while() { int counter = 0; while (counter < 5) { pri...
24.43
91
(translation_unit) "#include <math.h> // M_PI constant\n#include <stdio.h>\n#include <string.h> // strncopy(), strlen() etc\n\n// definin a random function\nvoid something()\n{\n printf("Ok called this function\n");\n}\n\n// part II\nfloat get_pi()\n{\n return M_PI;\n}\n\n// loops\nvoid the_while()\n{\n int counter...
582
0
{"language": "c", "success": true, "metadata": {"lines": 91, "avg_line_length": 24.43, "nodes": 307, "errors": 0, "source_hash": "9eb2a34e599d77fab9d6c9d7a5cf7c9cc7861caa77358834c8c8ef7d2c662ecd", "categorized_nodes": 200}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
80,378
c
** /****************************************Copyright (c)**************************************************** ** http://www.onecm.com ** **------------------------------------File Info----------------------------------------------------------*/ /* * @Description: * @version: * @Auth...
36.66
74
(translation_unit) "**\n/****************************************Copyright (c)****************************************************\n** http://www.onecm.com\n**\n**------------------------------------File Info----------------------------------------------------------*/\n/*\n * @Descriptio...
445
1
{"language": "c", "success": true, "metadata": {"lines": 74, "avg_line_length": 36.66, "nodes": 317, "errors": 0, "source_hash": "dca951cb491a7efa0eddb14197d63f30590f15083577e22b31d608754abadda6", "categorized_nodes": 242}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "**", "parent":...
80,379
c
#pragma once ////////////////////////////////////////////////////////////////////////////////////////////////// // // file: shared_materials.h // // Author <NAME> (Neill3d) // // // GitHub page - https://github.com/Neill3d/MoPlugs_Framework // Licensed under BSD 3-Clause - https://github.com/Neill3d/MoPlugs_Framework...
28.35
55
(translation_unit) "#pragma once\n\n//////////////////////////////////////////////////////////////////////////////////////////////////\n//\n// file: shared_materials.h\n//\n// Author <NAME> (Neill3d)\n//\n//\n// GitHub page - https://github.com/Neill3d/MoPlugs_Framework\n// Licensed under BSD 3-Clause - https://github....
238
7
{"language": "c", "success": true, "metadata": {"lines": 55, "avg_line_length": 28.35, "nodes": 130, "errors": 0, "source_hash": "9924f2519e871577f8415da839a8f4417147c59c28fb62501e7010002445538f", "categorized_nodes": 90}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma ...
80,380
c
/* * heynoti * * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved. * * Contact: <NAME> <<EMAIL>>, <NAME> <<EMAIL>>, * <NAME> <<EMAIL>> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obt...
23.25
71
(translation_unit) "/*\n * heynoti\n *\n * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.\n *\n * Contact: <NAME> <<EMAIL>>, <NAME> <<EMAIL>>,\n * <NAME> <<EMAIL>>\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance wit...
402
0
{"language": "c", "success": true, "metadata": {"lines": 71, "avg_line_length": 23.25, "nodes": 230, "errors": 0, "source_hash": "118e609881c314693192c7026f6c1620ed63e8bbd1892c04ff3541d5ccae0442", "categorized_nodes": 157}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
80,381
c
/* itos.c -- Convert integer to string. */ /* Copyright (C) 1998, Free Software Foundation, Inc. This file is part of GNU Bash, the Bourne Again SHell. Bash is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Found...
29.53
60
(translation_unit) "/* itos.c -- Convert integer to string. */\n\n/* Copyright (C) 1998, Free Software Foundation, Inc.\n\n This file is part of GNU Bash, the Bourne Again SHell.\n\n Bash is free software; you can redistribute it and/or modify it under\n the terms of the GNU General Public License as published by...
275
0
{"language": "c", "success": true, "metadata": {"lines": 60, "avg_line_length": 29.53, "nodes": 185, "errors": 0, "source_hash": "e1d6d943c092bb6916d9ac62cd08b44948995fa78f7515b9455be57c3c4180f9", "categorized_nodes": 120}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
80,382
c
/* * Copyright (c) 2011 Atheros Communications Inc. * Copyright (c) 2011-2012 Qualcomm Atheros, 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 cop...
35.13
131
(translation_unit) "/*\n * Copyright (c) 2011 Atheros Communications Inc.\n * Copyright (c) 2011-2012 Qualcomm Atheros, 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 permissio...
1,031
9
{"language": "c", "success": true, "metadata": {"lines": 131, "avg_line_length": 35.13, "nodes": 696, "errors": 0, "source_hash": "6e7a44d070a4b7c04d23c66a65c3cfdaf325cce7d8ffd910488080ebacd86fd7", "categorized_nodes": 468}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
80,383
c
// // judgeNetworkingVC.h // ObjectiveC // // Created by hello on 2019/3/25. // Copyright © 2019 William. All rights reserved. // #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @interface JudgeNetworkingVC : UIViewController @end NS_ASSUME_NONNULL_END
20.42
12
(translation_unit) "//\n// judgeNetworkingVC.h\n// ObjectiveC\n//\n// Created by hello on 2019/3/25.\n// Copyright © 2019 William. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\nNS_ASSUME_NONNULL_BEGIN\n\n@interface JudgeNetworkingVC : UIViewController\n\n@end\n\nNS_ASSUME_NONNULL_END\n" (comment) "//" ...
27
4
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 20.42, "nodes": 14, "errors": 0, "source_hash": "5f90057835c582c87872856b68d84fee00e483c40bd373e58b4e144b66884533", "categorized_nodes": 9}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <UI...
80,384
c
#pragma once #include <gmock/gmock.h> #include <slas/dbus/detail/bus_interface.h> #include <slas/dbus/object.h> namespace mock { namespace dbus { class Bus : public ::dbus::detail::BusInterface { MOCK_METHOD0(Connect, void()); MOCK_METHOD0(Disconnect, void()); MOCK_METHOD1(RequestConnectionName, void(const ...
31.2
20
(translation_unit) "#pragma once\n\n#include <gmock/gmock.h>\n\n#include <slas/dbus/detail/bus_interface.h>\n#include <slas/dbus/object.h>\n\nnamespace mock\n{\n\nnamespace dbus\n{\n\nclass Bus : public ::dbus::detail::BusInterface {\n MOCK_METHOD0(Connect, void());\n MOCK_METHOD0(Disconnect, void());\n\n MOCK_METHO...
193
4
{"language": "c", "success": true, "metadata": {"lines": 20, "avg_line_length": 31.2, "nodes": 103, "errors": 0, "source_hash": "23aaebb7289d35e4b8a486ce247a7ca40d5241a05659892e84c924f647ee04fd", "categorized_nodes": 78}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
80,385
c
/* Generated by RuntimeBrowser. */ @protocol _TtPs15_ShadowProtocol_ @end
17.75
4
(translation_unit) "/* Generated by RuntimeBrowser.\n */\n\n@protocol _TtPs15_ShadowProtocol_\n\n@end\n" (comment) "/* Generated by RuntimeBrowser.\n */" (ERROR) "@protocol _TtPs15_ShadowProtocol_\n\n@end" (ERROR) "@" (type_identifier) "protocol" (identifier) "_TtPs15_ShadowProtocol_" (ERROR) "@" ...
8
3
{"language": "c", "success": true, "metadata": {"lines": 4, "avg_line_length": 17.75, "nodes": 5, "errors": 0, "source_hash": "b6edb70d9d3e6a78d5826a9bf6e09ac652dab640a3a8e91d7b6f2b514d5c4713", "categorized_nodes": 2}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "@protocol _TtPs15_S...
80,386
c
#ifndef _DGDIALOGANIMATOR_H #define _DGDIALOGANIMATOR_H #import <Foundation/Foundation.h> //! Project version number for DGDialogAnimator FOUNDATION_EXPORT double DGDialogAnimatorVersionNumber; //! Project version string for DGDialogAnimator FOUNDATION_EXPORT const unsigned char DGDialogAnimatorVersionString[]; #en...
42.25
8
(translation_unit) "#ifndef _DGDIALOGANIMATOR_H\n#define _DGDIALOGANIMATOR_H\n\n#import <Foundation/Foundation.h>\n\n//! Project version number for DGDialogAnimator\nFOUNDATION_EXPORT double DGDialogAnimatorVersionNumber;\n\n//! Project version string for DGDialogAnimator\nFOUNDATION_EXPORT const unsigned char DGDialog...
33
1
{"language": "c", "success": true, "metadata": {"lines": 8, "avg_line_length": 42.25, "nodes": 22, "errors": 0, "source_hash": "3176cfcbcaa89f1ed32260d783c9d8d72d17a03b41f85304aa4b52ab1bf1f2fd", "categorized_nodes": 15}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef _...
80,387
c
#include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <string.h> #include <errno.h> #include <fcntl.h> #include <sys/socket.h> #include <sys/un.h> #define SV_SOCK_PATH "/tmp/ud_case" #define BUF_SIZE 10 /** * UNIX domain数据报socket服务端 */ int main(int argc, char **argv) { struct sockaddr_un svaddr...
27.72
53
(translation_unit) "#include <stdio.h>\n#include <stdlib.h>\n#include <unistd.h>\n#include <string.h>\n#include <errno.h>\n#include <fcntl.h>\n#include <sys/socket.h>\n#include <sys/un.h>\n\n\n#define SV_SOCK_PATH "/tmp/ud_case"\n#define BUF_SIZE 10\n\n\n/**\n * UNIX domain数据报socket服务端\n */\nint \nmain(int argc, char *...
457
0
{"language": "c", "success": true, "metadata": {"lines": 53, "avg_line_length": 27.72, "nodes": 276, "errors": 0, "source_hash": "6786eb5ce6f0b60da79b2bf1137d38c561d69e792457bb80ee7cca25ab704c52", "categorized_nodes": 200}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
80,388
c
/* SPDX-License-Identifier: BSD-3-Clause */ #include "files.h" #include "log.h" #include "tpm2.h" #include "tpm2_tool.h" #define MAX_SESSIONS 3 typedef struct clear_ctx clear_ctx; struct clear_ctx { /* * Inputs */ struct { const char *ctx_path; const char *auth_str; tpm2_load...
24.3
188
(translation_unit) "/* SPDX-License-Identifier: BSD-3-Clause */\n\n#include "files.h"\n#include "log.h"\n#include "tpm2.h"\n#include "tpm2_tool.h"\n\n#define MAX_SESSIONS 3\ntypedef struct clear_ctx clear_ctx;\nstruct clear_ctx {\n /*\n * Inputs\n */\n struct {\n const char *ctx_path;\n cons...
1,005
0
{"language": "c", "success": true, "metadata": {"lines": 188, "avg_line_length": 24.3, "nodes": 570, "errors": 0, "source_hash": "70c815d4a0c1137b61405a08e4d89a8b11b8e43782d1e7c215972f93d329ed88", "categorized_nodes": 421}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
80,389
c
/* opendatacon * * Copyright (c) 2014: * * DCrip3fJguWgVCLrZFfA7sIGgvx1Ou3fHfCxnrz4svAi * yxeOtDhDCXf1Z4ApgXvX5ahqQmzRfJ2DoX8S05SqHA== * * 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 ...
31.03
38
(translation_unit) "/* opendatacon\n *\n * Copyright (c) 2014:\n *\n * DCrip3fJguWgVCLrZFfA7sIGgvx1Ou3fHfCxnrz4svAi\n * yxeOtDhDCXf1Z4ApgXvX5ahqQmzRfJ2DoX8S05SqHA==\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 ...
97
4
{"language": "c", "success": true, "metadata": {"lines": 38, "avg_line_length": 31.03, "nodes": 59, "errors": 0, "source_hash": "c8a3dca6565e471bca732ebda971eaf82189b0cf4a41cda12bae5b4877b3ce90", "categorized_nodes": 40}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
80,390
c
#include <stdlib.h> #include <stdio.h> #include "dfs.h" #include "elementary/list.h" static int time; static void dfs_print_graph(struct Graph *g){ char buff[0xff]; char color; int i; struct ListObj *it = NULL; printf("time: %d\n", time); for(i = 0; i < g->nodes_size; i++){ switch(((struct DFSNode*)g->nodes[...
22.68
75
(translation_unit) "#include <stdlib.h>\n#include <stdio.h>\n#include "dfs.h"\n#include "elementary/list.h"\n\nstatic int time;\n\nstatic \nvoid dfs_print_graph(struct Graph *g){\n char buff[0xff];\n char color;\n int i;\n struct ListObj *it = NULL;\n printf("time: %d\n", time);\n for(i = 0; i < g->nodes_size; i++){\n ...
850
0
{"language": "c", "success": true, "metadata": {"lines": 75, "avg_line_length": 22.68, "nodes": 533, "errors": 0, "source_hash": "fe39ddb30c7b02ea9c43fb21a65e16db605172f8e236b25d91acfb14d2bbc9a2", "categorized_nodes": 398}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
80,391
c
// // Created by <NAME> on 27/4/21. // #ifndef FILESAVER_LEVELDBFILECATEGORYSTORE_H #define FILESAVER_LEVELDBFILECATEGORYSTORE_H #include <fruit/fruit.h> #include <leveldb/db.h> #include <string> #include <vector> #include "../storage/LevelDbFactory.h" namespace filesaver::services { class FileCategoryStore { publ...
35.64
33
(translation_unit) "//\n// Created by <NAME> on 27/4/21.\n//\n\n#ifndef FILESAVER_LEVELDBFILECATEGORYSTORE_H\n#define FILESAVER_LEVELDBFILECATEGORYSTORE_H\n\n#include <fruit/fruit.h>\n#include <leveldb/db.h>\n#include <string>\n#include <vector>\n\n#include "../storage/LevelDbFactory.h"\n\nnamespace filesaver::services...
308
20
{"language": "c", "success": true, "metadata": {"lines": 33, "avg_line_length": 35.64, "nodes": 182, "errors": 0, "source_hash": "c725349f158dea067d69f2821643657017db1fb49c9ce2b6dab56a87b40d8c2d", "categorized_nodes": 126}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
80,392
c
// // begin license header // // This file is part of Pixy CMUcam5 or "Pixy" for short // // All Pixy source code is provided under the terms of the // GNU General Public License v2 (http://www.gnu.org/licenses/gpl-2.0.html). // Those wishing to use Pixy source code, software and/or // technologies under differ...
21
49
(translation_unit) "// \n// begin license header \n// \n// This file is part of Pixy CMUcam5 or "Pixy" for short \n// \n// All Pixy source code is provided under the terms of the \n// GNU General Public License v2 (http://www.gnu.org/licenses/gpl-2.0.html). \n// Those wishing to use Pixy source code, software and/or \n...
160
2
{"language": "c", "success": true, "metadata": {"lines": 49, "avg_line_length": 21.0, "nodes": 101, "errors": 0, "source_hash": "e791310b8bf5b28687be084b25916f7d5cfaca89c2ea751c821908284b49695d", "categorized_nodes": 60}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
80,393
c
// // Header.h // AnyBox // // Created by Kara on 2019/3/27. // #import <UIKit/UIKit.h> /* NetUtils SocketManageUtils caller 参数排序问题没有处理 ImagePicker block blockkit 丰富一下 http://www.cocoachina.com/ios/20170725/20001.html 有时间完善黑魔法 字典赋值 nil 已经解决 数组越界 TODO 数组越界 */ #import "ABConfig.h" #import "ABModel...
17.37
19
(translation_unit) "//\n// Header.h\n// AnyBox\n//\n// Created by Kara on 2019/3/27.\n//\n#import <UIKit/UIKit.h>\n\n/*\n NetUtils SocketManageUtils caller 参数排序问题没有处理\n ImagePicker block\n blockkit 丰富一下\n \n http://www.cocoachina.com/ios/20170725/20001.html\n 有时间完善黑魔法 字典赋值 nil 已经解决 数组越界\n TODO 数组越界\n */\n\n...
20
0
{"language": "c", "success": true, "metadata": {"lines": 19, "avg_line_length": 17.37, "nodes": 12, "errors": 0, "source_hash": "2f0f60b503ba6706b476ff3a94257511ac2e42ca42c358b5e3b3e0d9c3b7b980", "categorized_nodes": 4}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <U...
80,394
c
/*---------------------------------------------------------------------------------------------------------*/ /* */ /* Copyright (c) Nuvoton Technology Corp. All rights reserved. ...
36.98
223
(translation_unit) "/*---------------------------------------------------------------------------------------------------------*/\n/* */\n/* Copyright (c) Nuvoton Technology Corp. All rights reserved. ...
811
0
{"language": "c", "success": true, "metadata": {"lines": 223, "avg_line_length": 36.98, "nodes": 695, "errors": 0, "source_hash": "88d120d72147824849353b89ae4295ddc2883a0782bcec57700c306796527eea", "categorized_nodes": 244}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
80,395
c
#ifndef _ASM_X86_SWIOTLB_H #define _ASM_X86_SWIOTLB_H #include <linux/swiotlb.h> #ifdef CONFIG_SWIOTLB extern int swiotlb; extern int __init pci_swiotlb_detect_override(void); extern int __init pci_swiotlb_detect_4gb(void); extern void __init pci_swiotlb_init(void); extern void __init pci_swiotlb_late_init(void); #el...
22.79
28
(translation_unit) "#ifndef _ASM_X86_SWIOTLB_H\n#define _ASM_X86_SWIOTLB_H\n\n#include <linux/swiotlb.h>\n\n#ifdef CONFIG_SWIOTLB\nextern int swiotlb;\nextern int __init pci_swiotlb_detect_override(void);\nextern int __init pci_swiotlb_detect_4gb(void);\nextern void __init pci_swiotlb_init(void);\nextern void __init pc...
179
4
{"language": "c", "success": true, "metadata": {"lines": 28, "avg_line_length": 22.79, "nodes": 124, "errors": 0, "source_hash": "54edbb62860e373e0e75f1a855d5951123ab0b9f354d999a473b39b597ff8b41", "categorized_nodes": 72}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
80,396
c
/* * Copyright 2018 - 2019 NXP * All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #ifndef __USB_DC_MCUX_H__ #define __USB_DC_MCUX_H__ #include <usb/usb_dc.h> #include "usb_spec.h" /****************************************************************************** * Definitions *******************...
34.55
303
(translation_unit) "/*\n * Copyright 2018 - 2019 NXP\n * All rights reserved.\n *\n * SPDX-License-Identifier: BSD-3-Clause\n */\n\n#ifndef __USB_DC_MCUX_H__\n#define __USB_DC_MCUX_H__\n\n#include <usb/usb_dc.h>\n#include "usb_spec.h"\n\n/******************************************************************************\n ...
931
0
{"language": "c", "success": true, "metadata": {"lines": 303, "avg_line_length": 34.55, "nodes": 607, "errors": 0, "source_hash": "31bef951de144842ad731d4d9502a208a99b10db94b7cd724cf1726ce457c964", "categorized_nodes": 449}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
80,397
c
// Copyright (c) 2018-2021 Pocketnet developers // Distributed under the Apache 2.0 software license, see the accompanying // https://www.apache.org/licenses/LICENSE-2.0 #ifndef POCKETTX_SUBSCRIBE_H #define POCKETTX_SUBSCRIBE_H #include "pocketdb/models/base/Transaction.h" namespace PocketTx { class Subscribe : ...
38
25
(translation_unit) "// Copyright (c) 2018-2021 Pocketnet developers\n// Distributed under the Apache 2.0 software license, see the accompanying\n// https://www.apache.org/licenses/LICENSE-2.0\n\n#ifndef POCKETTX_SUBSCRIBE_H\n#define POCKETTX_SUBSCRIBE_H\n\n#include "pocketdb/models/base/Transaction.h"\n\nnamespace Pock...
211
17
{"language": "c", "success": true, "metadata": {"lines": 25, "avg_line_length": 38.0, "nodes": 113, "errors": 0, "source_hash": "a43da12410e27042f7df1c31598ccd3076bed43e9614dc7ad3de26df8738484f", "categorized_nodes": 77}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
80,398
c
/************************************************************************ * * * Copyright (c) 1985 by * * Digital Equipment Corporation, Maynard, MA * * All rights reserved. * * * * The information in this software is subject to change without * * notice and should not be constr...
29.67
165
(translation_unit) "/************************************************************************\n * *\n * Copyright (c) 1985 by *\n * Digital Equipment Corporation, Maynard, MA *\n * All rights reserved. *\n * *\n * The information in this software is subject to change without *\n * notic...
1,311
0
{"language": "c", "success": true, "metadata": {"lines": 165, "avg_line_length": 29.67, "nodes": 828, "errors": 0, "source_hash": "569ca876c16239a59d8fad7da357b0ce6009fbc599a8071dce7ea073c00104ff", "categorized_nodes": 552}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
80,399