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
// // JXCategoryIndicatorBackgroundView.h // JXCategoryView // // Created by jiaxin on 2018/8/17. // Copyright © 2018年 jiaxin. All rights reserved. // #import "JXCategoryIndicatorComponentView.h" @interface JXCategoryIndicatorBackgroundView : JXCategoryIndicatorComponentView @end
25
11
(translation_unit) "//\n// JXCategoryIndicatorBackgroundView.h\n// JXCategoryView\n//\n// Created by jiaxin on 2018/8/17.\n// Copyright © 2018年 jiaxin. All rights reserved.\n//\n\n#import "JXCategoryIndicatorComponentView.h"\n\n@interface JXCategoryIndicatorBackgroundView : JXCategoryIndicatorComponentView\n\n\n@en...
19
3
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 25.0, "nodes": 10, "errors": 0, "source_hash": "486f673bdcfe7fce69cc8dc374f51a664939adf1390fa96dfb250da4c1594649", "categorized_nodes": 5}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "port \"JXCa...
11,700
c
/** * DataDescriptor.h : private C++17 header to the core::DataDescriptor class * * Created on: May 15, 2020 * Author: <NAME> <EMAIL> */ #pragma once #include "ncio/common/ncioTypes.h" #include "ncio/transport/Transport.h" #include <any> #include <future> #include <memory> //std::unique_ptr namespace nci...
34.6
83
(translation_unit) "/**\n * DataDescriptor.h : private C++17 header to the core::DataDescriptor class\n *\n * Created on: May 15, 2020\n * Author: <NAME> <EMAIL>\n */\n\n#pragma once\n\n#include "ncio/common/ncioTypes.h"\n#include "ncio/transport/Transport.h"\n\n#include <any>\n#include <future>\n#include <memory...
428
31
{"language": "c", "success": true, "metadata": {"lines": 83, "avg_line_length": 34.6, "nodes": 248, "errors": 0, "source_hash": "305b923f6671e318cf464103980665d931721193c1f8b15379da9d9176198ad2", "categorized_nodes": 172}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma ...
11,701
c
// // StickerListViewController.h // CommanderLifeCounter // // Created by <NAME> on 01.09.17. // Copyright © 2017 VasiliyEgorov. All rights reserved. // #import <UIKit/UIKit.h> @protocol StickerListProtocol <NSObject> - (void) sendStricker:(UIImage*)sticker withSize:(CGSize)stickerSize; @end @interface Sticke...
43.59
22
(translation_unit) "//\n// StickerListViewController.h\n// CommanderLifeCounter\n//\n// Created by <NAME> on 01.09.17.\n// Copyright © 2017 VasiliyEgorov. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@protocol StickerListProtocol <NSObject>\n\n- (void) sendStricker:(UIImage*)sticker withSize:(CGSize)stick...
233
31
{"language": "c", "success": true, "metadata": {"lines": 22, "avg_line_length": 43.59, "nodes": 159, "errors": 0, "source_hash": "91b00c9a6a80b4839b9d46ac5142cd436e531f77dcd59da670e4ace1d3d2a719", "categorized_nodes": 96}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <...
11,702
c
#ifndef PROJECTDOCKWIDGET_H #define PROJECTDOCKWIDGET_H #include <QDockWidget> #include <QtGui> #include <QtCore> #ifdef QT_V5 #include <QtWidgets> #endif class FileSystemModel; class FileSystemTreeView; class Configuration; namespace Ui { class ProjectDockWidget; } class ProjectDockWidget : public QDockWidget { ...
27.52
65
(translation_unit) "#ifndef PROJECTDOCKWIDGET_H\n#define PROJECTDOCKWIDGET_H\n\n#include <QDockWidget>\n#include <QtGui>\n#include <QtCore>\n\n#ifdef QT_V5\n#include <QtWidgets>\n#endif\n\nclass FileSystemModel;\nclass FileSystemTreeView;\nclass Configuration;\n\nnamespace Ui {\nclass ProjectDockWidget;\n}\n\nclass Pro...
480
18
{"language": "c", "success": true, "metadata": {"lines": 65, "avg_line_length": 27.52, "nodes": 310, "errors": 0, "source_hash": "201e24a4f90f6e8c3be44372197c426f17edd175b5ad9561c1fcb4fa4d11fc5b", "categorized_nodes": 214}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
11,703
c
#include <wdm.h> BOOLEAN IsIrqlGreaterThanDispatch( VOID ) { #if DBG return (KeGetCurrentIrql() > DISPATCH_LEVEL); #else return FALSE; #endif }
10.93
15
(translation_unit) "#include <wdm.h> \n \nBOOLEAN \nIsIrqlGreaterThanDispatch( \n VOID \n ) \n \n{ \n#if DBG \n return (KeGetCurrentIrql() > DISPATCH_LEVEL); \n#else \n return FALSE; \n#endif \n \n} \n" (preproc_include) "#include <wdm.h> \n" (#include) "#include" (system_lib_string) "<wdm.h>" ...
41
0
{"language": "c", "success": true, "metadata": {"lines": 15, "avg_line_length": 10.93, "nodes": 27, "errors": 0, "source_hash": "a3f2c1afd5fb2b3e7e977d3e12c214bc1772e922d1434f1b091f5f89fd53dcc5", "categorized_nodes": 20}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
11,704
c
/* UDP_Server. This Program will will create the Server side for UDP_Socket Programming. It will receive the data from the client and then send the same data back to client. */ #include <stdio.h> #include <string.h> #include <sys/socket.h> //// Needed for socket creating and binding #include <arpa/inet...
36.86
57
(translation_unit) "/*\n UDP_Server. This Program will will create the Server side for UDP_Socket Programming.\n It will receive the data from the client and then send the same data back to client.\n*/\n\n#include <stdio.h>\n#include <string.h>\n#include <sys/socket.h> //// Needed for socket creating and ...
517
0
{"language": "c", "success": true, "metadata": {"lines": 57, "avg_line_length": 36.86, "nodes": 278, "errors": 0, "source_hash": "b7b52a4873b0d12a9ebcc385c1cd1f4418f09061930f9044bc15fbfc6e622bcf", "categorized_nodes": 205}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
11,705
c
// // Taximeter.h // Facade // // Created by <NAME> on 11/15/10. // Copyright 2010 <NAME>. All rights reserved. // #import <Foundation/Foundation.h> @interface Taximeter : NSObject { } - (void) start; - (void) stop; @end
14.13
15
(translation_unit) "//\n// Taximeter.h\n// Facade\n//\n// Created by <NAME> on 11/15/10.\n// Copyright 2010 <NAME>. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n\n\n@interface Taximeter : NSObject \n{\n\n}\n\n- (void) start;\n- (void) stop;\n\n@end\n" (comment) "//" (comment) "// Taximeter.h"...
47
5
{"language": "c", "success": true, "metadata": {"lines": 15, "avg_line_length": 14.13, "nodes": 24, "errors": 0, "source_hash": "190baeb01829911c89092a7a90bf91dd20f4b933e074608e6bda184b6fa71eea", "categorized_nodes": 11}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <...
11,706
c
/* * Copyright (c) 2020-2021 Huawei Device Co., Ltd. * * HDF is dual licensed: you can use it either under the terms of * the GPL, or the BSD license, at your option. * See the LICENSE file in the root of this repository for complete details. */ #ifndef HDF_DEVICE_NODE_EXT_H #define HDF_DEVICE_NODE_EXT_H #inclu...
32.11
18
(translation_unit) "/*\n * Copyright (c) 2020-2021 Huawei Device Co., Ltd.\n *\n * HDF is dual licensed: you can use it either under the terms of\n * the GPL, or the BSD license, at your option.\n * See the LICENSE file in the root of this repository for complete details.\n */\n\n#ifndef HDF_DEVICE_NODE_EXT_H\n#define ...
72
0
{"language": "c", "success": true, "metadata": {"lines": 18, "avg_line_length": 32.11, "nodes": 51, "errors": 0, "source_hash": "3690d2e2780747d6a0b200abb2ed5a125f11983ccd911ba69c9d62e171b3d207", "categorized_nodes": 39}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
11,707
c
// Generated by gencpp from file world_canvas_msgs/GetAnnotationsData.msg // DO NOT EDIT! #ifndef WORLD_CANVAS_MSGS_MESSAGE_GETANNOTATIONSDATA_H #define WORLD_CANVAS_MSGS_MESSAGE_GETANNOTATIONSDATA_H #include <ros/service_traits.h> #include <world_canvas_msgs/GetAnnotationsDataRequest.h> #include <world_canvas_msg...
29.43
104
(translation_unit) "// Generated by gencpp from file world_canvas_msgs/GetAnnotationsData.msg\n// DO NOT EDIT!\n\n\n#ifndef WORLD_CANVAS_MSGS_MESSAGE_GETANNOTATIONSDATA_H\n#define WORLD_CANVAS_MSGS_MESSAGE_GETANNOTATIONSDATA_H\n\n#include <ros/service_traits.h>\n\n\n#include <world_canvas_msgs/GetAnnotationsDataRequest...
655
52
{"language": "c", "success": true, "metadata": {"lines": 104, "avg_line_length": 29.43, "nodes": 316, "errors": 0, "source_hash": "03cc58ba426d94ac57c3bd0c3d4eb3f8111dab3d8679e935a7b736317b955b46", "categorized_nodes": 198}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
11,708
c
// Copyright 2015 XLGAMES Inc. // // Distributed under the MIT License (See // accompanying file "LICENSE" or the website // http://www.opensource.org/licenses/mit-license.php) #pragma once #include "IBufferUploads.h" #include "../Core/Types.h" #include <vector> namespace BufferUploads { typedef int64 TimeMarker...
38.36
89
(translation_unit) "// Copyright 2015 XLGAMES Inc.\n//\n// Distributed under the MIT License (See\n// accompanying file "LICENSE" or the website\n// http://www.opensource.org/licenses/mit-license.php)\n\n#pragma once\n\n#include "IBufferUploads.h"\n#include "../Core/Types.h"\n#include <vector>\n\nnamespace BufferUpload...
559
19
{"language": "c", "success": true, "metadata": {"lines": 89, "avg_line_length": 38.36, "nodes": 346, "errors": 0, "source_hash": "4acd00ec1feaedea34d25792e7ed4cc4602148ef437d535ff9554a43c1908712", "categorized_nodes": 268}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
11,709
c
/********************************************************************** // @@@ START COPYRIGHT @@@ // // Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. ...
30.91
67
(translation_unit) "/**********************************************************************\n// @@@ START COPYRIGHT @@@\n//\n// Licensed to the Apache Software Foundation (ASF) under one\n// or more contributor license agreements. See the NOTICE file\n// distributed with this work for additional information\n// regard...
177
9
{"language": "c", "success": true, "metadata": {"lines": 67, "avg_line_length": 30.91, "nodes": 100, "errors": 0, "source_hash": "eb1bba062094d109da19eab07678f494e84a61aad4eda67c1a2225864d62f60e", "categorized_nodes": 61}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
11,710
c
version https://git-lfs.github.com/spec/v1 oid sha256:3226dd73b5a51e2875125963dfd9f5ce8458148ec7cc189db4a900f866c4f6a7 size 887
41.67
3
(translation_unit) "version https://git-lfs.github.com/spec/v1\noid sha256:3226dd73b5a51e2875125963dfd9f5ce8458148ec7cc189db4a900f866c4f6a7\nsize 887\n" (declaration) "version https://git-lfs.github.com/spec/v1\noid" (type_identifier) "version" (ERROR) "https:" (identifier) "https" (:) ":" (co...
21
2
{"language": "c", "success": true, "metadata": {"lines": 3, "avg_line_length": 41.67, "nodes": 14, "errors": 0, "source_hash": "ff288fd62e2106ad2d3da44dfb6a095696cf6118574d4961b791e9f7cda173cd", "categorized_nodes": 11}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "declaration", "text": "version htt...
11,711
c
#include "jemalloc/internal/jemalloc_internal.h" /* * quarantine pointers close to NULL are used to encode state information that * is used for cleaning up during thread shutdown. */ #define QUARANTINE_STATE_REINCARNATED ((quarantine_t *)(uintptr_t)1) #define QUARANTINE_STATE_PURGATORY ((quarantine_t *)...
38.65
176
(translation_unit) "#include "jemalloc/internal/jemalloc_internal.h"\n\n/*\n * quarantine pointers close to NULL are used to encode state information that\n * is used for cleaning up during thread shutdown.\n */\n#define QUARANTINE_STATE_REINCARNATED ((quarantine_t *)(uintptr_t)1)\n#define QUARANTINE_STATE_PUR...
1,405
2
{"language": "c", "success": true, "metadata": {"lines": 176, "avg_line_length": 38.65, "nodes": 865, "errors": 0, "source_hash": "21f9b8e7557e71c44dffd6ff63d5a46800b6f524c11636ef672fcd2a450f9b74", "categorized_nodes": 617}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
11,712
c
// // ProfileViewController.h // chirpy // // Created by <NAME> on 9/22/16. // Copyright © 2016 valionka. All rights reserved. // #import <UIKit/UIKit.h> @interface ProfileViewController : UIViewController <UITableViewDelegate, UITableViewDataSource> @end
25
10
(translation_unit) "//\n// ProfileViewController.h\n// chirpy\n//\n// Created by <NAME> on 9/22/16.\n// Copyright © 2016 valionka. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface ProfileViewController : UIViewController <UITableViewDelegate, UITableViewDataSource>\n\n@end\n" (comment) "//" (co...
25
4
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 25.0, "nodes": 14, "errors": 0, "source_hash": "0028df9864ee4dd957fa2cf98b03a7895bbba301f532e5e63af6b5961be8ed2c", "categorized_nodes": 7}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <UIK...
11,713
c
#ifndef GETMSATDATA_INCLUDE #include "getmsatdata.h" #endif #ifdef DMEMDEBUG #define MEMDEBUG #include "memdebug.h" #endif #define NUMCHROM 2L extern FILE *simlog, *weightfile; /*********************************************************** * setupmsatdata() initializes the microsat data structure */ void setupmsatda...
36.59
165
(translation_unit) "#ifndef GETMSATDATA_INCLUDE\n#include "getmsatdata.h"\n#endif\n\n#ifdef DMEMDEBUG\n#define MEMDEBUG\n#include "memdebug.h"\n#endif\n\n#define NUMCHROM 2L\n\nextern FILE *simlog, *weightfile;\n\n/***********************************************************\n * setupmsatdata() initializes the microsat ...
2,274
0
{"language": "c", "success": true, "metadata": {"lines": 165, "avg_line_length": 36.59, "nodes": 1487, "errors": 0, "source_hash": "a9d4b3c85e94918040af1995966f733f1aff668e6bb2704055adcd35fc19645d", "categorized_nodes": 1030}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#if...
11,714
c
#pragma once #include <string> #include <Windows.h> class Service { public: virtual bool Initialize() = 0; virtual bool Shutdown() = 0; virtual void Start() = 0; virtual void Stop() = 0; virtual void DoWork() = 0; virtual bool ShouldStop() = 0; virtual void OnEvent(DWORD controlCode) = 0; ...
21.93
14
(translation_unit) "#pragma once\n\n#include <string>\n#include <Windows.h>\n\nclass Service\n{\npublic:\n virtual bool Initialize() = 0;\n virtual bool Shutdown() = 0;\n virtual void Start() = 0;\n virtual void Stop() = 0;\n virtual void DoWork() = 0;\n virtual bool ShouldStop() = 0;\n virtual voi...
115
7
{"language": "c", "success": true, "metadata": {"lines": 14, "avg_line_length": 21.93, "nodes": 85, "errors": 0, "source_hash": "3f1114bcbdba7c11c73f819f1265d3dff21cb19ddd55cf6d5ce9ed8ff8140637", "categorized_nodes": 54}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
11,715
c
#ifndef PROJECTION_MESH_H #define PROJECTION_MESH_H #include <core/Ref.hpp> #include <core/Vector2.hpp> #include <core/Vector3.hpp> #include <gen/CollisionShape.hpp> #include <gen/ExternalTexture.hpp> #include <gen/MeshInstance.hpp> #include <gen/Resource.hpp> #include <gen/Shader.hpp> #include <gen/ShaderMaterial.hpp...
34.24
173
(translation_unit) "#ifndef PROJECTION_MESH_H\n#define PROJECTION_MESH_H\n\n#include <core/Ref.hpp>\n#include <core/Vector2.hpp>\n#include <core/Vector3.hpp>\n#include <gen/CollisionShape.hpp>\n#include <gen/ExternalTexture.hpp>\n#include <gen/MeshInstance.hpp>\n#include <gen/Resource.hpp>\n#include <gen/Shader.hpp>\n#...
1,288
44
{"language": "c", "success": true, "metadata": {"lines": 173, "avg_line_length": 34.24, "nodes": 754, "errors": 0, "source_hash": "4f458caf79b62aff6593bd35fbdb01c2cc457cbbce578f3ee81cf0498e614362", "categorized_nodes": 503}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
11,716
c
/* * Copyright (C) 2013 Broadcom Corporation * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation version 2. * * This program is distributed "as is" WITHOUT ANY WARRANTY of any * kind, wheth...
26.15
101
(translation_unit) "/*\n * Copyright (C) 2013 Broadcom Corporation\n *\n * This program is free software; you can redistribute it and/or\n * modify it under the terms of the GNU General Public License as\n * published by the Free Software Foundation version 2.\n *\n * This program is distributed "as is" WITHOUT ANY WAR...
612
1
{"language": "c", "success": true, "metadata": {"lines": 101, "avg_line_length": 26.15, "nodes": 343, "errors": 0, "source_hash": "5c10e90c1a0a59f9425c720327875d9503b6f6521c38a9d9b155416e78d1cad7", "categorized_nodes": 259}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
11,717
c
/* * xor.c * * Created on: Jun 28, 2013 * Author: delmadord */ #include <ctype.h> #include <stdio.h> #define KEY '&' int main(void) { int orig_char, new_char; while ((orig_char = getchar()) != EOF) { new_char = orig_char ^ KEY; if (isprint(orig_char) && isprint(new_char)) putchar(new_char); el...
16.9
20
(translation_unit) "/*\n * xor.c\n *\n * Created on: Jun 28, 2013\n * Author: delmadord\n */\n\n#include <ctype.h>\n#include <stdio.h>\n\n#define KEY '&'\n\nint main(void) {\n int orig_char, new_char;\n\n while ((orig_char = getchar()) != EOF) {\n new_char = orig_char ^ KEY;\n if (isprint(orig_char) && isprint(...
102
0
{"language": "c", "success": true, "metadata": {"lines": 20, "avg_line_length": 16.9, "nodes": 63, "errors": 0, "source_hash": "b040c06fcda9c961372bc9e6613bcb54bc5c3b40f25954873101a2a464cfbc20", "categorized_nodes": 45}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#includ...
11,718
c
// // DDCalendarHourLinesView.h // DDCalendar // // Created by <NAME> 2016 // #import <UIKit/UIKit.h> @interface DDCalendarHourLinesView : UIView @property(nonatomic, strong) IBInspectable UIColor * _Nonnull gridColor; @property(nonatomic, strong) IBInspectable UIColor * _Nonnull textColor; @property (nonatomic, ...
29.23
13
(translation_unit) "//\n// DDCalendarHourLinesView.h\n// DDCalendar\n//\n// Created by <NAME> 2016\n//\n\n#import <UIKit/UIKit.h>\n\n@interface DDCalendarHourLinesView : UIView\n\n@property(nonatomic, strong) IBInspectable UIColor * _Nonnull gridColor;\n@property(nonatomic, strong) IBInspectable UIColor * _Nonnull t...
90
17
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 29.23, "nodes": 65, "errors": 0, "source_hash": "af5afa24938c86fa0ad1577d3fd378c36b35d66b313a195c8602533c1ebf912e", "categorized_nodes": 36}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <...
11,719
c
#include "THZStorage.h" #include "generic/THZStorage.c" #include "THZGenerateAllTypes.h" #include "generic/THZStorageCopy.c" #include "THZGenerateAllTypes.h"
30.6
5
(translation_unit) "#include "THZStorage.h"\n\n#include "generic/THZStorage.c"\n#include "THZGenerateAllTypes.h"\n\n#include "generic/THZStorageCopy.c"\n#include "THZGenerateAllTypes.h"\n" (preproc_include) "#include "THZStorage.h"\n" (#include) "#include" (string_literal) ""THZStorage.h"" (") """ ...
31
0
{"language": "c", "success": true, "metadata": {"lines": 5, "avg_line_length": 30.6, "nodes": 15, "errors": 0, "source_hash": "285a1c6183809b993475f67b613dbf00574b57f9bd6f5d6e1e29c3ced4588f77", "categorized_nodes": 15}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#include...
11,720
c
// -*- C++ -*- //============================================================================= /** * @file Server_Request_Interceptor.h * * Server_Request_Interceptor.h,v 1.3 2001/03/07 08:17:31 othman Exp * * Implementation header for the server request interceptor for the * PortableInterceptor::Forwar...
32.09
136
(translation_unit) "// -*- C++ -*- \n \n//============================================================================= \n/** \n * @file Server_Request_Interceptor.h \n * \n * Server_Request_Interceptor.h,v 1.3 2001/03/07 08:17:31 othman Exp \n * \n * Implementation header for the server request interceptor for the \n ...
456
36
{"language": "c", "success": true, "metadata": {"lines": 136, "avg_line_length": 32.09, "nodes": 274, "errors": 0, "source_hash": "37750bc580df62f76f2f2f7fbdaffdd66f4ac39c2a1e49c1f853edebdcd6edb8", "categorized_nodes": 190}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
11,721
c
// Copyright 2020 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_SYNC_TEST_INTEGRATION_OFFER_HELPER_H_ #define CHROME_BROWSER_SYNC_TEST_INTEGRATION_OFFER_HELPER_H_ namespace autofill { struct Aut...
39.82
17
(translation_unit) "// Copyright 2020 The Chromium Authors. All rights reserved.\n// Use of this source code is governed by a BSD-style license that can be\n// found in the LICENSE file.\n\n#ifndef CHROME_BROWSER_SYNC_TEST_INTEGRATION_OFFER_HELPER_H_\n#define CHROME_BROWSER_SYNC_TEST_INTEGRATION_OFFER_HELPER_H_\n\nname...
75
3
{"language": "c", "success": true, "metadata": {"lines": 17, "avg_line_length": 39.82, "nodes": 37, "errors": 0, "source_hash": "f524ec20c6476d5b0b19ec0139bb9e5d6eeef4e423aeba15e117d7af28c3037a", "categorized_nodes": 31}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
11,722
c
/** \brief Z1-specific definition of the "bsp_timer" bsp module. On Z1, we use timerB0 for the bsp_timer module. \author <NAME> <<EMAIL>>, May 2013. */ #include "msp430x26x.h" #include "string.h" #include "bsp_timer.h" #include "board.h" //=========================== defines ===========================...
27.96
140
(translation_unit) "/** \n\brief Z1-specific definition of the "bsp_timer" bsp module. \n \nOn Z1, we use timerB0 for the bsp_timer module. \n \n\author <NAME> <<EMAIL>>, May 2013. \n*/ \n \n#include "msp430x26x.h" \n#include "string.h" \n#include "bsp_timer.h" \n#include "board.h" \n \n//=========================== de...
341
0
{"language": "c", "success": true, "metadata": {"lines": 140, "avg_line_length": 27.96, "nodes": 190, "errors": 0, "source_hash": "acc51baa322152f343750f563d988bcd57c2841615ba7f6b296ee9c49769e56b", "categorized_nodes": 151}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
11,723
c
// // CMKMacros.h // ChartMaker // // Created by <NAME> on 29/03/2015. // Copyright (c) 2015 Echelon Developments Ltd. All rights reserved. // #ifndef ChartMaker_CMKMacros_h #define ChartMaker_CMKMacros_h #define JSON_BACKED_SCALAR nonatomic,assign #define JSON_BACKED_OBJECT nonatomic,strong #define JSON_BACKED...
35.57
14
(translation_unit) "//\n// CMKMacros.h\n// ChartMaker\n//\n// Created by <NAME> on 29/03/2015.\n// Copyright (c) 2015 Echelon Developments Ltd. All rights reserved.\n//\n\n#ifndef ChartMaker_CMKMacros_h\n#define ChartMaker_CMKMacros_h\n\n#define JSON_BACKED_SCALAR nonatomic,assign\n#define JSON_BACKED_OBJECT nona...
31
0
{"language": "c", "success": true, "metadata": {"lines": 14, "avg_line_length": 35.57, "nodes": 23, "errors": 0, "source_hash": "d8edc6afa51f095f9ba4ae4f0a0c5a2c638f1dd1d7518b334ee79a90cb9f5e7d", "categorized_nodes": 9}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef C...
11,724
c
/* * $Id: SCA_PythonController.h 39883 2011-09-03 02:15:49Z campbellbarton $ * * ***** BEGIN GPL LICENSE BLOCK ***** * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * ...
33.5
107
(translation_unit) "/*\n * $Id: SCA_PythonController.h 39883 2011-09-03 02:15:49Z campbellbarton $\n *\n * ***** BEGIN GPL LICENSE BLOCK *****\n *\n * This program is free software; you can redistribute it and/or\n * modify it under the terms of the GNU General Public License\n * as published by the Free Software Found...
538
13
{"language": "c", "success": true, "metadata": {"lines": 107, "avg_line_length": 33.5, "nodes": 347, "errors": 0, "source_hash": "493ac7005f672cd2a68b69b8d5230d66517bf00ac39107f7c09ce74538e6b93c", "categorized_nodes": 231}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
11,725
c
/* * The MIT License (MIT) * * Copyright (c) 2019 <NAME> (tinyusb.org) * * 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 ...
28.66
108
(translation_unit) "/* \n * The MIT License (MIT)\n *\n * Copyright (c) 2019 <NAME> (tinyusb.org)\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 with...
589
0
{"language": "c", "success": true, "metadata": {"lines": 108, "avg_line_length": 28.66, "nodes": 374, "errors": 0, "source_hash": "a28fd1d4615ecc877d8f024e7298e824ac5457f1d852d103a139f4218fa5c037", "categorized_nodes": 235}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
11,726
c
//#ifndef INC_1942MP_FONDOCONF_H //#define INC_1942MP_FONDOCONF_H // //class FondoConf { //public: // string spriteID; //}; // //#endif
14.44
9
(translation_unit) "//#ifndef INC_1942MP_FONDOCONF_H\n//#define INC_1942MP_FONDOCONF_H\n//\n//class FondoConf {\n//public:\n// string spriteID;\n//};\n//\n//#endif\n" (comment) "//#ifndef INC_1942MP_FONDOCONF_H" (comment) "//#define INC_1942MP_FONDOCONF_H" (comment) "//" (comment) "//class FondoConf {" (co...
10
0
{"language": "c", "success": true, "metadata": {"lines": 9, "avg_line_length": 14.44, "nodes": 0, "errors": 0, "source_hash": "d18a996aee9b38f1ffbdf13e0655c1eb79e013bdc767d45e1b7c27f12f46f19f", "categorized_nodes": 0}, "ast": {"root": "translation_unit", "nodes": []}, "node_categories": {"declarations": {"functions": [...
11,727
c
#pragma once #include<iomanip> //#define DEBUG //调试时加载 typedef double ANN_INPUT_TYPE; typedef double ANN_OUTPUT_TYPE; class ANN { public: /* data_filename 输入数据的文件名 */ ANN(char* data_filename); ANN(); //构造bp神经网络 ANN(int n, int* layerNumbers, ANN_OUTPUT_TYPE max = 1, ANN_OUTPUT_TYPE min = 0); /*//训练网络 ///lo...
17.9
84
(translation_unit) "ragma once\n#include<iomanip>\n//#define DEBUG //调试时加载\n\ntypedef double ANN_INPUT_TYPE;\ntypedef double ANN_OUTPUT_TYPE;\nclass ANN\n{\npublic:\n /*\n data_filename 输入数据的文件名\n */\n ANN(char* data_filename);\n ANN();\n //构造bp神经网络 \n ANN(int n, int* layerNumbers, ANN_OUTPUT_TYPE max = 1, ANN_OUTPUT_...
411
12
{"language": "c", "success": true, "metadata": {"lines": 84, "avg_line_length": 17.9, "nodes": 284, "errors": 0, "source_hash": "2b3b5555ebeae5e19a2898e1f45a975cc375fc4c265148da0c476de4c7e80487", "categorized_nodes": 149}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "ragma on...
11,728
c
/** @author <NAME> */ #ifndef CNOID_BODY_PLUGIN_BODY_BAR_H #define CNOID_BODY_PLUGIN_BODY_BAR_H #include "BodyItem.h" #include <cnoid/ItemList> #include <cnoid/ToolBar> #include <cnoid/Signal> #include <cnoid/SpinBox> #include "exportdecl.h" namespace cnoid { class MessageView; class CNOID_EXPORT BodyBar : ...
31.75
60
(translation_unit) "/**\n @author <NAME>\n*/\n\n#ifndef CNOID_BODY_PLUGIN_BODY_BAR_H\n#define CNOID_BODY_PLUGIN_BODY_BAR_H\n\n#include "BodyItem.h"\n#include <cnoid/ItemList>\n#include <cnoid/ToolBar>\n#include <cnoid/Signal>\n#include <cnoid/SpinBox>\n#include "exportdecl.h"\n\nnamespace cnoid {\n\nclass MessageView...
449
11
{"language": "c", "success": true, "metadata": {"lines": 60, "avg_line_length": 31.75, "nodes": 285, "errors": 0, "source_hash": "8a0af2d60f7cd6742bac7f1f8e188755d90186d867a3408f204f44b8cd4ab53e", "categorized_nodes": 204}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
11,729
c
/*------------------------------------------------------------------------------*/ /** * \file GW_GeometryCell.h * \brief Definition of class \c GW_GeometryCell * \author <NAME>? * \date 2-4-2004 */ /*------------------------------------------------------------------------------*/ #ifndef _GW_GEOMETRY...
29.64
133
(translation_unit) "/*------------------------------------------------------------------------------*/\n/** \n * \file GW_GeometryCell.h\n * \brief Definition of class \c GW_GeometryCell\n * \author <NAME>?\n * \date 2-4-2004\n */ \n/*----------------------------------------------------------------------------...
823
35
{"language": "c", "success": true, "metadata": {"lines": 133, "avg_line_length": 29.64, "nodes": 485, "errors": 0, "source_hash": "a775b9493872cf6ef6fa5bddf3dfb6f3d0fd04b18787fe2cb7dbf527b79aed11", "categorized_nodes": 369}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
11,730
c
/**************************************************************************** * * This is a part of the TOTEM offline software. * Authors: * <NAME> (<EMAIL>) * <NAME> (<EMAIL>) * ****************************************************************************/ #ifndef EventFilter_CTPPSRawToDigi_SimpleVFATFrameC...
31.66
53
(translation_unit) "/****************************************************************************\n*\n* This is a part of the TOTEM offline software.\n* Authors: \n* <NAME> (<EMAIL>)\n* <NAME> (<EMAIL>) \n* \n****************************************************************************/\n\n\n#ifndef EventFilter_C...
321
11
{"language": "c", "success": true, "metadata": {"lines": 53, "avg_line_length": 31.66, "nodes": 175, "errors": 0, "source_hash": "edc18c1d3c1d3fdcb2d60f46a44d63fcd6e1f6f256d0ed3ade7c353323634444", "categorized_nodes": 130}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
11,731
c
/* * Copyright (C) 2010 Motorola * * 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 ...
30.49
158
(translation_unit) "/*\n * Copyright (C) 2010 Motorola\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 ap...
673
0
{"language": "c", "success": true, "metadata": {"lines": 158, "avg_line_length": 30.49, "nodes": 348, "errors": 0, "source_hash": "d9e199ede96a88ef00aa04a1bcce512d6bb42a35668cb19d8a00bcf39a8821fd", "categorized_nodes": 246}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
11,732
c
//////////////////////////////////////////////////////////////////////////////// // // Package: RoadNarrows Robotics Common Library 1 // // Library: librnr // // File: simplebuf.c // /*! \file * * $LastChangedDate: 2010-03-24 10:19:36 -0600 (Wed, 24 Mar 2010) $ * $Rev: 307 $ * * \brief Simple [io] buffer ...
30.8
164
(translation_unit) "////////////////////////////////////////////////////////////////////////////////\n//\n// Package: RoadNarrows Robotics Common Library 1\n//\n// Library: librnr\n//\n// File: simplebuf.c\n//\n/*! \file\n *\n * $LastChangedDate: 2010-03-24 10:19:36 -0600 (Wed, 24 Mar 2010) $\n * $Rev: 307 $\n...
592
0
{"language": "c", "success": true, "metadata": {"lines": 164, "avg_line_length": 30.8, "nodes": 343, "errors": 0, "source_hash": "6f3c0962978a54a812c59f9ff69437be19841df2d46e92242102eadb22897365", "categorized_nodes": 242}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
11,733
c
// Copyright (c) 2020 [Untitled Games] // This file is subject to the terms and conditions defined in // file 'LICENSE', which is part of this source code package. // // [+ :] #pragma once #include <spdlog/spdlog.h> namespace ue { class Log { public: static void Init(); inline static std::shared_ptr<spdlog:...
38.68
41
(translation_unit) "// Copyright (c) 2020 [Untitled Games]\n// This file is subject to the terms and conditions defined in\n// file 'LICENSE', which is part of this source code package.\n// \n// [+ :]\n\n#pragma once\n\n#include <spdlog/spdlog.h>\n\nnamespace ue {\n\n class Log {\n public:\n static void Init();\n\n i...
290
4
{"language": "c", "success": true, "metadata": {"lines": 41, "avg_line_length": 38.68, "nodes": 163, "errors": 0, "source_hash": "5b5dcb78da8be0ffd6e391d250ac4b02c43938d5e296f66cb0a659c29c9409f8", "categorized_nodes": 89}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma ...
11,734
c
// Copyright 2016 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef SHELL_TESTING_PLATFORM_VIEW_TEST_H_ #define SHELL_TESTING_PLATFORM_VIEW_TEST_H_ #include "flutter/shell/common/platform_view.h" #include "lib/ftl...
35.52
23
(translation_unit) "// Copyright 2016 The Chromium Authors. All rights reserved.\n// Use of this source code is governed by a BSD-style license that can be\n// found in the LICENSE file.\n\n#ifndef SHELL_TESTING_PLATFORM_VIEW_TEST_H_\n#define SHELL_TESTING_PLATFORM_VIEW_TEST_H_\n\n#include "flutter/shell/common/platfor...
135
6
{"language": "c", "success": true, "metadata": {"lines": 23, "avg_line_length": 35.52, "nodes": 69, "errors": 0, "source_hash": "c263c76dd1dc106bbf23d3f6dfc45280d47dd0f6bb6a8b943d76074f5b21cefe", "categorized_nodes": 52}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
11,735
c
// // ZHDPListRow.h // ZHJSNative // // Created by EM on 2021/5/27. // Copyright © 2021 Zheng. All rights reserved. // #import <UIKit/UIKit.h> #import "ZHDPDataTask.h"// 数据管理 NS_ASSUME_NONNULL_BEGIN @interface ZHDPListRow : UIView - (void)configItem:(NSArray <ZHDPListColItem *> *)items; @end NS_ASSUME_NONNULL...
21.79
14
(translation_unit) "//\n// ZHDPListRow.h\n// ZHJSNative\n//\n// Created by EM on 2021/5/27.\n// Copyright © 2021 Zheng. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n#import "ZHDPDataTask.h"// 数据管理\n\nNS_ASSUME_NONNULL_BEGIN\n\n@interface ZHDPListRow : UIView\n\n- (void)configItem:(NSArray <ZHDPListColItem *...
53
8
{"language": "c", "success": true, "metadata": {"lines": 14, "avg_line_length": 21.79, "nodes": 33, "errors": 0, "source_hash": "d40329759e737cb3c308403e25f25e057de513b98b7c4df9c520fd685dea7fd0", "categorized_nodes": 17}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <U...
11,736
c
/* * Copyright (C) 1989-95 GROUPE BULL * * 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, publ...
32.77
118
(translation_unit) "/*\n * Copyright (C) 1989-95 GROUPE BULL\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the "Software"), to\n * deal in the Software without restriction, including without limitation the\n * rights to use,...
562
0
{"language": "c", "success": true, "metadata": {"lines": 118, "avg_line_length": 32.77, "nodes": 335, "errors": 0, "source_hash": "ce421068ab626601c1ac82d3bee5d4ed2faa07f899bd8abbbbfdbe2905b3e5b7", "categorized_nodes": 269}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
11,737
c
// // Created by longjianjiang on 2019/09/07. // Copyright © 2019 longjianjiang. All rights reserved. // #ifndef quick_sort_h #define quick_sort_h #include <vector> namespace jiang { int partition_hoare_swap(vector<int>& nums, int left, int right) { int pivot = nums[left]; int i = left, j = right; while (...
26.93
83
(translation_unit) "//\n// Created by longjianjiang on 2019/09/07.\n// Copyright © 2019 longjianjiang. All rights reserved.\n//\n\n#ifndef quick_sort_h\n#define quick_sort_h\n\n#include <vector>\n\nnamespace jiang {\n\n int partition_hoare_swap(vector<int>& nums, int left, int right) {\n int pivot = nums[left];\n i...
834
6
{"language": "c", "success": true, "metadata": {"lines": 83, "avg_line_length": 26.93, "nodes": 462, "errors": 0, "source_hash": "fdd825eed778bca80a892d6ee85aa80c5363764fddc6fe63edeae743dfce64ff", "categorized_nodes": 326}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "ifndef...
11,738
c
--- src/scandir.c.orig 2018-08-07 06:43:51 UTC +++ src/scandir.c @@ -40,6 +40,8 @@ int ag_scandir(const char *dirname, #if defined(__MINGW32__) || defined(__CYGWIN__) d = malloc(sizeof(struct dirent)); +#elif defined(__DragonFly__) + d = malloc(_DIRENT_RECLEN(entry->d_namlen)); #else d = malloc(en...
31.55
20
(translation_unit) "--- src/scandir.c.orig 2018-08-07 06:43:51 UTC\n+++ src/scandir.c\n@@ -40,6 +40,8 @@ int ag_scandir(const char *dirname,\n \n #if defined(__MINGW32__) || defined(__CYGWIN__)\n d = malloc(sizeof(struct dirent));\n+#elif defined(__DragonFly__)\n+ d = malloc(_DIRENT_RECLEN(entry->d_namlen));\n ...
252
11
{"language": "c", "success": true, "metadata": {"lines": 20, "avg_line_length": 31.55, "nodes": 177, "errors": 0, "source_hash": "0cd4cc011e8a401b2186d027425ccdf62c9a10159051c91fd037a9c157807d4d", "categorized_nodes": 109}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "--- src/scandi...
11,739
c
int bar(int *x : itype(_Ptr<int>));
35
1
(translation_unit) "int bar(int *x : itype(_Ptr<int>));\n" (declaration) "int bar(int *x : itype(_Ptr<int>));" (primitive_type) "int" (function_declarator) "bar(int *x : itype(_Ptr<int>))" (identifier) "bar" (parameter_list) "(int *x : itype(_Ptr<int>))" (() "(" (parameter_declarat...
27
2
{"language": "c", "success": true, "metadata": {"lines": 1, "avg_line_length": 35.0, "nodes": 20, "errors": 0, "source_hash": "b9b6d3d470835ea5b25946270290df9e603f8714666050b97ee27d9a2d329d18", "categorized_nodes": 9}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "declaration", "text": "int bar(int *...
11,740
c
/* * Copyright (c) 2018, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ /* Helper functions to offer easier navigation of Device Tree Blob */ #ifndef __FDT_WRAPPERS__ #define __FDT_WRAPPERS__ /* Number of cells, given total length in bytes. Each cell is 4 bytes lo...
38.33
15
(translation_unit) "/*\n * Copyright (c) 2018, ARM Limited and Contributors. All rights reserved.\n *\n * SPDX-License-Identifier: BSD-3-Clause\n */\n\n/* Helper functions to offer easier navigation of Device Tree Blob */\n\n#ifndef __FDT_WRAPPERS__\n#define __FDT_WRAPPERS__\n\n/* Number of cells, given total length in...
96
0
{"language": "c", "success": true, "metadata": {"lines": 15, "avg_line_length": 38.33, "nodes": 69, "errors": 0, "source_hash": "3b9fd88b690fb98683a235d450b7bdc451b162d3df7b673e787ee74462d90967", "categorized_nodes": 36}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
11,741
c
#include <stdlib.h> #include <dang/element.h> /* draw an element in a window */ void draw_element (element_t *element, window_t *window) { element->draw_element_method (element, window->image, window->region, wi...
28.63
54
(translation_unit) "#include <stdlib.h>\n\n#include <dang/element.h>\n\n/* draw an element in a window */\nvoid draw_element (element_t *element, window_t *window) {\n\n element->draw_element_method (element,\n window->image,\n window->region,\n ...
288
0
{"language": "c", "success": true, "metadata": {"lines": 54, "avg_line_length": 28.63, "nodes": 187, "errors": 0, "source_hash": "8dd4acb2a76bb878ba1f21e15f581a7152b7c420371b42eea8ff3b7627929d32", "categorized_nodes": 127}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
11,742
c
/****************************************************************** * * Round for C * * Copyright (C) <NAME> 2015 * * This is licensed under BSD-style license, see file COPYING. * ******************************************************************/ #ifndef _ROUND_ROUTE_H_ #define _ROUND_ROUTE_H_ #ifdef HAVE_CO...
22.68
38
(translation_unit) "/******************************************************************\n *\n * Round for C\n *\n * Copyright (C) <NAME> 2015\n *\n * This is licensed under BSD-style license, see file COPYING.\n *\n ******************************************************************/\n\n#ifndef _ROUND_ROUTE_H_\n#define ...
90
0
{"language": "c", "success": true, "metadata": {"lines": 38, "avg_line_length": 22.68, "nodes": 66, "errors": 0, "source_hash": "53940e484670464c3560ff7763f17502aa9aed100562da1913b635de6f5bfe38", "categorized_nodes": 48}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
11,743
c
#import <Flutter/Flutter.h> #import <UMCore/UMInternalModule.h> #import <UMCore/UMEventEmitterService.h> @interface ExpoFlutterAdapterPlugin : NSObject<FlutterPlugin> @end
33.4
5
(translation_unit) "#import <Flutter/Flutter.h>\n#import <UMCore/UMInternalModule.h>\n#import <UMCore/UMEventEmitterService.h>\n\n@interface ExpoFlutterAdapterPlugin : NSObject<FlutterPlugin>\n\n@end\n" (preproc_call) "#import <Flutter/Flutter.h>\n" (preproc_directive) "#import" (preproc_arg) "<Flutter/Flutte...
21
3
{"language": "c", "success": true, "metadata": {"lines": 5, "avg_line_length": 33.4, "nodes": 18, "errors": 0, "source_hash": "183396a07e7d59c75da848550afd0ef805c6ecc2d2c92c1948bb5c0868936efd", "categorized_nodes": 7}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <Flu...
11,744
c
#pragma once #include <cstdint> #include <array> #include "olc6502.h" class Bus { public: Bus(); ~Bus(); public: // Devices on bus olc6502 cpu; // Fake RAM for this part of the series std::array<uint8_t, 64 * 1024> ram; public: // Bus Read & Write void write(uint16_t addr, uint8_t data)...
15.57
23
(translation_unit) "#pragma once \n#include <cstdint> \n#include <array> \n \n#include "olc6502.h" \n \nclass Bus \n{ \npublic: \n Bus(); \n ~Bus(); \n \npublic: // Devices on bus \n olc6502 cpu; \n \n // Fake RAM for this part of the series \n std::array<uint8_t, 64 * 1024> ram; \n \n \npublic: // Bus Read & Write \n...
111
2
{"language": "c", "success": true, "metadata": {"lines": 23, "avg_line_length": 15.57, "nodes": 67, "errors": 0, "source_hash": "2db5e1652d891db5d839daa3428e13f3afffe97cdd7189d1ade43fa6300b9d2a", "categorized_nodes": 44}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
11,745
c
#include "analog.h" #include <avr/sleep.h> #include <avr/interrupt.h> //This is a 3 bit value; refer to the data sheet for what each mask means. A // reasonable default seems to be 0x4 (/16) or 0x5 (/32). Higher prescalers // will give more accurate results, at the cost of longer conversion times. #ifndef ADC_PRESCA...
35.45
84
(translation_unit) "#include "analog.h"\n#include <avr/sleep.h>\n#include <avr/interrupt.h>\n\n//This is a 3 bit value; refer to the data sheet for what each mask means. A\n// reasonable default seems to be 0x4 (/16) or 0x5 (/32). Higher prescalers\n// will give more accurate results, at the cost of longer conversion...
451
2
{"language": "c", "success": true, "metadata": {"lines": 84, "avg_line_length": 35.45, "nodes": 256, "errors": 0, "source_hash": "1e224759fa8f40f000f3e54b517e38d339b31e96448fabed0802d6eccac89a8d", "categorized_nodes": 183}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
11,746
c
#pragma once #include "..\Metaable.h" #include "X3DAppearance.h" #include "ComposedGeometryNode.h" #include "..\..\tinyxml2.h" namespace X3D { class Shape : public Metaable { public: Shape(); Shape(const Shape& sh); Shape(const std::string& ident, Appearance* ap, ComposedGeometryNode* cg); S...
24.86
36
(translation_unit) "#pragma once \n \n#include "..\Metaable.h" \n#include "X3DAppearance.h" \n#include "ComposedGeometryNode.h" \n#include "..\..\tinyxml2.h" \n \nnamespace X3D \n{ \n class Shape : public Metaable \n { \n public: \n Shape(); \n Shape(const Shape& sh); \n Shape(const std::string& ident, Appearance* a...
243
9
{"language": "c", "success": true, "metadata": {"lines": 36, "avg_line_length": 24.86, "nodes": 142, "errors": 0, "source_hash": "cadce2980c4415c18b5fec6a537eec68ec0836f22c4cde5dd8601223630d8369", "categorized_nodes": 97}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma ...
11,747
c
#include <cuda.h> #include <cuda_runtime.h> __global__ void Nodecentric(const int* ptrArray,const int* outdegreeArray, const int* sinkArray,const int* adjListArray, const float* oldpr, float* newpr,int N, float df, int countSink){ int idx = blockIdx.x*blockDim.x + threadIdx.x; ...
37.57
23
(translation_unit) "#include <cuda.h>\n#include <cuda_runtime.h>\n\n__global__ void Nodecentric(const int* ptrArray,const int* outdegreeArray, const int* sinkArray,const int* adjListArray, \n const float* oldpr, float* newpr,int N, float df, int countSink){\n\n int idx = blockIdx.x*bl...
295
1
{"language": "c", "success": true, "metadata": {"lines": 23, "avg_line_length": 37.57, "nodes": 203, "errors": 0, "source_hash": "0d5fc3b3c047dff8021a15431327891dd15a7501b789f7f446a089dac3ac31a7", "categorized_nodes": 136}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
11,748
c
#include "network.h" /* Struct with all we need to send a datagram */ /* Send an ERROR TFTP datagram * Args: * - conn: Connections info to be able to send the ACK * - err_code: Error code * - err_msg: Error message * */ void send_error(struct conn_info conn, int err_code, char *err_msg) { char *buffer; ...
33.14
245
(translation_unit) "#include "network.h"\n\n/* Struct with all we need to send a datagram */\n/* Send an ERROR TFTP datagram\n * Args:\n * - conn: Connections info to be able to send the ACK\n * - err_code: Error code\n * - err_msg: Error message\n * */\nvoid send_error(struct conn_info conn, int err_code, char *er...
1,781
0
{"language": "c", "success": true, "metadata": {"lines": 245, "avg_line_length": 33.14, "nodes": 1069, "errors": 0, "source_hash": "445fe6a3f2c9ab446c0eba319bffba1c8658167cac8346c6fe902144120fa0d7", "categorized_nodes": 757}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#i...
11,749
c
#include "scanner.h" #include <stdio.h> #include <stdlib.h> static int read_int(char first); int get_token(void) { int peek; int tok = ENDINPUT; do { peek = getc(stdin); } while (peek == ' ' || peek == '\t'); switch (peek) { case '0': case '1': case '2': case '3': case '4': case '5': case '6': case '7': c...
16.41
93
(translation_unit) "#include "scanner.h"\n#include <stdio.h>\n#include <stdlib.h>\n\nstatic int read_int(char first);\n\n\nint\nget_token(void)\n{\n int peek;\n int tok = ENDINPUT;\n\n do {\n peek = getc(stdin);\n } while (peek == ' ' || peek == '\t');\n\n switch (peek) {\n case '0': case '1': case '2': case '3': case...
700
0
{"language": "c", "success": true, "metadata": {"lines": 93, "avg_line_length": 16.41, "nodes": 490, "errors": 0, "source_hash": "19743da321ebada11c97244cd71eb0a75927b1ca31e63f28a6df5f28a8c8f2a6", "categorized_nodes": 279}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
11,750
c
/* * include/linux/uio_driver.h * * Copyright(C) 2005, <NAME> <<EMAIL>> * Copyright(C) 2005, <NAME> <<EMAIL>> * Copyright(C) 2006, <NAME> <<EMAIL>> * Copyright(C) 2006, <NAME> <<EMAIL>> * * Userspace IO driver. * * Licensed under the GPLv2 only. */ #ifndef _UIO_DRIVER_H_ #define _UIO_DRIVER_H_ #include <li...
31.36
125
(translation_unit) "/*\n * include/linux/uio_driver.h\n *\n * Copyright(C) 2005, <NAME> <<EMAIL>>\n * Copyright(C) 2005, <NAME> <<EMAIL>>\n * Copyright(C) 2006, <NAME> <<EMAIL>>\n * Copyright(C) 2006, <NAME> <<EMAIL>>\n *\n * Userspace IO driver.\n *\n * Licensed under the GPLv2 only.\n */\n\n#ifndef _UIO_DRIVER_H_\n#d...
522
2
{"language": "c", "success": true, "metadata": {"lines": 125, "avg_line_length": 31.36, "nodes": 407, "errors": 0, "source_hash": "120d330542c6705a3399ac5f2ab3bf5e8fb3eda23745bef242e33e8602ea7bcd", "categorized_nodes": 256}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
11,751
c
#ifdef __OBJC__ #import <UIKit/UIKit.h> #endif FOUNDATION_EXPORT double Pods_RectangleDissolve_ExampleVersionNumber; FOUNDATION_EXPORT const unsigned char Pods_RectangleDissolve_ExampleVersionString[];
32.83
6
(translation_unit) "#ifdef __OBJC__\n#import <UIKit/UIKit.h>\n#endif\n\n\nFOUNDATION_EXPORT double Pods_RectangleDissolve_ExampleVersionNumber;\nFOUNDATION_EXPORT const unsigned char Pods_RectangleDissolve_ExampleVersionString[];\n\n" (preproc_ifdef) "#ifdef __OBJC__\n#import <UIKit/UIKit.h>\n#endif" (#ifdef) "#i...
27
1
{"language": "c", "success": true, "metadata": {"lines": 6, "avg_line_length": 32.83, "nodes": 19, "errors": 0, "source_hash": "fcd862223382d67bb609505e012eb85ca308fc256d113c2ea9c51f7db0f02dd3", "categorized_nodes": 14}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifdef __...
11,752
c
#pragma once namespace cgv { namespace type { namespace func { /** return const S if T is const and S otherwise */ template <typename T, typename S> struct transfer_const { typedef S type; }; // specialize for const types template <typename T, typename S> struct transfer_const<const T, ...
19.92
25
(translation_unit) "#pragma once \n\nnamespace cgv {\n namespace type {\n namespace func {\n /** return const S if T is const and S otherwise */\n template <typename T, typename S>\n struct transfer_const\n {\n typedef S type;\n };\n // specialize for const types\n template <typename T, typename S>\n ...
130
14
{"language": "c", "success": true, "metadata": {"lines": 25, "avg_line_length": 19.92, "nodes": 90, "errors": 0, "source_hash": "cb1eee78a98afc59699767a1b61edf71a7f0f789ab1f5ce6cfbc3226a602b88e", "categorized_nodes": 58}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
11,753
c
/* ** CWLocalFolder.h ** ** Copyright (c) 2001-2004 ** ** Author: <NAME> <<EMAIL>> ** ** This 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 Software Foundation; either ** version 2.1 of the License, or (a...
31.73
123
(translation_unit) "/*\n** CWLocalFolder.h\n**\n** Copyright (c) 2001-2004\n**\n** Author: <NAME> <<EMAIL>>\n**\n** This library is free software; you can redistribute it and/or\n** modify it under the terms of the GNU Lesser General Public\n** License as published by the Free Software Foundation; either\n** ver...
235
15
{"language": "c", "success": true, "metadata": {"lines": 123, "avg_line_length": 31.73, "nodes": 145, "errors": 0, "source_hash": "c0bd8cfeed8938e796f66d81e3f370c8b5d14482e73eaa4cdcbc4d2b3e820b59", "categorized_nodes": 85}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
11,754
c
/* * Author: <NAME> * */ #ifndef GLOBAL_FUNCTIONS_H #define GLOBAL_FUNCTIONS_H // Directives for the DHT22 sensor #include <Adafruit_Sensor.h> #include <DHT_U.h> #include <DHT.h> // Directives for the MQTT client #include <PubSubClient.h> // Directives for the MFRC522 RFID Reader #include <SPI.h> #include <MFRC...
33.49
152
(translation_unit) "/*\n * Author: <NAME>\n *\n */\n\n#ifndef GLOBAL_FUNCTIONS_H\n#define GLOBAL_FUNCTIONS_H\n\n\n// Directives for the DHT22 sensor\n#include <Adafruit_Sensor.h>\n#include <DHT_U.h>\n#include <DHT.h>\n\n// Directives for the MQTT client\n#include <PubSubClient.h>\n\n// Directives for the MFRC522 RFID R...
245
12
{"language": "c", "success": true, "metadata": {"lines": 152, "avg_line_length": 33.49, "nodes": 154, "errors": 0, "source_hash": "421bedb03d7061155fa634200a1883fa6d7897d6b0cad0a4086f18d3a74aceb7", "categorized_nodes": 90}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
11,755
c
/* * calibration.c * * Created on: Aug 11, 2020 * Author: ben */ #include "calibration.h" #include "hw_config.h" #include "user_config.h" #include <stdio.h> #include <stdlib.h> #include "usart.h" #include "math_ops.h" void order_phases(EncoderStruct *encoder, ControllerStruct *controller, CalStruct * cal,...
37.39
148
(translation_unit) "/*\n * calibration.c\n *\n * Created on: Aug 11, 2020\n * Author: ben\n */\n\n\n#include "calibration.h"\n#include "hw_config.h"\n#include "user_config.h"\n#include <stdio.h>\n#include <stdlib.h>\n#include "usart.h"\n#include "math_ops.h"\n\nvoid order_phases(EncoderStruct *encoder, Controller...
1,708
0
{"language": "c", "success": true, "metadata": {"lines": 148, "avg_line_length": 37.39, "nodes": 1102, "errors": 0, "source_hash": "4055802a7766be66e2eb290cdc9e71f9d93ddb2e734929b53ad7b6583787c7aa", "categorized_nodes": 835}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#i...
11,756
c
/* * This file is part of FSA, a sequence alignment algorithm. * Source code in this file was written by <NAME>. */ #ifndef DB_ADAPTER_INCLUDED #define DB_ADAPTER_INCLUDED #include "seq/sequence.h" #include "util/hash_fcn.h" #include "manager/db_misc.h" #ifdef HAVE_POSTGRES #include "manager/db_postgres.h" #endi...
40.83
86
(translation_unit) "/*\n * This file is part of FSA, a sequence alignment algorithm.\n * Source code in this file was written by <NAME>.\n */\n\n#ifndef DB_ADAPTER_INCLUDED\n#define DB_ADAPTER_INCLUDED\n\n#include "seq/sequence.h"\n#include "util/hash_fcn.h"\n#include "manager/db_misc.h"\n#ifdef HAVE_POSTGRES\n#inclu...
289
4
{"language": "c", "success": true, "metadata": {"lines": 86, "avg_line_length": 40.83, "nodes": 155, "errors": 0, "source_hash": "d9edf6370b63a00856de44da5c256049d9c4a0d6c29904d3e94136f1446c87fb", "categorized_nodes": 103}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
11,757
c
// 21/11/01 = Mon // 905. Sort Array By Parity [Easy] // Given an integer array nums, move all the even integers at the beginning of // the array followed by all the odd integers. // Return any array that satisfies this condition. // Example 1: // Input: nums = [3,1,2,4] // Output: [2,4,3,1] // Explanation: The out...
27.97
29
(translation_unit) "// 21/11/01 = Mon\n\n// 905. Sort Array By Parity [Easy]\n\n// Given an integer array nums, move all the even integers at the beginning of\n// the array followed by all the odd integers.\n\n// Return any array that satisfies this condition.\n\n// Example 1:\n// Input: nums = [3,1,2,4]\n// Output: [2...
178
0
{"language": "c", "success": true, "metadata": {"lines": 29, "avg_line_length": 27.97, "nodes": 124, "errors": 0, "source_hash": "18d4b0b7088578ec75c65232a22c549fda603c3d90732dbc61026102a62c4acb", "categorized_nodes": 65}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "function_definition", "text": "i...
11,758
c
/* max7221Write.c -- asdf ** ** Variables port and mask are the data port and bitmask to find ** the MAX7221 chip-select line. i.e. if the MAX7221 is on PORTB's ** bit #7, port = (unsigned char*) &PORTC, mask = 0b10000000 = 0x80. ** Recommend this be defined in the main program code, not stated every use...
32.27
22
(translation_unit) "/* max7221Write.c -- asdf \n** \n** Variables port and mask are the data port and bitmask to find \n** the MAX7221 chip-select line. i.e. if the MAX7221 is on PORTB's \n** bit #7, port = (unsigned char*) &PORTC, mask = 0b10000000 = 0x80. \n** Recommend this be defined in the main program c...
109
0
{"language": "c", "success": true, "metadata": {"lines": 22, "avg_line_length": 32.27, "nodes": 64, "errors": 0, "source_hash": "3bbef4dc47017083e8d4cda9a0bfb340438ad66fc5b22688ae1a8ebbd9708b09", "categorized_nodes": 50}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
11,759
c
/* * tuning_GS2_private.h * * Student License - for use by students to meet course requirements and * perform academic research at degree granting institutions only. Not * for government, commercial, or other organizational use. * * Code generation for model "tuning_GS2". * * Model version : 1.27...
37
39
(translation_unit) "/*\n * tuning_GS2_private.h\n *\n * Student License - for use by students to meet course requirements and\n * perform academic research at degree granting institutions only. Not\n * for government, commercial, or other organizational use.\n *\n * Code generation for model "tuning_GS2".\n *\n * Mode...
84
0
{"language": "c", "success": true, "metadata": {"lines": 39, "avg_line_length": 37.0, "nodes": 61, "errors": 0, "source_hash": "c086e6aac641e67df4e2c3e60e3eac41330f7524d7e46b7ae0c24648eaf1914a", "categorized_nodes": 44}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef R...
11,760
c
// // JLBaseSetViewController.h // 我的控件集合 // // Created by Wangjianlong on 16/1/7. // Copyright © 2016年 autohome. All rights reserved. // #import <UIKit/UIKit.h> #import "JLSetCell.h" #import "JLSetGroupModel.h" @interface JLBaseSetViewController : UITableViewController @property (nonatomic, strong) NSMutableArra...
24.54
13
(translation_unit) "//\n// JLBaseSetViewController.h\n// 我的控件集合\n//\n// Created by Wangjianlong on 16/1/7.\n// Copyright © 2016年 autohome. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n#import "JLSetCell.h"\n#import "JLSetGroupModel.h"\n\n@interface JLBaseSetViewController : UITableViewController\n@property ...
42
6
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 24.54, "nodes": 29, "errors": 0, "source_hash": "0a169cab8a2f1afaca60f29e8aa40e9bbb230691dbae0dc03a0d574f70591c41", "categorized_nodes": 14}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "UIKit.h>\...
11,761
c
#ifndef ota_tcp_H #define ota_tcp_H #include <esp_err.h> #include <esp_log.h> #include <mbedtls/sha256.h> #include <mbedtls/aes.h> #include <esp_ota_ops.h> #include <esp_task_wdt.h> #include <esp_partition.h> #ifndef tcp_H #include "esp32-tcp/tcp.h" #include "esp32-tcp/tcp.cpp" #endif class OTA_TCP { private: con...
21.56
32
(translation_unit) "#ifndef ota_tcp_H\n#define ota_tcp_H\n\n#include <esp_err.h>\n#include <esp_log.h>\n#include <mbedtls/sha256.h>\n#include <mbedtls/aes.h>\n#include <esp_ota_ops.h>\n#include <esp_task_wdt.h>\n#include <esp_partition.h>\n\n#ifndef tcp_H\n#include "esp32-tcp/tcp.h"\n#include "esp32-tcp/tcp.cpp"\n#endi...
214
0
{"language": "c", "success": true, "metadata": {"lines": 32, "avg_line_length": 21.56, "nodes": 149, "errors": 0, "source_hash": "8af146ce49ddf0c983503cf6d2938b6cf9b8032b8f3b24df29a33b7a483b7ded", "categorized_nodes": 96}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
11,762
c
#pragma once #include "GHUtils/GHController.h" #include "GHOpenVRSkeletalAvatar.h" #include <vector> class GHOpenVRAvatarDebugDraw : public GHController { public: GHOpenVRAvatarDebugDraw(void); ~GHOpenVRAvatarDebugDraw(void); typedef GHOpenVRSkeletalAvatar::SkeletalData SkeletalData; void addSkeleton(const Skel...
34.91
23
(translation_unit) "#pragma once\n\n#include "GHUtils/GHController.h"\n#include "GHOpenVRSkeletalAvatar.h"\n#include <vector>\n\nclass GHOpenVRAvatarDebugDraw : public GHController\n{\npublic:\n GHOpenVRAvatarDebugDraw(void);\n ~GHOpenVRAvatarDebugDraw(void);\n\n typedef GHOpenVRSkeletalAvatar::SkeletalData SkeletalDat...
241
18
{"language": "c", "success": true, "metadata": {"lines": 23, "avg_line_length": 34.91, "nodes": 146, "errors": 0, "source_hash": "e5affcd577d77152cf6fb327fc5cbb32bee825fb238e2f1e2b8b329b3a6438dc", "categorized_nodes": 87}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma ...
11,763
c
#include <runtime.h> void buffer_signature(buffer b, signature dest) { buffer s = alloca_wrap_buffer(dest, sizeof(signature)); sha256(s, b); } void signature_xor(signature sdest, signature source) { sdest->s[0] ^= source->s[0]; sdest->s[1] ^= source->s[1]; sdest->s[2] ^= source->s[2]; sdest->s...
27.69
52
(translation_unit) "#include <runtime.h>\n\nvoid buffer_signature(buffer b, signature dest)\n{\n buffer s = alloca_wrap_buffer(dest, sizeof(signature));\n sha256(s, b);\n}\n\nvoid signature_xor(signature sdest, signature source)\n{\n sdest->s[0] ^= source->s[0];\n sdest->s[1] ^= source->s[1];\n sdest->s[...
557
0
{"language": "c", "success": true, "metadata": {"lines": 52, "avg_line_length": 27.69, "nodes": 335, "errors": 0, "source_hash": "bedac3b00f1820aefdf6ee1d8be5c33662114f70ca0aa09d2f2e45b66908206e", "categorized_nodes": 258}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
11,764
c
#ifndef _MEM_STL_ALLOC_H__ #define _MEM_STL_ALLOC_H__ #include <memory> // for std::allocator<> and std::ptrdiff_t #include "MemAllocDef.h" namespace Echo { // Base STL allocator class. template<typename T> struct STLAllocatorBase { // base class for generic allocators typedef T value_type; }; // Base STL a...
25.55
134
(ERROR) "#ifndef _MEM_STL_ALLOC_H__\n#define _MEM_STL_ALLOC_H__\n\n#include <memory> // for std::allocator<> and std::ptrdiff_t\n#include "MemAllocDef.h"\n\nnamespace Echo\n{\n\n // Base STL allocator class.\n template<typename T>\n struct STLAllocatorBase\n { // base class for generic allocators\n typedef T value_typ...
790
66
{"language": "c", "success": true, "metadata": {"lines": 134, "avg_line_length": 25.55, "nodes": 497, "errors": 0, "source_hash": "9617de37bbb6b64223df05645fbd83944e1c8f025eb1714b6f9d3d99f0d4b9cd", "categorized_nodes": 321}, "ast": {"root": "ERROR", "nodes": [{"id": 0, "type": "ERROR", "text": "#ifndef _MEM_STL_ALLOC_H...
11,765
c
/* * IExecCallback.h * * Copyright 2016 Mentor Graphics Corporation * All Rights Reserved Worldwide * * 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...
24.86
44
(translation_unit) "/* \n * IExecCallback.h \n * \n * Copyright 2016 Mentor Graphics Corporation \n * All Rights Reserved Worldwide \n * \n * Licensed under the Apache License, Version 2.0 (the \n * "License"); you may not use this file except in \n * compliance with the License. You may obtain a copy of \n * the L...
61
3
{"language": "c", "success": true, "metadata": {"lines": 44, "avg_line_length": 24.86, "nodes": 36, "errors": 0, "source_hash": "343a10cb748d7d6b16feb7dbb4ed7365aba4ab2dd9573d10909d17033aaf8784", "categorized_nodes": 23}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
11,766
c
// // YYGroupMemberViewController.h // YouYunMediaDemo // // Created by Frederic on 16/7/7. // Copyright © 2016年 YouYun. All rights reserved. // #import "YYBaseTableViewController.h" @interface YYGroupMemberViewController : YYBaseTableViewController @property (nonatomic, copy) NSString *groupID; @end
26.82
11
(translation_unit) "//\n// YYGroupMemberViewController.h\n// YouYunMediaDemo\n//\n// Created by Frederic on 16/7/7.\n// Copyright © 2016年 YouYun. All rights reserved.\n//\n\n#import "YYBaseTableViewController.h"\n\n@interface YYGroupMemberViewController : YYBaseTableViewController\n\n@property (nonatomic, copy) NSS...
36
6
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 26.82, "nodes": 23, "errors": 0, "source_hash": "7c3c84d0634b7f881573e95f5a7768eed887cb93ae5b8a8f0fd9ca65b7399a98", "categorized_nodes": 12}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "port \"YY...
11,767
c
#ifndef MYY_WIDGETS_TEXT_BUFFER_H #define MYY_WIDGETS_TEXT_BUFFER_H 1 #include <stdint.h> #include "myy/current/opengl.h" #include "myy/helpers/position.h" #include "myy/helpers/fonts/packed_fonts_display.h" #include "myy/helpers/colors.h" #include "myy/helpers/vector.h" struct gl_text_vertex { int16_t x, y; uint1...
29.99
147
(translation_unit) "#ifndef MYY_WIDGETS_TEXT_BUFFER_H\n#define MYY_WIDGETS_TEXT_BUFFER_H 1\n\n#include <stdint.h>\n#include "myy/current/opengl.h"\n#include "myy/helpers/position.h"\n#include "myy/helpers/fonts/packed_fonts_display.h"\n\n#include "myy/helpers/colors.h"\n#include "myy/helpers/vector.h"\n\nstruct gl_text...
1,115
1
{"language": "c", "success": true, "metadata": {"lines": 147, "avg_line_length": 29.99, "nodes": 718, "errors": 0, "source_hash": "47b86ff21cfa536f2a5cdc2599a77e9354f8b7c997bb6561566432af71dab0f7", "categorized_nodes": 548}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
11,768
c
//approximations for the colors of ableton push //such that they match the colors inside ableton live //autogenerated based on the table at: // http://pushmod.blogspot.de/p/pad-color-table.html uint8_t colors[128][3] = { {1, 1, 1}, {2, 2, 2}, {7, 7, 7}, {15, 15, 15}, {15, 4, 4}, {15, 0, 0}, {5, 0, 0}, ...
13.8
134
(translation_unit) "//approximations for the colors of ableton push\n//such that they match the colors inside ableton live\n//autogenerated based on the table at:\n// http://pushmod.blogspot.de/p/pad-color-table.html\nuint8_t colors[128][3] = {\n {1, 1, 1},\n {2, 2, 2},\n {7, 7, 7},\n {15, 15, 15},\n {15, 4, 4},...
1,173
0
{"language": "c", "success": true, "metadata": {"lines": 134, "avg_line_length": 13.8, "nodes": 522, "errors": 0, "source_hash": "051c6c2fc94e5afda66d11a082ce2ba4aa6ccc8999e93acc28b2d2d64dfab9f6", "categorized_nodes": 388}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "declaration", "text": "uint8_t ...
11,769
c
/* Generated by RuntimeBrowser. */ @protocol NTKActivityFaceViewFactoryDelegate <NSObject> @required - (void)applyEntryModel:(NTKWellnessEntryModel *)arg1 animated:(bool)arg2; - (void)applyEntryModelWithUnfilledRings:(NTKWellnessEntryModel *)arg1; - (void)timeTravelDateEnteredOrExitedTimelineBounds:(bool)arg1; @en...
38.75
8
(translation_unit) "/* Generated by RuntimeBrowser.\n */\n\n@protocol NTKActivityFaceViewFactoryDelegate <NSObject>\n\n@required\n\n- (void)applyEntryModel:(NTKWellnessEntryModel *)arg1 animated:(bool)arg2;\n- (void)applyEntryModelWithUnfilledRings:(NTKWellnessEntryModel *)arg1;\n- (void)timeTravelDateEnteredOrExitedTi...
72
10
{"language": "c", "success": true, "metadata": {"lines": 8, "avg_line_length": 38.75, "nodes": 45, "errors": 0, "source_hash": "f97505e99b4ef6acf12610617a5b1dd1858932a01a695e918f1d9a992e9d115f", "categorized_nodes": 23}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "@protocol NTKActi...
11,770
c
// // MCVoiceWaveView.h // MCVoiceWave // // Created by 朱进林 on 10/8/16. // Copyright © 2016 <NAME>. All rights reserved. // #import <UIKit/UIKit.h> #pragma mark - HHVolumeQueue @interface MCVolumeQueue : NSObject -(void)pushVolume:(CGFloat)volume; -(void)pushVolumeWithArray:(NSArray*)array; -(CGFloat)popVolume; ...
16.55
40
(translation_unit) "//\n// MCVoiceWaveView.h\n// MCVoiceWave\n//\n// Created by 朱进林 on 10/8/16.\n// Copyright © 2016 <NAME>. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n#pragma mark - HHVolumeQueue\n@interface MCVolumeQueue : NSObject\n\n-(void)pushVolume:(CGFloat)volume;\n-(void)pushVolumeWithArray:(NSA...
168
14
{"language": "c", "success": true, "metadata": {"lines": 40, "avg_line_length": 16.55, "nodes": 99, "errors": 0, "source_hash": "72ed9b62de0f6eac61f19310406d64cc7343da53304af8ba5a07c5b221ddb91b", "categorized_nodes": 52}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": " <UIKit/U...
11,771
c
/* * @Author: TZU-CHIEH,HSU * @Date: 2022-02-25 01:15:16 * @LastEditors: TZU-CHIEH,HSU * @LastEditTime: 2022-04-13 21:41:47 * @Description: */ #ifndef __DATALOGGER_H__ #define __DATALOGGER_H__ #include <Arduino.h> #include <SoftTimer.h> #include "config/Config.h" #include "MainPowerMonitor.h" #include "MPPTModu...
22.07
44
(translation_unit) "/*\n * @Author: TZU-CHIEH,HSU\n * @Date: 2022-02-25 01:15:16\n * @LastEditors: TZU-CHIEH,HSU\n * @LastEditTime: 2022-04-13 21:41:47\n * @Description: \n */\n#ifndef __DATALOGGER_H__\n#define __DATALOGGER_H__\n\n#include <Arduino.h>\n#include <SoftTimer.h>\n#include "config/Config.h"\n#include "MainP...
182
1
{"language": "c", "success": true, "metadata": {"lines": 44, "avg_line_length": 22.07, "nodes": 122, "errors": 0, "source_hash": "69896a2ee5b58ff121db2de2fef3d8b4ddcfd22133952517f9e7381f71adb434", "categorized_nodes": 90}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
11,772
c
#pragma once #include <GameExecutor/HookInterface.h> #include <Core/Service.h> #include <functional> #include <QObject> using namespace P1; using namespace P1::GameExecutor; typedef std::function<P1::GameExecutor::FinishState(const Core::Service &)> HookCanPreFunc; typedef std::function<void(const Core:...
23.7
37
(translation_unit) "#pragma once \n \n#include <GameExecutor/HookInterface.h> \n#include <Core/Service.h> \n \n#include <functional> \n#include <QObject> \n \nusing namespace P1; \nusing namespace P1::GameExecutor; \n \ntypedef std::function<P1::GameExecutor::FinishState(const Core::Service &)> HookCanPreFunc; \ntypede...
257
16
{"language": "c", "success": true, "metadata": {"lines": 37, "avg_line_length": 23.7, "nodes": 154, "errors": 0, "source_hash": "4215ad172940f72582f13a8b8b72e7585dd2b889751ac2125c01779ef570c5db", "categorized_nodes": 112}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma ...
11,773
c
/* Copyright (c) 2019, 2020, Oracle and/or its affiliates. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by the Free Software Foundation. This program is also distributed with certain ...
36.51
212
(ERROR) "/*\n Copyright (c) 2019, 2020, Oracle and/or its affiliates. All rights reserved.\n\n This program is free software; you can redistribute it and/or modify\n it under the terms of the GNU General Public License, version 2.0,\n as published by the Free Software Foundation.\n\n This program is also distribut...
1,912
100
{"language": "c", "success": true, "metadata": {"lines": 212, "avg_line_length": 36.51, "nodes": 1028, "errors": 0, "source_hash": "f2948a8e124e7d794e8181d97dccda025ea1832b095df502e2cc7351207da1e6", "categorized_nodes": 743}, "ast": {"root": "ERROR", "nodes": [{"id": 0, "type": "ERROR", "text": "/*\n Copyright (c) 201...
11,774
c
#include "file.c" int readLDB(char* path);
20.5
2
(translation_unit) "#include "file.c"\nint readLDB(char* path);" (preproc_include) "#include "file.c"\n" (#include) "#include" (string_literal) ""file.c"" (") """ (string_content) "file.c" (") """ (declaration) "int readLDB(char* path);" (primitive_type) "int" (function_declarator)...
20
0
{"language": "c", "success": true, "metadata": {"lines": 2, "avg_line_length": 20.5, "nodes": 13, "errors": 0, "source_hash": "3a8b6258d370579d53db7b41b8a9a06a4e875db3e0e7cf172978959f24f684bc", "categorized_nodes": 8}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#include ...
11,775
c
#ifndef HDDATA_H #define HDDATA_H #include <cstdlib> #include <vector> #include <string> //#include <stdint.h> #include <typeinfo> #include <iostream> #include <stdint.h> #include <cstdio> #define LNULL (uint32_t)(-1) class HDData { public: //! Default constructor HDData() : mData(NULL), mSize(0), mDim(0), mAtt...
28.28
78
(translation_unit) "#ifndef HDDATA_H\n#define HDDATA_H\n\n#include <cstdlib>\n#include <vector>\n#include <string>\n//#include <stdint.h>\n#include <typeinfo>\n#include <iostream>\n#include <stdint.h>\n#include <cstdio>\n\n#define LNULL (uint32_t)(-1)\n\nclass HDData\n{\npublic:\n\n //! Default constructor\n HDData()...
597
13
{"language": "c", "success": true, "metadata": {"lines": 78, "avg_line_length": 28.28, "nodes": 331, "errors": 0, "source_hash": "1d0b2298570f2f85baaa8837fe0dd13e4b84ac0f92c7e1a985af3254dcb3f407", "categorized_nodes": 215}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
11,776
c
#ifndef HUAWEICLOUD_SDK_EIP_V2_MODEL_ListQuotasRequest_H_ #define HUAWEICLOUD_SDK_EIP_V2_MODEL_ListQuotasRequest_H_ #include <huaweicloud/eip/v2/EipExport.h> #include <huaweicloud/core/utils/ModelBase.h> #include <huaweicloud/core/http/HttpResponse.h> #include <string> namespace HuaweiCloud { namespace Sdk { names...
27.58
55
(translation_unit) "#ifndef HUAWEICLOUD_SDK_EIP_V2_MODEL_ListQuotasRequest_H_\n#define HUAWEICLOUD_SDK_EIP_V2_MODEL_ListQuotasRequest_H_\n\n#include <huaweicloud/eip/v2/EipExport.h>\n\n#include <huaweicloud/core/utils/ModelBase.h>\n#include <huaweicloud/core/http/HttpResponse.h>\n\n#include <string>\n\nnamespace Huawei...
299
21
{"language": "c", "success": true, "metadata": {"lines": 55, "avg_line_length": 27.58, "nodes": 164, "errors": 0, "source_hash": "b190ac15165875cd023e75ad444f830237d679f5dfbd0a24c8c1c228ff3c890d", "categorized_nodes": 116}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
11,777
c
/*This file is part of the FEBio Studio source code and is licensed under the MIT license listed below. See Copyright-FEBio-Studio.txt for details. Copyright (c) 2020 University of Utah, The Trustees of Columbia University in the City of New York, and others. Permission is hereby granted, free of charge, to any per...
43.52
42
(translation_unit) "/*This file is part of the FEBio Studio source code and is licensed under the MIT license\nlisted below.\n\nSee Copyright-FEBio-Studio.txt for details.\n\nCopyright (c) 2020 University of Utah, The Trustees of Columbia University in \nthe City of New York, and others.\n\nPermission is hereby granted...
196
10
{"language": "c", "success": true, "metadata": {"lines": 42, "avg_line_length": 43.52, "nodes": 102, "errors": 0, "source_hash": "6f986d8acdbc7ea75216c5229d627d98eb36895d3d199bdc56561fe29756289c", "categorized_nodes": 71}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma ...
11,778
c
#include <stdlib.h> #include <stdio.h> float ddot_r(int n,float b[n], float c[n]) { int i; float a=0; for(i=0; i<n; ++i) a += b[i] * c[i] ; return a; } int main(int argc, char ** argv) { int i,n=argc==1?200:atoi(argv[1]); float a, (*b)[n], (*c)[n]; b = malloc(n * sizeof(float)); ...
18.33
27
(translation_unit) "#include <stdlib.h>\n#include <stdio.h>\n\nfloat ddot_r(int n,float b[n], float c[n])\n{\n int i;\n float a=0;\n for(i=0; i<n; ++i)\n a += b[i] * c[i] ;\n return a;\n}\n\nint main(int argc, char ** argv)\n{\n int i,n=argc==1?200:atoi(argv[1]);\n float a, (*b)[n], (*c)[n];\n ...
308
0
{"language": "c", "success": true, "metadata": {"lines": 27, "avg_line_length": 18.33, "nodes": 195, "errors": 0, "source_hash": "eb1362f0c4b6742cc34f87329d7b08283f945d6ff3fc73813f3f1560e1323caf", "categorized_nodes": 128}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
11,779
c
// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CC_TEST_FAKE_IMPL_TASK_RUNNER_PROVIDER_H_ #define CC_TEST_FAKE_IMPL_TASK_RUNNER_PROVIDER_H_ #include "base/single_thread_task_runner.h" #include ...
41.2
25
(translation_unit) "// Copyright 2015 The Chromium Authors. All rights reserved.\n// Use of this source code is governed by a BSD-style license that can be\n// found in the LICENSE file.\n\n#ifndef CC_TEST_FAKE_IMPL_TASK_RUNNER_PROVIDER_H_\n#define CC_TEST_FAKE_IMPL_TASK_RUNNER_PROVIDER_H_\n\n#include "base/single_thre...
157
8
{"language": "c", "success": true, "metadata": {"lines": 25, "avg_line_length": 41.2, "nodes": 82, "errors": 0, "source_hash": "3afdd22ff6d5e245f3b07541dcdf794a624471ea6028d6a22d54fdc5989effa3", "categorized_nodes": 58}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef C...
11,780
c
/** * @file * @brief Main libslavery header. * * @version $(PROJECT_VERSION) * @authors $(PROJECT_AUTHORS) * @copyright $(PROJECT_COPYRIGHT) * @license $(PROJECT_LICENSE) * * libslavery implements Logitech's HID++ protocol to allow for working with devices such as the MX Master 3 * mouse. libslavery provides ...
30.5
111
(translation_unit) "/**\n * @file\n * @brief Main libslavery header.\n *\n * @version $(PROJECT_VERSION)\n * @authors $(PROJECT_AUTHORS)\n * @copyright $(PROJECT_COPYRIGHT)\n * @license $(PROJECT_LICENSE)\n *\n * libslavery implements Logitech's HID++ protocol to allow for working with devices such as the MX Master 3\n...
284
0
{"language": "c", "success": true, "metadata": {"lines": 111, "avg_line_length": 30.5, "nodes": 200, "errors": 0, "source_hash": "18523403727ec0d89198302f37d680bd8c4f9a135a613e0b41138cd090ad2195", "categorized_nodes": 129}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
11,781
c
// // Created by <NAME> on 24.04.2020. // #ifndef COCKTORRENT_TORRENTSINGLEFILEINFO_H #define COCKTORRENT_TORRENTSINGLEFILEINFO_H #include "bencode.h" #include "bencodeelementadapter.h" #include "torrentbasefileinfo.h" /** * @class TorrentSingleFileInfo * @brief Класс для хранения инфы в случае одного файлов * @a...
31.57
28
(translation_unit) "//\n// Created by <NAME> on 24.04.2020.\n//\n\n#ifndef COCKTORRENT_TORRENTSINGLEFILEINFO_H\n#define COCKTORRENT_TORRENTSINGLEFILEINFO_H\n\n#include "bencode.h"\n#include "bencodeelementadapter.h"\n#include "torrentbasefileinfo.h"\n\n/**\n * @class TorrentSingleFileInfo\n * @brief Класс для хранения ...
148
9
{"language": "c", "success": true, "metadata": {"lines": 28, "avg_line_length": 31.57, "nodes": 92, "errors": 0, "source_hash": "f469f5c3553a3115d2979090a755b8a8ea04c58124f434cfaf586feafed742b6", "categorized_nodes": 64}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
11,782
c
#pragma once #include "RTSPluginPCH.h" #include "Components/ActorComponent.h" #include "RTSAttackableComponent.generated.h" /** * Allows choosing the actor as target for an attack order. */ UCLASS(meta = (BlueprintSpawnableComponent)) class RTSPLUGIN_API URTSAttackableComponent : public UActorComponent { GENERATE...
24.23
13
(translation_unit) "#pragma once\n\n#include "RTSPluginPCH.h"\n\n#include "Components/ActorComponent.h"\n\n#include "RTSAttackableComponent.generated.h"\n\n\n/**\n* Allows choosing the actor as target for an attack order.\n*/\nUCLASS(meta = (BlueprintSpawnableComponent))\nclass RTSPLUGIN_API URTSAttackableComponent : p...
56
2
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 24.23, "nodes": 29, "errors": 0, "source_hash": "a16e1b82c4cfb55bb9b76407494e6ff112bc7677bd7a4fac831777c01d86967d", "categorized_nodes": 22}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
11,783
c
#include <string.h> #include <sys/uio.h> #include "message.h" #include "queue.h" /*! * \ingroup mptQueue * \brief preview next message * * Get length/start of next message on queue. * * \param qu source queue * * \return (decoded) message length */ extern ssize_t mpt_queue_peek(MPT_STRUCT(decode_queue)...
20.36
89
(translation_unit) "#include <string.h>\n\n#include <sys/uio.h>\n\n#include "message.h"\n#include "queue.h"\n\n/*!\n * \ingroup mptQueue\n * \brief preview next message\n * \n * Get length/start of next message on queue.\n * \n * \param qu source queue\n * \n * \return (decoded) message length\n */\nextern ssize_t mpt...
728
0
{"language": "c", "success": true, "metadata": {"lines": 89, "avg_line_length": 20.36, "nodes": 454, "errors": 0, "source_hash": "12505aa90175c3f14debc11be6fe575fb5959563f37bb996d15454a69f05ceae", "categorized_nodes": 366}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
11,784
c
// // IRThemeKit.h // IRThemeKit // // Created by 聪 on 2018/5/10. // Copyright © 2018年 icoderRo. All rights reserved. // #ifndef IRThemeKit_h #define IRThemeKit_h #import "IRTheme.h" #import "IRThemeMgr.h" #import "IRThemeConfig.h" #endif /* IRThemeKit_h */
17.79
14
(translation_unit) "//\n// IRThemeKit.h\n// IRThemeKit\n//\n// Created by 聪 on 2018/5/10.\n// Copyright © 2018年 icoderRo. All rights reserved.\n//\n\n#ifndef IRThemeKit_h\n#define IRThemeKit_h\n\n#import "IRTheme.h"\n#import "IRThemeMgr.h"\n#import "IRThemeConfig.h"\n\n\n#endif /* IRThemeKit_h */\n" (comment) "//...
25
0
{"language": "c", "success": true, "metadata": {"lines": 14, "avg_line_length": 17.79, "nodes": 16, "errors": 0, "source_hash": "0292d74b065420a6ffd1a4fb4036ef3aad2dcf4a84849ef0478455fafc424c13", "categorized_nodes": 8}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "ef IRThem...
11,785
c
/** * Copyright 2020 Huawei Technologies 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 or ag...
38.97
60
(translation_unit) "/**\n * Copyright 2020 Huawei Technologies Co., Ltd\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 req...
425
23
{"language": "c", "success": true, "metadata": {"lines": 60, "avg_line_length": 38.97, "nodes": 252, "errors": 0, "source_hash": "d7e7fa2e32cd0b5f543143501dea537779df9102588edd4347cb2bf5e95f4ee9", "categorized_nodes": 180}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
11,786
c
#include <common.h> #include <core/sptable.h> #include <core/connection.h> #include <core/channel.h> #include <mruby/array.h> #include <mruby/class.h> #include <mruby/compile.h> #include <mruby/data.h> #include <mruby/string.h> #include <mruby/variable.h> #include <mruby/hash.h> namespace CLGM2 { struct _mrb_value_h...
25.17
90
(translation_unit) "#include <common.h>\n#include <core/sptable.h>\n#include <core/connection.h>\n#include <core/channel.h>\n\n#include <mruby/array.h>\n#include <mruby/class.h>\n#include <mruby/compile.h>\n#include <mruby/data.h>\n#include <mruby/string.h>\n#include <mruby/variable.h>\n#include <mruby/hash.h>\n\nnames...
615
32
{"language": "c", "success": true, "metadata": {"lines": 90, "avg_line_length": 25.17, "nodes": 366, "errors": 0, "source_hash": "eebc5eaa31fe68e6f2b5ca20590c84c14df85703ef5b67d59afdf5e8f61d8efe", "categorized_nodes": 260}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
11,787
c
// // Created by lonphy on 2018/10/18. // #include "lib_l5.h" #include <stdio.h> #if defined(L5_USE_ITM_CONSOLE) int _write(int fd, const char *ptr, int len) { if (fd > 2) { return -1; } for (int i = 0; i < len; ++i) { ITM_SendChar((uint32_t) *(ptr + i)); } return len; } #elif ...
21.83
23
(translation_unit) "//\n// Created by lonphy on 2018/10/18.\n//\n\n\n#include "lib_l5.h"\n#include <stdio.h>\n#if defined(L5_USE_ITM_CONSOLE)\n\nint _write(int fd, const char *ptr, int len) {\n\n if (fd > 2) {\n return -1;\n }\n for (int i = 0; i < len; ++i) {\n ITM_SendChar((uint32_t) *(ptr + i)...
187
0
{"language": "c", "success": true, "metadata": {"lines": 23, "avg_line_length": 21.83, "nodes": 117, "errors": 0, "source_hash": "295e766aadcb9a47f9f6bb3ea1cba9aa9268b7e0e9accdb7146c2961953764c1", "categorized_nodes": 74}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
11,788
c
// Landing Entrance by the Chain Houses // on the Wadi al-Emir, Verhedin City // Thorn@ShadowGate // 13 June 2000 // 8,2.wadi.c #include <std.h> inherit ROOM; int is_virtual() { return 1; } int is_water() { return 1; } int is_dockentrance() { return 1; } void create() { set_indoors(0); ::create(); set_l...
34.74
35
(translation_unit) "// Landing Entrance by the Chain Houses\n// on the Wadi al-Emir, Verhedin City\n// Thorn@ShadowGate\n// 13 June 2000\n// 8,2.wadi.c\n\n#include <std.h>\n\ninherit ROOM;\n\nint is_virtual() { return 1; }\nint is_water() { return 1; }\nint is_dockentrance() { return 1; }\n\nvoid create() {\n set_in...
306
9
{"language": "c", "success": true, "metadata": {"lines": 35, "avg_line_length": 34.74, "nodes": 176, "errors": 0, "source_hash": "bfb781fa50eaa337a86463036fb219c2926be1bade49066ffc0a8bff1ad0aeb1", "categorized_nodes": 142}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
11,789
c
/* GStreamer * * Copyright (C) 2009 <NAME> <<EMAIL>> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version. *...
32.64
141
(translation_unit) "/* GStreamer\n *\n * Copyright (C) 2009 <NAME> <<EMAIL>>\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Library General Public\n * License as published by the Free Software Foundation; either\n * version 2 of the License, or (at your op...
1,049
0
{"language": "c", "success": true, "metadata": {"lines": 141, "avg_line_length": 32.64, "nodes": 588, "errors": 0, "source_hash": "160e3afad4ebf11d1951a852409c944a1d77098c053908f2a830ac23b41bb273", "categorized_nodes": 437}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifde...
11,790
c
/* * Copyright (c) 2022 Huawei Technologies Co.,Ltd. * * openGauss is licensed under Mulan PSL v2. * You can use this software according to the terms and conditions of the Mulan PSL v2. * You may obtain a copy of Mulan PSL v2 at: * * http://license.coscl.org.cn/MulanPSL2 * * THIS SOFTWARE IS PROVIDED ...
27.6
78
(translation_unit) "/*\n * Copyright (c) 2022 Huawei Technologies Co.,Ltd.\n *\n * openGauss is licensed under Mulan PSL v2.\n * You can use this software according to the terms and conditions of the Mulan PSL v2.\n * You may obtain a copy of Mulan PSL v2 at:\n *\n * http://license.coscl.org.cn/MulanPSL2\n *\n...
238
0
{"language": "c", "success": true, "metadata": {"lines": 78, "avg_line_length": 27.6, "nodes": 164, "errors": 0, "source_hash": "b5d4a8324cb36cda060f1184dc69b22bf650cd154db98864e94c2b8b8d276b33", "categorized_nodes": 145}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
11,791
c
#pragma once //------------------------------------------------------------------------------ /// \file /// \ingroup stamping /// \copyright (C) Copyright Aquaveo 2018. Distributed under FreeBSD License /// (See accompanying file LICENSE or https://aqaveo.com/bsd/license.txt) //-----------------------------------------...
42.33
46
(translation_unit) "#pragma once\n//------------------------------------------------------------------------------\n/// \file\n/// \ingroup stamping\n/// \copyright (C) Copyright Aquaveo 2018. Distributed under FreeBSD License\n/// (See accompanying file LICENSE or https://aqaveo.com/bsd/license.txt)\n//---------------...
200
5
{"language": "c", "success": true, "metadata": {"lines": 46, "avg_line_length": 42.33, "nodes": 108, "errors": 0, "source_hash": "d1e5b385945fdf35da678e2cccdb165a68cff3d36e0061ae7ec3de29a563c5cd", "categorized_nodes": 86}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma ...
11,792
c
/* AudioUsbALSA.h Copyright (c) 2012, Code Aurora Forum. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of c...
37.8
116
(translation_unit) "/* AudioUsbALSA.h\n\nCopyright (c) 2012, Code Aurora Forum. All rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are\nmet:\n * Redistributions of source code must retain the above copyright\n...
595
5
{"language": "c", "success": true, "metadata": {"lines": 116, "avg_line_length": 37.8, "nodes": 425, "errors": 0, "source_hash": "b837308b6e17e9c63746005ed36aef6239286029d662d20104aef0a8a9c89cdc", "categorized_nodes": 271}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
11,793
c
#pragma once #include "../../serialization_include.h" void RAI_RDBSaveTensor(RedisModuleIO *io, void *value); void RAI_RDBSaveModel(RedisModuleIO *io, void *value); void RAI_RDBSaveScript(RedisModuleIO *io, void *value);
43.2
5
(translation_unit) "#pragma once\n\n#include "../../serialization_include.h"\n\nvoid RAI_RDBSaveTensor(RedisModuleIO *io, void *value);\n\nvoid RAI_RDBSaveModel(RedisModuleIO *io, void *value);\n\nvoid RAI_RDBSaveScript(RedisModuleIO *io, void *value);\n" (preproc_call) "#pragma once\n" (preproc_directive) "#prag...
67
0
{"language": "c", "success": true, "metadata": {"lines": 5, "avg_line_length": 43.2, "nodes": 51, "errors": 0, "source_hash": "85f39b2e33e3bce3ce77f7717f548782f7d89f7f190ff30823b0ea8a44afa901", "categorized_nodes": 28}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma onc...
11,794
c
/** * @file DigitalFilter.h * @brief Digital filter * * Copyright (c) 2021 toms74209200 * This software is released under the MIT License. * http://opensource.org/licenses/mit-license.php */ #pragma once #include <M5Stack.h> #include <vector> namespace filter { struct Constants { static const uint16_t DAT...
21.58
26
(translation_unit) "/**\n * @file DigitalFilter.h\n * @brief Digital filter\n * \n * Copyright (c) 2021 toms74209200\n * This software is released under the MIT License.\n * http://opensource.org/licenses/mit-license.php\n */\n\n#pragma once\n\n#include <M5Stack.h>\n#include <vector>\n\nnamespace filter {\n\nstruct Con...
107
2
{"language": "c", "success": true, "metadata": {"lines": 26, "avg_line_length": 21.58, "nodes": 56, "errors": 0, "source_hash": "c8124add88613dcd4a823e374a9adc63239ac46dc976fb8d20cb88c096ee7e6a", "categorized_nodes": 38}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
11,795
c
// // TapAdditionsKitV2.h // TapAdditionsKitV2 // // Created by <NAME> on 9/22/20. // #import <Foundation/Foundation.h> //! Project version number for TapAdditionsKitV2. FOUNDATION_EXPORT double TapAdditionsKitV2VersionNumber; //! Project version string for TapAdditionsKitV2. FOUNDATION_EXPORT const unsigned char...
40.25
12
(translation_unit) "//\n// TapAdditionsKitV2.h\n// TapAdditionsKitV2\n//\n// Created by <NAME> on 9/22/20.\n//\n\n#import <Foundation/Foundation.h>\n\n//! Project version number for TapAdditionsKitV2.\nFOUNDATION_EXPORT double TapAdditionsKitV2VersionNumber;\n\n//! Project version string for TapAdditionsKitV2.\nFOUN...
32
1
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 40.25, "nodes": 15, "errors": 0, "source_hash": "72c9605bbe5c0770c2771a14c85e6e21cdb39ab7c5425d05ac623a8cc0635641", "categorized_nodes": 10}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <...
11,796
c
// // WebAppViewController.h // GZBankProject // // Created by <NAME> on 2017/7/16. // Copyright © 2017年 wuting. All rights reserved. // #import <UIKit/UIKit.h> @interface WebAppViewController : UIViewController - (instancetype)initWithUrlString:(NSString *)urlString; @end
24.27
11
(translation_unit) "//\n// WebAppViewController.h\n// GZBankProject\n//\n// Created by <NAME> on 2017/7/16.\n// Copyright © 2017年 wuting. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface WebAppViewController : UIViewController\n\n- (instancetype)initWithUrlString:(NSString *)urlString;\n@end\n" (...
40
5
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 24.27, "nodes": 22, "errors": 0, "source_hash": "0545a2655564249d1bc194ab40261983a037e3166f7c684726cb4fae74899513", "categorized_nodes": 12}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "port <UIK...
11,797
c
/* Generated by RuntimeBrowser Image: /System/Library/PrivateFrameworks/PassKitCore.framework/PassKitCore */ @interface PKApplyWebServiceApplyResponse : PKApplyWebServiceResponse { PKAccount * _account; PKFeatureApplication * _featureApplication; } @property (nonatomic, readonly) PKAccount *account; @prop...
32.28
18
(translation_unit) "/* Generated by RuntimeBrowser\n Image: /System/Library/PrivateFrameworks/PassKitCore.framework/PassKitCore\n */\n\n@interface PKApplyWebServiceApplyResponse : PKApplyWebServiceResponse {\n PKAccount * _account;\n PKFeatureApplication * _featureApplication;\n}\n\n@property (nonatomic, readon...
162
13
{"language": "c", "success": true, "metadata": {"lines": 18, "avg_line_length": 32.28, "nodes": 100, "errors": 0, "source_hash": "259cf35bd570276b042e891011173e1611ea112c1e212d275695b3a481206518", "categorized_nodes": 59}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "@interface PKAp...
11,798
c
/* * This file is released under the terms of the Artistic License. Please see * the file LICENSE, included in this package, for details. * * Copyright (C) 2002 <NAME> & Open Source Development Labs, Inc. * Copyright (C) 2004 <NAME> & MySQL AB. * */ #include "nonsp_stock_level.h" int execute_stock_level(stru...
30.27
84
(translation_unit) "/*\n * This file is released under the terms of the Artistic License. Please see\n * the file LICENSE, included in this package, for details.\n *\n * Copyright (C) 2002 <NAME> & Open Source Development Labs, Inc.\n * Copyright (C) 2004 <NAME> & MySQL AB.\n *\n */\n\n\n#include "nonsp_stock_level.h"...
598
0
{"language": "c", "success": true, "metadata": {"lines": 84, "avg_line_length": 30.27, "nodes": 344, "errors": 0, "source_hash": "5ce6948b936858cf9e85799d01cc3bbae3a9d8d7298b18c60c7cad88484ec6f7", "categorized_nodes": 253}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
11,799