language
stringclasses
1 value
code
stringlengths
6
12.3k
avg_line_length
float64
2.79
91
line_count
float64
1
367
lang_specific_parse
stringlengths
60
1.08M
ast_node_count
int64
2
6.81k
num_errors
int64
0
499
universal_schema
stringlengths
799
825k
__index_level_0__
int64
0
81.2k
c
#pragma once #include <torch/nn/cloneable.h> #include <torch/nn/pimpl.h> #include <torch/types.h> #include <cstddef> #include <vector> namespace torch { namespace nn { /// Options for the `Embedding` module. struct TORCH_API EmbeddingOptions { EmbeddingOptions(int64_t count, int64_t dimension); /// The number o...
37.62
39
(translation_unit) "#pragma once\n\n#include <torch/nn/cloneable.h>\n#include <torch/nn/pimpl.h>\n#include <torch/types.h>\n\n#include <cstddef>\n#include <vector>\n\nnamespace torch {\nnamespace nn {\n\n/// Options for the `Embedding` module.\nstruct TORCH_API EmbeddingOptions {\n EmbeddingOptions(int64_t count, int6...
203
7
{"language": "c", "success": true, "metadata": {"lines": 39, "avg_line_length": 37.62, "nodes": 116, "errors": 0, "source_hash": "9316fb92d5d0fa254c0234dd37fa6947dfadb50d122ec01e4cb46ca42f52f404", "categorized_nodes": 91}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma ...
8,600
c
/* Shared library add-on to iptables to add masquerade support. */ #include <stdio.h> #include <netdb.h> #include <string.h> #include <stdlib.h> #include <getopt.h> #include <iptables.h> #include <xtables.h> #include <linux/netfilter_ipv4/ip_tables.h> #include <net/netfilter/nf_nat.h> /* Function which prints out usa...
25.69
156
(translation_unit) "/* Shared library add-on to iptables to add masquerade support. */\n#include <stdio.h>\n#include <netdb.h>\n#include <string.h>\n#include <stdlib.h>\n#include <getopt.h>\n#include <iptables.h>\n#include <xtables.h>\n#include <linux/netfilter_ipv4/ip_tables.h>\n#include <net/netfilter/nf_nat.h>\n\n\n...
1,358
0
{"language": "c", "success": true, "metadata": {"lines": 156, "avg_line_length": 25.69, "nodes": 839, "errors": 0, "source_hash": "25050ec659b0fd9eaca9147557d86976d4359856a5610facb895cce1cd3c5c92", "categorized_nodes": 606}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
8,601
c
// Source: <NAME>, <NAME>, <NAME>, <NAME>: // "Verification of Programs by Combining Iterated Specialization with // Interpolation", HCVS 2014 #include "assert.h" int x,y; void rec() { if (y < 1000 && __VERIFIER_nondet_int()) { x = x + y; y = y + 1; rec(); } } int main() { x = 1;...
19.32
19
(translation_unit) "// Source: <NAME>, <NAME>, <NAME>, <NAME>:\n// "Verification of Programs by Combining Iterated Specialization with\n// Interpolation", HCVS 2014\n\n#include "assert.h"\n\nint x,y;\n\nvoid rec() {\n if (y < 1000 && __VERIFIER_nondet_int()) {\n x = x + y;\n y = y + 1;\n rec();\...
114
0
{"language": "c", "success": true, "metadata": {"lines": 19, "avg_line_length": 19.32, "nodes": 65, "errors": 0, "source_hash": "9282b536c0bccbb9e73f838168bd4e6ed69ef2e5fe9bc5aa99b5a8b3b550cf51", "categorized_nodes": 47}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
8,602
c
/** Kalman Filter Library **/ /** @Author: <NAME> @Date: April 2014 **/ #ifndef KALMAN_H_INCLUDED #define KALMAN_H_INCLUDED using namespace std; /* Kalman filter class type */ class kFilter { public: // Constructor kFilter(int num); void addSensor(int ID, int context); ...
21.98
83
(translation_unit) "/** Kalman Filter Library **/\n/**\n @Author: <NAME>\n @Date: April 2014\n**/\n\n#ifndef KALMAN_H_INCLUDED\n#define KALMAN_H_INCLUDED\n\nusing namespace std;\n\n\n\n\n\n\n/* Kalman filter class type\n*/\n\nclass kFilter\n{\n public:\n\n // Constructor\n kFilter(int num);\n\n ...
395
9
{"language": "c", "success": true, "metadata": {"lines": 83, "avg_line_length": 21.98, "nodes": 231, "errors": 0, "source_hash": "366d3989157307d43edcf375ca1d4d77ff013605b72a2a828ad7c4d55b68e0cc", "categorized_nodes": 159}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
8,603
c
/* $OpenBSD: cy_pci.c,v 1.12 2002/11/19 18:40:17 jason Exp $ */ /* * Copyright (c) 1996 <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 re...
36.63
144
(translation_unit) "/* $OpenBSD: cy_pci.c,v 1.12 2002/11/19 18:40:17 jason Exp $ */\n/*\n * Copyright (c) 1996 <NAME>.\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions\n * are met:\n * 1. Redistribu...
878
0
{"language": "c", "success": true, "metadata": {"lines": 144, "avg_line_length": 36.63, "nodes": 553, "errors": 0, "source_hash": "3b1af9f98f74729298d781089e8d78fb0db2342be285a2813515f96c92910417", "categorized_nodes": 416}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
8,604
c
/*======================================================================= Ratel is a application framework, which provides some convenient librarys for for those c++ developers pursuing fast-developement. Copyright (c) scofieldzhu. All rights reserved. Project: ratel.filesys Module: fsyslogger.h CreateTime: 2018-12...
38.33
15
(translation_unit) "/*=======================================================================\nRatel is a application framework, which provides some convenient librarys\nfor for those c++ developers pursuing fast-developement.\nCopyright (c) scofieldzhu. All rights reserved. \n\nProject: ratel.filesys \nModule: fsyslog...
35
0
{"language": "c", "success": true, "metadata": {"lines": 15, "avg_line_length": 38.33, "nodes": 22, "errors": 0, "source_hash": "b8fe7a2207d60c7a353616ee66c9530434af8e12ee1da5fa846ee27775b94178", "categorized_nodes": 16}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
8,605
c
/** * @file gpio.h * @brief GPIO service IPC wrapper. * @author SciresM * @copyright libnx Authors */ #pragma once #include "../types.h" #include "../kernel/event.h" #include "../sf/service.h" typedef enum { GpioPadName_AudioCodec = 1, GpioPadName_ButtonVolUp = 25, GpioPadName_ButtonVolDown = 26,...
36.48
65
(translation_unit) "/**\n * @file gpio.h\n * @brief GPIO service IPC wrapper.\n * @author SciresM\n * @copyright libnx Authors\n */\n#pragma once\n#include "../types.h"\n#include "../kernel/event.h"\n#include "../sf/service.h"\n\ntypedef enum {\n GpioPadName_AudioCodec = 1,\n GpioPadName_ButtonVolUp = 25,\n ...
556
0
{"language": "c", "success": true, "metadata": {"lines": 65, "avg_line_length": 36.48, "nodes": 416, "errors": 0, "source_hash": "aaa82d11444669a151f33c91e040e70863a6ec9a9abd4afd0b9a16be34a026dd", "categorized_nodes": 298}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
8,606
c
/* * Copyright (c) 2018 ISP RAS (http://www.ispras.ru) * Ivannikov Institute for System Programming of the Russian Academy of Sciences * * 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 *...
27.38
86
(translation_unit) "/*\n * Copyright (c) 2018 ISP RAS (http://www.ispras.ru)\n * Ivannikov Institute for System Programming of the Russian Academy of Sciences\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...
295
0
{"language": "c", "success": true, "metadata": {"lines": 86, "avg_line_length": 27.38, "nodes": 168, "errors": 0, "source_hash": "564cf5728b09460dac9dbb1e159525045f3a9b80906678829e19fe2acb2b113d", "categorized_nodes": 115}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
8,607
c
// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2010 Google, Inc. * * Author: * <NAME> <<EMAIL>> * Based on arch/arm/plat-omap/cpu-omap.c, (C) 2005 Nokia Corporation */ #include <linux/bits.h> #include <linux/cpu.h> #include <linux/err.h> #include <linux/init.h> #include <linux/module.h> #include <li...
28.55
94
(translation_unit) "// SPDX-License-Identifier: GPL-2.0-only\n/*\n * Copyright (C) 2010 Google, Inc.\n *\n * Author:\n * <NAME> <<EMAIL>>\n * Based on arch/arm/plat-omap/cpu-omap.c, (C) 2005 Nokia Corporation\n */\n\n#include <linux/bits.h>\n#include <linux/cpu.h>\n#include <linux/err.h>\n#include <linux/init.h>\n#incl...
722
0
{"language": "c", "success": true, "metadata": {"lines": 94, "avg_line_length": 28.55, "nodes": 418, "errors": 0, "source_hash": "453c1c547833e75199950c3f4f06c5ac8122d66fdee8dfd6c17e72204efbd7fa", "categorized_nodes": 312}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
8,608
c
// Copyright (C) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. #ifndef EXTERNAL_COMMAND_HELPER_H #define EXTERNAL_COMMAND_HELPER_H #include "c_util/rc_string_array.h" #include "umock_c/umock_c_prod.h" #ifdef ...
28.63
27
(translation_unit) "// Copyright (C) Microsoft Corporation. All rights reserved. \n// Licensed under the MIT license. See LICENSE file in the project root for full license information. \n \n#ifndef EXTERNAL_COMMAND_HELPER_H \n#define EXTERNAL_COMMAND_HELPER_H \n \n#include "c_util/rc_string_array.h" \n \n#include "umoc...
97
6
{"language": "c", "success": true, "metadata": {"lines": 27, "avg_line_length": 28.63, "nodes": 58, "errors": 0, "source_hash": "3f7a2dc4b57b9795744a1cbef49c0c444c9b99f8323ef1b812377a34bec8bf2c", "categorized_nodes": 45}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
8,609
c
/*========================================================================= * * Copyright Section of Biomedical Image Analysis * University of Pennsylvania * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You m...
37.37
225
(translation_unit) "/*=========================================================================\n *\n * Copyright Section of Biomedical Image Analysis\n * University of Pennsylvania\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance w...
1,740
83
{"language": "c", "success": true, "metadata": {"lines": 225, "avg_line_length": 37.37, "nodes": 1013, "errors": 0, "source_hash": "30d434822e7b953e0cbf5dca112e8080257d97ba3f1851145da4316c8171a363", "categorized_nodes": 724}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifn...
8,610
c
// // Generated by the J2ObjC translator. DO NOT EDIT! // source: android/libcore/luni/src/main/java/java/util/FormattableFlags.java // #ifndef _JavaUtilFormattableFlags_H_ #define _JavaUtilFormattableFlags_H_ #include "J2ObjC_header.h" #define JavaUtilFormattableFlags_LEFT_JUSTIFY 1 #define JavaUtilFormattableFl...
41
25
(translation_unit) "//\n// Generated by the J2ObjC translator. DO NOT EDIT!\n// source: android/libcore/luni/src/main/java/java/util/FormattableFlags.java\n//\n\n#ifndef _JavaUtilFormattableFlags_H_\n#define _JavaUtilFormattableFlags_H_\n\n#include "J2ObjC_header.h"\n\n#define JavaUtilFormattableFlags_LEFT_JUSTIFY 1...
84
4
{"language": "c", "success": true, "metadata": {"lines": 25, "avg_line_length": 41.0, "nodes": 56, "errors": 0, "source_hash": "0b8119447aa64f366af647d65f826c45d4fc42097c4e2bfe3988a0e7e20ebe6d", "categorized_nodes": 36}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef _...
8,611
c
#ifndef DMZ_EVENT_PLUGIN_DUMP_DOT_H #define DMZ_EVENT_PLUGIN_DUMP_DOT_H #include <dmzEventDump.h> #include <dmzEventObserverUtil.h> #include <dmzRuntimeDefinitions.h> #include <dmzRuntimeEventType.h> #include <dmzRuntimeLog.h> #include <dmzRuntimePlugin.h> namespace dmz { class EventPluginDump : public P...
36.03
110
(translation_unit) "#ifndef DMZ_EVENT_PLUGIN_DUMP_DOT_H\n#define DMZ_EVENT_PLUGIN_DUMP_DOT_H\n\n#include <dmzEventDump.h>\n#include <dmzEventObserverUtil.h>\n#include <dmzRuntimeDefinitions.h>\n#include <dmzRuntimeEventType.h>\n#include <dmzRuntimeLog.h>\n#include <dmzRuntimePlugin.h>\n\nnamespace dmz {\n\n class Eve...
718
42
{"language": "c", "success": true, "metadata": {"lines": 110, "avg_line_length": 36.03, "nodes": 405, "errors": 0, "source_hash": "1f0c9746fcd0a14545190706fe54bce723e37ad995f677a9954bfa1f6c567aa1", "categorized_nodes": 347}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
8,612
c
#ifndef Py_DICT_COMMON_H #define Py_DICT_COMMON_H typedef struct { /* Cached hash code of me_key. */ Py_hash_t me_hash; // _W64 int PyObject *me_key; PyObject *me_value; /* This field is only meaningful for combined tables */ } PyDictKeyEntry; /* dict_lookup_func() returns index of entry which can be...
40.33
57
(translation_unit) "#ifndef Py_DICT_COMMON_H\n#define Py_DICT_COMMON_H\n\ntypedef struct {\n /* Cached hash code of me_key. */\n Py_hash_t me_hash; // _W64 int\n PyObject *me_key;\n PyObject *me_value; /* This field is only meaningful for combined tables */\n} PyDictKeyEntry;\n\n/* dict_lookup_func() retur...
177
0
{"language": "c", "success": true, "metadata": {"lines": 57, "avg_line_length": 40.33, "nodes": 123, "errors": 0, "source_hash": "0d5f54895d02a9e0024d3f6a897b2a940ec4831991104eb57e6d7f1b1711b76a", "categorized_nodes": 80}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
8,613
c
/* Generated by re2c */ // re2c $INPUT -o $OUTPUT -i --flex-syntax --stadfa { YYCTYPE yych; if ((YYLIMIT - YYCURSOR) < 3) YYFILL(3); yych = *(YYMARKER = YYCURSOR); switch (yych) { case 'a': goto yy3; case 'c': goto yy5; default: goto yy2; } yy2: yynmatch = 1; yypmatch[0] = YYCURSOR; yypmatch[1] = YYCURSOR; ...
17.3
71
(translation_unit) "/* Generated by re2c */\n// re2c $INPUT -o $OUTPUT -i --flex-syntax --stadfa\n\n{\n YYCTYPE yych;\n if ((YYLIMIT - YYCURSOR) < 3) YYFILL(3);\n yych = *(YYMARKER = YYCURSOR);\n switch (yych) {\n case 'a': goto yy3;\n case 'c': goto yy5;\n default: goto yy2;\n }\nyy2:\n yynmatch = 1;\n yypmatch[0] = Y...
559
2
{"language": "c", "success": true, "metadata": {"lines": 71, "avg_line_length": 17.3, "nodes": 375, "errors": 0, "source_hash": "b556c7b847dab72611d5e3a8b1c9226d58d7fd910acd18099fce7e5c101a843c", "categorized_nodes": 244}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "declaration", "text": "YYCTYPE y...
8,614
c
#include <stdlib.h> #include <string.h> #include <stdio.h> #include "util.h" char * load_file(const char *p) { char *b = NULL; FILE *f = NULL; int len = -1; f = fopen(p, "rb"); if (!f) return NULL; if (fseek(f, 0L, SEEK_END)) return fclose(f), NULL; len = ftell(f); if (len == -1) return fclose(f), NULL; b =...
22.25
24
(translation_unit) "#include <stdlib.h>\n#include <string.h>\n#include <stdio.h>\n\n#include "util.h"\n\nchar *\nload_file(const char *p)\n{\n char *b = NULL;\n FILE *f = NULL;\n int len = -1;\n\n f = fopen(p, "rb");\n if (!f) return NULL;\n if (fseek(f, 0L, SEEK_END)) return fclose(f), NULL;\n len = ftell(f);\n if (le...
299
0
{"language": "c", "success": true, "metadata": {"lines": 24, "avg_line_length": 22.25, "nodes": 189, "errors": 0, "source_hash": "98f2c77624910a61780730e49d6673876e2bf4e816035432e1d6ea339e38486c", "categorized_nodes": 129}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
8,615
c
// // XMPPPushNotification.h // supDawg // // Created by <NAME> on 2016-02-11. // Copyright © 2016 binnj inc. All rights reserved. // #import "XMPPModule.h" #import "XMPP.h" /** *The purpose of push notifications is to inform users of new messages or other pertinent information even when they have no XMPP client...
42.82
22
(translation_unit) "//\n// XMPPPushNotification.h\n// supDawg\n//\n// Created by <NAME> on 2016-02-11.\n// Copyright © 2016 binnj inc. All rights reserved.\n//\n\n#import "XMPPModule.h"\n#import "XMPP.h"\n\n/**\n *The purpose of push notifications is to inform users of new messages or other pertinent information ev...
128
13
{"language": "c", "success": true, "metadata": {"lines": 22, "avg_line_length": 42.82, "nodes": 73, "errors": 0, "source_hash": "3293902645ebcd633216fe467a42238ddb8146b372a5eacc0a54c5a6060a3d10", "categorized_nodes": 40}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import \"...
8,616
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...
27.98
102
(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...
356
24
{"language": "c", "success": true, "metadata": {"lines": 102, "avg_line_length": 27.98, "nodes": 208, "errors": 0, "source_hash": "e941a21a21480b1c71ae57888d6f6f63df1cf735bef1527e4f537b93d4f5581e", "categorized_nodes": 144}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
8,617
c
typedef int time_t; typedef int clockid_t;
20.5
2
(translation_unit) "typedef int time_t;\ntypedef int clockid_t;\n" (type_definition) "typedef int time_t;" (typedef) "typedef" (primitive_type) "int" (type_identifier) "time_t" (;) ";" (type_definition) "typedef int clockid_t;" (typedef) "typedef" (primitive_type) "int" (type_identifier)...
11
0
{"language": "c", "success": true, "metadata": {"lines": 2, "avg_line_length": 20.5, "nodes": 8, "errors": 0, "source_hash": "37b7d1f01b6bc339b35bd0a0a7b89190df91afaef6a3caa346200697f52a6b24", "categorized_nodes": 4}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "type_definition", "text": "typedef in...
8,618
c
/*! \file bcma_testcase_cmicx_intr.c * * Broadcom test cases for CMICx interrupts */ /* * This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file. * * Copyright 2007-2020 Broadcom Inc. All rights reserved. */ #include <bsl/bsl.h> #inclu...
35.68
233
(translation_unit) "/*! \file bcma_testcase_cmicx_intr.c\n *\n * Broadcom test cases for CMICx interrupts\n */\n/*\n * This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file.\n * \n * Copyright 2007-2020 Broadcom Inc. All rights reserved.\n */\...
1,574
0
{"language": "c", "success": true, "metadata": {"lines": 233, "avg_line_length": 35.68, "nodes": 899, "errors": 0, "source_hash": "35964ba927eabcee93a340b7ceb96776ecd28a2fed936c7fe9971c8db30e61e8", "categorized_nodes": 629}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
8,619
c
/* Generated by RuntimeBrowser Image: /System/Library/PrivateFrameworks/ApplePushService.framework/ApplePushService */ @interface APSMultiUserMode : NSObject { bool _isLoggedInUser; bool _isMultiUser; } @property (nonatomic, readonly) bool isLoggedInUser; @property (nonatomic, readonly) bool isMultiUser...
31.12
17
(translation_unit) "/* Generated by RuntimeBrowser\n Image: /System/Library/PrivateFrameworks/ApplePushService.framework/ApplePushService\n */\n\n@interface APSMultiUserMode : NSObject {\n bool _isLoggedInUser;\n bool _isMultiUser;\n}\n\n@property (nonatomic, readonly) bool isLoggedInUser;\n@property (nonatom...
137
11
{"language": "c", "success": true, "metadata": {"lines": 17, "avg_line_length": 31.12, "nodes": 82, "errors": 0, "source_hash": "cf032edb9c6250333d580730d0d1d1349331c3a50357f74bdee1f45f7a284c7e", "categorized_nodes": 47}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "@", "parent": nu...
8,620
c
#pragma once #include <list> #include "Engine/Processes/Process.h" namespace bv { class ProcessManager { private: std::list<ProcessPtr> m_processList; public: ProcessManager (); ~ProcessManager (); ProcessWeakPtr Attach ...
15.81
36
(translation_unit) "#pragma once \n \n#include <list> \n \n#include "Engine/Processes/Process.h" \n \n \nnamespace bv \n{ \n \nclass ProcessManager \n{ \nprivate: \n \n std::list<ProcessPtr> m_processList; \n \npublic: \n \n ProcessManager (); \n ~ProcessManager (); \...
121
2
{"language": "c", "success": true, "metadata": {"lines": 36, "avg_line_length": 15.81, "nodes": 70, "errors": 0, "source_hash": "f7d4af478f814cfde9862f1d6a21c81e082c3375ad4c95a0e5b809e123b86a5f", "categorized_nodes": 47}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
8,621
c
#ifndef OTC_TAXONOMY_FLAGS_H #define OTC_TAXONOMY_FLAGS_H #include <bitset> #include <string> #include <vector> #include <optional> namespace otc { typedef std::bitset<32> tax_flags; std::optional<std::string> string_for_flag(int i); int flag_from_string(const char* start, const char* end); int flag_from_string(cons...
37.43
21
(translation_unit) "#ifndef OTC_TAXONOMY_FLAGS_H\n#define OTC_TAXONOMY_FLAGS_H\n\n#include <bitset>\n#include <string>\n#include <vector>\n#include <optional>\n\nnamespace otc {\n\ntypedef std::bitset<32> tax_flags;\nstd::optional<std::string> string_for_flag(int i);\nint flag_from_string(const char* start, const char*...
266
15
{"language": "c", "success": true, "metadata": {"lines": 21, "avg_line_length": 37.43, "nodes": 164, "errors": 0, "source_hash": "1db945ac889b61b6b1cce0f60ac8acfc3c5d31d0e8ac9bd366ae39db21634623", "categorized_nodes": 111}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
8,622
c
#ifndef _GEN_OUTPUT_ #define _GEN_OUTPUT_ #ifndef _QUERY_OUTPUT_ #include "interface/query_output.h" #endif #ifndef _TYPES_ #include "common/types.h" #endif #ifndef _CONSTANTS_ #include "common/constants.h" #endif #include <ostream> using Interface::QueryOutput; using std::ostream; namespace Client { class Gen...
18.29
56
(translation_unit) "#ifndef _GEN_OUTPUT_\n#define _GEN_OUTPUT_\n\n#ifndef _QUERY_OUTPUT_\n#include "interface/query_output.h"\n#endif\n\n#ifndef _TYPES_\n#include "common/types.h"\n#endif\n\n#ifndef _CONSTANTS_\n#include "common/constants.h"\n#endif\n\n#include <ostream>\n\nusing Interface::QueryOutput;\nusing std::ost...
226
3
{"language": "c", "success": true, "metadata": {"lines": 56, "avg_line_length": 18.29, "nodes": 142, "errors": 0, "source_hash": "ca9cb23b4d7d1d5ae5c16c65613ea33199ca2fce19cbb032a918a380d44f0f79", "categorized_nodes": 103}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
8,623
c
// // Created by alro on 21‏/11‏/2020. // #ifndef MYPROJECT_MEDIADISPLAY_H #define MYPROJECT_MEDIADISPLAY_H #include <memory> #include <Entity/Contract/IPlayable.h> #include <Entity/Contract/Parameter.h> using namespace std; class MediaDisplay { private: unique_ptr<IPlayable> playable; unique_ptr<Parameter> ...
25
20
(translation_unit) "//\n// Created by alro on 21‏/11‏/2020.\n//\n\n#ifndef MYPROJECT_MEDIADISPLAY_H\n#define MYPROJECT_MEDIADISPLAY_H\n\n#include <memory>\n#include <Entity/Contract/IPlayable.h>\n#include <Entity/Contract/Parameter.h>\nusing namespace std;\n\nclass MediaDisplay {\nprivate:\n unique_ptr<IPlayable> pl...
101
1
{"language": "c", "success": true, "metadata": {"lines": 20, "avg_line_length": 25.0, "nodes": 71, "errors": 0, "source_hash": "3b7f61a946444b09839fe74184e595456d0f54461048031dfd237673fd866ecf", "categorized_nodes": 53}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "def MYPRO...
8,624
c
//----------------------------------------------- // Copyright 2010 Wellcome Trust Sanger Institute // Written by Jared Simpson (<EMAIL>) // Released under the GPL //----------------------------------------------- // // BWTWriter - Abstract class for writing a BWT file to disk // #ifndef BWTWRITER_H #define BWTWRITER_...
28.36
33
(translation_unit) "//-----------------------------------------------\n// Copyright 2010 Wellcome Trust Sanger Institute\n// Written by Jared Simpson (<EMAIL>)\n// Released under the GPL \n//-----------------------------------------------\n//\n// BWTWriter - Abstract class for writing a BWT file to disk\n//\n#ifndef BW...
219
9
{"language": "c", "success": true, "metadata": {"lines": 33, "avg_line_length": 28.36, "nodes": 117, "errors": 0, "source_hash": "149145466f49e76b884aa1a5ec5417fb907ed54dbc5ba85fdf3dc722c9648111", "categorized_nodes": 82}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
8,625
c
#include <stdio.h> int main() { int A[10],n,B[10],m,i,C[20],j,k=0; printf("Enter the number of elements in A set\n"); scanf("%d",&n); printf("Enter the number of elements in B set\n"); scanf("%d",&m); printf("Enter the elements of A set \n"); for(i=0;i<n;i++) { scanf("%d",&A[i]); } printf("Enter the e...
15.36
36
(translation_unit) "#include <stdio.h>\nint main()\n{\n int A[10],n,B[10],m,i,C[20],j,k=0;\n printf("Enter the number of elements in A set\n");\n scanf("%d",&n);\n printf("Enter the number of elements in B set\n");\n scanf("%d",&m);\n printf("Enter the elements of A set \n");\n for(i=0;i<n;i++)\n {\n scanf("%d",&A[...
336
0
{"language": "c", "success": true, "metadata": {"lines": 36, "avg_line_length": 15.36, "nodes": 171, "errors": 0, "source_hash": "961cadb428700e6916661d65d81d5d31c4a0f6708445900d418cf44733e30ea6", "categorized_nodes": 129}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
8,626
c
#pragma once #include "renderlab/Node.h" #include <rendergraph/Variable.h> namespace renderlab { namespace node { class CustomFunction : public Node { public: CustomFunction() : Node("CustomFunction", false) { InitPins("custom_function"); SetGroup("Utility"); } auto& GetCod...
20.92
26
(translation_unit) "#pragma once\n\n#include "renderlab/Node.h"\n\n#include <rendergraph/Variable.h>\n\nnamespace renderlab\n{\nnamespace node\n{\n\nclass CustomFunction : public Node\n{\npublic:\n CustomFunction()\n : Node("CustomFunction", false)\n {\n InitPins("custom_function");\n\n SetGr...
174
7
{"language": "c", "success": true, "metadata": {"lines": 26, "avg_line_length": 20.92, "nodes": 84, "errors": 0, "source_hash": "fa99ba24cb3dca19e47b8b19ba759204d8504c511b255512d38c5193e7d49fc4", "categorized_nodes": 57}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
8,627
c
#include <string.h> #include "ct-head/test.h" #include "math/hashfn.h" CT_TEST_DECLS int test_hash_fns() { uint32_t h; char *data = malloc(1024); strcpy(data, "abcdefghij"); h = ct_murmur3_32(data, strlen(data)); CT_IS(((uint32_t)0x88927791) == h, "m3 fail: %x", h); h = ct_murmur3_32(NULL, 100); CT_IS...
24.13
15
(translation_unit) "#include <string.h>\n\n#include "ct-head/test.h"\n\n#include "math/hashfn.h"\n\nCT_TEST_DECLS\n\nint test_hash_fns() {\n uint32_t h;\n char *data = malloc(1024);\n strcpy(data, "abcdefghij");\n h = ct_murmur3_32(data, strlen(data));\n CT_IS(((uint32_t)0x88927791) == h, "m3 fail: %x", h);\n h =...
147
1
{"language": "c", "success": true, "metadata": {"lines": 15, "avg_line_length": 24.13, "nodes": 83, "errors": 0, "source_hash": "230da475c7ec6e12f625e9a02ed2ff2ddded7af974f3a9d55050df211979c748", "categorized_nodes": 59}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
8,628
c
/* Define to prevent recursive inclusion -------------------------------------*/ #ifndef _IO_FLUSH_H #define _IO_FLUSH_H #pragma once /* Public include ------------------------------------------------------------*/ #include <stdbool.h> #include <stdint.h> /* Public namespace -------------------------------------------...
33.58
40
(translation_unit) "/* Define to prevent recursive inclusion -------------------------------------*/\n#ifndef _IO_FLUSH_H\n#define _IO_FLUSH_H\n#pragma once\n/* Public include ------------------------------------------------------------*/\n#include <stdbool.h>\n#include <stdint.h>\n\n/* Public namespace ---------------...
217
0
{"language": "c", "success": true, "metadata": {"lines": 40, "avg_line_length": 33.58, "nodes": 156, "errors": 0, "source_hash": "c1758f64dba5e36cc82fdf6e4899241ff935e358eb58e40f92e31ffdc4df8449", "categorized_nodes": 107}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
8,629
c
/* config.h. Generated from config.h.in by configure. */ /* config.h.in. Generated from configure.ac by autoheader. */ /* define if the compiler supports basic C++11 syntax */ #define HAVE_CXX11 1 /* Define to 1 if you have the <dlfcn.h> header file. */ #define HAVE_DLFCN_H 1 /* Define to 1 if you have the `fork...
40.7
107
(translation_unit) "/* config.h. Generated from config.h.in by configure. */\n/* config.h.in. Generated from configure.ac by autoheader. */\n\n/* define if the compiler supports basic C++11 syntax */\n#define HAVE_CXX11 1\n\n/* Define to 1 if you have the <dlfcn.h> header file. */\n#define HAVE_DLFCN_H 1\n\n/* Defi...
224
0
{"language": "c", "success": true, "metadata": {"lines": 107, "avg_line_length": 40.7, "nodes": 160, "errors": 0, "source_hash": "dd5e7443133b78e05cf53484ae5acfbd018d7e107f65bc3f34a7c6c9ec2c4565", "categorized_nodes": 43}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_def", "text": "#define H...
8,630
c
#ifndef LR_GL_DATA_H #define LR_GL_DATA_H #include <lScene/l3DScene/liMaterialLibrary.h> struct lrGLMaterialData { /* * Material[0]: albedo * Material[1]: Fresnel,roughness,reflectiveness,metallic */ float Material[2][4] = {{0.0,0.0,0.0,1.0},{0.0,0.0,0.0,0.0}}; void SetMaterial(const liMaterial &material) ...
27.15
39
(translation_unit) "#ifndef LR_GL_DATA_H\n#define LR_GL_DATA_H\n\n#include <lScene/l3DScene/liMaterialLibrary.h>\n\nstruct lrGLMaterialData\n{\n /*\n * Material[0]: albedo\n * Material[1]: Fresnel,roughness,reflectiveness,metallic\n */\n float Material[2][4] = {{0.0,0.0,0.0,1.0},{0.0,0.0,0.0,0.0}};\n \n void SetMate...
429
12
{"language": "c", "success": true, "metadata": {"lines": 39, "avg_line_length": 27.15, "nodes": 243, "errors": 0, "source_hash": "7774e93f5942bfe15adcc86b099bc2719e59170ec0298567fa52c37cef724807", "categorized_nodes": 175}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
8,631
c
#pragma once #include "COMException.h" #include <Windows.h> class ErrorLogger { public: static void Log(std::string message); static void Log(HRESULT hr, std::string message); static void Log(HRESULT hr, std::wstring message); static void Log(COMException & exception); };
24.18
11
(translation_unit) "#pragma once\n#include "COMException.h"\n#include <Windows.h>\n\nclass ErrorLogger\n{\npublic:\n static void Log(std::string message);\n static void Log(HRESULT hr, std::string message);\n static void Log(HRESULT hr, std::wstring message);\n static void Log(COMException & exception);\n};" (preproc...
98
4
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 24.18, "nodes": 56, "errors": 0, "source_hash": "af8bc562c1dfd198db30218fdcc293dc3098d8fb6d060b7cd057e94abcb37007", "categorized_nodes": 42}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
8,632
c
#include <stdio.h> int main(char argv, char** argc) { int i = 0; do { if (i++ % 2) { continue; } printf("%d\n", i); } while (i < 10); return 0; }
12.25
12
(translation_unit) "#include <stdio.h>\n\nint main(char argv, char** argc)\n{\n int i = 0;\n\n do {\n if (i++ % 2) {\n continue;\n }\n printf("%d\n", i);\n } while (i < 10);\n\n return 0;\n}\n" (preproc_include) "#include <stdio.h>\n" (#include) "#include" (system_lib_string) "<stdio.h>" (function_defi...
81
0
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 12.25, "nodes": 48, "errors": 0, "source_hash": "d28f8a1422dca5a988d7d043b14e3ffd696162dc7980f319e628c0b3f7274014", "categorized_nodes": 29}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
8,633
c
#import <Foundation/Foundation.h> //! Project version number for SubscriptionAPI. FOUNDATION_EXPORT double SubscriptionAPIVersionNumber; //! Project version string for SubscriptionAPI. FOUNDATION_EXPORT const unsigned char SubscriptionAPIVersionString[]; // In this header, you should import all the public headers of...
65
6
(translation_unit) "#import <Foundation/Foundation.h>\n\n//! Project version number for SubscriptionAPI.\nFOUNDATION_EXPORT double SubscriptionAPIVersionNumber;\n\n//! Project version string for SubscriptionAPI.\nFOUNDATION_EXPORT const unsigned char SubscriptionAPIVersionString[];\n\n// In this header, you should impo...
26
1
{"language": "c", "success": true, "metadata": {"lines": 6, "avg_line_length": 65.0, "nodes": 15, "errors": 0, "source_hash": "574557292dcbc0cdbfd1a5da191f1b41d04a969d8b2b5016508c1178dd8e1acf", "categorized_nodes": 10}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <Fo...
8,634
c
/* * libc/environ/getenv.c */ #include <xboot/module.h> #include <runtime.h> #include <environ.h> char * getenv(const char * name) { struct environ_t * environ = &(runtime_get()->__environ); struct environ_t * p; int len; if (!environ) return NULL; len = strlen(name); for(p = environ->next; p != environ; ...
19.12
24
(translation_unit) "/*\n * libc/environ/getenv.c\n */\n\n#include <xboot/module.h>\n#include <runtime.h>\n#include <environ.h>\n\nchar * getenv(const char * name)\n{\n struct environ_t * environ = &(runtime_get()->__environ);\n struct environ_t * p;\n int len;\n\n if (!environ)\n return NULL;\n\n len = strlen(name);\n...
187
0
{"language": "c", "success": true, "metadata": {"lines": 24, "avg_line_length": 19.12, "nodes": 123, "errors": 0, "source_hash": "12e97accd5ee0f204afab74debcac8c81a0a7386e035e9a4c57aac89318f029a", "categorized_nodes": 88}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
8,635
c
// // Generated by class-dump 3.5 (64 bit) (Debug version compiled Oct 15 2018 10:31:50). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by <NAME>. // #import <CoreServices/NSUserActivity.h> @class NSString; @interface NSUserActivity (MediaPlayerAdditions) - (void)_setExternalMediaContentB...
37.5
12
(translation_unit) "//\n// Generated by class-dump 3.5 (64 bit) (Debug version compiled Oct 15 2018 10:31:50).\n//\n// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by <NAME>.\n//\n\n#import <CoreServices/NSUserActivity.h>\n\n@class NSString;\n\n@interface NSUserActivity (MediaPlayerAdditions)\n- ...
73
9
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 37.5, "nodes": 43, "errors": 0, "source_hash": "27378b4344fce59b51e178249e95aeb1e54525ec86934841143cf0dddb42cf06", "categorized_nodes": 24}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <C...
8,636
c
#pragma once #include <variant> #include <memory> #include "Non_replicable.h" namespace uti { template<class ... T_v> struct Varaint_dynamic :uti::non_replicable { template<class T, class ... args> void emplace(const args & ... args_a) { element.emplace<std::unique_ptr<T>>(std::make_unique<T>(args_a...)); ...
19.05
39
(translation_unit) "#pragma once\n#include <variant>\n#include <memory>\n#include "Non_replicable.h"\n\nnamespace uti\n{\n template<class ... T_v>\n struct Varaint_dynamic :uti::non_replicable\n {\n template<class T, class ... args>\n void emplace(const args & ... args_a)\n {\n element.emplace<std::unique_ptr<T>>(...
326
22
{"language": "c", "success": true, "metadata": {"lines": 39, "avg_line_length": 19.05, "nodes": 190, "errors": 0, "source_hash": "df4e53dd92f73e2e3596e43777326316a5eaa1a6bd8ebda7a1a5db14f9dd2b2c", "categorized_nodes": 130}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
8,637
c
#include "cq.h" #include <stdio.h> int main(void) { puts("\n============================== Processor Info " "===============================\n"); cq_cpuinfo(); puts("\n============================= Cache Information " "=============================\n"); unsigned cache_idx = 0; while (1) { ...
27.62
21
(translation_unit) "#include "cq.h"\n\n#include <stdio.h>\n\nint main(void) {\n puts("\n============================== Processor Info "\n "===============================\n");\n cq_cpuinfo();\n puts("\n============================= Cache Information "\n "=============================\n");\n unsigned cac...
156
0
{"language": "c", "success": true, "metadata": {"lines": 21, "avg_line_length": 27.62, "nodes": 83, "errors": 0, "source_hash": "b17d8692a80bdfeb36bdc0486f42ad977bd617edae8b67f54d439782649db332", "categorized_nodes": 58}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
8,638
c
// // ZFade.h // Zen2D // // Created by <NAME> on 7/2/13. // Copyright (c) 2013 <NAME>. All rights reserved. // #import "ZAnimator.h" @interface ZFade : ZAnimator @property (assign) float startOpacity; @property (assign) float targetOpacity; + (ZFade*) fadeOutDuring:(float)duration; + (ZFade*) fadeInDuring:(floa...
22.86
14
(translation_unit) "//\n// ZFade.h\n// Zen2D\n//\n// Created by <NAME> on 7/2/13.\n// Copyright (c) 2013 <NAME>. All rights reserved.\n//\n\n#import "ZAnimator.h"\n\n@interface ZFade : ZAnimator\n@property (assign) float startOpacity;\n@property (assign) float targetOpacity;\n\n+ (ZFade*) fadeOutDuring:(float)durat...
83
11
{"language": "c", "success": true, "metadata": {"lines": 14, "avg_line_length": 22.86, "nodes": 51, "errors": 0, "source_hash": "f1b52174ae657204e5a97bb1c5c6516722496767048836bf0689ce35e41e76d0", "categorized_nodes": 26}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import \...
8,639
c
// // DBFreelistTrunkPage.h // SQLite Inspector // // Created by <NAME> on 07.07.2016. // Copyright © 2016 WP Technology Inc. All rights reserved. // #import <Foundation/Foundation.h> #import "DBPage.h" NS_ASSUME_NONNULL_BEGIN @interface DBFreelistTrunkPage : NSObject <DBPage> - (instancetype)initWithIndex:(NS...
29.44
25
(translation_unit) "//\n// DBFreelistTrunkPage.h\n// SQLite Inspector\n//\n// Created by <NAME> on 07.07.2016.\n// Copyright © 2016 WP Technology Inc. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n\n#import "DBPage.h"\n\nNS_ASSUME_NONNULL_BEGIN\n\n@interface DBFreelistTrunkPage : NSObject <DBPage>\...
111
9
{"language": "c", "success": true, "metadata": {"lines": 25, "avg_line_length": 29.44, "nodes": 66, "errors": 0, "source_hash": "95b8def212a52fe0de9312fa2c223e0a571903ec5ba15c11132de78bb802aff5", "categorized_nodes": 41}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <F...
8,640
c
int binaryGap(int n) { int res = 0; for (int i = 0, j = 32; i < 31; ++i) { if (n & (1 << i)) { if (i - j > res) res = i - j; j = i; } } return res; }
11.21
14
(translation_unit) "int binaryGap(int n)\n{\n int res = 0;\n for (int i = 0, j = 32; i < 31; ++i)\n {\n if (n & (1 << i))\n {\n if (i - j > res)\n res = i - j;\n j = i;\n }\n }\n return res;\n}" (function_definition) "int binaryGap(int n)\n{\n int res = 0;\n for (int i = 0, j = 32; i < 31; ++i)\n {\n if (n...
97
0
{"language": "c", "success": true, "metadata": {"lines": 14, "avg_line_length": 11.21, "nodes": 63, "errors": 0, "source_hash": "2f3cbe9910a3825dab3f225ecfa7232d934b05eebd59d42b9f0a127e4d21b78b", "categorized_nodes": 44}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "function_definition", "text": "in...
8,641
c
// // UIView+LineDash.h // GJmall // // Created by MXTH on 2018/4/3. // Copyright © 2018年 Hannah. All rights reserved. // #import <UIKit/UIKit.h> @interface UIView (HHLineDash) - (void)lineDashWithColor:(UIColor *)lineColor width:(CGFloat)lineWidth leftRightSpace:(CGFloat)space ...
35.33
30
(translation_unit) "//\n// UIView+LineDash.h\n// GJmall\n//\n// Created by MXTH on 2018/4/3.\n// Copyright © 2018年 Hannah. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface UIView (HHLineDash)\n\n- (void)lineDashWithColor:(UIColor *)lineColor\n width:(CGFloat)lineWidth\n ...
240
14
{"language": "c", "success": true, "metadata": {"lines": 30, "avg_line_length": 35.33, "nodes": 138, "errors": 0, "source_hash": "5c41d1ddf736490cf3024bedfc5aace58ac1447ba9b418d62c37c861b4598f7d", "categorized_nodes": 86}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "port <UI...
8,642
c
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by <NAME>. // #import <IDEInterfaceBuilderKit/IBAbstractClassProvider.h> @class NSDictionary, NSMutableArray; @interface IBUserDefinedActionClassProvider : IBAbstractClassProvider { NSDictionary ...
31.53
19
(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 <IDEInterfaceBuilderKit/IBAbstractClassProvider.h>\n\n@class NSDictionary, NSMutableArray;\n\n@interface IBUserDefinedActionClassProvider : IBAbstractCla...
119
11
{"language": "c", "success": true, "metadata": {"lines": 19, "avg_line_length": 31.53, "nodes": 71, "errors": 0, "source_hash": "6591175285a493d4af6bd1e5ebab786d1014a2c621cdcd01c5b7c2e9cd16188b", "categorized_nodes": 41}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <...
8,643
c
void quickSort(int start,int end,int *nums); void sortColors(int* nums, int numsSize){ quickSort(0,numsSize-1,nums); } void quickSort(int start,int end,int* nums){ if(start >= end) return; int i, j, arrBase; i = start; j = end; arrBase = nums[i]; while(i<j){ while(i < j && nums[j] ...
22.9
30
(translation_unit) "void quickSort(int start,int end,int *nums);\n\nvoid sortColors(int* nums, int numsSize){\n quickSort(0,numsSize-1,nums);\n}\n\nvoid quickSort(int start,int end,int* nums){\n if(start >= end) return;\n int i, j, arrBase;\n i = start;\n j = end;\n arrBase = nums[i];\n while(i<j){...
278
0
{"language": "c", "success": true, "metadata": {"lines": 30, "avg_line_length": 22.9, "nodes": 171, "errors": 0, "source_hash": "c20481692e270d32afd769c1718e95e61c6fe6cee66a908c12f53950df0d396f", "categorized_nodes": 124}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "declaration", "text": "void quic...
8,644
c
// Config.h // Contains definitions used by the configuratioin system (e.g. console variables) // (c) 2002 <NAME> #ifndef CONFIG_H #define CONFIG_H #include "Fizz3d.h" #include <map> enum CVarType { CVarType_String = 0, CVarType_Int = 1, CVarType_Float = 2, CVarType_Bool }; class CVar ...
15.61
49
(translation_unit) "// Config.h \n// Contains definitions used by the configuratioin system (e.g. console variables) \n// (c) 2002 <NAME> \n \n \n#ifndef CONFIG_H \n#define CONFIG_H \n \n \n#include "Fizz3d.h" \n#include <map> \n \n \nenum CVarType \n{ \n CVarType_String = 0, \n CVarType_Int = 1, \n CVarType_Float = 2,...
212
11
{"language": "c", "success": true, "metadata": {"lines": 49, "avg_line_length": 15.61, "nodes": 133, "errors": 0, "source_hash": "8cb912f5b76d1b0a58dfd2886be660badcb63c9aa2ad876f08bb49ad3f776bc8", "categorized_nodes": 99}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
8,645
c
#include "types.h" #include "stat.h" #include "user.h" #include "fs.h" #include "fcntl.h" #define NUM_THREAD 10 #define FILESIZE (1600*1024) // 1.6 MB // #define FILESIZE (100 * 1024) // 1.6 MB #define BUFSIZE 512 #define FSIZE_PER_THREAD ((FILESIZE) / (NUM_THREAD)) char *filepath = "...
25.83
308
(translation_unit) "#include "types.h"\n#include "stat.h"\n#include "user.h"\n#include "fs.h"\n#include "fcntl.h"\n\n#define NUM_THREAD 10\n#define FILESIZE (1600*1024) // 1.6 MB\n// #define FILESIZE (100 * 1024) // 1.6 MB\n#define BUFSIZE 512\n#define FSIZE_PER_THREAD ((FILESIZE) / (NU...
3,037
0
{"language": "c", "success": true, "metadata": {"lines": 308, "avg_line_length": 25.83, "nodes": 1703, "errors": 0, "source_hash": "9c6bc9a51e9170e4a647923c9def3e32b1488a1878450691039340146716238c", "categorized_nodes": 1186}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#...
8,646
c
// SolarisGeneratedEnum Components_activation_state.activation_state enum class activation_state : uint8 { Active, Inactive, };
25
5
(translation_unit) "// SolarisGeneratedEnum Components_activation_state.activation_state\nenum class activation_state : uint8 {\n Active,\n Inactive,\n};\n\n" (comment) "// SolarisGeneratedEnum Components_activation_state.activation_state" (function_definition) "enum class activation_state : uint8 {\n Active,\n Ina...
20
2
{"language": "c", "success": true, "metadata": {"lines": 5, "avg_line_length": 25.0, "nodes": 9, "errors": 0, "source_hash": "343f2d14efb3d9b0405c6a11b585c70616ffcbd45ac3e900fce1c1683e6b94e0", "categorized_nodes": 7}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "function_definition", "text": "enum c...
8,647
c
#pragma once #include "Framework/FieldVar.h" #include "Framework/FieldArray.h" #include "Topology/FieldNeighbor.h"
27.75
4
(translation_unit) "#pragma once\n#include "Framework/FieldVar.h"\n#include "Framework/FieldArray.h"\n#include "Topology/FieldNeighbor.h"" (preproc_call) "#pragma once\n" (preproc_directive) "#pragma" (preproc_arg) "once" (preproc_include) "#include "Framework/FieldVar.h"\n" (#include) "#include" (s...
22
0
{"language": "c", "success": true, "metadata": {"lines": 4, "avg_line_length": 27.75, "nodes": 12, "errors": 0, "source_hash": "9694a504effe7ac9b2123d1a24ca957760ce3b07bc5a405ecadb555946c930db", "categorized_nodes": 10}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma on...
8,648
c
#pragma once #include <vector> #include "UniformBase.h" namespace Render { class Shader; class ShaderProgram { private: GLuint id; std::vector<const Shader*> linkedShaders; std::vector<UniformBase*> uniformVector; void CreateProgram(); public: ShaderProgram(); ShaderProgram(const ShaderProgram& s...
34.91
33
(translation_unit) "#pragma once\n\n#include <vector>\n#include "UniformBase.h"\n\nnamespace Render {\n class Shader;\n\n class ShaderProgram\n {\n private:\n GLuint id;\n\n std::vector<const Shader*> linkedShaders;\n std::vector<UniformBase*> uniformVector;\n\n void CreateProgram();\n public:\n ShaderProgram();\n...
295
15
{"language": "c", "success": true, "metadata": {"lines": 33, "avg_line_length": 34.91, "nodes": 178, "errors": 0, "source_hash": "43325380adf0d07c0f1e96bce97e44676934fa63c421bf15d2055096c74a9241", "categorized_nodes": 122}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
8,649
c
extern void Foo(); int Bar (float); char* A(char *name, int size); void Block(void(^)(int)); void NamedBlock(void(^Name)(int)); void Function(void (*foo)(int)); void Variadic(char *, ...);
26
7
(translation_unit) "extern void Foo();\nint Bar (float);\nchar* A(char *name, int size);\nvoid Block(void(^)(int));\nvoid NamedBlock(void(^Name)(int));\nvoid Function(void (*foo)(int));\nvoid Variadic(char *, ...);\n" (declaration) "extern void Foo();" (storage_class_specifier) "extern" (extern) "extern" ...
123
2
{"language": "c", "success": true, "metadata": {"lines": 7, "avg_line_length": 26.0, "nodes": 85, "errors": 0, "source_hash": "d144e8850db2c5a15a320aae77124eab5a057a44adf8b37333849d53c56ddcb7", "categorized_nodes": 42}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "declaration", "text": "extern void ...
8,650
c
/** *Licensed to the Apache Software Foundation (ASF) under one *or more contributor license agreements. See the NOTICE file *distributed with this work for additional information *regarding copyright ownership. The ASF licenses this file *to you under the Apache License, Version 2.0 (the *"License"); you may n...
35.83
138
(translation_unit) "/**\n *Licensed to the Apache Software Foundation (ASF) under one\n *or more contributor license agreements. See the NOTICE file\n *distributed with this work for additional information\n *regarding copyright ownership. The ASF licenses this file\n *to you under the Apache License, Version 2.0 (th...
1,324
0
{"language": "c", "success": true, "metadata": {"lines": 138, "avg_line_length": 35.83, "nodes": 803, "errors": 0, "source_hash": "654cbf095e515421a8cd6e1469d5e903d72da3d622880d44ace2cdfaa5cbdd0a", "categorized_nodes": 558}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
8,651
c
/* * Copyright (C) 2012 Samsung Electronics, Inc. * * This software is licensed under the terms of the GNU General Public * License version 2, as published by the Free Software Foundation, and * may be copied, distributed, and modified under those terms. * * This program is distributed in the hope that it will b...
32.48
46
(translation_unit) "/*\n * Copyright (C) 2012 Samsung Electronics, Inc.\n *\n * This software is licensed under the terms of the GNU General Public\n * License version 2, as published by the Free Software Foundation, and\n * may be copied, distributed, and modified under those terms.\n *\n * This program is distributed...
137
5
{"language": "c", "success": true, "metadata": {"lines": 46, "avg_line_length": 32.48, "nodes": 97, "errors": 0, "source_hash": "a166242e5c385bd25b8576916b93df316983aee310e3d51b905da65cd39a8bcb", "categorized_nodes": 63}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
8,652
c
#ifndef WRAPPER_TYPE_H_ #define WRAPPER_TYPE_H_ #include <ext/../type.h> class Wrapper { }; #endif
15.5
6
(translation_unit) "#ifndef WRAPPER_TYPE_H_\n#define WRAPPER_TYPE_H_\n#include <ext/../type.h>\nclass Wrapper {\n};\n#endif\n" (preproc_ifdef) "#ifndef WRAPPER_TYPE_H_\n#define WRAPPER_TYPE_H_\n#include <ext/../type.h>\nclass Wrapper {\n};\n#endif" (#ifndef) "#ifndef" (identifier) "WRAPPER_TYPE_H_" (prepr...
19
0
{"language": "c", "success": true, "metadata": {"lines": 6, "avg_line_length": 15.5, "nodes": 12, "errors": 0, "source_hash": "a24c5cadf83574105e392ff6ad5f860f93f6fa878641759e724369e9cb3e8c6e", "categorized_nodes": 10}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef WR...
8,653
c
#pragma once #include "csv/CsvItem.h" namespace hokee { class CsvTable : public std::vector<CsvRowShared> { std::vector<std::string> _header{}; public: inline const std::vector<std::string>& GetCsvHeader() const { return _header; }; inline void SetCsvHeader(std::vector<std::string>&& h...
22.64
22
(translation_unit) "#pragma once\n\n#include "csv/CsvItem.h"\n\nnamespace hokee\n{\nclass CsvTable : public std::vector<CsvRowShared>\n{\n std::vector<std::string> _header{};\n\n public:\n inline const std::vector<std::string>& GetCsvHeader() const\n {\n return _header;\n };\n\n inline void SetCs...
183
10
{"language": "c", "success": true, "metadata": {"lines": 22, "avg_line_length": 22.64, "nodes": 102, "errors": 0, "source_hash": "05eeeae0bbe836505cf3db36d1f9846fd7ee73f52901ef14776bfa5ecb8390e1", "categorized_nodes": 61}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma ...
8,654
c
// // DataModel.h // WaterFlowLayoutDemo // // Created by 杨晴贺 on 9/14/16. // Copyright © 2016 silence. All rights reserved. // #import <Foundation/Foundation.h> #import <UIKit/UIKit.h> @interface DataModel : NSObject @property (nonatomic, copy) NSString *img; @property (nonatomic, copy) NSString *title; @propert...
25.4
15
(translation_unit) "//\n// DataModel.h\n// WaterFlowLayoutDemo\n//\n// Created by 杨晴贺 on 9/14/16.\n// Copyright © 2016 silence. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n#import <UIKit/UIKit.h>\n\n@interface DataModel : NSObject\n\n@property (nonatomic, copy) NSString *img;\n@property (nonatomi...
89
18
{"language": "c", "success": true, "metadata": {"lines": 15, "avg_line_length": 25.4, "nodes": 64, "errors": 0, "source_hash": "14c1c4294caf06057e2f59aa879111b07db02b766f6e50a69dde2120c1a16e22", "categorized_nodes": 34}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": " <Foundati...
8,655
c
// // Copyright RIME Developers // Distributed under the BSD License // // 2011-12-07 <NAME> <<EMAIL>> // #ifndef RIME_SWITCHER_H_ #define RIME_SWITCHER_H_ #include <rime/common.h> #include <rime/engine.h> #include <rime/processor.h> namespace rime { class Config; class Context; class Translator; class Switcher : p...
27.24
62
(translation_unit) "//\n// Copyright RIME Developers\n// Distributed under the BSD License\n//\n// 2011-12-07 <NAME> <<EMAIL>>\n//\n#ifndef RIME_SWITCHER_H_\n#define RIME_SWITCHER_H_\n\n#include <rime/common.h>\n#include <rime/engine.h>\n#include <rime/processor.h>\n\nnamespace rime {\n\nclass Config;\nclass Context;\n...
481
16
{"language": "c", "success": true, "metadata": {"lines": 62, "avg_line_length": 27.24, "nodes": 289, "errors": 0, "source_hash": "577237924ced16810ca21f0fe951a79d2c63ce15a4ae568b5ac89f54038b095a", "categorized_nodes": 190}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
8,656
c
/* * QLogic Fibre Channel HBA Driver * Copyright (c) 2003-2014 QLogic Corporation * * See LICENSE.qla2xxx for copyright and licensing details. */ #ifndef __QLA_DMP27_H__ #define __QLA_DMP27_H__ #define IOBASE_ADDR offsetof(struct device_reg_24xx, iobase_addr) struct __packed qla27xx_fwdt_template { __le32 tem...
22.43
204
(translation_unit) "/*\n * QLogic Fibre Channel HBA Driver\n * Copyright (c) 2003-2014 QLogic Corporation\n *\n * See LICENSE.qla2xxx for copyright and licensing details.\n */\n\n#ifndef __QLA_DMP27_H__\n#define __QLA_DMP27_H__\n\n#define IOBASE_ADDR offsetof(struct device_reg_24xx, iobase_addr)\n\nstruct __packed qla...
882
0
{"language": "c", "success": true, "metadata": {"lines": 204, "avg_line_length": 22.43, "nodes": 638, "errors": 0, "source_hash": "0c0cfeb0164ebbeb41cb79c19dbc8ca49c962a233ea0d2bafa1b77b1c8b92146", "categorized_nodes": 428}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
8,657
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 TableSectionPainter_h #define TableSectionPainter_h namespace blink { class LayoutPoint; struct PaintInfo; class RenderTableCell; class RenderTa...
35.14
21
(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 TableSectionPainter_h\n#define TableSectionPainter_h\n\nnamespace blink {\n\nclass LayoutPoint;\nstruct PaintInfo;\nclass ...
137
7
{"language": "c", "success": true, "metadata": {"lines": 21, "avg_line_length": 35.14, "nodes": 68, "errors": 0, "source_hash": "df7342cf7dfad297e28b761a4699300d12fae0d423675932108094fa9eec7424", "categorized_nodes": 53}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
8,658
c
// Created by BlurringShadow at 2021-03-11-下午 5:19 #pragma once #include "validator.h" #include "traits/member.h" #include "traits/object.h" namespace polycumic::utility { namespace details { template<auto MemberPtr> struct member_validator_traits : traits::unique_object_trait { ...
35.44
39
(translation_unit) " Created by BlurringShadow at 2021-03-11-下午 5:19\n\n#pragma once\n\n#include "validator.h"\n#include "traits/member.h"\n#include "traits/object.h"\n\nnamespace polycumic::utility\n{\n namespace details\n {\n template<auto MemberPtr>\n struct member_validator_traits : traits::uniq...
360
25
{"language": "c", "success": true, "metadata": {"lines": 39, "avg_line_length": 35.44, "nodes": 224, "errors": 0, "source_hash": "d401ca0c09358b7831bfd8d451f375b1c6e9f9a2bdd85e1ee5da4c2953621047", "categorized_nodes": 142}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "a once\...
8,659
c
// // LDCBatchOperator.h // LDCore // // Created by <NAME> on 4/1/14. // Copyright (c) 2014 Liquid Analytics. All rights reserved. // #import <Foundation/Foundation.h> @interface LDCBatchOperator : NSObject - (nonnull instancetype) initWithBatchCount:(int)batchCount batchWeight:(int)batchWeight queue:(dispatch_q...
35.53
17
(translation_unit) "//\n// LDCBatchOperator.h\n// LDCore\n//\n// Created by <NAME> on 4/1/14.\n// Copyright (c) 2014 Liquid Analytics. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n\n@interface LDCBatchOperator : NSObject\n\n- (nonnull instancetype) initWithBatchCount:(int)batchCount batchWeight:(i...
194
11
{"language": "c", "success": true, "metadata": {"lines": 17, "avg_line_length": 35.53, "nodes": 116, "errors": 0, "source_hash": "709fec05458950ab922fac2b34b3bc685da8ffdc7b01358ca6816d3f2310430e", "categorized_nodes": 61}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import ...
8,660
c
#ifndef PERK_H #define PERK_H #include <stdint.h> #include <stdio.h> #include "perk_api.h" #include "perk_consts.h" #include "perk_structs.h" #include "perk_meta.h" #ifdef __cplusplus extern "C" { #endif /* pre-alpha */ #ifndef PERK_APP #ifndef PERK_PRE_ALPHA #error libperk: pre-alpha: ABI is not final! #error to...
30.48
163
(translation_unit) "#ifndef PERK_H\n#define PERK_H\n\n#include <stdint.h>\n#include <stdio.h>\n\n#include "perk_api.h"\n#include "perk_consts.h"\n#include "perk_structs.h"\n#include "perk_meta.h"\n\n#ifdef __cplusplus\nextern "C" {\n#endif\n\n/* pre-alpha */\n#ifndef PERK_APP\n#ifndef PERK_PRE_ALPHA\n#error libperk: p...
1,250
20
{"language": "c", "success": true, "metadata": {"lines": 163, "avg_line_length": 30.48, "nodes": 921, "errors": 0, "source_hash": "6a48494ea506e4529601d33c433b70060eab89dd353571ce32583bf6635f6036", "categorized_nodes": 570}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
8,661
c
/* * Copyright (C) 2021 The KripayaOS Project Authors. * + Contributed by <NAME> <<EMAIL>> * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #ifndef stdint_h #define stdint_h /// signed integer type with a width of exactly 8 bits. typedef char int8_t; //...
36.11
28
(translation_unit) "/*\n * Copyright (C) 2021 The KripayaOS Project Authors.\n * + Contributed by <NAME> <<EMAIL>>\n *\n * Use of this source code is governed by a BSD-style license that can be\n * found in the LICENSE file.\n */\n\n#ifndef stdint_h\n#define stdint_h\n\n/// signed integer type with a width of exactly ...
78
0
{"language": "c", "success": true, "metadata": {"lines": 28, "avg_line_length": 36.11, "nodes": 57, "errors": 0, "source_hash": "c3f456f6fea729cf1ef2efbff1846d4b9ed76af4a11e4eefbd99d7d2d438a29d", "categorized_nodes": 20}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
8,662
c
/* * File: 3.12-PrintTableOfVotes.c * ------------------------------ * This program print the votes of each candidate; */ #include <stdio.h> #include "genlib.h" #include "simpio.h" main() { strings candidate; int votes; candidate = "Clinton"; votes = 3372; printf("%-15.15s %4d\n", candidate, votes); cand...
20.42
26
(translation_unit) "/*\n * File: 3.12-PrintTableOfVotes.c\n * ------------------------------\n * This program print the votes of each candidate;\n */\n\n#include <stdio.h>\n#include "genlib.h"\n#include "simpio.h"\n\n\nmain()\n{\n strings candidate;\n int votes;\n\n candidate = "Clinton";\n votes = 3372;\n printf("%-15...
159
0
{"language": "c", "success": true, "metadata": {"lines": 26, "avg_line_length": 20.42, "nodes": 78, "errors": 0, "source_hash": "843ae6a981381e7673507930de9b2f7f1b8950f610af6dbd16f7dc0ff21055d7", "categorized_nodes": 60}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
8,663
c
/* MIT License Copyright (c) 2017 FMI Open Development / <NAME>, <EMAIL> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy...
27.92
184
(translation_unit) "/*\n\nMIT License\n\nCopyright (c) 2017 FMI Open Development / <NAME>, <EMAIL>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the "Software"), to deal\nin the Software without restriction, including without limita...
276
12
{"language": "c", "success": true, "metadata": {"lines": 184, "avg_line_length": 27.92, "nodes": 147, "errors": 0, "source_hash": "4e09bd55363465556b73a66f6843b8bc67cbe08d2369dc2737dc4561a7968083", "categorized_nodes": 118}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
8,664
c
// // FragariaDefaultsCoordinator.h // FragariaDefaultsCoordinator // // Created by <NAME> on 21/10/2018. // #import <Cocoa/Cocoa.h> //! Project version number for FragariaDefaultsCoordinator. FOUNDATION_EXPORT double FragariaDefaultsCoordinatorVersionNumber; //! Project version string for FragariaDefaultsCoordin...
38.32
22
(translation_unit) "//\n// FragariaDefaultsCoordinator.h\n// FragariaDefaultsCoordinator\n//\n// Created by <NAME> on 21/10/2018.\n//\n\n#import <Cocoa/Cocoa.h>\n\n//! Project version number for FragariaDefaultsCoordinator.\nFOUNDATION_EXPORT double FragariaDefaultsCoordinatorVersionNumber;\n\n//! Project version st...
64
1
{"language": "c", "success": true, "metadata": {"lines": 22, "avg_line_length": 38.32, "nodes": 48, "errors": 0, "source_hash": "2e0e21cb77d1b8b065e9d8431f53961ac68262d68b9f24c819e66606e3f458d2", "categorized_nodes": 21}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <...
8,665
c
#pragma once #if defined(ESP32) #include <SPI.h> #define USE_SDFAT #define SD_FAT_TYPE 1 #include <SdFat.h> #endif
15.43
7
(translation_unit) "#pragma once\n\n#if defined(ESP32)\n#include <SPI.h>\n#define USE_SDFAT\n#define SD_FAT_TYPE 1\n#include <SdFat.h>\n#endif\n" (preproc_call) "#pragma once\n" (preproc_directive) "#pragma" (preproc_arg) "once" (preproc_if) "#if defined(ESP32)\n#include <SPI.h>\n#define USE_SDFAT\n#define ...
26
0
{"language": "c", "success": true, "metadata": {"lines": 7, "avg_line_length": 15.43, "nodes": 23, "errors": 0, "source_hash": "38b2611270df0074c6b71fd7d20a753922afd656bb3da228265e838a61a9f1af", "categorized_nodes": 13}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma on...
8,666
c
/* * Copyright (c) 1987, 1993 * The Regents of the University of California. All rights reserved. * * Portions copyright (c) 1999, 2000 * Intel Corporation. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following ...
33.53
119
(translation_unit) "/*\n * Copyright (c) 1987, 1993\n * The Regents of the University of California. All rights reserved.\n *\n * Portions copyright (c) 1999, 2000\n * Intel Corporation.\n * All rights reserved.\n * \n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted...
796
1
{"language": "c", "success": true, "metadata": {"lines": 119, "avg_line_length": 33.53, "nodes": 509, "errors": 0, "source_hash": "39a940c1b0067048cba6f192d8ead6b33622f8f981df07c058fb6765b2397e33", "categorized_nodes": 306}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_if", "text": "#if defi...
8,667
c
// // Created by majiancheng on 2019/4/28. // Copyright (c) 2019 mjc. All rights reserved. // #import "DataVM.h" @class ActionDto; @interface FFmpegDataVM : DataVM @property(nonatomic, weak) ActionDto *dto; @end
22.56
9
(translation_unit) "//\n// Created by majiancheng on 2019/4/28.\n// Copyright (c) 2019 mjc. All rights reserved.\n//\n\n#import "DataVM.h"\n\n@class ActionDto;\n\n@interface FFmpegDataVM : DataVM\n\n@property(nonatomic, weak) ActionDto *dto;\n\n@end" (comment) "//" (comment) "// Created by majiancheng on 2019/4/28....
39
8
{"language": "c", "success": true, "metadata": {"lines": 9, "avg_line_length": 22.56, "nodes": 26, "errors": 0, "source_hash": "4856a100c3c8b52d909a02b18b14b1c26c71fd7f2ad5de2871ad12f13d813369", "categorized_nodes": 13}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import \"...
8,668
c
#ifndef __LIB_KERNEL_PRINT_H #define __LIB_KERNEL_PRINT_H #include "stdint.h" void put_char(uint8_t char_asci); void put_str(char* message); void put_int(uint32_t num); void set_cursor(uint32_t cursor_pos); #endif
25.75
8
(translation_unit) "#ifndef __LIB_KERNEL_PRINT_H\n#define __LIB_KERNEL_PRINT_H\n#include "stdint.h"\n\nvoid put_char(uint8_t char_asci);\nvoid put_str(char* message);\nvoid put_int(uint32_t num);\nvoid set_cursor(uint32_t cursor_pos);\n\n#endif" (preproc_ifdef) "#ifndef __LIB_KERNEL_PRINT_H\n#define __LIB_KERNEL_PRIN...
60
0
{"language": "c", "success": true, "metadata": {"lines": 8, "avg_line_length": 25.75, "nodes": 44, "errors": 0, "source_hash": "af05f92ed203692d0b43e21a0fc2c1270c455485f9cc9a1829fb1be73095e8b0", "categorized_nodes": 28}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef _...
8,669
c
/* * BreathingCircuit.h * * Created on: June 6, 2020 * Author: <NAME> * * Hardware-backed 32-bit CRC calculation. */ #pragma once #include <cstdint> #include "Algorithms.h" #include "Pufferfish/Application/States.h" namespace Pufferfish::Driver::BreathingCircuit { struct SensorVars { float flow_air...
24.29
52
(translation_unit) "/*\n * BreathingCircuit.h\n *\n * Created on: June 6, 2020\n * Author: <NAME>\n *\n * Hardware-backed 32-bit CRC calculation.\n */\n\n#pragma once\n\n#include <cstdint>\n\n#include "Algorithms.h"\n#include "Pufferfish/Application/States.h"\n\nnamespace Pufferfish::Driver::BreathingCircuit {\n...
251
14
{"language": "c", "success": true, "metadata": {"lines": 52, "avg_line_length": 24.29, "nodes": 125, "errors": 0, "source_hash": "9c7f6596fe938b421408164a97a2717ce7b461ae1700da6a7d9edf4e5e1cba2d", "categorized_nodes": 97}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma ...
8,670
c
/* Copyright (C) StrawberryHacker */ #ifndef SWD_H #define SWD_H #include "types.h" enum debug_port { AP, DP }; /* * Configures the SWD pins */ void swd_init(void); /* * Performs one SWD out transaction to either AP or DP. It returns the three * ACK bits in response from the target. Only 0b001 is a su...
25.65
23
(translation_unit) "/* Copyright (C) StrawberryHacker */\n\n#ifndef SWD_H\n#define SWD_H\n\n#include "types.h"\n\nenum debug_port {\n AP,\n DP\n};\n\n/*\n * Configures the SWD pins\n */\nvoid swd_init(void);\n\n/*\n * Performs one SWD out transaction to either AP or DP. It returns the three \n * ACK bits in respo...
84
0
{"language": "c", "success": true, "metadata": {"lines": 23, "avg_line_length": 25.65, "nodes": 59, "errors": 0, "source_hash": "9102aa31261afd8e5299752bfaa05d1dccbd2c8a79f20d27f8d9faf2b1127c13", "categorized_nodes": 50}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
8,671
c
// // ZSViewController.h // ComponentMediator // // Created by Fengzi on 05/15/2021. // Copyright (c) 2021 Fengzi. All rights reserved. // @import UIKit; @interface ZSViewController : UIViewController @end
20
10
(translation_unit) "//\n// ZSViewController.h\n// ComponentMediator\n//\n// Created by Fengzi on 05/15/2021.\n// Copyright (c) 2021 Fengzi. All rights reserved.\n//\n\n@import UIKit;\n\n@interface ZSViewController : UIViewController\n\n@end\n" (comment) "//" (comment) "// ZSViewController.h" (comment) "// C...
22
5
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 20.0, "nodes": 10, "errors": 0, "source_hash": "c8d4756b3e1c4c9449fffeea69df2cd3ff8f66d91e9c64fa65cbae4774e71e8b", "categorized_nodes": 5}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "@", "parent": null...
8,672
c
#define TESTING 1 #include <portable/inet_aton.c>
24
2
(translation_unit) "#define TESTING 1\n#include <portable/inet_aton.c>\n" (preproc_def) "#define TESTING 1\n" (#define) "#define" (identifier) "TESTING" (preproc_arg) "1" (preproc_include) "#include <portable/inet_aton.c>\n" (#include) "#include" (system_lib_string) "<portable/inet_aton.c>"
8
0
{"language": "c", "success": true, "metadata": {"lines": 2, "avg_line_length": 24.0, "nodes": 7, "errors": 0, "source_hash": "6e5f62d7acad0d557c9e524ccebe8e5d2e7a02a43105e31bae39d11208b624c4", "categorized_nodes": 4}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_def", "text": "#define TESTIN...
8,673
c
// Geometric Tools, LLC // Copyright (c) 1998-2012 // Distributed under the Boost Software License, Version 1.0. // http://www.boost.org/LICENSE_1_0.txt // http://www.geometrictools.com/License/Boost/LICENSE_1_0.txt // // File Version: 5.0.0 (2010/01/01) #ifndef WM5TRIANGLE2_H #define WM5TRIANGLE2_H #inclu...
21.6
48
(translation_unit) "// Geometric Tools, LLC \n// Copyright (c) 1998-2012 \n// Distributed under the Boost Software License, Version 1.0. \n// http://www.boost.org/LICENSE_1_0.txt \n// http://www.geometrictools.com/License/Boost/LICENSE_1_0.txt \n// \n// File Version: 5.0.0 (2010/01/01) \n \n#ifndef WM5TRIANGLE2_H \n#de...
197
12
{"language": "c", "success": true, "metadata": {"lines": 48, "avg_line_length": 21.6, "nodes": 116, "errors": 0, "source_hash": "8d73f1de265116261c7945bb725d9b88f71f00648b3927821bb59d9599d0edf4", "categorized_nodes": 77}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
8,674
c
// // MKLocalSearch.h // MapKit // // Copyright (c) 2012-2013, Apple Inc. All rights reserved. // #import <MapKit/MKFoundation.h> @class MKLocalSearchRequest; @class MKLocalSearchResponse; typedef void (^MKLocalSearchCompletionHandler)(MKLocalSearchResponse *response, NSError *error); MK_CLASS_AVAILABLE(10_9, 6_...
39.83
23
(translation_unit) "//\n// MKLocalSearch.h\n// MapKit\n//\n// Copyright (c) 2012-2013, Apple Inc. All rights reserved.\n//\n\n#import <MapKit/MKFoundation.h>\n\n@class MKLocalSearchRequest;\n@class MKLocalSearchResponse;\n\ntypedef void (^MKLocalSearchCompletionHandler)(MKLocalSearchResponse *response, NSError *erro...
141
16
{"language": "c", "success": true, "metadata": {"lines": 23, "avg_line_length": 39.83, "nodes": 86, "errors": 0, "source_hash": "bfbe14b27273b173df77a92f809c7e3f967b1316b69caf0fd65c9764a93ac308", "categorized_nodes": 47}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <...
8,675
c
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file ...
39.85
193
(translation_unit) "/*\n * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the "License").\n * You may not use this file except in compliance with the License.\n * A copy of the License is located at\n *\n * http://aws.amazon.com/apache2.0\n *\...
1,190
0
{"language": "c", "success": true, "metadata": {"lines": 193, "avg_line_length": 39.85, "nodes": 707, "errors": 0, "source_hash": "b1f40fc406a25bb2dc5e585e9be4851992a47df48f64b978876237167292a790", "categorized_nodes": 536}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
8,676
c
// /d/quanzhen/shanlu13.c // Java Oct.10 1998 inherit ROOM; void create() { set("short", "山路"); set("long", @LONG 這是一條非常崎嶇難行的山路,一路蜿蜒盤山ㄦ上,沿途均是葱 鬱的古柏山林,蔚然森秀。在此處可眺望終南山的景色,只見山險嶺 峻,山川毓秀,不少鳥ㄦ在枝頭高聲啼唱不絕。往北下是草堂寺。往 西上是一條山路。往東是一塊廣大的空地。往西北通往後山下。 LONG ); set("outdoors", "zhongnan"); set("ex...
25.15
26
(translation_unit) "// /d/quanzhen/shanlu13.c\n// Java Oct.10 1998\n\ninherit ROOM;\n\nvoid create()\n{\n set("short", "山路");\n set("long", @LONG\n這是一條非常崎嶇難行的山路,一路蜿蜒盤山ㄦ上,沿途均是葱\n鬱的古柏山林,蔚然森秀。在此處可眺望終南山的景色,只見山險嶺\n峻,山川毓秀,不少鳥ㄦ在枝頭高聲啼唱不絕。往北下是草堂寺。往\n西上是一條山路。往東是一塊廣大的空地。往西北通往後山下。\nLONG\n );\n set("outd...
214
16
{"language": "c", "success": true, "metadata": {"lines": 26, "avg_line_length": 25.15, "nodes": 98, "errors": 0, "source_hash": "aea3c0747f298e2738b0ef526d76b409e75de22eed0eb77821af5b9b0aab5ec9", "categorized_nodes": 72}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "declaration", "text": "inherit RO...
8,677
c
// Copyright 2018 <NAME>, <NAME> // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // Unless required by applicable law or agreed to in wri...
41.06
32
(translation_unit) "// Copyright 2018 <NAME>, <NAME>\n\n// Licensed under the Apache License, Version 2.0 (the "License");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n\n// http://www.apache.org/licenses/LICENSE-2.0\n\n// Unless required by applic...
179
10
{"language": "c", "success": true, "metadata": {"lines": 32, "avg_line_length": 41.06, "nodes": 110, "errors": 0, "source_hash": "f36ff072bf703455796802901843a81958be7c0de808a06a10d41d816d8497d2", "categorized_nodes": 75}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma ...
8,678
c
// // FitCloudECGDefines.h // FitCloudKit // // Created by pcjbird on 2018/5/28. // Copyright © 2018年 Zero Status. All rights reserved. // #ifndef FitCloudECGDefines_h #define FitCloudECGDefines_h /** * @brief 心电检测状态 */ typedef NS_ENUM(Byte, ECGDETECTSTATUS) { ECGDETECTSTATUS_FREE = 0x00, ...
25.97
36
(translation_unit) "//\n// FitCloudECGDefines.h\n// FitCloudKit\n//\n// Created by pcjbird on 2018/5/28.\n// Copyright © 2018年 Zero Status. All rights reserved.\n//\n\n#ifndef FitCloudECGDefines_h\n#define FitCloudECGDefines_h\n\n/**\n * @brief 心电检测状态\n */\ntypedef NS_ENUM(Byte, ECGDETECTSTATUS)\n{\n ECGDETECTST...
124
10
{"language": "c", "success": true, "metadata": {"lines": 36, "avg_line_length": 25.97, "nodes": 74, "errors": 0, "source_hash": "d444f974293ffe888b2f2e86d593faf18fc352c8aa16910f21e1feae604f6075", "categorized_nodes": 45}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "ndef FitCloudECG...
8,679
c
/**------------------------------------------------------------------------- @file atomic.h @brief Atomic operations. Because of it's platform dependent nature, this file requires conditional compilation for each platform port. Compile macro : WIN32 - Windo...
22.85
307
(translation_unit) "/**------------------------------------------------------------------------- \n@file atomic.h \n \n@brief Atomic operations. \n \n Because of it's platform dependent nature, this file requires conditional \n compilation for each platform port. \n \n Compile macro : \n ...
1,085
0
{"language": "c", "success": true, "metadata": {"lines": 307, "avg_line_length": 22.85, "nodes": 732, "errors": 0, "source_hash": "e82f02dd3fa3a224a00d88eff440f7280246a509232cc1958db42d22ca8eae19", "categorized_nodes": 435}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
8,680
c
// Copyright 2018 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 PDF_PDFIUM_PDFIUM_UNSUPPORTED_FEATURES_H_ #define PDF_PDFIUM_PDFIUM_UNSUPPORTED_FEATURES_H_ #include "base/memory/raw_ptr.h" namespace chrome_pd...
43.31
26
(translation_unit) "// Copyright 2018 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 PDF_PDFIUM_PDFIUM_UNSUPPORTED_FEATURES_H_\n#define PDF_PDFIUM_PDFIUM_UNSUPPORTED_FEATURES_H_\n\n#include "base/memory/raw_...
149
5
{"language": "c", "success": true, "metadata": {"lines": 26, "avg_line_length": 43.31, "nodes": 82, "errors": 0, "source_hash": "d5d28fea1a08488bd4d7f6756f302ed91cb3e731e1e1b7574b8fba1db264772c", "categorized_nodes": 59}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
8,681
c
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* fractol_deal_key.c :+: :+: :+: ...
28.27
95
(translation_unit) "/* ************************************************************************** */\n/* */\n/* ::: :::::::: */\n/* fractol_deal_key.c ...
906
0
{"language": "c", "success": true, "metadata": {"lines": 95, "avg_line_length": 28.27, "nodes": 574, "errors": 0, "source_hash": "08c1e9cf18836129cd743603d6304c973db7bd91c7ca13778a29720f5447975c", "categorized_nodes": 467}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
8,682
c
/********************************************************************** * LeechCraft - modular cross-platform feature rich internet client. * Copyright (C) 2006-2014 <NAME> * * Distributed under the Boost Software License, Version 1.0. * (See accompanying file LICENSE or copy at https://www.boost.org/LICENSE_1_0....
28.36
25
(translation_unit) "/**********************************************************************\n * LeechCraft - modular cross-platform feature rich internet client.\n * Copyright (C) 2006-2014 <NAME>\n *\n * Distributed under the Boost Software License, Version 1.0.\n * (See accompanying file LICENSE or copy at https://w...
89
5
{"language": "c", "success": true, "metadata": {"lines": 25, "avg_line_length": 28.36, "nodes": 47, "errors": 0, "source_hash": "56272e83f4f1df52146f87819c5dd25e2af4d4001970a5fcfb8ef625324e47ab", "categorized_nodes": 33}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
8,683
c
// // CircleButton.h // IrregularButton // // Created by charles on 2017/11/30. // Copyright © 2017年 charles. All rights reserved. // #import "IrregularButton.h" typedef NS_ENUM(NSUInteger, CircleType) { CircleTypeTopNone, CircleTypeTopLeft, CircleTypeTopRight, CircleTypeBottomLeft, CircleType...
23.05
19
(translation_unit) "//\n// CircleButton.h\n// IrregularButton\n//\n// Created by charles on 2017/11/30.\n// Copyright © 2017年 charles. All rights reserved.\n//\n\n#import "IrregularButton.h"\n\ntypedef NS_ENUM(NSUInteger, CircleType) {\n CircleTypeTopNone,\n CircleTypeTopLeft,\n CircleTypeTopRight,\n Ci...
66
7
{"language": "c", "success": true, "metadata": {"lines": 19, "avg_line_length": 23.05, "nodes": 39, "errors": 0, "source_hash": "9e71b4c7084b3ce1ee7d765e45b7b7769e448ec76fbc680991f0fcb5f9e235f4", "categorized_nodes": 25}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "port \"Ir...
8,684
c
#ifndef CANDLEAPIINTERFACE_H #define CANDLEAPIINTERFACE_H #include <driver/CanInterface.h> #include <core/MeasurementInterface.h> #include "api/candle.h" #include "CandleApiTiming.h" #include <windows.h> #include <QList> #include <QMutex> #include <QWaitCondition> class CandleApiDriver; using namespace...
24.03
76
(translation_unit) "#ifndef CANDLEAPIINTERFACE_H \n#define CANDLEAPIINTERFACE_H \n \n#include <driver/CanInterface.h> \n#include <core/MeasurementInterface.h> \n#include "api/candle.h" \n#include "CandleApiTiming.h" \n#include <windows.h> \n#include <QList> \n#include <QMutex> \n#include <QWaitCondition> \n \nclass Can...
422
31
{"language": "c", "success": true, "metadata": {"lines": 76, "avg_line_length": 24.03, "nodes": 287, "errors": 0, "source_hash": "26668a8b99294fdead53b7a0de4187aa9d2e05b4817e351579741dd5883efe99", "categorized_nodes": 212}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
8,685
c
#include <string.h> #include <malloc.h> #include <stdlib.h> #include "assembler_symbol_table.h" #include "assembler_data_table.h" #include "assembler_utility_func.h" #include "assembler_language.h" memory_word* data_tail; memory_word* data_head; /* add_string_to_data_table - receives the sentence after...
26.85
151
(translation_unit) "#include <string.h> \n#include <malloc.h> \n#include <stdlib.h> \n#include "assembler_symbol_table.h" \n#include "assembler_data_table.h" \n#include "assembler_utility_func.h" \n#include "assembler_language.h" \n \nmemory_word* data_tail; \nmemory_word* data_head; \n \n/* add_string_to_data_table - ...
856
0
{"language": "c", "success": true, "metadata": {"lines": 151, "avg_line_length": 26.85, "nodes": 504, "errors": 0, "source_hash": "e70604d96a11587976e93304a19fdbe0fd6de6a2312b53a47cac2aa17a1d8525", "categorized_nodes": 365}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
8,686
c
// // ANSegmentLoader.h // DASH Player // // Created by DataArt Apps on 28.07.14. // Copyright (c) 2014 DataArt Apps. All rights reserved. // #import <Foundation/Foundation.h> @class MPD; @class ANHttpClient; @protocol ANMpdManagerDelegate; @interface ANMpdManager : NSObject @property (nonatomic, weak) id<ANMp...
30.54
24
(translation_unit) "//\n// ANSegmentLoader.h\n// DASH Player\n//\n// Created by DataArt Apps on 28.07.14.\n// Copyright (c) 2014 DataArt Apps. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n@class MPD;\n@class ANHttpClient;\n\n@protocol ANMpdManagerDelegate;\n\n@interface ANMpdManager : NSObject\n\...
202
34
{"language": "c", "success": true, "metadata": {"lines": 24, "avg_line_length": 30.54, "nodes": 133, "errors": 0, "source_hash": "70c33ba8ed4d8be96bf22c47078089c382b104063e9e5efb5f04cfe2f84f217d", "categorized_nodes": 73}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import ...
8,687
c
#ifndef NB_SCENEMANAGERP_H #define NB_SCENEMANAGERP_H /**************************************************************************\ * Copyright (c) <NAME> & Gas Technologies AS * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that...
39.06
86
(translation_unit) "#ifndef NB_SCENEMANAGERP_H\n#define NB_SCENEMANAGERP_H\n\n/**************************************************************************\\n * Copyright (c) <NAME> & Gas Technologies AS\n * All rights reserved.\n * \n * Redistribution and use in source and binary forms, with or without\n * modification,...
330
6
{"language": "c", "success": true, "metadata": {"lines": 86, "avg_line_length": 39.06, "nodes": 226, "errors": 0, "source_hash": "943d2be882f5955de060821312e06fe42d7a6f89b382faa24a7c9465c061a64c", "categorized_nodes": 164}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
8,688
c
#include <gtk/gtk.h> int main (int argc, char *argv[]) { GtkWidget *window, *table, *label1, *label2, *entry; gtk_init (&argc, &argv); window = gtk_window_new (GTK_WINDOW_TOPLEVEL); gtk_window_set_title (GTK_WINDOW (window), "Panes"); gtk_container_set_border_width (GTK_CONTAINER (window), 10); gtk_widget_se...
29.61
33
(translation_unit) "#include <gtk/gtk.h>\n\nint main (int argc, char *argv[])\n{\n GtkWidget *window, *table, *label1, *label2, *entry;\n \n gtk_init (&argc, &argv);\n \n window = gtk_window_new (GTK_WINDOW_TOPLEVEL);\n gtk_window_set_title (GTK_WINDOW (window), "Panes");\n gtk_container_set_border_width (GTK_CONTAINER...
328
0
{"language": "c", "success": true, "metadata": {"lines": 33, "avg_line_length": 29.61, "nodes": 180, "errors": 0, "source_hash": "7d49eec42ac06f43ca9b80d42611c69f399a3d7c65200ed4ba02e89c6579119e", "categorized_nodes": 132}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
8,689
c
/* * Copyright (c) 2012-2016 The Linux Foundation. All rights reserved. * * Permission to use, copy, modify, and/or distribute this software for * any purpose with or without fee is hereby granted, provided that the * above copyright notice and this permission notice appear in all * copies. * * THE SOFTWARE IS ...
37.4
84
(translation_unit) "/*\n * Copyright (c) 2012-2016 The Linux Foundation. All rights reserved.\n *\n * Permission to use, copy, modify, and/or distribute this software for\n * any purpose with or without fee is hereby granted, provided that the\n * above copyright notice and this permission notice appear in all\n * copi...
420
0
{"language": "c", "success": true, "metadata": {"lines": 84, "avg_line_length": 37.4, "nodes": 308, "errors": 0, "source_hash": "bf2a84b4bff7eb2796720d18c02bd8cfb28d63d24d491af19106e310a5ec2515", "categorized_nodes": 187}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
8,690
c
/* Generated by RuntimeBrowser Image: /System/Library/PrivateFrameworks/Navigation.framework/Versions/A/Navigation */ @interface MNWalkingTurnByTurnLocationTracker : MNTurnByTurnLocationTracker { int _detectedTransportType; struct { double latitude; double longitude; } _detectedTra...
33.94
16
(translation_unit) "/* Generated by RuntimeBrowser\n Image: /System/Library/PrivateFrameworks/Navigation.framework/Versions/A/Navigation\n */\n\n@interface MNWalkingTurnByTurnLocationTracker : MNTurnByTurnLocationTracker {\n int _detectedTransportType;\n struct { \n double latitude; \n double lon...
119
10
{"language": "c", "success": true, "metadata": {"lines": 16, "avg_line_length": 33.94, "nodes": 69, "errors": 0, "source_hash": "7f1ce244e74f82ccb18a211b7d450c5fba14c775df1d477773fa2c2a1a0110ac", "categorized_nodes": 43}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "@", "parent": nu...
8,691
c
/* * Copyright (c) 2018 pongasoft * * 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...
28.5
60
(translation_unit) "/*\n * Copyright (c) 2018 pongasoft\n *\n * Licensed under the Apache License, Version 2.0 (the "License"); you may not\n * use this file except in compliance with the License. You may obtain a copy of\n * the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by a...
181
12
{"language": "c", "success": true, "metadata": {"lines": 60, "avg_line_length": 28.5, "nodes": 138, "errors": 0, "source_hash": "fc93e996b084e82a8509bdaae714a9ab61a044f2c7af7d0b2df3d8df291c06d4", "categorized_nodes": 88}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
8,692
c
#ifndef _ASMPARISC_SHMPARAM_H #define _ASMPARISC_SHMPARAM_H #define __ARCH_FORCE_SHMLBA 1 #define SHMLBA 0x00400000 /* attach addr needs to be 4 Mb aligned */ #endif /* _ASMPARISC_SHMPARAM_H */
38.4
5
(translation_unit) "#ifndef _ASMPARISC_SHMPARAM_H\n#define _ASMPARISC_SHMPARAM_H\n\n#define __ARCH_FORCE_SHMLBA 1\n\n#define SHMLBA 0x00400000 /* attach addr needs to be 4 Mb aligned */\n\n#endif /* _ASMPARISC_SHMPARAM_H */\n" (preproc_ifdef) "#ifndef _ASMPARISC_SHMPARAM_H\n#define _ASMPARISC_SHMPARAM_H\n\n#define...
18
0
{"language": "c", "success": true, "metadata": {"lines": 5, "avg_line_length": 38.4, "nodes": 15, "errors": 0, "source_hash": "300ff602df8ffe56eba836e196ec7b2324d0d50579fe5a24aace66a23bbba1a2", "categorized_nodes": 7}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef _AS...
8,693
c
// Copyright (c) 2017-2017 The Chaos Authors. All rights reserved. // Created on: 2017.9.19 Author: kerry #ifndef CHAOS_FC_MWORD_H__ #define CHAOS_FC_MWORD_H__ #pragma once #include "basic/basictypes.h" struct MWORD { enum { MAXBASE = 0x1FFFFFFF, }; int base_ :30; unsigned int mul_ :2; MWORD() { ...
25.98
66
(translation_unit) "// Copyright (c) 2017-2017 The Chaos Authors. All rights reserved.\n// Created on: 2017.9.19 Author: kerry\n\n#ifndef CHAOS_FC_MWORD_H__\n#define CHAOS_FC_MWORD_H__\n\n#pragma once\n\n#include "basic/basictypes.h"\n\nstruct MWORD {\n enum {\n MAXBASE = 0x1FFFFFFF,\n };\n\n int base_ :30;\n ...
585
48
{"language": "c", "success": true, "metadata": {"lines": 66, "avg_line_length": 25.98, "nodes": 369, "errors": 0, "source_hash": "2125d56b913a49cb05780922f7e26c2d72d057ad56706daf7137ce41012f95f3", "categorized_nodes": 227}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
8,694
c
#ifndef HL_MATERIAL_H_INCLUDED #define HL_MATERIAL_H_INCLUDED #include "../hl_internal.h" #ifdef __cplusplus extern "C" { #endif typedef struct HlFile HlFile; typedef enum HlMaterialParamFormat { HL_MATERIAL_PARAM_FORMAT_BOOL4, HL_MATERIAL_PARAM_FORMAT_INT4, HL_MATERIAL_PARAM_FORMAT_FLOAT4 } HlMaterialPa...
22.61
54
(translation_unit) "#ifndef HL_MATERIAL_H_INCLUDED\n#define HL_MATERIAL_H_INCLUDED\n#include "../hl_internal.h"\n\n#ifdef __cplusplus\nextern "C" {\n#endif\n\ntypedef struct HlFile HlFile;\n\ntypedef enum HlMaterialParamFormat\n{\n HL_MATERIAL_PARAM_FORMAT_BOOL4,\n HL_MATERIAL_PARAM_FORMAT_INT4,\n HL_MATERIAL_...
279
8
{"language": "c", "success": true, "metadata": {"lines": 54, "avg_line_length": 22.61, "nodes": 195, "errors": 0, "source_hash": "5fbb34911aa0277693404f756035f65030b9a55bee5dd58b03a5486ba15ace3c", "categorized_nodes": 127}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
8,695
c
#include "MotionProfiler/Profiler.h" namespace wml { }
17.33
3
(translation_unit) "#include "MotionProfiler/Profiler.h"\n\nnamespace wml {\n\n}" (preproc_include) "#include "MotionProfiler/Profiler.h"\n" (#include) "#include" (string_literal) ""MotionProfiler/Profiler.h"" (") """ (string_content) "MotionProfiler/Profiler.h" (") """ (function_definitio...
13
0
{"language": "c", "success": true, "metadata": {"lines": 3, "avg_line_length": 17.33, "nodes": 6, "errors": 0, "source_hash": "81369dd1a958cc6b86d5e042cb0ae2e0e828dc20422493a3084ac11c19ca3087", "categorized_nodes": 6}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#include ...
8,696
c
// // ZKCrypto.h // ZKCommonCrypto // // Created by <NAME> on 2018/6/21. // Copyright © 2018 <NAME>. All rights reserved. // #import <Foundation/Foundation.h> @interface ZKCrypto : NSObject +(NSString*)fileMD5WithPath:(NSString*)path; @end
19.42
12
(translation_unit) "//\n// ZKCrypto.h\n// ZKCommonCrypto\n//\n// Created by <NAME> on 2018/6/21.\n// Copyright © 2018 <NAME>. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n\n\n@interface ZKCrypto : NSObject\n+(NSString*)fileMD5WithPath:(NSString*)path;\n@end\n" (comment) "//" (comment) "// ZKC...
42
5
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 19.42, "nodes": 19, "errors": 0, "source_hash": "6b39234d3bd09636fe505fad09b26a5249a4e97c6812bfafdbfc9e2ad572a964", "categorized_nodes": 12}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <F...
8,697
c
// // TestXibViewController.h // Framework_ClassFiles // // Created by Willian on 2019/9/26. // Copyright © 2019 Willian. All rights reserved. // #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @interface TestXibViewController : UIViewController @end NS_ASSUME_NONNULL_END
22.08
12
(translation_unit) "//\n// TestXibViewController.h\n// Framework_ClassFiles\n//\n// Created by Willian on 2019/9/26.\n// Copyright © 2019 Willian. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\nNS_ASSUME_NONNULL_BEGIN\n\n@interface TestXibViewController : UIViewController\n\n@end\n\nNS_ASSUME_NONNULL_END\n"...
27
4
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 22.08, "nodes": 14, "errors": 0, "source_hash": "4f3509daaec91a4c1a0268b1f34837f2425db35647425dc361bfccd0055fb9e4", "categorized_nodes": 9}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <UI...
8,698
c
/* Copyright (c) 2017-2018 <NAME> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribut...
33.97
171
(translation_unit) "/*\n Copyright (c) 2017-2018 <NAME>\n \n Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the "Software"), to deal\n in the Software without restriction, including without limitation the rights\n to use, copy, modify,...
1,077
0
{"language": "c", "success": true, "metadata": {"lines": 171, "avg_line_length": 33.97, "nodes": 679, "errors": 0, "source_hash": "54ab5968d1f428eefa4de89096826cd2158eec693f60324a1d566803d83cf9b5", "categorized_nodes": 523}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
8,699