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
// // ROKOInstaBotScheme.h // ROKOMobi // // Created by <NAME> on 06.09.16. // Copyright © 2016 ROKO Labs. All rights reserved. // #import "ROKOComponentScheme.h" #import "ROKOImageDataObject.h" @interface ROKOInstaBotScheme : ROKOComponentScheme @property (nonatomic, assign) BOOL useChatIcon; @property (nonatom...
38.95
22
(translation_unit) "//\n// ROKOInstaBotScheme.h\n// ROKOMobi\n//\n// Created by <NAME> on 06.09.16.\n// Copyright © 2016 ROKO Labs. All rights reserved.\n//\n\n#import "ROKOComponentScheme.h"\n#import "ROKOImageDataObject.h"\n\n@interface ROKOInstaBotScheme : ROKOComponentScheme\n\n@property (nonatomic, assign) BOO...
217
46
{"language": "c", "success": true, "metadata": {"lines": 22, "avg_line_length": 38.95, "nodes": 162, "errors": 0, "source_hash": "f239ee26310ec5f76d10e8dbc76fa1b36b03f5f7a70713064c973953d3a75539", "categorized_nodes": 83}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import \...
78,000
c
#pragma once #include <QObject> class StatusClass { Q_GADGET public: enum Value { Null, Ready, Loading, Error }; Q_ENUM(Value) private: explicit StatusClass(); }; typedef StatusClass::Value Status;
13.71
17
(translation_unit) "#pragma once\n\n#include <QObject>\n\nclass StatusClass\n{\n Q_GADGET\npublic:\n enum Value {\n Null,\n Ready,\n Loading,\n Error\n };\n Q_ENUM(Value)\n\nprivate:\n explicit StatusClass();\n};\n\ntypedef StatusClass::Value Status;\n" (preproc_call) "#prag...
63
3
{"language": "c", "success": true, "metadata": {"lines": 17, "avg_line_length": 13.71, "nodes": 38, "errors": 0, "source_hash": "b369cb5afd079474ea7599693a03b7a5b34d5859eb91c7c7602d0c0f22f03101", "categorized_nodes": 30}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
78,001
c
#ifndef __YumePlane_h__ #define __YumePlane_h__ //-------------------------------------------------------------------------------- #include "YumeRequired.h" #include "YumeMatrix3x4.h" //-------------------------------------------------------------------------------- namespace YumeEngine { ...
21.22
103
(translation_unit) "#ifndef __YumePlane_h__\n#define __YumePlane_h__\n//--------------------------------------------------------------------------------\n#include "YumeRequired.h"\n#include "YumeMatrix3x4.h"\n//--------------------------------------------------------------------------------\nnamespace YumeEngine\n{\n\n...
724
36
{"language": "c", "success": true, "metadata": {"lines": 103, "avg_line_length": 21.22, "nodes": 397, "errors": 0, "source_hash": "334289d52690a5d466ae5af22b420457df512cda90e307bbc941a5e30073f8c2", "categorized_nodes": 313}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
78,002
c
/* { dg-do compile } */ /* { dg-options "-O2 -mcpu=thunderx+nofp" } */ #include "arm_neon.h" /* Unless we do something about re-laying out the SIMD builtin types this testcase ICEs during expansion of the crypto builtin. */ __attribute__ ((target ("cpu=cortex-a57+crypto"))) uint32x4_t test_vsha1cq_u32 (uint32x4_...
28.88
17
(translation_unit) "/* { dg-do compile } */\n/* { dg-options "-O2 -mcpu=thunderx+nofp" } */\n\n#include "arm_neon.h"\n\n/* Unless we do something about re-laying out the SIMD builtin types\n this testcase ICEs during expansion of the crypto builtin. */\n\n__attribute__ ((target ("cpu=cortex-a57+crypto")))\nuint32x4_...
81
0
{"language": "c", "success": true, "metadata": {"lines": 17, "avg_line_length": 28.88, "nodes": 44, "errors": 0, "source_hash": "fc1fd8ce37db5bd6b31f011e9c6173cc64ce30c86d024f906b388fbd616ab2e3", "categorized_nodes": 34}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
78,003
c
/* SPDX-License-Identifier: BSD-3-Clause */ #include "string.h" #include <Uefi.h> extern EFI_SYSTEM_TABLE *gST; extern EFI_BOOT_SERVICES *gBS; extern EFI_HANDLE *gImageHandle; UINTN StrnLen ( IN CONST CHAR16 *String, IN UINTN MaxLength ) { UINTN Length; for (Length = 0; Length <= MaxLength && *Str...
19.51
102
(translation_unit) "/* SPDX-License-Identifier: BSD-3-Clause */\n\n#include "string.h"\n\n#include <Uefi.h>\n\nextern EFI_SYSTEM_TABLE *gST;\nextern EFI_BOOT_SERVICES *gBS;\nextern EFI_HANDLE *gImageHandle;\n\nUINTN\nStrnLen (\n IN CONST CHAR16 *String,\n IN UINTN MaxLength\n )\n{\n UINTN Length;\n\n for (L...
749
20
{"language": "c", "success": true, "metadata": {"lines": 102, "avg_line_length": 19.51, "nodes": 563, "errors": 0, "source_hash": "7d322dc49e9afceb32ab1ac3908677da6b1949625b7355599bd92b20164d26c7", "categorized_nodes": 366}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
78,004
c
// // PhraseDictionaryALSuffixArray.h // moses // // Created by <NAME> on 06/11/2011. // Copyright 2011 __MyCompanyName__. All rights reserved. // #ifndef moses_PhraseDictionaryALSuffixArray_h #define moses_PhraseDictionaryALSuffixArray_h #include "moses/TranslationModel/PhraseDictionaryMemory.h" namespace Moses...
31.93
29
(translation_unit) "//\n// PhraseDictionaryALSuffixArray.h\n// moses\n//\n// Created by <NAME> on 06/11/2011.\n// Copyright 2011 __MyCompanyName__. All rights reserved.\n//\n\n#ifndef moses_PhraseDictionaryALSuffixArray_h\n#define moses_PhraseDictionaryALSuffixArray_h\n\n#include "moses/TranslationModel/PhraseDicti...
113
6
{"language": "c", "success": true, "metadata": {"lines": 29, "avg_line_length": 31.93, "nodes": 53, "errors": 0, "source_hash": "eb83d387855395e5d19c1599b7d4325eb1ab7263e9793d6e9f1e684b49ef389a", "categorized_nodes": 38}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
78,005
c
#pragma once #include <catboost/cuda/gpu_data/dataset_base.h> #include <catboost/cuda/cuda_util/gpu_random.h> namespace NCatboostCuda { class IStripeTargetWrapper : public TNonCopyable { public: virtual ~IStripeTargetWrapper() { } virtual void GradientAtZero(TStripeBuffer<float>& wei...
41
43
(translation_unit) "#pragma once\n\n#include <catboost/cuda/gpu_data/dataset_base.h>\n#include <catboost/cuda/cuda_util/gpu_random.h>\n\nnamespace NCatboostCuda {\n\n class IStripeTargetWrapper : public TNonCopyable {\n public:\n virtual ~IStripeTargetWrapper() {\n }\n\n virtual void Gradient...
388
25
{"language": "c", "success": true, "metadata": {"lines": 43, "avg_line_length": 41.0, "nodes": 236, "errors": 0, "source_hash": "c20f5548b11554daf9606bb613dbb402408e9e7fc0f1c07d0b31d743b9cadcd8", "categorized_nodes": 156}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma ...
78,006
c
#include "def.h" #include "prjb.h" #include "prjf.h" #include "scanner_0.h" #include "tprj.h" #include <cstdio> #ifndef _NIPET_RECON_H_ #define _NIPET_RECON_H_ /* separable convolution */ #define KERNEL_LENGTH (2 * RSZ_PSF_KRNL + 1) // Column convolution filter #define COLUMNS_BLOCKDIM_X 8 #define COLUMNS_BLOCKDIM_Y...
30.48
27
(translation_unit) "#include "def.h"\n#include "prjb.h"\n#include "prjf.h"\n#include "scanner_0.h"\n#include "tprj.h"\n#include <cstdio>\n\n#ifndef _NIPET_RECON_H_\n#define _NIPET_RECON_H_\n\n/* separable convolution */\n#define KERNEL_LENGTH (2 * RSZ_PSF_KRNL + 1)\n\n// Column convolution filter\n#define COLUMNS_BLOCK...
198
0
{"language": "c", "success": true, "metadata": {"lines": 27, "avg_line_length": 30.48, "nodes": 157, "errors": 0, "source_hash": "3c3e6524acca2cedf2318bc9fceb7c92136077b73bab251727397e39105e6adc", "categorized_nodes": 77}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
78,007
c
#ifndef GCOFLOWDEFS_H #define GCOFLOWDEFS_H 1 DLword gc_handleoverflow(DLword arg); DLword gcmaptable(DLword arg); #endif
23.4
5
(translation_unit) "#ifndef GCOFLOWDEFS_H\n#define GCOFLOWDEFS_H 1\nDLword gc_handleoverflow(DLword arg);\nDLword gcmaptable(DLword arg);\n#endif\n" (preproc_ifdef) "#ifndef GCOFLOWDEFS_H\n#define GCOFLOWDEFS_H 1\nDLword gc_handleoverflow(DLword arg);\nDLword gcmaptable(DLword arg);\n#endif" (#ifndef) "#ifndef" ...
31
0
{"language": "c", "success": true, "metadata": {"lines": 5, "avg_line_length": 23.4, "nodes": 24, "errors": 0, "source_hash": "8838ad92c9a1f8fc5858569279b0e049e700537e0e6d6d11d9469f7da26cc745", "categorized_nodes": 19}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef GC...
78,008
c
/* This file was generated by syncqt. */ #ifndef QT_QTQUICKTEST_VERSION_H #define QT_QTQUICKTEST_VERSION_H #define QTQUICKTEST_VERSION_STR "5.15.0" #define QTQUICKTEST_VERSION 0x050F00 #endif // QT_QTQUICKTEST_VERSION_H
35.67
6
(translation_unit) "/* This file was generated by syncqt. */\n#ifndef QT_QTQUICKTEST_VERSION_H\n#define QT_QTQUICKTEST_VERSION_H\n\n#define QTQUICKTEST_VERSION_STR "5.15.0"\n\n#define QTQUICKTEST_VERSION 0x050F00\n\n#endif // QT_QTQUICKTEST_VERSION_H\n" (comment) "/* This file was generated by syncqt. */" (preproc_...
18
0
{"language": "c", "success": true, "metadata": {"lines": 6, "avg_line_length": 35.67, "nodes": 15, "errors": 0, "source_hash": "1b0114bdd79cbcdc9799ab1c033a48ccff8176f274efb35312b38e1fd2fb54a1", "categorized_nodes": 7}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef QT...
78,009
c
#ifndef NIKI_ASM_AS_H #define NIKI_ASM_AS_H #include <stdint.h> #include <parser/parser.h> #include "instruction.h" #define READ_ARGS(n) for (int i = 0; i < n; i += 1) arg[i] = read_argument(line_content->args[i]); /* * Supported directives: * * Name: offsetinc: * ------------------------------------- * ....
31.57
135
(translation_unit) "#ifndef NIKI_ASM_AS_H\n#define NIKI_ASM_AS_H\n\n#include <stdint.h>\n#include <parser/parser.h>\n#include "instruction.h"\n\n#define READ_ARGS(n) for (int i = 0; i < n; i += 1) arg[i] = read_argument(line_content->args[i]);\n\n/*\n * Supported directives:\n *\n * Name: offsetinc:\n * ---------...
959
0
{"language": "c", "success": true, "metadata": {"lines": 135, "avg_line_length": 31.57, "nodes": 488, "errors": 0, "source_hash": "ee3d41a8c2c34376b85e7f1ea1119b8eeeea7b56535fa7b63a2f14a98b287834", "categorized_nodes": 318}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
78,010
c
// Copyright 2018 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_UI_APP_LIST_SEARCH_SETTINGS_SHORTCUT_SETTINGS_SHORTCUT_RESULT_H_ #define CHROME_BROWSER_UI_APP_LIST_SEARCH_SETTINGS_SHORTCUT_SETTIN...
42.71
28
(translation_unit) "// Copyright 2018 The Chromium Authors. All rights reserved.\n// Use of this source code is governed by a BSD-style license that can be\n// found in the LICENSE file.\n\n#ifndef CHROME_BROWSER_UI_APP_LIST_SEARCH_SETTINGS_SHORTCUT_SETTINGS_SHORTCUT_RESULT_H_\n#define CHROME_BROWSER_UI_APP_LIST_SEARCH...
150
6
{"language": "c", "success": true, "metadata": {"lines": 28, "avg_line_length": 42.71, "nodes": 83, "errors": 0, "source_hash": "8901cfba36eb7a1429f67163a390401a8d2301b57e53f7b718a0113344d139a7", "categorized_nodes": 62}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
78,011
c
#include "../src/insn.h" #include "../src/vm.h" #include <assert.h> #include <string.h> static unsigned char test0[] = {VM_INSN_MOVB_IMM8_TO_R2, 0xfa, 0x14, VM_INSN_SUBB_IMM8_R2_TO_R0, 0xfa, ...
35.38
84
(translation_unit) "#include "../src/insn.h"\n#include "../src/vm.h"\n#include <assert.h>\n#include <string.h>\n\nstatic unsigned char test0[] = {VM_INSN_MOVB_IMM8_TO_R2,\n 0xfa,\n 0x14,\n VM_INSN_SUBB_IMM8_R2_TO_R0,\n ...
731
0
{"language": "c", "success": true, "metadata": {"lines": 84, "avg_line_length": 35.38, "nodes": 425, "errors": 0, "source_hash": "0667c1a58ce05867eea4c66352f57d3df240dfe3db11d10bc231c36bb4c56a84", "categorized_nodes": 278}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
78,012
c
// // UIView+ParallaxMotion.h // // Created by <NAME> on 7/4/13. // Copyright (c) 2013 Numerical Garden. All rights reserved. // #import <UIKit/UIKit.h> typedef NS_ENUM(NSInteger, NGAParallaxDirectionConstraint) { NGAParallaxDirectionConstraintAll = 0, NGAParallaxDirectionConstraintHorizontal, NGAPara...
32.43
23
(translation_unit) "//\n// UIView+ParallaxMotion.h\n//\n// Created by <NAME> on 7/4/13.\n// Copyright (c) 2013 Numerical Garden. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n\ntypedef NS_ENUM(NSInteger, NGAParallaxDirectionConstraint) {\n NGAParallaxDirectionConstraintAll = 0,\n NGAParallaxDirectionC...
80
13
{"language": "c", "success": true, "metadata": {"lines": 23, "avg_line_length": 32.43, "nodes": 49, "errors": 0, "source_hash": "9641be08f22af07a4247098941ff06efcae2a9c12fcbacffde12c93b0a142ee3", "categorized_nodes": 28}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <...
78,013
c
#pragma once #include <stdbool.h> #include <stdint.h> #include <string.h> #include <SDL_audio.h> #include "common.h" #define MUSIC_SAMPLE_RATE 44100 #define MUSIC_AUDIO_FMT AUDIO_S16 #define MUSIC_AUDIO_CHANNELS 2 bool CWAudioInit(void); void CWAudioTerminate(void); int CWAudioLoadHead(CWAudioHead *head, const cha...
31.79
34
(translation_unit) "#pragma once\n#include <stdbool.h>\n#include <stdint.h>\n#include <string.h>\n\n#include <SDL_audio.h>\n\n#include "common.h"\n\n#define MUSIC_SAMPLE_RATE 44100\n#define MUSIC_AUDIO_FMT AUDIO_S16\n#define MUSIC_AUDIO_CHANNELS 2\n\nbool CWAudioInit(void);\nvoid CWAudioTerminate(void);\n\nint CWAudioL...
334
0
{"language": "c", "success": true, "metadata": {"lines": 34, "avg_line_length": 31.79, "nodes": 235, "errors": 0, "source_hash": "045016e3cd413da827912bebffcec881685f1bae5088c260484c7726d9c88190", "categorized_nodes": 138}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
78,014
c
/* asm-generic/tlb.h * * Generic TLB shootdown code * * Copyright 2001 Red Hat, Inc. * Based on code from mm/memory.c Copyright <NAME> and others. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software ...
35.44
90
(translation_unit) "/* asm-generic/tlb.h\n *\n * Generic TLB shootdown code\n *\n * Copyright 2001 Red Hat, Inc.\n * Based on code from mm/memory.c Copyright <NAME> and others.\n *\n * This program is free software; you can redistribute it and/or\n * modify it under the terms of the GNU General Public License\n * as pu...
391
1
{"language": "c", "success": true, "metadata": {"lines": 90, "avg_line_length": 35.44, "nodes": 253, "errors": 0, "source_hash": "4271f26e888db032e34105201ca2c5fada1d8886a1a0aabbe7d45d5281e511eb", "categorized_nodes": 180}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
78,015
c
#include<stdio.h> #include<stdlib.h> int n; int read(int a[20],int n) { int i; printf("Enter the elements \n"); for(i=0;i<n;i++) { scanf("%d",&a[i]); } return 0; } void display(int a[20],int n) { int i; for(i=0;i<n;i++) { printf("%d\n",a[i]); } ...
15.13
155
(translation_unit) "#include<stdio.h> \n#include<stdlib.h> \nint n; \nint read(int a[20],int n) \n{ \n int i; \n printf("Enter the elements \n"); \n for(i=0;i<n;i++) \n { \n scanf("%d",&a[i]); \n } \n return 0; \n} \nvoid display(int a[20],int n) \n{ \n int i; \n for(i=0;i<n;i++) \n { ...
615
0
{"language": "c", "success": true, "metadata": {"lines": 155, "avg_line_length": 15.13, "nodes": 330, "errors": 0, "source_hash": "43a3c5cd16c8a59d1b734db6223f2bd15d5d4384159beda6902a79408734a6de", "categorized_nodes": 240}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
78,016
c
#pragma once #include "type_t.CFeatureDefinitionBaseType.h" namespace qif191 { namespace t { class CCompositeFeatureDefinitionBaseType : public ::qif191::t::CFeatureDefinitionBaseType { public: QIF191_EXPORT CCompositeFeatureDefinitionBaseType(xercesc::DOMNode* const& init); QIF191_EXPORT CCompositeFeatureDefin...
38.65
20
(translation_unit) "#pragma once\n\n#include "type_t.CFeatureDefinitionBaseType.h"\n\n\nnamespace qif191\n{\n\nnamespace t\n{ \n\nclass CCompositeFeatureDefinitionBaseType : public ::qif191::t::CFeatureDefinitionBaseType\n{\npublic:\n QIF191_EXPORT CCompositeFeatureDefinitionBaseType(xercesc::DOMNode* const& init);\n Q...
161
9
{"language": "c", "success": true, "metadata": {"lines": 20, "avg_line_length": 38.65, "nodes": 83, "errors": 0, "source_hash": "44d06e799ef00a49eea3034fae441cd7dd9c4180e78f7d4968027044ce0a1d5a", "categorized_nodes": 59}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
78,017
c
/* \file nxp_channel.c * \brief Example implementation of functions specified by * 'nexus/include/nxp_channel.h' * \author Angaza \copyright 2021 Angaza, Inc * \license This file is released under the MIT license * * The above copyright notice and license shall be included in all copies * or substantial portions...
37.22
124
(translation_unit) "/* \file nxp_channel.c\n * \brief Example implementation of functions specified by\n * 'nexus/include/nxp_channel.h'\n * \author Angaza \copyright 2021 Angaza, Inc\n * \license This file is released under the MIT license\n *\n * The above copyright notice and license shall be included in all copies\...
558
0
{"language": "c", "success": true, "metadata": {"lines": 124, "avg_line_length": 37.22, "nodes": 291, "errors": 0, "source_hash": "e202ea8f597e547c649507d6413be5dc072f1fb9876ff19c741ddf904c9a9da8", "categorized_nodes": 213}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
78,018
c
#include "SERFilm.h" #include "../../NET/TCPStrutture.h" #include "../../IO/IOFilm.h" #include <sys/socket.h> int SEF_Film_Salva(const int IDConnessione) { Film f = Film_Null(); if (recv(IDConnessione, &f, sizeof (Film), 0) < 0) return -1; int r = Film_Salva(f); return send(IDConnessione, &r...
29.1
30
(translation_unit) "#include "SERFilm.h"\n#include "../../NET/TCPStrutture.h"\n#include "../../IO/IOFilm.h"\n#include <sys/socket.h>\n\nint SEF_Film_Salva(const int IDConnessione)\n{\n Film f = Film_Null();\n\n if (recv(IDConnessione, &f, sizeof (Film), 0) < 0)\n return -1;\n\n int r = Film_Salva(f);\n\...
313
0
{"language": "c", "success": true, "metadata": {"lines": 30, "avg_line_length": 29.1, "nodes": 184, "errors": 0, "source_hash": "0e474d158c0864cf7f16b46ea5718ad6a7694feb38232e77b72c922f5791e411", "categorized_nodes": 140}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
78,019
c
// // CCRadioMenu.h // MathNinja // // Created by <NAME> on 2/14/10. // Copyright 2010 <NAME>. All rights reserved. // #import "cocos2d.h" @interface CCRadioMenu : CCMenu { CCMenuItem *_curHighlighted; } - (void)setSelectedItem:(CCMenuItem *)item; @end
19.08
13
(translation_unit) "//\n// CCRadioMenu.h\n// MathNinja\n//\n// Created by <NAME> on 2/14/10.\n// Copyright 2010 <NAME>. All rights reserved.\n//\n\n#import "cocos2d.h"\n\n@interface CCRadioMenu : CCMenu {\n CCMenuItem *_curHighlighted;\n}\n\n- (void)setSelectedItem:(CCMenuItem *)item;\n\n@end\n" (comment) "//"...
49
7
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 19.08, "nodes": 28, "errors": 0, "source_hash": "925ad06457a194c5ceb23ea5608b97cab393bf571657ba4d2125cf0f9a717dbb", "categorized_nodes": 14}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import \...
78,020
c
/* tinyprnt.c */ #if OSK #define sprintf Sprintf #endif /* This is a limited version of sprintf(). It is useful for Minix-PC and * Coherent-286 because those systems are both limited to 64k+64k and the * standard sprintf() is just too damn big. * * It should also be useful for OS-9 because OS-9's sprin...
20.94
230
(translation_unit) "/* tinyprnt.c */ \n \n#if OSK \n#define sprintf Sprintf \n#endif \n \n/* This is a limited version of sprintf(). It is useful for Minix-PC and \n * Coherent-286 because those systems are both limited to 64k+64k and the \n * standard sprintf() is just too damn big. \n * \n * It should also be useful...
1,238
0
{"language": "c", "success": true, "metadata": {"lines": 230, "avg_line_length": 20.94, "nodes": 808, "errors": 0, "source_hash": "ee3b37d418be442ab815a09a976f5d27cd05f74f21abe877d65a155ab459d842", "categorized_nodes": 471}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_if", "text": "#if OSK\...
78,021
c
// dcep.c // Copyright (c) 2015 <NAME> <<EMAIL>> // This file is licensed under a BSD license. #include <stdio.h> #include <stdint.h> #include <string.h> #include "common.h" #include "sctp.h" #include "dcep.h" #include "rtcdc.h" static struct rtcdc_data_channel * allocate_new_data_channel(struct dcep_open_message *op...
30.8
117
(translation_unit) "// dcep.c\n// Copyright (c) 2015 <NAME> <<EMAIL>>\n// This file is licensed under a BSD license.\n\n#include <stdio.h>\n#include <stdint.h>\n#include <string.h>\n#include "common.h"\n#include "sctp.h"\n#include "dcep.h"\n#include "rtcdc.h"\n\nstatic struct rtcdc_data_channel *\nallocate_new_data_cha...
1,059
0
{"language": "c", "success": true, "metadata": {"lines": 117, "avg_line_length": 30.8, "nodes": 678, "errors": 0, "source_hash": "034b03620a199f72226c5c76eaff97e12470af678cbe233a175c1678324cab4a", "categorized_nodes": 513}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
78,022
c
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_CHROMEOS_POLICY_CONSUMER_UNENROLLMENT_HANDLER_FACTORY_H_ #define CHROME_BROWSER_CHROMEOS_POLICY_CONSUMER_UNENROLLMENT_HANDLER_FACTO...
46.27
26
(translation_unit) "// Copyright 2014 The Chromium Authors. All rights reserved.\n// Use of this source code is governed by a BSD-style license that can be\n// found in the LICENSE file.\n\n#ifndef CHROME_BROWSER_CHROMEOS_POLICY_CONSUMER_UNENROLLMENT_HANDLER_FACTORY_H_\n#define CHROME_BROWSER_CHROMEOS_POLICY_CONSUMER_U...
150
6
{"language": "c", "success": true, "metadata": {"lines": 26, "avg_line_length": 46.27, "nodes": 83, "errors": 0, "source_hash": "7919847dd3a34ca635fd10a0f4433e5bd3d06e0035de7e16c6948996075ec858", "categorized_nodes": 58}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
78,023
c
/* (c) <NAME>. See "licence DDRace.txt" and the readme.txt in the root of the distribution for more information. */ /* Based on Race mod stuff and tweaked by GreYFoX@GTi and others to fit our DDRace needs. */ /* CSqlScore Class by <NAME>*/ #ifndef GAME_SERVER_SQLSCORE_H #define GAME_SERVER_SQLSCORE_H #include <mysql_c...
30.7
132
(translation_unit) "/* (c) <NAME>. See "licence DDRace.txt" and the readme.txt in the root of the distribution for more information. */\n/* Based on Race mod stuff and tweaked by GreYFoX@GTi and others to fit our DDRace needs. */\n/* CSqlScore Class by <NAME>*/\n#ifndef GAME_SERVER_SQLSCORE_H\n#define GAME_SERVER_SQLSC...
1,198
33
{"language": "c", "success": true, "metadata": {"lines": 132, "avg_line_length": 30.7, "nodes": 818, "errors": 0, "source_hash": "42da22cf792d6d8805da709fb365ae2279fe97cb03a043f910fc04962f2263c1", "categorized_nodes": 477}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
78,024
c
#ifndef NODO_H #define NODO_H #include <iostream> using namespace std; template<class T> class Nodo { public: Nodo(T); Nodo *sig; T getObjeto(); private: T objeto; }; #endif // NODO_H
13.93
15
(translation_unit) "#ifndef NODO_H\n#define NODO_H\n#include <iostream>\nusing namespace std;\ntemplate<class T>\nclass Nodo\n{\n public:\n Nodo(T);\n Nodo *sig;\n T getObjeto();\n\n private:\n T objeto;\n};\n\n#endif // NODO_H\n" (preproc_ifdef) "#ifndef NODO_H\n#define NODO_H\n#inc...
66
3
{"language": "c", "success": true, "metadata": {"lines": 15, "avg_line_length": 13.93, "nodes": 43, "errors": 0, "source_hash": "ce0999c8c96b89df6e59787682ef7b88d35462ab51e671b3af0e815cc9387b7f", "categorized_nodes": 30}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
78,025
c
#include <wsasdk.h> #include <server.h> #include <config.h> #include <console.h> #include <memory.h> #include <aes.h> #include <aeskey.h> #include <crc32.h> /* still under development */ ULONG ServerConnectionsCount = 0; static SOCKET CreateAcceptSocket(VOID) { BOOL bTrue = TRUE; SOCKET Socket = WSASocke...
28.77
81
(translation_unit) "#include <wsasdk.h>\n#include <server.h>\n#include <config.h>\n#include <console.h>\n#include <memory.h>\n#include <aes.h>\n#include <aeskey.h>\n#include <crc32.h>\n\n/*\n still under development\n*/\n\nULONG ServerConnectionsCount = 0;\n\nstatic\nSOCKET\nCreateAcceptSocket(VOID)\n{\n BOOL bTr...
612
1
{"language": "c", "success": true, "metadata": {"lines": 81, "avg_line_length": 28.77, "nodes": 330, "errors": 0, "source_hash": "cb54905066cb3e8b0b5b378c9bf33fc8712541b6cd7a4454151bfa8412e61160", "categorized_nodes": 239}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
78,026
c
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by <NAME>. // #import "CCActionJumpBy.h" #import "NSCopying.h" @interface CCActionJumpTo : CCActionJumpBy <NSCopying> { } - (void)startWithTarget:(id)arg1; @end
22.25
12
(translation_unit) "//\n// Generated by class-dump 3.5 (64 bit).\n//\n// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by <NAME>.\n//\n\n#import "CCActionJumpBy.h"\n\n#import "NSCopying.h"\n\n@interface CCActionJumpTo : CCActionJumpBy <NSCopying>\n{\n}\n\n- (void)startWithTarget:(id)arg1;\n\n@end\...
47
6
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 22.25, "nodes": 27, "errors": 0, "source_hash": "da1c6ddb33732b89240df62990561f5912d3e6c2961da367c1153a41c8ca4b25", "categorized_nodes": 12}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import \...
78,027
c
//FROM https://github.com/amar-singh-wisesciencewise/ATA-PASS-THROUGH-READ-WRITE/blob/master/write.c #include<unistd.h> #include<fcntl.h> #include<stdio.h> #include<stdlib.h> #include<string.h> #include<error.h> #include<sys/ioctl.h> #include<sys/types.h> #include<sys/mman.h> #include<scsi/scsi_ioctl.h> #include<scsi/s...
27.13
83
(translation_unit) "//FROM https://github.com/amar-singh-wisesciencewise/ATA-PASS-THROUGH-READ-WRITE/blob/master/write.c\n#include<unistd.h>\n#include<fcntl.h>\n#include<stdio.h>\n#include<stdlib.h>\n#include<string.h>\n#include<error.h>\n#include<sys/ioctl.h>\n#include<sys/types.h>\n#include<sys/mman.h>\n#include<scsi...
745
0
{"language": "c", "success": true, "metadata": {"lines": 83, "avg_line_length": 27.13, "nodes": 436, "errors": 0, "source_hash": "6c91b09dc9ad27d9573e68ba359b6fe036b568e0f561a5741b4d4fad3ea2b4b9", "categorized_nodes": 316}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
78,028
c
int mustcheck(); struct s { int err; }; int main() { struct s *tmp; tmp->err = mustcheck(); if (tmp->err < 0) { return -1; } return 0; }
11.75
12
(translation_unit) "int mustcheck();\n\nstruct s {\n int err;\n};\n\nint main() {\n struct s *tmp;\n tmp->err = mustcheck();\n if (tmp->err < 0) {\n return -1;\n }\n return 0;\n}\n" (declaration) "int mustcheck();" (primitive_type) "int" (function_declarator) "mustcheck()" (identifier) "mustche...
74
0
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 11.75, "nodes": 43, "errors": 0, "source_hash": "16bfb9a588f8599cfa06d3e0566c85be7859b002c8f37d1544cb06ffbc107f6c", "categorized_nodes": 33}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "declaration", "text": "int mustch...
78,029
c
/* Generated by RuntimeBrowser Image: /System/Library/PrivateFrameworks/Memories.framework/Memories */ @interface InfoPanelViewCell : UICollectionViewCell { UIImageView * _checkmarkIcon; UILabel * _label; } @property (nonatomic, retain) UIImageView *checkmarkIcon; @property (nonatomic, retain) UILabel *la...
36.8
20
(translation_unit) "/* Generated by RuntimeBrowser\n Image: /System/Library/PrivateFrameworks/Memories.framework/Memories\n */\n\n@interface InfoPanelViewCell : UICollectionViewCell {\n UIImageView * _checkmarkIcon;\n UILabel * _label;\n}\n\n@property (nonatomic, retain) UIImageView *checkmarkIcon;\n@property (...
241
17
{"language": "c", "success": true, "metadata": {"lines": 20, "avg_line_length": 36.8, "nodes": 148, "errors": 0, "source_hash": "ca58e4a0fe8dc5925942a1bb6d8ea3ad81fa26ba32104ddb17b4359fc3062a8f", "categorized_nodes": 91}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "@interface InfoP...
78,030
c
// Debug the destructuration of a C sequence by the new controlizer void sequence03() { int i = 4; if((i%2)==0) goto l100; i = i + 10; { l100: i = i + 20; } return; }
14.42
12
(translation_unit) "// Debug the destructuration of a C sequence by the new controlizer\n\nvoid sequence03()\n{\n int i = 4;\n\n if((i%2)==0) goto l100;\n i = i + 10;\n {\n l100:\n\n i = i + 20;\n }\n return;\n}\n" (comment) "// Debug the destructuration of a C sequence by the new controlizer" (function_d...
65
0
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 14.42, "nodes": 41, "errors": 0, "source_hash": "d1e7e77e2e5545917cb00b25c94f94ff3872c2ade767fa7bb39cb8de59be5689", "categorized_nodes": 27}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "function_definition", "text": "vo...
78,031
c
// Generated by gencpp from file std_srvs/SetBool.msg // DO NOT EDIT! #ifndef STD_SRVS_MESSAGE_SETBOOL_H #define STD_SRVS_MESSAGE_SETBOOL_H #include <ros/service_traits.h> #include <std_srvs/SetBoolRequest.h> #include <std_srvs/SetBoolResponse.h> namespace std_srvs { struct SetBool { typedef SetBoolRequest Req...
22.88
104
(translation_unit) "// Generated by gencpp from file std_srvs/SetBool.msg\n// DO NOT EDIT!\n\n\n#ifndef STD_SRVS_MESSAGE_SETBOOL_H\n#define STD_SRVS_MESSAGE_SETBOOL_H\n\n#include <ros/service_traits.h>\n\n\n#include <std_srvs/SetBoolRequest.h>\n#include <std_srvs/SetBoolResponse.h>\n\n\nnamespace std_srvs\n{\n\nstruct ...
655
52
{"language": "c", "success": true, "metadata": {"lines": 104, "avg_line_length": 22.88, "nodes": 316, "errors": 0, "source_hash": "2f17ff535cd4903a1c7b32aaeff33bf46997bcd61049b959863a4c85db1396cb", "categorized_nodes": 198}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
78,032
c
#pragma once //#include <assert.h> //#include "../video/OGL_utils.h" //#include "utils.h" /* #define GET_ARRAY_PTR(x) ((x.type) === (CArray::TYPE_INTEGER))?(int *)(x->array):\ ((x.type) === (CArray::TYPE_FLOAT))?(float *)(x->array):\ throwException(__FILE__, __LINE__,x)*/ /* #define GET...
17.38
166
(translation_unit) "#pragma once \n \n \n//#include <assert.h> \n \n//#include "../video/OGL_utils.h" \n//#include "utils.h" \n \n/* \n#define GET_ARRAY_PTR(x) ((x.type) === (CArray::TYPE_INTEGER))?(int *)(x->array):\ \n ((x.type) === (CArray::TYPE_FLOAT))?(float *)(x->array):\ \n throwException(__FILE__,...
679
25
{"language": "c", "success": true, "metadata": {"lines": 166, "avg_line_length": 17.38, "nodes": 422, "errors": 0, "source_hash": "533812e0b86741107904557ad616f243373410e53658e6884b3aa6b5d1cd4dc1", "categorized_nodes": 269}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragm...
78,033
c
#pragma once #include <memory> #include <string> #include <sstream> #include <assert.h> #include <variant> #include <vector> #include <algorithm> #include <unordered_map> #include <stack> #include <tuple> #include <atomic> #include <thread> #include <mutex> #include <iomanip> // Windows #include <Wi...
16.81
31
(translation_unit) "#pragma once \n \n#include <memory> \n#include <string> \n#include <sstream> \n#include <assert.h> \n#include <variant> \n#include <vector> \n#include <algorithm> \n#include <unordered_map> \n#include <stack> \n#include <tuple> \n#include <atomic> \n#include <thread> \n#include <mutex> \n#include <i...
73
0
{"language": "c", "success": true, "metadata": {"lines": 31, "avg_line_length": 16.81, "nodes": 69, "errors": 0, "source_hash": "5e1a0dd3645632b889fe8fe891ee50487daf4aba93d33d187620a68c69576ccb", "categorized_nodes": 61}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
78,034
c
/* * Copyright (c) 1989 The Regents of the University of California. * All rights reserved. * * Redistribution and use in source and binary forms are permitted * provided that the above copyright notice and this paragraph are * duplicated in all such forms and that any documentation, * advertising materials, an...
24.68
222
(translation_unit) "/*\n * Copyright (c) 1989 The Regents of the University of California.\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms are permitted\n * provided that the above copyright notice and this paragraph are\n * duplicated in all such forms and that any documentation,\n *...
1,780
1
{"language": "c", "success": true, "metadata": {"lines": 222, "avg_line_length": 24.68, "nodes": 943, "errors": 0, "source_hash": "600d270f0bf3a490b6383cd801fc35c02596e7a2bc129d6786c32265d88596f7", "categorized_nodes": 708}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
78,035
c
#import <UIKit/UIKit.h> #import <GSSDK/GSSDK.h> #import "Scan.h" @class PostProcessingViewController; @protocol PostProcessingViewControllerDelegate - (void)postProcessingViewController:(PostProcessingViewController *)postProcessingViewController didFinishWithScan:(Scan *)scan; @end @class GSKQuadrangle; @interface...
41.38
13
(translation_unit) "#import <UIKit/UIKit.h>\n#import <GSSDK/GSSDK.h>\n#import "Scan.h"\n\n@class PostProcessingViewController;\n\n@protocol PostProcessingViewControllerDelegate\n- (void)postProcessingViewController:(PostProcessingViewController *)postProcessingViewController didFinishWithScan:(Scan *)scan;\n@end\n\n@cl...
114
24
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 41.38, "nodes": 85, "errors": 0, "source_hash": "990fdb3d9b55e1cd55310d6b75ccc0395f8ec9f462f3f8090fba2e37a0d9f370", "categorized_nodes": 41}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <...
78,036
c
#pragma once #include <QStringList> #include <unordered_map> class PrmMap { public: explicit PrmMap(int& argc, char* argv[]); const std::string GetSwitch(const std::string&); // return "" if not exits bool HasSwitch(const std::string&); private: std::pair<std::string, std::string> FindKeyValue(const QStrin...
29
13
(translation_unit) "#pragma once\n#include <QStringList>\n#include <unordered_map>\n\n\nclass PrmMap {\n public:\n explicit PrmMap(int& argc, char* argv[]);\n const std::string GetSwitch(const std::string&); // return "" if not exits\n bool HasSwitch(const std::string&);\n\n private:\n std::pair<std::string, std::s...
145
9
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 29.0, "nodes": 78, "errors": 0, "source_hash": "e64c6daa1ba4989f182e4a02333c6cdb5f762300fa68b1d60a79a1a568cd68b2", "categorized_nodes": 55}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma on...
78,037
c
// Copyright 2017 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 CONTENT_SHELL_BROWSER_SHELL_DEVTOOLS_BINDINGS_H_ #define CONTENT_SHELL_BROWSER_SHELL_DEVTOOLS_BINDINGS_H_ #include <memory> #include <set> #incl...
39.35
83
(translation_unit) "// Copyright 2017 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 CONTENT_SHELL_BROWSER_SHELL_DEVTOOLS_BINDINGS_H_\n#define CONTENT_SHELL_BROWSER_SHELL_DEVTOOLS_BINDINGS_H_\n\n#include <me...
659
39
{"language": "c", "success": true, "metadata": {"lines": 83, "avg_line_length": 39.35, "nodes": 404, "errors": 0, "source_hash": "09696a2478ce7c3e9d045698ac2e9e753dcf31294abc580a7b171a2c4c02e51f", "categorized_nodes": 264}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
78,038
c
#ifndef BACK_ARC_H #define BACK_ARC_H #include "array_id_func.h" #include "id_sort.h" // Input graph must be symmetric template <class Tail, class Head> ArrayIDIDFunc compute_back_arc_permutation(const Tail& tail, const Head& head) { const int arc_count = head.preimage_count(); const int node_count = head.im...
35.88
34
(translation_unit) "#ifndef BACK_ARC_H\n#define BACK_ARC_H\n\n#include "array_id_func.h"\n#include "id_sort.h"\n\n// Input graph must be symmetric\ntemplate <class Tail, class Head>\nArrayIDIDFunc compute_back_arc_permutation(const Tail& tail, const Head& head)\n{\n\n const int arc_count = head.preimage_count();\n ...
490
16
{"language": "c", "success": true, "metadata": {"lines": 34, "avg_line_length": 35.88, "nodes": 280, "errors": 0, "source_hash": "ecf868369c8a03fc1feb9cabad9c6543265074f89b82fb62906a1f2c5f978a1e", "categorized_nodes": 212}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
78,039
c
// SPDX-License-Identifier: GPL-2.0-or-later /* * CLPS711X CPU idle driver * * Copyright (C) 2014 <NAME> <<EMAIL>> */ #include <linux/cpuidle.h> #include <linux/err.h> #include <linux/io.h> #include <linux/init.h> #include <linux/platform_device.h> #define CLPS711X_CPUIDLE_NAME "clps711x-cpuidle" static void _...
26.67
43
(translation_unit) "// SPDX-License-Identifier: GPL-2.0-or-later\n/*\n * CLPS711X CPU idle driver\n *\n * Copyright (C) 2014 <NAME> <<EMAIL>>\n */\n\n#include <linux/cpuidle.h>\n#include <linux/err.h>\n#include <linux/io.h>\n#include <linux/init.h>\n#include <linux/platform_device.h>\n\n#define CLPS711X_CPUIDLE_NAME ...
265
2
{"language": "c", "success": true, "metadata": {"lines": 43, "avg_line_length": 26.67, "nodes": 169, "errors": 0, "source_hash": "dcbb26084bf69764d40b2c3d8251bf6077d114d666424eacd4dffb943897484a", "categorized_nodes": 112}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
78,040
c
/** * \file bm_utils.c * * \brief BM utility functions * * Copyright (c) 2018 Microchip Technology Inc. and its subsidiaries. * * \asf_license_start * * \page License * * Subject to your compliance with these terms, you may use Microchip * software and any derivatives exclusively with Microchip products. *...
20.2
302
(translation_unit) "/**\n * \file bm_utils.c\n *\n * \brief BM utility functions\n *\n * Copyright (c) 2018 Microchip Technology Inc. and its subsidiaries.\n *\n * \asf_license_start\n *\n * \page License\n *\n * Subject to your compliance with these terms, you may use Microchip\n * software and any derivatives exclusi...
2,384
0
{"language": "c", "success": true, "metadata": {"lines": 302, "avg_line_length": 20.2, "nodes": 1652, "errors": 0, "source_hash": "e118a7e06c6b440c1f8b9c7f825063abc0b581908704c22c9b201d96b12239f2", "categorized_nodes": 1118}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#i...
78,041
c
// // Generated by class-dump 3.5 (64 bit) (Debug version compiled Mar 11 2021 20:53:35). // // Copyright (C) 1997-2019 <NAME>. // #import <objc/NSObject.h> @class LKPanel, LKTextField; @interface OZLibraryPresetsSavePanel : NSObject { LKTextField *_pNameField; LKPanel *_pPanel; struct OZFactoryBase...
32.24
21
(translation_unit) "//\n// Generated by class-dump 3.5 (64 bit) (Debug version compiled Mar 11 2021 20:53:35).\n//\n// Copyright (C) 1997-2019 <NAME>.\n//\n\n#import <objc/NSObject.h>\n\n@class LKPanel, LKTextField;\n\n@interface OZLibraryPresetsSavePanel : NSObject\n{\n LKTextField *_pNameField;\n LKPanel *...
200
15
{"language": "c", "success": true, "metadata": {"lines": 21, "avg_line_length": 32.24, "nodes": 127, "errors": 0, "source_hash": "3a06d5bc4cdb8e93c505b44990f2025674c23be6743fb2f2fcabab428ebabcd7", "categorized_nodes": 74}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import ...
78,042
c
/* append.c -- appends files to a file */ #include <stdio.h> #include <stdlib.h> #include <string.h> #define BUFSIZE 1024 void append(FILE *source, FILE *dest); int main(int argc, char *argv[]) { FILE *fa, *fs; // fa for append file, fs for source file int files = 0; // number of files appended ...
29.22
64
(translation_unit) "/* append.c -- appends files to a file */ \n#include <stdio.h> \n#include <stdlib.h> \n#include <string.h> \n#define BUFSIZE 1024 \nvoid append(FILE *source, FILE *dest); \n \nint main(int argc, char *argv[]) \n{ \n FILE *fa, *fs; // fa for append file, fs for source file \n int files = 0; //...
555
0
{"language": "c", "success": true, "metadata": {"lines": 64, "avg_line_length": 29.22, "nodes": 313, "errors": 0, "source_hash": "608638a40615f3ca10aa0864ec99c4dd19857188f141cecedfd6e6759b4f7a8d", "categorized_nodes": 207}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
78,043
c
// // Licensed to Green Energy Corp (www.greenenergycorp.com) under one or // more contributor license agreements. See the NOTICE file distributed // with this work for additional information regarding copyright ownership. // Green Energy Corp licenses this file to you under the Apache License, // Version 2.0 (the "Li...
36.4
60
(translation_unit) "//\n// Licensed to Green Energy Corp (www.greenenergycorp.com) under one or\n// more contributor license agreements. See the NOTICE file distributed\n// with this work for additional information regarding copyright ownership.\n// Green Energy Corp licenses this file to you under the Apache License,\...
234
8
{"language": "c", "success": true, "metadata": {"lines": 60, "avg_line_length": 36.4, "nodes": 129, "errors": 0, "source_hash": "e4ae64f8a984c2c34431ce8c730bc8b047453b5510d762a346bcbe7274daf1f5", "categorized_nodes": 96}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
78,044
c
/*++ Copyright (c) 1995 Microsoft Corporation Module Name: ntos\tdi\isn\fwd\driver.h Abstract: IPX Forwarder driver dispatch routines Author: <NAME> Revision History: --*/ #ifndef _IPXFWD_DRIVER_ #define _IPXFWD_DRIVER_ // Pseudo constant 0xFFFFFFFFFFFFF extern const UC...
19.3
102
(translation_unit) "/*++ \n \nCopyright (c) 1995 Microsoft Corporation \n \nModule Name: \n \n ntos\tdi\isn\fwd\driver.h \n \nAbstract: \n IPX Forwarder driver dispatch routines \n \n \nAuthor: \n \n <NAME> \n \nRevision History: \n \n--*/ \n \n \n#ifndef _IPXFWD_DRIVER_ \n#define _IPXFWD_DRIVER_ \n \n// Pseu...
106
0
{"language": "c", "success": true, "metadata": {"lines": 102, "avg_line_length": 19.3, "nodes": 63, "errors": 0, "source_hash": "bfde84b5dbfb919f5988d6bebf1076bfa047ac6cb7da442c8ca34e893b4d8c80", "categorized_nodes": 45}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
78,045
c
// simulate C mode #undef __cplusplus #define TRUE true #define FALSE false #if (TRUE) int TRUE_PARENS_visible; #endif #if TRUE int TRUE_visible; #endif #if (2) int _2_PARENS_visible; #endif #if 2 int _2_visible; #endif #if (1) int _1_PARENS_visible; #endif #if 1 int _1_visible; #endif #if (0) int _0_PARENS_invis...
12.06
34
(translation_unit) "// simulate C mode\n#undef __cplusplus \n\n#define TRUE true\n#define FALSE false\n\n#if (TRUE)\nint TRUE_PARENS_visible;\n#endif\n#if TRUE\nint TRUE_visible;\n#endif\n\n#if (2)\nint _2_PARENS_visible;\n#endif\n#if 2\nint _2_visible;\n#endif\n\n#if (1)\nint _1_PARENS_visible;\n#endif\n#if 1\nint _1_...
118
0
{"language": "c", "success": true, "metadata": {"lines": 34, "avg_line_length": 12.06, "nodes": 96, "errors": 0, "source_hash": "664051c9a39646b9fce331bd5324eda7a79c48154a429551b7716329fbfa9050", "categorized_nodes": 68}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#undef __...
78,046
c
#ifndef L1GCTVALIDATION_H #define L1GCTVALIDATION_H // -*- C++ -*- // // Package: L1GlobalCaloTrigger // Class: L1GctValidation // /**\class L1GctValidation L1GctValidation.cc L1Trigger/L1GlobalCaloTrigger/plugins/L1GctValidation.cc Description: produces standard plots of Gct output quantities to enable valid...
33.64
83
(translation_unit) "#ifndef L1GCTVALIDATION_H\n#define L1GCTVALIDATION_H\n// -*- C++ -*-\n//\n// Package: L1GlobalCaloTrigger\n// Class: L1GctValidation\n//\n/**\class L1GctValidation L1GctValidation.cc L1Trigger/L1GlobalCaloTrigger/plugins/L1GctValidation.cc\n\n Description: produces standard plots of Gct outp...
485
16
{"language": "c", "success": true, "metadata": {"lines": 83, "avg_line_length": 33.64, "nodes": 309, "errors": 0, "source_hash": "6d18bff7b432251cd6aac0bcf1f7f7d31690affae1ebaaa3213cf5cf6d5952f1", "categorized_nodes": 212}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
78,047
c
/* * Minion http://minion.sourceforge.net * Copyright (C) 2006-09 * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * ...
33.48
40
(translation_unit) "/*\n* Minion http://minion.sourceforge.net\n* Copyright (C) 2006-09\n*\n* This program is free software; you can redistribute it and/or\n* modify it under the terms of the GNU General Public License\n* as published by the Free Software Foundation; either version 2\n* of the License, or (at your opti...
153
8
{"language": "c", "success": true, "metadata": {"lines": 40, "avg_line_length": 33.48, "nodes": 106, "errors": 0, "source_hash": "48296b27105446b4545f01d56499cea7922c898a6bfbd26369bd57feff2a23d5", "categorized_nodes": 73}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "#ifndef _BUILDC...
78,048
c
// // UIView+Additions.h // songbook // // Created by <NAME> on 8/23/13. // #import <UIKit/UIKit.h> @interface UIView (Helpers) - (void)setOriginX:(CGFloat)originX; - (void)setOriginY:(CGFloat)originY; - (void)setWidth:(CGFloat)width; - (void)setHeight:(CGFloat)height; @end
20.38
13
(translation_unit) "//\n// UIView+Additions.h\n// songbook\n//\n// Created by <NAME> on 8/23/13.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface UIView (Helpers)\n\n- (void)setOriginX:(CGFloat)originX;\n- (void)setOriginY:(CGFloat)originY;\n- (void)setWidth:(CGFloat)width;\n- (void)setHeight:(CGFloat)height;\n\n@end\n"...
88
8
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 20.38, "nodes": 48, "errors": 0, "source_hash": "12ce56f583e723f572bf0fcc1206e1e43e17018db4df41aa93ddfb3d813a9a68", "categorized_nodes": 26}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <...
78,049
c
#ifndef _FILE_DOWNLOAD_OBJECT_H_ #define _FILE_DOWNLOAD_OBJECT_H_ #ifndef _GAMEBASE_H_ #include "game/gameBase.h" #endif #ifndef _MATERIALLIST_H_ #include "dgl/materialList.h" #endif #ifndef _PLATFORMAUDIO_H_ #include "platform/platformAudio.h" #endif #ifndef _MOVEMANAGER_H_ #include "game/moveManager.h" #endif #ifnde...
21.56
50
(translation_unit) "#ifndef _FILE_DOWNLOAD_OBJECT_H_\n#define _FILE_DOWNLOAD_OBJECT_H_\n\n#ifndef _GAMEBASE_H_\n#include "game/gameBase.h"\n#endif\n#ifndef _MATERIALLIST_H_\n#include "dgl/materialList.h"\n#endif\n#ifndef _PLATFORMAUDIO_H_\n#include "platform/platformAudio.h"\n#endif\n#ifndef _MOVEMANAGER_H_\n#include "...
256
4
{"language": "c", "success": true, "metadata": {"lines": 50, "avg_line_length": 21.56, "nodes": 177, "errors": 0, "source_hash": "7a492e9514a65d1541aaa512f7e76bbb22a34a8ea3ca13245ceb7f357b0bcf0c", "categorized_nodes": 133}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
78,050
c
#import <Foundation/Foundation.h> #import <objc/runtime.h> #import <CommonCrypto/CommonDigest.h> #import <UIKit/UIKit.h> #import <sqlite3.h> #import "FMDB.h" #import "_DBMapping.h" //============= @interface FMDatabase (DBHelper) + (FMDatabase *)createDatabase:(NSString *)dstPath; + (FMDatabase *)copyDatabase:(NSStri...
40.13
128
(translation_unit) "#import <Foundation/Foundation.h>\n#import <objc/runtime.h>\n#import <CommonCrypto/CommonDigest.h>\n#import <UIKit/UIKit.h>\n#import <sqlite3.h>\n#import "FMDB.h"\n#import "_DBMapping.h"\n\n//=============\n@interface FMDatabase (DBHelper)\n\n+ (FMDatabase *)createDatabase:(NSString *)dstPath;\n+ (F...
1,418
115
{"language": "c", "success": true, "metadata": {"lines": 128, "avg_line_length": 40.13, "nodes": 900, "errors": 0, "source_hash": "0ae7539e934bc4dcd3f1cfebf5d97dac6587fd80c921fc0712aead1d7863d704", "categorized_nodes": 493}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#impor...
78,051
c
// // Use this file to import your target's public headers that you would like to expose to Swift. // #ifndef FMEDITORVIEWSWIFT_BRIDING_HEADER_H #define FMEDITORVIEWSWIFT_BRIDING_HEADER_H #import "ObjCViewController.h" #endif // FMEDITORVIEWSWIFT_BRIDING_HEADER_H
36.86
7
(translation_unit) "//\n// Use this file to import your target's public headers that you would like to expose to Swift.\n//\n\n#ifndef FMEDITORVIEWSWIFT_BRIDING_HEADER_H\n#define FMEDITORVIEWSWIFT_BRIDING_HEADER_H\n\n#import "ObjCViewController.h"\n\n#endif // FMEDITORVIEWSWIFT_BRIDING_HEADER_H\n" (comment) "//" (...
15
0
{"language": "c", "success": true, "metadata": {"lines": 7, "avg_line_length": 36.86, "nodes": 10, "errors": 0, "source_hash": "0026f4a422d208d77f7c224ae4ef2313e291fa58095085ff0bc34ee065bd7ef4", "categorized_nodes": 6}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef FM...
78,052
c
#pragma once #include <kv.h> #include <unordered_map> struct HashKV: KV { explicit HashKV(const char* path); ~HashKV() override; // TODO Consider renaming/aliasing these to operator() for use with algos std::optional<std::string> get(SV key) override; void set(SV key, SV value) override; private:...
33.14
14
(translation_unit) "#pragma once\n\n#include <kv.h>\n#include <unordered_map>\n\nstruct HashKV: KV {\n explicit HashKV(const char* path);\n ~HashKV() override;\n // TODO Consider renaming/aliasing these to operator() for use with algos\n std::optional<std::string> get(SV key) override;\n void set(SV key,...
130
7
{"language": "c", "success": true, "metadata": {"lines": 14, "avg_line_length": 33.14, "nodes": 84, "errors": 0, "source_hash": "cca22c11da34e79ab7fb2da7b664316da4df5abeb222d3f2905908512576c464", "categorized_nodes": 56}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
78,053
c
start(int i) { set_light(3); call_out("time_out", i); } short() { return "A orb of light"; } long() { write("A orb of light"); } query_long() { return "A orb of light"; } get() { return 0; } drop() { return 1; } id(str) { if (str == "orb") { return 1; } } time_out(i) { write("The orb vanishes\n"); set_light(...
21.29
17
(translation_unit) "start(int i) {\n set_light(3);\n call_out("time_out", i);\n}\n\nshort() { return "A orb of light"; }\nlong() { write("A orb of light"); }\nquery_long() { return "A orb of light"; }\n\n\nget() { return 0; }\ndrop() { return 1; }\n\nid(str) { if (str == "orb") { return 1; } }\n\ntime_out(i) {\n writ...
200
1
{"language": "c", "success": true, "metadata": {"lines": 17, "avg_line_length": 21.29, "nodes": 82, "errors": 0, "source_hash": "bcf0065ef143b4b594dcdf79b50c5999cb55ab3f4d60750bc84966c871205ad9", "categorized_nodes": 60}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "macro_type_specifier", "text": "s...
78,054
c
/* This file is part of the KDE project Copyright (C) 2007-2008 <NAME> <<EMAIL>> 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 License, o...
28.81
103
(translation_unit) "/* This file is part of the KDE project \n Copyright (C) 2007-2008 <NAME> <<EMAIL>> \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; either \n ver...
271
8
{"language": "c", "success": true, "metadata": {"lines": 103, "avg_line_length": 28.81, "nodes": 182, "errors": 0, "source_hash": "0224505b0934ad45bd62f6ec26722a1aeae0f5812dcac41f1260ac30927e3ddc", "categorized_nodes": 149}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
78,055
c
/* Copyright (C) 2001-2016 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C 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 ...
31.55
193
(translation_unit) "/* Copyright (C) 2001-2016 Free Software Foundation, Inc.\n This file is part of the GNU C Library.\n\n The GNU C 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; eith...
1,789
0
{"language": "c", "success": true, "metadata": {"lines": 193, "avg_line_length": 31.55, "nodes": 1114, "errors": 0, "source_hash": "f635e026efa14a3dffa5b4fc0d2984d2266e77c569f1624d73b615441cce6c06", "categorized_nodes": 829}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#i...
78,056
c
// // ANBasicTokenBlock.h // ANBasicCompiler // // Created by <NAME> on 12/17/11. // Copyright (c) 2011 __MyCompanyName__. All rights reserved. // #import "ANBasicToken.h" /** * This is a concrete ANBasicToken subclass that represents a block containing * zero or more tokens. Tokens of this type will only exist...
34.9
29
(translation_unit) "//\n// ANBasicTokenBlock.h\n// ANBasicCompiler\n//\n// Created by <NAME> on 12/17/11.\n// Copyright (c) 2011 __MyCompanyName__. All rights reserved.\n//\n\n#import "ANBasicToken.h"\n\n/**\n * This is a concrete ANBasicToken subclass that represents a block containing\n * zero or more tokens. Tok...
128
13
{"language": "c", "success": true, "metadata": {"lines": 29, "avg_line_length": 34.9, "nodes": 79, "errors": 0, "source_hash": "e5b9eb94be73905f336dbb5c4d77c51f34aaf08cc5ef836f3b5864eb10bfeec9", "categorized_nodes": 45}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import \"...
78,057
c
int getchar() { return tgt_getchar(); }
9
4
(translation_unit) "int getchar()\n{\nreturn tgt_getchar();\n}\n" (function_definition) "int getchar()\n{\nreturn tgt_getchar();\n}" (primitive_type) "int" (function_declarator) "getchar()" (identifier) "getchar" (parameter_list) "()" (() "(" ()) ")" (compound_statement) "{\nre...
19
0
{"language": "c", "success": true, "metadata": {"lines": 4, "avg_line_length": 9.0, "nodes": 9, "errors": 0, "source_hash": "bc53c08c7804e14e04b567cb3c42c134849a096ee6c72baa72027bf5e0c8471f", "categorized_nodes": 6}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "function_definition", "text": "int get...
78,058
c
#include "format-pcm.h" #include "emb-file.h" #include "emb-logging.h" #include "helpers-binary.h" #include "helpers-misc.h" static double pcmDecode(unsigned char a1, unsigned char a2, unsigned char a3) { int res = a1 + (a2 << 8) + (a3 << 16); if(res > 0x7FFFFF) { return (-((~(res) & 0x7FFFFF) - 1)...
35.34
86
(translation_unit) "#include "format-pcm.h"\n#include "emb-file.h"\n#include "emb-logging.h"\n#include "helpers-binary.h"\n#include "helpers-misc.h"\n\nstatic double pcmDecode(unsigned char a1, unsigned char a2, unsigned char a3)\n{\n int res = a1 + (a2 << 8) + (a3 << 16);\n if(res > 0x7FFFFF)\n {\n ret...
791
0
{"language": "c", "success": true, "metadata": {"lines": 86, "avg_line_length": 35.34, "nodes": 448, "errors": 0, "source_hash": "d4ff53b2da4ee31fadca99b6f8322985a3608780a2530449d47af636cd60d236", "categorized_nodes": 334}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
78,059
c
#include <stdio.h> #include "../includes_libs.h" #include "LuaScriptFunctions.h" LuaScript LuaScript_Load(ApplicationState* app, const char* key) { LuaScript script; script.key = key; const char* formatStr = "assets/scripts/%s.lua"; script.filename = malloc(sizeof(char) * (strlen(formatStr) - 2 + 1 + strlen(ke...
24.26
38
(translation_unit) "#include <stdio.h>\n#include "../includes_libs.h"\n#include "LuaScriptFunctions.h"\n\nLuaScript LuaScript_Load(ApplicationState* app, const char* key)\n{\n LuaScript script;\n \n script.key = key;\n \n const char* formatStr = "assets/scripts/%s.lua";\n script.filename = malloc(sizeof(char) * (strlen...
348
0
{"language": "c", "success": true, "metadata": {"lines": 38, "avg_line_length": 24.26, "nodes": 208, "errors": 0, "source_hash": "9932a61592b4f0ba87afe53fdd982e76b277fda26b5945a64cafd371f2cddfcc", "categorized_nodes": 148}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
78,060
c
// // NSString+Extension.h // eNavi // // Created by zuotoujing on 16/5/4. // Copyright © 2016年 csc. All rights reserved. // #import <Foundation/Foundation.h> @interface NSString (Extension) /** * 返回字符串所占用的尺寸 * * @param font 字体 * @param maxSize 最大尺寸 */ - (CGSize)sizeWithFont:(UIFont *)font maxSize:(CGS...
18.76
17
(translation_unit) "//\n// NSString+Extension.h\n// eNavi\n//\n// Created by zuotoujing on 16/5/4.\n// Copyright © 2016年 csc. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n\n@interface NSString (Extension)\n/**\n * 返回字符串所占用的尺寸\n *\n * @param font 字体\n * @param maxSize 最大尺寸\n */\n- (CGSize)siz...
52
7
{"language": "c", "success": true, "metadata": {"lines": 17, "avg_line_length": 18.76, "nodes": 29, "errors": 0, "source_hash": "70de334459cf86e192fd9b1dfeb7025d92079b5d685714c72caa672f8e677039", "categorized_nodes": 16}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "port <Fou...
78,061
c
#ifndef READERS_STRUCT_H #define READERS_STRUCT_H #include "libgeometry/libgeometry.h" #define MAXIMUM_APPERTURE_COUNT 1000 #define MAXIMUM_TOOL_COUNT 1000 #define MAX_LINE_LENGTH 1024 enum Shape { SHAPE_ROUND, SHAPE_RECT }; typedef struct { Shape sh; float x; float y; } Apperture; typedef struct t...
17.69
54
(translation_unit) "#ifndef READERS_STRUCT_H\n#define READERS_STRUCT_H\n#include "libgeometry/libgeometry.h"\n\n#define MAXIMUM_APPERTURE_COUNT 1000\n#define MAXIMUM_TOOL_COUNT 1000\n#define MAX_LINE_LENGTH 1024\n\nenum Shape {\n SHAPE_ROUND,\n SHAPE_RECT\n};\n\ntypedef struct {\n Shape sh;\n float x;\n flo...
239
0
{"language": "c", "success": true, "metadata": {"lines": 54, "avg_line_length": 17.69, "nodes": 174, "errors": 0, "source_hash": "c3f8e6446e68e8e9da77c55ab8aca349b2729827db2d0e7dcdfe699a29fa1d06", "categorized_nodes": 125}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
78,062
c
// Copyright (c) 2012-2013, the Scal Project Authors. All rights reserved. // Please see the AUTHORS file for details. Use of this source code is governed // by a BSD license that can be found in the LICENSE file. #ifndef SCAL_BENCHMARK_COMMON_H_ #define SCAL_BENCHMARK_COMMON_H_ #include <errno.h> #include <pthread...
27.48
54
(translation_unit) "// Copyright (c) 2012-2013, the Scal Project Authors. All rights reserved.\n// Please see the AUTHORS file for details. Use of this source code is governed\n// by a BSD license that can be found in the LICENSE file.\n\n#ifndef SCAL_BENCHMARK_COMMON_H_\n#define SCAL_BENCHMARK_COMMON_H_\n\n#include ...
341
8
{"language": "c", "success": true, "metadata": {"lines": 54, "avg_line_length": 27.48, "nodes": 223, "errors": 0, "source_hash": "719030522f0fcbc6b28ecca8e0f3637fca1c4e5d553cbfc7f9f63fdce0089b98", "categorized_nodes": 135}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
78,063
c
// Generated by Haxe 4.1.5 #ifndef INCLUDED_lime_math__RGBA_RGBA_Impl_ #define INCLUDED_lime_math__RGBA_RGBA_Impl_ #ifndef HXCPP_H #include <hxcpp.h> #endif #ifndef INCLUDED_95f339a1d026d52c #define INCLUDED_95f339a1d026d52c #include "hxMath.h" #endif HX_DECLARE_CLASS2(haxe,io,Bytes) HX_DECLARE_CLASS3(lime,math,_RGBA...
34.31
61
(translation_unit) "// Generated by Haxe 4.1.5\n#ifndef INCLUDED_lime_math__RGBA_RGBA_Impl_\n#define INCLUDED_lime_math__RGBA_RGBA_Impl_\n\n#ifndef HXCPP_H\n#include <hxcpp.h>\n#endif\n\n#ifndef INCLUDED_95f339a1d026d52c\n#define INCLUDED_95f339a1d026d52c\n#include "hxMath.h"\n#endif\nHX_DECLARE_CLASS2(haxe,io,Bytes)\n...
642
31
{"language": "c", "success": true, "metadata": {"lines": 61, "avg_line_length": 34.31, "nodes": 344, "errors": 0, "source_hash": "1b4086410c9b8fdad11d5e33100e5e78a00b000b77c5e3dc9d14d8448acbcab0", "categorized_nodes": 228}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
78,064
c
// // Created by rahul on 13/10/19. // #include <stdio.h> #define MAX 10 int quene[MAX], rearA=-1,frontA=-1,rearB=MAX, frontB=MAX; void insertA(int val) { if(rearA==rearB -1) printf("overflow"); else { if(rearA==-1 && frontA==-1) { rearA=frontA=0; quene[rearA]...
18.35
20
(translation_unit) "//\n// Created by rahul on 13/10/19.\n//\n#include <stdio.h>\n#define MAX 10\nint quene[MAX], rearA=-1,frontA=-1,rearB=MAX, frontB=MAX;\nvoid insertA(int val)\n{\n if(rearA==rearB -1)\n printf("overflow");\n else\n {\n if(rearA==-1 && frontA==-1)\n {\n rearA=...
131
0
{"language": "c", "success": true, "metadata": {"lines": 20, "avg_line_length": 18.35, "nodes": 84, "errors": 0, "source_hash": "5cf615e401db06e0c61c96097510b739eb8d44c236bf700ed1d02a5eee9cce45", "categorized_nodes": 55}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
78,065
c
/* * Copyright (C) 2012-2017 ARM Limited or its affiliates. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful,...
31.84
63
(translation_unit) "/*\n * Copyright (C) 2012-2017 ARM Limited or its affiliates.\n *\n * This program is free software; you can redistribute it and/or modify\n * it under the terms of the GNU General Public License version 2 as\n * published by the Free Software Foundation.\n *\n * This program is distributed in the h...
120
0
{"language": "c", "success": true, "metadata": {"lines": 63, "avg_line_length": 31.84, "nodes": 89, "errors": 0, "source_hash": "dfd76f1e855145649de90a0dbecf478f2997342a65644823a3fc5fa2686f71f8", "categorized_nodes": 58}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
78,066
c
// // TCSTomcatManagerAuthController+Private.h // TomcatSlapper // // Created by <NAME> on 2/2/05. // Copyright 2005 Fivesquare Software, LLC. All rights reserved. // #import <Cocoa/Cocoa.h> @interface TCSTomcatManagerAuthController (Private) - (id) _initWithWindow:(NSWindow *)window; @end
23.67
12
(translation_unit) "//\n// TCSTomcatManagerAuthController+Private.h\n// TomcatSlapper\n//\n// Created by <NAME> on 2/2/05.\n// Copyright 2005 Fivesquare Software, LLC. All rights reserved.\n//\n\n#import <Cocoa/Cocoa.h>\n\n\n@interface TCSTomcatManagerAuthController (Private)\n\n- (id) _initWithWindow:(NSWindow *)w...
43
5
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 23.67, "nodes": 22, "errors": 0, "source_hash": "4d9cb3cfb4d17697e292af067f7cd76d8e59564d25804cf194a2083f0ffa8607", "categorized_nodes": 12}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <...
78,067
c
#ifndef _FILE_COMPRESS_ #define _FILE_COMPRESS_ void compress(LPCSTR f_in, LPCSTR f_out); void decompress(LPCSTR f_in, LPCSTR f_out); void compress(LPCSTR f_in_out); void decompress(LPCSTR f_in_out); #endif
28.57
7
(translation_unit) "#ifndef _FILE_COMPRESS_\n#define _FILE_COMPRESS_\nvoid compress(LPCSTR f_in, LPCSTR f_out);\nvoid decompress(LPCSTR f_in, LPCSTR f_out);\nvoid compress(LPCSTR f_in_out);\nvoid decompress(LPCSTR f_in_out);\n#endif\n" (preproc_ifdef) "#ifndef _FILE_COMPRESS_\n#define _FILE_COMPRESS_\nvoid compress(L...
60
0
{"language": "c", "success": true, "metadata": {"lines": 7, "avg_line_length": 28.57, "nodes": 45, "errors": 0, "source_hash": "cb387b0e29aa779653cccb0398030e076f83f8a4f90aa25e3660ca57fa491d9d", "categorized_nodes": 35}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef _...
78,068
c
#include "shell.h" t_job *s_job_is_prefixed_by(char const *prefix, int const foreground) { t_list *j_pos; t_list *j_head; t_job *j; j_head = &g_current_jobs_list_head; j_pos = j_head; while ((j_pos = j_pos->prev) && j_pos != j_head) { j = CONTAINER_OF(j_pos, t_job, list_job); if (j->foreground == foregroun...
27.57
60
(translation_unit) "#include "shell.h"\n\nt_job *s_job_is_prefixed_by(char const *prefix, int const foreground)\n{\n t_list *j_pos;\n t_list *j_head;\n t_job *j;\n\n j_head = &g_current_jobs_list_head;\n j_pos = j_head;\n while ((j_pos = j_pos->prev) && j_pos != j_head)\n {\n j = CONTAINER_OF(j_pos, t_job, list_job);\...
669
0
{"language": "c", "success": true, "metadata": {"lines": 60, "avg_line_length": 27.57, "nodes": 422, "errors": 0, "source_hash": "a73c41aa873520b76e4202ed80362d70938a9888d83a71351f90edd628c8417f", "categorized_nodes": 299}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
78,069
c
#include <complex.h> #include <stdio.h> #include <mpc.h> int main() { printf("### Oops ! I used an undefined variable ! ###\n"); #pragma MPC precision(2151) { undefined_variable = undefined_variable+1; } printf("### Here are the results! ###\n"); printf("undefined_variable:; %6f ...
22
16
(translation_unit) "#include <complex.h>\n#include <stdio.h>\n#include <mpc.h>\n\nint main()\n{\n\n printf("### Oops ! I used an undefined variable ! ###\n");\n\n #pragma MPC precision(2151)\n {\n undefined_variable = undefined_variable+1;\n }\n \n printf("### Here are the results! ###\n");\n ...
77
0
{"language": "c", "success": true, "metadata": {"lines": 16, "avg_line_length": 22.0, "nodes": 42, "errors": 0, "source_hash": "51589a88fd9e19b79dbb4d6b622c568749db3ba50c378ab9d806a8d0e3ba61c0", "categorized_nodes": 30}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#includ...
78,070
c
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 #ifndef OPENSSL_HEADER_TOOL_BSSLBM_H #define OPENSSL_HEADER_TOOL_BSSLBM_H #include <openssl/aead.h> #include <openssl/aes.h> #include <openssl/bn.h> #include <openssl/curve25519.h> #include <openssl/crypto.h> ...
30.67
27
(translation_unit) "// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\n#ifndef OPENSSL_HEADER_TOOL_BSSLBM_H\n#define OPENSSL_HEADER_TOOL_BSSLBM_H\n\n#include <openssl/aead.h>\n#include <openssl/aes.h>\n#include <openssl/bn.h>\n#include <openssl/curve25519.h>...
83
0
{"language": "c", "success": true, "metadata": {"lines": 27, "avg_line_length": 30.67, "nodes": 77, "errors": 0, "source_hash": "53f4bc49baddbb8790fe9d7988a66a3e7b2e2c78fdd3828e4bc69c8cf71d66c5", "categorized_nodes": 69}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
78,071
c
/* * ===================================================================================== * * Filename: w_error.h * * Description: * * Version: 1.0 * Created: 26/04/2012 08:38:29 * Revision: none * Compiler: gcc * * Author: YOUR NAME (), * Company...
16.59
46
(translation_unit) "/*\n * =====================================================================================\n *\n * Filename: w_error.h\n *\n * Description: \n *\n * Version: 1.0\n * Created: 26/04/2012 08:38:29\n * Revision: none\n * Compiler: gcc\n *\n * Author: ...
60
0
{"language": "c", "success": true, "metadata": {"lines": 46, "avg_line_length": 16.59, "nodes": 40, "errors": 0, "source_hash": "40523ba034d2cb3d7c37ad890dc428e0479bf397dcdfeafc2522439069bb679a", "categorized_nodes": 35}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
78,072
c
/* Author: <NAME> LANG: C Problem: star2 */ #include<stdio.h> int main(){ int n,i,j; scanf("%d",&n); n = n*2+1; for(i=0;i<=n/2;i++){ for(j=0;j<n/2-i;j++){ printf(" "); } for(j=0;j<i*2+1;j++){ if(i==n/2&&j==i){ printf("*"); }else...
16.68
34
(translation_unit) "/*\nAuthor: <NAME>\nLANG: C\nProblem: star2\n*/\n#include<stdio.h>\nint main(){\n int n,i,j;\n scanf("%d",&n);\n n = n*2+1;\n for(i=0;i<=n/2;i++){\n for(j=0;j<n/2-i;j++){\n printf(" ");\n }\n for(j=0;j<i*2+1;j++){\n if(i==n/2&&j==i){\n ...
304
0
{"language": "c", "success": true, "metadata": {"lines": 34, "avg_line_length": 16.68, "nodes": 176, "errors": 0, "source_hash": "c6a401af8f2f9602930e1468854f1c91b7f245008b9c60ac0fb0d5c8237957f9", "categorized_nodes": 128}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
78,073
c
#pragma once namespace phkm { void drawMenu(); } // namespace phkm
12.4
5
(translation_unit) "#pragma once\n\nnamespace phkm\n{\nvoid drawMenu();\n} // namespace phkm" (preproc_call) "#pragma once\n" (preproc_directive) "#pragma" (preproc_arg) "once" (function_definition) "namespace phkm\n{\nvoid drawMenu();\n}" (type_identifier) "namespace" (identifier) "phkm" (compo...
19
0
{"language": "c", "success": true, "metadata": {"lines": 5, "avg_line_length": 12.4, "nodes": 11, "errors": 0, "source_hash": "6bb489a081b08c8de8b9116985e440cb62bc2f1992bcce537ed709addd4c80e1", "categorized_nodes": 7}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma once...
78,074
c
/* Copyright (c) 2020 vesoft inc. All rights reserved. * * This source code is licensed under Apache 2.0 License, * attached with Common Clause Condition 1.0, found in the LICENSES directory. */ #ifndef COMMON_EXPRESSION_REDUCEEXPRESSIONEXPRESSION_H_ #define COMMON_EXPRESSION_REDUCEEXPRESSIONEXPRESSION_H_ #includ...
31.78
87
(translation_unit) "/* Copyright (c) 2020 vesoft inc. All rights reserved.\n *\n * This source code is licensed under Apache 2.0 License,\n * attached with Common Clause Condition 1.0, found in the LICENSES directory.\n */\n\n#ifndef COMMON_EXPRESSION_REDUCEEXPRESSIONEXPRESSION_H_\n#define COMMON_EXPRESSION_REDUCEEXPRE...
756
34
{"language": "c", "success": true, "metadata": {"lines": 87, "avg_line_length": 31.78, "nodes": 428, "errors": 0, "source_hash": "54d19daa1885f9ba67d60a71ae9baf81702cca5b5848c1391d76e37905e833f8", "categorized_nodes": 293}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
78,075
c
/* Generated by RuntimeBrowser Image: /System/Library/PrivateFrameworks/ATFoundation.framework/ATFoundation */ @interface ATPResponse : PBCodable <NSCopying> { ATPError * _error; } @property (nonatomic, retain) ATPError *error; @property (nonatomic, readonly) bool hasError; - (void).cxx_destruct; - (void)cop...
27.45
22
(translation_unit) "/* Generated by RuntimeBrowser\n Image: /System/Library/PrivateFrameworks/ATFoundation.framework/ATFoundation\n */\n\n@interface ATPResponse : PBCodable <NSCopying> {\n ATPError * _error;\n}\n\n@property (nonatomic, retain) ATPError *error;\n@property (nonatomic, readonly) bool hasError;\n\n- (...
242
18
{"language": "c", "success": true, "metadata": {"lines": 22, "avg_line_length": 27.45, "nodes": 145, "errors": 0, "source_hash": "30c53dcfa83c0a668106d8db78a38ae2892e79b954f09b10cbba7f96f47ad7f6", "categorized_nodes": 82}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "@interface ATPR...
78,076
c
// // Created by ycshan on 2018/9/6. // #pragma once #ifndef NCKRL_UTILITIES_H #define NCKRL_UTILITIES_H #define qNULL (-999) #define pi 3.14159265358979 #include <vector> #include <cmath> #include <string> #include <cstdlib> #include <random> using namespace std; namespace Utilities { inli...
23.06
64
(translation_unit) "// \n// Created by ycshan on 2018/9/6. \n// \n#pragma once \n#ifndef NCKRL_UTILITIES_H \n#define NCKRL_UTILITIES_H \n \n#define qNULL (-999) \n#define pi 3.14159265358979 \n \n#include <vector> \n#include <cmath> \n#include <string> \n#include <cstdlib> \n#include <random> \n \nusing namespace std; ...
433
20
{"language": "c", "success": true, "metadata": {"lines": 64, "avg_line_length": 23.06, "nodes": 299, "errors": 0, "source_hash": "3e0ba2e469b8de72bf68f6bbf39a0cd11f2a0723a1d18279bf58a8a2eafcc18f", "categorized_nodes": 199}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
78,077
c
#import <Foundation/Foundation.h> #import <Accelerate/Accelerate.h> #import <pthread.h> #import "ISFAudioBufferList.h" #import "ISFAudioFFTResults.h" @interface ISFAudioFFT : NSObject { FFTSetup fftSetup; UInt32 log2n; pthread_mutex_t _lock; BOOL deleted; } - (void) prepareToBeDeleted; // Per...
25.96
27
(translation_unit) "#import <Foundation/Foundation.h>\n#import <Accelerate/Accelerate.h>\n#import <pthread.h>\n#import "ISFAudioBufferList.h"\n#import "ISFAudioFFTResults.h"\n\n\n\n\n\n\n@interface ISFAudioFFT : NSObject {\n\n FFTSetup fftSetup;\n UInt32 log2n;\n \n pthread_mutex_t _lock;\n \n BOOL deleted;\n\...
120
9
{"language": "c", "success": true, "metadata": {"lines": 27, "avg_line_length": 25.96, "nodes": 76, "errors": 0, "source_hash": "2b45ff128586e780c5b620539218610193436e5e076c0e67a5465b309509a982", "categorized_nodes": 42}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <...
78,078
c
// // DUXCameraConfigExposureSensitivityWidget.h // DJIUXSDK // // Copyright © 2016 DJI. All rights reserved. // #import <DJIUXSDK/DJIUXSDK.h> /** * Display: * Camera's current ISO setting. * * Usage: * Preferred Aspect Ratio: (variable, max:221):30. */ @interface DUXCameraConfigExposureSensitivityWid...
23.04
25
(translation_unit) "//\n// DUXCameraConfigExposureSensitivityWidget.h\n// DJIUXSDK\n//\n// Copyright © 2016 DJI. All rights reserved.\n//\n\n#import <DJIUXSDK/DJIUXSDK.h>\n\n\n/**\n * Display:\n * Camera's current ISO setting.\n * \n * Usage:\n * Preferred Aspect Ratio: (variable, max:221):30.\n */\n@interface ...
57
15
{"language": "c", "success": true, "metadata": {"lines": 25, "avg_line_length": 23.04, "nodes": 40, "errors": 0, "source_hash": "6749fb4f985c1736767bfa7d189569c21c417a749b5a3e31cb2ad03d20f745cb", "categorized_nodes": 23}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <D...
78,079
c
#pragma once #include "Calculate.h" #define COLOR_AXES RGB(0,0,0) #define COLOR_AXES_TEXT RGB(224,224,224) #define COLOR_CALCULATE RGB(0,192,0) #define COLOR_DIFFERENTIATE RGB(255,0,0) #define ABS(a) ((a)<0 ? (-a) : (a)) class CCurve : public CWnd { DECLARE_DYNAMIC(CCurve) public: CCurve(); virtual ~CCurve(...
27.68
41
(translation_unit) "#pragma once\n\n#include "Calculate.h"\n\n#define COLOR_AXES RGB(0,0,0)\n#define COLOR_AXES_TEXT RGB(224,224,224)\n#define COLOR_CALCULATE RGB(0,192,0)\n#define COLOR_DIFFERENTIATE RGB(255,0,0)\n\n#define ABS(a) ((a)<0 ? (-a) : (a))\n\nclass CCurve : public CWnd\n{\n DECLARE_DYNAMIC(CCurve)\n\np...
356
19
{"language": "c", "success": true, "metadata": {"lines": 41, "avg_line_length": 27.68, "nodes": 243, "errors": 0, "source_hash": "dc35aa85f8c3d00f7a014593b5ff8fbdc5ac7d5242540c5d62d270ba87276092", "categorized_nodes": 175}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
78,080
c
#pragma once #ifndef ASTD_ARRAY #define ASTD_ARRAY #include "error.h" namespace astd { /* TODOs: Change iterator type when implemented + reverse Iterator Implement Swap implementation for _size = 0 */ template<typename T, size_t _size> struct array { using value_type = T; ...
28.88
143
(translation_unit) "#pragma once\n#ifndef ASTD_ARRAY\n#define ASTD_ARRAY\n#include "error.h"\n\nnamespace astd\n{\n /*\n TODOs:\n Change iterator type when implemented + reverse Iterator\n Implement Swap\n implementation for _size = 0\n */\n\n template<typename T, size_t _size>\n struct array\n ...
1,096
54
{"language": "c", "success": true, "metadata": {"lines": 143, "avg_line_length": 28.88, "nodes": 706, "errors": 0, "source_hash": "ea91c89eb130c7d4d387619469e9cb165e324f5fbeb4f56bc4e733a02dc7b595", "categorized_nodes": 465}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragm...
78,081
c
// Created by <NAME> #pragma once #include "CoreMinimal.h" #include "GameFramework/GameModeBase.h" #include "SGameModeBase.generated.h" enum class EWaveState : uint8; DECLARE_DYNAMIC_MULTICAST_DELEGATE_ThreeParams(FOnActorKilled, AActor*, VictimActor, AActor*, KillerActor, AController*, KillerController); /** * ...
27.38
40
(translation_unit) "// Created by <NAME>\n\n#pragma once\n\n#include "CoreMinimal.h"\n#include "GameFramework/GameModeBase.h"\n#include "SGameModeBase.generated.h"\n\nenum class EWaveState : uint8;\n\nDECLARE_DYNAMIC_MULTICAST_DELEGATE_ThreeParams(FOnActorKilled, AActor*, VictimActor, AActor*, KillerActor, AController*...
281
10
{"language": "c", "success": true, "metadata": {"lines": 40, "avg_line_length": 27.38, "nodes": 169, "errors": 0, "source_hash": "e7c62d77affa4827b4d2b088360610673662c4fe05d2222258222da02f474b6c", "categorized_nodes": 117}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
78,082
c
#include <stdio.h> // para getchar y putchar y EOF int main() { int c; while ((c = getchar()) != EOF) { // asigna y checa directo putchar(c); } return 1; }
20
8
(translation_unit) "#include <stdio.h> // para getchar y putchar y EOF\n\nint main() {\n int c;\n while ((c = getchar()) != EOF) { // asigna y checa directo\n putchar(c);\n }\n return 1;\n}\n" (preproc_include) "#include <stdio.h> // para getchar y putchar y EOF\n" (#include) "#include" (system_lib_str...
54
0
{"language": "c", "success": true, "metadata": {"lines": 8, "avg_line_length": 20.0, "nodes": 29, "errors": 0, "source_hash": "95649cc9debcfc3a529ad101cf6e0ad7dbe89fe6eab264f07aa4204ccec98d04", "categorized_nodes": 22}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#include...
78,083
c
// // CSStaticAnalyser.h // Clock Signal // // Created by <NAME> on 31/08/2016. // Copyright 2016 <NAME>. All rights reserved. // #import <Foundation/Foundation.h> NS_ASSUME_NONNULL_BEGIN @class CSMachine; typedef NS_ENUM(NSInteger, CSMachineAppleIIModel) { CSMachineAppleIIModelAppleII, CSMachineAppleIIModelA...
37.17
121
(translation_unit) "//\n// CSStaticAnalyser.h\n// Clock Signal\n//\n// Created by <NAME> on 31/08/2016.\n// Copyright 2016 <NAME>. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n\nNS_ASSUME_NONNULL_BEGIN\n\n@class CSMachine;\n\ntypedef NS_ENUM(NSInteger, CSMachineAppleIIModel) {\n CSMachineAppleIIMo...
846
90
{"language": "c", "success": true, "metadata": {"lines": 121, "avg_line_length": 37.17, "nodes": 492, "errors": 0, "source_hash": "9810de71d95a84e20be12789c68ca901f628596e127f102403f5ee4225b15d60", "categorized_nodes": 322}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#impor...
78,084
c
// <NAME>: Partitionnement Dynamique dans l'Analyse de Relations Linéaires // et Application à la Vérification de Programmes Synchrones // figure 7.5 // $Id$ // parameters #define DO_CONTROL 0 #define DO_CHECKING 1 #define BAD (b == 0 && x >= 0) // tools #include <stdlib.h> #include <stdio.h> int rand_b(void) { ...
18.22
87
(translation_unit) "// <NAME>: Partitionnement Dynamique dans l'Analyse de Relations Linéaires\n// et Application à la Vérification de Programmes Synchrones\n// figure 7.5\n\n// $Id$\n\n// parameters\n\n#define DO_CONTROL 0\n#define DO_CHECKING 1\n#define BAD (b == 0 && x >= 0)\n\n// tools\n\n#include <stdlib.h>\n#incl...
449
0
{"language": "c", "success": true, "metadata": {"lines": 87, "avg_line_length": 18.22, "nodes": 277, "errors": 0, "source_hash": "1ca7149dceb47499cc9f1953dc779b08e40f86a2c2720e8f9058278cf68091be", "categorized_nodes": 154}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_def", "text": "fine DO_...
78,085
c
template <typename RandomAccessIterator> void downHeap(RandomAccessIterator t, RandomAccessIterator en) { int const siz = (en-t); RandomAccessIterator k= en-(siz/2)-1; while (k>=t) { int a= (k-t); if(*k> *(k+a)) { std::swap(*k,*(k+a)); } if(*k>...
21.28
29
(translation_unit) "template <typename RandomAccessIterator>\nvoid downHeap(RandomAccessIterator t, RandomAccessIterator en) {\n int const siz = (en-t);\n RandomAccessIterator k= en-(siz/2)-1;\n while (k>=t)\n {\n int a= (k-t);\n if(*k> *(k+a))\n {\n std::swap(*k,*(k+a));...
266
12
{"language": "c", "success": true, "metadata": {"lines": 29, "avg_line_length": 21.28, "nodes": 182, "errors": 0, "source_hash": "df1db2df03995019ec247d332d8d20de517c18734f32ee8731125d6788e2c213", "categorized_nodes": 122}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "template <type...
78,086
c
// // TLCarOrderViewCell.h // tongle // // Created by jixiaofei-mac on 15-7-22. // Copyright (c) 2015年 com.isoftstone. All rights reserved. // #import <UIKit/UIKit.h> @class TLShopCar; @interface TLCarOrderViewCell : UITableViewCell @property (weak, nonatomic) IBOutlet UIImageView *ProdImage; @property (weak,...
34.7
20
(translation_unit) "//\n// TLCarOrderViewCell.h\n// tongle\n//\n// Created by jixiaofei-mac on 15-7-22.\n// Copyright (c) 2015年 com.isoftstone. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@class TLShopCar;\n\n\n@interface TLCarOrderViewCell : UITableViewCell\n\n@property (weak, nonatomic) IBOutlet UIImag...
182
30
{"language": "c", "success": true, "metadata": {"lines": 20, "avg_line_length": 34.7, "nodes": 133, "errors": 0, "source_hash": "14b1618abef6dabac851ab8cb78e54ba6c4d3d1aad56524819fee6982bbf63c2", "categorized_nodes": 73}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "mport <UI...
78,087
c
#version 120 #extension GL_ARB_texture_rectangle : enable #extension GL_EXT_gpu_shader4 : enable uniform sampler2DRect texture0; void main(){ vec4 color = gl_Color; // color.a = 0.5; color.g = color.a; gl_FragColor = color; }
17.92
13
(translation_unit) "#version 120 \n#extension GL_ARB_texture_rectangle : enable \n#extension GL_EXT_gpu_shader4 : enable \n \nuniform sampler2DRect texture0; \n \nvoid main(){ \n vec4 color = gl_Color; \n // color.a = 0.5; \n color.g = color.a; \n \n gl_FragColor = color; \n} \n" (preproc_call) "#version 120 \n" ...
52
1
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 17.92, "nodes": 37, "errors": 0, "source_hash": "3fa2fd06a658221248169d20e775d5ba0022747f48fb31b589af0a0bfd8c9d6d", "categorized_nodes": 24}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#version ...
78,088
c
/*========================================================================= Program: Visualization Toolkit Copyright (c) <NAME>, <NAME>, <NAME> All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. This software is distributed WITHOUT ANY WARRANTY; without even ...
31.14
131
(translation_unit) "/*=========================================================================\n\n Program: Visualization Toolkit\n\n Copyright (c) <NAME>, <NAME>, <NAME>\n All rights reserved.\n See Copyright.txt or http://www.kitware.com/Copyright.htm for details.\n\n This software is distributed WITHOUT A...
827
38
{"language": "c", "success": true, "metadata": {"lines": 131, "avg_line_length": 31.14, "nodes": 506, "errors": 0, "source_hash": "ee80c0b7f41cab581a42e912dc0dca1b8944a50849e071b529d9745bf3fbcf42", "categorized_nodes": 356}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
78,089
c
/** Translates a EcalADCToGeVConstant record to XML and vice versa \author <NAME> \version $Id: EcalADCToGeVXMLTranslator.h,v 1.1 2008/11/14 15:46:05 argiro Exp $ \date 20 Jun 2008 */ #ifndef __EcalADCToGeVXMLTranslator_h_ #define __EcalADCToGeVXMLTranslator_h_ #include "CondTools/Ecal/interface/Ec...
28.18
33
(translation_unit) "/**\n Translates a EcalADCToGeVConstant record to XML\n and vice versa \n\n \author <NAME>\n \version $Id: EcalADCToGeVXMLTranslator.h,v 1.1 2008/11/14 15:46:05 argiro Exp $\n \date 20 Jun 2008\n*/\n\n#ifndef __EcalADCToGeVXMLTranslator_h_\n#define __EcalADCToGeVXMLTranslator_h_\n\n#incl...
139
9
{"language": "c", "success": true, "metadata": {"lines": 33, "avg_line_length": 28.18, "nodes": 64, "errors": 0, "source_hash": "69049b4d15e48dab26d7721ed35fd9cb48a198c8c4ff578d85f17ad291785ad6", "categorized_nodes": 52}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
78,090
c
/********************************************************************************* * Copyright (c) 2010-2011, <NAME> * <NAME> * <NAME> * University of Maryland * dramninjas [at] gmail [dot] com * All...
31.26
101
(translation_unit) "/********************************************************************************* \n* Copyright (c) 2010-2011, <NAME> \n* <NAME> \n* <NAME> \n* University of Maryland \n* dramninjas [at...
387
16
{"language": "c", "success": true, "metadata": {"lines": 101, "avg_line_length": 31.26, "nodes": 268, "errors": 0, "source_hash": "8df112e1f8831e5a12f14fcbd1198981813068e35126e2eb84c4c55b2e2270e8", "categorized_nodes": 178}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
78,091
c
#pragma once #include "Core.h" #include "UniEngineAPI.h" namespace UniEngine { struct UNIENGINE_API SpotLightInfo { glm::vec4 m_position; glm::vec4 m_direction; glm::mat4 m_lightSpaceMatrix; glm::vec4 m_cutOffOuterCutOffLightSizeBias; glm::vec4 m_constantLinearQuadFarPlane; glm::vec4 m_diffuse; glm::vec...
23.18
34
(translation_unit) "#pragma once\n#include "Core.h"\n#include "UniEngineAPI.h"\nnamespace UniEngine {\n struct UNIENGINE_API SpotLightInfo\n {\n glm::vec4 m_position;\n glm::vec4 m_direction;\n glm::mat4 m_lightSpaceMatrix;\n glm::vec4 m_cutOffOuterCutOffLightSizeBias;\n glm::vec4 m_constantLinearQuadFarPlane;\n ...
232
11
{"language": "c", "success": true, "metadata": {"lines": 34, "avg_line_length": 23.18, "nodes": 149, "errors": 0, "source_hash": "553f019261c6569a9b58f6d46806853655c493ba193c58178ff82421388abc8e", "categorized_nodes": 95}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma ...
78,092
c
/* * FT.h * Fixate * * Created by <NAME> on Thu Sep 11 2003. * Copyright 2003-2021. All rights reserved. * */ #define kRewardBit 0x0001 #define kSamplePeriodMS 5 #define kSamplePeriodS (kSamplePeriodMS / 1000.0) #define kSpikeChannels 2 // One channels spikes, o...
27.62
13
(translation_unit) "/*\n * FT.h\n * Fixate\n *\n * Created by <NAME> on Thu Sep 11 2003.\n * Copyright 2003-2021. All rights reserved.\n *\n */\n\n#define kRewardBit 0x0001\n#define kSamplePeriodMS 5\n#define kSamplePeriodS (kSamplePeriodMS / 1000.0)\n#define kSpikeChannels 2 ...
22
0
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 27.62, "nodes": 20, "errors": 0, "source_hash": "4f65817ca39de54979b783fdd3c78eace62728925a3c0e656eb76d46047dd1c7", "categorized_nodes": 5}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_def", "text": "#define kRe...
78,093
c
/* CashPayment.h * <NAME> * CIS 554-M401 Object Oriented Programming in C++ * Syracuse University * Final Project Submission: Pizza Shop App * 3/15/2020 * This program defines the public and private interfaces for the Derived CashPayment Class */ #ifndef PIZZASHOPAPP_CASHPAYMENT_H #define PIZZASHOPAPP_CASHPAYME...
36.03
30
(translation_unit) "/* CashPayment.h\n * <NAME>\n * CIS 554-M401 Object Oriented Programming in C++\n * Syracuse University\n * Final Project Submission: Pizza Shop App\n * 3/15/2020\n * This program defines the public and private interfaces for the Derived CashPayment Class\n*/\n\n\n#ifndef PIZZASHOPAPP_CASHPAYMENT_H\...
129
7
{"language": "c", "success": true, "metadata": {"lines": 30, "avg_line_length": 36.03, "nodes": 78, "errors": 0, "source_hash": "b5e1b38359f8fa8fa2d651ec21c38296b8e49112ccde4c94a3e5b75760e58046", "categorized_nodes": 48}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
78,094
c
/* * Copyright (c) 2011,2013,2015-2016 The Linux Foundation. All rights reserved. * * Previously licensed under the ISC license by Qualcomm Atheros, Inc. * * * Permission to use, copy, modify, and/or distribute this software for * any purpose with or without fee is hereby granted, provided that the * above copy...
26.62
237
(translation_unit) "/*\n * Copyright (c) 2011,2013,2015-2016 The Linux Foundation. All rights reserved.\n *\n * Previously licensed under the ISC license by Qualcomm Atheros, Inc.\n *\n *\n * Permission to use, copy, modify, and/or distribute this software for\n * any purpose with or without fee is hereby granted, prov...
786
2
{"language": "c", "success": true, "metadata": {"lines": 237, "avg_line_length": 26.62, "nodes": 515, "errors": 0, "source_hash": "1978d0f6a1f44af58cdcc76b890f73f2ab989797cfdf861ac9fb1ddabb58a42a", "categorized_nodes": 354}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
78,095
c
#ifndef PREFERENCES_H #define PREFERENCES_H class KeywordSubstitutionEditor; class QSettings; class QTableWidgetItem; class SymbolSubstitutionEditor; #include <QWidget> namespace Ui { class Preferences; } class Preferences : public QWidget{ Q_OBJECT public: Preferences(QSettings& settings, QWidget* parent =...
26.82
34
(translation_unit) "#ifndef PREFERENCES_H\n#define PREFERENCES_H\n\nclass KeywordSubstitutionEditor;\nclass QSettings;\nclass QTableWidgetItem;\nclass SymbolSubstitutionEditor;\n#include <QWidget>\n\nnamespace Ui {\nclass Preferences;\n}\n\nclass Preferences : public QWidget{\n Q_OBJECT\n\npublic:\n Preferences(Q...
217
7
{"language": "c", "success": true, "metadata": {"lines": 34, "avg_line_length": 26.82, "nodes": 133, "errors": 0, "source_hash": "23c5b07f547074cce6e10c7142673710a5134f7b5285fb864b346c64e104e514", "categorized_nodes": 86}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
78,096
c
/* * mms/vector.h -- mms version of std::vector * * Copyright (c) 2011-2014 <NAME> <<EMAIL>> * * This file is part of mms, the memory-mapped storage library. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), ...
36.16
112
(translation_unit) "/*\n * mms/vector.h -- mms version of std::vector\n *\n * Copyright (c) 2011-2014 <NAME> <<EMAIL>>\n *\n * This file is part of mms, the memory-mapped storage library.\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentati...
1,142
85
{"language": "c", "success": true, "metadata": {"lines": 112, "avg_line_length": 36.16, "nodes": 659, "errors": 0, "source_hash": "30b94999c7d064fd72cba6d62128fa65c495d2863f42cf63039976583126397f", "categorized_nodes": 453}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragm...
78,097
c
//---------------------------------------------------------------------------------------------- // StdAfx.h //---------------------------------------------------------------------------------------------- #ifndef STDAFX_H #define STDAFX_H #pragma once #define WIN32_LEAN_AND_MEAN #define STRICT #pragma comm...
23.69
61
(translation_unit) "//---------------------------------------------------------------------------------------------- \n// StdAfx.h \n//---------------------------------------------------------------------------------------------- \n#ifndef STDAFX_H \n#define STDAFX_H \n \n#pragma once \n#define WIN32_LEAN_AND_MEAN \n#d...
171
0
{"language": "c", "success": true, "metadata": {"lines": 61, "avg_line_length": 23.69, "nodes": 139, "errors": 0, "source_hash": "b60ba52c48911d609caacdcdbc24eab603021c9c1584dce7ba9a46459b61973b", "categorized_nodes": 113}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
78,098
c
/* Obq_Environment.h : Based on sib_environment and sphericalLightFilter by nozon. *------------------------------------------------------------------------ Copyright (c) 2012-2014 <NAME>, ObliqueFX (<EMAIL>) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and...
32.99
137
(translation_unit) "/* \nObq_Environment.h : \n \n Based on sib_environment and sphericalLightFilter by nozon. \n \n*------------------------------------------------------------------------ \nCopyright (c) 2012-2014 <NAME>, ObliqueFX (<EMAIL>) \n \nPermission is hereby granted, free of charge, to any person obtaining a...
581
9
{"language": "c", "success": true, "metadata": {"lines": 137, "avg_line_length": 32.99, "nodes": 358, "errors": 0, "source_hash": "950a791cff5a30f86883d3b0e3a02b11176790dcc1bff56b91e3317fe6303e57", "categorized_nodes": 282}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
78,099