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 986
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 23
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 145
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 122
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
80bb8ae4c9ec178827be6c80e1be8bbd7f0bf583 | 690330c86dce9812894891c7d90e80d052372b5b | /anyfx/api/lowlevel/base/varblockbase.cc | c0b15bcef3d29c5f1f56879857d5046d96145341 | [
"BSD-3-Clause",
"LicenseRef-scancode-nvidia-2002"
] | permissive | Duttenheim/fips-anyfx | 948fef1593501d874647bf56c4ccb137ed38ac62 | 71617128d7ec5ba85f229e88bb00325b5fb9015e | refs/heads/master | 2023-08-22T09:22:03.426472 | 2023-08-12T18:55:06 | 2023-08-12T18:55:06 | 97,407,640 | 1 | 3 | null | 2020-11-28T20:42:56 | 2017-07-16T19:57:47 | C++ | UTF-8 | C++ | false | false | 1,425 | cc | //------------------------------------------------------------------------------
// varblockbase.cc
// (C) 2016 Individual contributors, see AUTHORS file
//------------------------------------------------------------------------------
#include "varblockbase.h"
#include "variablebase.h"
namespace AnyFX
{
//-----------... | [
"gustav.sterbrant@gmail.com"
] | gustav.sterbrant@gmail.com |
d380bbbdbc3202cb7f40a1e0709f7fc589393a87 | 40f7252051a70991840e72d062887209c973f4b7 | /Coding Ninja/Files/Implementation Of Priority Queue/inbuilt-Min-Priority-Queue.txt | 923c249b181ce9f9fd72fbad953f2526b06aa940 | [] | no_license | goel-aman/Self_Learning_Reference_Material | 97d88038acebae5974ec5288299bebae6a68c9eb | 47ff509b366800fb46fb2a75181ed52d547cd9a5 | refs/heads/main | 2023-06-04T03:31:30.779377 | 2021-06-17T13:34:10 | 2021-06-17T13:34:10 | 301,749,833 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 352 | txt | #include <iostream>
using namespace std;
#include <queue>
int main() {
priority_queue<int, vector<int>, greater<int> > p;
p.push(100);
p.push(21);
p.push(7);
p.push(165);
p.push(78);
p.push(4);
cout << p.size() << endl;
cout << p.empty() << endl;
cout << p.top() << endl;
while(!p.empty()) {
cout << p... | [
"amangoel9873572693@gmail.com"
] | amangoel9873572693@gmail.com |
1567f6dc7429a778c3f186f10ee8f1926680f9cc | ece29cdeb72617063c52dee00e8b7ea958b1a16a | /disk_scan_client/disk_scan_util.cpp | 4808e2b19cd3a83cc77f9b19add07bb801af55c2 | [] | no_license | neilnee/disk_scan | ffab7500fefc78a86400159bebe7aea5a8d4eec6 | e832237a72de8d7b0cd28d585d4acdfc09b1c851 | refs/heads/master | 2016-09-16T07:31:25.909654 | 2014-08-28T17:01:00 | 2014-08-28T17:01:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,207 | cpp | #include "stdafx.h"
#include "disk_scan_util.h"
std::wstring GetProcessPath()
{
TCHAR path[MAX_PATH];
GetModuleFileName(NULL, path, MAX_PATH);
std::wstring processPath = path;
processPath = processPath.substr(0, processPath.rfind(L"\\"));
return processPath;
}
std::string ToMultiByte(const wchar_t... | [
"neilnee324@gmail.com"
] | neilnee324@gmail.com |
697aad35ac253663f9b7cb0a807e9e47be580d0d | 1eebf39c08716814de4196919e470fcfb61e54ed | /src/attitudePropagator.cpp | b13d41a72d681a6b7ebc7bd5e4d6ca85e4470424 | [] | no_license | nearlab/nearlab_utils | 71af95732af87f779a92c036b937d82111f0e954 | 7b12cfdb7920251a5133cc87acd1d80615433963 | refs/heads/master | 2020-04-17T16:09:26.851518 | 2019-01-25T01:38:57 | 2019-01-25T01:38:57 | 166,728,796 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,421 | cpp | #include "attitudePropagator.h"
#include "rungeKutta.h"
#include "quatMath.h"
#include <math.h>
void attProp(Eigen::MatrixXd& stateHist, const Eigen::Vector4d& q0, const Eigen::Vector3d& w0, const Eigen::MatrixXd& control, const double& tf, const int& intervals, const AttitudeParams& p){
Eigen::VectorXd st... | [
"jtb2013@gmail.com"
] | jtb2013@gmail.com |
506cdca87583435533b40edf0bd92d31841ceb11 | 4032667ca76494a5bcc427faa9599b98df5af60f | /src/rpc/client_config.h | 9969268ea1d9996f6c886efc6c07b06cd02ba0d0 | [
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-warranty-disclaimer",
"MIT"
] | permissive | shphrd/bitcoin-sv | 7eb3dbec84338101dd3581045ce7688657767e03 | 0ab72c65ae492376e6fe1ec3a27532fd7cafc7b1 | refs/heads/master | 2021-06-28T07:31:24.916704 | 2021-02-10T23:48:30 | 2021-02-10T23:48:30 | 317,419,401 | 1 | 0 | NOASSERTION | 2021-02-10T23:48:31 | 2020-12-01T03:58:23 | null | UTF-8 | C++ | false | false | 1,607 | h | // Copyright (c) 2020 Bitcoin Association
// Distributed under the Open BSV software license, see the accompanying file LICENSE.
#pragma once
#include <rpc/client_utils.h>
#include <string>
namespace rpc::client
{
/**
* Wrapper for RPC client config.
*/
class RPCClientConfig
{
public:
// Some default conf... | [
"r.mills@nchain.com"
] | r.mills@nchain.com |
bdad114b1cc8d8f94088c725b12dc56e92d926f2 | bd1fea86d862456a2ec9f56d57f8948456d55ee6 | /000/109/403/CWE606_Unchecked_Loop_Condition__wchar_t_listen_socket_72b.cpp | 78ec6b0ce220f47dc672bcf9f258ae41990e1cb0 | [] | 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 | 2,923 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE606_Unchecked_Loop_Condition__wchar_t_listen_socket_72b.cpp
Label Definition File: CWE606_Unchecked_Loop_Condition.label.xml
Template File: sources-sinks-72b.tmpl.cpp
*/
/*
* @description
* CWE: 606 Unchecked Input For Loop Condition
* BadSource: listen_socket Read da... | [
"frank@fischer.com.mt"
] | frank@fischer.com.mt |
a1b419057877ee75fc710958b3932b6ba204ac7d | e9dfc5f66f649c8e11110d4211c57f575471f2fb | /programa 6/main.cpp | d27008fd5faf37c5b461ac4b0c0bf79abf66ed83 | [] | no_license | erickmerlo/programacion2 | dad59092695ee876865cfd5d9baa00ac9fdcb8c0 | 53fd8fedec004c8ed7a8e0363552d01790a56068 | refs/heads/master | 2020-04-16T04:32:06.153781 | 2013-12-12T21:17:55 | 2013-12-12T21:17:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,108 | cpp | #include <iostream>
using namespace std;
/* ingresar nombre del empleado,turno y las horas.
luego determianar el pago por hora, el pago bruto, ihss y total a pagar
turno1= 100
turno2= 150
turno3= 190
para el seguro si el salario es arriba de 7000 es igual a 245 y si no deducir del salario bruto el 3.5%
*/
int main()
... | [
"erick.merlo13@hotmail.com"
] | erick.merlo13@hotmail.com |
23bdd2c4557b51d0fb22b8de18e9d24f9187f640 | faf706266f72ac6c335662d63c8e31b0e87da3b2 | /modules/trasan/include/TLine0.h | d339af0e33f82af5f27c62c834802ba50ae9385f | [] | no_license | zombiesquirrel/vxdtf | 4ba3284df6ba6a87039eaa38d4faff4baccd4076 | a42de988245f471b0faa20659b3d8ab2a6a53a29 | refs/heads/master | 2021-01-01T05:38:05.122550 | 2013-09-10T13:47:06 | 2013-09-10T13:47:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,994 | h | //-----------------------------------------------------------------------------
// $Id: TLine0.h 10021 2007-03-03 05:43:02Z katayama $
//-----------------------------------------------------------------------------
// Filename : TLine0.h
// Section : Tracking
// Owner : Yoshihito Iwasaki
// Email : yoshihito.iwa... | [
"jkl@lettenbichlerAtWork.(none)"
] | jkl@lettenbichlerAtWork.(none) |
1c0e45eafc14ced46901f7243a4fe5be5cb644c8 | 8365e80590978513f9be184787e3f9c2dbaf0af5 | /tests/HopscotchHashTest.cpp | c0d9c4ca25819a6b97ffcfd983d62d6feceb452f | [] | no_license | IvanRamyk/oop_exam | 5392963924daaedfa649767354569839322269a9 | 00b099682cef93485b5d52d75494e25ec8b16f3d | refs/heads/master | 2022-10-11T10:40:56.300928 | 2020-06-10T22:02:32 | 2020-06-10T22:02:32 | 270,590,419 | 0 | 2 | null | 2020-06-10T10:05:49 | 2020-06-08T08:30:04 | C++ | UTF-8 | C++ | false | false | 566 | cpp | //
// Created by hryhorchuk117 on 10/06/2020.
//
#include <iostream>
#include <gtest/gtest.h>
#include "../src/Hash/HopscotchHash.h"
TEST(Hash, HopscotchHash) {
HopscotchHash<date_time::Time> table({date_time::Time(1, 1, 1),date_time::Time(1, 1, 5) });
auto n = table.getData();
EXPECT_TRUE(table.getData()... | [
"hryhorchuk117@gmail.com"
] | hryhorchuk117@gmail.com |
34837822144cb99657d3a5e524afc046de9468f6 | 6035bc4bf8ca0993cf372bbf4b2a2deaee37e156 | /cpp_d09/ex01/Warrior.cpp | 5d809b53994837507d771deae3f9534928a837c6 | [] | no_license | Clemsx/Cpp_pool | 0853bc000c9e6585dd96acdc58c9760c8637cc85 | 43ebf6af098408c23291595817167a3d0240bc59 | refs/heads/master | 2023-02-08T05:57:26.524042 | 2020-12-28T18:54:23 | 2020-12-28T18:54:23 | 325,091,972 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,439 | cpp | //
// Warrior.cpp for d09_ex01 in /home/clemsx/CPP/Pool/cpp_d09/ex01
//
// Made by clement xia
// Login <clemsx@epitech.net>
//
// Started on Thu Jan 12 16:04:23 2017 clement xia
// Last update Fri Jan 13 08:52:01 2017 clement xia
//
#include <string>
#include <iostream>
#include "Warrior.hh"
Warrior::Warrior(co... | [
"clemsx@clemsx.local"
] | clemsx@clemsx.local |
9e8dd85e1cdd5ab7042f4cc35ffdeece407d21d3 | 5125e2efdf589fc87936665a0be12abe6b224786 | /p2_1_Woodard.h | 1e7f2e227527d3ace603b0e2882a946c31ab2dd3 | [] | no_license | BJWOODS/Reverse-Polish-Notation-Calculator | df0c5139a9bf12f4aed416f657a64b2e84af5174 | 9691038e3a23f6336b351243abeb6f9d1f3eff82 | refs/heads/master | 2020-12-24T19:36:29.855840 | 2016-06-07T21:35:32 | 2016-06-07T21:35:32 | 56,015,282 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 836 | h | //
// main.cpp
// CST238Project2
//
// Created by Brandon Woodard on 11/11/15.
// Copyright (c) 2015 Brandon Woodard. All rights reserved.
//
#include <iostream>
#include <string>
#include <cstdlib>
#include <stdio.h> /* printf, fgets */
#include <stdlib.h> /* atof */
#include <math.h>
#include <iomanip>
#... | [
"bwoodard@csumb.edu"
] | bwoodard@csumb.edu |
0222ed51a20edadc6cc87f60e63abadf6f9b9340 | ae9ff784b524610de9abebea61a59df1152c3aad | /CH05/13.cpp | 7378a968b770042c4efec2b63d28ebdb77a1d2dd | [] | no_license | headmastersquall/Cpp | 489ea7757d9b0a64b929fece3b1152121f69cdc8 | daca75461ca00bb9f5af7550554e32d024d335d8 | refs/heads/master | 2020-05-17T22:39:57.086887 | 2015-11-09T20:12:31 | 2015-11-09T20:12:31 | 42,877,932 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 521 | cpp | /*
* 13. Celsius to Fahrenheit Table
*
* This program outputs a table showing the conversion values
* of Celsius degress to Fahrenheit degrees from the values
* of 0 through 20.
*/
#include <iostream>
using namespace std;
int main()
{
double fahrenheit;
const double CONVERSION = 9.0 / 5.0;
cout << "C\tF" <... | [
"headmastersquall@hushmail.com"
] | headmastersquall@hushmail.com |
5fb9528e25adc070c0d8917da92e1229db3c7320 | f6e9b79854238d40335d7f80bad75e057c12c4eb | /src/Hedera/Entry.cpp | 60dfc7e124a41eb82da4ee9a38891a3c4001986d | [
"BSD-3-Clause",
"LicenseRef-scancode-protobuf",
"LGPL-2.1-only",
"Swift-exception",
"MIT",
"BSL-1.0",
"Apache-2.0"
] | permissive | scrtlabs/wallet-core | 82cfc9587c23c824a9568cdc511500adaab63d18 | a623e13cb0bea20019acf078fba4117d3e85a441 | refs/heads/master | 2022-12-14T21:36:56.668907 | 2022-12-04T15:30:31 | 2022-12-04T15:30:31 | 272,007,408 | 0 | 1 | MIT | 2022-11-28T15:27:47 | 2020-06-13T12:47:24 | C++ | UTF-8 | C++ | false | false | 904 | cpp | // Copyright © 2017-2022 Trust Wallet.
//
// This file is part of Trust. The full Trust copyright notice, including
// terms governing use, modification, and redistribution, is contained in the
// file LICENSE at the root of the source code distribution tree.
#include "Entry.h"
#include "Address.h"
#include "Signer.h... | [
"noreply@github.com"
] | scrtlabs.noreply@github.com |
b2c0b0dd233e9f37c149e115ca54f94f8b4f3fd6 | a00315b4799ced889ddd0ca00321cfdfdbafd43b | /Lesson6/Part2/icpc_7752.cpp | 470cfa544ffa84ca2cf5cb3e2bcb88fe9bd50f74 | [] | no_license | yakirhelets/234901_CP | 928bd963882ad7f875a35317767688ae53322ecc | 92dd1e17d43091c873bf302edeaf333a4f240f6b | refs/heads/master | 2020-05-09T03:41:52.547440 | 2019-07-07T14:40:49 | 2019-07-07T14:40:49 | 180,982,276 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,111 | cpp | #include <algorithm>
#include <cassert>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <iterator>
#include <list>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <tuple>
#include <unordered_map>
#include <unordered_set>
#include <vector>
// clang-format off
#ifndef LOAD_TEST... | [
"yakir.helets@gmail.com"
] | yakir.helets@gmail.com |
70d4f740aa4ddc3cf7d14bb9818906bc612454ca | 3cd8c944a212048db42541f53a030ddc2fdffa24 | /glesstudy/jni/main/DiResource.cpp | 88979ea94ac0935b849b7f08414c1097e24ade47 | [
"MIT"
] | permissive | eastcowboy2002/gles-study | 6f2f4d6c4bf99f97080a16a51c5094b63883f025 | e715ea76e41c8dc73cfff1c32a2bdf24aa3b73f9 | refs/heads/master | 2020-05-19T21:56:12.325860 | 2015-07-23T02:03:27 | 2015-07-23T02:03:27 | 19,304,149 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,942 | cpp | #include "DiResource.h"
#include "SDL_image.h"
#include <ctime>
namespace di
{
unique_ptr<ResourceManager> ResourceManager::s_singleton;
ResourceManager::ResourceManager()
: m_fields(new Fields)
{
m_fields->threadWillEnd = false;
shared_ptr<Fields> fields = m_fields;
Th... | [
"eastcowboy2002@163.com"
] | eastcowboy2002@163.com |
dc3ca7412ccab7a04083c79ba69b0ae3fb410be8 | 6b0345821fcefa528f9382eed8c0a3fbb95f60c8 | /ethernet.cpp | 10b726cc57ef752af2163b6b8ac4e1f895381cf6 | [] | no_license | rnetuka/cpp-networking | d58b2428daca5b8e26d745425b813eba2cbccd08 | 2948631aa85b20bbcec7d19c73e7cf301e9d28a8 | refs/heads/master | 2021-07-07T03:31:45.487885 | 2017-10-03T08:55:05 | 2017-10-03T08:55:05 | 105,631,159 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,400 | cpp | /*
*/
#include <cstdint>
#include <ostream>
#include <sstream>
#include <string>
#include <vector>
#include "ethernet.h"
#include "mac.h"
using namespace eth;
using namespace mac;
using namespace std;
Frame::Frame() : ether_type_(0), checksum_(0)
{
}
void Frame::set_source_address(const Address& address)
{
... | [
"rnetuka@redhat.com"
] | rnetuka@redhat.com |
9aea31e3d63f2e83f080fb755f7f0559fd44456d | a736610d8913db0e10548f4920b37b6c2b5acd53 | /source_code/KMedoidsTreeClustering.cpp | 78f59ebccf3747be2d3a52af5d1bc83b4b9055a2 | [] | no_license | NadiaTahiri/CKMedoidsTreeClustering | 31bc5fdea898ced9c3a707fd07d12089c5e322a3 | c50732543a1aa35332cad3ebe37f36c07c01aef0 | refs/heads/master | 2021-01-21T14:16:41.814179 | 2017-06-23T21:38:12 | 2017-06-23T21:38:12 | 95,260,674 | 2 | 0 | null | 2017-06-23T22:25:09 | 2017-06-23T22:25:09 | null | UTF-8 | C++ | false | false | 21,911 | cpp | #include <iostream>
#include <fstream>
#include <vector>
#include <string>
#include <boost/regex.hpp>
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <time.h>
#include <string.h>
#include <vector>
#include <fstream>
#include <sstream>
#ifdef _OPENMP
#include <omp.h>
#endif
#incl... | [
"noreply@github.com"
] | NadiaTahiri.noreply@github.com |
d356ecf9dd8f7fefe72a671bb30fc7b53627697b | 46a270c50ca6d41d92c085aad2d8f8dfa3dc55df | /tafjce/Zone/Include/Legion/IBossFactory.h | 14db6e602c33ba0cf1b2d486e52aa2d1eea180cb | [] | no_license | PenpenLi/YXLDGameServer | 74e4eb05215373121029beefb9712f94b0488aea | 6f6e709271a0f47aa8d55226fed436308aae2365 | refs/heads/master | 2022-10-20T15:49:13.793932 | 2020-07-15T07:50:00 | 2020-07-15T07:50:00 | 279,802,517 | 0 | 0 | null | 2020-07-15T07:49:15 | 2020-07-15T07:49:14 | null | GB18030 | C++ | false | false | 1,317 | h | #ifndef __IBOSS_FACTORY_H__
#define __IBOSS_FACTORY_H__
#include "IFightSystem.h"
typedef TC_Functor<void, TL::TLMaker<taf::Int32, const ServerEngine::BattleData&, int>::Result> DelegateBossFight;
struct BossDamageRecord
{
BossDamageRecord():iDamageValue(0){}
ServerEngine::PKRole roleKey;
string strName;
int iD... | [
"fengmm521@gmail.com"
] | fengmm521@gmail.com |
d809389284d1125c6e06d7e5143e3cfb38134a2d | b71b8bd385c207dffda39d96c7bee5f2ccce946c | /testcases/CWE23_Relative_Path_Traversal/s01/CWE23_Relative_Path_Traversal__char_console_fopen_16.cpp | d1183abff81de5caaf9ecac276335f94d9014abf | [] | no_license | Sporknugget/Juliet_prep | e9bda84a30bdc7938bafe338b4ab2e361449eda5 | 97d8922244d3d79b62496ede4636199837e8b971 | refs/heads/master | 2023-05-05T14:41:30.243718 | 2021-05-25T16:18:13 | 2021-05-25T16:18:13 | 369,334,230 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,554 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE23_Relative_Path_Traversal__char_console_fopen_16.cpp
Label Definition File: CWE23_Relative_Path_Traversal.label.xml
Template File: sources-sink-16.tmpl.cpp
*/
/*
* @description
* CWE: 23 Relative Path Traversal
* BadSource: console Read input from the console
* Good... | [
"jaredzap@rams.colostate.edu"
] | jaredzap@rams.colostate.edu |
48b9597c1bd3810886c1983ec1cbde7f9da23dbe | 3749d5ff88b72f7c729e2efb9e31f3fe459010e9 | /ThrusterDirection.cpp | 1dfe83de44c0c2ac3f89444df9d82b9fe9fd1538 | [] | no_license | j-rushton/AUVSeniorDesign | 953c119e2f46de4cf93611d288d11169595e0315 | b6d07a894e67546d2e47773b143959478b2c9493 | refs/heads/master | 2021-09-26T08:55:39.475989 | 2020-04-10T03:53:44 | 2020-04-10T03:53:44 | 112,866,248 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,200 | cpp | #include<iostream>
#include<cmath>
#include<fstream>
#include<sstream>
#include<vector>
#include<typeinfo>
#include<time.h>
using namespace std;
void CSV_file_reader(vector<double> &t, vector<double> &gx, vector<double> &gy, vector<double> &gz, vector<double> &ax, vector<double> &ay, vector<double> &az);
int max_angula... | [
"ishanchavan@users.noreply.github.com"
] | ishanchavan@users.noreply.github.com |
2f1f1516354911255e29c9eafce4a53066719d6e | 24454e373001e49db71c5048615e039e019ca51e | /vendor/github.com/discordapp/lilliput/deps/osx/include/opencv2/imgcodecs.hpp | e4e858492791c0c75709524abdaf94dc4efc63fc | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | steevee/picfit | b4b6b4c3805352603e8bc1a99c85edfb8840de26 | 172f24158d0d3ef6e86d77b2475242fc9b83b6c7 | refs/heads/master | 2021-05-23T07:52:15.471748 | 2020-02-17T15:40:40 | 2020-02-17T15:40:40 | 241,121,910 | 0 | 1 | MIT | 2020-02-17T14:41:15 | 2020-02-17T14:03:27 | null | UTF-8 | C++ | false | false | 20,704 | hpp | /*M///////////////////////////////////////////////////////////////////////////////////////
//
// IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
//
// By downloading, copying, installing or using the software you agree to this license.
// If you do not agree to this license, do not download, instal... | [
"m@edouard.paris"
] | m@edouard.paris |
f6ee5d1a08f2f5724887d965f702d175a8b3549e | be290e9e622a69280e6780862775d1ef9570d1d9 | /Assignment 1/Solution/Queue.cpp | 21d7c47de222ea4820388659ae57afc187f13624 | [] | no_license | nch8501/DSA2 | 25937ff44bbf520e6dc894db30328eba3aa6eb5b | 2b9f7e123c63b0ff679faf5001dd279e688ef563 | refs/heads/master | 2021-05-11T07:36:41.841080 | 2018-04-23T01:03:24 | 2018-04-23T01:03:24 | 118,022,275 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,015 | cpp | #include "Queue.h"
Queue::Queue()
{
//set all pointers to default values
pArray[0] = v1;
pArray[1] = v2;
pArray[2] = v3;
}
Queue::Queue(Queue const & other)
{
//double the size of the queue
pArraysize = other.pArraysize*2;
//create the queue
pArray = new int[pArraysize];
//copy the number of elements ... | [
"nch8501@rit.edu"
] | nch8501@rit.edu |
5623caecb094e42d7a1f9cb165f76470eb68be9d | 0976b0df057b01422b1b7bdbe23934b3254f8e05 | /MM3.KScanBarWrapper/MM3.KScanBarWrapper/MM3.KScanBarWrapper.cpp | e98343745b3482e96b193ff3c632b859a70ee21f | [] | no_license | popovegor/shtrihm | 0b8493dda86562f7f821031f7b7934f1e9000e00 | e44bdf58b39eb9fdb644e3cedc11a0797d8b54d4 | refs/heads/master | 2021-01-10T04:36:46.373690 | 2012-04-21T21:02:53 | 2012-04-21T21:02:53 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,789 | cpp | // MM3.KScanBarWrapper.cpp : Defines the entry point for the DLL application.
//
#pragma once
#include "stdafx.h"
#include <windows.h>
#include "KScanBar.h"
BOOL APIENTRY DllMain( HANDLE hModule,
DWORD ul_reason_for_call,
LPVOID lpReserved
)
{
... | [
"popovegor@gmail.com"
] | popovegor@gmail.com |
f0a1042838a5c51b1b6f4155d31961c3dbe3a5dc | 0828d56b510a64bec46b8b19f37c869011af4368 | /minimal_subscriber/src/lambda_custom.cpp | 3a124f5cebddeee3ac80f892bae8c2634eea5c4d | [] | no_license | letterso/ros2_minimal_project | 4d302626de7b329e1545ee3f2d679b3ae95053fd | 2cf75d18352cb166bb18268b90f34fee4b2e058c | refs/heads/master | 2023-07-30T07:31:43.928475 | 2021-09-18T03:02:43 | 2021-09-18T03:02:43 | 400,383,894 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,374 | cpp | // Copyright 2016 Open Source Robotics Foundation, Inc.
//
// 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 appli... | [
"lettersony00@gmail.com"
] | lettersony00@gmail.com |
6d5462d3642874349ae2440ecd3042b9d69897a4 | 0dca3325c194509a48d0c4056909175d6c29f7bc | /dataworks-public/src/model/DeleteQualityRelativeNodeRequest.cc | db27f6bb8248edd58ce626939b260b7b51b6818d | [
"Apache-2.0"
] | permissive | dingshiyu/aliyun-openapi-cpp-sdk | 3eebd9149c2e6a2b835aba9d746ef9e6bef9ad62 | 4edd799a79f9b94330d5705bb0789105b6d0bb44 | refs/heads/master | 2023-07-31T10:11:20.446221 | 2021-09-26T10:08:42 | 2021-09-26T10:08:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,305 | 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 |
bf16f148efdac9cf3b356d7da444aebb08ecc7d6 | 8ec5482489a05f29172dae9b95b70b03d386af03 | /sources/xray_re/xr_sdk_version.h | 28e9fd35af21fbeefa8233c01685d6dd552c43f7 | [] | no_license | abramcumner/xray_re-tools | ed4d364a3d3aeda31cfebeb5df03a3d724f1f531 | 2222ad023c0656cbbdbe7e93d59f7bed29387e5d | refs/heads/master | 2023-05-27T01:30:07.434712 | 2023-05-20T11:56:05 | 2023-05-20T11:57:23 | 65,939,733 | 31 | 17 | null | 2023-05-21T13:07:14 | 2016-08-17T20:30:04 | C++ | UTF-8 | C++ | false | false | 1,154 | h | #ifndef __GNUC__
#pragma once
#endif
#ifndef __XR_SDK_VERSION_H__
#define __XR_SDK_VERSION_H__
namespace xray_re {
enum sdk_version
{
SDK_VER_756,
SDK_VER_1098,
SDK_VER_1850,
SDK_VER_0_4,
SDK_VER_0_5,
SDK_VER_0_6,
SDK_VER_0_7,
SDK_VER_UNKNOWN = -1
};
inline sdk_version sdk_version_from_st... | [
"abramcumner@yandex.ru"
] | abramcumner@yandex.ru |
3c38b6ac1b54f92620a2ac59c905beea41361683 | 70cfbcb6a23f607a8e15c60b0d5afdd27b09e6e0 | /Envelope.Core/Calc/CalculationParameters.cpp | ae6410bad0f38601ce06d9c44d5247c093267d85 | [] | no_license | Hengle/AirCushionSimulation | 3e87077ef0cfc9731c7e8badf517e223e99a6ca9 | fa7a0c50edf16a8223a0fb94ddc7191ffd2f673b | refs/heads/master | 2023-03-17T16:28:24.714791 | 2020-10-11T19:08:03 | 2020-10-11T19:08:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,004 | cpp | #include "stdafx.h"
#include "CalculationParameters.h"
namespace EnvelopeCore {
CalculationParameters::CalculationParameters(void)
{
n_x = 100;
n_y = 100;
n_phi = 32;
n_zeta = 31;
timeMin = 0.0;
timeMax = 90.0;
t = timeMin;
dt = 1;
dtOutput = 10;
cycleNumber = -1;
calcScheme[FORCE_GR_INDEX]... | [
"vsalosyatov@acumatica.com"
] | vsalosyatov@acumatica.com |
e4290815d5b785441c8b409b920b1bb91162a747 | 90f9301da33fc1e5401ca5430a346610a9423877 | /300+/539_Minimum_Time_Difference.h | 64f8ff9c7b2316f6ea82bf305fde93ae279ec007 | [] | no_license | RiceReallyGood/Leetcode | ff19d101ca7555d0fa79ef746f41da2e5803e6f5 | dbc432aeeb7bbd4af30d4afa84acbf6b9f5a16b5 | refs/heads/master | 2021-01-25T22:58:56.601117 | 2020-04-10T06:27:31 | 2020-04-10T06:27:31 | 243,217,359 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 868 | h | #include <vector>
#include <string>
using namespace std;
class Solution {
public:
int findMinDifference(vector<string>& timePoints) {
if(timePoints.size() > 1440) return 0;
vector<bool> exist(1440, false);
for(int i = 0; i < timePoints.size(); i++){
int t = stoi(timePoints[i].su... | [
"1601110073@pku.edu.cn"
] | 1601110073@pku.edu.cn |
5c0e6ebcec5382d8219e660cfbefd23a32b2de2d | 6025d1ad10143b1b3586c032e7e69ac92d9d9c63 | /src/test/data/base58_keys_valid.json.h | b1a864d685afabca0c9db4d8f114dd3157015f5b | [
"MIT"
] | permissive | yanghouhao/thesiscode | eb088b70d67eb515ef302766be54de36b06e463f | 9b47e756c788d06efecb920ce347916d371531f2 | refs/heads/main | 2023-01-24T03:53:50.756123 | 2020-12-10T14:57:09 | 2020-12-10T14:57:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 70,507 | h | namespace json_tests{
static unsigned const char base58_keys_valid[] = {
0x5b, 0x0a, 0x20, 0x20, 0x20, 0x20, 0x5b, 0x0a,
0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20,
0x22, 0x74, 0x31, 0x54, 0x38, 0x79, 0x61, 0x4c,
0x56, 0x68, 0x4e, 0x71, 0x78, 0x41, 0x35, 0x4b,
0x4a, 0x63, 0x6d, 0x69, 0x71, 0x71, 0x46, 0x4e,
0x38, 0... | [
"chenxu@wutongchain.com"
] | chenxu@wutongchain.com |
80b438bcf2c9e73da42a3430bda380a7d4c5d7b4 | ac7b69e543b9aa2d5214b7a981a84aebce10dc26 | /src/HandbookDataItem.h | f7619f2cbd5f8c01d9c363a6088a2b94084eec16 | [] | no_license | zeh/argos | 95d54d1eb25023632fcfd9601fe5e9b2c48b008a | b8fec767a492e33414c7bd1a96cc6ca8da8f534a | refs/heads/master | 2021-01-19T09:01:59.674547 | 2014-04-22T19:46:40 | 2014-04-22T19:46:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,730 | h | #pragma once
#include "InputView.h"
#include "ARGOSButtonView.h"
#include "DataViewTitle.h"
#include "DataViewContentBase.h"
#include "HandbookViewOverview.h"
#include "HandbookViewDataList.h"
#include "HandbookViewWaypoint.h"
#include "DataNode.h"
#include "HandbookBackgroundView.h"
typedef boost::... | [
"anthony.tripaldi@nyc03atripaldi.corp.local"
] | anthony.tripaldi@nyc03atripaldi.corp.local |
a1fc721403bd65b97aed05eceff83b7083cbdc1e | 3728db88d8f8268ded2af24c4240eec9f9dc9068 | /mln/core/image/image1d.hh | 89e93e78c13c4117da4c61142f90212fa9bbbb24 | [] | no_license | KDE/kolena | ca01613a49b7d37f0f74953916a49aceb162daf8 | 0e0eff22f44e3834e8ebaf2c226eaba602b1ebf6 | refs/heads/master | 2021-01-19T06:40:53.365100 | 2011-03-29T11:53:16 | 2011-03-29T11:53:16 | 42,732,429 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,538 | hh | // Copyright (C) 2007, 2008, 2009 EPITA Research and Development Laboratory (LRDE)
//
// This file is part of Olena.
//
// Olena 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, version 2 of the License.
//
/... | [
"trueg@kde.org"
] | trueg@kde.org |
837de69fbcd34f458795b1846c871e7a5e96ce96 | 7a39a87916606615073c1b9aa374876b1ad5fce5 | /11_16520436_02.ino | 3fef1cf8770b5068e3abb31c08c7f401ae42fd97 | [] | no_license | Ilsarstn/KU1202-K20-16520436 | 6fb7dedf97d6841bc57350d5f6dc885c9e3c2ecb | adaa3a8817048e7cc4de02b469c584eface0ab31 | refs/heads/main | 2023-04-19T14:55:44.845205 | 2021-04-29T09:22:42 | 2021-04-29T09:22:42 | 359,570,138 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 334 | ino | void setup()
{
pinMode(11, OUTPUT);
pinMode(10, OUTPUT);
pinMode(9, OUTPUT);
}
void loop()
{
analogWrite(11, 255);
analogWrite(10, 0);
analogWrite(9, 0);
delay(1000); // Wait for 1000 millisecond(s)
analogWrite(11, 255);
analogWrite(10, 255);
analogWrite(9, 102);
delay(1000); // Wait for 1000 mil... | [
"noreply@github.com"
] | Ilsarstn.noreply@github.com |
3bd594deec1703bc4a8a66f5b92f89715af164db | fb8a3eecfd7ccf86daa5eedda31817b217207f9e | /test/Test.cpp | 4c47c030d52bd48a0e0d9b26fc60b2969ef11b31 | [
"Apache-2.0"
] | permissive | dipu-bd/tupin | 7ae0bb093a5705b005d06447652eca8a2f733148 | d5bca1cd7c9ecc54950a69a6477ac483a8307d1d | refs/heads/master | 2021-01-13T12:50:22.908237 | 2017-02-03T13:24:27 | 2017-02-03T13:24:27 | 78,443,445 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,173 | cpp | #include <bits/stdc++.h>
#include <execinfo.h>
#include "../lib/tupin.h"
#include "Data.hpp"
#define FAILE_SAFE_MODE false
typedef void (*FUNCTION)(void);
typedef pair<FUNCTION, const char*> PFS;
void runTests(bool failSafe, PFS all_tests[])
{
int pass = 0, fail = 0;
for (int i = 0; all_tests[i].first; i++)
... | [
"dipu.sudipta@gmail.com"
] | dipu.sudipta@gmail.com |
48387ffc04028c1b77de8ae31f7df090aef6d7d1 | c774ccfd604caf197c411e45a81b73fb472cb10e | /src/functions/xlibfunctions.cpp | f2ea3f094ca7b06e9623d71c96d246df3411bfcf | [] | no_license | data-niklas/trac | 2e9ea9363d1f2e848a0ed89aacd33b6ca67a0c39 | 6d7992e60a3165023add5c5fa50e6ad03d85cda8 | refs/heads/main | 2023-03-30T17:55:42.970948 | 2023-03-18T19:34:39 | 2023-03-18T19:34:39 | 348,401,685 | 0 | 1 | null | 2021-03-21T16:54:28 | 2021-03-16T15:37:33 | C++ | UTF-8 | C++ | false | false | 1,406 | cpp | #include "./xlibfunctions.h"
#include "../libraries/xlib.h"
#include "../variables/literal.h"
#include <string>
void registerXLibFunctions(Registry* r){
r->rFunction(new Function("window_name",[](vector<shared_ptr<Variable>> variables)->shared_ptr<Variable>{
XLib * xlib = XLib::getInstance();
sha... | [
"51879435+data-niklas@users.noreply.github.com"
] | 51879435+data-niklas@users.noreply.github.com |
be80a0dae6ce65a39017b5e1501cdeaf106e257b | 79e1178d00bfa1b68ea5757e88a2737c5a97bd15 | /examples/example_panel.cpp | 11fed79395bf6e3722f13556ad63ec8283423bfb | [] | no_license | gtarim/libcppcurses | 211bb7e68f1d5bfdba8dcbeb5c60cfdd5d5f5b7a | 2a8453ebb9cabb8fe75013b2a37306a1d56d9f76 | refs/heads/main | 2023-01-07T01:49:11.948241 | 2020-11-11T20:16:50 | 2020-11-11T20:16:50 | 310,836,083 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,312 | cpp | #include <iostream>
#include "curses/curses.hpp"
int main(int argc, char const *argv[])
{
int colsMin {40}, linesMin {23};
CursesUI::Curses curses { colsMin, linesMin };
curses.startColor();
curses.initColor(0, COLOR_WHITE, COLOR_BLACK);
curses.initColor(1, COLOR_GREEN, COLOR_BLACK);
CursesU... | [
"tarim.gokhan@gmail.com"
] | tarim.gokhan@gmail.com |
6f816b29bd16ceaf157635f883afe223eda5a067 | c2bce931866c14a3e1f1ab7172200437f30dab6c | /components/omnibox/browser/contextual_suggestions_service.cc | eae95a98f8ddf88df529ac93ec720c30feaeadc0 | [
"BSD-3-Clause"
] | permissive | SnowCherish/chromium | a75107cdb9de144b6defb36907c603e50ded0720 | 61c360d1c6daf19e54c4f80af2644cf0ef9aecf9 | refs/heads/master | 2023-02-26T04:19:46.835972 | 2018-02-27T01:43:33 | 2018-02-27T01:43:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,695 | cc | // Copyright 2017 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 "components/omnibox/browser/contextual_suggestions_service.h"
#include <memory>
#include <utility>
#include "base/feature_list.h"
#include "bas... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
e7c0bda4c7b3716f31632a149168cbc1e609c514 | 4af341026c371c8e25d37780c3d2a85063ec60ea | /CSES-Tree Algorithm- P 4 - Tree Distance 1 - DP on Trees - Interesting subproblem - THINK.cpp | d99f55c9f043b424b21a9b81f1328536cede0595 | [] | no_license | i-am-arvinder-singh/CP | 46a32f9235a656e7d777a16ccbce980cb1eb1c63 | e4e79e4ffc636f078f16a25ce81a3095553fc060 | refs/heads/master | 2023-07-12T19:20:41.093734 | 2021-08-29T06:58:55 | 2021-08-29T06:58:55 | 266,883,239 | 1 | 1 | null | 2020-10-04T14:00:29 | 2020-05-25T21:25:39 | C++ | UTF-8 | C++ | false | false | 3,660 | cpp | #include<bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp> // Common file
#include <ext/pb_ds/tree_policy.hpp> // Including tree_order_statistics_node_update
using namespace std;
using namespace __gnu_pbds;//which means policy based DS
#define endl "\n"
#define ll long long
#d... | [
"arvinderavy@ymail.com"
] | arvinderavy@ymail.com |
13a7c018ed6584312d3b8b29b7360bc007b104f4 | d7a22f2cc02cf75f96a41b8fdbffb894efb973aa | /include/competicion.h | 3d923c1b4333e4ab7c0645c66c0892dd3241033c | [] | no_license | jacedleon/DyAA-P6 | a2ed7b18132905b76b41bc8941e95fc14c291f64 | 431016a9593715fb8d43b88be76c3db4b3fefad0 | refs/heads/master | 2022-10-05T17:12:33.000720 | 2020-03-23T22:00:33 | 2020-03-23T22:00:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 426 | h | #pragma once
#include <iostream>
#include <cmath>
#include <vector>
class Competicion
{
public:
Competicion();
~Competicion();
void formarTabla(std::vector<std::vector<int>> &tabla, int inf, int sup);
void completarTabla(std::vector<std::vector<int>> &tabla, int infTeam, int supTeam,... | [
"acevedodeleonjorge@gmail.com"
] | acevedodeleonjorge@gmail.com |
88c56760a720b3248d42e5176c58bfeddc33d4eb | 0d906075ab29e3e0d48f985007db6d1d2e78caf9 | /android/testsurface/app/src/main/cpp/OpenGLHelper.h | 33884aba89ce91c767bede4f3f2992582e0bc4b9 | [] | no_license | chenyue0102/mytestchenyue | b3010bf84f46f8b285c3a4bfe926b63bcf5ecb51 | ce4dc403dcbbaee513150c823f3a26501ef1ff55 | refs/heads/master | 2023-08-30T23:31:33.419958 | 2023-08-25T09:53:05 | 2023-08-25T09:53:05 | 32,462,298 | 0 | 0 | null | 2023-07-20T12:15:34 | 2015-03-18T14:03:46 | C++ | UTF-8 | C++ | false | false | 1,997 | h | #ifndef OPENGLHELPER_H
#define OPENGLHELPER_H
#include <assert.h>
#include <GLES3/gl3.h>
extern "C"{
#include <android/log.h>
};
#define BUFFER_OFFSET(offset) ((void*)(offset))
#define GLLOG(fmt, ...) \
__android_log_print(ANDROID_LOG_ERROR, "opengles", fmt, __VA_ARGS__)
inline void CHECKERR() {
int err = 0;
i... | [
"chenyue@ksjgs.com"
] | chenyue@ksjgs.com |
37bc5b1b5c7a73c11fe1472b79553a1c25ddc856 | 16e69f48b3891ba36f52d0961dbf620613d31810 | /QCDraw/Graphics/altermatorgraphic.cpp | 7392fcc4f099b5cd392e3aacb0f61286761ca41a | [] | no_license | zrhcheer/QCDraw | 7852bd6238908868870ded56926ba5b2aaef8ea8 | 6c91871d5ae6349847c94f194a54acce7cd6e267 | refs/heads/master | 2020-12-31T00:11:04.310183 | 2017-03-29T05:06:01 | 2017-03-29T05:06:01 | 86,538,623 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,454 | cpp | #include "altermatorgraphic.h"
#include "codeconvertor.h"
const QString AlterMatorGraphic::_devName = CodeConvertor::fromLocal("发电机");
AlterMatorGraphic::AlterMatorGraphic()
{
setType(Graphic::GRAPHIC_ALTERMATOR);
this->setColor(QColor(22,149,19));
_bOpen = true;
this->setDirect(Graphic::POS_UP);
_... | [
"zrhcheer@126.com"
] | zrhcheer@126.com |
666a2132ee1b0817d7cc9ba6352fe721881ff0e0 | 6b40e9cba1dd06cd31a289adff90e9ea622387ac | /Develop/CSCommon/include/CServerApplication.h | d42b0ce7610b0aab5a12a848725eec8085796ed1 | [] | no_license | AmesianX/SHZPublicDev | c70a84f9170438256bc9b2a4d397d22c9c0e1fb9 | 0f53e3b94a34cef1bc32a06c80730b0d8afaef7d | refs/heads/master | 2022-02-09T07:34:44.339038 | 2014-06-09T09:20:04 | 2014-06-09T09:20:04 | null | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 1,768 | h | #pragma once
#include <windows.h>
#include "CSCommonLib.h"
#include "MCommandLine.h"
#define MAX_SERVER_TICK_DELTA (1.0f) ///< 아무리 랙이 걸려도 delta값은 1초를 초과하지 않는다.
/// 서버 실행 타입
enum CServerAppType
{
APPTYPE_WINDOW = 0, ///< 윈도우 어플리케이션
APPTYPE_CONSOLE, ///< 콘솔 어플리케이션
APPTYPE_SERVICE ///< 서비스 어플리케이션
... | [
"shzdev@8fd9ef21-cdc5-48af-8625-ea2f38c673c4"
] | shzdev@8fd9ef21-cdc5-48af-8625-ea2f38c673c4 |
cd6eb1650a093d67c8126118096d359e7fc9c5c8 | 58a70d809b9cd9676ea5e1746c68533f3e3c7750 | /src/C_lineFighter_Server/lineFighter/CGameMaster.h | 25c36ac567f4e750df039b9817de1fad6a6d13e1 | [] | no_license | liodo198592/linefighter | 3b66fa265d6c47e3a228285fd88dba8bceb7d22f | 54ff8b0e4b30da622c6eceab08bf44b306207a16 | refs/heads/master | 2020-04-11T06:16:45.337075 | 2018-12-13T03:08:47 | 2018-12-13T03:08:47 | 161,576,563 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 312 | h | #ifndef CGameMaster_H
#define CGameMaster_H
#include "global.h"
#include "RingBuf.h"
#include "CProtocol.h"
class CGameMaster : public ACE_Task<ACE_MT_SYNCH>
{
public:
CGameMaster(){}//默认补召数据时间间隔
virtual ~CGameMaster(){}
ACE_INT64 run();
protected:
ACE_INT32 svc();
private:
};
#endif | [
"hrj_zhouyu@163.com"
] | hrj_zhouyu@163.com |
ef3838af01e154e1a71ba59f2a2653a1edb8951a | 333b58a211c39f7142959040c2d60b69e6b20b47 | /Odyssey/IsmScsiServer/ScsiXfer.cpp | 34e874a1e4522f56e33c5e3a679d85726c1ea85f | [] | no_license | JoeAltmaier/Odyssey | d6ef505ade8be3adafa3740f81ed8d03fba3dc1a | 121ea748881526b7787f9106133589c7bd4a9b6d | refs/heads/master | 2020-04-11T08:05:34.474250 | 2015-09-09T20:03:29 | 2015-09-09T20:03:29 | 42,187,845 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,715 | cpp | /*************************************************************************/
// This material is a confidential trade secret and proprietary
// information of ConvergeNet Technologies, Inc. which may not be
// reproduced, used, sold or transferred to any third party without the
// prior written consent of Converg... | [
"joe.altmaier@sococo.com"
] | joe.altmaier@sococo.com |
bfd4cdd6198fe1a1a7ff46f91713055b2d015b00 | a9ab72c3dd7fdfe8b6e0b1b5e296bf4c39b9989d | /round2/leetcode106.cpp | 03174b52716707495b1b4f75e4bd6c346d217cf9 | [] | no_license | keqhe/leetcode | cd82fc3d98b7fc71a9a08c5e438aa1f82737d76f | 86b2a453255c909f94f9ea3be7f2a97a6680a854 | refs/heads/master | 2020-12-24T06:38:15.444432 | 2016-12-07T19:15:02 | 2016-12-07T19:15:02 | 48,405,123 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,031 | cpp |
/**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* TreeNode(int x) : val(x), left(NULL), right(NULL) {}
* };
*/
class Solution {
public:
struct TreeNode * helper(vector<int>&inorder, vector<int>&postorder, int s1, int e1, int s2, i... | [
"keqhe@cs.wisc.edu"
] | keqhe@cs.wisc.edu |
62a8704249ab345c972c35ce95bd9272ac375bdd | 442cb88aa69ea9f8c85bf476d3afb130da886e9c | /src/PathBuilder.cpp | a8fad0d33e92f2a9c8619441468eaaf946b7d746 | [
"Apache-2.0"
] | permissive | jim-bcom/xpcf | bcb4e3b6a76e2266a86a68f1f36a0dad313bab08 | 26ce21929ff6209ef69117270cf49844348c988f | refs/heads/master | 2023-09-01T15:22:02.488646 | 2021-10-04T11:56:09 | 2021-10-04T11:56:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,018 | cpp | /**
* @copyright Copyright (c) 2017 B-com http://www.b-com.com/
*
* 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... | [
"loic.touraine@gmail.com"
] | loic.touraine@gmail.com |
0ad2930738b2d36552c958b5d92398d80b283bca | 45ed614a494c70c55340a7fd5c178fd0d62bc15e | /004_Median_of_Two_Sorted_Arrays/Solution.cpp | 3e403ae225ac1c1dca8710f243c7eaa1ae9a5c15 | [] | no_license | ericaliu0610/XcodeLeetcode | 04ac31931d2a1a7aeb73275b9df8356261caa01d | 478ee97fdba6a46008660692d2f85a2bf0506b0d | refs/heads/master | 2021-01-13T06:07:03.635570 | 2015-06-18T01:25:08 | 2015-06-18T01:25:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,242 | cpp | //
// Solution.cpp
// 004_Median_of_Two_Sorted_Arrays
//
// Created by Chao Li on 6/11/15.
// Copyright (c) 2015 Chao Li. All rights reserved.
//
// Solution shared at https://leetcode.com/discuss/35275/c-implementation-o-log-m-n-with-vector-int-as-parameters
#include "Solution.h"
double Solution::findMedianSorte... | [
"lichaorodxx@gmail.com"
] | lichaorodxx@gmail.com |
1631e1dd63922d9874b20b2e6ab2182dd9808c76 | 5125c4e2e090715715b514b1a2ebf2fe1ccd625c | /src/OpenCV244vc11/OpenCV244vc11/test.h | c293e46c0effae1508472fb862ed2528d1e07600 | [] | no_license | NecroArt/Diploma | 33883375acd4d4dfdda90d032d85be137cf0b939 | ef848d2aeb7de5b29d2e2c2742cea44dde8a6bb6 | refs/heads/master | 2016-09-06T05:47:49.668705 | 2013-07-13T14:12:29 | 2013-07-13T14:12:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 80 | h | #ifndef TEST_H
#define TEST_H
#include "stdafx.h"
using namespace std;
#endif | [
"necroart@myopera.com"
] | necroart@myopera.com |
f4187407d4a86d84d902fe9e1b597f53a33878ab | d2a1055a1d29e31e7f8b768d38a5581a3989474b | /c++ projects/my-projects/STL/vector/vector.cpp | bc4a7220651a8b82a82b7d4546b2c2477e361a78 | [] | no_license | ZiadElgammal/data-structure-c- | 52adca46584e5be1dd8e3101a5e66d3583b2adea | da9843d1b327a951d16543ec60a174c1032c69c3 | refs/heads/master | 2020-06-13T01:05:12.923507 | 2019-06-30T06:30:57 | 2019-06-30T06:30:57 | 194,483,149 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,328 | cpp | //vector
#include <iostream>
#include <vector>
#include<algorithm>
using namespace std;
int main()
{
std::vector<int> v1; // decleare vector v1:
for (int i = 0; i < 20; i++)
v1.push_back(rand() % 100); //push 20 random integers
std::cout << "v1 contains:"; //return elements using iterator
fo... | [
"noreply@github.com"
] | ZiadElgammal.noreply@github.com |
a30d5a15f8128abba3f72c36c29b7ceb8f1724be | 6de1e4199216517c9247bd5103476c33a7c98c22 | /AdvanceLevel/1041. Be Unique.cpp | 2315e1b6d55ccd6642086b487e0fedeb8e975ede | [] | no_license | Aiden68/PAT | 9da832b5999afc5d55c3f58a39bb07dad76c89f9 | a01df198ff75bc1209b86ced79a34a5155efc11d | refs/heads/master | 2021-01-12T10:08:38.073835 | 2017-03-03T07:46:16 | 2017-03-03T07:46:16 | 76,371,489 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 399 | cpp | #include<iostream>
using namespace std;
int main()
{
int n;
int cnt[10001] = { 0 };
int input[100001] = { 0 };
cin >> n;
for (int i = 0; i < n; i++)
{
int tmp;
scanf("%d", &tmp);
cnt[tmp]++;
input[i] = tmp;
}
int flag = 0;
for (int i = 0; i < n; i++)
{
if (cnt[input[i]] == 1)
{
cout << input[i... | [
"jllsjtu@163.com"
] | jllsjtu@163.com |
efb42262e8a7618d943bf3d21cfc06bbde129a58 | d569de1ec79431670dc2d4edec169d7e42fafdb0 | /POJ/String/3461.cpp | de862691a4f16807aa7979f1bd09f9a15a67dd90 | [] | no_license | peter0749/OnlineJudge | 469026b3f6a6d810668e03d1b93a7055af990b8e | d60759cf53acaa58e34345b261640a1069bcda2a | refs/heads/master | 2023-01-29T08:12:27.615260 | 2023-01-14T10:06:15 | 2023-01-14T10:06:15 | 81,049,761 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,175 | cpp | #include <iostream>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#define STRL 1000010
using namespace std;
int failure[STRL];
char pattern[STRL];
char tstring[STRL];
int Pos[STRL];
int MorrisPratt(char *t, char *p, int *stk){
int i, j, top=0;
int tlen = strlen(t);
int plen = strlen(p);
if(pl... | [
"peter"
] | peter |
9916a2a5b757c7ae37fe48a9d4c5d8af7a9cc2ad | c60b1221b9b14b773feda4ee45a2eba13c416354 | /KernelIPC/Sources/VComponentLibrary.cpp | b4bfbfab98e8ffd31699de1613d78a6fe82d89c6 | [] | no_license | sanyaade-iot/core-XToolbox | ff782929e0581970834f3a2f9761c3ad8c01ec38 | 507914e3f1b973fc8d372bcf1eeba23d16f2d096 | refs/heads/master | 2021-01-17T13:26:13.179402 | 2013-05-16T15:05:10 | 2013-05-16T15:05:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,296 | cpp | /*
* This file is part of Wakanda software, licensed by 4D under
* (i) the GNU General Public License version 3 (GNU GPL v3), or
* (ii) the Affero General Public License version 3 (AGPL v3) or
* (iii) a commercial license.
* This file remains the exclusive property of 4D and/or its licensors
* and is protected by na... | [
"stephane.hamel@4d.com"
] | stephane.hamel@4d.com |
1e831cbad998d779d579c3156a5d11df186f2215 | 5bd6fc2977e142e146c98f582cd048fe385a5243 | /src/dd_glpk.h | 469957a85aa4afa1f9ccc43277879d6672a9bc87 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | krzysztof-turowski/duplication-divergence | 7f3d5ddfc5d600086b3c24afeae36a9ba9ac05e7 | e9e246bc1eab380652c7d8bc5dec95a02165cf51 | refs/heads/master | 2022-12-10T08:34:15.309267 | 2022-11-14T16:55:18 | 2022-11-14T16:55:18 | 168,884,844 | 0 | 1 | MIT | 2021-05-15T01:46:05 | 2019-02-02T22:22:54 | C | UTF-8 | C++ | false | false | 13,635 | h | // Header for LP computation of the temporal upper bound using GLPK.
#pragma once
#include <glpk.h>
#include <map>
#include <random>
#include <sstream>
#include <string>
#include <utility>
#include <tuple>
#include <vector>
const int64_t MAX_CONSTRAINTS = 5000000000L;
std::string LP_name(const std::string &prefix,... | [
"noreply@github.com"
] | krzysztof-turowski.noreply@github.com |
3b955d196234bd062c3085bcd2e0b1ef5d365189 | a7a0d98dba2bc19a0bdc7a28cd732cd105e3b02f | /BAEKJOON/1085.cpp | 06e6b4252c3136eb8c2cd3639116d97915e8af40 | [] | no_license | stalker5217/algorithm | 905317b9b24f26bfac2f50a250698d057e21be62 | b635b13512c0057b81d714f14857fc3a9cd84582 | refs/heads/master | 2021-06-26T19:47:10.980335 | 2020-11-18T14:54:35 | 2020-11-18T14:54:35 | 190,971,508 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 470 | cpp | #define DEBUG 0
#define LOG(string) cout << string
#include <iostream>
#include <cstring>
#include <vector>
#include <algorithm>
#include <functional>
using namespace std;
int main(){
ios_base::sync_with_stdio(false);
cin.tie(NULL);
int w, h, x, y;
cin >> x >> y >> w >> h;
int minWidth = ((w-x) > x) ... | [
"stalker5217@gmail.com"
] | stalker5217@gmail.com |
f2c1269a7d30a2d3cbcafa5c517b5988336674ed | 948f4e13af6b3014582909cc6d762606f2a43365 | /testcases/juliet_test_suite/testcases/CWE762_Mismatched_Memory_Management_Routines/s03/CWE762_Mismatched_Memory_Management_Routines__delete_int_malloc_52c.cpp | 44a1b82471275852fbdde508e093a7a39572adf9 | [] | no_license | junxzm1990/ASAN-- | 0056a341b8537142e10373c8417f27d7825ad89b | ca96e46422407a55bed4aa551a6ad28ec1eeef4e | refs/heads/master | 2022-08-02T15:38:56.286555 | 2022-06-16T22:19:54 | 2022-06-16T22:19:54 | 408,238,453 | 74 | 13 | null | 2022-06-16T22:19:55 | 2021-09-19T21:14:59 | null | UTF-8 | C++ | false | false | 1,533 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE762_Mismatched_Memory_Management_Routines__delete_int_malloc_52c.cpp
Label Definition File: CWE762_Mismatched_Memory_Management_Routines__delete.label.xml
Template File: sources-sinks-52c.tmpl.cpp
*/
/*
* @description
* CWE: 762 Mismatched Memory Management Rout... | [
"yzhang0701@gmail.com"
] | yzhang0701@gmail.com |
45d8f77f01e12ce0f5b35cac2858994492a6b56f | e6d4a87dcf98e93bab92faa03f1b16253b728ac9 | /algorithms/cpp/maximum69Number/maximum69Number.cpp | 980ace4b93fa6960456ded11061ef3f86c3bfd94 | [] | no_license | MichelleZ/leetcode | b5a58e1822e3f6ef8021b29d9bc9aca3fd3d416f | a390adeeb71e997b3c1a56c479825d4adda07ef9 | refs/heads/main | 2023-03-06T08:16:54.891699 | 2023-02-26T07:17:47 | 2023-02-26T07:17:47 | 326,904,500 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 387 | cpp | // Source: https://leetcode.com/problems/maximum-69-number/
// Author: Miao Zhang
// Date: 2021-04-23
class Solution {
public:
int maximum69Number (int num) {
string s = to_string(num);
for (int i = 0; i < s.length(); i++) {
if (s[i] == '6') {
s[i] = '9';
... | [
"zhangdaxiaomiao@163.com"
] | zhangdaxiaomiao@163.com |
486c5337fd6c0aa99774c3cacb2ffd46af69334b | 347b9647c77ae619ea7627b7f25113117ff4e34e | /graphs/dfs.cpp | e4b5c69ee70931b0303ed26617ae59d92182daea | [
"MIT"
] | permissive | gktejus/cpp | 49741f019e7b09ba48e0ac54eed4c55db9395379 | 10809eae257ec396226bd8a65ef712de390386d0 | refs/heads/master | 2020-03-30T13:52:47.830559 | 2018-10-02T17:05:48 | 2018-10-02T17:05:48 | 151,291,677 | 1 | 1 | MIT | 2018-10-02T17:02:49 | 2018-10-02T17:02:48 | null | UTF-8 | C++ | false | false | 1,167 | cpp | #include<iostream>
#include<list>
using namespace std;
// Graph class represents a directed graph
// using adjacency list representation
class Graph
{
int V;
list<int> *adj;
void DFSUtil(int v, bool visited[]);
public:
Graph(int V);
void addEdge(int v, int w);
void DFS(int v);
}... | [
"noreply@github.com"
] | gktejus.noreply@github.com |
d09c9a9f8f710801c76fb4e0fd13fde3933b3aa4 | bff39d66e3f49e7e560f9ec03f12b15a6f244ed8 | /src/SoAppRunner/SoProgram.cpp | 17af1cb05dee79eeb265b90c77bcec9c2e26f7c6 | [] | no_license | sololxy/solo-apprunner | 2efe8695a00a558e8f27544e9d8206be7d9a786f | e3c2316aef0b37361d889c6ecef85bbd6ad5eb7b | refs/heads/master | 2021-01-01T04:28:50.663908 | 2017-07-21T05:15:44 | 2017-07-21T05:15:44 | 97,184,768 | 0 | 1 | null | 2017-07-21T05:15:45 | 2017-07-14T02:34:12 | C++ | UTF-8 | C++ | false | false | 559 | cpp | #include <SoAppRunner/SoProgram.h>
SoProgram::SoProgram()
{
_name = "Unknown Program";
_path = "/none/test.exe";
_web = "https://github.com/sololxy";
}
SoProgram::SoProgram(QString name)
{
_name = name;
_path = "/none/test.exe";
_web = "https://github.com/sololxy";
};
SoProgram::SoProgram(QString name, QSt... | [
"solo_lxy@126.com"
] | solo_lxy@126.com |
652f1876c863909db583af1688029ce2e768562b | 88a47e88a59cfbe818168f8fb9d4cbb5bfcbb8b5 | /src/piece.cpp | a52d538d83c6f2d6d3fd76699b4deabd9d8565c4 | [] | no_license | fiedosiukr/reversi | 7c0a0bf5f560ceb09e151055cd304f86d91e0faf | 4719bb1cc6214339817ef09b2ea8dd4ac005b996 | refs/heads/master | 2020-05-27T10:53:27.811693 | 2019-05-27T16:02:32 | 2019-05-27T16:02:32 | 187,537,250 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 260 | cpp | #include "../include/piece.hpp"
#include <iostream>
Piece::Piece(char representation) {
this->representation = representation;
}
char Piece::get_representation() {
return representation;
}
void Piece::render() {
std::cout << representation;
}
| [
"fiedosiukr@gmail.com"
] | fiedosiukr@gmail.com |
7edb3256a3d9089da01609239823bef2b2a37296 | 34c83941628382c9e6e514abd634f693af7f12da | /MagicTheFileFormat/MagicImporter/MoleImporterAPI-master/MoleImporterAPI_TestVersion/MoleReader.cpp | 37215b1d38208c01e70767418fa7c88a935ded1b | [] | no_license | Fanny94/ParticleEditorExport | c347ae16cee7f1be785a76834eeaa1deeb093c1e | 9af040ef753607eeb2502ee832925a7ad764dc71 | refs/heads/master | 2021-01-15T13:18:45.076104 | 2019-09-15T08:16:31 | 2019-09-15T08:16:31 | 78,723,510 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 16,819 | cpp | #include <fstream>
#include <vector>
#include <iostream>
//#include "ReadHeaderData.h"
#include "MoleReader.h"
using namespace std;
void MoleReader::readFromBinary(const char* filePath)
{
/*Reading the binary file that we just have been written to.*/
std::ifstream infile(filePath, std::ifstream::binary);
cout <<... | [
"funnei@hotmail.com"
] | funnei@hotmail.com |
16092d95a04d92472d52fa6346eacc9c34d223af | d643ff48cdd4661e2a924a02a8458819b9aa23ac | /chapter3/3.36/main.cpp | 0ac0a0fb4ec6dfa88d0293fa7fa1eda119761e64 | [] | no_license | grayondream/Primer-Learing | d9bc1116d0b562b3650b7df22ae64d640c54f0a5 | a0f4acb47770c11d3c1eb34e70f4f770d0255957 | refs/heads/master | 2021-05-11T04:09:33.206964 | 2018-01-24T06:30:12 | 2018-01-24T06:30:12 | 117,933,818 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 696 | cpp | /*************************************************************************
> File Name: main.cpp
> Author:
> Mail:
> Created Time: 2018年01月05日 星期五 23时40分57秒
************************************************************************/
#include <iostream>
using namespace std;
bool com(int *a,size_t len1,int *b,size... | [
"GrayOnDream@outlook.com"
] | GrayOnDream@outlook.com |
280bd1f107b71a0cf4e5d2ecc60163d0d6471d7e | 5d69e513e1518739c5d5cdd569999ec0c19ef803 | /src/mac/pxWindowNative.cpp | 7c40b5f55fdf9c1d92844c00f4e75755cd539334 | [
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-other-permissive"
] | permissive | rrao002c/pxCore | 5541827abe3256bbf9fc8e4c25b300f6e20b27b1 | b9b35600c291e3a39a16e0959060ff1511631f70 | refs/heads/master | 2021-01-17T11:03:28.457364 | 2016-04-22T16:47:22 | 2016-04-22T16:47:22 | 59,513,283 | 0 | 0 | null | 2016-05-23T19:42:56 | 2016-05-23T19:42:56 | null | UTF-8 | C++ | false | false | 15,363 | cpp | // pxCore CopyRight 2007 John Robinson
// Portable Framebuffer and Windowing Library
// pwWindowNative.cpp
#include "pxWindow.h"
#include "pxWindowNative.h"
// pxWindow
pxError pxWindow::init(int left, int top, int width, int height)
{
Rect r;
r.top = top; r.left = left; r.bottom = top+height; r.right ... | [
"johnrobinson@ubuntu.(none)"
] | johnrobinson@ubuntu.(none) |
bd0720dbb643ccaf821cde092a07279aa40eae01 | 40b0530ef3eb345c49fc0d2face8bed9088a58c5 | /v1.3/lib/hall-stm32/hall.h | c135d1373b0789eb54816716167d65285b37ad1d | [
"LicenseRef-scancode-public-domain",
"Unlicense"
] | permissive | Enjection/monty | 1262974ab1c74b82fc0ce4cef7906b36eea77bdb | e7f2ecaf1b7f2ed0ce24f5aaa4c14e801d18dfde | refs/heads/main | 2023-07-18T16:17:08.465840 | 2021-08-25T09:30:01 | 2021-08-25T09:30:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,643 | h | #include "boss.h"
namespace hall {
using namespace boss;
enum struct STM { F1, F3, F4, F7, G0, G4, H7, L0, L4 };
#if STM32F1
constexpr auto FAMILY = STM::F1;
#elif STM32F3
constexpr auto FAMILY = STM::F3;
#elif STM32F4
constexpr auto FAMILY = STM::F4;
#elif STM32F7
constexpr auto FAMILY = STM:... | [
"jc@wippler.nl"
] | jc@wippler.nl |
cf6feb1c742440f524e1054ad746e7860a314708 | 118c080c0fad33c408b622b623076934db893728 | /SimMeg.3.cpp | a6f2fc4969f43ea61d3eb850f6e32386368dcf82 | [] | no_license | Liudimilla/Ling-C | 255d51d9ed5a32e514c6e3c4869bbe8f3415414f | 720e97386ffee3a3187e91673827cef4a94c5e22 | refs/heads/master | 2023-06-10T21:24:55.142741 | 2021-07-06T18:28:48 | 2021-07-06T18:28:48 | 178,754,681 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 762 | cpp | #include<stdio.h>
#include<stdlib.h>
#include<iostream>
#include<time.h>
#include<string.h>
struct pessoa {
char nome [100];
int cpf,j,tam;
int jogo [6];
};
for(j=0;j<tam; j++){
printf("\n");
for(j=1;j<=tam;j++){
printf... | [
"noreply@github.com"
] | Liudimilla.noreply@github.com |
de2cf38e4079dc82cc5f6471ea34f65e5e79461b | 810837f2641e2a20826cb75b161ca3458917b1c2 | /ash/login/ui/pin_request_view.cc | 30824210cb72a13072b5a185bd03d8ee49f0e106 | [
"BSD-3-Clause"
] | permissive | kan25/chromium | c425d4e1901816815bbde82c9c8d403507cbf588 | 27dc5aad16333a7be11602f4adb502cdc8759051 | refs/heads/master | 2023-02-24T09:04:16.104622 | 2020-03-13T18:03:42 | 2020-03-13T18:03:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 41,378 | cc | // 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.
#include "ash/login/ui/pin_request_view.h"
#include <algorithm>
#include <memory>
#include <utility>
#include <vector>
#include "ash/login/login_screen_... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
4625688f8632dfcaff7791dc462c85f8b2144473 | 5742e5df1240da9be4955d42e4f402ca9f51cf0f | /ros2-osx/include/map_msgs/msg/detail/point_cloud2_update__traits.hpp | d3e4a73bc47aa5a6e8955d825eb228c82e20bcc9 | [] | no_license | unmelted/ros_prj | b15b9961c313eff210636e7f65d40292f7252e9c | ec5e926147d7d9ac0606ea847cc4f5c4fb8fceed | refs/heads/master | 2023-02-13T08:44:25.007130 | 2021-01-18T21:21:35 | 2021-01-18T21:21:35 | 330,076,208 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,539 | hpp | // generated from rosidl_generator_cpp/resource/idl__traits.hpp.em
// with input from map_msgs:msg/PointCloud2Update.idl
// generated code does not contain a copyright notice
#ifndef MAP_MSGS__MSG__DETAIL__POINT_CLOUD2_UPDATE__TRAITS_HPP_
#define MAP_MSGS__MSG__DETAIL__POINT_CLOUD2_UPDATE__TRAITS_HPP_
#include "map_m... | [
"unmelted@naver.com"
] | unmelted@naver.com |
fa4fbc92249d3c518205199917051575542739dd | 6d0386587c23b9a9374813f30fef10cac55aa4d8 | /gunhound/src/gunhound/vii_src/Enemy/HoundsEnemy/CEneH0205Danmaku.cpp | 489496bed85c63ab7ae6a29af33514d1efe3ce4e | [] | no_license | t-mat/gunhound-easybuild | 5b3c136205917a53a5d438b0498c7ead992e2416 | e5c6d8fc792ea0aebf86c1743375b9356c2087bb | refs/heads/master | 2020-04-06T07:09:37.246153 | 2016-09-10T19:00:32 | 2016-09-10T19:00:32 | 65,155,314 | 3 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 13,281 | cpp | //--------------------------------------------------------------------------------
//
//弾幕用の弾クラス
//
//--------------------------------------------------------------------------------
#include "HoundsEnemy.h"
//#include "EnemyTbl/CEneH0205JourikusenTBL.h"
enum {
enScrollOutWidth = WINDOW_W*100,
enScrollOutHeight = ... | [
"takayuki.matsuoka@gmail.com"
] | takayuki.matsuoka@gmail.com |
b5f16d6587cb0ac10a4e89ec4e28c8e75a09d736 | e1eeac6e69b4b85b7c22f374fd068f9370476803 | /instruction/gt.h | 83a0179006ce09332e96c537483be5c128ed9e56 | [] | no_license | trigrass2/PLCSim | fb32d58bf61fc0c2228464a9ec651bf624683cdf | c468c45363a396afaf7d1a77440ded6f82e1af86 | refs/heads/master | 2022-02-25T11:33:06.730980 | 2019-11-05T08:22:45 | 2019-11-05T08:22:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 419 | h | #ifndef PLC_EMULATOR_INSTRUCTION_GT_H_
#define PLC_EMULATOR_INSTRUCTION_GT_H_
#include "instruction.h"
namespace plc_emulator {
class GT : public Instruction {
public:
GT(ResourceImpl *associated_resource, bool is_negated) {
SetResource(associated_resource);
SetNegation(is_negated);
SetName("GT");
};... | [
"wisedier@gmail.com"
] | wisedier@gmail.com |
8c07761ab525d2baf71c3d69cf9a8911c8eb066a | cee5c0b14016175c525f17fc96854e0c3ea754d7 | /servo.ino | 05ce88b10b22866c444c95486e0ef854e9aaa3ae | [] | no_license | ezequiel9/ESP8266-Servo-controller | 2923850f4c1f4f2a675cf970b188f82c415a6ada | 1bc79fcfd53f06a87871406a5a66c818c633318a | refs/heads/master | 2020-07-10T19:57:45.206141 | 2019-08-25T22:24:44 | 2019-08-25T22:24:44 | 204,355,818 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,042 | ino | /*
* ESP8266 Servo Motor Control With Web Server
*/
#include <ESP8266WiFi.h>
#include <ESP8266WebServer.h>
#include <Servo.h>
#include "index.h";
#define LED 2
#define ServoPin 14 //D5 is GPIO14
//WiFi Connection configuration
const char *ssid = "ssid";
const char *password = "password";
Servo myservo; // c... | [
"noreply@github.com"
] | ezequiel9.noreply@github.com |
4ba4312ac9de18e7bd010b3f1aff9e11bb2145f0 | 553e8a8c36d52580b85e572bf1ba071e304932e9 | /casablanca/Release/src/pplx/threadpool.cpp | febe7bb81a63cc505cdb63fe328067cf47acbcbe | [
"Apache-2.0"
] | permissive | mentionllc/traintracks-cpp-sdk | ba0d62bc5289d4d82d0c17b282788d65e1863cec | c294a463ef2d55bc7b27e35fe7f903d51104c6bd | refs/heads/master | 2020-04-19T06:40:23.949106 | 2015-02-05T04:45:24 | 2015-02-05T04:45:24 | 28,652,489 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,948 | cpp | /***
* ==++==
*
* Copyright (c) Microsoft Corporation. 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 requ... | [
"heisenberg@traintracks.io"
] | heisenberg@traintracks.io |
724302528c12a784deedc6b4befa9d073fe09795 | fc515a72800f3fc7b3de998cb944eab91e0baf7b | /Other Works/SAMS2/howmuch.cpp | 0ec9fbaaa070ec4debb93eb1dfad4d6640c58818 | [] | no_license | jbji/2019-Programming-Basics-C- | 4211e0c25dd1fc88de71716ad6a37d41cd7b8b04 | 014d3d8a5f1d6a95c132699e98ef4bfb25ef845f | refs/heads/master | 2022-12-30T08:12:09.214502 | 2020-10-13T14:17:57 | 2020-10-13T14:17:57 | 303,658,050 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 494 | cpp | #include <howmuch.h>
int howMuch(string filename){
ifstream filein(filename, ios::app | ios::binary); //打开文件
if (!filein) //读取失败
{
filein.close();
return 0;
}
string getName, getId, getScore;
int i = 0;
while (getline(filein, getName, DE... | [
"jbji@foxmail.com"
] | jbji@foxmail.com |
2a4a98c6d2a9112b85334e2584862ab048eee7d5 | 2b6cb51c20ce7930af6cbbfa718c13d33491e814 | /main.cpp | a7d39981af7a3a3d9f53f420abdaaa3ce7d19d70 | [] | no_license | b0w1d/Othello | 658be19e2df7f2ee83c79573f9640d88953f56f1 | 4ce69284759d010342fc623cb6d8262c8abe993f | refs/heads/master | 2021-09-02T00:15:11.207447 | 2017-12-29T10:37:07 | 2017-12-29T10:37:07 | 115,713,734 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,851 | cpp | #define CONCAT(func, name) func##name
#define HAND(name) CONCAT(I2P_, name)
#define FIRST RANDOM // computer
#define SECOND 106000135 // change to your student ID (ex: 105062999)
#define _CRT_SECURE_NO_WARNINGS
#ifndef FIRST
#error you have to specify macro FIRST
#endif
#ifndef SECOND
#error you h... | [
"61a5t0@gmail.com"
] | 61a5t0@gmail.com |
799dbeda52c6c164cd422f53023ec403dfa1db79 | 47ebf27cd965269321b5d07beea10aec6da494d9 | /Tests/DerivativeUnitTests/DerivativeUnitTests.cpp | 039692ba38d5ec8a9b62796184eb8e91ee8444a9 | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause"
] | permissive | JamieBamber/GRChombo | 9220fa67eeaa97eee17bc3c0a8ad17bfd3d02d0e | 4399e51f71618754282049d6f2946b69ad2c12ee | refs/heads/master | 2022-03-21T18:49:41.668222 | 2020-11-24T23:21:14 | 2020-11-24T23:21:14 | 201,951,780 | 0 | 0 | BSD-3-Clause | 2020-03-11T10:19:26 | 2019-08-12T14:55:47 | C++ | UTF-8 | C++ | false | false | 2,985 | cpp | /* GRChombo
* Copyright 2012 The GRChombo collaboration.
* Please refer to LICENSE in GRChombo's root directory.
*/
#include "FArrayBox.H"
#include <iostream>
#include "BoxIterator.H"
#include "BoxLoops.hpp"
#include "DerivativeTestsCompute.hpp"
#include "UserVariables.hpp"
bool is_wrong(double value, double corr... | [
"m.kunesch@damtp.cam.ac.uk"
] | m.kunesch@damtp.cam.ac.uk |
8c294ea89f179a5bbf9cd7a8909d1db1615b196b | 0d7bc7b0e4669c81745e81bc8e09a5af58306b43 | /Prog6/prog6.cc | 593653ec37468e233beaa897de0b23041d4a0e88 | [] | no_license | EdVillagran/Data-Structure-and-Algorithms | eccbf3c0b38c23fab9d117e36bcaa9859e48634e | 87bd1d65b3857823ddd6ad4db94c9b2b59ed23e3 | refs/heads/master | 2022-10-07T09:10:59.138341 | 2020-06-09T15:54:17 | 2020-06-09T15:54:17 | 264,243,846 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,127 | cc |
#include <algorithm>
#include <iomanip>
#include <iostream>
#include <math.h>
#include <vector>
using namespace std;
#include "binTree.h"
#define SEED 1 // seed for RNGs
#define N1 100 // size of 1st vector container
#define LOW1 -999 // low val for rand integer
#define HIGH1 999 //... | [
"noreply@github.com"
] | EdVillagran.noreply@github.com |
565e606f3bd0668bfa08acf64d6731e1533db79e | 948f4e13af6b3014582909cc6d762606f2a43365 | /testcases/juliet_test_suite/testcases/CWE126_Buffer_Overread/s02/CWE126_Buffer_Overread__new_wchar_t_memcpy_14.cpp | 1d253c5e6dc660f9961eca679e42efba6bc33d81 | [] | no_license | junxzm1990/ASAN-- | 0056a341b8537142e10373c8417f27d7825ad89b | ca96e46422407a55bed4aa551a6ad28ec1eeef4e | refs/heads/master | 2022-08-02T15:38:56.286555 | 2022-06-16T22:19:54 | 2022-06-16T22:19:54 | 408,238,453 | 74 | 13 | null | 2022-06-16T22:19:55 | 2021-09-19T21:14:59 | null | UTF-8 | C++ | false | false | 4,004 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE126_Buffer_Overread__new_wchar_t_memcpy_14.cpp
Label Definition File: CWE126_Buffer_Overread__new.label.xml
Template File: sources-sink-14.tmpl.cpp
*/
/*
* @description
* CWE: 126 Buffer Over-read
* BadSource: Use a small buffer
* GoodSource: Use a large bu... | [
"yzhang0701@gmail.com"
] | yzhang0701@gmail.com |
4c7ae582c068af8cf298fad944644b1f101e0688 | 8f729ce5b7f0bb45f323b2625890dbb87d121c9d | /Segment.h | 3c2fc8a4a0f8a55bbf52b598f445e385e775ecbc | [] | no_license | aitzaz960/Centipede-Game | a27765dbd5da0f0ea9044412d8df3fbea20fe5ba | 10c2add82a6672b5bf55864dc9bdcf964ca06477 | refs/heads/master | 2023-01-08T22:20:36.424692 | 2020-11-13T04:13:13 | 2020-11-13T04:13:13 | 312,563,833 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 288 | h | #ifndef SEGMENT_H
#define SEGMENT_H
class Segment
{
private:
protected:
public:
virtual void setCX(int i);
virtual void setCY(int i);
virtual int getCX() const;
virtual int getCY() const;
virtual bool isMagic() const;
};
#endif | [
"i180589@nu.edu.pk"
] | i180589@nu.edu.pk |
58ccd3d85cc3cf517e96550c2a826939d79c8f2d | bc99213a51be3b412ea475a672d0932b4800ce9e | /Test_Bot/src/Utilities/Math/InverseInterpolable.h | f74e477e852f6ec82e18e99a053b23c9c23f1fa6 | [] | no_license | JakeAllison/RobotTestPC01 | 8e18e71121f3a58121000e879911e67081c25c92 | 85198561e1844410c4d110391d959baf03ba5984 | refs/heads/master | 2020-04-05T19:34:02.551026 | 2018-11-14T04:40:15 | 2018-11-14T04:40:15 | 157,140,476 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 272 | h | /**
* \file InverseInterpolable
* \brief Allows us to interpolate using a bound and query
* \author FRC 2481
*/
#pragma once
template<class T>
class InverseInterpolable
{
public:
virtual double
inverseInterpolate(const T &upper, const T &query) const = 0;
};
| [
"noreply@github.com"
] | JakeAllison.noreply@github.com |
78bb9cd5dbd11b0db911bf332a02609f44d6611a | b389755eed095f67bac67bde8690adf0217d8470 | /modules/core/engine/src/Logger/LoggerServiceInterface.cpp | 10bf206362e0ac0c164316c66dffc84c09941d49 | [
"JSON",
"MIT",
"BSD-3-Clause",
"GPL-2.0-only",
"Apache-2.0"
] | permissive | shoesel/aac-sdk | 4fdbb85d4d51aaaad7adb5d7ae69dfd65559dbd6 | 8370f7c71c73dd1af53469dfa3de1eaf7aa2d347 | refs/heads/master | 2020-06-10T14:00:11.911393 | 2019-06-24T22:46:22 | 2019-06-24T23:04:52 | 193,653,787 | 1 | 0 | Apache-2.0 | 2019-06-25T07:06:17 | 2019-06-25T07:06:17 | null | UTF-8 | C++ | false | false | 819 | cpp | /*
* Copyright 2017-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0/
*
* or in the "... | [
"muni.sakkuru@gmail.com"
] | muni.sakkuru@gmail.com |
91783e2e6126992b98bbe3ac2382e05b5323db92 | fc08ff32c2a5bf83d92eb815aeb3f70ac527163a | /include/ShadowFrameBuffer.h | b3cd67ba73ef6c89ea09762a04fdc34c641ccb3d | [] | no_license | flyhex/SandboxOGL | a587dbb8b062ff97be05fbbf675aacdc951161ab | 7edc8694e8af7710893266405cd9f77ddee71459 | refs/heads/master | 2021-06-22T00:38:02.702210 | 2017-08-01T05:09:06 | 2017-08-01T05:09:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 412 | h | #pragma once
namespace OGL
{
class TextureManager;
class SMFrameBuffer
{
public:
SMFrameBuffer();
SMFrameBuffer(TextureManager& tm, u32 size);
~SMFrameBuffer();
void Load(TextureManager& tm);
void startFrame();
void bindForShadowPass();
u32 getFBO() const;
u32 getSize() const;
void setShadowM... | [
"naitsidous.mehdi@gmail.com"
] | naitsidous.mehdi@gmail.com |
0b78bde641b30a8e33324395aaa6630677993cae | 60db84d8cb6a58bdb3fb8df8db954d9d66024137 | /android-cpp-sdk/platforms/android-4/java/sql/Date.hpp | 78accf359b3cf311f2ea7113bf983986e64f23b5 | [
"BSL-1.0"
] | permissive | tpurtell/android-cpp-sdk | ba853335b3a5bd7e2b5c56dcb5a5be848da6550c | 8313bb88332c5476645d5850fe5fdee8998c2415 | refs/heads/master | 2021-01-10T20:46:37.322718 | 2012-07-17T22:06:16 | 2012-07-17T22:06:16 | 37,555,992 | 5 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 6,618 | hpp | /*================================================================================
code generated by: java2cpp
author: Zoran Angelov, mailto://baldzar@gmail.com
class: java.sql.Date
================================================================================*/
#ifndef J2CPP_INCLUDE_IMPLEMENTATION
... | [
"baldzar@gmail.com"
] | baldzar@gmail.com |
00ba09a986451f21c92fec82846975d42699a666 | b00c54389a95d81a22e361fa9f8bdf5a2edc93e3 | /external/deqp/modules/egl/teglQueryContextTests.cpp | c6edb9d1ed1c2e0e20c4728f1de6f3995cbbaa03 | [
"Apache-2.0"
] | permissive | mirek190/x86-android-5.0 | 9d1756fa7ff2f423887aa22694bd737eb634ef23 | eb1029956682072bb7404192a80214189f0dc73b | refs/heads/master | 2020-05-27T01:09:51.830208 | 2015-10-07T22:47:36 | 2015-10-07T22:47:36 | 41,942,802 | 15 | 20 | null | 2020-03-09T00:21:03 | 2015-09-05T00:11:19 | null | UTF-8 | C++ | false | false | 18,379 | cpp | /*-------------------------------------------------------------------------
* drawElements Quality Program EGL Module
* ---------------------------------------
*
* Copyright 2014 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except... | [
"mirek190@gmail.com"
] | mirek190@gmail.com |
bf403d235a36de8087397b60ed2186a1da0ff548 | 95bde36b21aef0f2b4053e6c8aadbf01ac958b04 | /page2.h | be6bb3f96eea5585d1e37b1b705dc952c76e7444 | [] | no_license | bjk12/Engineering-Assistant | c33c3c48c0cd683ed023a0bad9fdc8fca10b7eda | a7c321a8c1c1ce6a541ba56f995a28487e1b8593 | refs/heads/main | 2023-04-08T11:33:41.394727 | 2021-04-22T09:35:16 | 2021-04-22T09:35:16 | 357,164,738 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 611 | h | #ifndef PAGE2_H
#define PAGE2_H
#include <QDialog>
namespace Ui {
class page2;
}
class page2 : public QDialog
{
Q_OBJECT
public:
explicit page2(QWidget *parent = 0);
~page2();
private slots:
void on_backButton_clicked();
void on_timeout () ; //定时溢出处理槽函数
void on_startButt... | [
"1838336514@qq.com"
] | 1838336514@qq.com |
b6daaa546edb8da66ff5de7f02a232f83054a98a | 3626089e86884038dc59104aa6fb1c5a7f6ba88a | /spf/bk2_spf.cpp | 572da4976c69676e0674d88a3d33159d70dedf50 | [] | no_license | costain/parallel | 93568b9429a3d44c3d16e5247e75557e1a3f138d | a658b88de236a160427aff41b97bacb84dc60963 | refs/heads/master | 2020-09-02T13:44:40.315416 | 2019-11-27T00:10:19 | 2019-11-27T00:10:19 | 219,234,447 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,210 | cpp | #include <iostream>
#include <mpi.h>
#include <string.h>
//using namespace std;
#include <stdio.h>
#include <stdlib.h>
const int SIZE = 6; //maximum size of the graph
char G[SIZE][SIZE]; //adjacency matrix
bool OK[SIZE]; //nodes done
int D[SIZE]; //distance
int path[SIZE]; //we came to this node from
const int INFINI... | [
"costain01@gmail.com"
] | costain01@gmail.com |
c2b1e1ef5841c6d986df8a77d4cd8bd732d63536 | 84934b30b21e5f074e3c6d37821cf581da7d9784 | /HPSS/Method2/hpss.h | 7826ef4da61945ae111b806e6c0a1c8f356382ee | [] | no_license | vinson0526/Master_Graduate_Thesis | 41645359a0130b200d2bcf92ec7c900fae1f0f9d | 2d53d401722931e6c6e02a32466c65fde5f1ea10 | refs/heads/master | 2016-09-05T22:50:25.722218 | 2014-04-25T14:22:42 | 2014-04-25T14:22:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 936 | h | #ifndef HPSS_H
#define HPSS_H
#include <vector>
#include <string>
#include <cmath>
#include <iomanip>
#include <fstream>
#include <iostream>
using namespace std;
class HPSS
{
public:
HPSS(){};
HPSS(string fileNameCome, int frameSizeCome, int maxIterCome = 500, double gammaCome = 0.5, double sigmaHCome = 0.3, double... | [
"vinson0526@gmail.com"
] | vinson0526@gmail.com |
09f9561ebf16dcab03c0531db741da0116b03422 | 641ab842216b3c8bee128e23ff8020a25a50af53 | /src/Menu.hpp | a0a624ea8f2472bccfb6daff4ca81bba4a428135 | [
"MIT"
] | permissive | saugkim/aalto_cs1 | 9f25e1ebc720d1112b1161eafd0110aced6d198f | c2c3f2ff152959914d91376a2fc8668846bbac90 | refs/heads/main | 2023-01-23T09:13:20.000453 | 2020-11-25T14:13:14 | 2020-11-25T14:13:14 | 314,247,915 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 184 | hpp | #include <string>
using namespace std;
class Menu {
public:
Menu(char* text) { text_ = text; };
void Show(string& action, bool menuActive);
private:
char* text_;
};
| [
"ugkimm@naver.com"
] | ugkimm@naver.com |
3c81fc9aca6fd63746864a8a913e152809ab9fce | 30771c41966bbc4c0f2e6b80f73e0507e6dbf321 | /temp/Stack/getMin.cpp | 286d94f88323801166dac66f643288928bdd3878 | [] | no_license | ShubhamS156/daaGFG | 1dae47fb0847a0fdf490a33365d8bcb260a35428 | 959c8f8f4748d5a9433c15bfa68240e90fa70971 | refs/heads/master | 2022-12-03T02:42:53.798625 | 2020-08-18T13:09:27 | 2020-08-18T13:09:27 | 282,121,950 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 474 | cpp | #include<iostream>
#include<stack>
using namespace std;
//implementing stack using supposedly linked list
/*
IDEA: maintain an stack while pushing that keeps track of the smallest element yet.
*/
stack<int> ms; //main stack
stack<int> as; //auxilary stack's top contatins the minimum element yet
int ModeifiedPush(int ke... | [
"sharmashubh428@gmail.com"
] | sharmashubh428@gmail.com |
1bef7beeca64b058ed3488d3d065ea49677d81f0 | 33868f8d4a0b5795290c4f628108ff6b29e90716 | /Client/Client.Core/Game/GameOverlay.h | b630b826ba0f427febd4995f03e7c4c86cd86aa3 | [] | no_license | grasmanek94/v-plus-mod | cdc87c77bd703c4b846b48139746e52ec8b6de94 | 9c4127fdf6c227f1dd5fbc75d377d98306c03a76 | refs/heads/master | 2021-03-26T10:05:45.896887 | 2016-08-13T15:01:10 | 2016-08-13T15:01:10 | 63,270,812 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 874 | h | #pragma once
class Vector2;
class Vector3;
class GameUI;
typedef HRESULT (__stdcall *DXGISwapChainPresent) (IDXGISwapChain *pSwapChain, UINT SyncInterval, UINT Flags);
typedef bool (__fastcall *EngineWorldToScreen_t)(Vector3 worldPos, float *pRelativeScreenPositionX, float *pRelativeScreenPositionY);
class GameOve... | [
"p3ti@hotmail.hu"
] | p3ti@hotmail.hu |
8fc2ceb1c7ed539051e8c79edd9ee9c677de972c | bbadb0f47158d4b85ae4b97694823c8aab93d50e | /apps/c/CloverLeaf_3D/Tiled/update_halo_kernel5_minus_2_back_seq_kernel.cpp | 837c0638e1f2c0d160131927b9ae0f8687092b45 | [] | no_license | yshoraka/OPS | 197d8191dbedc625f3669b511a8b4eadf7a365c4 | 708c0c78157ef8c711fc6118e782f8e5339b9080 | refs/heads/master | 2020-12-24T12:39:49.585629 | 2016-11-02T09:50:54 | 2016-11-02T09:50:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,839 | cpp | //
// auto-generated by ops.py
//
#define OPS_ACC0(x, y, z) \
(n_x * 1 + n_y * xdim0_update_halo_kernel5_minus_2_back * 1 + \
n_z * xdim0_update_halo_kernel5_minus_2_back * \
ydim0_update_halo_kernel5_minus_2_ba... | [
"mudalige@octon.arc.ox.ac.uk"
] | mudalige@octon.arc.ox.ac.uk |
33b20ac0d49b77ca720e2ee36a7d1ca349115ee8 | ab2b453904fc4467c608cb3229e843d2254e18f1 | /simpleChuanQi/ChuanQiGuaJi/src/game/friend.cpp | d39f0a1fcf7f35ab302dbf247cefa4de53af541e | [] | no_license | Crasader/niuniu_master | ca7ca199f044c3857d8c612180d61012cb7abd24 | 38892075e247172e28aa2be552988b303a5d2105 | refs/heads/master | 2020-07-15T16:31:05.745413 | 2016-02-23T12:58:33 | 2016-02-23T12:58:33 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 6,372 | cpp | #include "friend.h"
#include "roleCtrl.h"
#include <algorithm>
FriendInfo::FriendInfo(ROLE * role)
{
memset(this, 0, sizeof(*this));
if (role == NULL)
{
return;
}
strncpy(this->szName, role->roleName.c_str(), sizeof(this->szName));
this->dwID = role->dwRoleID;
this->bySex = role->bySex;
this->byJob = role->b... | [
"617179715@qq.com"
] | 617179715@qq.com |
5031c21cc93267405ece331fb832eb7a8b56b615 | c24a5cdd5584748a70454736cb73df0704f51e06 | /Arduino/unity_whisperer/02_demo_scene.ino | 3d809dc20354522b0c785f0b27683f0847da1daf | [] | no_license | OMeyer973/zos | b7b046ed0c38cb2dabc381eb2ee9656759de83a0 | 4c05b6f386efe45dd497c14fedda88d95a53bfed | refs/heads/master | 2020-09-23T05:41:46.610696 | 2020-01-07T18:05:48 | 2020-01-07T18:05:48 | 225,418,296 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,815 | ino |
// ---------------------------------------------------------------------
// DEMO SCENE
// ---------------------------------------------------------------------
//declaring the class
class DemoScene {
public:
// initialise global values for demo scene
void init() {
for(int i=0; i<4; i++) {
... | [
"olivio"
] | olivio |
7ba2134432f4861832e335af273f0efcc7464a46 | b33a9177edaaf6bf185ef20bf87d36eada719d4f | /qtbase/src/plugins/platforms/ios/qiostheme.h | 58144cb239839b1ea3b2b82c295c42340eca6125 | [
"LicenseRef-scancode-proprietary-license",
"LicenseRef-scancode-unknown-license-reference",
"LicenseRef-scancode-commercial-license",
"LGPL-2.0-or-later",
"LGPL-2.1-only",
"GFDL-1.3-only",
"LicenseRef-scancode-qt-commercial-1.1",
"LGPL-3.0-only",
"LicenseRef-scancode-qt-company-exception-lgpl-2.1",
... | permissive | wgnet/wds_qt | ab8c093b8c6eead9adf4057d843e00f04915d987 | 8db722fd367d2d0744decf99ac7bafaba8b8a3d3 | refs/heads/master | 2021-04-02T11:07:10.181067 | 2020-06-02T10:29:03 | 2020-06-02T10:34:19 | 248,267,925 | 1 | 0 | Apache-2.0 | 2020-04-30T12:16:53 | 2020-03-18T15:20:38 | null | UTF-8 | C++ | false | false | 2,478 | h | /****************************************************************************
**
** Copyright (C) 2015 The Qt Company Ltd.
** Contact: http://www.qt.io/licensing/
**
** This file is part of the plugins of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL21$
** Commercial License Usage
** Licensees holding valid commercial Q... | [
"p_pavlov@wargaming.net"
] | p_pavlov@wargaming.net |
11f3b512ff273b81d4f79259c1609e68c7f9b586 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/httpd/gumtree/httpd_new_hunk_1539.cpp | 2e852164fdb58fe5d79423b714c4c959c0ad29b6 | [] | no_license | niuxu18/logTracker-old | 97543445ea7e414ed40bdc681239365d33418975 | f2b060f13a0295387fe02187543db124916eb446 | refs/heads/master | 2021-09-13T21:39:37.686481 | 2017-12-11T03:36:34 | 2017-12-11T03:36:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 493 | cpp |
rv = apr_file_mktemp(&dobj->hfd, dobj->tempfile,
APR_CREATE | APR_WRITE | APR_BINARY |
APR_BUFFERED | APR_EXCL, r->pool);
if (rv != APR_SUCCESS) {
ap_log_error(APLOG_MARK, APLOG_WARNING, rv, r->server,
"disk_cache: could not create temp file ... | [
"993273596@qq.com"
] | 993273596@qq.com |
78e7dd1ff2ee529be09f33ecc156b64fd9654bd7 | a27ad1911c68050448e79e7d2d6a38beb416c239 | /hybris/tests/test_glesv2.cpp | 7e9e9e77cb4dde1da40f7bbb7368f3c5b87bdde4 | [
"Apache-2.0"
] | permissive | vakkov/libhybris | dd5015f98920a5bba9a5107082b0f1c59512a653 | fb03e26648720711d38b506a7b89d04fbcf150b4 | refs/heads/master | 2021-09-10T02:37:14.961919 | 2018-03-20T18:44:21 | 2018-03-20T18:50:18 | 126,066,604 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,028 | cpp | /*
* Copyright (c) 2012 Carsten Munk <carsten.munk@gmail.com>
*
* 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 ap... | [
"vakko_vakko@abv.bg"
] | vakko_vakko@abv.bg |
2d29318f14081edd2adb8617bf58cff1ead48411 | d7896f4dc83445c792fd5123472adc6569460340 | /HttpLib/FormDataHandler.h | 5bd5985c17e21b93fc80ef8116fe704009ac6065 | [
"Unlicense"
] | permissive | mayimchen/local-file-server | b45f7bfd5f2db63c73a25c217357ce431e6ed795 | 801343b772f010ab21e215fa7258fa4be524b640 | refs/heads/main | 2023-03-22T01:55:19.968056 | 2021-03-16T14:46:07 | 2021-03-16T14:46:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 338 | h | #pragma once
#include <string>
namespace net
{
class UploadHandler;
class FormDataHandler
{
public:
virtual void addDataPair(const std::string& name, const std::string& value) = 0;
virtual std::unique_ptr<UploadHandler> createUploadHandler(const std::string& id, const std::string& fna... | [
"56758042+tcjohnson123@users.noreply.github.com"
] | 56758042+tcjohnson123@users.noreply.github.com |
a5e35da3689e91326606507d91ce364aed73eaca | e217eaf05d0dab8dd339032b6c58636841aa8815 | /IfcRoad/src/OpenInfraPlatform/IfcRoad/entity/include/IfcProduct.h | ab2830a3e95836eccde0aa209b19e8ede4fbf3f4 | [] | no_license | bigdoods/OpenInfraPlatform | f7785ebe4cb46e24d7f636e1b4110679d78a4303 | 0266e86a9f25f2ea9ec837d8d340d31a58a83c8e | refs/heads/master | 2021-01-21T03:41:20.124443 | 2016-01-26T23:20:21 | 2016-01-26T23:20:21 | 57,377,206 | 0 | 1 | null | 2016-04-29T10:38:19 | 2016-04-29T10:38:19 | null | UTF-8 | C++ | false | false | 3,244 | h | /*! \verbatim
* \copyright Copyright (c) 2015 Julian Amann. All rights reserved.
* \author Julian Amann <julian.amann@tum.de> (https://www.cms.bgu.tum.de/en/team/amann)
* \brief This file is part of the OpenInfraPlatform.
* \endverbatim
*/
#pragma once
#include <vector>
#include <map>
#include <sstream>
#include... | [
"planung.cms.bv@tum.de"
] | planung.cms.bv@tum.de |
f0f95109381bd6498a01540d8c14d90f9796ae4a | 54050becc6ea37a5eaae4c1a64cf6dc3df627a5f | /tree/Leaf.cpp | 0c5435723c41241db5823c52799090a445d7c592 | [] | no_license | monikahedman/tree | 953cd729ee4a5ce7ff56830ce750146333bab6bc | 9d8c2ddcd62c6efa4e8e567aadb9286e6aceacc1 | refs/heads/master | 2021-03-08T08:06:41.061927 | 2020-03-10T15:15:04 | 2020-03-10T15:15:04 | 246,332,858 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,166 | cpp | #include "Leaf.h"
Leaf::Leaf():
m_renderer(std::make_unique<OpenGLShape>())
{
}
void Leaf::loadRenderer() {
std::vector<GLfloat> vertex_data = {0.f, 0.f, 0.f, \
0.f, 0.f, 1.f, \
0.f, 0.f, \
1.f, ... | [
"monika_hedman@brown.edu"
] | monika_hedman@brown.edu |
a20b0bda4822ab4f0a75f475e07c23f3fe8c5c09 | 5318b60b7185251023d5658fa4a5742a4d508051 | /UltrasonicSensor/SerialDistance/SerialDistance.ino | c73c89791e3c95fc056c34529db4fc8971854fd7 | [] | no_license | TechStuffBoy/ArduinoDev | ccede08da30ab55ef8c83f5acf8fb3caed3aa893 | f76509d16bf831dadc751eb348cb06e30911a8da | refs/heads/master | 2020-03-29T21:23:22.207583 | 2018-11-15T12:20:16 | 2018-11-15T12:20:16 | 150,363,936 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 671 | ino | #include<SoftwareSerial.h>
SoftwareSerial mySerial(10, 11); // RX, TX
int incomingByte = 0; // for incoming serial data
String data="";
int i=0;
byte incoming = 0;
void setup() {
Serial.begin(9600); // opens serial port, sets data rate to 9600 bps
mySerial.begin(9600);
}
void loop() {
//46 t... | [
"nandhu03.m@gmail.com"
] | nandhu03.m@gmail.com |
1716a055477be8589c424aa4bd8d5c2a2fc7b392 | ee1f37311a4edc3d5ffc5554b8d7520fb20c6975 | /tryout.cpp | 10feeb81dbc545aa182ad6893181be2661c6e6ba | [] | no_license | smartestbeaverever/hh | dd670475b61a4984c60cbeee8838d92c0b94bf87 | e773e5fb6b921d8892e36527207840316530148d | refs/heads/master | 2020-12-09T09:00:57.317983 | 2020-01-11T19:10:24 | 2020-01-11T19:10:24 | 233,257,018 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 32 | cpp | kjfdfkjfhjhuhgjhndssdhjsdgcvsgc
| [
"haley@Haleys-MacBook-Pro.local"
] | haley@Haleys-MacBook-Pro.local |
eb2cc2affbdd28a1ff4a61002247323a10084e3e | ae55d33d245ca8b1ca82ee191507a86742cd8851 | /lib/core/configreader.cpp | ac674c5654c5c8ded3de488f2d74611713c52737 | [] | no_license | wjossowski/lazyfarmer-client | 2464f2d05f384c3c099803e849c1919e94c7290f | 31aa99f6ef9a5bfbf17d26c513790c5167c58906 | refs/heads/master | 2021-10-20T07:19:20.722225 | 2019-02-26T11:21:28 | 2019-02-26T11:21:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,805 | cpp | /**
** This file is part of the LazyFarmer project.
** Copyright 2018 Wojciech Ossowski <w.j.ossowski@gmail.com>.
**
** This program is free software: you can redistribute it and/or modify
** it under the terms of the GNU Lesser General Public License as
** published by the Free Software Foundation, either versio... | [
"zavafoj@gmail.com"
] | zavafoj@gmail.com |
4aefe03314274d8295aa458b102e808a42dc72fa | dde4e9c0ab539884c63e56ef46984c6482b91070 | /Camera.h | f6f02d1c18ce83f543d84a025bf6739f11482c29 | [] | no_license | awthomps/CSE168HW2 | 0ecc7b5773e43828e04707aacc80e2d3087be143 | 4c084c5b6a3e90d8b1388837e05315beb8c1ad21 | refs/heads/master | 2016-09-11T09:36:41.429756 | 2014-04-25T18:33:13 | 2014-04-25T18:33:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 779 | h | #pragma once
#ifndef CSE168_CAMERA_H
#define CSE168_CAMERA_H
#include "Matrix34.h"
#include "Vector3.h"
#include "Bitmap.h"
#include "Scene.h"
#include "Material.h"
#include "StopWatch.h"
#include <iostream>
class Camera
{
public:
Camera();
~Camera();
void SetFOV(float f);
void SetAspect(float a);
void SetRes... | [
"killosquirrel@gmail.com"
] | killosquirrel@gmail.com |
49804c9f37f75c5b2019c94a7e6c23be2880bf5d | 7973d7cf1e3ea2f0743b046ec78b1ed07d13920e | /C++/iLab/Minggu 1/Activity/celsius.cpp | a9e31f72c723e6640b45ca434ab385cbcae85e4c | [
"MIT"
] | permissive | rafipriatna/Belajar-Bahasa-Pemrograman | 35e7010af30c2e9a076f1d7ba8155cf0e07eb9d5 | e6e1f00526897a9d37065d70f9509cb4db5a61f8 | refs/heads/master | 2021-07-15T09:30:20.677657 | 2020-11-10T14:36:40 | 2020-11-10T14:36:40 | 223,768,692 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 404 | cpp | // Program untuk mengonversi Fahrenheit ke Celsius
#include <iostream>
using namespace std;
int main(){
// Deklarasi variabel
float fahren, celsius;
// Input
cout << "Nilai derajat Fahrenheit: ";
cin >> fahren;
// Hitung
celsius = (fahren - 32) * 5 / 9;
// Output
cout... | [
"stormrider136@gmail.com"
] | stormrider136@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.