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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
379039d69e5a3529036d2b992f4d3264cfb8cfff | 65fc85ed595c778e46973ddd24f6f75059f9e84e | /1 - 200/199. Binary Tree Right Side View.cc | 91b0d72c795a83f6e3a9f94fe213ed383874d35a | [] | no_license | zzzmfps/LeetCode | a39c25ccfa5891c9ad895350b30f0f2e98cdc636 | 8d5576eb2b82a0b575634c14367527560c1ec5d5 | refs/heads/master | 2021-10-10T01:06:40.123201 | 2021-09-28T03:33:25 | 2021-09-28T03:33:25 | 122,027,173 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 620 | cc | // 4ms, 73.36%; 9.6MB, 75.68%
#include <bits/stdc++.h>
using namespace std;
struct TreeNode {
int val;
TreeNode *left;
TreeNode *right;
TreeNode(int x) : val(x), left(NULL), right(NULL) {}
};
class Solution {
public:
vector<int> rightSideView(TreeNode *root) {
vector<int> res;
help... | [
"zzz100826@gmail.com"
] | zzz100826@gmail.com |
22fbfd496f4f9bcaddc77ea324845fecc5b756ae | 09a9270a0d6bf47ab929d91c4dab5eef37248dcb | /cyton/src/hardware_node.cpp | c5838bd5f351dcaf01a36bc00a41c4ccbd34bb1c | [] | no_license | LCAD-UFES/cyton_alpha | e1d7ca380114bef58aa1035409f88810b896ce02 | 6b75749882affcff165894925f1d706571442795 | refs/heads/master | 2021-01-10T16:46:48.072714 | 2016-02-16T16:43:20 | 2016-02-16T16:43:20 | 46,374,275 | 1 | 0 | null | 2015-11-25T19:24:58 | 2015-11-17T20:43:47 | null | UTF-8 | C++ | false | false | 3,900 | cpp | // Copyright (c) 2009-2012 Energid Technologies. All rights reserved. ////
//
// Filename: hardware_node.cpp
//
// Description: Action server recieves Joint Information and feedback to /cyton/feedback
//
// Contents:Cyton Action class
//
/////////////////////////////////////////////////////////////////////////
... | [
"viniciusbc1@gmail.com"
] | viniciusbc1@gmail.com |
5bd911fdf0f09b9827e8d9986ad5d343ae4c03f6 | 3ca083c5ccaebb06ff2e595dafb97d71966de111 | /planners/pmr/PMR/planning/seq-sat-rpt/search/search_engine.h | a662bcea0cdb4429239931840812c1c481b0ec25 | [] | no_license | prakhyat123/MultiAgentPlannerComparison | 5f94f793de567f647de0189b2ed65846a7148f6f | aa14ac92c5a87093a17f21362d21e861c66f7e20 | refs/heads/master | 2021-06-18T07:52:24.311272 | 2017-06-23T14:19:17 | 2017-06-23T14:19:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,788 | h | #ifndef SEARCH_ENGINE_H
#define SEARCH_ENGINE_H
#include <vector>
class Heuristic;
class OptionParser;
class Options;
#include "operator.h"
#include "search_space.h"
#include "search_progress.h"
#include "operator_cost.h"
class SearchEngine {
public:
typedef std::vector<const Operator *> Plan;
private:
bool... | [
"mourarovane@gmail.com"
] | mourarovane@gmail.com |
81d1c9981dfd59bd7f430e4d8df0aa8064fb8083 | 745a3c44cc48d4db0bd53ae140ba6cfcb87672a9 | /MagicVXRepo/Proxy.h | f431a6cce723929aabcb5c96f35d2a34e65db922 | [] | no_license | Duckxz/MagicVX | ba7fd5f4405fd68ad53f8b78d04834d91461a43d | a306467fc87d6dccfd04592bcd6912ea21434f7a | refs/heads/main | 2023-03-22T03:21:26.849781 | 2021-03-13T17:23:42 | 2021-03-13T17:23:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 792 | h | #pragma once
#include <string>
template <typename T>
class Proxy
{
public:
std::string title = "";
bool lock = false;
int address;
T currentValue;
T gameValue;
T guiValue;
void SetValue(T);
void InitValue(T);
T GetValue();
bool CheckUpdate();
};
template <typename T>
void Proxy<T>::SetValue(T value)
{
gam... | [
"alaxend0l@gmail.com"
] | alaxend0l@gmail.com |
c3eee68f369ec159a0eb7ded6f680db6f27cdd3a | 8308932a4ff85453f12834672cbd5d93ea394eef | /blib/wm/widgets/Label.cpp | 93aa57245d4785e52a8f59479336153a236fef56 | [] | no_license | psyops8905/blib | 1d34317b4a0f4aa5ca1dec8d24eea9b477c12d41 | b3c036bf5a2228b359e8de66dd60f9bdef8c982c | refs/heads/master | 2023-03-18T06:18:22.197039 | 2019-02-01T02:03:50 | 2019-02-01T02:03:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 865 | cpp | #include "Label.h"
//#include <gl/glew.h>
#include <glm/gtc/matrix_transform.hpp>
#include <blib/wm/WM.h>
#include <blib/SpriteBatch.h>
namespace blib
{
namespace wm
{
namespace widgets
{
Label::Label( )
{
this->text = "";
this->width = 100;
this->height = 25;
}
... | [
"borfje@gmail.com"
] | borfje@gmail.com |
935fd6587e46421fb37b032e9cd120db9fc11ce6 | f5c261195ca797a9775d654d4021f2529942777c | /lab1/List.cpp | d37df63ca9f813d1c7543d8f7b9c28a1d05b83fe | [] | no_license | Anternt/Aleksey-Riabov | 6d106a5659ea5cefefb8b2a0bb662567b3af4c1b | c378618ab5a2024bbc317bbacba0c200c70dec16 | refs/heads/master | 2020-12-28T01:47:43.480274 | 2020-06-03T12:10:36 | 2020-06-03T12:10:36 | 238,141,899 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 2,271 | cpp | #include "List.h"
void CList::CreateList()
{
List = new C_Program[listSize];
for (int i = 0; i < listSize; i++)
List[i] = Program1();
}
void CList::setListSize(int size)
{
listSize = size;
}
int CList::getListSize() const
{
return listSize;
}
void CList::PrintAll() const
{
printf(" \nВремя\t\tРазмер\t\tСтроки... | [
"anternt@yahoo.com"
] | anternt@yahoo.com |
67e8f51b2c25d675ad837f1b73ce4f28bb3b3dd0 | f032d940041c31abbb3793689b813deadf19bf0a | /src/btl/trunk/mdna_iupac_gap_symbol.cc | 1f9afc3f6bff96c7e26ebce5e4cd329493e8a585 | [
"MIT"
] | permissive | akhudek/feast | f14143b6f932214841c33a8de3c92a4dff34efb7 | bb41ac122a9c0542a0fb71eec81ff5e872c556e5 | refs/heads/master | 2021-01-02T09:02:40.411542 | 2011-08-12T07:45:38 | 2011-08-12T07:45:38 | 2,195,735 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,536 | cc | /*
* mdna_iupac_gap_symbol.cc
* btl
*
* Created by Alexander K. Hudek on 2008-08-06.
* Copyright 2008 University of Waterloo. All rights reserved.
*
*/
#include "btl/mdna_iupac_gap.h"
#include "btl/mdna_iupac_gap_symbol.h"
#include "btl/mdna_symbol.h"
std::vector< std::vector<btl::mdna_iupac_gap_symbol> > ... | [
"alexander@hudek.org"
] | alexander@hudek.org |
619072ccf758eb7410f87c061e7bc555ca81e53d | 9bdba85032574a91b512815b0ad220ff2f285708 | /ModuleSceneHonda.cpp | 1885764b1e5e5f621c8111cad985f521467e970f | [] | no_license | luismoyano/Street-Fighter | 86e42d143049c91353966345e7949ed4a6e0004c | f8eb739855150cec1fa0e1ca7dde426815205ab9 | refs/heads/master | 2020-08-22T08:29:20.463480 | 2019-10-20T19:08:32 | 2019-10-20T19:08:32 | 216,356,687 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,011 | cpp | #include "Globals.h"
#include "Application.h"
#include "ModuleSceneHonda.h"
#include "ModuleRender.h"
#include "ModuleTextures.h"
#include "ModulePlayer.h"
#include "ModuleInput.h"
#include "ModuleAudio.h"
#include "ModuleFadeToBlack.h"
#include "SDL/include/SDL.h"
ModuleSceneHonda::ModuleSceneHonda(bool start_enabl... | [
"luis@luismoyano.net"
] | luis@luismoyano.net |
e00ff5d63f087a8363c924f3f8bfc21dc9e25af7 | 983a93608369701c90a4d871aa47719f479994c8 | /test/instancing_test.cpp | 92e975e6a9273593cd830bee2c56b7d2342aa9e1 | [
"MIT"
] | permissive | opala-studios/rive-cpp | a5137e7af01c22b83e4542e53c44ae79acf880fa | 63bb2c2bc54ea0b866f62f04d18627bb59efe90a | refs/heads/master | 2023-05-07T21:24:58.899884 | 2021-05-28T15:47:50 | 2021-05-28T15:47:50 | 371,737,153 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,339 | cpp | #include "catch.hpp"
#include "core/binary_reader.hpp"
#include "file.hpp"
#include "no_op_renderer.hpp"
#include "node.hpp"
#include "shapes/clipping_shape.hpp"
#include "shapes/rectangle.hpp"
#include "shapes/shape.hpp"
#include <cstdio>
TEST_CASE("cloning an ellipse works", "[instancing]")
{
FILE* fp = fopen("../.... | [
"matt.j.sullivan@gmail.com"
] | matt.j.sullivan@gmail.com |
95b8b5868a099a70f5bb08af3fb48924447972ad | 87421b5912b9cb158a2e0d9396e1367a296c1dd0 | /src/test/amount_tests.cpp | 8183ca94f808f693ed2d5fe0b537b0d2ce54e6da | [
"MIT"
] | permissive | hendry19901990/babycoin | a76b4330e3b235ec989d87e5f01b07b0c81e11fe | c973192d7e877249b0c58127f10ea95083309993 | refs/heads/master | 2020-11-29T14:39:59.640269 | 2019-12-25T18:35:42 | 2019-12-25T18:35:42 | 230,134,399 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,669 | cpp | // Copyright (c) 2016 The Babycoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "amount.h"
#include "policy/feerate.h"
#include "test/test_babycoin.h"
#include <boost/test/unit_test.hpp>
BOOST_FIXTU... | [
"hendryrodrigu1990@gmail.com"
] | hendryrodrigu1990@gmail.com |
27a80eb683f05cca15696a6a660493fc12b29353 | 877fff5bb313ccd23d1d01bf23b1e1f2b13bb85a | /app/src/main/cpp/dir7941/dir22441/dir22442/dir22443/dir24650/dir24841/dir24842/file24869.cpp | b6ba2fc73caca0fad90de3b60c8a515ad8198ab7 | [] | 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 | #ifndef file24869
#error "macro file24869 must be defined"
#endif
static const char* file24869String = "file24869"; | [
"tgeng@google.com"
] | tgeng@google.com |
b36bf4692fa5683c10d80594e40c4cef0ea601f9 | 80842a8223f9e97826916e98bdb75dddc8bed82b | /model/Level.cpp | 095026c5b5c7fcb1a7cc223987f25cec4f497732 | [] | no_license | TWVerstraaten/Blocks | 4cbd3f892f2b5202d2df30afe42c43b73e69a150 | 13268ab0c2e146a5d35d93c005b8b74c23872f3c | refs/heads/master | 2023-03-01T20:36:38.823087 | 2021-02-09T00:37:10 | 2021-02-09T00:37:10 | 321,815,870 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,953 | cpp | //
// Created by pc on 15-12-20.
//
#include "Level.h"
#include "../misc/defines.h"
#include "../misc/geom.h"
#include <cassert>
namespace model {
const std::map<GridXy, DYNAMIC_BLOCK_TYPE>& Level::dynamicBlocks() const {
return m_dynamicBLocks;
}
const std::map<GridXy, INSTANT_BLOCK_TYPE>& Lev... | [
"t.w.verstraaten@rug.nl"
] | t.w.verstraaten@rug.nl |
da584e8cf6843355fa681bc26453577e02641c4f | e0a3c9fa7144899a1fb49d2f2cbe89295c8a34b2 | /codeforces/763D.cpp | f9446f4a0e64481e36c92ad980142c35d41dce3e | [] | no_license | hiaatcnd/code | 20cd1e034c0d8b6774806bd930e93bba1e727084 | abbd8bc0b2fc64601a8d5041e290b5afebe4f38c | refs/heads/master | 2022-03-23T22:25:55.964669 | 2022-03-07T12:57:28 | 2022-03-07T12:57:28 | 56,978,329 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,310 | cpp | #include <bits/stdc++.h>
using namespace std;
#define all(x) x.begin(), x.end()
#define ll int
#define pb push_back
const int maxn = 100100;
int n, u, v, m;
vector<int> g[maxn], d[maxn];
map<ll, int> mp;
vector<ll> son[maxn];
ll has[maxn];
int f[maxn];
int cnt[maxn], c[maxn], dep[maxn];
int main(){
freopen("x.in", "... | [
"immortal1996@163.com"
] | immortal1996@163.com |
7474dc78f7674a69e4d1f38f2e3e393ef066a5ce | d6a07e37d3a8dab291df3aee66225a6bbef8b544 | /listas 3ª prova/lista2/exe5_lista2/exe5_lista2.cpp | cd4ca6bb977d7a5ec478af14b469467d336de1ba | [] | no_license | Luiz1996/Fundamentos_de_Algoritmos | 596167f8bab92970d4805e671bb30a16f4c153d4 | d5d23b1ada3f03df8538aefdb7101a281180ee39 | refs/heads/master | 2020-05-17T16:35:18.538946 | 2019-04-27T21:25:43 | 2019-04-27T21:25:43 | null | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 742 | cpp | /*Faça um programa que receba do usuário um arquivo texto. Crie outro arquivo texto contendo
o texto do arquivo de entrada, mas com as vogais substituídas por "*".*/
#include <stdio.h>
int main(void){
FILE *p_leitura = fopen("original.txt", "r");
char caracter = '\n', caracter_escolhido;
FILE *p_escrita = fopen("... | [
"luiz_flavio_p@hotmail.com"
] | luiz_flavio_p@hotmail.com |
648e3f013ed48a79997f64be8b23dffc8ad40d8f | b4a24beb5fd4a94ae795e1530d90b136e53cd416 | /OOP/Lab 1/Q7.c++ | d5a1b47f65b548d5a39b32067337443cf87f30da | [] | no_license | Ritik-09/MyCodes | 2cff828952772f7d6d91f33faeb5e13fabc4295a | abe4d6ef64fe3d86119e8dc82736de34fe4772bf | refs/heads/main | 2023-08-20T12:25:54.396307 | 2021-10-23T18:11:04 | 2021-10-23T18:11:04 | 415,678,243 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 582 | #include <iostream>
using namespace std;
int main()
{
int n,t=0;
cout<<"Enter a number to find the last prime number occurs before the number: ";
cin>>n;
for (int i=n-1;i>=1;i--)
{
for (int m=2;m<i;m++)
{
if (i%m==0)
t++;
}
if (t==0)
... | [
"starithik97@gmail.com"
] | starithik97@gmail.com | |
2448c1b73d50ebe1ffc893ea92da7a2edbf0062c | 4296e51c67eb12c83bd01c9eb93d1cd1fd1852ef | /export/windows/obj/src/flixel/system/debug/interaction/tools/_Transform/GraphicTransformCursorScaleY.cpp | d435e5bc46365c59eccb8e747abbb9b0f4ddb7b7 | [] | no_license | Jmacklin308/HaxeFlixel_DungeonCrawler | de23d7e86deb2fa3c2f135e6cc664b68bd1c8515 | e5b7cdf540913a8c2e9e1fdc4780831a9b823856 | refs/heads/main | 2023-06-26T14:33:12.532371 | 2021-07-18T04:03:18 | 2021-07-18T04:03:18 | 386,560,939 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 7,859 | cpp | // Generated by Haxe 4.2.1+bf9ff69
#include <hxcpp.h>
#ifndef INCLUDED_flixel_system_debug_interaction_tools__Transform_GraphicTransformCursorScaleY
#include <flixel/system/debug/interaction/tools/_Transform/GraphicTransformCursorScaleY.h>
#endif
#ifndef INCLUDED_haxe_Resource
#include <haxe/Resource.h>
#endif
#ifndef... | [
"jmacklin308@gmail.com"
] | jmacklin308@gmail.com |
0328d8b2e70dcbbe6534b08564f0b3de339d45c9 | 7e2e71956fdf70da787bf4edcfcf7ecd34fd9c99 | /o2Engine/Sources/Assets/Builder/ImageAssetConverter.h | e3e3c307bf43cb9ac9c658f950c24e307a1e8a39 | [] | no_license | dmitrykolesnikovich/o2 | 579abb53c805b117d11986017dcdb50f50d75409 | c1b9038c6f56466ab96544c0e9424e4b9baf6553 | refs/heads/master | 2020-03-13T00:31:46.701057 | 2018-04-23T19:33:58 | 2018-04-23T19:33:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,112 | h | #pragma once
#include "IAssetConverter.h"
namespace o2
{
// ---------------------
// Image asset converter
// ---------------------
class ImageAssetConverter: public IAssetConverter
{
public:
// Returns vector of processing assets types
Vector<const Type*> GetProcessingAssetsTypes() const;
// Converts im... | [
"zenkovichan@gmail.com"
] | zenkovichan@gmail.com |
afd1cd2b5e04af4f80125d790ca4be3b90b15cb6 | 7cf7bfe773cb5c182140a0bdb6fceadf60ffbed5 | /Project3/Board.h | 82e64775e30bf5343bafb7b7b1dde4e8916a1a34 | [] | no_license | adeeb18/Minesweeper | 19bf4d853e30710884235541251150210d46113c | 362b2e5ba5406375be3fca9fdc876761321d2312 | refs/heads/main | 2023-07-03T01:09:35.713551 | 2021-08-06T17:40:22 | 2021-08-06T17:40:22 | 393,454,362 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,238 | h | #pragma once
#include <SFML/Graphics.hpp>
#include <unordered_map>
#include <string>
#include <stdlib.h>
#include <stdio.h>
#include <time.h>
#include <iomanip>
#include <iostream>
#include <fstream>
#include "Tile.h"
using namespace std;
class Board {
int rows;
int cols;
int height;
int width;
int totalTiles;
i... | [
"adeeb.rashid@ufl.edu"
] | adeeb.rashid@ufl.edu |
e11ba9ebe3f8d98924f98e5059503cea790a7ecd | b2a263fc5fb54e623eaf3a8e3d63209cbd08ead4 | /include/pfs/v1/fs.old/traits.hpp | 044dd55b1b225b52c0c36cbe1a67e338a1af4ce3 | [] | no_license | semenovf/pfs | 3679961bc7d3e5514fe4aafe18bea7be4d238c2f | 682c9d42a1ccb63e1d8117014877e7d96254f672 | refs/heads/master | 2021-07-19T06:08:10.048568 | 2019-04-02T06:03:30 | 2019-04-02T06:03:30 | 80,082,005 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,294 | hpp | #ifndef __PFS_FS_TRAITS_HPP__
#define __PFS_FS_TRAITS_HPP__
#include <pfs/traits/list.hpp>
#include <pfs/string.hpp>
#include <pfs/string_builder.hpp>
namespace pfs {
namespace fs {
template <typename StringT
, template <typename> class ListT>
struct traits
{
typedef pfs::string<StringT> string_typ... | [
"fedor.v.semenov@gmail.com"
] | fedor.v.semenov@gmail.com |
f737d7dd9987727bec3b2493401309ef208f50ed | a173362f26afb40664552bcf09a813b241334d30 | /app/myApp/control/Inertia.hpp | 5daeac46c9ba0fd8661b6c1438666a7a7c2b4e6e | [] | no_license | simonfink/VTDelta | 5631caab12d1409d7d3e2b2a2f51bab24ddae757 | 5e5c055d12574efb5cc80f2d80d9dcdad696c128 | refs/heads/master | 2021-09-24T14:25:01.284451 | 2018-10-10T10:17:07 | 2018-10-10T10:17:07 | 125,205,201 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,021 | hpp | #ifndef CH_NTB_EEDURO_DELTA_INERTIA_HPP
#define CH_NTB_EEDURO_DELTA_INERTIA_HPP
#include <eeros/control/Block.hpp>
#include <eeros/control/Input.hpp>
#include <eeros/control/Output.hpp>
#include "types.hpp"
#include "Jacobian.hpp"
namespace eeduro {
namespace delta {
class Inertia : public eeros::control::Block ... | [
"simon.fink@ntb.ch"
] | simon.fink@ntb.ch |
35918015dd0f565a3bc5d01c071c41b27f7c3e87 | 794a740a3901268ee19576e08c88f7e56611fe5c | /Online Judges/Atcoder/potato/d.cpp | aa9de5b5483006397a44ce7420cf2ed0e30fc94b | [] | no_license | thisiscaau/cp-archive | fa6396cc4a38b9f6aade3fc6652da57e1be9ef3f | 4a2d89bb164c07e45f20ee7c5c98e5a7a73a969a | refs/heads/main | 2023-04-26T22:02:48.215762 | 2021-05-14T14:47:33 | 2021-05-14T14:47:33 | 331,367,301 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,702 | cpp | /* thisiscaau's code
What’s happened happened. Which is an expression of faith
in the mechanics of the world. It’s not an excuse to do nothing.
*/
/* shortcuts */
/*#pragma GCC optimize("Ofast")
#pragma GCC optimize("unroll-loops")*/
// for emergency cases
#include<bits/stdc+... | [
"code.lmkhsgs@gmail.com"
] | code.lmkhsgs@gmail.com |
95ebbd49990ef29dc4efd6d50934d749689cdbaa | 29627500e0071b7e6b91dff4a3b56ca6a1e016d0 | /partix/include/partix/partix_rigid.hpp | 772d84e1877d876a51cb9a6a540499b8bd3f3ec5 | [] | no_license | jonigata/yamadumi | 1675431ed38082a7d9740a8d1d82a1c0df8c4f9f | 276bc97e30f2622018f263e7367f771a0f476bfc | refs/heads/master | 2021-03-12T21:50:23.589921 | 2014-09-23T13:11:43 | 2014-09-23T13:11:43 | null | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 11,455 | hpp | /*!
@file partix_rigid.hpp
@brief <概要>
<説明>
$Id: partix_rigid.hpp 252 2007-06-23 08:32:33Z naoyuki $
WARNING: このモジュールメンテナンスしてない
*/
#ifndef PARTIX_RIGID_HPP
#define PARTIX_RIGID_HPP
#include "partix_body.hpp"
#include "partix_math.hpp"
namespace partix {
template < class Traits >
class Ri... | [
"naoyuki.hirayama@gmail.com"
] | naoyuki.hirayama@gmail.com |
60a03fae8797e745d274dec1fa4ad8063b97fda8 | 5a3f67cd8126d638232204c7900dcbf9acb4f5ac | /nvxio/src/Render/GlfwUIRenderImpl.cpp | 90dd95e828205e77518545510bd13daf5944bfc6 | [] | no_license | marcgh/vovox | 45f76dd8efd6f037ae772f0c84740ecbaf2cceb5 | 92ef2f5d995de296bef04fc37744a64defe079f1 | refs/heads/master | 2021-05-01T18:38:07.767604 | 2016-10-10T15:46:47 | 2016-10-10T15:46:47 | 66,146,804 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,287 | cpp | /*
# Copyright (c) 2014-2015, NVIDIA CORPORATION. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# * Redistributions of source code must retain the above copyright
# notice, this list of cond... | [
"racicotm@gmail.com"
] | racicotm@gmail.com |
085842fb78eeb56752bf383ab477356ad3784a1a | 93c3e0b8f5bf78c4cc489a54ec567fe9dddc719a | /mwfilters_source/I_H0_8.cpp | d6def15de073e17cced20a812c78a25bca094a2c | [] | no_license | MRChemSoft/mw_data | 9953251c4f0f401bddc5229cd2df98bd2e980760 | cdd1acece5d5ce9751a7cd8475ed78d845e9d416 | refs/heads/master | 2020-09-03T16:03:14.226948 | 2019-11-04T13:14:56 | 2019-11-04T13:14:56 | 219,505,002 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,018 | cpp | /*
* MRCPP, a numerical library based on multiresolution analysis and
* the multiwavelet basis which provide low-scaling algorithms as well as
* rigorous error control in numerical computations.
* Copyright (C) 2019 Stig Rune Jensen, Jonas Juselius, Luca Frediani and contributors.
*
* This file is part of MRCPP.
... | [
"magnbjor@gmail.com"
] | magnbjor@gmail.com |
88b73a21fdfa0a790c932794593a84604afcc137 | af0f9e707ab1f762e5ba7c817f7086fa62faff75 | /pat_1026/pat_1026.cc | ec481fbd6289d86965c9e310d5eab00002431595 | [] | no_license | kresle/pat_advance | 0889e1650e23d224420024d5f2adebb2f435f1dc | c58a8a54b9659d6a75c7a867cea90ed2e5ea1b4b | refs/heads/master | 2020-05-15T11:09:25.911963 | 2019-03-13T14:54:30 | 2019-03-13T14:54:30 | 182,215,386 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,380 | cc | // 11:20 - 14:14(AC)
// 太麻烦了,这花了将近3个小时才AC掉。
// 关于时间模拟的其他几道题也是这样,尤其是cars on campus. 遇上这种题真的是只能自求多福,放在最后面做了。
// 最重大的几个失误有:
// 1. 如昨天还是前天做的某题一样,条件判断里,忘了!empty().
// 2. priority_queue,自定义比较函数的写法(和set这些是一样的,要有一个重载了括号运算符的类或者结构体,括号运算符函数用来进行比较操作)
// 3. 关于player的两个队列里,队首player是否已经被serve过,想到了要对all_qq里的进行排查,但却忘了对vip_qq里的也进行同样的排查... | [
"kmusoy@gmail.com"
] | kmusoy@gmail.com |
28fcf7f079f94519ed02b64849a99c46001a745d | 9315d9a0222dfe7963ff5eecb685051990e3c97d | /MultiSet.cpp | db5489d52eff4aa550e9f213116a42effa7d16f6 | [] | no_license | vincenicoara/cs130aProject | 428b0b6ced88e68a8da854f6f052dc2908a161fe | 9d6d34adbf49a08f05f0bb48d2941416fb22d7b6 | refs/heads/master | 2021-01-19T05:04:08.028928 | 2015-05-06T13:33:43 | 2015-05-06T13:33:43 | 35,154,084 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 405 | cpp | #include "MultiSet.h"
MultiSet::MultiSet(){
number = 0;
ptr2previousVersion = 0;
}
MultiSet *MultiSet::getptr2prev(){
return ptr2previousVersion;
}
void MultiSet::setptr2prev(MultiSet *p){
ptr2previousVersion = p;
}
int MultiSet::getNumber(){
return number;
}
void MultiSet::setNumber(int i){
number = i;
}
... | [
"vincenicoara@gmail.com"
] | vincenicoara@gmail.com |
fca8c185653204cdb3fe89b6698cee1e8c70195c | b7f3edb5b7c62174bed808079c3b21fb9ea51d52 | /chrome/browser/sync/test/integration/send_tab_to_self_helper.h | 2a243049ca44846b29557c047735abdb05fe7186 | [
"BSD-3-Clause"
] | permissive | otcshare/chromium-src | 26a7372773b53b236784c51677c566dc0ad839e4 | 64bee65c921db7e78e25d08f1e98da2668b57be5 | refs/heads/webml | 2023-03-21T03:20:15.377034 | 2020-11-16T01:40:14 | 2020-11-16T01:40:14 | 209,262,645 | 18 | 21 | BSD-3-Clause | 2023-03-23T06:20:07 | 2019-09-18T08:52:07 | null | UTF-8 | C++ | false | false | 7,620 | h | // Copyright 2019 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 CHROME_BROWSER_SYNC_TEST_INTEGRATION_SEND_TAB_TO_SELF_HELPER_H_
#define CHROME_BROWSER_SYNC_TEST_INTEGRATION_SEND_TAB_TO_SELF_HELPER_H_
#include ... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
1e66b565637ab90351632425a5cbb05e33303c7b | eea72893d7360d41901705ee4237d7d2af33c492 | /src/calorim/CsCalorimeterHist.h | 4e3702fec6c0540b4e21c806d97f5cc204a08e4e | [] | no_license | lsilvamiguel/Coral.Efficiencies.r14327 | 5488fca306a55a7688d11b1979be528ac39fc433 | 37be8cc4e3e5869680af35b45f3d9a749f01e50a | refs/heads/master | 2021-01-19T07:22:59.525828 | 2017-04-07T11:56:42 | 2017-04-07T11:56:42 | 87,541,002 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,323 | h | ////////////////////////////////////////////////////////////////////////////////
/*! \brief CsCalorimeterHist class in COMPASS experiment
Set of test histograms for COMPASS calorimeters.
Authors:
Vladimir Kolosov ( Vladimir.Kolosov@cern.ch,Kolosov@mx.ihep.su )
Alexander Zvyagin ( Alexander.Zviagin... | [
"lsilvamiguel@gmail.com"
] | lsilvamiguel@gmail.com |
35002180fe00b9dbcab72283b93b2708a5729d46 | 84643d000f9dd1e39c5c008b490b09a8956c0f02 | /purenessscopeserver/PurenessScopeServer/UDP/ReactorUDPClient.cpp | d179fe2da9b12d3768d83b6f39f5f7ce56f27ce3 | [] | no_license | rover13/purenessscopeserver | 9b7d3329a5f81c0c335e6942ff4877c0bb2f4fd8 | b7255639dd94ea6b796e6537d3260c426bea1236 | refs/heads/master | 2020-05-19T17:03:45.461934 | 2015-02-19T03:08:28 | 2015-02-19T03:08:28 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 3,900 | cpp | #include "ReactorUDPClient.h"
CReactorUDPClient::CReactorUDPClient(void)
{
m_pClientUDPMessage = NULL;
m_u4RecvPacketCount = 0;
m_u4SendPacketCount = 0;
m_u4RecvSize = 0;
m_u4SendSize = 0;
}
CReactorUDPClient::~CReactorUDPClient(void)
{
}
int CReactorUDPClient::OpenAddress(const ACE... | [
"freeeyes1226@gmail.com@f49f508c-0c2f-bbd7-3b2f-f17ad4634cb1"
] | freeeyes1226@gmail.com@f49f508c-0c2f-bbd7-3b2f-f17ad4634cb1 |
0e834c5ff03240a8d4c9617fec445d682ed5a34b | 2dcf3948c7f15743b715ddecb01414bc503e4223 | /src/test/Checkpoints_tests.cpp | 8fc10afd7961629e698f6696738c825570947d61 | [
"MIT"
] | permissive | ckti-integral-clone/wagerr | a64bddc65ecd2eaf28f192f99f142e33c0903011 | 73d51832f9886050c86c5c468dac7088b8dde275 | refs/heads/master | 2021-02-27T17:21:33.755877 | 2018-06-05T10:01:01 | 2018-06-05T10:01:01 | 245,622,373 | 0 | 1 | MIT | 2020-03-09T09:24:11 | 2020-03-07T11:43:41 | null | UTF-8 | C++ | false | false | 1,325 | cpp | // Copyright (c) 2011-2018 The Bitcoin Core developers
// Copyright (c) 2018 The Wagerr developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
//
// Unit tests for block-chain checkpoints
//
#include "checkpoints.h"
#i... | [
"tor@i2pmail.org"
] | tor@i2pmail.org |
028b84e9423a259b94e28b0c4519bf1eea0dc03a | 0e24f85ca28ccfb2db66aa6b42a84683e15c531d | /Dynamic_Programming/virtual_calling.c++ | 0ad963e2203c6f9ff362cd7fc244f41d820abbe7 | [] | no_license | huyilong/algorithm_c | 7b2a25addc2413ace0f57588c361d2399fbf5810 | fad274125ce3ef9d05a6a19166643fec8be7c923 | refs/heads/master | 2021-01-13T01:31:00.323595 | 2015-01-12T04:15:06 | 2015-01-12T04:15:06 | 28,994,553 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,198 | #include <iostream>
using namespace std;
class A{
public:
void print(){
cout<<"A non-virtual print()"<<endl;
}
virtual void vprint(){
cout<<"A virtual vprint()"<<endl;
}
};
class B:public A{
public:
void print(){
cout<<"B non-virtual print()"<<endl;
}
/*
virtual void vprint(){
cout<<"B virtual vpr... | [
"hu,yilong@wustl.edu"
] | hu,yilong@wustl.edu | |
6a98e403dc90829ea3512a7a05b76e26f542299f | d411286f27d0920710833eb2a7a81f0fa4f0bfce | /Vector3_String/String.h | b3e6adfd47c8e0f62671f79d66b3dacaf43d2057 | [] | no_license | Rubetoman/Vector3-String | 01f3fa42286acd3c6dbf8385e6fadf28ed2ead0e | dff4653b291fc666101faf5394345fbaf09a190e | refs/heads/master | 2020-03-31T05:30:33.715324 | 2018-10-11T18:29:06 | 2018-10-11T18:29:06 | 151,948,949 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 744 | h | #ifndef STRING_H
#define STRING_H
#include <iostream>
class String
{
char* str;
unsigned len;
public:
String();
String(char ch);
String(const char* ch);
String(const String& string);
~String();
unsigned length() const;
void clear();
String& operator+= (const String& s);
friend String operator+(const Strin... | [
"ruben.crispin@hotmail.com"
] | ruben.crispin@hotmail.com |
c89606ad403dc2a0e2928370be7b5cb496325bde | decee9455ad3e8024207b462eb7967f16eb5d78a | /cpp/heima/Technician.cpp | 9543255572b2b19864e83085df6a20f1b1ee733b | [] | no_license | WangDavid2012/cpp | 1106af556b475b593a94035cf0d353951d929747 | 3c371cc63d7b27766eda4dc902d0e9c9dee03ecb | refs/heads/master | 2020-12-29T16:06:52.585140 | 2020-12-05T05:03:42 | 2020-12-05T05:03:42 | 238,660,702 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 576 | cpp | #include "Technician.h"
Technician::Technician()
{
}
Technician::~Technician()
{
}
void Technician::init()
{
cout << "请输入技术人员的姓名" << endl;
cin >> this->name;
perHourMoney = 100; //技术人员每小时赚100
}
//得到员工的薪水的方法
void Technician::getPay()
{
cout << "请输入员工一个月工作了多少小时" << endl;
cin >> workHou... | [
"wangdavid2012@163.com"
] | wangdavid2012@163.com |
6058bb6736638ce962f4cb32fe545783179c9a66 | 009b24842a765658df1af377c64d3ac9a73d191a | /WonState.h | 0066e0b282332d89a9bc79b7c63d4ac5ab975ec3 | [] | no_license | jeem200/Project-Mayhem | 55d6eb1f7b7a4c78a395a4f3edee261451a38374 | 178acb0ff06d60c99b1891e4e40644ce8a056764 | refs/heads/master | 2021-05-27T21:08:11.283922 | 2012-03-15T17:20:28 | 2012-03-15T17:20:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 522 | h | #pragma once
#include "GameState.h"
#include "enums.h"
class Menu;
class WonState : public GameState
{
public:
void init(Game* game);
void cleanup();
void pause();
void resume();
void update(double dt);
void draw();
bool menuHandler(std::string name);
void handleEvents(UINT msg, WPARAM wParam, LPARAM lPara... | [
"Focusrite@Focus.(none)"
] | Focusrite@Focus.(none) |
61ff391f2eed9a1b3aaf982a26078f949d57a46e | 2b0b07242be5ea756aba992e171b43fbee9bfada | /BOJ/10254/10254.cpp | 59779e88ff2cd88f76286547e50d929c6918f912 | [] | no_license | newdaytrue/PS | 28f138a5e8fd4024836ea7c2b6ce59bea91dbad7 | afffef30fcb59f6abfee2d5b8f00a304e8d80c91 | refs/heads/master | 2020-03-22T13:01:46.555651 | 2018-02-13T18:25:34 | 2018-02-13T18:25:34 | 140,078,090 | 1 | 0 | null | 2018-07-07T11:21:44 | 2018-07-07T11:21:44 | null | UTF-8 | C++ | false | false | 3,111 | cpp | // =====================================================================================
//
// Filename: 10254.cpp
// Created: 2017년 01월 15일 02시 38분 02초
// Compiler: g++ -O2 -std=c++14
// Author: baactree , bsj0206@naver.com
// Company: Chonnam National University
//
// =======... | [
"bsj0206@naver.com"
] | bsj0206@naver.com |
a61a0f13485ab3c8cbfa1b15696efdbca05774bb | 880639d21c818bb5b9ab1f1d82da1e26bb31739d | /src/arith_uint256.h | 522dec1cde98bedd75b68d4f203b727d8fe85474 | [
"MIT"
] | permissive | jwrl/Unit | dba4c0c810df7304bbe9d52f7ad0f1ab97c1fb4c | fd8e4fdb548ca5ba33e6f22176a569a102a78f99 | refs/heads/master | 2020-12-26T22:27:41.467471 | 2020-02-01T20:21:23 | 2020-02-01T20:21:23 | 237,667,704 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 9,074 | h | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2017 The Bitcoin Core developers
// Copyright (c) 2019 The Unit Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_ARITH_UINT256_H
#d... | [
"jhones_willer@outlook.com"
] | jhones_willer@outlook.com |
a950ee7858d41730d64b45cbef2d1d40b9e095cf | cf26d4c768bb463e784b3bc227f89696a5df7db1 | /src/base58.h | 9eb27e94ee4a774713a4a320c2f23eac39f10e39 | [
"MIT"
] | permissive | beastlymac/ccoin | 3ee15406c4fe70e77a8e1351a20db3e609df921f | b1fed673a1f15436519948520b416df798a72a61 | refs/heads/master | 2021-01-01T05:35:13.616981 | 2014-01-11T18:45:10 | 2014-01-11T18:45:10 | 15,719,721 | 1 | 0 | null | 2014-09-06T01:28:18 | 2014-01-07T23:20:47 | TypeScript | UTF-8 | C++ | false | false | 13,228 | h | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Bitcoin Developers
// Copyright (c) 2011-2012 Litecoin Developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
//
// Why base-58 instead of stand... | [
"samwright@Sams-MacBook-Air.local"
] | samwright@Sams-MacBook-Air.local |
a6958413186262b0e6ac06f3fe4bfabf7385d402 | 5174ad5bd0194bafd3f4506d6271c3f620532422 | /src/core/Stringable.hpp | 3c926c11b0efd9affc96d0c4c2fe3ea76a8aab9f | [
"LicenseRef-scancode-other-permissive",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | silverweed/lifish | 48e688b12e533ce9ccd75e60afa6dd380615fd00 | 5168fb12fa9e76107e27c84dcb63a08a728f7259 | refs/heads/boom | 2023-08-17T13:46:05.829838 | 2023-08-05T19:19:59 | 2023-08-05T19:19:59 | 37,540,907 | 45 | 8 | NOASSERTION | 2022-08-29T07:54:29 | 2015-06-16T16:05:25 | C++ | UTF-8 | C++ | false | false | 152 | hpp | #pragma once
#include <string>
namespace lif {
class Stringable {
public:
virtual ~Stringable() {}
virtual std::string toString() const = 0;
};
}
| [
"silverweed1991@gmail.com"
] | silverweed1991@gmail.com |
e54cad56a08bfff9832f8b52c04b37da47a081c5 | d55d1b0114c379478d52f4001171a23c73257488 | /Ordered Data Structures/week3/GenericTree/GenericTreeExercises.h | 398eb0b043b62dcac1d969103a701fcf5f860aef | [] | no_license | ahmadsadeed/UIUC_DSA | 5f69fbe8026e9c7ee262c0019107042d2fe99f97 | 9656cc20a48de27df185546af627f9d4edefaa83 | refs/heads/main | 2023-05-11T23:06:11.307540 | 2021-05-28T06:29:48 | 2021-05-28T06:29:48 | 371,600,898 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,041 | h |
/**
* @file GenericTreeExercises.h
* University of Illinois CS 400, MOOC 2, Week 3: Generic Tree
* Spring 2019
* STUDENT STARTER FILE
*
* @author Eric Huber - University of Illinois staff
*
**/
/********************************************************************
NOTE: There are 2 exerc... | [
"sadeed.hakimi@yahoo.com"
] | sadeed.hakimi@yahoo.com |
3a76da1835c3b86162c329c940cbe14696e4d4f2 | ad5815234c32a481cec501f2bebc99a5f1653b6d | /Core/Item.h | 936ea1b8bc341bfb5052c57963639854bf5a07d7 | [] | no_license | Nielsbishere/Minopia | 02cc5f47d959e4a1b503ca7c8926aa48977e2d17 | dd3b77cf92a4c8782929c4fb2e1441fe0a4916aa | refs/heads/master | 2020-04-11T19:14:11.239791 | 2018-12-16T18:05:27 | 2018-12-16T18:05:27 | 162,027,170 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 404 | h | /*
* Item.h
*
* Created on: Sept 2, 2016
* Author: Niels
*/
#ifndef ITEM_H_
#define ITEM_H_
using namespace std;
class Item{
private:
string name;
bool universal;
public:
Item(string _name, bool _universal) : name(_name), universal(_universal){}
Item() : name(""), universal(false){}
string getName(){... | [
"n@osomi.net"
] | n@osomi.net |
7d36903e7884cd38f9247db67a63378f0ec8c7d3 | 881957082521690f71772d43e19e9f249950cc4a | /1802.cpp | 46a014be7899fac0c0ca2dca549da9f09050f937 | [] | no_license | JY1Lnz/AKOJ | afe46be4690da8d9e6975c9edf35676836e945fa | f5cb268de73e591caff6d8fb14b9eb7b256789cf | refs/heads/master | 2023-01-30T01:02:13.025281 | 2018-12-28T09:52:15 | 2018-12-28T09:52:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 751 | cpp | #include<bits/stdc++.h>
using namespace std;
struct cont
{
string name;
string num;
string sex;
};
int main()
{
ifstream cin ("test.in");
vector<cont> data;
int n;
cont tem;
cin>>n;
while(n--&&cin>>tem.name>>tem.num>>tem.sex)
data.push_back(tem);
cin>>n;
string a,b;
... | [
"2522471070@qq.com"
] | 2522471070@qq.com |
e3481127bb90b02c73d34fadca12e81d58a376ca | b12bcb039791d3523a410522403230f5404fd8de | /DesignPattern/Learning-005/Geometry.h | 6fe1b17dbe3a142018ada7f9a20a42f4f22119d9 | [] | no_license | cool-cola/leetcode | dee3bde66661d467c5a9bed4d59f765f83e9ad77 | a8b9eb879a2e88d1ce7dce71baccee1ad772a797 | refs/heads/master | 2021-01-11T03:05:27.480822 | 2017-03-09T07:54:11 | 2017-03-09T07:54:11 | 71,098,116 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 751 | h | #pragma once
#include <iostream>
struct Point
{
double X;
double Y;
Point() : X(0), Y(0) {}
};
class CRectangle
{
public:
CRectangle() : m_Width(0), m_Height(0) {}
virtual void setWidth(double vWidth) {m_Width = vWidth;}
virtual void setHeight(double vHeight) {m_Height = vHeight;}
double getWidth() const {re... | [
"1173573041@qq.com"
] | 1173573041@qq.com |
69b2ea751db8a446b4808fff3311524d4fe08e22 | 9011166b29eefb4d0fabfa087bfa97402272c5f7 | /Problem Solving Paradigms/11389 - The Bus Driver Problem/11389 - The Bus Driver Problem.cpp | 7fe97429bba95287c3e6c0d02f94fc78d6f74421 | [
"MIT"
] | permissive | matheuscr30/UVA | b6ad38e92dc75dba9c19b6c3ae335bbec5f85d96 | 2623f15de4a3948146fe4148a236d932750633b3 | refs/heads/master | 2021-03-27T18:56:08.551238 | 2019-06-07T01:14:08 | 2019-06-07T01:14:08 | 71,507,615 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 650 | cpp | #include <bits/stdc++.h>
#define endl '\n'
using namespace std;
typedef long long int ll;
main()
{
vector<ll>morning, afternoon;
ll n, d, r, num;
while(cin >> n >> d >> r && (n+d+r))
{
morning.clear();
afternoon.clear();
for(ll i = 0 ; i < n; i++){
cin >> num;
morning.push_back(num);
}
for(... | [
"matheuscunhareis30@gmail.com"
] | matheuscunhareis30@gmail.com |
d4550f8b03e9be9ab8db56fd01d9e6c4c34ab344 | be3167504c0e32d7708e7d13725c2dbc9232f2cb | /mameppk/src/emu/machine/wd7600.h | 1eabda229b516f38f852a68458b1f3a8b5de4124 | [] | no_license | sysfce2/MAME-Plus-Plus-Kaillera | 83b52085dda65045d9f5e8a0b6f3977d75179e78 | 9692743849af5a808e217470abc46e813c9068a5 | refs/heads/master | 2023-08-10T06:12:47.451039 | 2016-08-01T09:44:21 | 2016-08-01T09:44:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,803 | h | // license:BSD-3-Clause
// copyright-holders:Barry Rodewald
/*
* wd7600.h
*
* Created on: 5/05/2014
*/
#ifndef WD7600_H_
#define WD7600_H_
#include "emu.h"
#include "machine/am9517a.h"
#include "machine/pic8259.h"
#include "machine/pit8253.h"
#include "machine/ds128x.h"
#include "machine/at_keybc... | [
"mameppk@199a702f-54f1-4ac0-8451-560dfe28270b"
] | mameppk@199a702f-54f1-4ac0-8451-560dfe28270b |
cb26c1d62c669508283e64b8d9b74d2c6351173e | 49b435a9139dd0e14320de6052f967e1c81a6ecf | /pilal/include/pilal.h | 7f61c28410b870dc966c58923eb7c042f0ad9a9a | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | tunnuz/cpplex | 149f2f2db54aac64f38e1cb867ff5b6506e29838 | bd519bf9c4b176ac1269e84b72557ca1774e78eb | refs/heads/master | 2021-06-21T12:53:21.538840 | 2015-12-01T06:18:24 | 2015-12-01T06:18:24 | 3,394,173 | 14 | 4 | NOASSERTION | 2021-02-23T18:19:42 | 2012-02-09T04:13:58 | C++ | UTF-8 | C++ | false | false | 832 | h | /*
This file is part of C++lex, a project by Tommaso Urli.
C++lex is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
C++lex is distributed in ... | [
"tunnuz@gmail.com"
] | tunnuz@gmail.com |
a722cb37a65a36024e6f5577a60fe7fb2f7ff99a | 5775eb2150996990318bec38c79d59dfa2c562bc | /sprout/range/numeric/fixed/partial_sum.hpp | 4cc111602a95f2644b2cd866485b90fbbd101cdf | [
"BSL-1.0"
] | permissive | horance-liu/Sprout | 6e1e396db9e27fbc83da41270c96412cced5a767 | 8274f34db498b02bff12277bac5416ea72e018cd | refs/heads/master | 2020-04-05T14:47:12.706952 | 2018-05-29T14:09:43 | 2018-05-29T14:09:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,585 | hpp | /*=============================================================================
Copyright (c) 2011-2017 Bolero MURAKAMI
https://github.com/bolero-MURAKAMI/Sprout
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.tx... | [
"bolero.murakami@gmail.com"
] | bolero.murakami@gmail.com |
98e1fa2f379c8e4d02ee24f7615b2dc6f25bdaba | 88790b9268920b6524c3f35557cadcb1bd554ac8 | /test.cpp | 91ad81dfa1363f6d3ee661fd1b8d09b1af415247 | [] | no_license | DRGreat/testGit | f93a0d66434a54cd05a3270bdb71d5e34968ce05 | 99005a03122e3788345a5c7df7b5a95d363a87c8 | refs/heads/main | 2023-01-08T21:46:36.460677 | 2020-11-16T08:58:33 | 2020-11-16T08:58:33 | 312,754,689 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 124 | cpp | #include<stdio.h>
#include<string.h>
#include<time.h>
int n=10;
int main()
{
int n=5;
printf("%d",::n);
return 0;
}
| [
"297772967@qq.com"
] | 297772967@qq.com |
2546b47cfa0e087e58362bea6fcab2a3ad577129 | a1886f6a52c8a88043b568c6bb8ddb08bb99c6d2 | /wallet/cli.cpp | e283098a07c3ecc12a8c6903e5edad05c01342f2 | [
"Apache-2.0"
] | permissive | DUMIE505/defis | 9a03afb16f51452c522d4a5652f6d5ce2e001721 | 2676311bc0c79b556f29e282ac77b7c4bab47bbc | refs/heads/master | 2022-11-21T12:45:20.657681 | 2020-07-30T05:57:52 | 2020-07-30T05:57:52 | 283,681,973 | 1 | 0 | Apache-2.0 | 2020-07-30T05:52:32 | 2020-07-30T05:52:30 | null | UTF-8 | C++ | false | false | 67,464 | cpp | // Copyright 2018 The Beam Team / Copyright 2019 The Grimm Team
//
// 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 b... | [
"zandrewboyle@gmail.com"
] | zandrewboyle@gmail.com |
d9d82872118654170313a7c84b85e3b01cd5535f | c0f94940a229f7a077bd9a0a16bb9865d6778580 | /一週間で身につくC++問題/問題6/prob6-2/fundcalc.h | 1a0d8a335bf47ae49a17aa2881bb678bf90a1015 | [] | no_license | kmichy/c-lang-practice | c8a6215d57733e8f01b87d989d2a5115fd178e5c | 5d53375ff0e97622bce0f3b87fdaa6544d4bbcd7 | refs/heads/master | 2020-03-31T20:43:33.873719 | 2018-10-26T08:14:28 | 2018-10-26T08:14:28 | 152,552,718 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 321 | h | #ifndef _FUNDCALC_H_
#define _FUNDCALC_H_
class FundCalc{
protected:
double m_number1;
double m_number2;
public:
FundCalc();
void setNumber1(double number);
void setNumber2(double number);
double getNumber1();
double getNumber2();
double add();
double sub();
};
#endif //_FUNDCALC_H... | [
"aaaa0424pg@gmail.com"
] | aaaa0424pg@gmail.com |
e2673278301a639ac15389c1cdeda80ffcc19681 | 8865c31bec93c3ffe7d0da2dd9f298dc1d4d5dd7 | /Algorithm/Dijkstra's/boj 1753 최단 경로.cpp | 175a09b499af4c04627995440de04f84fefb1cef | [] | no_license | Erica1217/2019-1g2z-icpc | 1e3989873dcbf45881cdc8bcb3ca35b0260019a1 | 3be8797782565f631717adc147bb0acd3d848893 | refs/heads/master | 2020-07-27T09:59:32.238066 | 2019-10-02T02:11:16 | 2019-10-02T02:11:16 | 209,052,513 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,092 | cpp | #include <iostream>
#include <queue>
#include <vector>
#define Mx 9999999
using namespace std;
struct st{
int Node,Cost;
};
struct cmp
{
bool operator()(st A, st B)
{
return A.Cost>B.Cost;
}
};
int N,M,S,a,b,c,check[22000],Min[22000];
priority_queue<st,vector<st>,cmp> que;
vector< vector<st> > E(22000);
st Z,... | [
"singun11@naver.com"
] | singun11@naver.com |
db0881f990c0400725bbf1ecc14a28847ab36762 | 954e811fc3facbe3a5d348ddb856724fd0664e08 | /include/I2C_base.hpp | 995a521b49c6c0ad29471ed3c6cfec00892d7f02 | [] | no_license | DavidMonk00/UROP-CMS-com-e | 471c8e1ece93bd58e8b2c124152e04758a403f9e | d99d665f791fb2fa7fcb74ad21422940d3bc31f1 | refs/heads/master | 2021-03-30T17:01:48.362870 | 2018-04-10T14:10:44 | 2018-04-10T14:10:44 | 94,781,518 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 643 | hpp | /**
I2C_base.h
Purpose: defines I2C base class.
@author David Monk - Imperial College London
@version 1.0
*/
#pragma once
#include <cstdlib>
#include <stdio.h>
#include <stdint.h>
using namespace std;
/**
Base I2C class. Has no functionality in current state but acts as a basis for
derived I2C classes
*/
... | [
"d.g.monk0@gmail.com"
] | d.g.monk0@gmail.com |
39429cc1326509a39bc19f015363fd074e555236 | 6aba3b02d264cca52af155f5ab751b6f4f919690 | /CrustyLib/NES/Cpu6502.h | ffeea53eacf473c9d5264e3e7f31b47a0ef9c040 | [] | no_license | galenelias/CrustyNES | b8aa6d61bb0e2da13159a9ac6368c2c2fce20f2b | df2cd21e8121521ddd3b57685593b13b0cee6118 | refs/heads/master | 2020-04-14T10:01:07.706447 | 2019-06-16T02:47:44 | 2019-06-16T02:47:44 | 163,775,216 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,765 | h | #pragma once
#include <stdint.h>
#include <string>
#include "NESRom.h"
#include "..\Util\CoreUtils.h"
namespace PPU
{
class Ppu;
}
namespace NES
{
class NES;
namespace APU
{
class IApu;
}
}
namespace CPU
{
class InvalidInstruction : public std::runtime_error
{
public:
InvalidInstruction(uint8_t instructi... | [
"gelias@gmail.com"
] | gelias@gmail.com |
316af7a05a545e49b2cd6f5f2ebd1f85e06acf81 | e71a818ff8eee7b3ef74610130b02f23924c10a7 | /test/main.cpp | c3b44b2c8d2b2ea4cc490e698132c91ba05c0f52 | [
"MIT"
] | permissive | end2endzone/AnyRtttl | 8dca13436260b8d026017d10704f13612a38ca8f | 1bd707cd6ebea7bc8f840d1656b0c84959c117f8 | refs/heads/master | 2023-08-17T04:40:51.378057 | 2023-08-07T19:36:12 | 2023-08-07T19:36:12 | 151,838,849 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,020 | cpp | // ---------------------------------------------------------------------------
// AUTHOR/LICENSE:
// The following code was written by Antoine Beauchamp. For other authors, see AUTHORS file.
// The code & updates for the library can be found at https://github.com/end2endzone/AnyRtttl
// MIT License: http://www.opens... | [
"end2endzone@gmail.com"
] | end2endzone@gmail.com |
dba2846646e358154d46270d1cd0d9023a4f3670 | 732b6d1f4328fec0e6f24bd6e0bac6e601e0c666 | /BinaryTreeRayLib/AIEYear1Samples-master/CDDS_BinaryTree/TreeNode.cpp | 9a3ec1e2088bb8a64bc4a1b24524869e2fe89ed1 | [] | no_license | zuwei2/CodeDesignRepo | 1d845f8f51755b4a777a52ec38e44dd50a3eae5b | 43c0246259b850253bd35f2557d23f4e515c7fd4 | refs/heads/master | 2023-08-25T01:03:38.132694 | 2021-10-27T18:45:31 | 2021-10-27T18:45:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 465 | cpp | #include "TreeNode.h"
#include "raylib.h"
#include <string>
TreeNode::TreeNode(int value) : m_value(value), m_left(nullptr), m_right(nullptr)
{
}
TreeNode::~TreeNode()
{
}
void TreeNode::Draw(int x, int y, bool selected)
{
static char buffer[10];
sprintf(buffer, "%d", m_value);
DrawCircle(x, y, 30, YELLOW);
... | [
"50092539+Zuwei1@users.noreply.github.com"
] | 50092539+Zuwei1@users.noreply.github.com |
56450889217433909439df40ecef79e855728e03 | 605b426f3a2e3084ccb075e948b161b906d2638d | /project/Model/BST.cpp | 81fc8a1a29fb34fde5c9fb2769092a06b3de9fce | [
"MIT"
] | permissive | SummerZJU/Data-Structure-Visualization | d7847ac2bfc8c6c8490ea9fcd56bd8e0a0a35316 | b44b181f9e513a09043dd870d80b4c5503bd10ab | refs/heads/master | 2022-04-18T17:48:01.158912 | 2020-04-16T08:07:56 | 2020-04-16T08:07:56 | 140,674,892 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 16 | cpp | #include "BST.h" | [
"3160101819@zju.edu.cn"
] | 3160101819@zju.edu.cn |
682099680a6f90ff359ccd942954844105cb5e0e | 91a882547e393d4c4946a6c2c99186b5f72122dd | /Source/XPSP1/NT/printscan/faxsrv/src/test/src/xxxunusedxxx/rendercpapi/testutils.h | 13fd15f5332b5cf36b7b5588b2e02b3696bbc5b1 | [] | no_license | IAmAnubhavSaini/cryptoAlgorithm-nt5src | 94f9b46f101b983954ac6e453d0cf8d02aa76fc7 | d9e1cdeec650b9d6d3ce63f9f0abe50dabfaf9e2 | refs/heads/master | 2023-09-02T10:14:14.795579 | 2021-11-20T13:47:06 | 2021-11-20T13:47:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,299 | h | //
//
// Filename: testutils.h
// Author: Sigalit Bar (sigalitb)
// Date: 10-Jan-2000
//
//
#ifndef __TEST_UTILS_H__
#define __TEST_UTILS_H__
#pragma warning(disable :4786)
#include <iniutils.h>
#include <testruntimeerr.h>
#include <tstring.h>
#include <windows.h>
#include <crtdbg.h>
#include <TCHAR.H>
#includ... | [
"support@cryptoalgo.cf"
] | support@cryptoalgo.cf |
f64b10fe2775089c540df23118a84fd9b568c08f | 751a397a1e64d20ad2e669b67a5f05e036cf0b29 | /MyGame/Asset/DirectX/Camera/DXCamera.cpp | 493dd5c2457bd7fed4b6b49177bd9f401fb2192c | [] | no_license | YanaseTaiho/LegendOfRabbit | d81e8775fcd08b36a988981b2ca4df49a19e87a1 | 76fc73c50ceedbcaa226e48e1bfa935c2aeb8b67 | refs/heads/master | 2020-12-19T20:33:13.542843 | 2020-03-08T21:18:54 | 2020-03-08T21:18:54 | 235,841,122 | 0 | 0 | null | 2020-02-21T22:25:17 | 2020-01-23T16:52:32 | C++ | SHIFT_JIS | C++ | false | false | 4,505 | cpp | #include "DXCamera.h"
#include "../Shader/ConstantBuffer.h"
using namespace FrameWork;
DXCamera::DXCamera()
{
viewport = Rect(0, SCREEN_WIDTH, 0, SCREEN_HEIGHT);
this->nearDistance = 0.1f;
this->farDistance = 5000.0f;
}
DXCamera::DXCamera(int left, int right, int top, int bottom, float nearDistance, float farDist... | [
"taiho0423@gmail.com"
] | taiho0423@gmail.com |
24dc4bd8036cdd8cd8ed63f1482a605c49589b9a | 725c4f1b22f8fac99bb9a3706925753476abe727 | /FindDebug.cpp | 738b47ae976e7616b19ac8c16e3bf95dc98b1438 | [] | no_license | fedorrb/DeleteDebug | 597d37a3976e5a88aaac012a46718c64fcbc94b8 | e0704c311a02ccf3163d707e8ae233751b93b7d2 | refs/heads/master | 2021-01-01T19:09:30.747096 | 2017-07-27T11:21:34 | 2017-07-27T11:21:34 | 98,527,634 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,696 | cpp | #include "StdAfx.h"
#include ".\finddebug.h"
#using <mscorlib.dll>
#include "stdafx.h"
#include <iomanip>
#include <cstdlib>
#include <stdio.h>
#include <windows.h>
#include <algorithm>
#include <string>
using std::cout;
using std::cin;
using std::endl;
using std::setw;
using std::string;
//using namespace std;
FindD... | [
"elposhta@bigmir.net"
] | elposhta@bigmir.net |
9a531d4f822be5b6ff8ce45b7ff0a971bad8cd62 | 5cad8d9664c8316cce7bc57128ca4b378a93998a | /CI/rule/pclint/pclint_include/include_linux/c++/4.8.2/gnu/javax/net/ssl/provider/CertificateRequestBuilder.h | 3be6ceac1ee5e066327398cccbbadd43b088919f | [
"LicenseRef-scancode-unknown-license-reference",
"GPL-2.0-only",
"GPL-3.0-only",
"curl",
"Zlib",
"LicenseRef-scancode-warranty-disclaimer",
"OpenSSL",
"GPL-1.0-or-later",
"MIT",
"LicenseRef-scancode-other-copyleft",
"LicenseRef-scancode-openssl",
"LicenseRef-scancode-ssleay-windows",
"BSD-3-... | permissive | huaweicloud/huaweicloud-sdk-c-obs | 0c60d61e16de5c0d8d3c0abc9446b5269e7462d4 | fcd0bf67f209cc96cf73197e9c0df143b1d097c4 | refs/heads/master | 2023-09-05T11:42:28.709499 | 2023-08-05T08:52:56 | 2023-08-05T08:52:56 | 163,231,391 | 41 | 21 | Apache-2.0 | 2023-06-28T07:18:06 | 2018-12-27T01:15:05 | C | UTF-8 | C++ | false | false | 1,067 | h |
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __gnu_javax_net_ssl_provider_CertificateRequestBuilder__
#define __gnu_javax_net_ssl_provider_CertificateRequestBuilder__
#pragma interface
#include <gnu/javax/net/ssl/provider/CertificateRequest.h>
extern "Java"
{
namespace gnu
{
namesp... | [
"xiangshijian1@huawei.com"
] | xiangshijian1@huawei.com |
f5cba79dcae32a3e008fa5a62b27d554c6a3c7af | 9249be458a812dbb6762587badb47126dd79d623 | /person/Address.h | fa58cc29c7eae5c83e1966aec7b48ec86d5d1dea | [] | no_license | xiabodan/lt | d8370b683fb70ad7698ee7654bd1ce6d20a904ba | 44f931a9eb66434ab5e7c3aae9b1a80c90499849 | refs/heads/master | 2020-06-15T14:40:24.397757 | 2017-06-19T05:33:57 | 2017-06-19T05:33:57 | 75,286,084 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 257 | h | #ifndef _ADDRESS_H_
#define _ADDRESS_H_
#include <iostream>
class Address{
public:
Address(std::string s){
add = s;
}
~Address(){}
std::string getadd() const {
return add;
}
private:
std::string add;
};
#endif
| [
"hubertxia@china-liantong.com"
] | hubertxia@china-liantong.com |
015cad67ddd802cbb811d5649d96b43e074d5015 | ea8aa77c861afdbf2c9b3268ba1ae3f9bfd152fe | /cf3C/cf3C/ACMTemplete.cpp | 3b6dd919c4a52f7aacc322e68362354041903e50 | [] | no_license | lonelam/SolveSet | 987a01e72d92f975703f715e6a7588d097f7f2e5 | 66a9a984d7270ff03b9c2dfa229d99b922907d57 | refs/heads/master | 2021-04-03T02:02:03.108669 | 2018-07-21T14:25:53 | 2018-07-21T14:25:53 | 62,948,874 | 9 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 2,587 | cpp | #define _CRT_SECURE_NO_WARNINGS
#include <iostream>
#include <algorithm>
#include <vector>
#include <queue>
#include <cstdio>
#include <cmath>
#include <map>
#include <set>
#include <utility>
#include <stack>
#include <cstring>
#include <bitset>
#include <deque>
#include <string>
#include <list>
#include <cstdlib>
usin... | [
"laizenan@gmail.com"
] | laizenan@gmail.com |
9b123746346137d148b17058eb6ac6c861a0d32c | 5ebd5cee801215bc3302fca26dbe534e6992c086 | /blazetest/src/mathtest/dmatdmatadd/M5x5aMDa.cpp | 2b26141d5ce7b7e5b8e36bb2d80584df3e7a7d4d | [
"BSD-3-Clause"
] | permissive | mhochsteger/blaze | c66d8cf179deeab4f5bd692001cc917fe23e1811 | fd397e60717c4870d942055496d5b484beac9f1a | refs/heads/master | 2020-09-17T01:56:48.483627 | 2019-11-20T05:40:29 | 2019-11-20T05:41:35 | 223,951,030 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,745 | cpp | //=================================================================================================
/*!
// \file src/mathtest/dmatdmatadd/M5x5aMDa.cpp
// \brief Source file for the M5x5aMDa dense matrix/dense matrix addition math test
//
// Copyright (C) 2012-2019 Klaus Iglberger - All Rights Reserved
//
// This fi... | [
"klaus.iglberger@gmail.com"
] | klaus.iglberger@gmail.com |
27a067fd771c9a821912c0d8555e6fd51129918e | f1f5f2eaa1000d7a9723a11a1d58cdaf776f66e3 | /ZString/ZString/ZWString.h | 566e3a0237d5eb769ac8b63ccddb6b62598c58a7 | [] | no_license | j-jiwon/CPP-Study | 07543354fa4efeb123b7c986e5ce85fce965d30b | 9283d1a40f403cc77462262e6dc6667c0d21de70 | refs/heads/master | 2023-01-21T14:44:05.318746 | 2020-12-07T23:58:56 | 2020-12-07T23:58:56 | 309,212,289 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 414 | h | #pragma once
class ZWString
{
public:
ZWString();
ZWString(const wchar_t* str);
ZWString(const ZWString& str);
ZWString(ZWString&& str) noexcept;
~ZWString();
/* function */
size_t Length() const;
ZWString& Append(const wchar_t* c);
ZWString& Append(const ZWString &str);
ZWString& Erase(int pos = 0, size_t... | [
"ziwon16@gmail.com"
] | ziwon16@gmail.com |
6704cd8c577157c005130418f049a44e9aa63760 | 66f382479a46b3c3f5fe614a52baa5ef52951cec | /DuiLib/Utils/Utils.h | a7b7d8aad7edbf718b832cf8ff62a0d7498cc00a | [
"MIT"
] | permissive | fawdlstty/DuiLib_Faw | 80005af6b1e328818f66cdad47c06108c9ec2137 | f16f9913f027555640ec17eeb077c5be446681ae | refs/heads/master | 2023-08-22T22:51:58.377968 | 2023-05-03T13:13:51 | 2023-05-03T13:13:51 | 152,514,855 | 95 | 29 | NOASSERTION | 2023-08-06T15:09:06 | 2018-10-11T01:50:39 | C++ | UTF-8 | C++ | false | false | 4,039 | h | #ifndef __UTILS_H__
#define __UTILS_H__
#pragma once
#include "OAIdl.h"
#include <vector>
namespace DuiLib {
class UILIB_API CStdPtrArray {
public:
CStdPtrArray (int iPreallocSize = 0);
CStdPtrArray (const CStdPtrArray& src);
virtual ~CStdPtrArray ();
void Empty ();
void Resize (int iSize);
bool empty... | [
"f@fawdlstty.com"
] | f@fawdlstty.com |
10abd5454c03825b31d393d6086f84554d8dea67 | ebe643c45a2eb804e0a87161988397c1a63fef08 | /Entities/GEComponentLabel.h | d5ecbe1274b7558e604e5b7d81e55c26bb7fa84a | [] | no_license | arturocepeda/GameEngine | ce0800c087fe8e5a45db501376ed50cfedb3122e | 767fd57ae933edbc71591c37a3361f0acb8b1782 | refs/heads/master | 2023-05-28T08:35:52.865355 | 2023-05-20T09:28:11 | 2023-05-20T09:28:11 | 84,664,074 | 3 | 1 | null | null | null | null | ISO-8859-2 | C++ | false | false | 4,396 | h |
//////////////////////////////////////////////////////////////////
//
// Arturo Cepeda Pérez
// Game Engine
//
// Entities
//
// --- GEComponentLabel.h ---
//
//////////////////////////////////////////////////////////////////
#pragma once
#include "GEComponentRenderable.h"
#include "Rendering/GEFont.h"
#include... | [
"arturocepedaperez@gmail.com"
] | arturocepedaperez@gmail.com |
12708051daaa6797537c7b109a11906986ec1c61 | 4aadfbe9b2ad755cb0177135390cb9536fd21019 | /ursa_painting/src/ofApp.cpp | 34fb9c1b941e58373a2304a5baf543bb29b0192c | [] | no_license | zhuzhumao2011/universal-robot | c04fc240cf79c7b3825d7e980497a66c68f96ff1 | 2226e31d72edde1b96db53a6912bc64725d99552 | refs/heads/master | 2020-04-04T22:19:21.494950 | 2016-03-07T18:46:17 | 2016-03-07T18:46:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,721 | cpp | #include "ofApp.h"
//--------------------------------------------------------------
void ofApp::setup(){
drawing.setName("Drawing");
drawing.add(bNewDrawing.set("New Drawing", false));
drawing.add(bDebug.set("Debug", true));
panel.setup();
panel.add(drawing);
panel.loadFromFile("setti... | [
"bensnellstudio@gmail.com"
] | bensnellstudio@gmail.com |
f294f7176a2ce61fa9747af7896c3b522544bcf8 | a75bfdb61d2bfa20f71d2a1548188db18a8e5e6d | /Codeforces/180/a.cpp | f9df0918ca50951e458290751a9722ef8dc3de0b | [] | no_license | Ra1nWarden/Online-Judges | 79bbe269fd35bfb1b4a5b3ea68b806fb39b49e15 | 6d8516bb1560f3620bdc2fc429863a1551d60e6a | refs/heads/master | 2022-05-01T17:50:00.253901 | 2022-04-18T06:55:25 | 2022-04-18T06:55:25 | 18,355,773 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 529 | cpp | #include <cstdio>
using namespace std;
const int maxn = 1000;
int n;
char str[maxn+5];
int main() {
scanf("%d\n%s", &n, str+1);
int start, end;
char c = '.';
bool diff = false;
for(int i = 1; i <= n; i++) {
if(str[i] != '.') {
if(c == '.') {
start = i;
c = str[i];
} else if(c != str[i]) {... | [
"zihao@WangZihaos-iMac.local"
] | zihao@WangZihaos-iMac.local |
702346aed59d5e6a8cb59f327431137d362c0044 | bd1fea86d862456a2ec9f56d57f8948456d55ee6 | /000/074/762/CWE124_Buffer_Underwrite__new_char_cpy_81_bad.cpp | 58a61d6fb07f94c72c7dd0404ac03c9dc4817105 | [] | no_license | CU-0xff/juliet-cpp | d62b8485104d8a9160f29213368324c946f38274 | d8586a217bc94cbcfeeec5d39b12d02e9c6045a2 | refs/heads/master | 2021-03-07T15:44:19.446957 | 2020-03-10T12:45:40 | 2020-03-10T12:45:40 | 246,275,244 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,260 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE124_Buffer_Underwrite__new_char_cpy_81_bad.cpp
Label Definition File: CWE124_Buffer_Underwrite__new.label.xml
Template File: sources-sink-81_bad.tmpl.cpp
*/
/*
* @description
* CWE: 124 Buffer Underwrite
* BadSource: Set data pointer to before the allocated memory bu... | [
"frank@fischer.com.mt"
] | frank@fischer.com.mt |
5df12b8e74a909be53c3b352fcc81b54e85f6a58 | 16ef4e94d20f457ec1b5893a21cab6134eb8cab7 | /abstract_syntax_tree.hpp | 65fd833f499ef98b3deac975c0dd2a7f10648825 | [] | no_license | caioboffo/simple-c-compiler | 991a34578ae9fbddc226dab501e7a97b43bb1ec2 | 45fc9f9f30ab33c645b0def584c30f590071dbe7 | refs/heads/master | 2020-03-29T05:58:30.243602 | 2018-04-18T14:22:58 | 2018-04-18T14:22:58 | 149,603,808 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 517 | hpp | #ifndef ABSTRACT_SYNTAX_TREE_H
#define ABSTRACT_SYNTAX_TREE_H
#include <list>
#include <stack>
#include <llvm/IR/Module.h>
#include "codegen_context.hpp"
#include "tree_node.hpp"
using namespace llvm;
class abstract_syntax_tree : public tree_node {
codegen_context *context;
std::list<tree_node*> *nodes;
publ... | [
"caioboffo@gmail.com"
] | caioboffo@gmail.com |
340202301e2fc93fab236327c9ef72090d73e75d | aaefcb0efdb5c0b59d4c3008723949d66d28ddd9 | /Codeforces/Problemset/5A Chat Server's Outgoing Traffic/5A Chat Server's Outgoing Traffic.cpp | 415f2aa3ee1af0790e2da954eb1a430967d20b23 | [] | no_license | UtopiaBeam/competitive | cb80aaee773e215eab68f172c173e2ec857b90ff | bf445ecb56c80b35fa915ca7bf0925d398a9c4d7 | refs/heads/master | 2020-03-28T20:25:33.124594 | 2019-10-19T03:43:20 | 2019-10-19T03:43:20 | 149,068,875 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 440 | cpp | #include<cstdio>
#include<cstring>
int cnt=0,ans=0;
char a[105];
int main(){
while(gets(a)!=NULL){
if(a[0]=='+') cnt++;
else if(a[0]=='-') cnt--;
else{
int len=strlen(a);
for(int i=0;a[i];i++)
if(a[i]==':'){
ans+=cnt*... | [
"utopiabeam@gmail.com"
] | utopiabeam@gmail.com |
1802baa1b4f0fe69337e3f90c935004cd8a84de9 | 82676daf61085bec5c8028370e9feccb1f8ea7d9 | /GameGears/FlyingCameraBehavior.h | 6286e5dcf2d7dfbaab3cfe0c37185a67f4289d9e | [] | no_license | DanielMehlber/GameGears | 4b32c338e588b1c8448a436695937fcd8632ce36 | 88d588c02fd4614c320dd570a8aa52b26fc1847b | refs/heads/master | 2020-03-27T16:29:20.328759 | 2019-02-15T16:26:09 | 2019-02-15T16:26:09 | 146,786,378 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 653 | h | #pragma once
#include "BehaviorComponent.h"
#include "BehaviorComponent.cpp"
#include "Camera.h"
#include "Input.h"
class FlyingCameraBehavior : public BehaviorComponent<Camera>
{
public:
FlyingCameraBehavior();
~FlyingCameraBehavior();
void update(Camera* cam, SyncTask* task) override;
void start(Camera* cam, Sync... | [
"daniel.mehlber@outlook.de"
] | daniel.mehlber@outlook.de |
c8e94535bca4afb7112a7c105036370657a50b5b | 9be246df43e02fba30ee2595c8cec14ac2b355d1 | /dlls/ai_localnavigator.h | 77e1900eecfcc57a8750830c62e490dc6858d474 | [] | no_license | Clepoy3/LeakNet | 6bf4c5d5535b3824a350f32352f457d8be87d609 | 8866efcb9b0bf9290b80f7263e2ce2074302640a | refs/heads/master | 2020-05-30T04:53:22.193725 | 2019-04-12T16:06:26 | 2019-04-12T16:06:26 | 189,544,338 | 18 | 5 | null | 2019-05-31T06:59:39 | 2019-05-31T06:59:39 | null | WINDOWS-1252 | C++ | false | false | 1,761 | h | //========= Copyright © 2003, Valve LLC, All rights reserved. ==========
//
// Purpose:
//
//=============================================================================
#ifndef AI_LOCALNAVIGATOR_H
#define AI_LOCALNAVIGATOR_H
#include "ai_component.h"
#include "ai_movetypes.h"
#if defined( _WIN32 )
#pr... | [
"uavxp29@gmail.com"
] | uavxp29@gmail.com |
8555c30f707527152a22be8889cb1e7c97fb0a05 | c595d05172678594d49adb9cf62167184bb77228 | /Cpp_template/SensoreTemplate.h | 0fae321b85b7adaeb716407a0d7b324a5a79225e | [] | no_license | astroteo/Cpp-learn | b5f8339fe762e38173cdb8e790df3870132763e8 | 25cc8cdde6d03a91810d5d6e0af262caed6696aa | refs/heads/main | 2023-01-14T00:38:49.094814 | 2020-11-10T09:38:20 | 2020-11-10T09:38:20 | 309,624,602 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 649 | h | #ifndef SensoreTemplate_h
#define SensoreTemplate_h
#include <iostream>
#include <cstring> // string library
#include <cstdlib> // standard C library!!
#include <stdlib.h> // includes atoi
#include <vector>
#include <typeinfo> // per determinare il tipo dinamicamente passato a funzioni
#include <string.h>
using std::st... | [
"matteob.86@gmail.com"
] | matteob.86@gmail.com |
57f17259c87d06c11088eca2ee0cfadbf2c1dd2f | 95a43c10c75b16595c30bdf6db4a1c2af2e4765d | /codecrawler/_code/hdu5199/16215989.cpp | 9ed7d0f52a2e302c5eb59700cb7ee22bd7356c43 | [] | no_license | kunhuicho/crawl-tools | 945e8c40261dfa51fb13088163f0a7bece85fc9d | 8eb8c4192d39919c64b84e0a817c65da0effad2d | refs/heads/master | 2021-01-21T01:05:54.638395 | 2016-08-28T17:01:37 | 2016-08-28T17:01:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,800 | cpp | #include<cstdio>
#include<cstring>
#include<cstdlib>
#include<iostream>
#include<map>
using namespace std;
map<int,bool>mp;
const int maxn=1000000+10;
const int prime=14997;
int a[maxn],b[maxn];
typedef struct Node
{
int key;
struct Node *next;
}node,*listnode;
listnode table[prime];
void init()
{
fo... | [
"zhouhai02@meituan.com"
] | zhouhai02@meituan.com |
9772ae4832bd3b189fbf1e4c429c82170fd0b575 | e5e4d2a79185df4e6931c85fe03b2913ba736637 | /Cloud_Skeletonization/Cluster.cpp | f1358caa46717d2bd85ba9a41f1f1035a69cb9cf | [] | no_license | Phil-Smith1/Cloud_Skeletonization_3 | 5d348530c445e9101cea4e8ffb63d0403cf7b4af | 480d8e27b607bf9b6cf2232a75d473f8a33d5db0 | refs/heads/master | 2021-07-14T14:19:10.651928 | 2020-07-06T11:26:16 | 2020-07-06T11:26:16 | 179,479,939 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 178 | cpp | #include "Cluster.h"
Cluster::Cluster ( vector<Data_Pt>const& c, Point2d p, int i )
{
cloud = c;
pt = p;
interval = i;
}
Cluster::Cluster(){}
Cluster::~Cluster(){}
| [
"philsmith@Phils-MacBook-Pro.local"
] | philsmith@Phils-MacBook-Pro.local |
f45ddc8501b86645e3c3d1d0a0f0ca09c08f738b | e1b6ae6f0659cfa4ae6039702bc54731e696c73f | /单元测试/test.cpp | e7a4fb9348431066479c499411af8bccb5787672 | [] | no_license | LinghaoChan/CPP-Final-Homework | 7b1a57e5ab773203ce8a9ec8abe4dc081bcbcf90 | 7ebc815067247ad34b54dc0375a8e4e0f0b6bfba | refs/heads/master | 2022-08-30T15:04:57.213440 | 2020-05-26T11:52:44 | 2020-05-26T11:52:44 | 262,587,936 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 5,598 | cpp | #include <iostream>
#include <windows.h>
#include <stdio.h>
#include <stdlib.h>
#include <conio.h>
#include <sstream>
#include <fstream>
#include <time.h>
#include <math.h>
using namespace std;
class People{
public:
string name;
string sex;
string id;
};
class Student : public People {
private:
string college;
... | [
"Linghao_Chan@163.com"
] | Linghao_Chan@163.com |
3040435eb5beb3457a81380297d68bf1d1644525 | 9b6aae918734e909789b0d590a3258cd3ad825ca | /final/main.cpp | 85ae400bea2df1278cf0cefa5e7e7f398f3df823 | [] | no_license | eleintcroelian/graph_class_and_applications | e1aafe6c443a73047b3ceddd6f0f183b4330db81 | a564409c8fd4afb3b7319fb9db15f90aa172cc9f | refs/heads/master | 2022-08-02T14:43:12.614795 | 2020-06-01T20:51:11 | 2020-06-01T20:51:11 | 268,627,679 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 620 | cpp | #include "MinStack.hpp"
#include <cassert>
#include <iostream>
#include "reshape.hpp"
#include "symmetric.hpp"
#include "transpose.hpp"
#include "intersection.hpp"
int main()
{
MinStack<int> s;
s.push(5);
s.push(2);
s.push(100);
assert(s.size() == 3);
assert(s.min() == 2);
assert(s.top() ==... | [
"mcsimsek1@gmail.com"
] | mcsimsek1@gmail.com |
712dade4603f301e86bd66d5ee8c7bcb3f36d7f0 | e24c147b71a5ca4a5f3ceec5c15d34c0a0e118dc | /71ClimbingStairs/solution.cpp | a4cd3cdb7e01c636a1344809566c61378232929f | [] | no_license | ZhaoxingNiu/LeetCode | 160e38b53a8809701ab31627abd10d426ce79a1f | 660edf70612dad904aa293c890bf335840913c91 | refs/heads/master | 2021-05-23T06:03:49.717189 | 2018-07-01T11:08:35 | 2018-07-01T11:08:35 | 94,780,021 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 449 | cpp | class Solution {
public:
string simplifyPath(string path) {
string res,tmp;
vector<string> stk;
stringstream ss(path);
while(getline(ss,tmp,'/')){
if(tmp =="" || tmp == ".") continue;
if(tmp ==".." && !stk.empty()) stk.pop_back();
else if(tmp != "... | [
"1436179103@qq.com"
] | 1436179103@qq.com |
d769967535ec4d06ff4343a35362be1898438520 | 21f7ad6af9e2b3b88015b4a9e676835bf47f348a | /EBUCoreProcessor/include/EBUCore_1_4/metadata/ebucoreLanguage.h | 2433f85ce6a02b03b43fc2fcc3f1be09b8bc87f6 | [
"LicenseRef-scancode-warranty-disclaimer",
"Apache-2.0"
] | permissive | ebu/ebu-mxfsdk | 363535382f0bb4f70411cfa282b7498e8848c500 | d66e4b05354ec2b80365f1956f14678c6f7f6514 | refs/heads/master | 2020-04-05T00:35:11.681563 | 2017-07-12T12:55:20 | 2017-07-12T12:55:20 | 11,311,536 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,255 | h | /*
* Copyright 2012-2013 European Broadcasting Union and Limecraft, NV.
*
* 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/LIC... | [
"dieter.vanrijsselbergen@limecraft.com"
] | dieter.vanrijsselbergen@limecraft.com |
304a5bb931b5552f0f855e1c79d022a3f4f36e3a | c1cc43edc9e56072ab1aeadcb9d900700100ed6b | /hw5/debug/src/ProgramState.cpp | c5f4c7853c519811a53681afde250482e55e3849 | [] | no_license | codeon19/Data-Structures-and-Object-Oriented-Design---CSCI-104 | e23badbbb5fc47c5b24c6112ddd4fc31a8344a36 | a18f5f826319048bd210f7f42c6e5b43dd5c39b8 | refs/heads/master | 2021-01-19T02:57:41.746896 | 2016-07-21T21:05:49 | 2016-07-21T21:05:49 | 63,902,395 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,555 | cpp | #include "../lib/ProgramState.h"
#include <stdexcept>
#include <exception>
#include <iostream>
using namespace std;
ProgramState::ProgramState(int numLines){
m_numLines = numLines;
counter = 1;
line = 1;
}
int ProgramState::getLine(){
return line;
}
int ProgramState::getCounter(){
return counter;
... | [
"breck@usc.edu"
] | breck@usc.edu |
a1e74c632921960ab5c86d45e88aa641e2285261 | 9ef158aceb0fe7857225b32c769eefc7d0cbdad4 | /UntitledGame/src/ver2/CreatePointLight.h | 03dc69da7750b54fc04532d8e7e0a0c91e97b0f6 | [] | no_license | VancsodiMelinda/ProjectLaboratory | 4fb0f90a3ea0c681c67876214717fd52ae1d7d75 | 1a5dd6493ae985d55e59eee9d8f320d1199e017a | refs/heads/master | 2023-06-03T07:55:56.579820 | 2021-06-18T09:08:47 | 2021-06-18T09:08:47 | 212,203,926 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 583 | h | #pragma once
#include <iostream>
#include <glm/glm.hpp>
#include "glm/gtc/matrix_transform.hpp"
struct PointLightContainer
{
glm::vec3 position;
glm::vec3 color;
float ambientStrength;
float diffuseStrength;
float specularStrength;
float constant;
float linear;
float quadratic;
int ID;
};
class CreatePo... | [
"vancsodimeli@gmail.com"
] | vancsodimeli@gmail.com |
084dba7eab411370a6417efcda8d3a53810a5576 | 6c0e1217ce848754e29c6c1351677c53c445ad0a | /source/source/params.h | ededd2c5e3754f90cce579e05c56bd649923754a | [] | no_license | FraserThompson/drunner | d7803cc53fcc45bd3de70423ec8963f6d0ee6d8c | c115f8c77434a6422a31361a135a4aa0448b6660 | refs/heads/master | 2020-06-19T02:39:20.214560 | 2016-11-19T07:17:50 | 2016-11-19T07:17:50 | 74,924,918 | 0 | 0 | null | 2016-11-28T01:08:31 | 2016-11-28T01:08:31 | null | UTF-8 | C++ | false | false | 1,667 | h | #ifndef __PARAMS_H
#define __PARAMS_H
#include <vector>
#include <string>
#include <map>
#include "enums.h"
class params {
public:
params(int argc, char * const * argv); // pointer to a const string (poitner to a const pointer to a char).
std::string substitute( const std::string & source ) const;
const st... | [
"j@842.be"
] | j@842.be |
e5502e5845528490bd0d2a718a276c93bc216e58 | 20986b4f9533e7f16276f19b789670e6b84f59f2 | /main.cpp | b7e5e76ff7a25bc61a6ffae60dcecce6a5706b5b | [] | no_license | themostfreeboy/BlockingQueue | b6b07b7daa579e97298f467f4c3277150eb4942d | 9963f7243ee64d48729db2221f3a9bbea6bd9990 | refs/heads/master | 2022-10-20T18:23:00.116717 | 2020-06-20T16:35:09 | 2020-06-20T16:35:09 | 268,216,560 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,373 | cpp | #include <iostream>
#include <thread>
#include <vector>
#include <csignal>
#include <string>
#include <unistd.h>
#include <sstream>
#include <stdlib.h>
#include <time.h>
#include <atomic>
#include "blocking_queue.h"
// push队列操作线程数
const static int PUSH_THREAD_NUM = 5;
// pop队列操作线程数
const static int POP_THREAD_NUM = 50... | [
"361425474@qq.com"
] | 361425474@qq.com |
fa87dd0b35b8d6f5057b81fcb70ef78403941d71 | d664a873d35a77179c5803ba1e04683b58b26aa8 | /ASS_TemplateMeta/Part 1_expression templates/main.cpp | 7cf22408c1f6d1c6ad9c52dea7429942e78460f8 | [] | no_license | luckyuro/MyShits | 5aee6d675ee37341aff69aa4697dbadca4c15fd8 | 4f43d15f8d6d60814c8bd2b23d344a089aa70346 | refs/heads/master | 2021-07-12T19:49:47.608915 | 2017-10-15T11:55:24 | 2017-10-15T11:55:24 | 107,007,729 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 469 | cpp | //
// Created by zodiac on 30/04/17.
//
#include <cstdio>
#include "intalu.hpp"
int main()
{
// Equation: (x + 4)(x - 7)
Variable x('x');
Number num4(4);
Number num7(7);
auto eq = (x+num4)*(x-num7);
printf("Test (x + 4)(x - 7)\n");
printf("x = %d. Output = %d\n", 4, eq.eval(4));
printf("... | [
"abbform@gmail.com"
] | abbform@gmail.com |
9e6f440cf2f8dc3228b6e899822e1c432c7031aa | 353ff88bd407cbc8265ce5cc403c889cbf2b1966 | /c++ prog/Untitled57452.cpp | 864c6356c4aba6617953ad1e689d7259a947b1ed | [] | no_license | EnezMutluoglu/1st-class-coding | 00c25432a3224698a477c68eb3a81baffd248f49 | c288885442e5c50b833f117d453cd34185fe4de9 | refs/heads/main | 2023-08-11T02:15:40.903215 | 2021-10-06T18:27:18 | 2021-10-06T18:27:18 | 414,326,752 | 0 | 0 | null | null | null | null | ISO-8859-9 | C++ | false | false | 179 | cpp | #include <iostream>
using namespace std;
int main()
{
int a,b,c;
c=0;
cout<<"Lütfen Toplanılacak sayıyı girin";
cin>>a;
while(b<=a){
b+=2;
c=c+b;}
cout<<c;
}
| [
"44931036+EnezMutluoglu@users.noreply.github.com"
] | 44931036+EnezMutluoglu@users.noreply.github.com |
f135eab5e10ad0d1f0887a8a11bcdb15ce64c88a | 38567f7ed1117c623ef58e864f1074a2221ea987 | /src/headers/sybie/datain/datain.hh | 2f09141e42add72fb3574baaeb17c9cc6525344c | [] | no_license | iampaopaoyu/portrait | 0147d1a3b064093702dd3cb46a4fddb688e75dd5 | 1c4426d1dee86dcdf7b10b0be4928457126f3f3f | refs/heads/master | 2021-05-28T03:29:56.437932 | 2014-08-01T07:36:17 | 2014-08-01T07:36:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 598 | hh | //datain.hh
//获取嵌入到程序里的数据
#ifndef INCLUDE_SYBIE_DATAIN_DATAIN_HH
#define INCLUDE_SYBIE_DATAIN_DATAIN_HH
#include <string>
namespace sybie {
namespace datain {
//根据数据ID(可能是文件名)获取源数据。
std::string Load(const std::string& data_id);
//从is读取文本数据并解码成数据源。is必须时可随机访问的。
std::string LoadOnStream(std::istream& is);
//将储存在data... | [
"liuchang@qvod.com"
] | liuchang@qvod.com |
954f20f42b59999d0c8bc75b0957cb91b6b0af60 | 0f8a96150828755edcde8408cace57760ecc73dd | /Data Structures/Heap/heap.cpp | 0e7e45911734a750db08831ba015107e021993ca | [] | no_license | A5hi5hKujur/Competitive-Programming-MNNIT | 082ed0a04fcf81589e571b7955264a129b3befb6 | dbc23f13d8c3e94e0008a7cd5bdf32f9f0f486ad | refs/heads/master | 2021-09-28T04:51:02.851181 | 2021-09-27T09:29:27 | 2021-09-27T09:29:27 | 242,378,745 | 5 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 8,141 | cpp | /*
Heap : A complete Binary Tree.
Max-Heap: Root node must be GREATEST among all of it’s children.
The same property must be recursively true for all sub-trees in that Binary Tree.
Min-Heap: Root node must be MINIMUM among all of it’s children.
The same property must be recursively true for all sub... | [
"ashish.xenon@gmail.com"
] | ashish.xenon@gmail.com |
aa60810250e1d52255bb49fad1bb6c0e5f2922c6 | dd949f215d968f2ee69bf85571fd63e4f085a869 | /kth/tags/withbinder090813/subarchitectures/vision.sa/src/c++/vision/components/ObjectTracker/include/Timer.h | b9556a18420ff5fa93cd14d7c48d6d4d63b2dd78 | [] | no_license | marc-hanheide/cogx | a3fd395805f1b0ad7d713a05b9256312757b37a9 | cb9a9c9cdfeba02afac6a83d03b7c6bb778edb95 | refs/heads/master | 2022-03-16T23:36:21.951317 | 2013-12-10T23:49:07 | 2013-12-10T23:49:07 | 219,460,352 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,247 | h | #ifndef TIMER_H
#define TIMER_H
#pragma once
// ***********************************************************************************
// WINDOWS FUNCTIONS
#ifdef _WIN32
#include <windows.h>
class Timer
{
private:
LONGLONG m_StartTicks; // QueryPerformance - Ticks at application start
LONGLONG m_EndTicks... | [
"krsj@9dca7cc1-ec4f-0410-aedc-c33437d64837"
] | krsj@9dca7cc1-ec4f-0410-aedc-c33437d64837 |
6e44e492003451bd263c31cbad96709585e48341 | 51568a4a03a3fd34fd17ad41b0f9a23e10b96f8a | /Example-Project/Chicago-ETL-Processes/Notebooks/libspatialindex-1.8.5/src/mvrtree/Index.h | c95addafb829c178a7a3dc331c64f2cdaa2ff5e7 | [
"FSFUL",
"LGPL-2.0-or-later",
"LGPL-2.1-only",
"MIT",
"LGPL-2.0-only"
] | permissive | varunrao/amazon-sagemaker-architecting-for-ml | a83ea6b897846d50c38443c263edca70e75db68e | 076308379ba691933cdcd0f52187b2674798a61e | refs/heads/master | 2020-05-17T12:06:13.149237 | 2019-04-30T19:16:20 | 2019-04-30T19:16:20 | 183,701,848 | 1 | 2 | MIT | 2019-04-26T22:35:57 | 2019-04-26T22:35:56 | null | UTF-8 | C++ | false | false | 2,910 | h | /******************************************************************************
* Project: libspatialindex - A C++ library for spatial indexing
* Author: Marios Hadjieleftheriou, mhadji@gmail.com
******************************************************************************
* Copyright (c) 2002, Marios Hadjielef... | [
"ec2-user@ip-172-16-58-74.ec2.internal"
] | ec2-user@ip-172-16-58-74.ec2.internal |
0f2d408474ce397a675814e654fad0bca4a7b4e8 | 9fad4848e43f4487730185e4f50e05a044f865ab | /src/ash/shell/shell_delegate_impl.cc | 0671bf6127a44c63770e1637c717ac388ef29887 | [
"BSD-3-Clause"
] | permissive | dummas2008/chromium | d1b30da64f0630823cb97f58ec82825998dbb93e | 82d2e84ce3ed8a00dc26c948219192c3229dfdaa | refs/heads/master | 2020-12-31T07:18:45.026190 | 2016-04-14T03:17:45 | 2016-04-14T03:17:45 | 56,194,439 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,272 | 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 "ash/shell/shell_delegate_impl.h"
#include "ash/accessibility_delegate.h"
#include "ash/app_list/app_list_shower_delegate_factory.h"
#includ... | [
"dummas@163.com"
] | dummas@163.com |
73857e2b014b1b6cffd254d99f1ffd68b1fb1a35 | 07327b5e8b2831b12352bf7c6426bfda60129da7 | /Include/10.0.14393.0/um/winnt.h | 78904ef51dc0c69a0b42ae6e8830e8015b0818ea | [] | no_license | tpn/winsdk-10 | ca279df0fce03f92036e90fb04196d6282a264b7 | 9b69fd26ac0c7d0b83d378dba01080e93349c2ed | refs/heads/master | 2021-01-10T01:56:18.586459 | 2018-02-19T21:26:31 | 2018-02-19T21:29:50 | 44,352,845 | 218 | 432 | null | null | null | null | UTF-8 | C++ | false | false | 696,203 | h | /*++ BUILD Version: 0073 Increment this if a change has global effects
Copyright (c) Microsoft Corporation. All rights reserved.
Module Name:
winnt.h
Abstract:
This module defines the 32-Bit Windows types and constants that are
defined by NT, but exposed through the Win32 API.
Revisio... | [
"trent@trent.me"
] | trent@trent.me |
79fec17877123fd0a9bf0ef0c408c2837b28d307 | f3f0f91a63558b803ec1f150165aa49e093808f9 | /general/UserParameters.cpp | 82abe9c6baf9ee8ecabfa6c9b86e0626a7b630d6 | [] | no_license | kimmensjolander/bpg-sci-phy | 5989c2030e6d83b304da2cf92e0e7f3eb327e3b4 | fefecd3022383dc7bad55b050854e402600164ec | refs/heads/master | 2020-03-29T12:26:33.422675 | 2010-10-18T21:46:41 | 2010-10-18T21:46:41 | 32,128,561 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,117 | cpp | #include "UserParameters.h"
namespace sciphy
{
UserParameters::UserParameters()
{
// set all default params here
// . is the gap character for insert state in SAM alignment
aminoAcidCodes = "ACDEFGHIKLMNPQRSTVWY-BUXZacdefghiklmnpqrstvwy.";
mixtureName = "recode4";
minOverlap = 10;
... | [
"glen.r.jarvis@gmail.com@ed72bfb6-bbaa-95bc-2366-9432bd51d671"
] | glen.r.jarvis@gmail.com@ed72bfb6-bbaa-95bc-2366-9432bd51d671 |
d0117d23a66077faee8251009ae1ccfb2aabdbc7 | a42684a98a664b8d9c970216e960f05208b88b16 | /tests/graph_write_test.cc | 5305e6461ff3f61017b4fdd96572ed9686380994 | [] | no_license | selvaggi/fcc-edm | b3c65ecc0366b964d8e77a20ff6baab60448483c | 553fde3534219f4bcf262be5db54b002d7a4294d | refs/heads/master | 2021-01-12T12:20:36.647944 | 2017-04-08T11:56:22 | 2017-04-08T11:56:22 | 72,449,164 | 0 | 0 | null | 2016-10-31T15:18:45 | 2016-10-31T15:18:45 | null | UTF-8 | C++ | false | false | 1,536 | cc | // Data model
#include "datamodel/MCParticleCollection.h"
#include "datamodel/LorentzVector.h"
#include "datamodel/GenVertexCollection.h"
// STL
#include <iostream>
#include <vector>
// podio specific includes
#include "podio/EventStore.h"
#include "podio/ROOTWriter.h"
// prepares a file with particles that have a ... | [
"joschka.lingemann@cern.ch"
] | joschka.lingemann@cern.ch |
70aa563ac96dff79c2d7b0be7894dc9e9e319904 | 0a94ab4f5be63c487403d45b271855e98bfe55aa | /hvector.h | 7afe85aef150c3f00790712fdd98b37dee0eb4b9 | [] | no_license | skyformat99/STLCodes | ffdc7caa15c6a131bf4bb18f1a8aba04d324c21d | 2402e35d60f5bc7e8018f0d9e9187d5520f09629 | refs/heads/master | 2021-07-08T00:58:17.893755 | 2017-10-05T02:24:18 | 2017-10-05T02:24:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,088 | h | // #ifndef _HVECTOR_H
// #define _HVECTOR_H
#pragma once
#include <iostream>
#include <assert.h>
namespace hzh
{
template<class T>
class hvector
{
public:
typedef T value_type;
typedef T* pointer;
typedef T& reference;
typedef const T& const_reference;
typedef size_t size_type;
hvector() : start(NULL), fini... | [
"1017794157@qq.com"
] | 1017794157@qq.com |
5116865889ec1f02bfcc454758a4da4f993368dc | f9445088e71e9b569c85fc0d5ce285bcb78cb9c0 | /windows程序设计/CODE/55网络编程/完成端口/D3DXCreateText/d3dUtility.h | ae92b816c4d42606ac474e1f22090e68badc9f0f | [] | no_license | EasonLLL/Study-Resource-in-WHU-CS | c3caea5d7cbcc12bd64bc7def237bd83651aa6bd | c2ff338ad8fc4e4290f21cf3a071ad69d88eeea2 | refs/heads/master | 2022-04-12T21:49:21.221083 | 2020-03-24T14:37:44 | 2020-03-24T14:37:44 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,589 | h | //////////////////////////////////////////////////////////////////////////////////////////////////
//
// File: d3dUtility.h
//
// Author: Frank Luna (C) All Rights Reserved
//
// System: AMD Athlon 1800+ XP, 512 DDR, Geforce 3, Windows XP, MSVC++ 7.0
//
// Desc: Provides utility functions for simplifying common task... | [
"YAOXL819@outlook.com"
] | YAOXL819@outlook.com |
c6727fb34a3a3a90ed9048234c46f5cc205b1601 | 1552c4ff2dff8d8ab42ab33f3b7e53fe3c246681 | /arduino/Range.h | 10f9dae3ca94689f93ab076a3b23d7d5708a3c60 | [] | no_license | benreid24/Rover | 3d2d0f8f021c6a17495f1232c8368caad3efb7e5 | 68837f1c967040371e7e954b42d8abf038a141e5 | refs/heads/master | 2020-04-08T22:11:05.000570 | 2019-09-29T17:43:02 | 2019-09-29T17:43:02 | 159,775,765 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 657 | h | #ifndef RANGE_H
#define RANGE_H
namespace Range {
enum ProxCheck {
Clear = 0,
UnderSixInches = 1,
UnderFourInches = 2,
ImpactIminent = 3,
Blocked = 4
};
bool init();
/// Returns the range detected by the short range ir sensor in inches
double shortRangeIr();
///Returns the range detected by infrared in i... | [
"reidben24@gmail.com"
] | reidben24@gmail.com |
407b79ac1214ffef03d3326355f7578e1eba57b2 | d73cf4af65fffc16c2326281fb7de3344566d6a1 | /TVM/IssueSectionDlg.h | db300116b3d7918d071a4e4704b0bc1d9bdd8457 | [] | no_license | yongchaohu/WH_DEVICE | c3299ddd63ff15ca5ba3fa476cb90eee01ddb541 | 5212d3b15dfcf5a542c0936ebf0e72ed66b85d05 | refs/heads/master | 2020-05-27T20:38:35.562316 | 2019-06-24T03:02:29 | 2019-06-24T03:02:29 | 188,782,571 | 0 | 0 | null | 2019-05-27T06:18:48 | 2019-05-27T06:18:48 | null | GB18030 | C++ | false | false | 1,433 | h | #pragma once
#include "OperationDlg.h"
#include "IssueSvc.h"
#include "ButtonGroup.h"
/**
@brief 售票区段选择画面
*/
//区段的编码0x11FF.;
#define LINE_AREA_CODE 0x11FF
class CIssueSvc;
class CIssueSectionDlg : public CReceptionDlg
{
DECLARE_DYNAMIC(CIssueSectionDlg)
DECLARE_MESSAGE_MAP()
public:
CIssueSectionDlg(CServi... | [
"1017943468@qq.com"
] | 1017943468@qq.com |
aaf29ec39bdcf28835061c5ba8b6c80da3826975 | a26ef769b3de60c3325c6f5c8ab833265e7f44c3 | /The Knight V2/The Knight V2/WorldManager.cpp | 1902d00e227d8478dd405d6bd3561464561afdaa | [] | no_license | kimi28/SchoolProject | 6f11e77a792e2a98d3f6d927637bbbca84f975cc | dc51b1ca476700b0df9c3050a4a1f0066f2127f8 | refs/heads/master | 2021-01-20T09:17:11.743780 | 2018-04-26T02:27:35 | 2018-04-26T02:27:35 | 90,233,859 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 721 | cpp | #include "WorldManager.h"
#include "MainCharacter.h"
#include "Monster.h"
WorldManager::WorldManager()
{
}
void WorldManager::Attack(MainCharacter * mainCharacter, Monster * monster)
{
Character* character[count];
character[0] = mainCharacter;
character[1] = monster;
int currentTurn = 0;
while (true) {
Char... | [
"kimhaidong28@gmail.com"
] | kimhaidong28@gmail.com |
b9d02f2c6c1cbdb1cadc202560171f854673b821 | e3e6fc037f47527e6bc43f1d1300f39ac8f0aabc | /google/devtools/source/v1/source_context.pb.h | 0869ba58e278e3b40d6f62485e2355128e875946 | [] | no_license | msachtler/bazel-event-protocol-parser | 62c136cb1f60f4ee3316bf15e1e5a5e727445536 | d7424d21aa0dc121acc4d64b427ba365a3581a20 | refs/heads/master | 2021-07-05T15:13:19.502829 | 2017-09-24T04:15:16 | 2017-09-24T04:15:16 | 102,999,437 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 119,069 | h | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/devtools/source/v1/source_context.proto
#ifndef PROTOBUF_google_2fdevtools_2fsource_2fv1_2fsource_5fcontext_2eproto__INCLUDED
#define PROTOBUF_google_2fdevtools_2fsource_2fv1_2fsource_5fcontext_2eproto__INCLUDED
#include <string>
#include ... | [
"matt.sachtler@gmail.com"
] | matt.sachtler@gmail.com |
f3c976bcd18777f5a789c69cfe701cbb8aa25c8f | 291e73a8eb9b7b8ee00e4bccb67c5a2f879ed804 | /Jung-jaeho/실패율.cpp | af9dcaa574dc1e9e9b70da0782827b9b2a84de3e | [] | no_license | sejong-algorithm/Study | 7ce16fdd1318c1b1f2810fd434df9022ed26a17b | 6df92a22d3b8d59a3f5e0aa4555b8dd8d0e1b768 | refs/heads/master | 2020-12-04T19:08:58.123192 | 2020-11-22T08:30:22 | 2020-11-22T08:30:22 | 231,876,773 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,056 | cpp | #include <iostream>
#include <string>
#include <vector>
#include <algorithm>
using namespace std;
bool cmp(pair<double, int> p1, pair<double, int> p2){
if(p1.first == p2.first) return p1.second < p2.second;
else return p1.first > p2.first;
}
vector<int> solution(int N, vector<int> stages){
vector<int> an... | [
"wjdwogh1115@daum.net"
] | wjdwogh1115@daum.net |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.