blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 3 264 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 5 140 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 905
values | visit_date timestamp[us]date 2015-08-09 11:21:18 2023-09-06 10:45:07 | revision_date timestamp[us]date 1997-09-14 05:04:47 2023-09-17 19:19:19 | committer_date timestamp[us]date 1997-09-14 05:04:47 2023-09-06 06:22:19 | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 22
values | gha_event_created_at timestamp[us]date 2012-06-07 00:51:45 2023-09-14 21:58:39 ⌀ | gha_created_at timestamp[us]date 2008-03-27 23:40:48 2023-08-21 23:17:38 ⌀ | gha_language stringclasses 141
values | src_encoding stringclasses 34
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 3 10.4M | extension stringclasses 115
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2fcad5cea04c54480c752d284686f15b233b00dc | 021e8c48a44a56571c07dd9830d8bf86d68507cb | /build/vtk/vtkQtStatisticalBoxChartOptions.h | ea8d52a9564f328b3c7fe262269860112a7b2920 | [
"BSD-3-Clause"
] | permissive | Electrofire/QdevelopVset | c67ae1b30b0115d5c2045e3ca82199394081b733 | f88344d0d89beeec46f5dc72c20c0fdd9ef4c0b5 | refs/heads/master | 2021-01-18T10:44:01.451029 | 2011-05-01T23:52:15 | 2011-05-01T23:52:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,444 | h | /*=========================================================================
Program: Visualization Toolkit
Module: vtkQtStatisticalBoxChartOptions.h
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.... | [
"ganondorf@ganondorf-VirtualBox.(none)"
] | ganondorf@ganondorf-VirtualBox.(none) |
e94881026f3cd6e01265211a2634103b721dbb99 | da7ccfd7debd939894fe460ca4c6c9466fe5d2a8 | /components/resultPanel.cpp | 28e6ee2b9a12af68e4954962b5a9a2b594a457cb | [] | no_license | bingshiue/TestProject | a0fef4bd81c80adf011530e33f4cd543e762f437 | 408539e309b1116d6f08a972b35fd6d0f1659dcc | refs/heads/master | 2021-01-15T22:28:43.914710 | 2014-08-30T14:06:45 | 2014-08-30T14:06:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,348 | cpp | /**
* @file resultPanel.cpp
*
*/
#include "../include/components/resultPanel.h"
ResultPanel::ResultPanel(wxPanel* parent,wxString title) : wxPanel(parent,wxID_ANY,wxDefaultPosition,wxDefaultSize,wxBORDER_NONE)
{
this->m_parent = parent;
this->m_sb = new wxStaticBox(this,wxID_ANY,title,wxDefaultPosition,wxDefaul... | [
"bingshiue@gmail.com"
] | bingshiue@gmail.com |
3e343b437f8bc2b44e549ddaaf03a16f857dceba | 1b608693ff8693b246287f4b7b98cfb4ad690c84 | /fon9/Exception.hpp | b06a17a25306e960dffbd5d2d56522f03d6ddc7a | [
"Apache-2.0"
] | permissive | tidesq/libfon9 | 7a804bcb883ed2e96271277e0cd63647b275b376 | 7a050db7678c54c275b80d32a057d654344ea18a | refs/heads/master | 2020-04-18T23:16:58.330908 | 2019-01-27T03:56:45 | 2019-01-27T03:56:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,274 | hpp | /// \file fon9/Exception.hpp
/// \author fonwinz@gmail.com
#ifndef __fon9_Exception_hpp__
#define __fon9_Exception_hpp__
#include "fon9/sys/Config.hpp"
#include <stdexcept>
namespace fon9 {
/// \ingroup Misc
/// 丟出異常.
/// 透過一層間接呼叫, 可讓 compiler 更容易最佳化: 會丟出異常的 function.
template <class E, class... ArgsT>
[[noreturn]] ... | [
"fonwinz@gmail.com"
] | fonwinz@gmail.com |
04068c90f8a17f9d8aed8fd5ffcdb7ecdf07c53a | 6d1b727ce5930270571ce1c9be9744184a16d8a0 | /arrayss.cpp | 213b17d0f7c7530adcf7eaae5fccd4d5455d9e82 | [] | no_license | shivamsatyam/cpp-course | 5ca45924de51eb7a52b0553fe5fb86a21ccec367 | 50d87615dff196095fd7c73498aec6dd36894d12 | refs/heads/master | 2023-02-14T03:58:53.932189 | 2021-01-14T15:02:57 | 2021-01-14T15:02:57 | 329,649,476 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 918 | cpp | #include<iostream>
#include <iomanip>
using namespace std;
int main()
{
int marks[4] = {23,45,56,89};
//we can also make array like that
//1. int marks[] = {23,4,5,6,7};
cout<<marks[0]<<endl;
cout<<marks[1]<<endl;
cout<<marks[2]<<endl;
cout<<marks[3]<<endl;
/*printi... | [
"softgooddeveloper@gmail.com"
] | softgooddeveloper@gmail.com |
c8a41be38ee60a8554ac7a1fd0b6d822c931c7a2 | bed66ac3ac02b936c108e6a3685412dd82e8a1a3 | /万圣节后的早晨.cpp | fb0bc8b57c60a1e70f13c5f197ff44e3f9a23cfc | [] | no_license | muleimulei/liurujia2-ACM | a39c4ed296060925c5dd67cb441a727083b93dad | d980d7e309e88788f1cc1797b453d7f6908861dc | refs/heads/master | 2021-06-09T06:50:48.142943 | 2021-04-11T12:41:05 | 2021-04-11T12:41:05 | 140,162,117 | 3 | 3 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 2,350 | cpp | #include<cstdio>
#include<cctype>
#include<cstring>
#include<map>
#include<queue>
using namespace std;
const int maxn = 18;
int h,w,n;
char G[maxn][maxn];
int s[3], e[3];
bool mark[maxn*maxn]; // ¼Ç¼¿ÕµØ
short d[maxn*maxn][maxn*maxn][maxn*maxn];
vector<short> vv[maxn*maxn], ve;
int go[][2]={
0, 0,
-1, 0,
1, ... | [
"18729274217@163.com"
] | 18729274217@163.com |
e3ea1392b978065ace3e483aa57f7162dadb18b3 | 9f8a069f7d337a022cae89e3e5b75d161c832e2d | /Midterm_Case/Graded_Mesh/TimeAccurate/Laminar/275/p | e630247dd98c988b655c7aa306f8625cdb892f25 | [] | no_license | Logan-Price/CFD | 453f6df21f90fd91a834ce98bc0b3970406f148d | 16e510ec882e65d5f7101e0aac91dbe8a035f65d | refs/heads/master | 2023-04-06T04:17:49.899812 | 2021-04-19T01:22:14 | 2021-04-19T01:22:14 | 359,291,399 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,332 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1912 |
... | [
"loganprice2369@gmail.com"
] | loganprice2369@gmail.com | |
32e95d34c32588081d77b47e5ea56809153b98da | b2efbd38e567eb271df9ec0a11ebf1abccd22881 | /main.cpp | e3d8514c6560426ade1c47181612eb25be1d72ff | [] | no_license | jcaesar/C4C | 63050e425414b5fc2931c81a71b7f9badb17741f | 338e535d16307045c80b6ed35b56467eca040140 | refs/heads/master | 2021-01-23T06:29:09.297788 | 2014-07-17T08:34:29 | 2014-07-17T08:34:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 29,817 | cpp | #include <utility>
using std::swap; using std::move; using std::forward; using std::remove_reference;
#include <memory>
using std::unique_ptr;
#include <limits>
using std::numeric_limits;
#include <stdexcept>
using std::runtime_error;
#include <string>
using std::string; using std::to_string;
#include <unordered_map>
u... | [
"gitter@liftm.de"
] | gitter@liftm.de |
35c473776703d720a97279a8f4d06f4090421832 | 1942a0d16bd48962e72aa21fad8d034fa9521a6c | /aws-cpp-sdk-batch/include/aws/batch/model/TerminateJobResult.h | 333671097f9973c768fd6161d7195ab41020f146 | [
"Apache-2.0",
"JSON",
"MIT"
] | permissive | yecol/aws-sdk-cpp | 1aff09a21cfe618e272c2c06d358cfa0fb07cecf | 0b1ea31e593d23b5db49ee39d0a11e5b98ab991e | refs/heads/master | 2021-01-20T02:53:53.557861 | 2018-02-11T11:14:58 | 2018-02-11T11:14:58 | 83,822,910 | 0 | 1 | null | 2017-03-03T17:17:00 | 2017-03-03T17:17:00 | null | UTF-8 | C++ | false | false | 1,177 | h | /*
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fil... | [
"henso@amazon.com"
] | henso@amazon.com |
aa9c9089cab878e2854bd86d5f607ec6926958ad | c3e2efd04e5a79d66ba81ea4bbd5f6fc910170cf | /Main.cpp | 2a03eb7eaf9aebc3e8fa6d522d8895fe10de58ac | [] | no_license | max1fox/skolziot11 | 38aa8f967b7542031ef9ce768ce477f946cf70f9 | b49968757e01e9663830d1db23526ec73c2379ed | refs/heads/master | 2020-09-12T12:15:40.240182 | 2019-11-18T11:19:51 | 2019-11-18T11:19:51 | 222,422,413 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,345 | cpp | #include "iostream"
#include "conio.h"
using namespace std;
class Matrix {
private:
int mtx[5];
public:
void InputElement(int a) {
cin >> mtx[a];
}
void sMatrix(int a) {
static int ptr = 0;
mtx[ptr] = a;
if (ptr == 4) ptr = -1;
ptr++;
}
int* GetMatrix() {
return mtx;
}
friend void OutputMatrix(Ma... | [
"maxfox675@gmail.com"
] | maxfox675@gmail.com |
e8c40eca078e9ddfde0aa571d7157b2e937c94eb | 19c5b34e8863539d1c89362c599e63471759bc6c | /StringMachine/src/scenes/CircleScene.h | 7ca77d0e1060a25720dd66c7a1e8f0f81c670846 | [] | no_license | jg33/StringMachinery | 8463a4ef9a46789c15438f7141ca84bdeea373c6 | 3fcc22a915651556bbfa3a80c846ca670e7c1f53 | refs/heads/master | 2021-01-10T19:20:23.670853 | 2015-05-03T08:30:31 | 2015-05-03T08:30:31 | 24,396,990 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 670 | h | //
// CircleScene.h
// StringMachine
//
// Created by Jesse Garrison on 10/8/14.
//
//
#ifndef __StringMachine__CircleScene__
#define __StringMachine__CircleScene__
#define NUMCIRCLES 2
#include <stdio.h>
#include "ofMain.h"
#include "ofxAppUtils.h"
#include "Circle.h"
class CircleScene : public ofxScene{
... | [
"jesse@takethefort.com"
] | jesse@takethefort.com |
d84039b47a826a880956ece3487293af7af48b0e | e51d009c6c6a1633c2c11ea4e89f289ea294ec7e | /xr2-dsgn/sources/xray/editor/controls/sources/mode_button.cpp | d5cb9064f04acc36f168c59d503cd2d7d989733f | [] | no_license | avmal0-Cor/xr2-dsgn | a0c726a4d54a2ac8147a36549bc79620fead0090 | 14e9203ee26be7a3cb5ca5da7056ecb53c558c72 | refs/heads/master | 2023-07-03T02:05:00.566892 | 2021-08-06T03:10:53 | 2021-08-06T03:10:53 | 389,939,196 | 3 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,227 | cpp | ////////////////////////////////////////////////////////////////////////////
// Created : 13.01.2011
// Author : Evgeniy Obertyukh
// Copyright (C) GSC Game World - 2011
////////////////////////////////////////////////////////////////////////////
#include "pch.h"
#include "mode_button.h"
namespace xray {
namespace ... | [
"youalexandrov@icloud.com"
] | youalexandrov@icloud.com |
2b67e4dc6865510c7aae6ccf80a24d5049aa95ad | b50a46306a4deff1cb2c59f85c65be29fd384c94 | /src/LockedElement.cpp | 361df95b8b2198a7672b778970f3835422a0847d | [] | no_license | ddalex/Lemon-Web-Server | 5762d07a3c89552f1dac81087cc2e41cc31aa8c2 | 551d9a20b3c447c91863397c89f165b71ea87539 | refs/heads/master | 2020-04-22T22:16:37.498456 | 2012-11-08T11:01:02 | 2012-11-08T11:01:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 133 | cpp | /*
* LockedElement.cpp
*
* Created on: Apr 18, 2012
* Author: ddalex
*/
#include "LockedElement.h"
namespace lemon {
}
| [
"ddalex@gmail.com"
] | ddalex@gmail.com |
3b89355aae4b1749a07f9c136a90e181b2efaf46 | 72fa3bc7957bea62735eca9149107024557dab27 | /Codes/SI_03_20190305/SI_03_20190305.ino | 3d110430646cfee37a851dfff150042e0954477c | [] | no_license | brucetsao/eWind | 6ff4b8a39b796d5cf8b23e0a330fa494af3827b4 | 9e7b8681a5ad57d6cd1bb6f45ba2d5ef4b961fbb | refs/heads/master | 2021-06-09T21:12:04.760907 | 2021-05-26T10:07:10 | 2021-05-26T10:07:10 | 99,143,620 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 11,238 | ino | #include "crc16.h"
#include <SPI.h>
#include <WiFi101.h>
#include "arduino_secrets.h"
///////please enter your sensitive data in the Secret tab/arduino_secrets.h
char ssid[] = SECRET_SSID; // your network SSID (name)
char pass[] = SECRET_PASS; // your network password (use for WPA, or use as key for WEP)
in... | [
"prgbruce@gmail.com"
] | prgbruce@gmail.com |
cbfd30d0993e25be22b0626d30347681b8f74204 | 6767be84c4ffa16f0c1930c7b8c34c28f2c96dd2 | /spirit/fipa_acl.cpp | fbafb94a883a5e49972183ee9ca2c4468c36127e | [] | no_license | hdd-robot/gAgent | 6d47b597c24c09c6bbc88572023c2decce99173e | b8c3703965fa8a1671ae985b1de127389d11c007 | refs/heads/master | 2022-01-16T12:11:04.105880 | 2019-05-18T09:46:44 | 2019-05-18T09:46:44 | 95,297,136 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,014 | cpp | #include <boost/spirit/include/qi.hpp>
#include <boost/variant.hpp>
#include <boost/fusion/include/adapt_struct.hpp>
#include <string>
#include <vector>
#include <iostream>
using namespace boost::spirit;
typedef boost::variant<int, bool> int_or_bool;
namespace fipa {
struct AgentIdentifierDef{
string
};
struc... | [
"hdd@ai.univ-paris8.fr"
] | hdd@ai.univ-paris8.fr |
e3a96a0ed51ede3f0b34acc83f030678c6dc191a | 4a905d68030de1c8efd41fd580e99dcad360ffe1 | /NU group Easy contest-1/D - Ants.cpp | 87f17dbabc37948b719469b1f80a7615d8e89e96 | [] | no_license | AliAkberAakash/_CONTESTS_ | e687d80c7a69fdb134be08f1755e1dd93c6292c1 | e9fe96eda38dd107bdd025d955d69e4fe789704b | refs/heads/master | 2021-01-22T22:56:51.355883 | 2018-05-01T19:31:41 | 2018-05-01T19:31:41 | 85,589,590 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 849 | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
int t,length,pos,mid,x;
int least,most,lowest;
scanf("%d", &t);
for(int i=0; i<t; i++)
{
most=INT_MAX;
least=INT_MIN;
lowest=INT_MIN;
scanf("%d %d", &length, &pos);
mid=(length/2);
for(in... | [
"cedward318@gmail.com"
] | cedward318@gmail.com |
b6340b98a7e5f2df7d34da57722253ca9827ea5b | 665443052fa3c17f94c945f08b6378016d5a1dae | /0152/src/emu/bus/adam/exp.h | 42bb1f230a53f9f7d00f1024db8787568d595a28 | [] | no_license | dezi/mame-libretro-odroid | a6f3e0fd87e00fe8beda936f1cd3cf2fe508fcf0 | 31b588c088928f967b9fb9cf903b7a3f18a91eaa | refs/heads/master | 2020-04-18T07:49:09.588326 | 2014-02-11T14:27:40 | 2014-02-11T14:27:40 | 16,698,177 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,692 | h | // license:BSD-3-Clause
// copyright-holders:Curt Coder
/**********************************************************************
Coleco Adam Expansion Port emulation
Copyright MESS Team.
Visit http://mamedev.org for licensing and usage restrictions.
********************************************************... | [
"dezi@kappa-mm.de"
] | dezi@kappa-mm.de |
c823178580e382d8d17dd69564afabaaab61165f | 58e8a2a6f4db3aed5968e65e168b4e41031a7d6d | /src/Express/HTTP/HTTPProtocol.cpp | 2242cf6042e05581c84978c2f75ee895ab71ef2e | [
"MIT"
] | permissive | Loki-Astari/ThorsNisse | 4471f67c55bf9678cab8360b292835d3cf1d6ddc | ec497863598f594b64b467c982dbbc1948b3879b | refs/heads/master | 2023-08-17T20:46:42.486246 | 2023-08-08T07:33:14 | 2023-08-08T07:33:14 | 96,054,325 | 6 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,823 | cpp | #include "HTTPProtocol.h"
#include "ThorsSocket/SocketStream.h"
using namespace ThorsAnvil::Nisse::Protocol::HTTP;
class DevNullStreamBuf: public std::streambuf
{
private:
typedef std::streambuf::traits_type traits;
typedef traits::int_type int_type;
typedef traits::char_type ... | [
"Loki.Astari@gmail.com"
] | Loki.Astari@gmail.com |
dae5babc86409cb3a4777412315842f9a64bff37 | 28d86647f98f050e9b0757dc6e6dc2b268e73fb7 | /11403/11403.cpp | 7545f895c41a8bd6c1a76e912bf427c333ec6f88 | [] | no_license | Park52/BaekJoon | 5b521d3996c2ce95f5445e69bf96443ce2792802 | 03389f021c11d77afa4587ade9acaf7ff5e31f07 | refs/heads/master | 2020-06-03T19:37:55.256955 | 2019-12-17T00:47:10 | 2019-12-17T00:47:10 | 191,703,348 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 789 | cpp | #include <iostream>
#include <queue>
#include <cstdio>
#include <cstring>
using namespace std;
int N;
int nMap[101][101];
int nAns[101][101];
int nChecked[101][101];
queue<int> q;
void BFS(int y)
{
q.push(y);
while (!q.empty())
{
int cy = q.front();
q.pop();
for (int i = 1; i <= N; i++)
{
if (nMap[... | [
"wogus8660@gmail.com"
] | wogus8660@gmail.com |
823655ab1ffc4c24529f8222c1b8878539c5bf2e | 48e197b8f69f2a8b3765e0993d6c66a5823f3840 | /src/qt/signverifymessagedialog.cpp | e36f03f3dfed42a075660fe993ab5c69aa1fd77f | [
"MIT"
] | permissive | SorachanCoin/SorachanCoin-qt | d82bb3a2e3ba0b2c301b2ac9aa16d1f0b8b07cfe | f7acc67c633d2f4f1dddf67424986f485a280ec2 | refs/heads/master | 2022-11-21T15:10:44.261662 | 2020-07-09T09:44:05 | 2020-07-09T09:44:05 | 278,484,779 | 0 | 0 | MIT | 2020-07-09T22:35:26 | 2020-07-09T22:35:26 | null | UTF-8 | C++ | false | false | 9,180 | cpp | #include "signverifymessagedialog.h"
#include "ui_signverifymessagedialog.h"
#include "addressbookpage.h"
#include "base58.h"
#include "guiutil.h"
#include "dialogwindowflags.h"
#include "init.h"
#include "main.h"
#include "optionsmodel.h"
#include "walletmodel.h"
#include "wallet.h"
#include <string>
#include <vecto... | [
"42310034+FromHDDtoSSD@users.noreply.github.com"
] | 42310034+FromHDDtoSSD@users.noreply.github.com |
64c1c318032a9df85d39ef803c16e2284adb0403 | 62d5a234396840e9f222a8cb160cca22686525e9 | /LUA/LUA/LuaMacros.h | e780db4c08610d7f75c130ca24a97ee998c45aff | [] | no_license | marty1885/LuaWrapperCpp | 76872dee66a7883cf87f53912c9ee0009e620d10 | 4e8aa57c14daf1ffc5514deb222518851e428023 | refs/heads/master | 2020-03-27T06:58:36.224483 | 2018-08-26T05:17:48 | 2018-08-26T05:17:48 | 146,152,619 | 0 | 0 | null | 2018-08-26T04:58:32 | 2018-08-26T04:58:32 | null | UTF-8 | C++ | false | false | 2,422 | h | #ifndef LUA_MACROS_H
#define LUA_MACROS_H
//=============================================================================================
// Compilation defines
//Enable more type checking when getting pointer from Lua
//However, this is a bit slower then unsafe version without checks
#define SAFE_PTR_CHECKS 1
//Str... | [
"info@perry.cz"
] | info@perry.cz |
676e436d74be9acc96d6a1cb9a7b9d9f79156e16 | 7b34793f270945fb20c03d6bd3e2ced13b59f079 | /14 - Draw Sort Order/src/C_Sprite.hpp | cf192bbeb088199e73c6f2d475f232dc764fea48 | [
"MIT"
] | permissive | thatgamesguy/that_game_engine | 3a1c8fa57d5582ec19bcef111552f12eb669be94 | 90c80ebb4e890b9e4684ec87841b4bf4e446a3d1 | refs/heads/master | 2021-12-31T07:11:15.765836 | 2021-12-10T10:24:26 | 2021-12-10T10:24:26 | 120,003,746 | 88 | 34 | MIT | 2021-04-01T16:23:40 | 2018-02-02T16:21:06 | C++ | UTF-8 | C++ | false | false | 788 | hpp | #ifndef C_Sprite_hpp
#define C_Sprite_hpp
#include "Component.hpp"
#include "C_Transform.hpp"
#include "ResourceAllocator.hpp"
#include "C_Drawable.hpp"
class C_Sprite : public Component, public C_Drawable
{
public:
C_Sprite(Object* owner);
void SetTextureAllocator(ResourceAllocator<sf::Texture>* allocat... | [
"robert.wells@thatgamesguy.co.uk"
] | robert.wells@thatgamesguy.co.uk |
99b49fefc2fba86e29302ba5e11711c5257dbe5f | 879681c994f1ca9c8d2c905a4e5064997ad25a27 | /root-2.3.0/run/MicroChannelFOAM/TurbulenceMicroChannel/0.318/alpha.water | 164221032af4a157af048052b3458f7e9ddf796e | [] | no_license | MizuhaWatanabe/OpenFOAM-2.3.0-with-Ubuntu | 3828272d989d45fb020e83f8426b849e75560c62 | daeb870be81275e8a81f5cbac4ca1906a9bc69c0 | refs/heads/master | 2020-05-17T16:36:41.848261 | 2015-04-18T09:29:48 | 2015-04-18T09:29:48 | 34,159,882 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,676 | water | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.0 |
... | [
"mizuha.watanabe@gmail.com"
] | mizuha.watanabe@gmail.com |
ba3cce8a449e8b3cc800bd8eaa32c9c4e8512400 | edabddd23276d9a40c7f8bf6d6986fb451adbc34 | /Archive/Multi-University Training Contest/2017/5th/J.cpp | 91e1f3cc4bb889000e88f8334f6e8607993bcb1a | [] | no_license | Akatsukis/ACM_Training | b70f49435b8c7bada6b52366e4a6a8010ff80ef9 | 0503f50bc033ba01c7993de346ac241b0d9d5625 | refs/heads/master | 2021-06-06T09:00:15.665775 | 2019-12-24T20:13:14 | 2019-12-24T20:13:14 | 103,283,338 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,783 | cpp | #include <iostream>
#include <cstdio>
#include <cctype>
#include <algorithm>
#include <cstring>
#include <string>
#include <cmath>
#include <vector>
#include <set>
#include <stack>
#include <sstream>
#include <queue>
#include <map>
#include <functional>
#include <bitset>
//#include <unordered_map>
//#include <unordered... | [
"dreandawn@gmail.com"
] | dreandawn@gmail.com |
c3b9a546ed719a7861885d8e7fdbd3089b92b72f | 87a1b702904a711af2546db81f2fbc26ad7dd954 | /2048/Crad.h | 3e73c976b3b77c0fc5365b80d71c541dd7febf0d | [] | no_license | Candypz/cocos2dxTest | b98f6435adf1f0af8ec04ca85fe246b5c4a05aca | 2f752cdab88c8a6ae3d6bb189fb4d775ccd83f29 | refs/heads/master | 2020-04-06T03:42:00.177140 | 2015-05-02T17:07:43 | 2015-05-02T17:07:43 | 34,954,802 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 492 | h | #pragma once
#include "cocos2d.h"
USING_NS_CC;
class Card :public Sprite{
public:
static Card *createCardSprite(int number,int wigth,int height,float x,float y);
virtual bool init();
CREATE_FUNC(Card);
//获取数字
int getNumber();
//设置数字
void setNumber(int num);
private:
//显示数字
int m_number;
void eneyInit(int ... | [
"candy_pz@outlook.com"
] | candy_pz@outlook.com |
9fe0e4c05b36e51adeff27b99d5309d09e008324 | c650db386420adbfe1822fb448ca7b0dc67d3709 | /src/choicebutton.cpp | b803cc3f08e4cc7156c2561e2770cb7194483db6 | [] | no_license | m-irigoyen/pages | 63b1daca8bc2a5312b976ca04ecab1cf07180fe2 | aa3a5392475abfa45b9a91b4af91a6026636f668 | refs/heads/master | 2021-07-09T17:39:58.898016 | 2017-10-08T21:56:57 | 2017-10-08T21:56:57 | 106,085,175 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,310 | cpp | #include "choicebutton.hpp"
#include <sfmlutils/colorutils.hpp>
namespace pages
{
ChoiceButton::ChoiceButton()
: sfmltemplate::ShapeShifterPushButtonNode(Flags::SHAPE | Flags::TEXT, Shape::Rectangle)
, hoverColor_(0.7f, 0.7f, 0.7f, 0.2f)
, restColor_(0.8f, 0.8f, 0.8f, 0.2f)
, selectedColor_(0.9f, 0.9f, 0.9f,... | [
"milan.irigoyen@gmail.com"
] | milan.irigoyen@gmail.com |
fa343fe685a970b1f571a72568a73b6fe4d329fa | ab7a31ccbd1303aa09b35c4b597544d573f1a510 | /src/automatiny.cpp | bed02a5c8b91ce3c2c90a6b69f331d90c1deb7e0 | [] | no_license | peppergeist/automatiny | b827d90fcf7af42603a24cd4cac09238eadc2b47 | 729cc17be19ff6797b1273ff8aad28cafaa6aabc | refs/heads/master | 2020-03-17T22:29:39.881403 | 2018-05-19T23:57:23 | 2018-05-19T23:57:23 | 134,005,872 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 162 | cpp | /**
* \file automatiny.cpp
*/
#include <stdio.h>
int main(int argc, char *argv[])
{
printf("Hello world!");
printf("\n");
return 0;
}
| [
"coltonwms@icloud.com"
] | coltonwms@icloud.com |
c0494048e8133735673b367c5884a975339bffa3 | c7d4d31e26e4ee4a13f21050fc8a96005b1a2a24 | /ABC058/C.cpp | 8a417d1e07842394d87a6096fd573829348d07d8 | [] | no_license | motacapla/ProgrammingContest-Atcoder-etc- | c26840bf435159ed46c44b3ec37f0ad6e4a722e5 | a647b9656b1656ce7da73f8e66a54d353765717b | refs/heads/master | 2021-10-28T06:25:40.276550 | 2021-10-23T11:29:37 | 2021-10-23T11:29:37 | 141,571,371 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,634 | cpp | //#include <bits/stdc++.h>
#include <iostream>
#include <complex>
#include <sstream>
#include <string>
#include <algorithm>
#include <deque>
#include <list>
#include <map>
#include <numeric>
#include <queue>
#include <vector>
#include <set>
#include <limits>
#include <cstdio>
#include <cctype>
#include <cmath>
#include... | [
"tikeda@IN6-MAC-tikeda.local"
] | tikeda@IN6-MAC-tikeda.local |
6020511a056d06afa904db66c57c771b9fcac55d | 59c3ca6bd5a98e792860e62d1f9961814d6c3282 | /Week_01/G20200343040109/leetcode_189_0109.cpp | 7121cad75a7105ca87bd9d73b4b384f2fa47c132 | [] | no_license | hongxchen/algorithm007-class01 | 241991b7112d000da7fe9e255189b766349162fd | 24b0f94d37220b434aae7e4e7df814246ececf35 | refs/heads/master | 2021-04-02T11:21:24.248439 | 2020-06-02T06:55:08 | 2020-06-02T06:55:08 | 248,269,605 | 0 | 0 | null | 2020-03-18T15:26:58 | 2020-03-18T15:26:57 | null | UTF-8 | C++ | false | false | 1,436 | cpp | //leetcode_189_0109.cpp
//旋转数组
#include <iostream>
#include <vector>
#include <algorithm>
void rotate(std::vector<int>& nums, int k)
{
int nsize = nums.size();
//方法1:一个个移动,时间复杂度O(n),空间复杂度O(1)
if(k % nsize)
{
int nMove = k % nsize;
for(int n = 0; n < nMove; ++n)
... | [
"yfctgpfxf@sina.com"
] | yfctgpfxf@sina.com |
3747000f073e75409a98c4eb94b77fffe76ee0f6 | baeecdbb529e81365fb3ed7fece1267394c2012e | /IndependentSet/test.cpp | a8ff0f51654be143e3213235266fcafe81d40290 | [] | no_license | ikn-lab/EnumerationAlgorithms | 7a119923211e1b27bf5c886a7bf8094bead2faf7 | 1e7ee634583a93d8e86c1c1a857952a898dbc71b | refs/heads/master | 2020-12-24T19:51:25.409974 | 2019-04-25T13:33:37 | 2019-04-25T13:33:37 | 86,220,950 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,859 | cpp | ////////////////////////////////////////
/* */
/* Enumeration of independnet set */
/* O(1) time per solution */
/* constraint: \omega(G) is constant */
/* kurita */
/* */
/////////////////////////////////... | [
"chocobaby.aporo@gmail.com"
] | chocobaby.aporo@gmail.com |
89939f5bd20e111fe2712aebc4dd2d8127988493 | 9cae86c820f6e2e05cb6a7ebc5218f4a9891c68e | /server/server/dreamheroes_server-master/gameserver/gate_manager.h | 69ad532eaa34341bda11fbb8773b98a7d61e0662 | [] | no_license | kingstop/HardwareServer | aa4c061c408c01b274440db71c22377e0f92c42c | 53ace8c689f3eea734578669b1ef6b7fdb8c91ea | refs/heads/master | 2021-01-17T06:33:18.342357 | 2016-08-04T10:54:31 | 2016-08-04T10:54:31 | 64,917,148 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 813 | h | #ifndef __gate_manager_h__
#define __gate_manager_h__
class GateSession ;
class Session;
class GateManager : public EventableObject
{
public:
GateManager();
~GateManager();
bool addGate(u16 nId, GateSession* pkGate);
void removeGate(GateSession* pkGate);
Session* getUser(tran_id_type tranid);
Session* addUser(tra... | [
"kingstop@sina.com"
] | kingstop@sina.com |
0061331aaf8190833ea683c1621b5299278ccf80 | f9a2bb5fd471428f6c31617ab45dabb400c2ab6a | /bucketsort.cpp | dc58c0e9916ececf07834694cce0f99d076e34ed | [] | no_license | IMNG7/Concurrent_Lab1 | e91bf8b0c75af98624ead1b1f29ab767eec0cf2b | 6749c4212b265c44b36904ef7b18f9cad13069f7 | refs/heads/master | 2022-12-20T06:48:48.541107 | 2020-09-30T22:27:36 | 2020-09-30T22:27:36 | 298,194,585 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,278 | cpp | /*
FileName: bucket.cpp
Description:Contains the function definitions required to perform bucketsort operation on the given numbers.
Author: Nitik Gupta
References Used: For Bucket Sort Algorithm:
https://www.geeksforgeeks.org/bucket-sort-2/
*/
#include <iostream>
#include <vector>
#include <mutex>
#include <... | [
"nigu8044@colorado.edu"
] | nigu8044@colorado.edu |
8644a95a515aac2b5ffe4923abd0019727f9bcc7 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5695413893988352_0/C++/YeskendirSultanov/b.cpp | 9e6dd36a4f804ff313763b3327096af1b46df0cd | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 2,486 | cpp | #include <algorithm>
#include <iostream>
#include <vector>
#include <cstdio>
#include <string>
#include <queue>
#include <stack>
#include <cmath>
#include <set>
#include <map>
#define ll long long
#define f first
#define s second
#define mp make_pair
#define pb push_back
using namespace std;
int T, ... | [
"alexandra1.back@gmail.com"
] | alexandra1.back@gmail.com |
7d52d9101e2833c39c99f794749b6152d87f516c | b9eb73aecdbd71dfebad4d384fbe51a807588deb | /DataContainers/Forward_list/main.cpp | 269e1c3ecfc77b5362af53d1801d9bf4ef33ed16 | [] | no_license | DashiBD011/OOP_CPP | f199cff3c2d1b251e167ec87476452959321c181 | afbc063176aaef575a1dc23fa69d95d5024f3523 | refs/heads/master | 2023-07-17T03:54:41.710698 | 2021-08-20T16:01:26 | 2021-08-20T16:01:26 | 348,753,577 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,807 | cpp | #include<iostream>
using namespace std;
#define tab "\t"
#define delimeter "\n-----------------------------------------------------\n"
class Element
{
int Data; // Значение элемента
Element* pNext; // Указатель на следующий элемент
static int count;
public:
Element(int Data, Element* pNext = nullptr) :... | [
"Bato_gt05@itstepru.onmicrosoft.com"
] | Bato_gt05@itstepru.onmicrosoft.com |
6a7e6ed55cbbe920d39b02cedfbd2d9ecffb2180 | 0aec4b2dfc30829c475102a20458d43fa2a67325 | /Laboratorio/02/sources/root_comparison/UT/include/root_UT_testbench.hh | 196f8a098a6127c9d4b704997b84f37094b2f70a | [] | no_license | FilippoNevi/EISD | f80e78b057fbb796294daa77ee516933f583b73e | 0f350ed1b73b15e5e72beeb1510bca192d855a55 | refs/heads/main | 2023-06-12T19:44:31.924021 | 2021-07-05T16:14:37 | 2021-07-05T16:14:37 | 334,434,156 | 0 | 0 | null | 2021-07-02T16:02:49 | 2021-01-30T14:37:58 | VHDL | UTF-8 | C++ | false | false | 595 | hh | #ifndef _root_UT_TESTBENCH_H_
#define _root_UT_TESTBENCH_H_
#include <systemc.h>
#include <tlm.h>
#include "define_UT.hh"
class root_UT_testbench
: public sc_module
, public virtual tlm::tlm_bw_transport_if<>
{
private:
SC_HAS_PROCESS(root_UT_testbench);
virtual void invalidate_direct_mem_ptr(uint64 start_... | [
"filippo.nevi.1@gmail.com"
] | filippo.nevi.1@gmail.com |
52af2962ee527773dae0a3dc0e06ec2cb796d4b6 | 5bcb821eb8afbc0bb20b20e2b4391f96eab69bdd | /exercise/ipd13a-4.hxx | 0acb3b7d54f7abe5947479e47dcc0b90f1b7be3c | [] | no_license | nu-ipd/ipd13a | d80157bf76c3520109007e8fc58dec9473a0c676 | 6a397a1e5c43da7c52ca7f96aa879855eb4f26e9 | refs/heads/master | 2023-01-08T21:59:28.131618 | 2020-11-05T23:26:05 | 2020-11-05T23:26:05 | 306,994,609 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,441 | hxx | #pragma once
#include <vector>
namespace ipd
{
// A shorter name for a long-ish type name:
using Int_vec = std::vector<int>;
// Replaces each element of the given vector with the prefix sum up to
// and including itself.
//
// Example:
//
// Int_vec v {1, 2, 3, 5, 7};
// sum_prefixes(v);
// CHECK( v =... | [
"jesse.tov@gmail.com"
] | jesse.tov@gmail.com |
e20b4b7312534a207c6b9142f371a3d243e1c930 | e50e5cf22c9d9a29b856798095c816b889eb7571 | /simple.multifit.cc | 16d99883bd7bccfb896e2ab81c13755ad77dc0fa | [] | no_license | amassiro/AdvancedMultifit | c958afc35f482dca65a525405bc1abaf814b420e | 8e1fb7b59888a92f8db80d7681e34142bef1186c | refs/heads/master | 2021-01-11T05:35:12.466350 | 2018-09-04T15:32:53 | 2018-09-04T15:32:53 | 71,792,072 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 18,085 | cc | //
// MultiFit amplitude reconstruction
// To run:
// g++ -o simple.multifit.exe simple.multifit.cc PulseChiSqSNNLS.cc -std=c++11 `root-config --cflags --glibs`
//
#include <iostream>
#include "PulseChiSqSNNLS.h"
#include "Pulse.h"
#include "TTree.h"
#include "TF1.h"
#include "TProfile.h"
#include "TH2.h"
#include "T... | [
"massironi.andrea@gmail.com"
] | massironi.andrea@gmail.com |
cd82013a04684e212a1a19c8f7a27aff45c9da18 | 15b84964763f0e88f114812aa3ee654263a59025 | /HeadFirstDesignPatterns/Iterator/DinerMerger/StaticMenuItem.cpp | fa3db7c116be6b43763f6b567b41d0ecf9e3072d | [] | no_license | RussDHill/hfdp-cpp | a0524248fcf90dba06ff4e106ac315f9080b5826 | 2459c3e4564531184123256049d9b5515ce451a9 | refs/heads/master | 2021-01-10T15:29:07.353612 | 2020-08-29T13:02:43 | 2020-08-29T13:02:43 | 46,441,962 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 749 | cpp | #include "stdafx.h"
#include "MenuItem.h"
int MenuItem::size = 0;
MenuItem::MenuItem(string name, string description, bool vegetarian, double price)
:name(name), description(description), vegetarian(vegetarian), price(price)
{
}
MenuItem::MenuItem()
{
}
MenuItem::~MenuItem()
{
}
string MenuItem::getName() {
r... | [
"russhill@eircom.net"
] | russhill@eircom.net |
1c3be3e76b8304088701992e6053fbd87bb05652 | 16288c0fb3a712150c715ddd0c9843e75f69034b | /cpp04/ex03/srcs/Character.cpp | 37347315f28c0e0c9e236420bba5cbbd36d0c5a8 | [] | no_license | brian-xu-vlt/42_CPP_PISCINE | 3c6cb8ce224e53335b3e53cd24c97dc867c2d9f0 | bda1f5834649e50012d0153c3cdd28769280fc9d | refs/heads/main | 2023-02-25T23:17:43.176521 | 2021-02-03T07:12:22 | 2021-02-03T07:12:22 | 323,266,501 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,956 | cpp | # include "Character.hpp"
/*
** ------------------------------- CONSTRUCTOR --------------------------------
*/
Character::Character( std::string name ) : _name(name) {
for (size_t i = 0; i < Character::_inventorySize; i++)
this->_inventory[i] = NULL;
}
/*
** ------------------------------- COPY CTOR ----------... | [
"bvalette@student.42.fr"
] | bvalette@student.42.fr |
07511c25dc8fc02fb9ac2e11947198652f09bbb5 | 3fd592b8c2a8cba48d1f95500e5979ebea8146be | /QCustomModelViewLib/QComboxDelegate.cpp | bdc3764aece9179610f5bf0613534452ec5fb475 | [] | no_license | wkqCatch/universalLib | a9f69e9df57acc527dca2a9987c136bc139b76f5 | d53a5ca33c86e0d75b826bde15ad285fa1902a49 | refs/heads/master | 2020-08-09T08:57:37.049953 | 2020-03-06T12:58:17 | 2020-03-06T12:58:17 | 214,053,158 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,727 | cpp | #include "QComboxDelegate.h"
#include <QStyledItemDelegate>
QComboxDelegate::QComboxDelegate(QObject *parent)
: QStyledItemDelegate(parent)
{
}
QComboxDelegate::~QComboxDelegate()
{
}
QWidget * QComboxDelegate::createEditor(QWidget * parent, const QStyleOptionViewItem & option, const QModelIndex & index) const
{... | [
"1104992760@qq.com"
] | 1104992760@qq.com |
74886d2ce0de36268f8aa9aa4bf823a96127126f | 8532c19a38aab7a3a9f4a73a097613d59af31f7a | /Enchantment.cc | eaa81463b59ce5f4a10acda7cd95201734601dcf | [] | no_license | a879120315/Sorcery | 9b7da4a8c19c741bf79bdb611b874339faee2741 | 9866211268f2792b536276c16baeab31d75fe0b6 | refs/heads/master | 2020-04-30T20:05:18.346700 | 2018-12-03T18:53:55 | 2018-12-03T18:53:55 | 175,076,108 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,283 | cc | //
// Created by jason on 2018-11-20.
//
#include "Enchantment.h"
#include "Minion.h"
#include <iostream>
Enchantment::Enchantment(int cost, std::string att, std::string def, std::string name, std::string description, bool hasAttDef)
: Card(cost, name, description),hasAttDef{hasAttDef}, att{att}, def{def} {
}... | [
"jasonlzc2017@gmail.com"
] | jasonlzc2017@gmail.com |
433b31d0d6728392402443cc4b8c2310363c47a9 | 2d743169a19328de3a1e2209d338ee00a97e1eb8 | /src/cropeditor/drawing/arrowitem.hpp | c43be3f10445a3f6b260814bbe0942dbad12fecd | [
"MIT"
] | permissive | Gurkengewuerz/KShare | c3a5a76e9cecdbef3760c50b488ebb3c01eb1509 | befc5e5446fde1c2c4c0e3cbed4c89254a5fc0d2 | refs/heads/master | 2021-07-25T19:47:52.548625 | 2020-06-05T13:51:58 | 2020-06-05T13:51:58 | 185,391,751 | 17 | 3 | MIT | 2020-06-05T13:52:00 | 2019-05-07T11:54:48 | C++ | UTF-8 | C++ | false | false | 478 | hpp | #ifndef ARROWITEM_HPP
#define ARROWITEM_HPP
#include "drawitem.hpp"
class ArrowItem : public DrawItem {
public:
ArrowItem() {
}
QString name() override {
return "Arrow";
}
void mouseDragEvent(QGraphicsSceneMouseEvent *, CropScene *scene) override;
void mouseDragEndEvent(QGraphicsScene... | [
"ArsenArsen@users.noreply.github.com"
] | ArsenArsen@users.noreply.github.com |
4933341d26f1f907a01a5e4eea4b601a8469e08c | d34960c2d9a84ad0639005b86d79b3a0553292ab | /boost/boost/type_traits/is_float.hpp | 3ef460987917b5686b373aae592b61fcc51965b6 | [
"BSL-1.0",
"Apache-2.0"
] | permissive | tonystone/geofeatures | 413c13ebd47ee6676196399d47f5e23ba5345287 | 25aca530a9140b3f259e9ee0833c93522e83a697 | refs/heads/master | 2020-04-09T12:44:36.472701 | 2019-03-17T01:37:55 | 2019-03-17T01:37:55 | 41,232,751 | 28 | 9 | NOASSERTION | 2019-03-17T01:37:56 | 2015-08-23T02:35:40 | C++ | UTF-8 | C++ | false | false | 1,089 | hpp |
// (C) Copyright Steve Cleary, Beman Dawes, Howard Hinnant & John Maddock 2000.
// Use, modification and distribution are subject to the Boost Software License,
// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt).
//
// See http://www.boost.org/libs/type_trai... | [
"tony@mobilegridinc.com"
] | tony@mobilegridinc.com |
655155e4f9cee05c14e975bccd543adcd1f4246a | bb285e1849703530e40bfa39109d440b80b9cc88 | /0023_Merge_K_Sorted_Lists/Solution.cpp | 4b80f44373f4443c9760c52121d5fb61363a9aa1 | [] | no_license | kkoala0864/LeetCode | 43fe84a63af1605a3034b072f4cd26683af1fd85 | 386f8f17a5507f3940ad1621fd36d2ae98950727 | refs/heads/master | 2023-07-14T12:49:04.735378 | 2021-08-15T08:17:04 | 2021-08-15T08:17:04 | 33,233,776 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,332 | cpp | #include <Solution.h>
#include <iostream>
#include <queue>
using namespace std;
void print(ListNode* input) {
while (input) {
cout << input->val << " ";
input = input->next;
}
cout << endl;
}
ListNode* Solution::mergeKLists(vector<ListNode*>& lists) {
if (lists.empty()) return nullptr;
queue<Lis... | [
"neilhuang@synology.com"
] | neilhuang@synology.com |
d062bb75a1464ec1ed11f002e3b9a1877d4f201f | de74af41eaec84c9e86d97034e626ef00a6b2c9e | /rocket-shooter-android/jni/src/Ship.cpp | a7dd91eb460a6faef2bacca5e6c389e23d04f529 | [
"MIT"
] | permissive | Azure-poobalan/Space-Game | 70a8fd0f29c98b7557c41b29aef198e456147d82 | de064b374ca910a97abcfba3433c8b41ae0be3dd | refs/heads/master | 2021-12-06T05:54:56.062907 | 2015-10-09T10:42:33 | 2015-10-09T10:42:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21 | cpp | ../../../src/Ship.cpp | [
"dan.finnegan@somethinelse.com"
] | dan.finnegan@somethinelse.com |
d1764211e0a828189993cd846614ef29bfe04306 | ea7f5968513fea3331cb4c7c87e5e397d610541b | /thePerv/Round95/q5.cpp | 756f0cb8973fd122d9c7378d3e8e7c902b880415 | [] | no_license | uWaterloo-IEEE-StudentBranch/CodeForces | 7210c2cf6eed3f5b8e4257d8f490d35f213338b7 | 8e8594938daa4ef94b4705e993dc5ef69992df94 | refs/heads/master | 2021-01-01T06:38:17.575923 | 2012-05-28T13:14:19 | 2012-05-28T13:14:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,332 | cpp | #include <iostream>
#include <vector>
#include <algorithm>
#include <cstdio>
#include <cstdlib>
#include <string>
#include <fstream>
#include <cmath>
#include <iomanip>
#include <set>
#include <map>
#include <queue>
using namespace std;
int main(int argc, char const* argv[]){
int dx[] = {0,1,1,1,0,-1,-1,-1};
... | [
"Cong.Wang@live.com"
] | Cong.Wang@live.com |
4348e5b7625e52f2efdd98c067b14173f4781ce0 | cfee8d64efaf907df32e56e41801d851b656764c | /modules/gpu/perf_cpu/perf_imgproc.cpp | 9a1adde81090fb1e2e80624c98c2951058873629 | [] | no_license | jkammerl/opencv | edf96c61bc88ed228ecd2e5925a4434c7906da78 | 27c2aa3a4ed54b4dfc391f441e0e071a9253e62d | refs/heads/master | 2020-11-30T16:22:08.806574 | 2012-08-02T12:25:30 | 2012-08-02T12:25:30 | 5,273,790 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 22,175 | cpp | #include "perf_cpu_precomp.hpp"
#ifdef HAVE_CUDA
//////////////////////////////////////////////////////////////////////
// Remap
GPU_PERF_TEST(Remap, cv::gpu::DeviceInfo, cv::Size, MatType, Interpolation, BorderMode)
{
cv::Size size = GET_PARAM(1);
int type = GET_PARAM(2);
int interpolation = ... | [
"no@email"
] | no@email |
6b8f2cde586c343d823ebae2ff3bf3ad68c3697c | 1be0c003cd2908e3d0151385b2d1991c0419a2da | /include/kernel/pic.h | b8b09d6a757811f5f2b5f39a9806900fe0d0295e | [] | no_license | Insecurity-plan15/bombela-microkernel | 6df19ff9010b4e582908dc2cdfbd82fa71c411af | b5f412dcf70a670b2a5f450749db203cfaad2481 | refs/heads/master | 2021-01-12T19:59:54.417881 | 2011-02-19T13:00:51 | 2011-02-19T13:00:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,895 | h | /*
* pic.h
* Copyright © 2010, Alexandre Gau <gau.alexandre@gmail.com>
* Copyright © 2011, François-Xavier 'Bombela' Bourlet <bombela@gmail.com>
*
*/
#pragma once
#ifndef PIC_H
#define PIC_H
#include <kernel/types.h>
#include <kernel/ioports.h>
#include KERNEL_PIC_DEBUG
#include KERNEL_PIC_CHECK
namespace kerne... | [
"bombela@gmail.com"
] | bombela@gmail.com |
87dd0b69951fe61488efda28f8219b3753ec7719 | 4ccf45302ca0976de024006536b23899cd136835 | /C++/Class1_A.hpp | ea370fe831828b7a550e69dc0e70040d2f4db844 | [] | no_license | goeb/reference | ac593e40769bb9dc48a666308fce129243d42c64 | fbdf0b961d4209652b1d6e0c7cbf022dbacc9ee0 | refs/heads/master | 2023-06-26T13:22:12.852398 | 2023-06-13T19:46:57 | 2023-06-13T19:46:57 | 13,687,825 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 21 | hpp |
typdef int intFred;
| [
"fred@fred1"
] | fred@fred1 |
a1d8b3bc451f48d769edca9bea37cbc5704f91fd | 0c705398ad8c1ad67de3185aae926f187ba3ae77 | /PROJECT/test/gameobject.h | a8bc039e4797d4987c66f51abae27ac8cb20c28d | [] | no_license | qldrnjs2001/cs2018 | ba22dd1f2876a66813b4d4347de1e69cb9dc643b | 5484789d3c9589e2a93f2d0d4fd0fe362673a94a | refs/heads/master | 2021-09-25T22:41:05.623500 | 2018-07-20T07:12:48 | 2018-07-20T07:12:48 | 138,545,533 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,934 | h | #pragma once
namespace cs2018prj
{
struct S_GAMEOBJECT
{
double m_dbSpeed;
irr::core::vector2df m_vPos;
double m_dbAngle;
double m_dbWorkTick;
void *m_pWeapon;
tge_sprite::S_SPRITE_OBJECT *m_pSprite;
irr::core::vector2df m_translation;
int m_nFSM;
int m_rnd;
bool m_bActive;
void *m_pTarget;
... | [
"qldrnjs2001@gmail.com"
] | qldrnjs2001@gmail.com |
18acedd2998347ef28c65d6f4300b076594214b2 | 89dedd7f3c7acc81d12e2bcb2e716f9af9e5fa04 | /media/renderers/skcanvas_video_renderer.h | ff2a9195db5d7dc22fe4b44526642c27f735d119 | [
"BSD-3-Clause"
] | permissive | bino7/chromium | 8d26f84a1b6e38a73d1b97fea6057c634eff68cb | 4666a6bb6fdcb1114afecf77bdaa239d9787b752 | refs/heads/master | 2022-12-22T14:31:53.913081 | 2016-09-06T10:05:11 | 2016-09-06T10:05:11 | 67,410,510 | 1 | 3 | BSD-3-Clause | 2022-12-17T03:08:52 | 2016-09-05T10:11:59 | null | UTF-8 | C++ | false | false | 4,628 | h | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef MEDIA_RENDERERS_SKCANVAS_VIDEO_RENDERER_H_
#define MEDIA_RENDERERS_SKCANVAS_VIDEO_RENDERER_H_
#include <stddef.h>
#include <stdint.h>
#inclu... | [
"bino.zh@gmail.com"
] | bino.zh@gmail.com |
bd96faad68585fa078758fc56f3093b1ba881aef | 9a369ace9dd8fc47c132b32aec4e50d4a606aaf4 | /Pytorch/torchscript.cpp | 0b25783725099b27b96f0fc8d706a6cc9b1a0958 | [] | no_license | LokeshBonta/Academic-Projects | 602cc59029fb3e243fda789df897a271096483d3 | eb6af97b7e225f4e0d6d8b81b142af58a44bdbc9 | refs/heads/master | 2022-10-03T21:05:13.797498 | 2022-09-17T17:00:11 | 2022-09-17T17:00:11 | 227,907,465 | 0 | 0 | null | 2020-07-28T15:02:23 | 2019-12-13T19:21:41 | Jupyter Notebook | UTF-8 | C++ | false | false | 872 | cpp | #include <torch/script.h> // One-stop header.
#include <iostream>
#include <memory>
int main(int argc, const char* argv[]) {
if (argc != 2) {
std::cerr << "usage: example-app <path-to-exported-script-module>\n";
return -1;
}
torch::jit::script::Module module;
try {
// Deserialize the ScriptModul... | [
"lokeshpsn93@gmail.com"
] | lokeshpsn93@gmail.com |
531913273e42994bc7019d7968e8564e747dfe3a | 4d14eacf69f9f43b106ac6acc4968cf86c1447ed | /C++ Ess/Chapter2/Lab 2.3/lab 2.3.9.cpp | ecabf49f71eb8ced7813626b2a484fb351f5c2bb | [] | no_license | lizakrishen/Practice-2017-2018 | 9baf77ffee4dd3b6880fdb41ce3c21cfe1d4087c | 4e25ea817f800f4c72f867e35398e7326676b549 | refs/heads/master | 2021-08-31T00:22:03.162679 | 2017-12-20T00:17:33 | 2017-12-20T00:17:33 | 111,195,992 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 279 | cpp | #include <iostream>
using namespace std;
int main() {
long value = 1;
int number = -1;
do
{
cout << "Please enter the odd value > 1";
cin >> number;
cout << "\n";
}
while (number < 1 || number % 2 == 0);
cout << number * number - 2 * number + 2;
return 0;
} | [
"miss.krishen80@gmail.com"
] | miss.krishen80@gmail.com |
cec7c84de8cd86e4f568797d3035b26662cac5bb | 3b576d1928bccef56ddf0be455f99800db244e92 | /template.cpp | 0bee3d7b7fe9cbca87a94d97ba1b7c18a54e42ed | [] | no_license | cRYP70n-13/Data_structures-and-Algorithms | 3c843698f5cb1cf2555ac24d1f4b7eaec713db4e | d7a20ef68b319c82a127aa23da39fdf36ef06d9d | refs/heads/master | 2022-04-20T15:55:48.390984 | 2020-04-16T20:23:33 | 2020-04-16T20:23:33 | 253,341,533 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,003 | cpp | #include <iostream>
#include <iomanip>
#include <algorithm>
#include <queue>
#include <stack>
#include <string>
#include <vector>
#include <cmath>
#include <map>
#include <set>
#include <string.h>
#include <stdlib.h>
using namespace std;
// vector push_back push front top empty pop make_pair long long insert begin end... | [
"otmane.kimdil@gmail.com"
] | otmane.kimdil@gmail.com |
af1a83baa27a618fd5faaf1d79dd226faca0cbe6 | 6e6d8644e3cfa48a90cc6108a193e4f808ef81cc | /binarySearch.cpp | 59f097ab1bd10da1506bc322c96fcb258fda4d4b | [] | no_license | shubh13/Cpp | ee77f31f1f721de50f2051b38f44f1cc7234465b | 69408a734fe95a6661b8d0c6a2b1d33f00a5c472 | refs/heads/master | 2023-03-09T02:54:15.088115 | 2021-03-04T04:21:08 | 2021-03-04T04:21:08 | 343,279,713 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 138 | cpp | #include<iostream>
using namespace std;
int main(int argc, char const *argv[])
{
/* code for binary search in C++*/
return 0;
}
| [
"shubhadeepdasgupta2013@gmail.com"
] | shubhadeepdasgupta2013@gmail.com |
f5bc88207fbe345df684826fda4ced164a3b3e7e | 8c20db410f711a6518984bf18a7e4ff5f672eb50 | /NeuralNetwork/tutorial1/src/Neuron.cpp | 35426951ebad900864ca4adcab29f6707fe0271b | [] | no_license | Proothean/VSCode | f2ee5950e4b7c4a0bec34cc18bb410e6fa41538d | 6b8c02e891ff9ee0c64e546d1916f3597e9fc415 | refs/heads/master | 2020-07-26T05:19:19.868969 | 2019-09-18T09:12:32 | 2019-09-18T09:12:32 | 208,547,067 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 184 | cpp | #include <iostream>
//#include "../inc/Neuron.hpp"
#include "Neuron.hpp"
#include <cmath>
using namespace std;
/*
Separate compilation could make trouble, so neglect this file
*/
| [
"prothean916@gmail.com"
] | prothean916@gmail.com |
767aa2a861bdfa120cf57a8cdb5b0d478b14264f | a4991e5031ebd0f0a2c1212f6480983512234aa9 | /examples/UBLOX_example/UBLOX_example.ino | f5717b8f7162eac387efec5320bc2356efc8f27e | [
"MIT"
] | permissive | Salmon-Built-Designs/ublox-arduino | 189922544fbe7852602ffcc79fc2c892bfb9ff1d | 1a62c097c80bb1df523982b7c10e752c23567e24 | refs/heads/main | 2023-03-03T14:16:23.295474 | 2021-02-15T21:18:42 | 2021-02-15T21:18:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,788 | ino | /*
* Brian R Taylor
* brian.taylor@bolderflight.com
*
* Copyright (c) 2021 Bolder Flight Systems Inc
*
* 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 ... | [
"brian.taylor@bolderflight.com"
] | brian.taylor@bolderflight.com |
8af7b58a44677edf13c6ac19bb0a973c57fd974c | 5afb4286dba1bc9a43894e046c6367dbaee82cd6 | /MemoryTest/MemoryTest/MemoryTest.cpp | 94fbf33026ad3c91ebf04b59558f539200df04c1 | [] | no_license | philipchang/Cplusplus | 524cdcc6ee819ac7f526f674e964fab2ae539f44 | 5160de5e4b2c7ded1d1282f21bb063b8ec90fe25 | refs/heads/master | 2020-12-11T19:54:30.275575 | 2016-08-26T08:08:40 | 2016-08-26T08:08:40 | 53,122,641 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 5,760 | cpp | // MemoryTest.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include "GeoImage.h"
#include <stdexcept>
#include <stdio.h>
#include <cstdlib>
#include "CObj.h"
#include "CLog.h"
#include "CRect.h"
//引用头文件
#include "debug_new.h"
#include <string>
void test1()
{
int* p = debug_new i... | [
"cgysir@126.com"
] | cgysir@126.com |
c8250994bb8541ba4b0a65f7149cb3f490dfda3c | d0d4b45211dc67d06e4a0aa5aaf300f413e65d6b | /src/ino/util.h | 29c5ead9bdab17fc3c6920616783e5aaf88f26f0 | [] | no_license | inotai/ino-node-ui | de007eb93b2fc4527d219235aa0e4bce889cfaa7 | 7c88f19750f1e107ab1eabe5c310f8aa32ea3b7e | refs/heads/master | 2021-01-10T10:21:32.264573 | 2013-02-28T13:43:19 | 2013-02-28T13:43:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 467 | h | #ifndef __INO_UTIL_H__
#define __INO_UTIL_H__
namespace ino {
struct util
{
static std::wstring format(const wchar_t* fmt, ...)
{
int size = 80;
std::wstring ret;
ret.resize(size);
va_list vl;
va_start(vl, fmt);
int size_n = _vsnwprintf(&ret[0], size, fmt, vl);
if (size <= size_n)
{
... | [
"martin.balazik@gmail.com"
] | martin.balazik@gmail.com |
b08d48da6078e59529be075aa7ae2d69bdbbc7e5 | 56f534694525d8dc665c1c182496719f5ff3cc51 | /standalone/multicamera/addons/ofxTSPS/src/ofxTSPSPeopleTracker.cpp | b49e136fe652a322eb8df2c59478662539442aed | [] | no_license | sgilroy/openTSPS | 631fd0ca33e779d4f529def1188c06f54fa63de8 | 05d1406dad2e68033a23de497f0bc9ad88ff77bd | refs/heads/master | 2021-01-18T10:57:18.173676 | 2012-03-31T21:09:49 | 2012-03-31T21:09:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 41,820 | cpp |
#include "ofxTSPSPeopleTracker.h"
#include "CPUImageFilter.h"
//scales down tracking images for improved performance
#define TRACKING_SCALE_FACTOR .5
//Fix for FMAX not in Visual Studio C++
#if defined _MSC_VER
#define fmax max
#define fmin min
#pragma warning (disable:4996)
#define snprintf sprintf_s
#endif
//----... | [
"brett@robotconscience.com"
] | brett@robotconscience.com |
144708aeb9777c38e60be1090b6f8eca1ed21ab2 | bb70e109b3441e60f3bb969e2951338659a5fa39 | /0/intersection_of_two_arrays.cpp | b8c042c122caeeb7aac895e17ff49d2ae9e22519 | [] | no_license | moyuanhuang/leetcode | d06d389725d6d7fd1e3bd3786a1325a48b0933a3 | ef052efcbcceb38e44fdd7cbcb6a7e6bd7ff8aa2 | refs/heads/master | 2020-09-19T20:38:29.891287 | 2019-02-13T04:55:06 | 2019-02-13T04:55:06 | 66,139,783 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 329 | cpp | class Solution {
public:
vector<int> intersection(vector<int>& nums1, vector<int>& nums2) {
unordered_set<int> uset(nums1.begin(), nums1.end());
vector<int> ret;
for(int n : nums2){
if(uset.count(n)){
ret.push_back(n);
uset.erase(n);
}
}
return ret;
... | [
"moyuanhuang@gmail.com"
] | moyuanhuang@gmail.com |
41651144ce333af86ea026dbad1621c96b2d7036 | 5456502f97627278cbd6e16d002d50f1de3da7bb | /storage/browser/fileapi/sandbox_quota_observer.cc | a2a26bb32fb6f183ad327b8de788e26d6a75b8b6 | [
"BSD-3-Clause"
] | permissive | TrellixVulnTeam/Chromium_7C66 | 72d108a413909eb3bd36c73a6c2f98de1573b6e5 | c8649ab2a0f5a747369ed50351209a42f59672ee | refs/heads/master | 2023-03-16T12:51:40.231959 | 2017-12-20T10:38:26 | 2017-12-20T10:38:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,834 | cc | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "storage/browser/fileapi/sandbox_quota_observer.h"
#include <stdint.h>
#include "base/sequenced_task_runner.h"
#include "storage/b... | [
"lixiaodonglove7@aliyun.com"
] | lixiaodonglove7@aliyun.com |
f09e4543e3ca856723701413c11b5567f9a94182 | a9481c2069749fd88f0772289e53804a212f617c | /QuadGS/Modules/dbgModule/src/dbgModule.cpp | 2f085a255b97f5f58e90647c2c585f88990cefd3 | [] | no_license | mlundh/QuadSys | a7e0527943505262733382093024e43aa553372e | 630a7ba17434d27cbc1b2e460035e0006651d1a0 | refs/heads/master | 2023-01-23T15:42:48.159595 | 2023-01-18T13:50:46 | 2023-01-18T13:50:46 | 164,338,347 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,007 | cpp | /*
* dbgModule.cpp
*
* Copyright (C) 2018 Martin Lundh
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, m... | [
"mlundh@gmail.com"
] | mlundh@gmail.com |
2f3ed7752c5605039e41ee153f53d625667a27c1 | db4d9954a6c095397d7f1de33cc32519dff6ef6c | /src/sais.hpp | ee24a53bdd7eef01688ecfb641bc97a28503a1fd | [
"BSD-3-Clause"
] | permissive | SebWouters/aiss4 | 3f890d1ac5cbb0710769c364ae79a50b39cce30a | f46ea04e573b77abec74459f018d32bd0bdc8865 | refs/heads/main | 2023-02-04T14:54:43.893368 | 2020-12-21T16:44:27 | 2020-12-21T16:44:27 | 323,388,885 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,075 | hpp | /*
aiss4: suffix array via induced sorting
Copyright (c) 2020, Sebastian Wouters
All rights reserved.
This file is part of aiss4, licensed under the BSD 3-Clause License.
A copy of the License can be found in the file LICENSE in the root
folder of this project.
*/
#pragma once
#include <stdi... | [
"sebastianwouters@gmail.com"
] | sebastianwouters@gmail.com |
ffedde0ddd6372d83c00eb3a10de028385aca107 | f6e28e7a1b2485b18d712fb092fea5fdeaa1d85c | /src/camera.cpp | 2f6e26b2521fcba55b420184f2ff5aaca44d8c82 | [] | no_license | eypidan/deformation_opengl | dba4676c076f83e9b3a7ac14614bebb9d055a6e9 | 043f605a508287f249d235a17ba09cc14870f5f1 | refs/heads/master | 2022-11-10T22:49:35.874839 | 2020-06-30T15:05:00 | 2020-06-30T15:05:00 | 262,209,820 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 460 | cpp | #include "pch.h"
double mouseX, mouseY;
glm::vec3 Camera::createRay() {
glm::mat4 view = this->GetViewMatrix();
glm::mat4 proj = this->GetPerspectiveMatrix();
glm::mat4 invVP = glm::inverse(proj * view);
double trueMouseY = SCR_HEIGHT / 1.0f - mouseY;
glm::vec4 screenPos = glm::vec4(mouseX, trueMo... | [
"eypidanh@163.com"
] | eypidanh@163.com |
a30a29fcb585b36c5e91d62f9c2e96ae3d6429a8 | a7914b450aeae015a24ba90e5ce60d41d5c592a9 | /SummerTraining/7.27 线性与区间dp/问题B Common Subsequence.cpp | ec9513f41077878c33c17cc802ca86b644a8bcf8 | [] | no_license | packbacker-s/CCode | 07eb157e0be7eade9d72807a508f4a9dee6eed90 | 4a2ac77352989f38c372671ac4e562aea7a25d96 | refs/heads/master | 2023-08-11T07:20:49.297388 | 2021-10-01T08:51:53 | 2021-10-01T08:51:53 | 412,320,148 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 574 | cpp | #include<iostream>
#include<cstring>
using namespace std;
string n,m,temp;
int main (){
while(cin >> n >> m){
if(n.size() < m.size()){
temp = n;
n = m;
m = temp;
}
int dp[n.size()+10][n.size()+10];
memset(dp ,0 ,sizeof dp);
int maxn = 0;
for(int i = 0; i < m.size();i++){
int k = i +1;
for(in... | [
"packbacker-s@163.com"
] | packbacker-s@163.com |
9903869b3943fb2b52b873e6635e6866f21561e3 | b0dd7779c225971e71ae12c1093dc75ed9889921 | /boost/fusion/include/make_tuple.hpp | 49b653edd0d6300ed7813f877599eaa2d935e528 | [
"BSL-1.0",
"LicenseRef-scancode-warranty-disclaimer"
] | permissive | blackberry/Boost | 6e653cd91a7806855a162347a5aeebd2a8c055a2 | fc90c3fde129c62565c023f091eddc4a7ed9902b | refs/heads/1_48_0-gnu | 2021-01-15T14:31:33.706351 | 2013-06-25T16:02:41 | 2013-06-25T16:02:41 | 2,599,411 | 244 | 154 | BSL-1.0 | 2018-10-13T18:35:09 | 2011-10-18T14:25:18 | C++ | UTF-8 | C++ | false | false | 500 | hpp | /*=============================================================================
Copyright (c) 2001-2007 Joel de Guzman
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
====================================... | [
"tvaneerd@rim.com"
] | tvaneerd@rim.com |
9cb57d6271a4d39346f2a1c0e0ed093271908c19 | 524591f2c4f760bc01c12fea3061833847a4ff9a | /arm/usr/include/Poco/Net/TCPServer.h | 49411d9c400560bceb079f1efebed899fc80e248 | [
"BSD-3-Clause"
] | permissive | Roboy/roboy_plexus | 6f78d45c52055d97159fd4d0ca8e0f32f1fbd07e | 1f3039edd24c059459563cb81d194326fe824905 | refs/heads/roboy3 | 2023-03-10T15:01:34.703853 | 2021-08-16T13:42:54 | 2021-08-16T13:42:54 | 101,666,005 | 2 | 4 | BSD-3-Clause | 2022-10-22T13:43:45 | 2017-08-28T16:53:52 | C++ | UTF-8 | C++ | false | false | 7,131 | h | //
// TCPServer.h
//
// $Id: //poco/1.3/Net/include/Poco/Net/TCPServer.h#4 $
//
// Library: Net
// Package: TCPServer
// Module: TCPServer
//
// Definition of the TCPServer class.
//
// Copyright (c) 2005-2006, Applied Informatics Software Engineering GmbH.
// and Contributors.
//
// Permission is hereby granted, free... | [
"simon.trendel@tum.de"
] | simon.trendel@tum.de |
d1a8c18efbaef36943e85ec82d03acb74845893a | 69de20a373be583f71b0ca6a15b01f4bf46353c3 | /Source/NS/NSProjectile.h | fdb6ad92901c2098227884c801ade005de37a563 | [] | no_license | AlvaroVV/ShooterUnreal | 32279108ad34d5091fc80c1f89e1c57b1c4e5c92 | ac244bc546e8f032bf62a0161368a2f560bea8c7 | refs/heads/master | 2021-05-06T02:39:22.445220 | 2021-03-19T17:13:29 | 2021-03-19T17:13:29 | 114,656,039 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,069 | h | // Copyright 1998-2016 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "GameFramework/Actor.h"
#include "NSProjectile.generated.h"
UCLASS(config=Game)
class ANSProjectile : public AActor
{
GENERATED_BODY()
/** Sphere collision component */
UPROPERTY(VisibleDefaultsOnly, Category=Projectile)
class USph... | [
"uo232635@uniovi.es"
] | uo232635@uniovi.es |
2fa4cd8a934d157a6ccffc4823791b8bbb92f5de | b212c52146f58909fca295ea6fb8a0b619a7fd00 | /queueexample3/queue.h | 48323256903acebb7cfe9b5690d5789937a4c195 | [] | no_license | Darkmind14/cs253 | 0df50d29fabd00ff3d36cd959326cda524416110 | f2c74fd14facdfba2f09b19c2ab277227cae1679 | refs/heads/master | 2016-08-13T01:06:20.460450 | 2015-12-15T23:26:29 | 2015-12-15T23:26:29 | 45,935,859 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 722 | h | #ifndef queue_h
#define queue_h
#include <vector>
using namespace std;
class EmptyQueueException {
public:
EmptyStringException(string);
string getMessage();
private:
string msg;
};
class Node {
public:
Node(int, Node*);
~Node();
Node* getNext();
int getData();
void setNext(... | [
"couger01@8270.local"
] | couger01@8270.local |
5002d0bbd5475ef59a6265f64f20492899d8e6fb | fb7efe44f4d9f30d623f880d0eb620f3a81f0fbd | /third_party/WebKit/Source/platform/text/UnicodeUtilities.h | c97cbe82afb7936c4a71139b59297f72928bbe73 | [
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MIT",
"Apache-2.0",
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-2.1-only",
"GPL-2.0-only",
"LGPL-2.0-only",
"BSD-2-Clause",
"LicenseRef-scancode-other-copyleft",
"BSD-3-Clause"
] | permissive | wzyy2/chromium-browser | 2644b0daf58f8b3caee8a6c09a2b448b2dfe059c | eb905f00a0f7e141e8d6c89be8fb26192a88c4b7 | refs/heads/master | 2022-11-23T20:25:08.120045 | 2018-01-16T06:41:26 | 2018-01-16T06:41:26 | 117,618,467 | 3 | 2 | BSD-3-Clause | 2022-11-20T22:03:57 | 2018-01-16T02:09:10 | null | UTF-8 | C++ | false | false | 2,730 | h | /*
* Copyright (C) 2004, 2006, 2009 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of ... | [
"jacob-chen@iotwrt.com"
] | jacob-chen@iotwrt.com |
48b3e1195e4cdff8a4716fa394de544933cabaa2 | ab0130f06d681dd6171c91b5851c8db383225ea3 | /cpp/MyClothingManagement/MyStack.cpp | 550d888fbdb05aa5d0f1cc4bb37e5676b3258a6c | [] | no_license | mborko/code-examples | 6750f316a26791863e08ac08dba8ae3ec00234d1 | 3ea2be6179f0ed3094c66da0259d021067eb00c2 | refs/heads/master | 2022-10-25T19:36:00.745573 | 2022-10-01T13:57:19 | 2022-10-01T13:57:19 | 43,496,571 | 0 | 13 | null | 2020-10-13T06:47:43 | 2015-10-01T13:00:24 | C | UTF-8 | C++ | false | false | 716 | cpp | #include "MyStack.h"
using namespace std;
MyStack::MyStack(void)
{
}
MyStack::~MyStack(void)
{
for(;lastindex>0;lastindex--)
minus();
}
int MyStack::lastindex=-1;
void MyStack::plus(string c)
{
if (c=="shirt"){
Clothing* temp = new Shirt();
elements.push_back(temp);
}
if (c=="jeans")
elements.push_back... | [
"michael.borko@tgm.ac.at"
] | michael.borko@tgm.ac.at |
288aa2379ab5bd3397b925e7e83722abbd921944 | df6bfd60ac6812d09d2a51be654ac215f45fe887 | /hit.h | 1495f772ed1a2473a8ec29b34b067936485d5197 | [] | no_license | seoyh0812/TeamLaunge | b4db82fa31364268713ec0c98d1ef68137a81228 | c8d5f9116e7eb4131703e4b720c5f40499ca0cd5 | refs/heads/master | 2023-03-29T07:04:45.689621 | 2021-03-18T13:37:14 | 2021-03-18T13:37:14 | 325,739,522 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 177 | h | #pragma once
#include "STATE.h"
class player;
class hit : public STATE
{
private:
int count;
public:
void EnterState();
void updateState();
void ExitState();
};
| [
"maiyang1874@gmail.com"
] | maiyang1874@gmail.com |
81a88c043f10f25aee472f40e0fac541d40b778a | 9f5242ec43c65ba0d032044cf655723a77ddc689 | /src/rpcprotocol.cpp | 2681dd4d653d557e78d39ef799179df1dc67bdf2 | [
"MIT"
] | permissive | TScoin/Transend | 22bb1691dc9b86ca7b9ceb4d9dd1be23eae29e7f | 6f8f75dbba962dfe9fc9d85b79cebf20625f871d | refs/heads/master | 2021-01-25T13:28:20.681340 | 2018-10-04T22:45:40 | 2018-10-04T22:45:40 | 123,572,575 | 14 | 8 | MIT | 2018-03-14T19:50:15 | 2018-03-02T11:43:38 | C++ | UTF-8 | C++ | false | false | 9,172 | cpp | // Copyright (c) 2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The PIVX developers
// Copyright (c) 2017-2018 The Transend developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or... | [
"detroit_dentist@transendcoin.com"
] | detroit_dentist@transendcoin.com |
887428b911b1e55aee9de646986d579cbc1918b3 | 04621baa46a8b2851936f5c32d3e0c372d850ee6 | /lab14/lab14/lab14/Hash.cpp | 29c9b43a09d3a71d9e5b72b876b7d4e376b6d11f | [] | no_license | Arcuman/Basics-of-Algorithmization | 08e0cd865dee435bb90093bfb51a2203fbc60cc4 | 262ae62eb96ad575b591da0519cc4858b39e5295 | refs/heads/master | 2021-01-15T01:33:07.608082 | 2020-02-24T20:38:56 | 2020-02-24T20:38:56 | 242,828,564 | 1 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 3,462 | cpp | #include "pch.h"
#include "Hash.h"
#include <iostream>
int HashFunction(int key, int size, int p) //Хеш-функция (модульная 3 вариант)
{
double A;
A = (sqrt(5.0f) - 1.0f) / 2.0f;
int k;
k = key * A ;
return k % size;
}
//-------------------------------
int Next_hash(int hash, int size, int p) //Следующий и... | [
"anton.arcuman.borisov@gmail.com"
] | anton.arcuman.borisov@gmail.com |
cded961e8ad96c6b7b5a9a1d3d746f0caa7a5983 | 12352408efa20481131f8e2f4e3fea8ecc041d6c | /ModuleCollision.h | bff7f4a499508a34f7d53d3e55e6b3291f2c289a | [
"Zlib"
] | permissive | Arnau77/Flappy_Bird | ebe92dbc911fdc0e11b34c6f9a1f25f77a971f33 | a74cb3c9a846647ca2908fa8cba6b887d961e02a | refs/heads/master | 2020-07-12T09:20:35.303347 | 2019-09-15T22:56:52 | 2019-09-15T22:56:52 | 204,777,628 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,020 | h | #ifndef __ModuleCollision_H__
#define __ModuleCollision_H__
#define MAX_COLLIDERS 50
#include "Module.h"
#include "SDL/include/SDL_rect.h"
enum COLLIDER_TYPE
{
COLLIDER_NONE = -1,
COLLIDER_WALL,
COLLIDER_POINT,
COLLIDER_PLAYER,
COLLIDER_MAX
};
struct Collider
{
SDL_Rect rect;
bool to_delete = false;
COLLID... | [
"47742576+Arnau77@users.noreply.github.com"
] | 47742576+Arnau77@users.noreply.github.com |
cf918233025c6ab1e1889c94e3186aad2945c7c0 | 2af3e04d25617fbb3597f9b28fe39121c5c9288d | /My Game Engine v1.0/OpenGL/TextMaker.h | 9b70dccf8fc9580bc299f8a4bab25cd448a338e3 | [] | no_license | Kmann180/MyGameEngineV1 | 6cd620a0de752526f5b464795b6f5f0e57c84ea7 | 52815bbcca76500c1476e2282b4954b529566853 | refs/heads/master | 2021-01-23T14:57:19.316978 | 2014-03-24T22:04:48 | 2014-03-24T22:04:48 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,492 | h | #pragma once
#ifndef _TEXTMAKER_H_
#define _TEXTMAKER_H_
#include "Utilities.h"
#include <tinyxml2.h>
#include "Sprite.h"
struct Char // makes a struct called Char that contains two structs,
//one dealing with Vectors and the other dealing with floats
{
union
{
struct
{
std::string sName;
Vector2 v2Size;... | [
"7319kkennedy@gmail.com"
] | 7319kkennedy@gmail.com |
43c623304643d04f78452b665ec8ae9234ddc08b | e545d22639e64e277201664619f06ebacd4b4bd0 | /src/base58.h | 7514d005cfbf9bdfa8cc87637868d49b0662f6bc | [
"MIT",
"BSD-3-Clause"
] | permissive | shriishrii/csap | 2c6b057d917728a6d9fe0476247427e7ce0b32ae | b5cd263c56ce49b17b7d8ebd3c3bafa0430cd2af | refs/heads/master | 2020-12-24T21:01:35.773594 | 2016-05-27T09:01:57 | 2016-05-27T09:01:57 | 59,740,292 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,011 | h | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin Developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
// Modified by CSAP developers - 2016
//
// Why base-58 instead of standard base-6... | [
"viraj.santapaz@gmail.com"
] | viraj.santapaz@gmail.com |
77db1c58ab9614f152faeef373a93d09a670a66f | cb0b3c7d6b3b03a1b12360c621d495368aedd0c8 | /src/testApp.cpp | 9b2ba53de53f6fc11c868857b92bb6800ffc313c | [
"Apache-2.0"
] | permissive | wdyang/oscVideoSensor | 9b8b3e37ba1ed5b59e8e2d0b3a023e59f3faa960 | 351983da8654af15a179c595b83581c3f1ae19bb | refs/heads/master | 2016-09-05T23:49:34.941659 | 2014-05-26T22:25:10 | 2014-05-26T22:25:10 | 17,278,633 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,851 | cpp | //
// Created by Weidong Yang on 12/1/13.
//
//
#include "testApp.h"
using namespace ofxCv;
using namespace cv;
void testApp::setup() {
// if(bUsePs3Eye){
int numPs3Eye = ps3eye.listDevices().size();
cout<<"Number of Ps3 Eye connected: "<< numPs3Eye<< endl;
if(numPs3Eye>0){
bUsePs3Eye=tru... | [
"wdyangmail@yahoo.com"
] | wdyangmail@yahoo.com |
c515804a1aa0b07fd62d69a32a13c9eb608c1c04 | 28b01cdc5a4d8eff2dd822a166d950784d21e380 | /serverload.cpp | eacbc1320dd883465b73b4c4e6b2e82ea06daf57 | [] | no_license | strimbob/ofxNetworkArdunio | bbc326142bf2ec1e8e1939a2b249b8b0304d9cca | 38712b8f10901d02591eeeac89a57dac3b84af69 | refs/heads/master | 2020-04-01T06:58:58.824279 | 2013-08-09T11:52:39 | 2013-08-09T11:52:39 | 11,999,824 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,909 | cpp | #include "serverload.h"
static ofEvent < vector <bool> > buttonChange;
ofEvent < vector <bool> > serverload::buttonChange = ofEvent < vector <bool> >();
static ofEvent < vector <bool> > hillsPress;
ofEvent < vector <bool> > serverload::hillsPress = ofEvent < vector <bool> >();
serverload::serverload() {
udp... | [
"benlycett@hotmail.com"
] | benlycett@hotmail.com |
42abc784e97c9e9c69d91224b5fce39a4d6dedb9 | 6e66eff65c9905d5e802865f5101b6044e3a0d20 | /src/include/carve/triangle_intersection.hpp | 751eb7d7a385d3afd87c94aeb88d8a56df3d1434 | [
"MIT"
] | permissive | paulobala/ofxCarveCSG | 787084b9912e1df040466ffe01137bed6edb66ec | 03ed31758cd866f78252ecbd734b8ed1adffe6f9 | refs/heads/master | 2016-08-07T13:57:08.609075 | 2012-08-07T22:04:08 | 2012-08-07T22:04:08 | 5,329,362 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,900 | hpp | // Begin License:
// Copyright (C) 2006-2011 Tobias Sargeant (tobias.sargeant@gmail.com).
// All rights reserved.
//
// This file is part of the Carve CSG Library (http://carve-csg.com/)
//
// This file may be used under the terms of the GNU General Public
// License version 2.0 as published by the Free Software Founda... | [
"paulo.bala@gmail.com"
] | paulo.bala@gmail.com |
9ae3e5605890a24396453b098487ea8be01a47b1 | e9b1184954095d2736b63ed29fdf13f02f355009 | /Assignment/GameObject.h | e85dbd97773ac82b397182214ae93ac662417b32 | [
"Apache-2.0"
] | permissive | ivanchotom/Assignment | b6bcc5596c7b87068fe5ed45aa96e56ffe484176 | f87a957985af99a758eb037cd9fbbcda825d3670 | refs/heads/main | 2023-01-27T21:21:41.755098 | 2020-12-17T15:11:59 | 2020-12-17T15:11:59 | 320,154,105 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,244 | h | #pragma once
#include "Object.h"
class GameObject : public ObjectClass
{
public:
//Basic objects with position with/without colors
GameObject(const char* _ObjectFile, std::shared_ptr<Shader> _objectShader, std::shared_ptr<CameraObject> _camera, int _ScreenWidth, int _ScreenHeight);
//Basic objects with textures
... | [
"46633666+ivanchotom@users.noreply.github.com"
] | 46633666+ivanchotom@users.noreply.github.com |
501ebfa8b6aa29a2f22721c963e5f861ef36842b | 18e5714c0f21305121e5537dfc50609674e102ff | /cpp/prime-factors/prime_factors_test.cpp | 1ce18c5d93d8407569f6ec0539f7dc546797d393 | [] | no_license | viktorzetterstrom/exercism | d3118820684f7bb10856ddb2249f0698722b9f70 | 8a2722d98c2f16e02ea2eb3cd4426875c05fdf50 | refs/heads/master | 2021-12-22T17:23:42.675638 | 2021-11-30T08:24:24 | 2021-11-30T08:24:24 | 159,395,561 | 0 | 0 | null | 2019-10-07T13:39:07 | 2018-11-27T20:32:41 | JavaScript | UTF-8 | C++ | false | false | 2,636 | cpp | #include "prime_factors.h"
#define BOOST_TEST_MAIN
#include <boost/test/unit_test.hpp>
#include <iostream>
BOOST_AUTO_TEST_CASE(_1_yields_empty)
{
const std::vector<int> expected{};
const std::vector<int> actual{prime_factors::of(1)};
BOOST_REQUIRE_EQUAL_COLLECTIONS(expected.begin(), expected.end(), actu... | [
"viktorzetterstrom@gmail.com"
] | viktorzetterstrom@gmail.com |
6727bb4d83196e61765f247a6038e63af0d4894a | 5a51c40dca774374d563324b3a698d8f0080683b | /Common/C2DSprite.h | beaa321d6979e7e13a390b2d07996eabf56b00d4 | [] | no_license | CherylHuang/LightingHW | 1aab4481a0c83f66def3713dfdc5fe913787880d | 992df8e801960b96bb0e9c1775ffcf6e9fbf12d5 | refs/heads/master | 2020-03-20T21:48:33.953067 | 2019-07-25T14:50:30 | 2019-07-25T14:50:30 | 137,761,608 | 0 | 0 | null | null | null | null | BIG5 | C++ | false | false | 763 | h | #ifndef C2DSPRITE_H
#define C2DSPRITE_H
#include "../header/Angel.h"
#include "C2DShape.h"
typedef Angel::vec4 color4;
typedef Angel::vec4 point4;
#define QUAD_NUM 6 // 2 faces, 2 triangles/face
class C2DSprite : public C2DShape
{
public:
C2DSprite();
~C2DSprite();
vec4 m_OriginalLL, m_OriginalTR; // spri... | [
"jjccbb112233@gmail.com"
] | jjccbb112233@gmail.com |
d6ba1f108b4cd86f3b6d4a15a678d7149899bb34 | ef160c3cd5677b53f3bd305166bf010d00055929 | /objarsenal.h | cfa2432ff51feef91ee096eccc656f4f2d684c37 | [] | no_license | GPif/WootManager | 4b5953e9c8051345b96787db679072281decb6b7 | 283f3e9231084625cbf3639673d0227f7f0e74c8 | refs/heads/master | 2016-09-10T10:05:56.988732 | 2012-05-28T14:40:12 | 2012-05-28T14:40:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 434 | h | #ifndef OBJARSENAL_H
#define OBJARSENAL_H
#include <QString>
class ObjArsenal
{
public:
ObjArsenal();
ObjArsenal(int id, QString name, int enc, int value);
int getId();
void setId(int);
QString getName();
void setName(QString);
int getEnc();
void setEnc(int);
int getValue();
v... | [
"gpifone@yahoo.fr"
] | gpifone@yahoo.fr |
28a14bac8e41dfc509c65f515b72952bef5d0bb3 | 5188bda3380687121d57206c5f616a6612bbbf05 | /src/api_elements.cpp | 2f9f1d0b719acab912df9e296765eddb52148bf2 | [] | no_license | PollyLabs/library-metamorphic-testing | 6fce5a7f352ee5afe6c8f108cc75bcf8015936fe | b5f661851b0c9435e460f76032758092c7ef7728 | refs/heads/master | 2021-06-09T16:21:02.349135 | 2021-06-01T09:51:52 | 2021-06-01T09:51:52 | 144,584,456 | 5 | 2 | null | 2019-04-10T11:06:42 | 2018-08-13T13:35:38 | C++ | UTF-8 | C++ | false | false | 27,291 | cpp | #include "api_elements.hpp"
std::map<std::string, PrimitiveTypeEnum> primitives_map = {
{ "char", CHAR },
{ "string", STRING },
{ "std::string", STRING },
{ "nqstring", NQSTRING },
{ "unsigned int", UINT },
{ "int", INT },
{ "int32_t", INT },
{ "uint32_t", UINT },
{ "size_t", UINT }... | [
"al2510@imperial.ac.uk"
] | al2510@imperial.ac.uk |
426c2dff8dbfaf45f59dc2c1effa11525c9329ef | 45097a13834f73d96cd40d8f301b085d3c054516 | /features/jvp1Test/jvp1Test.h | 5b896c38f9dd954566078012d327c2baa83b71a7 | [
"Apache-2.0"
] | permissive | trikset/trik-teststand | be53d7b810aa838383deebcaed42f46dc728368f | 4ccf89203efd80c03f8d8ff1a32241c1547b5baf | refs/heads/master | 2021-08-22T06:03:45.883512 | 2017-11-29T12:46:41 | 2017-11-29T12:46:41 | 112,473,290 | 0 | 0 | null | 2017-11-29T12:34:19 | 2017-11-29T12:34:19 | null | UTF-8 | C++ | false | false | 990 | h | /* Copyright 2014 CyberTech Labs Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... | [
"Jake.Kirilenko@gmail.com"
] | Jake.Kirilenko@gmail.com |
5735a1d63601977ac2cdbc19cdcc2e6974f603d5 | eab0452a2fa4075eb7351294279603bab7940000 | /src/windows/utf.hpp | edc4b2f4bc4f71d8978edb81c553a4141217a0b7 | [] | no_license | cooky451/passchain | c0b16315aa7e4a5d67aec96bad9810416a063ba6 | b40445433077dd803c4249c87849dab1063cbd8e | refs/heads/master | 2020-05-21T18:03:07.656630 | 2016-10-23T16:56:24 | 2016-10-23T16:56:24 | 63,672,911 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,361 | hpp | #pragma once
#include <string>
#include "base.hpp"
std::string toUtf8(const wchar_t* sourceString, std::size_t sourceStringSize)
{
auto destStringSize = WideCharToMultiByte(CP_UTF8, 0, sourceString,
static_cast<int>(sourceStringSize), nullptr, 0, nullptr, nullptr);
std::string destString(destStringSize, char(... | [
"cooky451@gmail.com"
] | cooky451@gmail.com |
dc71d853c2b7683affea5763076eea8dbcc9e5cc | a2334c8385e29e414428c3c38cc0925f1c205be1 | /qt_gl/model/Tensor.cpp | 8a9b2358799673d41f649f09fe0a9e6c1bfcfa86 | [] | no_license | dem42/exp_tran | 6c3fddbe67d09d89fde5758792499695ee36c38f | 3bd31225db1ad5fabe8a8b0a3b50c23983e8848f | refs/heads/master | 2020-09-12T23:08:11.260813 | 2014-08-05T00:24:24 | 2014-08-05T00:24:24 | 674,170 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21 | cpp | #include "Tensor.h"
| [
"martin.papanek09@imperial.ac.uk"
] | martin.papanek09@imperial.ac.uk |
3d9305feb22a3c5c1146cbc964690171712ab97a | 956b91611aa6901913d24025a45d33dfcb0abadb | /lab6/Circle.cpp | c5a8b9d3de24c5f00fbbcdbcc72c350c8a556209 | [] | no_license | dhruvchawla1996/ece244_labs | b72f0bb7ca6a4128edb3b2b6cf051d33e68247ae | 7568041ebeb263c2bf5d2da671ae65ef42d8a4d7 | refs/heads/master | 2016-08-11T11:24:35.245511 | 2015-12-31T14:11:50 | 2015-12-31T14:11:50 | 48,846,809 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 939 | cpp | #include <iostream>
#include <cmath>
#include "Circle.h"
using namespace std;
Circle::Circle (string _name, string _colour, float _xcen, float _ycen,
float _radius) : Shape (_name, _colour, _xcen, _ycen) {
radius = _radius;
}
Circle::~Circle() {
// nothing to delete
}
void Circle::print () const {
... | [
"dhruvchawla1996@gmail.com"
] | dhruvchawla1996@gmail.com |
df7f980562cbdbef5b45814d688562a82e9182cc | 38f055a979a0e4acecf5d2a5ad0d0344d1f52db2 | /src/mess/machine/isa_hdc.h | 61399e9fa7108fe53c08a4be1904eb6ffdff7e5c | [] | no_license | poliva/mame-rr | 0cc05bed2a80addbb906e97b8f25633496eecab6 | 124dbb66844bc6d8747b19b8483cefa28fb6b7fb | refs/heads/master | 2021-01-22T05:16:42.247183 | 2015-04-24T08:59:22 | 2015-04-24T08:59:22 | 34,506,421 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,888 | h | /**********************************************************************
ISA 8 bit XT Hard Disk Controller
**********************************************************************/
#pragma once
#ifndef ISA_HDC_H
#define ISA_HDC_H
#include "emu.h"
#include "machine/isa.h"
#include "imagedev/harddriv.h"
... | [
"pau@eslack.org"
] | pau@eslack.org |
1572d13220a486733c966be887134f716e622840 | 2476e036866ebf861e834eb0ddb2a8cd49104285 | /pat/pat_A_1067/pat_A_1067/main.cpp | ceb694d2f8771ab4d329474ca5d1da59621390ed | [] | no_license | xchmwang/algorithm | 7deaedecb58e3925cc23239020553ffed8cc3f04 | 55345160b6d8ef02bc89e01247b4dbd1bc094d5e | refs/heads/master | 2021-09-17T23:54:40.785962 | 2018-07-07T06:40:27 | 2018-07-07T06:40:27 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 255 | cpp | #include <iostream>
using namespace std;
const int maxn = 1e5 + 10;
int num[maxn];
void solve()
{
int N; cin >> N;
for (int i = 0; i < N; ++i) scanf("%d", &num[i]);
for (int i = 0; i < N; ++i) {
}
return;
}
int main()
{
solve();
return 0;
} | [
"ChenminWang.Dk@gmail.com"
] | ChenminWang.Dk@gmail.com |
3140e5d968021dfe0e78df95b8e818ad4a12049b | 67ed89e1bbd21cb771240943bce3f299591a844e | /board.cpp | b90f2fe76c4997b0b875eb361836a5553517cf35 | [] | no_license | damon-murdoch/nqueens-cpp | 555ee10e3a9a050fdf14a6b8643e5fc3c4d3f7c8 | 4c42521a73d92653cfaa4b1efc407c500766abb1 | refs/heads/master | 2023-05-28T07:46:47.831895 | 2021-06-16T05:29:39 | 2021-06-16T05:29:39 | 375,603,086 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,491 | cpp | #ifndef __BOARD__CPP
#define __BOARD__CPP
#include "board.hpp"
using namespace std;
bool compare(Point * a, Point * b)
{
return (a -> x == b -> x) && (a -> y == b -> y);
}
Point::Point()
{
this->x = 0;
this->y = 0;
}
Point::Point(int x, int y)
{
this->x = x;
this->y = y;
}
bool compare_h(Board a, Board... | [
"Damon.Murdoch@qed.qld.gov.au"
] | Damon.Murdoch@qed.qld.gov.au |
369fe7fe61f486745c500edc543fc157f1052d83 | ed1dd1e84ca75127a12e1592c2fbc3b6365a749f | /generatedNeedham/CryptoLib/test/cryptorTestFile.cpp | 28f4dfac64a8c175b43517c1a42198556ac508a1 | [] | no_license | SpencerL-Y/testGenerated | c25dc1a0b18df73f6e3cd84dc3eee9c80222b75b | 6492f82aea88c3215e70f7deda283c849ca96d86 | refs/heads/main | 2023-01-02T14:23:30.479836 | 2020-10-22T09:32:29 | 2020-10-22T09:32:29 | 306,269,780 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,516 | cpp | #include "../include/Cryptor.hpp"
#include <stdlib.h>
#include <iostream>
#include <string>
int main(){
Cryptor cryptor;
Cryptor cryptor1;
std::string key = "thisiskey";
std::string key2 = "thisiskey";
std::string wrongKey = "thisis";
char* out = (char*)malloc(100*sizeof(char));
std::string ... | [
"lixie15@mails.ucas.ac.cn"
] | lixie15@mails.ucas.ac.cn |
b895d90206f65780dbda0849eecac3b3c3bd21d8 | 0ec9df3bb8b86216e18fe4cb66b6612297245aea | /Sources/CXXBoost/include/boost/iterator/iterator_facade.hpp | 7860bc747256d04a035245bbf59ae7acb8f44dbb | [] | no_license | jprescott/BoostTestWithLib | 78ae59d1ee801201883cf07ab76b8267fadf7daa | 8650523cab467c41be60f3a1c144f556e9a7f25c | refs/heads/master | 2022-11-18T14:49:00.664753 | 2020-07-18T21:45:17 | 2020-07-18T21:45:17 | 280,749,418 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 33,331 | hpp | // (C) Copyright David Abrahams 2002.
// (C) Copyright Jeremy Siek 2002.
// (C) Copyright Thomas Witt 2002.
// Distributed under the Boost Software License, Version 1.0. (See
// accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#ifndef BOOST_ITERATOR_FACADE_23022003THW_HPP
#def... | [
"jprescott12@icloud.com"
] | jprescott12@icloud.com |
b17b273f78dd17badd4e566e40821dd89a09aa28 | 2672b41f905c0561c816cbb969d1c57752863420 | /UVA/UVA 10653.cpp | 4de3f00b2bc59ca419efad1bed29091185c35d66 | [] | no_license | MohamedFathi45/Competitive-programming | a9a6b8b3e8be5924ef4774b90b81a5149cfc0332 | 3ed5bdd0c698c5c4273455828f6d74ff13374902 | refs/heads/master | 2021-01-25T14:46:57.008806 | 2020-12-22T03:35:54 | 2020-12-22T03:35:54 | 123,729,376 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,466 | cpp | #include<iostream>
#include<algorithm>
#include<string.h>
#include<string>
#include<vector>
#include<math.h>
#include<set>
#include<map>
#include<iomanip>
#include<queue>
#include<deque>
#include<bitset>
#include<stack>
#include<stdlib.h>
#include<list>
#include<fstream>
#define Flash ios::sync_with_stdio(0);cin.tie(0)... | [
"sharksmardo@gmail.com"
] | sharksmardo@gmail.com |
702ec1b85386407777c0031b2ec8c517be131152 | eb8e2283f21c318a0440f90445ea09d09d922ff8 | /EventLoop.h | ef22031641fab6f59d37621355f518f7f716f5ba | [] | no_license | donghe0313/mymuduo | 4690ed348a6d826838cfa6f56d35dd4465ee3c20 | 82eed7af0ccde98315d818b943544ce7e673f050 | refs/heads/main | 2023-03-11T15:58:32.062106 | 2021-02-22T12:20:45 | 2021-02-22T12:20:45 | 339,649,332 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,098 | h | #pragma once
#include <functional>
#include <vector>
#include <atomic>
#include <memory>
#include <mutex>
#include "noncopyable.h"
#include "Timestamp.h"
#include "CurrentThread.h"
class Channel;
class Poller;
// 时间循环类 主要包含了两个大模块 Channel Poller(epoll的抽象)
class EventLoop : noncopyable
{
public:
using Functor ... | [
"506433601@qq.com"
] | 506433601@qq.com |
6b12a9cedaf6acb60c05ffc5447a8aeb86ac13a3 | 2e2de88745dd6c7cf58b6dfd68ae8d8200ed387f | /Mewtle/src/Mewtle/UI/Label.cpp | c02f8d53c23f8cf16c7a3da7b594d678bc9dee54 | [
"Apache-2.0"
] | permissive | TinSlam/Mewtle | 2b233a519fc216b06fe47106d2029a63c103bfaf | 3d178c4523a6a70fd362f781b7a92847f6bac559 | refs/heads/master | 2020-06-18T03:36:46.238609 | 2019-08-10T10:46:38 | 2019-08-10T10:46:38 | 196,152,023 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 935 | cpp | #include <PrecompiledHeaders.h>
#include "Label.h"
#include "Mewtle/Core/MyGLRenderer.h"
#include "Mewtle/ResourceManager/Model/ModelPremade.h"
namespace Mewtle{
Label::Label(int id, Texture* texture, float x, float y, float width, float height, float rot) : Entity(id, Model3D::getModel(ModelPremade::MODEL_SQUARE),... | [
"tinslam33@gmail.com"
] | tinslam33@gmail.com |
ce7013aed57a3ed4314e2b7338a5310106e9bf12 | 7f0fecfcdadd67036443a90034d34a0b0318a857 | /sparta/sparta/statistics/dispatch/archives/ReportStatisticsArchive.hpp | 5ce13efa4433fcc496a6a61fa6b60d7a1a6b3382 | [
"MIT"
] | permissive | timsnyder/map | e01b855288fc204d12e32198b2c8bd0f13c4cdf7 | aa4b0d7a1260a8051228707fd047431e1e52e01e | refs/heads/master | 2020-12-21T19:34:48.716857 | 2020-02-17T17:29:29 | 2020-02-17T17:29:29 | 236,536,756 | 0 | 0 | MIT | 2020-01-27T16:31:24 | 2020-01-27T16:31:23 | null | UTF-8 | C++ | false | false | 6,500 | hpp | // <ReportStatisticsArchive> -*- C++ -*-
#ifndef __SPARTA_REPORT_STATISTICS_ARCHIVE_H__
#define __SPARTA_REPORT_STATISTICS_ARCHIVE_H__
#include "sparta/statistics/dispatch/archives/ReportStatisticsAggregator.hpp"
#include "sparta/statistics/dispatch/archives/ArchiveDispatcher.hpp"
#include "sparta/statistics/dispatch... | [
"klingaard@gmail.com"
] | klingaard@gmail.com |
f81ca9b34557e432d085601edee24e7b2ebcdcae | 30ad231c47db74e4cce9d11024d0c187d1a91175 | /day12/main.cpp | 47a655364c825745a47827f7d2d42336327cf292 | [
"Unlicense"
] | permissive | wuggy-ianw/AoC2017 | afa36502238232956299b4baa6b5bd149667591f | 138c66bdd407e76f6ad71c9d68df50e0afa2251a | refs/heads/master | 2021-09-01T18:06:13.445410 | 2017-12-28T06:15:40 | 2017-12-28T06:15:40 | 112,793,144 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 370 | cpp | //
// Created by wuggy on 21/12/2017.
//
#include "day12.h"
#include <iostream>
#include <fstream>
#include <vector>
int main(void)
{
std::ifstream ifs("input.txt");
std::map<int, Day12::program> programs = Day12::parse_input(ifs);
std::cout << Day12::solve_part1(programs) << std::endl;
std::cout << Day12::... | [
"github@wuggy.org"
] | github@wuggy.org |
635b03d522e7451a01b3458280494e15ffd23d9d | 2ed5c000b9de09bdfa54936ab523229501ba64bc | /src/reference/leader_reference.cpp | 11451e600a168be33b3c277518e2a306d4e42a1d | [] | no_license | mbyase/swarm_robot_formation | 6f088d27dc912fcc9b79802e71509e35f1403ed6 | 0dc35278ee7b5bf0336eefbdd763c15c72fce97b | refs/heads/master | 2020-04-27T21:45:00.552272 | 2018-01-02T09:31:39 | 2018-01-02T09:31:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,316 | cpp | #include "formation/reference/leader_reference.h"
#include <stdexcept>
#include <math.h>
#include <sstream>
using namespace formation;
LeaderRerence::LeaderRerence(tf::TransformListener* tf, Formation pF, double pDS)
{
tfListener_ = tf;
f = pF;
desiredSpaceing = pDS;
mNameSpace_ = nh_.getNamespace();
}
bool ... | [
"lg16@qq.com"
] | lg16@qq.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.