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
/* ldmain.h - Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1999, 2002, 2003 Free Software Foundation, Inc. This file is part of GLD, the Gnu Linker. GLD 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 Fou...
40.06
36
(translation_unit) "/* ldmain.h -\n Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1999, 2002, 2003\n Free Software Foundation, Inc.\n\n This file is part of GLD, the Gnu Linker.\n\n GLD is free software; you can redistribute it and/or modify\n it under the terms of the GNU General Public License as published ...
178
0
{"language": "c", "success": true, "metadata": {"lines": 36, "avg_line_length": 40.06, "nodes": 133, "errors": 0, "source_hash": "320a136a1bfa702ee1e24282758382bdb0ca369a5916bcfe13c66fb113adff6c", "categorized_nodes": 77}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
80,600
c
/* ** EPITECH PROJECT, 2017 ** my_strcat ** File description: ** contactenate two string */ #include <stdlib.h> #include "my.h" char *my_strcat(char *dest, char const *src) { int i = 0; int j = my_strlen(src); char* result = malloc(my_strlen(dest) + j); for (; src[i] != 0; i++) result[i] = src[i]; for (; src[...
18.8
20
(translation_unit) "/*\n** EPITECH PROJECT, 2017\n** my_strcat\n** File description:\n** contactenate two string\n*/\n\n#include <stdlib.h>\n#include "my.h"\n\nchar *my_strcat(char *dest, char const *src)\n{\n int i = 0;\n int j = my_strlen(src);\n char* result = malloc(my_strlen(dest) + j);\n\n for (; src[i] != 0; i++...
162
0
{"language": "c", "success": true, "metadata": {"lines": 20, "avg_line_length": 18.8, "nodes": 106, "errors": 0, "source_hash": "491079fefa2bd1b8b01bb0743610083ae5b2dba7553225c39f2f849914ee8547", "categorized_nodes": 72}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
80,601
c
// // Created by <NAME> on 2020/6/9. // #ifndef TRANS_DSL_2_EVENTHANDLERREGISTRY_H #define TRANS_DSL_2_EVENTHANDLERREGISTRY_H #include <trans-dsl/tsl_status.h> #include <trans-dsl/sched/domain/EventId.h> #include <trans-dsl/action/DummyAsyncAction.h> #include <trans-dsl/sched/domain/Event.h> #include <cstddef> TSL_N...
27.45
29
(translation_unit) "//\n// Created by <NAME> on 2020/6/9.\n//\n\n#ifndef TRANS_DSL_2_EVENTHANDLERREGISTRY_H\n#define TRANS_DSL_2_EVENTHANDLERREGISTRY_H\n\n#include <trans-dsl/tsl_status.h>\n#include <trans-dsl/sched/domain/EventId.h>\n#include <trans-dsl/action/DummyAsyncAction.h>\n#include <trans-dsl/sched/domain/Even...
147
8
{"language": "c", "success": true, "metadata": {"lines": 29, "avg_line_length": 27.45, "nodes": 91, "errors": 0, "source_hash": "b97936636a45748fd4654c86f69731d551a0bfeccab7171e797cb16a5d4ce090", "categorized_nodes": 63}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
80,602
c
#pragma bank 255 // Tileset: 7 #include "gbs_types.h" BANKREF(tileset_7) const struct tileset_t tileset_7 = { .n_tiles = 4, .tiles = { 0xFF, 0xFF, 0xFF, 0x01, 0x01, 0xFF, 0xF9, 0xFF, 0xE9, 0xDF, 0xC9, 0xBF, 0x99, 0x7F, 0x39, 0xFF, 0x79, 0xFF, 0xF9, 0xDF, 0x99, 0xEF, 0xC9, 0xFF, 0xF9, 0xFF, 0...
42.62
13
(translation_unit) "#pragma bank 255\n\n// Tileset: 7\n\n#include "gbs_types.h"\n\nBANKREF(tileset_7)\n\nconst struct tileset_t tileset_7 = {\n .n_tiles = 4,\n .tiles = {\n 0xFF, 0xFF, 0xFF, 0x01, 0x01, 0xFF, 0xF9, 0xFF, 0xE9, 0xDF, 0xC9, 0xBF, 0x99, 0x7F, 0x39, 0xFF,\n 0x79, 0xFF, 0xF9, 0xDF, 0x99,...
173
0
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 42.62, "nodes": 92, "errors": 0, "source_hash": "33365f96aa18f474aeb0b556bf5500bb0be3634c83e4825f3d83a36808e76704", "categorized_nodes": 81}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma b...
80,603
c
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include <aws/migrationhubstrategy/MigrationHubStrategyRecommendations_EXPORTS.h> #include <aws/core/utils/memory/stl/AWSString.h> namespace Aws { namespace MigrationHubStrategyRecommend...
27.9
29
(translation_unit) "*\n * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n * SPDX-License-Identifier: Apache-2.0.\n */\n\n#pragma once\n#include <aws/migrationhubstrategy/MigrationHubStrategyRecommendations_EXPORTS.h>\n#include <aws/core/utils/memory/stl/AWSString.h>\n\nnamespace Aws\n{\nnamespace M...
102
4
{"language": "c", "success": true, "metadata": {"lines": 29, "avg_line_length": 27.9, "nodes": 61, "errors": 0, "source_hash": "b8dce7a9161a3a9a531e804d91cfe9f7efa79a97014d99115ca3f194330a6cd4", "categorized_nodes": 51}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "ragma once...
80,604
c
#ifndef LOG_NORMAL_H #define LOG_NORMAL_H #define DELIM " \n" #define MAX_LINE_LENGTH 1024 #define MAX_WORD_LENGTH 128 #define SAMPLE_FILE_SUFFIX ".sample" /*constants for simplex minimisation*/ #define INIT_M_DASH 1.0 #define INIT_V 1.0 #define INIT_SIMPLEX_SIZE 1.0 #define INIT_S_SS 50...
29.02
92
(translation_unit) "#ifndef LOG_NORMAL_H\n#define LOG_NORMAL_H\n\n#define DELIM " \n"\n#define MAX_LINE_LENGTH 1024\n#define MAX_WORD_LENGTH 128\n\n#define SAMPLE_FILE_SUFFIX ".sample"\n\n/*constants for simplex minimisation*/\n#define INIT_M_DASH 1.0\n#define INIT_V 1.0\n#define INIT_SIMPLEX_SIZE ...
712
0
{"language": "c", "success": true, "metadata": {"lines": 92, "avg_line_length": 29.02, "nodes": 557, "errors": 0, "source_hash": "7735042b27bdaf74c284f839e4be5c315e74aa543b90ded793f1f083d85ad759", "categorized_nodes": 282}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
80,605
c
/****************************************************************************** * * * EOS.C * * * ...
29.88
299
(translation_unit) "/******************************************************************************\n * *\n * EOS.C *\n * ...
2,350
0
{"language": "c", "success": true, "metadata": {"lines": 299, "avg_line_length": 29.88, "nodes": 1564, "errors": 0, "source_hash": "174d3c44847d4d8fd4367540d9dc5ca62a705a50a051fd1ddaa54c7e12a30931", "categorized_nodes": 1079}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#...
80,606
c
#ifndef TRAY_H #define TRAY_H namespace piMac { typedef enum { Closed, Opening, Opened, Closing } TrayState; const uint8_t PWMClosed = 170; const uint8_t PWMOpened = 80; class tray { private: TrayState CurrentState; uint8_t ...
22.36
33
(translation_unit) "#ifndef TRAY_H\n#define TRAY_H\n\nnamespace piMac\n{\n typedef enum \n {\n Closed,\n Opening,\n Opened,\n Closing\n } TrayState;\n\n const uint8_t PWMClosed = 170;\n const uint8_t PWMOpened = 80;\n\n class tray\n {\n private:\n TrayS...
144
1
{"language": "c", "success": true, "metadata": {"lines": 33, "avg_line_length": 22.36, "nodes": 91, "errors": 0, "source_hash": "0b2185dd556c2c5e5438bd95ddccfa007c03f95f8bb021ebaa996e6d389e8b24", "categorized_nodes": 62}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
80,607
c
#ifndef UHF_THREAD_H #define UHF_THREAD_H #include <QObject> #include <QThread> #include <QtSerialPort/QSerialPort> #include <QtSerialPort/QSerialPortInfo> #include "tools.h" /*添加dll链接库头文件 * pro文件中添加:LIBS += -L D:\QtProject\900M\lib -l M900Dll*/ #include "inc/m900dll.h" #include "inc/m900dll_global.h" clas...
23.59
34
(translation_unit) "#ifndef UHF_THREAD_H \n#define UHF_THREAD_H \n#include <QObject> \n#include <QThread> \n#include <QtSerialPort/QSerialPort> \n#include <QtSerialPort/QSerialPortInfo> \n#include "tools.h" \n/*添加dll链接库头文件 \n* pro文件中添加:LIBS += -L D:\QtProject\900M\lib -l M900Dll*/ \n#include "inc/m900dll.h" \n#include ...
193
3
{"language": "c", "success": true, "metadata": {"lines": 34, "avg_line_length": 23.59, "nodes": 131, "errors": 0, "source_hash": "dc2337744e5a7ba8b1cfabac6d43f2b424eb4d3d54635e538824889687f30760", "categorized_nodes": 91}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
80,608
c
/* * http_parse.h * * Created on: 2018年3月8日 * Author: Administrator */ #ifndef _HTTP_PARSE_H_ #define _HTTP_PARSE_H_ #include "os_type.h" uint32_t get_http_body(const char *pdata, char**pOoutBody); uint32_t get_http_header_value(const char *pdata, const char *pKey, char **pOutValueAddr); uint32_t get_ht...
26.29
14
(translation_unit) "/*\n * http_parse.h\n *\n * Created on: 2018年3月8日\n * Author: Administrator\n */\n\n#ifndef _HTTP_PARSE_H_\n#define _HTTP_PARSE_H_\n\n#include "os_type.h"\n\nuint32_t get_http_body(const char *pdata, char**pOoutBody);\nuint32_t get_http_header_value(const char *pdata, const char *pKey,\n char...
85
0
{"language": "c", "success": true, "metadata": {"lines": 14, "avg_line_length": 26.29, "nodes": 60, "errors": 0, "source_hash": "3be70508f43406143829def6f3cf8e7e7ec001e58e82abdec8b7774fce810f23", "categorized_nodes": 33}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "f _HTTP_...
80,609
c
/* * (C) Copyright 2016-2020 Intel Corporation. * * 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 o...
39.59
44
(translation_unit) "/*\n * (C) Copyright 2016-2020 Intel Corporation.\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...
70
0
{"language": "c", "success": true, "metadata": {"lines": 44, "avg_line_length": 39.59, "nodes": 54, "errors": 0, "source_hash": "0831e7980623ef77ce518ea7a9426415a6643ae4f159eb4d8a4243b4b48fcb6b", "categorized_nodes": 39}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
80,610
c
#ifndef KERNEL_CONST_H #define KERNEL_CONST_H #ifdef __ASSEMBLY__ #define _UL_BIT(x) (1 << (x)) #else #define _UL_BIT(x) (1UL << (x)) #endif #endif
17.5
8
(translation_unit) "#ifndef KERNEL_CONST_H\n#define KERNEL_CONST_H\n\n#ifdef __ASSEMBLY__\n#define _UL_BIT(x) (1 << (x))\n#else\n#define _UL_BIT(x) (1UL << (x))\n#endif\n\n#endif\n" (preproc_ifdef) "#ifndef KERNEL_CONST_H\n#define KERNEL_CONST_H\n\n#ifdef __ASSEMBLY__\n#define _UL_BIT(x) (1 << (x))\n#else\n#define _U...
30
0
{"language": "c", "success": true, "metadata": {"lines": 8, "avg_line_length": 17.5, "nodes": 25, "errors": 0, "source_hash": "74ff0bc71cccee09cb9fb62ded6ad104b4d28b9e021f5f3e0192ae523f846007", "categorized_nodes": 15}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef KE...
80,611
c
// // WXTimeLineSubCollectionViewCell.h // renew // // Created by younghacker on 3/14/18. // Copyright © 2018 toureek. All rights reserved. // #import <UIKit/UIKit.h> #import <MWPhoto.h> #import <MWPhotoBrowser.h> extern NSString *const kWXTimeLineSubCollectionViewTag; @interface WXTimeLineSubCollectionViewCel...
25.71
17
(translation_unit) "//\n// WXTimeLineSubCollectionViewCell.h\n// renew\n//\n// Created by younghacker on 3/14/18.\n// Copyright © 2018 toureek. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n#import <MWPhoto.h>\n#import <MWPhotoBrowser.h>\n\n\nextern NSString *const kWXTimeLineSubCollectionViewTag;\n\n@inte...
76
6
{"language": "c", "success": true, "metadata": {"lines": 17, "avg_line_length": 25.71, "nodes": 46, "errors": 0, "source_hash": "b68865bf62463b3cb706d37a5909cc2bd659f46977428f4ae1cfaeeb4bb4c55f", "categorized_nodes": 26}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <U...
80,612
c
/* jep - Java Embedded Python Copyright (c) 2015-2019 JEP_AUTHORS. This file is licensed under the the zlib/libpng License. This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. ...
42.16
43
(translation_unit) "/*\n jep - Java Embedded Python\n\n Copyright (c) 2015-2019 JEP_AUTHORS.\n\n This file is licensed under the the zlib/libpng License.\n\n This software is provided 'as-is', without any express or implied\n warranty. In no event will the authors be held liable for any\n damages arising fr...
117
1
{"language": "c", "success": true, "metadata": {"lines": 43, "avg_line_length": 42.16, "nodes": 81, "errors": 0, "source_hash": "03eb2de419825db4d8d27e3a4e1b584e6d8536cbb4058119e065d0097a9fee61", "categorized_nodes": 52}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
80,613
c
/* Copyright 1999-2021 ImageMagick Studio LLC, a non-profit organization dedicated to making software imaging solutions freely available. You may not use this file except in compliance with the License. obtain a copy of the License at http://www.imagemagick.org/script/license.php Unless required ...
32.91
134
(translation_unit) "/*\n Copyright 1999-2021 ImageMagick Studio LLC, a non-profit organization\n dedicated to making software imaging solutions freely available.\n \n You may not use this file except in compliance with the License.\n obtain a copy of the License at\n \n http://www.imagemagick.org/script/licens...
704
0
{"language": "c", "success": true, "metadata": {"lines": 134, "avg_line_length": 32.91, "nodes": 554, "errors": 0, "source_hash": "9d4964e8ef1d661a0eb280bb787fe362fa32225776db96ccb4d5322ee7ed2f0d", "categorized_nodes": 266}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
80,614
c
//empty file for cmake
22
1
(translation_unit) "//empty file for cmake \n" (comment) "//empty file for cmake "
2
0
{"language": "c", "success": true, "metadata": {"lines": 1, "avg_line_length": 22.0, "nodes": 0, "errors": 0, "source_hash": "5dedeeab41c9d3f09f54c44e9f3c81a9993afdaa0894144d55048e214033248f", "categorized_nodes": 0}, "ast": {"root": "translation_unit", "nodes": []}, "node_categories": {"declarations": {"functions": []...
80,615
c
#ifndef POSITIONEDITORDIALOG_H #define POSITIONEDITORDIALOG_H #include <QDialog> #include <QVBoxLayout> #include <QHBoxLayout> #include <QDialogButtonBox> #include <QPushButton> #include <QGroupBox> #include <QRadioButton> #include <QTabWidget> #include <QLabel> #include <QLineEdit> #include <QCheckBox> ...
28.97
105
(translation_unit) "#ifndef POSITIONEDITORDIALOG_H \n#define POSITIONEDITORDIALOG_H \n \n#include <QDialog> \n#include <QVBoxLayout> \n#include <QHBoxLayout> \n#include <QDialogButtonBox> \n#include <QPushButton> \n#include <QGroupBox> \n#include <QRadioButton> \n#include <QTabWidget> \n#include <QLabel> \n#include <QL...
531
7
{"language": "c", "success": true, "metadata": {"lines": 105, "avg_line_length": 28.97, "nodes": 424, "errors": 0, "source_hash": "bcd3161f7da23ece40d52869aae8d023626900c019f25dcfbd6fa9b081921fc9", "categorized_nodes": 269}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
80,616
c
/* * This header is generated by classdump-dyld 1.5 * on Tuesday, November 10, 2020 at 10:12:07 PM Mountain Standard Time * Operating System: Version 14.2 (Build 18K57) * Image Source: /System/Library/PrivateFrameworks/CoreDuet....
35.31
29
(translation_unit) "/*\n * This header is generated by classdump-dyld 1.5\n * on Tuesday, November 10, 2020 at 10:12:07 PM Mountain Standard Time\n * Operating System: Version 14.2 (Build 18K57)\n * Image Source: /System/Library/Pri...
147
13
{"language": "c", "success": true, "metadata": {"lines": 29, "avg_line_length": 35.31, "nodes": 97, "errors": 0, "source_hash": "1a314d48c0e13866268e1112a69b2c8dfd1bd4eb38b0cfc35900e4fd6fac2e53", "categorized_nodes": 69}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <l...
80,617
c
// // Copyright 2016 The Android Open Source Project // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable l...
32.57
56
(translation_unit) "//\n// Copyright 2016 The Android Open Source Project\n//\n// Licensed under the Apache License, Version 2.0 (the "License");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Un...
350
19
{"language": "c", "success": true, "metadata": {"lines": 56, "avg_line_length": 32.57, "nodes": 195, "errors": 0, "source_hash": "bb7026ea990b2fd6b7d1afe84e0fb5851969d734e1420a951635398cd9e3928f", "categorized_nodes": 132}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
80,618
c
/* * Omap3530GPIO.c * * Created on: 15 Mar 2017 * Author: Mathias */ #include <includes/Common.h> #include <includes/Omap3530GPIO.h> void digitalWrite(uint8_t pin, uint8_t val) { uint32_t* out = (uint32_t*) (GPIO_BASE_ADDR(pin) + GPIO_DATAOUT); if (val == LOW) { bitSet(*out, GPIO_PIN_P...
19.76
45
(translation_unit) "/*\n * Omap3530GPIO.c\n *\n * Created on: 15 Mar 2017\n * Author: Mathias\n */\n\n#include <includes/Common.h>\n#include <includes/Omap3530GPIO.h>\n\nvoid digitalWrite(uint8_t pin, uint8_t val)\n{\n uint32_t* out = (uint32_t*) (GPIO_BASE_ADDR(pin) + GPIO_DATAOUT);\n\n if (val == LOW)\n ...
271
0
{"language": "c", "success": true, "metadata": {"lines": 45, "avg_line_length": 19.76, "nodes": 165, "errors": 0, "source_hash": "3aa9dbeb210855e0d99c7a9873084df67605363c95653a6b9091bd3fb979b2ab", "categorized_nodes": 102}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
80,619
c
/* ripemd.h * * Copyright (C) 2006-2016 wolfSSL Inc. All rights reserved. * * This file is part of wolfSSL. * * Contact <EMAIL> with any questions or comments. * * http://www.wolfssl.com */ #ifndef WOLF_CRYPT_RIPEMD_H #define WOLF_CRYPT_RIPEMD_H #include <wolfssl/wolfcrypt/types.h> #ifdef WOLFSSL_RIPEMD ...
23.58
45
(translation_unit) "/* ripemd.h\n *\n * Copyright (C) 2006-2016 wolfSSL Inc. All rights reserved.\n *\n * This file is part of wolfSSL.\n *\n * Contact <EMAIL> with any questions or comments.\n *\n * http://www.wolfssl.com\n */\n\n\n\n#ifndef WOLF_CRYPT_RIPEMD_H\n#define WOLF_CRYPT_RIPEMD_H\n\n#include <wolfssl/wolfcr...
180
3
{"language": "c", "success": true, "metadata": {"lines": 45, "avg_line_length": 23.58, "nodes": 124, "errors": 0, "source_hash": "22948cef609becae4b416cfb602b06aa2d013ab652fb408737ab63da0093c492", "categorized_nodes": 95}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
80,620
c
/** * MIT License * * Copyright (c) 2019 Yoram * * 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, m...
35.03
94
(translation_unit) "/**\n * MIT License\n *\n * Copyright (c) 2019 Yoram\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the "Software"), to deal\n * in the Software without restriction, including without limitation the rights...
690
20
{"language": "c", "success": true, "metadata": {"lines": 94, "avg_line_length": 35.03, "nodes": 404, "errors": 0, "source_hash": "c14716dfc24a37f9a4f7b3b6a6f3ae54fee26292ba9f686ab2e20fad1bae1511", "categorized_nodes": 276}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
80,621
c
#ifdef __OBJC__ #import <UIKit/UIKit.h> #else #ifndef FOUNDATION_EXPORT #if defined(__cplusplus) #define FOUNDATION_EXPORT extern "C" #else #define FOUNDATION_EXPORT extern #endif #endif #endif #import "UPAPayPlugin.h" #import "UPAPayPluginDelegate.h" FOUNDATION_EXPORT double UPAPayPSDKVersionNumber; FOUNDATION_EXPOR...
23.47
15
(translation_unit) "#ifdef __OBJC__\n#import <UIKit/UIKit.h>\n#else\n#ifndef FOUNDATION_EXPORT\n#if defined(__cplusplus)\n#define FOUNDATION_EXPORT extern "C"\n#else\n#define FOUNDATION_EXPORT extern\n#endif\n#endif\n#endif\n\n#import "UPAPayPlugin.h"\n#import "UPAPayPluginDelegate.h"\n\nFOUNDATION_EXPORT double UPAPay...
58
1
{"language": "c", "success": true, "metadata": {"lines": 15, "avg_line_length": 23.47, "nodes": 48, "errors": 0, "source_hash": "2a6b1c82df8c4bba47406c84473b7ed6e87692454b2c1e54d79c264cbd5bc7a6", "categorized_nodes": 26}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifdef _...
80,622
c
#pragma once #include "CL\cl.h" #include <stdio.h> /* class CLContext Structure that contains handles for the openCL paltform, device, context and CommandQueue. Constructor will populate the fields automatically or throw an error. */ class ClContext { public: ClContext(); virtual ~ClContext(); cl_...
21.17
30
(translation_unit) "#pragma once \n \n#include "CL\cl.h" \n#include <stdio.h> \n \n/* \nclass CLContext \nStructure that contains handles for the openCL paltform, device, context and CommandQueue. \nConstructor will populate the fields automatically or throw an error. \n*/ \nclass ClContext \n{ \npublic: \n ClContext()...
113
1
{"language": "c", "success": true, "metadata": {"lines": 30, "avg_line_length": 21.17, "nodes": 71, "errors": 0, "source_hash": "0e52305e21cf636d7c8a458f50548fcf384ff8c4f84a602ec1f83c0ef4f30397", "categorized_nodes": 54}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
80,623
c
#ifndef JACE_JSIGNATURE_H #define JACE_JSIGNATURE_H #include "jace/OsDep.h" #include "jace/Namespace.h" #include "jace/JClass.h" #include <string> #include <list> #include "jace/BoostWarningOff.h" #include <boost/ref.hpp> #include "jace/BoostWarningOn.h" BEGIN_NAMESPACE(jace) /** * A representation of the signat...
25.67
66
(translation_unit) "#ifndef JACE_JSIGNATURE_H\n#define JACE_JSIGNATURE_H\n\n#include "jace/OsDep.h"\n#include "jace/Namespace.h"\n#include "jace/JClass.h"\n\n#include <string>\n#include <list>\n\n#include "jace/BoostWarningOff.h"\n#include <boost/ref.hpp>\n#include "jace/BoostWarningOn.h"\n\nBEGIN_NAMESPACE(jace)\n\n\n...
186
14
{"language": "c", "success": true, "metadata": {"lines": 66, "avg_line_length": 25.67, "nodes": 101, "errors": 0, "source_hash": "23dc4bc98902b1d2ea9ba3d1de54608003966cc4bb36a6923e2345bcf5989734", "categorized_nodes": 79}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
80,624
c
/** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you...
33.41
58
(translation_unit) "/**\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements. See the NOTICE file\n * distributed with this work for additional information\n * regarding copyright ownership. The ASF licenses this file\n * to you under the Apache License, Version 2....
344
25
{"language": "c", "success": true, "metadata": {"lines": 58, "avg_line_length": 33.41, "nodes": 198, "errors": 0, "source_hash": "1358cc599b96f842e7db1b2b1702025b30af6edb00b20980e36ee627db503387", "categorized_nodes": 143}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
80,625
c
/****************************************************************************** Copyright (c) 2015 Teardrop Games 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 wit...
40.02
45
(translation_unit) "/******************************************************************************\nCopyright (c) 2015 Teardrop Games\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the "Software"), to deal\nin the Software without r...
191
10
{"language": "c", "success": true, "metadata": {"lines": 45, "avg_line_length": 40.02, "nodes": 110, "errors": 0, "source_hash": "332be23ff4b3a020f8859bcc062f6e48504306f5a7a09176e8db0ac8dd8f8f48", "categorized_nodes": 67}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_if", "text": "#if !defin...
80,626
c
// // LFMacro.h // // Created by 刘丰 on 2017/6/8. // Copyright © 2017年 kaituo. All rights reserved. // #ifndef LFMacro_h #define LFMacro_h #import "LFColor.h" #import "LFLog.h" #import "LFFunction.h" #import "LFSystem.h" #import "LFCustom.h" #import "LFUrl.h" #import "LFStaticInline.h" #endif /* LFMacro_h */
18.5
16
(translation_unit) "//\n// LFMacro.h\n//\n// Created by 刘丰 on 2017/6/8.\n// Copyright © 2017年 kaituo. All rights reserved.\n//\n\n#ifndef LFMacro_h\n#define LFMacro_h\n\n#import "LFColor.h"\n#import "LFLog.h"\n#import "LFFunction.h"\n#import "LFSystem.h"\n#import "LFCustom.h"\n#import "LFUrl.h"\n#import "LFStaticInl...
36
0
{"language": "c", "success": true, "metadata": {"lines": 16, "avg_line_length": 18.5, "nodes": 28, "errors": 0, "source_hash": "433b666326e6c122c1f207eef9a65217545befc6bce55641dca6847b577b9577", "categorized_nodes": 12}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": " LFMacro_...
80,627
c
#ifndef __CORE_H__ #define __CORE_H__ #include <QObject> #include "pollthread.h" #include "worker.h" class Core : public QObject { Q_OBJECT public: static Core* _instance; static Core* getInstance(); void start(); signals: void sigQuit(); void sigWork(); public slots: void sltWaitFinis...
17.33
24
(translation_unit) "#ifndef __CORE_H__\n#define __CORE_H__\n\n#include <QObject>\n#include "pollthread.h"\n#include "worker.h"\n\nclass Core : public QObject\n{\n Q_OBJECT\n\npublic:\n static Core* _instance;\n static Core* getInstance();\n\n void start();\n\nsignals:\n void sigQuit();\n void sigWork(...
132
3
{"language": "c", "success": true, "metadata": {"lines": 24, "avg_line_length": 17.33, "nodes": 81, "errors": 0, "source_hash": "8edcb2898e4433c13c6f312287e7d902936bbbaede714ea5144c600d88392a35", "categorized_nodes": 47}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
80,628
c
/* * Copyright (c) 1980, 1993 * The Regents of the University of California. All rights reserved. * * %sccs.include.redist.c% */ #ifndef lint static char sccsid[] = "@(#)query.c 8.1 (Berkeley) 05/31/93"; #endif /* not lint */ # include "robots.h" /* * query: * Ask a question and get a yes or no answer. Defa...
19.63
30
(translation_unit) "/*\n * Copyright (c) 1980, 1993\n * The Regents of the University of California. All rights reserved.\n *\n * %sccs.include.redist.c%\n */\n\n#ifndef lint\nstatic char sccsid[] = "@(#)query.c 8.1 (Berkeley) 05/31/93";\n#endif /* not lint */\n\n# include "robots.h"\n\n/*\n * query:\n * Ask a questio...
170
1
{"language": "c", "success": true, "metadata": {"lines": 30, "avg_line_length": 19.63, "nodes": 98, "errors": 0, "source_hash": "0816630758597ff8fb5a555a3812a16a22822b2f2e5b69198fbc881bed24964b", "categorized_nodes": 66}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
80,629
c
// // ZJBaseTextField.h // ImitateBaiduCourse // // Created by 张君君 on 2018/12/20. // Copyright © 2018年 ZhangJunJun. All rights reserved. // #import <UIKit/UIKit.h> @interface ZJPSWBaseTextField : UITextField @property (nonatomic,weak) id <UITextFieldDelegate> pDelegate; @property (nonatomic, assign) NSInteger m...
23.35
34
(translation_unit) "//\n// ZJBaseTextField.h\n// ImitateBaiduCourse\n//\n// Created by 张君君 on 2018/12/20.\n// Copyright © 2018年 ZhangJunJun. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n\n@interface ZJPSWBaseTextField : UITextField\n\n@property (nonatomic,weak) id <UITextFieldDelegate> pDelegate;\n@proper...
187
33
{"language": "c", "success": true, "metadata": {"lines": 34, "avg_line_length": 23.35, "nodes": 126, "errors": 0, "source_hash": "f5f01358644ecdc960a6958ce41c033befe2f6e90c9b5521d04e594d50d533fa", "categorized_nodes": 71}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "UIKit/UI...
80,630
c
#ifndef _GL4ES_BLIT_H_ #define _GL4ES_BLIT_H_ #include "gles.h" #define BLIT_ALPHA 0 #define BLIT_OPAQUE 1 #define BLIT_COLOR 2 void gl4es_blitTexture(GLuint texture, GLfloat sx, GLfloat sy, GLfloat width, GLfloat height, GLfloat nwidth, GLfloat nheight, GLfloat zoomx, GLfloat zoomy,...
29.21
14
(translation_unit) "#ifndef _GL4ES_BLIT_H_\n#define _GL4ES_BLIT_H_\n\n#include "gles.h"\n\n#define BLIT_ALPHA 0\n#define BLIT_OPAQUE 1\n#define BLIT_COLOR 2\n\nvoid gl4es_blitTexture(GLuint texture, \n GLfloat sx, GLfloat sy,\n GLfloat width, GLfloat height, \n GLfloat nwidth, GLfloat nheight, \n...
90
0
{"language": "c", "success": true, "metadata": {"lines": 14, "avg_line_length": 29.21, "nodes": 69, "errors": 0, "source_hash": "4c26875a9a8c90d49ca2cdec022ce29bd7cc13bfe72c7bba1f4db777c4efaa8f", "categorized_nodes": 56}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
80,631
c
// Copyright 2011 Scientific Systems Company Inc., New BSD License #ifndef HIDISENSORCOMPOSITE_H #define HIDISENSORCOMPOSITE_H #include <sstream> #include "GenericSensor.h" namespace hidi { /** * This class wraps a SensorPackage and provides access to each data axis as a GenericSensor. */ class SensorCompos...
27.88
120
(translation_unit) "// Copyright 2011 Scientific Systems Company Inc., New BSD License\n#ifndef HIDISENSORCOMPOSITE_H\n#define HIDISENSORCOMPOSITE_H\n\n#include <sstream>\n#include "GenericSensor.h"\n\nnamespace hidi\n{\n /**\n * This class wraps a SensorPackage and provides access to each data axis as a GenericSens...
989
21
{"language": "c", "success": true, "metadata": {"lines": 120, "avg_line_length": 27.88, "nodes": 557, "errors": 0, "source_hash": "7b632b9357329388132bbc7fe09947fc4c41443447c3a1324def9ef148363b0c", "categorized_nodes": 400}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
80,632
c
#pragma once class Storage; class SettingsDlg : private WinAPI::Dialog { public: SettingsDlg(Storage& globalStorage) : globalStorage(globalStorage) {} UINT show(HWND hwndParent); private: Storage& globalStorage; WinAPI::ImageList pageImageList; WinAPI::TreeView pageTreeView; WinAPI::Button autostartB...
26.13
15
(translation_unit) "#pragma once\n\nclass Storage;\n\nclass SettingsDlg : private WinAPI::Dialog\n{\npublic:\n SettingsDlg(Storage& globalStorage) : globalStorage(globalStorage) {}\n\n UINT show(HWND hwndParent);\n\nprivate:\n Storage& globalStorage;\n\n WinAPI::ImageList pageImageList;\n WinAPI::TreeView pageTree...
120
7
{"language": "c", "success": true, "metadata": {"lines": 15, "avg_line_length": 26.13, "nodes": 69, "errors": 0, "source_hash": "7b542377fd95072c790e86db9dda570c6e41402f9bfc9ea073c17a0d2df3a5b9", "categorized_nodes": 53}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
80,633
c
// Copyright 2014 The Chromium OS Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROMEOS_DBUS_BINDINGS_HEADER_GENERATOR_H_ #define CHROMEOS_DBUS_BINDINGS_HEADER_GENERATOR_H_ #include <string> #include <vector> #include <b...
42.56
62
(translation_unit) "// Copyright 2014 The Chromium OS Authors. All rights reserved.\n// Use of this source code is governed by a BSD-style license that can be\n// found in the LICENSE file.\n\n#ifndef CHROMEOS_DBUS_BINDINGS_HEADER_GENERATOR_H_\n#define CHROMEOS_DBUS_BINDINGS_HEADER_GENERATOR_H_\n\n#include <string>\n#i...
308
13
{"language": "c", "success": true, "metadata": {"lines": 62, "avg_line_length": 42.56, "nodes": 155, "errors": 0, "source_hash": "a5ba73129e4288e119faac387acb9c1f7b99976234b1a3450bad298931886610", "categorized_nodes": 114}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
80,634
c
// // AppDelegate.h // app // // Created by 渠晓友 on 2021/7/18. // #import <UIKit/UIKit.h> @interface AppDelegate : UIResponder <UIApplicationDelegate> /** window */ @property (nonatomic, strong) UIWindow * window; @end
19.64
11
(translation_unit) "//\n// AppDelegate.h\n// app\n//\n// Created by 渠晓友 on 2021/7/18.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface AppDelegate : UIResponder <UIApplicationDelegate>\n\n/** window */\n@property (nonatomic, strong) UIWindow * window;\n\n@end\n\n" (comment) "//" (comment) "// AppDelegate.h" ...
39
6
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 19.64, "nodes": 25, "errors": 0, "source_hash": "734a4917bf8f6557344c79f577c9cd9fdb780e11dfd1c75e0987f6542a01fdf5", "categorized_nodes": 12}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "t <UIKit/...
80,635
c
/* * Copyright 2012 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #ifndef GrAARectRenderer_DEFINED #define GrAARectRenderer_DEFINED #include "SkMatrix.h" #include "SkRect.h" #include "SkRefCnt.h" #include "SkStrokeRec.h" class GrGpu; class...
39.01
98
(translation_unit) "/*\n * Copyright 2012 Google Inc.\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n */\n\n#ifndef GrAARectRenderer_DEFINED\n#define GrAARectRenderer_DEFINED\n\n#include "SkMatrix.h"\n#include "SkRect.h"\n#include "SkRefCnt.h"\n#include "S...
604
21
{"language": "c", "success": true, "metadata": {"lines": 98, "avg_line_length": 39.01, "nodes": 350, "errors": 0, "source_hash": "c113a04f56108ea31ab1f03be58d7fa26a691c5dfbaadbd5e175b10c88ac7200", "categorized_nodes": 254}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
80,636
c
// // MLNUICanvasView.h // // // Created by MoMo on 2019/7/23. // #import "MLNUIView.h" NS_ASSUME_NONNULL_BEGIN @interface MLNUICanvasView : MLNUIView @end NS_ASSUME_NONNULL_END
15.36
11
(translation_unit) "//\n// MLNUICanvasView.h\n//\n//\n// Created by MoMo on 2019/7/23.\n//\n\n#import "MLNUIView.h"\n\nNS_ASSUME_NONNULL_BEGIN\n\n@interface MLNUICanvasView : MLNUIView\n\n@end\n\nNS_ASSUME_NONNULL_END\n" (comment) "//" (comment) "// MLNUICanvasView.h" (comment) "//" (comment) "//" (comment...
26
4
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 15.36, "nodes": 15, "errors": 0, "source_hash": "d7424e2a213d086e7f038453edd9c96ca73046af4b6739308bbf48c30718515a", "categorized_nodes": 8}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import \"...
80,637
c
/* ========================================================== * STHelpViewController.h * ShortTail for YOURLS v1.6.5 * https://github.com/adamdehaven/ShortTail * * Author: <NAME> ( Twitter, GitHub: @adamdehaven ) * http://adamdehaven.com/ * * * Copyright (c) 2016 <NAME>. All rights reserved. * ===============...
33
20
(translation_unit) "/* ==========================================================\n * STHelpViewController.h\n * ShortTail for YOURLS v1.6.5\n * https://github.com/adamdehaven/ShortTail\n *\n * Author: <NAME> ( Twitter, GitHub: @adamdehaven )\n * http://adamdehaven.com/\n *\n *\n * Copyright (c) 2016 <NAME>. All rights...
59
7
{"language": "c", "success": true, "metadata": {"lines": 20, "avg_line_length": 33.0, "nodes": 45, "errors": 0, "source_hash": "bd839493aabead31edd40dc8784a09a1efe50eb55e3de672554ba1d9d0acb0c3", "categorized_nodes": 21}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <U...
80,638
c
/* * Copyright (c) 2017 <NAME>. All rights reserved. * Distributed under the ISC license, see terms at the end of the file. * %%NAME%% %%VERSION%% - commit %%VCS_COMMIT_ID%% */ /* * read an NCONF config file and dump out its contents */ #include <stdio.h> #include <string.h> #include <openssl/conf.h> int main(...
31.31
54
(translation_unit) "/*\n * Copyright (c) 2017 <NAME>. All rights reserved.\n * Distributed under the ISC license, see terms at the end of the file.\n * %%NAME%% %%VERSION%% - commit %%VCS_COMMIT_ID%%\n */\n\n/*\n * read an NCONF config file and dump out its contents\n */\n\n#include <stdio.h>\n#include <string.h>\n#inc...
253
0
{"language": "c", "success": true, "metadata": {"lines": 54, "avg_line_length": 31.31, "nodes": 145, "errors": 0, "source_hash": "afea85694a3bf7c648604fb7661e41dd6eb3d5b7f680170b4d3d5738c89285bb", "categorized_nodes": 97}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
80,639
c
#pragma once // clang-format off #if defined(__AVR__) # define readPort(port) PINx_ADDRESS(port) typedef uint8_t port_data_t; #else # define readPort(qmk_pin) palReadPort(PAL_PORT(qmk_pin)) typedef uint16_t port_data_t; #endif
25.78
9
(translation_unit) "#pragma once\n// clang-format off\n\n#if defined(__AVR__)\n# define readPort(port) PINx_ADDRESS(port)\ntypedef uint8_t port_data_t;\n#else\n# define readPort(qmk_pin) palReadPort(PAL_PORT(qmk_pin))\ntypedef uint16_t port_data_t;\n#endif\n" (preproc_call) "#pragma once\n" (preproc...
42
0
{"language": "c", "success": true, "metadata": {"lines": 9, "avg_line_length": 25.78, "nodes": 32, "errors": 0, "source_hash": "a89a05f6fc7f27af4fcbf026521dcce685f8b5b23c5388cd1983674143f82f95", "categorized_nodes": 15}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma on...
80,640
c
#pragma once #include <faabric/proto/faabric.pb.h> #include <faabric/util/exception.h> #include <string> #include <vector> namespace faabric::util { std::string funcToString(const faabric::Message& msg, bool includeId); std::string funcToString( const std::shared_ptr<faabric::BatchExecuteRequest>& req); unsigned...
41.58
26
(translation_unit) "#pragma once\n\n#include <faabric/proto/faabric.pb.h>\n#include <faabric/util/exception.h>\n#include <string>\n#include <vector>\n\nnamespace faabric::util {\n\nstd::string funcToString(const faabric::Message& msg, bool includeId);\n\nstd::string funcToString(\n const std::shared_ptr<faabric::Batch...
355
25
{"language": "c", "success": true, "metadata": {"lines": 26, "avg_line_length": 41.58, "nodes": 204, "errors": 0, "source_hash": "f2ffb3b786ade82e261b2062877f425bd81003de0f5a608bc9bab44388fe94c0", "categorized_nodes": 145}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
80,641
c
#pragma once extern int foo; void inc_foo();
14
3
(translation_unit) "#pragma once\n\nextern int foo;\nvoid inc_foo();\n\n\n" (preproc_call) "#pragma once\n" (preproc_directive) "#pragma" (preproc_arg) "once" (declaration) "extern int foo;" (storage_class_specifier) "extern" (extern) "extern" (primitive_type) "int" (identifier) "foo" ...
18
0
{"language": "c", "success": true, "metadata": {"lines": 3, "avg_line_length": 14.0, "nodes": 13, "errors": 0, "source_hash": "efc2ab511156df8e10f928b9b4b1d695ba9d31bcfebe9a76499b07319310b95c", "categorized_nodes": 7}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma once...
80,642
c
// // DiscoverController.h // FakeGithub // // Created by FakeCoder on 2021/3/8. // #import <UIKit/UIKit.h> #import "BaseTableViewController.h" @interface DiscoverController : BaseTableViewController @end
19.8
10
(translation_unit) "//\n// DiscoverController.h\n// FakeGithub\n//\n// Created by FakeCoder on 2021/3/8.\n//\n\n#import <UIKit/UIKit.h>\n\n#import "BaseTableViewController.h"\n\n@interface DiscoverController : BaseTableViewController\n\n@end\n" (comment) "//" (comment) "// DiscoverController.h" (comment) "// ...
24
4
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 19.8, "nodes": 14, "errors": 0, "source_hash": "ca8e64218c0b914b43d6ddcd08802cd3f46066c42cb48cb0c52f321321ac5a49", "categorized_nodes": 6}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <UI...
80,643
c
// // main.c // task32 // // Created by <NAME>. on 12.04.17. // Copyright © 2017 <NAME>. All rights reserved. // //13. Створити функцію, яка б виводила довжина строки, якщо строка нуль термінована. #include <stdio.h> #include "ICPrintLengthString.h" int main(int argc, const char * argv[]) { ICPrintLengthStri...
22
15
(translation_unit) "//\n// main.c\n// task32\n//\n// Created by <NAME>. on 12.04.17.\n// Copyright © 2017 <NAME>. All rights reserved.\n//\n//13. Створити функцію, яка б виводила довжина строки, якщо строка нуль термінована.\n\n\n#include <stdio.h>\n#include "ICPrintLengthString.h"\n\nint main(int argc, const char ...
57
0
{"language": "c", "success": true, "metadata": {"lines": 15, "avg_line_length": 22.0, "nodes": 27, "errors": 0, "source_hash": "b414d0a936b984e998f9dc820eee1742e57186c92c0d1faee650664c101d0515", "categorized_nodes": 19}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "argc, c...
80,644
c
const char cconst = 'a'; char cvar; void main() { const int iconst = 1; int ivar; printf(iconst); printf(cconst); printf(ivar); printf(cvar); ivar = 1; cvar = 'a'; }
14.17
12
(translation_unit) "const char cconst = 'a';\nchar cvar;\n\nvoid main() {\n const int iconst = 1;\n int ivar;\n\n printf(iconst);\n printf(cconst);\n\n printf(ivar);\n printf(cvar);\n\n ivar = 1;\n cvar = 'a';\n}\n" (declaration) "const char cconst = 'a';" (type_qualifier) "const" (const) "const" ...
87
0
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 14.17, "nodes": 53, "errors": 0, "source_hash": "f53f3b03e0c55b5c10044b795e6323a6d4a11fae7fb9d227bd12455609377f88", "categorized_nodes": 31}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "declaration", "text": "const char...
80,645
c
#include <std.h> #include "../defs.h" inherit INH+"tunnel1"; void create() { ::create(); set_exits(([ "southeast" : TUNNEL"tunnel04", "northwest" : TUNNEL"tunnel06", ])); }
18.7
10
(translation_unit) "#include <std.h>\n#include "../defs.h"\ninherit INH+"tunnel1";\n\nvoid create() {\n ::create();\n\n set_exits(([\n "southeast" : TUNNEL"tunnel04",\n "northwest" : TUNNEL"tunnel06",\n ]));\n}\n" (preproc_include) "#include <std.h>\n" (#include) "#include" (system_lib_stri...
81
3
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 18.7, "nodes": 35, "errors": 0, "source_hash": "55debed4090a224e69e33002f751be421791a495f623d61ea2744da83cf398f5", "categorized_nodes": 27}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#includ...
80,646
c
#pragma once #include <Tempest/Sound> #include <cstdint> #include <array> namespace Tempest { class SoundDevice; class SoundProducer { public: SoundProducer(uint16_t frequency,uint16_t channels); virtual ~SoundProducer()=default; virtual void renderSound(int16_t* out,size_t n) = 0; private: ui...
27.09
45
(translation_unit) "#pragma once\n\n#include <Tempest/Sound>\n#include <cstdint>\n#include <array>\n\nnamespace Tempest {\n\nclass SoundDevice;\n\nclass SoundProducer {\n public:\n SoundProducer(uint16_t frequency,uint16_t channels);\n virtual ~SoundProducer()=default;\n\n virtual void renderSound(int16_t* ou...
384
18
{"language": "c", "success": true, "metadata": {"lines": 45, "avg_line_length": 27.09, "nodes": 239, "errors": 0, "source_hash": "9aa58dd0a5569605abaaaa4005c5ddbe736caf137d4de9c34bf41f4a8db9e2b7", "categorized_nodes": 150}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
80,647
c
// // Created by cdeler on 12/18/17. // #pragma once #ifndef YBTL_STACK_WALKER_H #define YBTL_STACK_WALKER_H #include "ybtl_types.h" int ybtl_backtrace(); size_t ybtl_stack_depth(); const void * ybtl_get_ip(size_t frameIndex); const char * ybtl_get_function_name(size_t frameIndex); void ybtl_cleanup(); bool ybt...
16.9
20
(translation_unit) "//\n// Created by cdeler on 12/18/17.\n//\n\n#pragma once\n#ifndef YBTL_STACK_WALKER_H\n#define YBTL_STACK_WALKER_H\n\n#include "ybtl_types.h"\n\nint\nybtl_backtrace();\n\nsize_t\nybtl_stack_depth();\n\nconst void *\nybtl_get_ip(size_t frameIndex);\n\nconst char *\nybtl_get_function_name(size_t fram...
83
0
{"language": "c", "success": true, "metadata": {"lines": 20, "avg_line_length": 16.9, "nodes": 53, "errors": 0, "source_hash": "8df1374b08e21c3810d7d9b66fdd9776619cb76e7cfb853ed88ea238b44e166e", "categorized_nodes": 31}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma on...
80,648
c
#ifdef __cplusplus extern "C" { #endif #ifndef _SDMBNConn_H_ #define _SDMBNConn_H_ #include <pthread.h> extern pthread_mutex_t sdmbn_lock_conn; ///// FUNCTION PROTOTYPES //////////////////////////////////////////////////// int conn_active_open(const char *host, unsigned short port); int conn_passive_open(unsigned s...
28.06
18
(translation_unit) "#ifdef __cplusplus\nextern "C" {\n#endif\n\n#ifndef _SDMBNConn_H_\n#define _SDMBNConn_H_\n\n#include <pthread.h>\n\nextern pthread_mutex_t sdmbn_lock_conn;\n\n///// FUNCTION PROTOTYPES ////////////////////////////////////////////////////\nint conn_active_open(const char *host, unsigned short port);\...
137
0
{"language": "c", "success": true, "metadata": {"lines": 18, "avg_line_length": 28.06, "nodes": 103, "errors": 0, "source_hash": "4a7f93e3b9fc25ef0ff9f89b9fc04981484c51ee66a74720c1cd0ec80366fdf1", "categorized_nodes": 65}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifdef ...
80,649
c
#include "room.h" #undef EXTRA_RESET #define EXTRA_RESET\ extra_reset(); object monster,monster2,monster3; extra_reset() { items = allocate(2); items[0] = "path"; items[1] = "A grass covered path"; if (!monster) { monster = clone_object("/wizards/walla/area/monsters/lebzomppa1"); ...
28.79
33
(translation_unit) "#include "room.h" \n \n#undef EXTRA_RESET\n#define EXTRA_RESET\\n extra_reset();\n \nobject monster,monster2,monster3;\n \nextra_reset() {\n items = allocate(2);\n items[0] = "path";\n items[1] = "A grass covered path";\n if (!monster) {\n monster = clone_object("/wizards/walla...
262
0
{"language": "c", "success": true, "metadata": {"lines": 33, "avg_line_length": 28.79, "nodes": 115, "errors": 0, "source_hash": "404d462c83a74b1dd99e79c5bf5aeaec568098727c9fa1f7f18510c6122040dc", "categorized_nodes": 86}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
80,650
c
// VydiaRNFileUploader.h #import <Foundation/Foundation.h> #import <MobileCoreServices/MobileCoreServices.h> #import <React/RCTEventEmitter.h> #import <React/RCTBridgeModule.h> @interface VydiaRNFileUploader : RCTEventEmitter <RCTBridgeModule, NSURLSessionTaskDelegate> +(void)setBackgroundSessionCompletionHandle...
42.75
8
(translation_unit) "// VydiaRNFileUploader.h\n\n#import <Foundation/Foundation.h>\n#import <MobileCoreServices/MobileCoreServices.h>\n#import <React/RCTEventEmitter.h>\n#import <React/RCTBridgeModule.h>\n\n@interface VydiaRNFileUploader : RCTEventEmitter <RCTBridgeModule, NSURLSessionTaskDelegate>\n +(void)setBackg...
53
6
{"language": "c", "success": true, "metadata": {"lines": 8, "avg_line_length": 42.75, "nodes": 36, "errors": 0, "source_hash": "ac3c8abd8f875a11c9a4e034d1b07ee0b662e11a406fbb6095aaff1817ebae5a", "categorized_nodes": 14}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <F...
80,651
c
#ifndef CODING_COMMON_H_INCLUDED #define CODING_COMMON_H_INCLUDED #include <cstdint> namespace coding { using byte = unsigned char; using word = std::uint16_t; using uint = std::uint32_t; using ulong = std::uint64_t; } // namespace coding #endif // !CODING_COMMON_H_INCLUDED
24.91
11
(translation_unit) "#ifndef CODING_COMMON_H_INCLUDED\n#define CODING_COMMON_H_INCLUDED\n\n#include <cstdint>\n\nnamespace coding\n{\n using byte = unsigned char;\n using word = std::uint16_t;\n using uint = std::uint32_t;\n using ulong = std::uint64_t;\n} // namespace coding\n\n#endif // !CODING_COMMON_H_INCLUDED...
61
4
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 24.91, "nodes": 45, "errors": 0, "source_hash": "5e114e387a7e7865d053883939599d837f6aae05d5feece51262a493ddbdb38f", "categorized_nodes": 28}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
80,652
c
#ifndef _wiring_helpers_H_ #define _wiring_helpers_H_ #include "sensesp_app.h" #include "sensors/sensor.h" #include "vedirect_parser.h" class VEDirectInput : public Sensor { public: VEDirectInput(Stream* rx_stream); virtual void enable() override final; VEDirectData vedirect_data_; private: Stream...
25.81
16
(translation_unit) "#ifndef _wiring_helpers_H_\n#define _wiring_helpers_H_\n\n#include "sensesp_app.h"\n#include "sensors/sensor.h"\n#include "vedirect_parser.h"\n\nclass VEDirectInput : public Sensor {\n public:\n VEDirectInput(Stream* rx_stream);\n virtual void enable() override final;\n VEDirectData vedire...
95
5
{"language": "c", "success": true, "metadata": {"lines": 16, "avg_line_length": 25.81, "nodes": 62, "errors": 0, "source_hash": "41b09e44830463f14716cb7d6741b627926ee18ffef8893d17bb22552972d1a2", "categorized_nodes": 44}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
80,653
c
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* tools4.c :+: :+: :+: ...
21.89
99
(translation_unit) "/* ************************************************************************** */\n/* */\n/* ::: :::::::: */\n/* tools4.c ...
802
0
{"language": "c", "success": true, "metadata": {"lines": 99, "avg_line_length": 21.89, "nodes": 511, "errors": 0, "source_hash": "980b77b3a7e154464b2b46d6deb5b3acfcea573801b0d6cfedfa6970fce6b05e", "categorized_nodes": 333}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
80,654
c
/* * Waxeye Parser Generator * www.waxeye.org * Copyright (C) 2008-2010 <NAME> * Licensed under the MIT license. See 'LICENSE' for details. */ #include <assert.h> #include <inttypes.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include "../cache.h" #include "../ht.h" int main() { struct cac...
29.62
32
(translation_unit) "/*\n * Waxeye Parser Generator\n * www.waxeye.org\n * Copyright (C) 2008-2010 <NAME>\n * Licensed under the MIT license. See 'LICENSE' for details.\n */\n\n#include <assert.h>\n#include <inttypes.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n\n#include "../cache.h"\n#include "../...
305
0
{"language": "c", "success": true, "metadata": {"lines": 32, "avg_line_length": 29.62, "nodes": 199, "errors": 0, "source_hash": "dc54d7594279b31361767f545c6de6f20b47871e29c233a05879de5a54c8988e", "categorized_nodes": 147}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
80,655
c
/* * Copyright 2020 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to ...
41.5
28
(translation_unit) "/*\n * Copyright 2020 Google LLC\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...
108
17
{"language": "c", "success": true, "metadata": {"lines": 28, "avg_line_length": 41.5, "nodes": 76, "errors": 0, "source_hash": "c8470a865bcaa9cef7238b8c658d596f5a2b9ff59391af7833c33d5cc2e569f4", "categorized_nodes": 43}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <F...
80,656
c
#define REDIS_VERSION "4.0.7"
29
1
(translation_unit) "#define REDIS_VERSION "4.0.7"\n" (preproc_def) "#define REDIS_VERSION "4.0.7"\n" (#define) "#define" (identifier) "REDIS_VERSION" (preproc_arg) ""4.0.7""
5
0
{"language": "c", "success": true, "metadata": {"lines": 1, "avg_line_length": 29.0, "nodes": 4, "errors": 0, "source_hash": "2ee5d61ef5495ccd46b91b8811aa06ae9b58ff060c87b1636078001193fa399b", "categorized_nodes": 1}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_def", "text": "#define REDIS_...
80,657
c
/* * (C) Copyright 2021 UCAR. * * This software is licensed under the terms of the Apache Licence Version 2.0 * which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. */ #ifndef QG_MODEL_OBSLOCQG_H_ #define QG_MODEL_OBSLOCQG_H_ #include <ostream> #include "oops/base/ObsLocalizationBase.h" #include...
37.59
39
(translation_unit) "/*\n * (C) Copyright 2021 UCAR.\n *\n * This software is licensed under the terms of the Apache Licence Version 2.0\n * which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.\n */\n\n#ifndef QG_MODEL_OBSLOCQG_H_\n#define QG_MODEL_OBSLOCQG_H_\n\n#include <ostream>\n\n#include "oops/base...
222
16
{"language": "c", "success": true, "metadata": {"lines": 39, "avg_line_length": 37.59, "nodes": 103, "errors": 0, "source_hash": "1d4a78d7d9b1679b05eabea15640dd9694efcc315976f155da8f2e01896b6a4a", "categorized_nodes": 75}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "#ifndef QG_MODE...
80,658
c
/* * Copyright (c) 2013-2017 <NAME> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ...
21.32
117
(translation_unit) "/*\n * Copyright (c) 2013-2017 <NAME>\n *\n * Permission to use, copy, modify, and distribute this software for any\n * purpose with or without fee is hereby granted, provided that the above\n * copyright notice and this permission notice appear in all copies.\n *\n * THE SOFTWARE IS PROVIDED "AS IS...
868
0
{"language": "c", "success": true, "metadata": {"lines": 117, "avg_line_length": 21.32, "nodes": 573, "errors": 0, "source_hash": "19c59354b703ec3e61a782ea1428591c137de60778fe3f9e9d0c919eee847a14", "categorized_nodes": 438}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
80,659
c
#ifndef _BSMENU_H #define _BSMENU_H #include "comcatex.h" typedef struct { CLSID clsid; CATID catid; UINT idCmd; LPTSTR pszName; LPTSTR pszIcon; LPTSTR pszMenu; LPTSTR pszHelp; LPTSTR pszMenuPUI; LPTSTR pszHelpPUI; } BANDCLASSINFO; class CBandSiteMenu : ...
32.37
92
(translation_unit) "#ifndef _BSMENU_H \n#define _BSMENU_H \n \n#include "comcatex.h" \n \ntypedef struct { \n CLSID clsid; \n CATID catid; \n UINT idCmd; \n LPTSTR pszName; \n LPTSTR pszIcon; \n LPTSTR pszMenu; \n LPTSTR pszHelp; \n LPTSTR pszMenuPUI; \n LPTSTR pszHelpPUI; \n} BANDCLASSIN...
660
3
{"language": "c", "success": true, "metadata": {"lines": 92, "avg_line_length": 32.37, "nodes": 449, "errors": 0, "source_hash": "320e8884b12e0592e0eb6b2d5a3b98468b416053dcef6cc5dd525868ea06539b", "categorized_nodes": 354}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
80,660
c
// Fill out your copyright notice in the Description page of Project Settings. #pragma once #include "CoreMinimal.h" #include "GameFramework/HUD.h" #include "MyHUD.generated.h" struct Message { FString message; float time; FColor color; Message() { // 기본 값을 설정합니다. time = 5.f; ...
20.3
46
(translation_unit) "// Fill out your copyright notice in the Description page of Project Settings.\n\n#pragma once\n\n#include "CoreMinimal.h"\n#include "GameFramework/HUD.h"\n#include "MyHUD.generated.h"\n\nstruct Message\n{\n FString message;\n float time;\n FColor color;\n Message()\n {\n // 기본...
203
8
{"language": "c", "success": true, "metadata": {"lines": 46, "avg_line_length": 20.3, "nodes": 119, "errors": 0, "source_hash": "641154105060a54cf497982a6accf06ce93710cb45c54d056bc6e58b9db74c08", "categorized_nodes": 88}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
80,661
c
// // DYAPI.h // SVDouYinOC // // Created by HJQ on 2019/11/11. // Copyright © 2019 HJQ. All rights reserved. // #import <Foundation/Foundation.h> NS_ASSUME_NONNULL_BEGIN @interface DYAPI : NSObject // 服务器基本地址 @property (nonatomic, copy, class, readonly) NSString *serverURL; @end NS_ASSUME_NONNULL_END
20.93
14
(translation_unit) "//\n// DYAPI.h\n// SVDouYinOC\n//\n// Created by HJQ on 2019/11/11.\n// Copyright © 2019 HJQ. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n\nNS_ASSUME_NONNULL_BEGIN\n\n@interface DYAPI : NSObject\n\n// 服务器基本地址\n@property (nonatomic, copy, class, readonly) NSString *serverURL;\n...
52
6
{"language": "c", "success": true, "metadata": {"lines": 14, "avg_line_length": 20.93, "nodes": 33, "errors": 0, "source_hash": "36c3674c277e57289ab0c065670a1aa7e5507b778db8175a34df81f25d7afa1d", "categorized_nodes": 22}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <F...
80,662
c
// // NSThread+Dubrovnik.h // Dubrovnik // // Created by <NAME> on 28/05/2016. // // #import <Foundation/Foundation.h> @interface NSThread (Dubrovnik) + (void)db_performBlockOnMainThread:(void (^)(void))block; + (void)db_performBlockInBackground:(void (^)(void))block; + (void)db_runBlock:(void (^)(void))block; - ...
38.06
18
(translation_unit) "//\n// NSThread+Dubrovnik.h\n// Dubrovnik\n//\n// Created by <NAME> on 28/05/2016.\n//\n//\n\n#import <Foundation/Foundation.h>\n\n@interface NSThread (Dubrovnik)\n\n+ (void)db_performBlockOnMainThread:(void (^)(void))block;\n+ (void)db_performBlockInBackground:(void (^)(void))block;\n+ (void)db_...
292
26
{"language": "c", "success": true, "metadata": {"lines": 18, "avg_line_length": 38.06, "nodes": 175, "errors": 0, "source_hash": "f36465a33a81581370185efdc25be4729b109e5230b5a693515b7db60a82a98f", "categorized_nodes": 79}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import ...
80,663
c
/** * Copyright (c) 2018-2022, BookOS Development Team * SPDX-License-Identifier: Apache-2.0 * * Contains: Unit test * * Change Logs: * Date Author Notes * 2021-11-2 JasonHu Init */ #include <mods/test/utest.h> #ifdef CONFIG_NX_ENABLE_TEST_UTEST #include ...
32.62
239
(translation_unit) "/** \n * Copyright (c) 2018-2022, BookOS Development Team \n * SPDX-License-Identifier: Apache-2.0 \n * \n * Contains: Unit test \n * \n * Change Logs: \n * Date Author Notes \n * 2021-11-2 JasonHu Init \n */ \n \n#include <mods/test/utest.h> \n \n#ifdef CONFIG_...
1,658
12
{"language": "c", "success": true, "metadata": {"lines": 239, "avg_line_length": 32.62, "nodes": 923, "errors": 0, "source_hash": "8bd21187c49dea79aa498fab135a791302840e41e1274a87e51a229fe1a96742", "categorized_nodes": 708}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
80,664
c
/*------------------------------------------------------------------------ Turf: Configurable C++ platform adapter Copyright (c) 2016 <NAME> Distributed under the Simplified BSD License. Original location: https://github.com/preshing/turf This software is distributed WITHOUT ANY WARRANTY; without even the ...
32.26
43
(translation_unit) "/*------------------------------------------------------------------------\n Turf: Configurable C++ platform adapter\n Copyright (c) 2016 <NAME>\n\n Distributed under the Simplified BSD License.\n Original location: https://github.com/preshing/turf\n\n This software is distributed WITHOUT ANY W...
188
3
{"language": "c", "success": true, "metadata": {"lines": 43, "avg_line_length": 32.26, "nodes": 109, "errors": 0, "source_hash": "ed3466b9249a303e2bd5c78c2138a72bd5c098b5601e022bb9fc6beee2b166eb", "categorized_nodes": 77}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
80,665
c
/*========================================================================= Program: ParaView Module: pqCurrentTimeToolbar.h Copyright (c) 2005,2006 Sandia Corporation, Kitware Inc. All rights reserved. ParaView is a free software; you can redistribute it and/or modify it under the terms of the ...
39.49
89
(translation_unit) "/*=========================================================================\n\n Program: ParaView\n Module: pqCurrentTimeToolbar.h\n\n Copyright (c) 2005,2006 Sandia Corporation, Kitware Inc.\n All rights reserved.\n\n ParaView is a free software; you can redistribute it and/or modify i...
350
10
{"language": "c", "success": true, "metadata": {"lines": 89, "avg_line_length": 39.49, "nodes": 213, "errors": 0, "source_hash": "120bdeafdfa47902e261859df542117d08d8c1ea601f1dde6ad3b5d730720409", "categorized_nodes": 141}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
80,666
c
/*++ Copyright (c) 1995 Microsoft Corporation Module Name: comm1632.h Abstract: Prototypes for instructions which operate on WORDS or DWORDS. Author: 06-Jun-1995 BarryBo, Created Revision History: --*/ // WARNING: This file may be included multiple times by a single source ...
23.86
136
(translation_unit) "/*++ \n \nCopyright (c) 1995 Microsoft Corporation \n \nModule Name: \n \n comm1632.h \n \nAbstract: \n \n Prototypes for instructions which operate on WORDS or DWORDS. \n \nAuthor: \n \n 06-Jun-1995 BarryBo, Created \n \nRevision History: \n \n--*/ \n \n// WARNING: This file may be inc...
908
0
{"language": "c", "success": true, "metadata": {"lines": 136, "avg_line_length": 23.86, "nodes": 452, "errors": 0, "source_hash": "43c6ef44c3f0b4fdcce042cb91f3c906b28fc3f12fb87ff4a929f0b4be69f8fa", "categorized_nodes": 339}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "call_expression", "text": "DIS...
80,667
c
// generated from rosidl_generator_c/resource/idl__functions.c.em // with input from rcl_interfaces:srv/GetParameterTypes.idl // generated code does not contain a copyright notice #include "rcl_interfaces/srv/detail/get_parameter_types__functions.h" #include <assert.h> #include <stdbool.h> #include <stdlib.h> #include...
29.77
265
(translation_unit) "// generated from rosidl_generator_c/resource/idl__functions.c.em\n// with input from rcl_interfaces:srv/GetParameterTypes.idl\n// generated code does not contain a copyright notice\n#include "rcl_interfaces/srv/detail/get_parameter_types__functions.h"\n\n#include <assert.h>\n#include <stdbool.h>\n#...
1,666
0
{"language": "c", "success": true, "metadata": {"lines": 265, "avg_line_length": 29.77, "nodes": 947, "errors": 0, "source_hash": "6d60cf5b596230334e1a517ea30c0dcd3b54064701ad4a72534f1dfc0ff86d06", "categorized_nodes": 665}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
80,668
c
// // Generated by classdumpios 1.0.1 (64 bit) (iOS port by DreamDevLost)(Debug version compiled Sep 26 2020 13:48:20). // // Copyright (C) 1997-2019 <NAME>. // #import "CCDEnrollmentRequest.h" @interface CCDEnrollmentRetrieveCloudConfigurationRequest : CCDEnrollmentRequest { } - (id)requestPayload; // IMP=0x00...
35
14
(translation_unit) "//\n// Generated by classdumpios 1.0.1 (64 bit) (iOS port by DreamDevLost)(Debug version compiled Sep 26 2020 13:48:20).\n//\n// Copyright (C) 1997-2019 <NAME>.\n//\n\n#import "CCDEnrollmentRequest.h"\n\n@interface CCDEnrollmentRetrieveCloudConfigurationRequest : CCDEnrollmentRequest\n{\n}\n\n-...
71
5
{"language": "c", "success": true, "metadata": {"lines": 14, "avg_line_length": 35.0, "nodes": 38, "errors": 0, "source_hash": "0523becef3e66e977b6d1db2cc8ea1676841483f0ac75aa58ea6a84c1c5bc271", "categorized_nodes": 21}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import \"...
80,669
c
/* * Copyright (c) 2017 Quantum.inc. All rights reserved. * This software is released under the MIT License, see LICENSE.txt. */ #ifndef BUILD_VERSION_H_ #define BUILD_VERSION_H_ #define AI_MINI_4WD_MODULE_BUILD ((uint32_t)0x00010000) #endif /* BUILD_VERSION_H_ */
24.82
11
(translation_unit) "/* \n * Copyright (c) 2017 Quantum.inc. All rights reserved. \n * This software is released under the MIT License, see LICENSE.txt. \n */ \n \n#ifndef BUILD_VERSION_H_ \n#define BUILD_VERSION_H_ \n \n#define AI_MINI_4WD_MODULE_BUILD ((uint32_t)0x00010000) \n \n#endif /* BUILD_VERSION_H_ */" (co...
14
0
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 24.82, "nodes": 11, "errors": 0, "source_hash": "e469e31a7297c809ad4a90ae7a26d9780da288f003b3e32c461041b65d330775", "categorized_nodes": 6}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef B...
80,670
c
/** * (C) Copyright 2019 Intel Corporation. * * 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...
29.7
135
(translation_unit) "/**\n * (C) Copyright 2019 Intel Corporation.\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 ...
870
0
{"language": "c", "success": true, "metadata": {"lines": 135, "avg_line_length": 29.7, "nodes": 498, "errors": 0, "source_hash": "116dc0cd06a967b5a9e72bfd5b730b7b1835409eb09df1a35659ed2c59517f3f", "categorized_nodes": 348}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_def", "text": "#define ...
80,671
c
// Copyright 2013 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_CHROMEOS_LOGIN_SCREENS_KIOSK_ENABLE_SCREEN_H_ #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_KIOSK_ENABLE_SCREEN_H_ #include <strin...
41.52
33
(translation_unit) "// Copyright 2013 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_CHROMEOS_LOGIN_SCREENS_KIOSK_ENABLE_SCREEN_H_\n#define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_KIOSK_ENABLE_S...
189
7
{"language": "c", "success": true, "metadata": {"lines": 33, "avg_line_length": 41.52, "nodes": 108, "errors": 0, "source_hash": "c75d53aa10f5bf0079b329449cd1816b1b51561a75ed27bb422d3ed4451c1868", "categorized_nodes": 75}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
80,672
c
/* * This header is generated by classdump-dyld 1.0 * on Sunday, September 27, 2020 at 11:45:03 AM Mountain Standard Time * Operating System: Version 14.0 (Build 18A373) * Image Source: /System/Library/PrivateFrameworks/SpringBoard.framework/SpringBoard * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by...
40.32
19
(translation_unit) "/*\n* This header is generated by classdump-dyld 1.0\n* on Sunday, September 27, 2020 at 11:45:03 AM Mountain Standard Time\n* Operating System: Version 14.0 (Build 18A373)\n* Image Source: /System/Library/PrivateFrameworks/SpringBoard.framework/SpringBoard\n* classdump-dyld is licensed under GPLv3,...
104
11
{"language": "c", "success": true, "metadata": {"lines": 19, "avg_line_length": 40.32, "nodes": 63, "errors": 0, "source_hash": "1f424264ee0423139a520f9b693811017836bb4e0a1fab2ffc348eca65214d17", "categorized_nodes": 41}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "c", "parent": nu...
80,673
c
// // InformationCell.h // YouChengTire // // Created by WangZhipeng on 16/3/3. // Copyright © 2016年 WangZhipeng. All rights reserved. // #import "BaseCell.h" @interface InformationCell : BaseCell + (CGFloat)height; @end
19.45
11
(translation_unit) "//\n// InformationCell.h\n// YouChengTire\n//\n// Created by WangZhipeng on 16/3/3.\n// Copyright © 2016年 WangZhipeng. All rights reserved.\n//\n\n#import "BaseCell.h"\n\n@interface InformationCell : BaseCell\n\n+ (CGFloat)height;\n\n@end\n" (comment) "//" (comment) "// InformationCell.h" ...
32
4
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 19.45, "nodes": 17, "errors": 0, "source_hash": "986ed0f889aa84e5536e5891614e5e9abcce59e3e2614bedb0b1ffe5717f1edd", "categorized_nodes": 9}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "port \"Bas...
80,674
c
/* SPDX-License-Identifier: GPL-2.0+ * * include/asm-sh/freq.h * * Copyright (C) 2002, 2003 <NAME> */ #ifndef __ASM_SH_FREQ_H #define __ASM_SH_FREQ_H #ifdef __KERNEL__ #include <cpu/freq.h> #endif /* __KERNEL__ */ #endif /* __ASM_SH_FREQ_H */
19.67
12
(translation_unit) "/* SPDX-License-Identifier: GPL-2.0+\n *\n * include/asm-sh/freq.h\n *\n * Copyright (C) 2002, 2003 <NAME>\n */\n#ifndef __ASM_SH_FREQ_H\n#define __ASM_SH_FREQ_H\n#ifdef __KERNEL__\n\n#include <cpu/freq.h>\n\n#endif /* __KERNEL__ */\n#endif /* __ASM_SH_FREQ_H */\n" (comment) "/* SPDX-License-Ident...
18
0
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 19.67, "nodes": 14, "errors": 0, "source_hash": "0da629ccd83d865f6e3b25b8d7aa62464242f57502f65b7aac53d4d93c1b5fd4", "categorized_nodes": 12}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
80,675
c
// // HTTPService.h // Tutorial // // Created by <NAME> on 1/4/18. // Copyright © 2018 <NAME>. All rights reserved. // #import <Foundation/Foundation.h> typedef void (^onComplete)(NSArray* __nullable dataDict, NSString* __nullable errMessage); @interface HTTPService : NSObject + (id) instance; -(void) getTutori...
27.15
13
(translation_unit) "//\n// HTTPService.h\n// Tutorial\n//\n// Created by <NAME> on 1/4/18.\n// Copyright © 2018 <NAME>. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n\ntypedef void (^onComplete)(NSArray* __nullable dataDict, NSString* __nullable errMessage);\n\n@interface HTTPService : NSObject\n\n...
79
9
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 27.15, "nodes": 50, "errors": 0, "source_hash": "78de0484c77bb6820fea297d9dfdea5460d012cb023bc03ca8e7f2f89eea3bad", "categorized_nodes": 27}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <F...
80,676
c
#include "hashmap.h" #include "hash.c" #include <stdlib.h> int streq(const char *s1, const char *s2) { if (strlen(s1) != strlen(s2)) { return 1; } else { return strncmp(s1, s2, strlen(s1)); } } struct HashmapElement { char *identifier; void *value; }; struct Hashmap { struct H...
28.46
107
(translation_unit) "#include "hashmap.h"\n#include "hash.c"\n#include <stdlib.h>\n\nint streq(const char *s1, const char *s2) {\n if (strlen(s1) != strlen(s2)) {\n return 1;\n } else {\n return strncmp(s1, s2, strlen(s1));\n }\n}\n\nstruct HashmapElement {\n char *identifier;\n void *value;...
1,046
0
{"language": "c", "success": true, "metadata": {"lines": 107, "avg_line_length": 28.46, "nodes": 628, "errors": 0, "source_hash": "929c6f8369be540bab2a929faa5d4db4d2c09710a4b6c49bc8dada55d83365ba", "categorized_nodes": 419}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
80,677
c
// // Copyright (C) 2004-2011 by Autodesk, Inc. // // This library is free software; you can redistribute it and/or // modify it under the terms of version 2.1 of the GNU Lesser // General Public License as published by the Free Software Foundation. // // This library is distributed in the hope that it will be use...
31.89
74
(translation_unit) "//\n// Copyright (C) 2004-2011 by Autodesk, Inc.\n//\n// This library is free software; you can redistribute it and/or\n// modify it under the terms of version 2.1 of the GNU Lesser\n// General Public License as published by the Free Software Foundation.\n//\n// This library is distributed in t...
419
16
{"language": "c", "success": true, "metadata": {"lines": 74, "avg_line_length": 31.89, "nodes": 259, "errors": 0, "source_hash": "6d3de74ec0e9a3d00694bee1d7934d2a84027fd463745dfcdbb0a5793a1a921d", "categorized_nodes": 179}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
80,678
c
/* Generated by RuntimeBrowser Image: /System/Library/PrivateFrameworks/WebKitLegacy.framework/WebKitLegacy */ @interface WebHighlightLayer : CALayer { WebNodeHighlightView * _view; WebView * _webView; } - (id)actionForKey:(id)arg1; - (id)initWithHighlightView:(id)arg1 webView:(id)arg2; - (void)layoutSubl...
29
11
(translation_unit) "/* Generated by RuntimeBrowser\n Image: /System/Library/PrivateFrameworks/WebKitLegacy.framework/WebKitLegacy\n */\n\n@interface WebHighlightLayer : CALayer {\n WebNodeHighlightView * _view;\n WebView * _webView;\n}\n\n- (id)actionForKey:(id)arg1;\n- (id)initWithHighlightView:(id)arg1 webVie...
79
8
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 29.0, "nodes": 48, "errors": 0, "source_hash": "f1a62a45b0c79fc75281245449efcb83f6858c28c424785428a2bc8f5f961288", "categorized_nodes": 29}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "@", "parent": nul...
80,679
c
// // APTDownloadItem.h // Limitless // // Created on 12/20/16. // typedef NS_ENUM(NSUInteger, APTDownloadState) { APTDownloadStateIdle, APTDownloadStateDownloading, APTDownloadStateDone, APTDownloadStateError, APTDownloadStateAuthenticationError, APTDownloadStateTransientNetworkError }; @i...
27.1
20
(translation_unit) "//\n// APTDownloadItem.h\n// Limitless\n//\n// Created on 12/20/16.\n//\n\ntypedef NS_ENUM(NSUInteger, APTDownloadState) {\n APTDownloadStateIdle,\n APTDownloadStateDownloading,\n APTDownloadStateDone,\n APTDownloadStateError,\n APTDownloadStateAuthenticationError,\n APTDownload...
113
21
{"language": "c", "success": true, "metadata": {"lines": 20, "avg_line_length": 27.1, "nodes": 75, "errors": 0, "source_hash": "a123efd32e91322414e5b059d41e23e37fc8463ca4622ed71f8fadee250a6fe5", "categorized_nodes": 42}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "type_definition", "text": "typedef...
80,680
c
// // SDArchiverTool.h // TryToHARAM // // Created by xialan on 2018/10/19. // Copyright © 2018 HARAM. All rights reserved. // #import <Foundation/Foundation.h> #import "NSObject+Archiver.h" @interface SDArchiverTool : NSObject /** * 清楚所有归档 */ + (void)clearAll; /** * 清楚一个类的归档 * * @param className 类的名字 ...
15.96
27
(translation_unit) "//\n// SDArchiverTool.h\n// TryToHARAM\n//\n// Created by xialan on 2018/10/19.\n// Copyright © 2018 HARAM. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n#import "NSObject+Archiver.h"\n\n@interface SDArchiverTool : NSObject\n\n/**\n * 清楚所有归档\n */\n+ (void)clearAll;\n\n/**\n * ...
75
8
{"language": "c", "success": true, "metadata": {"lines": 27, "avg_line_length": 15.96, "nodes": 44, "errors": 0, "source_hash": "b7f684e9696cff61bc82e5e865dbbc8ca0605aaef3937fbc4f0285ab3ad0af43", "categorized_nodes": 22}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <F...
80,681
c
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you ...
36.99
78
(translation_unit) "/*\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements. See the NOTICE file\n * distributed with this work for additional information\n * regarding copyright ownership. The ASF licenses this file\n * to you under the Apache License, Version 2.0...
666
28
{"language": "c", "success": true, "metadata": {"lines": 78, "avg_line_length": 36.99, "nodes": 406, "errors": 0, "source_hash": "b575a690cfa6f76e6d667e0636b7429830d71a49ae7207c4a9b57084a5788d76", "categorized_nodes": 283}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
80,682
c
#ifndef test067_Class_Defined__ #define test067_Class_Defined__ #include <stdint.h> class test067 { public: static char dat[]; static int32_t Getx(void); private: }; #endif
16.7
10
(translation_unit) "#ifndef test067_Class_Defined__\n#define test067_Class_Defined__\n\n#include <stdint.h>\n\nclass test067 {\npublic:\n static char dat[];\n static int32_t Getx(void);\nprivate:\n};\n\n#endif\n" (preproc_ifdef) "#ifndef test067_Class_Defined__\n#define test067_Class_Defined__\n\n#include <stdint.h...
48
0
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 16.7, "nodes": 25, "errors": 0, "source_hash": "7d760afc5bb0c062ba259276f6586ae9fadef1df4fb1454c836509fa29a7a8e8", "categorized_nodes": 16}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef t...
80,683
c
#import "MOBProjection.h" @interface MOBProjectionEPSG2799 : MOBProjection @end
25.67
3
(translation_unit) "#import "MOBProjection.h"\n\n@interface MOBProjectionEPSG2799 : MOBProjection\n\n@end\n" (preproc_call) "#import "MOBProjection.h"\n" (preproc_directive) "#import" (preproc_arg) ""MOBProjection.h"" (ERROR) "@interface MOBProjectionEPSG2799 : MOBProjection\n\n@end" (ERROR) "@" (ty...
12
3
{"language": "c", "success": true, "metadata": {"lines": 3, "avg_line_length": 25.67, "nodes": 9, "errors": 0, "source_hash": "a6febcdc4eed7b36fc5822aa09fa17d9c64aa5d7cd319990fae3e24e59ff481f", "categorized_nodes": 4}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import \"MO...
80,684
c
/* Copyright 2020-present University of Pennsylvania * * 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...
23.36
129
(translation_unit) "/* Copyright 2020-present University of Pennsylvania\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 * U...
818
14
{"language": "c", "success": true, "metadata": {"lines": 129, "avg_line_length": 23.36, "nodes": 477, "errors": 0, "source_hash": "b02700b3f990aba489347b70cff532f18e35d2fe201ac05dd0c59d5507df4e48", "categorized_nodes": 337}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
80,685
c
//Copyright (c) 2021 <NAME> MIT License #include "hbapi.h" #ifdef _WIN32 #include <windows.h> #endif HB_FUNC( HB_ORM_OUTPUTDEBUGSTRING ) // For Windows Only { #ifdef _WIN32 OutputDebugString( hb_parc(1) ); #endif } //=============================================================================================...
27.08
12
(translation_unit) "//Copyright (c) 2021 <NAME> MIT License\n\n#include "hbapi.h"\n\n#ifdef _WIN32\n#include <windows.h>\n#endif\n\nHB_FUNC( HB_ORM_OUTPUTDEBUGSTRING ) // For Windows Only\n{\n#ifdef _WIN32\n OutputDebugString( hb_parc(1) );\n#endif\n}\n\n//==========================================================...
43
0
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 27.08, "nodes": 25, "errors": 0, "source_hash": "46adcbb9210f4b9afac72b3b3ad77021f23c0eba87c0cfec2e1f74e2e242b63a", "categorized_nodes": 22}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
80,686
c
// Copyright (c) 2019-2020 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef BITCOIN_INDEX_DISKTXPOS_H #define BITCOIN_INDEX_DISKTXPOS_H #include <serialize.h> #include "tinyformat.h" /** Posi...
29.89
53
(translation_unit) "// Copyright (c) 2019-2020 The Bitcoin Core developers\n// Distributed under the MIT software license, see the accompanying\n// file COPYING or http://www.opensource.org/licenses/mit-license.php.\n\n#ifndef BITCOIN_INDEX_DISKTXPOS_H\n#define BITCOIN_INDEX_DISKTXPOS_H\n\n#include <serialize.h>\n#incl...
398
14
{"language": "c", "success": true, "metadata": {"lines": 53, "avg_line_length": 29.89, "nodes": 233, "errors": 0, "source_hash": "76fb73ad017dc51be38549e1c3190aacada7a78e86964e256623bf4021ed499e", "categorized_nodes": 169}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
80,687
c
/* * Copyright (c) 2018-2020 Cisco Systems, Inc. All rights reserved * Copyright (c) 2019-2020 Intel, Inc. All rights reserved. * Copyright (c) 2021-2022 <NAME>. All rights reserved. * $COPYRIGHT$ * * Additional copyrights may follow * * $HEADER$ */ #include "pmix_config.h" #include <assert.h> #include "...
33.59
34
(translation_unit) "/*\n * Copyright (c) 2018-2020 Cisco Systems, Inc. All rights reserved\n * Copyright (c) 2019-2020 Intel, Inc. All rights reserved.\n * Copyright (c) 2021-2022 <NAME>. All rights reserved.\n * $COPYRIGHT$\n *\n * Additional copyrights may follow\n *\n * $HEADER$\n */\n\n#include "pmix_config.h"\n...
152
0
{"language": "c", "success": true, "metadata": {"lines": 34, "avg_line_length": 33.59, "nodes": 97, "errors": 0, "source_hash": "51ec58b094689e1a346c7a163b9983ebc6e1b5f9c3b16ff2adb2db2c379b77e7", "categorized_nodes": 62}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
80,688
c
// Copyright 2017-2021 Closed Sum Games, LLC. All Rights Reserved. #pragma once // Interfaces #include "Containers/CsGetInterfaceMap.h" #include "CsData_Skin_VisualMaterial.generated.h" class UMaterialInterface; namespace NCsSkin { namespace NData { namespace NVisual { namespace NMaterial { /** ...
18.64
50
(translation_unit) "// Copyright 2017-2021 Closed Sum Games, LLC. All Rights Reserved.\n#pragma once\n\n// Interfaces\n#include "Containers/CsGetInterfaceMap.h"\n\n#include "CsData_Skin_VisualMaterial.generated.h"\n\nclass UMaterialInterface;\n\nnamespace NCsSkin\n{\n namespace NData\n {\n namespace NVisual\n {\n n...
201
12
{"language": "c", "success": true, "metadata": {"lines": 50, "avg_line_length": 18.64, "nodes": 100, "errors": 0, "source_hash": "00d4972c6c47825527ccc18f7f00fa5dabd34beae057a96ae1548174ba65f8c3", "categorized_nodes": 70}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma ...
80,689
c
/*! \file classmetadata.h \brief Definition of class meta data, which consists of name of class and it's parent names. This file contains a definition for class metadata. */ #pragma once #include "sadstring.h" #include "sadvector.h" #include "sadptrhash.h" #include "classmetadatacastfunctio...
31.53
97
(translation_unit) "/*! \file classmetadata.h \n \n \n \brief Definition of class meta data, which consists of name of class and it's parent names. \n \n This file contains a definition for class metadata. \n*/ \n#pragma once \n#include "sadstring.h" \n#include "sadvector.h" \n#include "sadptrhash.h" \n#in...
370
21
{"language": "c", "success": true, "metadata": {"lines": 97, "avg_line_length": 31.53, "nodes": 200, "errors": 0, "source_hash": "8d4481970ac90a70b478cfa79ee7c6e0611547d0c9a6ae2bd46ea978bcb6e623", "categorized_nodes": 138}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
80,690
c
/* * Results.h * BaseService * * */ #import <Quickblox/QBCoreResultsCommon.h>
11.14
7
(translation_unit) "/*\n * Results.h\n * BaseService\n *\n *\n */\n\n#import <Quickblox/QBCoreResultsCommon.h>" (comment) "/*\n * Results.h\n * BaseService\n *\n *\n */" (preproc_call) "#import <Quickblox/QBCoreResultsCommon.h>" (preproc_directive) "#import" (preproc_arg) "<Quickblox/QBCoreResultsCommon...
5
0
{"language": "c", "success": true, "metadata": {"lines": 7, "avg_line_length": 11.14, "nodes": 3, "errors": 0, "source_hash": "59824f3cc4e4d6947c81a1aad880eb0f59f54dd73401cb4e55a9a4db4afedee1", "categorized_nodes": 1}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <Qui...
80,691
c
// // CHSoundsViewController.h // Chanify // // Created by WizJin on 2021/3/26. // #import "CHViewController.h" NS_ASSUME_NONNULL_BEGIN @interface CHSoundsViewController : CHViewController @end NS_ASSUME_NONNULL_END
18.91
11
(translation_unit) "//\n// CHSoundsViewController.h\n// Chanify\n//\n// Created by WizJin on 2021/3/26.\n//\n\n#import "CHViewController.h"\n\nNS_ASSUME_NONNULL_BEGIN\n\n@interface CHSoundsViewController : CHViewController\n\n@end\n\nNS_ASSUME_NONNULL_END\n" (comment) "//" (comment) "// CHSoundsViewController.h...
26
4
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 18.91, "nodes": 15, "errors": 0, "source_hash": "8b6d5453b94f4bc6649c19fa082d36b903be5f94fea8feb354bfbd823e2e0736", "categorized_nodes": 8}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import \"...
80,692
c
#ifndef BINARY_SEARCH_H #define BINARY_SEARCH_H #include <cstdint> #include <functional> /* All algorithms require random access iterators for Θ(log n) */ namespace sequence { /* Straightforward binary search Values iterators point to should be sorted with Compare */ template<typename RandomIt, typename T, typenam...
29.51
102
(translation_unit) "#ifndef BINARY_SEARCH_H\n#define BINARY_SEARCH_H\n\n#include <cstdint>\n#include <functional>\n\n/*\nAll algorithms require random access iterators for Θ(log n)\n*/\nnamespace sequence {\n/*\n Straightforward binary search\n Values iterators point to should be sorted with Compare\n */\ntemplate<type...
797
37
{"language": "c", "success": true, "metadata": {"lines": 102, "avg_line_length": 29.51, "nodes": 528, "errors": 0, "source_hash": "7b0e7a4807ccc549f361e25813e8d01f549da54b534df70f5d7fa143d12d34e1", "categorized_nodes": 379}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
80,693
c
#ifndef raw_channel_h #define raw_channel_h #include <stdio.h> #include <stdint.h> typedef struct { FILE *fd; } RawChannel; /** * Initialize a raw channel object * * @param ch the channel to initalize * @param fname fname the file to dump the raw data to * @return 0 on success, non-zero on failure */ int raw_...
21.97
32
(translation_unit) "#ifndef raw_channel_h\n#define raw_channel_h\n\n#include <stdio.h>\n#include <stdint.h>\n\ntypedef struct {\n FILE *fd;\n} RawChannel;\n\n/**\n * Initialize a raw channel object\n *\n * @param ch the channel to initalize\n * @param fname fname the file to dump the raw data to\n * @return 0 on succes...
89
0
{"language": "c", "success": true, "metadata": {"lines": 32, "avg_line_length": 21.97, "nodes": 66, "errors": 0, "source_hash": "a744817453c27f3215887b21f365a6edde2531cd03b0b4df8fbeaf31f8418f13", "categorized_nodes": 42}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
80,694
c
//****************************************************************** // // Generated by IDL to C++ Translator // // File name: Sample_SetBool_Response_.h // Source: std_srvs\srv\dds_opensplice\Sample_SetBool_Response_.idl // Generated: timestamp removed to make the build reproducible // OpenSplice 6.9.190403OSS...
31.39
38
(translation_unit) "//******************************************************************\n// \n// Generated by IDL to C++ Translator\n// \n// File name: Sample_SetBool_Response_.h\n// Source: std_srvs\srv\dds_opensplice\Sample_SetBool_Response_.idl\n// Generated: timestamp removed to make the build reproducible\n/...
117
5
{"language": "c", "success": true, "metadata": {"lines": 38, "avg_line_length": 31.39, "nodes": 67, "errors": 0, "source_hash": "3229aadf97c7da7425b6bf1310264520e1607ace6e3bd693b28cf0c396086a1f", "categorized_nodes": 54}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
80,695
c
#pragma once //------------------------------------------------------------------------------ /** @class Oryol::_priv::d3d11DrawStateFactory @ingroup _priv @brief D3D11 implementation of drawStateFactory FIXME: there should be a way to reuse input layout objects by shader signature, this would dras...
33.59
39
(translation_unit) "#pragma once\n//------------------------------------------------------------------------------\n/**\n @class Oryol::_priv::d3d11DrawStateFactory\n @ingroup _priv\n @brief D3D11 implementation of drawStateFactory\n\n FIXME: there should be a way to reuse input layout objects by shader\n ...
188
7
{"language": "c", "success": true, "metadata": {"lines": 39, "avg_line_length": 33.59, "nodes": 102, "errors": 0, "source_hash": "7ee6910695551ac6803a9766235a7f00ef55bd2f79ebfcc8a1939f161517c82c", "categorized_nodes": 72}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma ...
80,696
c
/*! * @file qpid.c * @author <NAME>. * @note This file is part of the qTools distribution. **/ #include "qpid.h" static float qPID_Sat( float x, const float min, const float max ); static void qPID_AdaptGains( qPID_controller_t * const c, ...
31.46
282
(translation_unit) "/*!\n * @file qpid.c\n * @author <NAME>.\n * @note This file is part of the qTools distribution.\n **/\n\n#include "qpid.h"\n\nstatic float qPID_Sat( float x,\n const float min,\n const float max );\nstatic void qPID_AdaptGains( qPID_controller_t * const c...
2,897
0
{"language": "c", "success": true, "metadata": {"lines": 282, "avg_line_length": 31.46, "nodes": 1868, "errors": 0, "source_hash": "8c20fade2412540b73f569a5dfb8f73f88dc236d124298fe35e350c728565df8", "categorized_nodes": 1389}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#...
80,697
c
#ifndef COMMON_H #define COMMON_H #include <stdlib.h> #include <stdbool.h> #include <errno.h> #include "logger.h" //-------------------------- Return codes -----------------------------// /// Defines an error (allocation, iniitialization, etc) for a function that returns a pointer. #define BAD_PTR NULL /// Defines...
44
55
(translation_unit) "#ifndef COMMON_H\n#define COMMON_H\n\n#include <stdlib.h>\n#include <stdbool.h>\n#include <errno.h>\n\n#include "logger.h"\n\n//-------------------------- Return codes -----------------------------//\n\n/// Defines an error (allocation, iniitialization, etc) for a function that returns a pointer.\n#...
186
0
{"language": "c", "success": true, "metadata": {"lines": 55, "avg_line_length": 44.0, "nodes": 102, "errors": 0, "source_hash": "374b63e93ffb0624c4b6c67dc7c562df83479986720701531e3ad72689fc8dbd", "categorized_nodes": 60}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
80,698
c
#include <stdint.h> #include <stdio.h> int32_t main() { int32_t a, b, c; a = 'O'; b = a; c = 'K'; a = '\n'; putchar(b); putchar(c); putchar(a); }
12.77
13
(translation_unit) "#include <stdint.h>\n#include <stdio.h>\n\n\nint32_t main() {\n int32_t a, b, c;\n a = 'O';\n b = a;\n c = 'K';\n a = '\n';\n putchar(b);\n putchar(c);\n putchar(a);\n}" (preproc_include) "#include <stdint.h>\n" (#include) "#include" (system_lib_string) "<stdint.h>"...
82
0
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 12.77, "nodes": 53, "errors": 0, "source_hash": "910f0a4ceec919cc7d6ab7216be214151d13673f604faacf79c2785453cd5267", "categorized_nodes": 34}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
80,699