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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
745c0f283c6850ed596d1ea63ff2cf11f426b0e4 | 93409e882a893eff3d6a535d6ac94c57aca98e46 | /source/FPIdle.cpp | 21bec48b72544d65132bea5966d53528467adc57 | [] | no_license | begner/CUELegendKeys | e62f44e89189a7b2fe840014be70038552962918 | 2ebee4a18bb0bfb9fec73739b37e79c4b3f0bef6 | refs/heads/master | 2021-01-20T15:36:24.974091 | 2016-11-17T20:11:46 | 2016-11-17T20:11:46 | 65,309,600 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,269 | cpp | #include "FPIdle.h"
FPIdle::FPIdle(HWND uiHWND) : FPScreenMirror(uiHWND)
{
NuLogger::getInstance()->log("Setup FrameProcessing Idle");
desktopWindow = GetDesktopWindow();
FPScreenMirror::setCaptureWindow(desktopWindow);
FPScreenMirror::setOffset(RECT{ 100, 200, 100, 0 });
FPScreenMirror::setUIDimensions(209, 287... | [
"ben@egner.it"
] | ben@egner.it |
1ae5d622751dacbd34ca9053d5e2f957062e91ea | 1d1790e544ce2764b57015551bc8ce3822af43e3 | /main.cpp | 64e8f493671761c75ff17b7922278f1717a62724 | [] | no_license | AhmedSakrr/ReinDamit | bbc10ca89d33a90b352ead3114ab7745b9e2798f | 6645d749101032142d258b3beb2a59f77dbdaba6 | refs/heads/master | 2022-03-24T04:53:25.685114 | 2019-12-22T17:48:51 | 2019-12-22T17:48:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,443 | cpp | #include "rein.h"
#include <fstream>
#include <iostream>
int inject(HWND parent, char* file[], char* proc[]);
char szDllFile[300];
char szProc[100];
LRESULT CALLBACK MessageHandler(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam) {
switch (uMsg) {
case WM_CLOSE:
case WM_DESTROY:
PostQuitMessage(0);
return... | [
"Erarnitox@gmail.com"
] | Erarnitox@gmail.com |
e8825f57421b101fc71981fb83866927132c665a | 31d51c412a99ecbc3e0e191c402cca3e858142bf | /computeCTR.cpp | 29ccd9044dbc8300dd883e66291e284bacc5ad44 | [] | no_license | marcopizzichemi/Macros | 985579b70f88af99d56d187147936d7f872988b2 | 45e3a8d6b98b24ec071a56b0ead5a0ae6b3fa358 | refs/heads/master | 2020-04-15T14:28:41.910391 | 2018-10-15T09:24:20 | 2018-10-15T09:24:20 | 44,091,951 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,946 | cpp | // compile with
// g++ -o ../build/computeCTR computeCTR.cpp `root-config --cflags --glibs` -Wl,--no-as-needed -lHist -lCore -lMathCore -lTree -lTreePlayer
// small program to extract timing calibration and data
#include "TROOT.h"
#include "TFile.h"
#include "TStyle.h"
#include "TSystem.h"
#include "TLegend.h"
#inclu... | [
"marco.pizzichemi@gmail.com"
] | marco.pizzichemi@gmail.com |
557da4f03d8eb74eb3ed12c917675f6b6d2d67e1 | b88e2623de02f197ff72cc4e92fd9d970afbfa52 | /src/integrate.cpp | bc06185a1eac986723b20e93df795c421daefb92 | [] | no_license | hoergems/openrave_interface | dc4e9fa95671c5d5c03c1f2a8b16ada707d8810a | ec6828873cfc2a8e3896cf9a6041708a92201f65 | refs/heads/master | 2021-01-10T10:01:25.854816 | 2016-04-11T04:50:25 | 2016-04-11T04:50:25 | 51,899,580 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,365 | cpp | #include "include/integrate.hpp"
using namespace boost::numeric::odeint;
using std::endl;
using std::cout;
namespace shared{
template<class T>
struct VecToList
{
static PyObject* convert(const std::vector<T>& vec)
{
boost::python::list* l = new boost::python::list();
for(size_t i = 0; i < vec... | [
"hoergems@gmail.com"
] | hoergems@gmail.com |
d46f0c0bc08b50b3db3fcb40ae0deaec13126cf2 | dc7d429b74a6be2b411cea21ba06ca5bfcaf0f88 | /atlantis_fw/AsicFwS2/include/matrix.h | b3e5a12dea672c229d6f9c1733286e41c671b345 | [] | no_license | hoantien/Light_code | 620b458dace18f749d068e3d74303dd6875b2ca8 | 9b83bbb88c1c403d73c7c45c44389c006fe0d0e6 | refs/heads/master | 2020-03-08T10:25:30.436400 | 2018-04-04T15:10:58 | 2018-04-04T15:10:58 | 128,072,987 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 44,545 | h | // we want to have support for the following:
// matrix3x3f, matrix4x4f, vec2f, vec3f, vec4f
// plus, minus, multiplication, inverse, transpose
#ifndef __MATRIX_H__
#define __MATRIX_H__
#ifdef __cplusplus
#include <cstdlib>
#include <algorithm> // has compile problem...
#include <cmath>
namespace ltaf { // lt auto ... | [
"hoantien05@gmail.com"
] | hoantien05@gmail.com |
c5cc430f2e366a55b2f079d5cabf40b3009b8395 | 58b589be581ab55e26b5dd600c89184c849f59d7 | /src/apps/snakegame/GameMenuRenderer.cpp | 71c02ea2f3870ab46187a48cececd9c1c35d7af4 | [
"MIT"
] | permissive | kosua20/Rendu | 02a0b9b39997b03f9c05138749f1f9bed0f223d9 | 6dd327cec52819ee0d04a4d8e8270dbe0a27b194 | refs/heads/master | 2023-08-31T17:11:39.583115 | 2023-07-09T20:58:17 | 2023-07-09T20:58:17 | 58,236,869 | 456 | 32 | null | null | null | null | UTF-8 | C++ | false | false | 4,771 | cpp |
#include "GameMenuRenderer.hpp"
#include "resources/ResourcesManager.hpp"
#include "graphics/GPU.hpp"
#include "resources/Texture.hpp"
#include "Common.hpp"
GameMenuRenderer::GameMenuRenderer() : Renderer("Menu") {
_buttonProgram = Resources::manager().getProgram("menu_button");
_backgroundProgram = Resources::m... | [
"kosua20@gmail.com"
] | kosua20@gmail.com |
d44e663f52f113a9facff1ab5d2d99ae5ea07514 | 2e1e1555dc6bcf2eb267d41c40bc4d3e56596bae | /sippet/message/headers/alert_info.h | 89face28b8f61c738c197c868c93c116c027f77e | [
"LicenseRef-scancode-warranty-disclaimer",
"BSD-3-Clause"
] | permissive | Jenuce/sippet | a57370998769329b6c60fb9c0526e23d87fe1d9d | c6f4b0e9723f56cfb6d345d307a48f1ff0eb2c65 | refs/heads/master | 2020-12-11T01:41:38.150948 | 2015-10-07T11:58:32 | 2015-10-07T11:58:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,483 | h | // Copyright (c) 2013 The Sippet 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 SIPPET_MESSAGE_HEADERS_ALERT_INFO_H_
#define SIPPET_MESSAGE_HEADERS_ALERT_INFO_H_
#include <string>
#include "sippet/message/header.h... | [
"guibv@yahoo.com"
] | guibv@yahoo.com |
e4970481cf9b427d4c34c721edeef44a81e6e6fd | 08c59366b00b1c68ec07d2358e0bbf93be1dba47 | /include/Engine/Util/Condition.h | e43e4ee9d590a0b71154ceaa3d9f0c9930dd4d0a | [] | no_license | minad/isometric | 835c9ba5bbedaa029706a86d7f806813075590c8 | 382d9c30c6714b3fc65e7e3eca936892997c94fa | refs/heads/master | 2023-08-22T17:50:43.961618 | 2017-03-07T00:32:34 | 2017-03-07T00:32:34 | 84,135,423 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 807 | h | #ifndef _Engine_Util_Condition_h
#define _Engine_Util_Condition_h
#include "Engine/Util/Mutex.h"
#include "SDLWrapper.h"
namespace Engine {
namespace Util {
class Condition
{
public:
Condition()
{
cond = SDL::createCond();
}
~Condition()
{
SDL::destroyCond(cond);
}
void... | [
"mail@daniel-mendler.de"
] | mail@daniel-mendler.de |
0a7ac693707721a5311e4dcea7a46179be1bf6e8 | 98b6c7cedf3ab2b09f16b854b70741475e07ab64 | /www.cplusplus.com-20180131/reference/type_traits/is_nothrow_default_constructible/is_nothrow_default_constructible.cpp | 9a4ec4031bd631d82a08e277d0878224a16789ee | [] | no_license | yull2310/book-code | 71ef42766acb81dde89ce4ae4eb13d1d61b20c65 | 86a3e5bddbc845f33c5f163c44e74966b8bfdde6 | refs/heads/master | 2023-03-17T16:35:40.741611 | 2019-03-05T08:38:51 | 2019-03-05T08:38:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 625 | cpp | // is_nothrow_default_constructible example
#include <iostream>
#include <type_traits>
struct A { };
struct B { B(){} };
struct C { C() noexcept {} };
int main() {
std::cout << std::boolalpha;
std::cout << "is_nothrow_default_constructible:" << std::endl;
std::cout << "int: " << std::is_nothrow_default_construc... | [
"zhongtao.chen@yourun.com"
] | zhongtao.chen@yourun.com |
2753aa7039c676ea3316969c4601c3b43f20824f | b25795509f9545ea6b9f947492b39e518add0396 | /ACM/南工大ACM-回溯法/0-1背包.cpp | ca938e4cc520f027c6dcf29a0a16bd5fa84a887e | [] | no_license | Autokaka/C-Single-Ranking | 370e09a5d96212dc0fdef71b4cfe2bd6389c5e22 | 111808c552ee81a6109406e770970560501cea79 | refs/heads/master | 2022-01-11T09:43:02.585962 | 2019-07-15T04:48:12 | 2019-07-15T04:48:12 | 176,041,920 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,123 | cpp | #include <bits/stdc++.h>
using namespace std;
#define rep(x, y, z) for(int (x) = (y); (x) < (z); (x)++)
#define N 15
int x[N], ret[N], n, W, cur = 0, ans = 0, ans1 = 0, rest;//x[i] = 0不取第i个物品; x[i] = 1取. cur当前背包已存放物品的重量; rest没有考虑的物品的价值总量
struct node
{
int weight, value;
} goods[N];
void dfs(int dep)
{
int i;
if ... | [
"qq1909698494@gmail.com"
] | qq1909698494@gmail.com |
ecc1699e5d4b59edeed938e7410cd622e504745a | 82730ea9d814a8478a674c563b256fcfb8f07b4f | /BorderGen/ClosureDetDlg.h | 663294d6583db56249c780e1a2108683fabf552f | [] | no_license | zjustarstar/BorderGen | 7d7fa9d9a72302e3836e5c9d556638009370d718 | f0ca5ec13ec21a5bb70faed118ac525c5b61702b | refs/heads/master | 2021-07-16T07:14:33.817142 | 2020-06-11T10:06:07 | 2020-06-11T10:06:07 | 175,133,493 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 809 | h | #pragma once
#include <opencv2\opencv.hpp>
using namespace std;
using namespace cv;
// CClosureDetDlg 对话框
class CClosureDetDlg : public CDialogEx
{
DECLARE_DYNAMIC(CClosureDetDlg)
public:
CClosureDetDlg(CWnd* pParent = NULL); // 标准构造函数
virtual ~CClosureDetDlg();
// 对话框数据
#ifdef AFX_DESIGN_TIME
enum { IDD = ID... | [
"philous@163.com"
] | philous@163.com |
04cdea0a0756db0d76285001781246c7dafe7f90 | b2949ea1148236fefd080212431d599ba63cca53 | /Fireworks/src/Platform/OpenGL/OpenGLShader.cpp | 2cf015bfe49778b4eb76c191ea52223d5ca3e4f4 | [
"Apache-2.0"
] | permissive | chris-luafau/Fireworks | 640d96e4c000e6ac028dea6a64845c8ed4f77d23 | 9572f7cf464036e7488a088d352c7f41d8b5b6a6 | refs/heads/main | 2023-02-06T19:46:47.355615 | 2020-12-23T20:32:52 | 2020-12-23T20:32:52 | 306,455,381 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,463 | cpp | #include "fzpch.h"
#include "OpenGLShader.h"
#include "glad/glad.h"
#include <glm/gtc/type_ptr.hpp> // value_ptr()
namespace Fireworks {
OpenGLShader::OpenGLShader(const std::string& vertexSrc, const std::string& fragmentSrc) {
// Create an empty vertex shader handle
GLuint vertexShader = glCreateShader(GL_VER... | [
"31860645+chris-luafau@users.noreply.github.com"
] | 31860645+chris-luafau@users.noreply.github.com |
4b5e4058126991b9975f3af40e34e850d2fd8c36 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5669245564223488_0/C++/abczz/B.cpp | 6f7c2214b6ccde059841bd8bb74b32d2c7915c06 | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 2,537 | cpp | #include <functional>
#include <algorithm>
#include <stdexcept>
#include <iostream>
#include <sstream>
#include <fstream>
#include <numeric>
#include <iomanip>
#include <utility>
#include <cstdlib>
#include <cstring>
#include <cassert>
#include <cctype>
#include <cstdio>
#include <vector>
#include <string>
#include <bi... | [
"eewestman@gmail.com"
] | eewestman@gmail.com |
2ce9a3be1b048aa2c0b4f4504180a59a0356f9c7 | 6ee6cc888f0a82e36fd1687fed4a109f0cb800a7 | /leetcode/312.cpp | 195c70c9678f41e36df09fccb7d011a52a8c4a1a | [] | no_license | Rayleigh0328/OJ | 1977e3dfc05f96437749b6259eda4d13133d2c87 | 3d7caaf356c69868a2f4359377ec75e15dafb4c3 | refs/heads/master | 2021-01-21T04:32:03.645841 | 2019-12-01T06:33:44 | 2019-12-01T06:33:44 | 49,385,474 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 897 | cpp | class Solution {
public:
int maxCoins(vector<int>& nums)
{
int n = nums.size()+2;
int* p = new int [n];
p[0] = p[n-1] = 1;
for (int i=1;i<n-1;++i)
p[i] = nums[i-1];
int** f = new int* [n];
for (int i=0;i<n;++i)
f[i] = new int [n];... | [
"j4bian@uwaterloo.ca"
] | j4bian@uwaterloo.ca |
22d7eed253cd5a670aec56782e13b3ada7852694 | ba316d9b90e0078275891ed0b9be7f7fd55fb6f8 | /test/work_queue_for_tests_schedule_work.cpp | e3eeb84c902ab749206a7be7a5ec494892464c47 | [] | no_license | o-peregudov/mqmx | 32a706a5eb8c733735a1cc4744b2973fd07676aa | f462bfe465310948dc7263f82a7af0b300969adb | refs/heads/master | 2021-01-16T23:52:33.847232 | 2016-10-12T18:08:29 | 2016-10-12T18:08:29 | 59,597,636 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,221 | cpp | #include "mqmx/testing/work_queue_for_tests.h"
#include "test/FakeIt/single_header/standalone/fakeit.hpp"
#undef NDEBUG
#include <cassert>
struct work_interface
{
virtual bool do_something (const mqmx::work_queue::work_id_type) = 0;
virtual ~work_interface () { }
};
int main ()
{
using namespace mqmx;
... | [
"o.peregudov@gmail.com"
] | o.peregudov@gmail.com |
6e92622216710e1a5917261c8daace1f6f9838de | be04d41cc516caec667467787a238e1463b815eb | /src/py/wrapper_b1580b6f5457571a867a2347d7b1f865.cpp | 72548ee8b932fde1b82a00264b253bc6ca6d84e3 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | nikhilkalige/ClangLite | 9f0db6088dee83f89996d4c01da9979c39b3862c | dcb6d7385cca25c0a888bb56ae3ec1eb951cd752 | refs/heads/master | 2020-04-21T23:48:28.409657 | 2019-02-20T08:14:21 | 2019-02-20T08:14:21 | 169,958,200 | 0 | 0 | Apache-2.0 | 2019-02-10T08:37:14 | 2019-02-10T08:37:14 | null | UTF-8 | C++ | false | false | 1,342 | cpp | #include "_clanglite.h"
bool (::clang::FileID::*method_pointer_a2de043c5e1b5973bd96085e9ca023a7)()const= &::clang::FileID::isValid;
bool (::clang::FileID::*method_pointer_8bf8694510d856cf9efe8860ebb4a64f)()const= &::clang::FileID::isInvalid;
class ::clang::FileID (*method_pointer_aab4faec1936510eb177541ad22621a6)()... | [
"pfernique@gmail.com"
] | pfernique@gmail.com |
0f446c6d77dcbbf94a6e55e8e1adf037327c7c70 | b367fe5f0c2c50846b002b59472c50453e1629bc | /xbox_leak_may_2020/xbox trunk/xbox/private/test/multimedia/dsptest/dsptest.h | 779ce35042fe33d41157071fc9d92b3b92ce0853 | [] | no_license | sgzwiz/xbox_leak_may_2020 | 11b441502a659c8da8a1aa199f89f6236dd59325 | fd00b4b3b2abb1ea6ef9ac64b755419741a3af00 | refs/heads/master | 2022-12-23T16:14:54.706755 | 2020-09-27T18:24:48 | 2020-09-27T18:24:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,901 | h |
#ifndef _DSPTEST_H_
#define _DSPTEST_H_
#define MAX_FREQUENCY_BINS 512
#define M_PI 3.14159265358979323846
typedef enum {
DRAW_SPECTRUM = 0,
DRAW_CYCLES,
MAX_SCREENS
} SCREENS;
//
// defines that control what the app does
//
//#define SRC_TEST 1
//#define BREAK_ON_START
#define ... | [
"benjamin.barratt@icloud.com"
] | benjamin.barratt@icloud.com |
9b107b720ce498f461da5503e16338990f8c1d76 | 3239d1f0223da3bf99305a9cec6733555171abf5 | /MV200/Parameter.h | bc34a02824ac5a7b0f57b910a3287c8401150eda | [] | no_license | qq77457051/crpAlynasis | 5f757e2ff53fe957a2aa9e3ba087a6f2d1086e8c | 6f4036464eb2006d2e1b70d7152d619146d1280a | refs/heads/master | 2023-03-20T10:35:50.334423 | 2017-10-27T10:27:44 | 2017-10-27T10:27:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,285 | h | #ifndef GPARAMETER_H
#define GPARAMETER_H
#include <QObject>
#include <QVector>
#include <QMapIterator>
#include "ParamDefine.h"
#include "Object/SQLite/sqlite.h"
//常规项目 结构体保存各个项目的参数(包括Logic5P、项目其他参数)
struct ProjectParamS
{
bool isDiluentPorj; //是否为稀释项目(0:非稀释项目,1:稀释项目)
QString Param_unit; //项目单位 ... | [
"474007782@qq.com"
] | 474007782@qq.com |
116a5e0a1205c2e5317e100651c1acfd4541c6f1 | 458414e3ea47a784759a7e2c3c37c97b098baf14 | /main/cppsrc/MyQRectF.cpp | 66ec483538152f44ae3508626cbc51eebd591f53 | [] | no_license | blazern/kovtun-method | 24fab1eee4a027cc2cde66ea6c238963f828d647 | e1d027d445b66c924262c6dea4e676863b3c4775 | refs/heads/master | 2021-01-15T23:07:28.913847 | 2014-02-28T16:41:31 | 2014-02-28T16:41:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,228 | cpp | #include "MyQRectF.h"
#include <QDebug>
namespace KovtunMethod
{
MyQRectF::MyQRectF(const MyQRectF & other) :
QRectF(other),
name(other.name),
neighbors(other.neighbors),
color(other.color),
colorInitialized(other.colorInitialized),
parentsGravityCenter(copy(other.parentsGravityCenter)),
g... | [
"blazer007@yandex.ru"
] | blazer007@yandex.ru |
cb6718207f0cb5981a7bc4830508bdf8a7498b62 | 9a6d2520a0fe4f045d14ac5d3d8d93311229ba3a | /monthlypaid.cpp | 4088102f7f14c0c646637d2473921687a532f482 | [] | no_license | brijal08/personnelManagment | 09ee83d9bd8479886c72fb8b00930caaff405f53 | 6a491df7a48987c3306faa39b63d2a3732dbeea9 | refs/heads/main | 2023-04-22T09:44:51.167654 | 2021-05-09T15:38:45 | 2021-05-09T15:38:45 | 365,787,037 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,901 | cpp | #include "monthlypaid.h"
#include <QDebug>
MonthlyPaid::MonthlyPaid(QObject *parent) : EmployeeDetails(parent)
{
}
MonthlyPaid::~MonthlyPaid()
{
this->clearSalaryList();
}
int MonthlyPaid::getEmployeeType()
{
return this->enEmployeType;
}
void MonthlyPaid::setEmployeeType(int pEmployeeType)
{
this->enE... | [
"noreply@github.com"
] | brijal08.noreply@github.com |
ff6e58a9ce1bc8232cfafa3d924e2185ad3ccc36 | 08307bdd77ea10309b496c676f14ff492f380177 | /InstantMessaging/InstantMessagingDlg.h | 1e5865dd3ad522eb976bb9b9193934348a6688f2 | [] | no_license | asdlei99/InstantMessaging | 78a38e6155345ff994d4d39ef85ecfc2a77641af | 079d3912b87150bd42a591f12d9606b3b96064ab | refs/heads/master | 2020-12-11T09:55:48.393995 | 2018-02-27T14:26:11 | 2018-02-27T14:26:11 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 9,925 | h | // InstantMessagingDlg.h : header file
//
#if !defined(AFX_INSTANTMESSAGINGDLG_H__7D41D06C_C73A_4AE1_9284_440FC1479084__INCLUDED_)
#define AFX_INSTANTMESSAGINGDLG_H__7D41D06C_C73A_4AE1_9284_440FC1479084__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
////////////////////////////////////////////... | [
"1369212327@qq.com"
] | 1369212327@qq.com |
fe6353ff743799cdd644a9c1cc6f39cbb5e0fbbe | 3326db8648ecd23fabebbdece3a0db662b409664 | /Codeforces/Educational Round 49/A.cpp | 906f0790418872d43d80038d480cb14e4b4c5038 | [] | no_license | fazlerahmanejazi/Competitive-Programming | 96b9e934a72a978a9cae69ae50dd02ee84b6ca87 | 796021cdc7196d84976ee7c9e565c9e7feefce09 | refs/heads/master | 2021-11-10T08:23:31.128762 | 2019-12-24T22:11:12 | 2019-12-24T22:11:12 | 117,171,389 | 3 | 1 | null | 2021-10-30T20:31:10 | 2018-01-12T00:39:16 | C++ | UTF-8 | C++ | false | false | 976 | cpp | #include <bits/stdc++.h>
using namespace std ;
#define inf 0x3f3f3f3f
#define INF 1000111000111000111LL
#define mod 1000000007
#define pi acos(-1.0)
#define eps 1e-8
#define endl '\n'
#define mp make_pair
#define mt make_tuple
#define pb push_back
#define fi first
#define se second
#define all(cc) (cc).b... | [
"ahmed.belal98@gmail.com"
] | ahmed.belal98@gmail.com |
672b3aea545f807138cbafb94d0205c016eab6a1 | 444a6f3fb2c9d9dc042ffd54838bc3dc172ec531 | /src/include/units/physical/si/electric_charge.h | 1bdc153b26fcef4ffd43530d72c625c06a2cfbe8 | [
"MIT"
] | permissive | rtobar/units | ef5a86bdb73c896eac92698d9a8386e11c6dfe48 | 5dd9eaac87a50adc62b170987ebac2d1344d63c5 | refs/heads/master | 2022-09-11T17:37:57.868428 | 2020-05-24T20:49:53 | 2020-05-24T20:49:53 | 266,679,421 | 1 | 0 | MIT | 2020-05-25T04:03:18 | 2020-05-25T04:03:18 | null | UTF-8 | C++ | false | false | 1,913 | h | // The MIT License (MIT)
//
// Copyright (c) 2018 Mateusz Pusz
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, co... | [
"mateusz.pusz@gmail.com"
] | mateusz.pusz@gmail.com |
5b20e8122fad1449a590077b796fe76ce3aa6b28 | d3f69957671777e6a8b2b12e87c80a85068109c5 | /sfz/sfz.cpp | 70c21fad999e002f1e71403fc66b450cdb6a55c1 | [] | no_license | lilslsls/sfz | 0e1afa246d88ae78b90f153d8d4b10f62e36151e | 2012d5a6146fc82dad586e8b68674d3370e9eb70 | refs/heads/master | 2021-01-24T18:06:26.916234 | 2017-03-08T05:40:33 | 2017-03-08T05:40:33 | 84,396,277 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 9,992 | cpp |
//--------------------------------------【程序说明】------------------------------------------ -
//程序说明:《OpenCV3编程入门》OpenC3版书本配套示例程序70
//程序描述:查找并绘制轮廓综合示例
//开发测试所用操作系统: Windows 7 64bit
//开发测试所用IDE版本:Visual Studio 2010
//开发测试所用OpenCV版本: 3.0 beta
//2014年11月 Created by @浅墨_毛星云
//2014年12月 Revised by @浅墨_毛星云
//-------------------... | [
"李爽@DESKTOP-R1CM8GA"
] | 李爽@DESKTOP-R1CM8GA |
4aca26ae8468dc3f191cf9ea0d1ab3e426166e0c | 5e3e50634c2cac6f85ff4f8c9ae385a62d2886d0 | /white/equation/main.cpp | b47578e60797c0fef547b404c75f2b6c5a84abb3 | [] | no_license | asek-ll/cpp-belt | 642ffe84c932c6684a5e355eacac68f580351a44 | 86d010c1421ab093d56e3c7a688181d883401662 | refs/heads/master | 2023-04-07T18:36:13.330862 | 2023-04-03T19:49:18 | 2023-04-03T19:49:18 | 205,446,333 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 502 | cpp | #include <iostream>
#include <cmath>
using namespace std;
int main()
{
double a, b, c;
cin >> a >> b >> c;
if (a == 0.0) {
if (b != 0.0) {
cout << -c/b;
}
} else {
double d = b*b - 4 * a * c;
if (d == 0.0) {
cout << (-b / (2 * a));
} i... | [
"sopplet@gmail.com"
] | sopplet@gmail.com |
2da06283e4a66d38bc3e37bd49a43ef923b642ce | dd6147bf9433298a64bbceb7fdccaa4cc477fba6 | /8304/Butko_Artem/lab6/SOURCE/Game/GameField/Field/Field.cpp | a545d111977075529f275ae55c9016314d1b5cfa | [] | no_license | moevm/oop | 64a89677879341a3e8e91ba6d719ab598dcabb49 | faffa7e14003b13c658ccf8853d6189b51ee30e6 | refs/heads/master | 2023-03-16T15:48:35.226647 | 2020-06-08T16:16:31 | 2020-06-08T16:16:31 | 85,785,460 | 42 | 304 | null | 2023-03-06T23:46:08 | 2017-03-22T04:37:01 | C++ | UTF-8 | C++ | false | false | 16,198 | cpp | //
// Created by Artem Butko on 14/05/2020.
//
#include "Field.h"
Field::Field(int height, int width, int numberOfPlayers)
{
this->height = height;
this->width = width;
this->objCount = 0;
this->objLimit = width * height;
this->numberOfPlayers = numberOfPlayers;
basesOnField.resize(numberOfPla... | [
"artembutko2000@yandex.com"
] | artembutko2000@yandex.com |
3b089921a49480a1e3e52cfe0a9ad5b213540f2b | 4d803e91a03b7e45b46274c8ab06f21fc27b995b | /lab07/lab07.cpp | 2c1667f31b8131cd61303e50958ecd8070aacf13 | [] | no_license | faisal07m/mp | a2218916566502a251821050dcc207a5eaa4d4cd | e6f3153cabeb450d9658ea3ec9feda8f6dcf3c10 | refs/heads/master | 2020-04-08T04:21:48.864140 | 2020-02-16T22:31:47 | 2020-02-16T22:31:47 | 159,013,287 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,779 | cpp |
/* n = 3000, threads = 40 time in seconds
-------------------------------------------------------------------------------------------------------------------------------------------
Chunk | Default | 2 | 8 | 32 | 128 | Single Thread (default Chunk)
Static (Gau... | [
"faisalm@ln-0002.cm.cluster"
] | faisalm@ln-0002.cm.cluster |
0cb062b229fe2902e6297e4832ca5cd6ebc8223e | d0fb46aecc3b69983e7f6244331a81dff42d9595 | /edas/include/alibabacloud/edas/model/ListServiceGroupsRequest.h | fd25bd1901d2f7fcf3db366d4a6659692128b2ff | [
"Apache-2.0"
] | permissive | aliyun/aliyun-openapi-cpp-sdk | 3d8d051d44ad00753a429817dd03957614c0c66a | e862bd03c844bcb7ccaa90571bceaa2802c7f135 | refs/heads/master | 2023-08-29T11:54:00.525102 | 2023-08-29T03:32:48 | 2023-08-29T03:32:48 | 115,379,460 | 104 | 82 | NOASSERTION | 2023-09-14T06:13:33 | 2017-12-26T02:53:27 | C++ | UTF-8 | C++ | false | false | 1,212 | h | /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | [
"sdk-team@alibabacloud.com"
] | sdk-team@alibabacloud.com |
47ef14e6431fd96c303f2e6623a3bd47aa2d5b03 | 74ac82edc17b8b9a026d23f669bdbaf9ddb8c9a0 | /projects/lib/LC3/LC3MachineFunctionInfo.cpp | 1386241e5fe8d1fb9169ed1c614ef943b8c2cc23 | [] | no_license | FeifeiWang7/ECE566 | f53022680f315aba991748b7e15711afde971605 | 31305c20ad4fcd8fb2f528b5c12a7ef86f9072a4 | refs/heads/master | 2021-01-23T09:27:17.177952 | 2015-09-16T01:47:17 | 2015-09-16T01:47:17 | 27,697,803 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 440 | cpp | //===-- LC3MachineFunctionInfo.cpp - LC3 Machine Function Info --------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-----------------------------------------------------------... | [
"fwang12@ncsu.edu"
] | fwang12@ncsu.edu |
33cbc75e975bd1ede1c5a115f0101891ed826b37 | 9506a40845f40f9f79e20ac87191c5b0d1ef6d7c | /contests/round655/c.cpp | cefcce5dafe3cbd246d6f1f51539eddc27613891 | [] | no_license | anish-rajan/Cp-algos | 9ab16374a154fe9598a49405d1a2b3bf10013320 | 9bcb7264769536cc4ff877a3b6d2f156fddee50a | refs/heads/master | 2022-12-14T09:44:31.960833 | 2020-09-10T12:01:14 | 2020-09-10T12:01:14 | 265,180,210 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,774 | cpp | #include <iostream>
#include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
typedef long double ld;
#define mp make_pair
#define v vector
#define inp_push(no, v) \
ll no; \
cin >> no; \
v.push_back(no);
#define pb push_back
#define fi first
#define se second
#define ALL... | [
"anishrajan2000@gmail.com"
] | anishrajan2000@gmail.com |
80d6498db105251b6c16dbffc11e9135f25ff81c | acae90de027aff37db6edd18cdae5a602e57dd2f | /chapter7_01/calc_info.cpp | 013c6d612efefeb5419d711822045b19df698856 | [] | no_license | koo-mingi/C-chapter7- | a0f78964dcee9d18dfe7c96a72f0e6ef9d6753d9 | a44b29bbb53a8a72c31c838b5f63b912c31143a6 | refs/heads/master | 2022-09-27T08:45:46.673871 | 2020-06-05T03:39:36 | 2020-06-05T03:39:36 | 269,523,651 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 698 | cpp | #include "weightmanage.h"
void weight::calc_info(char *irum, int gender)
{
// 배열에 값을 담을려면 strcpy_s를 사용. "="는 못 씀.
// strcpy_s(배열,포인터);
strcpy_s(customer_irum, irum);
strcpy_s(customer_irum, irum);
this->gender = gender;
}
void weight::calc_stweight(int h, int w)
{
customer_height = h;
customer_weight = w;
... | [
"ekzmfldks295@gmail.com"
] | ekzmfldks295@gmail.com |
e5c657bf9568b89e3d9fef6567b8d99098b952db | 6d241b3146ecb542bc0cc469777c2175e2a341e5 | /344A.cpp | f7eec66a7d471be3d28685f7a7acd1ae01e0c5ee | [] | no_license | jagadeeshnelaturu/codeforces_solutions | d0a84f4c6e3ce94b6c8ee48b5139e4b5352eb902 | 9e058517d86d05b4770bfa1a4b2269edf796acac | refs/heads/master | 2020-05-17T16:24:01.504974 | 2015-09-09T17:35:15 | 2015-09-09T17:35:15 | 42,130,641 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 340 | cpp | #include <iostream>
int main() {
int n;
std::cin >> n;
char left, right, rightmost = '$'; // dummy value of rightmost
int numGroups = 0;
for(int i = 0; i < n; ++i) {
std::cin >> left >> right;
if((i == 0) || (left == rightmost)) {
++numGroups;
rightmost = right;
}
}
std::cout << n... | [
"jagadeesh@nsl-43.cse.iitb.ac.in"
] | jagadeesh@nsl-43.cse.iitb.ac.in |
1fdf60a2b2b78e50b221564b50e78b92718126b7 | d657d42eba1a5cf80f39719859cb6944e28f0aa0 | /Exercícios Aulas Práticas Resolvidos/Exercicios Vetores Saul Delabrida/17.cpp | eebd45409570c0eba188a3e3be99658a787fae8a | [] | no_license | fonte-nele/BCC201-Introducao-Programacao | ef6b700f2caea2806d57901d9eace1fac85d29a5 | 18383ae82b49595c25add46bfa2e8fcef83afdf1 | refs/heads/master | 2020-06-08T16:17:37.457370 | 2019-06-22T17:29:53 | 2019-06-22T17:29:53 | 193,261,398 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 243 | cpp | #include <iostream>
using namespace std;
int main()
{
int i;
int v[50]; v[1]=v[0]=1;
for (i=2; i< 50; i++)
{
v[i] = v[i-1] + v[i-2];
}
cout<<"A serie de Fibonacci eh:\n";
for (i=0; i<50; i++)
{
cout << v[i] <<endl;
}
return 0;
}
| [
"felipephontinelly@hotmail.com"
] | felipephontinelly@hotmail.com |
67a969aa49492048d27fbc99bacc714227a8619c | 80d2e21257efa70c9bdb88589a9a013a82367f7c | /Fraudulent Activity Notifications.cpp | 79326013a26c09b932578bbe6820dfbed7826756 | [] | no_license | saiful130104/Hackerrank | bd7c299296642a10d85f52edd0db5f99f25149b7 | 7e4537a3df89b42586e13423e849eaed4419db0f | refs/heads/master | 2020-05-18T19:33:36.109240 | 2019-08-22T05:45:02 | 2019-08-22T05:45:02 | 184,610,884 | 0 | 1 | null | 2020-04-10T20:50:39 | 2019-05-02T16:01:10 | C++ | UTF-8 | C++ | false | false | 1,385 | cpp | #include <bits/stdc++.h>
using namespace std;
int main()
{
int n,day;
cin>>n>>day;
int cnt[202] , ara[n+2];
memset(cnt,0,sizeof(cnt));
int sum = 0;
for(int i=1; i<=day; i++)
{
cin>>ara[i];
cnt[ara[i]]++;
}
for(int i=day+1; i<=n; i++)
{
cin>>ara[i];
... | [
"isaifulislam123@yahoo.com"
] | isaifulislam123@yahoo.com |
8306a73ed42a389cfbd021e19b056d694cf76f40 | ef9448d45c18c6e7187afe54c85b0727c701819d | /src/maze/cellborder.cpp | d7d5078133ad007e6fdeae495b7bc9ffb65bdc8e | [
"MIT"
] | permissive | cleojon/mazegenerator | f398e250c8999dbd81b24aabf14e4794a3d0b562 | cb0cbfab43d7a04c22589a5fb911f671e4dae18c | refs/heads/master | 2022-12-03T10:27:57.095244 | 2020-08-18T16:47:04 | 2020-08-18T16:47:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,904 | cpp | #include "cellborder.h"
#include <cmath>
#include <tuple>
LineBorder::LineBorder(double x1, double y1, double x2, double y2)
: x1_(x1), y1_(y1), x2_(x2), y2_(y2) {}
LineBorder::LineBorder(std::tuple<double, double, double, double> xy) {
std::tie(x1_, y1_, x2_, y2_) = xy;
}
std::string LineBorder::GnuplotPrintS... | [
"razimantv@gmail.com"
] | razimantv@gmail.com |
3492f9ffeace7cc3ccc67a09fce32a5fa7307373 | 8535f518a05f5267671cc3547048c42278e2e6af | /Vehicle.cpp | f500fa42b62b06d15f257818f337110aca1f92e8 | [] | no_license | cgprats/COP3503_Lab01 | 7163c58251958aed81d127e6573e9505571dbc7e | ccb62d9dd77a88d7f7d14067e41bb3a08186eb2e | refs/heads/master | 2022-12-15T22:40:05.952068 | 2020-03-30T22:54:13 | 2020-03-30T22:54:13 | 297,393,172 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 830 | cpp | #include "Vehicle.h"
#include <iostream>
#include <string>
#include <vector>
using namespace std;
Vehicle::Vehicle() {
_make = "COP3503";
_model = "Rust Bucket";
_year = 1900;
_price = 0;
_mileage = 0;
/*this->make = _make;
this->model = _model;
this->year = _year;
this->price = _price;
this->mileage = _milea... | [
"christopher@noreply.example.com"
] | christopher@noreply.example.com |
22dfa14883ee8f747dafc1797175a9d206f7c7eb | 21022df6d610b7dcdda8ee5d67c21bda0a7706c8 | /C++/insertion_sort.cpp | 7fa999fbafac69735e79b5796957483cfd332cd9 | [] | no_license | EdPom/practicing_algorithm | f28417b2686d052f76c9fc161837b25799980283 | c06e88c22ac2f7257b5e87844bd930456e14e0bc | refs/heads/master | 2021-01-22T05:43:10.592854 | 2012-03-03T05:32:30 | 2012-03-03T05:32:30 | 2,901,408 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 955 | cpp | // Name : Insertion Sort
// Dependency : vector
// Requirement : operator > defined for members in vvector
#include <iostream>
#include <vector>
using namespace std;
template <class T>
void insertion_sort(vector<T>& array){
if(array.size() < 2){
return;
}
for(int i = 1; i < array.size();... | [
"shiveringpen@gmail.com"
] | shiveringpen@gmail.com |
2d0dff031a598a3f8d4b3832c7565a959911bfc9 | d29633365ed7e99dfd6413bb126a9cb5d6edd832 | /SolidSphere.h | ad799515fbda5936485255e9d35e2082ad7e136d | [] | no_license | benjaminjoo/3D-Software-Rasterizer | 440e8ff9148fc1427b9ca48de66a34096b1d19ad | a0acba3ec00ac4b4020f9fb3bd9fe54c58cda692 | refs/heads/master | 2020-07-31T15:24:20.276260 | 2020-04-13T23:16:30 | 2020-04-13T23:16:30 | 210,650,527 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 737 | h | #pragma once
#include "Definitions.h"
#include "SolidBody.h"
class SolidSphere: public SolidBody
{
float radius = 0.5f;
float radiusSquared = 0.25f;
int resol = 12;
public:
SolidSphere();
SolidSphere(float, float, float, Uint32);
SolidSphere(float, float, float, float, float, float, float, float, ... | [
"benjamin.joo.sd@gmail.com"
] | benjamin.joo.sd@gmail.com |
e11e3cc9d88766e78dd7f578463636119016474b | 19e3050d541b895728d1abf2488d54a9d07862c1 | /Emu installer/SynthesisDrive/include/wpilibc/athena/include/VictorSP.h | d971fdb93b091ef139ddb6594d876c11c483d622 | [
"Apache-2.0"
] | permissive | colins8/synthesis | fd22490ce244139fb91037472d6153dc1257f7f2 | 6f1a34d583c88492f988ed664b278c466de466bf | refs/heads/master | 2020-03-17T00:43:03.302610 | 2018-05-10T03:38:21 | 2018-05-10T03:38:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 747 | h | /*----------------------------------------------------------------------------*/
/* Copyright (c) 2008-2017 FIRST. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory of... | [
"choquerlauren@gmail.com"
] | choquerlauren@gmail.com |
9eef43a92b711a6dda43239d37eec139e7a101bf | d19c27c64206429c3c412b2c87f5d550efbc6a9b | /src/transform/gcx/buffer.h | 4761c7968cacd96a93c07ac1d9094b9a88e540d8 | [
"BSD-3-Clause"
] | permissive | aep/asgaard-aera | 9823b6334cbccc6bc9072aa72be15d9c4061ed06 | 90b021a1ba65d80f19af1689e7c724631cf05ae9 | refs/heads/master | 2021-01-21T08:01:13.494678 | 2012-05-19T14:59:54 | 2012-05-19T14:59:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,662 | h | /*
| Author: Michael Schmidt;
| Gunnar Jehl (multi-step paths/aggregate functions/optimizations)
===========================================================================
===========================================================================
| Software License Agreement (BSD License)
|
| Copyrig... | [
"aep@localhost.localdomain"
] | aep@localhost.localdomain |
eec49d844d370b8793974216426b137a9809d32d | 91a882547e393d4c4946a6c2c99186b5f72122dd | /Source/XPSP1/NT/shell/themes/themeui/thscheme.h | 4abd5ae8e55a13ccb464e0334f81591be0df2cad | [] | no_license | IAmAnubhavSaini/cryptoAlgorithm-nt5src | 94f9b46f101b983954ac6e453d0cf8d02aa76fc7 | d9e1cdeec650b9d6d3ce63f9f0abe50dabfaf9e2 | refs/heads/master | 2023-09-02T10:14:14.795579 | 2021-11-20T13:47:06 | 2021-11-20T13:47:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,305 | h | /*****************************************************************************\
FILE: thScheme.h
DESCRIPTION:
This is the Autmation Object to theme scheme object. This one will be
a skin.
BryanSt 5/9/2000 (Bryan Starbuck)
Copyright (C) Microsoft Corp 2000-2000. All rights reserved.
\*****... | [
"support@cryptoalgo.cf"
] | support@cryptoalgo.cf |
74e4c678f8240112f3acc4816e96e72686401a18 | 9a3b9d80afd88e1fa9a24303877d6e130ce22702 | /src/Providers/UNIXProviders/QueryStatisticsCollection/tests/QueryStatisticsCollection.Tests/UNIX_QueryStatisticsCollectionFixture.cpp | 71f65e7d314f89635e52b7afddd28a90edb05c5c | [
"MIT"
] | permissive | brunolauze/openpegasus-providers | 3244b76d075bc66a77e4ed135893437a66dd769f | f24c56acab2c4c210a8d165bb499cd1b3a12f222 | refs/heads/master | 2020-04-17T04:27:14.970917 | 2015-01-04T22:08:09 | 2015-01-04T22:08:09 | 19,707,296 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,570 | cpp | //%LICENSE////////////////////////////////////////////////////////////////
//
// Licensed to The Open Group (TOG) under one or more contributor license
// agreements. Refer to the OpenPegasusNOTICE.txt file distributed with
// this work for additional information regarding copyright ownership.
// Each contributor lice... | [
"brunolauze@msn.com"
] | brunolauze@msn.com |
c47cf3333123b3ae84d4216395335b37cc603b99 | 5cace7eef01377e4b661a3fa269e7b882e89a57f | /2DGameEngine/src/rendering/textures/animations/AnimatedTexturedModel.cpp | 7f666577f406f8d10180604a2e91141737afd32c | [
"Apache-2.0"
] | permissive | pbeaulieu26/2DGameEngine | c1d9c864aa5c0f38b368afe84bf8b3c743f13162 | 898a7d92d91cd77b51bf71245e78dcc33e344bc5 | refs/heads/master | 2022-04-03T19:44:05.613892 | 2020-02-16T18:24:10 | 2020-02-16T18:24:10 | 185,702,338 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 52 | cpp | #include "pch.h"
#include "AnimatedTexturedModel.h"
| [
"mathieu.favreau@usherbrooke.ca"
] | mathieu.favreau@usherbrooke.ca |
873b281c5a4b65b454699656027586409eeaeb60 | 96c4826ee0a62e2759f1aa3f9a6721327a126d87 | /self-entertaining/ch3/mix_stream_extraction_operator_and_getline/main.cpp | 58192c53a831b2db9d5eb51d84f024c9a36c1e96 | [] | no_license | simomo/cs106L-course-reader-practice | 4e00e5305fbb38534ffe62670aa0176821948c0f | 233dbbb829ab1036bfdd51224ea315f6fcd0ab36 | refs/heads/master | 2022-03-05T13:40:00.063649 | 2019-09-26T15:48:53 | 2019-09-26T15:48:53 | 114,762,052 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 318 | cpp | #include <fstream>
#include <iostream>
using namespace std;
int main() {
int intValue;
string oneLine;
cout << "Please input a int then a string" << endl;
cin >> intValue;
getline(cin, oneLine);
cout << "OK, got you! The int is " << intValue << ", while the string is " << oneLine << endl;
} | [
"qihangzp@gmail.com"
] | qihangzp@gmail.com |
4f6e20fb67e641a3362ca6ca6cf42c329e745ffc | a8fe43a526965f4ff272eec6baaacb931ee98e80 | /tests/strings.cpp | eff76a1519a43f5702ca7daa3a32811f9992f9ff | [
"MIT"
] | permissive | matusnovak/wrenbind17 | 39b50de9d3fa01724d9c031e70ea23cca3386f53 | 4ae1512bbc7b7ce89e50f7979471a1076643b798 | refs/heads/master | 2023-06-25T03:12:45.094594 | 2023-05-07T16:32:26 | 2023-05-07T16:32:26 | 188,119,425 | 62 | 7 | MIT | 2023-06-14T14:44:17 | 2019-05-22T22:00:01 | C++ | UTF-8 | C++ | false | false | 987 | cpp | #include <catch2/catch.hpp>
#include <wrenbind17/wrenbind17.hpp>
namespace wren = wrenbind17;
TEST_CASE("Char strings as array") {
const std::string code = R"(
class Main {
static main(arg) {
return arg
}
}
)";
wren::VM vm;
vm.runFromSource("... | [
"email@matusnovak.com"
] | email@matusnovak.com |
c17e177880151906c6e8b356edfcf24e9cb5bf6a | 189f52bf5454e724d5acc97a2fa000ea54d0e102 | /ras/weirOverflow/16/alphaPhi | 127f40fe11ac8c74457e651e075a835c3be96035 | [] | no_license | pyotr777/openfoam_samples | 5399721dd2ef57545ffce68215d09c49ebfe749d | 79c70ac5795decff086dd16637d2d063fde6ed0d | refs/heads/master | 2021-01-12T16:52:18.126648 | 2016-11-05T08:30:29 | 2016-11-05T08:30:29 | 71,456,654 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 116,411 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1606+ |
... | [
"peterbryz@yahoo.com"
] | peterbryz@yahoo.com | |
3073dce87a04fd14d3ea820596a4d898cef82ab2 | 1a381f952aaf398c77096f043c316921a390fc81 | /assignment1.cpp | cfd67bd6effd8d5c4748e9e6926a6e1c27e37791 | [] | no_license | elisemayo/CPSC350 | 88f53d2867b0affda57b9947777752b8c5ee9d98 | adeb3546ed8aea44f7684d327953aba817b82995 | refs/heads/master | 2020-07-18T02:07:51.487104 | 2019-12-07T02:46:47 | 2019-12-07T02:46:47 | 206,151,022 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,892 | cpp | /*Author: Elise May
Student ID: 2271041
Email: may137@mail.chapman.edu
CPSC 350-02
Assignment 1
This program calculates basic statistics for a given list of DNA strings.
*/
#include "assignment1.h"
#include <fstream>
#include <string>
#include <iostream>
#include <math.h>
#include <stdlib.h>
... | [
"may137@mail.chapman.edu"
] | may137@mail.chapman.edu |
d440aa2afbf8dce62f7c2d278d3714e8aff5d55e | d389ad009d9c5cd5eb148f27261ab492ca982332 | /TP_GEOM_MODEL_TP1/geom_model/tp_parametrique2/tp_parametrique/src/lib/spline/polygon_grid.cpp | c3b6b50e7f054e59021189ba09b588e5804db67e | [] | no_license | Guillaume0477/3D-Modelisation | 0707f42e9871791def0144d73ae6de354d0aae6c | 8aa529b033a4e37559db95e76e6cd12b49b409d3 | refs/heads/master | 2020-12-30T01:18:26.952071 | 2020-02-06T23:58:39 | 2020-02-06T23:58:39 | 238,809,236 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,751 | cpp | /*
** TP CPE Lyon
** Copyright (C) 2015 Damien Rohmer
**
** This program is free software: you can redistribute it and/or modify
** it under the terms of the GNU General Public License as published by
** the Free Software Foundation, either version 3 of the License, or
** (at your option) any later ve... | [
"guillaumeduret1@gmail.com"
] | guillaumeduret1@gmail.com |
22a710e8c2ed528aa9dce99eb85c5c01936dbe4d | 5d290f3bba4f51f86569580bd1e7b3a16d80a0d8 | /project7/Die.h | cb1c0cf1e144926650b06d5e5e41b5d08e52c967 | [] | no_license | shidoosh/Intro-to-CS-I | 2ce84c56ecca1fc757f6a006712044d979c68d72 | 10675acdd9560b0634b48d4badc5b449cddf67dc | refs/heads/master | 2022-06-08T21:58:43.195576 | 2022-05-20T07:12:21 | 2022-05-20T07:12:21 | 125,438,496 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 714 | h |
#ifndef Die_h
#define Die_h
namespace cs31
{
// CS 31 Students have been provided this class which
// simulates a random Die toss. When roll( ) is called,
// a value between 1 - mSides will be calculated and stored.
// Retrieve the value rolled by calling getValue( ).
class Die
{
pub... | [
"stefanieshidoosh@gmail.com"
] | stefanieshidoosh@gmail.com |
8f99c3903001d2d89cd09963f0a984b0378da66f | bf4ee4ef4e44365e88262521350bad4367b43c83 | /3rdparty/CH-HCNetSDK_Win32/Demo示例/1- MFC综合示例/DlgAcsFingerPrintCfg.cpp | 994fb21e2e08a0de7f16a230f1c55adab818ce11 | [] | no_license | jaueone/webvideo | a35109e86ad2e3f3689c75f086717ed2805881fa | 34a4d5d29f81b54a808fcec57309260672b13d67 | refs/heads/master | 2020-08-30T20:40:49.138843 | 2019-10-30T08:54:35 | 2019-10-30T08:54:35 | 218,482,729 | 2 | 1 | null | null | null | null | GB18030 | C++ | false | false | 54,982 | cpp | // DlgAcsFingerPrintCfg.cpp : implementation file
//
#include "stdafx.h"
#include "clientdemo.h"
#include "DlgAcsFingerPrintCfg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
void CALLBACK g_fSetFingerPrintCallback(DWORD dwType, void* lpBuffer, DWORD dwBufLen, void... | [
"871463558@qq.com"
] | 871463558@qq.com |
27ddeadfa9f7f07254d40ec226ae849e4f83f96e | 76fe0a0404ca1d71779fc6c1122b87e0d7a7aa1b | /judges/uri/1527 - Guilds.cpp | bee868c6c8801544e91b3726854f463b3866b35c | [] | no_license | vitorguidi/Competitive-Programming | 905dd835671275284418c5885a4a1fae2160f451 | 823a9299dce7b7f662ea741f31b4687f854bb963 | refs/heads/master | 2021-06-25T06:58:53.670233 | 2020-12-19T16:53:15 | 2020-12-19T16:53:15 | 133,260,248 | 3 | 0 | null | 2018-05-13T17:46:43 | 2018-05-13T17:40:24 | null | UTF-8 | C++ | false | false | 1,368 | cpp | #include <iostream>
#include <set>
using namespace std;
#define MAXN 100100
int n,m;
int q,a,b;
int pts[MAXN],gld[MAXN],peso[MAXN];
int find(int x){
if(gld[x]==x) return x;
return gld[x]=find(gld[x]);
}
void join(int x,int y){
x=find(x);
y=find(y);
if(x==y) return;
if(peso[x]>=peso[y]){ //agrego o de menor... | [
"vitorguidi@gmail.com"
] | vitorguidi@gmail.com |
1b8e1fa51469cd2ffd30b73193afc96574ae35f8 | 877fff5bb313ccd23d1d01bf23b1e1f2b13bb85a | /app/src/main/cpp/dir7941/dir22441/dir26975/dir26976/file27028.cpp | 40526178c60bc449590192927c1e28a23bf855c7 | [] | no_license | tgeng/HugeProject | 829c3bdfb7cbaf57727c41263212d4a67e3eb93d | 4488d3b765e8827636ce5e878baacdf388710ef2 | refs/heads/master | 2022-08-21T16:58:54.161627 | 2020-05-28T01:54:03 | 2020-05-28T01:54:03 | 267,468,475 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 115 | cpp | #ifndef file27028
#error "macro file27028 must be defined"
#endif
static const char* file27028String = "file27028"; | [
"tgeng@google.com"
] | tgeng@google.com |
309de37b210572748aff16b34feac15eaa889611 | b835e8841d4a6edab02d5d198e8874ae88218b0c | /firmware/CFunDCMotor/CFunDCMotor.cpp | d346828f6ca237ac4130406901720a5c1a74cd3a | [] | no_license | syjsu/scratch_master_flash | d97d5660fd74e937a38a3b47677025433f34dec5 | 989c9add3df9598a318cc1803d2f5b3effc5408f | refs/heads/master | 2020-03-17T13:39:55.182256 | 2016-11-09T03:14:40 | 2016-11-09T03:14:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,590 | cpp | #include "CFunDCMotor.h"
CFunDCMotor::CFunDCMotor(): CFunPort(0)
{
}
CFunDCMotor::CFunDCMotor(uint8_t port): CFunPort(port)
{
}
void CFunDCMotor::motorrun(uint8_t d,uint8_t s)
{
if(d == 1) {
CFunPort::aWrite1(s);
CFunPort::dWrite3(HIGH);
} else {
CFunPort::aWrite1(s);
CFunPort:... | [
"xuhaiyang88@163.com"
] | xuhaiyang88@163.com |
90343c681a59559a5f35fbdcc36669cafe40f32f | 46102425de8f2de741cde6b22b9db02793d9197b | /y2018/utils/netThread.cpp | fe505a52d792b5f7b9faaaa13a7d1724732132ab | [
"BSD-2-Clause"
] | permissive | valkyrierobotics/vision2018 | 90ae9997197cc6a5f33842a6857cc3876c62c912 | aa82e936c5481b7cc43a46ff5f6e68702c2166c2 | refs/heads/master | 2021-09-03T15:53:23.705961 | 2018-01-10T07:16:10 | 2018-01-10T07:16:10 | 116,909,153 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,618 | cpp | #include "utils/netThread.hpp"
void sendData (udp_client_server::udp_client& client)
{
double loopTime = 1.0 / LOOPS_PER_SEC;
std::string msg;
while (true)
{
// Stop sending data if an agreed symbol is received
if (buff[0] != STOP_SIGNAL)
{
clock_t start = clock();
... | [
"minhoo2000@gmail.com"
] | minhoo2000@gmail.com |
18b2982fe15e226f50e1865a427b9d508c1a0387 | fc9e460e3ed8f0ec0c7ff8b390660c8f964109c6 | /firstrepo/lab-03-composite-and-strategy-pattern-2mememachines/sub.cpp | 03512832399be976b9aa7e23885e8ab0febcac88 | [] | no_license | jterr005/firstrepo | acee6819e67281a402f7080390728c0ce217f25d | 3c7193466a54e9272b74118ad1dc4d36fa622823 | refs/heads/master | 2021-09-08T04:29:29.010204 | 2018-03-07T01:30:51 | 2018-03-07T01:30:51 | 105,844,153 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 230 | cpp | #include "sub.h"
using namespace std;
Sub::Sub(Base* left, Base* right) {
this->left = left;
this->right = right;
}
double Sub::evaluate() {
double LS = left->evaluate();
double RS = right->evaluate();
return (LS - RS);
}
| [
"jterr005@hammer.cs.ucr.edu"
] | jterr005@hammer.cs.ucr.edu |
a2e44defd0dcbc75b0086b3590d89f274a39f046 | 86397654137a5e1ae507aaef806c92fdf0a6d5e4 | /MS/Regular.h | 2d37d6727504d45da6634671a3d2eb017861036d | [] | no_license | MrHassanTariq/Shopping-Management-Sytem | 19ccba3798437d27187696f2c9e9c3f711eeb6a4 | ac803bd4d4810c96e98a639a7e707cacb124b823 | refs/heads/master | 2021-04-15T05:57:30.528339 | 2018-03-26T06:42:27 | 2018-03-26T06:42:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 202 | h | #pragma once
#include "Gender.h"
#include <fstream>
#include <iostream>
#include <conio.h>
#include <string>
using namespace std;
class Regular{
private:
Gender G;
public:
Regular();
~Regular();
}; | [
"hassa@DESKTOP"
] | hassa@DESKTOP |
635344aff4332d8a596cbae28a33c1e010c6cd33 | 4a221e6245f4324298473fc397b9a9392a910790 | /Node.h | fdf7ac44de0c5d9df6aba01233d4795bff78c62a | [] | no_license | nitink-prog/Binary-Tree-Sorting-Demo | a86bdf6e1aac5de1a854a81c514c7593ad36ad3b | e59b0b1b8e0720834a045ae8c66c11337e3030ca | refs/heads/main | 2023-05-28T03:23:58.764429 | 2021-06-16T22:01:13 | 2021-06-16T22:01:13 | 377,638,119 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 810 | h | //
// Node.h
// Trees
//
// Created by Nitin K on 5/2/19.
// Copyright © 2019 CSCI 373. All rights reserved.
//
#ifndef Node_h
#define Node_h
#include <stdio.h>
#include <iostream>
using namespace std;
class Node
// Simple Node, containing pointers to left and right, and var for integer
{
public:
Node()
{... | [
"noreply@github.com"
] | nitink-prog.noreply@github.com |
21fa7c7516f9a7299d9f692ed595a5cf0b7e5631 | 6c996ca5146bd307a062f38819acec16d710656f | /workspace/iw8/code_source/src/bgame/asm/bg_player_asm_util.cpp | 978e71e5537dc8e968054b18b9ba81aa11d719c7 | [] | no_license | Omn1z/OpenIW8 | d46f095d4d743d1d8657f7e396e6d3cf944aa562 | 6c01a9548e4d5f7e1185369a62846f2c6f8304ba | refs/heads/main | 2023-08-15T22:43:01.627895 | 2021-10-10T20:44:57 | 2021-10-10T20:44:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 163,861 | cpp | /*
==============
BG_PlayerASM_GetAnimsetName
==============
*/
scr_string_t __fastcall BG_PlayerASM_GetAnimsetName(const PlayerASM_Context *context)
{
return ?BG_PlayerASM_GetAnimsetName@@YA?AW4scr_string_t@@PEBUPlayerASM_Context@@@Z(context);
}
/*
==============
BG_PlayerASM_CopyAnimDataToEntity
==============
*/... | [
"zkitx@zkitx.jp"
] | zkitx@zkitx.jp |
9ca4317c1c00448c9ec21e64dd85ada4bc240cc9 | f0a2352098eb7531d6c41b8e927d36b5d7c4df85 | /Graphical/nCurses/Srcs/Graphic.hpp | 8a5d18acec13e6c6b722cdde8c54958c6483f5e3 | [] | no_license | AurelienFT/Arcade | ebd0f1475659825e6fce929e793eff014cbbdd22 | 0dfab443354cd5292d2bbad565181274d76490ee | refs/heads/master | 2020-05-18T00:44:51.129996 | 2019-04-29T13:25:25 | 2019-04-29T13:25:25 | 184,071,749 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,736 | hpp | /*
** EPITECH PROJECT, 2019
** OOP_arcade_2018
** File description:
** Graphic
*/
#ifndef GRAPHIC_HPP_
#define GRAPHIC_HPP_
#include "arcade/interface/graphic/Graphic.hpp"
#include <curses.h>
#include "Window.hpp"
#include <iostream>
#include <string>
namespace arcade::nCurses {
class GraphicalLibrary : public arcad... | [
"aurelien.foucault@epitech.eu"
] | aurelien.foucault@epitech.eu |
4ae16ae45011271f516bbed54f530c604ab9b1f3 | 27f473ccc76bb3da481eafb8cd2da4b78058096a | /[구현] 체스판 다시 칠하기.cpp | b1060c0f4e5c48cb2f44f565b05870a22299c5a0 | [
"MIT"
] | permissive | ChangYeop-Yang/Study-Algorithm | 07f838be1a41d6f6a1293a21ae4b7e9f623b39f4 | 7dc83df6ad4bb015ef46788e72e10ea6b5ec84cf | refs/heads/master | 2022-03-07T13:26:06.781186 | 2022-02-26T15:35:17 | 2022-02-26T15:35:17 | 70,337,924 | 7 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,027 | cpp | #include <string>
#include <vector>
#include <climits>
#include <iostream>
#include <algorithm>
using namespace std;
#define WHITE 'W'
#define BLACK 'B'
#define MAX_V 8
#define INT_PAIR pair<int, int>
const int convertCheckBoard(vector<string> & board, const vector<char> casePhone, const INT_PAIR there) {
int answ... | [
"noreply@github.com"
] | ChangYeop-Yang.noreply@github.com |
b47c857c427daf1a120a9f44cb925f5a05281643 | 867ee0c866e481939964ad35a8e54d2e2b07fe2a | /d02/ex01/main.cpp | fb047c706d3f3a553aae881d396f7ff50f026b14 | [] | no_license | rjwhobbs/cpp_bootcamp | 0db7ceaeeb0b19d898965ceb26b5b84635b36a5d | 8edc3bd419ee3587966a14bb3bebcf94c6efa8d4 | refs/heads/master | 2021-05-18T20:11:31.886529 | 2020-08-26T08:46:24 | 2020-08-26T08:46:24 | 251,397,756 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 498 | cpp | #include <iostream>
#include "Fixed.hpp"
int main(void) {
Fixed a(42.42f);
Fixed b(-42.42f);
Fixed c(42.0f);
Fixed d(-42.0f);
std::cout << "a \n" << a.toInt() << std::endl;
std::cout << "b \n" << b.toInt() << std::endl;
std::cout << "d \n" << d.toInt() << std::endl;
std::cout << "c \n" << c.toInt() << std::en... | [
"rhobbs@student.wethinkcode.co.za"
] | rhobbs@student.wethinkcode.co.za |
beb5cbd68e76e7e40aab325005a7bab07d9165e9 | 842c1543f09968c3dfb666836f66fce9569831bf | /src/create.cpp | 741e0d8f669ebaed18cea53592a1174340ded079 | [
"ISC"
] | permissive | jfreax/mergerfs | b30309b9687231633fb34066301cffdd1c8de5b9 | 577bc67fa70ff549092a1649f4524efcb5f3746e | refs/heads/master | 2020-12-26T21:52:23.887879 | 2016-08-26T18:44:43 | 2016-08-26T18:44:43 | 67,310,163 | 0 | 0 | null | 2016-09-03T20:25:51 | 2016-09-03T20:25:51 | null | UTF-8 | C++ | false | false | 3,447 | cpp | /*
Copyright (c) 2016, Antonio SJ Musumeci <trapexit@spawn.link>
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" ... | [
"trapexit@spawn.link"
] | trapexit@spawn.link |
17ef17df891f2b35182ccb44c050bfd2b8ecbe29 | b9026583848709d8f8dbf7129789d8f15093582a | /linked_list_template/Source.cpp | 5b3d3f632336117ee57a6b85323b6f03d9c8dad1 | [] | no_license | Afpherian/cis_labs | 965bce0c4f5086ed5db291134bf2811ede32826a | c063572f254ec3c4db9eec41501e0e3993f8a883 | refs/heads/master | 2020-12-31T00:53:29.955682 | 2017-02-01T00:32:47 | 2017-02-01T00:32:47 | 80,574,478 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,361 | cpp | //CIS22C
//Lab 1
//Crystal Hupp
#include <iostream>
#include <iomanip>
#include <fstream>
#include <string>
using namespace std;
static int nodeCounter=0; //to count number of nodes created
//template to create list nodes
template <class T>
class ListNode {
public:
T value;
ListNode<T> *next;
//constructor
List... | [
"crhupp@gmail.com"
] | crhupp@gmail.com |
31fdbcd5cae189743f166f3b291f7666dc07ce4b | 34090b851ee2d1f12dbe13f30d199bb328fb11f6 | /src/script/sign.h | 46936b8b4d9e6f5ac28d3c8b2413d9352e0e9f27 | [
"MIT"
] | permissive | Creddit-lol/Creddit-Core | 7e4962d1e1dfb63c56236485938f7d4bf148e54f | 2514c8867fd2bdc34ae4c5466b9a31816dcc0b6c | refs/heads/master | 2023-05-12T18:45:39.377629 | 2021-06-07T23:54:09 | 2021-06-07T23:54:09 | 370,868,857 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 4,215 | h | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2016-2019 The CREDD developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_SCRIPT_SIGN_H
#define ... | [
"bobski.robertson122@gmail.com"
] | bobski.robertson122@gmail.com |
1d34f30e09c94c800680e33a7090b21e03efee33 | 60d3a641aa3ea1f1c47d5f72deadb4e890a29f2f | /tests/cpp/unit-tests/test_client_ensemble.cpp | 6db78c802887cd334f5b8311d4c8199ac80fe760 | [
"BSD-2-Clause"
] | permissive | ctandon11/SmartRedis | ccdace919e1209ecbd4b48b33f7c0a0ee53ce669 | 47479331e06d9dc8ef06e200d91facc8a8c7f657 | refs/heads/develop | 2023-09-04T07:09:35.127959 | 2021-08-24T23:53:55 | 2021-08-24T23:53:55 | 374,810,948 | 0 | 0 | BSD-2-Clause | 2021-10-15T22:19:23 | 2021-06-07T22:01:21 | C++ | UTF-8 | C++ | false | false | 8,914 | cpp | #include "../../../third-party/catch/catch.hpp"
#include "client.h"
#include "dataset.h"
#include "../client_test_utils.h"
using namespace SmartRedis;
// helper function for resetting environment
// variables to their original state
void reset_env_vars(const char* old_keyin, const char* old_keyout)
{
if (old_keyi... | [
"ericgustin44@gmail.com"
] | ericgustin44@gmail.com |
942acc6a70f33b6b42348b96ea4bb4d9a8d45c35 | 84283cea46b67170bb50f22dcafef2ca6ddaedff | /Codeforces/632/C.cpp | 324e57fe3cdecf45011c2f2b113539335a0fc603 | [] | no_license | ssyze/Codes | b36fedf103c18118fd7375ce7a40e864dbef7928 | 1376c40318fb67a7912f12765844f5eefb055c13 | refs/heads/master | 2023-01-09T18:36:05.417233 | 2020-11-03T15:45:45 | 2020-11-03T15:45:45 | 282,236,294 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 634 | cpp | /*
* @Date : 2020-04-17 19:09:52
* @Author : ssyze
* @Description :
*/
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
const int maxn = 2e5 + 5;
ll n, a[maxn], sum[maxn];
int main()
{
ios::sync_with_stdio(0);
cin.tie(0);
cin >> n;
map<ll, ll> pre;
pre[0] = 0;
... | [
"46869158+shu-ssyze@users.noreply.github.com"
] | 46869158+shu-ssyze@users.noreply.github.com |
ee28e799078d609b1e0a00d27a9468951a65ea8f | 27a7b51c853902d757c50cb6fc5774310d09385a | /[Server]Agent/ChatRoomMgr.cpp | 6f2daef5b74e5269d44e931ff034cf0bcee60d44 | [] | no_license | WildGenie/LUNAPlus | f3ce20cf5b685efe98ab841eb1068819d2314cf3 | a1d6c24ece725df097ac9a975a94139117166124 | refs/heads/master | 2021-01-11T05:24:16.253566 | 2015-06-19T21:34:46 | 2015-06-19T21:34:46 | 71,666,622 | 4 | 2 | null | 2016-10-22T21:27:35 | 2016-10-22T21:27:34 | null | UHC | C++ | false | false | 38,512 | cpp | //=================================================================================================
// FILE : CChatRoomMgr.cpp
// DESC : Implementation part of chatroom manager class.
// DATE : MARCH 31, 2008 LYW
//=================================================================================================
... | [
"brandonroode75@gmail.com"
] | brandonroode75@gmail.com |
d2904c7ddab1f5a017c23938d3583fdb1db8f1f8 | 3c833cbb5c47831a91a99e9ecf904c51ad8fa7bc | /lib/handler/src/ConnectionHandler.cpp | 48ea908e96befd3558beb1521aa8367c4d89218a | [
"MIT"
] | permissive | blockspacer/Adventure2019 | 1dd3859f2ee9c50f9ad5d5bdd6d424ecd2b799f6 | a07b6ffee7ee196d9f499aa145906732ee067af0 | refs/heads/master | 2021-02-12T20:30:17.528264 | 2019-04-06T07:07:08 | 2019-04-06T07:07:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 987 | cpp | //
// Created by steph on 3/14/2019.
//
#include <ConnectionHandler.h>
#include "ConnectionHandler.h"
ConnectionHandler::ConnectionHandler(std::vector<Connection> &clients,
std::vector<Connection> &newClients,
std::vector<Connection> &disconne... | [
"stephen_wanhella@sfu.ca"
] | stephen_wanhella@sfu.ca |
a0c4507989c4a271d7ec4bad4b3bed712c8095c7 | c67a30c7d6a7329392b9274b1c0d5debb876dda7 | /src/engine/asmjs/input_system.cpp | cc6c474a0b394012a70e7dac4ae5c4474984f85b | [
"MIT"
] | permissive | yyyy3531614/LumixEngine | bb117210fe44f222bb973d2bda0f9fa4ab531baf | d39be9a5a84acd27e4bae1814c3020ef8ad98401 | refs/heads/master | 2021-07-05T20:02:08.031574 | 2017-09-30T12:18:58 | 2017-09-30T12:18:58 | 105,466,232 | 1 | 0 | null | 2017-10-01T18:59:57 | 2017-10-01T18:59:57 | null | UTF-8 | C++ | false | false | 1,191 | cpp | #include "engine/input_system.h"
#include "engine/associative_array.h"
#include "engine/profiler.h"
#include "engine/string.h"
#include "engine/vec.h"
namespace Lumix
{
struct InputSystemImpl : public InputSystem
{
InputSystemImpl(IAllocator& allocator) : m_allocator(allocator) {}
bool create() { return false;... | [
"mikulas.florek@gamedev.sk"
] | mikulas.florek@gamedev.sk |
b9028eff75de46fb8c6aa3a920646e9265c7b921 | 194aebef213d64d46d8fc915f99cd6d8c88696cd | /basic to advance pattern problems/star pattern/pattern6.cpp | cb0476ec07005d638244ef584e3af2ffcbc1d876 | [] | no_license | shivangi-coder/basic-c-programs | 0d08df20e39d4b107cfcc457b9e7434dec94d912 | 9a57771255e7b4cf3fbff1a14c7def808ccf6d78 | refs/heads/main | 2023-08-17T13:33:03.473218 | 2021-10-05T18:05:36 | 2021-10-05T18:05:36 | 413,040,221 | 0 | 2 | null | 2021-10-05T18:05:37 | 2021-10-03T10:05:49 | C++ | UTF-8 | C++ | false | false | 395 | cpp | /* print upper left triangle
* * * * *
* * * *
* * *
* *
*
*/
#include<iostream>
using namespace std;
int main()
{
int n;
cin>>n;
for(int i=0;i<n;i++)
{
for(int j=0;j<n;j++)
{
if((i+j)<=n-1)
{
cout<<"*";
}
else{
cout<<"... | [
"noreply@github.com"
] | shivangi-coder.noreply@github.com |
cdbdae592f7abb1f1a93a24f137704fb4bee3521 | 60c4dd4426efcab6b1e5c6552242a114eb147802 | /MinesweeperGame/AIPlayer.h | 96efa047d82e8badd79338dcea5647c62cb6988e | [] | no_license | tyskwo/MinesweeperAgent | 767fc65fe4ca0925f6b7aebf26b4a6abb74c16ac | 46322ac13015ae02df060df0b22d9270209577d0 | refs/heads/master | 2020-05-26T12:59:19.287596 | 2017-02-19T18:09:31 | 2017-02-19T18:09:31 | 82,478,633 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 267 | h | #pragma once
#include "../GameLib/Player.h"
class AIHolder;
class AIPlayer : public Player
{
public:
AIPlayer( AIHolder* pHolder );
virtual ~AIPlayer();
void update(){};
void setActive( bool isActive );
private:
AIHolder* mpHolder;
};
| [
"tyskwo@gmail.com"
] | tyskwo@gmail.com |
a8ce94bb0ea223ccaa395233c348eb1fdc905e6e | 5b9add05f5630207728aa9fa92df40d0f624188c | /Castleforce/Intermediate/Build/Win64/UE4Editor/Inc/Castleforce/CastleforceUnit.gen.cpp | 842c5ea473d09d38cbaf7aae3538ff769abd3e46 | [] | no_license | rh27un/castleforce | ff6bdb2f3719bee2e3d23b8c12084fa0f1ef5ad2 | a1f70316e3876bfe2812f720fff4969ce83a1f3f | refs/heads/master | 2021-10-26T10:55:05.166505 | 2019-02-08T13:33:25 | 2019-02-08T13:33:25 | 168,685,731 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,194 | cpp | // Copyright 1998-2018 Epic Games, Inc. All Rights Reserved.
/*===========================================================================
Generated code exported from UnrealHeaderTool.
DO NOT modify this manually! Edit the corresponding .h files instead!
==========================================================... | [
"rh27un@gmail.com"
] | rh27un@gmail.com |
3142102762a52ad081b802498af8d2e39fb4c47d | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/CMake/CMake-gumtree/Kitware_CMake_old_new_new_log_69.cpp | b805ea46947de30ad2be409877731ab65368ad4c | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 92 | cpp | fsobj_error(a_eno, a_estr, 0,
"Cannot extract through "
"symlink ", path); | [
"993273596@qq.com"
] | 993273596@qq.com |
78162fe3e50b8600186bbfe4855c15e61d204871 | 6cc8635ec5ca10301c27c92c01b40204c9f9250d | /Source/practice_umg/Private/UMG/MainContainer_WS.cpp | a4aaa7499cdeafa4d9f5db8e5d640af3b988d7d0 | [] | no_license | lineCode/UE4_GameUI | 5ca8d5ee672b134b2501143a4aa8034b9d14902b | 8377b55ef4caf03430055d787668657b64c7e694 | refs/heads/master | 2023-06-16T18:02:18.634126 | 2019-05-01T14:04:57 | 2019-05-01T14:04:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,758 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "MainContainer_WS.h"
#include "Runtime/UMG/Public/Components/CanvasPanel.h"
#include "Runtime/UMG/Public/Components/CanvasPanelSlot.h"
#include "Runtime/UMG/Public/Components/Button.h"
#include "Runtime/UMG/Public/Blueprint/SlateBl... | [
"peace-day@hanmail.net"
] | peace-day@hanmail.net |
1918ceaaa3c0197468c4d501d544e61558ec2934 | 89c18e3ed276ca5fff7bd747548fd97a4ecf880a | /third_party/protozero/include/protozero/version.hpp | 32a494f4b6beac56a22811cc6d15a37722124ca1 | [
"Apache-2.0",
"BSD-2-Clause"
] | permissive | developmentseed/osrm-backend | 98d4705554dee6df1e2e0786bebc6b2a90494638 | 0c344ae98ffd3cdadd405b4991d7bf5ceb70c3b4 | refs/heads/master | 2021-07-05T19:29:43.092863 | 2020-07-21T10:43:33 | 2020-07-21T10:46:04 | 135,611,823 | 3 | 1 | BSD-2-Clause | 2020-07-14T08:30:16 | 2018-05-31T16:54:21 | C++ | UTF-8 | C++ | false | false | 919 | hpp | #ifndef PROTOZERO_VERSION_HPP
#define PROTOZERO_VERSION_HPP
/*****************************************************************************
protozero - Minimalistic protocol buffer decoder and encoder in C++.
This file is from https://github.com/mapbox/protozero where you can find more
documentation.
***************... | [
"michael.krasnyk@gmail.com"
] | michael.krasnyk@gmail.com |
2e21b75a58e5b4862a0864f9cd689830d65a6f66 | 1d3dd2d4a0e865ec178ee3491b137ebd2bf5c4bc | /trunk/src/motors/servo.cpp | e55dde9538f8ea9f475fe2aa6ac43366a20007c8 | [] | no_license | BGCX067/ezdynlib-svn-to-git | 7f9e926a322e06c51ff492df2c94bb2715bc293d | 39f3b2f439d19391b7046b4ff124e34c10f02244 | refs/heads/master | 2016-09-01T08:51:43.901538 | 2015-12-28T14:37:06 | 2015-12-28T14:37:06 | 48,874,218 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,262 | cpp | // Windows version
//#include <windows.h>
#include <math.h>
#include <limits>
#include <stdio.h>
#include <iostream>
#include "../dynamixel.h"
#include "servo.h"
/*
* servo.cpp
*
* Created on: 5. okt. 2011
* Author: Lars
*/
//#pragma comment(lib, "dynamixel.lib");
//int id;
//Communicat... | [
"you@example.com"
] | you@example.com |
8d2302b624de080ede8203cdfff35627579d1d0e | 078544d216185416a840399172f07ccd1caad07f | /friendtrackerUI/src/LoginReply.h | 284ea6143cd91ddd0514cc3d253de202f9aece5d | [] | no_license | sukwon0709/friendtrackerUI | 23bec4ee5e885e5a6829c26dc02155ae1707ff41 | 14d64d60288b53584b968e018e2e979f6732a2a8 | refs/heads/master | 2021-01-10T19:45:06.595769 | 2013-04-03T00:41:29 | 2013-04-03T00:41:29 | 8,827,293 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 549 | h | /*
* LoginReply.h
*
* Created on: 2013-03-16
* Author: Sukwon Oh
*/
#ifndef LOGINREPLY_H_
#define LOGINREPLY_H_
#include <QString>
#include <QByteArray>
#include <QStringList>
#include "Reply.h"
class LoginReply : public Reply
{
public:
LoginReply();
bool parse(const QByteArray& data);
QString getType... | [
"s3oh@uwaterloo.ca"
] | s3oh@uwaterloo.ca |
f13a21a711c9c04a42ef6d71a5b492a74a58daea | c4821962a4d51d2df4d58834117ce63ea87bc812 | /injector.cpp | 1c0d45664399d4c1077d6dd0c4bfc4acaa99eecb | [] | no_license | Theadd/WickedExile | 564df02f2487c050862a72710532dacd9e62a03c | 020769cf02df61b68a3f1e57eabce065e32a6abd | refs/heads/master | 2020-05-26T20:43:31.338544 | 2013-10-12T16:58:39 | 2013-10-12T16:58:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,117 | cpp | #pragma once
#include <SDKDDKVer.h>
#define WIN32_LEAN_AND_MEAN
#define NOMINMAX
#include <windows.h>
#include <tchar.h>
#include <shellapi.h>
#include <string>
#include <sstream>
#include <functional>
#include <iostream>
#include <Winternl.h>
static PROCESS_INFORMATION pi;
typedef ULONG (NTAPI *RtlNtStatusToDosError... | [
"pantallazo@gmail.com"
] | pantallazo@gmail.com |
5e711afff229d1d2efb831ece3987c9a560af72d | cfd5915e5e8569052d9813a159a7fc06e7740347 | /SmartAuthCredentialProvider/SmartAuthCredentialProvider/Auth.h | 5bd8a547fa7f9d5c690fc8c01359bb12f7d21f95 | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | zk2013/smart_auth | e7709a20eecda7cff65ec15d91ca8fd4a9e33278 | bb0c789c4dfb17e1ba90c0fb622fa69e374b2c8a | refs/heads/master | 2020-05-20T21:27:12.118612 | 2016-11-26T07:43:35 | 2016-11-26T07:43:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 172 | h | #ifndef __AUTH_H__
#define __AUTH_H__
#include <windows.h>
#include "OtpCheck.h"
class Authentication{
public :
void googleOTP(PWSTR otpKey, PWSTR &username);
};
#endif | [
"hongsun571@naver.com"
] | hongsun571@naver.com |
12b7a01f422d14db9d9940377b19af1d663db7d2 | 3cc59a92b32997af11b82b78b3577289d62a681d | /c++/day05/cons.cpp | 645a58e5754add5121e388f071789d2650937e6a | [] | no_license | zzy0119/emb20200210 | a5d40658382142d0743c6aaf401eb28dc9f96ea8 | a12ef895933dd392066ce064b4accd115610b8d9 | refs/heads/master | 2022-11-04T05:48:45.136308 | 2020-06-24T02:30:22 | 2020-06-24T02:30:22 | 261,624,651 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 973 | cpp | #include <iostream>
using namespace std;
// 基类
class Person {
protected:
const char *m_name;
int m_age;
public:
Person();// 默认的构造方法
Person(const char *, int );
};
Person::Person():m_name("默认"), m_age(0) {}
Person::Person(const char *name, int age) : m_name(name), m_age(age) {}
// 派生类
class Student:public... | [
"you@example.com"
] | you@example.com |
29c897f3bfd90b2fce20dee6c8203f5992462f72 | 69b49dbff2f6b0209d27368ae177c1b8846972ff | /Run/Classes/keepRun/KRActor.cpp | b61fc33961c542da650d3264c15270c33d92e29f | [] | no_license | spzktshow/JustRun | 43e75fe2b1bd6bef13e6ac942a6e907298b05459 | 3fbd15a9d708186f0cf7cc0851f5f9a551cfc4fa | refs/heads/master | 2021-01-23T22:07:31.570094 | 2014-03-15T03:37:40 | 2014-03-15T03:37:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,420 | cpp | //
// KRActor.cpp
// Run
//
// Created by RockLee on 14-3-10.
//
//
#include "KRActor.h"
#include "AnimationConfig.h"
#include "MSDataStructure.h"
NS_KR_BEGIN
/***********BehaviorEvent*********************/
BehaviorRunEvent::~BehaviorRunEvent()
{
}
BehaviorJumpEvent::~BehaviorJumpEvent()
{
}
/*********... | [
"gdspzkt@gmail.com"
] | gdspzkt@gmail.com |
5ea68b777ee1a67b80fcc2d6137164a3f85c2ef8 | cf04c27812a16fbe138cc2b06efb853ef7982869 | /Chapter3/1.BookSample/FileAttributes/FileAttributes/FileAttributes.cpp | d3d7ff5cf3f7ed08c3afede7e1c340c8d450ffab | [] | no_license | a5932016/WindowsSoftwareRansomware | d2111f62733eaa8b133ad4d741d075faec335126 | e45fa0f875f130a860a90fe91c31da96c24b331d | refs/heads/master | 2022-11-23T06:13:31.581354 | 2020-07-29T09:07:24 | 2020-07-29T09:07:24 | 282,945,293 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 894 | cpp | #include <windows.h>
#include <tchar.h>
BOOL UpdateFileAttributes(
LPCTSTR lpFileName,
DWORD dwFileAttributes,
BOOL bFlag)
{
BOOL bResult = TRUE;
DWORD dwAttrs = GetFileAttributes(lpFileName);
if (dwAttrs == INVALID_FILE_ATTRIBUTES)
return false;
if (bFlag)
{
if (!(dwAttrs & dwFileAttributes))
{
bR... | [
"a5932016@gmail.com"
] | a5932016@gmail.com |
575ace3d83253d5982b3ce76ecccfdc50ed92d87 | 6f7a9da07955d7e9a6f9a57d65917b3c11a282c8 | /Problem Solving/2.Patterns 1/5.alpha_pattern.cpp | 5777b632563f6af77c5311127b53debd356d18f2 | [] | no_license | jaguar-paw33/CODE_AAI | 3465014b0c87494dbbbaa957427c9b8a2652a27d | c10912b512e69b45e7d24d449d2e0cc4480df518 | refs/heads/master | 2023-06-29T05:37:44.487972 | 2021-08-13T07:47:55 | 2021-08-13T07:47:55 | 351,182,645 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 583 | cpp | /*
Print the following pattern for the given N number of rows.
Pattern for N = 3
A
BB
CCC
Input format :
Integer N (Total no. of rows)
Output format :
Pattern in N lines
Constraints
0 <= N <= 26
Sample Input 1:
7
Sample Output 1:
A
BB
CCC
DDDD
EEEEE
FFFFFF
GGGGGGG
Sample Input 2:
6
Sample Output 2:
A
BB
CCC
DDDD... | [
"mr.priyankmishra@gmail.com"
] | mr.priyankmishra@gmail.com |
039fe63a79f19dd0d78603edecc7f9185fe7cc82 | 93a4880445525c38bf118746d2349d734919c85b | /LgpCpp/data/ejemplo_parameters_trafo1.h | 98d47f83b702e09cf69faae2833add1e308d8ac8 | [] | no_license | nahu/lgp | f48cca0b82dadad7c1e11b46c18aba61909dc5d2 | e84b92eecc181c1b7c6b89a63dc793ef41366cd4 | refs/heads/master | 2021-05-02T08:34:48.257529 | 2017-07-25T21:30:25 | 2017-07-25T21:30:25 | 7,716,660 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,940 | h | /*
* parameters_base.h
*
* Created on: Mar 16, 2013
* Author: Vanessa Cañete, Nahuel Hernández
*/
#define _USE_MATH_DEFINES
#define FILE_ANALISIS "./analisis-link/analisis.csv"
#define FILE_PROBABILIDADES "./analisis-link/probabilidades.csv"
#define FILE_NAME_ERRORES_X_DEME_TRAINING "errores_x_deme_trainin... | [
"jnahuelhernandez@gmail.com"
] | jnahuelhernandez@gmail.com |
fc61e3791107ddf9cdd403301b2cfeccfdcb8dfa | b924ba76b66e50ee1b82c1ce29c5e20b584af67f | /code/terrainfactory.cc | a53163cc0ba050005306aed6c94b02c488dd88f1 | [] | no_license | joelkyu/cc3k | 6f453c36c8038b38f7c0484e13725c8f7b1a0ec4 | d4a72a0e5c4b251390ffbd8126cc8730ac71a7ec | refs/heads/master | 2023-01-13T11:25:48.281484 | 2020-11-14T20:14:49 | 2020-11-14T20:14:49 | 297,366,792 | 0 | 0 | null | 2020-11-14T20:14:50 | 2020-09-21T14:34:47 | C++ | UTF-8 | C++ | false | false | 1,272 | cc | #include "terrainfactory.h"
#include "emptychambertile.h"
#include "horizontalwall.h"
#include "verticalwall.h"
#include "door.h"
#include "passage.h"
#include "stairs.h"
shared_ptr<GameObject> TerrainFactory::spawnObject(int x, int y)
{
shared_ptr<Terrain> newTerrain;
switch (type) {
case ... | [
"noreply@github.com"
] | joelkyu.noreply@github.com |
bd0f4715dc34acc6947bc311fe156018682a7279 | f5ef92bffee09c1f56470c445c9c296992ac6aa3 | /maxclique.cpp | 7076e8e14930bd5fa4377f1bddb938f11bb0637b | [] | no_license | aniagut/Projekt-Blokada-Krola-2021 | 567ce8b030ad1fd4c711048661a5657138c3f085 | c3a96943686e41b4c890eb4b3e865780e7e147f6 | refs/heads/master | 2023-03-12T14:56:10.263613 | 2021-03-01T17:19:43 | 2021-03-01T17:19:43 | 343,496,858 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,418 | cpp | #include <bits/stdc++.h>
using namespace std;
struct Node {
public:
int color;
int lambda;
bool visited;
vector<int> edges;
};
Node G[600];
bool processed[600];
vector<int> ordering(Node G[600],int n){
for(int i=0;i<n;i++){
processed[i]=false;
}
int idx=0;
int maximum=0;
... | [
"noreply@github.com"
] | aniagut.noreply@github.com |
04fcc65d904c8af0d3c165bb970bb85569824a6a | 11ef4bbb8086ba3b9678a2037d0c28baaf8c010e | /Source Code/server/binaries/chromium/gen/components/content_capture/common/content_capture.mojom.cc | 6ff1f3bb8cd9878a7df085776dc822f8a81c11fb | [] | no_license | lineCode/wasmview.github.io | 8f845ec6ba8a1ec85272d734efc80d2416a6e15b | eac4c69ea1cf0e9af9da5a500219236470541f9b | refs/heads/master | 2020-09-22T21:05:53.766548 | 2019-08-24T05:34:04 | 2019-08-24T05:34:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 23,043 | cc | // Copyright 2013 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.
#if defined(__clang__)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wunused-private-field"
#elif defined(_MSC_VER)
#pragma warning(pus... | [
"wasmview@gmail.com"
] | wasmview@gmail.com |
6cf30b47fea5f4b7da8af82c14fd1d24640e2545 | 8ca0a2000da77211cda8d4f7a67232a79424004b | /ball.cpp | 26c00ff494ea2145803a761cf5873e6758d289b1 | [] | no_license | nosferatu037/Pong_Game | 395ee5e935859ca471a127db75fc83014c113085 | 7c3b46b4a8e36d69b342134f8fd68cc650a88b57 | refs/heads/master | 2020-05-20T09:21:21.642364 | 2015-09-14T05:36:08 | 2015-09-14T05:36:08 | 42,428,700 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,574 | cpp | #include <curses.h>
#include <stdlib.h>
#include <time.h>
#include <math.h>
#include "ball.h"
#include "character.h"
Ball::Ball(DrawEngine* de, Level* lvl, int index, float x, float y,
int numlives, char left_key, char right_key) :
Sprite(de, lvl, index, x, y, numlives)
{
//set our random direct... | [
"nosferatu037@gmail.com"
] | nosferatu037@gmail.com |
cd5826431da6d9fe778ef2db817f768eafa01c23 | 6aa5fe3343c2c4b867ea945763010dbdb24ca647 | /Bulletshot/src/Game/TestsManager.h | 739e3d4349a63d0727bc62647e83a4f2f24f8341 | [] | no_license | denyskryvytskyi/Bulletshot | 690a48992291c7c78e5df06c4290246608d08d52 | 8db841288e0e8d03546c769182e166e7e315db07 | refs/heads/main | 2023-04-28T05:35:34.959476 | 2021-05-22T16:29:39 | 2021-05-22T16:29:39 | 317,813,604 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 491 | h | #pragma once
class TestsManager
{
public:
TestsManager() = default;
static void ToggleGenerateObjects(const uint32_t wallsCount, const uint32_t bulletsCount);
static void ToggleGenerateObjects();
static void ToggleCleanupScene(bool toggle);
static void ToggleMTStressTest();
public:
static uin... | [
"kryvytskyi.denys@gmail.com"
] | kryvytskyi.denys@gmail.com |
d82e9cebcad2c9c6a3f8582bae4d7b01f381db78 | 6f05f7d5a67b6bb87956a22b988067ec772ba966 | /data/train/cpp/2812a2fef629ad0864203c12711902af4a93cd12NGramModel.h | eb4a7dd7f45129c3c735f820ee3b0ab531d6a2e5 | [
"MIT"
] | permissive | harshp8l/deep-learning-lang-detection | 93b6d24a38081597c610ecf9b1f3b92c7d669be5 | 2a54293181c1c2b1a2b840ddee4d4d80177efb33 | refs/heads/master | 2020-04-07T18:07:00.697994 | 2018-11-29T23:21:23 | 2018-11-29T23:21:23 | 158,597,498 | 0 | 0 | MIT | 2018-11-21T19:36:42 | 2018-11-21T19:36:41 | null | UTF-8 | C++ | false | false | 652 | h | #pragma once;
#include "pocketsphinx.h"
using namespace System;
using namespace System::Runtime::InteropServices;
namespace PocketSphinxNet
{
public ref class NGramModel
{
internal:
ngram_model_t* model;
public:
NGramModel()
{
this->model = 0;
}
~NGramModel()
{
this->Free();
}
internal:
... | [
"aliostad+github@gmail.com"
] | aliostad+github@gmail.com |
0fffb6060e07a61dc20c555bd5909ea7fc90a666 | 5e9d97b7ebb378a351c77f805cf467a314295e57 | /Pakna And His Polygon.cpp | e79903898c714df91f7efa3e067f6b3ed30f0aae | [] | no_license | mjannat/Online-Judge-Problems-Solution-in-Cpp | bd62157ee39ebc997f8cdbacd26abb0401aea600 | ce0defaee9c2bffbc3e5d5b67b0a2ae529507b80 | refs/heads/master | 2020-12-20T11:36:07.916260 | 2020-04-28T10:04:24 | 2020-04-28T10:04:24 | 236,060,998 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 227 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
int test;
cin >> test;
while(test--)
{
double a;
cin >> a;
cout << fixed << setprecision(5)<< (3 * sqrt(3))/2.0*(a * a)<<endl;
}
}
| [
"noreply@github.com"
] | mjannat.noreply@github.com |
c99db3acca81d07b4b0a7af1b4298e43dda198d1 | 32512f5eb7ad308f25ba450e64b4b6c175159600 | /src/functions.cpp | 652d707257be99b82c329f1ac7322f639018823e | [] | no_license | projunk/SpotMicro | 1d8b0e732402a3b16dfea7519d447c5ba4aa6420 | 02f677a01b151045570e851887b3d7c87f8814e4 | refs/heads/main | 2023-04-21T04:26:05.662868 | 2021-05-15T14:48:37 | 2021-05-15T14:48:37 | 367,656,640 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 37,386 | cpp | #include <functions.h>
volatile bool APStarted = false;
volatile unsigned long previousTimerValue;
volatile int channel[NR_OF_RECEIVER_CHANNELS];
volatile float voltage;
String robotName;
volatile bool signal_detected = false;
int signal_detected_count = 0;
int signal_lost_count = SIGNALS_DETECTED_LOST_THRE... | [
"noreply@github.com"
] | projunk.noreply@github.com |
1625825c3f98b367d39df881cd9b1b28758f57a6 | f74256b079b12a02406b0eda5321f2dc22b3226c | /lizhiqiang/Integer Break.cpp | 4bec1e68f9fa0c276c615ad8636b626220965d61 | [
"Apache-2.0"
] | permissive | ylovesy/CodeFun | e716c840c0c08227c4cae0120161e99e15d3c1e2 | 4469a88b5fe8796054d4d60025c857c18eb374db | refs/heads/master | 2021-07-17T19:45:11.099724 | 2017-12-14T12:34:29 | 2017-12-14T12:34:29 | 96,773,933 | 0 | 3 | null | 2017-07-15T06:55:14 | 2017-07-10T12:16:28 | C++ | UTF-8 | C++ | false | false | 579 | cpp | class Solution {
public:
int integerBreak(int n) {
int product = 1;
int count = 1;
while (n > 4) {
if (n > 3) {
n -= 3;
product *= 3;
count++;
}
}
if (count == 1 && n != 4) {
n = n - 1;
... | [
"noreply@github.com"
] | ylovesy.noreply@github.com |
70a2326cfe61e8079156aa8282c1cbe2b6350dbf | 0b287a97e0919c5323919bcb57efae923a029899 | /src/qt/optionsdialog.cpp | 71791ff34787ac8d7a0d4714c78be016bf1da89a | [
"MIT"
] | permissive | lmcchain/wallet | 490dd95b4d82c91b06ebd9e63bbcbaeb0d791da8 | 354fb335df518174ad2a3c9e5b919da7e9052c7e | refs/heads/master | 2020-03-11T14:07:52.102368 | 2018-04-19T05:01:55 | 2018-04-19T05:01:55 | 130,044,899 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,886 | cpp | #include "optionsdialog.h"
#include "ui_optionsdialog.h"
#include "bitcoinunits.h"
#include "monitoreddatamapper.h"
#include "netbase.h"
#include "optionsmodel.h"
#include <QDir>
#include <QIntValidator>
#include <QLocale>
#include <QMessageBox>
OptionsDialog::OptionsDialog(QWidget *parent) :
QDialog(parent),
... | [
"root@DESKTOP-3AA8BQ8.localdomain"
] | root@DESKTOP-3AA8BQ8.localdomain |
04fd05384ad2bd04443dbfbfef86474c5aa10c2f | 94c221fca52cc85b4f7813415a7cb4c79ad3583b | /mod05/ex01/main.cpp | a191eb062d417c1ad282746ce20a8ea3b4ebf572 | [] | no_license | chudopak/CPP_start | aa3814e3658456317399411722cdaddbef9518e6 | 85a873f6f2f68f44b0abc397fd58e48d625ef991 | refs/heads/main | 2023-07-31T11:19:30.643969 | 2021-09-12T12:55:28 | 2021-09-12T12:55:28 | 394,989,515 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,613 | cpp | #include "Bureaucrat.hpp"
#include "Form.hpp"
int main(void)
{
std::cout << "TRYING GOOD VALUES in Form constructor" << std::endl;
std::cout << std::endl;
try {
Form test("Form1", 1, 1);
std::cout << "TEST (1): OK" << std::endl << test << std::endl;
} catch (std::exception & e) {
std::cout << "TEST (1): " ... | [
"stepakirillov59@gmail.com"
] | stepakirillov59@gmail.com |
04fd937687c557810dcab70ec14d0a4f1c096acd | cecb4e2d362f2b8d30602dec42946f2b74aaf4cf | /policies/DIF/RA/PDUFG/GRE/ClosRouting/GRE_Clos1R.cc | 43529458bfd46521d13ada9d6db77b56d8e86dae | [
"MIT"
] | permissive | kaleal/RINA | f4819dac38d51f525ba98ff11190549da27d90c7 | b1cec2a1f6dff4bbf95a967350cd4d533833a1d0 | refs/heads/master | 2021-06-24T16:48:24.875361 | 2017-08-13T20:54:19 | 2017-08-13T20:54:19 | 78,782,267 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,906 | cc | //
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it wil... | [
"gaixas1@gmail.com"
] | gaixas1@gmail.com |
018aa6c3b4db336bc878ec66fc81f5ad8f159334 | f468741573d6dfc931cf13d5ef75017086ddf9e4 | /MathLibraryTest/Tests/KazmathTests.cpp | 0772fc73e965186924a1730e19edad5310106ec6 | [] | no_license | chunkyguy/Math-Library-Test | 8f806dd41eaa0cf237a4062d1b505244f71b6fcc | ad13c4001625a3b5532160adf36d64c79050659f | refs/heads/master | 2021-12-01T15:50:20.559528 | 2021-11-12T13:24:24 | 2021-11-12T13:24:24 | 8,921,811 | 6 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,930 | cpp | //
// Created by Sidharth Juyal on 18/11/2020.
// Copyright © 2020 Noise & Heat. All rights reserved.
//
#include "KazmathTests.hpp"
#include "kazmath/kazmath.h"
namespace {
// since Kazmath does not provide any add function writing this in the style of kmMat4Multiply
kmMat4* kmMat4Add(kmMat4* pOut, const kmMat4* pM... | [
"juyal.sidharth@gmail.com"
] | juyal.sidharth@gmail.com |
0d1d258baa8fdce1e111e8ce240571acaef9ef6e | 21553f6afd6b81ae8403549467230cdc378f32c9 | /arm/cortex/Freescale/MK80F25615/include/arch/reg/rcm.hpp | d9d5c5a13630a19d9390f7cce75d65711e7962d6 | [] | no_license | digint/openmptl-reg-arm-cortex | 3246b68dcb60d4f7c95a46423563cab68cb02b5e | 88e105766edc9299348ccc8d2ff7a9c34cddacd3 | refs/heads/master | 2021-07-18T19:56:42.569685 | 2017-10-26T11:11:35 | 2017-10-26T11:11:35 | 108,407,162 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,423 | hpp | /*
* OpenMPTL - C++ Microprocessor Template Library
*
* This program is a derivative representation of a CMSIS System View
* Description (SVD) file, and is subject to the corresponding license
* (see "Freescale CMSIS-SVD License Agreement.pdf" in the parent directory).
*
* This program is distributed in the hope... | [
"axel@tty0.ch"
] | axel@tty0.ch |
da943ac4006889a4db557313d31aba0a7d018dfb | 8209f893a1e7effbf56d8114206e952eaf577b1d | /test/example/entity_copy.cpp | 2c678aaf32e5d540647e71f9dc51ed81fd201d76 | [
"CC-BY-SA-4.0",
"CC-BY-4.0",
"MIT"
] | permissive | aimoonchen/entt | 78d5e05c38e57c68926bd1b1418efcc39d67991f | cb974bf5671c757cbce2e0248787bad616b06bf9 | refs/heads/master | 2023-08-18T20:14:45.347641 | 2023-06-13T09:54:29 | 2023-06-13T09:56:56 | 159,793,898 | 0 | 0 | MIT | 2018-11-30T08:41:24 | 2018-11-30T08:41:24 | null | UTF-8 | C++ | false | false | 3,912 | cpp | #include <gtest/gtest.h>
#include <entt/core/hashed_string.hpp>
#include <entt/core/utility.hpp>
#include <entt/entity/registry.hpp>
#include <entt/entity/storage.hpp>
#include <entt/meta/factory.hpp>
#include <entt/meta/resolve.hpp>
enum class my_entity : entt::id_type {};
template<typename Type>
struct meta_mixin: ... | [
"michele.caini@gmail.com"
] | michele.caini@gmail.com |
9cc28d84fd517ce301ff1e33367116880a1ae622 | ad7127e67815f4488e762866b2a13ca3d0b62ca7 | /imp/Graph500-HPX/src/generator/mod_arith.hpp | 53b68f5e973a5d5718dea93399d69d8239e92c41 | [] | no_license | yanfengchun87/Graph500 | 1332ddf83bac019055579bb1f0cc321762ae6c2f | e7dc9967f44242431414d0203c7170517c8fa523 | refs/heads/master | 2021-02-22T18:05:20.210247 | 2016-07-15T17:55:17 | 2016-07-15T17:55:17 | 245,382,066 | 1 | 0 | null | 2020-03-06T09:43:38 | 2020-03-06T09:43:38 | null | UTF-8 | C++ | false | false | 1,185 | hpp | /* Copyright (C) 2010 The Trustees of Indiana University. */
/* */
/* Use, modification and distribution is subject to the Boost Software */
/* License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at */
/* http:... | [
"emc2314@mai.ustc.edu.cn"
] | emc2314@mai.ustc.edu.cn |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.