repo_name stringlengths 5 122 | path stringlengths 3 232 | text stringlengths 6 1.05M |
|---|---|---|
prophecy/Pillar | Dependencies/Include/cml/matrix/determinant.h | /* -*- C++ -*- ------------------------------------------------------------
Copyright (c) 2007 <NAME> and <NAME> http://cmldev.net/
The Configurable Math Library (CML) is distributed under the terms of the
Boost Software License, v1.0 (see cml/LICENSE for details).
*------------------------------------------------... |
prophecy/Pillar | Dependencies/Include/cml/core/fixed_1D.h | /* -*- C++ -*- ------------------------------------------------------------
Copyright (c) 2007 <NAME> and <NAME> http://cmldev.net/
The Configurable Math Library (CML) is distributed under the terms of the
Boost Software License, v1.0 (see cml/LICENSE for details).
*------------------------------------------------... |
prophecy/Pillar | Src/Foundation/Utility/Memory/Memory.h | /*
* This source file is part of Wonderland, the C++ Cross-platform middleware for game
*
* For the latest information, see https://github.com/prophecy/Wonderland
*
* The MIT License (MIT)
* Copyright (c) 2015 <NAME>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this sof... |
prophecy/Pillar | Dependencies/Include/cml/core/cml_assert.h | /* -*- C++ -*- ------------------------------------------------------------
Copyright (c) 2007 <NAME> and <NAME> http://cmldev.net/
The Configurable Math Library (CML) is distributed under the terms of the
Boost Software License, v1.0 (see cml/LICENSE for details).
*------------------------------------------------... |
prophecy/Pillar | Build/iOSMac/WonderlandMacLib/WonderlandMacLib.h | //
// WonderlandMacLib.h
// WonderlandMacLib
//
// Created by <NAME> on 8/11/2559 BE.
// Copyright © 2559 <NAME>. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface WonderlandMacLib : NSObject
@end
|
prophecy/Pillar | Dependencies/Include/cml/mathlib/epsilon.h | /* -*- C++ -*- ------------------------------------------------------------
Copyright (c) 2007 <NAME> and <NAME> http://cmldev.net/
The Configurable Math Library (CML) is distributed under the terms of the
Boost Software License, v1.0 (see cml/LICENSE for details).
*------------------------------------------------... |
prophecy/Pillar | Dependencies/Include/cml/core/cml_meta.h | /* -*- C++ -*- ------------------------------------------------------------
Copyright (c) 2007 <NAME> and <NAME> http://cmldev.net/
The Configurable Math Library (CML) is distributed under the terms of the
Boost Software License, v1.0 (see cml/LICENSE for details).
*------------------------------------------------... |
prophecy/Pillar | Dependencies/Include/cml/mathlib/vector_misc.h | <filename>Dependencies/Include/cml/mathlib/vector_misc.h
/* -*- C++ -*- ------------------------------------------------------------
Copyright (c) 2007 <NAME> and <NAME> http://cmldev.net/
The Configurable Math Library (CML) is distributed under the terms of the
Boost Software License, v1.0 (see cml/LICENSE for deta... |
prophecy/Pillar | Dependencies/Include/cml/matrix/matrix_promotions.h | <gh_stars>10-100
/* -*- C++ -*- ------------------------------------------------------------
Copyright (c) 2007 <NAME> and <NAME> http://cmldev.net/
The Configurable Math Library (CML) is distributed under the terms of the
Boost Software License, v1.0 (see cml/LICENSE for details).
*-------------------------------... |
prophecy/Pillar | Build/iOSMac/WonderlandIosLib/WonderlandIosLib.h | <gh_stars>1-10
//
// WonderlandIosLib.h
// WonderlandIosLib
//
// Created by <NAME> on 8/11/2559 BE.
// Copyright © 2559 <NAME>. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface WonderlandIosLib : NSObject
@end
|
prophecy/Pillar | Src/Foundation/IScene.h | /*
* This source file is part of Wonderland, the C++ Cross-platform middleware for game
*
* For the latest information, see https://github.com/prophecy/Wonderland
*
* The MIT License (MIT)
* Copyright (c) 2015 <NAME>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this sof... |
prophecy/Pillar | Dependencies/Include/cml/vector/vector_promotions.h | <filename>Dependencies/Include/cml/vector/vector_promotions.h<gh_stars>10-100
/* -*- C++ -*- ------------------------------------------------------------
Copyright (c) 2007 <NAME> and <NAME> http://cmldev.net/
The Configurable Math Library (CML) is distributed under the terms of the
Boost Software License, v1.0 (see... |
prophecy/Pillar | Dependencies/Include/Rocket/Core/Core.h | /*
* This source file is part of libRocket, the HTML/CSS Interface Middleware
*
* For the latest information, see http://www.librocket.com
*
* Copyright (c) 2008-2010 CodePoint Ltd, Shift Technology Ltd
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and assoc... |
prophecy/Pillar | Dependencies/Include/cml/matrix/matrix_ops.h | <filename>Dependencies/Include/cml/matrix/matrix_ops.h
/* -*- C++ -*- ------------------------------------------------------------
Copyright (c) 2007 <NAME> and <NAME> http://cmldev.net/
The Configurable Math Library (CML) is distributed under the terms of the
Boost Software License, v1.0 (see cml/LICENSE for detail... |
prophecy/Pillar | Src/Foundation/Utility/Types.h | <reponame>prophecy/Pillar
/*
* This source file is part of Wonderland, the C++ Cross-platform middleware for game
*
* For the latest information, see https://github.com/prophecy/Wonderland
*
* The MIT License (MIT)
* Copyright (c) 2015 <NAME>
*
* Permission is hereby granted, free of charge, to any person obtai... |
prophecy/Pillar | Dependencies/Include/Rocket/Core/Input.h | <gh_stars>100-1000
/*
* This source file is part of libRocket, the HTML/CSS Interface Middleware
*
* For the latest information, see http://www.librocket.com
*
* Copyright (c) 2008-2010 CodePoint Ltd, Shift Technology Ltd
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this... |
prophecy/Pillar | Dependencies/Include/cml/dynamic.h | /* -*- C++ -*- ------------------------------------------------------------
Copyright (c) 2007 <NAME> and <NAME> http://cmldev.net/
The Configurable Math Library (CML) is distributed under the terms of the
Boost Software License, v1.0 (see cml/LICENSE for details).
*------------------------------------------------... |
prophecy/Pillar | Dependencies/Include/cml/et/tags.h | /* -*- C++ -*- ------------------------------------------------------------
Copyright (c) 2007 <NAME> and <NAME> http://cmldev.net/
The Configurable Math Library (CML) is distributed under the terms of the
Boost Software License, v1.0 (see cml/LICENSE for details).
*------------------------------------------------... |
prophecy/Pillar | Dependencies/Include/Rocket/Core/ElementDocument.h | /*
* This source file is part of libRocket, the HTML/CSS Interface Middleware
*
* For the latest information, see http://www.librocket.com
*
* Copyright (c) 2008-2010 CodePoint Ltd, Shift Technology Ltd
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and assoc... |
prophecy/Pillar | Dependencies/Include/SDL_image/IMG_xpm.c | /*
SDL_image: An example image loading library for use with SDL
Copyright (C) 1997-2013 <NAME> <<EMAIL>>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to... |
prophecy/Pillar | Dependencies/Include/cml/quaternion/quaternion_functions.h | <reponame>prophecy/Pillar<filename>Dependencies/Include/cml/quaternion/quaternion_functions.h
/* -*- C++ -*- ------------------------------------------------------------
Copyright (c) 2007 <NAME> and <NAME> http://cmldev.net/
The Configurable Math Library (CML) is distributed under the terms of the
Boost Software Li... |
prophecy/Pillar | Dependencies/Include/cml/mathlib/misc.h | /* -*- C++ -*- ------------------------------------------------------------
Copyright (c) 2007 <NAME> and <NAME> http://cmldev.net/
The Configurable Math Library (CML) is distributed under the terms of the
Boost Software License, v1.0 (see cml/LICENSE for details).
*------------------------------------------------... |
prophecy/Pillar | Dependencies/Include/cml/quaternion/conjugate.h | /* -*- C++ -*- ------------------------------------------------------------
Copyright (c) 2007 <NAME> and <NAME> http://cmldev.net/
The Configurable Math Library (CML) is distributed under the terms of the
Boost Software License, v1.0 (see cml/LICENSE for details).
*------------------------------------------------... |
prophecy/Pillar | Dependencies/Include/cml/util.h | <gh_stars>10-100
/* -*- C++ -*- ------------------------------------------------------------
Copyright (c) 2007 <NAME> and <NAME> http://cmldev.net/
The Configurable Math Library (CML) is distributed under the terms of the
Boost Software License, v1.0 (see cml/LICENSE for details).
*-------------------------------... |
prophecy/Pillar | Dependencies/Include/cml/matrix/inverse.h | /* -*- C++ -*- ------------------------------------------------------------
Copyright (c) 2007 <NAME> and <NAME> http://cmldev.net/
The Configurable Math Library (CML) is distributed under the terms of the
Boost Software License, v1.0 (see cml/LICENSE for details).
*------------------------------------------------... |
prophecy/Pillar | Dependencies/Include/Rocket/Core/FontDatabase.h | <reponame>prophecy/Pillar
/*
* This source file is part of libRocket, the HTML/CSS Interface Middleware
*
* For the latest information, see http://www.librocket.com
*
* Copyright (c) 2008-2010 CodePoint Ltd, Shift Technology Ltd
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* ... |
prophecy/Pillar | Dependencies/Include/cml/core/meta/common.h | /* -*- C++ -*- ------------------------------------------------------------
Copyright (c) 2007 <NAME> and <NAME> http://cmldev.net/
The Configurable Math Library (CML) is distributed under the terms of the
Boost Software License, v1.0 (see cml/LICENSE for details).
*------------------------------------------------... |
prophecy/Pillar | Dependencies/Include/Rocket/Core/Python/ConverterScriptObject.h | /*
* This source file is part of libRocket, the HTML/CSS Interface Middleware
*
* For the latest information, see http://www.librocket.com
*
* Copyright (c) 2008-2010 CodePoint Ltd, Shift Technology Ltd
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and assoc... |
prophecy/Pillar | Dependencies/Include/cml/et/size_checking.h | /* -*- C++ -*- ------------------------------------------------------------
Copyright (c) 2007 <NAME> and <NAME> http://cmldev.net/
The Configurable Math Library (CML) is distributed under the terms of the
Boost Software License, v1.0 (see cml/LICENSE for details).
*------------------------------------------------... |
prophecy/Pillar | Dependencies/Include/Rocket/Controls/ElementFormControl.h | <filename>Dependencies/Include/Rocket/Controls/ElementFormControl.h
/*
* This source file is part of libRocket, the HTML/CSS Interface Middleware
*
* For the latest information, see http://www.librocket.com
*
* Copyright (c) 2008-2010 CodePoint Ltd, Shift Technology Ltd
*
* Permission is hereby granted, free of ... |
prophecy/Pillar | Dependencies/Include/cml/quaternion/quaternion_promotions.h | /* -*- C++ -*- ------------------------------------------------------------
Copyright (c) 2007 <NAME> and <NAME> http://cmldev.net/
The Configurable Math Library (CML) is distributed under the terms of the
Boost Software License, v1.0 (see cml/LICENSE for details).
*------------------------------------------------... |
prophecy/Pillar | Dependencies/Include/cml/quaternion/quaternion_mul.h | <gh_stars>10-100
/* -*- C++ -*- ------------------------------------------------------------
Copyright (c) 2007 <NAME> and <NAME> http://cmldev.net/
The Configurable Math Library (CML) is distributed under the terms of the
Boost Software License, v1.0 (see cml/LICENSE for details).
*-------------------------------... |
prophecy/Pillar | Dependencies/Include/cml/vector/vector_functions.h | /* -*- C++ -*- ------------------------------------------------------------
Copyright (c) 2007 <NAME> and <NAME> http://cmldev.net/
The Configurable Math Library (CML) is distributed under the terms of the
Boost Software License, v1.0 (see cml/LICENSE for details).
*------------------------------------------------... |
prophecy/Pillar | Dependencies/Include/cml/matvec/matvec_mul.h | <reponame>prophecy/Pillar<filename>Dependencies/Include/cml/matvec/matvec_mul.h
/* -*- C++ -*- ------------------------------------------------------------
Copyright (c) 2007 <NAME> and <NAME> http://cmldev.net/
The Configurable Math Library (CML) is distributed under the terms of the
Boost Software License, v1.0 (s... |
prophecy/Pillar | Dependencies/Include/Rocket/Core/RenderInterface.h | <gh_stars>100-1000
/*
* This source file is part of libRocket, the HTML/CSS Interface Middleware
*
* For the latest information, see http://www.librocket.com
*
* Copyright (c) 2008-2010 CodePoint Ltd, Shift Technology Ltd
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this... |
prophecy/Pillar | Dependencies/Include/cml/mathlib/checking.h | /* -*- C++ -*- ------------------------------------------------------------
Copyright (c) 2007 <NAME> and <NAME> http://cmldev.net/
The Configurable Math Library (CML) is distributed under the terms of the
Boost Software License, v1.0 (see cml/LICENSE for details).
*------------------------------------------------... |
prophecy/Pillar | Dependencies/Include/cml/vector/vector_products.h | <gh_stars>10-100
/* -*- C++ -*- ------------------------------------------------------------
Copyright (c) 2007 <NAME> and <NAME> http://cmldev.net/
The Configurable Math Library (CML) is distributed under the terms of the
Boost Software License, v1.0 (see cml/LICENSE for details).
*-------------------------------... |
prophecy/Pillar | Dependencies/Include/Rocket/Core/ElementUtilities.h | /*
* This source file is part of libRocket, the HTML/CSS Interface Middleware
*
* For the latest information, see http://www.librocket.com
*
* Copyright (c) 2008-2010 CodePoint Ltd, Shift Technology Ltd
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and assoc... |
prophecy/Pillar | Samples/PillarTestSolution/EmptyProject/WonderApp.h | #ifndef __WONDER_APP_H__
#define __WONDER_APP_H__
#include "IApplication.h"
class WonderApp : public IApplication
{
virtual void Create();
virtual void Destroy();
virtual void Start();
virtual void Stop();
virtual void Resume();
virtual void Pause();
};
#endif // __WONDER_APP_H__ |
prophecy/Pillar | Dependencies/Include/SDL_image/showimage.c | #include "SDL.h"
#include "SDL_image.h"
#define bool char
#define true 1
#define false 0
int main(int argc, char ** argv)
{
bool quit = false;
SDL_Event event;
SDL_Init(SDL_INIT_VIDEO);
int imgInitCode = IMG_Init(IMG_INIT_JPG | IMG_INIT_PNG);
SDL_Window * window = SDL_CreateWindow("SDL2 Displaying ... |
prophecy/Pillar | Dependencies/Include/cml/core/meta/if.h | <reponame>prophecy/Pillar
/* -*- C++ -*- ------------------------------------------------------------
Copyright (c) 2007 <NAME> and <NAME> http://cmldev.net/
The Configurable Math Library (CML) is distributed under the terms of the
Boost Software License, v1.0 (see cml/LICENSE for details).
*----------------------... |
prophecy/Pillar | Dependencies/Include/cml/matrix/class_ops.h | <gh_stars>10-100
/* -*- C++ -*- ------------------------------------------------------------
Copyright (c) 2007 <NAME> and <NAME> http://cmldev.net/
The Configurable Math Library (CML) is distributed under the terms of the
Boost Software License, v1.0 (see cml/LICENSE for details).
*-------------------------------... |
prophecy/Pillar | Dependencies/Include/cml/vector/vector_ops.h | /* -*- C++ -*- ------------------------------------------------------------
Copyright (c) 2007 <NAME> and <NAME> http://cmldev.net/
The Configurable Math Library (CML) is distributed under the terms of the
Boost Software License, v1.0 (see cml/LICENSE for details).
*------------------------------------------------... |
prophecy/Pillar | Src/Foundation/Utility/Utility.h | /*
* This source file is part of Wonderland, the C++ Cross-platform middleware for game
*
* For the latest information, see https://github.com/prophecy/Wonderland
*
* The MIT License (MIT)
* Copyright (c) 2015 <NAME>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this sof... |
prophecy/Pillar | Dependencies/Include/cml/mathlib/typedef.h | <gh_stars>10-100
/* -*- C++ -*- ------------------------------------------------------------
Copyright (c) 2007 <NAME> and <NAME> http://cmldev.net/
The Configurable Math Library (CML) is distributed under the terms of the
Boost Software License, v1.0 (see cml/LICENSE for details).
*-------------------------------... |
prophecy/Pillar | Src/Foundation/Utility/Memory/WonderPtr.h | #/*
* This source file is part of Wonderland, the C++ Cross-platform middleware for game
*
* For the latest information, see https://github.com/prophecy/Wonderland
*
* The MIT License (MIT)
* Copyright (c) 2015 <NAME>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this so... |
prophecy/Pillar | Src/Foundation/IEntity.h | /*
* This source file is part of Wonderland, the C++ Cross-platform middleware for game
*
* For the latest information, see https://github.com/prophecy/Wonderland
*
* The MIT License (MIT)
* Copyright (c) 2015 <NAME>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this sof... |
prophecy/Pillar | Dependencies/Include/cml/mathlib/vector_transform.h | /* -*- C++ -*- ------------------------------------------------------------
Copyright (c) 2007 <NAME> and <NAME> http://cmldev.net/
The Configurable Math Library (CML) is distributed under the terms of the
Boost Software License, v1.0 (see cml/LICENSE for details).
*------------------------------------------------... |
AlexanderArgyriou/SortingLibrary | ArraySorter.h | #pragma once
#include <iostream>
using namespace std;
namespace MyAlgorithms
{
template <typename T>
class ArraySorter
{
private:
T *Array;
int NumOfElements;
protected:
inline void swap(const int &index1, const int &index2) noexcept; //swap
//QuickSort O(N*logN)
inline const i... |
AlexanderArgyriou/SortingLibrary | WorkThread.h | #pragma once
#include "ArraySorter.h"
#include <ctime>
#include <random>
using namespace MyAlgorithms;
//same namespace
namespace Work
{
template<typename T>
class WorkThread
{
protected:
ArraySorter<T> *test;
float *result;
public:
WorkThread(ArraySorter<T> *newTest , float *newR... |
shinyblink/ff-glitch | ff-glitch.c | // ┳━┓┳━┓ ┏━┓┳ o┏┓┓┏━┓┳ ┳
// ┣━ ┣━ ━━┃ ┳┃ ┃ ┃ ┃ ┃━┫
// ┇ ┇ ┇━┛┇━┛┇ ┇ ┗━┛┇ ┻
// ff-glitch: the farbfeld glitcher.
// usage: <farbfeld source> | ff-glitch | <farbfeld sink>
// thanks to xero for the idea! you rock.
// made by vifino. ISC (C) vifino 2018
#include <stdio.h>
#include <string.h>
#include <stdint.h>
... |
shinyblink/ff-glitch | ff-glitch2.c | // ┳━┓┳━┓ ┏━┓┳ o┏┓┓┏━┓┳ ┳
// ┣━ ┣━ ━━┃ ┳┃ ┃ ┃ ┃ ┃━┫
// ┇ ┇ ┇━┛┇━┛┇ ┇ ┗━┛┇ ┻
// ff-glitch: the farbfeld glitcher.
// usage: <farbfeld source> | ff-glitch | <farbfeld sink>
// thanks to xero for the idea! you rock.
// made by vifino. ISC (C) vifino 2018
#include <stdio.h>
#include <string.h>
#include <stdint.h>
... |
dark0ghost/FractalCryptGUI | core/fractalcryptcore.h | <reponame>dark0ghost/FractalCryptGUI
#ifndef FRACTALCRYPTCORE_H
#define FRACTALCRYPTCORE_H
#include <QObject>
#include <QFile>
#include <QDataStream>
#include <QCryptographicHash>
#include <QDir>
#include <QMap>
#include <openssl/conf.h>
#include <openssl/evp.h>
#include <openssl/err.h>
#include "core/quazipfunction... |
dark0ghost/FractalCryptGUI | core/quazipfunctions.h | <gh_stars>100-1000
#ifndef QUAZIPFUNCTIONS_H
#define QUAZIPFUNCTIONS_H
#include "quazip/quazip.h"
#include "quazip/quazipfile.h"
#include "quazip/quazipdir.h"
#include "quazip/JlCompress.h"
class QuazipFunctions
{
class CountingFile;
static bool compressSubDir(QuaZip* zip, QString dir, QString origDir, quint3... |
dark0ghost/FractalCryptGUI | widgets/archivewindow.h | #ifndef ARCHIVEWINDOW_H
#define ARCHIVEWINDOW_H
#include <QWidget>
#include <QDialog>
#include <QFileDialog>
#include <QMessageBox>
#include <QThreadPool>
#include "core/fractalcryptcore.h"
#include "core/directorysizecalculator.h"
namespace Ui { class ArchiveWindow; }
class ArchiveWindow : public QDialog
{
Q_O... |
dark0ghost/FractalCryptGUI | widgets/resizecontainerwindow.h | <filename>widgets/resizecontainerwindow.h
#ifndef RESIZECONTAINERWINDOW_H
#define RESIZECONTAINERWINDOW_H
#include <QWidget>
#include <QFile>
#include <QtMath>
#include <QMessageBox>
#include "core/fractalcryptcore.h"
namespace Ui { class ResizeContainerWindow; }
class ResizeContainerWindow : public QDialog
{
Q... |
dark0ghost/FractalCryptGUI | widgets/progressdialog.h | #ifndef PROGRESSDIALOG_H
#define PROGRESSDIALOG_H
#include <QDialog>
#include <QRunnable>
#include <QEventLoop>
#include <QThreadPool>
#include <QCloseEvent>
namespace Ui { class ProgressDialog; }
class ProgressDialog : public QDialog
{
Q_OBJECT
bool finished;
public:
explicit ProgressDialog(QWidget *pa... |
dark0ghost/FractalCryptGUI | widgets/mainwindow.h | <reponame>dark0ghost/FractalCryptGUI
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include <QFileDialog>
#include "createcontainerwindow.h"
#include "archivewindow.h"
#include "resizecontainerwindow.h"
QT_BEGIN_NAMESPACE
namespace Ui { class MainWindow; }
QT_END_NAMESPACE
class MainWindow : publ... |
dark0ghost/FractalCryptGUI | core/directorysizecalculator.h | #ifndef DIRECTORYSIZECALCULATOR_H
#define DIRECTORYSIZECALCULATOR_H
#include <QObject>
#include <QRunnable>
#include <QThread>
#include <QDir>
#include <QStack>
class DirectorySizeCalculator : public QObject, public QRunnable
{
Q_OBJECT
public:
QString directoryPath;
DirectorySizeCalculator(QString path)... |
dark0ghost/FractalCryptGUI | widgets/startwindow.h | <filename>widgets/startwindow.h
#ifndef STARTWINDOW_H
#define STARTWINDOW_H
#include <QWidget>
#include <QFileDialog>
#include "createcontainerwindow.h"
#include "mainwindow.h"
namespace Ui { class StartWindow; }
class StartWindow : public QWidget
{
Q_OBJECT
public:
explicit StartWindow(QWidget *parent = n... |
dark0ghost/FractalCryptGUI | widgets/createcontainerwindow.h | <gh_stars>100-1000
#ifndef CREATECONTAINERWINDOW_H
#define CREATECONTAINERWINDOW_H
#include <QWidget>
#include <QDialog>
#include <QFileDialog>
#include <QMessageBox>
#include <QtMath>
#include "core/fractalcryptcore.h"
namespace Ui { class CreateContainerWindow; }
class CreateContainerWindow : public QDialog
{
... |
aiuno/WingOS | libs/utils/wstring.h | #ifndef WSTRING_H
#define WSTRING_H
#include <stdio.h>
#include <string.h>
#include <utils/io/memory_io.h>
namespace utils
{
class string;
template <typename V>
string to_str(V value);
template <>
string to_str<const char *>(const char *value);
class string : protected memory_io
{
p... |
aiuno/WingOS | libs/utils/module_flags.h | <reponame>aiuno/WingOS
#ifndef MODULE_FLAGS_H
#define MODULE_FLAGS_H
// this is useless if you are not a module :^(
#include <stddef.h>
#include <stdint.h>
#endif // MODULE_FLAGS_H
|
aiuno/WingOS | libs/utils/unicode.h | <gh_stars>100-1000
#ifndef UNICODE_H
#define UNICODE_H
#include <stddef.h>
#include <stdint.h>
namespace utils
{
typedef uint32_t unicode_codepoint;
constexpr bool is_unicode_digit(const unicode_codepoint point)
{
if (point <= U'9' && point >= U'0')
{
return true;
}
... |
aiuno/WingOS | libs/utils/attribute.h |
#ifndef ATTRIBUTE_H
#define ATTRIBUTE_H
#define FORCE_INLINE __attribute__((always_inline))
#define NO_RETURN [[noreturn]]
#define ASM_FUNCTION extern "C"
#endif //ATTRIBUTE_H
|
aiuno/WingOS | kernel/arch/x86_64/device/mboot_module.h | <reponame>aiuno/WingOS
#ifndef MBOOT_MODULE_H
#define MBOOT_MODULE_H
#include <stivale_struct.h>
class mboot_module
{
stivale2_struct *stistruct;
stivale2_module *modules[50]; // that's an array of pointer rip
public:
mboot_module();
void init(stivale2_struct *main_struct);
stivale2_module *get_fs_... |
aiuno/WingOS | libs/utils/memory/smart_ptr.h | <filename>libs/utils/memory/smart_ptr.h
#ifndef SMART_PTR_H
#define SMART_PTR_H
#include <stddef.h>
namespace utils
{
template <typename type>
class unique_ptr
{
type *raw;
public:
unique_ptr() : raw(nullptr){};
unique_ptr(type *d) : raw(d){};
unique_ptr(unique_ptr &&mov... |
aiuno/WingOS | libs/libc/sys/types.h | #ifndef SYS_TYPES_H
#define SYS_TYPES_H
#include <stddef.h>
typedef long ssize_t; // signed size_t
typedef long blkcnt_t; // block count
typedef size_t blksize_t; // block size
typedef blkcnt_t fsblkcnt_t; // file system block count
typedef size_t clock_t; // clock tick
typedef long clockid_t; // clock id
typede... |
aiuno/WingOS | unit-test/src/math_check.h | #pragma once
int min_check_utils();
int max_check_utils(); |
aiuno/WingOS | kernel/arch/x86_64/interrupt.h | <reponame>aiuno/WingOS<filename>kernel/arch/x86_64/interrupt.h<gh_stars>100-1000
#pragma once
#include <arch.h>
#include <gdt.h>
#include <stdint.h>
#define IDT_ENTRY_COUNT 256
#define INTGATE 0x8e
#define TRAPGATE 0xeF
#define INT_USER 0x60
enum class interrupt_error_types : int
{
DIVIDED_BY_ZERO = 0,
DEBUG_... |
aiuno/WingOS | libs/utils/io/memory_io.h | <reponame>aiuno/WingOS<gh_stars>100-1000
#ifndef MEMORY_IO_H
#define MEMORY_IO_H
#include <utils/io/io.h>
#include <utils/memory/smart_ptr.h>
namespace utils
{
class memory_io : public reader,
public writer,
public basic_seeker_implementation // seeker
{
void ... |
aiuno/WingOS | libs/libc/math.h | #ifndef MATH_H
#define MATH_H
#include <stddef.h>
#ifdef __SSE__
#define PI 3.141592654
double pow(double x, double y);
float powf(float x, float y);
#ifdef X87
long double powl(long double x, long double y);
#endif
#define isinf(v) __builtin_isinf_sign(v)
#define isnan(v) __builtin_isnan(v)
double trunc(double x);
d... |
aiuno/WingOS | kernel/arch/x86_64/sse.h | <filename>kernel/arch/x86_64/sse.h<gh_stars>100-1000
#pragma once
#include <stddef.h>
#include <stdint.h>
enum xsave_reg
{
x87_XSAVE_REG = (1 << 0),
SSE_XSAVE_REG = (1 << 1),
AVX_XSAVE_REG = (1 << 2),
};
#define SSE_LOW_LEVEL_FUNC __attribute__((optimize("O2")))
SSE_LOW_LEVEL_FUNC bool has_xsave();
SSE_LO... |
aiuno/WingOS | unit-test/src/memory_check.h | #ifndef MEMORY_CHECK_H
#define MEMORY_CHECK_H
int memory_creation_test();
int memory_destroy_check();
int memory_owner_check();
int memory_compare_check();
int memory_set_check();
int memory_move_check();
int memory_copy_check();
#endif // MEMORY_CHECK_H
|
aiuno/WingOS | unit-test/src/string_check.h | <reponame>aiuno/WingOS
#pragma once
int strlen_check_0();
int strnlen_check_0();
int strnlen_check_1();
int strcmp_check_true();
int strcmp_check_false();
int memcmp_check_true();
int memcmp_check_false();
int memset_check_0(); |
aiuno/WingOS | app/graphic_service/graphic_system_service.h | #ifndef GRAPHIC_SYSTEM_SERVICE_H
#define GRAPHIC_SYSTEM_SERVICE_H
#include <stdint.h>
void update_window_focus(uint32_t from, uint32_t to);
#endif // GRAPHIC_SYSTEM_SERVICE_H
|
aiuno/WingOS | libs/libc/pthread.h | <gh_stars>100-1000
#ifndef __PTHREAD_H__
#define __PTHREAD_H__
#endif /* __PTHREAD_H__ */
|
aiuno/WingOS | app/graphic_service/raw_window.h | #ifndef RAW_WINDOW_H
#define RAW_WINDOW_H
#include <gui/graphic_system.h>
#include <gui/raw_graphic.h>
#include <stdint.h>
#include <sys/types.h>
#include <utils/container/wvector.h>
#define MAX_WINDOW 255
struct raw_window_data
{
uint64_t wid;
pid_t pid;
uint64_t px;
uint64_t py;
uint64_t width;
... |
aiuno/WingOS | kernel/arch/x86_64/device/disk/ata_driver.h | #pragma once
#include <device/io_device.h>
#include <stdint.h>
enum ATA_IO
{
ATA_PRIMARY = 0x1F0,
ATA_SECONDARY = 0x170,
ATA_PRIMARY_DCR = 0x3F6,
ATA_SECONDARY_DCR = 0x376
};
enum ATA_drive_type
{
ATA_PRIMARY_MASTER = 1,
ATA_PRIMARY_SLAVE = 2,
ATA_SECONDARY_MASTER = 3,
ATA_SECONDARY_SL... |
aiuno/WingOS | libs/libc/bits/stdc++.h |
#ifndef STD_CPP_H
#define STD_CPP_H
#include <stddef.h>
typedef decltype(alignof(int)) align_value;
namespace std
{
enum class align_val_t : align_value
{
};
}
void *operator new(size_t size);
void *operator new[](size_t size);
void *operator new(size_t size, std::align_val_t align);
void *operator new[]... |
aiuno/WingOS | libs/libc/lcxxabi.h | #ifndef LCXXABI_H
#define LCXXABI_H
#ifndef UNIT_TEST
#include <utils/lock.h>
extern "C"
{
#define ATEXIT_MAX_FUNCS 128
typedef unsigned uarch_t;
struct atexit_func_entry_t
{
void (*destructor)(void *);
void *target;
void *dso_handle;
};
int __cxa_atexit(void (*destructor)... |
aiuno/WingOS | unit-test/src/alloc_array_check.h | #pragma once
int alloc_array_creation_test();
int alloc_array_creation_fill_test();
int alloc_array_alloc_test();
int alloc_array_free_test();
int alloc_array_foreachentry_test();
|
aiuno/WingOS | app/graphic_service/raw_graphic_system.h | #ifndef RAW_GRAPHIC_SYSTEM_H
#define RAW_GRAPHIC_SYSTEM_H
#include "raw_window.h"
#include <stdint.h>
struct graphic_request_return
{
bool should_return;
uint64_t raw_val;
};
void init_raw_graphic_system();
uint64_t get_scr_width();
uint64_t get_scr_height();
void draw_mouse(uint64_t x, uint64_t y);
void gra... |
aiuno/WingOS | unit-test/src/utils_string_check.h | <reponame>aiuno/WingOS
#ifndef UTILS_STRING_CHECK_H
#define UTILS_STRING_CHECK_H
#endif // UTILS_STRING_CHECK_H
|
aiuno/WingOS | libs/libc/stdlib.h | <reponame>aiuno/WingOS
#ifndef STDLIB_H
#define STDLIB_H
#include <stddef.h>
#include <stdint.h>
typedef struct
{
int quot;
int rem;
} div_t;
typedef struct
{
long quot;
long rem;
} ldiv_t;
typedef struct
{
long long quot;
long long rem;
} lldiv_t;
div_t div(int numerator, int denominator);
... |
aiuno/WingOS | libs/libc/plug/system_plug.h | <gh_stars>100-1000
#pragma once
#include <stddef.h>
#include <stdint.h>
void plug_init();
uintptr_t plug_allocate_page(size_t count);
int plug_free_page(uintptr_t addr, size_t count);
void plug_debug_out(const char *str, size_t length);
int plug_open(const char *path_name, int flags, int mode);
int plug_close(int fd);... |
aiuno/WingOS | kernel/arch/x86_64/device/ps_keyboard.h | <filename>kernel/arch/x86_64/device/ps_keyboard.h
#pragma once
#include <device/general_device.h>
#include <filesystem/userspace_fs.h>
#include <stdint.h>
#define KEY_COUNT 128
static const char asciiDefault[58] =
{
0,
0, // ESC
49, // 1
50,
51,
52,
53,
... |
aiuno/WingOS | kernel/arch/x86_64/device/network/ethernet_protocol.h | #ifndef ETHERNET_PROTOCOL_H
#define ETHERNET_PROTOCOL_H
#include <stdint.h>
struct mac_address
{
uint8_t mac[6];
} __attribute__((packed));
enum ethernet_types : uint16_t
{
ET_ARP = 0x0806,
ET_IP4 = 0x0800,
ET_IP6 = 0x86DD,
};
typedef uint32_t ip_addr;
struct ethernet_protocol
{
mac_address desti... |
aiuno/WingOS | kernel/arch/x86_64/device/pci_device_code.h | <gh_stars>100-1000
#ifndef PCI_STR_CONVERT_H
#define PCI_STR_CONVERT_H
#include <stdint.h>
enum class device_class_code : uint8_t
{
MASS_STORAGE_CONTROLLER = 1,
NETWORK_CONTROLLER = 2,
DISPLAY_CONTROLLER = 3,
MULTIMEDIA_CONTROLLER = 4,
MEMORY_CONTROLLER = 5,
BRIDGE_DEVICE = 6,
BASE_SYSTEM_P... |
aiuno/WingOS | libs/utils/type_traits.h | #ifndef TYPE_TRAITS_H
#define TYPE_TRAITS_H
#include <utils/type/integral_constant.h>
namespace utils
{
// remove reference
template <typename t>
struct remove_reference
{
using type = t;
};
template <typename t>
struct remove_reference<t &>
{
using type = t;
};
... |
aiuno/WingOS | unit-test/src/bit_check.h | #pragma once
int get_bit_check();
int set_bit_check();
|
aiuno/WingOS | libs/utils/json_parser.h | #ifndef JSON_PARSER_H
#define JSON_PARSER_H
#include <stdint.h>
#include <utils/container/wvector.h>
namespace utils
{
enum json_type
{
JSON_INT = 1,
JSON_BOOL,
JSON_FLOAT,
JSON_STRING,
JSON_NULL
};
class json_value
{
bool is_loaded = false;
... |
aiuno/WingOS | libs/utils/error_result.h | <filename>libs/utils/error_result.h
#ifndef ERROR_RESULT_H
#define ERROR_RESULT_H
#include <assert.h>
#include <utils/wstring.h>
namespace utils
{
class error
{
const char *_error = "no error"; // don't use utils::string for the moment because we need to check error as a compile time too and string is ... |
aiuno/WingOS | libs/gui/raw_graphic.h | <reponame>aiuno/WingOS
#pragma once
#include <stdint.h>
namespace sys
{
struct real_pos
{
uint32_t x;
uint32_t y;
} __attribute__((packed));
struct raw_pos
{
union
{
real_pos rpos;
uint64_t pos;
};
} __attribute__((packed));
} //... |
aiuno/WingOS | libs/utils/sys/proc_info_flag.h | <reponame>aiuno/WingOS
#ifndef PROC_INFO_FLAG_H
#define PROC_INFO_FLAG_H
#define PROC_INFO_STATUS 0 // running, sleeping...
#define PROC_INFO_NAME 1
#define PROC_INFO_EXIT_STATUS 2
#endif // PROC_INFO_FLAG_H
|
aiuno/WingOS | libs/module/device_generic_driver.h | #ifndef DEVICE_GENERIC_DRIVER_H
#define DEVICE_GENERIC_DRIVER_H
#include <stddef.h>
#include <stdint.h>
#include <string.h>
#include <utils/container/wvector.h>
#include <utils/sys/device_file_info.h>
enum device_type : uint32_t
{
TIMER_DEVICE = 0,
DRIVE_DEVICE = 1,
NETWORK_DEVICE = 2,
MOUSE_DEVICE = 3,... |
aiuno/WingOS | kernel/arch/x86_64/rsyscall.h | <gh_stars>100-1000
#ifndef SYSCALL_H
#define SYSCALL_H
void init_syscall_for_current_cpu();
#endif // SYSCALL_H
|
aiuno/WingOS | libs/utils/bit.h | #ifndef BIT_H
#define BIT_H
#include <stddef.h>
namespace utils
{
template <typename T>
constexpr bool get_bit(const T value, const size_t offset)
{
return (value & (1 << (offset)));
}
template <typename T>
constexpr void set_bit(T &value, const size_t offset, const bool new_value)
{... |
aiuno/WingOS | libs/utils/container/alloc_array.h | #ifndef ALLOC_ARRAY_H
#define ALLOC_ARRAY_H
#include <stddef.h>
#include <stdint.h>
#include <stdio.h>
#include <utils/container/container.h>
#include <utils/type_traits.h>
namespace utils
{
// an alloc array is an alternative to vector, used/will be used for things like message list
// were we want a list wit... |
aiuno/WingOS | libs/kern/mouse_keyboard.h | #pragma once
#include <stddef.h>
#include <stdint.h>
#include <utils/sys/device_file_info.h>
namespace sys
{
static const char asciiDefault[58] =
{
0,
0, // ESC
49, // 1
50,
51,
52,
53,
54,
55,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.