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
/* * * This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file. * * Copyright 2007-2019 Broadcom Inc. All rights reserved. * * Broadcom System Log Management */ #include <sal/core/libc.h> #include <sal/appl/io.h> #include <shared/bsl...
25.33
86
(translation_unit) "/*\n * \n * This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file.\n * \n * Copyright 2007-2019 Broadcom Inc. All rights reserved.\n *\n * Broadcom System Log Management\n */\n\n#include <sal/core/libc.h> \n#include <sal/ap...
427
2
{"language": "c", "success": true, "metadata": {"lines": 86, "avg_line_length": 25.33, "nodes": 261, "errors": 0, "source_hash": "238ab44b052baa9cd1640e12c5f7383d7bc0f208b90227632cbd41eb9e564e83", "categorized_nodes": 204}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
80,500
c
/* * common.h * */ #ifndef COMMON_H_ #define COMMON_H_ // OpenGL Graphics Includes #define GLEW_STATIC #include <GL/glew.h> //#define GLFW_DLL #include <GLFW/glfw3.h> // NodeJS includes #include <node.h> #include <nan.h> using namespace v8; namespace { #define JS_STR(...) Nan::New<v8::String>(__VA_ARGS__) #def...
43.02
45
(translation_unit) "/*\n * common.h\n *\n */\n\n#ifndef COMMON_H_\n#define COMMON_H_\n\n// OpenGL Graphics Includes\n#define GLEW_STATIC\n#include <GL/glew.h>\n\n//#define GLFW_DLL\n#include <GLFW/glfw3.h>\n\n// NodeJS includes\n#include <node.h>\n#include <nan.h>\n\nusing namespace v8;\n\nnamespace {\n#define JS_STR(....
229
4
{"language": "c", "success": true, "metadata": {"lines": 45, "avg_line_length": 43.02, "nodes": 153, "errors": 0, "source_hash": "0be8a2fb372848d4cbf014912bfaef396ac7dad8961c01c74faacd7a1fc41b84", "categorized_nodes": 91}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
80,501
c
#ifndef PROJECT_HEADER_component399_8_H #define PROJECT_HEADER_component399_8_H int component399_8(); #endif // PROJECT_HEADER_component399_8_H
28
5
(translation_unit) "#ifndef PROJECT_HEADER_component399_8_H\n#define PROJECT_HEADER_component399_8_H\n\n\n\nint component399_8();\n\n#endif // PROJECT_HEADER_component399_8_H" (preproc_ifdef) "#ifndef PROJECT_HEADER_component399_8_H\n#define PROJECT_HEADER_component399_8_H\n\n\n\nint component399_8();\n\n#endif" ...
17
0
{"language": "c", "success": true, "metadata": {"lines": 5, "avg_line_length": 28.0, "nodes": 12, "errors": 0, "source_hash": "e7c28005c32e6f205d1b532b327de1f6fef67d8a3d30536be8b0675d7a119ee9", "categorized_nodes": 8}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef PRO...
80,502
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 <UIKit/UIKit.h> #import <ABI41_0_0RCTImageManagerProtocol.h> NS_ASSUME_NONNULL_BEGIN @protocol ABI41_0_0RCTImageLoaderWi...
42.05
19
(translation_unit) "/*\n * 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\n#import <UIKit/UIKit.h>\n\n#import <ABI41_0_0RCTImageManagerProtocol.h>\n\nNS_ASSUME_NONNULL_BEGIN\n\n@p...
102
14
{"language": "c", "success": true, "metadata": {"lines": 19, "avg_line_length": 42.05, "nodes": 63, "errors": 0, "source_hash": "45765631aa0efe30b5c802f9a89cdcd2a555d19542c3b0c0e7fab31fcd0de51d", "categorized_nodes": 37}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <...
80,503
c
/** * This header is generated by class-dump-z 0.2b. * * Source: /System/Library/PrivateFrameworks/AccountSettingsUI.framework/AccountSettingsUI */ @protocol AccountSettingsUIAccount <NSObject> + (id)displayedAccountTypeString; + (id)displayedShortAccountTypeString; + (void *)createSyncDataSourceForDataclass:(i...
31.63
27
(translation_unit) "/**\n * This header is generated by class-dump-z 0.2b.\n *\n * Source: /System/Library/PrivateFrameworks/AccountSettingsUI.framework/AccountSettingsUI\n */\n\n\n\n\n@protocol AccountSettingsUIAccount <NSObject>\n+ (id)displayedAccountTypeString;\n+ (id)displayedShortAccountTypeString;\n+ (void *)cre...
248
15
{"language": "c", "success": true, "metadata": {"lines": 27, "avg_line_length": 31.63, "nodes": 151, "errors": 0, "source_hash": "85933696107bae2770cef141b1cd6c34cecfe10e08faad3d581c45a356052b2a", "categorized_nodes": 93}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "@protocol Accou...
80,504
c
/* addresses.c -- Playing with addresses of variables and their contents: * what is done by C with variables, addresses, and values. */ #include <stdio.h> void moo(int a, int * b); int main(void) { int x; int *y; x=1; y=&x; printf("Address of x = %d, value of x = %d\n", &x, x); printf("...
33.67
24
(translation_unit) "/* addresses.c -- Playing with addresses of variables and their contents:\n * what is done by C with variables, addresses, and values.\n */\n\n#include <stdio.h>\n\nvoid moo(int a, int * b);\n\nint main(void) {\n int x;\n int *y;\n\n x=1;\n y=&x;\n printf("Address of x = %d, valu...
168
0
{"language": "c", "success": true, "metadata": {"lines": 24, "avg_line_length": 33.67, "nodes": 96, "errors": 0, "source_hash": "0118727f957be7c5956c431eaceab0146c40cbea3fb075df5cfb0875e7c6d034", "categorized_nodes": 64}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
80,505
c
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by <NAME>. // #import "JPFReceivedPacket.h" @interface JPFAck : JPFReceivedPacket { unsigned char _reqCmd; unsigned char _stepCode; unsigned char _statusCode; unsigned long long _times...
38.55
20
(translation_unit) "//\n// Generated by class-dump 3.5 (64 bit).\n//\n// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by <NAME>.\n//\n\n#import "JPFReceivedPacket.h"\n\n@interface JPFAck : JPFReceivedPacket\n{\n unsigned char _reqCmd;\n unsigned char _stepCode;\n unsigned char _statusCod...
160
15
{"language": "c", "success": true, "metadata": {"lines": 20, "avg_line_length": 38.55, "nodes": 105, "errors": 0, "source_hash": "6d67f9574f4c7a6efc4441fe7d8b3c88626a217017e5cc0405e3c0e46715c130", "categorized_nodes": 59}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import ...
80,506
c
#include <stdio.h> #include <stdlib.h> int main() { int tam; int **matriz; printf("Digite o tamanho da matriz: "); scanf("%d", &tam); matriz = (int**) malloc(tam*sizeof(int*)); for(int i = 0; i < tam; i++) matriz[i] = (int*) malloc (tam*sizeof(int)); for(int i = 0; i < tam; i++)...
20.84
31
(translation_unit) "#include <stdio.h>\n#include <stdlib.h>\n\nint main()\n{\n int tam;\n int **matriz;\n\n printf("Digite o tamanho da matriz: ");\n scanf("%d", &tam);\n\n matriz = (int**) malloc(tam*sizeof(int*)); \n for(int i = 0; i < tam; i++)\n matriz[i] = (int*) malloc (tam*sizeof(int));\...
297
0
{"language": "c", "success": true, "metadata": {"lines": 31, "avg_line_length": 20.84, "nodes": 180, "errors": 0, "source_hash": "f086ec01d76861762fa1f7630142fdef7392e86c63a7d640ca51b15a68567caa", "categorized_nodes": 116}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
80,507
c
#pragma once #include "EntityFunctions.h" #include "Node.h" #include "../vtable/vmthooks.h" #include "TString.h" namespace ProjectNovigrad { namespace TW3 { struct EntitySpawnParams { char v48; // [rsp+A0h] [rbp-60h] char v49; // [rsp+ACh] [rbp-54h] char v50; // [rsp+B8h] [rbp-48h] cha...
30.61
54
(translation_unit) "#pragma once\n\n#include "EntityFunctions.h"\n#include "Node.h"\n#include "../vtable/vmthooks.h"\n#include "TString.h"\n\nnamespace ProjectNovigrad\n{\n namespace TW3\n {\n struct EntitySpawnParams {\n char v48; // [rsp+A0h] [rbp-60h]\n char v49; // [rsp+ACh] [rbp-54h]\n char v50...
514
9
{"language": "c", "success": true, "metadata": {"lines": 54, "avg_line_length": 30.61, "nodes": 341, "errors": 0, "source_hash": "78f7ba60e2548e87127ddc8323f22b621368f1212aab340279135e2ca25e3399", "categorized_nodes": 226}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
80,508
c
#ifndef INDEX_H #define INDEX_H #include "transaction.h" #include "block.h" class CBlock; class COutPoint; /** Position on disk for a particular transaction. */ class CDiskTxPos { public: unsigned int nFile; unsigned int nBlockPos; unsigned int nTxPos; CDiskTxPos() { SetNull(); } ...
28.1
261
(translation_unit) "#ifndef INDEX_H\n#define INDEX_H\n\n#include "transaction.h"\n#include "block.h"\n\nclass CBlock;\nclass COutPoint;\n\n/** Position on disk for a particular transaction. */\nclass CDiskTxPos\n{\npublic:\n unsigned int nFile;\n unsigned int nBlockPos;\n unsigned int nTxPos;\n\n CDiskTxPos...
1,816
45
{"language": "c", "success": true, "metadata": {"lines": 261, "avg_line_length": 28.1, "nodes": 1052, "errors": 0, "source_hash": "d0229e0f44744cf5f858e74484cd42446698eac43594eabeb355d0e1f933f773", "categorized_nodes": 747}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
80,509
c
/* GTK - The GIMP Toolkit * Copyright (C) 2007 Red Hat, Inc. * * Authors: * - <NAME> <<EMAIL>> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2 of the License...
32.15
219
(translation_unit) "/* GTK - The GIMP Toolkit\n * Copyright (C) 2007 Red Hat, Inc.\n *\n * Authors:\n * - <NAME> <<EMAIL>>\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either...
1,118
0
{"language": "c", "success": true, "metadata": {"lines": 219, "avg_line_length": 32.15, "nodes": 649, "errors": 0, "source_hash": "7bcb71c965e2a447a2b7f5d5d84ee5b5cd8d1420198ac51da8ca43dc0b517d90", "categorized_nodes": 437}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
80,510
c
#ifndef COLOR_INCLUDED #define COLOR_INCLUDED #include "miru/basic/definitions.h" #include "miru/engine/vector.h" class Color { public: Color(); // Color(uint32_t r, uint32_t g, uint32_t b, uint32_t a); Color(float r, float g, float b, float a); Color clone() { return Color(this->r, this-...
19.81
32
(translation_unit) "#ifndef COLOR_INCLUDED\n#define COLOR_INCLUDED\n\n#include "miru/basic/definitions.h"\n#include "miru/engine/vector.h"\n\nclass Color\n{\npublic:\n Color();\n // Color(uint32_t r, uint32_t g, uint32_t b, uint32_t a);\n Color(float r, float g, float b, float a);\n\n Color clone()\n {\n...
227
6
{"language": "c", "success": true, "metadata": {"lines": 32, "avg_line_length": 19.81, "nodes": 129, "errors": 0, "source_hash": "777ce5a5e15a9dd4f94f3d0f58fa12da8bf3d85d9fb05b4f6c95d5448d5fa1ed", "categorized_nodes": 100}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
80,511
c
/* * Copyright (C) 2017 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
42.2
55
(translation_unit) "/*\n * Copyright (C) 2017 The Android Open Source Project\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n...
312
12
{"language": "c", "success": true, "metadata": {"lines": 55, "avg_line_length": 42.2, "nodes": 198, "errors": 0, "source_hash": "896a0d9b9d551db1c704302b5e660f0f7f7155f9868347f91b5f19ca83ee3ed8", "categorized_nodes": 133}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
80,512
c
// This file is part of BOINC. // http://boinc.berkeley.edu // Copyright (C) 2008 University of California // // BOINC 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 3 of the Licens...
35.51
184
(translation_unit) "// This file is part of BOINC.\n// http://boinc.berkeley.edu\n// Copyright (C) 2008 University of California\n//\n// BOINC is free software; you can redistribute it and/or modify it\n// under the terms of the GNU Lesser General Public License\n// as published by the Free Software Foundation,\n// eit...
738
0
{"language": "c", "success": true, "metadata": {"lines": 184, "avg_line_length": 35.51, "nodes": 503, "errors": 0, "source_hash": "04f21d7e90f48b6a2a777ada9ab5e7e5566a320b66f998c1320e17f8b7eb3016", "categorized_nodes": 445}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
80,513
c
// // class.c // CObjects // // Created by <NAME> on 9/2/13. // Copyright (c) 2013 <NAME>. All rights reserved. // #define _XOPEN_SOURCE 700 #include <stdio.h> #include <stdlib.h> #include <string.h> #include <stdarg.h> #include <coassert.h> #include <errno.h> #include <Object.h> #include <Object.r> #include <ne...
25.29
131
(translation_unit) "//\n// class.c\n// CObjects\n//\n// Created by <NAME> on 9/2/13.\n// Copyright (c) 2013 <NAME>. All rights reserved.\n//\n#define _XOPEN_SOURCE 700\n\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include <stdarg.h>\n\n#include <coassert.h>\n#include <errno.h>\n\n#include <Objec...
1,170
2
{"language": "c", "success": true, "metadata": {"lines": 131, "avg_line_length": 25.29, "nodes": 733, "errors": 0, "source_hash": "671da0e1e925d4b66598efa48aa3b71592f15d27a4bef031cc29c053455254ed", "categorized_nodes": 470}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_def", "text": "#define...
80,514
c
#ifndef __NATASHA_MUSEUM_H__ #define __NATASHA_MUSEUM_H__ #include <assert.h> #include <vector> #include "../include/game3x5.h" #include "../include/gamelogic.h" #include "basegame.h" #include "freegame.h" #include "game_museum.h" namespace natasha { // countRTP_museum - count rtp void countRTP_museum(); // Museum ...
33.07
57
(translation_unit) "#ifndef __NATASHA_MUSEUM_H__\n#define __NATASHA_MUSEUM_H__\n\n#include <assert.h>\n#include <vector>\n#include "../include/game3x5.h"\n#include "../include/gamelogic.h"\n#include "basegame.h"\n#include "freegame.h"\n#include "game_museum.h"\n\nnamespace natasha {\n\n// countRTP_museum - count rtp\nv...
520
32
{"language": "c", "success": true, "metadata": {"lines": 57, "avg_line_length": 33.07, "nodes": 273, "errors": 0, "source_hash": "7e628b2b9f1ce3e73d6b6b9c7469902e236b1e2e7eb4b887593dd0bb99c464cc", "categorized_nodes": 202}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
80,515
c
/** ****************************************************************************** * @file : init_stwin_sensors.c * @brief : Sensors functions for stwin board ****************************************************************************** * @attention * * <h2><center>&copy; Copyright (c)...
35.14
228
(translation_unit) "/**\n ******************************************************************************\n * @file : init_stwin_sensors.c\n * @brief : Sensors functions for stwin board\n ******************************************************************************\n * @attention\n *\n * <h2><...
1,403
0
{"language": "c", "success": true, "metadata": {"lines": 228, "avg_line_length": 35.14, "nodes": 804, "errors": 0, "source_hash": "cb1b342ade75caafe3246c10975ce643d91bc144e2214099a250a21e27feb2b6", "categorized_nodes": 598}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
80,516
c
#include <stdio.h> int cont; int main(void){ for(cont = 1; cont > 5; cont++){ // cont =6 ; 6 <= 5-> true printf("\n\t %i --> Te amo <3", cont); //5 -- Te amo <3 } printf("\n\n La variable cont vale: %i", cont); // 6 return 0; }
22.8
10
(translation_unit) "#include <stdio.h>\n\nint cont;\n\nint main(void){ \n\n for(cont = 1; cont > 5; cont++){ // cont =6 ; 6 <= 5-> true\n printf("\n\t %i --> Te amo <3", cont); //5 -- Te amo <3\n }\n \n printf("\n\n La variable cont vale: %i", cont); // 6\n\n return 0;\n}\n" (preproc_include) "#include <stdio.h>\n"...
77
0
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 22.8, "nodes": 41, "errors": 0, "source_hash": "19314e28985ae15e4763ee91ffdcdf13666bfcfdabc1d33af3130cb7f954a226", "categorized_nodes": 28}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#includ...
80,517
c
// // CDFAnswer.h // // // Created by <NAME> on 27/1/16. // // #import <Foundation/Foundation.h> #import <CoreData/CoreData.h> NS_ASSUME_NONNULL_BEGIN @interface CDFAnswer : NSManagedObject // Insert code here to declare functionality of your managed object subclass @end NS_ASSUME_NONNULL_END #import "CDFAns...
21.6
15
(translation_unit) "//\n// CDFAnswer.h\n// \n//\n// Created by <NAME> on 27/1/16.\n//\n//\n\n#import <Foundation/Foundation.h>\n#import <CoreData/CoreData.h>\n\nNS_ASSUME_NONNULL_BEGIN\n\n@interface CDFAnswer : NSManagedObject\n\n// Insert code here to declare functionality of your managed object subclass\n\n@end\n\...
32
5
{"language": "c", "success": true, "metadata": {"lines": 15, "avg_line_length": 21.6, "nodes": 20, "errors": 0, "source_hash": "f18eb2f4eaeac00153da6f1c03d6b6845222fe63c5e3f1a55a7095eb57a3cac5", "categorized_nodes": 9}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <Fo...
80,518
c
#pragma once #if PARAM==0 #define SIZE 4 #elif PARAM==1 #define SIZE 30 #elif PARAM==2 #define SIZE 50 #elif PARAM==3 #define SIZE 70 #elif PARAM==4 #define SIZE 90 #elif PARAM==5 #define SIZE 110 #else #error unknown PARAM #endif #define MAT(m, r, c) (m)[(r)*SIZE+(c)] struct Input { int a[SI...
14.33
30
(translation_unit) "#pragma once \n \n#if PARAM==0 \n#define SIZE 4 \n#elif PARAM==1 \n#define SIZE 30 \n#elif PARAM==2 \n#define SIZE 50 \n#elif PARAM==3 \n#define SIZE 70 \n#elif PARAM==4 \n#define SIZE 90 \n#elif PARAM==5 \n#define SIZE 110 \n#else \n#error unknown PARAM \n#endif \n \n#define MAT(m, r, c) (m)[(r)*...
158
0
{"language": "c", "success": true, "metadata": {"lines": 30, "avg_line_length": 14.33, "nodes": 132, "errors": 0, "source_hash": "8b4cd0f9d28b256123c78ac1305851e0d368bcc99c0d56f4ff19b7e17cef02a4", "categorized_nodes": 78}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma ...
80,519
c
// // MMarvel.h // Marvel Comics // // Created by <NAME> on 07/04/2018. // Copyright © 2018 <NAME>. All rights reserved. // #import <Foundation/Foundation.h> #import "JSON2Model.h" typedef NS_ENUM(NSInteger, MType) { MTypeComic, MTypeStory, MTypeEvent, MTypeSeries, MTypeCount }; @interface MMa...
32.53
30
(translation_unit) "//\n// MMarvel.h\n// Marvel Comics\n//\n// Created by <NAME> on 07/04/2018.\n// Copyright © 2018 <NAME>. All rights reserved.\n//\n#import <Foundation/Foundation.h>\n#import "JSON2Model.h"\n\ntypedef NS_ENUM(NSInteger, MType)\n{\n MTypeComic,\n MTypeStory,\n MTypeEvent,\n MTypeSeries...
171
32
{"language": "c", "success": true, "metadata": {"lines": 30, "avg_line_length": 32.53, "nodes": 115, "errors": 0, "source_hash": "d7f5adc66e77c38d7053825e7e71eb4a9b1cb62187b28392e8210f5d0b2369bc", "categorized_nodes": 64}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <...
80,520
c
/** * Written in 2014 by <NAME> (<EMAIL>) * * To the extent possible under law, the author has dedicated all copyright * and related and neighboring rights to this software to the public domain * worldwide. This software is distributed without any warranty. * * See <http://creativecommons.org/publicdomain/zero/...
36.31
93
(translation_unit) "/**\n * Written in 2014 by <NAME> (<EMAIL>)\n *\n * To the extent possible under law, the author has dedicated all copyright\n * and related and neighboring rights to this software to the public domain\n * worldwide. This software is distributed without any warranty.\n * \n * See <http://creativecom...
619
0
{"language": "c", "success": true, "metadata": {"lines": 93, "avg_line_length": 36.31, "nodes": 394, "errors": 0, "source_hash": "5771b519acfefea46c8f59616c53b6c842eca719a3243b6016ad63f68ddec19f", "categorized_nodes": 273}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
80,521
c
// // CMSHuShenGangTongCapitalFlowViewModel.h // CMSPaaS // // Created by sway on 2021/2/26. // #import <Foundation/Foundation.h> #import "CMSQuotesCellViewModel.h" #import "CMSHuShenGangTongCapitalFlowView.h" NS_ASSUME_NONNULL_BEGIN @interface CMSHuShenGangTongCapitalFlowViewModel : CMSQuotesCellViewModel @proper...
29.06
18
(translation_unit) "//\n// CMSHuShenGangTongCapitalFlowViewModel.h\n// CMSPaaS\n//\n// Created by sway on 2021/2/26.\n//\n\n#import <Foundation/Foundation.h>\n#import "CMSQuotesCellViewModel.h"\n#import "CMSHuShenGangTongCapitalFlowView.h"\nNS_ASSUME_NONNULL_BEGIN\n\n@interface CMSHuShenGangTongCapitalFlowViewModel ...
86
10
{"language": "c", "success": true, "metadata": {"lines": 18, "avg_line_length": 29.06, "nodes": 60, "errors": 0, "source_hash": "10baa4a2efe5edebc5fdade86ba51cb3b9d7199d1bd69d0b60c792711e16ad91", "categorized_nodes": 33}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <...
80,522
c
// // DZLClassSingleton.h // DZLObjcAdditions // // Created by <NAME> on 23/05/2014. // Copyright (c) 2014 <NAME>. All rights reserved. // @interface NSObject () @property (nonatomic, strong) NSString *dzl_class_singleton; @end #define class_singleton(class, methodName) \ dynamic dzl_class_singleton; \ + (class ...
31.04
24
(translation_unit) "//\n// DZLClassSingleton.h\n// DZLObjcAdditions\n//\n// Created by <NAME> on 23/05/2014.\n// Copyright (c) 2014 <NAME>. All rights reserved.\n//\n\n\n@interface NSObject ()\n@property (nonatomic, strong) NSString *dzl_class_singleton;\n@end\n\n#define class_singleton(class, methodName) \\ndynami...
59
8
{"language": "c", "success": true, "metadata": {"lines": 24, "avg_line_length": 31.04, "nodes": 35, "errors": 0, "source_hash": "f6d5f10ec1a689c4725644bc5b9bccf562bc9b7b84990258072b1213275d96c9", "categorized_nodes": 17}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "@interface NSObj...
80,523
c
/* * Copyright (C) 2018-2020 Alibaba Group Holding Limited */ #ifndef __DEMUX_CLS_H__ #define __DEMUX_CLS_H__ #include "avutil/av_config.h" #include "avutil/av_typedef.h" #include "avutil/avpacket.h" #include "stream/stream_cls.h" #include "avformat/avparser_cls.h" __BEGIN_DECLS__ typedef struct demux_cls demux_c...
40.8
54
(translation_unit) "/*\n * Copyright (C) 2018-2020 Alibaba Group Holding Limited\n */\n\n#ifndef __DEMUX_CLS_H__\n#define __DEMUX_CLS_H__\n\n#include "avutil/av_config.h"\n#include "avutil/av_typedef.h"\n#include "avutil/avpacket.h"\n#include "stream/stream_cls.h"\n#include "avformat/avparser_cls.h"\n\n__BEGIN_DECLS__\...
367
0
{"language": "c", "success": true, "metadata": {"lines": 54, "avg_line_length": 40.8, "nodes": 257, "errors": 0, "source_hash": "ab0f95e593b9064b6ac6fa6bea58c289ef1482ced44a1a18c238277d8f69d5d5", "categorized_nodes": 149}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
80,524
c
/* * LCD_I2C_Driver.h */ #ifndef INC_LCD_I2C_DRIVER_H_ #define INC_LCD_I2C_DRIVER_H_ #include "stm32f4xx_hal.h" #define CMD_LCD_CLEAR 0b00000001 #define CMD_LCD_CONTROL_ON 0b00001111 // Display on, cursor on and blinking #define CMD_LCD_CONTROL_OFF 0b00001000 // Display of, cursor off and bli...
27.06
47
(translation_unit) "/* \n * LCD_I2C_Driver.h \n */ \n \n#ifndef INC_LCD_I2C_DRIVER_H_ \n#define INC_LCD_I2C_DRIVER_H_ \n \n#include "stm32f4xx_hal.h" \n \n#define CMD_LCD_CLEAR 0b00000001 \n#define CMD_LCD_CONTROL_ON 0b00001111 // Display on, cursor on and blinking \n#define CMD_LCD_CONTROL_OFF 0b00001000 //...
162
0
{"language": "c", "success": true, "metadata": {"lines": 47, "avg_line_length": 27.06, "nodes": 128, "errors": 0, "source_hash": "61077068103a1c148eeffd080bde92809d091cc88408e63671449c505852bb49", "categorized_nodes": 63}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
80,525
c
#ifndef __SHMOBILE_CLK_DIV6_H__ #define __SHMOBILE_CLK_DIV6_H__ struct clk *cpg_div6_register(const char *name, unsigned int num_parents, const char **parent_names, void __iomem *reg); #endif
39.2
5
(translation_unit) "#ifndef __SHMOBILE_CLK_DIV6_H__\n#define __SHMOBILE_CLK_DIV6_H__\n\nstruct clk *cpg_div6_register(const char *name, unsigned int num_parents,\n const char **parent_names, void __iomem *reg);\n\n#endif\n" (preproc_ifdef) "#ifndef __SHMOBILE_CLK_DIV6_H__\n#define __SHMOBILE_CLK_DIV6_H__\n\ns...
51
1
{"language": "c", "success": true, "metadata": {"lines": 5, "avg_line_length": 39.2, "nodes": 40, "errors": 0, "source_hash": "55944f9accc9e70951f79629a67716366091f6551e384b647711286a7b947e3b", "categorized_nodes": 21}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef __...
80,526
c
/* Generated by re2c */ // re2c $INPUT -o $OUTPUT -i --case-inverted { YYCTYPE yych; if (YYLIMIT <= YYCURSOR) YYFILL(1); yych = *YYCURSOR; switch (yych) { case 'A': case 'a': goto yy3; case 'b': goto yy5; default: goto yy2; } yy2: yy3: ++YYCURSOR; {return 'a';} yy5: ++YYCURSOR; {return 'b';} } } casing-f...
21.05
22
(translation_unit) "/* Generated by re2c */\n// re2c $INPUT -o $OUTPUT -i --case-inverted\n\n{\n YYCTYPE yych;\n if (YYLIMIT <= YYCURSOR) YYFILL(1);\n yych = *YYCURSOR;\n switch (yych) {\n case 'A':\n case 'a': goto yy3;\n case 'b': goto yy5;\n default: goto yy2;\n }\nyy2:\nyy3:\n ++YYCURSOR;\n {return 'a';}\nyy5:\n ++...
183
2
{"language": "c", "success": true, "metadata": {"lines": 22, "avg_line_length": 21.05, "nodes": 123, "errors": 0, "source_hash": "435f125b4511db8fec219ad4667a3e09e74d277728262f3d712b4396fc848b3f", "categorized_nodes": 71}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "declaration", "text": "YYCTYPE y...
80,527
c
/*** * * include/rtmac/tdma/tdma.h * * RTmac - real-time networking media access control subsystem * Copyright (C) 2002 <NAME> <<EMAIL>>, * 2003-2005 <NAME> <<EMAIL>> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public...
36.46
134
(translation_unit) "/***\n *\n * include/rtmac/tdma/tdma.h\n *\n * RTmac - real-time networking media access control subsystem\n * Copyright (C) 2002 <NAME> <<EMAIL>>,\n * 2003-2005 <NAME> <<EMAIL>>\n *\n * This program is free software; you can redistribute it and/or modify\n * it under the te...
538
0
{"language": "c", "success": true, "metadata": {"lines": 134, "avg_line_length": 36.46, "nodes": 424, "errors": 0, "source_hash": "876cee01a39ca633c9c0d4f92c68432c868ef412bbe2ffebd8d11d39f025c700", "categorized_nodes": 296}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
80,528
c
#include <string.h> #include <dlfcn.h> int main() { void *h; /* Try loading anything, we don't care if it works */ h = dlopen("__nothing_rdkafka.so", RTLD_NOW | RTLD_LOCAL); if (h) dlclose(h); return 0; }
25.1
10
(translation_unit) "#include <string.h>\n#include <dlfcn.h>\n\nint main() {\n void *h;\n /* Try loading anything, we don't care if it works */\n h = dlopen("__nothing_rdkafka.so", RTLD_NOW | RTLD_LOCAL);\n if (h)\n dlclose(h);\n return 0;\n}\n" (preproc_include) "#inc...
61
0
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 25.1, "nodes": 35, "errors": 0, "source_hash": "a41aae9ba1e2c838af227e0d69b4cb109d6ba786cf4410b6801126cc89e5059c", "categorized_nodes": 27}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#includ...
80,529
c
#ifndef _LIBC_STRING_STRCHR_H_ #define _LIBC_STRING_STRCHR_H_ extern char *strchr(const char *str, int c); #endif
27.5
4
(translation_unit) "#ifndef _LIBC_STRING_STRCHR_H_\n#define _LIBC_STRING_STRCHR_H_\n\nextern char *strchr(const char *str, int c);\n\n#endif" (preproc_ifdef) "#ifndef _LIBC_STRING_STRCHR_H_\n#define _LIBC_STRING_STRCHR_H_\n\nextern char *strchr(const char *str, int c);\n\n#endif" (#ifndef) "#ifndef" (identifi...
31
0
{"language": "c", "success": true, "metadata": {"lines": 4, "avg_line_length": 27.5, "nodes": 24, "errors": 0, "source_hash": "eb028497428a10eb34883998fb26f96bb604bb9ceced74336ca991dde79086be", "categorized_nodes": 13}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef _L...
80,530
c
#include "Absyn.h" int interpret(Exp p);
19.5
2
(translation_unit) "#include "Absyn.h"\n\nint interpret(Exp p);\n" (preproc_include) "#include "Absyn.h"\n" (#include) "#include" (string_literal) ""Absyn.h"" (") """ (string_content) "Absyn.h" (") """ (declaration) "int interpret(Exp p);" (primitive_type) "int" (function_declarato...
18
0
{"language": "c", "success": true, "metadata": {"lines": 2, "avg_line_length": 19.5, "nodes": 11, "errors": 0, "source_hash": "4990828da83245413df5d5c0f9a40117c6d729ab0745ec453dd282ece82f1c6f", "categorized_nodes": 9}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#include ...
80,531
c
/** * \file * * \brief SAM TIMER Driver for SAMB11 * * Copyright (c) 2015-2018 Microchip Technology Inc. and its subsidiaries. * * \asf_license_start * * \page License * * Subject to your compliance with these terms, you may use Microchip * software and any derivatives exclusively with Microchip products. ...
29.06
232
(translation_unit) "/**\n * \file\n *\n * \brief SAM TIMER Driver for SAMB11\n *\n * Copyright (c) 2015-2018 Microchip Technology Inc. and its subsidiaries.\n *\n * \asf_license_start\n *\n * \page License\n *\n * Subject to your compliance with these terms, you may use Microchip\n * software and any derivatives exclus...
198
0
{"language": "c", "success": true, "metadata": {"lines": 232, "avg_line_length": 29.06, "nodes": 128, "errors": 0, "source_hash": "fa43bab077c6df284c216f3689a607fdb45e70156cf977dcb9d76f55629001da", "categorized_nodes": 84}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
80,532
c
/** * Copyright 2021 Huawei Technologies Co., Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
35.02
92
(translation_unit) "/**\n * Copyright 2021 Huawei Technologies Co., Ltd\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unle...
512
22
{"language": "c", "success": true, "metadata": {"lines": 92, "avg_line_length": 35.02, "nodes": 298, "errors": 0, "source_hash": "3cef6c3c540e51729c4e790217d8e1195ce14fd77895e28374e34047ca065aa3", "categorized_nodes": 203}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
80,533
c
struct bintree *delete_it(char ch1,struct bintree *ptr) { if (ptr == NULL) return ptr; if (ch1 < ptr->ch) ptr->lch = delete_it(ch1,ptr->lch); else if (ch1 > ptr->ch) ptr->rch = delete_it(ch1,ptr->rch); else { if (ptr->lch == NULL) { struct bintree *temp = ptr->rch; free(ptr); return temp; } el...
19.26
27
(translation_unit) "struct bintree *delete_it(char ch1,struct bintree *ptr)\n{\n if (ptr == NULL) return ptr;\n if (ch1 < ptr->ch)\n ptr->lch = delete_it(ch1,ptr->lch);\n else if (ch1 > ptr->ch)\n ptr->rch = delete_it(ch1,ptr->rch);\n else\n {\n if (ptr->lch == NULL)\n {\n struct bintree *temp = ptr->rch;\n fre...
252
0
{"language": "c", "success": true, "metadata": {"lines": 27, "avg_line_length": 19.26, "nodes": 164, "errors": 0, "source_hash": "4fea11bb85328d2202b4e2e6f993a8bd11d81d53d8e4e018cf94c04f291f1ed6", "categorized_nodes": 122}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "function_definition", "text": "...
80,534
c
#include "Malloc.h" #include <stdio.h> #include <stdlib.h> #include <assert.h> #include <sys/unistd.h> #include <unistd.h> #include <sys/types.h> #include <stdbool.h> #include <errno.h> #include <stdatomic.h> #ifndef HEAP_SIZE #define HEAP_SIZE 33554432u #endif #define ALIGN4(x) (((((x) - 1) >> 2) << 2) + 4) #defi...
24.42
231
(translation_unit) "#include "Malloc.h"\n#include <stdio.h>\n#include <stdlib.h>\n#include <assert.h>\n#include <sys/unistd.h>\n#include <unistd.h>\n#include <sys/types.h>\n#include <stdbool.h>\n#include <errno.h>\n#include <stdatomic.h>\n\n#ifndef HEAP_SIZE \n #define HEAP_SIZE 33554432u\n#endif\n\n#define ALIGN4(x) (...
1,848
0
{"language": "c", "success": true, "metadata": {"lines": 231, "avg_line_length": 24.42, "nodes": 1147, "errors": 0, "source_hash": "4f24a837e679817b19a4c3341afa196508d6b643615d0d3e7786dd1b2c4de624", "categorized_nodes": 838}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#i...
80,535
c
// // AppDelegate.h // DocumentInteraction // // Created by <NAME> on 7/27/15. // Copyright (c) 2015 <NAME>. All rights reserved. // @import UIKit; @interface AppDelegate: UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWindow *window; @end
23.09
11
(translation_unit) "//\n// AppDelegate.h\n// DocumentInteraction\n//\n// Created by <NAME> on 7/27/15.\n// Copyright (c) 2015 <NAME>. All rights reserved.\n//\n\n@import UIKit;\n\n@interface AppDelegate: UIResponder <UIApplicationDelegate>\n\n@property (strong, nonatomic) UIWindow *window;\n\n@end\n\n" (comment) ...
42
8
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 23.09, "nodes": 26, "errors": 0, "source_hash": "7d062df8c46a66415e7059d00d499b39f3849fe097e36849dd17d3715eb6553e", "categorized_nodes": 13}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "@", "parent": nu...
80,536
c
// // FFAppDelegate.h // TSCategoryKit // // Created by myGitHubLxd on 03/18/2019. // Copyright (c) 2019 myGitHubLxd. All rights reserved. // @import UIKit; @interface FFAppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWindow *window; @end
24.18
11
(translation_unit) "//\n// FFAppDelegate.h\n// TSCategoryKit\n//\n// Created by myGitHubLxd on 03/18/2019.\n// Copyright (c) 2019 myGitHubLxd. All rights reserved.\n//\n\n@import UIKit;\n\n@interface FFAppDelegate : UIResponder <UIApplicationDelegate>\n\n@property (strong, nonatomic) UIWindow *window;\n\n@end\n" ...
42
8
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 24.18, "nodes": 26, "errors": 0, "source_hash": "eb0989da25b724f101f35a1bad3fa676a486f5a287f0d947c3a16301d9dab1a9", "categorized_nodes": 13}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "@", "parent": nu...
80,537
c
/* -*- C -*- */ /* * Copyright (c) 2017-2020 Seagate Technology LLC and/or its Affiliates * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE...
29.49
186
(translation_unit) "/* -*- C -*- */\n/*\n * Copyright (c) 2017-2020 Seagate Technology LLC and/or its Affiliates\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www...
1,191
0
{"language": "c", "success": true, "metadata": {"lines": 186, "avg_line_length": 29.49, "nodes": 747, "errors": 0, "source_hash": "d80e142287d0eef16ae0545144af3e01ad3c352f173239e5a70b530fc6a44413", "categorized_nodes": 524}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_def", "text": "#define...
80,538
c
/* * Copyright (C) 2020 <NAME> * * This program is free software. You can use and redistribute it * under the terms and conditions of the MIT License (see LICENCE). */ #pragma once #ifndef _AGSIMVEC2_H #define _AGSIMVEC2_H #include "plugin/agsplugin.h" #include "imgui/imgui.h" struct AgsImVec2 : ImVec2 { ...
31.08
52
(translation_unit) "/*\n * Copyright (C) 2020 <NAME>\n *\n * This program is free software. You can use and redistribute it\n * under the terms and conditions of the MIT License (see LICENCE).\n */\n\n#pragma once\n\n#ifndef _AGSIMVEC2_H\n#define _AGSIMVEC2_H\n\n#include "plugin/agsplugin.h"\n#include "imgui/imgui.h"...
347
12
{"language": "c", "success": true, "metadata": {"lines": 52, "avg_line_length": 31.08, "nodes": 208, "errors": 0, "source_hash": "0cea5babc2b6196354f923c7c5e0400da4c788b957e07823aaaa598b53df671f", "categorized_nodes": 134}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
80,539
c
/* * (C) 2003-2006 Gabest * (C) 2006-2018 see Authors.txt * * This file is part of MPC-BE. * * MPC-BE 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 opt...
36.88
194
(translation_unit) "/*\n * (C) 2003-2006 Gabest\n * (C) 2006-2018 see Authors.txt\n *\n * This file is part of MPC-BE.\n *\n * MPC-BE 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 Foundation; either version 3 of the...
1,757
78
{"language": "c", "success": true, "metadata": {"lines": 194, "avg_line_length": 36.88, "nodes": 1161, "errors": 0, "source_hash": "3dd9baf8d8ce7a056378952f1584c068194e0b663d5bcf463618529185258493", "categorized_nodes": 838}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#prag...
80,540
c
#include "../../../../../src/location/places/qplacemanagerengine_p.h"
69
1
(translation_unit) "#include "../../../../../src/location/places/qplacemanagerengine_p.h"\n" (preproc_include) "#include "../../../../../src/location/places/qplacemanagerengine_p.h"\n" (#include) "#include" (string_literal) ""../../../../../src/location/places/qplacemanagerengine_p.h"" (") """ (st...
7
0
{"language": "c", "success": true, "metadata": {"lines": 1, "avg_line_length": 69.0, "nodes": 3, "errors": 0, "source_hash": "feccce165db4755d2b0ad048b5cf36d862946facf0d9d7212e170cea65c016a2", "categorized_nodes": 3}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#include \...
80,541
c
// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved. #pragma once #include "ShooterCharacter.h" #include "ShooterBot.generated.h" UCLASS() class SHOOTERGAME_API AShooterBot : public AShooterCharacter { GENERATED_UCLASS_BODY() virtual bool IsFirstPerson() const override; virtual void FaceRotation(FRotato...
32.27
11
(translation_unit) "// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.\n\n#pragma once\n\n#include "ShooterCharacter.h"\n#include "ShooterBot.generated.h"\n\nUCLASS()\nclass SHOOTERGAME_API AShooterBot : public AShooterCharacter\n{\n GENERATED_UCLASS_BODY()\n\n virtual bool IsFirstPerson() const override;\n\n...
77
5
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 32.27, "nodes": 46, "errors": 0, "source_hash": "c6fbbaf05bd06044710c84aef974f8c8a60233a25c81d2e180b1fffac16d0f6b", "categorized_nodes": 31}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
80,542
c
#ifndef DUNGEONGAME_REWARD_H #define DUNGEONGAME_REWARD_H #include "PlayableElement.h" class Reward : public PlayableElement{ public: Reward(); private: void toString() override; }; #endif //DUNGEONGAME_REWARD_H
17.5
12
(translation_unit) "#ifndef DUNGEONGAME_REWARD_H\n#define DUNGEONGAME_REWARD_H\n\n\n#include "PlayableElement.h"\n\nclass Reward : public PlayableElement{\npublic:\n Reward();\n\nprivate:\n void toString() override;\n\n};\n\n\n#endif //DUNGEONGAME_REWARD_H\n" (preproc_ifdef) "#ifndef DUNGEONGAME_REWARD_H\n#defi...
50
2
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 17.5, "nodes": 25, "errors": 0, "source_hash": "fede214e99edb3279b34fdd882afddb1fca2fcd9286a235ea3cd7a02f4bd352e", "categorized_nodes": 16}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef D...
80,543
c
#pragma once #include "node_editor/Node.h" #include "node_editor/Connection.h" namespace QtNodes { class DataModelRegistry; class FlowScene; class NodeDataModel; /// Class performs various operations on the Node and Connection pair. /// An instance should be created on the stack and destroyed when /// the operation...
40.96
49
(translation_unit) "#pragma once\n\n#include "node_editor/Node.h"\n#include "node_editor/Connection.h"\n\nnamespace QtNodes {\n\nclass DataModelRegistry;\nclass FlowScene;\nclass NodeDataModel;\n\n/// Class performs various operations on the Node and Connection pair.\n/// An instance should be created on the stack and ...
224
10
{"language": "c", "success": true, "metadata": {"lines": 49, "avg_line_length": 40.96, "nodes": 115, "errors": 0, "source_hash": "49ab7b262eb11427b37043d75a2457a3592a5c169e6eb5e7233654fb2a4dc9b3", "categorized_nodes": 86}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma ...
80,544
c
// ///////////////////////////////////////////////////////////////// // Generated by dtkPluginGenerator // ///////////////////////////////////////////////////////////////// #ifndef ITKINRDATAIMAGEWRITERPLUGINEXPORT_H #define ITKINRDATAIMAGEWRITERPLUGINEXPORT_H #ifdef WIN32 #ifdef itkINRDataImageWriterPlugin_EXPOR...
38.73
15
(translation_unit) "// /////////////////////////////////////////////////////////////////\n// Generated by dtkPluginGenerator\n// /////////////////////////////////////////////////////////////////\n\n#ifndef ITKINRDATAIMAGEWRITERPLUGINEXPORT_H\n#define ITKINRDATAIMAGEWRITERPLUGINEXPORT_H\n\n#ifdef WIN32\n #ifdef itkIN...
35
0
{"language": "c", "success": true, "metadata": {"lines": 15, "avg_line_length": 38.73, "nodes": 31, "errors": 0, "source_hash": "4d46bde9fdd04adc8fad1ae8eb8e80d885dd1e78ae053687c757d3c086f9c818", "categorized_nodes": 16}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
80,545
c
#ifndef uuid_guard_749f57a6_a1336058_14a62898_c4731a4a #define uuid_guard_749f57a6_a1336058_14a62898_c4731a4a #include <string> namespace tul{ struct Uuid{ Uuid(); Uuid(const Uuid& obj); Uuid(unsigned long first, unsigned long second); bool operator ==(const Uuid& rhs) const; bool operator !=(const Uuid& rhs) ...
30.05
19
(translation_unit) "#ifndef uuid_guard_749f57a6_a1336058_14a62898_c4731a4a\n#define uuid_guard_749f57a6_a1336058_14a62898_c4731a4a\n\n#include <string>\n\nnamespace tul{\n\nstruct Uuid{\n Uuid();\n Uuid(const Uuid& obj);\n Uuid(unsigned long first, unsigned long second);\n\n bool operator ==(const Uuid& rhs) const;\n b...
147
8
{"language": "c", "success": true, "metadata": {"lines": 19, "avg_line_length": 30.05, "nodes": 89, "errors": 0, "source_hash": "1f62cfb2e236c4ca6646131a6eeb2e9e06a4ac129ec4bcf3db591d145a743fd5", "categorized_nodes": 60}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
80,546
c
#pragma once #include <cassert> #include <span> #include <vector> #include <cuda.h> #include <cuda_runtime.h> #include <cuj.h> #include <btrc/utils/cuda/error.h> #include <btrc/utils/scope_guard.h> #include <btrc/utils/uncopyable.h> BTRC_CUDA_BEGIN template<typename T = char> class Buffer : public Uncopyable { pub...
23.16
248
(translation_unit) "#pragma once\n\n#include <cassert>\n#include <span>\n#include <vector>\n\n#include <cuda.h>\n#include <cuda_runtime.h>\n#include <cuj.h>\n\n#include <btrc/utils/cuda/error.h>\n#include <btrc/utils/scope_guard.h>\n#include <btrc/utils/uncopyable.h>\n\nBTRC_CUDA_BEGIN\n\ntemplate<typename T = char>\nc...
2,303
150
{"language": "c", "success": true, "metadata": {"lines": 248, "avg_line_length": 23.16, "nodes": 1491, "errors": 0, "source_hash": "1cdbe9a0a4bbecaf81ccf87a8852044322593a5eabca4f654ee780cdd18132e7", "categorized_nodes": 969}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#prag...
80,547
c
#ifndef _INC_GDT #define _INC_GDT 1 #endif /* _INC_GDT */
18.33
3
(translation_unit) "#ifndef _INC_GDT\n#define _INC_GDT 1\n\n#endif /* _INC_GDT */\n" (preproc_ifdef) "#ifndef _INC_GDT\n#define _INC_GDT 1\n\n#endif" (#ifndef) "#ifndef" (identifier) "_INC_GDT" (preproc_def) "#define _INC_GDT 1\n" (#define) "#define" (identifier) "_INC_GDT" (preproc_arg)...
10
0
{"language": "c", "success": true, "metadata": {"lines": 3, "avg_line_length": 18.33, "nodes": 8, "errors": 0, "source_hash": "72a85d96cec4777fa32728cd1562d54949b3ff53b41b86086120f4e388741b58", "categorized_nodes": 5}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef _IN...
80,548
c
#include <omp.h> #include <stdio.h> #include <math.h> #include<stdlib.h> #define ArraySize 32678 float Array[ArraySize]; float Ranf(float min, float max) { return min + (((float) rand() * (max-min))/ (float) (RAND_MAX)); } int main( int argc, char *argv[ ] ) { int i,j; double prod; omp_set_num_threads( NUMT );...
26.13
31
(translation_unit) "#include <omp.h>\n#include <stdio.h>\n#include <math.h>\n#include<stdlib.h>\n\n#define ArraySize 32678\nfloat Array[ArraySize];\n\nfloat Ranf(float min, float max) {\n\n return min + (((float) rand() * (max-min))/ (float) (RAND_MAX));\n}\n\nint main( int argc, char *argv[ ] ) {\n\n int i,j;\n double...
319
0
{"language": "c", "success": true, "metadata": {"lines": 31, "avg_line_length": 26.13, "nodes": 213, "errors": 0, "source_hash": "a9cdd46a77c5dba90ac5d48051380c01315c2244912a7f651f89add681e54243", "categorized_nodes": 140}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
80,549
c
/*************************************************************************/ #include <stdio.h> #include <string.h> #ifdef __is_libk # include <kernel/tty.h> #endif /*************************************************************************/ int puts(const char *string) { #ifdef __is_libk terminal_w...
22.4
25
(translation_unit) "/*************************************************************************/ \n \n#include <stdio.h> \n#include <string.h> \n \n#ifdef __is_libk \n# include <kernel/tty.h> \n#endif \n \n/*************************************************************************/ \n \nint puts(const char *string) \n{ \...
75
0
{"language": "c", "success": true, "metadata": {"lines": 25, "avg_line_length": 22.4, "nodes": 51, "errors": 0, "source_hash": "33d852434608296f7b5c51d27807c861ad5532baf2b3e4e619880c2339ef8932", "categorized_nodes": 35}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#includ...
80,550
c
// // UITableView+Category.h // powerlife // // Created by 陈行 on 16/6/3. // Copyright © 2016年 陈行. All rights reserved. // #import <UIKit/UIKit.h> @interface UITableView (Category) - (id)tableViewCellByNibWithIdentifier:(NSString *)identifier; - (id)tableViewCellByClassWithIdentifier:(NSString *)identifier; - (...
28.69
13
(translation_unit) "//\n// UITableView+Category.h\n// powerlife\n//\n// Created by 陈行 on 16/6/3.\n// Copyright © 2016年 陈行. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface UITableView (Category)\n\n- (id)tableViewCellByNibWithIdentifier:(NSString *)identifier;\n\n- (id)tableViewCellByClassWithIdent...
78
10
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 28.69, "nodes": 46, "errors": 0, "source_hash": "d55a9a3953f55f3cc5c9e7f457175f801b9b30064ce38fcd71870a2a8f6e8ff8", "categorized_nodes": 27}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "Kit/UIKit...
80,551
c
#include <ctype.h> #include <fenv.h> #include <float.h> #include <math.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #define EPS 1e-5 float compute_function(float a, float b, float c, float x) { return a * powf(x, 2) * sinf(x) + b * x * cosf(x) + c; } float solve_equation(float a, float b, float c,...
21.78
45
(translation_unit) "#include <ctype.h>\n#include <fenv.h>\n#include <float.h>\n#include <math.h>\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n\n#define EPS 1e-5\n\nfloat compute_function(float a, float b, float c, float x) {\n return a * powf(x, 2) * sinf(x) + b * x * cosf(x) + c;\n}\n\nfloat solve_e...
433
0
{"language": "c", "success": true, "metadata": {"lines": 45, "avg_line_length": 21.78, "nodes": 263, "errors": 0, "source_hash": "c3a6d99f6965cb631c393f387c55b3cefed8fa0d9ba87bb3193cd85384b5d2d5", "categorized_nodes": 200}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
80,552
c
// utilities that being used frequently #include <stdio.h> #include <stdlib.h> #include <string.h> #include "member.h" // swap two integer void swap(int *a, int *b) { int tmp = *a; *a = *b; *b = tmp; } // safely get an integer from stdin int get_int() { const long long MAXI = 0x7fffffff; static ...
24.61
41
(translation_unit) "// utilities that being used frequently\n\n#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n\n#include "member.h"\n\n// swap two integer\nvoid swap(int *a, int *b) {\n int tmp = *a;\n *a = *b;\n *b = tmp;\n}\n\n// safely get an integer from stdin\nint get_int() {\n const lon...
378
0
{"language": "c", "success": true, "metadata": {"lines": 41, "avg_line_length": 24.61, "nodes": 252, "errors": 0, "source_hash": "aa92b34c90036d6e3ec6bf537a470a50f80b8868800bc317648f25b3c7a6a7fc", "categorized_nodes": 159}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
80,553
c
#ifndef __LINK_LIST_H__ #define __LINK_LIST_H__ typedef struct _LIST_ENTRY { struct _LIST_ENTRY *pNext; } LIST_ENTRY, *PLIST_ENTRY; typedef struct _LIST_HEADR { PLIST_ENTRY pHead; PLIST_ENTRY pTail; UCHAR size; } LIST_HEADER, *PLIST_HEADER; static inline VOID initList( IN PLIST_HEADER pList) { pList->pHead = ...
18.47
88
(translation_unit) "#ifndef __LINK_LIST_H__\n#define __LINK_LIST_H__\n\ntypedef struct _LIST_ENTRY\n{\n struct _LIST_ENTRY *pNext;\n} LIST_ENTRY, *PLIST_ENTRY;\n\ntypedef struct _LIST_HEADR\n{\n PLIST_ENTRY pHead;\n PLIST_ENTRY pTail;\n UCHAR size;\n} LIST_HEADER, *PLIST_HEADER;\n\nstatic inline VOID initList(\n IN PLI...
550
7
{"language": "c", "success": true, "metadata": {"lines": 88, "avg_line_length": 18.47, "nodes": 358, "errors": 0, "source_hash": "eb3f8af28fd98fc99e3ac76d485199409b56fd5638cfd619ff004d0271b1b02f", "categorized_nodes": 275}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
80,554
c
// // LZPhotoListBrowseViewConfigModel.h // LZPhotoBrowser // // Created by Dear.Q on 2020/3/31. // #import <Foundation/Foundation.h> #import "LZPhotoBrowserAppearanceModel.h" NS_ASSUME_NONNULL_BEGIN @interface LZPhotoListBrowseViewConfigModel : NSObject /// 默认配置 + (LZPhotoListBrowseViewConfigModel * (^)(void))d...
36.14
43
(translation_unit) "//\n// LZPhotoListBrowseViewConfigModel.h\n// LZPhotoBrowser\n//\n// Created by Dear.Q on 2020/3/31.\n//\n\n#import <Foundation/Foundation.h>\n#import "LZPhotoBrowserAppearanceModel.h"\n\nNS_ASSUME_NONNULL_BEGIN\n\n@interface LZPhotoListBrowseViewConfigModel : NSObject\n\n/// 默认配置\n+ (LZPhotoList...
324
32
{"language": "c", "success": true, "metadata": {"lines": 43, "avg_line_length": 36.14, "nodes": 193, "errors": 0, "source_hash": "f2b4fd4502a0313329b95258838b2703e9b733cae3c2d7c48facbe17e003c2b9", "categorized_nodes": 120}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import...
80,555
c
#ifndef GAG_BRANCH_INC #define GAG_BRANCH_INC #include <algorithm> #include <GAGPL/GLYCAN/Linkage.h> #include <GAGPL/GLYCAN/Monosaccharide.h> namespace gag { class Branch : public Unit { private: size_t branch_id; std::vector<Monosaccharide> mono_chain; std::vector<Composition> re_extension; //...
24.09
67
(translation_unit) "#ifndef GAG_BRANCH_INC\n#define GAG_BRANCH_INC\n\n#include <algorithm>\n#include <GAGPL/GLYCAN/Linkage.h>\n#include <GAGPL/GLYCAN/Monosaccharide.h>\n\nnamespace gag\n{\n class Branch : public Unit\n {\n private:\n size_t branch_id;\n \n std::vector<Monosaccharide> mono_chain;\n std::vecto...
406
20
{"language": "c", "success": true, "metadata": {"lines": 67, "avg_line_length": 24.09, "nodes": 231, "errors": 0, "source_hash": "bb04d00289bc42eee285b8535bfe0c20865ccb6ad08951a6164fc74e26047a43", "categorized_nodes": 155}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
80,556
c
// COPYRIGHT <NAME> 2020 //=================================================================== // // TestMeasurementCmd.h // The state chart based command: TestMeasurementCmd // //=================================================================== // // Usage notes: // //================================================...
37.69
86
(translation_unit) "// COPYRIGHT <NAME> 2020\n//===================================================================\n//\n// TestMeasurementCmd.h\n// The state chart based command: TestMeasurementCmd\n//\n//===================================================================\n//\n// Usage notes:\n//\n//==================...
478
14
{"language": "c", "success": true, "metadata": {"lines": 86, "avg_line_length": 37.69, "nodes": 314, "errors": 0, "source_hash": "7f93a8102332e0affa43a46986b0cb7fc276a66a50039b7757fd9999e1a23672", "categorized_nodes": 225}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
80,557
c
// // NSBaseDateComponent+Private.h // CustomDatePicker // // Created by <NAME> on 7/5/16. // Copyright © 2016 <NAME>. All rights reserved. // #import "NSBaseDateComponent.h" @interface NSBaseDateComponent (Private) @property (nonatomic, strong, readonly) NSDate *minDate; @property (nonatomic, strong, readonly)...
36.76
17
(translation_unit) "//\n// NSBaseDateComponent+Private.h\n// CustomDatePicker\n//\n// Created by <NAME> on 7/5/16.\n// Copyright © 2016 <NAME>. All rights reserved.\n//\n\n\n#import "NSBaseDateComponent.h"\n\n@interface NSBaseDateComponent (Private)\n\n@property (nonatomic, strong, readonly) NSDate *minDate;\n@prop...
154
18
{"language": "c", "success": true, "metadata": {"lines": 17, "avg_line_length": 36.76, "nodes": 88, "errors": 0, "source_hash": "09662445e0dbf2f836c7bed6d3b15c950ea2b0b57bfa9bbc013f01e54388f647", "categorized_nodes": 54}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import \"...
80,558
c
// // NSArray+ZHCMessages.h // ZHChat // // Created by aimoke on 16/8/29. // Copyright © 2016年 zhuo. All rights reserved. // #import <Foundation/Foundation.h> @interface NSArray (ZHCMessages) /** * @return The default Emojis. */ +(NSArray *)zhc_getEmojis; @end
18.14
14
(translation_unit) "//\n// NSArray+ZHCMessages.h\n// ZHChat\n//\n// Created by aimoke on 16/8/29.\n// Copyright © 2016年 zhuo. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n\n@interface NSArray (ZHCMessages)\n\n/**\n * @return The default Emojis.\n */\n+(NSArray *)zhc_getEmojis;\n\n@end\n" (comme...
38
4
{"language": "c", "success": true, "metadata": {"lines": 14, "avg_line_length": 18.14, "nodes": 21, "errors": 0, "source_hash": "8dc93f52875617fc3e0f8039362199284c2ebf2d61d285d1727b227c6e753a15", "categorized_nodes": 10}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "port <Fou...
80,559
c
#ifndef UNTITLED_ITEM_H #define UNTITLED_ITEM_H #include <vector> #include "GameObject.h" #include "Property.h" class Item : public GameObject { public: const std::vector<Property> &getProperties() const; void addProperty(Property aProperty); private: std::vector<Property> properties; }; #endif //UNT...
20.8
15
(translation_unit) "#ifndef UNTITLED_ITEM_H\n#define UNTITLED_ITEM_H\n\n#include <vector>\n#include "GameObject.h"\n#include "Property.h"\n\nclass Item : public GameObject\n{\npublic:\n const std::vector<Property> &getProperties() const;\n\n void addProperty(Property aProperty);\n\nprivate:\n std::vector<Prope...
90
4
{"language": "c", "success": true, "metadata": {"lines": 15, "avg_line_length": 20.8, "nodes": 51, "errors": 0, "source_hash": "b53594221bca9c88732c289bc61b4d1453089639c82262c654aac64c9572d6f3", "categorized_nodes": 37}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef U...
80,560
c
#pragma once namespace RaytracingRenderer { class Camera { private: float3 horizontal; float3 vertical; public: float aspect_ratio = (float)SCRWIDTH / (float)SCRHEIGHT; float fov = 1; //values between 0.0-1.15. 0.45, 0.60, and 1 are standard float3 screen_p0; float3 screen_p1; float3 screen_p2; ...
28.59
41
(translation_unit) "ragma once\n\nnamespace RaytracingRenderer {\n\n class Camera\n {\n private:\n float3 horizontal;\n float3 vertical;\n\n public:\n float aspect_ratio = (float)SCRWIDTH / (float)SCRHEIGHT;\n float fov = 1; //values between 0.0-1.15. 0.45, 0.60, and 1 are standard\n float3 screen_p0;\n float3 sc...
314
2
{"language": "c", "success": true, "metadata": {"lines": 41, "avg_line_length": 28.59, "nodes": 205, "errors": 0, "source_hash": "c5f5e48a13aba5799c115cde69dee7616de67337ed60adfccd6d342fb43416ce", "categorized_nodes": 139}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "ragma o...
80,561
c
#define TEST_NAME "shorthash" #include "cmptest.h" #define MAXLEN 64 int main(void) { unsigned char in[MAXLEN]; unsigned char out[crypto_shorthash_BYTES]; unsigned char k[crypto_shorthash_KEYBYTES]; size_t i; size_t j; for (i = 0; i < crypto_shorthash_KEYBYTES; +...
28.41
34
(translation_unit) "#define TEST_NAME "shorthash" \n#include "cmptest.h" \n \n#define MAXLEN 64 \n \nint \nmain(void) \n{ \n unsigned char in[MAXLEN]; \n unsigned char out[crypto_shorthash_BYTES]; \n unsigned char k[crypto_shorthash_KEYBYTES]; \n size_t i; \n size_t j; \n \n for (i = 0; ...
313
0
{"language": "c", "success": true, "metadata": {"lines": 34, "avg_line_length": 28.41, "nodes": 188, "errors": 0, "source_hash": "6553bdc885b5a112408a9df7fe4f941916ff536d4968819cef1265d5f368e427", "categorized_nodes": 122}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_def", "text": "#define ...
80,562
c
// // YLNewsSDKModeManager.h // YLInfoFlowSDK // // Created by Apple on 2020/6/23. // Copyright © 2020 com.qujie.tech. All rights reserved. // #import <Foundation/Foundation.h> #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @interface YLNewsSDKVideoTabModeManager : NSObject + (instancetype)shareManager; ///是否...
29.16
38
(translation_unit) "//\n// YLNewsSDKModeManager.h\n// YLInfoFlowSDK\n//\n// Created by Apple on 2020/6/23.\n// Copyright © 2020 com.qujie.tech. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n#import <UIKit/UIKit.h>\n\nNS_ASSUME_NONNULL_BEGIN\n\n@interface YLNewsSDKVideoTabModeManager : NSObject\n\n+...
234
25
{"language": "c", "success": true, "metadata": {"lines": 38, "avg_line_length": 29.16, "nodes": 143, "errors": 0, "source_hash": "5cce6aea3b93dddcef442dd6e9c00d4c64cc831d257765a1deceff5b528c0b43", "categorized_nodes": 82}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <...
80,563
c
/****************************************************************************** * xc_pagetab.c * * Function to translate virtual to physical addresses. * * 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...
34.6
103
(translation_unit) "/******************************************************************************\n * xc_pagetab.c\n *\n * Function to translate virtual to physical addresses.\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 * Licen...
755
0
{"language": "c", "success": true, "metadata": {"lines": 103, "avg_line_length": 34.6, "nodes": 476, "errors": 0, "source_hash": "0666258078df8fcce04802af0ef8a0f4f86de0742156f35cf62b906073bc3ce0", "categorized_nodes": 363}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
80,564
c
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. @class MSGraphGroupConversationsCollectionRequest, MSGraphConversationRequestBuilder; #import "MSGraphModels.h" #import "MSCollectionRequestBuilder.h" ...
30.1
21
(translation_unit) "// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. \n \n \n@class MSGraphGroupConversationsCollectionRequest, MSGraphConversationRequestBuilder; \n \n#import "MSGraphModels.h" \n#import "MSCollectio...
78
11
{"language": "c", "success": true, "metadata": {"lines": 21, "avg_line_length": 30.1, "nodes": 52, "errors": 0, "source_hash": "d8bca103d7dbcf0eb2d26e37aad6961e689d1569c1d11c246547e302bd7310e1", "categorized_nodes": 26}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "@", "parent": nul...
80,565
c
#include <stdio.h> int main () { int a,b,c; scanf("%d.%d.%d",&a,&b,&c); printf("%02d-%02d-%04d",c,b,a); return 0; }
14
8
(translation_unit) "#include <stdio.h>\nint main ()\n{\n int a,b,c;\n scanf("%d.%d.%d",&a,&b,&c);\n printf("%02d-%02d-%04d",c,b,a);\n return 0;\n}\n" (preproc_include) "#include <stdio.h>\n" (#include) "#include" (system_lib_string) "<stdio.h>" (function_definition) "int main ()\n{\n int a,b,c;\n scanf("%d....
66
0
{"language": "c", "success": true, "metadata": {"lines": 8, "avg_line_length": 14.0, "nodes": 32, "errors": 0, "source_hash": "58e5a081a8e33d2dff89fbbba7a92a678e02fa27ee015f35dba4a943f6cf8faa", "categorized_nodes": 27}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#include...
80,566
c
// SDLAudioPassThruCapabilities.h // #import "SDLRPCMessage.h" @class SDLAudioType; @class SDLBitsPerSample; @class SDLSamplingRate; /** * Describes different audio type configurations for SDLPerformAudioPassThru, e.g. {8kHz,8-bit,PCM} * <p><b>Parameter List</b> * <table border="1" rules="all"> * <tr> * ...
24.88
68
(translation_unit) "// SDLAudioPassThruCapabilities.h\n//\n\n#import "SDLRPCMessage.h"\n\n@class SDLAudioType;\n@class SDLBitsPerSample;\n@class SDLSamplingRate;\n\n\n/**\n * Describes different audio type configurations for SDLPerformAudioPassThru, e.g. {8kHz,8-bit,PCM}\n * <p><b>Parameter List</b>\n * <table border=...
122
19
{"language": "c", "success": true, "metadata": {"lines": 68, "avg_line_length": 24.88, "nodes": 74, "errors": 0, "source_hash": "d89dc5468840d4ef81d2d494b6d0d309616192b90cd930b00121cfa457dffea0", "categorized_nodes": 43}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import \...
80,567
c
// SPDX-License-Identifier: BSD-2-Clause /* Copyright 2017-2018 <NAME> Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and...
36.19
142
(translation_unit) "// SPDX-License-Identifier: BSD-2-Clause\n/*\nCopyright 2017-2018 <NAME>\n\nRedistribution and use in source and binary forms, with or without modification, are\npermitted provided that the following conditions are met:\n\n1. Redistributions of source code must retain the above copyright notice, thi...
1,096
3
{"language": "c", "success": true, "metadata": {"lines": 142, "avg_line_length": 36.19, "nodes": 651, "errors": 0, "source_hash": "b4ce4a9bf794c5d343f934e4c1da6d9f73e6fe17f1145216db6b87ab3661d08b", "categorized_nodes": 493}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
80,568
c
#include "stm32f10x.h" #include "stdio.h" #include "uart.h" #include "delay.h" #include "picc.h" uint8_t pKey[6] = {0xff, 0xff, 0xff, 0xff, 0xff, 0xff}; int main() { uint8_t pSnr[4] = {0,0,0,0}; uint8_t pOldSnr[4] = {0,0,0,0}; uint8_t pData[16]; uint8_t i,j, count=0; uartInit(); PCD_Init(); PCD_ConfigIsoTyp...
20.93
45
(translation_unit) "#include "stm32f10x.h"\n#include "stdio.h"\n#include "uart.h"\n#include "delay.h"\n#include "picc.h"\n\nuint8_t pKey[6] = {0xff, 0xff, 0xff, 0xff, 0xff, 0xff};\n\n\nint main()\n{\n uint8_t pSnr[4] = {0,0,0,0};\n uint8_t pOldSnr[4] = {0,0,0,0};\n uint8_t pData[16];\n uint8_t i,j, count=0;\n \n uartIn...
437
0
{"language": "c", "success": true, "metadata": {"lines": 45, "avg_line_length": 20.93, "nodes": 235, "errors": 0, "source_hash": "9fdd95d7da0e50b6eabe57f398095392d818aa4a8b9ea5119ddb10787bbc8adb", "categorized_nodes": 172}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
80,569
c
#include "SDL.h" class checkCollision{ public: bool checkCol(SDL_Rect &A, SDL_Rect &B); };
17.4
5
(translation_unit) "#include "SDL.h"\n\nclass checkCollision{\n\npublic:\n bool checkCol(SDL_Rect &A, SDL_Rect &B);\n\n};" (preproc_include) "#include "SDL.h"\n" (#include) "#include" (string_literal) ""SDL.h"" (") """ (string_content) "SDL.h" (") """ (function_definition) "class checkColl...
37
2
{"language": "c", "success": true, "metadata": {"lines": 5, "avg_line_length": 17.4, "nodes": 17, "errors": 0, "source_hash": "51298f559ced4bec22ce6b48bda0b3bb5ac65ebf6ebdd5d476e1faaeb2127186", "categorized_nodes": 14}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#include...
80,570
c
/* * (C) <NAME> 2006 */ #include <linux/init.h> #include <linux/kernel.h> #include <linux/console.h> #include <linux/serial_reg.h> #include <asm/addrspace.h> #include <asm/mach-cobalt/cobalt.h> void prom_putchar(char c) { while(!(COBALT_UART[UART_LSR] & UART_LSR_THRE)) ; COBALT_UART[UART_TX] = c; }
19.4
15
(translation_unit) "/*\n * (C) <NAME> 2006\n */\n\n#include <linux/init.h>\n#include <linux/kernel.h>\n#include <linux/console.h>\n#include <linux/serial_reg.h>\n#include <asm/addrspace.h>\n#include <asm/mach-cobalt/cobalt.h>\n\nvoid prom_putchar(char c)\n{\n while(!(COBALT_UART[UART_LSR] & UART_LSR_THRE))\n ;\n\n COB...
63
0
{"language": "c", "success": true, "metadata": {"lines": 15, "avg_line_length": 19.4, "nodes": 42, "errors": 0, "source_hash": "b34b7f7fc807aafaabf8a50f4e131d18ac19a7ad6e64505d4400cf928c3e8463", "categorized_nodes": 37}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#includ...
80,571
c
/** * \file msg.h * * \brief LoRaWAN application messaging support interfaces * * * Copyright (c) 2020 Microchip Technology Inc. and its subsidiaries. * * \asf_license_start * * \page License * * Subject to your compliance with these terms, you may use Microchip * software and any derivatives exclusively with Microchi...
33.29
197
(translation_unit) "/**\n* \file msg.h\n*\n* \brief LoRaWAN application messaging support interfaces\n*\n*\n* Copyright (c) 2020 Microchip Technology Inc. and its subsidiaries.\n*\n* \asf_license_start\n*\n* \page License\n*\n* Subject to your compliance with these terms, you may use Microchip\n* software and any deri...
341
0
{"language": "c", "success": true, "metadata": {"lines": 197, "avg_line_length": 33.29, "nodes": 220, "errors": 0, "source_hash": "9705052bf8abda760b282caad96e8650f2dca2ca2a683b7e879513ac408a6f5d", "categorized_nodes": 145}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
80,572
c
#include <stdio.h> #include <stdbool.h> #include <stdlib.h> #include <string.h> bool isAWhitespace(char c){ return c == ' ' || c == '\t' || c == '\n'; } bool isCapital(char c){ if(c >= 'A' && c <= 'Z') return true; return false; } int getNextNonWhitespace(char *str, int index){ int i...
18.83
222
(translation_unit) "#include <stdio.h> \n#include <stdbool.h> \n#include <stdlib.h> \n#include <string.h> \n \nbool isAWhitespace(char c){ \n return c == ' ' || c == '\t' || c == '\n'; \n} \n \nbool isCapital(char c){ \n if(c >= 'A' && c <= 'Z') return true; \n return false; \n} \n \nint getNextNonWhitespace(c...
1,636
0
{"language": "c", "success": true, "metadata": {"lines": 222, "avg_line_length": 18.83, "nodes": 1037, "errors": 0, "source_hash": "6322709a609cfd9e0613bdd448d363f411c654dfa45f8043e93bd919624a4965", "categorized_nodes": 639}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#i...
80,573
c
#include <wchar.h> wchar_t* wcpcpy(wchar_t* restrict d, const wchar_t* restrict s) { return wcscpy(d, s) + wcslen(s); }
59
2
(translation_unit) "#include <wchar.h>\n\nwchar_t* wcpcpy(wchar_t* restrict d, const wchar_t* restrict s) { return wcscpy(d, s) + wcslen(s); }\n" (preproc_include) "#include <wchar.h>\n" (#include) "#include" (system_lib_string) "<wchar.h>" (function_definition) "wchar_t* wcpcpy(wchar_t* restrict d, const w...
52
0
{"language": "c", "success": true, "metadata": {"lines": 2, "avg_line_length": 59.0, "nodes": 36, "errors": 0, "source_hash": "ed91e2887e873692714d82bd00f7c9f432499fd7b3338f0f595efb76551718c8", "categorized_nodes": 24}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#include...
80,574
c
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. #include <Foundation/Foundation.h> typedef NS_ENUM(NSInteger, MSGraphScheduleChangeStateValue){ MSGraphScheduleChangeStatePending = 0, MSGraphScheduleChangeStat...
43.25
24
(translation_unit) "// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.\n\n\n\n#include <Foundation/Foundation.h>\n\ntypedef NS_ENUM(NSInteger, MSGraphScheduleChangeStateValue){\n\n MSGraphScheduleChangeStatePending = 0...
184
14
{"language": "c", "success": true, "metadata": {"lines": 24, "avg_line_length": 43.25, "nodes": 125, "errors": 0, "source_hash": "c71024321570a0d0859039c3e4ae55808f7730d9ba80e3f9f3cee25af0db3e43", "categorized_nodes": 71}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
80,575
c
// // WPAction.h // WonderPush // // Created by <NAME> on 19/02/2020. // Copyright © 2020 WonderPush. All rights reserved. // #import <Foundation/Foundation.h> NS_ASSUME_NONNULL_BEGIN /** Defines the metadata for a IAM action. */ NS_SWIFT_NAME(Action) @interface WPAction : NSObject /** * The URL to follow if ...
22.29
21
(translation_unit) "//\n// WPAction.h\n// WonderPush\n//\n// Created by <NAME> on 19/02/2020.\n// Copyright © 2020 WonderPush. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n\nNS_ASSUME_NONNULL_BEGIN\n\n/** Defines the metadata for a IAM action.\n */\nNS_SWIFT_NAME(Action)\n@interface WPAction : NSO...
66
9
{"language": "c", "success": true, "metadata": {"lines": 21, "avg_line_length": 22.29, "nodes": 42, "errors": 0, "source_hash": "6d7c48952eb5143f5ce32e2e7e7d3b4668d4c39b2156d4c931891334e543c9ba", "categorized_nodes": 27}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <F...
80,576
c
//------------------------------------------------------------------------------ // <copyright file="Camera.h" company="Microsoft"> // Copyright (c) Microsoft Corporation. All rights reserved. // </copyright> //------------------------------------------------------------------------------ #pragma once #include ...
30.17
60
(translation_unit) "------------------------------------------------------------------------------\n// <copyright file="Camera.h" company="Microsoft">\n// Copyright (c) Microsoft Corporation. All rights reserved.\n// </copyright>\n//------------------------------------------------------------------------------\n\n...
194
0
{"language": "c", "success": true, "metadata": {"lines": 60, "avg_line_length": 30.17, "nodes": 97, "errors": 0, "source_hash": "21592431767568d68e17f7a518c43a2687b470f0d766390e2c07be393713b184", "categorized_nodes": 86}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "ragma onc...
80,577
c
#include <stdlib.h> #include "esp32_spi_io.h" #include "gpiohs.h" #include "sleep.h" #include "sysctl.h" #include <utils.h> #include "spi.h" #include "esp32_spi.h" #if 1 /* ESP32_SOFT_SPI */ #define GPIOHS_OUT_HIGH(io) (*(volatile uint32_t *)0x3800100CU) |= (1 << (io)) #define GPIOHS_OUT_LOWX(io) (*(volatile uint32_...
25.95
275
(translation_unit) "#include <stdlib.h>\n#include "esp32_spi_io.h"\n#include "gpiohs.h"\n#include "sleep.h"\n#include "sysctl.h"\n\n#include <utils.h>\n#include "spi.h"\n#include "esp32_spi.h"\n\n#if 1 /* ESP32_SOFT_SPI */\n\n#define GPIOHS_OUT_HIGH(io) (*(volatile uint32_t *)0x3800100CU) |= (1 << (io))\n#define GPIOHS...
2,055
0
{"language": "c", "success": true, "metadata": {"lines": 275, "avg_line_length": 25.95, "nodes": 1210, "errors": 0, "source_hash": "7af3f8d234a6ebaae40e1586e4ebd9938b67137fe0b163b63aede767e3f07cab", "categorized_nodes": 820}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#i...
80,578
c
/* * * (c) 2020 iomonad <<EMAIL>> * * This is part of the KFS Project * See: https://github.com/iomonad/KFS * */ #ifndef MEMORY_H #define MEMORY_H #include <types.h> typedef uint32_t kheap_t; /* Assembly Ref */ extern void *stack_bottom; extern void *stack_top; /* PROTOTYPES */ void __attribute__ ((cold)) in...
19.15
20
(translation_unit) "/*\n *\n * (c) 2020 iomonad <<EMAIL>>\n *\n * This is part of the KFS Project\n * See: https://github.com/iomonad/KFS\n *\n */\n#ifndef MEMORY_H\n#define MEMORY_H\n\n#include <types.h>\n\ntypedef uint32_t kheap_t;\n\n/* Assembly Ref */\nextern void *stack_bottom;\nextern void *stack_top;\n\n/* PROTO...
68
0
{"language": "c", "success": true, "metadata": {"lines": 20, "avg_line_length": 19.15, "nodes": 49, "errors": 0, "source_hash": "855f3d0759f0dd1198d70c5b92f9bcd053eddf10317313308774ebe75c64c854", "categorized_nodes": 27}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
80,579
c
#include <stdio.h> #include <stdlib.h> #define SIZE 32768 char buf[SIZE]; int main(){ FILE *f = fopen("f.txt","rb"); fseek(f,0,SEEK_END); int s = ftell(f); rewind(f); for(int i=0; i<s; i+=SIZE){ if(s-i <= SIZE) fread(buf,1,s-i,f); else fread(buf,1,SIZE,f); } fclose(f); }
17
17
(translation_unit) "#include <stdio.h>\n#include <stdlib.h>\n\n#define SIZE 32768\n\nchar buf[SIZE];\n\nint main(){\n\n FILE *f = fopen("f.txt","rb");\n fseek(f,0,SEEK_END);\n int s = ftell(f);\n rewind(f);\n\n for(int i=0; i<s; i+=SIZE){\n if(s-i <= SIZE)\n fread(buf,1,s-i,f);\n else\n fread(buf,1...
159
0
{"language": "c", "success": true, "metadata": {"lines": 17, "avg_line_length": 17.0, "nodes": 97, "errors": 0, "source_hash": "d0f97a28af9dcc7e691f280f635729fb5bf2b1ab900cfb070ed71e3a18d3b7b1", "categorized_nodes": 67}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#includ...
80,580
c
#ifndef AV_SPEECH_IN_NOISE_MACOS_APPKIT_UTILITY_H_ #define AV_SPEECH_IN_NOISE_MACOS_APPKIT_UTILITY_H_ #import <AppKit/AppKit.h> #include <string> @interface ResizesToContentsViewController : NSTabViewController @end namespace av_speech_in_noise { auto nsTabViewControllerWithoutTabControl() -> NSTabViewController *;...
37.54
13
(translation_unit) "#ifndef AV_SPEECH_IN_NOISE_MACOS_APPKIT_UTILITY_H_\n#define AV_SPEECH_IN_NOISE_MACOS_APPKIT_UTILITY_H_\n\n#import <AppKit/AppKit.h>\n\n#include <string>\n\n@interface ResizesToContentsViewController : NSTabViewController\n@end\n\nnamespace av_speech_in_noise {\nauto nsTabViewControllerWithoutTabCont...
102
7
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 37.54, "nodes": 73, "errors": 0, "source_hash": "714b06497871302704684dba9e1edb5e60e5e5c8f3fb7144cf5831f3efa65ba7", "categorized_nodes": 39}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
80,581
c
#include "config.h" #include "ui.h" static Config watch_config; void config_init() { watch_config.lowbat = false; watch_config.btdisco = false; } bool get_lowbat_notification() { return watch_config.lowbat; } bool get_btdisco_notification() { return watch_config.btdisco; } void set_lowbat_notification(bool...
24
30
(translation_unit) "#include "config.h"\n#include "ui.h"\n\nstatic Config watch_config;\n\nvoid config_init() {\n watch_config.lowbat = false;\n watch_config.btdisco = false;\n}\n\nbool get_lowbat_notification() {\n return watch_config.lowbat;\n}\n\nbool get_btdisco_notification() {\n return watch_config.btdisco;\n...
191
0
{"language": "c", "success": true, "metadata": {"lines": 30, "avg_line_length": 24.0, "nodes": 98, "errors": 0, "source_hash": "65ffda09dd33478f6978bad9f1d13414472e042bf7da449d19f8e1fbb3d18195", "categorized_nodes": 72}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#includ...
80,582
c
#pragma once #include "IStorageBackend.h" #include "IAsyncStorageBackend.h" #include "DatabaseSet.h" #include "ExistenceIndex.h" #include "AsyncStorageTypes.h" #include "VFSQueueTypes.h" #include "MovingAverage.h" #include "PushReplicationService.h" #include <boost/filesystem.hpp> #include <boost/thread.hpp> #include...
40.51
92
(translation_unit) "#pragma once\n\n#include "IStorageBackend.h"\n#include "IAsyncStorageBackend.h"\n#include "DatabaseSet.h"\n#include "ExistenceIndex.h"\n#include "AsyncStorageTypes.h"\n#include "VFSQueueTypes.h"\n#include "MovingAverage.h"\n#include "PushReplicationService.h"\n\n#include <boost/filesystem.hpp>\n#inc...
975
79
{"language": "c", "success": true, "metadata": {"lines": 92, "avg_line_length": 40.51, "nodes": 576, "errors": 0, "source_hash": "65c3b61d3fd80fa8aa5c1d35d140ae38399bd56feb96acbfabded9a58dd966b7", "categorized_nodes": 420}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
80,583
c
/* This file is part of Lwt, released under the MIT license. See LICENSE.md for details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */ #include "lwt_config.h" #if !defined(LWT_ON_WINDOWS) #include <caml/memory.h> #include <caml/mlvalues.h> #include <caml/unixsupport.h> #include <errno.h> #i...
37.35
72
(translation_unit) "/* This file is part of Lwt, released under the MIT license. See LICENSE.md for\n details, or visit https://github.com/ocsigen/lwt/blob/master/LICENSE.md. */\n\n\n\n#include "lwt_config.h"\n\n#if !defined(LWT_ON_WINDOWS)\n\n#include <caml/memory.h>\n#include <caml/mlvalues.h>\n#include <caml/unixs...
537
1
{"language": "c", "success": true, "metadata": {"lines": 72, "avg_line_length": 37.35, "nodes": 334, "errors": 0, "source_hash": "731fa3785d2b933e08887374d91e8bfea116ce9e586323ac487a8b7de13b650f", "categorized_nodes": 264}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
80,584
c
#include <stdint.h> #define LED_REGISTERS_MEMORY_ADD 0x10000000 #define IRQ_REGISTERS_MEMORY_ADD 0x10000004 #define LOOP_WAIT_LIMIT 100 uint32_t global_counter = 0; static void putuint(uint32_t i) { *((volatile uint32_t *)LED_REGISTERS_MEMORY_ADD) = i; } static void putuint2(uint32_t i) { *((volatile uint32_t *...
21.06
31
(translation_unit) "#include <stdint.h>\n\n#define LED_REGISTERS_MEMORY_ADD 0x10000000\n#define IRQ_REGISTERS_MEMORY_ADD 0x10000004\n\n\n#define LOOP_WAIT_LIMIT 100\n\nuint32_t global_counter = 0;\n\nstatic void putuint(uint32_t i) {\n *((volatile uint32_t *)LED_REGISTERS_MEMORY_ADD) = i;\n}\n\nstatic void putuint2(uin...
201
0
{"language": "c", "success": true, "metadata": {"lines": 31, "avg_line_length": 21.06, "nodes": 130, "errors": 0, "source_hash": "8ff37d55e52bd8d7f9c8562117ee019eebdbdd233c1378d42020722b3e6c6aed", "categorized_nodes": 75}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
80,585
c
// // TextFieldsCodeObjCViewController.h // AndesUI-demoapp // // Created by <NAME> on 07/10/2020. // Copyright © 2020 MercadoLibre. All rights reserved. // #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @interface TextFieldsCodeObjCViewController : UIViewController @end NS_ASSUME_NONNULL_END
23.92
12
(translation_unit) "//\n// TextFieldsCodeObjCViewController.h\n// AndesUI-demoapp\n//\n// Created by <NAME> on 07/10/2020.\n// Copyright © 2020 MercadoLibre. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\nNS_ASSUME_NONNULL_BEGIN\n\n@interface TextFieldsCodeObjCViewController : UIViewController\n\n@end\n\nNS...
27
4
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 23.92, "nodes": 14, "errors": 0, "source_hash": "5119e369cc43c262654aa2febad517676a407067ca31aeb47b0d6ca5a74713d0", "categorized_nodes": 9}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <UI...
80,586
c
// // ofxLaserRenderProfile.hpp // ofxLaser // // Created by <NAME> on 13/11/2017. // // #pragma once #include "ofMain.h" namespace ofxLaser { class RenderProfile { public : RenderProfile(string _label = "") { //ofLogNotice("RenderProfile default constructor called "+_label); init(_label); ...
20.83
48
(translation_unit) "//\n// ofxLaserRenderProfile.hpp\n// ofxLaser\n//\n// Created by <NAME> on 13/11/2017.\n//\n//\n#pragma once\n#include "ofMain.h"\n\nnamespace ofxLaser {\n\n class RenderProfile {\n public :\n RenderProfile(string _label = "") {\n \n //ofLogNotice("RenderProfile default constructor called "...
299
2
{"language": "c", "success": true, "metadata": {"lines": 48, "avg_line_length": 20.83, "nodes": 166, "errors": 0, "source_hash": "cdf092bf95c36793ad940585476c2ada43cd97c04e8b0dcf383656d8c513e204", "categorized_nodes": 129}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
80,587
c
// Copyright 2016-present 650 Industries. All rights reserved. #import <EXGL_CPP/UEXGL.h> #import <ABI39_0_0EXGL/ABI39_0_0EXGLContext.h> #import <ABI39_0_0UMCore/ABI39_0_0UMModuleRegistry.h> NS_ASSUME_NONNULL_BEGIN @interface ABI39_0_0EXGLView : UIView <ABI39_0_0EXGLContextDelegate> - (instancetype)initWithModuleRe...
43.22
18
(translation_unit) "// Copyright 2016-present 650 Industries. All rights reserved.\n\n#import <EXGL_CPP/UEXGL.h>\n#import <ABI39_0_0EXGL/ABI39_0_0EXGLContext.h>\n#import <ABI39_0_0UMCore/ABI39_0_0UMModuleRegistry.h>\n\nNS_ASSUME_NONNULL_BEGIN\n\n@interface ABI39_0_0EXGLView : UIView <ABI39_0_0EXGLContextDelegate>\n\n- ...
164
14
{"language": "c", "success": true, "metadata": {"lines": 18, "avg_line_length": 43.22, "nodes": 108, "errors": 0, "source_hash": "6af45983f32627d459dfdc9f8472af716ad502a2f52d8ba2eed80960c867260b", "categorized_nodes": 62}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import ...
80,588
c
#pragma once #include "compiler/compiler_warnings_control.h" DISABLE_COMPILER_WARNINGS #include <QObject> RESTORE_COMPILER_WARNINGS class CController; class CAndroidNativeHelper : public QObject { Q_OBJECT public: explicit CAndroidNativeHelper(CController& controller); ~CAndroidNativeHelper(); ...
16.89
27
(translation_unit) "#pragma once \n \n#include "compiler/compiler_warnings_control.h" \n \nDISABLE_COMPILER_WARNINGS \n#include <QObject> \nRESTORE_COMPILER_WARNINGS \n \nclass CController; \n \nclass CAndroidNativeHelper : public QObject \n{ \n Q_OBJECT \n \npublic: \n explicit CAndroidNativeHelper(CController& contro...
99
4
{"language": "c", "success": true, "metadata": {"lines": 27, "avg_line_length": 16.89, "nodes": 53, "errors": 0, "source_hash": "6118f31fb3a7a78b1a818f3a0e990cd1319e5e44f6c08662da4dec471a64f999", "categorized_nodes": 39}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
80,589
c
/******************************************************************** created: 2010/05/07 filename: IGraphicsSpaceCoordinator.h author: Crazii purpose: *********************************************************************/ #ifndef __Blade_ISpaceCoordinator_h__ #define __Blade_ISpaceCoordinator_h__ #include <inte...
25.59
95
(translation_unit) "/********************************************************************\n created: 2010/05/07\n filename: IGraphicsSpaceCoordinator.h\n author: Crazii\n purpose: \n*********************************************************************/\n#ifndef __Blade_ISpaceCoordinator_h__\n#define __Blade_ISpaceCoo...
358
25
{"language": "c", "success": true, "metadata": {"lines": 95, "avg_line_length": 25.59, "nodes": 229, "errors": 0, "source_hash": "aaae73c2694305260cb4984ec0621c9658c9f9cf6b3526aeff7027b3996ffc38", "categorized_nodes": 153}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
80,590
c
/* $NetBSD: machConst.h,v 1.4 1997/06/22 04:09:06 jonathan Exp $ */ #include <mips/cpuregs.h>
30.67
3
(translation_unit) "/* $NetBSD: machConst.h,v 1.4 1997/06/22 04:09:06 jonathan Exp $ */\n\n\n#include <mips/cpuregs.h>\n" (comment) "/* $NetBSD: machConst.h,v 1.4 1997/06/22 04:09:06 jonathan Exp $ */" (preproc_include) "#include <mips/cpuregs.h>\n" (#include) "#include" (system_lib_string) "<mips/cpuregs.h...
5
0
{"language": "c", "success": true, "metadata": {"lines": 3, "avg_line_length": 30.67, "nodes": 3, "errors": 0, "source_hash": "a2ed058c1a855d1454c896b0245d1f928a479bf7816f8546d23ddda1b22d32f6", "categorized_nodes": 3}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#include ...
80,591
c
#include "lib/stubs/externals/externals_stub.h" #include <stdbool.h> #include <unistd.h> #include <klee/klee.h> static bool pipe_created = false; int pipe(int pipefd[2]) { // http://man7.org/linux/man-pages/man2/pipe.2.html klee_assert(!pipe_created); pipe_created = true; // "The array pipefd is used to retu...
27.92
26
(translation_unit) "#include "lib/stubs/externals/externals_stub.h"\n\n#include <stdbool.h>\n#include <unistd.h>\n\n#include <klee/klee.h>\n\n\nstatic bool pipe_created = false;\n\nint\npipe(int pipefd[2])\n{\n // http://man7.org/linux/man-pages/man2/pipe.2.html\n\n klee_assert(!pipe_created);\n pipe_created = true;\n\...
109
0
{"language": "c", "success": true, "metadata": {"lines": 26, "avg_line_length": 27.92, "nodes": 65, "errors": 0, "source_hash": "f0fffca7c9e17f4880ec0ca1cd797cb4e5b6cc1e0edd5332347d7a52306ac4fd", "categorized_nodes": 45}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
80,592
c
// This is a personal academic project. Dear PVS-Studio, please check it. // PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com // This is a personal academic project. Dear PVS-Studio, please check it. // PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com #include "include/te...
33.02
49
(translation_unit) "// This is a personal academic project. Dear PVS-Studio, please check it.\n// PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com\n// This is a personal academic project. Dear PVS-Studio, please check it.\n// PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.c...
441
0
{"language": "c", "success": true, "metadata": {"lines": 49, "avg_line_length": 33.02, "nodes": 263, "errors": 0, "source_hash": "e9fe35159abd51b0e63103e69c83a16a28c18bc8063539b92409be674ca438f6", "categorized_nodes": 197}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
80,593
c
/* * This file and its contents are supplied under the terms of the * Common Development and Distribution License ("CDDL"), version 1.0. * You may only use this file in accordance with the terms of version * 1.0 of the CDDL. * * A full copy of the text of the CDDL should have accompanied this * source. A copy o...
26.71
66
(translation_unit) "/*\n * This file and its contents are supplied under the terms of the\n * Common Development and Distribution License ("CDDL"), version 1.0.\n * You may only use this file in accordance with the terms of version\n * 1.0 of the CDDL.\n *\n * A full copy of the text of the CDDL should have accompanied...
388
0
{"language": "c", "success": true, "metadata": {"lines": 66, "avg_line_length": 26.71, "nodes": 199, "errors": 0, "source_hash": "2bc1be5dae4f09e04248afac58dd2c38c18664803648a0a9a83a94964f30b5bb", "categorized_nodes": 165}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
80,594
c
/****************************************************************************** * Copyright (C) 2002 - 2021 Xilinx, Inc. All rights reserved. * SPDX-License-Identifier: MIT ******************************************************************************/ /****************************************************************...
32.44
54
(translation_unit) "/******************************************************************************\n* Copyright (C) 2002 - 2021 Xilinx, Inc. All rights reserved.\n* SPDX-License-Identifier: MIT\n******************************************************************************/\n\n/***************************************...
51
2
{"language": "c", "success": true, "metadata": {"lines": 54, "avg_line_length": 32.44, "nodes": 23, "errors": 0, "source_hash": "895b2e8ac806597c0d28ebfb0fddb714fa030f008cfc5ed909951e5bc71cb2d7", "categorized_nodes": 16}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
80,595
c
#include <containers/containers.h> #include <mutex> namespace lambda { namespace foundation { class FrameHeap { public: friend FrameHeap* GetFrameHeap(); static constexpr uint32_t kHeapCount = 5u; static constexpr uint32_t kHistoryCount = 10u; FrameHeap(); ~Fr...
23.81
59
(translation_unit) "#include <containers/containers.h> \n#include <mutex> \n \nnamespace lambda \n{ \n namespace foundation \n { \n class FrameHeap \n { \n public: \n friend FrameHeap* GetFrameHeap(); \n static constexpr uint32_t kHeapCount = 5u; \n static constexpr uint32_t kHistoryCount =...
426
14
{"language": "c", "success": true, "metadata": {"lines": 59, "avg_line_length": 23.81, "nodes": 281, "errors": 0, "source_hash": "df535b26edc87a79a7eba9325c5ca1f2d5d67b085c4bdb883fcf5d1078ecc967", "categorized_nodes": 173}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
80,596
c
// Copyright (C) 2019 <NAME> <<EMAIL>> #ifndef LINALG_IO_H #define LINALG_IO_H #include <stdio.h> #include "datatypes/vector.h" #include "linalg/linalg.h" // Uses the format string to scan for a 2d or 3d vector to add to the // (resizable) array. bool v2_sscanf(char *buf, const char *fmt, vector *a); bool v3_sscanf(...
34.67
15
(translation_unit) "// Copyright (C) 2019 <NAME> <<EMAIL>>\n#ifndef LINALG_IO_H\n#define LINALG_IO_H\n\n#include <stdio.h>\n\n#include "datatypes/vector.h"\n#include "linalg/linalg.h"\n\n// Uses the format string to scan for a 2d or 3d vector to add to the\n// (resizable) array.\nbool v2_sscanf(char *buf, const char *f...
132
0
{"language": "c", "success": true, "metadata": {"lines": 15, "avg_line_length": 34.67, "nodes": 97, "errors": 0, "source_hash": "6f647be633a6e8a6fbecf23fcb4fb35f343b7c6065af04d7134c72e3e5262ff4", "categorized_nodes": 57}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
80,597
c
/*********************************************************** Copyright (c) 1987 X Consortium Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the...
34.47
111
(translation_unit) "/***********************************************************\n\nCopyright (c) 1987 X Consortium\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the "Software"), to deal\nin the Software without restriction, includ...
413
0
{"language": "c", "success": true, "metadata": {"lines": 111, "avg_line_length": 34.47, "nodes": 247, "errors": 0, "source_hash": "c437ad1b5dfc629a309bc1d8e837f1e2bdefb10cde9e09e9c0779ebdb5a4655c", "categorized_nodes": 199}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
80,598
c
/* * cidr_get - Get and return various semi-raw bits of info */ #include <errno.h> #include <stdlib.h> #include <string.h> #include <libcidr.h> /* Get the prefix length */ int cidr_get_pflen(const CIDR *block) { int i, j; int foundnmh; int pflen; if(block==NULL) { errno = EFAULT; return(-1); } /* Whe...
14.88
114
(translation_unit) "/*\n * cidr_get - Get and return various semi-raw bits of info\n */\n\n#include <errno.h>\n#include <stdlib.h>\n#include <string.h>\n\n#include <libcidr.h>\n\n\n/* Get the prefix length */\nint\ncidr_get_pflen(const CIDR *block)\n{\n int i, j;\n int foundnmh;\n int pflen;\n\n if(block==NULL)\n {\n ...
571
0
{"language": "c", "success": true, "metadata": {"lines": 114, "avg_line_length": 14.88, "nodes": 322, "errors": 0, "source_hash": "35e9fd9dccfc440350aa5be6e07bbad26e660b0289bfe9fa7b14ecb608e94d29", "categorized_nodes": 229}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
80,599