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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f44123d23797752e7d20c2d641036972499c6973 | 204bc4e90ceef6cd0374e2607c7a3ae5239cd608 | /GameEngine/src/System/BulletHandler.cpp | abcb6fff5e1aa1e1f9e939c35ce4569e31667646 | [] | no_license | Ericriminal/R-Type-Epitech-Tech-3 | 7bde5244bfb96243356d26183a557ce93e017280 | c2983def1bad5baa8fe8993a006313e4dc53aca6 | refs/heads/master | 2023-02-17T06:55:44.907398 | 2021-01-18T11:11:31 | 2021-01-18T11:11:31 | 329,395,424 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 691 | cpp | /*
** EPITECH PROJECT, 2020
** BulletHandler.cpp
** File description:
** BulletHandler
*/
#include "System/BulletHandler.hpp"
#include "Core/Coordinator.hpp"
void BulletHandler::init(std::shared_ptr<Coordinator> _coordinator)
{
coordinator = _coordinator;
screenSize = sf::Vector2u(1280, 720);
}
void BulletH... | [
"eric1.tran@epitech.eu"
] | eric1.tran@epitech.eu |
58c1e54cce216742bfc86e684cd9371187c6aa8e | c9b85678af98c3b8cac43d5faacdd0136191de60 | /jlis.cpp | 3bd5946787962225f24728b9f22ecd88d8fb7fd5 | [] | no_license | bluekatt/algospot | 1c17c0dd1a3e847c09ee9d099b7bc4370b753669 | 56161cf91d2c171c854553f55039747f4b8099d6 | refs/heads/main | 2023-07-09T02:59:49.434465 | 2021-08-16T05:28:48 | 2021-08-16T05:28:48 | 331,015,761 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,040 | cpp | #include <iostream>
#include <algorithm>
#include <cstring>
#include <vector>
#include <climits>
using namespace std;
int n, m;
int seq[102];
int seq2[102];
int cache[102][102];
int jlis(int s1, int s2){
int& ret = cache[s1+1][s2+1];
if(ret!=-1){
return ret;
}
ret = 2;
long long a = (s1==... | [
"jsp1256@gmail.com"
] | jsp1256@gmail.com |
332af7c8dacbe338f6646f4dd87194f01a7377e3 | f4e06d0a505110d714b76ef0e89b9b61d8939063 | /Assignment2/Server/Server/Server.cpp | 7e9f225168c18c29e8046990090e111310f80908 | [] | no_license | alvinm96/CSS432Assignments | f6ce340645465d69e1d78762d86b1a72ef24049d | 5ee7196d1891dc13bdfdaea4a67fa7064a02906e | refs/heads/master | 2021-05-12T06:08:31.481351 | 2018-02-10T23:35:25 | 2018-02-10T23:35:25 | 116,889,702 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,743 | cpp | #include <sys/types.h> // socket, bind
#include <sys/socket.h> // socket, bind, listen, inet_ntoa
#include <sys/time.h>
#include <netinet/in.h> // htonl, htons, inet_ntoa
#include <arpa/inet.h> // inet_ntoa
#include <netdb.h> // gethostbyname
#include <unistd.h> // read, write, close
#include <st... | [
"a.manalastas@hotmail.com"
] | a.manalastas@hotmail.com |
838ec0164ee5cbcf8c1c8cd229c38bb5482be2f0 | e1d35d58036234a80f2f8d400ba676299b2cc2c6 | /NepsAcademy/Operacoes.cpp | 57b76384f052f14565d4369bb9121b7b2085d400 | [] | no_license | Diego10Rocha/competitive-programming | e3815676cc27a091f3e30b432ec29bc5f774c24c | 2a632cbab659ff1e960af622527c98ea9a4d2568 | refs/heads/master | 2022-11-12T17:33:27.951352 | 2020-06-28T13:56:08 | 2020-06-28T13:56:08 | 268,077,404 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 404 | cpp | #include<bits/stdc++.h>
#define desync ios_base::sync_with_stdio(false);cin.tie(NULL);cout.tie(NULL)
#define endl '\n'
using namespace std;
int main(){
desync;
char operacao;
double num1, num2, resultado;
cin >> operacao;
cin >> num1 >> num2;
if(operacao == 'M')
resultado = num1 * num2;
else
resultad... | [
"diego93rocha@gmail.com"
] | diego93rocha@gmail.com |
c9e5e5864400eab4ae0df786e3a097ee8ec6a37c | 85c73ab23bf994a4868785fa024d1c614f137794 | /include/vob/aoe/terrain/procedural_terrain.h | 458954c796b871d9dda41d0bb41bae91d58ea952 | [
"MIT"
] | permissive | voblivion/AnotherEngine | efe2366597a251225dd59e62bf250e3500cb97c0 | 6e0d5de26fce6619afd4ac854ae49e6e9a31587b | refs/heads/master | 2023-06-10T18:34:56.540138 | 2023-06-06T18:52:07 | 2023-06-06T18:52:07 | 182,630,295 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 798 | h | #pragma once
#include <vob/aoe/api.h>
#include <vob/aoe/rendering/data/mesh_data.h>
#include <vob/misc/std/vector2d.h>
#include <glm/glm.hpp>
#include <span>
namespace vob::aoetr
{
struct layer
{
float m_height;
float m_frequency;
glm::vec2 m_offset = glm::vec2{ 0.0f };
};
mistd::vector2d<float> VOB_A... | [
"voblivion@hotmail.fr"
] | voblivion@hotmail.fr |
dd480f7b558eca8ce170c3fb4df283ce57372545 | d25f34c7c2feedc72bcc6c7af2b624e1c1605eee | /modules/dreamview/backend/sim_control/sim_control_test.cc | 588c6a7b8ad6883d84219cb9fa66d51683299988 | [
"Apache-2.0"
] | permissive | wangzhongchuan1973/2020-w1 | aefecada26376f49cc88b652378920647ae3af78 | f9fb019d6b5ebbba4b4e9cf5e98544fa9bc3c7a6 | refs/heads/master | 2022-12-11T14:06:04.564465 | 2020-03-08T07:11:25 | 2020-03-08T07:11:25 | 245,765,118 | 0 | 0 | Apache-2.0 | 2022-12-07T02:18:33 | 2020-03-08T06:37:00 | C++ | UTF-8 | C++ | false | false | 6,772 | cc | /******************************************************************************
* Copyright 2017 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
... | [
"wzc1973@163.com"
] | wzc1973@163.com |
c8d60a9e14336b61afa009c084c9a3ceed082929 | 2a0f4e791dac5a3195c029ff00d61c53492fd7eb | /Lab08/BinarySearchTree.h | 4d3a1e5fb45eda624a4b41f6f01311c8e01023ba | [] | no_license | fvaldecan/Data-Structures | 752cc1bfa5d6e2be1a92a19e323f239b834d29ca | 9db4a3c6559669370ca6feb7fc35a0404d2423ee | refs/heads/master | 2020-05-26T14:17:57.934682 | 2019-05-23T15:32:44 | 2019-05-23T15:32:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,627 | h | #ifndef BINARY_SEARCH_TREE_H
#define BINARY_SEARCH_TREE_H
#include "dsexceptions.h"
#include <algorithm>
#include <iostream>
#include <vector>
#include <iomanip>
using namespace std;
// BinarySearchTree class
//
// CONSTRUCTION: zero parameter
//
// ******************PUBLIC OPERATIONS*********************
// void ins... | [
"valdecan@sonoma.edu"
] | valdecan@sonoma.edu |
d1d59be76187cd8cb2b1812e7bb47a5d1f81dc99 | 58cfaabdf22bd7b378c38ca7080d1129dd7cd451 | /astl/allocator/simpleAllocator.hpp | 42dfdb5296dd64c1e7db8860603265063339c08d | [] | no_license | PeihongKe/aSTL | 522625aa22ba52590a59eb06b9fb668d2b42606f | 55c16908f78e0f529082a18006361d853a53712f | refs/heads/master | 2021-01-19T07:30:30.484935 | 2017-07-10T22:12:36 | 2017-07-10T22:12:36 | 73,131,560 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,984 | hpp | #ifndef _ANOTHER_STL_SIMPLE_ALLOCATOR_
#define _ANOTHER_STL_SIMPLE_ALLOCATOR_
#include "astl\allocator\construct.hpp"
#include <limits>
#include <iostream>
namespace anotherSTL
{
// standard interface for an allocator, wrapper of the global alloc function
template<typename T>
class simpleAllocator
{
public:
typ... | [
"pkukph@hotmail.com"
] | pkukph@hotmail.com |
e91f14c8de117820ade10dd5874378be4bf423b0 | c56c02788edc975823d4eedc9c3b22967f5237d8 | /09. InheritanceAndPolymorphism/InheritanceAndPolymorphism/Circle.cpp | 5eb97b3279dc21a45ab5242d27783989d5fc4943 | [] | no_license | dbrizov/Learning-CPP | 7efe6fa1b2952f8165d440a9db3cb5cbadc61aa6 | 9cc0b5118c2450a4fdfe2d283b927e3ca866068d | refs/heads/master | 2021-01-19T05:48:54.884047 | 2017-04-15T08:42:42 | 2017-04-15T08:42:42 | 19,153,508 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 313 | cpp | #include "Circle.h"
const float PI = 3.14159f;
Circle::Circle(float radius)
{
this->radius = radius;
}
Circle::~Circle()
{
}
string Circle::GetType()
{
return "Circle";
}
float Circle::GetArea()
{
return PI * this->radius * this->radius;
}
float Circle::GetPerimeter()
{
return 2 * PI * this->radius;
}
| [
"d.b.rizov@gmail.com"
] | d.b.rizov@gmail.com |
401f2502f5e258b07aa1300cc78e977d7314e0c0 | 01a1741255f74cf51eba13fae30baddee1ce370a | /Common/avformat/mp4.cpp | 67304308ab1def3414307785d8f294f51d6812f8 | [] | no_license | jackok/RelayLive | 63468b1b012835c7c3305036e72ff12735d7c124 | 734222abd13847b0f5a90be999c8637f84e2028f | refs/heads/master | 2020-07-24T18:53:19.421766 | 2019-09-10T03:40:56 | 2019-09-10T03:40:56 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 25,979 | cpp | #include "stdafx.h"
#include "mp4.h"
#include "h264.h"
#define MP4_BOX_HEADER \
uchar size[4];\
uchar type[4];
#define MP4_FULLBOX_HEADER \
uchar size[4];\
uchar type[4];\
uchar version;\
uchar flags[3];
#pragma pack(1)
struct mp4_ftyp_box {
MP4_BOX_HEADER;
... | [
"wlla@jiangsuits.com"
] | wlla@jiangsuits.com |
86c87f3581caa9ab55f8c7046880607c464d8bcc | e303ac3d7e01a2712858e3125e077cfe51e058c6 | /06. Enum/06. Enum/Source.cpp | 5398df640499c9b0414f773a352c4a0bd550ea15 | [] | no_license | macnaer/C-Lessons-Base | 7ced68f6f8e5cc23c6c7899c3ac552dfc0511541 | 0035d52ea30fa83227740f7ee6dda8f966b19505 | refs/heads/master | 2020-06-20T13:57:36.640176 | 2019-10-31T11:26:28 | 2019-10-31T11:26:28 | 197,143,266 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 538 | cpp | # include <iostream>
using namespace std;
int main() {
enum Days {
Monday = 1,
Tuesday = 2,
Wednesday = 3,
Thursday = 4,
Friday = 5,
Saturday = 6,
Sunday = 7
};
cout << Days::Monday << endl;
int choice = 0;
cout << "Enter day of week" << endl;
cin >> choice;
switch (choice) {
case Monday:
... | [
"trofimchuk.an@gmail.com"
] | trofimchuk.an@gmail.com |
c0a0b6e93632d26912ed764d0b0dd7fc2fad8cb6 | a8653ca84ad1a72097efe80e1e214994e09cab1b | /src/core/topology/cache/MaxFlowCacheManager.cpp | 06d86c563a04c7b9f09b0fb0b06154f4f7423099 | [] | no_license | GEO-Protocol/GEO-network-client | c2d6069f15a833f4eea717b101de5602e5bf4de7 | daffc8d7e1e64b7ef3c0d27d807986b07adfff25 | refs/heads/develop | 2021-06-04T05:47:58.510637 | 2021-03-21T06:51:15 | 2021-03-21T06:51:15 | 59,763,647 | 16 | 5 | null | 2019-03-31T11:04:59 | 2016-05-26T15:54:47 | C | UTF-8 | C++ | false | false | 3,363 | cpp | #include "MaxFlowCacheManager.h"
MaxFlowCacheManager::MaxFlowCacheManager(
const SerializedEquivalent equivalent,
Logger &logger):
mEquivalent(equivalent),
mLog(logger)
{}
void MaxFlowCacheManager::addCache(
BaseAddress::Shared keyAddress,
MaxFlowCache::Shared cache)
{
mCaches.ins... | [
"mykola.ilashchuk@gmail.com"
] | mykola.ilashchuk@gmail.com |
c97fae1910f1201d00e699bf981df067338df7d5 | c7e326717d76ec50c84b57e137857febf6517aaa | /transh/transh.h | eb479c1578e6faf54a8c8343ec6d1f320777bf42 | [] | no_license | eriq-augustine/KB2E | 5fa072efee4ca268d07d4cc71b57e641a33d3f4f | c1432cbccf0931a8a263bba515d9afedc4f86c7f | refs/heads/master | 2021-01-13T03:14:40.566588 | 2017-09-05T19:05:34 | 2017-09-05T19:05:34 | 77,409,387 | 0 | 0 | null | 2016-12-26T22:13:10 | 2016-12-26T22:13:10 | null | UTF-8 | C++ | false | false | 432 | h | #ifndef TRANSH_TRANSH_H_
#define TRANSH_TRANSH_H_
#include <vector>
namespace transh {
double tripleEnergy(int head, int tail, int relation,
int embeddingSize,
std::vector<std::vector<double>>& entityVec,
std::vector<std::vector<double>>& relationVec,
... | [
"eriq.augustine@gmail.com"
] | eriq.augustine@gmail.com |
242446d7b5a0208eed0e5bac9b0589ef1356f909 | 5654e9892111536a33c83f03f6159a54882005c3 | /cpp/AES/vt_replacement_path_modified_algo.cpp | a2a6cbe89c2992d7ecadc5e24c54920746adf5f2 | [
"MIT"
] | permissive | PrithwishBasuRoy/ASPDAC_2019 | 829b8e66f2c65364ef2dd0039c8dd3c223a6afc9 | f22e5e04d902d8c4386b9586f142861ffef1661d | refs/heads/master | 2020-06-12T09:04:03.671975 | 2019-09-20T13:40:15 | 2019-09-20T13:40:15 | 194,252,724 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 188,765 | cpp | #include <iostream>
#include <stdlib.h>
#include <fstream>
#include <sstream>
#include <boost/graph/graph_traits.hpp>
#include <boost/graph/adjacency_list.hpp>
#include <boost/graph/graphviz.hpp>
#include <boost/graph/breadth_first_search.hpp>
#include <string>
#include <queue>
#include <math.h>
#include <sys/time.h>
#... | [
"prithwishpb@gmail.com"
] | prithwishpb@gmail.com |
2b9c71c8d931bdad869d0d53867486806c1d34fb | ef927955ec4904a79f11be34038af7f6f75bd31f | /grxsdk/inc/OdGraph.h | 9f07266b0c1b8f3099a0e21937316128de33d8a7 | [] | no_license | 15831944/arxloader | 610842b913b1fea16133564ff532a4207daf076a | b9d2888953b04ab53743ddae6751d871d2a23dae | refs/heads/master | 2023-04-13T14:54:28.462797 | 2021-04-27T12:37:05 | 2021-04-27T12:37:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,058 | h | #pragma once
#pragma pack (push, 8)
#include "DbConstraintsExports.h"
#include "OdGraphNode.h"
#include <map>
class OdImpGraph;
class OdDbObject;
typedef std::map<OdGraphNode::Id, OdGraphNode*> NodeIdToPtrMap;
class DBCONSTRAINTS_EXPORT OdGraph : public OdRxObject
{
public:
ODRX_DECLARE_MEMBERS(OdGraph);
en... | [
"dengtao@gstarcad.com"
] | dengtao@gstarcad.com |
85e9c7691789577d21b7a9d021f20de142beafed | 4fc91e5649a57de7e08296b51fe462b024152f0b | /pacman C++/Project2/PlayerStates.cpp | 0ac8bbac922719ffc3fe9212ab4bf511b60cddbc | [] | no_license | OrElla/Pacman | 1e941f20b6d4dc2744d7c206d433a6183e226dc0 | 10763b434237e930042ed99206fd5477c2059449 | refs/heads/master | 2020-06-27T19:18:09.278350 | 2019-08-01T10:28:50 | 2019-08-01T10:28:50 | 200,027,984 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 949 | cpp | #include "PlayerStates.h"
// PlayerStates c-tor
PlayerStates::PlayerStates()
{
m_font = *(FileManager::instance().getFont(GAME_FONT));
m_statusBar.setFont(m_font);
m_lifeSpirte.setTexture(*(FileManager::instance().getLifeTexture()));
m_lifeSpirte.setTextureRect(sf::IntRect(11 * P_SIZE, 0, P_SIZE, P_SIZE... | [
"or7ella@gmail.com"
] | or7ella@gmail.com |
500febe51748c97b6cc5b032aeb92f89d4ce0ab6 | 920617f8a53204ed24798fdd17edabf6524f9647 | /Chapter03/practice/3.2.cpp | ece8329c98429eb72160bfc026abc5d3ddd14d54 | [] | no_license | primerX/CppPrime_Code | 57771295c0940fc25a69cde999cd10962b61344d | b0512aafe3fb0d571698908af3f37408871ee2d3 | refs/heads/master | 2020-04-07T01:24:52.000261 | 2018-12-01T06:26:48 | 2018-12-01T06:26:48 | 157,940,489 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 558 | cpp | #include <iostream>
#include <string>
using namespace std;
// 使用 getline 一次读入一行,遇到回车结束
int main(int argc, char const *argv[])
{
string line;
cout << "请输入您的字符串, 可以包含空格: " << endl;
while(getline(cin, line))
{
cout << line << endl;
}
return 0;
}
// 使用 cin 一次读入一个单词,遇到空白结束
int main(int argc, char const *argv[])
{... | [
"1034805730@qq.com"
] | 1034805730@qq.com |
9e96568449c64935ad7657c2935090721522b62c | b16da512c6a51045b6e1affc2650cf266c1f1f23 | /ImageTool/ConnectDlg.h | cbd0ca695c9057e0c67c0fbac4c4159c703db0e3 | [] | no_license | Lee-Seungwook/test | b55d162a50c3abdefa799e0a9dc149b4c6947545 | bcea09904ad8c1ed2ffa16ca0f0640dafe477ee6 | refs/heads/main | 2023-08-14T14:39:37.813964 | 2021-10-18T06:47:50 | 2021-10-18T06:47:50 | 403,833,781 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 533 | h | #pragma once
// CConnectDlg 대화 상자
class CConnectDlg : public CDialogEx
{
DECLARE_DYNAMIC(CConnectDlg)
public:
CConnectDlg(CWnd* pParent = nullptr); // 표준 생성자입니다.
virtual ~CConnectDlg();
CString m_strAddress;
// 대화 상자 데이터입니다.
#ifdef AFX_DESIGN_TIME
enum { IDD = IDD_IPCONNECT };
#endif
protected:
virtual v... | [
"lsw971226@naver.com"
] | lsw971226@naver.com |
13c974ad9d1a4d255485ca77d67086d165898221 | e4ed4805f3e907403df8ee8b7aae557498f97319 | /OverFluff/Source/OverFluff/OverFluffGameState.cpp | 8e6a14f7df4113ca364e00d7fc1737dfa603d45d | [] | no_license | hqt08/OverFluff | 869c69c1b36df305f971ccdca0e61bc9c7705d49 | ecbda4291c22c32a5f95350b0e2fae95df1508df | refs/heads/master | 2020-04-07T00:19:41.580692 | 2019-02-15T20:21:40 | 2019-02-15T20:21:40 | 157,898,897 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 184 | cpp | // Copyright 1998-2018 Epic Games, Inc. All Rights Reserved.
#include "OverFluffGameState.h"
#include "UObject/ConstructorHelpers.h"
AOverFluffGameState::AOverFluffGameState()
{
} | [
"tayhuiqithq@gmail.com"
] | tayhuiqithq@gmail.com |
966209aef55cd4a8281246888f2a5d6ce24e577d | a5a99f646e371b45974a6fb6ccc06b0a674818f2 | /EventFilter/HGCalRawToDigi/plugins/HGCalSlinkEmulator.cc | c56c405d7dbfbf65e857b9b980a4efdf80dceecb | [
"Apache-2.0"
] | permissive | cms-sw/cmssw | 4ecd2c1105d59c66d385551230542c6615b9ab58 | 19c178740257eb48367778593da55dcad08b7a4f | refs/heads/master | 2023-08-23T21:57:42.491143 | 2023-08-22T20:22:40 | 2023-08-22T20:22:40 | 10,969,551 | 1,006 | 3,696 | Apache-2.0 | 2023-09-14T19:14:28 | 2013-06-26T14:09:07 | C++ | UTF-8 | C++ | false | false | 7,269 | cc | /****************************************************************************
*
* This is a part of HGCAL offline software.
* Authors:
* Pedro Silva, CERN
* Laurent Forthomme, CERN
*
****************************************************************************/
#include <memory>
#include "FWCore/Framework/i... | [
"laurent.forthomme@cern.ch"
] | laurent.forthomme@cern.ch |
28467cd5a914bb7cceba69ab99c1c92c06bba2ee | 82b73e7d9e1495e96459c11be74516ce11096067 | /Public/Threading/RecursiveMutex_Std.h | cf5fec832fc78fde59a3e022531c8281fde2fcd2 | [
"MIT"
] | permissive | ameythaler/EngineTemplateLibrary | 3a97b047eddfeb9f8cb54a363e6c3986d1a9e216 | 1b23950f29061996e34066ee80bb6a4e7a9995cb | refs/heads/master | 2021-01-22T21:38:13.998650 | 2017-08-24T07:02:48 | 2017-08-24T07:02:48 | 85,455,698 | 2 | 0 | null | 2017-08-24T07:02:49 | 2017-03-19T06:27:58 | C++ | UTF-8 | C++ | false | false | 737 | h | #pragma once
#include "Utility/Platform.h"
#if ETL_STD
#include <mutex>
#include <atomic>
#include <thread>
#include "Threading/Lockable.h"
#include "Threading/Synchronizer.h"
namespace ETL
{
namespace Threading
{
class RecursiveMutex : public ILockable
{
public:
RecursiveMutex();
virtual void LockRead();
... | [
"amandameythaler@gmail.com"
] | amandameythaler@gmail.com |
3a397919508ac90bbf868cb3b8f41bf25fa8f4e7 | 9f4e6f978b3bc1b3a04e076da1f18a744fa8b18c | /mediapipe/calculators/tensorflow/pack_media_sequence_calculator_test.cc | 033271528fa936f701ae3e6d30c7b3f3f7bb6f23 | [
"Apache-2.0"
] | permissive | paulbellamy/mediapipe | a2ac88173b4972c8a38c243eae25aad25e3da2eb | 01b82d02ecab674b4c035d2639993d48aaaf22e1 | refs/heads/master | 2023-08-27T08:37:00.684605 | 2019-08-28T14:15:08 | 2019-08-28T14:15:08 | 204,948,742 | 0 | 0 | Apache-2.0 | 2019-08-28T15:16:06 | 2019-08-28T14:16:05 | null | UTF-8 | C++ | false | false | 28,054 | cc | // Copyright 2019 The MediaPipe Authors.
//
// 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 law or a... | [
"jqtang@google.com"
] | jqtang@google.com |
4cfe931ce217318223aed0ffadbf0b92c1d61fb3 | 9bb69ed24cf2bdf1901a6deeac7895f39a8bcfb9 | /ProtonRBE/TsVScoreBiologicalEffect.hh | df16bd8c9c71feec774070efe399bbff923bda4e | [] | no_license | topasmc/extensions | ea47246ca315acdfcd1a6f59a90fc5a83678a2fc | a5e43d50d5cbf7c6f60b91f96230dc8f05e29b2e | refs/heads/master | 2021-07-16T02:57:05.186779 | 2021-02-24T22:11:35 | 2021-02-24T22:11:35 | 98,336,322 | 14 | 8 | null | 2021-02-24T22:11:36 | 2017-07-25T18:11:42 | C++ | UTF-8 | C++ | false | false | 4,356 | hh | //
// ********************************************************************
// * *
// * This code implementation is an extension to developments by the *
// * TOPAS collaboration. *
// * This extension is an fr... | [
"dchall@mgh.harvard.edu"
] | dchall@mgh.harvard.edu |
f2821a0a6f6608c7dcd1944d6016449dea74fe66 | 0f62446cb2637bd75b47e9ffea691ef826c1f5c9 | /6/2.cpp | be2c6009cf5164b2ba5d5cb5c2afe0bbc657e983 | [] | no_license | Kgm21/AyED1 | a5bd7ce39fd112c59ab34efc218105555864b764 | f2611ea577b4cdb5582a10b8b7032afd77ade136 | refs/heads/main | 2023-06-14T09:46:42.035481 | 2021-07-11T05:47:42 | 2021-07-11T05:47:42 | 384,867,463 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 588 | cpp | #include <iostream>
#include <string>
#include <fstream>
using namespace std;
string frase;
string palabras;
int main(){
cout << "Ingrese una frase: ";
getline(cin,frase);
ofstream archivo;
archivo.open("Frase.txt",ios::out);
if(archivo.is_open()){
archivo << frase;
}
archivo.close(... | [
"karenmanchado19@gmail.com"
] | karenmanchado19@gmail.com |
438270194b3f0d4bd942dc7e8cbf08715d3beb88 | 68723ec7f793837b6f71923dd7e525053ce36aad | /examples/without_docking/main.cpp | f57dc53ece0c8ae9131b573f726e2eba26f74019 | [
"MIT"
] | permissive | adamnemecek/horus_ui | 2a6740c10694087cf90eecffde88f0e44c872ae7 | 48d90ed7434d1c8ea2538e560afa31aec3db5ecf | refs/heads/master | 2021-01-01T23:39:37.811143 | 2020-01-20T23:11:50 | 2020-01-20T23:11:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,655 | cpp | #pragma execution_character_set("utf-8")
#include "horus.h"
#include "sdl2_input_provider.h"
#include "opengl_graphics_provider.h"
int main(int argc, char** args)
{
hui::SdlSettings settings;
settings.mainWindowTitle = "HorusUI Example - Without docking";
settings.mainWindowRect = { 0, 0, 1024, 768 };
... | [
"nekitu@gmail.com"
] | nekitu@gmail.com |
bbbd31361f6aa85ef4c2187ccc3daffbace3fa5d | 1b97178d71d3b469d4b55a4eb9895468976a3964 | /Interrupt test/src/main.cpp | 1f45339103138c5fe984350fc8a97f67a8bb6b91 | [
"MIT"
] | permissive | GolanTrevise/Embedded-Systems | 5d17441a36d7c3b2f19441fc6dd984f27a912649 | 10f8494525a0a9a7ceddfaeed279f9e841302008 | refs/heads/master | 2022-11-11T17:53:06.695735 | 2020-07-10T03:36:54 | 2020-07-10T03:36:54 | 251,115,401 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 766 | cpp | /*
Use button with external interrupt to switch LED on/off
20200406 Chris Eley
*/
#include <Arduino.h>
#define buttonPin 12
#define ledPin 13
const uint32_t printTime_ms = 100;
//function prototype
void ISR_Button();
//boolean ButtonPressed = false;
volatile boolean LED_State = false;
volatile uint32_t pressCount... | [
"cbeley42@gmail.com"
] | cbeley42@gmail.com |
ff80477ee6212c0a2c8a767428679a77e2278a0c | a276d4aaee3f7041fd5bbb6a15bef2cda7584ead | /c.cpp | f7b959031bd3197bf63e3b1a6a4347e4a87c3583 | [] | no_license | AndreaCecilia/MorenoAndrea_Ejercicio28 | b82130c618bd72da9e39db9abde9608988858196 | 870744c16bfe0c4a186626c56a4bbfbcfcde8802 | refs/heads/master | 2020-09-10T15:53:32.308271 | 2019-11-14T18:46:16 | 2019-11-14T18:46:16 | 221,747,565 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,626 | cpp | #include <iostream>
#include <cmath>
// Inicializo las funciones
float velx(float t, float y0, float y1, float z0, float z1); //Returns y0
float acelx(float t, float y0, float y1, float z0, float z1); //Returns y1
float vely(float t, float y0, float y1, float z0, float z1); //Returns z0
float acely(float t, float y0... | [
"ac.moreno432@uniandes.edu.co"
] | ac.moreno432@uniandes.edu.co |
2050b5f7841d15b25b895ab7908a36b945f564a7 | bb6ebff7a7f6140903d37905c350954ff6599091 | /chromeos/network/onc/onc_validator.h | d406853cbc59f3dc6ef919e4ea47282dfbd5a0bb | [
"BSD-3-Clause"
] | permissive | PDi-Communication-Systems-Inc/lollipop_external_chromium_org | faa6602bd6bfd9b9b6277ce3cd16df0bd26e7f2f | ccadf4e63dd34be157281f53fe213d09a8c66d2c | refs/heads/master | 2022-12-23T18:07:04.568931 | 2016-04-11T16:03:36 | 2016-04-11T16:03:36 | 53,677,925 | 0 | 1 | BSD-3-Clause | 2022-12-09T23:46:46 | 2016-03-11T15:49:07 | C++ | UTF-8 | C++ | false | false | 9,117 | 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 CHROMEOS_NETWORK_ONC_ONC_VALIDATOR_H_
#define CHROMEOS_NETWORK_ONC_ONC_VALIDATOR_H_
#include <set>
#include <string>
#include <vector>
#incl... | [
"mrobbeloth@pdiarm.com"
] | mrobbeloth@pdiarm.com |
6a7d4ecc622ab3f46ef63f7121d754166dc793e7 | 2476e036866ebf861e834eb0ddb2a8cd49104285 | /nowcoder/card_game/card_game/main.cpp | fe87094c1deb3b42810067a453bc675599edc737 | [] | no_license | xchmwang/algorithm | 7deaedecb58e3925cc23239020553ffed8cc3f04 | 55345160b6d8ef02bc89e01247b4dbd1bc094d5e | refs/heads/master | 2021-09-17T23:54:40.785962 | 2018-07-07T06:40:27 | 2018-07-07T06:40:27 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 923 | cpp | #include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
const int maxn = 305;
int fa[maxn][maxn], sa[maxn][maxn];
class Cards {
public:
// 先手获得的分数
int f(vector<int> A, int i, int j)
{
if (fa[i][j] >= 0) return fa[i][j];
else if (i == j) return fa[i][j] = A[i];
return fa[i][j] = max(A[... | [
"ChenminWang.Dk@gmail.com"
] | ChenminWang.Dk@gmail.com |
ee870f6aaddd38a4260457a20a6f68448d2af1db | 47210eff33a8caf125eed7a83c2ce07300c938d1 | /lib/mmap.h | 04580fd84a2b16b32587e2f7ac8395a4671375c9 | [
"BSL-1.0"
] | permissive | Practical/practical-sa | 5239eac8c05139bb70cdbe4d50375ccd90ff044a | 9f4605441d50e055addaa81097e62f28093052d4 | refs/heads/master | 2022-08-23T10:52:48.797214 | 2022-08-03T20:54:48 | 2022-08-03T20:54:48 | 140,077,906 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,974 | h | /* This file is part of the Practical programming langauge. https://github.com/Practical/practical-sa
*
* To the extent header files enjoy copyright protection, this file is file is copyright (C) 2018-2019 by its authors
* You can see the file's authors in the AUTHORS file in the project's home repository.
*
* Thi... | [
"shachar@shemesh.biz"
] | shachar@shemesh.biz |
14097a01bb6ca1ba73d29851e355f2e27d268a3e | 5ebd5cee801215bc3302fca26dbe534e6992c086 | /blazetest/src/mathtest/dmatsmatsub/LDaLCa.cpp | 8ae1374ddacbcd2488c4fe081bed1dcfec8918bc | [
"BSD-3-Clause"
] | permissive | mhochsteger/blaze | c66d8cf179deeab4f5bd692001cc917fe23e1811 | fd397e60717c4870d942055496d5b484beac9f1a | refs/heads/master | 2020-09-17T01:56:48.483627 | 2019-11-20T05:40:29 | 2019-11-20T05:41:35 | 223,951,030 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,158 | cpp | //=================================================================================================
/*!
// \file src/mathtest/dmatsmatsub/LDaLCa.cpp
// \brief Source file for the LDaLCa dense matrix/sparse matrix subtraction math test
//
// Copyright (C) 2012-2019 Klaus Iglberger - All Rights Reserved
//
// This fi... | [
"klaus.iglberger@gmail.com"
] | klaus.iglberger@gmail.com |
5bf55f690e9b41a78af965e858a8bb167bf10b94 | 2022dbdae1d6aa7725359a864901f7900a7a8468 | /Maksud Vai/TOP Coder Algorithm Code/STL/CompareSort.cpp | a516fa94e8264078af4292a35826797d53e2930f | [] | no_license | emtiajium/practice | 95368684d8212c52ce671a7dccc5fdd599bb8f6c | d0ad84cc96ed7aec48c7c1b896a6f788d1f0af0a | refs/heads/master | 2023-07-26T20:43:30.761816 | 2021-09-12T05:39:42 | 2021-09-12T05:39:42 | 405,553,811 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,810 | cpp | /*
Problem: Given you a dataset. There are reg no.,name,mark. At first you
sort by mark. Which mark is greater he is in top. If two candidate marks
are equal then you sort by reg no. Which student reg no is small then he/she
top in the list. If also reg. no are equal then you sort lexicographically
sort by... | [
"ehasan@testreach.com"
] | ehasan@testreach.com |
861d8f8fff1f5c0e9ba4eaf769bbf32d95db2c7c | 356d287339b954bb244eb9a5d9b849dfed1b0b06 | /Vertex.cpp | 3abe08ede417d0f6271cb4a274f1273e378f66f1 | [] | no_license | SeanJanis/d3dx-water-simulations | 1a56f1ccdfbd2b746961ba95a3ce062bc723475b | 2b82a03a5f92c0ae550c8301cb08adb6978be0f5 | refs/heads/master | 2016-09-08T01:50:11.887224 | 2014-03-23T00:20:08 | 2014-03-23T00:20:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 754 | cpp | #include "DXUT.h"
#include "Vertex.h"
IDirect3DVertexDeclaration9* CVertex::Decl = 0;
CVertex::CVertex(D3DXVECTOR3 pos, D3DXVECTOR3 normal, D3DXVECTOR2 texture)
{
m_Pos = pos;
m_Normal = normal;
m_Texture = texture;
}
void InitVertexDeclarations(IDirect3DDevice9* pDirect3D9Device)
{
D3DVERTEXELEMENT9 Verte... | [
"spjanis@gmail.com"
] | spjanis@gmail.com |
1c3d55d68595364b003fc57fa862eb6300a3e6a4 | f0e68f65ea2c57fe38ecef5e7a80de5b4a1c8ce2 | /OCR/unittests/ocr_unittests.cpp | e63e2ada431a53e43e71f75068cf65063ef8932f | [] | no_license | mazurekm/EquationRecognition | b891231fd37411e90e3251b9d525c0dc8f48f6a2 | 2fc9de9dc1b31dca670af018db470b6d14fc49d5 | refs/heads/master | 2016-09-06T09:43:19.046343 | 2015-09-16T09:37:02 | 2015-09-16T09:37:02 | 34,905,765 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,254 | cpp | #include <boost/test/unit_test.hpp>
#include <sstream>
#include <vector>
#include <OCR/OCR.h>
#include <iostream>
#include <boost/filesystem.hpp>
#include <memory>
struct Fixture
{
std::string currentPath;
std::string tessData;
Fixture()
{
std::stringstream sst;
sst << boost::filesystem::current_path();
... | [
"mazur@myown.test"
] | mazur@myown.test |
d35d5189fb34fc45ad732206b2e210d1ef0c7162 | 4d71ce3c8868aefe27217d9e8e5c6fc6fbfb5606 | /OOCP/PRACTICAL_26.CPP | 49f357da4df855716b577adc224e7623a3c9fd36 | [] | no_license | arnove55/Programing | cccf4413298ac268f4167ddca3d1fda426b5ec28 | f5171c65c0870640c57990e258d618dd625b98b5 | refs/heads/master | 2022-12-05T17:55:56.686054 | 2020-08-13T07:11:00 | 2020-08-13T07:11:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,039 | cpp | // DEFINITION :-26. Find the Addition of two numbers using Friend Function.
// ENROLLMENT NUMBER :- 190510101173
// NAME :- KISHAN LAL
// SEM :- 3 BACH :- 2 DIV :- C
// THIS CODE IS WRITTEN IN VS CODE
#include<iostream>
#define PI 3.14
using namespace std;
class Operation {
public:
friend float Additio... | [
"astronomer15.ki@gmail.com"
] | astronomer15.ki@gmail.com |
a7f45c87f6d81ffd2be315f9189311f8c1bf23e1 | 3ded37602d6d303e61bff401b2682f5c2b52928c | /cc/007/Classes/Unit/GameUIEvent.cpp | 0807113c9c8e7913ae44e109190a70a6cfe6f213 | [] | no_license | CristinaBaby/Demo_CC | 8ce532dcf016f21b442d8b05173a7d20c03d337e | 6f6a7ff132e93271b8952b8da6884c3634f5cb59 | refs/heads/master | 2021-05-02T14:58:52.900119 | 2018-02-09T11:48:02 | 2018-02-09T11:48:02 | 120,727,659 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,550 | cpp |
#include "GameUIEvent.h"
#include "GameUILayoutLayer.h"
#include "SceneManager.h"
#include "AudioHelp.h"
GameUIEvent::GameUIEvent()
{
}
GameUIEvent::~GameUIEvent()
{
}
void GameUIEvent::onButtonCallback(int tag )
{
if (GameUILayoutLayer::eUIButtonTagBack==tag){
AudioHelp::getInstance()->playP... | [
"wuguiling@smalltreemedia.com"
] | wuguiling@smalltreemedia.com |
369cebfe36cede43c1ad50f3e7ca47aa87b0c5f9 | 6504215c8de43b1e3d1bfb9e9740d8d1848e6282 | /SDK/UE4_Spray_Flag_Ireland_parameters.hpp | 1d1cee926e4c1f951f35d7528b24412fdf044187 | [] | no_license | MuhanjalaRE/Midair-1.0.4.9504-SDK | d9d82cdaf72d16bcd56400edf27092d85867db5f | c935e6e8f07953c3ab71e10d405db42a7c60627b | refs/heads/main | 2023-02-24T11:59:43.891011 | 2021-01-29T19:04:11 | 2021-01-29T19:04:11 | 334,117,758 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 369 | hpp | #pragma once
// Unreal Engine 4 (4) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "UE4_Spray_Flag_Ireland_classes.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Parameters
//-------------------------------------------------------------------------... | [
"78203566+MuhanjalaRE@users.noreply.github.com"
] | 78203566+MuhanjalaRE@users.noreply.github.com |
7e53f4f8acee77b13dc95eb5da5de2c5e9fd2b36 | 7c06fd6debb2c7cae7394408934968b6dc994aef | /cpp_schaum/pc_150625/predcont.h | b9c406f87928d5fddeaed9112d0a0a6ceeeed3c0 | [] | no_license | 8emi95/elte-ik-cpp | 7cd8575daef8fbf07063e626485e8c6b991e3ae9 | a7bfa8e2e92d95504f188eb90f3950f8069e8806 | refs/heads/master | 2020-07-25T09:10:53.894289 | 2019-03-16T18:43:47 | 2019-03-16T18:43:47 | 176,011,854 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,127 | h | #ifndef PREDCONT_H_INCLUDED
#define PREDCONT_H_INCLUDED
#include <algorithm>
struct AlwaysFalse
{
template<class T>
bool operator()(const T&) const
{
return false;
}
};
template<class Cont, class Pred = AlwaysFalse, class Elem = typename Cont::value_type>
class predicate_container
{
Cont ... | [
"8emi95@inf.elte.hu"
] | 8emi95@inf.elte.hu |
e1c9be46cd9617f31665f4178dd987bbc1bd84c7 | c4d0044fc33e5cda4c803e8fff1d56cc0526ca3f | /Visual C++/RTF Example/rtf_samp.h | 6eecd82383ef826a895a79339cbe3909ef747f7e | [] | no_license | combit/ll-samples | cc2f9ea4cfa62eb5a7c62422c710c23f030ed8d0 | 31db1f9edaca4e18209338b6bf9a615fdc385d32 | refs/heads/main | 2023-06-25T00:23:56.489036 | 2023-06-15T10:01:37 | 2023-06-15T10:01:37 | 170,292,207 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,305 | h | // rtf_samp.h : main header file for the RTF_SAMP application
//
#if !defined(AFX_RTF_SAMP_H__FAEBA1A7_8B95_11D2_9CD9_444553540000__INCLUDED_)
#define AFX_RTF_SAMP_H__FAEBA1A7_8B95_11D2_9CD9_444553540000__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
#ifndef __AFXWIN_H__
#error include 'std... | [
"bartlau@combit.net"
] | bartlau@combit.net |
384304b0a1f427a63a87a89ba1676b3c27452dc0 | 2d88d052b3ab4dafc576ab7cbc914467189d20f6 | /Control_2/Pregunta_3_Palindromo_Mejia_Morales_Walter_Stephano.cpp | 484042098d7c143a4d4c5f0e8678a9a3e4e318da | [] | no_license | Stephanomejia17/CCOMP-2-2 | 6dab8989d856cff79396e031931fa48cf12bf3f1 | d504790719e40c9e9ffb515c7795c6cb56cc68d4 | refs/heads/main | 2023-07-27T14:22:05.688557 | 2021-09-01T01:17:16 | 2021-09-01T01:17:16 | 353,438,312 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,545 | cpp | /*
Implementar DOS FUNCIONES, UNA RECURSIVA Y OTRA ITERATIVA, en las cuales se evaluará un arreglo de enteros
(enteros de un dígito) y debe retornar true si los elementos de dicho arreglo representan un palindromo y
false caso contrario. EN LA IMPLEMENTACIÓN DEBE USAR UNICAMENTE PUNTEROS.
Por ejemplo
si el arreglo t... | [
"walter.mejia@ucsp.edu.pe"
] | walter.mejia@ucsp.edu.pe |
b6614210faab8d3d829a4ba0814e6ca341763e3c | 8bf8f5dea3d5fa47868b06c6df44552dcd6b6420 | /OpenGLNDK/app/src/main/vsl/vsResourceLib.cpp | b2d230e6370c91a61fb8af8204c7d83e7722afb3 | [] | no_license | MartinRGB/AndroidGL | f4d0c6ba48006c8710ca9ca318e46b145d98108f | a0155038d2ee562395ef6941942830432bb2fa9c | refs/heads/master | 2021-01-22T14:11:38.459744 | 2019-02-14T11:41:42 | 2019-02-14T11:41:42 | 100,707,220 | 0 | 0 | null | 2017-08-18T11:50:20 | 2017-08-18T11:50:20 | null | UTF-8 | C++ | false | false | 13,603 | cpp | /** ----------------------------------------------------------
* \class VSResourceLib
*
* Lighthouse3D
*
* VSResourceLib - Very Simple Resource Library
*
* \version 0.1.1
* Added virtual function load cubemaps
* Added virtual function to set a preloaded texture
*
* \version 0.1.0
* Initial Release
*
* ... | [
"Antonio Ramires"
] | Antonio Ramires |
d2cff65b88cb8671b87ff11222290e9a2defdbc2 | 761a4ba4c200b341b29d792b7c47373b02a7ab73 | /jog_api/src/jog_api/jog_api_example.cpp | abab24a6c0784e766f6658cf6f9f465201b0bd69 | [] | no_license | machinekoder/jog_arm | 227617aaf485c7c97e0d5436c7d2fecf2bf977de | 0d4f6ec36237f0f2137023001ea4e1154d8f8353 | refs/heads/kinetic-moveit | 2021-04-18T19:28:16.127762 | 2018-08-21T16:33:15 | 2018-08-21T16:33:15 | 126,201,454 | 1 | 2 | null | 2018-07-17T16:06:27 | 2018-03-21T15:36:57 | C++ | UTF-8 | C++ | false | false | 3,730 | cpp | ///////////////////////////////////////////////////////////////////////////////
// Title : jog_api_example.cpp
// Project : jog_arm
// Created : 3/27/2018
// Author : Andy Zelenak
// Platforms : Ubuntu 64-bit
// Copyright : Copyright© The University of Texas at Austin, 2014-2017... | [
"andyz@utexas.edu"
] | andyz@utexas.edu |
7287f130e99f88db8fc0adc02e90951f6ea5e324 | 5d83739af703fb400857cecc69aadaf02e07f8d1 | /Archive2/07/552f0cfa9ee89e/main.cpp | 7b46948d9ce407985a430a917c060c1719615430 | [] | 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 | 552 | cpp | #include <iostream>
#include <string>
void PrintInteger(int i)
{
std::cout << "Integer: " << i << std::endl;
}
void PrintString(const std::string& s)
{
std::cout << "String: " << s << std::endl;
}
template <typename Type>
using Function = void (*)(Type);
template
<
typename Type,
Functio... | [
"francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df"
] | francis.rammeloo@36614edc-3e3a-acb8-9062-c8ae0e4185df |
b652f321aa479ae6fb092cbd62b56e8abfb07a63 | 66a54367813a7941aa9586382ab1f8447e5bed7b | /762. Prime Number of Set Bits in Binary Representation.cpp | dfabedf2264c9adecb5c5d7bf979b78e222fbdfc | [] | no_license | OgnjenArsenijevic/LeetCode-solutions | 46e0a145f80485b145b9357eb78759975b3865fd | 1b513a5110effafc0f446f671d45e4ff32e0e6a7 | refs/heads/master | 2020-04-29T06:29:33.269476 | 2020-03-30T21:03:12 | 2020-03-30T21:03:12 | 175,917,592 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 776 | cpp | ///762. Prime Number of Set Bits in Binary Representation
///Author: Ognjen Arsenijevic
///username: ognjen1998
class Solution
{
public:
bool prime(int n)
{
if(n<2) return false;
if(n==2) return true;
if((n & 1)==0) return false;
for(int i=3;i<=sqrt(n);i+=2)
{
... | [
"noreply@github.com"
] | OgnjenArsenijevic.noreply@github.com |
d0e46b799ecf8ae410be5f9867aa065f9eea8e06 | d1935ba58b5f042ee34545a746b2ef6f71890970 | /src/exercises/Blob.cpp | 1267f2a396eda9fc93a03823448bee7245c50e0d | [
"MIT"
] | permissive | tkaleas/cpp-sandbox | 2c11173726e9e0171a4a278bc9a6adbfce52969a | 9501619421edc8ced6023ab6b83908c43b26f134 | refs/heads/master | 2020-04-27T03:17:03.821811 | 2019-08-03T06:34:42 | 2019-08-03T06:34:42 | 174,020,669 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,825 | cpp | #include <string>
#include <vector>
#include <memory>
#include "Blob.h"
using namespace std;
/*StrBlob Method Definitions*/
StrBlob::StrBlob() :
data(std::make_shared<vector<string>>()) { }
StrBlob::StrBlob(initializer_list<string> il) :
data(make_shared<vector<string>>(il)) { }
void StrBlob::check(size_type i... | [
"terry.kaleas@gmail.com"
] | terry.kaleas@gmail.com |
2a7d982def052c1536b39108b23fa1f8036377ea | 06879838a02d291a4bb3446fcf4fd3ca309f988f | /linear search.cpp | 66f31dfe5cff67b8a8a084eb6e5051e09e9c4db7 | [] | no_license | sakib1913/ALGORITHMS | f30fe37a887ccb374b8beaa5de1ec701e47f2ffb | bdfa81c38fde62d68fd65182949ac62fb5e6ff64 | refs/heads/master | 2022-12-06T17:22:16.517352 | 2020-08-26T07:12:20 | 2020-08-26T07:12:20 | 287,459,686 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 341 | cpp | #include<bits/stdc++.h>
using namespace std;
void searchh(int arr[],int n,int x)
{
for(int i=0;i<n;i++)
{
if(arr[i]==x)
{
cout<<i;
}
}
}
int main()
{
int n;
cout<<"enter the length of an array\n";
cin>>n;
int arr[n];
for(int i=0;i<n;i++)
{cin>>arr[i];
}
int x;
cout<<"enter the number that you want to search\n";
cin>>x;... | [
"noreply@github.com"
] | sakib1913.noreply@github.com |
d7c241c6830da6bab5705072ac66f06a8d0a254b | cc2fe9bd47f209b2543ce789ec2ff0101dd87539 | /src/core/ngn/window.hpp | ecfe7a320b2a85202f85f6fc49a9d8d0312f4278 | [] | no_license | TdroL/pr0 | 4de202bdbdfb6bebd07175fb7bb940c97b6dd7a0 | 5dea1835eb58112fd5dd9935b62d7ca334b10063 | refs/heads/master | 2021-01-15T11:43:36.480337 | 2016-02-04T19:11:37 | 2016-02-04T19:11:37 | 20,938,209 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 925 | hpp | #pragma once
#include "../event.hpp"
#include <string>
struct GLFWwindow;
namespace ngn
{
namespace window
{
/* #Events */
struct WindowResizeEvent : public event::Event<WindowResizeEvent>
{
const int width;
const int height;
WindowResizeEvent(int width, int height) : width{width}, height{height} {}
};
/* /E... | [
"stdrol@gmail.com"
] | stdrol@gmail.com |
d5c7eb7735d40b3789f10d15cbc525bac84b9a65 | 50040215471e72eec1fb7e8ed5cad87a5539e0e5 | /SR_FrameWork_20200330_RealRealFinal/Client/Codes/TeaCup.h | 5bdaa856c3748c910657df3baee2312c92a0e665 | [] | no_license | DeokgyuKim/Tycoon | 0ed71f9475d7243df7dec1eea5303a6d14aa7613 | b3b026c05c85b9482aa3d7f3c53d24470c526807 | refs/heads/main | 2023-08-15T22:25:01.668637 | 2021-10-11T00:04:06 | 2021-10-11T00:04:06 | 415,726,064 | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 1,199 | h | #pragma once
#ifndef __TEACUP_H__
#include "GameObject.h"
class CCustomer;
class CTeaCup :
public ENGINE::CGameObject
{
private:
explicit CTeaCup(LPDIRECT3DDEVICE9 pGraphicDev);
public:
virtual ~CTeaCup();
public:
void SetLeftSpin(bool bCheck) { m_bIsLeftSpin = bCheck; }
void SetRightSpin(bool bCheck) { m_bIsRi... | [
"kduck119@gmail.com"
] | kduck119@gmail.com |
f203be75c5eca1ac72167ac0a17d8904b9ad9edd | 7d71864bc2f2d16623be8ce1509b6959056d7663 | /Semana-08/projeto-001.ino | e227580e7d8bf6fb03f3290bee5d890c351ca807 | [] | no_license | Julio-CSilva/SMC-SistemasMicrocontrolados | 83a618db7a133cfbb3074c1e0e9554e1defc402a | 34763202d8e86717db56c9ce47cea9aaa34a7a1d | refs/heads/main | 2023-07-02T06:04:04.899604 | 2021-07-29T18:23:25 | 2021-07-29T18:23:25 | 379,408,073 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 993 | ino | #include <xc.h> //ARQUIVO .READER COM AS CONFIGURAÇÕES DO uC
#pragma config FOSC = INTIO67 //OSCILADOR INTERNO
#define _XTAL_FREQ 4000000 //SETTANDO FREQUENCIA 1MHz
void main(void) {
TRISD = 0; //CONFIGURANDO AS PORTAS D COMO SAIDA
OSCCONbits.IRCF = 0b110; // Configurar oscilador interno para 4MHz
ADC... | [
"juliocesardasilvafilho@hotmail.com"
] | juliocesardasilvafilho@hotmail.com |
b064b1d79df935a4900de7c5188b74aff2df60de | 9bf68f1900523d70faf24362bdf0b94ceb3b7748 | /cpp/tokyokaijou/A.cpp | 2bd9b42f7452f9c515e9ce1bf2a8c98c5d078198 | [] | no_license | uesugi6111/AtCoder-archives | 099652f3518ca810d402928d739de96b83f942cb | bf91db9b17d4bf9234401fab866288cd21238d85 | refs/heads/master | 2022-12-16T20:07:39.991622 | 2020-09-11T04:32:32 | 2020-09-11T04:32:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,691 | cpp | #pragma region Macros
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
#define int ll
using vi = vector<int>;
using vvi = vector<vi>;
#define REP(i, n) for (int i = 0, i##_len = (n); i < i##_len; ++i)
#define ALL(x) (x).begin(), (x).end()
#define SIZE(x) ((ll)(x).size())
#define MAX(x) *max_elemen... | [
"59960488+aburaya6111@users.noreply.github.com"
] | 59960488+aburaya6111@users.noreply.github.com |
3aa57618b6ae5816d9431f20830098d830b2cc55 | 7d349fac414430b60a8acf28d4807fc78c56e5fe | /NPC/2019/Pemanasan/b.cpp | 7f7dcb6d85ae3e0fbe78890c3a3794201b3f4d64 | [] | no_license | daspers/CP | 945f3eee1066ea59093a06072dddc3a397dd3b1f | 6e3f0427d697cb727fe3f55eb5adef5c01998510 | refs/heads/master | 2022-09-13T03:05:26.465309 | 2022-08-27T02:20:26 | 2022-08-27T02:20:26 | 99,011,358 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,187 | cpp | #include <bits/stdc++.h>
using namespace std;
#define fi first
#define se second
#define mp make_pair
#define pb push_back
#define INF 2000000000000000000LL
#define EPS 1e-9
#define debug(a) cerr<<#a<<"="<<(a)<<"\n"
#define FastSlowInput ios_base::sync_with_stdio(false); cin.tie(NULL);
typedef long long ll;
typedef ... | [
"buddy90_lost@yahoo.co.id"
] | buddy90_lost@yahoo.co.id |
7e117cc06c4a892273d0840a16fedf71edf25c7c | 01b863b766272b418bf387f0833f6a7f6bdd7fe0 | /src/models/textured_model.hpp | ca0a7ea444376ea0e8cf004adcdacac2826be085 | [] | no_license | dinokid101/thinmatrix-game-engine | 2d718b6ee2bb1500576210e38ddb6068cad9b7f1 | e0e6173202943433f926c5a3699c007397b67272 | refs/heads/master | 2020-03-27T06:17:06.858278 | 2016-03-16T10:41:38 | 2016-03-16T10:41:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 370 | hpp | #pragma once
#include "models/raw_model.hpp"
#include "textures/model_texture.hpp"
class TexturedModel {
public:
TexturedModel() = default;
TexturedModel(RawModel rawModel, ModelTexture modelTexture);
RawModel const& getRawModel() const;
ModelTexture const& getModelTexture() const;
private:
RawMo... | [
"wharvey@mymail.mines.edu"
] | wharvey@mymail.mines.edu |
7c8e7933b0f50a4ecbc001b965dd9df6d4a89b47 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5670465267826688_0/C++/Polygonian/c.cpp | 36ef4d6b888f1dfd996fc04a7b16f2a82aabbd39 | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 2,079 | cpp | #include <iostream>
#include <assert.h>
#include <limits.h>
#include <vector>
using namespace std;
char S[20000];
int A[20000];
int64_t L, X;
int map[] = {
1, 2, 3, 4,
2, -1, 4, -3,
3, -4, -1, 2,
4, 3, -2, -1
};
inline int next(const int a, const int b) {
// cout << "next(" << a << ", " << b << ") = ";
// if ... | [
"eewestman@gmail.com"
] | eewestman@gmail.com |
3475214fc8a5fced45007c959d6059246b32cad4 | 55fc8b0aa89f71efee1c88f085cda68eb616fc8a | /src/codegen.cpp | b7cf76336f41f9f677c3284ca6ed83718c6adab8 | [
"MIT"
] | permissive | doytsujin/ebpf-assembler | 540dad59081c6d044a05dc6a5a98f6178e1697dd | c7bf46df5f36c53ea9eb6aaaf69ea734a5377bc9 | refs/heads/master | 2023-07-14T14:15:51.410434 | 2021-08-22T09:23:03 | 2021-08-22T09:23:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 80,771 | cpp | /*
Generate object code or C macro preprocessors.
*/
#include <../headers/bpf_insn.h>
#include "codegen.h"
#define HEAD_CSTRUCT "static struct bpf_insn prog[1000000] = {\n"
#define HEAD_FST_CSTRUCT "static struct bpf_insn "
#define HEAD_SND_CSTRUCT "[1000000] = {\n"
#define TAIL_CSTRUCT "\n};\n"
#define MAX_INSNS 1... | [
"emilmasoumi@protonmail.com"
] | emilmasoumi@protonmail.com |
67d7d5d4d5e99d5fba3806bdf3e074a93fb9ce9a | fe5d44081787245e352f4b2a0e6a1415553db8f3 | /ysu/node/bootstrap/bootstrap_bulk_push.cpp | dfd453178990af7c275675c839f55b8ea198a57a | [
"BSD-3-Clause"
] | permissive | lik2129/ysu_coin | eadda56b049e011e36841b2717e7969d670d01b6 | 47e40ed5d4000fc59566099929bd08a9ae16a4c1 | refs/heads/master | 2022-12-26T20:26:41.050159 | 2020-09-30T04:45:43 | 2020-09-30T04:45:43 | 291,059,733 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,392 | cpp | #include <ysu/node/bootstrap/bootstrap_attempt.hpp>
#include <ysu/node/bootstrap/bootstrap_bulk_push.hpp>
#include <ysu/node/node.hpp>
#include <ysu/node/transport/tcp.hpp>
#include <boost/format.hpp>
ysu::bulk_push_client::bulk_push_client (std::shared_ptr<ysu::bootstrap_client> const & connection_a, std::shared_ptr... | [
"i5@f4x.ru"
] | i5@f4x.ru |
da2f646b462f63f745c85619b976cbffa951d68e | 8257dee52bed07e24e87c13ca90a1b275495a9c4 | /经典题型/39.cpp | 9143462d444661bd60ddfeb298980583bc8964a4 | [] | no_license | nxety/algorithm | a8a426c087279999a14b1da1ed0794c5c19e03e5 | 5943623326cad713cfe909f99e16abcdc23436b7 | refs/heads/master | 2021-08-23T21:22:34.047569 | 2017-12-06T16:14:31 | 2017-12-06T16:14:31 | 113,451,439 | 1 | 0 | null | 2017-12-07T13:01:40 | 2017-12-07T13:01:39 | null | UTF-8 | C++ | false | false | 1,466 | cpp | /*动态规划和递归_魔术索引
在数组A[0..n-1]中,有所谓的魔术索引,满足条件A[i]=i。给定一个不下降序列,元素值可能相同,编写一个方法,判断在数组A中是否存在魔术索引。
请思考一种复杂度优于o(n)的方法。
思路:事实上,看到A[5]=3时按照二分查找的做法,我们需要递归搜索右半部分。不过,如搜索左半部分, 我们可以跳过一些元素,
值递归搜索A[0]到A[3]的元素。A[3]是第一个可能成为魔术索引的元素。
综上:我们得到一种搜索模式,先比较midIndex和midValue是否相同。然后,若两者不同,则按如下方式递归搜索左半部分和右半部分。
左半部分:搜索索引从start到min(midIndex-1,midValu... | [
"fupengfei@yaochufa.com"
] | fupengfei@yaochufa.com |
b0044e4df2508e8c52e9d60f8d86294f524abd63 | 07198013b423b28d305e3730012ca9b4ff113430 | /TP4/LogReader.h | 87fbbf20cedbd370882b571251293859fdba6829 | [] | no_license | ghaliela/2019-POO-CPP2 | 6182d03b3a555090520cb33d99a4e1e0cb2b84f6 | 5e96a2ae847b9ceb25ba78cefa2c840c78d578a4 | refs/heads/master | 2020-12-12T12:52:14.909161 | 2020-01-15T17:04:54 | 2020-01-15T17:04:54 | 234,118,651 | 0 | 0 | null | 2020-01-15T16:05:12 | 2020-01-15T16:05:11 | null | UTF-8 | C++ | false | false | 2,227 | h | /*************************************************************************
LogReader - description
-------------------
début : 15/01/2020
copyright : (C) 2020 par Nicolas TROUIN & Ghali ElAlaoui ElAbdellaoui
e-mail ... | [
"nicolas.trouin@insa-lyon.fr"
] | nicolas.trouin@insa-lyon.fr |
5bf73dd6777c465f8702fb404fbdc14f20e085dd | 9bafb650f9081aa5b22a98018d8c264bab707f32 | /Source/Core/Managers/SoundManager/AudioEvents.cpp | eadc4e31e12498ea180251f594ed05bb928d4844 | [] | no_license | TeamSinergy/SinEngine | c812a70a298688025147e8b60d31a5f62b27e53e | f70fd8c30c44247976622a4016c82b77a738aa49 | refs/heads/master | 2016-09-03T07:13:31.879581 | 2015-09-02T07:25:34 | 2015-09-02T07:25:34 | 32,570,884 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,056 | cpp | /*****************************************************************************/
/*!
\file AudioEvents.cpp
\author Deepak Chennakkadan
\par Course: GAM200
\par All content 2014 DigiPen (USA) Corporation, all rights reserved.
\brief Creates the infrastructure for the Audio Events
*/
/****************************... | [
"Filiecs2@gmail.com"
] | Filiecs2@gmail.com |
5f5b5e9520de0831c2834171b1482c77fbb50b43 | 4265f9ead043ead518929a80797664ced14af5b2 | /src/solo/lua/SoloLuaScriptLibrary.cpp | 12c511569a8312c05730d20cb96dafbf3d8bf2c2 | [
"Zlib"
] | permissive | DingYong4223/solo | d9bdbbfe63425958e7974eb612cb1658019501d0 | 9da1ad9c53083fe1f889ec724e4d6583189baf1e | refs/heads/master | 2021-01-09T15:48:36.467994 | 2020-01-19T10:11:35 | 2020-01-19T10:11:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 59 | cpp | /*
* Copyright (c) Aleksey Fedotov
* MIT license
*/
| [
"aleksey.fedotov@gmail.com"
] | aleksey.fedotov@gmail.com |
97defa639703affd2470bdf1b5a3a1e1a9847c09 | eaf9a6d5047cfdc7d3243271db8ebd2ff5952eee | /src/TIVarTypes.cpp | b9623c7c7c759e7cfd129d6ecba03ceecef20577 | [
"MIT"
] | permissive | jacobly0/tivars_lib_cpp | 3c307b66527253faed1fa56261cf11d510adb69a | 66c9e4acfe7ae0b1d6679d711e19f1b11e94433b | refs/heads/master | 2021-05-11T10:48:53.447991 | 2018-03-24T13:36:50 | 2018-03-24T13:36:50 | 118,111,820 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,395 | cpp | /*
* Part of tivars_lib_cpp
* (C) 2015-2018 Adrien "Adriweb" Bertrand
* https://github.com/adriweb/tivars_lib_cpp
* License: MIT
*/
#include "TIVarTypes.h"
#include "utils.h"
using namespace std;
namespace tivars
{
unordered_map<string, TIVarType> types;
/**
* Make and insert the associative arr... | [
"bertrand.adrien@gmail.com"
] | bertrand.adrien@gmail.com |
630bfe554ab7171ac28fa6c700acd9a196fea3b4 | c68d12a1c69123b3d405ba099ca4ab0704e0bb42 | /main.cpp | e44dee578ffa145a400e73625377644d5ef2e699 | [] | no_license | asadbekahmadjanov/untitled1 | b47276f920a3f29fb300806521ec69f8c066021a | f07dad0e74b8ae96e20eb3abf6151ca3096e6770 | refs/heads/master | 2023-08-05T10:15:07.020148 | 2021-09-09T19:02:08 | 2021-09-09T19:02:08 | 404,838,879 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,513 | cpp | /
#include <iostream>
using namespace std;
int main() {
int oper;
cout << "\t\t*** Sayoxat***\n\n";
cout << "Qaysi mashinada sayoxatga borasi ? " << endl;
cout << "1---> Mersedes G63 :\n";
cout << "2---> BMW X7 :\n";
cout << "3---> Rolls Royce phanton:\n";
cout << "4---> Gentra :\n";
c... | [
"mac@Macbook-pro.local"
] | mac@Macbook-pro.local |
5660f2ef7b9b08d3eb46a628c00f5a2024c05888 | 6c77cf237697f252d48b287ae60ccf61b3220044 | /aws-cpp-sdk-mediaconvert/source/model/HlsCaptionLanguageSetting.cpp | a7bea0967c3c58b580b27b500d122fc0c911dd0e | [
"MIT",
"Apache-2.0",
"JSON"
] | permissive | Gohan/aws-sdk-cpp | 9a9672de05a96b89d82180a217ccb280537b9e8e | 51aa785289d9a76ac27f026d169ddf71ec2d0686 | refs/heads/master | 2020-03-26T18:48:43.043121 | 2018-11-09T08:44:41 | 2018-11-09T08:44:41 | 145,232,234 | 1 | 0 | Apache-2.0 | 2018-08-30T13:42:27 | 2018-08-18T15:42:39 | C++ | UTF-8 | C++ | false | false | 2,815 | cpp | /*
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | [
"henso@amazon.com"
] | henso@amazon.com |
dbbb21ed8886567ed0871d3e8dea083ee2c6ae2a | 58a70d809b9cd9676ea5e1746c68533f3e3c7750 | /src/C_lineFighter_Server/lineFighter/CFormatUnit.h | 2a6c20feae5182d732073f9997a6f0bfa8daaec4 | [] | no_license | liodo198592/linefighter | 3b66fa265d6c47e3a228285fd88dba8bceb7d22f | 54ff8b0e4b30da622c6eceab08bf44b306207a16 | refs/heads/master | 2020-04-11T06:16:45.337075 | 2018-12-13T03:08:47 | 2018-12-13T03:08:47 | 161,576,563 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,114 | h | #ifndef _CFormatUnit_H_
#define _CFormatUnit_H_
#ifdef LF_COCOS
#include "global_cocos.h"
#else
#include "global.h"
#endif
#define ATTACKED 1
#define MISSED 0
enum EUnitType
{
EUnitType_ATTACK = 0,
EUnitType_Move,
EUnitType_Miss,
};
class CFormatUnit
{
public:
CFormatUnit(){}
~CFormatUnit(){}
virtual void se... | [
"hrj_zhouyu@163.com"
] | hrj_zhouyu@163.com |
4e7e8cab82cf8b933635f7a23d4f2917e83070c4 | 573a66e4f4753cc0f145de8d60340b4dd6206607 | /JS-CS-Detection-byExample/Dataset (ALERT 5 GB)/358137/3.01/pwsafe-3.01-src/PasskeyEntry.cpp | 90b0aff10d417017d270e47288845ee7b0fb970c | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0",
"Artistic-1.0-Perl",
"Artistic-2.0"
] | permissive | mkaouer/Code-Smells-Detection-in-JavaScript | 3919ec0d445637a7f7c5f570c724082d42248e1b | 7130351703e19347884f95ce6d6ab1fb4f5cfbff | refs/heads/master | 2023-03-09T18:04:26.971934 | 2022-03-23T22:04:28 | 2022-03-23T22:04:28 | 73,915,037 | 8 | 3 | null | 2023-02-28T23:00:07 | 2016-11-16T11:47:44 | null | UTF-8 | C++ | false | false | 7,569 | cpp | /// \file PasskeyEntry.cpp
//-----------------------------------------------------------------------------
/*
Passkey? That's Russian for 'pass'. You know, passkey
down the streetsky. [Groucho Marx]
*/
#include "PasswordSafe.h"
#include "corelib/PwsPlatform.h"
#include "ThisMfcApp.h"
#if defined(POCKET_PC)
... | [
"mmkaouer@umich.edu"
] | mmkaouer@umich.edu |
38fb51b1152a1a2d80f84783beada3be6a69a9a5 | 1dd9e3216ce0090a151ca166950a1d1108f68312 | /metodosimpson.cpp | acc78a6cc5deef4b7acbf3c60da3b5a19abf8781 | [] | no_license | ffakenz/FinalPC | cf9df2f8c7c5efd1a447f8877343f85599ddeff3 | d583a5a8a92e877a5d488b0062dd92d4ac2362b4 | refs/heads/master | 2021-01-19T02:31:45.791098 | 2016-07-04T06:41:49 | 2016-07-04T06:41:49 | 62,478,839 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,779 | cpp | #include "metodosimpson.h"
MetodoSimpson::MetodoSimpson(QString nombre, double limiteInf, double limiteSup, int pasos, int threads,
AbstractFuncion * funcion){
this->nombre = nombre;
this->limiteInf = limiteInf;
this->limiteSup = limiteSup;
this->pasos = pasos;
this->threads = thre... | [
"noreply@github.com"
] | ffakenz.noreply@github.com |
8c9949b846f2654c2038bee5e0cd2cfb11efbf09 | 03fbee85353965c9ebb6441a512f3ba653faedba | /Sort/RankSort_MPI.cpp | b2f347e292bff00de6e1889007d7b63431e10f09 | [] | no_license | JP6907/Algorithm_CPP | 18b726cafbb506d0817364a17e0b8a94612dab3e | 0b4e90aa9851edc3cbef5f431894fc4e47d45555 | refs/heads/master | 2020-04-09T22:40:25.447110 | 2018-12-27T10:49:29 | 2018-12-27T10:49:29 | 160,635,401 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,586 | cpp | //
// Created by zjp on 18-12-20.
//
/**
* 秩排序并行化算法
* MPI
* mpicxx Sort/RankSort_MPI.cpp Tools/Tools.cpp -o RankSort
*/
/**
* 10000个数排序
* 进程数 时间
* 串行 0.576405
* 1 0.558153
* 2 0.282846
* 3 0.19277
* 4 0.147336
* 5 0.236314
* 6 0.203379
*/
#include "../Tools/Tools.h"
#include <i... | [
"="
] | = |
b7aaa054396355d71b337b7f038f74d52f72df49 | 926d8bd43564ade68aa855c3525a60d6cbb31929 | /Connect4/Connect4/Tree.h | ab5d8c8f2bdfcc68a289ab5f05ad91db0df5bb28 | [] | no_license | brandonbsanchez/CPP_Projects | f6589e42be05ef34518cba47197d367bd8928df1 | 03de5c337035b17fef03d9203b7409073a67acef | refs/heads/master | 2022-11-09T10:29:47.325325 | 2020-06-20T17:29:31 | 2020-06-20T17:29:31 | 273,751,507 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 574 | h | #ifndef TREE_H
#define TREE_H
#include "Node.h"
#include <iostream>
using namespace std;
class Tree {
private:
Node* root;
Node* newNode(int);
Node* addNode(pair<string,Record>, Node*&);
Node* rightRight(Node*);
Node* rightLeft(Node*);
Node* leftLeft(Node*);
Node* leftRight(Node*);
int... | [
"brandonbensanchez@gmail.com"
] | brandonbensanchez@gmail.com |
db277df46c97b55f2f7703ca949016c9b8d22a28 | 49849fae4f5df98c121109ab281bb794d4015ee6 | /Program/AR/Il2CppOutputProject/Source/il2cppOutput/GenericMethods3.cpp | 3ffd0e7be4f1d07b5af6c559585267f3307d7cb2 | [] | no_license | bondchen57/Program | 97191debd5d6a4840b8cbe2b6ffdadaf61c868d0 | 12b1bb09d059d3f3390f344684092ee19d89dc0d | refs/heads/master | 2023-07-29T21:19:32.553068 | 2021-09-28T00:41:44 | 2021-09-28T00:41:44 | 410,146,417 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,055,512 | cpp | #include "pch-cpp.hpp"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <stdint.h>
#include <limits>
template <typename R>
struct VirtFuncInvoker0
{
typedef R (*Func)(void*, const RuntimeMethod*);
static inline R Invoke (Il2CppMethodSlot slot, RuntimeObject* obj)
{
const Virt... | [
"molanchn@yahoo.com.tw"
] | molanchn@yahoo.com.tw |
abac23ad449b9aa57d1890b420efc9a04d81ead4 | cecfda84e25466259d3ef091953c3ac7b44dc1fc | /UVa Online Judge/volume127/12783 Weak Links/program.cpp | 516527d0315735f95508722681c13a65d35f3466 | [] | no_license | metaphysis/Code | 8e3c3610484a8b5ca0bb116bc499a064dda55966 | d144f4026872aae45b38562457464497728ae0d6 | refs/heads/master | 2023-07-26T12:44:21.932839 | 2023-07-12T13:39:41 | 2023-07-12T13:39:41 | 53,327,611 | 231 | 57 | null | null | null | null | UTF-8 | C++ | false | false | 1,805 | cpp | // Weak Links
// UVa ID: 12783
// Verdict: Accepted
// Submission Date: 2023-03-25
// UVa Run Time: 0.160s
//
// 版权所有(C)2023,邱秋。metaphysis # yeah dot net
#include <bits/stdc++.h>
using namespace std;
const int MAXV = 2010;
struct edge {
int start, end;
bool operator<(const edge &x) const {
if (start... | [
"metaphysis@yeah.net"
] | metaphysis@yeah.net |
ab1c94638c38b037623f6643c55ed47128bfd6fe | a3ae0e4c11ee8ab7a4b16121c81f97b0dd743a34 | /app/sequence/Classes/zookeeper_helper.cpp | 38f7be64e8266f816e874b6247a7a38909c2bfc3 | [] | no_license | humphery755/DevTools | 023669b1072f37580de87afa5cc5a0b12e2cde47 | 366503d518f16ccafefbabe0bc748b40379b1225 | refs/heads/master | 2021-01-25T13:05:57.021260 | 2018-05-31T07:33:31 | 2018-05-31T07:33:31 | 123,527,604 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 28,814 | cpp | #include <sys/select.h>
#include <errno.h>
#include <string.h>
#include <arpa/inet.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <unistd.h>
#include <algorithm>
#include <uuid/uuid.h>
#include <glog/logging.h>
#include "zookeeper_helper.h"
static int create_node(struct ZookeeperHelper *zk_helper, char *... | [
"humphery.yu@gmail.com"
] | humphery.yu@gmail.com |
572365b91c98ea5adca14afd1cfc03d69d8e02cb | 3ef9dbe0dd6b8161b75950f682ec2fc24f79a90e | /CF_CR645_div2/c.cpp | 1f0a7bbbae73aefd19b683e79aa7b74b0dc14001 | [
"MIT"
] | permissive | JackBai0914/Competitive-Programming-Codebase | abc0cb911e5f6b32d1bd14416f9eb398b7c65bb9 | a1cabf0fa5072b07a7da25d66bf455eb45b0b7e9 | refs/heads/main | 2023-03-29T14:17:36.190798 | 2021-04-14T23:15:12 | 2021-04-14T23:15:12 | 358,065,977 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 667 | cpp | #include <iostream>
#include <algorithm>
#include <cstdio>
#include <cstdlib>
#include <cmath>
#include <cstring>
#include <ctime>
#include <vector>
#include <queue>
#include <stack>
#include <map>
using namespace std;
#define F first
#define S second
#define MP make_pair
typedef long long ll;
typedef long double ld;
t... | [
"xingjianbai0914@sina.com"
] | xingjianbai0914@sina.com |
5f30e899257a450b8e81286ac24dcbb3858bd101 | ae18cc05f95654385fb79be0567dfdfaa7032488 | /include/graph/algorithm/shortest_paths.hpp | ae1ab930f5d2aeaf28ccda912ba475f572ecdf55 | [
"BSL-1.0"
] | permissive | pratzl/graph | 9e32beda8a4ee2819c1c43b5fd560b02511be0d1 | 6d77c8578ce816f5a7e80ade7b37cb10e26e3bec | refs/heads/master | 2022-03-07T01:48:46.758344 | 2022-03-02T22:31:51 | 2022-03-02T22:31:51 | 221,360,997 | 22 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 26,573 | hpp | //
// Author: Phil Ratzloff
//
// inspired by dijkstra & bfs_edge_range2 from BGL17
//
// Shortest Paths and Shortest Distances algorithms using Dijkstra & Bellman-Ford algorithms
// for a single source vertex.
//
// The algorithms are designed to work with both directed & undirected graphs
// by using general function... | [
"pratzl@outlook.com"
] | pratzl@outlook.com |
ad29d7c1f548c6eae8855312f68cf17d92479dfe | dddb4dedf5fc2101880580714ce6e2ef2dc6090c | /lib/TGMTcpp/src/TGMTtesseract.h | 8d39072a9585e38c10359ee99d87639903703f4e | [] | no_license | thigiacmaytinh/TextReader | 7cb08b68f62154b287157d982faab4b9622ddf52 | a9efd9c706206b4584fdbdc9e1e2957eb5102fc7 | refs/heads/master | 2020-03-31T19:55:27.967579 | 2019-02-25T02:21:29 | 2019-02-25T02:21:29 | 152,518,364 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 701 | h | #pragma once
#include "stdafx.h"
#include <allheaders.h> // leptonica main header for image io
#include <baseapi.h> // tesseract main header
#define GetTGMTtesseract TGMTtesseract::GetInstance
class TGMTtesseract
{
static TGMTtesseract* instance;
std::string m_lang = "eng";
tesseract::TessBaseAPI m_tesseract;
s... | [
"vohungvi@vohungvi.com"
] | vohungvi@vohungvi.com |
bf3321a9319a1edd1fbc4fa12448f62cc9d4235a | 8e9156b3546fb77b67cdf8901279f99872ed9849 | /src/solution.cpp | 3a224b0bf28811e377c2c3ef096a632fe6278a54 | [] | no_license | SadDwarf/calculator | 923d8ae81895a9bb15efa1350a1159d61a6cc336 | 651f89ac69d698127e5ac8d694575ef0e8b772a4 | refs/heads/main | 2023-05-07T19:48:44.825862 | 2021-06-04T22:20:59 | 2021-06-04T22:20:59 | 373,965,594 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,533 | cpp | #include "solution.hpp"
#include <algorithm>
#include <cctype>
#include <stdexcept>
#include <stack>
#include <cmath>
#include <unordered_map>
#include <unordered_set>
namespace solution {
namespace {
const std::unordered_set<char> kNumberSeparators{',', '.'};
// token types allowed in the beginning of expression
... | [
"laidegor@gmail.com"
] | laidegor@gmail.com |
7edf7cd411ebcfaf33a14274b7ef3e0581dbb7b5 | 257801593cb25112a5eacd531ca0e2040ef02142 | /term2/motion_planning/prediction/naive_bayes/classifier.cpp | ff1d887cdde933281d3a88d22c33a7528ad5aa88 | [] | no_license | shawntao9/CarND | 0515027b761359d8481f95ab03e397ee9f94de19 | cca1684790647c09c3354acb5b42f4c9383725f3 | refs/heads/master | 2022-12-26T21:20:45.801557 | 2020-10-08T12:34:02 | 2020-10-08T12:34:02 | 274,258,623 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,662 | cpp | #include <iostream>
#include <sstream>
#include <fstream>
#include <math.h>
#include <vector>
#include "classifier.h"
using Eigen::ArrayXd;
/**
* Initializes GNB
*/
GNB::GNB() {
left_means = ArrayXd(4);
left_means << 0, 0, 0, 0;
left_sds = ArrayXd(4);
left_sds << 0, 0, 0, 0;
left_prior = 0;
keep_means = Arr... | [
"xiangyutao@yahoo.com"
] | xiangyutao@yahoo.com |
0f2df505346c019b1568294b15a65a48f4aa94be | fab260c53a14e94b736ef554ae5815ceee8677c0 | /ledcube_4x4x4/ledcube_4x4x4.ino | e362ef85ada0b2b79f1bb39edbf09115d4ab72a3 | [] | no_license | lelenabey/4x4x4_led_cube | da6c7b676cd418eedc85b1eed1b2ee6cb222dd0d | 7d5f46d536ba5f76f63db72edb67067ff06e5b12 | refs/heads/master | 2021-06-28T04:51:05.895863 | 2017-09-14T18:56:16 | 2017-09-14T18:56:16 | 103,570,009 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,509 | ino | /*Blue LED Cube 4x4x4
**
** Written: Paden Hogeland
**
*/
// Initalize our LED columns (positive)
int LEDPin[] = {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15};
// Initalize the LED layers (ground)
int LayerPin[] = {16,17,18,19};
int count = 0;
int timer = 0,
leadA,f1,f2,f3 = 0,
leadB,f1B,f2B,f3B;
int laps... | [
"lelenabey@gmail.com"
] | lelenabey@gmail.com |
8bd7a6bed9d1772f76bf53f6b32f01f0f29abafa | 5b4613175235957af30f4982b26f58ca7e0d126e | /source/TouhouDanmakufu/Common/StgPackageScript.cpp | 9200565149eaa66bf4dd513b8e21e20acadba9a4 | [] | no_license | illusion-star/Touhou-Danmakufu-ph3sx-2 | b6b8596a6fa15a98768239d1ec5ae4f537f2de60 | 3a0f5329aae41f9191ec28c67191882ea303f24f | refs/heads/master | 2023-08-01T18:04:09.349811 | 2021-10-05T03:12:03 | 2021-10-05T03:12:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,642 | cpp | #include "source/GcLib/pch.h"
#include "StgPackageScript.hpp"
#include "StgSystem.hpp"
#include "StgPackageController.hpp"
//*******************************************************************
//StgPackageScriptManager
//*******************************************************************
StgPackageScriptManager::StgP... | [
"32347635+Natashi@users.noreply.github.com"
] | 32347635+Natashi@users.noreply.github.com |
c3438253f60f7c9a06d42ef7594672b4f9e3d7c4 | daa61d00b7601f61a7e3b36609b20091c99c899b | /CS570/a1/FileHelper.h | a0885ca6ab0bc523ca1245f136f15a5ff8405a7c | [] | no_license | polohero/SDSUClasswork | 00bb88227c36d97d54137da99a640743c185a406 | 6baa7b2cf4ce207ca602bf5162daef31b42260b3 | refs/heads/master | 2021-06-20T07:00:03.033163 | 2021-01-19T22:01:51 | 2021-01-19T22:01:51 | 161,881,584 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 518 | h | #ifndef FILEHELPER_H
#define FILEHELPER_H
#include <string>
/**
* A single lock is a locking object that will only allow
* a single thread to go through a section of code.
*/
class FileHelper
{
public:
/**
* Writes a single line in a file.
*/
static bool WriteLine(std::string fileName, std::string tex... | [
"noreply@github.com"
] | polohero.noreply@github.com |
8d0d703f286ef320896c714e4a1ee883a80e85d0 | 504ec4f6d0337997443071b89281fd60c2ffc44f | /variables.h | 65afedcb85b03a850077769db5054fb1be665f64 | [] | no_license | pushkar/peer_analytics_c | 92f973fd9f896afdbea39736b0684701a057377e | bbfcf0114ea3c08e4ec30795cfeb1873a8b31770 | refs/heads/master | 2021-01-25T07:19:42.698796 | 2015-09-16T05:47:22 | 2015-09-16T05:47:22 | 38,299,742 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,752 | h | #ifndef _VARIABLES_H_
#define _VARIABLES_H_
#include <iostream>
#include <cstdarg>
#include <random>
#include <string>
std::random_device rd;
std::mt19937 gen(rd());
float random_(int min, int max) {
std::uniform_real_distribution<> d(min, max);
return d(gen);
}
class Chain {
protected:
std::vector<dou... | [
"pushkarkolhe@gmail.com"
] | pushkarkolhe@gmail.com |
8bf138dd96acb2cf1a9eca9cb711b6e6e1b6920b | 63a5baed621ad6b8a95436dcbb2a3771cfea303f | /LABS/LAB5/LinkeMap.cpp | 64a3fa35a66d78f6bb675a0082266217b0ec5a77 | [] | no_license | ew0s/ITMO_Algorithms1 | b9ed21e51fc5971bdd081d1dfac13aa1dc7e0680 | cd5ecb4d3527db72ee44fdec4fd9db345c5cb55d | refs/heads/master | 2021-02-15T09:36:47.724218 | 2020-03-31T21:52:52 | 2020-03-31T21:52:52 | 244,886,294 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 4,293 | cpp | #include <iostream>
#define mod 1000000
using namespace std;
struct hash_table {
hash_table* prev = nullptr;
hash_table* prev_key = nullptr;
string key;
string value;
hash_table* next = nullptr;
hash_table* next_key = nullptr;
};
hash_table* arr[mod];
hash_table* make_hash(string& key, string... | [
"Fomesare1"
] | Fomesare1 |
ec6fc240b6ba2b514de00de9793b6a117a3675bd | 4929a4c80254a6b2541ecb81faae1ceea3c410ed | /music/MusicTool.cpp | 547e94e5719e2b7a284452bb4ebe4a6f2a81e915 | [] | no_license | hvennekate/calligra-plugin | abfe4ba260fab7a68b627054aa49c6ae33068c2d | 338f1c9423cc1e55d4f065229609775421216b89 | refs/heads/master | 2021-01-19T17:38:14.376759 | 2017-04-15T09:37:45 | 2017-04-15T09:37:45 | 88,338,039 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,614 | cpp | #include <QPainter>
#include <ktabwidget.h>
#include <kdebug.h>
#include <klocale.h>
#include <KoCanvasBase.h>
#include <KoSelection.h>
#include "MyShape.h"
#include "MyTool.h"
#include <MyTool.moc>
#include "dialogs/PartsWidget.h"
MyTool::MyTool( KoCanvasBase* canvas )
: KoToolBase( canvas ),
m_musicsh... | [
"HVennekate@gmx.de"
] | HVennekate@gmx.de |
aa01fa0142a7d9066275883a7880ec3db2753610 | dde7172ce73eceadd86afebf885e8700b0f49d4b | /Arduino_nano_codes_Fishbot/sine_array/sine_array.ino | 8fce0aaf86512b070f8db3883ee5c47f36c2330a | [
"MIT"
] | permissive | eYSIP-2018/FishBot | 957a4f001c7917d10e3bf9e1dfa393f3ab4b6fab | 8b05e39a25ca9b1c78d7c581adc03488ab660671 | refs/heads/master | 2020-03-18T04:54:18.598268 | 2019-05-07T03:07:19 | 2019-05-07T03:07:19 | 134,312,672 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,770 | ino | #include <Servo.h>
#include <SPI.h>
#include <nRF24L01.h>
#include <RF24.h>
#define led 13
Servo servo1;
Servo servo2;
Servo servo3;
Servo servo4;
RF24 radio(9, 10); // CE, CSN
unsigned char cnt=0;
const byte address[6] = "00001"; //5 Byte address of nrf device
char dataReceived; // this must match dataToSend in th... | [
"shedekarhrishi@gmail.com"
] | shedekarhrishi@gmail.com |
61470e7f3ee715f853123cdfe257119f300bcaeb | 395f5870ba1a3d428a3294cf166d63891b3346e0 | /robot2005/src/devices/base/alim.cpp | 911849d39be7aeea3aa91569bc9f09046d8653cc | [] | no_license | BackupTheBerlios/robotm6 | 08a57f8cbb9100734c85ef0e444260f16e7efa6f | dc26ad2d1f3575c016c6c9104bd49ec6fb4d812d | refs/heads/master | 2021-01-01T19:25:40.673078 | 2005-06-03T21:18:04 | 2005-06-03T21:18:04 | 39,962,329 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 192 | cpp | #include "devices/alim.h"
AlimCL* AlimCL::alim_=NULL;
AlimCL::AlimCL(): RobotDeviceCL("Alim", CLASS_ALIM) {
assert(!alim_);
alim_ = this;
}
AlimCL::~AlimCL()
{
alim_ = NULL;
}
| [
"m_les_ronces"
] | m_les_ronces |
d321a4bee24c12221de2ee30a3108c03e942eaf3 | 4051dc0d87d36c889aefb2864ebe32cd21e9d949 | /practice/sdvs.cpp | 112ffc7a7ae65bd64f0facd495fa8d82ac7270be | [] | no_license | adityax10/ProgrammingCodes | e239971db7f3c4de9f2b060434a073932925ba4d | 8c9bb45e1a2a82f76b66f375607c65037343dcd9 | refs/heads/master | 2021-01-22T22:53:01.382230 | 2014-11-07T10:35:00 | 2014-11-07T10:35:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 250 | cpp | #include <iostream>
using namespace std;
struct cppstruct
{
static int x;
int data;
int key;
int fx()
{
return 0;
}
};
const int x = 9;
int main()
{
cout<<main<<endl;
cppstruct x ;
cout<<x.x<<endl;
return 0;
}
| [
"androidaditya@gmail.com"
] | androidaditya@gmail.com |
24f0b71fee8ab3e99860568b81a03913ec5ebb80 | 6cab45b2c3b42e652c7dd37faeb140d5d3fb5bfd | /chara.hpp | 25742b52d300c80e6acac666185600762a158f2f | [] | no_license | dongdangdeng/breakout | 4a8c209d49bacd4a0261597775ed1abbb6ebf65f | 1d55dad7120c933cb04f7cea951e44b6f69f9a64 | refs/heads/master | 2021-07-18T00:57:21.854906 | 2017-10-16T05:45:04 | 2017-10-16T05:45:04 | 106,518,890 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 1,511 | hpp | #ifndef CHARA_HPP
#define CHARA_HPP
#include <memory>
/*
キャラクターの基底クラス
抽象クラスなので必ず派生クラスで使うこと
*/
enum ChrType { TYPE_NONE, TYPE_SHOT, TYPE_PLAYER, TYPE_ENEMY, TYPE_NUM };
class Chr;
typedef std::shared_ptr<Chr> ChrRef;
class Chr {
bool remove_flag;
protected:
int x, y; //キャラクタの座標
int width, height; //キャラクタのサイ... | [
"m.kenta0928@gmail.com"
] | m.kenta0928@gmail.com |
154c598722bded30a425123c9a980f0b3e4ec9e6 | 1012c377bbffcdb71bd0c85418b707a1af3a4f1e | /Lecture08/IntArray.h | a59643f216cff8bc4a651f9badb85f22e598e860 | [
"MIT"
] | permissive | jamesmtuck/ncstate-ece309-examples-fall2018 | 6f9ef68be98c82567631029472b73e66dff29f1d | 33e7412865b0f6d5fc77a70d06e0b92f0e1de33c | refs/heads/master | 2020-03-25T21:08:38.646198 | 2018-12-13T21:31:16 | 2018-12-13T21:31:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 371 | h | #ifndef INTARRAY_H
#define INTARRAY_H
#include <stdio.h>
class IntArray {
private:
int *array;
int length;
public:
IntArray(int le, int val=0):length(le) {
array = new int[le];
for(int i=0; i<le; i++)
array[i] = val;
}
~IntArray() { delete [] array; }
int get(int index) {
... | [
"jtuck@ncsu.edu"
] | jtuck@ncsu.edu |
828ce93fdbb09d1257c3f862c0ecad1e3e23c129 | 1b40483ba115fa42c9fea0412ac892a912890828 | /DisplayImage.cpp | fb5906ad27f06582f8bd5057d4f515beff696563 | [] | no_license | sinfcnscha/test | dd85fc944f5d07c1a080fa401541a7da2b212928 | a66a8bb709f92e845797d41eb93cf9cb532337e4 | refs/heads/master | 2016-09-05T23:18:28.135649 | 2013-12-16T20:16:50 | 2013-12-16T20:16:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 502 | cpp | #include <stdio.h>
#include <opencv2/imgproc/imgproc.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <opencv2/core/core.hpp>
using namespace cv;
int main( int argc, char** argv)
{
Mat image;
VideoCapture cap = VideoCapture(0);
/*
image = imread( argv[1], 1);
if(argc != 2 || !image.data)
{
//printf( "No ... | [
"schauer@inf-schauer.de"
] | schauer@inf-schauer.de |
954c0eaf69e31a5875790c518917d88ab460f710 | 16c25858ef1e5f29f653580d4aacda69a50c3244 | /hikr/build/Android/Preview/app/src/main/include/Fuse.Elements.Viewport.h | 75628bd08da4354ef5793052646e3f5ca0d87fd1 | [] | no_license | PoliGomes/tutorialfuse | 69c32ff34ba9236bc3e84e99e00eb116d6f16422 | 0b7fadfe857fed568a5c2899d176acf45249d2b8 | refs/heads/master | 2021-08-16T02:50:08.993542 | 2017-11-18T22:04:56 | 2017-11-18T22:04:56 | 111,242,469 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,890 | h | // This file was generated based on /usr/local/share/uno/Packages/Fuse.Controls/1.2.1/$.uno.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Fuse.Animations.IResize.h>
#include <Fuse.Binding.h>
#include <Fuse.Elements.Element.h>
#include <Fuse.IActualPlacement.h>
#include <Fuse... | [
"poliana.ph@gmail.com"
] | poliana.ph@gmail.com |
403806edf7baac52811b4b4e2901afd2472c0ff1 | b85028b25d860c378f13efc0ed1f8dbda51039d0 | /source/uwp/Renderer/lib/AdaptiveImageSizesConfig.h | d63b656119b4a1c569ea7965ddb773f713e01dc3 | [
"MIT"
] | permissive | danmarshall/AdaptiveCards | ca2689bb21b6e582be61064af10d6948cfe59caf | d8c46aaf978d4ccbfb6fbdf90756d89192fd243d | refs/heads/master | 2019-07-12T00:56:18.984998 | 2017-11-30T00:01:45 | 2017-11-30T00:01:45 | 90,673,769 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,154 | h | #pragma once
#include "AdaptiveCards.Rendering.Uwp.h"
#include "Enums.h"
#include "HostConfig.h"
namespace AdaptiveCards { namespace Rendering { namespace Uwp
{
class AdaptiveImageSizesConfig :
public Microsoft::WRL::RuntimeClass<
Microsoft::WRL::RuntimeClassFlags<Microsoft::WRL::RuntimeClass... | [
"noreply@github.com"
] | danmarshall.noreply@github.com |
f547ddfceb592a55687f37f433a813f6eca23d6a | f827c73819f5c3d0115759cb538e22feb16ef6f0 | /src/util.h | 5a99523a48b0d1d9d44cdd23bab9de1e2c1a8eab | [] | no_license | fgd4dajkg/Hellas | 88b9db4bc031e210532fe6e9f7a0967d515981cd | acabfb7c2ef65b079ad3194ae8e01091274f3107 | refs/heads/master | 2023-08-27T22:37:20.516660 | 2021-11-01T17:07:17 | 2021-11-01T17:07:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,438 | h | #ifndef UTIL_H
#define UTIL_H
#include <cstdlib>
#include <set>
#include <sstream>
#include <vector>
#include "Color.h"
#include "Point.h"
#include "Rect.h"
#include "combatTypes.h"
#include "messageCodes.h"
const double PI = 3.1415926535897;
const double SQRT_2 = 1.4142135623731;
bool isDebug();
inline int toInt(... | [
"timgurto@gmail.com"
] | timgurto@gmail.com |
cb5a56acae4beb67172be28e67a343a13a48c899 | 6fa38495bd2f20492d35ac3e2777395c91d2d0ed | /emotional_system/theatre_bot/src/Parsers/ParserAction.h | ab04968d5cb9503c0d347d654f453729e3599993 | [] | no_license | stefankurz1/pepper_emotion | e32ee3d1c401fd3bc23bcbd57efcc796372f3131 | dd9cfc134480fa1a23b1baa1f9f61bf63d7af828 | refs/heads/master | 2020-12-02T21:00:56.396287 | 2017-07-04T18:53:23 | 2017-07-04T18:53:23 | 96,239,593 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,169 | h | /*
* ParserAction.h
*
* Created on: Dec 10, 2014
* Author: julian
*
* This class parser an action from a string written in JSON
*/
#ifndef SRC_PARSERS_PARSERACTION_H_
#define SRC_PARSERS_PARSERACTION_H_
#include "../json/json/json.h"
//To verify the actions parameters
#include "../ActionDescription... | [
"skurz12@gmx.at"
] | skurz12@gmx.at |
973ad60fa69dc8c39fe361d51675e825b37c5e51 | 47110a195995bd1a88e3c70e9f87252541ca0200 | /src/AppInstallerCLICore/COMContext.cpp | b581ea49efa2e556616200db19284f10046c6c8e | [
"LicenseRef-scancode-generic-cla",
"BSD-3-Clause",
"MIT",
"BSL-1.0",
"Apache-2.0",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause",
"LGPL-2.1-or-later"
] | permissive | fzanollo/winget-cli | 2ccbd9c0ea810137707310ac28dc5e564497ad7d | 57be9d49eda3c2b96e9d4b14fffda4712d562094 | refs/heads/master | 2023-08-27T02:58:14.540556 | 2021-08-03T18:14:55 | 2021-08-03T18:14:55 | 371,502,063 | 1 | 0 | MIT | 2021-08-06T18:40:25 | 2021-05-27T20:56:36 | C++ | UTF-8 | C++ | false | false | 2,024 | cpp | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
#include "pch.h"
#include "COMContext.h"
namespace AppInstaller
{
static constexpr std::string_view s_comLogFileNamePrefix = "WPM"sv;
NullStream::NullStream()
{
m_nullOut.reset(new std::ostream(&m_nullStreamBuf))... | [
"noreply@github.com"
] | fzanollo.noreply@github.com |
65be1bf2567532c89bcd77e32a81fac8c4070ca5 | 99a466aba71f86a69fe38b47e87d9333d6251454 | /contest/394/a.cpp | b4f86840608fb0b86bb803b8d90e059a40c03572 | [] | no_license | m-nny/Codeforces | ca84be67110c5c5ba0f986652b3b195f964a5026 | fbd5918f567a907005bb65b283595a2f0974e412 | refs/heads/master | 2021-09-04T20:37:02.533540 | 2018-01-22T07:47:39 | 2018-01-22T07:47:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 54 | cpp |
#include <bits/stdc++.h>
using namespace std;
| [
"Alibek.manabayev@gmail.com"
] | Alibek.manabayev@gmail.com |
22d7b7b5c3e0c8dac2886f16c2cac14c9687cf2b | b98d2435bc4b89732a561240d685378e7a74bcbd | /include/matter/container/soa_sentinel.hpp | 370b1e05f8335f168089daa21dccea0128245cfc | [] | no_license | frengels/matter | 56b2e60cac3da89a2f836b3b8a470acb477d9a14 | 0738f852827c852e22a299edb3725b504abc2dfa | refs/heads/master | 2022-02-11T17:09:46.453846 | 2019-10-03T12:21:46 | 2019-10-03T12:32:03 | 155,258,116 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,827 | hpp | #pragma once
#include <hera/view/filter.hpp>
#include <hera/view/zip.hpp>
#include "matter/iterator/concepts.hpp"
#include "matter/iterator/traits.hpp"
namespace matter
{
namespace detail
{
template<typename... Sents, typename... Its> // clang-format off
requires (sized_sentinel_for<Sents, Its> || ...)
constexpr... | [
"frederik.engels92@gmail.com"
] | frederik.engels92@gmail.com |
8c39c78a070e45b1414e76e30995ff892b7b67af | 6f49cc2d5112a6b97f82e7828f59b201ea7ec7b9 | /wdbecmbd/CrdWdbePrt/PnlWdbePrtList.cpp | a55cf6a85263dc29102d7723906ff47b6f9fc6d0 | [
"MIT"
] | permissive | mpsitech/wdbe-WhizniumDBE | d3702800d6e5510e41805d105228d8dd8b251d7a | 89ef36b4c86384429f1e707e5fa635f643e81240 | refs/heads/master | 2022-09-28T10:27:03.683192 | 2022-09-18T22:04:37 | 2022-09-18T22:04:37 | 282,705,449 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,559 | cpp | /**
* \file PnlWdbePrtList.cpp
* job handler for job PnlWdbePrtList (implementation)
* \copyright (C) 2016-2020 MPSI Technologies GmbH
* \author Alexander Wirthmueller (auto-generation)
* \date created: 28 Nov 2020
*/
// IP header --- ABOVE
#ifdef WDBECMBD
#include <Wdbecmbd.h>
#else
#include <Wdbed.h>
#endif
... | [
"aw@mpsitech.com"
] | aw@mpsitech.com |
592b0a3ba6de7992c979c48433b95220fdc8a912 | cc63612e896bb05a8d5345c3525d4aa6d0e75265 | /207. Course Schedule.cpp | 82a54d2eeec440e8c345504714a47dba90147fda | [] | no_license | avotaliff/tg_mpei_course | 5ed5f7c99037d19c8afd789e5f4956e2c74d98a8 | 4eedc6bcce0641f0062ffa23383e2974ed76b3c0 | refs/heads/master | 2020-07-19T09:35:58.094975 | 2020-01-11T11:43:31 | 2020-01-11T11:43:31 | 206,421,161 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 842 | cpp | //https://leetcode.com/problems/course-schedule/
class Solution {
public:
bool canFinish(int numCourses, vector<vector<int>>& prerequisites) {
vector<vector<int>> graph(numCourses);
// внутренний вектор будет обрабатывать параллельные ребра
vector<int> step(numCourses, 0), buf;
... | [
"noreply@github.com"
] | avotaliff.noreply@github.com |
72a2a073bb115ef69ab2282a1eefa6d7ea36cb8f | 4da55187c399730f13c5705686f4b9af5d957a3f | /src/webots/nodes/WbMatter.cpp | ca7ff013367673a125e786c14eb148a44995190a | [
"Apache-2.0"
] | permissive | Ewenwan/webots | 7111c5587100cf35a9993ab923b39b9e364e680a | 6b7b773d20359a4bcf29ad07384c5cf4698d86d3 | refs/heads/master | 2020-04-17T00:23:54.404153 | 2019-01-16T13:58:12 | 2019-01-16T13:58:12 | 166,048,591 | 2 | 0 | Apache-2.0 | 2019-01-16T13:53:50 | 2019-01-16T13:53:50 | null | UTF-8 | C++ | false | false | 24,148 | cpp | // Copyright 1996-2018 Cyberbotics Ltd.
//
// 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 law or agr... | [
"David.Mansolino@cyberbotics.com"
] | David.Mansolino@cyberbotics.com |
2f7bd5af9f2ed23cb4d9a7c7f935d69e7f5b2a82 | a4ff7d5911c051d3ab3973c5104e6ec57d160729 | /Http/net/TcpServer.cpp | 2e8e9eadde7d77d004a3db4fdf884280b150df60 | [] | no_license | changhuaqiu/old-linux | f5ad795c6bedbab6868c7018a105451d4a21f577 | b9288cb3a9916027c5428a04d9bbe7659a8e86fd | refs/heads/main | 2023-03-11T17:01:12.113958 | 2021-02-28T07:48:10 | 2021-02-28T07:48:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,749 | cpp | //
// TcpServer.cpp
// qiuServer
//
// Created by 邱昌华 on 2021/2/16.
//
#include <stdio.h>
#include "TcpConnection.hpp"
#include "TcpServer.hpp"
TcpServer::TcpServer(EventLoop*loop,const InetAddress & listenAddr , const std::string & nameArg)
:loop_(loop),
name_(nameArg),
acceptor_(new Acceptor(loop... | [
"noreply@github.com"
] | changhuaqiu.noreply@github.com |
5075a6f68a721167ccdc9c1c1afc4d737553655b | c430bdadd1fa1a9f9b7e16ea14f06ae80f5c6e8f | /src/views/ui/OptionalCommandView.h | 7e14565b8f83eaf15bfc4153c78596d3eaee8a22 | [] | no_license | aag-github/mastermind | 65a58e72af8b7aba80a40a1e5fb7c30cdfab2905 | 5a3418f8273d057ad83ca3a4f52d61e9997c4250 | refs/heads/master | 2020-03-30T14:18:43.422935 | 2019-02-04T01:02:26 | 2019-02-04T01:02:26 | 151,312,159 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 871 | h | #ifndef SRC_VIEWS_COMMANDS_OPTIONALCOMMANDVIEW_H_
#define SRC_VIEWS_COMMANDS_OPTIONALCOMMANDVIEW_H_
#include "CommandView.h"
namespace Mastermind {
class MainMenuController;
template <class VIEW, class CONTROLLER> class OptionalCommandView : public CommandViewTemplate<VIEW, CONTROLLER> {
public:
OptionalCommand... | [
"aag_uk@yahoo.com"
] | aag_uk@yahoo.com |
ba53987d1c555330e34b68017a5ffbd22bbd62f3 | c2324dca48e318cd2f223a860c754255d2c4a4dc | /playerb.cpp | d3ea20767cfaa6bf0c961850beb566a110f8502c | [] | no_license | arturjackowiak/TheTussle | d21037cc5f852bd9ddd4901ba8bae498ff0ac38b | 247ac942f54a2072e846e73b918dcd8480c6e395 | refs/heads/main | 2023-04-24T06:25:07.141399 | 2021-05-11T14:48:08 | 2021-05-11T14:48:08 | 366,416,167 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 26,330 | cpp | #include "playerb.h"
playerb::playerb()
{
rect.setSize(sf::Vector2f(60, 90));
rect.setPosition(500, 125);
sprite.setTextureRect(sf::IntRect(22, 149, 65, 90));
sprite.setScale(sf::Vector2f(1, 1));
}
void playerb::update()
{
sprite.setPosition(rect.getPosition());
}
void playerb::displayHP() {
}
void playerb::u... | [
"noreply@github.com"
] | arturjackowiak.noreply@github.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.