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
#pragma once #include "../vk-sys/vulkan.h" #include "ImageView.h" #include "ImageDimension.h" namespace lava { class SwapchainImageInstance { public: SwapchainImageInstance(vk::Image image, ImageView imageView, image_dimension_t imageDimension); vk::Image getImageHandle() const noexcept; vk::ImageView...
36.73
22
(translation_unit) "#pragma once\n\n#include "../vk-sys/vulkan.h"\n#include "ImageView.h"\n#include "ImageDimension.h"\n\nnamespace lava {\n\nclass SwapchainImageInstance {\n public:\n SwapchainImageInstance(vk::Image image, ImageView imageView, image_dimension_t imageDimension);\n\n vk::Image getImageHandle() c...
182
12
{"language": "c", "success": true, "metadata": {"lines": 22, "avg_line_length": 36.73, "nodes": 105, "errors": 0, "source_hash": "6a19441fa2629cdca180a0f85f5d614c2570132bae13dfc990fe18862278e0fe", "categorized_nodes": 73}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma ...
77,300
c
// // YJCategorySource.h // Take-out Demo // // Created by 袁杰 on 17/2/22. // Copyright © 2017年 袁杰. All rights reserved. // #import <Foundation/Foundation.h> #import "YJGoods.h" @class SuperMarketData; @class Products; @class ProductCategory; @class YJGoods; @interface YJCategorySource : NSObject @property(nonato...
28.48
33
(translation_unit) "//\n// YJCategorySource.h\n// Take-out Demo\n//\n// Created by 袁杰 on 17/2/22.\n// Copyright © 2017年 袁杰. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n#import "YJGoods.h"\n\n@class SuperMarketData;\n@class Products;\n@class ProductCategory;\n@class YJGoods;\n\n@interface YJCatego...
287
48
{"language": "c", "success": true, "metadata": {"lines": 33, "avg_line_length": 28.48, "nodes": 203, "errors": 0, "source_hash": "78bdc9daea3a699be59c6ceb2b1fc8395aa7e8132642237e5b1d57a0c634f8e9", "categorized_nodes": 114}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "undatio...
77,301
c
#ifndef META_H #define META_H #include <inttypes.h> #include <sys/types.h> uint8_t *pack_string(const char *s, size_t *n); uint8_t *pack_array(uint32_t len, size_t *n); #endif /* META_H */
26
7
(translation_unit) "#ifndef META_H\n#define META_H\n\n#include <inttypes.h>\n#include <sys/types.h>\n\nuint8_t *pack_string(const char *s, size_t *n);\nuint8_t *pack_array(uint32_t len, size_t *n);\n\n#endif /* META_H */\n" (preproc_ifdef) "#ifndef META_H\n#define META_H\n\n#include <inttypes.h>\n#include <sys/types....
57
0
{"language": "c", "success": true, "metadata": {"lines": 7, "avg_line_length": 26.0, "nodes": 45, "errors": 0, "source_hash": "633a3b41de8dd36bc6b794e4997527470758e122a6d0664dd1b6e6085b879ddc", "categorized_nodes": 25}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ME...
77,302
c
#ifndef Mipf_Plugin_SurfaceCutActivator_h__ #define Mipf_Plugin_SurfaceCutActivator_h__ #pragma once #include "Activator_Base.h" class Mipf_Plugin_SurfaceCut_Activator : public ActivatorBase { public: Mipf_Plugin_SurfaceCut_Activator(QF::IQF_Main* pMain); bool Init(); const char* GetID(); void Regist...
26.21
14
(translation_unit) "#ifndef Mipf_Plugin_SurfaceCutActivator_h__\n#define Mipf_Plugin_SurfaceCutActivator_h__\n\n#pragma once\n#include "Activator_Base.h"\n\nclass Mipf_Plugin_SurfaceCut_Activator : public ActivatorBase\n{\npublic:\n Mipf_Plugin_SurfaceCut_Activator(QF::IQF_Main* pMain);\n\n bool Init();\n cons...
82
3
{"language": "c", "success": true, "metadata": {"lines": 14, "avg_line_length": 26.21, "nodes": 46, "errors": 0, "source_hash": "e02ceaa6c84efb81e9f54f93509881d9f1e59ee25c2f9b28645736eb9049170e", "categorized_nodes": 26}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
77,303
c
/* ** File: ** cfe_es_global.h ** ** ** ** Copyright (c) 2004-2012, United States government as represented by the ** administrator of the National Aeronautics Space Administration. ** All rights reserved. This software(cFE) was created at NASA's Goddard ** Space Flight Center pursuant to go...
31.66
254
(translation_unit) "/*\n** File: \n** cfe_es_global.h \n**\n**\n**\n** Copyright (c) 2004-2012, United States government as represented by the \n** administrator of the National Aeronautics Space Administration. \n** All rights reserved. This software(cFE) was created at NASA's Goddard \n** Space...
479
0
{"language": "c", "success": true, "metadata": {"lines": 254, "avg_line_length": 31.66, "nodes": 296, "errors": 0, "source_hash": "4a6fe972791e6f47d5ba55e3f6f69cada9d400b6bfb79dbc695a79ea86d908a3", "categorized_nodes": 256}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
77,304
c
#import <ReactABI25_0_0/ABI25_0_0RCTBridgeModule.h> @interface Sample : NSObject <ABI25_0_0RCTBridgeModule> @end
36.67
3
(translation_unit) "#import <ReactABI25_0_0/ABI25_0_0RCTBridgeModule.h>\n\n@interface Sample : NSObject <ABI25_0_0RCTBridgeModule>\n\n@end\n" (preproc_call) "#import <ReactABI25_0_0/ABI25_0_0RCTBridgeModule.h>\n" (preproc_directive) "#import" (preproc_arg) "<ReactABI25_0_0/ABI25_0_0RCTBridgeModule.h>" (ERRO...
18
4
{"language": "c", "success": true, "metadata": {"lines": 3, "avg_line_length": 36.67, "nodes": 14, "errors": 0, "source_hash": "2402934940e42706ec53e92ae393016588aef47bbbb2442cd81ce54544e87a8e", "categorized_nodes": 6}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <Re...
77,305
c
// // UILabel+AXKit.h // // // Created by liuweixing on 15/10/27. // Copyright © 2015年 liuweixing. All rights reserved. // #import <UIKit/UIKit.h> /// 改用YYLabel @interface UILabel (AXKit) /** * 是否可以长按显示复制Menu */ @property (nonatomic, assign) BOOL ax_longPressCopyMenu; /** 设置 电话 含有下划线,并可以点击打电话 */ - (void)ax...
18.2
25
(translation_unit) "//\n// UILabel+AXKit.h\n// \n//\n// Created by liuweixing on 15/10/27.\n// Copyright © 2015年 liuweixing. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n/// 改用YYLabel\n@interface UILabel (AXKit)\n\n/**\n * 是否可以长按显示复制Menu\n */\n@property (nonatomic, assign) BOOL ax_longPressCopyMenu;\n\n/*...
93
12
{"language": "c", "success": true, "metadata": {"lines": 25, "avg_line_length": 18.2, "nodes": 57, "errors": 0, "source_hash": "4c5b528a949b175ecda15e8ec3fce443343c4ea2112f3e9baa405a930669684b", "categorized_nodes": 29}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "port <UIKi...
77,306
c
/// \file /// Utilities for working with timespecs. #pragma once #include <assert.h> #include <stdbool.h> #include <stdio.h> #include <stdlib.h> #include <time.h> #ifdef __cplusplus extern "C" { #endif /// Return a timespec with zero seconds and zero nanoseconds. struct timespec timespec_null(); /// Add \p rhs ...
33.22
60
(translation_unit) "/// \file\n/// Utilities for working with timespecs.\n#pragma once\n\n#include <assert.h>\n#include <stdbool.h>\n#include <stdio.h>\n#include <stdlib.h>\n\n#include <time.h>\n\n\n#ifdef __cplusplus\nextern "C" {\n#endif\n\n\n/// Return a timespec with zero seconds and zero nanoseconds.\nstruct times...
329
0
{"language": "c", "success": true, "metadata": {"lines": 60, "avg_line_length": 33.22, "nodes": 234, "errors": 0, "source_hash": "ab69a07a1d7d12dfc49e22ee4a03f9872fc1a58c2781ea365d68ed75e08e365d", "categorized_nodes": 166}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
77,307
c
#include <sys/types.h> #include <sys/stat.h> #include <errno.h> #include <fcntl.h> #include <stdint.h> #include <stdio.h> #include <string.h> #include <unistd.h> #include "private.h" #include <wdns.h> static int process_data(const uint8_t *data, size_t len) { wdns_message_t m; wdns_res res; res = wdns_parse_mess...
22
50
(translation_unit) "#include <sys/types.h>\n#include <sys/stat.h>\n#include <errno.h>\n#include <fcntl.h>\n#include <stdint.h>\n#include <stdio.h>\n#include <string.h>\n#include <unistd.h>\n\n#include "private.h"\n\n#include <wdns.h>\n\nstatic int\nprocess_data(const uint8_t *data, size_t len)\n{\n wdns_message_t m;\n ...
396
0
{"language": "c", "success": true, "metadata": {"lines": 50, "avg_line_length": 22.0, "nodes": 223, "errors": 0, "source_hash": "6c473ba7f68623bd73c2a3e82ca3d8986e8f476a7cc006554b00a4d65aab2c40", "categorized_nodes": 170}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
77,308
c
// Generated by the sysprop generator. DO NOT EDIT! #pragma once #include <cstdint> #include <optional> #include <string> #include <vector> namespace android::sysprop::IncrementalProperties { std::optional<std::string> enable(); } // namespace android::sysprop::IncrementalProperties
30.67
9
(translation_unit) "// Generated by the sysprop generator. DO NOT EDIT!\n\n#pragma once\n\n#include <cstdint>\n#include <optional>\n#include <string>\n#include <vector>\n\nnamespace android::sysprop::IncrementalProperties {\n\nstd::optional<std::string> enable();\n\n} // namespace android::sysprop::IncrementalProperti...
52
2
{"language": "c", "success": true, "metadata": {"lines": 9, "avg_line_length": 30.67, "nodes": 34, "errors": 0, "source_hash": "d016ad2ab49983e77bb7d30c027e0267818065d8c7f2e9851063d5971f703c98", "categorized_nodes": 26}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma on...
77,309
c
// // BDJAdItem.h // BSBDJProject // // Created by Coulson_Wang on 2017/6/26. // Copyright © 2017年 Coulson_Wang. All rights reserved. // #import <Foundation/Foundation.h> @interface BDJAdItem : NSObject @property (strong, nonatomic) NSString *w_picurl; @property (strong, nonatomic) NSString *ori_curl; @propert...
27.14
14
(translation_unit) "//\n// BDJAdItem.h\n// BSBDJProject\n//\n// Created by Coulson_Wang on 2017/6/26.\n// Copyright © 2017年 Coulson_Wang. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n\n@interface BDJAdItem : NSObject\n\n@property (strong, nonatomic) NSString *w_picurl;\n\n@property (strong, nonato...
89
18
{"language": "c", "success": true, "metadata": {"lines": 14, "avg_line_length": 27.14, "nodes": 64, "errors": 0, "source_hash": "cf74467c245c1d0c5f5a865f1d6134a10e1d20bd82258e5a766c5e58225e7e3f", "categorized_nodes": 33}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "port <Fou...
77,310
c
/* Copyright <SWGEmu> See file COPYING for copying conditions.*/ #ifndef SERVERDATABASE_H_ #define SERVERDATABASE_H_ #include "engine/engine.h" namespace conf { class ConfigManager; } class ServerDatabase : public Logger { static Vector<Database*>* databases; static AtomicInteger currentDB; int dbSchemaVe...
25.9
31
(translation_unit) "/*\n Copyright <SWGEmu>\n See file COPYING for copying conditions.*/\n\n#ifndef SERVERDATABASE_H_\n#define SERVERDATABASE_H_\n\n#include "engine/engine.h"\n\nnamespace conf {\n class ConfigManager;\n}\n\nclass ServerDatabase : public Logger {\n static Vector<Database*>* databases;\n static Atomi...
222
7
{"language": "c", "success": true, "metadata": {"lines": 31, "avg_line_length": 25.9, "nodes": 126, "errors": 0, "source_hash": "36f03e2cc71d8100387fe2ef078782f073842049065ce394cde4b74e8270b9cd", "categorized_nodes": 82}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
77,311
c
#include <errno.h> #include <stdlib.h> #include <string.h> #include "double.h" #include "int.h" #include "matrix_sparse.h" int main(int argc, char * argv[]) { char * m_inner_format, * m_inner_name, * m_laplacian_format, * m_laplacian_name, * out_format; int d, p; int * m_cn; double ** m_inner; matrix_...
23.01
69
(translation_unit) "#include <errno.h>\n#include <stdlib.h>\n#include <string.h>\n#include "double.h"\n#include "int.h"\n#include "matrix_sparse.h"\n\nint main(int argc, char * argv[])\n{\n char * m_inner_format, * m_inner_name, * m_laplacian_format,\n * m_laplacian_name, * out_format;\n int d, p;\n int * m_cn...
483
0
{"language": "c", "success": true, "metadata": {"lines": 69, "avg_line_length": 23.01, "nodes": 282, "errors": 0, "source_hash": "e71cd48835fe9ba007b1400d4db3f51a3c091c5221b8bd2fbb8f187ecc1aab12", "categorized_nodes": 192}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
77,312
c
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by <NAME>. // #import "NSObject.h" @class NSMutableDictionary, NSObject<OS_dispatch_queue>, NSURL; @interface WBSPasswordWarningStore : NSObject { NSObject<OS_dispatch_queue> *_queue; struct ...
37.23
30
(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 "NSObject.h"\n\n@class NSMutableDictionary, NSObject<OS_dispatch_queue>, NSURL;\n\n@interface WBSPasswordWarningStore : NSObject\n{\n NSObject<OS_disp...
281
19
{"language": "c", "success": true, "metadata": {"lines": 30, "avg_line_length": 37.23, "nodes": 171, "errors": 0, "source_hash": "c98f6eaa8d6a958c1f8a2dc30d413b68a890c6a8f806977801a3a5a360515211", "categorized_nodes": 102}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import...
77,313
c
#include <stdio.h> #include <stdlib.h> #include <unistd.h> #include "cursor.h" #include "display.h" static char * suppr_color(char *data, int *pc) { data[(*pc)++] = '\033'; data[(*pc)++] = '['; data[(*pc)++] = '0'; data[(*pc)++] = 'm'; return data; } static char * insert_bold(...
20.25
186
(translation_unit) "#include <stdio.h> \n#include <stdlib.h> \n#include <unistd.h> \n \n#include "cursor.h" \n#include "display.h" \n \nstatic char * \nsuppr_color(char *data, int *pc) \n{ \n data[(*pc)++] = '\033'; \n data[(*pc)++] = '['; \n data[(*pc)++] = '0'; \n data[(*pc)++] = 'm'; \n \n return data...
1,802
0
{"language": "c", "success": true, "metadata": {"lines": 186, "avg_line_length": 20.25, "nodes": 1201, "errors": 0, "source_hash": "d6b45971e02e00e5d9bd9c04cef93835a1ad9e499387868506b0cf55c2198c9c", "categorized_nodes": 794}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#i...
77,314
c
/****************************************************************************** * * Accumulate the sum of the ranks by sending a message around a * ring. * * We use a synchronous non-blocking send mpi_issend() and a non- * blocking recieve mpi_irecv(), along with two wait statements. * **********************...
30.15
53
(translation_unit) "/******************************************************************************\n *\n * Accumulate the sum of the ranks by sending a message around a\n * ring.\n *\n * We use a synchronous non-blocking send mpi_issend() and a non-\n * blocking recieve mpi_irecv(), along with two wait statements.\n...
326
0
{"language": "c", "success": true, "metadata": {"lines": 53, "avg_line_length": 30.15, "nodes": 195, "errors": 0, "source_hash": "4cf0200353272d25fe259e84d1f75ff1e86340a4f31419fe7f747a5cf0a6d10b", "categorized_nodes": 150}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
77,315
c
// // KVOMagic.h // KVOMagic // // Created by <NAME> on 1/19/21. // Copyright © 2021 <NAME>. All rights reserved. #import <Foundation/Foundation.h> //! Project version number for KVOMagic. FOUNDATION_EXPORT double KVOMagicVersionNumber; //! Project version string for KVOMagic. FOUNDATION_EXPORT const unsigned ch...
38.92
12
(translation_unit) "//\n// KVOMagic.h\n// KVOMagic\n//\n// Created by <NAME> on 1/19/21.\n// Copyright © 2021 <NAME>. All rights reserved.\n\n#import <Foundation/Foundation.h>\n\n//! Project version number for KVOMagic.\nFOUNDATION_EXPORT double KVOMagicVersionNumber;\n\n//! Project version string for KVOMagic.\nFO...
32
1
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 38.92, "nodes": 15, "errors": 0, "source_hash": "5dca52383208be7a36069c5994c955403238bbfa565e5551f177547630cff14c", "categorized_nodes": 11}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <F...
77,316
c
#ifndef KLIB_HTTPREQUEST_H #define KLIB_HTTPREQUEST_H #ifdef __cplusplus extern "C" { #endif typedef enum { HTTP = 80, HTTPS = 443 } REQUEST_PROTOCOL; typedef struct HttpRequest { Socket *socket; char *hostname; REQUEST_PROTOCOL protocol; struct HttpRequest *(*get)(struct HttpRequest*, c...
26.62
26
(translation_unit) "#ifndef KLIB_HTTPREQUEST_H\n#define KLIB_HTTPREQUEST_H\n\n#ifdef __cplusplus\nextern "C" {\n#endif\n\ntypedef enum {\n HTTP = 80,\n HTTPS = 443\n} REQUEST_PROTOCOL;\n\ntypedef struct HttpRequest {\n Socket *socket;\n char *hostname;\n REQUEST_PROTOCOL protocol;\n \n struct HttpR...
208
8
{"language": "c", "success": true, "metadata": {"lines": 26, "avg_line_length": 26.62, "nodes": 150, "errors": 0, "source_hash": "3d13b1078d54a9aab377633111d12f71fd8cf7ba371bd9290059cc7fcdf84235", "categorized_nodes": 93}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
77,317
c
/* * test_case.h * * Created on: Jun 4, 2018 * by: <NAME> */ #ifndef SRC_TEST_CASE_TEST_CASE_H_ #define SRC_TEST_CASE_TEST_CASE_H_ #endif /* SRC_TEST_CASE_TEST_CASE_H_ */
17.7
10
(translation_unit) "/*\n * test_case.h\n *\n * Created on: Jun 4, 2018\n * by: <NAME>\n */\n\n#ifndef SRC_TEST_CASE_TEST_CASE_H_\n#define SRC_TEST_CASE_TEST_CASE_H_\n\n\n\n#endif /* SRC_TEST_CASE_TEST_CASE_H_ */\n" (comment) "/*\n * test_case.h\n *\n * Created on: Jun 4, 2018\n * by: <NAME>\n */" ...
10
0
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 17.7, "nodes": 7, "errors": 0, "source_hash": "16e80f6895255ef3107860b8fc5bba44a81d462609af3c97edb2ba4aeb96235b", "categorized_nodes": 5}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef SRC...
77,318
c
/* * Generated by asn1c-0.9.28 (http://lionet.info/asn1c) * From ASN.1 module "SUPL-RESPONSE" * found in "../supl-response.asn" * `asn1c -fcompound-names -gen-PER` */ #ifndef _SUPLRESPONSE_H_ #define _SUPLRESPONSE_H_ #include <asn_application.h> /* Including external dependencies */ #include "PosMethod.h" #i...
25.74
47
(translation_unit) "/*\n * Generated by asn1c-0.9.28 (http://lionet.info/asn1c)\n * From ASN.1 module "SUPL-RESPONSE"\n * found in "../supl-response.asn"\n * `asn1c -fcompound-names -gen-PER`\n */\n\n#ifndef _SUPLRESPONSE_H_\n#define _SUPLRESPONSE_H_\n\n\n#include <asn_application.h>\n\n/* Including external dependen...
145
0
{"language": "c", "success": true, "metadata": {"lines": 47, "avg_line_length": 25.74, "nodes": 96, "errors": 0, "source_hash": "39b1e37a68d18e11db692d345dc6c7a5680fed8ca342fd63693d9d0b1780c882", "categorized_nodes": 82}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef\...
77,319
c
// // Created by Per-Arne on 25.02.2017. // #pragma once #include "../Constants.h" #include "BaseState.h" class Unit; class Combat: public BaseState { public: Combat():BaseState(Constants::State::Combat){ name = "Combat"; } virtual void update(Unit & unit)const; virtual void init(Unit & unit...
21.94
16
(translation_unit) "//\n// Created by Per-Arne on 25.02.2017.\n//\n\n#pragma once\n\n#include "../Constants.h"\n#include "BaseState.h"\nclass Unit;\n\nclass Combat: public BaseState {\npublic:\n Combat():BaseState(Constants::State::Combat){\n name = "Combat";\n }\n\n virtual void update(Unit & unit)cons...
123
7
{"language": "c", "success": true, "metadata": {"lines": 16, "avg_line_length": 21.94, "nodes": 59, "errors": 0, "source_hash": "9275ac19b54273e5a1e23a1f0b0f32e6d251d964b8a37938dae9d87db0c1dbe2", "categorized_nodes": 44}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
77,320
c
/* * Copyright (c) Facebook, Inc. and its affiliates. * * 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 applic...
34.74
39
(translation_unit) "/*\n * Copyright (c) Facebook, Inc. and its affiliates.\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 *\...
256
19
{"language": "c", "success": true, "metadata": {"lines": 39, "avg_line_length": 34.74, "nodes": 137, "errors": 0, "source_hash": "6d1611335f5c0b03404bcf7164ad67f2ed45da21366fd2a22eedf6c07282ab33", "categorized_nodes": 96}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "namespace folly...
77,321
c
// // PullToRefreshTable+CustomView.h // DLKit_Example // // Created by ice on 2017/12/20. // Copyright © 2017年 <EMAIL>. All rights reserved. // #import "PullToRefreshTable.h" @interface PullToRefreshTable (CustomView) @end
21.8
10
(translation_unit) "//\n// PullToRefreshTable+CustomView.h\n// DLKit_Example\n//\n// Created by ice on 2017/12/20.\n// Copyright © 2017年 <EMAIL>. All rights reserved.\n//\n\n#import "PullToRefreshTable.h"\n\n@interface PullToRefreshTable (CustomView)\n\n@end\n" (comment) "//" (comment) "// PullToRefreshTable+C...
23
4
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 21.8, "nodes": 13, "errors": 0, "source_hash": "886fa401aae79305f014a527e0d87abff5810b00b2d6aa0cebff084f9bdda5c9", "categorized_nodes": 6}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "port \"Pull...
77,322
c
#import "NSObject+XPCInterop.h" #import <Foundation/NSString.h> #import <xpc/xpc.h> @interface NSString (XPCInterop) + (instancetype) stringWithXPCString:(xpc_object_t)xpcString; @property (NS_NONATOMIC_IOSONLY, readonly) xpc_object_t XPCString; @end
34.86
7
(translation_unit) "#import "NSObject+XPCInterop.h"\n\n#import <Foundation/NSString.h>\n#import <xpc/xpc.h>\n\n@interface NSString (XPCInterop)\n\n+ (instancetype) stringWithXPCString:(xpc_object_t)xpcString;\n@property (NS_NONATOMIC_IOSONLY, readonly) xpc_object_t XPCString;\n\n@end\n" (preproc_call) "#import "NSObj...
54
7
{"language": "c", "success": true, "metadata": {"lines": 7, "avg_line_length": 34.86, "nodes": 36, "errors": 0, "source_hash": "9c946d86a407f23615d370f5d57b7680b208b0de9bd387a267a252f42aa0de02", "categorized_nodes": 20}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import \"...
77,323
c
// SPDX-License-Identifier: GPL-2.0 /* This has so very few changes over libgcc2's __udivmoddi4 it isn't funny. */ #include <math-emu/soft-fp.h> #undef count_leading_zeros #define count_leading_zeros __FP_CLZ void _fp_udivmodti4(_FP_W_TYPE q[2], _FP_W_TYPE r[2], _FP_W_TYPE n1, _FP_W_TYPE n0, _FP_W_...
22.71
147
(translation_unit) "// SPDX-License-Identifier: GPL-2.0\n/* This has so very few changes over libgcc2's __udivmoddi4 it isn't funny. */\n\n#include <math-emu/soft-fp.h>\n\n#undef count_leading_zeros\n#define count_leading_zeros __FP_CLZ\n\nvoid\n_fp_udivmodti4(_FP_W_TYPE q[2], _FP_W_TYPE r[2],\n _FP_W_TYPE n1,...
887
0
{"language": "c", "success": true, "metadata": {"lines": 147, "avg_line_length": 22.71, "nodes": 529, "errors": 0, "source_hash": "874ae4a8920b7c534d2ab286bfb9517b2f0ae4c64f232e4b6f9463a00d9f8740", "categorized_nodes": 412}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
77,324
c
#pragma once #include <cpptoml/cpptoml.h> #include <ctrlib/CANTalon.h> #include <spdlog/spdlog.h> namespace sidewinder { namespace talon { using Logger = const std::shared_ptr<spdlog::logger>; /** Base class representing a Talon configuration. * This class is not intended to be used directly, use a subclass. */ c...
32.72
39
(translation_unit) "#pragma once\n\n#include <cpptoml/cpptoml.h>\n#include <ctrlib/CANTalon.h>\n#include <spdlog/spdlog.h>\n\nnamespace sidewinder {\nnamespace talon {\n\nusing Logger = const std::shared_ptr<spdlog::logger>;\n\n/** Base class representing a Talon configuration.\n * This class is not intended to be used...
290
21
{"language": "c", "success": true, "metadata": {"lines": 39, "avg_line_length": 32.72, "nodes": 166, "errors": 0, "source_hash": "4d8ad9d0cf92348a45bc7765504779c983baa502b45a2e8f5109aeefec6d1036", "categorized_nodes": 109}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
77,325
c
// // ABComponents.h // ABComponents // // Created by wupeng on 2020/11/6. // #import <Foundation/Foundation.h> //! Project version number for ABComponents. FOUNDATION_EXPORT double ABComponentsVersionNumber; //! Project version string for ABComponents. FOUNDATION_EXPORT const unsigned char ABComponentsVersionStr...
37.5
12
(translation_unit) "//\n// ABComponents.h\n// ABComponents\n//\n// Created by wupeng on 2020/11/6.\n//\n\n#import <Foundation/Foundation.h>\n\n//! Project version number for ABComponents.\nFOUNDATION_EXPORT double ABComponentsVersionNumber;\n\n//! Project version string for ABComponents.\nFOUNDATION_EXPORT const uns...
32
1
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 37.5, "nodes": 15, "errors": 0, "source_hash": "1dc798a4074a14c072c7fe026b28136eee4d4517ee04130a90e34a072566ba2d", "categorized_nodes": 10}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <F...
77,326
c
#pragma once #ifndef SHUQI_H_H_H #define SHUQI_H_H_H #include <windows.h> #include "..\\ReplaceSignature.h" class ShuQi :public ReplaceSignature { public: int prepareRespData(unsigned long ulIP, string filepath, string filename); int m_iHdRespSize; char m_lpHdResp[4096]; int m_iDataRespSize; char * m_lpDa...
35.45
20
(translation_unit) "#pragma once\n\n#ifndef SHUQI_H_H_H\n#define SHUQI_H_H_H\n#include <windows.h>\n#include "..\\ReplaceSignature.h"\n\n\n\n\n\nclass ShuQi :public ReplaceSignature {\npublic:\n\n int prepareRespData(unsigned long ulIP, string filepath, string filename);\n\n int m_iHdRespSize;\n char m_lpHdResp[4096];\...
208
3
{"language": "c", "success": true, "metadata": {"lines": 20, "avg_line_length": 35.45, "nodes": 148, "errors": 0, "source_hash": "1f31df6c315d4b478fef4156a80284ad49087e10f53b7184b2f79bcd7bff4c49", "categorized_nodes": 96}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma ...
77,327
c
#ifndef ITBIT_H #define ITBIT_H #include <curl/curl.h> #include <string> #include "parameters.h" namespace ItBit { double getQuote(Parameters& params, bool isBid); double getAvail(Parameters& params, std::string currency); double getActivePos(Parameters& params); double getLimitPrice(Parameters& params, double vo...
27.5
12
(translation_unit) "#ifndef ITBIT_H\n#define ITBIT_H\n\n#include <curl/curl.h>\n#include <string>\n#include "parameters.h"\n\nnamespace ItBit {\n\ndouble getQuote(Parameters& params, bool isBid);\n\ndouble getAvail(Parameters& params, std::string currency);\n\ndouble getActivePos(Parameters& params);\n\ndouble getLimit...
98
5
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 27.5, "nodes": 65, "errors": 0, "source_hash": "bde70f6dbf22fdb8a1c884528bd132a1b528e1079db40d3a65dc2238cc87b278", "categorized_nodes": 51}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef I...
77,328
c
/*------------------------------------------------------------------------- * * nodeUnique.h-- * * * * Copyright (c) 1994, Regents of the University of California * * $Id: nodeUnique.h,v 1.1.1.1 1996/07/09 06:21:28 scrappy Exp $ * *------------------------------------------------------------------------- ...
30.63
19
(translation_unit) "/*-------------------------------------------------------------------------\n *\n * nodeUnique.h--\n * \n *\n *\n * Copyright (c) 1994, Regents of the University of California\n *\n * $Id: nodeUnique.h,v 1.1.1.1 1996/07/09 06:21:28 scrappy Exp $\n *\n *--------------------------------------------...
84
0
{"language": "c", "success": true, "metadata": {"lines": 19, "avg_line_length": 30.63, "nodes": 67, "errors": 0, "source_hash": "0362f1026671748bb659ec66caae368ba6483993a6d90eb2baa1456db08a5def", "categorized_nodes": 40}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef\...
77,329
c
#ifndef __GAALET_INVERSE_H #define __GAALET_INVERSE_H #include "part.h" #include "reverse.h" namespace gaalet { //check for versor template<typename CL, bool parent_even_grade = (BitCount<CL::head>::value%2)> struct check_versor { static const bool even_grade = (BitCount<CL::head>::value%2); static const bool ...
30.68
82
(translation_unit) "#ifndef __GAALET_INVERSE_H\n#define __GAALET_INVERSE_H\n\n#include "part.h"\n#include "reverse.h"\n\nnamespace gaalet {\n\n//check for versor\ntemplate<typename CL, bool parent_even_grade = (BitCount<CL::head>::value%2)>\nstruct check_versor\n{\n static const bool even_grade = (BitCount<CL::head>:...
743
56
{"language": "c", "success": true, "metadata": {"lines": 82, "avg_line_length": 30.68, "nodes": 480, "errors": 0, "source_hash": "e403164a11ef4435ab9d322881060e4e7fa069a4e68a5dab12736fc0614c96db", "categorized_nodes": 320}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
77,330
c
// // JWAppDelegate.h // JWExtension // // Created by <EMAIL> on 09/10/2020. // Copyright (c) 2020 <EMAIL>. All rights reserved. // @import UIKit; @interface JWAppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWindow *window; @end
23.27
11
(translation_unit) "//\n// JWAppDelegate.h\n// JWExtension\n//\n// Created by <EMAIL> on 09/10/2020.\n// Copyright (c) 2020 <EMAIL>. All rights reserved.\n//\n\n@import UIKit;\n\n@interface JWAppDelegate : UIResponder <UIApplicationDelegate>\n\n@property (strong, nonatomic) UIWindow *window;\n\n@end\n" (comment) ...
42
8
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 23.27, "nodes": 26, "errors": 0, "source_hash": "880813b22052d86e939e7505eb9b6492735dce6ed17e96d2062808c861438ef2", "categorized_nodes": 13}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "@", "parent": nu...
77,331
c
//===============================================================================================// // todo // //===============================================================================================// #ifndef _GL_TERRAIN_MESH_CONTAINER_H_ #define _GL_TERRAIN_MESH_CONTAINER_H_ #include "core/types/types.h" #...
29.89
38
(translation_unit) "//===============================================================================================//\n// todo\n//\n//===============================================================================================//\n\n#ifndef _GL_TERRAIN_MESH_CONTAINER_H_\n#define _GL_TERRAIN_MESH_CONTAINER_H_\n\n#in...
210
4
{"language": "c", "success": true, "metadata": {"lines": 38, "avg_line_length": 29.89, "nodes": 119, "errors": 0, "source_hash": "f2b231312d54373044aa263135a4aba8a01a6d27c9b849dc49865c4a983a7307", "categorized_nodes": 92}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
77,332
c
#pragma once typedef enum _SYSTEM_INFORMATION_CLASS { SystemInformationClassMin = 0, SystemBasicInformation = 0, SystemProcessorInformation = 1, SystemPerformanceInformation = 2, SystemTimeOfDayInformation = 3, SystemPathInformation = 4, SystemNotImplemented1 = 4, SystemProcessInformati...
33.52
109
(translation_unit) "#pragma once\n\ntypedef enum _SYSTEM_INFORMATION_CLASS\n{\n SystemInformationClassMin = 0,\n SystemBasicInformation = 0,\n SystemProcessorInformation = 1,\n SystemPerformanceInformation = 2,\n SystemTimeOfDayInformation = 3,\n SystemPathInformation = 4,\n SystemNotImplemented1 =...
593
0
{"language": "c", "success": true, "metadata": {"lines": 109, "avg_line_length": 33.52, "nodes": 456, "errors": 0, "source_hash": "6cc58326fcff3f0dbb87bbc8f85ac1a75d48c5fd84e8350139aef9f0a5880a05", "categorized_nodes": 336}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragm...
77,333
c
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
35.38
104
(translation_unit) "/*\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements. See the NOTICE file\n * distributed with this work for additional information\n * regarding copyright ownership. The ASF licenses this file\n * to you under the Apache License, Version 2.0...
1,022
32
{"language": "c", "success": true, "metadata": {"lines": 104, "avg_line_length": 35.38, "nodes": 549, "errors": 0, "source_hash": "504fbae4e666010ce121528fbf557db2d7b2eb73461860b0e32b5f5c6e677618", "categorized_nodes": 392}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
77,334
c
/** \file diag_dnx_field_key.h * * 'key' operations (for key allocation, construction and ffc allocation) * testing procedures for DNX. */ /* * This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file. * * Copyright 2007-2020 Broadcom Inc...
21.65
46
(translation_unit) "/** \file diag_dnx_field_key.h\n *\n * 'key' operations (for key allocation, construction and ffc allocation)\n * testing procedures for DNX.\n */\n/*\n * This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file.\n * \n * Copy...
42
0
{"language": "c", "success": true, "metadata": {"lines": 46, "avg_line_length": 21.65, "nodes": 27, "errors": 0, "source_hash": "d439897a2f28f0fc30c7075d1269df0e004f125afac6e341144f1cbe471cb573", "categorized_nodes": 18}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
77,335
c
#import "TGBridgeLocationVenue.h" #import "WKInterfaceTable+TGDataDrivenTable.h" @interface TGBridgeLocationVenue (TGTableItem) <TGTableItem> @end
35.75
4
(translation_unit) "#import "TGBridgeLocationVenue.h"\n#import "WKInterfaceTable+TGDataDrivenTable.h"\n\n@interface TGBridgeLocationVenue (TGTableItem) <TGTableItem>\n\n@end\n" (preproc_call) "#import "TGBridgeLocationVenue.h"\n" (preproc_directive) "#import" (preproc_arg) ""TGBridgeLocationVenue.h"" (prepr...
23
5
{"language": "c", "success": true, "metadata": {"lines": 4, "avg_line_length": 35.75, "nodes": 19, "errors": 0, "source_hash": "8c3cca36f855f3b1855d475c3f1d1675fc0b2531e2673e44c0ea9a9dfeee585d", "categorized_nodes": 7}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import \"T...
77,336
c
#pragma once #include "Base.h" #include "Yis/Core/Events/ApplicationEvent.h" #include "Window.h" #include "LayerStack.h" #include "Yis/ImGui/ImGuiLayer.h" namespace Yis { // Singleton class YIS_API Application { public: Application(); virtual ~Application(); void Run(); void OnEvent(Event& e); void ...
25.05
37
(translation_unit) "ragma once\n#include "Base.h"\n#include "Yis/Core/Events/ApplicationEvent.h"\n#include "Window.h"\n\n#include "LayerStack.h"\n#include "Yis/ImGui/ImGuiLayer.h"\nnamespace Yis {\n // Singleton\n class YIS_API Application\n {\n public:\n Application();\n virtual ~Application();\n \n void Run();\n ...
296
9
{"language": "c", "success": true, "metadata": {"lines": 37, "avg_line_length": 25.05, "nodes": 186, "errors": 0, "source_hash": "158208dd6850c88f04cfc47a4b831d61b8211d6e526e98109f466d86fb6f7bcc", "categorized_nodes": 123}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "ragma o...
77,337
c
#include "uart_interface.h" #include "nrf.h" uint8_t uart_buf[258]; uint32_t uart_buf_length = 256; volatile uint8_t uart_buf_pos = 0; void uart_init(int pin_TX, int pin_RX) { NRF_UART0->PSELRTS = 0xFFFFFFFF; NRF_UART0->PSELCTS = 0xFFFFFFFF; NRF_UART0->PSELTXD = pin_TX; NRF_UART0->PSELRXD = pin_RX; NRF_GPIO->D...
21.25
92
(translation_unit) "#include "uart_interface.h"\n#include "nrf.h"\n\nuint8_t uart_buf[258];\nuint32_t uart_buf_length = 256;\nvolatile uint8_t uart_buf_pos = 0;\n\nvoid uart_init(int pin_TX, int pin_RX)\n{\n NRF_UART0->PSELRTS = 0xFFFFFFFF;\n NRF_UART0->PSELCTS = 0xFFFFFFFF;\n NRF_UART0->PSELTXD = pin_TX;\n NRF_UART0->...
529
0
{"language": "c", "success": true, "metadata": {"lines": 92, "avg_line_length": 21.25, "nodes": 326, "errors": 0, "source_hash": "0abd278242448f65018750c4a8f7f4626633e718bbff09c8a20d2d1b1e66a8e5", "categorized_nodes": 236}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
77,338
c
/* * File: cpu.c * Author: <NAME> <<EMAIL>> * * Description: init the cpu (gdt, idt, tss ...) */ #include <kernel/pyr0.h> #include <asm/segment.h> #include <asm/desc.h> #include <asm/system.h> #include <asm/processor.h> struct desc_ptr idt_descr = { IDT_SIZE - 1, (u32) idt_table}; struct tss tss = { 0, }; str...
22.4
55
(translation_unit) "/*\n * File: cpu.c\n * Author: <NAME> <<EMAIL>>\n *\n * Description: init the cpu (gdt, idt, tss ...)\n */\n\n#include <kernel/pyr0.h>\n#include <asm/segment.h>\n#include <asm/desc.h>\n#include <asm/system.h>\n#include <asm/processor.h>\n\n\nstruct desc_ptr idt_descr = { IDT_SIZE - 1, (u32) idt_tabl...
312
0
{"language": "c", "success": true, "metadata": {"lines": 55, "avg_line_length": 22.4, "nodes": 183, "errors": 0, "source_hash": "9f3cf39c80367c31362ce1b5f4b52a8f187590f3b6fcc0ea0ed41e09d7118d6a", "categorized_nodes": 126}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
77,339
c
/* The kernel call implemented in this file: * m_type: SYS_MEMSET * * The parameters for this kernel call are: * m_lsys_krn_sys_memset.base (virtual address) * m_lsys_krn_sys_memset.count (returns physical address) * m_lsys_krn_sys_memset.pattern (pattern byte to be written) */ #include "kernel/syste...
36.91
23
(translation_unit) "/* The kernel call implemented in this file:\n * m_type: SYS_MEMSET\n *\n * The parameters for this kernel call are:\n * m_lsys_krn_sys_memset.base (virtual address)\n * m_lsys_krn_sys_memset.count (returns physical address)\n * m_lsys_krn_sys_memset.pattern (pattern byte to be written)\n...
86
0
{"language": "c", "success": true, "metadata": {"lines": 23, "avg_line_length": 36.91, "nodes": 52, "errors": 0, "source_hash": "3f1999c067b103e0f595bfbef8bcce027ca348fafb092db2ebe4abc3c8c585f2", "categorized_nodes": 44}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
77,340
c
#define NULL ((void*)0) typedef unsigned long size_t; // Customize by platform. typedef long intptr_t; typedef unsigned long uintptr_t; typedef long scalar_t__; // Either arithmetic or pointer type. /* By default, we understand bool (as a convenience). */ typedef int bool; #define false 0 #define true 1 /* Forward d...
35.3
134
(translation_unit) "#define NULL ((void*)0)\ntypedef unsigned long size_t; // Customize by platform.\ntypedef long intptr_t; typedef unsigned long uintptr_t;\ntypedef long scalar_t__; // Either arithmetic or pointer type.\n/* By default, we understand bool (as a convenience). */\ntypedef int bool;\n#define false 0\n#...
1,156
0
{"language": "c", "success": true, "metadata": {"lines": 134, "avg_line_length": 35.3, "nodes": 730, "errors": 0, "source_hash": "59b7b4046914108e41a8eeeff768625e95fca8bc5aac9c3507dd1d5dd2bf7133", "categorized_nodes": 530}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_def", "text": "#define ...
77,341
c
/*!A cross-platform build utility based on Lua * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
35.89
209
(translation_unit) "/*!A cross-platform build utility based on Lua\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 * Unles...
1,410
0
{"language": "c", "success": true, "metadata": {"lines": 209, "avg_line_length": 35.89, "nodes": 816, "errors": 0, "source_hash": "9bcc4f16eb1833b2fec7e73143d41c629220e4be5b5c4f6fea01293910e7a29f", "categorized_nodes": 604}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_def", "text": "#define...
77,342
c
/**************************************************************** * * Copyright 2013, Big Switch Networks, Inc. * * Licensed under the Eclipse Public License, Version 1.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at * * ...
31.65
52
(translation_unit) "/****************************************************************\n *\n * Copyright 2013, Big Switch Networks, Inc.\n *\n * Licensed under the Eclipse Public License, Version 1.0 (the\n * "License"); you may not use this file except in compliance\n * with the License. You may obtain a copy of...
136
0
{"language": "c", "success": true, "metadata": {"lines": 52, "avg_line_length": 31.65, "nodes": 106, "errors": 0, "source_hash": "58df09269f369e5a97f99ec5620643b53681e3ae7a18c48f6574f1075705fd2e", "categorized_nodes": 75}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
77,343
c
/* * duff - Duplicate file finder * Copyright (c) 2005 <NAME> <<EMAIL>> * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any * damages arising from the use of this software. * * Permission is granted to anyone to use this software ...
20.94
158
(translation_unit) "/*\n * duff - Duplicate file finder\n * Copyright (c) 2005 <NAME> <<EMAIL>>\n *\n * This software is provided 'as-is', without any express or implied\n * warranty. In no event will the authors be held liable for any\n * damages arising from the use of this software.\n *\n * Permission is granted to ...
727
0
{"language": "c", "success": true, "metadata": {"lines": 158, "avg_line_length": 20.94, "nodes": 435, "errors": 0, "source_hash": "af79e19c86ab7ff92b9219ba7529485a570df294f2ea1f7eebc815f3b0f05368", "categorized_nodes": 294}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_if", "text": "#if HAVE...
77,344
c
#include "data-structures/ast/types/uni-op.h" #include <math.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include "utils/io.h" AST *ast_uniop_init(YYLTYPE rule_pos, char *op, AST *l) { UniOpAST *ast = calloc(1, sizeof(UniOpAST)); ast->op = strdup(op); return ast_cast(AST_UNI_OP, rule_pos, 1, ...
35.02
122
(translation_unit) "#include "data-structures/ast/types/uni-op.h"\n\n#include <math.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n\n#include "utils/io.h"\n\nAST *ast_uniop_init(YYLTYPE rule_pos, char *op, AST *l) {\n UniOpAST *ast = calloc(1, sizeof(UniOpAST));\n ast->op = strdup(op);\n return as...
1,450
0
{"language": "c", "success": true, "metadata": {"lines": 122, "avg_line_length": 35.02, "nodes": 865, "errors": 0, "source_hash": "93c30242b50d962b1481afe1ca9be6d1ada74538d328f5f859784962ae36884c", "categorized_nodes": 616}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
77,345
c
#include <vanilla/cpu.h> #include <vanilla/std.h> size c_ioq_getall(ctype_ioq *p, char *b, usize n) { size r; uchar *s; s = (uchar *)b; while (n) { if ((r = c_ioq_get(p, (char *)s, n)) < 0) return r; if (!r) break; s += r; n -= r; } return s - (uchar *)b; }
14.44
18
(translation_unit) "#include <vanilla/cpu.h>\n#include <vanilla/std.h>\n\nsize\nc_ioq_getall(ctype_ioq *p, char *b, usize n)\n{\n size r;\n uchar *s;\n\n s = (uchar *)b;\n while (n) {\n if ((r = c_ioq_get(p, (char *)s, n)) < 0)\n return r;\n if (!r)\n break;\n s += r;\n n -= r;\n }\n return s - (uchar *)b;\n}\n...
136
0
{"language": "c", "success": true, "metadata": {"lines": 18, "avg_line_length": 14.44, "nodes": 91, "errors": 0, "source_hash": "2f868049027c393acab4d3a4e65f97ed63a56d66c372737a55d24e3da912b1c4", "categorized_nodes": 63}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
77,346
c
/* * UsbHidHandler.h * * Created on: 12.02.2020 * Author: Yannick */ #ifndef USBHIDHANDLER_H_ #define USBHIDHANDLER_H_ #include "cppmain.h" #include "ffb_defs.h" #include "hid_cmd_defs.h" class UsbHidHandler { public: static UsbHidHandler* globalHidHandler; UsbHidHandler(); virtual ~UsbHidHandler(); ...
26.93
27
(translation_unit) "/*\n * UsbHidHandler.h\n *\n * Created on: 12.02.2020\n * Author: Yannick\n */\n\n#ifndef USBHIDHANDLER_H_\n#define USBHIDHANDLER_H_\n#include "cppmain.h"\n#include "ffb_defs.h"\n#include "hid_cmd_defs.h"\n\n\nclass UsbHidHandler {\npublic:\n static UsbHidHandler* globalHidHandler;\n\n UsbHidH...
168
3
{"language": "c", "success": true, "metadata": {"lines": 27, "avg_line_length": 26.93, "nodes": 103, "errors": 0, "source_hash": "7531f83f654cf6e1f7326d428aa61ed9503202b28082f89a83a6c2a685c4a8f0", "categorized_nodes": 66}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
77,347
c
/*************************************************************** * * Copyright (C) 1990-2007, Condor Team, Computer Sciences Department, * University of Wisconsin-Madison, WI. * * Licensed under the Apache License, Version 2.0 (the "License"); you * may not use this file except in compliance with the License. Y...
30.05
80
(translation_unit) "/***************************************************************\n *\n * Copyright (C) 1990-2007, Condor Team, Computer Sciences Department,\n * University of Wisconsin-Madison, WI.\n * \n * Licensed under the Apache License, Version 2.0 (the "License"); you\n * may not use this file except in compl...
468
0
{"language": "c", "success": true, "metadata": {"lines": 80, "avg_line_length": 30.05, "nodes": 318, "errors": 0, "source_hash": "496b4545bdf10e4b917e2c479504c697c2719f1bd26e33dbe063a257188d50e5", "categorized_nodes": 169}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
77,348
c
/* * 1742. 盒子中小球的最大数量 * https://leetcode-cn.com/problems/maximum-number-of-balls-in-a-box/ */ #include <stdio.h> #include <string.h> void main() { int num; num = countBalls(1, 100000); printf("%d\n", num); } int countBalls(int lowLimit, int highLimit) { int i,temp; int num=0,max=0,maxNum=0; int...
19.64
36
(translation_unit) "/*\n * 1742. 盒子中小球的最大数量\n * https://leetcode-cn.com/problems/maximum-number-of-balls-in-a-box/\n */\n#include <stdio.h>\n#include <string.h>\n\nvoid main() {\n int num;\n num = countBalls(1, 100000);\n printf("%d\n", num);\n}\nint countBalls(int lowLimit, int highLimit) \n{\n int i,temp;\n ...
259
0
{"language": "c", "success": true, "metadata": {"lines": 36, "avg_line_length": 19.64, "nodes": 150, "errors": 0, "source_hash": "3a1e819b1e6662b5fdd19d21c27e48b3b00e3c40cdd5eac10b4ab86f4f638ca5", "categorized_nodes": 108}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "incl...
77,349
c
// PARAM: --set ana.activated[+] var_eq // ldv-benchmarks: u__linux-concurrency_safety__drivers---net---ethernet---ethoc.ko.cil.c #include <assert.h> struct resource { char const *name ; unsigned long flags ; struct resource *parent ; struct resource *sibling ; struct resource *child ; }; struct resour...
25.25
20
(translation_unit) "// PARAM: --set ana.activated[+] var_eq\n// ldv-benchmarks: u__linux-concurrency_safety__drivers---net---ethernet---ethoc.ko.cil.c\n#include <assert.h>\n\nstruct resource {\n char const *name ;\n unsigned long flags ;\n struct resource *parent ;\n struct resource *sibling ;\n struct resour...
145
0
{"language": "c", "success": true, "metadata": {"lines": 20, "avg_line_length": 25.25, "nodes": 98, "errors": 0, "source_hash": "5ab33d8d9eb673b56caefd7350b2f09c254cacb1836454a18bc3f3a163478ed5", "categorized_nodes": 66}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
77,350
c
/****************************************************************************/ // Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.org/sumo // Copyright (C) 2001-2020 German Aerospace Center (DLR) and others. // This program and the accompanying materials are made available under the // terms of the Ecli...
39.59
121
(translation_unit) "/****************************************************************************/\n// Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.org/sumo\n// Copyright (C) 2001-2020 German Aerospace Center (DLR) and others.\n// This program and the accompanying materials are made available under t...
616
25
{"language": "c", "success": true, "metadata": {"lines": 121, "avg_line_length": 39.59, "nodes": 371, "errors": 0, "source_hash": "24c0600211ae716aa2f4c2c6fabbe068fcc71b8d34137facc4051b7f057f61b6", "categorized_nodes": 245}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragm...
77,351
c
/* * tlpairing.c * * Created on: Apr 13, 2011 * Author: dple */ #include<stdio.h> #include "init.h" #include "fp.h" #include "fpk.h" #include "utils.h" #include "parameters.h" #include "curvepoint_fp.h" #include "curvepoint_fpk.h" #include "curve.h" #include "cpucycles.h" #include "weil_tate.h" unsigned ...
29.52
270
(translation_unit) "/*\n * tlpairing.c\n *\n * Created on: Apr 13, 2011\n * Author: dple\n */\n\n#include<stdio.h>\n\n#include "init.h"\n#include "fp.h"\n#include "fpk.h"\n#include "utils.h"\n#include "parameters.h"\n#include "curvepoint_fp.h"\n#include "curvepoint_fpk.h"\n#include "curve.h"\n#include "cpucycles....
2,235
0
{"language": "c", "success": true, "metadata": {"lines": 270, "avg_line_length": 29.52, "nodes": 1194, "errors": 0, "source_hash": "dfa339d0d6236bc9df64645cb086c38849b1c00694a732a0ace97ad20e07ea43", "categorized_nodes": 784}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#i...
77,352
c
/** * This file parses the output of a planner and generates a list of ActionDispatch messages. */ #include "ros/ros.h" #include <string> #include <fstream> #include "std_msgs/String.h" #include "std_srvs/Empty.h" #include "rosplan_dispatch_msgs/ParsingService.h" #include "rosplan_dispatch_msgs/ActionDispatch.h" #...
31.12
33
(translation_unit) "/**\n * This file parses the output of a planner and generates a list of ActionDispatch messages.\n */\n#include "ros/ros.h"\n\n#include <string>\n#include <fstream>\n\n#include "std_msgs/String.h"\n#include "std_srvs/Empty.h"\n#include "rosplan_dispatch_msgs/ParsingService.h"\n#include "rosplan_dis...
234
11
{"language": "c", "success": true, "metadata": {"lines": 33, "avg_line_length": 31.12, "nodes": 139, "errors": 0, "source_hash": "ba4f17a0010f191790281e4cec84b6e04493706dcb383e2b10603c51bdf9ef8d", "categorized_nodes": 101}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
77,353
c
/* this ALWAYS GENERATED file contains the definitions for the interfaces */ /* File created by MIDL compiler version 8.01.0622 */ /* at Tue Jan 19 11:14:07 2038 */ /* Compiler settings for SimpleServer.idl: Oicf, W1, Zp8, env=Win32 (32b run), target_arch=X86 8.01.0622 protocol : dce , ms_ext, c_ext, rob...
32.58
143
(translation_unit) "/* this ALWAYS GENERATED file contains the definitions for the interfaces */\n\n\n /* File created by MIDL compiler version 8.01.0622 */\n/* at Tue Jan 19 11:14:07 2038\n */\n/* Compiler settings for SimpleServer.idl:\n Oicf, W1, Zp8, env=Win32 (32b run), target_arch=X86 8.01.0622 \n protocol ...
686
19
{"language": "c", "success": true, "metadata": {"lines": 143, "avg_line_length": 32.58, "nodes": 497, "errors": 0, "source_hash": "0831e826a28be7211ce0e02338e9a6061f0fd66cb673e5a51968685958ea377b", "categorized_nodes": 291}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
77,354
c
#ifndef RAPT_FILTERDEMOS_H #define RAPT_FILTERDEMOS_H #include "../Shared/Shared.h" void ladderImpulseResponse(); void phasorImpulseResponse(); void svfImpulseResponse(); #endif
24.43
7
(translation_unit) "#ifndef RAPT_FILTERDEMOS_H\n#define RAPT_FILTERDEMOS_H\n\n#include "../Shared/Shared.h"\n\nvoid ladderImpulseResponse();\nvoid phasorImpulseResponse();\nvoid svfImpulseResponse();\n\n#endif" (preproc_ifdef) "#ifndef RAPT_FILTERDEMOS_H\n#define RAPT_FILTERDEMOS_H\n\n#include "../Shared/Shared.h"\n\...
38
0
{"language": "c", "success": true, "metadata": {"lines": 7, "avg_line_length": 24.43, "nodes": 25, "errors": 0, "source_hash": "2dbd1845a03e3ba16c41eed81fa6850f82f5bbfdb36931a8daf5a281ed3d30c6", "categorized_nodes": 17}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef R...
77,355
c
/** * Appcelerator Titanium Mobile * Copyright (c) 2009-2016 by Appcelerator, Inc. All Rights Reserved. * Licensed under the terms of the Apache Public License * Please see the LICENSE included with this distribution for details. * * WARNING: This is generated code. Modify at your own risk and without support. ...
27.37
30
(translation_unit) "/**\n * Appcelerator Titanium Mobile\n * Copyright (c) 2009-2016 by Appcelerator, Inc. All Rights Reserved.\n * Licensed under the terms of the Apache Public License\n * Please see the LICENSE included with this distribution for details.\n * \n * WARNING: This is generated code. Modify at your own r...
149
9
{"language": "c", "success": true, "metadata": {"lines": 30, "avg_line_length": 27.37, "nodes": 103, "errors": 0, "source_hash": "6b61010a1de03779685b79aeb3f5f501a12da13bd62993b96333c9a4e99eac05", "categorized_nodes": 59}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifdef ...
77,356
c
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_RENDERER_RENDERER_FONT_PLATFORM_WIN_H_ #define CHROME_RENDERER_RENDERER_FONT_PLATFORM_WIN_H_ struct IDWriteFactory; struct IDWriteFontColl...
44.45
11
(translation_unit) "// Copyright 2014 The Chromium Authors. All rights reserved.\n// Use of this source code is governed by a BSD-style license that can be\n// found in the LICENSE file.\n\n#ifndef CHROME_RENDERER_RENDERER_FONT_PLATFORM_WIN_H_\n#define CHROME_RENDERER_RENDERER_FONT_PLATFORM_WIN_H_\n\nstruct IDWriteFact...
42
0
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 44.45, "nodes": 28, "errors": 0, "source_hash": "661afd15277fff769ae52bb44a8f70e403de80dd2c6ca22fc7056e5ce55c5cf8", "categorized_nodes": 21}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
77,357
c
// // WindParticle.h // hwweather // // Created by 龙兴国 on 2019/6/12. // Copyright © 2019 龙兴国. All rights reserved. // #import <Foundation/Foundation.h> #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @interface WindParticle : NSObject //速度 @property (nonatomic,assign) CGFloat vScale; //生命 @property (nonatomic,assi...
25.28
39
(translation_unit) "//\n// WindParticle.h\n// hwweather\n//\n// Created by 龙兴国 on 2019/6/12.\n// Copyright © 2019 龙兴国. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n#import <UIKit/UIKit.h>\nNS_ASSUME_NONNULL_BEGIN\n@interface WindParticle : NSObject\n//速度\n@property (nonatomic,assign) CGFloat vScal...
280
21
{"language": "c", "success": true, "metadata": {"lines": 39, "avg_line_length": 25.28, "nodes": 177, "errors": 0, "source_hash": "7440965e5b4bc2341236b778a578561afd43bf4d680352cc5b3cb08710a8b9df", "categorized_nodes": 126}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "dation/...
77,358
c
// // DataSourceFramework.h // DataSourceFramework // // Created by <NAME> // #import <Foundation/Foundation.h> //! Project version number for DataSourceFramework. FOUNDATION_EXPORT double DataSourceFrameworkVersionNumber; //! Project version string for DataSourceFramework. FOUNDATION_EXPORT const unsigned char D...
40.42
12
(translation_unit) "//\n// DataSourceFramework.h\n// DataSourceFramework\n//\n// Created by <NAME>\n//\n\n#import <Foundation/Foundation.h>\n\n//! Project version number for DataSourceFramework.\nFOUNDATION_EXPORT double DataSourceFrameworkVersionNumber;\n\n//! Project version string for DataSourceFramework.\nFOUNDA...
32
1
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 40.42, "nodes": 15, "errors": 0, "source_hash": "274c0c7126650ad5120fa1e9fc96df82d8326cc7f395b6583aed1d6ad79953e8", "categorized_nodes": 10}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <...
77,359
c
//===- CPPUtil.h -- Base class of pointer analyses ---------------------------// // // SVF: Static Value-Flow Analysis // // Copyright (C) <2013-2017> <<NAME>> // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as publ...
30.87
110
(translation_unit) "//===- CPPUtil.h -- Base class of pointer analyses ---------------------------//\n//\n// SVF: Static Value-Flow Analysis\n//\n// Copyright (C) <2013-2017> <<NAME>>\n//\n\n// This program is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Ge...
467
12
{"language": "c", "success": true, "metadata": {"lines": 110, "avg_line_length": 30.87, "nodes": 265, "errors": 0, "source_hash": "aa9fd12212991e5599f7e13f40725ccdaa1612ef33af453d96656bc74b85cb64", "categorized_nodes": 185}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
77,360
c
// // yas_audio_sample_kernel.h // #pragma once #include <audio/yas_audio_umbrella.h> #include <Accelerate/Accelerate.h> namespace yas::audio::sample { class kernel; using kernel_ptr = std::shared_ptr<kernel>; } namespace yas::audio::sample { struct kernel { kernel() : _phase(0), _sine_data(_sineDataMa...
34.97
87
(translation_unit) "//\n// yas_audio_sample_kernel.h\n//\n\n#pragma once\n\n#include <audio/yas_audio_umbrella.h>\n#include <Accelerate/Accelerate.h>\n\nnamespace yas::audio::sample {\n class kernel;\n using kernel_ptr = std::shared_ptr<kernel>;\n}\n\nnamespace yas::audio::sample {\nstruct kernel {\n kernel()...
858
36
{"language": "c", "success": true, "metadata": {"lines": 87, "avg_line_length": 34.97, "nodes": 483, "errors": 0, "source_hash": "e0b2ed28b07095f10315782b788204b2fde97da1131056f2a0f7f8f2ef0b6ff3", "categorized_nodes": 328}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
77,361
c
/**************************************************************************** ****************************************************************************/ #ifndef __NS_ZONE_H__ #define __NS_ZONE_H__ #include "support/NSPlatformMacros.h" #include <stdio.h> NS_NS_BEGIN /** * @addtogroup data_structures * @{ */ ...
21.17
23
(translation_unit) "/****************************************************************************\n\n****************************************************************************/\n\n#ifndef __NS_ZONE_H__\n#define __NS_ZONE_H__\n\n#include "support/NSPlatformMacros.h"\n#include <stdio.h>\n\nNS_NS_BEGIN\n\n/**\n * @addto...
67
2
{"language": "c", "success": true, "metadata": {"lines": 23, "avg_line_length": 21.17, "nodes": 39, "errors": 0, "source_hash": "0edbc99eaf184617b181bd15f98b4ee0f1af6309b4d417e92ba23129bf8f0c6a", "categorized_nodes": 27}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
77,362
c
#include <armor.h> #include <ansi.h> inherit SHIELD; void create() { set_name(HIG"藤牌"NOR, ({ "tengpai"}) ); set_weight(300); if( clonep() ) set_default_object(__FILE__); else { set("material", "鐵"); set("unit", "個"); set("value",1500); set("armor_prop/armor",35); set("armor_pr...
18.61
18
(translation_unit) "#include <armor.h>\n#include <ansi.h>\ninherit SHIELD;\n\nvoid create()\n{\n set_name(HIG"藤牌"NOR, ({ "tengpai"}) );\n set_weight(300);\n if( clonep() )\n set_default_object(__FILE__);\n else {\n set("material", "鐵");\n set("unit", "個");\n set("value",1500);\n set("armor_p...
156
1
{"language": "c", "success": true, "metadata": {"lines": 18, "avg_line_length": 18.61, "nodes": 61, "errors": 0, "source_hash": "3e19b4dcf077099ba69dbf24f98eb661f9a911dd2ea04e336d1b12e1be035688", "categorized_nodes": 47}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
77,363
c
// // CMLEnvironmentManage.h // Chameleon // // Created by Chameleon-Team on 2018/12/28. // #import <Foundation/Foundation.h> #import "CMLWeexService.h" //#import "CMLReactNativeService.h" typedef NS_ENUM(NSInteger, CMLServiceType){ CMLServiceTypeWeex = 1, CMLServiceTypeReactNative = 1 << 1 }; @interface ...
20.7
30
(translation_unit) "//\n// CMLEnvironmentManage.h\n// Chameleon\n//\n// Created by Chameleon-Team on 2018/12/28.\n//\n\n#import <Foundation/Foundation.h>\n#import "CMLWeexService.h"\n//#import "CMLReactNativeService.h"\n\ntypedef NS_ENUM(NSInteger, CMLServiceType){\n CMLServiceTypeWeex = 1,\n CMLServiceTypeRea...
98
15
{"language": "c", "success": true, "metadata": {"lines": 30, "avg_line_length": 20.7, "nodes": 65, "errors": 0, "source_hash": "5dd09b5aca63a8fd59e1cfb5643c37a8e2367624a489eb98538160fbcd03cbb1", "categorized_nodes": 36}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <F...
77,364
c
/* unbal5.h */ int unbal5; /* unterminated comment
26.5
2
(translation_unit) "/* unbal5.h */\nint unbal5; /* unterminated comment\n" (comment) "/* unbal5.h */" (declaration) "int unbal5;" (primitive_type) "int" (identifier) "unbal5" (;) ";" (ERROR) "/* unterminated comment" (/) "/" (pointer_expression) "* unterminated" (*) "*" (identi...
12
1
{"language": "c", "success": true, "metadata": {"lines": 2, "avg_line_length": 26.5, "nodes": 9, "errors": 0, "source_hash": "128f35cc70f4d85bd76305a00e75193daff11abd6efe41246696341e1d5060a8", "categorized_nodes": 5}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "declaration", "text": "int unbal5;", ...
77,365
c
// // ViewController.h // BlackDollar // // Created by <NAME> on 1/3/17. // Copyright © 2017 <NAME>. All rights reserved. // #import <UIKit/UIKit.h> @interface ViewController : UIViewController @end
17.55
11
(translation_unit) "//\n// ViewController.h\n// BlackDollar\n//\n// Created by <NAME> on 1/3/17.\n// Copyright © 2017 <NAME>. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface ViewController : UIViewController\n\n\n@end\n\n" (comment) "//" (comment) "// ViewController.h" (comment) "// BlackD...
22
4
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 17.55, "nodes": 11, "errors": 0, "source_hash": "7c2f9491fe1eaaee14a339e23b2f76e093b7d0f104f47d987f81e7b13267c2a9", "categorized_nodes": 6}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <UI...
77,366
c
// Copyright 2022 <NAME> #ifndef MODULES_TASK_3_PICHUGIN_I_SOBEL_TBB_OPERATOR_SOBEL_H_ #define MODULES_TASK_3_PICHUGIN_I_SOBEL_TBB_OPERATOR_SOBEL_H_ #include <tbb/tbb.h> #include <iostream> class Sobel { private: int* matrix; size_t mSize; public: Sobel(); explicit Sobel(size_t m_size); Sobel(const Sobe...
27.92
24
(translation_unit) "// Copyright 2022 <NAME>\n#ifndef MODULES_TASK_3_PICHUGIN_I_SOBEL_TBB_OPERATOR_SOBEL_H_\n#define MODULES_TASK_3_PICHUGIN_I_SOBEL_TBB_OPERATOR_SOBEL_H_\n\n#include <tbb/tbb.h>\n\n#include <iostream>\n\nclass Sobel {\n private:\n int* matrix;\n size_t mSize;\n\n public:\n Sobel();\n explicit Sobel...
184
3
{"language": "c", "success": true, "metadata": {"lines": 24, "avg_line_length": 27.92, "nodes": 119, "errors": 0, "source_hash": "b3f16b6c986d6dea54a742e468353ce4c16b23391a4fd8dac4f4cc0fbf1a9785", "categorized_nodes": 82}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
77,367
c
/* * options.h * * Global options. * * Copyright (c) 2000 <NAME> <<EMAIL>> * * $Id: options.h,v 1.4 2001/03/15 08:33:06 dugsong Exp $ */ #ifndef OPTIONS_H #define OPTIONS_H extern int Opt_client; extern u_short Opt_dns; extern int Opt_debug; extern int Opt_magic; extern int Opt_read; extern int Opt_write; ext...
18.2
20
(translation_unit) "/*\n * options.h\n *\n * Global options.\n *\n * Copyright (c) 2000 <NAME> <<EMAIL>>\n *\n * $Id: options.h,v 1.4 2001/03/15 08:33:06 dugsong Exp $\n */\n\n#ifndef OPTIONS_H\n#define OPTIONS_H\n\nextern int Opt_client;\nextern u_short Opt_dns;\nextern int Opt_debug;\nextern int Opt_magic;\nextern in...
58
0
{"language": "c", "success": true, "metadata": {"lines": 20, "avg_line_length": 18.2, "nodes": 47, "errors": 0, "source_hash": "b9f81f16ae121103374ca4a82189e0e6cc4e701c30f260bac5832b3fa16097c5", "categorized_nodes": 30}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef O...
77,368
c
#if defined(PEGASUS_OS_HPUX) # include "UNIX_PrivilegePrivate_HPUX.h" #elif defined(PEGASUS_OS_LINUX) # include "UNIX_PrivilegePrivate_LINUX.h" #elif defined(PEGASUS_OS_DARWIN) # include "UNIX_PrivilegePrivate_DARWIN.h" #elif defined(PEGASUS_OS_AIX) # include "UNIX_PrivilegePrivate_AIX.h" #elif defined(PEGASUS_OS_FREE...
33
21
(translation_unit) "#if defined(PEGASUS_OS_HPUX)\n# include "UNIX_PrivilegePrivate_HPUX.h"\n#elif defined(PEGASUS_OS_LINUX)\n# include "UNIX_PrivilegePrivate_LINUX.h"\n#elif defined(PEGASUS_OS_DARWIN)\n# include "UNIX_PrivilegePrivate_DARWIN.h"\n#elif defined(PEGASUS_OS_AIX)\n# include "UNIX_PrivilegePrivate_AIX.h"\n#e...
136
0
{"language": "c", "success": true, "metadata": {"lines": 21, "avg_line_length": 33.0, "nodes": 87, "errors": 0, "source_hash": "7d849ededb907932bf269fda3fe1bd0ed9311bd15223e957f787a6e82dc1d52f", "categorized_nodes": 58}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_if", "text": "#if defined(...
77,369
c
/* * touchgfx.c * * Created on: 2021. 5. 27. * Author: baram */ #include "touchgfx.h" void touchgfx_init(void); void touchgfx_taskEntry(void); static void TouchGFX_Task(void const *argument); bool touchgfxInit(void) { bool ret = false; touchgfx_init(); osThreadDef(TouchGFX_Task, TouchGFX...
18.43
37
(translation_unit) "/*\n * touchgfx.c\n *\n * Created on: 2021. 5. 27.\n * Author: baram\n */\n\n\n\n\n#include "touchgfx.h"\n\n\n\n\n\nvoid touchgfx_init(void);\nvoid touchgfx_taskEntry(void);\n\nstatic void TouchGFX_Task(void const *argument);\n\n\nbool touchgfxInit(void)\n{\n bool ret = false;\n\n\n touchgfx...
185
0
{"language": "c", "success": true, "metadata": {"lines": 37, "avg_line_length": 18.43, "nodes": 102, "errors": 0, "source_hash": "ab8486b2819489e134fe450e8274048219ef5da64665ef7f3564ea26a65cbed7", "categorized_nodes": 56}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
77,370
c
//[]---------------------------------------------------------------[] //| | //| Copyright (C) 2014, 2019 Orthrus Group. | //| | //| This software is provided 'as-is', w...
28.5
158
(translation_unit) "//[]---------------------------------------------------------------[]\n//| |\n//| Copyright (C) 2014, 2019 Orthrus Group. |\n//| |\n//| This softwar...
715
12
{"language": "c", "success": true, "metadata": {"lines": 158, "avg_line_length": 28.5, "nodes": 373, "errors": 0, "source_hash": "d853ec8bca4e69628a708d4f585fe16f56185b03aa5e32c3a4979b234ea6a799", "categorized_nodes": 288}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
77,371
c
# include "../hdr/defines.h" static char Sccsid[] = "@(#)setup.c 1.3 02/15/87"; setup(pkt,serial) register struct packet *pkt; int serial; { register int n; register struct apply *rap; int first_app = 1; pkt->p_apply[serial].a_inline = 1; for (n = maxser(pkt); n; n--) { rap = &pkt->p_apply[n]; if (rap->a_in...
19.54
74
(translation_unit) "# include "../hdr/defines.h"\n\nstatic char Sccsid[] = "@(#)setup.c 1.3 02/15/87";\n\nsetup(pkt,serial)\nregister struct packet *pkt;\nint serial;\n{\n register int n;\n register struct apply *rap;\n int first_app = 1;\n\n pkt->p_apply[serial].a_inline = 1;\n for (n = maxser(pkt); n; n--) {\n rap =...
638
0
{"language": "c", "success": true, "metadata": {"lines": 74, "avg_line_length": 19.54, "nodes": 392, "errors": 0, "source_hash": "99ce1ceb9590e04083dd25855966001a0fa29e00d98d939d6e0ecf06a038ca0e", "categorized_nodes": 307}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "# in...
77,372
c
#pragma once #include "../MetaIntervalHandInfo.h" #include "../HD_Sequencers/OHJSequencing.h" struct OHJumpModGuyThing { const CalcPatternMod _pmod = OHJumpMod; const std::string name = "OHJumpMod"; #pragma region params float min_mod = 0.75F; float max_mod = 1.F; float max_seq_weight = 0.65F; float max_seq_p...
31.5
148
(translation_unit) "#pragma once\n#include "../MetaIntervalHandInfo.h"\n#include "../HD_Sequencers/OHJSequencing.h"\n\nstruct OHJumpModGuyThing\n{\n const CalcPatternMod _pmod = OHJumpMod;\n const std::string name = "OHJumpMod";\n\n#pragma region params\n\n float min_mod = 0.75F;\n float max_mod = 1.F;\n\n float max_se...
993
38
{"language": "c", "success": true, "metadata": {"lines": 148, "avg_line_length": 31.5, "nodes": 599, "errors": 0, "source_hash": "85ca8d24afd79e53484b17fd2260031eeab73f852ff2a7d1702b3fd89576d0c9", "categorized_nodes": 416}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
77,373
c
/**CFile**************************************************************** FileName [mainUtils.c] SystemName [ABC: Logic synthesis and verification system.] PackageName [The main package.] Synopsis [Miscellaneous utilities.] Author [<NAME>] Affiliation [UC Berkeley] Date [Ver. 1...
33.98
194
(translation_unit) "/**CFile****************************************************************\n\n FileName [mainUtils.c]\n\n SystemName [ABC: Logic synthesis and verification system.]\n \n PackageName [The main package.]\n\n Synopsis [Miscellaneous utilities.]\n\n Author [<NAME>]\n \n Affiliation [UC ...
1,151
0
{"language": "c", "success": true, "metadata": {"lines": 194, "avg_line_length": 33.98, "nodes": 589, "errors": 0, "source_hash": "4cce68c0c0443cc1b91d05efdc6758eb53c57f8b8db1f1c7cf025ad9f21b0f3e", "categorized_nodes": 399}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
77,374
c
#pragma once #include <SFML/Graphics.hpp> #include <random> #include <memory> #include "Button.h" #include "Dropdown.h" #include "SortingAlgorithm.h" #include "Bubble.h" #include "Selection.h" #include "Insertion.h" #include "Cycle.h" #include "Merge.h" #include "Quick.h" #include "StringU.h" using namespace sf; class...
19.71
38
(translation_unit) "#pragma once\n#include <SFML/Graphics.hpp>\n#include <random>\n#include <memory>\n#include "Button.h"\n#include "Dropdown.h"\n#include "SortingAlgorithm.h"\n#include "Bubble.h"\n#include "Selection.h"\n#include "Insertion.h"\n#include "Cycle.h"\n#include "Merge.h"\n#include "Quick.h"\n#include "Stri...
235
2
{"language": "c", "success": true, "metadata": {"lines": 38, "avg_line_length": 19.71, "nodes": 150, "errors": 0, "source_hash": "a0959452d0b0e6155aca64341f566fdd34a61bb2007f3b81fe9485c81e7b6c2e", "categorized_nodes": 111}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
77,375
c
// Copyright (C) 2017 by bodguy // This code is licensed under Apache 2.0 license (see LICENSE.md for details) #ifndef TheodoreEngine_h #define TheodoreEngine_h #include "Asset/AssetManager.h" #include "Asset/Font.h" #include "Asset/MSAATexture2D.h" #include "Asset/Shader.h" #include "Asset/Texture.h" #include "Asset...
33.49
59
(translation_unit) "// Copyright (C) 2017 by bodguy\n// This code is licensed under Apache 2.0 license (see LICENSE.md for details)\n\n#ifndef TheodoreEngine_h\n#define TheodoreEngine_h\n\n#include "Asset/AssetManager.h"\n#include "Asset/Font.h"\n#include "Asset/MSAATexture2D.h"\n#include "Asset/Shader.h"\n#include "As...
335
1
{"language": "c", "success": true, "metadata": {"lines": 59, "avg_line_length": 33.49, "nodes": 171, "errors": 0, "source_hash": "7b971a92809807bacacfd70bb0ccb1449bfb4dda1cca1b39241f111dc6ff5a74", "categorized_nodes": 168}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
77,376
c
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by <NAME>. // #import "NSExtensionContext.h" @interface CXProviderExtensionContext : NSExtensionContext { } + (id)_extensionAuxiliaryHostProtocol; + (id)_extensionAuxiliaryVendorProtocol; - (id)remot...
29.5
14
(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 "NSExtensionContext.h"\n\n@interface CXProviderExtensionContext : NSExtensionContext\n{\n}\n\n+ (id)_extensionAuxiliaryHostProtocol;\n+ (id)_extensionAux...
75
8
{"language": "c", "success": true, "metadata": {"lines": 14, "avg_line_length": 29.5, "nodes": 42, "errors": 0, "source_hash": "732eb29410594554ef8ab54a00febf984a7a47233069170ac03e8d38da8e3224", "categorized_nodes": 25}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import \"...
77,377
c
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. #pragma once #include <Microsoft/MixedReality/Sharing/VersionedStorage/KeyView.h> #include <Microsoft/MixedReality/Sharing/VersionedStorage/Detail/BlobLayout.h> #include <cassert> #include <cstddef> #include <iterator> namespace Microsoft::M...
37.33
69
(translation_unit) "// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\n#pragma once\n#include <Microsoft/MixedReality/Sharing/VersionedStorage/KeyView.h>\n\n#include <Microsoft/MixedReality/Sharing/VersionedStorage/Detail/BlobLayout.h>\n\n#include <cassert>\n#include <cstddef>\n#include <ite...
520
22
{"language": "c", "success": true, "metadata": {"lines": 69, "avg_line_length": 37.33, "nodes": 327, "errors": 0, "source_hash": "6c5c64d1e04a90ed99326e9fedf948aff17e1b4789808baadbbbb19353b51c43", "categorized_nodes": 217}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
77,378
c
/* * ====================================================================== * Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. * Licensed under the MIT License. * See LICENSE.md in the project root for license information. * =====================================================================...
33.31
26
(translation_unit) "/*\n * ======================================================================\n * Copyright (c) Microsoft Open Technologies, Inc. All rights reserved.\n * Licensed under the MIT License.\n * See LICENSE.md in the project root for license information.\n * ============================================...
126
6
{"language": "c", "success": true, "metadata": {"lines": 26, "avg_line_length": 33.31, "nodes": 78, "errors": 0, "source_hash": "37796c73a0184bf715165b60dce18d2324444060627db7511f75f91a3c4a9102", "categorized_nodes": 57}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
77,379
c
// // VDefines.h // Vitamio // // Created by <NAME> on 7/16/13. // Copyright (c) 2013 yixia. All rights reserved. // #ifndef VITAMIO_VDEFINES_H #define VITAMIO_VDEFINES_H #ifdef __cplusplus #define VITAMIO_EXTERN extern "C" __attribute__((visibility ("default"))) #else #define VITAMIO_EXTERN extern __attrib...
20.47
17
(translation_unit) "//\n// VDefines.h\n// Vitamio\n//\n// Created by <NAME> on 7/16/13.\n// Copyright (c) 2013 yixia. All rights reserved.\n//\n\n#ifndef VITAMIO_VDEFINES_H\n#define VITAMIO_VDEFINES_H\n\n\n#ifdef __cplusplus\n#define VITAMIO_EXTERN extern "C" __attribute__((visibility ("default")))\n#else\n#define...
29
0
{"language": "c", "success": true, "metadata": {"lines": 17, "avg_line_length": 20.47, "nodes": 21, "errors": 0, "source_hash": "fc64a63c91360f34070bbffef38e19ec3bab45ac9bc25d2848b3c766e2f93ea1", "categorized_nodes": 11}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
77,380
c
#pragma once #include "../commfunc.h" #include "../ca_method.h" // // Guided Filter for Cost Aggregatation // class GFCA : public CAMethod { public: GFCA(void) { printf( "\n\t\tGF method for cost aggregation" ); } ~GFCA(void) {} public: void aggreCV( const Mat& lImg, const Mat& rImg, const int maxDis, Mat* co...
17.33
18
(translation_unit) "#pragma once\n#include "../commfunc.h"\n#include "../ca_method.h"\n\n//\n// Guided Filter for Cost Aggregatation\n//\nclass GFCA :\n public CAMethod\n{\npublic:\n GFCA(void)\n {\n printf( "\n\t\tGF method for cost aggregation" );\n }\n\n ~GFCA(void) {}\npublic:\n void aggreCV( const Mat& lImg, cons...
109
4
{"language": "c", "success": true, "metadata": {"lines": 18, "avg_line_length": 17.33, "nodes": 52, "errors": 0, "source_hash": "c97d604d622623a5815866b6cf36d0e284700215a9f8797dbd21fc8df71d1164", "categorized_nodes": 33}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
77,381
c
//*****************************************************************************/ // // // // Copyright (c) 1997 - 2015 by <NAME> (<EMAIL>) // All Rights Reserved // // THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF <NAME>ovic (<EMAIL>) // // The...
34.58
103
(translation_unit) "//*****************************************************************************/\n//\n// \n//\n// Copyright (c) 1997 - 2015 by <NAME> (<EMAIL>) \n// All Rights Reserved\n//\n// THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF <NAME>ovic...
481
12
{"language": "c", "success": true, "metadata": {"lines": 103, "avg_line_length": 34.58, "nodes": 248, "errors": 0, "source_hash": "87a08f1c4fb2b8258bff5f21fae0571ded3930ace8a2d7a5a2c0b33a9c5eda2d", "categorized_nodes": 181}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_if", "text": "#if !def...
77,382
c
// SPDX-License-Identifier: MIT /* Functionality for common tasks with integers. */ #ifndef STDEX_INT_H #define STDEX_INT_H /* Convert an integer to string. */ extern char *itostr(const int __i); #endif /* STDEX_INT_H */
30.57
7
(translation_unit) "// SPDX-License-Identifier: MIT\n\n/* Functionality for common tasks with integers. */\n\n#ifndef STDEX_INT_H\n#define STDEX_INT_H\n\n/* Convert an integer to string. */\nextern char *itostr(const int __i);\n\n#endif /* STDEX_INT_H */\n" (comment) "// SPDX-License-Identifier: MIT" (comment) "/* ...
29
0
{"language": "c", "success": true, "metadata": {"lines": 7, "avg_line_length": 30.57, "nodes": 19, "errors": 0, "source_hash": "e27ec10126e7770abb55ea65c24c6a9f2fb6fb55181fce287f05ec63e6c6ae1e", "categorized_nodes": 11}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef S...
77,383
c
// // Created by <NAME> on 2015/10/18 // (based on UserInputMapper inner class created by <NAME> on 4/27/15) // Copyright 2015 High Fidelity, Inc. // // Distributed under the Apache License, Version 2.0. // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html // #pragma once #ifnde...
31.08
39
(translation_unit) "//\n// Created by <NAME> on 2015/10/18\n// (based on UserInputMapper inner class created by <NAME> on 4/27/15)\n// Copyright 2015 High Fidelity, Inc.\n//\n// Distributed under the Apache License, Version 2.0.\n// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.ht...
47
0
{"language": "c", "success": true, "metadata": {"lines": 39, "avg_line_length": 31.08, "nodes": 28, "errors": 0, "source_hash": "29aa2957181311adf04f09bf0c1123abb69b14336e24e997d61af9863be0c1df", "categorized_nodes": 24}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
77,384
c
// // FSSConditionObserver.h // FluctSDK // #import <UIKit/UIKit.h> typedef void (^completionHandler)(void); typedef BOOL (^shouldCompletionBlock)(void); NS_ASSUME_NONNULL_BEGIN @interface FSSConditionObserver : NSObject - (instancetype)initWithInterval:(NSTimeInterval)interval fallbackLimit:(N...
32.39
18
(translation_unit) "//\n// FSSConditionObserver.h\n// FluctSDK\n//\n\n#import <UIKit/UIKit.h>\n\ntypedef void (^completionHandler)(void);\ntypedef BOOL (^shouldCompletionBlock)(void);\n\nNS_ASSUME_NONNULL_BEGIN\n@interface FSSConditionObserver : NSObject\n\n- (instancetype)initWithInterval:(NSTimeInterval)interval\n ...
139
8
{"language": "c", "success": true, "metadata": {"lines": 18, "avg_line_length": 32.39, "nodes": 85, "errors": 0, "source_hash": "86da0c9ad78ab68b0c99381ac130e473803741be802db10d507c7f55b86849dc", "categorized_nodes": 46}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <...
77,385
c
#ifndef ICE_H #define ICE_H double psub_Ice(double T); double g_Ice(double T, double p); double dg_dp_Ice(double T, double p); double dg2_dp2_Ice(double T, double p); double IsothermCompress_Ice(double T, double p); double dg_dT_Ice(double T, double p); double h_Ice(double T, double p); double s_Ice(double T, double p...
29.42
12
(translation_unit) "#ifndef ICE_H\n#define ICE_H\n\ndouble psub_Ice(double T);\ndouble g_Ice(double T, double p);\ndouble dg_dp_Ice(double T, double p);\ndouble dg2_dp2_Ice(double T, double p);\ndouble IsothermCompress_Ice(double T, double p);\ndouble dg_dT_Ice(double T, double p);\ndouble h_Ice(double T, double p);\nd...
139
0
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 29.42, "nodes": 103, "errors": 0, "source_hash": "33b4faf65415319ddc213b9b3360c6a63763e99dd526221aefe6fdbd54eeeca2", "categorized_nodes": 66}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
77,386
c
#pragma once #include "Packet.h" #include <string> namespace kafkaprotocpp { struct RequestHeader { int16_t m_apikey; int16_t m_version; int32_t m_ctxid; std::string m_clientid; RequestHeader(int32_t ctxid, const std::string& clientid, int16_t apikey, int16_t apiver) : m_apikey(apikey), ...
25.46
26
(translation_unit) "#pragma once\n\n#include "Packet.h"\n#include <string>\n\nnamespace kafkaprotocpp {\n\nstruct RequestHeader {\n int16_t m_apikey;\n int16_t m_version;\n int32_t m_ctxid;\n std::string m_clientid;\n\n RequestHeader(int32_t ctxid, const std::string& clientid, int16_t apikey, int16_t api...
207
12
{"language": "c", "success": true, "metadata": {"lines": 26, "avg_line_length": 25.46, "nodes": 126, "errors": 0, "source_hash": "83e780b04f3249ccdb2488c7ebb7a479d5e99d33f2c23444f90a1a7d2f06c3a8", "categorized_nodes": 92}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma ...
77,387
c
// // DKMouseGridWindowController.h // Couch Slouch // // Created by <NAME> on 28/09/2012. // For license information, see LICENSE.markdown // #import <Cocoa/Cocoa.h> #import "cectypes.h" @class DKButtonDecoratedTextField; @interface DKMouseGridWindowController : NSWindowController @property (strong) IBOutlet N...
32.28
18
(translation_unit) "//\n// DKMouseGridWindowController.h\n// Couch Slouch\n//\n// Created by <NAME> on 28/09/2012.\n// For license information, see LICENSE.markdown\n//\n\n#import <Cocoa/Cocoa.h>\n#import "cectypes.h"\n\n@class DKButtonDecoratedTextField;\n\n@interface DKMouseGridWindowController : NSWindowControll...
116
19
{"language": "c", "success": true, "metadata": {"lines": 18, "avg_line_length": 32.28, "nodes": 77, "errors": 0, "source_hash": "4bf34f046efac68ce9d711f56e1a05d1a70885588e366b02376a45f86f6ebe71", "categorized_nodes": 42}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <...
77,388
c
#include <ansi.h> inherit WAITER; void create() { set_name("店铺伙计", ({ "huo ji", "huo", "ji" })); set("long", "他就是这家店铺的伙计。\n"); set("gender", "男性"); set("age", random(10) + 20); setup(); carry_object("/clone/cloth/cloth")->wear(); }
24.45
11
(translation_unit) "#include <ansi.h>\ninherit WAITER;\n\nvoid create()\n{\n set_name("店铺伙计", ({ "huo ji", "huo", "ji" }));\n set("long", "他就是这家店铺的伙计。\n");\n set("gender", "男性");\n set("age", random(10) + 20);\n\n setup();\n carry_object("/clone/cloth/cloth")->wear();\n}\n" (...
133
0
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 24.45, "nodes": 52, "errors": 0, "source_hash": "3d8797f367e1be84578b2ce5a5befd06bdfe5c08672fa638c614e5491ae097b0", "categorized_nodes": 39}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
77,389
c
// // MGTwitterMiscLibXMLParser.h // MGTwitterEngine // // Created by <NAME> on 11/02/2008. // Copyright 2008 Instinctive Code. // #import "MGTwitterEngineGlobalHeader.h" #import "MGTwitterLibXMLParser.h" @interface MGTwitterMiscLibXMLParser : MGTwitterLibXMLParser { } @end
22.25
12
(translation_unit) "//\n// MGTwitterMiscLibXMLParser.h\n// MGTwitterEngine\n//\n// Created by <NAME> on 11/02/2008.\n// Copyright 2008 Instinctive Code.\n//\n\n#import "MGTwitterEngineGlobalHeader.h"\n\n#import "MGTwitterLibXMLParser.h"\n\n@interface MGTwitterMiscLibXMLParser : MGTwitterLibXMLParser {\n\n}\n\n@end\...
30
5
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 22.25, "nodes": 15, "errors": 0, "source_hash": "e166f4279bf2a4560e9bf07c18d57e4eebb6f93b279c5807fd0759513d93f8aa", "categorized_nodes": 6}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import \"...
77,390
c
#include "ErrorCodes.h" #include "OutQueue.h" #include "Globals.h" #include "SharedMem.h" #include <stdio.h> #include <stdlib.h> #include <sys/ipc.h> #include <sys/shm.h> #include <string.h> //memcpy int OutQueue_Init(key_t shkey, size_t memSize) { printf("Initialize OutQueue\n"); //get keys key_t semkey...
32.62
76
(translation_unit) "#include "ErrorCodes.h"\n#include "OutQueue.h"\n#include "Globals.h"\n#include "SharedMem.h"\n\n#include <stdio.h>\n#include <stdlib.h>\n#include <sys/ipc.h>\n#include <sys/shm.h>\n#include <string.h> //memcpy\n\n\nint OutQueue_Init(key_t shkey, size_t memSize) {\n printf("Initialize OutQueue\n")...
680
0
{"language": "c", "success": true, "metadata": {"lines": 76, "avg_line_length": 32.62, "nodes": 403, "errors": 0, "source_hash": "5a70cfe4d398f824cf5d4de17d64a37f7ecb8820e865e5f8b4aa131d8c7cb033", "categorized_nodes": 291}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
77,391
c
#include <stdio.h> #include <errno.h> //Execvp (3) #include <unistd.h> //Procesos #include <stdlib.h> int main(int argc, char **argv) { //printf("\n[%s][%s][%s]\n", argv[0], argv[1], argv[2]); printf("\nComando introducido: %s\n", argv[1]); int i = execvp(argv[1], &(argv[1])); if (i == -1) { printf("E...
22
19
(translation_unit) "#include <stdio.h>\n#include <errno.h>\n//Execvp (3)\n#include <unistd.h>\n//Procesos\n#include <stdlib.h>\n\nint main(int argc, char **argv) {\n\n //printf("\n[%s][%s][%s]\n", argv[0], argv[1], argv[2]);\n\n printf("\nComando introducido: %s\n", argv[1]);\n\n int i = execvp(argv[1], &(argv[1]));\n\...
128
0
{"language": "c", "success": true, "metadata": {"lines": 19, "avg_line_length": 22.0, "nodes": 70, "errors": 0, "source_hash": "2b02c9b7d7863cd22b8b42901e4692a2c7dd347333423b3e908c230da20ee4ba", "categorized_nodes": 49}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#includ...
77,392
c
// // AppDelegate.h // MiAiApp // // Created by 徐阳 on 2017/5/17. // Copyright © 2017年 徐阳. All rights reserved. // #import <UIKit/UIKit.h> #import "MainTabBarController.h" @interface AppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWindow *window; @property (strong, nonatomic) Ma...
26.15
13
(translation_unit) "//\n// AppDelegate.h\n// MiAiApp\n//\n// Created by 徐阳 on 2017/5/17.\n// Copyright © 2017年 徐阳. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n#import "MainTabBarController.h"\n\n@interface AppDelegate : UIResponder <UIApplicationDelegate>\n\n@property (strong, nonatomic) UIWindow *window;\...
61
10
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 26.15, "nodes": 43, "errors": 0, "source_hash": "225b631c5fc29edeced431d410f329d8193152809bd9e016b217fded48bb1515", "categorized_nodes": 21}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "Kit/UIKit...
77,393
c
/* This file is a part of JRTPLIB Copyright (c) 1999-2011 <NAME> Contact: <EMAIL> This library was developed at the Expertise Centre for Digital Media (http://www.edm.uhasselt.be), a research center of the Hasselt University (http://www.uhasselt.be). The library is based upon work done for my thesis a...
37.11
91
(translation_unit) "/*\n\n This file is a part of JRTPLIB\n Copyright (c) 1999-2011 <NAME>\n\n Contact: <EMAIL>\n\n This library was developed at the Expertise Centre for Digital Media\n (http://www.edm.uhasselt.be), a research center of the Hasselt University\n (http://www.uhasselt.be). The library is based upon...
626
11
{"language": "c", "success": true, "metadata": {"lines": 91, "avg_line_length": 37.11, "nodes": 365, "errors": 0, "source_hash": "2990e0fc670721900340c5c04fa252d2e24e729e95df375fd16c80c169ed94f8", "categorized_nodes": 273}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
77,394
c
#ifndef SELECTOR_CLIM_H #define SELECTOR_CLIM_H #include "Selector.h" //! Creates an ensemble by selecting past observations corresponding to a similar time of day //! and date of year class SelectorClim : public Selector { public: SelectorClim(const Options& iOptions, const Data& iData); bool isLocation...
33.85
27
(translation_unit) "#ifndef SELECTOR_CLIM_H\n#define SELECTOR_CLIM_H\n#include "Selector.h"\n//! Creates an ensemble by selecting past observations corresponding to a similar time of day\n//! and date of year\nclass SelectorClim : public Selector {\n public:\n SelectorClim(const Options& iOptions, const Data& iD...
208
13
{"language": "c", "success": true, "metadata": {"lines": 27, "avg_line_length": 33.85, "nodes": 103, "errors": 0, "source_hash": "2b88990df00c4ff928d4f94e509842d95db0209ab022999a235ae041f1702a34", "categorized_nodes": 65}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
77,395
c
#include <stdlib.h> #include <string.h> #include <stdio.h> #include "v1beta1_user_info.h" v1beta1_user_info_t *v1beta1_user_info_create( list_t* extra, list_t *groups, char *uid, char *username ) { v1beta1_user_info_t *v1beta1_user_info_local_var = malloc(sizeof(v1beta1_user_info_t)); if (!v...
29.02
162
(translation_unit) "#include <stdlib.h>\n#include <string.h>\n#include <stdio.h>\n#include "v1beta1_user_info.h"\n\n\n\nv1beta1_user_info_t *v1beta1_user_info_create(\n list_t* extra,\n list_t *groups,\n char *uid,\n char *username\n ) {\n v1beta1_user_info_t *v1beta1_user_info_local_var = malloc(sizeof(...
1,182
0
{"language": "c", "success": true, "metadata": {"lines": 162, "avg_line_length": 29.02, "nodes": 683, "errors": 0, "source_hash": "79ebdc1695d04810d4f79985d5d75c772835c5fb176b1f43d69608f5720e5ffe", "categorized_nodes": 453}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
77,396
c
// Copyright 2016 Silicon Laboratories, Inc. *80* #include PLATFORM_HEADER #include CONFIGURATION_HEADER #include "stack/include/ember-types.h" #include "stack/include/event.h" #include "hal/hal.h" #include EMBER_AF_API_BULB_PWM_DRIVER // ********************************************** ...
28.65
263
(translation_unit) "// Copyright 2016 Silicon Laboratories, Inc. *80*\n\n#include PLATFORM_HEADER\n#include CONFIGURATION_HEADER\n#include "stack/include/ember-types.h"\n#include "stack/include/event.h"\n#include "hal/hal.h"\n\n#include EMBER_AF_API_BULB_PWM_DRIVER\n\n// *****************...
1,827
0
{"language": "c", "success": true, "metadata": {"lines": 263, "avg_line_length": 28.65, "nodes": 1054, "errors": 0, "source_hash": "46c047ce743f27d8694a2c5ae7ed07f7916924f3ff93f1ed66d372fc58e07182", "categorized_nodes": 779}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#i...
77,397
c
// Copyright 2021 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef REMOTING_HOST_REMOTE_OPEN_URL_CLIENT_H_ #define REMOTING_HOST_REMOTE_OPEN_URL_CLIENT_H_ #include <memory> #include "base/callback.h" #include "b...
37.13
38
(translation_unit) "// Copyright 2021 The Chromium Authors. All rights reserved.\n// Use of this source code is governed by a BSD-style license that can be\n// found in the LICENSE file.\n\n#ifndef REMOTING_HOST_REMOTE_OPEN_URL_CLIENT_H_\n#define REMOTING_HOST_REMOTE_OPEN_URL_CLIENT_H_\n\n#include <memory>\n\n#include ...
259
14
{"language": "c", "success": true, "metadata": {"lines": 38, "avg_line_length": 37.13, "nodes": 140, "errors": 0, "source_hash": "76330798516836993584bf18de3d68d618f15e93534f8cd6477740258797fe7e", "categorized_nodes": 101}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
77,398
c
// -*- C++ -*- // =================================================================== /** * @file IORInfo.h * * IORInfo.h,v 1.2 2000/11/17 00:12:48 othman Exp * * @author <NAME> <<EMAIL>> */ // =================================================================== #ifndef TAO_IOR_INFO_H #define T...
25.36
118
(translation_unit) "// -*- C++ -*- \n \n// =================================================================== \n/** \n * @file IORInfo.h \n * \n * IORInfo.h,v 1.2 2000/11/17 00:12:48 othman Exp \n * \n * @author <NAME> <<EMAIL>> \n */ \n// =================================================================== \n \n#...
432
23
{"language": "c", "success": true, "metadata": {"lines": 118, "avg_line_length": 25.36, "nodes": 243, "errors": 0, "source_hash": "3b164642685a9899c56ff61ea651960e083f0f2152b0946f5ef7be0ca79c861c", "categorized_nodes": 168}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
77,399