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
#ifndef _AMUX_H_ #define _AMUX_H_ #include <stdio.h> #include <stddef.h> #include <assert.h> //#define DEBUG #ifdef DEBUG #define AMUX_DBG(...) fprintf(stderr, __VA_ARGS__) #else #define AMUX_DBG(...) #endif #define AMUX_ERR(...) fprintf(stderr, __VA_ARGS__) #define AMUX_WARN(...) fprintf(stdout, __VA_ARGS__) #ifd...
23.47
92
(translation_unit) "#ifndef _AMUX_H_\n#define _AMUX_H_\n\n#include <stdio.h>\n#include <stddef.h>\n#include <assert.h>\n\n//#define DEBUG\n\n#ifdef DEBUG\n#define AMUX_DBG(...) fprintf(stderr, __VA_ARGS__)\n#else\n#define AMUX_DBG(...)\n#endif\n\n#define AMUX_ERR(...) fprintf(stderr, __VA_ARGS__)\n#define AMUX_WARN(......
219
0
{"language": "c", "success": true, "metadata": {"lines": 92, "avg_line_length": 23.47, "nodes": 159, "errors": 0, "source_hash": "f8fca9e50a353983911947fb537487258208d5e5f1021d3572b059e8d6f155cf", "categorized_nodes": 101}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
77,800
c
#pragma once #include "Chroma/Scene/System.h" #include "Chroma/Components/ParticleEmitter.h" namespace Chroma { class ParticleSystem : public System { public: void Init() override; void Update(Time detla) override; void Draw(Time delta) override; static void UpdateEmitter(ParticleEmitter& emitter, glm::v...
23.93
14
(translation_unit) "#pragma once\n\n#include "Chroma/Scene/System.h"\n#include "Chroma/Components/ParticleEmitter.h"\n\nnamespace Chroma\n{\n\n class ParticleSystem : public System\n {\n public:\n void Init() override;\n void Update(Time detla) override;\n void Draw(Time delta) override;\n\n static void UpdateEmitt...
100
6
{"language": "c", "success": true, "metadata": {"lines": 14, "avg_line_length": 23.93, "nodes": 57, "errors": 0, "source_hash": "ae2150e594c5c6c6442cb11935e859d6dc98fb4faa4cbc6c63ec431339c90ddc", "categorized_nodes": 41}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
77,801
c
/** @file target.h @author <NAME> <<EMAIL>> @date 3/3/2010 15:00:53 */ // Copyright (c) 2010 ComunIP S/A. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef SANDBOXED_TARGET_H #define SANDBOXED_TARGET_H #include <sandboxed/com...
27.89
28
(translation_unit) "/** @file target.h\n @author <NAME> <<EMAIL>>\n @date 3/3/2010 15:00:53\n */\n\n// Copyright (c) 2010 ComunIP S/A. 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 SANDBOXED_TARGET_H\n#define SANDBOXED_TAR...
150
7
{"language": "c", "success": true, "metadata": {"lines": 28, "avg_line_length": 27.89, "nodes": 97, "errors": 0, "source_hash": "81ce0d788328f74b0f65b3cd862879dadd6b7189527f50b6b7d5c195e190f705", "categorized_nodes": 63}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
77,802
c
// // JSONPatchInfo.h // inspired by https://github.com/Starcounter-Jack/JSON-Patch // // JSONTools // // Copyright (C) 2014 <NAME> [gcombs at gmail] // See LICENSE.txt for details. @import Foundation; typedef NS_ENUM(NSInteger, JSONPatchOperation) { JSONPatchOperationUndefined = -1, JSONPatchOperationAd...
29.85
27
(translation_unit) "//\n// JSONPatchInfo.h\n// inspired by https://github.com/Starcounter-Jack/JSON-Patch\n//\n// JSONTools\n//\n// Copyright (C) 2014 <NAME> [gcombs at gmail]\n// See LICENSE.txt for details.\n\n@import Foundation;\n\ntypedef NS_ENUM(NSInteger, JSONPatchOperation)\n{\n JSONPatchOperationUndefin...
153
20
{"language": "c", "success": true, "metadata": {"lines": 27, "avg_line_length": 29.85, "nodes": 93, "errors": 0, "source_hash": "70e53fa41eaa757d908f184889ea7baae4f61de46ccb708fc42ea050ef0c4a0e", "categorized_nodes": 62}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "@", "parent": nu...
77,803
c
/* * Copyright (c) 2016-2020 <NAME> <<EMAIL>> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR ...
26.42
43
(translation_unit) "/*\n * Copyright (c) 2016-2020 <NAME> <<EMAIL>>\n *\n * Permission to use, copy, modify, and distribute this software for any\n * purpose with or without fee is hereby granted, provided that the above\n * copyright notice and this permission notice appear in all copies.\n *\n * THE SOFTWARE IS PROVI...
60
2
{"language": "c", "success": true, "metadata": {"lines": 43, "avg_line_length": 26.42, "nodes": 30, "errors": 0, "source_hash": "790c0b2d745d07f5b0349eebd7a2a8826fad314515a3a5b9500278ebc8812647", "categorized_nodes": 28}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "type_definition", "text": "typede...
77,804
c
// Autogenerated C header file for Pulse Oximeter #ifndef _JACDAC_SPEC_PULSE_OXIMETER_H #define _JACDAC_SPEC_PULSE_OXIMETER_H 1 #define JD_SERVICE_CLASS_PULSE_OXIMETER 0x10bb4eb6 /** * Read-only % u8.8 (uint16_t). The estimated oxygen level in blood. */ #define JD_PULSE_OXIMETER_REG_OXYGEN JD_REG_READING /** * R...
35.08
13
(translation_unit) "// Autogenerated C header file for Pulse Oximeter\n#ifndef _JACDAC_SPEC_PULSE_OXIMETER_H\n#define _JACDAC_SPEC_PULSE_OXIMETER_H 1\n\n#define JD_SERVICE_CLASS_PULSE_OXIMETER 0x10bb4eb6\n\n/**\n * Read-only % u8.8 (uint16_t). The estimated oxygen level in blood.\n */\n#define JD_PULSE_OXIMETER_REG_OX...
24
0
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 35.08, "nodes": 20, "errors": 0, "source_hash": "ac7681a80ac3ac7b5478f5b9783909e10e0dceda2691a5a9c21ddb2c329aa54a", "categorized_nodes": 8}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef _...
77,805
c
/* * cpu.h: internal functions for CPU manipulation * * Copyright (C) 2009-2010, 2013 Red Hat, Inc. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the L...
31.05
183
(translation_unit) "/*\n * cpu.h: internal functions for CPU manipulation\n *\n * Copyright (C) 2009-2010, 2013 Red Hat, Inc.\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; eit...
1,094
11
{"language": "c", "success": true, "metadata": {"lines": 183, "avg_line_length": 31.05, "nodes": 781, "errors": 0, "source_hash": "f43f8ff572f808811fe2e7d33c415cbe029bfae7bbb72441aea078991779690a", "categorized_nodes": 461}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
77,806
c
#include <stdio.h> #include <string.h> #include <math.h> /*first way * int convert(int _dec) { int remiander=0; int divident=0 if( _dec==1) { return 1; } divident=_dec/2; remiander=divident%2+10*convert(divident); return remiander; } */ /* second way *...
18.77
91
(translation_unit) "#include <stdio.h>\n#include <string.h>\n#include <math.h>\n/*first way\n *\nint convert(int _dec)\n{ \n int remiander=0;\n int divident=0 \n if( _dec==1)\n {\n return 1;\n }\n divident=_dec/2;\n remiander=divident%2+10*convert(divident);\n return remiander; ...
117
0
{"language": "c", "success": true, "metadata": {"lines": 91, "avg_line_length": 18.77, "nodes": 63, "errors": 0, "source_hash": "315006dc2f2ef64f06406a9b7fe1b8008d1abdbe1a0fab298659ccf28fe7bc2e", "categorized_nodes": 48}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
77,807
c
// // ShaderProgramObject.h // DTLiving // // Created by <NAME> on 2020/3/13. // Copyright © 2020 Dan Thought Studio. All rights reserved. // #import <Foundation/Foundation.h> #include <OpenGLES/ES2/gl.h> #include <OpenGLES/ES2/glext.h> NS_ASSUME_NONNULL_BEGIN @interface ShaderProgramObject : NSObject - (instan...
29.05
19
(translation_unit) "//\n// ShaderProgramObject.h\n// DTLiving\n//\n// Created by <NAME> on 2020/3/13.\n// Copyright © 2020 Dan Thought Studio. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n#include <OpenGLES/ES2/gl.h>\n#include <OpenGLES/ES2/glext.h>\n\nNS_ASSUME_NONNULL_BEGIN\n\n@interface ShaderP...
123
10
{"language": "c", "success": true, "metadata": {"lines": 19, "avg_line_length": 29.05, "nodes": 73, "errors": 0, "source_hash": "d34861e4a8a533c7151df5255cef5153535c33ff9682141fea577adefa6ee714", "categorized_nodes": 46}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <F...
77,808
c
// // SSLayoutFrame+Cursor.h // DTCoreTextLayout // // Created by <NAME> on 16/9/13. // Copyright © 2016年 sunima. All rights reserved. // #import "SSLayoutFrame.h" @interface SSLayoutFrame (Cursor) /** Determines the closest string index to a point in the receiver's frame. This can be used to find the cursor...
27.58
24
(translation_unit) "//\n// SSLayoutFrame+Cursor.h\n// DTCoreTextLayout\n//\n// Created by <NAME> on 16/9/13.\n// Copyright © 2016年 sunima. All rights reserved.\n//\n\n#import "SSLayoutFrame.h"\n\n@interface SSLayoutFrame (Cursor)\n\n/**\n Determines the closest string index to a point in the receiver's frame.\n \n ...
59
6
{"language": "c", "success": true, "metadata": {"lines": 24, "avg_line_length": 27.58, "nodes": 31, "errors": 0, "source_hash": "d0eb1e4298afe211d0da684587a4c2183776f595b0b64ffc7612d5b83e4972a8", "categorized_nodes": 18}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "port \"SS...
77,809
c
/* * Copyright 2000-2001, <NAME>, <EMAIL>. * Distributed under the terms of the MIT License. */ #include "VGroup.h" #include <Entry.h> class MTextControl; class MPopup; class ConfigView: public VGroup { public: ConfigView(BMessage *_config); ~ConfigView(); virtual void MessageReceived(BMessage *mes); virtua...
19.31
26
(translation_unit) "/*\n * Copyright 2000-2001, <NAME>, <EMAIL>.\n * Distributed under the terms of the MIT License.\n */\n\n#include "VGroup.h"\n#include <Entry.h>\n\nclass MTextControl;\nclass MPopup;\n\nclass ConfigView: public VGroup\n{\npublic:\n ConfigView(BMessage *_config);\n ~ConfigView();\n \n virtual void Me...
119
3
{"language": "c", "success": true, "metadata": {"lines": 26, "avg_line_length": 19.31, "nodes": 74, "errors": 0, "source_hash": "673d4428a784561df8562c5624608ed0c0bf9fff4a5a3c765642a0a564e66c3d", "categorized_nodes": 50}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
77,810
c
#ifndef __RB_TOOLS_H__ #define __RB_TOOLS_H__ #ifdef __cplusplus extern "C" { #endif #include <stdint.h> int rb_to_rb(uint8_t *dst, int dst_p, int dst_sz, uint8_t *src, int src_p, int src_sz, int n); int rb_dist(int h, int t, int sz); #ifdef __cplusplus } #endif #endif
19.77
13
(translation_unit) "#ifndef __RB_TOOLS_H__\n#define __RB_TOOLS_H__\n\n#ifdef __cplusplus\nextern "C"\n{\n#endif\n\n#include <stdint.h>\n\nint rb_to_rb(uint8_t *dst, int dst_p, int dst_sz, uint8_t *src, int src_p, int src_sz, int n);\nint rb_dist(int h, int t, int sz);\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif\n" (pr...
88
0
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 19.77, "nodes": 67, "errors": 0, "source_hash": "f73e2afb73bc1a249823a189d048fcd2e18e740961769b3f9473afd8a09f30f2", "categorized_nodes": 45}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
77,811
c
#include<stdio.h> int main(void) { int i , j , k = 0; for (i = 5 ; i >= 1 ; i--) { for (j = 1 ; j <= i ; j++) { printf("%c" , 97 + k); } k++; printf("\n"); } return 0; }
9.83
18
(translation_unit) "#include<stdio.h>\n\nint main(void)\n{\n int i , j , k = 0;\n \n for (i = 5 ; i >= 1 ; i--)\n {\n for (j = 1 ; j <= i ; j++)\n {\n printf("%c" , 97 + k);\n }\n k++;\n printf("\n");\n }\n \n \n return 0;\n}\n" (preproc_include) "#include<stdio.h>\n" (#include) "#include" (system_lib...
103
0
{"language": "c", "success": true, "metadata": {"lines": 18, "avg_line_length": 9.83, "nodes": 60, "errors": 0, "source_hash": "134a364db19b5bcaa50095b18259ea821a9036e8a1287018a255cac162fe2ff1", "categorized_nodes": 43}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#includ...
77,812
c
#include <as/fdio.h> #include <as/pinfo.h> #include <as/string.h> #include <as/signal.h> #include <as/time.h> #include <as/trace.h> #include <pthread.h> #include <signal.h> volatile int threads = 0; static void put_separator(char c) { as_fprintf(AS_STDERR, "%c--------------------------------------------------------...
24.89
57
(translation_unit) "#include <as/fdio.h>\n#include <as/pinfo.h>\n#include <as/string.h>\n#include <as/signal.h>\n#include <as/time.h>\n#include <as/trace.h>\n\n#include <pthread.h>\n#include <signal.h>\n\nvolatile int threads = 0;\n\nstatic void put_separator(char c)\n{\n as_fprintf(AS_STDERR, "%c----------------------...
494
0
{"language": "c", "success": true, "metadata": {"lines": 57, "avg_line_length": 24.89, "nodes": 286, "errors": 0, "source_hash": "7d3c89a773c89ae28349237da430f8268531aff6b571c7f600b393d2c25bf255", "categorized_nodes": 178}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
77,813
c
#ifndef __TABLE_3D_H_ #define __TABLE_3D_H_ namespace nbl { namespace util { namespace detail { /** * \brief Responsible for managing the memory on the CPU or GPU device. * * Reason for putting this in a separate struct is that we can't * partially specialize member functions of the table_3D class. */ tem...
35.25
183
(translation_unit) "#ifndef __TABLE_3D_H_\n#define __TABLE_3D_H_\n\nnamespace nbl { namespace util {\n\nnamespace detail\n{\n /**\n * \brief Responsible for managing the memory on the CPU or GPU device.\n *\n * Reason for putting this in a separate struct is that we can't\n * partially specialize member functions o...
639
40
{"language": "c", "success": true, "metadata": {"lines": 183, "avg_line_length": 35.25, "nodes": 457, "errors": 0, "source_hash": "0cc06ed5dfb53164378c09b4aadf26f613950fee49e513b79ebec0317384c8dc", "categorized_nodes": 307}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
77,814
c
// // Bitmovin Player iOS SDK // Copyright (C) 2019, Bitmovin GmbH, All Rights Reserved // // This source code and its use and distribution, is subject to the terms // and conditions of the applicable license agreement. // #import <BitmovinPlayer/BMPAdConfig.h> #import <BitmovinPlayer/BMPAdTag.h> NS_ASSUME_NONNULL_B...
28.75
36
(translation_unit) "//\n// Bitmovin Player iOS SDK\n// Copyright (C) 2019, Bitmovin GmbH, All Rights Reserved\n//\n// This source code and its use and distribution, is subject to the terms\n// and conditions of the applicable license agreement.\n//\n\n#import <BitmovinPlayer/BMPAdConfig.h>\n#import <BitmovinPlayer/BMPA...
81
11
{"language": "c", "success": true, "metadata": {"lines": 36, "avg_line_length": 28.75, "nodes": 57, "errors": 0, "source_hash": "fa64888ef08011b43d7048bb334a2f6b2fef56c88eb01e687ad81f747967ce71", "categorized_nodes": 30}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <...
77,815
c
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* t_ssl.h :+: :+: :+: ...
37.64
42
(translation_unit) "/* ************************************************************************** */\n/* */\n/* ::: :::::::: */\n/* t_ssl.h ...
244
0
{"language": "c", "success": true, "metadata": {"lines": 42, "avg_line_length": 37.64, "nodes": 158, "errors": 0, "source_hash": "1203dc42688c264289ff57e8cf316c568abd4a2f85623ae02fbc6c48b3f92fa0", "categorized_nodes": 94}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
77,816
c
/* * Copyright (c) 2019 SK Telecom Co., Ltd. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requir...
25.54
147
(translation_unit) "/*\n * Copyright (c) 2019 SK Telecom Co., Ltd. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICE...
1,196
3
{"language": "c", "success": true, "metadata": {"lines": 147, "avg_line_length": 25.54, "nodes": 785, "errors": 0, "source_hash": "9bccce49e6ff3676942cb695d698505ac9b8e39857f46a4a658b52f781e7c8cb", "categorized_nodes": 539}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
77,817
c
#define FPRINTFTIME 1 #include "nstrftime.c"
21.5
2
(translation_unit) "#define FPRINTFTIME 1\n#include "nstrftime.c"\n" (preproc_def) "#define FPRINTFTIME 1\n" (#define) "#define" (identifier) "FPRINTFTIME" (preproc_arg) "1" (preproc_include) "#include "nstrftime.c"\n" (#include) "#include" (string_literal) ""nstrftime.c"" (") """ (s...
11
0
{"language": "c", "success": true, "metadata": {"lines": 2, "avg_line_length": 21.5, "nodes": 7, "errors": 0, "source_hash": "367e3cce29f832793b1e16b7d6902bed0d6d6be3ab7e92e9f888c0ee2afad1d0", "categorized_nodes": 4}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_def", "text": "#define FPRINT...
77,818
c
#include "libmx.h" /* * Replaces all occurances of sub in str with replace. */ char *mx_replace_substr(const char *str, const char *sub, const char *replace) { // Len of all objects. int len_str = mx_strlen(str); int len_sub = mx_strlen(sub); int len_replace = mx_strlen(replace); // Ca...
33.36
47
(translation_unit) "#include "libmx.h"\n\n/*\n * Replaces all occurances of sub in str with replace.\n */\nchar *mx_replace_substr(const char *str, const char *sub, const char *replace) {\n // Len of all objects.\n int len_str = mx_strlen(str); \n int len_sub = mx_strlen(sub);\n int len_replace = ...
326
0
{"language": "c", "success": true, "metadata": {"lines": 47, "avg_line_length": 33.36, "nodes": 204, "errors": 0, "source_hash": "dfe3b0d87844c5c1b5d893b9061df4b5e210f4b341515b883b2c90f31406fb1a", "categorized_nodes": 131}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
77,819
c
#ifndef _PRIVCTRL_H_ # define _PRIVCTRL_H_ # ifdef __cplusplus extern "C" { # endif #ifndef min # define min(a,b) (((a) < (b)) ? (a) : (b)) #endif #ifndef max # define max(a,b) (((a) > (b)) ? (a) : (b)) #endif # ifndef PRIVCTRLAPI # ifndef PRIVCTRL_NODLL # define PRIVCTRLAPI DECLSPEC_IMPORT WINAPI # else # def...
39.59
85
(translation_unit) "#ifndef _PRIVCTRL_H_\n# define _PRIVCTRL_H_\n\n# ifdef __cplusplus\nextern "C" {\n# endif\n\n#ifndef min\n# define min(a,b) (((a) < (b)) ? (a) : (b))\n#endif\n#ifndef max\n# define max(a,b) (((a) > (b)) ? (a) : (b))\n#endif\n\n# ifndef PRIVCTRLAPI\n# ifndef PRIVCTRL_NODLL\n# define PRIVCTRLAPI DE...
422
0
{"language": "c", "success": true, "metadata": {"lines": 85, "avg_line_length": 39.59, "nodes": 342, "errors": 0, "source_hash": "4e0df80855c33c986cdd8a3e76c88196a9dad3344fb81bf2014f2d529862ac4a", "categorized_nodes": 170}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
77,820
c
// RUN: %clang_cc1 %s -emit-llvm -O1 -relaxed-aliasing -o - | FileCheck %s enum e1 {e1_a = -1 }; enum e1 g1(enum e1 *x) { return *x; } // CHECK: define i32 @g1 // CHECK: load i32* %x, align 4 // CHECK-NOT: range // CHECK: ret
24.33
9
(translation_unit) "// RUN: %clang_cc1 %s -emit-llvm -O1 -relaxed-aliasing -o - | FileCheck %s\n\nenum e1 {e1_a = -1 };\nenum e1 g1(enum e1 *x) {\n return *x;\n}\n\n// CHECK: define i32 @g1\n// CHECK: load i32* %x, align 4\n// CHECK-NOT: range\n// CHECK: ret\n" (comment) "// RUN: %clang_cc1 %s -emit-llvm -O1 -relaxe...
42
0
{"language": "c", "success": true, "metadata": {"lines": 9, "avg_line_length": 24.33, "nodes": 26, "errors": 0, "source_hash": "af4339d5b812533a5fea3b7a5c3e3fd84d90510e95496fb2844be4acf47a3ac8", "categorized_nodes": 21}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "enum_specifier", "text": "enum e1 ...
77,821
c
#include <stdio.h> #include <windows.h> extern "C"{ #include "micronucleus_lib.h" #include "littleWire_util.h" } class UnManaged_USB { public: int UnManaged_USB::cpp_flash_dev(unsigned char * program, size_t p_size, int fastmode, int timeout, int run); };
23.36
11
(translation_unit) "#include <stdio.h>\n#include <windows.h>\n\nextern "C"{\n #include "micronucleus_lib.h"\n #include "littleWire_util.h"\n}\n\nclass UnManaged_USB\n{\npublic:\n int UnManaged_USB::cpp_flash_dev(unsigned char * program, size_t p_size, int fastmode, int timeout, int run);\n};" (preproc_includ...
74
1
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 23.36, "nodes": 44, "errors": 0, "source_hash": "74ca90524d281f39aeb1411865f816df2159190a74dd2e805d09e1aa0bd5c883", "categorized_nodes": 31}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
77,822
c
/** * Definition for a binary tree node. * struct TreeNode { * int val; * struct TreeNode *left; * struct TreeNode *right; * }; */ int sum; int max(int a, int b) { return (a > b) ? a : b; } int maxPathDown(struct TreeNode* root) { if (root == NULL) return 0; int left = max(0, maxPathDown...
22.31
26
(translation_unit) "/**\n * Definition for a binary tree node.\n * struct TreeNode {\n * int val;\n * struct TreeNode *left;\n * struct TreeNode *right;\n * };\n */\nint sum;\nint max(int a, int b)\n{\n return (a > b) ? a : b;\n}\n\nint maxPathDown(struct TreeNode* root) {\n if (root == NULL) return 0...
201
0
{"language": "c", "success": true, "metadata": {"lines": 26, "avg_line_length": 22.31, "nodes": 133, "errors": 0, "source_hash": "de997d46c700c6e4d9b3aad1ed22552aaf2e13763aa1c87509666faa19090354", "categorized_nodes": 94}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "declaration", "text": "int sum;"...
77,823
c
/*************************************************************************************** * Original Author: <NAME> * Created: 2018-01-19 * Copyright: <NAME> (https://github.com/GabrieleGiuseppini) ***************************************************************************************/ #pragma once #include <std...
32.6
15
(translation_unit) "/***************************************************************************************\n* Original Author: <NAME>\n* Created: 2018-01-19\n* Copyright: <NAME> (https://github.com/GabrieleGiuseppini)\n***************************************************************************************/\n#p...
66
4
{"language": "c", "success": true, "metadata": {"lines": 15, "avg_line_length": 32.6, "nodes": 33, "errors": 0, "source_hash": "6eff55e1c0b0095ee0c0c6ba0f666c7d0426eab8e439d81855ebce1f4cc095ed", "categorized_nodes": 22}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma on...
77,824
c
/* Различные установки в системе можно получить, используя утилиту getconf в интерпретаторе. */ #include <stdio.h> #include <unistd.h> int main(int argc, char** argv) { if (argc != 2) { printf("usage: %s <pathname>\n", argv[0]); return 1; } printf("PIPE_BUF = %ld, OPEN_MAX = %ld\n", ...
24.69
16
(translation_unit) "/*\n Различные установки в системе можно получить,\n используя утилиту getconf в интерпретаторе.\n*/\n\n#include <stdio.h>\n#include <unistd.h>\n\nint main(int argc, char** argv) {\n if (argc != 2) {\n printf("usage: %s <pathname>\n", argv[0]);\n return 1;\n }\n\n printf("PI...
99
0
{"language": "c", "success": true, "metadata": {"lines": 16, "avg_line_length": 24.69, "nodes": 53, "errors": 0, "source_hash": "fe9c5fc50df5bec44c8c163cac57b612d3c833501b69b4b5f609d787a8442dae", "categorized_nodes": 39}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": ") {\n ...
77,825
c
// // Generated by classdumpios 1.0.1 (64 bit) (iOS port by DreamDevLost)(Debug version compiled Sep 26 2020 13:48:20). // // Copyright (C) 1997-2019 <NAME>. // #import "TVTableViewCell.h" @interface _TVMusicLibraryTableViewCell : TVTableViewCell { } - (void)layoutSubviews; // IMP=0x000000010006e1ec - (void)pre...
33.62
13
(translation_unit) "//\n// Generated by classdumpios 1.0.1 (64 bit) (iOS port by DreamDevLost)(Debug version compiled Sep 26 2020 13:48:20).\n//\n// Copyright (C) 1997-2019 <NAME>.\n//\n\n#import "TVTableViewCell.h"\n\n@interface _TVMusicLibraryTableViewCell : TVTableViewCell\n{\n}\n\n- (void)layoutSubviews; // IM...
74
8
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 33.62, "nodes": 40, "errors": 0, "source_hash": "b61fb9a894b9909dd4fa01ebed7cd450e1ccf3902620a2f5a43c69e6387e162a", "categorized_nodes": 21}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import \...
77,826
c
// // NavigationTopViewController.h // ECSlidingViewController // // Created by <NAME> on 2/13/12. // Copyright (c) 2012 EdgeCase. All rights reserved. // #import <UIKit/UIKit.h> #import "ECSlidingViewController.h" #import "MenuViewController.h" #import "UnderRightViewController.h" @interface NavigationTopViewCon...
26.38
13
(translation_unit) "//\n// NavigationTopViewController.h\n// ECSlidingViewController\n//\n// Created by <NAME> on 2/13/12.\n// Copyright (c) 2012 EdgeCase. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n#import "ECSlidingViewController.h"\n#import "MenuViewController.h"\n#import "UnderRightViewController.h"\n...
28
3
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 26.38, "nodes": 18, "errors": 0, "source_hash": "ad7c43cb656acde40ccde95773f5e3cd84f14d1af45276e0e5762f0074c23003", "categorized_nodes": 7}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <U...
77,827
c
/* **************************************************************************** * Copyright(C) 2019 Maxim Integrated Products, Inc., All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files(the "Software"), * to deal...
31.38
188
(translation_unit) "/* ****************************************************************************\n * Copyright(C) 2019 Maxim Integrated Products, Inc., All Rights Reserved.\n *\n * Permission is hereby granted, free of charge, to any person obtaining a\n * copy of this software and associated documentation files(the...
1,088
0
{"language": "c", "success": true, "metadata": {"lines": 188, "avg_line_length": 31.38, "nodes": 691, "errors": 0, "source_hash": "73cdbd08edd71d44db68c094a963dddfd26a789fa39453500273c02f8fba52d0", "categorized_nodes": 509}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
77,828
c
#pragma once #include <map> #include <string> class Config { private: std::map<std::string, std::string> configMap; void load(); void save(); public: Config(); Config(Config const&) = delete; void operator = (Config const&) = delete; static Config& getIn...
26.76
17
(translation_unit) "#pragma once\n\n#include <map>\n#include <string>\n\nclass Config {\n private:\n std::map<std::string, std::string> configMap;\n void load();\n void save();\n public:\n Config();\n Config(Config const&) = delete;\n void operator = (Config const&) = del...
171
11
{"language": "c", "success": true, "metadata": {"lines": 17, "avg_line_length": 26.76, "nodes": 94, "errors": 0, "source_hash": "71ce02d90e8822eb89328b7df21b1474ec2185ab744b02f2e0d7e8f6ec9bbe40", "categorized_nodes": 62}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
77,829
c
#include "iota.h" void iota(value_type* a, size_type n, value_type v) { /*@ loop invariant bound: 0 <= i <= n; loop invariant limit: v == \at(v, Pre) + i; loop invariant increment: IotaGenerate(a, i, \at(v, Pre)); loop assigns i, v, a[0..n-1]; loop variant n-i; */ for (size_type i =...
22.87
15
(translation_unit) "#include "iota.h"\n\nvoid\niota(value_type* a, size_type n, value_type v)\n{\n /*@\n loop invariant bound: 0 <= i <= n;\n loop invariant limit: v == \at(v, Pre) + i;\n loop invariant increment: IotaGenerate(a, i, \at(v, Pre));\n\n loop assigns i, v, a[0..n-1];\n loop variant ...
65
0
{"language": "c", "success": true, "metadata": {"lines": 15, "avg_line_length": 22.87, "nodes": 41, "errors": 0, "source_hash": "c6a61ea05e07f6271ca8ee0c88ef332bb2ff721f74260c6e13b1ac5b281d568c", "categorized_nodes": 31}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
77,830
c
// Fill out your copyright notice in the Description page of Project Settings. #pragma once #include "CoreMinimal.h" #include "Engine/UserDefinedEnum.h" #include "ItemTypes.generated.h" /** * */ UENUM(Blueprinttype) enum class EItemType : uint8 { None UMETA(DisplayName = "None"), Weapon UMETA(DisplayName...
25.12
16
(translation_unit) "// Fill out your copyright notice in the Description page of Project Settings.\n\n#pragma once\n\n#include "CoreMinimal.h"\n#include "Engine/UserDefinedEnum.h"\n#include "ItemTypes.generated.h"\n\n/**\n * \n */\n UENUM(Blueprinttype)\n enum class EItemType : uint8\n {\n None UMETA(DisplayName = "N...
115
8
{"language": "c", "success": true, "metadata": {"lines": 16, "avg_line_length": 25.12, "nodes": 63, "errors": 0, "source_hash": "82e56c18cd3e473469fce2ed530d68462d226dbea7c41a9282b37f589a1e7bd0", "categorized_nodes": 43}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
77,831
c
/** * Copyright (c) 2020 <NAME> - All Rights Reserved * * This file is part of the Refureku library project which is released under the MIT License. * See the README.md file for full license details. */ #pragma once #include <type_traits> #include "Refureku/TypeInfo/Entity/Entity.h" namespace rfk { class EnumValue...
31.06
33
(translation_unit) "/**\n* Copyright (c) 2020 <NAME> - All Rights Reserved\n*\n* This file is part of the Refureku library project which is released under the MIT License.\n* See the README.md file for full license details.\n*/\n\n#pragma once\n\n#include <type_traits>\n\n#include "Refureku/TypeInfo/Entity/Entity.h"\n\...
180
10
{"language": "c", "success": true, "metadata": {"lines": 33, "avg_line_length": 31.06, "nodes": 112, "errors": 0, "source_hash": "f42ae551d7d909c879b82d794e1cf7269998dcbe0c869ebef61ca7339c43d09c", "categorized_nodes": 74}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma ...
77,832
c
// // Business.h // Business // // Created by !>-<! on 2019/3/4. // Copyright © 2019 !>-<!. All rights reserved. // #import <UIKit/UIKit.h> //! Project version number for Business. FOUNDATION_EXPORT double BusinessVersionNumber; //! Project version string for Business. FOUNDATION_EXPORT const unsigned char Busin...
35.23
13
(translation_unit) "//\n// Business.h\n// Business\n//\n// Created by !>-<! on 2019/3/4.\n// Copyright © 2019 !>-<!. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n//! Project version number for Business.\nFOUNDATION_EXPORT double BusinessVersionNumber;\n\n//! Project version string for Business.\nFOUNDATIO...
33
1
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 35.23, "nodes": 15, "errors": 0, "source_hash": "dc2cdf4855aaa75b1bf66b799d7de5981e57e5a67a47fd476220dc448c46c19a", "categorized_nodes": 11}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <U...
77,833
c
/* $XFree86: xc/programs/Xserver/hw/xfree86/common/xf86Bus.h,v 1.23 2003/08/24 17:36:50 dawes Exp $ */ /* * Copyright (c) 1997-2003 by The XFree86 Project, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), ...
36.41
145
(translation_unit) "/* $XFree86: xc/programs/Xserver/hw/xfree86/common/xf86Bus.h,v 1.23 2003/08/24 17:36:50 dawes Exp $ */\n\n/*\n * Copyright (c) 1997-2003 by The XFree86 Project, Inc.\n *\n * Permission is hereby granted, free of charge, to any person obtaining a\n * copy of this software and associated documentation...
655
0
{"language": "c", "success": true, "metadata": {"lines": 145, "avg_line_length": 36.41, "nodes": 496, "errors": 0, "source_hash": "cfa54ad992f7738e7e7987919149d315acedd90d6f26d7c8ba04af5763920722", "categorized_nodes": 354}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifde...
77,834
c
enum procerr { ERR_PROC_OK, ERR_PROC_FORK, ERR_PROC_EXEC, ERR_PROC_SIGNALED, ERR_PROC_STOPPED, ERR_PROC_WAIT, ERR_PROC_UNKNOWN, }; void procPath (char *); void procDumpArgs(unsigned, char * const []); enum procerr procRun(unsigned, char * const [], int *);
21.25
12
(translation_unit) "enum procerr {\n ERR_PROC_OK,\n ERR_PROC_FORK,\n ERR_PROC_EXEC,\n ERR_PROC_SIGNALED,\n ERR_PROC_STOPPED,\n ERR_PROC_WAIT,\n ERR_PROC_UNKNOWN, \n};\n\nvoid procPath (char *);\nvoid procDumpArgs(unsigned, char * const []);\nenum procerr procRun(unsigned, char * const [], int *);\n" (enum_specifier...
90
0
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 21.25, "nodes": 59, "errors": 0, "source_hash": "6c6f162fdb11c2d103a34556258b903d0f9e407ada06fbf63d789e256a84a662", "categorized_nodes": 38}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "enum_specifier", "text": "enum pr...
77,835
c
int NUM_FLOWLETS = 8000; int THRESHOLD = 5; int NUM_HOPS = 10; struct Packet { int sport; int dport; int new_hop; int arrival; int next_hop; int id; // array index }; int last_time [NUM_FLOWLETS] = {0}; int saved_hop [NUM_FLOWLETS] = {0}; void flowlet(Packet& pkt, Packet& out) { // Compute packet id ...
23.97
35
(translation_unit) "int NUM_FLOWLETS = 8000;\nint THRESHOLD = 5;\nint NUM_HOPS = 10;\n\nstruct Packet {\n int sport;\n int dport;\n int new_hop;\n int arrival;\n int next_hop;\n int id; // array index\n};\n\nint last_time [NUM_FLOWLETS] = {0};\nint saved_hop [NUM_FLOWLETS] = {0};\n\nvoid flowlet(Packet& pkt, Pack...
241
2
{"language": "c", "success": true, "metadata": {"lines": 35, "avg_line_length": 23.97, "nodes": 151, "errors": 0, "source_hash": "525eb93e2f6a6cd97f8c6baf8097ffabe8f493a02fbe48eaf922d09bc8cedaa2", "categorized_nodes": 112}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "declaration", "text": "int NUM_...
77,836
c
#ifndef __SJ_ISEEPLUSPLUS_H__ #define __SJ_ISEEPLUSPLUS_H__ #include <string> #include <vector> /** * @file */ namespace SJ { /** * @class ISeePlusPlus * @brief */ class ISeePlusPlus { public: /** * Destructor. */ virtual ~ISeePlusPlus() {} ...
30.64
59
(translation_unit) "#ifndef __SJ_ISEEPLUSPLUS_H__ \n#define __SJ_ISEEPLUSPLUS_H__ \n \n#include <string> \n#include <vector> \n \n/** \n * @file \n */ \nnamespace SJ { \n/** \n * @class ISeePlusPlus \n * @brief \n */ \n class ISeePlusPlus { \n public: \n \n /** \n * Destructor. \n */ \n ...
163
7
{"language": "c", "success": true, "metadata": {"lines": 59, "avg_line_length": 30.64, "nodes": 99, "errors": 0, "source_hash": "c153d784990000d4ec6e842ef89c86d6167cca43da046aaced91de5013ef81da", "categorized_nodes": 63}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
77,837
c
// // MutableArray-WeakReferences.h // // Created by <NAME> on 05/12/09. // #import <Foundation/Foundation.h> /** * Adds to NSMutableArray the ability to create an array that keeps weak references. */ @interface NSMutableArray (WeakReferences) /** Create an NSMutableArray that uses weak references. */ + (id) m...
29.79
29
(translation_unit) "//\n// MutableArray-WeakReferences.h\n//\n// Created by <NAME> on 05/12/09.\n//\n\n#import <Foundation/Foundation.h>\n\n\n/**\n * Adds to NSMutableArray the ability to create an array that keeps weak references.\n */\n@interface NSMutableArray (WeakReferences)\n\n/** Create an NSMutableArray that ...
80
6
{"language": "c", "success": true, "metadata": {"lines": 29, "avg_line_length": 29.79, "nodes": 42, "errors": 0, "source_hash": "400dbfc8c9e0eb4ace6a59b8fe0ea959fd7da005a09267aeba57ce51f30c2090", "categorized_nodes": 25}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <...
77,838
c
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include <aws/amplify/Amplify_EXPORTS.h> #include <aws/amplify/model/JobSummary.h> #include <aws/core/utils/memory/stl/AWSVector.h> #include <aws/amplify/model/Step.h> #include <utility> ...
35.25
103
(translation_unit) "*\n * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n * SPDX-License-Identifier: Apache-2.0.\n */\n\n#pragma once\n#include <aws/amplify/Amplify_EXPORTS.h>\n#include <aws/amplify/model/JobSummary.h>\n#include <aws/core/utils/memory/stl/AWSVector.h>\n#include <aws/amplify/model/S...
697
41
{"language": "c", "success": true, "metadata": {"lines": 103, "avg_line_length": 35.25, "nodes": 435, "errors": 0, "source_hash": "6e165fc1f6c7503de4b01f667d6be5440de40931fbf1a489bcec487620e6e29c", "categorized_nodes": 280}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "ragma ...
77,839
c
/* * Copyright (C) 2015 Intel Corporation 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 be useful, ...
28.95
95
(translation_unit) "/*\n* Copyright (C) 2015 Intel Corporation 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 in the ho...
685
0
{"language": "c", "success": true, "metadata": {"lines": 95, "avg_line_length": 28.95, "nodes": 390, "errors": 0, "source_hash": "dff612312d8146e0211d83c44e5c0397ffbcc70e3f8de4fa60f16bac4dd17efc", "categorized_nodes": 279}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
77,840
c
#ifndef MAIN_WINDOW_H #define MAIN_WINDOW_H #include <QDialog> namespace Ui { class MainWindow; } class MainWindow : public QDialog { Q_OBJECT public: explicit MainWindow(QWidget *parent = nullptr); ~MainWindow(); private: Ui::MainWindow *ui; }; #endif // MAIN_WINDOW_H
16.38
16
(translation_unit) "#ifndef MAIN_WINDOW_H\n#define MAIN_WINDOW_H\n\n#include <QDialog>\n\nnamespace Ui {\nclass MainWindow;\n}\n\nclass MainWindow : public QDialog\n{\n Q_OBJECT\n\npublic:\n explicit MainWindow(QWidget *parent = nullptr);\n ~MainWindow();\n\nprivate:\n Ui::MainWindow *ui;\n};\n\n#endif // MAIN_WIND...
80
4
{"language": "c", "success": true, "metadata": {"lines": 16, "avg_line_length": 16.38, "nodes": 48, "errors": 0, "source_hash": "c81f0adaa3d7315a4c1b8f5c51b458a92bd48637a98f4c5e87af83dab1fc56a3", "categorized_nodes": 31}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
77,841
c
// // ISOResourceMgr.h // Halime // // Created by iso on Sat May 19 2001. // Copyright (c) 2001 <NAME>. All rights reserved. // #import <Foundation/Foundation.h> #import "ISONewsGroup.h" @interface ISOResourceMgr : NSObject { } + (void)createResourceFilesIfNeeded; + (BOOL)createDirectory:(NSString *)aDirectory;...
29.09
22
(translation_unit) "//\n// ISOResourceMgr.h\n// Halime\n//\n// Created by iso on Sat May 19 2001.\n// Copyright (c) 2001 <NAME>. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n#import "ISONewsGroup.h"\n\n@interface ISOResourceMgr : NSObject\n{\n\n}\n\n+ (void)createResourceFilesIfNeeded;\n+ (BOOL)cr...
176
18
{"language": "c", "success": true, "metadata": {"lines": 22, "avg_line_length": 29.09, "nodes": 108, "errors": 0, "source_hash": "cefa25a65d0b46395e00ea1fb74958cb57d269625edd97830fcb50c6a14373b3", "categorized_nodes": 54}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import ...
77,842
c
#if !defined(AFX_DLGPTOOLBROWSER_H__58309652_2039_4597_ABEF_86C8F9AD43AC__INCLUDED_) #define AFX_DLGPTOOLBROWSER_H__58309652_2039_4597_ABEF_86C8F9AD43AC__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 #include "resource.h" #include <MFC\BasicToolDlg.h> #include <MFC\ODListBox.h> ...
25.75
128
(translation_unit) "#if !defined(AFX_DLGPTOOLBROWSER_H__58309652_2039_4597_ABEF_86C8F9AD43AC__INCLUDED_) \n#define AFX_DLGPTOOLBROWSER_H__58309652_2039_4597_ABEF_86C8F9AD43AC__INCLUDED_ \n \n#if _MSC_VER > 1000 \n#pragma once \n#endif // _MSC_VER > 1000 \n \n \n \n#include "resource.h" \n \n#include <MFC\BasicToolDlg.h...
553
37
{"language": "c", "success": true, "metadata": {"lines": 128, "avg_line_length": 25.75, "nodes": 354, "errors": 0, "source_hash": "8143bae23d5f49d4664bf011a32353ebd3db2501d0afcedd04cb9add64d6c1dc", "categorized_nodes": 251}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_if", "text": "#if !def...
77,843
c
// // FAITHCityHeadView.h // 综合案例 // // Created by FAITH on 16/11/3. // Copyright © 2016年 FAITH. All rights reserved. // #import <UIKit/UIKit.h> @interface FAITHCityHeadView : UICollectionReusableView @property(nonatomic,strong) NSString *citySection; @end
22.73
11
(translation_unit) "//\n// FAITHCityHeadView.h\n// 综合案例\n//\n// Created by FAITH on 16/11/3.\n// Copyright © 2016年 FAITH. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface FAITHCityHeadView : UICollectionReusableView\n@property(nonatomic,strong) NSString *citySection;\n@end\n" (comment) "//" (co...
36
6
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 22.73, "nodes": 23, "errors": 0, "source_hash": "b398ac24ba496ac357c85635645e7b9c58acfd746c07acd96bbb025e46f375d4", "categorized_nodes": 12}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "Kit/UIKit...
77,844
c
#include <stdlib.h> #include <stdbool.h> #include "grafo.h" #include "lista.h" /* ***************************** * INICIALIZACION * ****************************/ // Inicializa un arreglo con false para los visitados. bool* inicializar_visitados(grafo_t* grafo) { int cant_vertices = grafo_cantidad_vertices(g...
25.65
138
(translation_unit) "#include <stdlib.h>\n#include <stdbool.h>\n\n#include "grafo.h"\n#include "lista.h"\n\n/* *****************************\n * INICIALIZACION\n * ****************************/\n\n// Inicializa un arreglo con false para los visitados.\nbool* inicializar_visitados(grafo_t* grafo) {\n\n int cant_ver...
1,066
0
{"language": "c", "success": true, "metadata": {"lines": 138, "avg_line_length": 25.65, "nodes": 694, "errors": 0, "source_hash": "03658bae18424199b56a88b55631c882c953a450c0a7d8ea245194cfc1a0d7ff", "categorized_nodes": 396}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
77,845
c
// // Devices to select. Only one device must be selected // //#define GNARL_DEVICE_TTGO_V1 #define GNARL_DEVICE_TTGO_V2 // // Pump Settings // #define PUMP_FREQUENCY 916650000 #define PUMP_ID "123456"
17.64
11
(translation_unit) "//\n// Devices to select. Only one device must be selected\n//\n\n//#define GNARL_DEVICE_TTGO_V1\n\n#define GNARL_DEVICE_TTGO_V2\n\n\n\n//\n// Pump Settings\n//\n\n#define PUMP_FREQUENCY 916650000\n\n#define PUMP_ID "123456"\n" (comment) "//" (comment) "// Devices to select. Only one device m...
19
0
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 17.64, "nodes": 11, "errors": 0, "source_hash": "f3dfa3269692b8d6fad663653f9ee671bd4782c6b6392ebdec0e4b152dd7c8aa", "categorized_nodes": 3}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_def", "text": "#define GNA...
77,846
c
#pragma once #include <mutex> #include <condition_variable> #include <chrono> class semaphore { private: int count; std::mutex mutex; std::condition_variable condition; public: inline semaphore(int count) : count(count) { } inline void Wait() { std::unique_lock<std::mutex> lock(mutex); condition.wait(loc...
22.22
32
(translation_unit) "#pragma once\n\n#include <mutex>\n#include <condition_variable>\n#include <chrono>\n\nclass semaphore\n{\nprivate:\n int count;\n std::mutex mutex;\n std::condition_variable condition;\n\npublic:\n inline semaphore(int count)\n : count(count) { }\n\n inline void Wait() {\n std::unique_lock<std::mu...
320
18
{"language": "c", "success": true, "metadata": {"lines": 32, "avg_line_length": 22.22, "nodes": 186, "errors": 0, "source_hash": "d73a46d37bd0647cd0eadfa7fca5449aa57cb45188de7818eef0d6ded80469a4", "categorized_nodes": 128}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
77,847
c
#pragma once #include <wrl/client.h> namespace wgut { template <typename T> using ComPtr = Microsoft::WRL::ComPtr<T>; // inline void ThrowIfFailed(HRESULT hr) // { // if (FAILED(hr)) // { // // Set a breakpoint on this line to catch Win32 API errors. // throw Platform::Exception...
19.11
19
(translation_unit) "#pragma once \n#include <wrl/client.h> \n \nnamespace wgut \n{ \n \ntemplate <typename T> \nusing ComPtr = Microsoft::WRL::ComPtr<T>; \n \n// inline void ThrowIfFailed(HRESULT hr) \n// { \n// if (FAILED(hr)) \n// { \n// // Set a breakpoint on this line to catch Win32 API errors. \n//...
51
4
{"language": "c", "success": true, "metadata": {"lines": 19, "avg_line_length": 19.11, "nodes": 32, "errors": 0, "source_hash": "c592c68da7007a2c71bbc1da744cd892e8a9777400ea15dbb944225f4b7f8e3b", "categorized_nodes": 20}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
77,848
c
/** * blockchain.h * Classes to manage blockchains * * Created on: Apr 8, 2018 * Author: <NAME> <<EMAIL> */ #pragma once #include <atomic> #include <vector> #include "primitives/FinalBlock.h" namespace Devcash { class Blockchain { public: typedef std::shared_ptr<FinalBlock> BlockSharedPtr; explici...
28.29
120
(translation_unit) "/**\n * blockchain.h\n * Classes to manage blockchains\n *\n * Created on: Apr 8, 2018\n * Author: <NAME> <<EMAIL>\n */\n#pragma once\n\n#include <atomic>\n#include <vector>\n\n#include "primitives/FinalBlock.h"\n\nnamespace Devcash {\n\nclass Blockchain {\npublic:\n typedef std::shared_ptr<...
817
27
{"language": "c", "success": true, "metadata": {"lines": 120, "avg_line_length": 28.29, "nodes": 461, "errors": 0, "source_hash": "7f6f540fbf022e5de666dd817fc50cb9607fa35d4d8951c7114aee1d87299158", "categorized_nodes": 324}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragm...
77,849
c
// // JXAAdsManager.h // JXVideoAds_Example // // Created by Code-TanJX on 2019/6/19. // Copyright © 2019 tanjiaxiang. All rights reserved. // #import <UIKit/UIKit.h> #import "JXAVideoConstant.h" @interface JXAAdsManager : IMAAdsManager @end
21.36
11
(translation_unit) "//\n// JXAAdsManager.h\n// JXVideoAds_Example\n//\n// Created by Code-TanJX on 2019/6/19.\n// Copyright © 2019 tanjiaxiang. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n#import "JXAVideoConstant.h"\n\n@interface JXAAdsManager : IMAAdsManager\n\n@end\n" (comment) "//" (comment) "// J...
22
3
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 21.36, "nodes": 11, "errors": 0, "source_hash": "e31dfb75cfbe77c3749383047401d4ab80ccbaf227d58f8c050385dee1bc200a", "categorized_nodes": 6}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <UI...
77,850
c
// // AnyController.h // WebDemo // // Created by WangChris on 2017/10/25. // Copyright © 2017年 <EMAIL>. All rights reserved. // #import "AgentManager.h" #import "ViewController.h" #include <string> using namespace std; using namespace anysdk::framework; class AnyController: public PayResultListener, public User...
24.6
48
(translation_unit) "//\n// AnyController.h\n// WebDemo\n//\n// Created by WangChris on 2017/10/25.\n// Copyright © 2017年 <EMAIL>. All rights reserved.\n//\n\n#import "AgentManager.h"\n#import "ViewController.h"\n#include <string>\n\nusing namespace std;\nusing namespace anysdk::framework;\n\nclass AnyController: pu...
289
11
{"language": "c", "success": true, "metadata": {"lines": 48, "avg_line_length": 24.6, "nodes": 191, "errors": 0, "source_hash": "e0a17c198c8e39e81b341f1145282ece24163ccd5c404aa5915ae212c2a0c7f6", "categorized_nodes": 127}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "port \"A...
77,851
c
// // BKBrowserInfo.h // CustomBrowserKit // // Created by KY1VSTAR on 25.03.18. // #import <Foundation/Foundation.h> typedef NS_ENUM(NSInteger, BKBrowser); NS_ASSUME_NONNULL_BEGIN /** Additional info for `BKBrowser`. Internal class. */ @interface BKBrowserInfo : NSObject @property (nonatomic, readonly) NSStr...
27.05
20
(translation_unit) "//\n// BKBrowserInfo.h\n// CustomBrowserKit\n//\n// Created by KY1VSTAR on 25.03.18.\n//\n\n#import <Foundation/Foundation.h>\n\ntypedef NS_ENUM(NSInteger, BKBrowser);\n\nNS_ASSUME_NONNULL_BEGIN\n\n/**\n Additional info for `BKBrowser`. Internal class.\n */\n@interface BKBrowserInfo : NSObject\n\...
127
14
{"language": "c", "success": true, "metadata": {"lines": 20, "avg_line_length": 27.05, "nodes": 82, "errors": 0, "source_hash": "81610e39aa12fd5fe63cadb849362ec013fb42af3fdab15b9340422ac25fad82", "categorized_nodes": 47}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <...
77,852
c
#pragma once #include "sl_status.h" #ifdef __cplusplus extern "C" { #endif #define _ARDUCAM_LEVEL_COUNT(name) (((ARDUCAM_ ## name ## _LEVEL_MAX) - (ARDUCAM_## name ##_LEVEL_MIN)) + 1) /** * @brief Brightness levels * * @ref ARDUCAM_SETTING_BRIGHTNESS min/max levels */ #define ARDUCAM_BRIGHTNESS_LEVEL_MIN ...
25.99
136
(translation_unit) "#pragma once\n\n\n#include "sl_status.h"\n\n\n#ifdef __cplusplus\nextern "C" {\n#endif\n\n\n#define _ARDUCAM_LEVEL_COUNT(name) (((ARDUCAM_ ## name ## _LEVEL_MAX) - (ARDUCAM_## name ##_LEVEL_MIN)) + 1)\n\n/**\n * @brief Brightness levels\n * \n * @ref ARDUCAM_SETTING_BRIGHTNESS min/max levels\n */\n#...
294
3
{"language": "c", "success": true, "metadata": {"lines": 136, "avg_line_length": 25.99, "nodes": 204, "errors": 0, "source_hash": "b6f6548e4ca9ffa7f1c17c947d4c6a5584af1c0ed116462491c0cf33ae5b7826", "categorized_nodes": 144}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragm...
77,853
c
// SKIP PARAM: --set ana.activated[+] apron #include <pthread.h> #include <assert.h> void *t_fun(int arg) { assert(arg == 3); // TODO (cast through void*) return NULL; } int main(void) { int x = 3; pthread_t id; pthread_create(&id, NULL, t_fun, x); return 0; }
20
13
(translation_unit) "// SKIP PARAM: --set ana.activated[+] apron\n#include <pthread.h>\n#include <assert.h>\n\nvoid *t_fun(int arg) {\n assert(arg == 3); // TODO (cast through void*)\n return NULL;\n}\n\nint main(void) {\n int x = 3;\n\n pthread_t id;\n pthread_create(&id, NULL, t_fun, x);\n\n return 0;\n}\n" (c...
84
0
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 20.0, "nodes": 53, "errors": 0, "source_hash": "bb920c0eb081a0f94a1386538bb8fa081ffd90ea68084d8795946ca6675964d3", "categorized_nodes": 35}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#includ...
77,854
c
#include "nz_common.h" /******************************************************************************/ #define __nz_errstr_try_flush(error) \ do{ \ if(error->errstr){ \ nz_free(error->errstr); \ error->errstr = NULL; \ } \ }while(0) /****************************************************************************...
26.63
100
(translation_unit) "#include "nz_common.h"\n\n/******************************************************************************/\n\n#define __nz_errstr_try_flush(error) \\ndo{ \\n if(error->errstr){ \\n nz_free(error->errstr); \\n error->errstr = NULL; \\n } \\n}while(0)\n\n/********************************************...
705
0
{"language": "c", "success": true, "metadata": {"lines": 100, "avg_line_length": 26.63, "nodes": 418, "errors": 0, "source_hash": "4e1419b3a3a9df37fc0050f921d3b9aaaebe37d82bb8375ee414835f11e61042", "categorized_nodes": 301}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
77,855
c
/* * Copyright © 2020 <NAME> * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, publish, distr...
36.88
263
(translation_unit) "/*\n * Copyright © 2020 <NAME>\n *\n * Permission is hereby granted, free of charge, to any person obtaining a\n * copy of this software and associated documentation files (the "Software"),\n * to deal in the Software without restriction, including without limitation\n * the rights to use, copy, mod...
1,688
0
{"language": "c", "success": true, "metadata": {"lines": 263, "avg_line_length": 36.88, "nodes": 1242, "errors": 0, "source_hash": "6e6b5dd388f847a91f84cab79d87e2195b0e324665a36831f7f60c4de4275c97", "categorized_nodes": 911}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "ifnd...
77,856
c
/* $Id: xml_pyx.c,v 1.9 2005/03/12 03:24:23 mgrouch Exp $ */ /** * Based on xmln from pyxie project * * The PYX format is a line-oriented representation of * XML documents that is derived from the SGML ESIS format. * (see ESIS - ISO 8879 Element Structure Information Set spec, * ISO/IEC JTC1/SC18/WG8 N931 (...
28.66
266
(translation_unit) "/* $Id: xml_pyx.c,v 1.9 2005/03/12 03:24:23 mgrouch Exp $ */\n\n/**\n * Based on xmln from pyxie project\n *\n * The PYX format is a line-oriented representation of\n * XML documents that is derived from the SGML ESIS format.\n * (see ESIS - ISO 8879 Element Structure Information Set spec,\n * ...
2,135
3
{"language": "c", "success": true, "metadata": {"lines": 266, "avg_line_length": 28.66, "nodes": 1239, "errors": 0, "source_hash": "d1fdbcda31f31ef4254fa188213cf533c9b3013c7c28e519e09aa87d5d3c172f", "categorized_nodes": 788}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#i...
77,857
c
/*++ Copyright (c) 2001 Microsoft Corporation Module Name: sacapi.c Abstract: This is the C library header used to interface to SAC driver. Author: <NAME> (briangu) Revision History: --*/ #ifndef _SAC_API_H #define _SAC_API_H #include <ntddsac.h> // // this should real...
19.53
113
(translation_unit) "/*++ \n \nCopyright (c) 2001 Microsoft Corporation \n \nModule Name: \n \n sacapi.c \n \nAbstract: \n \n This is the C library header used to interface to SAC driver. \n \nAuthor: \n \n <NAME> (briangu) \n \nRevision History: \n \n--*/ \n \n#ifndef _SAC_API_H \n#define _SAC_API_H \n \n#inc...
317
33
{"language": "c", "success": true, "metadata": {"lines": 113, "avg_line_length": 19.53, "nodes": 249, "errors": 0, "source_hash": "b4c6eef5e8398d39aeb0cc9e0e7cb6663877bcd92c10caf6d0613810bf3e5065", "categorized_nodes": 196}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
77,858
c
#include <stdio.h> #include <stdlib.h> #include <stdbool.h> #define MAX1 5 //NUMERO DE LINHAS #define MAX2 10 //NUMERO DE COLUNAS #define MIN 0 int main() { bool encontrado = false; int i, k, aux, prod = 1, negat = 0, num; int maiores[MAX1][3]; int mat[MAX1][MAX2]; float media[MAX2] = {0}; floa...
28.8
99
(translation_unit) "#include <stdio.h>\n#include <stdlib.h>\n#include <stdbool.h>\n#define MAX1 5 //NUMERO DE LINHAS\n#define MAX2 10 //NUMERO DE COLUNAS\n#define MIN 0\n\nint main()\n{\n bool encontrado = false;\n int i, k, aux, prod = 1, negat = 0, num;\n int maiores[MAX1][3];\n int mat[MAX1][MAX2];\n ...
1,025
0
{"language": "c", "success": true, "metadata": {"lines": 99, "avg_line_length": 28.8, "nodes": 575, "errors": 0, "source_hash": "b2f7f906cf13226f3776766d32f554180ed7a9e38fa02d75a7d78cdf49d90ea4", "categorized_nodes": 425}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
77,859
c
#include "mload.h" const char *kxlib_file_exists(const char *file); void mips_parse(struct trie_node *root, struct hash_table *table, int mode) { FILE *fp = NULL; const char *file = kxlib_file_exists("mips.ins"); fp = fopen(file, "r"); (void) mode; /*32 and 64 mode have the same file, so mode isnt needed */ if ...
30.82
50
(translation_unit) "#include "mload.h"\n\nconst char *kxlib_file_exists(const char *file);\n\nvoid mips_parse(struct trie_node *root, struct hash_table *table, int mode)\n{\n FILE *fp = NULL;\n const char *file = kxlib_file_exists("mips.ins");\n fp = fopen(file, "r");\n (void) mode; /*32 and 64 mode have the same file...
589
0
{"language": "c", "success": true, "metadata": {"lines": 50, "avg_line_length": 30.82, "nodes": 363, "errors": 0, "source_hash": "837cca16c6df7ceb6a7832b705e33d58cf768b0633076cebe390345316d75b34", "categorized_nodes": 223}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
77,860
c
#ifndef NODE_H #define NODE_H #include "Edge.h" #include <iostream> #include <vector> using namespace std; class Node { protected: int id; int x, y; bool inBuffer; // true if within a wall buffer ( too close to a wall ) bool accessible; // false if the edges of this node are tempo...
32.29
104
(translation_unit) "#ifndef NODE_H\n#define NODE_H\n\n#include "Edge.h"\n#include <iostream>\n#include <vector> \nusing namespace std; \n\nclass Node {\nprotected:\n\n int id; \n\n int x, y; \n \n bool inBuffer; // true if within a wall buffer ( too close to a wall ) \n\n bool accessible; // fals...
1,331
41
{"language": "c", "success": true, "metadata": {"lines": 104, "avg_line_length": 32.29, "nodes": 788, "errors": 0, "source_hash": "fe80e2625caae301f5eb1d742fe7c0fb836622377638334c72f32f6ea74ecb78", "categorized_nodes": 530}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
77,861
c
#ifndef _HOLBERTON_H_ #define _HOLBERTON_H_ #include <stdio.h> #include <stdlib.h> #include <stdarg.h> int _putchar(char c); int _printf(const char *format, ...); void _print_char(char *buffer, va_list, int *j); void _print_string(char *buffer, va_list, int *j); void _print_integer(char *buffer, va_list, int *j); ...
26.68
22
(translation_unit) "#ifndef _HOLBERTON_H_\n#define _HOLBERTON_H_\n\n#include <stdio.h>\n#include <stdlib.h>\n#include <stdarg.h>\n\nint _putchar(char c);\nint _printf(const char *format, ...);\nvoid _print_char(char *buffer, va_list, int *j);\nvoid _print_string(char *buffer, va_list, int *j);\nvoid _print_integer(char...
178
0
{"language": "c", "success": true, "metadata": {"lines": 22, "avg_line_length": 26.68, "nodes": 133, "errors": 0, "source_hash": "71ffffb1e03c025d91768aca7cca2e75ab5ffb42af07ef23582ad98629930d2a", "categorized_nodes": 76}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
77,862
c
/*=========================================================================== * * File: obeditDoc.H * Author: <NAME> (<EMAIL>) * Created On: Thursday, 27 July, 2006 * * Definition of the CObEditDoc document class. * *=========================================================================*/ #ifndef __...
30.75
146
(translation_unit) "/*=========================================================================== \n * \n * File: obeditDoc.H \n * Author: <NAME> (<EMAIL>) \n * Created On: Thursday, 27 July, 2006 \n * \n * Definition of the CObEditDoc document class. \n * \n *===========================================================...
469
19
{"language": "c", "success": true, "metadata": {"lines": 146, "avg_line_length": 30.75, "nodes": 268, "errors": 0, "source_hash": "a47c44ed8a2683977bf0dfc36696bce01a67951671b74b70d9699f84218d8969", "categorized_nodes": 183}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
77,863
c
deconv3(g, f): -6 -8 -5 9 -7 9 -6 -8 2 -7 9 8 7 4 4 -6 9 9 4 -4 -3 7 -2 -3 deconv3(g, h): -9 5 -8 3 5 1 -1 -7 2 -5 -6 6 8 5 8 -2 -6 -4
8.64
14
(translation_unit) "deconv3(g, f):\n-6 -8 -5 9\n-7 9 -6 -8\n2 -7 9 8\n\n7 4 4 -6\n9 9 4 -4\n-3 7 -2 -3\n\ndeconv3(g, h):\n-9 5 -8\n3 5 1\n\n-1 -7 2\n-5 -6 6\n\n8 5 8\n-2 -6 -4\n" (ERROR) "deconv3(g, f):\n-6 -8 -5 9\n-7 9 -6 -8\n2 -7 9 8\n\n7 4 4 -6\n9 9 4 -4\n-3 7 -2 -3\n\ndeconv3(g, h):\n-9 5 -8\n3 5 1\n\n-1 -7 2\n-...
110
11
{"language": "c", "success": true, "metadata": {"lines": 14, "avg_line_length": 8.64, "nodes": 101, "errors": 0, "source_hash": "a0289eda9c1ecce15c37f27c17dfb693b861e7bc8cc97f1fe8f67b8b9ee9c636", "categorized_nodes": 69}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "deconv3(g, f):\n...
77,864
c
// // WMFImageMetadataSerializer.h // Wikipedia // // Created by <NAME> on 2/5/15. // Copyright (c) 2015 Wikimedia Foundation. All rights reserved. // #import "WMFApiJsonResponseSerializer.h" @interface MWKImageInfoResponseSerializer : WMFApiJsonResponseSerializer + (NSArray<NSString*>*)galleryExtMetadataKeys; ...
30
12
(translation_unit) "//\n// WMFImageMetadataSerializer.h\n// Wikipedia\n//\n// Created by <NAME> on 2/5/15.\n// Copyright (c) 2015 Wikimedia Foundation. All rights reserved.\n//\n\n#import "WMFApiJsonResponseSerializer.h"\n\n@interface MWKImageInfoResponseSerializer : WMFApiJsonResponseSerializer\n\n+ (NSArray<NSStr...
53
8
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 30.0, "nodes": 34, "errors": 0, "source_hash": "e90e0ddd357ae6053329dee05b432d11413aeaec89d108c740c37b8e4005da2d", "categorized_nodes": 16}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import \"...
77,865
c
/* * This header is generated by classdump-dyld 1.0 * on Saturday, June 1, 2019 at 6:45:16 PM Mountain Standard Time * Operating System: Version 12.1.1 (Build 16C5050a) * Image Source: /System/Library/Frameworks/WebKit.framework/WebKit * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by <NAME>. */ #imp...
36.4
15
(translation_unit) "/*\n* This header is generated by classdump-dyld 1.0\n* on Saturday, June 1, 2019 at 6:45:16 PM Mountain Standard Time\n* Operating System: Version 12.1.1 (Build 16C5050a)\n* Image Source: /System/Library/Frameworks/WebKit.framework/WebKit\n* classdump-dyld is licensed under GPLv3, Copyright © 2013-...
76
7
{"language": "c", "success": true, "metadata": {"lines": 15, "avg_line_length": 36.4, "nodes": 45, "errors": 0, "source_hash": "a7a5be6c20e0b32b21de70e77dc8cd412cbe732f2d6933be6413c7dd2fa99fec", "categorized_nodes": 27}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <We...
77,866
c
/* * Status and system control registers for ARM RealView/Versatile boards. * * Copyright (c) 2006-2007 CodeSourcery. * Written by <NAME> * * This code is licenced under the GPL. */ #include "hw.h" #include "primecell.h" #include "sysemu.h" #define LOCK_VALUE 0xa05f typedef struct { uint32_t base; uin...
26.53
200
(translation_unit) "/*\n * Status and system control registers for ARM RealView/Versatile boards.\n *\n * Copyright (c) 2006-2007 CodeSourcery.\n * Written by <NAME>\n *\n * This code is licenced under the GPL.\n */\n\n#include "hw.h"\n#include "primecell.h"\n#include "sysemu.h"\n\n#define LOCK_VALUE 0xa05f\n\ntypedef ...
1,043
0
{"language": "c", "success": true, "metadata": {"lines": 200, "avg_line_length": 26.53, "nodes": 627, "errors": 0, "source_hash": "75e9aa65865b5e4e7c1bbc9b1dc2ba8c34f52c6d70866b1d26ab334c9097e075", "categorized_nodes": 508}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
77,867
c
// SDLSpeakResponse.h // #import "SDLRPCResponse.h" NS_ASSUME_NONNULL_BEGIN /** Response to SDLSpeak Since SmartDeviceLink 1.0 */ @interface SDLSpeakResponse : SDLRPCResponse @end NS_ASSUME_NONNULL_END
16.25
12
(translation_unit) "// SDLSpeakResponse.h\n//\n\n\n#import "SDLRPCResponse.h"\n\nNS_ASSUME_NONNULL_BEGIN\n\n/**\n Response to SDLSpeak\n\n Since SmartDeviceLink 1.0\n */\n@interface SDLSpeakResponse : SDLRPCResponse\n\n@end\n\nNS_ASSUME_NONNULL_END\n" (comment) "// SDLSpeakResponse.h" (comment) "//" (preproc_ca...
23
4
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 16.25, "nodes": 15, "errors": 0, "source_hash": "e55eec4c80559291e177baea0e11e3ca3f7c5ae0136b8d1429d5b38c49991b55", "categorized_nodes": 8}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import \"...
77,868
c
#ifndef UNIONFINDSET_H #define UNIONFINDSET_H #include<map> class UnionFindSet { public: UnionFindSet(); virtual ~UnionFindSet(); void AddPair(int child, int parent); int FindParent(int child); private: std::map<int,int> Parents; }; #endif // UNIONFINDSET_H
20.86
14
(translation_unit) "#ifndef UNIONFINDSET_H\n#define UNIONFINDSET_H\n#include<map>\n\nclass UnionFindSet\n{\n public:\n UnionFindSet();\n virtual ~UnionFindSet();\n void AddPair(int child, int parent);\n int FindParent(int child);\n\n private:\n std::map<int,int> Parents;\n};\n\n...
86
2
{"language": "c", "success": true, "metadata": {"lines": 14, "avg_line_length": 20.86, "nodes": 54, "errors": 0, "source_hash": "0553ac09a56131262fa532789c56036b67a12b8ebd1d4c2392792f204ada620b", "categorized_nodes": 36}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
77,869
c
// // BNRoutePlanManagerProtocol.h // baiduNaviSDK // // Created by Baidu on 11/10/13. // Copyright (c) 2013 baidu. All rights reserved. // #ifndef baiduNaviSDK_BNRoutePlanManagerProtocol_h #define baiduNaviSDK_BNRoutePlanManagerProtocol_h #import "BNRoutePlanModel.h" @protocol BNNaviRoutePlanDelegate; /** * ...
17.93
101
(translation_unit) "//\n// BNRoutePlanManagerProtocol.h\n// baiduNaviSDK\n//\n// Created by Baidu on 11/10/13.\n// Copyright (c) 2013 baidu. All rights reserved.\n//\n\n#ifndef baiduNaviSDK_BNRoutePlanManagerProtocol_h\n#define baiduNaviSDK_BNRoutePlanManagerProtocol_h\n\n#import "BNRoutePlanModel.h"\n\n@protocol B...
266
28
{"language": "c", "success": true, "metadata": {"lines": 101, "avg_line_length": 17.93, "nodes": 168, "errors": 0, "source_hash": "aa003bceb62e3effeb85b5798f1cfa94cc2d7d7cd85e47ec37789d6ef7b75af8", "categorized_nodes": 90}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
77,870
c
// // BLPushTransitionAnimator.h // 翻页效果 // // Created by 冰泪 on 2017/6/19. // Copyright © 2017年 冰泪. All rights reserved. //push跳转动画 #import "BLTrasitionAnimatorConfig.h" @import UIKit; @interface BLPushTransitionAnimator : NSObject<UIViewControllerAnimatedTransitioning> @property (nonatomic, assign) BLTransitionA...
32
13
(translation_unit) "//\n// BLPushTransitionAnimator.h\n// 翻页效果\n//\n// Created by 冰泪 on 2017/6/19.\n// Copyright © 2017年 冰泪. All rights reserved.\n//push跳转动画\n\n#import "BLTrasitionAnimatorConfig.h"\n@import UIKit;\n\n@interface BLPushTransitionAnimator : NSObject<UIViewControllerAnimatedTransitioning>\n@property (...
61
9
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 32.0, "nodes": 39, "errors": 0, "source_hash": "892e058b9234caf067106bba65fe66f2a54732f54a275bbfbcdabf7286b9239a", "categorized_nodes": 23}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "rConfig.h\...
77,871
c
int main (void) { int a; int b[10]; a=b; }
7.67
6
(translation_unit) "int main (void) {\n int a;\n int b[10];\n \n a=b;\n}\n" (function_definition) "int main (void) {\n int a;\n int b[10];\n \n a=b;\n}" (primitive_type) "int" (function_declarator) "main (void)" (identifier) "main" (parameter_list) "(void)" (() "(" (paramet...
31
0
{"language": "c", "success": true, "metadata": {"lines": 6, "avg_line_length": 7.67, "nodes": 19, "errors": 0, "source_hash": "2f15454501b1ccab842e65be794d9a5497d837ce4934dbc871e2e3f1a7997e2c", "categorized_nodes": 12}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "function_definition", "text": "int ...
77,872
c
// // SKAppDelegate.h // SKBounceAnimation // // Created by <NAME> on 6/15/12. // Copyright (c) 2012 __MyCompanyName__. All rights reserved. // #import <UIKit/UIKit.h> @class SKRootViewController; @interface SKAppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWindow *window; @pr...
28.62
13
(translation_unit) "//\n// SKAppDelegate.h\n// SKBounceAnimation\n//\n// Created by <NAME> on 6/15/12.\n// Copyright (c) 2012 __MyCompanyName__. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@class SKRootViewController;\n\n@interface SKAppDelegate : UIResponder <UIApplicationDelegate>\n\n@property (strong,...
64
12
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 28.62, "nodes": 44, "errors": 0, "source_hash": "21c894f5a2809b08b1e1dc02bd05bc6012e9d08950efaf980ec6d8ec0593f4e7", "categorized_nodes": 21}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <...
77,873
c
/* * Copyright 1999-2016 The OpenSSL Project Authors. All Rights Reserved. * * Licensed under the Apache License 2.0 (the "License"). You may not use * this file except in compliance with the License. You can obtain a copy * in the file LICENSE in the source distribution or at * https://www.openssl.org/source/l...
31.52
79
(translation_unit) "/*\n * Copyright 1999-2016 The OpenSSL Project Authors. All Rights Reserved.\n *\n * Licensed under the Apache License 2.0 (the "License"). You may not use\n * this file except in compliance with the License. You can obtain a copy\n * in the file LICENSE in the source distribution or at\n * https:...
564
5
{"language": "c", "success": true, "metadata": {"lines": 79, "avg_line_length": 31.52, "nodes": 344, "errors": 0, "source_hash": "f1880a4ed04735f2ab1bfa45aa5e32b331eeb6931fc890e6a8cc6deaa7878ab0", "categorized_nodes": 227}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
77,874
c
// Copyright 2016 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 COMPONENTS_LEVELDB_PROTO_OPTIONS_H_ #define COMPONENTS_LEVELDB_PROTO_OPTIONS_H_ #include "base/files/file_path.h" namespace leveldb_proto { str...
38.23
22
(translation_unit) "// Copyright 2016 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 COMPONENTS_LEVELDB_PROTO_OPTIONS_H_\n#define COMPONENTS_LEVELDB_PROTO_OPTIONS_H_\n\n#include "base/files/file_path.h"\n\nn...
141
10
{"language": "c", "success": true, "metadata": {"lines": 22, "avg_line_length": 38.23, "nodes": 81, "errors": 0, "source_hash": "de54d5df04b6ce15a888437d311660cd792d9dfa51b4e8700e5e94faed6f4826", "categorized_nodes": 60}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
77,875
c
#pragma once #include "RtsAiEngine.h" #include "BWAPI.h" #include "BWAPI\Client.h" #ifdef AIIDE #define ENGINE_IO_DIR "bwapi-data\\AI\\" #else #define ENGINE_IO_DIR ".\\" #endif class YarmoukAIModule : public BWAPI::AIModule { public: YarmoukAIModule() : m_pAiEngine(nullptr), m_pGameModel(nullptr)...
36.53
45
(translation_unit) "#pragma once\n#include "RtsAiEngine.h"\n#include "BWAPI.h"\n#include "BWAPI\Client.h"\n\n#ifdef AIIDE\n#define ENGINE_IO_DIR "bwapi-data\\AI\\"\n#else\n#define ENGINE_IO_DIR ".\\"\n#endif\n\nclass YarmoukAIModule : public BWAPI::AIModule\n{\npublic:\n YarmoukAIModule() :\n m_pAiEngine(null...
494
41
{"language": "c", "success": true, "metadata": {"lines": 45, "avg_line_length": 36.53, "nodes": 317, "errors": 0, "source_hash": "29faf32caced792c74601fe4555a8d932c64ea5efb7d7a3fa432dbc31f1717ed", "categorized_nodes": 221}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
77,876
c
/* This file is part of GNUnet. Copyright (C) 2011 GNUnet e.V. GNUnet is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. G...
28.57
124
(translation_unit) "/*\n This file is part of GNUnet.\n Copyright (C) 2011 GNUnet e.V.\n\n GNUnet is free software; you can redistribute it and/or modify\n it under the terms of the GNU General Public License as published\n by the Free Software Foundation; either version 3, or (at your\n option)...
469
0
{"language": "c", "success": true, "metadata": {"lines": 124, "avg_line_length": 28.57, "nodes": 273, "errors": 0, "source_hash": "ba4a8eace055f614f4dd78e1197c59ed95f3cf576764b4973fd3108ad70e2ce1", "categorized_nodes": 189}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
77,877
c
#ifndef __LIBNEORADIO2_COMMON_H__ #define __LIBNEORADIO2_COMMON_H__ #include <stdint.h> #if defined(_MSC_VER) // I spent about an hour trying to get visual studio project files // to try and include this submodule header... giving up and "hardcoding" it here #include "neoRAD-IO2-FrameDescription\radio2_frames.h" #el...
21.85
66
(translation_unit) "#ifndef __LIBNEORADIO2_COMMON_H__\n#define __LIBNEORADIO2_COMMON_H__\n\n\n#include <stdint.h>\n#if defined(_MSC_VER)\n// I spent about an hour trying to get visual studio project files \n// to try and include this submodule header... giving up and "hardcoding" it here\n#include "neoRAD-IO2-FrameDesc...
228
0
{"language": "c", "success": true, "metadata": {"lines": 66, "avg_line_length": 21.85, "nodes": 161, "errors": 0, "source_hash": "72f8ae6a0ca592e163e44de58f0f1849c801916376a974b5fd7cc18fdfc978f8", "categorized_nodes": 114}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
77,878
c
/* * Copyright (C) 2017-2018, <NAME> * All rights reserved. * * This software may be modified and distributed under the terms * of the BSD 3-Clause license. See the LICENSE.txt file for details. */ #ifndef STAT_CORRELATIONS_HEADER #define STAT_CORRELATIONS_HEADER #include <algorithm> #include "statistics.h" S...
31.83
71
(translation_unit) "/*\n * Copyright (C) 2017-2018, <NAME>\n * All rights reserved.\n *\n * This software may be modified and distributed under the terms\n * of the BSD 3-Clause license. See the LICENSE.txt file for details.\n */\n\n#ifndef STAT_CORRELATIONS_HEADER\n#define STAT_CORRELATIONS_HEADER\n\n#include <algorit...
988
40
{"language": "c", "success": true, "metadata": {"lines": 71, "avg_line_length": 31.83, "nodes": 613, "errors": 0, "source_hash": "792a90c94cd764c7a87e7cca05c7f8a32a2f9ddfb3187421d678ba24b1d8c004", "categorized_nodes": 424}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
77,879
c
#include "parser_private.h" #include "parser_macros.h" s_ast_until *parse_rule_until(s_parser *parser) { s_ast_list *predicate; s_ast_list *list; if (!(predicate = parse_rule_compound_list(parser, 1))) return NULL; if (!(list = parse_rule_do_group(parser))) { ast_list_delete(list);...
25.33
18
(translation_unit) "#include "parser_private.h"\n#include "parser_macros.h"\n\ns_ast_until *parse_rule_until(s_parser *parser)\n{\n s_ast_list *predicate;\n s_ast_list *list;\n\n if (!(predicate = parse_rule_compound_list(parser, 1)))\n return NULL;\n if (!(list = parse_rule_do_group(parser)))\n {...
138
0
{"language": "c", "success": true, "metadata": {"lines": 18, "avg_line_length": 25.33, "nodes": 87, "errors": 0, "source_hash": "c0444e3162b8123e13cbf8ac4f0e91a67882d33482b3db807344b33d1097e2a9", "categorized_nodes": 60}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
77,880
c
#include "fslc_stdio.h" FSLC_FILE *fslc_stdin;
22.5
2
(translation_unit) "#include "fslc_stdio.h"\n\nFSLC_FILE *fslc_stdin;\n" (preproc_include) "#include "fslc_stdio.h"\n" (#include) "#include" (string_literal) ""fslc_stdio.h"" (") """ (string_content) "fslc_stdio.h" (") """ (declaration) "FSLC_FILE *fslc_stdin;" (type_identifier) "FSLC_...
13
0
{"language": "c", "success": true, "metadata": {"lines": 2, "avg_line_length": 22.5, "nodes": 8, "errors": 0, "source_hash": "034f042b7865199e442aa492f96bfa8b0214ebeb853a545098888a50bdb3db40", "categorized_nodes": 6}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#include \...
77,881
c
// Drawing.h #pragma once #define DRAWING_H #define SET_OSFLOAT std::fixed << std::setw( 7 ) << std::setprecision( 3 ) << std::setfill( L' ' ) // .......................................................................... // .......................................................................... class D...
30.07
185
(translation_unit) "// Drawing.h \n \n#pragma once \n#define DRAWING_H \n#define SET_OSFLOAT std::fixed << std::setw( 7 ) << std::setprecision( 3 ) << std::setfill( L' ' ) \n \n// .......................................................................... \n// ...............................................................
1,646
66
{"language": "c", "success": true, "metadata": {"lines": 185, "avg_line_length": 30.07, "nodes": 947, "errors": 0, "source_hash": "a37a8e24b0199830cfb9a01642c896301b56ea12687ccf7c9cd39a86275e60bb", "categorized_nodes": 690}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragm...
77,882
c
// // FlurryAPI.h // Flurry iPhone Analytics Agent // // Copyright 2009 Flurry, Inc. All rights reserved. // #import <UIKit/UIKit.h> @class CLLocationManager; @class CLLocation; @interface FlurryAPI : NSObject { } + (void)startSession:(NSString *)apiKey; + (void)logEvent:(NSString *)eventName; + (void)logEvent:(N...
32.95
20
(ERROR) "//\n// FlurryAPI.h\n// Flurry iPhone Analytics Agent\n//\n// Copyright 2009 Flurry, Inc. All rights reserved.\n//\n#import <UIKit/UIKit.h>\n\n@class CLLocationManager;\n@class CLLocation;\n\n@interface FlurryAPI : NSObject {\n}\n\n+ (void)startSession:(NSString *)apiKey;\n+ (void)logEvent:(NSString *)eventN...
180
22
{"language": "c", "success": true, "metadata": {"lines": 20, "avg_line_length": 32.95, "nodes": 101, "errors": 0, "source_hash": "c12d3d0bb570924b985c5c72fe2af7d75833698bae93edf7bc415342b59a9a7b", "categorized_nodes": 55}, "ast": {"root": "ERROR", "nodes": [{"id": 0, "type": "ERROR", "text": "//\n// FlurryAPI.h\n// F...
77,883
c
/* * Copyright 2004-2006 Intel Corporation * * 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...
26.73
96
(translation_unit) "/*\n * Copyright 2004-2006 Intel Corporation\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....
298
10
{"language": "c", "success": true, "metadata": {"lines": 96, "avg_line_length": 26.73, "nodes": 174, "errors": 0, "source_hash": "9eea7edadc5f037608679762a3c70b13d38c5fd1d3c4b86c28df365b2461df84", "categorized_nodes": 113}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
77,884
c
#ifndef WIN32APP_H__ #define WIN32APP_H__ #define I2PD_WIN32_CLASSNAME "i2pd main window" namespace i2p { namespace win32 { bool StartWin32App (); void StopWin32App (); int RunWin32App (); bool GracefulShutdown (); bool StopGracefulShutdown (); } } #endif // WIN32APP_H__
16.35
17
(translation_unit) "#ifndef WIN32APP_H__ \n#define WIN32APP_H__ \n \n#define I2PD_WIN32_CLASSNAME "i2pd main window" \n \nnamespace i2p \n{ \nnamespace win32 \n{ \n bool StartWin32App (); \n void StopWin32App (); \n int RunWin32App (); \n bool GracefulShutdown (); \n bool StopGracefulShutdown (); \n} \n} \n#endif // WI...
65
0
{"language": "c", "success": true, "metadata": {"lines": 17, "avg_line_length": 16.35, "nodes": 42, "errors": 0, "source_hash": "077c311511dea9885ac7c495c68979af8f2e1bd6f00388376b974779ca493bd4", "categorized_nodes": 27}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
77,885
c
// // STRouteNetworking.h // SinTraficoRouteAPIDemo // // Created by SinTrafico on 4/27/16. // Copyright © 2016 SinTrafico. All rights reserved. // #import <Foundation/Foundation.h> #import "STRouteOptions.h" @protocol RouteNetworkDelegate <NSObject> -(void) receiveRoutePolyline:(MKPolyline *)routeLine; @end @...
31.28
18
(translation_unit) "//\n// STRouteNetworking.h\n// SinTraficoRouteAPIDemo\n//\n// Created by SinTrafico on 4/27/16.\n// Copyright © 2016 SinTrafico. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n#import "STRouteOptions.h"\n\n@protocol RouteNetworkDelegate <NSObject>\n\n-(void) receiveRoutePolyline:...
125
18
{"language": "c", "success": true, "metadata": {"lines": 18, "avg_line_length": 31.28, "nodes": 82, "errors": 0, "source_hash": "9d0bc768207a77fc3688d217e37e867cb1b3fc768d808ff328669db39aff16ce", "categorized_nodes": 46}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <F...
77,886
c
/* * Copyright (c) 2018, Arm Limited. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ /* * Definitions related to the Standard Service as per the SMC Calling Convention * * Although PSCI calls are part of the Standard Service call range, PSCI-related * definitions are not in this header file ...
32.68
22
(translation_unit) "/*\n * Copyright (c) 2018, Arm Limited. All rights reserved.\n *\n * SPDX-License-Identifier: BSD-3-Clause\n */\n\n/*\n * Definitions related to the Standard Service as per the SMC Calling Convention\n *\n * Although PSCI calls are part of the Standard Service call range, PSCI-related\n * definition...
34
0
{"language": "c", "success": true, "metadata": {"lines": 22, "avg_line_length": 32.68, "nodes": 27, "errors": 0, "source_hash": "32a0540c296d1e64179424f11e80255fcce375cffeec0409e9269e4e82bbbdd4", "categorized_nodes": 10}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
77,887
c
//========= Copyright Valve Corporation, All rights reserved. ============// // // Purpose: // // $NoKeywords: $ //=============================================================================// #ifndef CDLL_ENGINE_INT_H #define CDLL_ENGINE_INT_H #ifdef _WIN32 #pragma once #endif #include "cdll_int.h" class IVMod...
32.89
44
(translation_unit) "========= Copyright Valve Corporation, All rights reserved. ============//\n//\n// Purpose: \n//\n// $NoKeywords: $\n//=============================================================================//\n\n#ifndef CDLL_ENGINE_INT_H\n#define CDLL_ENGINE_INT_H\n#ifdef _WIN32\n#pragma once\n#endif\n\n\n#in...
260
2
{"language": "c", "success": true, "metadata": {"lines": 44, "avg_line_length": 32.89, "nodes": 192, "errors": 0, "source_hash": "e7591d6bce99c7cee161b6616341fd100245ae14e0d28d141ca7b0dc73685fd6", "categorized_nodes": 125}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "fndef ...
77,888
c
#ifndef M_SGC_H__ #define M_SGC_H__ #include "../normalize.h" #ifdef __cplusplus extern "C" { #endif PROTECTED uint32_t SGCLoad(NEZ_PLAY *, const uint8_t *pData, uint32_t uSize); #ifdef __cplusplus } #endif #endif /* M_KSS_H__ */
19.91
11
(translation_unit) "#ifndef M_SGC_H__\n#define M_SGC_H__\n\n#include "../normalize.h"\n\n#ifdef __cplusplus\nextern "C" {\n#endif\n\nPROTECTED uint32_t SGCLoad(NEZ_PLAY *, const uint8_t *pData, uint32_t uSize);\n\n#ifdef __cplusplus\n}\n#endif\n\n#endif /* M_KSS_H__ */\n" (preproc_ifdef) "#ifndef M_SGC_H__\n#define M...
60
1
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 19.91, "nodes": 42, "errors": 0, "source_hash": "f805a1aee1b24dd84b2794e8f9b5d5787ab94efeea388aae80eb5bd7a69821d5", "categorized_nodes": 30}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
77,889
c
/* * events_SiteEvent.h */ #ifndef MUTGOS_EVENTS_SITEEVENT_H #define MUTGOS_EVENTS_SITEEVENT_H #include <string> #include "events/events_Event.h" #include "dbtypes/dbtype_Id.h" namespace mutgos { namespace events { /** * Represents when a site is created or deleted. * * Future versions of this ...
28.79
86
(translation_unit) "/*\n * events_SiteEvent.h\n */\n\n#ifndef MUTGOS_EVENTS_SITEEVENT_H\n#define MUTGOS_EVENTS_SITEEVENT_H\n\n#include <string>\n\n#include "events/events_Event.h"\n#include "dbtypes/dbtype_Id.h"\n\nnamespace mutgos\n{\nnamespace events\n{\n /**\n * Represents when a site is created or deleted.\n...
329
21
{"language": "c", "success": true, "metadata": {"lines": 86, "avg_line_length": 28.79, "nodes": 166, "errors": 0, "source_hash": "de6bfad039e6e230c6de2e19f9380e9a7cb48e84410b10bd354756ca66f8ec9d", "categorized_nodes": 127}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
77,890
c
#pragma once #include "pch.h" #include <iostream> #include "Vector.h" struct Quaternion; struct Matrix4 { Matrix4() : m_data{0} {} Matrix4(std::initializer_list<float> list) : m_data{0} { memcpy(m_data, list.begin(), (16 < list.size() ? 16 : list.size()) * sizeof(float)); } Matrix4(std::vector<float> list) :...
29.39
291
(translation_unit) "#pragma once\n#include "pch.h"\n\n#include <iostream>\n\n#include "Vector.h"\n\nstruct Quaternion;\n\nstruct Matrix4\n{\n Matrix4() : m_data{0} {}\n Matrix4(std::initializer_list<float> list) : m_data{0}\n {\n memcpy(m_data, list.begin(), (16 < list.size() ? 16 : list.size()) * sizeof(float));\n }\...
3,447
104
{"language": "c", "success": true, "metadata": {"lines": 291, "avg_line_length": 29.39, "nodes": 2094, "errors": 0, "source_hash": "b2fbbe377cb011aa91ea9cd558ca0ca7796967fa2fb1db907e56a7ea873658d0", "categorized_nodes": 1431}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pra...
77,891
c
// // InteractiveVoiceCommand.h // iHouse // // Created by <NAME> on 22/08/15. // Copyright © 2015 <NAME>. All rights reserved. // #import <Foundation/Foundation.h> #import <Cocoa/Cocoa.h> @class Room; // If new voice command added extern NSString* const VoiceCommandAdded; // If voice command was removed extern ...
36.5
64
(translation_unit) "//\n// InteractiveVoiceCommand.h\n// iHouse\n//\n// Created by <NAME> on 22/08/15.\n// Copyright © 2015 <NAME>. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n#import <Cocoa/Cocoa.h>\n\n@class Room;\n\n// If new voice command added\nextern NSString* const VoiceCommandAdded;\n// I...
341
34
{"language": "c", "success": true, "metadata": {"lines": 64, "avg_line_length": 36.5, "nodes": 242, "errors": 0, "source_hash": "08a8208ad3bc106738f1a07aea5a3430943de5d21700cf0c46e9c598444cdb02", "categorized_nodes": 137}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <...
77,892
c
#pragma once #ifndef ABOUTDIALOG_H_INCLUDED #define ABOUTDIALOG_H_INCLUDED #include "resource.h" class AboutDialog : public CDialogImpl<AboutDialog> { public: enum { IDD = IDD_ABOUTDIALOG }; BEGIN_MSG_MAP(AboutDialog) MESSAGE_HANDLER(WM_INITDIALOG, OnInitDialog) MESSAGE_HANDLER(WM_CLOSE, OnClose) ...
26.19
26
(translation_unit) "#pragma once \n#ifndef ABOUTDIALOG_H_INCLUDED \n#define ABOUTDIALOG_H_INCLUDED \n \n#include "resource.h" \n \nclass AboutDialog : public CDialogImpl<AboutDialog> \n{ \npublic: \n enum { IDD = IDD_ABOUTDIALOG }; \n \n BEGIN_MSG_MAP(AboutDialog) \n MESSAGE_HANDLER(WM_INITDIALOG, OnInitDialog) \n ME...
160
8
{"language": "c", "success": true, "metadata": {"lines": 26, "avg_line_length": 26.19, "nodes": 100, "errors": 0, "source_hash": "708353dac775f54312ca5bb9d9994fbd5f9ce14bc0e52ad042f38813921b33aa", "categorized_nodes": 79}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma ...
77,893
c
#pragma once #include <cstddef> namespace sge { template <std::size_t Len, std::size_t Align /* default alignment not implemented */> struct AlignedStorage { struct type { alignas(Align) unsigned char data[Len]; }; }; } // namespace sge
23.1
10
(translation_unit) "#pragma once\n\n#include <cstddef>\n\nnamespace sge {\n\ntemplate <std::size_t Len, std::size_t Align /* default alignment not implemented */>\nstruct AlignedStorage {\n struct type {\n alignas(Align) unsigned char data[Len];\n };\n};\n\n} // namespace sge" (preproc_call) "#pragma once\n" (pr...
62
1
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 23.1, "nodes": 38, "errors": 0, "source_hash": "10e949a3330c4bafd48e9bf83b3b1d1d01026defb0d9538703d97673c2f51f36", "categorized_nodes": 27}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma on...
77,894
c
// Copyright 2015-2021 Piperift - All rights reserved #pragma once #include "Platform/Generic/GenericPlatformMisc.h" #include <linux/limits.h> namespace Rift { struct LinuxPlatformMisc : public GenericPlatformMisc { static constexpr u32 GetMaxPathLength() { return PATH_MAX; } }; using PlatformMisc = L...
21.31
16
(translation_unit) "// Copyright 2015-2021 Piperift - All rights reserved\n#pragma once\n\n#include "Platform/Generic/GenericPlatformMisc.h"\n\n#include <linux/limits.h>\n\n\nnamespace Rift\n{\n struct LinuxPlatformMisc : public GenericPlatformMisc\n {\n static constexpr u32 GetMaxPathLength()\n {\n return PATH_MAX...
59
1
{"language": "c", "success": true, "metadata": {"lines": 16, "avg_line_length": 21.31, "nodes": 33, "errors": 0, "source_hash": "620832eb0e48ddc9cec94593cb526b5397b88f038ae6cdc7ab92524f2dbe3c2c", "categorized_nodes": 26}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
77,895
c
#ifndef AFL_CLASSIFY_H #define AFL_CLASSIFY_H /* Destructively classify execution counts in a trace. This is used as a preprocessing step for any newly acquired traces. Called on every exec, must be fast. */ const u8 count_class_lookup8[256]; u16 count_class_lookup16[65536]; void init_count_class16(void); #if...
32.57
14
(translation_unit) "#ifndef AFL_CLASSIFY_H\n#define AFL_CLASSIFY_H\n\n/* Destructively classify execution counts in a trace. This is used as a\n preprocessing step for any newly acquired traces. Called on every exec,\n must be fast. */\nconst u8 count_class_lookup8[256];\n\nu16 count_class_lookup16[65536];\n\nvoid ...
75
0
{"language": "c", "success": true, "metadata": {"lines": 14, "avg_line_length": 32.57, "nodes": 54, "errors": 0, "source_hash": "59638dd0d1e9758a6a46a7dceeadd6cf814690505de9f00fc288645bea469a3f", "categorized_nodes": 35}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
77,896
c
// // AFHttpServiceResponse.h // CSHttpServiceAFNetworking // // Created by 吴云海 // Copyright © 2018年 yunhai.wu. All rights reserved. // #import <Foundation/Foundation.h> #import <CSHttpServiceAPI/CSHttpAbstractResponse.h> NS_ASSUME_NONNULL_BEGIN @interface AFHttpServiceResponse : CSHttpAbstractResponse @end NS...
24.77
13
(translation_unit) "//\n// AFHttpServiceResponse.h\n// CSHttpServiceAFNetworking\n//\n// Created by 吴云海\n// Copyright © 2018年 yunhai.wu. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n#import <CSHttpServiceAPI/CSHttpAbstractResponse.h>\n\nNS_ASSUME_NONNULL_BEGIN\n\n@interface AFHttpServiceResponse :...
30
4
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 24.77, "nodes": 19, "errors": 0, "source_hash": "a340f65252480e6eb22fb1e11ebe6f3d6be80ac3cd676f24d8f1ac6b55990672", "categorized_nodes": 10}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "Foundatio...
77,897
c
// // AppDelegate.h // BugsplatTester // // Created by <NAME> on 8/17/15. // Copyright (c) 2015 BugSplat. All rights reserved. // #import <Cocoa/Cocoa.h> @interface AppDelegate : NSObject <NSApplicationDelegate> - (IBAction)crash:(id)sender; @end
21.82
11
(translation_unit) "//\n// AppDelegate.h\n// BugsplatTester\n//\n// Created by <NAME> on 8/17/15.\n// Copyright (c) 2015 BugSplat. All rights reserved.\n//\n\n#import <Cocoa/Cocoa.h>\n\n@interface AppDelegate : NSObject <NSApplicationDelegate>\n\n- (IBAction)crash:(id)sender;\n\n@end\n\n" (comment) "//" (commen...
42
6
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 21.82, "nodes": 23, "errors": 0, "source_hash": "3b366c77902e682bfe282fbf04b9ab4b9a346701c2dc2430a583759f9950be5b", "categorized_nodes": 12}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <...
77,898
c
/* * Copyright 2004-2006 Intel Corporation * * 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...
33.48
29
(translation_unit) "/*\n * Copyright 2004-2006 Intel Corporation\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....
66
2
{"language": "c", "success": true, "metadata": {"lines": 29, "avg_line_length": 33.48, "nodes": 36, "errors": 0, "source_hash": "9d7c368de39d2821c6359da14cf5960e47d022f54505944b4bf880181c561ded", "categorized_nodes": 26}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
77,899