id int64 0 755k | file_name stringlengths 3 109 | file_path stringlengths 13 185 | content stringlengths 31 9.38M | size int64 31 9.38M | language stringclasses 1
value | extension stringclasses 11
values | total_lines int64 1 340k | avg_line_length float64 2.18 149k | max_line_length int64 7 2.22M | alphanum_fraction float64 0 1 | repo_name stringlengths 6 65 | repo_stars int64 100 47.3k | repo_forks int64 0 12k | repo_open_issues int64 0 3.4k | repo_license stringclasses 9
values | repo_extraction_date stringclasses 92
values | exact_duplicates_redpajama bool 2
classes | near_duplicates_redpajama bool 2
classes | exact_duplicates_githubcode bool 2
classes | exact_duplicates_stackv2 bool 1
class | exact_duplicates_stackv1 bool 2
classes | near_duplicates_githubcode bool 2
classes | near_duplicates_stackv1 bool 2
classes | near_duplicates_stackv2 bool 1
class |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
748,515 | crc32.h | Marisa-Chan_UA_source/src/crc32.h | #ifndef CRC32_H_INCLUDED
#define CRC32_H_INCLUDED
#include <inttypes.h>
#include <stdlib.h>
uint32_t crc32(uint32_t crc, const void *buf, size_t size);
#endif
| 162 | C++ | .h | 6 | 25.5 | 59 | 0.771242 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,516 | netuser.h | Marisa-Chan_UA_source/src/netlib/netuser.h | #ifndef ZNDNET_NETUSER_H_INCLUDED
#define ZNDNET_NETUSER_H_INCLUDED
#include <deque>
#include <list>
#include <string>
#include <vector>
#include "utils.h"
namespace ZNDNet
{
struct NetUser
{
enum
{
STATUS_DISCONNECTED = 0,
STATUS_CONNECTING = 1,
STATUS_CONNECTED = 2... | 4,152 | C++ | .h | 183 | 15.693989 | 91 | 0.527041 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,517 | utils.h | Marisa-Chan_UA_source/src/netlib/utils.h | #ifndef ZNDNET_UTILS_H_INCLUDED
#define ZNDNET_UTILS_H_INCLUDED
namespace ZNDNet
{
inline bool IPCMP(const IPaddress &a, const IPaddress &b)
{
return a.host == b.host && a.port == b.port;
}
inline void writeU32(uint32_t u, void *dst)
{
uint8_t *dst8 = (uint8_t *)dst;
dst8[0] = u & 0xFF;
dst8[1] = (... | 2,769 | C++ | .h | 115 | 16.921739 | 72 | 0.467433 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,518 | inpacket.h | Marisa-Chan_UA_source/src/netlib/inpacket.h | #ifndef ZNDNET_INPKT_H_INCLUDED
#define ZNDNET_INPKT_H_INCLUDED
#include <list>
#include "types.h"
#include "addrseq.h"
#include "utils.h"
namespace ZNDNet
{
struct InRawPktHdr
{
uint8_t flags;
uint32_t fsize; //Full size
uint32_t offset; //Offset
uint32_t seqid;
uint8_t *data;
si... | 6,880 | C++ | .h | 263 | 16.490494 | 85 | 0.456711 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,519 | client.h | Marisa-Chan_UA_source/src/netlib/client.h | #ifndef ZNDNET_CLIENT_H_INCLUDED
#define ZNDNET_CLIENT_H_INCLUDED
#include <vector>
#include <string>
#include <atomic>
namespace ZNDNet
{
class ZNDClient: public ZNDNet
{
public:
ZNDClient(const std::string &servstring);
//Client methods
void Start(const std::string &name, const IPaddress &addr);
u... | 1,909 | C++ | .h | 58 | 28.5 | 106 | 0.711062 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,520 | zndNet.h | Marisa-Chan_UA_source/src/netlib/zndNet.h | #ifndef ZNDNET_H_INCLUDED
#define ZNDNET_H_INCLUDED
#include <SDL2/SDL_thread.h>
#include <SDL2/SDL_mutex.h>
#include <SDL2/SDL_net.h>
#include <list>
#include <string>
#include <deque>
#include <atomic>
#include <unordered_map>
#define ZNDNET_BUFF_SIZE 4096
#define ZNDNET_USERS_MAX 1024
#define ZNDNET_SES_... | 6,758 | C++ | .h | 180 | 33.583333 | 124 | 0.694509 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,521 | errcode.h | Marisa-Chan_UA_source/src/netlib/errcode.h | #ifndef ZNDNET_ERRCODE_H_INCLUDED
#define ZNDNET_ERRCODE_H_INCLUDED
namespace ZNDNet
{
enum ERR_SES
{
ERR_SES_CREATE = 0x00,
ERR_SES_JOIN = 0x01,
};
enum
{
ERR_CONN_TIMEOUT = 0x00,
ERR_CONN_FULL = 0x01,
ERR_CONN_NAME = 0x02,
ERR_DISCONNECT_TIMEOUT = 0x00,
ERR_DISCONNECT_... | 351 | C++ | .h | 19 | 15.631579 | 34 | 0.661538 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,522 | addrseq.h | Marisa-Chan_UA_source/src/netlib/addrseq.h | #ifndef ZNDNET_ADDRSEQ_H_INCLUDED
#define ZNDNET_ADDRSEQ_H_INCLUDED
namespace ZNDNet
{
struct AddrSeq
{
IPaddress addr;
uint32_t seq;
AddrSeq()
{
addr.host = 0;
addr.port = 0;
seq = 0;
}
AddrSeq(const IPaddress &_addr, uint32_t _seq)
{
set(_addr, _seq);
... | 591 | C++ | .h | 30 | 14.666667 | 84 | 0.567029 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,523 | types.h | Marisa-Chan_UA_source/src/netlib/types.h | #ifndef ZNDNET_TYPES_H_INCLUDED
#define ZNDNET_TYPES_H_INCLUDED
namespace ZNDNet
{
enum HDR_OFF
{
HDR_OFF_FLAGS = 0,
HDR_OFF_SYS_DATA = 1, //For system short msgs
HDR_OFF_SEQID = 1, //SeqID
HDR_OFF_CHANNEL = 5,
HDR_OFF_DATA = 6, //Data position if not multipart
HD... | 1,461 | C++ | .h | 55 | 22.418182 | 77 | 0.637219 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,524 | tick.h | Marisa-Chan_UA_source/src/netlib/tick.h | #ifndef ZNDNET_TICK_H_INCLUDED
#define ZNDNET_TICK_H_INCLUDED
namespace ZNDNet
{
struct Tick64
{
uint32_t lastTick;
uint32_t lap;
Tick64()
{
lap = 0;
lastTick = 0;
}
uint64_t GetTicks()
{
uint32_t tick = SDL_GetTicks();
if (lastTick > tick)
la... | 494 | C++ | .h | 28 | 12.285714 | 54 | 0.552632 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,525 | netsession.h | Marisa-Chan_UA_source/src/netlib/netsession.h | #ifndef ZNDNET_NETSESSION_H_INCLUDED
#define ZNDNET_NETSESSION_H_INCLUDED
#include <string>
#include <unordered_map>
#include <vector>
#include "netuser.h"
namespace ZNDNet
{
struct NetSession
{
uint64_t ID;
bool lobby;
std::string name;
NetUserList users;
NetUser *lead;
std::st... | 1,669 | C++ | .h | 77 | 15.831169 | 74 | 0.56381 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,526 | events.h | Marisa-Chan_UA_source/src/netlib/events.h | #ifndef ZNDNET_EVENT_H_INCLUDED
#define ZNDNET_EVENT_H_INCLUDED
#include <list>
namespace ZNDNet
{
enum
{
EVENT_DISCONNECT, //On disconnect
EVENT_CONNECTED, //
EVENT_CONNERR,
EVENT_SESSION_LIST, //Sessions list receieved
EVENT_SESSION_JOIN, //Success join
EVENT_SESSION_FAIL, //Error join... | 1,813 | C++ | .h | 85 | 15.929412 | 136 | 0.568421 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,527 | server.h | Marisa-Chan_UA_source/src/netlib/server.h | #ifndef ZNDNET_SERVER_H_INCLUDED
#define ZNDNET_SERVER_H_INCLUDED
#include <vector>
#include <string>
#include <atomic>
namespace ZNDNet
{
class ZNDServer: public ZNDNet
{
public:
ZNDServer(const std::string &servstring);
void Start(uint16_t port);
void ShowSession(bool show) {};
void CloseSession... | 1,898 | C++ | .h | 52 | 32.288462 | 109 | 0.724024 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,528 | sendstorage.h | Marisa-Chan_UA_source/src/netlib/sendstorage.h | #ifndef ZNDNET_SENDSTORAGE_H_INCLUDED
#define ZNDNET_SENDSTORAGE_H_INCLUDED
#include <deque>
#include <list>
#include <string.h>
#include "addrseq.h"
namespace ZNDNet
{
class RefData
{
public:
inline size_t size() {return _datasz;};
inline int32_t unlink() {return --_refcnt;};
inline void link() {++_ref... | 7,150 | C++ | .h | 280 | 17.664286 | 104 | 0.508979 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,529 | single.h | Marisa-Chan_UA_source/src/netlib/single.h | #ifndef ZNDNET_SINGLE_H_INCLUDED
#define ZNDNET_SINGLE_H_INCLUDED
namespace ZNDNet
{
class ZNDSingle: public ZNDNet
{
public:
ZNDSingle(const std::string &servstring);
void Start(const std::string &name, uint16_t port, const std::string &sname, uint32_t max_players);
void ShowSession(bool show);
vo... | 1,400 | C++ | .h | 41 | 29.780488 | 106 | 0.717833 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,530 | protos.h | Marisa-Chan_UA_source/src/world/protos.h | #ifndef WORLD_PROTOS_H_INCLUDED
#define WORLD_PROTOS_H_INCLUDED
#include "../system/sound.h"
#include "../nucleas.h"
#include "../sample.h"
#include "../skeleton.h"
class NC_STACK_ypabact;
namespace World
{
struct TRoboProto;
struct DestFX
{
enum FXTYPES {
FX_NONE = 0,
FX_DEATH, // "death"
... | 8,233 | C++ | .h | 336 | 18.172619 | 56 | 0.56389 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,531 | luaevents.h | Marisa-Chan_UA_source/src/world/luaevents.h | #ifndef WORLD_LUA_H_INCLUDED
#define WORLD_LUA_H_INCLUDED
#include "../system/luascript.h"
#include "../types.h"
class NC_STACK_ypaworld;
class NC_STACK_ypabact;
namespace World
{
class LuaEvents: public System::LuaScript
{
public:
struct UnitIter
{
RefBactList &Lst;
RefBactList::iterato... | 1,993 | C++ | .h | 58 | 29.327586 | 59 | 0.719894 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,532 | history.h | Marisa-Chan_UA_source/src/world/history.h | #ifndef WORLD_HISTORY_H_INCLUDED
#define WORLD_HISTORY_H_INCLUDED
#include <array>
#include "../memstream.h"
#include "../types.h"
namespace World
{
namespace History
{
enum TYPES
{
TYPE_UNK = 0,
TYPE_FRAME = 1,
TYPE_CONQ = 2,
TYPE_VHCLKILL = 3,
TYPE_VHCLCREATE = 4,
... | 10,202 | C++ | .h | 402 | 18.291045 | 112 | 0.548519 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,533 | saveparsers.h | Marisa-Chan_UA_source/src/world/saveparsers.h | #ifndef WORLD_SAVEPARSERS_H_INCLUDED
#define WORLD_SAVEPARSERS_H_INCLUDED
#include "parsers.h"
namespace World
{
namespace Parsers
{
class SaveBact
{
protected:
bool SaveBactParser(ScriptParser::Parser &parser, NC_STACK_ypabact *b, const std::string &p1, const std::string &p2);
static NC_STACK_ypabact *_la... | 6,300 | C++ | .h | 148 | 39.675676 | 152 | 0.729112 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,534 | analyzer.h | Marisa-Chan_UA_source/src/world/analyzer.h | #ifndef SITUATION_ANALYZER_H
#define SITUATION_ANALYZER_H
#include <string>
class NC_STACK_ypaworld;
namespace World
{
// Static method class
class GameAnalyzer
{
public:
static std::string Analyze(NC_STACK_ypaworld *world);
protected:
// Is host station attacked by enemy
static bool IsHSAttacked(N... | 1,917 | C++ | .h | 49 | 33.367347 | 65 | 0.744789 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,535 | nparticle.h | Marisa-Chan_UA_source/src/world/nparticle.h | #ifndef WORLD_NPARTICLE_H_INCLUDED
#define WORLD_NPARTICLE_H_INCLUDED
#include <deque>
#include "../system/tform.h"
#include "../system/gfx.h"
#include "../vectors.h"
class NC_STACK_particle;
class NC_STACK_skeleton;
namespace UAskeleton { struct Data; };
struct area_arg_65;
namespace World
{
class ParticleSystem
{... | 1,097 | C++ | .h | 39 | 22.435897 | 99 | 0.684156 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,536 | consts.h | Marisa-Chan_UA_source/src/world/consts.h | #ifndef WORLD_CONSTS_H
#define WORLD_CONSTS_H
namespace World {
// Constant values
constexpr float CVSectorLength = 1200.0;
constexpr float CVSectorHalfLength = CVSectorLength / 2.0;
constexpr size_t CVLocaleStringsNumber = 2700;
constexpr size_t CVFractionsCount = 8;
constexpr size_t CVMaxMap = 256;
constexpr size_t ... | 622 | C++ | .h | 18 | 33.333333 | 58 | 0.798333 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,537 | tools.h | Marisa-Chan_UA_source/src/world/tools.h | #ifndef WORLD_TOOLS_H
#define WORLD_TOOLS_H
#include <string>
#include "common/common.h"
#include "common/plane.h"
#include "../vectors.h"
#include "../bitmap.h"
#include "consts.h"
namespace World {
inline Common::Point PositionToSectorID(const vec3d &pos)
{ return Common::Point(pos.x / CVSectorLength, -pos.z / C... | 1,493 | C++ | .h | 29 | 49.862069 | 130 | 0.766413 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,538 | parsers.h | Marisa-Chan_UA_source/src/world/parsers.h | #ifndef WORLD_PARSERS_H_INCLUDED
#define WORLD_PARSERS_H_INCLUDED
#include <string>
#include "../types.h"
#include "../utils.h"
#include "common/common.h"
#include "common/plane.h"
#include "../def_parser.h"
#include "protos.h"
class NC_STACK_ypaworld;
class NC_STACK_ypabact;
class NC_STACK_yparobo;
class NC_STACK... | 12,741 | C++ | .h | 321 | 36.778816 | 152 | 0.727162 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,539 | locale.h | Marisa-Chan_UA_source/src/locale/locale.h | #ifndef LOCALE_H
#define LOCALE_H
#include <string>
#include <vector>
#include <inttypes.h>
#include "strid.h"
#include "default.h"
namespace Locale {
class Text
{
public:
static void SetLangDefault();
static std::string Get(int32_t id, const std::string &def);
static bool LngFileLoad(const std... | 3,677 | C++ | .h | 120 | 24.1 | 89 | 0.635111 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,540 | strid.h | Marisa-Chan_UA_source/src/locale/strid.h | #ifndef LOCALE_STRID_H
#define LOCALE_STRID_H
namespace Locale {
enum LOCALE_BLOCK
{
LBL_COMMON = 0,
LBL_HUDTXT = 30,
LBL_WINNAMES = 50,
LBL_TITLES = 80,
LBL_BRIEF = 150,
LBL_FEEDBACK = 200,
LBL_DIALOGS = 300,
LBL_NETDLG = 400,
LBL_INPUT... | 17,715 | C++ | .h | 674 | 21.235905 | 41 | 0.531553 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,541 | default.h | Marisa-Chan_UA_source/src/locale/default.h | #ifndef WORLD_DEFSTR_H
#define WORLD_DEFSTR_H
#include <array>
#include <string>
#include "strid.h"
namespace Locale {
class DefaultStrings
{
public:
// LBL_COMMON 0
static std::array<std::string, CMN_MAX> Commons;
// LBL_HUDSTR 30
static std::array<std::string, HUDSTR_MAX> HudStrings;
// LBL_WI... | 1,432 | C++ | .h | 46 | 27.021739 | 59 | 0.681884 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,542 | luascript.h | Marisa-Chan_UA_source/src/system/luascript.h | #ifndef SYSTEM_LUA_H_INCLUDED
#define SYSTEM_LUA_H_INCLUDED
#include <string>
#ifndef NOLUAVERSION
extern "C" {
#include <lua5.3/lua.h>
#include <lua5.3/lauxlib.h>
#include <lua5.3/lualib.h>
}
#else
extern "C" {
#include <lua.h>
#include <lauxlib.h>
#include <lualib.h>
}
#endif
namespace System
{
class LuaScrip... | 880 | C++ | .h | 38 | 19.973684 | 67 | 0.726027 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,543 | inivals.h | Marisa-Chan_UA_source/src/system/inivals.h | #ifndef WORLD_INIVALS_H_INCLUDED
#define WORLD_INIVALS_H_INCLUDED
#include "../ini.h"
namespace System
{
class IniConf
{
public:
public:
static void Init();
static bool ReadFromNucleusIni();
static bool ReadFromIni(const std::string &fname);
static Common::Ini::Key GfxDither;
static... | 7,787 | C++ | .h | 190 | 35.773684 | 54 | 0.735924 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,544 | movie.h | Marisa-Chan_UA_source/src/system/movie.h | #ifndef ENGINE_MOVIE_H_INCLUDED
#define ENGINE_MOVIE_H_INCLUDED
#include <string>
#include <SDL2/SDL.h>
namespace System
{
class TMovie
{
private:
struct Context;
public:
~TMovie();
void Init();
void PlayMovie(const std::string &fname, int volume = 127);
private:
TMovie();
bool OpenFi... | 670 | C++ | .h | 30 | 18.3 | 63 | 0.716194 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,545 | inpt.h | Marisa-Chan_UA_source/src/system/inpt.h | #ifndef ENGINE_INPUT_H_INCLUDED
#define ENGINE_INPUT_H_INCLUDED
#include <string>
#include <functional>
#include <vector>
#include "utils.h"
#include "common/common.h"
#include "common/bitman.h"
#include "inp_ff.h"
#include "itimer.h"
#include "idev.h"
class ButtonBox
{
public:
int16_t x = 0;
int16_t y = 0;
... | 9,301 | C++ | .h | 368 | 17.978261 | 125 | 0.559272 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,546 | system.h | Marisa-Chan_UA_source/src/system/system.h | #ifndef UA_SYSTEM_H_INCLUDED
#define UA_SYSTEM_H_INCLUDED
#include <string>
#if defined(__APPLE__) && defined(__MACH__)
#include <OpenGL/gl.h>
#else
#include <GL/gl.h>
#endif
#include <SDL2/SDL.h>
#include <SDL2/SDL_opengl.h>
#include <SDL2/SDL_ttf.h>
#include "common/common.h"
namespace System
{
struct ResRa... | 1,527 | C++ | .h | 48 | 25.8125 | 85 | 0.669034 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,547 | tform.h | Marisa-Chan_UA_source/src/system/tform.h | #ifndef ENGINE_TFORM_H_INCLUDED
#define ENGINE_TFORM_H_INCLUDED
#include <array>
#include <inttypes.h>
#include "../vectors.h"
#include "../matrix.h"
#include "../ini.h"
#include "../IFFile.h"
namespace TF
{
class TForm3D
{
public:
struct IntAngle
{
int32_t RawAngle = 0;
IntAn... | 4,648 | C++ | .h | 172 | 19.069767 | 119 | 0.534905 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,548 | fsmgr.h | Marisa-Chan_UA_source/src/system/fsmgr.h | #ifndef SFMGR_H_INCLUDED
#define SFMGR_H_INCLUDED
#define BYTEORDER_LITTLE
#undef min
#undef max
#include <string>
#include <list>
#include <memory>
#include <inttypes.h>
#include <stdio.h>
namespace FSMgr
{
class DirIter;
class iDir;
class FileHandle;
class iNode
{
friend class iDir;
public:
iNode(const ... | 5,473 | C++ | .h | 168 | 27.630952 | 106 | 0.687136 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,549 | gfx.h | Marisa-Chan_UA_source/src/system/gfx.h | #ifndef ENGINE_GFX_H_INCLUDED
#define ENGINE_GFX_H_INCLUDED
#include <array>
#include <deque>
#include <math.h>
#include <inttypes.h>
#include "system.h"
#include "../ini.h"
#include "../vectors.h"
#include "../matrix.h"
#include "../IFFile.h"
#include "../nucleas.h"
#include "common/common.h"
#include "common/caches... | 22,125 | C++ | .h | 664 | 27.652108 | 227 | 0.665039 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,550 | sound.h | Marisa-Chan_UA_source/src/system/sound.h | #ifndef ENGINE_MILES_H_INCLUDED
#define ENGINE_MILES_H_INCLUDED
#include <array>
#include "gfx.h"
#include "../wrapal.h"
#define AUDIO_CHANNELS 16
struct TSndCarrier;
struct TSndFXParam
{
int time = 0;
int slot = 0;
float mag0 = 0.0;
float mag1 = 0.0;
};
struct TSndFxPosParam : TSndFXParam
{
... | 7,442 | C++ | .h | 291 | 18.965636 | 118 | 0.590379 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,551 | glfuncs.h | Marisa-Chan_UA_source/src/system/glfuncs.h | #include <SDL2/SDL.h>
#include <SDL2/SDL_opengl.h>
#if defined(__APPLE__) && defined(__MACH__)
#include <OpenGL/glext.h>
#else
#include <GL/glext.h>
#endif
namespace GFX
{
class Glext
{
public:
static bool init();
public:
static PFNGLGENFRAMEBUFFERSPROC GLGenFramebuffers;
static PFNGLBINDFRAMEB... | 3,221 | C++ | .h | 71 | 40.605634 | 72 | 0.855809 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,552 | line.h | Marisa-Chan_UA_source/src/common/line.h | #ifndef COMMONLINE_H_INCLUDED
#define COMMONLINE_H_INCLUDED
#include "common.h"
namespace Common
{
template <typename T> struct TLine;
typedef TLine<int32_t> Line;
typedef TLine<float> FLine;
template<typename T>
struct TLine
{
enum CLIP_FLAGS
{
CLIP_LEFT = 1,
CLIP_RIGHT = 2,
CLI... | 3,511 | C++ | .h | 130 | 17.246154 | 82 | 0.417946 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,553 | cachestor.h | Marisa-Chan_UA_source/src/common/cachestor.h | #ifndef CACHESTOR_H_INCLUDED
#define CACHESTOR_H_INCLUDED
#include "common.h"
namespace Common
{
template <typename T, std::size_t BLKSZ = 10000>
struct CacheStorage
{
typedef std::array<T, BLKSZ> _TBLOCK;
std::deque<_TBLOCK> Blocks;
size_t NextPos = 0;
T& GetNext()
{
while(Nex... | 562 | C++ | .h | 23 | 19.043478 | 68 | 0.62549 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,554 | bitman.h | Marisa-Chan_UA_source/src/common/bitman.h | #ifndef BITMAN_H_INCLUDED
#define BITMAN_H_INCLUDED
#include "common.h"
namespace Common
{
template <std::size_t _BNm>
struct BitMan : protected std::array<uint32_t, (_BNm + 31) / 32>
{
protected:
typedef std::array<uint32_t, (_BNm + 31) / 32> BASE;
public:
BitMan() { BASE::fill(0); };
BitMan(const BitM... | 11,414 | C++ | .h | 422 | 18.099526 | 70 | 0.472514 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
748,555 | plane.h | Marisa-Chan_UA_source/src/common/plane.h | #ifndef PLANE_H_INCLUDED
#define PLANE_H_INCLUDED
#include "common.h"
namespace Common
{
template <class T> class PlaneVector;
typedef PlaneVector<uint8_t> PlaneBytes;
template <class T>
class PlaneVector : protected std::vector<T>
{
public:
using std::vector<T>::data;
using std::vector<T>::operator[];
... | 5,107 | C++ | .h | 232 | 15.211207 | 63 | 0.500322 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,556 | common.h | Marisa-Chan_UA_source/src/common/common.h | #ifndef COMMON_H_INCLUDED
#define COMMON_H_INCLUDED
#include <inttypes.h>
#include <vector>
#include <array>
#include <deque>
#include <utility>
#include <SDL2/SDL.h>
#ifdef ABS
#undef ABS
#endif
#ifdef MIN
#undef MIN
#endif
#ifdef MAX
#undef MAX
#endif
namespace Common
{
template<typename T> inline T ABS(T x) {... | 10,663 | C++ | .h | 338 | 24.810651 | 116 | 0.512152 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,558 | uamsgbox.h | Marisa-Chan_UA_source/src/gui/uamsgbox.h | #ifndef GUI_UAMSGBOX_H_INCLUDED
#define GUI_UAMSGBOX_H_INCLUDED
#include "uacommon.h"
#include "uabutton.h"
#include "uawindow.h"
#include "uaempty.h"
namespace Gui
{
class UABlockMsgBox;
class UAMessageBox : public UAWindow
{
friend class UABlockMsgBox;
public:
enum
{
TYPE_INGAME = 0,
... | 1,902 | C++ | .h | 60 | 26.383333 | 106 | 0.716435 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,559 | uabutton.h | Marisa-Chan_UA_source/src/gui/uabutton.h | #ifndef GUI_UABUTTON_H_INCLUDED
#define GUI_UABUTTON_H_INCLUDED
#include "uacommon.h"
namespace Gui
{
class UABaseButton : public Widget, public UA
{
public:
enum FLAG
{
FLAG_PRESSED = (1 << 16),
FLAG_LOCKED = (1 << 17),
FLAG_NOBORDERS = (1 << 18),
FLAG_TOUCH = (1 ... | 4,280 | C++ | .h | 110 | 33.754545 | 139 | 0.680405 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,560 | uascroll.h | Marisa-Chan_UA_source/src/gui/uascroll.h | #ifndef GUI_UASCROLL_H_INCLUDED
#define GUI_UASCROLL_H_INCLUDED
#include "uacommon.h"
namespace Gui
{
class UAScroll : public Widget, public UA
{
protected:
enum
{
AREA_NONE = 0,
AREA_MINUS = 1,
AREA_BTN = 2,
AREA_PLUS = 3,
};
enum
{
TIME_FIRST... | 1,812 | C++ | .h | 59 | 24.661017 | 80 | 0.646172 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,561 | uacommon.h | Marisa-Chan_UA_source/src/gui/uacommon.h | #ifndef GUI_UACOMMON_H_INCLUDED
#define GUI_UACOMMON_H_INCLUDED
#include <array>
#include <inttypes.h>
#include <SDL2/SDL.h>
#include "common/common.h"
#include "../system/gfx.h"
#include "widget.h"
class NC_STACK_ypaworld;
namespace Gui
{
class UABaseButton;
class UAOneTileButton;
class UATextButton;
class UATil... | 1,573 | C++ | .h | 59 | 21.254237 | 133 | 0.651724 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,562 | uaempty.h | Marisa-Chan_UA_source/src/gui/uaempty.h | #ifndef GUI_UAEMPTY_H_INCLUDED
#define GUI_UAEMPTY_H_INCLUDED
#include "widget.h"
namespace Gui
{
class UAEmpty : public Widget
{
public:
UAEmpty();
UAEmpty(Widget *parent);
UAEmpty(Common::PointRect xyw);
UAEmpty(Widget *parent, const Common::PointRect &xyw);
virtual void OnAttachDetach(bo... | 480 | C++ | .h | 21 | 19.238095 | 58 | 0.743119 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,563 | root.h | Marisa-Chan_UA_source/src/gui/root.h | #ifndef GUI_ROOT_H_INCLUDED
#define GUI_ROOT_H_INCLUDED
#include <list>
#include <inttypes.h>
#include <SDL2/SDL.h>
#if defined(__APPLE__) && defined(__MACH__)
#include <OpenGL/gl.h>
#else
#include <GL/gl.h>
#endif
#include "common/common.h"
namespace Gui
{
class Widget;
enum MICE_BUTTONS
{
MICE_LEFT = (1 <<... | 4,320 | C++ | .h | 140 | 25.714286 | 121 | 0.636409 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,564 | uawidgets.h | Marisa-Chan_UA_source/src/gui/uawidgets.h | #ifndef GUI_UAWIDGETS_H_INCLUDED
#define GUI_UAWIDGETS_H_INCLUDED
#include "uacommon.h"
#include "uabutton.h"
#include "uascroll.h"
#include "uawindow.h"
#endif | 162 | C++ | .h | 7 | 22 | 32 | 0.798701 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,565 | uawindow.h | Marisa-Chan_UA_source/src/gui/uawindow.h | #ifndef GUI_UAWINDOW_H_INCLUDED
#define GUI_UAWINDOW_H_INCLUDED
#include "uacommon.h"
#include "uabutton.h"
#include "uascroll.h"
namespace Gui
{
class UAWindow : public Widget, public UA
{
public:
enum
{
FLAG_WND_CLOSE = (1 << 0),
FLAG_WND_HELP = (1 << 1),
FLAG_WND_MAXM =... | 2,599 | C++ | .h | 67 | 33.059701 | 137 | 0.6316 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,566 | widget.h | Marisa-Chan_UA_source/src/gui/widget.h | #ifndef GUI_WIDGET_H_INCLUDED
#define GUI_WIDGET_H_INCLUDED
#include <list>
#include <inttypes.h>
#include <SDL2/SDL.h>
#include "common/common.h"
#include "root.h"
namespace Gui
{
class Root;
class Widget
{
friend class Root;
friend class OldCompat;
public:
enum
{
FLAG_ENABLED = (1 << 0),
FLAG_FOCUSED... | 5,984 | C++ | .h | 157 | 32.503185 | 89 | 0.637471 | Marisa-Chan/UA_source | 120 | 16 | 27 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,567 | main.cpp | zer011b_fdtd3d/Source/main.cpp | /*
* Copyright (C) 2015 Gleb Balykov
*
* This file is part of fdtd3d.
*
* fdtd3d is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version... | 65,152 | C++ | .cpp | 1,434 | 35.774059 | 150 | 0.645682 | zer011b/fdtd3d | 119 | 33 | 3 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
748,568 | SchemeHelper.cpp | zer011b_fdtd3d/Source/Scheme/SchemeHelper.cpp | /*
* Copyright (C) 2018 Gleb Balykov
*
* This file is part of fdtd3d.
*
* fdtd3d is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version... | 835 | C++ | .cpp | 21 | 37.809524 | 74 | 0.759852 | zer011b/fdtd3d | 119 | 33 | 3 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
748,569 | InternalScheme.inc.cpp | zer011b_fdtd3d/Source/Scheme/InternalScheme.inc.cpp | /*
* Copyright (C) 2018 Gleb Balykov
*
* This file is part of fdtd3d.
*
* fdtd3d is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version... | 55,210 | C++ | .cpp | 1,459 | 36.080877 | 120 | 0.77318 | zer011b/fdtd3d | 119 | 33 | 3 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
748,570 | CallBack.cpp | zer011b_fdtd3d/Source/Scheme/CallBack.cpp | /*
* Copyright (C) 2017 Gleb Balykov
*
* This file is part of fdtd3d.
*
* fdtd3d is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version... | 25,069 | C++ | .cpp | 590 | 38.574576 | 153 | 0.699483 | zer011b/fdtd3d | 119 | 33 | 3 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
748,571 | Scheme.cpp | zer011b_fdtd3d/Source/Scheme/Scheme.cpp | /*
* Copyright (C) 2017 Gleb Balykov
*
* This file is part of fdtd3d.
*
* fdtd3d is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version... | 58,249 | C++ | .cpp | 885 | 63.293785 | 381 | 0.775083 | zer011b/fdtd3d | 119 | 33 | 3 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
748,572 | InternalScheme.cpp | zer011b_fdtd3d/Source/Scheme/InternalScheme.cpp | /*
* Copyright (C) 2018 Gleb Balykov
*
* This file is part of fdtd3d.
*
* fdtd3d is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version... | 15,146 | C++ | .cpp | 271 | 49.667897 | 187 | 0.71151 | zer011b/fdtd3d | 119 | 33 | 3 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
748,573 | BMPHelper.cpp | zer011b_fdtd3d/Source/File-Management/BMPHelper.cpp | /*
* Copyright (C) 2016 Gleb Balykov
*
* This file is part of fdtd3d.
*
* fdtd3d is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version... | 5,101 | C++ | .cpp | 176 | 23.568182 | 79 | 0.621027 | zer011b/fdtd3d | 119 | 33 | 3 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
748,574 | Commons.cpp | zer011b_fdtd3d/Source/File-Management/Commons.cpp | /*
* Copyright (C) 2015 Gleb Balykov
*
* This file is part of fdtd3d.
*
* fdtd3d is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version... | 1,707 | C++ | .cpp | 61 | 25.737705 | 74 | 0.7 | zer011b/fdtd3d | 119 | 33 | 3 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
748,575 | TXTDumper.cpp | zer011b_fdtd3d/Source/File-Management/Dumper/TXTDumper.cpp | /*
* Copyright (C) 2017 Gleb Balykov
*
* This file is part of fdtd3d.
*
* fdtd3d is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version... | 1,915 | C++ | .cpp | 56 | 30.357143 | 88 | 0.643784 | zer011b/fdtd3d | 119 | 33 | 3 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
748,576 | BMPDumper.cpp | zer011b_fdtd3d/Source/File-Management/Dumper/BMPDumper.cpp | /*
* Copyright (C) 2015 Gleb Balykov
*
* This file is part of fdtd3d.
*
* fdtd3d is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version... | 11,564 | C++ | .cpp | 290 | 33.406897 | 129 | 0.651569 | zer011b/fdtd3d | 119 | 33 | 3 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
748,577 | BMPLoader.cpp | zer011b_fdtd3d/Source/File-Management/Loader/BMPLoader.cpp | /*
* Copyright (C) 2015 Gleb Balykov
*
* This file is part of fdtd3d.
*
* fdtd3d is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version... | 6,064 | C++ | .cpp | 143 | 36.692308 | 123 | 0.667685 | zer011b/fdtd3d | 119 | 33 | 3 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
748,578 | TXTLoader.cpp | zer011b_fdtd3d/Source/File-Management/Loader/TXTLoader.cpp | /*
* Copyright (C) 2017 Gleb Balykov
*
* This file is part of fdtd3d.
*
* fdtd3d is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version... | 2,557 | C++ | .cpp | 76 | 30 | 105 | 0.667476 | zer011b/fdtd3d | 119 | 33 | 3 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
748,579 | unit-test-coordinate.cpp | zer011b_fdtd3d/Source/UnitTests/unit-test-coordinate.cpp | /*
* Copyright (C) 2018 Gleb Balykov
*
* This file is part of fdtd3d.
*
* fdtd3d is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version... | 24,036 | C++ | .cpp | 417 | 50.364508 | 194 | 0.646482 | zer011b/fdtd3d | 119 | 33 | 3 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
748,580 | unit-test-layout.cpp | zer011b_fdtd3d/Source/UnitTests/unit-test-layout.cpp | /*
* Copyright (C) 2018 Gleb Balykov
*
* This file is part of fdtd3d.
*
* fdtd3d is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version... | 139,076 | C++ | .cpp | 3,475 | 30.770072 | 206 | 0.565388 | zer011b/fdtd3d | 119 | 33 | 3 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
748,581 | unit-test-parallel-grid.cpp | zer011b_fdtd3d/Source/UnitTests/unit-test-parallel-grid.cpp | /*
* Copyright (C) 2017 Gleb Balykov
*
* This file is part of fdtd3d.
*
* fdtd3d is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version... | 21,221 | C++ | .cpp | 501 | 37.644711 | 146 | 0.678161 | zer011b/fdtd3d | 119 | 33 | 3 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
748,582 | perf-test-parallel-grid.cpp | zer011b_fdtd3d/Source/UnitTests/perf-test-parallel-grid.cpp | /*
* Copyright (C) 2018 Gleb Balykov
*
* This file is part of fdtd3d.
*
* fdtd3d is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version... | 8,737 | C++ | .cpp | 249 | 29.598394 | 167 | 0.643754 | zer011b/fdtd3d | 119 | 33 | 3 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
748,583 | unit-test-grid.cpp | zer011b_fdtd3d/Source/UnitTests/unit-test-grid.cpp | /*
* Copyright (C) 2017 Gleb Balykov
*
* This file is part of fdtd3d.
*
* fdtd3d is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version... | 15,159 | C++ | .cpp | 302 | 43.539735 | 154 | 0.647448 | zer011b/fdtd3d | 119 | 33 | 3 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
748,584 | unit-test-clock.cpp | zer011b_fdtd3d/Source/UnitTests/unit-test-clock.cpp | /*
* Copyright (C) 2018 Gleb Balykov
*
* This file is part of fdtd3d.
*
* fdtd3d is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version... | 5,913 | C++ | .cpp | 179 | 30.256983 | 111 | 0.651945 | zer011b/fdtd3d | 119 | 33 | 3 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
748,585 | unit-test-internalscheme.cpp | zer011b_fdtd3d/Source/UnitTests/unit-test-internalscheme.cpp | /*
* Copyright (C) 2018 Gleb Balykov
*
* This file is part of fdtd3d.
*
* fdtd3d is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version... | 100,248 | C++ | .cpp | 1,696 | 45.346698 | 214 | 0.586293 | zer011b/fdtd3d | 119 | 33 | 3 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
748,586 | unit-test-complex.cpp | zer011b_fdtd3d/Source/UnitTests/unit-test-complex.cpp | /*
* Copyright (C) 2018 Gleb Balykov
*
* This file is part of fdtd3d.
*
* fdtd3d is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version... | 5,210 | C++ | .cpp | 128 | 37.554688 | 100 | 0.580645 | zer011b/fdtd3d | 119 | 33 | 3 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
748,587 | unit-test-dumpers-loaders.cpp | zer011b_fdtd3d/Source/UnitTests/unit-test-dumpers-loaders.cpp | /*
* Copyright (C) 2017 Gleb Balykov
*
* This file is part of fdtd3d.
*
* fdtd3d is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version... | 9,829 | C++ | .cpp | 245 | 32.493878 | 92 | 0.623912 | zer011b/fdtd3d | 119 | 33 | 3 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
748,588 | unit-test-approximation.cpp | zer011b_fdtd3d/Source/UnitTests/unit-test-approximation.cpp | /*
* Copyright (C) 2018 Gleb Balykov
*
* This file is part of fdtd3d.
*
* fdtd3d is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version... | 2,179 | C++ | .cpp | 54 | 34.907407 | 113 | 0.659263 | zer011b/fdtd3d | 119 | 33 | 3 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
748,589 | unit-test-settings.cpp | zer011b_fdtd3d/Source/UnitTests/unit-test-settings.cpp | /*
* Copyright (C) 2018 Gleb Balykov
*
* This file is part of fdtd3d.
*
* fdtd3d is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version... | 2,242 | C++ | .cpp | 57 | 36.982456 | 74 | 0.687385 | zer011b/fdtd3d | 119 | 33 | 3 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
748,590 | YeeGridLayout.cpp | zer011b_fdtd3d/Source/Layout/YeeGridLayout.cpp | /*
* Copyright (C) 2016 Gleb Balykov
*
* This file is part of fdtd3d.
*
* fdtd3d is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version... | 139,551 | C++ | .cpp | 2,567 | 45.720686 | 182 | 0.684797 | zer011b/fdtd3d | 119 | 33 | 3 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
748,591 | ParallelYeeGridLayout.cpp | zer011b_fdtd3d/Source/Layout/ParallelYeeGridLayout.cpp | /*
* Copyright (C) 2017 Gleb Balykov
*
* This file is part of fdtd3d.
*
* fdtd3d is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version... | 991 | C++ | .cpp | 24 | 39.375 | 74 | 0.767394 | zer011b/fdtd3d | 119 | 33 | 3 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
748,592 | Approximation.cpp | zer011b_fdtd3d/Source/Layout/Approximation.cpp | /*
* Copyright (C) 2017 Gleb Balykov
*
* This file is part of fdtd3d.
*
* fdtd3d is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version... | 28,506 | C++ | .cpp | 683 | 31.234261 | 159 | 0.522493 | zer011b/fdtd3d | 119 | 33 | 3 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
748,593 | GridCoordinate.cpp | zer011b_fdtd3d/Source/Coordinate/GridCoordinate.cpp | /*
* Copyright (C) 2016 Gleb Balykov
*
* This file is part of fdtd3d.
*
* fdtd3d is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version... | 915 | C++ | .cpp | 29 | 29.517241 | 74 | 0.739819 | zer011b/fdtd3d | 119 | 33 | 3 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
748,594 | converter.cpp | zer011b_fdtd3d/Source/Tools/converter.cpp | /*
* Copyright (C) 2019 Gleb Balykov
*
* This file is part of fdtd3d.
*
* fdtd3d is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version... | 12,508 | C++ | .cpp | 399 | 23.568922 | 130 | 0.542414 | zer011b/fdtd3d | 119 | 33 | 3 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
748,595 | ParallelGridCoreDynamic.cpp | zer011b_fdtd3d/Source/Grid/ParallelGridCoreDynamic.cpp | /*
* Copyright (C) 2018 Gleb Balykov
*
* This file is part of fdtd3d.
*
* fdtd3d is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version... | 36,303 | C++ | .cpp | 1,002 | 31.00998 | 146 | 0.645647 | zer011b/fdtd3d | 119 | 33 | 3 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
748,596 | ParallelGridCore.cpp | zer011b_fdtd3d/Source/Grid/ParallelGridCore.cpp | /*
* Copyright (C) 2017 Gleb Balykov
*
* This file is part of fdtd3d.
*
* fdtd3d is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version... | 28,202 | C++ | .cpp | 627 | 41.588517 | 118 | 0.733438 | zer011b/fdtd3d | 119 | 33 | 3 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
748,597 | ParallelGrid1D.cpp | zer011b_fdtd3d/Source/Grid/ParallelGrid1D.cpp | /*
* Copyright (C) 2016 Gleb Balykov
*
* This file is part of fdtd3d.
*
* fdtd3d is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version... | 2,783 | C++ | .cpp | 71 | 34.478873 | 117 | 0.640104 | zer011b/fdtd3d | 119 | 33 | 3 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
748,598 | ParallelGrid2D.cpp | zer011b_fdtd3d/Source/Grid/ParallelGrid2D.cpp | /*
* Copyright (C) 2016 Gleb Balykov
*
* This file is part of fdtd3d.
*
* fdtd3d is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version... | 6,137 | C++ | .cpp | 154 | 34.675325 | 117 | 0.644273 | zer011b/fdtd3d | 119 | 33 | 3 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
748,599 | ParallelBuffer2D.cpp | zer011b_fdtd3d/Source/Grid/ParallelBuffer2D.cpp | /*
* Copyright (C) 2016 Gleb Balykov
*
* This file is part of fdtd3d.
*
* fdtd3d is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version... | 3,416 | C++ | .cpp | 109 | 27 | 112 | 0.64364 | zer011b/fdtd3d | 119 | 33 | 3 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
748,601 | ParallelGridGroup.cpp | zer011b_fdtd3d/Source/Grid/ParallelGridGroup.cpp | /*
* Copyright (C) 2019 Gleb Balykov
*
* This file is part of fdtd3d.
*
* fdtd3d is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version... | 58,779 | C++ | .cpp | 1,798 | 28.602336 | 124 | 0.654697 | zer011b/fdtd3d | 119 | 33 | 3 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
748,602 | ParallelGrid3D.cpp | zer011b_fdtd3d/Source/Grid/ParallelGrid3D.cpp | /*
* Copyright (C) 2016 Gleb Balykov
*
* This file is part of fdtd3d.
*
* fdtd3d is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version... | 12,198 | C++ | .cpp | 305 | 34.511475 | 123 | 0.65521 | zer011b/fdtd3d | 119 | 33 | 3 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
748,603 | ParallelGrid.cpp | zer011b_fdtd3d/Source/Grid/ParallelGrid.cpp | /*
* Copyright (C) 2016 Gleb Balykov
*
* This file is part of fdtd3d.
*
* fdtd3d is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version... | 85,965 | C++ | .cpp | 1,860 | 39.445161 | 257 | 0.600443 | zer011b/fdtd3d | 119 | 33 | 3 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
748,604 | ParallelBuffer3D.cpp | zer011b_fdtd3d/Source/Grid/ParallelBuffer3D.cpp | /*
* Copyright (C) 2016 Gleb Balykov
*
* This file is part of fdtd3d.
*
* fdtd3d is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version... | 4,531 | C++ | .cpp | 147 | 25.380952 | 112 | 0.603769 | zer011b/fdtd3d | 119 | 33 | 3 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
748,605 | ParallelGridDynamic.cpp | zer011b_fdtd3d/Source/Grid/ParallelGridDynamic.cpp | /*
* Copyright (C) 2018 Gleb Balykov
*
* This file is part of fdtd3d.
*
* fdtd3d is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version... | 5,663 | C++ | .cpp | 144 | 33.784722 | 138 | 0.656398 | zer011b/fdtd3d | 119 | 33 | 3 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
748,606 | Settings.cpp | zer011b_fdtd3d/Source/Settings/Settings.cpp | /*
* Copyright (C) 2017 Gleb Balykov
*
* This file is part of fdtd3d.
*
* fdtd3d is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version... | 13,777 | C++ | .cpp | 523 | 21.776291 | 142 | 0.593987 | zer011b/fdtd3d | 119 | 33 | 3 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
748,607 | PAssert.cpp | zer011b_fdtd3d/Source/Helpers/PAssert.cpp | /*
* Copyright (C) 2015 Gleb Balykov
*
* This file is part of fdtd3d.
*
* fdtd3d is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version... | 1,384 | C++ | .cpp | 46 | 27.543478 | 74 | 0.710309 | zer011b/fdtd3d | 119 | 33 | 3 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
748,608 | FieldValue.cpp | zer011b_fdtd3d/Source/Kernels/FieldValue.cpp | /*
* Copyright (C) 2017 Gleb Balykov
*
* This file is part of fdtd3d.
*
* fdtd3d is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version... | 1,083 | C++ | .cpp | 35 | 29.2 | 74 | 0.759579 | zer011b/fdtd3d | 119 | 33 | 3 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
748,609 | exact.cpp | zer011b_fdtd3d/Tests/suite/t1.2/exact.cpp | /*
* Copyright (C) 2017 Gleb Balykov
*
* This file is part of fdtd3d.
*
* fdtd3d is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version... | 1,404 | C++ | .cpp | 45 | 28.711111 | 74 | 0.674556 | zer011b/fdtd3d | 119 | 33 | 3 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
748,610 | Callbacks.inc.h | zer011b_fdtd3d/Source/Scheme/Callbacks.inc.h | /*
* Copyright (C) 2018 Gleb Balykov
*
* This file is part of fdtd3d.
*
* fdtd3d is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version... | 1,326 | C++ | .h | 43 | 29.255814 | 74 | 0.798589 | zer011b/fdtd3d | 119 | 33 | 3 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,611 | CallBack.h | zer011b_fdtd3d/Source/Scheme/CallBack.h | /*
* Copyright (C) 2017 Gleb Balykov
*
* This file is part of fdtd3d.
*
* fdtd3d is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version... | 4,665 | C++ | .h | 160 | 27.01875 | 86 | 0.766152 | zer011b/fdtd3d | 119 | 33 | 3 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,612 | Scheme.inc.h | zer011b_fdtd3d/Source/Scheme/Scheme.inc.h | /*
* Copyright (C) 2018 Gleb Balykov
*
* This file is part of fdtd3d.
*
* fdtd3d is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version... | 170,043 | C++ | .h | 4,289 | 32.162742 | 193 | 0.622095 | zer011b/fdtd3d | 119 | 33 | 3 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,613 | Grids.inc.h | zer011b_fdtd3d/Source/Scheme/Grids.inc.h | /*
* Copyright (C) 2018 Gleb Balykov
*
* This file is part of fdtd3d.
*
* fdtd3d is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version... | 2,600 | C++ | .h | 133 | 18.135338 | 74 | 0.773284 | zer011b/fdtd3d | 119 | 33 | 3 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,614 | SchemeHelper.h | zer011b_fdtd3d/Source/Scheme/SchemeHelper.h | /*
* Copyright (C) 2018 Gleb Balykov
*
* This file is part of fdtd3d.
*
* fdtd3d is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version... | 96,558 | C++ | .h | 1,858 | 43.446717 | 176 | 0.645154 | zer011b/fdtd3d | 119 | 33 | 3 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,615 | Grids2.inc.h | zer011b_fdtd3d/Source/Scheme/Grids2.inc.h | /*
* Copyright (C) 2018 Gleb Balykov
*
* This file is part of fdtd3d.
*
* fdtd3d is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version... | 4,598 | C++ | .h | 157 | 25.248408 | 77 | 0.634389 | zer011b/fdtd3d | 119 | 33 | 3 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
748,616 | Scheme.h | zer011b_fdtd3d/Source/Scheme/Scheme.h | /*
* Copyright (C) 2015 Gleb Balykov
*
* This file is part of fdtd3d.
*
* fdtd3d is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version... | 5,492 | C++ | .h | 168 | 29.053571 | 132 | 0.71518 | zer011b/fdtd3d | 119 | 33 | 3 | GPL-2.0 | 9/20/2024, 9:41:49 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.