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
#include <iostream> using namespace std; void matrisYazdir(int dizi[][4], int); void matrisYazdir(char dizi[][4], int satirSayisi); int main() { int iMatris[3][4] = { {10, 15, 20, 25}, {30, 35, 40, 45}, {50, 55, 60, 65} }; char cMatris[2][4] = { 'I', 'S', 'T', 'A', 'N', 'B', 'U', 'L' }; mat...
12.91
53
(translation_unit) "#include <iostream>\nusing namespace std;\n\nvoid matrisYazdir(int dizi[][4], int);\nvoid matrisYazdir(char dizi[][4], int satirSayisi);\n\n\nint main()\n{\n int iMatris[3][4] = \n {\n {10, 15, 20, 25},\n {30, 35, 40, 45}, \n {50, 55, 60, 65}\n };\n \n char cMatris[2][4] = \n {\n 'I',\n 'S',\n 'T',\...
394
1
{"language": "c", "success": true, "metadata": {"lines": 53, "avg_line_length": 12.91, "nodes": 238, "errors": 0, "source_hash": "abfacd839b5cf7b7465c7da8b28cf701410e669fba47be39c031973ced1a1e91", "categorized_nodes": 148}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
3,400
c
#include<stdio.h> #include<stdlib.h> #include<stdbool.h> #include <string.h> typedef struct Node { int information; struct Node * left; struct Node * right; struct Node * original; } Node; typedef struct tree { struct Node * C; int count; } tree; void init(tree* K) { struct tree * next_tree = malloc(sizeof n...
13.46
184
(translation_unit) "#include<stdio.h>\n#include<stdlib.h>\n#include<stdbool.h>\n#include <string.h>\n\ntypedef struct Node\n{\n int information;\n struct Node * left;\n struct Node * right;\n struct Node * original;\n}\nNode;\n\ntypedef struct tree {\n struct Node * C;\n\n int count;\n}\ntree;\n\nvoid init(tree* K)\n{\...
1,260
0
{"language": "c", "success": true, "metadata": {"lines": 184, "avg_line_length": 13.46, "nodes": 782, "errors": 0, "source_hash": "a1b1c0ed4046fcc64ea08f18a802de80a871cd705a6a5ca895e8de58b1ca86f6", "categorized_nodes": 560}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
3,401
c
/** * Copyright (c) 2019 TokenPay * * Distributed under the MIT/X11 software license, * see the accompanying file COPYING or http://www.opensource.org/licenses/mit-license.php. */ //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// #ifndef TOR_...
28.32
91
(translation_unit) "/**\n * Copyright (c) 2019 TokenPay\n *\n * Distributed under the MIT/X11 software license,\n * see the accompanying file COPYING or http://www.opensource.org/licenses/mit-license.php.\n */\n\n///////////////////////////////////////////////////////////////////////////////////////////////////////////...
257
0
{"language": "c", "success": true, "metadata": {"lines": 91, "avg_line_length": 28.32, "nodes": 167, "errors": 0, "source_hash": "268419fbd7f7f4c019af4b2e0475d78a4b292471b431b9775ff7aa5cddffde4c", "categorized_nodes": 105}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
3,402
c
#include <stdlib.h> #include <stdio.h> #include <string.h> #include <fcntl.h> #include <ffi.h> #include "fficonfig.h" #if defined HAVE_STDINT_H #include <stdint.h> #endif #if defined HAVE_INTTYPES_H #include <inttypes.h> #endif #define MAX_ARGS 256 #define CHECK(x) (void)(!(x) ? (abort(), 1) : 0) ...
21.75
138
(translation_unit) "#include <stdlib.h> \n#include <stdio.h> \n#include <string.h> \n#include <fcntl.h> \n#include <ffi.h> \n#include "fficonfig.h" \n \n#if defined HAVE_STDINT_H \n#include <stdint.h> \n#endif \n \n#if defined HAVE_INTTYPES_H \n#include <inttypes.h> \n#endif \n \n#define MAX_ARGS 256 \n \n#define CHECK...
463
0
{"language": "c", "success": true, "metadata": {"lines": 138, "avg_line_length": 21.75, "nodes": 404, "errors": 0, "source_hash": "5bdd0079ecbfd4f8a1c368dc89d387c6435522a04e2aa306ee67cb9c5de11837", "categorized_nodes": 189}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
3,403
c
#pragma once #include <boost/asio/io_context.hpp> #include <boost/bind.hpp> #include <thread> #include "../lib/libsocks2c.h" // all proxyserver or session timeout in 5s const int timeout = 5; void AsyncRun(boost::asio::io_context server_io[4]) { for (int i = 0; i < 4; ++i) { std::thread t(boost::bind(&b...
26.45
33
(translation_unit) "#pragma once\n\n#include <boost/asio/io_context.hpp>\n#include <boost/bind.hpp>\n#include <thread>\n\n#include "../lib/libsocks2c.h"\n\n// all proxyserver or session timeout in 5s\nconst int timeout = 5;\n\nvoid AsyncRun(boost::asio::io_context server_io[4])\n{\n for (int i = 0; i < 4; ++i) {\n ...
319
9
{"language": "c", "success": true, "metadata": {"lines": 33, "avg_line_length": 26.45, "nodes": 179, "errors": 0, "source_hash": "5c388b1a95d118d505de4d6880e866071de884f8c2566b2a87264a2f6c3d6009", "categorized_nodes": 125}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
3,404
c
/* Generated by RuntimeBrowser Image: /System/Library/PrivateFrameworks/Notes.framework/Notes */ @interface ICDispatchGroup : NSObject { NSObject<OS_dispatch_group> * _dispatchGroup; } @property (nonatomic, retain) NSObject<OS_dispatch_group> *dispatchGroup; - (void).cxx_destruct; - (id)dispatchGroup; - (voi...
29.53
15
(translation_unit) "/* Generated by RuntimeBrowser\n Image: /System/Library/PrivateFrameworks/Notes.framework/Notes\n */\n\n@interface ICDispatchGroup : NSObject {\n NSObject<OS_dispatch_group> * _dispatchGroup;\n}\n\n@property (nonatomic, retain) NSObject<OS_dispatch_group> *dispatchGroup;\n\n- (void).cxx_destruc...
134
10
{"language": "c", "success": true, "metadata": {"lines": 15, "avg_line_length": 29.53, "nodes": 82, "errors": 0, "source_hash": "c706b222ac6c06df6ebc8327d187ec3feb0877353718547703a71487029efd0d", "categorized_nodes": 46}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "@interface ICDis...
3,405
c
/* * Generated by class-dump 3.4 (64 bit). * * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2012 by <NAME>. */ #import "NSObject.h" @interface MCAddressManager : NSObject { } + (id)myFullName; + (id)addAddressToAddressBook:(id)arg1; + (id)addEmailAddressToCardMatchingFirstAndLastNameFromFormatt...
31.55
20
(translation_unit) "/*\n * Generated by class-dump 3.4 (64 bit).\n *\n * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2012 by <NAME>.\n */\n\n#import "NSObject.h"\n\n@interface MCAddressManager : NSObject\n{\n}\n\n+ (id)myFullName;\n+ (id)addAddressToAddressBook:(id)arg1;\n+ (id)addEmailAddressToCardM...
183
15
{"language": "c", "success": true, "metadata": {"lines": 20, "avg_line_length": 31.55, "nodes": 106, "errors": 0, "source_hash": "a9b3521092846ec7bcae2a4d955ac7ebde82391961985e58aebb1328eb1dce87", "categorized_nodes": 68}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import ...
3,406
c
/***************************************************************************** Licensed to Accellera Systems Initiative Inc. (Accellera) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. Accellera licenses...
44.28
179
(translation_unit) "/*****************************************************************************\n\n Licensed to Accellera Systems Initiative Inc. (Accellera) under one or\n more contributor license agreements. See the NOTICE file distributed\n with this work for additional information regarding copyright ownersh...
1,274
70
{"language": "c", "success": true, "metadata": {"lines": 179, "avg_line_length": 44.28, "nodes": 690, "errors": 0, "source_hash": "9995f9687ae78c1e2949314a2ea16203752a7a35f29dd6f963d541d9bc12bc47", "categorized_nodes": 478}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
3,407
c
// pei_tseng_notch(1070/(8000/2),150/(8000/2)) { .coeff_b0 = DEFINE_COEFF(+0.942846), .coeff_b1 = DEFINE_COEFF(-1.258101), .coeff_a2 = DEFINE_COEFF(+0.885692), }, // pei_tseng_notch(1270/(8000/2),150/(8000/2)) { .coeff_b0 = DEFINE_COEFF(+0.943270), .coeff_b1 = DEFINE_COEFF(-1.023338), .coeff_a2 ...
28.17
24
(translation_unit) "// pei_tseng_notch(1070/(8000/2),150/(8000/2))\n{\n .coeff_b0 = DEFINE_COEFF(+0.942846),\n .coeff_b1 = DEFINE_COEFF(-1.258101),\n .coeff_a2 = DEFINE_COEFF(+0.885692),\n},\n// pei_tseng_notch(1270/(8000/2),150/(8000/2))\n{\n .coeff_b0 = DEFINE_COEFF(+0.943270),\n .coeff_b1 = DEFINE_COE...
170
13
{"language": "c", "success": true, "metadata": {"lines": 24, "avg_line_length": 28.17, "nodes": 96, "errors": 0, "source_hash": "aeb99216fdaa2d1ee0ee42e0664f6c182d59de9c59c6d6134fea1066829d7253", "categorized_nodes": 68}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "{\n .coeff_b0...
3,408
c
/* * Copyright (c) 2021 Huawei Device Co., Ltd. * 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 ...
34.92
50
(translation_unit) "/*\n * Copyright (c) 2021 Huawei Device Co., Ltd.\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless...
271
16
{"language": "c", "success": true, "metadata": {"lines": 50, "avg_line_length": 34.92, "nodes": 155, "errors": 0, "source_hash": "8e7d76101cfdf181e29812f33a79c4f93c06c30fef23240a57c095da2243db9a", "categorized_nodes": 99}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "#ifndef FOUNDAT...
3,409
c
#include <assert.h> #include <stdlib.h> void main() { char *p = malloc(10); char *q = p + 5; assert(__CPROVER_same_object(p, q)); }
16.25
8
(translation_unit) "#include <assert.h>\n#include <stdlib.h>\n\nvoid main()\n{\n char *p = malloc(10);\n char *q = p + 5;\n\n assert(__CPROVER_same_object(p, q));\n}\n" (preproc_include) "#include <assert.h>\n" (#include) "#include" (system_lib_string) "<assert.h>" (preproc_include) "#include <stdlib.h>\...
58
0
{"language": "c", "success": true, "metadata": {"lines": 8, "avg_line_length": 16.25, "nodes": 41, "errors": 0, "source_hash": "ca96c3b40ee3e099f58d01bfa574345d122ca803af8c09a31e7f74d86eace57c", "categorized_nodes": 25}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#includ...
3,410
c
/* DO NOT EDIT THIS FILE - it is machine generated */ #include <StubPreamble.h> /* Stubs for class java_lang_UNIXProcess */ /* SYMBOL: java_lang_UNIXProcess_run()V */ void Kaffe_java_lang_UNIXProcess_run_stub(stack_item* _P_, stack_item* _R_) { extern void java_lang_UNIXProcess_run(void*); java_lang_UNIXProcess_run...
35.41
32
(translation_unit) "/* DO NOT EDIT THIS FILE - it is machine generated */\n#include <StubPreamble.h>\n\n/* Stubs for class java_lang_UNIXProcess */\n\n/* SYMBOL: java_lang_UNIXProcess_run()V */\nvoid\nKaffe_java_lang_UNIXProcess_run_stub(stack_item* _P_, stack_item* _R_)\n{\n extern void java_lang_UNIXProcess_run(void*...
250
0
{"language": "c", "success": true, "metadata": {"lines": 32, "avg_line_length": 35.41, "nodes": 166, "errors": 0, "source_hash": "24661dde7d99f889754b93da576954805b26bfbae57bf72fe136144151fb060e", "categorized_nodes": 108}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
3,411
c
#pragma once #include "engine/Types.h" #include <essentials/IdentifierConstPtr.h> #include <vector> namespace alica { struct SyncData; class SyncRow { public: SyncRow() = delete; explicit SyncRow(const SyncData& sd); virtual ~SyncRow(); const AgentGrp& getReceivedBy(); AgentGrp& editReceivedB...
27.46
24
(translation_unit) "#pragma once\n\n#include "engine/Types.h"\n\n#include <essentials/IdentifierConstPtr.h>\n\n#include <vector>\n\nnamespace alica\n{\n\nstruct SyncData;\n\nclass SyncRow\n{\npublic:\n SyncRow() = delete;\n explicit SyncRow(const SyncData& sd);\n virtual ~SyncRow();\n\n const AgentGrp& getR...
193
9
{"language": "c", "success": true, "metadata": {"lines": 24, "avg_line_length": 27.46, "nodes": 99, "errors": 0, "source_hash": "2230e3ae5a36835297b093a9ca76bc093e7fb69988732201a4fe2a59c385c53a", "categorized_nodes": 79}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
3,412
c
/* * ============================================================================ * Copyright (c) 2009-2013 Marvell International, Ltd. All Rights Reserved * * Marvell Confidential * ============================================================================ */ /** * \file oid_module...
31.6
323
(translation_unit) "/*\n * ============================================================================\n * Copyright (c) 2009-2013 Marvell International, Ltd. All Rights Reserved\n *\n * Marvell Confidential\n * ============================================================================\n */...
1,183
0
{"language": "c", "success": true, "metadata": {"lines": 323, "avg_line_length": 31.6, "nodes": 764, "errors": 0, "source_hash": "de7f78e9e78bf604b6709d33f0d132d7d78431f671753f9ce463f0af3fddfe63", "categorized_nodes": 538}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
3,413
c
#ifndef __MEGASAS_H #define __MEGASAS_H struct disk_op_s; int megasas_process_op(struct disk_op_s *op); void megasas_setup(void); #endif /* __MEGASAS_H */
24.83
6
(translation_unit) "#ifndef __MEGASAS_H\n#define __MEGASAS_H\n\nstruct disk_op_s;\nint megasas_process_op(struct disk_op_s *op);\nvoid megasas_setup(void);\n\n#endif /* __MEGASAS_H */\n" (preproc_ifdef) "#ifndef __MEGASAS_H\n#define __MEGASAS_H\n\nstruct disk_op_s;\nint megasas_process_op(struct disk_op_s *op);\nvoid...
38
0
{"language": "c", "success": true, "metadata": {"lines": 6, "avg_line_length": 24.83, "nodes": 29, "errors": 0, "source_hash": "0fa7d1f0af2b96c277c19af7f60ad1024e66852f8f4216926e485bc134c57c6f", "categorized_nodes": 20}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef _...
3,414
c
/* -*- mode: c; coding:utf-8 -*- */ /**********************************************************************/ /* OS kernel sample */ /* Copyright 2014 <NAME> */ /* */...
41.76
29
(translation_unit) "/* -*- mode: c; coding:utf-8 -*- */\n/**********************************************************************/\n/* OS kernel sample */\n/* Copyright 2014 <NAME> */\n/* ...
173
0
{"language": "c", "success": true, "metadata": {"lines": 29, "avg_line_length": 41.76, "nodes": 126, "errors": 0, "source_hash": "f1a3a74295d57d6f218b5ccec6575f90eef30ef3f402c1150e9a872f51ffeb31", "categorized_nodes": 69}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_if", "text": "#if !defin...
3,415
c
#include <stdio.h> #include <stdlib.h> #include <string.h> #include "mdlink.h" mdlink *newLink(char *title, size_t titleLength, char *url, size_t urlLength) { mdlink *l; l = malloc(sizeof(mdlink) + sizeof(char) * (titleLength + urlLength + 3)); l->index = 0; l->next = NULL; strncpy(l->__storage, t...
26.23
26
(translation_unit) "#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include "mdlink.h"\n\n\nmdlink *newLink(char *title, size_t titleLength, char *url, size_t urlLength) {\n mdlink *l;\n l = malloc(sizeof(mdlink) + sizeof(char) * (titleLength + urlLength + 3));\n l->index = 0;\n l->next = NUL...
270
0
{"language": "c", "success": true, "metadata": {"lines": 26, "avg_line_length": 26.23, "nodes": 180, "errors": 0, "source_hash": "63f8a45b37466c37769567c4ed1bf54dc920a99b5c23b34b47e8576f9fa06717", "categorized_nodes": 128}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
3,416
c
// // SHSPhoneNumberFormatter.h // PhoneComponentExample // // Created by Willy on 18.04.13. // Copyright (c) 2013 SHS. All rights reserved. // #import <Foundation/Foundation.h> @class SHSPhoneTextField; /** Formatter class that converts input string to phone format. */ @interface SHSPhoneNumberFormatter : NSForm...
27.02
55
(translation_unit) "//\n// SHSPhoneNumberFormatter.h\n// PhoneComponentExample\n//\n// Created by Willy on 18.04.13.\n// Copyright (c) 2013 SHS. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n@class SHSPhoneTextField;\n/**\n Formatter class that converts input string to phone format.\n*/\n@interface...
252
31
{"language": "c", "success": true, "metadata": {"lines": 55, "avg_line_length": 27.02, "nodes": 155, "errors": 0, "source_hash": "41634ed549714573863df4f2b47cb54d95a6398f92fe10335550df362136bd9d", "categorized_nodes": 87}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import ...
3,417
c
/* * This header is generated by classdump-dyld 1.0 * on Sunday, September 27, 2020 at 11:43:08 AM Mountain Standard Time * Operating System: Version 14.0 (Build 18A373) * Image Source: /System/Library/PrivateFrameworks/NewsSubscription.framework/NewsSubscription * classdump-dyld is licensed under GPLv3, Copyright © 20...
40.45
20
(translation_unit) "/*\n* This header is generated by classdump-dyld 1.0\n* on Sunday, September 27, 2020 at 11:43:08 AM Mountain Standard Time\n* Operating System: Version 14.0 (Build 18A373)\n* Image Source: /System/Library/PrivateFrameworks/NewsSubscription.framework/NewsSubscription\n* classdump-dyld is licensed un...
89
9
{"language": "c", "success": true, "metadata": {"lines": 20, "avg_line_length": 40.45, "nodes": 47, "errors": 0, "source_hash": "a8a96134dfdba11f1c43f44d107d71ef51b9d271bf5555a6845c3bb4ddd3bd39", "categorized_nodes": 30}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <l...
3,418
c
// // BMFUserLocationHandles.h // flutter_baidu_mapapi_map // // Created by zhangbaojin on 2020/3/01. // #import "BMFMapViewHandle.h" NS_ASSUME_NONNULL_BEGIN @interface BMFUserLocationHandles : NSObject /// BMFUserLocationHandler管理中心 + (instancetype)defalutCenter; - (NSDictionary<NSString *, NSString *> *)userLo...
27.35
26
(translation_unit) "//\n// BMFUserLocationHandles.h\n// flutter_baidu_mapapi_map\n//\n// Created by zhangbaojin on 2020/3/01.\n//\n\n#import "BMFMapViewHandle.h"\n\nNS_ASSUME_NONNULL_BEGIN\n\n@interface BMFUserLocationHandles : NSObject\n/// BMFUserLocationHandler管理中心\n+ (instancetype)defalutCenter;\n\n- (NSDictiona...
129
21
{"language": "c", "success": true, "metadata": {"lines": 26, "avg_line_length": 27.35, "nodes": 99, "errors": 0, "source_hash": "418bd02a3155ad97c2d906d5799745ca3309a79181fe3f82f39195f31634ffa2", "categorized_nodes": 52}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import \...
3,419
c
// // Semaphore.h // DataStructures // // Created by <NAME> on 7/11/17. // Copyright (c) 2017 <NAME>. All rights reserved. // #ifndef DataStructures_Semaphore_h #define DataStructures_Semaphore_h #include <Primitives/Threads/Atomic/AtomicUnderlyingCore.h> #if TURF_TARGET_WIN32 //#define TURF_IMPL_SEMAPHORE_PATH "...
21.21
131
(translation_unit) "//\n// Semaphore.h\n// DataStructures\n//\n// Created by <NAME> on 7/11/17.\n// Copyright (c) 2017 <NAME>. All rights reserved.\n//\n\n#ifndef DataStructures_Semaphore_h\n#define DataStructures_Semaphore_h\n\n#include <Primitives/Threads/Atomic/AtomicUnderlyingCore.h>\n#if TURF_TARGET_WIN32\n//#...
485
8
{"language": "c", "success": true, "metadata": {"lines": 131, "avg_line_length": 21.21, "nodes": 265, "errors": 0, "source_hash": "caac7115b6d21fd4c357caa72a38e2ee8264a89a1b9834b3f951436a31a374a5", "categorized_nodes": 178}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
3,420
c
// Copyright (c) 2017-2019 The Multiverse developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef MULTIVERSE_RPCJSON_H #define MULTIVERSE_RPCJSON_H #include "block.h" #include "transaction.h" #include "wallett...
40.5
22
(translation_unit) "// Copyright (c) 2017-2019 The Multiverse developers\n// Distributed under the MIT/X11 software license, see the accompanying\n// file COPYING or http://www.opensource.org/licenses/mit-license.php.\n\n\n#ifndef MULTIVERSE_RPCJSON_H\n#define MULTIVERSE_RPCJSON_H\n\n#include "block.h"\n#include "tra...
185
10
{"language": "c", "success": true, "metadata": {"lines": 22, "avg_line_length": 40.5, "nodes": 95, "errors": 0, "source_hash": "68f5e9df816992451236d46c4bf851055295102fb294557afb5b36e69a15bac8", "categorized_nodes": 81}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
3,421
c
#include "Worker.h" class Instructor:public Worker{ private: int lesson; Worker baseInfo; public: Instructor(){ lesson = 0; } int Salary(){ return baseInfo.BasicSalary() + lesson * 45; } void InstructorInput(){ baseInfo...
24.86
22
(translation_unit) "#include "Worker.h"\n\nclass Instructor:public Worker{\n private:\n int lesson;\n Worker baseInfo;\n public:\n Instructor(){\n lesson = 0;\n }\n int Salary(){\n return baseInfo.BasicSalary() + lesson * 45;\n }\n void Instru...
161
1
{"language": "c", "success": true, "metadata": {"lines": 22, "avg_line_length": 24.86, "nodes": 86, "errors": 0, "source_hash": "ffb1820e5f02ea6d14ccf0ffcdd5ee76defa5038a5cefc85ce6d8c0d93657d0d", "categorized_nodes": 62}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
3,422
c
/* * SpanDSP - a series of DSP components for telephony * * private/v8.h - V.8 modem negotiation processing. * * Written by <NAME> <<EMAIL>> * * Copyright (C) 2004 <NAME> * * All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser ...
32.3
69
(translation_unit) "/*\n * SpanDSP - a series of DSP components for telephony\n *\n * private/v8.h - V.8 modem negotiation processing.\n *\n * Written by <NAME> <<EMAIL>>\n *\n * Copyright (C) 2004 <NAME>\n *\n * All rights reserved.\n *\n * This program is free software; you can redistribute it and/or modify\n * it un...
157
0
{"language": "c", "success": true, "metadata": {"lines": 69, "avg_line_length": 32.3, "nodes": 107, "errors": 0, "source_hash": "4e1896d3418f5ec8379146c879875e05b50c0a4fa86b290054e5697acf351ada", "categorized_nodes": 76}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_if", "text": "#if !define...
3,423
c
#ifndef __THREADSAFEQUEUE_H_ #define __THREADSAFEQUEUE_H_ #include <LockGuard.h> #include <cpp-common/ICircularQueue.h> /** *@brief A queue that is thread safe */ template <typename T> class ThreadSafeQueue : public ICircularQueue<T> { public: ThreadSafeQueue(ICircularQueue<T>& queue, IMutex& mutex) : m_queue(...
31.64
61
(translation_unit) "#ifndef __THREADSAFEQUEUE_H_\n#define __THREADSAFEQUEUE_H_\n\n#include <LockGuard.h>\n#include <cpp-common/ICircularQueue.h>\n\n/**\n *@brief A queue that is thread safe */\ntemplate <typename T>\nclass ThreadSafeQueue : public ICircularQueue<T> {\n public:\n ThreadSafeQueue(ICircularQueue<T>& q...
607
25
{"language": "c", "success": true, "metadata": {"lines": 61, "avg_line_length": 31.64, "nodes": 390, "errors": 0, "source_hash": "b24714b701fa2d8536fcffcb56109c7fc83d70c0c395eb191d1d187bc053d32f", "categorized_nodes": 262}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
3,424
c
// // Copyright 2011 <NAME> // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in wri...
35.02
51
(translation_unit) "//\n// Copyright 2011 <NAME>\n//\n// Licensed under the Apache License, Version 2.0 (the "License");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by appli...
81
12
{"language": "c", "success": true, "metadata": {"lines": 51, "avg_line_length": 35.02, "nodes": 46, "errors": 0, "source_hash": "6efee7a04b836a903773ebf9c0cd1929c4c4b95226f0a62b2715ac10abb36c83", "categorized_nodes": 22}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import \...
3,425
c
#include <x86.h> #include <memlayout.h> #include <assert.h> #include <string.h> #include <kernel/spinlock.h> #include <kernel/cpu.h> #include <kernel/kdebug.h> // The big kernel lock struct spinlock kernel_lock = { .locked = 0, #ifdef DEBUG_SPINLOCK .name = "kernel_lock", .cpu = NULL, #endif }; #ifdef DEBUG_SPINLO...
24.75
109
(translation_unit) "#include <x86.h>\n#include <memlayout.h>\n#include <assert.h>\n#include <string.h>\n#include <kernel/spinlock.h>\n#include <kernel/cpu.h>\n#include <kernel/kdebug.h>\n\n// The big kernel lock\nstruct spinlock kernel_lock = {\n .locked = 0,\n#ifdef DEBUG_SPINLOCK\n .name = "kernel_lock",\n .cpu = NUL...
744
2
{"language": "c", "success": true, "metadata": {"lines": 109, "avg_line_length": 24.75, "nodes": 454, "errors": 0, "source_hash": "e95be62e580f8bf7ffa2a6b162cc5ae3372ea5fbf16b62807538ce3cd77bcacb", "categorized_nodes": 334}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
3,426
c
// // TUPFPBubbleTextFilter.h // TuSDKPulseFilter // // Created by tusdk on 2021/2/1. // #import <Foundation/Foundation.h> #import <UIKit/UIKit.h> #import <TuSDKPulse/TUPProperty.h> NS_ASSUME_NONNULL_BEGIN FOUNDATION_EXPORT NSString *const TUPFPBubbleTextFilter_TYPE_NAME; FOUNDATION_EXPORT NSString *const TUPFPBu...
29.74
47
(translation_unit) "//\n// TUPFPBubbleTextFilter.h\n// TuSDKPulseFilter\n//\n// Created by tusdk on 2021/2/1.\n//\n\n#import <Foundation/Foundation.h>\n#import <UIKit/UIKit.h>\n#import <TuSDKPulse/TUPProperty.h>\n\nNS_ASSUME_NONNULL_BEGIN\n\nFOUNDATION_EXPORT NSString *const TUPFPBubbleTextFilter_TYPE_NAME;\nFOUNDAT...
317
52
{"language": "c", "success": true, "metadata": {"lines": 47, "avg_line_length": 29.74, "nodes": 218, "errors": 0, "source_hash": "ae95dff26dbb80a80988c2280e2dbe7d07381f62b937e248ca2e16a3f1b38058", "categorized_nodes": 123}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import...
3,427
c
#import <Cordova/CDV.h> @interface MMShare : CDVPlugin - (void)share:(CDVInvokedUrlCommand*)command; @end
25.5
4
(translation_unit) "#import <Cordova/CDV.h>\n\n@interface MMShare : CDVPlugin\n\n- (void)share:(CDVInvokedUrlCommand*)command;\n\n@end" (preproc_call) "#import <Cordova/CDV.h>\n" (preproc_directive) "#import" (preproc_arg) "<Cordova/CDV.h>" (ERROR) "@" (ERROR) "@" (declaration) "interface MMShare : CD...
33
7
{"language": "c", "success": true, "metadata": {"lines": 4, "avg_line_length": 25.5, "nodes": 23, "errors": 0, "source_hash": "895c00c0c27828e0de0430d818d61ddaef97acbd9d2c7599742bf45663d703c3", "categorized_nodes": 10}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <Co...
3,428
c
#pragma once #include <string> #include <map> #include "../Blocks/BlockData.h" #include "InverseMap.h" namespace Minecraft::Server::Internal::Registry { using namespace Blocks; class BlockRegistry { public: BlockRegistry(); ~BlockRegistry(); void registerVanillaBlocks(); BlockProtocolID getIDByName(std::s...
26.75
20
(translation_unit) "#pragma once\n#include <string>\n#include <map>\n#include "../Blocks/BlockData.h"\n#include "InverseMap.h"\n\nnamespace Minecraft::Server::Internal::Registry {\n using namespace Blocks;\n\n class BlockRegistry {\n public:\n BlockRegistry();\n ~BlockRegistry();\n\n void registerVanillaBlocks();\n ...
161
6
{"language": "c", "success": true, "metadata": {"lines": 20, "avg_line_length": 26.75, "nodes": 97, "errors": 0, "source_hash": "52bad980bef1548916cf503db60137c792fd1d01e82d92ecfc5f629865c6027c", "categorized_nodes": 71}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
3,429
c
/** * * "A Collection of Useful C++ Classes for Digital Signal Processing" * By <NAME> and <NAME> * * Official project location: * https://github.com/berndporr/iir1 * * See Documentation.cpp for contact information, notes, and bibliography. * * ----------------------------------------------------------------...
33.42
158
(translation_unit) "/**\n *\n * "A Collection of Useful C++ Classes for Digital Signal Processing"\n * By <NAME> and <NAME>\n *\n * Official project location:\n * https://github.com/berndporr/iir1\n *\n * See Documentation.cpp for contact information, notes, and bibliography.\n * \n * ----------------------------------...
549
16
{"language": "c", "success": true, "metadata": {"lines": 158, "avg_line_length": 33.42, "nodes": 319, "errors": 0, "source_hash": "a98ebf14499a672eb7b52d1da5b1d9bbcd06d5772d0f5462c3cf6f6af35bf8d4", "categorized_nodes": 227}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
3,430
c
/* SPDX-License-Identifier: BSD-2-Clause */ /** * @copyright 2018-2019 NXP\n * * @file libnxpcrypt_authenc.h * * @brief Cryptographic library using the NXP CAAM driver.\n * Authenticate Encryption interface library vs CAAM driver. */ #ifndef __LIBNXPCRYPT_AUTHENC_H__ #define __LIBNXPCRYPT_AUTHENC_H...
34.09
74
(translation_unit) "/* SPDX-License-Identifier: BSD-2-Clause */\n/**\n * @copyright 2018-2019 NXP\n\n *\n * @file libnxpcrypt_authenc.h\n *\n * @brief Cryptographic library using the NXP CAAM driver.\n\n * Authenticate Encryption interface library vs CAAM driver.\n */\n#ifndef __LIBNXPCRYPT_AUTHENC_H__\n#...
335
0
{"language": "c", "success": true, "metadata": {"lines": 74, "avg_line_length": 34.09, "nodes": 221, "errors": 0, "source_hash": "b1b050ece52e4621f29bfcf2b6b6a2a64219a435dffc60476a9757c4b7173396", "categorized_nodes": 143}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
3,431
c
/* * Copyright (c) 2019, The OpenThread Authors. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * 1. Redistributions of source code must retain the above copyright * notice, this ...
36.4
113
(translation_unit) "/*\n * Copyright (c) 2019, The OpenThread Authors.\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions are met:\n * 1. Redistributions of source code must retain the above copy...
417
0
{"language": "c", "success": true, "metadata": {"lines": 113, "avg_line_length": 36.4, "nodes": 260, "errors": 0, "source_hash": "b46d97014a2859a02ac1e8ce3b3e3cb0633514c13452f5151ecd3463b0724879", "categorized_nodes": 190}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
3,432
c
// // TinyComponent.h // TinyComponent // // Created by <NAME> on 2018/5/25. // Copyright © 2018 TinyWorld. All rights reserved. // @import Foundation; FOUNDATION_EXPORT double TinyComponentVersionNumber; FOUNDATION_EXPORT const unsigned char TinyComponentVersionString[];
26.7
10
(translation_unit) "//\n// TinyComponent.h\n// TinyComponent\n//\n// Created by <NAME> on 2018/5/25.\n// Copyright © 2018 TinyWorld. All rights reserved.\n//\n\n@import Foundation;\n\nFOUNDATION_EXPORT double TinyComponentVersionNumber;\n\nFOUNDATION_EXPORT const unsigned char TinyComponentVersionString[];\n" (co...
33
3
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 26.7, "nodes": 18, "errors": 0, "source_hash": "29210a5f2c5ee6d317251266c8f052db2225628a3760eea9d7c8eeebbef46c1a", "categorized_nodes": 13}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "i", "parent": nul...
3,433
c
/* * Copyright (c) 2019, Cisco Systems, Inc. * * Licensed under the Apache License 2.0 (the "License"). You may not use * this file except in compliance with the License. You can obtain a copy * in the file LICENSE in the source distribution or at * https://github.com/cisco/libacvp/LICENSE */ #ifdef OPENSSL_...
22.73
79
(translation_unit) "/*\n * Copyright (c) 2019, Cisco Systems, Inc.\n *\n * Licensed under the Apache License 2.0 (the "License"). You may not use\n * this file except in compliance with the License. You can obtain a copy\n * in the file LICENSE in the source distribution or at\n * https://github.com/cisco/libacvp/LIC...
381
0
{"language": "c", "success": true, "metadata": {"lines": 79, "avg_line_length": 22.73, "nodes": 222, "errors": 0, "source_hash": "515ee09b24ea64c2657ea325694c160efa041e5220032073e3b9e363e6c7088f", "categorized_nodes": 160}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifdef...
3,434
c
/** * MIT License * * Copyright (c) 2020 <NAME> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, ...
34.36
170
(translation_unit) "/**\n * MIT License\n *\n * Copyright (c) 2020 <NAME>\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the "Software"), to deal\n * in the Software without restriction, including without limitation the right...
279
0
{"language": "c", "success": true, "metadata": {"lines": 170, "avg_line_length": 34.36, "nodes": 204, "errors": 0, "source_hash": "6b7498f1e8fd8ad8174cf45500ba4c3c4bb25bc93cefdfbc2cadf26e963e4158", "categorized_nodes": 121}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
3,435
c
#include "getchar.h" /** * Reads one integer from the given queue. * * This is blocking. If the queue is empty, this function waits until the queue is not empty anymore. */ int getchar/*@<u> @*/(struct queue *queue, struct proph_tree *tree) //@ requires [?f_queue]queue(?queue_id, queue) &*& getchar_io<u>(queue_id...
30.48
86
(translation_unit) "#include "getchar.h"\n\n/**\n * Reads one integer from the given queue.\n * \n * This is blocking. If the queue is empty, this function waits until the queue is not empty anymore.\n */\nint getchar/*@<u> @*/(struct queue *queue, struct proph_tree *tree)\n//@ requires [?f_queue]queue(?queue_id, queue...
178
0
{"language": "c", "success": true, "metadata": {"lines": 86, "avg_line_length": 30.48, "nodes": 95, "errors": 0, "source_hash": "88252c4e0b388c9cf7137c9f81703c22a72105d195f26ae6d28471aa8eba6f0c", "categorized_nodes": 74}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
3,436
c
// Copyright © 1996-2018, Valve Corporation, All rights reserved. #ifndef SOURCE_TIER0_INCLUDE_PLATFORM_DETECTION_H_ #define SOURCE_TIER0_INCLUDE_PLATFORM_DETECTION_H_ #include "build/include/build_config.h" #ifdef _RETAIL #define IsRetail() true #else #define IsRetail() false #endif #ifndef NDEBUG #define IsReleas...
24.83
30
(translation_unit) "// Copyright © 1996-2018, Valve Corporation, All rights reserved.\n\n#ifndef SOURCE_TIER0_INCLUDE_PLATFORM_DETECTION_H_\n#define SOURCE_TIER0_INCLUDE_PLATFORM_DETECTION_H_\n\n#include "build/include/build_config.h"\n\n#ifdef _RETAIL\n#define IsRetail() true\n#else\n#define IsRetail() false\n#endif\n...
143
0
{"language": "c", "success": true, "metadata": {"lines": 30, "avg_line_length": 24.83, "nodes": 90, "errors": 0, "source_hash": "cb5c3f49666e59a7a35cbdc9a20da8e9c57b01de608fcfcf2a7c2a24f9fcac27", "categorized_nodes": 52}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "ifndef S...
3,437
c
// // Structured Searchable Public-key Ciphertexts for Parallel Retrieval // Coding: Shuanghong he, CS School of HUST // E-mail: <EMAIL> // Date : 2016-3-28 // Copyright (c) 2016 Render. All Rights Reserved. // #ifndef HEADER_AVLTREE_ #define HEADER_AVLTREE_ #define PRE_TRS 0 // pre order traverse #define MID_T...
37.29
38
(translation_unit) "//\n// Structured Searchable Public-key Ciphertexts for Parallel Retrieval\n// Coding: Shuanghong he, CS School of HUST\n// E-mail: <EMAIL>\n// Date : 2016-3-28\n// Copyright (c) 2016 Render. All Rights Reserved.\n//\n#ifndef HEADER_AVLTREE_\n#define HEADER_AVLTREE_\n\n#define PRE_TRS 0 // pre...
283
0
{"language": "c", "success": true, "metadata": {"lines": 38, "avg_line_length": 37.29, "nodes": 210, "errors": 0, "source_hash": "c1db2ce3a64c5f1728b5b5924d9da9207eb9db3820de0aa5d58eae2c23b01a9c", "categorized_nodes": 116}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
3,438
c
#pragma once #include "glmath.h" #include "Color.h" enum PrimitiveTypes { Primitive_Point, Primitive_Line, Primitive_Plane, Primitive_Cube, Primitive_Sphere, Primitive_Cylinder }; class Primitive { public: Primitive(); virtual void Render() const; virtual void InnerRender() const; void SetPos(float x, ...
18.41
83
(translation_unit) "#pragma once\n#include "glmath.h"\n#include "Color.h"\n\nenum PrimitiveTypes\n{\n Primitive_Point,\n Primitive_Line,\n Primitive_Plane,\n Primitive_Cube,\n Primitive_Sphere,\n Primitive_Cylinder\n};\n\nclass Primitive\n{\npublic:\n\n Primitive();\n\n virtual void Render() const;\n virtual void Inner...
469
27
{"language": "c", "success": true, "metadata": {"lines": 83, "avg_line_length": 18.41, "nodes": 251, "errors": 0, "source_hash": "088e7fe8f5464e053ac1a2722f082b012d46bb3b4c1432b2ce522b9945c5f70c", "categorized_nodes": 166}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
3,439
c
// // Created by aravind on 11/21/17. // #ifndef CUDA_VEC_BOUNDARYCYLINDERREPULSIONCUDA_H #define CUDA_VEC_BOUNDARYCYLINDERREPULSIONCUDA_H #ifdef CUDAACCL #include "MathFunctions.h" #include "SysParams.h" #include <limits> #include <assert.h> #include <cuda.h> #include <cuda_runtime.h> using namespace mathfunc; //#i...
31.09
35
(translation_unit) "//\n// Created by aravind on 11/21/17.\n//\n\n#ifndef CUDA_VEC_BOUNDARYCYLINDERREPULSIONCUDA_H\n#define CUDA_VEC_BOUNDARYCYLINDERREPULSIONCUDA_H\n#ifdef CUDAACCL\n#include "MathFunctions.h"\n#include "SysParams.h"\n#include <limits>\n#include <assert.h>\n#include <cuda.h>\n#include <cuda_runtime.h>\...
105
2
{"language": "c", "success": true, "metadata": {"lines": 35, "avg_line_length": 31.09, "nodes": 61, "errors": 0, "source_hash": "57796d03886aad7f4528ead822d5bc11088a08eadce7ef18353d255694e6da87", "categorized_nodes": 51}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
3,440
c
/**************************************************************************** * Title : Text To Speech Click * Filename : tts_hw.h * Author : MSV * Origin Date : 30/01/2016 * Notes : Hardware layer ******************************************...
29.54
207
(translation_unit) "/****************************************************************************\n* Title : Text To Speech Click\n* Filename : tts_hw.h\n* Author : MSV\n* Origin Date : 30/01/2016\n* Notes : Hardware layer\n****************...
1,444
0
{"language": "c", "success": true, "metadata": {"lines": 207, "avg_line_length": 29.54, "nodes": 889, "errors": 0, "source_hash": "a24db8f755ab06624020b163d12de3b5974b9deb18d02a17c41fd2e744ddf4ff", "categorized_nodes": 651}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
3,441
c
/** * Copyright (c) 2021 OceanBase * OceanBase CE is licensed under Mulan PubL v2. * You can use this software * according to the terms and conditions of the Mulan PubL v2. * You may obtain a copy of Mulan PubL v2 at: * * http://license.coscl.org.cn/MulanPubL-2.0 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS,...
21.23
187
(translation_unit) "/**\n * Copyright (c) 2021 OceanBase\n * OceanBase CE is licensed under Mulan PubL v2.\n * You can use this software\n * according to the terms and conditions of the Mulan PubL v2.\n * You may obtain a copy of Mulan PubL v2 at:\n *\n * http://license.coscl.org.cn/MulanPubL-2.0\n * THIS SOFTWARE IS P...
1,430
54
{"language": "c", "success": true, "metadata": {"lines": 187, "avg_line_length": 21.23, "nodes": 956, "errors": 0, "source_hash": "8baa4a20c2d8efa0e1a13bca700d62be31c84d2c379cb727662133d539ba6bb3", "categorized_nodes": 618}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
3,442
c
// // Copyright 2016-2017 <NAME> // // 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 for any purpose, // including commercial ...
37.51
55
(translation_unit) "//\n// Copyright 2016-2017 <NAME>\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 damages\n// arising from the use of this software.\n//\n// Permission is granted to anyone to use this software for any purpos...
328
0
{"language": "c", "success": true, "metadata": {"lines": 55, "avg_line_length": 37.51, "nodes": 229, "errors": 0, "source_hash": "457d57bd38f7c21773142fb9e526e58a5d237295b589940be0d54b63ac63cdcb", "categorized_nodes": 171}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
3,443
c
// // UILabel+Attributed.h // // Created by <NAME> on 21.05.15. // #import <UIKit/UIKit.h> @interface UILabel (LSDHelpers) /** * Set string for attributed text. * @discussion This method sets a new string for attributedText preserving attributes. */ - (void)setString:(NSString *)string; @end
22.08
13
(translation_unit) "//\n// UILabel+Attributed.h\n//\n// Created by <NAME> on 21.05.15.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface UILabel (LSDHelpers)\n\n/**\n * Set string for attributed text.\n * @discussion This method sets a new string for attributedText preserving attributes.\n */\n- (void)setString:(NSStrin...
40
6
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 22.08, "nodes": 23, "errors": 0, "source_hash": "9c3d9a24930b9dc6a82daf037ea6b08c13d53722fa3394945367b7247d42bac0", "categorized_nodes": 11}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <...
3,444
c
/* * world.h * * Created on: 2017年11月17日 * Author: liwei */ #ifndef G_WORLD_H_ #define G_WORLD_H_ class g_map; struct _skip_list; class world { private: struct _skip_list * m_active_objects; g_map * m_map; virtual int frame(); virtual int eliminate(); public: world(); virtual ~world...
15.84
25
(translation_unit) "/*\n * world.h\n *\n * Created on: 2017年11月17日\n * Author: liwei\n */\n\n#ifndef G_WORLD_H_\n#define G_WORLD_H_\n\nclass g_map;\nstruct _skip_list;\nclass world\n{\nprivate:\n struct _skip_list * m_active_objects;\n g_map * m_map;\n virtual int frame();\n virtual int eliminate();\n...
110
5
{"language": "c", "success": true, "metadata": {"lines": 25, "avg_line_length": 15.84, "nodes": 70, "errors": 0, "source_hash": "ccebb8bbb8a55f389a9c909ee77532cee0a0b5895b0e87f33a700fc905b9aa3b", "categorized_nodes": 50}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "f G_WORL...
3,445
c
#ifndef TST_INSERTPROXYMODEL_H #define TST_INSERTPROXYMODEL_H #include <QObject> #include <QList> class QAbstractItemModel; class tst_InsertProxyModel : public QObject { Q_OBJECT private Q_SLOTS: void autoParent(); void initTestCase(); void testData(); void testData_data(); void testSetData(); ...
27.18
38
(translation_unit) "#ifndef TST_INSERTPROXYMODEL_H\n#define TST_INSERTPROXYMODEL_H\n\n#include <QObject>\n#include <QList>\nclass QAbstractItemModel;\nclass tst_InsertProxyModel : public QObject\n{\n Q_OBJECT\nprivate Q_SLOTS:\n void autoParent();\n void initTestCase();\n void testData();\n void testData...
254
1
{"language": "c", "success": true, "metadata": {"lines": 38, "avg_line_length": 27.18, "nodes": 158, "errors": 0, "source_hash": "1f98b247cccaebf4835572544670fd1c0bb39efdc65d7b3493ea603bd03d199d", "categorized_nodes": 100}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
3,446
c
#ifndef DEAD_STAR #include <iostream> #include <cocos2d.h> USING_NS_CC; class DeadStar :public Sprite { public: short count; PhysicsBody* body; virtual bool init(); void MyUpdate(float time); CREATE_FUNC(DeadStar); }; #endif #pragma once
16.2
15
(translation_unit) "#ifndef DEAD_STAR \n#include <iostream> \n#include <cocos2d.h> \nUSING_NS_CC; \n \nclass DeadStar :public Sprite { \npublic: \n short count; \n PhysicsBody* body; \n virtual bool init(); \n void MyUpdate(float time); \n CREATE_FUNC(DeadStar); \n}; \n#endif \n#pragma once \n" (preproc_ifdef) "#ifnd...
72
2
{"language": "c", "success": true, "metadata": {"lines": 15, "avg_line_length": 16.2, "nodes": 47, "errors": 0, "source_hash": "ce7bc1dfc1f46ce296d34ad3dc050468a207a5a1dde86c75d426b5ad0cee67b6", "categorized_nodes": 34}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef D...
3,447
c
// // UserHeaderCell.h // 二次元境 // // Created by MS on 15/11/23. // Copyright (c) 2015年 MS. All rights reserved. // #import <UIKit/UIKit.h> @interface UserHeaderCell : UITableViewCell // 加载数据 - (void)reloadData; @end
17.33
12
(translation_unit) "//\n// UserHeaderCell.h\n// 二次元境\n//\n// Created by MS on 15/11/23.\n// Copyright (c) 2015年 MS. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface UserHeaderCell : UITableViewCell\n\n// 加载数据\n- (void)reloadData;\n\n@end\n" (comment) "//" (comment) "// UserHeaderCell.h" (com...
36
5
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 17.33, "nodes": 18, "errors": 0, "source_hash": "e4343f258a19c405b87387b1912c7e17f43f661304be062b4a4399082c13ee07", "categorized_nodes": 9}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "IKit/UIKit...
3,448
c
#ifndef MDDASDATAINTERFACE_H #define MDDASDATAINTERFACE_H #include <QtGui> #include "mddasdatapoint.h" QT_BEGIN_NAMESPACE template <typename T> class QQueue; template <typename T> class QVector; class QMutex; QT_END_NAMESPACE class MDDASDataInterface: public QObject { Q_OBJECT public: MDDASDataInterface();...
21.64
28
(translation_unit) "#ifndef MDDASDATAINTERFACE_H\n#define MDDASDATAINTERFACE_H\n\n#include <QtGui>\n#include "mddasdatapoint.h"\n\nQT_BEGIN_NAMESPACE\ntemplate <typename T> class QQueue;\ntemplate <typename T> class QVector;\nclass QMutex;\nQT_END_NAMESPACE\n\n\n\nclass MDDASDataInterface: public QObject {\n Q_OBJEC...
164
8
{"language": "c", "success": true, "metadata": {"lines": 28, "avg_line_length": 21.64, "nodes": 109, "errors": 0, "source_hash": "879c4651036220e51afe50e467b8ebd36e6e87b34fe9a6dceb7720a040a8ebd4", "categorized_nodes": 71}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
3,449
c
#ifndef _BUBBLEBMP2_H_ #define _BUBBLEBMP2_H_ #include "bitmapwrapper.h" class BubbleBmp2 : public WoopsiGfx::BitmapWrapper { public: BubbleBmp2(); }; #endif
18.88
8
(translation_unit) "#ifndef _BUBBLEBMP2_H_\n#define _BUBBLEBMP2_H_\n\n#include "bitmapwrapper.h"\n\nclass BubbleBmp2 : public WoopsiGfx::BitmapWrapper {\npublic:\n BubbleBmp2();\n};\n\n#endif\n" (preproc_ifdef) "#ifndef _BUBBLEBMP2_H_\n#define _BUBBLEBMP2_H_\n\n#include "bitmapwrapper.h"\n\nclass BubbleBmp2 : public ...
39
1
{"language": "c", "success": true, "metadata": {"lines": 8, "avg_line_length": 18.88, "nodes": 19, "errors": 0, "source_hash": "062619009f3da2e9f5c8eb82822febdf84264d6d59c80e5e21d4d1211c4063dc", "categorized_nodes": 14}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef _...
3,450
c
#ifndef INCLUDED_AG_VISOBSERVER #define INCLUDED_AG_VISOBSERVER namespace ag { //! The VisObserver class is for objects who are observing a VisSubject object. /*! A VisObserver object can be attached to a VisSubject object after which rescan(), process() and visualise() are called in order every time the ...
40
56
(translation_unit) "#ifndef INCLUDED_AG_VISOBSERVER\n#define INCLUDED_AG_VISOBSERVER\n\n\n\n\n\nnamespace ag {\n\n\n\n//! The VisObserver class is for objects who are observing a VisSubject object.\n/*!\n A VisObserver object can be attached to a VisSubject object after which\n rescan(), process() and visualise() are...
127
6
{"language": "c", "success": true, "metadata": {"lines": 56, "avg_line_length": 40.0, "nodes": 58, "errors": 0, "source_hash": "be2349b797589b2e481c98bc08403d0a46eec913ef4b774cf2fb4cb5aeccf6ce", "categorized_nodes": 41}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef I...
3,451
c
#include "dincl.h" #include "cl_number.h" #include "cnst.cpp" #include "dcnst.cpp"
19.75
4
(translation_unit) "#include "dincl.h"\n#include "cl_number.h"\n#include "cnst.cpp"\n#include "dcnst.cpp"\n" (preproc_include) "#include "dincl.h"\n" (#include) "#include" (string_literal) ""dincl.h"" (") """ (string_content) "dincl.h" (") """ (preproc_include) "#include "cl_number.h"\n" ...
25
0
{"language": "c", "success": true, "metadata": {"lines": 4, "avg_line_length": 19.75, "nodes": 12, "errors": 0, "source_hash": "5f188ae84f9a5daa6ce4aba86b5b140279b20477f4ac68d3dff1dd0b985508e7", "categorized_nodes": 12}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#includ...
3,452
c
// C++ classes for Remote Control JSON-RPC API. // Generated automatically from 'RemoteControlAPI.json'. // Note: This code is inherently not thread safe. If required, proper synchronisation must be added. #pragma once #include <core/JSON.h> namespace WPEFramework { namespace JsonData { namespace RemoteContr...
36.72
114
(translation_unit) "// C++ classes for Remote Control JSON-RPC API.\n// Generated automatically from 'RemoteControlAPI.json'.\n\n// Note: This code is inherently not thread safe. If required, proper synchronisation must be added.\n\n#pragma once\n\n#include <core/JSON.h>\n\nnamespace WPEFramework {\n\nnamespace JsonDat...
1,103
78
{"language": "c", "success": true, "metadata": {"lines": 114, "avg_line_length": 36.72, "nodes": 511, "errors": 0, "source_hash": "bc7faab9bc0b6529117e26346026a990c23a4605a3300e84b1902e7af9a26e6e", "categorized_nodes": 341}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragm...
3,453
c
/* * Copyright © 2012 <NAME> * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the * "Software"), to deal in the Software without restriction, including * without limitation the rights to use, copy, modify, merge, publish, * di...
27.46
138
(translation_unit) "/*\n * Copyright © 2012 <NAME>\n *\n * Permission is hereby granted, free of charge, to any person obtaining\n * a copy of this software and associated documentation files (the\n * "Software"), to deal in the Software without restriction, including\n * without limitation the rights to use, copy, mod...
353
5
{"language": "c", "success": true, "metadata": {"lines": 138, "avg_line_length": 27.46, "nodes": 221, "errors": 0, "source_hash": "6704c7774a05eb7961a12be66f45b3421ca05870e7d4de993805d0a3ee25f06b", "categorized_nodes": 164}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "inc...
3,454
c
/* ============================================================================== TitleSectionEditor.h Created: 16 Mar 2019 10:44:16am Author: dfila ============================================================================== */ #pragma once #include "../JuceLibraryCode/JuceHeader.h" #include "Pl...
34.2
25
(translation_unit) "/*\n ==============================================================================\n\n TitleSectionEditor.h\n Created: 16 Mar 2019 10:44:16am\n Author: dfila\n\n ==============================================================================\n*/\n\n#pragma once\n\n#include "../JuceLibrar...
105
5
{"language": "c", "success": true, "metadata": {"lines": 25, "avg_line_length": 34.2, "nodes": 52, "errors": 0, "source_hash": "df94590a7536df5355900419ca270841ea1f7da107a68e35cffb3d3671d07584", "categorized_nodes": 37}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma on...
3,455
c
#pragma once #include <BWAPI.h> #include "CUNYAIModule.h" #include "PlayerModelManager.h" #include <signal.h> using namespace std; class PlayerModel; struct CobbDouglas { CobbDouglas() {}; // default constructor. void evaluateCD(double army_ct, double tech_ct, double wk_ct); double alpha_army; do...
37.04
51
(translation_unit) "#pragma once\n\n#include <BWAPI.h>\n#include "CUNYAIModule.h"\n#include "PlayerModelManager.h"\n#include <signal.h>\n\n\nusing namespace std;\n\nclass PlayerModel;\n\nstruct CobbDouglas\n{\n CobbDouglas() {}; // default constructor.\n\n void evaluateCD(double army_ct, double tech_ct, double wk...
426
10
{"language": "c", "success": true, "metadata": {"lines": 51, "avg_line_length": 37.04, "nodes": 280, "errors": 0, "source_hash": "c47642659d701030ed1ecb8a0beb69ec6e92924cdccc80e5f7598b1d4d2759ed", "categorized_nodes": 191}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
3,456
c
#include <math.h> #include <stdlib.h> #include "voz.h" /*------------------------------------------------------------------------------ Find nb elements of Real array a having the largest value. Returns index iord of these elements, ordered so iord[0] corresponds to element a[iord[0]] having the largest value. ...
23.73
79
(translation_unit) "#include <math.h>\n#include <stdlib.h>\n#include "voz.h"\n\n/*------------------------------------------------------------------------------\n Find nb elements of Real array a having the largest value.\n Returns index iord of these elements, ordered so iord[0] corresponds\n to element a[iord[0]] ...
694
0
{"language": "c", "success": true, "metadata": {"lines": 79, "avg_line_length": 23.73, "nodes": 418, "errors": 0, "source_hash": "c836b2b0c72cd8197e8dbc25b72ff9c7533ea14d5476f575017fa8226f2ba405", "categorized_nodes": 318}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
3,457
c
#ifndef MODEL_H #define MODEL_H namespace hawkings { class Model { public: private: }; } #endif
10.56
9
(translation_unit) "#ifndef MODEL_H\n#define MODEL_H\n\nnamespace hawkings {\n\nclass Model {\n public:\n\n private:\n};\n\n}\n\n#endif" (preproc_ifdef) "#ifndef MODEL_H\n#define MODEL_H\n\nnamespace hawkings {\n\nclass Model {\n public:\n\n private:\n};\n\n}\n\n#endif" (#ifndef) "#ifndef" (identi...
30
0
{"language": "c", "success": true, "metadata": {"lines": 9, "avg_line_length": 10.56, "nodes": 14, "errors": 0, "source_hash": "42abdef7a542dd97d21b5e50b441632db23fc353828173bf11dfd0fbc6fe8ef7", "categorized_nodes": 10}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef M...
3,458
c
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by <NAME>. // #import "IBAbstractInterfaceBuilderPlatformToolManager.h" @class IBPlatformToolDVTTaskExecutionContext; @interface IBCocoaToolManager : IBAbstractInterfaceBuilderPlatformToolManager { ...
41.3
20
(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 "IBAbstractInterfaceBuilderPlatformToolManager.h"\n\n@class IBPlatformToolDVTTaskExecutionContext;\n\n@interface IBCocoaToolManager : IBAbstractInterface...
193
17
{"language": "c", "success": true, "metadata": {"lines": 20, "avg_line_length": 41.3, "nodes": 114, "errors": 0, "source_hash": "ff4b81ae05dc4fdd24cd616b446b054e35b7fd44870180d5887cd89c19e523d1", "categorized_nodes": 72}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import \...
3,459
c
#ifndef DFS_H #define DFS_H #define DFS_SIGNATURE 0x00534644 #define DFS_VERSION 2 #define DFS_TOPBLOCKDIR_SIZE 16 #define DFS_MAX_DEPTH 16 #define DFS_INODE_ROOT 0 #define DFS_INODE_KERNEL 1 #define DFS_MAXFNAME 255 struct superblo...
31.12
129
(translation_unit) "#ifndef DFS_H\n#define DFS_H\n\n#define DFS_SIGNATURE 0x00534644\n#define DFS_VERSION 2\n\n#define DFS_TOPBLOCKDIR_SIZE 16\n#define DFS_MAX_DEPTH 16\n\n#define DFS_INODE_ROOT 0\n#define DFS_INODE_KERNEL 1\n\n#define DFS_MAXFNAME ...
1,180
0
{"language": "c", "success": true, "metadata": {"lines": 129, "avg_line_length": 31.12, "nodes": 927, "errors": 0, "source_hash": "e4627e6131ed2c05e4f64966d692141fb5bed552fd48deb51f307baf6fd4e03e", "categorized_nodes": 615}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
3,460
c
/* * Seek for standard library. Coordinates with buffering. */ #include <stdio.h> #include <unistd.h> int fseek(iop, offset, ptrname) register FILE *iop; long offset; { register int resync, c; long p = -1; /* can't happen? */ iop->_flag &= ~_IOEOF; if (iop->_flag&_IOREAD) { if (ptrname<2 && iop->_base &&...
20.53
57
(translation_unit) "/*\n * Seek for standard library. Coordinates with buffering.\n */\n#include <stdio.h>\n#include <unistd.h>\n\nint\nfseek(iop, offset, ptrname)\n register FILE *iop;\n long offset;\n{\n register int resync, c;\n long p = -1; /* can't happen? */\n\n iop->_flag &= ~_IOEOF;\n if (iop->_flag&_IOREAD)...
531
0
{"language": "c", "success": true, "metadata": {"lines": 57, "avg_line_length": 20.53, "nodes": 344, "errors": 0, "source_hash": "f37eed4e49b1d3a540d06fdfff507694136457579d57b71bafa3c736175909eb", "categorized_nodes": 268}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
3,461
c
// license:BSD-3-Clause // copyright-holders:<NAME>, <NAME> /* * sc499.h - Archive Cartridge tape controller SC-499 * * Created on: February 21, 2011 * Author: <NAME> * */ #ifndef MAME_BUS_ISA_SC499_H #define MAME_BUS_ISA_SC499_H #pragma once #include "bus/isa/isa.h" #include "softlist_dev.h" //*******...
38.62
123
(translation_unit) "// license:BSD-3-Clause\n// copyright-holders:<NAME>, <NAME>\n/*\n * sc499.h - Archive Cartridge tape controller SC-499\n *\n * Created on: February 21, 2011\n * Author: <NAME>\n *\n */\n\n#ifndef MAME_BUS_ISA_SC499_H\n#define MAME_BUS_ISA_SC499_H\n\n#pragma once\n\n#include "bus/isa/isa.h"\n#...
1,045
51
{"language": "c", "success": true, "metadata": {"lines": 123, "avg_line_length": 38.62, "nodes": 659, "errors": 0, "source_hash": "86b75785ceb302de1de72a56ed3b5e5e7e0946f864b3aa4943d434baecea5685", "categorized_nodes": 440}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
3,462
c
/* * mod_ahtse_lua header file * <NAME> * (C) 2016 */ #if !defined(MOD_AHTSE_LUA) #define MOD_AHTSE_LUA #include <http_protocol.h> #include <http_config.h> #if defined(APLOG_USE_MODULE) APLOG_USE_MODULE(ahtse_lua); #endif typedef struct { const char *doc_path; void *script; apr_size_t script_len; ...
23.6
25
(translation_unit) "/*\n * mod_ahtse_lua header file\n * <NAME>\n * (C) 2016\n */\n\n#if !defined(MOD_AHTSE_LUA)\n#define MOD_AHTSE_LUA\n\n#include <http_protocol.h>\n#include <http_config.h>\n\n#if defined(APLOG_USE_MODULE)\nAPLOG_USE_MODULE(ahtse_lua);\n#endif\n\ntypedef struct {\n const char *doc_path;\n void ...
99
0
{"language": "c", "success": true, "metadata": {"lines": 25, "avg_line_length": 23.6, "nodes": 69, "errors": 0, "source_hash": "727a9876d361eb1da62a2fc7354f006864c4ac3d3409f26803690b2989c18b33", "categorized_nodes": 44}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_if", "text": "#if !defined...
3,463
c
// // MFAppDelegate.h // CameraLevel // // Created by <NAME> on 02/23/2016. // Copyright (c) 2016 <NAME>. All rights reserved. // @import UIKit; @interface MFAppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWindow *window; @end
23.09
11
(translation_unit) "//\n// MFAppDelegate.h\n// CameraLevel\n//\n// Created by <NAME> on 02/23/2016.\n// Copyright (c) 2016 <NAME>. All rights reserved.\n//\n\n@import UIKit;\n\n@interface MFAppDelegate : 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.09, "nodes": 26, "errors": 0, "source_hash": "e4ad0b867044cb6c9fd213044d6101e4a4517f87d0801a38c56eb4e7c05beeee", "categorized_nodes": 13}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "@", "parent": nu...
3,464
c
/* +-----------------------------------------------------------+ | Copyright (c) 2017 <NAME> | +-----------------------------------------------------------+ | This source file is subject to version the BDS license, | | that is bundled with this package in the file LICENSE | +---...
35.95
221
(translation_unit) "/*\n +-----------------------------------------------------------+\n | Copyright (c) 2017 <NAME> |\n +-----------------------------------------------------------+\n | This source file is subject to version the BDS license, |\n | that is bundled with this package in the ...
2,004
1
{"language": "c", "success": true, "metadata": {"lines": 221, "avg_line_length": 35.95, "nodes": 1155, "errors": 0, "source_hash": "166070dd02e5b89df39d9e219623958236224d81d20b5a6e7e1b2001a9307b1c", "categorized_nodes": 832}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifd...
3,465
c
#include "ibm.h" #include "x86.h" #include "x86_flags.h" #include "386_common.h" #include "codegen.h" #include "codegen_accumulate.h" #include "codegen_ir.h" #include "codegen_ops.h" #include "codegen_ops_mmx_shift.h" #include "codegen_ops_helpers.h" uint32_t ropPSxxW_imm(codeblock_t *block, ir_data_t *ir...
31.42
93
(translation_unit) "#include "ibm.h" \n \n#include "x86.h" \n#include "x86_flags.h" \n#include "386_common.h" \n#include "codegen.h" \n#include "codegen_accumulate.h" \n#include "codegen_ir.h" \n#include "codegen_ops.h" \n#include "codegen_ops_mmx_shift.h" \n#include "codegen_ops_helpers.h" \n \nuint32_t ropPSxxW_imm(c...
766
0
{"language": "c", "success": true, "metadata": {"lines": 93, "avg_line_length": 31.42, "nodes": 480, "errors": 0, "source_hash": "ef2f5d0f53de99de2352366870e84bb02b3496e8128be66284974c7936daad6b", "categorized_nodes": 345}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
3,466
c
/* * k5_db.h * * $Id: h_db.h,v 1.2 2012/05/16 12:16:16 kouril Exp $ */ #ifndef __H_DB_H #define __H_DB_H #include <krb5.h> #include <kadm5/admin.h> #include <com_err.h> #include <config.h> #include <hdb.h> typedef hdb_entry_ex krb5_db_entry; extern int hdb_init(krb5_context, const char *); extern void hdb_clo...
21.81
26
(translation_unit) "/*\n * k5_db.h\n *\n * $Id: h_db.h,v 1.2 2012/05/16 12:16:16 kouril Exp $\n */\n\n#ifndef __H_DB_H\n#define __H_DB_H\n\n#include <krb5.h>\n#include <kadm5/admin.h>\n#include <com_err.h>\n\n#include <config.h>\n#include <hdb.h>\n\ntypedef hdb_entry_ex krb5_db_entry;\n\nextern int hdb_init(krb5_contex...
111
0
{"language": "c", "success": true, "metadata": {"lines": 26, "avg_line_length": 21.81, "nodes": 84, "errors": 0, "source_hash": "265b59a359f286cc80d7466a4065045c990dded11ed30987de0cef769b1dea73", "categorized_nodes": 61}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
3,467
c
#pragma once #include <windows.h> enum { FEATURE_ID_RESERVED = 0, FEATURE_ID_ARBITRATION, FEATURE_ID_POWER_MANAGEMENT, FEATURE_ID_LBA_RANGE_TYPE, FEATURE_ID_TEMPERATURE_THRESHOLD, FEATURE_ID_ERROR_RECOVERY, FEATURE_ID_VOLATILE_WRITE_CACHE, FEATURE_ID_NUMBER_OF_QUEUES, FEATURE_ID_INTERRUPT_COALESCING, FEATUR...
31.41
27
(translation_unit) "#pragma once\n\n#include <windows.h>\n\nenum {\n FEATURE_ID_RESERVED = 0,\n FEATURE_ID_ARBITRATION,\n FEATURE_ID_POWER_MANAGEMENT,\n FEATURE_ID_LBA_RANGE_TYPE,\n FEATURE_ID_TEMPERATURE_THRESHOLD,\n FEATURE_ID_ERROR_RECOVERY,\n FEATURE_ID_VOLATILE_WRITE_CACHE,\n FEATURE_ID_NUMBER_OF_QUEUES,\n FEATURE...
96
0
{"language": "c", "success": true, "metadata": {"lines": 27, "avg_line_length": 31.41, "nodes": 65, "errors": 0, "source_hash": "7fb3ecb2fd7b4004e3780b15489b5497084611a0009af0a8a1b54c173b3611e4", "categorized_nodes": 59}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
3,468
c
// // HGSqlManagerBase.h // HGInspirationNotes // // Created by 小雨很美 on 2017/12/25. // Copyright © 2017年 小雨很美. All rights reserved. // #import <Foundation/Foundation.h> #import <FMDB.h> #define hg_myway_db @"/hg_myway_db.sqlite" @interface HGSqlManagerBase : NSObject -(FMDatabase *) fmdb_instance; -(BOOL) open; -...
20.48
21
(translation_unit) "//\n// HGSqlManagerBase.h\n// HGInspirationNotes\n//\n// Created by 小雨很美 on 2017/12/25.\n// Copyright © 2017年 小雨很美. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n#import <FMDB.h>\n#define hg_myway_db @"/hg_myway_db.sqlite"\n@interface HGSqlManagerBase : NSObject\n\n-(FMDatabase ...
111
4
{"language": "c", "success": true, "metadata": {"lines": 21, "avg_line_length": 20.48, "nodes": 64, "errors": 0, "source_hash": "3faf6c249f4ce14f000ffc4e3512995a9acba52424870311affbde3fc416a6f3", "categorized_nodes": 38}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "/Foundati...
3,469
c
/* challenge.c --- Generate a CRAM-MD5 challenge string. * Copyright (C) 2002, 2003, 2004 <NAME> * * This file is part of GNU SASL Library. * * GNU SASL Library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Softwa...
36.06
69
(translation_unit) "/* challenge.c --- Generate a CRAM-MD5 challenge string.\n * Copyright (C) 2002, 2003, 2004 <NAME>\n *\n * This file is part of GNU SASL Library.\n *\n * GNU SASL Library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public License\n * as p...
191
0
{"language": "c", "success": true, "metadata": {"lines": 69, "avg_line_length": 36.06, "nodes": 121, "errors": 0, "source_hash": "97577a5395a6873e0e07633443047a51984e87a18c9fae8d013c8f93da0019ab", "categorized_nodes": 89}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
3,470
c
// // TFViewController.h // TFAudioStreamerPlayer // // Created by Hyacinth on 14/10/29. // Copyright (c) 2014年 Hyacinth.TaskTinkle. All rights reserved. // #import <UIKit/UIKit.h> #import <MediaPlayer/MediaPlayer.h> #import "TFAudioStreamerPlayer.h" @interface TFViewController : UIViewController @end
24.58
12
(translation_unit) "//\n// TFViewController.h\n// TFAudioStreamerPlayer\n//\n// Created by Hyacinth on 14/10/29.\n// Copyright (c) 2014年 Hyacinth.TaskTinkle. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n#import <MediaPlayer/MediaPlayer.h>\n#import "TFAudioStreamerPlayer.h"\n\n@interface TFViewController :...
25
3
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 24.58, "nodes": 16, "errors": 0, "source_hash": "9a47de066658b11b61b73745d97a583178afc75edc8e0ad96807ea6464b63792", "categorized_nodes": 7}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "mport <UIK...
3,471
c
#include "Raylib/terminalgui.h" #include "Raylib/terminaldraw.h" #include "Raylib/terminalwrite.h" #include <string.h> void DrawTerminalGuiButton(int x, int y, const char *text, int maxTextLength, Color background, Color foreground) { TerminalWriteSettings previousSettings; Color prevBackPaint; Color prevForePaint...
33.6
89
(translation_unit) "#include "Raylib/terminalgui.h"\n\n#include "Raylib/terminaldraw.h"\n#include "Raylib/terminalwrite.h"\n#include <string.h>\n\nvoid DrawTerminalGuiButton(int x, int y, const char *text, int maxTextLength, Color background, Color foreground)\n{\n TerminalWriteSettings previousSettings;\n Color prevBa...
697
0
{"language": "c", "success": true, "metadata": {"lines": 89, "avg_line_length": 33.6, "nodes": 423, "errors": 0, "source_hash": "6d2117b802d3ec17a8a4523edbf5dc452c39b4e677da73a06946d30211522859", "categorized_nodes": 307}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
3,472
c
/* +----------------------------------------------------------------------+ | HipHop for PHP | +----------------------------------------------------------------------+ | Copyright (c) 2010- Facebook, Inc. (http://www.facebook.com) | +---------...
36.62
152
(translation_unit) "/*\n +----------------------------------------------------------------------+\n | HipHop for PHP |\n +----------------------------------------------------------------------+\n | Copyright (c) 2010- Facebook, Inc. (http://www.facebook.com)...
1,118
26
{"language": "c", "success": true, "metadata": {"lines": 152, "avg_line_length": 36.62, "nodes": 643, "errors": 0, "source_hash": "0ff132056b4b3ff67ba4e588bbcdf3512bccdd647549029012f95c604ab80e44", "categorized_nodes": 435}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
3,473
c
// ############################################################################# // # // # Scriptname : EZButtonPresses.h // # Author : <NAME> // # contact : <EMAIL> // # Date : 06.08.2016 // # Description: // # Headerfile for the EZbuttonPresses Library // # // # Version : 0.1 // ####################...
26.29
28
(translation_unit) "// #############################################################################\n// #\n// # Scriptname : EZButtonPresses.h\n// # Author : <NAME>\n// # contact : <EMAIL>\n// # Date : 06.08.2016\n\n// # Description:\n// # Headerfile for the EZbuttonPresses Library\n// # \n// # Version ...
87
1
{"language": "c", "success": true, "metadata": {"lines": 28, "avg_line_length": 26.29, "nodes": 44, "errors": 0, "source_hash": "ebefd15bb53cd34f1c4b318e9f3691271b2617ac626e3ad165300ae926b58aff", "categorized_nodes": 28}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
3,474
c
/* * Copyright (c) 2005, <NAME> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, di...
32.59
74
(translation_unit) "/*\n * Copyright (c) 2005, <NAME>\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the "Software"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, ...
308
15
{"language": "c", "success": true, "metadata": {"lines": 74, "avg_line_length": 32.59, "nodes": 170, "errors": 0, "source_hash": "1236dc27e30db6acd709e3c8d4803960deaaf03917ead542af3445025ac21a10", "categorized_nodes": 117}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
3,475
c
#pragma once #ifndef GWEN_CONTROLS_PROPERTY_FILE_H #define GWEN_CONTROLS_PROPERTY_FILE_H #include "Gwen/Controls/Properties.h" #include "Gwen/Controls/Button.h" #include "Gwen/Controls/Dialogs/FolderOpen.h" namespace Gwen { namespace Controls { namespace Property { class File : pu...
34.62
48
(translation_unit) "#pragma once\n#ifndef GWEN_CONTROLS_PROPERTY_FILE_H\n#define GWEN_CONTROLS_PROPERTY_FILE_H\n\n#include "Gwen/Controls/Properties.h"\n#include "Gwen/Controls/Button.h"\n#include "Gwen/Controls/Dialogs/FolderOpen.h"\n\nnamespace Gwen\n{\n namespace Controls\n {\n namespace Property\n ...
343
13
{"language": "c", "success": true, "metadata": {"lines": 48, "avg_line_length": 34.62, "nodes": 181, "errors": 0, "source_hash": "6a8f608c2ffd77ba92c0b55ca638a8995d4afed70e595b1df42a78b802595482", "categorized_nodes": 135}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
3,476
c
#pragma once template <typename T> struct PrefixSum { vector<T> sum; PrefixSum() { } PrefixSum(const T* in, int N) { build(in, N); } explicit PrefixSum(const vector<T>& in) { build(in); } void build(const T* in, int N) { sum.resize(N + 1); sum[0] = 0...
20.79
29
(translation_unit) "#pragma once\n\ntemplate <typename T>\nstruct PrefixSum {\n vector<T> sum;\n\n PrefixSum() {\n }\n\n PrefixSum(const T* in, int N) {\n build(in, N);\n }\n\n explicit PrefixSum(const vector<T>& in) {\n build(in);\n }\n\n\n void build(const T* in, int N) {\n ...
274
6
{"language": "c", "success": true, "metadata": {"lines": 29, "avg_line_length": 20.79, "nodes": 168, "errors": 0, "source_hash": "60abf901aca3d9632b67d150a9e6da4b2579070ab4d2be5b6fd6b62890c30621", "categorized_nodes": 118}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
3,477
c
#ifndef MODEL_OPS #define MODEL_OPS #include "model.h" void makeVerticallySymmetric(std::shared_ptr<figures::Curve> curve); void makeHorizontallySymmetric(std::shared_ptr<figures::Curve> curve); void makeTopBottomTree(Model &model, figures::PBoundedFigure root); #endif // MODEL_OPS
39.43
7
(translation_unit) "#ifndef MODEL_OPS\n#define MODEL_OPS\n\n#include "model.h"\nvoid makeVerticallySymmetric(std::shared_ptr<figures::Curve> curve);\nvoid makeHorizontallySymmetric(std::shared_ptr<figures::Curve> curve);\nvoid makeTopBottomTree(Model &model, figures::PBoundedFigure root);\n\n#endif // MODEL_OPS\n\n" ...
78
4
{"language": "c", "success": true, "metadata": {"lines": 7, "avg_line_length": 39.43, "nodes": 51, "errors": 0, "source_hash": "76828891006729de9bfd26266afca854d21c5d8b52e65f1e4f7c81b20a24d3e2", "categorized_nodes": 36}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef M...
3,478
c
/*------------------------------------ ///\ Plywood C++ Framework \\\/ https://plywood.arc80.com/ ------------------------------------*/ #pragma once #include <ply-cpp/Core.h> #include <ply-cpp/FileLocationMap.h> #include <ply-runtime/container/BTree.h> #include <ply-cpp/LinearLocation.h> namespace ply { namespa...
29.43
77
(translation_unit) "/*------------------------------------\n ///\ Plywood C++ Framework\n \\\/ https://plywood.arc80.com/\n------------------------------------*/\n#pragma once\n#include <ply-cpp/Core.h>\n#include <ply-cpp/FileLocationMap.h>\n#include <ply-runtime/container/BTree.h>\n#include <ply-cpp/LinearLocation...
524
29
{"language": "c", "success": true, "metadata": {"lines": 77, "avg_line_length": 29.43, "nodes": 321, "errors": 0, "source_hash": "38a18c9387001416104edfbef1d7ecab65db2a7fb2ba0e127d1822443052177a", "categorized_nodes": 250}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
3,479
c
#ifndef NETDB_H #define NETDB_H #include "Net.h" #include <vector> #include <set> #include "Cell.h" /* struct shape{ int xlow, ylow, width, height; }; struct placeCell{ int id; int xlow, ylow, width, height, moveType, pinLayer; vector<shape> shapeArray; vector<int> blockLayer; set<TwoPin *>...
18.31
134
(translation_unit) "#ifndef NETDB_H\n#define NETDB_H\n\n#include "Net.h"\n#include <vector>\n#include <set>\n#include "Cell.h"\n/*\nstruct shape{\n int xlow, ylow, width, height;\n};\n\nstruct placeCell{\n int id;\n int xlow, ylow, width, height, moveType, pinLayer;\n vector<shape> shapeArray;\n ve...
449
2
{"language": "c", "success": true, "metadata": {"lines": 134, "avg_line_length": 18.31, "nodes": 302, "errors": 0, "source_hash": "8fb3e90dcbcfb9fc363e4bc41e39bd851f164cfd4b8a5aa7b6515493824b3256", "categorized_nodes": 221}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
3,480
c
/* Copyright (c) 2010 <NAME> Licensed under the Apache License, Version 2.0. See the LICENSE text file for details. */ #pragma once namespace MagoEE { // A reference counted wide string that supports taking in-place substrings of. // This class is not multithread safe. class Sha...
21.5
46
(translation_unit) "/* \n Copyright (c) 2010 <NAME> \n \n Licensed under the Apache License, Version 2.0. \n See the LICENSE text file for details. \n*/ \n \n#pragma once \n \n \nnamespace MagoEE \n{ \n // A reference counted wide string that supports taking in-place substrings of. \n // This class is not m...
171
2
{"language": "c", "success": true, "metadata": {"lines": 46, "avg_line_length": 21.5, "nodes": 106, "errors": 0, "source_hash": "36e1583c2748a575a391f974071158247de63df887bb9dd93e0df7d7f81d44d3", "categorized_nodes": 67}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
3,481
c
// // Handlers.h // Handlers // // Created by <NAME> on 27.06.2019. // Copyright © 2019 <NAME>. All rights reserved. // #import <UIKit/UIKit.h> //! Project version number for Handlers. FOUNDATION_EXPORT double HandlersVersionNumber; //! Project version string for Handlers. FOUNDATION_EXPORT const unsigned char H...
35.54
13
(translation_unit) "//\n// Handlers.h\n// Handlers\n//\n// Created by <NAME> on 27.06.2019.\n// Copyright © 2019 <NAME>. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n//! Project version number for Handlers.\nFOUNDATION_EXPORT double HandlersVersionNumber;\n\n//! Project version string for Handlers.\nFOUND...
33
1
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 35.54, "nodes": 15, "errors": 0, "source_hash": "0a0498b29c130f1cbadfbe72fa35c2e5ad81963ef7b0b5e17842843b3fcd379d", "categorized_nodes": 11}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <U...
3,482
c
/** MIT License * * Copyright (c) 2020 <NAME> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, mer...
33.9
49
(translation_unit) "/** MIT License\n *\n * Copyright (c) 2020 <NAME>\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the "Software"), to deal\n * in the Software without restriction, including without limitation the rights\n ...
99
0
{"language": "c", "success": true, "metadata": {"lines": 49, "avg_line_length": 33.9, "nodes": 75, "errors": 0, "source_hash": "7cdaeb861bc44c06eb6f8ab7b5bf94e69643d341e883289b3cc58db6f2312739", "categorized_nodes": 48}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "def SYS_M...
3,483
c
/* * fastcgi.h -- * * Defines for the FastCGI protocol. * * * Copyright (c) 1995-1996 Open Market, Inc. * * See the file "LICENSE.TERMS" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * * $Id$ */ #ifndef _FASTCGI_H #define _FASTCGI_H /* * Listening so...
23.95
116
(translation_unit) "/* \n * fastcgi.h --\n *\n * Defines for the FastCGI protocol.\n *\n *\n * Copyright (c) 1995-1996 Open Market, Inc.\n *\n * See the file "LICENSE.TERMS" for information on usage and redistribution\n * of this file, and for a DISCLAIMER OF ALL WARRANTIES.\n *\n * $Id$\n */\n\n#ifndef _FASTCGI_H\n#de...
350
0
{"language": "c", "success": true, "metadata": {"lines": 116, "avg_line_length": 23.95, "nodes": 278, "errors": 0, "source_hash": "02b2a8c3a6e89192553e233a945bd2d8000c7c5fdf0a5fcf2ad925f741896e2d", "categorized_nodes": 142}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
3,484
c
#pragma once #ifndef Rightear_InitWSASocketEnv_H #define Rightear_InitWSASocketEnv_H class CInitWSASocketEnv { public: CInitWSASocketEnv(); ~CInitWSASocketEnv(); }; extern CInitWSASocketEnv appInitSocket; #endif // !Rightear_InitWSASocketEnv_H
21.36
11
(translation_unit) "#pragma once\n\n#ifndef Rightear_InitWSASocketEnv_H\n#define Rightear_InitWSASocketEnv_H\n\nclass CInitWSASocketEnv\n{\npublic:\n CInitWSASocketEnv();\n ~CInitWSASocketEnv();\n};\n\nextern CInitWSASocketEnv appInitSocket;\n\n#endif // !Rightear_InitWSASocketEnv_H" (preproc_call) "#pragma once\n" ...
45
0
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 21.36, "nodes": 26, "errors": 0, "source_hash": "7c89d4de07dc542e55583c309e050d4ec3980630e87cddb8547755eda4a88d6b", "categorized_nodes": 17}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
3,485
c
// // ProfessionTypes.h // mcare-model // // Created by sam on 12-8-2. // Copyright (c) 2012年 __MyCompanyName__. All rights reserved. // #import <Foundation/Foundation.h> #import "EnumBase.h" @interface ProfessionTypes : EnumBase typedef enum { ProfessionTypes_Unknown = 0, ProfessionTypes_Doctor = 10, ...
24.37
19
(translation_unit) "//\n// ProfessionTypes.h\n// mcare-model\n//\n// Created by sam on 12-8-2.\n// Copyright (c) 2012年 __MyCompanyName__. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n#import "EnumBase.h"\n\n@interface ProfessionTypes : EnumBase\n\ntypedef enum {\n ProfessionTypes_Unknown = 0,\n...
76
5
{"language": "c", "success": true, "metadata": {"lines": 19, "avg_line_length": 24.37, "nodes": 46, "errors": 0, "source_hash": "6c7ab8080c09528b678c0a6bea87e13bc4eb29d5cc0651891138c7e12c1b6d1d", "categorized_nodes": 28}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "mport <Fo...
3,486
c
/* * NetChip 2280 high/full speed USB device controller. * Unlike many such controllers, this one talks PCI. */ /* * Copyright (C) 2002 NetChip Technology, Inc. (http://www.netchip.com) * Copyright (C) 2003 <NAME> * * This program is free software; you can redistribute it and/or modify * it under the terms of ...
32.63
263
(translation_unit) "/*\n * NetChip 2280 high/full speed USB device controller.\n * Unlike many such controllers, this one talks PCI.\n */\n\n/*\n * Copyright (C) 2002 NetChip Technology, Inc. (http://www.netchip.com)\n * Copyright (C) 2003 <NAME>\n *\n * This program is free software; you can redistribute it and/or mod...
1,710
18
{"language": "c", "success": true, "metadata": {"lines": 263, "avg_line_length": 32.63, "nodes": 1133, "errors": 0, "source_hash": "90782600a6d252ba75000e58fb63473de8deae969aa12176a8500281dc702e73", "categorized_nodes": 833}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#i...
3,487
c
// Compilar usando: gcc-9 -fopenmp numeros.c por la librería omp #include <stdio.h> #include <omp.h> int main(int argc, char const *argv[]) { int n = 1000000; int suma = 0; int i; int suma_local = 0; int numeros[n]; for (i = 0; i < n; i++) { numeros[i] = 1; } #pragma omp parallel private(i) { int num...
17.16
31
(translation_unit) "// Compilar usando: gcc-9 -fopenmp numeros.c por la librería omp \n\n\n#include <stdio.h>\n#include <omp.h>\n\nint main(int argc, char const *argv[])\n{\n int n = 1000000;\n int suma = 0;\n int i;\n int suma_local = 0;\n\n int numeros[n];\n\n for (i = 0; i < n; i++)\n {\n numeros[i] = 1;\n }\n#prag...
195
0
{"language": "c", "success": true, "metadata": {"lines": 31, "avg_line_length": 17.16, "nodes": 110, "errors": 0, "source_hash": "402dc9c3372c86763c6ea2babb175ae9935c7f0ed61dbc5caca953677bb2624e", "categorized_nodes": 66}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "inclu...
3,488
c
extern zend_class_entry *phalcon_filter_sanitize_striptags_ce; ZEPHIR_INIT_CLASS(Phalcon_Filter_Sanitize_Striptags); PHP_METHOD(Phalcon_Filter_Sanitize_Striptags, __invoke); ZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_filter_sanitize_striptags___invoke, 0, 0, 1) #if PHP_VERSION_ID >= 70200 ZEND_ARG_TYPE_INFO(0, input, ...
41.36
14
(translation_unit) "extern zend_class_entry *phalcon_filter_sanitize_striptags_ce;\n\nZEPHIR_INIT_CLASS(Phalcon_Filter_Sanitize_Striptags);\n\nPHP_METHOD(Phalcon_Filter_Sanitize_Striptags, __invoke);\n\nZEND_BEGIN_ARG_INFO_EX(arginfo_phalcon_filter_sanitize_striptags___invoke, 0, 0, 1)\n#if PHP_VERSION_ID >= 70200\n ZE...
108
1
{"language": "c", "success": true, "metadata": {"lines": 14, "avg_line_length": 41.36, "nodes": 61, "errors": 0, "source_hash": "75cda19e1bcc09495012989e01b5ad3a73afa3671d595fb3d08fdf6223512681", "categorized_nodes": 45}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "declaration", "text": "extern zen...
3,489
c
/* Copyright : (C) 2013 Seagate Technology LLC and/or its Affiliates. License : Apache License, Version 2.0. A dummy service that listens for incoming messages and performs actions according to message fops. For example, updating the epoch. */ #include "rpclite.h" #include "ha/epoch.h" #include "fop/fop...
27.8
46
(translation_unit) "/*\n Copyright : (C) 2013 Seagate Technology LLC and/or its Affiliates.\n License : Apache License, Version 2.0.\n\n A dummy service that listens for incoming messages and performs actions\n according to message fops. For example, updating the epoch.\n*/\n\n#include "rpclite.h"\n#include "...
326
0
{"language": "c", "success": true, "metadata": {"lines": 46, "avg_line_length": 27.8, "nodes": 175, "errors": 0, "source_hash": "17c63c5e4750759b21ec8bfc66c2dd95a114f7baa93558a9d6a12dcea14883bb", "categorized_nodes": 122}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
3,490
c
/** * sx1231_raw.c - Command line utility to use libsx1231_ods * * Copyright (c) 2019, <NAME> <<EMAIL>> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source co...
28.83
333
(translation_unit) "/**\n * sx1231_raw.c - Command line utility to use libsx1231_ods\n *\n * Copyright (c) 2019, <NAME> <<EMAIL>>\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions are met:\n * * ...
2,458
3
{"language": "c", "success": true, "metadata": {"lines": 333, "avg_line_length": 28.83, "nodes": 1369, "errors": 0, "source_hash": "3fc13819f4a89b7d24029c97ef9161c09999863f054a15c3893c18fedc42c775", "categorized_nodes": 912}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#i...
3,491
c
// ========================================================================= // // Copyright (c) 2021 <NAME>. // // This code is licensed under the Apache License 2.0. // // Player.h // // ================...
33.76
21
(translation_unit) "// ========================================================================= //\n// Copyright (c) 2021 <NAME>. //\n// This code is licensed under the Apache License 2.0. //\n// Player.h ...
97
4
{"language": "c", "success": true, "metadata": {"lines": 21, "avg_line_length": 33.76, "nodes": 51, "errors": 0, "source_hash": "74d6dd5f988af6967f9bc12ae7b6e5e9d7db0acb90212bcee0777ca0138543bc", "categorized_nodes": 37}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
3,492
c
/** * Basic header/include file for Video.cpp. * * @author GabuEx, dawnmew * @since 1.0 * * Licensed under the MIT License. * * Copyright (c) 2014 <NAME> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to...
32.19
117
(translation_unit) "/**\n * Basic header/include file for Video.cpp.\n *\n * @author GabuEx, dawnmew\n * @since 1.0\n *\n * Licensed under the MIT License.\n *\n * Copyright (c) 2014 <NAME>\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documenta...
700
14
{"language": "c", "success": true, "metadata": {"lines": 117, "avg_line_length": 32.19, "nodes": 462, "errors": 0, "source_hash": "2326f153d07281d4d954031bbeae96f2fda4d51c2bbeaa442f36110ed792fd47", "categorized_nodes": 309}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
3,493
c
/** * @file Ext_Com.h * @brief Ext_Com.h * @author bespoon.com * @date 30/1/2015 */ /* * Copyright (C) Bespoon 2014-2015. No Part of the source code shall be * reproduced, transmitted, distributed, used nor modified in any way without * the express prior written authorization of Bespoon. */ /* Define to preve...
33.17
35
(translation_unit) "/**\n * @file Ext_Com.h\n * @brief Ext_Com.h\n * @author bespoon.com\n * @date 30/1/2015\n*/\n\n/*\n * Copyright (C) Bespoon 2014-2015. No Part of the source code shall be\n * reproduced, transmitted, distributed, used nor modified in any way without\n * the express prior written authorization of B...
127
0
{"language": "c", "success": true, "metadata": {"lines": 35, "avg_line_length": 33.17, "nodes": 100, "errors": 0, "source_hash": "daf84ee9918ea15ab9b9b06bfd2d8a269a446d1570c7e7d5160d6897d99dc1c5", "categorized_nodes": 50}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
3,494
c
/* * Copyright 2015-2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in t...
28.51
88
(translation_unit) "/* \n * Copyright 2015-2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. \n * \n * Licensed under the Apache License, Version 2.0 (the "License"). \n * You may not use this file except in compliance with the License. \n * A copy of the License is located at \n * \n * http://aws.amazon.co...
157
0
{"language": "c", "success": true, "metadata": {"lines": 88, "avg_line_length": 28.51, "nodes": 115, "errors": 0, "source_hash": "867ca244879cb93e65bd47fc0285acf35016a3749bba6c14e6dd9f234347472a", "categorized_nodes": 87}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifdef ...
3,495
c
// license:BSD-3-Clause // copyright-holders:<NAME> /***************************************************************************** * * audio/specimx.h * ****************************************************************************/ #ifndef MAME_AUDIO_SPECIAL_H #define MAME_AUDIO_SPECIAL_H #pragma once class spec...
34.31
29
(translation_unit) "// license:BSD-3-Clause\n// copyright-holders:<NAME>\n/*****************************************************************************\n *\n * audio/specimx.h\n *\n ****************************************************************************/\n\n#ifndef MAME_AUDIO_SPECIAL_H\n#define MAME_AUDIO_SPECIAL...
169
8
{"language": "c", "success": true, "metadata": {"lines": 29, "avg_line_length": 34.31, "nodes": 101, "errors": 0, "source_hash": "999857ad02a6cefae476ca9e22bcc55c19e2e28c613e3472cd2d95e46fd18a47", "categorized_nodes": 64}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
3,496
c
#ifndef _ScoliosisQueryNN_h #define _ScoliosisQueryNN_h #include <boost/asio.hpp> using boost::asio::ip::tcp; struct NetworkResponse { float angleInRadians; float maxOfPDF; }; class NeuralNetworkSocketConnection { public: NeuralNetworkSocketConnection(); bool Connect(); NetworkResponse QueryNN(unsigned...
22.89
19
(translation_unit) "#ifndef _ScoliosisQueryNN_h\n#define _ScoliosisQueryNN_h\n#include <boost/asio.hpp>\n\nusing boost::asio::ip::tcp;\n\nstruct NetworkResponse {\n float angleInRadians;\n float maxOfPDF;\n};\n\nclass NeuralNetworkSocketConnection {\npublic:\n NeuralNetworkSocketConnection();\n bool Connect();\...
112
4
{"language": "c", "success": true, "metadata": {"lines": 19, "avg_line_length": 22.89, "nodes": 65, "errors": 0, "source_hash": "07ee41eeb74f3d52d26a187c490ead60981a795d22fbee9fc6d0ba2fbc6c5a5e", "categorized_nodes": 46}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
3,497
c
/* Copyright 2010 SourceGear, LLC Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software dis...
37.12
82
(translation_unit) "/*\nCopyright 2010 SourceGear, LLC\n\nLicensed under the Apache License, Version 2.0 (the "License");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agree...
152
0
{"language": "c", "success": true, "metadata": {"lines": 82, "avg_line_length": 37.12, "nodes": 107, "errors": 0, "source_hash": "745859acb5c6ef23c2f2ddf0968d5fa4bece1691850ee82e8d64fc86170e4d51", "categorized_nodes": 62}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
3,498
c
// // LYViewController.h // DownloaderLib // // Created by shijian0 on 09/18/2019. // Copyright (c) 2019 shijian0. All rights reserved. // @import UIKit; @interface LYViewController : UIViewController @end
20
10
(translation_unit) "//\n// LYViewController.h\n// DownloaderLib\n//\n// Created by shijian0 on 09/18/2019.\n// Copyright (c) 2019 shijian0. All rights reserved.\n//\n\n@import UIKit;\n\n@interface LYViewController : UIViewController\n\n@end\n" (comment) "//" (comment) "// LYViewController.h" (comment) "// D...
22
5
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 20.0, "nodes": 10, "errors": 0, "source_hash": "79223ec02f19018924f78367138014a673d5c8de04625bd6d092fcfd35cc4928", "categorized_nodes": 5}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "@", "parent": null...
3,499