blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 7 100 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 260
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 11.4k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 17
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 80
values | src_encoding stringclasses 28
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 8 9.86M | extension stringclasses 52
values | content stringlengths 8 9.86M | authors listlengths 1 1 | author stringlengths 0 119 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
995ef9308b17ac66dbba9d9e78105583728df8b0 | 49941a855f39e0d76a0a62d5f7d578852322d5bd | /main.cpp | 81578d4dc2cadc19a0624bdb27a64ef6a38c8582 | [
"BSL-1.0"
] | permissive | mdraven/mdr_tree_style_tabs | adbc5e4284a80c603e08c08a985615c834a55071 | 7e6ecb9150f5a83d7bcf59b0de2b53ec148d69ac | refs/heads/master | 2021-01-20T05:07:41.504089 | 2015-09-02T12:12:46 | 2015-09-02T12:12:46 | 41,759,035 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,318 | cpp |
#include <mdrTreeStyleTabs/ITabWidget.hpp>
#include <mdrTreeStyleTabs/Node.hpp>
#include <mdrTreeStyleTabs/TabWidgetFactory.hpp>
#include <mdrTreeStyleTabs/TreeStyleTabs.hpp>
#include <QtWidgets/QApplication>
#include <QtWidgets/QMainWindow>
#include <QtWidgets/QPushButton>
#include <QtGui/QMouseEvent>
#include <QtGu... | [
"dravenshadowkeeper@gmail.com"
] | dravenshadowkeeper@gmail.com |
28bb66a601b9465ace00688018b5d9d0ad0d595b | 6ee07b866b184cb075f7c0b9ee081c5ec9f9f0ab | /LAB11/shiftingCode.cpp | fac22028db5b94972266eb543d586a7ffda7b9de | [] | no_license | zuzux3/Algorytmy-i-struktury-danych | ab58a8d9830da92b3cdd3d0952a16d423ec04b04 | 6a3a5dde5fe4dd8a75333bde1a1e7deb898adb1c | refs/heads/main | 2023-06-02T15:37:56.659213 | 2021-06-12T23:20:27 | 2021-06-12T23:20:27 | 349,502,983 | 0 | 0 | null | 2021-03-22T15:13:22 | 2021-03-19T17:25:29 | Python | UTF-8 | C++ | false | false | 412 | cpp | #include <iostream>
#include <string>
using namespace std;
int main() {
string sentence;
unsigned int strLength;
cout << "Podaj zdanie do zaszyfrowania:\n";
getline (cin, sentence);
strLength = sentence.length();
cout << "\nZaszyfrowane zdanie:\n";
for (int i = 0; i < strLength; i += 2)
... | [
"noreply@github.com"
] | noreply@github.com |
56eb96140f4cf5a0d018ed03083dc0fe357ae0b7 | c785b9f58e3e6ab2998b2923ad0df3ba5e64fbb2 | /Classes/Engine/StateMachine/FStateMachine.h | 54762a6344214432d61e34220bf463fcfd08b582 | [] | no_license | kylinda/xcode_jifengyongzhezhuan | d4673c4be036b0b79197271d2cca211541f15e0c | d914d59259bc1412f281193aadd6ad1c1f0b4ac0 | refs/heads/master | 2021-01-21T16:18:43.402867 | 2014-11-11T05:26:26 | 2014-11-11T05:26:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,320 | h | // TAOMEE GAME TECHNOLOGIES PROPRIETARY INFORMATION
//
// This software is supplied under the terms of a license agreement or
// nondisclosure agreement with Taomee Game Technologies and may not
// be copied or disclosed except in accordance with the terms of that
// agreement.
//
// Copyright (c) 2012-2015 Taom... | [
"sean.xiao123@gmail.com"
] | sean.xiao123@gmail.com |
143b24b193a393803fe7fb91e9c5ff38635e2764 | 5563344405c6f3149881528f822de5a71a1cdd13 | /Client/src/audio/SamplesBufferResampler.h | 9d582a66d894c3d77ca8b1d8203b0ce98f2353e5 | [] | no_license | DoublebassOO/JamTaba | 56e76914549a10affa9c3c84a480e88200f8f927 | 8513e8de10ddd859e49ad7c8b0d1b313517cf350 | refs/heads/master | 2021-01-22T14:10:52.987711 | 2015-11-19T13:55:52 | 2015-11-19T13:55:52 | 46,592,766 | 1 | 0 | null | 2015-11-20T23:38:04 | 2015-11-20T23:38:04 | null | UTF-8 | C++ | false | false | 437 | h | #ifndef SAMPLESBUFFERRESAMPLER_H
#define SAMPLESBUFFERRESAMPLER_H
#include "Resampler.h"
#include "core/SamplesBuffer.h"
class SamplesBufferResampler
{
public:
SamplesBufferResampler();
~SamplesBufferResampler();
const Audio::SamplesBuffer& resample(const Audio::SamplesBuffer& in, int desiredOutLenght);
p... | [
"elieserdejesus@gmail.com"
] | elieserdejesus@gmail.com |
7551cd5b6b51a05946d0dcfd204105ea999d3ba7 | dde6e5938841444ffcd15dbe952cb4b3520e0f1a | /CodeChef/15. Sparse Table (RMQ)/Problems/SEGPROD.cpp | 968c86bab8608e2c3f8e7b4d42f0a5d5aa71717c | [] | no_license | liaojh1998/Programming-Library | 02a5e8d910c019f473ff9c6c916d4401f431f62c | 8689fa7316e31064749f1ca8eae5ac99bf7bbe59 | refs/heads/master | 2021-01-18T21:42:26.979698 | 2018-07-19T03:07:01 | 2018-07-19T03:07:01 | 87,020,822 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,738 | cpp | #include <bits/stdc++.h>
using namespace std;
template<typename T> class DST{
private:
int N, height;
long long P;
T** st;
T func(const T& a, const T& b){
return (a * b)%P;
}
public:
DST(const int& n, const long long& p){
N = n;
P = p;
height = static_cast<int>(ceil(log2(N)))+1;
st = new T*[height];
... | [
"liaojh98@gmail.com"
] | liaojh98@gmail.com |
99dfc2285c8329009b60be8bad10d4f5e02ffe98 | b895d6679795bf49d8b0de6303b4eabe6a320d40 | /Code/CPP/RainWaterTrapping.cpp | 7bb1d04ce4c3d9102565bd334784817e19c5a28c | [] | no_license | Amanuttam1192/HacktoberFest21 | e1d7d0a4cf0ccd404642f4cc5ac24adaac293eb2 | d81941bbbfbb18afe97a72f53b1efbba074fbbae | refs/heads/main | 2023-08-01T10:26:47.438178 | 2021-10-04T14:27:34 | 2021-10-04T14:27:34 | 413,451,287 | 3 | 0 | null | 2021-10-04T14:13:50 | 2021-10-04T14:13:49 | null | UTF-8 | C++ | false | false | 861 | cpp | #include <bits/stdc++.h>
using namespace std;
//Time Complexity O(n)
//Space Complexity O(1)
int trappingWater(int arr[], int n){
int left = 0;
int right = n-1;
int res = 0;
int maxleft = 0, maxright = 0;
while(left <= right)
{
if(arr[left] <= arr[right])
{
if(arr[l... | [
"noreply@github.com"
] | noreply@github.com |
43eab2d5fe20aed3918b568f58066ebcbbf7a4eb | d73cf4af65fffc16c2326281fb7de3344566d6a1 | /COMMTOKENUpdateLib/ComConnect.cpp | 0ae53802815d7afe69908414b9f95c1796ea4d7c | [] | no_license | yongchaohu/WH_DEVICE | c3299ddd63ff15ca5ba3fa476cb90eee01ddb541 | 5212d3b15dfcf5a542c0936ebf0e72ed66b85d05 | refs/heads/master | 2020-05-27T20:38:35.562316 | 2019-06-24T03:02:29 | 2019-06-24T03:02:29 | 188,782,571 | 0 | 0 | null | 2019-05-27T06:18:48 | 2019-05-27T06:18:48 | null | GB18030 | C++ | false | false | 4,426 | cpp | #include "stdafx.h"
#include "ComConnect.h"
#include "TOKENUpdateLib.h"
#include <stdio.h>
ComConnect::ComConnect()
{
}
ComConnect::~ComConnect()
{
}
//****************************************************************************
// 打开连接处理
// function : open
// input: const char* Para 打开连接所必须的参数
// output: int... | [
"1017943468@qq.com"
] | 1017943468@qq.com |
6a919157eecbd372791a625da08ea1943590a00b | 366c3e3281a0ea8c2a0b319d9ec350030d8dcb05 | /unionFind.h | 50e072b3c5560ec373e07bd68163e2f65d4dded3 | [] | no_license | panpan2029/dataStructure | f7d8c3571d04f5f0d4b93639189a689b38ed6c42 | 00661ac1656d74b30e4edfaabeecb54437b89fcf | refs/heads/master | 2021-05-05T09:20:26.765534 | 2018-04-24T23:15:19 | 2018-04-24T23:15:19 | 119,268,678 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 587 | h | #ifndef UnionFind_H
#define UnionFind_H
#include <vector>
using namespace std;
class UnionFind
{
public:
explicit UnionFind(int sz):s(sz,-1){}
// ~UnionFind();
void unionSet(int root1, int root2){//root1 and root2 is not in one union
if(find(root1) == find(root2)) return;
if(s[root1] < s[root2]){ // root1's he... | [
"yapan@ucdavis.edu"
] | yapan@ucdavis.edu |
f3fa5a8e4e933d2a7b78919338334aa766b3fee9 | 8a87f5b889a9ce7d81421515f06d9c9cbf6ce64a | /3rdParty/boost/1.78.0/boost/phoenix/statement/detail/preprocessed/switch_40.hpp | 628bd42e74cbfc011bad2bbbc77315a458bafb2c | [
"BSL-1.0",
"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",
"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 | 779,260 | hpp | /*==============================================================================
Copyright (c) 2005-2010 Joel de Guzman
Copyright (c) 2010 Thomas Heller
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)
===... | [
"frank@arangodb.com"
] | frank@arangodb.com |
f29369d49c4681c4e42f53d789d0e856ba28f591 | 74b569cacd5e979576b9c0750e0bb670ff57164c | /action.h | 2b4a4f4d9e8b19093f5a2cb0800da24a64b8dc8b | [] | no_license | weitunglin/gloomhaven | 2dc1723d3c2ce89f3e9de107d82bcd4c4f1ad2eb | 6e8dd1fc6d6909946d61ab8f1faaea6a34128fd4 | refs/heads/master | 2022-10-08T14:23:33.316408 | 2020-06-10T10:01:40 | 2020-06-10T10:01:40 | 264,071,520 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 508 | h | #ifndef ACTION_H
#define ACTION_H
#include <QObject>
#include <QTextStream>
#include <QString>
#include <QDebug>
#include <iostream>
#include <vector>
class Action
{
public:
Action();
Action(const Action& rhs);
void setUp(QString s);
// friend QTextStream& operator>>(QTextStream& f, Action&);
QStri... | [
"weitung8@gmail.com"
] | weitung8@gmail.com |
89fe4c1cf23ac6b300297a17e56d66f4dbf1b984 | ce4380c97f81e842598193fd955eaf52f1eebb2b | /sketch_jul17a.ino | 81de717ea5b5bac5cf0a6217d48ba7d8c028da8b | [] | no_license | Anshul121998/wireless-motor-control-using-joystick | 3e4cab6a07695ad5fe8966f7692b6a47ce2d252f | 66cb9c07d82bd0d1ab6b2663de6cbd947845957c | refs/heads/master | 2020-04-05T01:50:44.615774 | 2018-11-06T21:52:57 | 2018-11-06T21:52:57 | 156,452,907 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 710 | ino | #include <Servo.h>
#include <Servo.h>
Servo servoLeft; // Define left servo
Servo servoRight;
Servo servotop;
int JoyX = 0;
int JoyY = 1;
int Joyval;// Define right servo
void setup() {
servoLeft.attach(5); // Set left servo to digital pin 10
servoRight.attach(6);
servotop.attach(3);// Set right... | [
"noreply@github.com"
] | noreply@github.com |
663221c9ed39e10d7858387a6dbe0168da931d7d | b930eda616cd16d3cb96d6e0916e0553ae7ab2c5 | /xui/background.h | 65f4fef11d88407e21b2378377dee9af2283cba2 | [
"BSD-2-Clause"
] | permissive | cctvbtx/xui-directUI-frame | b726f82221b1850ee88dc79b1c0d99780ac57303 | a439e12c5e969ae0943148a8e536e4a9f71e0111 | refs/heads/master | 2023-06-21T22:22:14.349024 | 2021-07-15T17:10:45 | 2021-07-15T17:10:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 436 | h | #pragma once
#include "types.h"
namespace xui {
struct Rect;
class Canvas;
class Background {
public:
~Background() {}
virtual void PaintBackground(Canvas* canvas, const Rect& view_rect) = 0;
};
class SolidBackground : public Background {
public:
SolidBackground(Color color);
void Paint... | [
"thlgood@yucoat.com"
] | thlgood@yucoat.com |
de1364cc3809b59a2fef5a076ed47f5d0e7a1f2d | fa29544ad6ea204c0fa8fa9f5f2150c6608c7029 | /C++程序设计入门/bool_cout.cpp | 88bd5c4664e7b8dcab1373939e32648ab97c001c | [] | no_license | velenk/CPP | 8f0c3024d4715acb1d9c5e1df44b4894f049f249 | e7b0f3df41a76f711563767fc7a63ebca50070f6 | refs/heads/master | 2020-03-22T19:33:17.175401 | 2018-09-15T09:40:15 | 2018-09-15T09:40:15 | 140,537,083 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 202 | cpp | #include <iostream>
int main(){
bool isAlpha = false;
if (!isAlpha){
std::cout<<"isAlpha="<<isAlpha<<std::endl;
std::cout<<std::boolalpha<<"isAlpha="<<
isAlpha<<std::endl;
}
return 0;
}
| [
"38948738+velenk@users.noreply.github.com"
] | 38948738+velenk@users.noreply.github.com |
34fd820eb3ace4ad883ba81d9e82f232d6741d8a | 3448a43cf0635866b25e5d513dd60fb003f47e29 | /src/xrGame/InventoryBox.cpp | f9db5d7f0a24bac9f6325c499eb9b359c6001ff2 | [
"LicenseRef-scancode-warranty-disclaimer",
"BSD-2-Clause"
] | permissive | xrLil-Batya/cordisproject | 49632acc5e68bea9847d001d82fb049703d223c2 | 24275a382fec62a4e58d11579bf497b894f220ba | refs/heads/master | 2023-03-19T01:17:25.170059 | 2020-11-17T14:22:06 | 2020-11-17T14:22:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,886 | cpp | #include "pch_script.h"
#include "InventoryBox.h"
#include "Level.h"
#include "Actor.h"
#include "game_object_space.h"
#include "xrScriptEngine/script_callback_ex.h"
#include "script_game_object.h"
#include "ui/UIActorMenu.h"
#include "UIGameCustom.h"
#include "inventory_item.h"
CInventoryBox::CInventoryBox()
{
m... | [
"phantom1020@yandex.ru"
] | phantom1020@yandex.ru |
a83262ba45f413eb33620fd0be532e17bdccb2c2 | 6d0d85891dc7bf5ddbe4f6b827585ad52da8de0a | /include/Drone.h | b95c6c9664220c5c121dac7c9a0a7f20378e8eba | [] | no_license | abhijithrm/RPiFlightComputerSoftware | 78601889d8a57de12e132e8236e0a4410fb019aa | 31b01e4b655151a91d0cb909db68af25a6f2938e | refs/heads/main | 2023-07-01T16:31:41.158817 | 2021-08-04T16:15:10 | 2021-08-04T16:15:10 | 379,693,323 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,283 | h | //TODO: VERIFY rASPPI iP,
#ifndef DRONE_H
#define DRONE_H
#include <ProtoData.pb.h>
#include <Logger.h>
#include <arpa/inet.h>
#include <sys/socket.h>
#include <netdb.h>
#include <ifaddrs.h>
#include <linux/if_link.h>
#include <string.h>
#include <numeric>
#include <iostream>
#include <chrono>
#include <mavsdk.h>
#in... | [
"abeezmailz@gmail.com"
] | abeezmailz@gmail.com |
6c04ebce70b58b64b4b1ac854dcafeaed8f4052e | 2b0ff7f7529350a00a34de9050d3404be6d588a0 | /100_VS2008_Check5TVEncoderChannel/Check5TVEncoderChannel_07/Check5TVEncoderChannel/CWMPPlaylist.h | 737b49ba4780da942ec856ec0a61b59eae0e7890 | [] | no_license | isliulin/jashliao_VC | 6b234b427469fb191884df2def0b47c4948b3187 | 5310f52b1276379b267acab4b609a9467f43d8cb | refs/heads/master | 2023-05-13T09:28:49.756293 | 2021-06-08T13:40:23 | 2021-06-08T13:40:23 | null | 0 | 0 | null | null | null | null | BIG5 | C++ | false | false | 2,849 | h | // CWMPPlaylist.h : 以 Microsoft Visual C++ 建立之 ActiveX 控制項包裝函式類別的宣告
#pragma once
/////////////////////////////////////////////////////////////////////////////
// CWMPPlaylist
class CWMPPlaylist : public COleDispatchDriver
{
public:
CWMPPlaylist() {} // 呼叫 COleDispatchDriver 預設建構函式
CWMPPlaylist(LPDISPATCH pDispat... | [
"jash.liao@gmail.com"
] | jash.liao@gmail.com |
783f0b9a59fa31d8bb9ec669da59b5db64f95c4a | 5e93c71d35c49de95369691ee7c8cf9ee18a0fa9 | /examples/echo/server.cpp | de34439bdecc257a98f9f656b204d02b07a7b0b4 | [] | no_license | xuzhaofangxzf/tcpsocket | e33cf9dda892cfb4a88e474f0ff637de6594c87f | 118abd3e88b4484df85b95815c9122cbd4bf3c4a | refs/heads/master | 2023-03-17T03:11:26.706721 | 2019-12-11T21:09:18 | 2019-12-11T21:09:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,202 | cpp | #include <iostream>
#include <signal.h>
#include "tcpserver.h"
#include "tcpssl.h"
#include "echoserver.h"
#include "serveroptions.h"
EPoll epoll;
ProgramOptions options;
bool terminated {false};
void handle_signal(int signal)
{
if (signal == SIGHUP) {
clog << "Caught SIGHUP. Shutting down" << endl;
termin... | [
"me@bondkeevil.ca"
] | me@bondkeevil.ca |
c653de1e52f5738d8c8f0cad65129bab5a78bdf9 | 608cf243607bfa7a2f4c91298463f2f199ae0ec1 | /ios/versioned-react-native/ABI38_0_0/ReactNative/ReactCommon/fabric/core/events/ABI38_0_0EventQueue.h | 74aa636377711aced8966cef72ccebbcaa47348a | [
"MIT",
"BSD-3-Clause",
"Apache-2.0"
] | permissive | kodeco835/symmetrical-happiness | ca79bd6c7cdd3f7258dec06ac306aae89692f62a | 4f91cb07abef56118c35f893d9f5cc637b9310ef | refs/heads/master | 2023-04-30T04:02:09.478971 | 2021-03-23T03:19:05 | 2021-03-23T03:19:05 | 350,565,410 | 0 | 1 | MIT | 2023-04-12T19:49:48 | 2021-03-23T03:18:02 | Objective-C | UTF-8 | C++ | false | false | 1,884 | h | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include <memory>
#include <mutex>
#include <vector>
#include <ABI38_0_0jsi/ABI38_0_0jsi.h>
#include <ABI38_0_0React... | [
"81201147+kodeco835@users.noreply.github.com"
] | 81201147+kodeco835@users.noreply.github.com |
1c650a20e65dfdbb5094247b1835b2b2b9094c7e | 0ac2d4be01b310b0ba9e0893a997154c55b0fcd3 | /external/thrust/testing/unittest/cuda/testframework.h | 40c7c3faab2cf51621eef6cddef6459174c370a9 | [
"Apache-2.0",
"BSL-1.0"
] | permissive | stonecoldhughes/gitr_ci_action | 39b3ec2a7816f5db1f8fa2860d2eb82a864564dc | a709df5bb661d8cd54c383b10eee4ecec219ee6e | refs/heads/master | 2023-02-19T22:21:37.396006 | 2021-01-21T08:28:19 | 2021-01-21T08:28:19 | 331,164,575 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 591 | h | #pragma once
#include <unittest/testframework.h>
#include <thrust/system/cuda/memory.h>
#include <thrust/system_error.h>
#include <vector>
class CUDATestDriver
: public UnitTestDriver
{
public:
int current_device_architecture() const;
private:
std::vector<int> target_devices(const ArgumentMap &kwargs);... | [
"null"
] | null |
dc0ad59ce7799a0810274fb3e0779cde64ef9c8b | d61d05748a59a1a73bbf3c39dd2c1a52d649d6e3 | /chromium/services/ws/common/switches.h | b7e1ab7fdbb7ec3eb2549085e65675bb6c061bd8 | [
"BSD-3-Clause"
] | permissive | Csineneo/Vivaldi | 4eaad20fc0ff306ca60b400cd5fad930a9082087 | d92465f71fb8e4345e27bd889532339204b26f1e | refs/heads/master | 2022-11-23T17:11:50.714160 | 2019-05-25T11:45:11 | 2019-05-25T11:45:11 | 144,489,531 | 5 | 4 | BSD-3-Clause | 2022-11-04T05:55:33 | 2018-08-12T18:04:37 | null | UTF-8 | C++ | false | false | 536 | h | // Copyright 2015 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 SERVICES_WS_COMMON_SWITCHES_H_
#define SERVICES_WS_COMMON_SWITCHES_H_
namespace ws {
namespace switches {
// All args in alphabetical order. The... | [
"csineneo@gmail.com"
] | csineneo@gmail.com |
20fa54955e247859e0925f64aed766d43512a47b | 60193311299ad70a697da3a65699fcd8b63bf264 | /Orge-Study/ogre_src_v1-8-0/OgreMain/include/OgreRectangle2D.h | 5b105396906f638a91b149460ae3cdc725e16ba8 | [] | no_license | DGHeroin/Mirror-GLSL-Study | cd6fac3967173f9bf77d8d32776508fa81a98d86 | 9df468c5d8cc77bd89f4185230fd0b34c3721cad | refs/heads/master | 2021-09-23T23:30:59.336825 | 2017-07-03T16:14:42 | 2017-07-03T16:14:42 | 96,129,238 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,062 | h | /*
-----------------------------------------------------------------------------
This source file is part of OGRE
(Object-oriented Graphics Rendering Engine)
For the latest info, see http://www.ogre3d.org/
Copyright (c) 2000-2012 Torus Knot Software Ltd
Permission is hereby granted, free of charge, to any per... | [
"ade.li.indie@gmail.com"
] | ade.li.indie@gmail.com |
9c6aae749f39c7bde4049cf747b91179551a5420 | 3cb635004677c95db974b79b7c2f736d74eeaf17 | /vision/jetsonSystem/src/jetsonSystemReceive.cpp | cbda1811bd508ea8805647deba491305c709b073 | [
"Apache-2.0"
] | permissive | Falcons-Robocup/code | 46ca709cf8680edc45494a40dc2db54e579dffe6 | dca3ffdfd7020a9913e6af6b555eac107b38a4ca | refs/heads/master | 2023-02-07T10:47:58.550403 | 2023-01-21T16:29:47 | 2023-01-21T16:29:47 | 102,643,355 | 6 | 7 | NOASSERTION | 2019-09-24T21:05:13 | 2017-09-06T18:22:44 | C++ | UTF-8 | C++ | false | false | 2,339 | cpp | // Copyright 2018-2019 Andre Pool
// SPDX-License-Identifier: Apache-2.0
#include "camSysReceive.hpp"
#include <arpa/inet.h>
#include <errno.h>
#include <iostream>
#include <mutex>
#include <net/if.h>
#include <pwd.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/time.h>
#include <thread>
#... | [
"jeffrey.pernis@asml.com"
] | jeffrey.pernis@asml.com |
58310a23772da3864403cb6f0f24bd90d07dad60 | 99249e222a2f35ac11a7fd93bff10a3a13f6f948 | /ros2_mod_ws/build/rcl_interfaces/rosidl_typesupport_c/rcl_interfaces/srv/set_parameters_atomically__request__type_support.cpp | a92d4497f18f201ed864196fba4b57e927c6dda0 | [
"Apache-2.0"
] | permissive | mintforpeople/robobo-ros2-ios-port | 87aec17a0c89c3fc5a42411822a18f08af8a5b0f | 1a5650304bd41060925ebba41d6c861d5062bfae | refs/heads/master | 2020-08-31T19:41:01.124753 | 2019-10-31T16:01:11 | 2019-10-31T16:01:11 | 218,764,551 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 950 | cpp | // generated from rosidl_typesupport_c/resource/msg__type_support.cpp.em
// generated code does not contain a copyright notice
#include <cstddef>
#include "rosidl_generator_c/message_type_support_struct.h"
#include "rcl_interfaces/msg/rosidl_typesupport_c__visibility_control.h"
#include "rcl_interfaces/srv/set_param... | [
"lfllamas93@gmail.com"
] | lfllamas93@gmail.com |
de098fc9faa6ebd4c8820f7b322c4e18cdcb3a31 | 9907672fcd81ab73ac63b2a83422a82bf31eadde | /atcoder/tyama_atcodercodeformula2014qualbC.cpp | da954dd09fbff8e6d448d9295b0192e67bfa6de8 | [
"0BSD"
] | permissive | cielavenir/procon | bbe1974b9bddb51b76d58722a0686a5b477c4456 | 746e1a91f574f20647e8aaaac0d9e6173f741176 | refs/heads/master | 2023-06-21T23:11:24.562546 | 2023-06-11T13:15:15 | 2023-06-11T13:15:15 | 7,557,464 | 137 | 136 | null | 2020-10-20T09:35:52 | 2013-01-11T09:40:26 | C++ | UTF-8 | C++ | false | false | 1,643 | cpp | #include <iostream>
#include <string>
#include <map>
#include <unordered_set>
using namespace std;
int main(){
string A,B,A1,B1;
cin>>A1>>B1;
//check 1: size
if(A1.size()!=B1.size()){
cout<<"NO"<<endl;
return 0;
}
//check 2: type
{
map<char,int>ma;
for(int i=0;i<A1.size();i++)ma[A1[i]]++;
map<char,in... | [
"cielartisan@gmail.com"
] | cielartisan@gmail.com |
97e325deb56fa2825b564fc1226ed7a045e090ff | 551d6d233242895818d7239beac3b498cfab3927 | /src/util.h | a2b2053ac2d185dacd0e29fd4aa471667a569abe | [
"MIT"
] | permissive | paxiox/paxiox | a48a29af11ca0a8d55765c614d93a147c5ae2b10 | 45b38025dfa67b441498ff04453061db4089d852 | refs/heads/master | 2020-03-21T13:24:52.158743 | 2018-06-25T14:16:18 | 2018-06-25T14:16:18 | 138,604,224 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,546 | h | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The PIVX developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-licens... | [
"37544800+dashplatinumdev@users.noreply.github.com"
] | 37544800+dashplatinumdev@users.noreply.github.com |
61e38935ae9f1f1f2fadb985fe73bfd44d23ab55 | 37b214a553b3a9df75da78c045fbd23312cfe63f | /uva.10931.cpp | e556e9026c642635dadee0cb71c181b68572c9f5 | [] | no_license | ihumaunkabir/UVA-Solutions | de80f3d5a9de35612041ab54bfd79eb818738b87 | b63acb6ec6ffe557fd2b1c709928de9a46c65c6e | refs/heads/master | 2021-08-20T09:30:39.792615 | 2017-11-28T20:15:52 | 2017-11-28T20:15:52 | 52,262,694 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 314 | cpp | #include <iostream>
using namespace std;
int main()
{
long long dec,rem,i=1,sum=0;
while(cin>>dec)
{
do
{
rem=dec%2;
sum=sum + (i*rem);
dec=dec/2;
i=i*10;
}while(dec>0);
cout<<sum<<endl;
sum=0;
}
return 0;
}
| [
"psychopath.humaun@gmail.com"
] | psychopath.humaun@gmail.com |
bb283f8e86261328baf64e05c19536a1a69dd958 | 451ab1e84ae56931352f38ef2ea82d4c14a17497 | /cocos2d/extensions/Particle3D/PU/CCPUOnPositionObserverTranslator.h | 5a8179d4c0cdade694b3eba4add0fb7d0ac93b12 | [
"MIT"
] | permissive | denghe/xxlib_cocos_cpp | 64b5c02b2525e6f8f27efcc0daa2855e90388063 | d4e9c6f0e59c3db01a6791622188576089df5afe | refs/heads/master | 2021-06-27T21:33:54.024283 | 2020-09-26T07:03:17 | 2020-09-26T07:03:17 | 154,665,907 | 6 | 3 | null | 2019-05-23T14:21:14 | 2018-10-25T12:19:53 | C++ | UTF-8 | C++ | false | false | 2,128 | h | /****************************************************************************
Copyright (C) 2013 Henry van Merode. All rights reserved.
Copyright (c) 2015-2016 Chukong Technologies Inc.
Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd.
http://www.cocos2d-x.org
Permission is hereby granted, free of ... | [
"denghe@hotmail.com"
] | denghe@hotmail.com |
78a1c1eefe0f895a733d05357296b5bdd21503a8 | 5a7c2a825728acdc41ba1c883e64def2aa0d8970 | /tfs2/src/master/ChunkServerManager.hpp | b9e2d056ea05d324a45e74ec321978a78b045fbe | [] | no_license | kyhhdm/TPlatform | 6f4df42b3e628f116ae4f8efb91a5a363e2e82ed | 77020007648d609e074959b7cb29ee246e0cd400 | refs/heads/master | 2021-01-22T23:16:35.491597 | 2012-08-30T04:07:30 | 2012-08-30T04:07:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,692 | hpp | /**
* @file ChunkServerManager.hpp
* Manage chunkserver and its chunks.
*
* @author YANG Zhifeng
* @date 23 5 2007
*/
#ifndef _CHUNKSERVERMANAGER_HPP
#define _CHUNKSERVERMANAGER_HPP 1
#include "master/ChunkServerInfo.hpp"
#include "common/Types.hpp"
#include "common/IceGenerated.hpp"
#include "common/Exception... | [
"kyhhdm@gmail.com"
] | kyhhdm@gmail.com |
f8157e1fe5cedcece72855590bce1a984ae56844 | 90c4765c7312bb908ecbd688c96648b28b30b87f | /JoyShockMapper/include/HidHideApi.h | a8ab9bd108d47bafcb2feb4e0046edce024dc828 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-hidapi"
] | permissive | Electronicks/JoyShockMapper | 757acdeee063f8ec231d1040bd6bc652296a1226 | daf20a3e56cc2ae8f7c41bacead12da65b6e853e | refs/heads/master | 2023-08-18T04:10:55.993549 | 2023-01-30T13:46:27 | 2023-01-30T13:46:27 | 213,993,060 | 257 | 30 | NOASSERTION | 2023-08-14T19:51:26 | 2019-10-09T18:23:23 | C++ | UTF-8 | C++ | false | false | 2,810 | h | // (c) Eric Korff de Gidts
// SPDX-License-Identifier: MIT
// Config.h
#pragma once
#include <string>
#include <vector>
#include <filesystem>
#include <Windows.h>
#include <initguid.h>
#include <devpkey.h>
#include <devguid.h>
#include <winioctl.h>
#include <Hidsdi.h>
#include <hidclass.h>
#pragma comment(lib, "Hid.li... | [
"nicolas.lessard.3@gmail.com"
] | nicolas.lessard.3@gmail.com |
242b4596e47194b9072e30a9604c03a9799879ee | 4611a8c6249ba9c2c1aeb08e380f6635d7e9f068 | /src/ship.cpp | 1b43ea1b852cbbb2fb113b0aaa5ec7f520ae442f | [] | no_license | gcobos/spacewar | d78df5f494bb8acf3283ad36bfdfd162f25ff2a6 | 652ff968f27d64a444007ca1ffbbd6b2a4919e2b | refs/heads/master | 2021-01-21T11:00:17.890268 | 2017-03-01T05:30:12 | 2017-03-01T05:30:12 | 83,513,138 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 14,846 | cpp | #include <ClanLib/display.h>
#include <ClanLib/sound.h>
#include "ship.h"
#include "spacewar.h"
#include "missile.h"
Ship::Ship (GameObjectType type, SpaceWar *game) : GameObject(game)
{
rotateAngle=CL_Float("Configuration/Ships/Rotate/Angle",game->resources);
rotateReloadTime=CL_Float("Configuration/Ships/Rotate/R... | [
"gcobos@gmail.com"
] | gcobos@gmail.com |
a29f3ebc2498ad76ab8a8cff3661a962626a5709 | f78daed02c5877bbb4355575371d8cce84c00e28 | /gui/VS/include/main.hpp | 0b0b2dc5155769c229d4b715a40bd4e6a0d73a70 | [
"MIT"
] | permissive | PableteProgramming/download | 371ed7fb2cf23f7d6bb4f6ea3d490c4e23b159af | 013e35bb5c085e5dfdb57a3a0a39cdf2fd3064b8 | refs/heads/master | 2023-06-19T01:30:01.003740 | 2021-07-16T07:48:01 | 2021-07-16T07:48:01 | 381,447,535 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 424 | hpp | #include <windows.h>
#include <stdlib.h>
#include <string.h>
#include <tchar.h>
#include <string>
#include <resource.h>
#include <codecvt>
#include <request.hpp>
const int Wwidth= 730;
const int Wheight=315;
const int offset = 50;
LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM);
INT_PTR CALLBACK DlgProc(HWND, UIN... | [
"70910514+PableteProgramming@users.noreply.github.com"
] | 70910514+PableteProgramming@users.noreply.github.com |
6be0620a3590033874d5ecc12658b2c2ba2ea6f5 | ac7b08b846be1b1e5b3532b609f664b71b626674 | /Quarter/SplitIP_Multi2One_thred.cpp | 30a0dee1b862c9bbe913420688e1b5cd2eeacb03 | [
"MIT"
] | permissive | Jingyi-li/FAM_Synthesis | 127ba11218151eb077469ed485e50bfd7e9a2324 | 7545976aff8f5d6784dad3040011f8172428960a | refs/heads/main | 2023-04-11T08:10:41.872851 | 2023-02-27T00:51:20 | 2023-02-27T00:51:20 | 503,232,461 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,747 | cpp | #include "ap_int.h"
#include "ap_fixed.h"
#include "hls_math.h"
#include "hls_stream.h"
#include "exp_table.h"
#include "window.h"
#include "types.h"
#include "fft_top.h"
#include "fxp_sqrt_top.h"
using namespace hls;
void Multi2One_func(
hls::stream<AXI_SCD> r_AXI_out[STRIDE][Phalf],
hls::stream<AXI_value>& r_... | [
"jingyi.li@sydney.edu.au"
] | jingyi.li@sydney.edu.au |
3b3922800841814862ee86faff0249bbe0ebdb32 | 779ba2b52536e6a0594305572ff217fd91cf475e | /InterSharpWrapper/SQF.cpp | 26a047c57be82d69480cc5d50a686a0ac6f08025 | [] | no_license | Cloudhax23/InterSharp | 90cb57f08283c85fc7f3aca6244ce62b7c3ea86c | 4c7699a3569f0f3b06978b50c4ed52df13b172f2 | refs/heads/master | 2021-09-06T06:14:09.845459 | 2018-02-03T02:58:00 | 2018-02-03T02:58:00 | 120,052,624 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 148 | cpp | #include "Stdafx.h"
#include "..\InterSharp\SQF.h"
#include "SQF.h"
namespace InterSharp {
float SQF::time()
{
return Native::SQF::time();
}
} | [
"qadeem@netsyms.com"
] | qadeem@netsyms.com |
83d7cb726ec3f016ea585e5242f24ff67748cffc | b03cf4abbdc251b34373822bf6ababe364a21527 | /AoC-2022/day16.cpp | c219816999670ab181e4166d480c54d60901a0d8 | [] | no_license | Perryvw/AdventOfCode | 60ba489f068305bc09c9193c22476292fe7e4077 | 097754204c7a9bd950ddabc115ce3b7d46fd0f81 | refs/heads/master | 2023-01-11T01:16:35.963310 | 2022-12-25T09:54:41 | 2022-12-25T09:54:41 | 226,412,187 | 0 | 0 | null | 2022-06-06T21:50:24 | 2019-12-06T21:15:23 | TypeScript | UTF-8 | C++ | false | false | 7,368 | cpp | #include "aoc.h"
#include "helpers.h"
#include <array>
#include <queue>
#include <unordered_map>
#include <unordered_set>
namespace
{
constexpr auto TIME_P1 = 30;
constexpr auto TIME_P2 = 26;
using ValveStates = uint64_t;
using EdgeList = std::unordered_map<int, std::vector<std::pair<int, int>>>;
using FlowValu... | [
"perry.wesel@gmail.com"
] | perry.wesel@gmail.com |
fe9366a4c738cd313c76fe14e8ff9a43d9bb5c43 | 08b8cf38e1936e8cec27f84af0d3727321cec9c4 | /data/crawl/squid/new_hunk_7960.cpp | 3ce844e68982fa4f4acf8c0d6c0024fa4d7c840f | [] | no_license | ccdxc/logSurvey | eaf28e9c2d6307140b17986d5c05106d1fd8e943 | 6b80226e1667c1e0760ab39160893ee19b0e9fb1 | refs/heads/master | 2022-01-07T21:31:55.446839 | 2018-04-21T14:12:43 | 2018-04-21T14:12:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,441 | cpp | /* $Id: debug.cc,v 1.5 1996/03/27 18:15:42 wessels Exp $ */
#include "squid.h"
char *_db_file = __FILE__;
int _db_line = 0;
int syslog_enable = 0;
int stderr_enable = 0;
FILE *debug_log = NULL;
static char *debug_log_file = NULL;
static time_t last_cached_curtime = 0;
static char the_time[81];
#define MAX_DEBUG_SEC... | [
"993273596@qq.com"
] | 993273596@qq.com |
675d35e4af9b66efcdc1eaaf04d94d8460c15d92 | e7503c8545a4c224c34c2442c434753fb883f107 | /Hangman/Hangman/Config.h | 3347e03088cdcd806e95d5206cbc285753053f82 | [] | no_license | ShawnDordeJay/Hangman | f44b27cf27eaffd94d0228f946c24a61b40819b1 | abd08192d748051bb29c98049c1e1a9a2100559e | refs/heads/master | 2020-04-14T16:03:45.420560 | 2019-01-03T13:03:57 | 2019-01-03T13:03:57 | 163,942,725 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 253 | h | #pragma once
class Config
{
public:
~Config();
static Config *getInstance(int maxwords, int maxtries);
int getMaxWords();
int getMaxTries();
private:
Config(int maxwords, int maxtries);
static Config *instance;
int maxwords;
int maxtries;
};
| [
"ijerinic.itsb-b2017@fh-salzburg.ac.at"
] | ijerinic.itsb-b2017@fh-salzburg.ac.at |
1f8d297adf56cd1f9116aea19b4f294b3b4bbdbf | 19a843ca2a4af4ccf7488a0dface7d89f9ec4d46 | /potd/potd-q13/potd.h | 73f36707b9569fa8eaacd4210a1583e2813df2b8 | [] | no_license | andyz2045/CS225-Data-Structures | eae021f2670828985abbdfdadbe04e0e79f7513f | 8961e7d1363f32552add7020d98d8faf175b02a2 | refs/heads/master | 2022-11-28T23:40:44.187842 | 2020-08-05T13:50:37 | 2020-08-05T13:50:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 424 | h | //
// Write a templated function `more` which takes in two variables of the same
// type and returns whichever variable is greater than (`>`) the other.
//
#pragma once
template<typename T> const T & more(const T &one, const T &two) {
// your code here
// T result;
// result = (one > two) ? one : two;
... | [
"57075708+yuw14@users.noreply.github.com"
] | 57075708+yuw14@users.noreply.github.com |
9774cf1dc4e33d4cb60ef36164769244628fcb6d | fcb4d4a5e594cbf9733575160baad687284c3615 | /lesson_118/FindGreaterElements.cpp | 57325bf1c6d8a0a0f23635b1cf43e43e55890139 | [] | no_license | AndreSci/Cpp | 261c4a6fb45c59cff4b199eb1ccee6b039ad05ae | f1a7567e83739f9367360dde9b053a5c69f65f32 | refs/heads/main | 2023-03-18T04:39:44.265725 | 2021-03-15T10:44:10 | 2021-03-15T10:44:10 | 308,345,800 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 607 | cpp | #include <iostream>
#include <vector>
#include <string>
#include <algorithm>
#include <set>
#include <iterator>
using namespace std;
template <typename T>
vector<T> FindGreaterElements(const set<T>& elements, const T& border)
{
vector<T> result;
for (auto w : elements)
{
if(w > border)
{
result.push_back(... | [
"noreply@github.com"
] | noreply@github.com |
16e4849e89ed1501e3fc99c9812704439d449df8 | 005cb1c69358d301f72c6a6890ffeb430573c1a1 | /Pods/Headers/Private/GeoFeatures/boost/mpl/aux_/preprocessed/bcc/vector_c.hpp | 0b636475c6cb920a23fe5cb0e6fe0c6664d5d0a5 | [
"Apache-2.0"
] | permissive | TheClimateCorporation/DemoCLUs | 05588dcca687cc5854755fad72f07759f81fe673 | f343da9b41807694055151a721b497cf6267f829 | refs/heads/master | 2021-01-10T15:10:06.021498 | 2016-04-19T20:31:34 | 2016-04-19T20:31:34 | 51,960,444 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 92 | hpp | ../../../../../../../../GeoFeatures/GeoFeatures/boost/mpl/aux_/preprocessed/bcc/vector_c.hpp | [
"tommy.rogers@climate.com"
] | tommy.rogers@climate.com |
4bafa7c9f00bf5a17f448ab360109d352cc39435 | c8f54e785f872f8240234728461d9af8dc0126dd | /chapter12/12.1.6/test.cc | e6c8bb4db8e606d0a6e4822998a50c33b1578e87 | [] | no_license | YMChenLiye/cpp_primer | 5d4cffc0e0a162757ff9f75e62b5a21891b38a7a | 33aba9f01b3e598648a9a30f0fc8ec979da294ae | refs/heads/master | 2021-01-10T14:36:01.678296 | 2016-03-03T11:07:17 | 2016-03-03T11:07:17 | 47,110,426 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 50 | cc | #include "ex_12_22.h"
int main()
{
return 0;
}
| [
"ymchenliye@gmail.com"
] | ymchenliye@gmail.com |
7120cd53fecc522cfdeb87d58697db62f2163d66 | 136ef215ae05f74d31dab2336979a94dfe960992 | /519-robot-arm/simple/simple.ino | e53ce2bf7dca726d2dbe8af452403a12f7dd2f9b | [] | no_license | zmaker/arduino_cookbook | 5ff4791ebce916e35060f2e9a7c26a014adeb26c | a972470c10f2c283d66aad8f389acf117a25f01e | refs/heads/master | 2023-08-30T21:08:28.290973 | 2023-08-28T11:14:41 | 2023-08-28T11:14:41 | 135,202,699 | 196 | 134 | null | 2020-05-27T17:53:02 | 2018-05-28T19:46:44 | C++ | UTF-8 | C++ | false | false | 2,588 | ino | /***************************************************
This is an example for our Adafruit 16-channel PWM & Servo driver
Servo test - this will drive 8 servos, one after the other on the
first 8 pins of the PCA9685
Pick one up today in the adafruit shop!
------> http://www.adafruit.com/products/815
These... | [
"paolo.aliverti@gmail.com"
] | paolo.aliverti@gmail.com |
efa175b730c3bd8ef15decdde027b75b94737d37 | 2a0eaf1cf458261635dd43a6fc1448df271ba460 | /websocketscpp/include/Server.h | b64a961db07bcf4261f7ff463c16cae8b8ed930e | [] | no_license | lstachowicz/websocketscpp | 15d32c9a48a4b9227dfee1eeb763e4e85452f29f | c145486460c07845eb54ec40cc22be102a0a5933 | refs/heads/master | 2021-01-22T17:58:09.596481 | 2020-06-05T22:35:23 | 2020-06-05T22:35:23 | 25,765,343 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,072 | h | #ifndef WEBSOCKETSCPP_SERVER
#define WEBSOCKETSCPP_SERVER
#include <sys/types.h>
#include <string>
/**
* @class Server
*
* @brief Creating instance of server.
*
* @note Server class must be overrider to manage a connections.
*/
namespace WebSocketCpp {
class Server
{
friend class ServerPrivate;
public:
Se... | [
"lustachowicz@gmail.com"
] | lustachowicz@gmail.com |
64200988eed6b38501b266cb6d4f9c58e73763d4 | 466488ab4620dffa9c36f27c3c0749a2a089a91b | /HDR Auto/FileHDR.hpp | 1060f09959ad826cab3468bb85c1d97dd85acc61 | [] | no_license | Darkgrouptw/HDR-Auto | 76a2f3b6bade8e9f6e1f53131903871157ab54fd | 26c9cca13ef35e4ba8c1b4f4713f824d2b7638fd | refs/heads/master | 2021-05-01T04:45:13.394155 | 2016-02-02T07:14:03 | 2016-02-02T07:14:03 | 48,347,525 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,541 | hpp | #pragma once
namespace FileHDR {
void help() {
printf(".hdr files. These always have three channels and one frame. They store data\n"
"in a 4 bytes per pixel red green blue exponent (rgbe) format.\n");
}
#define RED 0
#define GRN 1
#define BLU 2
#define ... | [
"darkgrouptw@gmail.com"
] | darkgrouptw@gmail.com |
d6cce15af1d0a8ff2a54f6dfbf8d0612602009cd | 659d99d090479506b63b374831a049dba5d70fcf | /xray-svn-trunk/xr_3da/xrGame/ik_foot_collider.h | 9ee31105e604606803e72b0458c4cbac8c01b131 | [] | no_license | ssijonson/Rengen_Luch | a9312fed06dd08c7de19f36e5fd5e476881beb85 | 9bd0ff54408a890d4bdac1c493d67ce26b964555 | refs/heads/main | 2023-05-03T13:09:58.983176 | 2021-05-19T10:04:47 | 2021-05-19T10:04:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,776 | h | #pragma once
#include "ik_collide_data.h"
class CGameObject;
class ik_pick_query
{
public:
ik_pick_query ( ): _point( ik_foot_geom::none ),
_pos( Fvector().set( -FLT_MAX, -FLT_MAX, -FLT_MAX ) ),
_dir( Fvector().set( -FLT_MAX, -FLT_MAX, -FLT_MAX ) ),
_range( -FLT_MAX )
{}
ik_pick_query(
... | [
"16670637+KRodinn@users.noreply.github.com"
] | 16670637+KRodinn@users.noreply.github.com |
5877274fa6c60a7f708ae6332c8014d098fcb648 | 1350b69984306fe17026aa437705236dec2ac868 | /2DRenderer/Renderer.cpp | 3ef9ea08275bcf842769e8cff635a63bb5dae684 | [] | no_license | GudBoyGravy/GAT350 | 88a764bda900bee33d5220ebf846d9f4b73ef2c2 | 90c20fba3397e1f5429bbab3e5e76978acb4fe05 | refs/heads/master | 2023-08-21T20:57:56.986024 | 2021-11-03T14:22:54 | 2021-11-03T14:22:54 | 414,257,323 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,071 | cpp | #include "Renderer.h"
#include "Framebuffer.h"
#include <iostream>
Renderer::~Renderer()
{
SDL_DestroyRenderer(renderer);
SDL_DestroyWindow(window);
}
bool Renderer::Initialize(int width, int height, bool fullscreen)
{
this->width = width;
this->height = height;
if (SDL_Init(SDL_INIT_VIDEO) != 0)... | [
"gsudweeks@student.neumont.edu"
] | gsudweeks@student.neumont.edu |
1245af74eec8c5074ee1b2eb9d4f4cd5fb772ad8 | 6126e0a82f515d20f842fb7ad56d3f34818857f9 | /npu_common/DmaChannel.h | 57ae1d6beb4280f6dd39e827bcc63e3d9956ddce | [] | no_license | vivric/systemc_lab | 4a680f954b60b014c8c47616b4548487456c2fa1 | b57c4f82a3ef15884b0341f1a94dd2913bcd8354 | refs/heads/master | 2021-01-01T06:33:43.500770 | 2014-05-29T11:37:58 | 2014-05-29T11:37:58 | 20,291,711 | 5 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 6,690 | h | /*****************************************************************************
The following code is derived, directly or indirectly, from the SystemC
source code Copyright (c) 1996-2008 by all Contributors.
All Rights reserved.
The contents of this file are subject to the restrictions and limitations
set forth ... | [
"vivin.ric@gmail.com"
] | vivin.ric@gmail.com |
ff183e7f3664af8f58e518ad0ca42ff6740c4687 | ab97a8915347c76d05d6690dbdbcaf23d7f0d1fd | /ui/views/controls/button/toggle_button.cc | 0c840504a9715feade4f46e67e3df560b90fea6d | [
"BSD-3-Clause"
] | permissive | laien529/chromium | c9eb243957faabf1b477939e3b681df77f083a9a | 3f767cdd5c82e9c78b910b022ffacddcb04d775a | refs/heads/master | 2022-11-28T00:28:58.669067 | 2020-08-20T08:37:31 | 2020-08-20T08:37:31 | 288,961,699 | 1 | 0 | BSD-3-Clause | 2020-08-20T09:21:57 | 2020-08-20T09:21:56 | null | UTF-8 | C++ | false | false | 12,316 | cc | // Copyright 2016 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/button/toggle_button.h"
#include <memory>
#include <utility>
#include <vector>
#include "cc/paint/paint_flags.h"
#include "t... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
dec62a3beb539f2996caf2d845a7a01d29bfcdee | 44e26d76eed48195bc2432d7209386fb0a6d3c9d | /HW2/udpmulti.cpp | ecdb921890ad87a1585eb1c939bcd5203bd6cad1 | [] | no_license | Cdower/netprog | 932d67fa1da50d9f54e94f26b0123b8889ca358f | e482a87a271b7da8156ef0fc7493390078b1f2ca | refs/heads/master | 2021-01-01T05:06:15.864976 | 2017-01-13T20:31:36 | 2017-01-13T20:31:36 | 57,340,712 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,891 | cpp | #include <netinet/in.h>
#include <sys/socket.h>
#include <arpa/inet.h>
#include <pthread.h>
#include <stdio.h>
#include <stdlib.h>
#include <cstring>
#include <string>
#include <unistd.h>
#include <iostream>
#include <sstream>
#include <map>
#define PORT 23456
#define HOST "239.255.24.25"
#define WAIT 60
#define NUM_T... | [
"devwowow@gmail.com"
] | devwowow@gmail.com |
996339eb712c20e0aa99357dac246adf8081e335 | 52032dcce125ad659fe01e75698a4b5c827d6662 | /HNUOJ/31.cpp | 0389c8eab85bdd7a55b04d75a8143f2ddaa068cb | [] | no_license | lishuhuakai/OJ | b59bd1a1f74864b9da3d9626d650ef3f256488fb | 41316f669f7472c39e3795a1e9ec24152b1e1cfd | refs/heads/master | 2021-01-17T06:24:41.087886 | 2017-03-05T06:23:14 | 2017-03-05T06:23:14 | 68,460,705 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 717 | cpp | #include <iostream>
#include <algorithm>
using namespace std;
/*这种题目估计又是背包问题*/
int bill[20];
bool cmp(int a, int b)
{
return a > b;
}
int find(int* bill, int kind, int money)
{
int res = 0;
for (int i = 0; i < kind; ++i)
{
if (bill[i] <= money)
{
money -= bill[i];
res++;
}
}
if (money > 0)
return -1... | [
"lishuhuakai@gmial.com"
] | lishuhuakai@gmial.com |
15b900dba4b451b2640be900d3a0576beda76a85 | 46e3029c2d7b58f4d6f2dea854d85d88b59fd48a | /googleTest/src/example.cpp | 18833fba6a12a9801ae0648ea64afdf185304a6b | [] | no_license | PhysicsX/ExampleCode | f3b9b712715c6f694c39c9e763cfac9e44c0f8ee | f934e11c4fdd2c576c6a404ce9051fca36f2f6cd | refs/heads/master | 2023-09-01T15:09:37.060748 | 2023-08-07T19:42:32 | 2023-08-07T19:42:32 | 250,064,933 | 19 | 12 | null | null | null | null | UTF-8 | C++ | false | false | 582 | cpp | #include <iostream>
#include <gtest/gtest.h>
using namespace std;
class example
{
public:
int foo()
{
return 1;
}
};
class exampleFixture : public testing::Test
{
public:
exampleFixture(){
testExPtr = new example();
}
~exampleFixture()
{
delete testExPtr;
}
void SetUp(){}
void TearDown(){}... | [
"ulasdikme@gmail.com"
] | ulasdikme@gmail.com |
91219b6c71b9ce3df79529c10f2553581e1ef04e | 05bf7c0ac4a2f99ac01408249b4a0ab8797f8cfb | /codeforces/vAndCubes.cpp | f5d102f1b99b7523d2caf4a6d4076fc0b6b3c777 | [] | no_license | cjb129/SIG_Programming | 041fa8bb8034d951cbb3e51b5cb6cd8efb15b8d0 | 979cdf4dc6448aa7d87bab7756ddf8a17450b2cf | refs/heads/master | 2020-06-07T08:25:30.190550 | 2015-02-03T18:33:21 | 2015-02-03T18:33:21 | 9,206,469 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 295 | cpp | //Vanya and Cubes, solved 1/27/15
//http://codeforces.com/contest/492/problem/A
#include<iostream>
using namespace std;
int main() {
int n, count = 1, f=0, total=0;
cin >> n;
for(int i = 1; i < n;i++) {
f+=i;
total+=f;
if(total>n) break;
count = i;
}
cout << count << endl;
}
| [
"c@c-VirtualBox.(none)"
] | c@c-VirtualBox.(none) |
e5d8743c0664ce5bab7988e38ff86e8e92b04a6d | 4f6cc9dc5b604c61e847229f72a54801e1bc820d | /Dynamic_Programming/Matrix Chain Multiplication/PalinDrome Partitioning/memoizeOptimised.cpp | 2345e63dacadf91e5def0ce8969903a2a590a095 | [] | no_license | vishal8803/HactoberFest2021 | 05698fb05ea8cc0284f0e020167349bd137ff226 | 97bec3cf88825eb68c2af99415fb773670bc9f86 | refs/heads/main | 2023-08-16T09:18:39.341743 | 2021-10-18T13:46:53 | 2021-10-18T13:46:53 | 418,519,314 | 0 | 0 | null | 2021-10-18T13:42:35 | 2021-10-18T13:42:35 | null | UTF-8 | C++ | false | false | 963 | cpp | #include "bits/stdc++.h"
using namespace std ;
int t[1002][1002] ;
bool isPalin(string s ,int i ,int j)
{
while(i<j)
{
if(s[i]==s[j])
{
i++ ;
j-- ;
}else
{
return false ;
}
}
return true ;
}
int solve(string s ,int i ,int j)
... | [
"badrivishalsinghal8803@gmail.com"
] | badrivishalsinghal8803@gmail.com |
756ad0afe1934962c66808815dc597400bc76ad0 | 28717d1e63f1c4498f37fd1389daddabb5d9b335 | /Source/FirstGame/Public/SAdaptText.h | cd3c590f58566a26ba1a981cd6373dde04b31d4e | [] | no_license | 0lfh0/AdapterText | 1460b6df85f5876655ac6b2f7d699bfb127674c6 | 06d15475b996acb1d3acb1975d41340284947de3 | refs/heads/main | 2023-09-04T15:07:01.611892 | 2021-10-08T09:20:29 | 2021-10-08T09:20:29 | 377,487,458 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,773 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "Widgets/SCompoundWidget.h"
#include "Misc/Attribute.h"
#include "Widgets/DeclarativeSyntaxSupport.h"
#include "Styling/SlateColor.h"
#include "Input/Reply.h"
#include "Layout/Margin.h"
#inclu... | [
"34017395+0lfh0@users.noreply.github.com"
] | 34017395+0lfh0@users.noreply.github.com |
7461890bad9e07897c0fb1e668e8ab95bb544351 | 4ed7dd878a2b34bace1fd91a49106eebe570a360 | /Codeforces/round_362_div1/A.cpp | f674fc518eb3906b970f9578120b58dc4d7626a0 | [] | no_license | mayukuner/AC | fb63be04a1fcf7f3af080aa50bf7c6e0e070b1b9 | c21b2970b7288d7b36cbed468101446c615e79ff | refs/heads/master | 2020-12-15T02:38:51.758676 | 2017-10-11T13:01:11 | 2017-10-11T13:01:11 | 46,971,415 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,255 | cpp | #include<stdio.h>
#include<algorithm>
#include<string.h>
#include<map>
#include<set>
#include<vector>
#include<string>
#include<queue>
#define REP(i,n) for(int i=0; i<n; i++)
#define FOR(i,n) for(int i=1; i<=n; i++)
typedef long long LL;
using namespace std;
typedef pair<int,int> pii;
#define MP make_pair
int dig(LL... | [
"gmayukun@gmail.com"
] | gmayukun@gmail.com |
fc643b2b467fb0b6bb4a7b2e7f5b1dac10b85c0a | 24bc4990e9d0bef6a42a6f86dc783785b10dbd42 | /third_party/blink/renderer/platform/graphics/color_test.cc | 59c01cf36aa62e86d881b274ef1bd5b755377fb5 | [
"LGPL-2.0-or-later",
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-2.1-only",
"GPL-1.0-or-later",
"GPL-2.0-only",
"LGPL-2.0-only",
"BSD-2-Clause",
"LicenseRef-scancode-other-copyleft",
"Apache-2.0",
"MIT",
"BSD-3-Clause"
] | permissive | nwjs/chromium.src | 7736ce86a9a0b810449a3b80a4af15de9ef9115d | 454f26d09b2f6204c096b47f778705eab1e3ba46 | refs/heads/nw75 | 2023-08-31T08:01:39.796085 | 2023-04-19T17:25:53 | 2023-04-19T17:25:53 | 50,512,158 | 161 | 201 | BSD-3-Clause | 2023-05-08T03:19:09 | 2016-01-27T14:17:03 | null | UTF-8 | C++ | false | false | 33,495 | cc | /*
* Copyright (c) 2022, Google 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 conditi... | [
"roger@nwjs.io"
] | roger@nwjs.io |
4736779130c56ad49427c0d5b28fc9e80413ce17 | 85ec0860a0a9f5c0c0f0d81ce3cc0baf4b2a812e | /tools/sng2html/sng2html/ParserFileClassMap.hpp | 869568b710e9aec6a0bfdf3b8f6d711f16ecd730 | [] | no_license | slaakko/soulng | 3218185dc808fba63e2574b3a158fa1a9f0b2661 | a128a1190ccf71794f1bcbd420357f2c85fd75f1 | refs/heads/master | 2022-07-27T07:30:20.813581 | 2022-04-30T14:22:44 | 2022-04-30T14:22:44 | 197,632,580 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 308 | hpp | #ifndef ParserFileClassMap_HPP
#define ParserFileClassMap_HPP
// this file has been automatically generated from 'D:/work/soulng-project/tools/sng2html/sng2html/ParserFileLexer.lexer' using soulng lexer generator slg version 3.0.0
struct ParserFileClassMap
{
static int GetClass(char32_t c);
};
#endif
| [
"slaakko@gmail.com"
] | slaakko@gmail.com |
04757bc2393730baee66a8eaf0cbc2f38ec3c2e0 | 6239537311f266c41030538370490b483075aa01 | /src/ofApp.h | 17c18f7c083b3aec6bcbc5f9efcb5ef0aaf163c9 | [] | no_license | hazalmestci/Midterm | c914c8e48484bb9fb836da97081fee12d4fd9dab | 3a86c9782d19ba8d0946ee30aba1a83c74368f4f | refs/heads/master | 2021-01-23T05:19:17.181531 | 2017-03-27T06:33:05 | 2017-03-27T06:33:05 | 86,299,358 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 888 | h | #pragma once
#include "ofMain.h"
#include "Particles.hpp"
#include "ofxBox2d.h"
class ofApp : public ofBaseApp{
public:
void setup();
void update();
void draw();
void keyPressed(int key);
void keyReleased(int key);
void mouseMoved(int x, int y );
void mouseDragged(int x, int y, i... | [
"mesta524@newschool.edu"
] | mesta524@newschool.edu |
e1349c9fa7e203448bdaaaa3827aef6ec5b32d3c | 82815230eeaf24d53f38f2a3f144dd8e8d4bc6b5 | /Airfoil/wingMotion/wingMotion2D_pimpleFoam/1.92/uniform/time | 775c40695169104566bfea94b47a5f637c0127bf | [
"MIT"
] | permissive | ishantja/KUHPC | 6355c61bf348974a7b81b4c6bf8ce56ac49ce111 | 74967d1b7e6c84fdadffafd1f7333bf533e7f387 | refs/heads/main | 2023-01-21T21:57:02.402186 | 2020-11-19T13:10:42 | 2020-11-19T13:10:42 | 312,429,902 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,017 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1912 |
... | [
"ishantamrakat24@gmail.com"
] | ishantamrakat24@gmail.com | |
111efef3f5d7c4f7b56097e5445ced02f499b35c | cccfb7be281ca89f8682c144eac0d5d5559b2deb | /third_party/distributed_point_functions/fuzz/dpf_fuzzer.cc | 3fc6586b5a55da983882576e099379dc787fcc8a | [
"Apache-2.0",
"LGPL-2.0-or-later",
"MIT",
"GPL-1.0-or-later",
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause"
] | permissive | SREERAGI18/chromium | 172b23d07568a4e3873983bf49b37adc92453dd0 | fd8a8914ca0183f0add65ae55f04e287543c7d4a | refs/heads/master | 2023-08-27T17:45:48.928019 | 2021-11-11T22:24:28 | 2021-11-11T22:24:28 | 428,659,250 | 1 | 0 | BSD-3-Clause | 2021-11-16T13:08:14 | 2021-11-16T13:08:14 | null | UTF-8 | C++ | false | false | 10,976 | cc | // Copyright 2021 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 "third_party/distributed_point_functions/src/dpf/distributed_point_function.h"
#include <stddef.h>
#include <stdint.h>
#include <stdlib.h>
#inc... | [
"chromium-scoped@luci-project-accounts.iam.gserviceaccount.com"
] | chromium-scoped@luci-project-accounts.iam.gserviceaccount.com |
710970d322f9e85022c7cac23de6d31bded45e5c | 0a2081bedefb6bf513a19841ddf77c10ee918d6f | /Lift_Simulator/Lift_Simulator.h | 5cc5596171b5cc02c85de90761a603a97f5c3a5c | [] | no_license | StevenHD/Lift_Simulator | 255bc96d7c5b94e4c35d18fe065b24b17b1db54f | a0cc1bf3e01ed66c86987df2e14f289db7b69977 | refs/heads/master | 2020-09-17T02:40:12.571178 | 2019-11-26T06:42:27 | 2019-11-26T06:42:27 | 223,963,519 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,760 | h | #include <iostream>
#include <iomanip> //io代表输入输出,manip是manipulator(操纵器)的缩写
//例如:setw(n)
#include <list>
#include <windows.h>
#pragma comment(lib, "winmm.lib")//lib是一个预定义的标识符,指定注释的类型,
//除了lib以外,还有compiler, exestr, linker这仨个
//"winmm.lib"是一个为lib提供附加信息的字符串
//winnmm.dll是windows多媒体相关应用程序接口,用于低档的音频和游戏手柄
//首先定义电梯的最大负载范围
#de... | [
"hlhdsteven825@outlook.com"
] | hlhdsteven825@outlook.com |
cc3a63cd104847ee89206aa4e19333ba97331619 | d0d3e3ceddadcd8c60ddbd653d4ff65f079a1e7c | /include/SICharactersFactory.h | 71de35ed4ad9402fa92a6d1a06096c2ff675b73a | [] | no_license | amandasoreide/SpaceNew | e210d44f8328d827421eb1f65464d93b155a3c50 | 761d190f6020acb7bec01b381d4f1e1fa2109107 | refs/heads/master | 2020-04-13T23:22:55.419289 | 2019-01-13T19:33:47 | 2019-01-13T19:33:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,057 | h | /**
#file SICharactersFactory.h
Definition of the class S.I. Characters Factory
Prefix: CSIF_
@author Ramon Molla
@version 2016-05
*/
#ifndef CSIF_CHARACTER_FACTORY
#define CSIF_CHARACTER_FACTORY
#include <UGKCharactersFactory.h>
#include <GameCharacters.h>
using namespace UGK;
class CSICharactersFactory : pu... | [
"amanda.soreide@gmail.com"
] | amanda.soreide@gmail.com |
d5ce2db168b408ad1f1246af32349bfd91cc5646 | 0b15b9a49b55ec59fa7ff425236061a8da8a9d6d | /A.cpp | 16f3fa98679a43baba0bb4332329b1e96e2c722f | [] | no_license | linhnd99/Algorithm | 2c7f85cc9e8d274a9d47a467e3b1781000645fa2 | b3555bd6cb403c066fb5f601046d0255c6dc3ab6 | refs/heads/master | 2021-08-11T03:34:56.976876 | 2021-06-26T13:22:06 | 2021-06-26T13:22:06 | 209,278,022 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 448 | cpp | #include <bits/stdc++.h>
using namespace std;
int n;
int a[1001];
int main()
{
//freopen("F.INP","r",stdin);
cin >> n;
for (int i=1;i<=n;i++)
cin >>a[i];
sort(a+1,a+1+n);
if (a[1]>1)
for (int i=1;i<a[1];i++) cout << i<<endl;
for (int i=1;i<=n-1;i++)
{
for (int j=a[... | [
"linhcoi.1999@gmail.com"
] | linhcoi.1999@gmail.com |
da0081dffeb2400455ac5345bfea25ec74552410 | c56956fadc49b5f93c7e009efa5507939f75fc98 | /rcpp/CSMax.cpp | 580e20fa2fa261d0b6972c28ef66366deade8ff3 | [] | no_license | mindis/er-surplus | 2c624943f35a9f7adbecf220d01926e1ad563dd0 | afd8ee10d3a28849eb88d6600b508eaad8ec820f | refs/heads/master | 2020-03-31T17:15:05.430717 | 2016-12-13T01:48:14 | 2016-12-13T01:48:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,196 | cpp | //[[Rcpp::depends(RcppArmadillo)]]
#include <RcppArmadillo.h>
#include <Rcpp.h>
#include <iostream>
#include <string>
#include <fstream>
using namespace arma;
using namespace Rcpp;
using namespace std;
/**
* consumer surplus maximization through KPR Utility model
*/
class CSMax {
public:
List inputData;
uvec users... | [
"zhangyf07@gmail.com"
] | zhangyf07@gmail.com |
ad11097af23ea10b8bf17aa89235bd082a1bdf83 | f48232b3c280895128019c83a43920bf296fba0d | /AirScratch/src/leaplistener.cpp | 2cdd57e88dbd5402d0274d4e9872d5b513038095 | [] | no_license | chegestar/airscratch | 82bd994481050e08e2a29826f7e519dc24cd6c98 | 8b33fb20926963c1b02a6392b4ef7470885bc1fc | refs/heads/master | 2020-07-13T04:19:17.205329 | 2013-10-13T08:43:33 | 2013-10-13T08:43:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,380 | cpp | #include <iostream>
#include "leaplistener.h"
#include <QDebug>
#include <QTimer>
#include "Scratcher.h"
using namespace Leap;
LeapListener::LeapListener(QObject* parent)
: QObject(parent), Listener()
{
mListener = NULL;
mScrolling = false;
}
void LeapListener::addControlListener(LeapCtrlListener* list... | [
"topi.santakivi@vincit.fi"
] | topi.santakivi@vincit.fi |
fc8e98352c4bb27e7e3981cac066f608566ddb02 | 18c6be82fd0065ae49e61e6d548cb79c8dd29394 | /Cy_Lib/Winsock.h | 38ffb1bbab6bec76e8ee9d69baf0dfbcbf6cce83 | [] | no_license | cyendra/CyLib | c086ced4908778973079db53bfcea2b7d3f35322 | 95a72856f5b72af74cf4b9ff772b23ca13d64ae5 | refs/heads/master | 2016-08-05T14:39:23.074468 | 2014-10-10T11:19:53 | 2014-10-10T11:19:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,561 | h | #include <WinSock2.h>
#include <iostream>
namespace WinSock {
void ErrorHandling(char* message) {
std::cerr << message << std::endl;
system("pause");
exit(1);
}
int Server(int port) {
WSADATA wsaData;
SOCKET hServSock, hClntSock;
SOCKADDR_IN servAddr, clntAddr;
int szClntAddr;
char message[] = "He... | [
"g1483335912@gmail.com"
] | g1483335912@gmail.com |
f5ab89359f580288c5cde1b4598dc1968aebdc1b | 583d787b79fdf8927b516986f0bf3623bd63549d | /lib/include/dxf_machine/util/Messages.h | e231e5b8371135860e3782a073c6872149b0d858 | [] | no_license | msqui/dxf_machine | b88185e522237d296572d065fa47bf07a53f011c | 356c2d04c1b1bc6a270639979f50dccd3d8ef054 | refs/heads/master | 2016-09-05T11:38:09.462250 | 2012-08-26T07:52:58 | 2012-08-26T07:52:58 | 2,244,937 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 450 | h | #ifndef __UTIL__MESSAGES_HPP__
#define __UTIL__MESSAGES_HPP__
#include <string>
#include "dxf_machine/util/uninstantiable.hpp"
namespace dxf_machine { namespace util {
struct Messages : private uninstantiable
{
static const std::string TUPLE_QUEUE_EMPTY;
static const std::string FILE_NOT_FOUND;
static ... | [
"msqui@yandex.ru"
] | msqui@yandex.ru |
0de7bdaa5860212ab5316d5b5a5f43945b7519d3 | 1c4014e63ecb9c6c736d5a1b171c86c73f5aa593 | /cppunit2/include/cpput/testing.h | 3b896cabd8fa18fd156888e2e8d04e364149802e | [] | no_license | JingangLi/TryCPPUnit | b8f570439935cc6cdd25d54fa5a7165ac83ab353 | 0fc2f4e9f7cdd42274748918c194cff6b10698c0 | refs/heads/master | 2016-09-06T01:14:20.681459 | 2012-08-31T15:05:17 | 2012-08-31T15:05:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 33,772 | h | #ifndef CPPUT_TESTING_INCLUDED_H
# define CPPUT_TESTING_INCLUDED_H
# include <cpput/forwards.h>
// The implementation headers are only allowed for includes at this place
// The macro is used to enfore that.
# define CPPUT_TESTING_H_PROLOG_IMPL_INCLUDES
# include <cpput/impl/assertions.h>
# include <cpput/impl/stringiz... | [
"ljg_emails@sina.com"
] | ljg_emails@sina.com |
2eb93554ff7cdc440e03ceca3f2c4c2568214dc4 | ba5e206237557f92da85414d421c7580619896f6 | /savitch_ch4_2/main.cpp | f56bad45f53b44a79c9d6cc93abcb9932f7e6705 | [] | no_license | vctralcaraz/savitch_9th | ebd1f257f563d9b2c2c8999c29920751da076f59 | 5b617dbf188db28d1f05bc0f8fe602b814e1e712 | refs/heads/master | 2020-03-30T08:15:10.852074 | 2018-09-30T20:26:45 | 2018-09-30T20:26:45 | 151,000,807 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,924 | cpp | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/*
* File: main.cpp
* Author: Victor Alcaraz
* Created on September 28, 2018, 9:37 PM
* Purpose: Savitch Chapter 4 Pr... | [
"vctralcaraz@gmail.com"
] | vctralcaraz@gmail.com |
18ef0e0f1351f76d581aa3a9f356b42cff9db50f | da67825f24a84ea8766173762a19d4b572298aaf | /src/tests/nestedLoopTests.cpp | 2603868e15f26f52aefd616496685a89a51b8a48 | [] | no_license | EddieCunningham/hyperGraphEM | 7c1c23cbf2986191f1b00250750b54e6669ac75d | 9645a838f3805dfbb277291d44cda4727fe8572c | refs/heads/master | 2021-06-19T10:58:50.220262 | 2017-07-03T21:29:27 | 2017-07-03T21:29:27 | 95,047,995 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,176 | cpp | #include "/Users/Eddie/hyperGraphEM/src/tests/testMain.h"
#include "/Users/Eddie/hyperGraphEM/src/helper/nestedLoop.h"
#include <cmath>
#include <unordered_map>
void checkIfReset(const vector<unsigned>& indices) {
bool nonZero = false;
for(int i=0; i<indices.size(); ++i) {
if(indices.at(i) != 0) {... | [
"edcunnin@umich.edu"
] | edcunnin@umich.edu |
74fe199434c11dc51eb4de3aefff6fe2f2618d4a | 845c6766b13394e9f10094025cc5d86b83463b39 | /ClassWork/16-Jun-17/rat_in_a_maze.cpp | b0581ed5f087442f2bd85c55b87b979c76fd2dce | [] | no_license | MaximumEndurance/Algo-17 | 47acc274d49e285d97dd2dce23430d9d3860be19 | 87b9219a34dd3ddd7cd8f12076f6b33e7ef39f9d | refs/heads/master | 2021-06-21T05:40:10.173748 | 2017-07-27T15:31:56 | 2017-07-27T15:31:56 | 98,552,569 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 982 | cpp | #include <iostream>
#include <algorithm>
#include <vector>
#include <stdio.h>
using namespace std;
const int n = 4;
void print(bool board[n][n]){
for(int i = 0;i<n;++i){
for(int j = 0;j<n;++j){
cout<<board[i][j]<<" ";
}
cout<<endl;
}
}
bool maze(bool board[n][n], int row, int col) {
//if(row == reqd_row... | [
"maximumendurance1965@gmail.com"
] | maximumendurance1965@gmail.com |
f5d19c5503197f0c4c79a8f8a31a077983f10b82 | 5e7469d574d58ef626c506c96a853c28a13a1b0b | /MultiWii_GPS/TinyGPS++.cpp | 38b17e0c4c4a83aefceaccdefca9d24d3fc10204 | [] | no_license | ridleyta/Telemetry-Project | 61d4a479c3a54875df52310c6d09558f5487c768 | 72893aca40f49f9352d2515006de94bcc948894c | refs/heads/master | 2021-01-01T05:53:57.999311 | 2015-06-17T09:23:36 | 2015-06-17T09:23:36 | 37,583,983 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,210 | cpp | /*
TinyGPS++ - a small GPS library for Arduino providing universal NMEA parsing
Based on work by and "distanceBetween" and "courseTo" courtesy of Maarten Lamers.
Suggestion to add satellites, courseTo(), and cardinal() by Matt Monson.
Location precision improvements suggested by Wayne Holder.
Copyright (C) 2008-2013 Mi... | [
"ridley.t.a@gmail.com"
] | ridley.t.a@gmail.com |
1addc84258048d673044e946fed399765c242d2f | 7579d827cb7b50b438dfd9ef6fa80ba2797848c9 | /sources/plug_wx/include/luna/wrappers/wrapper_wxImageHandler.h | 6ac216138eba916e709f032ddc5de1e3c19b5f2f | [] | no_license | roche-emmanuel/sgt | 809d00b056e36b7799bbb438b8099e3036377377 | ee3a550f6172c7d14179d9d171e0124306495e45 | refs/heads/master | 2021-05-01T12:51:39.983104 | 2014-09-08T03:35:15 | 2014-09-08T03:35:15 | 79,538,908 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,715 | h | #ifndef _WRAPPERS_WRAPPER_WXIMAGEHANDLER_H_
#define _WRAPPERS_WRAPPER_WXIMAGEHANDLER_H_
#include <plug_common.h>
#include "lua/LuaObject.h"
#include <wx/image.h>
class wrapper_wxImageHandler : public wxImageHandler, public luna_wrapper_base {
public:
~wrapper_wxImageHandler() {
logDEBUG3("Cal... | [
"roche.emmanuel@gmail.com"
] | roche.emmanuel@gmail.com |
57083385f42964572bbd56ce7a942da08ebd5ccb | 6a1ed0d8068adb9ac5ae93dc8a6375961879060a | /src/libANGLE/renderer/vulkan/QueryVk.h | 6d026f92bd27a5b350d43bd331b8e68988636bab | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | yongwangzhao88/angle | 5ed3949fdbdf9ae7c9a72621b9d906bbec9f0476 | 59aa1ef1975ae2d263da864f111eaaa7cdb4f9f2 | refs/heads/master | 2022-11-22T19:01:46.614534 | 2020-11-27T20:08:26 | 2020-11-27T20:59:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,463 | h | //
// Copyright 2016 The ANGLE Project Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// QueryVk.h:
// Defines the class interface for QueryVk, implementing QueryImpl.
//
#ifndef LIBANGLE_RENDERER_VULKAN_QUERYVK_H_
#define LIB... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
6c61c258c6f39edf3058b8ba3ec336601caa3254 | 78cb99556fbe30f6d6c81dfb45562e06d203a54f | /src/Bitcoin/Script.h | d8fcda4e682354b3243bb449c27b677bb5b813ad | [
"MIT"
] | permissive | Khaos-Labs/khaos-wallet-core | 2b00f37a7f6546f38f4421671f08954745de9a3d | 2c06d49fddf978e0815b208dddef50ee2011c551 | refs/heads/main | 2023-01-09T10:43:59.424174 | 2020-11-15T06:55:13 | 2020-11-15T06:55:13 | 311,566,879 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 4,453 | h | // Copyright © 2017-2020 Khaos Wallet.
//
// This file is part of Trust. The full Trust copyright notice, including
// terms governing use, modification, and redistribution, is contained in the
// file LICENSE at the root of the source code distribution tree.
#pragma once
#include "../Data.h"
#include "OpCodes.h"
#i... | [
"admin@example.com"
] | admin@example.com |
76ade169b7ae60d0ddb2bf41bd636faa07f28a2b | 1d928c3f90d4a0a9a3919a804597aa0a4aab19a3 | /c++/Chaste/2015/12/PurkinjeVentricularJunctionStimulus.cpp | ddee7822fbb15d207b7d74a56bd78425b641c9f2 | [] | no_license | rosoareslv/SED99 | d8b2ff5811e7f0ffc59be066a5a0349a92cbb845 | a062c118f12b93172e31e8ca115ce3f871b64461 | refs/heads/main | 2023-02-22T21:59:02.703005 | 2021-01-28T19:40:51 | 2021-01-28T19:40:51 | 306,497,459 | 1 | 1 | null | 2020-11-24T20:56:18 | 2020-10-23T01:18:07 | null | UTF-8 | C++ | false | false | 2,798 | cpp | /*
Copyright (c) 2005-2015, University of Oxford.
All rights reserved.
University of Oxford means the Chancellor, Masters and Scholars of the
University of Oxford, having an administrative office at Wellington
Square, Oxford OX1 2JD, UK.
This file is part of Chaste.
Redistribution and use in source and binary forms... | [
"rodrigosoaresilva@gmail.com"
] | rodrigosoaresilva@gmail.com |
f30ce5d27d3bf18daac745349cb7c55e52d0c577 | ea1965a5ca23f30e7ffa07abca9a9de4c0d337a7 | /ThreadedGrid/ColorTable.h | 491d8dfa5e578c4185c890fcfa9b774b7def3a70 | [] | no_license | armyrunner/CS3005_PPM_Pictures | bfa7ed608e5e54e7e563a2873e9cbad6d6c97e5d | 7083fc39af68092974968973f2c93eaffb2e5f8e | refs/heads/main | 2023-03-18T16:27:38.635823 | 2021-03-12T17:23:33 | 2021-03-12T17:23:33 | 347,141,311 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,412 | h | #ifndef _ColorTable_H_
#define _ColorTable_H_
#include <iostream>
#include <vector>
class Color{
public:
Color();
Color(const int& red,const int& green,const int& blue);
int getRed() const;
int getGreen() const;
int getBlue() const;
int getChannel... | [
"live2runmarthon@gmail.com"
] | live2runmarthon@gmail.com |
2e843667c1cff6f340fc722e767e4a9f60cea425 | 5fd4b17d06db2da263bcfd32c60612a67770ab24 | /NodeList.h | 5c73109df03e505bf2a5ed83f8396068c66ef60e | [] | no_license | AhmadFarighi-s3842662/mazesolver | 3f7211c25dd1ea97b204f9dbed50fafa122124ff | 1790d4308439968606f98f4bed6f15f17e301f9d | refs/heads/master | 2023-07-30T05:10:10.890571 | 2021-10-03T11:03:44 | 2021-10-03T11:03:44 | 413,045,320 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,410 | h | #ifndef COSC_ASSIGN_ONE_NODELIST
#define COSC_ASSIGN_ONE_NODELIST
#include "Types.h"
#include "Node.h"
class NodeList{
public:
/* */
/* DO NOT MOFIFY ANY CODE IN THIS SECTION */
/* */
// Constructor/Desctructor
... | [
"s3842662@student.rmit.edu.au"
] | s3842662@student.rmit.edu.au |
ecedd63005f038bc353a6894968f36a53b73f55c | dc42a65f63ca8327ee74675c7606a9b6e3b39d40 | /Infrastructure/src/aas/aas_skeleton.h | d6410b750401694cc8a3a3a11a9881013efee2c4 | [
"MIT"
] | permissive | anatoliy-savchak/TemplePlus | 03cda558de2fd30d34305b7e5b548d202ba97f76 | 50922bb14cc2d7dcf8fceeccf45c3b905c1b512f | refs/heads/master_old | 2023-04-28T12:01:06.205497 | 2021-09-25T13:03:51 | 2021-09-25T13:03:51 | 172,583,383 | 2 | 0 | MIT | 2019-02-25T20:56:01 | 2019-02-25T20:56:00 | null | UTF-8 | C++ | false | false | 2,885 | h |
#pragma once
#include <gsl/gsl>
#include <string>
#include <string_view>
#include <memory>
#include "aas/aas_math.h"
namespace aas {
/**
* Animations can either be advanced by time (automatic), distance moved, or object rotation.
*/
enum class SkelAnimDriver : uint8_t {
Time = 0,
Distance,
Rotation
}... | [
"sebastian@hartte.de"
] | sebastian@hartte.de |
df793b9dbe06b828a41af7280d2a6382fb966b88 | 7dd5881ce4b09a7417e45aca528ce6a99a8d2dcd | /Lab/lab4/lab4_3.cpp | becdfd0ee484a76167585a564d023478cf928bc2 | [] | no_license | Tmiss2188/C- | 55b822404381523f709091fa57a42ad1f27113fb | 42d3bbb35f61a6d96012038838fd0aa819a8af47 | refs/heads/main | 2023-08-21T03:09:03.069793 | 2021-10-05T07:28:06 | 2021-10-05T07:28:06 | 413,715,095 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 519 | cpp | /* Program 4_3 : Use nested if-else statement */
#include <iostream>
#include <string>
using namespace std;
int main()
{
char ch;
cout << "\nEnter a character : ";
cin >> ch;
cout << endl;
if(ch >= 'a'&& ch <= 'z')
cout << ch << " is lower character.";
else if(ch >= 'A'&& ch <= 'Z')
... | [
"tawaninw2188@gmail.com"
] | tawaninw2188@gmail.com |
880039d5eab00be964049372d29042a281c6c257 | 9d77c2434b0e804af2ecaf4a4ea6d99f6ac6d96d | /models/research/syntaxnet/dragnn/core/input_batch_cache_test.cc | 3043acfbd5484b1f3ae3de7ab69db2b7a87cf1f6 | [
"Apache-2.0",
"MIT"
] | permissive | UpCoder/ISBI_LiverLesionDetection | cce7c118601548eef8bfeeedfe4f50d88411a7df | e21ce360e55092a16acc4d147a1418a53545d562 | refs/heads/master | 2022-12-12T12:57:50.299718 | 2019-04-03T03:49:43 | 2019-04-03T03:49:43 | 179,206,267 | 8 | 1 | MIT | 2022-12-08T16:02:31 | 2019-04-03T03:49:00 | Python | UTF-8 | C++ | false | false | 5,846 | cc | // Copyright 2017 Google Inc. 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 by applicable... | [
"546043882@qq.com"
] | 546043882@qq.com |
102f6d8adb9f9a5899bf2949e551defec436df3f | 6abb92d99ff4218866eafab64390653addbf0d64 | /AtCoder/agc/agc044/a.cpp | ef3f5ed5985d5cacfe57b1ed7be390c4c9c5d768 | [] | no_license | Johannyjm/c-pro | 38a7b81aff872b2246e5c63d6e49ef3dfb0789ae | 770f2ac419b31bb0d47c4ee93c717c0c98c1d97d | refs/heads/main | 2023-08-18T01:02:23.761499 | 2023-08-07T15:13:58 | 2023-08-07T15:13:58 | 217,938,272 | 0 | 0 | null | 2023-06-25T15:11:37 | 2019-10-28T00:51:09 | C++ | UTF-8 | C++ | false | false | 1,410 | cpp | #include <bits/stdc++.h>
#define _GLIBCXX_DEBUG
#define rep(i, n) for (int i = 0; i < (n); ++i)
#define rep1(i, n) for (int i = 1; i < (n); ++i)
using namespace std;
typedef long long ll;
ll a, b, c, d;
map<ll, ll> dp;
ll rec(ll n){
if(dp[n] > 0) return dp[n];
if(n == 0) return dp[n] = 0;
if(n == 1) retur... | [
"meetpastarts@gmail.com"
] | meetpastarts@gmail.com |
aef6574caff80894f834fbef20e0078df13751be | fb07299b2019922d7ce39338196d1ea9033f0313 | /SilverWing/src/HNews15Window.cpp | 3999926104f07deccc2517b185d75f4b57044d43 | [] | no_license | HaikuArchives/SilverWing | 304c4fd548c6a1dd10719eccfd13a75c7eb7f9c2 | b71f061ade15b8af5b849ef853c112df987256b1 | refs/heads/master | 2020-06-08T20:37:28.223378 | 2017-07-04T20:51:56 | 2017-07-04T20:51:56 | 24,563,855 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 11,967 | cpp | #include <ClassInfo.h>
#include <Debug.h>
#include "HNews15Window.h"
#include "HArticleList.h"
#include "HArticleItem.h"
#include "HCategoryList.h"
#include "HCategoryItem.h"
#include "HApp.h"
#include "HToolbar.h"
#include "CTextView.h"
#include <santa/Colors.h>
#include "HArticleView.h"
#include "HToolbar.h"
#includ... | [
"waddlesplash@gmail.com"
] | waddlesplash@gmail.com |
8a8f462d023884a41d9616c84ae71b507e05b09a | 087b08dd3c7593f42a07b15e39a4a63ea22da566 | /core/pll.cpp | 2183463883f23a05d0d04af479ea122a0d90aece | [
"MIT"
] | permissive | spcarter/lpc1114fn28 | 0b23c01a3fa76f6be4bbd2009844e98dba84629b | 691693fc264f19a8ac7aa700f35b13e50ae1e6b0 | refs/heads/master | 2021-01-18T11:54:18.154169 | 2013-04-10T07:46:18 | 2013-04-10T07:46:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,159 | cpp | #include "core.h"
// The engineergorman\lpc1114fn28 framework is licensed under the MIT license:
//
// Copyright (C) 2013 by Chris Gorman
//
// 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 Softwa... | [
"engineergorman@gmail.com"
] | engineergorman@gmail.com |
381be8a3ecc456fdaab81b7ce2ef43d3965f5b78 | 70e0667e2281db6f67ac44a179164474a588dd3c | /src/mainboard/module_argument.cc | fd3a0b01f9cc05c103ed4b590ab8b8f24ce22bf0 | [
"Apache-2.0"
] | permissive | L-Net-1992/apollo_windows | dd06bfaf648179c9334b87d1aa8dc11878a78a83 | 78db2493b7356f012ec5342c27c11ff592c664c5 | refs/heads/master | 2023-03-17T15:13:11.221761 | 2020-05-04T13:41:37 | 2020-05-04T14:28:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,735 | cc | /******************************************************************************
* Copyright 2018 The Apollo Authors. 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
... | [
"mjopenglsdl@gmail.com"
] | mjopenglsdl@gmail.com |
1312e08b6c3631efcc02614be6874a14fd329666 | b59a6e97361e91acc31c905b847bbf23da7082b6 | /SwatWorld.cpp | 8a83bf2d541e53971a2067064d0378d2f6c168e2 | [] | no_license | HowieSquires/SWAT | a9a8ae9431530db252cf3fa3e42c2e057e8e398b | 909c9c8f9ff1805cfa036b3fd6ca729bf4bfab0e | refs/heads/master | 2020-12-29T21:11:33.480321 | 2020-02-06T16:31:26 | 2020-02-06T16:31:26 | 238,731,519 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,219 | cpp | #include "SwatWorld.h"
void SwatWorld::setup() {
//Listen for mouse clicks
ofAddListener(ofEvents().mousePressed, this, &SwatWorld::mousePressed);
//UI vars
subTXT.load("3DHandDrawns.ttf", 20);
//Game vars
fliesKilled = 0;
health = 100;
seconds = 0;
//Fly vars
flyRad = 50;
flySpeed = 2;
fly... | [
"noreply@github.com"
] | noreply@github.com |
a4c33a370407a6e40ed21f0f60914d9e8206993c | 07a30d73b35a0806433acce8b3759471599d499f | /gui/IAntGUI.hpp | ac132787a3a15b5306d4a063d7a6e8b76d7c08b4 | [] | no_license | allocator64/prak-my-ants | bef301a3924e41b0d1c1f158de0af80d3342a8aa | 976624d3ecda6996f69e202041234c53e210856b | refs/heads/master | 2016-09-01T20:41:48.068915 | 2013-05-22T17:14:16 | 2013-05-22T17:14:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,563 | hpp | #ifndef IANTGUI_HPP
#define IANTGUI_HPP
#include <string>
#include <memory>
namespace antgui
{
using namespace std;
enum GuiType {Qt, NCurses};
class GUIException
{
string message;
public:
GUIException(const string& message) : message(message) {}
const string& getMessage()
{
ret... | [
"dmitry@galuza.name"
] | dmitry@galuza.name |
f1ce686fb3b98390b0879614b4e1cd6c23f2c272 | 1e364209d8a23abec701d2a02d06c2e272182e23 | /322. Coin Change.cpp | 332b30322d7ef610b3a9b017e0de79e9cfde01c1 | [] | no_license | iamrubayet/Leetcode-Solutions-By-Rubayet | efe5282422e4c3ec5ec5d4a0ff357588d049cf93 | 5456dbe10cbc54da194d9d3cb462257d0f7c82ef | refs/heads/master | 2023-08-14T15:34:19.726393 | 2023-07-29T13:31:17 | 2023-07-29T13:31:17 | 272,222,021 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 487 | cpp | class Solution {
public:
int coinChange(vector<int>& coins, int amount) {
int Max = amount+1;
vector<int> dp(amount+1,Max);
dp[0]=0;
for(int i=0;i<=amount;i++)
{
for(int j=0;j<coins.size();j++)
{
if(coins[j]<=i)
{
... | [
"rafirubayet75@gmail.com"
] | rafirubayet75@gmail.com |
b3e0e33464242c4d3d242cc44120279780108a6e | 5553753cbc96821e4fbb71ea0fdd049884531595 | /Siv3D/include/HamFramework/InputDeviceSymbol.hpp | 4b5a3f170a94bfed1486cdf7736834437bdce2f5 | [
"MIT"
] | permissive | hota1024/OpenSiv3D | 713fb649022e1ac436a3fde32cbaab5f7fc0b605 | b91f0cf9f8902ddd3bc26cbc7fb957d638e25cc4 | refs/heads/master | 2020-03-12T05:13:27.346136 | 2018-04-21T09:36:02 | 2018-04-21T09:36:02 | 130,459,394 | 0 | 0 | MIT | 2018-04-21T09:31:37 | 2018-04-21T09:31:36 | null | UTF-8 | C++ | false | false | 5,458 | hpp | //-----------------------------------------------
//
// This file is part of the HamFramework for Siv3D.
//
// Copyright (C) 2014-2018 HAMSTRO
//
// Licensed under the MIT License.
//
//-----------------------------------------------
# pragma once
# include <Siv3D.hpp>
namespace s3d
{
namespace InputDeviceSymbol
{... | [
"Reputeless@users.noreply.github.com"
] | Reputeless@users.noreply.github.com |
6f08485c9bd187ea2a1a9ff0ed3f4191004dc1d5 | 26772748929329f0a6feb6c54c51f6ab02b79561 | /Export/mac64/cpp/obj/src/lime/math/Vector4.cpp | c502b47f040d8d5438b7a39821edc3314bb69620 | [] | no_license | pvsmartinez/ilha | f9c473bc4ef14a937fe80151f188c21334685265 | 24549ac14c6e2e5b3921b09fb486d7cc9d662804 | refs/heads/master | 2021-01-10T04:43:17.740463 | 2015-11-04T22:06:19 | 2015-11-04T22:06:19 | 44,400,109 | 2 | 0 | null | 2015-11-01T23:31:21 | 2015-10-16T17:21:55 | C++ | UTF-8 | C++ | false | false | 39,220 | cpp | #include <hxcpp.h>
#include "hxMath.h"
#ifndef INCLUDED_lime_math_Vector4
#include <lime/math/Vector4.h>
#endif
namespace lime{
namespace math{
Void Vector4_obj::__construct(hx::Null< Float > __o_x,hx::Null< Float > __o_y,hx::Null< Float > __o_z,hx::Null< Float > __o_w)
{
HX_STACK_FRAME("lime.math.Vector4","new",... | [
"pvsmartinez@gmail.com"
] | pvsmartinez@gmail.com |
5b72c26491d7395c69c655e4761ef3c24e345303 | 2af2f055706aa29f599b1593faa42e1e74ebdef4 | /B.cpp | c7f24e15e0c022961f15f315677d5e09ade1bc98 | [] | no_license | aurelia11/Lab08 | efc0289c9f4080a7b21ac871c6daa0977a77f6ac | c47bbcc19f39d5f71d180bc409639bf5ebdc46ce | refs/heads/main | 2023-04-02T09:37:42.885449 | 2021-03-27T00:02:25 | 2021-03-27T00:02:25 | 351,939,841 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 911 | cpp | #include <iostream>
#include <cstdlib>
#include <ctime>
using namespace std;
int main(){
int a=8;
srand(time(0));
int LinearIndex[8][8]={};
for (int row =0;row<a;row++){
for (int column=0;column<a;column++){
LinearIndex[row][column]=1+(rand() %1000);
... | [
"noreply@github.com"
] | noreply@github.com |
cacea67e96e5edeea0bb7a76414b87c4360346b9 | 2d98f202e981b1a49eb37b6697170d803f2d215f | /Src/FM79979Engine/Core/XML/tinystr.cpp | 7461e0f43c121930cc361671607f50d9df7bfc1e | [] | no_license | fatmingwang/FM79979 | bb1274241605f490b8e216f930a2c5aaba86f669 | 735f204bd70773c2482e15b3105a8680cf119706 | refs/heads/master | 2023-07-09T00:47:02.782514 | 2023-06-23T10:23:27 | 2023-06-23T10:23:27 | 43,816,834 | 7 | 3 | null | null | null | null | MacCentralEurope | C++ | false | false | 1,714 | cpp | #include "tinystr.h"
/*
www.sourceforge.net/projects/tinyxml
Original file by Yves Berquin.
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any
damages arising from the use of this software.
Permission is granted to anyone to use this softwar... | [
"osimejp@yahoo.co.jp"
] | osimejp@yahoo.co.jp |
35d80c38afa0a21c605aa2181bf0c578b970ead6 | 03941b6b54f795663b69f3466cf1cf6867ee894c | /04/04/05.cpp | bf494427c7c8c140f90179ffd7e494138a1897d7 | [] | no_license | whdcumt/CPPNote | ccae70e96b40b60a9de50ee9724d4911b5f590f3 | d222d49881538cae9f4ebacb26ae96f1271a197c | refs/heads/master | 2020-04-05T22:57:45.328819 | 2016-10-06T01:29:45 | 2016-10-06T01:29:45 | 68,027,030 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 653 | cpp |
//这个例子说明引用作为函数返回值(返回局部变量的例子,错误的例子,无法返回局部局部变量)
#include <iostream>
using namespace std;
int& add(int a,int b)
{
int sum;
sum=a+b;
return sum;
}
int main(void)
{
int n=add(3,4);
int& n2=add(5,6); //n2是引用,没有自己独立的地址空间
//所以n2依赖于它所引用的变量。
//如果n2所引用的变量,生命期已经结束了,也就是说... | [
"wanghongdong0@126.com"
] | wanghongdong0@126.com |
5f1427cfbeacc5c83bd90ff41c241372b78f5e89 | ef49457790f5ae336ca65868c10306c01b0e10ef | /src/magimath.cpp | e8e064bf46a32d169a1b160d2caf353fd6e95c13 | [
"MIT"
] | permissive | eagleflies/m-Noblecoin | 59fedcb87ee1fda0e57e42cf26851560d7418ac0 | aa181270f1f3c52fc9ac4bc071094d7061431f44 | refs/heads/master | 2021-05-01T00:44:50.243850 | 2015-02-06T10:58:08 | 2015-02-06T10:58:08 | 29,671,243 | 0 | 0 | null | 2015-01-22T09:30:37 | 2015-01-22T09:30:36 | null | UTF-8 | C++ | false | false | 1,854 | cpp | // Copyright (c) 2014 The Noblecoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <iostream>
#include <cfloat>
#include <limits>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdint... | [
"joelao98@gmail.com"
] | joelao98@gmail.com |
bdadccaa3bc1a37507aad66135efba581eae05dc | 5181e2dd87941613b74be655fd621c13c1032d31 | /1. Nhap mon lap trinh_chuong05_kieu cau truc/bai256 tinh.cpp | 6be2c84f37a4fa0327f3f5ad088e6516fd8f2e44 | [] | no_license | my-hoang-huu/My-hh | 36c57bcc0ff2a6f09d1404af502a63c94dfd7b92 | 176a0ec629438260ef1a44db82fe1a99a59c809f | refs/heads/main | 2023-06-05T03:03:18.421699 | 2021-05-07T00:36:26 | 2021-05-07T00:36:26 | 342,750,649 | 0 | 0 | null | 2021-05-07T00:36:27 | 2021-02-27T02:18:47 | C++ | UTF-8 | C++ | false | false | 1,787 | cpp | #include<iostream>
#include<iomanip>
#include<string>
using namespace std;
struct TINH
{
int MaSo;
string TenTinh;
int DanSo;
float DienTich;
};
void Nhap(TINH&);
void Xuat(TINH);
void Nhap(TINH[], int&);
void Xuat(TINH[], int);
void LietKe(TINH[], int);
void SapGiamDienTich(TINH[], int);
int main()
{
cout << "Nh... | [
"hhmy1995@gmail.com"
] | hhmy1995@gmail.com |
9b53231270a303d017ea4b8a52de8bdd51635abc | e3191f187a70caf226cd95dc0c55af795c937f19 | /RedBlack/RedBlackView.h | 901bf3df432772536af56e7b683f127f767b1ecc | [] | no_license | aster9725/RedBlack_MFC | 782ec863d0e932da49355047e3122e886c292f97 | a524951ee35f3476f7cec650dc4cb55ea389eca7 | refs/heads/master | 2020-12-02T04:10:08.753906 | 2020-02-04T12:37:51 | 2020-02-04T12:37:51 | 230,883,080 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,111 | h |
// RedBlackView.h: CRedBlackView 클래스의 인터페이스
//
#pragma once
#include "RBTree.h"
#define DEF_NODE_SIZE 80
#define NODE_MARGIN 10
#define NODE_SIZE_MAX 200
#define NODE_SIZE_MIN 30
typedef struct _drawtools
{
Graphics& canvas;
RectF& canvasRect;
Gdiplus::Font& font;
StringFormat& strFormat;
Pen& pen;
Sol... | [
"aster9725@gmail.com"
] | aster9725@gmail.com |
1acf01afcb9366cb74ac5730692d7e90ed0766ee | 48c01b5e695b2c06f27cacff431f3c566a9c8d9f | /chapter17/section2/precise.cpp | 56fc2429c8c3e94709d61c4e594ef056ebdc2cd9 | [] | no_license | hueyhe/cpp-primer-plus-example-code | f4a76da458b17b8de490a354434dc19fae4e10ef | 5aa7e78b43984e8404a0741679eb6abea25a34a4 | refs/heads/master | 2020-08-08T15:35:50.406465 | 2019-12-09T10:39:32 | 2019-12-09T10:39:32 | 213,860,518 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 395 | cpp | // setting the precision
#include <iostream>
int main() {
using std::cout;
float price1 = 20.40;
float price2 = 1.9 + 8.0 / 9.0;
cout << "\"Furry Friends\" is $" << price1 << "!\n";
cout << "\"Fiery Friends\" is $" << price2 << "!\n";
cout.precision(2);
cout << "\"Furry Friends\" is $" << price1 << "!... | [
"sihonghuey@163.com"
] | sihonghuey@163.com |
bfadf7d90cfcc116bda736952fd02dfff9f21c06 | 8d7e46473eb88863f6783343eed8a011343c320b | /src/main.cpp | d325860f67bcb750f6a77fe7d318b268a3196d84 | [] | no_license | Daniil159x/Tanks2D | 006f3c1970a7b682c51b2d5ac364828bbcda6a0a | 07aebd5a067977b2607710ff9865ac740d1b3f1f | refs/heads/master | 2021-08-15T01:25:38.340131 | 2017-11-17T04:00:19 | 2017-11-17T04:00:19 | 105,170,746 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,109 | cpp | #include <QApplication>
#include "enums.hpp"
#include "mediator.hpp"
#include "menu.hpp"
#include <QMessageBox>
#include <QDir>
#include <QDebug>
#include <QDirIterator>
#define PATH_MAPS "../../maps/"
#include <QStyleFactory>
int main(int argc, char *argv[])
{
qRegisterMetaType<motion_vector>("dir");
Q... | [
"daniil.ru-m@mail.ru"
] | daniil.ru-m@mail.ru |
4f0d71c2d07c8219a53a9898123ac5cb4c3ccb8d | e92704f7c1aee48ab519d35fb0a4ec57322da74e | /src/Paddle.cpp | 81a5a94825d026dcb9579c1935c4528a34e209cd | [
"MIT"
] | permissive | CITIZENDOT/PingPong | d497683a0d6895b677e532fd04d04dc84a33aad5 | 396acbfafb1dacf747f338c5c5812063ed0e77b4 | refs/heads/main | 2023-07-21T17:26:25.989135 | 2021-09-04T16:46:58 | 2021-09-04T16:46:58 | 390,651,855 | 1 | 2 | MIT | 2021-08-31T10:39:31 | 2021-07-29T08:18:06 | C++ | UTF-8 | C++ | false | false | 1,180 | cpp | #include "Paddle.h"
#include <random>
#include <sstream>
Paddle::Paddle() : GameObject(0, 0, "Paddle") { id = Paddle::generateUUID(); }
Paddle::Paddle(int posX, int posY) : GameObject(posX, posY, "Paddle") {
id = generateUUID();
}
std::string Paddle::generateUUID() {
static std::random_device rd;
static... | [
"52322531+CITIZENDOT@users.noreply.github.com"
] | 52322531+CITIZENDOT@users.noreply.github.com |
bf410782da22fc431d6929a5a51d30da3eb73afe | 6eb7f18bbfcd40d85ed36f970b2d43ae04a25e74 | /MariaMounir/LDR.ino | b60438fd61d9ef473fd8771ca8468913a5a8ff20 | [] | no_license | MohamedRabie97/ASUMobiCarG72 | a06387b938e19e8c6936b68ad6cd0f62d833d48c | 19fb38102a753e9051161f903490b23ca7d5234a | refs/heads/master | 2021-04-28T10:47:17.165292 | 2018-04-23T18:27:57 | 2018-04-23T18:27:57 | 122,074,630 | 7 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 416 | ino | int led=11;
int ldr=A0;
int level;
void setup() {
Serial.begin(9600);
pinMode(led,OUTPUT);
pinMode(ldr,INPUT);
}
void loop() {
level=analogRead(ldr);
level=map(level,0,1023,0,255);
Serial.println(level);
... | [
"noreply@github.com"
] | noreply@github.com |
e64ed464b04649fe4f0b129db21b1844d80f9f00 | 9fad4848e43f4487730185e4f50e05a044f865ab | /src/printing/metafile_skia_wrapper.cc | df0e926ac053a9d11b9586c065d9d54830125b9d | [
"BSD-3-Clause"
] | permissive | dummas2008/chromium | d1b30da64f0630823cb97f58ec82825998dbb93e | 82d2e84ce3ed8a00dc26c948219192c3229dfdaa | refs/heads/master | 2020-12-31T07:18:45.026190 | 2016-04-14T03:17:45 | 2016-04-14T03:17:45 | 56,194,439 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,245 | 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 "printing/metafile_skia_wrapper.h"
#include "skia/ext/platform_canvas.h"
#include "skia/ext/refptr.h"
#include "third_party/skia/include/core... | [
"dummas@163.com"
] | dummas@163.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.