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
///TAFFO_TEST_ARGS -Xvra -propagate-all int main(int argc, char *argv[]) { float __attribute__((annotate("scalar(range(0, 3))"))) a = 3; float __attribute__((annotate("scalar(range(0, 4))"))) b = 4; float c = a * b; printf("%f", c); return 0; }
27.33
9
(translation_unit) "///TAFFO_TEST_ARGS -Xvra -propagate-all\n\nint main(int argc, char *argv[])\n{\n float __attribute__((annotate("scalar(range(0, 3))"))) a = 3;\n float __attribute__((annotate("scalar(range(0, 4))"))) b = 4;\n float c = a * b;\n printf("%f", c);\n return 0;\n}\n\n" (comment) "///TAFFO_TEST_ARG...
97
0
{"language": "c", "success": true, "metadata": {"lines": 9, "avg_line_length": 27.33, "nodes": 56, "errors": 0, "source_hash": "3d07e632bcaf17a7acfc150efa2588ea77ba09ec1025ca467e3fb65b8731254d", "categorized_nodes": 32}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "function_definition", "text": "int...
1,300
c
/* * This file is part of Quartica. * * Copyright (c) 2008 <NAME> <<EMAIL>> * * Quartica is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) an...
28.28
39
(translation_unit) "/* \n * This file is part of Quartica.\n *\n * Copyright (c) 2008 <NAME> <<EMAIL>>\n *\n * Quartica is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License,...
60
0
{"language": "c", "success": true, "metadata": {"lines": 39, "avg_line_length": 28.28, "nodes": 55, "errors": 0, "source_hash": "285c55404fc7e397538bb42d470ffc4eb8499cdd5b8588fbfeabce744549530b", "categorized_nodes": 32}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
1,301
c
// // FSAppHomeViewController.h // FastApp // // Created by tangkunyin on 16/3/7. // Copyright © 2016年 www.shuoit.net. All rights reserved. // #import "FSBaseViewController.h" @interface FSAppHomeViewController : UITabBarController <UITabBarControllerDelegate> @end
26
10
(translation_unit) "//\n// FSAppHomeViewController.h\n// FastApp\n//\n// Created by tangkunyin on 16/3/7.\n// Copyright © 2016年 www.shuoit.net. All rights reserved.\n//\n\n#import "FSBaseViewController.h"\n\n@interface FSAppHomeViewController : UITabBarController <UITabBarControllerDelegate>\n\n@end\n" (comment) ...
25
4
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 26.0, "nodes": 15, "errors": 0, "source_hash": "96b5cb029285466b17ade4bb2b2d5d1261d794666b6408f31ae00e14cf3c5426", "categorized_nodes": 7}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "port \"FSBa...
1,302
c
#ifndef PROTOCOL_H #define PROTOCOL_H typedef struct { union { uint16_t All; struct { uint8_t key :1; //Button trigger report uint8_t PHighOver :1; uint8_t PHighRealse :1; uint8_t PLowLess :1; uint8_t PLowRealse :1; uint8_t timeAuto...
22.41
51
(translation_unit) "#ifndef PROTOCOL_H\n#define PROTOCOL_H\n\ntypedef struct \n{\n union \n {\n uint16_t All;\n struct\n {\n \n uint8_t key :1; //Button trigger report\n uint8_t PHighOver :1; \n uint8_t PHighRealse :1; \n uint8_t PLowLess :1; \n uint8_t PLowRe...
245
0
{"language": "c", "success": true, "metadata": {"lines": 51, "avg_line_length": 22.41, "nodes": 168, "errors": 0, "source_hash": "9c6d763f9543d190a44b523d8c5293ab7c22c1340e66e68ac2dc87de8adb6d9e", "categorized_nodes": 123}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
1,303
c
/* * Cagebreak: A Wayland tiling compositor. * * Copyright (C) 2020 The Cagebreak Authors * Copyright (C) 2018-2020 <NAME> * Copyright (C) 2019 The Sway authors * * See the LICENSE file accompanying this file. */ #include <stdlib.h> #include <wayland-server-core.h> #include <wlr/backend.h> #include <wlr/render...
33.85
239
(translation_unit) "/*\n * Cagebreak: A Wayland tiling compositor.\n *\n * Copyright (C) 2020 The Cagebreak Authors\n * Copyright (C) 2018-2020 <NAME>\n * Copyright (C) 2019 The Sway authors\n *\n * See the LICENSE file accompanying this file.\n */\n\n#include <stdlib.h>\n#include <wayland-server-core.h>\n#include <wlr...
2,045
0
{"language": "c", "success": true, "metadata": {"lines": 239, "avg_line_length": 33.85, "nodes": 1287, "errors": 0, "source_hash": "73e57b57cb9496459e51146c05ac98aac7975dce13c8970405fd9b4101f6da94", "categorized_nodes": 982}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#i...
1,304
c
/*- * Copyright (c) 2011, <NAME> <<EMAIL>> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice unmodified, thi...
26.99
221
(translation_unit) "/*-\n * Copyright (c) 2011, <NAME> <<EMAIL>>\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 * 1. Redistributions of source code must retain the above copyright\n...
1,465
0
{"language": "c", "success": true, "metadata": {"lines": 221, "avg_line_length": 26.99, "nodes": 844, "errors": 0, "source_hash": "ed4d547a2cb9f87613346959d3713bc6b13f57e0ad71c1cdad42c0417f05cec1", "categorized_nodes": 616}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
1,305
c
#pragma once #include "ofMain.h" #include "ofxOpenCv.h" #include "ofxCv.h" #include "ofxGui.h" #include "ofxBox2d.h" #include "ofxCvHaarFinder.h" class ofApp : public ofBaseApp{ public: void setup(); void update(); void draw(); void keyPressed(int key); void keyReleased(int key); void mouseMoved(int x,...
25.04
51
(translation_unit) "#pragma once\n\n#include "ofMain.h"\n#include "ofxOpenCv.h"\n#include "ofxCv.h"\n#include "ofxGui.h"\n#include "ofxBox2d.h"\n#include "ofxCvHaarFinder.h"\n\nclass ofApp : public ofBaseApp{\n\n public:\n void setup();\n void update();\n void draw();\n\n void keyPressed(int key);\n void keyReleas...
308
1
{"language": "c", "success": true, "metadata": {"lines": 51, "avg_line_length": 25.04, "nodes": 207, "errors": 0, "source_hash": "815d426086814e5757f8ef7b4b435c37af22ee03b6c27043db23711fe24dde49", "categorized_nodes": 148}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
1,306
c
#define UART_REG_DATA 0x16000000 #define UART_REG_FLAG 0x16000018 #define UART_FLAG_FULL (1 << 5) void uart_putc(char c); void uart_puts(char *s); void uart_setup(void);
36.17
6
(translation_unit) "#define UART_REG_DATA 0x16000000\n#define UART_REG_FLAG 0x16000018\n\n#define UART_FLAG_FULL (1 << 5)\n\nvoid uart_putc(char c);\nvoid uart_puts(char *s);\nvoid uart_setup(void);\n" (preproc_def) "#define UART_REG_DATA 0x160000...
47
0
{"language": "c", "success": true, "metadata": {"lines": 6, "avg_line_length": 36.17, "nodes": 37, "errors": 0, "source_hash": "4c4f187fe62e8ddc4ffc7ef0eb532473d2cee4c6caf0e19674a56e905ee8bc71", "categorized_nodes": 17}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_def", "text": "#define UAR...
1,307
c
#pragma once #include "afxwin.h" #include "StatLink.h" // CMainDlg dialog class CMainDlg : public CDialog { DECLARE_DYNAMIC(CMainDlg) public: CMainDlg(CWnd* pParent = NULL); // standard constructor virtual ~CMainDlg(); // Dialog Data enum { IDD = IDD_MAIN }; protected: virtual void DoDataE...
19.15
34
(translation_unit) "#pragma once \n#include "afxwin.h" \n#include "StatLink.h" \n \n// CMainDlg dialog \n \nclass CMainDlg : public CDialog \n{ \n DECLARE_DYNAMIC(CMainDlg) \n \npublic: \n CMainDlg(CWnd* pParent = NULL); // standard constructor \n virtual ~CMainDlg(); \n \n// Dialog Data \n enum { IDD = IDD_MAIN }; \...
178
9
{"language": "c", "success": true, "metadata": {"lines": 34, "avg_line_length": 19.15, "nodes": 111, "errors": 0, "source_hash": "54aa416cd317f76f4aa12ba75d91205f45923c99b881e54aa5c7effc454cdc98", "categorized_nodes": 77}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma ...
1,308
c
#ifndef MUI_COMMON_UTF8STRING_H_ #define MUI_COMMON_UTF8STRING_H_ #include "../Config.h" #include <string> NAMESPACE_BEGIN class Utf8String { public: Utf8String(): buffer_() { } explicit Utf8String(std::string source) : buffer_(source) { // do nothing } std::size_t Ch...
16.61
33
(translation_unit) "#ifndef MUI_COMMON_UTF8STRING_H_ \n#define MUI_COMMON_UTF8STRING_H_ \n \n#include "../Config.h" \n#include <string> \n \nNAMESPACE_BEGIN \n \nclass Utf8String { \npublic: \n Utf8String(): buffer_() { \n \n } \n \n explicit Utf8String(std::string source) : buffer_(source) { \n // do n...
148
11
{"language": "c", "success": true, "metadata": {"lines": 33, "avg_line_length": 16.61, "nodes": 79, "errors": 0, "source_hash": "e859a39c6adfc1b6e6ad7ba73865441f4284235c2c7d37ff7263b8468fd249e9", "categorized_nodes": 50}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
1,309
c
/* * Description : * Author : <NAME> * Date : 2021-12-19 13:36:58 * LastEditTime : 2021-12-20 11:28:38 * LastEditors : <NAME> * FilePath : \Buceros\tests\temp\temp.c */ int main() { int* ram_ptr = (void*)0x20000000; int i, j, k; for(i = 2; i < 100; i++){ k = 1; f...
19.32
25
(translation_unit) "/*\n * Description : \n * Author : <NAME>\n * Date : 2021-12-19 13:36:58\n * LastEditTime : 2021-12-20 11:28:38\n * LastEditors : <NAME>\n * FilePath : \Buceros\tests\temp\temp.c\n */\n\nint main()\n{\n int* ram_ptr = (void*)0x20000000;\n int i, j, k;\n for(i = 2; i < 10...
131
0
{"language": "c", "success": true, "metadata": {"lines": 25, "avg_line_length": 19.32, "nodes": 81, "errors": 0, "source_hash": "d2f23190df4823789c07a006db24844f5549697814be81af84ccaa5f1f62ae58", "categorized_nodes": 53}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "function_definition", "text": "in...
1,310
c
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef IOS_PUBLIC_PROVIDER_WEB_WEB_UI_IOS_CONTROLLER_H_ #define IOS_PUBLIC_PROVIDER_WEB_WEB_UI_IOS_CONTROLLER_H_ #include "base/strings/string16.h" cla...
39.52
29
(translation_unit) "// Copyright 2014 The Chromium Authors. All rights reserved.\n// Use of this source code is governed by a BSD-style license that can be\n// found in the LICENSE file.\n\n#ifndef IOS_PUBLIC_PROVIDER_WEB_WEB_UI_IOS_CONTROLLER_H_\n#define IOS_PUBLIC_PROVIDER_WEB_WEB_UI_IOS_CONTROLLER_H_\n\n#include "ba...
158
7
{"language": "c", "success": true, "metadata": {"lines": 29, "avg_line_length": 39.52, "nodes": 81, "errors": 0, "source_hash": "912e52d16fa708559059f15a47f951e26e81c8778123f99074af7a3abc4ad3d2", "categorized_nodes": 60}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
1,311
c
#include <stdio.h> #include "SString.h" //**▲04 串**// // 测试函数,打印字符串 void PrintElem(SString S) { int i; for(i = 1; i <= S[0]; i++) { printf("%c", S[i]); } printf("\n"); } int main(int argc, char** argv) { char* chars = "01234567899876543210"; SStrin...
23.02
133
(translation_unit) "#include <stdio.h>\n#include "SString.h" //**▲04 串**//\n\n// 测试函数,打印字符串\nvoid PrintElem(SString S) {\n int i;\n \n for(i = 1; i <= S[0]; i++) {\n printf("%c", S[i]);\n }\n \n printf("\n");\n}\n\n\nint main(int argc, char** argv) {\n char* chars ...
1,084
0
{"language": "c", "success": true, "metadata": {"lines": 133, "avg_line_length": 23.02, "nodes": 479, "errors": 0, "source_hash": "60ecd0e3c9543c726d00f19aea31cf221df6261e6dc385e4d9f13049b5249777", "categorized_nodes": 326}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
1,312
c
// // AppDelegate.h // StandingDeskAppHelper // // Created by <NAME> on 1/4/14. // Copyright (c) 2014 <NAME>. All rights reserved. // #import <Cocoa/Cocoa.h> @interface AppDelegate : NSObject <NSApplicationDelegate> @property (assign) IBOutlet NSWindow *window; @end
23.64
11
(translation_unit) "//\n// AppDelegate.h\n// StandingDeskAppHelper\n//\n// Created by <NAME> on 1/4/14.\n// Copyright (c) 2014 <NAME>. All rights reserved.\n//\n\n#import <Cocoa/Cocoa.h>\n\n@interface AppDelegate : NSObject <NSApplicationDelegate>\n\n@property (assign) IBOutlet NSWindow *window;\n\n@end\n" (comme...
39
7
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 23.64, "nodes": 26, "errors": 0, "source_hash": "57a834eda731c0d181a63408acc54b2c244337659b1e264d06510e8eac50b61b", "categorized_nodes": 12}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <...
1,313
c
/* Copyright (c) 2010, 2011 <NAME> <<EMAIL>> * See the file COPYRIGHT for details. */ /* * here be main() */ #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <sysexits.h> #include "builtins.h" #include "io.h" #include "session.h" #include "reader.h" #include "signals.h" #include "printer.h" #inc...
29.3
89
(translation_unit) "/* Copyright (c) 2010, 2011 <NAME> <<EMAIL>>\n * See the file COPYRIGHT for details.\n */\n/*\n * here be main()\n */\n\n#include <stdio.h>\n#include <stdlib.h>\n#include <unistd.h>\n#include <sysexits.h>\n#include "builtins.h"\n#include "io.h"\n#include "session.h"\n#include "reader.h"\n#include "s...
619
0
{"language": "c", "success": true, "metadata": {"lines": 89, "avg_line_length": 29.3, "nodes": 371, "errors": 0, "source_hash": "fa90530561492f7ffb29cb13959880c5c46b28d2206b2ee39c25c5ac6efbff70", "categorized_nodes": 254}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
1,314
c
/* Four-Wheel Drive System Simulator By HorizonChaser 2020/06/18 */ /* Usage: F/f: Move Forward B/b: Move Backward S/s: Stop Immediately R/r: Turn Right L/l: Turn Left I/i: Increase Speed by 10%, MAX == 100% D/d: Decrease Speed by 10%, MIN == 10% GLHF with Arduino~ */ float speedP...
26.7
106
(translation_unit) "/*\n Four-Wheel Drive System Simulator\n By HorizonChaser 2020/06/18\n*/\n\n/*\n Usage:\n F/f: Move Forward\n B/b: Move Backward\n S/s: Stop Immediately\n R/r: Turn Right\n L/l: Turn Left\n I/i: Increase Speed by 10%, MAX == 100%\n D/d: Decrease Speed by 10%, MIN == 10%\n\n ...
801
0
{"language": "c", "success": true, "metadata": {"lines": 106, "avg_line_length": 26.7, "nodes": 450, "errors": 0, "source_hash": "c49acf4af6e5eab6fb9be6fab84aa325804bd9d9fba12420080a21e32f893622", "categorized_nodes": 305}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "declaration", "text": "float sp...
1,315
c
/* * Copyright 2014 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
31.37
35
(translation_unit) "/*\n * Copyright 2014 <NAME>\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless requ...
124
5
{"language": "c", "success": true, "metadata": {"lines": 35, "avg_line_length": 31.37, "nodes": 80, "errors": 0, "source_hash": "e3a14c60f764a3564aa35e510b053a6e0aed82d38a703ea49f54318a835011de", "categorized_nodes": 57}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
1,316
c
/* * murmurhash3 -- from the original code: * * "MurmurHash3 was written by <NAME>, and is placed in the public * domain. The author hereby disclaims copyright to this source code." * * References: * https://github.com/aappleby/smhasher/ */ #include <inttypes.h> #include <endian.h> #include "utils.h" uint32_...
20.38
77
(translation_unit) "/*\n * murmurhash3 -- from the original code:\n *\n * "MurmurHash3 was written by <NAME>, and is placed in the public\n * domain. The author hereby disclaims copyright to this source code."\n *\n * References:\n * https://github.com/aappleby/smhasher/\n */\n\n#include <inttypes.h>\n#include <endian....
568
0
{"language": "c", "success": true, "metadata": {"lines": 77, "avg_line_length": 20.38, "nodes": 366, "errors": 0, "source_hash": "3ba19b7fe708d36486cb051e6b9ca938d59e8772d90baf877b05b94d6cef2c1f", "categorized_nodes": 256}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
1,317
c
/* * trie structure */ #include "stringTrieP.h" #include "pool.h" #include <stdlib.h> #include <string.h> #include <iochnnl.h> #include <ooio.h> static poolPo triePool; static void init() { if (triePool == NULL) { triePool = newPool(sizeof(StringTrieRec), 1024); } } static stringTriePo emptyTr(char *prefi...
27.92
139
(translation_unit) "/*\n * trie structure\n */\n\n#include "stringTrieP.h"\n#include "pool.h"\n#include <stdlib.h>\n#include <string.h>\n#include <iochnnl.h>\n#include <ooio.h>\n\nstatic poolPo triePool;\n\nstatic void init() {\n if (triePool == NULL) {\n triePool = newPool(sizeof(StringTrieRec), 1024);\n }\n}\n\n...
1,570
0
{"language": "c", "success": true, "metadata": {"lines": 139, "avg_line_length": 27.92, "nodes": 983, "errors": 0, "source_hash": "134ec834883ad57a722e3e5be94bdfa92379fec625edfd641e9b9049ffa9fc09", "categorized_nodes": 663}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
1,318
c
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: MIT-0 * * 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, inc...
31.56
237
(translation_unit) "/* \n * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. \n * SPDX-License-Identifier: MIT-0 \n * \n * Permission is hereby granted, free of charge, to any person obtaining a copy of this \n * software and associated documentation files (the "Software"), to deal in the Software \n ...
1,082
0
{"language": "c", "success": true, "metadata": {"lines": 237, "avg_line_length": 31.56, "nodes": 640, "errors": 0, "source_hash": "d4e1e0986677a042d51ea7e4c37937441516b0e1bdabd40a06345f35c58ce762", "categorized_nodes": 405}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
1,319
c
/* * Copyright (C) 2008 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
38.85
266
(translation_unit) "/*\n * Copyright (C) 2008 The Android Open Source Project\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n...
2,032
0
{"language": "c", "success": true, "metadata": {"lines": 266, "avg_line_length": 38.85, "nodes": 1341, "errors": 0, "source_hash": "7d8e6b0de063053ba9c03dcb6299e70899c5529c87b6ccae110c65f6d8eaf4df", "categorized_nodes": 1047}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#...
1,320
c
#include <mbed.h> #define PAGE_SIZE 256 #define CMD_READ_STATUS_REG1 0x05 #define CMD_WRITE_STATUS_REG1 0x01 #define CMD_WRITE_ENABLE 0x06 #define CMD_WRITE_DISABLE 0x04 #define CMD_READ 0x03 #define CMD_PAGE_PROGRAM 0x02 #define CMD_BLOCK_ER...
28.17
42
(translation_unit) "#include <mbed.h> \n \n#define PAGE_SIZE 256 \n#define CMD_READ_STATUS_REG1 0x05 \n#define CMD_WRITE_STATUS_REG1 0x01 \n#define CMD_WRITE_ENABLE 0x06 \n#define CMD_WRITE_DISABLE 0x04 \n#define CMD_READ 0x03 \n#define CMD_PAGE_PROGRAM ...
249
5
{"language": "c", "success": true, "metadata": {"lines": 42, "avg_line_length": 28.17, "nodes": 178, "errors": 0, "source_hash": "d9d47853c4c932048400d3c5e4ed76699607a56f393bc8b9e65176719e104ce9", "categorized_nodes": 97}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
1,321
c
// // MRCStarredReposViewController.h // MVVMReactiveCocoa // // Created by leichunfeng on 15/1/18. // Copyright (c) 2015年 leichunfeng. All rights reserved. // #import "MRCOwnedReposViewController.h" @interface MRCStarredReposViewController : MRCOwnedReposViewController @end
27
10
(translation_unit) "//\n// MRCStarredReposViewController.h\n// MVVMReactiveCocoa\n//\n// Created by leichunfeng on 15/1/18.\n// Copyright (c) 2015年 leichunfeng. All rights reserved.\n//\n\n#import "MRCOwnedReposViewController.h"\n\n@interface MRCStarredReposViewController : MRCOwnedReposViewController\n\n@end\n" ...
19
3
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 27.0, "nodes": 10, "errors": 0, "source_hash": "b9d799a624d136c60df44fee4d779933117d778cd37d3e7d1196e6711f9ae54d", "categorized_nodes": 5}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "mport \"MRC...
1,322
c
#pragma once #include "KECommand.h" #include <list> class KECommandInvoker { friend class KECommandInvokerLockGuard; protected: std::list<KECommandPtr> m_HistoryCommands; std::list<KECommandPtr>::iterator m_CurrentPos; bool m_bLock; public: KECommandInvoker(); // push the command and execute void Execute(KEComm...
19.54
41
(translation_unit) "#pragma once\n#include "KECommand.h"\n#include <list>\n\nclass KECommandInvoker\n{\n friend class KECommandInvokerLockGuard;\nprotected:\n std::list<KECommandPtr> m_HistoryCommands;\n std::list<KECommandPtr>::iterator m_CurrentPos;\n bool m_bLock;\npublic:\n KECommandInvoker();\n // push the command...
237
6
{"language": "c", "success": true, "metadata": {"lines": 41, "avg_line_length": 19.54, "nodes": 136, "errors": 0, "source_hash": "0711d1f060e41c2e9425ae2cbcd365776af5c8a9fcd06072bc9815298388aadf", "categorized_nodes": 93}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma ...
1,323
c
/*! @file @author <NAME> aka bool @date 06/2009 */ #ifndef __MYGUI_DEMI_PLATFORM_H__ #define __MYGUI_DEMI_PLATFORM_H__ #include "DebugAssert.h" #include "MyGUI_Prerequest.h" #include "MyGUI_DemiRenderManager.h" #include "MyGUI_DemiDataManager.h" #include "MyGUI_DemiTexture.h" #include "MyGUI_DemiVertexBuffer.h" ...
21.06
66
(translation_unit) "/*!\n @file\n @author <NAME> aka bool\n @date 06/2009\n*/\n\n#ifndef __MYGUI_DEMI_PLATFORM_H__\n#define __MYGUI_DEMI_PLATFORM_H__\n\n#include "DebugAssert.h"\n#include "MyGUI_Prerequest.h"\n#include "MyGUI_DemiRenderManager.h"\n#include "MyGUI_DemiDataManager.h"\n#include "MyGUI_DemiTexture.h"\n#i...
325
4
{"language": "c", "success": true, "metadata": {"lines": 66, "avg_line_length": 21.06, "nodes": 173, "errors": 0, "source_hash": "898bb1300a85a7efec91e574b31484163d6d8e4f02f8b776739694b7eb43e902", "categorized_nodes": 126}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
1,324
c
#pragma once /* Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations: get and put. get(key) - Get the value (will always be positive) of the key if the key exists in the cache, otherwise return -1. put(key, value) - Set or insert the value if the key is...
31.57
111
(translation_unit) "#pragma once\n\n/*\nDesign and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations: get and put.\n\nget(key) - Get the value (will always be positive) of the key if the key exists in the cache, otherwise return -1.\nput(key, value) - Set or inse...
772
13
{"language": "c", "success": true, "metadata": {"lines": 111, "avg_line_length": 31.57, "nodes": 469, "errors": 0, "source_hash": "36606092b3c2a28b31461ff0e200eaa9fea938d74c3c758e5bde15fb7c179feb", "categorized_nodes": 341}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragm...
1,325
c
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by <NAME>. // #import "TBStoryPageScrollViewBaseItem.h" @class TBStoryVideoWaitModel; @interface TBVideoPlayerWaitViewItem : TBStoryPageScrollViewBaseItem { TBStoryVideoWaitModel *_waitModel; ...
36
20
(translation_unit) "//\n// Generated by class-dump 3.5 (64 bit).\n//\n// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by <NAME>.\n//\n\n#import "TBStoryPageScrollViewBaseItem.h"\n\n@class TBStoryVideoWaitModel;\n\n@interface TBVideoPlayerWaitViewItem : TBStoryPageScrollViewBaseItem\n{\n TBStor...
152
14
{"language": "c", "success": true, "metadata": {"lines": 20, "avg_line_length": 36.0, "nodes": 93, "errors": 0, "source_hash": "dae358daa554bc2c672eb8a8738fb649d5875677ef1131560c44c43167af5c1a", "categorized_nodes": 52}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import \"...
1,326
c
// // WARPlayerFlashView.h // WARProfile // // Created by 秦恺 on 2018/6/7. // #import <UIKit/UIKit.h> @interface WARPlayerFlashView : UIView + (instancetype)playerWithVideoURL:(NSURL *)videoURL ; - (void)stop; @end
18.73
11
(translation_unit) "//\n// WARPlayerFlashView.h\n// WARProfile\n//\n// Created by 秦恺 on 2018/6/7.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface WARPlayerFlashView : UIView\n+ (instancetype)playerWithVideoURL:(NSURL *)videoURL ;\n- (void)stop;\n@end\n" (comment) "//" (comment) "// WARPlayerFlashView.h" (comment...
49
5
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 18.73, "nodes": 28, "errors": 0, "source_hash": "0828f5751803ac6731185288c1dcf010ca014ee03ba0ec0e89a3eba6ddcfde8d", "categorized_nodes": 15}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "ort <UIKi...
1,327
c
/* * Copyright (c) 2017-2018 <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: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions an...
37.17
107
(translation_unit) "/*\n * Copyright (c) 2017-2018 <NAME>. All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions\n * are met:\n * 1. Redistributions of source code must retain the above copyright\n * notice,...
918
0
{"language": "c", "success": true, "metadata": {"lines": 107, "avg_line_length": 37.17, "nodes": 552, "errors": 0, "source_hash": "7a8069578e83cab91d3640e6e70bf9f0971ef768d292ab3ee7d67ebf2a271f9b", "categorized_nodes": 367}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
1,328
c
#include <stdlib.h> #include <avr/interrupt.h> #include "timer.h" #include "uart.h" #include "twi.h" #include <stdio.h> #define UART_BAUD_RATE 9600 //static int FILE mystduot = FDEV_SETUP_STREAM(lcd_putchar, NULL, _FDEV_SETUP_WRITE); int main(void) { uart_init(UART_BAUD_SELECT(UART_BAUD_RATE, F_CPU)); ...
22.74
81
(translation_unit) "#include <stdlib.h> \n#include <avr/interrupt.h>\n#include "timer.h"\n#include "uart.h"\n#include "twi.h"\n#include <stdio.h>\n\n\n#define UART_BAUD_RATE 9600\n\n//static int FILE mystduot = FDEV_SETUP_STREAM(lcd_putchar, NULL, _FDEV_SETUP_WRITE);\n\nint main(void)\n{\n\n uart_init(UART_BAU...
616
0
{"language": "c", "success": true, "metadata": {"lines": 81, "avg_line_length": 22.74, "nodes": 378, "errors": 0, "source_hash": "b770b784b6347a95276afca1a24d79c8e388e0ae8f5af8413b95739351995f6f", "categorized_nodes": 263}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
1,329
c
#ifndef __PS_Motion_H__ #define __PS_Motion_H__ #include "PS_Vector3.h" class PS_Motion { public: PS_Vector3 position; PS_Vector3 velocity; //////////////////////////////////////////////////////// // Special constants static const PS_Motion ZERO; ////////////////////////////////////////////...
23.44
52
(translation_unit) "#ifndef __PS_Motion_H__\n#define __PS_Motion_H__\n\n#include "PS_Vector3.h"\n\nclass PS_Motion\n{\npublic:\n PS_Vector3 position;\n PS_Vector3 velocity;\n\n ////////////////////////////////////////////////////////\n // Special constants\n\n static const PS_Motion ZERO;\n\n ////////...
281
13
{"language": "c", "success": true, "metadata": {"lines": 52, "avg_line_length": 23.44, "nodes": 142, "errors": 0, "source_hash": "7d58819386f120983a81101260b62e8f52aa6818fc562f10295a68aa786d2672", "categorized_nodes": 112}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
1,330
c
/* * ===================================================================================== * * Filename: wifi.h * * Description: * * Version: 1.0 * Created: 04/16/2018 19:25:08 * Revision: none * Compiler: gcc * * Author: YOUR NAME (), * Organization: ...
24.24
34
(translation_unit) "/*\n * =====================================================================================\n *\n * Filename: wifi.h\n *\n * Description: \n *\n * Version: 1.0\n * Created: 04/16/2018 19:25:08\n * Revision: none\n * Compiler: gcc\n *\n * Author: YOU...
116
0
{"language": "c", "success": true, "metadata": {"lines": 34, "avg_line_length": 24.24, "nodes": 74, "errors": 0, "source_hash": "7baf95b8fabee27839179b33fff8434cdb32baa6501a2dfe608ede5150e09213", "categorized_nodes": 47}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
1,331
c
//////////////////////////////////////////////////// /* TODO * bug: full fuel bar when.... ? * wrong image fail for p2 * Pit stop not possible after wrong * test new fuel counting * quanto p2 passa nofuel e p1 reabasteceu * *//////////////////////////////////////////////////// // GENERAL #define DEBU...
27.54
192
(translation_unit) "//////////////////////////////////////////////////// \n/* TODO \n * bug: full fuel bar when.... ? \n * wrong image fail for p2 \n * Pit stop not possible after wrong \n * test new fuel counting \n * quanto p2 passa nofuel e p1 reabasteceu \n * \n*////////////////////////////////////////////////////...
1,169
36
{"language": "c", "success": true, "metadata": {"lines": 192, "avg_line_length": 27.54, "nodes": 861, "errors": 0, "source_hash": "cebc8353b27b062f9467291f23c648bda8454b605a728098a846c0f97f9d4932", "categorized_nodes": 398}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_def", "text": "#define...
1,332
c
// // NotificationsViewController.h // BlockMenu // // Created by <NAME> on 12-10-15. // Copyright © 2015 jdekock. All rights reserved. // #import <UIKit/UIKit.h> @interface NotificationsViewController : UIViewController @end
22
10
(translation_unit) "//\n// NotificationsViewController.h\n// BlockMenu\n//\n// Created by <NAME> on 12-10-15.\n// Copyright © 2015 jdekock. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface NotificationsViewController : UIViewController\n\n@end\n" (comment) "//" (comment) "// NotificationsViewC...
19
3
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 22.0, "nodes": 9, "errors": 0, "source_hash": "18ae3e6611d43598045921192e7a38f0344ead636be206608b1dd22fc554ca1a", "categorized_nodes": 5}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <UIKi...
1,333
c
#ifndef NAMEDIALOG_H #define NAMEDIALOG_H #include <QDialog> namespace Ui { class NameDialog; } class NameDialog : public QDialog { Q_OBJECT public: explicit NameDialog(QWidget *parent = 0); ~NameDialog(); QString pop(); private slots: void on_okBtn_clicked(); void on_cancelBtn_clicked();...
21.74
27
(translation_unit) "#ifndef NAMEDIALOG_H\n#define NAMEDIALOG_H\n\n#include <QDialog>\n\nnamespace Ui {\nclass NameDialog;\n}\n\nclass NameDialog : public QDialog\n{\n Q_OBJECT\n\npublic:\n explicit NameDialog(QWidget *parent = 0);\n ~NameDialog();\n\n QString pop();\n\nprivate slots:\n void on_okBtn_clic...
169
6
{"language": "c", "success": true, "metadata": {"lines": 27, "avg_line_length": 21.74, "nodes": 104, "errors": 0, "source_hash": "b35d9704c23930164983b438361736c790882199dfed6a2360fdd5e31c520165", "categorized_nodes": 69}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
1,334
c
/* Copyright (c) 2003-2013 uim Project https://github.com/uim/uim All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright not...
28.29
174
(translation_unit) "/*\n\n Copyright (c) 2003-2013 uim Project https://github.com/uim/uim\n\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 1. Redistributions of source code must retai...
1,033
0
{"language": "c", "success": true, "metadata": {"lines": 174, "avg_line_length": 28.29, "nodes": 626, "errors": 0, "source_hash": "ed92cc83da0ad9e88e261ebce242cb09725fd02a7d8a3d7daf8d1e35b383c297", "categorized_nodes": 462}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
1,335
c
#pragma once #include "GUI_Control.h" #include "GUI_Button.h" class GUI_SystemMenuControl : public GUI_Control { public: GUI_SystemMenuControl(GUI_Window *pOwner); ~GUI_SystemMenuControl(); void CreateSurface(); void OnClick(int relX, int relY); void PaintToSurface(SDL_Surface *pTargetSurface)...
24.2
15
(translation_unit) "#pragma once\n#include "GUI_Control.h"\n#include "GUI_Button.h"\n\nclass GUI_SystemMenuControl :\n public GUI_Control\n{\npublic:\n GUI_SystemMenuControl(GUI_Window *pOwner);\n ~GUI_SystemMenuControl();\n\n void CreateSurface();\n void OnClick(int relX, int relY);\n void PaintToSur...
97
1
{"language": "c", "success": true, "metadata": {"lines": 15, "avg_line_length": 24.2, "nodes": 60, "errors": 0, "source_hash": "a471cfd8eead50b41e9fa5afd532f2653033ac03d75169416d3a7baa92727155", "categorized_nodes": 40}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma on...
1,336
c
#include <kernaux.h> #include <ruby.h> #ifdef HAVE_KERNAUX_SNPRINTF static VALUE rb_KernAux_snprintf1(int argc, const VALUE *argv, VALUE self); static ID rb_intern_freeze = Qnil; static VALUE rb_KernAux = Qnil; void init_printf() { rb_gc_register_mark_object(ID2SYM(rb_intern_freeze = rb_intern("freeze"))); ...
32.25
126
(translation_unit) "#include <kernaux.h>\n#include <ruby.h>\n\n#ifdef HAVE_KERNAUX_SNPRINTF\n\nstatic VALUE rb_KernAux_snprintf1(int argc, const VALUE *argv, VALUE self);\n\nstatic ID rb_intern_freeze = Qnil;\nstatic VALUE rb_KernAux = Qnil;\n\nvoid init_printf()\n{\n rb_gc_register_mark_object(ID2SYM(rb_intern_free...
1,478
0
{"language": "c", "success": true, "metadata": {"lines": 126, "avg_line_length": 32.25, "nodes": 981, "errors": 0, "source_hash": "bef201e2f6b0bbc7c190c03d6059b63bf83c43e497b8760fb6bdfaf8b4d46b89", "categorized_nodes": 592}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
1,337
c
#include <stdio.h> int a[100010]; int b[100010]; int sort(int l, int r) { if (l >= r) { return 0; } int mid = (l+r)/2; int res1 = sort(l, mid); int res2 = sort(mid+1, r); int res = res1 + res2; int i = l; int j = mid+1; int k; for (k=l; k<=r; k++) { if (j > r) {...
17.8
49
(translation_unit) "#include <stdio.h>\n\nint a[100010];\nint b[100010];\n\nint sort(int l, int r) {\n if (l >= r) {\n return 0;\n }\n int mid = (l+r)/2;\n int res1 = sort(l, mid);\n int res2 = sort(mid+1, r);\n int res = res1 + res2;\n int i = l;\n int j = mid+1;\n int k;\n for (k=...
449
0
{"language": "c", "success": true, "metadata": {"lines": 49, "avg_line_length": 17.8, "nodes": 275, "errors": 0, "source_hash": "ed2a221d28e27dd6cf883198a4835cbb8596e0bc660d629f73f5ba3ce751f691", "categorized_nodes": 195}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
1,338
c
/* ** EPITECH PROJECT, 2020 ** libmy ** File description: ** list_iter functions implementation */ #include "my/my.h" #include "my/collections/list.h" list_iter_t list_iter(const list_t *self) { list_iter_t iter = {0}; iter.i = 0; iter.list = self; iter.next = self->head ? self->head->next : NULL; ...
21.48
29
(translation_unit) "/*\n** EPITECH PROJECT, 2020\n** libmy\n** File description:\n** list_iter functions implementation\n*/\n\n#include "my/my.h"\n#include "my/collections/list.h"\n\nlist_iter_t list_iter(const list_t *self)\n{\n list_iter_t iter = {0};\n\n iter.i = 0;\n iter.list = self;\n iter.next = self...
224
0
{"language": "c", "success": true, "metadata": {"lines": 29, "avg_line_length": 21.48, "nodes": 141, "errors": 0, "source_hash": "edd7128e7538a74cc1477fadd8b1e9ba93bc50b4b4afea82d4d4116790554c64", "categorized_nodes": 112}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
1,339
c
#ifndef __INCLUDE_MIKU_KERNEL_PANIC_H #define __INCLUDE_MIKU_KERNEL_PANIC_H #include <stdarg.h> /* Defined in arch */ __attribute__((noreturn)) void halt_kernel(); __attribute__((noreturn)) void panic(const char *error); __attribute__((noreturn, format(printf, 1, 2))) void panicf(const char *format, ...); #endif /...
42.38
8
(translation_unit) "#ifndef __INCLUDE_MIKU_KERNEL_PANIC_H\n#define __INCLUDE_MIKU_KERNEL_PANIC_H\n\n#include <stdarg.h>\n\n/* Defined in arch */\n__attribute__((noreturn)) void halt_kernel();\n\n__attribute__((noreturn)) void panic(const char *error);\n__attribute__((noreturn, format(printf, 1, 2))) void panicf(const c...
89
0
{"language": "c", "success": true, "metadata": {"lines": 8, "avg_line_length": 42.38, "nodes": 53, "errors": 0, "source_hash": "b852875a3c8a4855eb7c68b3d218bdf9fb9d399ce470aac81a14c93f7b1d2abb", "categorized_nodes": 32}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef _...
1,340
c
// MapDownloadStructures.h: helper structures for map downloading ////////////////////////////////////////////////////////////////////// #if !defined(_MAPDOWNLOADSTRUCTURES__HEADER_INCLUDED_) #define _MAPDOWNLOADSTRUCTURES__HEADER_INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // initial packet...
33.37
30
(translation_unit) "// MapDownloadStructures.h: helper structures for map downloading\n//////////////////////////////////////////////////////////////////////\n\n#if !defined(_MAPDOWNLOADSTRUCTURES__HEADER_INCLUDED_)\n#define _MAPDOWNLOADSTRUCTURES__HEADER_INCLUDED_\n\n#if _MSC_VER > 1000\n#pragma once\n#endif // _MSC_V...
75
0
{"language": "c", "success": true, "metadata": {"lines": 30, "avg_line_length": 33.37, "nodes": 44, "errors": 0, "source_hash": "990ba2ce6dbf5cc78c6483ae70fb4a3b81a6805a562e58e79e899844e11f714e", "categorized_nodes": 34}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_if", "text": "#if !define...
1,341
c
#pragma once @interface UIBarItem () { @public NSInteger _tag; idretaintype(UIImage) _image; BOOL _isDisabled, _enabled; // fixme } @end
17.62
8
(translation_unit) "#pragma once\n\n@interface UIBarItem () {\n@public\n NSInteger _tag;\n idretaintype(UIImage) _image;\n BOOL _isDisabled, _enabled; // fixme\n}\n@end" (preproc_call) "#pragma once\n" (preproc_directive) "#pragma" (preproc_arg) "once" (ERROR) "@" (ERROR) "@" (function_defini...
45
7
{"language": "c", "success": true, "metadata": {"lines": 8, "avg_line_length": 17.62, "nodes": 28, "errors": 0, "source_hash": "901da072636d4b4fdbe58aaad44a80b003d18919d7b3fba5cd23939bb92ebef7", "categorized_nodes": 17}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma on...
1,342
c
#pragma once #include "vector.h" namespace monad { class Texture; class NoiseGenerator { public: Texture *grayscale1024; NoiseGenerator(); Texture *getGrayscale(ivec2 size); }; }
18.91
11
(translation_unit) "#pragma once\n#include "vector.h"\n\nnamespace monad {\n\n class Texture;\n\n class NoiseGenerator {\n public:\n Texture *grayscale1024;\n\n NoiseGenerator();\n\n Texture *getGrayscale(ivec2 size);\n };\n\n}\n" (preproc_call) "#pragma once\n" (preproc_directive...
57
0
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 18.91, "nodes": 32, "errors": 0, "source_hash": "9c449fae2ae76e65cd9bc2803231a5ed03c69c6db120266e0308fabeced299c4", "categorized_nodes": 23}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
1,343
c
/* * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) * From ASN.1 module "PKIX1Explicit88" * found in "asn1/rfc3280-PKIX1Explicit88.asn1" * `asn1c -S asn1c/skeletons -pdu=all -pdu=Certificate -fwide-types -fcompound-names -no-gen-OER -no-gen-PER -no-gen-example` */ #include "DomainComponent.h" /* * This ...
33.75
28
(translation_unit) "/*\n * Generated by asn1c-0.9.29 (http://lionet.info/asn1c)\n * From ASN.1 module "PKIX1Explicit88"\n * found in "asn1/rfc3280-PKIX1Explicit88.asn1"\n * `asn1c -S asn1c/skeletons -pdu=all -pdu=Certificate -fwide-types -fcompound-names -no-gen-OER -no-gen-PER -no-gen-example`\n */\n\n#include "Doma...
122
0
{"language": "c", "success": true, "metadata": {"lines": 28, "avg_line_length": 33.75, "nodes": 57, "errors": 0, "source_hash": "f8d4465b15fb84d75a9ee4adfe6c64a973928c01145878376406666d551df96b", "categorized_nodes": 46}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
1,344
c
extern void test_yunomemory ();
31
1
(translation_unit) "extern void test_yunomemory ();\n" (declaration) "extern void test_yunomemory ();" (storage_class_specifier) "extern" (extern) "extern" (primitive_type) "void" (function_declarator) "test_yunomemory ()" (identifier) "test_yunomemory" (parameter_list) "()" (() ...
11
0
{"language": "c", "success": true, "metadata": {"lines": 1, "avg_line_length": 31.0, "nodes": 7, "errors": 0, "source_hash": "5df1935c9a231a025a0fa66c26261df923280c5e103926b71f8ea67060faeb85", "categorized_nodes": 4}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "declaration", "text": "extern void te...
1,345
c
#pragma once #include "r_constants.h" #if defined(USE_DX10) || defined(USE_DX11) #include "../xrRenderDX10/dx10r_constants_cache.h" #else // USE_DX10 #include "../xrRenderDX9/dx9r_constants_cache.h" #endif // USE_DX10
30.14
7
(translation_unit) "#pragma once\n\n#include "r_constants.h"\n\n#if defined(USE_DX10) || defined(USE_DX11)\n#include "../xrRenderDX10/dx10r_constants_cache.h"\n#else // USE_DX10\n#include "../xrRenderDX9/dx9r_constants_cache.h"\n#endif // USE_DX10\n" (preproc_call) "#pragma once\n" (preproc_directive) "#pragma" ...
42
0
{"language": "c", "success": true, "metadata": {"lines": 7, "avg_line_length": 30.14, "nodes": 26, "errors": 0, "source_hash": "d7ee839155361c6cce860f6aa5b4cf773080f114d8d1805d8ed86ea4bee5a3f0", "categorized_nodes": 16}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma on...
1,346
c
/* * CDDL HEADER START * * The contents of this file are subject to the terms of the * Common Development and Distribution License (the "License"). * You may not use this file except in compliance with the License. * * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE * or http://www.opensolar...
33.87
85
(translation_unit) "/*\n * CDDL HEADER START\n *\n * The contents of this file are subject to the terms of the\n * Common Development and Distribution License (the "License").\n * You may not use this file except in compliance with the License.\n *\n * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE...
286
0
{"language": "c", "success": true, "metadata": {"lines": 85, "avg_line_length": 33.87, "nodes": 197, "errors": 0, "source_hash": "b47315f4e7aa37daf8683ea2fa51c8d2e0f273e41fe5733b77117d79ba72b349", "categorized_nodes": 118}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
1,347
c
#pragma once #include "hlslib/DataPack.h" constexpr int N = 256; constexpr int K = 256; constexpr int M = 256; constexpr int W = 4; constexpr int D = 8; constexpr int TM = 32; using Vec_t = hlslib::DataPack<float, W>; static_assert(N % D == 0, "Size must be divisable by tile size"); static_assert(M % (TM * W) == ...
33.58
12
(translation_unit) "#pragma once\n\n#include "hlslib/DataPack.h"\n\nconstexpr int N = 256;\nconstexpr int K = 256;\nconstexpr int M = 256;\n\nconstexpr int W = 4; \nconstexpr int D = 8;\nconstexpr int TM = 32;\n\nusing Vec_t = hlslib::DataPack<float, W>;\n\nstatic_assert(N % D == 0, "Size must be divisable by tile size...
158
2
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 33.58, "nodes": 111, "errors": 0, "source_hash": "7592b61576be42881eb208be0a4867c7795246e8c00059976899ea5fac748ee4", "categorized_nodes": 66}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma ...
1,348
c
/// @file /// @version 5.1 /// /// @section LICENSE /// /// This program is free software; you can redistribute it and/or modify it under /// the terms of the BSD license: http://opensource.org/licenses/BSD-3-Clause /// /// @section DESCRIPTION /// /// Defines a class for a grid view row. #ifndef APRILUI_GRID_VIEW...
26.31
39
(translation_unit) "/// @file\n/// @version 5.1\n/// \n/// @section LICENSE\n/// \n/// This program is free software; you can redistribute it and/or modify it under\n/// the terms of the BSD license: http://opensource.org/licenses/BSD-3-Clause\n/// \n/// @section DESCRIPTION\n/// \n/// Defines a class for a grid view r...
199
9
{"language": "c", "success": true, "metadata": {"lines": 39, "avg_line_length": 26.31, "nodes": 112, "errors": 0, "source_hash": "f17cdc120063677e5d118ef6a2f2261e92a45817f7d2effe227fbcc9024d2fc1", "categorized_nodes": 81}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
1,349
c
#include "Component.h" #include <glm/glm.hpp> // Class for saving positions in the world class Transform : public Component { public: glm::vec3 position; // Move constructor to source file when implementing the rest of the class Transform() { position.x = 0; position.y = 0; position.z = 0; } };
22.54
13
(translation_unit) "#include "Component.h"\n#include <glm/glm.hpp>\n\n// Class for saving positions in the world\nclass Transform : public Component {\npublic:\n glm::vec3 position;\n\n // Move constructor to source file when implementing the rest of the class\n Transform() {\n position.x = 0;\n position.y = 0;\n po...
73
2
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 22.54, "nodes": 37, "errors": 0, "source_hash": "2ee069d85bde734273d13c20806795b30cd45fd4b87f41fc8fa34280dfa4c2f5", "categorized_nodes": 30}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
1,350
c
// // MRAIDWKUserContentController.h // LoopMeUnitedSDK // // Created by Bohdan on 02.04.2020. // Copyright © 2020 LoopMe. All rights reserved. // #import <Foundation/Foundation.h> #import <WebKit/WebKit.h> #import "LoopMeMRAIDClient.h" NS_ASSUME_NONNULL_BEGIN @interface LoopMeMRAIDScriptMessageHandler : NSObjec...
27.31
16
(translation_unit) "//\n// MRAIDWKUserContentController.h\n// LoopMeUnitedSDK\n//\n// Created by Bohdan on 02.04.2020.\n// Copyright © 2020 LoopMe. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n#import <WebKit/WebKit.h>\n#import "LoopMeMRAIDClient.h"\n\nNS_ASSUME_NONNULL_BEGIN\n\n@interface LoopMeM...
64
6
{"language": "c", "success": true, "metadata": {"lines": 16, "avg_line_length": 27.31, "nodes": 41, "errors": 0, "source_hash": "1c5a082527caaffea8c001a2f458119e0271ccc9b8ca5e31096854ecc33854ac", "categorized_nodes": 25}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <F...
1,351
c
#include "esphome.h" #include "Keypad.h" class KeypadSensor : public Component, public TextSensor { public: static const byte n_rows = 4; static const byte n_cols = 4; char keys[n_rows][n_cols] = { {'1','2','3','A'}, {'4','5','6','B'}, {'7','8','9','C'}, {'*','0','#','D'} }; ...
25.45
29
(translation_unit) "#include "esphome.h"\n#include "Keypad.h"\n\nclass KeypadSensor : public Component, public TextSensor {\n\n public:\n\n static const byte n_rows = 4;\n static const byte n_cols = 4;\n \n char keys[n_rows][n_cols] = {\n {'1','2','3','A'},\n {'4','5','6','B'},\n {'7','8','9','C...
295
2
{"language": "c", "success": true, "metadata": {"lines": 29, "avg_line_length": 25.45, "nodes": 179, "errors": 0, "source_hash": "28fba6573c57dd4344566d012e8cf07cc6dce43560d0429d2df5802ee612a265", "categorized_nodes": 89}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
1,352
c
#pragma once struct Vector2i { int x; int y; }; struct Vector2f { float x; float y; }; struct Vector2d { double x; double y; };
9.31
13
(translation_unit) "#pragma once\nstruct Vector2i {\n int x;\n int y;\n};\n\nstruct Vector2f {\n float x;\n float y;\n};\n\nstruct Vector2d {\n double x;\n double y;\n};" (preproc_call) "#pragma once\n" (preproc_directive) "#pragma" (preproc_arg) "once" (struct_specifier) "struct Vector2i {\n int x;\n int y...
49
0
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 9.31, "nodes": 30, "errors": 0, "source_hash": "fad241b3658e6b70cd78e7a68a979f087445bb772f2ecaaed473eeffaa23a1d6", "categorized_nodes": 22}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma on...
1,353
c
/*---------------------------------------------------------------------------- * File : ty_repl.c * Library : typhoon * OS : UNIX, OS/2, DOS * Author : <NAME> * * Copyright (c) 1994 <NAME>. All rights reserved. * * Permission is hereby granted, without written agreement and without * license or royal...
24.6
233
(translation_unit) "/*----------------------------------------------------------------------------\n * File : ty_repl.c\n * Library : typhoon\n * OS : UNIX, OS/2, DOS\n * Author : <NAME>\n *\n * Copyright (c) 1994 <NAME>. All rights reserved.\n *\n * Permission is hereby granted, without written agreement and...
1,160
9
{"language": "c", "success": true, "metadata": {"lines": 233, "avg_line_length": 24.6, "nodes": 685, "errors": 0, "source_hash": "199621d02ec813421f8996521adfca36b063bf03e8d2a6e775fd8a9a2025bc0d", "categorized_nodes": 545}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "declaration", "text": "static c...
1,354
c
/** Mix reads from two sets of fastq files */ /***************************************************************************** ***************************************************************************** * * * Copyright (C) 2010 Genome Resea...
36.69
172
(translation_unit) "/** Mix reads from two sets of fastq files\n */\n\n/*****************************************************************************\n *****************************************************************************\n * *\n * Copyr...
1,760
0
{"language": "c", "success": true, "metadata": {"lines": 172, "avg_line_length": 36.69, "nodes": 997, "errors": 0, "source_hash": "678a4a351b77e4406ef23d1569d41e0728e586589a47b52a49a8a8dc6b8e0120", "categorized_nodes": 765}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
1,355
c
/* { dg-do run } */ /* { dg-require-effective-target sse4 } */ /* { dg-options "-O1 -msse4.2 -ftree-vectorize" } */ #include "sse4_2-check.h" unsigned long long v1[] __attribute__ ((aligned(16))) = { 0x8000000000000000ULL, 2, 3, 0xd000000000000000ULL }; unsigned long long v2[] __attribute__ ((aligned(16))) = { ...
18.34
56
(translation_unit) "/* { dg-do run } */\n/* { dg-require-effective-target sse4 } */\n/* { dg-options "-O1 -msse4.2 -ftree-vectorize" } */\n\n#include "sse4_2-check.h"\n\nunsigned long long v1[] __attribute__ ((aligned(16))) =\n{\n 0x8000000000000000ULL, 2,\n 3, 0xd000000000000000ULL\n};\nunsigned long long v2[] __att...
436
5
{"language": "c", "success": true, "metadata": {"lines": 56, "avg_line_length": 18.34, "nodes": 265, "errors": 0, "source_hash": "dee6599eae9488a657b8e50d23472fcb3d88e47d83830cb65123fb7006fd965d", "categorized_nodes": 182}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
1,356
c
// // JSDetailViewController.h // JSPopView_Example // // Created by 罗孟歌 on 2019/7/1. // Copyright © 2019 lmg4819. All rights reserved. // #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @interface JSDetailViewController : UIViewController /* UIKIT_EXTERN NSString *const MCMineShowBusinessResisterAlertExposure;...
25.64
25
(translation_unit) "//\n// JSDetailViewController.h\n// JSPopView_Example\n//\n// Created by 罗孟歌 on 2019/7/1.\n// Copyright © 2019 lmg4819. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\nNS_ASSUME_NONNULL_BEGIN\n\n@interface JSDetailViewController : UIViewController\n/*\n UIKIT_EXTERN NSString *const MCMine...
28
4
{"language": "c", "success": true, "metadata": {"lines": 25, "avg_line_length": 25.64, "nodes": 16, "errors": 0, "source_hash": "5d736a5eb7335a0c20f19ff73de6df71c11d331b612a449d40f71a4b19b7d966", "categorized_nodes": 9}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": " <UIKit/UI...
1,357
c
#ifndef ARFeatheredBeam_H #define ARFeatheredBeam_H /* GUIDO Library Copyright (C) 2002 <NAME>, <NAME>, <NAME> Copyright (C) 2002-2013 Grame This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at ...
33.74
54
(translation_unit) "#ifndef ARFeatheredBeam_H\n#define ARFeatheredBeam_H\n\n/*\n GUIDO Library\n Copyright (C) 2002 <NAME>, <NAME>, <NAME>\n Copyright (C) 2002-2013 Grame\n\n This Source Code Form is subject to the terms of the Mozilla Public\n License, v. 2.0. If a copy of the MPL was not distributed with this\n...
392
11
{"language": "c", "success": true, "metadata": {"lines": 54, "avg_line_length": 33.74, "nodes": 226, "errors": 0, "source_hash": "9b7c9c0d48735f1d88a7dcc95e1b520be7c188cfcfc31c0483ca079e301286a3", "categorized_nodes": 168}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
1,358
c
/* * Copyright (c) 2017-2019 Cisco and/or its affiliates. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at: * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
38.76
91
(translation_unit) "/*\n * Copyright (c) 2017-2019 Cisco and/or its affiliates.\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 *...
737
39
{"language": "c", "success": true, "metadata": {"lines": 91, "avg_line_length": 38.76, "nodes": 422, "errors": 0, "source_hash": "ad7644f2715119c807dd9455ddaacdde6072c3f4cb686fef935617b40bff67ea", "categorized_nodes": 308}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
1,359
c
/* Source File : PDFDictionary.h Copyright 2011 <NAME> PDFWriter 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 requir...
29.04
48
(translation_unit) "/*\n Source File : PDFDictionary.h\n\n\n Copyright 2011 <NAME> PDFWriter\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...
242
15
{"language": "c", "success": true, "metadata": {"lines": 48, "avg_line_length": 29.04, "nodes": 148, "errors": 0, "source_hash": "8727db996c15fec4721e350b5935070103de1b17092a602f9354c7fd8accb498", "categorized_nodes": 93}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma ...
1,360
c
#ifndef TSUMMARY_FORM_H #define TSUMMARY_FORM_H #include "ui_tfinished_form.h" class TFinished_form : public QDialog, private Ui::TFinished_form { Q_OBJECT public: explicit TFinished_form(QWidget *parent = 0); }; #endif // TSUMMARY_FORM_H
23.7
10
(translation_unit) "#ifndef TSUMMARY_FORM_H\n#define TSUMMARY_FORM_H\n\n#include "ui_tfinished_form.h"\n\nclass TFinished_form : public QDialog, private Ui::TFinished_form\n{\n Q_OBJECT\n\npublic:\n explicit TFinished_form(QWidget *parent = 0);\n};\n\n#endif // TSUMMARY_FORM_H\n" (preproc_ifdef) "#ifndef TSUMMA...
54
4
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 23.7, "nodes": 30, "errors": 0, "source_hash": "6b6a8981d63934cbacc3134b5058e2afd791d77f71660e9bb9dba7814f72121e", "categorized_nodes": 21}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef T...
1,361
c
#ifndef tinyCmdTable_h #define tinyCmdTable_h #include <inttypes.h> #if ARDUINO >= 100 #include "Arduino.h" // for delayMicroseconds, digitalPinToBitMask, etc #else #include "WProgram.h" // for delayMicroseconds #include "pins_arduino.h" // for digitalPinToBitMask, etc #endif #define MAX_CMD_LINE 80 #d...
20.28
219
(translation_unit) "#ifndef tinyCmdTable_h\n#define tinyCmdTable_h\n\n#include <inttypes.h>\n\n#if ARDUINO >= 100\n#include "Arduino.h" // for delayMicroseconds, digitalPinToBitMask, etc\n#else\n#include "WProgram.h" // for delayMicroseconds\n#include "pins_arduino.h" // for digitalPinToBitMask, etc\n#endif...
1,536
5
{"language": "c", "success": true, "metadata": {"lines": 219, "avg_line_length": 20.28, "nodes": 912, "errors": 0, "source_hash": "8bb4c0b647c9091950fc3666d668b21881d7f6a5397d5054e7515ac858d21a71", "categorized_nodes": 598}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
1,362
c
// // Created by <NAME> on 2019/1/12. // #ifndef MIYUKI_INTEGRATOR_H #define MIYUKI_INTEGRATOR_H #include "../utils/util.h" namespace Miyuki { class Scene; struct Ray; struct IntersectionInfo; class Intersection; class Sampler; class ScatteringEvent; class Integrator { protected:...
25
24
(translation_unit) "//\n// Created by <NAME> on 2019/1/12.\n//\n\n#ifndef MIYUKI_INTEGRATOR_H\n#define MIYUKI_INTEGRATOR_H\n\n#include "../utils/util.h"\n\nnamespace Miyuki {\n class Scene;\n\n struct Ray;\n struct IntersectionInfo;\n\n class Intersection;\n\n class Sampler;\n\n class ScatteringEvent;...
145
3
{"language": "c", "success": true, "metadata": {"lines": 24, "avg_line_length": 25.0, "nodes": 87, "errors": 0, "source_hash": "2665eded3833afb733d5485556691ccb009bea541988cbe41b7e169cc5a27995", "categorized_nodes": 64}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef M...
1,363
c
// // Created by <NAME> on 15.03.2021. // #pragma once #include "TotalConsumption.h" #include "CoresConsumption.h" /*! \file * This header declares ConsumptionManager class */ #include <thread> #include <GLFW/glfw3.h> /*! \class * Manager class to display all info about CPU consumption */ class ConsumptionM...
21.78
45
(translation_unit) "//\n// Created by <NAME> on 15.03.2021.\n//\n\n#pragma once\n\n#include "TotalConsumption.h"\n#include "CoresConsumption.h"\n\n/*! \file\n * This header declares ConsumptionManager class\n */\n\n#include <thread>\n\n#include <GLFW/glfw3.h>\n\n/*! \class\n * Manager class to display all info about ...
118
0
{"language": "c", "success": true, "metadata": {"lines": 45, "avg_line_length": 21.78, "nodes": 69, "errors": 0, "source_hash": "e4e366590e42e0fd8bac531be7d915fa2f0a9e22ed6953d6278b47cb2ed07d0b", "categorized_nodes": 42}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
1,364
c
#ifndef __CLOUD_API_H__ #define __CLOUD_API_H__ #include "libs3.h" // Call back functions for read/write objects and list buckets typedef int(* put_filler_t) (char *buffer, int bufferLength); typedef int(* get_filler_t) (const char *buffer, int bufferLength); typedef int(* list_bucket_filler_t) (const char *key, ti...
50.71
28
(translation_unit) "#ifndef __CLOUD_API_H__\n#define __CLOUD_API_H__\n\n#include "libs3.h"\n\n// Call back functions for read/write objects and list buckets\ntypedef int(* put_filler_t) (char *buffer, int bufferLength);\n\ntypedef int(* get_filler_t) (const char *buffer, int bufferLength);\n\ntypedef int(* list_bucket_...
290
0
{"language": "c", "success": true, "metadata": {"lines": 28, "avg_line_length": 50.71, "nodes": 193, "errors": 0, "source_hash": "ebb536ba81f438e26f87b6389f5db9519cc237dd9b6d9b1577c2a4a1b9413b54", "categorized_nodes": 109}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
1,365
c
/* * Copyright 2019-2020 CNRS-UM LIRMM, CNRS-AIST JRL */ #pragma once #include <mc_udp/data/api.h> #include <stdint.h> #include <string> #include <vector> namespace mc_udp { /** Robot control data sent to the server */ struct MC_UDP_DATA_DLLAPI RobotControl { /** Unique identifier for the control, should repea...
28.88
32
(translation_unit) "/*\n * Copyright 2019-2020 CNRS-UM LIRMM, CNRS-AIST JRL\n */\n\n#pragma once\n\n#include <mc_udp/data/api.h>\n\n#include <stdint.h>\n#include <string>\n#include <vector>\n\nnamespace mc_udp\n{\n\n/** Robot control data sent to the server */\nstruct MC_UDP_DATA_DLLAPI RobotControl\n{\n /** Unique id...
111
5
{"language": "c", "success": true, "metadata": {"lines": 32, "avg_line_length": 28.88, "nodes": 69, "errors": 0, "source_hash": "82d868d1ae8c635588b26654b4b3e305eb7a1ac6dc9a2ff9abc7896800758437", "categorized_nodes": 46}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
1,366
c
#ifndef LOCAL_PLANNER_CLASSIC_H #define LOCAL_PLANNER_CLASSIC_H /// PROJECT #include <path_follower/local_planner/high_speed_local_planner.h> class LocalPlannerClassic : public HighSpeedLocalPlanner { public: LocalPlannerClassic(); virtual void setGlobalPath(Path::Ptr path) override; virtual void setVel...
47.92
78
(translation_unit) "#ifndef LOCAL_PLANNER_CLASSIC_H\n#define LOCAL_PLANNER_CLASSIC_H\n\n/// PROJECT\n#include <path_follower/local_planner/high_speed_local_planner.h>\n\nclass LocalPlannerClassic : public HighSpeedLocalPlanner\n{\npublic:\n LocalPlannerClassic();\n\n virtual void setGlobalPath(Path::Ptr path) ove...
1,182
108
{"language": "c", "success": true, "metadata": {"lines": 78, "avg_line_length": 47.92, "nodes": 748, "errors": 0, "source_hash": "ae0f5e80f1f403f5f4b51bd9f3006b63c3680121aa01f4e8d4651b9f4faea033", "categorized_nodes": 488}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
1,367
c
#ifndef JPR_DATETIME_H #define JPR_DATETIME_H #include "datetime-struct.h" #include "hrtime-struct.h" int get_datetime(datetime_t *, int); #endif
23.33
6
(translation_unit) "#ifndef JPR_DATETIME_H\n#define JPR_DATETIME_H\n\n#include "datetime-struct.h"\n#include "hrtime-struct.h"\n\nint get_datetime(datetime_t *, int);\n\n#endif\n" (preproc_ifdef) "#ifndef JPR_DATETIME_H\n#define JPR_DATETIME_H\n\n#include "datetime-struct.h"\n#include "hrtime-struct.h"\n\nint get_dat...
35
0
{"language": "c", "success": true, "metadata": {"lines": 6, "avg_line_length": 23.33, "nodes": 24, "errors": 0, "source_hash": "853eb7a198d3645e08417105c22cadf435397f7d5840f7ce46db6b6735eaf342", "categorized_nodes": 17}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef J...
1,368
c
// // TLMNetworkMetricsViewController.h // TLMToolKit // // Created by tom555cat on 2019/8/17. // Copyright © 2019年 <EMAIL>. All rights reserved. // #import <UIKit/UIKit.h> @interface TLMNetworkMetricsViewController : UIViewController @end
23.4
10
(translation_unit) "//\n// TLMNetworkMetricsViewController.h\n// TLMToolKit\n//\n// Created by tom555cat on 2019/8/17.\n// Copyright © 2019年 <EMAIL>. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface TLMNetworkMetricsViewController : UIViewController\n\n@end\n" (comment) "//" (comment) "// TLMN...
19
3
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 23.4, "nodes": 10, "errors": 0, "source_hash": "b1fe84d95bb44968ab1ef34c4f3d5b8d0b974bfc91cc66260cf4f1f72c4f9187", "categorized_nodes": 5}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "port <UIKit...
1,369
c
/******************************************************************************** * * * apiquery2.h -- ApiSet Contract for api-ms-win-core-apiquery-l2 * * ...
31
39
(translation_unit) "/********************************************************************************\n* *\n* apiquery2.h -- ApiSet Contract for api-ms-win-core-apiquery-l2 *\n* ...
99
1
{"language": "c", "success": true, "metadata": {"lines": 39, "avg_line_length": 31.0, "nodes": 81, "errors": 0, "source_hash": "f70cbf8b2a6d555961e7d089980b4c455ec87604d78f86e45b4c838b82a1e7dc", "categorized_nodes": 58}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifdef _M...
1,370
c
/*------------------------------------------------------------------------------ CGMF-1.1 Copyright TRIAD/LANL/DOE - see file LICENSE For any questions about CGMF, please contact us at <EMAIL> -------------------------------------------------------------------------------*/ /*! @file evapinterface.h \brief In...
40.15
13
(translation_unit) "/*------------------------------------------------------------------------------\n CGMF-1.1\n Copyright TRIAD/LANL/DOE - see file LICENSE\n For any questions about CGMF, please contact us at <EMAIL>\n-------------------------------------------------------------------------------*/\n\n/*! @file ev...
50
0
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 40.15, "nodes": 36, "errors": 0, "source_hash": "c353a0c406067cda476c9ca4a48a4eeca616303e13860c3890e648d3ab27abd7", "categorized_nodes": 23}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
1,371
c
// // PXGridSettingsController.h // Pixen // // Copyright 2005-2012 Pixen Project. All rights reserved. // @protocol PXGridSettingsPrompterDelegate; @interface PXGridSettingsController : NSWindowController @property (nonatomic, weak) IBOutlet NSColorWell *colorWell; @property (nonatomic, assign) BOOL showGrid; @...
34.54
26
(translation_unit) "//\n// PXGridSettingsController.h\n// Pixen\n//\n// Copyright 2005-2012 Pixen Project. All rights reserved.\n//\n\n@protocol PXGridSettingsPrompterDelegate;\n\n@interface PXGridSettingsController : NSWindowController\n\n@property (nonatomic, weak) IBOutlet NSColorWell *colorWell;\n\n@property (no...
232
45
{"language": "c", "success": true, "metadata": {"lines": 26, "avg_line_length": 34.54, "nodes": 158, "errors": 0, "source_hash": "b3c7f3da3808692e48f5bb99726ac18d606d138fef36fef07e9e12a625b78d0d", "categorized_nodes": 87}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "@", "parent": n...
1,372
c
#include "shared.h" int is_running = 1; void stop() { is_running = 0; } void disconnected( ENetMpClient* client, ENetMpDisconnectReason reason ) { printf("\ndisconnected: reason=%d\n", reason); stop(); } void received_packet( ENetMpClient* client, int channel, ...
26.71
52
(translation_unit) "#include "shared.h"\n\nint is_running = 1;\n\nvoid stop()\n{\n is_running = 0;\n}\n\nvoid disconnected( ENetMpClient* client, ENetMpDisconnectReason reason )\n{\n printf("\ndisconnected: reason=%d\n", reason);\n stop();\n}\n\nvoid received_packet( ENetMpClient* client,\n ...
429
0
{"language": "c", "success": true, "metadata": {"lines": 52, "avg_line_length": 26.71, "nodes": 250, "errors": 0, "source_hash": "ae91b319909518344e6d583cab79327121802dbbe20a286ffaf0590c4bcbd369", "categorized_nodes": 176}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
1,373
c
/* * Copyright 2020 d4rkmen <<EMAIL>> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agr...
34.72
143
(translation_unit) "/*\n * Copyright 2020 d4rkmen <<EMAIL>>\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless requ...
1,091
0
{"language": "c", "success": true, "metadata": {"lines": 143, "avg_line_length": 34.72, "nodes": 600, "errors": 0, "source_hash": "0730c7241ba88bb2ad72669da189ae3be014440259a60a4cc8800bb9039f8c50", "categorized_nodes": 440}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
1,374
c
// Copyright 2015 <NAME> // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, ...
29.61
56
(translation_unit) "// Copyright 2015 <NAME>\n//\n// Licensed under the Apache License, Version 2.0 (the "License");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicable l...
450
25
{"language": "c", "success": true, "metadata": {"lines": 56, "avg_line_length": 29.61, "nodes": 219, "errors": 0, "source_hash": "cf4b85a6e1b76fa407bf95a08eb214716034b92b15f530fd33f1508cfc7d5908", "categorized_nodes": 153}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
1,375
c
#ifndef HOME_MPDUTHRESHOLDWID_H #define HOME_MPDUTHRESHOLDWID_H #include "home_setopdlg.h" namespace Ui { class Home_MpduAlarmWid; } class Home_MpduAlarmWid : public QWidget { Q_OBJECT public: explicit Home_MpduAlarmWid(QWidget *parent = nullptr); ~Home_MpduAlarmWid(); void updateData(); protected:...
20.58
24
(translation_unit) "#ifndef HOME_MPDUTHRESHOLDWID_H\n#define HOME_MPDUTHRESHOLDWID_H\n\n#include "home_setopdlg.h"\n\nnamespace Ui {\nclass Home_MpduAlarmWid;\n}\n\nclass Home_MpduAlarmWid : public QWidget\n{\n Q_OBJECT\n\npublic:\n explicit Home_MpduAlarmWid(QWidget *parent = nullptr);\n ~Home_MpduAlarmWid();...
132
5
{"language": "c", "success": true, "metadata": {"lines": 24, "avg_line_length": 20.58, "nodes": 81, "errors": 0, "source_hash": "1617aa4a92010529e37ab3bfdd7b64cd5641366a96e2b10cc4f0c0f9b86c9323", "categorized_nodes": 50}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
1,376
c
// // HBDNavigationController.h // HBDNavigationBar // // Created by Listen on 2018/3/23. // #import <UIKit/UIKit.h> @interface HBDNavigationController : UINavigationController - (void)updateNavigationBarForViewController:(UIViewController *)vc; @end @interface UINavigationController(UINavigationBar) <UINavigat...
27
12
(translation_unit) "//\n// HBDNavigationController.h\n// HBDNavigationBar\n//\n// Created by Listen on 2018/3/23.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface HBDNavigationController : UINavigationController\n\n- (void)updateNavigationBarForViewController:(UIViewController *)vc;\n\n@end\n\n@interface UINavigationCon...
53
10
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 27.0, "nodes": 33, "errors": 0, "source_hash": "01a23a0bc9222587658c028ac243a47d3ca532cc80d8cddc245e9f4040d07ca3", "categorized_nodes": 15}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <U...
1,377
c
// Released into the public domain, 5 May 2010 // Google, inc. <NAME> <jholt [at] google.com> // // Sample code to read events from a Linux joystick device and translate // them into commands for a two-wheel differential drive robot. // // If you're just looking for code to read your /dev/input/js0, it's // pretty much...
28.95
135
(translation_unit) "// Released into the public domain, 5 May 2010\n// Google, inc. <NAME> <jholt [at] google.com>\n//\n// Sample code to read events from a Linux joystick device and translate\n// them into commands for a two-wheel differential drive robot.\n//\n// If you're just looking for code to read your /dev/inpu...
895
2
{"language": "c", "success": true, "metadata": {"lines": 135, "avg_line_length": 28.95, "nodes": 563, "errors": 0, "source_hash": "5db0f031ab739f2c45c89007481657e64bdfbf1493e74924a6bce0829f44066a", "categorized_nodes": 392}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
1,378
c
// // Computer Vision Helper Class aimed at easing relevant computer vision tasks // // Created by gishr on 19-3-29. // #ifndef SCENE_RETRIEVING_CV_HELPER_H #define SCENE_RETRIEVING_CV_HELPER_H #include <pcl/point_types.h> #include <pcl/point_cloud.h> #include <pcl/common/transforms.h> #include <pcl/conversions.h> #i...
31.85
167
(translation_unit) "//\n// Computer Vision Helper Class aimed at easing relevant computer vision tasks\n//\n// Created by gishr on 19-3-29.\n//\n\n#ifndef SCENE_RETRIEVING_CV_HELPER_H\n#define SCENE_RETRIEVING_CV_HELPER_H\n\n#include <pcl/point_types.h>\n#include <pcl/point_cloud.h>\n#include <pcl/common/transforms.h>\...
1,691
41
{"language": "c", "success": true, "metadata": {"lines": 167, "avg_line_length": 31.85, "nodes": 1071, "errors": 0, "source_hash": "6378149b26d520970105269c0d24abeaac0dbbb87d0cca532b90ce218ca9b59d", "categorized_nodes": 796}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifn...
1,379
c
/* * Copyright 2017 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in wr...
30.93
57
(translation_unit) "/*\n * Copyright 2017 <NAME>\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by appl...
347
15
{"language": "c", "success": true, "metadata": {"lines": 57, "avg_line_length": 30.93, "nodes": 194, "errors": 0, "source_hash": "000381250d93c7f62278cf6d0e88bae61adc51a7ef526ab454487b998df423b3", "categorized_nodes": 142}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
1,380
c
/// \file /// \author /// /// \brief Declaration of function related to the emoji last use file. /// /// Copyright (c) . All rights reserved. /// Licensed under the MIT License. See LICENSE file in the project root for full license information. #ifndef BEEFTEXT_EMOJI_LAST_USE_FILE_H #define BEEFTEXT_EMOJI_LAST...
35.71
17
(translation_unit) "/ \file\n/// \author \n///\n/// \brief Declaration of function related to the emoji last use file.\n/// \n/// Copyright (c) . All rights reserved. \n/// Licensed under the MIT License. See LICENSE file in the project root for full license information. \n\n\n#ifndef BEEFTEXT_EMOJI_LAST_USE_FILE_H\n...
54
2
{"language": "c", "success": true, "metadata": {"lines": 17, "avg_line_length": 35.71, "nodes": 32, "errors": 0, "source_hash": "e24cb9291dff00ea125748786fd60c58d1655395b8c8f440f26b580122e7d27f", "categorized_nodes": 22}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "fndef BE...
1,381
c
#include<stdio.h> int deter(int n,float A[20][20]) { int i,j,k; float ratio,det=0.0; for(i = 1; i <= n; i++){ for(j = 1; j <= n; j++){ if(j>i){ ratio = A[j][i]/A[i][i]; for(k = 1; k <= n; k++){ A[j][k] -= ratio * A[i][k]; ...
24.03
97
(translation_unit) "#include<stdio.h> \nint deter(int n,float A[20][20]) \n{ \n int i,j,k; \n float ratio,det=0.0; \n for(i = 1; i <= n; i++){ \n for(j = 1; j <= n; j++){ \n if(j>i){ \n ratio = A[j][i]/A[i][i]; \n for(k = 1; k <= n; k++){ \n A[...
800
0
{"language": "c", "success": true, "metadata": {"lines": 97, "avg_line_length": 24.03, "nodes": 459, "errors": 0, "source_hash": "608d7df12c4fffc755fe1a342970dbd3b6c2526f702e8d1e7a7e3ce4d2ce5bec", "categorized_nodes": 345}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
1,382
c
// //===--- UIEventViewController.h - Defines the UIEventViewController class ----------===// // // This source file is part of the SwiftCase open source project // // Created by wangfd on 2021/11/4. // Copyright © 2021 SwiftCase. All rights reserved. // Licensed under Apache License v2.0 with Runtime Library Exception...
30.33
18
(translation_unit) "//\n//===--- UIEventViewController.h - Defines the UIEventViewController class ----------===//\n//\n// This source file is part of the SwiftCase open source project\n//\n// Created by wangfd on 2021/11/4.\n// Copyright © 2021 SwiftCase. All rights reserved.\n// Licensed under Apache License v2.0 wit...
32
4
{"language": "c", "success": true, "metadata": {"lines": 18, "avg_line_length": 30.33, "nodes": 14, "errors": 0, "source_hash": "fee1ca1e092a009f41e7d8e2332251b5279a6fd071e842dcd83c3afb6c9456e9", "categorized_nodes": 9}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <UI...
1,383
c
#ifndef _bsl_header_ #define _bsl_header_ #define BSLERR -1 #define BSLOK 0 #define FALSE 0 #define TRUE !FALSE #define YES 1 #define NO 0 #define FLOAT32 0 #define CHAR8 1 #define UCHAR8 2 #define INT16 3 #define UINT16 4 #define INT32 5 #define UINT32 6 #define INT64 7 #define UI...
28.91
93
(translation_unit) "#ifndef _bsl_header_\n#define _bsl_header_\n\n#define BSLERR -1\n#define BSLOK 0\n#define FALSE 0\n#define TRUE !FALSE\n#define YES 1\n#define NO 0\n\n#define FLOAT32 0\n#define CHAR8 1\n#define UCHAR8 2\n#define INT16 3\n#define UINT16 4\n#define INT32 5\n#define UINT32 ...
249
0
{"language": "c", "success": true, "metadata": {"lines": 93, "avg_line_length": 28.91, "nodes": 201, "errors": 0, "source_hash": "73876af1b65b6845bf42b509818359baa1b46c2f5384eb6febc47aaa9da99734", "categorized_nodes": 94}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
1,384
c
#include <stdio.h> #include <malloc.h> #include <stdlib.h> #include <stdbool.h> #include <gsl/gsl_math.h> #include <gsl/gsl_eigen.h> #include <gsl/gsl_linalg.h> #include <gsl/gsl_matrix.h> #include <gsl/gsl_blas.h> #include <functions.h> #define FOR(i,n) for(i=0;i<n;i++) typedef double DD, LD; typedef long...
21.22
213
(translation_unit) "#include <stdio.h> \n#include <malloc.h> \n#include <stdlib.h> \n#include <stdbool.h> \n#include <gsl/gsl_math.h> \n#include <gsl/gsl_eigen.h> \n#include <gsl/gsl_linalg.h> \n#include <gsl/gsl_matrix.h> \n#include <gsl/gsl_blas.h> \n#include <functions.h> \n#define FOR(i,n) for(i=0;i<n;i++) \ntyped...
2,324
7
{"language": "c", "success": true, "metadata": {"lines": 213, "avg_line_length": 21.22, "nodes": 1453, "errors": 0, "source_hash": "948825c9a8213bfa6642a5a8dba2c38af47632b73f1170e6276d8d2d750f8975", "categorized_nodes": 1007}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#...
1,385
c
//--------------------------------------------------------------------------- #ifndef mbf16cH #define mbf16cH //--------------------------------------------------------------------------- //constants const int d1 = 2048; // {2^d2} const int d2 = 11; // {d3-1} const int d3 = 12; /* co...
22.26
42
(translation_unit) "//--------------------------------------------------------------------------- \n \n#ifndef mbf16cH \n#define mbf16cH \n//--------------------------------------------------------------------------- \n \n \n//constants \n \nconst int d1 = 2048; // {2^d2} \nconst int d2 = 11; // {d3-1} ...
140
0
{"language": "c", "success": true, "metadata": {"lines": 42, "avg_line_length": 22.26, "nodes": 91, "errors": 0, "source_hash": "f3bf26459a81e2da5823f427c0a9a95a3e9d36ba9aea6376dcc1c236194f7c65", "categorized_nodes": 51}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
1,386
c
#include "expectations.h" #include "ast/mj_type.h" begin_example(mj_type, should_have_mj_type_as_type) mj_type *t; should_pass(new_mj_type(MJ_TYPE_INTEGER, NULL, (ast **) &t)) should_eq_int(MJ_TYPE, t->type) free(t); end_example begin_example(mj_type, should_have_null_as_id_when_builtin_type) mj...
29.69
48
(translation_unit) "#include "expectations.h"\n#include "ast/mj_type.h"\n\nbegin_example(mj_type, should_have_mj_type_as_type)\n mj_type *t;\n\n should_pass(new_mj_type(MJ_TYPE_INTEGER, NULL, (ast **) &t))\n should_eq_int(MJ_TYPE, t->type)\n\n free(t);\nend_example\n\nbegin_example(mj_type, should_have_null...
480
29
{"language": "c", "success": true, "metadata": {"lines": 48, "avg_line_length": 29.69, "nodes": 313, "errors": 0, "source_hash": "e8b9436dbdcc4abbf9f2d564abc30990c7d57ae4ff5c9580b6d7a3ce7c260d61", "categorized_nodes": 209}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
1,387
c
/* Generated by RuntimeBrowser Image: /System/Library/PrivateFrameworks/MediaRemote.framework/MediaRemote */ @interface MRTransaction : NSObject { <MRTransactionDelegate> * _delegate; unsigned long long _name; struct _MROrigin { } * _origin; NSObject<OS_dispatch_queue> * _queue; } @property (nona...
34.55
22
(translation_unit) "/* Generated by RuntimeBrowser\n Image: /System/Library/PrivateFrameworks/MediaRemote.framework/MediaRemote\n */\n\n@interface MRTransaction : NSObject {\n <MRTransactionDelegate> * _delegate;\n unsigned long long _name;\n struct _MROrigin { } * _origin;\n NSObject<OS_dispatch_queue> ...
251
17
{"language": "c", "success": true, "metadata": {"lines": 22, "avg_line_length": 34.55, "nodes": 162, "errors": 0, "source_hash": "5dfaa717ff65ce123fc4b6e76474444ed193d2097b618bdbd15d5abd4e92a165", "categorized_nodes": 93}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "@", "parent": n...
1,388
c
#ifndef WORLD_H #define WORLD_H #include "renderer.h" #include "player.h" #include "wall.h" #include "barricade.h" #include "zombie.h" #include "bullet.h" #include "detail_ent.h" #include "spawner.h" #include <vector> #include "level.h" namespace game{ // actually it's more like gamestate. // The world contains e...
29.89
114
(translation_unit) "#ifndef WORLD_H\n#define WORLD_H\n#include "renderer.h"\n#include "player.h"\n\n#include "wall.h"\n#include "barricade.h"\n#include "zombie.h"\n#include "bullet.h"\n#include "detail_ent.h"\n\n#include "spawner.h"\n\n#include <vector>\n#include "level.h"\n\nnamespace game{\n // actually it's more lik...
1,224
41
{"language": "c", "success": true, "metadata": {"lines": 114, "avg_line_length": 29.89, "nodes": 714, "errors": 0, "source_hash": "8d6877de54b798fb0d8e774ce2358803481f58ca96c7dad5fda736ffacd66295", "categorized_nodes": 516}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
1,389
c
#ifndef CHESS_ENGINE_UCI_H_ #define CHESS_ENGINE_UCI_H_ #include "polyglot.h" #include "position.h" #include "search.h" #include "ucioption.h" #include <map> #include <memory> #include <sstream> namespace engine { class Uci { public: const std::string STARTPOS_FEN = "rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/...
31.17
42
(translation_unit) "#ifndef CHESS_ENGINE_UCI_H_\n#define CHESS_ENGINE_UCI_H_\n\n#include "polyglot.h"\n#include "position.h"\n#include "search.h"\n#include "ucioption.h"\n\n#include <map>\n#include <memory>\n#include <sstream>\n\nnamespace engine\n{\nclass Uci\n{\n public:\n const std::string STARTPOS_FEN =\n ...
367
17
{"language": "c", "success": true, "metadata": {"lines": 42, "avg_line_length": 31.17, "nodes": 227, "errors": 0, "source_hash": "72669669f15997228d0789afd4f26c027906baf3ba9a52b6d6f09c42c8e7168c", "categorized_nodes": 165}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
1,390
c
/* * Copyright (c) 2017 <NAME>. * All rights reserved. * Use of this source code is governed by a MIT license that can be * found in the LICENSE file. */ /** * @struct registers * * This defines what the stack looks like after an ISR was running. */ #pragma once struct registers { unsigned int gs, fs, es...
24.21
19
(translation_unit) "/*\n * Copyright (c) 2017 <NAME>.\n * All rights reserved.\n * Use of this source code is governed by a MIT license that can be\n * found in the LICENSE file.\n */\n\n/**\n * @struct registers\n *\n * This defines what the stack looks like after an ISR was running.\n */\n#pragma once\n\nstruct regis...
67
0
{"language": "c", "success": true, "metadata": {"lines": 19, "avg_line_length": 24.21, "nodes": 41, "errors": 0, "source_hash": "1c0982d43f78635eb69648656b0afd0e586dd42b38aca1404f4c21acae78b484", "categorized_nodes": 31}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
1,391
c
/* Generated by ./xlat/gen.sh from ./xlat/ip_cmsg_types.in; do not edit. */ #if !(defined(IP_TOS) || (defined(HAVE_DECL_IP_TOS) && HAVE_DECL_IP_TOS)) # define IP_TOS 1 #endif #if !(defined(IP_TTL) || (defined(HAVE_DECL_IP_TTL) && HAVE_DECL_IP_TTL)) # define IP_TTL 2 #endif #if !(defined(IP_RECVOPTS) || (defined(HAVE_DE...
31.34
44
(translation_unit) "/* Generated by ./xlat/gen.sh from ./xlat/ip_cmsg_types.in; do not edit. */\n#if !(defined(IP_TOS) || (defined(HAVE_DECL_IP_TOS) && HAVE_DECL_IP_TOS))\n# define IP_TOS 1\n#endif\n#if !(defined(IP_TTL) || (defined(HAVE_DECL_IP_TTL) && HAVE_DECL_IP_TTL))\n# define IP_TTL 2\n#endif\n#if !(defined(IP_RE...
366
4
{"language": "c", "success": true, "metadata": {"lines": 44, "avg_line_length": 31.34, "nodes": 256, "errors": 0, "source_hash": "591fb39c94b1c4a460f48808504909b4d24a94c4a2b6ec6f366b9423a3966abf", "categorized_nodes": 143}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_if", "text": "#if !(def...
1,392
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...
30.45
104
(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...
441
20
{"language": "c", "success": true, "metadata": {"lines": 104, "avg_line_length": 30.45, "nodes": 256, "errors": 0, "source_hash": "4ecd2bf7bc08da912cad9b6dbd6dcced7d4946d02c21b5bd2208f3f5880321b3", "categorized_nodes": 176}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
1,393
c
const char* MYSUB(void) { return "INFO:symbol[MYSUB]"; }
13.75
4
(translation_unit) "const char* MYSUB(void)\n{\n return "INFO:symbol[MYSUB]";\n}\n" (function_definition) "const char* MYSUB(void)\n{\n return "INFO:symbol[MYSUB]";\n}" (type_qualifier) "const" (const) "const" (primitive_type) "char" (pointer_declarator) "* MYSUB(void)" (*) "*" (functi...
24
0
{"language": "c", "success": true, "metadata": {"lines": 4, "avg_line_length": 13.75, "nodes": 11, "errors": 0, "source_hash": "a689363c14172b0ae83f8ed272c3f82a02c4b13c23d85a8ae4aa41c18ebf38d9", "categorized_nodes": 6}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "function_definition", "text": "cons...
1,394
c
/******************************************************************************* Copyright (c) 2005-2009 <NAME> This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to...
22.54
224
(translation_unit) "/******************************************************************************* \nCopyright (c) 2005-2009 <NAME> \n \nThis software is provided 'as-is', without any express or implied \nwarranty. In no event will the authors be held liable for any damages \narising from the use of this software. \n...
1,256
35
{"language": "c", "success": true, "metadata": {"lines": 224, "avg_line_length": 22.54, "nodes": 690, "errors": 0, "source_hash": "0c460326fbb098c0f0be7f52e16996616759692020e99b3087f3b56c9955d5b4", "categorized_nodes": 502}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
1,395
c
/* Generated by RuntimeBrowser. */ @protocol HDNanoSyncManagerObserver <NSObject> @required - (void)nanoSyncManagerDidChangeState:(HDNanoSyncManager *)arg1; @end
26.17
6
(translation_unit) "/* Generated by RuntimeBrowser.\n */\n\n@protocol HDNanoSyncManagerObserver <NSObject>\n\n@required\n\n- (void)nanoSyncManagerDidChangeState:(HDNanoSyncManager *)arg1;\n\n@end\n" (comment) "/* Generated by RuntimeBrowser.\n */" (ERROR) "@protocol HDNanoSyncManagerObserver <NSObject>\n\n@required...
30
5
{"language": "c", "success": true, "metadata": {"lines": 6, "avg_line_length": 26.17, "nodes": 20, "errors": 0, "source_hash": "5275516e1b615dff7f745683987f303e3e4b1d8b73e180c48c38ba7cb487c6fb", "categorized_nodes": 10}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "@protocol HDNanoS...
1,396
c
#include <stdbool.h> #ifndef _DOUBLY_CHAINED_LIST_ #define _DOUBLY_CHAINED_LIST_ typedef struct DoublyChainedListHead DoublyChainedListHead; typedef struct DoublyChain DoublyChain; struct DoublyChain { DoublyChain * previous; DoublyChain * next; int *data; }; struct DoublyChainedListHead { DoublyChain *start; ...
35.1
30
(translation_unit) "#include <stdbool.h>\n\n#ifndef _DOUBLY_CHAINED_LIST_\n#define _DOUBLY_CHAINED_LIST_\n\ntypedef struct DoublyChainedListHead DoublyChainedListHead;\ntypedef struct DoublyChain DoublyChain;\n\nstruct DoublyChain {\n DoublyChain * previous;\n DoublyChain * next;\n int *data;\n};\n\nstruct DoublyChaine...
215
0
{"language": "c", "success": true, "metadata": {"lines": 30, "avg_line_length": 35.1, "nodes": 160, "errors": 0, "source_hash": "469cfdc62b20b58f689a32a8c2d5535dc374e6f9f983286225bf75e5d1d84144", "categorized_nodes": 99}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
1,397
c
/* The MIT License (MIT) Copyright (c) 2015 <NAME> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge,...
31.49
295
(translation_unit) "/*\n\n The MIT License (MIT)\n\n Copyright (c) 2015 <NAME>\n\n Permission is hereby granted, free of charge, to any person obtaining\n a copy of this software and associated documentation files (the "Software"),\n to deal in the Software without restriction, including without limitation\n the rights...
2,601
0
{"language": "c", "success": true, "metadata": {"lines": 295, "avg_line_length": 31.49, "nodes": 1460, "errors": 0, "source_hash": "a5edb8ba729d8065dcffb392307887402d4bff54a93168ed1500c70e89b81394", "categorized_nodes": 1050}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#...
1,398
c
// Copyright (c) 2018 <NAME> // // This software is released under the MIT License. // https://opensource.org/licenses/MIT #ifndef CARDINAL_SEMI_RTL8139_STATE_H #define CARDINAL_SEMI_RTL8139_STATE_H #include <stdint.h> #include "CoreNetwork/driver.h" typedef struct { uint32_t frame_length : 16; uint32_t tcpc...
25.17
107
(translation_unit) "// Copyright (c) 2018 <NAME>\n//\n// This software is released under the MIT License.\n// https://opensource.org/licenses/MIT\n\n#ifndef CARDINAL_SEMI_RTL8139_STATE_H\n#define CARDINAL_SEMI_RTL8139_STATE_H\n\n#include <stdint.h>\n#include "CoreNetwork/driver.h"\n\ntypedef struct {\n uint32_t fram...
575
0
{"language": "c", "success": true, "metadata": {"lines": 107, "avg_line_length": 25.17, "nodes": 411, "errors": 0, "source_hash": "7b1c44551650b06bd2cc5bffb4ca2cced91bf2d0e2245b0e87c195c0c15432f9", "categorized_nodes": 286}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
1,399