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
#pragma once #ifndef PI #define PI 3.14159265358979323846 #endif // !PI
17
4
(translation_unit) "#pragma once\n#ifndef PI\n#define PI 3.14159265358979323846\n#endif // !PI\n" (preproc_call) "#pragma once\n" (preproc_directive) "#pragma" (preproc_arg) "once" (preproc_ifdef) "#ifndef PI\n#define PI 3.14159265358979323846\n#endif" (#ifndef) "#ifndef" (identifier) "PI" (prep...
13
0
{"language": "c", "success": true, "metadata": {"lines": 4, "avg_line_length": 17.0, "nodes": 11, "errors": 0, "source_hash": "8a65980e203e50c6d67e9433ae3f54c7982bf8e43597346ba2ed5e7ea979bfb4", "categorized_nodes": 6}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma once...
13,500
c
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by <NAME>. // #import "WCPayBaseCgi.h" @class NSString; @interface WCPayLQTPurchaseFundCgi : WCPayBaseCgi { unsigned int _fee; NSString *_fundCode; id <WCPayLQTPurchaseFundCgiDelegate> _c...
33.23
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 "WCPayBaseCgi.h"\n\n@class NSString;\n\n@interface WCPayLQTPurchaseFundCgi : WCPayBaseCgi\n{\n unsigned int _fee;\n NSString *_fundCode;\n id <W...
177
17
{"language": "c", "success": true, "metadata": {"lines": 22, "avg_line_length": 33.23, "nodes": 110, "errors": 0, "source_hash": "159565f770925d739839d7b7489991053c887cb6a6161f43c01266371502ab1c", "categorized_nodes": 64}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import ...
13,501
c
#import <UIKit/UIKit.h> #import "QLBaseViewController.h" /** * A camera view controller */ @interface CameraViewController : QLBaseViewController @end
21
7
(translation_unit) "#import <UIKit/UIKit.h>\n#import "QLBaseViewController.h"\n\n/**\n * A camera view controller\n */\n@interface CameraViewController : QLBaseViewController\n\n@end\n" (preproc_call) "#import <UIKit/UIKit.h>\n" (preproc_directive) "#import" (preproc_arg) "<UIKit/UIKit.h>" (preproc_call) "...
16
3
{"language": "c", "success": true, "metadata": {"lines": 7, "avg_line_length": 21.0, "nodes": 12, "errors": 0, "source_hash": "02a0d06cc0813fe3fb4000be9b422064b0c5638fead04d5ee56d38c7e5f15da7", "categorized_nodes": 5}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <UIK...
13,502
c
/*===-- serialbox-c/Type.h ----------------------------------------------------------*- C++ -*-===*\ * * S E R I A L B O X * * This file is distributed under terms of BSD license. * See LICENSE.txt for more information * *===-----------------------------------------------------...
27.04
118
(translation_unit) "/*===-- serialbox-c/Type.h ----------------------------------------------------------*- C++ -*-===*\\n *\n * S E R I A L B O X\n *\n * This file is distributed under terms of BSD license.\n * See LICENSE.txt for more information\n *\n *===--------------------------...
295
4
{"language": "c", "success": true, "metadata": {"lines": 118, "avg_line_length": 27.04, "nodes": 195, "errors": 0, "source_hash": "f4c6b0c493724daae457ab28d2b2a0bb8a98a0a6fb4d35e814ecb160badc71ee", "categorized_nodes": 154}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
13,503
c
#ifndef PLAYLIST_CPP #define PLAYLIST_CPP #include <Arduino.h> #include <ArduinoJson.h> class Playlist_item { uint8_t _itemId = 0; uint8_t _id = 0; String _lbl = "null"; String _itemBase = "null"; String _itemBaseCfg = "null"; public: Playlist_item(){}; ~Playlist_ite...
33.52
62
(translation_unit) "#ifndef PLAYLIST_CPP\n#define PLAYLIST_CPP\n #include <Arduino.h>\n #include <ArduinoJson.h>\n class Playlist_item {\n uint8_t _itemId = 0;\n uint8_t _id = 0;\n String _lbl = "null";\n String _itemBase = "null";\n String _itemBaseCfg = "null";\n public:\n Playl...
667
26
{"language": "c", "success": true, "metadata": {"lines": 62, "avg_line_length": 33.52, "nodes": 383, "errors": 0, "source_hash": "4ef052ecb2ae5517131ce5210d53d6f708de4abc8527ff2e80a7f4d50f2c5d9a", "categorized_nodes": 243}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
13,504
c
#ifndef _DESERIALIZE_H_ #define _DESERIALIZE_H_ void deserialize_from_bootstrap_file(const char* filename); void init_deserialize(); #endif // _DESERIALIZE_H_
31
5
(translation_unit) "#ifndef _DESERIALIZE_H_\n#define _DESERIALIZE_H_\n\nvoid deserialize_from_bootstrap_file(const char* filename);\nvoid init_deserialize();\n\n#endif // _DESERIALIZE_H_\n" (preproc_ifdef) "#ifndef _DESERIALIZE_H_\n#define _DESERIALIZE_H_\n\nvoid deserialize_from_bootstrap_file(const char* filename)...
32
0
{"language": "c", "success": true, "metadata": {"lines": 5, "avg_line_length": 31.0, "nodes": 22, "errors": 0, "source_hash": "7264e5d84f0d6bd0ee67e80b04b93588bc3e0794ed8b39dff5d24d65c2726f76", "categorized_nodes": 13}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef _D...
13,505
c
/* ============================================================================ Name : C.c Version : 1.0.0 Copyright : Unlicense Description : Example of C program ============================================================================ */ #include <stdio.h> #include <stdlib.h> #include <time.h> #incl...
25.86
66
(translation_unit) "/*\n============================================================================\nName : C.c\nVersion : 1.0.0\nCopyright : Unlicense\nDescription : Example of C program\n============================================================================\n*/\n\n#include <stdio.h>\n#include <std...
540
2
{"language": "c", "success": true, "metadata": {"lines": 66, "avg_line_length": 25.86, "nodes": 333, "errors": 0, "source_hash": "a11c544f9d5096ebc90a566a019c58d7955211b77a47cb5622ab29eccba3de2f", "categorized_nodes": 252}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
13,506
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; @interface ISS__DAVXMLNSTag : NSObject { NSString *ns; NSString *tag; } - (id)tag; - (id)namespace; - (void)finalize; - (void)dealloc; - (...
19.06
18
(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;\n\n@interface ISS__DAVXMLNSTag : NSObject\n{\n NSString *ns;\n NSString *tag;\n}\n\n- (id)tag;\n- (id)namespace;\n...
106
9
{"language": "c", "success": true, "metadata": {"lines": 18, "avg_line_length": 19.06, "nodes": 64, "errors": 0, "source_hash": "169f7c7acb3350f656ddee65429fc63672d1dbd710a17e9fcb02ef635e32dd77", "categorized_nodes": 37}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import \...
13,507
c
/* PR tree-optimization/85156 */ /* { dg-do compile } */ /* { dg-options "-O2 -g" } */ int a, b; int foo (void) { return __builtin_expect (a ? b != 0 : 0, ({ 1; })); }
17.89
9
(translation_unit) "/* PR tree-optimization/85156 */\n/* { dg-do compile } */\n/* { dg-options "-O2 -g" } */\n\nint a, b;\n\nint\nfoo (void)\n{\n return __builtin_expect (a ? b != 0 : 0, ({ 1; }));\n}\n" (comment) "/* PR tree-optimization/85156 */" (comment) "/* { dg-do compile } */" (comment) "/* { dg-options "...
49
0
{"language": "c", "success": true, "metadata": {"lines": 9, "avg_line_length": 17.89, "nodes": 25, "errors": 0, "source_hash": "1a7e76fad4bf5eab2a6972835b4e12da994a01623cb36f63294d50efb1dc4288", "categorized_nodes": 18}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "declaration", "text": "int a, b;",...
13,508
c
#ifndef SHARE_H #define SHARE_H #include <iostream> // For fmpz types #include "fmpz_utils.h" struct CorShare; struct Cor { fmpz_t D; fmpz_t E; Cor(){ fmpz_init(D); fmpz_init(E); } Cor(const CorShare* const x, const CorShare* const y); ~Cor(){ fmpz_clear(D); ...
27.26
188
(translation_unit) "#ifndef SHARE_H\n#define SHARE_H\n\n#include <iostream>\n\n// For fmpz types\n#include "fmpz_utils.h"\n\nstruct CorShare;\n\nstruct Cor {\n fmpz_t D;\n fmpz_t E;\n\n Cor(){\n fmpz_init(D);\n fmpz_init(E);\n }\n\n Cor(const CorShare* const x, const CorShare* const y);\n\n...
1,525
64
{"language": "c", "success": true, "metadata": {"lines": 188, "avg_line_length": 27.26, "nodes": 870, "errors": 0, "source_hash": "f2554195d58aac7cdfd9372191f05015b4dad8b0bcda81dfda93262bd2bf49cc", "categorized_nodes": 595}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
13,509
c
/* color_filters.h * Definitions for color filters * * Wireshark - Network traffic analyzer * By <NAME> <<EMAIL>> * Copyright 1998 <NAME> * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundatio...
33.59
184
(translation_unit) "/* color_filters.h\n * Definitions for color filters\n *\n * Wireshark - Network traffic analyzer\n * By <NAME> <<EMAIL>>\n * Copyright 1998 <NAME>\n *\n * This program is free software; you can redistribute it and/or\n * modify it under the terms of the GNU General Public License\n * as published b...
455
0
{"language": "c", "success": true, "metadata": {"lines": 184, "avg_line_length": 33.59, "nodes": 306, "errors": 0, "source_hash": "58156c45239009959f3765d609945bade06e7d27fd6321c85fa445a336326d4b", "categorized_nodes": 210}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
13,510
c
#include <stdio.h> #include "darshan-log-format.h" #include "darshan-apss-log-format.h" int main (int argc, char **argv) { printf ("APSS_NUM_INDICES = %d\n", APSS_NUM_INDICES); printf ("sizeof darshan_apss_header_record = %d\n", sizeof(struct darshan_apss_header_record)); printf ("sizeof darshan_apss_perf_rec...
37.9
10
(translation_unit) "#include <stdio.h>\n#include "darshan-log-format.h"\n#include "darshan-apss-log-format.h"\n\nint main (int argc, char **argv)\n{\n printf ("APSS_NUM_INDICES = %d\n", APSS_NUM_INDICES);\n printf ("sizeof darshan_apss_header_record = %d\n", sizeof(struct darshan_apss_header_record));\n printf ("...
97
0
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 37.9, "nodes": 52, "errors": 0, "source_hash": "4d798028e615e328935fdc8384431df08ee19336d7de79b56b3d4e5b20f79366", "categorized_nodes": 36}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#includ...
13,511
c
// // Balink_iOS_boilerplate.h // Balink iOS boilerplate // // Created by <NAME> on 01/03/2018. // Copyright © 2018 elie buff. All rights reserved. // #import <UIKit/UIKit.h> //! Project version number for Balink_iOS_boilerplate. FOUNDATION_EXPORT double Balink_iOS_boilerplateVersionNumber; //! Project version s...
43.31
13
(translation_unit) "//\n// Balink_iOS_boilerplate.h\n// Balink iOS boilerplate\n//\n// Created by <NAME> on 01/03/2018.\n// Copyright © 2018 elie buff. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n//! Project version number for Balink_iOS_boilerplate.\nFOUNDATION_EXPORT double Balink_iOS_boilerplateVersio...
33
1
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 43.31, "nodes": 15, "errors": 0, "source_hash": "0bdb5961897f3a252c1f7346bffa2435a458529f8f78979f384417e0cbb5d6fa", "categorized_nodes": 11}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <U...
13,512
c
#ifndef INPUT_H #define INPUT_H #include <cstdint> class Input { private: uint8_t BUTTON_1_PIN = 15; uint8_t BUTTON_2_PIN = 2; uint8_t BUTTON_3_PIN = 32; uint8_t BUTTON_4_PIN = 200; // disconnected uint8_t BUTTON_U_PIN = 0; uint8_t BUTTON_R_PIN = 4; uint8_t BUTTON_D_PIN = 33; uint8_t BU...
21.98
64
(translation_unit) "#ifndef INPUT_H\n#define INPUT_H\n#include <cstdint>\n\nclass Input\n{\nprivate:\n uint8_t BUTTON_1_PIN = 15;\n uint8_t BUTTON_2_PIN = 2;\n uint8_t BUTTON_3_PIN = 32;\n uint8_t BUTTON_4_PIN = 200; // disconnected\n uint8_t BUTTON_U_PIN = 0;\n uint8_t BUTTON_R_PIN = 4;\n uint8_t ...
409
0
{"language": "c", "success": true, "metadata": {"lines": 64, "avg_line_length": 21.98, "nodes": 293, "errors": 0, "source_hash": "496f5eb70b084d2709d613bcff29d68df082e119381a88ffffeb9fa45f4fd0d1", "categorized_nodes": 166}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
13,513
c
/** * Copyright (C) Arm Limited 2013-2016. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ #ifndef GATOR_EVENTS_MALI_MIDGARD_H_ #define GATOR_EVENTS_MA...
41.54
24
(translation_unit) "/**\n * Copyright (C) Arm Limited 2013-2016. All rights reserved.\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 version 2 as\n * published by the Free Software Foundation.\n */\n\n#ifndef GATOR_EVENTS_MALI_MIDGAR...
39
0
{"language": "c", "success": true, "metadata": {"lines": 24, "avg_line_length": 41.54, "nodes": 27, "errors": 0, "source_hash": "896b3cddafb390152bef00c817ed841120191ec112495724a1dfb131fe960737", "categorized_nodes": 15}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
13,514
c
/*scanf1. Write a program in C to store elements in an array and print it. Go to the editor Test Data : Input 10 elements in the array : element - 0 : 1 element - 1 : 1 element - 2 : 2 ....... Expected Output : Elements in array are: 1 1 2 3 4 5 6 7 8 9*/ #include <stdio.h> int main(){ int x; printf("Input how man...
20.9
29
(translation_unit) "/*scanf1. Write a program in C to store elements in an array and print it. Go to the editor\nTest Data :\nInput 10 elements in the array :\nelement - 0 : 1\nelement - 1 : 1\nelement - 2 : 2\n.......\nExpected Output :\nElements in array are: 1 1 2 3 4 5 6 7 8 9*/\n#include <stdio.h>\nint main(){\nin...
180
0
{"language": "c", "success": true, "metadata": {"lines": 29, "avg_line_length": 20.9, "nodes": 88, "errors": 0, "source_hash": "fb0a218ef8ec99adbf0648559397c6f68e10cfb4e9ec46a223be96e04aa51627", "categorized_nodes": 65}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#includ...
13,515
c
// // TCDirectionsRouteTests.h // TCGoogleMaps // // Created by <NAME> on 9/3/13. // Copyright (c) 2013 <NAME>. All rights reserved. // #import <SenTestingKit/SenTestingKit.h> @interface TCDirectionsRouteTests : SenTestCase @end
22.3
10
(translation_unit) "//\n// TCDirectionsRouteTests.h\n// TCGoogleMaps\n//\n// Created by <NAME> on 9/3/13.\n// Copyright (c) 2013 <NAME>. All rights reserved.\n//\n\n#import <SenTestingKit/SenTestingKit.h>\n\n@interface TCDirectionsRouteTests : SenTestCase\n\n@end\n" (comment) "//" (comment) "// TCDirectionsRou...
19
3
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 22.3, "nodes": 9, "errors": 0, "source_hash": "1b36cfe5d08e82e20d1fdc2219e468d61eafcf6436ed521ec49fbf9349a4f88d", "categorized_nodes": 4}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <Sen...
13,516
c
// // YZAreaView.h // YChat // // Created by magic on 2020/12/29. // Copyright © 2020 Apple. All rights reserved. // #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @class YZAreaView; typedef void (^YZAreaViewFunction)(YZAreaView *actionSheet,NSInteger index); @interface YZAreaView : UIView @property(nonatomic...
33.06
18
(translation_unit) "//\n// YZAreaView.h\n// YChat\n//\n// Created by magic on 2020/12/29.\n// Copyright © 2020 Apple. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\nNS_ASSUME_NONNULL_BEGIN\n\n@class YZAreaView;\n\ntypedef void (^YZAreaViewFunction)(YZAreaView *actionSheet,NSInteger index);\n\n@interface YZA...
145
17
{"language": "c", "success": true, "metadata": {"lines": 18, "avg_line_length": 33.06, "nodes": 89, "errors": 0, "source_hash": "bf1093ad0a0a5a7280fef68ac046bcedc1f81415c7fea9a8e61c8e82676efd71", "categorized_nodes": 59}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <U...
13,517
c
/** * Marlin 3D Printer Firmware * Copyright (C) 2016 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] * * Based on Sprinter and grbl. * Copyright (C) 2011 <NAME> / <NAME> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as ...
28.48
255
(translation_unit) "/**\n * Marlin 3D Printer Firmware\n * Copyright (C) 2016 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]\n *\n * Based on Sprinter and grbl.\n * Copyright (C) 2011 <NAME> / <NAME>\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GN...
1,354
2
{"language": "c", "success": true, "metadata": {"lines": 255, "avg_line_length": 28.48, "nodes": 1014, "errors": 0, "source_hash": "d46e5086f407a93571a2dae273e218e5a846c646b5420a38496f13d4a77f65f8", "categorized_nodes": 674}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifn...
13,518
c
/* * RELIC is an Efficient LIbrary for Cryptography * Copyright (C) 2007-2017 RELIC Authors * * This file is part of RELIC. RELIC is legal property of its developers, * whose names are not listed here. Please refer to the COPYRIGHT file * for contact information. * * RELIC is free software; you can redistribute...
23.43
89
(translation_unit) "/*\n * RELIC is an Efficient LIbrary for Cryptography\n * Copyright (C) 2007-2017 RELIC Authors\n *\n * This file is part of RELIC. RELIC is legal property of its developers,\n * whose names are not listed here. Please refer to the COPYRIGHT file\n * for contact information.\n *\n * RELIC is free so...
428
4
{"language": "c", "success": true, "metadata": {"lines": 89, "avg_line_length": 23.43, "nodes": 222, "errors": 0, "source_hash": "ba5cf43da139b84d19a2e144ded227fdd15241b50daeb1736e363164b457a197", "categorized_nodes": 175}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
13,519
c
#define CTOY_SAMPLE 1 // change me // samples #if CTOY_SAMPLE == 1 #include "sample/hello_world.c" #elif CTOY_SAMPLE == 2 #include "sample/triangle_hello.c" #elif CTOY_SAMPLE == 3 #include "sample/sound_hello.c" #elif CTOY_SAMPLE == 4 #include "sample/libtcc_hello.c" #elif CTOY_SAMPLE == 5 #include "sample/raytra...
24.53
19
(translation_unit) "#define CTOY_SAMPLE 1 // change me\n\n// samples\n#if CTOY_SAMPLE == 1\n#include "sample/hello_world.c"\n\n#elif CTOY_SAMPLE == 2\n#include "sample/triangle_hello.c"\n\n#elif CTOY_SAMPLE == 3\n#include "sample/sound_hello.c"\n\n#elif CTOY_SAMPLE == 4\n#include "sample/libtcc_hello.c"\n\n#elif CTOY_S...
111
0
{"language": "c", "success": true, "metadata": {"lines": 19, "avg_line_length": 24.53, "nodes": 85, "errors": 0, "source_hash": "0231314472553a094f4bd728b2243d236b337fa8034ab4e2f277d195cd90e6cd", "categorized_nodes": 66}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_def", "text": "#define CT...
13,520
c
#pragma once #include "AlphaChangerMenu.h" #include "BrushModeSelectorMenu.h" #include "DeviceHandlerModeSelectorMenu.h" #include "IllustratorModeSelectorMenu.h" #include "LabelMenu.h" #include "LayerModeSelectorMenu.h" #include "LayerTextureMenu.h" #include "LayerVisualizationMenu.h" #include "Menu.h" #include "Remove...
30.06
18
(translation_unit) "#pragma once\n#include "AlphaChangerMenu.h"\n#include "BrushModeSelectorMenu.h"\n#include "DeviceHandlerModeSelectorMenu.h"\n#include "IllustratorModeSelectorMenu.h"\n#include "LabelMenu.h"\n#include "LayerModeSelectorMenu.h"\n#include "LayerTextureMenu.h"\n#include "LayerVisualizationMenu.h"\n#incl...
106
0
{"language": "c", "success": true, "metadata": {"lines": 18, "avg_line_length": 30.06, "nodes": 54, "errors": 0, "source_hash": "5ecead48e675875fd0c6470d5f78f49e45ed2705eec3f079d067e7369a585185", "categorized_nodes": 52}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
13,521
c
/* Copyright (c) 2010, <NAME> All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the followi...
34.74
221
(translation_unit) "/*\n Copyright (c) 2010, <NAME>\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 \n are met:\n \n * Redistributions of source code must retain the above copyright \n notice, this list ...
1,880
0
{"language": "c", "success": true, "metadata": {"lines": 221, "avg_line_length": 34.74, "nodes": 1217, "errors": 0, "source_hash": "67b0e60dac7896dece61e35e92c0f0afdb8f790fa36db59472a8ab80c7c2d2d4", "categorized_nodes": 788}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#i...
13,522
c
#include <std/std.h> #ifndef NULL #define NULL 0 #endif #ifndef EOS #define EOS '\0' #endif #define INITIAL_MAXARGC 8 void freeargv (char **vector); char **buildargv (const char *input, int *ac);
18.6
10
(translation_unit) "#include <std/std.h>\n\n#ifndef NULL\n#define NULL 0\n#endif\n\n#ifndef EOS\n#define EOS '\0'\n#endif\n\n#define INITIAL_MAXARGC 8\n\nvoid freeargv (char **vector);\nchar **buildargv (const char *input, int *ac);\n" (preproc_include) "#include <std/std.h>\n" (#include) "#include" (system_l...
64
0
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 18.6, "nodes": 54, "errors": 0, "source_hash": "3cf14d09efdaafa829290c47d7db4e67d020f63a6c3d7567e0a45a5466199e68", "categorized_nodes": 26}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#includ...
13,523
c
// // UserProfileModuleModuleInput.h // Example // // Created by <NAME> on 17/02/2016. // Copyright © 2016 instinctools. All rights reserved. // #import <Foundation/Foundation.h> #import <ViperMcFlurry/ViperMcFlurry.h> @protocol UserProfileModuleModuleInput <RamblerViperModuleInput> /** @author <NAME> Метод и...
23.94
16
(translation_unit) "//\n// UserProfileModuleModuleInput.h\n// Example\n//\n// Created by <NAME> on 17/02/2016.\n// Copyright © 2016 instinctools. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n#import <ViperMcFlurry/ViperMcFlurry.h>\n\n@protocol UserProfileModuleModuleInput <RamblerViperModuleInput>...
37
4
{"language": "c", "success": true, "metadata": {"lines": 16, "avg_line_length": 23.94, "nodes": 20, "errors": 0, "source_hash": "eb4414383dc58b6a025b5dfeb206bc44ff8406b450a21e9448de14282a99c6d3", "categorized_nodes": 9}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <Fo...
13,524
c
#include "../../../src/hed/libs/message/SecAttr.h"
50
1
(translation_unit) "#include "../../../src/hed/libs/message/SecAttr.h"\n" (preproc_include) "#include "../../../src/hed/libs/message/SecAttr.h"\n" (#include) "#include" (string_literal) ""../../../src/hed/libs/message/SecAttr.h"" (") """ (string_content) "../../../src/hed/libs/message/SecAttr.h" ...
7
0
{"language": "c", "success": true, "metadata": {"lines": 1, "avg_line_length": 50.0, "nodes": 3, "errors": 0, "source_hash": "f8bfdf4179d3ab92cf514fd43ddc0fb980f268a9b6c38268900d6ae3d301559d", "categorized_nodes": 3}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#include \...
13,525
c
/* by haron FEB 2022 MIC LINCENSE C89 COMPILER */ #include <stdio.h> #include <stdlib.h> int main() { //variable declaration char name[100]; int n1,n2,sum,product,diff; float quot; printf("Simple calculator!\n"); //input printf("enter your name;"); gets(name); p...
18.03
38
(translation_unit) "/* \nby haron \nFEB 2022 \nMIC LINCENSE \nC89 COMPILER \n*/ \n#include <stdio.h> \n#include <stdlib.h> \n \nint main() \n{ \n //variable declaration \n char name[100]; \n int n1,n2,sum,product,diff; \n float quot; \n printf("Simple calculator!\n"); \n \n //input \n printf("enter...
240
0
{"language": "c", "success": true, "metadata": {"lines": 38, "avg_line_length": 18.03, "nodes": 123, "errors": 0, "source_hash": "9ca2bc0f7f91ac6c4fd8337393b11b0e14d3d631116d0d18945af86e4578aea9", "categorized_nodes": 90}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
13,526
c
#define ERRNO //#define _CRT_ERRNO_DEFINED /* Implementation specific structs */ typedef struct _sys_sem_t { KEVENT Event; LONG Valid; } sys_sem_t; typedef struct _sys_mbox_t { LIST_ENTRY ListHead; KEVENT Event; KSPIN_LOCK Lock; LONG Valid; } sys_mbox_t; typedef KIRQL sys_prot_t; typedef u...
21.22
41
(translation_unit) "#define ERRNO\n//#define _CRT_ERRNO_DEFINED\n\n/* Implementation specific structs */\ntypedef struct _sys_sem_t\n{\n KEVENT Event;\n LONG Valid;\n} sys_sem_t;\n\ntypedef struct _sys_mbox_t\n{\n LIST_ENTRY ListHead;\n KEVENT Event;\n KSPIN_LOCK Lock;\n LONG Valid;\n} sys_mbox_t;\n...
193
0
{"language": "c", "success": true, "metadata": {"lines": 41, "avg_line_length": 21.22, "nodes": 140, "errors": 0, "source_hash": "5f600c99b40e3089671805c35f27a117f95c8069caced4464fd8a45f247b0422", "categorized_nodes": 97}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_def", "text": "#define E...
13,527
c
/* * Copyright (c), NXP Semiconductors Gratkorn / Austria * * (C)NXP Semiconductors * All rights are reserved. Reproduction in whole or in part is * prohibited without the written consent of the copyright owner. * NXP reserves the right to make changes without notice at any time....
36.5
101
(translation_unit) "/*\n* Copyright (c), NXP Semiconductors Gratkorn / Austria\n*\n* (C)NXP Semiconductors\n* All rights are reserved. Reproduction in whole or in part is\n* prohibited without the written consent of the copyright owner.\n* NXP reserves the right to make changes w...
181
0
{"language": "c", "success": true, "metadata": {"lines": 101, "avg_line_length": 36.5, "nodes": 119, "errors": 0, "source_hash": "07c55ba07ab610989bfa9669686b3710d7038d38225f3ee43b8ee74fc3b64f24", "categorized_nodes": 81}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
13,528
c
#include <stdio.h> int main() { int a, b, c; //scanf("%d%d%d", &a, &b, &c); int n; scanf("%d", &n); while(n--){ //while(a != 0 && b != 0 & c != 0){ scanf("%d%d%d", &a, &b, &c); if(a) if(b*b - 4*a*c > 0) printf("2\n"); else if(b*b - 4*a*c == 0) printf("1\n"); else printf("0\n"); else ...
14.53
30
(translation_unit) "#include <stdio.h>\n\nint main()\n{\n int a, b, c;\n //scanf("%d%d%d", &a, &b, &c);\n int n;\n scanf("%d", &n);\n while(n--){\n //while(a != 0 && b != 0 & c != 0){\n scanf("%d%d%d", &a, &b, &c);\n if(a)\n if(b*b - 4*a*c > 0)\n printf("2\n");\n else if(b*b - 4*a*c == 0)\n printf("1\n");\n...
242
0
{"language": "c", "success": true, "metadata": {"lines": 30, "avg_line_length": 14.53, "nodes": 127, "errors": 0, "source_hash": "4af9e6ae0341d239ac91a64ab96f00a869addcb4546265c1a9d49f93b7d85c67", "categorized_nodes": 91}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
13,529
c
#pragma once #include "AITypes.h" #include "SVONDefines.generated.h" UENUM(BlueprintType) enum class EBuildTrigger : uint8 { OnEdit UMETA(DisplayName = "On Edit"), Manual UMETA(DisplayName = "Manual") }; #define LEAF_LAYER_INDEX 14; UCLASS(BlueprintType) class UESVON_API USVONStatics : public UObject { GENERATED_...
22.62
48
(translation_unit) "#pragma once\n#include "AITypes.h"\n#include "SVONDefines.generated.h"\n\nUENUM(BlueprintType)\nenum class EBuildTrigger : uint8\n{\n OnEdit UMETA(DisplayName = "On Edit"),\n Manual UMETA(DisplayName = "Manual")\n};\n\n#define LEAF_LAYER_INDEX 14;\n\nUCLASS(BlueprintType)\nclass UESVON_API USVONStat...
282
12
{"language": "c", "success": true, "metadata": {"lines": 48, "avg_line_length": 22.62, "nodes": 144, "errors": 0, "source_hash": "7a8af4ee85deee6136eed13ec4f96f69698ea357376cc751bc2ad0692e540e86", "categorized_nodes": 102}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
13,530
c
#ifndef SLACK_GTK_ATTACHMENTS_VIEW_H #define SLACK_GTK_ATTACHMENTS_VIEW_H #include <giomm/settings.h> #include <gtkmm/box.h> #include <json/json.h> #include "team.h" class AttachmentsView : public Gtk::Box { public: AttachmentsView(team& team, Glib::RefPtr<Gio::Settings> settings, const Json::Val...
28
13
(translation_unit) "#ifndef SLACK_GTK_ATTACHMENTS_VIEW_H\n#define SLACK_GTK_ATTACHMENTS_VIEW_H\n\n#include <giomm/settings.h>\n#include <gtkmm/box.h>\n#include <json/json.h>\n#include "team.h"\n\nclass AttachmentsView : public Gtk::Box {\n public:\n AttachmentsView(team& team, Glib::RefPtr<Gio::Settings> settings,\n ...
88
4
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 28.0, "nodes": 53, "errors": 0, "source_hash": "c803cbeca22d3a4ce775aa995a86c41fb05f45b4ba3eb00bb5cff462003e2f18", "categorized_nodes": 41}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef S...
13,531
c
/* -*- linux-c -*- * * (C) Copyright IBM Corp. 2005 * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. This * file and program are licensed under a BSD style license. Se...
32.63
38
(translation_unit) "/* -*- linux-c -*-\n *\n * (C) Copyright IBM Corp. 2005\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. This\n * file and program are licensed und...
162
0
{"language": "c", "success": true, "metadata": {"lines": 38, "avg_line_length": 32.63, "nodes": 125, "errors": 0, "source_hash": "172568f4d58e6ce2fc319a5e09333607ab78f39ad2a1b02130100d415350d823", "categorized_nodes": 89}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
13,532
c
/* * obj_t.h * * Created on: Nov 14, 2021 * Author: mballance */ #pragma once #include <stdint.h> namespace vsc { namespace facade { using obj_t = uint32_t; static const obj_t ObjType_Scope = (1 << 0); static const obj_t ObjType_Covergroup = (1 << 1); static const obj_t ObjType_Coverpoint = (1 <<...
28.72
25
(translation_unit) "/*\n * obj_t.h\n *\n * Created on: Nov 14, 2021\n * Author: mballance\n */\n\n#pragma once\n#include <stdint.h>\n\nnamespace vsc {\nnamespace facade {\n\nusing obj_t = uint32_t;\n\nstatic const obj_t ObjType_Scope = (1 << 0);\nstatic const obj_t ObjType_Covergroup = (1 << 1);\nstatic co...
185
0
{"language": "c", "success": true, "metadata": {"lines": 25, "avg_line_length": 28.72, "nodes": 108, "errors": 0, "source_hash": "1e3f87f74cb182c54ea684fd35b52fde6e06c5e631340c3861a8bcdf78d66ae4", "categorized_nodes": 77}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma ...
13,533
c
#pragma once enum E { kFirst, kSecond }; enum class EC { kECItem1, kECItem2 }; enum E8 : char { kE8Item1, kE8Item2, kE8Item3 }; enum EC16 : short { kE16Item1, kE16Item2, kE16Item3 }; class A { public: A(); public: int fE(E e) const { return static_cast<int>(e); } int fE(EC e) const ...
11.86
37
(translation_unit) "#pragma once\n\nenum E {\n kFirst,\n kSecond\n};\n\nenum class EC {\n kECItem1,\n kECItem2\n};\n\nenum E8 : char {\n kE8Item1,\n kE8Item2,\n kE8Item3\n};\n\nenum EC16 : short {\n kE16Item1,\n kE16Item2,\n kE16Item3\n};\n\nclass A\n{\npublic:\n A();\npublic:\n int fE(E e) const {\n ret...
196
3
{"language": "c", "success": true, "metadata": {"lines": 37, "avg_line_length": 11.86, "nodes": 116, "errors": 0, "source_hash": "e742915dccfab8e3980baf1c7f9378a771e82c03041e13d080f34a5f9e086112", "categorized_nodes": 92}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma ...
13,534
c
/* * Copyright (C) 1999-2011 Insight Software Consortium * Copyright (C) 2005-2019 Centre National d'Etudes Spatiales (CNES) * * This file is part of Orfeo Toolbox * * https://www.orfeo-toolbox.org/ * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in co...
30.27
55
(translation_unit) "/*\n * Copyright (C) 1999-2011 Insight Software Consortium\n * Copyright (C) 2005-2019 Centre National d'Etudes Spatiales (CNES)\n *\n * This file is part of Orfeo Toolbox\n *\n * https://www.orfeo-toolbox.org/\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may n...
220
12
{"language": "c", "success": true, "metadata": {"lines": 55, "avg_line_length": 30.27, "nodes": 128, "errors": 0, "source_hash": "9014c29bd0de06f6a4a0d686f6823a42dd14a353a0e52d2f29d7365a0ea774f4", "categorized_nodes": 84}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
13,535
c
#include <string.h> #include "endian-util.h" #include "mem.h" #include "pcx.h" static struct pcx_header *read_header(const sptr_t data) { unsigned char *ptr = data.ptr; struct pcx_header *header = xmalloc(PCX_HEADER_SIZE); header->magic = read_8(&ptr); header->version = read_8(&ptr); header->encoding = read_8(&p...
34.05
55
(translation_unit) "#include <string.h>\n\n#include "endian-util.h"\n#include "mem.h"\n#include "pcx.h"\n\nstatic struct pcx_header *read_header(const sptr_t data)\n{\n unsigned char *ptr = data.ptr;\n struct pcx_header *header = xmalloc(PCX_HEADER_SIZE);\n header->magic = read_8(&ptr);\n header->version = read_8(&ptr)...
720
0
{"language": "c", "success": true, "metadata": {"lines": 55, "avg_line_length": 34.05, "nodes": 460, "errors": 0, "source_hash": "67efa0185b85a3bffe76148b044a917cb1add45418c5ef88aec3afabac5194d1", "categorized_nodes": 362}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
13,536
c
#include<stdio.h> #include<stdlib.h> typedef struct Clients{ char name[50]; int age; }Clients; void readClients(Clients * vClients, int num){ int i; for(i=0;i<num;i++){ printf("Type the name: \n"); /** * Notem que, vClients[i].name já é o ponteiro para o primeiro elemento do ...
28.02
43
(translation_unit) "#include<stdio.h>\n#include<stdlib.h>\n\ntypedef struct Clients{\n char name[50];\n int age;\n}Clients;\n\nvoid readClients(Clients * vClients, int num){\n int i;\n for(i=0;i<num;i++){\n printf("Type the name: \n");\n /**\n * Notem que, vClients[i].name já é o pont...
323
0
{"language": "c", "success": true, "metadata": {"lines": 43, "avg_line_length": 28.02, "nodes": 172, "errors": 0, "source_hash": "fff9a52c9e04f16568675179b677ead2a86f055d826808a8725acf02dacbe6db", "categorized_nodes": 122}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
13,537
c
// // MediaViewController.h // ACE // // Created by <NAME> on 9/28/15. // Copyright © 2015 VTCSecure. All rights reserved. // #import <Cocoa/Cocoa.h> @interface MediaViewController : NSViewController // note: 10.9 - viewWillAppear not being called. using explicit initialization to keep code a little cleaner (few...
27.69
13
(translation_unit) "//\n// MediaViewController.h\n// ACE\n//\n// Created by <NAME> on 9/28/15.\n// Copyright © 2015 VTCSecure. All rights reserved.\n//\n\n#import <Cocoa/Cocoa.h>\n\n@interface MediaViewController : NSViewController\n\n// note: 10.9 - viewWillAppear not being called. using explicit initialization to...
43
4
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 27.69, "nodes": 21, "errors": 0, "source_hash": "4095af1907cf4476f66f41e149852b27f574b1566916a39374ce5137c7d9d26d", "categorized_nodes": 11}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <C...
13,538
c
#ifndef FONT_CHEF_EXAMPLE_STATE_H #define FONT_CHEF_EXAMPLE_STATE_H #include "SDL.h" #include "font-chef/rect.h" #include "font-chef/size.h" #include "font-chef/color.h" #if __cplusplus extern "C" { #endif struct state { SDL_Window * window; SDL_Renderer * renderer; struct fc_rect bounds; }; struct texture; ...
25.08
26
(translation_unit) "#ifndef FONT_CHEF_EXAMPLE_STATE_H\n#define FONT_CHEF_EXAMPLE_STATE_H\n\n#include "SDL.h"\n#include "font-chef/rect.h"\n#include "font-chef/size.h"\n#include "font-chef/color.h"\n\n#if __cplusplus\nextern "C" {\n#endif\n\n\nstruct state {\n SDL_Window * window;\n SDL_Renderer * renderer;\n struct ...
202
0
{"language": "c", "success": true, "metadata": {"lines": 26, "avg_line_length": 25.08, "nodes": 151, "errors": 0, "source_hash": "ad9c486cad300830582799155ce219fba52d352cbe2608aacb4d5b3c045ee238", "categorized_nodes": 113}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
13,539
c
#pragma once #include <stdbool.h> typedef struct { uv_tcp_t stream; enum {OPEN, CLOSING, CLOSED} state; void* data; bool keep_alive; int bytes_remaining; int request_length; } connection; typedef enum { OK, SIZE_EXCEEDED, BAD_REQUEST, INTERNAL_ERROR } request_state; connectio...
19
20
(translation_unit) "#pragma once\n\n#include <stdbool.h>\n\ntypedef struct\n{\n uv_tcp_t stream;\n enum {OPEN, CLOSING, CLOSED} state;\n void* data;\n bool keep_alive;\n int bytes_remaining;\n int request_length;\n} connection;\n\ntypedef enum {\n OK,\n SIZE_EXCEEDED,\n BAD_REQUEST,\n INTE...
103
0
{"language": "c", "success": true, "metadata": {"lines": 20, "avg_line_length": 19.0, "nodes": 75, "errors": 0, "source_hash": "a30d6f873eb1035496ab806a0f306793832bf282e542e9ebc7f791239ef33bf5", "categorized_nodes": 55}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma on...
13,540
c
//.............................................................................. // // This file is part of the Jancy toolkit. // // Jancy is distributed under the MIT license. // For details see accompanying license.txt file, // the public copy of which is also available at: // http://tibbo.com/downloads/archive/...
27.95
59
(translation_unit) "//..............................................................................\n//\n// This file is part of the Jancy toolkit.\n//\n// Jancy is distributed under the MIT license.\n// For details see accompanying license.txt file,\n// the public copy of which is also available at:\n// http://t...
164
4
{"language": "c", "success": true, "metadata": {"lines": 59, "avg_line_length": 27.95, "nodes": 99, "errors": 0, "source_hash": "0ad6b32ee623ce54c06fbc7de989b4a98c24b00b3b326503e3ccfb5b2fe6e499", "categorized_nodes": 64}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
13,541
c
#include <acutest.h> #include <gkyl_proj_on_basis.h> #include <gkyl_range.h> #include <gkyl_rect_grid.h> void evalFunc(double t, const double *xn, double* restrict fout, void *ctx) { double x = xn[0]; fout[0] = x*x; } void test_1() { int polyOrder = 1; double lower[] = {-2.0}, upper[] = {2.0}; int cells[] ...
33.22
45
(translation_unit) "#include <acutest.h>\n\n#include <gkyl_proj_on_basis.h>\n#include <gkyl_range.h>\n#include <gkyl_rect_grid.h>\n\nvoid evalFunc(double t, const double *xn, double* restrict fout, void *ctx)\n{\n double x = xn[0];\n fout[0] = x*x;\n}\n\nvoid\ntest_1()\n{\n int polyOrder = 1;\n double lower[] = {-2...
433
4
{"language": "c", "success": true, "metadata": {"lines": 45, "avg_line_length": 33.22, "nodes": 263, "errors": 0, "source_hash": "9d04667eb4413d644730b4a08ea78b4b367eb251695283880c1b3480f537211f", "categorized_nodes": 180}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
13,542
c
#ifndef STROMX_CVCALIB3D_CVCALIB3D_H #define STROMX_CVCALIB3D_CVCALIB3D_H #include "stromx/cvcalib3d/Config.h" namespace stromx { namespace runtime { class Registry; } } extern "C" { STROMX_CVCALIB3D_API int stromxRegisterCvcalib3d(stromx::runtime::Registry* registry); } #endif // STROMX_CVC...
21.33
15
(translation_unit) "#ifndef STROMX_CVCALIB3D_CVCALIB3D_H\n#define STROMX_CVCALIB3D_CVCALIB3D_H\n\n#include "stromx/cvcalib3d/Config.h"\n\nnamespace stromx\n{\n namespace runtime\n {\n class Registry;\n }\n}\n\nextern "C"\n{\n STROMX_CVCALIB3D_API int stromxRegisterCvcalib3d(stromx::runtime::Registry*...
62
2
{"language": "c", "success": true, "metadata": {"lines": 15, "avg_line_length": 21.33, "nodes": 36, "errors": 0, "source_hash": "f320166e8e29f20b319ceed5b83553ddd7384a30ff2a3cdd0515c26b6c87ea0d", "categorized_nodes": 28}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
13,543
c
#include "../../../../../src/qml/jit/qv4regalloc_p.h"
53
1
(translation_unit) "#include "../../../../../src/qml/jit/qv4regalloc_p.h"\n" (preproc_include) "#include "../../../../../src/qml/jit/qv4regalloc_p.h"\n" (#include) "#include" (string_literal) ""../../../../../src/qml/jit/qv4regalloc_p.h"" (") """ (string_content) "../../../../../src/qml/jit/qv4reg...
7
0
{"language": "c", "success": true, "metadata": {"lines": 1, "avg_line_length": 53.0, "nodes": 3, "errors": 0, "source_hash": "f4e35a95bf5edc4b7595b9444101558630f7c261a37e55a762a9968c57695f86", "categorized_nodes": 3}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#include \...
13,544
c
// // SimpleNativeUserPayment.h // SimpleNativeUserPayment // // Created by qus on 2021/10/8. // #ifndef SimpleNativeUserPayment_h #define SimpleNativeUserPayment_h #import <Foundation/Foundation.h> #import <SimpleNativeBase/SimpleNativeBase.h> //inner model @interface PaymentParamsResult : NSObject @property (no...
31.81
67
(translation_unit) "//\n// SimpleNativeUserPayment.h\n// SimpleNativeUserPayment\n//\n// Created by qus on 2021/10/8.\n//\n\n#ifndef SimpleNativeUserPayment_h\n#define SimpleNativeUserPayment_h\n#import <Foundation/Foundation.h>\n#import <SimpleNativeBase/SimpleNativeBase.h>\n\n//inner model\n\n@interface PaymentPar...
455
79
{"language": "c", "success": true, "metadata": {"lines": 67, "avg_line_length": 31.81, "nodes": 329, "errors": 0, "source_hash": "0820ed2e3c54bf5002e2e5c74b53bf56995e094ac5b03ce77ffcfd8b7ee8176d", "categorized_nodes": 163}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
13,545
c
/* C header for ghalton.c *****************************************************/ #ifndef ghalton_H #define ghalton_H #define ghaltonMaxDim 360 void ghalton(int n, int d, int generalized, double *res, long seed); #endif
35.5
6
(translation_unit) "/* C header for ghalton.c *****************************************************/\n\n#ifndef ghalton_H\n#define ghalton_H\n\n#define ghaltonMaxDim 360\n\nvoid ghalton(int n, int d, int generalized, double *res, long seed);\n\n#endif\n" (comment) "/* C header for ghalton.c **************************...
43
0
{"language": "c", "success": true, "metadata": {"lines": 6, "avg_line_length": 35.5, "nodes": 34, "errors": 0, "source_hash": "d619aab1063b1fb7e83526ccd6f509215703225286484feca4250a5f6f0458a7", "categorized_nodes": 20}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef gh...
13,546
c
unsigned int hash(char[], int);
31
1
(translation_unit) "unsigned int hash(char[], int);" (declaration) "unsigned int hash(char[], int);" (sized_type_specifier) "unsigned int" (unsigned) "unsigned" (primitive_type) "int" (function_declarator) "hash(char[], int)" (identifier) "hash" (parameter_list) "(char[], int)" ...
19
0
{"language": "c", "success": true, "metadata": {"lines": 1, "avg_line_length": 31.0, "nodes": 12, "errors": 0, "source_hash": "f3fcd836217e6c2228fac47a330cd4655ea0f5dfaa5dd5e3260d61ab62523ced", "categorized_nodes": 6}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "declaration", "text": "unsigned int ...
13,547
c
#pragma once #include <Matrix4x4.hpp> #include <Vector3.hpp> class Model; class ModelInstance; struct ModelRenderCommand { ModelRenderCommand(); ModelRenderCommand(const ModelRenderCommand& aCommand); ModelRenderCommand(ModelInstance* aInstance); ModelRenderCommand& operator=(const ModelRenderCommand& aCommand); ...
27.62
24
(translation_unit) "#pragma once\n#include <Matrix4x4.hpp>\n#include <Vector3.hpp>\n\nclass Model;\nclass ModelInstance;\n\nstruct ModelRenderCommand\n{\n ModelRenderCommand();\n ModelRenderCommand(const ModelRenderCommand& aCommand);\n ModelRenderCommand(ModelInstance* aInstance);\n ModelRenderCommand& operator=(const...
172
13
{"language": "c", "success": true, "metadata": {"lines": 24, "avg_line_length": 27.62, "nodes": 107, "errors": 0, "source_hash": "aa418fdf9aa06d1172fb930100a71422e1250cfc69bc5b2f0cfec9708f380c86", "categorized_nodes": 76}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma ...
13,548
c
#import <UIKit/UIKit.h> #import "ZYWidget.h" @interface ZYWidgetSection : NSObject { NSMutableArray *_widgets; } - (BOOL)enabled; - (NSInteger)sortOrder; - (BOOL)showTitle; - (NSString*)displayName; - (NSString*)identifier; - (CGFloat)titleOffset; // The view should cache, if possible, to speed up loading times. /...
32.38
16
(translation_unit) "#import <UIKit/UIKit.h>\n#import "ZYWidget.h"\n\n@interface ZYWidgetSection : NSObject {\n NSMutableArray *_widgets;\n}\n\n- (BOOL)enabled;\n\n- (NSInteger)sortOrder;\n- (BOOL)showTitle;\n- (NSString*)displayName;\n- (NSString*)identifier;\n- (CGFloat)titleOffset;\n\n// The view should cache, if pos...
153
9
{"language": "c", "success": true, "metadata": {"lines": 16, "avg_line_length": 32.38, "nodes": 96, "errors": 0, "source_hash": "31859d841430d9055fbb0db7fb77669076bd0cfb530dc6393fa0122b4dbcd65c", "categorized_nodes": 56}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <...
13,549
c
#ifndef COMMON_H #define COMMON_H #include <queue> #include <map> #include <unordered_set> #include <vector> #include <boost/multiprecision/gmp.hpp> namespace mp = boost::multiprecision; class Algorithm { public: virtual int is_sturdy(long long int n) = 0; virtual int swm(long long int n) = 0; virtual ...
29.24
21
(translation_unit) "#ifndef COMMON_H\n#define COMMON_H\n\n#include <queue>\n#include <map>\n#include <unordered_set>\n#include <vector>\n#include <boost/multiprecision/gmp.hpp>\n\nnamespace mp = boost::multiprecision;\n\nclass Algorithm {\n public:\n virtual int is_sturdy(long long int n) = 0;\n virtual int swm(...
203
7
{"language": "c", "success": true, "metadata": {"lines": 21, "avg_line_length": 29.24, "nodes": 157, "errors": 0, "source_hash": "271fc654da49b86e834193388f362582e01c7cd239e3f4728207cfb1003da9d2", "categorized_nodes": 95}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
13,550
c
/* The industrial I/O core - generic ring buffer interfaces. * * Copyright (c) 2008 <NAME> * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 as published by * the Free Software Foundation. */ #ifndef _IIO_RING_GENERIC_H_ #de...
35.95
249
(translation_unit) "/* The industrial I/O core - generic ring buffer interfaces.\n *\n * Copyright (c) 2008 <NAME>\n *\n * This program is free software; you can redistribute it and/or modify it\n * under the terms of the GNU General Public License version 2 as published by\n * the Free Software Foundation.\n */\n\n#if...
1,318
1
{"language": "c", "success": true, "metadata": {"lines": 249, "avg_line_length": 35.95, "nodes": 939, "errors": 0, "source_hash": "33083441d1f8ba4d5779c376ff3b21a99bdbe89384b68b0bd00ffb684c9e4978", "categorized_nodes": 617}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
13,551
c
/* random.h */ #ifndef CRYPTO_RANDOM_H_FILE #define CRYPTO_RANDOM_H_FILE #include <stdint.h> #include <stddef.h> int crypto_random_init(void); void crypto_random_deinit(void); int crypto_random_gen(uint8_t *data, size_t len); #endif /* CRYPTO_RANDOM_H_FILE */
27.89
9
(translation_unit) "/* random.h */\n\n#ifndef CRYPTO_RANDOM_H_FILE\n#define CRYPTO_RANDOM_H_FILE\n\n#include <stdint.h>\n#include <stddef.h>\n\nint crypto_random_init(void);\nvoid crypto_random_deinit(void);\nint crypto_random_gen(uint8_t *data, size_t len);\n\n#endif /* CRYPTO_RANDOM_H_FILE */\n" (comment) "/* rando...
53
0
{"language": "c", "success": true, "metadata": {"lines": 9, "avg_line_length": 27.89, "nodes": 40, "errors": 0, "source_hash": "3ed587e98cb3e09bfec6a80371bea6954d08434070c997b4cef13ac06f47e4d0", "categorized_nodes": 26}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef C...
13,552
c
#include "syslib.h" #include <unistd.h> #include <string.h> int vm_memctl(endpoint_t ep, int req, void** addr, size_t *len) { message m; int r; memset(&m, 0, sizeof(m)); m.VM_RS_CTL_ENDPT = ep; m.VM_RS_CTL_REQ = req; m.VM_RS_CTL_ADDR = addr ? *addr : 0; m.VM_RS_CTL_LEN = len ? *len : 0; r = _taskcall(VM_PROC...
17.72
25
(translation_unit) "#include "syslib.h"\n#include <unistd.h>\n#include <string.h>\n\nint\nvm_memctl(endpoint_t ep, int req, void** addr, size_t *len)\n{\n message m;\n int r;\n\n memset(&m, 0, sizeof(m));\n m.VM_RS_CTL_ENDPT = ep;\n m.VM_RS_CTL_REQ = req;\n m.VM_RS_CTL_ADDR = addr ? *addr : 0;\n m.VM_RS_CTL_LEN = len ?...
198
0
{"language": "c", "success": true, "metadata": {"lines": 25, "avg_line_length": 17.72, "nodes": 125, "errors": 0, "source_hash": "8dcbc0aaa9c28f2ac7fa62fb76cdf1570926d35b9d2716529ffaf25f913b8d22", "categorized_nodes": 97}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
13,553
c
/* Generated by lx */ #ifndef LX_H #define LX_H enum lx_native_token { TOK_COUNT, TOK_SEP, TOK_CLOSECOUNT, TOK_OPENCOUNT, TOK_CHAR, TOK_NAMED__CHAR__CLASS, TOK_RANGE, TOK_INVERT, TOK_CLOSEGROUP, TOK_OPENGROUP, TOK_HEX, TOK_OCT, TOK_ESC, TOK_ALT, TOK_ANY, TOK_PLUS, TOK_STAR, TOK_OPT, TOK_END, TOK_S...
23.17
92
(translation_unit) "/* Generated by lx */\n\n#ifndef LX_H\n#define LX_H\n\nenum lx_native_token {\n TOK_COUNT,\n TOK_SEP,\n TOK_CLOSECOUNT,\n TOK_OPENCOUNT,\n TOK_CHAR,\n TOK_NAMED__CHAR__CLASS,\n TOK_RANGE,\n TOK_INVERT,\n TOK_CLOSEGROUP,\n TOK_OPENGROUP,\n TOK_HEX,\n TOK_OCT,\n TOK_ESC,\n TOK_ALT,\n TOK_ANY,\n TOK_PL...
435
0
{"language": "c", "success": true, "metadata": {"lines": 92, "avg_line_length": 23.17, "nodes": 318, "errors": 0, "source_hash": "b9fa2849032b1e1dfcfbb3073255fca00a2115417637d764204172a6a4abd258", "categorized_nodes": 214}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
13,554
c
#ifndef EKF_H #define EKF_H #include <iostream> #include <ros/ros.h> #include <ros/console.h> #include <Eigen/Eigen> #include <fstream> #include <math.h> #include "pose.h" #define PI M_PI using namespace std; using namespace Eigen; struct State { ros::Time stamp; VectorXd u; VectorXd mean; MatrixXd var; }...
19.02
41
(translation_unit) "#ifndef EKF_H\n#define EKF_H\n\n#include <iostream>\n#include <ros/ros.h>\n#include <ros/console.h>\n#include <Eigen/Eigen>\n#include <fstream>\n#include <math.h>\n#include "pose.h"\n\n#define PI M_PI\n\nusing namespace std;\nusing namespace Eigen;\nstruct State\n{\n ros::Time stamp;\n VectorXd u...
267
7
{"language": "c", "success": true, "metadata": {"lines": 41, "avg_line_length": 19.02, "nodes": 179, "errors": 0, "source_hash": "1e79f1f292bb3a2e897ac26ffaaccbddf9a90753e5edef57a9c4f289c201e7ed", "categorized_nodes": 140}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
13,555
c
#include "md5.h" //#include <endian.h> #include <string.h> #pragma GCC diagnostic ignored "-Wunused-value" #define INIT_DATA_A (unsigned long)0x67452301L #define INIT_DATA_B (unsigned long)0xefcdab89L #define INIT_DATA_C (unsigned long)0x98badcfeL #define INIT_DATA_D (unsigned long)0x10325476L #if _BYTE_ORDER==_LIT...
32.86
298
(translation_unit) "#include "md5.h"\n//#include <endian.h>\n#include <string.h>\n\n#pragma GCC diagnostic ignored "-Wunused-value"\n\n#define INIT_DATA_A (unsigned long)0x67452301L\n#define INIT_DATA_B (unsigned long)0xefcdab89L\n#define INIT_DATA_C (unsigned long)0x98badcfeL\n#define INIT_DATA_D (unsigned long)0x1032...
3,609
0
{"language": "c", "success": true, "metadata": {"lines": 298, "avg_line_length": 32.86, "nodes": 2128, "errors": 0, "source_hash": "0649ab5b4c57f4573b21c97656681edc029ffe66aae10fbb8a445d0435b5d0ce", "categorized_nodes": 1584}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#...
13,556
c
/* vi: set sw=4 ts=4: */ /* * Utility routines. * * Copyright (C) 1999-2004 by <NAME> <<EMAIL>> * * Licensed under GPLv2 or later, see file LICENSE in this source tree. */ #include "libbb.h" ssize_t FAST_FUNC safe_write(int fd, const void *buf, size_t count) { ssize_t n; for (;;) { n = write(fd, buf, count)...
21.88
25
(translation_unit) "/* vi: set sw=4 ts=4: */\n/*\n * Utility routines.\n *\n * Copyright (C) 1999-2004 by <NAME> <<EMAIL>>\n *\n * Licensed under GPLv2 or later, see file LICENSE in this source tree.\n */\n#include "libbb.h"\n\nssize_t FAST_FUNC safe_write(int fd, const void *buf, size_t count)\n{\n ssize_t n;\n\n for ...
94
1
{"language": "c", "success": true, "metadata": {"lines": 25, "avg_line_length": 21.88, "nodes": 54, "errors": 0, "source_hash": "d693b2f4791d7a2a4a1a3c3b9627cfc5798b940e6cfeb473197e0b9b3dba3fce", "categorized_nodes": 37}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
13,557
c
/** * @file sndbx_app_monolith.h * */ #ifndef SNDBX_APP_MONOLITH_H #define SNDBX_APP_MONOLITH_H #ifdef __cplusplus extern "C" { #endif /********************* * INCLUDES *********************/ #ifndef USE_SNDBX_APP_MONOLITH #define USE_SNDBX_APP_MONOLITH 1 #endif #if USE_SNDBX_APP_MONOLITH...
16.06
48
(translation_unit) "/** \n * @file sndbx_app_monolith.h \n * \n */ \n \n#ifndef SNDBX_APP_MONOLITH_H \n#define SNDBX_APP_MONOLITH_H \n \n#ifdef __cplusplus \nextern "C" { \n#endif \n \n/********************* \n * INCLUDES \n *********************/ \n#ifndef USE_SNDBX_APP_MONOLITH \n#define USE_SNDBX_APP_MONOLITH 1...
62
0
{"language": "c", "success": true, "metadata": {"lines": 48, "avg_line_length": 16.06, "nodes": 42, "errors": 0, "source_hash": "fe7be137ee16e23dd19fff4fcf34bbf43907d3b6db51e559b1bb2e33ae55c4b0", "categorized_nodes": 30}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
13,558
c
/*========================================================================= Program: ParaView Module: $RCSfile$ Copyright (c) Kitware, Inc. All rights reserved. See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details. This software is distributed WITHOUT ANY WARRANTY; without...
37.36
115
(translation_unit) "/*=========================================================================\n\n Program: ParaView\n Module: $RCSfile$\n\n Copyright (c) Kitware, Inc.\n All rights reserved.\n See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.\n\n This software is distributed ...
580
6
{"language": "c", "success": true, "metadata": {"lines": 115, "avg_line_length": 37.36, "nodes": 337, "errors": 0, "source_hash": "52eb9b34c87f57f671172fe7e1ddb5dca232fad4318dbe81384f38a6853c6601", "categorized_nodes": 226}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
13,559
c
/* * gp_optimizer_functions.c * Defines builtin transformation functions for the optimizer. * * enable_xform: This function wraps EnableXform. * * disable_xform: This function wraps DisableXform. * * gp_opt_version: This function wraps LibraryVersion. * * Copyright(c) 2012 - present, EMC/Greenplum */ #i...
20.84
55
(translation_unit) "/*\n * gp_optimizer_functions.c\n * Defines builtin transformation functions for the optimizer.\n *\n * enable_xform: This function wraps EnableXform.\n *\n * disable_xform: This function wraps DisableXform.\n *\n * gp_opt_version: This function wraps LibraryVersion. \n *\n * Copyright(c) 2012 - ...
181
0
{"language": "c", "success": true, "metadata": {"lines": 55, "avg_line_length": 20.84, "nodes": 106, "errors": 0, "source_hash": "b90d0a9fe960de680dc0456febe6f6eaeede2756fbe2169a19dd56f8b10a6865", "categorized_nodes": 83}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
13,560
c
/* Dumb curses implementation for Win32 port */ #include "curses.h" static HANDLE _conin; static HANDLE _conout; #define FOREGROUND_WHITE (FOREGROUND_BLUE | FOREGROUND_RED | FOREGROUND_GREEN) #define WHITE_ON_BLACK FOREGROUND_WHITE /* Cloning these definition from sudoku.c here, as * these virtual key codes wil v...
24.46
212
(translation_unit) "/* Dumb curses implementation for Win32 port\n */\n\n#include "curses.h"\n\nstatic HANDLE _conin;\nstatic HANDLE _conout;\n\n#define FOREGROUND_WHITE (FOREGROUND_BLUE | FOREGROUND_RED | FOREGROUND_GREEN)\n#define WHITE_ON_BLACK FOREGROUND_WHITE\n\n/* Cloning these definition from sudoku.c here, as\n...
1,222
0
{"language": "c", "success": true, "metadata": {"lines": 212, "avg_line_length": 24.46, "nodes": 723, "errors": 0, "source_hash": "b13cb27562961cb4370215cdefb85b0c64114d21f206f797d514cfd64d00b847", "categorized_nodes": 522}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
13,561
c
/* Generic macros used in stm and linux code. */ #ifndef UC_TOOLS_MACROS_H #define UC_TOOLS_MACROS_H /* Put this here, as macros.h seems to have become the de-facto uc_tools interface, and we want to limit surprises that are caused by variable struct lengths caused by debug macros. */ #include "uc_tools_config....
37.57
131
(translation_unit) "/* Generic macros used in stm and linux code. */\n\n#ifndef UC_TOOLS_MACROS_H\n#define UC_TOOLS_MACROS_H\n\n/* Put this here, as macros.h seems to have become the de-facto\n uc_tools interface, and we want to limit surprises that are caused\n by variable struct lengths caused by debug macros. */...
403
0
{"language": "c", "success": true, "metadata": {"lines": 131, "avg_line_length": 37.57, "nodes": 298, "errors": 0, "source_hash": "a688a7e2c93976b8ad987af2c7172a266b160c9679e77e2135c1fef62306c3fd", "categorized_nodes": 203}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
13,562
c
/* Copyright (c) 2015-2017 Forkscan authors 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, distr...
39.21
85
(translation_unit) "/*\nCopyright (c) 2015-2017 Forkscan authors\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the "Software"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, mod...
210
0
{"language": "c", "success": true, "metadata": {"lines": 85, "avg_line_length": 39.21, "nodes": 151, "errors": 0, "source_hash": "ea6f8c405511b72781fb96f6e7dfa9f8d45f6a92e5f5007a9accfe1fa339de5a", "categorized_nodes": 82}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
13,563
c
#ifndef VT_PAGE_TABLE_H #define VT_PAGE_TABLE_H #include <optixu/optixpp_namespace.h> class vtPageTable { public: vtPageTable(optix::Context context, const unsigned int dimensions); ~vtPageTable(); optix::TextureSampler TextureSampler(); optix::Buffer Buffer(); const unsigned int Dimensions(); private: optix::...
24.35
17
(translation_unit) "#ifndef VT_PAGE_TABLE_H\n#define VT_PAGE_TABLE_H\n\n#include <optixu/optixpp_namespace.h>\n\nclass vtPageTable\n{\npublic:\n vtPageTable(optix::Context context, const unsigned int dimensions);\n ~vtPageTable();\n\n optix::TextureSampler TextureSampler();\n optix::Buffer Buffer();\n const unsigned in...
119
7
{"language": "c", "success": true, "metadata": {"lines": 17, "avg_line_length": 24.35, "nodes": 67, "errors": 0, "source_hash": "c48ed59f9ed028e6f6a284e0147f5e8266289eee997ae9ff8b176d501da35d9b", "categorized_nodes": 45}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
13,564
c
#include "SE_direct.h" #include <math.h> void SE3P_direct_real(double* restrict phi, const int* restrict idx, int nidx, const double* restrict x, const double* restrict q, int N, const ewald_opts opt) { double rvec[3]; double qn; double p, r; #ifdef _OPENMP #pragma omp par...
24.22
133
(translation_unit) "#include "SE_direct.h"\n#include <math.h>\n\nvoid SE3P_direct_real(double* restrict phi, \n const int* restrict idx, int nidx,\n const double* restrict x, \n const double* restrict q, int N,\n const ewald_opts opt)\n{\n double rvec[3];\n double qn;\n double p, r;...
1,799
0
{"language": "c", "success": true, "metadata": {"lines": 133, "avg_line_length": 24.22, "nodes": 1266, "errors": 0, "source_hash": "6fdc16138bd3591c564bb55ef92523c60b3387b6c142f6e6f5feb8c9e68b33dc", "categorized_nodes": 913}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#i...
13,565
c
// // SPWritePayMsgViewController.h // SmartPurifieriOS // // Created by Wind on 2016/11/16. // Copyright © 2016年 SmartPurifieriOS. All rights reserved. // #import <UIKit/UIKit.h> #import "SPBaseViewController.h" @class SPPurifierModel; /** 填写支付信息 */ @interface SPWritePayMsgViewController : SPBaseViewController...
22.88
16
(translation_unit) "//\n// SPWritePayMsgViewController.h\n// SmartPurifieriOS\n//\n// Created by Wind on 2016/11/16.\n// Copyright © 2016年 SmartPurifieriOS. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n#import "SPBaseViewController.h"\n\n@class SPPurifierModel;\n/**\n 填写支付信息\n */\n@interface SPWritePayMsgVi...
46
8
{"language": "c", "success": true, "metadata": {"lines": 16, "avg_line_length": 22.88, "nodes": 30, "errors": 0, "source_hash": "7013b443aa48e75524f591c559fe951260b8f44a6e4b116073504ac066e08dbb", "categorized_nodes": 16}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "port <UIK...
13,566
c
/* * If not stated otherwise in this file or this component's Licenses.txt * file the following copyright and licenses apply: * * Copyright 2018 RDK Management * * 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 ...
29.97
70
(translation_unit) "/*\n * If not stated otherwise in this file or this component's Licenses.txt\n * file the following copyright and licenses apply:\n *\n * Copyright 2018 RDK Management\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the ...
303
0
{"language": "c", "success": true, "metadata": {"lines": 70, "avg_line_length": 29.97, "nodes": 216, "errors": 0, "source_hash": "0651afc42157a6d9b375b3786b996cb8418692efbd97807efd6e94cb7a52e461", "categorized_nodes": 149}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
13,567
c
// // CCAppEngine.h // CCIMLib // // Created by 孙一越 on 2018/4/25. // Copyright © 2018年 孙一越. All rights reserved. // #import <Foundation/Foundation.h> #import <UIKit/UIKit.h> #ifdef NSFoundationVersionNumber_iOS_9_x_Max #import <UserNotifications/UserNotifications.h> #endif @interface CCAppEngine : NSObject<UIAppli...
25.8
15
(translation_unit) "//\n// CCAppEngine.h\n// CCIMLib\n//\n// Created by 孙一越 on 2018/4/25.\n// Copyright © 2018年 孙一越. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n#import <UIKit/UIKit.h>\n#ifdef NSFoundationVersionNumber_iOS_9_x_Max\n#import <UserNotifications/UserNotifications.h>\n#endif\n@interfa...
48
5
{"language": "c", "success": true, "metadata": {"lines": 15, "avg_line_length": 25.8, "nodes": 31, "errors": 0, "source_hash": "4d602372a4726a17c9f81da24b8ee46a84c210ce1e93b2e0d61581314954c99a", "categorized_nodes": 17}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "tion/Found...
13,568
c
#pragma once #include "Material.h" class Texture; class Shader; class PhongMaterial : public Material { public: // Matching shader struct struct PhongSettings { glm::vec4 modelColor; float ka; float kd; float ks; float shininess; int diffuseTexIndex; int normalTexIndex; int specularTexIndex; floa...
29.59
51
(translation_unit) "#pragma once\n\n#include "Material.h"\n\nclass Texture;\nclass Shader;\n\nclass PhongMaterial : public Material {\npublic:\n // Matching shader struct\n struct PhongSettings {\n glm::vec4 modelColor;\n float ka;\n float kd;\n float ks;\n float shininess;\n int diffuseTexIndex;\n int normalTex...
397
17
{"language": "c", "success": true, "metadata": {"lines": 51, "avg_line_length": 29.59, "nodes": 255, "errors": 0, "source_hash": "22edcce7cbac5f7389c1542a00215ba376ffaf8411b514a189c8a628403d243b", "categorized_nodes": 163}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
13,569
c
/* * UART.c * * Created: 2021-01-04 오후 1:45:14 * Author: 21530011 */ #include <avr/io.h> void UART1_init(void) { UBRR1H = 0x00; UBRR1L = 207; UCSR1A |= _BV(U2X1); UCSR1C |= 0x06; UCSR1B |= _BV(RXEN1); UCSR1B |= _BV(TXEN1); } void UART1_transmit(char data) { while( !(UCSR1A &...
14.23
56
(translation_unit) " \n * UART.c \n * \n * Created: 2021-01-04 오후 1:45:14 \n * Author: 21530011 \n */ \n \n#include <avr/io.h> \n \nvoid UART1_init(void) \n{ \n UBRR1H = 0x00; \n UBRR1L = 207; \n \n UCSR1A |= _BV(U2X1); \n UCSR1C |= 0x06; \n \n UCSR1B |= _BV(RXEN1); \n UCSR1B |= _BV(TXEN1); \n} \n \nvoid UART1_tran...
343
0
{"language": "c", "success": true, "metadata": {"lines": 56, "avg_line_length": 14.23, "nodes": 191, "errors": 0, "source_hash": "6b8e6a20a558be02a1f86a7a74e5a978ad6c517445bb1b6282a43bef89bf1574", "categorized_nodes": 132}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "de <...
13,570
c
#ifndef PID_DEVICE_INTERFACE_H #define PID_DEVICE_INTERFACE_H #include "../../../device/device.h" #include "../../../device/deviceInterface.h" #include "../../../device/deviceConstants.h" // COMMAND // PARAMETERS /** Defines the COMMAND used to get speed / acceleration parameters for different motion typ...
25.43
91
(translation_unit) "#ifndef PID_DEVICE_INTERFACE_H \n#define PID_DEVICE_INTERFACE_H \n \n#include "../../../device/device.h" \n#include "../../../device/deviceInterface.h" \n#include "../../../device/deviceConstants.h" \n \n// COMMAND \n \n// PARAMETERS \n \n/** Defines the COMMAND used to get speed / acceleration para...
133
0
{"language": "c", "success": true, "metadata": {"lines": 91, "avg_line_length": 25.43, "nodes": 103, "errors": 0, "source_hash": "7495b0cb7b2a7f66a3226d2234f4b9c80a671ba45ef031ae38d4ffdfb9f5b142", "categorized_nodes": 38}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
13,571
c
#pragma once #include <Arduino.h> #include <stdint.h> #include "hx_sbus_packet.h" #define SBUS_SYNC_FAILSAFE_MS 200 //===================================================================== //===================================================================== class HXSBUSDecoder { private: //40 - wai...
26.59
41
(translation_unit) "#pragma once\n\n#include <Arduino.h>\n#include <stdint.h>\n\n#include "hx_sbus_packet.h"\n\n#define SBUS_SYNC_FAILSAFE_MS 200\n\n//=====================================================================\n//=====================================================================\nclass HXSBUSDe...
201
4
{"language": "c", "success": true, "metadata": {"lines": 41, "avg_line_length": 26.59, "nodes": 120, "errors": 0, "source_hash": "da88e0f5f6952b683ddcf7296a87d229091857341482c733ecd9377aaec7282e", "categorized_nodes": 75}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma ...
13,572
c
/* -*- c++ -*- */ /* * Copyright 2006,2013,2015 Free Software Foundation, Inc. * * This file is part of GNU Radio * * GNU Radio is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3, or (at y...
34.42
154
(translation_unit) "/* -*- c++ -*- */\n/*\n * Copyright 2006,2013,2015 Free Software Foundation, Inc.\n *\n * This file is part of GNU Radio\n *\n * GNU Radio 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...
690
52
{"language": "c", "success": true, "metadata": {"lines": 154, "avg_line_length": 34.42, "nodes": 390, "errors": 0, "source_hash": "e3d560fd46d0bfb29a97cc78dc013d9e082f33287e6db7c7d63daeee58702698", "categorized_nodes": 280}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
13,573
c
/** * Copyright 2021 Huawei Technologies Co., Ltd * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law...
43
70
(translation_unit) "/**\n * Copyright 2021 Huawei Technologies Co., Ltd\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unle...
526
14
{"language": "c", "success": true, "metadata": {"lines": 70, "avg_line_length": 43.0, "nodes": 351, "errors": 0, "source_hash": "92d6aab7837e973bbcd54c46f6c74042bda25ff3fe6d6c5f603f8f64fcd961f7", "categorized_nodes": 234}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
13,574
c
// // PDLNonThreadSafePropertyObserverProperty.h // Poodle // // Created by Poodle on 2020/1/16. // Copyright © 2020 Poodle. All rights reserved. // #import <Foundation/Foundation.h> #import "PDLNonThreadSafePropertyObserverAction.h" #import "PDLNonThreadSafePropertyObserverChecker.h" NS_ASSUME_NONNULL_BEGIN @in...
34.29
17
(translation_unit) "//\n// PDLNonThreadSafePropertyObserverProperty.h\n// Poodle\n//\n// Created by Poodle on 2020/1/16.\n// Copyright © 2020 Poodle. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n#import "PDLNonThreadSafePropertyObserverAction.h"\n#import "PDLNonThreadSafePropertyObserverChecker.h"...
83
11
{"language": "c", "success": true, "metadata": {"lines": 17, "avg_line_length": 34.29, "nodes": 58, "errors": 0, "source_hash": "258cbc1d6f55f65017c7f6086d9f123d85022549d173e6fa7fd4f9e41e324b50", "categorized_nodes": 32}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <F...
13,575
c
#ifndef _digital_io_h_ #define _digital_io_h_ #include <Arduino.h> class digital_io { public: int m_pin_no; int m_direction; bool m_set_with_pullup; public: digital_io(int pin_no, int direction=OUTPUT, bool set_with_pullup=true); void setup(void); void set_...
24.21
19
(translation_unit) "#ifndef _digital_io_h_\n#define _digital_io_h_\n\n#include <Arduino.h>\n\nclass digital_io\n{\n\n public:\n\n int m_pin_no;\n int m_direction;\n bool m_set_with_pullup;\n public:\n\n digital_io(int pin_no, int direction=OUTPUT, bool set_with_pullup=true);\n\n ...
136
3
{"language": "c", "success": true, "metadata": {"lines": 19, "avg_line_length": 24.21, "nodes": 91, "errors": 0, "source_hash": "a827cfa4fce4327a33654da00a5ffbc606fee3cbe4b2b46437e522bd1a8b3039", "categorized_nodes": 55}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
13,576
c
#include <stdio.h> #include "ex2.h" //Function recives an integer array 1 and empty array and copies values from array1 to array2 void CopyAnIntegerArray(int *array1, int *array2, int size) { int i = 0 ; for(i = 0 ; i < size ; i++) { array2[i] = array1[i]; } }
26
11
(translation_unit) "#include <stdio.h>\n#include "ex2.h"\n\n//Function recives an integer array 1 and empty array and copies values from array1 to array2\nvoid CopyAnIntegerArray(int *array1, int *array2, int size)\n{\n int i = 0 ;\n\n for(i = 0 ; i < size ; i++)\n {\n array2[i] = array1[i];\n ...
77
0
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 26.0, "nodes": 50, "errors": 0, "source_hash": "7c0a71928d837f618965e48c371880c19de42cecc9849b6efd637fa6100d9d88", "categorized_nodes": 34}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#includ...
13,577
c
#include <stdio.h> int main(int argc, const char* argv[]) { int count = 0; for (;;) { int c = getchar(); if (c == EOF) break; if (count == 0) printf("\n\tdb "); else printf(", "); printf("0x%02x", c); count = (count+1) &...
17.95
19
(translation_unit) "#include <stdio.h>\n\nint main(int argc, const char* argv[])\n{\n int count = 0;\n\n for (;;)\n {\n int c = getchar();\n if (c == EOF)\n break;\n\n if (count == 0)\n printf("\n\tdb ");\n else\n printf(", ");\n printf("0x%02...
145
0
{"language": "c", "success": true, "metadata": {"lines": 19, "avg_line_length": 17.95, "nodes": 79, "errors": 0, "source_hash": "9db4a203606458193a941bb0c40dd1764ca451c90cf98d1ec3ec63e618d3982b", "categorized_nodes": 51}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
13,578
c
#include<unistd.h> #include<stdlib.h> #include<stdio.h> int main() { puts("Clearing temporary files..."); setresuid(geteuid(),geteuid(),geteuid()); system("rm -rf /tmp"); }
18.56
9
(translation_unit) "#include<unistd.h>\n#include<stdlib.h>\n#include<stdio.h>\n\nint main()\n{\n puts("Clearing temporary files...");\n setresuid(geteuid(),geteuid(),geteuid());\n system("rm -rf /tmp");\n}\n" (preproc_include) "#include<unistd.h>\n" (#include) "#include" (system_lib_string) "<unistd.h>" (pr...
66
0
{"language": "c", "success": true, "metadata": {"lines": 9, "avg_line_length": 18.56, "nodes": 34, "errors": 0, "source_hash": "03f8a852f72486794125fb36f1afd20b53aa954c3e611c4d93145920075bdc90", "categorized_nodes": 26}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#includ...
13,579
c
/* * Copyright (C) Carbyn */ #include <ngx_config.h> #include <ngx_core.h> #include <ngx_http.h> static ngx_int_t ngx_http_fuckyou_init(ngx_conf_t *cf); static ngx_http_module_t ngx_http_fuckyou_module_ctx = { NULL, /* preconfiguration */ ngx_http_fuckyou_init, ...
35.42
57
(translation_unit) "/*\n * Copyright (C) Carbyn\n */\n\n#include <ngx_config.h>\n#include <ngx_core.h>\n#include <ngx_http.h>\n\n\nstatic ngx_int_t ngx_http_fuckyou_init(ngx_conf_t *cf);\n\n\nstatic ngx_http_module_t ngx_http_fuckyou_module_ctx = {\n NULL, /* preconfiguration */\n ...
271
0
{"language": "c", "success": true, "metadata": {"lines": 57, "avg_line_length": 35.42, "nodes": 153, "errors": 0, "source_hash": "2f038f22910d7e20c5b40c3a0e5be898fb05ad20cc91cb629bb6e9f1bbe60208", "categorized_nodes": 95}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
13,580
c
#ifndef RAVEN_OBJECTS_H #define RAVEN_OBJECTS_H #include <string> enum { type_wall, type_bot, type_unused, type_waypoint, type_health, type_spawn_point, type_rail_gun, type_rocket_launcher, type_shotgun, type_blaster, type_obstacle, type_sliding_door, type_door_trigger }; inline std::st...
14.72
75
(translation_unit) "#ifndef RAVEN_OBJECTS_H\n#define RAVEN_OBJECTS_H\n\n#include <string>\n\n\nenum \n{\n type_wall,\n type_bot,\n type_unused,\n type_waypoint,\n type_health,\n type_spawn_point,\n type_rail_gun,\n type_rocket_launcher,\n type_shotgun,\n type_blaster,\n type_obstacle,\n type_sliding_door,\n...
319
2
{"language": "c", "success": true, "metadata": {"lines": 75, "avg_line_length": 14.72, "nodes": 187, "errors": 0, "source_hash": "acf848b673e4f015a1f2ccda9839503623636dc72463a228560929b2e24a426c", "categorized_nodes": 137}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
13,581
c
#pragma once #pragma comment( lib, "pluginsdk.lib" ) #include "bakkesmod/plugin/bakkesmodplugin.h" class CustomOverlay : public BakkesMod::Plugin::BakkesModPlugin { public: virtual void onLoad(); virtual void onUnload(); void HookAllEvents(); void UnhookAllEvents(); void DisablePsyUI(bool disabled); int getB...
27.27
48
(translation_unit) "#pragma once\n#pragma comment( lib, "pluginsdk.lib" )\n#include "bakkesmod/plugin/bakkesmodplugin.h"\n\nclass CustomOverlay : public BakkesMod::Plugin::BakkesModPlugin\n{\npublic:\n virtual void onLoad();\n virtual void onUnload();\n \n void HookAllEvents();\n void UnhookAllEvents();\n\n void Disabl...
323
9
{"language": "c", "success": true, "metadata": {"lines": 48, "avg_line_length": 27.27, "nodes": 215, "errors": 0, "source_hash": "6ab9b48248f121911b671720e5959639468943c92561745792ea9907dabb011d", "categorized_nodes": 165}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
13,582
c
/* * Copyright (c) 2018-2020, <NAME> <<EMAIL>> * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include <LibWeb/Layout/Box.h> namespace Web::Layout { class TableRowBox final : public Box { public: TableRowBox(DOM::Document&, DOM::Element*, NonnullRefPtr<CSS::StyleProperties>); TableRowBox(DOM:...
30.88
16
(translation_unit) "/*\n * Copyright (c) 2018-2020, <NAME> <<EMAIL>>\n *\n * SPDX-License-Identifier: BSD-2-Clause\n */\n\n#pragma once\n\n#include <LibWeb/Layout/Box.h>\n\nnamespace Web::Layout {\n\nclass TableRowBox final : public Box {\npublic:\n TableRowBox(DOM::Document&, DOM::Element*, NonnullRefPtr<CSS::Style...
144
13
{"language": "c", "success": true, "metadata": {"lines": 16, "avg_line_length": 30.88, "nodes": 74, "errors": 0, "source_hash": "95a475c8396b55c367ddc7924f5d6e4c0060c95745b354040adfef0b13f82b6e", "categorized_nodes": 51}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
13,583
c
// // PlaceDetails.h // GreenTravel // // Created by <NAME> on 8/27/20. // Copyright © 2020 <NAME>. All rights reserved. // #import <Foundation/Foundation.h> #import <CoreLocation/CoreLocation.h> @class CategoryUUIDToRelatedItemUUIDs; NS_ASSUME_NONNULL_BEGIN @interface PlaceDetails : NSObject @property (strong...
36.48
27
(translation_unit) "//\n// PlaceDetails.h\n// GreenTravel\n//\n// Created by <NAME> on 8/27/20.\n// Copyright © 2020 <NAME>. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n#import <CoreLocation/CoreLocation.h>\n\n@class CategoryUUIDToRelatedItemUUIDs;\n\nNS_ASSUME_NONNULL_BEGIN\n\n@interface PlaceDe...
262
37
{"language": "c", "success": true, "metadata": {"lines": 27, "avg_line_length": 36.48, "nodes": 191, "errors": 0, "source_hash": "9c0c1dfa9e935730a85265bb296aee6d99c2368eb79e4cba0d660fe38a9da157", "categorized_nodes": 108}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import ...
13,584
c
# ifndef _TEMPLATES_H_ # define _TEMPLATES_H_ # include "utils.h" // res(vector) = mtr*vec // mx = mtr->SizeX, my = mtr->SizeY template <class T1, class T2, class T3> void multiplyN(T1 *res, T2 *mtr, T3 *vec, int mx, int my) { T1 *resbuf = res; T2 *mtrbuf = mtr; for(int i=0; i<my; i++) { T3 *v...
27.19
296
(translation_unit) "# ifndef _TEMPLATES_H_\n# define _TEMPLATES_H_\n\n# include "utils.h"\n\n// res(vector) = mtr*vec\n// mx = mtr->SizeX, my = mtr->SizeY\ntemplate <class T1, class T2, class T3> void multiplyN(T1 *res, T2 *mtr, T3 *vec, int mx, int my)\n{\n T1 *resbuf = res;\n T2 *mtrbuf = mtr;\n for(int i=0;...
3,011
117
{"language": "c", "success": true, "metadata": {"lines": 296, "avg_line_length": 27.19, "nodes": 2077, "errors": 0, "source_hash": "8ab0f658d0acdc721def3c86acc272c4479591ef96e0531c059fe988f1c4740a", "categorized_nodes": 1398}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "# i...
13,585
c
#ifndef __C_IME_PAD_CALLBACK_H__ #define __C_IME_PAD_CALLBACK_H__ #include "cpadsvr.h" //---------------------------------------------------------------- //990630:ToshiaK for #1327 //---------------------------------------------------------------- #define WM_USER_UPDATECONTEXT (WM_USER+400) class CImePadCall...
28.89
73
(translation_unit) "#ifndef __C_IME_PAD_CALLBACK_H__ \n#define __C_IME_PAD_CALLBACK_H__ \n#include "cpadsvr.h" \n \n//---------------------------------------------------------------- \n//990630:ToshiaK for #1327 \n//---------------------------------------------------------------- \n#define WM_USER_UPDATECONTEXT (WM_USE...
438
21
{"language": "c", "success": true, "metadata": {"lines": 73, "avg_line_length": 28.89, "nodes": 312, "errors": 0, "source_hash": "9bfc13ff7bcb769a2824d4e0dc0af74be29bfad867ed7423429d55b291941c13", "categorized_nodes": 209}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
13,586
c
#include "macros.h" #include "NativeNodeUtils.h" #include "Point2.h" #include <opencv2/core.hpp> #include <opencv2/face.hpp> #if CV_VERSION_GREATER_EQUAL(3, 4, 0) #ifndef __FF_FACEMARKAAMDATA_H__ #define __FF_FACEMARKAAMDATA_H__ class FacemarkAAMData : public FF::ObjectWrap<FacemarkAAMData, cv::face::Face...
22.37
27
(translation_unit) "#include "macros.h" \n#include "NativeNodeUtils.h" \n#include "Point2.h" \n#include <opencv2/core.hpp> \n#include <opencv2/face.hpp> \n \n#if CV_VERSION_GREATER_EQUAL(3, 4, 0) \n \n#ifndef __FF_FACEMARKAAMDATA_H__ \n#define __FF_FACEMARKAAMDATA_H__ \n \nclass FacemarkAAMData : public FF::ObjectWrap<...
154
5
{"language": "c", "success": true, "metadata": {"lines": 27, "avg_line_length": 22.37, "nodes": 82, "errors": 0, "source_hash": "7dccb48eb03c4fdaa224032b111ae5f4595e4dc01d3c01d2e8e2e09277131514", "categorized_nodes": 61}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
13,587
c
#pragma once #ifndef EWIN_EXTERNAL_MENU_H #define EWIN_EXTERNAL_MENU_H #include <vector> #include <memory> #include "menu_bar.h" #include "menu_popup.h" namespace ewin::menu{ class external_item : public item{ public: typedef std::shared_ptr<popup> item_ptr_type; external_item(object &parent, std::size_t ind...
28.62
84
(translation_unit) "#pragma once\n\n#ifndef EWIN_EXTERNAL_MENU_H\n#define EWIN_EXTERNAL_MENU_H\n\n#include <vector>\n#include <memory>\n\n#include "menu_bar.h"\n#include "menu_popup.h"\n\nnamespace ewin::menu{\n class external_item : public item{\n public:\n typedef std::shared_ptr<popup> item_ptr_type;\n\n external_...
799
33
{"language": "c", "success": true, "metadata": {"lines": 84, "avg_line_length": 28.62, "nodes": 481, "errors": 0, "source_hash": "5cfbc517e501b359b4ebcde4c59c9fd3bb200da1ec34bceb1a05075f6ae18e07", "categorized_nodes": 338}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
13,588
c
// // HelpWindowController.h // game2048 // // Created by <NAME> on 4/6/14. // Copyright (c) 2014 Codinn. All rights reserved. // #import <Cocoa/Cocoa.h> #import <WebKit/WebKit.h> @interface HelpWindowController : NSWindowController @property (weak) IBOutlet WebView *webView; @end
22.83
12
(translation_unit) "//\n// HelpWindowController.h\n// game2048\n//\n// Created by <NAME> on 4/6/14.\n// Copyright (c) 2014 Codinn. All rights reserved.\n//\n\n#import <Cocoa/Cocoa.h>\n#import <WebKit/WebKit.h>\n\n@interface HelpWindowController : NSWindowController\n\n@property (weak) IBOutlet WebView *webView;\n\n...
39
7
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 22.83, "nodes": 26, "errors": 0, "source_hash": "64741aa7c58117aed5d9bb97ac17cac22ecef990206515bc2a4a0680e390059e", "categorized_nodes": 12}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <...
13,589
c
#include"Header/GameComponentHeader.h" namespace ButiEngine { class UIComponent :public GameComponent { public: std::string GetGameComponentName()override { return "UIComponent"; } std::shared_ptr<GameComponent> Clone()override; template<class Archive> void serialize(Archive& archive) { archive(...
24.1
30
(translation_unit) "#include"Header/GameComponentHeader.h"\nnamespace ButiEngine {\n\n\n\n class UIComponent :public GameComponent\n {\n public:\n std::string GetGameComponentName()override {\n return "UIComponent";\n }\n std::shared_ptr<GameComponent> Clone()override;\n template<class Archive>\n void serialize(...
225
14
{"language": "c", "success": true, "metadata": {"lines": 30, "avg_line_length": 24.1, "nodes": 130, "errors": 0, "source_hash": "b432bf7c459578ddb239a3b160738d77637b98a5be5b61f7d1a014cc39464d5d", "categorized_nodes": 88}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
13,590
c
// // GameViewController.h // df3d // #import <UIKit/UIKit.h> #import <MetalKit/MetalKit.h> #ifndef DF3D_APPLETV #import <CoreMotion/CoreMotion.h> #endif #ifdef DF3D_APPLETV #import <GameController/GameController.h> #define GameViewControllerBase GCEventViewController #else #define GameViewControllerBase UIViewCont...
26.81
27
(translation_unit) "//\n// GameViewController.h\n// df3d\n//\n\n#import <UIKit/UIKit.h>\n#import <MetalKit/MetalKit.h>\n#ifndef DF3D_APPLETV\n#import <CoreMotion/CoreMotion.h>\n#endif\n\n#ifdef DF3D_APPLETV\n#import <GameController/GameController.h>\n#define GameViewControllerBase GCEventViewController\n#else\n#defin...
148
15
{"language": "c", "success": true, "metadata": {"lines": 27, "avg_line_length": 26.81, "nodes": 105, "errors": 0, "source_hash": "5f92325ade4a17722d6b10836a8ee981c54c14837d5fb561fe1bc698d092641e", "categorized_nodes": 55}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import ...
13,591
c
/** # The temperature in the soil The interesting and challenging field of atmospheric boundary-layer turbulence considers the facinating physics that occur above the earth's surface. Underneath, a simple diffusion equation describes the evolution of the thermodynamic variable. We use data from the excellent study...
32.42
111
(translation_unit) "/**\n# The temperature in the soil\n\nThe interesting and challenging field of atmospheric boundary-layer\n turbulence considers the facinating physics that occur above the\n earth's surface. Underneath, a simple diffusion equation describes\n the evolution of the thermodynamic variable. We use data...
868
21
{"language": "c", "success": true, "metadata": {"lines": 111, "avg_line_length": 32.42, "nodes": 483, "errors": 0, "source_hash": "946ecb821b47c921f68e6d167c09a1648f1c295fa38f6e3fc639de12668a295f", "categorized_nodes": 320}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
13,592
c
#ifndef MATERIALID_H #define MATERIALID_H #include <string> #include "nau/material/material.h" #ifdef _WINDLL #ifdef nau_EXPORTS #define nau_API __declspec(dllexport) #else #define nau_API __declspec(dllimport) #endif #else #define nau_API #endif namespace nau { namespace material { class MaterialID {...
22.53
34
(translation_unit) "#ifndef MATERIALID_H\n#define MATERIALID_H\n\n#include <string>\n#include "nau/material/material.h"\n\n#ifdef _WINDLL\n#ifdef nau_EXPORTS\n#define nau_API __declspec(dllexport) \n#else \n#define nau_API __declspec(dllimport) \n#endif \n#else\n#define nau_API\n#endif\n\n\nnamespace nau\n{\n name...
222
11
{"language": "c", "success": true, "metadata": {"lines": 34, "avg_line_length": 22.53, "nodes": 141, "errors": 0, "source_hash": "8e09be40c169ef492e7a826b3463b879a2feeed52fbaf2bfe97b6d82b9470f35", "categorized_nodes": 98}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
13,593
c
/**************************************************************************** Copyright (c) 2001 Microsoft Corporation Module Name: aucompat.h Revision History: DerekM created 10/28/01 ****************************************************************************/ #ifndef AUTSUTIL_H #defi...
21.12
17
(translation_unit) "/**************************************************************************** \nCopyright (c) 2001 Microsoft Corporation \n \nModule Name: \n aucompat.h \n \nRevision History: \n DerekM created 10/28/01 \n \n****************************************************************************/...
19
0
{"language": "c", "success": true, "metadata": {"lines": 17, "avg_line_length": 21.12, "nodes": 14, "errors": 0, "source_hash": "3631fad8198daad9baed5b121b2b217a8398b3faf78f6b383bc6b6746337d82f", "categorized_nodes": 10}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
13,594
c
// // DXCollectionParam.h // DXQ // // Created by rason on 8/13/15. // Copyright (c) 2015 rason. All rights reserved. // #import <Foundation/Foundation.h> @interface DXCollectionParam : NSObject @property (nonatomic, copy) NSString *cat; //位移 @property (nonatomic, assign) int offset; //每页多少条 @property (nonatomic,...
21.87
15
(translation_unit) "//\n// DXCollectionParam.h\n// DXQ\n//\n// Created by rason on 8/13/15.\n// Copyright (c) 2015 rason. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n\n@interface DXCollectionParam : NSObject\n@property (nonatomic, copy) NSString *cat;\n//位移\n@property (nonatomic, assign) int offs...
70
14
{"language": "c", "success": true, "metadata": {"lines": 15, "avg_line_length": 21.87, "nodes": 47, "errors": 0, "source_hash": "4db3e748b93474cd45ef6df80020a5853417cf0173dc020858284d2d00cf560e", "categorized_nodes": 26}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <...
13,595
c
#pragma once #include <glm/glm.hpp> enum class BlockType { eEmpty, eDirt, eTree, eBuilding, }; enum class BuildingType { eSawmill, }; class BlockData { public: //type of block. eg Dirt, Buildings, trees, etc BlockData() = default; virtual BlockType getType() const = 0; }; class Empty...
21.57
51
(translation_unit) "#pragma once \n#include <glm/glm.hpp> \n \nenum class BlockType { \n eEmpty, \n eDirt, \n eTree, \n eBuilding, \n}; \n \nenum class BuildingType { \n eSawmill, \n}; \n \nclass BlockData { \npublic: \n //type of block. eg Dirt, Buildings, trees, etc \n BlockData() = default; \n \n virtual BlockType g...
358
23
{"language": "c", "success": true, "metadata": {"lines": 51, "avg_line_length": 21.57, "nodes": 176, "errors": 0, "source_hash": "d1464e805e9f3b386d3a03c9eff7e05bbab05bb4dcae3dc07233e6dbdd436c4a", "categorized_nodes": 118}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
13,596
c
/*============================================================================= NifTK: A software platform for medical image computing. Copyright (c) University College London (UCL). All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY o...
38.83
222
(translation_unit) "/*=============================================================================\n\n NifTK: A software platform for medical image computing.\n\n Copyright (c) University College London (UCL). All rights reserved.\n\n This software is distributed WITHOUT ANY WARRANTY; without even\n the implied wa...
1,199
88
{"language": "c", "success": true, "metadata": {"lines": 222, "avg_line_length": 38.83, "nodes": 803, "errors": 0, "source_hash": "5ed95c5468c3b290c8de32b18a28eccdd84da8dac8d5cc7fb6b42fe08c95c2b9", "categorized_nodes": 571}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
13,597
c
// // ColorfulWoodUIUser.h // ColorfulWoodUIUser // // Created by 大新 on 2017/1/28. // Copyright © 2017年 ColorfulWood. All rights reserved. // #import <UIKit/UIKit.h> FOUNDATION_EXPORT double ColorfulWoodUIUserVersionNumber; FOUNDATION_EXPORT const unsigned char ColorfulWoodUIUserVersionString[]; #import "Colo...
31.43
37
(translation_unit) "//\n// ColorfulWoodUIUser.h\n// ColorfulWoodUIUser\n//\n// Created by 大新 on 2017/1/28.\n// Copyright © 2017年 ColorfulWood. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\nFOUNDATION_EXPORT double ColorfulWoodUIUserVersionNumber;\nFOUNDATION_EXPORT const unsigned char ColorfulWoodUIUserVer...
105
1
{"language": "c", "success": true, "metadata": {"lines": 37, "avg_line_length": 31.43, "nodes": 91, "errors": 0, "source_hash": "8a823fc657b6a1f51e5ea0559cf147aaa99e364805b6f65c088e33c30d045c54", "categorized_nodes": 36}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": " <UIKit/U...
13,598
c
#include "test_intf.c" void test_DEV_OPEN_CLOSE(void) { struct nvm_dev *dev; dev = nvm_dev_open(nvm_dev_path); CU_ASSERT_PTR_NOT_NULL_FATAL(dev); nvm_dev_close(dev); } void test_DEV_OPEN_CLOSE_N(void) { const int n = 10; struct nvm_dev *dev[10]; for (int i = 0; i < n; ++i) { dev[i] = nvm_dev_open(nvm_dev_...
21.96
50
(translation_unit) "#include "test_intf.c"\n\nvoid test_DEV_OPEN_CLOSE(void)\n{\n struct nvm_dev *dev;\n\n dev = nvm_dev_open(nvm_dev_path);\n CU_ASSERT_PTR_NOT_NULL_FATAL(dev);\n\n nvm_dev_close(dev);\n}\n\nvoid test_DEV_OPEN_CLOSE_N(void)\n{\n const int n = 10;\n struct nvm_dev *dev[10];\n\n for (int i = 0; i < n; ++...
396
0
{"language": "c", "success": true, "metadata": {"lines": 50, "avg_line_length": 21.96, "nodes": 238, "errors": 0, "source_hash": "182e9206d7dfaf054c4b161a1b57852e328635fc5f58a5f637802aded5a00006", "categorized_nodes": 157}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
13,599