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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
dfe6588acf4afb2c85a1e02523aa1e1b65e855b1 | b523719092815144f4482707a7ac9ac83d99e1a6 | /code/src/states/advancedState.cpp | 33b666562c00d0df9a38d0bda8d9528b33ffc934 | [
"MIT"
] | permissive | malavv/MrPlate | eef3cc5ea8ac2be9b3a1eddc09da20d4d8a6d925 | 458c844fa79e8d3c121d9d9ebe6ab51132c70156 | refs/heads/master | 2021-01-12T03:37:18.675109 | 2018-07-27T05:08:08 | 2018-07-27T05:08:08 | 78,238,662 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 928 | cpp | #include "advancedState.h"
#include <Adafruit_SSD1306.h>
#include "../button/driver.h"
extern Adafruit_SSD1306 Display;
AdvancedState::AdvancedState(EventBus& bus) : State(StateType::Advanced, bus) {}
AdvancedState::~AdvancedState() {}
void AdvancedState::onEntering() {
isBtn1Pressed = false;
isBtn2Pressed = f... | [
"duguigne@gmail.com"
] | duguigne@gmail.com |
531449aaa3a19596dbbe58045483d21de8a0b4df | b21d3ae7efdffb515e9f8422d78999a0c20b5f0d | /src/sprite.cpp | 85b2a49a99d834ad5a8f216be6d3bce514f62530 | [
"MIT"
] | permissive | starcraftman/ReconstructingCaveStory | 2174d973ef6cad08a8fa0b72372255ce9ca3a60b | 409839733ff587c8889a0aee6e95c44e2e1ee3e6 | refs/heads/master | 2022-12-06T21:52:03.386563 | 2014-11-03T23:47:10 | 2014-11-03T23:47:10 | 16,495,265 | 0 | 1 | MIT | 2022-11-20T06:11:21 | 2014-02-03T22:29:47 | C++ | UTF-8 | C++ | false | false | 2,340 | cpp | /**
* Template C++ file.
* Function with references to pointers: func(int *&ptr);
*/
/********************* Header Files ***********************/
/* C++ Headers */
#include <iostream> /* Input/output objects. */
//#include <fstream> /* File operations. */
//#include <sstream> /* String stream. */
#include <string> /... | [
"unknown3000@gmail.com"
] | unknown3000@gmail.com |
2b32440daeed9847af5ab99168ab7a68f009d29d | d2249116413e870d8bf6cd133ae135bc52021208 | /myhook/Main/NetWakeHostDlg.cpp | ad8900c9382841685b22c5f253adaa117a185f16 | [] | no_license | Unknow-man/mfc-4 | ecbdd79cc1836767ab4b4ca72734bc4fe9f5a0b5 | b58abf9eb4c6d90ef01b9f1203b174471293dfba | refs/heads/master | 2023-02-17T18:22:09.276673 | 2021-01-20T07:46:14 | 2021-01-20T07:46:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,534 | cpp | // NetWakeHostDlg.cpp : implementation file
//
#include "stdafx.h"
#include "main.h"
#include "NetWakeHostDlg.h"
#include <winsock2.h>
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
////////////////////////////////////////////////////////////////////////... | [
"chenchao0632@163.com"
] | chenchao0632@163.com |
fced5917ba2d8ff5a7a6adf89065a1064d0d4b27 | 2670cd9d8e285bcad13be3e1291cd7c3ca20b98e | /showiterationsdialog.cpp | a03556c18233deccdeae246dc4435cde7b1db520 | [] | no_license | pardeepshokeen/cppeditor | c2523f41ad07126e1bf5bce6bb28cf6611c6c803 | 3d87e5918608f3e69da19e410541368d1d274d58 | refs/heads/master | 2021-01-21T05:10:32.189974 | 2017-02-25T16:42:29 | 2017-02-25T16:42:29 | 83,144,673 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,313 | cpp | #include "showiterationsdialog.h"
#include "ui_showiterationsdialog.h"
#include <QTextDocument>
showIterationsDialog::showIterationsDialog(QVector<QPair<int,lineInfo> >tempData, QString lineText, QWidget *parent):
QDialog(parent),
ui(new Ui::showIterationsDialog)
{
ui->setupUi(this);
ui->treeWidgetAft... | [
"pardeep13shokeen@gmail.com"
] | pardeep13shokeen@gmail.com |
d08232d1825f3189eedf248573a0eff85e08a6e9 | 7e8ba87c6af6c541cb2e92bec9a9804c07141083 | /stupidfrog/proj.wp8/stupidfrog.h | 8c7a8e5905efee117b32eb1944337701dceb462c | [] | no_license | linh232323/frenzyfrog | f2de17f2ecb8ff4fe0d078370c352624800f51f8 | 374ce425dd7e8b25f3e0d11914166854bb5935ae | refs/heads/master | 2018-12-28T18:47:15.601037 | 2014-05-18T08:47:18 | 2014-05-18T08:47:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,720 | h | #pragma once
#include "../Classes/AppDelegate.h"
ref class stupidfrog sealed : public Windows::ApplicationModel::Core::IFrameworkView
{
public:
stupidfrog();
// IFrameworkView Methods.
virtual void Initialize(Windows::ApplicationModel::Core::CoreApplicationView^ applicationView);
virtual void SetWindow(Window... | [
"linh232324@gmail.com"
] | linh232324@gmail.com |
e2d2fd08bdb7911483e876773981902963976647 | 59aa7012dd48165c24a1b3aff5e5139ca4af59d5 | /tyyy.ino | 0ea34234c0c5dbca70a4cf213e3155505bd61e8d | [] | no_license | deniharyono/ArduinoCameraVCO760 | 3bd7e42768134eb54ef2db31df8633c5fad98278 | 01234cbe7221fe09360f771952499c216bd8edc1 | refs/heads/master | 2020-07-10T15:47:26.973174 | 2019-08-25T14:12:01 | 2019-08-25T14:12:01 | 204,303,222 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,430 | ino | #include <ESP8266WiFi.h>
#include <WiFiClientSecure.h>
#include <UniversalTelegramBot.h>
#include <Adafruit_VC0706.h>
#include <SPI.h>
#include <SD.h>
#include <SoftwareSerial.h>
#include <ArduinoJson.h>
const int resetConfigPin = 3;
#define min(a,b) ((a)<(b)?(a):(b))
char ssid[] = "12121212";
cha... | [
"noreply@github.com"
] | deniharyono.noreply@github.com |
6f4e28c12f5cde143374f475c989ac331bf9d24b | 521d980c88e21d1a747e70a4112fd264bea04090 | /src/Entity.h | ba061218fd1293f6425295e658a788db209fad40 | [] | no_license | CV145/2DGameEngine | 944034ee558359d7d79d44b1a74cba645367b486 | b1afc4e093e16f8b1687c0be2e54284cfb9b5cc6 | refs/heads/master | 2023-06-16T21:18:26.936185 | 2021-06-21T20:21:03 | 2021-06-21T20:21:03 | 379,053,893 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,055 | h | //If this header is not defined - define it
//These are called Header Guards. If ENTITY_H is not defined, define it and run the code in this file - the header is only run once
#ifndef ENTITY_H
#define ENTITY_H
#include <vector>
#include <string>
#include <iostream>
#include <map>
#include "./Constants.h"
#include ".... | [
"carlosvaleriano45@yahoo.com"
] | carlosvaleriano45@yahoo.com |
c72e0c9be69662e6689afa28f5f372b3d3d7a97b | 1af656c548d631368638f76d30a74bf93550b1d3 | /gpu/command_buffer/service/shared_image_backing.h | 6cae0426b406f8d9a29798eb065912b2c1506263 | [
"BSD-3-Clause"
] | permissive | pineal/chromium | 8d246c746141ef526a55a0b387ea48cd4e7d42e8 | e6901925dd5b37d55accbac55564f639bf4f788a | refs/heads/master | 2023-03-17T05:50:14.231220 | 2018-10-24T20:11:12 | 2018-10-24T20:11:12 | 154,564,128 | 1 | 0 | NOASSERTION | 2018-10-24T20:20:43 | 2018-10-24T20:20:43 | null | UTF-8 | C++ | false | false | 3,441 | h | // Copyright 2018 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 GPU_COMMAND_BUFFER_SERVICE_SHARED_IMAGE_BACKING_H_
#define GPU_COMMAND_BUFFER_SERVICE_SHARED_IMAGE_BACKING_H_
#include "components/viz/common/res... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
987f2be2668d1975f5e053f8ec6188e7aa391086 | e4da9f51d0b58c8a1669aa2a90be8c42bfa578f3 | /cse20212/lab4/CardDeck.h | 447d0c6570f7b20dc89a784231d28c1fa4ca4cd4 | [] | no_license | SameeranBorah/Schoolwork | b436babbaf702f3e50d8343b5c160fb9bc7a2657 | a2b9300256c4d35e3f0b55f8ef707d7cb7e54103 | refs/heads/master | 2020-03-30T00:32:07.196149 | 2015-07-24T11:01:24 | 2015-07-24T11:01:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 735 | h | /*
John F. Lake, Jr. CardDeck.h
Interface for the CardDeck class - stores a deck of cards as an STL deque of n integers
*/
#ifndef CARDDECK_H
#define CARDDECK_H
#include <deque>
#include <ostream>
using namespace std;
class CardDeck{
//Overloaded << operator
friend ostream& operator<<(ostream& , CardDeck &)... | [
"jlake2@fitz77.helios.nd.edu"
] | jlake2@fitz77.helios.nd.edu |
827487b5aaa7ab4718123ff4f66ce8ffcb7f078f | 95211554c7918444f1834b968a305dabd1cb19f4 | /05-ScenceManager/PlayerIdleState.cpp | 8ee0fb73c57cba963d95ed8c99701b00183e7ac3 | [] | no_license | FinnTruong/gamedev-intro-tutorials-master | abeed958842423253757142acc0dfedf5636bd77 | 2dd090d22b6ddec71bc793a3952f6d9c8faa0fa5 | refs/heads/main | 2023-02-22T07:54:57.207036 | 2021-01-16T03:29:39 | 2021-01-16T03:29:39 | 306,832,526 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,341 | cpp | #include "PlayerIdleState.h"
#include "PlayerWalkingState.h"
#include "PlayerCrouchingState.h"
#include "Game.h"
#include "Player.h"
PlayerIdleState::PlayerIdleState()
{
Mario->allow[MARIO_STATE_JUMPING] = true;
Mario->allow[MARIO_STATE_CROUCHING] = true;
Mario->isAttacking = false;
state = MARIO_STATE_IDLE;
}
v... | [
"53734879+FinnTruong@users.noreply.github.com"
] | 53734879+FinnTruong@users.noreply.github.com |
b59a2b2089eb6696c79ef2b3b05dbd96eff35b8b | ddd16f25efe7571195bc5159d4d169c710e95ded | /Source/TowerDefense/TowerDefenseGameModeBase.cpp | 6f97315ab30f606dae62ee2e0734a316606fee34 | [] | no_license | Blastertoad/RetroTowerDefense | 97b6e49b4a3f7df367b8c55cf2d03e544d15eb72 | c7a33c5570fa0f8c1461852bf040a7d959389bbe | refs/heads/master | 2022-04-09T00:17:49.748523 | 2020-03-21T01:57:19 | 2020-03-21T01:57:19 | 241,233,057 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 102 | cpp | // Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
#include "TowerDefenseGameModeBase.h"
| [
"blastertoad@gmail.com"
] | blastertoad@gmail.com |
8afadde5494eb321d058f3691f5c8902bf1ccbe1 | e6bb689238d6192d23ab6114e229db1061e8b9bc | /P1/E2/prof.cpp | ea06d2dd50369299cd11bb30fa15d51853ae4536 | [] | no_license | MarcosRigal/Sin | 3908c4db47368cf9da28fe996e0da2cea9546408 | 3841faae4e2bbcea62743fc6f05f09413d70cc83 | refs/heads/main | 2023-06-03T21:54:37.339697 | 2021-06-18T09:36:28 | 2021-06-18T09:36:28 | 344,752,650 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,274 | cpp | //============================================================================
// Name : main.cpp
// Author :
// Version :
// Date :
//============================================================================
/////////////////////////////////////////////////////
//EDITA ÚNICAMENTE LAS LÍNEAS... | [
"riveragavilanmarcos@gmail.com"
] | riveragavilanmarcos@gmail.com |
19dcce514eedeba4cb4e1b58eabcd637b703c075 | 0ac4fb044735c1d8db0276834f4728980655be57 | /WrenClient/Source/Camera.cpp | 3ef1eae4f140ce5079a3dec50a8d7c1f6cd3244a | [] | no_license | ericbfriday/wren | 87d0bc21f090d46f3bce40b70a495c82615861df | 5010309a705b7016c546215da01cb5f66e8910dd | refs/heads/master | 2020-12-08T20:38:15.428673 | 2019-12-01T06:52:41 | 2019-12-01T06:52:41 | 233,088,842 | 1 | 0 | null | 2020-01-10T16:40:05 | 2020-01-10T16:40:04 | null | UTF-8 | C++ | false | false | 895 | cpp | #include "stdafx.h"
#include "Camera.h"
void Camera::Update(XMFLOAT3 player, const float deltaTime)
{
auto deltaX = std::abs(player.x - camX);
auto deltaZ = std::abs(player.z - camZ);
const auto max = std::max(deltaX, deltaZ);
deltaX = static_cast<float>(deltaX / max);
deltaZ = static_cast<float>(deltaZ / max);
... | [
"drew.kestell@gmail.com"
] | drew.kestell@gmail.com |
f1811eb6f001d782635268129450980eea1a6b25 | 8687252d9867c5e9c61b0718e8edbc8a61d19a9f | /gameplay/src/lua/lua_Ray.cpp | efbe5b06162d80a2893262098f74486c350e67b8 | [
"LicenseRef-scancode-warranty-disclaimer",
"Apache-2.0"
] | permissive | jtfalco/GamePlay | f54d35bf78db8d799c9618f1a8f697e51e5e089a | a88d8dd26edd8dadb66c5d7d5cc84d7c657bf1e7 | refs/heads/master | 2021-01-17T05:20:42.136455 | 2012-08-10T19:49:08 | 2012-08-10T19:49:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,792 | cpp | #include "Base.h"
#include "ScriptController.h"
#include "lua_Ray.h"
#include "Base.h"
#include "BoundingBox.h"
#include "BoundingSphere.h"
#include "Frustum.h"
#include "Plane.h"
#include "Ray.h"
namespace gameplay
{
void luaRegister_Ray()
{
const luaL_Reg lua_members[] =
{
{"getDir... | [
"cculy@rim.com"
] | cculy@rim.com |
75f203dd8d288c31d57ffa2872b19552ce4e183e | 5e35d49887a0c50d75913ca82d187275e217c4f5 | /Baekjoon/Codejam]round1-2.cpp | 08c86f9f1df535a9c4e920462f6b30f58dca7601 | [] | no_license | jiun0507/Interview-prep | 4866f0c3d3dd6a407bc7078987aaa373d7111c2c | aeaae8a99dc21f2b11ae50f577a75ff49b56e1b3 | refs/heads/master | 2021-11-14T11:31:03.316564 | 2021-09-11T21:15:25 | 2021-09-11T21:15:25 | 214,645,862 | 0 | 0 | null | 2019-10-12T13:08:09 | 2019-10-12T12:44:57 | null | UTF-8 | C++ | false | false | 1,886 | cpp | // Pascal walk
// a OK
// b OK
// c OK
// a => 그냥 옆선만 따라 가도 해결
// b => 옆선 따라가다 한번 꺾어주기만 해도 해결
// c => n-30을 이진수로 표현. row가 check되어 있으면 horizontally 가로지름. 계속 내려감.
// 부족한 숫자만큼 다 끝난뒤 옆선을 따라서 계속 움직임.
#include <iostream>
#include <bits/stdc++.h>
using namespace std;
int pascal[501][501];
int n;
int main()
{
int t;... | [
"jkim2@bowdoin.edu"
] | jkim2@bowdoin.edu |
860a50db035046d89895424eefadd40266b9befa | 22d8930b5cb214046c3967db3a75fc6bc5c15eac | /HW06/platform/gaussianFilter.h | b2bc5172fc057780e4d5f3593eb4217ad8a96865 | [] | no_license | t32908/Implement-of-Many-Core-System | 3fe53d021a5953832c4f6d4962cf8d54dd4340cd | 7bfa93574e14ac7d0526251846c7a3809806750c | refs/heads/main | 2023-06-18T01:01:22.433172 | 2021-06-23T07:02:12 | 2021-06-23T07:02:12 | 348,064,972 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,232 | h | #ifndef GAUSSIAN_FILTER_H_
#define GAUSSIAN_FILTER_H_
#include <systemc>
#include <cmath>
#include <iomanip>
using namespace sc_core;
#include <tlm>
#include <tlm_utils/simple_target_socket.h>
#include "filter_def.h"
struct gaussianFilter : public sc_module {
tlm_utils::simple_target_socket<gaussianFilter> tsock;
... | [
"t32908@gmail.com"
] | t32908@gmail.com |
73ab8b193499824cb62b3f320231919c6026f89b | ad8271700e52ec93bc62a6fa3ee52ef080e320f2 | /CatalystRichPresence/CatalystSDK/LowPassButterworthNodeData.h | 676c77e136dc2a663bc42d21640943a7bf125d7f | [] | no_license | RubberDuckShobe/CatalystRPC | 6b0cd4482d514a8be3b992b55ec143273b3ada7b | 92d0e2723e600d03c33f9f027c3980d0f087c6bf | refs/heads/master | 2022-07-29T20:50:50.640653 | 2021-03-25T06:21:35 | 2021-03-25T06:21:35 | 351,097,185 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 744 | h | //
// Generated with FrostbiteGen by Chod
// File: SDK\LowPassButterworthNodeData.h
// Created: Wed Mar 10 19:06:05 2021
//
#ifndef FBGEN_LowPassButterworthNodeData_H
#define FBGEN_LowPassButterworthNodeData_H
#include "AudioGraphNodePort.h"
#include "SoundGraphPluginRef.h"
#include "AudioGraphNodeData.h"
class LowP... | [
"dog@dog.dog"
] | dog@dog.dog |
df8cf25fd827d2aaf74ce4d33268ee27f869182b | 4415c5ede372070df91397b17cadff2567ed7178 | /31 = 888144/lab10.fales.no2.no3/lab10/ex04_copyConstructor/ptrMemberVarType.h | 85f009ee6ea002aaa2f93d1496400188eda9cacf | [] | no_license | NitichaiSawangsai/BUU-Y1 | 67798d16930234c45eb50ca4098edaea84c66a76 | ad8dc6fc59b46f7492874db24adf1e620bf73829 | refs/heads/master | 2023-07-11T05:45:20.299221 | 2021-08-22T01:47:44 | 2021-08-22T01:47:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 992 | h | class ptrMemberVarType
{
public:
void print() const;
//Function to output the data stored in the array p.
void insertAt(int index, int num);
//Function to insert num into the array p at the
//position specified by index.
//If index is out of bounds, the program is terminated.
//If... | [
"NitichaiSawangsai@gmail.com"
] | NitichaiSawangsai@gmail.com |
4684b3e48c8b4896b2aa8a37b03f8fb34b27f733 | f723ae3b9986ba7d46a12d59dba565194d7597a1 | /src/pso/tasgetiren_pso.cpp | ddf89fda70aec51854c1c36c924e0efbd988bdad | [] | no_license | src-eam/CBC | 5e5e1a4d6fefb6be34b715ef480105d7a21edbc9 | 3405f6520634dce81ca3aea0e660692b2d12c59e | refs/heads/master | 2021-01-06T20:42:41.687917 | 2015-02-17T14:22:29 | 2015-02-17T14:22:29 | 23,572,367 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,577 | cpp | /*
* tasgetiren_pso.cpp
*
* Author: eugene
*/
#include "tasgetiren_pso.h"
const std::string TasgetirenPSO::NAME_VERSION_PSO = "Tasgetiren_PSO";
TasgetirenPSO::TasgetirenPSO(IDecrypt *&decrypt, IFunctionCost *&func,
IRandomGenerator *&randG, const std::string &outFile,
const std::string &fileKeys,const u... | [
"eugene@Arkady"
] | eugene@Arkady |
cc42163f2426e2d4097f9ab0694fd5fb1916a4ba | e214329b7ae946e81d547f2d5c86494f7c9786ea | /2019_season3/bfs/general.h | 0878dcd525ab5edce81b733d31e4bd1e4b502832 | [
"MIT"
] | permissive | wy3148/leetcode | 8cd118df2f007b3eb6037ce07cf1a8ad87ddbfef | 53bdbdcf4a8ad8f61fed2b429c9220fc89e369ca | refs/heads/master | 2021-01-22T21:07:52.917408 | 2020-02-07T04:22:38 | 2020-02-07T04:22:38 | 85,396,420 | 0 | 0 | null | 2017-03-18T11:31:08 | 2017-03-18T11:31:08 | null | UTF-8 | C++ | false | false | 96 | h | #include <queue>
#include <vector>
#include <string>
#include <iostream>
using namespace std;
| [
"iwang@netfortris.com"
] | iwang@netfortris.com |
1504ca330fdc6918dc4112a624447c9e80305468 | 3962899b0350c4ccdec015a555603f5a705bc698 | /include/amino/bdeque.h | 6b2c9fdbf756effc52c5730a94492cdda332bcf4 | [
"Apache-2.0"
] | permissive | bapi/amino | 8fc7c82d68e5b3a960e84301d238cf7507e33adc | fb3453097793fdbf0b5b5f7c272b4c3625968d7e | refs/heads/master | 2020-12-30T17:44:39.548491 | 2010-04-15T22:00:11 | 2010-04-15T22:00:11 | 11,505,149 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,807 | h | /*
* (c) Copyright 2008, IBM Corporation.
*
* 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... | [
"dmerriman@gmail.com"
] | dmerriman@gmail.com |
e516d43e3ec0edce39976f8048cee0e1da546b71 | 7659d93d559e81e73c5d7dfc34ae84c28e180fec | /darkness-engine/include/engine/EngineComponent.h | 1197d9bd3d0a83527ca8002b47a3a3229253df9c | [] | no_license | Karmiska/Darkness | d6905017025dd5b2cf591533ffcc21bd13a824ae | a9e35281307e8aa8843213f92804f6d74d145754 | refs/heads/master | 2023-07-23T10:19:41.900249 | 2023-07-09T11:00:33 | 2023-07-09T11:00:33 | 109,767,787 | 8 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,703 | h | #pragma once
#include "tools/Debug.h"
#include "engine/ComponentRegister.h"
#include "tools/Serialization.h"
#include "containers/string.h"
#include "containers/memory.h"
#include <functional>
namespace engine
{
enum class ButtonPush
{
NotPressed,
Pressed
};
enum class ButtonToggle
... | [
"aleksi.jokinen@gmail.com"
] | aleksi.jokinen@gmail.com |
6d2d6864124c3c6998f72d353d87f21cf3610a0e | ba76ff053e4ad23b3ecd7e41d42be8b805743e66 | /src/mge/core/enum_set.hpp | 3f5cdbdc6a7a9b77a0b24f8991fb232a9a2b4d85 | [
"MIT"
] | permissive | mge-engine/mge | c6b45216fe327d279c6b86b3764abcda74a7f7d4 | 36ce18d0602d14e216405d00e2debe0dd117f7fb | refs/heads/main | 2023-09-03T15:28:34.874064 | 2023-08-16T15:30:00 | 2023-08-16T10:28:45 | 174,581,225 | 0 | 0 | MIT | 2023-03-11T14:46:07 | 2019-03-08T17:34:06 | C++ | UTF-8 | C++ | false | false | 4,113 | hpp | // mge - Modern Game Engine
// Copyright (c) 2017-2023 by Alexander Schroeder
// All rights reserved.
#pragma once
#include "mge/core/dllexport.hpp"
#include "mge/core/stdexceptions.hpp"
#include <bitset>
#include <iostream>
#include <iterator>
#include <type_traits>
namespace mge {
/**
* @brief A bitset def... | [
"schroeder.alexander@googlemail.com"
] | schroeder.alexander@googlemail.com |
3fb085de46fe66743613d5539c8e674a0e8c8276 | 41ee3310acf30a8376f629c0cbd545c3ff18ed2e | /References/SameSumSubMatrices/src/MatrixData.hpp | e76659d6b756c755e9ce33d3f9ad3afd5acee496 | [] | no_license | nponcian/LibroDeConocimiento | 6f5c7ed3d487bdfcb9efdd70ecf3c66a92458613 | 59933de82547afa2437042e2c0a459d52c1a2425 | refs/heads/master | 2020-05-30T16:41:51.469600 | 2020-05-30T07:09:02 | 2020-05-30T07:09:02 | 189,851,906 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 299 | hpp | #ifndef SRC_MATRIXDATA_HPP
#define SRC_MATRIXDATA_HPP
#include <map>
namespace src::data
{
using SquareSize = unsigned;
struct Coordinate
{
unsigned row;
unsigned col;
};
using SubMatrices = std::multimap<SquareSize, Coordinate>;
} // namespace src::data
#endif // SRC_MATRIXDATA_HPP
| [
"nielgp93@gmail.com"
] | nielgp93@gmail.com |
8bc4045e553cb3bbdb26a68669993de93d1e20c9 | d992d379f517d15f3a90045157b174982bbe80ff | /oct6.cpp | 2d72332d2046177d9f6f7baa51f7e9d486e4d8c4 | [] | no_license | vkt1992/OnlineCoding-Codechef | 3ebb174851a83e113d055302bf29b6c0f6d2d842 | d7d4a183509a76d6e71c7185245939d8a7803e53 | refs/heads/master | 2021-01-10T01:29:58.308841 | 2015-11-30T03:11:22 | 2015-11-30T03:11:22 | 47,074,888 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 718 | cpp | #include<iostream>
#include<stdio.h>
#include<algorithm>
#include<vector>
using namespace std;
#define node pair<int,int>
int paintbox[101][101]={0};
int main(){
int n,m,k,i,j;
scanf("%d%d%d",&n,&m,&k);
while(k--){
int x,y;
scanf("%d%d",&x,&y);
paintbox[x][y]=1;
}
long long int cnt=0;
vector <node> v... | [
"vivekthakur1992@gmail.com"
] | vivekthakur1992@gmail.com |
b064d38d1b733dde5eeb879c47a5415e4b5fe44b | 68fea3cd7b88a3313765d20661d17b1da2c47fc0 | /test/rs232/utility_on_PC_side/RS232Utility.cpp | dc4ca2ef28a48d6cbabe4e9ab8702df1c30ca88d | [
"MIT"
] | permissive | JoeyMengDi/firstProject | f5fd2d1c515f0c6056e9a2cc4d576647d7e4f298 | cda0a5dfb5f70330f8d886081d2633217257b6fd | refs/heads/master | 2020-04-07T11:11:53.078029 | 2018-12-28T02:28:38 | 2018-12-28T02:28:38 | 158,316,054 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 897 | cpp | //---------------------------------------------------------------------------
#include <vcl.h>
#pragma hdrstop
//---------------------------------------------------------------------------
USEFORM("Main.cpp", frmMain);
//---------------------------------------------------------------------------
WINAPI WinMain(HINSTAN... | [
"andydashu@163.com"
] | andydashu@163.com |
4ed95bdd20581b9dd4995c3bf4b45b5c2c289088 | 2fbb690411240a5a7ae46dded8a9b32a77c9ad34 | /boyorgirl.cpp | 7439749a4eaaea450b3c161c9efba137d8223f85 | [] | no_license | leonardo-lim/codeforces | 72937b15d2de2dec361c7c0feae53019e9d15f63 | 6ce4d5bac6ff2447991ac29388d5f59ac6cb758b | refs/heads/main | 2023-08-30T20:14:57.264924 | 2021-11-02T02:03:27 | 2021-11-02T02:03:27 | 423,676,320 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 361 | cpp | #include <bits/stdc++.h>
using namespace std;
int main() {
int a[26] = {0}, count = 0;
string x;
cin >> x;
int len = x.size();
for (int i = 0; i < len; i++) {
a[x[i] % 97]++;
}
for (int i = 0; i < 26; i++) {
if (a[i] > 0) count++;
}
if (count % 2 == 0) {
cout << "CHAT WITH HER!";
} else {
... | [
"leonardolim178@gmail.com"
] | leonardolim178@gmail.com |
aba5bf7617bed002bd4cdaad95ed77c7d5ce6096 | 8f5d0d23e857e58ad88494806bc60c5c6e13f33d | /Input System/cMouse.cpp | 14691e5880d8bd1531a8d84d7898ba1ba22a26a8 | [] | no_license | markglenn/projectlife | edb14754118ec7b0f7d83bd4c92b2e13070dca4f | a6fd3502f2c2713a8a1a919659c775db5309f366 | refs/heads/master | 2021-01-01T15:31:30.087632 | 2011-01-30T16:03:41 | 2011-01-30T16:03:41 | 1,704,290 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,611 | cpp | #include "cMouse.h"
// Include Paul Nettle's memory manager
#include "../Memory/mmgr.h"
/*****************************************************************************
CMouse::Constructor
Initializes the DI device
*****************************************************************************/
cMouse::cMous... | [
"markglenn@gmail.com"
] | markglenn@gmail.com |
ef988767ab2b9a5c9fda81e1635f514b1cea2e46 | bbcda48854d6890ad029d5973e011d4784d248d2 | /trunk/win/Source/Includes/QtIncludes/src/3rdparty/webkit/JavaScriptCore/wtf/HashCountedSet.h | d1dbbaad9f510df61e1140166583d6942d260915 | [
"Apache-2.0",
"MIT",
"curl",
"LGPL-2.1-or-later",
"BSD-3-Clause",
"BSL-1.0",
"LicenseRef-scancode-public-domain",
"LGPL-2.1-only",
"Zlib",
"LicenseRef-scancode-unknown",
"LicenseRef-scancode-unknown-license-reference",
"MS-LPL"
] | permissive | dyzmapl/BumpTop | 9c396f876e6a9ace1099b3b32e45612a388943ff | 1329ea41411c7368516b942d19add694af3d602f | refs/heads/master | 2020-12-20T22:42:55.100473 | 2020-01-25T21:00:08 | 2020-01-25T21:00:08 | 236,229,087 | 0 | 0 | Apache-2.0 | 2020-01-25T20:58:59 | 2020-01-25T20:58:58 | null | UTF-8 | C++ | false | false | 8,363 | h | /*
* Copyright (C) 2005, 2006, 2008 Apple Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) a... | [
"anandx@google.com"
] | anandx@google.com |
e4cc06aa9b0842ef0a2474e98a6fd326b445cd34 | bbadc9a0dc0a3c42cb05b1402014bc7de07de47b | /ABC161/C.cpp | 6a78693b5945f1ffc75db3c2d941006fa466fe3a | [] | no_license | h16110s/AtCoder | eba8ada29b52be08ee14ea75a3f722e29e1c8c22 | 7f47bd7e670648d43cf40350f8a359540f758126 | refs/heads/master | 2023-08-17T05:12:11.749445 | 2023-08-14T09:57:05 | 2023-08-14T09:57:05 | 171,617,728 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 377 | cpp | #include <iostream>
#include <cmath>
#include <algorithm>
#include <string>
#include <vector>
#include <set>
using namespace std;
int main(){
long long N, K;
cin >> N >> K;
if( N % K == 0){
cout << 0 << endl;
}
else if( abs(K - N) < N){
cout << min( K - abs(N % K), abs(N%K) ) << ... | [
"shiro.16110@gmail.com"
] | shiro.16110@gmail.com |
c9dba903541495ba62979193cf53a5277a992aa5 | 1b10761492d0ec15149a4ff1e8bcba76ce272f5b | /epd47_blue_waker_center_weather/weather_multiday.cpp | 73ebff53f94c54ed10b1b4115f0cef34c1f21354 | [] | no_license | zhaolaipi/LilyGo-EPD47-HC08 | 4a97ea8089cc0f49f82443706187e4816cfe9d0f | ff264e070d7c7f7b90578368f90b350f10706397 | refs/heads/main | 2023-07-08T13:05:33.970294 | 2021-08-15T08:16:45 | 2021-08-15T08:16:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,675 | cpp | #include "weather_multiday.h"
/*
https://arduinojson.org/v6/how-to/use-external-ram-on-esp32/ 如何调用 arduinojson库时使用psram
//注意:为了解析天气json,
struct SpiRamAllocator {
void* allocate(size_t size) {
return heap_caps_malloc(size, MALLOC_CAP_SPIRAM);
}
void deallocate(void* pointer) {
heap_caps... | [
"noreply@github.com"
] | zhaolaipi.noreply@github.com |
6fa5bb8218c38d89aeafcf4839a9af55c420d126 | 4014e8a0e9b0c18d37fca762b890c10a21591421 | /XZZ2l2nu/tools/metCorr/macros/gjets/study_gjet_33fbinv.cc | 53e650367c5a574395bb595ec95f5e8475b9f631 | [] | no_license | VirginiaCMS/cmgtools-lite | 03801ebd074c0c617f75c19abffea60e4e79358c | fc43746a91ca3a2bb857858d3c78e15d20f54074 | refs/heads/xzz2l2nu_8026p1 | 2021-01-24T05:41:59.334426 | 2017-10-26T00:42:54 | 2017-10-26T00:42:54 | 67,161,086 | 0 | 2 | null | 2017-10-26T00:42:55 | 2016-09-01T19:43:37 | Fortran | UTF-8 | C++ | false | false | 31,987 | cc | #include "TFile.h"
#include "TTree.h"
#include "TBranch.h"
#include "TH1D.h"
#include "TH2D.h"
#include "TH3D.h"
#include "TCanvas.h"
#include "TMath.h"
#include "TGraphErrors.h"
#include "TVector2.h"
#include "TEntryList.h"
#include <iostream>
#include <fstream>
#include <sstream>
#include <stdlib.h>
#include <string>... | [
"Hengne.Li@CERN.CH"
] | Hengne.Li@CERN.CH |
26a797e3ccabf5156efe26533459d70394aec6c9 | f5f6d84a908fa97e393e3a53dee945ca3bc9f7b1 | /src/wallet/crypter.cpp | bffd8190236be1bc9495877a9a1ba42b9709c8e4 | [
"MIT"
] | permissive | Dollar-coin/Dollar | ff11b24538843006cbe8ab319b89845e1443c946 | 4b84e5d14408f3985d527aaccac21472b47c91d5 | refs/heads/main | 2023-02-28T07:05:11.900007 | 2021-02-08T19:45:28 | 2021-02-08T19:45:28 | 335,782,702 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 9,702 | cpp | // Copyright (c) 2009-2018 The Bitcoin Core developers
// Copyright (c) 2021 The Dollar Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <wallet/crypter.h>
#include <crypto/aes.h>
#include <crypto/sha512... | [
"thebest866@protonmail.com"
] | thebest866@protonmail.com |
b3a7222faf51e5460bf655b60aa90104b5598672 | 5cf356e08e50cf0d4536540f4377e8bfac08cd71 | /include/mcnla/core/matrix/kit/def.hpp | 2c25415dfae38532b7dace1311b2a89dcbd37782 | [
"MIT"
] | permissive | emfomy/mcnla | 3c295882235c38e09ca17da4cea237159d8e66ba | 9f9717f4d6449bbd467c186651856d6212035667 | refs/heads/master | 2021-09-22T18:10:48.569118 | 2017-08-12T07:05:52 | 2017-08-12T07:05:52 | 65,194,298 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 964 | hpp | ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// @file include/mcnla/core/matrix/kit/def.hpp
/// @brief The container kit definitions.
///
/// @author Mu Yang <<emfomy@gmail.com>>
///
#ifndef MCNLA_CORE_MATRIX_KIT_DEF_HPP_
#defin... | [
"emfomy@gmail.com"
] | emfomy@gmail.com |
6b86568cf769507f5894b23ddc3b14d6238344fb | bcc082275d934bbdc1913fe69c0ffd0bb9ff4638 | /casbin/ip_parser/parser/equal.cpp | 3d9d025602c64000f818cf671626e0dbc0430e7e | [
"Apache-2.0"
] | permissive | ZipoChan/casbin-cpp | 6226288739b07301c225309e6eba8684ea2fbe2e | 98ce39377c6b314454ba1265b470c1820a1350b9 | refs/heads/master | 2021-05-21T02:35:36.609811 | 2021-01-07T12:17:12 | 2021-01-07T12:17:12 | 259,974,186 | 1 | 0 | Apache-2.0 | 2020-04-29T16:04:39 | 2020-04-29T16:04:38 | null | UTF-8 | C++ | false | false | 263 | cpp | #pragma once
#include "pch.h"
#include "./equal.h"
bool equal(IPMask m1, IPMask m2) {
if(m1.size() != m2.size())
return false;
for(int i = 0 ; i < m1.size() ; i++) {
if(m1[i] != m2[i] )
return false;
}
return true;
} | [
"divy9881@gmail.com"
] | divy9881@gmail.com |
f117f53f7049b4cdbfe8569279924af0f616aa02 | 6a72396fda41b742fd199c988987e3f90cdc0b44 | /AtCoderBeginnerContest/ABC108/ABC108_A.cpp | 13f3536499c4ce1a3d38200125f5d69ba68cb428 | [
"MIT"
] | permissive | XXQ2/AtCoder_Cpp | df916a8454624bee799cec397c0fc41387a59192 | d436553333031498845c0f35c68a5f37092b04db | refs/heads/master | 2021-01-02T18:10:21.778015 | 2020-05-26T00:39:47 | 2020-05-26T00:39:47 | 239,737,187 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 719 | cpp | #include <bits/stdc++.h>
#define forn(i, n) for (long long i = 0; i < (long long)(n); ++i)
#define for1(i, n) for (long long i = 1; i <= (long long)(n); ++i)
#define fore(i, l, r) for (long long i = (long long)(l); i <= (long long)(r); ++i)
#define fordn(i, n) for (long long i = (long long)(n) - 1; i >= 0; --i)
#define... | [
"asbo0502@gmail.com"
] | asbo0502@gmail.com |
aa40904bcf200da4f52baf1de77981ef79aa2a79 | 7e4fb531f92fd2c9483ab67c42c93612a9b9f9b5 | /BoostSignal2/include/door.h | 78acfd2a3ba60c71e0943d74f9042e9ce8a4dd75 | [] | no_license | MATACE/study_cpp | 5f6759bf5aa3310df444d684df1e467a8301dda7 | b85be05574d8f72a20496654f70b9ddd2a6d72c8 | refs/heads/master | 2020-12-13T14:32:33.882001 | 2020-09-18T09:04:44 | 2020-09-18T09:04:44 | 234,444,819 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 449 | h | #ifndef DOOR_H
#define DOOR_H
#include <unistd.h>
#include <iostream>
#include <thread>
using namespace std;
class Door
{
public:
Door();
int operator()(int x){
cout << "slot " << x << " called" << endl;
cout << "Door operator thead id " << std::this_thread::get_id() << endl;
Open(x)... | [
"huangxinquan@flexem.cn"
] | huangxinquan@flexem.cn |
afb1e1eb7a17adc45a93ebf6ddeedfe5d84e4599 | 5d83739af703fb400857cecc69aadaf02e07f8d1 | /Archive2/3d/a1aec69e3febf3/main.cpp | 28607a5a39e6e9759618c81d470ca6029e654416 | [] | no_license | WhiZTiM/coliru | 3a6c4c0bdac566d1aa1c21818118ba70479b0f40 | 2c72c048846c082f943e6c7f9fa8d94aee76979f | refs/heads/master | 2021-01-01T05:10:33.812560 | 2015-08-24T19:09:22 | 2015-08-24T19:09:22 | 56,789,706 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 596 | cpp | #include <iostream>
#include <type_traits>
template<class...>
struct voider {
using type = void;
};
template<typename...Args>
using void_t = typename voider<Args...>::type;
void Serialize(float&)
{
}
template<typename T, typename = void>
struct has_external_serialize : std::false_type
{
};
temp... | [
"francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df"
] | francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df |
b6e1cd6e2e4de7ff599f5288d5d4ff5c6b0fcfec | e8778c48efdf5795703eda1318547701612cc490 | /examples/Mirror/camera.hpp | 67fdf0dafa127470a852e12dba4bf6ff90770fb4 | [
"MIT"
] | permissive | sjneves/MirrorOpenGL | 0748daac39f9226ba7cd794f55974dae4c488da7 | 93abcc52fdb85483d5e8af9c5287f5995040b169 | refs/heads/master | 2023-04-29T22:26:16.121675 | 2021-04-26T01:33:24 | 2021-04-26T01:33:24 | 361,582,875 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,121 | hpp | #ifndef CAMERA_HPP_
#define CAMERA_HPP_
#include <glm/mat4x4.hpp>
#include <glm/vec3.hpp>
class OpenGLWindow;
class Camera {
public:
void computeViewMatrix();
void computeProjectionMatrix(int width, int height);
void dolly(float speed);
void truck(float speed);
void pan(float speed);
glm:... | [
"jneves42@hotmail.com"
] | jneves42@hotmail.com |
6a931c7702b0b23f203d620f32d75f50a23f439f | b3892629984f211ab23f5c7d4a459db86750f9fb | /multiThread_notes/附件/test_demo/for_test_code/test_condition_variable_2.cpp | ff2f0cbdf4c276430eac8c56860560079818f07a | [] | no_license | yzhu798/CodingInterviewsNotes | 27fb372c7bd26a94c0c838f8ad6e36fb4c61660f | 4657780334d79f180fbea557a14e077fac6aad1d | refs/heads/master | 2022-01-29T11:57:45.550820 | 2022-01-16T07:27:26 | 2022-01-16T07:27:26 | 191,956,140 | 2,229 | 576 | null | null | null | null | UTF-8 | C++ | false | false | 1,816 | cpp | #include <iostream>
#include <thread>
#include <mutex>
#include <condition_variable>
#include <deque>
#include <memory>
#include <chrono>
std::mutex mutex;
std::condition_variable cond;
std::deque<int> queue;
int curCount = 0;
bool stop = false;
void test_emit_signal(){
{
std::unique_lock lock(mutex);
... | [
"yzhu798@gmail.com"
] | yzhu798@gmail.com |
1ed528569f47ec615cb712b0276d8110ec7300ac | 39b92a1f03ac305173b489624859a7218593881c | /tn_dll/stdafx.h | 98c15e1f30bfb6c9c2d086e243fa94dd9d54b8e8 | [] | no_license | darkmarbo/dll-nt | 52e53e7c8f315f5db7364c8688a0aa7b9dfb5368 | 2b24d4e2a66272ac873b4858f66d429f0159c5e0 | refs/heads/master | 2021-01-18T20:32:56.507875 | 2016-10-28T06:39:09 | 2016-10-28T06:39:09 | 72,180,104 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 443 | h | // stdafx.h : 标准系统包含文件的包含文件,
// 或是经常使用但不常更改的
// 特定于项目的包含文件
//
#pragma once
#include "targetver.h"
#include <stdio.h>
#include <tchar.h>
#include <string>
#include <vector>
#include <map>
#include <iostream>
#include <fstream>
#include <sstream>
#include <conio.h>
#include <Windows.h>
using namespace std;
// TOD... | [
"darkmarbo@163.com"
] | darkmarbo@163.com |
69ec23aaa5aff24232b1031a802c3e1eeaf899e4 | 77fa526c4aa2eda0bdad8984d0bb3347e0b5c85a | /AYYWARE CSGO/MiscHacks.cpp | 97a76aa8392be9a606c301c0203d465a76b720f9 | [] | no_license | ra1N1336/ApocalyseCheatsSC | 22eafbff590f56d0c6f783d11ddf31c43f137b95 | a6a41b5e4be95532eeaf7e22da367a8b3480471f | refs/heads/master | 2021-01-22T06:14:22.673779 | 2017-05-25T15:13:15 | 2017-05-25T15:13:15 | 92,530,780 | 0 | 0 | null | 2017-05-26T16:51:43 | 2017-05-26T16:51:42 | null | UTF-8 | C++ | false | false | 9,370 | cpp | /*
Rest In Peace ApocalypseCheats
*/
#define _CRT_SECURE_NO_WARNINGS
#include "MiscHacks.h"
#include "Interfaces.h"
#include "RenderManager.h"
#include <stdio.h>
#include "string.h"
#include <wchar.h>
#include <time.h>
#include "Hooks.h"
#include "Hacks.h"
#include "Chams.h"
#include "Menu.h"
#include "ESP.h"
#inclu... | [
"relubadea333@gmail.com"
] | relubadea333@gmail.com |
d24ca7315623c4854e8c66d90b41ed8c9e2044bf | ac0579c95b44b6ea8245c76774c97d07766e9f15 | /lab2_prblm4/Source.cpp | 18c0ec33ba7465989c351936d9d5ba3d1fc4f2b5 | [] | no_license | aygean219/graph1 | 8527794e9609a43b8f1ac9500a31c3cb28371718 | e737285eb0a8bea24f5384bef9a21e6b68b45f6b | refs/heads/master | 2023-04-19T04:20:14.819978 | 2021-04-27T16:20:10 | 2021-04-27T16:20:10 | 347,408,550 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,556 | cpp | #include <iostream>
#include <vector>
#include <queue>
#include <iterator>
#include <fstream>
#include <string>
using namespace std;
#define INF 1000
ifstream f("graf.txt");
typedef struct nod
{
int varf;
string color;
int distanta;
nod* parinte;
};
int main()
{
vector<nod>* g=new vector<... | [
"noreply@github.com"
] | aygean219.noreply@github.com |
603d53e03032f7b4eccf981b732f229409a2a52f | 71f3ae55d891bd6071892d824567af6a0dbabb0a | /examples/crc_to_string.cpp | 65b11670870d8d40bdf3432c6a0a1928a81c8238 | [] | no_license | yeger00/ctcrclog | 0e64207c8f948c069e592ffc418c5dfc9c6d51e3 | 6cc4afa4dc236e278f9a6030151c662bc46a34de | refs/heads/master | 2020-08-07T01:04:19.208522 | 2019-12-11T18:56:17 | 2019-12-11T18:59:35 | 213,232,466 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 370 | cpp | #include <iostream>
#include "ctcrclog.hpp"
std::map<uint32_t, std::string>& crc_to_string = CrcToStringMap::get_crc_to_string();
int main() {
std::map<uint32_t, std::string>::iterator it;
for (it=crc_to_string.begin(); it != crc_to_string.end(); it++) {
std::cout << it->first << " : " <... | [
"yeger00@gmail.com"
] | yeger00@gmail.com |
ae908ba96c0fae223823ab3fe86629dcbf025fb9 | 8dc84558f0058d90dfc4955e905dab1b22d12c08 | /storage/browser/fileapi/local_file_stream_writer.cc | 1e8d0f8777847af89aea43464724e9d87a3d4045 | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause"
] | permissive | meniossin/src | 42a95cc6c4a9c71d43d62bc4311224ca1fd61e03 | 44f73f7e76119e5ab415d4593ac66485e65d700a | refs/heads/master | 2022-12-16T20:17:03.747113 | 2020-09-03T10:43:12 | 2020-09-03T10:43:12 | 263,710,168 | 1 | 0 | BSD-3-Clause | 2020-05-13T18:20:09 | 2020-05-13T18:20:08 | null | UTF-8 | C++ | false | false | 7,399 | 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 "storage/browser/fileapi/local_file_stream_writer.h"
#include <stdint.h>
#include "net/base/file_stream.h"
#include "net/base/io_buffer.h"
... | [
"arnaud@geometry.ee"
] | arnaud@geometry.ee |
6a86d1dfb903de6d0560000645e957dcaa78d555 | 6b22c22b2de14d5c5069cc8530a746dea9f1b9b7 | /Section 2.4/Exercise242/Exercise242/Circle.hpp | f7bd6b2cb36e542197fa8edfd523a70f08fc443d | [
"MIT"
] | permissive | scottsidoli/CPP-Applications-for-Financial-Engineering-Pre-MFE | 68be095c15d85868c66e18b6b79588edf8afcce1 | 79c2fb297a85c914d5f0b8671bb17636801e3ce7 | refs/heads/master | 2020-06-08T19:49:38.332228 | 2019-06-23T17:27:42 | 2019-06-23T17:27:42 | 193,296,240 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,027 | hpp | // Exercise 2.4.2 - Ostream << Operator
//
// by Scott Sidoli
//
// 5-5-19
//
// Circle.hpp
//
// Circle Class with Ostream << Operator.
#ifndef Circle_HPP
#define Circle_HPP
#include "Point.hpp" // Point class
using namespace std;
class Circle
{
private: // center and radius
Point c;
... | [
"noreply@github.com"
] | scottsidoli.noreply@github.com |
22531e1f8c777714a7d8614a6d14b7649c1bf0b7 | b1320eb7edd285f493a0e4473dc433842aaa9178 | /Blik2D/addon/opencv-3.1.0_for_blik/modules/calib3d/perf/perf_precomp.hpp | 0ce31de97207866df1d4a117441a66a15cd55be8 | [
"MIT",
"BSD-3-Clause"
] | permissive | BonexGoo/Blik2D-SDK | 2f69765145ef4281ed0cc2532570be42f7ccc2c6 | 8e0592787e5c8e8a28682d0e1826b8223eae5983 | refs/heads/master | 2021-07-09T01:39:48.653968 | 2017-10-06T17:37:49 | 2017-10-06T17:37:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 715 | hpp | #ifdef __GNUC__
# pragma GCC diagnostic ignored "-Wmissing-declarations"
# if defined __clang__ || defined __APPLE__
# pragma GCC diagnostic ignored "-Wmissing-prototypes"
# pragma GCC diagnostic ignored "-Wextra"
# endif
#endif
#ifndef __OPENCV_PERF_PRECOMP_HPP__
#define __OPENCV_PERF_PRECOMP_HPP__
#include... | [
"slacealic@gmail.com"
] | slacealic@gmail.com |
eb39525b561e6cd138c743d9d48bc6e074818b5b | b3c77a40e33ee8dc5f47cc58934ec4764d715080 | /test_repo_project/test_repo_project/company.h | f02a7fd10c97e9849703da42ab42d58dd08f5dbf | [] | no_license | bosaina82/Sara22 | 16635621283e38ea4a6ba62cabff80d6f9d908a0 | 9f5ee1985e33cc644f064024fe8bcfc63a0feb46 | refs/heads/master | 2022-11-15T22:44:22.475012 | 2020-06-23T16:08:51 | 2020-06-23T16:08:51 | 273,915,186 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 346 | h | #pragma once
#include"Employee.h"
#include"Department.h"
#include<string>
using namespace std;
class company
{
private:
int numerOfEmployees, numerOfDeprtments;
Employee employees[100];
Department depratments[100];
public:
void addDepartment();
void addEmployee();
void changeDeprtmentOfEmployee();
void printR... | [
"65364252+bosaina82@users.noreply.github.com"
] | 65364252+bosaina82@users.noreply.github.com |
2cb962342560d286e7c07b1d8bcec63f26933b07 | a7764174fb0351ea666faa9f3b5dfe304390a011 | /inc/TCollection_MapNode.hxx | 119095f0644f2687c30823917131558c8b8f070b | [] | no_license | uel-dataexchange/Opencascade_uel | f7123943e9d8124f4fa67579e3cd3f85cfe52d91 | 06ec93d238d3e3ea2881ff44ba8c21cf870435cd | refs/heads/master | 2022-11-16T07:40:30.837854 | 2020-07-08T01:56:37 | 2020-07-08T01:56:37 | 276,290,778 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,222 | hxx | // This file is generated by WOK (CPPExt).
// Please do not edit this file; modify original file instead.
// The copyright and license terms as defined for the original file apply to
// this header file considered to be the "object code" form of the original source.
#ifndef _TCollection_MapNode_HeaderFile
#defi... | [
"shoka.sho2@excel.co.jp"
] | shoka.sho2@excel.co.jp |
c58090c11a5ab45d77d372ac0b6986daac7a922d | 2b8b6a01b0386d9891cd85b342c431896527a0d3 | /ash/app_list/home_launcher_gesture_handler_unittest.cc | f9d1be3d8d1ca36e4d48f796938004a2a2b3b466 | [
"BSD-3-Clause"
] | permissive | Lexicon9999s/chromium | 87314e02f4b857f4c423db82e80d42d55758ae99 | 31629aeddf0b78f6000e0f4e38fbd647ef462676 | refs/heads/master | 2022-12-27T15:36:22.567210 | 2018-10-13T08:24:22 | 2018-10-13T08:24:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,978 | cc | // Copyright 2018 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 "ash/app_list/home_launcher_gesture_handler.h"
#include "ash/app_list/app_list_controller_impl.h"
#include "ash/shell.h"
#include "ash/test/ash_... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
a9668e20b787d8b61ba32bd68d10ea04ca017591 | 9abf5e2fe6b57c24a89a3a5da5451ef80ef35146 | /3rdParty/atom/atom/os/character/CCodePage.cpp | 3793d2453ee0785c37981951260f141f60d088b9 | [
"Apache-2.0"
] | permissive | jiyahan/ArmoredForce | 0a70815034e9c5b4219d4380cb47b4ae00d1ff27 | cd9e43d404b83604dc373dcbf8b4642646cee7c0 | refs/heads/master | 2021-06-21T14:17:04.832043 | 2017-08-17T06:59:18 | 2017-08-17T06:59:18 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,223 | cpp | #include "CCodePage.h"
atom::CCodePage::CCodePage()
{
}
atom::CCodePage::~CCodePage()
{
}
bool atom::CCodePage::Initiate()
{
a_string name;
section.Enter();
// 中文
name = "GB2312";
related[name] = 936;
// 繁体中文
name = "BIG5";
related[name] = 950;
// 日文... | [
"ichenq@outlook.com"
] | ichenq@outlook.com |
96db2b905498297c395facc66234ad1e333e6ddc | 1809b5bda803fbbf51dcbc4e2d464c762f3563c1 | /sandia_sgmga/sandia_sgmga_weight_prb.cpp | 93aa8b2833b227a40ad9198156afd52e1cef602c | [] | no_license | tnakaicode/jburkardt | 42c5ef74ab88d17afbd188e4ff2b4ecb8a30bb25 | 74eebcbda61423178b96cfdec5d8bb30d6494a33 | refs/heads/master | 2020-12-24T02:23:01.855912 | 2020-02-05T02:10:32 | 2020-02-05T02:10:32 | 237,349,784 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 27,051 | cpp | # include "sandia_rules.hpp"
# include "sandia_rules2.hpp"
# include "sandia_sgmga.hpp"
# include <cstdlib>
# include <iomanip>
# include <iostream>
# include <cmath>
//
// Two global variables needed to support the "parameter" function.
//
double *P;
int *NP;
int main ( );
void sandia_sgmga_weight_tests ( );
void... | [
"stesinigardi@hotmail.com"
] | stesinigardi@hotmail.com |
b5e6fc1d5a155531b0ca99b0907ecd543fefb3c9 | 64bd2dbc0d2c8f794905e3c0c613d78f0648eefc | /Cpp/SDK/BP_fod_Pondie_03_OrchidRaw_00_a_ItemDesc_classes.h | 9069c81dae2af4d1a4a1adf1dd032e228428da00 | [] | no_license | zanzo420/SoT-Insider-SDK | 37232fa74866031dd655413837813635e93f3692 | 874cd4f4f8af0c58667c4f7c871d2a60609983d3 | refs/heads/main | 2023-06-18T15:48:54.547869 | 2021-07-19T06:02:00 | 2021-07-19T06:02:00 | 387,354,587 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 850 | h | #pragma once
// Name: SoT Insider, Version: 1.103.4306.0
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Classes
//-----------------------------------------------... | [
"zp2kshield@gmail.com"
] | zp2kshield@gmail.com |
0d446ce82658c6ccf09f645c05a398ad83389f36 | a6cf2d493a2896ebe902d000f1445d1c6e79754b | /C/HW18/18_3/main.h | 14e31ec2d7dfaebb4c9872a5d8e0567aeb4e3980 | [] | no_license | itstepP12814/ChehovHW | 5d248f9b126669b978011b2ec3ab5940cba4ca8e | 61184ff8c07a624d4f90704bb634b63a14f5c87b | refs/heads/master | 2016-09-15T07:41:52.300974 | 2016-04-01T11:28:43 | 2016-04-01T11:28:43 | 27,026,430 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 259 | h | #ifndef MAIN_H
#define MAIN_H
#include <iostream>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
using namespace std;
const int SIZE=60;
void parsing(char []);
void calculate(double, double, char);
void repair(char*, char*, int);
#endif // MAIN_H
| [
"good-1991@mail.ru"
] | good-1991@mail.ru |
40eb78891efa2ef1e1fb7a2457c2eef62019982b | b808aff50c6274381be22404d9cfe296f3751bea | /polarbrowser/src/main/JniCode/AdblockPlus.h | 0e041d1dc98315af8c182ff29bfcbccc55e0a551 | [] | no_license | luzhentao/polar | 4dbf0d6a46f4e0fcf708018160d2ee90712f0c46 | fd4f044e38acfe1e2b8e10b0f52e5d65f8206399 | refs/heads/master | 2020-04-12T12:59:26.529568 | 2017-09-04T09:22:25 | 2017-09-04T09:22:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,613 | h | #include "globaldef.h"
#if !defined(SX_ADBLOCKPLUS_H)
#define SX_ADBLOCKPLUS_H
#define ADBLOCK_TYPE_NONE 0x00000000
#define ADBLOCK_TYPE_FULL 0xFFFFFFFF
#define ADBLOCK_TYPE_RAW 0x00000001
#define ADBLOCK_TYPE_WIN 0x00000002
typedef class struRKey
{
public:
struRKey(LPCTSTR lpszKey):strKey(lpszKey){}... | [
"yf_2410@163.com"
] | yf_2410@163.com |
198750046e569c0948333de72f2a08fe93f89748 | 9ead5fcc5efaf7a73c4c585d813c1cddcb89666d | /m5/src/cpu/checker/cpu_impl.hh | 81f49463042416075550120a66ec04555009700e | [
"BSD-3-Clause"
] | permissive | x10an14/tdt4260Group | b539b6271c8f01f80a9f75249779fb277fa521a4 | 1c4dc24acac3fe6df749e0f41f4d7ab69f443514 | refs/heads/master | 2016-09-06T02:48:04.929661 | 2014-04-08T10:40:22 | 2014-04-08T10:40:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,236 | hh | /*
* Copyright (c) 2006 The Regents of The University of Michigan
* 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, ... | [
"chrischa@stud.ntnu.no"
] | chrischa@stud.ntnu.no |
1cdaa6cb652a3040761344adf7778fa3ff6844da | bf0b47a1ca141cc33b1ee31b23fce451c3f6b6f2 | /Source/BansheeVulkanRenderAPI/Source/BsVulkanTextureManager.cpp | 47bcc67993f4e6a4ef654e8cf4545136aa4f60f6 | [] | no_license | aimoonchen/BansheeEngine | 8d08ab77c0fdf7e713af2a6e41f2016e23cb59b9 | 508ce0444b6e8b69017a0b0f27c42ea7301bfe78 | refs/heads/master | 2021-01-21T07:08:17.724168 | 2017-02-22T13:13:08 | 2017-02-22T13:13:08 | 82,881,309 | 1 | 0 | null | 2017-02-23T03:44:06 | 2017-02-23T03:44:06 | null | UTF-8 | C++ | false | false | 2,638 | cpp | //********************************** Banshee Engine (www.banshee3d.com) **************************************************//
//**************** Copyright (c) 2016 Marko Pintera (marko.pintera@gmail.com). All rights reserved. **********************//
#include "BsVulkanTextureManager.h"
#include "BsVulkanTexture.h"
#incl... | [
"bearishsun@gmail.com"
] | bearishsun@gmail.com |
feb25047974cf62dbfc017228189049a5c2734ac | 63c7c7e07cf23aa82b6a61a516174da63504f095 | /西北大学新生寒假训练(3)——基础题/h2.cpp | 2fd1e85e0bc2ab2482189039b9de7f3647278387 | [] | no_license | Linfanty/Code-in-Freshman | 3b174b6fab510dc1aa214d760f050ca1618afc8d | b60b99f520c4740c6b8306880680a610f054f403 | refs/heads/master | 2021-01-24T12:37:29.255747 | 2018-02-27T15:10:29 | 2018-02-27T15:10:29 | 123,144,148 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 504 | cpp | #include<iostream>
#include<cmath>
using namespace std;
bool Isleapyear(int n)
{
if(n%400==0||((n%4==0)&&(n%100!=0)))
return true;
else
return false;
}
int main()
{
int t;
int y,n,m;
cin>>t;
while(t--)
{
m=0;
cin>>y>>n;
if(Isleapyear(y))
m=1;
else
m=0;
if(m==0)
{
for(int i=1;i<=100;i+... | [
"wty2003728@163.com"
] | wty2003728@163.com |
62fa24e47e0d2aac12c0c74a42460952c5c4c49e | cb80a8562d90eb969272a7ff2cf52c1fa7aeb084 | /inletTest2/0.01/uniform/time | 192ce5cc699975acc63f3b47bb37ab20714aedf6 | [] | no_license | mahoep/inletCFD | eb516145fad17408f018f51e32aa0604871eaa95 | 0df91e3fbfa60d5db9d52739e212ca6d3f0a28b2 | refs/heads/main | 2023-08-30T22:07:41.314690 | 2021-10-14T19:23:51 | 2021-10-14T19:23:51 | 314,657,843 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,010 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2006 |
... | [
"mhoeper3234@gmail.com"
] | mhoeper3234@gmail.com | |
90cb9d4007b1ee20caefa1ee2b4fc1f8b62bf447 | 8ad1c59486d90262b4120af3729f4946a75dca0e | /src/messages.cpp | a9a5b9c10a042f1ee53fe684dd5377b4163d1bb4 | [] | no_license | vicoslab/echocv | 3272728f63aa99be40d2303f7802db27e5ab2e75 | 3469aa2451b435adf7af8514e5623b63437534fe | refs/heads/master | 2021-01-11T10:55:09.383039 | 2020-09-17T10:00:54 | 2020-09-17T10:00:54 | 76,143,157 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 872 | cpp | #include <iostream>
#include <thread>
#include <string>
#include <iostream>
#include <fstream>
#include <cmath>
#include <type_traits>
#include <echolib/opencv.h>
using namespace std;
using namespace echolib;
using namespace cv;
namespace echolib {
MatBuffer::MatBuffer(const Mat& mat, function<void()> complete) : m... | [
"luka.cehovin@gmail.com"
] | luka.cehovin@gmail.com |
618d6314d04280cc2e44ea3ecd4ebb594568a5e2 | 38b9daafe39f937b39eefc30501939fd47f7e668 | /tutorials/2WayCouplingOceanWave3D/EvalResults180628-Eta/21.6/uniform/time | 87757065dba465fd665e80dc37216f6e7157cf33 | [] | no_license | rubynuaa/2-way-coupling | 3a292840d9f56255f38c5e31c6b30fcb52d9e1cf | a820b57dd2cac1170b937f8411bc861392d8fbaa | refs/heads/master | 2020-04-08T18:49:53.047796 | 2018-08-29T14:22:18 | 2018-08-29T14:22:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,005 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 3.0.1 |
... | [
"abenaz15@etudiant.mines-nantes.fr"
] | abenaz15@etudiant.mines-nantes.fr | |
1a8c6b3f5b2d6a1140f865cc349ad58b83021721 | 3df16a3906540697d260391ab1b93f76a57f0191 | /source code/object.cpp | ceb1b695668fff64b1cc0dbe04c18ffde9bc4f77 | [] | no_license | JianyangZhang/CSCI-580-Final-Project | 174af716770505e1f56aac103f20e8418f4a1cc0 | ec9526002a718d925ee84b677d785c1bed1da900 | refs/heads/master | 2021-08-23T11:13:01.692090 | 2017-12-04T16:50:50 | 2017-12-04T16:50:50 | 112,820,135 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,404 | cpp | #include "object.h"
#include <stdio.h>
CObj::CObj(int tp, int idx, float *cod) {
index = idx;
optic = OPT_NONE;
refractive = 1.0;
type = tp;
int ncods = 0;
switch(tp) {
case TYPE_SPHERE : ncods=4; break;
case TYPE_PLANE : ncods=2; break;
case TYPE_SQUARE : ncods=6; break;
}
for(int i=0; i<n... | [
"jianyang212@gmail.com"
] | jianyang212@gmail.com |
2329a038b34781580b74839b4b95177942953cc2 | 3ab20a41a743183fce6d9b0aea6e88832a3828ef | /src/Controls/ofxSimpleGuiTitle.cpp | 96a87c320ca3bdd5f4899758c600bffe0c4f4839 | [] | no_license | Giladx/ofxSimpleGuiToo | 435a7943e68629cb6f35edcce0d685631cde8f62 | c687dc16486bf741ebfa9b91ea0cdef4d6a2cb5c | refs/heads/master | 2021-01-17T10:20:43.578353 | 2012-07-04T19:27:47 | 2012-07-04T19:27:47 | 5,351,667 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,128 | cpp |
#include "ofxSimpleGuiTitle.h"
ofxSimpleGuiTitle::ofxSimpleGuiTitle(string name, float height) : ofxSimpleGuiControl(name) {
beToggle = false;
beenPressed = false;
// this->value = &value;
value = NULL;
controlType = "Title";
// newColumn = true;
if(height == 0) height = config->titleHeight;
if(hasTitle =... | [
"francesco@hv-a.com"
] | francesco@hv-a.com |
8114b56ff3b17711816fd16c47d8e6b470500235 | 8cd129414dab685b915bcebc83eafe49e4ad59c2 | /image.hpp | b8bbfc1e4141066c18ba0614f94b42defc106803 | [
"MIT"
] | permissive | plefebvre91/color-implementation | 67bf512e5d1800dff6adbbe5acc814cd14e4e8cd | e5184789988af64fe190938a78c59eb1364f32a2 | refs/heads/master | 2022-05-10T16:57:46.726106 | 2022-03-11T15:04:20 | 2022-03-11T15:04:20 | 219,807,931 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,416 | hpp | /* Copyright 2019 Pierre Lefebvre
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, copy, modify, merge, publish,
distribute, sub... | [
""
] | |
79b00fe79daf04bbece92a67ce04fbdb551a7d14 | 059f7eee5b28d4fb94ba6000388320c6ef8279f6 | /src/ArcV/Utils/Window.cpp | d95f540b285d74c6c60e6b11d342e0addd137785 | [
"MIT"
] | permissive | Razakhel/ArcV | 71bb109396b64a98e0cd79c1785825db0004b8fc | 1ce1d516a3ab860c4b8a60b8063bdadbed9adf55 | refs/heads/master | 2020-04-06T03:59:19.848379 | 2017-12-08T07:57:24 | 2017-12-08T07:57:24 | 83,082,859 | 66 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 6,274 | cpp | #include <array>
#include <iostream>
#include "GL/glew.h"
#include "ArcV/Utils/Window.hpp"
namespace Arcv {
namespace {
const std::array<float, 20> vertices = { -1.f, -1.f, 0.f, 0.f, 1.f,
1.f, -1.f, 0.f, 1.f, 1.f,
1.... | [
"romain.milbert@gmail.com"
] | romain.milbert@gmail.com |
c93c3c1fd56da20f90f76a6e988b8c98557eef64 | c3898281f36c4f3e20e0325700245cff53257b44 | /105_buildTree.cpp | 2d5c73dc1c5b690a4ee6079ab6552feaa60cf816 | [] | no_license | CLAYouX/codeForLeet | 4a0e4a4276f9b8dd2de71030d78d3bb1fbd2981c | 781902d663dab752d3a24f8a91a3a499fddf1c82 | refs/heads/main | 2023-07-01T23:02:48.462858 | 2021-08-12T09:51:56 | 2021-08-12T09:51:56 | 388,824,764 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,282 | cpp | #include<iostream>
#include<string>
#include<cmath>
#include<vector>
#include<iterator>
#include<limits>
#include<algorithm>
#include<map>
#include<utility>
#include<set>
#include<unordered_map>
#include<stack>
#include<queue>
#include<unordered_set>
#include<numeric>
using namespace std;
struct TreeNode {
int va... | [
"1029533012@qq.com"
] | 1029533012@qq.com |
7df5f78e351a82aff7c3b1c9fd91ce3b7f9fabc9 | 3ff8ce060776ac59885be8ed953c76dede9c1cf0 | /PsetASD/Pset10/Pset10_linearSearchInString/mainwindow.cpp | 0dff999bab8e88c245c8f9f9a78575b87ee88c7a | [] | no_license | mishakeryta/CopyStudyFromLinux | ac29dc597022eb1a72b5e31b6a3a4de2d7b4e5fd | e61d11e41d3f6891c4038da8e0dcbe6462a528d3 | refs/heads/master | 2020-04-06T20:26:34.223510 | 2018-11-15T21:05:21 | 2018-11-15T21:05:21 | 157,772,513 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,322 | cpp | #include "mainwindow.h"
#include "ui_mainwindow.h"
#include "RandomGenerator.hpp"
#include "LinearStringSearch.hpp"
#include <string>
#include <algorithm>
using namespace std;
template <class T,class Converter> string ArrayToString(vector<T> array,Converter convertToStr)
{
string output;
for(int i = 0; i < arra... | [
"keryta.mi@gmail.com"
] | keryta.mi@gmail.com |
00d33b7837f3cd585ba30e2b9482efca8da1976a | 921fcfa898013e8cb7c6e8fa8da7ed3e274e42ac | /PathFinder/Source/HardwareAbstractionLayer/RootSignature.hpp | 2c99a411dc551d1196897e16005cbd51b8c7bba8 | [] | no_license | brucelevis/PathFinder | 0862a7d63c608ff3afb939bdbe6a5b6fa0f68368 | 17c53840b0a886d6e29d006815d59af33f5504c7 | refs/heads/master | 2023-03-28T21:00:52.894096 | 2021-04-02T16:57:54 | 2021-04-02T16:57:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,067 | hpp | #pragma once
#include <wrl.h>
#include <d3d12.h>
#include <cstdint>
#include <vector>
#include <unordered_map>
#include "GraphicAPIObject.hpp"
#include "Device.hpp"
#include "RootParameters.hpp"
#include "Sampler.hpp"
namespace HAL
{
class RootSignature : public GraphicAPIObject
{
public:
struct... | [
"man.in.black382@gmail.com"
] | man.in.black382@gmail.com |
892b7a26d7e802a8435f3f098e5084ca43a85adc | 60f5f032203bb8ae67559e1c3ee5ccc38a823f24 | /include/Board.h | 9bf1c58ab438f1ab77219c512e9331880e4ae964 | [] | no_license | WyattH99/SnakeySnake | bb660e6b3f846a7b3d08259651ed7a188a96025e | be786a2e09dc39dafd2f6ba8e3228ffbde15f211 | refs/heads/main | 2023-03-07T09:00:38.464163 | 2021-02-24T21:23:03 | 2021-02-24T21:23:03 | 322,759,130 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 798 | h | #ifndef BOARD_H
#define BOARD_H
// #include <iostream>
/*
Board will keep track of the placements of walls, fruit, and snake
*/
class Board{
// Private and Public Variables
private:
int width;
int height;
class Snake* snake;
class Food* food;
public:
// Constructor
Board();
... | [
"WyattHansen99@gmail.com"
] | WyattHansen99@gmail.com |
a2a313d9878754e9198237bbcebe987cf722d321 | 3963d4f07de199407b893600b6bd48b9887ee8f8 | /STUDY/Study0531/queue.cpp | 267943ab59d512523b590da59876002c946e9f99 | [] | no_license | james-sungjae-lee/2018_CPP | 6f9fc15d183293f1c04a67071d4f24f15c483331 | a277045f07be1350f2c914dbebfc5f24d6f2e6dd | refs/heads/master | 2022-09-22T23:41:45.030906 | 2018-06-10T01:22:20 | 2018-06-10T01:22:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 294 | cpp | #include <iostream>
#include <queue>
#include <cstring>
using namespace std;
int main(int argc, char const *argv[]) {
queue<int> qu;
for (size_t i = 0; i < 3; i++) {
qu.push((i+1) * 100);
}
while (!qu.empty()) {
std::cout << qu.front() << '\n';
qu.pop();
}
return 0;
}
| [
"odobenuseKR@gmail.com"
] | odobenuseKR@gmail.com |
8bfcd8fd972bc409f7906e03771af24fd9c344ae | 569837000f6f94aff0255ee9b12ef1a7f865266e | /QtFramework/Test/TestFunctions.h | 5af9297411691706cd444d5aa5ebc7ac8f9726f4 | [] | no_license | imecstamas/cagd-hermite | d8f31da04bc7371388086e04cfa55dac23f31a25 | 24cece8bbb25e2d03720d7327e2550171c648e80 | refs/heads/master | 2021-01-21T16:11:02.294833 | 2017-05-20T12:00:26 | 2017-05-20T12:03:35 | 91,879,555 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 929 | h | #pragma once
#include "../Core/DCoordinates3.h"
namespace cagd
{
namespace spiral_on_cone
{
extern GLdouble u_min, u_max;
DCoordinate3 d0(GLdouble);
DCoordinate3 d1(GLdouble);
DCoordinate3 d2(GLdouble);
}
namespace torus
{
extern GLdouble u_min, u_max;
... | [
"tamas@halcyonmobile.com"
] | tamas@halcyonmobile.com |
42b2ed8a7076fd86428fbd96a4176ffb1b04cb3a | 1f032ac06a2fc792859a57099e04d2b9bc43f387 | /db/73/51/62/aa59620db4c3f214c48240ba29cce919048026ab7c09fdea780ba81df0a7e6695c45cbba193c057327f9d45c437455a46bb2f5f80c27efc21ddb58a8/sw.cpp | 734fda9adfc10053d9b501a300e48b8ba93f686e | [] | no_license | SoftwareNetwork/specifications | 9d6d97c136d2b03af45669bad2bcb00fda9d2e26 | ba960f416e4728a43aa3e41af16a7bdd82006ec3 | refs/heads/master | 2023-08-16T13:17:25.996674 | 2023-08-15T10:45:47 | 2023-08-15T10:45:47 | 145,738,888 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 237 | cpp | void build(Solution &s)
{
auto &t = s.addTarget<StaticLibrary>("martinus.robin_hood_hashing", "3.8.0");
t += Git("https://github.com/martinus/robin-hood-hashing");
t += "src/include/.*\\.h"_rr;
t += "src/include"_idir;
}
| [
"cppanbot@gmail.com"
] | cppanbot@gmail.com |
f9818d4b01bb340e140af3b47d9bf56ae2e89fba | fe2d9557f6341992207063bcbd2737c135b37ac9 | /Source/ajdr/Resource/ResourceUtils.h | 4b0e333a9db82a3ac7ebd41786c380836e914263 | [] | no_license | zhouchao0924/NewMobile | dc13234955e190ea986339890b898e5d6d04471c | bc204f55e1419b992a99c7c18279deb501676f97 | refs/heads/master | 2020-05-07T17:04:58.744109 | 2019-05-06T04:09:17 | 2019-05-06T04:09:17 | 178,329,151 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,378 | h |
#pragma once
#include "ResourceUtils.generated.h"
UCLASS(BlueprintType)
class UResourceUtils : public UObject
{
GENERATED_UCLASS_BODY()
public:
UFUNCTION(BlueprintCallable, Category = "DR|EditorUtils", meta = (WorldContext = "Outer"))
static UTextureRenderTarget2D *GetMaterialPreviewTexture(UObject *Outer, int32... | [
"275869435@qq.com"
] | 275869435@qq.com |
0231a9934dddaba53043960e639c5a42955de7fc | 6bebabd60281ffd6d8f2809cefee421fc0dedc16 | /src/Sound/frenchhorn_samples.cpp | 466f1c0ad53c79862cc720cd6904da3b3e05b182 | [] | no_license | quantograph/Instrument | 3c4e13f8ffc76f54d798e7d7047f350b446da2ab | 54e6c0eeabc80709c36149306162c7c009d794e5 | refs/heads/master | 2021-05-17T16:23:58.367595 | 2020-09-18T01:35:52 | 2020-09-18T01:35:52 | 174,898,781 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,740 | cpp | #include "../Devices/Devices.h"
#include "frenchhorn_samples.h"
const AudioSynthWavetable::sample_data frenchhorn_samples[1] = {
{
(int16_t*)sample_0_frenchhorn_frenchhorng4, // sample
true, // LOOP
11, // LENGTH_BITS
(1 << (32 - 11)) * WAVETABLE_CENTS_SHIFT(15) * 44100.0 / WAVETABLE_NOTE_TO_FREQUENCY(90) / A... | [
"andy@quantograph.com"
] | andy@quantograph.com |
416263b879f987f7c5ad2378c2f18e289fcb6439 | f1e7256a426164b8177ac8495829a8cf4f933642 | /src/C_Consignes.cpp | a0423ba99de5df17a17503a88efd697a5310f5d0 | [] | no_license | ngarcia97/StatolFinal | 08ed444d3514e8798556008f22ec8d8101c758ed | 756f696ad29147b464523fb1a54e56df47404170 | refs/heads/master | 2021-04-26T23:56:18.750518 | 2018-03-13T15:08:39 | 2018-03-13T15:08:39 | 123,882,822 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 607 | cpp | #include <exception>
#include <string>
using namespace std;
#include "../defs/C_Consignes.h"
#include "../defs/C_BDD.h"
void Communication::C_Consignes::traitementSurReception() {
throw "Not yet implemented";
}
bool Communication::C_Consignes::creerSocket(int aPort) {
throw "Not yet implemented";
}
... | [
"eleve@localhost"
] | eleve@localhost |
09f16a49e9bb2ceffbee14e2ad8fa6d07645e776 | 40e238fb0a2aeed02cf90b4a50e47eb978c2ec5d | /76.minimum-window-substring.cpp | d359ded637a5c5dd70a9c2cbbc2a806d6fbb25c9 | [] | no_license | qilu578/leetcode | 5bfaab4d04b0ebe1a8a4778b086f005c26eb1771 | 000647bd2322e3e22ee8a1b790df5d26b691e911 | refs/heads/master | 2020-08-03T10:04:51.431899 | 2019-02-28T16:16:08 | 2019-02-28T16:16:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 954 | cpp | class Solution {
public:
string minWindow(string s, string t) {
vector<int> map(128, 0);
for (auto c : t) {
map[c]++;
}
int begin = 0, end = 0, count = 0;
int window_head = 0, window_length = s.length() + 1;
while (end < s.size()) {
map[s[end]]... | [
"enh6@qq.com"
] | enh6@qq.com |
aba9cd123c239f8f6f9e4ba36e939a7458bdd35b | 30191109304ca25cb25b647dd3b8aa0b725e148e | /src/caffe/layers/split_layer.cpp | 2707ec5a966b7898b052f64f43aec02fca50db49 | [
"BSD-2-Clause",
"LicenseRef-scancode-generic-cla"
] | permissive | geshiming/Xeon-CafPhi | 06a564b1117d4ceb6d04ccba298e6d224f1e513d | 2db52cb172d08a1d27fb5e95ff9df068045cab6e | refs/heads/master | 2021-01-22T01:38:36.133988 | 2015-05-11T21:20:13 | 2015-05-11T21:20:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,013 | cpp | #include <vector>
#include "caffe/layer.hpp"
#include "caffe/util/math_functions.hpp"
#include "caffe/vision_layers.hpp"
namespace caffe {
template <typename Dtype>
void SplitLayer<Dtype>::Reshape(const vector<Blob<Dtype>*>& bottom,
const vector<Blob<Dtype>*>& top) {
count_ = bottom[0]->count();
for (int i... | [
"jagannathan.rohith@gmail.com"
] | jagannathan.rohith@gmail.com |
91bd4d290e6117a7d0e6a24b9f7bba62bd95dba2 | 493608691622db93cda8577ab71d0dece0c3a37a | /Prims.cpp | 8469e890af8232c3f45a8f8ab319d26b8b474494 | [] | no_license | Sage-ArtZ/new | 582d8169627f9673db573e9df8c722bf9a44e824 | 16b2c21d17f7d3d2b9d028907399ff53c83b45be | refs/heads/master | 2021-12-10T01:19:31.776296 | 2021-08-10T05:29:59 | 2021-08-10T05:29:59 | 211,172,957 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,739 | cpp | // A C++ program for Prim's Minimum
// Spanning Tree (MST) algorithm. The program is
// for adjacency matrix representation of the graph
#include <bits/stdc++.h>
using namespace std;
// Number of vertices in the graph
#define V 5
// A utility function to find the vertex with
// minimum key value, from the s... | [
"noreply@github.com"
] | Sage-ArtZ.noreply@github.com |
463fe5aafe79103350e25cfd1dc4a77f3660dcaf | e029a0aeaad3ff2e00b7f1d918ad3e741173db27 | /example-apps/api/p4pcli/src/main.cpp | 102ee83f12165f6866d2fccb6e22d47c210ad802 | [
"BSD-3-Clause"
] | permissive | Yale-LANS/ALTO | dcb32b51f1f3160da611451570f8ae16ea90d511 | 63569ab160e825880c3e759cc2887b0ccbb3d3fb | refs/heads/master | 2020-04-15T01:02:44.063295 | 2012-11-29T18:20:27 | 2012-11-29T18:20:27 | 6,914,067 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 10,481 | cpp | /*
* Copyright (c) 2008,2009, Yale Laboratory of Networked Systems
* 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... | [
"junchang@Aspire4380T.(none)"
] | junchang@Aspire4380T.(none) |
60d5755a109fd7a3aaa1b3522658a543b588202d | b0d97f44dc9c46b879582a1164051d70e92e590d | /character.hpp | b4d86a174ee87d6ab73e1ed0e25bb90d8bc560a1 | [] | no_license | G-Lenz/HauntedMansionGame | f63764dbf6440cea5c0eaba969c1235546e2d5ce | 111a81f15c2de2f8ad357f4c910bac7e47273c13 | refs/heads/master | 2020-03-11T17:23:36.213261 | 2018-04-19T02:07:42 | 2018-04-19T02:07:42 | 130,145,688 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,489 | hpp | /**************************************************
* Program Name: character.hpp
* Author George Lenz
* Date: 3/18/2018
* Description: Header file for character class
**************************************************/
#ifndef CHARACTER_HPP
#define CHARACTER_HPP
#include <iostream>
#include <string>
#include "spac... | [
"36232971+G-Lenz@users.noreply.github.com"
] | 36232971+G-Lenz@users.noreply.github.com |
0b08a0cb3f75546bc0dfa9e8fe31f3ef2d693d55 | 0150a4876455bf015935f8cfb78fcf0c080833be | /typechecker.hh | 71892b7cfce362c8da26e677c223c076dcc5723b | [] | no_license | Abr3u/MiniJava | 59baa6a729d76462b1b72c6b8836b047fbfdef3b | 3d9679a477696ee438bef803fd07e234157e7c5f | refs/heads/master | 2020-05-17T15:13:23.491357 | 2015-07-15T20:38:05 | 2015-07-15T20:38:05 | 38,447,808 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,712 | hh | //jpms:bc
/*----------------------------------------------------------------------------*\
* File: typechecker.hh
*
* Description: Type check the RIXPR language.
*
* Author: jpms
*
* Copyright (c) 2015, Joao Marques-Silva
\*----------------------------------------... | [
"ricardojla_17@hotmail.com"
] | ricardojla_17@hotmail.com |
201759da1c6235a9f25153f50f2fbe39759da3c3 | ee44c5351afcbf8d44f2893151661f1739ea62bc | /include/iscenegraph.hh | c30513f248391e8d7b1c3a7f662f7f6ee20cce8c | [] | no_license | jgardella/CS585 | 892f9721c77818948cffc5f7e89f15a6c74fe74c | 42049d5fc20509bc0469da917427f74276451757 | refs/heads/master | 2021-01-01T16:39:59.957828 | 2014-12-02T04:35:16 | 2014-12-02T04:35:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,001 | hh | #ifndef _ISCENEGRAPH_HH_
#define _ISCENEGRAPH_HH_
#include "scenenode.hh"
#include "dynamicarray.hh"
// Interface for implementing a scene.
class ISceneGraph
{
public:
// Add the given scene node to the graph.
// Parameters:
// SceneNode* node - pointer to the node to add
virtual void addSceneNode(SceneNode*... | [
"jgardell@stevens.edu"
] | jgardell@stevens.edu |
b3a6f3371bae4afc43103feb6c9ef360db927ad5 | af9e8070146760d01736e7e89c0080e75363deee | /Software design labs/tp4/PolyMediaTV/PMTVMedia/PMTVMedia_Media.cpp | 3144eb0c94024d9752e31fd950cd085a820b4556 | [] | no_license | anasjaba/SchoolProject | 6c8f620c4cfb6937696a43044f83b8d76539bc2a | 8a4824ebb793fc54024149828141e512f9d9d82d | refs/heads/master | 2020-05-02T17:04:48.576292 | 2019-03-27T23:15:25 | 2019-03-27T23:15:25 | 178,088,139 | 0 | 0 | null | null | null | null | ISO-8859-2 | C++ | false | false | 299 | cpp | ///////////////////////////////////////////////////////////
// PMTVMedia_Media.cpp
// Implementation of the Class PMTVMedia_Media
// Created on: 03-nov.-2010 15:14:23
// Original author: David Dubé
///////////////////////////////////////////////////////////
#include "PMTVMedia_Media.h"
| [
"anhas@gigl.polymtl.ca"
] | anhas@gigl.polymtl.ca |
1f1d94d48c8a5133deef85f4b7b76778cdc49c8b | 1a194d5cd763376e4502f432cd56fa7d3d9c17c4 | /5.34/source/main.cpp | 34cf83e2579fbdde69310c2fbf96a67515691015 | [] | no_license | zz9876zz/hw3-2 | be85f124235090d61429a269b07d6e1e1b2ed37c | 021e3406a5fd879486fb26d314e8017fa7ef1fb2 | refs/heads/master | 2020-08-28T20:35:57.259698 | 2019-10-27T06:24:03 | 2019-10-27T06:24:03 | 217,813,804 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 266 | cpp | #include<stdio.h>
#include<stdlib.h>
#include <iostream>
using namespace std;
int main(void)
{
int a,b,base, ex, n;
cout << "Enter the base:\n";
cin >> a;
cout << "Enter the exponent:\n";
cin >> b;
cout << pow(a, b)<<"\n";
system("pause");
return 0;
} | [
"asnzedgod@gmail.com"
] | asnzedgod@gmail.com |
4f459e1a82077b5f1be062a9cb598592db35901b | 23f290c1a4deefd991312bf7c21e10d1ad7f7baa | /dbms/dbms/MainFrm.h | e12dbbaba46d328dbcd340d04dca211ec5802a41 | [] | no_license | h-helen/dbms-1 | e4bf3181dbb7d34d6b339793f17dfcfa991253c0 | 0c8ab90fb2e72a71daa29a7e40696a379e3c91a8 | refs/heads/main | 2023-01-05T19:33:15.823111 | 2020-11-03T15:56:00 | 2020-11-03T15:56:00 | 307,953,809 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 828 | h |
// MainFrm.h: CMainFrame 类的接口
//
#pragma once
class CMainFrame : public CFrameWnd
{
protected: // 仅从序列化创建
CMainFrame() noexcept;
DECLARE_DYNCREATE(CMainFrame)
// 特性
public:
// 操作
public:
CSplitterWnd m_wndSplitter;
// 重写
public:
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
// 实现
public:
virtual ~CMain... | [
"18301005@bjtu.edu.cn"
] | 18301005@bjtu.edu.cn |
1583a3c2ad1e41f116916e700ed5dde83b1ba2ac | 129a36d31b42866265b777a41a6889ba4718c031 | /LightOJ 1294 - Positive Negative Sign/LightOJ 1294 - Positive Negative Sign/main.cpp | 802a2201aba6378283c4d72e716bc6f67a70dd9f | [] | no_license | smhemel/LightOJ-Online-Judge | 3507f1838dac661e4ad9c0ff825a0e01f6b7650f | ba25835ec5ef0b0ed119d18a95d78d42ab67a59f | refs/heads/master | 2020-04-04T16:08:01.127362 | 2018-11-13T05:45:20 | 2018-11-13T05:45:20 | 156,065,938 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 482 | cpp | //
// main.cpp
// LightOJ 1294 - Positive Negative Sign
//
// Created by S M HEMEL on 6/9/17.
// Copyright © 2017 Eastern University. All rights reserved.
//
#include <iostream>
#include <cstdio>
#include <cmath>
using namespace std;
int main()
{
long long int test,t=0,n,m;
scanf("%lld",&test);
while(t... | [
"sm_hemel@yahoo.com"
] | sm_hemel@yahoo.com |
1e57a7fbfac179ed6319095e40cd5270dd448599 | 5f7cfde6e76d2fb899ba853b8e55f6809e9f40af | /src/gl/scene/gl_sprite.cpp | a600ef5a2befe23b1bbf6f7633d98c439fd423a4 | [] | no_license | CarlKenner/gz3doom | 57ca8ad174d9f30f8acbb59e923bfed76a119a2a | 3aec97008ff01ef53a59eaec194b568b209c2225 | refs/heads/master | 2021-01-09T07:33:41.002482 | 2016-04-16T21:23:09 | 2016-04-16T21:23:09 | 56,433,000 | 1 | 0 | null | 2016-04-17T11:31:28 | 2016-04-17T11:31:28 | null | UTF-8 | C++ | false | false | 31,169 | cpp | /*
** gl_sprite.cpp
** Sprite/Particle rendering
**
**---------------------------------------------------------------------------
** Copyright 2002-2005 Christoph Oelckers
** All rights reserved.
**
** Redistribution and use in source and binary forms, with or without
** modification, are permitted provided that the fo... | [
"coelckers@zdoom.fake"
] | coelckers@zdoom.fake |
b082351b4b641a9a9a48974961a34c49d67f6754 | c80fc771f3742dbb811815bd7e319d8bd730a149 | /DrawingChat001/NetDraw001/model/shape.cpp | 4fe339705160decdcc2623e8de285df37c6dea59 | [] | no_license | osamu-k/QtStudy | d337425bb73bf2e2c5cdfe7ff26dde78a303762e | 66e9b50ac7b786dd4896d192355d110c010c0b82 | refs/heads/master | 2020-04-06T07:01:25.119433 | 2017-01-24T15:32:23 | 2017-01-24T15:32:23 | 15,604,471 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 261 | cpp | #include "shape.h"
#include <QDateTime>
Shape::Shape( Type type )
: m_type(type)
{
}
Shape::~Shape()
{
}
void Shape::writeTo(QDataStream &out) const
{
m_settings.writeTo(out);
}
void Shape::readFrom(QDataStream &in)
{
m_settings.readFrom(in);
}
| [
"osamu-k@arion.ocn.ne.jp"
] | osamu-k@arion.ocn.ne.jp |
5c6c6f84ff643bee6db4436feadf4adac5341962 | 0739217a533ed043a65ef2f265436216ee792c11 | /swoole_http_response.cc | 107c29ae2419d5cf5def99e2cab8a63a66059bff | [
"Apache-2.0"
] | permissive | gaodongyuan/swoole-src | f208e6160f2090250d2a76751993c01b348a3b9a | e6e453a97570116d83e3bbc4e5ea735d87021f94 | refs/heads/master | 2020-06-01T01:59:12.263845 | 2019-06-06T10:30:24 | 2019-06-06T10:30:24 | 190,587,922 | 1 | 0 | Apache-2.0 | 2019-06-06T13:38:57 | 2019-06-06T13:38:56 | null | UTF-8 | C++ | false | false | 36,481 | cc | /*
+----------------------------------------------------------------------+
| Swoole |
+----------------------------------------------------------------------+
| This source file is subject to version 2.0 of the Apache license, |
| that is bundl... | [
"mikan.tenny@gmail.com"
] | mikan.tenny@gmail.com |
bf5dc1a336f3b06bc81c7dd690ef624a5d65f64f | dc0c9ea3fa7498b0552b5f0cdd121489404cb07a | /codechef/PRDIVSUM.cpp | 42ba124dea79ad9a6771ebf18a320bca2aa2cae6 | [] | no_license | alaneos777/club | 226e7e86983da7f87d87efbfd47d42326872dd25 | 47da01e884d6324aa1c9f701d6f70b8b978a0e18 | refs/heads/master | 2023-08-05T02:43:33.428365 | 2023-07-29T02:43:58 | 2023-07-29T02:43:58 | 143,675,419 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,325 | cpp | #include <bits/stdc++.h>
using namespace std;
using lli = long long int;
vector<int> primes, mu;
void sieve(int n){
mu.resize(n+1);
vector<bool> is(n+1, true);
mu[1] = 1;
for(int i = 2; i <= n; ++i){
if(is[i]){
primes.push_back(i);
mu[i] = -1;
}
for(int p : primes){
int d = i*p;
if(d > n) break;
... | [
"alan-enrique@live.com.mx"
] | alan-enrique@live.com.mx |
912fe6c202bebdfad7eca79f1a2806ec3c99ad7e | f3c932d55bad5e4bb98794c1e150a6e8159450d2 | /event.cpp | 64f4abee9f6109877fd6751fb61c4ec5a167b4eb | [] | no_license | kevinwall1992/private-security | 195c393479596fa4d5ac9cf854fe5725efe00caf | d39d7238f14d4836560c91a3477bb866dd4a6e33 | refs/heads/master | 2021-06-30T06:37:30.939610 | 2017-09-19T21:56:29 | 2017-09-19T21:56:29 | 76,130,221 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,981 | cpp | #include "Event.h"
int Event::next_event_id= 0;
Event::Event(float elapsed_seconds_)
{
event_id= next_event_id++;
elapsed_seconds= elapsed_seconds_;
}
Event::~Event()
{
}
int Event::GetEventID()
{
return event_id;
}
float Event::GetElapsedSeconds()
{
return elapsed_seconds;
}
ButtonEvent::ButtonEvent(float... | [
"kwall@sci.utah.edu"
] | kwall@sci.utah.edu |
ea821d012ead22e32bd499a5111d367d3873ef4c | 83bacfbdb7ad17cbc2fc897b3460de1a6726a3b1 | /v8_7_5/src/objects-definitions.h | 2275c889db863adbb4ffea92c01d5017ed4a5b90 | [
"Apache-2.0",
"bzip2-1.0.6",
"BSD-3-Clause",
"SunPro"
] | permissive | cool2528/miniblink49 | d909e39012f2c5d8ab658dc2a8b314ad0050d8ea | 7f646289d8074f098cf1244adc87b95e34ab87a8 | refs/heads/master | 2020-06-05T03:18:43.211372 | 2019-06-01T08:57:37 | 2019-06-01T08:59:56 | 192,294,645 | 2 | 0 | Apache-2.0 | 2019-06-17T07:16:28 | 2019-06-17T07:16:27 | null | UTF-8 | C++ | false | false | 22,964 | h | // Copyright 2018 the V8 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.
#ifndef V8_OBJECTS_DEFINITIONS_H_
#define V8_OBJECTS_DEFINITIONS_H_
#include "src/heap-symbols.h"
namespace v8 {
namespace internal {
// All Maps ha... | [
"22249030@qq.com"
] | 22249030@qq.com |
b92ee098bf42aec2461d0853db273872d59731b6 | 4d61a16e5764c4bdf123eaac4f912db6e406936d | /UnitTest/svd_centroid_3d_tests.cpp | 9eeed21534d6169a952e5fd57cdf30317f2e8118 | [] | no_license | stephanfr/Cork | 38abcf3e4e5c37cd601336b7704d496e9a29d972 | 1892a11c53a47782daeacc4feb6fe413f360b787 | refs/heads/master | 2023-05-25T08:34:44.727505 | 2022-07-12T03:19:29 | 2022-07-12T03:19:29 | 44,821,324 | 40 | 16 | null | 2022-07-12T03:19:30 | 2015-10-23T15:24:03 | C++ | UTF-8 | C++ | false | false | 4,571 | cpp | /*
Copyright (c) 2021 Stephan Friedl
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, copy, modify, merge, publish, distrib... | [
"stephanf01@gmail.com"
] | stephanf01@gmail.com |
6a4401876342f43d9a0004fc2c419585cc04ee68 | 3b3463c5887bbb6ac4c7e5dde60f4a857f6c448a | /CppBasics/VivifyItalianRestaurant/Table.h | fc1058b369b8fa45986b2aad83199060e63d057b | [] | no_license | GoranSubic/CembCpp | 95e9c1145a41efea19ec711e13e61b65b451f234 | b91b34a9a9343b4a99f6d36b4cfe40b5b3c5fb17 | refs/heads/master | 2023-01-02T20:09:37.836101 | 2020-10-17T11:34:04 | 2020-10-17T11:34:04 | 288,436,465 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 227 | h | #ifndef TABLE_H
#define TABLE_H
class Order;
class Table {
Order* order;
int id;
static int unId;
public:
Table();
Table(Order*);
int getId();
Order* getOrder();
void setOrder(Order*);
void deleteOrder();
};
#endif
| [
"gsubic@gmail.com"
] | gsubic@gmail.com |
1f793d5329b07353f10727ecdfac51a2b3cc2b84 | 295d725fd1d01d645cbe5ceae147942addc719bb | /Lecture09/p291/p291.cpp | 08ea4e3200b1e73cd5e9506f9ef0ab18cf11c9ec | [] | no_license | vster/CryptSecNetBook | 83b3f243423139b9bc426da42dfefc2336e1c21a | b9f78f28623d93438b21923fbde8ac0c717774a4 | refs/heads/master | 2023-01-06T17:01:19.728503 | 2023-01-05T22:16:34 | 2023-01-05T22:16:34 | 60,003,668 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,582 | cpp | #include <iostream>
#include <math.h>
using namespace std;
void pi_lim ( double &low, double &high, double n )
{
low = n / log ( n );
high = n / ( log ( n ) - 1.08366 );
}
long Power(long x, long n)
{
long power = 1L;
for ( long i = 0; i < n; i++ )
power *=x;
return power;
}
long PowerMod(long x, long ... | [
"Tereshchenko.Vitaly@infotecs-nt"
] | Tereshchenko.Vitaly@infotecs-nt |
d882a3ba78130bb4135bf1d13595e4e11af683b0 | b827699a066d8b6e4e34f8ecd22acf28572dab88 | /iree/vm/debug/debug_server_flags.cc | 3997438e3e00f1a896a9d0b044dae0ecaf07912b | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | lamarrr/iree | ff12136dda3ce4cfed668a0b6a43b07fb39e7678 | d38ef06d886fec83cc870669ba055c54082cd69a | refs/heads/master | 2020-07-30T12:17:44.733253 | 2019-09-22T18:33:35 | 2019-09-22T18:33:35 | 210,231,069 | 0 | 0 | null | 2019-09-23T00:06:25 | 2019-09-23T00:06:25 | null | UTF-8 | C++ | false | false | 2,939 | cc | // Copyright 2019 Google LLC
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in... | [
"ben.vanik@gmail.com"
] | ben.vanik@gmail.com |
270bb439b1e8bc3c06d5dad824c5ae5c150ca668 | 356428cf30a03cce649acab2d2913faef8a83520 | /Processauthority.cpp | 03137192ed2fc0afdea6488d719d3b11b2679e1d | [
"BSD-3-Clause"
] | permissive | hexiyou/From-System-authority-to-Medium-authority | 7b4a04aad78e890960625157d2474000552d81b7 | 8ab1fd69aa03e16bfef3dff5dcf2959d5d299fc3 | refs/heads/master | 2020-05-15T19:13:45.888005 | 2018-12-31T02:33:34 | 2018-12-31T02:33:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,393 | cpp | /*
Processauthority.cpp
Author:3gstudent@3gstudent
Look through all the process and detect whether the process runs as admin
*/
#include <windows.h>
#include <TlHelp32.h>
BOOL IsRunasAdmin(HANDLE hProcess)
{
BOOL bElevated = FALSE;
HANDLE hToken = NULL;
if (!OpenProcessToken(hProcess,TOK... | [
"noreply@github.com"
] | hexiyou.noreply@github.com |
e8774811d8a71b2f2e9615a710e88982f4c8f8cc | 38c10c01007624cd2056884f25e0d6ab85442194 | /ppapi/proxy/file_chooser_resource.h | 0347fb07339008fa8ec2328dd788d1f0ec64d352 | [
"BSD-3-Clause",
"LicenseRef-scancode-khronos"
] | permissive | zenoalbisser/chromium | 6ecf37b6c030c84f1b26282bc4ef95769c62a9b2 | e71f21b9b4b9b839f5093301974a45545dad2691 | refs/heads/master | 2022-12-25T14:23:18.568575 | 2016-07-14T21:49:52 | 2016-07-23T08:02:51 | 63,980,627 | 0 | 2 | BSD-3-Clause | 2022-12-12T12:43:41 | 2016-07-22T20:14:04 | null | UTF-8 | C++ | false | false | 2,850 | h | // 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.
#ifndef PPAPI_PROXY_FILE_CHOOSER_RESOURCE_H_
#define PPAPI_PROXY_FILE_CHOOSER_RESOURCE_H_
#include <queue>
#include <string>
#include <vector>
#incl... | [
"zeno.albisser@hemispherian.com"
] | zeno.albisser@hemispherian.com |
22455489bc9689a047d9ae06aff87d178dae1c56 | f86aca29049d58cc5fd9849e895741f048030c07 | /Generation/src/components/PoissonPileUp.cpp | 7c6c67c57585ebecf7956e8f94925bcc0eb6581d | [] | no_license | davidho95/FCCSW | ed83fe117c0ebafb89292b4f8c8517d21beaa2b9 | edada13d3449154f09d9511f830e5726ea86be40 | refs/heads/master | 2020-12-25T11:16:09.029696 | 2016-07-20T12:32:02 | 2016-07-20T12:32:02 | 62,572,337 | 0 | 0 | null | 2016-07-04T15:35:28 | 2016-07-04T15:35:28 | null | UTF-8 | C++ | false | false | 1,452 | cpp | #include "PoissonPileUp.h"
#include "GaudiKernel/DeclareFactoryEntries.h"
#include "GaudiKernel/IRndmGenSvc.h"
DECLARE_TOOL_FACTORY( PoissonPileUp )
PoissonPileUp::PoissonPileUp(
const std::string& type,
const std::string& name,
const IInterface* parent )
: GaudiTool ( type, name , parent ) {
declareInterf... | [
"valentin.volkl@cern.ch"
] | valentin.volkl@cern.ch |
141c7bb8b60d6dd543c9589807f0440ef1418137 | a05ea097324f484c24f046eb3ef3e56691052abb | /Mechatronics/lab/timer_interrupt/timer_interrupt.ino | af90efe01f0cc3eea69d490b22ebd4bca07c6c00 | [] | no_license | Abhishekraj166/Mechtronics-Projects | 0e1c8623fc0a9410e2d8bf7f64db95bd4f31490d | 0cc96d6f22b102945325afa0b1e82df77630cfea | refs/heads/master | 2021-02-26T15:44:11.911188 | 2020-03-07T00:01:01 | 2020-03-07T00:01:01 | 245,537,323 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,524 | ino |
#include "TimerOne.h"
#define LED1 PB1
#define LED2 PB4
#define LED3 PB3
#define LED4 PB2
#define S1 PD2
#define S2 PD3
#define S3 PD4
#define S4 PD5
const uint16_t t1_load = 0;
const uint16_t t1_comp = 31250;
const uint16_t t2_load = 0;
const uint16_t t2_comp = 31250;
const uint16_t t3_load = 0;
const uint16_t t3_c... | [
"abhishek.raj166@gmail.com"
] | abhishek.raj166@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.