content stringlengths 6 1.05M | obf_code stringlengths 6 1.05M | probability float64 0 1 | obf_dict stringlengths 0 25.3k |
|---|---|---|---|
/**
* \file
*
* \brief SAM Temperature Sensor (TSENS) Driver
*
* Copyright (C) 2015 Atmel Corporation. All rights reserved.
*
* \asf_license_start
*
* \page License
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are... | /**
* \file
*
* \brief SAM Temperature Sensor (TSENS) Driver
*
* Copyright (C) 2015 Atmel Corporation. All rights reserved.
*
* \asf_license_start
*
* \page License
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are... | 0.553354 | {'VAR_0': 'WINDOW_MIN_VALUE', 'FUNC_0': '_tsens_set_config', 'CLASS_0': 'system_gclk_chan_config', 'FUNC_1': 'system_gclk_chan_get_config_defaults', 'VAR_1': 'clock_source', 'VAR_2': 'TSENS_GCLK_ID', 'VAR_3': 'TSENS', 'VAR_4': 'CTRLA', 'VAR_5': 'reg', 'VAR_6': 'TSENS_CTRLA_RUNSTDBY_Pos', 'VAR_7': 'window', 'VAR_8': 'wi... |
//
// Created by Dado on 01/01/2018.
//
#pragma once
void mainLoop( const CLIParamMap& params, std::unique_ptr<RunLoopBackEndBase>&& _be );
| //
// Created by Dado on 01/01/2018.
//
#pragma once
void FUNC_0( const CLASS_0& VAR_0, CLASS_1::VAR_1<VAR_2>&& VAR_3 );
| 0.719202 | {'FUNC_0': 'mainLoop', 'CLASS_0': 'CLIParamMap', 'VAR_0': 'params', 'CLASS_1': 'std', 'VAR_1': 'unique_ptr', 'VAR_2': 'RunLoopBackEndBase', 'VAR_3': '_be'} |
#include "uart.h"
int main(int argc, char **argv)
{
int fd;
int baud;
char dev_name[128];
printf("Serial Test Start... (%s)\n", __DATE__);
strcpy(dev_name, "/dev/ttyACM0");
baud = 115200;
fd = open_serial(dev_name, baud, 10, 32);
if(fd < 0)
return -2;
gsm_msg_send(fd, "010298071... | #include "IMPORT_0"
int FUNC_0(int VAR_0, char **VAR_1)
{
int VAR_2;
int baud;
char VAR_3[128];
printf("Serial Test Start... (%s)\n", VAR_4);
strcpy(VAR_3, "/dev/ttyACM0");
baud = 115200;
VAR_2 = FUNC_1(VAR_3, baud, 10, 32);
if(VAR_2 < 0)
return -2;
FUNC_2(VAR_2, "01029807183", ... | 0.717216 | {'IMPORT_0': 'uart.h', 'FUNC_0': 'main', 'VAR_0': 'argc', 'VAR_1': 'argv', 'VAR_2': 'fd', 'VAR_3': 'dev_name', 'VAR_4': '__DATE__', 'FUNC_1': 'open_serial', 'FUNC_2': 'gsm_msg_send', 'FUNC_3': 'close_serial'} |
#include <stdio.h>
int main ()
{
int counter;
int a = -1;
printf("--- Contador Regressivo ---\n");
printf("Em que numero pretende começar? ");
scanf("%i", &counter);
while (a < counter)
{
printf("%i\n", counter);
counter--;
}
} | #include <stdio.h>
int main ()
{
int counter;
int a = -1;
printf("--- Contador Regressivo ---\n");
printf("Em que numero pretende começar? ");
scanf("%i", &counter);
while (a < counter)
{
printf("%i\n", counter);
counter--;
}
} | 0.201941 | {} |
#include<stdio.h>
main()
{
int a[3][3],b[3][3],c[3][3],i,j,k,sum;
printf("Enter 9 number for first matrix\n");
for(i=0;i<=2;i++)
{
for(j=0;j<=2;j++)
scanf("%d",&a[i][j]);
}
printf("Enter 9 number for second matrix\n");
for(i=0;i<=2;i++)
{
for(j=... | #include<stdio.h>
FUNC_0()
{
int VAR_0[3][3],b[3][3],VAR_1[3][3],i,j,k,VAR_2;
printf("Enter 9 number for first matrix\n");
for(i=0;i<=2;i++)
{
for(j=0;j<=2;j++)
scanf("%d",&VAR_0[i][j]);
}
printf("Enter 9 number for second matrix\n");
for(i=0;i<=2;i++)
{... | 0.506353 | {'FUNC_0': 'main', 'VAR_0': 'a', 'VAR_1': 'c', 'VAR_2': 'sum'} |
//
// match.c
// machodiff
//
// Created by <NAME> on 3/19/14.
// Copyright (c) 2014 <NAME>. All rights reserved.
//
#ifndef machodiff_match_c
#define machodiff_match_c
#include "match.h"
struct loader_match_tree * SDMBuildMatchTree(CoreRange buffer1, CoreRange buffer2) {
struct loader_match_tree *root = calloc... | //
// match.c
// machodiff
//
// Created by <NAME> on 3/19/14.
// Copyright (c) 2014 <NAME>. All rights reserved.
//
#ifndef machodiff_match_c
#define machodiff_match_c
#include "IMPORT_0"
struct CLASS_0 * SDMBuildMatchTree(CLASS_1 VAR_0, CLASS_1 buffer2) {
struct CLASS_0 *VAR_1 = FUNC_0(1, sizeof(struct CLASS_... | 0.442198 | {'IMPORT_0': 'match.h', 'CLASS_0': 'loader_match_tree', 'CLASS_1': 'CoreRange', 'VAR_0': 'buffer1', 'VAR_1': 'root', 'FUNC_0': 'calloc', 'VAR_2': 'parent', 'VAR_3': 'current_node', 'VAR_4': 'counter', 'VAR_5': 'length', 'VAR_6': 'compare_length', 'VAR_7': 'offset1', 'FUNC_1': 'Ptr', 'VAR_8': 'offset2', 'FUNC_2': 'memcm... |
#ifndef _PPS_H_
#define _PPS_H_
/* ************************************************************************** */
/* Notes on using the PPS (Peripheral Pin Select)
The PIC18 K42 family microcontrollers has a Peripheral Pin Select module
that allows the remapping of digital I/O pins.
*/
/* ******************... | #ifndef _PPS_H_
#define _PPS_H_
/* ************************************************************************** */
/* Notes on using the PPS (Peripheral Pin Select)
The PIC18 K42 family microcontrollers has a Peripheral Pin Select module
that allows the remapping of digital I/O pins.
*/
/* ******************... | 0.395734 | {'FUNC_0': 'pps_unlock', 'VAR_0': 'pin', 'VAR_1': 'PPS_PORT_B', 'VAR_2': 'PPS_PORT_C', 'VAR_3': 'PPS_PORT_E', 'VAR_4': 'PPS_PIN_2', 'VAR_5': 'PPS_PIN_6', 'VAR_6': 'PPS_PIN_7', 'FUNC_1': 'pps_in_INTERRUPT1', 'FUNC_2': 'pps_in_INTERRUPT2', 'FUNC_3': 'pps_in_TIMER1_GATE', 'FUNC_4': 'pps_in_CCP2', 'FUNC_5': 'pps_in_CCP3', ... |
/*
* (C) Copyright 2000-2004
* <NAME>, DENX Software Engineering, <EMAIL>.
*
* See file CREDITS for list of people who contributed to this
* project.
*
* 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 Softwa... | /*
* (C) Copyright 2000-2004
* <NAME>, DENX Software Engineering, <EMAIL>.
*
* See file CREDITS for list of people who contributed to this
* project.
*
* 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 Softwa... | 0.890367 | {'VAR_0': '_PART_H', 'IMPORT_0': 'ide.h', 'CLASS_0': 'block_dev_desc', 'VAR_1': 'if_type', 'VAR_2': 'dev', 'VAR_3': 'part_type', 'VAR_4': 'target', 'VAR_5': 'type', 'VAR_6': 'CONFIG_LBA48', 'VAR_7': 'lba48', 'CLASS_1': 'lbaint_t', 'VAR_8': 'lba', 'VAR_9': 'blksz', 'VAR_10': 'vendor', 'VAR_11': 'product', 'VAR_12': 'rev... |
#include <stdio.h>
long n;
void nhap()
{
long dem=0,i=1,j;
scanf("%d",&n);
while ((dem+i*5)<n)
{
dem+=i*5;
i*=2;
}
j=1;
while (i+dem<n)
{
dem+=i;
j++;
}
if (j==1) printf("Sheldon");
if (j==2) printf(... | #include <stdio.h>
long n;
void FUNC_0()
{
long dem=0,VAR_0=1,VAR_1;
scanf("%d",&n);
while ((dem+VAR_0*5)<n)
{
dem+=VAR_0*5;
VAR_0*=2;
}
VAR_1=1;
while (VAR_0+dem<n)
{
dem+=VAR_0;
VAR_1++;
}
if (VAR_1==1) ... | 0.162476 | {'FUNC_0': 'nhap', 'VAR_0': 'i', 'VAR_1': 'j', 'FUNC_1': 'main'} |
/*
* This file is part of the Simutrans-Extended project under the Artistic License.
* (see LICENSE.txt)
*/
#ifndef GUI_FACTORYLIST_STATS_T_H
#define GUI_FACTORYLIST_STATS_T_H
#include "../tpl/vector_tpl.h"
#include "components/gui_component.h"
class fabrik_t;
namespace factorylist {
enum sort_mode_t {
by_n... | /*
* This file is part of the Simutrans-Extended project under the Artistic License.
* (see LICENSE.txt)
*/
#ifndef GUI_FACTORYLIST_STATS_T_H
#define GUI_FACTORYLIST_STATS_T_H
#include "IMPORT_0"
#include "components/gui_component.h"
CLASS_0 fabrik_t;
namespace factorylist {
enum CLASS_1 {
VAR_1 = 0,
by_a... | 0.428189 | {'IMPORT_0': '../tpl/vector_tpl.h', 'CLASS_0': 'class', 'CLASS_1': 'sort_mode_t', 'VAR_0': 'sort_mode_t', 'VAR_1': 'by_name', 'VAR_2': 'by_maxprod', 'VAR_3': 'by_status', 'VAR_4': 'by_power', 'VAR_5': 'by_operation_rate', 'VAR_6': 'by_region', 'VAR_7': 'SORT_MODES', 'VAR_8': 'by_input', 'VAR_9': 'factorylist_stats_t', ... |
/**************************************************************************
* National Semiconductor COP410 Emulator *
* *
* Copyright (C) 2006 MAME Team *
***************... | /**************************************************************************
* National Semiconductor COP410 Emulator *
* *
* Copyright (C) 2006 MAME Team *
***************... | 0.306933 | {'VAR_0': 'A', 'VAR_1': 'Q', 'VAR_2': 'SA', 'VAR_3': 'SIO', 'VAR_4': 'skipLBI', 'FUNC_0': 'WRITE_M', 'FUNC_1': 'IN_L', 'FUNC_2': 'OUT_D', 'FUNC_3': 'OUT_SK', 'VAR_5': 'PUSH', 'FUNC_4': 'PUSH', 'VAR_6': 'addr', 'CLASS_0': 'INLINE', 'FUNC_5': 'illegal', 'FUNC_6': 'WRITE_SK', 'FUNC_7': 'aisc2', 'FUNC_8': 'aisc3', 'FUNC_9'... |
/*
* EDAC PCI component
*
* Author: Dave Jiang <djiang@mvista.com>
*
* 2007 (c) MontaVista Software, Inc. This file is licensed under
* the terms of the GNU General Public License version 2. This program
* is licensed "as is" without any warranty of any kind, whether express
* or implied.
*
*/
#include <asm/p... | /*
* EDAC PCI component
*
* Author: Dave Jiang <djiang@mvista.com>
*
* 2007 (c) MontaVista Software, Inc. This file is licensed under
* the terms of the GNU General Public License version 2. This program
* is licensed "as is" without any warranty of any kind, whether express
* or implied.
*
*/
#include <IMPOR... | 0.845143 | {'IMPORT_0': 'asm/page.h', 'IMPORT_1': 'linux/uaccess.h', 'IMPORT_2': 'linux/ctype.h', 'IMPORT_3': 'linux/highmem.h', 'IMPORT_4': 'linux/init.h', 'IMPORT_5': 'linux/module.h', 'IMPORT_6': 'linux/slab.h', 'IMPORT_7': 'linux/smp.h', 'IMPORT_8': 'linux/spinlock.h', 'IMPORT_9': 'linux/sysctl.h', 'IMPORT_10': 'edac_pci.h', ... |
#include <stdint.h>
#include <stdlib.h>
#include <kernel/panic.h>
#if UINT32_MAX == UINTPTR_MAX
#define STACK_CHK_GUARD 0xe2dee396
#else
#define STACK_CHK_GUARD 0x595e9fbd94fda766
#endif
uintptr_t __stack_chk_guard = STACK_CHK_GUARD;
__attribute__((noreturn))
void __stack_chk_fail(void)
{
#if __is_libc
abort();
... | #include <IMPORT_0>
#include <IMPORT_1>
#include <IMPORT_2>
#if VAR_0 == VAR_1
#define VAR_2 0xe2dee396
#else
#define VAR_2 0x595e9fbd94fda766
#endif
uintptr_t VAR_3 = VAR_2;
__attribute__((VAR_4))
void FUNC_0(void)
{
#if VAR_5
abort();
#elif __is_libk
FUNC_1("Stack smashing detected");
#endif
while (1) { }
... | 0.83957 | {'IMPORT_0': 'stdint.h', 'IMPORT_1': 'stdlib.h', 'IMPORT_2': 'kernel/panic.h', 'VAR_0': 'UINT32_MAX', 'VAR_1': 'UINTPTR_MAX', 'VAR_2': 'STACK_CHK_GUARD', 'VAR_3': '__stack_chk_guard', 'VAR_4': 'noreturn', 'FUNC_0': '__stack_chk_fail', 'VAR_5': '__is_libc', 'FUNC_1': 'panic', 'FUNC_2': '__builtin_unreachable'} |
#pragma once
#include "oxygine_include.h"
#include "Vector2.h"
#include "Matrix.h"
namespace oxygine
{
template<class T>
class AffineTransformT
{
public:
typedef VectorT2<T> vector2;
typedef AffineTransformT<T> affineTransform;
typedef MatrixT<T> matrix;
AffineTransfor... | #pragma once
#include "IMPORT_0"
#include "IMPORT_1"
#include "IMPORT_2"
CLASS_0 VAR_0
{
VAR_1<VAR_2 VAR_3>
VAR_2 VAR_4
{
public:
VAR_5 VAR_6<VAR_3> VAR_7;
typedef CLASS_2<CLASS_1> ID_1;
typedef CLASS_5<CLASS_1> ID_2;
FUNC_1() {}
VAR_4(ID_0 VAR_9, VAR_3 VAR_10,... | 0.870298 | {'IMPORT_0': 'oxygine_include.h', 'IMPORT_1': 'Vector2.h', 'IMPORT_2': 'Matrix.h', 'CLASS_0': 'namespace', 'VAR_0': 'oxygine', 'VAR_1': 'template', 'VAR_2': 'class', 'VAR_3': 'T', 'CLASS_1': 'T', 'ID_0': 'T', 'FUNC_0': 'T', 'VAR_4': 'AffineTransformT', 'CLASS_2': 'AffineTransformT', 'FUNC_1': 'AffineTransformT', 'VAR_5... |
#pragma once
#ifndef WARP_H
#define WARP_H
#include "tfxparam.h"
#include "trop.h"
#include "trasterfx.h"
//-----------------------------------------------------------------------
struct WarpParams {
int m_shrink;
double m_warperScale;
double m_intensity;
bool m_sharpen;
};
struct LPoint {
TPointD s; //... | #pragma once
#ifndef WARP_H
#define WARP_H
#include "tfxparam.h"
#include "trop.h"
#include "trasterfx.h"
//-----------------------------------------------------------------------
struct WarpParams {
int m_shrink;
double m_warperScale;
double m_intensity;
bool m_sharpen;
};
struct LPoint {
TPointD s; //... | 0.036415 | {'CLASS_0': 'Lattice', 'VAR_0': 'Lattice', 'VAR_1': 'rasInPos'} |
/*
* File: NothingWork.h
* Author: Chris
*
* Created on September 25, 2015, 5:15 PM
*/
#ifndef NOTHINGWORK_H
#define NOTHINGWORK_H
#include "PDBBuzzer.h"
#include "PDBCommWork.h"
// do no work
namespace pdb {
class NothingWork : public PDBWork {
public:
NothingWork() {}
void execute(PDBBuzzerPtr ca... | /*
* File: NothingWork.h
* Author: Chris
*
* Created on September 25, 2015, 5:15 PM
*/
#ifndef NOTHINGWORK_H
#define NOTHINGWORK_H
#include "PDBBuzzer.h"
#include "PDBCommWork.h"
// do no work
CLASS_0 VAR_0 {
CLASS_1 VAR_1 : public VAR_2 {
public:
FUNC_0() {}
void FUNC_1(PDBBuzzerPtr callerBuzzer) ... | 0.481808 | {'CLASS_0': 'namespace', 'VAR_0': 'pdb', 'CLASS_1': 'class', 'VAR_1': 'NothingWork', 'FUNC_0': 'NothingWork', 'VAR_2': 'PDBWork', 'FUNC_1': 'execute', 'VAR_3': 'override'} |
/*
* Add a measurement to the log; the data at data_seg:data/length are
* appended to the TCG_PCClientPCREventStruct
*
* Input parameters:
* pcrIndex : which PCR to extend
* event_type : type of event; specs 10.4.1
* event_id : (unused)
* data : pointer to the data (i.e., string) to be added to th... | /*
* Add a measurement to the log; the data at data_seg:data/length are
* appended to the TCG_PCClientPCREventStruct
*
* Input parameters:
* pcrIndex : which PCR to extend
* event_type : type of event; specs 10.4.1
* event_id : (unused)
* data : pointer to the data (i.e., string) to be added to th... | 0.762053 | {'VAR_0': 'pcrIndex', 'VAR_1': 'event_id', 'VAR_2': 'data_ptr', 'VAR_3': 'length', 'VAR_4': 'rc', 'CLASS_0': 'hleei_short', 'VAR_5': 'hleei', 'CLASS_1': 'hleeo', 'VAR_6': 'hleeo', 'VAR_7': '_pcpes', 'CLASS_2': 'pcpes', 'VAR_8': 'pcpes', 'VAR_9': 'data', 'FUNC_0': 'memset', 'VAR_10': 'eventtype', 'VAR_11': 'eventdatasiz... |
/*
* Copyright 2014 MongoDB, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | /*
* Copyright 2014 MongoDB, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | 0.497799 | {'IMPORT_0': 'mongoc-array-private.h', 'IMPORT_1': 'mongoc-client.h', 'CLASS_0': 'BSON_BEGIN_DECLS', 'VAR_0': 'struct', 'VAR_1': '_mongoc_bulk_operation_t', 'VAR_2': 'database', 'VAR_3': 'ordered', 'CLASS_1': 'mongoc_array_t', 'VAR_4': 'commands', 'VAR_5': 'result', 'CLASS_2': 'mongoc_bulk_operation_t', 'CLASS_3': 'BSO... |
/*
Initializes all required high-level real/virtual serial port HAL drivers:
*/
void serialport_hal_init(void)
{
uart7_setup();
} | /*
Initializes all required high-level real/virtual serial port HAL drivers:
*/
void FUNC_0(void)
{
FUNC_1();
} | 0.968822 | {'FUNC_0': 'serialport_hal_init', 'FUNC_1': 'uart7_setup'} |
/* file: minmax_kernel.h */
/*******************************************************************************
* Copyright 2014 Intel Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at... | /* file: minmax_kernel.h */
/*******************************************************************************
* Copyright 2014 Intel Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at... | 0.171035 | {'IMPORT_0': 'algorithms/normalization/minmax.h', 'IMPORT_1': 'src/threading/threading.h', 'VAR_0': 'algorithms', 'VAR_1': 'template', 'VAR_2': 'algorithmFPType', 'CLASS_0': 'algorithmFPType', 'VAR_3': 'method', 'VAR_4': 'class', 'VAR_5': 'Status', 'VAR_6': 'maximums'} |
#include "emu.h"
#include "includes/galspnbl.h"
PALETTE_INIT( galspnbl )
{
int i;
/* initialize 555 RGB lookup */
for (i = 0; i < 32768; i++)
palette_set_color_rgb(machine, i + 1024, pal5bit(i >> 5), pal5bit(i >> 10), pal5bit(i >> 0));
}
/* sprite format (see also Ninja Gaiden):
*
* word bit ... | #include "emu.h"
#include "includes/galspnbl.h"
PALETTE_INIT( VAR_0 )
{
int i;
/* initialize 555 RGB lookup */
for (i = 0; i < 32768; i++)
palette_set_color_rgb(machine, i + 1024, pal5bit(i >> 5), pal5bit(i >> 10), pal5bit(i >> 0));
}
/* sprite format (see also Ninja Gaiden):
*
* word bit ... | 0.363386 | {'VAR_0': 'galspnbl', 'FUNC_0': 'draw_sprites', 'CLASS_0': 'running_machine', 'CLASS_1': 'bitmap_t', 'VAR_1': 'driver_data', 'VAR_2': 'spriteram', 'VAR_3': 'offs', 'VAR_4': 'layout', 'VAR_5': 'spriteram_size', 'VAR_6': 'sx', 'VAR_7': 'color', 'VAR_8': 'flipx', 'VAR_9': 'col', 'VAR_10': 'primary_screen', 'VAR_11': 'gfx'... |
#pragma once
namespace shared
{
class TemplatedObjectFactoryWrapper;
/*
类名:TemplatedObjectFactory
功能:根据注册类型的信息创建一个TOBJFLG的实例,类型TBase应是TOBJFLG的父类
*/
template<typename TBase, typename TOBJFLG>
class TemplatedObjectFactory : public nbase::Singleton<TemplatedObjectFactory<typename TBase, typename TOBJFLG>>
{
priva... | #pragma once
namespace VAR_0
{
CLASS_0 VAR_2;
/*
类名:TemplatedObjectFactory
功能:根据注册类型的信息创建一个TOBJFLG的实例,类型TBase应是TOBJFLG的父类
*/
VAR_3<VAR_4 TBase, VAR_4 VAR_5>
VAR_1 TemplatedObjectFactory : public VAR_7::VAR_8<VAR_6<VAR_4 TBase, VAR_4 VAR_5>>
{
private:
VAR_9 _ParentType = VAR_7::VAR_8<VAR_6<VAR_4 TBase, VAR_4... | 0.742911 | {'VAR_0': 'shared', 'CLASS_0': 'class', 'VAR_1': 'class', 'VAR_2': 'TemplatedObjectFactoryWrapper', 'VAR_3': 'template', 'VAR_4': 'typename', 'VAR_5': 'TOBJFLG', 'ID_0': 'TOBJFLG', 'CLASS_1': 'TOBJFLG', 'VAR_6': 'TemplatedObjectFactory', 'FUNC_0': 'TemplatedObjectFactory', 'VAR_7': 'nbase', 'VAR_8': 'Singleton', 'VAR_9... |
/**
* @brief Used to parse advertising data and scan response data
* @param[in] scan_info point to scan information data.
* @retval void
*/
void bt_mesh_scatternet_app_parse_scan_info(T_LE_SCAN_INFO *scan_info)
{
uint8_t buffer[32];
uint8_t pos = 0;
while (pos < scan_info->data_len)
{
... | /**
* @brief Used to parse advertising data and scan response data
* @param[in] scan_info point to scan information data.
* @retval void
*/
void FUNC_0(T_LE_SCAN_INFO *VAR_0)
{
uint8_t buffer[32];
uint8_t pos = 0;
while (pos < VAR_0->data_len)
{
uint8_t length = VAR_0->data[pos++];
... | 0.594198 | {'FUNC_0': 'bt_mesh_scatternet_app_parse_scan_info', 'VAR_0': 'scan_info', 'FUNC_1': 'memcpy', 'FUNC_2': 'APP_PRINT_TRACE2', 'VAR_1': 'GAP_ADTYPE_FLAGS', 'FUNC_3': 'APP_PRINT_INFO1', 'VAR_2': 'GAP_ADTYPE_16BIT_MORE', 'VAR_3': 'GAP_ADTYPE_SERVICES_LIST_16BIT', 'VAR_4': 'i', 'VAR_5': 'GAP_ADTYPE_32BIT_MORE', 'VAR_6': 'GA... |
/* simpleide.c: Simple 8-bit IDE interface routines
Copyright (c) 2003-2016 <NAME>, <NAME>, <NAME>
Copyright (c) 2015 <NAME>
Copyright (c) 2016 <NAME>
$Id: simpleide.c 817 2016-07-18 11:56:29Z fredm $
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU ... | /* simpleide.c: Simple 8-bit IDE interface routines
Copyright (c) 2003-2016 <NAME>, <NAME>, <NAME>
Copyright (c) 2015 <NAME>
Copyright (c) 2016 <NAME>
$Id: simpleide.c 817 2016-07-18 11:56:29Z fredm $
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU ... | 0.10378 | {'VAR_0': 'data', 'VAR_1': 'simpleide_active'} |
//
// RPN_Calc.h
// RPN-Calc
//
// Created by <NAME> on 12/18/19.
// Copyright © 2019 <NAME>. All rights reserved.
//
#import <Foundation/Foundation.h>
//! Project version number for RPN_Calc.
FOUNDATION_EXPORT double RPN_CalcVersionNumber;
//! Project version string for RPN_Calc.
FOUNDATION_EXPORT const unsigne... | //
// RPN_Calc.h
// RPN-Calc
//
// Created by <NAME> on 12/18/19.
// Copyright © 2019 <NAME>. All rights reserved.
//
#import <Foundation/Foundation.h>
//! Project version number for RPN_Calc.
CLASS_0 VAR_0 VAR_1;
//! Project version string for RPN_Calc.
CLASS_0 const VAR_2 char RPN_CalcVersionString[];
// In t... | 0.827824 | {'CLASS_0': 'FOUNDATION_EXPORT', 'VAR_0': 'double', 'VAR_1': 'RPN_CalcVersionNumber', 'VAR_2': 'unsigned'} |
#include<stdio.h>
int main()
{
int a,b,c;
int istriangle=0;
printf("enter 3 integers which are sides of triangle\n");
scanf("%d%d%d",&a,&b,&c);
printf("a=%d\t,b=%d\t,c=%d",a,b,c);
// to check is it a triangle or not
if( a<b+c && b<a+c && c<a+b )
istriangle=1;
else
istriangle =0;
;
if (istriangle==1)
if... | #include<stdio.h>
int main()
{
int a,b,c;
int istriangle=0;
printf("enter 3 integers which are sides of triangle\n");
scanf("%d%d%d",&a,&b,&c);
printf("a=%d\t,b=%d\t,c=%d",a,b,c);
// to check is it a triangle or not
if( a<b+c && b<a+c && c<a+b )
istriangle=1;
else
istriangle =0;
;
if (istriangle==1)
if... | 0.013408 | {} |
/*
* Copyright (C) 2021 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | /*
* Copyright (C) 2021 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 0.301699 | {'IMPORT_0': 'stdio.h', 'IMPORT_1': 'platform/include/bt_endian.h', 'IMPORT_2': 'platform/include/queue.h', 'VAR_0': 'H4_HEADER_EVENT', 'VAR_1': 'SNOOP_PACKET_FLAG_RECEIVED', 'VAR_2': 'SNOOP_PACKET_FLAG_DATA', 'VAR_3': 'SNOOP_PACKET_FLAG_CMD_EVENT', 'VAR_4': 'MICROSECOND', 'VAR_5': 'HCI_H4_HEADER_LEN', 'VAR_6': 'versio... |
//
// ICCalculateDeputyWealth.h
// task28
//
// Created by <NAME>. on 12.04.17.
// Copyright © 2017 <NAME>. All rights reserved.
//
#ifndef ICCalculateDeputyWealth_h
#define ICCalculateDeputyWealth_h
#include <stdio.h>
void ICCalculateDeputyWealth (int,int);;
#endif /* ICCalculateDeputyWealth_h */
| //
// ICCalculateDeputyWealth.h
// task28
//
// Created by <NAME>. on 12.04.17.
// Copyright © 2017 <NAME>. All rights reserved.
//
#ifndef VAR_0
#define VAR_0
#include <stdio.h>
void FUNC_0 (int,int);;
#endif /* ICCalculateDeputyWealth_h */
| 0.763058 | {'VAR_0': 'ICCalculateDeputyWealth_h', 'FUNC_0': 'ICCalculateDeputyWealth'} |
/* add a new type decl to this kludge
* this will insert into tdecls and dict_tname
*
* returns 1 on success
* returns 0 on failure
*/
unsigned int ic_kludge_add_tdecl(struct ic_kludge *kludge, struct ic_decl_type *tdecl) {
struct ic_symbol *sym = 0;
char *str = 0;
if (!kludge) {
puts("ic_kludg... | /* add a new type decl to this kludge
* this will insert into tdecls and dict_tname
*
* returns 1 on success
* returns 0 on failure
*/
unsigned int FUNC_0(struct CLASS_0 *VAR_0, struct CLASS_1 *VAR_1) {
struct CLASS_2 *VAR_2 = 0;
char *VAR_3 = 0;
if (!VAR_0) {
FUNC_1("ic_kludge_add_tdecl: kludg... | 0.999606 | {'FUNC_0': 'ic_kludge_add_tdecl', 'CLASS_0': 'ic_kludge', 'VAR_0': 'kludge', 'CLASS_1': 'ic_decl_type', 'VAR_1': 'tdecl', 'CLASS_2': 'ic_symbol', 'VAR_2': 'sym', 'VAR_3': 'str', 'FUNC_1': 'puts', 'FUNC_2': 'ic_decl_type_type_params_length', 'FUNC_3': 'ic_decl_type_is_instantiated', 'FUNC_4': 'ic_decl_type_full_name', '... |
#ifndef _ml_func_
#define _ml_func_
namespace ml {
double DiffPosture(const ml::Posture& p1, const ml::Posture& p2);
Motion& stitch(Motion m1, Motion m2, int warp_width = 20);
std::pair<cml::vector3d, std::vector<cml::vector3d>> difference(const Posture &p2, const Posture &p1);
void add_difference(Postu... | #ifndef VAR_0
#define VAR_0
CLASS_0 VAR_1 {
double FUNC_0(const CLASS_1::VAR_2& VAR_3, const CLASS_1::VAR_2& VAR_4);
Motion& FUNC_1(Motion m1, Motion VAR_5, VAR_6 VAR_7 = 20);
std::VAR_9<VAR_10::VAR_11, VAR_8::VAR_12<VAR_10::VAR_11>> difference(VAR_13 VAR_2 &VAR_4, VAR_13 VAR_2 &VAR_3);
void FUNC_2(CLAS... | 0.718084 | {'VAR_0': '_ml_func_', 'CLASS_0': 'namespace', 'VAR_1': 'ml', 'CLASS_1': 'ml', 'FUNC_0': 'DiffPosture', 'VAR_2': 'Posture', 'CLASS_2': 'Posture', 'VAR_3': 'p1', 'VAR_4': 'p2', 'FUNC_1': 'stitch', 'VAR_5': 'm2', 'VAR_6': 'int', 'VAR_7': 'warp_width', 'VAR_8': 'std', 'CLASS_3': 'std', 'VAR_9': 'pair', 'VAR_10': 'cml', 'C... |
//
// NCBFirstPerihperalManager.h
// NanochapSDK
//
// Created by 刘帅 on 2018/12/12.
// Copyright © 2018年 刘帅. All rights reserved.
//
#import "NCBPeripheralManager.h"
#import "NCBCommonConst.h"
@class NCBFirstPerihperalManager;
@protocol NCBFirstPerihperalManagerDataDelegate <NCBPeripheralManagerDataDelegate>
@op... | //
// NCBFirstPerihperalManager.h
// NanochapSDK
//
// Created by 刘帅 on 2018/12/12.
// Copyright © 2018年 刘帅. All rights reserved.
//
#import "NCBPeripheralManager.h"
#import "NCBCommonConst.h"
@CLASS_0 VAR_0;
@protocol VAR_1 <VAR_2>
@VAR_3
/**
时间设置成功回调
@param firstPeripheralManager 外设管理对像
*/
- (void)firstPe... | 0.429075 | {'CLASS_0': 'class', 'VAR_0': 'NCBFirstPerihperalManager', 'VAR_1': 'NCBFirstPerihperalManagerDataDelegate', 'VAR_2': 'NCBPeripheralManagerDataDelegate', 'VAR_3': 'optional', 'VAR_4': '_Nonnull', 'ID_0': 'BOOL', 'VAR_5': 'succeed', 'VAR_6': 'ledTest', 'VAR_7': 'NCBFactoryTestResult', 'VAR_8': 'result', 'VAR_9': 'errorC... |
#pragma once
#include <Node/node.h>
#include <Game/Player/cPlayer.h>
namespace Game
{
namespace UI
{
class cCannonMeter : public Node::node
{
public:
CREATE_H( cCannonMeter, cinder::vec2 contentSize, Player::Team playerTeam, Player::Team myTeam )
{
CREATE( cCannonMeter, contentSize, playerTeam, myTeam );
}
bool ... | #pragma once
#include <Node/node.h>
#include <Game/Player/cPlayer.h>
namespace VAR_0
{
namespace UI
{
class cCannonMeter : public VAR_1::VAR_2
{
public:
CREATE_H( cCannonMeter, cinder::VAR_3 VAR_4, Player::Team playerTeam, Player::Team myTeam )
{
CREATE( cCannonMeter, VAR_4, playerTeam, myTeam );
}
bool init( ci... | 0.316232 | {'VAR_0': 'Game', 'VAR_1': 'Node', 'VAR_2': 'node', 'VAR_3': 'vec2', 'VAR_4': 'contentSize', 'VAR_5': 'line', 'VAR_6': 'player1', 'VAR_7': 'player2'} |
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/* lib/krb5/krb/random_str.c - Definition of krb5int_random_string() */
/*
* Copyright (C) 2013 by the Massachusetts Institute of Technology.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification,... | /* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */
/* lib/krb5/krb/random_str.c - Definition of krb5int_random_string() */
/*
* Copyright (C) 2013 by the Massachusetts Institute of Technology.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification,... | 0.685464 | {'CLASS_0': 'krb5_error_code', 'VAR_0': 'context', 'VAR_1': 'string', 'VAR_2': 'length', 'VAR_3': 'charlist', 'FUNC_0': 'malloc', 'VAR_4': 'data', 'FUNC_1': 'krb5_c_random_make_octets', 'FUNC_2': 'free'} |
/*******************************************************************************
** WeightedEntropy.h
** Part of the mutual information toolbox
**
** Contains functions to calculate the entropy of a single variable H(X),
** the joint entropy of two variables H(X,Y), and the conditional entropy
** H(X|Y), while using a... | /*******************************************************************************
** WeightedEntropy.h
** Part of the mutual information toolbox
**
** Contains functions to calculate the entropy of a single variable H(X),
** the joint entropy of two variables H(X,Y), and the conditional entropy
** H(X|Y), while using a... | 0.595834 | {'VAR_0': '__WeightedEntropy_H', 'IMPORT_0': 'MIToolbox/MIToolbox.h', 'VAR_1': '__cplusplus', 'CLASS_0': 'uint', 'VAR_2': 'dataVector', 'VAR_3': 'vectorLength', 'FUNC_0': 'calcWeightedJointEntropy', 'VAR_4': 'secondVector', 'VAR_5': 'conditionVector', 'FUNC_1': 'discAndCalcWeightedConditionalEntropy', 'CLASS_1': 'Weigh... |
/*
* Copyright © 2021 Michał 'Griwes' Dominiak
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable la... | /*
* Copyright © 2021 Michał 'Griwes' Dominiak
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable la... | 0.371679 | {'IMPORT_0': '../../cpu.h', 'VAR_0': 'acpi', 'FUNC_0': 'initialize', 'VAR_1': 'acpi_root', 'FUNC_1': 'parse_hpet'} |
/*
* i2cmasterdrv.c
*
* Created: 28/07/2021 19:25:41
* Author: jerem
*/
#include "i2cmasterdrv.h"
void InitialiseI2C()
{
/* Disable TWI */
//PRR &= ~(1 << PRTWI);
TWCR = 0;
/* SCL bitrate = F_CPU / (16 + 2 * TWBR * TWPS value) */
/* Configured bit rate is 100.000kHz, based on CPU frequency 8.000MH... | /*
* i2cmasterdrv.c
*
* Created: 28/07/2021 19:25:41
* Author: jerem
*/
#include "IMPORT_0"
void FUNC_0()
{
/* Disable TWI */
//PRR &= ~(1 << PRTWI);
VAR_0 = 0;
/* SCL bitrate = F_CPU / (16 + 2 * TWBR * TWPS value) */
/* Configured bit rate is 100.000kHz, based on CPU frequency 8.000MHz */
VAR_1 ... | 0.985054 | {'IMPORT_0': 'i2cmasterdrv.h', 'FUNC_0': 'InitialiseI2C', 'VAR_0': 'TWCR', 'VAR_1': 'TWBR', 'VAR_2': 'TWSR', 'VAR_3': 'TWPS0', 'VAR_4': 'TWPS1', 'VAR_5': 'CLEAR_I2C_INT_FLAG', 'VAR_6': 'ENABLE_I2C', 'VAR_7': 'ENABLE_I2C_INT', 'VAR_8': 'ENABLE_ACK_GEN', 'CLASS_0': 'i2cstat_t', 'FUNC_1': 'StartI2CWrite', 'VAR_9': 'addr',... |
/* src/interfaces/ecpg/ecpglib/extern.h */
#ifndef _ECPG_LIB_EXTERN_H
#define _ECPG_LIB_EXTERN_H
#include "libpq-fe.h"
#include "sqlca.h"
#include "sqlda-native.h"
#include "sqlda-compat.h"
#include "ecpg_config.h"
#ifndef CHAR_BIT
#include <limits.h>
#endif
enum COMPAT_MODE
{
ECPG_COMPAT_PGSQL = 0, ECPG_COMPAT... | /* src/interfaces/ecpg/ecpglib/extern.h */
#ifndef VAR_0
#define VAR_0
#include "IMPORT_0"
#include "IMPORT_1"
#include "sqlda-native.h"
#include "IMPORT_2"
#include "IMPORT_3"
#ifndef VAR_1
#include <IMPORT_4>
#endif
enum CLASS_0
{
VAR_2 = 0, VAR_3, ECPG_COMPAT_INFORMIX_SE
};
extern bool VAR_4;
#define FUNC_... | 0.822038 | {'VAR_0': '_ECPG_LIB_EXTERN_H', 'IMPORT_0': 'libpq-fe.h', 'IMPORT_1': 'sqlca.h', 'IMPORT_2': 'sqlda-compat.h', 'IMPORT_3': 'ecpg_config.h', 'VAR_1': 'CHAR_BIT', 'IMPORT_4': 'limits.h', 'CLASS_0': 'COMPAT_MODE', 'VAR_2': 'ECPG_COMPAT_PGSQL', 'VAR_3': 'ECPG_COMPAT_INFORMIX', 'VAR_4': 'ecpg_internal_regression_mode', 'FUN... |
// TerrainMesh.h
// Generates a plane mesh based on resolution, which can be manipulated using a heightmap.
// Uses "quilt" pattern to build a series of quads across the mesh.
// Adapted from a combination of the CMP301 plane mesh, the CMP301 quad mesh, and the Rastertek terrain mesh provided in the terrain generation ... | // TerrainMesh.h
// Generates a plane mesh based on resolution, which can be manipulated using a heightmap.
// Uses "quilt" pattern to build a series of quads across the mesh.
// Adapted from a combination of the CMP301 plane mesh, the CMP301 quad mesh, and the Rastertek terrain mesh provided in the terrain generation ... | 0.974255 | {'VAR_0': '_TERRAINMESH_H_', 'IMPORT_0': '../DXFramework/BaseMesh.h', 'IMPORT_1': 'ImprovedNoise.h', 'IMPORT_2': 'SimplexNoise.h', 'CLASS_0': 'class', 'VAR_1': 'TerrainMesh', 'FUNC_0': 'TerrainMesh', 'VAR_2': 'public', 'VAR_3': 'BaseMesh', 'CLASS_1': 'HeightMapType', 'VAR_4': 'x', 'VAR_5': 'y', 'VAR_6': 'z', 'VAR_7': '... |
//
// UIView+BorderLine.h
// CYOCFramework
//
// Created by yanyan on 2017/9/29.
// Copyright © 2017年 yanyan. All rights reserved.
//
#import <UIKit/UIKit.h>
typedef NS_OPTIONS(NSUInteger, UIBorderSideType) {
UIBorderSideTypeAll = 0,
UIBorderSideTypeTop = 1 << 0,
UIBorderSideTypeBottom = 1 << 1,
U... | //
// UIView+BorderLine.h
// CYOCFramework
//
// Created by yanyan on 2017/9/29.
// Copyright © 2017年 yanyan. All rights reserved.
//
#import <UIKit/UIKit.h>
typedef VAR_0(ID_0, ID_1) {
VAR_1 = 0,
VAR_2 = 1 << 0,
VAR_3 = 1 << 1,
VAR_4 = 1 << 2,
VAR_5 = 1 << 3,
};
@VAR_6 FUNC_0(VAR_7)
- (CLASS_... | 0.955814 | {'VAR_0': 'NS_OPTIONS', 'ID_0': 'NSUInteger', 'ID_1': 'UIBorderSideType', 'VAR_1': 'UIBorderSideTypeAll', 'VAR_2': 'UIBorderSideTypeTop', 'VAR_3': 'UIBorderSideTypeBottom', 'VAR_4': 'UIBorderSideTypeLeft', 'VAR_5': 'UIBorderSideTypeRight', 'VAR_6': 'interface', 'FUNC_0': 'UIView', 'CLASS_0': 'UIView', 'VAR_7': 'BorderL... |
//===- RewriteByReferenceParameters.h -------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | //===- RewriteByReferenceParameters.h -------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | 0.929666 | {'VAR_0': 'POLLY_REWRITEBYREFERENCEPARAMETERS_H', 'IMPORT_0': 'polly/ScopPass.h', 'CLASS_0': 'namespace', 'VAR_1': 'llvm', 'CLASS_1': 'llvm', 'CLASS_2': 'class', 'VAR_2': 'PassRegistry', 'VAR_3': 'Pass', 'VAR_4': 'polly', 'FUNC_0': 'createRewriteByrefParamsWrapperPass', 'CLASS_3': 'RewriteByrefParamsPass', 'VAR_5': 'Re... |
//Copyright (c) 2014, IDEO
#include "LemmaList.h"
#include <stdlib.h>
#include <string.h>
#include "jansson.h"
LemmaList* LemmaList_Dejsonify(json_t* json)
{
int listLength;
int i;
LemmaList * list = 0;
list = LemmaList_Create();
listLength = json_array_size(json);
for(... | //Copyright (c) 2014, IDEO
#include "IMPORT_0"
#include <IMPORT_1>
#include <IMPORT_2>
#include "jansson.h"
LemmaList* FUNC_0(CLASS_0* VAR_0)
{
int VAR_1;
int VAR_2;
LemmaList * VAR_3 = 0;
VAR_3 = FUNC_1();
VAR_1 = FUNC_2(VAR_0);
for(VAR_2 = 0; VAR_2 < VAR_1; VAR_2++)
... | 0.887817 | {'IMPORT_0': 'LemmaList.h', 'IMPORT_1': 'stdlib.h', 'IMPORT_2': 'string.h', 'FUNC_0': 'LemmaList_Dejsonify', 'CLASS_0': 'json_t', 'VAR_0': 'json', 'VAR_1': 'listLength', 'VAR_2': 'i', 'VAR_3': 'list', 'FUNC_1': 'LemmaList_Create', 'FUNC_2': 'json_array_size', 'VAR_4': 'subElement', 'FUNC_3': 'json_array_get', 'FUNC_4':... |
#include <std.h>
inherit ROOM;
object *begging;
void init() {
::init();
add_action("confess", "confess");
add_action("pray", "pray");
}
void create() {
::create();
set_listen_string("default", "You hear the faint sounds of "
"chanting from up the stairs.");
set_listen_string("upstair... | #include <std.h>
inherit VAR_0;
CLASS_0 *begging;
void init() {
::init();
add_action("confess", "confess");
add_action("pray", "pray");
}
void FUNC_0() {
::FUNC_0();
set_listen_string("default", "You hear the faint sounds of "
"chanting from up the stairs.");
set_listen_string("upsta... | 0.51474 | {'VAR_0': 'ROOM', 'CLASS_0': 'object', 'VAR_1': 'object', 'FUNC_0': 'create', 'VAR_2': '', 'VAR_3': 'd', 'VAR_4': 'standard', 'VAR_5': 'east', 'FUNC_1': 'set_items', 'FUNC_2': 'this_player', 'VAR_6': 'this_player', 'CLASS_1': 'this_player', 'FUNC_3': 'query_ghost', 'FUNC_4': 'revive', 'FUNC_5': 'set_hp', 'VAR_7': 'str'... |
/* back-bone - provides access to the internal database */
#include <stdio.h>
#include "back.h"
int back_bone(UNUSED int argc, UNUSED char** argv) {
BACK_ERR("subcommand 'bone' not yet implemented");
return -1;
}
| /* back-bone - provides access to the internal database */
#include <IMPORT_0>
#include "IMPORT_1"
int back_bone(UNUSED int argc, UNUSED char** argv) {
BACK_ERR("subcommand 'bone' not yet implemented");
return -1;
}
| 0.174827 | {'IMPORT_0': 'stdio.h', 'IMPORT_1': 'back.h'} |
#pragma once
#include "BF/System/Log.h"
#include "BF/Platform/API/OpenGL/GLCommon.h"
#include "BF/Common.h"
namespace BF
{
namespace Platform
{
namespace API
{
namespace OpenGL
{
const char* GetGLError(GLenum error);
#ifdef _DEBUG
#define GLCall(stmt) \
do { stmt; \
GLenum error = glGetError(... | #pragma once
#include "IMPORT_0"
#include "BF/Platform/API/OpenGL/GLCommon.h"
#include "IMPORT_1"
CLASS_0 VAR_0
{
CLASS_0 Platform
{
CLASS_0 VAR_1
{
CLASS_0 OpenGL
{
const char* FUNC_0(GLenum VAR_2);
#ifdef VAR_3
#define FUNC_1(VAR_4) \
do { stmt; \
GLenum error = glGetError(); \
if (err... | 0.772703 | {'IMPORT_0': 'BF/System/Log.h', 'IMPORT_1': 'BF/Common.h', 'CLASS_0': 'namespace', 'VAR_0': 'BF', 'VAR_1': 'API', 'FUNC_0': 'GetGLError', 'VAR_2': 'error', 'VAR_3': '_DEBUG', 'FUNC_1': 'GLCall', 'VAR_4': 'stmt'} |
#ifndef ALBUMMODEL_H
#define ALBUMMODEL_H
#include <QAbstractTableModel>
#include <QDebug>
#include "muse_client.h"
class AlbumModel : public QAbstractTableModel
{
Q_OBJECT
public:
AlbumModel(QObject *parent = 0);
void populateData(struct albuminfolst* albums);
void addData(struct albuminfolst* al... | #ifndef VAR_0
#define VAR_0
#include <IMPORT_0>
#include <QDebug>
#include "IMPORT_1"
class VAR_1 : VAR_2 IMPORT_0
{
Q_OBJECT
VAR_2:
FUNC_0(QObject *parent = 0);
void populateData(struct CLASS_0* VAR_3);
void addData(struct CLASS_0* VAR_3);
int rowCount(const QModelIndex &parent = QModelIndex... | 0.419745 | {'VAR_0': 'ALBUMMODEL_H', 'IMPORT_0': 'QAbstractTableModel', 'IMPORT_1': 'muse_client.h', 'VAR_1': 'AlbumModel', 'FUNC_0': 'AlbumModel', 'VAR_2': 'public', 'CLASS_0': 'albuminfolst', 'VAR_3': 'albums', 'CLASS_1': 'Q_DECL_OVERRIDE', 'VAR_4': 'Q_DECL_OVERRIDE', 'VAR_5': 'columnCount', 'CLASS_2': 'QVariant', 'FUNC_1': 'da... |
// My code
#include <lcm/lcm-cpp.hpp>
struct worldmap
{
double map[1000][1000];
};
struct rotMat_t
{
double R[3][3];
};
struct xyzq_pose_t{
double xyz[3];
double wxyz_quaternion[4];
};
int WORLD_SIZE = 10;
float LOCAL_MAP_SIZE = 1.5; // in meters
int CELLS_PER_M = ceil((float) 100 / LOCAL_MAP_SIZE);
xyzq_... | // My code
#include <lcm/lcm-cpp.hpp>
struct CLASS_0
{
double map[1000][1000];
};
struct CLASS_1
{
double R[3][3];
};
struct CLASS_2{
double VAR_0[3];
double VAR_1[4];
};
int WORLD_SIZE = 10;
float VAR_2 = 1.5; // in meters
int VAR_3 = FUNC_0((float) 100 / VAR_2);
CLASS_2 VAR_4;
CLASS_3 state_estimator_po... | 0.735961 | {'CLASS_0': 'worldmap', 'CLASS_1': 'rotMat_t', 'CLASS_2': 'xyzq_pose_t', 'VAR_0': 'xyz', 'VAR_1': 'wxyz_quaternion', 'VAR_2': 'LOCAL_MAP_SIZE', 'VAR_3': 'CELLS_PER_M', 'FUNC_0': 'ceil', 'VAR_4': 'lidar_pose', 'CLASS_3': 'state_estimator_lcmt', 'CLASS_4': 'lcm', 'VAR_5': 'LCM', 'FUNC_1': 'vision_lcm', 'VAR_6': 'vision_l... |
/*****************************************************************************
Major portions of this software are copyrighted by the Medical College
of Wisconsin, 1994-2000, and are released under the Gnu General Public
License, Version 2. See the file README.Copyright for details.
**************************... | /*****************************************************************************
Major portions of this software are copyrighted by the Medical College
of Wisconsin, 1994-2000, and are released under the Gnu General Public
License, Version 2. See the file README.Copyright for details.
**************************... | 0.283545 | {'VAR_0': 'a2p', 'VAR_1': 'i2s', 'CLASS_0': 'THD_dataxes', 'VAR_2': 'daxes', 'FUNC_0': 'ISVALID_3DIM_DATASET', 'VAR_3': 'xxorient', 'VAR_4': 'ORI_P2A_TYPE', 'VAR_5': 'ORI_S2I_TYPE', 'VAR_6': 'orients', 'VAR_7': 'xx', 'VAR_8': 'yy', 'VAR_9': 'pp', 'VAR_10': 'qq', 'FUNC_1': 'OR3OK', 'VAR_11': 'ax_2', 'VAR_12': 'xyz_org',... |
/*Writes the bit pattern for the run length of a super block run to the given
oggpack_buffer.
_opb: The buffer to write to.
_run_count: The length of the run, which must be positive.
_flag: The current flag.
_done: Whether or not more flags are to be encoded.*/
static void oc_sb_run_pack(oggp... | /*Writes the bit pattern for the run length of a super block run to the given
oggpack_buffer.
_opb: The buffer to write to.
_run_count: The length of the run, which must be positive.
_flag: The current flag.
_done: Whether or not more flags are to be encoded.*/
static void FUNC_0(CLASS_0 *VAR... | 0.91446 | {'FUNC_0': 'oc_sb_run_pack', 'CLASS_0': 'oggpack_buffer', 'VAR_0': '_opb', 'VAR_1': '_run_count', 'VAR_2': '_flag', 'VAR_3': '_done', 'VAR_4': 'i', 'FUNC_1': 'oggpackB_write', 'VAR_5': 'OC_SB_RUN_VAL_MIN', 'VAR_6': 'OC_SB_RUN_CODE_PREFIX', 'VAR_7': 'OC_SB_RUN_CODE_NBITS'} |
/**
* ZeroDark.cloud Framework
*
* Homepage : https://www.zerodark.cloud
* GitHub : https://github.com/4th-ATechnologies/ZeroDark.cloud
* Documentation : https://zerodarkcloud.readthedocs.io/en/latest/
* API Reference : https://apis.zerodark.cloud
**/
#import <UIKit/UIKit.h>
typedef NS_OPTIONS(NSU... | /**
* ZeroDark.cloud Framework
*
* Homepage : https://www.zerodark.cloud
* GitHub : https://github.com/4th-ATechnologies/ZeroDark.cloud
* Documentation : https://zerodarkcloud.readthedocs.io/en/latest/
* API Reference : https://apis.zerodark.cloud
**/
#import <UIKit/UIKit.h>
typedef NS_OPTIONS(NSU... | 0.180138 | {'FUNC_0': 'property', 'VAR_0': 'origin'} |
/******************************************************************************
** COPYRIGHT NOTICE
** (c) 2012 The Johns Hopkins University Applied Physics Laboratory
** All rights reserved.
**
*****************************************************************... | /******************************************************************************
** COPYRIGHT NOTICE
** (c) 2012 The Johns Hopkins University Applied Physics Laboratory
** All rights reserved.
**
*****************************************************************... | 0.520585 | {'IMPORT_0': 'ion.h', 'IMPORT_1': '../shared/adm/adm_bp.h', 'IMPORT_2': '../shared/primitives/ctrl.h', 'CLASS_0': 'value_t', 'FUNC_0': 'adm_bp_md_name', 'VAR_0': 'params', 'FUNC_1': 'val_from_string', 'FUNC_2': 'adm_bp_node_get_node_id', 'CLASS_1': 'NmbpNode', 'VAR_1': 'node_state', 'FUNC_3': 'bpnm_node_get', 'VAR_2': ... |
/* zunik.f -- translated by f2c (version 20190311).
You must link the resulting object file with libf2c:
on Microsoft Windows system, link with libf2c.lib;
on Linux or Unix systems, link with .../path/to/libf2c.a -lm
or, if you install libf2c.a in a standard place, with -lf2c -lm
-- in that order, at the end of ... | /* zunik.f -- translated by f2c (version 20190311).
You must link the resulting object file with libf2c:
on Microsoft Windows system, link with libf2c.lib;
on Linux or Unix systems, link with .../path/to/libf2c.a -lm
or, if you install libf2c.a in a standard place, with -lf2c -lm
-- in that order, at the end of ... | 0.091397 | {'FUNC_0': 'zunik_', 'VAR_0': 'init', 'VAR_1': 'zeta2i', 'VAR_2': 'sumi', 'VAR_3': 'cwrkr', 'VAR_4': 'con', 'VAR_5': 'i__1', 'VAR_6': 'ac'} |
/******************************************************************************
* Copyright (c) 2019 - 2020 Xilinx, Inc. All rights reserved.
* SPDX-License-Identifier: MIT
******************************************************************************/
#ifndef XPM_DEVICE_IDLE_H_
#define XPM_DEVICE_IDLE_H_
#include ... | /******************************************************************************
* Copyright (c) 2019 - 2020 Xilinx, Inc. All rights reserved.
* SPDX-License-Identifier: MIT
******************************************************************************/
#ifndef VAR_0
#define VAR_0
#include "IMPORT_0"
#include "xpm_n... | 0.491241 | {'VAR_0': 'XPM_DEVICE_IDLE_H_', 'IMPORT_0': 'xparameters.h', 'IMPORT_1': 'xpm_device.h', 'VAR_1': '__cplusplus', 'CLASS_0': 'XPmDevice_SoftResetInfo', 'ID_0': 'XPmDevice_SoftResetInfo', 'VAR_2': 'DeviceId', 'VAR_3': 'BaseAddress', 'VAR_4': 'IdleHookArgs', 'VAR_5': 'XPAR_XQSPIPSU_0_DEVICE_ID', 'VAR_6': 'XPAR_XOSPIPSV_0_... |
#include "StackHelper.h"
#include <core/Stack_.h>
#include <dataTypes/stack_p.h>
size_t stack_get_size(Stack stack)
{
return stack_size(stack->entries);
} | #include "IMPORT_0"
#include <IMPORT_1>
#include <dataTypes/stack_p.h>
size_t FUNC_0(CLASS_0 VAR_0)
{
return stack_size(VAR_0->VAR_1);
} | 0.748406 | {'IMPORT_0': 'StackHelper.h', 'IMPORT_1': 'core/Stack_.h', 'FUNC_0': 'stack_get_size', 'CLASS_0': 'Stack', 'VAR_0': 'stack', 'VAR_1': 'entries'} |
/*
* end_keymenu - free resources associated with keymenu display cache
*/
void
end_keymenu()
{
int i;
for(i = 0; i < 12; i++){
if(last_time_buf[i].name)
fs_give((void **)&last_time_buf[i].name);
if(last_time_buf[i].label)
fs_give((void **)&last_time_buf[i].label);
}
} | /*
* end_keymenu - free resources associated with keymenu display cache
*/
void
FUNC_0()
{
int i;
for(i = 0; i < 12; i++){
if(last_time_buf[i].VAR_0)
FUNC_1((void **)&last_time_buf[i].VAR_0);
if(last_time_buf[i].label)
FUNC_1((void **)&last_time_buf[i].label);
}
} | 0.556632 | {'FUNC_0': 'end_keymenu', 'VAR_0': 'name', 'FUNC_1': 'fs_give'} |
/// <introduction>
/// dynamic array
/// implemented by array
/// </introduction>
#pragma once
#include <stdint.h>
#include "TypeTraits.h"
template<typename T>
class DynamicArray
{
private:
T* buffer_;
size_t capacity_;
size_t size_;
public:
DynamicArray() : buffer_(nullptr), size_(0), capacity_(0) {};
DynamicAr... | /// <introduction>
/// dynamic array
/// implemented by array
/// </introduction>
#pragma once
#include <stdint.h>
#include "TypeTraits.h"
VAR_0<VAR_1 VAR_2>
class VAR_3
{
private:
VAR_2* VAR_4;
size_t capacity_;
size_t VAR_5;
public:
FUNC_0() : FUNC_1(nullptr), FUNC_2(0), capacity_(0) {};
VAR_3(const size_t& ca... | 0.423377 | {'VAR_0': 'template', 'VAR_1': 'typename', 'VAR_2': 'T', 'CLASS_0': 'T', 'VAR_3': 'DynamicArray', 'FUNC_0': 'DynamicArray', 'CLASS_1': 'DynamicArray', 'VAR_4': 'buffer_', 'FUNC_1': 'buffer_', 'VAR_5': 'size_', 'FUNC_2': 'size_', 'VAR_6': 'default_value', 'VAR_7': 'array', 'VAR_8': 'index', 'VAR_9': 'noexcept', 'CLASS_2... |
/*
* Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
* Unless required by ... | /*
* Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
* Unless required by ... | 0.152933 | {'FUNC_0': 'dbus_error_init', 'VAR_0': 'LOG_DEBUG', 'FUNC_1': 'dbus_bus_request_name', 'VAR_1': 'DBUS_REQUEST_NAME_REPLY_PRIMARY_OWNER', 'CLASS_0': 'DBusMessage', 'FUNC_2': 'dbus_message_append_args', 'FUNC_3': 'stt_setting_dbus_request_get_engine_list', 'CLASS_1': 'DBusMessageIter', 'VAR_2': 'size', 'VAR_3': 'engine_i... |
#ifndef WORLD_H
#define WORLD_H
#include <iostream>
#include <unordered_set>
#include <unordered_map>
#include <QPainter>
#include <QPoint>
#include "vect.h"
#include "physics.h"
#include "nn.h"
class World {
public:
static const int max_cell_size = 16; // maximum stable cell radius for physics engine
double... | #ifndef WORLD_H
#define WORLD_H
#include <iostream>
#include <IMPORT_0>
#include <unordered_map>
#include <QPainter>
#include <QPoint>
#include "vect.h"
#include "physics.h"
#include "nn.h"
class World {
public:
static const int max_cell_size = 16; // maximum stable cell radius for physics engine
double scal... | 0.087609 | {'IMPORT_0': 'unordered_set', 'CLASS_0': 'Physics', 'FUNC_0': 'Physics', 'VAR_0': 'population', 'VAR_1': 'nn', 'FUNC_1': 'mouseMove', 'FUNC_2': 'keyPress', 'VAR_2': 'key'} |
#ifndef IHTTPCLIENT_H
#define IHTTPCLIENT_H
#include <QObject>
#include <QHash>
#include "ipostpreparestrategyfactory.h"
struct ContentData
{
QString DataString;
QByteArray DataRaw;
QString ContentType;
QString FileName;
};
struct PostOptions
{
QString PrepareStrategy;
PostOptions();
};
cla... | #ifndef IHTTPCLIENT_H
#define IHTTPCLIENT_H
#include <QObject>
#include <QHash>
#include "ipostpreparestrategyfactory.h"
struct ContentData
{
QString DataString;
QByteArray DataRaw;
QString VAR_0;
QString FileName;
};
struct PostOptions
{
QString PrepareStrategy;
PostOptions();
};
class IPo... | 0.135138 | {'VAR_0': 'ContentType', 'CLASS_0': 'virtual', 'FUNC_0': 'Download', 'FUNC_1': 'SetProxy', 'FUNC_2': 'GetCookiesForUrl', 'VAR_1': 'cookies', 'VAR_2': 'slots'} |
/**
* Free an allocated data
* @param data pointer to an allocated memory
*/
void dm_free(const void * data)
{
if(data == &zero_mem) return;
if(data == NULL) return;
dm_ent_t * e = (dm_ent_t *)((uint8_t *) data - sizeof(dm_header_t));
e->header.used = 0;
#if DM_CUSTOM == 0
dm_ent_t * e_next... | /**
* Free an allocated data
* @param data pointer to an allocated memory
*/
void dm_free(const void * VAR_0)
{
if(VAR_0 == &VAR_1) return;
if(VAR_0 == NULL) return;
dm_ent_t * VAR_2 = (dm_ent_t *)((uint8_t *) VAR_0 - sizeof(dm_header_t));
VAR_2->VAR_3.VAR_4 = 0;
#if DM_CUSTOM == 0
dm_ent_t... | 0.813721 | {'VAR_0': 'data', 'VAR_1': 'zero_mem', 'VAR_2': 'e', 'VAR_3': 'header', 'VAR_4': 'used', 'VAR_5': 'e_next', 'FUNC_0': 'ent_get_next', 'VAR_6': 'd_size', 'FUNC_1': 'DM_CUST_FREE'} |
/*
+----------------------------------------------------------------------+
| HipHop for PHP |
+----------------------------------------------------------------------+
| Copyright (c) 2010 Facebook, Inc. (http://www.facebook.com) |
| Copyrigh... | /*
+----------------------------------------------------------------------+
| HipHop for PHP |
+----------------------------------------------------------------------+
| Copyright (c) 2010 Facebook, Inc. (http://www.facebook.com) |
| Copyrigh... | 0.238297 | {'CLASS_0': 'namespace', 'VAR_0': 'PDO_MYSQL_ATTR_MAX_BUFFER_SIZE', 'VAR_1': 'PDOMySql', 'FUNC_0': 'PDOMySql'} |
#include <string.h>
#include <stdlib.h>
//AST Includes
#include "ast/ast.h"
#include "ast/util/str_ast.h"
#include "ast/util/equals_ast.h"
//Typeinference Includes
#include "transpiler/main/typeinference/typeinfer.h"
//Typechecker Includes
#include "_tc.h"
#include "typechecker/util/tc_errors.h"
#include "typechecke... | #include <string.h>
#include <stdlib.h>
//AST Includes
#include "ast/ast.h"
#include "ast/util/str_ast.h"
#include "ast/util/equals_ast.h"
//Typeinference Includes
#include "transpiler/main/typeinference/typeinfer.h"
//Typechecker Includes
#include "IMPORT_0"
#include "typechecker/util/tc_errors.h"
#include "typeche... | 0.07741 | {'IMPORT_0': '_tc.h', 'VAR_0': 'm1', 'VAR_1': 'msg', 'FUNC_0': 'free', 'FUNC_1': 'tc_stmtblock', 'CLASS_0': 'SwitchStmt', 'FUNC_2': 'tc_range', 'CLASS_1': 'TryCatchStmt'} |
#include "cambadge.h"
#include "globals.h"
// serial control - mostly a remnant from the old serial camera board, some parts may not entirely work.
// useful for messing with camera & OLED commands etc. as well as getting live image data
// for image data you will probably want to crank up the baudrate to 2Mbaud or h... |
#include "IMPORT_0"
#include "IMPORT_1"
// serial control - mostly a remnant from the old serial camera board, some parts may not entirely work.
// useful for messing with camera & OLED commands etc. as well as getting live image data
// for image data you will probably want to crank up the baudrate to 2Mbaud or high... | 0.657708 | {'IMPORT_0': 'cambadge.h', 'IMPORT_1': 'globals.h', 'VAR_0': 'serialcontrol', 'VAR_1': 'camoptions', 'VAR_2': 'x', 'VAR_3': 'y', 'VAR_4': 'outptr', 'VAR_5': 'c', 'VAR_6': 'rxptr', 'VAR_7': 'rxtimer', 'VAR_8': 'U2STAbits', 'VAR_9': 'OERR', 'VAR_10': 'FERR', 'FUNC_0': 'cam_setreg', 'FUNC_1': 'cam_grabenable', 'VAR_11': '... |
/*
* Copyright 2021 MusicScience37 (<NAME>)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law o... | /*
* Copyright 2021 MusicScience37 (<NAME>)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law o... | 0.291421 | {'IMPORT_0': 'stat_bench/bench/benchmark_condition.h', 'CLASS_0': 'class', 'FUNC_0': 'measurer_finished', 'VAR_0': 'BenchmarkCaseInfo', 'VAR_1': 'case_info', 'FUNC_1': 'measurement_succeeded', 'CLASS_1': 'measurer', 'VAR_2': 'cond'} |
/*
This file is part of Caelum.
See http://www.ogre3d.org/wiki/index.php/Caelum
Copyright (c) 2008 Caelum team. See Contributors.txt for details.
Caelum 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, ei... | /*
This file is part of Caelum.
See http://www.ogre3d.org/wiki/index.php/Caelum
Copyright (c) 2008 Caelum team. See Contributors.txt for details.
Caelum 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, ei... | 0.492673 | {'VAR_0': 'CAELUM__OWNED_PTR_H', 'CLASS_0': 'namespace', 'VAR_1': 'Caelum', 'VAR_2': 'DefaultOwnedPtrTraits', 'FUNC_0': 'getNullValue', 'VAR_3': 'getNullValue', 'FUNC_1': 'getPointer', 'VAR_4': 'typename', 'VAR_5': 'typedef', 'VAR_6': 'reset', 'FUNC_2': 'reset', 'FUNC_3': 'setNull', 'VAR_7': 'rhs', 'FUNC_4': 'isNull', ... |
/*
* @file UpdateCaller.h
*
* @author <NAME>
* @description Calls a custom function to be updated at a regular interval.
*/
#include<functional>
class UpdateCaller
{
public:
UpdateCaller(int linterval)
{
interval = linterval;
on_update_handler=NULL;
lastMS=0;
}
void update()
{
unsign... | /*
* @file UpdateCaller.h
*
* @author <NAME>
* @description Calls a custom function to be updated at a regular interval.
*/
#include<IMPORT_0>
CLASS_0 VAR_0
{
public:
FUNC_0(VAR_1 VAR_2)
{
VAR_3 = VAR_2;
VAR_4=NULL;
lastMS=0;
}
void FUNC_2()
{
unsigned long VAR_5 = FUNC_3();
unsi... | 0.827746 | {'IMPORT_0': 'functional', 'CLASS_0': 'class', 'VAR_0': 'UpdateCaller', 'FUNC_0': 'UpdateCaller', 'VAR_1': 'int', 'VAR_2': 'linterval', 'VAR_3': 'interval', 'VAR_4': 'on_update_handler', 'FUNC_1': 'on_update_handler', 'FUNC_2': 'update', 'VAR_5': 'curMS', 'FUNC_3': 'millis', 'FUNC_4': 'callUpdater', 'VAR_6': 'callUpdat... |
/*
Copyright (c) 2017 TOSHIBA Digital Solutions Corporation
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
This... | /*
Copyright (c) 2017 TOSHIBA Digital Solutions Corporation
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
This... | 0.932965 | {'VAR_0': 'SQL_JOB_COMMON_H_', 'IMPORT_0': 'sql_task_context.h', 'IMPORT_1': 'data_store_common.h', 'IMPORT_2': 'cluster_common.h', 'IMPORT_3': 'sql_type.h', 'ID_0': 'TaskId', 'CLASS_0': 'TaskId', 'ID_1': 'InputId', 'ID_2': 'AssignNo', 'CLASS_1': 'AssignNo', 'CLASS_2': 'class', 'VAR_1': 'class', 'VAR_2': 'SQLProcessor'... |
/*
* FloatMixer.h
* ------------
* Purpose: Floating point mixer classes
* Notes : (currently none)
* Authors: OpenMPT Devs
* The OpenMPT source code is released under the BSD license. Read LICENSE for more details.
*/
#pragma once
#include "BuildSettings.h"
#include "MixerInterface.h"
#include "Resampler.h... | /*
* FloatMixer.h
* ------------
* Purpose: Floating point mixer classes
* Notes : (currently none)
* Authors: OpenMPT Devs
* The OpenMPT source code is released under the BSD license. Read LICENSE for more details.
*/
#pragma once
#include "BuildSettings.h"
#include "IMPORT_0"
#include "Resampler.h"
OPENM... | 0.392901 | {'IMPORT_0': 'MixerInterface.h', 'VAR_0': 'int', 'VAR_1': 'out', 'VAR_2': 'IntToFloatTraits', 'VAR_3': 'std', 'VAR_4': 'output_t', 'FUNC_0': 'Convert', 'VAR_5': 'x', 'ID_0': 'x', 'VAR_6': 'static_cast', 'VAR_7': 'Int8MToFloatS', 'VAR_8': 'int16', 'VAR_9': 'Int16MToFloatS', 'VAR_10': 'Int8SToFloatS', 'VAR_11': 'Int16STo... |
/*
BAREOS® - Backup Archiving REcovery Open Sourced
Copyright (C) 2004-2008 Free Software Foundation Europe e.V.
Copyright (C) 2011-2012 Planets Communications B.V.
Copyright (C) 2013-2013 Bareos GmbH & Co. KG
This program is Free Software; you can redistribute it and/or
modify it under the terms of... | /*
BAREOS® - Backup Archiving REcovery Open Sourced
Copyright (C) 2004-2008 Free Software Foundation Europe e.V.
Copyright (C) 2011-2012 Planets Communications B.V.
Copyright (C) 2013-2013 Bareos GmbH & Co. KG
This program is Free Software; you can redistribute it and/or
modify it under the terms of... | 0.638155 | {'VAR_0': '__ACL_H', 'VAR_1': 'ACL_REPORT_ERR_MAX_PER_JOB', 'VAR_2': 'bacl_exit_fatal', 'VAR_3': 'bacl_exit_error', 'VAR_4': 'bacl_exit_ok', 'VAR_5': 'BACL_TYPE_NONE', 'ID_0': 'bacl_type', 'VAR_6': 'ACL_TYPE_NONE', 'VAR_7': 'HAVE_HPUX_OS', 'VAR_8': 'HAVE_LINUX_OS', 'VAR_9': 'BACL_ENOTSUP', 'VAR_10': 'HAVE_IRIX_OS', 'VA... |
/* abounce_event - resume pseudo thread after server reply event */
static void abounce_event(int event, void *context)
{
ABOUNCE *ap = (ABOUNCE *) context;
int status;
ABOUNCE_EVENT_DISABLE(vstream_fileno(ap->fp), abounce_event, context);
abounce_done(ap, (event != EVENT_TIME
&& attr_scan(a... | /* abounce_event - resume pseudo thread after server reply event */
static void FUNC_0(int event, void *VAR_1)
{
CLASS_0 *VAR_2 = (CLASS_0 *) VAR_1;
int VAR_3;
FUNC_1(FUNC_2(VAR_2->VAR_4), VAR_0, VAR_1);
FUNC_3(VAR_2, (event != EVENT_TIME
&& FUNC_4(VAR_2->VAR_4, VAR_5,
RECV_ATTR_INT(M... | 0.805549 | {'FUNC_0': 'abounce_event', 'VAR_0': 'abounce_event', 'VAR_1': 'context', 'CLASS_0': 'ABOUNCE', 'VAR_2': 'ap', 'VAR_3': 'status', 'FUNC_1': 'ABOUNCE_EVENT_DISABLE', 'FUNC_2': 'vstream_fileno', 'VAR_4': 'fp', 'FUNC_3': 'abounce_done', 'FUNC_4': 'attr_scan', 'VAR_5': 'ATTR_FLAG_STRICT', 'VAR_6': 'ATTR_TYPE_END'} |
//**************************************************************************************************
//
// OSSIM Open Source Geospatial Data Processing Library
// See top level LICENSE.txt file for license information
//
//*****************************************************************************************... | //**************************************************************************************************
//
// OSSIM Open Source Geospatial Data Processing Library
// See top level LICENSE.txt file for license information
//
//*****************************************************************************************... | 0.120198 | {'VAR_0': 'OSSIM_PLUGINS_DLL', 'CLASS_0': 'std', 'VAR_1': 'std', 'VAR_2': 'map', 'VAR_3': 's_instance'} |
#ifndef _PYRUNTIME_H
#define _PYRUNTIME_H
/*
* Fledge Python Runtime.
*
* Copyright (c) 2021 Dianomic Systems
*
* Released under the Apache 2.0 Licence
*
* Author: <NAME>
*/
#include <Python.h>
class PythonRuntime {
public:
static PythonRuntime *getPythonRuntime();
void execute(const std::string& python)... | #ifndef _PYRUNTIME_H
#define _PYRUNTIME_H
/*
* Fledge Python Runtime.
*
* Copyright (c) 2021 Dianomic Systems
*
* Released under the Apache 2.0 Licence
*
* Author: <NAME>
*/
#include <Python.h>
class PythonRuntime {
public:
VAR_0 PythonRuntime *FUNC_0();
void FUNC_1(const CLASS_0::string& VAR_1);
CLASS... | 0.578775 | {'VAR_0': 'static', 'FUNC_0': 'getPythonRuntime', 'FUNC_1': 'execute', 'CLASS_0': 'std', 'VAR_1': 'python', 'CLASS_1': 'PyObject', 'VAR_2': 'name', 'VAR_3': 'fmt', 'FUNC_2': 'importModule', 'VAR_4': 'rhs', 'VAR_5': 'operator', 'FUNC_3': 'logException'} |
#ifndef __IVORY_FREERTOS_SEMAPHORE_WRAPPER_H__
#define __IVORY_FREERTOS_SEMAPHORE_WRAPPER_H__
#include "FreeRTOS.h"
#include "semphr.h"
struct binary_semaphore {
SemaphoreHandle_t v;
};
void ivory_freertos_binary_semaphore_create(struct binary_semaphore* bs_handle);
void ivory_freertos_binary_semaphore_takeblocki... |
#ifndef VAR_0
#define VAR_0
#include "IMPORT_0"
#include "IMPORT_1"
struct CLASS_0 {
CLASS_1 VAR_1;
};
void FUNC_0(struct CLASS_0* VAR_2);
void FUNC_1(struct CLASS_0* VAR_2);
void FUNC_2(struct CLASS_0* VAR_2);
void FUNC_3(struct CLASS_0* VAR_2);
#endif // __IVORY_FREERTOS_SEMAPHORE_WRAPPER_H__
| 0.879603 | {'VAR_0': '__IVORY_FREERTOS_SEMAPHORE_WRAPPER_H__', 'IMPORT_0': 'FreeRTOS.h', 'IMPORT_1': 'semphr.h', 'CLASS_0': 'binary_semaphore', 'CLASS_1': 'SemaphoreHandle_t', 'VAR_1': 'v', 'FUNC_0': 'ivory_freertos_binary_semaphore_create', 'VAR_2': 'bs_handle', 'FUNC_1': 'ivory_freertos_binary_semaphore_takeblocking', 'FUNC_2':... |
#include "libm.h"
//FIXME
long double complex csinhl(long double complex z)
{
return csinh(z);
}
| #include "IMPORT_0"
//FIXME
long double VAR_0 FUNC_0(long double VAR_0 VAR_1)
{
return FUNC_1(VAR_1);
}
| 0.914432 | {'IMPORT_0': 'libm.h', 'VAR_0': 'complex', 'FUNC_0': 'csinhl', 'VAR_1': 'z', 'FUNC_1': 'csinh'} |
//
// PaintingliteUUID.h
// Paintinglite
//
// Created by <NAME> on 2020/6/10.
// Copyright © 2020 <NAME>. All rights reserved.
//
/*!
@header PaintingliteUUID
@abstract PaintingliteUUID 提供SDK框架中生成随机UUID
@author CreaterOS
@version 1.00 2020/6/10 Creation (此文档的版本信息)
*/
#import "PaintingliteCUDOptions.h"
NS_A... | //
// PaintingliteUUID.h
// Paintinglite
//
// Created by <NAME> on 2020/6/10.
// Copyright © 2020 <NAME>. All rights reserved.
//
/*!
@header PaintingliteUUID
@abstract PaintingliteUUID 提供SDK框架中生成随机UUID
@author CreaterOS
@version 1.00 2020/6/10 Creation (此文档的版本信息)
*/
#import "PaintingliteCUDOptions.h"
CLAS... | 0.651658 | {'CLASS_0': 'NS_ASSUME_NONNULL_BEGIN', 'VAR_0': 'interface', 'VAR_1': 'PaintingliteCUDOptions', 'VAR_2': 'NSString', 'VAR_3': 'getPaintingliteUUID', 'CLASS_1': 'end', 'VAR_4': 'NS_ASSUME_NONNULL_END'} |
//Copyright (c) 2013 <NAME>(meson800)
//The MIT License - See ../../../LICENSE for more info
#ifndef HOOK_OBSERVER
#define HOOK_OBSERVER
#include "PanelClickRecorderOutput.h"
class PanelClickRecorderOutput;
extern class HookObserver
{
public:
HookObserver() {}
void h_handlePanelMouseEvent(int id, int ev, int mx, ... | //Copyright (c) 2013 <NAME>(meson800)
//The MIT License - See ../../../LICENSE for more info
#ifndef HOOK_OBSERVER
#define HOOK_OBSERVER
#include "IMPORT_0"
class PanelClickRecorderOutput;
extern class HookObserver
{
public:
HookObserver() {}
void h_handlePanelMouseEvent(int VAR_0, int ev, int mx, int my);
void ... | 0.188027 | {'IMPORT_0': 'PanelClickRecorderOutput.h', 'VAR_0': 'id'} |
#include "stdafx.h"
#ifndef STATBAR_H_INCLUDED
#define STATBAR_H_INCLUDED
#include "UIStructs.h"
namespace StatBar {
war3::CStatBar* create(void* parent = 0, war3::CUnit* owner = 0, uint32_t type = 0);
war3::CStatBar* init(war3::CStatBar* t, void* parent = 0, war3::CUnit* owner = 0, uint32_t type = 0);
void destro... | #include "stdafx.h"
#ifndef VAR_0
#define VAR_0
#include "UIStructs.h"
namespace StatBar {
war3::CStatBar* create(void* parent = 0, war3::VAR_1* owner = 0, VAR_2 type = 0);
war3::CStatBar* init(war3::CStatBar* t, void* parent = 0, war3::VAR_1* owner = 0, VAR_2 type = 0);
void destroy(war3::CStatBar* t);
uint32_t... | 0.093148 | {'VAR_0': 'STATBAR_H_INCLUDED', 'VAR_1': 'CUnit', 'VAR_2': 'uint32_t'} |
#include<stdio.h>
#include<math.h>
int main()
{
int i,k,c,br=0,new=0,mark=0;
float masiv1[1000],masiv2[64],sum;
for(i=0;scanf("%f",&masiv1[i])!=EOF;i++);
masiv2[0]=masiv1[0];
for(k=1;k<i;k++)
{
if(k==1)br++;
for(c=0;c<k;c++)
{
if(masiv1[k]==masiv1[c]){mark=1;break;}
}
if(mark==1){mark=0;continue;}
br++;
if(br>=64)brea... | #include<stdio.h>
#include<math.h>
int FUNC_0()
{
int VAR_0,k,c,br=0,new=0,VAR_1=0;
float VAR_2[1000],masiv2[64],VAR_3;
for(VAR_0=0;scanf("%f",&VAR_2[VAR_0])!=VAR_4;VAR_0++);
masiv2[0]=VAR_2[0];
for(k=1;k<VAR_0;k++)
{
if(k==1)br++;
for(c=0;c<k;c++)
{
if(VAR_2[k]==VAR_2[c]){VAR_1=1;break;}
}
if(VAR_1==1){VAR_1=0;contin... | 0.510137 | {'FUNC_0': 'main', 'VAR_0': 'i', 'VAR_1': 'mark', 'VAR_2': 'masiv1', 'VAR_3': 'sum', 'VAR_4': 'EOF', 'FUNC_1': 'printf'} |
/**
* @brief User defined output funciton
* @param jd: pointer to JDEC structure.
* bitmap: pointer to the buffer of decompressed RGB data
* rect: the rectanglar range of decompressed area
* @retval 1
*/
UINT JpgDec_out_func(JDEC* jd, void* bitmap, JRECT* rect)
{
IODEV *dev = (IODEV*)jd-... | /**
* @brief User defined output funciton
* @param jd: pointer to JDEC structure.
* bitmap: pointer to the buffer of decompressed RGB data
* rect: the rectanglar range of decompressed area
* @retval 1
*/
UINT FUNC_0(CLASS_0* jd, void* bitmap, CLASS_1* VAR_0)
{
CLASS_2 *dev = (CLASS_2*)jd... | 0.875299 | {'FUNC_0': 'JpgDec_out_func', 'CLASS_0': 'JDEC', 'CLASS_1': 'JRECT', 'VAR_0': 'rect', 'CLASS_2': 'IODEV', 'VAR_1': 'device', 'CLASS_3': 'BYTE', 'VAR_2': 'src', 'VAR_3': 'dst', 'VAR_4': 'y', 'VAR_5': 'bws', 'VAR_6': 'bwd', 'VAR_7': 'left', 'FUNC_1': 'RgbLcdShowBitmap', 'VAR_8': 'bottom'} |
#include <stdio.h>
int main()
{
int n, a[20], b[20], bb[20], i, j, time, flag = 0, lowest;
int g[20] = {0}, tat[20], wt[20], d;
float stat = 0, swt = 0;
printf("Enter the no. of processes:\n");
scanf("%d", &n);
printf("Enter the arrival time and burst time:\n");
for(i=0; i<n; i++)
{
scanf("%d %d", &a[i]... | #include <stdio.h>
int main()
{
int n, a[20], b[20], bb[20], i, j, time, flag = 0, lowest;
int g[20] = {0}, tat[20], wt[20], d;
float stat = 0, VAR_0 = 0;
printf("Enter the no. of processes:\n");
scanf("%d", &n);
printf("Enter the arrival time and burst time:\n");
for(i=0; i<n; i++)
{
scanf("%d %d", &a[... | 0.143386 | {'VAR_0': 'swt'} |
//
// sell_order.h
// Laboratory 3
//
// Created by <NAME> on 2020-11-16.
//
#ifndef sell_order_h
#define sell_order_h
#include<string>
class orders
{
public:
std::string name__;
int price__;
orders* next__;
orders() {}
orders(std::string name_, int price_): name__(name_), price__(price_) {} ... | //
// sell_order.h
// Laboratory 3
//
// Created by <NAME> on 2020-11-16.
//
#ifndef VAR_0
#define VAR_0
#include<string>
class orders
{
public:
std::string name__;
int price__;
orders* VAR_1;
orders() {}
orders(ID_0::string name_, int VAR_2): name__(name_), price__(VAR_2) {}
//orders(st... | 0.25047 | {'VAR_0': 'sell_order_h', 'ID_0': 'std', 'VAR_1': 'next__', 'VAR_2': 'price_'} |
/*******************************************************************************/
/* This file is auto-generated by Azure RTOS GUIX Studio. Do not edit this */
/* file by hand. Modifications to this file should only be made by running */
/* the Azure RTOS GUIX Studio application and re-generating the applicati... | /*******************************************************************************/
/* This file is auto-generated by Azure RTOS GUIX Studio. Do not edit this */
/* file by hand. Modifications to this file should only be made by running */
/* the Azure RTOS GUIX Studio application and re-generating the applicati... | 0.663974 | {'VAR_0': 'GUIX_STUDIO_GENERATED_FILE', 'IMPORT_0': 'h750_180_90_resources.h', 'IMPORT_1': 'h750_180_90_specifications.h', 'CLASS_0': 'GX_WIDGET', 'CLASS_1': 'GX_BYTE', 'CLASS_2': 'GX_CONST', 'VAR_1': 'GX_STUDIO_WIDGET', 'VAR_2': 'definition', 'CLASS_3': 'WINDOW_CONTROL_BLOCK', 'ID_0': 'WINDOW_CONTROL_BLOCK', 'VAR_3': ... |
#ifndef NAGI_CMD_MISC_H
#define NAGI_CMD_MISC_H
extern u8 *cmd_version(u8 *c);
extern u8 *cmd_shake_screen(u8 *c);
#endif /* NAGI_CMD_MISC_H */
| #ifndef NAGI_CMD_MISC_H
#define NAGI_CMD_MISC_H
extern u8 *cmd_version(u8 *c);
extern u8 *cmd_shake_screen(u8 *c);
#endif /* NAGI_CMD_MISC_H */
| 0.159913 | {} |
// Writes out unstructured mesh data to visit
void write_unstructured_to_visit_3d(const int nnodes, int ncells,
const int step, double* nodes_x,
double* nodes_y, double* nodes_z,
const int* cells_to_nodes,
... | // Writes out unstructured mesh data to visit
void write_unstructured_to_visit_3d(const int VAR_0, int ncells,
const int step, double* VAR_1,
double* nodes_y, double* nodes_z,
const int* cells_to_nodes,
... | 0.297662 | {'VAR_0': 'nnodes', 'VAR_1': 'nodes_x', 'VAR_2': 'SILO', 'VAR_3': 'shapecounts', 'VAR_4': 'filename', 'CLASS_0': 'DBfile', 'VAR_5': 'DB_HDF5', 'FUNC_0': 'DBPutZonelist2', 'VAR_6': 'DB_NODECENT'} |
/*
* This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file.
*
* Copyright 2007-2020 Broadcom Inc. All rights reserved.
*/
/*
* Configuration example start:
*
* cint;
* ... | /*
* This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file.
*
* Copyright 2007-2020 Broadcom Inc. All rights reserved.
*/
/*
* Configuration example start:
*
* cint;
* ... | 0.176599 | {'FUNC_0': 'field_trap_code_no_sys_hdr_main', 'VAR_0': 'unit', 'VAR_1': 'trap_code', 'VAR_2': 'context_info', 'VAR_3': 'context_param', 'VAR_4': 'rv', 'FUNC_1': 'printf', 'FUNC_2': 'bcm_field_context_param_set', 'VAR_5': 'qual_data', 'VAR_6': 'qual_mask', 'FUNC_3': 'bcm_field_presel_set'} |
// Location recorded for un-named parameter is take from the defining declaration on line #10
static void foobar( int abcdefg );
// The location of the named function parameter below is used for that of the un-named parameter above.
// This causes comments to be incorrectly woven into the AST and unparsed incorrect... |
// Location recorded for un-named parameter is take from the defining declaration on line #10
static void FUNC_0( int VAR_0 );
// The location of the named function parameter below is used for that of the un-named parameter above.
// This causes comments to be incorrectly woven into the AST and unparsed incorrectly... | 0.11207 | {'FUNC_0': 'foobar', 'VAR_0': 'abcdefg'} |
/*
* Copyright (c) 2021 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or agr... | /*
* Copyright (c) 2021 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or agr... | 0.103738 | {'IMPORT_0': 'mpi_node.h', 'IMPORT_1': 'sink_node.h', 'CLASS_0': 'namespace', 'VAR_0': 'override'} |
#ifndef __Panel_H__
#define __Panel_H__
class Panel
{
public:
Panel();
virtual ~Panel();
void ToggleActive();
bool IsActive() const;
void ResizePanel();
virtual void Draw() {};
protected:
bool active = true;
char* name = nullptr;
int pos_x, pos_y, width, height;
bool resize = true;
};
#endif | #ifndef VAR_0
#define VAR_0
class VAR_1
{
public:
FUNC_0();
virtual ~FUNC_0();
void FUNC_1();
bool FUNC_2() const;
void FUNC_3();
virtual VAR_2 Draw() {};
protected:
bool VAR_3 = true;
char* name = nullptr;
int pos_x, VAR_4, VAR_5, VAR_6;
bool VAR_7 = true;
};
#endif | 0.734568 | {'VAR_0': '__Panel_H__', 'VAR_1': 'Panel', 'FUNC_0': 'Panel', 'FUNC_1': 'ToggleActive', 'FUNC_2': 'IsActive', 'FUNC_3': 'ResizePanel', 'VAR_2': 'void', 'VAR_3': 'active', 'VAR_4': 'pos_y', 'VAR_5': 'width', 'VAR_6': 'height', 'VAR_7': 'resize'} |
/* -------------------------------------------------------------------------- */
/* construct a file name from a file number (not user-callable) */
/* -------------------------------------------------------------------------- */
static void make_filename (Int filenum, char *prefix, char *filename)
{
char *psrc, *pd... | /* -------------------------------------------------------------------------- */
/* construct a file name from a file number (not user-callable) */
/* -------------------------------------------------------------------------- */
static void FUNC_0 (Int VAR_0, char *VAR_1, char *VAR_2)
{
char *VAR_3, *VAR_4 ;
#ifdef... | 0.735951 | {'FUNC_0': 'make_filename', 'VAR_0': 'filenum', 'VAR_1': 'prefix', 'VAR_2': 'filename', 'VAR_3': 'psrc', 'VAR_4': 'pdst', 'VAR_5': 'DLONG', 'FUNC_1': 'sprintf'} |
//
// Copyright 2020 WebAssembly Community Group participants
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by... | //
// Copyright 2020 WebAssembly Community Group participants
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by... | 0.637671 | {'IMPORT_4': 'cassert', 'IMPORT_5': 'string', 'IMPORT_6': 'wasp/base/formatters.h', 'IMPORT_7': 'wasp/text/types.h', 'VAR_151': 'wasp', 'VAR_152': 'WriteCtx', 'FUNC_2': 'DedentWithMinimum', 'FUNC_55': 'erase', 'CLASS_4': 'Base', 'VAR_153': 'Base', 'VAR_154': 'base', 'VAR_155': 'ctx', 'VAR_156': 'value', 'CLASS_5': 'val... |
#pragma once
namespace Cool {
/**
* @brief Color stored as 4 unsigned chars representing Red, Green, Blue and Alpha channels
*
*/
class Color {
public:
/**
* @brief Initialized as black with 255 alpha : (0, 0, 0, 255)
*
*/
Color();
/**
* @brief Takes values in the range [0, 255] (values outs... | #pragma once
CLASS_0 VAR_0 {
/**
* @brief Color stored as 4 unsigned chars representing Red, Green, Blue and Alpha channels
*
*/
CLASS_1 Color {
public:
/**
* @brief Initialized as black with 255 alpha : (0, 0, 0, 255)
*
*/
Color();
/**
* @brief Takes values in the range [0, 255] (values out... | 0.758772 | {'CLASS_0': 'namespace', 'VAR_0': 'Cool', 'CLASS_1': 'class', 'FUNC_0': 'set', 'VAR_1': 'r', 'VAR_2': 'g', 'VAR_3': 'b', 'CLASS_2': 'glm', 'VAR_4': 'vec3', 'VAR_5': '_channels'} |
//
// UIView+FCFrame.h
//
//
// Created by Charles on 16/9/1.
// Copyright © 2016年 Charles. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface UIView (FCFrame)
/**
* 快速根据xib创建View
*/
+ (instancetype)fc_viewFromXib;
/**
* 判断self和view是否重叠
*/
- (BOOL)fc_intersectsWithView:(UIView *)view;
/**
* 起点x坐标... | //
// UIView+FCFrame.h
//
//
// Created by Charles on 16/9/1.
// Copyright © 2016年 Charles. All rights reserved.
//
#import <UIKit/UIKit.h>
@CLASS_0 FUNC_0 (VAR_1)
/**
* 快速根据xib创建View
*/
+ (ID_0)VAR_2;
/**
* 判断self和view是否重叠
*/
- (ID_1)VAR_3:(VAR_0 *)VAR_4;
/**
* 起点x坐标
*/
@FUNC_1 (nonatomic, VAR_5) VAR_6... | 0.973283 | {'CLASS_0': 'interface', 'FUNC_0': 'UIView', 'VAR_0': 'UIView', 'VAR_1': 'FCFrame', 'ID_0': 'instancetype', 'VAR_2': 'fc_viewFromXib', 'ID_1': 'BOOL', 'VAR_3': 'fc_intersectsWithView', 'VAR_4': 'view', 'FUNC_1': 'property', 'VAR_5': 'assign', 'VAR_6': 'CGFloat', 'VAR_7': 'fc_x', 'VAR_8': 'fc_y', 'VAR_9': 'fc_centerX', ... |
#include "fs.h"
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "virtual_disk.h"
int fs_format(char *filename, uint16_t blocksize) {
vdisk_handle_t handle = vdisk_add(filename);
if (handle < 0) {
return -1;
}
int ret = myfs_format(handle, blocksize);
... | #include "fs.h"
#include <IMPORT_0>
#include <stdio.h>
#include <IMPORT_1>
#include <IMPORT_2>
#include "IMPORT_3"
int FUNC_0(char *filename, uint16_t VAR_0) {
CLASS_0 VAR_1 = FUNC_1(filename);
if (VAR_1 < 0) {
return -1;
}
int VAR_2 = FUNC_2(VAR_1, VAR_0);
FUNC_3(VAR_1);
return VAR_2... | 0.776739 | {'IMPORT_0': 'assert.h', 'IMPORT_1': 'stdlib.h', 'IMPORT_2': 'string.h', 'IMPORT_3': 'virtual_disk.h', 'FUNC_0': 'fs_format', 'VAR_0': 'blocksize', 'CLASS_0': 'vdisk_handle_t', 'VAR_1': 'handle', 'FUNC_1': 'vdisk_add', 'VAR_2': 'ret', 'FUNC_2': 'myfs_format', 'FUNC_3': 'vdisk_remove', 'VAR_3': 'i', 'VAR_4': 'filesystem... |
/*******************************************************************************
*
* FUNCTION: FlOpenInputFile
*
* PARAMETERS: InputFilename - The user-specified ASL source file to be
* compiled
*
* RETURN: Status
*
* DESCRIPTION: Open the specified input file,... | /*******************************************************************************
*
* FUNCTION: FlOpenInputFile
*
* PARAMETERS: InputFilename - The user-specified ASL source file to be
* compiled
*
* RETURN: Status
*
* DESCRIPTION: Open the specified input file,... | 0.930621 | {'FUNC_0': 'FlOpenInputFile', 'VAR_0': 'InputFilename', 'FUNC_1': 'FlOpenFile', 'VAR_1': 'ASL_FILE_INPUT', 'VAR_2': 'AslCompilerin', 'VAR_3': 'Gbl_Files', 'VAR_4': 'Handle', 'VAR_5': 'AE_OK'} |
//
// Created by Mookel on 16/10/1.
// Email : <EMAIL>
// Copyright (c) 2016 jlu.edu. All rights reserved.
// llcode.c : Print various tables needed for a llama-generated
// LL(1) parser.
//
/* A llama-generated LL(1) parser including following tables:
*
* Yyd[][] : The parser state machine's DFA transition t... | //
// Created by Mookel on 16/10/1.
// Email : <EMAIL>
// Copyright (c) 2016 jlu.edu. All rights reserved.
// llcode.c : Print various tables needed for a llama-generated
// LL(1) parser.
//
/* A llama-generated LL(1) parser including following tables:
*
* Yyd[][] : The parser state machine's DFA transition t... | 0.962004 | {'IMPORT_0': 'stdlib.h', 'IMPORT_1': 'parser.h', 'VAR_0': 'DTRAN', 'CLASS_0': 'PRIVATE', 'VAR_1': 'int', 'VAR_2': '_dtran', 'VAR_3': 'void', 'FUNC_0': 'fill_row', 'VAR_4': 'fill_row', 'CLASS_1': 'SYMBOL_S', 'VAR_5': 'lhs', 'FUNC_1': 'make_pushtab', 'VAR_6': 'make_pushtab', 'FUNC_2': 'make_yy_pushtab', 'FUNC_3': 'make_y... |
/**
* perfstats_done(P):
* Log final statistics and free the performance statistics cookie ${P}. On
* error, the statistics may have not been written but the cookie will still
* have been freed.
*/
int
perfstats_done(struct perfstats * P)
{
int rc;
rc = flush(P);
if (P->timer_cookie) {
events_timer_cancel(P-... | /**
* perfstats_done(P):
* Log final statistics and free the performance statistics cookie ${P}. On
* error, the statistics may have not been written but the cookie will still
* have been freed.
*/
int
perfstats_done(struct perfstats * P)
{
int rc;
rc = FUNC_0(P);
if (P->VAR_0) {
events_timer_cancel(P->VAR_0... | 0.355521 | {'FUNC_0': 'flush', 'VAR_0': 'timer_cookie', 'FUNC_1': 'free'} |
#pragma once
#include "iparamlist.h"
#include "optioninfo.h"
#include "string_utils.h"
#include <cmdlime/errors.h>
#include <cmdlime/customnames.h>
#include <cmdlime/stringconverter.h>
#include <vector>
#include <sstream>
#include <functional>
#include <memory>
namespace cmdlime::detail{
namespace str = string_utils;
... | #pragma once
#include "IMPORT_0"
#include "IMPORT_1"
#include "string_utils.h"
#include <IMPORT_2>
#include <IMPORT_3>
#include <IMPORT_4>
#include <IMPORT_5>
#include <IMPORT_6>
#include <IMPORT_7>
#include <memory>
namespace cmdlime::VAR_0{
namespace VAR_1 = VAR_2;
template <VAR_3 VAR_4>
VAR_5 ParamList : VAR_6 VAR... | 0.726657 | {'IMPORT_0': 'iparamlist.h', 'IMPORT_1': 'optioninfo.h', 'IMPORT_2': 'cmdlime/errors.h', 'IMPORT_3': 'cmdlime/customnames.h', 'IMPORT_4': 'cmdlime/stringconverter.h', 'IMPORT_5': 'vector', 'IMPORT_6': 'sstream', 'IMPORT_7': 'functional', 'VAR_0': 'detail', 'VAR_1': 'str', 'FUNC_0': 'str', 'VAR_2': 'string_utils', 'VAR_... |
/*
* Copyright (C) 2009-2011 Texas Instruments, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicabl... | /*
* Copyright (C) 2009-2011 Texas Instruments, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicabl... | 0.434496 | {'IMPORT_0': 'qnxscreen_api.h', 'VAR_0': 'm_qnxscreen', 'VAR_1': 'height', 'IMPORT_1': 'dvp/dvp_display.h', 'IMPORT_2': 'dvp/dvp_mem.h', 'IMPORT_3': 'dvp/dvp_debug.h', 'VAR_2': 'INITIAL_OFFSET_Y', 'FUNC_0': 'DVP_Display_Alloc', 'CLASS_0': 'DVP_Image_t', 'VAR_3': 'DVP_Image_t', 'VAR_4': 'index', 'VAR_5': 'length', 'FUNC... |
struct s { unsigned int bit1 :1; unsigned int bit4 :4;};
union u { struct s ans; int i; };
typedef union u bits;
int callee (bits b){
return b.ans.bit1 ? 3 : 4;
}
int main (int argc, int *argv[]){
bits b;
b.i = 5;
return callee(b);
}
| struct CLASS_0 { unsigned int VAR_0 :1; unsigned int bit4 :4;};
union CLASS_1 { struct CLASS_0 ans; int VAR_1; };
typedef union CLASS_1 ID_0;
int FUNC_0 (CLASS_2 VAR_2){
return VAR_2.ans.VAR_0 ? 3 : 4;
}
int FUNC_1 (int VAR_3, int *VAR_4[]){
CLASS_2 VAR_2;
VAR_2.VAR_1 = 5;
return FUNC_0(VAR_2);
}
| 0.879755 | {'CLASS_0': 's', 'VAR_0': 'bit1', 'CLASS_1': 'u', 'VAR_1': 'i', 'ID_0': 'bits', 'CLASS_2': 'bits', 'FUNC_0': 'callee', 'VAR_2': 'b', 'FUNC_1': 'main', 'VAR_3': 'argc', 'VAR_4': 'argv'} |
/*-
* Copyright (c) 2016 <NAME> <<EMAIL>>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of co... | /*-
* Copyright (c) 2016 <NAME> <<EMAIL>>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of co... | 0.884709 | {'IMPORT_18': 'sys/param.h', 'IMPORT_19': 'sys/systm.h', 'IMPORT_20': 'dev/ofw/openfirm.h', 'VAR_302': 'TEGRA_MUX_PUPD_SHIFT', 'VAR_303': 'TEGRA_MUX_RCV_SEL_SHIFT', 'VAR_304': 'TEGRA_GRP_HSM_SHIFT', 'VAR_305': 'TEGRA_GRP_DRV_TYPE_SHIFT', 'VAR_306': 'mux_mem_res', 'VAR_307': 'compat_data', 'VAR_308': 'PROP_ID_ENABLE_INP... |
/* track-item.h
*
* Copyright 2021 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ag... | /* track-item.h
*
* Copyright 2021 <NAME>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ag... | 0.596352 | {'IMPORT_0': 'glib-2.0/glib-object.h', 'IMPORT_1': 'gtk-4.0/gtk/gtk.h', 'IMPORT_2': 'indexer/structs.h', 'FUNC_0': 'G_DECLARE_FINAL_TYPE', 'VAR_0': 'KotoTrackItem', 'CLASS_0': 'KotoTrackItem', 'VAR_1': 'koto_track_item', 'VAR_2': 'KOTO', 'VAR_3': 'TRACK_ITEM', 'VAR_4': 'GtkBox', 'FUNC_1': 'koto_track_item_new', 'CLASS_... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.