language
stringclasses
1 value
code
stringlengths
6
12.3k
avg_line_length
float64
2.79
91
line_count
float64
1
367
lang_specific_parse
stringlengths
60
1.08M
ast_node_count
int64
2
6.81k
num_errors
int64
0
499
universal_schema
stringlengths
799
825k
__index_level_0__
int64
0
81.2k
c
#include <stdio.h> #include <cs50.h> int main(void) { //declaring an array of chars as a pointer and giving it a value. char *array = "Fabian"; //printing the whole array printf("Your name is: %s\n", array); //prints the first char of the array //"*" is dereferencing the pointer and gives bac...
38.07
14
(translation_unit) "#include <stdio.h>\n#include <cs50.h>\n\nint main(void)\n{\n //declaring an array of chars as a pointer and giving it a value.\n char *array = "Fabian";\n\n //printing the whole array\n printf("Your name is: %s\n", array);\n\n //prints the first char of the array\n //"*" is derefer...
88
0
{"language": "c", "success": true, "metadata": {"lines": 14, "avg_line_length": 38.07, "nodes": 47, "errors": 0, "source_hash": "def97be7a586409a94137d244606c383b413d314437e48d91bf1323cc18e5245", "categorized_nodes": 30}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
8,900
c
/* * Copyright 2019, Data61 * Commonwealth Scientific and Industrial Research Organisation (CSIRO) * ABN 41 687 119 230. * * This software may be distributed and modified according to the terms of * the BSD 2-Clause license. Note that NO WARRANTY is provided. * See "LICENSE_BSD2.txt" for details. * * @TAG(DATA...
34.08
172
(translation_unit) "/*\n * Copyright 2019, Data61\n * Commonwealth Scientific and Industrial Research Organisation (CSIRO)\n * ABN 41 687 119 230.\n *\n * This software may be distributed and modified according to the terms of\n * the BSD 2-Clause license. Note that NO WARRANTY is provided.\n * See "LICENSE_BSD2.txt" f...
1,497
0
{"language": "c", "success": true, "metadata": {"lines": 172, "avg_line_length": 34.08, "nodes": 991, "errors": 0, "source_hash": "d681eceb4317e0b4ba81df9efd24ec21393a37d8ccbf5b0b08e1ebc3f5d47c6d", "categorized_nodes": 642}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
8,901
c
#include <avr/io.h> #include <util/delay.h> #include <avr/interrupt.h> unsigned char num = 0; char LED[10]; void numDisplay(char num){ PORTB &= 0b11110000; PORTB |= (num >> 3); PORTD &= 0b00001111; PORTD |= (num << 5); } int main(void){ DDRB |= (1 << PB3); /* Set PB3 for output */ DDRB |= (1 << PB2); /* Set PB...
20.85
52
(translation_unit) "#include <avr/io.h>\n#include <util/delay.h>\n#include <avr/interrupt.h>\n\nunsigned char num = 0;\nchar LED[10];\n\nvoid numDisplay(char num){\n PORTB &= 0b11110000;\n PORTB |= (num >> 3);\n PORTD &= 0b00001111;\n PORTD |= (num << 5);\n}\n\nint main(void){\n DDRB |= (1 << PB3); /* Set PB3 for outpu...
443
0
{"language": "c", "success": true, "metadata": {"lines": 52, "avg_line_length": 20.85, "nodes": 281, "errors": 0, "source_hash": "d662ba88b5940822da8e4b3f2fe590a6f1b3ded99633b476924ba758fe6d4369", "categorized_nodes": 215}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
8,902
c
/* SPDX-License-Identifier: ISC */ #include <stdlib.h> #include "service.h" void delsvc(service_t *svc) { exec_t *e; if (svc == NULL) return; while (svc->exec != NULL) { e = svc->exec; svc->exec = e->next; free(e); } free(svc->before); free(svc->after); free(svc->fname); free(svc->desc); free(svc...
15.9
21
(translation_unit) "/* SPDX-License-Identifier: ISC */\n#include <stdlib.h>\n\n#include "service.h"\n\nvoid delsvc(service_t *svc)\n{\n exec_t *e;\n\n if (svc == NULL)\n return;\n\n while (svc->exec != NULL) {\n e = svc->exec;\n svc->exec = e->next;\n\n free(e);\n }\n\n free(svc->before);\n free(svc->after);\n free...
164
0
{"language": "c", "success": true, "metadata": {"lines": 21, "avg_line_length": 15.9, "nodes": 96, "errors": 0, "source_hash": "8f37f09b5071428fc6cef91e647d88683d9f918f8cdb041f745757008632cdec", "categorized_nodes": 74}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#includ...
8,903
c
#ifndef FRSRANKINGDATA_H_ #define FRSRANKINGDATA_H_ namespace server { namespace zone { namespace managers { namespace frs { class FrsRankingData : public Object { protected: int rank, requiredXp, playerCap; String skillName, robeTemplate; public: FrsRankingData(int frsRank, String skill, int reqExp, int cap, St...
18.56
41
(translation_unit) "#ifndef FRSRANKINGDATA_H_\n#define FRSRANKINGDATA_H_\n\nnamespace server {\nnamespace zone {\nnamespace managers {\nnamespace frs {\n\nclass FrsRankingData : public Object {\n\nprotected:\n int rank, requiredXp, playerCap;\n String skillName, robeTemplate;\n\npublic:\n FrsRankingData(int frsRank, St...
228
13
{"language": "c", "success": true, "metadata": {"lines": 41, "avg_line_length": 18.56, "nodes": 115, "errors": 0, "source_hash": "15c10576e0d4bf9fa20dc382b45fc3d903668aef99acda55c0af8292ad9e10dc", "categorized_nodes": 81}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
8,904
c
#include <stdio.h> #include <string.h> #include <stdlib.h> #include <ctype.h> #include <errno.h> #include <unistd.h> #include <dirent.h> #include <sys/mount.h> #include <sys/types.h> #include <linux/limits.h> #include "config.h" #ifdef DEBUG # define D(...) printf(__VA_ARGS__) #else # define D(...) ((...
27.13
202
(translation_unit) "#include <stdio.h>\n#include <string.h>\n#include <stdlib.h>\n#include <ctype.h>\n#include <errno.h>\n#include <unistd.h>\n#include <dirent.h>\n#include <sys/mount.h>\n#include <sys/types.h>\n#include <linux/limits.h>\n\n#include "config.h"\n\n#ifdef DEBUG\n# define D(...) printf(__VA_ARGS__...
1,929
0
{"language": "c", "success": true, "metadata": {"lines": 202, "avg_line_length": 27.13, "nodes": 1127, "errors": 0, "source_hash": "b1a8d502ae70e0cd59a8964abb1be5c7658f96daef46cc8474538a9b8af93dc6", "categorized_nodes": 786}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#i...
8,905
c
// // MARUIButton.h // MARExtensionDemo // // Created by Martin.liu on 17/5/18. // Copyright © 2017年 MAR. All rights reserved. // #import <UIKit/UIKit.h> typedef NS_ENUM(NSInteger, MARUIButtonImagePosition) { MARUIButtonImagePositionLeft, MARUIButtonImagePositionRight }; @interface MARUIButton : UIButton...
25.2
15
(translation_unit) "//\n// MARUIButton.h\n// MARExtensionDemo\n//\n// Created by Martin.liu on 17/5/18.\n// Copyright © 2017年 MAR. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\ntypedef NS_ENUM(NSInteger, MARUIButtonImagePosition) {\n MARUIButtonImagePositionLeft,\n MARUIButtonImagePositionRight\n};\n...
54
9
{"language": "c", "success": true, "metadata": {"lines": 15, "avg_line_length": 25.2, "nodes": 34, "errors": 0, "source_hash": "ecb3b52ac2344c717aafb9f0b10c4f89b285ce619286150694d0d0451d9adaee", "categorized_nodes": 19}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "port <UIKi...
8,906
c
#pragma once #include "core/base.h" //https://codeforces.com/contest/1690/submission/159807563 (순열 순서 중요) //순서상관없으면 union find로 그룹짓는게 더 편함 Arr<Arr<int>> permutation_decompose(const Arr<int>& a, const Arr<int>& b){ int n=sz(a); Arr<Arr<int>> ret; Arr<char> vis(n); map<int,int> ib; for(int i=0;i<n;i++) ib[b[i]]=i...
21.84
25
(translation_unit) "#pragma once\n#include "core/base.h"\n\n//https://codeforces.com/contest/1690/submission/159807563 (순열 순서 중요)\n//순서상관없으면 union find로 그룹짓는게 더 편함\nArr<Arr<int>> permutation_decompose(const Arr<int>& a, const Arr<int>& b){\n int n=sz(a);\n Arr<Arr<int>> ret;\n Arr<char> vis(n);\n map<int,int> ib;\n for...
286
4
{"language": "c", "success": true, "metadata": {"lines": 25, "avg_line_length": 21.84, "nodes": 175, "errors": 0, "source_hash": "2de0d5b9b08f903031516896dbcb2901c21fd626290a8624cbba98e2c7b60a92", "categorized_nodes": 128}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
8,907
c
// Free for all implementation of the MD4 message-digest algorithm // by <NAME> // Based on RSA's MD4C.C and MD4.h files. // Original header in MD4C.C and MD4.h: // MD4C.C - RSA Data Security, Inc., MD4 message-digest algorithm /* Copyright (C) 1990-2, RSA Data Security, Inc. All rights reserved. License to copy ...
38.98
44
(translation_unit) "// Free for all implementation of the MD4 message-digest algorithm\n// by <NAME>\n// Based on RSA's MD4C.C and MD4.h files.\n\n// Original header in MD4C.C and MD4.h:\n\n// MD4C.C - RSA Data Security, Inc., MD4 message-digest algorithm\n\n/*\n Copyright (C) 1990-2, RSA Data Security, Inc. All rights...
149
0
{"language": "c", "success": true, "metadata": {"lines": 44, "avg_line_length": 38.98, "nodes": 103, "errors": 0, "source_hash": "c6707ce0662135f40d44eccbbfa27f93726d062a3bb4f8e9c223d185a6165da0", "categorized_nodes": 65}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
8,908
c
// // cmd.h // com.leith.appFirewall-Helper // // Created by <NAME> on 18/01/2020. // Copyright © 2020 <NAME>. All rights reserved. // #ifndef cmd_h #define cmd_h #include <stdio.h> #include <netinet/in.h> #include <pthread.h> #include <signal.h> #include "util.h" #define CMD_PORT 6 #define CMD_TIMEOUT 1 // in ...
21.1
29
(translation_unit) "//\n// cmd.h\n// com.leith.appFirewall-Helper\n//\n// Created by <NAME> on 18/01/2020.\n// Copyright © 2020 <NAME>. All rights reserved.\n//\n\n#ifndef cmd_h\n#define cmd_h\n\n#include <stdio.h>\n#include <netinet/in.h>\n#include <pthread.h>\n#include <signal.h>\n#include "util.h"\n\n#define CMD...
117
0
{"language": "c", "success": true, "metadata": {"lines": 29, "avg_line_length": 21.1, "nodes": 93, "errors": 0, "source_hash": "d60c36f2f73db1e30fe016e1434f2e19dc7554810048a8c7d20d162cfac2e4a2", "categorized_nodes": 47}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "ifndef cm...
8,909
c
#ifndef _DRAW_H_ #define _DRAW_H_ #include <SDL2/SDL.h> #include <SDL2/SDL_ttf.h> #include <math.h> #include <string.h> #include <time.h> #define PI 3.1415926535 #include "draw.h" // store in mem the minimum and maximum value of x for a given y // mem must be initialized to -1 at the begining of the drawing // fo...
43.33
33
(translation_unit) "#ifndef _DRAW_H_\n#define _DRAW_H_\n\n\n#include <SDL2/SDL.h>\n#include <SDL2/SDL_ttf.h>\n#include <math.h>\n#include <string.h>\n#include <time.h>\n\n#define PI 3.1415926535\n\n\n#include "draw.h"\n\n// store in mem the minimum and maximum value of x for a given y\n// mem must be initialized to -1 ...
290
0
{"language": "c", "success": true, "metadata": {"lines": 33, "avg_line_length": 43.33, "nodes": 215, "errors": 0, "source_hash": "67eabb78b704a639107eac244e79382d1eec9a353beb31e5f07ccd29fed022d0", "categorized_nodes": 140}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
8,910
c
#pragma once #include <xcbxx/events/event.h> namespace xcbxx { class keymap_notify_event_t: public event_t { protected: friend class event_t; static constexpr const char* name = "keymap_notify_event_t"; std::shared_ptr<connection_t> connection; xcb_keymap_notify_event_t *event; keymap_notify_event_t(...
32.47
15
(translation_unit) "#pragma once\n\n#include <xcbxx/events/event.h>\n\nnamespace xcbxx {\n\nclass keymap_notify_event_t: public event_t {\n\nprotected:\n\n friend class event_t;\n\n static constexpr const char* name = "keymap_notify_event_t";\n\n std::shared_ptr<connection_t> connection;\n\n xcb_keymap_notify_event...
130
4
{"language": "c", "success": true, "metadata": {"lines": 15, "avg_line_length": 32.47, "nodes": 77, "errors": 0, "source_hash": "5af08ea5a86487aaed5c73c53bee208e9703e975fd6d0b8de35e99a65d8b8bb6", "categorized_nodes": 50}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
8,911
c
/** * @file posefilter.h * @brief This class implements low-pass filter on Pose (Rotation + Translation) * @author <NAME> * @version 1.0 * @date 2018-07-25 */ #ifndef POSEFILTER_H #define POSEFILTER_H #include "pose.h" #include "mvpprovider.h" /** * @brief This class implements low-pass filter on Pose (Rotati...
23.44
68
(translation_unit) "/**\n * @file posefilter.h\n * @brief This class implements low-pass filter on Pose (Rotation + Translation)\n * @author <NAME>\n * @version 1.0\n * @date 2018-07-25\n */\n\n#ifndef POSEFILTER_H\n#define POSEFILTER_H\n\n#include "pose.h"\n#include "mvpprovider.h"\n\n/**\n * @brief This class impleme...
140
7
{"language": "c", "success": true, "metadata": {"lines": 68, "avg_line_length": 23.44, "nodes": 84, "errors": 0, "source_hash": "9144f5683597f983725ba7bb6d74ce7b426b36db3e13d3c3949688bf66274e1c", "categorized_nodes": 56}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
8,912
c
/** * Copyright (C) 2013-2015 * * @author <EMAIL> * @date 2013-7-9 * * @file tiny_malloc.h * * @remark * set tabstop=4 * set shiftwidth=4 * set expandtab * */ #ifndef __TINY_MALLOC_ESP32_H__ #define __TINY_MALLOC_ESP32_H__ #include "tiny_base.h" #define tiny_malloc malloc ...
19.48
23
(translation_unit) "/**\n * Copyright (C) 2013-2015\n *\n * @author <EMAIL>\n * @date 2013-7-9\n *\n * @file tiny_malloc.h\n *\n * @remark\n * set tabstop=4\n * set shiftwidth=4\n * set expandtab\n *\n */\n\n#ifndef __TINY_MALLOC_ESP32_H__\n#define __TINY_MALLOC_ESP32_H__\n\n#include "tiny_base.h"\n\...
32
0
{"language": "c", "success": true, "metadata": {"lines": 23, "avg_line_length": 19.48, "nodes": 26, "errors": 0, "source_hash": "47499c41e576e72f79983be42d20e3ae8d08307ac8e79ec4c72f20afb4375649", "categorized_nodes": 12}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
8,913
c
#include <stdio.h> #include <string.h> int main() { char palavra[56]; char base[54]; printf("Digite um verbo: "); scanf("%s", palavra); int tam = strlen(palavra) - 2; strncpy(base, palavra, tam); printf("Eu %so \n", base); printf("Tu %sa \n", base); printf("Ele %sa \n", base); ...
23.06
18
(translation_unit) "#include <stdio.h>\n#include <string.h>\n\nint main()\n{\n char palavra[56];\n char base[54];\n\n printf("Digite um verbo: ");\n scanf("%s", palavra);\n\n int tam = strlen(palavra) - 2;\n\n strncpy(base, palavra, tam);\n\n printf("Eu %so \n", base);\n printf("Tu %sa \n", base...
172
0
{"language": "c", "success": true, "metadata": {"lines": 18, "avg_line_length": 23.06, "nodes": 86, "errors": 0, "source_hash": "ea687e33926b5306b953e620e5bb7132fbe90c5bd5f97a3d616d3c586e3db7ac", "categorized_nodes": 60}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
8,914
c
#include <string.h> #include <sys/cdefs.h> #include <ssshell.h> #include "types.h" #include "commands.h" #include "parser.h" static void _max_length_calc(const env_pair_t *pair); static void _print(const env_pair_t *pair); static size_t _max_len = 0; static void _env(const parser_t *parser) { (void)parser...
24.83
35
(translation_unit) "#include <string.h>\n\n#include <sys/cdefs.h>\n\n#include <ssshell.h>\n\n#include "types.h"\n#include "commands.h"\n#include "parser.h"\n\nstatic void _max_length_calc(const env_pair_t *pair);\nstatic void _print(const env_pair_t *pair);\n\nstatic size_t _max_len = 0;\n\nstatic void\n_env(const pars...
269
0
{"language": "c", "success": true, "metadata": {"lines": 35, "avg_line_length": 24.83, "nodes": 154, "errors": 0, "source_hash": "62534b133cbdedbfd95812ee16ed33a46f06719348b131b711974f1bebc99ee6", "categorized_nodes": 103}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
8,915
c
#ifndef NAIVEDB_PLATFORM_H #define NAIVEDB_PLATFORM_H #ifdef _WIN32 #include <windows.h> typedef HANDLE FD; #define InvalidFD INVALID_HANDLE_VALUE #else typedef int FD; #define InvalidFD (-1) #endif #endif //NAIVEDB_PLATFORM_H
16.62
13
(translation_unit) "#ifndef NAIVEDB_PLATFORM_H\n#define NAIVEDB_PLATFORM_H\n\n\n#ifdef _WIN32\n\n#include <windows.h>\ntypedef HANDLE FD;\n#define InvalidFD INVALID_HANDLE_VALUE\n\n#else\n\ntypedef int FD;\n#define InvalidFD (-1)\n\n#endif\n\n\n#endif //NAIVEDB_PLATFORM_H\n" (preproc_ifdef) "#ifndef NAIVEDB_PLATFORM_...
36
0
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 16.62, "nodes": 32, "errors": 0, "source_hash": "17ec182382a78ec8e0f794c39a7cdc6f7be215474ae2e9ead1c77aa74c777242", "categorized_nodes": 19}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
8,916
c
// :copyright: (c) 2009-2017 LLVM Team. // :copyright: (c) 2017-2018 <NAME>. // :license: MIT, see licenses/mit.md for more details. /** * \synopsis // TODO: implement. */ #pragma once
23
8
(translation_unit) "// :copyright: (c) 2009-2017 LLVM Team.\n// :copyright: (c) 2017-2018 <NAME>.\n// :license: MIT, see licenses/mit.md for more details.\n/**\n * \synopsis\n // TODO: implement.\n */\n\n#pragma once\n" (comment) "// :copyright: (c) 2009-2017 LLVM Team." (comment) "// :copyright: (c) 2017-201...
8
0
{"language": "c", "success": true, "metadata": {"lines": 8, "avg_line_length": 23.0, "nodes": 3, "errors": 0, "source_hash": "d2f05f37d9d4676735371f9633783f4dcebcf5c401a2703aae8004da4000b548", "categorized_nodes": 1}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma once\...
8,917
c
#pragma once namespace swrenderer { struct DrawSegment; class VisibleSprite; class VisibleSpriteList { public: void Clear(); void PushPortal(); void PopPortal(); void Push(VisibleSprite *sprite); void Sort(RenderThread *thread); TArray<VisibleSprite *> SortedSprites; private: uint32_t FindSubsec...
24.86
21
(translation_unit) "#pragma once\n\nnamespace swrenderer\n{\n struct DrawSegment;\n class VisibleSprite;\n\n class VisibleSpriteList\n {\n public:\n void Clear();\n void PushPortal();\n void PopPortal();\n void Push(VisibleSprite *sprite);\n void Sort(RenderThread *thread);\n\n TArray<VisibleSprite *> SortedSprit...
163
5
{"language": "c", "success": true, "metadata": {"lines": 21, "avg_line_length": 24.86, "nodes": 108, "errors": 0, "source_hash": "2d474e5feb5d3b15048ea5cf5bca5427df237c2e4354e1b27359dd9bb3bbf690", "categorized_nodes": 68}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma ...
8,918
c
// // Created by Mookel on 16/9/1. // Email : <EMAIL> // Copyright (c) 2016 jlu.edu. All rights reserved. // l.h : // #ifndef CGKITS_L_H #define CGKITS_L_H #include <debug.h> #include <yystack.h> #include <com.h> #include <input.h> #include <yylib.h> #include <yydebug.h> #endif //CGKITS_L_H
18.6
15
(translation_unit) "//\n// Created by Mookel on 16/9/1.\n// Email : <EMAIL> \n// Copyright (c) 2016 jlu.edu. All rights reserved.\n// l.h : \n//\n\n#ifndef CGKITS_L_H\n#define CGKITS_L_H\n\n#include <debug.h>\n#include <yystack.h>\n#include <com.h>\n#include <input.h>\n#include <yylib.h>\n#include <yydebug.h>\n\n#endif...
33
0
{"language": "c", "success": true, "metadata": {"lines": 15, "avg_line_length": 18.6, "nodes": 25, "errors": 0, "source_hash": "464416e1a159c50f4776477da4def5d1fa3dc032aec0c9b8375be47b837fae6c", "categorized_nodes": 23}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef C...
8,919
c
#ifndef ATL_NOAFFINITY #include "atlas_taffinity.h" /* include this file first! */ #endif #include "atlas_misc.h" #include "atlas_threads.h" #if !defined(ATL_NOAFFINITY) && defined(ATL_PAFF_SELF) static int ATL_setmyaffinity(ATL_thread_t *me) /* * Attempts to sets the affinity of an already-running thread. The ...
26.06
110
(translation_unit) "#ifndef ATL_NOAFFINITY\n #include "atlas_taffinity.h" /* include this file first! */\n#endif\n#include "atlas_misc.h"\n#include "atlas_threads.h"\n\n#if !defined(ATL_NOAFFINITY) && defined(ATL_PAFF_SELF)\nstatic int ATL_setmyaffinity(ATL_thread_t *me)\n/*\n * Attempts to sets the affinity of an a...
782
0
{"language": "c", "success": true, "metadata": {"lines": 110, "avg_line_length": 26.06, "nodes": 477, "errors": 0, "source_hash": "f69b8010bd3e2f92350aa4e71e1ba518ebaeb2726bb15c55653447645433dde1", "categorized_nodes": 352}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
8,920
c
//----------------------------------------------------------------------------- // Copyright (c) 2013 GarageGames, LLC // // 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 restrictio...
34.69
78
(translation_unit) "//-----------------------------------------------------------------------------\n// Copyright (c) 2013 GarageGames, LLC\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the "Software"), to\n// deal in the So...
303
4
{"language": "c", "success": true, "metadata": {"lines": 78, "avg_line_length": 34.69, "nodes": 183, "errors": 0, "source_hash": "408445c3b5a371ce4cbf023cf9fe9db374baa751021741a4303ee06686b4855e", "categorized_nodes": 126}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
8,921
c
// This file is part of ViViA, and is distributed under the // OSI-approved BSD 3-Clause License. See top-level LICENSE file or // https://github.com/Kitware/vivia/blob/master/LICENSE for details. #ifndef __vtkVgTrackTypeRegistry_h #define __vtkVgTrackTypeRegistry_h #include "vtkVgTypeRegistry.h" #include <vgExport....
36.75
20
(translation_unit) "// This file is part of ViViA, and is distributed under the\n// OSI-approved BSD 3-Clause License. See top-level LICENSE file or\n// https://github.com/Kitware/vivia/blob/master/LICENSE for details.\n\n#ifndef __vtkVgTrackTypeRegistry_h\n#define __vtkVgTrackTypeRegistry_h\n\n#include "vtkVgTypeRegis...
95
3
{"language": "c", "success": true, "metadata": {"lines": 20, "avg_line_length": 36.75, "nodes": 56, "errors": 0, "source_hash": "a26caded23c34fdf3d74b0ffd90e90033fb8efa08689b5b5426ce0eba0f969f1", "categorized_nodes": 35}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
8,922
c
#include <stdio.h> #include <stdlib.h> #include "includes/sapi.h" #include "../src/includes/stable_utils.h" #include "../src/includes/sparser.h" static Constant peek(VM* vm) { return vm->coroutine->stackTop[-1]; } static Constant peek2(VM* vm) { return vm->coroutine->stackTop[-2]; } void expect(int expected, int...
32.6
86
(translation_unit) "#include <stdio.h>\n#include <stdlib.h>\n#include "includes/sapi.h"\n#include "../src/includes/stable_utils.h"\n#include "../src/includes/sparser.h"\n\nstatic Constant peek(VM* vm) {\n return vm->coroutine->stackTop[-1];\n}\n\nstatic Constant peek2(VM* vm) {\n return vm->coroutine->stackTop[-2];\n...
1,221
0
{"language": "c", "success": true, "metadata": {"lines": 86, "avg_line_length": 32.6, "nodes": 689, "errors": 0, "source_hash": "80692e84ea2a3d238e28e8d250c11c452792ddfaa558555e8ad03b1605b9e776", "categorized_nodes": 482}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
8,923
c
#include "b64.h" #include <stdio.h> #include <string.h> #include <unistd.h> #include <stdint.h> /* * There is a 0.75 decompression ration between b64 and ascii encodings */ #define ASCII_WORDCOUNT (3) #define B64_WORDCOUNT (4) /* * Usage : b64enc.EXEC < input > output */ int main(int argc, char *argv[]) { ch...
20.5
28
(translation_unit) "#include "b64.h"\n#include <stdio.h>\n#include <string.h>\n#include <unistd.h>\n#include <stdint.h>\n\n/*\n * There is a 0.75 decompression ration between b64 and ascii encodings\n */ \n#define ASCII_WORDCOUNT (3)\n#define B64_WORDCOUNT (4)\n\n\n/* \n * Usage : b64enc.EXEC < input > output\n */\nin...
157
0
{"language": "c", "success": true, "metadata": {"lines": 28, "avg_line_length": 20.5, "nodes": 91, "errors": 0, "source_hash": "faa1057637f7f7590cf91823ceeeef269257f1466337678d0253df39c624466a", "categorized_nodes": 64}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#includ...
8,924
c
/* * This header is generated by classdump-dyld 1.0 * on Saturday, August 24, 2019 at 9:45:44 PM Mountain Standard Time * Operating System: Version 12.4 (Build 16M568) * Image Source: /System/Library/Frameworks/MapKit.framework/MapKit * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by <NAME>. */ #impor...
40.22
27
(translation_unit) "/*\n* This header is generated by classdump-dyld 1.0\n* on Saturday, August 24, 2019 at 9:45:44 PM Mountain Standard Time\n* Operating System: Version 12.4 (Build 16M568)\n* Image Source: /System/Library/Frameworks/MapKit.framework/MapKit\n* classdump-dyld is licensed under GPLv3, Copyright © 2013-2...
197
16
{"language": "c", "success": true, "metadata": {"lines": 27, "avg_line_length": 40.22, "nodes": 110, "errors": 0, "source_hash": "4cfb8e36cf172d476f781a5e57de658a7460f10c42ad9205d519382750777a8f", "categorized_nodes": 70}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <...
8,925
c
/** * This header is generated by class-dump-z 0.2a. * class-dump-z is Copyright (C) 2009 by KennyTM~, licensed under GPLv3. * * Source: (null) */ #import "WeChat-Structs.h" #import "NSObject.h" @protocol WCSelectorViewDataSource <NSObject> -(BOOL)shouldShowDeleteView; -(CGSize)sizeForViews; -(id)viewAtIndex:(u...
23.71
17
(translation_unit) "/**\n * This header is generated by class-dump-z 0.2a.\n * class-dump-z is Copyright (C) 2009 by KennyTM~, licensed under GPLv3.\n *\n * Source: (null)\n */\n\n#import "WeChat-Structs.h"\n#import "NSObject.h"\n\n\n@protocol WCSelectorViewDataSource <NSObject>\n-(BOOL)shouldShowDeleteView;\n-(CGSize)...
87
8
{"language": "c", "success": true, "metadata": {"lines": 17, "avg_line_length": 23.71, "nodes": 56, "errors": 0, "source_hash": "25fae6c1b7da4d355ab227b3fe2ae0fa44fe8d2fc066d8c923fe164276be7f22", "categorized_nodes": 29}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import \...
8,926
c
/**************************************************************************** * * * GuiToolKit * * (MFC extension) * * Created by <NAME>. www.beyondata.com <EMAIL> * *--------------------------------------------------------------------------* * ...
32.17
60
(translation_unit) "/****************************************************************************\n * * \n * GuiToolKit * \n * (MFC extension) * \n * Created by <NAME>. www.beyondata.com <EMAIL> *\n *-------------------------------------------------------------------...
247
10
{"language": "c", "success": true, "metadata": {"lines": 60, "avg_line_length": 32.17, "nodes": 154, "errors": 0, "source_hash": "aaadde32b4b2e01ffc8681390a07434835a8bb4c47b8182f6fde1ebadf3ecb03", "categorized_nodes": 110}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
8,927
c
#include<stdio.h> #include<math.h> int main(){ //NOTAS int dinheiro1, cem, cinquenta, cinquenta1, vinte, vinte1, dez, dez1, cinco, cinco1, dois, dois1; //MOEDAS int moedas, um, um1, cinquentac, vintec, dezc, cincoc, umc; double dinheiro; //TRANSFORMAÇAO DE FLOAT PARA INTEIRO scanf("%lf", &dinheiro); dinheiro1 = (in...
26.2
54
(translation_unit) "#include<stdio.h>\n#include<math.h>\n\nint main(){\n//NOTAS \nint dinheiro1, cem, cinquenta, cinquenta1, vinte, vinte1, dez, dez1, cinco, cinco1, dois, dois1;\n//MOEDAS\nint moedas, um, um1, cinquentac, vintec, dezc, cincoc, umc;\n\ndouble dinheiro;\n\n//TRANSFORMAÇAO DE FLOAT PARA INTEIRO\nscanf("%...
542
0
{"language": "c", "success": true, "metadata": {"lines": 54, "avg_line_length": 26.2, "nodes": 307, "errors": 0, "source_hash": "1c7607485fc417080d903c47acda779cf65ec9e568f0e83f3c4069d40fc2b7e7", "categorized_nodes": 220}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
8,928
c
/* SPDX-License-Identifier: LGPL-2.1+ */ #include "hostname-util.h" #include <errno.h> #include <limits.h> #include <stdio.h> #include <string.h> #include <sys/utsname.h> #include <unistd.h> #include "alloc-util.h" #include "fd-util.h" #include "fileio.h" #include "macro.h" #include "string-util.h" bool hostname_is...
27.56
254
(translation_unit) "/* SPDX-License-Identifier: LGPL-2.1+ */\n\n#include "hostname-util.h"\n\n#include <errno.h>\n#include <limits.h>\n#include <stdio.h>\n#include <string.h>\n#include <sys/utsname.h>\n#include <unistd.h>\n\n#include "alloc-util.h"\n#include "fd-util.h"\n#include "fileio.h"\n#include "macro.h"\n#includ...
1,864
4
{"language": "c", "success": true, "metadata": {"lines": 254, "avg_line_length": 27.56, "nodes": 1167, "errors": 0, "source_hash": "001e0a8df0e25cb338f32899f6b58fcdb088a686d4ec553d0291dc9055216839", "categorized_nodes": 768}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#i...
8,929
c
/* * Copyright (c) 2007, 2012, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
42.03
93
(translation_unit) "/*\n * Copyright (c) 2007, 2012, Oracle and/or its affiliates. All rights reserved.\n * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.\n *\n * This code is free software; you can redistribute it and/or modify it\n * under the terms of the GNU General Public License version 2 only, as\...
206
0
{"language": "c", "success": true, "metadata": {"lines": 93, "avg_line_length": 42.03, "nodes": 156, "errors": 0, "source_hash": "d1ae974f2ebd40908e7ce8b949afdc92b5b165d37aa2d4ce211ddc86ba6644a5", "categorized_nodes": 95}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma ...
8,930
c
/* $Id: $ */ /* * Copyright (c) 2007 <NAME> <<EMAIL>> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND ...
25.32
118
(translation_unit) "/* $Id: $ */\n\n/*\n * Copyright (c) 2007 <NAME> <<EMAIL>>\n *\n * Permission to use, copy, modify, and distribute this software for any\n * purpose with or without fee is hereby granted, provided that the above\n * copyright notice and this permission notice appear in all copies.\n *\n * THE SOFT...
650
0
{"language": "c", "success": true, "metadata": {"lines": 118, "avg_line_length": 25.32, "nodes": 381, "errors": 0, "source_hash": "005b2f24f06bc118af5c83605fe6b43950f2f06581623778470b6e5e8adf9525", "categorized_nodes": 284}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
8,931
c
#include <QtAlgorithms> #include <QtTest> #include "../src/psarc.h" class TestPSARC : public QObject { Q_OBJECT private slots: void initTestCase(); void cleanupTestCase(); void testUnarchive(); };
18.36
11
(translation_unit) "#include <QtAlgorithms>\n#include <QtTest>\n\n#include "../src/psarc.h"\n\nclass TestPSARC : public QObject\n{\n Q_OBJECT\n\nprivate slots:\n void initTestCase();\n void cleanupTestCase();\n void testUnarchive();\n};\n" (preproc_include) "#include <QtAlgorithms>\n" (#include) "#inc...
56
1
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 18.36, "nodes": 32, "errors": 0, "source_hash": "c8fa7e27aafadf0b2c71bce104b971423c3784a3d867a6a3cbc00660416a2742", "categorized_nodes": 24}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
8,932
c
// Copyright Epic Games, Inc. All Rights Reserved. #pragma once #include "CoreMinimal.h" #include "Modules/ModuleManager.h" class FCoverSystemModule : public IModuleInterface { public: /** IModuleInterface implementation */ virtual void StartupModule() override; virtual void ShutdownModule() override; }; DECLAR...
35.06
33
(translation_unit) "// Copyright Epic Games, Inc. All Rights Reserved.\n\n#pragma once\n\n#include "CoreMinimal.h"\n#include "Modules/ModuleManager.h"\n\nclass FCoverSystemModule : public IModuleInterface\n{\npublic:\n\n /** IModuleInterface implementation */\n virtual void StartupModule() override;\n virtual void Shut...
149
5
{"language": "c", "success": true, "metadata": {"lines": 33, "avg_line_length": 35.06, "nodes": 84, "errors": 0, "source_hash": "3c54ee4bd03331ca706ff70bc98c82823c0e9eea952893b7c5418bdb461a534a", "categorized_nodes": 51}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
8,933
c
#ifndef HW3_CAR_H #define HW3_CAR_H #include <ostream> #include <vector> #include "Laptime.h" #include "Utilizer.h" class Car { private: std::string driver_name; double performance; Laptime *head; Car *next; // DO NOT MODIFY THE UPPER PART // ADD OWN PRIVATE METHODS/PROPERTIES BELOW public: /** * Construc...
23.52
135
(translation_unit) "#ifndef HW3_CAR_H\n#define HW3_CAR_H\n\n#include <ostream>\n#include <vector>\n#include "Laptime.h"\n#include "Utilizer.h"\n\nclass Car {\n\nprivate:\n std::string driver_name;\n double performance;\n Laptime *head;\n Car *next;\n\n // DO NOT MODIFY THE UPPER PART\n // ADD OWN PRIVATE METHODS/PROPER...
349
16
{"language": "c", "success": true, "metadata": {"lines": 135, "avg_line_length": 23.52, "nodes": 200, "errors": 0, "source_hash": "fd6efe5da3ea200b8b3afc73d48a6288157f01e3c069230b723a597bff2b8ca4", "categorized_nodes": 128}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
8,934
c
#pragma once //Includes #include <SDL.h> #include <SDL_ttf.h> #include <SDL_mixer.h> #include <map> #include <vector> //Custom Includes #include "AABB.h" #include "Spritesheet.h" namespace Engine2D { class GameState { //Methods public: GameState(); virtual ~GameState(); virtual void Initialize(int arg...
22.22
166
(ERROR) "#pragma once\n\n//Includes\n#include <SDL.h>\n#include <SDL_ttf.h>\n#include <SDL_mixer.h>\n#include <map>\n#include <vector>\n\n//Custom Includes\n#include "AABB.h"\n#include "Spritesheet.h"\n\nnamespace Engine2D\n{\n\n class GameState\n {\n\n //Methods\n\n public:\n\n GameState();\n virtual ~GameState();\n...
1,257
78
{"language": "c", "success": true, "metadata": {"lines": 166, "avg_line_length": 22.22, "nodes": 853, "errors": 0, "source_hash": "3614bf1f147d558a2e5abefd7f5948c7770c6029146971d19ca64505e858cdc1", "categorized_nodes": 523}, "ast": {"root": "ERROR", "nodes": [{"id": 0, "type": "ERROR", "text": "#pragma once\n\n//Includ...
8,935
c
#pragma once #ifdef GE_PLATFORM_WINDOWS #ifdef GE_BUILD_DLL #define GE_API __declspec(dllexport) #else #define GE_API __declspec(dllimport) #endif #else #error Platform not supported! #endif // __debugBreak() : Sets a breakpoint on the stopped line of code. #ifdef GE_ENABLE_ASSERTS GE_ASSERT(x, ...) { i...
28.9
20
(translation_unit) "#pragma once\n\n\n#ifdef GE_PLATFORM_WINDOWS\n\n #ifdef GE_BUILD_DLL\n #define GE_API __declspec(dllexport)\n #else\n #define GE_API __declspec(dllimport)\n #endif\n\n#else\n #error Platform not supported!\n#endif\n\n// __debugBreak() : Sets a breakpoint on the stopped line of code. \n#ifdef GE_EN...
150
2
{"language": "c", "success": true, "metadata": {"lines": 20, "avg_line_length": 28.9, "nodes": 82, "errors": 0, "source_hash": "e92ccc9f15c2e2a9c128d0c5626bd53cdcfe6dc5232b0aaa986e682b6a17d987", "categorized_nodes": 50}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma on...
8,936
c
/* -------------------------------------------------------------------------* * SPHinXsys * * --------------------------------------------------------------------------* * SPHinXsys (pronunciation: s'finksis) is an acronym from Smoothed Particle * * Hydrodynamics for industrial compleX systems. It provid...
35.65
128
(translation_unit) "/* -------------------------------------------------------------------------*\n* SPHinXsys *\n* --------------------------------------------------------------------------*\n* SPHinXsys (pronunciation: s'finksis) is an acronym from Smoothed Particle *\n* Hydrodynamics for industrial co...
496
26
{"language": "c", "success": true, "metadata": {"lines": 128, "avg_line_length": 35.65, "nodes": 271, "errors": 0, "source_hash": "2f6f0f9654595d7444754e164094dfb17904e5aebc0dd6bac2705aba84ab023e", "categorized_nodes": 189}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragm...
8,937
c
/*** test_pack_unpack_regular_POLVECq2BS.c: File containing the unit test for the POLVECq2BS function, with (regular) SABER parameters ***/ #include <stdio.h> #include <stdint.h> #include "../../GENERAL/SABER_params.h" #include "../../GENERAL/pack_unpack.h" #include "randomtestdata.h" int main() { // Loop variable...
28.42
31
(translation_unit) "/*** test_pack_unpack_regular_POLVECq2BS.c: File containing the unit test for the POLVECq2BS function, with (regular) SABER parameters ***/\n\n#include <stdio.h>\n#include <stdint.h>\n\n#include "../../GENERAL/SABER_params.h"\n#include "../../GENERAL/pack_unpack.h"\n#include "randomtestdata.h"\n\nin...
206
0
{"language": "c", "success": true, "metadata": {"lines": 31, "avg_line_length": 28.42, "nodes": 110, "errors": 0, "source_hash": "2a4dd48d06874ed2bedd15d11514f294d9c84459fa47d974effc9438006e566c", "categorized_nodes": 84}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
8,938
c
#include <stdio.h> #define MAX_LEN 1000 #define EMPTY -1 #define FULL (MAX_LEN - 1) typedef enum boolean {false, true} boolean; typedef struct stack { char s[MAX_LEN]; int top; } stack; void reset(stack *stk); void push(char c, stack *stk); char pop(stack *stk); cha...
26.67
15
(translation_unit) "#include <stdio.h>\n\n#define MAX_LEN 1000\n#define EMPTY -1\n#define FULL (MAX_LEN - 1)\n\ntypedef enum boolean {false, true} boolean;\n\ntypedef struct stack {\n char s[MAX_LEN];\n int top;\n} stack;\n\nvoid reset(stack *stk);\nvoid push(char c, stack *st...
141
0
{"language": "c", "success": true, "metadata": {"lines": 15, "avg_line_length": 26.67, "nodes": 103, "errors": 0, "source_hash": "bf1e42bc67fe25ee7fe651a3b9ab4aae462a72a34350aaed2493d828a1178178", "categorized_nodes": 66}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
8,939
c
// // InterposeKit.h // InterposeKit // // Copyright © 2020 <NAME>. All rights reserved. // #import <Foundation/Foundation.h> //! Project version number for InterposeKit. FOUNDATION_EXPORT double InterposeKitVersionNumber; //! Project version string for InterposeKit. FOUNDATION_EXPORT const unsigned char Interpos...
29.73
11
(translation_unit) "//\n// InterposeKit.h\n// InterposeKit\n//\n// Copyright © 2020 <NAME>. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n\n//! Project version number for InterposeKit.\nFOUNDATION_EXPORT double InterposeKitVersionNumber;\n\n//! Project version string for InterposeKit.\nFOUNDATION_EX...
31
1
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 29.73, "nodes": 15, "errors": 0, "source_hash": "b279620c815f296454a3560a04098c82799f51719eb431d5bb3ff6fd5d8ce69b", "categorized_nodes": 11}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <F...
8,940
c
#pragma once #if defined(OS_WIN) #define EXPORT __declspec(dllexport) #else #define EXPORT __attribute__((visibility("default"))) #endif typedef void (*ErrorCallback)(int, const char*); typedef void (*BrowserCreatedCallback)(int); typedef void (*BrowserClosingCallback)(int); typedef void (*ContextCreatedCallback)(...
38.43
14
(translation_unit) "#pragma once\n\n\n#if defined(OS_WIN) \n#define EXPORT __declspec(dllexport)\n#else \n#define EXPORT __attribute__((visibility("default")))\n#endif\n\ntypedef void (*ErrorCallback)(int, const char*);\ntypedef void (*BrowserCreatedCallback)(int);\ntypedef void (*BrowserClosingCallback)(int);\ntypedef...
184
0
{"language": "c", "success": true, "metadata": {"lines": 14, "avg_line_length": 38.43, "nodes": 128, "errors": 0, "source_hash": "0850fafea9db55f23b1edeb6c01f076fe98d23fc4a79a735fec00b8fccd0082c", "categorized_nodes": 50}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma ...
8,941
c
/* * Copyright (C) 2006-2013 Music Technology Group - Universitat Pompeu Fabra * * This file is part of Essentia * * Essentia is free software: you can redistribute it and/or modify it under * the terms of the GNU Affero General Public License as published by the Free * Software Foundation (FSF), either version...
30.39
79
(translation_unit) "/*\n * Copyright (C) 2006-2013 Music Technology Group - Universitat Pompeu Fabra\n *\n * This file is part of Essentia\n *\n * Essentia is free software: you can redistribute it and/or modify it under\n * the terms of the GNU Affero General Public License as published by the Free\n * Software Found...
462
6
{"language": "c", "success": true, "metadata": {"lines": 79, "avg_line_length": 30.39, "nodes": 220, "errors": 0, "source_hash": "faed05db85871cf694978938d5838522f44e096fe22726674d74d2967ad2d996", "categorized_nodes": 151}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
8,942
c
/****************************************************************************** * File: customer.c * Purpose: mutex with pthreads * Author: <NAME>, 1/2011, BSy ******************************************************************************/ #include <stdio.h> #include <unistd.h> #include <stdlib.h> #include <tim...
32.17
35
(translation_unit) "/******************************************************************************\n* File: customer.c\n* Purpose: mutex with pthreads\n* Author: <NAME>, 1/2011, BSy\n******************************************************************************/\n\n#include <stdio.h>\n#include <unistd.h>\n#incl...
220
0
{"language": "c", "success": true, "metadata": {"lines": 35, "avg_line_length": 32.17, "nodes": 138, "errors": 0, "source_hash": "e97b56021b46dd98ea23eb5715ee6445d72e3aa2d6cd4a91ad0562d247680180", "categorized_nodes": 103}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
8,943
c
#pragma once #include <cryptosqlite/cryptosqlite.h> #include "../sqlite_modern_cpp.h" namespace sqlite { struct cryptosqlite_config : public sqlite_config { std::string key; }; class cryptosqlite_database : public database { public: cryptosqlite_database(const std::string &db_name, const cryptosqlite_config ...
33.61
23
(translation_unit) "#pragma once\n\n#include <cryptosqlite/cryptosqlite.h>\n#include "../sqlite_modern_cpp.h"\n\nnamespace sqlite {\n struct cryptosqlite_config : public sqlite_config {\n std::string key;\n };\n\n class cryptosqlite_database : public database {\n public:\n cryptosqlite_database(const std::string &db_...
217
12
{"language": "c", "success": true, "metadata": {"lines": 23, "avg_line_length": 33.61, "nodes": 112, "errors": 0, "source_hash": "8823557de32f939a996dbf3fbc911f93931d6c75d33e97e0100cb37285daddaf", "categorized_nodes": 85}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma ...
8,944
c
// // PhotoBrowserCollectionViewFlowLayout.h // dswn // // Created by 刘军 on 2019/7/18. // Copyright © 2019 刘军. All rights reserved. // #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @interface PhotoBrowserCollectionViewFlowLayout : UICollectionViewFlowLayout @end NS_ASSUME_NONNULL_END
23.25
12
(translation_unit) "//\n// PhotoBrowserCollectionViewFlowLayout.h\n// dswn\n//\n// Created by 刘军 on 2019/7/18.\n// Copyright © 2019 刘军. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\nNS_ASSUME_NONNULL_BEGIN\n\n@interface PhotoBrowserCollectionViewFlowLayout : UICollectionViewFlowLayout\n\n@end\n\nNS_ASSUME_...
27
4
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 23.25, "nodes": 16, "errors": 0, "source_hash": "82d6dcdd17c5adc2f57d9ae88248e41a7bf310227a0df9396dec5b55158cb4e7", "categorized_nodes": 9}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "UIKit/UIKi...
8,945
c
#include <base/logger.h> #include <base/stdio.h> #include <base/string.h> #include <base/serial.h> const char *logputs( const char *str ){ int i; for ( i = 0; str[i]; i++ ); write_serial( str, i ); return str; } void print_num( unsigned input ){ unsigned i, a; char buf[32]; if ( !input ){ buf[0] = '0'; ...
18.34
98
(translation_unit) "#include <base/logger.h>\n#include <base/stdio.h>\n#include <base/string.h>\n#include <base/serial.h>\n\nconst char *logputs( const char *str ){\n int i;\n\n for ( i = 0; str[i]; i++ );\n write_serial( str, i );\n\n return str;\n}\n\nvoid print_num( unsigned input ){\n unsigned i, a;\n char buf[32];...
819
1
{"language": "c", "success": true, "metadata": {"lines": 98, "avg_line_length": 18.34, "nodes": 509, "errors": 0, "source_hash": "9858b4cfabc1cdf2560c29b8c0cd095623f05cdce46dd37d3e692f0a50bf0b10", "categorized_nodes": 339}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
8,946
c
// this class provides a C++ stream style wrapper on top of C style text file I/O (which is faster than the C++ file IO routines). #pragma once #include <cstdio> #include <cctype> #include <string> using namespace std; // File Mode enumeration // // NMODE: This mode allows neither reading nor writing. // READ: ...
29.2
291
(translation_unit) "// this class provides a C++ stream style wrapper on top of C style text file I/O (which is faster than the C++ file IO routines).\n\n#pragma once\n\n#include <cstdio>\n#include <cctype>\n#include <string>\n\nusing namespace std;\n\n// File Mode enumeration\n//\n// NMODE: This mode allows neither ...
2,220
46
{"language": "c", "success": true, "metadata": {"lines": 291, "avg_line_length": 29.2, "nodes": 1240, "errors": 0, "source_hash": "b3970b77c2a145f4f07f06b15c0577d4fc4603386f0e2ea429e045ddcb67f0bd", "categorized_nodes": 908}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragm...
8,947
c
#ifndef MAINWINDOW_H #define MAINWINDOW_H #include <QMainWindow> #include <QGridLayout> #include <QPushButton> #include <QLineEdit> #include <QProgressBar> #include "archiver.h" QT_BEGIN_NAMESPACE namespace Ui { class MainWindow; } QT_END_NAMESPACE class MainWindow : public QMainWindow { Q_OBJECT public: ...
19.97
31
(translation_unit) "#ifndef MAINWINDOW_H\n#define MAINWINDOW_H\n\n#include <QMainWindow>\n#include <QGridLayout>\n#include <QPushButton>\n#include <QLineEdit>\n#include <QProgressBar>\n#include "archiver.h"\n\n\n\nQT_BEGIN_NAMESPACE\nnamespace Ui {\nclass MainWindow;\n}\nQT_END_NAMESPACE\n\nclass MainWindow : public QM...
158
5
{"language": "c", "success": true, "metadata": {"lines": 31, "avg_line_length": 19.97, "nodes": 106, "errors": 0, "source_hash": "d780af6774aca4c888c987a3bacdf2fec2f172edbbc5437a5f3b22561147a25e", "categorized_nodes": 72}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
8,948
c
/* * GX and Turbo GX framebuffer - defines. * * Copyright (C) 2000 <NAME> (<EMAIL>) * * 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 ...
37.19
83
(translation_unit) "/*\n * GX and Turbo GX framebuffer - defines.\n *\n * Copyright (C) 2000 <NAME> (<EMAIL>)\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the "Software"), to deal\n * in the Software without restriction, in...
307
0
{"language": "c", "success": true, "metadata": {"lines": 83, "avg_line_length": 37.19, "nodes": 220, "errors": 0, "source_hash": "41d2eecedcd1ff67c375057c70d2e32223ff55ed6aef81b597c47b13e059cff2", "categorized_nodes": 141}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
8,949
c
// // LSUVoltageModel.h // LSBluetooth-Library // // Created by lifesense on 16/5/25. // Copyright © 2016年 Lifesense. All rights reserved. // #import <Foundation/Foundation.h> @interface LSUVoltageModel : NSObject /** * MAC地址 */ @property (nonatomic,copy) NSString *macAddress; /** * 是否在充電 */ @property (non...
18.5
22
(translation_unit) "//\n// LSUVoltageModel.h\n// LSBluetooth-Library\n//\n// Created by lifesense on 16/5/25.\n// Copyright © 2016年 Lifesense. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n\n@interface LSUVoltageModel : NSObject\n/**\n * MAC地址\n */\n@property (nonatomic,copy) NSString *macAddress;...
71
14
{"language": "c", "success": true, "metadata": {"lines": 22, "avg_line_length": 18.5, "nodes": 47, "errors": 0, "source_hash": "f8942ae2df8f2cc39f9125662d63a22f7cb7c8104f79b8e760901bee2c157dcd", "categorized_nodes": 26}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "port <Foun...
8,950
c
// // Created by P7XXTM1-G on 2021/11/14. // #include "Status/Status.h" #include "SqStack.h" #include "SqStack-In-Use.h" #define Default_Size 10 // 十进制 -> 八进制 // ---------- // 存储每一步计算后的余数,将栈的内容依次输出,计算结束 // ---------- void Conversion(int num) { ElemType elem; SqStack sqStack; // 栈初始容量为 10 InitStack_S...
25.59
69
(translation_unit) "//\n// Created by P7XXTM1-G on 2021/11/14.\n//\n\n#include "Status/Status.h"\n#include "SqStack.h"\n#include "SqStack-In-Use.h"\n\n#define Default_Size 10\n\n// 十进制 -> 八进制\n// ----------\n// 存储每一步计算后的余数,将栈的内容依次输出,计算结束\n// ----------\nvoid Conversion(int num) {\n ElemType elem;\n SqStack sqStac...
454
0
{"language": "c", "success": true, "metadata": {"lines": 69, "avg_line_length": 25.59, "nodes": 247, "errors": 0, "source_hash": "f242f0c88e55d44cf8c9bd9771af1c464e7d2cbda822f3dc6c727868cbd6ae33", "categorized_nodes": 168}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
8,951
c
struct a_struct { char a; int b; }; union a_union { char a; int b; }; void sizeofs(const unsigned n, int * const buffer) { unsigned long i = 0; #define CHECK(x) \ buffer[i++] = sizeof(x); \ buffer[i++] = __alignof__(x) CHECK(_Bool); CHECK(char...
21.73
51
(translation_unit) "struct a_struct {\n char a;\n int b;\n};\n\nunion a_union {\n char a;\n int b;\n};\n\nvoid sizeofs(const unsigned n, int * const buffer) {\n\n unsigned long i = 0;\n\n#define CHECK(x) \\n buffer[i++] = sizeof(x); \\n buffer[i++] = __alignof__(x)\n\n ...
481
0
{"language": "c", "success": true, "metadata": {"lines": 51, "avg_line_length": 21.73, "nodes": 278, "errors": 0, "source_hash": "50d847edd6b681f388926d71baf71a56320f0a111e68ad6ea4a5a972fef234af", "categorized_nodes": 174}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "struct_specifier", "text": "str...
8,952
c
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ft_clean.c :+: :+: :+: ...
37.03
36
(translation_unit) "/* ************************************************************************** */\n/* */\n/* ::: :::::::: */\n/* ft_clean.c ...
222
0
{"language": "c", "success": true, "metadata": {"lines": 36, "avg_line_length": 37.03, "nodes": 120, "errors": 0, "source_hash": "2739f4742c30adbbe3abd3c58fd7f939856fa97bc5801f295e26896ba18a474a", "categorized_nodes": 89}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
8,953
c
// // NSDate+Lunar.h // VNLunarCalendar // // Created by ened on 2016. 6. 15.. // Copyright © 2016년 netmaid. All rights reserved. // @interface NSDate (VNLunarCalendar) -(NSDate*)vnLunarDate:(BOOL*)isLeapMonth; -(NSDate*)vnSolarDate:(BOOL)isLeapMonth; -(BOOL)vnIsEqualYMD:(NSDate*)otherDate; @end
22.23
13
(translation_unit) "//\n// NSDate+Lunar.h\n// VNLunarCalendar\n//\n// Created by ened on 2016. 6. 15..\n// Copyright © 2016년 netmaid. All rights reserved.\n//\n\n\n@interface NSDate (VNLunarCalendar)\n\n-(NSDate*)vnLunarDate:(BOOL*)isLeapMonth;\n-(NSDate*)vnSolarDate:(BOOL)isLeapMonth;\n\n-(BOOL)vnIsEqualYMD:(NSDat...
76
8
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 22.23, "nodes": 46, "errors": 0, "source_hash": "e9794cc8c30d35689de08b255a328402fc55ea48786cda38e987429183013302", "categorized_nodes": 25}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "terface NSDate (...
8,954
c
const char* envmap_pars_fragment =R"( #ifdef USE_ENVMAP uniform float reflectivity; #if defined( USE_BUMPMAP ) || defined( USE_NORMALMAP ) || defined( PHONG ) #define ENV_WORLDPOS #endif #ifdef ENV_WORLDPOS varying vec3 vWorldPosition; uniform float refractionRatio; #else varying vec3 vReflect; #end...
22.43
14
(translation_unit) "const char* envmap_pars_fragment =R"(\n#ifdef USE_ENVMAP\n\n uniform float reflectivity;\n\n #if defined( USE_BUMPMAP ) || defined( USE_NORMALMAP ) || defined( PHONG )\n\n #define ENV_WORLDPOS\n\n #endif\n\n #ifdef ENV_WORLDPOS\n\n varying vec3 vWorldPosition;\n uniform float refractionRatio;\n #...
76
5
{"language": "c", "success": true, "metadata": {"lines": 14, "avg_line_length": 22.43, "nodes": 58, "errors": 0, "source_hash": "9df5dae8522dc290f3c81be3683a72f4c8762e22ab150ca7d52995665f965414", "categorized_nodes": 33}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "declaration", "text": "const char...
8,955
c
// // MDBaseCModel.h // MyDemo // // Created by 123 on 2017/12/15. // Copyright © 2017年 ct. All rights reserved. // #import <Foundation/Foundation.h> @interface MDBaseCModel : NSObject - (instancetype)initWithName:(NSString *)title classStr:(NSString *)classStr; @property (nonatomic, strong, readonly) NSString ...
28.54
13
(translation_unit) "//\n// MDBaseCModel.h\n// MyDemo\n//\n// Created by 123 on 2017/12/15.\n// Copyright © 2017年 ct. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n\n@interface MDBaseCModel : NSObject\n\n- (instancetype)initWithName:(NSString *)title classStr:(NSString *)classStr;\n\n@property (nona...
85
10
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 28.54, "nodes": 51, "errors": 0, "source_hash": "681247a29c8575f725ce3135d1fee5260b0aef394d8be830d8113ffb14a70a43", "categorized_nodes": 31}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "port <Fou...
8,956
c
/** * Copyright (c) 2016-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. */ #import <U...
44.93
15
(translation_unit) "/**\n * Copyright (c) 2016-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same ...
69
13
{"language": "c", "success": true, "metadata": {"lines": 15, "avg_line_length": 44.93, "nodes": 50, "errors": 0, "source_hash": "5adf1df9254a3962956a569e8890593f43bf76a3fcd34a5e26108c15c28ec14e", "categorized_nodes": 24}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <...
8,957
c
#include <types.h> #include <assert.h> #include <list.h> #include <paging.h> #include <kernel/mem.h> extern struct list buddy_free_list[]; /* Checks the number of free pages available in both base memory and high * memory. */ void lab1_check_free_list_avail(void) { struct page_info *page; struct list *node; siz...
28.38
184
(translation_unit) "#include <types.h>\n#include <assert.h>\n#include <list.h>\n#include <paging.h>\n\n#include <kernel/mem.h>\n\nextern struct list buddy_free_list[];\n\n/* Checks the number of free pages available in both base memory and high\n * memory.\n */\nvoid lab1_check_free_list_avail(void)\n{\n struct page_in...
1,532
2
{"language": "c", "success": true, "metadata": {"lines": 184, "avg_line_length": 28.38, "nodes": 924, "errors": 0, "source_hash": "4451393dc3fe11498829e10c07009b0d6cde19327e8d7f2fa7939c68b9524a37", "categorized_nodes": 681}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
8,958
c
#import <Foundation/Foundation.h> #import "DDXML.h" @interface AtomNamespace : NSObject { } + (DDXMLNode *)atom; + (DDXMLNode *)atomWithPrefix; + (DDXMLNode *)app; + (DDXMLNode *)appWithPrefix; + (DDXMLNode *)openSearch; + (DDXMLNode *)threading; @end
21.91
11
(translation_unit) "#import <Foundation/Foundation.h>\n#import "DDXML.h"\n\n@interface AtomNamespace : NSObject {\n}\n+ (DDXMLNode *)atom;\n+ (DDXMLNode *)atomWithPrefix;\n+ (DDXMLNode *)app;\n+ (DDXMLNode *)appWithPrefix;\n+ (DDXMLNode *)openSearch;\n+ (DDXMLNode *)threading;\n@end\n\n" (preproc_call) "#import <Foun...
95
5
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 21.91, "nodes": 63, "errors": 0, "source_hash": "936e2f6ee104a0202703013e04eb7f0567766861c7efae8512079692f98f492d", "categorized_nodes": 30}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <...
8,959
c
#ifndef Vector_H_INCLUDED #define Vector_H_INCLUDED typedef struct Vector { int len; double *v; } Vector; typedef struct Data { int len; double *ts; Vector *ys; } Data; typedef struct ErrorStep { Vector step; double error_est; } ErrorStep; // Vector Methods Vector ...
25.19
52
(translation_unit) "#ifndef Vector_H_INCLUDED \n#define Vector_H_INCLUDED \n \ntypedef struct Vector { \n int len; \n double *v; \n} Vector; \n \ntypedef struct Data { \n int len; \n double *ts; \n Vector *ys; \n} Data; \n \ntypedef struct ErrorStep { \n Vector step; \n double error_est; \n} ErrorS...
462
0
{"language": "c", "success": true, "metadata": {"lines": 52, "avg_line_length": 25.19, "nodes": 326, "errors": 0, "source_hash": "7ecbf32017b45d94759042266c97e1ffd39a6d7cf64919517b28027641b54994", "categorized_nodes": 251}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
8,960
c
#include<stdio.h> int function(int x,int y) { if(x>1) function(x-2,y+2); printf("%d ",y); } int main() { function(4,5); return 0; } //o/p //9 7 5
10.93
14
(translation_unit) "#include<stdio.h>\nint function(int x,int y)\n{\n if(x>1)\n function(x-2,y+2);\n printf("%d ",y);\n}\nint main()\n{\n function(4,5); \n return 0;\n}\n//o/p\n//9 7 5 \n\n" (preproc_include) "#include<stdio.h>\n" (#include) "#include" (system_lib_string) "<stdio.h>" (functio...
85
0
{"language": "c", "success": true, "metadata": {"lines": 14, "avg_line_length": 10.93, "nodes": 45, "errors": 0, "source_hash": "4c645b45add58843838ed1f83a90ce100d71c6b0dd525992e0e7b1650f25bb79", "categorized_nodes": 33}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
8,961
c
// SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) 2018 Intel Corporation * Copyright 2018 Google LLC. * * Author: <NAME> <<EMAIL>> * Author: <NAME> <<EMAIL>> */ #include <linux/vmalloc.h> #include "ipu3.h" #include "ipu3-css-pool.h" #include "ipu3-mmu.h" #include "ipu3-dmamap.h" /* * Free a buffer alloca...
27.44
215
(translation_unit) "// SPDX-License-Identifier: GPL-2.0\n/*\n * Copyright (C) 2018 Intel Corporation\n * Copyright 2018 Google LLC.\n *\n * Author: <NAME> <<EMAIL>>\n * Author: <NAME> <<EMAIL>>\n */\n\n#include <linux/vmalloc.h>\n\n#include "ipu3.h"\n#include "ipu3-css-pool.h"\n#include "ipu3-mmu.h"\n#include "ipu3-dma...
1,891
1
{"language": "c", "success": true, "metadata": {"lines": 215, "avg_line_length": 27.44, "nodes": 1212, "errors": 0, "source_hash": "a159f4785d89fae060db5c3d7a3167424882e427a8b529a0439d6a0d5f79eb0d", "categorized_nodes": 904}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#i...
8,962
c
#ifndef __ACTUATOR_CONTROLLER_H__ #define __ACTUATOR_CONTROLLER_H__ #include "Arm_Actuator_Properties.h" #include <string> #include <vector> #include <memory> #include <map> class Actuator_Controller { public: virtual void readState() = 0; virtual void writeCommand() = 0; virtual Arm_Actuator_Properties...
32.5
18
(translation_unit) "#ifndef __ACTUATOR_CONTROLLER_H__\n#define __ACTUATOR_CONTROLLER_H__\n\n#include "Arm_Actuator_Properties.h"\n\n#include <string>\n#include <vector>\n#include <memory>\n#include <map>\n\nclass Actuator_Controller\n{\npublic:\n virtual void readState() = 0;\n virtual void writeCommand() = 0;\n\...
147
9
{"language": "c", "success": true, "metadata": {"lines": 18, "avg_line_length": 32.5, "nodes": 100, "errors": 0, "source_hash": "e89b1f27690f9b4d68145fa3c6028c2bc0412288c89a119705d04509816a0423", "categorized_nodes": 67}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
8,963
c
/* * Copyright (c) 2014 CodiLime, Inc. All rights reserved. */ #ifndef SRC_BFD_BFD_CONTROL_PACKET_H_ #define SRC_BFD_BFD_CONTROL_PACKET_H_ #include <string> #include <boost/asio/ip/address.hpp> #include <base/parse_object.h> #include "bfd/bfd_common.h" class ParseContext; class EncodeContext; namespace BFD { str...
31.83
47
(ERROR) "/*\n * Copyright (c) 2014 CodiLime, Inc. All rights reserved.\n */\n\n#ifndef SRC_BFD_BFD_CONTROL_PACKET_H_\n#define SRC_BFD_BFD_CONTROL_PACKET_H_\n\n#include <string>\n#include <boost/asio/ip/address.hpp>\n#include <base/parse_object.h>\n\n#include "bfd/bfd_common.h"\n\nclass ParseContext;\nclass EncodeContex...
309
15
{"language": "c", "success": true, "metadata": {"lines": 47, "avg_line_length": 31.83, "nodes": 191, "errors": 0, "source_hash": "479e0f33ed8b7423be95dfaeab4e602a1954eae26adcfb15fb891fb4b55eb1bb", "categorized_nodes": 133}, "ast": {"root": "ERROR", "nodes": [{"id": 0, "type": "ERROR", "text": "/*\n * Copyright (c) 2014...
8,964
c
/* * NASA Docket No. GSC-18,370-1, and identified as "Operating System Abstraction Layer" * * Copyright (c) 2019 United States Government as represented by * the Administrator of the National Aeronautics and Space Administration. * All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the...
29.8
116
(translation_unit) "/*\n * NASA Docket No. GSC-18,370-1, and identified as "Operating System Abstraction Layer"\n *\n * Copyright (c) 2019 United States Government as represented by\n * the Administrator of the National Aeronautics and Space Administration.\n * All Rights Reserved.\n *\n * Licensed under the Apach...
212
0
{"language": "c", "success": true, "metadata": {"lines": 116, "avg_line_length": 29.8, "nodes": 135, "errors": 0, "source_hash": "6bcb1c6b88a3e4ad11cfe7006ec38aa0fba4b88061545c4e255d96ba352c2f67", "categorized_nodes": 111}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
8,965
c
// // Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43). // // Copyright (C) 1997-2019 <NAME>. // @protocol XCTSwiftErrorObservation_Overlay @optional + (XCTIssue * (^)(void))_observeErrors; + (_Bool)_installErrorObserver; @end
25.6
10
(translation_unit) "//\n// Generated by class-dump 3.5 (64 bit) (Debug version compiled May 11 2021 09:30:43).\n//\n// Copyright (C) 1997-2019 <NAME>.\n//\n\n@protocol XCTSwiftErrorObservation_Overlay\n\n@optional\n+ (XCTIssue * (^)(void))_observeErrors;\n+ (_Bool)_installErrorObserver;\n@end\n\n" (comment) "//"...
44
7
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 25.6, "nodes": 24, "errors": 0, "source_hash": "d0b429de66f711e8f5cf997caf416642a9458f3d7be03923a7ca4affc7fd1f8a", "categorized_nodes": 11}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "@protocol XCTSwif...
8,966
c
/* Generated by RuntimeBrowser Image: /System/Library/PrivateFrameworks/GeoServices.framework/Versions/A/GeoServices */ @interface GEOLogMsgPolicyConfiguration : NSObject { NSLock * _supportedPoliciesLock; } + (id)sharedLogMsgPolicyConfiguration; - (void).cxx_destruct; - (void)_configureSupportedLogMsgPolici...
30.36
14
(translation_unit) "/* Generated by RuntimeBrowser\n Image: /System/Library/PrivateFrameworks/GeoServices.framework/Versions/A/GeoServices\n */\n\n@interface GEOLogMsgPolicyConfiguration : NSObject {\n NSLock * _supportedPoliciesLock;\n}\n\n+ (id)sharedLogMsgPolicyConfiguration;\n\n- (void).cxx_destruct;\n- (void)...
102
7
{"language": "c", "success": true, "metadata": {"lines": 14, "avg_line_length": 30.36, "nodes": 59, "errors": 0, "source_hash": "c8c0ce8a599de170d5638d634f49673c1e9b21800527bb0106582f714be92362", "categorized_nodes": 33}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "@", "parent": nu...
8,967
c
#ifndef ITEM_H #define ITEM_H #include <string> #include <cstdint> #include <iostream> #include <memory> //for unique pointers that item can be assigned to outside of item class #include "Node.h" class Item { public: Item(); ~Item(); //for what type of item it is enum class ItemType : std::int8_t...
20
50
(translation_unit) "#ifndef ITEM_H\n#define ITEM_H\n\n#include <string>\n#include <cstdint>\n#include <iostream>\n#include <memory> //for unique pointers that item can be assigned to outside of item class\n#include "Node.h"\n\nclass Item\n{\npublic:\n Item();\n ~Item();\n \n //for what type of item it is\n ...
226
8
{"language": "c", "success": true, "metadata": {"lines": 50, "avg_line_length": 20.0, "nodes": 137, "errors": 0, "source_hash": "4f0639541fa39ba5f3f4296b09add217d2aaf32292dff258e8f4e6128ed887bb", "categorized_nodes": 94}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "#ifndef ITEM_H\n...
8,968
c
// // URCommonMarco.h // URFLLearn // // Created by <NAME> on 2018/5/4. // Copyright © 2018 <NAME>. All rights reserved. // #import <Foundation/Foundation.h> #define WeakSelf __weak __typeof(self) weakSelf = self; #define jumpViewController(name) id cls = [[NSClassFromString(name) alloc] init]; \ ...
53.64
14
(translation_unit) "//\n// URCommonMarco.h\n// URFLLearn\n//\n// Created by <NAME> on 2018/5/4.\n// Copyright © 2018 <NAME>. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n\n#define WeakSelf __weak __typeof(self) weakSelf = self;\n\n\n#define jumpViewController(name) id cls = [[NSClassFromString(...
23
0
{"language": "c", "success": true, "metadata": {"lines": 14, "avg_line_length": 53.64, "nodes": 12, "errors": 0, "source_hash": "1e820c1acbc139d83d51a79dadc7ef6f5dbe12338ce2d4d078bc6f126fe78b5c", "categorized_nodes": 5}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <Fo...
8,969
c
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ /* * File: GetHost.h * Author: yuanxueqi * * Created on 2019年3月27日, 下午3:55 */ #ifndef GETHOST_H #define GETHOST_H #include <i...
28.78
49
(translation_unit) "/*\n * To change this license header, choose License Headers in Project Properties.\n * To change this template file, choose Tools | Templates\n * and open the template in the editor.\n */\n\n/* \n * File: GetHost.h\n * Author: yuanxueqi\n *\n * Created on 2019年3月27日, 下午3:55\n */\n\n#ifndef GETHOS...
364
12
{"language": "c", "success": true, "metadata": {"lines": 49, "avg_line_length": 28.78, "nodes": 213, "errors": 0, "source_hash": "dee3b5e745d803d1af43f9739a397f89ba88e4a78f640523f82c6483695a16a1", "categorized_nodes": 160}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "THOST_...
8,970
c
// smtc_DefineEnum.h // #ifndef LZZ_smtc_DefineEnum_h #define LZZ_smtc_DefineEnum_h // semantic #include "smtc_EnumtorPtrVector.h" #include "smtc_NamePtr.h" #include "smtc_ScopePtr.h" // util #include "util_Loc.h" #define LZZ_INLINE inline namespace smtc { void defineEnum (ScopePtr const & scope, util::Loc const & ...
23.18
17
(translation_unit) "// smtc_DefineEnum.h\n//\n\n#ifndef LZZ_smtc_DefineEnum_h\n#define LZZ_smtc_DefineEnum_h\n// semantic\n#include "smtc_EnumtorPtrVector.h"\n#include "smtc_NamePtr.h"\n#include "smtc_ScopePtr.h"\n\n// util\n#include "util_Loc.h"\n#define LZZ_INLINE inline\nnamespace smtc\n{\n void defineEnum (ScopePt...
90
4
{"language": "c", "success": true, "metadata": {"lines": 17, "avg_line_length": 23.18, "nodes": 48, "errors": 0, "source_hash": "5ec1d4960f33ad13062a4f4edc4d07d58a27062682a0c9a72b2e913f10817151", "categorized_nodes": 38}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
8,971
c
//------------------------------------------------------------------------------ //Copyright <NAME>. //All Rights Reserved. //------------------------------------------------------------------------------ #pragma once #include "bobtypes.h" class Logger; class MapManager : public EnginePart { public: ArrayList<Ma...
26.67
134
(translation_unit) "//------------------------------------------------------------------------------\n//Copyright <NAME>.\n//All Rights Reserved.\n//------------------------------------------------------------------------------\n\n\n#pragma once\n#include "bobtypes.h"\nclass Logger;\n\n\n\n\nclass MapManager : public E...
801
45
{"language": "c", "success": true, "metadata": {"lines": 134, "avg_line_length": 26.67, "nodes": 561, "errors": 0, "source_hash": "01aca4d063dc9eeb2d26489396eb202d1a8efde77f547e0bd3a7b21e0d3a43bd", "categorized_nodes": 346}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragm...
8,972
c
// // ViewController.h // FelixTableView // // Created by weistek on 2019/2/13. // Copyright © 2019 weistek. All rights reserved. // #import <UIKit/UIKit.h> @interface ViewController : UIViewController @end
18.27
11
(translation_unit) "//\n// ViewController.h\n// FelixTableView\n//\n// Created by weistek on 2019/2/13.\n// Copyright © 2019 weistek. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n@interface ViewController : UIViewController\n\n\n@end\n\n" (comment) "//" (comment) "// ViewController.h" (comment) "// ...
22
4
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 18.27, "nodes": 11, "errors": 0, "source_hash": "4575d2ba4663f4aa5af77af5134b3cd31620736f238e2f897d4b71f8d9de98e7", "categorized_nodes": 6}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <UI...
8,973
c
/* * <legal_notice> * * BSD License 2.0 * * * * Copyright (c) 2021, MaxLinear, Inc. * * * * 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 not...
35.4
122
(translation_unit) "/*\n* <legal_notice>\n* * BSD License 2.0\n* *\n* * Copyright (c) 2021, MaxLinear, Inc.\n* *\n* * Redistribution and use in source and binary forms, with or without\n* * modification, are permitted provided that the following conditions are met:\n* * 1. Redistributions of source code must re...
263
0
{"language": "c", "success": true, "metadata": {"lines": 122, "avg_line_length": 35.4, "nodes": 165, "errors": 0, "source_hash": "a4f4e7d9a68920cdfb5faf9422b3ad67ca9207335763259caa9e2601893b4552", "categorized_nodes": 109}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
8,974
c
#include "tempSensor.h" #include "unity.h" /* Include files generated automatically generated by CMock. */ #include "mock_i2c.h" const uint8_t TEMP_REGISTER_ADDRESS = 0x03; const float TEMP_TOLERANCE = 0.1f; void setUp(void) { /* Do nothing. */ } void tearDown(void) { /* Do nothing. */ } void test_when...
30.52
42
(translation_unit) "#include "tempSensor.h"\n#include "unity.h"\n\n/* Include files generated automatically generated by CMock. */\n#include "mock_i2c.h"\n\n\nconst uint8_t TEMP_REGISTER_ADDRESS = 0x03;\nconst float TEMP_TOLERANCE = 0.1f;\n\n\nvoid setUp(void)\n{\n /* Do nothing. */\n}\n\n\nvoid tearDown(void)\n{\n ...
174
0
{"language": "c", "success": true, "metadata": {"lines": 42, "avg_line_length": 30.52, "nodes": 99, "errors": 0, "source_hash": "7c1020cfed44d11cb2e3c6964eeb533d482450e61c6d3a106d37222105693f57", "categorized_nodes": 63}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
8,975
c
// Copyright (C) <2021> Intel Corporation // // SPDX-License-Identifier: Apache-2.0 #ifndef OWT_BASE_WIN_DEVICE_INFO_MF_H #define OWT_BASE_WIN_DEVICE_INFO_MF_H #include <mfapi.h> #include <mferror.h> #include <mfidl.h> #include <mfreadwrite.h> #include <strsafe.h> #include <windows.h> #include "webrtc/modules/video_c...
36.74
65
(translation_unit) "// Copyright (C) <2021> Intel Corporation\n//\n// SPDX-License-Identifier: Apache-2.0\n\n#ifndef OWT_BASE_WIN_DEVICE_INFO_MF_H\n#define OWT_BASE_WIN_DEVICE_INFO_MF_H\n\n#include <mfapi.h>\n#include <mferror.h>\n#include <mfidl.h>\n#include <mfreadwrite.h>\n#include <strsafe.h>\n#include <windows.h>\...
305
8
{"language": "c", "success": true, "metadata": {"lines": 65, "avg_line_length": 36.74, "nodes": 201, "errors": 0, "source_hash": "1131940c6f957fa83eafe3da3365371cbaf4671f6e8b5f8e550b8f7246393279", "categorized_nodes": 123}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
8,976
c
/* * Vega Strike * Copyright (C) 2001-2002 <NAME> * * http://vegastrike.sourceforge.net/ * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your...
33.13
100
(translation_unit) "/*\n * Vega Strike\n * Copyright (C) 2001-2002 <NAME>\n *\n * http://vegastrike.sourceforge.net/\n *\n * This program is free software; you can redistribute it and/or\n * modify it under the terms of the GNU General Public License\n * as published by the Free Software Foundation; either version 2\n ...
468
11
{"language": "c", "success": true, "metadata": {"lines": 100, "avg_line_length": 33.13, "nodes": 272, "errors": 0, "source_hash": "d9e87fb8a290f22e1b0d1514485b61a0f1eaa75b018f07379e23c67f2ee92c9a", "categorized_nodes": 171}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
8,977
c
#ifndef NEEDSENGINE_H #define NEEDSENGINE_H #include <ICar.h> #include <DbcMacros.h> /** @file NeedsEngine.h @brief Declaration of car engine dependency injector. */ namespace BugTrap { /// \addtogroup ExampleCode Example code /// @{ /** @brief Engine dependency injector. @details This class...
17.9
89
(translation_unit) "#ifndef NEEDSENGINE_H\n#define NEEDSENGINE_H\n\n#include <ICar.h>\n#include <DbcMacros.h>\n\n/**\n @file NeedsEngine.h\n @brief Declaration of car engine dependency injector.\n */\n\nnamespace BugTrap\n{\n /// \addtogroup ExampleCode Example code\n /// @{\n \n /**\n @brief Engine dependen...
377
22
{"language": "c", "success": true, "metadata": {"lines": 89, "avg_line_length": 17.9, "nodes": 207, "errors": 0, "source_hash": "ab5e4cceccb6a0c251c10f53e17e24b9455fbd69713252f757fdff24a30f796b", "categorized_nodes": 137}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
8,978
c
#pragma once class TestClass; class Test2 { public: TestClass *obj; Test2(); Test2(TestClass *a); };
10.56
9
(translation_unit) "#pragma once\n\nclass TestClass;\n\nclass Test2\n{\npublic:\n TestClass *obj;\n Test2();\n Test2(TestClass *a);\n};\n" (preproc_call) "#pragma once\n" (preproc_directive) "#pragma" (preproc_arg) "once" (declaration) "class TestClass;" (type_identifier) "class" (identifier) "TestC...
43
0
{"language": "c", "success": true, "metadata": {"lines": 9, "avg_line_length": 10.56, "nodes": 23, "errors": 0, "source_hash": "7ff065939b8b440fce4d493c1dbc686ac0a1eb93e294824de05d04d60d4c9f5c", "categorized_nodes": 15}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma on...
8,979
c
#ifndef QUAMODBUSCOMMONWIDGETS_H #define QUAMODBUSCOMMONWIDGETS_H #include <QWidget> #include <QComboBox> class QUaModbusReadOnlyComboBox : public QComboBox { Q_OBJECT public: explicit QUaModbusReadOnlyComboBox(QWidget *parent = Q_NULLPTR); bool isReadOnly() const; void setReadOnly(const bool &bReadOnly); prot...
31.95
55
(translation_unit) "#ifndef QUAMODBUSCOMMONWIDGETS_H\n#define QUAMODBUSCOMMONWIDGETS_H\n\n#include <QWidget>\n#include <QComboBox>\n\nclass QUaModbusReadOnlyComboBox : public QComboBox\n{\n Q_OBJECT\n\npublic:\n explicit QUaModbusReadOnlyComboBox(QWidget *parent = Q_NULLPTR);\n\n bool isReadOnly() const;\n void setRead...
469
40
{"language": "c", "success": true, "metadata": {"lines": 55, "avg_line_length": 31.95, "nodes": 264, "errors": 0, "source_hash": "593a247d13ea06835c410007129d5f412ef1bda12d72387609b6fef5c1f00ef0", "categorized_nodes": 176}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
8,980
c
/* * This header is generated by classdump-dyld 1.0 * on Sunday, September 27, 2020 at 12:27:00 PM Mountain Standard Time * Operating System: Version 14.0 (Build 18A373) * Image Source: /System/Library/PrivateFrameworks/WorkflowEditor.framework/WorkflowEditor * classdump-dyld is licensed under GPLv3, Copyright © 2013-2...
34.94
33
(translation_unit) "/*\n* This header is generated by classdump-dyld 1.0\n* on Sunday, September 27, 2020 at 12:27:00 PM Mountain Standard Time\n* Operating System: Version 14.0 (Build 18A373)\n* Image Source: /System/Library/PrivateFrameworks/WorkflowEditor.framework/WorkflowEditor\n* classdump-dyld is licensed under ...
287
55
{"language": "c", "success": true, "metadata": {"lines": 33, "avg_line_length": 34.94, "nodes": 168, "errors": 0, "source_hash": "1ceffbe2b68886509159eaeff306df212d7bdfc244f4c2a264a13636f2dcf77f", "categorized_nodes": 95}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <...
8,981
c
/* * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) * From ASN.1 module "IEEE1609dot2BaseTypes" * found in "1609dot2-base-types.asn" * `asn1c -gen-OER` */ #include "SymmetricEncryptionKey.h" static int memb_aes128Ccm_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr, asn_app_constraint_failed_f...
28.82
87
(translation_unit) "/*\n * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)\n * From ASN.1 module "IEEE1609dot2BaseTypes"\n * found in "1609dot2-base-types.asn"\n * `asn1c -gen-OER`\n */\n\n#include "SymmetricEncryptionKey.h"\n\nstatic int\nmemb_aes128Ccm_constraint_1(asn_TYPE_descriptor_t *td, const void *sptr,\...
469
3
{"language": "c", "success": true, "metadata": {"lines": 87, "avg_line_length": 28.82, "nodes": 245, "errors": 0, "source_hash": "a9b0b1bd40d3c1f3cef32f9e737164a4cc3b774b273c4342e1dcf2123490e18e", "categorized_nodes": 180}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
8,982
c
/* MtCoder.h -- Multi-thread Coder 2009-11-19 : <NAME> : Public domain */ #ifndef __MT_CODER_H #define __MT_CODER_H #include "Threads.h" EXTERN_C_BEGIN typedef struct { CThread thread; CAutoResetEvent startEvent; CAutoResetEvent finishedEvent; int stop; THREAD_FUNC_TYPE func; LPVOID...
20.08
98
(translation_unit) "/* MtCoder.h -- Multi-thread Coder \n2009-11-19 : <NAME> : Public domain */ \n \n#ifndef __MT_CODER_H \n#define __MT_CODER_H \n \n#include "Threads.h" \n \nEXTERN_C_BEGIN \n \ntypedef struct \n{ \n CThread thread; \n CAutoResetEvent startEvent; \n CAutoResetEvent finishedEvent; \n int stop; \n ...
459
1
{"language": "c", "success": true, "metadata": {"lines": 98, "avg_line_length": 20.08, "nodes": 342, "errors": 0, "source_hash": "bfc71c4c74b4eab61ef74ed85331662dc9211786d727806a51066fc3719ea0b7", "categorized_nodes": 247}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
8,983
c
// Copyright 2001-2005 Omni Development, Inc. All rights reserved. // // This software may only be used and reproduced according to the // terms in the file OmniSourceLicense.html, which should be // distributed with this project and can also be found at // <http://www.omnigroup.com/developer/sourcecode/sourcelicense/...
35.2
20
(translation_unit) "// Copyright 2001-2005 Omni Development, Inc. All rights reserved.\n//\n// This software may only be used and reproduced according to the\n// terms in the file OmniSourceLicense.html, which should be\n// distributed with this project and can also be found at\n// <http://www.omnigroup.com/developer/...
101
11
{"language": "c", "success": true, "metadata": {"lines": 20, "avg_line_length": 35.2, "nodes": 64, "errors": 0, "source_hash": "9ab331d76a2de0df923881a4789a8c87341d134901e5b86f48abbaece486eeb2", "categorized_nodes": 37}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <F...
8,984
c
// // FriendsListViewModel.h // MVVMDemo // // Created by <NAME> on 2017/4/24. // Copyright © 2017年 Joseph. All rights reserved. // #import <Foundation/Foundation.h> #import "BaseViewModel.h" #import "Person.h" @interface FriendsListViewModel : BaseViewModel @property (nonatomic, strong) NSArray *friendsList; @...
29.41
17
(translation_unit) "//\n// FriendsListViewModel.h\n// MVVMDemo\n//\n// Created by <NAME> on 2017/4/24.\n// Copyright © 2017年 Joseph. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n#import "BaseViewModel.h"\n#import "Person.h"\n\n@interface FriendsListViewModel : BaseViewModel\n\n@property (nonatomic...
114
22
{"language": "c", "success": true, "metadata": {"lines": 17, "avg_line_length": 29.41, "nodes": 85, "errors": 0, "source_hash": "9cfbf2a7d0bfee2a0770e5ad1c38bce66e537fffdfa03997036dc1da400ea6e1", "categorized_nodes": 42}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "port <Fou...
8,985
c
/***************************************************************************** * * Filename: * --------- * catc24c16.h * * Project: * -------- * ALPS * * Description: * ------------ * Header file of CAM_CAL driver * * * Author: * ------- * <NAME> (MTK07407) * *================================...
24.34
29
(translation_unit) "/*****************************************************************************\n *\n * Filename:\n * ---------\n * catc24c16.h\n *\n * Project:\n * --------\n * ALPS\n *\n * Description:\n * ------------\n * Header file of CAM_CAL driver\n *\n *\n * Author:\n * -------\n * <NAME> (MTK07407)\...
23
0
{"language": "c", "success": true, "metadata": {"lines": 29, "avg_line_length": 24.34, "nodes": 15, "errors": 0, "source_hash": "0834e98fac923dbf67570969fd4063b6efb28ed72975257de4a4252059b8f50d", "categorized_nodes": 7}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef _...
8,986
c
#ifndef ENTRYEDITOR_H #define ENTRYEDITOR_H #include <vector> #include <QDialog> #include <QFileDialog> #include <QListWidgetItem> #include <QFile> #include <QMessageBox> #include "displaytab.h" #include "programinfo.h" namespace Ui { class entryEditor; } class entryEditor : public QDialog{ Q_OBJECT public: /*...
27.8
35
(translation_unit) "#ifndef ENTRYEDITOR_H\n#define ENTRYEDITOR_H\n\n#include <vector>\n\n#include <QDialog>\n#include <QFileDialog>\n#include <QListWidgetItem>\n#include <QFile>\n#include <QMessageBox>\n\n#include "displaytab.h"\n#include "programinfo.h"\n\nnamespace Ui {\n class entryEditor;\n}\n\nclass entryEditor : ...
172
5
{"language": "c", "success": true, "metadata": {"lines": 35, "avg_line_length": 27.8, "nodes": 107, "errors": 0, "source_hash": "2ae13271c9e899e85b2838e71afca9424d176a684baef734f3da15a13c52d4c2", "categorized_nodes": 80}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
8,987
c
/* Generated by RuntimeBrowser Image: /System/Library/PrivateFrameworks/MusicLibrary.framework/MusicLibrary */ @interface MIPTVShow : PBCodable <NSCopying> { MIPArtist * _artist; NSString * _episodeId; NSString * _episodeSortId; struct { unsigned int seasonNumber : 1; unsigned int...
30.42
64
(translation_unit) "/* Generated by RuntimeBrowser\n Image: /System/Library/PrivateFrameworks/MusicLibrary.framework/MusicLibrary\n */\n\n@interface MIPTVShow : PBCodable <NSCopying> {\n MIPArtist * _artist;\n NSString * _episodeId;\n NSString * _episodeSortId;\n struct { \n unsigned int seasonNumb...
730
54
{"language": "c", "success": true, "metadata": {"lines": 64, "avg_line_length": 30.42, "nodes": 457, "errors": 0, "source_hash": "e17bcd48eb86af47555cff6b6a9cc1e3a867a13919c79b03acc86232f7801d8c", "categorized_nodes": 264}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "@", "parent": ...
8,988
c
#include <stdio.h> #include <cs50.h> #include <math.h> int main(void) { int quater = 0; int dime = 0; int nickle = 0; int penny = 0; int count = 0; float owed; // asking the user for how much owed. do { owed = get_float("how much are you owed \n"); } while(owed < 0...
18.17
46
(translation_unit) "#include <stdio.h>\n#include <cs50.h>\n#include <math.h>\n\nint main(void)\n{\n\n int quater = 0;\n int dime = 0;\n int nickle = 0;\n int penny = 0;\n int count = 0;\n float owed;\n\n // asking the user for how much owed.\n do\n {\n owed = get_float("how much are yo...
255
0
{"language": "c", "success": true, "metadata": {"lines": 46, "avg_line_length": 18.17, "nodes": 164, "errors": 0, "source_hash": "cb4750ea417965ef1575d3bfdd9d78dfbff6f15d1e7eea7ba8e2e6ff5e654eac", "categorized_nodes": 111}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
8,989
c
#ifndef DALI_EXTENSION_INTERNAL_EVAS_WRAPPER #define DALI_EXTENSION_INTERNAL_EVAS_WRAPPER /* * Copyright ( c ) 2019 Samsung Electronics 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 ...
28.18
99
(translation_unit) "#ifndef DALI_EXTENSION_INTERNAL_EVAS_WRAPPER\n#define DALI_EXTENSION_INTERNAL_EVAS_WRAPPER\n\n/*\n * Copyright ( c ) 2019 Samsung Electronics 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 * Y...
220
7
{"language": "c", "success": true, "metadata": {"lines": 99, "avg_line_length": 28.18, "nodes": 135, "errors": 0, "source_hash": "2e95cab96779048e3498197e6355ef43f6c055e3d112fd51c1cbcac5152f2ae5", "categorized_nodes": 91}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
8,990
c
// // UIWindow+Launch.h // Wifi // // Created by AYuan on 15/11/19. // Copyright (c) 2015年 ayuan. All rights reserved. // #import <UIKit/UIKit.h> @interface UIWindow (Launch) /** * 主window */ +(UIWindow *)appWindow; @end
7.13
30
(translation_unit) "//\n// UIWindow+Launch.h\n// Wifi\n//\n// Created by AYuan on 15/11/19.\n// Copyright (c) 2015年 ayuan. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface UIWindow (Launch)\n\n\n/**\n * 主window\n */\n+(UIWindow *)appWindow;\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n...
38
4
{"language": "c", "success": true, "metadata": {"lines": 30, "avg_line_length": 7.13, "nodes": 21, "errors": 0, "source_hash": "33479a030330a1e9f2592de694b9db33a23f660147a960ba4ffafcf0b2c52caf", "categorized_nodes": 10}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "mport <UIK...
8,991
c
/* * Copyright 2018 GoPro Inc. * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Vers...
31.21
92
(translation_unit) "/*\n * Copyright 2018 GoPro Inc.\n *\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements. See the NOTICE file\n * distributed with this work for additional information\n * regarding copyright ownership. The ASF licenses this file\n * to you und...
247
0
{"language": "c", "success": true, "metadata": {"lines": 92, "avg_line_length": 31.21, "nodes": 168, "errors": 0, "source_hash": "25643b48c32cabb177642e650d0e7ed5f79cfa3acff5db600c52642ff37b49c7", "categorized_nodes": 154}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
8,992
c
#include "sgx_ocall.h" #include "sgx_urts.h" #include "Enclave_u.h" #include <sys/types.h> #include <pwd.h> int ocall_clock_gettime(clockid_t clk_id, struct timespec *tp) { return clock_gettime(clk_id, tp); } TPM_RESULT SWTPM_NVRAM_Init(void); TPM_RESULT SWTPM_NVRAM_LoadData_ocall(unsigned char *data, uint32_t l...
31.95
231
(translation_unit) "#include "sgx_ocall.h"\n#include "sgx_urts.h"\n#include "Enclave_u.h"\n#include <sys/types.h>\n#include <pwd.h>\n\nint ocall_clock_gettime(clockid_t clk_id, struct timespec *tp) {\n return clock_gettime(clk_id, tp);\n}\n\nTPM_RESULT SWTPM_NVRAM_Init(void);\nTPM_RESULT SWTPM_NVRAM_LoadData_ocall(...
1,684
0
{"language": "c", "success": true, "metadata": {"lines": 231, "avg_line_length": 31.95, "nodes": 942, "errors": 0, "source_hash": "86de4ed9e7b9a6e278f29bba053492ab84b1f775ed0d4f5ee95c1c861aec834c", "categorized_nodes": 604}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
8,993
c
//--------------------------------------------------------------------- // <copyright file="code_generation_helper.h" company="Microsoft"> // Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information. // </copyright> //-----------------------------------...
29.82
74
(translation_unit) "---------------------------------------------------------------------\n// <copyright file="code_generation_helper.h" company="Microsoft">\n// Copyright (C) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.\n// </copyright>\n//--------------...
647
30
{"language": "c", "success": true, "metadata": {"lines": 74, "avg_line_length": 29.82, "nodes": 381, "errors": 0, "source_hash": "499a6e95636b1807bb0eed0b6c582145541e0befcf41739842f44ce94fd64c2f", "categorized_nodes": 253}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "ragma o...
8,994
c
// Copyright 2015 XLGAMES Inc. // // Distributed under the MIT License (See // accompanying file "LICENSE" or the website // http://www.opensource.org/licenses/mit-license.php) #pragma once #include "../IDevice.h" #include "../IThreadContext.h" #include "Metal/DX11.h" namespace RenderCore { namespace Metal_DX11 ...
33.73
33
(translation_unit) "// Copyright 2015 XLGAMES Inc.\n//\n// Distributed under the MIT License (See\n// accompanying file "LICENSE" or the website\n// http://www.opensource.org/licenses/mit-license.php)\n\n#pragma once\n\n#include "../IDevice.h"\n#include "../IThreadContext.h"\n#include "Metal/DX11.h"\n\nnamespace Render...
171
6
{"language": "c", "success": true, "metadata": {"lines": 33, "avg_line_length": 33.73, "nodes": 96, "errors": 0, "source_hash": "a01db8eade245f86f7b152103700afe98b00638ac164fd9a1be3e16ebb202185", "categorized_nodes": 63}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
8,995
c
/* * This file and its contents are licensed under the Timescale License. * Please see the included NOTICE for copyright information and * LICENSE-TIMESCALE for a copy of the license. */ #ifndef TIMESCALEDB_TSL_PARTIALIZE_FINALIZE_H #define TIMESCALEDB_TSL_PARTIALIZE_FINALIZE_H #include <postgres.h> #include <fmg...
34
14
(translation_unit) "/*\n * This file and its contents are licensed under the Timescale License.\n * Please see the included NOTICE for copyright information and\n * LICENSE-TIMESCALE for a copy of the license.\n */\n\n#ifndef TIMESCALEDB_TSL_PARTIALIZE_FINALIZE_H\n#define TIMESCALEDB_TSL_PARTIALIZE_FINALIZE_H\n\n#inclu...
51
0
{"language": "c", "success": true, "metadata": {"lines": 14, "avg_line_length": 34.0, "nodes": 37, "errors": 0, "source_hash": "d201df04acb3ae3fbfcc82f878d429e297ce03862c52861feb87a0b77fd4141b", "categorized_nodes": 32}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef T...
8,996
c
//////////////////////////////////////////////////////////////////////////// // Module : guid_generator.h // Created : 21.03.2005 // Modified : 21.03.2005 // Author : <NAME> // Description : GUID generator //////////////////////////////////////////////////////////////////////////// #pragma once #inclu...
27.38
13
(translation_unit) "//////////////////////////////////////////////////////////////////////////// \n// Module : guid_generator.h \n// Created : 21.03.2005 \n// Modified : 21.03.2005 \n// Author : <NAME> \n// Description : GUID generator \n////////////////////////////////////////////////////////////////////////////...
27
0
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 27.38, "nodes": 13, "errors": 0, "source_hash": "cc856cbc4d653d7f35fa62ad6674185e0bcf175246eaefc611ef1d4af4330064", "categorized_nodes": 9}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma on...
8,997
c
/******************************************************** * token -- token handling module * * * * Functions: * * next_token -- get the next token from the input * ********************************************************/ #include <stdio.h> #include <stdlib.h> #include "ch_type.h" #include "in_file.h...
25.32
136
(translation_unit) "/********************************************************\n * token -- token handling module *\n * *\n * Functions: *\n * next_token -- get the next token from the input *\n ********************************************************/\n#include <stdio.h>\n#include <stdlib.h>\n\n#include "c...
839
0
{"language": "c", "success": true, "metadata": {"lines": 136, "avg_line_length": 25.32, "nodes": 435, "errors": 0, "source_hash": "a1d1f1accb94b6f578aec58eacde0eca7d5864120e58d923d315dc83a6c5a9a0", "categorized_nodes": 315}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
8,998
c
/******************************************************************************* * DANIEL'S ALGORITHM IMPLEMENTAIONS * * /\ | _ _ ._ o _|_ |_ ._ _ _ * /--\ | (_| (_) | | |_ | | | | | _> * _| * * STACK * * Features: * 1. Stack with capcity * * http://en.wikipedia....
23.67
107
(translation_unit) "/*******************************************************************************\n * DANIEL'S ALGORITHM IMPLEMENTAIONS\n *\n * /\ | _ _ ._ o _|_ |_ ._ _ _ \n * /--\ | (_| (_) | | |_ | | | | | _> \n * _| \n *\n * STACK\n *\n * Features:\n * 1. Stack with capcit...
491
22
{"language": "c", "success": true, "metadata": {"lines": 107, "avg_line_length": 23.67, "nodes": 255, "errors": 0, "source_hash": "4971c421ffbf924c072d5ca97d87c14ee53215439a331d000818be1536b51046", "categorized_nodes": 171}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
8,999