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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
752853d668583d1ced83fd299ed3459a25004f02 | 19924b4dfb05af88ddbad69411097fc94ed3d2ef | /src/ECS/entitysystem.h | c528fdd1ba5f32f575e7931992dd36eaf1622c55 | [] | no_license | Gallasko/BasicLibrary | faac8bfdc34680989f5c7353529cd7c7a31a74d8 | 00ffb3c83750ef0261a1e585e8718355fa8b39d5 | refs/heads/master | 2023-02-24T09:17:47.219935 | 2021-01-25T03:17:54 | 2021-01-25T03:17:54 | 325,675,001 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,256 | h | entitysystem.h | #pragma once
#include <unordered_map>
#include <string>
#include <vector>
class EntitySystem
{
public:
EntitySystem() {};
struct GenericComponent
{
unsigned int entityId;
GenericComponent *prev;
GenericComponent *next;
void *data;
};
class Entity
{
frie... |
770e9cfb6a2954f772dfd66cde8ae44bf1f8a4df | 709001130bed2c061d8340dd7133fef3fe4a99c5 | /WinServer/NetWork/Connector.cpp | 605bb6a71abb40f2969ca42f69e3a3e6af5d3d5f | [] | no_license | zh423328/WinServer | c4de29e13b83920a391747ce9248a7b7797ea514 | 66e7373eba594bd7ab998184b9df320a6cd1933e | refs/heads/master | 2021-01-23T13:47:47.242336 | 2015-04-27T13:53:42 | 2015-04-27T13:53:42 | 33,388,988 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,832 | cpp | Connector.cpp | #include "Session.h"
#include "SessionList.h"
#include "Connector.h"
#include "TcpServer.h"
DWORD WINAPI CConnector::_ConnectThread( LPVOID lpParam )
{
CConnector *pConnector = (CConnector*)lpParam;
if (pConnector)
{
while (!pConnector->m_bShutDown)
{
xe_uint32 dwRet = WaitForSingleObject(pConnector->m_hEven... |
ce3ea644a1892b854918685c19b346e79337b527 | 64aca0dda6624b956cac6d22d892d6416476e814 | /Binary Tree/diameterOfTree(BottomUp).cpp | 2cc695a13f62971c2c199225a896074f1bb53350 | [] | no_license | Darkknight1299/C-plus-plus | c772331a87ab36fb01036703370b1108d8aff901 | 0255dfa1609401234eb627463f1e7d0a3058b684 | refs/heads/main | 2023-06-24T11:05:55.068853 | 2021-07-20T12:59:48 | 2021-07-20T12:59:48 | 344,157,787 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,346 | cpp | diameterOfTree(BottomUp).cpp | #include<bits/stdc++.h>
using namespace std;
class node{
public:
int data;
node* left;
node* right;
node(int d){
data=d;
left=NULL;
right=NULL;
}
};
node* buildtree(){
int d;
cin>>d;
if(d==-1){
return NULL;
}
node* root=new node(d);
root->left=buildtre... |
2553452f86f87911955c6af30feb36d2fc9fe2fd | 2f069daa0e42d523014593013c296fd3734ff475 | /alpha6124/CMyLib.cpp | 9b98d34568813de9d296bf47a0262687802e23a8 | [] | no_license | fangyang86/alpha6124 | b1ed2ecefba2b6da215fece124c5b0353bfc1194 | 93de118c6c3af28585afff57cb2fdc6d9364d8b7 | refs/heads/master | 2021-09-04T08:26:50.522206 | 2018-01-17T09:38:05 | 2018-01-17T09:38:05 | 113,480,876 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 840 | cpp | CMyLib.cpp | #include "stdafx.h"
#include <direct.h>
#include <stdio.h>
#include <stdlib.h>
#include "CMyLib.h"
CMyLib::CMyLib()
{
}
CMyLib::~CMyLib()
{
}
void CMyLib::initGPS()
{
m_gps.nState = 0;
m_gps.nField = 0;
m_gps.nLen = 0;
m_gps.nValidChar = 0;
m_gps.x = 0.;
m_gps.y = 0.;
}
int CMyLib::gpsParse1(char c)
{
re... |
6c88722283ccdcd23c8b7222fb4b09bc81702523 | 6f9ca9684edca7c507062744c9cbcbf91d8a9f02 | /src/common_ui/KPosComboBoxSimple.cpp | 22a15d45904691c8608a673c4ec3303a853bacee | [] | no_license | yangchenglin815/kmis | e039a32c42965ccfc8a6b4396f6264eec24a2e76 | d06bafa60c9a87b5ed5617adc0a39a82ec0c89d7 | refs/heads/master | 2020-05-04T06:39:25.653287 | 2019-07-25T03:14:03 | 2019-07-25T03:14:03 | 179,011,069 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,872 | cpp | KPosComboBoxSimple.cpp | #include "KPosComboBoxSimple.h"
#include <QPainter>
KPosComboBoxSimple::KPosComboBoxSimple(QWidget *parent)
: QWidget(parent)
, m_sContent("")
, m_sOutLineColor("#ea8852")
, m_bHasOutline(true)
, m_nFontSize(14)
{
}
void KPosComboBoxSimple::setContent(QString content)
{
m_sContent = content;
... |
e7c9f1b3f1e21b3b2f9db3dd692e5c825ec2604e | e99594290d471bb57b5601773e0badf49ecdb71c | /engine/MyGUI/MyPlatform.h | cd4e3b1d09804fc95d70130a3697d13d577679b5 | [] | no_license | chenxiaobin3000/xengine | 0c08805a1b675f4ba90d7fef36baa74aaf15beaa | 8f8def65692e4b58b1167f96012d767f6c620e80 | refs/heads/master | 2021-01-15T15:31:30.486855 | 2016-09-20T07:14:43 | 2016-09-20T07:14:43 | 51,683,277 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 650 | h | MyPlatform.h | /**
* desc:
* auth: chenxiaobin
* data: 2016-01-25
*/
#ifndef _MY_PLATFORM_H_
#define _MY_PLATFORM_H_
#include "MyGUI_Prerequest.h"
#include "MyGUI_LogManager.h"
#include "MyRenderManager.h"
#include "MyDataManager.h"
namespace MyGUI {
class MyPlatform
{
public:
MyPlatform();
~MyPlatform();
void init... |
73e1df77a24f6430107410c48b7a9dfe9556c4ae | 69c317338c02622c77c3e9b8add6a115ec2774d2 | /61HW9Q2.cpp | eb4a1739cb9da660f19804bc38c31e51d75f495d | [] | no_license | sunbun99/Schoolwork-Practice | 9416265e99b27fc29d2504b53a3b3542e112d694 | 059b01173cdd25a2ef65d105a01fdc48b966572b | refs/heads/master | 2021-09-21T06:35:15.837661 | 2018-08-21T18:11:27 | 2018-08-21T18:11:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,457 | cpp | 61HW9Q2.cpp | #include <iostream>
#include <fstream>
#include <vector>
#include <cstdlib>
#include <string>
#include "graph.h"
using namespace std;
int main()
{
ifstream instream;
instream.open("knuth.txt");
if(instream.fail())
{
cout << "Input file opening failed." << endl;
exit(1);
}
... |
49370c57cd062c5cd9d74de50904b690045e4850 | 33b567f6828bbb06c22a6fdf903448bbe3b78a4f | /opencascade/Prs3d_ToolDisk.hxx | 7b4fea28dff6505e6e075d5c65fb8e50f79611f0 | [
"Apache-2.0"
] | permissive | CadQuery/OCP | fbee9663df7ae2c948af66a650808079575112b5 | b5cb181491c9900a40de86368006c73f169c0340 | refs/heads/master | 2023-07-10T18:35:44.225848 | 2023-06-12T18:09:07 | 2023-06-12T18:09:07 | 228,692,262 | 64 | 28 | Apache-2.0 | 2023-09-11T12:40:09 | 2019-12-17T20:02:11 | C++ | UTF-8 | C++ | false | false | 3,507 | hxx | Prs3d_ToolDisk.hxx | // Created on: 2016-02-04
// Created by: Anastasia BORISOVA
// Copyright (c) 2016 OPEN CASCADE SAS
//
// This file is part of Open CASCADE Technology software library.
//
// This library is free software; you can redistribute it and/or modify it under
// the terms of the GNU Lesser General Public License version 2.1 as... |
776bec05be433bc52bcb39f9029892eb9ab79c96 | ee6b1fb4345b2a9c05618d0a9fa3d24660b902ca | /image-editor/h/Image.h | 37a1232d9b2a6a701d790cac2bd4fb4ccaa6d8d9 | [] | no_license | maslarevicolga/image-editor | 6ffdfd66f2a0cf7ab028964d30fb1df0928c20f1 | 25f1983eadbe6761cafa0109765b01d03308163e | refs/heads/master | 2022-12-21T15:53:00.737061 | 2020-10-01T10:17:21 | 2020-10-01T10:17:21 | 300,222,959 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,179 | h | Image.h | #ifndef _IMAGE_H
#define _IMAGE_H
#include "ImageSelections.h"
#include "ImageLayers.h"
#include "Image_Operation.h"
#include "Formater.h"
class Image { //singleton class
ImageSelections selections;
ImageLayers layers;
Image_Operation operation;
Formater* formater = nullptr;
static Image* instance;
Image();... |
67ada20f09bbb189baf8f3606d0c662de459ea86 | 2c171bed180cb207bc17e7fe2f97f473868d0120 | /Sphere.h | 73347c9ef04fe47d0829f69c48cc5a940ea76374 | [] | no_license | guptapiyush8871/BasicRayTracer | 5c8d3a29e1ad97c3c1a97e0926c5a2b5ca79234d | 706ecc158985f4fc27d7fd7660f342a28f9584b1 | refs/heads/master | 2020-04-03T12:46:06.774871 | 2018-12-09T13:33:32 | 2018-12-09T13:33:32 | 155,263,205 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 578 | h | Sphere.h | #ifndef SPHERE_H
#define SPHERE_H
#include "Shape.h"
#include "Vertex3f.h"
class Sphere : public Shape
{
public:
Sphere();
Sphere(const Vertex3f iCenter, const RGBAColor iColor, const float iRadius);
Sphere(const Sphere& iSphere);
virtual ~Sphere();
virtual void SetColor(const RGBAColor& iColor... |
fb8b1bb70aefb3418e941c0a22f311fba66e5ac0 | ceaeacda04d25169b55814ed19e658b7d1e443c6 | /main.cpp | 84d334337cdcb8e0b8cf7827ff8cce48def3686e | [] | no_license | Huy1996/CMPE-126-Project | 01040a8b0fe1217b09230ed43e08fa1d59833f49 | e695ceec4a81d9fd9f8396f9b3467995a43d5ab6 | refs/heads/main | 2023-01-12T10:43:25.160097 | 2020-11-21T06:25:55 | 2020-11-21T06:25:55 | 311,329,085 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 886 | cpp | main.cpp | //
// Created by minhh on 10/29/2020.
//
#include "school.h"
int main() {
cout << "Nguyen Minh Huy Duong\n";
cout << "014701349\n";
bool valid = true;
do
{
cout << "\nWhich page do you want to access?\n";
cout << "(1) Professor.\n(2) Student.\n(3) Exit.\n";
cout << "Your ch... |
298daf9443db6983359b8530dbb8492178f1e5ef | 4689a9333948eb4f6ac5977820d98d5ea5cf03bd | /src/elliptic/amgSolver/parAlmond/utils.hpp | 352c5a7c076dda1231bc6c11744ed280b1120db5 | [
"BSD-3-Clause"
] | permissive | spatel81/nekRS | 95315d455687c781f268a290353079a9c5aadb3a | 8ee9c381f86f5f70867d942616e585ee726a8ca1 | refs/heads/master | 2023-05-24T03:31:00.650283 | 2022-05-13T09:31:06 | 2022-05-13T09:31:06 | 280,201,246 | 0 | 0 | NOASSERTION | 2020-07-16T16:18:55 | 2020-07-16T16:18:54 | null | UTF-8 | C++ | false | false | 2,895 | hpp | utils.hpp | /*
The MIT License (MIT)
Copyright (c) 2017 Tim Warburton, Noel Chalmers, Jesse Chan, Ali Karakus, Rajesh Gandham
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 w... |
a773c01385a8475e0bff33912a8dea42fc6f28fa | d676dcbb13cf19404b7575982bd5658ea975c360 | /STL/六大组件测试.cpp | 8e677d4f923445d4fa3934756fa8c39f596f7b5c | [] | no_license | Liny927/CppLearning | 5c6a9966f27b21593d106e9bfc5315025fba6c1c | 27050812cd272c76c315bf1da691cf14f9cecd45 | refs/heads/master | 2021-05-21T09:20:57.562826 | 2020-04-09T15:58:29 | 2020-04-09T15:58:29 | 252,635,203 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 732 | cpp | 六大组件测试.cpp | /*
* @Author: Hellcat
* @Date: 2020-03-31 10:50:39
*/
#include <iostream>
#include <vector>
#include <functional>
#include <algorithm>
using namespace std;
int main() {
int a[6] = { 11, 26, 46, 54, 77, 89 };
vector<int, allocator<int> > v(a, a + 6);
// cout<<*v.end()<<endl; Error 为"前闭后开"区间
for(auto ... |
577e806cdf3b2240f22db83899e72c56513bc3c1 | 3a55b41e640c288cc6c7a831aeb441ef4ceac415 | /Sources/AreaEffect.cpp | d87923f465c9e0abe3797c9202fddc94135d77c3 | [] | no_license | Ianuarius/KnightBrawl | 8c03bb7e02ad0e02bbc82a9fd435147cc62e4c16 | 0ca26183f32b2a4a14e05a2919c5604263005d33 | refs/heads/master | 2016-08-12T21:15:29.048597 | 2015-09-23T15:03:11 | 2015-09-23T15:03:11 | 36,217,437 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 238 | cpp | AreaEffect.cpp | /**
* AreaEffect.cpp
*
*/
#include "AreaEffect.h"
AreaEffect::AreaEffect():
Entity(),
executing(false),
state(0),
hitbox(0, 0, 0, 0)
{
}
void AreaEffect::defineAnimation(Animation *new_animation)
{
animation = new_animation;
} |
10aea4300236de1c655ba46042603c7af7f58b2a | 5d83739af703fb400857cecc69aadaf02e07f8d1 | /Archive2/a2/6c8159bd82bedc/main.cpp | 49f7a05ea75afe1600db9949b6be235e577588b6 | [] | no_license | WhiZTiM/coliru | 3a6c4c0bdac566d1aa1c21818118ba70479b0f40 | 2c72c048846c082f943e6c7f9fa8d94aee76979f | refs/heads/master | 2021-01-01T05:10:33.812560 | 2015-08-24T19:09:22 | 2015-08-24T19:09:22 | 56,789,706 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 603 | cpp | main.cpp | // inner block scopes
#include <iostream>
using namespace std;
int main ()
{
// Initialize two int variables in this outer scope of main()
int x{10};
int y{20};
{ // Inner block's scope begins here
int{x}; // new 'x' initialization ok, we're inside main()'s inner scope
y = 50; // assign ne... |
fb6701a702f5d85f3af85cbdaf294ab3ce6e272f | 5bf674b772c39086764615661f53d70e802d225e | /src/edit_body_view.cpp | f58bffe21c176d32399405ac020d3b71dc772482 | [
"MIT"
] | permissive | pozitiffcat/rester | 512e635f9e3500407c231ba8817b4189d84f9b14 | e930a833910ea93180bacbedf1b1be23f45ee4da | refs/heads/master | 2020-12-02T10:04:47.923807 | 2017-07-12T13:44:53 | 2017-07-12T13:44:53 | 96,689,326 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 30 | cpp | edit_body_view.cpp | #include "edit_body_view.hpp"
|
2067a1d5ae89c3346ff066b26445c64efdb2ce6f | 7ab5c79d2716bc56c2fc2be9bf1cdcb8530379a4 | /c++/Contests/olimpiada/subiecte/oji2012/oji2012/Solutii5_8/Solutii5_8/OJI_7_2012/sol/arme/arme_Adrian.cpp | e79a726cf8af38c5f6ccfb3f63d02e4af30d3b29 | [] | no_license | TeoPaius/Projects | dfd8771199cd8a0e2df07e18dd165bf63ad08292 | ced149ecf1243da2aa97bb1f0e4cd37140bd2d2d | refs/heads/master | 2021-09-24T02:10:52.220320 | 2018-10-01T16:29:01 | 2018-10-01T16:29:01 | 104,876,094 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 436 | cpp | arme_Adrian.cpp | //Pintea Adrian
#include <iostream>
#include <fstream>
using namespace std;
ifstream fin("arme.in");
ofstream fout("arme.out");
int n,m,i,j,p[2001],aux,rezultat;
int main(){
fin>>n>>m;
for(i=0;i<n;i++)
fin>>p[i];
for(i=n;i<n+m;i++)
fin>>p[i];
rezultat=0;
for(i=0;i<n;i++) {
for(j=i+1;j<n+m;j++) {
if (p[i]<p[j]) ... |
c482eabed78ae9609e82956f40f4e80768833b0d | 227ba1b19a1fef1fc8169ec3dee2d088b962b613 | /cpp/7.cpp | 604dd0ca112aae3c21b374daf48a51ea92c6f387 | [] | no_license | LuYanFCP/Leetcode | abd52a315ee9b800a661e21fec72b3a8482fe69a | dee3a087724d874049650ec875d9770e03740be4 | refs/heads/master | 2021-06-28T17:36:47.436590 | 2021-01-14T14:28:53 | 2021-01-14T14:28:53 | 207,544,216 | 5 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,388 | cpp | 7.cpp | #include <cmath>
#include <iostream>
#include <climits>
using std::abs;
using std::cout;
using std::endl;
// using std::MAX_INI;
class Solution {
public:
int reverse(int x) {
if (x == 0 || x == INT_MIN) // 因为int的范围[-2^31, 2^31 - 1],如果x == -2^31使用abs之后会溢出。
return 0;
bool ... |
ad76720ed0a4bf41d35c7ef9bc7b84e484e86871 | 5a7f87804265b0da0ede53b3a31f8f1219c5204b | /kinesis-video-gstreamer-plugin/demo/kvs_producer_plugin_rtsp_demo.cpp | f68a1e6465cea50702e11310940fa704f7a068fd | [
"Apache-2.0"
] | permissive | billcai/amazon-kinesis-video-streams-producer-sdk-cpp | 41bb679a0c9e27a6fcaadf744105854359308e28 | fb958f7d182980d41bdaa5b040894ebb03ae1e7e | refs/heads/master | 2021-01-15T04:14:18.876156 | 2020-04-30T06:02:11 | 2020-04-30T06:02:11 | 242,874,424 | 0 | 2 | Apache-2.0 | 2020-02-25T00:32:51 | 2020-02-25T00:32:50 | null | UTF-8 | C++ | false | false | 6,249 | cpp | kvs_producer_plugin_rtsp_demo.cpp | #include <gst/gst.h>
#include <cstring>
#include <Logger.h>
#include "KinesisVideoProducer.h"
#include <gst/rtsp/gstrtsptransport.h>
using namespace std;
using namespace com::amazonaws::kinesis::video;
#ifdef __cplusplus
extern "C" {
#endif
int gstreamer_init(int, char **);
#ifdef __cplusplus
}
#endif
#define MAX_... |
6f20499fc699eefa5b71b10310426c74e38f03d1 | 9d87d93adf445dff5bb174e72872efd053e14c07 | /manhattan_magnets/main.cpp | 3e58970b9cdd612ff29e514956586cbe2d23d4e5 | [] | no_license | smhx/dmoj | c1064ab32d9609483bd3a072d09efa6b9bf254b1 | c4bb7cc5ac59427718ad08325b760b139c7c9487 | refs/heads/master | 2021-09-17T05:15:28.702218 | 2018-06-28T10:19:43 | 2018-06-28T10:19:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,712 | cpp | main.cpp | #include <cstdio>
#include <algorithm>
#include <cstdlib>
#include <vector>
using namespace std;
typedef pair<int, int> ii;
const int MAXN = 100005, INF = 1000000000;//, EXTRA_X = 8000, EXTRA_Y = 12000;
int N, M, metalx[MAXN], metaly[MAXN], magx[MAXN], magy[MAXN], d[MAXN];
vector<pair<ii, int> > tmp_diff, diff;
vector<... |
b8c3a03fdcfb320137971b7163588893742a40f4 | 83d9d89aad2fefab165be4f9ded9bab88f83f8d6 | /bin/android_app/openframeworks-openFrameworks-53dd099/apps/iPhoneAddonsExamples/opencvExample/src/testApp.h | b02057d77550b45f0468b2dc2c827975efd8df4b | [
"Apache-2.0"
] | permissive | OESF/TreasureHuntingRobot | 6531a22212077330436ef522cd23b711bb4ed7d0 | 88d06dcada6e220fbd97430fc068e63d8365c5db | refs/heads/master | 2016-09-15T17:55:30.628203 | 2012-04-16T08:43:04 | 2012-04-16T08:43:04 | 3,972,744 | 4 | 8 | null | null | null | null | UTF-8 | C++ | false | false | 832 | h | testApp.h | #pragma once
#include "ofMain.h"
#include "ofxiPhone.h"
#include "ofxiPhoneExtras.h"
//ON IPHONE NOTE INCLUDE THIS BEFORE ANYTHING ELSE
#include "ofxOpenCv.h"
class testApp : public ofxiPhoneApp{
public:
void setup();
void update();
void draw();
void touchDown(ofTouchEventArgs &touch);
void touc... |
52412337f1a893358120bd8ea59f47fe106c5346 | 1c82507a16248eda1b6ba4056e5e97df2fc8425b | /table.cpp | 4e28786813d1ddcba1be4344649fbc3e67f7a7cd | [] | no_license | HuskieCat/Homework-1 | b75b7937325b4f91e0f7788729adc0fc2b47a349 | 6fa44ee553bd11fa092e2a7d42e2b6f64a9e93d1 | refs/heads/master | 2023-08-15T00:42:21.785487 | 2021-09-16T01:43:02 | 2021-09-16T01:43:02 | 404,115,083 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,930 | cpp | table.cpp | /**
* Implementation file for table
*
* Author: Bradley Henderson
*/
#include <cstdlib>
#include <iostream>
#include "table.h"
template<typename T>
ostream& operator<<(ostream& out, const Table<T>& table)
{
//out.width();
const int width = out.width();
if(table.rowCount == 0)
return out << "n... |
4901df0cdbb3897c0d60bc4101a94f1f39e1799a | a6a098fa21ddb7882b9f863187d503ca199458b4 | /blade/core/math/Vec4-inl.h | 97f123e285070cc520463fd4edc6db18ac63d636 | [] | no_license | WOODNOTWOODY/LearnOpenGL | fb5321f73b0562719884672796679ebfc5066db2 | 59139e9ab2ef73146fede638721d325de7913fdc | refs/heads/master | 2020-03-25T16:59:56.632662 | 2018-10-08T02:05:00 | 2018-10-08T02:05:00 | 143,958,288 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,959 | h | Vec4-inl.h |
template <typename T>
inline Vec4T<T>::Vec4T()
{
}
template <typename T>
inline Vec4T<T>::Vec4T(const T _x, const T _y, const T _z, const T _w)
: x(_x)
, y(_y)
, z(_z)
, w(_w)
{
}
template <typename T>
inline Vec4T<T>::Vec4T(const Vec3T<T> &vec, T _w)
: x(vec.x)
, y(vec.y)
, z(vec.z)
, w(_w)
{
}
template <... |
ab1bd8f1d0198114b94150aa7991510ba3bde79b | 37fb4433ce96ca36b374fe959dfaa7b5285660ac | /src/mapcellset.cc | ff0aa4e47785ec660cefde78a78b1e4c11615d74 | [] | no_license | sdhuerta/Prob-rob-projects | 17174c70efb385e68a10978bed2b6f7d04a17bb9 | ca812cdc6440dcee5241530d7e27a213abbc7c7c | refs/heads/master | 2021-01-21T13:21:01.341276 | 2016-05-02T04:36:18 | 2016-05-02T04:36:18 | 52,019,455 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,671 | cc | mapcellset.cc |
#include <mapcellset.h>
#define MAX(x,y) (x<y?y:x)
/*********************************************************/
/* The CellTree class holds a balanced binary tree of */
/* MapCell structs */
class CellTree{
private:
MapCell cell;
int height;
CellTree *left, *right;
in... |
25e38ae1e2838e022ea4f75d20d2008fa40fe6a0 | e6e60ef257a7a3999ea5d58b86ae025f5840fc11 | /GridCell.h | 31f85c6843ae70cbd238785c4af43867db5211d3 | [] | no_license | KongHyunWook/TickTack_Bingo | 876259fbad0c99af0baca339fe2e1acdbd74ab63 | 67c1f397179e495fbc24d1ae4333912b3082fa0b | refs/heads/master | 2020-12-30T15:54:31.365343 | 2017-05-13T15:09:59 | 2017-05-13T15:09:59 | 91,182,458 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 960 | h | GridCell.h | // GridCell.h: interface for the CGridCell class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_GRIDCELL_H__3BFEC235_1797_4232_AB30_3F8C8A1F06EB__INCLUDED_)
#define AFX_GRIDCELL_H__3BFEC235_1797_4232_AB30_3F8C8A1F06EB__INCLUDED_
#include "Type.h"
#if _MSC_VER > 1000
#prag... |
6d13074e1096a9b68013622990856e5b48f049fb | a3ad000cc7dd58cdb04b64acea01b42719099923 | /10-34-37.cpp | 0727ff9a42504472c15120ab1d6c5c0cf2b5aa38 | [] | no_license | zheLee1019/C-primer | af64572aa159a311e41eccd4c27bade91dccf293 | 57392782772acd19dba252c2d94710246e153b22 | refs/heads/master | 2020-12-30T13:40:02.411926 | 2018-01-10T12:11:46 | 2018-01-10T12:11:46 | 91,241,875 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 692 | cpp | 10-34-37.cpp | #include<algorithm>
#include<iostream>
#include<fstream>
#include<iterator>
#include<vector>
#include<list>
using namespace std;
int main()
{
vector<int> vec{0,1,2,3,4,5,6,7,8,9,10};//10-34
ostream_iterator<int> out(cout," ");
copy(vec.crbegin(),vec.crend(),out);
cout<<endl;
for(auto i=vec.end()-1;... |
a5cc25b2812247f61026e50ec8f52f800fe51844 | 55c102b4c78a00ea3cd8697b0614524de9ae0533 | /CloudBuilder/GUIPlayerContainer.cpp | d1e5dceb89435654226dd61a7d161734bc3aebea | [] | no_license | cgdb3742/CloudBuilder | 851a612e4f4d5761f48ee83ceee926c1789edb66 | 82785b2f53314dac5239a499f85c04d671ab741d | refs/heads/master | 2021-01-16T20:20:39.302931 | 2017-09-23T15:12:48 | 2017-09-23T15:12:48 | 100,199,760 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,266 | cpp | GUIPlayerContainer.cpp | #include "GUIPlayerContainer.h"
GUIPlayerContainer::GUIPlayerContainer(GameContext& gameContext, InstructionPlayer& player):
GameEntity(gameContext)
{
mButtons.push_back(GUIPlayerButton(gameContext, player, Enums::eInstructionPlayerCommand::CmdPause, Enums::eInstructionPlayerCommand::CmdPlay, Enums::eInstructionPl... |
b7ea36c857a15c35289be4a3407e2a6b7e48dca2 | 9d512bf2ba2d27cc044b0d53e0cac339e7eaf573 | /src/row_propagate.cc | ee9cdffc6bd7e5414be5083c60d9bb4635a856d7 | [] | no_license | whiker/whstereov | a17b2f25951b8b3cf47f063ca0f8e7fa5a72684e | 33673ef1aedfbadd3cc1685f797baf2ec1b997f9 | refs/heads/master | 2021-01-17T18:52:37.782434 | 2016-06-03T12:30:41 | 2016-06-03T12:30:41 | 60,345,969 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,099 | cc | row_propagate.cc | #include <cmath>
#include <memory.h>
#include "global.h"
#include "image.h"
#include "cost.h"
#include "sift_cost.h"
#include "filter.h"
#include "row_propagate.h"
using namespace std;
#ifdef RowPropagateCensus
const int ColorDiffMax = 20;
const int LineMax = 17;
const double DisparReilable = 1.1;
#else
const int Colo... |
443d333cadc84001f4075f615f49c5656fdfc204 | d9192c7d2d70d26367613b9ec587ad9a42d40c9b | /make_binary.cpp | 9af5f02f3bcd14385288457e85e756e59fef8139 | [] | no_license | kailashlimba/zb-solutions | 770f58bc444b50ef41524711ab8d83c85a0076f3 | 5d8da4b2ba7a5327c1905e4a877419f1b9f0d5f3 | refs/heads/master | 2022-07-03T23:25:48.232192 | 2020-05-09T14:24:55 | 2020-05-09T14:24:55 | 262,537,425 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 799 | cpp | make_binary.cpp |
TreeNode* buildnewTree(vector<int>&A,vector<int> &B,int iStart,int iEnd,unordered_map<int,int>&map,int &postIndex){
if(iStart>iEnd)return NULL;
int rootVal = B[postIndex];
postIndex--;
TreeNode* root = new TreeNode(rootVal);
int index =map[rootVal];
root->right = buildnewTree(A,B,index+1,iEnd... |
3361a8e2a1194b535d9490edc3cdf1e485b5356f | 6607904990da958bb4115a4486eaaa829cf4d4eb | /ex03/Amateria.hpp | 366e4a99912a0a822043576871e50ac78978586e | [] | no_license | dinar095/cpp_module04 | 0cce252300b1d896ed279c273184ddf543cf54d0 | 3792c13411bc0a4fed9a9eb2998551b4941482eb | refs/heads/master | 2023-08-17T07:49:12.589199 | 2021-09-27T07:06:43 | 2021-09-27T07:06:43 | 409,585,465 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 479 | hpp | Amateria.hpp | #ifndef CPP_MODULE04_AMATERIA_HPP
#define CPP_MODULE04_AMATERIA_HPP
#include <iostream>
#include "Icharacter.hpp"
using std::cout;
using std::endl;
using std::string;
class AMateria
{
protected:
string type;
public:
AMateria(std::string const & type);
AMateria();
virtual ~AMateria() {};
std::string const & ge... |
2510a0d80569524869f8b67ce25254ac168311b7 | caa112d7ada674b043288df8057bb2046b65304e | /Tree/Tree/Tree/Trav.cpp | 45cf3a3b328c1e6a23405cbe96b7a59609c732a7 | [] | no_license | Cycrypto/DataStructure | f8710b3755ed419b01376bd889251bad0879d1ac | 896030c58781db0d10ab8857e4e54b1e7aeb8c5e | refs/heads/master | 2023-05-30T15:39:44.652671 | 2021-06-14T08:09:32 | 2021-06-14T08:09:32 | 350,749,484 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 1,716 | cpp | Trav.cpp | #define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
#include <stdlib.h>
typedef char element;
typedef struct _node {
element data;
struct _node *left, *right;
}Node;
Node* initNode(char item) {
Node* n = (Node*)malloc(sizeof(Node));
n->data = item;
n->left = n->right = NULL;
return n;
} // 노드 생성
Node* searchTr... |
c8a8f25bb981d5348e929b6bcef817b7fd4c1f55 | d8b9f0c050319480ecaec18cba73f8fd347eccb5 | /Source/CompressorComponent.cpp | e7a454fb4845c2d955aab95d6dd2c3425734df44 | [
"MIT"
] | permissive | jadujoel/audio-compressor | 9100445f82cc06ab087eea7c8de88e8a638470b5 | c6636573d19fe175580d8b8649007ce17ed3e46b | refs/heads/main | 2023-05-31T08:14:58.340353 | 2021-06-18T15:20:04 | 2021-06-18T15:20:04 | 378,166,652 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,500 | cpp | CompressorComponent.cpp | /*
==============================================================================
CompressorComponent.cpp
Created: 13 Aug 2020 8:25:07pm
Author: admin
==============================================================================
*/
#include <JuceHeader.h>
#include "CompressorComponent.h"... |
51570347b5797cb309a8045cbd84a80e3379a29a | aca8c9d3a8db53fee7e990f83c6a4becd5fe354d | /src/data/TemporalComposite.cpp | 217ed79c024b9aedbb6d4c2e24f2bdc2045988a8 | [
"Apache-2.0"
] | permissive | MatthieuHernandez/StraightforwardNeuralNetwork | 9e797bb663981da7d9153493c168815570c18149 | 50afbd964f382eb1571084d52c5f443c807054f9 | refs/heads/master | 2023-04-13T13:31:27.030369 | 2023-04-01T17:14:10 | 2023-04-01T17:14:10 | 171,761,481 | 20 | 3 | Apache-2.0 | 2023-04-01T17:14:11 | 2019-02-20T22:49:42 | C++ | UTF-8 | C++ | false | false | 545 | cpp | TemporalComposite.cpp | #include "TemporalComposite.hpp"
using namespace std;
using namespace snn;
using namespace internal;
TemporalComposite::TemporalComposite(Set sets[2])
{
this->sets = sets;
}
void TemporalComposite::unshuffle()
{
this->sets[training].shuffledIndexes.resize(this->sets[training].size);
for (int i = 0; i < s... |
4ce19691664e558a0340400913343995a3d885c5 | 0d9ba54015ca52e9c249c15cd475bcfd44ebf37f | /Capstone_ToxicOasis/Source/Capstone_ToxicOasis/GameObjects/Players/PlayerCharacter.cpp | 4f8f5331aee5bd9b67ffa0596219597d5084fc6c | [] | no_license | Iberlos/Capstone-Project-Psycosis | 0af4d875aab5c63e746d32044b2389dd7fb14fbb | a526cad93bdd93f995617a604bfcdbe1bdf13701 | refs/heads/master | 2022-11-16T20:58:11.405652 | 2020-06-30T12:03:03 | 2020-06-30T12:03:03 | 275,454,146 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 24,491 | cpp | PlayerCharacter.cpp | // Fill out your copyright notice in the Description page of Project Settings.
//Header include
#include "PlayerCharacter.h"
//Custom Engine Includes
#include "Kismet/GameplayStatics.h"
#include "Components/CapsuleComponent.h"
#include "Components/SkeletalMeshComponent.h"
#include "Camera/CameraComponent.h"
#include ... |
c47e3ccaee4446c46999d9f959f3ce73d4ba1dba | d343a0190e9ac356cd9c54f3bd394db74dab5338 | /custom.hpp | 20e413974123daea5e2ee0e9cd492963b54b599b | [] | no_license | wfay/qtst | 0430b5c616a73d2d49abe7b63b12e1c53d855f9e | 00f5d4a9bcf66c302b948de1e69854d30aa76e77 | refs/heads/master | 2021-01-25T05:35:53.179842 | 2015-08-31T11:58:13 | 2015-08-31T11:58:13 | 41,628,310 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,110 | hpp | custom.hpp | #if !defined(CUSTOM_H)
#define CUSTOM_H
#include <stdlib.h>
#include <string>
#include <ctype.h>
#include <iostream>
#include <QDir>
#include <QGuiApplication>
#include <QQmlEngine>
#include <QQmlFileSelector>
#include <QQmlContext>
#include <QQuickView>
#include <QObject>
#include <QQuickWindow>
#include <QDebug>
#inc... |
38ce3ae64972390d4636bdb9f3c300649c5ec1df | a611ff29bdf36cd333864c650bd9cd3bdf29d376 | /Bitcoin/le.cpp | 8e57717f0913099dcbeb0996d0bd074afb2f2171 | [
"MIT"
] | permissive | vincenzopalazzo/clboss | c00ba244afa5e10035a3ba5dc8c5c5e8fe85776f | ef5c41612da0d544b0ed1f3e986b4b07126723a1 | refs/heads/master | 2023-09-01T01:12:49.252499 | 2023-03-09T17:42:48 | 2023-08-19T03:56:57 | 422,625,045 | 0 | 0 | MIT | 2023-08-17T13:02:24 | 2021-10-29T15:26:42 | C++ | UTF-8 | C++ | false | false | 3,470 | cpp | le.cpp | #include"Bitcoin/le.hpp"
std::ostream& operator<<(std::ostream& os, Bitcoin::Detail::Le16Const o) {
os << char((o.v >> 0) & 0xFF)
<< char((o.v >> 8) & 0xFF)
;
return os;
}
std::istream& operator>>(std::istream& is, Bitcoin::Detail::Le16 o) {
char c[2];
is.get(c[0]).get(c[1]);
o.v = (std::uint16_t(std::uin... |
0c2d43be511dee1a2b8ca8410437e2b812703a4d | 1dbf007249acad6038d2aaa1751cbde7e7842c53 | /drs/include/huaweicloud/drs/v3/model/TransformationInfo.h | ec1ff4b64981a1c6f70972066608dba9fa7c69b6 | [] | permissive | huaweicloud/huaweicloud-sdk-cpp-v3 | 24fc8d93c922598376bdb7d009e12378dff5dd20 | 71674f4afbb0cd5950f880ec516cfabcde71afe4 | refs/heads/master | 2023-08-04T19:37:47.187698 | 2023-08-03T08:25:43 | 2023-08-03T08:25:43 | 324,328,641 | 11 | 10 | Apache-2.0 | 2021-06-24T07:25:26 | 2020-12-25T09:11:43 | C++ | UTF-8 | C++ | false | false | 1,786 | h | TransformationInfo.h |
#ifndef HUAWEICLOUD_SDK_DRS_V3_MODEL_TransformationInfo_H_
#define HUAWEICLOUD_SDK_DRS_V3_MODEL_TransformationInfo_H_
#include <huaweicloud/drs/v3/DrsExport.h>
#include <huaweicloud/core/utils/ModelBase.h>
#include <huaweicloud/core/http/HttpResponse.h>
#include <string>
namespace HuaweiCloud {
namespace Sdk {
nam... |
554a25f9fe38090702d2817ddcfb2fd4062f2636 | fd748e6ff6267fc692c02b185a176d6d18435e53 | /C++/Sorting16.cpp | eb0ef3447f6559fb14a777395d0f070b30c97eaf | [] | no_license | manhtung001/cpp_PTIT | cc6485313621ef6f4c822a0d3e779f0a10af34f7 | e09437e7299a70c90f2af4b46f22e658204fce0d | refs/heads/master | 2023-06-02T13:40:04.107629 | 2021-06-23T04:21:17 | 2021-06-23T04:21:17 | 345,133,561 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 497 | cpp | Sorting16.cpp | #include<bits/stdc++.h>
using namespace std;
struct data{
int a,b;
};
int n;
bool cmp(data x, data y){
if(x.b<y.b) return false;
if(x.b==y.b && x.a>y.a) return false;
return true;
}
int main(){
int t;
cin>>t;
while(t--){
cin>>n;
vector<data>v(n+5);
// v.clear();
int d[100005]={0};
for(int i=0;i<n;i++){
... |
4c9328f6583d32c483028f0d39f620dfcb7d49a0 | 46b3e4c5a56738328295aba73bb015189832ae8b | /Converter/Converters/include/Converters/Output/conversionoutput.h | ae7788542e3a1a98962f36d3c26b4033a8ec9910 | [] | no_license | GrognardsFromHell/EvilTemple-Native | e2d28c7dfac1ac10f91875bd2bef016c6852de16 | cb88b65ba54c9d4edf8c6519d8b1e14074de4aa3 | refs/heads/master | 2020-05-07T11:26:01.422835 | 2011-07-17T14:33:17 | 2011-07-17T14:33:17 | 35,892,196 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 316 | h | conversionoutput.h | #ifndef CONVERSIONOUTPUT_H
#define CONVERSIONOUTPUT_H
#include <QtCore/QString>
#include <QtCore/QByteArray>
class IConversionOutput
{
public:
virtual void writeFile(const QString &path, const QByteArray &data, bool compress = true) = 0;
virtual ~IConversionOutput() {}
};
#endif // CONVERSIONOUTPUT_H
|
ee082418e5ad8bd1b6b3f4407ab632adb66a8047 | ac0bfaf381d9b307e02ef08faa8f5cf572d27e02 | /src/Devices/LoRaWAN-Client-DraginoShield-IoTHub/BME280.h | da3cb018433dccbe3b3bed2e62897951ed50106b | [] | no_license | IgniaAustralia/savethebees | b88203c458a35f5c9e6446a75c0dc67a3d580f2a | 88b2cf55b61e8c921cfc87f92fbe2b5a76dc694a | refs/heads/master | 2021-07-25T03:33:15.191439 | 2018-12-18T07:18:12 | 2018-12-18T07:18:12 | 153,857,242 | 0 | 0 | null | 2018-12-18T07:18:13 | 2018-10-20T01:03:04 | C++ | UTF-8 | C++ | false | false | 6,674 | h | BME280.h | //==============================================================================
// E - R A D I O N I C A . C O M, H.Kolomana 6/A, Djakovo 31400, Croatia
//==============================================================================
// Project : BME280 Arduino Library (V1.0)
// File : BME280.h
// Author ... |
f7a3f6be141d0f0ee2ec2c3535831a8c7708966e | 4360326fcaad7f6d8349b676dc5f00cdf29f7144 | /src/simulator/discrete_simulator.h | b7ec344fca8885a4d127b6696a2475e359bd43d0 | [] | no_license | raxter/WSN_SWEB_sim | 04cfddaaaed05fed17822dcabb27dd2196744de8 | 545e7d1727d913d8b6b90990bda7023fbdd6370f | refs/heads/master | 2020-04-05T23:44:14.001375 | 2009-05-25T02:10:36 | 2009-05-25T02:10:36 | 199,714 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,694 | h | discrete_simulator.h | #ifndef __WSN_SIMULATOR_DISCRETESIMULATOR__
#define __WSN_SIMULATOR_DISCRETESIMULATOR__
#include "sensor_network.h"
#include "nodes/base_node.h"
#include "packets/init.h"
#include "packets/energy_req.h"
#include "packets/data_req.h"
#include <QSet>
#include <QThread>
#include <QVector>
#include <QMutex>
#include <QH... |
44b8f07dea09d79a1056dc85601be699548a7305 | 877fff5bb313ccd23d1d01bf23b1e1f2b13bb85a | /app/src/main/cpp/dir35435/dir35536/dir38742/file38809.cpp | 3febc6ff53fa651a2595b3723fc87b82fa001be6 | [] | no_license | tgeng/HugeProject | 829c3bdfb7cbaf57727c41263212d4a67e3eb93d | 4488d3b765e8827636ce5e878baacdf388710ef2 | refs/heads/master | 2022-08-21T16:58:54.161627 | 2020-05-28T01:54:03 | 2020-05-28T01:54:03 | 267,468,475 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 115 | cpp | file38809.cpp | #ifndef file38809
#error "macro file38809 must be defined"
#endif
static const char* file38809String = "file38809"; |
9dd241f174d48ddbc01335c4ca9ea16496f6cb41 | 1c0938f635fc86f266214e80fa4cf947baa346bf | /chase_lobby/MLN_Utils.cpp | e96f9fa7c52f58a43c9a6fbd42b1d62c21a4b2b5 | [
"MIT"
] | permissive | chaseYLC/chase_lobby | 6d92dc4e532bfe0d2c20c514f682de306926abfd | f359a635d00b9338ae6a490ae23c250e3904a443 | refs/heads/master | 2020-03-28T12:03:13.881895 | 2018-09-21T10:45:54 | 2018-09-21T10:45:54 | 148,266,762 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,533 | cpp | MLN_Utils.cpp | #include "stdafx.h"
#include "MLN_Utils.h"
namespace MLN_Utils {
int64_t getLocalTimeSec()
{
namespace pt = boost::posix_time;
pt::ptime now = boost::posix_time::second_clock::local_time();
static boost::posix_time::ptime time_t_epoch(boost::gregorian::date(1970, 1, 1));
boost::posix_time::tim... |
885115343042d111e96385c22ed834dc4988f881 | 0065cefdd3a4f163e92c6499c4f36feb584d99b7 | /rogue/custom/custom.hh | 876fa06ec62e3865edeac89cf200ba0665ddcc4c | [] | no_license | YMY1666527646/Rogue_Company_hack | ecd8461fc6b25a0adca1a6ef09ee57e59181bc84 | 2a19c81c5bf25b6e245084c073ad7af895a696e4 | refs/heads/main | 2023-08-20T06:07:14.660871 | 2021-10-21T20:33:53 | 2021-10-21T20:33:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 594 | hh | custom.hh | #pragma once
#define IMGUI_DEFINE_MATH_OPERATORS
#define use(x) using namespace x;
#include "../gui/imgui.h"
#include "../gui/imgui_internal.h"
#include <Windows.h>
#include <map>
struct c_custom {
auto tab(const char* label, bool selected, ImVec2 size_arg) -> bool;
auto child(const char* label, ImVec2 size_... |
830b5fdaae118e7ec0052e636ffc7c30633430ed | c17e42186a4932fbbbbf45cb3cc5f63eea06c78d | /CSE-106 LAB_Works/201714018 LAB-007/Problem_004.cpp | 66db5b4ebefc0998bd3ba09d9eb917449362c6b3 | [] | no_license | royayon/C | 746757bfed9478594682a1934608c0580820f467 | 3c273ec9c13a5f679336020af7fea190cb1613d6 | refs/heads/master | 2020-03-28T09:46:09.968326 | 2018-09-09T19:35:26 | 2018-09-09T19:35:26 | 148,058,592 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 614 | cpp | Problem_004.cpp | //Remove a char from a str
#include<stdio.h>
#include<string.h>
#define pf printf
#define sf scanf
int main()
{
char str[1000];
char c;
gets(str);
sf("%c",&c);
int j;
for(int i=0;str[i]!='\0';i++)
{
while(str[i]==c) //pashapashi onekgula aaaaaaa ba ekoi char thakar karone while ... |
b27c579c753ce3fd2369c5a5c9de9f0c573be77d | 86fcd1fe1fe0b1313fcb4af050f7c00bee24df4d | /phaser_rd.cpp | 54429c552c91c01c117991c549915d7a0f319d28 | [] | no_license | andrewpeck/alct_vme_test | e6526df9516887172b65cb849da2d728b18cced7 | 42ce57c501b5d0c7b07325a66147bdb27a2b4714 | refs/heads/master | 2022-03-22T19:43:57.038621 | 2019-12-20T00:07:06 | 2019-12-20T00:07:06 | 116,048,511 | 0 | 0 | null | 2019-12-20T00:07:07 | 2018-01-02T19:16:49 | C++ | UTF-8 | C++ | false | false | 5,135 | cpp | phaser_rd.cpp | //------------------------------------------------------------------------------
// Reads DCM Digital Phase Shift VME register
//
// 06/15/09 Initial
// 06/29/09 Added posneg bit
// 06/30/09 Add phase delta
// 08/14/09 Add cfeb phaser banks
//----------------------------------------------------------------------... |
64eff0bbb9f497cef4521cc776a92d2b8b1b361c | 587fad9076c0fabcd5d06db4d6ef0451f619cf44 | /include/mul/matrixMul.hpp | c54bc15d82c7bbac7466424e6ac72ce9f53970e1 | [] | no_license | bobo0892/cudaMatrix | 07831639587ab0e96b44625c42489891cc62242c | 08fcb1015982aa4ffdae5ec06f975328a1f40e72 | refs/heads/master | 2021-01-10T14:15:57.083015 | 2015-10-14T12:01:43 | 2015-10-14T12:01:43 | 44,231,789 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,234 | hpp | matrixMul.hpp | #ifndef _MATRIX_MUL_H_
#define _MATRIX_MUL_H_
#include "cuda_helper.hpp"
// naive matrix multipy
template <typename DataType>
void matrix_mul_naive(int device, cudaStream_t stream,
const size_t M, const size_t N, const size_t K,
const DataType *__restrict__ A, const DataType *__restrict__ B,
DataType *__restr... |
698eb17aa070739f54db44e1438b4c87348ed980 | 57fae97888d4dcecc426f964eeea09e5f4a9426c | /include/ThermalDetonator.h | 3e95690538105929102bef7c20ed7ecc81a1cc33 | [] | no_license | MausTec/thermal-detonator-prop | d0dd03623981e87784529dc3ddf2b1ab6124e76b | 6e59404489397eb9612355abe861ed1613ad8744 | refs/heads/master | 2023-02-01T12:23:56.378928 | 2020-12-19T01:44:13 | 2020-12-19T01:44:13 | 293,344,825 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,491 | h | ThermalDetonator.h | #ifndef __THERMAL_DETONATOR_h
#define __THERMAL_DETONATOR_h
#include <Arduino.h>
#include <OneButton.h>
#include "../config.h"
#include "ThermalLights.h"
#ifdef SD_AUDIO
#include "ThermalSound.h"
#endif
#ifdef USE_WIRELESS
#include "ThermalWireless.h"
#endif
/**
* State Constants
*/
#define TD_IDLE 0
#def... |
73752e32406e3ca53e80476acf99fa12b02f8084 | ddb2870ac22217c7f58e02ecb9b4e12e06ac3034 | /Client/Code/Loading.cpp | 33e947b34252b16bdf51d6171638c9a25d6f04e5 | [] | no_license | jw96118/Little-NightMare | b147159c4948cd9528882cad08e9c9c253e29d7d | 7c56a4ceb0bf411f6bd4a10c2b834f3d262ba198 | refs/heads/main | 2023-07-04T09:37:46.257693 | 2021-08-16T04:29:28 | 2021-08-16T04:29:28 | 396,616,425 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 7,001 | cpp | Loading.cpp | #include "stdafx.h"
#include "Loading.h"
#define LOAD_MAX 28
CLoading::CLoading(LPDIRECT3DDEVICE9 pGraphicDev)
: m_pGraphicDev(pGraphicDev)
, m_bFinish(false)
{
ZeroMemory(m_szLoading, sizeof(_tchar) * 256);
m_pGraphicDev->AddRef();
}
CLoading::~CLoading(void)
{
}
LOADINGID CLoading::Get_LoadingID(void) const
{... |
fe0155e08e7bd170c9e1717e153aec02608af455 | 5ca24c9a1fb9b233242fad82fc8be29537629a6b | /placer.cpp | 25bad546968afaa52c96d5e71bc6def208579003 | [] | no_license | tunsanty/Placer-and-router-software-for-VLSI | 45a65c4a8ed5ecd7a8b4c25b77c581d786c3e6e6 | 389a59d5088082b2a1d36408102d0da79ab61838 | refs/heads/master | 2022-05-31T07:44:06.875857 | 2020-05-01T09:44:57 | 2020-05-01T09:44:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,336 | cpp | placer.cpp | #include <iostream>
#include <fstream>
#include <valarray>
#include <vector>
#include "solver.h"
using namespace std;
#define infname "../benchmarks/3QP/toy1"
#define ofname "./outputs/placer_outputs/toy1"
class Gate{
public :
double x,y;
int gate_id;
Gate(int id){
gate_id=id;
}
vector<... |
90096b42733bd0d6f2b84acda012ef2c5310a302 | 25bc2b60aa6bbb5abbc862ec3cc9f9b6226e564f | /joint_mapping-master-9f5a96103477f48c4abcca0a7157f4201f62c4cd/include/joint_mapping/Matcher3D.h | cfef566b9f6d3651f412635ecb814c719cd4ec99 | [] | no_license | jaehobang/drone_tragectory_display | b0043d2eee4f918cbc5dc74fe798823a3c70337c | 1988021c4d4fbd062ac26d63a8dbf911d055e699 | refs/heads/master | 2021-01-20T21:13:11.719462 | 2016-07-18T20:33:18 | 2016-07-18T20:33:18 | 63,634,301 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,187 | h | Matcher3D.h | #ifndef MATCHER
#define MATCHER
#include <ros/ros.h>
#include <sensor_msgs/PointCloud2.h>
#include <geometry_msgs/PoseStamped.h>
#include <geometry_msgs/PoseWithCovarianceStamped.h>
#include <parameter_utils/ParameterUtils.h>
//#include <sensor_msgs/point_cloud_conversion.h>
#include <pcl_conversions/pcl_conversions... |
96afa966920a4014ee6f4cfa1813d44d0a0c51f4 | c5843992e233b92e90b53bd8a90a9e68bfc1f6d6 | /code/msvis/MSVis/GroupWorker.h | 9a213d48be9cb4477604fd9b15e5007ef0f55ec5 | [] | no_license | pkgw/casa | 17662807d3f9b5c6b57bf3e36de3b804e202c8d3 | 0f676fa7b080a9815a0b57567fd4e16cfb69782d | refs/heads/master | 2021-09-25T18:06:54.510905 | 2017-08-16T21:53:54 | 2017-08-16T21:53:54 | 100,752,745 | 2 | 1 | null | 2020-02-24T18:50:59 | 2017-08-18T21:51:10 | C++ | UTF-8 | C++ | false | false | 6,691 | h | GroupWorker.h | //# GroupWorker.h: Base classes for objects that process VisBuffGroups
//# as fed to them by GroupProcessor.
//# Copyright (C) 2011
//# Associated Universities, Inc. Washington DC, USA.
//#
//# This library is free software; you can redistribute it and/or modify it
//# under the terms of the GNU Library General Public ... |
0164f31ef5fb9d8f9a5c87a1dae4343c73aaecfc | 4afc6182476e8e381ea0913f7b1205edf384a029 | /.build/iOS-Debug/include/app/Uno.Collections.Dictionary__char__Uno_Content_Fonts_RenderedGlyph.h | b2714db464bb3cc484cf2eeb50cb23d6410a1958 | [] | no_license | noircynical/soscon_demoproject | 45a4b5594582447001c2895e24cf2e6566095a63 | aab19822fb8bc46715e6b41ac785faf7a128d9e7 | refs/heads/master | 2021-01-10T05:41:33.994651 | 2015-10-28T04:27:43 | 2015-10-28T04:27:43 | 45,085,497 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,491 | h | Uno.Collections.Dictionary__char__Uno_Content_Fonts_RenderedGlyph.h | // This file was generated based on '/usr/local/share/uno/Packages/UnoCore/0.13.2/Source/Uno/Collections/$.uno'.
// WARNING: Changes might be lost if you edit this file directly.
#ifndef __APP_UNO_COLLECTIONS_DICTIONARY__CHAR__UNO_CONTENT_FONTS_RENDERED_GLYPH_H__
#define __APP_UNO_COLLECTIONS_DICTIONARY__CHAR__UNO_CON... |
e452699d4fe9080a40363965fa4cbbcdc918b1aa | 9c9735d9c101289db966c6a1879b5a38e17b3f9e | /test/TestRef.cpp | ffffb41276c0fe47249dee7ec39269e2caaabf4f | [
"MIT"
] | permissive | gidapataki/serial | 592f3f324977ba6d5c9a2356ea883c8909749b5b | 27e9d8d9432f545e4b0e73ee6d5cf43333dba733 | refs/heads/master | 2020-04-24T12:45:02.983224 | 2019-04-16T13:53:01 | 2019-04-16T13:53:01 | 171,965,372 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,413 | cpp | TestRef.cpp | #include "gtest/gtest.h"
#include "serial/Ref.h"
#include "serial/Referable.h"
using namespace serial;
namespace {
struct A : Referable<A> {
int value = 5;
static constexpr auto kTypeName = "a";
template<typename S, typename V> static void AcceptVisitor(S&, V&) {}
};
struct B : Referable<B> {
std::string valu... |
0833601c258b6f0a0dac7b9f814f2aa8caccf083 | 071c0682f51e9f8983a86031e0d1122c15523171 | /ex04/Lemon.h | 0fa67694d1a06baf417fb4d7397334c23772c153 | [] | no_license | wswatsonws/piscine_cpp_d08 | 673ee6cb54a169f063c0d231518d789253b39ff1 | 3c74850232bb23f1e391a4a4fca5faecd2fdd637 | refs/heads/master | 2020-03-22T19:22:09.830418 | 2018-07-11T13:29:43 | 2018-07-11T13:29:43 | 140,523,328 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 308 | h | Lemon.h | /* Watson */
/* This is my copyright. Please don not copy it */
/* Please don not copy it */
#ifndef LEMON_H_
#define LEMON_H_
#include "Fruit.h"
class Lemon : public Fruit
{
public:
Lemon();
protected:
Lemon(std::string name, int vitamins);
};
#endif /* Watson */
/* Watson */
/* My own copyright */
|
10dbcddb68fb47b3c9e40ab68c17132b0267581b | cdbea19ba85553c130592fbef2c3aafa979d07ff | /Number Theory/Linear Diophantine With N Unknowns and Two Equations.cpp | 33310b3700dddde2f39bf18eaa848734789a463a | [
"MIT"
] | permissive | alokkiitd1729/code-library | e5251cc6bd3770b9a8ce038ed01f85e83655af65 | e6746f0627dc1f6c51d8c511e75c8fa6c2ff8397 | refs/heads/master | 2023-08-17T14:42:12.645470 | 2021-10-01T22:27:22 | 2021-10-01T22:27:22 | 406,870,622 | 0 | 0 | MIT | 2021-09-15T17:45:11 | 2021-09-15T17:45:10 | null | UTF-8 | C++ | false | false | 1,947 | cpp | Linear Diophantine With N Unknowns and Two Equations.cpp | #include<bits/stdc++.h>
using namespace std;
using ll = long long;
/**
given are a[i], b[i], p and q:
sum(x[i] * a[i]) = p --- (i)
sum(x[i] * b[i]) = q --- (ii)
x[i]s can only be integers.
does a solution exist?
**/
ll extended_euclid(ll a, ll b, ll& x, ll& y) {
if (b == 0) {
x = 1; y = 0;
... |
f14b48115248c1ce128207ab8aa505da90e87515 | 5d92eb061b75172e5e02e27787d9a3758c32bd90 | /lab34/lab34.cpp | 3ca0d5b3dc673cd453b82e06e1c11fd9b5241a9a | [] | no_license | nleeseely/nleeseely-CSCI20-Fall2017 | 8adace5acf0b4eda39a3c201f84cfcfda83579db | c4e765833cd1de6bf7138cfbf51604457918b841 | refs/heads/master | 2021-08-28T20:25:06.433099 | 2017-12-13T04:04:07 | 2017-12-13T04:04:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 735 | cpp | lab34.cpp | // This program reads in a letter and reports whether
// it is an uppercase letter, a lowercase letter, or neither.
// it should continue reading in values until the user enters a -1.
#include <iostream>
using namespace std;
int main() {
// Read a character in
char ch;
while (ch != -1){
... |
fb64c7e1dc7bb147e404e464a4a1b98b39f04467 | 5d4326fcb3dd47ca4b3d14a939b2b293e1a754cb | /src/containers/haplotype_set.cpp | cbdc58758e44ac8d6cecbe35e066c928ca27a711 | [
"MIT"
] | permissive | shajoezhu/shapeit4 | 9245816f860a564f2b67298de0f8bb50bd2874bf | 4ae17509c38c6659704d42bdfa23789e71e7eacd | refs/heads/master | 2020-06-01T16:55:39.291139 | 2018-12-14T08:08:48 | 2018-12-14T08:08:48 | 190,856,993 | 0 | 0 | MIT | 2020-04-20T03:49:35 | 2019-06-08T07:07:55 | C++ | UTF-8 | C++ | false | false | 9,735 | cpp | haplotype_set.cpp | ////////////////////////////////////////////////////////////////////////////////
// Copyright (C) 2018 Olivier Delaneau, University of Lausanne
//
// 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 S... |
34bc9e5a4d8f7f628455a11a2740663bf874f203 | b95ff5dd181ed0e87a5dcaf266c0a1c80eba59d0 | /cppsrc/oldSrc/ModelBPR.h | f58f7cded496c5edecdabc9101df1cff934c1003 | [] | no_license | mohit-shrma/setrec | 715d66d8b698de0f485cdcb0d7707076fd764097 | eb1a811aa0cb3ed1d00b0b89817688bef52e8011 | refs/heads/master | 2020-12-31T00:18:39.950466 | 2017-03-29T05:16:30 | 2017-03-29T05:16:30 | 86,540,691 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 667 | h | ModelBPR.h | #ifndef _MODEL_BPR_H_
#define _MODEL_BPR_H_
#include "Model.h"
class ModelBPR: public Model {
public:
ModelBPR(const Params& params):Model(params) {}
virtual float estItemRating(int user, int item);
virtual void train(const Data& data, const Params& params, Model& bestModel);
bool isTerminatePrecis... |
97f0d318c8a3852cb8f954528b61d8abd7a9e69d | d8627a5cd16d9b59e9acb2f981e6d225247619cc | /Sem2/Object Oriented Programming/Assignment8-9/project/main.cpp | 1c3e9dd1f7d6837988993d8627e6593c272061d8 | [] | no_license | nicovlad16/Babes-Bolyai-University-Projects | 0b76b73194e63cc8e9e5210c2bf2383d7066d227 | 457ff25dc4f916dd7865d7825db5be38c092f301 | refs/heads/master | 2020-05-03T15:12:05.184362 | 2019-03-31T14:37:49 | 2019-03-31T14:37:49 | 178,699,635 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,925 | cpp | main.cpp | #include <iostream>
#include "tests/tests.h"
#include "repo/file_repository.h"
#include "service/ctrl.h"
#include "ui/console.h"
int main()
{
// Tests::test_all();
Repository<Dog> repo("../dogs");
Controller ctrl(repo);
UI ui(ctrl);
ui.choose_output_filetype();
ui.initialize_repo();
ui.r... |
3e5dd166616e9dcde8ca41d0230b3bb6aed814fc | 243ab679ab815644de31453089e8ded2d212dd61 | /bishoppawnmodel.h | e01d23436ad98f8ae8d3378c1b5cbdf90889c00c | [
"MIT"
] | permissive | mdziubich/chessGame_cpp | ecf7c861a2127c820be797be2466822677955003 | 80ff8adc17d6fa72441400e80a715f516e5b2989 | refs/heads/master | 2020-06-17T20:20:40.035214 | 2019-09-03T21:46:52 | 2019-09-03T22:52:12 | 196,041,829 | 7 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 400 | h | bishoppawnmodel.h | #ifndef BISHOPPAWNMODEL_H
#define BISHOPPAWNMODEL_H
#include "basepawnmodel.h"
class BishopPawnModel: public BasePawnModel {
public:
BishopPawnModel(BoardPosition position, PlayerType owner, PawnType type, QString imagePath);
bool validateMove(BoardPosition positionToMove, BasePawnModel *pawnOnPositionToMov... |
be27553bb2a288d8e070ed0fc67db15ad78b8ec6 | 50383e4df50c34975d501485f01d662a3fedd625 | /size.cpp | 93540e7b6d6153db58a636666387eae6c0511e3f | [] | no_license | sinewc/CE-boostup | a1cac1a3429391df49da34c7268f2dd905e2efff | bc85401e3d189fb5ded1208e5b2538bf56cf9db7 | refs/heads/master | 2023-04-25T23:52:00.646284 | 2021-06-06T17:40:26 | 2021-06-06T17:40:26 | 374,424,420 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 374 | cpp | size.cpp | #include<stdio.h>
void square(int n){
int i=1;
for(int i=1;i<=n;i++)
{
for(int j=0;j<=n;j++)
{
if(i>j)
printf("%d",i);
else
printf("*");
}
printf("\n");
}
}
int main()
{
i... |
6c2eb9b09996342e9facf6c1f165aa273442440d | 1afd08984761b44ef9a9b478da97191befdfa109 | /ThermistorModuleFirmware/src/main.cpp | 124bf17738b6033ab58c93b9803dfbe17c06f94b | [
"CC-BY-4.0"
] | permissive | ArrosciaFabLab/TemperatureFirmware | 430338ef4319fe55cf444e0d7fccde0cfe71aac0 | f5afad76334cde40e112657cc52e665081efff15 | refs/heads/master | 2020-04-05T05:03:55.064955 | 2018-11-15T17:06:45 | 2018-11-15T17:06:45 | 156,579,160 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,744 | cpp | main.cpp | #include "ThermistorModule.hpp" // Libreria di gestione del modulo di temperatura
#include <Arduino.h> // Su un file .ino non è necessario
/*
Schetch di test sul modulo di temperatura con il termistore
*/
// PIN a cui è collegato il il modulo di temperatura con il termistore (analogico)
#define INPUT_TEMP... |
8867e6058725bb8956f491c8be81a4240d9f7c20 | a841ecaf6f9c5207fe6947235b44c4ec6d5acf89 | /Section 2 - Triple X - Write Pure C++/Main.cc | 0cab9dc8be606750761e9d306e4e30f8ee7695b1 | [
"Apache-2.0"
] | permissive | JeJoProjects/Unreal-Udemy | 4bd58f75c809a6fc1bdb12e7671bfeab03a6f70d | cef0671bcc815b7f66c70c861fa5809cbc837d2c | refs/heads/master | 2021-04-11T11:24:17.207622 | 2020-11-11T22:25:49 | 2020-11-11T22:25:49 | 249,015,493 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,831 | cc | Main.cc | #include <iostream>
#include <ctime>
#include <cstdlib>
void playGame(int& levelDifficulty, const int maxDifficulty) noexcept
{
std::cout << "\n\nYou are a secret agent breaking in to a level " << levelDifficulty;
std::cout << " secure server room....\nEnter the correct code to continue...\n \n";
const int codeA{... |
943930b02124d590d5dac52b71c55ff5223e2bc2 | a7e2a5614c3918b006f43388d9f1d4771cf2a8f2 | /tool.cpp | e0f56aa95281aec9ec5b9c8c0251c296f0bcd4b4 | [] | no_license | JanMod/Qt | ddf6c42f95b27bb2cbe3064b2cbbca671ccb5ed7 | e750533b5b7811aa4d44aeadf3be1c91e10e0d71 | refs/heads/master | 2021-07-07T03:07:28.079045 | 2017-10-04T19:54:52 | 2017-10-04T19:54:52 | 105,485,486 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 713 | cpp | tool.cpp | #include "tool.h"
Tool* Tool::m_instance=0;
Tool::eTool Tool::m_currentTool=Tool::Circle;
Tool *Tool::getInstance()
{
if(!m_instance){
m_instance = new Tool();
}
return m_instance;
}
Tool::Tool()
{
}
QColor Tool::getBorderColor() const
{
return m_borderColor;
}
void Tool::setBorderColor(c... |
638df11333729af70e415cdf4c0a9fb58251f59c | c0b577f881c8f7a9bcea05aaad364a7e82bdec8a | /Source/Core/Source/System/VPLC/PLCFileMgr/CInstrSettings.cpp | 756de3ad1bec4db9309befb5444e22e53b130a5d | [] | no_license | 15831944/GPATS-Compare | 7e6c8495bfb2bb6f5f651e9886a50cf23809399f | d467c68381d4011f7c699d07467cbccef6c8ed9a | refs/heads/main | 2023-08-14T09:15:18.986272 | 2021-09-23T16:56:13 | 2021-09-23T16:56:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,346 | cpp | CInstrSettings.cpp | //-----------------------------------------------------------------------------
// File: CInstrSettings.cpp
// Contains: Class for managing instrument settings
//-----------------------------------------------------------------------------/
//------------------------------------------------------------------------... |
38c38638ad028864fa824fdc4b9ed8b5c42942f0 | 96f3e2fc82536e5963bda2445035f8f4fb71aabc | /win-client/include/Modules/IMessageModule.h | 4d6afce448de7496c46034840b92b88a48142381 | [
"BSD-2-Clause",
"Apache-2.0"
] | permissive | jdtsg/TeamTalk | 5266083f9fcfc901aec287235969d7a9b99e97ff | 69fe6ac5a64f0679f61b81f8c77e01aca8716155 | refs/heads/master | 2020-03-21T12:25:03.406263 | 2018-06-25T09:04:04 | 2018-06-25T09:04:04 | 138,551,294 | 1 | 0 | Apache-2.0 | 2018-06-25T06:16:41 | 2018-06-25T06:16:41 | null | GB18030 | C++ | false | false | 1,750 | h | IMessageModule.h | /*******************************************************************************
* @file IHitoryMsgModule.h 2014\8\3 11:10:16 $
* @author 快刀<kuaidao@mogujie.com>
* @brief 历史消息DB相关接口
******************************************************************************/
#ifndef IHITORYMSGMODULE_D042F2F2_05B0... |
0de2d98ced79696aee8005c79b16167e45720bef | 98cd0dcec1bb3db5ba483758a5337521d6b5f9df | /old/Multiply Strings/Multiply Strings/main.cpp | f923f6ec8d70b595043ba835f8494951aa671ae5 | [
"Apache-2.0"
] | permissive | betallcoffee/leetcode | ff09853caef704dff39bb193483d149e89172092 | b21588bda21a464af7c18a3e8155c53af76b263f | refs/heads/master | 2021-01-19T11:17:37.086034 | 2020-03-01T09:19:14 | 2020-03-01T09:41:31 | 26,198,774 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,430 | cpp | main.cpp | //
// main.cpp
// Multiply Strings
//
// Created by liang on 8/1/15.
// Copyright (c) 2015 tina. All rights reserved.
// Problem: https://leetcode.com/problems/multiply-strings/
//Given two numbers represented as strings, return multiplication of the numbers as a string.
//
//Note: The numbers can be arbitrarily l... |
59779e6d27609275730db5c5ac8668aad8c0ad74 | 55d3f3102008d206ff7c72b8baf35164277ca3d4 | /test/src/destroy_test_type.cpp | a35714e4a1173cf29f71a7e8f36cba79efb3aec3 | [
"Unlicense"
] | permissive | CppPhil/philslib | 8e96a4bcb59aff1d8b8cd5a818bfac665eb3d5a4 | 6143c2b46dc1abf4534c402991624ee940585e20 | refs/heads/master | 2022-11-19T21:46:37.402245 | 2022-11-19T13:22:58 | 2022-11-19T13:22:58 | 82,369,222 | 3 | 3 | Unlicense | 2019-06-17T14:49:07 | 2017-02-18T07:19:31 | C++ | UTF-8 | C++ | false | false | 1,822 | cpp | destroy_test_type.cpp | /* This is free and unencumbered software released into the public domain.
*
* Anyone is free to copy, modify, publish, use, compile, sell, or
* distribute this software, either in source code form or as a compiled
* binary, for any purpose, commercial or non-commercial, and by any
* means.
*
* In jurisdictions ... |
21caa676b6bb3f6ccd0aa187babdef84d49f8716 | 87780771d77a8e9a22182ad0fadaf223eaca1eeb | /src/Cromossomo.cpp | 33def842265689df9871f8efa182bad6321804b7 | [] | no_license | leandronishijima/algoritmo-genetico-sequencial | 3958cb11a367e70b1ca7d8e260b84c1932e12822 | 20453f67a1e36b59e36b0f42ee3ef779d444af3e | refs/heads/master | 2021-01-19T11:32:56.578455 | 2014-11-12T04:21:41 | 2014-11-12T04:21:41 | 24,351,419 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 631 | cpp | Cromossomo.cpp | #include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include "Cromossomo.h"
#include "Vertice.h"
#include "Grafo.h"
Cromossomo::Cromossomo() {
srand(time(NULL));
}
Cromossomo::Cromossomo(Grafo grafo) {
this->grafo = grafo;
}
void Cromossomo::randomizaCorVertice() {
int qtdVertices = grafo.getQuantidadeVerti... |
06a7fe19ec49311add20ad04939df88ce279cc50 | 9844200fd5e108c966f5fce8824788284aa16b80 | /impact_time/src/impact_time.cpp | c3cd890ed4a8c5c748d3f6926d8458ca61a457eb | [] | no_license | lnewmeye/robotic_vision | b2e21d3915804555d0c6248433842d26bea7235f | 434683503047fba910e14dd9651e47b8a9aeee98 | refs/heads/master | 2021-01-21T09:24:05.664083 | 2017-12-22T19:21:15 | 2017-12-22T19:21:15 | 91,652,215 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,711 | cpp | impact_time.cpp | // EcEn 672 - Robotic Vision
// Assigment 7 - Main file
// Luke Newmeyer
#include <iostream>
#include <opencv2/core.hpp>
#include <opencv2/videoio.hpp>
#include <opencv2/highgui.hpp>
#include <opencv2/imgproc.hpp>
#include "ImpactDetector.hpp"
// Image sequence parameters
#define IMAGE_SEQUENCE "data/T%01d.jpg"
// D... |
da9356e0f77731fb46dcac56ef812978772c1acd | db84bf6382c21920c3649b184f20ea48f54c3048 | /mjdemonstrator/mjdemonstrator/MJSTCThermalAssemblyThin.hh | 44b1d687e679ed9e3d98189d1babf9e5c0af0185 | [] | no_license | liebercanis/MaGeLAr | 85c540e3b4c5a48edea9bc0520c9d1a1dcbae73c | aa30b01f3c9c0f5de0f040d05681d358860a31b3 | refs/heads/master | 2020-09-20T12:48:38.106634 | 2020-03-06T18:43:19 | 2020-03-06T18:43:19 | 224,483,424 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,325 | hh | MJSTCThermalAssemblyThin.hh | //---------------------------------------------------------------------------//
//bb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nubb0nu//
// //
// MaGe Simulation //
... |
197cccb783a1e7d353f75e39afe6816941678962 | f89d4c9ae28c9418633bf3e461bce6ed2b37f6ba | /include/linalg/lapack/blaze.hpp | a4c69378b5da8587a53d3cba39d1b37ac40a0108 | [] | no_license | hrhill/linalg | d8079f3d8df02e4f55a46a2e4719771c288bddfb | 66a466fa6553766665f0ebbd1a950eaab100fd73 | refs/heads/master | 2021-01-19T05:43:57.107114 | 2017-07-27T15:34:36 | 2017-07-27T15:34:36 | 23,926,698 | 2 | 1 | null | 2016-11-28T17:20:25 | 2014-09-11T16:42:06 | C++ | UTF-8 | C++ | false | false | 2,668 | hpp | blaze.hpp | #ifndef LINALG_LAPACK_BLAZE_HPP_
#define LINALG_LAPACK_BLAZE_HPP_
#include <blaze/Math.h>
namespace linalg
{
template <template <typename, bool> class Matrix, typename T, bool SO>
int
potrf(Matrix<T, SO>& a)
{
const int n(a.rows());
const int lda(a.spacing());
int info = 0;
blaze::potrf('L', n, a.dat... |
1d49e8f422d50e3358926813c24cdf1d0412a84b | 94304ae0875d0c6164922de503a12b13add2d2d1 | /inst/cpp/edf_interface.cpp | 818d192bd33bb56dbb70d723b21e1ebaa3063a44 | [] | no_license | alexander-pastukhov/eyelinkReader | 279482e7de0ef456bfde2b8fda56b27370eee385 | e915798bb56b2ce46883536a379d4127812fef8b | refs/heads/master | 2022-10-19T22:09:20.088415 | 2022-09-27T08:53:41 | 2022-09-27T08:53:41 | 134,551,196 | 9 | 2 | null | 2023-09-05T15:58:07 | 2018-05-23T10:10:00 | R | UTF-8 | C++ | false | false | 33,452 | cpp | edf_interface.cpp | #include <sstream>
#include <math.h>
#include <Rcpp.h>
using namespace Rcpp;
// [[Rcpp::depends(RcppProgress)]]
#include <progress.hpp>
namespace edfapi {
#include "edf.h"
}
const float FLOAT_NAN = nanf("");
//' @title Status of compiled library
//' @description Return status of compiled library
//' @return logic... |
a4c60fa3a6032ab85929948ef52db4bda9aba342 | bf0fc2c649e63ec18407430e8706aaa4ade16d35 | /Projects/МШП/ParallProg/future.cpp | 811d568a3aca74e5c00b6e7c271aeebcda039a8e | [] | no_license | TheZaychik/TheZaychikArchive | f43d3b95733f5c60179796a1b6ff1de4a9dab151 | 9dbfb0b753103488d0066db566f374be15077927 | refs/heads/master | 2021-05-07T00:09:29.138101 | 2021-02-04T14:58:55 | 2021-02-04T14:58:55 | 110,042,519 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 548 | cpp | future.cpp | #include <iostream>
#include <thread>
#include <future>
bool isPrime(int x){
for(int i = 2; i<=x/2; i++){
if(x% i == 0){
return false;
}
}
return true;
}
int main(){
std::packaged_task<bool(int)> task(isPrime);
//task(5);
std::future<bool> future = task.get_future()... |
ea61e02b4e14a32f6d0772707e13421763dbc356 | 9aaa228f886f2267b7b2de34a664e56c85440cf9 | /Clase/sobrecarga_operadores.cpp | aeda93747049a7bdff40f2edc2af3074a3acb8ae | [] | no_license | Losnen/AEDA | 4b08ed183676509800ccf8f76a04a41fb4d852df | e24a3c2942862eac0c3aeef597a9d2fec9b21119 | refs/heads/master | 2020-04-09T12:19:22.671017 | 2016-05-11T07:49:48 | 2016-05-11T07:49:48 | 52,212,012 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,762 | cpp | sobrecarga_operadores.cpp | //Sobrecarga de operador [] para el vector
TDATO& operator[](void)
{
return v_[pos];
}
TDATO& operator[](void) const //Procedimiento para vectores constantes.
{
return v_[pos];
}
//Sobrecarga de operador *
TDATO operator*(const vector_t& v)
{
TDATO prod = 0;
for(int i = 0; i < sz_; i++)
{
... |
73669d925ee7e1acbc4f946702bb660b744daf58 | c28939feb2193929b27f9c0ddf2a03d20b4067b3 | /Source/ZombieHomeInvasion/ZombieGameModeBase.h | d66972fe79cb255dd3df83b9f446aca9c2ff99da | [] | no_license | alnye655321/ZombieHomeInvasionVR | f2c1a4703f466527fe78fa0a45bc66fe33b8dfde | 886b74dd5545b133230a724461df6d13e083b6dc | refs/heads/master | 2021-01-09T06:52:04.819558 | 2017-02-06T17:08:17 | 2017-02-06T17:08:17 | 81,108,639 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,117 | h | ZombieGameModeBase.h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "GameFramework/GameModeBase.h"
#include "ZombieGameModeBase.generated.h"
/**
*
*/
UCLASS()
class ZOMBIEHOMEINVASION_API AZombieGameModeBase : public AGameModeBase
{
GENERATED_BODY()
public:
AZombieGameModeBase... |
b3daef64ed269970708c102e8718d34a529ab191 | 530484f29dd881501aa0cc6549af507568079ae3 | /Tenkici.cpp | ee9b4ae7ef0bf157c9d59323c223d9d291958cd3 | [] | no_license | marko1597/Programming-competitions | c89500b7d9747290247e95268727bafa947a7b50 | 192574924fee8c2a5b2e229ad23c8e8c02d7fc66 | refs/heads/master | 2016-08-09T21:03:53.044305 | 2015-11-07T16:40:34 | 2015-11-07T16:40:34 | 44,918,803 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,289 | cpp | Tenkici.cpp | #include <cstdio>
#include <cstring>
#include <iostream>
#include <math.h>
#include <string>
#include <sstream>
#include <iomanip>
#include <stdio.h>
#include <stdlib.h>
#include <ctime>
#include <time.h>
#include <string.h>
#include <algorithm>
#include <queue>
#include <stack>
#include <vector>
#include <map>
#includ... |
16ed98885b462a8f01908431dccde33349b552a0 | 9006cf2da93332cf3b5eb8cc9f43b1a7413bb6ad | /atomSim/include/AtomWrapper.h | a955c41723735c7b5be0b7dd841ca437d266ba2f | [] | no_license | ErikEckenberg/AtomSim | 22a7fe2c6febc9281cfb20e6e959c7483d653baa | 75b0947af2c17483ff4dc6f6133824f5ea42a6d5 | refs/heads/master | 2020-12-08T05:12:27.688145 | 2020-01-09T20:11:53 | 2020-01-09T20:11:53 | 232,895,538 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,009 | h | AtomWrapper.h | #ifndef ATOMWRAPPER_H
#define ATOMWRAPPER_H
#include <vector>
#include <utility>
#include <iostream>
#include <SFML/Graphics.hpp>
#include "atom.h"
class atom;
class AtomWrapper
{
public:
AtomWrapper();
AtomWrapper(int, sf::RenderWindow*);
void create(int, sf::RenderWind... |
c9dc23c411cf22d04239eb39674673a14f4407bf | 7f62f204ffde7fed9c1cb69e2bd44de9203f14c8 | /DboClient/Lib/NtlSimulation/NtlSobWorldItemProxy.cpp | 513a88bcbbf00075384546f73741190541f99b5d | [] | no_license | 4l3dx/DBOGLOBAL | 9853c49f19882d3de10b5ca849ba53b44ab81a0c | c5828b24e99c649ae6a2953471ae57a653395ca2 | refs/heads/master | 2022-05-28T08:57:10.293378 | 2020-05-01T00:41:08 | 2020-05-01T00:41:08 | 259,094,679 | 3 | 3 | null | 2020-04-29T17:06:22 | 2020-04-26T17:43:08 | null | UHC | C++ | false | false | 5,672 | cpp | NtlSobWorldItemProxy.cpp | #include "precomp_ntlsimulation.h"
#include "NtlSobWorldItemProxy.h"
// shared
#include "ItemTable.h"
#include "TableContainer.h"
#include "DragonBallTable.h"
// core
#include "NtlMath.h"
//// presentation
#include "NtlPLSceneManager.h"
#include "NtlPLItem.h"
// simulation
#include "NtlSLEvent.h"
#include "NtlSob.h... |
e6ea90120e76b5912dee390eea929b08b3d245f9 | 857c93453823f95a2460d854ac79c0ac69f7c976 | /include/envvars/MissingRequiredEnvVarImpls.hpp | 7a419d5b2d9cb9b7d729ae27ca60eb95a948881c | [] | no_license | gspatace/genapputils | 84cc1a312f19a47d79c4b3addb7d37ff9c456bd7 | 45b77eddff1f009f785a0322ff9f952e467ac2dd | refs/heads/develop | 2021-08-03T03:09:53.746595 | 2020-02-21T20:03:58 | 2020-02-21T20:45:31 | 162,253,554 | 0 | 0 | null | 2020-04-06T19:31:24 | 2018-12-18T08:14:14 | C++ | UTF-8 | C++ | false | false | 927 | hpp | MissingRequiredEnvVarImpls.hpp | #pragma once
#include <iostream>
#include <sstream>
#include "IMissingRequiredEnvVarStrategy.hpp"
template<typename ExType>
class ExceptionThrowerMissingRequiredHandler : public IMissingRequiredEnvVarStrategy
{
public:
virtual void HandleMissingRequiredEnvVar(const std::string& EnvVarName) override
{
... |
b1f20ad464aea61683e3268f304df349bafe62cd | fd155c9bcbb6550264fb6d1ef19a882122f7845e | /CheckFrequency.cpp | cfafb36d51a7b3e58fd0de3bf8e21cabb7b0f3d6 | [] | no_license | KenlyBerkowitz/burma-training | dbc12faf3765328bc67a05e8870abd9a693a1c0f | fc4545d75ef5a2c9845d4801cc6217500531f412 | refs/heads/master | 2021-04-23T06:55:57.718491 | 2020-04-12T21:52:53 | 2020-04-12T21:52:53 | 249,907,649 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,244 | cpp | CheckFrequency.cpp | #include "CheckFrequency.h"
#include <iostream>
#include <string>
using namespace std;
CheckFrequency::CheckFrequency(struct MenuItems anItem[], int size)
{
initArr(anItem, size);
}
CheckFrequency::~CheckFrequency()
{
delete [] arrFreq; //deletes memory and frees pointer
arrFreq = nullptr;
}
//initializes th... |
23689795c6062decd61637ea0a0608bdd2eb13f8 | 2153c572a578bd13aec501a34ebcbef9d31aa187 | /Baseclass/ScopeGuard.h | 7da2350a5a1da7b968ad78a655af32434cd2c64f | [] | no_license | ZcHuer/LMPlayer | e579f0718e61789cc15d77b4976379276813085c | da2fe595a8121b3d3c2feec91c461a38d9909bca | refs/heads/master | 2022-04-09T22:07:15.900773 | 2020-03-17T08:10:19 | 2020-03-17T08:10:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 403 | h | ScopeGuard.h | #ifndef __SCOPE_GUARD_H__
#define __SCOPE_GUARD_H__
#pragma once
#include <functional>
class ScopeGuard
{
public:
ScopeGuard(std::function<void(void)> func) : m_func(func), m_dismissed(false) {};
~ScopeGuard() {
if (!m_dismissed && m_func)
{
m_func();
}
}
void Dismiss() const {
m_dismissed = true;
... |
484afdb5c4ad866c45fa4ea3a958a271c8125aa4 | 722df9e9edb92b28e6f63531189afebc86b748bf | /LNKWallet/guard/GuardKeyManagePage.cpp | 864d3ae245a13fd098b11bc0014bd6778b372517 | [
"MIT"
] | permissive | HcashOrg/hx-indicator | 96669156e9b948f312f1e86acaa2939a0fa4e7e8 | 55b6b23ca5bf720c253a9da36cec3a73c489f308 | refs/heads/master | 2021-07-06T19:01:00.705155 | 2020-08-05T07:15:49 | 2020-08-05T07:15:49 | 137,836,449 | 8 | 7 | null | null | null | null | UTF-8 | C++ | false | false | 13,410 | cpp | GuardKeyManagePage.cpp | #include "GuardKeyManagePage.h"
#include "ui_GuardKeyManagePage.h"
#include "wallet.h"
#include "control/AssetIconItem.h"
#include "showcontentdialog.h"
#include "ToolButtonWidget.h"
#include "GuardKeyUpdatingInfoDialog.h"
#include "dialog/checkpwddialog.h"
#include "commondialog.h"
#include "dialog/TransactionResultD... |
37bda8fdee23130afcfef486b8f3014c572f3f7e | c1f44c0b39412c47d846aaaac41a061689cb837b | /src/AliceUI/AUIRecyclerAdapter.h | 2982a67f233607ec818175041d249f8372663fc5 | [
"MIT"
] | permissive | DevHwan/aliceui | e85c61473479f87a4ea9106177b37b793883d2bf | 9ee7d9424c06d4e063e55b486e9a78dfcebf8f86 | refs/heads/master | 2020-04-25T08:08:04.220457 | 2020-02-21T13:13:58 | 2020-02-21T13:13:58 | 172,636,394 | 1 | 0 | MIT | 2019-09-20T10:52:21 | 2019-02-26T04:13:03 | C++ | UTF-8 | C++ | false | false | 4,026 | h | AUIRecyclerAdapter.h | #pragma once
#include "AUIRecyclerCommonDef.h"
#include "AUISignal.h"
class AUIWidget;
class ALICEUI_API AUIRecyclerAdapter : public std::enable_shared_from_this< AUIRecyclerAdapter >
{
public:
AUIRecyclerAdapter();
virtual ~AUIRecyclerAdapter();
//////////////////////////////////////////////////////... |
66b0f5aaf0d297390952db4affa21663514e1fbb | 3c9398925c9d260302c1209759ca1e05af9acde3 | /librarian.h | 160198aa46416a980ce37890252f315eae542cbb | [] | no_license | RizRam/CPlusPlusLibraryClient | ecec511badec53b0f03519ab0d0e59605543393d | ae51f46bb11e69fdb276ee113a7d646b6f07ce87 | refs/heads/master | 2021-01-19T08:46:44.664543 | 2017-04-09T01:53:02 | 2017-04-09T01:53:02 | 87,675,103 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,020 | h | librarian.h | /******************************************************************************
* Ben Pittman - David Nixon - Mike Chavez - Rizky Ramdhani
* CS 502A Winter 2017
* HW 4
* librarian.h - Header file for Librarian
******************************************************************************/
#pragma once
#include <... |
a6249b308aceb2fb2074d7fc6a23b05de1a74e0c | 4783a3856a4cf0c3bd43f231d9e1ef9537536109 | /challenges/aabb7_simd.cpp | a40581daa91dc50fb1a16233adb9eab27d3e6bb7 | [] | no_license | d3v3l0/aabo | f6616331eb51e47a92aeca599e01c9cac922b126 | 4205bbc962a0b6b0a830dc41d0800aaa98e5934c | refs/heads/master | 2022-01-13T02:47:04.609433 | 2019-05-29T04:27:35 | 2019-05-29T04:27:35 | 277,680,185 | 1 | 0 | null | 2020-07-07T00:47:00 | 2020-07-07T00:47:00 | null | UTF-8 | C++ | false | false | 12,934 | cpp | aabb7_simd.cpp | #include "stdio.h"
#include <vector>
#include <time.h>
#include <math.h>
#include <immintrin.h>
struct Clock
{
const clock_t m_start;
Clock() : m_start(clock())
{
}
float seconds() const
{
const clock_t end = clock();
const float seconds = ((float)(end - m_start)) / CLOCKS_PER_SEC;
return secon... |
d9b0ac051bf800d5ce28e40f9fe8eabef1edcaa1 | 603cf35b3118a84557f8674695931d019f33bfc4 | /test.cpp | 09b0b4c9611229f59d58b07a7e23eb654b9d7f7e | [] | no_license | Murtaza-Kazmi/Linux-Systems-Programming | 617f79a2927020bebec1e34ccbafa91d09b48451 | 5d116895749ce71eb8c4ffec16e981896af0f99c | refs/heads/main | 2023-05-30T20:18:51.299850 | 2021-06-03T12:28:13 | 2021-06-03T12:28:13 | 336,844,449 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 77 | cpp | test.cpp | #include <unistd.h>
int main(){
write(2, "abcd", 4);
return 0;
}
|
249b7aff2d6e87ecb4b6c80bfd5bc903d58e6648 | c3e4a25ef8981b25f4922bd1a569b2b4aa0dd425 | /Ray Tracing/main.cpp | fe231183b4ea71a8e74bda12756bb21997b65e1e | [] | no_license | ozgurcanc/computer-graphics-assignments | d1802eb7b4d9745e5c78f0f6b9784e11e90b8e62 | a28c5ba11bd46c6fdaa092f89492092b3a412646 | refs/heads/master | 2021-01-05T07:28:46.186323 | 2020-02-16T17:21:39 | 2020-02-16T17:21:39 | 240,932,729 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 491 | cpp | main.cpp | #include "defs.h"
#include "Scene.h"
#include <iostream>
Scene *pScene; // definition of the global scene variable (declared in defs.h)
int main(int argc, char *argv[])
{
if (argc != 2)
{
std::cout << "Please run the ray tracer as:" << std::endl
<< "\t./raytracer inputs/<input_file_name>" <... |
29b294a297d5c057405a16e5a06be360367f1e43 | 199db94b48351203af964bada27a40cb72c58e16 | /lang/de/gen/Bible16.h | 6466338ccc83b86ac474e4ff8551187ad734b56a | [] | no_license | mkoldaev/bible50cpp | 04bf114c1444662bb90c7e51bd19b32e260b4763 | 5fb1fb8bd2e2988cf27cfdc4905d2702b7c356c6 | refs/heads/master | 2023-04-05T01:46:32.728257 | 2021-04-01T22:36:06 | 2021-04-01T22:36:06 | 353,830,130 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 63,506 | h | Bible16.h | #include <map>
#include <string>
class Bible16
{
struct de1 { int val; const char *msg; };
struct de2 { int val; const char *msg; };
struct de3 { int val; const char *msg; };
struct de4 { int val; const char *msg; };
struct de5 { int val; const char *msg; };
struct de6 { int val; const char *msg; };
struct de7 {... |
1cb576d8e5c33de4ea3f97bb9526ae0c26c00b75 | f3a9174535cd7e76d1c1e0f0fa1a3929751fb48d | /SDK/PVR_UI_Wheel_classes.hpp | 5b78507d81529eb74dccb7833b020260766f9260 | [] | no_license | hinnie123/PavlovVRSDK | 9fcdf97e7ed2ad6c5cb485af16652a4c83266a2b | 503f8d9a6770046cc23f935f2df1f1dede4022a8 | refs/heads/master | 2020-03-31T05:30:40.125042 | 2020-01-28T20:16:11 | 2020-01-28T20:16:11 | 151,949,019 | 5 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 7,392 | hpp | PVR_UI_Wheel_classes.hpp | #pragma once
// PavlovVR (Dumped by Hinnie) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace SDK
{
//---------------------------------------------------------------------------
//Classes
//---------------------------------------------------------------------------
// WidgetBlueprintGenera... |
70e3fccda90070057ac9db0c67de8b9d2932a906 | a25f5cca8caf95687d39e846fd7f2b15562bc6a7 | /2021_02/2021_02_15/001_Geneic_Type_function.cpp | 01cce5e86e37dfd916bb661793b52f7a5112600d | [] | no_license | ITlearning/ROKA_CPP | 241dd0debab9eb03ca36bf2087b8d45d34760906 | f268eaa92d290c4f3bb0392bbf5ae5b7fd1742af | refs/heads/main | 2023-03-20T08:19:41.951503 | 2021-03-06T08:02:06 | 2021-03-06T08:02:06 | 324,778,256 | 1 | 0 | null | 2021-01-31T15:04:23 | 2020-12-27T14:24:20 | C++ | UTF-8 | C++ | false | false | 855 | cpp | 001_Geneic_Type_function.cpp | // 제네릭 myswap() 함수 만들기
#include <iostream>
using namespace std;
class Circle {
int radius;
public:
Circle(int radius = 1) { this->radius = radius; }
int getRadius() { return radius; }
};
template <class T> // 템플릿의 역할은 그저 함수의 틀이다. 제네릭 함수를 선언하고, 컴파일 시점에 구체화 시키기 위한 틀을 만드는 것이다.
void myswap(T & a, T & b) { // 제네릭 함수
... |
f3debf84b74a7eeb7063459a9df6d8602ed7ff5c | 8ce8e3787768e81941cfe126a90a5ddd272433a0 | /tests/src/exec.cpp | cfe098423133924287075de4274a7010cb2612b9 | [
"Apache-2.0"
] | permissive | swoole/phpx | 859d9f2a199a85cae5c59d61ceb89e7c1a8e0e4d | 21f44c8d4a44db6c5b091b65294ad0c866ed17a2 | refs/heads/master | 2023-09-03T00:54:16.126021 | 2022-07-29T08:00:31 | 2022-07-29T08:00:31 | 91,668,676 | 213 | 41 | null | null | null | null | UTF-8 | C++ | false | false | 550 | cpp | exec.cpp | #include "phpx_test.h"
using namespace php;
static const char *g_date = "2009-02-15";
TEST(exec, func) {
auto retval = exec("is_dir", "/tmp");
ASSERT_TRUE(retval.toBool());
}
TEST(exec, method) {
auto retval = exec("DateTime::createFromFormat", "j-M-Y", "15-Feb-2009");
ASSERT_TRUE(retval.isObject())... |
98882de33fb95b4cd76c7c523565e11e7cad38a0 | da746871abe934e8091552520305a3115e88d6dd | /EloBuddy.Core/EloBuddy.Wrapper/EloBuddy.Wrapper/FollowerObject.cpp | 8eabf2c0bdde675911723e336543e3ee92183441 | [] | no_license | spiderbuddy411/spiderbuddy.open | ffcd0a3d6440e7502991d36067b03261f210a857 | c96c4c8e15fd7939deb58813e7c2b4e17237a60e | refs/heads/master | 2023-01-25T02:43:49.155176 | 2020-11-19T22:38:55 | 2020-11-19T22:38:55 | 275,361,783 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 74 | cpp | FollowerObject.cpp | #include "Stdafx.h"
#include "FollowerObject.hpp"
namespace EloBuddy
{
} |
1759fae8f18a35b746d9feeea80704e82a726016 | f486530c25f94b5be53b5511b9ae2b30ac74f9ea | /XiaoDB/test/BlockSizeReadTest.cpp | d3f8d0de83b97400623974305528d13adaa23b29 | [] | no_license | bjlovegithub/CLPIM | d69712cc7d9eabd285d3aa1ea80b7e906a396a3c | aca78fc0c155392618ded3b18bdf628e475db2a8 | refs/heads/master | 2021-01-01T20:05:33.381748 | 2011-02-13T15:28:05 | 2011-02-13T15:28:05 | 1,257,190 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,471 | cpp | BlockSizeReadTest.cpp | /**
* This program is used for testing performance issues about file IO.
* Conclusion:
* 1. Consider about block size when using Liux RAW file API.
* 2. Set the number of bytes readed each time to times of
* (blocks of per group). Usually it is 8K.
*/
#include <string>
#include <iostream>
#include <fst... |
71f33527a902afff56946b21a8c262f96d049b37 | 01a42b69633daf62a2eb3bb70c5b1b6e2639aa5f | /SCUM_Snowman_01_functions.cpp | 8973fab58d054380eac8c66decfd0691976c4632 | [] | no_license | Kehczar/scum_sdk | 45db80e46dac736cc7370912ed671fa77fcb95cf | 8d1770b44321a9d0b277e4029551f39b11f15111 | refs/heads/master | 2022-07-25T10:06:20.892750 | 2020-05-21T11:45:36 | 2020-05-21T11:45:36 | 265,826,541 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 42,430 | cpp | SCUM_Snowman_01_functions.cpp | // Scum 3.79.22573 (UE 4.24)
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "../SDK.hpp"
namespace Classes
{
//---------------------------------------------------------------------------
//Functions
//---------------------------------------------------------------------------
// Function ConZ.Item.Use
// ... |
472be7fea08708376b19d950f448301c00f1d2cb | f6bdac5f1eda23454f9012815c6216c1f9531898 | /global/msgs.hpp | 9f2dee8cecf1d32f63f0e87bd77d940f1e83508f | [] | no_license | Pink-Dragon-Labs/DnGServerSource | 62310037935d223f4db0555b4ba7837621feb895 | 995e8d1e23bd7b3e952f0e36b6ed84e6c41055d8 | refs/heads/master | 2021-02-08T19:57:41.259553 | 2020-02-29T04:19:48 | 2020-02-29T04:19:48 | 244,190,421 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,999 | hpp | msgs.hpp | /*
global system message definitions
author: Stephen Nichols
*/
#ifndef _MSGS_HPP_
#define _MSGS_HPP_
#include "new.hpp"
#include "malloc.hpp"
#include "ipcclient.hpp"
#include "ipcmsg.hpp"
#include <time.h>
enum {
_ACCT_TYPE_12MONTH,
_ACCT_TYPE_30DAY,
_ACCT_TYPE_90DAY,
_ACCT_TYPE_INVALID,
_ACCT_TYPE_IN_USE,
... |
61b9553d775e4ba154f397bcd928409d845b2d2a | 5d385a65dcc228d7a99b761e110164c643e81818 | /ps2/ps2.ino | 4f8ec48888780b7877fae6057876935baa6098e7 | [] | no_license | xtsimpouris/arduino-test-code | c083b8f582d72936bfe95eb720d00e795cf91e19 | 643f51cd1603083a7f56811fff485e6fb2fa6072 | refs/heads/master | 2020-05-02T11:28:15.282765 | 2012-08-30T10:25:24 | 2012-08-30T10:25:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,748 | ino | ps2.ino | // include the library code:
#include <LiquidCrystal.h>
#include <PS2Keyboard.h>
// initialize the library with the numbers of the interface pins
LiquidCrystal lcd(9, 8, 5, 4, 7, 6);
PS2Keyboard keyboard;
const int DataPin = 3; // ps2-mple
const int IRQpin = 2; // ps2-kitrino
// ps2-ko... |
ae10d80af79c3511f248b19d3fac47fc27c9622f | 4b330850846c6f98b4325dd3c53408cf9f5bd3cf | /IntrinsicRenderer/src/IntrinsicRendererResourcesDrawCall.h | c3bb15bdf591cf8ef95057be4f27697b2f855383 | [
"Apache-2.0"
] | permissive | begla/Intrinsic | d172bda49a7dc489fc2d1710ed32a2ae5f57ad41 | bbe988993d09cb282a6629db412d764d0daa2e06 | refs/heads/master | 2023-04-27T19:33:28.633697 | 2023-04-21T09:42:43 | 2023-04-21T09:42:43 | 71,087,084 | 1,218 | 106 | null | 2017-08-19T01:49:10 | 2016-10-17T00:49:15 | C++ | UTF-8 | C++ | false | false | 16,732 | h | IntrinsicRendererResourcesDrawCall.h | // Copyright 2017 Benjamin Glatzel
//
// 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 agreed to... |
d02ccc15a648148326da6da3a1fa78f393d6ebce | 73bd731e6e755378264edc7a7b5d16132d023b6a | /CodeForces/984C-1.cpp | bf411f36b609cb3e8c0b6b4a4a4f866669c6fe48 | [] | no_license | IHR57/Competitive-Programming | 375e8112f7959ebeb2a1ed6a0613beec32ce84a5 | 5bc80359da3c0e5ada614a901abecbb6c8ce21a4 | refs/heads/master | 2023-01-24T01:33:02.672131 | 2023-01-22T14:34:31 | 2023-01-22T14:34:31 | 163,381,483 | 0 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 443 | cpp | 984C-1.cpp | // BISMILLAHIR RAHMANIR RAHIM
#include <bits/stdc++.h>
#define MAX 100005
using namespace std;
typedef long long ll;
int main()
{
ios::sync_with_stdio(0), cin.tie(0), cout.tie(0);
ll p, q, b;
int test;
cin>>test;
while(test--){
cin>>p>>q>>b;
if((__gcd(p, q) == 1 && q != 1)){
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.