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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8255290719d2c8a5b89bc234329b3480c06a0b0f | 86215b0e54ca2daa5711f967f27932ef25e0b270 | /src/thrift/interface/pyload_types.cpp | 12e32121e19ae295742cfa3dc459f1f695bdec9f | [] | no_license | mkaay/pyload-cpp-gui | 5299e132856921e4c973216a4288a409e7b86201 | 65938b32582fae2c319460051fed4e930dc88b56 | refs/heads/master | 2021-01-23T07:10:17.933793 | 2011-12-04T12:28:12 | 2011-12-04T12:28:12 | 1,891,617 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 64,607 | cpp | /**
* Autogenerated by Thrift Compiler (0.8.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
#include "pyload_types.h"
namespace Pyload {
int _kDownloadStatusValues[] = {
DownloadStatus::Finished,
DownloadStatus::Offline,
DownloadStatus::Online,
DownloadStatus::Que... | [
"mkaay@mkaay.de"
] | mkaay@mkaay.de |
0ca7afc28cfe8ea64539709e1da840df3da50f5a | ecb9b650e12317d45e258b255bbb72fdf58d0377 | /camera/src/event/events.hpp | ee02654a20641c751948794728531346a5561d05 | [] | no_license | kanglieyong/state_machine | 9e3486b2a84d828f28545452872d77ce0f4e1225 | 0e83a6523e6eb505f96a4ac3440de4920c522f34 | refs/heads/master | 2020-12-30T13:46:05.732675 | 2017-05-14T15:45:20 | 2017-05-14T15:45:20 | 91,249,565 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 701 | hpp | #ifndef __EVENTS_HPP_
#define __EVENTS_HPP_
#include <boost/statechart/event.hpp>
namespace sc = boost::statechart;
struct EvConfig : sc::event< EvConfig >
{
EvConfig();
~EvConfig();
};
struct EvShutterHalf : sc::event< EvShutterHalf >
{
EvShutterHalf();
~EvShutterHalf();
};
struct EvShutterFull : sc::even... | [
"kanglieyong@gmail.com"
] | kanglieyong@gmail.com |
f982b3d523fdfd1a840c40b27bcd63ec828f5c07 | 985c23316f977f2cdb0ece08da28f7a4ff6d7cb3 | /GDP1_efryscok/ParticleManager.cpp | 0c65878f7f4b24d98124bd696cfb619f7517a7d6 | [] | no_license | efryscok/OpenGL-Skybox-Particles-Lua | de8a890a53461ea1a297e5d0645da69759ee9ed2 | b703221e96d34339b3a290917d168297756306ac | refs/heads/master | 2021-01-19T09:38:06.286709 | 2017-04-10T07:51:24 | 2017-04-10T07:51:24 | 87,775,090 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,095 | cpp | #include "global.h"
SParticleDesc::SParticleDesc() {
regenerateParticles = true;
alphaProportionalToLifeTime = false;
particlesCreatedPerUpdate = 1;
lifetimeMin = 0.f;
lifetimeMax = 60.f;
initVelMin = glm::vec3(-1.f, -1.f, -1.f);
initVelMax = glm::vec3(1.f, 1.f, 1.f);
ongoingForce = glm::vec3(0.f, 0.f, 0.f... | [
"efryscok@outlook.com"
] | efryscok@outlook.com |
64a01257642be52779817595e4ff03a03a5a54d8 | e9e2da7a53aeeb84cc3848d49b35eb52f6b07d4a | /Curves/src/Camera.h | d3a6bbb94da5fbc00ccbdfae651c01de1b4e1631 | [] | no_license | jravi7/physikaOgl | 96c25990fe5ffed32281771f6add116275c2e664 | c1aee921ce740ae8f26a96ed891956c5adbe8e37 | refs/heads/master | 2023-07-24T10:04:20.575615 | 2015-10-28T22:54:13 | 2015-10-28T22:54:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,448 | h | #pragma once
//3rd Party
#include <glm\glm.hpp>
#include <glm\gtc\matrix_transform.hpp>
#include <glm\gtc\type_ptr.hpp>
#include <GL\freeglut.h>
class Camera
{
public:
enum Direction {
RIGHT, LEFT, FRONT, BACK
};
Camera (float fov, float nEar,
float fAr, int width, int height);
~Camera(void);
void init(... | [
"jaykumarark@gmail.com"
] | jaykumarark@gmail.com |
222b6cdbbdd1a26eddb4e30ae02b2dda2cf4d399 | 65e3391b6afbef10ec9429ca4b43a26b5cf480af | /TRD/TRDbase/AliTRDCalibraMode.h | e47a8029a0fc2db266eb610b03777935c94a837d | [] | permissive | alisw/AliRoot | c0976f7105ae1e3d107dfe93578f819473b2b83f | d3f86386afbaac9f8b8658da6710eed2bdee977f | refs/heads/master | 2023-08-03T11:15:54.211198 | 2023-07-28T12:39:57 | 2023-07-28T12:39:57 | 53,312,169 | 61 | 299 | BSD-3-Clause | 2023-07-28T13:19:50 | 2016-03-07T09:20:12 | C++ | UTF-8 | C++ | false | false | 4,714 | h | #ifndef ALITRDCALIBRAMODE_H
#define ALITRDCALIBRAMODE_H
/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
* See cxx source for full Copyright notice */
/* $Id$ */
///////////////////////////////////////////////////////////////////////////////
// ... | [
"cblume@f7af4fe6-9843-0410-8265-dc069ae4e863"
] | cblume@f7af4fe6-9843-0410-8265-dc069ae4e863 |
35af6c566d38f7d9b5759f2fa075cbe939a2e0d7 | 5e484d75caf03837c013e9fc9bca37902f71798d | /MoveSwapMatrix.cpp | a09b37b964dc6fde4d1b25f953bff33a848ce8e9 | [] | no_license | Thomas1205/VI3 | 117e2b3940aff3320a21948606c4cf7297cd0aa3 | e6b6a7556ec3c95c1bfdbaa6ce4c42305c710ba6 | refs/heads/master | 2020-05-19T12:42:39.026502 | 2012-04-27T17:45:44 | 2012-04-27T17:45:44 | 2,191,460 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,793 | cpp | /*
Copyright (C) 1999,2000,2001 Franz Josef Och (RWTH Aachen - Lehrstuhl fuer Informatik VI)
This file is part of GIZA++ ( extension of GIZA ).
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 Founda... | [
"thomas_schoenemann@yahoo.de"
] | thomas_schoenemann@yahoo.de |
5e02bc277a8c707624ac4109ff57ec82f41f1851 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/httpd/gumtree/httpd_old_log_2170.cpp | 5ad08f9d425194799d62a73a79fffbf5376f5497 | [] | 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 | 187 | cpp | ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, ap_server_conf,
"AcceptMutex: %s (default: %s)",
apr_proc_mutex_name(accept_mutex),
apr_proc_mutex_defname()); | [
"993273596@qq.com"
] | 993273596@qq.com |
dc89a94518d470423521cb8a4049fcb37e8a175c | 82930f2d6e8235e9a5a416f3337f260916fb8e70 | /server/gcschannel.cpp | c019b055e230d7b949d64527b8e10744c8a9d8ac | [
"MIT"
] | permissive | kinkeika/gamechatserver | 2b1ece41aa9ce90288a6211e195a2b14fbaca578 | 5ac85bf500ac710aa997a9e39f869348ef27436c | refs/heads/master | 2020-06-14T13:45:41.524458 | 2016-04-08T15:40:00 | 2016-04-08T15:40:00 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 92 | cpp | #include "gcschannel.h"
GCSChannel::GCSChannel(QObject *parent) :
QObject(parent)
{
}
| [
"finalist736@gmail.com"
] | finalist736@gmail.com |
fbbfbf8c530321ae37c05a3d03eb3fc9b0648836 | 3f6bfee7b12ee931bbd441c6f561fbfa358382e1 | /09.Math/magicMatrix.cpp | a7ad5b36a08282fa081ade45edfff3e6c3e2a5c6 | [] | no_license | Kishore7298/CP | 56df7418aa73f43f0af3e01c835b94779ebc2a03 | cca09e0a0621f0530b977fddfd5473801983c08c | refs/heads/master | 2022-12-13T03:31:22.996309 | 2020-09-05T15:55:31 | 2020-09-05T15:55:31 | 290,984,005 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,516 | cpp | #include <bits/stdc++.h>
/*
Problem statement:
Find the nth term of the fibonacci sequence.
This Problem demonstrates the use of magic matrix
*/
using namespace std;
vector<vector<int>> matrixMultiply(vector<vector<int>> a, vector<vector<int>> b)
{
int r1 = a.size();
int c1 = a[0].size();
int r2 = b.s... | [
"kishoreas7298@gmail.com"
] | kishoreas7298@gmail.com |
98e0a91d01fd3ec15ff6b00597a9a7e9a1b68df4 | e02beeb7ed978131e3036076134d8f7217b1b1cd | /devel/include/movo_msgs/GripperCmd.h | 29691d733b64401652d30cbbadc33465ca6083f4 | [] | no_license | liuyanqi/cs2951k | 0a48926f4ab9d80f1b1fce483d342d10a247fecd | ebed208e99bff973dc3dab3b2b11d0dcfefa25f2 | refs/heads/master | 2021-04-26T22:52:17.939596 | 2018-05-04T03:21:31 | 2018-05-04T03:21:31 | 124,158,979 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,207 | h | // Generated by gencpp from file movo_msgs/GripperCmd.msg
// DO NOT EDIT!
#ifndef MOVO_MSGS_MESSAGE_GRIPPERCMD_H
#define MOVO_MSGS_MESSAGE_GRIPPERCMD_H
#include <string>
#include <vector>
#include <map>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_message_traits.h>
#include <ros/mess... | [
"liuyanqi@umich.edu"
] | liuyanqi@umich.edu |
8e1197cf13302846f82da139c024df1a411ad012 | 986f3a64ba13bb207ccef80fc131392a2edb1d61 | /Gobang/game/server/Hall.hpp | c235e7249ff061f146bc9b686937cafab1cc285c | [] | no_license | Guo-MengTing/code_warehouse | 7832182b0d27c95f5196aad757b2c4c2f79523dc | c506fb27a4a63d15e9645e181df065f1a03f4158 | refs/heads/master | 2020-04-30T15:00:49.319895 | 2019-09-09T14:52:27 | 2019-09-09T14:52:27 | 176,908,149 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,306 | hpp | #pragma once
#include<iostream>
#include<string>
#include<vector>
#include<pthread.h>
#include"PlayerManager.hpp"
#include"RoomManager.hpp"
#define MATCH_LEVEL 101
using namespace std;
class Hall{
private:
PlayerManager pm;
RoomManager rm;
vector<vector<uint32_t>> match_pool;
int match_num;
pthread_mutex... | [
"515572944@qq.com"
] | 515572944@qq.com |
a5b74d66e453e267738d0ad174ab005f49bf2884 | c2edc63819f7634a951c3e9a7d524c3321201490 | /CellTemp2/template.cpp | 87f81085c4e4c5aae26bace4fb83ef9e9f788b09 | [] | no_license | aryapradipta9/OkeOce | 07c574ef22ff90947db828b2eaf608543d7aa322 | 6e227ae44baeaf34e0caa56f66161c554a48222e | refs/heads/master | 2021-01-21T11:19:11.476512 | 2017-03-17T03:39:57 | 2017-03-17T03:39:57 | 83,553,908 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 201 | cpp | #include "cat.h"
/** @brief Inisialisasi Hewan
*/
Cat::Cat()
{
Animal::Species = "Prionailurus viverrinus";
Animal::Experience = "Meow!";
Animal::Berat = 80;
Animal::AniChar = 'D';
}
| [
"noreply@github.com"
] | noreply@github.com |
874467553e997ec1592f8e52e2c910cd3cfad034 | 68f5fba4f91d9261d79ce19da6ea64faeb78a732 | /src/make-lkj.cpp | e98f07907042281b8ebafbd4124f24d9daa983d3 | [] | no_license | jtipton25/BayesComposition | 8c88e79dc7c2db1fed8589de811f05fcc52900d1 | 2c1a2d7688a8bb62d616108214df0b4ccc2f272d | refs/heads/master | 2022-08-10T19:24:41.981953 | 2022-07-28T19:23:34 | 2022-07-28T19:23:34 | 93,097,016 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,205 | cpp | #include <RcppArmadillo.h>
// [[Rcpp::depends(RcppArmadillo)]]
// [[Rcpp::interfaces(r, cpp)]]
using namespace Rcpp;
using namespace arma;
//' A function for turning an \code{choose(d, 2)}-vector into a d by d matrix for use in constructing an upper-triangular Cholesky decomposition of a correlation matrix
//'
//' @... | [
"jtipton25@gmail.com"
] | jtipton25@gmail.com |
10888ea02e440b3ef3e23fa214178d990cc9917e | c87c73c0f94fd4f4d81e3db9c0f1348290b87a9a | /오델로 AI 제작하기/제작과정/work3.cpp | 8a9cd1d3561649913d55051188a6f25fcdf3369d | [] | no_license | WindowsHyun/DataStructures | 90518085dfa48bcdc48e5b314f29348c2643b78b | 5a19e1be34c4306506cb732023f42cdf8e33637b | refs/heads/master | 2020-04-05T18:58:23.475041 | 2015-12-26T12:51:31 | 2015-12-26T12:51:31 | 48,524,418 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 17,129 | cpp | #include <stdio.h>
#include <stdlib.h>
#include <Windows.h>
#include <conio.h>
#include <time.h>
// AI 만들때 돌의 우선순위를 가장 높은걸 바탕으로 만든다.
// 힌트를 주는 부분이 완전하지 않은거 같다. 좀 더 보완 수정을 해야할듯하다.
// 힌트를 주는것의 숫자를 파악하여, 해당 숫자가 0일경우 턴을 넘겨주는 방식을 제작한다.
// AI는 해당 힌트를 주는 위치에서의 돌갯수를 판단하여, 해당 돌의 갯수가 많은 쪽으로 AI를 놓는 방법으로 해야할듯하다.
enum{ None, Blac... | [
"kwon616@gmail.com"
] | kwon616@gmail.com |
ab026ab8b08ef0a9a75233b240a41985ed9b3eec | 315ec5ef93c0e1366c8034baa094bd75b4b57373 | /include/caffe/layers/base_conv_layer.hpp | bb4011154181a962c7b7dfab585afac3ec93fbee | [
"LicenseRef-scancode-generic-cla",
"BSD-2-Clause"
] | permissive | gacop/Caffe-PHAST | 1fc93aa7ee92b3cfbf7d1e4acd9d39bf5fe80077 | 0626205efc496a09aff2434b374b69a688567354 | refs/heads/main | 2023-04-19T05:30:28.115275 | 2022-05-09T10:52:09 | 2022-05-09T10:52:09 | 382,280,372 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,768 | hpp | #ifndef CAFFE_BASE_CONVOLUTION_LAYER_HPP_
#define CAFFE_BASE_CONVOLUTION_LAYER_HPP_
#include <vector>
#include "caffe/blob.hpp"
#include "caffe/layer.hpp"
#include "caffe/proto/caffe.pb.h"
#include "caffe/util/im2col.hpp"
namespace caffe {
/**
* @brief Abstract base class that factors out the BLAS code common to
... | [
"peibolms@gmail.com"
] | peibolms@gmail.com |
84cf00cf44ed24b41e882e88c7eac4d7e617ea31 | d7a1079c29c96423494f9c4181ca9544235c0162 | /gui/src/widgets/connectioninfowidget.h | b67607c5e976927a2e0cae64511646e23cfb5e66 | [
"MIT"
] | permissive | sqglobe/SecureDialogues | ede0431b916a7e30d221edd3994b88c5d6afd6d0 | bde56c7a62fb72b1cdfba8cebc0a770157b5f751 | refs/heads/dev | 2020-05-15T01:50:18.416099 | 2020-05-01T08:36:24 | 2020-05-01T08:36:24 | 182,036,134 | 3 | 3 | MIT | 2020-04-15T19:46:54 | 2019-04-18T07:14:51 | C++ | UTF-8 | C++ | false | false | 2,818 | h | #ifndef CONNECTIONINFOWIDGET_H
#define CONNECTIONINFOWIDGET_H
#include <QWidget>
#include <optional>
#include <vector>
#include "communication/channel.h"
#include "pluginscontainer.h"
#include "pluginwidgetwrapper.h"
#include "primitives/connectionholder.h"
namespace Ui {
class ConnectionInfoWidget;
}
/**
* @brief ... | [
"nkutyavin@gmail.com"
] | nkutyavin@gmail.com |
c626635869575a971a9f8067746f26b9fb1be608 | 62bcbaa6fee6e67217ec69ac0ca2e88f7568ab28 | /Lecture1/helloworld.cpp | 01a93c58e4cfe9403b4de53bb5db4635455fd9fb | [] | no_license | manub14/LaunchpadNoon19 | d718d996020219ac76354d2808b8782b13135e67 | 8c6c77e3b78a16ea744a52752e6994e7d5d423df | refs/heads/master | 2020-07-16T09:26:27.907989 | 2019-09-01T18:34:16 | 2019-09-01T18:34:16 | 205,763,710 | 0 | 1 | null | 2019-09-02T02:38:55 | 2019-09-02T02:38:55 | null | UTF-8 | C++ | false | false | 237 | cpp | #include<iostream>
using namespace std;
int main()
{
int n;
cin>>n;
int i=1;
while(i<=n)
{
if(i%2==0)
{
cout<<i<<" ";
}
i=i+1;
}
/*cin>>n>>p;
cout<<n<<" "<<p<<endl;
*/
// cout<<"hello world"<<endl;
return 0;
} | [
"itijain2497@gmail.com"
] | itijain2497@gmail.com |
140a9708602e421b040040de252105e3440bc284 | 89829d36779b856daeff4e03ff300c23fc837cbd | /545C.cpp | 2e5563c87a93db44dda610afc191ad0fbda4b36e | [] | no_license | amiralikaboli/Codeforces | a5ceadec0e08ad6f897c8be46cf48291d2dee017 | 5648ba114da88158bdb4022719beaeded6783dd8 | refs/heads/master | 2020-05-26T15:55:13.403367 | 2019-07-06T08:56:32 | 2019-07-06T08:56:32 | 188,196,151 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 415 | cpp | #include <bits/stdc++.h>
using namespace std;
const int MaxN=1E5+10;
int x[MaxN],h[MaxN];
int main(){
int n;
cin >> n;
for (int i=0;i<n;++i)
cin>> x[i] >> h[i];
bool b=false;
int ans=2-(n==1);
for (int i=1;i<n-1;++i){
if (b==false){
if (h[i]<x[i]-x[i-1])
++ans;
else
b=true;
}
if (b==true)... | [
"amirali.kaboli@gmail.com"
] | amirali.kaboli@gmail.com |
735d7cf4274bebf44dd41423108854759f8fd607 | 9d1f08397e9ab96ce8d624344718fe6c7b73f3aa | /tests/core_new/function/sum_tests.cpp | a0b55322c0a27ed79cb7a551ed05e0448547c0eb | [
"BSD-2-Clause"
] | permissive | rbock/sqlpp17 | 974d54392c035958f3c677e29f3a874aa3ab41c2 | 5532314a671266ac10e7f924d3b387e3658c7294 | refs/heads/develop | 2023-07-07T20:54:05.223584 | 2023-06-29T20:16:42 | 2023-06-30T04:46:41 | 72,184,453 | 51 | 8 | BSD-2-Clause | 2023-06-30T04:46:43 | 2016-10-28T07:29:23 | C++ | UTF-8 | C++ | false | false | 2,484 | cpp | #include <sqlpp17/core/aggregate.h>
#include <sqlpp17/core/clause/select.h>
#include <sqlpp17/core/context_base.h>
#include <sqlpp17/core/function/count.h>
#include <sqlpp17/core/function/sum.h>
#include <assert_bad_expression.h>
#include <tables/tab_person.h>
#include <catch2/catch_test_macros.hpp>
using ::test::ta... | [
"rbock@eudoxos.de"
] | rbock@eudoxos.de |
0b4275c93335931ff412e9dc6ead74aa46d6682a | 00ce81a2ac01f55754ea8fee5fcbc416ff2f90dd | /SDK/[课上代码]SDK_Day005/磁盘查看器/磁盘查看器/Driver.cpp | 2a559245cb21bba4827fd220898343f7c8c6e4f6 | [] | no_license | song493818557/mfc | 1bd0064eec466847bac0f6abc7775d99b13f2423 | ce562ef61580b959c198c053648c9f77a7ea7a18 | refs/heads/master | 2021-01-13T04:49:50.035383 | 2017-01-13T12:10:08 | 2017-01-13T12:10:08 | 78,842,167 | 4 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,297 | cpp | #include "stdafx.h"
#include "Driver.h"
const TCHAR* Driver::Type(const TCHAR * pszDiskName)
{
DWORD dwType = GetDriveType(pszDiskName);
switch(dwType)
{
case DRIVE_UNKNOWN:
return _T("未知");
case DRIVE_NO_ROOT_DIR:
return _T("驱动器的根路径无效");
case DRIVE_REMOVABLE:
return _T("可移动介质类驱动器");
case DRIVE... | [
"2123229780@qq.com"
] | 2123229780@qq.com |
2d802fdbf510322dcf4771fb7a8df436f65c441e | bed61e3f302058e7ad6997132ed82783393112fd | /repl/armada/src/rs/testrpc.cc | d05cc6302d2d2acd1e402d44d72f7ac2a9757a4d | [] | no_license | mlkazar/cazamar | f780004d04e8a6bac3bbf3a2c4b378e46ec88898 | 7afe34909394bac12514d861c3edda32b698e280 | refs/heads/master | 2023-07-19T20:11:19.764086 | 2023-07-05T17:18:49 | 2023-07-05T17:18:49 | 136,724,635 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 639 | cc | #include "testrpc.h"
Rs *test_rsp;
int
client(int argc, char **argv)
{
int32_t code;
OspNetSockAddr taddr;
RsConn *connp;
test_rsp = rsp = new Rs;
code = rsp->init(vlanp, 5001);
printf("rs init code=%d\n", code);
taddr._addr = 0x7f000001;
taddr._port = 5000;
connp = rsp->getClien... | [
"michael.kazar@verizon.net"
] | michael.kazar@verizon.net |
2ec4c06b475f168b6c48f6d5846063b38260d114 | 84efbc1076ea5c9ae2982cccacd14ed8dcccabc9 | /ptr.cpp | 3481a9794e7f6c62008f0eac3e7579316b9f472c | [] | no_license | jonayerdi/cpp_examples | 89423c25ae0a2600a802252b64287b2238dbed74 | 8f3ec19a4e88b36720905b84455f9b4d6c4c910f | refs/heads/master | 2020-06-22T00:49:18.895534 | 2019-08-06T22:09:52 | 2019-08-06T22:09:52 | 197,591,922 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 786 | cpp | #include <iostream> /* cout */
#include <string> /* string */
#include <memory> /* unique_ptr, make_unique */
using namespace std;
class MyClass
{
private:
string name;
public:
MyClass(string name) {
this->name = name;
cout << *this << " constructor" << endl;
}
~MyClass() {
co... | [
"jon_ayerdi_33@hotmail.es"
] | jon_ayerdi_33@hotmail.es |
991c256dbee5208c89e84ded869166829e766cb6 | e2362a5846633a8845cef6da613b6d4b647b9812 | /src/lib/builtin/hash.cpp | 08d44dae9710a2092cd649a7fa6e0f50c2aeef22 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | kirubz/petrel | 84e40d6e5000030228b850a2051d94b4c51a6ae0 | 42996a7861714bea187b4e43a097be57e7d0a611 | refs/heads/master | 2021-06-11T23:44:56.657325 | 2016-11-25T10:32:34 | 2016-11-25T10:32:34 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,481 | cpp | /*
* Copyright (c) 2016 Andreas Pohl
* Licensed under MIT (see COPYING)
*
* Author: Andreas Pohl
*/
#include "hash.h"
#include <array>
#include <boost/utility/string_ref.hpp>
#include <functional>
#include <iomanip>
#include <memory>
#include <openssl/evp.h>
#include <sstream>
#include <vector>
namespace petrel... | [
"pohl@adtech.de"
] | pohl@adtech.de |
e4794f12502d7f2c785f6846ee1406e56fcbe29f | 44289ecb892b6f3df043bab40142cf8530ac2ba4 | /Sources/Elastos/Frameworks/Droid/Base/Services/Server/inc/elastos/droid/server/hdmi/DeviceSelectAction.h | b4c849af73153e8768ab9f554706bd8a98eacce9 | [
"Apache-2.0"
] | permissive | warrenween/Elastos | a6ef68d8fb699fd67234f376b171c1b57235ed02 | 5618eede26d464bdf739f9244344e3e87118d7fe | refs/heads/master | 2021-01-01T04:07:12.833674 | 2017-06-17T15:34:33 | 2017-06-17T15:34:33 | 97,120,576 | 2 | 1 | null | 2017-07-13T12:33:20 | 2017-07-13T12:33:20 | null | UTF-8 | C++ | false | false | 4,495 | h | //=========================================================================
// Copyright (C) 2012 The Elastos Open Source Project
//
// 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
//
// ... | [
"cao.jing@kortide.com"
] | cao.jing@kortide.com |
c01f67d05fb63de30c63b2a4c01e4494abc2210a | 08595e6913b37cf8cfa038243ddfa8cf101d5244 | /MergeList/LkList.cpp | 77c6112d8220ad15926d7adf7e41fb8a64789bc3 | [] | no_license | LemonJustice/MergeList | 13c338850a6db4fa1206363a6f3c4b2bfe0503fe | 8d60afc7a4d375aef9568d11bfd5656c85b8b711 | refs/heads/master | 2020-09-24T03:51:09.931247 | 2019-12-03T22:16:35 | 2019-12-03T22:16:35 | 225,654,317 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,121 | cpp | #include <iostream>
#include "LkList.h"
using namespace std;
void LkList::merge(LkList& src) {
// this is what you need to write.....
//Plan
//1: Start at head of src and *this
//2: Iterate src pointer until *this pointer is bigger
//3: Take group and merge, reassign the head of src to new value.
//4: Iterate... | [
"liamshinx@gmail.com"
] | liamshinx@gmail.com |
31072ec8abb5afc53c3e6b98c77cadb642b6255a | b633a989a091b9665916755e0dbd6dd12195d67e | /Temp_Sensor_Desktop/update_temp_thread.h | a067c3e7bf08e6e9042ae39d37ee013da8d266d5 | [] | no_license | cjmartin20/No-Contact_Temp-Scanner | 88c34fffc4f1180dafcb20c93c3428395c13968b | f4f180ecc9c707b18ed8fd7456313bdd5330feec | refs/heads/master | 2023-01-29T14:05:05.974439 | 2020-12-14T16:05:19 | 2020-12-14T16:05:19 | 303,548,329 | 2 | 2 | null | 2020-12-10T16:51:17 | 2020-10-13T00:46:25 | C++ | UTF-8 | C++ | false | false | 156 | h | #ifndef UPDATE_TEMP_THREAD_H
#define UPDATE_TEMP_THREAD_H
class update_temp_thread
{
public:
update_temp_thread();
};
#endif // UPDATE_TEMP_THREAD_H
| [
"groot@localhost.localdomain"
] | groot@localhost.localdomain |
841e3600bf7919d91240646c29662ed3aca175ff | 9f6ef92adfebb593ba228e185a88a2ce01e2accd | /Src/UnComputeShader.cpp | 3eebb6b70863baaa89b12b32aab22e072e83cc35 | [
"MIT"
] | permissive | metallicafan212/ICBINDx11Drv | caf489f75fb7baa1eb5ef66efe715be2383f3c89 | 2881094d2acae1fbc4f6f0cb4c3cd4c157727189 | refs/heads/master | 2023-08-31T13:15:46.780760 | 2023-08-28T00:50:08 | 2023-08-28T00:50:08 | 649,470,428 | 8 | 1 | MIT | 2023-07-30T07:47:37 | 2023-06-04T23:52:24 | C++ | UTF-8 | C++ | false | false | 13,251 | cpp | #include "ICBINDx11Drv.h"
#include "Render.h"
struct FLightingData
{
// Metallicafan212: Frame related info
// TODO! Might just provide the frame vars globally to all shaders
FLOAT FX15;
FLOAT FY15;
FLOAT PrjXM;
FLOAT PrjXP;
FLOAT PrjYM;
FLOAT PrjYP;
FVector Proj;
FLOAT Specular;
F... | [
"metallicafan212@gmail.com"
] | metallicafan212@gmail.com |
770e5790b2da80bfcc1f972e7da0604bd3adcd57 | 3f0653d75ad1d8b1913b1f593a300d6e486654d2 | /Engine/stateMachine.h | 64ab097d2e230c0051f544177986e0b723b9406c | [] | no_license | yart123/GameLibraries | 48a4eedd60d74d34d92d30c7d09b752c9d72fa40 | fbd48bcab9f8f1b5737be3512b1d3a616a998e15 | refs/heads/master | 2020-03-21T18:56:57.874995 | 2018-09-27T01:57:25 | 2018-09-27T01:57:25 | 138,922,572 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 806 | h | #pragma once
#include "engine.h"
#include <map>
class Scene;
class IState;
class Entity;
class ENGINE_API StateMachine
{
public:
StateMachine(Scene* scene, Entity* entity = nullptr) : m_scene(scene), m_entity(entity) {}
~StateMachine() {}
void Update();
void AddState(const std::string& stateName, IState* state)... | [
"iaroslav.titov@gmail.com"
] | iaroslav.titov@gmail.com |
747213173ddf0770d5b10c0213543865719d09de | 411b2bbc9b9537ec7740b61a3d736f9a7c4cfd6b | /Range Extraction.cpp | 5558d9301d41eb22306adb983df8a0b5e9a2a713 | [
"MIT"
] | permissive | codewitty/CodeWars | a72044a4d7b21bce24f914fd9ae37e62b7adf674 | a97ad3b5d1cc73b848c6171d9d782c0beb3bc3d7 | refs/heads/master | 2022-08-30T17:06:52.939691 | 2020-05-27T03:36:33 | 2020-05-27T03:36:33 | 255,500,390 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,887 | cpp | #include <string>
#include <vector>
using namespace std;
string range_extraction(std::vector<int> args) {
string res = "";
int first, last, a = 0;
for (size_t i = 0; i < args.size(); i++) {
a = i;
first = args[i];
if (i+1 < args.size())
last = args[i+1];
int count = 0;
while (last =... | [
"noreply@github.com"
] | noreply@github.com |
8c32846ab2ac0a9369c925922a7ca16d8306216e | 940085f9776428afc124bc6ba4ee4b98ee4f2706 | /wifi.ino | 74b93770c7b19610a472c534ac5f628405e535a8 | [] | no_license | manianu/smartbridge | f6bb9bfb82423a11aa2163cbe75436a024662d13 | 38fa0e0505ab5b45b47a1f454ea3d2b47f3e044a | refs/heads/master | 2020-05-30T21:36:32.706220 | 2020-02-06T15:06:08 | 2020-02-06T15:06:08 | 189,974,562 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,882 | ino |
// Load Wi-Fi library
#include <WiFi.h>
// Replace with your network credentials
const char* ssid = "SmartBridge";
const char* password = "smartbridge@sb";
// Set web server port number to 80
WiFiServer server(80);
// Variable to store the HTTP request
String header;
// Auxiliar variables to stor... | [
"noreply@github.com"
] | noreply@github.com |
3071a23fa514777365e9984f3558794bdae0f85e | 50a7537288b25cf9208e4f123a5f96eb97b190e4 | /chuong02_laptrinhham/Bai099.cpp | cb76e9ae37bb6a0a8686fb93dfb24b281f3cbcd1 | [] | no_license | huynh-vch/code_c | 3e5d47ba88cd8512d28128df74ae6217ea460653 | 60e7d31ef8208b26f6ac4ea9ce7cffbea3d4b149 | refs/heads/master | 2023-04-23T20:29:47.386195 | 2021-04-27T07:26:48 | 2021-04-27T07:26:48 | 333,358,599 | 0 | 0 | null | 2021-04-27T07:26:49 | 2021-01-27T08:51:18 | C++ | UTF-8 | C++ | false | false | 347 | cpp | //bai099.cpp
#include <iostream>
using namespace std;
float Tong(int);
int main()
{
int n;
cout << "Nhap n: ";
cin >> n;
float kq = Tong(n);
cout << "Tong S(" << n << ") la: " << kq << endl;
system("pause");
return 1;
}
float Tong(int k)
{
float S = 0;
for (int i = 1; i <= k; i++)
{
S = pow((i + S), (1.0 /... | [
"20520015@gm.uit.edu.vn"
] | 20520015@gm.uit.edu.vn |
67ad7ce79839548d7372e08b60c3c11153b598ce | ccb5d90dba839a7186d2da841521a52aad9fd836 | /FileSystem/io_file1.cc | ed2a2a658245f3c1199391ccd73061e5a3452677 | [] | no_license | fwang2/cxx | 82268e07380b718f713d9e1bbc2b0f8cbb985d30 | b0f1e199c4502f1c267fbdb6f78dd272f4b7014f | refs/heads/master | 2021-09-08T09:31:31.853327 | 2021-09-02T13:46:46 | 2021-09-02T13:46:46 | 170,216,625 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 333 | cc | // demo: c++ I/O is *not* fail safe
// opening an non-existing file doesn't even generate a warning
//
#include <iostream>
#include <fstream>
int main()
{
std::ifstream infile("some_missing_file.xyz");
int i;
double d;
infile >> i >> d;
std::cout << "i is " << i << ", d is " << d << "\n";
infil... | [
"fwang2@gmail.com"
] | fwang2@gmail.com |
8de78f240cef6e355ddb3ee662ca6f9d8be31df9 | 0aed890310c711019c934b208ae3041bf6f6206b | /RedBook/openglOpenGL SuperBible/Chapter 13/GLView/GLViewDlg.cpp | 41859caa363c0a35bcee9292d792516d12c98078 | [] | no_license | Kranfeit/OpenGlBooks | 80ef6c534c4221c00659459f009d704e2fe3f10b | cfb317ee96e97909f459640dd239bdd26b1a61f2 | refs/heads/master | 2022-03-15T14:25:52.644434 | 2019-11-04T20:38:38 | 2019-11-04T20:38:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,290 | cpp | // GLViewDlg.cpp : implementation file
//
#include "stdafx.h"
#include "GLView.h"
#include "GLViewDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CAboutDlg dialog used... | [
"twtravel@126.com"
] | twtravel@126.com |
db30d6a3ed4f0d2f537d9cbacb2f4906b68e30b7 | cccd7a40a07d7f012e1de5f7dc609e37f07b75d3 | /SliderDrawer.h | 77cb80a3b0f32f1d19ce3ff3acd592b6d344d059 | [] | no_license | Retora20/DirectX11_o3u | 3a454a5943b47c548a5bd897edcda9ffb106fbba | 1b6c76f3c1e0d88f171f1d0548af1cae238a63f1 | refs/heads/master | 2023-03-10T17:12:13.507751 | 2021-02-21T14:55:13 | 2021-02-21T14:55:13 | 336,745,968 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 649 | h | #pragma once
#include "Component.h"
#include "MapAsset.h"
class NoteDrawer :public Drawer
{
public:
void SetObjectData(const NOTE_OBJECT& set) { m_data = set; }
void SetEnable(bool set = true) { m_isUse = set; }
const NOTE_OBJECT& GetData() { return m_data; }
const void SetData(const NOTE_OBJECT& data) { m_data = ... | [
"retora20@gmail.com"
] | retora20@gmail.com |
dfb2eb7a3c8313fd66dbf497878114dd642cdf6b | 86e3367acf81c30825670ad6b16056056e60cf48 | /ls/Attack/Attack.cpp | db3495762b09b6022c4fde3c012a17f2a72dfc76 | [
"BSD-3-Clause"
] | permissive | sorcery-p5/Asteraiser | 0bb3e4a2e620f68764ee4e346e99440d1e7818b8 | f27da9e3e262772686245f7e83b800e41c909f0f | refs/heads/master | 2020-03-19T06:25:38.820721 | 2020-02-12T14:15:05 | 2020-02-12T14:15:05 | 136,018,491 | 6 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 10,337 | cpp | #include "stdafx.h"
#include "Attack.h"
#include "AttackManager.h"
#include "AttackData.h"
#include "App/App.h"
#include "World/World.h"
#include "Effect/Effect.h"
#include "Effect/EffectManager.h"
#include "Collide/CollideObject.h"
#include "Collide/CollideCaster.h"
#include "Collide/Shape/CollideShape.h"
#include... | [
"sorcery_port5@hotmail.com"
] | sorcery_port5@hotmail.com |
5ec178999529b9bfbc3270dc60af343d9a7912e3 | 3ded37602d6d303e61bff401b2682f5c2b52928c | /ml/1075/Classes/Depends/Utils/actions/CircleMoveLinear.cpp | 5ccbf259c213ed00c633cd6b6eb4c0afa3464dfe | [] | no_license | CristinaBaby/Demo_CC | 8ce532dcf016f21b442d8b05173a7d20c03d337e | 6f6a7ff132e93271b8952b8da6884c3634f5cb59 | refs/heads/master | 2021-05-02T14:58:52.900119 | 2018-02-09T11:48:02 | 2018-02-09T11:48:02 | 120,727,659 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,237 | cpp | //
// CircleMoveLinearAction.cpp
// ActionTest-x
//
// Created by renhong on 7/15/14.
//
//
#include "CircleMoveLinear.h"
CircleMoveLinear *CircleMoveLinear::create(float dt, float radius, Vec2 center,float angle){
CircleMoveLinear *pAction = new CircleMoveLinear(radius, center,angle);
pAction->initWithDur... | [
"wuguiling@smalltreemedia.com"
] | wuguiling@smalltreemedia.com |
bda03842bd39aa72da64ce09315ce42182ad7856 | f20e965e19b749e84281cb35baea6787f815f777 | /LHCb/Kernel/FSRAlgs/src/FSRNavigator.cpp | f58df03599b3e0d3590bfc98bf3f2c22b26a2427 | [] | no_license | marromlam/lhcb-software | f677abc9c6a27aa82a9b68c062eab587e6883906 | f3a80ecab090d9ec1b33e12b987d3d743884dc24 | refs/heads/master | 2020-12-23T15:26:01.606128 | 2016-04-08T15:48:59 | 2016-04-08T15:48:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,406 | cpp | // Include files
// from Gaudi
#include "GaudiKernel/IRegistry.h"
#include "GaudiKernel/IOpaqueAddress.h"
#include "GaudiKernel/IDataManagerSvc.h"
#include "GaudiKernel/StatEntity.h"
// local
#include "FSRNavigator.h"
//-----------------------------------------------------------------------------
// Implementation ... | [
"rlambert@cern.ch"
] | rlambert@cern.ch |
009890a724d477bfd01fa7744305e61c3be7ebaa | 5b0f6055dcaa17d711d376c183d927584ddc281c | /structs.h | ab9ece63485990d3d3a4b26025eb9d20c625550b | [] | no_license | vajeen/CDR-Loader | b75fe18819d705507afa8c8fef827bc8fd5dfb85 | 53a03a69c06291c14656f21039fca69e9ff5ada9 | refs/heads/master | 2023-01-20T22:01:03.946923 | 2020-11-12T18:36:09 | 2020-11-12T18:36:09 | 312,149,953 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 577 | h | #ifndef STRUCTS_H
#define STRUCTS_H
#include <iostream>
#include <string>
struct holder {
int CallType;
std::string MSISDN;
std::string ANumber;
std::string BNumber;
std::string CNumber;
std::string Date;
std::string Time;
std::string Duration;
std::string ServiceCenter;
std::s... | [
"vajeenk@mobitel.lk"
] | vajeenk@mobitel.lk |
c98c1c1b56e8f9ab8d66bedc0fefba0ccb544476 | e462bebfb73f54006c88280e6f6de8de62f32ab0 | /HookZz/srcxx/Logging.h | a34fdcf52f5631e8e46689c563bbb097c7e3c5ba | [
"Apache-2.0"
] | permissive | haidragon/ios | b60ff1c02226acb79de67a9347ba25439c505525 | ac54b33fdc7472b9278abf06eeb44098b3547fc3 | refs/heads/master | 2020-03-22T23:06:48.332229 | 2018-09-09T14:18:41 | 2018-09-09T14:18:41 | 140,790,047 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,154 | h | //
// Created by jmpews on 2018/6/15.
//
#ifndef HOOKZZ_GLOGEMULATOR_H
#define HOOKZZ_GLOGEMULATOR_H
#include "CommonClass/DesignPattern/Singleton.h"
#define ENABLE_PRINT_ERROR_STRING 1
#define ENABLE_COLOR_LOG 0
#if ENABLE_COLOR_LOG
#define RED "\x1B[31m"
#define GRN "\x1B[32m"
#define YEL "\x1B[33m"
#define BLU "... | [
"noreply@github.com"
] | noreply@github.com |
2abc8f9532f825ce3ac95360f9652628803fc5c7 | 8d8fa72f7a43266add4446cb86116e62ba23f839 | /src/v2/controllers/controllers.hpp | 0146c1a7312ce9e359f22d7daee0c84dced14d13 | [] | no_license | asmr-hex/grid | f82fd8d0584d6f4cdb0a1936507160b4d5644285 | eeb0dbfcab203000c08da11ba9c7fb36b05652df | refs/heads/master | 2023-06-30T05:41:03.009915 | 2021-07-14T21:14:06 | 2021-07-14T21:14:06 | 217,150,100 | 0 | 0 | null | 2021-07-14T21:14:07 | 2019-10-23T20:43:52 | C++ | UTF-8 | C++ | false | false | 939 | hpp | #ifndef CONTROLLERS_H
#define CONTROLLERS_H
#include <memory>
#include "anemone/io/io.hpp"
#include "anemone/clock/clock.hpp"
#include "anemone/io/grid/layout/layouts/layouts.hpp"
#include "anemone/state/root.hpp"
#include "anemone/action/dispatcher.hpp"
#include "anemone/controllers/clock/scheduler.hpp"
#include "a... | [
"c@polygon.pizza"
] | c@polygon.pizza |
f972ee1e1937ea2428afef48c4635e8e94511055 | a88fa08624f6eca1183451c9a5fd659864de99f1 | /HEsets.cpp | f2c5d0e218208b46cae9ba762ef07181ef41efe5 | [] | no_license | JanabG-HERE/A2oj-Ladder-Codeforces-Div.-2-A | 6b33a092e8705d39fdde9a189e2ac2249045d5dc | 79d4c79833c9bd420b7cba6744bf6f49e70db832 | refs/heads/main | 2023-07-20T19:49:31.419961 | 2021-09-05T14:44:17 | 2021-09-05T14:44:17 | 325,471,501 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 683 | cpp | //Hacker Rank Ques. STL
#include <bits/stdc++.h>
#include <set>
using namespace std;
int main()
{
int n;
cin>>n;
set<int>con;
while(n--)
{
int q,x;
cin>>q;
if(q==1)
{
cin>>x;
con.insert(x);
}
else if(q==2)
{
... | [
"noreply@github.com"
] | noreply@github.com |
70709d4f973761fc553cf920cb0ead1395dc66de | 5f9aa7846462f286ecff94d55fd26a736ac21238 | /source/math/tAabb.ipp | f6f398b60cb7ad831db5f184b19cd74bbedfbf2f | [
"MIT"
] | permissive | xh5a5n6k6/cadise | bba37903facf98b7640571ec3f910a8ec0f070e1 | 797b116b96d7d3989b58454422501f6ace04c4b8 | refs/heads/master | 2023-06-01T08:17:39.848765 | 2021-02-04T13:17:06 | 2021-02-04T13:17:06 | 179,852,908 | 35 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,655 | ipp | #pragma once
#include "math/tAabb.h"
#include "fundamental/assertion.h"
#include "math/math.h"
#include <limits>
#include <type_traits>
namespace cadise {
template<typename T, std::size_t N>
inline cadise::TAABB<T, N>::TAABB() :
TAABB(TVector<T, N>(std::numeric_limits<T>::max()),
TVector<T, N>(std::... | [
"xh5a5n6k6@gmail.com"
] | xh5a5n6k6@gmail.com |
97d139d72057c0016013415d6136d360f4752490 | 478506575299db25829f19efb565821ab2ff1bf3 | /tests/uitsl/meta/t::static_test.cpp | 16a4e40a6ac37a686c76572524f18cc4472bdca0 | [
"MIT"
] | permissive | perryk12/conduit | bf75d7b79f50f2ca123baa0a66cbc4080fd35328 | 3ea055312598353afd465536c8e04cdec1111c8c | refs/heads/master | 2023-01-01T21:56:19.210550 | 2020-10-22T14:55:44 | 2020-10-22T14:55:44 | 300,478,004 | 0 | 0 | MIT | 2020-10-22T15:39:56 | 2020-10-02T02:13:46 | C++ | UTF-8 | C++ | false | false | 607 | cpp | #include <array>
#include <string>
#include <vector>
#define CATCH_CONFIG_MAIN
#include "Catch/single_include/catch2/catch.hpp"
#include "cereal/include/cereal/types/string.hpp"
#include "cereal/include/cereal/types/vector.hpp"
#include "uitsl/meta/t::static_test.hpp"
TEST_CASE("Test valid types") {
REQUIRE( uits... | [
"mmore500.login@gmail.com"
] | mmore500.login@gmail.com |
963bca1de9a9b83c6f266d97e67ab230ac4527fa | 5456502f97627278cbd6e16d002d50f1de3da7bb | /chrome/browser/ui/ash/launcher/multi_profile_browser_status_monitor.h | 45262a5b6dee80363634515e19d02432f3907097 | [
"BSD-3-Clause"
] | permissive | TrellixVulnTeam/Chromium_7C66 | 72d108a413909eb3bd36c73a6c2f98de1573b6e5 | c8649ab2a0f5a747369ed50351209a42f59672ee | refs/heads/master | 2023-03-16T12:51:40.231959 | 2017-12-20T10:38:26 | 2017-12-20T10:38:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,632 | h | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_UI_ASH_LAUNCHER_MULTI_PROFILE_BROWSER_STATUS_MONITOR_H_
#define CHROME_BROWSER_UI_ASH_LAUNCHER_MULTI_PROFILE_BROWSER_STATUS_MO... | [
"lixiaodonglove7@aliyun.com"
] | lixiaodonglove7@aliyun.com |
0aed07f98b8b740d833a7c26602b941b68ed1b20 | 2f1024ee266f523ed33bd108f5cf96e196e6b589 | /jtc.cpp | 4e8ec9dff04d7c435577a6731f9a3274d1e86111 | [
"MIT"
] | permissive | vanroy86/jtc | cfdcb0c88bab6c94988d6c48e7c9b37cf8c3391f | 086195917eadb93c62c66fd96400989e88ab2762 | refs/heads/master | 2020-06-21T04:07:09.175466 | 2019-06-01T10:42:59 | 2019-06-01T10:42:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 73,882 | cpp | #include <iostream>
#include <fstream>
#include <sstream>
#include <deque>
#include <set>
#include <climits> // LONG_MAX
#include <algorithm>
#include "lib/getoptions.hpp"
#include "lib/Json.hpp"
#include "lib/shell.hpp"
#include "lib/dbg.hpp"
using namespace std;
#define VERSION "1.70"
// option definitions
... | [
"dlyssenk@cisco.com"
] | dlyssenk@cisco.com |
7bb51c7efd7f0c792c1c06e019ba61eddabb5067 | 04a3e8ee778b443f8983ac38f672bebb2607e3fa | /protocal/planning/planning_stats.pb.h | c0085f929208f2ec6da02c5fe03c888660667f0e | [
"Apache-2.0"
] | permissive | gA4ss/g2r | 28a51aec1741a1ff00c9564b8569ce703dbb6749 | a6e2ee5758ab59fd95704e3c3090dd234fbfb2c9 | refs/heads/master | 2022-07-08T14:27:31.443671 | 2020-05-12T16:35:17 | 2020-05-12T16:35:17 | 263,392,475 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 24,734 | h | // Generated by the protocol buffer compiler. DO NOT EDIT!
// source: planning/planning_stats.proto
#ifndef PROTOBUF_planning_2fplanning_5fstats_2eproto__INCLUDED
#define PROTOBUF_planning_2fplanning_5fstats_2eproto__INCLUDED
#include <string>
#include <google/protobuf/stubs/common.h>
#if GOOGLE_PROTOBUF_VERSION <... | [
"fr1140m@gmail.com"
] | fr1140m@gmail.com |
3a09b563c74a6ff5ccd65674074bc489f4baf681 | 30880afb45d88cc3865fae6c3ce9e7a2fb3703de | /async_spdlog_demo.cpp | 10a54625e87840a11b7a6ce094821fee0fcdf39b | [] | no_license | Fibird/spdlog_demo | 49d3004b7a88efbd68a3f5768f54d63c128df092 | 2cbedb1c12b0f635760a162edfcb1b13a88eecb1 | refs/heads/master | 2020-09-28T22:26:59.679228 | 2019-12-09T13:29:28 | 2019-12-09T13:29:28 | 226,879,755 | 7 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 883 | cpp | #include <iostream>
#include "spdlog/spdlog.h"
#include "spdlog/sinks/basic_file_sink.h" // support for basic file logging
#include "spdlog/sinks/rotating_file_sink.h" // support for rotating file logging
int main(int argc, char* argv[]) {
try {
// Create basic file logger (not rotated)
auto my_log... | [
"chaoyanglius@gmail.com"
] | chaoyanglius@gmail.com |
1aec51da7ffadde1b608ba18ea05c699e443d792 | fb3ba25626f15bc866a04e9a44c79a5a95152cf9 | /FunctionLibs/TomOpenGLBasicLib.cpp | a2999164dea8001218fb51013652f14e61dc7dc8 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | basic4gl-guy/basic4gl | 2e98a60e05714ae86075f7f16af4f7c53705aede | 5d4da444d36cdd5e020062adb02373e3efb21303 | refs/heads/master | 2020-12-11T06:51:35.653212 | 2020-01-14T10:18:55 | 2020-01-14T10:18:55 | 233,792,714 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 64,694 | cpp | //---------------------------------------------------------------------------
// Created 27-Sep-2003: Thomas Mulgrew (tmulgrew@slingshot.co.nz)
// Copyright (C) Thomas Mulgrew
#pragma hdrstop
#include "TomOpenGLBasicLib.h"
#include "Corona.h"
#include "LoadImage.h"
//--------------------------------------------------... | [
"tmulgrew@slingshot.co.nz"
] | tmulgrew@slingshot.co.nz |
97bcc6bbb0ffd5665d233248d7b245f7e1764893 | 6e9ec0e127b29603236df51701d45965b8fa7c2f | /oiio/src/libutil/thread_test.cpp | d20de067982f79b681dd86be0da195b4ea165e06 | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause",
"LicenseRef-scancode-free-unknown",
"Zlib",
"NCSA",
"MIT",
"BSL-1.0",
"Apache-2.0",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause",
"CC-BY-3.0"
] | permissive | jammm/Langevin-MCMC | 8c4ee90fb2a913956fba828d6fbdbd844fb26482 | 06cadf6d0213e365c37cb39438bf1fef0e511912 | refs/heads/master | 2022-10-11T03:20:48.968894 | 2020-06-14T15:31:44 | 2020-06-14T21:50:03 | 271,672,514 | 1 | 0 | MIT | 2020-06-12T00:23:14 | 2020-06-12T00:23:13 | null | UTF-8 | C++ | false | false | 4,790 | cpp | // Copyright 2008-present Contributors to the OpenImageIO project.
// SPDX-License-Identifier: BSD-3-Clause
// https://github.com/OpenImageIO/oiio/blob/master/LICENSE.md
#include <algorithm>
#include <functional>
#include <iostream>
#include <OpenImageIO/argparse.h>
#include <OpenImageIO/benchmark.h>
#include <OpenI... | [
"luanfj11@gmail.com"
] | luanfj11@gmail.com |
d10e9fc691888cf7be292e9aca6aeee6addb78c3 | 55a9ea97c408a2854c481c7a2f4b3e17d7f2cabb | /synthesize/main.cpp | 39daf48dcf99d03f57c9f88b15d88cf1ef2a089d | [] | no_license | kynge/study_cpp | 7e0e1f5a00b6b929f7c01028a7f1eba40124faa2 | d0d5a5e7ece59e3737762a6fd30726921db9efba | refs/heads/master | 2020-04-13T18:16:37.997486 | 2018-08-24T12:38:18 | 2018-08-24T12:38:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,156 | cpp | #include <iostream>
#include <assert.h>
#include "vocoder/common.h"
#include "vocoder/world.h"
#include "vocoder/synthesis.h"
using namespace std;
void merge_file(const char *plf0, const char *pbap, const char *pmgc, const char *pout, const int &num_spectrum)
{
/**
* when in 16k, mgc=60, lf0=1, bap=1
*... | [
"zoucheng@uzoo.cn"
] | zoucheng@uzoo.cn |
7224638be3e8a359209b351023f7c9e81791d4a0 | 6e3b592de89cb3e7d594993c784e7059bdb2a9ae | /Source/AllProjects/Drivers/CQCGenDrv/Server/CQCGenDrvS_DriverGlue.cpp | de87fa352582c7af9926f7007c2baf854672bde9 | [
"MIT"
] | permissive | jjzhang166/CQC | 9aae1b5ffeddde2c87fafc3bb4bd6e3c7a98a1c2 | 8933efb5d51b3c0cb43afe1220cdc86187389f93 | refs/heads/master | 2023-08-28T04:13:32.013199 | 2021-04-16T14:41:21 | 2021-04-16T14:41:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 73,218 | cpp | //
// FILE NAME: CQCGenDrvS_DriverGlue.cpp
//
// AUTHOR: Dean Roddey
//
// CREATED: 04/09/2003
//
// COPYRIGHT: Charmed Quark Systems, Ltd @ 2020
//
// This software is copyrighted by 'Charmed Quark Systems, Ltd' and
// the author (Dean Roddey.) It is licensed under the MIT Open Source
// license:
//
// https://o... | [
"droddey@charmedquark.com"
] | droddey@charmedquark.com |
5b3345acaef23a6ad1d0aa275dfc423deaa16bd7 | 40f8b0926755d5c2bf2581ce688c93a9f2955ebb | /bmx/src/mxf_op1a/OP1AFile.cpp | 26e9ea5b9ff2b5419437ec99d2167971a4af0e9c | [] | no_license | hdsdi3g/bmx | 1bf911eef619cb8cf37b12f925c9648fe5f14649 | 634cedbf330d6a7dccb9519ed6917de917857aa7 | refs/heads/master | 2021-01-10T11:36:08.724992 | 2016-03-10T17:10:06 | 2016-03-10T17:10:06 | 53,602,526 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 34,482 | cpp | /*
* Copyright (C) 2011, British Broadcasting Corporation
* All Rights Reserved.
*
* Author: Philip de Nier
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain t... | [
"admin@hd3g.tv"
] | admin@hd3g.tv |
3555d428942888aead31310f0a075a549e15e594 | fab281b7526a77a609b1b8509d11e910827b0c74 | /src/common/ColorConsoleChannelCreator.cpp | e3278764dffe6ca39fd96bd4add810b31e6b3947 | [
"LicenseRef-scancode-openssl",
"LicenseRef-scancode-ssleay-windows",
"Zlib",
"OpenSSL",
"BSD-3-Clause",
"BSL-1.0",
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | commshare/easyhttpcpp | 2ec8ce2c4b8ae3df50f2e0c1b76c302fd499872f | 757ec75679c1cbc5f04c81a30133f4bcd3e780f4 | refs/heads/master | 2022-03-15T08:21:52.589570 | 2019-07-20T19:54:58 | 2019-07-20T19:54:58 | 197,877,597 | 0 | 0 | MIT | 2019-07-20T04:06:06 | 2019-07-20T04:06:05 | null | UTF-8 | C++ | false | false | 378 | cpp | /*
* Copyright 2017 Sony Corporation
*/
#include "Poco/AutoPtr.h"
#include "ColorConsoleChannelCreator.h"
#include "ColorConsoleChannelCreatorImpl.h"
namespace easyhttpcpp {
namespace common {
Poco::AutoPtr<Poco::Channel> ColorConsoleChannelCreator::create()
{
return ColorConsoleChannelCreatorImpl::create();
... | [
"Himanshu.Shekhar@jp.sony.com"
] | Himanshu.Shekhar@jp.sony.com |
bf4295adb9ce0742420218a5ec9feb275c814d4c | d4981e87fd65899c90b68a793a8bf3b8f24c2005 | /Codechef - Contests/APRIL16/CHBLLNS.cpp | fdf856c4e46d5ba4b3fd3331111f1388d8cfb095 | [
"MIT"
] | permissive | Gurupradeep/Codes | ef6f47c01393a3653155bb0dceb67c76c645f3a8 | 5595f2e0f867a2a21d050379ead18bd6ef563978 | refs/heads/master | 2021-01-17T07:09:05.418486 | 2017-05-05T11:17:00 | 2017-05-05T11:17:00 | 62,901,847 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 377 | cpp | #include<bits/stdc++.h>
using namespace std;
#define MOD 1000000007
int main()
{
int t;
cin>>t;
while(t--)
{
long long r,g,b;
cin>>r>>g>>b;
long long k;
cin>>k;
long long ans=0;
if(r>=k)
ans+=k-1;
else
ans+=r;
if(g>=k)
ans+=k-1;
else
ans+=g;
if(b>=k)
ans+=k-... | [
"noreply@github.com"
] | noreply@github.com |
0d8b60662c3b2cfea4c7c83af80803a7f530646c | d0373fca7d19cbf6dadb3ac95caaa81d68f365c6 | /include/TypeRegisterer.hpp | 5c9d97cbed1db6b82764d3e1f28ee731f06b75b1 | [] | no_license | AESRacer/Qosmetics | 3b552e359043787abf7812b92f89b7422f4ecc43 | 967f2ab00a44c14bb50b669cec842800236ef202 | refs/heads/master | 2023-08-17T02:13:10.556324 | 2021-10-06T08:34:09 | 2021-10-06T08:34:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 35 | hpp | #pragma once
void RegisterTypes(); | [
"51795403+RedBrumbler@users.noreply.github.com"
] | 51795403+RedBrumbler@users.noreply.github.com |
b5d4fc2296849d238fd282118a21d54545789996 | 41bc146f5db9ca8f9d04eb6603534fa3e11b2093 | /od.h | e9f3874a0781a702cf64fe1362a916ec76a44fab | [] | no_license | excelle1987/rate_alg | 9fc30bc47cca90a98bbaa867ea02baecd2e186cd | cebcedc90b879e3653f9ef1abb08eaf9dbf2d5e2 | refs/heads/master | 2016-08-11T06:38:09.569168 | 2016-03-08T13:14:58 | 2016-03-08T13:14:58 | 53,460,171 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 911 | h | /*==========================================
# File Name: od.h
# Description: offensive & defensive rating
# Author: Feng Gao <gaofeng@ict.ac.cn>
# Create Date: 2016-03-04
# Last Modified: 2016-03-04
==========================================*/
#ifndef OD_H
#define OD_H
#include "common.h"
#include <utility>
na... | [
"gaofeng@ict.ac.cn"
] | gaofeng@ict.ac.cn |
9f5fc7819347b7103634f42b533c56b5d9ffae7f | 8a05b316fba073010c0ab0170d723ff95666a6ad | /Include/ButtonsAndAxisStateKeeper.hpp | caddd7e388f8cf41e1505adb421b8da5ca74f11c | [] | no_license | winek353/GamepadController | 3688090dffda16fcc621d993832e3103f74a15fa | e478e389863573b0a7e512f0fbf3fcdfd9589694 | refs/heads/master | 2021-03-12T19:35:47.596703 | 2015-11-11T11:10:08 | 2015-11-11T11:10:08 | 30,724,364 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 465 | hpp | #pragma once
#include "PressedOrReleased.hpp"
class ButtonsAndAxisStateKeeper
{
public:
ButtonsAndAxisStateKeeper();
void setButtonState(int, PressedOrReleased);
PressedOrReleased getButtonState(int);
void setAxisState(int, int);
int getAxisState(int);
private:
static const int a... | [
"winek353@gmail.com"
] | winek353@gmail.com |
6c54aa55f1d2f43233eb52cacad1dcf8557dd82c | 2c2d1fa4f0f8949ff4371eb01a7628355984a369 | /D1L1/MissingParentheses.cpp | 227752a46e622ed4ee3cde0d6d319d459d6a6da8 | [] | no_license | kokizzu/topcoder | 85b439d369e8ff342fed27681e84de148a7ff09a | 9e9b85dc7ceb9872daa3571203ad3d4b1c932187 | refs/heads/master | 2020-06-12T15:35:13.440655 | 2015-05-15T09:58:59 | 2015-05-15T09:58:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 368 | cpp | #include <vector>
#include <string>
using namespace std;
int countCorrections(string const &par) {
int p = 0, q = 0;
for (int i = 0; i != par.size(); ++i) {
if (par[i] == '(') {
++p;
} else {
if (p == 0) {
++q;
} else {
--p;
... | [
"seritrinh@gmail.com"
] | seritrinh@gmail.com |
c499a4083d337d7f2b8a41d181a498f007a5a30c | 5b514adb973ef8d116e0097472ae54f4c9e2ea75 | /stdafx.h | 9357cd94e11274b5f87a3928cb001f60ce274248 | [] | no_license | 3DDaniel/RayTracing | 10f47377e699d0c5aea51aed63810202f66b738c | e82f759d91f2c8cf2a083896e23dfc940d843a61 | refs/heads/master | 2021-01-13T00:37:40.399540 | 2015-11-12T07:45:05 | 2015-11-12T07:45:05 | 46,037,356 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 496 | h | #pragma once
#include <windows.h>
#include <D3D10.h>
#include <d3dcompiler.h>
//#include <D3DX10.h>
#pragma comment(lib, "D3D10.lib")
#pragma comment(lib, "D3dcompiler.lib")
#include <string>
#include <fstream>
#include <vector>
#define SAFE_RELEASE(x) if( x ) { (x)->Release(); (x) = nullptr; }
#defi... | [
"dapg14@student.bth.se"
] | dapg14@student.bth.se |
9817d60c4e741143be0654839b645eb862244a49 | fbd53a535b960697e56da5b09d7367d0d32e653e | /Source/HotStuff/UserInterface/InGameMatchInfo.h | 4ef4fbdc4080fc95481528c6c95e83e4224c6474 | [] | no_license | GianpaoloBranca/HotStuff-Source-Code | 47439f6611ed4c09685010ccb214ae9f56626014 | 288279dc174c6d68d0d65d572cc35da93edd38e9 | refs/heads/master | 2020-04-06T11:26:25.008432 | 2018-11-13T17:48:36 | 2018-11-13T17:48:36 | 157,417,135 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 780 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "Blueprint/UserWidget.h"
#include "InGameMatchInfo.generated.h"
/**
*
*/
UCLASS()
class HOTSTUFF_API UInGameMatchInfo : public UUserWidget
{
GENERATED_BODY()
public:
UFUNCTION(Blueprin... | [
"gianpaolo.branca@protonmail.com"
] | gianpaolo.branca@protonmail.com |
9c199b4112696523095bfd68b64054960a6f3c63 | b59cceebacb423b54f38775bd88a99f5a15d013b | /atcoder/abc/abc171/e.cpp | 18aaef517cc29201a7471f9ab28af8522924ad04 | [
"MIT"
] | permissive | yu3mars/proconVSCodeGcc | 5e434133d4e9edf80d02a8ca4b95ee77833fbee7 | fcf36165bb14fb6f555664355e05dd08d12e426b | refs/heads/master | 2021-06-06T08:32:06.122671 | 2020-09-13T05:49:32 | 2020-09-13T05:49:32 | 151,394,627 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 618 | cpp | #include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ld = long double;
using pii = pair<int, int>;
using pll = pair<ll, ll>;
#define REP(i,n) for(int i=0, i##_len=(n); i<i##_len; ++i)
#define all(x) (x).begin(),(x).end()
#define m0(x) memset(x,0,sizeof(x))
int dx4[4] = {1,0,-1,0}, dy4[4] = {0,1... | [
"yu3mars@users.noreply.github.com"
] | yu3mars@users.noreply.github.com |
78539eb2f742b58a1da39953f5548e9c2dff65e3 | 3b04925b4271fe921020cff037b86e4a5a2ae649 | /windows_embedded_ce_6_r3_170331/WINCE600/PRIVATE/WINCEOS/COMM/BLUETOOTH/SDP/PARSER/attributesearch.cpp | b7957d988fc4d15d58808b2995fe040e6b157eba | [] | no_license | fanzcsoft/windows_embedded_ce_6_r3_170331 | e3a4d11bf2356630a937cbc2b7b4e25d2717000e | eccf906d61a36431d3a37fb146a5d04c5f4057a2 | refs/heads/master | 2022-12-27T17:14:39.430205 | 2020-09-28T20:09:22 | 2020-09-28T20:09:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,363 | cpp | //
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//
// Use of this source code is subject to the terms of the Microsoft shared
// source or premium shared source license agreement under which you licensed
// this source code. If you did not accept the terms of the license agreement,
// you are... | [
"benjamin.barratt@icloud.com"
] | benjamin.barratt@icloud.com |
a2ea5d922d17f9d238e24c0e3e78618ec1026b01 | 511872278bea465e58c64d96c9dbe58bc726e1a6 | /2_arrays/14_segregateEvenOdd.cpp | 85a5b3b1161d368b037fac74f8d529d5c09115df | [] | no_license | SubashChandra/placements-Mtech | d0bca826e4342635138e330f5ec23e1119cbc57e | 85c8b09b0400243d3db5af5db6578ba70fad8058 | refs/heads/master | 2021-01-20T11:23:46.143637 | 2016-11-02T17:08:56 | 2016-11-02T17:08:56 | 59,268,656 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 364 | cpp | #include <cstdio>
#include <iostream>
using namespace std;
int main()
{
int n;
cin>>n;
int arr[n],i;
for(i=0;i<n;i++)
cin>>arr[i];
int j;
i=0;
j=n-1;
while(i<j)
{
while(arr[i]%2==0 && i<j)
i++;
while(arr[j]%2!=0 && i<j)
j--;
if(i<j)
{
swap(arr[i++],arr[j--]);
}
}
for(i=0;i<n;i++)
c... | [
"subash.k3110@outlook.com"
] | subash.k3110@outlook.com |
5ec5a683d41d446603dc71ef98f67440b7220e26 | 4f5f2e6c110cbed718dd075efce8953d5a90df39 | /interface_ws/src/interface/src/interface.cpp | 9149d38a74d01531a60be48eead0414980c0a648 | [] | no_license | Janx1913/P1-Mini-project | 5b2ab858051ffb0d9861dabea68e09d2db9165b5 | b8edfba2fbc12d3391369e20832005bb93daa267 | refs/heads/master | 2021-04-29T00:14:17.582120 | 2016-12-30T22:10:44 | 2016-12-30T22:10:44 | 77,713,066 | 0 | 0 | null | 2016-12-30T22:13:35 | 2016-12-30T22:13:35 | null | UTF-8 | C++ | false | false | 1,139 | cpp | #include "ros/ros.h"
#include "std_msgs/String.h"
#include "std_msgs/Char.h"
#include <iostream>
#include <stdlib.h>
#include <sstream>
ros::Subscriber chatter_sub;
ros::Subscriber chatter2_sub;
void _listen_cb(const std_msgs::Char::ConstPtr& msg)
{
ROS_INFO("I Heard : [%c] on chatter", msg->data);
switch(msg->data... | [
"jacob280537@gmail.com"
] | jacob280537@gmail.com |
a024500bf84b01b815f7716331769cadc12dd85a | 6f1ae85b6fae315b52b9d9b7619edd687283f2ac | /test_files/test_rs485/test_RS485_receive/saving_strings_code/saving_strings_code.ino | 17a6f0c5f78c5923bf5d75f4dc82877f0aff5f24 | [] | no_license | ShahzaibGill-zz/Underwater-ROV | 87b149a82d5b5cb9326494eb08d809d3e37ec158 | 6312597d0195bc4bef372c2f51f517dc70550b6d | refs/heads/master | 2022-11-18T01:41:41.074254 | 2017-11-25T17:02:33 | 2017-11-25T17:02:33 | 109,555,459 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,523 | ino | /*
- Pin 10 -> RO
- 5V, GND -> VCC, GND
- Open Serial Monitor, type in top window.
- Other Serial Monitor will display value sent
*/
/*-----( Import needed libraries )-----*/
#include <SoftwareSerial.h>
/*-----( Declare Constants and Pin Numbers )-----*/
#define SSerialRX 10 //Serial Receive pin
#d... | [
"shahzaibgill@gmail.com"
] | shahzaibgill@gmail.com |
e1f0cac37be5de625a435395d4bb1eb7f71c4fb9 | 50a26128f39021189b7d5ffa41d68c5432a5c518 | /GGJ2020/Source/GGJ2020/GGJ2020GameInstance.h | 2a71ae1f97ae019782297726f214939eb657d1f8 | [] | no_license | s1lence/GGJ2020 | cde8776eb80b6e8c88ba1f47876d32f48394be55 | 15e13e86d33eb2fcb0f198b91dd6f7feda1a179f | refs/heads/master | 2020-12-26T20:02:07.573677 | 2020-02-01T14:53:56 | 2020-02-01T14:53:56 | 237,624,548 | 0 | 0 | null | 2020-02-01T14:13:18 | 2020-02-01T14:13:18 | null | UTF-8 | C++ | false | false | 321 | h | #pragma once
#include "CoreMinimal.h"
#include "Engine/GameInstance.h"
#include "GGJ2020GameInstance.generated.h"
UCLASS()
class GGJ2020_API UGGJ2020GameInstance : public UGameInstance
{
GENERATED_BODY()
public:
UGGJ2020GameInstance(const FObjectInitializer& ObjectInitializer);
void Shutdown() override;
};... | [
"Dmytro.Shalimov@ubisoft.com"
] | Dmytro.Shalimov@ubisoft.com |
d0e635217faf4cf74e50c111a4f5edcea7fa07da | 68036827f6dde1c14807a1855a5f589a7c54b490 | /1/Quadrado.cpp | b8422eedacdfe0302ecad85dede8dc0961928638 | [] | no_license | Zaaraki/Roteiro7 | 6bcbf587bb8fdc026005bd65daa6e1d2cfffc01b | 426cb5c8e7491e5da5f3a30bc19f1e8bf2aa4eb9 | refs/heads/master | 2021-01-19T10:31:29.251216 | 2017-04-11T11:45:26 | 2017-04-11T11:45:26 | 87,871,991 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 221 | cpp | //
// Created by amaro on 10/04/2017.
//
#include "Quadrado.h"
Quadrado::Quadrado(const string &nome, double lado) : FiguraGeometrica(nome), lado(lado) {}
double Quadrado::calcularArea() const {
return lado*lado;
} | [
"amaro.euclides@gmail.com"
] | amaro.euclides@gmail.com |
d35616f0940290f3669147ff0bab2ad7a25429d4 | dff8651f87c067914335f6fdbb63195138add8f7 | /Source/BCGJam/Game/Private/Items/DoorItemActor.cpp | 6f902bf3f39860c6d01ef7c404a57a679d083d62 | [] | no_license | markveligod/bcgjam | 71ff25aa93f9542993b9765de7076a6cdba7dab8 | 77dd8a1a06206df186ed4ee887e9bcc495c7486f | refs/heads/master | 2023-05-05T06:35:55.682489 | 2021-05-18T05:59:30 | 2021-05-18T05:59:30 | 367,552,021 | 0 | 0 | null | 2021-05-18T04:12:33 | 2021-05-15T05:57:24 | C++ | UTF-8 | C++ | false | false | 3,281 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "Game/Public/Items/DoorItemActor.h"
#include "Components/StaticMeshComponent.h"
#include "Components/BoxComponent.h"
#include "Game/Public/Character/BCGJamBaseCharacter.h"
DEFINE_LOG_CATEGORY_STATIC(LogDoorItemActor, All, All);
... | [
"markveligod@yandex.ru"
] | markveligod@yandex.ru |
3a05e997a590403394714b3352bb6cbbfcd7a734 | 1821a5f890787fb18aca78f8e65d1f4bd7f63380 | /operator overloading/eqaulto.cpp | 463dd4fa9da88b8a24f9fa6e79fb7c627d18079a | [] | no_license | bandshubham/cpp-codes | 820fb4f1612c543c28d7d53f22d33679680493ff | 9bf537fac9cb73f6fa9adc8b10f3a9a487b88fd5 | refs/heads/master | 2023-01-31T06:00:51.448689 | 2020-12-13T16:11:55 | 2020-12-13T16:11:55 | 315,737,568 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 431 | cpp | #include<iostream>
#include<conio.h>
class demo
{
int a;
int b;
int c;
public:
demo(int x,int y,int z)
{
this->a=x;
this->b=y;
this->c=z;
}
int operator==(demo &other)
{
return((this->a==other.a)&&(this->b==other.b)&&(this->c==other.c));
}
};
int main()
{
demo d1(10,20,30);
demo d2(10,20,30);... | [
"www.bandshubham015@gmail.com"
] | www.bandshubham015@gmail.com |
67b5fb1f9e344b1e471c72b4aeddd974a6aa07a3 | 189f52bf5454e724d5acc97a2fa000ea54d0e102 | /combustion/ras/moriyoshiHomogeneous/0.0037/uniform/functionObjects/functionObjectProperties | e20994421fe5232ac36efc8a3a9cce42181fabd3 | [] | no_license | pyotr777/openfoam_samples | 5399721dd2ef57545ffce68215d09c49ebfe749d | 79c70ac5795decff086dd16637d2d063fde6ed0d | refs/heads/master | 2021-01-12T16:52:18.126648 | 2016-11-05T08:30:29 | 2016-11-05T08:30:29 | 71,456,654 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 900 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1606+ |
... | [
"peterbryz@yahoo.com"
] | peterbryz@yahoo.com | |
476a88bd6ad3647270ff7547eb189908e9962578 | 2ddbde6784be495f135a07737959489ce8e2263b | /cpp/t.cpp | fb62d619249b9f27033dc0c411596c5f5293e80a | [] | no_license | duckrun/test-toys | e8f57a9a89cb948e996ab2d8787446067e06b48e | 4f011dbab24281591b71f9d99540aed175cd52e7 | refs/heads/master | 2021-01-16T19:36:05.721854 | 2014-06-10T14:54:06 | 2014-06-10T14:54:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,922 | cpp | #include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <time.h>
#include <sys/time.h>
#include <string.h>
#include <string>
#include <iostream>
#include "misc.h"
void t_time();
void t_string();
void t_enum();
int main(int argc, char**argv){
t_string();
// t_time();
return 0;
}
void t_enum() {
e... | [
"zhuhongk@gmail.com"
] | zhuhongk@gmail.com |
a6b749a9befff3082e4c3534cdf37f5d55a3728d | dee601ac01d610e68b5b1d7cdaaf9d9a6a3d304a | /topi/include/topi/transform.h | 822a8e26e5fd28fbef0bb8aa3422c8a1e9e8959e | [
"Apache-2.0"
] | permissive | ssghost/tvm | 90f77472f8381cf8bdfac88146cbbfcc842e8366 | 573c6c448d3e869a38d244f5ef8b45b76680fc2e | refs/heads/master | 2020-03-18T03:23:27.752159 | 2018-05-21T04:18:26 | 2018-05-21T04:18:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,932 | h | /*!
* Copyright (c) 2017 by Contributors
* \file topi/transform.h
* \brief Transform op constructors
*/
#ifndef TOPI_TRANSFORM_H_
#define TOPI_TRANSFORM_H_
#include <string>
#include <vector>
#include <iterator>
#include <algorithm>
#include "topi/tags.h"
#include "topi/detail/ravel_unravel.h"
#include "topi/det... | [
"tqchen@users.noreply.github.com"
] | tqchen@users.noreply.github.com |
1d4a79f6956f02766d54c27aa8a3967f3e14847b | 6d258b797d8caad615e1e0e8e848426d223f27bb | /QueryEngine/GeoOperators/NPoints.h | 8ac3e4eec4f9ab319c8fee5a9d21d93f06f4a5bb | [
"Apache-2.0",
"LicenseRef-scancode-generic-cla"
] | permissive | averbukh/omniscidb | bbcf0fd04d3d26041a788b9bb3159e5378e39216 | 1cdf9972faced1156e89c432afa5f028d6e6cdf5 | refs/heads/master | 2023-07-16T06:50:19.480524 | 2021-07-30T12:00:32 | 2021-07-30T12:00:32 | 313,903,968 | 0 | 1 | Apache-2.0 | 2020-11-18T10:47:17 | 2020-11-18T10:47:16 | null | UTF-8 | C++ | false | false | 4,361 | h | /*
* Copyright 2021 OmniSci, 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 applicable law or agreed t... | [
"dev@aas.io"
] | dev@aas.io |
42eb7d0e1c7f8743bcad22c54811783827c1130b | 52ca17dca8c628bbabb0f04504332c8fdac8e7ea | /boost/type_traits/make_unsigned.hpp | e18952c5a246eb92b38cca08795bcf40415c83df | [] | no_license | qinzuoyan/thirdparty | f610d43fe57133c832579e65ca46e71f1454f5c4 | bba9e68347ad0dbffb6fa350948672babc0fcb50 | refs/heads/master | 2021-01-16T17:47:57.121882 | 2015-04-21T06:59:19 | 2015-04-21T06:59:19 | 33,612,579 | 0 | 0 | null | 2015-04-08T14:39:51 | 2015-04-08T14:39:51 | null | UTF-8 | C++ | false | false | 71 | hpp | #include "thirdparty/boost_1_58_0/boost/type_traits/make_unsigned.hpp"
| [
"qinzuoyan@xiaomi.com"
] | qinzuoyan@xiaomi.com |
1a637b0af3573d83cfd56abd9e4154f5bcd0af85 | 2974dc3fe12fb56a07c86c84f97d523e49eadb72 | /src/icl_core/src/icl_core_thread/RWLock.h | 1e469397a858c0711aad295e62c7556fcb6e9e7e | [] | no_license | HumaRobotics/fzi_icl_core | 7e16893d7a840a5c99f340d54fe111c07544c602 | c7b7dcb057d9eb05bac7c4fcc671b9d0a829061a | refs/heads/master | 2021-01-18T11:43:08.327554 | 2016-07-05T20:27:41 | 2016-07-05T20:27:41 | 62,667,293 | 0 | 1 | null | 2016-07-05T20:25:33 | 2016-07-05T20:25:32 | null | UTF-8 | C++ | false | false | 5,660 | h | // this is for emacs file handling -*- mode: c++; indent-tabs-mode: nil -*-
// -- BEGIN LICENSE BLOCK ----------------------------------------------
// This file is part of FZIs ic_workspace.
//
// This program is free software licensed under the LGPL
// (GNU LESSER GENERAL PUBLIC LICENSE Version 3).
// You can find a... | [
"heppner@fzi.de"
] | heppner@fzi.de |
1b8db97a35a20f5b1686864a374ab0a1409c8d74 | d5f0f190cff89cb30ee0d61b05de93ca9cdecb01 | /src/PoFile.h | 629e2ed64a8fa112fe58ff4d1ecde338ed3e7119 | [] | no_license | hnrt/poutils | f1b46027e851a8a7dd82fded258ea02854f54e18 | 2d523304b8ff31677442d0d65f217abdacc91c6e | refs/heads/master | 2020-12-02T09:55:53.248671 | 2017-07-09T09:08:07 | 2017-07-09T09:08:07 | 96,662,009 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,526 | h | // Copyright (C) 2012-2017 Hideaki Narita
#ifndef HNRT_POFILE_H
#define HNRT_POFILE_H
#include <stdio.h>
#include <string.h>
#include <map>
#include <string>
#include <vector>
namespace hnrt
{
class MsgItem;
class StringComparator
{
public:
bool operator ()(const char* a, const char* b) ... | [
"hnarita@sb3.so-net.ne.jp"
] | hnarita@sb3.so-net.ne.jp |
f11c3979019b983fce214f58c60e2701b8b305e9 | 472154315d971c899a64b06fe310353af4334e9e | /src/RoccoR.cpp | 5e6e5e84c9b80685207dac23f70feaaa9d2e9fc1 | [] | no_license | brunel-physics/tZq_Dilepton_NanoAOD | 8a646ed04c80467faefa053ee9341459d6bf51de | 4d28475017e98dc4931b9afe1e728a53357dcaf1 | refs/heads/master | 2022-08-31T02:59:31.133592 | 2022-08-04T16:14:33 | 2022-08-04T16:14:33 | 252,706,676 | 0 | 0 | null | 2021-03-29T11:03:27 | 2020-04-03T10:58:25 | C++ | UTF-8 | C++ | false | false | 9,670 | cpp | #ifndef ElectroWeakAnalysis_RoccoR
#define ElectroWeakAnalysis_RoccoR
#include <fstream>
#include <sstream>
#include <stdexcept>
#include "RoccoR.hpp"
const double CrystalBall::pi = 3.14159;
const double CrystalBall::sqrtPiOver2 = sqrt(CrystalBall::pi/2.0);
const double CrystalBall::sqrt2 = sqrt(2.0);
RocRes::RocRes... | [
"alexander.david.morton@cern.ch"
] | alexander.david.morton@cern.ch |
b471ad86b4a308f89b54004d4185095f33f554bb | dcae04813f6e2dd80e2b0efcb97aa21cd88b7926 | /Templates/q1.cpp | 48648d8aee17f0e5fc6bf5c0bf233fed67236216 | [] | no_license | datmemerboi/CPP-pbl | d3edf494ce72fd4be9e5a500ff2ed55574816024 | 21949fabf8704dee9ba6f4a2e9811125eebd8ee9 | refs/heads/master | 2021-04-23T10:44:31.074979 | 2020-05-02T18:35:05 | 2020-05-02T18:35:05 | 249,920,210 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 621 | cpp | #include <bits/stdc++.h>
using namespace std;
template <typename T>
inline T const& Swap (T &a, T &b) {
T temp = a;
a = b;
b = temp;
}
int main () {
int i = 39;
int j = 20;
cout<<"Before Swap: "<<i<<" "<<j<<endl;
Swap(i, j);
cout<<"After Swap: "<<i<<" "<<j<<endl;
double f1 = 13.5; ... | [
"shravanssd@gmail.com"
] | shravanssd@gmail.com |
cc6ceb842d62fdead48005c3b211333a487cfe34 | 80eba5f5917b2292e07fbed2fd44c2e08d54e0d8 | /342assignment2/Normal.h | 024b0a2a23715ecc8d781b21bbec6babc2d71e86 | [] | no_license | Spani95/cosc342 | 52e19563572773ad0d30fa6c91598ddbdc614aa1 | 9d23d778cb52f54f80f577924545daf57c68cd70 | refs/heads/master | 2021-08-06T08:08:21.816150 | 2017-11-04T04:36:40 | 2017-11-04T04:36:40 | 109,467,120 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,966 | h | /* $Rev: 250 $ */
#pragma once
#ifndef NORMAL_H_INCLUDED
#define NORMAL_H_INCLUDED
#include "Vector.h"
/** \file
* \brief Direction class header file.
*/
/**
* \brief Class for Normal Vectors.
*
* A Normal can be seen as either a 3-Vector or a homogeneous 4-Vector.
* It can also be seen as a... | [
"nsparrow@hex.otago.ac.nz"
] | nsparrow@hex.otago.ac.nz |
6e957709346063fb6846179fd50a90ddecb923a2 | d5212ecb0d324c8a19611825c63933ceb442fb4a | /src/Main.cpp | 8791bd2901f804c632d10caa69653765554ef21f | [] | no_license | asilvestri2020/7542_1C2020 | 10117e8ead87c5358ba8c5f13b7036cd781103f7 | 31a02f6185fe33334fb573c9e89932a695a1d7f0 | refs/heads/master | 2022-12-18T15:01:05.975048 | 2020-09-18T12:32:22 | 2020-09-18T12:32:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,902 | cpp | #include <SDL2/SDL.h>
#include <string>
#include <cstring>
#include <memory>
#include "Utils/Common.h"
#include "Utils/LoggerObserver.h"
#include "Utils/UtilTimer.h"
#include "Model/Model.h"
#include "View/Window.h"
#include "Utils/SceneManager.h"
#include "Parser/Parser.h"
Common common;
//Global Window and global... | [
"noreply@github.com"
] | noreply@github.com |
fb278b0a2e8a8fa91082e51f67d945fe4b8c1022 | 1a76cdf3b8776c238f0fecaca9c9491145106ec6 | /SDK/FN_PrivacyWidget_functions.cpp | 20c687c5ebd74b15380bbdc5fc89dcdb9b553e93 | [] | no_license | JimmyJones97/aasd | 9af6e9c83eec4d1b4c76c601c2ccba814ce8a1c0 | 1961458db5ef577e6f013ca9ea744dcd48f2b4ad | refs/heads/master | 2022-02-19T11:47:42.191429 | 2017-10-27T11:59:07 | 2017-10-27T11:59:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,012 | cpp | // Fortnite SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "../SDK.hpp"
namespace SDK
{
//---------------------------------------------------------------------------
//Functions
//---------------------------------------------------------------------------
// Function PrivacyWidget.PrivacyWidget_C.SetM... | [
"joker@slaughter-gaming.de"
] | joker@slaughter-gaming.de |
1f311ff9c629e6a848a95f33aabc17b9cfef12f7 | 1779f7b92982231d17c7fe34ac7218900dec7e26 | /Library/Il2cppBuildCache/Android/armeabi-v7a/il2cppOutput/Generics3.cpp | 6bce20c0b0f6aeea6de20775698c671c5aecded5 | [] | no_license | MSCmartins/Practica_AR_move | 4a8e370a79ace9c5bb4552fd5bb18fcdd0fe97e3 | affb5bb3ea71ccce78c6d1d27168aea9daf515fa | refs/heads/master | 2023-05-04T19:42:58.798494 | 2021-05-26T06:32:57 | 2021-05-26T06:32:57 | 370,923,167 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,444,039 | cpp | #include "pch-cpp.hpp"
#ifndef _MSC_VER
# include <alloca.h>
#else
# include <malloc.h>
#endif
#include <limits>
#include <stdint.h>
template <typename R, typename T1>
struct VirtFuncInvoker1
{
typedef R (*Func)(void*, T1, const RuntimeMethod*);
static inline R Invoke (Il2CppMethodSlot slot, RuntimeObject* obj... | [
"="
] | = |
2a2268a1117e2d9efa37ff41a3fcf4bdb7572383 | 11f070b900487da1865cb0c2985b8501e17a0a3c | /libs/vm_modules/tests/unit/system.cpp | e98d9c907fe04c83c5b98295b2b1247361167303 | [
"LicenseRef-scancode-unknown-license-reference",
"Apache-2.0",
"LicenseRef-scancode-unknown"
] | permissive | baykaner/ledger | 58ff64d219d6fbfdf7c3e621ab6b4e70e346f3ac | f45fbd49297a419e3a90a46e9aed0cfa65602109 | refs/heads/master | 2020-05-29T16:59:39.002221 | 2019-09-13T11:53:32 | 2019-09-13T11:53:32 | 189,263,476 | 0 | 0 | Apache-2.0 | 2019-05-29T16:42:58 | 2019-05-29T16:42:58 | null | UTF-8 | C++ | false | false | 4,548 | cpp | //------------------------------------------------------------------------------
//
// Copyright 2018-2019 Fetch.AI 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
//
// ... | [
"noreply@github.com"
] | noreply@github.com |
895c480070a934777b1e079c1319f26e6803a323 | d508027427b9a11a6bab0722479ee8d7b7eda72b | /3rd/include/3dsmax2010sdk/helpsys.h | 9af3fa7d2327aad74c00ef387aed088175f07625 | [] | no_license | gaoyakun/atom3d | 421bc029ee005f501e0adb6daed778662eb73bac | 129adf3ceca175faa8acf715c05e3c8f099399fe | refs/heads/master | 2021-01-10T18:28:50.562540 | 2019-12-06T13:17:00 | 2019-12-06T13:17:00 | 56,327,530 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,703 | h | /**********************************************************************
*<
FILE: helpsys.h
DESCRIPTION: Help Class include file.
CREATED BY: greg finch
HISTORY: Clean-up and added code to support individual html
files (GG:09/26/00)
*>
**********************************************************************/... | [
"80844871@qq.com"
] | 80844871@qq.com |
b02198dcdf5af829f1bb0fbcffca150e7a70f528 | 614d948718a1b7a241677f269d117a64577c5007 | /examples/HowToUse/3_fonts/3_fonts.ino | 00b0d20db68e5d163ab5a34ebdb51a4e37bb5437 | [
"MIT",
"BSD-3-Clause",
"BSD-2-Clause",
"BSD-2-Clause-Views"
] | permissive | DanalEstes/LovyanGFX | 6ea01b576b84497136e3fb07392df2ccc07f771b | 5292772bb50417ee7fffe22d5ae0eec96de25e5c | refs/heads/master | 2022-07-17T09:26:02.833203 | 2020-05-21T14:07:51 | 2020-05-21T14:07:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,784 | ino | #include <LovyanGFX.hpp>
static LGFX lcd;
void drawGradation(void)
{
// 背景にグラデーションを描画する
lcd.startWrite();
for (int y = 0; y < 512; ++y) {
for (int x = 0; x < 512; ++x) {
lcd.writePixel(x, y, lcd.color888(x>>1, (x + y) >> 2, y>>1));
}
}
lcd.endWrite();
}
void setup(void)
{
lcd.init();
dra... | [
"42724151+lovyan03@users.noreply.github.com"
] | 42724151+lovyan03@users.noreply.github.com |
96425c7960a7b0ae211422ddc708d609517cbfb8 | 52d0eb9d70f2aa0f6536c4fd0e13dfb9f098185d | /function.cpp | 6f91fc1bcc09964ee25562d5fb1c96f4b1a4aaf1 | [] | no_license | LarryAwei/Stellaris | d73b66e3f16b473e4b9cd70d6f5f04eee04c0b08 | 92adbbf002fd98c2a975ae73e2cea63dc7bf9731 | refs/heads/master | 2020-09-27T05:42:52.561676 | 2019-12-07T03:07:08 | 2019-12-07T03:07:08 | 226,443,882 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 15,699 | cpp |
//
// Created by awei
//
#include "function.h"
// 5 types of species
std::string speciesName[5][2] = {{"wali", "like_combat"}, {"timi", "like_conflict"}, {"maya", "like_trade"}, {"halo", "no_trade"}, {"bla", "no_diplomacy"}};
// generate random int number
int randomInt(int a, int b){
return rand()%(b-a+1)+a;
}
/... | [
"noreply@github.com"
] | noreply@github.com |
65340c21df3bf8be517eca3e8209a5d2c3fa273d | 039a62453b4ed22750087e9d0b2400583a04f9fb | /11_features2d/main.cpp | 5b7d7c44f44b784f9d7376948f8d3055b338faed | [
"Apache-2.0"
] | permissive | captainwong/learning_opencv | c28c725f396508326981c58c36478e67b4e09101 | 6d42e47537e7245768caa0ab405bfade9eb4fa4f | refs/heads/master | 2023-02-06T10:26:34.281265 | 2023-01-22T08:38:54 | 2023-01-22T08:38:54 | 89,077,191 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 977 | cpp | #define _CRT_SECURE_NO_WARNINGS
#include <iostream>
#pragma warning(push)
#pragma warning(disable:4819)
#include <opencv2/opencv.hpp>
#include <opencv2/features2d.hpp>
#include <opencv2/xfeatures2d.hpp>
#pragma warning(pop)
#include <functional>
#include <vector>
#include <iomanip>
#include <random>
#include <sal.h>... | [
"1281261856@qq.com"
] | 1281261856@qq.com |
8be12400bd8e1f2e1bdaec176bb9b18607bf36f7 | 0c25ebbd28fb94c1331770e633b7c4dee1e75368 | /misc/ternary-search-double.cpp | f6eeea52cd446071608a841f60f85a7f2a5b588e | [
"MIT"
] | permissive | hsnavarro/icpc-notebook | 80aed9cf76bd5bfc1661adc2f01191258934ce35 | 62adf49c023e9370daf395335078ead6c86c14fd | refs/heads/main | 2023-01-12T05:16:27.966693 | 2023-01-04T15:08:38 | 2023-01-04T15:08:38 | 155,461,220 | 0 | 0 | MIT | 2019-01-07T18:20:03 | 2018-10-30T21:54:32 | C++ | UTF-8 | C++ | false | false | 565 | cpp | // Ternary Search - O(log n)
double ternary_search_min (double l, double r){
double mid1, mid2;
for(int i = 0; i < 100; i++){
mid1 = (r-l)/3 + l;
mid2 = mid1 + (r-l)/3;
if(func(mid2) < func(mid1)) l = mid1;
else r = mid2;
}
return l;
}
double ternary_search... | [
"ricksnavarro@gmail.com"
] | ricksnavarro@gmail.com |
e4e13e80e55ba158f8d8dad623730fabbe7a962f | 245add50ceb19ad4259655eca0c3fe3715cec6a2 | /code/Braille_example/Braille_example.ino | 95a4e7029bfb112eaa536512888f1c7708c5723f | [
"MIT"
] | permissive | harishnk/brailletranslator | 9cba2402fd88a6d7adcfbb0d0a6d1397b9bfa37c | ce873111822908ba182c5b9c47844941ac840dc9 | refs/heads/master | 2016-09-06T02:27:28.281022 | 2013-11-05T23:46:52 | 2013-11-05T23:46:52 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 442 | ino | #include <braille.h>
Braille braille(3,1);
void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
}
void loop() {
// put your main code here, to run repeatedly:
String stringIn = "";
char fragmentIn;
while(Serial.available()) {
fragmentIn = Serial.read();
stringIn.concat(f... | [
"harishnk@airtight.local"
] | harishnk@airtight.local |
2eeee7839d0237f9205c5636df80d7b7e21f217a | e256ec96afc88252d11e3577c5c5aa6dd816d112 | /src/pgx_ts.h | a3ad7b859737b1848f02139519e0ea1dd7f6d76a | [] | no_license | im-pingo/pingox_hls | 6227c9adc907632784f917a684226a72cc689ef9 | 3582048cdcbe70b47a65784c0465350a54769718 | refs/heads/master | 2021-06-12T05:34:43.559779 | 2017-02-13T01:40:56 | 2017-02-13T01:40:56 | 81,732,005 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,126 | h | #ifndef _TS_PACKER_H
#define _TS_PACKER_H
#include "pgx_ts_muxer.h"
#include "pgx_pmt_packet.h"
class LIB_TINY_TS_API CTSPacker
{
enum{
STREAM_ZERO_FLAG = 0x00,
STREAM_VIDEO_FLAG = 0x01,
STREAM_AUDIO_FLAG = 0x02,
TS_PARAM_PID_PMT = 0x100,
TS_PARAM_PID_VIDEO = 0x102,
TS_PARAM_PID_AUDIO ... | [
"pingox1024@gmail.com"
] | pingox1024@gmail.com |
da1a6d0841504b349f7afeb8c93e3a44f2ef4942 | 8b639de2fa59827fa616503dacee87d5032c1712 | /Dreadnought/Source/RHI/D3D12/D3D12ConstantBuffer.cpp | bc232099b318fd8e58c1adff4f9e964653c9d4ee | [] | no_license | qavenger/Dreadnought | da41a74cae28576db1c48f6057240c1f3c3eae90 | ddbb16647fdf4fe6b3dea4a26e65affb295c7617 | refs/heads/master | 2023-07-12T03:18:27.459498 | 2021-08-15T15:19:23 | 2021-08-15T15:19:23 | 358,824,623 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 402 | cpp | #include "stdafx.h"
#include "D3D12ConstantBuffer.h"
void D3D12ConstantBuffer::UpdateData(void* Data, uint32 Size, uint32 Base) const
{
BYTE* DataPtr = nullptr;
ThrowIfFailed(UploadBuffer->Map(0, nullptr, (void**)&DataPtr));
memcpy(&DataPtr[Base * ElementSize], Data, Size);
UploadBuffer->Unmap(0, nullptr);
}
Co... | [
"451107390@qq.com"
] | 451107390@qq.com |
ec9f3eb42b87b5010bbdc250ef86eb0c5354fb1a | 633a1cff10ef3b0daf8aea49501ff36d99a8eb7c | /Joc_Avioane/Avion.h | 9880cabdc3179e01ab2fc0f657670da5831c246d | [] | no_license | Roxana1399/Joc-Avioane---OOP | 9385015910d8eb52942515df7104cee7a0d5da96 | 7eeefaa0ecea9f3e90e5f91f54cb877a7a27509c | refs/heads/master | 2023-02-18T07:07:10.926318 | 2021-01-19T11:45:46 | 2021-01-19T11:45:46 | 330,961,888 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 319 | h | #ifndef AVION_H
#define AVION_H
class Piesa
{
private:
int rand;
int coloana;
public:
Piesa();
~Piesa();
};
class Avion : public Piesa
{
public:
Avion()
{
this->rand = this->coloana = 0;
}
~Avion() { }
int getColoana()
{
return this->coloana;
}
int getRand()
{
return this->rand;
}
};
#endif
| [
"72751206+Roxana1399@users.noreply.github.com"
] | 72751206+Roxana1399@users.noreply.github.com |
41dee6b8dbb83e1acd5d79d12ffb0ce8a5858e09 | 4a643f56f470d8e0681c55af7d49809dee660b0c | /MatrixMatrix/ohnebeni.cpp | a8a569c79b5bc559f965fcf0f9130da6b2d3a3c0 | [] | no_license | HPCSEprojectBT/GEMM | c56d12d2a79e9e9b300ac8cf5a2579a376b54d6c | 4db9aa04e27dfeb27edf9ad1aaa87b9517975aeb | refs/heads/master | 2021-01-10T18:50:09.325186 | 2014-07-11T16:39:19 | 2014-07-11T16:39:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,873 | cpp | #include <iostream>
#include <math.h>
#include <mpi.h>
#include <Eigen/Dense>
using namespace std;
using Eigen::MatrixXd;
using Eigen::Matrix;
#include "output.hpp"
#include "timer.h"
MPI_Datatype A_Block_Type, B_Block_Type;
int lr_tag = 7;
int bt_tag = 77;
int nsteps;
int main (int argc, char** argv)
{
//MPI I... | [
"tobias.wicky@hotmail.com"
] | tobias.wicky@hotmail.com |
ee3e9bcfd8fffc5d43deab1b9c43ee596353a777 | a5a99f646e371b45974a6fb6ccc06b0a674818f2 | /FWCore/Framework/src/SynchronousEventSetupsController.cc | 4f8aa59ae6c3a6e7f650a8c6d5fa2441e5279241 | [
"Apache-2.0"
] | permissive | cms-sw/cmssw | 4ecd2c1105d59c66d385551230542c6615b9ab58 | 19c178740257eb48367778593da55dcad08b7a4f | refs/heads/master | 2023-08-23T21:57:42.491143 | 2023-08-22T20:22:40 | 2023-08-22T20:22:40 | 10,969,551 | 1,006 | 3,696 | Apache-2.0 | 2023-09-14T19:14:28 | 2013-06-26T14:09:07 | C++ | UTF-8 | C++ | false | false | 1,452 | cc | // -*- C++ -*-
//
// Package: Framework
// Class : SynchronousEventSetupsController
//
// Implementation:
// [Notes on implementation]
//
// Original Author: Chris Jones, W. David Dagenhart
// Created: Wed Jan 12 14:30:44 CST 2011
//
#include "FWCore/Framework/src/SynchronousEventSetupsControlle... | [
"chrisdjones15@gmail.com"
] | chrisdjones15@gmail.com |
daba587856ed656c743e20a3cbcab1443725c880 | 4a644c07b2f894c363902f7b835b1dd688100ed8 | /robot_qt/src/tool/T3VideoDecoder.cpp | 7442dba21bfd6d15d362f53bb5a12b4ef6dd4ab1 | [] | no_license | wings0728/indoor_robot | 3c99a7356757404da7b91757e69b4e8c52412285 | 972cfa29742853998284fcf8e9c5b89111cce42c | refs/heads/master | 2020-03-15T10:17:21.199186 | 2018-05-04T06:09:06 | 2018-05-04T06:09:06 | 132,095,308 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 5,611 | cpp | #include "T3VideoDecoder.h"
namespace tool
{
T3VideoDecoder::T3VideoDecoder()
{
_codecId = AV_CODEC_ID_H264;
_height = kFrameHeight;
_width = kFrameWidth;
_srcPixFmt = AV_PIX_FMT_YUYV422;
_dstPixFmt = AV_PIX_FMT_RGB32;
_videoDecoderNum = 0;
_videoDecoderIsOpen = false;
}
T3VideoDecoder* ... | [
"36744020@qq.com"
] | 36744020@qq.com |
3b7a7d24899ced8c1bace565f35bbf5406533f06 | edabb9cc229aa776628724f2a68df0ecc12c36b0 | /spoj/nsteps.cpp | 107bde2cd321ca5e0817471f06a5af572d983831 | [] | no_license | shaduk/algorithms-datastructures | a90582d592ee496b7d7f59e0cf8bf9f569e77713 | eb239be6ba96087c6486fb617bb1a50a0a9886ef | refs/heads/master | 2021-01-20T16:12:10.143680 | 2017-08-10T23:09:32 | 2017-08-10T23:09:32 | 33,833,229 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 537 | cpp | #include <iostream>
#include <stack>
#include <cctype>
#include <cstring>
using namespace std;
int main()
{
int testCase;
cin>>testCase;
while(testCase--)
{
int x,y;
cin>> x >>y;
if(x%2!=0 && y%2!=0 && ((x-y)==2 || x-y==0))
{
cout << x+y-1<<"\n";
}
... | [
"shaduk@gmail.com"
] | shaduk@gmail.com |
4e3d2fa133c9f2a11b3ae1a7c5d485163406d710 | 0726ef92bca1efd39977966d076cecd2eb3f0cec | /compiler/src/llvm-3.3/tools/clang/lib/CodeGen/MicrosoftCXXABI.cpp | f5242eaaa2fb6912564772adec6f5e84d23c6aac | [
"NCSA"
] | permissive | IntelLabs/iHRC | f45cd0334726cc1a8006694375cae0edc63f5844 | 49d0215e4c6d4ca16324050bf3647639b00c5721 | refs/heads/master | 2022-12-26T21:48:44.160768 | 2022-12-16T15:41:50 | 2022-12-16T15:41:50 | 12,302,904 | 20 | 8 | null | null | null | null | UTF-8 | C++ | false | false | 35,188 | cpp | //===--- MicrosoftCXXABI.cpp - Emit LLVM Code from ASTs for a Module ------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | [
"rajkishore.barik@intel.com"
] | rajkishore.barik@intel.com |
4737296bc41f8ac352f5bd7e4ef0fea52688cdca | a7764174fb0351ea666faa9f3b5dfe304390a011 | /src/StepGeom/StepGeom_BSplineCurve.cxx | ad066e07d7a83418b8399b36d1cfc445d7394900 | [] | no_license | uel-dataexchange/Opencascade_uel | f7123943e9d8124f4fa67579e3cd3f85cfe52d91 | 06ec93d238d3e3ea2881ff44ba8c21cf870435cd | refs/heads/master | 2022-11-16T07:40:30.837854 | 2020-07-08T01:56:37 | 2020-07-08T01:56:37 | 276,290,778 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,265 | cxx | #include <StepGeom_BSplineCurve.ixx>
StepGeom_BSplineCurve::StepGeom_BSplineCurve () {}
void StepGeom_BSplineCurve::Init(
const Handle(TCollection_HAsciiString)& aName)
{
StepRepr_RepresentationItem::Init(aName);
}
void StepGeom_BSplineCurve::Init(
const Handle(TCollection_HAsciiString)& aName,
... | [
"shoka.sho2@excel.co.jp"
] | shoka.sho2@excel.co.jp |
15590f7236617275a4e6c26acedda24a82976861 | 575731c1155e321e7b22d8373ad5876b292b0b2f | /examples/native/ios/Pods/boost-for-react-native/boost/units/systems/si/capacitance.hpp | 8390e94e84c9871bc30fdc060b7d564504492750 | [
"BSL-1.0",
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | Nozbe/zacs | 802a84ffd47413a1687a573edda519156ca317c7 | c3d455426bc7dfb83e09fdf20781c2632a205c04 | refs/heads/master | 2023-06-12T20:53:31.482746 | 2023-06-07T07:06:49 | 2023-06-07T07:06:49 | 201,777,469 | 432 | 10 | MIT | 2023-01-24T13:29:34 | 2019-08-11T14:47:50 | JavaScript | UTF-8 | C++ | false | false | 916 | hpp | // Boost.Units - A C++ library for zero-overhead dimensional analysis and
// unit/quantity manipulation and conversion
//
// Copyright (C) 2003-2008 Matthias Christian Schabel
// Copyright (C) 2008 Steven Watanabe
//
// Distributed under the Boost Software License, Version 1.0. (See
// accompanying file LICENSE... | [
"radexpl@gmail.com"
] | radexpl@gmail.com |
ba22047a4c09639e91ff6bf684341fe6a4ade1d0 | 632942d3b96b5a4544dc9c4ba0c4ed9d162bfba5 | /stl/fstream | d66141cdec05ece43262b1da7f69a66997e21cb5 | [
"LLVM-exception",
"Apache-2.0"
] | permissive | zheka2304/gnustl-shared-headers | 76c88dcfb4fd50b10484f2cbb82cdb626847e342 | 25f2682137e317d3138c0f968333536bfae18bb9 | refs/heads/master | 2023-03-16T21:47:13.883247 | 2021-03-18T12:47:56 | 2021-03-18T12:47:56 | 347,904,362 | 4 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 54,032 | // -*- C++ -*-
//===------------------------- fstream ------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===------------... | [
"zheka2304@gmail.com"
] | zheka2304@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.