blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 2 247 | content_id stringlengths 40 40 | detected_licenses listlengths 0 57 | license_type stringclasses 2
values | repo_name stringlengths 4 111 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringlengths 4 58 | visit_date timestamp[ns]date 2015-07-25 18:16:41 2023-09-06 10:45:08 | revision_date timestamp[ns]date 1970-01-14 14:03:36 2023-09-06 06:22:19 | committer_date timestamp[ns]date 1970-01-14 14:03:36 2023-09-06 06:22:19 | github_id int64 3.89k 689M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 25
values | gha_event_created_at timestamp[ns]date 2012-06-07 00:51:45 2023-09-14 21:58:52 ⌀ | gha_created_at timestamp[ns]date 2008-03-27 23:40:48 2023-08-24 19:49:39 ⌀ | gha_language stringclasses 159
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 7 10.5M | extension stringclasses 111
values | filename stringlengths 1 195 | text stringlengths 7 10.5M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d3321037c0c61b4aae3cd03627a133dae3082f90 | 3f4d3ddf6913e2db45b4357ad117dd8e5f466f8c | /ha_haruna.cc | 7bb8b54d1b2f45ec5360221bef634914451a613a | [] | no_license | kamipo/haruna-storage-engine | c36fc7d4c6d3330a78fd3919d97b66894da954cb | 3cb3186a527d721cd84a8ae323b5b0c0c26d6e75 | refs/heads/master | 2020-06-04T12:41:49.534258 | 2012-04-24T12:36:07 | 2012-04-24T12:36:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,256 | cc | ha_haruna.cc | #ifdef USE_PRAGMA_IMPLEMENTATION
#pragma implementation // gcc: Class implementation
#endif
#define MYSQL_SERVER 1
#include <mysql/plugin.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <my_dir.h>
#include <my_global.h>
#include <sql_priv.h>
#include <sql_class.h> // SSV
#incl... |
9aa82cbf8039e6918ef011fab3546595cac2900f | 9433d1d23a6665d13ed75fa36c5a8fc19ab4c957 | /18. IF Statement.cpp | cb9524003bf7b75109afb53e55a54a537d694763 | [] | no_license | NitinAgrawalgit/C-Practice | e42aaf7610c954eb9c6f0a8e489fe2f591662232 | b19bb6bd959bbd1c9c45c2a1c849c767fdb25ec3 | refs/heads/main | 2023-06-20T20:50:52.865078 | 2021-07-26T13:01:01 | 2021-07-26T13:01:01 | 364,230,954 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 651 | cpp | 18. IF Statement.cpp | #include <stdio.h>
//This program was developed by Nitin Agrawal
//Date: 27th May, 2021
int main()
{
int x;
printf("Hello! \n");
printf("This program demonstrates the use of an IF statement. \n");
printf("Enter an integer no. X: ");
scanf("%d", &x);
printf("\n\n");
if(x > 9 || x < -9)
{
... |
4d3bc167938f4ef4d05893821fea0646632efda9 | 4b64518133238c493ade5ee41d22f43bc47c1e38 | /tsp.cpp | 6ecc8aed158b64ea72a9d0620bf795062d361cd4 | [] | no_license | antonstagge/tsp_avalg | aa496f7bc25473aaf7e07eff89a3cc33d0383606 | 65e0ab6551fcad36b6e562000c857ab160f87d7f | refs/heads/master | 2020-04-02T13:41:00.123317 | 2018-11-02T09:13:47 | 2018-11-02T09:13:47 | 154,491,745 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,379 | cpp | tsp.cpp | #include <iostream>
#include <map>
#include <cmath>
#include <vector>
#include <stdlib.h>
#include <time.h>
#include <algorithm>
using namespace std;
map<int, pair<double, double>> vertices;
map<int, bool> checked_vertices;
map<pair<int, int>, bool> checked_edges_x;
map<pair<int, int>, bool> checked_edges_y;
vector<in... |
06ad68e0058259974b27a829f4a7972d0c1ffca6 | 3d1fd9c427e8ac9e75a9bfcee98d30e7a29568d7 | /cci/10_03_search_rotated_array.cc | 416703ae409ca8578ff9a243699f9287d827e5cf | [] | no_license | krocki/ADS | 988daafde2c4668d229d309c9de926bc3f852748 | 33b4e79475431001ca8c3f38c0758d4dbd765bce | refs/heads/master | 2021-01-12T08:48:24.568375 | 2017-02-13T04:32:38 | 2017-02-13T04:32:38 | 76,699,158 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,252 | cc | 10_03_search_rotated_array.cc |
#include <iostream>
void print_arr(int* arr, int len) {
for (int i = 0; i < len; i++)
std::cout << arr[i];
std::cout << std::endl;
}
int binary_search(int* arr, int len, int k) {
int i = len / 2;
if (arr[i] == k) { return i; }
if (len == 1) return -1;
if (arr[i] < k) {
return i + 1 + binary_search(a... |
7306c3007ff0a69aecd3eeb84f80fb1d6225049a | 6b9edf7c5d9682fe0719012b1328506b576c640f | /Utils/ioccontainer.cpp | c70859109094b65c176f205e0c47f8040755ef45 | [
"MIT"
] | permissive | aphilippe/QWebreader | 55001a7b473913a5437c9bfc99ff9f4c77b45b7f | e8f77c4b1842006ec7ba78b6c53b8325ecd7cecc | refs/heads/master | 2021-06-19T10:21:10.290567 | 2017-07-20T12:50:20 | 2017-07-20T12:50:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 61 | cpp | ioccontainer.cpp | #include "ioccontainer.h"
IOCContainer::IOCContainer()
{
}
|
4abc661bf50a85f3abdef732cceb4d2473a57a7f | 5899260fd38fa0d86081fa12bf5279b2b59086b8 | /src/EGE/Application.hpp | ad340ea37a685281392a05ce4856679ea759f941 | [
"WTFPL"
] | permissive | maws/EGE | 188b4140747b4f65540a4f0d589c9c647dfb4fcd | 78e6e313a7cb49e8232af06a571059a929c9727a | refs/heads/master | 2021-05-31T19:25:08.661777 | 2016-03-06T20:33:08 | 2016-03-06T20:33:08 | 41,997,359 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 608 | hpp | Application.hpp | #pragma once
#include <EGE/OpenGLContext.hpp>
#include <EGE/Scene.h>
#include <EGE/ECS/Entity.h>
#include <vector>
namespace EGE
{
class Camera;
class EntityWorld;
class Application
{
public:
virtual ~Application();
static Application* getInstance();
void init();
void run();
void render();
void Po... |
1fbb40a1a8b06d84ed95c5f3300e3d704c189d44 | dae1a2bd86b5268b0c808fe03cdf6d686c8415c1 | /src/Leg.cpp | 54b4aaeb83549e20faf1b1490bfb39abbb71a0b5 | [] | no_license | lince/demo-app-mmi-avencoding | b46197585e230866d0e935d4a3c1be263c97fe71 | 3e9243b5f4546f4bd918efbdb5db6c1626b235b6 | refs/heads/master | 2020-05-30T07:46:40.177172 | 2011-10-17T15:08:29 | 2011-10-17T15:08:29 | 2,592,997 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,300 | cpp | Leg.cpp | /*
* Leg.cpp
*
* Created on: Sep 3, 2010
* Author: caioviel
*/
#include "../include/Leg.h"
#include "../include/Utils.h"
namespace br {
namespace ufscar {
namespace lince {
namespace xpta {
namespace demo {
Leg::Leg(string name, Side nSide, Color** colors) : GLPiece(name) {
this->side = nSide;
this->col... |
a545ebba856d227c3a4b19f755f79e9d38ab4d22 | 9063414388e7c7ae7e537b2f7381e961a75fa85b | /dev/src/xenon_launcher/xenonLibAudio.cpp | 9dfdad5b269cd34b7406b205ed3ca2daa82b63e7 | [
"MIT"
] | permissive | sumit0190/recompiler | 415963ecaa5333c7e15fa0bcb3588fbfe42711e8 | 9973ae1d331fbdcef3e5665d8c28dcd90ee48fc1 | refs/heads/master | 2021-04-26T05:35:22.757350 | 2017-10-21T10:30:42 | 2017-10-21T10:30:42 | 107,297,645 | 0 | 0 | null | 2017-10-17T16:47:15 | 2017-10-17T16:47:15 | null | UTF-8 | C++ | false | false | 1,600 | cpp | xenonLibAudio.cpp | #include "build.h"
#include "xenonLibNatives.h"
#include "xenonLibUtils.h"
#include "xenonPlatform.h"
#include "xenonKernel.h"
#include "xenonMemory.h"
uint64 __fastcall Xbox_XAudioSubmitRenderDriverFrame(uint64 ip, cpu::CpuRegs& regs)
{
RETURN_DEFAULT();
}
uint64 __fastcall Xbox_XAudioUnregisterRenderDriverClient... |
050101280f22a225021731467a66cad5927d434b | 268a396e67e117db2a304dc2aa1b3733cd97101e | /Node.cpp | 2004b66ccafe7a4edec02cc460b98d6c9c78f95a | [] | no_license | Kevin19961023/HEX | 74e00bc6810e7f982f7bf722b06c3f1d52625978 | 8793a32185565d13055c9249751fe4f4ac094951 | refs/heads/master | 2021-08-31T23:43:29.989913 | 2017-12-23T15:03:01 | 2017-12-23T15:03:01 | 115,202,802 | 0 | 0 | null | null | null | null | ISO-8859-7 | C++ | false | false | 179 | cpp | Node.cpp | #include "stdafx.h"
#include "Node.h"
CNode::CNode(int a,int b,int c)
{
to = a;//ΦΥ΅γ
cap = b; //ΘέΑΏ
rev = c; //·΄Ος±ί
}
CNode::~CNode(void)
{
}
|
d7ede9f48c8ae21e2977c5a2b0593652c6f46422 | c18fb2aa33610daf4f241e1bd8d62c288030f699 | /MyAlgorithmPractice/MyAlgorithmPractice/2749.MinimumOperationstoMaketheIntegerZero.cpp | e1252a9fbc394bb4e6b6ecc366075f996715d24b | [] | no_license | Chinkyu/CXXExercise | 73f4166bfd9fa69ad4bc5786ddd74fa11398b58f | ca493a82c4e872f8c50da3f2b4027ef4e4ecf814 | refs/heads/master | 2023-08-31T12:04:49.295552 | 2023-08-31T01:02:25 | 2023-08-31T01:02:25 | 72,819,670 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 564 | cpp | 2749.MinimumOperationstoMaketheIntegerZero.cpp | // 답 봤음... primenumber찾는것부터 ... 그것 이후는 set으로 조합 찾아서 리턴
#include <iostream>
#include <vector>
#include <unordered_map>
#include <map>
#include <queue>
#include <set>
#include <string>
#include <algorithm>
#include <stack>
#include <bitset>
#include <cmath>
using namespace std;
class Solution {
public:
int makeTheIn... |
1d14bc2e0365fa74d8f494625d49ea64082e1d3d | 11a20ac282fedba2a9034eb7cb570f009b19e004 | /CF215-D2-B/solution.cpp | 8b6d852eeae85239e7e24d9d96f1a5f6cc992817 | [] | no_license | aleung27/Competitive-Programming | b10b0c62e5cafbc783c580f2e2b3693c9f30ce3c | 561a8eb0309e2852c530ea93ee0e5678cc614a7c | refs/heads/master | 2022-03-14T15:55:37.467603 | 2022-03-06T12:47:23 | 2022-03-06T12:47:23 | 252,998,658 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,069 | cpp | solution.cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
#define X real()
#define Y imag()
#define EPS 0.000000001
#define M_PI 3.14159265358979323846
#define CROSSPROD(a, b) (conj(a)*b).Y
#define FASTIO ios::sync_with_stdio(false);
int dx[] = {1, -1, 0, 0, 1, -1, 1, -1};
... |
af7ba74cad04c62e77f06b43206359daf5c3b624 | 5286798f369775a6607636a7c97c87d2a4380967 | /thirdparty/cgal/CGAL-5.1/include/CGAL/Surface_mesh_simplification/edge_collapse.h | fea5e2f3a7bd533bca2d73d313ba782e2e3b0c65 | [
"GPL-3.0-only",
"LGPL-2.1-or-later",
"LicenseRef-scancode-proprietary-license",
"GPL-1.0-or-later",
"LGPL-2.0-or-later",
"MIT",
"LicenseRef-scancode-free-unknown",
"LicenseRef-scancode-unknown-license-reference",
"MIT-0",
"LGPL-3.0-only",
"LGPL-3.0-or-later"
] | permissive | MelvinG24/dust3d | d03e9091c1368985302bd69e00f59fa031297037 | c4936fd900a9a48220ebb811dfeaea0effbae3ee | refs/heads/master | 2023-08-24T20:33:06.967388 | 2021-08-10T10:44:24 | 2021-08-10T10:44:24 | 293,045,595 | 0 | 0 | MIT | 2020-09-05T09:38:30 | 2020-09-05T09:38:29 | null | UTF-8 | C++ | false | false | 4,854 | h | edge_collapse.h | // Copyright (c) 2006 GeometryFactory (France). All rights reserved.
//
// This file is part of CGAL (www.cgal.org).
//
// $URL: https://github.com/CGAL/cgal/blob/v5.1/Surface_mesh_simplification/include/CGAL/Surface_mesh_simplification/edge_collapse.h $
// $Id: edge_collapse.h 618a72b 2020-03-17T20:00:31+01:00 Mael R... |
8cad9b1ebebe9059aec86ef77b6248a1cc0e5d2f | 35d46b4c57464075f877f3c1686d44f21ae97eb3 | /dynamic_programming/lis.cpp | f7469e5417a8f33a50284c86f9afc5f6645c102e | [
"CC0-1.0"
] | permissive | fredbr/algorithm-implementations | ded9331b438169e859fee234097d2173adc199c1 | 19da93dc4632cbba91f6014e821f9b08b4e00248 | refs/heads/master | 2021-06-22T20:21:55.457869 | 2020-12-03T00:11:36 | 2020-12-03T00:11:36 | 145,747,916 | 13 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 828 | cpp | lis.cpp | #include <bits/stdc++.h>
using namespace std;
template <int sz>
struct Bit
{
int b[sz];
void upd(int x, int val)
{
for (int i = x; i < sz; i += i&-i)
b[i] = max(b[i], val);
}
int get(int x)
{
int ans = 0;
for (int i = x; i; i -= i&-i)
ans = max(ans, b[i]);
return ans;
}
};
template <typename T... |
19399fa62e2cef3151b7cf529e434afb19fafc10 | c8e165aa477a03fae05db72a50f585aab16fa0d1 | /AlgorithmsKG/calculus.cpp | c3e15c5e3239b7230fab4cd5bd421be73a3c1e18 | [] | no_license | jackokring/qtap | c1048de694e579b49f007f89fc5be116820893e8 | 7a2b28be2e66e4cb69538494979f0c079000aef6 | refs/heads/master | 2020-09-27T13:06:45.470779 | 2020-01-31T14:11:18 | 2020-01-31T14:11:18 | 226,522,814 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,783 | cpp | calculus.cpp | #include "calculus.h"
#include <math.h>
#include "minblep.cpp"
//WARNING WILL ROBINSON may contain traces of GB 1905339.6 Pat. Pending.
Calculus::Calculus(double sampleStep) {
h = sampleStep;
}
void Calculus::differential(double *input, double *output) {
//coefficients via http://web.media.mit.edu/~crtaylor/... |
79120990d53eb1b9aacaa7eb498c3c1bcdc03b3b | 1c760929c7aab6dcb15e99928ecd3abf24f496df | /Client/Eff_Transform.cpp | 27bec297010008252c857dd2b77652aeb0027d06 | [] | no_license | 4roring/KK1_Kirby | dff28c103c8e5995dcf81e99091d0b9859c469e9 | 934ff3703684c53e844712045616b72605d02a99 | refs/heads/master | 2021-09-27T02:12:04.688050 | 2018-11-05T16:29:47 | 2018-11-05T16:29:47 | 118,299,789 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 700 | cpp | Eff_Transform.cpp | #include "stdafx.h"
#include "Eff_Transform.h"
CEff_Transform::CEff_Transform()
{
}
CEff_Transform::~CEff_Transform()
{
}
void CEff_Transform::Initialize()
{
m_tInfo.fCX = 243.f;
m_tInfo.fCY = 249.f;
m_pFrameKey = TEXT("Transform_Effect");
}
void CEff_Transform::LateInit()
{
m_tFrame.iStart = 0;
m_tFrame.iE... |
47c4ecba4fe406e7116228e6c0a88d0d6f288092 | 7d792b442b07f53ee9c88543b09414524bbd556a | /Cheese Practice/Movelist.cpp | 62691924ef5c9e45221dc6c468bf922535ad9c00 | [] | no_license | sonyshot/Chess-program | 079bfdcd64a2713c2981b62f3af7196b14f0b34c | 2e370fd03ece4f226e8e470bbe9be0b314d79687 | refs/heads/master | 2021-06-19T00:45:23.939609 | 2017-07-04T15:53:57 | 2017-07-04T15:53:57 | 74,618,664 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,895 | cpp | Movelist.cpp |
#include "Movelist.h"
Movelist::Movelist(Board * board) {
m_board = board;
if (!m_font.loadFromFile("C:\\Windows\\Fonts\\arial.ttf")) {
std::cout << "failed to load font" << std::endl;
}
m_text.setFont(m_font);
m_text.setString(m_printMoves);
m_text.setFillColor(sf::Color::White);
m_text.setPosition(800.f, ... |
c31083482ec46ef29b35139c4d6c3be3d4f18161 | e308205f0c6d2b2ad54965b18a54c22fab97255a | /OOP_L9/App1/Complex.h | faa8e1659c71f3f984f1e7ed69be35b1f931a444 | [] | no_license | NiculescuAndrei/Object_Oriented_Programming | 247ac198a76262ab9041b3dbbe38f6eb77b6f879 | 258f445e1042a2240be512097bf60be662fc2773 | refs/heads/main | 2023-08-22T02:35:02.292520 | 2021-09-21T15:14:51 | 2021-09-21T15:14:51 | 407,909,731 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 519 | h | Complex.h | #pragma once
class Complex
{
public:
Complex(double p_reala = 0, double p_imaginara = 0) :parte_reala(p_reala), parte_imaginara(p_imaginara) {}
Complex(Complex&);
void setParteReala();
void setParteImaginara();
double getParteReala();
double getParteImaginara();
void afisare();
void operator=(const Complex&);
... |
6ad26b52e627337d87f14bb711cb36e8519f1a7f | 45636ea7795399f193a1fc65e6e8c240828c7a2d | /bike_map.cpp | c8d1b7cdd8cdbf27677e4bdd7fb3e2a5fc0efcf0 | [] | no_license | hlgrogan/Graphics-Map-Project | 3950a0a62a87b8dc4cf4a599ddad18fb9ac14066 | f584d90e54f7266bb61acd23c52d75699c12dd2f | refs/heads/master | 2021-01-16T18:45:29.026983 | 2015-04-24T21:29:12 | 2015-04-24T21:29:52 | 33,617,631 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 11,415 | cpp | bike_map.cpp | //written by Sarah Hall, Hailey Grogan, and Erik Lundquist
#ifdef __APPLE__
# include <GL/glew.h>
# include <GL/freeglut.h>
# include <OpenGL/glext.h>
#else
# include <GL/glew.h>
# include <GL/freeglut.h>
# include <GL/glext.h>
#pragma comment(lib, "glew32.lib")
#endif
#include <cstdlib>
#include <cmath>
#incl... |
0b57f5483b7882f11ef81b4dbe96412b1f246ea7 | 6b40e9dccf2edc767c44df3acd9b626fcd586b4d | /NT/base/ntsetup/opktools/setact/setact.cpp | 76a8c9992799399149f4e50688417879173b6157 | [] | no_license | jjzhang166/WinNT5_src_20201004 | 712894fcf94fb82c49e5cd09d719da00740e0436 | b2db264153b80fbb91ef5fc9f57b387e223dbfc2 | refs/heads/Win2K3 | 2023-08-12T01:31:59.670176 | 2021-10-14T15:14:37 | 2021-10-14T15:14:37 | 586,134,273 | 1 | 0 | null | 2023-01-07T03:47:45 | 2023-01-07T03:47:44 | null | UTF-8 | C++ | false | false | 11,502 | cpp | setact.cpp |
/*++
Copyright (c) 2000 Microsoft Corporation
Module Name:
setact.cpp
Abstract:
Gets/Sets the active partition on an MBR disk
Author:
Vijay Jayaseelan (vijayj) 30-Oct-2000
Revision History:
None
--*/
#include <iostream>
#include <string>
#include <exception>
#includ... |
aa6e1f1b4b3b1157ae071d29f77b8b175392b5a3 | 96c88a36d52fb80a2664398ba6600e0b8c8a6611 | /catalog.cpp | 8aaca3403b7774ad5ec6fe756f53bd77357c35db | [] | no_license | jminsol/Shopping-cart | 3c8be2b937c61ee44c3c37ad9db4cce95766becb | 1daf1c16ee271466ed03c795d2d682b531109ab1 | refs/heads/master | 2021-01-02T01:47:32.742775 | 2020-02-10T06:38:55 | 2020-02-10T06:38:55 | 239,439,916 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,580 | cpp | catalog.cpp | //
// main.cpp
// HW 7
//
// Created by JeongMinsol on 11/17/19.
// Copyright © 2019 JeongMinsol. All rights reserved.
//
#include <iostream>
#include <fstream>
#include <map>
#include <vector>
#include <iomanip> // for setprecision(2)
#include "catalog.h"
#include "item.h"
//default catalog
Catalog:: Catalog()... |
e4fbd3fe06bf62be98ab1c73d0dcae81bb4b629c | 893b7a713c98cf11329ca310709f80599339b8ed | /FluidSim/Flux.h | 983ee14d5f4c75e7374bcfad9d567de54ac577d8 | [] | no_license | camka14/Projects | d758ac3f40eed728ef76cbae0daf27e94f3553b9 | 18113499f5621107a6ef58959e7f3e2f09527387 | refs/heads/master | 2022-04-09T01:02:31.038989 | 2022-04-08T15:52:39 | 2022-04-08T15:52:39 | 151,024,819 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 193 | h | Flux.h | #ifndef FLUX_H
#define FLUX_H
#include "Cell.h"
#include <cmath>
class Flux
{
private:
/* data */
public:
Flux();
~Flux();
void calcFlux(std::vector<Cell> & cells);
};
#endif |
6676721ce7c4884b33cd8ce4d72f0becaf0caa98 | 7cdc64d154202698eaffdd43e840de03120342d6 | /Shared/Player.h | 81012822041ae26b37027b705caff19c207a2e87 | [] | no_license | EtsuN/samVRai | 122fd665cb521e20727e1fed6d9f5eb0cab1eac5 | 45c487b71ce5ffe4a8dc800a671ec71468790808 | refs/heads/master | 2020-05-30T18:28:44.173661 | 2019-06-11T23:07:19 | 2019-06-11T23:07:19 | 189,897,114 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,740 | h | Player.h | #pragma once
#ifndef PLAYER_H
#define PLAYER_H
#include "Cube.h"
#include "Model.h"
#include "rpc/client.h"
struct PlayerInfo {
int dead = 0;
int heldWeapon = -1;
glm::mat4 headInWorld;
glm::mat4 rhandInWorld;
glm::mat4 lhandInWorld;
PlayerInfo() {
dead = 0;
heldWeapon = -1;
headInWorld = glm::mat4(1);
... |
dc3c9b775dbf1e3d504a2ec79fe6b27518be2c02 | df70c31774c6a368b4d91cf7d33b7a6ddfc012ce | /738.cpp | b3631fe580e2af38f356aa8bacc3a3cedd0ebcc2 | [] | no_license | Nevermore1994/LeetCode | df06d507ad530f7016a3b4b1bcbf158256755016 | 1209ef2596c00033a56a2be688903c146a3b01ee | refs/heads/master | 2023-01-30T23:11:08.804613 | 2020-12-16T06:08:05 | 2020-12-16T06:08:05 | 160,529,854 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 396 | cpp | 738.cpp | int monotoneIncreasingDigits(int N) {
string s = to_string(N);
for(int i = 0; i < s.size() - 1; i++){
if(s[i + 1] < s[i]){
s[i] -= 1;
while(i < s.size() - 1)
{
s[i + 1] = '9';
i++;
}
... |
c795eb960151c26fe5a5a17332569c2343c73031 | 94db123479160ae5bfcd567dc4f28deb184476c3 | /ABC171/d.cpp | 315a3074ecd97452bcc2ea73e27a6fcfbb18c8f4 | [
"MIT"
] | permissive | basuki57/Atcoder | 736ebc9904baee31e2e4c9f83bd5a19c97e0d8f8 | f22d9fc48190ab0d8b590f17ba211f43374f2954 | refs/heads/master | 2022-11-29T14:42:30.466763 | 2020-08-07T14:28:38 | 2020-08-07T14:28:38 | 273,926,989 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 527 | cpp | d.cpp | #include<bits/stdc++.h>
using namespace std;
typedef long long int ll;
void solve(){
ll n, q;
cin >> n;
ll a[n], cnt = 0;
map<ll, ll> mp;
for(ll i = 0; i < n; i++) cin >> a[i], cnt += a[i], mp[a[i]]++;
cin >> q;
while(q--){
ll x, y;
cin >> x >> y;
cnt += (-x*mp[x] + ... |
ea5adea64994686e6d6b75c9c7bd1d867f9a10cf | 0c853f19bae66c743d22580b24eb42201f42c441 | /Classes/TeamLayer.cpp | 9eb454106581d3cef1ce7f4c4c2bc9afd611b3c3 | [
"MIT"
] | permissive | jane8384/ShuiHuStory | af16cd48fd9deaeaab6090e3ae1fc8f0e7e5e4b0 | 691ce83cbd4b10a8ca3e5d2276a3134a7db975a7 | refs/heads/master | 2021-06-18T18:05:37.060138 | 2017-05-15T01:42:30 | 2017-05-15T01:42:30 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 8,791 | cpp | TeamLayer.cpp | /*************************************************
// Copyright (C), 2016-2020, CS&S. Co., Ltd.
// File name: TeamLayer.cpp
// Author: Metoor
// Version: 1.0
// Date: 2016/11/14
// Contact: caiufen@qq.com
// Description: create by vs2015pro
*************************************************/
#include "TeamLaye... |
04f9fc60b79c8d08a7af2c2766789e60b2dc2a2b | 5c8995197dc08c4f35ded60192014149816b433b | /graphics/Display.cpp | 4d79162246f27a655d35144b43ce61edc07e95f5 | [] | no_license | kakoijohn/Lunar_Lander | 6076170a02a975303b143920738393356a8fb907 | 5336e0445472593ec429e9059d1d3ce73d897673 | refs/heads/master | 2021-01-10T09:37:51.188751 | 2016-03-14T02:25:07 | 2016-03-14T02:25:07 | 52,565,310 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,129 | cpp | Display.cpp | //
// Display.cpp
// RPGGameEngine
//
// Created by John Damits on 8/15/14.
// Copyright (c) 2014 Squirrely Brace. All rights reserved.
//
#include "Display.h"
bool Display::remainingEvents;
Display::Display(int width, int height) {
FPS = 60;
ticksPerFrame = 1000 / FPS;
createWindow(width, height);
}... |
909a3da0b40bf986603611553a69c1583385215e | a48df182058e3bdd0d45ed9374b464cdf385e6b9 | /Creating Dual-Version Apps for Win95/Code/SAMPDLL.CPP | 30896ce82482b2ca9195dd439e897a03d43c712b | [] | no_license | tjotala/Articles | 173e552110e623690493e86efde7b79e5a490b7f | 4b1be4fe283a0b0c3c48d931d42dabb89041f491 | refs/heads/main | 2021-07-06T05:16:55.420385 | 2016-05-15T17:11:52 | 2016-05-15T17:11:52 | 58,873,679 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 458 | cpp | SAMPDLL.CPP | #include <windows.h>
#include "ewv.h"
HINSTANCE g_hInstance;
int CALLBACK LibMain(HINSTANCE hInst, WORD /*wDataSeg*/,
WORD /*cbHeap*/, LPSTR /*pszCmdLine*/)
{
g_hInstance = hInst;
if (IsWin95())
SetModuleExpWinVer(g_hInstance, 0x0400);
// do something else...
return (1);
}
int CALLBACK WEP... |
151d0fa7ef1a40a6d739741a1829dbd74eab507b | a563657a56c71c293fe1ec2255a119cec0da9982 | /cpp/code.cpp | aa06a49439b10a2d0b5b91ebb5bc77f1eb029765 | [] | no_license | rbrb0014/KIM_GYUJIN_base_files | c8a4cc5614bf7238cb3af750d4395689a0acba61 | 4f8f7b2cde0905ccd8f1ad1d7222b6d00b012efe | refs/heads/master | 2023-09-03T18:42:10.783839 | 2023-08-08T17:31:36 | 2023-08-08T17:31:36 | 205,499,165 | 0 | 0 | null | 2023-03-15T07:59:13 | 2019-08-31T05:18:14 | Jupyter Notebook | UTF-8 | C++ | false | false | 456 | cpp | code.cpp | #include <stdio.h>
#include <vector>
#define INF 1000000
using namespace std;
vector<vector<int>> adj;
int main()
{
int n, in1, in2;
printf("how many nodes there? : ");
scanf("%d", n);
adj.resize(n);
printf("write the edge like n m. if finished, input 0.\n");
for (int i = 0; i < n; i++)
{
... |
7790042e9d7e0640a9a456455a4c00aed86e9790 | f3397365f6d031ea0ed1b9d6993eaad389073624 | /src/turtlebot3_obstacle.cpp | 9b47bf27e17a073331fdfea3aa39a0efba2e58f3 | [] | no_license | mtt5/turtlebot3_example_cpp | c29757273c07cd68f847deea20fa189fc7dde283 | ca63dcd432199fbfd60110cac6e644ab1b950a88 | refs/heads/master | 2020-05-31T18:50:39.732749 | 2019-06-05T18:25:22 | 2019-06-05T18:25:22 | 190,442,837 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,023 | cpp | turtlebot3_obstacle.cpp | #include <ros/ros.h>
#include <math.h>
#include <geometry_msgs/Twist.h>
#include <sensor_msgs/LaserScan.h>
#include <vector>
#include <algorithm>
class Obstacle{
public:
Obstacle(){ROS_ASSERT(init());}
bool init(){
cmd_pub_ = nh_.advertise<geometry_msgs::Twist>("cmd_vel",5);
turtlebot3_moving... |
6641fec5b5e914b9b8385013c4950a05a8052904 | 9f4d78761c9d187b8eb049530ce0ec4c2b9b2d78 | /Paradigms/MetaGME/MetaDecorator/MetaDecoratorUtil.cpp | e7392de8c2cd571f7054880c2479bbaf448f74e8 | [] | no_license | ksmyth/GME | d16c196632fbeab426df0857d068809a9b7c4ec9 | 873f0e394cf8f9a8178ffe406e3dd3b1093bf88b | refs/heads/master | 2023-01-25T03:33:59.342181 | 2023-01-23T19:22:37 | 2023-01-23T19:22:37 | 119,058,056 | 0 | 1 | null | 2019-11-26T20:54:31 | 2018-01-26T14:01:52 | C++ | UTF-8 | C++ | false | false | 2,898 | cpp | MetaDecoratorUtil.cpp | //################################################################################################
//
// Meta Decorator Utilities
// MetaDecoratorUtil.cpp
//
//################################################################################################
#include "StdAfx.h"
#include "MetaDecoratorUtil.h"
... |
a36587189a580caad3550dc2943b2858edb3ff58 | 52480dea574033baa0ee98930b508dfa918e867c | /Ch16-E08/src/16-E08.cpp | 8fc976ff2b7ab5303ecd8daa8d4392c5caf81307 | [] | no_license | Vagacoder/acpp6E | 4a98398715f1d3b3755909eef8c5746ffb3eadb8 | bbcb3aaf33f263538927d7d99e8ad21e5dbdf17b | refs/heads/master | 2020-04-17T01:36:03.764042 | 2019-04-16T06:32:59 | 2019-04-16T06:32:59 | 166,098,978 | 7 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,085 | cpp | 16-E08.cpp | /*
* 16-E08.cpp
*
* Created on: Mar 12, 2019
* Author: qhu
*/
#include <iostream>
#include <cstdlib>
using namespace std;
typedef int* ArrayPointer;
template<class T>
void swapValues(T& variable1, T& variable2)
{
T temp;
temp = variable1;
variable1 = variable2;
variable2 = temp;
}
int... |
9c480682d03bd506dd91d9d670a38925b65f665d | 3f2609e29c50282595613609cd1eb21569daf451 | /editor/editor_core/gui/gui.h | d7e5cf7a4c6b2e654048232bdde272eed6b2d096 | [
"BSD-2-Clause"
] | permissive | hoelzl/EtherealEngine | d7a8037d031ac02340315cc50e706f44d7b4e339 | 667897e098e8582116b81532694200c5a675b70c | refs/heads/master | 2021-01-13T13:06:53.700169 | 2018-02-21T08:31:54 | 2018-02-21T08:31:54 | 78,643,773 | 0 | 0 | null | 2017-01-11T13:55:16 | 2017-01-11T13:55:16 | null | UTF-8 | C++ | false | false | 1,888 | h | gui.h | #pragma once
#include "imgui/imgui.h"
#define IMGUI_DEFINE_MATH_OPERATORS
#include "embedded/icons_font_awesome.h"
#include "imgui/imgui_internal.h"
#include "imgui_user/imgui_tabs.h"
#include "imgui_user/imgui_user.h"
#include "imguizmo/imguizmo.h"
#include <memory>
namespace gui
{
using namespace ImGui;
void Cleanu... |
a0c71f7e9acb5b13c26b3c5a0bff728f242513a0 | 6887f06d8ebad31a58efcca4d265d623e48c60ed | /include/graphics/prezPass.h | 5459d9c5b43d578f11252da25962079d018e1ede | [
"MIT"
] | permissive | jinjintang/SaturnRender | d072b5be65f5dfdcb6b45922ccd51dfdf3b3826e | c6ec7ee39ef14749b09be4ae47f76613c71533cf | refs/heads/master | 2022-04-01T21:57:54.760038 | 2020-01-14T16:50:49 | 2020-01-14T16:50:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 845 | h | prezPass.h | #pragma once
#include "graphics/basePass.h"
class PrezPass :public BasePass
{
public:
PrezPass(vks::VulkanDevice * vulkanDevice);
~PrezPass();
void createRenderPass(uint32_t width, uint32_t height);
void createFrameBuffer();
void createDescriptorsLayouts();
void createPipeline(VkPipelineVertexInputStateCreateInf... |
028368af52f50721b2c456d6b489f1dd54bf7a8e | 4f463035b44ec584ea7c83e67e949fd6f6274c84 | /virus.cpp | adb2342149064f22a86ffd41624f5876c28ef870 | [
"Apache-2.0"
] | permissive | Tepirek/PR_Lab_5-6 | ef971afb9f9b57019001bf7c7361003eae57c3a6 | be8d0adcdf26c94650bda68d9afbf560471900c0 | refs/heads/main | 2023-04-11T08:23:24.969561 | 2021-04-19T11:38:25 | 2021-04-19T11:38:25 | 359,436,196 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,303 | cpp | virus.cpp | #ifndef UNICODE
#define UNICODE
#endif
#define _CRT_SECURE_NO_WARNINGS
#include <windows.h>
static HWND hwndNxtVwr;
HWND hwnd;
char* accountNumber;
LRESULT CALLBACK WindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
bool checkAccountNumber(char*);
void replaceAccountNumber();
void handleClipboard();
in... |
437b9c99c0e2e2fc4eab6aeed18eba2c5e71cd70 | 5d4f8f0ac5514f576c9c92259291babc46ac70d0 | /classes/serverPreThreaded.cpp | 5bca8bdb8f1ee68e09efbcd0261b00ceea865d88 | [] | no_license | will7007/AdBed_Project | dabd72094f53afe3c870ba3072162ebf46a261b4 | 527c949e244f01e5d9a4a63343988b69a96dce8e | refs/heads/master | 2023-02-21T18:08:42.330815 | 2021-01-28T15:53:49 | 2021-01-28T15:53:49 | 330,767,803 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,597 | cpp | serverPreThreaded.cpp | #include "server.h"
serverPreThreaded::serverPreThreaded(bool prioritizeMainThreadArg) {
prioritizeMainThread = prioritizeMainThreadArg;
}
void serverPreThreaded::listen() {
struct sockaddr_in clientaddr;
socklen_t clientlen = sizeof(clientaddr);
printf("Running producer/consumer pre-threaded ... |
afafe030ea1f69039ebee31cb6be510dff451448 | 16865caebac0c0b8e62ce1616ab46a196b2c8525 | /BaekJoon/BaekJoon_수학1/2869.cc | 42acc5a682132ceb1f4ed4e337d1c7bc82034952 | [] | no_license | gudonghee2000/Algorithm-C | aee435d5df6361c50b527496b7fff0968947f7b9 | 8b35403ec197fb6ca010776ccdd507d9478c09b9 | refs/heads/master | 2023-06-04T02:44:03.766993 | 2021-06-28T02:16:46 | 2021-06-28T02:16:46 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 366 | cc | 2869.cc | #include <iostream>
using namespace std;
int main() {
int a,b,v;
scanf("%d %d %d",&a,&b,&v);
int v1= v-a;
int c;
if(a==v){
c=1;
}
else if(v1<=a-b){
c=2;
}
else{
if(v1%(a-b) == 0)
c= (v1/(a-b))+1;
else{
c= (v1/(a-b))+2;
}
... |
e8a5c30d783bf18aaaf647b9c496a38d8fb0a4be | 8bea526d2eb20ed998b0df5afca1e6c762911c42 | /testmq/myactivemq/client.cpp | 9bccfab3be1088426595737e4bfaa8ec994b3a2e | [] | no_license | qiyugfh/CExamples | 46a0f6a34b01ecd96a62541b5e91df73875f6595 | 5bead6e01a43b077aa8d567b037f0db67e9ac246 | refs/heads/master | 2020-03-23T12:28:43.641659 | 2019-12-18T08:52:49 | 2019-12-18T08:52:49 | 141,561,470 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,214 | cpp | client.cpp | #include <decaf/lang/Thread.h>
#include <decaf/lang/Runnable.h>
#include <decaf/util/concurrent/CountDownLatch.h>
#include <activemq/core/ActiveMQConnectionFactory.h>
#include <activemq/core/ActiveMQConnection.h>
#include <activemq/transport/DefaultTransportListener.h>
#include <activemq/library/ActiveMQCPP.h>
#include... |
289f82b1b63eafe937ea16859b01a99549d34db4 | 35376451f198aeaae05bc4b49aaa8535271487cf | /Minemonics/src/view/visualization/CEGUI/infopanels/graphpanels/MathGLPanel.hpp | bbb07f63ab51e36a68aa7f537a51dbafd3eb2c91 | [] | no_license | benelot/minemonics | 11d267619dc2a325841b6bec37a0cd4820ed8ed4 | e6e306dc704772a495afa3824f5f391703251e8c | refs/heads/master | 2022-06-21T15:31:06.041996 | 2022-06-10T21:39:09 | 2022-06-10T21:39:09 | 26,160,744 | 32 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 2,796 | hpp | MathGLPanel.hpp | #ifndef VIEW_VISUALIZATION_PANELS_MATHGLPANEL_H_
#define VIEW_VISUALIZATION_PANELS_MATHGLPANEL_H_
//# corresponding headers
#include <view/visualization/CEGUI/MovablePanel.hpp>
//# forward declarations
class ViewController;
namespace CEGUI {
class TextureTarget;
} /* namespace CEGUI */
//# system headers
//## control... |
e953ec10dbbaa12f4e7820561f6638a8245aa8d7 | 67453d5f23425d1c80440530880fcea1a36ef352 | /CSG/Segment.inl | 13cbe823167395446c1e53464948c314a5957a24 | [] | no_license | Seter17/CSG | b1d6da267d365da34111e051c8dfaaa3a061bfeb | fa8fd1773b63db420792a262080f82438db49211 | refs/heads/master | 2021-03-19T06:29:41.319702 | 2014-10-07T16:21:22 | 2014-10-07T16:21:38 | 24,658,232 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,276 | inl | Segment.inl | namespace enterprise_manager {
template <class T>
inline Ouint
Segment<T>::startIndex() const {
return _startIndex;
}
template <class T>
inline Ouint
Segment<T>::endIndex() const {
return _endIndex;
}
template <class T>
inline T
Segment<T>::startDistance() const {
return _startDistance;
}
... |
212750faf32b1283d6e9cbd27bb027eab27907d8 | 53fb03baf21e52d6213fafe452ee8997f81d026e | /lib/include/VectorIO.hpp | c411e55f107e7c9491a8e2caff70cdc3df8c0895 | [] | no_license | Delmond/Belief-Propagation | f6a7a3f8312b9ae528913692c79be6dfa5e1c19f | 72166cd6e5895108c5be0f626a97763033787178 | refs/heads/master | 2023-04-05T01:55:05.966420 | 2020-07-16T12:45:38 | 2020-07-16T12:45:38 | 363,995,427 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 629 | hpp | VectorIO.hpp | #ifndef VECTOR_IO_H
#define VECTOR_IO_H
#include <vector>
#include <string>
#include <fstream>
using namespace std;
class VectorIO {
public:
template<typename T>
static vector<T> loadFromFile(string fileName){
ifstream fileInput(fileName);
if(fileInput.fail()){
throw domain_error(... |
81d3473da2d6a9c5076c15919a629368b43686af | f2a8872ac0d158fb7a075dcb53cb17fb796813f5 | /complete/baekjoon1759.cpp | 18354d3113d6e8027b8a196ec928065a1c5d99c6 | [] | no_license | weaver9651/coding | e5478af67d75f632e4d3ec82c447ecbf018aca6a | ed18d3f228d1b8bb6ba94c5242e63397a8c32553 | refs/heads/master | 2023-06-13T02:06:37.606985 | 2023-05-26T18:52:44 | 2023-05-26T18:52:44 | 171,222,908 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,346 | cpp | baekjoon1759.cpp | #include <cstdio>
#include <iostream>
#include <string>
#include <vector>
#include <algorithm>
using namespace std;
/*
최소 1개 모음, 2개 자음
C : 문자 종류
L : 암호 자릿수
오름차순으로만 정렬
*/
int L, C;
vector<char> chars;
void In() {
scanf("%d%d", &L, &C);
char tmp;
scanf("%c", &tmp); // remove newline
for (int i = 0; i < C; i++... |
05d560952b3b1199fa45a150530afe317644360c | 58de9d2bc96c26ff3e7705d9eb3753717d915394 | /children.cpp | 766dc71f2b7ec0ffb7c666285d12ac1beb98fc6c | [] | no_license | ishaqsyed1/MCT-Device | 631b3473ee382e199d1e0fcf4bf073505a6a2215 | 5cf88d27d44b99d4e41c3c2a5e83002a1a710408 | refs/heads/main | 2023-07-18T15:58:09.540413 | 2021-09-17T16:21:02 | 2021-09-17T16:21:02 | 407,606,201 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 55 | cpp | children.cpp | #include "children.h"
children::children()
{
}
|
84ff0617c9141bca5c2606fe66fb2212a9c31568 | 92f39ae30f6e394151e568c6e7fa22a41b8d4d3a | /B - Sale.cpp | dbbdf7f66e376065948abbe77abf374026eaefcf | [] | no_license | rezavai92/Codeforces-Problem-Solutions | c3f7501f0e9fd369106cdb29e3c01f05a4b719e0 | 2f2485d74075f1a38381c348f4e17d58cb70f2bf | refs/heads/master | 2023-03-23T16:50:10.274762 | 2021-03-08T07:07:44 | 2021-03-08T07:07:44 | 282,690,833 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 378 | cpp | B - Sale.cpp | #include <iostream>
#include <bits/stdc++.h>
using namespace std;
int main (){
int n,m;
cin>>n>>m;
vector <int> prices;
while(n--){
int p;
cin>>p;
prices.push_back(p);
}
sort(prices.begin(),prices.end());
int sum=0;
for (int i=0;i<m;i++){
if (sum+prices[i]*(-1)>sum){
sum+= prices[i] * (-1);
... |
3146596d00fa7a04dfbd32410fa4f06bd9d10711 | 731d0d3e1d1cc11f31ca8f8c0aa7951814052c15 | /InetSpeed/winrt/impl/Windows.UI.Xaml.Automation.Text.2.h | a07c26a2bbbf923aab311d09d50ef5d5a8ee6e72 | [] | no_license | serzh82saratov/InetSpeedCppWinRT | 07623c08b5c8135c7d55c17fed1164c8d9e56c8f | e5051f8c44469bbed0488c1d38731afe874f8c1f | refs/heads/master | 2022-04-20T05:48:22.203411 | 2020-04-02T19:36:13 | 2020-04-02T19:36:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 252 | h | Windows.UI.Xaml.Automation.Text.2.h | // C++/WinRT v1.0.170717.1
// Copyright (c) 2017 Microsoft Corporation. All rights reserved.
#pragma once
#include "Windows.UI.Xaml.Automation.Text.1.h"
namespace winrt {
namespace Windows::UI::Xaml::Automation::Text {
}
namespace impl {
}
}
|
7ff00fb78334478386125addf0e02578322b0e5d | ee62284b179a1f4a1e93bdf639599de3f9ff6c5e | /KDIS/DataTypes/ConeRecord2.cpp | 43647ce29d081dd2b24df89869439d34fb4ce427 | [
"BSD-2-Clause",
"MIT"
] | permissive | jarvisfriends/KDIS | 3c96f272e838d6fbd616f548dc4a2eb139b64495 | 8a4482417c008c61783f311cccb3f37b7cd5e983 | refs/heads/master | 2020-03-28T08:10:32.445533 | 2018-09-09T02:45:22 | 2018-09-09T02:45:22 | 147,949,372 | 5 | 1 | null | 2018-09-09T02:45:23 | 2018-09-08T16:14:43 | C++ | UTF-8 | C++ | false | false | 7,617 | cpp | ConeRecord2.cpp | /*********************************************************************
Copyright 2013 Karl Jones
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above c... |
2888d5e732f2980ca51386bd04f3ae77101fd298 | 731538fa026cb5ed4a0360b907af7a3542e37f60 | /Algorithms/include/Utils.hpp | 2764b577e04aee00df7105374baaa64f826557d5 | [] | no_license | levonoganesyan/Algorithms | b096683ce3ab2a18fbcdf1950c7d2c83bddee833 | 99afbeb85bd0d935e5392d5de1ec583f4d9e51b6 | refs/heads/master | 2021-10-09T01:49:30.836790 | 2021-09-30T08:53:30 | 2021-09-30T08:53:30 | 183,884,777 | 17 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 2,238 | hpp | Utils.hpp | #pragma once
#include<algorithm>
#include"Utils.h"
#include<random>
namespace algo
{
template<typename T, typename... Others>
inline T max(T first, Others... others)
{
return std::max(first, max<T>(others...));
}
template<typename T>
inline T max(T first)
{
return first;
... |
ea8b65c1a0728b68c2b19407d273217cd57b061a | 3d6f999526ac252f5d68d564c553391c1c219825 | /srcs/client_src/EterLib/GrpTextInstance.cpp | 85eda2e98a41f75cf286f9a8ae8920ae59437b65 | [
"Unlicense"
] | permissive | kdoggdev/cncn_m2 | e77354257de654f6507bcd14f0589311318bcbc0 | 149087e114be2b35c3e1548f4d37d6618ae27442 | refs/heads/main | 2023-02-02T09:56:37.306125 | 2020-12-23T09:52:14 | 2020-12-23T09:52:14 | 337,634,606 | 0 | 1 | Unlicense | 2021-02-10T06:13:27 | 2021-02-10T06:13:27 | null | UHC | C++ | false | false | 27,754 | cpp | GrpTextInstance.cpp | #include "StdAfx.h"
#include "GrpTextInstance.h"
#include "StateManager.h"
#include "IME.h"
#include "TextTag.h"
#include "../EterLocale/StringCodec.h"
#include "../EterBase/Utils.h"
#include "../EterLocale/Arabic.h"
extern DWORD GetDefaultCodePage();
const float c_fFontFeather = 0.5f;
CDynamicPool<CGraphicTextInsta... |
7365168acd737eaeed526e1000f65625e1cf3b9e | a8bb3d0f358ee683642e5baf49305b9a4feabe4c | /include/Managers/MemoryManager.h | 65940252c5a49e9f2095200716668f5951f6a04b | [
"MIT"
] | permissive | rasidin/LimitEngineV2 | d43938ac7bb3258c46a0a614bfb353e468b9bc62 | 9475e0dbf5f624ab50f6490d36068d558ecdaee6 | refs/heads/master | 2023-03-13T01:13:26.613056 | 2021-03-01T14:49:13 | 2021-03-01T14:49:13 | 232,845,409 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 705 | h | MemoryManager.h | //
// LE_MemoryManager.h
// LimitEngine
//
// Created by hikaru on 2014/02/23.
//
//
#ifndef _LE_MEMORYMANAGER_H_
#define _LE_MEMORYMANAGER_H_
#include "LE_Singleton.h"
#include "LE_Memory.h"
namespace LimitEngine {
class MemoryManager : public Singleton<MemoryManager>
{
public:
MemoryManager(... |
b0f55b233333b2c0832dcb618a42f8ccd3710fc2 | 49b106553b81f419d8e80191fc1844083a7e9d1b | /src/main.cc | ea20694fa9faed4358b90b915b9b0b14b70053b6 | [
"MIT"
] | permissive | wilberth/sled-server | 38089e8cc6e634ab6b1255c05295a51e5be9fbb4 | 42b5822f4b5c736d98b156671b66b261244e05e4 | refs/heads/master | 2020-12-25T13:24:07.205847 | 2019-03-28T15:43:19 | 2019-03-28T15:43:19 | 20,514,463 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,280 | cc | main.cc | #include <syslog.h>
#include <getopt.h>
#include <stdexcept>
#include <utility>
#include <sys/types.h>
#include <sys/stat.h>
#include <pwd.h>
#include <sched.h>
#include <sys/mman.h>
#include <sys/time.h>
#include <sys/resource.h>
#include <execinfo.h>
#include <signal.h>
#include <string.h>
#include <stdio.h>
#inc... |
bfead38f44bebb22fb9bcf954fc4f8f76ade5c54 | e509715d24d33c7163a73bd0ac7965644c53ca35 | /NekoPlace/Engine/Collectors.hpp | edf5d3332763f68a97f0fe138a378c97c2aba181 | [] | no_license | SleepySquash/NekoPlace.cpp | 0b565d2ef2b728e6ef3ddc4196ec82d0c3a4f858 | 50ee2d4e4c532e88b6b7d40672d097191675d0d9 | refs/heads/master | 2020-04-19T07:32:14.224693 | 2019-05-22T19:46:01 | 2019-05-22T19:46:01 | 168,050,222 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 331 | hpp | Collectors.hpp | //
// Collectors.hpp
// NekoPlace
//
// Created by Никита Исаенко on 16/05/2019.
// Copyright © 2019 Melanholy Hill. All rights reserved.
//
#ifndef Collectors_hpp
#define Collectors_hpp
#include "Collectors/Font.hpp"
#include "Collectors/Image.hpp"
#include "Collectors/Sound.hpp"
#endif /* Collectors_hpp */
|
7a099ff6e84c2a25827112c535580cbdae15d4c4 | 191bf92db1a9f6df7c30e37a8f0a14d1c220a3bd | /231A.CPP | ebf025c43af8c28d938cf230bb6c5786bc8f4c2e | [] | no_license | doomsday861/Allofit | 958fa379296e1a4c9a78b25ab0fd7c222bb1f81a | 94d644e52a64ff2949ea731c569478e721fc71bf | refs/heads/master | 2023-01-04T12:35:10.447467 | 2022-12-28T09:30:18 | 2022-12-28T09:30:18 | 250,110,669 | 0 | 1 | null | 2021-01-11T09:20:21 | 2020-03-25T22:59:54 | C++ | UTF-8 | C++ | false | false | 820 | cpp | 231A.CPP | /**
* 231A codeforces
* Kartikeya (doomsday861)
**/
#include<bits/stdc++.h>
#include<time.h>
#define ll long long
#define testcase ll t;cin>>t;while(t--)
#define timeb auto start = high_resolution_clock::now();
#define timee auto stop = high_resolution_clock::now();auto duration = duration_cast<seconds>(stop - sta... |
843083141e53cd8f4ebdff3ecaf03d949eb73070 | bc1c491732a243a4deb837af59d8233b99f6b2c8 | /src/fan_controllers/fan_controllers.cpp | 1a63b1cad8af8eb23946c7e4f969f2c51589bde6 | [] | no_license | calw20/MARS | 066fc0bb2e915f00cde170a159bebd1d1d0dff3a | 33a29ea464905af9d9b2584cbf7a8d55b6a246d0 | refs/heads/master | 2023-03-31T20:03:16.451973 | 2021-01-06T02:58:59 | 2021-01-06T02:58:59 | 288,875,606 | 1 | 0 | null | 2020-12-23T03:37:47 | 2020-08-20T01:29:37 | C++ | UTF-8 | C++ | false | false | 2,573 | cpp | fan_controllers.cpp | #include "fan_controllers.h"
//Makes things look neater I guess?
bool FanController::init(){
DBG_FPRINTLN("Initializing Fan Controllers...");
marsRoot->data.transFanSpeed[1] = LOWER_SERVO_MAP; //These dont change
marsRoot->data.transFanSpeed[2] = UPPER_SERVO_MAP;
ESC.attach(ESC_PIN,1000,200... |
931b2b9a95803b43635b34f247f0efb0ae065265 | 9b337ae02d3ca11a029abb2c83cebbe888e37526 | /ros/src/crazyflie_takeoff/src/takeoff_server.cpp | 02de8c1cfb2d171b6c0e02056337ffbe6eba2bc9 | [
"BSD-3-Clause"
] | permissive | Bryceoz/crazyflie_clean | d7464a3b3f04a7823615d4ecf221a4c8f8496c80 | f202066fb91fbe5ce8b2cd20aca70f0156946b1b | refs/heads/master | 2021-04-27T22:16:21.932349 | 2018-04-20T04:31:43 | 2018-04-20T04:31:43 | 122,414,737 | 0 | 0 | null | 2018-02-22T01:14:36 | 2018-02-22T01:14:36 | null | UTF-8 | C++ | false | false | 20,971 | cpp | takeoff_server.cpp | /*
* Copyright (c) 2017, The Regents of the University of California (Regents).
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
* met:
*
* 1. Redistributions of source code must retain the a... |
00be0b96c1cf48f9ccb5732f36d2b64e4d7c21b1 | b4419ff9c947ea175aac8cbcc17a0996ed167fdd | /openGL3/Main.cpp | 60326c397a5ebd1aea19c7eacc84174b61a7e7dc | [] | no_license | RaphLJ/MyRepTest | 6178e821480ef4e3aa0ae40f37ff99ed5cbcefa3 | d5c9893b516542822d748ef6274b31c41b4af62a | refs/heads/master | 2021-01-10T16:12:05.639482 | 2016-03-18T10:34:32 | 2016-03-18T10:34:32 | 54,013,393 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 7,100 | cpp | Main.cpp | #include <GL/glew.h>
#include <GL/glut.h>
#include <iostream>
#include <vector>
#include <string>
#include <math.h>
#include "point.h"
#include "fichiers.h"
#include "structure.h"
#include "cameraGL.h"
#include <iostream>
#define PI 3.1415926535
using namespace std;
vector<point> vPoints;
bool autoriserAnim = false... |
afb45d445c21b1a8fa61fc8b9685967220eeef1b | b9795fea0bdd51f1b0656d97dfcab0210375ca06 | /SMTP_MIME/quoted.cpp | add8f12a16d4247ad228b8277c1ef4e9e9fed7bb | [] | no_license | lyj789/SMTP | 7e6c2a6d2c965062771ea2ce7fefa4674a577c8c | 549657e23ecc30dd92be7909e3b1f392bb7b8aa9 | refs/heads/master | 2020-05-07T21:29:46.601133 | 2019-04-12T01:41:58 | 2019-04-12T01:41:58 | 180,906,823 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 731 | cpp | quoted.cpp | #include "quoted.h"
QByteArray quoted::quoted_printable_decode(QByteArray inStr)
{
QByteArray dst;
QByteArray INSTR;
for(int i=0;i<inStr.size();i++)
{
if(inStr[i]=='=')
{
if(inStr.mid(i+1,2)=="\r\n")
{
//qDebug()<<"忽略";
... |
c884ce3a1116aaefcb7b1cf17762e87ed912f85d | 6f082dba3e8fcf78ec15829fdbb06a6ef723b9e3 | /puolue.h | e0141d2b2d02927d259999204fe4d2f020981c1b | [] | no_license | sanniovaska/vaalit | 4f135bdadb14bc1ab2e15df7d6d356eac50c872d | c702c9c43a61426ed55483c0f8a91c2c8b7e5bf0 | refs/heads/master | 2020-03-10T18:05:36.587921 | 2018-04-14T12:58:28 | 2018-04-14T12:58:28 | 129,516,932 | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 649 | h | puolue.h | #include <string>
#include <iostream>
#ifndef OTECPP_HT_PUOLUE_H
#define OTECPP_HT_PUOLUE_H
namespace otecpp_ht_puolue {
class Puolue {
std::string nimi;
int lkm; // valittujen ehdokkaiden määrä, negatiivinen jos tulosta ei vielä laskettu
public:
std::string getNimi() const ... |
e3cd0ee3e776e30e813b8beb77c648a0f0da42e7 | 4e38faaa2dc1d03375010fd90ad1d24322ed60a7 | /include/RED4ext/Scripting/Natives/Generated/anim/AnimNode_ForegroundSegmentBegin.hpp | 2e1799a43c90c5e93de35dface00eced6725656f | [
"MIT"
] | permissive | WopsS/RED4ext.SDK | 0a1caef8a4f957417ce8fb2fdbd821d24b3b9255 | 3a41c61f6d6f050545ab62681fb72f1efd276536 | refs/heads/master | 2023-08-31T08:21:07.310498 | 2023-08-18T20:51:18 | 2023-08-18T20:51:18 | 324,193,986 | 68 | 25 | MIT | 2023-08-18T20:51:20 | 2020-12-24T16:17:20 | C++ | UTF-8 | C++ | false | false | 704 | hpp | AnimNode_ForegroundSegmentBegin.hpp | #pragma once
// clang-format off
// This file is generated from the Game's Reflection data
#include <cstdint>
#include <RED4ext/Common.hpp>
#include <RED4ext/Scripting/Natives/Generated/anim/AnimNode_OnePoseInput.hpp>
namespace RED4ext
{
namespace anim
{
struct AnimNode_ForegroundSegmentBegin : anim::AnimNode_OnePo... |
9e22dea933e423dbf48f0bb85400c35aa7918493 | 8ca3cfd6bcb697b15ee0182695acda31c906312e | /SkimaServer/SkimaServer/LavaDamageSkill.h | bceda9b67f0e6ea254e45170eeba256cef3a1df5 | [
"MIT"
] | permissive | dlakwwkd/CommitAgain | ef9777c56e1fa9c75690850b33a00c1321a19efd | 3fdad38f7951b1a58ae244bd5d68f5a92e97f633 | refs/heads/master | 2021-01-01T18:08:02.607776 | 2015-10-19T20:56:16 | 2015-10-19T20:56:16 | 25,237,311 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 417 | h | LavaDamageSkill.h | #pragma once
#include "FieldType.h"
class Timer;
class LavaDamageSkill : public FieldType
{
public:
LavaDamageSkill(Player* owner);
virtual ~LavaDamageSkill();
virtual void SkillCast(SkillKey key, const b2Vec2& heroPos, const b2Vec2& targetPos){}
virtual void CastStop(){}
void LavaDamage(b2Vec2 c... |
8ab28dd8b93f66316c513574debf746a55c05939 | ad47bc852e986b442e7040bb18bb7d6c13bf8d96 | /UVA/920UVA.cpp | 472c380ba716bb603c83e2cfd1552f8e0389e150 | [] | no_license | iurisevero/Exercicios-PPC | bb94288ce33d72e7b69d00dc0d916cbf649f214f | a3d021ee87fe42dc5d8456d69c2c86867a9d4708 | refs/heads/master | 2023-07-23T13:43:20.718442 | 2023-07-12T23:31:50 | 2023-07-12T23:31:50 | 189,654,966 | 0 | 0 | null | 2019-10-02T21:07:28 | 2019-05-31T20:32:10 | C++ | UTF-8 | C++ | false | false | 1,036 | cpp | 920UVA.cpp | #include <bits/stdc++.h>
#define debug(x) cerr << #x << ": " << x << endl;
#define debug_pair(x) cerr << #x << ": " << x.first << " " << x.second << endl;
#define PI 3.14159265
using namespace std;
using ii = pair<int, int>;
using vi = vector<int>;
int main(){
int C;
cin >> C;
while(C--){
int N;
cin >> N;
p... |
e4568c419cd85fe04d4e20e0474b2cf4cd85f451 | 5f4abea3ed2dc752c6a245b24a8d4b06b0ce3c5e | /src/build/SimulationScene.hpp | 2a9b960de2b906dba5c3eb912f51a946688fc887 | [] | no_license | HerrCraziDev/projet-qt | 6edf6472ab69b8a73b809c2fc251f2165b39aa8e | 0134a129e93cd84e13d4664cc88b4041befae141 | refs/heads/master | 2020-03-16T15:49:32.049046 | 2018-05-30T10:41:26 | 2018-05-30T10:41:26 | 132,760,276 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,020 | hpp | SimulationScene.hpp | #ifndef SIMULATION_SCENE
#define SIMULATION_SCENE
#include <iostream>
#include <vector>
#include <map>
#include <QGraphicsScene>
#include <QGraphicsPixmapItem>
#include <QGraphicsRectItem>
#include <QtGui/QPixmap>
#include "SimulationController.hpp"
#include "settings.hpp"
class SimulationScene : public QGraphics... |
65d2972b08cac878038c60efe31e01e0e77120f6 | a57c55bbdd2ec560cdaa6d40a608b18676041411 | /C And Inspiration/12.C And Windows/8.C And Frame/CAndFrame.cpp | 381b18debdacdeb691d2e4d920359f4364816124 | [] | no_license | cristian357r4/Code-And-Inspiration | 77b8a058b39ec59d0e062378c8db2039141d6141 | e8df8e82ff04bb1d7bccd8ca3542868ab45adc88 | refs/heads/master | 2022-06-04T14:34:20.740679 | 2018-05-29T15:01:23 | 2018-05-29T15:01:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,491 | cpp | CAndFrame.cpp | #include"frame.h"
int Frame()
{
newFrame();
addLabel("label1",20,20,1100,160);
addButton("button1",50,50,100,50);
addButton("button2",250,50,100,50);
addCheckbox("checkbox1",450,50,100,50);
addTextArea("textArea1",650,50,100,100);
addList("list1",850,50,100,100);
addItem("list1","item1");
addItem("list1","item... |
513aac10554e9d34d915a0daddbc0f134ffd535b | 3fa24fa183d6a12d0cf6fa2af4d94e37e0044b72 | /src/string_processing.cpp | 8fe6f9550c4cb4be27fcdb8b7122273190c7eefa | [
"BSD-2-Clause"
] | permissive | mayhl/GFDCLS | 7958b006d060a96a7d03a3da6ff2956f335cf9ac | 521d058012f1d500718e45304c2a6754cfc3de2a | refs/heads/master | 2020-03-22T11:46:14.161943 | 2018-08-23T21:36:49 | 2018-08-23T21:36:49 | 139,994,904 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,932 | cpp | string_processing.cpp | //////////////////////////////////////////////////////////////////////////////////////
// //
// BSD 2 - Clause License //
// ... |
81e939e269a47a27e064f3938ec341e463d044c5 | ac2c7ce45a28c8ceb10d543944db90f6025e8a58 | /src/gltf/sampler.cpp | e22dcf35b9b9f2823d7c4953192893f4818f5ab3 | [
"MIT",
"BSD-3-Clause",
"Zlib",
"BSL-1.0"
] | permissive | degarashi/revenant | a5997ccc9090690abd03a19e749606c9cdf935d4 | 9e671320a5c8790f6bdd1b14934f81c37819f7b3 | refs/heads/master | 2021-01-11T00:15:06.876412 | 2019-09-08T13:00:26 | 2019-09-08T13:00:26 | 70,564,404 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,571 | cpp | sampler.cpp | #include "sampler.hpp"
#include "value_loader.hpp"
#include "check.hpp"
namespace rev::gltf {
namespace {
struct Filter {
GLenum type;
int iLinear;
MipState mip;
bool operator == (const GLenum t) const noexcept {
return type == t;
}
};
const Filter c_mag[] = {
{GL_NEAREST, 0, MipS... |
4fd760102f153101bdba735b1b58948f8d4a7b14 | 7298be87f17bdb97709339e06034368925e78c86 | /src/accepted/169.MajorityElement.cpp | a51723e595d7bf6655808a7e1ab5fe090621879a | [] | no_license | pigrange/LeetCodeStepByStep | 0ca4c50f0952889a2cc406064092f68e26bf4a25 | a6c9ee0afc2a5f18167be4e59406bbb5f10db809 | refs/heads/master | 2020-07-27T09:34:09.385082 | 2019-09-29T09:05:52 | 2019-09-29T09:05:52 | 209,046,833 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 470 | cpp | 169.MajorityElement.cpp | #include <algorithm>
#include <iostream>
#include <vector>
using namespace std;
class Solution {
public:
int majorityElement(vector<int>& nums) {
sort(nums.begin(), nums.end());
return nums[nums.size() / 2];
}
};
class Solution {
public:
int majorityElement(vector<int>& nums) {
int count = 0, candid... |
91e8c3cd215f6643482be04743ace7c1c0f78509 | 66c38cc853d2813b1b47f320e20b0161af33f51d | /src/peripheral/platform/devices/n900/sysinfo.cpp | 181d108bbdb0f94cb34a1d73030ffab001e71c8a | [
"MIT"
] | permissive | hbirchtree/coffeecutie | 9a0251f7344bb7850e1d10789dd445ec883fed42 | 71f452dcb24e98ef601da46da0ec252ba598b07f | refs/heads/master | 2023-08-09T12:10:01.871364 | 2020-05-31T01:57:54 | 2020-05-31T01:57:54 | 34,418,860 | 8 | 1 | MIT | 2020-04-15T16:42:51 | 2015-04-22T22:14:38 | C++ | UTF-8 | C++ | false | false | 124 | cpp | sysinfo.cpp | #include <coffee/core/plat/environment/maemo/sysinfo.h>
namespace Coffee{
namespace Environment{
namespace Maemo{
}
}
}
|
f1d6ca1d91b255d27fdbbb6510063e0874cb5ea8 | 80bef02d60e0b26f63d0ff7a1bcb52d723bad883 | /Source/Puzzle_Platforms/Puzzle_Platforms.cpp | 309104ab7530b1d010a65518a8fdfce4b583147f | [] | no_license | AlexDonisthorpe/Puzzle-Platformer | d945f66ee5445149bc8dc92ba0661d5347e83993 | 614f142fb4fbd359f51a63ce4aa44214b29564ef | refs/heads/master | 2023-07-27T19:55:23.078443 | 2021-09-11T20:31:37 | 2021-09-11T20:31:37 | 380,466,515 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 214 | cpp | Puzzle_Platforms.cpp | // Copyright Epic Games, Inc. All Rights Reserved.
#include "Puzzle_Platforms.h"
#include "Modules/ModuleManager.h"
IMPLEMENT_PRIMARY_GAME_MODULE( FDefaultGameModuleImpl, Puzzle_Platforms, "Puzzle_Platforms" );
|
e384d45cea3e3d87bca15063372f07d273d6c012 | d88aee6ee4f6c90e68bc27074ebc551da362992b | /SDS/day4/강사님 코드/강수량.cpp | 96133b90c55ec1a351bddf567552a0938b8410e2 | [] | no_license | hjy0951/Algorithm | ed04fd92c6c07e275377940435928bd569de5030 | a84428254aad376f5cbc57c4dfc1dfc500dbea76 | refs/heads/master | 2023-06-25T23:44:36.992766 | 2023-06-12T06:15:23 | 2023-06-12T06:15:23 | 232,743,643 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,098 | cpp | 강수량.cpp | #include<cstdio>
#include<vector>
#define pii pair<int,int>
using namespace std;
int n,m,i,d[200000],a,b,t,x,y,z,ex,ey;
vector<int>e,f;
int max(int a,int b){return a<b?b:a;}
int init(int p,int l,int r){
if(l==r)return d[p]=f[l];
return d[p]=max(init(p*2,l,(l+r)/2),init(p*2+1,(l+r)/2+1,r));
}
int q(in... |
c97b3c48901afc4ce29b744ffec52e1300ad7d21 | fc056b2e63f559087240fed1a77461eb72b2bf8e | /src/server/gameserver/skill/EffectActivation.cpp | ee3d2d132f09a5f3fabdebf1a70c237f08e69eda | [] | no_license | opendarkeden/server | 0bd3c59b837b1bd6e8c52c32ed6199ceb9fbee38 | 3c2054f5d9e16196fc32db70b237141d4a9738d1 | refs/heads/master | 2023-02-18T20:21:30.398896 | 2023-02-15T16:42:07 | 2023-02-15T16:42:07 | 42,562,951 | 48 | 37 | null | 2023-02-15T16:42:10 | 2015-09-16T03:42:35 | C++ | UHC | C++ | false | false | 3,043 | cpp | EffectActivation.cpp | //////////////////////////////////////////////////////////////////////////////
// Filename : EffectActivation.cpp
// Written by : elca
// Description :
//////////////////////////////////////////////////////////////////////////////
#include "EffectActivation.h"
#include "Slayer.h"
#include "GCRemoveEffect.h"
///... |
8e8c4762b6ac78541f181d96690845c4a7218994 | 6ee0a50017e366956cbffc6c3cba01f054116dd7 | /main.cpp | 4321091946a4eeb0d374be0e244faead65f5c91c | [] | no_license | nitasn/SearchingAlgoServer | 839ba3430609d17c2137e522800a0e95eb24e2c7 | 9d9216a9f5d5af3b8f4e3b3ed0b7358218bf1b9d | refs/heads/master | 2022-12-26T23:43:25.895235 | 2020-10-12T15:59:50 | 2020-10-12T15:59:50 | 233,412,113 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 953 | cpp | main.cpp | #include "matrixSearchable.h"
#include "Searchable.h"
#include <iostream>
#include "algorithmDFS.h"
#include "algorithmBFS.h"
#include "algorithmA_star.h"
#include "FileCacheManager.h"
#include "algorithmBestFirstSearch.h"
#include "SerialServer.h"
#include "OA.h"
#include "ParallelServer.h"
#include "log_info.h"
usin... |
ade8462cf4e757fb9b810fff3e678f06b397b3b4 | a89f280a3602a729cad6d592b29e961840d2e2f4 | /cpp/src/dotcpp/dot/precompiled.cpp | 7f533f7d206533360eed5c4c525749c143d2e3a4 | [
"Apache-2.0"
] | permissive | datacentricorg/datacentric-cpp | 9724eaf0bb27aae32323fd9ad8850c52d7148d6b | 252f642b1a81c2475050d48e9564eec0a561907e | refs/heads/master | 2020-06-20T22:31:07.071574 | 2020-01-22T05:48:41 | 2020-01-22T05:48:41 | 197,271,775 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 34 | cpp | precompiled.cpp | #include <dot/precompiled.hpp>
|
bb2de6ab9141a3f4eb993a19a54540a70b65815d | 7852ad083d3fb837171ff5b04173bee2a25ee354 | /ch10/10_12/Ex_10_12.cpp | 2675711525866f99b5cd4616e5b0654afc047266 | [] | no_license | SeA-xiAoD/Learning_OpenCV3_Homework | 2d19cde2063c148ce641393816fc3a4b4d4559da | 47dc1c90783a84c246c7013bd59bdad3464e116c | refs/heads/master | 2021-08-10T02:51:45.170860 | 2018-09-30T06:57:09 | 2018-09-30T06:57:09 | 136,334,801 | 4 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 697 | cpp | Ex_10_12.cpp | #include <opencv2/opencv.hpp>
#include <iostream>
using namespace std;
int main( int argc, char** argv )
{
cv::Mat origin_img = cv::imread("../faces.png");
// a
cv::Mat img1;
cv::resize(origin_img, img1, cv::Size(origin_img.rows / 2, origin_img.cols / 2));
cv::resize(img1, img1, cv::Size(img1.row... |
306b2b8ddc18165202ac947f6902df9ef384f0f7 | e69477ed1269a13acdb257a00d4a513d313cf441 | /백준/9095. 1, 2, 3 더하기.cpp | cdb280770cb180664bcfe106c68cad791e22dd33 | [] | no_license | thnoh1212/Practice | c21d44859c3264e36335d8a0873e328a0929a282 | aff9f2dd91eefa85aaf6d088449ea2df047e5225 | refs/heads/master | 2023-08-24T06:55:26.107951 | 2021-09-10T07:27:49 | 2021-09-10T07:27:49 | 176,422,331 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 523 | cpp | 9095. 1, 2, 3 더하기.cpp | // 전역변수로 count를 사용할 경우 여러 다른 함수와 이름이 겹쳐 모호함 발생. cnt 사용
#include <iostream>
using namespace std;
int cnt = 0;
void dfs(int now, const int target) {
if (now == target) {
cnt++;
return;
}
else if (now > target) return;
else {
dfs(now + 1, target);
dfs(now + 2, target);
dfs(now + 3, target);
}
}
int ... |
7d37d38d12e02e327ff8001e460c29487a333c42 | d0413c1838a49acb11ccdcd7470db15ebfcd6ac7 | /xcore/cl_csc_handler.cpp | cf7e5bc70715c3367bd27121b1118a9adfb7c0af | [
"Apache-2.0"
] | permissive | zjutoe/libxcam | a851f0ac77f865e41f7a560a6ce21d086611ebac | 9d00f12095ff326b60967a502794bd11d339c211 | refs/heads/master | 2021-01-18T10:05:24.911704 | 2015-04-20T06:31:57 | 2015-04-20T06:31:57 | 32,000,911 | 0 | 0 | null | 2015-03-11T05:53:32 | 2015-03-11T05:53:32 | null | UTF-8 | C++ | false | false | 4,677 | cpp | cl_csc_handler.cpp | /*
* cl_csc_handler.cpp - CL csc handler
*
* Copyright (c) 2015 Intel 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... |
fda9f739487cd1c7215482f4705bb09deeced3ca | c3b51a1d48184f276cbabd9af01b476d379b2290 | /with buttons/with buttons/with buttons.ino | b61f7958689e64696fad5ef19b23c9ee7d1f3c61 | [] | no_license | thetechwells/ArduinoUno-DC-motor-Controler | 1b14792fa2bffc48012b56647856be71fd2503f9 | b5b1c085981015fbcdfdbd293cfddb66ef60690f | refs/heads/master | 2016-08-05T13:18:50.804901 | 2015-01-21T01:28:51 | 2015-01-21T01:28:51 | 29,506,542 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 597 | ino | with buttons.ino |
// Pin 2
const int led = 2;
const int but1 = A0;
const int but2 = A1;
int seconds = 0
// the setup routine runs once when you press reset:
void setup() {
// initialize the digital pin as an output:
pinMode(led, OUTPUT);
// initialize serial communications:
Serial.begin(9600)
}
void loop() ... |
61f70870b55b3e30e04a681b4acb2e7ebb4005b4 | 48f8148b8dbabab86dfd6e86ab7dd5dffaeb3cd0 | /code/scalingGHonGIRGs.cpp | 8d075edb4432c0bd74bfd63c65eb156e08eed3e2 | [
"MIT"
] | permissive | chistopher/scale-free-flow | b9eb28ff0029c553dc2049a63d4bf6dc1d370618 | 2db5fe9563a459035b38b449a293aecbac32710f | refs/heads/main | 2023-06-16T08:06:04.640719 | 2021-06-30T11:07:20 | 2021-06-30T11:07:20 | 381,657,327 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,738 | cpp | scalingGHonGIRGs.cpp |
#include <iostream>
#include <fstream>
#include <random>
#include <set>
#include <common.h>
#include <utils.h>
#include <ScopedTimer.hpp>
#include <Dinics.h>
#include <PushRelabel.h>
#include <BoykovKolmogorov.h>
#include <girgs/Generator.h>
#define rep(a, b) for(int a = 0; a < (b); ++a)
#define all(a) (a).b... |
23d9620c46f10e849e270d378fb5338d90638392 | 1b84151373c34fb47d64011b0ee3125ef5ca7b8c | /dotnet-tracer/main/OpenCover.Profiler/ExceptionHandler.h | 93cc2765c98f3d5848ce8137d037049347a76377 | [
"Apache-2.0",
"MIT",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-generic-cla"
] | permissive | codedx/codepulse | 63459170fc4b66c639bb17f15ca537865e744ddc | 919343f7b455b198daa215e5f3e7cff6f758722a | refs/heads/master | 2022-12-16T18:59:40.716888 | 2021-05-21T12:08:39 | 2021-05-21T12:08:39 | 18,062,312 | 81 | 24 | Apache-2.0 | 2022-12-07T19:29:21 | 2014-03-24T12:49:44 | HTML | UTF-8 | C++ | false | false | 1,250 | h | ExceptionHandler.h | //
// OpenCover - S Wilde
//
// This source code is released under the MIT License; see the accompanying license file.
//
// Modified work Copyright 2017 Secure Decisions, a division of Applied Visions, Inc.
//
#include "Instruction.h"
#pragma once
namespace Instrumentation
{
class ExceptionHandler;
c... |
8d9689bcb192212b85152ba91a355a6bd8ad12ee | 5a4424dbd8361e0efbce34f873c269bdb61f56b7 | /source/sockets/HttpConnection.h | fa01184cbe5f7e41c80b72fe19b42729f5d7b6d1 | [] | no_license | AutoFrenzy/Lunatic | 0b467da7faf3dc6a83cf2e97c1f63dd858351870 | d783ec19a1c7bc1c3e439d0e5f380672bef00333 | refs/heads/master | 2021-01-17T22:55:46.590561 | 2011-10-16T22:30:51 | 2011-10-16T22:30:51 | 2,584,958 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,401 | h | HttpConnection.h | #ifndef MUUS_SOCKETS_HTTPCONNECTION_H_INCLUDED
#define MUUS_SOCKETS_HTTPCONNECTION_H_INCLUDED
#include "sockcommon.h"
#include "SocketSet.h"
#include <map>
#include <vector>
namespace sockets {
class HttpConnection {
SocketSet set;
bool posting;
bool _done;
string url;
string postData;
... |
85c6676694f929affa935a85f3e45946e99ed37d | 7df5fae6fc1ebd2c3896361a9eb2feea1f1a73df | /obs/src/cpp/Data/DC_ControlAction.h | c8aba944b304b5e0cedce3c12885d179e9493ef8 | [] | no_license | jentlestea1/obs_xslt | bd7c35a71698a17d4e89c4122fbd8bb450f56ce9 | d22394be1712f956fccf20e31204b8f961a8ee05 | refs/heads/master | 2021-05-11T06:50:25.310161 | 2018-01-18T15:13:28 | 2018-01-18T15:13:28 | 117,998,474 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,966 | h | DC_ControlAction.h | //
// Copyright 2004 P&P Software GmbH - All Rights Reserved
//
// DC_ControlAction.h
//
// Version 1.0
// Date 28.07.03 (version 1.0)
// Author A. Pasetti (P&P Software)
#ifndef DC_ControlActionH
#define DC_ControlActionH
#include "../GeneralInclude/BasicTypes.h"
#include "../Base/ConditionalPunctualAc... |
34f2ec9bc03c5c283c7c38ab0113b267d7b5e9f4 | 683cb50f5e9d4153388fa3780fcc0baabbd06d32 | /vendored/re2c/bootstrap/src/msg/help.cc | 81812b044514ec1eea56fea057d1c5ee96004b8a | [
"MIT",
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain"
] | permissive | obazl/sealark | fe7f99891dd5c8dde71dc24d6d810a4f7b15941a | 4b68617999e79285110ad507499e916ebf7f6975 | refs/heads/main | 2023-08-13T19:35:37.263061 | 2021-09-05T02:03:07 | 2021-09-05T02:03:07 | 382,482,230 | 7 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,810 | cc | help.cc | extern const char *help;
const char *help =
"USAGE\n"
" re2c [OPTION...] INPUT [-o OUTPUT]\n"
"\n"
" re2go [OPTION...] INPUT [-o OUTPUT]\n"
"\n"
"OPTIONS\n"
" -? -h --help\n"
" Show help message.\n"
"\n"
" -1 --single-pass\n"
" Deprecated. Does nothing (single pass is ... |
67a45d46874e4bf639f81fe1b0a2b0503992d6e6 | b6c85036a88d5b3171a6c79de9e310f42f55acd6 | /ranntousyougi_forgit/source/number.cpp | f0d00b93f688791393d94f712cd385b10cd861a9 | [] | no_license | HAL-TOM/ranntousyougi | 91d299040ce1c00c56f1b6cf655520596dd7dd14 | 580cdd53690b9db009431818d63c184a284507e8 | refs/heads/main | 2023-04-07T10:25:50.057147 | 2021-04-10T02:31:21 | 2021-04-10T02:31:21 | 337,283,085 | 1 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 5,224 | cpp | number.cpp | #include"main.h"
#include"renderer.h"
#include"game_object.h"
#include"scene.h"
#include"camera.h"
#include"manager.h"
#include "number.h"
CNumber::CNumber()
{
}
CNumber::~CNumber()
{
}
ID3D11ShaderResourceView* CNumber::m_texture =nullptr;
void CNumber::Load()
{
//テクスチャ読み込み
D3DX11CreateShaderR... |
9d0916f28e2dfbb4f5bd490edc81f388ab8272de | 11866e064c1a1248cc46b90009713f06ee2133ee | /Armadillo/AEFrameBuffer.h | c358cfbf8ab5cc152055e4edab93d9d6ef767a9d | [] | no_license | Szort/modern_opengl | d0edd1d31db32702424f22f19bb639a109b42460 | 137563d57199b9b6c61f21fe6d0f7d73b1a322a0 | refs/heads/master | 2021-07-20T04:39:45.767634 | 2019-10-30T22:00:14 | 2019-10-30T22:00:14 | 158,931,206 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 601 | h | AEFrameBuffer.h | #pragma once
#include "AEViewport.h"
enum AEGBufferTexture
{
eAE_GBuffer_WorldPosition,
eAE_GBuffer_Albedo,
eAE_GBuffer_Normal,
eAE_GBuffer_Depth,
eAE_GBuffer_Count
};
class AEFrameBuffer
{
uint32_t framebuffer;
uint32_t textures[eAE_GBuffer_Count];
uint32_t GBufferDrawAttachemnts[3] = {
GL_COLOR_ATTACHME... |
56e64ffe08853a5f3dd643b6b944ac837366715c | 4d663aa2c3e31e261116479579bea5023e6306c1 | /CodeExamples/AI/TerrainAnalysis/Source/Student/Project_1/ControlFlow/C_ParallelSequencer.h | ef7e79989e64f887ee31d3fdc73f54abd42bf41a | [] | no_license | rmomin855/Projects | 69f66035942a389d6600a52c8a5a33a4c3c3ade3 | db1734ae3b327e4972d29181787a4e8e02300cfe | refs/heads/main | 2023-04-15T18:07:13.877013 | 2021-04-29T11:40:13 | 2021-04-29T11:40:13 | 348,859,358 | 0 | 1 | null | 2021-03-17T22:24:50 | 2021-03-17T21:40:31 | C++ | UTF-8 | C++ | false | false | 174 | h | C_ParallelSequencer.h | #pragma once
#include "BehaviorNode.h"
class C_ParallelSequencer : public BaseNode<C_ParallelSequencer>
{
protected:
virtual void on_update(float dt) override;
}; |
7f889e38311c5f73d59741536e48242dddd2581b | c8b39acfd4a857dc15ed3375e0d93e75fa3f1f64 | /Engine/Source/Runtime/CoreUObject/Public/Serialization/ArchiveReferenceMarker.h | 6e63d4a4b7e54e754e5bfcd42f78f014a6ba8449 | [
"MIT",
"LicenseRef-scancode-proprietary-license"
] | permissive | windystrife/UnrealEngine_NVIDIAGameWorks | c3c7863083653caf1bc67d3ef104fb4b9f302e2a | b50e6338a7c5b26374d66306ebc7807541ff815e | refs/heads/4.18-GameWorks | 2023-03-11T02:50:08.471040 | 2022-01-13T20:50:29 | 2022-01-13T20:50:29 | 124,100,479 | 262 | 179 | MIT | 2022-12-16T05:36:38 | 2018-03-06T15:44:09 | C++ | UTF-8 | C++ | false | false | 1,862 | h | ArchiveReferenceMarker.h | // Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "UObject/Object.h"
#include "Serialization/ArchiveUObject.h"
/**
* This archive marks all objects referenced by the specified "root set" of objects.
*/
class FArchiveReferenceMarker : public FArchiveUObject
... |
95150d507aa78a5b8ba0ff65ec2ee894ee3e46bc | 830edb1a4ac22eb2a69f68bb05863cd4522e32d3 | /src/cpp/wkbreader.cpp | 5ccbf43c2ab5754505faa64fbab20ff44e612318 | [
"MIT"
] | permissive | warrenwyf/node-geos | 74c855335410d7e6a9ca50f43cd9cfa7d3fe7c69 | f3de92fc109be15bb2df079a548cd4b3146fb9e3 | refs/heads/master | 2021-01-18T12:31:14.968570 | 2015-02-04T05:05:36 | 2015-02-04T05:05:36 | 30,280,248 | 0 | 0 | null | 2015-02-04T03:52:40 | 2015-02-04T03:52:40 | null | UTF-8 | C++ | false | false | 1,911 | cpp | wkbreader.cpp | #include "wkbreader.hpp"
#include <sstream>
WKBReader::WKBReader() {
_reader = new geos::io::WKBReader();
}
WKBReader::WKBReader(const geos::geom::GeometryFactory *gf) {
_reader = new geos::io::WKBReader(*gf);
}
WKBReader::~WKBReader() {}
Persistent<FunctionTemplate> WKBReader::constructor;
void WKBReader:... |
ba1a131990712d6e88030e9e4ecbed2812224c08 | def993d87717cd42a9090a17d9c1df5648e924ce | /src/IECoreNuke/DisplayIop.cpp | 4f3ba5f9587c81efbee709e88cddd37bb3505c19 | [
"BSD-2-Clause",
"BSD-3-Clause"
] | permissive | ImageEngine/cortex | 688388296aad2b36dd0bfb7da7b25dcbdc7bd856 | 6eec66f5dccfd50dda247b04453bce65abc595eb | refs/heads/main | 2023-09-05T07:01:13.679207 | 2023-08-17T23:14:41 | 2023-08-17T23:14:41 | 10,654,465 | 439 | 104 | NOASSERTION | 2023-09-14T11:30:41 | 2013-06-12T23:12:28 | C++ | UTF-8 | C++ | false | false | 10,140 | cpp | DisplayIop.cpp | //////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2012, J3P LLC. All rights reserved.
//
// Copyright (c) 2013, Image Engine Design Inc. All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided ... |
1e20992f00c021254dda565cd3747678553cd826 | b98b2c6fb9c1e83786bec93203bc8e70d4857ed8 | /5.cpp | d4d2a71776162682e0173b53ac4a0884386dc746 | [] | no_license | Hell4U/CodeJam | 8262f2bc00ad2b91977a08d265ba781b5ccf6029 | 7f67c5c1d3d4e9cd160d766b9a2645c2663de85d | refs/heads/master | 2021-05-22T13:31:42.513400 | 2020-04-05T05:12:10 | 2020-04-05T05:12:10 | 252,947,551 | 0 | 0 | null | 2020-04-04T08:32:54 | 2020-04-04T08:31:43 | null | UTF-8 | C++ | false | false | 1,217 | cpp | 5.cpp | #include <iostream>
#include<bits/stdc++.h>
using namespace std;
int mat[51][51],n,k;
bool rs[55][55],cs[55][55],done;
int p=0;
void indi(int r,int c,int trace);
int main() {
int t;
cin>>t;
p=0;
while(t--)
{
p++;
cin>>n>>k;
indi(1,1,0);
if(!done)
{
cout << "Case #"<<p<<": ... |
6307b95c7804cb6cf8805a3828503b3008b5c8d2 | 71f8c321d55394719a3f21baf6bce84268f1ae3a | /VECTAR7.cpp | dd808d9c44c85af3cb474e34c4c535b1e1702fc6 | [] | no_license | crazymerlyn/spoj | 23fce670514526284ec7abe93f7c79862a42b32b | 2db89a5fe032b26169c2ad50d26b93276d0ef4c3 | refs/heads/master | 2022-09-19T21:45:12.375111 | 2022-08-27T14:45:12 | 2022-08-27T14:45:12 | 180,408,919 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 832 | cpp | VECTAR7.cpp | #include <bits/stdc++.h>
using namespace std;
long long mod = 1e9 + 7;
long long mypow(long long a, long long b) {
long long res = 1;
while (b) {
if (b % 2) res = res * a % mod;
a = a * a % mod;
b /= 2;
}
return res;
}
long long comb(int n, int r) {
long long num = 1, deno... |
2cb2f087d97b1450ba535ae7e28c0f80023e3721 | 8a4a0742a8d8fc96d4a13c24ec98293b83d55368 | /leetcode.051-100/090.subsets-ii/main.cpp | a8c67681c5a843aa9610b5e080415d6f11a0f15e | [
"MIT"
] | permissive | cloudy064/leetcode | 5cee7968a30706450772d2593de4adb0a36db259 | b85ec4aed57542247ac4762883bd7fe80b3cfbab | refs/heads/master | 2020-03-20T19:10:51.147123 | 2019-04-12T09:22:32 | 2019-04-12T09:22:32 | 137,625,270 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,808 | cpp | main.cpp | //
// main.cpp
// leetcode.050-100
//
// Created by 常永耘 on 2019/4/12.
// Copyright © 2019 cloudy064. All rights reserved.
//
#include "common.h"
class Solution {
public:
vector<vector<int>> subsetsWithDup(vector<int>& nums) {
if (nums.empty()) return {};
sort(nums.begin(), nums.end())... |
b5ecc5c44f67004841e4b5c3f0b463035b2c9e1c | 39a1d46fdf2acb22759774a027a09aa9d10103ba | /inference-engine/src/transformations/src/transformations/common_optimizations/mul_fake_quantize_fusion.cpp | 1fcff0ac15cc4f297bf0aff00d2ea481cae7872e | [
"Apache-2.0"
] | permissive | mashoujiang/openvino | 32c9c325ffe44f93a15e87305affd6099d40f3bc | bc3642538190a622265560be6d88096a18d8a842 | refs/heads/master | 2023-07-28T19:39:36.803623 | 2021-07-16T15:55:05 | 2021-07-16T15:55:05 | 355,786,209 | 1 | 3 | Apache-2.0 | 2021-06-30T01:32:47 | 2021-04-08T06:22:16 | C++ | UTF-8 | C++ | false | false | 6,472 | cpp | mul_fake_quantize_fusion.cpp | // Copyright (C) 2018-2021 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
#include "transformations/common_optimizations/mul_fake_quantize_fusion.hpp"
#include "transformations/utils/utils.hpp"
#include <memory>
#include <vector>
#include <ngraph/opsets/opset5.hpp>
#include <ngraph/rt_info.hpp>
#include... |
5576969db089750955855d31237d370dad1cb8d0 | 96a72e0b2c2dae850d67019bc26b73864e680baa | /Study/System/Lecture/source/Chap.05/EchoSvrESWP/WaitPool.h | 07dc3b6ccf955028404a177e3669e4f752e8a777 | [] | no_license | SeaCanFly/CODE | 7c06a81ef04d14f064e2ac9737428da88f0957c7 | edf9423eb074861daf5063310a894d7870fa7b84 | refs/heads/master | 2021-04-12T12:15:58.237501 | 2019-07-15T05:02:09 | 2019-07-15T05:02:09 | 126,703,006 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 466 | h | WaitPool.h | #pragma once
#include "set"
#include "map"
typedef PVOID WP_ITEM;
typedef PVOID WP_SET;
typedef void(WINAPI *PFN_WICB)(PVOID pParma);
class WaitPool
{
typedef std::map<HANDLE, WP_ITEM> ITEM_MAP;
ITEM_MAP m_waits;
HANDLE m_hmuMap;
typedef std::set<WP_SET> ITEM_SET;
ITEM_SET m_sets;
HANDLE m_hmuSet;
public:... |
45a043d3c0ad641f901a4c0876032dfa9713a9cd | 6c3a8aa11aa1b8377819948832424bab23848aad | /AsrServiceProxy/config/include/detail/config_delayed_merge_object.hpp | f5c6a2d16bb540c074bdf4b71f6d899efecec34a | [] | no_license | Lance-Gao/OneThingAssist | ba1dba04b403b17982a65058b88045e3c9744142 | 6a761e992e05b800dc20911d53d0c90a2c0d5e06 | refs/heads/master | 2023-08-04T06:02:56.809040 | 2021-09-13T10:58:10 | 2021-09-13T10:58:10 | 380,262,801 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,688 | hpp | config_delayed_merge_object.hpp |
#ifndef CONFIG_CONFIG_DELAYED_MERGE_OBJECT_HPP
#define CONFIG_CONFIG_DELAYED_MERGE_OBJECT_HPP
#include "detail/abstract_config_object.hpp"
#include "detail/unmergeable.hpp"
#include "detail/replaceable_merge_stack.hpp"
#include "detail/resolve_replacer.hpp"
namespace config {
///
/// _this is just like ... |
daca6d76f267a1fab062d01fb559c4488b928da7 | 37d433dd8d5d0968fcd7866e98e85d25290f90fc | /test/bdev/bdevc++/io/IoPoller.cpp | 5ef003d88ed25389a8b7ce3b535d30e2bf279d4e | [
"BSD-3-Clause"
] | permissive | janlt/spdk | 454294b7e17526922902d8d83c99c99563e67a8a | 263a281579bd956acf596cd3587872c209050816 | refs/heads/master | 2021-05-18T20:06:26.695445 | 2020-09-24T08:17:51 | 2020-09-24T08:17:51 | 251,393,718 | 1 | 0 | NOASSERTION | 2020-03-30T18:29:01 | 2020-03-30T18:29:00 | null | UTF-8 | C++ | false | false | 3,434 | cpp | IoPoller.cpp | /**
* Copyright (c) 2019 Intel 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 law or... |
1752ed08b369b1aafa62dc170268f31d31fb85b2 | 5af68d43b182694e6955be8de0a84ecea20c078d | /BlackCat.Core/Core/Container/bcVector.h | 2014824f28e9dbf9e7922a4d49eec0fd5383dffe | [] | no_license | coder965/BlackCat-Engine | 1ed5c3d33c67c537eaa1ae7d1afe40192296e03f | a692f95d5c5f0c86ababa0c5ecc06531f569f500 | refs/heads/master | 2020-03-18T21:41:31.035603 | 2017-04-15T16:53:26 | 2017-04-15T16:53:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 32,584 | h | bcVector.h | // [12/20/2014 MRB]
#pragma once
#include "Core/CorePCH.h"
#include "Core/Container/bcContainer.h"
namespace black_cat
{
namespace core
{
template < typename T, class TAllocator >
class bc_vector_base : public bc_container< T, TAllocator >
{
public:
using this_type = bc_vector_base;
using base_type =... |
b2cdf059b6bd2fc2a26168c919c10c8cf9bf4aed | e6371798f9d463deb9438275b116689c1f8c4452 | /src/main_lbm_reference.cpp | e2b1b0269bc67e41aa262034d06e7bdc3a6ae3ec | [
"MIT"
] | permissive | rksin8/firesim | e46c2294f1210999e4187a1178d8becd94137917 | 7cffddbcee5f92f325da19b533e17f9a6fd9eb33 | refs/heads/master | 2020-12-13T16:14:06.245082 | 2014-01-05T14:24:59 | 2014-01-05T14:24:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 788 | cpp | main_lbm_reference.cpp | //! \file main_lbm_reference.cpp
//! \date Mar 24, 2009
//! \author Florian Rathgeber
#ifndef RealType
#define RealType float
#endif
#include <iostream>
#include "lbm/LBM.h"
#include "lbm/LBM_def.h"
//! Main function
//! Runs a Lattice Boltzmann simulation according to the configuration file given.
//! \note The... |
bb4e7f99d549562b685447c58d9d7339448eca92 | aab5fac70cd96d09307ecced10a2f81e2e7dc319 | /seminars/seminar20/type_traits/1_integral_const.cpp | 58d65a201a6fa815acb7e561e160e98519a726e4 | [] | no_license | morell5/HSE-Course | 7c74c2f23055a30f0f93490a79dfda442ac155a9 | 9c75a83a247dbe64918c823b584ac713580251f6 | refs/heads/master | 2023-07-14T22:01:03.746863 | 2021-08-22T10:06:25 | 2021-08-22T10:06:25 | 293,108,056 | 13 | 66 | null | 2021-06-15T16:12:43 | 2020-09-05T15:59:41 | C++ | UTF-8 | C++ | false | false | 301 | cpp | 1_integral_const.cpp | #include <type_traits>
#include <utility>
template <typename T, T v>
struct IntegralConst {
static constexpr T kValue = v;
};
template <bool B>
using BoolConstant = IntegralConst<bool, B>;
using TrueType = BoolConstant<true>;
using FalseType = BoolConstant<false>;
int main() {
return 0;
} |
6daf9afa09c37393f280dd570c8a241ee80886ec | 710ac923ad7aaaf3c59882a057a2ebbe159ef135 | /Docs/LuaAPI/Source/Script.inl | cb6c56393bd423ce44fbf962df5bfe29cc8165bc | [
"Zlib"
] | permissive | lennonchan/OgreKit | 3e8ec4b0f21653cb668d5cd7d58acc8d45de6a96 | ac5ca9b9731ce5f8eb145e7a8414e781f34057ab | refs/heads/master | 2021-01-01T06:04:40.107584 | 2013-04-19T05:02:42 | 2013-04-19T05:02:42 | 9,538,177 | 1 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 1,570 | inl | Script.inl | /*!
<!-- ============================================ LuaScript ============================================ -->
\LuaClass{LuaScript}
\beginmenu{Methods}
\LuaMethodMenu{LuaScript,execute}
\LuaMethodMenu{LuaScript,getName}
\endmenu
\endpage
<!-- ======================================== -->
\LuaMethod{LuaScript,ex... |
b15ddecd741fcf76c447cb09994ab23089a0a700 | 3e9986044346eee9956f855e300ee50730d99610 | /Highlighted Projects/Lexical Analyzer/Cache.pb.cc | 12572ce08db71cacfb230b93d56ef672515ddfbb | [] | no_license | roosterhat/Personal | b2b16a641ffccaa314507f43a2b5b5b1d166d37a | 830fdf71fcac1aad8473c02c8cffb498b924efd9 | refs/heads/master | 2023-09-01T09:31:00.791862 | 2023-08-30T21:47:58 | 2023-08-30T21:47:58 | 81,906,978 | 0 | 1 | null | 2023-07-20T18:32:02 | 2017-02-14T05:03:12 | Racket | UTF-8 | C++ | false | true | 85,037 | cc | Cache.pb.cc | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: Cache.proto
#include "Cache.pb.h"
#include <algorithm>
#include <google/protobuf/io/coded_stream.h>
#include <google/protobuf/extension_set.h>
#include <google/protobuf/wire_format_lite.h>
#include <google/protobuf/descriptor.h>
#include <google/... |
abecd2c4383f07b467969e2a41aca0b1ccaa644c | 8a2fb4d3076f008db245efae540041fc3eace4d6 | /HawkUtil/HawkLogger.cpp | a7109693f8e2320595a0c3bf5d0eff77a437276a | [] | no_license | hawkproject/hawkproject | f536953ef6df199b2b93cee5672fa4a4cca23c36 | e781fd463f24e5a4c54cbd8c2bf34f4d36906ae4 | refs/heads/master | 2021-01-22T09:26:32.063606 | 2014-07-23T10:22:43 | 2014-07-23T10:22:43 | 13,612,604 | 6 | 5 | null | null | null | null | UTF-8 | C++ | false | false | 2,419 | cpp | HawkLogger.cpp | #include "HawkLogger.h"
#include "HawkOSOperator.h"
#include "HawkStringUtil.h"
#include "HawkLoggerManager.h"
namespace Hawk
{
HawkLogger::HawkLogger(const AString& sFile, Bool bAppend)
{
m_pFile = 0;
m_sFileName = sFile;
m_bAppend = bAppend;
m_pMutex = new HawkMutex;
HawkOSOperator::MakeSureFileName(... |
325d45aa176b1ba5720b2835bd2a50e44067ca21 | a5978a0c412e0a8b8bf7d4d9cf05a60057566804 | /Group-Elments-Based-On-Their-First-Occurrence.cpp | 80200aad57fa84cd4bc77f617e4f32272dc28de5 | [] | no_license | hemant-45/Coding-Interview-Questions | 65a494f8fc926d467bbf499c7b6e2de24252e603 | f1af95cb5fb832972ff629308934623cebf30a07 | refs/heads/master | 2022-10-03T19:37:35.423346 | 2020-06-07T12:53:12 | 2020-06-07T12:53:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 503 | cpp | Group-Elments-Based-On-Their-First-Occurrence.cpp | // Group Elements of an Array based on their First Occurrence
// https://www.techiedelight.com/group-elements-array-based-first-occurrence/
#include<bits/stdc++.h>
using namespace std;
int main(){
int a[] = {1,2,3,1,2,1,3};
int n = sizeof(a) / sizeof(int);
unordered_map <int,int> Map;
for(int i=0;... |
ef764d3c9fc8078021b811879223847e2435f174 | 283b945850fdcc78977995451d51c2c0cea63ffa | /include/model/setter_impl.hh | 2e9eadad033ad63a4e852d1b8698045b46e260e9 | [
"BSD-2-Clause"
] | permissive | adegroote/hyper | fafae29db75afd9293c258b174f3c3865bbef643 | 11b442f4d4a6a8098723652d3711ebd8e8dccf45 | refs/heads/master | 2016-09-05T12:08:58.591421 | 2013-11-19T15:17:22 | 2013-11-19T15:17:22 | 4,157,374 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,733 | hh | setter_impl.hh | #ifndef HYPER_MODEL_SETTER_IMPL_HH_
#define HYPER_MODEL_SETTER_IMPL_HH_
#include <model/setter.hh>
#include <model/proxy.hh>
#include <boost/variant/apply_visitor.hpp>
namespace hyper {
namespace model {
namespace setter_details {
template <typename T>
struct proxy {
boost::optional<T> tmp;
remote_... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.