repo_name stringlengths 5 122 | path stringlengths 3 232 | text stringlengths 6 1.05M |
|---|---|---|
jlmonge/cs153-xv6 | sysproc.c | #include "types.h"
#include "x86.h"
#include "defs.h"
#include "date.h"
#include "param.h"
#include "memlayout.h"
#include "mmu.h"
#include "proc.h"
int
sys_fork(void)
{
return fork();
}
int
sys_exit(void)
{
exit();
return 0; // not reached
}
int
sys_wait(void) //Modified for part B
{
int* status;
if(... |
jlmonge/cs153-xv6 | l2-modpr.c | <gh_stars>0
#include "types.h"
#include "stat.h"
#include "user.h"
#include "stddef.h"
int
main(int argc, char *argv[])
{
if (argc != 3) {
printf(1, "Usage: l2-modpr <pid> <priority>\n");
}
else {
int pid = atoi(argv[1]);
int priority = atoi(argv[2]);
if (priority < 1 || pr... |
jlmonge/cs153-xv6 | l2-lottery.c | <filename>l2-lottery.c<gh_stars>0
#include "types.h"
#include "stat.h"
#include "user.h"
#include "stddef.h"
// The test should be running ps
int
main(int argc, char *argv[])
{
if (argc != 2) {
printf(1, "Usage: l2-lottery <priority>\n");
}
else {
int pid = getpid();
int priority =... |
gbtunze/sesegpu | data.h | <reponame>gbtunze/sesegpu
#include <cnpy.h>
#include <stdio.h>
#include <wordexp.h>
#include <experimental/mdspan>
namespace stdex = std::experimental;
constexpr int side = 28;
using mnisttype = stdex::basic_mdspan<uint8_t, stdex::extents<stdex::dynamic_extent, side, side> >;
// Global scope to keep
cnpy::NpyArray x_t... |
jamesanto/ray | src/ray/pubsub/publisher.h | // Copyright 2017 The Ray Authors.
//
// 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 i... |
jamesanto/ray | cpp/include/ray/api/static_check.h | // Copyright 2017 The Ray Authors.
//
// 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 i... |
jamesanto/ray | src/ray/pubsub/subscriber.h | <reponame>jamesanto/ray
// Copyright 2017 The Ray Authors.
//
// 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 appli... |
jamesanto/ray | cpp/include/ray/api/task_caller.h | <gh_stars>1-10
#pragma once
#include <ray/api/static_check.h>
#include "ray/core.h"
namespace ray {
namespace api {
template <typename F>
class TaskCaller {
public:
TaskCaller();
TaskCaller(RayRuntime *runtime, RemoteFunctionPtrHolder ptr);
template <typename... Args>
ObjectRef<boost::callable_traits::re... |
jamesanto/ray | cpp/include/ray/api/actor_task_caller.h | <gh_stars>1-10
#pragma once
#include <ray/api/arguments.h>
#include <ray/api/exec_funcs.h>
#include <ray/api/object_ref.h>
#include <ray/api/static_check.h>
#include "ray/core.h"
namespace ray {
namespace api {
template <typename F>
class ActorTaskCaller {
public:
ActorTaskCaller() = default;
ActorTaskCaller(... |
alessandro308/MeshWeather | src/networkSettings.h |
#define MESH_PREFIX "meshNet"
#define MESH_PASSWORD "<PASSWORD>"
#define MESH_PORT 5555
#define SERVER_SSID "serverssid"
#define RSSI_THRESHOLD 50
#define SERVER_ID
|
gsn9/SugarSpice | SpiceQL/include/utils.h | /**
* @file
*
*
**/
#pragma once
#include <iostream>
#include <regex>
#include <optional>
#include <fmt/chrono.h>
#include <fmt/format.h>
#include <fmt/compile.h>
#include <nlohmann/json.hpp>
#include "spice_types.h"
/**
* @namespace SpiceQL
*
*/
namespace SpiceQL {
/**
* @brief force a string to uppe... |
gsn9/SugarSpice | SpiceQL/include/io.h | <reponame>gsn9/SugarSpice
#pragma once
/**
* @file
*
* Functions for reading and writing Kernels
*
**/
#include <string>
#include <vector>
#include <nlohmann/json.hpp>
namespace SpiceQL {
/**
* @brief C++ object repersenting NAIF spice SPK Segment and it's metadata
*
* SPK kernels consist of multip... |
gsn9/SugarSpice | SpiceQL/include/spice_types.h | #pragma once
/**
*
*
**/
#include <iostream>
#include <unordered_map>
#include <nlohmann/json.hpp>
/**
* @namespace SpiceQL types
*
*/
namespace SpiceQL {
/**
* @brief Base Kernel class
*
* This is mostly designed to enable the automatic unloading
* of kernels. The kernel is furnsh-ed on ... |
michaelyhuang23/ParGeo | include/kdTree/knnImpl.h | // This code is part of the project "ParGeo: A Library for Parallel Computational Geometry"
// Copyright (c) 2021-2022 <NAME>, <NAME>, <NAME>, <NAME>, <NAME>
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the
// "Software"), to ... |
michaelyhuang23/ParGeo | include/pargeo/atomics.h | // This file is part of pbbsbench
#pragma once
namespace pargeo {
template <typename ET>
inline bool atomic_compare_and_swap(ET* a, ET oldval, ET newval) {
static_assert(sizeof(ET) <= 8, "Bad CAS length");
if (sizeof(ET) == 1) {
uint8_t r_oval, r_nval;
std::memcpy(&r_oval, &oldval, sizeof(ET)... |
michaelyhuang23/ParGeo | include/pseudoDynamicKdTree/pdKnnImpl.h | // This code is part of the project "ParGeo: A Library for Parallel Computational Geometry"
// Copyright (c) 2021-2022 <NAME>, <NAME>, <NAME>, <NAME>, <NAME>
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the
// "Software"), to ... |
michaelyhuang23/ParGeo | include/dynamicKdTree/dynKdTree.h | #pragma once
#include <algorithm>
#include <math.h>
#include <queue>
#include <iostream>
#include <vector>
#include "parlay/parallel.h"
#include "parlay/sequence.h"
template <typename T>
using container = parlay::sequence<T>;
namespace pargeo {
namespace dynKdTree {
static const bool spatialMedian = true;
te... |
michaelyhuang23/ParGeo | include/pseudoDynamicKdTree/pdKdTree.h | // This code is part of the project "ParGeo: A Library for Parallel Computational Geometry"
// Copyright (c) 2021-2022 <NAME>, <NAME>, <NAME>, <NAME>, <NAME>
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the
// "Software"), to ... |
michaelyhuang23/ParGeo | include/pargeo/pointIO.h | <filename>include/pargeo/pointIO.h
// This code is part of the Problem Based Benchmark Suite (PBBS)
// Copyright (c) 2011 <NAME> and the PBBS team
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the
// "Software"), to deal in the... |
michaelyhuang23/ParGeo | include/pseudoDynamicKdTree/pdTreeImpl.h | // This code is part of the project "ParGeo: A Library for Parallel Computational Geometry"
// Copyright (c) 2021-2022 <NAME>, <NAME>, <NAME>, <NAME>, <NAME>
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the
// "Software"), to ... |
jkrueger/phosphorus_mk2 | src/shaders/noise.h | <gh_stars>1-10
#include "vector2.h"
#include "vector4.h"
float safe_noise(float p)
{
float f = noise("noise", p);
if (isinf(f))
return 0.5;
return f;
}
float safe_noise(vector2 p)
{
float f = noise("noise", p.x, p.y);
if (isinf(f))
return 0.5;
return f;
}
float safe_noise(vector p)
{
float f = ... |
jkrueger/phosphorus_mk2 | src/shaders/color_ramp.h | <filename>src/shaders/color_ramp.h
color rgb_ramp_lut(
color lut[]
, float at
, int interpolate
, int extrapolate)
{
float f = at;
if ((f < 0.0f || f > 1.0f) && extrapolate) {
return rgb_ramp_extrapolate(lut, f);
}
f = clamp(at, 0.0f, 1.0f) * (arraysize(lut) - 1);
int i = (int) f;
float t ... |
jkrueger/phosphorus_mk2 | src/shaders/fresnel.h |
float fresnel_dielectric(float cosi, float eta)
{
float c = fabs(cosi);
float g = eta * eta - 1.0 + c * c;
float result;
if (g > 0) {
g = sqrt(g);
float A = (g - c) / (g + c);
float B = (c * (g + c) - 1) / (c * (g - c) + 1);
result = 0.5 * A * A * (1 + B * B);
}
else {
result = 1.0;
... |
jkrueger/phosphorus_mk2 | src/shaders/phosphorus.h | <filename>src/shaders/phosphorus.h
#pragma once
/**
* Closures
*
*/
closure color sheen(normal N, float r) BUILTIN;
|
wenghengcong/JSIMWebrtcOverMQTT | JSIMWebrtcOverMQTT/other/WebRTCTool.h | <filename>JSIMWebrtcOverMQTT/other/WebRTCTool.h
//
// WebRTCManager.h
// JSIMWebrtcOverMQTT
//
// Created by WHC on 15/9/21.
// Copyright © 2015年 weaver software. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "JSIMTool.h"
#import "ServerConfig.h"
#import "MQTTSessionTool.h"
#import <RTCAVFound... |
wenghengcong/JSIMWebrtcOverMQTT | JSIMWebrtcOverMQTT/model/ChatMessage.h | //
// ChatMessage.h
// JSIMWebrtcOverMQTT
//
// Created by WHC on 15/9/18.
// Copyright (c) 2015年 weaver software. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "ClientUser.h"
@interface ChatMessage : NSObject<NSCoding>
@property (assign ,nonatomic)NSInteger mesID;
@property ... |
wenghengcong/JSIMWebrtcOverMQTT | JSIMWebrtcOverMQTT/model/ServerConfig.h | //
// ServerConfig.h
// JSIMWebrtcOverMQTT
//
// Created by WHC on 15/9/18.
// Copyright (c) 2015年 weaver software. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface ServerConfig : NSObject
@property (copy ,nonatomic)NSString *url;
@property (copy ,nonatomic)NSString *port;
@property ... |
wenghengcong/JSIMWebrtcOverMQTT | JSIMWebrtcOverMQTT/view/RTCVideoView.h | <gh_stars>10-100
//
// RTCVideoView.h
// JSIMWebrtcOverMQTT
//
// Created by WHC on 15/9/22.
// Copyright © 2015年 weaver software. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import <RTCVideoRenderer.h>
@interface RTCVideoView : UIView<RTCVideoRenderer>
@end
|
wenghengcong/JSIMWebrtcOverMQTT | JSIMWebrtcOverMQTT/viewController/ViewController.h | <reponame>wenghengcong/JSIMWebrtcOverMQTT
//
// ViewController.h
// JSIMWebrtcOverMQTT
//
// Created by WHC on 15/9/17.
// Copyright (c) 2015年 weaver software. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "ClientUser.h"
#import "ChatMessage.h"
#import "ServerConfig.h"
#import "ConfigSet.h"
#import "JSI... |
wenghengcong/JSIMWebrtcOverMQTT | JSIMWebrtcOverMQTT/model/ClientUser.h | <gh_stars>10-100
//
// ClientUser.h
// JSIMWebrtcOverMQTT
//
// Created by WHC on 15/9/18.
// Copyright (c) 2015年 weaver software. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface ClientUser : NSObject<NSCoding>
@property (assign ,nonatomic)NSInteger userID;
@property (copy ,nonatomic)NS... |
wenghengcong/JSIMWebrtcOverMQTT | JSIMWebrtcOverMQTT/ConfigSet.h | <filename>JSIMWebrtcOverMQTT/ConfigSet.h
//
// ConfigSet.h
// JSIMWebrtcOverMQTT
//
// Created by WHC on 15/9/18.
// Copyright (c) 2015年 weaver software. All rights reserved.
//
#ifndef JSIMWebrtcOverMQTT_ConfigSet_h
#define JSIMWebrtcOverMQTT_ConfigSet_h
#endif
#define UserAliceName @"JSIMUse... |
wenghengcong/JSIMWebrtcOverMQTT | JSIMWebrtcOverMQTT/viewController/VideoChatViewController.h | //
// VideoChatViewController.h
// JSIMWebrtcOverMQTT
//
// Created by WHC on 15/9/18.
// Copyright (c) 2015年 weaver software. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface VideoChatViewController : UIViewController
@end
|
wenghengcong/JSIMWebrtcOverMQTT | JSIMWebrtcOverMQTT/other/JSIMTool.h | <reponame>wenghengcong/JSIMWebrtcOverMQTT
//
// JSIMTool.h
// JSIMWebrtcOverMQTT
//
// Created by WHC on 15/9/18.
// Copyright (c) 2015年 weaver software. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "ConfigSet.h"
@interface JSIMTool : NSObject
/**
* 按步骤打印log
*
* @param setp <#setp d... |
wenghengcong/JSIMWebrtcOverMQTT | JSIMWebrtcOverMQTT/other/MQTTSessionTool.h | <filename>JSIMWebrtcOverMQTT/other/MQTTSessionTool.h
//
// MQTTSessionManager.h
// JSIMWebrtcOverMQTT
//
// Created by WHC on 15/9/21.
// Copyright © 2015年 weaver software. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <MQTTSession.h>
#import "ChatMessage.h"
#import "JSIMTool.h"
@interface MQT... |
SeanKh/mC-program_of_PointDriver | pointDriverController/PortIntHandler.c | <reponame>SeanKh/mC-program_of_PointDriver
#include "int_handler.h"
#include "tm4c1294ncpdt.h"
#include "inc/hw_memmap.h"
#include <stdint.h>
#include <stdbool.h>
#include "stdio.h"
#include <string.h>
#include <stdlib.h>
// PM0 servo, PM1 motor
void PortAHandler(void)
{
unsigned int i;
for(i=0;i<500000;i++);
... |
SeanKh/mC-program_of_PointDriver | pointDriverController/main.c | /**
* main.c
*/
#include <stdio.h>
#include "tm4c1294ncpdt.h"
#include "int_handler.h"
#include "inc/hw_memmap.h"
#include "driverlib/sysctl.h"
#include "driverlib/rom.h"
#include "driverlib/gpio.h"
#include "driverlib/pin_map.h"
#include "driverlib/rom_map.h"
#include "inc/hw_memmap.h"
#include "inc/hw_types.h"
/*... |
SeanKh/mC-program_of_PointDriver | pointDriverController/int_handler.h | <reponame>SeanKh/mC-program_of_PointDriver
#ifndef INT_HANDLER_H_
#define INT_HANDLER_H_
void PortAHandler(void);
void PortMHandler(void);
void PortDHandler(void);
void PortEHandler(void);
#endif
|
zhizhengwu/sparrowhawk | src/include/sparrowhawk/normalizer.h | <reponame>zhizhengwu/sparrowhawk
// 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 in ... |
madebr/3d-pinball-space-cadet | Classes/TlightGroup/TLightGroup.h | //
// Created by neo on 2019-08-15.
//
#include "../../pinball.h"
#ifndef PINBALL_TLIGHTGROUP_H
#define PINBALL_TLIGHTGROUP_H
/* 93 */
struct TLightGroup;
TZmapList* __thiscall TLightGroup::~TLightGroup(TLightGroup* this);
void __thiscall TLightGroup::Reset(TLightGroup* __hidden this); // idb
void TLightGroup::Time... |
madebr/3d-pinball-space-cadet | Classes/TBumper/TBumper.h | //
// Created by neo on 2019-08-15.
//
#include "../../pinball.h"
#ifndef PINBALL_TBUMPER_H
#define PINBALL_TBUMPER_H
/* 104 */
struct TBumper;
void TBumper::TimerExpired(int, void*); // idb
void __thiscall TBumper::Fire(TBumper* this); // idb
int __thiscall TBumper::Message(TBumper* this, int, float); // idb
int _... |
madebr/3d-pinball-space-cadet | pinball.h | <gh_stars>10-100
//
// Created by neo on 2019-08-15.
//
#include "Classes/classes.h"
#include <SDL.h>
#include <d3d.h>
#ifdef _WIN32
#include <CommCtrl.h>
#include <Vfw.h>
#include <gdiplus.h>
#include <WinUser.h>
#include <Windows.h>
#endif
#ifndef PINBALL_PINBALL_H
#define PINBALL_PINBALL_H
/*
... |
madebr/3d-pinball-space-cadet | Classes/TComponentGroup/TComponentGroup.h | <filename>Classes/TComponentGroup/TComponentGroup.h
//
// Created by neo on 2019-08-15.
//
#include "../../pinball.h"
#ifndef PINBALL_TCOMPONENTGROUP_H
#define PINBALL_TCOMPONENTGROUP_H
/* 127 */
struct TComponentGroup;
void TComponentGroup::NotifyTimerExpired(int, struct TPinballComponent*); // idb
int TComponentG... |
madebr/3d-pinball-space-cadet | Classes/TGate/TGate.h | <reponame>madebr/3d-pinball-space-cadet<filename>Classes/TGate/TGate.h
//
// Created by neo on 2019-08-15.
//
#include "../../pinball.h"
#ifndef PINBALL_TGATE_H
#define PINBALL_TGATE_H
/* 133 */
struct TGate;
int __thiscall TGate::Message(TGate* this, int, float); // idb
TGate* __thiscall TGate::TGate(TGate* this, ... |
madebr/3d-pinball-space-cadet | Classes/TPlunger/TPlunger.h | <filename>Classes/TPlunger/TPlunger.h
//
// Created by neo on 2019-08-15.
//
#include "../../pinball.h"
#ifndef PINBALL_TPLUNGER_H
#define PINBALL_TPLUNGER_H
/* 118 */
struct TPlunger;
void TPlunger::BallFeedTimer(int, void*); // idb
void TPlunger::PullbackTimer(int, void*); // idb
void TPlunger::PlungerReleasedTim... |
madebr/3d-pinball-space-cadet | Classes/TLightRollover/TLightRollover.h | <reponame>madebr/3d-pinball-space-cadet
//
// Created by neo on 2019-08-15.
//
#include "../../pinball.h"
#ifndef PINBALL_TLIGHTROLLOVER_H
#define PINBALL_TLIGHTROLLOVER_H
/* 109 */
struct TLightRollover;
void TLightRollover::delay_expired(int, void*); // idb
void __thiscall TLightRollover::Collision(TLightRollover... |
madebr/3d-pinball-space-cadet | Classes/TOneWay/TOneWay.h | //
// Created by neo on 2019-08-15.
//
#include "../../pinball.h"
#ifndef PINBALL_TONEWAY_H
#define PINBALL_TONEWAY_H
/* 103 */
struct TOneway;
int __thiscall TOneway::get_scoring(TOneway* this, int); // idb
void __thiscall TOneway::put_scoring(TOneway* this, int, int); // idb
void __thiscall TOneway::Collision(TOn... |
madebr/3d-pinball-space-cadet | Classes/TRollover/TRollover.h | <reponame>madebr/3d-pinball-space-cadet<gh_stars>10-100
//
// Created by neo on 2019-08-15.
//
#include "../../pinball.h"
#ifndef PINBALL_TROLLOVER_H
#define PINBALL_TROLLOVER_H
/* 108 */
struct TRollover;
void TRollover::TimerExpired(int, void*); // idb
int __thiscall TRollover::Message(TRollover* this, int, float... |
madebr/3d-pinball-space-cadet | Classes/TFlipper/TFlipper.h | <reponame>madebr/3d-pinball-space-cadet
//
// Created by neo on 2019-08-15.
//
#include "../../pinball.h"
#ifndef PINBALL_TFLIPPER_H
#define PINBALL_TFLIPPER_H
/* 121 */
struct TFlipper;
TZmapList* __thiscall TFlipper::~TFlipper(TFlipper* this);
void TFlipper::TimerExpired(int, void*); // idb
int __thiscall TFlippe... |
madebr/3d-pinball-space-cadet | Classes/TBlocker/TBlocker.h | <filename>Classes/TBlocker/TBlocker.h
//
// Created by neo on 2019-08-15.
//
#include "../../pinball.h"
#ifndef PINBALL_TBLOCKER_H
#define PINBALL_TBLOCKER_H
/* 130 */
struct TBlocker;
void TBlocker::TimerExpired(int, struct TPinballComponent*); // idb
int __thiscall TBlocker::Message(TBlocker* this, int, float); /... |
madebr/3d-pinball-space-cadet | Classes/TDemo/TDemo.h | //
// Created by neo on 2019-08-15.
//
#include "../../pinball.h"
#ifndef PINBALL_TDEMO_H
#define PINBALL_TDEMO_H
/* 128 */
struct TDemo;
void TDemo::PlungerRelease(int, void*); // idb
void TDemo::UnFlipRight(int, void*); // idb
void TDemo::UnFlipLeft(int, void*); // idb
void TDemo::FlipRight(int, void*); // idb
vo... |
madebr/3d-pinball-space-cadet | Classes/TTableLayer/TTableLayer.h | <gh_stars>10-100
//
// Created by neo on 2019-08-15.
//
#include "../../pinball.h"
#ifndef PINBALL_TTABLELAYER_H
#define PINBALL_TTABLELAYER_H
/* 116 */
struct TTableLayer;
int __thiscall TTableLayer::FieldEffect(TTableLayer* this, struct TBall*, struct vector_type*); // idb
TTableLayer* __thiscall TTableLayer::TTa... |
madebr/3d-pinball-space-cadet | Classes/TSound/TSound.h | <filename>Classes/TSound/TSound.h
//
// Created by neo on 2019-08-15.
//
#include "../../pinball.h"
#ifndef PINBALL_TSOUND_H
#define PINBALL_TSOUND_H
/* 132 */
struct TSound;
TSound* __thiscall TSound::destroy(TSound *this, char a2);
double __thiscall TSound::Play(TSound* this);
TSound* __thiscall TSound::TSound(TS... |
madebr/3d-pinball-space-cadet | sound/sound.h | <reponame>madebr/3d-pinball-space-cadet
#include "../pinball.h"
#ifndef PINBALL_SOUND_H
#define PINBALL_SOUND_H
#endif |
madebr/3d-pinball-space-cadet | Classes/TTextBoxMessage/TTextBoxMessage.h | <reponame>madebr/3d-pinball-space-cadet<filename>Classes/TTextBoxMessage/TTextBoxMessage.h
//
// Created by neo on 2019-08-15.
//
#include "../../pinball.h"
#ifndef PINBALL_TTEXTBOXMESSAGE_H
#define PINBALL_TTEXTBOXMESSAGE_H
/* 97 */
struct TTextBoxMessage;
TTextBoxMessage* __thiscall TTextBoxMessage::TTextBoxMessa... |
madebr/3d-pinball-space-cadet | Classes/TCircle/TCircle.h | <reponame>madebr/3d-pinball-space-cadet<filename>Classes/TCircle/TCircle.h
//
// Created by neo on 2019-08-15.
//
#include "../../pinball.h"
#ifndef PINBALL_TCIRCLE_H
#define PINBALL_TCIRCLE_H
/* 99 */
struct TCircle;
TCircle* __thiscall TCircle::TCircle(TCircle* this, struct TCollisionComponent* a2, char* a3, unsi... |
madebr/3d-pinball-space-cadet | Classes/TTextBox/TTextbox.h | <filename>Classes/TTextBox/TTextbox.h
//
// Created by neo on 2019-08-15.
//
#include "../../pinball.h"
#ifndef PINBALL_TTEXTBOX_H
#define PINBALL_TTEXTBOX_H
/* 119 */
struct TTextBox {
TTextBox* TTextBox::TTextBox(TPinballTable* a2, int a3);
void TTextBox::Clear(int a2);
void TTextBox::TimerExpired(int ... |
madebr/3d-pinball-space-cadet | Classes/TLightBargraph/TLightBargraph.h | //
// Created by neo on 2019-08-15.
//
#include "../../pinball.h"
#ifndef PINBALL_TLIGHTBARGRAPH_H
#define PINBALL_TLIGHTBARGRAPH_H
/* 94 */
struct TLightBargraph;
TZmapList* __thiscall TLightBargraph::~TLightBargraph(TLightBargraph* this);
void __thiscall TLightBargraph::Reset(TLightBargraph* this); // idb
void TL... |
madebr/3d-pinball-space-cadet | Classes/Objlist/objlist.h | //
// Created by neo on 2019-08-15.
//
#include "../../pinball.h"
#ifndef PINBALL_OBJLIST_CLASS_H
#define PINBALL_OBJLIST_CLASS_H
/* 123 */
struct objlist_class;
objlist_class* __thiscall objlist_class::objlist_class(objlist_class* this, int a2, int a3);
void __thiscall objlist_class::Grow(objlist_class* __hidden thi... |
madebr/3d-pinball-space-cadet | Classes/TZmapList/TZmaplist.h | <filename>Classes/TZmapList/TZmaplist.h
//
// Created by neo on 2019-08-15.
//
#include "../../pinball.h"
#ifndef PINBALL_TZMAPLIST_H
#define PINBALL_TZMAPLIST_H
/* 126 */
struct TZmapList;
TZmapList* __thiscall TZmapList::destroy(TZmapList* this, char a2);
TZmapList* __thiscall TZmapList::TZmapList(TZmapList* this... |
madebr/3d-pinball-space-cadet | Classes/TPopupTarget/TPopupTarget.h | //
// Created by neo on 2019-08-15.
//
#include "../../pinball.h"
#ifndef PINBALL_TPOPUPTARGET_H
#define PINBALL_TPOPUPTARGET_H
/* 106 */
struct TPopupTarget;
void TPopupTarget::TimerExpired(int, void*); // idb
int __thiscall TPopupTarget::Message(TPopupTarget* this, int, float); // idb
int __thiscall TPopupTarget:... |
madebr/3d-pinball-space-cadet | Classes/TEdgeBox/TEdgeBox.h | <filename>Classes/TEdgeBox/TEdgeBox.h
//
// Created by neo on 2019-08-15.
//
#include "../../pinball.h"
#ifndef PINBALL_TEDGEBOX_H
#define PINBALL_TEDGEBOX_H
/* 125 */
struct TEdgeBox;
TEdgeBox* __thiscall TEdgeBox::TEdgeBox(TEdgeBox* this);
void __thiscall TEdgeBox::~TEdgeBox(TEdgeBox* this);
TEdgeBox* __thiscall ... |
madebr/3d-pinball-space-cadet | Classes/TDrain/TDrain.h | //
// Created by neo on 2019-08-15.
//
#include "../../pinball.h"
#ifndef PINBALL_TDRAIN_H
#define PINBALL_TDRAIN_H
/* 115 */
struct TDrain
int __thiscall TDrain::Message(TDrain* this, int, float); // idb
void TDrain::TimerCallback(int, struct TPinballComponent*); // idb
void __thiscall TDrain::Collision(TDrain* th... |
madebr/3d-pinball-space-cadet | Classes/TSink/TSink.h | //
// Created by neo on 2019-08-15.
//
#include "../../pinball.h"
#ifndef PINBALL_TSINK_H
#define PINBALL_TSINK_H
/* 114 */
struct TSink;
void TSink::TimerExpired(int, void*); // idb
int __thiscall TSink::Message(TSink* this, int, float); // idb
int __thiscall TSink::get_scoring(TSink* this, int); // idb
void __thi... |
madebr/3d-pinball-space-cadet | Classes/THole/THole.h | <filename>Classes/THole/THole.h<gh_stars>10-100
//
// Created by neo on 2019-08-15.
//
#include "../../pinball.h"
#ifndef PINBALL_THOLE_H
#define PINBALL_THOLE_H
/* 112 */
struct THole;
void THole::TimerExpired(int, void*); // idb
int __thiscall THole::FieldEffect(THole* this, struct TBall*, struct vector_type*); /... |
madebr/3d-pinball-space-cadet | Classes/TSoloTarget/TSoloTarget.h | //
// Created by neo on 2019-08-15.
//
#include "../../pinball.h"
#ifndef PINBALL_TSOLOTARGET_H
#define PINBALL_TSOLOTARGET_H
/* 107 */
struct TSoloTarget;
void TSoloTarget::TimerExpired(int, void*); // idb
int __thiscall TSoloTarget::Message(TSoloTarget* this, int, float); // idb
int __thiscall TSoloTarget::get_sc... |
madebr/3d-pinball-space-cadet | Classes/TCollisionComponent/TCollisionComponent.h | <gh_stars>10-100
//
// Created by neo on 2019-08-15.
//
#include "../../pinball.h"
#ifndef PINBALL_TCOLLISIONCOMPONENT_H
#define PINBALL_TCOLLISIONCOMPONENT_H
/* 101 */
struct TCollisionComponent;
void __thiscall TCollisionComponent::port_draw(TCollisionComponent* __hidden this); // idb
void __thiscall TCollisionCom... |
madebr/3d-pinball-space-cadet | Classes/TKickback/TKickback.h | //
// Created by neo on 2019-08-15.
//
#include "../../pinball.h"
#ifndef PINBALL_TKICKBACK_H
#define PINBALL_TKICKBACK_H
/* 110 */
struct TKickback;
void TKickback::TimerExpired(int, struct TPinballComponent*); // idb
int __thiscall TKickback::Message(TKickback* this, int, float); // idb
void __thiscall TKickback:... |
madebr/3d-pinball-space-cadet | Classes/TPinballTable/TPinballTable.h | <gh_stars>10-100
//
// Created by neo on 2019-08-15.
//
#include "../../pinball.h"
#ifndef PINBALL_TPINBALLTABLE_H
#define PINBALL_TPINBALLTABLE_H
/* 117 */
struct TPinballTable;
void TPinballTable::LightShow_timeout(int, void*); // idb
void TPinballTable::EndGame_timeout(int, void*); // idb
int __thiscall TPinball... |
madebr/3d-pinball-space-cadet | Classes/TLight/TLight.h | //
// Created by neo on 2019-08-15.
//
#include "../../pinball.h"
#ifndef PINBALL_TLIGHT_H
#define PINBALL_TLIGHT_H
/* 124 */
struct TLight;
void __thiscall TLight::Reset(TLight* __hidden this); // idb
void TLight::TimerExpired(int, void*); // idb
void __thiscall TLight::schedule_timeout(TLight* this, float); // id... |
madebr/3d-pinball-space-cadet | Classes/TFlipperEdge/TFlipperEdge.h | <filename>Classes/TFlipperEdge/TFlipperEdge.h
//
// Created by neo on 2019-08-15.
//
#include "../../pinball.h"
#ifndef PINBALL_TFLIPPEREDGE_H
#define PINBALL_TFLIPPEREDGE_H
/* 120 */
struct TFlipperEdge;
void __thiscall TFlipperEdge::place_in_grid(TFlipperEdge* this); // idb
double __thiscall TFlipperEdge::flipper... |
madebr/3d-pinball-space-cadet | Classes/TWall/TWall.h | <gh_stars>10-100
//
// Created by neo on 2019-08-15.
//
#include "../../pinball.h"
#ifndef PINBALL_TWALL_H
#define PINBALL_TWALL_H
/* 102 */
struct TWall;
void TWall::TimerExpired(int, void*); // idb
int __thiscall TWall::Message(TWall* this, int, float); // idb
int __thiscall TWall::get_scoring(TWall* this, int); ... |
madebr/3d-pinball-space-cadet | Classes/TTimer/TTimer.h | //
// Created by neo on 2019-08-15.
//
#include "../../pinball.h"
#ifndef PINBALL_TTIMER_H
#define PINBALL_TTIMER_H
/* 129 */
struct TTimer;
void TTimer::TimerExpired(int, struct TPinballComponent*); // idb
int __thiscall TTimer::Message(TTimer* this, int, float); // idb
TTimer* __thiscall TTimer::TTimer(TTimer* th... |
madebr/3d-pinball-space-cadet | Classes/TRamp/TRamp.h | <filename>Classes/TRamp/TRamp.h
//
// Created by neo on 2019-08-15.
//
#include "../../pinball.h"
#ifndef PINBALL_TRAMP_H
#define PINBALL_TRAMP_H
/* 113 */
struct TRamp;
int __thiscall TRamp::get_scoring(TRamp* this, int); // idb
void __thiscall TRamp::put_scoring(TRamp* this, int, int); // idb
void __thiscall TRam... |
madebr/3d-pinball-space-cadet | Classes/TBall/TBall.h | //
// Created by neo on 2019-08-15.
//
#include "../../pinball.h"
#ifndef PINBALL_TBALL_H
#define PINBALL_TBALL_H
/* 95 */
struct TBall;
bool __thiscall TBall::already_hit(TBall* this, struct TEdgeSegment* a2);
void __thiscall TBall::not_again(TBall* this, struct TEdgeSegment*); // idb
int __thiscall TBall::Message... |
madebr/3d-pinball-space-cadet | Classes/TTripwire/TTripwire.h | //
// Created by neo on 2019-08-15.
//
#include "../../pinball.h"
#ifndef PINBALL_TTRIPWIRE_H
#define PINBALL_TTRIPWIRE_H
/* 131 */
struct TTripwire;
void __thiscall TTripwire::Collision(TTripwire* this, struct TBall*, struct vector_type*, struct vector_type*, float, struct TEdgeSegment*); // idb
TTripwire* __thisc... |
madebr/3d-pinball-space-cadet | Classes/TEdgeManager/TEdgeManager.h | //
// Created by neo on 2019-08-15.
//
#include "../../pinball.h"
#ifndef PINBALL_TEDGEMANAGER_H
#define PINBALL_TEDGEMANAGER_H
/* 96 */
struct TEdgeManager;
signed __int64 __thiscall TEdgeManager::box_x(TEdgeManager* this, float a2);
signed __int64 __thiscall TEdgeManager::box_y(TEdgeManager* this, float a2);
int ... |
madebr/3d-pinball-space-cadet | Classes/TFlagSpinner/TFlagSpinner.h | //
// Created by neo on 2019-08-15.
//
#include "../../pinball.h"
#ifndef PINBALL_TFLAGSPINNER_H
#define PINBALL_TFLAGSPINNER_H
/* 105 */
struct TFlagSpinner;
void TFlagSpinner::SpinTimer(int, void*); // idb
void __thiscall TFlagSpinner::NextFrame(TFlagSpinner* this); // idb
int __thiscall TFlagSpinner::Message(TFl... |
madebr/3d-pinball-space-cadet | Classes/TKickout/TKickout.h | <reponame>madebr/3d-pinball-space-cadet<gh_stars>10-100
//
// Created by neo on 2019-08-15.
//
#include "../../pinball.h"
#ifndef PINBALL_TKICKOUT_H
#define PINBALL_TKICKOUT_H
/* 111 */
struct TKickout;
void __thiscall TKickout::Collision(TKickout* this, struct TBall*, struct vector_type*, struct vector_type*, floa... |
madebr/3d-pinball-space-cadet | Classes/TLine/TLine.h | <reponame>madebr/3d-pinball-space-cadet
//
// Created by neo on 2019-08-15.
//
#include "../../pinball.h"
#ifndef PINBALL_TLINE_H
#define PINBALL_TLINE_H
/* 122 */
struct TLine;
TLine* __thiscall TLine::TLine(TLine* this, struct TCollisionComponent* a2, char* a3, unsigned int a4, float a5, float a6, float a7, float... |
Polidea/SiriusObfuscator | SymbolExtractorAndRenamer/lldb/source/Plugins/Language/Swift/SwiftDictionary.h | //===-- SwiftDictionary.h ---------------------------------------*- C++ -*-===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2016 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/L... |
Polidea/SiriusObfuscator | SymbolExtractorAndRenamer/clang/test/Sema/overloadable.c | <filename>SymbolExtractorAndRenamer/clang/test/Sema/overloadable.c
// RUN: %clang_cc1 -fsyntax-only -verify %s -Wincompatible-pointer-types
int var __attribute__((overloadable)); // expected-error{{'overloadable' attribute only applies to functions}}
void params(void) __attribute__((overloadable(12))); // expected-err... |
Polidea/SiriusObfuscator | SymbolExtractorAndRenamer/lldb/include/lldb/Core/Logging.h | //===-- Logging.h -----------------------------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... |
Polidea/SiriusObfuscator | SymbolExtractorAndRenamer/lldb/source/Plugins/Process/Utility/RegisterContextLinux_mips64.h | <gh_stars>100-1000
//===-- RegisterContextLinux_mips64.h ---------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===------------------------------------... |
Polidea/SiriusObfuscator | SymbolExtractorAndRenamer/lldb/packages/Python/lldbsuite/test/lang/cpp/gmodules/pch.h | template<typename T>
class GenericContainer {
private:
T storage;
public:
GenericContainer(T value) {
storage = value;
};
};
typedef GenericContainer<int> IntContainer;
|
Polidea/SiriusObfuscator | SymbolExtractorAndRenamer/lldb/source/Plugins/ObjectFile/PECOFF/WindowsMiniDump.h | <gh_stars>100-1000
//===-- WindowsMiniDump.h ---------------------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===------------------------------------... |
Polidea/SiriusObfuscator | SymbolExtractorAndRenamer/lldb/include/lldb/Interpreter/OptionValueSInt64.h | //===-- OptionValueSInt64.h --------------------------------------*- C++
//-*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------... |
Polidea/SiriusObfuscator | SymbolExtractorAndRenamer/lldb/include/lldb/Target/Platform.h | <gh_stars>100-1000
//===-- Platform.h ----------------------------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===------------------------------------... |
Polidea/SiriusObfuscator | SymbolExtractorAndRenamer/lldb/tools/darwin-threads/examine-threads.c | #include <ctype.h>
#include <dispatch/dispatch.h>
#include <errno.h>
#include <libproc.h>
#include <mach/mach.h>
#include <mach/task_info.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/sysctl.h>
#include <time.h>
// from System.framework/Versions/B/PrivateHeaders/sys/codesign.h
#define CS_... |
Polidea/SiriusObfuscator | SymbolExtractorAndRenamer/lldb/source/Plugins/Process/FreeBSD/RegisterContextPOSIX.h | //===-- RegisterContextPOSIX.h --------------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===---------------------------------------------------------... |
Polidea/SiriusObfuscator | SymbolExtractorAndRenamer/lldb/tools/lldb-mi/MIUtilSingletonHelper.h | <gh_stars>100-1000
//===-- MIUtilSingletonHelper.h ---------------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===------------------------------------... |
Polidea/SiriusObfuscator | SymbolExtractorAndRenamer/clang/test/APINotes/Inputs/Frameworks/SimpleKit.framework/Headers/SimpleKit.h | struct RenamedAgainInAPINotesA {
int field;
} __attribute__((swift_name("bad")));
struct __attribute__((swift_name("bad"))) RenamedAgainInAPINotesB {
int field;
};
|
Polidea/SiriusObfuscator | SymbolExtractorAndRenamer/clang/test/Headers/stdatomic.c | // RUN: %clang_cc1 -std=c11 -E %s | FileCheck %s
#include <stdatomic.h>
int bool_lock_free = ATOMIC_BOOL_LOCK_FREE;
// CHECK: bool_lock_free = {{ *[012] *;}}
int char_lock_free = ATOMIC_CHAR_LOCK_FREE;
// CHECK: char_lock_free = {{ *[012] *;}}
int char16_t_lock_free = ATOMIC_CHAR16_T_LOCK_FREE;
// CHECK: char16_t_lo... |
Polidea/SiriusObfuscator | SymbolExtractorAndRenamer/compiler-rt/test/profile/Linux/prctl.c | // RUN: %clang_pgogen -O2 -o %t %s
// RUN: rm -rf default_*.profraw
// RUN: %run %t && sleep 1
// RUN: llvm-profdata show default_*.profraw 2>&1 | FileCheck %s
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/prctl.h>
#include <unistd.h>
#define FAKE_COUNT_SZ 2000000
/* fake counts to increse ... |
Polidea/SiriusObfuscator | SymbolExtractorAndRenamer/clang/include/clang/DirectoryWatcher/DirectoryWatcher.h | <filename>SymbolExtractorAndRenamer/clang/include/clang/DirectoryWatcher/DirectoryWatcher.h
//===- DirectoryWatcher.h - Listens for directory file changes --*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. ... |
Polidea/SiriusObfuscator | SymbolExtractorAndRenamer/clang/test/Analysis/gmalloc.c | // RUN: %clang_cc1 -analyze -analyzer-checker=core,unix.Malloc -analyzer-store=region -verify %s
#include "Inputs/system-header-simulator.h"
typedef void* gpointer;
typedef const void* gconstpointer;
typedef unsigned long gsize;
typedef unsigned int guint;
gpointer g_malloc(gsize n_bytes);
gpointer g_malloc0(gsize n... |
Polidea/SiriusObfuscator | SymbolExtractorAndRenamer/swift/include/swift/Obfuscation/NameMapping.h | #ifndef NameMapping_h
#define NameMapping_h
#include "swift/Obfuscation/DataStructures.h"
#include "llvm/Support/Error.h"
#include "swift/Obfuscation/Random.h"
#include "swift/Obfuscation/Utils.h"
#include <string>
#include <vector>
#include <set>
namespace swift {
namespace obfuscation {
/// Name mapping strategie... |
Polidea/SiriusObfuscator | SymbolExtractorAndRenamer/clang/test/CodeGen/attributes.c | <filename>SymbolExtractorAndRenamer/clang/test/CodeGen/attributes.c
// RUN: %clang_cc1 -emit-llvm -triple i386-linux-gnu -o %t %s
// RUN: FileCheck --input-file=%t %s
// CHECK: @t5 = weak global i32 2
int t5 __attribute__((weak)) = 2;
// CHECK: @t13 = global %struct.s0 zeroinitializer, section "SECT"
struct s0 { int ... |
Polidea/SiriusObfuscator | SymbolExtractorAndRenamer/lldb/source/Plugins/Process/Darwin/NativeProcessDarwin.h | <reponame>Polidea/SiriusObfuscator
//===-- NativeProcessDarwin.h --------------------------------- -*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===--------------------... |
Polidea/SiriusObfuscator | SymbolExtractorAndRenamer/lldb/include/lldb/Interpreter/OptionGroupUUID.h | <gh_stars>100-1000
//===-- OptionGroupUUID.h ---------------------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===------------------------------------... |
Polidea/SiriusObfuscator | SymbolExtractorAndRenamer/lldb/include/lldb/Interpreter/Args.h | //===-- Args.h --------------------------------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.