blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 7 100 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 260
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 11.4k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 17
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 80
values | src_encoding stringclasses 28
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 8 9.86M | extension stringclasses 52
values | content stringlengths 8 9.86M | authors listlengths 1 1 | author stringlengths 0 119 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
bf0e5115c3515aafd6db99996ca1dd05b008fd9a | 8e989f9e239f75b599340e2fa491cb1a35d76c25 | /GammaRay/Scene/Components/3D/Mesh.h | c315af43bdc37f968f829f90c4fcc46b96e10982 | [] | no_license | WiggleWizard/GammaRay | 3a9dba92140f85583efcb7d6cc29966dd845b924 | 79df013c1f44f474313f96627d9d5032921005b5 | refs/heads/master | 2023-02-21T04:15:33.888504 | 2021-01-18T19:49:00 | 2021-01-18T19:49:00 | 324,452,068 | 2 | 1 | null | 2021-01-05T23:42:19 | 2020-12-26T00:01:10 | C++ | UTF-8 | C++ | false | false | 347 | h | #pragma once
#include "Core/Object/Component.h"
#include <memory>
class VertexBuffer;
class IndexBuffer;
class VertexArray;
struct ComponentMesh3D : public Component
{
std::shared_ptr<VertexBuffer> vertices = nullptr;
std::shared_ptr<IndexBuffer> indices = nullptr;
std::shared_ptr<VertexArray> ... | [
"1405402+WiggleWizard@users.noreply.github.com"
] | 1405402+WiggleWizard@users.noreply.github.com |
36a3fd69508c7cd5b45cd18e2fb50f4137fa6089 | ba1c94f6272d4a94726c7719ec71247bf58bdbf9 | /src/quicksort.hpp | d4a4e362296ffe96ca736931cd1f636e70818a4d | [] | no_license | jptbrandao/Master-Thesis | 23bc496f6e2c13f90a716d733bf5a4e147c68227 | 1e0b8d0775d3f50740947670993952e1817c2346 | refs/heads/master | 2020-04-10T02:57:10.870772 | 2018-12-07T02:21:48 | 2018-12-07T02:21:48 | 160,756,667 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 516 | hpp | #ifndef quicksort_hpp
#define quicksort_hpp
#include <vector>
#include "DataStructures/Data.hpp"
#include "DataStructures/Solution.hpp"
using namespace std;
int customSort(Data &myD, vector<double> &v, int low, int high, Solution &candidate);
void printVector(vector<double> &v, int start, int end);
void greedyStron... | [
"brandao@Joaos-MacBook-Pro-2.local"
] | brandao@Joaos-MacBook-Pro-2.local |
c88bd3c98880a42aeffa264568274391dbf32461 | 9d364070c646239b2efad7abbab58f4ad602ef7b | /platform/external/chromium_org/gpu/command_buffer/service/query_manager.h | d8a9f4c959ff8691985a61bfb8e6b57340ba706e | [
"BSD-3-Clause"
] | permissive | denix123/a32_ul | 4ffe304b13c1266b6c7409d790979eb8e3b0379c | b2fd25640704f37d5248da9cc147ed267d4771c2 | refs/heads/master | 2021-01-17T20:21:17.196296 | 2016-08-16T04:30:53 | 2016-08-16T04:30:53 | 65,786,970 | 0 | 2 | null | 2020-03-06T22:00:52 | 2016-08-16T04:15:54 | null | UTF-8 | C++ | false | false | 4,683 | 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 GPU_COMMAND_BUFFER_SERVICE_QUERY_MANAGER_H_
#define GPU_COMMAND_BUFFER_SERVICE_QUERY_MANAGER_H_
#include <deque>
#include <vector>
#include "... | [
"allegrant@mail.ru"
] | allegrant@mail.ru |
f73f649e75e88cee5c91b4e44019f0e1c418c600 | 1843944284aa420e90f634714e8406e96ca84914 | /Tupleple.hpp | e4d24976c6891bc4fc1246cc68e6a1e1189ba1d6 | [] | no_license | Fuyutsubaki/Logic | 8e664c2d5caebc2f8ced208fcb90fc41fdc80860 | 93b8499af245bb8df3602a53a66cc6dd551178ee | refs/heads/master | 2020-06-26T09:02:25.501975 | 2014-02-19T15:10:38 | 2014-02-19T15:10:38 | null | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 6,471 | hpp | #pragma once
namespace tupleple
{
template<class T, class ...R>
auto cons(const T&lhs, const std::tuple<R...>&rhs)
->decltype(std::tuple_cat(std::make_tuple(lhs), rhs))
{
return std::tuple_cat(
std::make_tuple(lhs)
, rhs);
}
template<class T, class ...R>
auto cons_back(const std::tuple<R...>&lhs, const... | [
"pushrunkey@gmail.com"
] | pushrunkey@gmail.com |
c0c46eba182d0850d9690bce1a294a22f6e545b4 | a07fd48cbaca980b51291360dcd81565a8bd934c | /LeetCode/easy/788_RotatedDigits.cc | 3a24526085f70400f9f24fcf6fcd52bd733034be | [] | no_license | autyinjing/OJ | 710ac21f44cfe2edd58c55ba339d4fc1441ed6ba | 4a5935ba00c9ccf1c2bb2b8c4939dd672b71aad1 | refs/heads/master | 2020-04-05T22:48:09.327856 | 2018-11-06T13:55:32 | 2018-11-06T13:55:32 | 42,866,291 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 510 | cc | class Solution {
public:
int rotatedDigits(int N) {
int ret = 0;
for (int i = 1; i <= N; ++i)
if (isGoodNum(i)) ++ret;
return ret;
}
bool isGoodNum(int num) {
int v = 0, n = num, pow = 1;
int help[10] = {0,1,5,-1,-1, 2,9,-1,8,6};
while (n) {
... | [
"autyin@123u.com"
] | autyin@123u.com |
981ee24213db769c625d1a35b02b859f6dbe0543 | c577fb9a250ef8c5b2a687302024262762b9e566 | /test/test/main1.cpp | fafd37cd0f81a4099e0a5d57f632b7dceae80cf0 | [] | no_license | Wilingpz/sunny | 8c37df85865385d0c697b125f36086344707b715 | 5d8138ee0030166ef9e61a9dc58e043d3bfa44c2 | refs/heads/master | 2021-06-13T17:47:53.901751 | 2021-04-13T11:58:42 | 2021-04-13T11:58:42 | 178,678,425 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 593 | cpp | #include<iostream>
#include<string>
#include<vector>
using namespace std;
void screen(vector<char>&old, vector<char>&newo)
{
int flag;
for (int i = 0; i < old.size();i++)
{
flag = 1;
for (int j = 0; (j<newo.size() && j < i); j++)
{
if (old[i] == newo[j])
{
flag = 0;
}
}
if (flag)
{
newo.... | [
"1874078207@qq.com"
] | 1874078207@qq.com |
a00cbe7550da9e55346a53c0dc134b0a2e8459a1 | cfeac52f970e8901871bd02d9acb7de66b9fb6b4 | /generated/src/aws-cpp-sdk-quicksight/include/aws/quicksight/model/BarChartOrientation.h | 04e006fe48fe00842aa6be045aac47d7b65583c4 | [
"Apache-2.0",
"MIT",
"JSON"
] | permissive | aws/aws-sdk-cpp | aff116ddf9ca2b41e45c47dba1c2b7754935c585 | 9a7606a6c98e13c759032c2e920c7c64a6a35264 | refs/heads/main | 2023-08-25T11:16:55.982089 | 2023-08-24T18:14:53 | 2023-08-24T18:14:53 | 35,440,404 | 1,681 | 1,133 | Apache-2.0 | 2023-09-12T15:59:33 | 2015-05-11T17:57:32 | null | UTF-8 | C++ | false | false | 704 | h | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/quicksight/QuickSight_EXPORTS.h>
#include <aws/core/utils/memory/stl/AWSString.h>
namespace Aws
{
namespace QuickSight
{
namespace Model
{
enum class BarChartOrientation
... | [
"sdavtaker@users.noreply.github.com"
] | sdavtaker@users.noreply.github.com |
b06da4944feca1cefc5cc01f9d8fb01229b17b0f | 2fd79bef54d5ed3ced0cedc42db9ecafcacc0937 | /gbUI/sources/table_view.h | 62dab161a99c29986a4ecca147319b3fc557098e | [] | no_license | codeoneclick/game-box | aea6bc479f89c543e80e90af647775e1ac567954 | c962634b86a59c7d096e9d4bb1a96419272f4315 | refs/heads/master | 2023-02-22T10:49:58.396769 | 2017-05-25T13:57:26 | 2017-05-25T13:57:26 | 49,065,778 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,434 | h | //
// table_view.h
// gbUI
//
// Created by sergey.sergeev on 1/15/16.
// Copyright © 2016 sergey.sergeev. All rights reserved.
//
#ifndef table_view_h
#define table_view_h
#include "control.h"
#include "input_context.h"
namespace gb
{
namespace ui
{
class table_view : public control
... | [
"sergey.sergeev.oneclick@gmail.com"
] | sergey.sergeev.oneclick@gmail.com |
afa846f7fa69961cb3b46abb00b4e3fcef183832 | 2bf4c3a5bb22ef7fa7f609801ef4bf45b34251c5 | /FA(2차원배열)/방배정1.cpp | 4f2edc4d6c64a11d668037ceb71058ac74c3587c | [] | no_license | tndud042713/basic_c_FA-2- | ceeeeed16363c60b20c7b427f77c7f42e2ac8a8b | a577f61ece1c83bd7c81714d6ff7adba5dc29dbe | refs/heads/main | 2022-12-23T23:26:41.744717 | 2020-10-05T05:12:53 | 2020-10-05T05:12:53 | 301,298,219 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 371 | cpp | //#include<stdio.h>
//#include<math.h>
//
//int b[2][7];
//int main(void){
// int sex,Class,n,k,i,j,Sum=0;
//
// scanf("%d %d", &n, &k);
// for(i=1;i<=16;i++){
// scanf("%d %d",&sex, &Class);
// b[sex][Class]++;
// }
//
// for(i=0;i<2;i++){
// for(j=0;j<7;j++){
// Sum+=ceil(b[i][j]/(double)k);
// ... | [
"noreply@github.com"
] | noreply@github.com |
4435f054c90278153825cae8a5c89fc600ea057c | 2b3b00c2f776eb13cb2e09f8e1d69a5828b34513 | /visitorlatex.hpp | c25427c59fe69af68bbed9bf70cb9533f87f6da7 | [] | no_license | GilbertH72/CS100-Lab8 | d6e47b42b3193adaf6ff596f9a8a289e653d2656 | e2a7a2672454bf5bace77d37a1f6a95d2d2bd707 | refs/heads/master | 2023-06-03T17:30:14.203973 | 2021-05-25T19:14:24 | 2021-05-25T19:14:24 | 378,597,842 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,656 | hpp | #ifndef __VISITOR_LATEX_HPP__
#define __VISITOR_LATEX_HPP__
#include "iterator.hpp"
#include "visitor.hpp"
#include "base.hpp"
#include "op.hpp"
#include "mult.hpp"
#include "add.hpp"
#include "sub.hpp"
#include "pow.hpp"
#include "rand.hpp"
#include "div.hpp"
#include <string>
class VisitorLaTeX : public Visitor {
p... | [
"gilbert4slips@gmail.com"
] | gilbert4slips@gmail.com |
70dd5b785eedd0bd76ef1f634a93ff271f59919c | 0389bb4a95fde8d4aba994d7c0bd7d595cbd9eda | /lab04/Shapes/CSolidShapeBase.cpp | 8d6ed69f48e747be413a816c584c961c874b25a0 | [] | no_license | Bariskas/oop | 715afafd27c4d9586932480056b6f8429d2f77ea | 7fd21acc9ca48bb9f2192b0fa1ca73e417dec4ab | refs/heads/master | 2021-01-18T02:01:23.838417 | 2017-01-20T22:45:51 | 2017-01-20T22:45:51 | 68,470,845 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 452 | cpp | #include "stdafx.h"
#include "CSolidShapeBase.h"
using namespace std;
CSolidShapeBase::CSolidShapeBase(string outline, string fillColor)
: CShapeBase(outline)
, m_fillColor(fillColor)
{
}
string CSolidShapeBase::GetFillColor() const
{
return m_fillColor;
}
std::string CSolidShapeBase::ToString() const
{
r... | [
"Bariskas@gmail.com"
] | Bariskas@gmail.com |
6913c55f2295fef69986f79fe26c706b0f3b6c70 | 9d0d9492c12b3e88303c87134d6c0536e727b34f | /t94_call_member_function_at_rvalue.cpp | 791654dc3637ec0ce8d7dfa2feeb2a1e766e4ae2 | [] | no_license | s-kramer/cpp_tests | 361929b81b99fcb17da13014e78748f7578becc1 | 2d6d3404bc5d6405e0cba8159e1cce0248efc194 | refs/heads/master | 2021-01-10T03:54:39.174981 | 2017-08-07T08:16:14 | 2017-08-07T08:16:14 | 53,738,390 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 177 | cpp | #include <iostream>
class Foo
{
public:
explicit Foo (int i) {};
void bar(void) { std::cout << "Foo::bar" << '\n'; }
};
int main()
{
Foo(5).bar();
return 0;
}
| [
"sebastian.kramer@wp.pl"
] | sebastian.kramer@wp.pl |
4cea572225889c35b15a2654f8b90bf5c6e3f4cd | 65e6c1ab37942512ab00f3a0d449400d1647b06f | /Text_Town_Game/Text_Town_Game/CharacterManager.h | ccffb05cb654db2fcf960c242c55f5876bbdf56e | [] | no_license | MrElliott/TownGame | df191dec097d00063b0ae25975f1cf5329a9fab4 | 30591df5eb2775df4035b260117823448e5b6971 | refs/heads/master | 2021-03-12T20:05:40.114419 | 2015-05-07T23:57:08 | 2015-05-07T23:57:08 | 32,031,538 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 731 | h | #include <iostream>
#include <ctime>
enum Class
{
WARRIOR,
ROUGE,
MAGE
};
enum Stat
{
Health,
Mana,
Strength,
Endurance,
Charisma,
Intelect,
Agility,
Luck,
};
class CharacterManager
{
public:
CharacterManager();
~CharacterManager();
void CreateCharacter();
int GetStat(Stat requiredStat);
bool IsCh... | [
"elliottholt90@gmail.com"
] | elliottholt90@gmail.com |
1ff854a097fa753231b6d692f6a77edbb0c24500 | 060591cee2eca06aaef4e05dd8476d3692160d54 | /src/xrEngine/xrGame/ui/UI_IB_Static.h | d6fc64a8d49c576d90a17c9b6b26e40a1dcfe4c7 | [
"LicenseRef-scancode-warranty-disclaimer",
"BSD-2-Clause"
] | permissive | Georgiy-Timoshin/X-Ray | 7c96c494803edbe4c9e03d4e3b8ebb46c02ff35e | 51dc8ddcfdde3167f3a025022d8420a94c5c1c43 | refs/heads/main | 2023-04-29T18:35:06.229863 | 2021-05-14T02:13:00 | 2021-05-14T02:13:00 | 367,538,251 | 0 | 2 | NOASSERTION | 2021-05-15T04:48:44 | 2021-05-15T04:23:35 | null | UTF-8 | C++ | false | false | 548 | h | // File: UI_IB_Static.h
// Description: Inheritance of UIInteractiveBackground template class with some
// CUIStatic features
// Created: 09.02.2005
// Author: Serge Vynnychenko
// Mail: narrator@gsc-game.kiev.ua
// Copyright 2005 GSC Game World
#pragma once
#include "UIInteractiveBackground.h"
#include "UISt... | [
"53347567+xrModder@users.noreply.github.com"
] | 53347567+xrModder@users.noreply.github.com |
9e905e6148d3f143924db8b850d3a46ec9e69c3e | 17c1e08352b39fbbc811089d73e7b2f878ccc47c | /src/PiecewiseProfile.hpp | 0500bff2e168918e88876e8713cbcea78066a066 | [] | no_license | zacjohnston/skynet_tools | dc484feaddc8b92dca799d7db7464b93b51440f2 | f00416da04dc7d96f0af09d288a4d48d6c783932 | refs/heads/master | 2021-04-05T10:16:14.535524 | 2020-04-23T20:32:19 | 2020-04-23T20:32:19 | 256,601,065 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,487 | hpp | /// \file PiecewiseProfile.hpp
/// \author khermans
///
/// \brief
///
/// file to create piecewise profiles and read in data from tracer files
#ifndef PIECEWISE_PROFILE_HPP_
#define PIECEWISE_PROFILE_HPP_
#include <math.h>
#include <memory>
#include <algorithm>
#include <iostream>
#include <string>
#include <fs... | [
"zacpjohnston@gmail.com"
] | zacpjohnston@gmail.com |
c64e68e3e0f9aed434bdb1f11bd5c918fe4f86d9 | 3e36c6fa0bfc44896ee5bf3dfa2489a0b02e2fb7 | /MeshRefining/MeshRefining/include/config.h | 66698ac30a076539753a4585b9c5f065742f86cf | [] | no_license | whitehorsetzm/mesh_changed | 467ff493fbcd7c40b9bb595e9ff691aece6d789b | bea1b7d48d8eba796c15a0f111e4b7c44b13d4bc | refs/heads/master | 2020-05-23T00:06:08.415711 | 2019-07-05T01:53:23 | 2019-07-05T01:53:23 | 186,568,953 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,546 | h | /*
********struct of the config to define the property**********
**
**
*/
#ifndef CONFIG_H
#define CONFIG_H
#pragma once
#include <map>
#include<vector>
#define FILENAMESIZE 120
#define DEFAULTCFNAME "TRAN_CONFIG"
//char config[FILENAMESIZE];
class COORDS
{
public:
double cood[3];
};
type... | [
"tzm@localhost.localdomain"
] | tzm@localhost.localdomain |
7bac465166de43560adef1aa8172834acb8c6300 | 1fc3b49e2f8cf0aed8b5e996e6a9311370c91de4 | /Programmation/Codes fonctionnels/Arduino/out.h | 55e37e778bdb1a4c0d5720426817ccac5ba396ee | [] | no_license | mjc-ermont/2011 | cbc8607ada345db8a7cf1e5dc2fe226f731e849a | 1047a8c43d888df73325b7146f2e434ff5e11be2 | refs/heads/master | 2016-09-06T02:34:01.777438 | 2013-08-19T14:24:37 | 2013-08-19T14:24:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 408 | h | #ifndef OUT_INCLUDED
#define OUT_INCLUDED
#include <Arduino.h>
#include "queue.h"
class Out {
public:
Out();
virtual bool init() = 0; // Initialisation de la sortie
void addTrame(char *trame); // Ajout de la trame a la file
virtual void writeQueue(char*) = 0; // Ecriture de la file sur ... | [
"arthurtoussaint@free.fr"
] | arthurtoussaint@free.fr |
039ad4d7008c1db238b238018a3c387c1afd765c | 623fa6c07a2ae7b581c1c121d29e69dc776c4a3b | /wwscat/inc/HadronicOutputOrganizer.h | fb8ffbbf73988b1a0ff234983e5e21e5a0c890df | [] | no_license | andres0sorio/ILCWork | 2af53044f6558c36a8f0607f2fd46962428a2b13 | a0bf74effbb9c8b0ddb078068e6fb70eff26f549 | refs/heads/master | 2021-01-20T17:50:52.013787 | 2016-08-12T15:16:50 | 2016-08-12T15:16:50 | 65,562,356 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,048 | h | #ifndef HADRONICOUTPUTORGANIZER_H
#define HADRONICOUTPUTORGANIZER_H
#include "TROOT.h"
#include "TH1.h"
#include "TH2.h"
#include "TNamed.h"
#include "TObjArray.h"
#include "TStyle.h"
#include "HadronicOutput.h"
#include "BasicOutput.h"
#include "WhizardSpecificOutput.h"
#include "PythiaSpecificOutput.h"
#include "ww... | [
"osorio.af@gmail.com"
] | osorio.af@gmail.com |
4a51af89e24a56290cde036ed96cc558103f95aa | 80db239af828381855fab2553423ef7c9a775936 | /Engine/Base/Include/Quad.h | 116a965b66d47af2fc95a10f99c9bcf995725eac | [] | no_license | NalMak/Nalmak_PersonalProject | c4d703c5a1bb2cfd3c24a9e00f13cc35089881b0 | b992c2b6734798516210810f66561324958ed29d | refs/heads/main | 2023-04-30T04:40:51.396731 | 2021-05-23T22:23:04 | 2021-05-23T22:23:04 | 352,413,745 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 307 | h | #pragma once
#ifndef __QUAD_H__
#define __QUAD_H__
#include "Nalmak_Include.h"
#include "VIBuffer.h"
class Quad :
public VIBuffer
{
public:
virtual void Initialize(wstring _fp = L"") override;
private:
virtual void CreateVertexBuffer();
virtual void CreateIndexBuffer();
};
#endif // ! __QUAD_H__
| [
"48557775+NalMak@users.noreply.github.com"
] | 48557775+NalMak@users.noreply.github.com |
8e9115a7d84b7d884a14f0dcdcf07a40b7a7bb4c | 978eb53a505e4e6b7345975d65a270d2af2389ce | /util/replacer.h | f6abec9df778b63d47b598911f47bb45cc713aa2 | [] | no_license | kevinleen/common | 0ae7ce9194afb8b8a5adaa56da4202b37059badc | ab4deae737bbfb69f92b57b8da2d48d00dde8498 | refs/heads/master | 2021-01-19T04:34:39.824560 | 2016-06-13T07:59:26 | 2016-06-13T07:59:26 | 55,756,420 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 778 | h | #pragma once
#include "base/base.h"
namespace util {
class Replacer {
public:
Replacer(std::string* str)
: _str(str) {
CHECK_NOTNULL(str);
}
~Replacer() {
}
void replace() {
for (auto it = _map.begin(); it != _map.end(); ++it) {
const auto& src = it->first;
... | [
"kevinlinb@gmail.com"
] | kevinlinb@gmail.com |
2ac408d97a7c20e8e5184f1378530a960ba1e669 | 9f6bc9f9f7ef707ec4355fa31f6b4799235939c9 | /Stack/llist.h | bbb7e93dfbb1a4c2e64084b9d10702b121cf0b78 | [] | no_license | JonnyBeoulve/College-Projects | bf25ec25b0f311b4f81f6b611d55a4adde7843fb | 012ddf72b907bcf2335736c7c8603eab0cd801b1 | refs/heads/master | 2021-09-18T04:36:18.313926 | 2018-07-09T18:27:31 | 2018-07-09T18:27:31 | 106,219,672 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,094 | h | /*******************************************************
Jonathan Leack
HW3 llist
Complier: g++
File type: .h
*******************************************************/
#ifndef llist_H
#define llist_H
#include<iostream>
#include<iomanip>
typedef int el_t;// list node is defined here as a struct Node
struct Node
{
el_t... | [
"jleack@gmail.com"
] | jleack@gmail.com |
76954f76b3dbcfb6e9b446f04795142b8f03bbe4 | 97e53e8028ffb9d3f736a0999cc470f9942ddcd0 | /01 窗体与界面设计/12 通用对话框的应用/001 打开位图预览对话框-例1/TopWindow/TopWindow.cpp | 9df2af852418701ee3d16b43f63d40263148a592 | [] | no_license | BambooMa/VC_openSource | 3da1612ca8285eaba9b136fdc2c2034c7b92f300 | 8c519e73ef90cdb2bad3de7ba75ec74115aab745 | refs/heads/master | 2021-05-14T15:22:10.563149 | 2017-09-11T07:59:18 | 2017-09-11T07:59:18 | 115,991,286 | 1 | 0 | null | 2018-01-02T08:12:01 | 2018-01-02T08:12:00 | null | UTF-8 | C++ | false | false | 2,031 | cpp | // TopWindow.cpp : Defines the class behaviors for the application.
//
#include "stdafx.h"
#include "TopWindow.h"
#include "TopWindowDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// ... | [
"xiaohuh421@qq.com"
] | xiaohuh421@qq.com |
1e9a0d717c2db5447a4c124e8ae5dc0090f8c6c9 | e79b3990bc9c13117572fe4c39277b187b37bff2 | /include/RE/C/ConcreteObjectFormFactory.h | 10fac12fab997c4101b2a45ffeae071c104c5216 | [
"MIT"
] | permissive | Ryan-rsm-McKenzie/CommonLibSSE | 669e36cd643ea9dcc97c8e147d10ee7f6eebb8df | 3282565a2c86535036f5a556758fb1cf8ab85225 | refs/heads/master | 2023-08-07T15:02:02.476156 | 2023-07-20T11:52:36 | 2023-07-20T12:41:44 | 158,496,181 | 178 | 93 | MIT | 2023-07-20T12:41:45 | 2018-11-21T05:36:24 | C++ | UTF-8 | C++ | false | false | 815 | h | #pragma once
#include "RE/C/ConcreteFormFactory.h"
namespace RE
{
template <class T, FormType FORM_TYPE, OBJECT_TYPE OBJ_TYPE, OBJECT_CATEGORY_TYPE OBJ_CATEGORY_TYPE>
class ConcreteObjectFormFactory : public ConcreteFormFactory<T, FORM_TYPE>
{
public:
~ConcreteObjectFormFactory() override; // 00
// override... | [
"ryan__mckenzie@hotmail.com"
] | ryan__mckenzie@hotmail.com |
9079a0695de89e4bf8e1dd07ccfb678b88b7f979 | 9fb96f30d9b21d1e3bcfaf17079b8bf012f7bb30 | /prime_factor.h | 406b9aba6aa1c8c435e14eafee4895e79aaf7a24 | [] | no_license | benjiellis/ModularArithmetic | e39b08a5146be8c8e62f878519af853d8a5df5d9 | d2432539d5b0e4a789f7d898ca24b0b53e62f366 | refs/heads/master | 2020-05-19T03:27:08.136838 | 2019-05-03T18:19:41 | 2019-05-03T18:19:41 | 184,801,272 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,418 | h | #pragma once
#include <cmath>
#include <vector>
using std::vector;
// A function to print all prime factors of a given number n
vector<int> get_prime_factors(int n) {
vector<int> to_return;
// Print the number of 2s that divide n
while (n % 2 == 0)
{
to_return.push_back(2);
n = n / 2;
}
/... | [
"noreply@github.com"
] | noreply@github.com |
b036df1aa505e704959b6a256a8c86b5b599982a | d8e8da85cc85f6270288dd1cfb421a58de6c8f89 | /management.h | 4c00cc1aa94ae6ad66f7b587ac909ccef867fda2 | [] | no_license | szsoppa/Menelatorium | 13267f6835ac79f583d8d111a56eff38df6891fe | 947109a0a09123a3530fb382dbcc0e97db1820fe | refs/heads/master | 2021-01-10T21:52:25.163676 | 2015-09-22T08:13:12 | 2015-09-22T08:13:12 | 40,253,539 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 381 | h | #ifndef MANAGEMENT_H
#define MANAGEMENT_H
#include "communicator.h"
#include "lamport.h"
class Management : public Communicator, public Lamport
{
public:
Management(int positions_number, MPI_Comm COMM_WORLD);
void participate();
private:
int positions_number;
int world_group_size;
MPI_Comm COMM_... | [
"sz.soppa@gmail.com"
] | sz.soppa@gmail.com |
c35668ad93dcedc0e6a1be573adedf59ef2c84f4 | 39eac74fa6a244d15a01873623d05f480f45e079 | /AptBookAlarmDetailDlg.cpp | 18f8f05df45ed62a528c4392929299819e530190 | [] | no_license | 15831944/Practice | a8ac8416b32df82395bb1a4b000b35a0326c0897 | ae2cde9c8f2fb6ab63bd7d8cd58701bd3513ec94 | refs/heads/master | 2021-06-15T12:10:18.730367 | 2016-11-30T15:13:53 | 2016-11-30T15:13:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,150 | cpp | // AptBookAlarmDetailDlg.cpp : implementation file
//
#include "stdafx.h"
#include "AptBookAlarmDetailDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
using namespace ADODB;
using namespace NXDATALISTLib;
//////////////////////////////////////////////////////////... | [
"h.shah@WALD"
] | h.shah@WALD |
1e7fe3baa6bc95b47b73738c0730f4e7ef991d13 | ab51ea47b534dc565142f9b8e71540daf2080430 | /Lista_2/mike_and_feet.cpp | cd017b801bf2c78420d2b7d3ff37b5dc3faf8ecd | [
"MIT"
] | permissive | Thulio-Carvalho/Advanced-Algorithms-Problems | 872e90d0508e36bf05cda66714f2252d1b670769 | 724bfb765d056ddab414df7dd640914aa0c665ae | refs/heads/master | 2020-03-11T21:19:53.347622 | 2019-06-13T22:19:29 | 2019-06-13T22:19:29 | 130,261,873 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,288 | cpp | #include <bits/stdc++.h>
#define MAXN 100007
#define MAXLOG 20
using namespace std;
typedef pair <int, int> ii;
int N, Q, arr[MAXN];
int sp[MAXLOG][MAXN];
vector <ii> queries;
void build();
int access(int, int);
void read();
void print();
int main(){
read();
build();
print();
return 0;
}
void r... | [
"thulioicc@gmail.com"
] | thulioicc@gmail.com |
5bad0fe0957e7729e98e6684d66ac163364e3054 | 7ac65e94ca83911706e65458c9b29b55d0600e58 | /Playground/Drzewo/main.cpp | c224f1e8654079d58c7fbaaefd227ecb039d5ea1 | [] | no_license | a-zapala/Algorithms | 6c45ce386dbbd098ce6bc10987000eefe25cb60a | 473458279a6167448936c3efa592e9e1cb9249eb | refs/heads/master | 2020-05-23T03:58:04.688260 | 2020-02-25T23:05:07 | 2020-02-25T23:05:07 | 186,626,813 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,284 | cpp | #include <iostream>
#include <vector>
#include <list>
using namespace std;
int n;
constexpr int MAXN = 500002;
vector<int> sasiedzi[MAXN];
long long int suma[MAXN];
long long int suma_wszystkich[MAXN];
int ilosc_w_podrzewie[MAXN];
int ojciec[MAXN];
void DFS(int i, int o)
{
ojciec[i] = o;
for (auto p : sasie... | [
"zapala333@gmail.com"
] | zapala333@gmail.com |
97b825821275386f46cd7d76a7f7a523e9863e64 | 23a405404b3238e9d7bb24f852f69d3f558183d9 | /吉田学園情報ビジネス専門学校 竹内亘/12_2年チーム制作/開発環境/GHOST REMAINS/mesh.h | 80c6deba29a481bbb4a963f62d015eecedb9f5ee | [] | no_license | takeuchiwataru/TakeuchiWataru_QMAX | fa25283aa90bcedb75dd650613d8d828a3f8f81a | cd5d6f75ca258f58df934d40a8ea238976e7c69d | refs/heads/master | 2022-02-07T16:33:12.052935 | 2019-06-12T04:32:08 | 2019-06-12T04:32:08 | 191,302,573 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 3,987 | h | //=============================================================================
//
// メッシュ処理 [mesh.h]
// Author : Ryo Sugimoto
//
//=============================================================================
#ifndef _MESH_H_
#define _MESH_H_
#include "main.h"
#include "scene.h"
#include "motion.h"
//****************... | [
"jb2017024@stu.yoshida-g.ac.jp"
] | jb2017024@stu.yoshida-g.ac.jp |
fc0be9e9db4365b30cad8534c7a49e7639484678 | 13dff6e0175eea78cb574378cc148ed80d1b9522 | /tests/bluestone.cpp | c14bf5b1ec9ce2963adf6e99641c6822075503e0 | [] | no_license | hcnelson99/voxel | b70972964fe7d52ca0f6b978a228eaab01900b73 | b20192f6544c383c21eba1f01605235f9b6ac78b | refs/heads/master | 2023-04-24T18:37:39.043762 | 2021-05-13T18:17:00 | 2021-05-13T18:17:00 | 351,544,398 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,801 | cpp | #include "../world.h"
#include <iostream>
World world;
void test_straight_line() {
world.set_block(0, 0, 0, Block::NotGate);
world.set_block(1, 0, 0, Block::InactiveBluestone);
world.set_block(2, 0, 0, Block::InactiveBluestone);
world.set_block(3, 0, 0, Block::InactiveBluestone);
world.tick();
... | [
"steven.shan99@gmail.com"
] | steven.shan99@gmail.com |
180ee6cd9d35dc41c5c381fc1403c5ad8af0212f | 91a882547e393d4c4946a6c2c99186b5f72122dd | /Source/XPSP1/NT/printscan/print/drivers/usermode/ddk/samples/oemdll/oemps/enable.cpp | 7c438e58d2a56ca44bf72bd41026252a3fb19c29 | [] | 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 | 5,541 | cpp | // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
// PARTICULAR PURPOSE.
//
// Copyright 1998 Microsoft Corporation. All Rights Reserved.
//
// FILE: Enabl... | [
"support@cryptoalgo.cf"
] | support@cryptoalgo.cf |
fdfa070e00535ab37def95fd47652bfc31e53306 | b3bddd7e74e7c0525cdb30cf57e0cd1f6a433645 | /FastAndBeautiful/Projects/Lighting/FBX_Loader.cpp | f92d2ba9bebbdd74e1385623c6ac7567f78349d8 | [] | no_license | akurt5/AIEShit | cb1e50fd8355ded401dabe9eb21a9a442cb2c8d8 | a6d8d79d0b4f6a89a9e5752480f4a4a2e221bdea | refs/heads/master | 2021-01-20T04:12:05.545012 | 2014-07-20T23:12:50 | 2014-07-20T23:12:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,281 | cpp | #include "FBX_Loader.h"
#include "Gizmos.h"
#include "Utilities.h"
#include <GL/glew.h>
#include <GLFW/glfw3.h>
#include <glm/ext.hpp>
#include <SOIL.h>
FBX_Loader::FBX_Loader()
{
}
FBX_Loader::~FBX_Loader()
{
}
bool FBX_Loader::Load(int a_argc, char* a_argv[])
{
// load the shader
const char* aszInputs[] = ... | [
"anton.n.kurtz@gmail.com"
] | anton.n.kurtz@gmail.com |
53ec9b36acbda858288d41159c4f6a475e77eeae | 1395aa30dff5016307427677cdf3f30c714045c8 | /bioreactor.ino | 9c8ff23b6821a4fa6ead79745cfb8250938a7cc1 | [] | no_license | karloacha/bioreactor | 599e6af5edc08faacd1c17cf36ef4753c98cc585 | c5c32cbd241cc00a86a981febfce5a933ea13ba4 | refs/heads/master | 2020-03-07T18:04:48.363519 | 2018-04-01T12:37:44 | 2018-04-01T12:37:44 | 127,627,886 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,809 | ino | #include <max6675.h>
const float HEAT_RATE = 20.0;
const float TERMINAL = 600.0;
const float INITIAL = 50.0;
float limit = 0.0;
const int8_t INTERVALS = 10;
const int8_t SSR_PIN = 9;
const int8_t DO = 50;
const int8_t CS_1 = 48;
const int8_t CS_2 = 46;
const int8_t CS_3 = 44;
co... | [
"noreply@github.com"
] | noreply@github.com |
ab6316f9ccdca76c4d7f4e3f1293c88cc37c12f1 | 8010df1fef10ddfd83bf07966cbf7e2e4b0d7ee9 | /include/winsdk/cppwinrt/winrt/Windows.Storage.Pickers.h | ee964aa7e84545dc5e329f6588c4f7833c70ad27 | [
"MIT"
] | permissive | light-tech/MSCpp | a23ab987b7e12329ab2d418b06b6b8055bde5ca2 | 012631b58c402ceec73c73d2bda443078bc151ef | refs/heads/master | 2022-12-26T23:51:21.686396 | 2020-10-15T13:40:34 | 2020-10-15T13:40:34 | 188,921,341 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 43,030 | h | // C++/WinRT v2.0.190620.2
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#ifndef WINRT_Windows_Storage_Pickers_H
#define WINRT_Windows_Storage_Pickers_H
#include "winrt/base.h"
static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.190620.2"), "Mismatched C++/WinRT... | [
"lightech@outlook.com"
] | lightech@outlook.com |
fb880c506e6e0f0afce853fd9d9802ca5ca0b550 | 9f4b3edaf1095ed58f5ff2d38d79d27b7e230e92 | /test/test_array/array_add.cxx | a3cacc781f33ae59af36f716ae558b708734d456 | [
"BSD-3-Clause-LBNL"
] | permissive | zhishang72/TECA | dbd954ec48f5d9ad0643d26f5fbb6daf8dfd9842 | b8bed845e868133e4fbe01f4da40edd4c34cd775 | refs/heads/master | 2020-04-21T04:54:35.853007 | 2019-01-26T18:13:18 | 2019-01-26T18:13:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,350 | cxx | #include "array_add.h"
#include "array.h"
#include <iostream>
#include <sstream>
using std::vector;
using std::string;
using std::ostringstream;
using std::cerr;
using std::endl;
// --------------------------------------------------------------------------
array_add::array_add()
{
this->set_number_of_input_conn... | [
"bloring@lbl.gov"
] | bloring@lbl.gov |
d98909279ae382ecb9de25faf64e2b02b1b6b0c6 | 6c3a5fdc90fa4a62be3d8a97f378ae222f1d3b84 | /Chapter_07_Quicksort/exercise_code/7.1-4.cpp | dfc0d411aab02ad4e564db4deea5536ae171a355 | [] | no_license | QiangL-DUT/CLRS | 6f57b9d96aea956d986ecba19dd5dfe0026e2b7b | fb632e80c63bcbad0905112a8e367f140486482f | refs/heads/master | 2020-04-06T06:47:22.064530 | 2016-08-26T02:49:29 | 2016-08-26T02:49:29 | 65,347,343 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 864 | cpp | /*** nonincreasing nonrandomized ***/
#include <iostream>
#include <vector>
#include <time.h>
using namespace std;
inline void swap(int& a, int& b) {
int temp = a;
a = b;
b = temp;
}
int Partition(vector<int>& A, int p, int r) {
int x = A[r];
int i = p - 1;
for (int j = p; j < r; ++j) {
if (A[j] >= x) {
... | [
"noreply@github.com"
] | noreply@github.com |
4fdb8f99411fb310c15d1365508739f3fc996b6c | 77eb251d1dc23e6c6ce82f434cccbc3a40806e69 | /student/02/molkky/player.hh | bd58947d0163a9e3202e3765492d22c7de25468f | [] | no_license | jewhoguy/STLProject | f300d6a27cee40bccef9e8e93c711d5a674c6d91 | 8d4c5b6cd967aaf005329d5bcf4509a4aa1af680 | refs/heads/master | 2021-03-02T14:43:48.867599 | 2018-02-16T18:37:51 | 2018-02-16T18:37:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 312 | hh | #include <string>
#ifndef PLAYER_HH
#define PLAYER_HH
using namespace std;
class Player
{
public:
Player(string name, int points = 0);
const string get_name();
int get_points();
void add_points(int pts);
bool has_won();
int _points;
private:
string _name;
};
#endif // PLAYER_HH
| [
"lusetti@piispahaikara.lin.tut.fi"
] | lusetti@piispahaikara.lin.tut.fi |
dda2c918a9779f76763b02e0c9ca3685c9d87334 | c47379db39fd6998924f7839b1263c7228b3a88a | /src/dso/srclib/hdl/rec/src/widget/foo/index.hpp | 58c2a921fb7e4a8f4fa60f2ab05038e6c44d2bad | [] | no_license | skullquake/crowsamples | e7c71ef02dafc42241684a2547152ca91a1e81d3 | fbee1189527664f6ef0757d6d66b60c946c2fd36 | refs/heads/main | 2023-03-30T08:39:03.636699 | 2021-04-05T19:37:31 | 2021-04-05T19:37:31 | 353,323,722 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 149 | hpp | #ifndef hef238132963311eb9c29af6afa972b3b
#define hef238132963311eb9c29af6afa972b3b
#include"../index.hpp"
class Widget_Foo:public Widget{
};
#endif
| [
"ockert8080@gmail.com"
] | ockert8080@gmail.com |
6da6a16557b9b09ccae95ca512fa727e0104f1b3 | 641fa8341d8c436ad24945bcbf8e7d7d1dd7dbb2 | /components/sync_sessions/tab_node_pool.h | caadc4e5f2ee97964b3646e73828dacb62286e28 | [
"BSD-3-Clause"
] | permissive | massnetwork/mass-browser | 7de0dfc541cbac00ffa7308541394bac1e945b76 | 67526da9358734698c067b7775be491423884339 | refs/heads/master | 2022-12-07T09:01:31.027715 | 2017-01-19T14:29:18 | 2017-01-19T14:29:18 | 73,799,690 | 4 | 4 | BSD-3-Clause | 2022-11-26T11:53:23 | 2016-11-15T09:49:29 | null | UTF-8 | C++ | false | false | 6,632 | h | // Copyright 2014 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 COMPONENTS_SYNC_SESSIONS_TAB_NODE_POOL_H_
#define COMPONENTS_SYNC_SESSIONS_TAB_NODE_POOL_H_
#include <stddef.h>
#include <map>
#include <set>
#i... | [
"xElvis89x@gmail.com"
] | xElvis89x@gmail.com |
e58d21dfdd5a7913f792a0fe44d07711868ceed1 | b58052e50abeb4060bc4f3ac70d8eb2913ba84ab | /yggdrasil/tests/runtime/src/system.cpp | 60532c6d5a581d4bc179c5b6ba0b73869b970e7b | [] | no_license | vyrp/Mjollnir | 21d99b4ebf9c027318c0c492cddc606bdfeb8640 | 2933fe62c0e90fdfd2ea0796e407f26d534b0341 | refs/heads/master | 2016-09-11T01:31:29.712610 | 2015-11-22T06:46:21 | 2015-11-22T07:08:40 | 17,535,505 | 6 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 470 | cpp | #include <stdio.h>
#include <stdlib.h>
int main(){
int result = 0, status;
result = (status = system("pwd")) || result;
printf("pwd: %d\n", status);
result = (status = system("touch tmp")) || result;
printf("touch tmp: %d\n", status);
result = (status = system("ls")) || result;
... | [
"felipe.croata@gmail.com"
] | felipe.croata@gmail.com |
21c9e545ebe0bf972568e51d43130c64ef6a5fde | 9041050804dd56d058925ddec4b14e638ea29f52 | /include/clang/AST/Comment.h | 55cb08141a9db64698e5814a13733e1a37873e4c | [
"NCSA"
] | permissive | CTSRD-TESLA/clang | ee4cef5ebfe3e6f27a83ad8b7a739ecb49e81c7b | f5e0b225b4d8027edab993ad4ac87510fcd6f991 | refs/heads/master | 2020-06-02T21:56:13.262003 | 2012-07-24T09:37:54 | 2012-07-24T09:37:54 | 1,744,036 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 23,952 | h | //===--- Comment.h - Comment AST nodes --------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | [
"gribozavr@gmail.com"
] | gribozavr@gmail.com |
1fe07fadc2f710796a69d6cd6a4017502c7a8255 | 3a4dc86b060878e9feb2cfb6f4f97af363d43cee | /cocos2dx/CCDirector.h | 2d588b773de0221ff36b95a1c75329f5ef227911 | [
"MIT"
] | permissive | morph85/cocos2d-x-v2.x-private | 18c3f60d491c0b147beb5bc14c4c0e649f448423 | 4acedacec5552ed881865db0096116f9acdef397 | refs/heads/master | 2020-05-20T05:59:10.996166 | 2015-08-08T15:39:31 | 2015-08-08T15:39:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,410 | h | /****************************************************************************
Copyright (c) 2010-2012 cocos2d-x.org
Copyright (c) 2008-2010 Ricardo Quesada
Copyright (c) 2011 Zynga Inc.
http://www.cocos2d-x.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and asso... | [
"mononoctorus@gmail.com"
] | mononoctorus@gmail.com |
4c8a94161d996fc0652fd894bb5f1be0b751e810 | f634b36e9bfcd49dccbfc83483b4faceadfeed38 | /src/08-stack/ListStack.h | f509542d0ebe33e768f17451e2ca0a922e4d8e31 | [
"MIT"
] | permissive | MichaelZalla/data-structures-review | 3a589aaf18bc281ace3b64060766178afaea4387 | 4ef1a70cf28031160eafc81fe3557791c58aed32 | refs/heads/master | 2021-08-15T00:49:49.804839 | 2017-11-17T03:48:02 | 2017-11-17T03:48:02 | 106,978,844 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 850 | h | #ifndef LIST_STACK_H
#define LIST_STACK_H
#include "../03-singly-linked-list/SinglyLinkedList.h"
#include "./StackException.h"
template <typename T>
class ListStack {
public:
ListStack<T>() : list(), stackSize(0) {}
int size() const
{
return this->stackSize;
}
bool isEmpty() const
{
return this->list.i... | [
"michael@zalla.io"
] | michael@zalla.io |
d473bd2d66cc0545e174931a50afb9e339dcfc7e | 9e96debaf9c430056586e0dc3c9ac363f1eb3810 | /compendium/test_bundles/TestBundleDSCA12/src/ServiceImpl.cpp | 433a82049d92d3a8f2ede4de89a04bf45b24787a | [
"Apache-2.0"
] | permissive | sunfirefox/CppMicroServices | b2f73be5c75efb5ffcedeed0deb82e37bac66272 | 55dda3b59ce471b3b7baaa6bf449bc0efe930956 | refs/heads/master | 2023-05-24T20:28:38.076412 | 2023-04-28T15:09:27 | 2023-04-28T15:09:27 | 14,852,197 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 551 | cpp | #include "ServiceImpl.hpp"
#include <iostream>
namespace sample
{
void
ServiceComponentCA12::Modified(std::shared_ptr<ComponentContext> const&,
std::shared_ptr<cppmicroservices::AnyMap> const& configuration)
{
std::lock_guard<std::mutex> lock(propertiesLock);
... | [
"noreply@github.com"
] | noreply@github.com |
87b61ef0e5724877241fc7ad80ce8a3c3d5af292 | 10b69878551b74684c388e7dcc08b280e459d7c6 | /projecteuler/9.cpp | 70ef31065efdc127d7710c0e19bbe53daeea4e47 | [
"MIT"
] | permissive | diofeher/ctf-writeups | 4cb4d12ee04195c7084e3b8169066c95e531b0b1 | b82eaae064fe5339c69892dd084e0f1915ca8bb5 | refs/heads/master | 2021-06-26T17:43:48.826375 | 2019-06-04T13:43:13 | 2019-06-04T13:43:13 | 113,044,948 | 8 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 545 | cpp | #include <iostream>
#include <math.h>
using namespace std;
bool is_pythagorean(int a, int b, int c);
int main(){
// TODO FIX THIS DUMB WAY AND BRUTAL FORCE :(
for(int x=100; x<500; x++) {
for(int y=x; y<500; y++)
for(int z=y; z<500; z++)
if (is_pythagorean(x,y,z))
... | [
"diofeher@gmail.com"
] | diofeher@gmail.com |
bdfb2c392f643655e37a647746388e3c9967dcfb | f0b7bcc41298354b471a72a7eeafe349aa8655bf | /codebase/apps/mdv_utils/src/MdvInterpMissing/Args.cc | 15c2408279fe606ca28beacac73afc089732441e | [
"BSD-3-Clause"
] | permissive | NCAR/lrose-core | 23abeb4e4f1b287725dc659fb566a293aba70069 | be0d059240ca442883ae2993b6aa112011755688 | refs/heads/master | 2023-09-01T04:01:36.030960 | 2023-08-25T00:41:16 | 2023-08-25T00:41:16 | 51,408,988 | 90 | 53 | NOASSERTION | 2023-08-18T21:59:40 | 2016-02-09T23:36:25 | C++ | UTF-8 | C++ | false | false | 7,050 | cc | // *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
// ** Copyright UCAR (c) 1990 - 2016
// ** University Corporation for Atmospheric Research (UCAR)
// ** National Center for Atmospheric Research (NCAR)
// ** Bo... | [
"dixon@ucar.edu"
] | dixon@ucar.edu |
129882370c6ab431b3257374eec3c3019ee40a9f | 5f2c1792902470aac75db8a46e643a93d8a75cd4 | /core/bitmap.cpp | aac601d35648465e809c14d60f5ed4199d69ee6f | [] | no_license | irqlevel/kstor | 055d6a0e3b280e9b812fcccb33d05ac473c4dd30 | 41fdf43f6981e455d3c058947d2a4e879370bbce | refs/heads/master | 2018-03-11T07:05:44.358556 | 2017-03-24T22:02:57 | 2017-03-24T22:02:57 | 60,274,460 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,516 | cpp | #include "bitmap.h"
#include "memory.h"
#include "bitops.h"
#include "new.h"
namespace Core
{
Bitmap::Bitmap(void *buf, size_t size)
: Buf(buf)
, Size(size)
{
BitSize = 8 * size;
}
Bitmap::~Bitmap()
{
}
Error Bitmap::SetBit(size_t bit)
{
if (bit >= BitSize)
return MakeError(Error::Overflow);... | [
"irqlevel@gmail.com"
] | irqlevel@gmail.com |
394cdb5ae2aeb9be779de61915e230ba046a948e | 82815230eeaf24d53f38f2a3f144dd8e8d4bc6b5 | /Airfoil/wingMotion/wingMotion2D_pimpleFoam/2.86/phi | 1cc8c1692643c2bb188aa2228ea54005adaebb0f | [
"MIT"
] | permissive | ishantja/KUHPC | 6355c61bf348974a7b81b4c6bf8ce56ac49ce111 | 74967d1b7e6c84fdadffafd1f7333bf533e7f387 | refs/heads/main | 2023-01-21T21:57:02.402186 | 2020-11-19T13:10:42 | 2020-11-19T13:10:42 | 312,429,902 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 373,204 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1912 |
... | [
"ishantamrakat24@gmail.com"
] | ishantamrakat24@gmail.com | |
94b5e1170644dae19f6f528418e390620a888803 | 5e00242dc035fdab6aa6bbb40c6d7e6c119ad8e6 | /Vault/Codeforces Rounds/EDUCFR41/EDUCFR41B.cpp | c1a779d7b10c3ca45290ebc1c0c65087624f8352 | [] | no_license | AkiLotus/AkikazeCP | 39b9c649383dcb7c71962a161e830b9a9a54a4b3 | 064db52198873bf61872ea66235d66b97fcde80e | refs/heads/master | 2023-07-15T09:53:36.520644 | 2021-09-03T09:54:06 | 2021-09-03T09:54:06 | 141,382,884 | 9 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,746 | cpp | /**
Template by Akikaze (秋風) - formerly proptit_4t41.
Code written by a random fan of momocashew and Chiho.
H△G x Mili - November 27th, 2013
Mag Mell (Mili) - Sep 17th, 2014
H△G x Mili Vol.2 - May 9th, 2015
Miracle Milk (Mili) - Oct 12th, 2016
青色フィルム (H△G) - February 14th, 2018
Millennium Mother (Mili) - Apri... | [
"duybach.224575@gmail.com"
] | duybach.224575@gmail.com |
c6984344f761e5e106502a5b208c8900b674e60b | 47f2f7a7cc08a712cddae2043c42a0f632636012 | /_posts/design-pattern/14-Command/codes/cpp/Project/Document.cpp | e23fc39e6e5503473fff236f97f4679a5d7b807f | [
"MIT"
] | permissive | raacker/raacker.github.io | ccd18e5d2b7ee51395f9ae052e43f9c270dcdd59 | 032192d6afc13a4d6656f7a564f7194baadfe8b3 | refs/heads/master | 2023-08-31T03:24:50.020523 | 2023-08-22T01:30:33 | 2023-08-22T01:30:47 | 64,533,325 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,733 | cpp | #include "Document.h"
#include <string>
#include <filesystem>
#include <fstream>
#include <iostream>
#include <sstream>
namespace TMIOSDP
{
class FileHandle
{
public:
FileHandle(const std::string& path)
: mFullPath(path)
{
}
void open(std::ios_base::openmode mode... | [
"haven.cpp@gmail.com"
] | haven.cpp@gmail.com |
d071205a6275c67070d73c76e43817a5e9e74d4f | 955f830545c53f678573c563582269d225d42449 | /writelog.cpp | 9d9d4b6ede5885c8975fc3c16a28e071f26b1892 | [] | no_license | hayoungdaddy/RTICOM2CORE | 94cb9098d81939a2faf43ae066ed970e44157ce9 | e4b7980d176568e314f41749f98894bab3e92dc2 | refs/heads/main | 2021-07-09T15:33:38.447460 | 2020-12-28T01:01:39 | 2020-12-28T01:01:39 | 224,776,107 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 470 | cpp | #include "common.h"
#include "writelog.h"
WriteLog::WriteLog()
{
}
WriteLog::~WriteLog()
{
}
void WriteLog::write(QString dir, QString str)
{
QDateTime now = QDateTime::currentDateTimeUtc();
QFile file(dir + "/RTICOM2CORE." + now.toString("yyyyMMdd") + ".log");
if(file.open(QIODevice::WriteOnly | QIODevi... | [
"sysop@localhost.localdomain"
] | sysop@localhost.localdomain |
5a09396714cd527e83b3852c26e13b27a1cc1550 | afb6f237afe9c170b44663b6d3e1f2ab231391f1 | /modules-guide/guide_uart/guide_uart.cc | ab2151974ad8fe14293115fe8cb9f58e8eff87d3 | [] | no_license | Starli16/TestModules | 856dc32b3da35ae5db9491ea70eb8d2b2289be5f | 53b1029ae6c1ef6f0295b7c54099d32aa7845c9b | refs/heads/master | 2023-02-27T18:48:02.727429 | 2021-01-31T21:29:32 | 2021-01-31T21:29:32 | 328,325,633 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 911 | cc | #include "guide_uart.h"
#include <cstdio>
#include <iostream>
#include <string>
#include <cstring>
using std::cout;
using std::endl;
using namespace std;
bool guide_Uart::Init() {
memset(uart_buf,0,sizeof(uart_buf));
uart_dev.SetOpt(9600, 8, 'N' ,1);
is_running=0;
Start();
return true;
}
bool guide_Uart::P... | [
"lixingyu17@mails.tsinghua.edu.cn"
] | lixingyu17@mails.tsinghua.edu.cn |
f8c3884ae3d93f810733bac626b5b8c1e81f869f | a81fc6340e4288df8bb561fdd4a072e4ee066449 | /1D_Tissue_Strand_Model/lib/input_output.h | 11ff353000ab3edb78e3e42aaae11d493979d13c | [] | no_license | drgrandilab/Ni-et-al-2020-Synergy-Multi-K-block-Human-Atrial-Models | e80cffe7323764412c14d78c87f5cd0a4abb7d92 | 3c51f166be2f6e409b85c45e1dbd2d5a776a278f | refs/heads/master | 2022-11-09T19:32:17.884720 | 2020-06-23T01:27:14 | 2020-06-23T01:27:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,735 | h | /*
* input_output.c
*
* read in .gz .txt .bin file into arrays.
* .gz read into char arrays.
*
* Haibo Ni <qiangzini@gmail.com>
*/
#include <stdio.h>
#include <stdlib.h>
#include <zlib.h>
#include <math.h>
#include <string.h>
#include <iostream>
#include <fstream>
#include <cstdlib>
/* read from... | [
"noreply@github.com"
] | noreply@github.com |
7f3191d4238684aaa2e8305106c8cd89bc9e4f35 | 85ef9b1c0b13af144a0382c8be00f5a3ac5ab025 | /leetcode/permutations.cpp | 85042c054a22393813640673c8df3a09133393b1 | [] | no_license | MonsieurWilson/cpplearn | bdc44826ff5c20ba039933e5d4b699d5794e3415 | 0c59da95e8e853661998e997944fa44f68881ed6 | refs/heads/master | 2020-04-04T17:54:11.477183 | 2019-01-19T15:37:07 | 2019-01-19T15:37:07 | 156,141,305 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 907 | cpp | /**
* Copyright(C), 2018
* Name: permutations
* Author: Wilson Lan
* Description:
* Given a collection of distinct integers, return all possible
* permutations.
*/
class Solution {
public:
vector<vector<int>> permute(vector<int> &nums) {
vector<vector<int>> permutations;
... | [
"xinyulan.thu@gmail.com"
] | xinyulan.thu@gmail.com |
207bb1ff326c395f54822b121062a239c4bf1926 | 06fe16763861e556eeb71a8ae81ceff9b59581db | /ttt.cpp | 9b27e2c3b8de9008b6b2a15607d75c843bad8fa7 | [] | no_license | hehaoslj/FSimulator | 9961dc8fee41e1f7fb5862e127294fef0b39c85c | 6f4b79c23f3265ea11b31b09f70c822d8704e8fb | refs/heads/master | 2020-05-29T08:48:47.889577 | 2017-06-12T08:01:56 | 2017-06-12T08:01:56 | 69,776,028 | 2 | 0 | null | 2017-06-11T17:21:02 | 2016-10-02T03:03:29 | C++ | UTF-8 | C++ | false | false | 707 | cpp | fprintf:
printf
write
%s --> const char*
fwprintf
wsprintf
%s --> const wchar_t*
std::string --> std::base_string<char>
s.c_str() --> const char*
std::wstring --> std::base_string<wchar_t>
ws.c_str() --> const wchar_t*
wchar_t* --> char*
WideCharToMultiByte
char* --> wchar_t*
L"1234" -->1234 wtoi
"1234" --... | [
"hehaoslj@sina.com"
] | hehaoslj@sina.com |
032aacda7196fb95444ea9cdbd306a0d84faebea | 8916f829f9a956224b79f901235880e6da76508a | /factorialexample.cpp | 12d3f7a1a460ad6f133d82eb14c786c98a7b1375 | [] | no_license | Joggyjagz7/100daysOfCode | 79e6bce241a4114378362d666baa796c94247508 | f87a95704ff770840b6ec7f4dbe540f29435819c | refs/heads/master | 2022-02-28T06:35:02.432247 | 2019-10-24T03:14:34 | 2019-10-24T03:14:34 | 107,105,972 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 615 | cpp | #include <iostream>
// sequence is 0, 1, 1, 2, 3, 5, 8, 13, ...
int fib (int i)
{
int pred, result, temp;
pred = 1;
result = 0;
while (i > 0)
{
temp = pred + result;
result = pred;
pred = temp;
i = i-1;
}
retur... | [
"noreply@github.com"
] | noreply@github.com |
e47b6ed1d4737b9daf57be78c81bb122416617e8 | a5d66c0094ba87fb4e3ab91f50d6c1389a374496 | /Source/SoccerSimulator/SoccerField.h | 48e87264ecc2e988169651f6d02eeee0efa5a47d | [] | no_license | punster94/SoccerSimulator | 2a582d77a21a56d63b162a42cccda52ef5c5d9f9 | c3ac23661ddd5ee612055c4c3fdc54889c24421b | refs/heads/master | 2021-01-01T17:04:25.113053 | 2017-08-19T18:28:41 | 2017-08-19T18:28:41 | 97,994,024 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,086 | h | #pragma once
#include "SoccerBall.h"
#include "Goal.h"
#include "SoccerTeam.h"
#include "GameFramework/Actor.h"
#include "SoccerField.generated.h"
UCLASS()
class SOCCERSIMULATOR_API ASoccerField : public AActor
{
GENERATED_BODY()
public:
ASoccerField();
protected:
virtual void BeginPlay() override;
public: ... | [
"gingerbread614@gmail.com"
] | gingerbread614@gmail.com |
42f54e0461198e4d8f5874e74a74db43c39be6c9 | 0c6b408a89caf2b385651990891c74fe8fba2dd9 | /test/dma/test_dma.ino | d4e3178d91f8a854c838a88a581e3cc04cca12e6 | [
"MIT"
] | permissive | k323r/flugkatze | b8c466b77141bf564e1ab4e0f421ab0616975757 | 498e83d8ae30154e50e1000a395ae648f292112a | refs/heads/master | 2020-12-21T03:55:13.622325 | 2018-04-04T23:46:47 | 2018-04-04T23:46:47 | 56,000,984 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 454 | ino | class test_dma {
private:
float private_data;
public:
float public_data;
void init() {
public_data = 27;
private_data = 28;
}
float * return_adress_public () {
return &public_data;
}
};
test_dma bla;
//Setup routine
void setup(){
Serial.begin(9600);
bla.init();
Serial.print("init do... | [
"aljoscha.sander@gmail.com"
] | aljoscha.sander@gmail.com |
8175c4156deb9d295ed310cd43ff2e92be6c7809 | ce4efaa1e20622c8f111c117849eebc94c8c60f1 | /tms_ss/tms_ss_xtion/estimateExtrinsicParameters/include/myutility.h | 2c366b8b746b79bfc19e4d8f22e72b8cea7c960b | [] | no_license | duanliying/ros_tms | 3a438df38555c270b29f7061950caced9a54e702 | 51ecc3540900cfe208d8c2ca1ecaf2184d407ca7 | refs/heads/master | 2021-06-21T22:54:09.258363 | 2016-02-12T08:18:03 | 2016-02-12T08:18:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 462 | h | #ifndef _MY_UTILITY_H_
#define _MY_UTILITY_H_
#include <opencv2/opencv.hpp>
#ifdef __linux__
#include <termios.h>
#include <unistd.h>
#endif
#define KEYCODE_d 0x64
#define KEYCODE_p 0x70
#define KEYCODE_q 0x71
#define KEYCODE_r 0x72
class KeyboardEventReader
{
public:
KeyboardEventReader();
~KeyboardEvent... | [
"onishi@irvs.ait.kyushu-u.ac.jp"
] | onishi@irvs.ait.kyushu-u.ac.jp |
d805a0176e4af6e0ade6bc6263d2134c16e5efd1 | 2cd6edd02450849015bf535eb473a750dace67a8 | /final-project/repositories/Deep_Learning_Inference_Accelerator_with_CNNIOT/MSOC_final-main/finalwrapup_hls/solution1/syn/systemc/pool_hw.cpp | 7c4850a16993d9ace79f434baf87501223774c7b | [
"MIT"
] | permissive | prajwaltr/MSoC-HLS | fde436f7031cc7477a93f079a1b3407558988e07 | d876b6bdfe45caba63811b16b273a9723e9baf65 | refs/heads/main | 2023-06-05T00:52:40.419332 | 2021-06-15T02:30:37 | 2021-06-15T02:30:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 867,442 | cpp | // ==============================================================
// RTL generated by Vivado(TM) HLS - High-Level Synthesis from C, C++ and OpenCL
// Version: 2019.2
// Copyright (C) 1986-2019 Xilinx, Inc. All Rights Reserved.
//
// ===========================================================
#include "pool_hw.h"
#inc... | [
"es921088@gmail.com"
] | es921088@gmail.com |
1dbddb2a756284954577e77c9eaca608008995e5 | d0fb46aecc3b69983e7f6244331a81dff42d9595 | /dataworks-public/src/model/ListMetaCollectionsResult.cc | 1c06cec898570d27261ae256fa0de7167b58c5b8 | [
"Apache-2.0"
] | permissive | aliyun/aliyun-openapi-cpp-sdk | 3d8d051d44ad00753a429817dd03957614c0c66a | e862bd03c844bcb7ccaa90571bceaa2802c7f135 | refs/heads/master | 2023-08-29T11:54:00.525102 | 2023-08-29T03:32:48 | 2023-08-29T03:32:48 | 115,379,460 | 104 | 82 | NOASSERTION | 2023-09-14T06:13:33 | 2017-12-26T02:53:27 | C++ | UTF-8 | C++ | false | false | 4,078 | cc | /*
* Copyright 2009-2017 Alibaba Cloud 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.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | [
"sdk-team@alibabacloud.com"
] | sdk-team@alibabacloud.com |
9f991c436ba17235cf88effc2c9480d79754f32c | 34090b851ee2d1f12dbe13f30d199bb328fb11f6 | /src/qt/test/uritests.cpp | 12b642784db6410ed2d72eb7f673d08e49e682c4 | [
"MIT"
] | permissive | Creddit-lol/Creddit-Core | 7e4962d1e1dfb63c56236485938f7d4bf148e54f | 2514c8867fd2bdc34ae4c5466b9a31816dcc0b6c | refs/heads/master | 2023-05-12T18:45:39.377629 | 2021-06-07T23:54:09 | 2021-06-07T23:54:09 | 370,868,857 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,942 | cpp | // Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2017-2019 The CREDD developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "uritests.h"
#include "guiutil.h"
#include "walletmodel.h"
#include <QU... | [
"bobski.robertson122@gmail.com"
] | bobski.robertson122@gmail.com |
067a4f851fa6733e4baed4390b3c172f2317f8b5 | 4b5cba6ec72a1fa7eb67d1696e0da309f7026eef | /Headers/Dialogs/FindDialog.hpp | 55a44fcf996219a6b0e8dcb5182ab217fbe41a4a | [] | no_license | Danton666/File-Manager | 8cbebc589b85eb9518e5807bfd0b0ed3613da5aa | e14d5d94729ac65bc65b8725bc6c4650a3483e45 | refs/heads/main | 2023-06-22T04:22:29.832822 | 2021-07-24T10:20:48 | 2021-07-24T10:20:48 | 371,660,378 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 323 | hpp | #ifndef __FIND_DIALOG_HPP__
#define __FIND_DIALOG_HPP__
#include <QDialog>
QT_BEGIN_NAMESPACE
namespace Ui { class FindDialog; }
QT_END_NAMESPACE
class FindDialog : public QDialog
{
Q_OBJECT
private:
Ui::FindDialog* ui;
public:
FindDialog(QWidget* parent = nullptr);
~FindDialog();
};
#endif //__FIND_DIALOG_HP... | [
"khanov.ilya123@list.ru"
] | khanov.ilya123@list.ru |
e0f41b60e85371923b0a62965969b272f933c72a | b19216167f3f37b7d493ff7889af9db75667044a | /lte/gateway/c/session_manager/LocalEnforcer.cpp | 31e43d8aa77db5efdb5deac6377f9b9590e2fb22 | [
"BSD-3-Clause",
"Apache-2.0"
] | permissive | remo5000/magma | 66b56254fc6e6b6bc8ec210f30cd046747d4462e | 1d1dd9a23800a8e07b1ce016776d93e12430ec15 | refs/heads/master | 2020-12-23T05:36:12.699423 | 2020-01-29T16:50:10 | 2020-01-29T16:52:50 | 237,053,550 | 0 | 0 | NOASSERTION | 2020-01-29T18:28:57 | 2020-01-29T18:28:56 | null | UTF-8 | C++ | false | false | 44,890 | cpp | /**
* Copyright (c) 2016-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#include <... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
ec7aa106a27a9dce81ad5ba897e9faaddd0bbc6c | 19626187b1089a60e6c88b8e5d5e80f84427376c | /functional-tests/functional/input/src/cpp/SwiftExternalTypes.cpp | f29de9a2e2ac99163206ef83dd89073b47c8fd05 | [
"Apache-2.0"
] | permissive | HiteshMah-Jan/gluecodium | 535fe2c8259df4ffa387f2672b4f15c821b510f6 | 262d0d5bd901c2292509bb83d6b877f4adc6c123 | refs/heads/master | 2023-04-15T01:06:33.855923 | 2021-04-29T07:52:51 | 2021-04-29T07:52:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,518 | cpp | // -------------------------------------------------------------------------------------------------
// Copyright (C) 2016-2020 HERE Europe B.V.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the Licen... | [
"noreply@github.com"
] | noreply@github.com |
5b56639edb70a2feeeec27c5c44d4c1846e15aa4 | 1cdca8d67714b890a1bba4f454efc3a92e2665b9 | /Geometry/TriangleDef.hpp | aef20fd619007819882123de84afc04572ed81fa | [] | no_license | bortolo/TUTORIAL_CODE | b9ba8f870d6124ad84677c7c66e0507006b3d89e | e4900168acdfbdd31ca1ced3bb141831daf0d4b8 | refs/heads/master | 2016-09-06T07:42:03.081275 | 2014-03-21T19:35:01 | 2014-03-21T19:35:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 596 | hpp | //Definition of triangle methods
template<int dim>
Triangle<dim>::Triangle(std::vector<Punto<dim> > & PT){
M_coord.resize(3);
for(size_t i(0);i<3;i++)
M_coord[i]=PT[i];
}
template<int dim>
Triangle<dim>::Triangle(Punto<dim> & PT1,Punto<dim> & PT2,Punto<dim> & PT3){
M_coord.resize(3);
M_coord[0]=PT1;
M_c... | [
"andrea.bortolossi89@gmail.com"
] | andrea.bortolossi89@gmail.com |
a71594f5688f2dc3e626b6995647d10e95603f5d | 7bf18d167d441d1701b39cb37e7f43b2719c92c1 | /Source/SimpleProject/Battle/AI/BTS_SelectTargetActor.cpp | bcc91388be84d03ad02ccff148a2d20944848cd9 | [] | no_license | juno870502/SimpleProject | 570e54c437e9e8100f4af4479d98fad259663f51 | af51a41119205e21958a1002057ba29300d8bac1 | refs/heads/master | 2020-08-15T01:17:16.726109 | 2019-11-17T18:00:07 | 2019-11-17T18:00:07 | 215,258,252 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,303 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "BTS_SelectTargetActor.h"
#include "Kismet/KismetMathLibrary.h"
#include "BehaviorTree/BlackboardComponent.h"
#include "Battle/BasicMonster.h"
#include "AIController.h"
void UBTS_SelectTargetActor::TickNode(UBehaviorTreeComponent... | [
"juno870502@naver.com"
] | juno870502@naver.com |
78bbbf96875082298425e13e1b89784cedca6fbe | 980a2534b42e0b4ec16ee762cdea8cd94d9d1020 | /PDF/Streamable/TFSPdfLine.cpp | a8ff387ff5fbdb081ca57156e71e6379a2519d3d | [
"MIT"
] | permissive | barrettd/tfs_pdf | e15796e569e7c5304e45d6ee678268baecb53535 | 62d71f7b5d32e045a9e813ac2203b9172e7cabff | refs/heads/main | 2023-03-29T23:15:29.230534 | 2021-03-29T04:10:04 | 2021-03-29T04:10:04 | 351,863,768 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,699 | cpp | // ---------------------------------------------------------------------------------
// TFSPdfLine.cpp
//
// Created by Barrett Davis on 3/22/21.
// Copyright (c) 2021 Tree Frog Software, All Rights Reserved.
// ---------------------------------------------------------------------------------
#include "TFSPdfLine.hp... | [
"barrettd@thefrog.com"
] | barrettd@thefrog.com |
06576a34efc4a79e7d0fbc836176f6b1d5a2aa67 | b223127395fe17303a6a2c01b903859f772b1107 | /Chain.cpp | 6b6e3a3171b5f8868144e71d7e709229e2d223c3 | [] | no_license | dex0ne/tp-homework | bab714a8e7ee4f06bb064e92ac8d54c7d05a50dc | 5a86752922c7641c9c4ae5d3070e53d425b94adb | refs/heads/master | 2021-04-09T14:30:58.760263 | 2018-05-19T17:57:14 | 2018-05-19T17:57:14 | 125,771,703 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 976 | cpp | //
// Created by Denis on 19.05.2018.
//
#include "Chain.h"
void CreateCommandHandler::executeCommand(int level) override {
if (level == 2) {
std::cout << "SOLDIER or PEACEFUL or WIZARD";
std::string unitName = "";
std::cin >> unitName;
Command* curCommand = new CreateUnitCommand(u... | [
"dex0ne@ya.ru"
] | dex0ne@ya.ru |
d1140ea2615e89501de1b71c3848e5cee0784de0 | c49ec7e71e436943a8312de406cb2dbd7216b775 | /include/namaris/utilities/pointcloud.hpp | 82eea50c172a163d0bfed3188fac95cf3f05de50 | [
"MIT"
] | permissive | 3d-scan/namaris | f0f9efb545cd385f2fbd29b302543e9006f2934a | 018d2ed4b96fdab61495796c4a68d9540ac45628 | refs/heads/master | 2021-05-09T15:44:33.930806 | 2017-02-23T18:30:42 | 2017-02-23T18:30:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 39,246 | hpp | #ifndef POINTCLOUD_UTILITIES_HPP
#define POINTCLOUD_UTILITIES_HPP
// PCL includes
#include <pcl/point_types.h>
#include <pcl/point_cloud.h>
#include <pcl/filters/voxel_grid.h>
#include <pcl/search/brute_force.h>
#include <pcl/search/kdtree.h>
#include <pcl/common/centroid.h>
#include <pcl/common/pca.h>
#include <pcl/c... | [
"aleksandrs.ecins@gmail.com"
] | aleksandrs.ecins@gmail.com |
3d0592d1ddbdc83235eb07ab8e18039b852f4d78 | 687d7a901a6a38eb4c6184a2e0fc9d21e5c8b407 | /501A.cpp | b7c1eba34ec969682f40a340ccb2b568cb27ba85 | [] | no_license | MdAlSiam/My-Codeforces-Solutions | c7d343d0d31f7997d2e6b49ac5304780a45ee085 | d89ff347e4d50300550f86e6c78d488b46eed7c6 | refs/heads/master | 2021-09-21T01:34:53.283577 | 2021-09-01T18:25:36 | 2021-09-01T18:25:36 | 231,908,385 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,485 | cpp | /// In the name of Allah SWT
using namespace std;
#include <bits/stdc++.h>
#define ll long long int
#define dd double
#define scl(x) scanf("%lld", &x)
#define scll(x, y) scanf("%lld %lld", &x, &y)
#define scd(x) scanf("%lf", &x)
#define scdd(x, y) scanf("%lf %lf", &x, &y)
#define prl(x) printf("%lld\n"... | [
"noreply@github.com"
] | noreply@github.com |
0c9fcdbdc76c52f3958bd09ff6e66896892ad874 | 093df6cf938afc1f0af9f7120e2b48112cde7e36 | /libstd_cpp/type_traits/impl/enable_if.h | de67cf69a945aedfcd2eecf8c76a1681df8d9b7c | [] | no_license | hexu1985/cpp_code | 6487e19563ed2a751f889cb81ad724c40b442097 | 1cdbe297dec47cdd11f9e5d28e6caa2971b469bb | refs/heads/master | 2020-06-25T22:19:55.409303 | 2019-02-19T03:29:49 | 2019-02-19T03:29:49 | 96,992,341 | 3 | 0 | null | 2017-07-12T09:54:11 | 2017-07-12T09:54:11 | null | UTF-8 | C++ | false | false | 520 | h | // -*- C++ -*-
// HeXu's
// 2013 Jul
#ifndef HX_ENABLE_IF_H
#define HX_ENABLE_IF_H
namespace Hx {
// Primary template.
/// Define a member typedef @c type only if a boolean constant is true.
template <bool, typename T = void>
struct enable_if {};
// Partial specialization for true.
template <typename T>
struct enab... | [
"hexu@a.com"
] | hexu@a.com |
effd0396f30679652f4d5e6dcce2233470f5a3ca | 433ce53f5e6a30143599a116546d392d5bbb71a9 | /src/LibAmqp/Transport/LowLevel/EventThreadTestFixture.h | 7d912f50ddfb07ad8b0558ca113b22f43452f2b7 | [
"Apache-2.0"
] | permissive | libamqp/libamqp | 856a4b9ccad80aaad610a76d015ac0aae0b454e6 | af404f8412a940059fa54af0b25160bc94c8dd4b | HEAD | 2016-09-03T06:44:13.553357 | 2015-04-21T22:15:33 | 2015-04-21T22:15:33 | 1,619,242 | 29 | 8 | null | null | null | null | UTF-8 | C++ | false | false | 1,190 | h | /*
Copyright 2011-2012 StormMQ Limited
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed ... | [
"eamon.walshe@stormmq.com"
] | eamon.walshe@stormmq.com |
ebd2f6ad7a75291903aa54f922d3171a9a65d0f6 | 9ba6c8207201e153ec4b4d9030a1ae9c6a6b8992 | /Sparky-core/Core.h | 0042d82a3d7db544486e213a50fb83e76bbf2601 | [] | no_license | ankurparihar/Sparky | 0f70dec6abb521bd8214b5ac21d79675ce51fb61 | 1110ab3dfd3e3f379173347aab2e14f00b1adee0 | refs/heads/master | 2020-05-03T09:26:03.923362 | 2019-05-03T06:03:50 | 2019-05-03T06:03:50 | 178,553,635 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 463 | h | #pragma once
#ifdef SPARKY_ENABLE_ASSERTS
#define SPARKY_ASSERT(x, ...) { if(!(x)) { SPARKY_ERROR("Assertion Failed: {0}", __VA_ARGS__); __debugbreak(); } }
#define SPARKY_CORE_ASSERT(x, ...) { if(!(x)) { SPARKY_CORE_ERROR("Assertion Failed: {0}", __VA_ARGS__); __debugbreak(); } }
#else
#define SPARKY_ASSERT(x, ...)
#... | [
"pariharankur101@gmail.com"
] | pariharankur101@gmail.com |
d361ae3e787a9c65037485f5f60c56819034e5d6 | f2bd29cc215ab26a73ebb132b492171102f80933 | /SynthLib/SampleAndHold.h | 2cb09e30b44daf7f609c2bad65003ba889763fa6 | [] | no_license | djeemie2000/SynthPlayground | f319c1491744ad42bbc3501a2ffecdc44f887391 | daffa8887d568b306fdea071ad2f5b69fbebf074 | refs/heads/master | 2021-01-17T11:01:54.643937 | 2016-03-30T11:14:49 | 2016-03-30T11:14:49 | 18,151,046 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 334 | h | #ifndef SAMPLEANDHOLD_H
#define SAMPLEANDHOLD_H
template<class T>
class CSampleAndHold
{
public:
CSampleAndHold()
: m_Out(0)
{}
T operator()(T In, bool Trigger)
{
if(Trigger)
{
m_Out = In;
}
return m_Out;
}
private:
T m_Out;
};
#endif // SA... | [
"peter.jamee@telenet.be"
] | peter.jamee@telenet.be |
e8762f3f8d2151bc234cd0efd98cd7e010e4e90f | 9da062bfb03fe01803d1495add1098818b01c7b6 | /charpter02/0229.cpp | 3960ba54805955ea8cccfda99e0f2edf692b4410 | [] | no_license | chengwenwu/file | aaa0ba13cecee3478c86f89185b6e52163daafb8 | 2548cc3e4b9a8e3f213967871bc23f265e9a19f9 | refs/heads/master | 2020-06-29T22:31:55.408373 | 2020-02-10T07:02:14 | 2020-02-10T07:02:14 | 200,644,169 | 3 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,429 | cpp | #include <iostream>
#include <string>
using namespace std;
/*声明基类Box*/
class Box{
public:
Box(int,int,int); //声明构造函数
virtual void display();//声明输出函数
protected: //受保护成员,派生类可以访问
int length,height,width;
};
/*Box类成员函数的实现*/
Box:: Box (int l,int h,int w){//定义构造函数
length =l;
height =h;
width =w;
}
void Bo... | [
"2681595858@qq.com"
] | 2681595858@qq.com |
874239e141602ce8e33552ccceee65237d327440 | 59b447fe3260d7a5530442a6ce0a28a04d269811 | /lab13/lab13.cpp | 91d73d1514b02d08138f6f3dc484b5dbdfe942a3 | [] | no_license | SeanProfeta/SeanProfeta-CSCI20-FALL2017 | c306247d58b77ce503e33b8e84d359c84e05cca1 | f4e1e9f6ad963d54e689a51a56b700bd520fb7eb | refs/heads/master | 2021-01-19T16:02:01.574457 | 2017-12-11T07:30:01 | 2017-12-11T07:30:01 | 100,982,709 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,499 | cpp | // Created by Sean Profeta
// Date: 8/30/17
#include <iostream>
using namespace std;
int main ()
{
// The are the orignal number we are basing this off of. They started at mintues and will transfer to years.
//change the years to get a differnent answer
//The Equation to turn births per min into per year
... | [
"sprofeta001@student.butte.edu"
] | sprofeta001@student.butte.edu |
46a3eaf21599d5d472ded7f7685f6b5a810bd629 | 28dba754ddf8211d754dd4a6b0704bbedb2bd373 | /Ural/P1577.cpp | 5210a50443d15cd14d685161438da1ddf1427a6c | [] | no_license | zjsxzy/algo | 599354679bd72ef20c724bb50b42fce65ceab76f | a84494969952f981bfdc38003f7269e5c80a142e | refs/heads/master | 2023-08-31T17:00:53.393421 | 2023-08-19T14:20:31 | 2023-08-19T14:20:31 | 10,140,040 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,278 | cpp | /*
* 类似LCS,f(i,j)表示子串A前i个字母,子串B前j个字母的最小公共母串的长度,如果A[i]=B[j],那么f(i,j)=f(i-1,j-1)+1,否则f(i,j)=min{f(i-1,j),f(i,j-1)}+1,同时记录方案数即可
*/
#include <map>
#include <set>
#include <list>
#include <cmath>
#include <queue>
#include <stack>
#include <bitset>
#include <vector>
#include <cstdio>
#include <string>
#include <sstream>
#i... | [
"zjsxzy@gmail.com"
] | zjsxzy@gmail.com |
d17f30fc86c5e14b52f27b70f5f68239c39d75fa | 30b7ffd17845db982883a91ce8d04551281658c4 | /Codeforces/Educational/Educational 84/C-01.cpp | 02504820bad43191c80da1e26db5663920f5384d | [] | no_license | shas9/codehub | 95418765b602b52edb0d48a473ad7e7a798f76e5 | bda856bf6ca0f3a1d59980895cfab82f690c75a2 | refs/heads/master | 2023-06-21T01:09:34.275708 | 2021-07-26T14:54:03 | 2021-07-26T14:54:03 | 389,404,954 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,198 | cpp | #include <bits/stdc++.h>`
#define slld(longvalue) scanf("%lld", &longvalue)
#define plld(longvalue) printf("%lld\n", longvalue)
#define slf(longvalue) scanf("%lf", &longvalue)
#define plf(longvalue) printf("%lf\n", longvalue)
#define sc(letter) scanf("%c", &letter)
#define pc(letter) printf("%c", letter)
#... | [
"shahwathasnaine@gmail.com"
] | shahwathasnaine@gmail.com |
b44df0f5d3a6a7b07aa82912b4026dad8668083a | 9f520bcbde8a70e14d5870fd9a88c0989a8fcd61 | /pitzDaily/365/alphak | eebf25512d59c344b7b80ff78d6146e2bb2fb94b | [] | no_license | asAmrita/adjoinShapOptimization | 6d47c89fb14d090941da706bd7c39004f515cfea | 079cbec87529be37f81cca3ea8b28c50b9ceb8c5 | refs/heads/master | 2020-08-06T21:32:45.429939 | 2019-10-06T09:58:20 | 2019-10-06T09:58:20 | 213,144,901 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 68,856 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1806 |
... | [
"as998@snu.edu.in"
] | as998@snu.edu.in | |
39057ec0654074aef8ed637e8c8de966923958c5 | a67aff40080148e6ef791cae0a983d3dfc51a3e5 | /LeetCode/tags/dp/2d-array-variants/max-sum-of-rectangle-no-larger-than-k.cpp | 250e177a037185439ac6ac4af7a1ba8e42a7bf85 | [] | no_license | llenroc/CP | 622b97676dafc80dbcb7054977fcb73702f370fe | fa4c5160f37b6cc550b062bf77b17b0484efc671 | refs/heads/master | 2023-03-28T17:25:28.548230 | 2021-04-06T11:09:14 | 2021-04-06T11:09:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,672 | cpp | #include<bits/stdc++.h>
using namespace std;
// #define endl '\n'
// #define MOD 1000000007
bool az(int x) { return 97<=x && x<=122; }
bool AZ(int x) { return 65<=x && x<=90; }
bool number(int x) { return 48<=x && x<=57; }
class Solution {
private:
int kadane_sum(vector<int> &v) {
int curr=v[0], maxs=v[0]... | [
"jitendra.iitp@gmail.com"
] | jitendra.iitp@gmail.com |
2dc12279f5723a79318d587cfc869a912650e64a | 6c24641ad56b820d8f48681369c0c74471667dd5 | /include/three-dim-util/opengl2/primitives/sphere.hpp | e9e43f0e7e33c222ade75ba19f3e53eda58a9d40 | [
"MIT"
] | permissive | chengwei920412/three-dim-util-opengl | 09556b60432ca5e4ca0e48077ca0b45da7321f95 | e3eca11f300d9af6cc5d3eb5636c62f95276de59 | refs/heads/master | 2022-02-21T11:22:24.153162 | 2019-09-09T02:03:12 | 2019-09-09T02:03:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,354 | hpp | #ifndef sphere_hpp
#define sphere_hpp
#include <three-dim-util/opengl2/primitives/abstract-primitive.hpp>
#include <Eigen/Core>
namespace threedimutil
{
class Sphere : public AbstractPrimitive
{
public:
static void Initialize(int latitude_resolution = 20, int longitude_resolution = 30)
{
... | [
"yuki@koyama.xyz"
] | yuki@koyama.xyz |
de4a91523fdeae5dacdc64d6553b8cad31c18005 | 1231b1eca98856ed78ac5256f366a8cbf79864ae | /1014.cpp | 896d9424c3dd25c443a9efa35258e0d6344b334f | [] | no_license | KawshikBanerjee/LightOJ-Solutions | cde58ec11e623631712e86a85a73ff8a74b0cfc9 | 8bfade995be3a46d6497fe075d7293fb3e5bd9b5 | refs/heads/master | 2020-08-12T19:34:20.384768 | 2017-09-27T00:57:05 | 2017-09-27T00:57:05 | 214,830,199 | 1 | 0 | null | 2019-10-13T14:00:29 | 2019-10-13T14:00:29 | null | UTF-8 | C++ | false | false | 783 | cpp | #include <stdio.h>
#include <math.h>
#include <string.h>
#include <iostream>
#include <algorithm>
#include <vector>
using namespace std;
#define ll long long int
int main()
{
ll p, l, t, num, i, s_num, j;
scanf("%lld", &t);
for(i=1; i<=t; i++)
{
scanf("%lld %lld", &p, &l);
num=p-l;
printf("C... | [
"noreply@github.com"
] | noreply@github.com |
61020ceef74a1b71744ef7175d3737518ff67f23 | 0e9394230899fd0df0c891a83131883f4451bcb9 | /include/boost/simd/function/scalar/meanof.hpp | 58febda6f01712dcaaa16ce6d6777480e50e6bcc | [
"BSL-1.0"
] | permissive | WillowOfTheBorder/boost.simd | f75764485424490302291fbe9856d10eb55cdbf6 | 561316cc54bdc6353ca78f3b6d7e9120acd11144 | refs/heads/master | 2022-05-02T07:07:29.560118 | 2016-04-21T12:53:10 | 2016-04-21T12:53:10 | 59,155,554 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 662 | hpp | //==================================================================================================
/*!
@file
@copyright 2012-2015 NumScale SAS
@copyright 2015 J.T.Lapreste
Distributed under the Boost Software License, Version 1.0.
(See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.t... | [
"charly.chevalier@numscale.com"
] | charly.chevalier@numscale.com |
d5c6a694ad81cbfc3c10080429b7b0d70a089f00 | 8557eb2d74603e183c4dc920fc6322579b268910 | /core/display/painters/Painter.h | 42d2a714228ce0614fa73f990690191963357417 | [] | no_license | austinEng/FLIP-PIC-Fluid-Solver | 2b35ef8187058dabc80030bf0d14f54da98f3574 | 97a6dad5c7bec0ce4fdc710ad077912f14ad1a17 | refs/heads/master | 2021-01-18T08:11:51.114949 | 2016-04-21T23:33:21 | 2016-04-21T23:33:21 | 52,739,449 | 6 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 439 | h | //
// Created by austin on 2/29/16.
//
#ifndef FLUIDSOLVER_PAINTER_H
#define FLUIDSOLVER_PAINTER_H
#include <GL/glew.h>
#include <vector>
class Painter {
public:
virtual void draw() const = 0;
virtual void setViewProj(const float* viewProj);
protected:
GLuint prog;
GLuint compileShader(const char* ... | [
"213reeses@gmail.com"
] | 213reeses@gmail.com |
8e84f1f8e75dbbd853e5c4227bb4ec6b189fc150 | 781bcdfef1a6caed615fa13b5149638b38e02984 | /RPGame/Monsters.cpp | 0d682feea07f0a48ef59d0b88af3bc74fbc21573 | [] | no_license | Cameron-Sconza/RPGame | af6c2271fc303d52cec0bb27dc68d89e1523ac9e | 80c84119709e3023f8193676a8c52442b2c728fc | refs/heads/master | 2021-07-07T04:18:53.419968 | 2017-10-05T13:44:55 | 2017-10-05T13:44:55 | 105,675,860 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 898 | cpp | #include "stdafx.h"
#include "Monsters.h"
std::vector<Monsters> Monsters::getAllMonsters()
{
std::ifstream IO;
std::string monsterStr;
IO.open("C:\\Users\\Onshore\\Documents\\Visual Studio 2017\\Projects\\RPGame\\Monsters.txt");
if (IO.is_open()) {
std::ostringstream ss;
ss << IO.rdbuf();
monsterStr = ss.str... | [
"cameron.sconza@onshoreoutsourcing.com"
] | cameron.sconza@onshoreoutsourcing.com |
921688d428a6c95379550d0bf86e5719c7284ee3 | 18dc5c24f3659ee86bc133a3940963490af86028 | /chapter6-15/main.cpp | d486fb56ed466322bbef351bb38d678232ca0a04 | [] | no_license | hyoilll/hong_cplusplus | 91fb4d126179894f025643ca6b86daaf01560281 | 1015cdc8ccb651a0d3aa0749a1b5797d61f266fe | refs/heads/master | 2021-02-17T20:40:03.106536 | 2020-03-07T15:04:53 | 2020-03-07T15:04:53 | 245,126,483 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 506 | cpp | /*
참조와 const
*/
#include <iostream>
using namespace std;
void doSomething(const int& x)
{
cout << x << endl;
}
int main()
{
const int x = 5;
const int& ref = x;
const int& ref2 = ref;
//---------------------------------------
/*
int &ref_x = 3 + 5;
error
*/
const int& ref_x = 3 + 5;
//int* const ... | [
"dlgydlf123@gmail.com"
] | dlgydlf123@gmail.com |
9a8e73a8de9da302ec0053b66fb37827f4faa1a3 | 59fdc18dcf1bc4f939a8b3b72e467bb169b67429 | /comparisons/makeComparisons.cc | 5207a8eddf3bd8048ccb9babdc300c550662724a | [] | no_license | jan-kaspar/analysis_elastic.3500GeV.beta90.5sigma | 62483cfe8fde5ba44cbe3cb57441dcef8f2db0c4 | 37108013db1c4b993d49905022f91c7ad83a35ef | refs/heads/master | 2021-01-12T10:41:44.290577 | 2016-11-04T17:03:20 | 2016-11-04T17:03:20 | 72,627,137 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,804 | cc | #include "TFile.h"
#include "TH1D.h"
void MakeComparisons(const string &ds)
{
TFile *f1 = new TFile((string("../")+ds+"/normalize_45b_56t.root").c_str());
TFile *f2 = new TFile((string("../")+ds+"/normalize_45t_56b.root").c_str());
TH1D *h1 = (TH1D *) f1->Get("cross section/output");
TH1D *h2 = (TH1D *) f2->Get(... | [
"jan.kaspar@cern.ch"
] | jan.kaspar@cern.ch |
21972c2d006c57751ec1c9442fa2d22112a6b59e | b3f974f1b215aec4149f63d2d15fc3157686946d | /Jeenode/RF12/RF12sio.h | 8fdac890028d12c60302d2a5c0721294954fb1f0 | [] | no_license | simpleavr/MSPNode | 6aa1d56756d56555d4b030840d17ee75ad79637e | 30bcb31515d4b25725a2dbc807dd0e35932e57c2 | refs/heads/master | 2016-09-10T09:01:25.980734 | 2011-10-17T01:27:28 | 2011-10-17T01:27:28 | 2,373,554 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,920 | h | // Streaming I/O layer on top of RF12 driver
// 2009-05-07 <jcw@equi4.com> http://opensource.org/licenses/mit-license.php
// $Id: RF12sio.h 4727 2009-12-08 21:39:49Z jcw $
class RF12 {
enum { F_EXT = -6, F_STR, F_8, F_4, F_2, F_1 };
MilliTimer sendTimer, ackTimer;
uint8_t txbase, txfill, txfields, txP... | [
"robomotic@gmail.com"
] | robomotic@gmail.com |
54cd3393e10c6f3dc99d9d12b30d842739299385 | 09900a085dabc3bcfc42bd3cbd78085ce538a0d2 | /optimizer/src/sample.cpp | acea3e1e2a6293391e11050060f953cac2edae72 | [
"MIT"
] | permissive | rolandbernard/task-planner | 8121cac52555a6a6522b670bd6aec6618a89976e | 58401dd949ad422be2f87956d3f566563965decd | refs/heads/master | 2023-07-06T01:35:18.083560 | 2023-06-27T12:41:15 | 2023-06-27T12:41:15 | 240,232,040 | 0 | 0 | MIT | 2023-06-27T12:41:16 | 2020-02-13T10:19:35 | C++ | UTF-8 | C++ | false | false | 712 | cpp |
#include "sample.h"
#include <iostream>
namespace sample {
double linearBias(double r, double min, double max) {
return (r - min) + (max - min)/2 + (max - min)*1e-5;
}
double nonLinearBias(double r, double min, double max) {
double d = (r - min) + (max - min)/2 + (max - min)*1e-5;
... | [
"rolli.bernard@gmail.com"
] | rolli.bernard@gmail.com |
05fb788ec6a26d539d3b386b58fe055fb1fda3fa | 82437e831c8e89c092d4125cca71ace24d364f5e | /screamers/include/GameConnection.h | 264ae4a9fdd2783e42ab3aa9715694381fb500b0 | [] | no_license | qixiaobo/navi-misc | 93ac98f3d07eed0a1e6e620fd5f53880c5aac2a4 | 1f9099d40cc638d681eebbc85c0b8455dab21607 | refs/heads/master | 2021-06-06T11:53:00.644309 | 2016-10-27T06:01:26 | 2016-10-27T06:01:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,029 | h | /*
* GameConnection.h - manages a connection between client and server
*
* Copyright (C) 2005 Screamers Group (see AUTHORS)
*
* This program 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 versio... | [
"micah@scanlime.org"
] | micah@scanlime.org |
21f53a2418ccf201bdcd6e754748b3365b5bd93c | 46ee1192a4cd561bb7ed858a680722e83891ee26 | /SQLviewer/browser.h | 52b3172fdb5a776a75c703e59fc66e18691039b6 | [] | no_license | azieh/SQLviewer | 1ca1cbf1906f3fe93e10d27efb929ea54e2a00e3 | 36488036a174d3c92f8b2917e93044a734685fdb | refs/heads/master | 2021-01-10T13:21:51.618808 | 2015-11-17T14:52:25 | 2015-11-17T14:52:25 | 43,075,279 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 613 | h | #ifndef BROWSER_H
#define BROWSER_H
#include <QSqlTableModel>
#include <QMainWindow>
#include <QMessageBox>
#include <QtWidgets>
#include <QtSql>
#include <QMessageBox>
class Browser
{
public:
Browser ();
~Browser();
QSqlDatabase database;
QStringListModel* tableslistmodel;
QSqlTableModel... | [
"aziehx@o2.pl"
] | aziehx@o2.pl |
fe52aad31bbd3b8ec9383a2e25aa8608760d21a5 | 3845af9f8a65391ca6c98cbb20da5d2eb77ccba8 | /code/number_theory/prime_factors.cpp | d5abc08f1f9ae9c5e85c7ec76eecd933c217fedc | [] | no_license | namdlog/ICPC | 73d5491b5c2cef1cab22048e642fb65cdc7f3590 | 26e7358a529993ed8bde83a70a334158137662ac | refs/heads/master | 2020-12-28T09:11:03.810022 | 2020-02-04T00:56:28 | 2020-02-04T00:56:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 491 | cpp | // Find all prime factors | O(n^1/3) ?
// here we find the smallest finite base of a fraction a/b
#define ll long long
int main() {
scanf("%lld %lld", &a, &b);
ll g = __gcd(a, b);
b /= g;
cur = b;
for(ll i = 2; i <= cbrt(cur); i++) {
if(cur % i == 0) {
ans *= i;
w... | [
"pachecosobral@gmail.com"
] | pachecosobral@gmail.com |
2f2f701c4cc2a8141c6bfb072d6e0842feceae14 | 88de295bd35bc504104815e1afd897266802875b | /experimental/combine/utilities/image/image_utility.hpp | bd76d3f353f45dd49c1d440ef4a7544b4bda12f3 | [] | no_license | mfonken/combine | 4a26545c8e742dfcbc21d16236f6c5a346bfcb16 | aac79987ebfd4af0c8e1d441826bc1bfd78e39da | refs/heads/master | 2022-11-30T21:40:19.574096 | 2022-11-18T04:08:04 | 2022-11-18T04:08:04 | 94,054,420 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,786 | hpp | //
// image_utilities.hpp
// tau+
//
// Created by Matthew Fonken on 10/22/17.
// Copyright © 2017 Marbl. All rights reserved.
//
#ifndef image_utilities_hpp
#define image_utilities_hpp
//#include "test_setup.h"
#include <stdio.h>
#include <stdint.h>
#include <string>
#include <iostream>
#include <unistd.h>
#in... | [
"mgfonken@gmail.com"
] | mgfonken@gmail.com |
3b8d21dbaf717b1612d104a2a76a6e10948feb2e | 2f6f4953d35e53d3d86ad4e959d9f032d4bb3c4c | /startalk_ui/singleprogresobject.cpp | eee21497bdd09833d01b19e9ac72def0ffcbc02a | [
"MIT"
] | permissive | xuepingiw/open_source_startalk | c9b6866b736d51798394486de2b6181a49f38466 | 44d962b04039f5660ec47a10313876a0754d3e72 | refs/heads/master | 2020-04-29T03:00:00.190179 | 2019-03-27T07:01:40 | 2019-03-27T07:01:40 | 175,791,902 | 0 | 0 | MIT | 2019-03-15T09:43:22 | 2019-03-15T09:43:18 | null | UTF-8 | C++ | false | false | 881 | cpp | #include "singleprogresobject.h"
#ifdef _LINUX
#include "singleprogress_adaptor.h"
#include "singleprogress_interface.h"
#endif // _LINUX
#include <QMessageBox>
#include "UIFrame.h"
#include "MainDialogController.h"
#include "SystemIcon.h"
SingleProgresObject::SingleProgresObject(QObject *parent) : QObject(parent)
... | [
"20832776@qunar.com"
] | 20832776@qunar.com |
ba4e91f4f3aa874c6b36f514d15798285ef35b67 | ded07ff8ec8b536e9da769cdd41ded670ebd9197 | /Formats/dmf/dmfformat.h | c056c811d3bb8bb2d2db6dec7670b0c8232f9b2c | [
"MIT"
] | permissive | jgunthorpe/muse | f8a05aeff53f236b713d1a53e9319fd5851fd2f6 | 7701cab4377938a8ce3d8c8d2eb68f5f7a7152bf | refs/heads/master | 2021-01-19T17:53:33.041577 | 2017-08-22T18:02:24 | 2017-08-22T18:02:24 | 101,092,978 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,761 | h | typedef struct museSongSample
{
octet *Sample;
unsigned long Flags;
unsigned long LoopBegin;
unsigned long LoopEnd;
unsigned long SampleEnd;
string Name;
string SampleName;
int InstNo;
unsigned long Center;
octet Volume;
} museSongSample;
typedef Sequence<museSongSample> SequenceSongSam... | [
"jgunthorpe@obsidianresearch.com"
] | jgunthorpe@obsidianresearch.com |
3573c6a0e9c08e166d0c055811008724abff345a | 6eb1b24e91d922bc68554b7205230be59c2a94af | /DeviceCiperSDK/Rc4Ciper.cpp | 2c1ee4f06e5d995e9769820a66d9ad4c5b480da2 | [] | no_license | ly000451/DeviceSecuritySdk | 97e4430f9f0ce6878175fe18bd8ba9fa65d53cdb | 35e77eb9cdbeb1792201cad270539da1147bd0bb | refs/heads/master | 2020-03-29T01:23:46.338005 | 2018-09-19T03:35:11 | 2018-09-19T03:35:11 | 149,386,444 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 431 | cpp | #include "stdafx.h"
#include "Rc4Ciper.h"
Rc4Ciper::Rc4Ciper()
{
memset(sbox, 0, 256);
memset(key, 0, 256);
}
Rc4Ciper::~Rc4Ciper()
{
memset(sbox, 0, 256); /* remove Key traces in memory */
memset(key, 0, 256);
}
char* Rc4Ciper::Encrypt(char *pszText, int itxtLength) {
return Encrypt(pszText, itxtLength,pszKe... | [
"ly000451@gmail.com"
] | ly000451@gmail.com |
17d69ec5bfa142dc885d1ee66b925ce9390cf375 | 9b4dd8a4187d85f1826b1b5a10d2d317b410e69d | /数据结构/图/深度优先搜索.cpp | c66d09c3378e72e0616b42bf5681d4a0a9fdbda7 | [] | no_license | wbl1996/C-projects | db5448b89f3f1c2592aa94e905f14418b9986189 | e5b5581d5e17c27a59cab67663630a6e76e59cf6 | refs/heads/master | 2021-09-23T17:59:31.578486 | 2018-09-26T06:42:09 | 2018-09-26T06:42:09 | 113,429,821 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,178 | cpp | #include<stdio.h>
#include<string.h>
#include<stdlib.h>
#define MAXVEX 100
#define MAXSIZE 100
typedef int Edgetype;
typedef int Elemtype;
typedef char Vertextype;
typedef struct graph{
Vertextype vex[MAXVEX];
Edgetype arc[MAXVEX][MAXVEX];
int numNodes,numEdges;
}MGraph;
void CreateMGraph(MGraph *Gp){
int i,j,k;
... | [
"wbl_96@163.com"
] | wbl_96@163.com |
c304839e90f139fdbd43dfb8d1670a53a77aa40a | b69e355d8c58f1682372d8adf4a27028ce854c1e | /baltic/Baltic 15-net.cpp | c79a41162d3b48d958abb752ae6f1eae2d25978a | [] | no_license | sjhuang26/competitive-programming | 97845b11f6245822e36c581b28157fa9a09c6e34 | f1c82e20248d4c72c1d521b977c9992abe20fdc5 | refs/heads/master | 2021-07-09T18:30:15.210042 | 2018-12-30T20:31:00 | 2018-12-30T20:31:00 | 137,676,577 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 909 | cpp | /*
Baltic 15-net (accepted, looked at solution)
Key ideas:
- Simply link the ith leaf node to the i+(# of leaves)/2 node.
- Account for the case where (# of leaves) is odd.
*/
#include<iostream>
#include<vector>
using namespace std;
vector<int>s;
vector<vector<int>>t;//1 IDX
bool f[500005]={};
int N;
void dfs(int u){... | [
"sjhuang26@gmail.com"
] | sjhuang26@gmail.com |
542da65cffe6b8739e7fad31b90d8e7c75a0a406 | f9b32ac7c5b830a15b2d8516b26c484fd7f2837a | /Algorithm/ContainOfZero.cpp | 118658bf7e9729cee824565412552f2b007f9322 | [] | no_license | Zukky55/Algorithm | 79cdce69430490a5461d75ce8f8d860d354e71c1 | ca36ac79b7292540555555f077bf15b2d4e21367 | refs/heads/master | 2020-05-20T21:16:10.973934 | 2019-05-23T09:22:44 | 2019-05-23T09:22:44 | 185,757,951 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 977 | cpp | #if 0
#include <iostream>
#include<random>
using namespace std;
#define ARRAY_LENGTH(array) (sizeof(array) / sizeof(array[0]))
const int ARRAY_SIZE = 10;
const int RANGE = 1000;
bool isContainValue(int targetInt, int searchArray[]);
int main()
{
int a[ARRAY_SIZE];
random_device rnd;
mt19937_64 mt;
mt.seed(rnd()... | [
"www.kase@gmail.com"
] | www.kase@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.