blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 986
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 23
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 145
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 122
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7c699dddb6cbe5697603f03316caa4b1f0cf4cd9 | 29100558492bee54541bf33139f481bfcbaa4411 | /heroes of might and magic 3/zOrder.h | a9be60ddb2bc7a793ffb8a952e7ad77a043646ef | [] | no_license | yellowThroat/Heroes-of-MM | 9547a37c14ac136f3305b3f53e89276c5085f6a4 | caf8d3c612b7d53d54e1c532e2d2f8df5fcd5e03 | refs/heads/master | 2021-09-10T15:33:31.146609 | 2018-01-10T02:19:49 | 2018-01-10T02:19:49 | 113,617,822 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 426 | h | #pragma once
#include "gameNode.h"
class player;
class zOrder : public gameNode
{
private:
player* _player;
private:
typedef vector<tagRender> vRender;
vRender _vRender;
public:
HRESULT init(void);
void release(void);
void update(void);
void render(void);
void addRender(tagRender render);
void deleteR... | [
"kana97@naver.com"
] | kana97@naver.com |
f74aa63d7e04592eccec5e331c6fb64db5a4b73e | 67de7e4c776026de655cca767f19b2eb1f8527ac | /DesktopApp/Desktop_APP/src/ui_randomfact.h | 4ad0607a256883d88d11b497f9325fd3e5d2a069 | [] | no_license | tonyt1/4574_Final | 7476ad908781f18af396c3bc7ee4ee0e925843aa | 8af3310c18d84fd3ae75827eb35745cbbb945068 | refs/heads/master | 2021-01-19T19:31:13.968637 | 2017-05-05T02:02:07 | 2017-05-05T02:02:07 | 88,420,399 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,724 | h | /********************************************************************************
** Form generated from reading UI file 'randomfact.ui'
**
** Created by: Qt User Interface Compiler version 5.8.0
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
****************************************... | [
"beyongl@vt.edu"
] | beyongl@vt.edu |
223170464fbcb12aba6ca244c42119dfea717b95 | 9d66e1ef3911d5804f193f42de845973e62ddf4f | /TicTacToe/main.cpp | 55b0117d91fcbad7cc87414960d938710e28f930 | [] | no_license | AlanD88/TicTacToe | 9f13a8e8db9e440a80cd8e9f089b80813e9fecc8 | 42ab27774f8b6328a53ac397c63076c02863b7d5 | refs/heads/master | 2020-04-29T12:03:03.348635 | 2014-04-30T01:42:12 | 2014-04-30T01:42:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 810 | cpp | /*
Duncan, Alan
April 18, 2014
Tic-Tac-Toe
Simple game that players can choose any number of players from 0-2 with an an intelligent AI
*/
#include <iostream>
#include "gameControls.h"
using namespace std;
void intro(); //Initial menu
void processChoice(gameControls& newGame);
int main()
{
gameControls... | [
"alanduncan3@gmail.com"
] | alanduncan3@gmail.com |
1df4eecd4d55798a8cef66c9dc851d990ac109cf | bed05496e526a2716d6aa2ca7904c1b89c9058f3 | /CodeForces/EducationalRound37/connectedcomponents.cpp | ba3d709f08ff0a68f87d4b51c09a7bb73359f9e2 | [] | no_license | dushyant7917/Competitive-Programming | 2e5b6141e87f42bb5dbb61db3b6bcb383c559c16 | d25bbb12235bdaf42435342e4865b5b0b6b37a31 | refs/heads/master | 2020-06-28T12:05:58.959849 | 2019-08-02T12:24:15 | 2019-08-02T12:24:15 | 200,230,019 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,292 | cpp | #include<bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef double dbl;
#define fr(x,a,b) for(ll x=a;x<b;x++)
#define rf(x,a,b) for(ll x=a;x>b;x--)
#define pii pair<ll,ll>
#define PB push_back
#define MP make_pair
#define mod 1000000007
#define gmax LLONG_MAX
#define gmin LLONG_MIN
#define INF 2e9
#def... | [
"dushyant7917@gmail.com"
] | dushyant7917@gmail.com |
a19a1c6e848c42c9d44e032494b62cd5a2a3f596 | fc24964eafb21a9c999dae65db4ef15d4c127fc0 | /Gamal2/src/Gamal.cpp | dc9307b94dbb44f8188421cb69bd7c270cfe1137 | [] | no_license | FabioCarbajal/Abstracta2 | 0e5be77ffcff5ab8de272172800cf14a8a161310 | e817141fbf15fc2dcbbfc3fdaedfcd51f1229287 | refs/heads/master | 2021-04-18T19:40:55.766317 | 2018-11-24T07:32:35 | 2018-11-24T07:32:35 | 126,630,445 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,791 | cpp | #include "Gamal.h"
Gamal::Gamal(ZZ e1, ZZ e2, ZZ publica){
this -> e_1 = e1;
this -> e_2 = e2;
this -> p = publica;
}
string Gamal::cifrar(string mensaje){
ZZ r = ZZ(5);
ZZ c_1 = potenciaMod(this -> e_1,r,this -> p);
ZZ Km = potenciaMod(this -> e_2,r,this -> p);
string digito... | [
"noreply@github.com"
] | FabioCarbajal.noreply@github.com |
4a573e7dceda024565dba485b1513499ef30878b | d6f89af50a9fcbeb0a6f35d850b9df1c8cd9cfb0 | /demo_services/service_z/src/api/service_k/k_api_struct_define.cpp | a0b870782338bd95f7302d3d097f33e8d095c6f3 | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0"
] | permissive | yyfleagle/msgrpc | 6af88f1da159a383934f036f95eb1e28abe2112b | 586faecc2b5bd47c83f84a2cce6cce3010d1d58a | refs/heads/master | 2020-03-20T03:27:29.861303 | 2017-05-18T13:25:09 | 2017-05-18T13:25:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 130 | cpp | #include <api/service_k/k_api_struct_declare.h>
#include <msgrpc/api/api_struct_define.h>
#include <api/service_k/service_k.api>
| [
"whunmr@gmail.com"
] | whunmr@gmail.com |
7cf6fbad81020c6453b04584e525b62ff5444722 | 36b22f80a3325d95bb913a4bd0b16a73d113906c | /src/bixd/rpc/handlers/AccountTxOld.cpp | f8721863ed4e0e22c81b396859d39bc1b67abd10 | [
"MIT"
] | permissive | VardanMelik/bixrp-old | 32ec279ba1d5e3ff1799a9c17ed6a5b884ba044a | eab3140ea4bc3ef65ff9e4d73d7badff5f39e6cf | refs/heads/main | 2023-06-07T06:13:29.320600 | 2021-06-23T04:10:57 | 2021-06-23T04:10:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,128 | cpp | //------------------------------------------------------------------------------
/*
This file is part of bixd
Copyright (c) 2012-2014 bixd Labs Inc.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copy... | [
"eyemotiongamestudio@gmail.com"
] | eyemotiongamestudio@gmail.com |
e3e6624b2fa74dca043106abc756d8d0d544aedd | 7e6fd85d9a8dc2656ab194a4f77ca23abdbab601 | /Desktop/Newbit testa2c/NewBit/source/newbit/src/policy/feerate.cpp | cff92311dc942642d95d97a838114f3fc4441a87 | [
"MIT"
] | permissive | NewBitCrypto/NewBitV2 | 168de38f995fecd310b05235040b700a343adc18 | 6de8751204d8fd6afdccc65afb04e96d419bc9c0 | refs/heads/master | 2020-03-12T01:10:11.907139 | 2018-04-20T13:46:17 | 2018-04-20T13:46:17 | 130,368,579 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,142 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2016 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "feerate.h"
#include "tinyformat.h"
const std::string CURRENCY_UNIT = ... | [
"newbitcrypto@gmail.com"
] | newbitcrypto@gmail.com |
3e095ce8aa0532e066f85a621ba258f69d6e284d | 04af3b839eb8fde7a1662fc9e625864d9673ec05 | /vislib/src/sys/VolatileIPCStringTable.cpp | 121362f2b09f590966ee7d5870e9501f42b887a9 | [] | no_license | gralkapk/megamol_pub_backup | d7a53adf53011f9e8b9b2069f908db0413f6baae | 7b405a4003d578adbb70cb6a29ffcc8d01e0fca1 | refs/heads/master | 2021-06-21T17:58:40.648674 | 2017-08-03T10:32:54 | 2017-08-03T10:32:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,737 | cpp | /*
* VolatileIPCStringTable.cpp
*
* Copyright (C) 2006 - 2008 by Universitaet Stuttgart (VIS).
* Alle Rechte vorbehalten.
*/
#include "vislib/sys/VolatileIPCStringTable.h"
#include "vislib/AlreadyExistsException.h"
#include "vislib/assert.h"
#include "vislib/MissingImplementationException.h"
#include ... | [
"grottel@3ec011a9-ccf5-4689-8f2f-5f4aa021d377"
] | grottel@3ec011a9-ccf5-4689-8f2f-5f4aa021d377 |
1a6707c9c3538fea6d98cf7fa6c7f164a5931506 | cf8ddfc720bf6451c4ef4fa01684327431db1919 | /SDK/ARKSurvivalEvolved_DinoTamedInventoryComponent_BP_RockGolem_functions.cpp | 38ef24d891590555191248dc57062de15a9ec7c6 | [
"MIT"
] | permissive | git-Charlie/ARK-SDK | 75337684b11e7b9f668da1f15e8054052a3b600f | c38ca9925309516b2093ad8c3a70ed9489e1d573 | refs/heads/master | 2023-06-20T06:30:33.550123 | 2021-07-11T13:41:45 | 2021-07-11T13:41:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,364 | cpp | // ARKSurvivalEvolved (329.9) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "ARKSurvivalEvolved_DinoTamedInventoryComponent_BP_RockGolem_parameters.hpp"
namespace sdk
{
//---------------------------------------------------------------------------
//Functions
//-----------------------------------------... | [
"sergey.2bite@gmail.com"
] | sergey.2bite@gmail.com |
e40d29a2a9c572493fc4f3ceb6853122f8653a6c | ff7991d69346837cedd73f2550e2785df531a5ec | /10.17/mainwindow.h | 03a11edab9d5d16115e2c4bacb043c475d1abc76 | [
"Unlicense"
] | permissive | boysbehind/kCal | 9c9e50d7875a1432eebe4cd51ac178e11a1e7359 | b33fbce06222ffa64c3e7afb394401781d7add6d | refs/heads/master | 2022-12-29T15:26:46.273815 | 2020-10-18T15:19:37 | 2020-10-18T15:19:37 | 295,939,982 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,714 | h | #ifndef MAINWINDOW_H
#define MAINWINDOW_H
#undef slots
#include <QMainWindow>
#include <QJsonDocument>
#include <QJsonParseError>
#include <QJsonObject>
#include <QJsonArray>
#include <QJsonValue>
#include <QFile>
#include <Python.h>
#include <dialog_help.h>
#define slots Q_SLOTS
namespace Ui {
class ... | [
"noreply@github.com"
] | boysbehind.noreply@github.com |
223638c08f4fcd81e2873244652c604cd512b0c8 | 4fc468d7e7c57a554254956fec4ab7b8a8e65fea | /Array.h | d02b2ac34947d2950f467c8cb0208800161a3067 | [] | no_license | SergeyShopik/github-upload | 7c97743e87d0a67b64cd81093a24f378f371779c | dc0fb24e5a6d0e56998a7fa4200e9c80afaec711 | refs/heads/master | 2022-11-01T00:35:37.675967 | 2020-06-18T14:14:32 | 2020-06-18T14:14:32 | 273,225,605 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,021 | h | #pragma once
#include<iostream>
#include<exception>
#include<string>
class NoSix : public std::exception
{
public:
const char* what() const
{
return "666 is a wrong number.\n";
}
};
class Array
{
public:
class ErrorIndex : public std::exception
{
public:
size_t ind;
ErrorIndex(size_t ind_) : ind(ind_) {... | [
"sergey.shopik101@gmail.com"
] | sergey.shopik101@gmail.com |
69c727849ee5324773d6f77fabbf0fc30c71aed5 | f91b194b173ac314aa6f6d17dd5450c5573b0b55 | /src/blockchainexplorer/BlockchainExplorerErrors.cpp | 135d5ac6b88a78b459edcd03bce6b44651b4b223 | [
"MIT"
] | permissive | Menutra/catalyst-cli | cd9057d8d4951212b057a3b5844fe24509715eb0 | 27c2833d43a4c80f732f55932c885a03490e0469 | refs/heads/development | 2023-01-03T12:07:35.125808 | 2020-10-14T15:41:03 | 2020-10-14T15:41:03 | 303,084,231 | 0 | 0 | MIT | 2020-10-14T07:35:46 | 2020-10-11T09:22:55 | C++ | UTF-8 | C++ | false | false | 422 | cpp | // Copyright (c) 2012-2017, The CryptoNote developers, The Bytecoin developers
// Copyright (c) 2018-2019, The TurtleCoin Developers
//
// Please see the included LICENSE file for more information.
#include "BlockchainExplorerErrors.h"
namespace CryptoNote
{
namespace error
{
BlockchainExplorerErrorCa... | [
"noreply@github.com"
] | Menutra.noreply@github.com |
197ec05a7b2764a4a9b8fdc061e1185a59783f93 | 8befdadeefd63a897e40056282ed9a2de34681d0 | /CPP/CPP/Session 7 - DFS/SPOJ_LASTSHOT.cpp | 29ab0f4f940be2a3cd39831bd9b711fd78de4479 | [] | no_license | Ducbx/algorithm-training | 84058fc46286137be9db4432037e8cf2db8f0f0a | b5e6289f764b941ac4b5120d5426295c0b559954 | refs/heads/master | 2023-03-16T11:32:36.848088 | 2019-12-18T03:14:56 | 2019-12-18T03:14:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,266 | cpp | // Problem from SPOJ
// https://www.spoj.com/problems/LASTSHOT/
#include <iostream>
#include <vector>
#include <stack>
using namespace std;
int findMaximum(int N, vector<vector<int>> graph) {
int maxImpact = 0;
for(int i = 1; i <= N; i++) {
vector<bool> visited;
for(int x = 0; x <= N; x++) ... | [
"imnnquy@gmail.com"
] | imnnquy@gmail.com |
ec0df65a4071c226b20131175f03ddb7742aecf2 | e85338f6d8666eb476698de5025c742b9b838a50 | /ojs/yandex/2529C.cpp | 29da1e0ac59f95924414f2a6ae9b7ddf603e955e | [] | no_license | yancouto/competitive-programming | 8104bb3c45e0b385c2abb4cfcac14c35cce0619e | ac849e3aa858eea56b0aa6b7eb93e9a9e70f9475 | refs/heads/master | 2022-10-19T11:29:46.932829 | 2022-10-07T00:16:43 | 2022-10-07T00:16:43 | 66,641,933 | 7 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,000 | cpp | #include <bits/stdc++.h>
using namespace std;
#define fst first
#define snd second
typedef unsigned long long ull;
typedef long long ll;
typedef pair<int, int> pii;
#define pb push_back
#define for_tests(t, tt) int t; scanf("%d", &t); for(int tt = 1; tt <= t; tt++)
template<typename T> inline T abs(T t) { return t < 0?... | [
"yancouto@gmail.com"
] | yancouto@gmail.com |
5773dbb4cd793d5389c7519279635de5810a5110 | 83977dbf9fce529fbfd3e5cd29341ecef483b5b3 | /mecstat/cpn/src/main.cpp | c382fa326857fd9221c55eceb2eead3cd17c0505 | [] | no_license | sunpho84/sunpho | 0057bc0d42ee1a73e133dc16365f2490facb35d9 | ef964e4af9079a243ddac6a1469b267693c77834 | refs/heads/master | 2020-04-05T22:55:18.442445 | 2017-02-07T09:15:17 | 2017-02-07T09:15:17 | 41,365,927 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,382 | cpp | #include <iostream>
#include "threads.hpp"
#include "debug.hpp"
#include "field.hpp"
#include "geometry.hpp"
#include "neighs.hpp"
#include "per_site_neighs.hpp"
#include "simul.hpp"
#include "cp_n.hpp"
using namespace std;
#define N 2
#define beta 1.1
#define L 36
//internal main
void in_main(int narg,char **arg)... | [
"fr.sanfilippo@gmail.com"
] | fr.sanfilippo@gmail.com |
8e3696079a5775a7f08e7d8afe4402bf8149c984 | 53f3f38eac3ed44f23f8f58d34aa8bd89555eaef | /src/msvc1/include/AutoGemmKernelSources/sgemm_Col_NN_B0_ML064_NX064_KX08_src.cpp | 8401c5f72a49478c4ccef18fe9620b3f655fc998 | [
"Apache-2.0"
] | permissive | gajgeospatial/clBLAS-1.10 | 16039ddfad67b6c26a00767f33911e7c6fe374dc | 2f5f1347e814e23b93262cd6fa92ec1d228963ac | refs/heads/master | 2022-06-27T09:08:34.399452 | 2020-05-12T16:50:46 | 2020-05-12T16:50:46 | 263,172,549 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,377 | cpp | /*******************************************************************************
* This file was auto-generated using the AutoGemm.py python script.
* DO NOT modify this file! Instead, make changes to scripts in
* clBLAS/src/library/blas/AutoGemm/ then re-generate files
* (otherwise local changes will be lost a... | [
"glen.johnson@gaj-geospatial.com"
] | glen.johnson@gaj-geospatial.com |
9bbc3282d2b520fffd1dbdb71b34f87b6e70ee72 | 2b3b5203233ebb11ccbf3c9830de9e26cc2785ee | /XRay/xr_3da/xrGame/UIFrameRect.cpp | 85aea3c6d90e1dcd2b5c45307b88877c0092c02f | [
"Apache-2.0"
] | permissive | OLR-xray/XRay-NEW | b308aeefada0f0361706e8e57f23ebafc7fe3bc5 | f6988c98b45a9ff4eefec9538c6dffadef170ed7 | refs/heads/master | 2021-01-24T19:12:44.173491 | 2016-02-17T21:42:31 | 2016-02-17T21:42:31 | 50,777,026 | 3 | 1 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 7,425 | cpp | #include "stdafx.h"
#include "uiFrameRect.h"
#include "hudmanager.h"
#include "ui\uitexturemaster.h"
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
CUIFrameRect::CUIFrameRect()
{
uFlags.zero ()... | [
"vlad_tislenko@mail.ru"
] | vlad_tislenko@mail.ru |
16c46d2c7da5f59f3ca5ceb89b81450dd55050e3 | e15b1e678bf979c78c832821bce90690d65adcb4 | /runtime/sources/runtime/Box.cc | ffe45445bee0e8ef665449f1e9bc7fa119180162 | [
"MIT"
] | permissive | castel/libcastel | ac01842a99e91d24565f690a938235ed94d80329 | ed0531dd56431235dbdc254b32b087937819fbe1 | refs/heads/master | 2020-05-28T11:38:51.545952 | 2018-04-29T15:07:04 | 2018-04-29T15:07:04 | 3,084,459 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,379 | cc | #include "castel/runtime/boxes/Class.hh"
#include "castel/runtime/Box.hh"
using namespace castel;
using runtime::Box;
bool Box::operatorBoolCast( void )
{
return false;
}
runtime::Box * Box::operatorPositive( void )
{
return nullptr;
}
runtime::Box * Box::operatorNegative( void )
{
return nullptr;
}
ru... | [
"nison.mael@gmail.com"
] | nison.mael@gmail.com |
7b2f8bbc3c7e46b578fe1b0fe3ef692b25840c4f | 8a87f5b889a9ce7d81421515f06d9c9cbf6ce64a | /3rdParty/boost/1.78.0/libs/lockfree/examples/spsc_queue.cpp | 6c6adc172b4e226fd78bdbc2c1cd6e99c0e0394b | [
"Apache-2.0",
"BSD-3-Clause",
"ICU",
"Zlib",
"GPL-1.0-or-later",
"OpenSSL",
"ISC",
"LicenseRef-scancode-gutenberg-2020",
"MIT",
"GPL-2.0-only",
"CC0-1.0",
"BSL-1.0",
"LicenseRef-scancode-autoconf-simple-exception",
"LicenseRef-scancode-pcre",
"Bison-exception-2.2",
"LicenseRef-scancode... | permissive | arangodb/arangodb | 0980625e76c56a2449d90dcb8d8f2c485e28a83b | 43c40535cee37fc7349a21793dc33b1833735af5 | refs/heads/devel | 2023-08-31T09:34:47.451950 | 2023-08-31T07:25:02 | 2023-08-31T07:25:02 | 2,649,214 | 13,385 | 982 | Apache-2.0 | 2023-09-14T17:02:16 | 2011-10-26T06:42:00 | C++ | UTF-8 | C++ | false | false | 1,420 | cpp | // Copyright (C) 2009 Tim Blechmann
//
// Distributed under the Boost Software License, Version 1.0. (See
// accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//[spsc_queue_example
#include <boost/thread/thread.hpp>
#include <boost/lockfree/spsc_queue.hpp>
#include <iostream>
#... | [
"frank@arangodb.com"
] | frank@arangodb.com |
a433a70143f76fa41c4f05545f0db6665c1acb12 | 454a451cd16f10eee63f72d8a88a3ab4036042c4 | /src/qdebug/CQ6502Dbg.h | 62ba78e16563e57bbf449a04c7734445680cf9a8 | [
"MIT"
] | permissive | colinw7/C6502 | e7a9e96be746e26ad3264a4df79798ff97974cce | 29d45fd52bbebda5456c270562f58077d542c834 | refs/heads/master | 2022-10-27T03:40:56.718732 | 2022-10-02T20:26:27 | 2022-10-02T20:26:27 | 231,983,953 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,721 | h | #ifndef CQ6502_DBG_H
#define CQ6502_DBG_H
#include <C6502Trace.h>
#include <C6502.h>
#include <QFrame>
#include <string>
#include <set>
class CQ6502Dbg;
class CQ6502Mem;
class CQ6502Inst;
class CQ6502Stack;
class CQ6502TraceBack;
class CQ6502RegEdit;
class C6502;
class QGroupBox;
class QFrame;
class QTextEdit;
clas... | [
"colinw@nc.rr.com"
] | colinw@nc.rr.com |
5c3a5bfe56551a43ef5b163aae084d4b376d8a53 | 66433c1b726dddfec94706d3dfa6a029c904b94b | /0.3/a1/enums.h | 25ff62bafc122be70c1237b277754c8a89d2e4fd | [] | no_license | LeandroPerrotta/DarghosTFS04_87 | 2177feb1d288b1d0341c682d7d12ab28320683ec | 392291bd826cfd30e369c440303ad1588016606f | refs/heads/master | 2023-06-15T13:59:44.906677 | 2021-07-16T22:32:47 | 2021-07-16T22:32:47 | 386,390,869 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,964 | h | //////////////////////////////////////////////////////////////////////
// OpenTibia - an opensource roleplaying game
//////////////////////////////////////////////////////////////////////
//
//////////////////////////////////////////////////////////////////////
// This program is free software; you can redistribute it ... | [
"leandro_perrotta@hotmail.com"
] | leandro_perrotta@hotmail.com |
e31acaf29fc2230f4642be2858e148a34f2550e8 | 3fc99c31d5fb74447d868955c22abba4bb0a54d4 | /code/array/strcpy.cpp | 8badeefbab39098f5e7a41469f2225cff51201b3 | [] | no_license | Pacific-Pacifico/Meetup-C | 21e37858e4435831ec02619fb8c2d068284caf5b | 969431c85d0feebe259be01158b63ca6dd117095 | refs/heads/main | 2023-04-14T07:12:16.327160 | 2021-04-30T03:59:05 | 2021-04-30T03:59:05 | 354,528,491 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 410 | cpp | #include <iostream>
#include <cstring>
using namespace std;
int main()
{
char str[]="Hello World!";
char str1[15]="HI";
// strcpy( str1, str); // strcpy(destination, source);
char str2[15];
strcpy(str2,"good morning!");
cout<<"str2="<<str2<<endl;
strcat(str1, str); // strcat(i... | [
"30399370+Pacific-Pacifico@users.noreply.github.com"
] | 30399370+Pacific-Pacifico@users.noreply.github.com |
645c2516374c8b24293c960174c2f521e0659ce5 | ac0b710bc456ac30b23276da953299fc8769e829 | /cpp20/stateMachine/shopping.ixx | ecc7e18f7fb6ffeda1b5d2a492898b2fe8ac73b1 | [] | no_license | fenbf/articles | 68ca7031c5efb6681bd5e00fd39280dd9e813f12 | 41e5f1f9760a9f13ee521283b2d5ce0da336295e | refs/heads/master | 2023-07-21T06:37:11.509960 | 2023-07-13T13:31:47 | 2023-07-13T13:31:47 | 8,863,369 | 50 | 29 | null | 2019-04-24T13:54:05 | 2013-03-18T20:23:38 | C++ | UTF-8 | C++ | false | false | 59 | ixx | export module shopping;
export void ShoppingCartFSMTest(); | [
"bartlomiej.filipek@gmail.com"
] | bartlomiej.filipek@gmail.com |
b0d0d454b05f81e707179340c8d3457763f83c7c | 0dcdd6e0ae4983e29ab1a79394a58fd16cb5835b | /code/Modules/Render/emsc/emscDisplayMgr.cc | 5e697a0e8442c63350084197ede4b07227669a20 | [
"MIT"
] | permissive | ttthink/oryol | 799ed86fea7f5145775aac368d0cb987c0630c68 | d18bee4fed0bb5e30e66b00d66af33d2645f68b2 | refs/heads/master | 2021-01-18T06:13:20.238639 | 2014-08-19T20:23:02 | 2014-08-19T20:23:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,739 | cc | //------------------------------------------------------------------------------
// emscDisplayMgr.cc
//------------------------------------------------------------------------------
#include "Pre.h"
#include "emscDisplayMgr.h"
#include "Render/gl/glInfo.h"
#include "Render/gl/glExt.h"
#include "Render/gl/gl_impl.h"
#... | [
"floooh@gmail.com"
] | floooh@gmail.com |
4bfb51f9201969c1ab4ae651911e3443a7049118 | 54fbab5a0ec14e4e634ef205b38787f8c4bf18e6 | /qtnsl/NSLfiles/kernel/incl/kernel_main_incl/nsl_num_data.h | b640ee031e528abef4d69458425da329499964fd | [] | no_license | biorobaw/QTNSLSpring2018 | dcc5b954e0560740657256ce953b595c828fcfad | 4d8afa6314ac6f15f09ef989e991d39b6980d712 | refs/heads/master | 2021-07-20T15:29:42.724283 | 2020-05-14T21:46:46 | 2020-05-14T21:46:46 | 162,358,177 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,692 | h | /* SCCS %W%---%E%--%U% */
//
// nsl_num_data.h
//
#ifndef _NSL_NUM_DATA_H
#define _NSL_NUM_DATA_H
#include "nsl_data_layer.h"
class nsl_num_data : public nsl_data_layer
{
protected:
float v;
public:
nsl_num_data(const num_type=0,int = 1);
nsl_num_data(const char*,const num_type=0,int=0,int=1);
nsl_num_data(con... | [
"bucefalog@gmail.com"
] | bucefalog@gmail.com |
9169951a1185ede433af553d8df1821e7049be5d | 1dfa662d129970f7093f8fe66be59a141f8e0e44 | /UVA Solutions/10055.cpp | 25722d67e06dda55509fd8d074b8f7b382411e19 | [] | no_license | abdalimran/Online_Judge_Solutions | 4a59d5d039b2c468c0eb2b0a05eea0d1d49280ef | d02cde0e81921b0250e2284a075aa13e548128ba | refs/heads/master | 2021-01-10T20:33:26.346513 | 2015-08-31T17:41:01 | 2015-08-31T17:41:01 | 41,156,442 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 314 | cpp | #include <iostream>
using namespace std;
int main()
{
long long int a,b,c;
while (cin>>a>>b)
{
if(b>a)
{
c=b-a;
cout<<c<<endl;
}
else
{
c=a-b;
cout<<c<<endl;
}
}
return 0;
}
| [
"abdalimran@gmail.com"
] | abdalimran@gmail.com |
be8ee37de4bbe7ab815acb9143748f92e4a82991 | 847c68e4d4a8f77b05fb8deb0a7ba120e04e4e5b | /src/Currencies/CryptoCurrencies/NotBackedCryptoCurrency.cpp | d382b1cc7a0b2f4b9abef2ef78e30b92d7769b6b | [] | no_license | SebChw/CryptoCurrenciesProject | 87a389bc9a309cc2974c7fc09d754c0054b2af97 | e9385b6fd98246ba9715c82e54bde790d50314ed | refs/heads/master | 2023-08-25T14:12:18.327936 | 2021-11-12T14:33:49 | 2021-11-12T14:33:49 | 426,636,633 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 883 | cpp | #include "NotBackedCryptoCurrency.h"
NotBackedCryptoCurrency::NotBackedCryptoCurrency(int amount, string name, int work, string alg) : CryptoCurrency(amount, name, work)
{
algorithm = alg;
}
void NotBackedCryptoCurrency::toString()
{
CryptoCurrency::toString();
cout << "algorithm keeping rate stable: " <<... | [
"sebastian.chwilczynski@gmail.com"
] | sebastian.chwilczynski@gmail.com |
bbb83a23770f54fd270c2939873e6d40baa08652 | d4914ba0737e95e636313db6763f0578396377de | /b2mc_genie/include/HLayerSD.hh | e17c9774f5543824630f0b710cf3297791d1f0f5 | [] | no_license | nchikuma/b2_software | 9e44817b9e739e07918df5132c62ca9e541fd0fc | 066d0f791dd556bb0915a716fe7ff93b6f9fb75e | refs/heads/master | 2020-04-30T07:06:27.332339 | 2019-03-28T08:35:23 | 2019-03-28T08:35:23 | 176,674,543 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 902 | hh | #ifndef HLayerSD_H
#define HLayerSD_H
#include "G4VSensitiveDetector.hh"
#include "HLayerHit.hh"
#include "DetectorResponse.hh"
#include "DetectorDimension.hh"
#include "Const.hh"
class G4HCofThisEvent;
class G4Step;
class HLayerSD : public G4VSensitiveDetector {
G4THitsCollection<HLayerHit>* hlayerHitCollection... | [
"nchikuma@hep.phys.u-tokyo.ac.jp"
] | nchikuma@hep.phys.u-tokyo.ac.jp |
079e515e899fd4006f9d9f8c6bd8148e94351357 | 0d2c09904a9066c5baa59af6fc8b4984b3ea61c6 | /Source/FCM_Alpha/Public/MyCameraActor.h | 1721fcac5c0e6fd81683b72d07412ec646cd5462 | [] | no_license | FCMGameJam/FCM_Alpha | 62df7b79181c0d031ff00a2007217a44e2fb502f | 3533df15b7be194dbd8ee318a4f8739aa88cb6be | refs/heads/master | 2022-12-29T18:24:22.846515 | 2020-10-11T22:27:23 | 2020-10-11T22:27:23 | 301,173,626 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 365 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "Camera/CameraActor.h"
#include "MyCameraActor.generated.h"
/**
*
*/
UCLASS()
class FCM_ALPHA_API AMyCameraActor : public ACameraActor
{
GENERATED_BODY()
protected:
virtual void Begin... | [
"54805707+AnthonyDarko@users.noreply.github.com"
] | 54805707+AnthonyDarko@users.noreply.github.com |
44be81bf6a8c7df6dc76690c279f00490de4b446 | 8751230f16a776e5a61754c7d38c0c2380efbf42 | /src/appleseed/renderer/modeling/object/regionkit.h | fcc66e22a9aefc32d438d8fd5abf189abc9ed780 | [
"MIT"
] | permissive | willzhou/appleseed | 0b5dc66480809c92b358264de6e9f628a5758922 | ea08888796006387c800c23b63a8ca7bb3c9b675 | refs/heads/master | 2021-01-20T23:16:42.617460 | 2012-05-31T08:29:22 | 2012-05-31T08:29:22 | 4,506,046 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,070 | h |
//
// This source file is part of appleseed.
// Visit http://appleseedhq.net/ for additional information and resources.
//
// This software is released under the MIT license.
//
// Copyright (c) 2010-2012 Francois Beaune, Jupiter Jazz Limited
//
// Permission is hereby granted, free of charge, to any person obtaining ... | [
"beaune@aist.enst.fr"
] | beaune@aist.enst.fr |
46284d31d20e3fec2c390ba9423140420d045906 | 866d178e6ba571541d7af011193d0a2ec76af0e5 | /NetrisClient/NetrisClient/CTetrimino.cpp | 157210281183147a84bf08d7586547eddca5ac20 | [] | no_license | bajidugae/MFC_Tetris | a838d99fa3e604f1e507a2a2c45d40151b082eea | 238052e581f513c017f74bd366472d60da63c408 | refs/heads/master | 2020-03-28T18:54:00.618056 | 2018-09-15T17:56:54 | 2018-09-15T17:56:54 | 148,924,896 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 171 | cpp | #include "stdafx.h"
#include "CTetrimino.h"
CTetrimino::CTetrimino()
{
m_nX = 4;
m_nY = 0;
m_nWay = 0;
m_bNow = false;
}
CTetrimino::~CTetrimino()
{
} | [
"girin0620@gmail.com"
] | girin0620@gmail.com |
b87461662b701664abbd48dcab7503d7d2ec7e7d | c30cff1935d73d2fce146cde0590d82e1837f80f | /RougeLike/Source/Events/LocalDispatcher.h | a0193ff1ccfee4e1651933a844c7f8dba55dc70b | [] | no_license | SamanGharatchorlou/RougeLike | e0fb743ec26278a0c115919b59b91c7b1f81438b | f9dbe76d48a1d832b3e525807557f61c81ef12a9 | refs/heads/master | 2021-07-02T05:42:03.232194 | 2021-06-17T14:14:09 | 2021-06-17T14:14:09 | 240,692,319 | 2 | 0 | null | 2020-02-15T12:40:49 | 2020-02-15T11:02:53 | C++ | UTF-8 | C++ | false | false | 390 | h | #pragma once
#include <queue>
#include "Events.h"
class LocalDispatcher
{
public:
EventPacket pop()
{
EventPacket event = mEvents.front();
mEvents.pop();
return event;
}
void push(const EventPacket event) { mEvents.push(event); }
bool hasEvent() const { return mEvents.size() > 0; }
void clear() { while... | [
"samangharat@gmail.com"
] | samangharat@gmail.com |
7913c34f07e524eb4b3937f617dc70527b8194e2 | 5cde0b8a09b6a07bd461e87003e5102a0e56596e | /Bitonic.cpp | aff6fee3b70ba2f691a27b690abe5b8cecf5606e | [] | no_license | Jhanvi29/CodingNinjas-Dp1 | deac439801751f4ef5cb8f267467a39b7f9845c3 | 4cefa4d12cb3776767b19f7f98af45cdc1170867 | refs/heads/main | 2023-05-03T14:49:33.143503 | 2021-05-25T17:32:14 | 2021-05-25T17:32:14 | 367,359,919 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,724 | cpp | /* You are given an array of positive integers as input. Write a code to return the length of the largest such subsequence in which the values are arranged first in strictly ascending order and then in strictly descending order.
Such a subsequence is known as bitonic subsequence. A purely increasing or purely decreasi... | [
"noreply@github.com"
] | Jhanvi29.noreply@github.com |
319e4c3796791f4f718d5eef32b7fc054489226f | 20c69d7c7e888207f34574d65e648ea6b4d5d783 | /src/TrajectoryGenerator/JMTSolver.cpp | cdc6f7c3c3fee6a6eef2e7009070489160b331d4 | [] | no_license | aaronleesmith/CarND-Path-Planning-Project | ee4f67dc3c2c4786e4bbc75d906f239dfa3d9d9d | acd8bf6b94fcaae8093d6caa750b9ffe7d15bf55 | refs/heads/master | 2021-01-01T17:38:12.710374 | 2017-07-30T19:23:33 | 2017-07-30T19:23:33 | 98,114,182 | 0 | 0 | null | 2017-07-23T17:31:13 | 2017-07-23T17:31:13 | null | UTF-8 | C++ | false | false | 748 | cpp | //
// Created by Aaron Smith on 7/24/17.
//
#include "JMTSolver.h"
#include "../Eigen-3.3/Eigen/Dense"
#include <math.h>
#include <vector>
using namespace std;
using namespace Eigen;
vector<double> JMTSolver::JMT(vector< double> start, vector <double> end, double T) {
MatrixXd A = MatrixXd(3, 3);
A << T*T*T, T*... | [
"aaronsmith1101@gmail.com"
] | aaronsmith1101@gmail.com |
93c304467856c3a1c616001ab5aa1dffcc800b90 | 311db71fc93d05e16f6b7b50a0d29fc83ed37744 | /Game-Technologies-CSC8503/CSC8503/CSC8503Common/NavigationGrid.h | d5e8de680745e8f94847665dee803780bcde021a | [
"MIT"
] | permissive | Kney-Delach/Game-Technologies-CSC8503 | 11cb6fba6d051e881d7be5b1c9a8497b23759b3f | 073ea705638edc22b0bfb90a158482de0d101cf9 | refs/heads/master | 2020-09-20T09:48:33.711221 | 2019-12-22T14:59:07 | 2019-12-22T14:59:07 | 224,441,564 | 3 | 2 | MIT | 2019-12-09T13:17:45 | 2019-11-27T13:51:08 | C | UTF-8 | C++ | false | false | 2,116 | h | /***************************************************************************
* Filename : NavigationGrid.h
* Name : Ori Lazar
* Date : 07/12/2019
* Description : Declaration of a Grid-Based navigable area.
.---.
.'_:___".
|__ --==|
[ ] :[|
|__| I=[|
/ / ____|
|-/.____.'
/___\ /___\
***************... | [
"36171247+Kney-Delach@users.noreply.github.com"
] | 36171247+Kney-Delach@users.noreply.github.com |
19b8da405b50659207e5bb44db918659fed11b9e | 1c262423b8e20dc118b7ea2a0e6b17ddd52efef5 | /cocos2d-x v2.2.x/Cocos2d-x Class.xctemplate/CCLayer/___FILEBASENAME___.h | 51912ff75e81e209bc387cb6beb366f1394d461d | [] | no_license | anzfactory/XcodeTemplates | c5b1ba5eab5a6f054aeeeafbb222f9a81288ee67 | bf2242fe3b889b425f06a67d60ca172c642807fd | refs/heads/master | 2021-01-01T17:52:38.332673 | 2014-05-06T17:55:39 | 2014-05-06T17:55:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 678 | h | //
// ___FILENAME___
// ___PROJECTNAME___
//
// Created by ___FULLUSERNAME___ on ___DATE___.
//___COPYRIGHT___
//
#ifndef _____PROJECTNAMEASIDENTIFIER________FILEBASENAMEASIDENTIFIER_____
#define _____PROJECTNAMEASIDENTIFIER________FILEBASENAMEASIDENTIFIER_____
#include "cocos2d.h"
class ___FILEBASENAME___ : publ... | [
"anz.factory@gmail.com"
] | anz.factory@gmail.com |
318e26f7c290410b51176a92e3ed749b56b06ec7 | 92604577dc46debdc467cb3f4f7d07aed69c02f7 | /MiquelFire_Space Dragon Escape/sde/src/input.cpp | f52e894529fe154cfd3b1dfc61ebb97232eaed32 | [] | no_license | amarillion/TINS-is-not-speedhack-2012 | 73da3d6253ec5804f9afde36a1bd394163dca49c | ae3e9c5617477777d8049ba6d7b2c011cfaa592e | refs/heads/master | 2016-08-03T19:25:19.126941 | 2012-09-29T08:40:29 | 2012-09-29T08:40:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,077 | cpp | #include "input.h"
Input::Input() :
up(0), down(0), left(0), right(0), fire(0), pause(0)
{
}
void Input::keyDown(ALLEGRO_EVENT *event) {
if (event->type != ALLEGRO_EVENT_KEY_DOWN) return;
switch (event->keyboard.keycode) {
case ALLEGRO_KEY_W:
case ALLEGRO_KEY_UP:
up = 0x03;
break;
case ALLEGRO_... | [
"mvaniersel@gmail.com"
] | mvaniersel@gmail.com |
682ecfe2841a6edc970249267ead350b605bfc06 | aba29fb30e91e2d3eee7b8b379cc2bf634c79796 | /hangman.cpp | b62e96567d0074a70f2b323ab61b1837b01d13e4 | [] | no_license | PhamTrungMinh/GuessIt-Hangman | 5506d736947aa945c3a9e6420ebe8643a11f8f64 | e43015b7a7fb023bb86e6ddbb1c10a3a9680f2ee | refs/heads/main | 2023-03-08T04:22:22.812079 | 2021-02-21T15:40:28 | 2021-02-21T15:40:28 | 340,936,860 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,423 | cpp | #include <iostream>
#include <cstdlib>
using namespace std;
const int max_bad_guesses = 7;
const string WORD_LIST[] = {"angle", "ant", "apple", "arch", "arm", "army",
"baby", "bag", "ball", "band", "basin", "basket", "bath", "bed", "bee", "bell", "berry",
"bird", "blade", "board", "boat", "bone"... | [
"noreply@github.com"
] | PhamTrungMinh.noreply@github.com |
cea06816ffbf9e67296b2939db1dba857bfb5aa3 | c36761457f62066159fdb4409f7787ee0d9b43b0 | /Iris/include/IrisNativeModules/IrisKernel.h | cff3cd1d821345824d215c78926adc08a49d3c3d | [
"Apache-2.0"
] | permissive | RedFog/Iris-Language | d8ee855da6a748cb7a5753bc56a68b5834ce18a1 | cde174f3e17b9747b7876487bfa4ab81fcfc5952 | refs/heads/master | 2020-04-06T06:41:21.242453 | 2016-03-14T16:41:55 | 2016-03-14T16:51:08 | 54,444,300 | 1 | 0 | null | 2016-03-22T04:08:27 | 2016-03-22T04:08:26 | null | UTF-8 | C++ | false | false | 2,556 | h | #ifndef _H_IRISKERNEL_
#define _H_IRISKERNEL_
#include "IrisModule.h"
#include "IrisObject.h"
#include "IrisClass.h"
#include "IrisStringTag.h"
#include "IrisGC.h"
#include <iostream>
using namespace std;
extern int yyparse(void);
extern FILE *yyin;
class IrisKernel : public IrisModule
{
public:
static IrisValue Pr... | [
"a1026121287@hotmail.com"
] | a1026121287@hotmail.com |
15913fb72e91fa39b1e4e7555a5bba1eab2c7669 | 8f76cb5e386fa68f29489d479286d5ac7fac8c59 | /src/server/safs/nstpsafs.cpp | f34f5ef432202f8d49aff836f7abbd8abaf9e0d1 | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause"
] | permissive | isabella232/Heliod-Web-Server | ce672d264e705b0d2128ddd7846434804db24905 | 6fc8b2f0ed8e76979140fae7912b44cd03ca4289 | refs/heads/master | 2022-02-13T21:55:02.995051 | 2016-05-23T12:38:23 | 2016-05-23T12:38:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,016 | cpp | /*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright 2008 Sun Microsystems, Inc. All rights reserved.
*
* THE BSD LICENSE
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistribut... | [
"jyri@virkki.com"
] | jyri@virkki.com |
be997ab23a63d139e356fc162faea6c20b7e367a | fe47b766506431039009bb7acd9d241c79699e4b | /cpp/CF++/include/CF++/CFPP-Array.h | c974bc303bb4bd3ea19b97246f22bf4f8bca7d44 | [
"MIT"
] | permissive | vzaccaria/teasy | e4cae5396751e0eff0c6bd80bba98644a9d435ce | 90e76ead73b56b94677ba4138dd0921b4dc4369e | refs/heads/master | 2021-01-21T13:03:05.937269 | 2017-11-10T10:53:48 | 2017-11-10T10:53:48 | 55,708,044 | 24 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,050 | h | /*******************************************************************************
* Copyright (c) 2014, Jean-David Gadina - www.xs-labs.com / www.digidna.net
* Distributed under the Boost Software License, Version 1.0.
*
* Boost Software License - Version 1.0 - August 17th, 2003
*
* Permission is hereby granted,... | [
"vittorio.zaccaria@gmail.com"
] | vittorio.zaccaria@gmail.com |
702ac4685423bbd06883d473e028a7dc676fe94f | d61031a8aaae7925106d4ab6174ce0badf215a3a | /entities/Entity.h | 2ec6e0e65c43782eb6f8a96969fdb50960c0ff86 | [] | no_license | divester529/Pong | 70c7ac69943907835b5befdfeeae77765859cf69 | ef923a213a13b9062012b9c87b8fad195a183dc1 | refs/heads/master | 2021-01-18T23:58:30.511409 | 2017-04-04T01:53:19 | 2017-04-04T01:53:19 | 87,137,760 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 703 | h | /**Abstract Base Class for all Entities
**
**
**/
#ifndef ENTITY_H_INCLUDED
#define ENTITY_H_INCLUDED
#include "../Renderer.h"
#include <GL/gl.h>
class Entity
{
public:
Entity();
virtual void render();
float getX();
float getY();
float getWidth();
float getHeight();
void setX(float _x);... | [
"damonivester529@gmail.com"
] | damonivester529@gmail.com |
b13ceafaceb22a97884edd243460ddf76affd2e3 | 503c34128379ed7bd49e1a5abeb65f3ca1b5ba51 | /ProfileNormal.cpp | 5ab9b0bb755e27f737226c934c6a2967619eb4c6 | [
"BSD-2-Clause"
] | permissive | naokitnk/IASimulator | 9116adc5f83e692b606d4dc2cdff6efbf5491310 | 354591753357dcdd0cf5d93b78c200f6004806d9 | refs/heads/master | 2021-01-10T20:17:53.973259 | 2013-02-06T03:01:34 | 2013-02-06T03:01:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,933 | cpp | #include "Profile.h"
#include "ProfileNormal.h"
ProfileNormal::ProfileNormal(boost::math::normal profile) : Profile() {
this->profile = profile;
}
double ProfileNormal::getMean() {
return boost::math::mean(profile);
}
double ProfileNormal::getVariance() {
return boost::math::variance(profile);
}
double Pr... | [
"naokitnk@me.com"
] | naokitnk@me.com |
2ee1ac1e27bcd85473df22c192ce5308d6360e60 | 0ec9df3bb8b86216e18fe4cb66b6612297245aea | /Sources/CXXBoost/include/boost/mpl/aux_/preprocessed/bcc/list_c.hpp | e8ff336ab8b4d07544df42f711d626e900df36f7 | [] | no_license | jprescott/BoostTestWithLib | 78ae59d1ee801201883cf07ab76b8267fadf7daa | 8650523cab467c41be60f3a1c144f556e9a7f25c | refs/heads/master | 2022-11-18T14:49:00.664753 | 2020-07-18T21:45:17 | 2020-07-18T21:45:17 | 280,749,418 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 10,432 | hpp |
// Copyright Aleksey Gurtovoy 2000-2004
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
// *Preprocessed* version of the main "list_c.hpp" header
// -- DO NOT modify by hand!
namespace boost
{
namespace... | [
"jprescott12@icloud.com"
] | jprescott12@icloud.com |
550aff88294cad31d5f9a4a4d834dfa861a56e7b | f59592f0554401fe887246519e08513fcfdae74a | /src/output/Output.hpp | d35c4fca3f244a13fa2010cbdea7421344b77f04 | [] | no_license | sanjay900/SanPIE | 587828a5d9a2293024285c13918f884cecdee1ed | b8e5c858a17e1d73ec245a6403f98a2bd3206e40 | refs/heads/master | 2023-02-24T11:40:58.740712 | 2023-02-14T03:01:49 | 2023-02-14T03:01:49 | 139,983,607 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 294 | hpp | //
// Created by sanjay on 18/07/18.
//
#ifndef SANPIE_OUTPUT_H
#define SANPIE_OUTPUT_H
#include <src/sol.hpp>
#include <src/Device.hpp>
class Output : public Device {
public:
static Output* create(std::string &name, sol::table &lua_dev, sol::state &lua);
};
#endif //SANPIE_OUTPUT_H
| [
"sanjay.govind9@gmail.com"
] | sanjay.govind9@gmail.com |
33bc3e5d0e74eae53632e5529cc8445b09f76c9b | 7396b19aaebc746bc109b10936b91e39478f37b7 | /src/Pather/src/Crowd.cpp | 723a69f19e3045d215eb19b6d855da20de1bc268 | [
"MIT"
] | permissive | yslib/Pather | e294b32b68a11874ed7fe317c1d5e93db671cfed | 605a064f0f66b21cf3814632b062d7d1d1de79af | refs/heads/master | 2022-09-28T21:46:43.363919 | 2020-06-04T09:02:44 | 2020-06-04T09:02:44 | 267,298,433 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,398 | cpp |
#include <Crowd.h>
#include "Pather.h"
class NavCrowd__pImpl
{
VM_DECL_API(NavCrowd);
public:
NavCrowd__pImpl(NavCrowd * api):q_ptr(api){}
std::shared_ptr<dtCrowd> m_crowd;
std::shared_ptr<dtNavMesh> m_navMesh;
};
void NavCrowd::Simulate(float dt)
{
VM_IMPL(NavCrowd)
auto crowd = _->m_crowd;
assert(crowd);... | [
"visysl@outlook.com"
] | visysl@outlook.com |
127d2f4294ac391ace6004e5e517d9e994179642 | 69e9edd800ee8e68e80fe172b28325b2d1452db3 | /mainwindow.cpp | 2264b2b9ecf1a5ba6097bb7f63c06e5361730a94 | [] | no_license | yurapust/plot-drawer | 27484f794e85581af5f6829224a8ff6edc8c8f36 | 50e4a11b9c78753f84de72edcab2aebe34679958 | refs/heads/main | 2023-03-26T14:11:34.004797 | 2021-03-06T13:46:23 | 2021-03-06T13:46:23 | 343,315,628 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,011 | cpp | #include "mainwindow.h"
#include "ui_mainwindow.h"
#include <QFileDialog>
#include <QStandardPaths>
#include <QFileInfo>
#include <cmath>
MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::MainWindow)
{
ui->setupUi(this);
msgBox = new QMessageBox;
msgBox->hide();
connec... | [
"yurapust@mail.ru"
] | yurapust@mail.ru |
07d9fb4bf3ea8459ae096ddf4c4b91680a600b4c | 37efb3b0f8e2b45340081262cf7fa87846fe9bdb | /cqf/exams/module_3/standard_normal.h | c8042bac79a0c85e61c80d9844d1ca00e32a9281 | [] | no_license | vikasjena/cqf-2 | 7afaf7955972aa85b02e66a181d6ad07adc0d242 | 5138ebe8c7a48036ecd6b01f6ed2dd614f3ff7ee | refs/heads/master | 2020-03-26T20:16:11.080938 | 2014-07-07T04:40:25 | 2014-07-07T04:40:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,025 | h | #ifndef __STANDARD_NORMAL_H__
#define __STANDARD_NORMAL_H__
#include <cmath>
#include "constants.h"
double standard_normal_pdf(double x)
{
return SQRT_2PI_INV * std::exp(-0.5 * x * x);
}
/* Abramowiz and Stegun's approximation */
double standard_normal_cdf(double x)
{
/* Too small and too big */
if (x ... | [
"richard.bruce84@gmail.com"
] | richard.bruce84@gmail.com |
579114033b2169467f28261fc7890ab0fb1a137b | 01bcef56ade123623725ca78d233ac8653a91ece | /public/game/server/igameinfo.h | 45f0ca2db574d426f2ec32e51249379a6752b717 | [
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | SwagSoftware/Kisak-Strike | 1085ba3c6003e622dac5ebc0c9424cb16ef58467 | 4c2fdc31432b4f5b911546c8c0d499a9cff68a85 | refs/heads/master | 2023-09-01T02:06:59.187775 | 2022-09-05T00:51:46 | 2022-09-05T00:51:46 | 266,676,410 | 921 | 123 | null | 2022-10-01T16:26:41 | 2020-05-25T03:41:35 | C++ | WINDOWS-1252 | C++ | false | false | 1,786 | h | //============ Copyright © 1996-2008, Valve Corporation, All rights reserved. ===================//
//
// Purpose: provides an interface for plugins to query information about the gamerules in a simple
// and organized mannor.
//
//========================================================================================... | [
"bbchallenger100@gmail.com"
] | bbchallenger100@gmail.com |
c533f666f63edcaea447dfa9305c8f3b49e9e01e | d093e5dbdf4fb08eacbe2ec3cfc070e4c58c0f3e | /Test/MMO/Server/InputCmdTestMMO_Server.h | a0f5278581b977f9b6bec65f556ab78e799c2091 | [
"MIT"
] | permissive | RamilGauss/MMO-Framework | 3bd57e800f20b6447b494009eb3d7a49dfeb1402 | fa4ec6427a3a891954f97311af626f8753023ec2 | refs/heads/master | 2023-09-02T17:50:25.742920 | 2023-09-01T09:17:26 | 2023-09-01T09:17:26 | 15,496,543 | 32 | 20 | MIT | 2023-05-11T07:10:07 | 2013-12-28T17:54:28 | C++ | UTF-8 | C++ | false | false | 390 | h | /*
Author: Gudakov Ramil Sergeevich a.k.a. Gauss
Гудаков Рамиль Сергеевич
Contacts: [ramil2085@mail.ru, ramil2085@gmail.com]
See for more information LICENSE.md.
*/
#pragma once
#include "InputByCmd.h"
class TInputCmdTestMMO_Server : public TInputByCmd
{
public:
struct TInput
{
unsigned char subnet = 0;
}... | [
"ramil2085@mail.ru"
] | ramil2085@mail.ru |
56681d8791c318149de7a8533e8594685c532e06 | 012712451c82f5e2e8d5ce1fd93247713760884c | /OpenCvFactoryPlugin/operations/BitwiseNot.cpp | e33cab30244c99a4ec68d14953dc583244fa9ceb | [] | no_license | gbumgard/QObjectGraphEditor | 735b29178d7928ef8a14f13c42e42aa1d737c506 | 2fde592a20830362504d4c1662dccab352e62885 | refs/heads/master | 2023-05-01T00:11:40.635181 | 2023-04-18T04:02:35 | 2023-04-18T04:02:35 | 265,347,674 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 964 | cpp | #include "BitwiseNot.h"
#include "OpenCvFactoryPlugin.h"
#include <opencv2/imgproc.hpp>
REGISTER_CLASS(BitwiseNot)
BitwiseNot::BitwiseNot(QObject* parent)
: AbstractOpenCvObject(parent)
{
}
void BitwiseNot::src(const MatEvent &srcEvent) {
_srcEvent = srcEvent;
if (!_srcEvent.isSynchronizedMask(_maskEvent)) {
... | [
"gbumgard@gmail.com"
] | gbumgard@gmail.com |
a240ef8a4786dc12339674406a9d99225560bad2 | 570274df26c3b552755cd8ea13eca7a25eec3cba | /src/invariant/LedgerEntryIsValid.h | 23c481476ee23ebd3a2cb417f30a7175058f54e5 | [
"Apache-2.0",
"MIT",
"BSD-3-Clause",
"BSL-1.0",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause"
] | permissive | thanigaivel97/stellar-core | e60ae13f8788b08b61942f9133886226cb662eb9 | 63ec6faa7e08ec070af3027c93ddf67310508b15 | refs/heads/main | 2023-08-16T21:50:00.335422 | 2020-11-19T10:29:15 | 2020-11-19T10:29:15 | 312,177,357 | 0 | 0 | NOASSERTION | 2023-08-02T16:07:12 | 2020-11-12T05:32:25 | C | UTF-8 | C++ | false | false | 1,982 | h | #pragma once
// Copyright 2017 Stellar Development Foundation and contributors. Licensed
// under the Apache License, Version 2.0. See the COPYING file at the root
// of this distribution or at http://www.apache.org/licenses/LICENSE-2.0
#include "invariant/Invariant.h"
#include "ledger/GeneralizedLedgerEntry.h"
#incl... | [
"thani@leewayhertz.com"
] | thani@leewayhertz.com |
e42e56cb158074aa4bbddd4a3765e26aa00ca2a1 | cf06162fcb521320b15ec4b3a4b04b5c6e09e088 | /io/src/dinast_grabber.cpp | 1d91d627c24efbbf99e1a02338f0f5d585f3430a | [
"BSD-3-Clause"
] | permissive | khooweiqian/kfls2 | 3db5603686de2e4e72433e8e35bface231e7dd41 | ac5ff4e38360fccaa7aff35098ac90f32d0e1bd9 | refs/heads/master | 2016-09-05T17:47:54.505880 | 2012-10-02T15:21:22 | 2012-10-02T15:21:22 | 38,362,657 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,463 | cpp | /*
* Software License Agreement (BSD License)
*
* Point Cloud Library (PCL) - www.pointclouds.org
* Copyright (c) 2010-2011, Willow Garage, Inc.
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditi... | [
"kruglov.dima@gmail.com"
] | kruglov.dima@gmail.com |
e5cbed15a87258fc7133854146230bac9817687b | a3d522da05b472db753379afa0082c9cbcb1db8e | /include/boost/locale/encoding.hpp | 08c59c1c5e012160d7d51bcaff408a77a138eca5 | [] | no_license | cra7e891t/locale | d2eb9e352b30f02916e48a7525972add7f217815 | 0fb92e86fc15f4077e9bcd616fed387db7b98ecf | refs/heads/master | 2023-05-27T02:22:14.038775 | 2021-06-16T07:02:08 | 2021-06-16T07:02:08 | 365,408,170 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,931 | hpp | //
// Copyright (c) 2009-2011 Artyom Beilis (Tonkikh)
//
// Distributed under the Boost Software License, Version 1.0. (See
// accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
#ifndef BOOST_LOCALE_ENCODING_HPP_INCLUDED
#define BOOST_LOCALE_ENCODING_HPP_INCLUDED
#include <boo... | [
"chuianjiemeng@126.com"
] | chuianjiemeng@126.com |
e432b1513ccff140adfeb746ee5cabcdd672729e | 1fa911617d7b15c748c58d84c03d9a71e44a64cb | /11866.cpp | 67a305cf94fd04ea7d801169027ea81142a61cb0 | [] | no_license | WHO-A-U/BOJ_algorithm | 98974b283b4ef03b3dc79cdc028afca447696223 | 016b1d058e55c426a77db70ce4138ec6107d6a21 | refs/heads/master | 2023-07-29T19:17:32.057856 | 2021-08-14T14:20:00 | 2021-08-14T14:20:00 | 283,392,100 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 486 | cpp | #include<iostream>
#include<queue>
#include<vector>
using namespace std;
int main(){
int n,k;
queue<int> q;
vector<int> v;
cin>>n>>k;
for(int i=1;i<=n;i++){
q.push(i);
}
while(!q.empty()){
int t =k-1;
while(t--){
q.push(q.front());
q.pop();
... | [
"59171080+WHO-A-U@users.noreply.github.com"
] | 59171080+WHO-A-U@users.noreply.github.com |
f8e9f73e4ceb5f4af6805b8cdfb1aede7c1d7ccc | e852662e88644d59111140a838b7c78010a3694e | /stack_linklist.cpp | d6ade0a66d167d10d3906abc49b6156af503bf73 | [] | no_license | gamixaqua/C-Important-Basic-Code | 24168d0e404b66059b4d4ed23544fa39d559d1cf | d660955b8a0a8d4c407ba51da7c43349a2eb5c41 | refs/heads/master | 2020-03-20T20:15:18.076800 | 2018-06-19T12:37:40 | 2018-06-19T12:37:40 | 137,677,670 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,147 | cpp | #include<bits/stdc++.h>
using namespace std;
struct stacknode{
int data;
struct stacknode* next;
};
struct stacknode* push(struct stacknode* root){
int value;
cin>>value;
struct stacknode *temp = (struct stacknode*)malloc(sizeof(struct stacknode));
temp->data=value;
temp->next=root;
return temp;
}
struct s... | [
"noreply@github.com"
] | gamixaqua.noreply@github.com |
2665165e39e382e1e0b13c358563a9b7474614f5 | 7dbfcf1659c87d4e24c53888109a62a5ec9e8767 | /src/intersects.cpp | 5569ae7c3f99324fbc88b0587ce8084bb739abdf | [
"LicenseRef-scancode-other-permissive"
] | permissive | wtmsuperman/mathlib | 84264078126137e35703a2f1d870aa73c9dab732 | ea377afd02a92d1dfb751d49db9204b037bfe22a | refs/heads/master | 2021-06-29T22:37:25.508031 | 2017-02-08T03:34:01 | 2017-02-08T03:34:01 | 7,851,010 | 1 | 1 | null | 2017-02-08T03:34:02 | 2013-01-27T10:44:14 | C++ | UTF-8 | C++ | false | false | 3,520 | cpp | #include "AABB3.h"
#include "plane.h"
#include "ray.h"
bool intersects(const Ray& ray,const AABB3& aabb3,float* ot)
{
const Vector3& min = aabb3.min;
const Vector3& max = aabb3.max;
const Vector3& rayOrg = ray.position;
const Vector3& rayDir = ray.direction;
if (rayOrg > min && rayOrg < max)
{
if... | [
"wtm910927@gmail.com"
] | wtm910927@gmail.com |
56c83d75ee6312c2310d3bff91bc8fa16e04a604 | 850ebe7ea2b8931601a96f6d2ea63e6d23514ec2 | /src/sources/VectorChecker.cpp | 1c1c36db634b7ee6c4564ccb7006bcd04cfb8d78 | [] | no_license | oleh-on/Speller | d48ebf995c8df2686d5a83f4cc5d40204ae99c7f | df8abd084edb2d513e30b5f9d1101691c3e88ff0 | refs/heads/master | 2021-02-07T16:47:43.979922 | 2020-04-24T19:15:36 | 2020-04-24T19:15:36 | 244,052,760 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 270 | cpp | //
// Created by olehon on 3/1/20.
//
#include "VectorChecker.h"
void VectorChecker::add(const std::string& token) {
words.push_back(token);
}
bool VectorChecker::check(const std::string& token){
return std::binary_search(begin(words), end(words), token);
}
| [
"olehonkaliuk@gmail.com"
] | olehonkaliuk@gmail.com |
d10b7787a0a213ad0e26bf42232f5aa2c5597379 | c34d0432300df62ff63fe9332a46f759ea92c891 | /Snake/Snake/board.h | acb6a849e29ccffeaad7f7b7d054bc93ea0008dd | [] | no_license | TMalicki/Snake-in-console | 63ccfe125a062d6b357e3408c6dfe5e467d53ad5 | 79e760af52878f49d4afdd216273f587bb6f5b23 | refs/heads/master | 2020-07-22T23:35:24.981212 | 2019-10-09T09:59:45 | 2019-10-09T09:59:45 | 207,367,702 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 624 | h | #ifndef BOARD_H
class Board{
private:
friend class Fruit; // fruit class is friend of board class so fruit class can use attributes from board class
friend class Snake; // and so on...
friend class Game;
int global_x, global_y, global_x_min, global_y_min; // size of the board
int score; ... | [
"t.malicki1@wp.pl"
] | t.malicki1@wp.pl |
554ba6fc6a3444894a43ff02ea6dd8cf645d467b | 91423141e84cb7d4d0b43f41531680eca52ee66d | /Array/26/RemoveDuplicates.cpp | d07d172d7b28c84b9618b6b975a71534f751787e | [] | no_license | yangguodang0502/LeetCodeWithCpp | 6be78123bee274d6013d67be5e6423655756f632 | f92fc234b24203ce641d6c7a87ee465a78dbd371 | refs/heads/master | 2021-08-03T00:17:15.696791 | 2021-07-28T01:26:33 | 2021-07-28T01:26:33 | 223,518,548 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 400 | cpp | #include <vector>
using namespace std;
class Solution {
public:
int removeDuplicates(vector<int>& nums) {
int n = nums.size();
if (n == 0)
return 0;
int i = 0;
for (int j = 1; j < n; j++)
{
if (nums[i] != nums[j])
{
... | [
"yangguodang@foxmail.com"
] | yangguodang@foxmail.com |
077057d5719ce3686ad1ce17836d74c4fc5891aa | 75b7c38dbc490fb5f5c929687ebdd59b481a73e5 | /src/ocrstyle/OCRThread.h | 7de1dc24beb42e804f2e0409e3e490b055830b7c | [] | no_license | wxjwz/ocrstyle | bcd457ae60a3696e518d3edefc69c6e540e3681c | 537a7385d1acf26dbffff7c0d4e952d7c685b7af | refs/heads/master | 2020-03-17T09:09:15.925954 | 2019-11-19T05:33:12 | 2019-11-19T05:33:12 | 133,463,270 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,099 | h | // Copyright 2013, Zaoqibu Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions... | [
"vwarship@163.com"
] | vwarship@163.com |
af0abe2648bef15f0cdc40b825c1f23800b0c206 | 2db729d0e0fcb8eeb94b61d33329b0e481c99720 | /include/StoryObject.h | 1174240538c1313ff3f4bcd5b868994da32d02bd | [
"Apache-2.0"
] | permissive | jweinst1/Pages | b006e912c0be946227dab774a12bdb6300410d8e | 66b7d714040d35c3c48b52c4259be6d9dd28a8b9 | refs/heads/master | 2021-09-03T02:19:04.000754 | 2018-01-04T21:01:04 | 2018-01-04T21:01:04 | 115,819,940 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,064 | h | #ifndef STORY_OBJECT_HEAD
#define STORY_OBJECT_HEAD
#include "BlockStr.h"
#include "RandStrList.h"
#include "Descriptor.h"
class StoryObject
{
private:
RandStrList _dets;
Descriptor _desc;
RandStrList _actions;
BlockStr _name;
public:
StoryObject(const char* name = "");
~StoryObject()
{
}
// randomly gets one of the ... | [
"jweinstein@splunk.com"
] | jweinstein@splunk.com |
884286b0735d57c3a6042c80a04fe6d03135cd0f | 07a5df60cdbc4173c4c748b2d7bb6ed6f34a7117 | /3DGameEngine/Engine/Rendering/Texture.h | 630f2772655648b0ed4ae438995aad76ddb63c90 | [] | no_license | TKristof09/3D-OpenGL-Game-Engine | ee61990112ea0f95173d4c42d362769543ade3d7 | 3142167b37018f574ce26618fd2765f78c554868 | refs/heads/master | 2022-03-22T02:31:50.313399 | 2019-07-10T14:25:09 | 2019-07-10T14:29:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,119 | h | #ifndef TEXTURE_H
#define TEXTURE_H
#include <string>
#include <GL/glew.h>
#include "../Core/Window.h"
#include "../Utils/FileLoader.h"
struct TextureConfig
{
GLenum target = GL_TEXTURE_2D;
GLenum wrapModeS = GL_REPEAT;
GLenum wrapModeT = GL_REPEAT;
GLenum wrapModeR = GL_REPEAT;
GLenum minFilter = GL_LINEAR_MIPM... | [
"toth.kristof111@gmail.com"
] | toth.kristof111@gmail.com |
c9277693fe5730d6ff921078880750953f822626 | 9d3445273e6eccee4b14c61c3752fb5d7f8f6765 | /code_examples/ch15/Fig15_03/Fig15_03.cpp | e17caeb7d161680df3cda9095409072e8650fb22 | [] | no_license | chisom360/C | a0d045c2a18d902e7b0f5bfc57c51908b764e17d | 13e560bf5cff6150c39a661b213358dfd146fdcc | refs/heads/master | 2020-03-26T22:51:54.288640 | 2019-05-28T00:37:17 | 2019-05-28T00:37:17 | 145,492,197 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,534 | cpp | // Fig. 15.3: Fig15_03.cpp
// Printing the address stored in a char * variable.
#include <iostream>
using namespace std;
int main()
{
const char *const word = "again";
// display value of char *, then display value of char *
// static_cast to void *
cout << "Value of word is: " << word << endl
... | [
"esele001@umn.edu"
] | esele001@umn.edu |
d935457f2bc1cd19c18777104a603c9c94199edc | fb7efe44f4d9f30d623f880d0eb620f3a81f0fbd | /chrome/browser/accessibility/accessibility_extension_api.cc | ef80aa066272e051c6340d24b35d09ca9d77ab6f | [
"BSD-3-Clause"
] | permissive | wzyy2/chromium-browser | 2644b0daf58f8b3caee8a6c09a2b448b2dfe059c | eb905f00a0f7e141e8d6c89be8fb26192a88c4b7 | refs/heads/master | 2022-11-23T20:25:08.120045 | 2018-01-16T06:41:26 | 2018-01-16T06:41:26 | 117,618,467 | 3 | 2 | BSD-3-Clause | 2022-11-20T22:03:57 | 2018-01-16T02:09:10 | null | UTF-8 | C++ | false | false | 8,030 | cc | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/accessibility/accessibility_extension_api.h"
#include <stddef.h>
#include "base/json/json_writer.h"
#include "base/strings/... | [
"jacob-chen@iotwrt.com"
] | jacob-chen@iotwrt.com |
9e4dd1a04fdd551d3ca05998ac4f903481007411 | 7e7de3717ae72b7693024c44275b5f96d7ff386f | /ros_ws/devel/include/baxter_core_msgs/DigitalIOStates.h | aa0ca752527a0204e045d3738bbff8cf1cf2e45d | [] | no_license | ronixas/robotics_foundations | 532ad29a351c9f6cc5f1ea68af0e3f1f643a07de | efe31a62321e658461375d86079f640020172a3c | refs/heads/master | 2021-05-05T06:18:14.382363 | 2018-03-12T20:43:59 | 2018-03-12T20:43:59 | 118,793,007 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 6,731 | h | // Generated by gencpp from file baxter_core_msgs/DigitalIOStates.msg
// DO NOT EDIT!
#ifndef BAXTER_CORE_MSGS_MESSAGE_DIGITALIOSTATES_H
#define BAXTER_CORE_MSGS_MESSAGE_DIGITALIOSTATES_H
#include <string>
#include <vector>
#include <map>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_... | [
"2143806g@student.gla.ac.uk"
] | 2143806g@student.gla.ac.uk |
3a6e3117878fad8d739b8c8b523a9d2c5264faef | 9530d8632e4a020833ea61e3371dc5d129ff591c | /src/qt/test/uritests.cpp | cc1a4c041ffeb0b8d1d8ab4e9c2406a43d8862f0 | [
"MIT"
] | permissive | lulworm/1eur | 83f2deef19486f7cff63808fecad852be0410348 | e4306e2bfca28bd3175333397e04233e75f5ce8c | refs/heads/master | 2020-11-27T17:32:08.269265 | 2020-01-14T02:33:13 | 2020-01-14T02:33:13 | 229,545,851 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,862 | cpp | // Copyright (c) 2009-2014 The Bitcoin developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "uritests.h"
#include "guiutil.h"
#include "walletmodel.h"
#include <QUrl>
void URITests::uriTests()
{
SendCoinsRe... | [
"lulworm@gmail.com"
] | lulworm@gmail.com |
39d1c69c4526f8fc20d58323e2cbe67a66213afd | 36617c5f881101d890dabfa89bd5aaddfd8be52a | /syntax analyzer/main.cpp | 7e4743cd4ea3bd8a6ae2a2de9f1115ecf20b5985 | [] | no_license | hai-nguyen93/cpsc-323 | 9001d5b9359cd81409093ce8d8e77617591d36bc | 9c198902bb66a9ab64ebc44f45a88bcf630db6b1 | refs/heads/master | 2022-08-29T09:17:16.709175 | 2022-08-07T22:18:37 | 2022-08-07T22:18:37 | 207,049,395 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,973 | cpp | // Hai Nguyen
// CPSC 323
// Assignment 2
// Syntax analysis
// This program reads a source code file or 1 line of code and analyze the syntax (predictive RDP).
// The result is printed to the screen and "parse_result.txt" file
// Progress: this program can parse:
// - Arithmetic assignment statement
// - Ari... | [
"noreply@github.com"
] | hai-nguyen93.noreply@github.com |
a80153bedf5b0c653af66b67ff6a817d7fc40b0d | 808899d6d14f6e86f3950ab7a6155dcc073342fe | /Source/SerialCameraController.cpp | a8c93d7c5156767be3e0a349ff51df104e5025f2 | [] | no_license | Martina1111/BehavioralVideo | 10cd163199db4561adf03db13a5a9e665ad3fba6 | 777873f56783876c6624a387a095c979e8ba3717 | refs/heads/master | 2021-01-16T20:28:19.879599 | 2014-10-14T12:37:03 | 2014-10-14T12:37:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,330 | cpp | #include "SerialCameraController.h"
#include <QDebug>
bool isSerialControllerConnected()
{
bool hardware = false;
bool firmware = false;
foreach (const QSerialPortInfo &info, QSerialPortInfo::availablePorts()) {
if (info.description().left(17) == "Camera Controller"){
//check fo... | [
"ckemere@gmail.com"
] | ckemere@gmail.com |
0cd8ce80ae1f70c42aff09db1a566d89681b3a08 | b5e388f02d79ca7e82c2295f06948abb5788db75 | /Solved/Sources/10815/Source.cpp | 685a5439e31ec73ac8808638d912cc74401cc01a | [
"MIT"
] | permissive | Sylvia3259/baekjoon-online-judge | 1330c02c110e48a31d0806763026d6fe56f393d7 | 08539af22a252352daaa06464df22678d1310a6f | refs/heads/master | 2023-07-04T15:43:25.886394 | 2021-08-07T13:11:18 | 2021-08-07T13:11:18 | 389,019,488 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 408 | cpp | #include <iostream>
#include <algorithm>
using namespace std;
int arr[500000];
int main() {
ios_base::sync_with_stdio(false);
cin.tie(nullptr);
cout.tie(nullptr);
int n;
cin >> n;
for (int i = 0; i < n; i++)
cin >> arr[i];
sort(arr, arr + n);
int m;
cin >> m;
for (int i = 0; i < m; i++) {
int value... | [
"newjincar33@gmail.com"
] | newjincar33@gmail.com |
92c920b85d3ac34ef9c2c061765b47fccd649e25 | 012f0800c635f23d069f0c400768bc58cc1a0574 | /hhvm/hhvm-3.17/hphp/runtime/vm/fixed-string-map.h | 3f10a1f8b880798876abf9a99cce4de131bebd28 | [
"Zend-2.0",
"BSD-3-Clause",
"PHP-3.01"
] | permissive | chrispcx/es-hhvm | c127840387ee17789840ea788e308b711d3986a1 | 220fd9627b1b168271112d33747a233a91e8a268 | refs/heads/master | 2021-01-11T18:13:42.713724 | 2017-02-07T02:02:10 | 2017-02-07T02:02:10 | 79,519,670 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,129 | h | /*
+----------------------------------------------------------------------+
| HipHop for PHP |
+----------------------------------------------------------------------+
| Copyright (c) 2010-2016 Facebook, Inc. (http://www.facebook.com) |
+---------... | [
"peiqiang@huawei.com"
] | peiqiang@huawei.com |
8b1178f4203da07eeda8311488c3cc14144a5918 | 8b32a2014cb19a003f1800aa0e82286109acd5f8 | /inc/font.hh | 21f86135ff8e00f4f69f7ae28c058292780112ba | [] | no_license | tlvb/tgui | cf77864d8c8e80f853317601d1376fddce3070b9 | 0b766b44ab9b4981f5ec98c7a459f365837fe4b2 | refs/heads/master | 2020-06-02T10:14:35.232549 | 2012-08-29T15:48:22 | 2012-08-29T15:48:22 | 5,237,748 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 175 | hh | #ifndef __TGUI_FONT_HH__
#define __TGUI_FONT_HH__
#include <SDL/SDL_ttf.h>
namespace tgui {
TTF_Font *load_font(const char *name, const char *style, int size);
}
#endif
| [
"leo.barring@gmail.com"
] | leo.barring@gmail.com |
6c8f22dbc213ac07a6311c8d983d56e8195d3db7 | efcde12a7d53a3b225d123566c1a9c5cf4325d70 | /spring/SpringEditor.cpp | 29080da63fc311e0602f3f74e1b35039de7462c4 | [] | no_license | spr1ngd/spring | 8caf0fbc90493698d66283f8a84ba3eb83c3d50b | 483d87b9ff6500f0831db23a588e09ce2673db78 | refs/heads/master | 2020-07-15T05:42:15.017816 | 2020-06-28T09:20:53 | 2020-06-28T09:20:53 | 205,491,012 | 1 | 2 | null | 2020-04-13T15:16:18 | 2019-08-31T03:42:48 | C++ | UTF-8 | C++ | false | false | 1,021 | cpp | #include "springeditor.h"
#include "particlerenderereditor.h"
#include "materialeditor.h"
#include "postprocesseditor.h"
#include "pickingeditor.h"
#include "editorgizmosutility.h"
using namespace spring;
using namespace spring::editor;
bool SpringEditor::enabled = true;
bool SpringEditor::maximize = false;
Inspecto... | [
"springu3d@yeah.net"
] | springu3d@yeah.net |
5667439037a2c4f45f4b0a8498e914becd3e5db5 | 94a0e9c16aca0489843f756e14385df4a3c2f563 | /code/ide/adt/L13_UsingNDK/jni/Hello.h | 4392e745d183ac5a6314ef5d660cebe56cb19593 | [] | no_license | plter/AndroidLessons20130708 | ad16d929788ebb8ad8d22339b9fee3a8036e6d7f | 3ecde73c89c8d1e7d1d434839ca97d39f0764096 | refs/heads/master | 2020-05-17T05:34:36.537730 | 2013-09-16T03:33:20 | 2013-09-16T03:33:20 | 11,245,417 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 245 | h | /*
* Hello.h
*
* Created on: 2013-8-20
* Author: plter
*/
#ifndef HELLO_H_
#define HELLO_H_
namespace eoe {
class Hello {
public:
Hello();
static int getNum();
virtual ~Hello();
};
} /* namespace eoe */
#endif /* HELLO_H_ */
| [
"xtiqin@163.com"
] | xtiqin@163.com |
5e24104f89f50e902b8cc950bc2ba2e7a5154417 | ef690987e62e38df9aec3086f6e48b92b049af75 | /MagnetGame/Project1/Source/Physics/PhysicsCalc.cpp | f31b3aeef4b5c40864c3499094060dc9f482d77a | [] | no_license | TsurumiMasayuki/MagnetGame | a3a840db56d38a950fa97d2c573552f882844881 | 4b8032ac145e6538ecfe5a947ec47482f307f889 | refs/heads/master | 2020-11-25T04:22:40.472345 | 2020-01-23T00:31:44 | 2020-01-23T00:31:44 | 228,498,929 | 0 | 0 | null | 2020-01-23T00:31:46 | 2019-12-17T00:16:41 | C++ | SHIFT_JIS | C++ | false | false | 3,998 | cpp | #include "PhysicsCalc.h"
#include "Actor\GameObject.h"
#include "Math\MathUtility.h"
#include "Component\Physics\CircleCollider2D.h"
#include "Component\Physics\BoxCollider2D.h"
#include "Math\Vec2.h"
enum HitDirection
{
UP,
DOWN,
LEFT,
RIGHT
};
HitDirection getHitDirection(BoxCollider2D* pBox1, BoxCollider2D* pB... | [
"tsuruwatcher@gmail.com"
] | tsuruwatcher@gmail.com |
cb1a94a9ce2d0b707e6e5fd51b8de6df6eb97db4 | 96650251d06aecbc11ac9022311784328fb8f22a | /ObjToFbx/Geometry/ObjTex.h | 466a150d1706c34cd8d631fea86c9428138cf98d | [] | no_license | dangwalsh/ObjToFbx | a8437d4a12ca7cf6b4e498c6734b7c2841f636c6 | 1c78c54d2e8465ffdd297f2ea236fcd6e4314480 | refs/heads/master | 2021-05-01T03:41:06.926097 | 2016-09-19T16:02:11 | 2016-09-19T16:02:11 | 63,449,027 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 719 | h | //
// ObjTex.hpp
// ObjToFbx
//
// Created by Daniel Walsh on 8/13/16.
// Copyright © 2016 Daniel Walsh. All rights reserved.
//
#ifndef ObjTex_hpp
#define ObjTex_hpp
#include <string>
#include <vector>
class ObjTex
{
public:
ObjTex(std::vector<std::string>& pTokens);
~ObjTex();
virtual std::string ... | [
"walsh.daniel@icloud.com"
] | walsh.daniel@icloud.com |
b2bd04d978c9852dd34039554ae4da0bced87f47 | 9dcbe30676e2df00b3d7cb308885cb17dda89494 | /src/qt/sendtocontract.cpp | 720fa5f47be27f4074508ce3a4300aaace1eb98e | [] | no_license | bkartel1/chat_wallet | 9d901067b4bf140c20e82a0ff3e42cddfc1706b3 | d8919bfd4bae461992ff84dc8a66ea01d78a7c5b | refs/heads/master | 2020-03-16T20:17:48.112412 | 2018-04-25T13:43:41 | 2018-04-25T13:43:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,569 | cpp | #include "sendtocontract.h"
#include "ui_sendtocontract.h"
#include "platformstyle.h"
#include "walletmodel.h"
#include "clientmodel.h"
#include "guiconstants.h"
#include "rpcconsole.h"
#include "execrpccommand.h"
#include "bitcoinunits.h"
#include "optionsmodel.h"
#include "validation.h"
#include "utilmoney... | [
"eug.ray@hotmail.com"
] | eug.ray@hotmail.com |
970aad13a60e560e6ff1173ad33bc89435b278ba | 9c6f0e7db4f48502a18c58bad1caf6cfaacd88db | /multibody/parsing/test/detail_tinyxml2_diagnostic_test.cc | a414ec750aee0062df10b7ad8e99343302f33e46 | [
"BSD-3-Clause"
] | permissive | mpetersen94/drake | b0bbeb058d2a3682da9f1389225941099af2fb25 | c38f22c9b2f00359679bc0b903b40947c9eeaa6e | refs/heads/master | 2023-04-28T08:26:03.124616 | 2023-04-26T17:29:09 | 2023-04-26T17:29:09 | 132,493,501 | 0 | 2 | NOASSERTION | 2022-02-06T19:50:16 | 2018-05-07T17:21:02 | C++ | UTF-8 | C++ | false | false | 4,439 | cc | #include "drake/multibody/parsing/detail_tinyxml2_diagnostic.h"
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include "drake/common/drake_assert.h"
#include "drake/common/temp_directory.h"
#include "drake/multibody/parsing/test/diagnostic_policy_test_base.h"
namespace drake {
namespace multibody {
namespace int... | [
"noreply@github.com"
] | mpetersen94.noreply@github.com |
4ccc9d1305ea451ba4622b41888e7177f2e63ad8 | 04b8d3b77ebc55cd7645be9c982f3a41ce8c0338 | /기초/1_C++ eraly objects- 8th edition/src/p96/p96.cpp | 0fde5cd24e2c3c5880360a9ead6c3371975e6905 | [] | no_license | myoung-jin-na/open-cpp-study-gruop | a1767a85fb65998c37efb86d118a14ada0e2e9dd | 8afb32025911e52bacacc52a2a704565a38f55ed | refs/heads/master | 2021-01-10T06:58:10.203334 | 2016-04-10T21:21:53 | 2016-04-10T21:21:53 | 55,870,194 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 697 | cpp | // p96.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include <iostream>
using namespace std;
// c++11 버전부터 아래와 같은 초기화 방식이 추가 됨. 세번째 방식은 함수와 혼된 되므로 사용하지 못하게 하고 있다.
class A {
private:
int a{ 10 };
int b = { 10 };
int c(10); // <<-- error
};
int main()
{
A a{};
int books, mont... | [
"myoungjin.na@gmail.com"
] | myoungjin.na@gmail.com |
08a1d158f6406a51de873287dca9ee9243fc7e52 | 4b73ae8564a52e1ae0a7306c724dbc2d97e8b26e | /src/ui/UI.cpp | 2d23d0c353c79056477285b15ac17ddac4920abe | [] | no_license | mamysa/ShaderPreviewer | 5116070b8027c9e23580f98037d855547618363c | b3a9b11725eb273a50329345a8ba8dc44d793c76 | refs/heads/master | 2021-01-01T18:03:56.579815 | 2018-03-02T20:46:50 | 2018-03-02T20:46:50 | 98,232,435 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,909 | cpp | #include "Logger.h"
#include "imgui.h"
#include "UI.h"
#include "ResourceManager.h"
#include "Texture.h"
static const ImVec4 ColorLogSuccess(0.039, 0.901, 0.047, 1.0);
static const ImVec4 ColorLogFailure(0.9, 0.05, 0.05, 1.0);
static const ImVec4 ColorLogInfo(0.9, 0.9, 0.9, 1.0);
static int ControlPanelHeight = 35;
... | [
"alexmamyshev@fastmail.com"
] | alexmamyshev@fastmail.com |
1d449eb1918d1e94d3711e69e31482c707e2f8bd | dcb68c87482166c15576e798a01b1880034c620c | /cpp_indie_studio/src/Object/AObject.hpp | f1ec3f98618b1c1d12792acb159b7a990db1bd50 | [] | no_license | Toinoux/Epitech | 7a5cc1b954c951f765c424c176e128b6ce6f60ae | bdb86c9e679f7121890ec07f2405a0c1afa12c68 | refs/heads/master | 2020-03-22T21:49:13.546508 | 2019-03-12T16:17:49 | 2019-03-12T16:17:49 | 140,710,308 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 254 | hpp | /*
** EPITECH PROJECT, 2018
** AObject
** File description:
** Interface
*/
#pragma once
#include <cstddef>
#include "IEntity.hpp"
namespace bbm {
class AObject : public IEntity {
public:
AObject() = default;
virtual ~AObject() = default;
};
}
| [
"antoine.yvroud@epitech.eu"
] | antoine.yvroud@epitech.eu |
0ac87950c415d0845db8ea36db1058545084c99a | bb6ebff7a7f6140903d37905c350954ff6599091 | /ui/views/controls/scroll_view_unittest.cc | 8f34377553fce576748fd8655a610df69630e3a8 | [
"BSD-3-Clause"
] | permissive | PDi-Communication-Systems-Inc/lollipop_external_chromium_org | faa6602bd6bfd9b9b6277ce3cd16df0bd26e7f2f | ccadf4e63dd34be157281f53fe213d09a8c66d2c | refs/heads/master | 2022-12-23T18:07:04.568931 | 2016-04-11T16:03:36 | 2016-04-11T16:03:36 | 53,677,925 | 0 | 1 | BSD-3-Clause | 2022-12-09T23:46:46 | 2016-03-11T15:49:07 | C++ | UTF-8 | C++ | false | false | 12,569 | cc | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/views/controls/scroll_view.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/views/controls/scrollbar/overlay_scroll_bar.h"... | [
"mrobbeloth@pdiarm.com"
] | mrobbeloth@pdiarm.com |
d038254a8486ed3342d1c8b5f2607cc96b86a295 | 3a04f8a94d86c6dbf440decc9bd4e48937ace4a5 | /Mid Lab Exam/Q1/C2.cpp | 9a961851b48496f09f0ef1c35bdbe8d9026920cb | [] | no_license | gaurav512/Computer-Networks | 32b2215d507d258a47320be4548e2ba6dbac6bb1 | 9d71e1dfb0fe9fb9060822ffc369c47a77314dff | refs/heads/master | 2023-08-23T09:58:26.084885 | 2023-08-06T10:24:12 | 2023-08-06T10:24:12 | 344,593,664 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,083 | cpp | #include<iostream>
#include<stdio.h>
#include<stdlib.h>
#include<sys/types.h>
#include<unistd.h>
#include<pthread.h>
#include<semaphore.h>
#include<fcntl.h>
#include<string.h>
#include<ctype.h>
#include<signal.h>
#include<poll.h>
#include<sys/wait.h>
#include<sys/types.h>
#include<sys/stat.h>
#include<sys/shm.h>
#incl... | [
"itsgaurav01@gmail.com"
] | itsgaurav01@gmail.com |
c503ec4e8449c30a8465d5f852032567e9ef9a1a | bde8efde4a9a8cb53552cbd425a732e6702cc1b5 | /ColorPoint/Color.h | eac56444a41efb7b3b3804a58ca12701e04693a2 | [] | no_license | ag2888/C-- | b3a31b87d7346d8f56d991acf8a9f593e12a4555 | 3b1874992c94ac68fc4eaf925d845e43024efc56 | refs/heads/master | 2021-03-12T21:42:42.524895 | 2014-01-30T20:46:02 | 2014-01-30T20:46:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,378 | h | /*
* Object-Oriented Programming
* Copyright (C) 2012 Robert Grimm
* Modifications Copyright (C) 2013 Thomas Wies
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* version 2 as published by the Free Software Foundation.
*
* This pr... | [
"ankitgoel@new-host.home"
] | ankitgoel@new-host.home |
839cfceefc4f8c5f706f111a9f40810521cceed1 | 6dd18dd258b38ddf3061565496d9bb7d982eb1e4 | /20_MemoryManagement/Using_set_new_handler.cpp | 75acb69fd1e2e3289842215464360994100c03bd | [] | no_license | seddon-software/cplusplus | 5d67b0ca95d24c2c4911ad6111b1a9a1ba7285bf | bcbdfb6e916ebb08eb8d507dcb18bed8a80fbf82 | refs/heads/master | 2021-06-27T06:04:23.804126 | 2020-12-04T16:38:57 | 2020-12-04T16:38:57 | 174,515,590 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 585 | cpp | //////////////////////////////////////////////////////////////////////
//
// Using set_new_handler
//
//////////////////////////////////////////////////////////////////////
#include <new>
#include <cstdlib>
#include <iostream>
using namespace std;
enum { MByte = 1024 * 1024 };
void low_on_memory()
{... | [
"seddon-software@keme.co.uk"
] | seddon-software@keme.co.uk |
0a988b8e1883b6f3837d722db423797db93269ec | b8fcd3b2fd6d4bbe58c3cbf38f2f26f352bb0e4f | /snake/build-tcshe-Desktop_Qt_5_12_1_MinGW_64_bit-Debug/debug/qrc_head.cpp | 0fa3bafca3a375b299c0b0d532deb38fc10a0aed | [] | no_license | Net409/test | 01371587fd7bbd074cea66aa129660e92c9a2b64 | 0acb213f99de853ab94050f4fb2806aa7d612356 | refs/heads/master | 2022-11-08T02:47:52.355751 | 2020-06-28T07:38:49 | 2020-06-28T07:38:49 | 268,205,545 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,315 | cpp | /****************************************************************************
** Resource object code
**
** Created by: The Resource Compiler for Qt version 5.12.1
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/
static co... | [
"noreply@github.com"
] | Net409.noreply@github.com |
d5923c7b80cf9a2c0ee13fe3d64362a3e38f255c | 17a0a9f5c8746a3eba37cde2b384ac03ad9cee2d | /Tema 2/main.cpp | 29d646dfe77e1dd122e3ceb684bf6962d220ab19 | [] | no_license | Varothex/Programare-Orientata-pe-Obiecte | 8088f68fe734c95e42e7db3b713abb21594d0922 | 1bbf357b0f64e65ee725629d7d4609471931a533 | refs/heads/master | 2022-07-16T09:43:48.097054 | 2020-05-21T22:41:37 | 2020-05-21T22:41:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 923 | cpp | #include <bits/stdc++.h>
#include "Monom.h"
#include "Polinom.h"
#include "Polinom_ireductibil.h"
using namespace std;
int main()
{
/*Monom x, y, z;
cin >> x >> y >> z;
cout << x << y << z;
Monom copiex = x;
cout << copiex;*/
Monom x(3, 4.0), y(4, 5.0), z(5, 6.0);
x.print();
y.print(... | [
"noreply@github.com"
] | Varothex.noreply@github.com |
7a8d51ade94c3e90bb742492e1cfd0544ec2e5ef | 55d560fe6678a3edc9232ef14de8fafd7b7ece12 | /libs/mp11/test/mp_contains.cpp | efe39db91fcf9f7cfb257959fabb8ac81e9d3323 | [
"LicenseRef-scancode-unknown-license-reference",
"BSL-1.0"
] | permissive | stardog-union/boost | ec3abeeef1b45389228df031bf25b470d3d123c5 | caa4a540db892caa92e5346e0094c63dea51cbfb | refs/heads/stardog/develop | 2021-06-25T02:15:10.697006 | 2020-11-17T19:50:35 | 2020-11-17T19:50:35 | 148,681,713 | 0 | 0 | BSL-1.0 | 2020-11-17T19:50:36 | 2018-09-13T18:38:54 | C++ | UTF-8 | C++ | false | false | 1,967 | cpp |
// Copyright 2015 Peter Dimov.
//
// Distributed under the Boost Software License, Version 1.0.
//
// See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt
#include <boost/mp11/algorithm.hpp>
#include <boost/mp11/list.hpp>
#include <boost/mp11/integral.hpp>
#include <b... | [
"james.pack@stardog.com"
] | james.pack@stardog.com |
0ea1be4fe17a338f8a7974f5c3110a923cb740be | 432e008016cce447f5269c3d205a5b58d3b6625e | /piezoTest.ino | 33219a36f0180f9837c82b981fdc0ec5d879ae1b | [] | no_license | didierdevil24/Intervalometer | ba8f4aa4adf16a99c0abb1d9ba477c80b5df1a76 | c03bd3b386843a23f88779877371571b5833b751 | refs/heads/master | 2020-05-18T00:32:59.959378 | 2018-10-07T15:57:14 | 2018-10-07T15:57:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 996 | ino |
bool peak = false;
int peaks = 0;
const int dropTime = 250;
const int inPin = 2;
unsigned long lastDropTime = 0;
const unsigned long maxTime = 5000;
void setup() {
pinMode(inPin, INPUT);
//pinMode(13, OUTPUT);
//digitalWrite(13,LOW);
Serial.begin(9600);
lastDropTime = millis();
}
void loop() {
if (digitalRead... | [
"noreply@github.com"
] | didierdevil24.noreply@github.com |
6b4edaa4c23bdb6a57eee01d02cba6cf51302c7b | 2eceb06b34cbbb3b068b9c46e860012d421851a5 | /动态规划/70_爬楼梯.cpp | 4a99ca73a7718e5903178891799d0e0212b2d7b6 | [] | no_license | StephLee12/Leetcode | 9bf9804e47774fcf110ad7b60565a6f5772cc6d2 | c02c8f5b1367aebc54fe7c833b1cc21ebfcb35e4 | refs/heads/master | 2023-04-19T03:25:05.870326 | 2021-05-02T02:41:13 | 2021-05-02T02:41:13 | 248,443,019 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 523 | cpp | # include <vector>
# include <algorithm>
# include <iostream>
using namespace std;
/*
假设你正在爬楼梯。需要 n 阶你才能到达楼顶。
每次你可以爬 1 或 2 个台阶。你有多少种不同的方法可以爬到楼顶呢?
*/
class Solution {
public:
int climbStairs(int n) {
// Method 1 动态规划 就这就这
if (n == 1) return 1;
if (n == 2) return 2;
vector<int> dp(n);
dp[0] = 1; dp[1] = ... | [
"47514655+StephLee12@users.noreply.github.com"
] | 47514655+StephLee12@users.noreply.github.com |
e11feb2c9401c33ffa3570ab1ee4b300b776e761 | e5dad8e72f6c89011ae030f8076ac25c365f0b5f | /caret_brain_set/BrainModelIdentification.cxx | 5b4bff80e6e573c2535328a2b0cfeac4ac23a504 | [] | no_license | djsperka/caret | f9a99dc5b88c4ab25edf8b1aa557fe51588c2652 | 153f8e334e0cbe37d14f78c52c935c074b796370 | refs/heads/master | 2023-07-15T19:34:16.565767 | 2020-03-07T00:29:29 | 2020-03-07T00:29:29 | 122,994,146 | 0 | 1 | null | 2018-02-26T16:06:03 | 2018-02-26T16:06:03 | null | UTF-8 | C++ | false | false | 156,753 | cxx | /*LICENSE_START*/
/*
* Copyright 1995-2002 Washington University School of Medicine
*
* http://brainmap.wustl.edu
*
* This file is part of CARET.
*
* CARET 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 Fo... | [
"michael.hanke@gmail.com"
] | michael.hanke@gmail.com |
a8fb7c5ddfb6fd580c93d36b3bb47387a24b9762 | e0f91c67747c7d7f59f07de5e020d3540951fb7f | /src/test/cachemap_tests.cpp | d7629c004db61448d95b51f651a7000dfac8e62e | [
"MIT"
] | permissive | loldlm1/dadasd | ecfde42edc8c1f1639def11f7f27810ed69e0a66 | 5cf32e4c3624cdb097656f4c4809bba546fc8c70 | refs/heads/master | 2021-07-15T22:56:43.368640 | 2017-10-13T15:11:47 | 2017-10-13T15:11:47 | 106,053,804 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,207 | cpp | // Copyright (c) 2014-2017 The Arepa Core developers
#include "cachemap.h"
#include "test/test_arepa.h"
#include <boost/test/unit_test.hpp>
BOOST_FIXTURE_TEST_SUITE(cachemap_tests, BasicTestingSetup)
bool Compare(const CacheMap<int,int>& map1, const CacheMap<int,int>& map2 )
{
if(map1.GetMaxSize() != map2.GetM... | [
"loldlm1@gmail.com"
] | loldlm1@gmail.com |
2aa0c12e5283a803a35141ea1c4e1a55ecd6fc44 | 9d364070c646239b2efad7abbab58f4ad602ef7b | /platform/external/chromium_org/chrome/browser/extensions/api/reading_list_private/reading_list_private_api.h | 8edcbce974bad741ec456f5faf4c8acbc4a8d26b | [
"BSD-3-Clause"
] | permissive | denix123/a32_ul | 4ffe304b13c1266b6c7409d790979eb8e3b0379c | b2fd25640704f37d5248da9cc147ed267d4771c2 | refs/heads/master | 2021-01-17T20:21:17.196296 | 2016-08-16T04:30:53 | 2016-08-16T04:30:53 | 65,786,970 | 0 | 2 | null | 2020-03-06T22:00:52 | 2016-08-16T04:15:54 | null | UTF-8 | C++ | false | false | 1,547 | h | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_EXTENSIONS_API_READING_LIST_PRIVATE_READING_LIST_PRIVATE_API_H_
#define CHROME_BROWSER_EXTENSIONS_API_READING_LIST_PRIVATE_READING_... | [
"allegrant@mail.ru"
] | allegrant@mail.ru |
66d2d2a14fa3169d39488866f0f5d3022caf3df7 | 64178ab5958c36c4582e69b6689359f169dc6f0d | /vscode/wg/sdk/UTslVehicleSinkComponent.hpp | f848d4fb59642792126cac0fd58a32b735c90071 | [] | no_license | c-ber/cber | 47bc1362f180c9e8f0638e40bf716d8ec582e074 | 3cb5c85abd8a6be09e0283d136c87761925072de | refs/heads/master | 2023-06-07T20:07:44.813723 | 2023-02-28T07:43:29 | 2023-02-28T07:43:29 | 40,457,301 | 5 | 5 | null | 2023-05-30T19:14:51 | 2015-08-10T01:37:22 | C++ | UTF-8 | C++ | false | false | 8,656 | hpp | #pragma once
#include "UActorComponent.hpp"
#ifdef _MSC_VER
#pragma pack(push, 1)
#endif
namespace PUBGSDK {
struct alignas(1) UTslVehicleSinkComponent // Size: 0x290
: public UActorComponent // Size: 0x1F0
{
private:
typedef UTslVehicleSinkComponent t_struct;
typedef ExternalPtr<t_struct> t_stru... | [
"1395329153@qq.com"
] | 1395329153@qq.com |
5762083093eef8f596e0b314496771751a413651 | 49901db51e4e43e14b21e799a43f19af3c6229f3 | /Headers/shader.h | bab5b7441b8fb4d75d36f5e6f723100fd76679ed | [] | no_license | ashritbista/3D-cubed-world-OpenGL-C- | 896f72b049c17d08cccb13beb21599b72f09a93f | ca4a26198f73d1ba4ab13d39270ea98f9a417d6a | refs/heads/master | 2021-01-25T09:44:58.464342 | 2017-06-09T17:45:49 | 2017-06-09T17:45:49 | 93,875,901 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,930 | h | #ifndef SHADER_H
#define SHADER_H
#include <string>
#include <fstream>
#include <sstream>
#include <iostream>
#include <GLEW/GL/glew.h>
class Shader
{
public:
//the program ID
GLuint Program;
//Constructor reads and builds the shader
Shader(const GLchar* vertexPath, const GLchar* fragmentPath);
//use the progra... | [
"ashrit93@gmail.com"
] | ashrit93@gmail.com |
60e3988030e28a9c06bdf80379070ae5ef65c794 | a5b43123d91d23581ae1f1cc725d7b004a4caa25 | /cpp/Dynamic Programming/Minimum Deletions.cpp | 5e30daa69229cf19664ba740922cc8992b2d56e0 | [] | no_license | ivan570/code | 376001416a01f0a870a0d73796f1a61dd3bfe958 | e5a8e9bf7c9ea27b070ca3f351bb54cb16ce0317 | refs/heads/main | 2023-05-23T04:48:30.477060 | 2021-06-11T15:50:30 | 2021-06-11T15:50:30 | 330,686,610 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 811 | cpp | #include <iostream>
#include <string>
#include <vector>
#include <algorithm>
int LCS(std::string one, std::string two) {
std::vector<std::vector<int>> arr(one.size() + 1, std::vector<int>(two.size() + 1, 0));
for (int i = 0; i <= one.length(); ++i) {
for (int j = 0; j <= two.length(); ++j) {
if (i == 0 || j == ... | [
"ivankshu@gmail.com"
] | ivankshu@gmail.com |
69ca5611686eee9c6c04ca56f10e9b718d5ffe30 | b8a4bf8703c903b707ce4c134e29c0fe482a9c99 | /Source/AllProjects/CIDLib/CIDLib_KeyedHashSet.hpp | 7f4407245dc7730646d3d594066b2319747194bf | [
"MIT"
] | permissive | freedom99/CIDLib | 1f7d7138c8e7602f0ef77b704006155f699b0a5a | 4edcb9096270eed7938293212ff6be99e1a72f8e | refs/heads/master | 2020-04-29T15:35:25.304111 | 2019-03-17T23:45:30 | 2019-03-17T23:45:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 62,570 | hpp | //
// FILE NAME: CIDLib_KeyedHashSet.hpp
//
// AUTHOR: Dean Roddey
//
// CREATED: 06/22/1997
//
// COPYRIGHT: Charmed Quark Systems, Ltd @ 2019
//
// This software is copyrighted by 'Charmed Quark Systems, Ltd' and
// the author (Dean Roddey.) It is licensed under the MIT Open Source
// license:
//
// https://opens... | [
"droddey@charmedquark.com"
] | droddey@charmedquark.com |
176518c1ec7a4868aa3b20e58b8647b6c0e0966c | d5775c91edca75cbec1e26e4602294d0ae46d50e | /log_console.h | 3a309c822ba1144b18169c0d2e067a130dc08413 | [] | no_license | AlexanderDzhoganov/Icebreaker | 9a379463ab1e7ea092f38fbaf95cb3700e2037fc | 10c7e5f5e8153d6a2b5c802261b51de36cd9d38a | refs/heads/master | 2021-01-25T03:54:47.703616 | 2011-07-11T17:52:29 | 2011-07-11T17:52:29 | 2,031,647 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 213 | h | #ifndef __LOG_CONSOLE
#define __LOG_CONSOLE
class LogConsole : public LogInterface {
public:
virtual void logMsg(std::string msg) {
InputManager::instance()->getInterface()->printToConsole(msg);
}
};
#endif | [
"alexander.dzhoganov@gmail.com"
] | alexander.dzhoganov@gmail.com |
3e0d068de653c84735230ab0f165171b50358cce | 14f1a27ce75255777f732daaab1799a3885b9510 | /include/systematics/interpolated_par_scattering.h | d9702299836848ec2212f016beeca18a58317d65 | [] | no_license | ZeloZhang/GlobalFit-cascade | 7cc3e80018f995911ca29cde222930c4d760c615 | 0ae34ddfbade0ebf6b2e0d79d61b54aacde9988c | refs/heads/main | 2023-03-02T04:30:18.464990 | 2021-02-02T04:01:44 | 2021-02-02T04:01:44 | 332,619,120 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 735 | h | /* author: Hans Niederhausen
* date: 03/09/2017
*
* class to calculate per-bin correction factors via interpolation of discrete simulations
*
*/
#ifndef _INTERPOLATED_PAR_SCATTERING_H
#define _INTERPOLATED_PAR_SCATTERING_H
#include <vector>
#include <string>
#include <iostream>
#include <fstream>
#include <stdio... | [
"zzhang1@cobalt04.icecube.wisc.edu"
] | zzhang1@cobalt04.icecube.wisc.edu |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.