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
// // OCHamcrest - HCIsEmptyCollection.h // Copyright 2012 hamcrest.org. See LICENSE.txt // // Created by: <NAME> // #import <OCHamcrestIOS/HCHasCount.h> @interface HCIsEmptyCollection : HCHasCount + (id)isEmptyCollection; - (id)init; @end OBJC_EXPORT id<HCMatcher> HC_empty(); /** Matches empty collectio...
24.08
26
(translation_unit) "//\n// OCHamcrest - HCIsEmptyCollection.h\n// Copyright 2012 hamcrest.org. See LICENSE.txt\n//\n// Created by: <NAME>\n//\n\n#import <OCHamcrestIOS/HCHasCount.h>\n\n\n@interface HCIsEmptyCollection : HCHasCount\n\n+ (id)isEmptyCollection;\n- (id)init;\n\n@end\n\n\nOBJC_EXPORT id<HCMatcher> HC_emp...
69
4
{"language": "c", "success": true, "metadata": {"lines": 26, "avg_line_length": 24.08, "nodes": 44, "errors": 0, "source_hash": "6b6d206de6ca54e843bd76d43c1470a86ae3bedace8e962584cef26af04bb5a6", "categorized_nodes": 27}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <...
9,800
c
/// @file: UVCAN generated header file describing the object dictionary /// of this device. DO NOT EDIT DIRECTLY #ifndef can_uv0d #define can_uv0d #include <stdint.h> #include <string.h> #define UV0D_NODEID 0xd #define UV0D_VENDOR_ID 0x49b #define UV0D_PRODUCT_CODE 0x0 #define UV0D_REVISION...
34.24
84
(translation_unit) "/// @file: UVCAN generated header file describing the object dictionary\n/// of this device. DO NOT EDIT DIRECTLY\n\n#ifndef can_uv0d\n#define can_uv0d\n\n#include <stdint.h>\n#include <string.h>\n\n#define UV0D_NODEID 0xd\n\n\n\n#define UV0D_VENDOR_ID 0x49b\n\n\n#define UV0D_PRODUCT_CO...
279
0
{"language": "c", "success": true, "metadata": {"lines": 84, "avg_line_length": 34.24, "nodes": 257, "errors": 0, "source_hash": "aca1816ff85393640b6b06f82808fa93f56e333f34e2ab6e950f9ff7fa155d57", "categorized_nodes": 91}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
9,801
c
/** * @file client_socket.h * @brief TCP/IP通信用ソケットクラス(クライアント用) * @author <NAME> * @details TCP/IPソケットの操作をより抽象化したインターフェイスを提供する(クライアント用). */ #pragma once #include "socket_base.h" #include <string> /** * @brief クライアント用TCP/IPソケットクラス * @remark heisでは、JSON(文字列データ)のみ取り扱うため、データはstd::string型で持つものとする。 */ class CClientSock...
20.26
27
(translation_unit) "*\n* @file client_socket.h\n* @brief TCP/IP通信用ソケットクラス(クライアント用)\n* @author <NAME>\n* @details TCP/IPソケットの操作をより抽象化したインターフェイスを提供する(クライアント用).\n*/\n#pragma once\n\n#include "socket_base.h"\n\n#include <string>\n\n/**\n* @brief クライアント用TCP/IPソケットクラス\n* @remark heisでは、JSON(文字列データ)のみ取り扱うため、データはstd::string...
87
3
{"language": "c", "success": true, "metadata": {"lines": 27, "avg_line_length": 20.26, "nodes": 48, "errors": 0, "source_hash": "5f55a3c575e0f6aa8fa464d674398de68187942eeef749b87cbb88d42519c3a8", "categorized_nodes": 33}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "\u306f\u3...
9,802
c
// // bpHelper.h // BPKITsDemo // // Created by LiHaozhen on 14/11/28. // Copyright (c) 2014年 ihojin. All rights reserved. // #ifndef BPKITsDemo_bpHelper_h #define BPKITsDemo_bpHelper_h #import "BPDismissWhenTapOutGesture.h" #import "BPSoundEffectPlayer.h" #import "WGS84ToGCJ02.h" #endif
20
14
(translation_unit) "//\n// bpHelper.h\n// BPKITsDemo\n//\n// Created by LiHaozhen on 14/11/28.\n// Copyright (c) 2014年 ihojin. All rights reserved.\n//\n\n#ifndef BPKITsDemo_bpHelper_h\n#define BPKITsDemo_bpHelper_h\n\n\n#import "BPDismissWhenTapOutGesture.h"\n#import "BPSoundEffectPlayer.h"\n#import "WGS84ToGCJ02....
24
0
{"language": "c", "success": true, "metadata": {"lines": 14, "avg_line_length": 20.0, "nodes": 16, "errors": 0, "source_hash": "21a4477214b5f5ad46a6e14b7d5b643c2003a6cef255e37537ab47677eea259a", "categorized_nodes": 8}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "fndef BPKI...
9,803
c
/* * Copyright (C) 2019 Apple Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions a...
39.85
91
(translation_unit) "/*\n * Copyright (C) 2019 Apple Inc. All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions\n * are met:\n * 1. Redistributions of source code must retain the above copyright\n * notice...
754
101
{"language": "c", "success": true, "metadata": {"lines": 91, "avg_line_length": 39.85, "nodes": 524, "errors": 0, "source_hash": "75c67f76263550750ba07af5a244f2ab99bcb38ea51839461dbb6497614e3edd", "categorized_nodes": 303}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
9,804
c
/* * * Common security related functions for OMAP devices * * (C) Copyright 2016 * Texas Instruments, <www.ti.com> * * <NAME> <<EMAIL>> * <NAME> <<EMAIL>> * * SPDX-License-Identifier: GPL-2.0+ */ #include <common.h> #include <stdarg.h> #include <asm/arch/sys_proto.h> #include <asm/omap_common.h> #include <...
29.38
113
(translation_unit) "/*\n *\n * Common security related functions for OMAP devices\n *\n * (C) Copyright 2016\n * Texas Instruments, <www.ti.com>\n *\n * <NAME> <<EMAIL>>\n * <NAME> <<EMAIL>>\n *\n * SPDX-License-Identifier: GPL-2.0+\n */\n\n#include <common.h>\n#include <stdarg.h>\n\n#include <asm/arch/sys_proto.h>\n#i...
779
0
{"language": "c", "success": true, "metadata": {"lines": 113, "avg_line_length": 29.38, "nodes": 477, "errors": 0, "source_hash": "3b16bd7caa750dc4a3140d04cc3b675a46ac97b1929b2d7084c2be3355d54f54", "categorized_nodes": 330}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
9,805
c
// // TipNoticeView.h // Tip // // Created by <NAME> on 1/20/20. // Copyright © 2020 <NAME>. All rights reserved. // #import <Cocoa/Cocoa.h> #import "TipItem.h" NS_ASSUME_NONNULL_BEGIN typedef NS_ENUM(NSInteger, TipNoticeViewAction) { TipNoticeViewActionNone, TipNoticeViewActionOpenConsole, TipNotice...
25.58
26
(translation_unit) "//\n// TipNoticeView.h\n// Tip\n//\n// Created by <NAME> on 1/20/20.\n// Copyright © 2020 <NAME>. All rights reserved.\n//\n\n#import <Cocoa/Cocoa.h>\n#import "TipItem.h"\n\nNS_ASSUME_NONNULL_BEGIN\n\ntypedef NS_ENUM(NSInteger, TipNoticeViewAction) {\n TipNoticeViewActionNone,\n TipNoticeV...
127
23
{"language": "c", "success": true, "metadata": {"lines": 26, "avg_line_length": 25.58, "nodes": 88, "errors": 0, "source_hash": "7d9706db23ecba75f392d0c00bcd7be5782850535033f3b3d9a61d9d5f207883", "categorized_nodes": 53}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <C...
9,806
c
/* Copyright (C) 2012-2014 <NAME>, <<EMAIL>> All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless require...
29.16
264
(translation_unit) "/*\n Copyright (C) 2012-2014 <NAME>, <<EMAIL>>\n All rights reserved.\n\n Licensed under the Apache License, Version 2.0 (the "License");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LI...
2,593
138
{"language": "c", "success": true, "metadata": {"lines": 264, "avg_line_length": 29.16, "nodes": 1608, "errors": 0, "source_hash": "2f7bb03f285e63df3f9d9fe072b69501998a98b6bcff2fe99187673d6a069fde", "categorized_nodes": 1066}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#if...
9,807
c
/* BFD back end for traditional Unix core files (U-area and raw sections) Copyright (C) 1988-2015 Free Software Foundation, Inc. Written by <NAME> of Cygnus Support. This file is part of BFD, the Binary File Descriptor library. This program is free software; you can redistribute it and/or modify it und...
34.3
273
(translation_unit) "/* BFD back end for traditional Unix core files (U-area and raw sections)\n Copyright (C) 1988-2015 Free Software Foundation, Inc.\n Written by <NAME> of Cygnus Support.\n\n This file is part of BFD, the Binary File Descriptor library.\n\n This program is free software; you can redistribute ...
1,477
10
{"language": "c", "success": true, "metadata": {"lines": 273, "avg_line_length": 34.3, "nodes": 938, "errors": 0, "source_hash": "fa0feac4f11eec4da912c603c9be1edfa3ce80472cd194d90bc6019e3f10ca6e", "categorized_nodes": 694}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
9,808
c
#include <ic_stdc.h> ic_tmbinfo_t * __cdecl __ic_update_minfo (void) { ic_tmbinfo_t *pmi; ic_thrdata_t ptd = _ic_getthrdata (); if ((ptd->_ownlocale & __ic_global_locale_status) != 0 && ptd->ptlocinfo) { if (!(pmi = ptd->ptmbcinfo)) _ic_amsg_exit (_ICRT_LOCALE_INIT_FAILED); return pmi; ...
26.61
28
(translation_unit) "#include <ic_stdc.h>\n\nic_tmbinfo_t * __cdecl\n__ic_update_minfo (void)\n{\n ic_tmbinfo_t *pmi;\n\n ic_thrdata_t ptd = _ic_getthrdata ();\n if ((ptd->_ownlocale & __ic_global_locale_status) != 0\n && ptd->ptlocinfo)\n {\n if (!(pmi = ptd->ptmbcinfo))\n _ic_amsg_exit (_ICRT_LOCALE_I...
229
2
{"language": "c", "success": true, "metadata": {"lines": 28, "avg_line_length": 26.61, "nodes": 145, "errors": 0, "source_hash": "ce51153b67cb7f43d1ec4c65821adee5893707ca417304f2a41b7fc5452f452f", "categorized_nodes": 108}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
9,809
c
//WAP to Copy One String into Another #include <stdio.h> #include <stdlib.h> #include<string.h> int main() { char name[20],name1[20]; char strg[20]; printf("Enter your String:"); gets(name); strcpy(strg,name); printf("The String after Copy %s\n",strg); return 0; }
19.43
14
(translation_unit) "//WAP to Copy One String into Another \n#include <stdio.h>\n#include <stdlib.h>\n#include<string.h>\nint main()\n{\n char name[20],name1[20];\n char strg[20];\n printf("Enter your String:");\n gets(name);\n strcpy(strg,name);\n printf("The String after Copy %s\n",strg);\n\n return 0;\n}...
90
0
{"language": "c", "success": true, "metadata": {"lines": 14, "avg_line_length": 19.43, "nodes": 48, "errors": 0, "source_hash": "c2fbe9ac2d4938353367d113bcc0651dcbfa964230a328ffa54be9ebba99ad3d", "categorized_nodes": 36}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
9,810
c
#ifndef ADC_H #define ADC_H #include "PeripheryElement.h" enum class ADCReference { AREF, AVCC, INTERNAL, RESERVED }; enum class ADCPrescaler { Scale2, Scale4, Scale8, Scale16, Scale32, Scale64, Scale128 }; enum class TriggerSource { FreeRunning, AnalogComparator,...
17.33
48
(translation_unit) "#ifndef ADC_H\n#define ADC_H\n\n#include "PeripheryElement.h"\n\nenum class ADCReference\n{\n AREF,\n AVCC,\n INTERNAL,\n RESERVED\n};\n\nenum class ADCPrescaler\n{\n Scale2,\n Scale4,\n Scale8,\n Scale16,\n Scale32,\n Scale64,\n Scale128\n};\n\nenum class TriggerSou...
204
6
{"language": "c", "success": true, "metadata": {"lines": 48, "avg_line_length": 17.33, "nodes": 126, "errors": 0, "source_hash": "e284409b63c19cc5678a4f0665663cd9a8f0dc24134be9a71e129467e5511cb3", "categorized_nodes": 97}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "#ifndef ADC_H\n...
9,811
c
/* Файл : nyan_vis_3dlevel.с Описание: Вывод 3d уровней История : 13.03.13 Создан */ #include <stdlib.h> #include <string.h> #include <math.h> #include "nyan_publicapi.h" #include "nyan_text.h" #include "nyan_vis_init.h" #include "nyan_vis_draw.h" #include "nyan_vis_texture.h" #include "nyan_vis_3dlevel.h" #i...
24.16
31
(translation_unit) "/*\n Файл : nyan_vis_3dlevel.с\n\n Описание: Вывод 3d уровней\n\n История : 13.03.13 Создан\n\n*/\n\n#include <stdlib.h>\n#include <string.h>\n#include <math.h>\n\n#include "nyan_publicapi.h"\n#include "nyan_text.h"\n\n#include "nyan_vis_init.h"\n#include "nyan_vis_draw.h"\n#include "nyan_vis_textur...
146
0
{"language": "c", "success": true, "metadata": {"lines": 31, "avg_line_length": 24.16, "nodes": 82, "errors": 0, "source_hash": "fdfff1d58d6e2db6ddbb2178f086145f52b84453170b0585fa987cff3d8f214b", "categorized_nodes": 72}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": ">\n#in...
9,812
c
/* * Copyright (C) 2017 Hibate <<EMAIL>> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ...
29.7
27
(translation_unit) "/*\n * Copyright (C) 2017 Hibate <<EMAIL>>\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless r...
36
0
{"language": "c", "success": true, "metadata": {"lines": 27, "avg_line_length": 29.7, "nodes": 28, "errors": 0, "source_hash": "d4372d927054725124b5b3c3e6f398f653f6300de3f1de446bc3a93110ee9ffe", "categorized_nodes": 22}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "f HB_TIME...
9,813
c
/* * author : <NAME> * since : Mon Feb 11 2019 18:15:22 */ #ifndef _35DE29D2_7134_13F9_114F_C0A0F70B9A0E #define _35DE29D2_7134_13F9_114F_C0A0F70B9A0E #include "file_list.h" #include "window.h" namespace ui { class FileWindow : public Window { FileList list_; public: FileWindow(const std::string& path);...
21.74
19
(translation_unit) "/*\n * author : <NAME>\n * since : Mon Feb 11 2019 18:15:22\n */\n#ifndef _35DE29D2_7134_13F9_114F_C0A0F70B9A0E\n#define _35DE29D2_7134_13F9_114F_C0A0F70B9A0E\n\n#include "file_list.h"\n#include "window.h"\n\nnamespace ui\n{\n\nclass FileWindow : public Window\n{\n FileList list_;\n\npublic:\n ...
84
4
{"language": "c", "success": true, "metadata": {"lines": 19, "avg_line_length": 21.74, "nodes": 42, "errors": 0, "source_hash": "8370b111c7a54a2b24afaed30fc0aeb08dc9c75b037b1250a4cccbb3c4964fe6", "categorized_nodes": 32}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
9,814
c
/* * Copyright (C) <NAME> * Copyright (C) Nginx, Inc. */ #include <ngx_config.h> #include <ngx_core.h> #include <ngx_event.h> ssize_t ngx_wsasend(ngx_connection_t *c, u_char *buf, size_t size) { int n; u_long sent; ngx_err_t err; ngx_event_t *wev; WSABUF wsabuf; ...
29.21
134
(translation_unit) "/*\n * Copyright (C) <NAME>\n * Copyright (C) Nginx, Inc.\n */\n\n\n#include <ngx_config.h>\n#include <ngx_core.h>\n#include <ngx_event.h>\n\n\nssize_t\nngx_wsasend(ngx_connection_t *c, u_char *buf, size_t size)\n{\n int n;\n u_long sent;\n ngx_err_t err;\n ngx_event...
917
0
{"language": "c", "success": true, "metadata": {"lines": 134, "avg_line_length": 29.21, "nodes": 518, "errors": 0, "source_hash": "967ada383cabc63349a8f3a9bff7299ea2293c9f1c8bed4c88604a325f2a2858", "categorized_nodes": 428}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
9,815
c
// ZlibC.h #pragma once extern "C" { __declspec(dllexport) int _uncompress(unsigned char dest[], unsigned long destLen, unsigned char src[], unsigned long srcLen); }
32.4
5
(translation_unit) "// ZlibC.h\n\n#pragma once\n\nextern "C" {\n __declspec(dllexport) int _uncompress(unsigned char dest[], unsigned long destLen, unsigned char src[], unsigned long srcLen);\n}" (comment) "// ZlibC.h" (preproc_call) "#pragma once\n" (preproc_directive) "#pragma" (preproc_arg) "once" (lin...
56
0
{"language": "c", "success": true, "metadata": {"lines": 5, "avg_line_length": 32.4, "nodes": 36, "errors": 0, "source_hash": "9b53d786e682bae5e004a6267ea19097c7df4549b89991dd932dffb2cc95836f", "categorized_nodes": 20}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma onc...
9,816
c
// -*- c++ -*- // Copyright (c) 2019, FlightAware LLC. // All rights reserved. // Licensed under the 2-clause BSD license; see the LICENSE file #ifndef DUMP978_DEMODULATOR_H #define DUMP978_DEMODULATOR_H #include <functional> #include <vector> #include "common.h" #include "convert.h" #include "fec.h" #include "mess...
37.96
56
(translation_unit) "// -*- c++ -*-\n\n// Copyright (c) 2019, FlightAware LLC.\n// All rights reserved.\n// Licensed under the 2-clause BSD license; see the LICENSE file\n\n#ifndef DUMP978_DEMODULATOR_H\n#define DUMP978_DEMODULATOR_H\n\n#include <functional>\n#include <vector>\n\n#include "common.h"\n#include "convert.h...
499
36
{"language": "c", "success": true, "metadata": {"lines": 56, "avg_line_length": 37.96, "nodes": 279, "errors": 0, "source_hash": "4cb0b3e23d68ccaf41ae794d8c121289009fb2520c76fc377bcc1f8d053649e0", "categorized_nodes": 194}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
9,817
c
/* addtest.c Demonstrates using the function and variables exported by our DLL. */ #include <stdlib.h> #include <stdio.h> #include <add.h> int main(int argc, char** argv) { /* Add foo and bar variables exported from the DLL */ printf("%d + %d = %d\n", foo, bar, Add(foo, bar)); return EXIT_SUC...
19.56
16
(translation_unit) "/* addtest.c \n \n Demonstrates using the function and variables exported by our DLL. \n*/ \n \n#include <stdlib.h> \n#include <stdio.h> \n#include <add.h> \n \nint main(int argc, char** argv) \n{ \n /* Add foo and bar variables exported from the DLL */ \n printf("%d + %d = %d\n", foo, bar, Add(...
62
0
{"language": "c", "success": true, "metadata": {"lines": 16, "avg_line_length": 19.56, "nodes": 38, "errors": 0, "source_hash": "0d59cc3734a10256da7ba94ea2230b603f68e188795215739511bcc5e7a3ef79", "categorized_nodes": 27}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
9,818
c
#pragma once #include <glm/glm.hpp> #include "intersection.h" struct Camera { // Aperture/eye of the camera. glm::vec3 position = glm::vec3(0.0f, 0.0f, 0.0f); // The camera's local coordinate system in relation to the world. glm::vec3 right = glm::vec3(1.0f, 0.0f, 0.0f); glm::vec3 up ...
49.84
57
(translation_unit) "#pragma once\n\n#include <glm/glm.hpp>\n\n#include "intersection.h"\n\n\nstruct Camera\n{\n // Aperture/eye of the camera.\n glm::vec3 position = glm::vec3(0.0f, 0.0f, 0.0f);\n\n // The camera's local coordinate system in relation to the world.\n glm::vec3 right = glm::vec3(1.0f, 0.0f...
605
35
{"language": "c", "success": true, "metadata": {"lines": 57, "avg_line_length": 49.84, "nodes": 397, "errors": 0, "source_hash": "6978a49c8a8fab6bdff31e83062e38a83c1669de8d0087dd303f6c73aced908d", "categorized_nodes": 253}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
9,819
c
/* ============================================================ * QupZilla - WebKit based browser * Copyright (C) 2014 <NAME> <<EMAIL>> * * 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 ...
34.32
34
(translation_unit) "/* ============================================================\n* QupZilla - WebKit based browser\n* Copyright (C) 2014 <NAME> <<EMAIL>>\n*\n* This program is free software: you can redistribute it and/or modify\n* it under the terms of the GNU General Public License as published by\n* the Free So...
79
1
{"language": "c", "success": true, "metadata": {"lines": 34, "avg_line_length": 34.32, "nodes": 50, "errors": 0, "source_hash": "c2edcaea86b46ce2438a3efe0f208a471fe20965e44780b987519378f7a9006e", "categorized_nodes": 35}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
9,820
c
//******************************************************************************** // // LC89821x Initialize header // // Program Name : AfInit.h // Design : Rex.Tang // History : First edition 2013.07.20 Rex.Tang // // Description : Interface Functions and Definations //*****************************...
34.53
15
(translation_unit) "//********************************************************************************\n//\n// LC89821x Initialize header \n//\n// Program Name : AfInit.h\n// Design : Rex.Tang\n// History : First edition 2013.07.20 Rex.Tang\n//\n// Description : Interface Functions and Definations\n//...
52
0
{"language": "c", "success": true, "metadata": {"lines": 15, "avg_line_length": 34.53, "nodes": 33, "errors": 0, "source_hash": "481759cc19dca9f5df6ce6e71104a467157222065e4202760d0bdf9a91081ca8", "categorized_nodes": 20}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef\...
9,821
c
// // SOLFriendListTableViewController.h // Social // // Created by <NAME> on 4/10/16. // #import <UIKit/UIKit.h> #import "SOLFriendListDataDisplayManager.h" #import "SOLFriendListViewInput.h" #import "SOLFriendListViewOutput.h" @interface SOLFriendListTableViewController : UITableViewController <SOLFriendListView...
33.21
14
(translation_unit) "//\n// SOLFriendListTableViewController.h\n// Social\n//\n// Created by <NAME> on 4/10/16.\n//\n\n#import <UIKit/UIKit.h>\n#import "SOLFriendListDataDisplayManager.h"\n#import "SOLFriendListViewInput.h"\n#import "SOLFriendListViewOutput.h"\n\n@interface SOLFriendListTableViewController : UITableV...
68
11
{"language": "c", "success": true, "metadata": {"lines": 14, "avg_line_length": 33.21, "nodes": 51, "errors": 0, "source_hash": "ef7b3fc9541a6b4a10c7882152e0995e7bc339528292992ae000ee9f2b2f23a3", "categorized_nodes": 23}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <...
9,822
c
//------------------------------------------------------------------------------------------------------ // _____ _______ ____ _ ___ ____ ____ _____ _ _ ____ ___ _ _ _____ ______ ___ _ // / _ \ \ / / ____| _ \| | / _ \| _ \| _ \ | ____| \ | |/ ___|_ _| \ | | ____| | _ \ \/ / / | // | ...
34.98
48
(translation_unit) "//------------------------------------------------------------------------------------------------------\n// _____ _______ ____ _ ___ ____ ____ _____ _ _ ____ ___ _ _ _____ ______ ___ _ \n// / _ \ \ / / ____| _ \| | / _ \| _ \| _ \ | ____| \ | |/ ___|_ _| \ | | ____|...
234
7
{"language": "c", "success": true, "metadata": {"lines": 48, "avg_line_length": 34.98, "nodes": 139, "errors": 0, "source_hash": "9d70b8b785db16a19c19b682d0fbc8dac64899c15444ef8c577248fa931550d5", "categorized_nodes": 94}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma ...
9,823
c
/* $Id$ */ /* Copyright (c) 2015-2021 <NAME> <<EMAIL>> */ /* This file is part of DeforaOS Desktop libDesktop */ /* All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * 1. Redistributions of ...
27.32
96
(translation_unit) "/* $Id$ */\n/* Copyright (c) 2015-2021 <NAME> <<EMAIL>> */\n/* This file is part of DeforaOS Desktop libDesktop */\n/* All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions are\n * met:\n...
480
0
{"language": "c", "success": true, "metadata": {"lines": 96, "avg_line_length": 27.32, "nodes": 278, "errors": 0, "source_hash": "0f329bee6299b093a0c378af31c13d4558566052b300d3437ab2ebf9dbe3e616", "categorized_nodes": 185}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
9,824
c
// SDLLanguage.h // #import "SDLEnum.h" /** * Specifies the language to be used for TTS, VR, displayed messages/menus * * @since SDL 1.0 */ @interface SDLLanguage : SDLEnum { } /** * @abstract Get a Langusge according to a String * * @param value The value of the string to get an object for * * @return Th...
15.75
122
(translation_unit) "// SDLLanguage.h\n//\n\n\n#import "SDLEnum.h"\n\n/**\n * Specifies the language to be used for TTS, VR, displayed messages/menus\n *\n * @since SDL 1.0\n */\n@interface SDLLanguage : SDLEnum {\n}\n\n/**\n * @abstract Get a Langusge according to a String\n *\n * @param value The value of the string ...
372
7
{"language": "c", "success": true, "metadata": {"lines": 122, "avg_line_length": 15.75, "nodes": 227, "errors": 0, "source_hash": "1604e61079490da4df35c6c099908ded60ee07247f06d70d687502184e5aa643", "categorized_nodes": 113}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#impor...
9,825
c
// Aleth: Ethereum C++ client, tools and libraries. // Copyright 2015-2019 Aleth Authors. // Licensed under the GNU General Public License, Version 3. #pragma once #include "Common.h" namespace dev { namespace p2p { /** * @brief Shared pointer wrapper for ASIO TCP socket. * * Thread Safety * Distinct Objects: S...
26.42
38
(translation_unit) "// Aleth: Ethereum C++ client, tools and libraries.\n// Copyright 2015-2019 Aleth Authors.\n// Licensed under the GNU General Public License, Version 3.\n\n#pragma once\n\n#include "Common.h"\n\nnamespace dev {\nnamespace p2p {\n\n/**\n * @brief Shared pointer wrapper for ASIO TCP socket.\n *\n * Th...
289
18
{"language": "c", "success": true, "metadata": {"lines": 38, "avg_line_length": 26.42, "nodes": 135, "errors": 0, "source_hash": "eb1a0cb254f7b82694930455b7fe62af20b58c2909f0e2fd39844dcdeae1b897", "categorized_nodes": 92}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma ...
9,826
c
// // NSArray+Query.h // DZNCategories // // Created by <NAME> on 3/25/13. // Copyright (c) 2013 DZN Labs. All rights reserved. // Licence: MIT-Licence // http://opensource.org/licenses/MIT // #import <Foundation/Foundation.h> /* Useful methods to ease NSArray queries. */ @interface NSArray (Query) /* Retur...
18.36
28
(translation_unit) "//\n// NSArray+Query.h\n// DZNCategories\n//\n// Created by <NAME> on 3/25/13.\n// Copyright (c) 2013 DZN Labs. All rights reserved.\n// Licence: MIT-Licence\n// http://opensource.org/licenses/MIT\n//\n\n#import <Foundation/Foundation.h>\n\n/*\n Useful methods to ease NSArray queries.\n */\n@i...
52
4
{"language": "c", "success": true, "metadata": {"lines": 28, "avg_line_length": 18.36, "nodes": 26, "errors": 0, "source_hash": "a203338bae8e5fadf859f99dbef8873224bfb38e53606b1022b1b082f9d87e7c", "categorized_nodes": 13}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <...
9,827
c
/* Author: <NAME> <<EMAIL>> I place this piece of code in the public domain. Feel free to use as you see fit. I'd appreciate it if you keep my name at the top of the code somehwere, but whatever. Main project site: https://github.com/jtsiomb/c11threads */ #ifndef C11THREADS_H_ #define C11THREADS_H_ #include "defs....
26.85
75
(translation_unit) "/*\nAuthor: <NAME> <<EMAIL>>\n\nI place this piece of code in the public domain. Feel free to use as you see\nfit. I'd appreciate it if you keep my name at the top of the code somehwere,\nbut whatever.\n\nMain project site: https://github.com/jtsiomb/c11threads\n*/\n\n#ifndef C11THREADS_H_\n#define...
587
1
{"language": "c", "success": true, "metadata": {"lines": 75, "avg_line_length": 26.85, "nodes": 436, "errors": 0, "source_hash": "3efc9757843b7557fb3af123ec879a0cd9cbc2fd48fff3fe8c38d4d573578c3a", "categorized_nodes": 273}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
9,828
c
/* * Copyright (c) 2003 <NAME> * Copyright (c) 2003 Massachusetts Institute of Technology * * 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.21
66
(translation_unit) "/*\n * Copyright (c) 2003 <NAME>\n * Copyright (c) 2003 Massachusetts Institute of Technology\n *\n * This program is free software; you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation; either version 2 of th...
439
0
{"language": "c", "success": true, "metadata": {"lines": 66, "avg_line_length": 33.21, "nodes": 264, "errors": 0, "source_hash": "bad4d77355f6995496c05d224f65282685a7a1a8182974f6fa160d991419cb5a", "categorized_nodes": 201}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
9,829
c
// // ZXPopoverView.h // https://github.com/xinyzhao/ZXToolbox // // Copyright (c) 2019-2020 <NAME> // // 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 withou...
31.52
89
(ERROR) "//\n// ZXPopoverView.h\n// https://github.com/xinyzhao/ZXToolbox\n//\n// Copyright (c) 2019-2020 <NAME>\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,...
312
29
{"language": "c", "success": true, "metadata": {"lines": 89, "avg_line_length": 31.52, "nodes": 171, "errors": 0, "source_hash": "30a6e977057b2f99e6d542adeea0b1d0f03da2759bb1b215d05dffb4f858b3ad", "categorized_nodes": 100}, "ast": {"root": "ERROR", "nodes": [{"id": 0, "type": "ERROR", "text": "//\n// ZXPopoverView.h\n/...
9,830
c
// // UserDefaultUtil.h // UtilSDK // // Created by willwang on 2019/3/7. // Copyright © 2019年 com.will. All rights reserved. // #import <Foundation/Foundation.h> NS_ASSUME_NONNULL_BEGIN /** 缓存本地存储工具类 */ @interface UserDefaultUtil : NSObject /** 通过键值对存储数据 @param value 存储值 Value @param key 存储键 Key @return ...
16.5
34
(translation_unit) "//\n// UserDefaultUtil.h\n// UtilSDK\n//\n// Created by willwang on 2019/3/7.\n// Copyright © 2019年 com.will. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n\nNS_ASSUME_NONNULL_BEGIN\n\n/**\n 缓存本地存储工具类\n */\n@interface UserDefaultUtil : NSObject\n\n/**\n 通过键值对存储数据\n @param value ...
97
9
{"language": "c", "success": true, "metadata": {"lines": 34, "avg_line_length": 16.5, "nodes": 57, "errors": 0, "source_hash": "1381a44bdd69fa12f024a2b5fd52aea161d3ede730f6bc5860dd9b0b8bb73cc8", "categorized_nodes": 33}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "port <Foun...
9,831
c
#include <stdlib.h> #include <stdio.h> #include "sort.h" /** *insertion_sort_list - insertion sort algorithm applied to linked list *@list: the list to be sorted * *Return: Void. **/ void insertion_sort_list(listint_t **list) { listint_t *tmp = NULL, *cur; if (!list || !(*list)->next) return; cur = *list; ...
20.69
45
(translation_unit) "#include <stdlib.h>\n#include <stdio.h>\n#include "sort.h"\n\n/**\n *insertion_sort_list - insertion sort algorithm applied to linked list\n *@list: the list to be sorted\n *\n *Return: Void.\n **/\nvoid insertion_sort_list(listint_t **list)\n{\n listint_t *tmp = NULL, *cur;\n\n if (!list || !(*list...
289
0
{"language": "c", "success": true, "metadata": {"lines": 45, "avg_line_length": 20.69, "nodes": 195, "errors": 0, "source_hash": "72212e10165156e41bf757ec8aa7f4e303c48b180b4ad92a6a73d4744b3ca0c1", "categorized_nodes": 141}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
9,832
c
#ifndef EMBEDDEDCPLUSPLUS_VECTOR2D_H #define EMBEDDEDCPLUSPLUS_VECTOR2D_H #include <math.h> #include <wlib/stl/InitializerList.h> namespace wlp { template<typename val_t> class vector2d { public: vector2d() : m_x(0), m_y(0) {} vector2d(val_t x, val_t y) : ...
29.9
119
(translation_unit) "#ifndef EMBEDDEDCPLUSPLUS_VECTOR2D_H\n#define EMBEDDEDCPLUSPLUS_VECTOR2D_H\n\n#include <math.h>\n\n#include <wlib/stl/InitializerList.h>\n\nnamespace wlp {\n\n template<typename val_t>\n class vector2d {\n public:\n vector2d() :\n m_x(0),\n m_y(0) {}\n\n ...
1,234
74
{"language": "c", "success": true, "metadata": {"lines": 119, "avg_line_length": 29.9, "nodes": 774, "errors": 0, "source_hash": "f445df83391731c600741c1ef805dd9688bbdd06918d7c9692ea5f43f0f12e03", "categorized_nodes": 531}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
9,833
c
#include "php.h" #include "Zend/zend_exceptions.h" #include "wasmer_wasm.h" #include "./macros.h" #include "../wasm.h" WASMER_DECLARE_OWN(engine) WASMER_IMPORT_RESOURCE(config) extern zend_class_entry *wasm_exception_runtime_ce; PHP_FUNCTION (wasm_engine_new) { ZEND_PARSE_PARAMETERS_NONE(); wasmer_res *e...
36.21
33
(translation_unit) "#include "php.h"\n#include "Zend/zend_exceptions.h"\n\n#include "wasmer_wasm.h"\n\n#include "./macros.h"\n#include "../wasm.h"\n\nWASMER_DECLARE_OWN(engine)\n\nWASMER_IMPORT_RESOURCE(config)\n\nextern zend_class_entry *wasm_exception_runtime_ce;\n\nPHP_FUNCTION (wasm_engine_new) {\n ZEND_PARSE_PA...
295
2
{"language": "c", "success": true, "metadata": {"lines": 33, "avg_line_length": 36.21, "nodes": 183, "errors": 0, "source_hash": "ecb90c2a49169570f8190cd53effa21a2b96a287c7a5809186ed3adb8fe74cd0", "categorized_nodes": 133}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
9,834
c
// // HomeContentsViewController.h // 108tian // // Created by SUN on 15-7-17. // Copyright (c) 2015年 www.sun.com. All rights reserved. // #import "RootViewController.h" @interface HomeContentsViewController : RootViewController<UITableViewDataSource,UITableViewDelegate> @property (nonatomic,strong) NSString *cl...
29.27
11
(translation_unit) "//\n// HomeContentsViewController.h\n// 108tian\n//\n// Created by SUN on 15-7-17.\n// Copyright (c) 2015年 www.sun.com. All rights reserved.\n//\n\n#import "RootViewController.h"\n\n@interface HomeContentsViewController : RootViewController<UITableViewDataSource,UITableViewDelegate>\n\n@property...
47
8
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 29.27, "nodes": 31, "errors": 0, "source_hash": "e3f6dac9c1c11f4b5c7263b6761719ef7db4a32456d9608b984d762a13cc448d", "categorized_nodes": 16}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "mport \"R...
9,835
c
#ifndef PROJECT_HEADER_component377_2_H #define PROJECT_HEADER_component377_2_H int component377_2(); #endif // PROJECT_HEADER_component377_2_H
28
5
(translation_unit) "#ifndef PROJECT_HEADER_component377_2_H\n#define PROJECT_HEADER_component377_2_H\n\n\n\nint component377_2();\n\n#endif // PROJECT_HEADER_component377_2_H" (preproc_ifdef) "#ifndef PROJECT_HEADER_component377_2_H\n#define PROJECT_HEADER_component377_2_H\n\n\n\nint component377_2();\n\n#endif" ...
17
0
{"language": "c", "success": true, "metadata": {"lines": 5, "avg_line_length": 28.0, "nodes": 12, "errors": 0, "source_hash": "7b400864f2ba35d8716ff354470edba81f12614d017c4960e29bf3fca230a887", "categorized_nodes": 8}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef PRO...
9,836
c
/* * Copyright (c) 2010 <NAME> * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation * files (the "Software"), to deal in the Software without * restriction, including without limitation the rights to use, copy, * modify, merge, publish,...
36.2
49
(translation_unit) "/*\n * Copyright (c) 2010 <NAME>\n * \n * Permission is hereby granted, free of charge, to any person\n * obtaining a copy of this software and associated documentation\n * files (the "Software"), to deal in the Software without\n * restriction, including without limitation the rights to use, copy,\...
147
17
{"language": "c", "success": true, "metadata": {"lines": 49, "avg_line_length": 36.2, "nodes": 102, "errors": 0, "source_hash": "ca053d75c39d2bf6610dba6a105c1dfd80f05b1b4bc3e7db7f96e7ff7ab89b20", "categorized_nodes": 61}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <...
9,837
c
#ifndef TABRESPONSECOOKIES_H #define TABRESPONSECOOKIES_H #include <QPixmap> #include <QWidget> class QTableWidget; class QNetworkCookie; class TabResponseCookies : public QWidget { Q_OBJECT public: TabResponseCookies(); void clear(); void processCookies(const QList<QNetworkCookie>& cookies); priva...
22.11
18
(translation_unit) "#ifndef TABRESPONSECOOKIES_H\n#define TABRESPONSECOOKIES_H\n\n#include <QPixmap>\n#include <QWidget>\n\nclass QTableWidget;\nclass QNetworkCookie;\n\nclass TabResponseCookies : public QWidget\n{\n Q_OBJECT\n\npublic:\n TabResponseCookies();\n void clear();\n void processCookies(const QLi...
89
3
{"language": "c", "success": true, "metadata": {"lines": 18, "avg_line_length": 22.11, "nodes": 55, "errors": 0, "source_hash": "6c9bcd8ca10febef82e2c98b8b66a27716e1464f2058c561e91368fbf2404732", "categorized_nodes": 38}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
9,838
c
#pragma once #include "IControl.h" #include "../Core/Parsers/ParserAS.h" class ControlRect : public IControl { public: ControlRect(SharedParams_t params); virtual ~ControlRect(void); void Init(stringc name, position2di position, int width, int height, u32 color, bool outline); ///////////////// IControl ///////...
24.47
32
(translation_unit) "ragma once\n#include "IControl.h"\n#include "../Core/Parsers/ParserAS.h"\n\nclass ControlRect : public IControl\n{\npublic:\n ControlRect(SharedParams_t params);\n virtual ~ControlRect(void);\n\n void Init(stringc name, position2di position, int width, int height, u32 color, bool outline);\n\n /////...
180
4
{"language": "c", "success": true, "metadata": {"lines": 32, "avg_line_length": 24.47, "nodes": 115, "errors": 0, "source_hash": "c3320fcb89fddcb376b960e7c5fa3eeccac5613590de91160f44d75083dc01e8", "categorized_nodes": 84}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "ragma on...
9,839
c
#include "log.h" #include <libgen.h> #include <stdarg.h> #include <stdio.h> #include <stdlib.h> static Log_Type min_log_level; void log_init(void) { const char *raw; int _level = 0; raw = getenv("SPAWNY_LOG_LEVEL"); if (!raw) return; _level = atoi(raw); if (_level == 0) min_log_level ...
21.17
42
(translation_unit) "#include "log.h"\n#include <libgen.h>\n#include <stdarg.h>\n#include <stdio.h>\n#include <stdlib.h>\n\nstatic Log_Type min_log_level;\n\nvoid\nlog_init(void)\n{\n const char *raw;\n int _level = 0;\n\n raw = getenv("SPAWNY_LOG_LEVEL");\n\n if (!raw)\n return;\n\n _level = atoi(raw);\n...
308
0
{"language": "c", "success": true, "metadata": {"lines": 42, "avg_line_length": 21.17, "nodes": 178, "errors": 0, "source_hash": "502958bd59f6967d1b259f80d05d6417809aee6dc84657911e94f443162f0b5f", "categorized_nodes": 127}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
9,840
c
#include "tomcrypt.h" #include <TCPIP Stack/TCPIP.h> #include <TCPIP Stack/Helpers.h> unsigned long rng_get_bytes(unsigned char *out, unsigned long outlen, void (*callback)(void)) { unsigned long x; LTC_ARGCHK(out != NULL); DWORD GenerateRandomDWORD(); unsigned long missing ...
27.8
20
(translation_unit) "#include "tomcrypt.h"\n#include <TCPIP Stack/TCPIP.h>\n#include <TCPIP Stack/Helpers.h>\n\nunsigned long rng_get_bytes(unsigned char *out, unsigned long outlen, \n void (*callback)(void))\n{\n unsigned long x;\n\n LTC_ARGCHK(out != NULL);\n\n DWORD GenerateRandomDWOR...
162
0
{"language": "c", "success": true, "metadata": {"lines": 20, "avg_line_length": 27.8, "nodes": 109, "errors": 0, "source_hash": "ca2363a987b9a96fe843249ae00ccaf7ce1344f6c31f943488c6ac3f379b25e0", "categorized_nodes": 71}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
9,841
c
//{{NO_DEPENDENCIES}} // Microsoft Visual C++ generated include file. // Used by CdCoverCreator2.rc // // Next default values for new objects // #ifdef APSTUDIO_INVOKED #ifndef APSTUDIO_READONLY_SYMBOLS #define _APS_NEXT_RESOURCE_VALUE 228 #define _APS_NEXT_COMMAND_VALUE 32795 #define _APS_N...
26.47
15
(translation_unit) "//{{NO_DEPENDENCIES}} \n// Microsoft Visual C++ generated include file. \n// Used by CdCoverCreator2.rc \n// \n \n// Next default values for new objects \n// \n#ifdef APSTUDIO_INVOKED \n#ifndef APSTUDIO_READONLY_SYMBOLS \n#define _APS_NEXT_RESOURCE_VALUE 228 \n#define _APS_NEXT_COMMAND_VALUE...
31
0
{"language": "c", "success": true, "metadata": {"lines": 15, "avg_line_length": 26.47, "nodes": 24, "errors": 0, "source_hash": "0496c34d99804d7849d3db38c8893a55e651456d076904a43b4db8a93ab32f03", "categorized_nodes": 12}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifdef A...
9,842
c
/* * ===================================================================================== * * Filename: m.c * * Description: * * Version: 1.0 * Created: 11/03/2020 01:18:48 PM * Revision: none * Compiler: gcc * * Author: YOUR NAME (), * Organization: ...
18.52
29
(translation_unit) "/*\n * =====================================================================================\n *\n * Filename: m.c\n *\n * Description: \n *\n * Version: 1.0\n * Created: 11/03/2020 01:18:48 PM\n * Revision: none\n * Compiler: gcc\n *\n * Author: YOU...
87
0
{"language": "c", "success": true, "metadata": {"lines": 29, "avg_line_length": 18.52, "nodes": 51, "errors": 0, "source_hash": "00cda9742b0bb8958e5dd4933b52c6a5d17cc5f456ec72c270205fd5d1a62e06", "categorized_nodes": 37}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
9,843
c
// Autogenerated by gameplay-luagen #ifndef LUA_PHYSICSSOCKETCONSTRAINT_H_ #define LUA_PHYSICSSOCKETCONSTRAINT_H_ namespace gameplay { void luaRegister_PhysicsSocketConstraint(); } #endif
22.5
8
(translation_unit) "// Autogenerated by gameplay-luagen\n#ifndef LUA_PHYSICSSOCKETCONSTRAINT_H_\n#define LUA_PHYSICSSOCKETCONSTRAINT_H_\n\nnamespace gameplay\n{\n\nvoid luaRegister_PhysicsSocketConstraint();\n\n}\n\n#endif\n" (comment) "// Autogenerated by gameplay-luagen" (preproc_ifdef) "#ifndef LUA_PHYSICSSOCKET...
23
0
{"language": "c", "success": true, "metadata": {"lines": 8, "avg_line_length": 22.5, "nodes": 15, "errors": 0, "source_hash": "935b6265c5b53f106746b940385d868e300e3e0c4b76aaef175f9dd8481df39e", "categorized_nodes": 11}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef LU...
9,844
c
#if defined (__x86_64__) #pragma message("Building Argon2 with SIMD optimizations") #include "crypto/phc-winner-argon2/src/opt.c" #else #pragma message("Building Argon2 without SIMD optimizations") #include "crypto/phc-winner-argon2/src/ref.c" #endif
34.86
7
(translation_unit) "#if defined (__x86_64__)\n#pragma message("Building Argon2 with SIMD optimizations")\n#include "crypto/phc-winner-argon2/src/opt.c"\n#else\n#pragma message("Building Argon2 without SIMD optimizations")\n#include "crypto/phc-winner-argon2/src/ref.c"\n#endif\n" (preproc_if) "#if defined (__x86_64__)...
30
0
{"language": "c", "success": true, "metadata": {"lines": 7, "avg_line_length": 34.86, "nodes": 21, "errors": 0, "source_hash": "02b200c72e9c8c236dacb02049a5c3ea6586b694676e9324a60b39312578b264", "categorized_nodes": 12}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_if", "text": "#if defined ...
9,845
c
// Copyright 2021 HUYA // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing...
34.08
78
(translation_unit) "// Copyright 2021 HUYA\n//\n// Licensed under the Apache License, Version 2.0 (the "License");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable...
561
19
{"language": "c", "success": true, "metadata": {"lines": 78, "avg_line_length": 34.08, "nodes": 329, "errors": 0, "source_hash": "500358b869f5342765e1be8f1f63b8132a943eede208d4f9d7b1eb64bbfb21ea", "categorized_nodes": 227}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
9,846
c
// treehash (C) 2019 <NAME> (<EMAIL>) /////////////////////////////////////////////////////////////////////////////// #pragma once #include "hash/xxh3.h" #include <cstdint> #include <string> /////////////////////////////////////////////////////////////////////////////// namespace Treehash { using Hash ...
29.89
19
(translation_unit) "// treehash (C) 2019 <NAME> (<EMAIL>) \n/////////////////////////////////////////////////////////////////////////////// \n#pragma once \n \n#include "hash/xxh3.h" \n \n#include <cstdint> \n#include <string> \n \n/////////////////////////////////////////////////////////////////////////////// \nnamesp...
86
4
{"language": "c", "success": true, "metadata": {"lines": 19, "avg_line_length": 29.89, "nodes": 56, "errors": 0, "source_hash": "625853c3a80c49411543f40c8236bc50d7d9d057ce7a1044690bb6336c34effb", "categorized_nodes": 43}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
9,847
c
#ifndef SYTHREAD_H #define SYTHREAD_H #include "SyAtomicOperationT.h" #include "SyThreadMisc.h" #include <string> #include <map> #include "SyThreadInterface.h" #include "SyDebug.h" START_UTIL_NS class ISyEventQueue; class ISyTimerQueue; class ISyReactor; class CSyEventThread; class CSyTimeValue; class SY_OS_EXPOR...
28.43
128
(translation_unit) "#ifndef SYTHREAD_H\n#define SYTHREAD_H\n\n#include "SyAtomicOperationT.h"\n#include "SyThreadMisc.h"\n#include <string>\n#include <map>\n#include "SyThreadInterface.h"\n#include "SyDebug.h"\n\nSTART_UTIL_NS\n\nclass ISyEventQueue;\nclass ISyTimerQueue;\nclass ISyReactor;\nclass CSyEventThread;\nclas...
961
35
{"language": "c", "success": true, "metadata": {"lines": 128, "avg_line_length": 28.43, "nodes": 605, "errors": 0, "source_hash": "0b9414bc584162be2c74991d90146eab5cab5953155a061bf8dc3a2de6cdb3f0", "categorized_nodes": 417}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
9,848
c
#pragma once #include "pch.h" #include "CNetworkFilterTarget.h" #include "CSocket.h" #include "CStatistics.h" #include "lock.h" #include <vector> #include <map> #include <sstream> typedef std::istringstream STRING_STREAM; class CNetworkFilterRule { protected: CNetworkFilterTarget _source, _target; private: MUTEX* _...
24.26
34
(translation_unit) "#pragma once\n#include "pch.h"\n#include "CNetworkFilterTarget.h"\n#include "CSocket.h"\n#include "CStatistics.h"\n#include "lock.h"\n#include <vector>\n#include <map>\n#include <sstream>\n\ntypedef std::istringstream STRING_STREAM;\n\nclass CNetworkFilterRule {\nprotected:\n CNetworkFilterTarget _s...
195
4
{"language": "c", "success": true, "metadata": {"lines": 34, "avg_line_length": 24.26, "nodes": 122, "errors": 0, "source_hash": "a417727349a0ce9485735407839f6fb56d17a075da3b12330f67bfb6af252005", "categorized_nodes": 90}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma ...
9,849
c
// Copyright 2010-2019 <NAME>, <NAME> // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable ...
34.26
42
(translation_unit) "// Copyright 2010-2019 <NAME>, <NAME>\n//\n// Licensed under the Apache License, Version 2.0 (the "License");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Un...
160
0
{"language": "c", "success": true, "metadata": {"lines": 42, "avg_line_length": 34.26, "nodes": 109, "errors": 0, "source_hash": "0e1e4c90d4d23b65db5ab60073a9715bf96855616101f83c29f7878e83bad201", "categorized_nodes": 63}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
9,850
c
// // ViewController.h // BMImagePickerDemo // // Created by jashion on 16/6/3. // Copyright © 2016年 BMu. All rights reserved. // #import <UIKit/UIKit.h> @interface ViewController : UIViewController @end
18
11
(translation_unit) "//\n// ViewController.h\n// BMImagePickerDemo\n//\n// Created by jashion on 16/6/3.\n// Copyright © 2016年 BMu. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface ViewController : UIViewController\n\n\n@end\n\n" (comment) "//" (comment) "// ViewController.h" (comment) "// B...
22
4
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 18.0, "nodes": 12, "errors": 0, "source_hash": "8bf0db7400e8eb269faf0044bfacbd3dfc1869c4026f832e351786db9261fd7b", "categorized_nodes": 6}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "port <UIKit...
9,851
c
/* *************************************************************************** * Copyright 2007,2008 Impinj, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://...
26.27
103
(translation_unit) "/*\n ***************************************************************************\n * Copyright 2007,2008 Impinj, Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the Lice...
254
0
{"language": "c", "success": true, "metadata": {"lines": 103, "avg_line_length": 26.27, "nodes": 116, "errors": 0, "source_hash": "a40029299c6f28aaa5f39809dfa84a2d130dce30f96520875182480ca29b8b8e", "categorized_nodes": 66}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
9,852
c
/* * This header is generated by classdump-dyld 1.0 * on Sunday, September 27, 2020 at 11:40:43 AM Mountain Standard Time * Operating System: Version 14.0 (Build 18A373) * Image Source: /System/Library/Frameworks/WebKit.framework/WebKit * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by <NAME>. */ #imp...
42.42
19
(translation_unit) "/*\n* This header is generated by classdump-dyld 1.0\n* on Sunday, September 27, 2020 at 11:40:43 AM Mountain Standard Time\n* Operating System: Version 14.0 (Build 18A373)\n* Image Source: /System/Library/Frameworks/WebKit.framework/WebKit\n* classdump-dyld is licensed under GPLv3, Copyright © 2013...
137
28
{"language": "c", "success": true, "metadata": {"lines": 19, "avg_line_length": 42.42, "nodes": 90, "errors": 0, "source_hash": "feae083aa6903ea8d218ca7dad220cb506311f481114eb480f149dcd9ae51da4", "categorized_nodes": 48}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <W...
9,853
c
/* * --------------------------------------------------------------------- * Author: <NAME> * Dept. of Radio Electronics, Brno Univ. of Technology * Created: 2018-10-16 * Last update: 2019-10-24 * Platform: ATmega328P, 16 MHz, AVR 8-bit Toolchain 3.6.2 * ---------------------------------...
28.53
94
(translation_unit) "/*\n * ---------------------------------------------------------------------\n * Author: <NAME>\n * Dept. of Radio Electronics, Brno Univ. of Technology\n * Created: 2018-10-16\n * Last update: 2019-10-24\n * Platform: ATmega328P, 16 MHz, AVR 8-bit Toolchain 3.6.2\n * ------...
327
0
{"language": "c", "success": true, "metadata": {"lines": 94, "avg_line_length": 28.53, "nodes": 149, "errors": 0, "source_hash": "ab11c017f99feb473de0c4430a712819a66502d09df46dd832c2a90c57219600", "categorized_nodes": 112}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
9,854
c
/* * CDDL HEADER START * * The contents of this file are subject to the terms of the * Common Development and Distribution License (the "License"). * You may not use this file except in compliance with the License. * * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE * or http://www.opensolar...
27.92
157
(translation_unit) "/*\n * CDDL HEADER START\n *\n * The contents of this file are subject to the terms of the\n * Common Development and Distribution License (the "License").\n * You may not use this file except in compliance with the License.\n *\n * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE...
937
0
{"language": "c", "success": true, "metadata": {"lines": 157, "avg_line_length": 27.92, "nodes": 633, "errors": 0, "source_hash": "0d6518f3ce0b094fb444e303f581337c69f169953fd67c7cbf79b59272413725", "categorized_nodes": 416}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragm...
9,855
c
#include<stdio.h> #include<conio.h> int main() { FILE *fp1; char a; int chara=0,line=1; fp1=fopen("C:\\Users\\termi\\Desktop\\file.txt","r"); if(fp1!=NULL) { a=getc(fp1); while(a!=EOF) { if(a!='\n') { if(a!=' ') { chara++; } } else { line++; } ...
13.25
36
(translation_unit) "#include<stdio.h> \n#include<conio.h> \nint main() \n{ \n FILE *fp1; \n char a; \n int chara=0,line=1; \n fp1=fopen("C:\\Users\\termi\\Desktop\\file.txt","r"); \n if(fp1!=NULL) \n { \n a=getc(fp1); \n while(a!=EOF) \n { \n if(a!='\n') \n { \n if(a!=' ') \n { \n chara++; \n } \n ...
210
0
{"language": "c", "success": true, "metadata": {"lines": 36, "avg_line_length": 13.25, "nodes": 114, "errors": 0, "source_hash": "54e43827838596a766688fbf11ed9534a41912c6a747637f703f3f40c846fe23", "categorized_nodes": 72}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
9,856
c
/*$Header*/ /*$Log: lud.c,v $ * Revision 1.2 2007/02/13 07:12:22 avi * code cleaned **/ /* 2002.10.01 - LU decomposition <NAME> */ #include <math.h> #include <stdlib.h> #include <stdio.h> #define TINY 1.0e-20; typedef float type; void ludcmp (type **a, int n, int *indx, type *d) { int i, imax, j, k; type bi...
21.67
89
(translation_unit) "/*$Header*/\n/*$Log: lud.c,v $\n * Revision 1.2 2007/02/13 07:12:22 avi\n * code cleaned\n **/\n/* 2002.10.01 - LU decomposition <NAME> */\n\n#include <math.h>\n#include <stdlib.h>\n#include <stdio.h>\n\n#define TINY 1.0e-20;\n\ntypedef float type;\n\nvoid ludcmp (type **a, int n, int *indx, type...
1,122
0
{"language": "c", "success": true, "metadata": {"lines": 89, "avg_line_length": 21.67, "nodes": 701, "errors": 0, "source_hash": "c3bcfec9f45636e9f09761981e3c159749da1997cf42c5a674a99db9332e65ba", "categorized_nodes": 540}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
9,857
c
/* * $Id: c_encd.c,v 1.5 2008-07-23 16:17:04 haley Exp $ */ /************************************************************************ * * * Copyright (C) 2000 * * University Corporation for ...
29.87
39
(translation_unit) "/*\n * $Id: c_encd.c,v 1.5 2008-07-23 16:17:04 haley Exp $\n */\n/************************************************************************\n* *\n* Copyright (C) 2000 *\n* U...
190
3
{"language": "c", "success": true, "metadata": {"lines": 39, "avg_line_length": 29.87, "nodes": 130, "errors": 0, "source_hash": "a4158340971b4cfcf177a12a096f937c64f77be2b9e6a0fb4bc8930a6c0f64b9", "categorized_nodes": 81}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
9,858
c
#ifndef CODAL_PEARSON_HASH_H #define CODAL_PEARSON_HASH_H #include "CodalConfig.h" #include "ManagedString.h" namespace codal { /** * PearsonHashing is a simple way to turn a string into a number. * Unfortunately, uniqueness guarantees are not too high, and scales with the bit depth. **/ cla...
28.15
20
(translation_unit) "#ifndef CODAL_PEARSON_HASH_H\n#define CODAL_PEARSON_HASH_H\n\n#include "CodalConfig.h"\n#include "ManagedString.h"\n\nnamespace codal\n{\n /**\n * PearsonHashing is a simple way to turn a string into a number.\n * Unfortunately, uniqueness guarantees are not too high, and scales with th...
94
0
{"language": "c", "success": true, "metadata": {"lines": 20, "avg_line_length": 28.15, "nodes": 54, "errors": 0, "source_hash": "fc1a1e35664e308b9c53d114695151a15da62924c0ea1298990a71bb80560192", "categorized_nodes": 42}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
9,859
c
// // ae_marker_pool_types.h // #pragma once #include <audio_editor_core/ae_marker.h> #include <map> namespace yas::ae { using marker_map_t = std::map<frame_index_t, ae::marker>; static marker_map_t const empty_markers; enum class marker_pool_event_type { any, reverted, inserted, erased, }; stru...
22.19
21
(translation_unit) "//\n// ae_marker_pool_types.h\n//\n\n#pragma once\n\n#include <audio_editor_core/ae_marker.h>\n\n#include <map>\n\nnamespace yas::ae {\nusing marker_map_t = std::map<frame_index_t, ae::marker>;\n\nstatic marker_map_t const empty_markers;\n\nenum class marker_pool_event_type {\n any,\n reverte...
124
10
{"language": "c", "success": true, "metadata": {"lines": 21, "avg_line_length": 22.19, "nodes": 69, "errors": 0, "source_hash": "952d116fcbab2e2f0d8015c59c6e1c47e80a17e01c46d918d8129a6df2a34858", "categorized_nodes": 52}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
9,860
c
// // Copyright (c) 2018 Open Whisper Systems. All rights reserved. // #import "IdentityKeyStore.h" #import "PreKeyStore.h" #import "SessionStore.h" #import "SignedPreKeyStore.h" #import <Foundation/Foundation.h> NS_ASSUME_NONNULL_BEGIN /** * The Session Store defines the interface of the storage of sesssions. *...
28.87
15
(translation_unit) "//\n// Copyright (c) 2018 Open Whisper Systems. All rights reserved.\n//\n\n#import "IdentityKeyStore.h"\n#import "PreKeyStore.h"\n#import "SessionStore.h"\n#import "SignedPreKeyStore.h"\n#import <Foundation/Foundation.h>\n\nNS_ASSUME_NONNULL_BEGIN\n\n/**\n * The Session Store defines the interfac...
45
5
{"language": "c", "success": true, "metadata": {"lines": 15, "avg_line_length": 28.87, "nodes": 34, "errors": 0, "source_hash": "a629a62d68b09586f9abf17912160fa94403c9115c83f0065fd5ad40338f235b", "categorized_nodes": 17}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import \...
9,861
c
#ifndef GUARD_GRID3D_H #define GUARD_GRID3D_H #include <vector> #include "Numerics/Spline3D/Config.h" #include "Numerics/Spline3D/Grid1D.h" #include <libxml/xmlmemory.h> #include <libxml/parser.h> class Grid3D { public: /// number of points along each direction int n_x, n_y, n_z; /// total number of points i...
27.44
194
(translation_unit) "#ifndef GUARD_GRID3D_H\n#define GUARD_GRID3D_H\n\n#include <vector>\n#include "Numerics/Spline3D/Config.h"\n#include "Numerics/Spline3D/Grid1D.h"\n#include <libxml/xmlmemory.h>\n#include <libxml/parser.h>\n\nclass Grid3D\n{\n\npublic:\n\n /// number of points along each direction\n int n_x, n_y, n...
1,693
18
{"language": "c", "success": true, "metadata": {"lines": 194, "avg_line_length": 27.44, "nodes": 1005, "errors": 0, "source_hash": "cb330a4ee24abbcac470f22fb5de72f2d214070b2b1993774fb5181e1ee77ac5", "categorized_nodes": 713}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifn...
9,862
c
// 0x0E0005D8 const GeoLayout ssl_geo_0005D8[] = { GEO_CULLING_RADIUS(2000), GEO_OPEN_NODE(), GEO_RENDER_RANGE(-1000, 4000), GEO_OPEN_NODE(), GEO_ASM(0x802, geo_movtex_draw_colored_2_no_update), GEO_CLOSE_NODE(), GEO_RENDER_RANGE(4000, 12800), GEO_OPEN_NODE(), GEO_D...
28.73
15
(translation_unit) "// 0x0E0005D8\nconst GeoLayout ssl_geo_0005D8[] = {\n GEO_CULLING_RADIUS(2000),\n GEO_OPEN_NODE(),\n GEO_RENDER_RANGE(-1000, 4000),\n GEO_OPEN_NODE(),\n GEO_ASM(0x802, geo_movtex_draw_colored_2_no_update),\n GEO_CLOSE_NODE(),\n GEO_RENDER_RANGE(4000, 12800),\n GE...
101
0
{"language": "c", "success": true, "metadata": {"lines": 15, "avg_line_length": 28.73, "nodes": 52, "errors": 0, "source_hash": "3c844d6abe2df6b2f7b092bd4512b669b85d7c4acf9feb218bdca4d243225b53", "categorized_nodes": 36}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "declaration", "text": "const GeoL...
9,863
c
#ifndef VECTOR2D_H_ #define VECTOR2D_H_ #include <sstream> #include <string> #include <cmath> /* * A simple Vector in 2 dimensional euclidean space */ template<typename T> class Vector2D { public: Vector2D(T x = 0, T Y = 0); template<typename U> Vector2D(const Vector2D<U>& other); // Returns comma separated re...
24.09
123
(translation_unit) "#ifndef VECTOR2D_H_\n#define VECTOR2D_H_\n\n#include <sstream>\n#include <string>\n#include <cmath>\n\n/*\n * A simple Vector in 2 dimensional euclidean space\n */\ntemplate<typename T>\nclass Vector2D\n{\npublic:\n Vector2D(T x = 0, T Y = 0);\n template<typename U>\n Vector2D(const Vector2D<U>& oth...
1,487
84
{"language": "c", "success": true, "metadata": {"lines": 123, "avg_line_length": 24.09, "nodes": 1059, "errors": 0, "source_hash": "257a2541922d3b46b59c909b613549e17b09f132895337383b8692ddb7a31645", "categorized_nodes": 759}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifn...
9,864
c
#include "header.h" int chunkAmount = 0; int allocatedChunks = 0; int allocatedBytes = 0; int totalBytes = 0; int totalAllocatedMemory =0; int chunkSizes[512]; char* chunkPointers[512]; char* freeMemoryStart; char* shared_memory = NULL; char* shared_data = NULL; /*Mode 0 = BestFit Mode 1 = WorstFit Mode 2 =...
29.28
159
(translation_unit) "#include "header.h"\n\nint chunkAmount = 0;\nint allocatedChunks = 0;\nint allocatedBytes = 0;\nint totalBytes = 0;\n\n\nint totalAllocatedMemory =0;\nint chunkSizes[512];\nchar* chunkPointers[512];\n\nchar* freeMemoryStart;\n\nchar* shared_memory = NULL;\nchar* shared_data = NULL;\n\n\n/*Mode 0 = ...
1,540
0
{"language": "c", "success": true, "metadata": {"lines": 159, "avg_line_length": 29.28, "nodes": 939, "errors": 0, "source_hash": "f2c733794904c75f234f78dbe027a3e022f271d63814190b56894b6b0031e0a9", "categorized_nodes": 623}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
9,865
c
///----------------------------------------------------------------- /// /// @file AboutDlg.h /// @author Gabi /// Created: 04.02.2012 21:21:05 /// @section DESCRIPTION /// AboutDlg class declaration /// ///------------------------------------------------------------------ #ifndef __ABOUTDLG_H__...
29.48
77
(translation_unit) "///-----------------------------------------------------------------\n///\n/// @file AboutDlg.h\n/// @author Gabi\n/// Created: 04.02.2012 21:21:05\n/// @section DESCRIPTION\n/// AboutDlg class declaration\n///\n///--------------------------------------------------------------...
280
9
{"language": "c", "success": true, "metadata": {"lines": 77, "avg_line_length": 29.48, "nodes": 177, "errors": 0, "source_hash": "55617682703f24f3e72b1f75539af90db9339aeb7156a7a11a4095c91d4bb2f3", "categorized_nodes": 125}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
9,866
c
#include <string.h> #include "ccas.h" #include "nn.h" int_t nn_setstr(nn_t a, int_t * len, const char * str) { int_t i, m = 1, digits = strspn(str, "0123456789"); int_t depth = BITCOUNT(digits - 1); TMP_INIT; if (digits == 1 && str[0] == '0') { (*len) = 0; return 1; } TMP_STAR...
23.31
29
(translation_unit) "#include <string.h>\n#include "ccas.h"\n#include "nn.h"\n\nint_t nn_setstr(nn_t a, int_t * len, const char * str)\n{\n int_t i, m = 1, digits = strspn(str, "0123456789");\n int_t depth = BITCOUNT(digits - 1);\n TMP_INIT;\n \n if (digits == 1 && str[0] == '0')\n {\n (*len) = 0;\n\n ...
241
0
{"language": "c", "success": true, "metadata": {"lines": 29, "avg_line_length": 23.31, "nodes": 152, "errors": 0, "source_hash": "2db9300954889ca0ccf7911a75ae35aeaf3feb8ee2d85a913bd43ffc6511d9d4", "categorized_nodes": 106}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
9,867
c
// // AppDelegate.h // PaperBrush // // Created by <NAME> on 29/12/16. // Copyright © 2016 Alpha. All rights reserved. // #import <UIKit/UIKit.h> @interface AppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWindow *window; @property(strong, nonatomic, readwrite) UIView* background...
26.33
12
(translation_unit) "//\n// AppDelegate.h\n// PaperBrush\n//\n// Created by <NAME> on 29/12/16.\n// Copyright © 2016 Alpha. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface AppDelegate : UIResponder <UIApplicationDelegate>\n\n@property (strong, nonatomic) UIWindow *window;\n@property(strong, nonatom...
61
10
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 26.33, "nodes": 42, "errors": 0, "source_hash": "48566246f97d98ba1c855ee7b66d7e0ff2bda89ffdce418c129359f19211db5d", "categorized_nodes": 21}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <U...
9,868
c
#ifndef BLOCKWITHPOSTOMINICOLCONVERTER_H_ #define BLOCKWITHPOSTOMINICOLCONVERTER_H_ #include "../common/MinicolBlock.h" #include "../common/DataSource.h" #include "../common/BlockWithPos.h" #include "../Wrappers/PosRLEBlock.h" #include "MinicolShimOperator.h" #include <string.h> class BlockWithPosToMinicolConverter :...
29.04
28
(translation_unit) "#ifndef BLOCKWITHPOSTOMINICOLCONVERTER_H_\n#define BLOCKWITHPOSTOMINICOLCONVERTER_H_\n\n#include "../common/MinicolBlock.h"\n#include "../common/DataSource.h"\n#include "../common/BlockWithPos.h"\n#include "../Wrappers/PosRLEBlock.h"\n#include "MinicolShimOperator.h"\n#include <string.h>\n\nclass Bl...
149
2
{"language": "c", "success": true, "metadata": {"lines": 28, "avg_line_length": 29.04, "nodes": 86, "errors": 0, "source_hash": "93cd651dbf4bbd34bcbd345810913dbac4445f3b1e8c51f85cb7184e78617a81", "categorized_nodes": 64}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
9,869
c
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by <NAME>. // #import "QQGroupPropertyModel.h" @class NSString; @interface DownloadSecretCacheModel : QQGroupPropertyModel { } // Remaining properties @property(retain, nonatomic) NSString *md5; //...
28.31
16
(translation_unit) "//\n// Generated by class-dump 3.5 (64 bit).\n//\n// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by <NAME>.\n//\n\n#import "QQGroupPropertyModel.h"\n\n@class NSString;\n\n@interface DownloadSecretCacheModel : QQGroupPropertyModel\n{\n}\n\n\n// Remaining properties\n@property(...
86
13
{"language": "c", "success": true, "metadata": {"lines": 16, "avg_line_length": 28.31, "nodes": 52, "errors": 0, "source_hash": "c544e3851182a77d86b586355ea03c7fd95d42e1e952dd92e426e979e929e6ec", "categorized_nodes": 29}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import \...
9,870
c
#ifndef CG_SERVER_H #define CG_SERVER_H #include "config.h" #include <wayland-server.h> #include <wlr/backend.h> #include <wlr/types/wlr_idle.h> #include <wlr/types/wlr_idle_inhibit_v1.h> #include <wlr/types/wlr_output_layout.h> #include <wlr/types/wlr_xdg_decoration_v1.h> #include <wlr/xwayland.h> #include "wm/outp...
27.17
36
(translation_unit) "#ifndef CG_SERVER_H\n#define CG_SERVER_H\n\n#include "config.h"\n\n#include <wayland-server.h>\n#include <wlr/backend.h>\n#include <wlr/types/wlr_idle.h>\n#include <wlr/types/wlr_idle_inhibit_v1.h>\n#include <wlr/types/wlr_output_layout.h>\n#include <wlr/types/wlr_xdg_decoration_v1.h>\n#include <wlr...
176
0
{"language": "c", "success": true, "metadata": {"lines": 36, "avg_line_length": 27.17, "nodes": 142, "errors": 0, "source_hash": "539aa10657f09fd6d070fcbf1ae69ea4b41fa3bd3f31fd69db5efdb664de9ba1", "categorized_nodes": 124}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
9,871
c
// // NSArray+Extension.h // Toffee // // Created by huangqi on 2019/10/11. // Copyright © 2019 HonQi. All rights reserved. // #import <Foundation/Foundation.h> NS_ASSUME_NONNULL_BEGIN @interface NSArray (Extension) /// flat array, eg. @[obj1, @[obj2, obj3]] -- flatten --> @[obj1, obj2, obj3] - (NSArray *)flatt...
37.78
36
(translation_unit) "//\n// NSArray+Extension.h\n// Toffee\n//\n// Created by huangqi on 2019/10/11.\n// Copyright © 2019 HonQi. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n\nNS_ASSUME_NONNULL_BEGIN\n\n@interface NSArray (Extension)\n\n/// flat array, eg. @[obj1, @[obj2, obj3]] -- flatten --> @[ob...
417
39
{"language": "c", "success": true, "metadata": {"lines": 36, "avg_line_length": 37.78, "nodes": 236, "errors": 0, "source_hash": "3bfd93fe3dc93f5072401fb615503ea4fedd9cee4fb6dffb8edacb0acb1e70d2", "categorized_nodes": 149}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import ...
9,872
c
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by <NAME>. // #import "NSObject.h" @class NSString, PKInkParticleDescriptor; @interface PKInkRenderingDescriptor : NSObject { NSString *_identifier; unsigned long long _version; unsigned ...
40.32
22
(translation_unit) "//\n// Generated by class-dump 3.5 (64 bit).\n//\n// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by <NAME>.\n//\n\n#import "NSObject.h"\n\n@class NSString, PKInkParticleDescriptor;\n\n@interface PKInkRenderingDescriptor : NSObject\n{\n NSString *_identifier;\n unsigned ...
164
18
{"language": "c", "success": true, "metadata": {"lines": 22, "avg_line_length": 40.32, "nodes": 111, "errors": 0, "source_hash": "06fc7317ae4b998cfb712e3a10a8f5a8c8de760e88fe0a27ac79294dad106b06", "categorized_nodes": 64}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import ...
9,873
c
/* WS4D-gSOAP - Implementation of the Devices Profile for Web Services * (DPWS) on top of gSOAP * Copyright (C) 2007 University of Rostock * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * as published by the Free Software Foun...
32.18
106
(translation_unit) "/* WS4D-gSOAP - Implementation of the Devices Profile for Web Services\n * (DPWS) on top of gSOAP\n * Copyright (C) 2007 University of Rostock\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public License\n * as published...
864
0
{"language": "c", "success": true, "metadata": {"lines": 106, "avg_line_length": 32.18, "nodes": 564, "errors": 0, "source_hash": "a3cf3cdb65714fd3766e4807f16ea2f9018d0cb8750c5140e89fbfa1437106cc", "categorized_nodes": 319}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
9,874
c
/* Copyright (c) 1997-2020 <NAME> and others. */ /* < https://opensource.org/licenses/BSD-3-Clause > */ // ----------------------------------------------------------------------------------------------------------- // ---------------------------------------------------------------------------------------------------...
37.3
121
(translation_unit) "/* Copyright (c) 1997-2020 <NAME> and others. */\n\n/* < https://opensource.org/licenses/BSD-3-Clause > */\n\n// -----------------------------------------------------------------------------------------------------------\n// ---------------------------------------------------------------------------...
904
0
{"language": "c", "success": true, "metadata": {"lines": 121, "avg_line_length": 37.3, "nodes": 519, "errors": 0, "source_hash": "337e04a47e6200f527aa650bda3dfa18b32d1782aa6f540ceda66e880de22ce8", "categorized_nodes": 357}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
9,875
c
#pragma once #include "universe/BasicComponent.h" #include "universe/ComponentsDb.h" #include "universe/SceneComponentBase.h" #include "universe/components/LightComponentBase.h" struct SceneQuadlight; struct CQuadlight : CLightBase { REFLECTED_SCENE_COMP(CQuadlight, SceneQuadlight) { REFLECT_ICON(FA_SQUARE_FULL);...
31.1
30
(ERROR) "#pragma once\n#include "universe/BasicComponent.h"\n#include "universe/ComponentsDb.h"\n#include "universe/SceneComponentBase.h"\n#include "universe/components/LightComponentBase.h"\n\nstruct SceneQuadlight;\n\nstruct CQuadlight : CLightBase {\n REFLECTED_SCENE_COMP(CQuadlight, SceneQuadlight)\n {\n REFLECT_I...
312
12
{"language": "c", "success": true, "metadata": {"lines": 30, "avg_line_length": 31.1, "nodes": 159, "errors": 0, "source_hash": "70e895b23b1023f57b9725a5ccd5f65adf5b03b941b80ec6d721db25c61c5b40", "categorized_nodes": 120}, "ast": {"root": "ERROR", "nodes": [{"id": 0, "type": "ERROR", "text": "#pragma once\n#include \"u...
9,876
c
/* * Copyright (c) 2014, 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 "Bo...
31.08
38
(translation_unit) "/*\n * Copyright (c) 2014, 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 dire...
114
7
{"language": "c", "success": true, "metadata": {"lines": 38, "avg_line_length": 31.08, "nodes": 92, "errors": 0, "source_hash": "d2f467d796722c35c00272d7d8f46a56d8fc0ea39808e828da51dc6e899bf9e3", "categorized_nodes": 41}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import \...
9,877
c
#pragma once namespace fast_io { template<std::integral ch_type> struct basic_ibuffer_view { using char_type = ch_type; char_type const *begin_ptr{}; char_type const *curr_ptr{}; char_type const *end_ptr{}; constexpr basic_ibuffer_view() noexcept = default; template<::fast_io::freestanding::contiguous_iterator...
37.1
139
(ERROR) "ragma once\n\nnamespace fast_io\n{\n\ntemplate<std::integral ch_type>\nstruct basic_ibuffer_view\n{\n using char_type = ch_type;\n char_type const *begin_ptr{};\n char_type const *curr_ptr{};\n char_type const *end_ptr{};\n constexpr basic_ibuffer_view() noexcept = default;\n template<::fast_io::freestanding::...
1,688
126
{"language": "c", "success": true, "metadata": {"lines": 139, "avg_line_length": 37.1, "nodes": 1135, "errors": 0, "source_hash": "e72002b82de437d807f03f49da625a02c51bdbcb7cfd7878aabe52dc48862592", "categorized_nodes": 714}, "ast": {"root": "ERROR", "nodes": [{"id": 0, "type": "ERROR", "text": "ragma once\n\nnamespace ...
9,878
c
// the block that drives the 8 segment display void drive(unsigned char i) { // An 7 segment display is typically used at-most // to display hex chars i.e. 0-9, a-f(10-15) switch(i) { // The 7 segments are connected to 7 pins of a given port (portB here) and // the 8th pin is connected to com...
25.29
52
(translation_unit) "// the block that drives the 8 segment display \nvoid drive(unsigned char i) \n{ \n // An 7 segment display is typically used at-most \n // to display hex chars i.e. 0-9, a-f(10-15) \n switch(i) \n { \n // The 7 segments are connected to 7 pins of a given port (portB here) and \n // the...
373
0
{"language": "c", "success": true, "metadata": {"lines": 52, "avg_line_length": 25.29, "nodes": 203, "errors": 0, "source_hash": "ba9d03a280b5c82c10649b5b183b03e7796256191e9dfb8018f2b546de89aca3", "categorized_nodes": 139}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "function_definition", "text": "...
9,879
c
#pragma once /** * Include Entry Point */ #include <ING\EntryPoint\EntryPoint.h> /** * Include Utils */ #include <ING/Utils/Utils.h> using namespace ING::Utils; /** * Include Reflection */ #include <ING/Reflection/Reflection.h> using namespace ING::Reflection; namespace ING { class C_Camera; nam...
20.57
83
(translation_unit) "#pragma once\n\n/**\n * Include Entry Point\n */\n#include <ING\EntryPoint\EntryPoint.h>\n\n\n\n/**\n * Include Utils\n */\n#include <ING/Utils/Utils.h>\n\nusing namespace ING::Utils;\n\n\n\n/**\n * Include Reflection\n */\n#include <ING/Reflection/Reflection.h>\n\nusing namespace ING::Reflection;\n...
457
17
{"language": "c", "success": true, "metadata": {"lines": 83, "avg_line_length": 20.57, "nodes": 275, "errors": 0, "source_hash": "cc987e30c943a89d19549d18447047f259237cadef9f06c4ae5abd6429d4ebe8", "categorized_nodes": 188}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
9,880
c
// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef ANDROID_WEBVIEW_BROWSER_CHILD_FRAME_H_ #define ANDROID_WEBVIEW_BROWSER_CHILD_FRAME_H_ #include <memory> #include "android_webview/browser/compos...
34.84
38
(translation_unit) "// Copyright 2015 The Chromium Authors. All rights reserved.\n// Use of this source code is governed by a BSD-style license that can be\n// found in the LICENSE file.\n\n#ifndef ANDROID_WEBVIEW_BROWSER_CHILD_FRAME_H_\n#define ANDROID_WEBVIEW_BROWSER_CHILD_FRAME_H_\n\n#include <memory>\n\n#include "a...
201
8
{"language": "c", "success": true, "metadata": {"lines": 38, "avg_line_length": 34.84, "nodes": 107, "errors": 0, "source_hash": "cc7f57bdf4bd96f01b16030e0853fb4c8018772a61d7f888c3e6109661e96aa5", "categorized_nodes": 81}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
9,881
c
#ifdef __OBJC__ #import <UIKit/UIKit.h> #endif FOUNDATION_EXPORT double Pods_TwitterLBTAVersionNumber; FOUNDATION_EXPORT const unsigned char Pods_TwitterLBTAVersionString[];
28.17
6
(translation_unit) "#ifdef __OBJC__\n#import <UIKit/UIKit.h>\n#endif\n\n\nFOUNDATION_EXPORT double Pods_TwitterLBTAVersionNumber;\nFOUNDATION_EXPORT const unsigned char Pods_TwitterLBTAVersionString[];\n\n" (preproc_ifdef) "#ifdef __OBJC__\n#import <UIKit/UIKit.h>\n#endif" (#ifdef) "#ifdef" (identifier) "__OB...
27
1
{"language": "c", "success": true, "metadata": {"lines": 6, "avg_line_length": 28.17, "nodes": 19, "errors": 0, "source_hash": "0ba72b9130ae2eeb3a7ae40d908583616657f5e8e8e57f44f6fc8aa2739d616c", "categorized_nodes": 14}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifdef __...
9,882
c
#ifndef __EBPF_H__ #define __EBPF_H__ #include <stdbool.h> #ifndef ETH_P_IP # define ETH_P_IP 0x0800 /* Internet Protocol packet */ #endif #ifndef ETH_P_IPV6 # define ETH_P_IPV6 0x86DD /* IPv6 over bluebook */ #endif #ifndef AF_INET # define AF_INET 2 /* IP protocol family. */ #endif #ifndef AF_INET6 # define A...
21.27
59
(translation_unit) "#ifndef __EBPF_H__\n#define __EBPF_H__\n\n#include <stdbool.h>\n\n#ifndef ETH_P_IP\n# define ETH_P_IP 0x0800 /* Internet Protocol packet */\n#endif\n\n#ifndef ETH_P_IPV6\n# define ETH_P_IPV6 0x86DD /* IPv6 over bluebook */\n#endif\n\n#ifndef AF_INET\n# define AF_INET 2 /* IP protocol family. */\n...
267
0
{"language": "c", "success": true, "metadata": {"lines": 59, "avg_line_length": 21.27, "nodes": 186, "errors": 0, "source_hash": "8b5320835b77f851ad3da29043f412c7731dbec7dcab91fa16bea58b8e62cfb4", "categorized_nodes": 130}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
9,883
c
// metadoc CHash copyright <NAME> 2009 // metadoc CHash license BSD revised /*metadoc CHash description CHash - Cuckoo Hash keys and values are references (they are not copied or freed) */ #ifdef CHASH_C #define IO_IN_C_FILE #endif #include "Common_inline.h" #ifdef IO_DECLARE_INLINES #define CRecords_...
38.27
98
(translation_unit) "// metadoc CHash copyright <NAME> 2009\n// metadoc CHash license BSD revised\n/*metadoc CHash description\n CHash - Cuckoo Hash\n keys and values are references (they are not copied or freed)\n*/\n\n#ifdef CHASH_C\n#define IO_IN_C_FILE\n#endif\n#include "Common_inline.h"\n#ifdef IO_DEC...
789
9
{"language": "c", "success": true, "metadata": {"lines": 98, "avg_line_length": 38.27, "nodes": 514, "errors": 0, "source_hash": "3d78b1dd888bfdceface0950c2cee1a202f6c6070b22c1f1d8eb6f9dfd08a7fc", "categorized_nodes": 379}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifdef...
9,884
c
#pragma once #include "check.h" Suite* parser_suite(void);
18.67
3
(translation_unit) "#pragma once\n\n#include "check.h"\n\nSuite* parser_suite(void);\n" (preproc_call) "#pragma once\n" (preproc_directive) "#pragma" (preproc_arg) "once" (preproc_include) "#include "check.h"\n" (#include) "#include" (string_literal) ""check.h"" (") """ (string_content) ...
22
0
{"language": "c", "success": true, "metadata": {"lines": 3, "avg_line_length": 18.67, "nodes": 15, "errors": 0, "source_hash": "a162aa4e94ce0a3bbe033ef68f6b8f28ca21903f340519aff90769761ac5c7cd", "categorized_nodes": 9}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma onc...
9,885
c
// Copyright (c) 2009 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_GTK_PROCESS_SINGLETON_DIALOG_H_ #define CHROME_BROWSER_GTK_PROCESS_SINGLETON_DIALOG_H_ #include <string> #include <gtk/gtk.h>...
43.38
24
(translation_unit) "// Copyright (c) 2009 The Chromium Authors. All rights reserved.\n// Use of this source code is governed by a BSD-style license that can be\n// found in the LICENSE file.\n\n#ifndef CHROME_BROWSER_GTK_PROCESS_SINGLETON_DIALOG_H_\n#define CHROME_BROWSER_GTK_PROCESS_SINGLETON_DIALOG_H_\n\n#include <st...
119
2
{"language": "c", "success": true, "metadata": {"lines": 24, "avg_line_length": 43.38, "nodes": 67, "errors": 0, "source_hash": "e1d0858d151185420174e6bcf5b0f0ce47a616e3257603dbc7620f77b7f69367", "categorized_nodes": 48}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
9,886
c
//transpose general #include <stdio.h> void main() { int i,j,m,n; printf("Enter the number of rows and columns od the matrix: \n"); scanf("%d,%d",&m,&n); int A[m][n], B[n][m]; printf("Enter the elements of the matrix: \n"); for(i=0;i<m;i++) { for(j=0;j<n;j++) { pr...
24.28
32
(translation_unit) "//transpose general \n#include <stdio.h> \n \nvoid main() { \n int i,j,m,n; \n printf("Enter the number of rows and columns od the matrix: \n"); \n scanf("%d,%d",&m,&n); \n int A[m][n], B[n][m]; \n printf("Enter the elements of the matrix: \n"); \n for(i=0;i<m;i++) { \n for(...
388
0
{"language": "c", "success": true, "metadata": {"lines": 32, "avg_line_length": 24.28, "nodes": 207, "errors": 0, "source_hash": "8d3a1527d8b8bb2a828d9d2c34d29927fbc81c44e8823e33a77168454f97f28c", "categorized_nodes": 154}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
9,887
c
// Class that tries to estimate the computational cost for computing a // specific number of windows. This is created by running some sample // images through an algorithm, asking for different numbers of // windows. Then, the timing for a specific number in between the // sample points is estimated linearily. // // Au...
39.43
54
(translation_unit) "// Class that tries to estimate the computational cost for computing a\n// specific number of windows. This is created by running some sample\n// images through an algorithm, asking for different numbers of\n// windows. Then, the timing for a specific number in between the\n// sample points is estim...
371
19
{"language": "c", "success": true, "metadata": {"lines": 54, "avg_line_length": 39.43, "nodes": 214, "errors": 0, "source_hash": "01b33276dc52deb4b55addda3236146b2f53e7f44d227c71921b8dd11938900d", "categorized_nodes": 150}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
9,888
c
// // dpkgver.h // Zebra // // Created by <NAME> on 3/18/19. // Copyright © 2019 <NAME>. All rights reserved. // #ifndef dpkgver_h #define dpkgver_h #include <stdio.h> int verrevcmp(const char *val, const char *ref); #endif /* dpkgver_h */
19.33
12
(translation_unit) "//\n// dpkgver.h\n// Zebra\n//\n// Created by <NAME> on 3/18/19.\n// Copyright © 2019 <NAME>. All rights reserved.\n//\n\n#ifndef dpkgver_h\n#define dpkgver_h\n\n#include <stdio.h>\n\nint verrevcmp(const char *val, const char *ref);\n\n#endif /* dpkgver_h */\n" (comment) "//" (comment) "// ...
42
0
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 19.33, "nodes": 27, "errors": 0, "source_hash": "4bd436698e897ab5eb3e29e53174e0adc455fadc685ca3b53f658537209b423a", "categorized_nodes": 17}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "ifndef d...
9,889
c
#ifndef __MISC_H #define __MISC_H //// Miscellaneous functions that sometimes come in handy in contests. //// Formatted for process.exe. //// *** Calendar *** int IsLeapYear(int y) {return y%4 == 0 && (y%100 || y%400 == 0);} int DaysSince1600(int d, int m, int y) { // Returns # of days since Jan. 1, 1600 (ie, 1 1...
31.87
101
(translation_unit) "#ifndef __MISC_H\n#define __MISC_H\n\n//// Miscellaneous functions that sometimes come in handy in contests.\n//// Formatted for process.exe.\n\n//// *** Calendar ***\n\nint IsLeapYear(int y) {return y%4 == 0 && (y%100 || y%400 == 0);}\n\nint DaysSince1600(int d, int m, int y) {\n // Returns # of d...
1,400
2
{"language": "c", "success": true, "metadata": {"lines": 101, "avg_line_length": 31.87, "nodes": 868, "errors": 0, "source_hash": "983b6d53b053122149947123d1948e1786a82aa38ca8a1bcfb49e1d42ec1431e", "categorized_nodes": 643}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
9,890
c
#import <UIKit/UIKit.h> FOUNDATION_EXPORT double Pods_JKLArrayDataSource_ExampleVersionNumber; FOUNDATION_EXPORT const unsigned char Pods_JKLArrayDataSource_ExampleVersionString[];
44.5
4
(translation_unit) "#import <UIKit/UIKit.h>\n\n\nFOUNDATION_EXPORT double Pods_JKLArrayDataSource_ExampleVersionNumber;\nFOUNDATION_EXPORT const unsigned char Pods_JKLArrayDataSource_ExampleVersionString[];\n\n" (preproc_call) "#import <UIKit/UIKit.h>\n" (preproc_directive) "#import" (preproc_arg) "<UIKit/UIK...
23
1
{"language": "c", "success": true, "metadata": {"lines": 4, "avg_line_length": 44.5, "nodes": 15, "errors": 0, "source_hash": "7e288f4e57defbab6220675345b96e4e9ab16d2700781ad2b21c65d511bebc17", "categorized_nodes": 10}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <UI...
9,891
c
#ifndef EFFECTNOISE_H #define EFFECTNOISE_H #include <Arduino.h> #include <FastLED.h> #include "config.h" #include "effect.h" #include "lights.h" class EffectNoise : public Effect { public: EffectNoise(); void loop(Lights *lights, float sanitizedLevel, double transformedLevel, double smoothedLevel, double histori...
23.24
17
(translation_unit) "#ifndef EFFECTNOISE_H\n#define EFFECTNOISE_H\n\n#include <Arduino.h>\n#include <FastLED.h>\n#include "config.h"\n#include "effect.h"\n#include "lights.h"\n\nclass EffectNoise : public Effect {\npublic:\n EffectNoise();\n void loop(Lights *lights, float sanitizedLevel, double transformedLevel, doub...
106
1
{"language": "c", "success": true, "metadata": {"lines": 17, "avg_line_length": 23.24, "nodes": 66, "errors": 0, "source_hash": "6a69a31cb9dc62f4a39cc4c837e26215503b806b98b353875a5d752ddfac606a", "categorized_nodes": 47}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
9,892
c
#ifndef __LSM6DS33_H__ #define __LSM6DS33_H__ #define LSM6DS33_DEFAULT_ADDRESS (0x6A) typedef struct lsm6ds33_t { int adapter; unsigned address; float gyro_scale; } lsm6ds33; int lsm6ds33_init(lsm6ds33 *dev); int lsm6ds33_sample(lsm6ds33 *dev, float gyro[3], float accel[3], float tempC[1]); #endif // __...
28.91
11
(translation_unit) "#ifndef __LSM6DS33_H__\n#define __LSM6DS33_H__\n\n#define LSM6DS33_DEFAULT_ADDRESS (0x6A)\n\ntypedef struct lsm6ds33_t {\n int adapter;\n unsigned address;\n float gyro_scale;\n} lsm6ds33;\n\nint lsm6ds33_init(lsm6ds33 *dev);\nint lsm6ds33_sample(lsm6ds33 *dev, float gyro[3], float accel[3]...
86
0
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 28.91, "nodes": 62, "errors": 0, "source_hash": "1fedebc1b1fb102bfc61d3f28c455faa999c077bfa5d17a687021bb670730a77", "categorized_nodes": 39}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
9,893
c
#pragma once #ifndef _COMPRESSION_STREAM_H_ #define _COMPRESSION_STREAM_H_ #include <vector> #include "AritCode.h" #include "ModelList.h" struct HashBits { std::vector<unsigned> hashes; std::vector<bool> bits; std::vector<int> weights; unsigned int tinyhashsize; }; struct TinyHashEntry { u...
25.4
40
(translation_unit) "#pragma once \n#ifndef _COMPRESSION_STREAM_H_ \n#define _COMPRESSION_STREAM_H_ \n \n#include <vector> \n \n#include "AritCode.h" \n#include "ModelList.h" \n \nstruct HashBits { \n std::vector<unsigned> hashes; \n std::vector<bool> bits; \n std::vector<int> weights; \n unsigned int tinyhashsize; ...
297
9
{"language": "c", "success": true, "metadata": {"lines": 40, "avg_line_length": 25.4, "nodes": 205, "errors": 0, "source_hash": "76fefbbee8fd6da0a0619b500dca1941d44c89f19df504f2e6ca56205e220b2b", "categorized_nodes": 125}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma ...
9,894
c
/* * mcuHWInit.h - The C heade file of MCU chip's peripheral Initialization * NOTE: This file is based on HAL library of stm32 platform * * Copyright (c) 2020-, super cap buffer Project * * SPDX-License-Identifier: Apache-2.0 * * Change Logs: * Date Author Notes mail * 2020-08-...
21.12
33
(translation_unit) "/* \n * mcuHWInit.h - The C heade file of MCU chip's peripheral Initialization\n * NOTE: This file is based on HAL library of stm32 platform\n *\n * Copyright (c) 2020-, super cap buffer Project\n *\n * SPDX-License-Identifier: Apache-2.0\n *\n * Change Logs:\n * Date Author Not...
80
0
{"language": "c", "success": true, "metadata": {"lines": 33, "avg_line_length": 21.12, "nodes": 44, "errors": 0, "source_hash": "f56efa54129cfcd9c962028e526fbdc4179fa43b20fd94fe15c5bd587fd7aa40", "categorized_nodes": 39}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "f _mcuHW...
9,895
c
#ifndef _PBS_LOG_H #define _PBS_LOG_H #include "license_pbs.h" /* See here for the software license */ #include "log.h" int log_init(const char *suffix, const char *hostname); int log_open(char *filename, char *directory); int job_log_open(char *filename, char *directory); void log_err(int errnum, const char *ro...
45.48
23
(translation_unit) "#ifndef _PBS_LOG_H\n#define _PBS_LOG_H\n#include "license_pbs.h" /* See here for the software license */\n\n#include "log.h"\n\nint log_init(const char *suffix, const char *hostname);\n\nint log_open(char *filename, char *directory); \n\nint job_log_open(char *filename, char *directory); \n\nvoid lo...
348
0
{"language": "c", "success": true, "metadata": {"lines": 23, "avg_line_length": 45.48, "nodes": 247, "errors": 0, "source_hash": "7b9fe0ba316d445839eb4bfae9703ca1fb40efb25b6ab2591d7532f309286890", "categorized_nodes": 136}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
9,896
c
//===-- llvm/MC/MCCodeEmitter.h - Instruction Encoding ----------*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
36.93
55
(translation_unit) "//===-- llvm/MC/MCCodeEmitter.h - Instruction Encoding ----------*- C++ -*-===//\n//\n// The LLVM Compiler Infrastructure\n//\n// This file is distributed under the University of Illinois Open Source\n// License. See LICENSE.TXT for details.\n//\n//===----------------------------...
234
11
{"language": "c", "success": true, "metadata": {"lines": 55, "avg_line_length": 36.93, "nodes": 119, "errors": 0, "source_hash": "6195bb953205c902077e9b8fd707af7ee8ea10a5fa85fffb04d8032049331db0", "categorized_nodes": 83}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
9,897
c
/** @file Copyright 2006 - 2012 Unified EFI, Inc.<BR> Copyright (c) 2010 - 2012, Intel Corporation. All rights reserved.<BR> This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full tex...
21.81
198
(translation_unit) "/** @file \n \n Copyright 2006 - 2012 Unified EFI, Inc.<BR> \n Copyright (c) 2010 - 2012, Intel Corporation. All rights reserved.<BR> \n \n This program and the accompanying materials \n are licensed and made available under the terms and conditions of the BSD License \n which accompanies this ...
553
4
{"language": "c", "success": true, "metadata": {"lines": 198, "avg_line_length": 21.81, "nodes": 318, "errors": 0, "source_hash": "0a58f725c5d1b1a60ba2d4fd7633ddf678efa9a8aa68431817334a6177ad3aae", "categorized_nodes": 222}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
9,898
c
// // crypto_register.h // tcpcrypt // // Created by <NAME>. // Copyright © 2017 <NAME>. All rights reserved. // #ifndef crypto_register_h #define crypto_register_h #include "crypto.h" #include "tcpcrypt.h" extern void register_ciphers(void); #endif /* crypto_register_h */
20.38
13
(translation_unit) "//\n// crypto_register.h\n// tcpcrypt\n//\n// Created by <NAME>.\n// Copyright © 2017 <NAME>. All rights reserved.\n//\n\n#ifndef crypto_register_h\n#define crypto_register_h\n\n#include "crypto.h"\n#include "tcpcrypt.h"\n\nextern void register_ciphers(void);\n\n#endif /* crypto_register_h */\n"...
40
0
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 20.38, "nodes": 22, "errors": 0, "source_hash": "4a761ddc75a60a6cdb906918bad6f2ad60d3fbdb3942117b79b08aa75b7e9564", "categorized_nodes": 16}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "ifndef c...
9,899