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
//safe_at #pragma once #include "numeric_cast.h" #include <vector> #include <list> #include <valarray> #include <map> #if __cplusplus > 201703L && __has_include(<span>) // C++20 #include <span> #include <stdexcept> #endif namespace std { #if __cplusplus > 201703L && __has_include(<span>) // C++20 template ...
30.51
65
(translation_unit) "//safe_at\n#pragma once\n\n#include "numeric_cast.h"\n#include <vector>\n#include <list>\n#include <valarray>\n#include <map>\n\n#if __cplusplus > 201703L && __has_include(<span>) // C++20\n#include <span>\n#include <stdexcept>\n#endif\n\nnamespace std {\n\n#if __cplusplus > 201703L && __has_incl...
453
33
{"language": "c", "success": true, "metadata": {"lines": 65, "avg_line_length": 30.51, "nodes": 297, "errors": 0, "source_hash": "7f7280a1a3b57859eaf8e195d2ab76ca29f344c32da1d0682eb741d1cef761a9", "categorized_nodes": 211}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma...
4,600
c
/**************************************************************************** ** ** Copyright (C) 2015 The Qt Company Ltd. ** Contact: http://www.qt.io/licensing/ ** ** This file is part of the tools applications of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL21$ ** Commercial License Usage ** Licensees holding valid c...
38.9
77
(translation_unit) "/****************************************************************************\n**\n** Copyright (C) 2015 The Qt Company Ltd.\n** Contact: http://www.qt.io/licensing/\n**\n** This file is part of the tools applications of the Qt Toolkit.\n**\n** $QT_BEGIN_LICENSE:LGPL21$\n** Commercial License Usage\...
382
19
{"language": "c", "success": true, "metadata": {"lines": 77, "avg_line_length": 38.9, "nodes": 235, "errors": 0, "source_hash": "05fba4c37162f00103010f95a6ee061585892234880ee1889d812fd2560c4ecf", "categorized_nodes": 162}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
4,601
c
// // Created by 20043 on 2021/04/19. // #include "stdio.h" #include "math.h" //↓プロトタイプ宣言というものによって関数を使うときより後に記述できる float circle_S(float r); int main(void) { float a, b; a = (float) 5.0; b = circle_S(a/*変数aは引数*/); printf("半径が%4.2fの円の面積は%6.3f\n", a, b); return 0; } //↓戻り値の型 //↓自作関数の名前 // / ↓仮関数の型と...
17.05
22
(translation_unit) "//\n// Created by 20043 on 2021/04/19.\n//\n\n#include "stdio.h"\n#include "math.h"\n\n//↓プロトタイプ宣言というものによって関数を使うときより後に記述できる\nfloat circle_S(float r);\n\nint main(void) {\n float a, b;\n a = (float) 5.0;\n b = circle_S(a/*変数aは引数*/);\n printf("半径が%4.2fの円の面積は%6.3f\n", a, b);\n return 0;\...
125
0
{"language": "c", "success": true, "metadata": {"lines": 22, "avg_line_length": 17.05, "nodes": 68, "errors": 0, "source_hash": "f2461ea32c5a9ec926f3b6bbc9277963fd2a97065af87817a8a3567f51a70b25", "categorized_nodes": 47}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
4,602
c
// // SCMerchantDetailBase.h // MaintenanceCar // // Created by ShiCang on 15/4/10. // Copyright (c) 2015年 MaintenanceCar. All rights reserved. // #import "SCObjectCategory.h" @class SCMerchantDetail; @interface SCMerchantDetailBase : NSObject @property (nonatomic, assign) NSInteger displayRow; @prope...
30.79
14
(translation_unit) "//\n// SCMerchantDetailBase.h\n// MaintenanceCar\n//\n// Created by ShiCang on 15/4/10.\n// Copyright (c) 2015年 MaintenanceCar. All rights reserved.\n//\n\n#import "SCObjectCategory.h"\n\n@class SCMerchantDetail;\n\n@interface SCMerchantDetailBase : NSObject\n\n@property (nonatomic, assign) ...
80
13
{"language": "c", "success": true, "metadata": {"lines": 14, "avg_line_length": 30.79, "nodes": 51, "errors": 0, "source_hash": "c85dbee2bc5cbb480fbf35a8246baf815ab1d9ed5b76e77ceff06043631300f5", "categorized_nodes": 30}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "mport \"S...
4,603
c
/* * * Copyright (C) 1997-2005, OFFIS * * This software and supporting documentation were developed by * * Kuratorium OFFIS e.V. * Healthcare Information and Communication Systems * Escherweg 2 * D-26121 Oldenburg, Germany * * THIS SOFTWARE IS MADE AVAILABLE, AS IS, AND OFFIS MAKES NO WARRA...
29.87
186
(translation_unit) "/*\n *\n * Copyright (C) 1997-2005, OFFIS\n *\n * This software and supporting documentation were developed by\n *\n * Kuratorium OFFIS e.V.\n * Healthcare Information and Communication Systems\n * Escherweg 2\n * D-26121 Oldenburg, Germany\n *\n * THIS SOFTWARE IS MADE AVAILABLE, AS...
631
11
{"language": "c", "success": true, "metadata": {"lines": 186, "avg_line_length": 29.87, "nodes": 417, "errors": 0, "source_hash": "246114a443a56231042fdbf55bca156151ec3af7c1a624c688ca5a7cd22fdf7b", "categorized_nodes": 273}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
4,604
c
// // Created by brok1n on 16-6-1. // #include <stdio.h> unsigned int rightrot(unsigned int x, unsigned int n); /** * 编写一个函数 rightrot(x, n),该函数返回将 x 循环右移(即从最右端 移出的位将从最左端移入)n(二进制)位后所得到的值。 * */ void main() { } unsigned int rightrot(unsigned int x, unsigned int n) { // unsigned int tmp1 = ( 1 << n ) - 1; //0...
18.17
23
(translation_unit) "//\n// Created by brok1n on 16-6-1.\n//\n\n\n#include <stdio.h>\n\n\nunsigned int rightrot(unsigned int x, unsigned int n);\n\n/**\n * 编写一个函数 rightrot(x, n),该函数返回将 x 循环右移(即从最右端\n移出的位将从最左端移入)n(二进制)位后所得到的值。\n * */\nvoid main()\n{\n\n}\n\n\nunsigned int rightrot(unsigned int x, unsigned int n)\n{\n\n//...
66
0
{"language": "c", "success": true, "metadata": {"lines": 23, "avg_line_length": 18.17, "nodes": 42, "errors": 0, "source_hash": "eca7e7df1de9400c76759aba43c56809da777c65b055ce3531a6edf21b39fa59", "categorized_nodes": 26}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
4,605
c
#ifndef ZSWCSIZEFEATUREANALYZER_H #define ZSWCSIZEFEATUREANALYZER_H #include "zswcfeatureanalyzer.h" class ZSwcSizeFeatureAnalyzer : public ZSwcFeatureAnalyzer { public: ZSwcSizeFeatureAnalyzer(); public: virtual std::vector<double> computeFeature(Swc_Tree_Node *tn); virtual double computeFeatureSimilarity( ...
29.5
24
(translation_unit) "#ifndef ZSWCSIZEFEATUREANALYZER_H\n#define ZSWCSIZEFEATUREANALYZER_H\n\n#include "zswcfeatureanalyzer.h"\n\nclass ZSwcSizeFeatureAnalyzer : public ZSwcFeatureAnalyzer\n{\npublic:\n ZSwcSizeFeatureAnalyzer();\n\npublic:\n virtual std::vector<double> computeFeature(Swc_Tree_Node *tn);\n virtual dou...
175
7
{"language": "c", "success": true, "metadata": {"lines": 24, "avg_line_length": 29.5, "nodes": 108, "errors": 0, "source_hash": "9aff40f196385054dc4d144af7316883ea97064f8908ef671bcd8bd6db7583da", "categorized_nodes": 68}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
4,606
c
// Copyright 2017-2020, Institute for Artificial Intelligence - University of Bremen // Author: <NAME> (http://haidu.eu) #pragma once #include "CoreMinimal.h" #include "GameFramework/Info.h" #include "Knowrob/SLLevelManager.h" #include "Knowrob/SLKRWSClient.h" #include "Knowrob/SLKRMsgDispatcher.h" #include "Viz/SLVi...
41.45
235
(translation_unit) "// Copyright 2017-2020, Institute for Artificial Intelligence - University of Bremen\n// Author: <NAME> (http://haidu.eu)\n\n#pragma once\n\n#include "CoreMinimal.h"\n#include "GameFramework/Info.h"\n#include "Knowrob/SLLevelManager.h"\n#include "Knowrob/SLKRWSClient.h"\n#include "Knowrob/SLKRMsgDis...
1,587
21
{"language": "c", "success": true, "metadata": {"lines": 235, "avg_line_length": 41.45, "nodes": 873, "errors": 0, "source_hash": "a0f0b2d5d3559be03ceb6ee1910da2d8f5fb718b096d426e941e7182e2885e06", "categorized_nodes": 603}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragm...
4,607
c
#ifndef LINE_STRIP_H #define LINE_STRIP_H #include <glmath.hpp> #include <list> #include <vector> struct Vertex { vec4 position; float height; float width; Vertex(const vec4 &p_position,float p_height,float p_width) :position(p_position),height(p_height),width(p_width) {} }; class LineStrip { private: std...
28.4
258
(translation_unit) "#ifndef LINE_STRIP_H\n#define LINE_STRIP_H\n\n#include <glmath.hpp>\n\n#include <list>\n#include <vector>\n\nstruct Vertex\n{\n vec4 position;\n float height;\n float width;\n \n Vertex(const vec4 &p_position,float p_height,float p_width)\n :position(p_position),height(p_height),width(p_width)\n {}...
2,844
51
{"language": "c", "success": true, "metadata": {"lines": 258, "avg_line_length": 28.4, "nodes": 1800, "errors": 0, "source_hash": "4e6146bb6feb911f27cdc4d48dc403ed7531da22911ae84f877f42e5c375ea63", "categorized_nodes": 1346}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifn...
4,608
c
#include "r.h" char scrat[500]; int brkptr -1; int brkstk[10]; int forptr 0; int forstk[10]; repcode() { outcont(0); yyval = genlab(); outcont(yyval); brkstk[++brkptr] = yyval+1; genlab(); genlab(); } untils(p1) int p1; { outnum(p1+1); outcode("\tif(.not."); balpar(scrat); outcode(scrat); outcode(")"); ...
17.72
238
(translation_unit) "#include "r.h"\n\nchar scrat[500];\n\nint brkptr -1;\nint brkstk[10];\nint forptr 0;\nint forstk[10];\n\nrepcode() {\n outcont(0);\n yyval = genlab();\n outcont(yyval);\n brkstk[++brkptr] = yyval+1;\n genlab();\n genlab();\n}\n\nuntils(p1) int p1; {\n outnum(p1+1);\n outcode("\tif(.not.");\n balpar(...
2,607
14
{"language": "c", "success": true, "metadata": {"lines": 238, "avg_line_length": 17.72, "nodes": 1610, "errors": 0, "source_hash": "fdb906113ad485017b00f0aa63f6c8618643c4ed0a47d1e84d4512139d3b3699", "categorized_nodes": 1043}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#...
4,609
c
#ifndef _CUSTOM_CFG_H_ #define _CUSTOM_CFG_H_ #include "typedef.h" //#include "hw_cpu.h" #include <string.h> #include "app_config.h" #define BT_CONNECTION_VERIFY 0 // 0是校验,1是不校验 #if (XIAOMI_EN) #define VER_INFO_EXT_COUNT 0 //2 #else #if (JL_EARPHONE_APP_EN && RCSP_UPDATE_EN) #define VER_INFO_EXT_...
24.54
92
(translation_unit) "#ifndef _CUSTOM_CFG_H_\n#define _CUSTOM_CFG_H_\n\n#include "typedef.h"\n//#include "hw_cpu.h"\n#include <string.h>\n#include "app_config.h"\n\n#define BT_CONNECTION_VERIFY 0 // 0是校验,1是不校验\n\n#if (XIAOMI_EN)\n#define VER_INFO_EXT_COUNT 0 //2\n#else\n#if (JL_EARPHONE_APP_EN && RCSP...
419
0
{"language": "c", "success": true, "metadata": {"lines": 92, "avg_line_length": 24.54, "nodes": 292, "errors": 0, "source_hash": "4eacb339da2c1296414525558468579b4c6937c585108e53e75c58954d029da9", "categorized_nodes": 228}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
4,610
c
/* Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by the Free Software Foundation. This program is also distributed with certai...
39.98
82
(translation_unit) "/* Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved.\n\n This program is free software; you can redistribute it and/or modify\n it under the terms of the GNU General Public License, version 2.0,\n as published by the Free Software Foundation.\n\n This program is al...
150
3
{"language": "c", "success": true, "metadata": {"lines": 82, "avg_line_length": 39.98, "nodes": 90, "errors": 0, "source_hash": "f24c559673308715413d4c5313c97fb5e19b26b0a07861be062be1d27bddd6bf", "categorized_nodes": 59}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
4,611
c
// // RevanPageListDataModel.h // QMKit // // Created by Revan on 2018/8/7. // #import "RevanListDataModel.h" @interface RevanPageListDataModel : RevanListDataModel @property (nonatomic, assign) long long totalCount; // 总数 @property (nonatomic, readonly) NSArray *addPageObjects; // 给子类重写的类 - (void)revan_asyncFet...
35.62
16
(translation_unit) "//\n// RevanPageListDataModel.h\n// QMKit\n//\n// Created by Revan on 2018/8/7.\n//\n\n#import "RevanListDataModel.h"\n\n@interface RevanPageListDataModel : RevanListDataModel\n\n@property (nonatomic, assign) long long totalCount; // 总数\n@property (nonatomic, readonly) NSArray *addPageObjects;\n\...
144
15
{"language": "c", "success": true, "metadata": {"lines": 16, "avg_line_length": 35.62, "nodes": 93, "errors": 0, "source_hash": "d07dd36fb3cd5540247feff1b57e0d4f3cac3deac55404b382aec00ed35338d1", "categorized_nodes": 54}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import \...
4,612
c
#ifndef L1TMTFOverlapParamsRcd_L1TMTFOverlapParamsRcd_h #define L1TMTFOverlapParamsRcd_L1TMTFOverlapParamsRcd_h // -*- C++ -*- // // Package: CondFormats/DataRecord // Class : L1TMuonOverlapParamsRcd // /**\class L1TMuonOverlapParamsRcd L1TMuonOverlapParamsRcd.h CondFormats/DataRecord/interface/L1TMuonOverlapP...
33.84
19
(translation_unit) "#ifndef L1TMTFOverlapParamsRcd_L1TMTFOverlapParamsRcd_h\n#define L1TMTFOverlapParamsRcd_L1TMTFOverlapParamsRcd_h\n// -*- C++ -*-\n//\n// Package: CondFormats/DataRecord\n// Class : L1TMuonOverlapParamsRcd\n//\n/**\class L1TMuonOverlapParamsRcd L1TMuonOverlapParamsRcd.h CondFormats/DataRecor...
46
2
{"language": "c", "success": true, "metadata": {"lines": 19, "avg_line_length": 33.84, "nodes": 20, "errors": 0, "source_hash": "b4566a0d64235c135077e791343e738b400f506f49ddb7eb5b1c518c52043df9", "categorized_nodes": 14}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
4,613
c
 #pragma once #include "CoreMinimal.h" #include "KBFLActorSpawnDescriptorBase.h" #include "KBFLActorSpawnDescriptor.generated.h" /** * */ UCLASS( Blueprintable, EditInlineNew, abstract, DefaultToInstanced ) class KBFL_API UKBFLActorSpawnDescriptor : public UKBFLActorSpawnDescriptorBase { GENERATED_BODY() public...
26.8
30
(translation_unit) "ragma once\n\n#include "CoreMinimal.h"\n#include "KBFLActorSpawnDescriptorBase.h"\n\n#include "KBFLActorSpawnDescriptor.generated.h"\n\n/**\n* \n*/\nUCLASS( Blueprintable, EditInlineNew, abstract, DefaultToInstanced )\nclass KBFL_API UKBFLActorSpawnDescriptor : public UKBFLActorSpawnDescriptorBase\n...
189
3
{"language": "c", "success": true, "metadata": {"lines": 30, "avg_line_length": 26.8, "nodes": 110, "errors": 0, "source_hash": "a7eaccadfa4d93d687dbd82986d92e5d9797066462e99503d8e82981a8c6b477", "categorized_nodes": 77}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "ragma onc...
4,614
c
#ifdef __OBJC__ #import <UIKit/UIKit.h> #endif FOUNDATION_EXPORT double Pods_AVPlayerCacheLibrary_TestsVersionNumber; FOUNDATION_EXPORT const unsigned char Pods_AVPlayerCacheLibrary_TestsVersionString[];
33.17
6
(translation_unit) "#ifdef __OBJC__\n#import <UIKit/UIKit.h>\n#endif\n\n\nFOUNDATION_EXPORT double Pods_AVPlayerCacheLibrary_TestsVersionNumber;\nFOUNDATION_EXPORT const unsigned char Pods_AVPlayerCacheLibrary_TestsVersionString[];\n\n" (preproc_ifdef) "#ifdef __OBJC__\n#import <UIKit/UIKit.h>\n#endif" (#ifdef) "...
27
1
{"language": "c", "success": true, "metadata": {"lines": 6, "avg_line_length": 33.17, "nodes": 19, "errors": 0, "source_hash": "c821649e3d456557402aa43c01dcda048eaf5a40d640c1bb64a7b46fc99965c4", "categorized_nodes": 14}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifdef __...
4,615
c
#include "stdafx.h" #include "sides.h" #include "snapper.h" #include "snap_lib_internal.h" #include "snap_testers.h" #include "snap_WinRects.h" #include "snap_MouseSpeed.h" #include "snap_TrackResults.h" #include "snap_Crop.h" #include "snap_CenterSize.h" #include "snap_EqualSize.h" #include "snap_mywm_msg.h" static ...
26.37
267
(translation_unit) "#include "stdafx.h"\n#include "sides.h"\n#include "snapper.h"\n#include "snap_lib_internal.h"\n#include "snap_testers.h"\n#include "snap_WinRects.h"\n#include "snap_MouseSpeed.h"\n#include "snap_TrackResults.h"\n#include "snap_Crop.h"\n#include "snap_CenterSize.h"\n#include "snap_EqualSize.h"\n#incl...
1,825
1
{"language": "c", "success": true, "metadata": {"lines": 267, "avg_line_length": 26.37, "nodes": 1055, "errors": 0, "source_hash": "bfeda19c385f50119d30fd8ccc9f2c841881b6403a2f9bde096ae7e59e72b163", "categorized_nodes": 839}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#i...
4,616
c
// // XCSegmentedRefreshHelper.h // vodSeal // // Created by 星星 on 2018/7/3. // Copyright © 2018年 yinuo. All rights reserved. // #import <Foundation/Foundation.h> #import <UIKit/UIKit.h> #import "XCRefreshHelper.h" @protocol XCSegumentedRefreshDelegate <NSObject> - (void)xc_refreshHeaderAction:(XCRefreshHelper ...
23.32
69
(ERROR) "//\n// XCSegmentedRefreshHelper.h\n// vodSeal\n//\n// Created by 星星 on 2018/7/3.\n// Copyright © 2018年 yinuo. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n#import <UIKit/UIKit.h>\n#import "XCRefreshHelper.h"\n\n\n@protocol XCSegumentedRefreshDelegate <NSObject>\n\n- (void)xc_refreshHeader...
276
10
{"language": "c", "success": true, "metadata": {"lines": 69, "avg_line_length": 23.32, "nodes": 149, "errors": 0, "source_hash": "1e2a8b970ecb53855c52ff0832826edeef31982a7bb2e31dc33f60e8f9dc1d08", "categorized_nodes": 90}, "ast": {"root": "ERROR", "nodes": [{"id": 0, "type": "ERROR", "text": "//\n// XCSegmentedRefresh...
4,617
c
/* * Copyright (c) 2005, <NAME> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, di...
30.69
77
(translation_unit) "/*\n * Copyright (c) 2005, <NAME>\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the "Software"), to deal\n * in the Software without restriction, including without limitation the rights\n * to use, copy, ...
118
5
{"language": "c", "success": true, "metadata": {"lines": 77, "avg_line_length": 30.69, "nodes": 67, "errors": 0, "source_hash": "61f3cf628e1b838e94844190b5d20839adaf6e32b79cc24dc9ae314fa581869a", "categorized_nodes": 48}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
4,618
c
/* See LICENSE file for copyright and license details. */ #include "common.h" int libar2_string_to_type(const char *str, enum libar2_argon2_type *typep) { #define STRSTARTS(A, B) (!strncmp(A, B, sizeof(B) - 1)) if (!strcasecmp(str, "argon2d") || STRSTARTS(str, "argon2d$")) { *typep = LIBAR2_ARGON2D; return 0; ...
28.38
24
(translation_unit) "/* See LICENSE file for copyright and license details. */\n#include "common.h"\n\n\nint\nlibar2_string_to_type(const char *str, enum libar2_argon2_type *typep)\n{\n#define STRSTARTS(A, B) (!strncmp(A, B, sizeof(B) - 1))\n\n if (!strcasecmp(str, "argon2d") || STRSTARTS(str, "argon2d$")) {\n *typep =...
248
0
{"language": "c", "success": true, "metadata": {"lines": 24, "avg_line_length": 28.38, "nodes": 133, "errors": 0, "source_hash": "21459d09f0ccb6d22345e22acf77df9ea709991242b6c5f87d3c74038b7065f1", "categorized_nodes": 94}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
4,619
c
/* * SceneGraphManager.h * WhirlyGlobeLib * * Created by <NAME> on 5/24/12. * Copyright 2011-2017 mousebird consulting * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * http...
30.74
137
(translation_unit) "/*\n * SceneGraphManager.h\n * WhirlyGlobeLib\n *\n * Created by <NAME> on 5/24/12.\n * Copyright 2011-2017 mousebird consulting\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a co...
719
33
{"language": "c", "success": true, "metadata": {"lines": 137, "avg_line_length": 30.74, "nodes": 422, "errors": 0, "source_hash": "b32380815acc2df68538649ebfa90b415911672d5cbb3999c5e77407f8767ef8", "categorized_nodes": 279}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#impor...
4,620
c
--- - src/library.h - "/home/just_user/.local/share/gem/ruby/2.7.0/gems/ceedling-0.31.0/vendor/unity/src/unity.h"
37
3
(translation_unit) "---\n- src/library.h\n- "/home/just_user/.local/share/gem/ruby/2.7.0/gems/ceedling-0.31.0/vendor/unity/src/unity.h"\n" (ERROR) "---\n- src/library.h\n- "/home/just_user/.local/share/gem/ruby/2.7.0/gems/ceedling-0.31.0/vendor/unity/src/unity.h"" (binary_expression) "---\n- src/library.h\n- "/ho...
21
1
{"language": "c", "success": true, "metadata": {"lines": 3, "avg_line_length": 37.0, "nodes": 16, "errors": 0, "source_hash": "a4995de5a33fe62773d74133aa66bfbca29f71dd40eb21c459ec53b93f64ac49", "categorized_nodes": 10}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "---\n- src/library...
4,621
c
// // YULIBOViewController.h // YLBNetwork // // Created by ProBobo on 11/18/2020. // Copyright (c) 2020 ProBobo. All rights reserved. // @import UIKit; @interface YULIBOViewController : UIViewController @end
20.3
10
(translation_unit) "//\n// YULIBOViewController.h\n// YLBNetwork\n//\n// Created by ProBobo on 11/18/2020.\n// Copyright (c) 2020 ProBobo. All rights reserved.\n//\n\n@import UIKit;\n\n@interface YULIBOViewController : UIViewController\n\n@end\n" (comment) "//" (comment) "// YULIBOViewController.h" (comment)...
22
5
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 20.3, "nodes": 10, "errors": 0, "source_hash": "35d005080f0efcbeacbaf90b4d0e9265342f1ecf29feaae29c602257875246f4", "categorized_nodes": 5}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "@", "parent": null...
4,622
c
/* The MIT License Copyright (c) 2017 <NAME> <<EMAIL>> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, pu...
34.45
125
(translation_unit) "/*\nThe MIT License\n\nCopyright (c) 2017 <NAME> <<EMAIL>>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of\nthis software and associated documentation files (the "Software"), to deal in\nthe Software without restriction, including without limitation the rights to\n...
671
12
{"language": "c", "success": true, "metadata": {"lines": 125, "avg_line_length": 34.45, "nodes": 444, "errors": 0, "source_hash": "24c7ef93d7af219767726bd13cad5531e9a712ed40ca0847280e395194607b7c", "categorized_nodes": 330}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
4,623
c
#include "holberton.h" /** * *leet - encodes a string into 1337. * @s: string. * * Return: string encoded. */ char *leet(char *s) { int i, j; char letters[] = "aAeEoOtTlL"; char numbers[] = "4433007711"; for (i = 0; s[i] != '\0'; i++) { for (j = 0; letters[j] != '\0'; j++) { if (s[i] == letters[j]) ...
14.5
24
(translation_unit) "#include "holberton.h"\n\n/**\n * *leet - encodes a string into 1337.\n * @s: string.\n *\n * Return: string encoded.\n */\nchar *leet(char *s)\n{\n int i, j;\n char letters[] = "aAeEoOtTlL";\n char numbers[] = "4433007711";\n\n for (i = 0; s[i] != '\0'; i++)\n {\n for (j = 0; letters[j] != '\0'; j...
152
0
{"language": "c", "success": true, "metadata": {"lines": 24, "avg_line_length": 14.5, "nodes": 88, "errors": 0, "source_hash": "4a851c9824149546c2ab9ea5a4b23807dd2e5a6a56e0d8e987b5c37c7e4ac434", "categorized_nodes": 58}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#includ...
4,624
c
#ifndef Processor_h_ #define Processor_h_ template<typename T> class Processor { public: virtual ~Processor(){} virtual void process(const T& data) = 0; }; #endif
15.9
10
(translation_unit) "#ifndef Processor_h_\n#define Processor_h_\n\ntemplate<typename T>\nclass Processor\n{\npublic:\n virtual ~Processor(){}\n virtual void process(const T& data) = 0;\n};\n\n#endif\n" (preproc_ifdef) "#ifndef Processor_h_\n#define Processor_h_\n\ntemplate<typename T>\nclass Processor\n{\npublic:\...
56
4
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 15.9, "nodes": 36, "errors": 0, "source_hash": "32669f99f40781e4d31686d0ff0316f94df3c02003bcc96172e6f96e9fc44bb1", "categorized_nodes": 23}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef P...
4,625
c
// // GLEditEnums.h // godlike_iOS // // Created by itaen on 2019/3/4. // Copyright © 2019 NetEase. All rights reserved. // #ifndef GLEditEnums_h #define GLEditEnums_h typedef NS_ENUM(NSInteger, GLPhotoAnimationType) { GLPhotoAnimationNone = -1,//无效果 GLPhotoAnimationPushBottom = 0,//往图片下方推进 GLPhotoAni...
29.42
60
(translation_unit) "//\n// GLEditEnums.h\n// godlike_iOS\n//\n// Created by itaen on 2019/3/4.\n// Copyright © 2019 NetEase. All rights reserved.\n//\n\n#ifndef GLEditEnums_h\n#define GLEditEnums_h\n\ntypedef NS_ENUM(NSInteger, GLPhotoAnimationType) {\n GLPhotoAnimationNone = -1,//无效果\n GLPhotoAnimationPushBo...
267
19
{"language": "c", "success": true, "metadata": {"lines": 60, "avg_line_length": 29.42, "nodes": 163, "errors": 0, "source_hash": "6f6addafcc7e52655c3a741c20057e4d1516b3658c592b0f330d8b8ae8b700a7", "categorized_nodes": 112}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "ifndef GLEditE...
4,626
c
#ifndef NBD_BACKEND_H #define NBD_BACKEND_H void punch_hole(int fd, off_t off, off_t len); #endif
23.5
4
(translation_unit) "#ifndef NBD_BACKEND_H\n#define NBD_BACKEND_H\n\nvoid punch_hole(int fd, off_t off, off_t len);\n\n#endif\n" (preproc_ifdef) "#ifndef NBD_BACKEND_H\n#define NBD_BACKEND_H\n\nvoid punch_hole(int fd, off_t off, off_t len);\n\n#endif" (#ifndef) "#ifndef" (identifier) "NBD_BACKEND_H" (prepr...
27
0
{"language": "c", "success": true, "metadata": {"lines": 4, "avg_line_length": 23.5, "nodes": 21, "errors": 0, "source_hash": "0b219db235aa60e64419f05b67ee42cfb71ab0c68432cbc66d87bd9af00b1f1d", "categorized_nodes": 16}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef NB...
4,627
c
#ifndef _VIEW_I18N_H #define _VIEW_I18N_H namespace ViewI18n { void transCollection(); } #endif
10.89
9
(translation_unit) "#ifndef _VIEW_I18N_H \n#define _VIEW_I18N_H \n \nnamespace ViewI18n \n{ \n void transCollection(); \n} \n \n#endif" (preproc_ifdef) "#ifndef _VIEW_I18N_H \n#define _VIEW_I18N_H \n \nnamespace ViewI18n \n{ \n void transCollection(); \n} \n \n#endif" (#ifndef) "#ifndef" (identifier) "_VIEW_I...
22
0
{"language": "c", "success": true, "metadata": {"lines": 9, "avg_line_length": 10.89, "nodes": 15, "errors": 0, "source_hash": "4ad996b2baa64581086a5da9f6174a431c9beac75ffede8c9ab965e554bf3132", "categorized_nodes": 11}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef _...
4,628
c
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* button.c :+: :+: :+: ...
29.29
110
(translation_unit) "/* ************************************************************************** */\n/* */\n/* ::: :::::::: */\n/* button.c ...
1,084
0
{"language": "c", "success": true, "metadata": {"lines": 110, "avg_line_length": 29.29, "nodes": 759, "errors": 0, "source_hash": "a7f6e581b5ef4d1919cf601d7a26f0f13084aa549cedd808460cc2144f841520", "categorized_nodes": 567}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
4,629
c
// // Created by Administrator on 2018/5/8. // #ifndef SSRSTL_CONSTRUCT_H #define SSRSTL_CONSTRUCT_H #include "../utils_typetraits/Typetraits.h" #include "../utils_iterator/Iterator.h" namespace SSRSTL{ template <typename T> inline void construct(T* ptr){ //调用placement new完成对象的construct new(p...
30.49
41
(translation_unit) "//\n// Created by Administrator on 2018/5/8.\n//\n\n#ifndef SSRSTL_CONSTRUCT_H\n#define SSRSTL_CONSTRUCT_H\n\n#include "../utils_typetraits/Typetraits.h"\n#include "../utils_iterator/Iterator.h"\n\nnamespace SSRSTL{\n template <typename T>\n inline void construct(T* ptr){\n //调用placemen...
330
11
{"language": "c", "success": true, "metadata": {"lines": 41, "avg_line_length": 30.49, "nodes": 212, "errors": 0, "source_hash": "3cbc202e8162ea42da2087c9a83184528343cc9efd2096a3b4ed28e7b5027532", "categorized_nodes": 151}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
4,630
c
/* * Copyright (c) 2015 MediaTek Inc. * * Use of this source code is governed by a MIT-style * license that can be found in the LICENSE file or at * https://opensource.org/licenses/MIT */ #include <arch/arm.h> #include <lk/reg.h> #include <lk/debug.h> #include <kernel/thread.h> #include <mt_gic.h> #include <platf...
29.34
44
(translation_unit) "/*\n * Copyright (c) 2015 MediaTek Inc.\n *\n * Use of this source code is governed by a MIT-style\n * license that can be found in the LICENSE file or at\n * https://opensource.org/licenses/MIT\n */\n#include <arch/arm.h>\n#include <lk/reg.h>\n#include <lk/debug.h>\n#include <kernel/thread.h>\n#inc...
252
0
{"language": "c", "success": true, "metadata": {"lines": 44, "avg_line_length": 29.34, "nodes": 181, "errors": 0, "source_hash": "2419a9db0e68656a16ede19f3f863ed44685f339c4c57b50b15f2b4b2307dbf6", "categorized_nodes": 129}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
4,631
c
/* * ***** BEGIN GPL LICENSE BLOCK ***** * * 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. * * This program is d...
30.28
110
(translation_unit) "/*\n * ***** BEGIN GPL LICENSE BLOCK *****\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 option) any later versio...
607
12
{"language": "c", "success": true, "metadata": {"lines": 110, "avg_line_length": 30.28, "nodes": 411, "errors": 0, "source_hash": "a930d23df5738e0ceea39e064c2fabd956adecc0d8a9f55cb84337dbddf74bc0", "categorized_nodes": 268}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
4,632
c
// // Generated by class-dump 3.5 (64 bit) (Debug version compiled Sep 17 2017 16:24:48). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by <NAME>. // #import <objc/NSObject.h> #import "NSCoding-Protocol.h" @class ACCBaseRPCResponseInfo, ACCVirtualCardInfo; @interface ACCVirtualCardQueryC...
40.58
19
(translation_unit) "//\n// Generated by class-dump 3.5 (64 bit) (Debug version compiled Sep 17 2017 16:24:48).\n//\n// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by <NAME>.\n//\n\n#import <objc/NSObject.h>\n\n#import "NSCoding-Protocol.h"\n\n@class ACCBaseRPCResponseInfo, ACCVirtualCardInfo;\n\...
133
14
{"language": "c", "success": true, "metadata": {"lines": 19, "avg_line_length": 40.58, "nodes": 81, "errors": 0, "source_hash": "2a35c5e150ecf687ba0c0dc28795217c606a865c81d5f644dfc77481c3a3d1fe", "categorized_nodes": 44}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <...
4,633
c
// // CircleRefreshView.h // HyCycleView // https://github.com/hydreamit/HyCycleView // // Created by Hy on 2016/5/21. // Copyright © 2016年 Hy. All rights reserved. // #import <UIKit/UIKit.h> @interface CircleRefreshView : UIView @property (nonatomic, assign) CGFloat progress; @property (nonatomic, assign, rea...
23.69
16
(translation_unit) "//\n// CircleRefreshView.h\n// HyCycleView\n// https://github.com/hydreamit/HyCycleView\n//\n// Created by Hy on 2016/5/21.\n// Copyright © 2016年 Hy. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n\n@interface CircleRefreshView : UIView\n\n@property (nonatomic, assign) CGFloat progress;...
75
10
{"language": "c", "success": true, "metadata": {"lines": 16, "avg_line_length": 23.69, "nodes": 46, "errors": 0, "source_hash": "625629f83618d69474b213dfd56166a95bbf2b620dbc6c863847de59b3578be0", "categorized_nodes": 26}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "port <UIK...
4,634
c
#include <stdio.h> #include <string.h> #include <math.h> int toBase10(char* value, int base); int main() { while (1) { int n; char value[128]; printf("Enter the value of base n: "); scanf("%d", &n); printf("Enter the base %d value you wish to convert: ", n); ...
24.92
26
(translation_unit) "#include <stdio.h>\n#include <string.h>\n#include <math.h>\n\nint toBase10(char* value, int base);\n\nint main() {\n while (1) {\n int n;\n char value[128];\n \n printf("Enter the value of base n: ");\n scanf("%d", &n);\n\n printf("Enter the base %d value...
254
0
{"language": "c", "success": true, "metadata": {"lines": 26, "avg_line_length": 24.92, "nodes": 150, "errors": 0, "source_hash": "995884e19e8338c6fe65f7ad18f7d9220b902d717d3660c3d1caf843022b36f1", "categorized_nodes": 100}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
4,635
c
/* * Filename : find_string.c * Author & Copyright (c) : <NAME> * Date created : 2021-11-17 * Written in : C * * --------------------------------------------------------------------------------- * * MIT License * * Copyright (c) 2021 <NAME> * * Permission is hereby granted, free of charge, to any person ob...
29.37
89
(translation_unit) "/*\n * Filename : find_string.c\n * Author & Copyright (c) : <NAME>\n * Date created : 2021-11-17\n * Written in : C\n *\n * ---------------------------------------------------------------------------------\n *\n * MIT License\n *\n * Copyright (c) 2021 <NAME>\n *\n * Permission is hereby granted, f...
511
0
{"language": "c", "success": true, "metadata": {"lines": 89, "avg_line_length": 29.37, "nodes": 313, "errors": 0, "source_hash": "31f64e1857ed9c71d21c030b6a6682f448de11dd6df6f64db8d7bef862516670", "categorized_nodes": 196}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
4,636
c
#ifndef _MAIN_STRUCT_H_ #define _MAIN_STRUCT_H_ typedef unsigned char BYTE; typedef unsigned long DWORD; typedef int INT; #define type1 0 #define type2 1 #define type3 2 #define type4 3 #define type5 4 #define type6 5 #define type7 6 #define type8 7 #define type9 8 #define type10 9 #define type11 10 #define type12 ...
17.33
30
(translation_unit) "#ifndef _MAIN_STRUCT_H_\n#define _MAIN_STRUCT_H_\n\ntypedef unsigned char BYTE;\ntypedef unsigned long DWORD;\ntypedef int INT;\n\n#define type1 0\n#define type2 1\n#define type3 2\n#define type4 3\n#define type5 4\n#define type6 5\n#define type7 6\n#define type8 7\n#define type9 8\n#define type10 9...
120
0
{"language": "c", "success": true, "metadata": {"lines": 30, "avg_line_length": 17.33, "nodes": 115, "errors": 0, "source_hash": "fbf47f0cfc40e4ba1e80994c860c1c1b8d65ceb5ae52d9263a29e57fc3f93530", "categorized_nodes": 36}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
4,637
c
#ifndef ATL_zGetNB_geqrf /* * NB selection for GEQRF: Side='RIGHT', Uplo='UPPER' * M : 25,58,92,126,160,193,227,261,295,430,566,837,1108,1379,1650,1921,2192,3276,4360 * N : 25,58,92,126,160,193,227,261,295,430,566,837,1108,1379,1650,1921,2192,3276,4360 * NB : 1,1,23,24,27,28,39,40,43,47,51,51,86,102,134,134,240,28...
54.42
19
(translation_unit) "#ifndef ATL_zGetNB_geqrf\n\n/*\n * NB selection for GEQRF: Side='RIGHT', Uplo='UPPER'\n * M : 25,58,92,126,160,193,227,261,295,430,566,837,1108,1379,1650,1921,2192,3276,4360\n * N : 25,58,92,126,160,193,227,261,295,430,566,837,1108,1379,1650,1921,2192,3276,4360\n * NB : 1,1,23,24,27,28,39,40,43,47,5...
17
0
{"language": "c", "success": true, "metadata": {"lines": 19, "avg_line_length": 54.42, "nodes": 11, "errors": 0, "source_hash": "ee7fc509e8740ce2fabaa98878fd575af9e7bb6e174cba7b29abeaad8b119e7c", "categorized_nodes": 8}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef A...
4,638
c
#pragma once #include "ofMain.h" #include "ofxBox2dBaseShape.h" class ofxBox2dPolygon : public ofxBox2dBaseShape { private: bool bIsTriangulated; float area; ofxVec2f center; void calculateCentroid(); void calculateArea(); public: ofRectangle bounds; vector <ofxVec2f> vertices; //-----------...
21.68
44
(translation_unit) "#pragma once\n#include "ofMain.h"\n#include "ofxBox2dBaseShape.h"\n\n\n\nclass ofxBox2dPolygon : public ofxBox2dBaseShape {\n\nprivate:\n \n bool bIsTriangulated;\n float area;\n ofxVec2f center;\n void calculateCentroid();\n void calculateArea();\n \npublic:\n \n ofRectangle bounds;\n vector...
231
3
{"language": "c", "success": true, "metadata": {"lines": 44, "avg_line_length": 21.68, "nodes": 138, "errors": 0, "source_hash": "848f4576e0f80e1310879555c31c69ae590ede232b26f8954ee88cd468c47239", "categorized_nodes": 91}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma ...
4,639
c
/*********************************************************************** * * * This software is part of the ast package * * Copyright (c) 1985-2010 AT&T Intellectual Property * * and i...
21.76
335
(translation_unit) "/***********************************************************************\n* *\n* This software is part of the ast package *\n* Copyright (c) 1985-2010 AT&T Intellectual Property *\n* ...
2,797
0
{"language": "c", "success": true, "metadata": {"lines": 335, "avg_line_length": 21.76, "nodes": 1767, "errors": 0, "source_hash": "bf46b2883f19a8d5820f0228b504e94373ef0e509a3d0150d092b6a97765761a", "categorized_nodes": 1278}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pra...
4,640
c
#pragma once namespace Lumos { namespace Graphics { class LUMOS_EXPORT ShaderUniformDeclaration { private: friend class Shader; friend class GLShader; friend class DXShader; friend class ShaderStruct; public: virtual ~ShaderUniformDeclaration() = default; virtual const std::string& GetName...
23.81
108
(translation_unit) "#pragma once\n\nnamespace Lumos\n{\n namespace Graphics\n {\n class LUMOS_EXPORT ShaderUniformDeclaration\n {\n private:\n friend class Shader;\n friend class GLShader;\n friend class DXShader;\n friend class ShaderStruct;\n\n public:\n virtual ~ShaderUniformDeclaration() = default;\n ...
822
63
{"language": "c", "success": true, "metadata": {"lines": 108, "avg_line_length": 23.81, "nodes": 476, "errors": 0, "source_hash": "abe4a2155f5fd2a36405c084fc306247a63f20292a1e50d29db40e0d5f5f4868", "categorized_nodes": 305}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragm...
4,641
c
// ******************************************* // File Name: AppDelegate.h // Author: MrBai // Created Date: 2021/12/14 2:25 PM // // Copyright © 2021 ___ORGANIZATIONNAME___ // All rights reserved // ******************************************* #import <UIKit/UIKit.h> @interface App...
31.23
13
(translation_unit) "// *******************************************\n// File Name: AppDelegate.h \n// Author: MrBai\n// Created Date: 2021/12/14 2:25 PM\n// \n// Copyright © 2021 ___ORGANIZATIONNAME___\n// All rights reserved\n// *******************************************\n \n\n#import <...
40
6
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 31.23, "nodes": 25, "errors": 0, "source_hash": "e160a55b1c3bc0693bd4edcc7df2973c65ba95cfeca5352b9d87881956ac8c9a", "categorized_nodes": 13}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <U...
4,642
c
#pragma once #include "Test.h" #include "MemoryFunction.h" class CDivTest : public CTest { public: CDivTest(bool); void Run(); void Compile(Jitter::CJitter&); private: struct CONTEXT { uint32 cstResultLo; uint32 cstResultHi; uint32 relArg0; uint32 relArg1; uint32 relResultLo; ...
17.17
23
(translation_unit) "#pragma once\n\n#include "Test.h"\n#include "MemoryFunction.h"\n\nclass CDivTest : public CTest\n{\npublic:\n CDivTest(bool);\n\n void Run();\n void Compile(Jitter::CJitter&);\n\nprivate:\n struct CONTEXT\n {\n uint32 cstResultLo;\n uint32 cstResultHi;\n\n uint32 relArg0;\n uint...
111
3
{"language": "c", "success": true, "metadata": {"lines": 23, "avg_line_length": 17.17, "nodes": 64, "errors": 0, "source_hash": "3cfa200f7481940060dbb7d1f1a69fe6a420c020d286288c36f1f0608542227a", "categorized_nodes": 53}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
4,643
c
#include<stdio.h> int n,m; char t[100][100]; void dfs(int i,int j) { t[i][j]='*'; if (i>0) { if (j>0 && t[i-1][j-1]=='@') dfs(i-1,j-1); if (t[i-1][j]=='@') dfs(i-1,j); if (j+1<m && t[i-1][j+1]=='@') dfs(i-1,j+1); } if (j>0 && t[i][j-1]=='@') dfs(i,j-1); if (j+1<m && t[i][j+1]=='@...
14.28
54
(translation_unit) "#include<stdio.h> \nint n,m; \nchar t[100][100]; \nvoid dfs(int i,int j) \n{ \n t[i][j]='*'; \n if (i>0) \n { \n if (j>0 && t[i-1][j-1]=='@') \n dfs(i-1,j-1); \n if (t[i-1][j]=='@') \n dfs(i-1,j); \n if (j+1<m && t[i-1][j+1]=='@') \n dfs(i-1,j+1); \n } \n if (j>0 && t[i][j-1]=='@') \n dfs(...
650
0
{"language": "c", "success": true, "metadata": {"lines": 54, "avg_line_length": 14.28, "nodes": 426, "errors": 0, "source_hash": "86c0405ebe64b8f0d4d2f3741dae6d9a9a37f50dd40bc86c1a9391bf2872ed3a", "categorized_nodes": 305}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
4,644
c
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by <NAME>. // #import "NSEnumerator.h" @class BRCPCSChainInfo; __attribute__((visibility("hidden"))) @interface BRCPCSChainBreadthEnumerator : NSEnumerator { BRCPCSChainInfo *_chainInfo; stru...
24.58
19
(translation_unit) "//\n// Generated by class-dump 3.5 (64 bit).\n//\n// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by <NAME>.\n//\n\n#import "NSEnumerator.h"\n\n@class BRCPCSChainInfo;\n\n__attribute__((visibility("hidden")))\n@interface BRCPCSChainBreadthEnumerator : NSEnumerator\n{\n BRCP...
126
10
{"language": "c", "success": true, "metadata": {"lines": 19, "avg_line_length": 24.58, "nodes": 73, "errors": 0, "source_hash": "bbcd37d1d6cc8070caf5ee188906b65904285da1e1d4371a2f914605d5e841f0", "categorized_nodes": 43}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import \...
4,645
c
#ifndef SQSWAP_H #define SQSWAP_H #include <cmath> #include "Operation.h" class SqSwap : public Operation { public: SqSwap(int qubit_index_a, int qubit_index_b, int line_number = 0); void check_static_constraints(CrossbarModel* model); void add_dynamic_constraints(CrossbarModel* model, int curr_cycle); void...
26.5
28
(translation_unit) "#ifndef SQSWAP_H\n#define SQSWAP_H\n\n#include <cmath>\n#include "Operation.h"\n\nclass SqSwap : public Operation {\npublic:\n SqSwap(int qubit_index_a, int qubit_index_b, int line_number = 0);\n \n void check_static_constraints(CrossbarModel* model);\n \n void add_dynamic_constraints(CrossbarModel*...
241
13
{"language": "c", "success": true, "metadata": {"lines": 28, "avg_line_length": 26.5, "nodes": 150, "errors": 0, "source_hash": "96a845dbda3ae7d75295e61d928db61752539fe4f1a66d0895a16137d2eb9a95", "categorized_nodes": 101}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
4,646
c
#import "XDGPUImageFilterGroup.h" @interface XDGPUImageAdaptiveThresholdFilter : XDGPUImageFilterGroup /** A multiplier for the background averaging blur radius in pixels, with a default of 4 */ @property(readwrite, nonatomic) CGFloat blurRadiusInPixels; @end
42.83
6
(translation_unit) "#import "XDGPUImageFilterGroup.h"\n\n@interface XDGPUImageAdaptiveThresholdFilter : XDGPUImageFilterGroup\n\n/** A multiplier for the background averaging blur radius in pixels, with a default of 4\n */\n@property(readwrite, nonatomic) CGFloat blurRadiusInPixels;\n\n@end\n" (preproc_call) "#impo...
28
6
{"language": "c", "success": true, "metadata": {"lines": 6, "avg_line_length": 42.83, "nodes": 20, "errors": 0, "source_hash": "fe2d102f2621c04f0c53ea1005e350b4ca4e18808f4282b1d1772cb951604f46", "categorized_nodes": 11}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import \"...
4,647
c
#include <unico.h> int is_deseret_unicoc (unicoc* uni){ return is_deseret_unicos(uni->beginning, uni->end, uni->unicos); }
29.75
4
(translation_unit) "#include <unico.h>\nint is_deseret_unicoc (unicoc* uni){\nreturn is_deseret_unicos(uni->beginning, uni->end, uni->unicos);\n}\n" (preproc_include) "#include <unico.h>\n" (#include) "#include" (system_lib_string) "<unico.h>" (function_definition) "int is_deseret_unicoc (unicoc* uni){\nret...
41
0
{"language": "c", "success": true, "metadata": {"lines": 4, "avg_line_length": 29.75, "nodes": 25, "errors": 0, "source_hash": "6508886f0e02263ffb0b7df11d46f5ffb35354280e463b53af22948e975f8d37", "categorized_nodes": 20}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#includ...
4,648
c
#include "check.h" int main(void) { check("n*m-k*m+n*m", "m(n-k+n)"); }
14.2
5
(translation_unit) "#include "check.h"\n\nint main(void)\n{\n check("n*m-k*m+n*m", "m(n-k+n)");\n}\n" (preproc_include) "#include "check.h"\n" (#include) "#include" (string_literal) ""check.h"" (") """ (string_content) "check.h" (") """ (function_definition) "int main(void)\n{\n chec...
35
0
{"language": "c", "success": true, "metadata": {"lines": 5, "avg_line_length": 14.2, "nodes": 15, "errors": 0, "source_hash": "d7c9c00d1a47d965751715a3d14759edbc6bb309dd4e1600b57d282e4905ed28", "categorized_nodes": 11}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#include...
4,649
c
// // UIColor+MainTheme.h // YQUIKit_Example // // Created by YinQ on 2019/1/8. // Copyright © 2019年 <EMAIL>. All rights reserved. // #import <UIKit/UIKit.h> @interface UIColor (MainTheme) + (UIColor*) mainThemeColor; @end
19.64
11
(translation_unit) "//\n// UIColor+MainTheme.h\n// YQUIKit_Example\n//\n// Created by YinQ on 2019/1/8.\n// Copyright © 2019年 <EMAIL>. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface UIColor (MainTheme)\n\n+ (UIColor*) mainThemeColor;\n@end\n" (comment) "//" (comment) "// UIColor+MainTheme.h"...
37
4
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 19.64, "nodes": 21, "errors": 0, "source_hash": "70eb506b8282ba895bd8417e9c95fc263d7a5a1faf1346bd49339641cde3c485", "categorized_nodes": 10}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "port <UIK...
4,650
c
#ifndef EXPANSIONPOLICY_H #define EXPANSIONPOLICY_H // ExpansionPolicy.h // // Provides a generic interface for iterating over the neighbours // of a node during expansion. // // @author: dharabor // @created: 21/09/2010 #include <stdexcept> class node; class ProblemInstance; class ExpansionPolicy { public: Expan...
28.93
44
(translation_unit) "#ifndef EXPANSIONPOLICY_H\n#define EXPANSIONPOLICY_H\n\n// ExpansionPolicy.h\n//\n// Provides a generic interface for iterating over the neighbours\n// of a node during expansion.\n//\n// @author: dharabor\n// @created: 21/09/2010\n\n#include <stdexcept>\n\nclass node;\nclass ProblemInstance;\nclass...
235
9
{"language": "c", "success": true, "metadata": {"lines": 44, "avg_line_length": 28.93, "nodes": 151, "errors": 0, "source_hash": "91fb342f7648d35f05987d0dbe3869982afe27e94abeea4ef53361bae9a3c386", "categorized_nodes": 93}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
4,651
c
/* -*- c-file-style: "ruby"; indent-tabs-mode: nil -*- */ /********************************************************************** rbgp-gpa-list.c - $Author: ktou $ $Date: 2005/10/10 02:07:41 $ Copyright (C) 2005 Ruby-GNOME2 Project Team Copyright (C) 2004 <NAME> <<EMAIL>> *********************************...
31.57
30
(translation_unit) "/* -*- c-file-style: "ruby"; indent-tabs-mode: nil -*- */\n/**********************************************************************\n\n rbgp-gpa-list.c -\n\n $Author: ktou $\n $Date: 2005/10/10 02:07:41 $\n\n Copyright (C) 2005 Ruby-GNOME2 Project Team\n Copyright (C) 2004 <NAME> <<EMAIL>>\n\n**...
168
0
{"language": "c", "success": true, "metadata": {"lines": 30, "avg_line_length": 31.57, "nodes": 89, "errors": 0, "source_hash": "80a21861cf950d767e606ec52b72f57f4bc551474f8b0b487d7961c6ca23f31a", "categorized_nodes": 70}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
4,652
c
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Fluent Bit * ========== * Copyright (C) 2019-2021 The Fluent Bit Authors * Copyright (C) 2015-2018 Treasure Data Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in co...
31.56
94
(translation_unit) "/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */\n\n/* Fluent Bit\n * ==========\n * Copyright (C) 2019-2021 The Fluent Bit Authors\n * Copyright (C) 2015-2018 Treasure Data Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may no...
263
0
{"language": "c", "success": true, "metadata": {"lines": 94, "avg_line_length": 31.56, "nodes": 201, "errors": 0, "source_hash": "77b8f5662642c9af8ae241ac540b249547483cc41ca8ad68317d239f9b25ddb8", "categorized_nodes": 116}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
4,653
c
int __attribute__((x86far,x86near)) v1; int __attribute__((x86ds,x86cs)) v2; int __attribute__((x86ds,x86far)) v3;
37.33
3
(translation_unit) "int __attribute__((x86far,x86near)) v1;\nint __attribute__((x86ds,x86cs)) v2;\nint __attribute__((x86ds,x86far)) v3;\n" (declaration) "int __attribute__((x86far,x86near)) v1;" (primitive_type) "int" (attribute_specifier) "__attribute__((x86far,x86near))" (__attribute__) "__attribute_...
43
0
{"language": "c", "success": true, "metadata": {"lines": 3, "avg_line_length": 37.33, "nodes": 24, "errors": 0, "source_hash": "132292a670c54cb42e8a8550515e0f88f8b45a33c3dc529e7ddb5c285977fb3e", "categorized_nodes": 15}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "declaration", "text": "int __attri...
4,654
c
#pragma once #include "Defs/Defs.h" #include "Stl/Hash.h" #include "Archive/ISerializable.h" #include "glm/vec2.hpp" #include "glm/vec3.hpp" #include "glm/vec4.hpp" #include "glm/gtx/quaternion.hpp" #include "glm/gtc/matrix_transform.hpp" #include <cmath> namespace glm { void to_json(SG::json& node, const vec3&...
35.14
139
(translation_unit) "#pragma once\n\n#include "Defs/Defs.h"\n\n#include "Stl/Hash.h"\n#include "Archive/ISerializable.h"\n\n#include "glm/vec2.hpp"\n#include "glm/vec3.hpp"\n#include "glm/vec4.hpp"\n\n#include "glm/gtx/quaternion.hpp"\n#include "glm/gtc/matrix_transform.hpp"\n\n#include <cmath>\n\nnamespace glm\n{\n\n v...
1,318
73
{"language": "c", "success": true, "metadata": {"lines": 139, "avg_line_length": 35.14, "nodes": 779, "errors": 0, "source_hash": "fa394a8490bd202cadddf099b80e5c6b358200349c4ac96eb6dc38ed74b165ae", "categorized_nodes": 579}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragm...
4,655
c
/*- * Copyright (c) <2010-2017>, Intel Corporation. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ /* Created 2010 by <NAME> <EMAIL> */ #include <arpa/inet.h> #include <cli_scrn.h> #include "pktgen.h" #include "pktgen-log.h" #include "pktgen-ipv4.h" /******************************************...
30.39
156
(translation_unit) "/*-\n * Copyright (c) <2010-2017>, Intel Corporation. All rights reserved.\n *\n * SPDX-License-Identifier: BSD-3-Clause\n */\n\n/* Created 2010 by <NAME> <EMAIL> */\n\n#include <arpa/inet.h>\n\n#include <cli_scrn.h>\n#include "pktgen.h"\n#include "pktgen-log.h"\n#include "pktgen-ipv4.h"\n\n/*******...
1,201
2
{"language": "c", "success": true, "metadata": {"lines": 156, "avg_line_length": 30.39, "nodes": 730, "errors": 0, "source_hash": "5c412d63616af9876de6c8c7742b31fe788e164c7fa187ed6cc5fcbb75d7a8ab", "categorized_nodes": 552}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
4,656
c
#ifndef PROTOCOL_ENUMS_H #define PROTOCOL_ENUMS_H namespace ct { static const int CT_PROTOCOL_BAUD=19200; static const int CT_NOP=0; enum ClientCommand { CT_CLIENT_NOP=CT_NOP, CT_RESET=1, CT_STOP_TRACKING=2, CT_START_TRACKING=3, CT_READ=5, CT_WRITE=4, }; enum ServerResponse { CT_SERVER_NOP=CT_NOP, CT_READ_...
22.76
101
(translation_unit) "#ifndef PROTOCOL_ENUMS_H\n#define PROTOCOL_ENUMS_H\n\nnamespace ct\n{\nstatic const int CT_PROTOCOL_BAUD=19200;\nstatic const int CT_NOP=0;\n\nenum ClientCommand\n{\n CT_CLIENT_NOP=CT_NOP,\n CT_RESET=1,\n CT_STOP_TRACKING=2,\n CT_START_TRACKING=3,\n \n CT_READ=5,\n CT_WRITE=4,\n};\n\nenum ServerResp...
571
21
{"language": "c", "success": true, "metadata": {"lines": 101, "avg_line_length": 22.76, "nodes": 373, "errors": 0, "source_hash": "d590075e09acccc7ff5f7f1c30b83037e1c900f1d38f7d0b9f3f0a0b3ece87c1", "categorized_nodes": 256}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnd...
4,657
c
#include <termlike/termlike.h> // term_* #include <stdlib.h> // exit, EXIT_FAILURE #include <stdint.h> // int32_t static void draw_logo(double const interp) { (void)interp; struct term_dimens display; term_get_display(&display); char const * const map = " ░\n" " ░\n" " ┌────...
25.34
44
(translation_unit) "#include <termlike/termlike.h> // term_*\n\n#include <stdlib.h> // exit, EXIT_FAILURE\n#include <stdint.h> // int32_t\n\nstatic\nvoid\ndraw_logo(double const interp)\n{\n (void)interp;\n\n struct term_dimens display;\n\n term_get_display(&display);\n\n char const * const map =\n " ...
324
0
{"language": "c", "success": true, "metadata": {"lines": 44, "avg_line_length": 25.34, "nodes": 172, "errors": 0, "source_hash": "3e5527a0fdc0c45a0855ebed9a862fdd9721d8232216d3d0a63ee939119b23e9", "categorized_nodes": 128}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
4,658
c
/* * Copyright (C) 2006-2009,2013-2014 Citrix Systems Inc. * Copyright (C) 2010 <NAME> <<EMAIL>> * * This program 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; version 2.1 only. with the special...
27.78
166
(translation_unit) "/*\n * Copyright (C) 2006-2009,2013-2014 Citrix Systems Inc.\n * Copyright (C) 2010 <NAME> <<EMAIL>>\n *\n * This program is free software; you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as published\n * by the Free Software Foundation; version ...
1,083
12
{"language": "c", "success": true, "metadata": {"lines": 166, "avg_line_length": 27.78, "nodes": 683, "errors": 0, "source_hash": "6b821386d6634e9d5faafd838b6774530a4a1617498cfa42ecf405edc90e9146", "categorized_nodes": 499}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
4,659
c
/* Generated by RuntimeBrowser. */ @protocol NTKSafeLocketReaderDelegate <NSObject> @optional - (void)firstUnlockDidOccur; @end
20.5
6
(translation_unit) "/* Generated by RuntimeBrowser.\n */\n\n@protocol NTKSafeLocketReaderDelegate <NSObject>\n\n@optional\n\n- (void)firstUnlockDidOccur;\n\n@end\n" (comment) "/* Generated by RuntimeBrowser.\n */" (ERROR) "@protocol NTKSafeLocketReaderDelegate <NSObject>\n\n@optional\n\n- (void)firstUnlockDidOccur;...
24
5
{"language": "c", "success": true, "metadata": {"lines": 6, "avg_line_length": 20.5, "nodes": 17, "errors": 0, "source_hash": "2719442dde4474c6b0898642327b53f9d354d14954811a8381af593e624598df", "categorized_nodes": 7}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "ERROR", "text": "@protocol NTKSafeLo...
4,660
c
#pragma once #include <juce_gui_basics/juce_gui_basics.h> class MainComponent final : public juce::Component { public: MainComponent () { setSize (400, 240); _incrementButton.onClick = [this] { increment (); }; _decrementButton.onClick = [this] { decrement (); }; _enableButton...
34.89
80
(ERROR) "#pragma once\n\n#include <juce_gui_basics/juce_gui_basics.h>\n\nclass MainComponent final : public juce::Component\n{\npublic:\n MainComponent ()\n {\n setSize (400, 240);\n\n _incrementButton.onClick = [this] { increment (); };\n _decrementButton.onClick = [this] { decrement (); };\...
827
41
{"language": "c", "success": true, "metadata": {"lines": 80, "avg_line_length": 34.89, "nodes": 418, "errors": 0, "source_hash": "e672644363c49aa1ee7fd4ac17bfcc462512a69432bcbf7a58d889f6d61cb9da", "categorized_nodes": 296}, "ast": {"root": "ERROR", "nodes": [{"id": 0, "type": "ERROR", "text": "#pragma once\n\n#include ...
4,661
c
// // JDNetApiManager+apiManager.h // JDNetWorkManagerDemo // // Created by 姜锦龙 on 2020/6/16. // Copyright © 2020 JDragon. All rights reserved. // #import "JDNetApiManager.h" NS_ASSUME_NONNULL_BEGIN @interface JDNetApiManager (apiManager) @end NS_ASSUME_NONNULL_END
21.5
12
(translation_unit) "//\n// JDNetApiManager+apiManager.h\n// JDNetWorkManagerDemo\n//\n// Created by 姜锦龙 on 2020/6/16.\n// Copyright © 2020 JDragon. All rights reserved.\n//\n\n#import "JDNetApiManager.h"\n\nNS_ASSUME_NONNULL_BEGIN\n\n@interface JDNetApiManager (apiManager)\n\n@end\n\nNS_ASSUME_NONNULL_END\n" (com...
26
5
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 21.5, "nodes": 16, "errors": 0, "source_hash": "40ae806c11fd8229fe068f9c6502340fd0dec83b227a17c30fc49c91d8ab1693", "categorized_nodes": 8}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": " \"JDNetApi...
4,662
c
#ifndef INC_tw_timing_h #define INC_tw_timing_h typedef struct timeval tw_wtime; #endif
21
4
(translation_unit) "#ifndef INC_tw_timing_h\n#define INC_tw_timing_h\n\ntypedef struct timeval tw_wtime;\n\n#endif\n" (preproc_ifdef) "#ifndef INC_tw_timing_h\n#define INC_tw_timing_h\n\ntypedef struct timeval tw_wtime;\n\n#endif" (#ifndef) "#ifndef" (identifier) "INC_tw_timing_h" (preproc_def) "#define I...
15
0
{"language": "c", "success": true, "metadata": {"lines": 4, "avg_line_length": 21.0, "nodes": 13, "errors": 0, "source_hash": "28336c05de7289933851f5d6ade48c839f4416fa31a2ec1590e707ce4bc0e13e", "categorized_nodes": 10}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef IN...
4,663
c
#include <malloc.h> typedef char const* (*PTRFUN)(); typedef struct { PTRFUN* vtable; char const* name; } Animal; typedef struct { PTRFUN* vtable; char const* name; } Dog; typedef struct { PTRFUN* vtable; char const* name; } Cat; // Class Dog char const* dogGreet(void) { return "vau!"; }...
23.39
103
(translation_unit) "#include <malloc.h>\n\ntypedef char const* (*PTRFUN)();\n\ntypedef struct {\n PTRFUN* vtable;\n char const* name;\n} Animal;\n\ntypedef struct {\n PTRFUN* vtable;\n char const* name;\n} Dog;\n\ntypedef struct {\n PTRFUN* vtable;\n char const* name;\n} Cat;\n\n\n// Class Dog\n\ncha...
942
0
{"language": "c", "success": true, "metadata": {"lines": 103, "avg_line_length": 23.39, "nodes": 556, "errors": 0, "source_hash": "cc75fbf4667f42a2896a5b07cffd8318e86921d04bdb1e2e09915220ca33f5c0", "categorized_nodes": 348}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
4,664
c
// Copyright 2010-2015 Fabric Software Inc. All rights reserved. #ifndef __UI_GraphView_Exception__ #define __UI_GraphView_Exception__ #include <stdexcept> namespace FabricUI { namespace GraphView { typedef std::runtime_error Exception; }; }; #endif // __UI_GraphView_Exception__
23.17
12
(translation_unit) "// Copyright 2010-2015 Fabric Software Inc. All rights reserved.\n\n#ifndef __UI_GraphView_Exception__\n#define __UI_GraphView_Exception__\n\n#include <stdexcept>\n\nnamespace FabricUI\n{\n\n namespace GraphView\n {\n\n typedef std::runtime_error Exception;\n\n };\n\n};\n\n#endif // __UI_Graph...
38
1
{"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 23.17, "nodes": 22, "errors": 0, "source_hash": "9adf3050071054a8fa23538a0917c508a26e8e490c3f31bffae9a0a20f28c450", "categorized_nodes": 18}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
4,665
c
// // iPCSinglePlaylistDisplay.h // iClassic // // Created by <NAME> on 5/1/13. // Copyright (c) 2013 <NAME>. All rights reserved. // #import <MediaPlayer/MediaPlayer.h> #import "iPCTableDisplay.h" @interface iPCSinglePlaylistDisplay : iPCTableDisplay{ NSArray *items; } @property(nonatomic, strong) MPMediaPlayl...
23.07
14
(translation_unit) "//\n// iPCSinglePlaylistDisplay.h\n// iClassic\n//\n// Created by <NAME> on 5/1/13.\n// Copyright (c) 2013 <NAME>. All rights reserved.\n//\n\n#import <MediaPlayer/MediaPlayer.h>\n#import "iPCTableDisplay.h"\n\n@interface iPCSinglePlaylistDisplay : iPCTableDisplay{\n NSArray *items;\n}\n\n@prope...
54
7
{"language": "c", "success": true, "metadata": {"lines": 14, "avg_line_length": 23.07, "nodes": 32, "errors": 0, "source_hash": "b2bc5db7e486882f4261981b16f35458800126bad555761964cebd64e685e650", "categorized_nodes": 16}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <...
4,666
c
#ifndef NODE_H #define NODE_H #include <QGraphicsItem> #include <QGraphicsPixmapItem> #include <QGraphicsSceneMouseEvent> #include <QRectF> #include <QVector> #include <QUuid> #include <QJsonObject> #include "nodeterminal.h" class NodeTerminal; class Node : public QObject, public QGraphicsItem { Q_OBJECT public:...
31.19
83
(translation_unit) "#ifndef NODE_H\n#define NODE_H\n\n#include <QGraphicsItem>\n#include <QGraphicsPixmapItem>\n#include <QGraphicsSceneMouseEvent>\n#include <QRectF>\n#include <QVector>\n#include <QUuid>\n#include <QJsonObject>\n#include "nodeterminal.h"\n\nclass NodeTerminal;\n\nclass Node : public QObject, public QG...
732
45
{"language": "c", "success": true, "metadata": {"lines": 83, "avg_line_length": 31.19, "nodes": 464, "errors": 0, "source_hash": "fa6ec8e140af2d54170e601ef5d25401a9d997ab616dadc062a4fba487dc4e8e", "categorized_nodes": 335}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
4,667
c
// Created by <NAME> on 11/26/13. // Copyright (c) 2013 <NAME>. All rights reserved. #include "IFile.h" #include "UFS.h" #ifndef __UFSFile_H_ #define __UFSFile_H_ class UFSFile: public IFile { public: UFSFile(); UFSFile(std::string _name,std::string _extension,IDirectory* directory); UFSFile(UFSFile const &...
22.67
36
(translation_unit) "// Created by <NAME> on 11/26/13.\n// Copyright (c) 2013 <NAME>. All rights reserved.\n\n\n\n\n#include "IFile.h"\n#include "UFS.h"\n\n#ifndef __UFSFile_H_\n#define __UFSFile_H_\n\nclass UFSFile: public IFile {\npublic:\n UFSFile();\n\n UFSFile(std::string _name,std::string _extension,IDirectory* ...
241
15
{"language": "c", "success": true, "metadata": {"lines": 36, "avg_line_length": 22.67, "nodes": 151, "errors": 0, "source_hash": "83ef2f01ee1bf93abbcea244a070413a81cdd16bd1c847f641ab0ccf64a53348", "categorized_nodes": 101}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
4,668
c
// // TFY_TransFormLayerChainModel.h // TFY_LayoutCategoryUtil // // Created by tiandengyou on 2020/3/30. // Copyright © 2020 田风有. All rights reserved. // #import "TFY_BaseLayerChainModel.h" NS_ASSUME_NONNULL_BEGIN @class TFY_TransFormLayerChainModel; @interface TFY_TransFormLayerChainModel : TFY_BaseLayerChainMo...
31.43
14
(translation_unit) "//\n// TFY_TransFormLayerChainModel.h\n// TFY_LayoutCategoryUtil\n//\n// Created by tiandengyou on 2020/3/30.\n// Copyright © 2020 田风有. All rights reserved.\n//\n\n#import "TFY_BaseLayerChainModel.h"\n\nNS_ASSUME_NONNULL_BEGIN\n@class TFY_TransFormLayerChainModel;\n@interface TFY_TransFormLayerC...
40
6
{"language": "c", "success": true, "metadata": {"lines": 14, "avg_line_length": 31.43, "nodes": 27, "errors": 0, "source_hash": "8ba970f0d2b3f6c52e4d8fb89ed538f76105051e7dacabe895ac2fa884c70376", "categorized_nodes": 15}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": " \"TFY_Ba...
4,669
c
/* { dg-do run } */ /* { dg-require-effective-target avx2 } */ /* { dg-options "-O3 -mavx2" } */ #include "avx2-check.h" #define N 1024 int a[N], b[N], c[N], d[N]; __attribute__((noinline, noclone)) void foo (float *__restrict p, float *__restrict q, float *__restrict r, long s1, long s2, long s3) { int i; ...
24.76
34
(translation_unit) "/* { dg-do run } */\n/* { dg-require-effective-target avx2 } */\n/* { dg-options "-O3 -mavx2" } */\n\n#include "avx2-check.h"\n\n#define N 1024\nint a[N], b[N], c[N], d[N];\n\n__attribute__((noinline, noclone)) void\nfoo (float *__restrict p, float *__restrict q, float *__restrict r,\n long s1, ...
488
0
{"language": "c", "success": true, "metadata": {"lines": 34, "avg_line_length": 24.76, "nodes": 324, "errors": 0, "source_hash": "50e35861caa4755dc0358b475ea99a3a1104cdba40c5f2103af435e9a3ea880b", "categorized_nodes": 238}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
4,670
c
// // WFSearchFooterView.h // ADSRouter // // Created by Andy on 2017/11/22. // #import <UIKit/UIKit.h> @interface WFSearchFooterView : UIView @property (nonatomic, copy) dispatch_block_t didClickDelBtn; @end
20.2
10
(translation_unit) "//\n// WFSearchFooterView.h\n// ADSRouter\n//\n// Created by Andy on 2017/11/22.\n//\n\n#import <UIKit/UIKit.h>\n\n@interface WFSearchFooterView : UIView\n\n@property (nonatomic, copy) dispatch_block_t didClickDelBtn;\n\n@end\n" (comment) "//" (comment) "// WFSearchFooterView.h" (comment) ...
33
6
{"language": "c", "success": true, "metadata": {"lines": 10, "avg_line_length": 20.2, "nodes": 20, "errors": 0, "source_hash": "1e7e7a726e565d1696a8ab2e0c461c9b27ca3e26389c08a2819bd5f6c9464553", "categorized_nodes": 11}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <U...
4,671
c
#ifndef STINGRAYKIT_IO_IBYTESTREAM_H #define STINGRAYKIT_IO_IBYTESTREAM_H // Copyright (c) 2011 - 2019, GS Group, https://github.com/GSGroup // Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, // provided that the above copyright notice and this pe...
40.57
49
(translation_unit) "#ifndef STINGRAYKIT_IO_IBYTESTREAM_H\n#define STINGRAYKIT_IO_IBYTESTREAM_H\n\n// Copyright (c) 2011 - 2019, GS Group, https://github.com/GSGroup\n// Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted,\n// provided that the above cop...
379
12
{"language": "c", "success": true, "metadata": {"lines": 49, "avg_line_length": 40.57, "nodes": 237, "errors": 0, "source_hash": "9ca30cad90381402e464898f853dd9c90e62c9ba040d60eec9606ac6ec853b99", "categorized_nodes": 170}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
4,672
c
#include "NUS_binding.h" #include "NUS_multi_gpu.h" #include "../NUS_log.h" #include <limits.h> static NUS_binding nus_gpu_binding; void (*nus_unbind_binding)(NUS_binding *) = nus_bind_binding; NUS_binding nus_get_binding(void) { return nus_gpu_binding; } void nus_bind_binding(NUS_binding *p_binding) { NUS_bindi...
31.59
140
(translation_unit) "#include "NUS_binding.h"\n#include "NUS_multi_gpu.h"\n#include "../NUS_log.h"\n#include <limits.h>\n\nstatic NUS_binding nus_gpu_binding;\n\nvoid (*nus_unbind_binding)(NUS_binding *) = nus_bind_binding;\n\nNUS_binding nus_get_binding(void)\n{\n return nus_gpu_binding;\n}\nvoid nus_bind_binding(NUS_...
937
0
{"language": "c", "success": true, "metadata": {"lines": 140, "avg_line_length": 31.59, "nodes": 551, "errors": 0, "source_hash": "b84876959c39d9a6fd2df5c1712a82ad2dc8d1b735626a0c63230dccf0157733", "categorized_nodes": 408}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in...
4,673
c
// // DJISoftwareDecodeProcessor.h // // Copyright (c) 2015 DJI. All rights reserved. // #import <UIKit/UIKit.h> #import "DJIStreamCommon.h" #import "DJICustomVideoFrameExtractor.h" @interface DJISoftwareDecodeProcessor : NSObject <VideoStreamProcessor> @property (nonatomic, weak) id<VideoFrameProcessor> frameProce...
32.77
13
(translation_unit) "//\n// DJISoftwareDecodeProcessor.h\n//\n// Copyright (c) 2015 DJI. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n#import "DJIStreamCommon.h"\n#import "DJICustomVideoFrameExtractor.h"\n\n@interface DJISoftwareDecodeProcessor : NSObject <VideoStreamProcessor>\n@property (nonatomic, weak) id<...
79
11
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 32.77, "nodes": 54, "errors": 0, "source_hash": "ca51a994ea753e2336186cf40eb8b2301b127b89903c89cba6c7a56df3759c00", "categorized_nodes": 29}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <...
4,674
c
// // TTDebugThread.h // TTDebugTool // // Created by Rabbit on 2020/7/30. // #import <Foundation/Foundation.h> NS_ASSUME_NONNULL_BEGIN FOUNDATION_EXTERN void TTDebugAsync(dispatch_block_t); FOUNDATION_EXTERN void TTDebugSync(dispatch_block_t); @interface TTDebugThread : NSThread @end NS_ASSUME_NONNULL_END
22.92
13
(translation_unit) "//\n// TTDebugThread.h\n// TTDebugTool\n//\n// Created by Rabbit on 2020/7/30.\n//\n\n#import <Foundation/Foundation.h>\n\nNS_ASSUME_NONNULL_BEGIN\n\nFOUNDATION_EXTERN void TTDebugAsync(dispatch_block_t);\nFOUNDATION_EXTERN void TTDebugSync(dispatch_block_t);\n\n@interface TTDebugThread : NSThrea...
48
5
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 22.92, "nodes": 31, "errors": 0, "source_hash": "105de9509aae04f3caa49eab3b7ec3e0bc5fbdd2ec6dc6ecde89a06fbcc86b2d", "categorized_nodes": 21}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <...
4,675
c
/* * GPL HEADER START * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 only, * as published by the Free Software Foundation. * * This program is distributed...
36.5
92
(translation_unit) "/*\n * GPL HEADER START\n *\n * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.\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 only,\n * as published by the Free Software Foundation.\n *\n ...
266
4
{"language": "c", "success": true, "metadata": {"lines": 92, "avg_line_length": 36.5, "nodes": 178, "errors": 0, "source_hash": "27ad43672ab0bc452dfc4fc6481c80a032f8306625b21f58b81818f2d81ba266", "categorized_nodes": 124}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
4,676
c
#include "depA.h" #include "depc_export.h" struct DEPC_EXPORT DepC { int foo(); DepA getA(); };
13.29
7
(translation_unit) "#include "depA.h"\n#include "depc_export.h"\n\nstruct DEPC_EXPORT DepC\n{\n int foo();\n\n DepA getA();\n};\n" (preproc_include) "#include "depA.h"\n" (#include) "#include" (string_literal) ""depA.h"" (") """ (string_content) "depA.h" (") """ (preproc_include) "#inclu...
39
0
{"language": "c", "success": true, "metadata": {"lines": 7, "avg_line_length": 13.29, "nodes": 21, "errors": 0, "source_hash": "27aa94333af6a54ee7564a6f8aa4d2e6460f4218bfbe70f0adfef5adb268040a", "categorized_nodes": 18}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#includ...
4,677
c
#ifndef DATALIST_H #define DATALIST_H #include<QString> #include<QRegExp> struct Option { }; typedef unsigned long long size64; class Datalist { public: Datalist(); ~Datalist(); public: QString FilePath; char* buff=nullptr; size64 size; private: Option option; public...
14.48
33
(translation_unit) "#ifndef DATALIST_H \n#define DATALIST_H \n \n#include<QString> \n#include<QRegExp> \n \nstruct Option \n{ \n \n}; \n \ntypedef unsigned long long size64; \n \nclass Datalist \n{ \npublic: \n Datalist(); \n ~Datalist(); \npublic: \n QString FilePath; \n char* buff=nullptr; \n size64 si...
132
0
{"language": "c", "success": true, "metadata": {"lines": 33, "avg_line_length": 14.48, "nodes": 85, "errors": 0, "source_hash": "da01e3a5021e7e82a8b2033ba0566207c06ad7c352630899f8c7564b74953089", "categorized_nodes": 56}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
4,678
c
#ifndef KGD_WATCHMAKER_CONFIG_H #define KGD_WATCHMAKER_CONFIG_H #include "kgd/settings/configfile.h" #include "../phenotype/ann.h" DEFINE_NAMESPACE_SCOPED_PRETTY_ENUMERATION( kgd::watchmaker, TemporalInput, NONE, LINEAR, SINUSOIDAL) DEFINE_NAMESPACE_SCOPED_PRETTY_ENUMERATION( kgd::watchmaker, Auditio...
37.26
27
(translation_unit) "#ifndef KGD_WATCHMAKER_CONFIG_H\n#define KGD_WATCHMAKER_CONFIG_H\n\n#include "kgd/settings/configfile.h"\n#include "../phenotype/ann.h"\n\nDEFINE_NAMESPACE_SCOPED_PRETTY_ENUMERATION(\n kgd::watchmaker, TemporalInput,\n NONE, LINEAR, SINUSOIDAL)\n\nDEFINE_NAMESPACE_SCOPED_PRETTY_ENUMERATION...
216
12
{"language": "c", "success": true, "metadata": {"lines": 27, "avg_line_length": 37.26, "nodes": 131, "errors": 0, "source_hash": "c9e03f5fea35ae7a2a7077eb929895a9008c1cf58ba00d9b83bae320ae0ce5b1", "categorized_nodes": 94}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
4,679
c
/* container de todas as bibliotecas usadas pelo montador para, por exemplo, fazer #include"bibliotecas_montador.h" em todos os .c em vez de 2 ou mais includes (stdio, stdlib e string, etc)*/ #include<stdio.h> #include<stdlib.h> #include<string.h> #include<ctype.h> #include"tabelas.h" #include"scanner.h" #include...
31.5
28
(translation_unit) "/* container de todas as bibliotecas usadas pelo montador\n para, por exemplo, fazer #include"bibliotecas_montador.h" em\n todos os .c em vez de 2 ou mais includes (stdio, stdlib e string, etc)*/\n#include<stdio.h>\n#include<stdlib.h>\n#include<string.h>\n#include<ctype.h>\n#include"tabelas.h"\n...
143
0
{"language": "c", "success": true, "metadata": {"lines": 28, "avg_line_length": 31.5, "nodes": 100, "errors": 0, "source_hash": "81a194c88f46b2b25d9233bbf151c43ab25671f5e809380d26980fad6eaf57cf", "categorized_nodes": 72}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
4,680
c
#pragma once #include "string" #include "vector" namespace SteelEngine { struct ProjectStructure { ProjectStructure(const std::string& name, const std::string& content = "", bool forceFile = false) : m_DirectoryName(name), m_Content(content) { if(content !=...
28.32
31
(translation_unit) "#pragma once\n\n#include "string"\n#include "vector"\n\nnamespace SteelEngine {\n\n struct ProjectStructure\n {\n ProjectStructure(const std::string& name, const std::string& content = "", bool forceFile = false) :\n m_DirectoryName(name),\n m_Content(content)\n ...
241
14
{"language": "c", "success": true, "metadata": {"lines": 31, "avg_line_length": 28.32, "nodes": 133, "errors": 0, "source_hash": "0566d73008fe4a082795393d7ff7226205ab5022e9e6f4c0d55fdae0160fd26f", "categorized_nodes": 87}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma ...
4,681
c
// // ZZliveStreamHeadView.h // zuwome // // Created by angBiu on 2017/7/13. // Copyright © 2017年 zz. All rights reserved. // #import <UIKit/UIKit.h> /** 女方接受界面的进度条头像 */ @interface ZZliveStreamHeadView : UIView @property (nonatomic, strong) UIImageView *headImgView; @property (nonatomic, assign) CGFloat progr...
20.73
15
(translation_unit) "//\n// ZZliveStreamHeadView.h\n// zuwome\n//\n// Created by angBiu on 2017/7/13.\n// Copyright © 2017年 zz. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n\n/**\n 女方接受界面的进度条头像\n */\n@interface ZZliveStreamHeadView : UIView\n\n@property (nonatomic, strong) UIImageView *headImgView;\n\n@prope...
53
10
{"language": "c", "success": true, "metadata": {"lines": 15, "avg_line_length": 20.73, "nodes": 35, "errors": 0, "source_hash": "ec3d230445e71a19e841e4c2da91bb0c18efe0a81e1071e2cf8d61f4b9f21de2", "categorized_nodes": 19}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "port <UIK...
4,682
c
/** * @file IUseAreaObj.h * @brief Basic implementation of an area object. */ #pragma once namespace al { class AreaObjDirector; class IUseAreaObj { public: virtual al::AreaObjDirector* getAreaObjDirector() const = 0; }; };
17.21
14
(translation_unit) "/**\n * @file IUseAreaObj.h\n * @brief Basic implementation of an area object.\n */\n\n#pragma once\n\nnamespace al\n{\n class AreaObjDirector;\n\n class IUseAreaObj\n {\n public:\n virtual al::AreaObjDirector* getAreaObjDirector() const = 0;\n };\n};" (comment) "/**\n * @fil...
47
1
{"language": "c", "success": true, "metadata": {"lines": 14, "avg_line_length": 17.21, "nodes": 24, "errors": 0, "source_hash": "6a98b3ad738b4c802f91ce24f03ef9ac4411c61419ef16dd008b93219351e84d", "categorized_nodes": 15}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
4,683
c
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE675_Duplicate_Operations_on_Resource__freopen_53b.c Label Definition File: CWE675_Duplicate_Operations_on_Resource.label.xml Template File: sources-sinks-53b.tmpl.c */ /* * @description * CWE: 675 Duplicate Operations on Resource * BadSource: freopen Open and ...
32.04
50
(translation_unit) "/* TEMPLATE GENERATED TESTCASE FILE \nFilename: CWE675_Duplicate_Operations_on_Resource__freopen_53b.c \nLabel Definition File: CWE675_Duplicate_Operations_on_Resource.label.xml \nTemplate File: sources-sinks-53b.tmpl.c \n*/ \n/* \n * @description \n * CWE: 675 Duplicate Operations on Resource \n * ...
130
0
{"language": "c", "success": true, "metadata": {"lines": 50, "avg_line_length": 32.04, "nodes": 83, "errors": 0, "source_hash": "13e77b314a01fdc448eb06dd2a23a9bc537e2585dd2f2492ee5ebe1a2e61d768", "categorized_nodes": 56}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
4,684
c
// // ofxAssimpMeshHelper.h // Created by <NAME> on 4/12/12. // #pragma once #include "ofMain.h" #include "assimp.h" #include "ofxAssimpTexture.h" class aiMesh; class ofxAssimpMeshHelper { public: ofxAssimpMeshHelper(); bool hasTexture(); ofTexture & getTextureRef(); aiMesh * mesh; // poi...
18.77
35
(translation_unit) "//\n// ofxAssimpMeshHelper.h\n// Created by <NAME> on 4/12/12.\n//\n\n#pragma once\n\n#include "ofMain.h"\n#include "assimp.h"\n#include "ofxAssimpTexture.h"\n\nclass aiMesh;\n\nclass ofxAssimpMeshHelper {\n\npublic:\n\n ofxAssimpMeshHelper();\n \n bool hasTexture();\n ofTexture & getText...
136
0
{"language": "c", "success": true, "metadata": {"lines": 35, "avg_line_length": 18.77, "nodes": 83, "errors": 0, "source_hash": "1ee7cd85a319dfb42f6288bc9c6dcdf8e08bc655cfbb5856600882b72e18d584", "categorized_nodes": 65}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o...
4,685
c
// // Used by logon.rc // #define IDS_WELCOMEFONT 1 #define IDS_OPTIONSFONT 2 #define IDS_ACCOUNTLISTFONT 3 #define IDS_TYPEPASSWORD 6 #define IDS_WELCOME 7 #define IDS_BADPWD 8 #define IDS_BADPWDHINT 9 #define IDS_BADPWDTITLE 10 #def...
31.62
84
(translation_unit) "// \n// Used by logon.rc \n// \n \n#define IDS_WELCOMEFONT 1 \n#define IDS_OPTIONSFONT 2 \n#define IDS_ACCOUNTLISTFONT 3 \n \n#define IDS_TYPEPASSWORD 6 \n#define IDS_WELCOME 7 \n#define IDS_BADPWD 8 \n#define IDS_BADPWDHINT 9 \n#define ...
297
0
{"language": "c", "success": true, "metadata": {"lines": 84, "avg_line_length": 31.62, "nodes": 292, "errors": 0, "source_hash": "9f62c26d90aa0c57152e3d4a1e52ab2f0c40ed3e24b23d3e35cbd80143c880ba", "categorized_nodes": 76}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_def", "text": "#define I...
4,686
c
#include <smmintrin.h> #include <stdint.h> int main(void) { unsigned int state = 0; unsigned char x = 0; uint8_t buf[4] = {0, 0, 0, 0}; /* Test both the 8-bit and 32-bit data versions. */ state = _mm_crc32_u8(state, x); state = (uint32_t)_mm_crc32_u32(state, *(const uint32_t *)&buf[0]); return ((int)state); ...
23.46
13
(translation_unit) "#include <smmintrin.h>\n\n#include <stdint.h>\n\nint\nmain(void)\n{\n unsigned int state = 0;\n unsigned char x = 0;\n uint8_t buf[4] = {0, 0, 0, 0};\n\n /* Test both the 8-bit and 32-bit data versions. */\n state = _mm_crc32_u8(state, x);\n\n state = (uint32_t)_mm_crc32_u32(state, *(const uint32_t ...
118
0
{"language": "c", "success": true, "metadata": {"lines": 13, "avg_line_length": 23.46, "nodes": 76, "errors": 0, "source_hash": "6015c386ba1a1431791b6def3808b58f4031bc13a51c7bdf00c9185be828fd9c", "categorized_nodes": 47}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu...
4,687
c
// // Created by xiodine on 4/15/15. // #ifndef POO_2_STOC_H #define POO_2_STOC_H #include "ModelBun.h" #include "Model.h" #include <vector> class ModelStoc : public Model { typedef std::vector<ModelBun> bunuri_t; bunuri_t bunuri_; public: std::istream &loadSettings(std::istream &in); std::ostrea...
29.58
24
(translation_unit) "//\n// Created by xiodine on 4/15/15.\n//\n\n#ifndef POO_2_STOC_H\n#define POO_2_STOC_H\n\n#include "ModelBun.h"\n#include "Model.h"\n\n#include <vector>\n\nclass ModelStoc : public Model {\n typedef std::vector<ModelBun> bunuri_t;\n\n bunuri_t bunuri_;\npublic:\n\n std::istream &loadSettin...
205
9
{"language": "c", "success": true, "metadata": {"lines": 24, "avg_line_length": 29.58, "nodes": 123, "errors": 0, "source_hash": "df4438a8d07c57904ebd8fbd333e932181810f78a6711d91c6e0b18a3cc5e6f1", "categorized_nodes": 86}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef...
4,688
c
#include <stdio.h> int main() { float notas[] = {2, 3, 4, 1}; float media = 0; for (int i = 0; i < 4; i++) { float aux; scanf("%f", &aux); notas[i] *= aux; media += notas[i]; } media /= 10.0; if (media < 5.0) { printf("Media: %.1f\n", media); ...
20.49
43
(translation_unit) "#include <stdio.h>\n\nint main()\n{\n float notas[] = {2, 3, 4, 1};\n float media = 0;\n for (int i = 0; i < 4; i++)\n {\n float aux;\n scanf("%f", &aux);\n notas[i] *= aux;\n media += notas[i];\n }\n\n media /= 10.0;\n\n if (media < 5.0)\n {\n ...
323
0
{"language": "c", "success": true, "metadata": {"lines": 43, "avg_line_length": 20.49, "nodes": 162, "errors": 0, "source_hash": "fceca6d09c01b0813649a73b3636f90f3704d313c4058853bc56754c71c5fb5f", "categorized_nodes": 111}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
4,689
c
#ifndef SAY_RENDERER_H_ #define SAY_RENDERER_H_ #include "say_shader.h" #include "say_buffer_renderer.h" typedef struct { say_shader *shader; uint8_t using_texture; } say_renderer; say_renderer *say_renderer_create(); void say_renderer_free(say_renderer *renderer); say_shader *say_renderer_get_shader(say_render...
35.06
16
(translation_unit) "#ifndef SAY_RENDERER_H_\n#define SAY_RENDERER_H_\n\n#include "say_shader.h"\n#include "say_buffer_renderer.h"\n\ntypedef struct {\n say_shader *shader;\n uint8_t using_texture;\n} say_renderer;\n\nsay_renderer *say_renderer_create();\nvoid say_renderer_free(say_renderer *renderer);\n\nsay_shader *...
128
0
{"language": "c", "success": true, "metadata": {"lines": 16, "avg_line_length": 35.06, "nodes": 95, "errors": 0, "source_hash": "e4a823cc001422dd9e63697a01c971fe69c1e2305b8be9255ca9a01e2ee5b319", "categorized_nodes": 61}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ...
4,690
c
//file: _insn_test_v2subsc_X0.c //op=320 #include <stdio.h> #include <stdlib.h> void func_exit(void) { printf("%s\n", __func__); exit(0); } void func_call(void) { printf("%s\n", __func__); exit(0); } unsigned long mem[2] = { 0xd8c6caab057cf371, 0x86109da9991e057a }; int main(void) { unsigned...
33.61
38
(translation_unit) "//file: _insn_test_v2subsc_X0.c\n//op=320\n#include <stdio.h>\n#include <stdlib.h>\n\nvoid func_exit(void) {\n printf("%s\n", __func__);\n exit(0);\n}\n\nvoid func_call(void) {\n printf("%s\n", __func__);\n exit(0);\n}\n\nunsigned long mem[2] = { 0xd8c6caab057cf371, 0x86109da9991e057...
312
0
{"language": "c", "success": true, "metadata": {"lines": 38, "avg_line_length": 33.61, "nodes": 150, "errors": 0, "source_hash": "d19e6365ccb9d8475078ff6b7471c5ffcd945533ebdad55f868536d542c260d7", "categorized_nodes": 95}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#incl...
4,691
c
/**************************************************************************** COPYRIGHT NOTICE: The source code in this directory is provided free of charge to anyone who wants it. It is in the public domain and therefore may be used by anybody for any purpose. It is provided "AS IS" with no warranty of any...
23.8
196
(translation_unit) "/****************************************************************************\n\nCOPYRIGHT NOTICE:\n\n The source code in this directory is provided free of\n charge to anyone who wants it. It is in the public domain\n and therefore may be used by anybody for any purpose. It\n is provided "AS ...
1,134
0
{"language": "c", "success": true, "metadata": {"lines": 196, "avg_line_length": 23.8, "nodes": 569, "errors": 0, "source_hash": "ca8a8b4e7c9d218366fbb2118c45df02354c3ab24e1481b2febb1a21a119e891", "categorized_nodes": 425}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
4,692
c
// // RCTXgPushEventQueue.h // RCTXgPushModule // // Created by zq on 2020/2/17. // Copyright © 2020 Tencent. All rights reserved. // #import <Foundation/Foundation.h> NS_ASSUME_NONNULL_BEGIN /** @brief TPNS Event */ @interface RCTXgPushEventQueue : NSObject + (nonnull instancetype) sharedInstance; @end NS_AS...
19.69
16
(translation_unit) "//\n// RCTXgPushEventQueue.h\n// RCTXgPushModule\n//\n// Created by zq on 2020/2/17.\n// Copyright © 2020 Tencent. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n\nNS_ASSUME_NONNULL_BEGIN\n\n/**\n@brief TPNS Event\n*/\n@interface RCTXgPushEventQueue : NSObject\n\n+ (nonnull insta...
40
5
{"language": "c", "success": true, "metadata": {"lines": 16, "avg_line_length": 19.69, "nodes": 23, "errors": 0, "source_hash": "592b01365c5913a901b40124e1f5922ee2367d78af6d4e91fd816fce8ed36b94", "categorized_nodes": 14}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "import <F...
4,693
c
#ifndef VISFS_OPTIMIZER_H #define VISFS_OPTIMIZER_H #include <map> #include <set> #include <tuple> #include <vector> #include <memory> #include <Eigen/Core> #include <Eigen/Geometry> #include "Parameters.h" #include "CameraModels/GeometricCamera.h" #include "Sensor/PointCloud.h" #include "Map/2d/Submap2D.h" namespac...
37.64
67
(translation_unit) "#ifndef VISFS_OPTIMIZER_H\n#define VISFS_OPTIMIZER_H\n\n#include <map>\n#include <set>\n#include <tuple>\n#include <vector>\n#include <memory>\n#include <Eigen/Core>\n#include <Eigen/Geometry>\n\n#include "Parameters.h"\n#include "CameraModels/GeometricCamera.h"\n#include "Sensor/PointCloud.h"\n#inc...
493
25
{"language": "c", "success": true, "metadata": {"lines": 67, "avg_line_length": 37.64, "nodes": 287, "errors": 0, "source_hash": "a479ed512fe3309f46a1e6a61c8ed9b5ec7cf5cfc28dde548fd4f576b284f285", "categorized_nodes": 207}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde...
4,694
c
// GroupedString.h: interface for the CGroupedString class. // ////////////////////////////////////////////////////////////////////// #if !defined(AFX_GROUPEDSTRING_H__3207E646_9419_4CC7_A65A_A14BF2D03749__INCLUDED_) #define AFX_GROUPEDSTRING_H__3207E646_9419_4CC7_A65A_A14BF2D03749__INCLUDED_ #if _MSC_VER > 1000 #pra...
40.21
19
(translation_unit) "// GroupedString.h: interface for the CGroupedString class.\n//\n//////////////////////////////////////////////////////////////////////\n\n#if !defined(AFX_GROUPEDSTRING_H__3207E646_9419_4CC7_A65A_A14BF2D03749__INCLUDED_)\n#define AFX_GROUPEDSTRING_H__3207E646_9419_4CC7_A65A_A14BF2D03749__INCLUDED_\...
137
7
{"language": "c", "success": true, "metadata": {"lines": 19, "avg_line_length": 40.21, "nodes": 86, "errors": 0, "source_hash": "bed7c10a6100584b6b0d52353afec22bfa77572512a89bef55bcc7acf41d3abf", "categorized_nodes": 54}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_if", "text": "#if !define...
4,695
c
// // NSURL+RU.h // RandomUserApi // // Created by <NAME> on 1/16/14. // Copyright (c) 2014 <NAME>. All rights reserved. // #import <Foundation/Foundation.h> static NSString *const RUScheme = @"http"; static NSString *const RUHost = @"api.randomuser.me"; @interface NSURL (RU) /*! Generate an URL to retrieve a ...
28.06
18
(translation_unit) "//\n// NSURL+RU.h\n// RandomUserApi\n//\n// Created by <NAME> on 1/16/14.\n// Copyright (c) 2014 <NAME>. All rights reserved.\n//\n\n#import <Foundation/Foundation.h>\n\nstatic NSString *const RUScheme = @"http";\nstatic NSString *const RUHost = @"api.randomuser.me";\n\n@interface NSURL (RU)\n\n...
80
10
{"language": "c", "success": true, "metadata": {"lines": 18, "avg_line_length": 28.06, "nodes": 45, "errors": 0, "source_hash": "f23fa8c495ed7c5a359acd53f1b2d70d342baa60e0bf7a27cf69ef4ebec51b00", "categorized_nodes": 20}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <...
4,696
c
/*------------------------------------------------------------------------- mbrtowc.c - convert a multibyte sequence to a wide character Copyright (C) 2016, <NAME>, <EMAIL> Modifications for PIC14 by Copyright (C) 2019 <NAME> <<EMAIL>> This library is free software; you can redistribute it and/or modi...
29.78
89
(translation_unit) "/*-------------------------------------------------------------------------\n mbrtowc.c - convert a multibyte sequence to a wide character\n\n Copyright (C) 2016, <NAME>, <EMAIL>\n\n Modifications for PIC14 by\n Copyright (C) 2019 <NAME> <<EMAIL>>\n\n This library is free software; you can...
592
0
{"language": "c", "success": true, "metadata": {"lines": 89, "avg_line_length": 29.78, "nodes": 376, "errors": 0, "source_hash": "9fc058f93c19294fb3f33d61ac515bdd3c98e9f133f433990de2f5ea466b12c1", "categorized_nodes": 284}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc...
4,697
c
// // UeListResponse.h // RKServerApi-iOS // // Created by caoyy on 16/7/27. // Copyright © 2016年 roky. All rights reserved. // #import "BaseResponse.h" @interface UeListResponse : BaseResponse @property (strong, nonatomic) NSArray* data5; @end
21.64
11
(translation_unit) "//\n// UeListResponse.h\n// RKServerApi-iOS\n//\n// Created by caoyy on 16/7/27.\n// Copyright © 2016年 roky. All rights reserved.\n//\n\n#import "BaseResponse.h"\n\n@interface UeListResponse : BaseResponse\n\n@property (strong, nonatomic) NSArray* data5;\n\n@end\n" (comment) "//" (comment) "...
36
6
{"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 21.64, "nodes": 23, "errors": 0, "source_hash": "8c6e38864a8fe19b9d131dab8c2dd56b4da45e2a77b0b00065cf3a6ffb138658", "categorized_nodes": 12}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "port \"Ba...
4,698
c
/* Compute C = C + A*B * * C has rank m x n (m rows, n columns) * A has rank m x k * B has rank k x n * ldX is the leading dimension of the respective matrix. * * All matrices are stored in column major format. * That is, for row index i, column index j, and leading dimension ldX, * the correct entry is at (ld...
27.52
25
(translation_unit) "/* Compute C = C + A*B\n *\n * C has rank m x n (m rows, n columns)\n * A has rank m x k\n * B has rank k x n\n * ldX is the leading dimension of the respective matrix.\n *\n * All matrices are stored in column major format.\n * That is, for row index i, column index j, and leading dimension ldX,\n ...
177
0
{"language": "c", "success": true, "metadata": {"lines": 25, "avg_line_length": 27.52, "nodes": 121, "errors": 0, "source_hash": "4071c5405e12c5b61a0b39113167f8d0a8920fd771ef421d5bbecef9eeeae1cf", "categorized_nodes": 83}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "function_definition", "text": "v...
4,699