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 | /******************************************************************************
* Copyright 2017 - 2018, Opulinks Technology Ltd.
* ---------------------------------------------------------------------------
* Statement:
* ----------
* This software is protected by Copyright and the information contained
* herein... | 36.73 | 48 | (translation_unit) "/******************************************************************************\n* Copyright 2017 - 2018, Opulinks Technology Ltd.\n* ---------------------------------------------------------------------------\n* Statement:\n* ----------\n* This software is protected by Copyright and the inform... | 413 | 0 | {"language": "c", "success": true, "metadata": {"lines": 48, "avg_line_length": 36.73, "nodes": 313, "errors": 0, "source_hash": "c0bf660b891e8e614c63ec7bc94df0776ab89b488600353611b662f9b14099e0", "categorized_nodes": 197}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde... | 81,200 |
c | #include "km0/device/boardIo.h"
#include "km0/device/boardIoImpl.h"
#include "km0/kernel/commandDefinitions.h"
#include "km0/kernel/configManager.h"
#include "neoPixelCore.h"
#include "pico_sdk/src/common/include/pico/stdlib.h"
#ifndef KM0_RP_BOARD_IO_RGBLED__PIO_INSTANCE
#define KM0_RP_BOARD_IO_RGBLED__PIO_INSTANCE p... | 35.25 | 53 | (translation_unit) "#include "km0/device/boardIo.h"\n#include "km0/device/boardIoImpl.h"\n#include "km0/kernel/commandDefinitions.h"\n#include "km0/kernel/configManager.h"\n#include "neoPixelCore.h"\n#include "pico_sdk/src/common/include/pico/stdlib.h"\n\n#ifndef KM0_RP_BOARD_IO_RGBLED__PIO_INSTANCE\n#define KM0_RP_BOA... | 474 | 0 | {"language": "c", "success": true, "metadata": {"lines": 53, "avg_line_length": 35.25, "nodes": 276, "errors": 0, "source_hash": "6ec0bce09d3736f4b5160f40ad3a24b1c7c1ae4dea54b47bf1f588f53650da8b", "categorized_nodes": 188}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc... | 81,201 |
c | #ifndef INPUTS_H
#define INPUTS_H
#include "globals.h"
#include "player.h"
void checkInputs()
{
if (arduboy.justPressed(UP_BUTTON | RIGHT_BUTTON | DOWN_BUTTON)) gameState = STATE_GAME_PAUSE;
if (arduboy.justPressed(LEFT_BUTTON)) gameState = STATE_MENU_MAIN;
if (arduboy.justPressed(A_BUTTON))
{
if (!(hele... | 30.05 | 21 | (translation_unit) "#ifndef INPUTS_H\n#define INPUTS_H\n\n#include "globals.h"\n#include "player.h"\n\nvoid checkInputs()\n{\n if (arduboy.justPressed(UP_BUTTON | RIGHT_BUTTON | DOWN_BUTTON)) gameState = STATE_GAME_PAUSE;\n if (arduboy.justPressed(LEFT_BUTTON)) gameState = STATE_MENU_MAIN;\n\n if (arduboy.justPresse... | 189 | 0 | {"language": "c", "success": true, "metadata": {"lines": 21, "avg_line_length": 30.05, "nodes": 111, "errors": 0, "source_hash": "134165b2fa1396977d1f8febeaaa9852ea3571a03edd9a3cb3b85450a11bb89e", "categorized_nodes": 93}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef... | 81,202 |
c | #pragma once
#include "core/common/elf_loader.h"
namespace rv32 {
// see: http://wiki.osdev.org/ELF_Tutorial for ELF definitions
typedef uint16_t Elf32_Half; // Unsigned half int
typedef uint32_t Elf32_Off; // Unsigned offset
typedef uint32_t Elf32_Addr; // Unsigned address
typedef uint32_t Elf32_Word; // Unsi... | 25.66 | 67 | (translation_unit) "#pragma once\n\n#include "core/common/elf_loader.h"\n\nnamespace rv32 {\n\n// see: http://wiki.osdev.org/ELF_Tutorial for ELF definitions\n\ntypedef uint16_t Elf32_Half; // Unsigned half int\ntypedef uint32_t Elf32_Off; // Unsigned offset\ntypedef uint32_t Elf32_Addr; // Unsigned address\ntypede... | 357 | 10 | {"language": "c", "success": true, "metadata": {"lines": 67, "avg_line_length": 25.66, "nodes": 256, "errors": 0, "source_hash": "8d48efbe52275d0f8d2469c0fe6e362b8b1429f2732b0cf7aba33a8ea1156e92", "categorized_nodes": 208}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma... | 81,203 |
c | /* SPDX-License-Identifier: Apache-2.0 */
/*
* Copyright 2020 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless re... | 35.67 | 30 | (translation_unit) "/* SPDX-License-Identifier: Apache-2.0 */\n\n/*\n * Copyright 2020 <NAME>\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/license... | 23 | 0 | {"language": "c", "success": true, "metadata": {"lines": 30, "avg_line_length": 35.67, "nodes": 14, "errors": 0, "source_hash": "613f7377dc745c560bcaf7eeba75ecaf9593d6ed1586ad73ab5cd3e158e263d8", "categorized_nodes": 9}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef _... | 81,204 |
c | /*
* Generated by asn1c-0.9.24 (http://lionet.info/asn1c)
* From ASN.1 module "S1AP-IEs"
* found in "/home/oainuc2/openairinterface5g/openair3/S1AP/MESSAGES/ASN1/R10.5/S1AP-IEs.asn"
* `asn1c -gen-PER`
*/
#include "S1ap-E-RABList.h"
static asn_per_constraints_t asn_PER_type_S1ap_E_RABList_constr_1 GCC_NOTUSED =... | 30.71 | 58 | (translation_unit) "/*\n * Generated by asn1c-0.9.24 (http://lionet.info/asn1c)\n * From ASN.1 module "S1AP-IEs"\n * found in "/home/oainuc2/openairinterface5g/openair3/S1AP/MESSAGES/ASN1/R10.5/S1AP-IEs.asn"\n * `asn1c -gen-PER`\n */\n\n#include "S1ap-E-RABList.h"\n\nstatic asn_per_constraints_t asn_PER_type_S1ap_E_R... | 272 | 1 | {"language": "c", "success": true, "metadata": {"lines": 58, "avg_line_length": 30.71, "nodes": 134, "errors": 0, "source_hash": "f89231966907be58ba84077dc9f74f2c71a10c3ab4513fb270ecdf1aee3ab6d2", "categorized_nodes": 106}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc... | 81,205 |
c | #include <string.h>
#include "quickjs.h"
const char* eval(const char* str) {
JSRuntime* runtime = JS_NewRuntime();
JSContext* ctx = JS_NewContext(runtime);
JSValue result =
JS_Eval(ctx, str, strlen(str), "<evalScript>", JS_EVAL_TYPE_GLOBAL);
if (JS_IsException(result)) {
JSValue realException = JS_GetExcept... | 33.2 | 15 | (translation_unit) "#include <string.h>\n#include "quickjs.h"\n\nconst char* eval(const char* str) {\n JSRuntime* runtime = JS_NewRuntime();\n JSContext* ctx = JS_NewContext(runtime);\n JSValue result =\n JS_Eval(ctx, str, strlen(str), "<evalScript>", JS_EVAL_TYPE_GLOBAL);\n if (JS_IsException(result)) {\n JSValue... | 162 | 0 | {"language": "c", "success": true, "metadata": {"lines": 15, "avg_line_length": 33.2, "nodes": 99, "errors": 0, "source_hash": "aa1431528db93d11c2a50c86499265d3d89533baf00c9abc2f436d1419636784", "categorized_nodes": 68}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#includ... | 81,206 |
c | //
// BasicA.h
// TechmasterApp
//
// Created by techmaster on 9/7/14.
// Copyright (c) 2014 Techmaster. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "ConsoleScreen.h"
@interface BasicA : ConsoleScreen
@end
| 19.18 | 11 | (translation_unit) "//\n// BasicA.h\n// TechmasterApp\n//\n// Created by techmaster on 9/7/14.\n// Copyright (c) 2014 Techmaster. All rights reserved.\n//\n\n#import <UIKit/UIKit.h>\n#import "ConsoleScreen.h"\n@interface BasicA : ConsoleScreen\n\n@end\n"
(comment) "//"
(comment) "// BasicA.h"
(comment) "// ... | 25 | 4 | {"language": "c", "success": true, "metadata": {"lines": 11, "avg_line_length": 19.18, "nodes": 14, "errors": 0, "source_hash": "f722a8b5d50f4af08714f0d1aaa41a1e329a05d1370b7a765ef228e07314de07", "categorized_nodes": 6}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import <U... | 81,207 |
c | /* -*- C++ -*- */
// Notify_Lookup_Command.h,v 1.2 2000/08/30 01:29:00 pradeep Exp
//
// ============================================================================
//
// = LIBRARY
// ORBSVCS Notification
//
// = FILENAME
// Notify_Lookup_Command.h
//
// = DESCRIPTION
// Command object for looking up... | 26.79 | 61 | (translation_unit) "/* -*- C++ -*- */
\n// Notify_Lookup_Command.h,v 1.2 2000/08/30 01:29:00 pradeep Exp
\n//
\n// ============================================================================
\n//
\n// = LIBRARY
\n// ORBSVCS Notification
\n//
\n// = FILENAME
\n// Notify_Lookup_Command.h
\n//
\n// = DESCRIPTION
\n//... | 193 | 6 | {"language": "c", "success": true, "metadata": {"lines": 61, "avg_line_length": 26.79, "nodes": 100, "errors": 0, "source_hash": "3faf61f343f0ed407068966acfe38717f19bc484a6ed898217c7383ff87db5ed", "categorized_nodes": 70}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef... | 81,208 |
c | #ifndef __WISEGROUNDTRUTH_READER_H__
#define __WISEGROUNDTRUTH_READER_H__
#include <stdio.h>
#include <vector>
#include <map>
#define MAX_LINE 512
struct target_detection_t {
int target_id;
double bb_x_tl,bb_y_tl,bb_x_br,bb_y_br; //image plane coordinates (2D bounding box)
double Xw,Yw,Zw; //world coord... | 37.51 | 43 | (translation_unit) "#ifndef __WISEGROUNDTRUTH_READER_H__\n#define __WISEGROUNDTRUTH_READER_H__\n\n#include <stdio.h>\n#include <vector>\n#include <map>\n\n#define MAX_LINE 512\n\n\nstruct target_detection_t {\n int target_id;\n double bb_x_tl,bb_y_tl,bb_x_br,bb_y_br; //image plane coordinates (2D bounding box)\n ... | 375 | 20 | {"language": "c", "success": true, "metadata": {"lines": 43, "avg_line_length": 37.51, "nodes": 234, "errors": 0, "source_hash": "56ee524de20ce52817d4d2cdba84c46fefa40c5e4866f445f33551c3947890b1", "categorized_nodes": 159}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifnde... | 81,209 |
c | /*
* GameContext.h
*
* Created on: Apr 9, 2012
* Author: rgreen
*/
#ifndef GAMECONTEXT_H_
#define GAMECONTEXT_H_
#include <batterytech/Context.h>
using namespace BatteryTech;
class Game;
class World;
class WorldRenderer;
class GameContext : public Context {
public:
GameContext(Graph... | 15.82 | 28 | (translation_unit) "/*
\n * GameContext.h
\n *
\n * Created on: Apr 9, 2012
\n * Author: rgreen
\n */
\n
\n#ifndef GAMECONTEXT_H_
\n#define GAMECONTEXT_H_
\n
\n#include <batterytech/Context.h>
\n
\nusing namespace BatteryTech;
\n
\nclass Game;
\nclass World;
\nclass WorldRenderer;
\n
\nclass GameContext : public ... | 85 | 3 | {"language": "c", "success": true, "metadata": {"lines": 28, "avg_line_length": 15.82, "nodes": 55, "errors": 0, "source_hash": "03b68d8fa3c4515bfd5ef4437b9aa62842372a4b3c1802a2c328882043c3cf3a", "categorized_nodes": 39}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ... | 81,210 |
c | #pragma once
#include <QJsonObject>
#include <QJsonArray>
#include "AbstractResponse.h"
#include "ResponseCode.h"
#include "Entities/Account.h"
class GetAccountByIdResponse : public AbstractResponse
{
public:
GetAccountByIdResponse() = default;
~GetAccountByIdResponse() override;
Account* _Account;
void read(c... | 25.6 | 15 | (translation_unit) "#pragma once\n\n#include <QJsonObject>\n#include <QJsonArray>\n\n#include "AbstractResponse.h"\n#include "ResponseCode.h"\n#include "Entities/Account.h"\n\nclass GetAccountByIdResponse : public AbstractResponse\n{\npublic:\n GetAccountByIdResponse() = default;\n ~GetAccountByIdResponse() override;\n... | 103 | 6 | {"language": "c", "success": true, "metadata": {"lines": 15, "avg_line_length": 25.6, "nodes": 59, "errors": 0, "source_hash": "0818aace4f9b517dadc1f23526657bb68bcd72c15569c7054d33d3dde164c680", "categorized_nodes": 42}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma on... | 81,211 |
c | #ifndef __CONFIG_TASK_H__
#define __CONFIG_TASK_H__
extern TaskHandle_t config_task_handle;
void ConfigTaskSetup();
void ConfigTask(void * param);
#endif
| 24.67 | 6 | (translation_unit) "#ifndef __CONFIG_TASK_H__\n#define __CONFIG_TASK_H__\n\nextern TaskHandle_t config_task_handle;\n\nvoid ConfigTaskSetup();\nvoid ConfigTask(void * param);\n\n#endif\n"
(preproc_ifdef) "#ifndef __CONFIG_TASK_H__\n#define __CONFIG_TASK_H__\n\nextern TaskHandle_t config_task_handle;\n\nvoid ConfigTas... | 35 | 0 | {"language": "c", "success": true, "metadata": {"lines": 6, "avg_line_length": 24.67, "nodes": 27, "errors": 0, "source_hash": "87fc1034a8b77098c93b725b7f02ce1e1a7f20fc1075685480cbf6830434a19a", "categorized_nodes": 17}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef _... | 81,212 |
c | #include<stdio.h>
int main(){
int T,count=0;
long long n,i;
scanf("%d", &T);
for(i=0;i<T/2;i++){
printf("denate ");
scanf("%lld",&n);
count+=n;
printf("report ");
printf("%d\n",count);
}
return 0;
}
| 16.62 | 16 | (translation_unit) "#include<stdio.h>
\nint main(){
\n
\n int T,count=0;
\n long long n,i;
\n
\n scanf("%d", &T);
\n for(i=0;i<T/2;i++){
\n printf("denate ");
\n scanf("%lld",&n);
\n count+=n;
\n printf("report ");
\n printf("%d\n",count);
\n }
\n return 0;
\n}
\n"... | 130 | 0 | {"language": "c", "success": true, "metadata": {"lines": 16, "avg_line_length": 16.62, "nodes": 68, "errors": 0, "source_hash": "e84a32fd5a19ac8144112796b0bcb41033826c01253a326bead0498e7b6daf43", "categorized_nodes": 50}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu... | 81,213 |
c | #include "posicion.h"
#include "circulo.h"
class Camino : public Posicion
{
private:
Figura *_pc;
estado _estado;
int _xInicial;
int _yInicial;
public:
Camino(Laberinto * _l, int _x, int _y);
~Camino();
void cambiarEstado(estado nuevoEstado);
void dibujar();
bool esValida();
char getTipo(... | 14.86 | 22 | (translation_unit) "#include "posicion.h"
\n#include "circulo.h"
\n
\nclass Camino : public Posicion
\n{
\nprivate:
\n Figura *_pc;
\n estado _estado;
\n int _xInicial;
\n int _yInicial;
\n
\n
\npublic:
\n Camino(Laberinto * _l, int _x, int _y);
\n ~Camino();
\n void cambiarEstado(estado nuevoEstado);
\n void dibujar()... | 120 | 3 | {"language": "c", "success": true, "metadata": {"lines": 22, "avg_line_length": 14.86, "nodes": 72, "errors": 0, "source_hash": "a9f4d8ed3aadb2c403979777bdf903264367cc2ed986552ca9c4e967468f0cda", "categorized_nodes": 49}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu... | 81,214 |
c | void print_desc_line (int n, char *desc) {
print (" %s\n\n", desc);
}
void print_description (void *desc) {
if (desc) {
char *buffer = strdup (desc);
process_buffer (buffer, print_desc_line);
free (buffer);
}
}
void print_field_doc (char *name, Field *f) {
print (" @var SE_%s_t::%s\n", name,... | 28.01 | 89 | (translation_unit) "void print_desc_line (int n, char *desc) {\n print (" %s\n\n", desc);\n}\n\nvoid print_description (void *desc) {\n if (desc) {\n char *buffer = strdup (desc);\n process_buffer (buffer, print_desc_line);\n free (buffer);\n }\n}\n\nvoid print_field_doc (char *name, Field *f) {\n print... | 955 | 0 | {"language": "c", "success": true, "metadata": {"lines": 89, "avg_line_length": 28.01, "nodes": 552, "errors": 0, "source_hash": "26557d2e2923a2443cf481819b3f5dec454d42f8a180729690aeb04c3cec135c", "categorized_nodes": 385}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "function_definition", "text": "... | 81,215 |
c | #ifndef _POLOLU_CONFIG_H_
#define _POLOLU_CONFIG_H_
#define ENCODER_CPR 12
#define GEAR_RATIO_75_1 75.81
#define GEAR_RATIO_50_1 51.45
#define WHEEL_3PI 32
#define WHEEL_ZUMO 35
#define WHEEL_BALBOA 80
#define WHEEL_ROMI 70
#endif /* _POLOLU_CONFIG_H_ */
| 21 | 12 | (translation_unit) "#ifndef _POLOLU_CONFIG_H_\n#define _POLOLU_CONFIG_H_\n\n\n#define ENCODER_CPR 12\n#define GEAR_RATIO_75_1 75.81\n#define GEAR_RATIO_50_1 51.45\n\n#define WHEEL_3PI 32\n#define WHEEL_ZUMO 35\n#define WHEEL_BALBOA 80\n#define WHEEL_ROMI 70\n\n\n#endif /* _POLOLU_CONFIG_H_ */\n"
(preproc_ifdef... | 37 | 0 | {"language": "c", "success": true, "metadata": {"lines": 12, "avg_line_length": 21.0, "nodes": 35, "errors": 0, "source_hash": "5edce91d4eb414ab8e6ee7ce8614dd6a8a442ecaf0450d574799b9e6873d7849", "categorized_nodes": 12}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef _... | 81,216 |
c | #ifndef PLAYER_OBJECT_MODULE_H
#define PLAYER_OBJECT_MODULE_H
#include "player_object.h"
#endif
| 23 | 4 | (translation_unit) "#ifndef PLAYER_OBJECT_MODULE_H\n#define PLAYER_OBJECT_MODULE_H\n\n#include "player_object.h"\n\n#endif\n"
(preproc_ifdef) "#ifndef PLAYER_OBJECT_MODULE_H\n#define PLAYER_OBJECT_MODULE_H\n\n#include "player_object.h"\n\n#endif"
(#ifndef) "#ifndef"
(identifier) "PLAYER_OBJECT_MODULE_H"
(... | 14 | 0 | {"language": "c", "success": true, "metadata": {"lines": 4, "avg_line_length": 23.0, "nodes": 10, "errors": 0, "source_hash": "a18f87aa65c33cb2bf5865722605d345e009d21eb99d502b60e112d44e4a6eaf", "categorized_nodes": 8}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef PLA... | 81,217 |
c | //
// LZBadgeButton.h
// Pods
//
// Created by Dear.Q on 16/8/12.
//
//
#import <UIKit/UIKit.h>
@interface LZLoadingButton : UIView
/** 标题样式 */
@property (nonatomic, copy) NSAttributedString *attributedTitle;
/** 边框颜色,默认 [UIColor blackColor] */
@property (nonatomic, strong) UIColor *shapeColor;
/** 点击圆圈颜色,默认 [UIC... | 23.84 | 44 | (ERROR) "//\n// LZBadgeButton.h\n// Pods\n//\n// Created by Dear.Q on 16/8/12.\n//\n//\n\n#import <UIKit/UIKit.h>\n\n@interface LZLoadingButton : UIView\n\n/** 标题样式 */\n@property (nonatomic, copy) NSAttributedString *attributedTitle;\n/** 边框颜色,默认 [UIColor blackColor] */\n@property (nonatomic, strong) UIColor *shapeC... | 185 | 30 | {"language": "c", "success": true, "metadata": {"lines": 44, "avg_line_length": 23.84, "nodes": 120, "errors": 0, "source_hash": "d430a795627cddd0a01ccdf1b8328c18872989fe95631ad985987f92f2a069bb", "categorized_nodes": 65}, "ast": {"root": "ERROR", "nodes": [{"id": 0, "type": "ERROR", "text": "//\n// LZBadgeButton.h\n/... | 81,218 |
c | /*
-Procedure spkuds_c ( SPK - unpack segment descriptor )
-Abstract
Unpack the contents of an SPK segment descriptor.
-Disclaimer
THIS SOFTWARE AND ANY RELATED MATERIALS WERE CREATED BY THE
CALIFORNIA INSTITUTE OF TECHNOLOGY (CALTECH) UNDER A U.S.
GOVERNMENT CONTRACT WITH THE NATIONAL AERONAUTICS AND ... | 37.27 | 161 | (translation_unit) "/*\n\n-Procedure spkuds_c ( SPK - unpack segment descriptor )\n\n-Abstract\n\n Unpack the contents of an SPK segment descriptor.\n\n-Disclaimer\n\n THIS SOFTWARE AND ANY RELATED MATERIALS WERE CREATED BY THE\n CALIFORNIA INSTITUTE OF TECHNOLOGY (CALTECH) UNDER A U.S.\n GOVERNMENT CONTRACT WI... | 201 | 0 | {"language": "c", "success": true, "metadata": {"lines": 161, "avg_line_length": 37.27, "nodes": 127, "errors": 0, "source_hash": "97e41a7d13337e5556b9612045260b8135a2ad97dbdd1e7231d0ac6fb303b41a", "categorized_nodes": 76}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc... | 81,219 |
c | /**
* Autogenerated by Thrift Compiler (0.9.1)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
#ifndef GFXD_STRUCT_PDXSCHEMA_H
#define GFXD_STRUCT_PDXSCHEMA_H
#include "gfxd_types.h"
#include "gfxd_struct_FieldDescriptor.h"
#include "gfxd_struct_Decimal.h"
#include "gfxd_s... | 30 | 46 | (translation_unit) "/**\n * Autogenerated by Thrift Compiler (0.9.1)\n *\n * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n * @generated\n */\n\n#ifndef GFXD_STRUCT_PDXSCHEMA_H\n#define GFXD_STRUCT_PDXSCHEMA_H\n\n\n#include "gfxd_types.h"\n\n#include "gfxd_struct_FieldDescriptor.h"\n#include "gfxd_... | 357 | 17 | {"language": "c", "success": true, "metadata": {"lines": 46, "avg_line_length": 30.0, "nodes": 187, "errors": 0, "source_hash": "b4749ec6e1789bd7c8fd20c6f20f5b08216af6ad447ac81d0a880433ccecf61f", "categorized_nodes": 132}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef... | 81,220 |
c | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
/**
*
*/
class LSYSTEMS_API Branch
{
public:
//Transform property
TArray<FVector> BranchParts;
FVector Direction;
float StartScale;
float EndScale;
Branch();
Branch(FVector direction, FVector or... | 14.61 | 23 | (translation_unit) "// Fill out your copyright notice in the Description page of Project Settings.
\n
\n#pragma once
\n
\n/**
\n *
\n */
\nclass LSYSTEMS_API Branch
\n{
\n
\npublic:
\n //Transform property
\n TArray<FVector> BranchParts;
\n FVector Direction;
\n float StartScale;
\n float EndScale;
\n
\n Branch();
\n
... | 75 | 3 | {"language": "c", "success": true, "metadata": {"lines": 23, "avg_line_length": 14.61, "nodes": 44, "errors": 0, "source_hash": "b79b0ce357d6a9cc8b74feb6e13f72e155b2eac91ba2f4f2ce83a1e64492fa68", "categorized_nodes": 30}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o... | 81,221 |
c | /**
bfs-test-perf-uint.c
Performance test of the BFS algorithm across graphs with only unsigned
int vertices.
The following command line arguments can be used to customize tests:
bfs-test-perf-uint
[0, uint width - 1] : a
[0, uint width - 1] : b s.t. 2**a <= V <= 2**b for rand graph test
... | 30.54 | 216 | (translation_unit) "/**\n bfs-test-perf-uint.c\n\n Performance test of the BFS algorithm across graphs with only unsigned\n int vertices.\n\n The following command line arguments can be used to customize tests:\n bfs-test-perf-uint\n [0, uint width - 1] : a\n [0, uint width - 1] : b s.t. 2**a <= V <= ... | 1,879 | 0 | {"language": "c", "success": true, "metadata": {"lines": 216, "avg_line_length": 30.54, "nodes": 1144, "errors": 0, "source_hash": "bc5da16eec41d97c719cffe40900455ea856b51e1489b179a0a520d03724c5b1", "categorized_nodes": 674}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#i... | 81,222 |
c | #ifndef SOCKET_H_INCLUDED
#define SOCKET_H_INCLUDED
/*============================================================================
This is for backward compatibility. Abyss used to have a socket
concept modelled after POSIX sockets, in which a single class (TSocket)
contained two very different kinds of obje... | 42.91 | 45 | (translation_unit) "#ifndef SOCKET_H_INCLUDED\n#define SOCKET_H_INCLUDED\n\n/*============================================================================\n This is for backward compatibility. Abyss used to have a socket\n concept modelled after POSIX sockets, in which a single class (TSocket)\n contained two ve... | 164 | 0 | {"language": "c", "success": true, "metadata": {"lines": 45, "avg_line_length": 42.91, "nodes": 111, "errors": 0, "source_hash": "a1d26334443ad42ab9edeb7ffd436957ac0a69790e625428d3f7cf12af3375a5", "categorized_nodes": 65}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef... | 81,223 |
c | #include "gutil.h"
#include <stdlib.h>
static GLuint mk_shd(const char *src, GLenum type);
static GLuint rm_shd(GLuint shd);
void init_glfw(void)
{
glfwInit();
}
void exit_glfw(void)
{
glfwTerminate();
}
GLFWwindow *mk_win(int w, int h, const char *title, bool rsz, bool fscr)
{
glfwWindowHint(GLFW_RESI... | 26.45 | 89 | (translation_unit) "#include "gutil.h"\n\n#include <stdlib.h>\n\nstatic GLuint mk_shd(const char *src, GLenum type);\nstatic GLuint rm_shd(GLuint shd);\n\nvoid init_glfw(void)\n{\n glfwInit();\n}\n\nvoid exit_glfw(void)\n{\n glfwTerminate();\n}\n\nGLFWwindow *mk_win(int w, int h, const char *title, bool rsz, bool... | 859 | 0 | {"language": "c", "success": true, "metadata": {"lines": 89, "avg_line_length": 26.45, "nodes": 520, "errors": 0, "source_hash": "b8604c7fd2846fcdde25b3d2386bac05da37245a1c1b8a8b26d05a453f5c881f", "categorized_nodes": 371}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inc... | 81,224 |
c |
class SendEntry {
public:
SendEntry( int thread, NicCmd* cmd = NULL ) : cmd(cmd), thread(thread), vc(0) {}
~SendEntry() {
if ( cmd ) {
delete cmd;
}
}
StreamHdr* getStreamHdr() { return &m_streamHdr; }
virtual int getAddr() = 0;
virtual int getLength() = 0;
virtual int getCqId() = 0;
virtual int g... | 34.16 | 95 | (translation_unit) "class SendEntry {\n public:\n SendEntry( int thread, NicCmd* cmd = NULL ) : cmd(cmd), thread(thread), vc(0) {}\n ~SendEntry() {\n if ( cmd ) {\n delete cmd;\n }\n }\n StreamHdr* getStreamHdr() { return &m_streamHdr; } \n virtual int getAddr() = 0;\n virtual int getLength() = 0;\n virtual int... | 1,208 | 36 | {"language": "c", "success": true, "metadata": {"lines": 95, "avg_line_length": 34.16, "nodes": 709, "errors": 0, "source_hash": "9f0fa0a17fb885ab388ca7b98254dfb2a4a8986a87a6625cc996a00f76ac3e67", "categorized_nodes": 540}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "function_definition", "text": "... | 81,225 |
c | // function to reverse a number
#include <stdio.h>
#include <stdlib.h>
int rev(int t)
{
int last_digit=0,reversed=0;
while(t>0)
{
last_digit=t%10;
reversed = reversed*10 + last_digit;
t=t/10;
}
return reversed;
}
int main()
{
int a;
printf("\nEnter a number = ");
... | 17.14 | 22 | (translation_unit) "// function to reverse a number\n#include <stdio.h>\n#include <stdlib.h>\nint rev(int t)\n{\n int last_digit=0,reversed=0;\n while(t>0)\n {\n last_digit=t%10;\n reversed = reversed*10 + last_digit;\n t=t/10;\n }\n return reversed;\n}\nint main()\n{\n int a;\n ... | 146 | 0 | {"language": "c", "success": true, "metadata": {"lines": 22, "avg_line_length": 17.14, "nodes": 88, "errors": 0, "source_hash": "0a3367a2cbf12bc4d1d0d02587e8a0935cabf6156570918c7219b182fb036748", "categorized_nodes": 62}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#inclu... | 81,226 |
c | #ifndef __USER_WIFI_SETTINGS_H__
#define __USER_WIFI_SETTINGS_H__
#define MY_WIFI_SSID "test"
#define MY_WIFI_PASSWD "<PASSWORD>"
#endif
| 26.8 | 5 | (translation_unit) "#ifndef __USER_WIFI_SETTINGS_H__\n#define __USER_WIFI_SETTINGS_H__\n\n#define MY_WIFI_SSID "test"\n#define MY_WIFI_PASSWD "<PASSWORD>"\n\n#endif\n\n"
(preproc_ifdef) "#ifndef __USER_WIFI_SETTINGS_H__\n#define __USER_WIFI_SETTINGS_H__\n\n#define MY_WIFI_SSID "test"\n#define MY_WIFI_PASSWD "<PAS... | 16 | 0 | {"language": "c", "success": true, "metadata": {"lines": 5, "avg_line_length": 26.8, "nodes": 15, "errors": 0, "source_hash": "9f7c14533399839a411dff393758b5124dcedeaed84d3915d9fb0015251738ff", "categorized_nodes": 7}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef __U... | 81,227 |
c | //
// WGHomeTabTitleRequest.h
// WeygoIPhone
//
// Created by muma on 2017/3/4.
// Copyright © 2017年 <EMAIL>. All rights reserved.
//
#import "WGRequest.h"
@interface WGHomeTabTitleRequest : WGRequest
//@property (nonatomic, assign) int is_Hot;
//@property (nonatomic, assign) int wh;
//@property (nonatomic, assi... | 26.29 | 14 | (translation_unit) "//\n// WGHomeTabTitleRequest.h\n// WeygoIPhone\n//\n// Created by muma on 2017/3/4.\n// Copyright © 2017年 <EMAIL>. All rights reserved.\n//\n\n#import "WGRequest.h"\n\n@interface WGHomeTabTitleRequest : WGRequest\n\n//@property (nonatomic, assign) int is_Hot;\n//@property (nonatomic, assign) int... | 23 | 3 | {"language": "c", "success": true, "metadata": {"lines": 14, "avg_line_length": 26.29, "nodes": 10, "errors": 0, "source_hash": "29a375213286bea9cf3abb4cecde34c9160af5e409a35294e40c2b3083b00dad", "categorized_nodes": 5}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "port \"WGR... | 81,228 |
c | /*
* Copyright (c) 2012-2018 <NAME> and individual contributors.
* License: https://github.com/dbartolini/crown/blob/master/LICENSE
*/
#pragma once
#include "core/math/math.h"
#include "core/math/types.h"
#include "core/math/vector3.h"
namespace crown
{
/// Functions to manipulate Plane3.
///
/// @ingroup Math
na... | 25.19 | 47 | (translation_unit) "/*\n * Copyright (c) 2012-2018 <NAME> and individual contributors.\n * License: https://github.com/dbartolini/crown/blob/master/LICENSE\n */\n\n#pragma once\n\n#include "core/math/math.h"\n#include "core/math/types.h"\n#include "core/math/vector3.h"\n\nnamespace crown\n{\n/// Functions to manipulate... | 305 | 10 | {"language": "c", "success": true, "metadata": {"lines": 47, "avg_line_length": 25.19, "nodes": 167, "errors": 0, "source_hash": "9d06b97024d3ba0c4be6faa59db407a63a303911842ab54e76fbaa6298742ea7", "categorized_nodes": 140}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma... | 81,229 |
c | /*
* Copyright (c) 2012-2021 <NAME> et al.
* License: https://github.com/dbartolini/crown/blob/master/LICENSE
*/
#pragma once
#include "core/platform.h"
#if CROWN_PLATFORM_ANDROID
#include "core/filesystem/filesystem.h"
#include <sys/types.h> // off_t
#include <android/asset_manager.h>
namespace crown
{
/// Acc... | 33.69 | 48 | (translation_unit) "/*\n * Copyright (c) 2012-2021 <NAME> et al.\n * License: https://github.com/dbartolini/crown/blob/master/LICENSE\n */\n\n#pragma once\n\n#include "core/platform.h"\n\n#if CROWN_PLATFORM_ANDROID\n\n#include "core/filesystem/filesystem.h"\n#include <sys/types.h> // off_t\n#include <android/asset_mana... | 297 | 5 | {"language": "c", "success": true, "metadata": {"lines": 48, "avg_line_length": 33.69, "nodes": 184, "errors": 0, "source_hash": "5f338bcd3e4502678cf2f690465c09eead808a641f937b4e7c4cc5a5884c5a71", "categorized_nodes": 117}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma... | 81,230 |
c | // Copyright <NAME> 2021
//
// Distributed under the Boost Software License, Version 1.0.
// http://www.boost.org/LICENSE_1_0.txt)
#pragma once
typedef uint16_t NetworkAddress;
typedef uint64_t MacAddress;
struct SimpleDescriptor {
unsigned int endpoint_number = 0;
unsigned int profile_id = 0;
unsigned int device... | 36.65 | 54 | (translation_unit) "// Copyright <NAME> 2021\n//\n// Distributed under the Boost Software License, Version 1.0.\n// http://www.boost.org/LICENSE_1_0.txt)\n\n#pragma once\n\ntypedef uint16_t NetworkAddress;\ntypedef uint64_t MacAddress;\n\nstruct SimpleDescriptor {\n unsigned int endpoint_number = 0;\n unsigned int prof... | 471 | 41 | {"language": "c", "success": true, "metadata": {"lines": 54, "avg_line_length": 36.65, "nodes": 299, "errors": 0, "source_hash": "7753d58af40fb83664fe9f6dd07114f8d6c3fd3840e722cfd8b2621279ef8f27", "categorized_nodes": 187}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma... | 81,231 |
c | #pragma once
#include <tdme/tdme.h>
#include <tdme/audio/decoder/fwd-tdme.h>
#include <tdme/utils/fwd-tdme.h>
#include <tdme/utils/ExceptionBase.h>
using tdme::utils::ExceptionBase;
/**
* Audio decoder exception
* @author <NAME>
* @version $Id$
*/
class tdme::audio::decoder::AudioDecoderException: public Excepti... | 22.85 | 20 | (translation_unit) "#pragma once\n\n#include <tdme/tdme.h>\n#include <tdme/audio/decoder/fwd-tdme.h>\n#include <tdme/utils/fwd-tdme.h>\n#include <tdme/utils/ExceptionBase.h>\n\nusing tdme::utils::ExceptionBase;\n\n/**\n * Audio decoder exception\n * @author <NAME>\n * @version $Id$\n */\nclass tdme::audio::decoder::Aud... | 71 | 3 | {"language": "c", "success": true, "metadata": {"lines": 20, "avg_line_length": 22.85, "nodes": 38, "errors": 0, "source_hash": "e7cf1eb00a4fd9d04f215ba3124e8fd6de32329a35a7927d73169f1ad635495e", "categorized_nodes": 30}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#pragma o... | 81,232 |
c | // Copyright (c) 2020, devgo.club
// All rights reserved.
#ifndef FILE_IO_H
#define FILE_IO_H
int copy(int fd_src, int fd_des);
int get_size(int fd);
int set_flag(int fd, int flag);
int add_flag(int fd, int flag);
int rm_flag(int fd, int flag);
int lock_file(int fd, int cmd, int type, int whence, int start, int ... | 39.81 | 21 | (translation_unit) "// Copyright (c) 2020, devgo.club\n// All rights reserved.\n\n#ifndef FILE_IO_H\n#define FILE_IO_H\n\nint copy(int fd_src, int fd_des);\n\nint get_size(int fd);\n\nint set_flag(int fd, int flag);\n\nint add_flag(int fd, int flag);\n\nint rm_flag(int fd, int flag);\n\nint lock_file(int fd, int cmd, i... | 187 | 0 | {"language": "c", "success": true, "metadata": {"lines": 21, "avg_line_length": 39.81, "nodes": 126, "errors": 0, "source_hash": "e6c719d161f3e5757f1d2f14f73c6fb03143a326ccd41949e0e2b85474f3cda5", "categorized_nodes": 82}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef... | 81,233 |
c | #include <sys/types.h>
#include <sys/wait.h>
#include <stdio.h>
#include <unistd.h>
#include <string.h>
#include <stdlib.h>
#define TOKEN_DELIMETERS " \t\r\n\a"
#define DEFAULT_SIZE 64
char *history[DEFAULT_SIZE];
char *argv[DEFAULT_SIZE];
int hist_count = 0;
int hist_num = 0;
int position = 0;
short isHistNum = 0;
... | 27.57 | 113 | (translation_unit) "#include <sys/types.h>\n#include <sys/wait.h>\n#include <stdio.h>\n#include <unistd.h>\n#include <string.h>\n#include <stdlib.h>\n\n#define TOKEN_DELIMETERS " \t\r\n\a"\n#define DEFAULT_SIZE 64\n\nchar *history[DEFAULT_SIZE];\nchar *argv[DEFAULT_SIZE];\nint hist_count = 0;\nint hist_num = 0;\nint po... | 1,094 | 0 | {"language": "c", "success": true, "metadata": {"lines": 113, "avg_line_length": 27.57, "nodes": 621, "errors": 0, "source_hash": "5325eb1239175e0e0a6d7b4bc9e3bcf83b9b1c143d519a85803f07cc03a95dde", "categorized_nodes": 406}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in... | 81,234 |
c | /*
* Academic License - for use in teaching, academic research, and meeting
* course requirements at degree granting institutions only. Not for
* government, commercial, or other organizational use.
*
* mtimes.h
*
* Code generation for function 'mtimes'
*
*/
#ifndef MTIMES_H
#define MTIMES_H
/* Include file... | 35.68 | 28 | (translation_unit) "/*\n * Academic License - for use in teaching, academic research, and meeting\n * course requirements at degree granting institutions only. Not for\n * government, commercial, or other organizational use.\n *\n * mtimes.h\n *\n * Code generation for function 'mtimes'\n *\n */\n\n#ifndef MTIMES_H\n#... | 168 | 0 | {"language": "c", "success": true, "metadata": {"lines": 28, "avg_line_length": 35.68, "nodes": 112, "errors": 0, "source_hash": "dea40b9625164e23c2648fb514f30d7a5f1c39ac8b85a1dfab38c8d7c63e89ff", "categorized_nodes": 73}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef... | 81,235 |
c | // SPDX-FileCopyrightText: 2021 Open Energy Solutions Inc
//
// SPDX-License-Identifier: Apache-2.0
#ifndef OPENFMB_ADAPTER_GOOSE_PUB_PUBLISHINGPROFILEREADER_H
#define OPENFMB_ADAPTER_GOOSE_PUB_PUBLISHINGPROFILEREADER_H
#include "adapter-util/config/generated/TypedModelVisitors.h"
#include "pub/IPublishConfigBuilder.... | 36.88 | 25 | (translation_unit) "// SPDX-FileCopyrightText: 2021 Open Energy Solutions Inc\n//\n// SPDX-License-Identifier: Apache-2.0\n\n#ifndef OPENFMB_ADAPTER_GOOSE_PUB_PUBLISHINGPROFILEREADER_H\n#define OPENFMB_ADAPTER_GOOSE_PUB_PUBLISHINGPROFILEREADER_H\n\n#include "adapter-util/config/generated/TypedModelVisitors.h"\n#include... | 149 | 7 | {"language": "c", "success": true, "metadata": {"lines": 25, "avg_line_length": 36.88, "nodes": 81, "errors": 0, "source_hash": "edae5cd285238f25cbd710f9bd3babac5a8128be810f19339d56baa830ba4da4", "categorized_nodes": 63}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ... | 81,236 |
c | #include <FlexCAN.h>
uint8_t bitSize(uint64_t v) {
static const uint8_t lookup[64] = {
0, // change to 1 if you want bitSize(0) = 1
1, 2, 53, 3, 7, 54, 27, 4, 38, 41, 8, 34, 55, 48, 28,
62, 5, 39, 46, 44, 42, 22, 9, 24, 35, 59, 56, 49, 18, 29, 11,
63, 52, 6, 26, 37, 40, 33, 47, 61, 45, 43, 21, 23, 58,... | 31.97 | 191 | (translation_unit) "#include <FlexCAN.h>\n\nuint8_t bitSize(uint64_t v) {\n static const uint8_t lookup[64] = {\n 0, // change to 1 if you want bitSize(0) = 1\n 1, 2, 53, 3, 7, 54, 27, 4, 38, 41, 8, 34, 55, 48, 28,\n 62, 5, 39, 46, 44, 42, 22, 9, 24, 35, 59, 56, 49, 18, 29, 11,\n 63, 52, 6, 26, 37, 40, 33, ... | 1,856 | 0 | {"language": "c", "success": true, "metadata": {"lines": 191, "avg_line_length": 31.97, "nodes": 1170, "errors": 0, "source_hash": "8dd34eb7c585aed5332bc811e58381a50f2466956e69304d2a88b62f784da883", "categorized_nodes": 831}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#i... | 81,237 |
c | //
// Generated by class-dump 3.5 (64 bit).
//
// class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by <NAME>.
//
#import <SpotlightServices/PRSFeedback.h>
@class NSString;
@interface PRSFeedbackContext : PRSFeedback
{
long long _start_ts;
NSString *_start_method;
NSString *_last_search... | 32.12 | 25 | (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 <SpotlightServices/PRSFeedback.h>\n\n@class NSString;\n\n@interface PRSFeedbackContext : PRSFeedback\n{\n long long _start_ts;\n NSString *_start_m... | 219 | 19 | {"language": "c", "success": true, "metadata": {"lines": 25, "avg_line_length": 32.12, "nodes": 133, "errors": 0, "source_hash": "7f9f0688f762239bbca7b8538363c93dcb39a6d39afdfc5ffaab49d1c6f82e54", "categorized_nodes": 80}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_call", "text": "#import ... | 81,238 |
c | /* Copyright (C) 2013 <NAME>, see COPYING.DJ for details */
/* Copyright (C) 2002 <NAME>, see COPYING.DJ for details */
/* Copyright (C) 1995 <NAME>, see COPYING.DJ for details */
#ifndef __dj_include_malloc_h_
#define __dj_include_malloc_h_
#ifdef __cplusplus
extern "C" {
#endif
#ifndef __dj_ENFORCE_ANSI_FREESTANDIN... | 33.36 | 25 | (translation_unit) "/* Copyright (C) 2013 <NAME>, see COPYING.DJ for details */\n/* Copyright (C) 2002 <NAME>, see COPYING.DJ for details */\n/* Copyright (C) 1995 <NAME>, see COPYING.DJ for details */\n#ifndef __dj_include_malloc_h_\n#define __dj_include_malloc_h_\n\n#ifdef __cplusplus\nextern "C" {\n#endif\n\n#ifndef... | 106 | 0 | {"language": "c", "success": true, "metadata": {"lines": 25, "avg_line_length": 33.36, "nodes": 78, "errors": 0, "source_hash": "fac494b8b9bfd139ca93e3472caa209e72718731510ddc9b5399ca87b5580990", "categorized_nodes": 56}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_ifdef", "text": "#ifndef ... | 81,239 |
c | /*
* Copyright (c) 1990 <NAME>
* Copyright (c) 1990 Imperial College of Science, Technology & Medicine
* Copyright (c) 1990, 1993
* The Regents of the University of California. All rights reserved.
*
* This code is derived from software contributed to Berkeley by
* <NAME> at Imperial College, London.
*
* %scc... | 19.17 | 260 | (translation_unit) "/*\n * Copyright (c) 1990 <NAME>\n * Copyright (c) 1990 Imperial College of Science, Technology & Medicine\n * Copyright (c) 1990, 1993\n * The Regents of the University of California. All rights reserved.\n *\n * This code is derived from software contributed to Berkeley by\n * <NAME> at Imperial ... | 1,511 | 3 | {"language": "c", "success": true, "metadata": {"lines": 260, "avg_line_length": 19.17, "nodes": 928, "errors": 0, "source_hash": "eb97268c7aba41b11dcbceb7bd4057104d26b5cddc7f849949ab102f62de3101", "categorized_nodes": 716}, "ast": {"root": "translation_unit", "nodes": [{"id": 0, "type": "preproc_include", "text": "#in... | 81,240 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.