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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
d65817fdf898f217c8d6cb33418189e57822a34d | 536d98d934abdbdecb7fcdc5b20e62705c946904 | /Binary Search Trees/Inorder Successor.cpp | 090c956e5f054fc9aaf4c6bdcf23dc6dd007acb8 | [] | no_license | bharath-r/DataStructures | 9a96f69ceea91269f0e873bafabffef5effbcd08 | 368dba2c76015b65097a6bd9ffe9e9054f65cdb1 | refs/heads/master | 2020-06-23T05:30:40.234946 | 2019-12-02T20:27:01 | 2019-12-02T20:27:01 | 198,530,466 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,329 | cpp | Inorder Successor.cpp | // Level Order Traversal (Breadth-First).cpp : This file contains the 'main' function. Program execution begins and ends there.
//
#include "pch.h"
using namespace std;
#include <iostream>
#include <queue>
struct BstNode {
int data;
BstNode* left;
BstNode* right;
};
BstNode* GetNewNode(int data) {
BstNode* newN... |
c98a2fdbcc0ff1ba1e55c50b1906ca38a24908bf | 9af35abd54187425336f9947dd8ea1cfaacdd42f | /cpp/stacksort.cpp | 7ba4f1f7d4a44fb2feb41ae412d73b885af99f0a | [] | no_license | kaverichavan/Hacktoberfest_2021 | c28d9fe41d39029b2a1e1d0e59aadfeaf5e4ad33 | 6f7796d5d6ae313ca5ce0573aa8cdd5c7915e06d | refs/heads/main | 2023-08-17T16:37:46.633373 | 2021-10-05T16:18:17 | 2021-10-05T16:18:17 | 413,894,327 | 2 | 0 | null | 2021-10-05T16:23:51 | 2021-10-05T16:23:50 | null | UTF-8 | C++ | false | false | 1,012 | cpp | stacksort.cpp | #include <bits/stdc++.h>
using namespace std;
stack<int> sortFunction(stack<int> &mainStack)
{
stack<int> AuxStack;
while (!mainStack.empty())
{
int temp = mainStack.top();
mainStack.pop();
while (!AuxStack.empty() && AuxStack.top() > temp)
{
mainStack.push(AuxStack.top());
... |
1bbaff57a5e0152a11792d1c031bb83f2288864b | cf50c82270c2e1e548ac72ea41340636664c7825 | /Physics Engine/Dynamics/force_gen.cpp | 802c7ffdb1c305d5f28155fbc548b4b289a232ab | [
"MIT"
] | permissive | DarrenSweeney/3D-Physics-Engine | b5a1a213b9e864787d5829a2908f5124c7ec3239 | 31dee682cdd285fcd1aa8a6951b7506348d8dc5a | refs/heads/master | 2021-01-18T23:04:25.801191 | 2016-04-28T23:22:12 | 2016-04-28T23:22:12 | 42,963,895 | 56 | 9 | null | null | null | null | UTF-8 | C++ | false | false | 4,531 | cpp | force_gen.cpp | #include "force_gen.h"
using namespace Physics_Engine;
void Gravity::updateForce(RigidBody *body, real duration)
{
// Check that we do not have infinite mass.
if (!body->hasFiniteMass())
return;
// Apply the mass-scaled force to the body.
body->addForce(gravity * body->getMass());
}
void Spring::updateForce(R... |
68b4c4f7647c0607b0e155589f9ccd73518ab913 | c0d958f7254bbb09036ffe7fda383facaa72a494 | /src/Engine/rpg/gui/CountryCodes.h | 91280d86f4a7afde63f1b8d97e409a479915823d | [
"BSD-2-Clause"
] | permissive | Alicetech/bobsgame | 2780fa9e115c42ca8b5d223bd555f10f4ff63a1b | 40b5c57f62bcc2e289d39b2019a69df323f915fc | refs/heads/master | 2020-04-15T00:34:57.072166 | 2017-08-15T22:28:12 | 2017-08-15T22:28:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 343 | h | CountryCodes.h | //------------------------------------------------------------------------------
//Copyright Robert Pelloni.
//All Rights Reserved.
//------------------------------------------------------------------------------
#pragma once
#include "bobtypes.h"
class Logger;
class CountryCodes
{
public:
static vector<string>*... |
061d50c4338ac5f3c1f84c1f460b3880cd8b4069 | 34b02bdc74ffd35caf0ced89612e413e43ef9e70 | /project/QtTomato/src/QData.h | 409656f279c5fac56191aca908b1ae80e11d3fee | [] | no_license | Makmanfu/CppNote | 693f264e3984c6e2e953e395b836306197cc9632 | e1c76e036df4a9831618704e9ccc0ad22cd4b748 | refs/heads/master | 2020-03-26T01:11:51.613952 | 2018-08-10T06:52:21 | 2018-08-10T06:52:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,169 | h | QData.h | //********************************************************************
//
//
//
//
//********************************************************************/
#ifndef QDATA_H
#define QDATA_H
#include "QtConfig.h"
#include <map>
using namespace std;
//Qmap学习类
class CStudyQMap
{
public:
CStudyQMap(... |
726c479741da61668a4cf3d05789bcbcb7cd1779 | 970079e4bd221f1e2c8dc43b556ec9e793f5d7aa | /11.Container With Most Water.cpp | 945d296d953a9fca3b20b936a5890aebc20a7f12 | [] | no_license | amreenabbas/Leet-Code-Solutions | ae814eaafe25c89f45e5fa74934be75502c97420 | da3154950ce337dda26eb72966435079b3a3e574 | refs/heads/master | 2023-07-04T19:04:53.061305 | 2021-08-15T13:25:18 | 2021-08-15T13:25:18 | 257,496,352 | 0 | 3 | null | 2021-08-09T12:42:40 | 2020-04-21T06:06:59 | C++ | UTF-8 | C++ | false | false | 954 | cpp | 11.Container With Most Water.cpp | Question Link : https://leetcode.com/problems/container-with-most-water/
//created by js0805
class Solution {
public:
int maxArea(vector<int>& height) {
int l =0,h = height.size()-1;
int sum = 0;
while(l<h)
{
int q = min(height[l],height[h]);
sum = ma... |
d97736e9c9d82940810fa0d0288d77682e672ae8 | 2a53ec2db505448d8041a7ac2ba8f0313136d8f0 | /3DMath/EulerAngles.h | 3d91df52f178edee65ff4a65b7604fea1743f6df | [] | no_license | DouChuang1/3DMath | 6f9ac67a03e34d92c8c8c0f3d6445906ea022f1a | 967608bff0b03f3c8800f27ad6f7013f8c8a5290 | refs/heads/master | 2023-03-04T00:33:58.246048 | 2020-07-08T03:30:37 | 2020-07-08T03:30:37 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 595 | h | EulerAngles.h | #pragma once
#include "RotationMatrix.h"
#include "Matrix4X3.h"
class Quaternion;
class EulerAngles
{
public :
float heading;
float pitch;
float bank;
EulerAngles(){}
EulerAngles(float h,float p,float b):heading(h),pitch(p),bank(b){}
void FromObjectToWorldMatrix(const Matrix4X3 &m);
void FromWorldToObjectMat... |
00f77772c5e36d43d0bdd620d30ad795a45e9e4d | 223317755bac0401621dea07019064647828cdc7 | /Actions/Exit.cpp | e04e59870ff2de59edc4fb570a9ca50ede9de138 | [] | no_license | rehamaali/Paint-for-kids | ad7f1aeb955bf08f234e69ba9f1514d61a038b63 | 44fce5241f767bb5bd62cac9a0e3e2a7876c3f9d | refs/heads/master | 2022-01-24T05:37:19.258879 | 2019-05-10T21:16:47 | 2019-05-10T21:16:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 613 | cpp | Exit.cpp | #include "Exit.h"
#include "../ApplicationManager.h"
Exit::Exit(ApplicationManager* pApp) :Action(pApp)
{
}
Exit::~Exit()
{
}
void Exit::ReadActionParameters()
{
}
void Exit::Execute()
{//asks if the kid wants to save the file before exiting .
pManager->GetOutput()->PrintMessage("If you want to save your last c... |
6be5a318535fb173fdfa992019901ab688d2377e | 095d246e628d08e9908c8ed7143807e41817b1c5 | /WordLab/Prerequisites/msgwin/MessageWindowLegacy/Change/all_change.cpp | 81df4b017a2b2d76af9445be94a9d583a7900ee7 | [] | no_license | yhnnd/wordlab | ab77e1b6099b0d519f2173d14ece5283cb766326 | 8a3563d6e38a4be3f01bde95b8112d75d081d64c | refs/heads/master | 2023-09-01T21:32:15.251606 | 2023-07-19T03:23:48 | 2023-07-19T03:23:48 | 183,858,184 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,796 | cpp | all_change.cpp | void MessageWindow::SelectFrame(int x, int y, int width, const char *msg, const int lineMax, const int lineCharMax) {
recordColor(colorprev, "SelectFrame");
Frame(0, x, y, width, msg, lineMax, lineCharMax);
for (int lineNo = 0; lineNo < lineMax; ++lineNo) {
gotoxy(x + 5, y + 1 + lineNo);
i... |
491321bd3948bab3d8b2a7b0cd7d091f61203bd8 | a05abfdf10b048bdc8025a8417213710eff4e66b | /XZSSAPP/ClientBroker.h | e35f493bc96a276ed8f240fba1a729063fa28474 | [] | no_license | GetUserNameByNetwork/PMXE7 | 40900a89091f5f435f7e5b467456f9c0fc119701 | b6a6f03be291a9c330003ca8bb01f233986c65f2 | refs/heads/master | 2022-06-16T17:50:27.418813 | 2020-05-03T08:04:31 | 2020-05-03T08:04:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,219 | h | ClientBroker.h | //---------------------------------------------------------------------------
#ifndef ClientBrokerH
#define ClientBrokerH
//---------------------------------------------------------------------------
#include <Data.Bind.Components.hpp>
#include <Data.Bind.ObjectScope.hpp>
#include <REST.Client.hpp>
#include <IPPeerCli... |
9c14f36a098a1fbefc736b1acc16ea93a8b57581 | 94ff327687be43f38c10208caca183d973881726 | /33. 콜바이벨류,콜바이레퍼/33. 콜바이벨류,콜바이레퍼/ex01.cpp | a1aab16702321275653b110b37a7bcd513923dba | [] | no_license | defilers/C-C- | b3247b845492b5c0ffc14a6b9ede8db36b25b943 | 8a8ccd169d835fb4aba5a4d779878c8da0e08d45 | refs/heads/master | 2021-01-20T14:07:49.397825 | 2017-02-22T08:28:42 | 2017-02-22T08:28:42 | 82,740,455 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 530 | cpp | ex01.cpp | // call by value
// call by reference
#include <stdio.h>
void swap(int *x, int *y) {// 포인터를 통한 원본의 변환
/*
// 포인터의 교환 이러면 안바뀜(바로가기만 변경하고 원본은 변화없음 시스템상의 포인터가 아니라 복제한 포인터를 변경했기 때문)
int *tmp;
tmp = x;
x = y;
y = tmp;
*/
// 값의 교환 이건 바뀜
int tmp;
tmp = *x;
*x = *y;
*y = tmp;
}
int main() {
int a, b;
scanf("%d%... |
65ec9a1da190aa4744ebcb4d6f50b1f817c66c04 | 1f05b964049c83113b2c7e78187dd23ea518a8dd | /FlagGG/Allocator/SmartMemory.hpp | a36430c5b049268d9a47e5e700acd1dd02b387c3 | [] | no_license | flagflag/FlagGG | 36bf363d141e7e110bc39b5632ce32951520fd7f | 9982129c525358e49eef16e2d10ebd64202b7672 | refs/heads/master | 2023-08-21T04:02:17.133863 | 2023-08-12T15:21:57 | 2023-08-12T15:21:57 | 149,803,838 | 7 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 648 | hpp | SmartMemory.hpp | #ifndef __SMART_MEMORY__
#define __SMART_MEMORY__
#include "Export.h"
#include <stdlib.h>
namespace FlagGG
{
template < class Type = char >
class FlagGG_API SmartMemory
{
public:
SmartMemory(size_t count,
Type* default_memory = nullptr)
: memory_(nullptr)
{
if (count > 0)
{
if (default_memory)
{
... |
0be885e262686c8579f0cdafd536a9c11939625a | 0e8b58c478749b463a5bcf973b7868ced44c5ce4 | /CVUtil/test/main.cpp | 7da564a26f246405269df92a10ccd126db7a2d29 | [] | no_license | geoin/ControlloVoliRT | a7ba89a93041bb39f579359551c3b5dc3e4d09c9 | 511bc00d1504bc19fc74f3bb8dbdda8e8ec5668a | refs/heads/master | 2021-01-22T09:51:01.778495 | 2017-08-17T08:24:53 | 2017-08-17T08:24:53 | 13,063,921 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 6,547 | cpp | main.cpp | #include <Poco/Logger.h>
#include "CVUtil/cvspatialite.h"
#include <iostream>
#include "CVUtil/ogrgeomptr.h"
#define PLANNED_FLIGHT_LAYER_NAME "AVOLOP"
#define SHAPE_CHAR_SET "CP1252"
#define GAUSS_BOAGA_SRID 32632
#define GEOM_COL_NAME "geom"
#if defined(__APPLE__)
#define TEST_GEO_DB "/Users/andrea/ControlloVoliRT... |
95c30f0727a3410b209169330f77b2a049d9e897 | 38b9daafe39f937b39eefc30501939fd47f7e668 | /tutorials/2WayCouplingOceanWave3D/EvalResults180628-Eta-ux-uy/16.4/p_rgh | fb3469563a458364893848bd73c593c006d243fd | [] | no_license | rubynuaa/2-way-coupling | 3a292840d9f56255f38c5e31c6b30fcb52d9e1cf | a820b57dd2cac1170b937f8411bc861392d8fbaa | refs/heads/master | 2020-04-08T18:49:53.047796 | 2018-08-29T14:22:18 | 2018-08-29T14:22:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 196,473 | p_rgh | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 3.0.1 |
... | |
75deb92331d2c8585594813cc2e473a7b3267a93 | 8b52f25f2b367f612693dbfd81afa234ec80b4c3 | /include/tiny/serial/detail/uart_due_defs.hpp | 40b71500fe286d9aa4baca662188f53213657338 | [
"MIT"
] | permissive | yell0w4x/tiny-arduino-serial-port | 1334838fb6382d8cc331f325d95349bfdfe7404b | af4318e1c210e80d31be3d4993c8124dd4e2c8c0 | refs/heads/master | 2020-08-30T07:55:38.866085 | 2019-11-29T10:33:10 | 2019-11-29T10:33:10 | 218,311,050 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,060 | hpp | uart_due_defs.hpp | // Arduino async serial port library with nine data bits support.
//
// 2015, (c) Gk Ltd.
// MIT License
#ifndef TINY_SERIAL_DETAIL_UART_DUE_MACRO_HPP_
#define TINY_SERIAL_DETAIL_UART_DUE_MACRO_HPP_
#include <chip.h>
#define SERIAL_5N1 (US_MR_USART_MODE_NORMAL | \
US_MR_USCLKS_MCK | \
... |
9f372547bda9cf0da569c41c156ba26d31bc41b1 | f36c2bf847b4186960b8d2111c916629b0ce9fc4 | /exercícios C++/exercicio-switch.cpp | 640a5f4320d716625b5d9d21e7a155ac18632743 | [
"MIT"
] | permissive | Simone-Lemes/Sistemas-para-internet | 94a5346b4f6ed534a9b6b0d8c4936bd87a7d3297 | b8a5709d97b444b7526a9b1b577171d108019b21 | refs/heads/main | 2023-04-05T18:27:49.905082 | 2021-04-06T01:10:57 | 2021-04-06T01:10:57 | 355,017,413 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 322 | cpp | exercicio-switch.cpp | #include <iostream>
#include <locale>
using namespace std;
int main()
{
setlocale(LC_ALL, "ptb");
int z;
cout << "Digite um valor : ";
cin >> z;
switch(z) {
case 5 : cout << 3 * z << " ";
case 10 : cout << 11 /2 * z << " ";
case 20 : cout << z * z - 10 << endl;
break;
default : cout << "Entrada invalida. " << endl;
}
... |
a7caaa54c3519209bcfa013946b4aa93c4bdade3 | 32adb17d1a4a5d6a82ca1be73bdf3937f6e001be | /Domaci1/Domaci1_a/menu.cpp | ae369623c2fa7107b610a897590819fc39458926 | [] | no_license | ivan-pesic/ASP2 | 647ad45de985783d75051c50a7cbdb21ef883681 | 3f011003419df9849fcd7ccc48d17d3b77467639 | refs/heads/main | 2023-04-03T00:17:22.361839 | 2021-02-12T19:56:58 | 2021-02-12T19:56:58 | 338,415,794 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 836 | cpp | menu.cpp | #include "header_matrix_avl.hpp"
int menu() {
int ans;
cout<<"****************** MENI *****************"<< endl << endl;
cout << "1.\tUnos matrice" << endl
<< "2.\tGenerisanje matrice" << endl
<< "3.\tPretraga matrice" << endl
<< "4.\tEvaluacija performansi za matricu" << endl
<< "5.\tFormiranje s... |
eb7d4530c3c8f8b5401ccaf36f84f4b715bc123c | 888f821260b4bfda6df2ab4ba5c639fd16f30c94 | /codeforces/cf10/A.cpp | 885d5f02cc345f5f03070711f93b42db1312126e | [] | no_license | JustBeYou/infoarena | 1b8a6d32d039dc6e53f592003ce9ef1cfc79812e | f335d7f7a074255e60262c31d518b9ca86d5f30d | refs/heads/master | 2021-07-05T12:21:56.854223 | 2020-09-12T15:47:23 | 2020-09-12T15:47:23 | 179,277,917 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 591 | cpp | A.cpp | #include <bits/stdc++.h>
using namespace std;
typedef unsigned long long ull;
typedef signed long long ll;
typedef unsigned int uint;
const int nmax = 100000 * 2;
uint n, k;
uint v[nmax];
unordered_map<uint, uint> M;
int main() {
//freopen("input", "r", stdin);
scanf("%u %u", &n, &k);
ull sol = 0;
for (uin... |
b63675cb08d98be23283fad19e6beae075b1ac24 | d22b69b4f73cee58d808d0477e4f6806990d79fd | /src/arrays/SubarraySumClosestToZero/SubarraySumClosestToZero.cpp | 1e1da86ac2ed07bd81bd96181307540f245e654f | [] | no_license | raghutillu/Coding | 63c5c8321434b0de58e34e34212de73bb1d4cdad | cf06a4930ed8070b5d7c81fddbd46306e47d1726 | refs/heads/master | 2021-12-31T10:31:58.276123 | 2021-10-10T02:47:08 | 2021-10-10T02:47:08 | 101,427,506 | 0 | 0 | null | 2017-08-28T08:10:13 | 2017-08-25T17:35:39 | C++ | UTF-8 | C++ | false | false | 2,165 | cpp | SubarraySumClosestToZero.cpp | #include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
// Given an array of both positive and negative numbers, the task is to find out
// the subarray whose sum is closest to 0.
//
// Input : arr[] = {-1, 3, 2, -5, 4}
// Output : 1, 3
// Subarray from index 1 to 3 has sum closest to 0 i.e.
/... |
440ab8fc3947f00c11d9da9a5369eabc0b59e3e1 | 8395661e4e336a00b1f4bcf7a7957ecd18f10f1a | /byte.hpp | b0d23617eb9e032d42eec4dd0ac57fdfdf0452f0 | [
"MIT"
] | permissive | LiangRongLiang/shmbus | 6d9f5c9171d2dc04efc196cc6fb122e24f4a243b | c2d1a739430feb5e9a7974dd7c30c222a3bad1ce | refs/heads/master | 2021-01-24T01:58:48.949148 | 2016-09-23T02:07:39 | 2016-09-23T02:07:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 410 | hpp | byte.hpp | #pragma once
#include <cstdint>
typedef std::uint8_t byte;
inline void* byte_next(void* ptr, std::ptrdiff_t n)
{
return static_cast<byte*>(ptr) + n;
}
inline const void* byte_next(const void* ptr, std::ptrdiff_t n)
{
return static_cast<const byte*>(ptr) + n;
}
inline std::ptrdiff_t byte_diff(const void* a,... |
5a33d42af248ddf75c01879b84f22884731860dc | 9ee6b3ba658fb674433ade32d71d59bff9086325 | /.removed/include/fullscore/ui/GridEditor/Actions/CreateNewGridEditor.hpp | 7c0a87fc73cf4c12aa8d90beae9a0d71a727053c | [] | no_license | MarkOates/fullscore | 01f7aa843805f221b1547ab16deaaf91b513446e | ccd9449aa235d355bf1c24b0ff8fcc3a0fa83e23 | refs/heads/master | 2022-09-15T14:54:01.980708 | 2022-09-14T12:52:50 | 2022-09-14T12:52:50 | 33,223,354 | 1 | 0 | null | 2019-08-25T00:06:51 | 2015-04-01T02:59:18 | C++ | UTF-8 | C++ | false | false | 365 | hpp | CreateNewGridEditor.hpp | #pragma once
#include <fullscore/actions/Base.h>
class AppController;
namespace UI::GridEditor::Actions
{
class CreateNewScoreEditor : public Action::Base
{
private:
AppController *app_controller;
public:
CreateNewScoreEditor(AppController *app_controller);
~CreateNewScoreEditor();... |
1666ad6f2887ccd922ce954d3f1153f12e5d91ec | 51484e9271760147c291305f609c25ff6ef50580 | /Common/AavmRpcClientV2/AavmRpcClientV2.cpp | 502ffccfd8acc10419a9ef954485de90966c127d | [] | no_license | ASkyeye/Vulnerability-Disclosures | 05ff85d5cce76e91fbf66223d92d869c0f021c1a | 5d88b21cdfe0a991386fab015e8ab1318106df03 | refs/heads/main | 2023-04-30T02:06:45.948339 | 2023-04-25T20:22:39 | 2023-04-25T20:22:39 | 368,609,579 | 0 | 0 | null | 2021-05-18T17:10:58 | 2021-05-18T17:10:58 | null | UTF-8 | C++ | false | false | 3,121 | cpp | AavmRpcClientV2.cpp | // AavmRpcClientV2.cpp : Defines the functions for the static library.
//
#include "AavmRpcClientV2.h"
#include "Aavm_h.h"
#include "wil/resource.h"
#include "wil/rpc_helpers.h"
#include <string>
#include <stdexcept>
using unique_aavm_context = wil::unique_rpc_context_handle<void *, decltype(&AavmRpcProc1_FreeHandle)... |
5670cbd3805c7c6b4e57d76aabe57bcb9f48de25 | f371a1e57b354cc1b985dbfc17f057c186d9f7a0 | /acmicpc.net/source/13699.cpp | f17fcd51f2b22685b09a213c2747eff4fcbad08b | [
"MIT"
] | permissive | tdm1223/Algorithm | 7ea3d79eaa7244a1cfe8a420e25d89b783465e8f | c773ab0338e5a606ad0fc7d8989b0ee7cc1bf3fa | refs/heads/master | 2022-11-14T01:34:08.955376 | 2022-10-30T11:00:54 | 2022-10-30T11:00:54 | 143,304,153 | 8 | 9 | null | 2019-08-06T02:41:24 | 2018-08-02T14:16:00 | C++ | UTF-8 | C++ | false | false | 363 | cpp | 13699.cpp | // 13699. 점화식
// 2022.04.19
// 다이나믹 프로그래밍
#include<iostream>
using namespace std;
long long d[35];
int main()
{
int n;
cin >> n;
d[0] = 1;
for (int i = 1; i <= n; i++)
{
for (int j = 0; j < i; j++)
{
d[i] += d[j] * d[i - j - 1];
}
}
cout << d[n] << end... |
fdd922fdbe11241049b493a337b452df59d3c93e | 8bb8931223b86adabbc6eacf3e82edf03f3458dc | /pw_bluetooth_hci/packet_test.cc | f5301d5c9c4140e03a46b25a7dec6988070cc4a8 | [
"Apache-2.0"
] | permissive | waelbarakat/pigweed | 08918e0fc1228608099b67d426e581955c4626b8 | 7f3590b58e8398aad68c1e59702c459d2f8ca38e | refs/heads/main | 2023-08-13T21:35:00.513348 | 2021-09-30T04:03:12 | 2021-10-08T02:00:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 24,830 | cc | packet_test.cc | // Copyright 2021 The Pigweed 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agre... |
21847b4d928c6266f13dc9a96dc0b02f9d891fbf | d8f7ed6a82a32e81a3660681795ee7437b2b204c | /tools/histogrammer/HistogramBuilder.cpp | 6958240295894cdbc8e22be18d4d2064628118aa | [
"Apache-2.0",
"BSL-1.0"
] | permissive | ivafanas/sltbench | 6ec8bedb0463706598173a781cc08165554aaea3 | ec702203f406d3b1db71dac6bd39337d175cdc2c | refs/heads/master | 2023-02-13T15:54:37.804010 | 2023-01-26T17:20:03 | 2023-01-27T03:26:01 | 61,478,446 | 153 | 13 | BSL-1.0 | 2023-01-27T03:26:02 | 2016-06-19T12:12:16 | C++ | UTF-8 | C++ | false | false | 1,803 | cpp | HistogramBuilder.cpp | #include "HistogramBuilder.h"
#include <algorithm>
#include <chrono>
#include <fstream>
#include <iostream>
#include <iterator>
#include <stdexcept>
#include <vector>
void BuildHistogramFor(void(*fun)(), const std::string& filename)
{
// get results
std::vector<int64_t> results;
const size_t count = 1000;
result... |
55332469c9798114fc13e38bb47d50e2d2a2974f | 1024129bbd3f258b55b05cef04a217612f033b24 | /src/infrastructure/base_repository.hpp | b3ab4d8820b7d6a5ca22edf3d896a482d3d202e9 | [] | no_license | BartlomiejOlber/lab_1 | 8be5201a6400554181a4020d2cc60fcf82b283c2 | 8907889f72113d34e823542ed34ba518b1474c38 | refs/heads/master | 2020-04-27T21:57:12.053228 | 2019-03-24T15:41:56 | 2019-03-24T15:41:56 | 174,717,833 | 0 | 0 | null | 2019-03-21T10:07:25 | 2019-03-09T16:26:01 | C++ | UTF-8 | C++ | false | false | 454 | hpp | base_repository.hpp | /*
* base_repository.hpp
*
* Created on: Mar 17, 2019
* Author: bartlomiej
*/
#ifndef INFRASTRUCTURE_BASE_REPOSITORY_HPP_
#define INFRASTRUCTURE_BASE_REPOSITORY_HPP_
#include <string>
namespace infrastructure {
class BaseRepository {
private:
static const char* DATA_PATH;
std::string file_path_;
publi... |
368b31b478948c39f153617c9f0c43712372405e | 3fe692c3ebf0b16c0a6ae9d8633799abc93bd3bb | /Practices/Codeforces/CF461E.cpp | 1d97735ab82430d498ef190b4e028ec8227d6c18 | [] | no_license | kaloronahuang/KaloronaCodebase | f9d297461446e752bdab09ede36584aacd0b3aeb | 4fa071d720e06100f9b577e87a435765ea89f838 | refs/heads/master | 2023-06-01T04:24:11.403154 | 2023-05-23T00:38:07 | 2023-05-23T00:38:07 | 155,797,801 | 14 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,232 | cpp | CF461E.cpp | // CF461E.cpp
#include <bits/stdc++.h>
using namespace std;
const int MAX_N = 1e5 + 200;
typedef long long ll;
int m, ch[MAX_N * 20][4], calc[4][4][20], ptot, mlen;
ll n;
bool tag[MAX_N * 20];
char str[MAX_N];
ll fpow(ll bas, ll tim)
{
ll ret = 1;
while (tim)
{
if (tim & 1)
ret *= b... |
21a9e3bc491616caff2614d128f9f1a1a18419fa | 5f5a5d34a1c984750db062c2d8f9876299f0b977 | /saveDeck.cpp | 957628d0d04b6a1ba21b31bf8fdd5d07c131c29d | [] | no_license | tinyan/cmk2015win | 386dbed16010d7c02cff4ce0be1bba572672ed55 | 23c7fca8be1cfc486c1a9b65fcf135a1f290652d | refs/heads/master | 2021-01-10T02:41:13.088363 | 2015-12-29T02:11:05 | 2015-12-29T02:11:05 | 46,950,172 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 2,761 | cpp | saveDeck.cpp |
#include <windows.h>
#include "..\..\systemNNN\nyanlib\include\commonMacro.h"
#include "..\..\systemNNN\nyanlib\include\areaControl.h"
#include "..\..\systemNNN\nyanlib\include\picture.h"
#include "..\..\systemNNN\nyanlib\include\myGraphics.h"
#include "..\..\systemNNN\nyanlib\include\allGeo.h"
#include "..\..\syste... |
1f0b37bab790ae6548c8a8858a22821cb4b8ce59 | e081cb2debb6a251b5e4c7085cf33e3717e94039 | /C++/lib/netLib/IpSocket.h | 461e9b33c06de186b256175627ca5f96665349bf | [] | no_license | jortel/libs | 21893d3872792311713c8daaf2db5ca5d3a2119b | 46f6958bc4c311dfcc27cde031cdc80112c07355 | refs/heads/master | 2020-04-06T03:33:11.036318 | 2012-03-03T19:26:45 | 2012-03-03T19:26:45 | 3,612,675 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 845 | h | IpSocket.h | ///////////////////////////////////////////////////////////////////////
//
// File/Class: IpSocket
// Description: Provides and IP socket.
//
// Author: Jeff Ortel, 07/01/2000 (Cyberwerx, LLC)
// Modifications:
//
///////////////////////////////////////////////////////////////////////
#ifndef IPSCOKET_H
#d... |
f41795ae2f9ea96c75472bcd7eaa43737e66ded9 | c244298de3ed033646af7ce57d9908b456147367 | /No4_MakeIncludeTree/MakeIncludeTree.hpp | d062b9586177671fb198b1a6abb13860e2a4a483 | [
"MIT"
] | permissive | katahiromz/BoostWaveExample | 26a70266c998816140a701fe1e4e146efbdd840e | a962af4d096ea1312d824c64e06bcd4746d27408 | refs/heads/master | 2021-05-07T13:41:19.643705 | 2017-12-13T09:23:26 | 2017-12-13T09:23:26 | 109,641,232 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,783 | hpp | MakeIncludeTree.hpp | #pragma once
#include <boost/wave.hpp>
#include <boost/wave/preprocessing_hooks.hpp>
#include <boost/property_tree/ptree.hpp>
#include <boost/ref.hpp>
#include <stack>
// A hook class to output the tree
class MakeIncludeTreeHook
:
public boost::wave::context_policies::default_preprocessing_hooks
... |
79d5e95de6e63d46e0c3a7c33dbdd521d00d1fba | b47763a27177b400ec2881f6265bd5f43cebf830 | /link list/circular_link_list.cpp | 45569b6bd43a89cb18d95bcecc3c4562d879e16a | [] | no_license | prashant-kumar1330/c_plusplus | c6bf7283ac24b2d3b84c5d6dc3449d79f7ffc7e5 | e26bd35e9e106679b5deba2669321fafa96d82f3 | refs/heads/master | 2021-06-30T11:16:04.605494 | 2020-10-31T16:07:55 | 2020-10-31T16:07:55 | 187,380,094 | 2 | 5 | null | 2020-10-31T16:07:56 | 2019-05-18T16:23:17 | C++ | UTF-8 | C++ | false | false | 1,357 | cpp | circular_link_list.cpp | #include<iostream>
using namespace std;
struct node{
int data;
node* next;
};
void create_circular_link_list(node*& head){
int data;
cin>>data;
if(data!=-1){
head=new node();
head->data=data;
head->next=NULL;
}
node* temp=head;
cin>>data;
while(data!=-1){
node* it=new node();
it->data=data;
i... |
37763a94ff029484115632774618b398eb7c06a6 | 4cae422afc5224db8846d9c454a12ef627fd4909 | /MyRenderer/Disk.cpp | e50d6019b3491357ddfe891d86fefccd388e3ec8 | [] | no_license | EternalWind/MyRenderer | 90adcbd79e68634c225532018e6507f756ac22fa | 973e9090470d4992a97ab7c1caf708ec314638fd | refs/heads/master | 2016-09-10T01:03:30.824093 | 2014-06-07T06:06:13 | 2014-06-07T06:06:13 | 20,586,847 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 689 | cpp | Disk.cpp | #include "Disk.h"
Disk::Disk(float radius, const Vector3& center, const Vector3& orientation, const ColorRGBA& color) :
Plane(center, orientation, color),
m_Radius(radius),
m_SquareRadius(radius * radius)
{
}
bool Disk::Intersect(const Ray& ray, Intersection& intersection, void* additional_data) const
{
Range<fl... |
f3c480977f218f54d3bcdd9b0c9bcc8377e11fae | 70ea777a5c978cfc20e575b049a399af46e11c64 | /test/simple_test.cpp | d4b1189124ec57efb60d46abb4e503f822730f2d | [
"Apache-2.0"
] | permissive | templeblock/cpp-torch | 1ae72dcd6b6107a729993bcd692eeccdacc28158 | 29e5982a07fd58d1fe248cde0a3deec80b36462f | refs/heads/master | 2021-01-13T09:38:17.803091 | 2016-10-24T14:52:47 | 2016-10-24T14:52:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,388 | cpp | simple_test.cpp | #include <cpptorch.h>
#include <fstream>
#include <algorithm>
#include <iostream>
#include <chrono>
template<typename T>
std::shared_ptr<cpptorch::nn::Layer<T>> read_layer(const std::string &path)
{
std::ifstream fs(path, std::ios::binary);
assert(fs.good());
auto obj = cpptorch::load(fs);
return cpp... |
edb4b278779ff2c939f6af8bcd97d4edc14a05a7 | 304d2aec0a5cc3dda1c67d28bb97a17af4ee20e0 | /泛型算法/usage of sort and unique.cpp | 2d522b5f9f0e59d58f39fce17bcc664f635a37d1 | [] | no_license | CAmateur/C-Learning | 7f7f4958373ce672a0baeaa9056fb8f86e136e63 | 27c9dc0b688575cea7e65e85563dbe20b2fbad20 | refs/heads/master | 2020-06-03T20:50:29.034459 | 2020-01-05T12:27:42 | 2020-01-05T12:27:42 | 191,726,345 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 992 | cpp | usage of sort and unique.cpp | #include<iostream>
#include<vector>
#include<numeric>
#include<string>
#include<algorithm>
using namespace std;
void elimDups(vector<string> &words)
{
cout << "重排之前:(";
for (string word : words)
cout << word << " ";
cout << ")" << endl;
sort(words.begin(), words.end());
cout << "重排之后:(";
for (string word : wor... |
d4e108e5d2c50e0b43c09bc025ca4962a1232262 | 4cd8f33bcdb006813b9c1760ef3b149cd57d847e | /FP/Time.cpp | 963233239af46fffcf2c9d9fe36503d4c66a7aab | [] | no_license | MichaelTarasca/OOPFinalProject | fdc382529c6dce51357e2b78d64441a9e5574cc8 | 6382f8926cc03be33451f8298b1722de98049747 | refs/heads/main | 2023-02-13T04:57:38.022949 | 2021-01-15T18:19:41 | 2021-01-15T18:19:41 | 329,989,675 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,621 | cpp | Time.cpp | #define _CRT_SECURE_NO_WARNINGS
#include <iomanip>
#include <iostream>
#include "Time.h"
#include "utils.h"
namespace sdds {
Time& Time::reset() {
m_min = getTime();
return *this;
}
Time::Time(unsigned int min) {
m_min = min;
}
std::ostream& Time::write... |
23b08e4cb3c99c8335e5535652d0208fc89dfc80 | 75f843db45d315e5f667a1c21ad1903ab0012ba2 | /AbstractFactoryInstance/AbstractFactoryInstance/WidgetFactory.h | 4f0b5bfa509ddbe12a50f42dc53df26999b27f4d | [] | no_license | wangzhan/DesignPatternInstance | 8f8bae53bccc1b95252d8cfe21fb8540e49980a9 | 72832114c33a86b6e24019d6cb1da3f438943d69 | refs/heads/master | 2020-05-20T09:37:48.190884 | 2012-10-19T01:03:18 | 2012-10-19T01:03:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 103 | h | WidgetFactory.h | #pragma once
class CWidgetFactory
{
public:
CWidgetFactory(void);
~CWidgetFactory(void);
};
|
9de1eeadd28e6ef7def87cfba6f0b9aba5cfa386 | 32e910f5440c10b384bb26b5555ac7adb77540ee | /src/components/application_manager/rpc_plugins/rc_rpc_plugin/src/interior_data_manager_impl.cc | c295ad4f1113b86063ff4a62943636623a50a12b | [] | permissive | smartdevicelink/sdl_core | 76658282fd85b16ed6d91d8d4087d8cd1353db76 | 7343fc72c12edc8ac42a62556c9e4b29c9408bc3 | refs/heads/master | 2022-11-04T12:17:58.725371 | 2022-10-26T15:34:13 | 2022-10-26T15:34:13 | 24,724,170 | 269 | 306 | BSD-3-Clause | 2022-10-26T15:34:15 | 2014-10-02T15:16:26 | C++ | UTF-8 | C++ | false | false | 8,099 | cc | interior_data_manager_impl.cc | #include "rc_rpc_plugin/interior_data_manager_impl.h"
#include "application_manager/application_manager.h"
#include "application_manager/rpc_service.h"
#include "rc_rpc_plugin/rc_helpers.h"
#include "rc_rpc_plugin/rc_rpc_plugin.h"
namespace rc_rpc_plugin {
SDL_CREATE_LOG_VARIABLE("RemoteControlModule");
InteriorDataM... |
8f3146aafacc9c63ad486f3f10fe9f912458baa0 | e5c5879952f90d0595672a1886edc28634d15ccc | /Labs/WOZ/WOZ.ino | 5790f9de3d7bd6f488432eaeaab4a4253686590c | [] | no_license | sdmeijer/arduino-sketches | 7f3c789e63f6d37b45d5539e460c15921b2dcc2f | b21f0bd477c62917f4e1575eeb20bd1b5bec45ed | refs/heads/master | 2021-01-02T09:19:34.705436 | 2014-05-12T15:08:40 | 2014-05-12T15:08:40 | 18,710,382 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,170 | ino | WOZ.ino | #define FORWARD 1
#define BACKWARD 0
//left motor
const int leftEnable = 13;
const int leftForward = 10;
const int leftReverse = 11;
//right motor
const int rightEnable = 12;
const int rightForward = 6;
const int rightReverse = 9;
//encoders
const int leftEncoder = A1;
const int rightEncoder = A4;
char instruction ... |
95174f10ad2fcc02b8a6d9b04310b2c6c1cc9e22 | e1700081b3e9fa1c74e6dd903da767a3fdeca7f5 | /libs/gui/solverdef/solverdefinitionlistdialog.h | 99177ae1759a0f7407e9f5287d64224dcd49e41a | [
"MIT"
] | permissive | i-RIC/prepost-gui | 2fdd727625751e624245c3b9c88ca5aa496674c0 | 8de8a3ef8366adc7d489edcd500a691a44d6fdad | refs/heads/develop_v4 | 2023-08-31T09:10:21.010343 | 2023-08-31T06:54:26 | 2023-08-31T06:54:26 | 67,224,522 | 8 | 12 | MIT | 2023-08-29T23:04:45 | 2016-09-02T13:24:00 | C++ | UTF-8 | C++ | false | false | 981 | h | solverdefinitionlistdialog.h | #ifndef SOLVERDEFINITIONLISTDIALOG_H
#define SOLVERDEFINITIONLISTDIALOG_H
#include <QDialog>
#include <vector>
class SolverDefinitionAbstract;
namespace Ui
{
class SolverDefinitionListDialog;
}
/// Dialog to show the list of solvers currently installed.
class SolverDefinitionListDialog : public QDialog
{
Q_OBJEC... |
0a41da60b975226708298ad9e185b3aeea6e0c49 | ce98a099caba433e85eeecc6d90060cce387395f | /lab_03/src/drawing/drawer.h | 4e7356e2696e5cc4a9d10b3966bba264b8cd4b90 | [] | no_license | deniska-ned/bmstu_iu7_oop | afb5c87a27f3bd10b1e8e0788bb5ea62209a01cf | ff35d96c19486100b5e8057b54657b6c0d3b88a3 | refs/heads/master | 2023-05-30T17:31:57.229785 | 2021-06-26T12:28:46 | 2021-06-26T12:28:46 | 379,010,364 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 736 | h | drawer.h | #ifndef DRAWER_HPP
#define DRAWER_HPP
#include <QGraphicsScene>
#include "drawing/canvas.h"
#include "objects/point.h"
class base_drawer
{
public:
base_drawer() = default;
virtual ~base_drawer() = default;
virtual void set_canvas(std::shared_ptr<base_canvas> canvas) = 0;
virtual void draw_line(cons... |
75a56f9eed3d913629ec00c988aec232b1e4f91c | 9cfcf6b0049c0f53e1d32e3bfdb2882cbc66ebad | /faaltu/techgigsf.cpp | e0e784d61b0b0588ffb2386f8f1ee9e66f3819c1 | [] | no_license | ssanjeev2424/CPP_PracticeCodes | 7a5ad246d8edf1063029d5da60f02d0d206f1436 | 90b6c68f245db5cc0fe6fd122f070267fa9ead48 | refs/heads/master | 2020-09-11T03:09:04.991856 | 2019-11-15T13:42:17 | 2019-11-15T13:42:17 | 221,921,600 | 0 | 0 | null | 2019-11-15T12:49:52 | 2019-11-15T12:40:02 | null | UTF-8 | C++ | false | false | 2,459 | cpp | techgigsf.cpp | #include<bits/stdc++.h>
#define N 100002
using namespace std;
int n, m;
long long r[N], c[N];
long long tree[4 * N], lazy[4*N];
int update(int si, int ss, int se, int us, int ue, int diff) {
if (lazy[si] != 0){
tree[si] += (long long)(se-ss+1)*lazy[si];
if (ss != se){
lazy[si*2 + 1... |
beacd7a0e3e8a3ee508fb9fda4bab5137a4b2a26 | c95937d631510bf5a18ad1c88ac59f2b68767e02 | /src/cpu/aarch64/jit_sve_512_x8s8s32x_conv_kernel.hpp | 044298618130113443e62dbcf34afc0103fd494d | [
"BSD-3-Clause",
"MIT",
"Intel",
"BSL-1.0",
"Apache-2.0",
"BSD-2-Clause"
] | permissive | oneapi-src/oneDNN | 5cdaa8d5b82fc23058ffbf650eb2f050b16a9d08 | aef984b66360661b3116d9d1c1c9ca0cad66bf7f | refs/heads/master | 2023-09-05T22:08:47.214983 | 2023-08-09T07:55:23 | 2023-09-05T13:13:34 | 58,414,589 | 1,544 | 480 | Apache-2.0 | 2023-09-14T07:09:12 | 2016-05-09T23:26:42 | C++ | UTF-8 | C++ | false | false | 8,666 | hpp | jit_sve_512_x8s8s32x_conv_kernel.hpp | /*******************************************************************************
* Copyright 2021 Intel Corporation
* Copyright 2021 FUJITSU LIMITED
*
* 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 Licen... |
fce6af1ef8594fb5e3bbd03210e3f3a4c2585160 | a9de574b7921a2c47f54d4151e3b1f6a65e8e5a0 | /gui/webwatch.cpp | 218240ec5425024ddb7d7c01a9db5512ea2385de | [] | no_license | ExpLife0011/webwatch | c02bb1fa6bc3e77f49c77737a81fe8c9f1541708 | 15f6b5ac96bc17a4dd126b1cf031e13b91f07ac7 | refs/heads/master | 2020-03-23T21:41:31.034220 | 2008-05-22T04:00:15 | 2008-05-22T04:00:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,862 | cpp | webwatch.cpp | // WebWatch UI - by DEATH, 2004
//
// $Workfile: webwatch.cpp $ - WebWatch application
//
// $Author: Death $
// $Revision: 2 $
// $Date: 4/02/05 3:58 $
// $NoKeywords: $
//
#include "stdafx.h"
#include "openssl/ssl.h"
#include "core/Core.h"
#include "core/CheckMethod.h"
#include "WebWatch.h"
#include "Common.h"
#in... |
74e65717141c0865480b2327ab6f3da24e6a73b5 | 7ecc83985c216e6e2b45255a01ea86d0f7c16c28 | /Libraries/ionWindow/ionOS.cpp | 1175810b2081496eccb956c4124cd2881fecce04 | [
"MIT"
] | permissive | iondune/ionEngine | 98426728173152d80905a2e2493cb11fd9b243c8 | 0c848cb024e8cb1cb24b17fda52b0ad60db5f5cc | refs/heads/master | 2023-06-09T13:50:47.269610 | 2021-04-26T01:29:46 | 2021-04-26T01:29:46 | 25,057,840 | 40 | 10 | null | 2016-05-01T22:59:00 | 2014-10-11T00:21:17 | C++ | UTF-8 | C++ | false | false | 336 | cpp | ionOS.cpp |
#include "ionOS.h"
#include <Windows.h>
namespace ion
{
namespace OS
{
uint64 GetCurrentFileTime()
{
SYSTEMTIME st;
GetSystemTime(& st);
FILETIME ft = { 0 };
int success = SystemTimeToFileTime(& st, & ft);
uint64 t = ft.dwLowDateTime | static_cast<uint64>(ft.dwHighDateTime) << 32;
retur... |
1fd1d1dc2893d4880121b9290299e7913773df65 | 4682015ffbef1f93504eb918926ae3383f4a21c5 | /IntegrityCheckerGUI/SystemCore.h | ded416be972eaa89dfbff243f61b11eca36cb4c7 | [] | no_license | KarenKrill/IntegrityChecker | 420b1f5f57b3683d285f181264b8078c7227e545 | 93649d9d565ec1a04cf9125c78bca8ded310c1ea | refs/heads/main | 2023-07-21T12:19:42.259269 | 2021-08-28T09:37:06 | 2021-08-28T09:37:06 | 400,754,832 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,830 | h | SystemCore.h | #pragma once
#include <Windows.h>
#include <new.h>
#include <fstream>
#define MB(header, text) MessageBoxW(NULL, (LPCWSTR)(text), (LPCWSTR)header, MB_OK)
typedef unsigned char uchar;
typedef unsigned short ushort;
typedef unsigned int uint;
typedef unsigned long ulong;
typedef long long longlong;
typedef ... |
9bbbabb95226927305bde44a571482298673505c | 54f352a242a8ad6ff5516703e91da61e08d9a9e6 | /Source Codes/AtCoder/arc097/A/2498540.cpp | cfa155e2aedff19ec75701da809c4a072cd516bd | [] | no_license | Kawser-nerd/CLCDSA | 5cbd8a4c3f65173e4e8e0d7ed845574c4770c3eb | aee32551795763b54acb26856ab239370cac4e75 | refs/heads/master | 2022-02-09T11:08:56.588303 | 2022-01-26T18:53:40 | 2022-01-26T18:53:40 | 211,783,197 | 23 | 9 | null | null | null | null | UTF-8 | C++ | false | false | 3,006 | cpp | 2498540.cpp | #include <algorithm>
#include <bitset>
#include <complex>
#include <deque>
#include <exception>
#include <fstream>
#include <functional>
#include <iomanip>
#include <ios>
#include <iosfwd>
#include <iostream>
#include <istream>
#include <iterator>
#include <limits>
#include <list>
#include <locale>
#inc... |
2985ffa274672ed1a431ece5f043a3867894e3f0 | 74f7742ca9e42e19a2010587ea94c626a92edc5e | /Source/HideAndSeekWithAI/Private/Base_Projectile.cpp | 354c339fc5a5c03f400b82424a1b74a4d13e59ce | [
"MIT"
] | permissive | badAcc3ss/HideNSeekwithAI | 9d1ff5550511382095e039c29f2f218ad46df080 | f2d9cac308d2d6d82f7ecf5116b571347af09603 | refs/heads/master | 2022-11-18T18:06:03.951224 | 2020-07-20T09:51:58 | 2020-07-20T09:51:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,055 | cpp | Base_Projectile.cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "Base_Projectile.h"
#include "Kismet/GameplayStatics.h"
#include "GameSpawnActor.h"
#include "Perception/AISense_Hearing.h"
ABase_Projectile::ABase_Projectile()
{
CollisionComponent = CreateDefaultSubobject<UBoxComponent>(TEXT("... |
27a42350a9b706c4a90bf866ad985f6430687862 | cd5004f094e6afaa9a2991faecb4c4431c13e615 | /Lab11/lab11.cpp | c48de0de7039bd5e0829aa44f1524c8dcc5f4fff | [] | no_license | drewdawg96/Andrew-s-CSCI20-Fall2017 | 7def60075a79ded97925a7f7a48abfede11c8a92 | 87a6c17fd08c5233cf3153b0f7ee35d9eb51f8e8 | refs/heads/master | 2021-01-19T18:22:39.725245 | 2017-10-17T22:27:34 | 2017-10-17T22:27:34 | 101,128,632 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 590 | cpp | lab11.cpp | User starts the number guessing game program
User will have a total of ten points
Program chooses one random number between 1-25
User attempts to guess that number
Program tells user 'higher' if they guessed a lower number
Program tells user 'lower' if they guessed a higher number
Program subracts one out of a total of... |
89dadce0e5367ed6bd384790c99446f5212d2ce9 | c32ee8ade268240a8064e9b8efdbebfbaa46ddfa | /Libraries/m2sdk/IndirectX/IdxShaderAttributeARB.h | 04825d84555f1df3c1fb9eeb6ab7beabc1a2d47b | [] | no_license | hopk1nz/maf2mp | 6f65bd4f8114fdeb42f9407a4d158ad97f8d1789 | 814cab57dc713d9ff791dfb2a2abeb6af0e2f5a8 | refs/heads/master | 2021-03-12T23:56:24.336057 | 2015-08-22T13:53:10 | 2015-08-22T13:53:10 | 41,209,355 | 19 | 21 | null | 2015-08-31T05:28:13 | 2015-08-22T13:56:04 | C++ | UTF-8 | C++ | false | false | 368 | h | IdxShaderAttributeARB.h | // auto-generated file (rttidump-exporter by h0pk1nz)
#pragma once
#include <IndirectX/IdxShaderAttribute.h>
namespace IndirectX
{
/** IndirectX::IdxShaderAttributeARB (VTable=0x01EAB0A8) */
class IdxShaderAttributeARB : public IdxShaderAttribute
{
public:
virtual void vfn_0001_BC29EDFB() = 0;
virtual void vfn_00... |
fe01bd18bca200708a4ffb2abb6887b74f821fcf | d2da0dbac2df97df59902320794f058c839506c0 | /3rd/zxc_net/zxc_net/TcpServer.cc | 2ce665ba65a4f7e8d75fb2cacbe9be12fb8b7b99 | [] | no_license | zput/coffee-mini_programs-CPlusPlus_server | 5977c6e52d0920f6844f78e9bbf07135c49962c4 | 194bdb7900b50a55ba148937ffaba90da6dc0380 | refs/heads/master | 2021-09-21T00:57:24.214956 | 2018-08-18T08:25:49 | 2018-08-18T08:25:49 | 100,322,267 | 4 | 1 | null | null | null | null | GB18030 | C++ | false | false | 2,685 | cc | TcpServer.cc | #include"EventLoop.h"
#include"InetAddress.h"
#include"Accept.h"
#include"TcpConnection.h"
#include"TcpServer.h"
#include"Logger.h"
using namespace zxc_net;
TcpServer::TcpServer(EventLoop* loop, const InetAddress& local)
:loop_(loop),
address_(&local),
accept_(new Accept(loop_, address_)),
eventLoopThreadPool_(... |
9f5b67526842031399e1f8496e24164b11becce1 | 7460f2c56af13c59157099432ffd5b8f9acbde21 | /client.cpp | 118cb440e65a673a4aee809735a34b20b659ba03 | [] | no_license | MartinKrumov/lessons | dbbc7f6598502382a8c2f56241033344a1c4600b | ae449276345d16dbe13fa255eec0b67d335fd196 | refs/heads/master | 2021-01-20T04:11:35.625664 | 2015-04-02T16:46:29 | 2015-04-02T16:46:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,874 | cpp | client.cpp | #include<iostream>
#include<string>
using namespace std;
class Client
{
private:
int number; //id Primary key
string family;
double revenue;
double income;
double credit;
public:
Client(int num, string fam, double rev, double inc, double cred); //consructor
Client(); //default consructot
... |
72ea44d429079bc6757c0fd11e1b103dbb6fedb7 | 9f396d984b9eab38050770f64ad087f2cc14d1d8 | /mainwindow.h | 739fc950b1e918af3e90052b396da720d704dd97 | [] | no_license | MenglynnHe/towerdefence | 94d825563502c8225926245dcfdf5a858269115f | ae6416018a416a17be3615355755e3e1ecb48767 | refs/heads/master | 2022-10-25T09:36:47.912036 | 2020-06-22T13:03:13 | 2020-06-22T13:03:13 | 266,954,457 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 760 | h | mainwindow.h | #ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include <QList>
#include"scene.h"
#include"QSound"
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
explicit MainWindow(QWidget *parent = 0);
~MainWindow();
void paintEvent(QPaintEvent *);
... |
fa8dfb6402b81db815c7a652619978474ab8a597 | fe0494a9025d2fb533ef41e167c819a4818b4aa7 | /runtime/dart_runner/main.cc | 615def9483a8f9a4fe0f0883f4c775f0a5eab1f4 | [
"BSD-3-Clause"
] | permissive | miracllife/topaz | 3f74e6373e0af9f4aee5ab0b18e430bbf33eee03 | 43507509831eb7e4ee1349fe26028ec5fb6cc8b3 | refs/heads/master | 2020-04-07T20:26:28.630221 | 2018-11-06T17:15:54 | 2018-11-06T17:15:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 498 | cc | main.cc | // Copyright 2016 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <trace-provider/provider.h>
#include "topaz/lib/deprecated_loop/message_loop.h"
#include "topaz/runtime/dart_runner/dart_runner.h"
int main(int ... |
3088e4ccd67f27e48d9344420e03268caee6a6d3 | 65148705fb2f6729c54ba1bcf8cfd351d7288369 | /win-term/tool.cpp | 4193de398ba33781aab947df64966ae3b84a0b1f | [] | no_license | blahgeek/MadeAComputerIn20Days | 19856f6be622cac3913825024bed9b48f76d830a | 015ea43382d87b55b3b549de51a6f999a99c9626 | refs/heads/master | 2016-09-05T15:59:20.787348 | 2014-07-27T15:17:06 | 2014-07-27T15:17:06 | 21,484,184 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,144 | cpp | tool.cpp | #include "tool.h"
bool string2reg(char s[],int& result){
string GPRName[] = {"zero","at","v0","v1","a0","a1","a2","a3","t0","t1","t2","t3","t4","t5","t6","t7","s0"
,"s1","s2","s3","s4","s5","s6","s7","t8","t9","k0","k1","gp","sp","s8","ra"};
if (s[0]!='$' || strlen(s)<2) return false;
bool flag = string... |
5375a29315ace346a637d66d8b3dddb15400a7e2 | 8242d218808b8cc5734a27ec50dbf1a7a7a4987a | /Intermediate/Build/Win64/Netshoot/Inc/AudioExtensions/IAudioExtensionPlugin.generated.h | 072ae5d10cc11257f427c2a03626bb033dd182ff | [] | no_license | whyhhr/homework2 | a2e75b494a962eab4fb0a740f83dc8dc27f8f6ee | 9808107fcc983c998d8601920aba26f96762918c | refs/heads/main | 2023-08-29T08:14:39.581638 | 2021-10-22T16:47:11 | 2021-10-22T16:47:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,065 | h | IAudioExtensionPlugin.generated.h | // Copyright Epic Games, Inc. All Rights Reserved.
/*===========================================================================
Generated code exported from UnrealHeaderTool.
DO NOT modify this manually! Edit the corresponding .h files instead!
========================================================================... |
3234253cfa060df2df57b112236a035badb74d56 | 80fe666b677642a6234ceca890bfdf910bd64d29 | /src/ColorFrameCtrl.cpp | 8db9488512f581fc4533594f565804eaf46c162b | [] | no_license | persmule/amule-dlp | 44468301a226dfebadd5375f5101ba05ce4ea699 | 7b3a07ab554d95267cca0c4a819b26d8474d6b3b | refs/heads/master | 2023-03-12T04:17:08.845709 | 2023-03-02T06:53:11 | 2023-03-02T06:53:11 | 15,818,026 | 96 | 36 | null | 2022-01-05T05:14:08 | 2014-01-11T06:31:08 | C++ | UTF-8 | C++ | false | false | 4,166 | cpp | ColorFrameCtrl.cpp | //
// This file is part of the aMule Project.
//
// Copyright (c) 2003-2011 aMule Team ( admin@amule.org / http://www.amule.org )
// Copyright (c) 2002-2011 Merkur ( devs@emule-project.net / http://www.emule-project.net )
//
// Any parts of this program derived from the xMule, lMule or eMule project,
// or contributed ... |
7cb6d3b2b94454b7b71018eea1a7acddd4d4d126 | 734c21f47a0eb1cdabd60278dce8c1c4f88e30f1 | /software/sds011-logger/src/logger.cpp | 993b2a93ae722c63dc23564bc848c71ada03631f | [
"MIT"
] | permissive | CivicLabsBelgium/Air-Quality-Brussels | d6c08f6440b0241ac49d51f6e9ced26bd4916c12 | 7f35ae705747554c3dadb0a391fb4bb43233b8ba | refs/heads/master | 2020-12-30T16:15:35.467076 | 2018-03-27T17:32:26 | 2018-03-27T17:32:26 | 90,974,312 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 3,256 | cpp | logger.cpp | /*
Data logger for PM2.5 and PM10 particles using the SDS011 particle sensor.
Connect sensor to primary UART of the board.
Designed for Arduino UNO / Sparkfun Redboard platform.
Written by Yannick Verbelen (2017). See https://github.com/CivicLabsBelgium/Air-Quality-Brussels
*/
#include "SDS011.h"
#include "RTC... |
604d2270555ae40c64e2ed49f89d140c61e6dafa | 806423f44ed18d0bd9010d7ec5c36c27395b0815 | /Engine/code/headers/Light_Component.h | 8fa99d97f05eec79c4abb95d2095cbe33136fd60 | [] | no_license | Sylkha/GameEngine | 29d31e369346fe4b11bab898a2ac003fdc983e3a | 365abf5ac7ae4f4ba994a1f55c14255999b58db5 | refs/heads/main | 2023-05-12T16:13:47.854370 | 2021-06-05T13:20:49 | 2021-06-05T13:20:49 | 330,129,001 | 0 | 0 | null | null | null | null | ISO-8859-10 | C++ | false | false | 453 | h | Light_Component.h | // Code released into the public domain
// in January 2021
// by Silvia
#pragma once
#include "Component.h"
#include "Light.hpp"
using namespace std;
using namespace glt;
namespace gameEngine {
/** Componente para aņadir un componente luz a un entity */
class Light_Component : public Component{
public:
shared_pt... |
02133a30e54604552c84aece603945da3965d15f | 15e6bd57cc093ac220e79725d859e7329b9ce617 | /main.cpp | 10ef821b35d5a86f01286cfe7caf1d12c0754e0f | [] | no_license | Rostichek/transport_manager | 8fbc3a93ba0fe9abf247ff59d9be467f23826d63 | 070e21a97c9033a4173f943c7078c699c8db0bc8 | refs/heads/master | 2023-04-18T01:11:49.856339 | 2021-01-31T15:02:34 | 2021-01-31T15:02:34 | 360,819,751 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 17,647 | cpp | main.cpp | #include "Manager.h"
#include <iostream>
#include <fstream>
#include "Json.h"
#include "graph.h"
#include "router.h"
#include <numeric>
#include <fstream>
using namespace std;
pair<string_view, optional<string_view>> SplitTwoStrict(string_view s, string_view delimiter = " ") {
const size_t pos = s.find(delimiter)... |
5ac202bdd1809404c9448fa7262424aa94577ddb | d4aa4759471cc50f4bbb666fd48cabcdc2fba294 | /CodeChef_problems/Q5_Adding_Squares__long_oct.cpp | 2c4fbeeffbc8cad1bcf2780ec6d694eb535802d2 | [
"MIT"
] | permissive | zubairwazir/code_problems | e9cfc528a90c3ab676fe5959445dcaa7666b5767 | a2085f19f0cc7340f1fc0c71e3a61151e435e484 | refs/heads/master | 2023-09-02T03:08:09.303116 | 2021-11-17T03:40:42 | 2021-11-17T03:40:42 | 429,559,611 | 1 | 0 | MIT | 2021-11-18T19:47:49 | 2021-11-18T19:47:49 | null | UTF-8 | C++ | false | false | 973 | cpp | Q5_Adding_Squares__long_oct.cpp | /*
contest link : https://www.codechef.com/OCT20B
question link : https://www.codechef.com/OCT20B/problems/ADDSQURE
*/
#include<bits/stdc++.h>
using namespace std;
#define int long long
#define ll long long
#define f(a,b,c) for(ll a=b;a<c;a++)
#define read(t) ll t; cin>>t;
#define readarr(arr,n) ll arr[n]; f(i,0,n) cin... |
67ff2adeedecd40d09a0957325b740c42c6414c9 | b1102f87c3ad7b34935f18fe47ee7c8055b5bb33 | /UlcuangoPablo_Grupo7_ProyectoFinal/BayesianoPrueba/BayesianoPrueba.ino | 9e5e4005f6a53081071d3c3e76dd052f68859d80 | [] | no_license | Pablo-Steven/Sis-Embebidos | 14d65b12fbcd2e24eb1673aaa7afb9ce8a9cadf2 | ad7fd97ae55bfd01faf04d7de8f40522148a0e5b | refs/heads/main | 2023-06-03T23:28:11.242222 | 2021-06-16T15:06:09 | 2021-06-16T15:06:09 | 365,077,472 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,899 | ino | BayesianoPrueba.ino | /*
* Bayes con 40 datos de prueba
* Datos con 160 datos
*/
#include <ListLib.h>
#include "datos.h"
#include "prueba.h"
// crear una nueva lista (vector dinamico)
List <int> list;
int SensorMQ135 = 0;
int SensorMQ7 = 1;
int cont = 0;
int resultado = 0;
void bayesiano(int etiquetas, int columnas, int filas, float r);
v... |
654c2cfb803d047d3f509d0d350c83f81caf4e9c | c9cf0586ace11aa32fa67606d237a130a06364ee | /circular-cylinder-2-30/20.5/phi | a3a7caac08da6e4aaec800f4f819d9c6bb28f154 | [] | no_license | jezvonek/CFD-Final-Project | c74cfa21f22545c27d97d85cf30eb6dc8c824dc1 | 7c9a7fb032d74f20888effa0a0b75b212bf899f4 | refs/heads/master | 2022-07-05T14:43:52.967657 | 2020-05-14T03:40:56 | 2020-05-14T03:40:56 | 262,370,756 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 195,334 | phi | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 6.0
\\/ M anipulation |
\*-----... | |
bc874e2c52a157ac224cfc4a3a072a0b9d4c66bc | de8174218e5218c463733e26528758face8ee9d0 | /vnoj/qbbuild.cpp | 949128ed309fdde5c7f6059005a4b4d9b1b68c9b | [
"MIT"
] | permissive | tiozo/Training | 297552c72ef366abaf0c52b0b0d3d53c1b2bd4b1 | 02cc8c4fcf68e07c16520fd05fcbfa524c171b6b | refs/heads/main | 2023-07-18T09:53:21.049680 | 2021-09-05T23:58:38 | 2021-09-05T23:58:38 | 400,692,883 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,250 | cpp | qbbuild.cpp | #include<bits/stdc++.h>
using namespace std;
int main() {
ios_base::sync_with_stdio(false); cin.tie(0); cout.tie(0);
int N; cin >> N;
vector<int> s(4,0);
cin >> s[0] >> s[1] >> s[2] >> s[3];
vector<vector<int>> d(N+1,vector<int>(N+1));
//vector<vector<pair<int,int>>> a(N+1);
for (int i=1;i<... |
036c0ef81e616c35b610dd464ee5e5b18548b361 | 62173ccb4b528665dd845394cf6e1ee16d070378 | /PXLReader.h | 8eb01757aa43a39252074940eec3e78eecb649e4 | [
"MIT"
] | permissive | joelbyford/PocketExcelHelpers | 025cd9bc22cb79822c437b3d2cb745cbf1b0ef98 | 2806f1121c1be180e60ea1b1138654a7cc2441b7 | refs/heads/master | 2020-06-30T17:49:25.493565 | 2019-12-09T21:20:19 | 2019-12-09T21:20:19 | 200,901,249 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,859 | h | PXLReader.h | // PXLReader.h: interface for the CPXLReader class.
//
//////////////////////////////////////////////////////////////////////
#if
!defined(AFX_PXLREADER_H__C0A20116_6BD3_4A98_84E4_96BFA477D44E__INCLUDED_)
#define AFX_PXLREADER_H__C0A20116_6BD3_4A98_84E4_96BFA477D44E__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif... |
8dad227c5bedaeaf8bb8e416525feed1b4fb4c19 | a096f8a2f3e63dd9d19269e7e5570dd5b97fa4e8 | /Interviewbit/Stacks&Queues/SlidingWindowMax.cpp | 5641676299706bacff952e763739e701fdacb91d | [] | no_license | hbatra21/Interview-Preparation | eadb9ae06a7a1e918d95bdd80927efac9c4842fb | 717d75bad14ea9a485a5885abb4401336fe38a97 | refs/heads/master | 2020-09-27T22:51:32.477301 | 2020-07-12T09:37:36 | 2020-07-12T09:37:36 | 226,628,721 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 581 | cpp | SlidingWindowMax.cpp | vector<int> Solution::slidingMaximum(const vector<int> &A, int B) {
vector<int> ans;
deque<int> q;
int i = 0;
while(i < B){
while(!q.empty() && A[i] >= A[q.back()]){
q.pop_back();
}
q.push_back(i);
i++;
}
ans.push_back(A[q.front()]);
while(i < A.s... |
ef10951219e461d8989b0862e003ebfa63eeb875 | 890d5726b888893e76099e484a04095c09b45b27 | /Software/cpp/ardrone_slam/terrain3d/include/.svn/text-base/CTerrain.h.svn-base | 3a536d104cca4074106ea42d352e1ec78aba716d | [] | no_license | janusace/UvA-BachelorAI-Thesis | a1356d462adef2375ce28a1ba7bdcd63e659ea61 | 3f923607885e4e257f6b1baa2c13b2459dd0beb3 | refs/heads/master | 2021-01-18T10:44:35.883496 | 2012-07-27T11:17:48 | 2012-07-27T11:17:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,175 | CTerrain.h.svn-base | /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Title : CTerrain.h
Author : Chad Vernon
URL : http://www.c-unit.com
Description : Terrain class
Created : 08/11/2005
Modified : 12/05/2005
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ... | |
a4cbe5fb1922b1ec423c26dc0f10731bc01ab3ee | dbc5fd6f0b741d07aca08cff31fe88d2f62e8483 | /tools/clang/test/zapcc/multi/cxx-pure-virtual/file1.cpp | 1c628f4ceb11f9ed88b3dcee87743ca2037fd5a9 | [
"LicenseRef-scancode-unknown-license-reference",
"NCSA"
] | permissive | yrnkrn/zapcc | 647246a2ed860f73adb49fa1bd21333d972ff76b | c6a8aa30006d997eff0d60fd37b0e62b8aa0ea50 | refs/heads/master | 2023-03-08T22:55:12.842122 | 2020-07-21T10:21:59 | 2020-07-21T10:21:59 | 137,340,494 | 1,255 | 88 | NOASSERTION | 2020-07-21T10:22:01 | 2018-06-14T10:00:31 | C++ | UTF-8 | C++ | false | false | 54 | cpp | file1.cpp | #include "f.h"
int main() { error_info_injector(); }
|
0b528abf1c0af69cb167332ddfa135c2f0e250a0 | dd6147bf9433298a64bbceb7fdccaa4cc477fba6 | /8381/Maria_Lisok/lr5/code/command/basecommand.h | 69d6c85908eff6e63b428837ff1fa42a1dd9ef86 | [] | no_license | moevm/oop | 64a89677879341a3e8e91ba6d719ab598dcabb49 | faffa7e14003b13c658ccf8853d6189b51ee30e6 | refs/heads/master | 2023-03-16T15:48:35.226647 | 2020-06-08T16:16:31 | 2020-06-08T16:16:31 | 85,785,460 | 42 | 304 | null | 2023-03-06T23:46:08 | 2017-03-22T04:37:01 | C++ | UTF-8 | C++ | false | false | 415 | h | basecommand.h | #ifndef BASECOMMAND_H
#define BASECOMMAND_H
#include "command.h"
#include "Base/base.h"
class BaseCommand : public Command
{
private:
map<string, int> baseInfo();
map<string, int> unitAdd();
protected:
map<string, int> noSuchAct();
Base* base;
public:
BaseCommand(Base* base, Actions action, ma... |
a03b2a8cecede6a36a66bad7968ce4fa14d4de05 | 3fac71bec2301a7d50c8eaf89fafa238a0bce189 | /extractORBFeatures.cpp | 17ca53c20c8eaa92a76be0be6be7a04f8218bd9f | [] | no_license | ayush0209/video_stabilizer | 57fef44549abf01531cf5cc92a4ff76f591ff72e | 1c39c23c1266da87a972d9bc265a967e47f06fd8 | refs/heads/master | 2020-04-11T23:33:12.413826 | 2018-12-25T14:25:56 | 2018-12-25T14:25:56 | 162,171,517 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 837 | cpp | extractORBFeatures.cpp |
#include "opencvmex.hpp"
using namespace cv;
void checkInputs(int nrhs, const mxArray *prhs[])
{
if (nrhs != 2)
{
mexErrMsgTxt("Incorrect number of inputs. Function expects 2 inputs.");
}
if (!mxIsUint8(prhs[0]))
{
mexErrMsgTxt("Input image must be uint8.");
}
}
v... |
17251ad5fe6c0656c7989a60e335aeb5dc16bf07 | e8efaf374dce8ffb9d369b638a55e76e89376c2d | /testMode/src/GetDistanceOf2linesIn3D.h | 07d1d7c1813ea2d8c8e092e76d325bb8be66b94e | [] | no_license | Yangxiu123321/solvePNP | d636521fd094ad47dbbc037bc266f6ead4de6c1b | a5ac52d879b87776a8f902d988ab4ed9e296d03d | refs/heads/master | 2020-03-25T11:10:32.547315 | 2018-08-16T14:21:12 | 2018-08-16T14:21:12 | 143,721,949 | 1 | 1 | null | null | null | null | GB18030 | C++ | false | false | 3,361 | h | GetDistanceOf2linesIn3D.h | #include <math.h>
//用于求解两条空间直线的最近距离,以及他们最近的两点坐标
//author @VShawn
//url:http://www.cnblogs.com/singlex/p/6091659.html
//ver:2016.11.22.0
class GetDistanceOf2linesIn3D
{
public:
//输入直线A的两个点,以便获得A的方程
void SetLineA(double A1x, double A1y, double A1z, double A2x, double A2y, double A2z)
{
a1_x = A1x;
a1_y = A1y;
a... |
d03e68f4f63638ae8a62d6d4c88bc10e252ecbcb | 851dd8d8889d17cafe01c77f17284101eb72263a | /TP2018/T11/Z1/main.cpp | ac3c8e1e4e15c9257151731f22c44c3ea1df0d0a | [] | no_license | bsuljic1/Programming-techniques | 8e20bb92e5372846b358418ecf449f4048dc84d4 | 7640ed6f7b33bbefbd98b5804b03082ef02d990e | refs/heads/master | 2023-02-22T09:02:18.978776 | 2021-01-31T15:22:47 | 2021-01-31T15:22:47 | 334,685,826 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 524 | cpp | main.cpp | /*
TP 16/17 (Tutorijal 11, Zadatak 1)
Autotestove napisao Haris Hasic. Sve primjedbe/zalbe, sugestije
i pitanja slati na mail: hhasic2@etf.unsa.ba.
Vrsit ce se provjera na prepisivanje tutorijala (na kraju semestra)
*/
#include <iostream>
class NeobicnaKlasa
{
int broj;
public:
explicit NeobicnaKlasa(int x) ... |
6ccbb3cec54e52e60375fbc524c76f12a6565415 | d7985389af99b8b9e25c79a6648991aae2c290fb | /src/client.h | 82910cad0f93f66a2840b0097e1cbc66263b1899 | [
"MIT"
] | permissive | nurupo/qt-nfk-planet | 1f786fcf4133b1efdb3ed7e8e6c0f15312c4e9cd | 66261c4c2ac2c7a45a622135692a9065e1419993 | refs/heads/master | 2016-09-05T17:58:24.615976 | 2014-05-08T05:39:50 | 2014-05-08T05:45:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,686 | h | client.h | /**
* Copyright (c) 2014 Maxim Biro <nurupo.contributions@gmail.com>
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* without limitation the rights to ... |
99a3337c3749cfa621940a2c73646dc3d35fdd6d | 0404aab0cfa513a633bfe83ecb1f3ebe4b82d315 | /common/src/frontends/src/shim_trigger.cxx | 568b12a2bcb741a0366e303cd778a4c7bd038c71 | [] | no_license | uwmuonlab/gm2-nmr-daq | 8376f69d7812ffd9a08c39c9e7436dca624f0a85 | 1b5289876c055523c194417db6d311b7e6963778 | refs/heads/master | 2020-04-05T22:56:44.257016 | 2016-11-08T03:00:32 | 2016-11-08T03:00:32 | 41,053,306 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,448 | cxx | shim_trigger.cxx | /*****************************************************************************\
Name: shim_trigger.cxx
Author: Matthias W. Smith
Email: mwsmith2@uw.edu
About: Implements a frontend that issues synchronized triggers
to other frontends.
\*********************************************************************... |
4dd285bbd32ec9b3ec5e50c5e2848c05918bd2dd | 1fc4acca243159bcccfae4372d6b1db8b97d5d5f | /src/ui/text/gameServer/ArmyLoader.hpp | 389bf33659fcbe9f822ac67c6d1be86ef9e727fe | [
"MIT"
] | permissive | timorl/neurohex | 1fdee46b7c0cc076d42d1727f6f71976e0f1896e | 597be23c6b9109550d96c0eb925b20b6d9f0bea6 | refs/heads/master | 2020-04-01T19:14:50.611144 | 2015-03-01T18:20:08 | 2015-03-01T18:20:08 | 22,464,883 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 521 | hpp | ArmyLoader.hpp | #ifndef UI_TEXT_GAMESERVER_ARMYLOADER_HPP
#define UI_TEXT_GAMESERVER_ARMYLOADER_HPP
#include<iostream>
#include"ui/Observable.hpp"
#include"neuroServer/ArmyLoader.hpp"
namespace ui {
namespace text {
namespace gameServer {
/**
* @brief The class to show the progress of loading armies.
*/
class ArmyLoader {
p... |
9a3a9bf9d5745ad8bbafacc85c11faa576fcf6ea | c832cc9970598bc13a7d5c652ba91d6cbe8a19b7 | /Laboration3C++2/Laboration3C++2/Container.cpp | 7c6146c96a37f2b8db4b84ec85a87eae5e73782b | [] | no_license | Timmoten/C-labb2 | 26ff90cc9e68090adbe8d0de0a3287cffce32783 | 0efe250c1dc1f5da9b332346e24cff45c3484d49 | refs/heads/master | 2021-01-10T21:11:16.445497 | 2015-03-25T00:58:25 | 2015-03-25T00:58:25 | 32,544,296 | 0 | 0 | null | null | null | null | ISO-8859-2 | C++ | false | false | 854 | cpp | Container.cpp | #include <string>
#include "Employee.h"
#include "Container.h"
Container::Container()
{
this->nr = 0;
this->employees = nullptr;
}
void Container::add(Employee* bob)
{
if (employees == nullptr)
{
employees = new Employee*[1];
employees[0] = bob;
nr=nr+1;
}
else
{
Employee** tmp;
tmp = new Employee*[n... |
cb1df7babbb5fd57df212b7c02afe1de9643794c | f732cf220b6976aafb8bde460174bfa41f68267b | /DTLS/dtls_session_manager_sql.h | dc60018bf380836a0e9f2e9d21111056b6f08e5c | [] | no_license | WorkerBeesTeam/Helpz | 5195ddd780053efcca28d348c0e01604628a5a7b | 4f916bb8836d5c4472e5c4f389d80048ddd9b5e0 | refs/heads/master | 2021-10-15T13:26:40.350238 | 2020-08-17T17:38:36 | 2020-08-17T17:38:36 | 147,148,813 | 0 | 0 | null | 2019-11-21T05:27:34 | 2018-09-03T03:51:13 | C++ | UTF-8 | C++ | false | false | 3,038 | h | dtls_session_manager_sql.h | #ifndef HELPZ_DTLS_SESSIONMANAGER_SQL_H
#define HELPZ_DTLS_SESSIONMANAGER_SQL_H
#include <iostream>
#include <botan-2/botan/rng.h>
#include <botan-2/botan/credentials_manager.h>
#include <botan-2/botan/tls_session_manager.h>
#include <botan-2/botan/tls_alert.h>
#include <botan-2/botan/tls_policy.h>
#include <QObject... |
ea73b85c669c6e0d54317e6ff90d89d4ef89ab43 | 5e2b23eda6a4daaca7d4f4ad0918564b667b2594 | /plot.cpp | ef30c985a78bce6114710a4499071cc25fe64120 | [] | no_license | tiffany051/Graphing-Calculator | e8a8372e4c7a0281a454dddcded6b57e92008bea | 70a813a7d48ddaddaf33d3651ffc08d103c300e5 | refs/heads/main | 2023-04-15T07:55:08.545225 | 2021-05-01T05:29:29 | 2021-05-01T05:29:29 | 363,330,701 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,889 | cpp | plot.cpp | #include "plot.h"
Plot::Plot(graph_info* graph):_info(graph),_translator(_info)
{
//initialize the plot
graph->_equation.push(new variable('x'));
graph->_window_demensions = sf::Vector2f(WORK_PANEL, SCREEN_HEIGHT);
graph->_origin = sf::Vector2f(graph->_window_demensions.x / 2, graph->_window_dem... |
c4dabc26ee949eaa8db77f8f09d4d63dc54cf032 | a962db3467be3b04b68714abb00611ff92c121b6 | /example/funcPointer_arr.cpp | a83d3d65e33b5e1954193b3e42da6174b282d87b | [] | no_license | blueyi/cpp_study | 6bf636076c4489996a95067bbf41d634b6a36b5d | 8d839744f9a7c7d217c265e6ca480eb78dbc7162 | refs/heads/master | 2020-04-05T14:04:48.226583 | 2016-09-01T01:16:45 | 2016-09-01T01:16:45 | 38,018,441 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 804 | cpp | funcPointer_arr.cpp | /*
* funcPointer_arr.cpp
* Copyright (C) 2016 blueyi <blueyi@blueyi-lubuntu>
*
* Distributed under terms of the MIT license.
*/
#include <iostream>
float f1(float a, int b)
{
std::cout << a << " + " << b << " = " << a + b << std::endl;
return a + b;
}
float f2(float a, int b)
{
std::cout << a << " *... |
7a98de1c6ba11164a2e49a5a3e574c2e8042cf81 | d7c77018b0c5e7d1e6e24d82fa905a1ac5b0a85e | /PbInfo/placare.cpp | b138113660fba57fa44d3e452f52f4228cada934 | [] | no_license | muresangabriel-alexander/cplusplus-competitive | 9396cff60c6be0f5ae3d307f58e350423e336764 | 4a17656ccbea58d779bf5bd74aed5edb9c579ca6 | refs/heads/master | 2021-04-28T07:57:22.419138 | 2018-02-20T18:42:59 | 2018-02-20T18:42:59 | 122,238,407 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 815 | cpp | placare.cpp | #include <fstream>
using namespace std;
ifstream fin("placare.in");
ofstream fout("placare.out");
short int a[305][305],P[101];
int main()
{
int n,m,i,j,p,k;
fin>>n>>m;
for(int i=1;i<=n;i++)
{
j=1;
while(P[i]<m)
{
fin>>p;
while(... |
cc55599d8d711088c240e1dd5f15f3741b7fc723 | cb7ac15343e3b38303334f060cf658e87946c951 | /source/runtime/engine/RawIndexBuffer.h | 09d582169c5665efb26099f94b3c1f128751b37f | [] | no_license | 523793658/Air2.0 | ac07e33273454442936ce2174010ecd287888757 | 9e04d3729a9ce1ee214b58c2296188ec8bf69057 | refs/heads/master | 2021-11-10T16:08:51.077092 | 2021-11-04T13:11:59 | 2021-11-04T13:11:59 | 178,317,006 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,711 | h | RawIndexBuffer.h | #pragma once
#include "EngineMininal.h"
#include "RenderResource.h"
#include "Containers/DynamicRHIResourceArray.h"
namespace Air
{
namespace EIndexBufferStride
{
enum Type
{
Force16Bit = 1,
Force32Bit = 2,
AutoDetect = 3
};
}
class IndexArrayView
{
public:
IndexArrayView()
:mUntypedIndexDa... |
32b997b2c1a6c822b951c3bece5cde4f98f223d9 | c83f1f84d00b9fa2640a362e59c4322d6e268116 | /use a cabeça/Command/Command/src/concrete/commands/MacroCommand.cpp | dafcac48d5ed9d354d90e95dca9d3bb2a85aa9ef | [
"MIT"
] | permissive | alissonads/Design-Patterns-cplusplus | 9a2936fa7d3cd95c6816e44511eac132e10e96be | 0e56fbc0c1877b9edf2ad5efafbb9a01fa94d748 | refs/heads/master | 2020-06-28T01:06:45.933658 | 2019-08-01T18:39:55 | 2019-08-01T18:39:55 | 200,101,824 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 321 | cpp | MacroCommand.cpp | #include "MacroCommand.h"
MacroCommand::MacroCommand(std::initializer_list<Command*> _commands) :
commands(_commands)
{}
MacroCommand::~MacroCommand()
{
commands.clear();
}
void MacroCommand::Execute()
{
for (auto i : commands)
i->Execute();
}
void MacroCommand::Undo()
{
for (auto i : commands)
i->Undo();
}... |
da21464e24aa7ecc4adf79de1f4b497942d172f5 | 3657bb42387d76fd041d37bf2d69bad7f916f16a | /DesignPattern/DesignPattern/src/Visitor/Visitor_doubleDispatch.cpp | 7909996e3deab9018c0b3ed3bc4866f4ffb67bb6 | [
"MIT"
] | permissive | goodspeed24e/Programming | 61d8652482b3246f1c65f2051f812b2c6d2d40ce | ae73fad022396ea03105aad83293facaeea561ae | refs/heads/master | 2016-08-04T02:58:01.477832 | 2015-03-16T15:12:27 | 2015-03-16T15:13:33 | 32,333,164 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,918 | cpp | Visitor_doubleDispatch.cpp | #include <iostream>
using namespace std;
class Base { public:
virtual void process1( Base& ) = 0;
virtual void process2( class A& ) = 0;
virtual void process2( class B& ) = 0;
virtual void process2( class C& ) = 0;
};
class A : public Base { public:
/*virtual*/ void process1( Base& second ) { second.... |
f5c7236deb523c3bfa45ad2bff30e8c54f2aadfb | f67d5094e9fc21c23bced1ed5b2687717c5f33df | /src/population/vessel/properties/AbstractVesselNetworkComponentProperties.hpp | 46e16a7d6a66c1cb03d18d18ec37ff321fbd8d6d | [] | no_license | myousefi2016/MicrovesselChaste | a8351caccd9b8faa9ba6045075efb93bdd659cab | 6df2687d7417acaa3752dd897084a3ceedf73375 | refs/heads/master | 2020-12-30T12:34:57.580589 | 2016-12-20T17:47:49 | 2016-12-20T17:47:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,186 | hpp | AbstractVesselNetworkComponentProperties.hpp | /*
Copyright (c) 2005-2016, University of Oxford.
All rights reserved.
University of Oxford means the Chancellor, Masters and Scholars of the
University of Oxford, having an administrative office at Wellington
Square, Oxford OX1 2JD, UK.
This file is part of Chaste.
Redistribution and use in source and binary... |
58ee93ac8f8195c0f8b8ee18bf4c1c39558ae33b | 1f4a5cffdccc21704a2e76ef732b03a6b489b45a | /ArduinoBuildLightSerialCommunication/ArduinoBuildLightSerialCommunication.ino | 0b46f059b22daea633e22ccfe6f31df9735f1c0b | [] | no_license | Jonathan75/ArduinoCIBuildNotification | e945c4a0ab503a9fcde24f52042a347ae5d99ad3 | 13b38cc82ed8f5782d55ad70603ff07711a3b8be | refs/heads/master | 2021-03-12T22:45:24.335449 | 2015-01-13T21:22:01 | 2015-01-13T21:22:01 | 23,541,424 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,019 | ino | ArduinoBuildLightSerialCommunication.ino | const int redLed = 11;
const int yellowLed = 12;
const int greenLed = 13;
int count = 0;
//int lights[] = {11,12,13};
int brightness = 0; // how bright the LED is
int fadeAmount = 1; // how many points to fade the LED by
int brightnessMax = 255;
int lightPin = 13;
int lightValue = 10000;
void setup() { ... |
1b3c5316611bcc1dec144b7ee376351992c601b1 | 873002d555745752657e3e25839f6653e73966a2 | /model/WalletAlterRequest.h | 7ec2d3cd7596502e90e074d406448ea026306f94 | [] | no_license | knetikmedia/knetikcloud-cpprest-client | e7e739e382c02479b0a9aed8160d857414bd2fbf | 14afb57d62de064fb8b7a68823043cc0150465d6 | refs/heads/master | 2021-01-23T06:35:44.076177 | 2018-03-14T16:02:35 | 2018-03-14T16:02:35 | 86,382,044 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,395 | h | WalletAlterRequest.h | /**
* Knetik Platform API Documentation latest
* This is the spec for the Knetik API. Use this in conjunction with the documentation found at https://knetikcloud.com.
*
* OpenAPI spec version: latest
* Contact: support@knetik.com
*
* NOTE: This class is auto generated by the swagger code generator 2.3.0-SNAPS... |
0baa6905299d0bd2f43d5084030187ba7e657424 | b77d6b7290b2bb0dd60cd6566cffea5b9b180dec | /src/Trees.cpp | a97966eb2e32db94690f02c2c9c9139424060f4e | [] | no_license | DeclanRussell/terrainGeneration | 802f130b1d376895d8f6b97e7a6e3db62773a667 | b859d6b39a0019164da842ed438f780bfcb66e7e | refs/heads/master | 2021-03-12T20:38:08.148127 | 2015-02-15T14:55:44 | 2015-02-15T14:55:44 | 28,363,922 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,013 | cpp | Trees.cpp | #include "Trees.h"
#include <time.h>
#include <stdio.h>
#include <stdlib.h>
#define MAXTREES 100
Trees::Trees(sampleMode _mode){
m_numTrees = 0;
m_minTreeHeight = 0.1;
m_maxTreeHeight = 0.4;
}
//----------------------------------------------------------------------------------------------------------------... |
159672d6bd470e3baf72130c45834157b0ba0863 | 252271345e26e241547380ce690a0d6c68e2214e | /fab/geometry/template/operations/modify_operations.cc | 4d5b48454d91b7289436c6363ea7c7bf5861009f | [] | no_license | shumash/plato_codesample | c46c60201e3a2b7bc1b8531821f536744e797da9 | 98e6e042b2ebcb97ce8635dc6725cefd8d6ed2d2 | refs/heads/master | 2020-06-02T11:40:17.962511 | 2015-09-25T01:25:24 | 2015-09-25T01:25:24 | 42,969,022 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 9,278 | cc | modify_operations.cc | #include <cstdlib>
#include <Eigen/Geometry>
#include <boost/smart_ptr/scoped_ptr.hpp>
#include <carve/polyhedron_decl.hpp>
#include <carve/csg.hpp>
#include <gflags/gflags.h>
#include "fab/geometry/convert.h"
#include "fab/geometry/transform_utils.h"
#include "fab/geometry/template/modify_operations.h"
#include "fa... |
c6bc6f644d4eee2064d3d2f6972c9484d3839507 | a35c0d06754e161551e3059cdfa834e12fd312bd | /ForScience/levelSelectScreen.cpp | 08d899235dd0f34da38681bb9b59bc455c2cd279 | [] | no_license | yugiohatemu/ForScience | 7100d4fcc89a2d1f93f0b2a80e1813f0e09fdb0a | 0c138923249ab2f5385459d448b2adbec2fbdbc6 | refs/heads/master | 2020-12-30T10:50:03.773623 | 2013-10-07T01:57:12 | 2013-10-07T01:57:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,633 | cpp | levelSelectScreen.cpp | //
// levelSelectScreen.cpp
// ForScience
//
// Created by Yue on 8/4/13.
// Copyright (c) 2013 Yue. All rights reserved.
//
#include "levelSelectScreen.h"
#include "utility.h"
#include "constant.h"
#include "screenController.h"
#include "levelScreen.h"
#include <iostream>
LevelSelectScreen::LevelSelectScreen():Sc... |
ca96f4288721a9932cc4e5373ffa2caeb85a1e5c | 00c080b3a179f3f52d742f7247198dbe1df49a0d | /esClasse/05_raz/raz.cpp | d97fd18d2989ea3223297f48a2888de98829989a | [] | no_license | Giosh99/Programmazione_2 | 6dbd65dda326e943c7131b727e6895260924871a | b32f1dfaf902290166d01e7a47db0d6af9841dfc | refs/heads/master | 2020-09-08T05:41:28.397954 | 2020-04-14T16:33:50 | 2020-04-14T16:33:50 | 221,032,262 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 977 | cpp | raz.cpp | #include "raz.h"
#include <iostream>
//scelta implementativa: se viene passato denominatore nullo prendo valore di default 1
Raz::Raz(int n, int d):num(n), den(d ? d:1){}
//scelta implementativa: reciproco di 0 è 0
Raz Raz::inverso() const{return num==0 ? Raz():Raz(den, num);}
Raz::operator double() const{
retur... |
9a8237d42e2f68139c0110636c04bfa14b900ff1 | 7d886deca26b119da215cb098881f105b7fd53e2 | /VTS3/VTSEventOutOfRangeDlg.cpp | 2a429cdf3f3e1d43c9ee017308d21b146a6b85ea | [] | no_license | larrycook99/vts | 2e3d9a4f377199b89302f129d229eb443b920ea2 | eb75f416c3a7d082004703fbf69da3ba04dd6ece | refs/heads/master | 2023-01-12T00:19:02.536960 | 2020-11-22T03:43:50 | 2020-11-22T03:43:50 | 314,956,244 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,496 | cpp | VTSEventOutOfRangeDlg.cpp | // VTSEventOutOfRangeDlg.cpp : implementation file
//
#include "stdafx.h"
#include "vts.h"
#include "VTSEventOutOfRangeDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// VTSEventOutOfR... |
78c0388f41b36c672480bc005ddcbd04e7aaf93c | 8353b4a4241c3dd22873700abcfd11c9a7ef51a4 | /huyacc/SFlexxTerm.h | 1e76bb8b242349362cfa0f84e6ada01e3bb3bf8b | [] | no_license | Egor2001/CompilerCompiler | d2a4d43a198d396e42ffcf6e09dc46400cbdf00c | fc0d1372be6f22e7a637bdc8a47eeb8175a34bb7 | refs/heads/master | 2020-11-24T16:39:49.033799 | 2020-02-07T08:09:52 | 2020-02-07T08:09:52 | 228,251,269 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 147 | h | SFlexxTerm.h | #ifndef STERM_H
#define STERM_H
#include <string>
//namespace {
struct SFlexxTerm
{
std::string name;
};
//} //namespace
#endif //STERM_H
|
4b5c494062f0c037d563394b33d36a19fd3ba8f0 | c39b58c29877f18781c142103678f37d0ac6fd2a | /Mandala/Mandala/MusicComponent.cpp | 7d9f41898ae97bb5dd9dae94aab584716c8d22fa | [] | no_license | LauraLaureus/M.A.N.D.A.L.Aproject | ba9469c7fd0f033a8ba5c5401e81108ca85d511e | 67c8d50ac7be0c4aecb058c391409f6b1e5995ff | refs/heads/master | 2021-01-19T08:23:15.974600 | 2017-06-12T16:56:52 | 2017-06-12T16:56:52 | 87,623,773 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 661 | cpp | MusicComponent.cpp | #include "MusicComponent.h"
MusicComponent::MusicComponent(GameEntity* parent,std::string name): GameComponent(parent)
{
this->filename = name;
this->filePath = AudioMaster::getAbsoluteFileName(name);
this->music.openFromFile(this->filePath);
}
MusicComponent::~MusicComponent()
{
}
void MusicComponent::play(... |
7f57f6418206c7632a57d05fe5cb0707228788c7 | c3913bdb6f304dad5b27a589b64090987f66a339 | /objectdet/ObjectDetStructureRule.cpp | 7ae95bf8267d1fbbe9fb492a4cbb6e3997271f7d | [] | no_license | acproject/eagleeye | 2a0894380e4e2ab417a22d72d2e0e8a032755ed7 | 9db55bb6678c1563edb659a37aeb6ad400fc3f6a | refs/heads/master | 2021-05-27T04:05:45.451813 | 2014-03-01T10:08:06 | 2014-03-01T10:08:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,650 | cpp | ObjectDetStructureRule.cpp | #include "ObjectDetStructureRule.h"
#include "Matlab/MatlabInterface.h"
namespace eagleeye
{
ObjectDetStructureRule::ObjectDetStructureRule(const char* name)
:LinkRule(name)
{
m_offset_w = 0.0f;
m_rule_pase_feature = Matrix<float>(1,PIXEL_FEATURE_DATA_OFFSET + 1,1.0f);
m_rule_parse_weight = Matrix<float>(1,1,0.0f)... |
e9ca1f4e9599eae21e2bca6a036fb8f80f58cb29 | ad1b91e1536bcedb7a360d504473627e995cbd46 | /src/generic.hpp | 6663744127b71868e7c410443b0a85e6708eb289 | [
"MIT"
] | permissive | lnfernal/LoopCube | f24031f0b72d7af6de6651d6f8fd6b0abddae36f | 882296f32bfe3a8b1765950a9b8c9e24af75d009 | refs/heads/master | 2023-04-04T16:47:23.588432 | 2021-04-12T00:08:23 | 2021-04-12T00:08:23 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,250 | hpp | generic.hpp | #pragma once
#ifndef __HEADLESS
#include <SDL2/SDL.h>
#include "texturehandler.hpp"
#include "../include/glad/glad.h"
#include <SDL2/SDL.h>
#include <SDL2/SDL_opengl.h>
#include "graphics.hpp"
#endif
#ifdef __HEADLESS
struct SDL_Rect
{
int x;
int y;
int w;
int h;
};
#endif
#include <iostream>
#incl... |
57f4e0c0782d388bf5d89dcd8993206343f8dbc7 | cfeac52f970e8901871bd02d9acb7de66b9fb6b4 | /generated/src/aws-cpp-sdk-workspaces-web/include/aws/workspaces-web/model/CreateNetworkSettingsRequest.h | 88b1368b73d3480772157b836bfac96efa63dbbb | [
"Apache-2.0",
"MIT",
"JSON"
] | permissive | aws/aws-sdk-cpp | aff116ddf9ca2b41e45c47dba1c2b7754935c585 | 9a7606a6c98e13c759032c2e920c7c64a6a35264 | refs/heads/main | 2023-08-25T11:16:55.982089 | 2023-08-24T18:14:53 | 2023-08-24T18:14:53 | 35,440,404 | 1,681 | 1,133 | Apache-2.0 | 2023-09-12T15:59:33 | 2015-05-11T17:57:32 | null | UTF-8 | C++ | false | false | 15,201 | h | CreateNetworkSettingsRequest.h | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/workspaces-web/WorkSpacesWeb_EXPORTS.h>
#include <aws/workspaces-web/WorkSpacesWebRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <aws/core/utils/memory... |
8ab50524aff140854b64bba56aa19c30b396a773 | 9b94dbf1525c4c950d0e2bd3e3ee05ad0ee1c03f | /block-scanner/src/init.cpp | a8b57f45228cb5a3c881e6c0aa62f43b62a4b36d | [] | no_license | fourseaLee/explorer-core | 50444d26010b92ce7266e1ef26105d4bd7ecb185 | 7fc11b19d20d4607c473a026c145a7068f4c68da | refs/heads/master | 2020-05-07T13:06:42.642659 | 2019-04-28T06:12:37 | 2019-04-28T06:12:37 | 180,534,761 | 0 | 0 | null | 2019-04-10T08:15:07 | 2019-04-10T08:15:06 | null | UTF-8 | C++ | false | false | 6,067 | cpp | init.cpp | #include "init.h"
#include "common.h"
#include <glog/logging.h>
#include <unistd.h>
#include "db_mysql.h"
#include <boost/program_options.hpp>
#include "blockchain_rpc.h"
#include "syncer.h"
#include "vns_rpc.h"
static ConfManager s_conf;
static bool InitLog(const std::string& log_path)
{
FLAGS_alsologtostderr = ... |
2b4f68568ae10716b18b71f4fbeaeef0206c57c6 | 04896c0dfb5e7d25c60a31097d0ea63b59d31811 | /src/utils/dx_proxy/filememcache.h | 6425f7cee1878dc28dbadd3b0e77388dcc6cc1c8 | [] | no_license | Petercov/Quiver-Engine | f2e820c21c89682f284a6cc5718ed59c6023d525 | 05605a28072682a56ea099dba6b6043da38fa84c | refs/heads/master | 2023-08-15T06:07:40.251252 | 2021-10-19T09:23:05 | 2021-10-19T09:23:05 | 373,350,248 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,495 | h | filememcache.h | //====== Copyright c 1996-2007, Valve Corporation, All rights reserved. =======//
//
// Purpose:
//
// $NoKeywords: $
//
//=============================================================================//
#ifndef FILEMEMCACHE_H
#define FILEMEMCACHE_H
#ifdef _WIN32
#pragma once
#endif
#include "tier0/platform.h"
#defi... |
299e0a54e56929bea4ddd31fe312bbc493a270ac | 1cee1433d247d5595d71185c7bd133d0fdf0f015 | /client/src/utility/html_utils.hpp | ae521b0bef4abbe40f9c0595061ac526603de3d1 | [] | no_license | ilya-golovenko/chat-informer | 3fe1d20b4c26fb3c16de2bf6545361e9aeabf289 | 5c2453f14a8fe4d9811cb60596eaf2c4f44a72cf | refs/heads/master | 2021-01-01T18:49:37.727769 | 2014-12-11T16:53:33 | 2014-12-11T16:53:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 671 | hpp | html_utils.hpp | //---------------------------------------------------------------------------
//
// This file is part of Chat.Informer project
// Copyright (C) 2011, 2013, 2014 Ilya Golovenko
//
//---------------------------------------------------------------------------
#ifndef _chat_utility_html_utils_hpp
#define _chat_utilit... |
5f1965aa6b0728cb33cdcd6d570a925350059cba | b04636f31f716c21a6c0d77bc49b876bc496fff7 | /Olympiad/VOI/VO Online 2019/Jury files/Contestants/Lê Quang Kỳ - Admin09/DANANG.cpp | 33cb6d3af837c47d99d72a4cf934f7816db42dba | [] | no_license | khanhvu207/competitiveprogramming | 736b15d46a24b93829f47e5a7dbcf461f4c30e9e | ae104488ec605a3d197740a270058401bc9c83df | refs/heads/master | 2021-12-01T00:52:43.729734 | 2021-11-23T23:29:31 | 2021-11-23T23:29:31 | 158,355,181 | 19 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,736 | cpp | DANANG.cpp | #include <bits/stdc++.h>
using namespace std;
struct TE {int v[2], id[2]; long long w;};
typedef pair<int, int> ii;
struct TH
{
long long du, prew, u, id;
inline bool operator < (const TH& x) const
{
return (du > x.du) || (du == x.du && prew > x.prew);
}
};
int n, m;
long long D;
TE e[200001]... |
5d5823cdc6ca3f57a8b52633a87a81ef7d6dc427 | de15d026a12052001d82107e45782fc1097609da | /stack_machine/src/stack_machine.cpp | 9ca592ce1f39d2efc3c61670d245a4da373b7f4c | [] | no_license | Spoof1511/Algorithms | 63253c38994b02e51655a2fd57693308fc36c2a9 | 0be174f5cfbb98a54772c2133562f08928b05dc9 | refs/heads/master | 2021-07-20T21:19:00.988050 | 2017-10-30T17:29:48 | 2017-10-30T17:29:48 | 108,838,008 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,686 | cpp | stack_machine.cpp | ////////////////////////////////////////////////////////////////////////////////
// Module Name: stack_machine.h/cpp
// Authors: Sergey Shershakov
// Version: 0.2.0
// Date: 23.01.2017
//
// This is a part of the course "Algorithms and Data Structures"
// provided by the School of Software Engineer... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.