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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
faac1d711af6ec99e85ac906d434fb48640d317b | 0edee8fdfbc7cc3f78fc216da910503d998ccdbc | /OJ/URI/uri_1099.cpp | feae4fed1ac0cb1e0e8fa18733d7a80f0b57789c | [] | no_license | atiabjobayer/Codes | 072e91fcc3e8f71572efa8c73fbf3a36dbce6b90 | 20a5859b10cb8625b4424d59e0ce29ce85e3b048 | refs/heads/master | 2023-08-10T19:47:37.406238 | 2023-07-28T10:21:12 | 2023-07-28T10:21:12 | 69,536,630 | 0 | 0 | null | 2023-07-28T17:06:28 | 2016-09-29T06:13:28 | C++ | UTF-8 | C++ | false | false | 399 | cpp | #include <bits/stdc++.h>
using namespace std;
int main(int argc, char const *argv[]) {
int t;
cin >> t;
while(t--){
int x,y,sum = 0;
cin >> x >> y;
int a = min(x,y);
int b = max(x,y);
a++;
if(a%2==0)
a++;
for(int i=a;i<b;i+=2){
... | [
"atiab@coderzwar.com"
] | atiab@coderzwar.com |
b624955d85d431ddbc6ae16cbef46f930ec0e9fc | f82d78b8c430109ec414a160bcc574fbfd06b717 | /Software/WindowShadesV3Huzzah32/jsmnParticleR.cpp | 8100f288e27a65d49c412c07d9be3fa2b955bac9 | [] | no_license | robdobsn/WindowShadesV3 | 1ffbbbfd2491c98ab00fca8905a910a7d7b6adf0 | 14b537a33360d096fdb499a377ebdc621bf5fbb2 | refs/heads/master | 2020-12-30T13:39:47.020809 | 2018-04-22T09:35:20 | 2018-04-22T09:35:20 | 91,239,505 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 9,340 | cpp | // Adapted from jsmnSpark at https://github.com/pkourany/JSMNSpark
// Merged changes from original https://github.com/zserge/jsmn
// Rob Dobson 2017-2018
#include <ArduinoLog.h>
#include "jsmnParticleR.h"
/**
* Allocates a fresh unused token from the token pull.
*/
static jsmnrtok_t *JSMNR_alloc_token(JSMNR_parser ... | [
"robdobsn@users.noreply.github.com"
] | robdobsn@users.noreply.github.com |
8e781a69d137c1e2d7eb5c35e666ea56ff22b2c5 | 28c000caf6617ba2074e0f2a8fc936ccb8c01fb3 | /poj/3592/5599857_WA.cc | 2c9cdeecd4cba1d4aa44b004a95ddcbad04058dc | [] | no_license | ATM006/acm_problem_code | f597fa31033fd663b14d74ad94cae3f7c1629b99 | ac40d230cd450bcce60df801eb3b8ce9409dfaac | refs/heads/master | 2020-08-31T21:34:00.707529 | 2014-01-23T05:30:42 | 2014-01-23T05:30:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,614 | cc |
#include<cstdio>
#include<cstring>
#include<queue>
using namespace std;
char map[50][50];
struct edge{
int to;
edge *next;
}edg[6440],*vert[1610],r_edg[6410],*r_vert[1610];
struct node{
int x,y;
}nod[1610];
int w[1610],w2[1610],top,order[1610],id[1610];
bool visit[1610],G2[1610][1610];
void ... | [
"wangjunyong@doodlemobile.com"
] | wangjunyong@doodlemobile.com |
de0763939337b4633b300020dc9c0e18bedaaac5 | 45a481fd0d3037f0dc9ba24a8f2180d7891bcbc0 | /GeometricTools/GTEngine/Include/Mathematics/GteDistPointAlignedBox.h | 589cb5bb831e27f9e24a9b347b26342da972cc72 | [] | no_license | macga/maskito-ios | 92cca5a2ac3ab8a9120bb4ad014d2e8eda171e07 | 2cc752efd60204fd2226bbac60182bb6b4d30462 | refs/heads/master | 2021-06-08T05:43:19.064682 | 2016-12-01T03:44:56 | 2016-12-01T03:44:56 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,701 | h | // Geometric Tools LLC, Redmond WA 98052
// Copyright (c) 1998-2015
// Distributed under the Boost Software License, Version 1.0.
// http://www.boost.org/LICENSE_1_0.txt
// http://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
// File Version: 2.0.0 (2015/09/23)
#pragma once
#include <Mathematics/GteDC... | [
"gpj@foursquare.com"
] | gpj@foursquare.com |
98864b16fb7c3570a443d3b5b2266cf526d8a079 | 42c3f0d38ffab51f41b8d19dc3e5e435f2237b4f | /confonnx/test/helpers/tensorproto_util.cc | babb3b0fd1e868e01d3a115f26fc32f722f4e6bf | [
"MIT"
] | permissive | microsoft/onnx-server-openenclave | ac0ed1c4e930f0de17e5680f1e2ebefa93c0b25e | 7d829d65e03224eab6751e7c7014989766cb4aa3 | refs/heads/main | 2023-08-24T16:53:52.539695 | 2022-08-29T16:33:49 | 2022-08-29T16:33:49 | 293,550,027 | 51 | 11 | MIT | 2022-08-30T19:17:26 | 2020-09-07T14:25:34 | C | UTF-8 | C++ | false | false | 656 | cc | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#include <string>
#include "test/helpers/tensorproto_util.h"
namespace onnxruntime {
namespace server {
namespace test {
// from onnxruntime/core/framework/tensorprotoutils.cc
std::vector<int64_t> GetTensorShapeFromTensor... | [
"maik.riechert@microsoft.com"
] | maik.riechert@microsoft.com |
ca6547dee82e7633c9e380134a5294a0e7b954a2 | bb6a67b649f728df144c0c33ff8aa68e8ba82c0b | /test/XSDAnalyzer/BaseTypeAnalyzer/NumberType.cpp | 864aaf59b562e44a89ce6efdda35fb0b656376d1 | [] | no_license | fuookami/GraduationProject | d000f6beb0d6ce496eb43e1d8ca0e5d874fc4957 | 57d65e590c031ce69ae7bac5fa65e79bf8453df1 | refs/heads/master | 2021-01-25T12:53:10.278526 | 2018-06-06T20:15:50 | 2018-06-06T20:15:50 | 116,635,648 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,975 | cpp | #include "NumberType.h"
namespace XSDAnalyzer
{
namespace SimpleType
{
NumberType::NumberType(void)
: NumberType("")
{
}
NumberType::NumberType(const std::string & name, const eBaseType baseType)
: ISimpleTypeInterface(name, eSimpleType::tNumberType), m_baseType(baseType),
m_fractionDigits(NoDigit... | [
"373611500@qq.com"
] | 373611500@qq.com |
88bb71976985c81159dc8abb6bd4bc2bc613faa3 | 1a9472bc484ecc3c909aff8a50a616ed05665c29 | /src/lib/vec3.h | e6f8f9d8c6078dc71b8b554358525a8f270c1213 | [] | no_license | wenxuanou/MyScotty3D | 22da1d1381f3c3ca86a5a500d4c92234a665d08b | 9701765176b8f84e2dc28fec07a4ec7c799e0a4f | refs/heads/master | 2023-04-26T13:22:44.985171 | 2021-05-06T05:26:58 | 2021-05-06T05:26:58 | 347,525,153 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,480 | h |
#pragma once
#include <algorithm>
#include <cmath>
#include <ostream>
#include "log.h"
struct Vec3 {
Vec3() {
x = 0.0f;
y = 0.0f;
z = 0.0f;
}
explicit Vec3(float _x, float _y, float _z) {
x = _x;
y = _y;
z = _z;
}
explicit Vec... | [
"mjslater@andrew.cmu.edu"
] | mjslater@andrew.cmu.edu |
a48f7d1b168c2c2c33ba8521f7786054c3e37109 | 612325535126eaddebc230d8c27af095c8e5cc2f | /src/net/disk_cache/blockfile/addr.cc | c42c52eb4f356e1ef2f162006a161a5a4cdb3c83 | [
"BSD-3-Clause"
] | permissive | TrellixVulnTeam/proto-quic_1V94 | 1a3a03ac7a08a494b3d4e9857b24bb8f2c2cd673 | feee14d96ee95313f236e0f0e3ff7719246c84f7 | refs/heads/master | 2023-04-01T14:36:53.888576 | 2019-10-17T02:23:04 | 2019-10-17T02:23:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,387 | cc | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "net/disk_cache/blockfile/addr.h"
#include "base/logging.h"
namespace disk_cache {
int Addr::start_block() const {
DCHECK(is_... | [
"2100639007@qq.com"
] | 2100639007@qq.com |
47a55098a2d6a0fe773953aa3692b35818224141 | 74874f6252bc6c74102529b301fdb18fd2493896 | /rapyuta_ws/src/rapyuta_pose_estimator_lib/include/rapyuta_pose_estimator_lib/mapper_node.h | ca81bf5793340eed2f6f5cac749822cbdb7b9e94 | [] | no_license | YuehChuan/rapyuta | a30fb9aa4169c1fdcf1ed47d56896857c2dc1b87 | 737bea4bd3f2463aedd27def011e8f6bd5fef8f0 | refs/heads/master | 2021-12-31T14:55:30.031229 | 2018-01-03T21:35:01 | 2018-01-03T21:35:01 | 91,158,940 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,569 | h | #ifndef MAPPER_NODE_H_
#define MAPPER_NODE_H_
#include <ros/ros.h>
//#include <aprilslam/Apriltags.h>
#include <sensor_msgs/CameraInfo.h>
#include <geometry_msgs/Pose.h>
#include <geometry_msgs/Vector3.h>
#include <geometry_msgs/TransformStamped.h>
#include <image_geometry/pinhole_camera_model.h>
#include <tf2_ros/tra... | [
"schwarmcyc@hotmail.com"
] | schwarmcyc@hotmail.com |
2d98305cbb00e5abdaa224dda8912009f3c2d39f | 11eb954e634f93b77856592f6be2d9c95da385da | /source/FAST/Streamers/AffineTransformationFileStreamer.cpp | 74c6fdfe600cadb217f5711cd04f4990d782713a | [
"BSD-2-Clause"
] | permissive | Edwinzero/FAST | f2ea1b0876618a223d0475e9adf2a2286f81071e | eabfa7433396781d1a209f94b92105d86394fd72 | refs/heads/master | 2021-06-08T09:52:49.555906 | 2016-12-01T14:07:29 | 2016-12-01T14:07:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,181 | cpp | #include "FAST/DeviceManager.hpp"
#include "FAST/Exception.hpp"
#include <boost/lexical_cast.hpp>
#include <boost/algorithm/string.hpp>
#include "AffineTransformationFileStreamer.hpp"
#include "FAST/AffineTransformation.hpp"
#include <fstream>
#include <chrono>
namespace fast {
AffineTransformationFileStreamer::Affin... | [
"smistad@idi.ntnu.no"
] | smistad@idi.ntnu.no |
ae0ba137efa5852df4b1a9a104ca1235356306d2 | 23ef7a7edd20bc413c87ee94c71be5180e45e3d0 | /Castle-Thief/components/cmp_enemy_physics.h | 934433078d4b5e5fc8d3406cbfd09cfa0de4288d | [] | no_license | SamJonesUniversity/Castle-Thief | 3475494d9b9783f79b32bf6c779352e1124f21e0 | 32bcdb3fe4a6f4351c0151dd9d8f8d028627a8c2 | refs/heads/master | 2021-04-12T04:28:34.809397 | 2018-04-17T04:06:48 | 2018-04-17T04:06:48 | 125,884,239 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 324 | h | #pragma once
#include <ecm.h>
#include "cmp_physics.h"
class EnemyPhysicsComponent : public PhysicsComponent {
protected:
b2Vec2 _size;
sf::Vector2f _maxVelocity;
public:
void update(double dt) override;
explicit EnemyPhysicsComponent(Entity* p, const sf::Vector2f& size);
EnemyPhysicsComponent() = delete;... | [
"Samljones24@gmail.com"
] | Samljones24@gmail.com |
3caea25c1c02051046f8c508c1b4c9d0258afda7 | 68b3c2fde0d3aecb479137150a75c8ce078021de | /src/framework/graphic/noaarendertarget.h | 61ebf485d85bd6ffc1ee7c42ac2f011396831225 | [] | no_license | giron3s/Insomnium-Engine | 1e63bcd61710f60a6e6af8efa69e2792d37a126b | 455e8470447847e037c39e09e2f3199ced51adc8 | refs/heads/master | 2022-08-24T00:46:16.717653 | 2020-05-29T00:24:04 | 2020-05-29T00:24:04 | 267,723,611 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 887 | h | /*******************************************************************************
* Author : giron3s
* Copyright : Copyright (C) 2017 Marc Girones Dezsenyi - All Rights Reserved
* Unauthorized copying of this file, via any medium is strictly prohibited
* Proprietary and confide... | [
"giron3s@gmail.com"
] | giron3s@gmail.com |
7ea5a401254a7e1633533c1f3f8a79f3e223953c | de93a3405db2ed9cd2354abcaa4db536f4098aa2 | /src/modules/unit_field.cpp | 1d2ae60c7c98040768c7ce4d5066ba6c4fc4d090 | [] | no_license | krox/nspt | 6ef9a5c0e93fef65fce3d81a09d71b9510f84755 | b8a1f0998eb35e90b610580af8aaa5d631582737 | refs/heads/master | 2020-04-20T08:13:44.274168 | 2020-03-05T11:34:28 | 2020-03-05T12:52:04 | 168,733,546 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 696 | cpp | #include "modules/unit_field.h"
#include "nspt/pqcd.h"
#include <Grid/Grid.h>
using namespace Grid;
void MUnitField::run(Environment &env)
{
// get the grid
assert(params.grid.size() == 4);
GridCartesian *grid = env.getGrid(params.grid);
// create Gauge config and set it to unit
if (params.order == 0)
{
QCD... | [
"simon.buerger@rwth-aachen.de"
] | simon.buerger@rwth-aachen.de |
13d90d2e216f66647acb5d1f9e09cd7a41609a77 | 3a64d611b73e036ad01d0a84986a2ad56f4505d5 | /chrome/browser/password_manager/android/password_accessory_controller_impl_unittest.cc | 58ef6d79142e7787abdf99fda03bb9f4f5b384ef | [
"BSD-3-Clause"
] | permissive | ISSuh/chromium | d32d1fccc03d7a78cd2fbebbba6685a3e16274a2 | e045f43a583f484cc4a9dfcbae3a639bb531cff1 | refs/heads/master | 2023-03-17T04:03:11.111290 | 2020-09-26T11:39:44 | 2020-09-26T11:39:44 | 298,805,518 | 0 | 0 | BSD-3-Clause | 2020-09-26T12:04:46 | 2020-09-26T12:04:46 | null | UTF-8 | C++ | false | false | 36,398 | cc | // Copyright 2018 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 "chrome/browser/password_manager/android/password_accessory_controller_impl.h"
#include <algorithm>
#include <memory>
#include <string>
#include... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
a774f8a9800a486f8aa854efda9c57ee9d73bc95 | 4527b741a4aef32cd053525aa38b37cdfe0d7031 | /Vector.cpp | 2f680d9541537c8435f7355e79f81401dce9f04b | [] | no_license | Doroco/Ballistic-Missile | 425d4ae60b31724c6c2de2340122e7f80399a1bb | 9a3d1daa2f2714c8983deda5dbc37d0a29094136 | refs/heads/master | 2023-03-16T04:12:48.724179 | 2019-05-14T19:34:09 | 2019-05-14T19:34:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,939 | cpp | #include "pch.h"
#include "Vector.h"
#include <cmath>
Vector::Vector()
{
x = 0.0;
y = 0.0;
z = 0.0;
magnitude = 0.0;
phi = 0.0;
theta = 0.0;
}
Vector::Vector(long double phi_in, long double theta_in, long double magnitude_in, long double trigger)
{
phi = phi_in;
theta = theta_in;
magnitude = magnitude_in;
x... | [
"andreaslanitis1997@gmail.com"
] | andreaslanitis1997@gmail.com |
54dab7d54b9c22d16e4fa89fa74187b5fd04d65e | 8a74a679fd53fa909d4cc7221d477ce21a1c3566 | /CSES/Tree Diameter.cpp | 5043d8d33c2815a337fc574332615f45f20daf31 | [
"MIT"
] | permissive | pawarspeaks/HACKTOBERFEST2021-2 | 1082245d10d1bd76a4b9900223e701ab95b881e8 | 1b53ba18b78d489c2b13d331d70e35e8a8566e93 | refs/heads/main | 2023-09-01T11:11:05.310810 | 2021-10-30T16:20:42 | 2021-10-30T16:20:42 | 422,931,347 | 4 | 0 | MIT | 2021-10-30T16:20:06 | 2021-10-30T16:20:05 | null | UTF-8 | C++ | false | false | 3,674 | cpp | #include<bits/stdc++.h>
// #include <ext/pb_ds/assoc_container.hpp>
// #include <ext/pb_ds/tree_policy.hpp>
using namespace std;
// using namespace __gnu_pbds;
#pragma GCC target ("avx2")
#pragma GCC optimization ("O3")
#pragma GCC optimization ("unroll-loops")
#define pb push_back
#define mp(a,b) make_pair(a,b)
#de... | [
"gpatodi15@gmail.com"
] | gpatodi15@gmail.com |
c02f92fee7183245ce72bb96e38c6801be9149a2 | d2e89013fe8f3fcec8f801fc1baf97baa2a232d7 | /xt/C/ch6-6.38.cpp | e896f92fcd852ed31693c9e4482e07724e666115 | [] | no_license | iulay1007/CSXT | 85aa343fd016eb69ecbdf30226a74b31e3e6ac8d | 30851cb6028027e2adb7e5d9c88c9dd1a68b4ba3 | refs/heads/main | 2023-02-07T03:24:17.035197 | 2020-12-24T06:21:15 | 2020-12-24T06:21:15 | 306,383,367 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,800 | cpp | #include <stdio.h>
#include <malloc.h>
#define SElemType int
#define STACK_INIT_SIZE 10 /* 存储空间初始分配量 */
#define STACKINCREMENT 2 /* 存储空间分配增量 */
typedef struct SqStack
{
SElemType *base; /* 在栈构造之前和销毁之后,base的值为NULL */
SElemType *top; /* 栈顶指针 */
int stacksize; /* 当前已分配的存储空间,以元素为单位 */
}SqStack;
typedef struct B... | [
"905626971@qq.com"
] | 905626971@qq.com |
2c4bda1e3bc5a40586b87ac9a0d2504a1e04d711 | 18761b78d3b3dee8d43b978a0e0fa79102622780 | /18127259_w05/18127259_Week05_04/18127259_Ex01/cDate.cpp | c255971bb6654cf3ddd02bd6b68148a6a30e49b8 | [] | no_license | kieuconghau/oop-lab | ed2cedfb4d253b71c67682a2079d033cee7bf0f6 | b3f2dd6fbf6796878e9a1fc2c6f1442bebe0985d | refs/heads/master | 2022-01-16T18:43:40.829618 | 2019-08-01T13:04:41 | 2019-08-01T13:04:41 | 188,341,760 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,419 | cpp | #include "cDate.h"
cDate::cDate()
{
this->Day = 1;
this->Month = 1;
this->Year = cDate::MIN_YEAR;
}
cDate::cDate(const cDate& date)
{
*this = date;
}
cDate::cDate(int day, int month, int year)
{
this->Day = day;
this->Month = month;
this->Year = year;
}
cDate::cDate(int month, int year)
{
this->Day = 1;
th... | [
"kieuconghau.it@gmail.com"
] | kieuconghau.it@gmail.com |
77b263e6a775cc3d8524f8bdbee9ae4bac93d07e | ea12fed4c32e9c7992956419eb3e2bace91f063a | /zombie/code/nebula2/src/gfx2/nshaderstate.cc | e59e34ecc7de71e7416438b2ae5533603a03c499 | [] | no_license | ugozapad/TheZombieEngine | 832492930df28c28cd349673f79f3609b1fe7190 | 8e8c3e6225c2ed93e07287356def9fbdeacf3d6a | refs/heads/master | 2020-04-30T11:35:36.258363 | 2011-02-24T14:18:43 | 2011-02-24T14:18:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,257 | cc | //------------------------------------------------------------------------------
// nshaderstate.cc
// (C) 2004 RadonLabs GmbH
//------------------------------------------------------------------------------
#include "precompiled/pchnnebula.h"
#include "gfx2/nshaderstate.h"
#include <string.h>
/// the shader... | [
"magarcias@c1fa4281-9647-0410-8f2c-f027dd5e0a91"
] | magarcias@c1fa4281-9647-0410-8f2c-f027dd5e0a91 |
2d18f6432d07b005b93087ea9f4147805f1d3257 | ab35742dca7ba4ec1ba55db930e44034335f4007 | /rosconsole_bridge/src/bridge.cpp | e6e886eb604ded85434ace44c4f10ead0399ee12 | [] | no_license | mylxiaoyi/ros_qt5 | e7fddc1e062b2b7168088aff35282801aa2fabb4 | 49e4821328d0c829976ee8acdec78815ddc4346e | refs/heads/master | 2016-09-06T20:10:10.810836 | 2015-10-02T00:17:16 | 2015-10-02T00:17:16 | 29,595,268 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 5,103 | cpp | /*********************************************************************
* Software License Agreement (BSD License)
*
* Copyright (c) 2011, Willow Garage, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following condit... | [
"mylxiaoyi@gmail.com"
] | mylxiaoyi@gmail.com |
87762e0fc7bc5259cd7951aed032bec1815f94e4 | 455ecd26f1439cd4a44856c743b01d711e3805b6 | /java/include/org.apache.http.impl.entity.EntityDeserializer.hpp | 83b09e1161bd2da38f696602bcac300e62f84529 | [] | no_license | lbguilherme/duvidovc-app | 00662bf024f82a842c808673109b30fe2b70e727 | f7c86ea812d2ae8dd892918b65ea429e9906531c | refs/heads/master | 2021-03-24T09:17:17.834080 | 2015-09-08T02:32:44 | 2015-09-08T02:32:44 | 33,072,192 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,910 | hpp | #pragma once
#include "../src/java-core.hpp"
#include <jni.h>
#include <cstdint>
#include <memory>
#include <vector>
#include "java.lang.Object.hpp"
namespace org { namespace apache { namespace http { class HttpEntity; } } }
namespace org { namespace apache { namespace http { class HttpMessage; } } }
namespace org {... | [
"dev@lbguilherme.com"
] | dev@lbguilherme.com |
1233dce67ec089c6ffa6efe4653017a849dededc | 616ee048aecbe679864f2abede6104e335f23199 | /src/geoconst.hpp | 7b0c25644406444802159e0882e159623c988c10 | [
"WTFPL",
"FSFAP"
] | permissive | lazicsasalaki/ngpt | 5b3cfc575b5c36f8de4e5704130dc24e8f20d543 | fa445c5c21e657dda8c47bbbe0a6f1bf1aa45867 | refs/heads/master | 2023-03-16T16:16:19.788897 | 2016-02-07T20:02:35 | 2016-02-07T20:02:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 215 | hpp | #ifndef __GEO_CONST_HPP__
#define __GEO_CONST_HPP__
namespace ngpt {
constexpr double DPI { 3.141592653589793238462643 };
constexpr double D2PI { 6.283185307179586476925287 };
} // end namespace geodesy
#endif
| [
"xanthos@my.home"
] | xanthos@my.home |
255eddad3e3b9691d5ad6702b0db5280045a1cc1 | 21ede326b6cfcf5347ca6772d392d3acca80cfa0 | /ash/system/unified/collapse_button.cc | bad8f296a2e81a29afa800ab56af7a403cd5ba4e | [
"BSD-3-Clause"
] | permissive | csagan5/kiwi | 6eaab0ab4db60468358291956506ad6f889401f8 | eb2015c28925be91b4a3130b3c2bee2f5edc91de | refs/heads/master | 2020-04-04T17:06:54.003121 | 2018-10-24T08:20:01 | 2018-10-24T08:20:01 | 156,107,399 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,060 | cc | // Copyright 2018 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/system/unified/collapse_button.h"
#include "ash/resources/vector_icons/vector_icons.h"
#include "ash/strings/grit/ash_strings.h"
#include "... | [
"team@geometry.ee"
] | team@geometry.ee |
9022f7d84362f10400fabfdbaa781c634e4c4ae6 | 669f2e2fbc8aa26f2e42550d4b0f8e0ce9889d4c | /mypushbutton.h | 2b0214327004d85d46d5e48e1e652ea337c4c008 | [] | no_license | zhuting233/QT_CoinFlip | ee9b34de429d5f34761128247e017bf12f758f8e | 46d1989298c33b0d79f468c8db964396617ee5ae | refs/heads/master | 2020-12-28T18:09:52.133223 | 2020-02-05T11:40:47 | 2020-02-05T11:48:49 | 238,435,044 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 500 | h | #ifndef MYPUSHBUTTON_H
#define MYPUSHBUTTON_H
#include <QPushButton>
class MyPushButton : public QPushButton
{
Q_OBJECT
QString normalImgPath;
QString pressedImgPath;
public:
explicit MyPushButton(QWidget *parent = nullptr);
MyPushButton(QString normalImg,QString pressImg="");
//向下跳跃
void... | [
"2050997163@qq.com"
] | 2050997163@qq.com |
bb4027491571f095373c7c09d54f688478189472 | 408f9b85a9e6af0fff9e4e2287defa82f782d76d | /src/CNL/_impl/number_base.h | 814341d11adc2c498bfc64b93b692853e10e7204 | [] | no_license | kihot122/plusplus_graC | 9102d4ec7d9526d5cc618e34a7bc8297b2f08dc6 | e19081bf75fdeb9604861c058e6caf0fe95d7f7d | refs/heads/master | 2020-06-19T07:53:59.104219 | 2019-07-18T18:32:31 | 2019-07-18T18:32:31 | 196,627,227 | 0 | 0 | null | 2019-07-15T18:35:22 | 2019-07-12T18:29:47 | C++ | UTF-8 | C++ | false | false | 13,204 | h |
// Copyright John McFarlane 2015 - 2017.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file ../LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#if !defined(CNL_NUMBER_BASE_H)
#define CNL_NUMBER_BASE_H 1
#include "generic_operators.h"
#incl... | [
"m.kowalewski@outlook.com"
] | m.kowalewski@outlook.com |
b06589b7b796c9567efb255104a3d7e546eec6c5 | b8f67d61d62799db00542b7b3069da6fcdf10f85 | /ash/laser/laser_pointer_controller_unittest.cc | 8f9dc46e1bbafc3c79bb2f5c6b4058fb13fe4986 | [
"BSD-3-Clause"
] | permissive | fujunwei/chromium-src | 535e4cc01dc2c96aac50671222a77de50d2616dc | 57c7d5bbf24af7b342b330fb8775fc76c343ff69 | refs/heads/webml | 2022-12-30T07:55:11.938223 | 2018-08-28T07:07:52 | 2018-08-28T07:07:52 | 138,548,904 | 0 | 0 | NOASSERTION | 2019-03-22T01:51:37 | 2018-06-25T05:47:59 | null | UTF-8 | C++ | false | false | 6,135 | cc | // Copyright 2016 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/laser/laser_pointer_controller.h"
#include "ash/laser/laser_pointer_controller_test_api.h"
#include "ash/laser/laser_pointer_view.h"
#inclu... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
6445fd2985f18849e02cba4855e5fa34ae3bdb30 | a5cf8c79288f476310e468e53538a4d6ab262dbc | /pdf/led1.cpp | 7e4c8af6e9dba6302daf91be7af4683625c98644 | [] | no_license | howerj/arduino | bb04f7fc1fdcf83c7823824ab80cd0f054860c43 | 5e3ca316517f9532b04e4d267d5ea1a85854333b | refs/heads/master | 2020-03-23T03:24:59.751836 | 2018-12-22T17:36:49 | 2018-12-22T17:36:49 | 141,029,262 | 3 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,077 | cpp | // https://forum.arduino.cc/index.php?topic=72057.0
// https://www.youtube.com/watch?v=-Ul2j6ixbmE
int BITwidth = 5000; //bit width in micros (max tested 500 (not so reliable)
int analogReadTime = 100; //acquistion time of analogRead function (from arduino website, not sure)
float BITstart = 0;
float time = 0;
int BITV... | [
"howe.r.j.89@gmail.com"
] | howe.r.j.89@gmail.com |
742d8217888e2459d9cc1c6db7b1e62cfa7ea0c0 | 0760fc12b98ee8d6be30a52f910f8cddf5c5faee | /2017-11/2017-11-27 - Codeforces Archive/18B.cc | 80650f3a7420dc9f52a643759aca15d1f954165e | [] | no_license | jufusong/BoringLife | 00f911accced5207938e6fcb906e05a181321f6e | a56fc849e371e640caa2418dc0670a0c776a44b2 | refs/heads/master | 2021-01-23T06:11:05.849067 | 2017-12-22T12:25:22 | 2017-12-22T12:25:22 | 102,494,544 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 335 | cc | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int main(int argc, char *argv[]) {
int n, d, m, l;
cin >> n >> d >> m >> l;
for (ll i = 1; i <= n; ++i) {
ll k = (i - 1) * m + l;
if (i == n || (k / d + 1) * d < i * m) {
cout << (k / d + 1) * d << endl;
return 0;
}
}... | [
"palayutm@gmail.com"
] | palayutm@gmail.com |
5bdab22aa2e64603655eae4e54101d6bae44cb53 | e0a0248c8e0ccff6eb5bd9a215f799eb62d5fbb7 | /algorithmCPP/kruskal.cpp | 55205190b624faa9b5c8d9ce52e649914e22a03f | [] | no_license | YogurtJay/BasicAlgorithm | f3f3faecdedb5569cae054b0273fb15b458324eb | 9260e08b9711042e3800e6cb181c241657e5dee1 | refs/heads/master | 2020-03-26T09:08:03.202946 | 2018-08-16T12:23:39 | 2018-08-16T12:23:39 | 144,736,675 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,407 | cpp | //
// Created by ly on 2018/8/16.
//
#include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
struct Edge{
int u;
int v;
int weight;
friend bool operator<(const Edge& edge1, const Edge& edge2){
return edge1.weight < edge2.weight;
}
};
class Minim... | [
"noreply@github.com"
] | YogurtJay.noreply@github.com |
77e82884d491410626bcbb3cf829eb64577ba60e | 6261201fe251c2d6e50d087b1dc56b9edf7899ba | /mediainfo/MediaInfoLib/Source/MediaInfo/Multiple/File_Mpeg_Descriptors.h | 810eff84a1d48bc15080036c57215d6e5375cb6a | [
"BSD-2-Clause",
"LicenseRef-scancode-unknown-license-reference",
"Zlib",
"curl",
"NCSA",
"MIT"
] | permissive | pavel-pimenov/sandbox | 119fb045b4dab35b11409425bc58afd5fc2ed540 | d29b6cb42f93953d36dfc648cdd168e90c9daf83 | refs/heads/master | 2020-05-25T12:04:11.892743 | 2019-08-19T19:21:01 | 2019-08-19T19:21:01 | 13,326,340 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 34,634 | h | /* Copyright (c) MediaArea.net SARL. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license that can
* be found in the License.html file in the root of the source tree.
*/
//+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
//
// Information about MPEG file... | [
"pavel.pimenov@gmail.com"
] | pavel.pimenov@gmail.com |
8f563df4335e633499c1989cc311fb3530d09add | 1879204cf1e66fa0761d5ab5ec2c45189f8481e4 | /far/common/utility.hpp | b1ef1385494f8048b11b173d98d770cebb3c3747 | [
"BSD-3-Clause"
] | permissive | koji-takahiro/FarManager | dee49983aff3d52e80a6d407757fe8b137652a06 | 00b83f845c9448b5b84833a00dd5f8b95da1b9f4 | refs/heads/master | 2023-08-03T03:13:34.738329 | 2021-10-04T21:04:03 | 2021-10-04T21:04:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,354 | hpp | #ifndef UTILITY_HPP_D8E934C7_BF30_4CEB_B80C_6E508DF7A1BC
#define UTILITY_HPP_D8E934C7_BF30_4CEB_B80C_6E508DF7A1BC
#pragma once
/*
utility.hpp
*/
/*
Copyright © 2017 Far Group
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the followin... | [
"alabuzhev@gmail.com"
] | alabuzhev@gmail.com |
0adf964fc4cebbb454bdaf515215b6c508defb4b | 64e8ca7c32430a6219c82e019cc1df7d5b465269 | /assets/ipl/solutions/season3/practice/btree.cpp | 48e19691e13be0ea560595350a050b5781b69bab | [] | no_license | acm-uiuc/icpc-website | 3e94b8045ab64dde938b841c936c73235811471e | 01fba4957a90e905d0f52edd69cfc854aca99de6 | refs/heads/gh-pages | 2021-11-12T19:12:01.062474 | 2021-10-06T19:30:48 | 2021-10-06T19:30:48 | 20,039,607 | 2 | 7 | null | 2021-09-22T22:01:50 | 2014-05-21T22:29:16 | C++ | UTF-8 | C++ | false | false | 747 | cpp | #include <iostream>
#include <cmath>
#include <algorithm>
using namespace std;
int main() {
long long Q, u, v, n;
scanf("%lld", &Q);
while (Q--) {
scanf("%lld %lld %lld", &n, &u, &v);
if (u > v)
swap(u, v);
while (u != v) {
if (v > u) {
... | [
"root@DESKTOP-O4JT6P1.localdomain"
] | root@DESKTOP-O4JT6P1.localdomain |
18d2b786c0a92cf8366cc227f0f23fb68ccace05 | ac78b667c00db1b29bc42883674ed28ffdbd0f14 | /bai3assignment5.cpp | b489659b1e18d0221805ca50dadb07f2a7ff5c96 | [] | no_license | nhtrung1012/t2010C | 0fc9c78a437c35f5676f979165ec4bbde66c7a2b | 170ea6bca4e230e97fdb8e0fdc97deda0f7cacfc | refs/heads/master | 2023-01-04T11:55:23.187298 | 2020-10-27T12:29:15 | 2020-10-27T12:29:15 | 301,698,297 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 316 | cpp | #include <stdio.h>
int main(){
int a,b;
printf("nhap so a =");
scanf("%d",&a);
printf("nhap so b =");
scanf("%d",&b);
int ucln=1;
for(int i=1;i<=a;i++){
if(a%i==0 && b%i==0){
while(ucln>i)
i++;
ucln=i;
}
}printf("uoc chung lon nhat cua %d va %d la %d\n",a,b,ucln);
}
| [
"nhtrung1012@gmail.com"
] | nhtrung1012@gmail.com |
4aa1da4a8a7e9a04b885e9c3163c63b7f8b5673d | f6a395d91f08f098d7ed538c4952a30f587cd928 | /lab2oop/lab2oop.cpp | a2f2f9d0143d89d514d52a479f3e46b2f5e155eb | [] | no_license | joeyave/oop-project2 | 3f4c504015e97baa74aa89d5a50864de1d2d0efc | c78ed4a44f800cd3fd5a1896e4693372de57482c | refs/heads/master | 2022-12-27T13:35:36.985610 | 2019-10-11T06:27:06 | 2019-10-11T06:27:06 | 298,961,520 | 0 | 0 | null | null | null | null | WINDOWS-1252 | C++ | false | false | 2,739 | cpp | #include <iostream>
#include <stack>
#include "Stack.h"
std::string infix_to_postfix(std::string infix);
double evaluate_postfix(std::string postfix);
int main()
{
/* Stack<int> stk1;
for (int i = 0; i < 5; i++)
std::cin >> stk1;
std::cout << stk1[3];
Stack<int> stk2 = stk1;
std::cout << stk1;
std::cout << ... | [
"aveltsev@gmail.com"
] | aveltsev@gmail.com |
b91ee59dbc0977f61a24516c5724fc3674ae9553 | e384e7520f9814e3a1ce0dbd1d0af39922889aee | /C++/20191201/20191201/Test.cpp | afa9134a91b10d951fb2127aa556c19ead923c0e | [] | no_license | 017Alex/practice | fe963e8e7ba52d0e7a49a46b1a5a4fa2029e3ad5 | d4c99b12340560925c4749397c3b8233da64e6c4 | refs/heads/master | 2021-07-09T22:25:31.348644 | 2020-09-28T08:15:25 | 2020-09-28T08:15:25 | 201,595,219 | 1 | 1 | null | null | null | null | GB18030 | C++ | false | false | 7,891 | cpp | #include<iostream>
using namespace std;
class Date
{
//friend ostream& operator<<(ostream& out, const Date& t);
friend int GetMonthDay(int year, int month);
public:
Date(int year = 1900, int month = 1, int day = 1);
Date(const Date& d);
Date& operator=(const Date& d);
Date operator+(int days);
Date operator-(i... | [
"wutong_017@163.com"
] | wutong_017@163.com |
8bfa181378bb28084aa3ea2b7cdd3e8d5d46326e | 299648a8c633728662d0b7651cd98afdc28db902 | /src/thirdparty/sentry-native/external/crashpad/client/crashpad_info.h | ed7b9c143465e117de8880c514dd413078acd030 | [
"Apache-2.0",
"MIT",
"BSD-3-Clause"
] | permissive | aardvarkxr/aardvark | 2978277b34c2c3894d6aafc4c590f3bda50f4d43 | 300d0d5e9b872ed839fae932c56eff566967d24b | refs/heads/master | 2023-01-12T18:42:10.705028 | 2021-08-18T04:09:02 | 2021-08-18T04:09:02 | 182,431,653 | 183 | 25 | BSD-3-Clause | 2023-01-07T12:42:14 | 2019-04-20T16:55:30 | TypeScript | UTF-8 | C++ | false | false | 11,215 | h | // Copyright 2014 The Crashpad Authors. 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 by ... | [
"joe@valvesoftware.com"
] | joe@valvesoftware.com |
14cb621b2daed2973097abb290e4846f2ef5e77b | 5c03cdf8b46b6296c7e082ce7a2844505862155d | /Userland/DevTools/HackStudio/HackStudio.h | 68924f55237f07da572568abfcc4324c21492687 | [
"BSD-2-Clause"
] | permissive | nimelehin/serenity | 3037bd366f354bdf25d451da554a2757784bc6f6 | 157d16f0490d1e65f995d96baecbf4c827c255c1 | refs/heads/master | 2022-06-06T04:14:13.857923 | 2022-03-17T14:08:41 | 2022-03-17T15:29:51 | 242,542,296 | 0 | 0 | BSD-2-Clause | 2020-02-23T15:33:14 | 2020-02-23T15:33:13 | null | UTF-8 | C++ | false | false | 719 | h | /*
* Copyright (c) 2020, the SerenityOS developers.
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include "EditorWrapper.h"
#include "LanguageClients/ConnectionsToServer.h"
#include "Project.h"
#include <AK/String.h>
#include <LibGUI/TextEditor.h>
namespace HackStudio {
GUI::TextEditor& current_edi... | [
"kling@serenityos.org"
] | kling@serenityos.org |
bf74939489f4caae54b6d74dffba82267513b9c1 | fa889d051a1b3c4d861fb06b10aa5b2e21f97123 | /kbe/src/lib/thread/threadpool.h | ecf66591f7f1a3567c4b739c0203182eda75ad66 | [
"MIT",
"LGPL-3.0-only"
] | permissive | BuddhistDeveloper/HeroLegendServer | bcaa837e3bbd6544ce0cf8920fd54a1a324d95c8 | 8bf77679595a2c49c6f381c961e6c52d31a88245 | refs/heads/master | 2022-12-08T00:32:45.623725 | 2018-01-15T02:01:44 | 2018-01-15T02:01:44 | 117,069,431 | 1 | 1 | MIT | 2022-11-19T15:58:30 | 2018-01-11T08:05:32 | Python | GB18030 | C++ | false | false | 9,057 | h | /*
This source file is part of KBEngine
For the latest info, see http://www.kbengine.org/
Copyright (c) 2008-2017 KBEngine.
KBEngine 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 version 3 of the... | [
"liushuaigeq@163.com"
] | liushuaigeq@163.com |
262d7bcc4814c61583a2bdfa8a8186498800aa13 | 2e5583f553fc896d51502afc514a6936ea634d97 | /main_firmware.ino | 14752773444e61440e86367b70e92cecc7feeeb8 | [] | no_license | madisvorklaev/robot | 269a3975d9dfd0c20b5552b37f9d5a5d70c83a39 | e24e51625ae258ae9f62bd0da0cc12e15f4958b3 | refs/heads/master | 2021-07-15T02:58:40.373718 | 2017-10-22T20:49:58 | 2017-10-22T20:49:58 | 102,963,260 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,353 | ino | #include <Console.h> //YUN-i "Serial Monitor"
#include <NewPing.h> //Ultrasonic sensor's library
#define SONAR_NUM 4 // Number of sensors, syntax from NewPing
#define MAX_DISTANCE 200 // Maximum distance (in cm) to ping, syntax from NewPing
NewPing sonar[SONAR_NUM] = { // Sensor object array.
NewPing (8, 9, M... | [
"madisvorklaev@gmail.com"
] | madisvorklaev@gmail.com |
cda48dc6a953ab13047ddec6c7616bc81b0911b3 | 96cecd19081271f129d5e4a124fb53349e9039be | /Projects/Module1/Assign3/Plot.h | 76dbca75afb3e884a51584971b259a2544afc0e6 | [
"Apache-2.0"
] | permissive | k-kapp/ShortCppProblems | d2c3e5f7a4a68140f4be01ac69d4f870a261d5f6 | d7825b60c0d44b5c8108636bcf4765057b1a1e7d | refs/heads/master | 2021-08-16T10:47:15.046412 | 2021-01-18T06:06:23 | 2021-01-18T06:06:23 | 72,783,977 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 724 | h | #ifndef PLOT_H
#define PLOT_H
#include "gnuplot-iostream/gnuplot-iostream.h"
#include <vector>
#include <utility>
#include <iostream>
#include <string>
using namespace std;
vector<pair<vector<int>, vector<double> > > process_data(vector< vector<double> > data);
pair<vector<double>, vector<double> > process_hist_da... | [
"k_kapp@yahoo.com"
] | k_kapp@yahoo.com |
24177ba367e750e8dd90ec5f44c4c73b7d6131ac | 350bef364f4852ae428e6e7e6b0e2ed1b31e1bfd | /codes_book_onlinegameserver/05_NpcServer/ProcessPacket.cpp | fa48678079fe6802ec37a38ee7d83117fe91491f | [
"MIT"
] | permissive | true-bear/cpp_server_study_projects_Pub | 224e9b1c11dcb2345ae080835abd369d2ada564e | 070802570442e6ad91b7dc17f6d3685330de9eed | refs/heads/master | 2020-05-03T12:40:29.924827 | 2019-03-30T09:38:01 | 2019-03-30T09:38:01 | null | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 2,369 | cpp | #include "stdafx.h"
#include "ProcessPacket.h"
ProcessPacket::ProcessPacket(void)
{
}
ProcessPacket::~ProcessPacket(void)
{
}
void ProcessPacket::fnNPCLoginPlayerCn( Connection* pConnection, DWORD dwSize , char* pRecvedMsg )
{
NPCLoginPlayerCn* pLoginPlayer = (NPCLoginPlayerCn*)pRecvedMsg;
//플레이어 추... | [
"jacking75@gmail.com"
] | jacking75@gmail.com |
e6615b6e2202a4eb1e964892097af795f925fce6 | 0148d4c327e83e17c2faca500e55db38cf2dc170 | /build_support/external/pybind11-master/tests/test_eigen.cpp | 52358ab6f0f0c287d90adfe9c88ca429e0375a43 | [
"BSD-2-Clause",
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause",
"LicenseRef-scancode-generic-cla"
] | permissive | classner/forpy | 182be493136526a74c4f123b36061bb75d07609c | 87f4e8456b7028ad3f4f75675837dcdd6b6a7ec6 | refs/heads/master | 2021-01-20T16:04:20.819161 | 2018-05-12T17:59:44 | 2018-05-12T17:59:44 | 95,721,738 | 7 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 15,617 | cpp | /*
tests/eigen.cpp -- automatic conversion of Eigen types
Copyright (c) 2016 Wenzel Jakob <wenzel.jakob@epfl.ch>
All rights reserved. Use of this source code is governed by a
BSD-style license that can be found in the LICENSE file.
*/
#include "pybind11_tests.h"
#include "constructor_stats.h"
#includ... | [
"mail@christophlassner.de"
] | mail@christophlassner.de |
5f7cbe20daf023ac9e2398a7a46411520daad629 | 8b73f98c28ab46fdf7769ce4424ea6b63a3e5e8c | /Doodle Jump/GameOver.h | 3e7f5019f9a792878fa34ce6bca19eb773509380 | [] | no_license | kirillyarulin/Doodle-Jump | e9d2d478869d9f66a69dc8b80fb001b59e053a76 | 3c28e1eb68c14be080341e5ee72bf07987c61f35 | refs/heads/master | 2021-01-11T22:54:03.884466 | 2017-01-10T11:10:00 | 2017-01-10T11:10:00 | 78,520,916 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 333 | h | #pragma once
#include "Entity.h"
class GameOver : Entity {
enum Buttons { PLAY_AGAIN, MENU, NOTHING };
bool isGameOver;
Buttons button;
Font font;
Text textPlayerScore, textBestScore;
std::ifstream fin;
std::ofstream fout;
int bestScore;
public:
GameOver();
bool start(RenderWindow& window, in... | [
"lchostinc@gmail.com"
] | lchostinc@gmail.com |
27ccc357883dd61d3f47aa5c46a69df72521e0b0 | 69767c09f501fecee6ba79d3d377fac70c2931fb | /apps/traffic_app/src/main.cpp | da4b06cdbf7414ca749b5a94bf094fd67ff7a973 | [] | no_license | Crystalrem/nexus | 14fbf767f20707d7042be287cfcbe5f9e936d5b9 | 480a3750b700258f638e1ebc04242b23a729874b | refs/heads/master | 2021-08-10T19:47:02.667904 | 2018-11-20T20:42:22 | 2018-11-20T20:42:22 | 141,354,468 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,353 | cpp | #include <gflags/gflags.h>
#include "nexus/app/app_base.h"
using namespace nexus;
using namespace nexus::app;
class TrafficApp : public AppBase {
public:
TrafficApp(std::string port, std::string rpc_port, std::string sch_addr,
size_t nthreads, int latency_slo) :
AppBase(port, rpc_port, sch_addr... | [
"1031390651@qq.com"
] | 1031390651@qq.com |
ef4db05617c06737c6b0c8142cc777506cb890fb | 70ea1cb43bba66d2d20bc3def081153f6f764684 | /Practica 5/CFicha.h | 48c87848b2f53332dbc1399596719bc094635bea | [] | no_license | Albermonte/Programacion-Avanzada | 775c339b0a20152b1878ecabf8e0aaa618429966 | 289d869218a3619853d27b2270caa38b242aff62 | refs/heads/master | 2020-08-01T01:43:52.771209 | 2019-12-19T10:25:29 | 2019-12-19T10:25:29 | 210,816,615 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 822 | h | #include <string>
#include "CHora.h"
using namespace std;
class CFicha
{
private:
string m_sNombre;
int m_nEdad;
CHora m_horaNacio;
public:
CFicha(const string& sNombre = "", int nEdad = 0, int nHoras = 12, int nMinutos = 00, int nSegundos = 00, const string& sFormato = "AM")
: m_sNombre(sNombre), m_nEdad(nEda... | [
"14013679+Albermonte@users.noreply.github.com"
] | 14013679+Albermonte@users.noreply.github.com |
a8661c6884cad6c16f57547d8bf38efae5db579f | cefd6c17774b5c94240d57adccef57d9bba4a2e9 | /Data/src/Date.cpp | b371e5dfe0eaf8a8efbc1e4d799334b8e06c80ef | [
"BSL-1.0"
] | permissive | adzhou/oragle | 9c054c25b24ff0a65cb9639bafd02aac2bcdce8b | 5442d418b87d0da161429ffa5cb83777e9b38e4d | refs/heads/master | 2022-11-01T05:04:59.368831 | 2014-03-12T15:50:08 | 2014-03-12T15:50:08 | 17,238,063 | 0 | 1 | BSL-1.0 | 2022-10-18T04:23:53 | 2014-02-27T05:39:44 | C++ | UTF-8 | C++ | false | false | 3,767 | cpp | //
// Date.cpp
//
// $Id: //poco/Main/Data/src/Date.cpp#5 $
//
// Library: Data
// Package: DataCore
// Module: Date
//
// Copyright (c) 2006, Applied Informatics Software Engineering GmbH.
// and Contributors.
//
// Permission is hereby granted, free of charge, to any person or organization
// obtaining a copy of the... | [
"adzhou@hp.com"
] | adzhou@hp.com |
ba68149f18ecf699bda049506fdafbc4ed0a9611 | 95b1b14b71a437766c3602df3bd7a0a7e72d9889 | /logic/Selectable.cpp | 61c777a7d0991a00272f4442c616660aa18f89f0 | [] | no_license | antonkanin/colony | 935fb3da17ef2720399538af63598a4057fd5eb2 | b5d7fd329d4446f9346fcebfa969b375d54986a9 | refs/heads/master | 2020-12-20T16:37:07.948892 | 2020-01-25T08:11:07 | 2020-01-25T08:11:07 | 236,138,799 | 0 | 0 | null | 2020-01-25T07:20:44 | 2020-01-25T07:20:44 | null | UTF-8 | C++ | false | false | 1,356 | cpp | #include "Selectable.h"
#include "AttackUnit.h"
#include "GroundStructure.h"
template<typename T>
Selectable<T>::Selectable(SelectableView* view) : _view(view)
{
}
template<typename T>
void Selectable<T>::select()
{
T* derived = static_cast<T*>(this);
derived->_status = Status::Selected;
_view->setTexture(Statu... | [
"ardazishvili.roman@yandex.ru"
] | ardazishvili.roman@yandex.ru |
a4734755ce3ce8b38b6a2db71a3c9b68371f7eb6 | ae6752f5d54cbbe3c4554723fe05a5569a7f2f6d | /Project_9_Mengukur_jarak_Via_aplikasi_Blynk.ino | ef82504e1cf4bf58e6c98a46ff2b28f07cab98fb | [] | no_license | bmzstore/File-Trainer-iOT | 52513424b93cf7ed0fe05348ec227656ab86c625 | 637fc58911149f37ae944efbe678f939ab47c0a3 | refs/heads/master | 2020-07-07T23:11:27.753736 | 2019-10-12T00:26:55 | 2019-10-12T00:26:55 | 203,501,520 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 880 | ino | #define BLYNK_PRINT Serial
#include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266.h>
#define TRIGGERPIN 14 //D5
#define ECHOPIN 12 //D6
char auth[] = "YdINrhT2bPV3-VInmTYIJOVYBIrgidXR";
char ssid[] = "xxxxxxxx";
char pass[] = "xxxxxxxx";
WidgetLCD lcd(V1);
void setup()
{
Serial.begin(9600);
pinMode(TRIGGE... | [
"noreply@github.com"
] | bmzstore.noreply@github.com |
ef162caafc94933a42fe933f82ffad0e643dcf2d | e30d00e2bd3de0cf6387a63d77a9aaac62c201c6 | /Exercícios/Lista 1 Grau A/LE01_Ex3/LE01_Ex3/Origem.cpp | d893e2186c4d4b1372393ea3317081638933dbac | [
"MIT"
] | permissive | b-r-a-s-i-l/estrutura_de_dados | ff71cb1f93ae877c21be4f3647287bcef74d5cef | 61553e7730e38358f2dbceba4249bd1acdd961ab | refs/heads/main | 2023-03-20T15:10:02.879571 | 2021-03-10T05:09:41 | 2021-03-10T05:09:41 | null | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 1,167 | cpp | #include <iostream>
int main(int argc, char *argv[]) {
setlocale(LC_ALL, "ptb");
int *pVetor, valor = 0, contador = 1, auxContador = 0;
pVetor = (int*)malloc(5 * sizeof(int));
printf("Escreva 5 números inteiros e positivos. \n");
do
{
printf("%d", contador);
printf("º VALOR: ");
scanf_s("%d", &valor);
... | [
"b-r-a-s-i-l@users.noreply.github.com"
] | b-r-a-s-i-l@users.noreply.github.com |
a6cc7d68cad6e0aa1c75785abe3e3b806a12ffb3 | e8da50740d40a2f9c23a61177dce060099e68ddc | /IDD-Fa18-Lab7/node_modules/opencv4nodejs/cc/modules/face/Facemark.cc | 9169ee5287d4e25f37eb7448037136cb5a3e123c | [
"MIT"
] | permissive | jamiekimyu/interactive_faces | 3a3e03d348c0f98803af551797907f3cae6870d9 | 12779e52af3a2ef381a67cd7a1cbbba10e89848e | refs/heads/master | 2020-04-03T22:56:39.561815 | 2018-12-10T22:48:06 | 2018-12-10T22:48:06 | 155,614,193 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 5,374 | cc | #ifdef HAVE_FACE
#include "Facemark.h"
#include "FacemarkBindings.h"
#if CV_VERSION_MINOR >= 4
NAN_METHOD(Facemark::Save) {
FF_METHOD_CONTEXT("Facemark::Save");
FF_ARG_STRING(0, std::string path);
FF_UNWRAP(info.This(), Facemark)->save(path);
}
NAN_METHOD(Facemark::Load) {
FF_METHOD_CONTEXT("F... | [
"gw3218@126.com"
] | gw3218@126.com |
7ea656e865718e6f651e7553722991f66218e2c4 | bf7cf4c0f777dc3648be7831bb4f05793cd2cf8d | /OOP_Week12_Assignment/MonsterWorld/GamePlay.cpp | ad311c3e7305d15b97a7b759318977e72638461e | [] | no_license | aCordion/CK_2018-01-02 | c846ca48ea2599f343046cedb454f60709d02b9d | 7bb2c8448b10e1fccd4a06ae4489f523b0b25821 | refs/heads/master | 2021-08-22T15:31:39.403543 | 2018-12-19T11:12:32 | 2018-12-19T11:12:32 | 148,662,280 | 1 | 0 | null | null | null | null | UHC | C++ | false | false | 1,830 | cpp | #include "MonsterWorld.h"
#include "VariousMonster.h"
#include "Human.h"
#include <time.h>
#include "ObjTest.h"
void main()
{
srand((unsigned int)time(NULL));
int w = 16, h = 8, n;
cout << "맵 크기를 입력하시오(width, height) = ";
cin >> w >> h;
getchar();
n = (w*h) / 2;
// cout << "MAIN STARTING........\n";
MonsterWor... | [
"39215817+aCordion@users.noreply.github.com"
] | 39215817+aCordion@users.noreply.github.com |
42b570516938afce3f3146d55f52bf0cc33decaf | 3b9b4049a8e7d38b49e07bb752780b2f1d792851 | /src/third_party/pdfium/xfa/fxfa/app/xfa_ffpath.cpp | 60cfa383976214fc4dc8b2eb497f52e45e6d7c84 | [
"LGPL-2.0-or-later",
"GPL-1.0-or-later",
"MIT",
"Apache-2.0",
"BSD-3-Clause"
] | permissive | webosce/chromium53 | f8e745e91363586aee9620c609aacf15b3261540 | 9171447efcf0bb393d41d1dc877c7c13c46d8e38 | refs/heads/webosce | 2020-03-26T23:08:14.416858 | 2018-08-23T08:35:17 | 2018-09-20T14:25:18 | 145,513,343 | 0 | 2 | Apache-2.0 | 2019-08-21T22:44:55 | 2018-08-21T05:52:31 | null | UTF-8 | C++ | false | false | 4,877 | cpp | // Copyright 2014 PDFium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
#include "xfa/fxfa/app/xfa_ffpath.h"
#include "xfa/fxfa/app/xfa_ffdraw.h"
#in... | [
"changhyeok.bae@lge.com"
] | changhyeok.bae@lge.com |
943e84b82f8ee930bb87840fa2a6476ac749e451 | 8acbdc5418b03704cd4c8c78096ff55ec4bd0afd | /impeller/renderer/backend/vulkan/context_vk.h | ef8a5661564eeba814cb65aee933f10932bd9c11 | [
"BSD-3-Clause"
] | permissive | zengsq/engine | 4337cfccde9af7ba712125bb621d189679e02047 | 8bc415423c9fa7087ca00ad0b294bbb7114546c1 | refs/heads/main | 2023-03-16T11:37:39.507023 | 2022-11-22T06:02:32 | 2022-11-22T06:02:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,919 | h | // Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#pragma once
#include <memory>
#include "flutter/fml/concurrent_message_loop.h"
#include "flutter/fml/macros.h"
#include "flutter/fml/mapping.h"
#include... | [
"noreply@github.com"
] | zengsq.noreply@github.com |
c61129c528106dde71178cd4829af30343bb82b7 | 447fef07aa3bee59020de02e4ec540b7c0dd3049 | /Classes/comm/SoundManager.cpp | afe5668159b4d74067d3160f6a9229c78a5b151e | [] | no_license | beeper2g/NutsTom | 7a1002891349cdd5a288485142cf16995d487795 | c537c0c908c983bf6b9701641ec99c103a617211 | refs/heads/master | 2021-01-17T16:40:21.341231 | 2016-07-07T12:24:13 | 2016-07-07T12:24:13 | 62,804,759 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,101 | cpp | #include "SoundManager.h"
#include "../comm/Cocos2dxPlatform.h"
#include "../data/GlobalData.h"
SoundManager* SoundManager::getInstance()
{
static SoundManager mgrSound;
return &mgrSound;
}
void SoundManager::onButtonClicked()
{
if (!GLOBALDATA()->getEnableMute())
{
return;
}
SimpleAud... | [
"houguisang@vip.qq.com"
] | houguisang@vip.qq.com |
1ea244a4f6f2bde4c4c09d124c3966bf2045f0ab | 39d4cec575eef9bef96bc910b450f6c7a7655b54 | /C++/nReines/Ligne.cpp | 3bedb609348148eaa2ce8a02c22bbbec800e60e5 | [] | no_license | yanndanielou/yanndanielou-programmation | a3cc1f27fc1db55f6223c9f6eedff43a91bfebd0 | f7655f631605d2b9da6cd4fa8aadcf3c9a3518b4 | refs/heads/master | 2023-09-04T10:44:33.405902 | 2023-08-31T12:51:05 | 2023-08-31T12:51:05 | 38,930,671 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 198 | cpp | #include "Ligne.h"
#include "Case.h"
Ligne::Ligne(void)
{
}
Ligne::~Ligne(void)
{
}
void Ligne::ajouterCase(Case* toAdd)
{
toAdd->setLigne(this);
Container::ajouterCase(toAdd);
} | [
"yann.danielou@gmail.com"
] | yann.danielou@gmail.com |
11c9f500b0af0c5191fdce1499cbad6f56447d3a | a733ef5dca9c3fdb4b0f17a6ece84c4cf59f14dc | /RoveBoard/tm4c1294ncpdt_API/RoveADC/RoveADC_TivaTM4C1294NCPDT.cpp | 2ca9fb2b5b85db49182e66c533a845c1515590f6 | [
"Apache-2.0"
] | permissive | MissouriMRDT/RoveBoard | 6885f7e6fe3078f32e86eac8b22ad5fdfda88980 | a7f5123607e5b917eab06eb18384560e47f87ca8 | refs/heads/master | 2021-09-18T11:52:25.116774 | 2018-07-13T19:16:38 | 2018-07-13T19:16:38 | 105,210,426 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 28,886 | cpp | /*
* RoveADC_TivaTM4C1294NCPDT.cpp
*
* Created on: Oct 27, 2017
* Author: drue
*/
#include "../Clocking/Clocking_TivaTM4C1294NCPDT.h"
#include "../RovePinMap_TivaTM4C1294NCPDT.h"
#include "supportingUtilities/Debug.h"
#include "supportingUtilities/RoveUtilities.h"
#include "../tivaware/inc/hw_memmap.h"
#inc... | [
"31864022+andrewvh4@users.noreply.github.com"
] | 31864022+andrewvh4@users.noreply.github.com |
53bdd41ec654d0180316b67623d3ec53dd6d062e | ca0f494b45522eab05d0342f25b1f0907ce1d720 | /sources/services/xmproxy/clt/src/XmproxyCltCmdline.h | 18f1eb5e5465fc4dd4c1f2ab0f44c99fedfd1b86 | [] | no_license | hackboxguy/brbox | 9f79f21097685464c9c9a429603e586e034f8cae | ba3850807067b7f623ead5f65dad9c0bf0b3ec2d | refs/heads/master | 2023-07-21T15:38:07.666015 | 2023-07-10T11:51:00 | 2023-07-10T11:51:00 | 32,072,062 | 26 | 9 | null | null | null | null | UTF-8 | C++ | false | false | 1,336 | h | #ifndef __XMPROXY_CMDLINE_H_
#define __XMPROXY_CMDLINE_H_
#include "ADCmdlineHelper.hpp"
#include "XmproxyJsonDef.h"
#include "ADCmnStringProcessor.hpp"
class XmproxyCltCmdline:public ADCmdlineHelperConsumer ,public ADCmnStringProcessor
{
ADCmdlineHelper CmdlineHelper;
//Chain-callback functions
virtual int parse_m... | [
"albert.david@gmail.com"
] | albert.david@gmail.com |
443753b8ab7e59f6c93e4f84ab032ab076f4a9e8 | 5e434fabd34f76ad8632ad705c3bb8df0dd738ba | /CODES/C/siftSvm/siftSvm/confusionMatrix.cpp | 1c410768ae4569a46807c37659baa052743aeded | [] | no_license | zhenglab/Zooplankton_Identification | 2e5fa3ac6f0b2f85c01295f3e9cd60979eb41ae2 | d8730f3a6f491be73826bae0b424c9dd3660e250 | refs/heads/master | 2021-01-14T10:37:17.815993 | 2015-12-10T06:39:32 | 2015-12-10T06:39:32 | 48,416,854 | 1 | 0 | null | 2015-12-22T07:20:09 | 2015-12-22T07:20:09 | null | UTF-8 | C++ | false | false | 713 | cpp | //
// confusionMatrix.cpp
// hogSvm
//
// Created by wangruchen on 15/7/12.
// Copyright (c) 2015年 wangruchen. All rights reserved.
//
#include "confusionMatrix.h"
Mat confusionMatrix(Mat labels, Mat result, int classifyNum, string confusionMatrixTrainName)
{
labels.convertTo(labels, CV_32S);
result.conve... | [
"lanyingfenfei@126.com"
] | lanyingfenfei@126.com |
a5047c71d33a64834d050137f307a5a1dd55585a | 769b8c6f38ec5f1ca7177bbd6f994be38f92a6a0 | /onnxruntime/core/providers/cpu/tensor/gather.h | e6df9dd68ffef6e4dde0316e2bbd359a0c7b9c03 | [
"MIT"
] | permissive | linyixian/onnxruntime | 71cee64af325c472a0da477ee03c255d7f9dd6d8 | 358be0653c8bc25e2531152f3186b0035b427c27 | refs/heads/master | 2020-04-09T16:52:29.571174 | 2018-12-05T02:04:59 | 2018-12-05T02:04:59 | 160,464,744 | 0 | 0 | MIT | 2018-12-05T05:17:11 | 2018-12-05T05:17:11 | null | UTF-8 | C++ | false | false | 903 | h | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
#pragma once
#include "core/common/common.h"
#include "core/framework/op_kernel.h"
#include "core/providers/common.h"
namespace onnxruntime {
class GatherBase {
protected:
GatherBase(const OpKernelInfo& info) {
ON... | [
"prs@microsoft.com"
] | prs@microsoft.com |
4bad797d90a3ee11ba985a0b9612c713aaeaa0ce | 771a5f9d99fdd2431b8883cee39cf82d5e2c9b59 | /SDK/wsp_sea_rock_cluster_c_functions.cpp | 93f75c5904c7345a3b58f2898e30a3919f011ffc | [
"MIT"
] | permissive | zanzo420/Sea-Of-Thieves-SDK | 6305accd032cc95478ede67d28981e041c154dce | f56a0340eb33726c98fc53eb0678fa2d59aa8294 | refs/heads/master | 2023-03-25T22:25:21.800004 | 2021-03-20T00:51:04 | 2021-03-20T00:51:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,475 | cpp | // Name: SeaOfThieves, Version: 2.0.23
#include "../pch.h"
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Functions
//--------------------------------------------... | [
"40242723+alxalx14@users.noreply.github.com"
] | 40242723+alxalx14@users.noreply.github.com |
7c92dd01e6e7087b26a4fe2d8759a1f34f88cd5b | dd80a584130ef1a0333429ba76c1cee0eb40df73 | /external/skia/src/gpu/gl/debug/GrDebugGL.cpp | 03ff36daf2789c8aafcefbcbe7c5d7c6d7a4849e | [
"BSD-3-Clause",
"SGI-B-2.0",
"MIT"
] | permissive | karunmatharu/Android-4.4-Pay-by-Data | 466f4e169ede13c5835424c78e8c30ce58f885c1 | fcb778e92d4aad525ef7a995660580f948d40bc9 | refs/heads/master | 2021-03-24T13:33:01.721868 | 2017-02-18T17:48:49 | 2017-02-18T17:48:49 | 81,847,777 | 0 | 2 | MIT | 2020-03-09T00:02:12 | 2017-02-13T16:47:00 | null | UTF-8 | C++ | false | false | 5,736 | cpp |
/*
* Copyright 2012 Google Inc.
*
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#include "GrDebugGL.h"
#include "GrTextureObj.h"
#include "GrBufferObj.h"
#include "GrRenderBufferObj.h"
#include "GrFrameBufferObj.h"
#include "GrShaderObj.h"
#include "GrPr... | [
"karun.matharu@gmail.com"
] | karun.matharu@gmail.com |
dcd7b958375a7386ae828e2e14636679d79e9a64 | 8ddd2ca4b49c138980fc4220e0ca907bda5952ee | /library/tree/treeDfsTourPathSum.cpp | 5f1828d0598fa6d8914dc54375bcdcbb490845c6 | [
"Unlicense"
] | permissive | bluedawnstar/algorithm_study | b7b08e2fca31ecfc87bafa3a9734627245f16ad5 | d5aec7035e65d8f5386a0791c26d59340fd09ef5 | refs/heads/master | 2023-06-24T19:47:57.640559 | 2023-06-14T14:43:01 | 2023-06-14T14:43:01 | 76,085,991 | 45 | 8 | Unlicense | 2023-06-14T14:43:03 | 2016-12-10T02:41:35 | C++ | UTF-8 | C++ | false | false | 4,308 | cpp | #include <memory.h>
#include <vector>
#include <queue>
#include <stack>
#include <algorithm>
using namespace std;
#include "treeDfsTourPathSum.h"
// for practice
// https://www.hackerrank.com/contests/world-codesprint-13/challenges/landslide
/////////// For Testing //////////////////////////////////////////////////... | [
"youngman.ro@gmail.com"
] | youngman.ro@gmail.com |
2477a1f369ef4ddfbe68827e52963cd1abc42f32 | 9ddc356de4c0c7b2ad3fe3b89c8592a4a1c9f019 | /GameDriver.cpp | 49fb4f7df2b336a575b904dbb7e4c2d80727ba6b | [] | no_license | jadyngonzalez/Assignment2 | a189058d2917072390b39037850b5de9162c937a | 34d7776440f36d863ad7712f4103b74d553a4998 | refs/heads/master | 2020-03-29T15:00:14.991396 | 2018-09-29T02:59:43 | 2018-09-29T02:59:43 | 150,040,573 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,683 | cpp | //this class will be running the simulation for the game and all its modes
#include <iostream>
#include <fstream>
#include <cstdlib>
#include <unistd.h>
#include "GameDriver.h"
#include "GameModes.h"
using namespace std;
GameDriver::GameDriver()
{
}
GameDriver::~GameDriver()
{
}
void GameDrive... | [
"noreply@github.com"
] | jadyngonzalez.noreply@github.com |
4c7b96efb19c329be68e080d19fa30d9487746b8 | 4fc4700061284933f67e8c5a710437342c53db9a | /queue/queue.hpp | 0d627df63f5324e805783b762911c15d46ecf5eb | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | gefjon/data_structures | 99f0bbe1beb69f5aa8c93e953e554dfa72e0c767 | 9bf9f35272e168ffc7ffb30fa44e87761773b845 | refs/heads/master | 2020-03-20T21:37:21.041816 | 2018-06-24T16:19:37 | 2018-06-24T16:19:37 | 137,750,815 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 772 | hpp | #pragma once
#include "../linked_list/linked_list.hpp"
#include <memory>
#include <utility>
#include <exception>
namespace Queue {
struct UnderflowException : public std::exception {
UnderflowException() {};
char const* what() const throw() {
return "Attempt to Dequeue or Peek from an empty Queue";
... | [
"arthur@goldman-tribe.org"
] | arthur@goldman-tribe.org |
73b4b08e7a6e8cbad2fee37575af48fb7323e4a0 | 2c3ba7dfcabb54dc0a604f24961dfeaef1c056cf | /1011.cpp | 1a0093e87ca7fe551e384fa4482f5325259d03ba | [] | no_license | AbdullahJabir/uri_problem_solution | 54323d7e7ca24e3189b70daaf5bf5aeb564ca1f9 | 6539cdacb95c5e2bfc63b6cf1473287b1df0cfab | refs/heads/master | 2020-09-26T03:48:47.057328 | 2019-12-05T17:42:31 | 2019-12-05T17:42:31 | 226,157,588 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 208 | cpp | #include<bits/stdc++.h>
using namespace std;
int main(){
int R;
double res;
cin>>R;
res=(4.0/3*3.14159*R*R*R);
cout<<fixed;
cout<<setprecision(3)<<"VOLUME = "<<res<<endl;
return 0;}
| [
"jabiralgazi94@gmail.com"
] | jabiralgazi94@gmail.com |
236452016d2825ae5125a802ec483a648c2beff7 | 6f2b6e9d77fc4dd5e1dae8ba6e5a66eb7c7ae849 | /sstd_boost/sstd/boost/range/algorithm/nth_element.hpp | 9a74b7d21697d01387cd9e204bce90a641666ffe | [
"BSL-1.0"
] | permissive | KqSMea8/sstd_library | 9e4e622e1b01bed5de7322c2682539400d13dd58 | 0fcb815f50d538517e70a788914da7fbbe786ce1 | refs/heads/master | 2020-05-03T21:07:01.650034 | 2019-04-01T00:10:47 | 2019-04-01T00:10:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,525 | hpp | // Copyright Neil Groves 2009. Use, modification and
// distribution is subject to the Boost Software License, Version
// 1.0. (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
//
// For more information, see http://www.boost.org/libs/range/
//
#ifndef BOOST_RANGE_ALGORI... | [
"zhaixueqiang@hotmail.com"
] | zhaixueqiang@hotmail.com |
062b847ada3af4265a960b309435c373bac01b6d | e83aba8ee9a61085869fea551d7a279eb54a8021 | /booth/chandlier/chandlier.ino | 1523fa3c5a61eb9f942ce7efa7ab22194409b656 | [] | no_license | grypoB/SimonSays | 3e47072a017ccb1052817a04f1e6064bcaad4738 | 8ece80b007f7393ab6092ba46238a5feb40e2bcd | refs/heads/master | 2021-01-19T09:05:57.359980 | 2017-08-15T22:06:16 | 2017-08-15T22:06:16 | 87,725,553 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,306 | ino | #include "control.h"
#include "RGBConverter.h"
#include <Adafruit_NeoPixel.h>
#define TOTAL_LENGTH 60
#define PIN1 6
#define PIN2 7
#define PIN3 8
#define MAX 15
#define TRANSITION 3000
#define STABLE 500
#define MIN_H 160
#define MAX_H 280
#define MIN_S 70
#define MAX_S ... | [
"alexandre@TMA-1.local"
] | alexandre@TMA-1.local |
d9d42d4bb167a8a27ea51fa34ccbdbab35e5efe1 | d307c01cc4f9bb564be08dd3203516f45f62fff0 | /ffead-server-unix/web/default/src/Test.h | e65f9bf79d0dadab7a5b5e7f252a974dcce3c01e | [] | no_license | souravzzz/ffead-cpp | ef1b3defa47058a777592946229930431a9e28ff | fea0ada2abaa33aa7204cd129c9aa134ff1a1abb | refs/heads/master | 2021-01-18T06:26:08.389567 | 2012-09-06T03:50:50 | 2012-09-06T03:50:50 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 373 | h | /*
* Test.h
*
* Created on: Sep 13, 2009
* Author: sumeet
*/
#ifndef TEST_H_
#define TEST_H_
#include "string"
using namespace std;
class Test {
int id;
string name;
public:
Test();
virtual ~Test();
int getId() const;
void setId(int);
string getName() const;
void setName(string);
bo... | [
"sumeet.chhetri@gmail.com"
] | sumeet.chhetri@gmail.com |
102e6ebd04a4d6b2039da5720067d908138e478c | dda21f4378e37cf448d17b720da4a1c9eb2b24d7 | /SDK/SB_BTT_SetSignal_structs.hpp | a6d15835335873b9af186dd97eeb9a0524abc299 | [] | no_license | zH4x/SpellBreak-FULL-SDK | ef45d77b63494c8771554a5d0e017cc297d8dbca | cca46d4a13f0e8a56ab8ae0fae778dd389d3b404 | refs/heads/master | 2020-09-12T17:25:58.697408 | 2018-12-09T22:49:03 | 2018-12-09T22:49:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 304 | hpp | #pragma once
// SpellBreak By Respecter (0.15.340) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "SB_Basic.hpp"
#include "SB_AIModule_classes.hpp"
#include "SB_Engine_classes.hpp"
#include "SB_GameplayTags_classes.hpp"
namespace SpellSDK
{
}
#ifdef _MSC_VER
#pragma pack(pop)
#endif
| [
"45327951+realrespecter@users.noreply.github.com"
] | 45327951+realrespecter@users.noreply.github.com |
9c8a04dd5f1f9c2914acdff314a01e6f73901dd1 | fe85695ada4e3ed18dd75041198bbfec04739c2e | /src/D3D12RaytracingProceduralGeometry/stdafx.h | 8d306ae6331bae4bee671c7da666b8ebf95d7e4c | [
"MIT"
] | permissive | chhavisharma/Project5-DirectX-Procedural-Raytracing | bd2175d128ad5a6e15caac909ed31b719e3229e6 | 59be8714f6d8e0b98a0f01d5abdae0ec679b8cbb | refs/heads/master | 2020-08-22T01:42:53.825349 | 2019-10-27T22:16:13 | 2019-10-27T22:16:13 | 216,292,124 | 0 | 0 | null | 2019-10-20T01:32:03 | 2019-10-20T01:32:03 | null | UTF-8 | C++ | false | false | 824 | h | #pragma once
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers.
#endif
#include <windows.h>
// C RunTime Header Files
#include <stdlib.h>
#include <sstream>
#include <iomanip>
#include <list>
#include <string>
#include <wrl.h>
#incl... | [
"csharma@huntsman-ve703-01454.apn.wlan.private.upenn.edu"
] | csharma@huntsman-ve703-01454.apn.wlan.private.upenn.edu |
1a662fcb02affad6eaabf664368ab30822bc606e | ce588945eabc48c36ce87e7601751d9addcb2cec | /brain_stl/quiz/quiz03/quiz03.cpp | 55f8682e801055f513c7a3a6bf7a71aafca3cb90 | [] | no_license | jun097kim/study-cpp | 6512f482d45fc2f958014e7f59b238b3d2920eee | 282e93aa0ee7cc09289e0c3478cba2b2b7dab263 | refs/heads/master | 2020-03-21T05:07:56.110571 | 2018-07-18T15:20:25 | 2018-07-18T15:20:25 | 138,145,698 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 232 | cpp | #include <iostream>
using namespace std;
class Adder
{
public:
bool operator()(int a, int b) const
{
return a + b;
}
};
int main()
{
Adder add;
int sum = add(10, 20);
cout << "sum= " << sum << endl;
return 0;
} | [
"jun097kim@gmail.com"
] | jun097kim@gmail.com |
9839fc058d9e19b4fbcb39882f8f85c4ba874113 | 0c1546a496eccfb56620165cad015f88d56190c5 | /src/api/exception.cpp | 12753c5b474e69f268b54e033aeeb8cef9d0c6f7 | [
"Apache-2.0"
] | permissive | Solertis/lean | 491e0939957486f664498fbfb02546e042699958 | 84188c5aa1673fdf37a082b2de8562dddf53df3f | refs/heads/master | 2021-01-09T06:37:37.606350 | 2017-02-05T03:00:20 | 2017-02-05T03:00:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,607 | cpp | /*
Copyright (c) 2015 Microsoft Corporation. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Author: Leonardo de Moura
*/
#include "kernel/kernel_exception.h"
#include "kernel/type_checker.h"
#include "library/print.h"
#include "api/exception.h"
#include "api/string.h"
using na... | [
"leonardo@microsoft.com"
] | leonardo@microsoft.com |
876e543b5140cb014819af9a301ca56c764b9552 | 0ffc09935d2798a866b8500589b0edf888ccc033 | /C++11/main.cpp | d0e278d0420c2a7dd4d7290c99c788b6881b65b1 | [] | no_license | bhargav57/C-11 | 8577a9ca310bbc7b551d8368517a17eefdd9f137 | ecaf2c9db328a085152542f140a78cc8c98c9493 | refs/heads/master | 2023-04-23T21:51:44.809840 | 2023-04-09T06:31:18 | 2023-04-09T06:31:18 | 231,399,429 | 0 | 0 | null | 2020-03-15T14:42:52 | 2020-01-02T14:36:07 | C++ | UTF-8 | C++ | false | false | 3,728 | cpp | #include <iostream>
#include <vector>
#include <algorithm>
#include <stdio.h>
#include <stdlib.h>
#include "copyConstructor.h"
using namespace std;
/* This is a print utility function which takes the constant reference of the vector of integer*/
void printVector(const vector<int> &v)
{
for(auto a:v)
{
... | [
"bhargav04cp657@gmail.com"
] | bhargav04cp657@gmail.com |
a26392d547a0058025a78b689769b84010c24862 | 4e71065fa9f81d3ada64a4807fdf288be0fefd33 | /weex_core/Source/include/JavaScriptCore/heap/MarkedBlockSet.h | 53c6440602f8c821b25faa6f3bc70a92d8ba2ea9 | [
"Apache-2.0",
"MIT",
"BSD-3-Clause"
] | permissive | acton393/incubator-weex | c2d9fc7f80eed5d95b054ab6f1af42f8ef9cd47a | c7dd6c76fe726a4413b08d3c895c91d521d01755 | refs/heads/master | 2021-03-24T12:15:30.348499 | 2019-01-07T03:19:18 | 2019-01-07T03:19:18 | 83,516,877 | 2 | 2 | Apache-2.0 | 2018-04-02T09:19:33 | 2017-03-01T05:48:09 | JavaScript | UTF-8 | C++ | false | false | 2,012 | h | /**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... | [
"zhengshihan918@gmail.com"
] | zhengshihan918@gmail.com |
40d86d869510a382f59086d1dd91e7c6b0c0d708 | 0b11c8c54b1e71ae935ea032376e785be8bfb65e | /2555_37.cpp | cb30a1f2245aa19899c10a5f1d7608301016b3cb | [] | no_license | wyx150137/wyx-infinity37-ac-code-on-BZOJ | 320bef65927b065c938dec97c44fc599fac14176 | 5a1cc0803e0356e59f6e679e6aed23f8374ab67b | refs/heads/master | 2020-06-25T01:45:51.676298 | 2017-07-12T23:45:45 | 2017-07-12T23:45:45 | 96,950,945 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,092 | cpp |
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <algorithm>
using namespace std;
const int N = 1200005;
char s[N];
int mask;
struct Splay
{
Splay *ls,*rs,*fa;
int val,add_mark;
Splay();
void push_down();
void Add(int x);
}*null = new Splay;
Splay :: Splay ()
{
ls = rs = fa = null;
val = add_... | [
"wyx150137@users.noreply.github.com"
] | wyx150137@users.noreply.github.com |
5ad2e3e560181090ad9327fdc1319a9b782a48f1 | a3d2f72a6fdbe912ec556b9261e71578f80bdeb2 | /OSG/src/Cubemap.h | 208ecec40b388a6a34de8fe6f41c5902be9a1ed9 | [] | no_license | ivan-gil-dev/osgexample | 1ebe25ae286487f0896b8e36e7fca53d2c541daa | 1b6dd5558d420f71cf8d55b0e3e70781626685cf | refs/heads/master | 2023-06-25T16:32:31.300252 | 2021-07-29T12:35:10 | 2021-07-29T12:35:10 | 390,718,040 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,039 | h | #pragma once
#include <osg/Group>
#include <osg/MatrixTransform>
#include <osgGA/KeySwitchMatrixManipulator>
#include <osgGA/FirstPersonManipulator>
#include <osgGA/TrackballManipulator>
#include <osg/ShapeDrawable>
#include <osg/TextureCubeMap>
#include <osg/Geode>
#include <osgViewer/Viewer>
#include <osgDB/ReadFile>... | [
"mindbae.music@gmail.com"
] | mindbae.music@gmail.com |
ab7d996bb9ed06824360447bf1b06532141038c5 | cc26cba8a2062b9e7142d283eaccbef7c4e005c8 | /Lexer/src/utility_functions.cpp | d6ac1c7ccba7ba0f7b776647d6ce82996ff8e9a1 | [] | no_license | zzaz3/CompilerZ80 | 54377907e92516aaa78cec8ed310cf0f2c4096b4 | 1b5a8b7a430a645c42c955981071bb31742620d7 | refs/heads/master | 2021-04-26T23:39:10.810709 | 2018-03-11T21:35:25 | 2018-03-11T21:35:25 | 123,831,646 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,949 | cpp | //
// Created by zzaz3 on 3/11/2018.
//
#include "../include/utility_functions.h"
std::string getEnumString(TokenType enumval)
{
switch (enumval) {
case TokenType::INT: return "int";
case TokenType::FLOAT: return "float";
case TokenType::DOUBLE: ... | [
"thesecretsoda@gmail.com"
] | thesecretsoda@gmail.com |
7f97ea554d43c48a5cf4fe0ff0915ee549fc633d | c0ff488af82adfb20d712d21e08414ef9998c4e3 | /Src/Mcal/AT91SAM3X8E/Bsw/Mcal/Mcu/mcal_osc.h | 984b99fee17391373c310bcd76be0dac338298e3 | [
"BSL-1.0"
] | permissive | einChi20/autosar-framework | 9905381fff6f010985a423d566190e0ec29aad5b | abcf11970470c082b2137da16e9b1a460e72fd74 | refs/heads/master | 2021-05-28T20:40:26.477118 | 2015-03-13T09:25:02 | 2015-03-13T09:25:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 530 | h | ///////////////////////////////////////////////////////
// Copyright 2014 Stephan Hage.
// Copyright 2014 Christopher Kormanyos.
// Distributed under the Boost
// Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt
// or copy at http://www.boost.org/LICENSE_1_0.txt )
//
#ifndef _MCAL_OS... | [
"stephan.hage@gmail.com"
] | stephan.hage@gmail.com |
83bf15a59b6042c48ea9ac1616148e8964e1ef22 | a9ab72c3dd7fdfe8b6e0b1b5e296bf4c39b9989d | /dp/leetcode120.cpp | fa7b50a3e6e314798728ee3bd01e51a69df21060 | [] | 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,301 | cpp | #include<iostream>
#include<vector>
using namespace std;
class Solution {
public:
//this space complexity is O(n^2)
int minimumTotal_morespace(vector<vector<int>>& triangle) {
if (triangle.empty() || triangle[0].empty())
return 0;
int m = triangle.size();
vector<vector<int>... | [
"keqhe@cs.wisc.edu"
] | keqhe@cs.wisc.edu |
e04fbc1def1fd4063f15c70aced842ff85446c63 | 78d56f36cd22b6f001a2c6fd4beb144c9ec52198 | /thrift/compiler/test/fixtures/deprecated/gen-cpp2/module_metadata.h | 0946b7ffd07e0d89b932dc5b27cea45710a62d76 | [
"Apache-2.0"
] | permissive | sshyran/fbthrift | 95fd7148c790be0ccb760879ebe6177edebf2ece | e581d82fa132d178a24b42e7c53557c391bc24b8 | refs/heads/master | 2023-04-16T13:10:13.151752 | 2020-06-11T22:46:54 | 2020-06-11T22:49:42 | 271,670,501 | 0 | 0 | Apache-2.0 | 2023-04-03T23:03:43 | 2020-06-12T00:06:28 | null | UTF-8 | C++ | false | false | 846 | h | /**
* Autogenerated by Thrift
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
#pragma once
#include <thrift/lib/cpp2/gen/module_metadata_h.h>
#include "thrift/compiler/test/fixtures/deprecated/gen-cpp2/module_types.h"
namespace apache {
namespace thrift {
namespace detail {... | [
"facebook-github-bot@users.noreply.github.com"
] | facebook-github-bot@users.noreply.github.com |
c69c489bea24b25c5daefd969b28add99e70b785 | b171f8ca77f0f054347fe1ccb265189d88358197 | /src/MultiLayerOptics/tst/MultiPaneBSDF_102_103_SmallBasis.unit.cpp | 8ad3dfa6f700c03e1dc1772961c3fc3fe8d7267c | [
"BSD-3-Clause-LBNL"
] | permissive | timburrow/Windows-CalcEngine | 2f2c9365b11caa201489f332ba719cd3c9932683 | 7e401b98870bfd1b25bfb8562fb334bc9b179bac | refs/heads/master | 2021-05-23T15:26:02.371139 | 2020-03-30T16:57:45 | 2020-03-30T16:57:45 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21,068 | cpp | #include <memory>
#include <gtest/gtest.h>
#include "WCESpectralAveraging.hpp"
#include "WCEMultiLayerOptics.hpp"
#include "WCESingleLayerOptics.hpp"
#include "WCECommon.hpp"
using namespace SingleLayerOptics;
using namespace FenestrationCommon;
using namespace SpectralAveraging;
using namespace MultiLayerOptics;
/... | [
"dvvidanovic@lbl.gov"
] | dvvidanovic@lbl.gov |
7f27426c3672aa27353dc349e27ac59b8b6c6636 | 17a9cd38f08378fb3efb1bcf1e941906f576a942 | /src/helper/optmiser.cpp | eb2bfcf1f0b36818be6ffada7c7c4de3ac5e6643 | [] | no_license | guptatanmay8/automi_v1 | 8172fd9b226c303d6ec913596ab803ec5143dd4a | 07fede0a8ca72c234db8493259bf3558cf027dce | refs/heads/master | 2023-03-24T00:24:28.978606 | 2021-03-13T18:41:27 | 2021-03-13T18:41:27 | 285,819,469 | 0 | 0 | null | 2020-08-07T12:05:48 | 2020-08-07T12:05:47 | null | UTF-8 | C++ | false | false | 2,739 | cpp | #include"gradient.hpp"
#include<iostream>
#include<math.h>
#include<fstream>
#include<vector>
//namespace huro{
//template <typename T>
Optmizer::Optmizer(){
//default values
dim = 0;
c_alpha = 0.0;
setmaxiterr = 1;
h = 0.001;
setgradt... | [
"noreply@github.com"
] | guptatanmay8.noreply@github.com |
17d0bb3bff13c0feb4d69ade477e5555a547caba | 59a53ffbfe19eb84ba310e66889462ce67451318 | /271.codec.cpp | 15841f157ead1dd58f8e6f93006a0361209bc60e | [] | no_license | wfnuser/leetcode | 0877e03fed6617836a8c4dd695f62868d00c0f05 | 3202104983b4b68272766a3285ffe8683e9b1712 | refs/heads/master | 2022-06-29T04:16:12.874513 | 2022-05-25T05:52:03 | 2022-05-25T05:52:03 | 142,956,247 | 42 | 14 | null | null | null | null | UTF-8 | C++ | false | false | 954 | cpp | class Codec {
public:
// Encodes a list of strings to a single string.
string encode(vector<string>& strs) {
string enc = "";
for (auto str: strs) {
enc += to_string(str.size()) + "$" + str;
}
return enc;
}
// Decodes a single string to a list of strings.
... | [
"wfnuser@126.com"
] | wfnuser@126.com |
ee5068d23aacd076d761327037d4bdd355dd29e1 | 4377a1b7ac45f7351e7585715e653eb3e3c015cc | /maxScore.cpp | 17e8188ae8e486fe6176fd9fecaa50d2ff095b68 | [] | no_license | mevivek3620/DSA | 36605a443aab2c31114ec32f4da1245f6517be2c | 7aaef46278c902cef29b5a612e1b96ee0911578e | refs/heads/main | 2023-05-06T18:06:18.570777 | 2021-05-30T10:38:37 | 2021-05-30T10:38:37 | 333,446,921 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 609 | cpp | // ---->>> https://leetcode.com/problems/maximum-score-from-removing-stones/
#include "header.h"
using namespace std;
class Solution {
private:
string s = "Fuck You";
public:
void call(){
cout<<this->s<<endl;
}
int maximumScore(int a, int b, int c) {
int val[3] = {a,b,c};
sor... | [
"mevivek3620@gmail.com"
] | mevivek3620@gmail.com |
98fabfc4e96e17038b374f419a47c56d0547b4ae | 2612b920035a4f90a82d7bd910bdc2ee382aee89 | /step_test_moving_avg.ino | 0aa13a1e2f1929b5563fc35551b8b96430df2fd7 | [] | no_license | vanderlei-filho/velocity-form-pid | a9696856bff2f94528e08c1333da3f1823c52884 | 53cb27ee31ba1ef44522489ba8bf4c23dc07c825 | refs/heads/master | 2023-06-08T15:16:51.841543 | 2020-05-22T21:46:49 | 2020-05-22T21:46:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,826 | ino | const int y_pin = A0;
const int u_pin = 6;
const int n = 100; // Number of readings for moving avg
int y_arr[n]; // Output array
int i = 0; // Reading index
int y_sum = 0;
int yr = 0; // Output control reference
int y = 0; // Scaled output moving avg. [0-255]
int u = 0; // Input [0-255]
const int Ts = 1; // ... | [
"noreply@github.com"
] | vanderlei-filho.noreply@github.com |
c893824ce44b3c8777b9629d7fde6ace8b31b7fc | 582bf67ba7355fb663fa5d7a8d857a46e97bc296 | /src/boolean.h | a276eb0ca7535b4a2d6020f4d1607aad5a5e13de | [] | no_license | lizunks/PPCA-Course-Project | 60ac3a5517069658d467d58025798736a2302d8a | 360e483871079da0b1dd89adeda5239fcdc1b476 | refs/heads/master | 2021-01-22T21:41:23.077678 | 2017-03-19T09:21:00 | 2017-03-19T09:21:00 | 85,461,837 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 519 | h | #pragma once
#include "datatype.h"
#define SCAST_BOOLEAN(x) static_cast<Boolean*>(x)
class Boolean :public Datatype{
public:
Boolean(bool value = false);
~Boolean();
virtual Boolean *isEqual(Boolean *boolean2);
virtual Boolean *isInteger();
virtual Boolean *isRational();
virtual Boolean *isReal();
virtual Boole... | [
"lizunks@126.com"
] | lizunks@126.com |
70e05c7a455b792c3265997766663457f32fd457 | ee376c190824d4883b5bfd54c0999a1d7ab55d67 | /src/graphics/shader/shaderparser.hpp | 4760ee57bccf0e30b4e8c39984f482589d81d461 | [] | no_license | jgavert/Unvoid | cfaca6158f9420fcd7534714dc6f43df28d1819e | dba21a2398cd27c1c77de34016ffd0dafb765121 | refs/heads/master | 2016-09-05T18:58:50.135779 | 2014-03-11T16:17:03 | 2014-03-11T16:17:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 209 | hpp | #pragma once
#include <string>
#include <fstream>
class ShaderParser
{
public:
static std::string process(std::string input);
private:
static std::string parseShaderForComments(std::string unparsed);
};
| [
"jgavert@cs.helsinki.fi"
] | jgavert@cs.helsinki.fi |
22680f9a2f8b5b3348bcb5500e698daf0e150017 | 42044fb43cd7d5d7adb973444359eb0e0f5ec467 | /Shader.h | 66a1329bc2e073997df23f40502abb71740dc8bc | [] | no_license | quantum-devs/Bones-Engine | 4829e7aba18c86f0a9da32e3000a78b18368ac4e | 138daf962b3b3174537c320287d12816ac23a4a1 | refs/heads/develop | 2020-08-02T15:31:32.650300 | 2019-12-10T18:55:22 | 2019-12-10T18:55:22 | 211,403,938 | 0 | 8 | null | 2019-12-10T18:55:24 | 2019-09-27T21:23:50 | HTML | UTF-8 | C++ | false | false | 1,261 | h | #pragma once
#include <GL/glew.h>
#include <string>
#include "Math.h"
class Shader
{
public:
Shader();
~Shader();
// Load the vertex/fragment shaders with the given names
bool Load(const std::string& vertName, const std::string& fragName);
void Unload();
// Set this as the active shader program
void SetActive()... | [
"A00952521@ad.bcit.ca"
] | A00952521@ad.bcit.ca |
9e0fb02a1b0e3a4a6d580232f8202ff27f16571b | 22af93db463774bfa5810ccc26193d91354849b9 | /client/frameworks/cocos2d-x/cocos/editor-support/cocostudio/CCComAudio.cpp | e1c5aedc9df3f4721a5c51a63e53d411f19f65cf | [] | no_license | adroitly/boom | f5ba38c1360e315cfc79a602ca787208f244b87c | 57bb7f29ba2da552e7d47ac5d2dd9691539ad78e | refs/heads/master | 2016-08-12T07:41:34.105425 | 2016-03-08T07:16:13 | 2016-03-08T07:16:13 | 53,380,550 | 0 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 9,084 | cpp | ///****************************************************************************
//Copyright (c) 2013-2014 Chukong Technologies Inc.
//
//http://www.cocos2d-x.org
//
//Permission is hereby granted, free of charge, to any person obtaining a copy
//of this software and associated documentation files (the "Software"), to d... | [
"adroitly@163.com"
] | adroitly@163.com |
2b92ad76b57144448f07f707514318b60a0a1276 | 2cedd3699690080f5b9ea3343c6519a98580fa60 | /image/src/ColorImage.cpp | 746901002e1347afdfb69acdafc53c87ff93f6b5 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | LLNL/lime-apps | 12812c952780a20f47e2befca37401b3f95a5436 | d8e18336e4fa73dd58796f5866b851a002dd7702 | refs/heads/master | 2023-06-03T21:34:54.366494 | 2020-07-27T18:28:40 | 2020-07-27T18:28:40 | 271,666,143 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,956 | cpp | //////////////////////////////////////////////////////////////////////
// ColorImage.cpp
//////////////////////////////////////////////////////////////////////
#include <cstddef> // NULL, size_t
#include <cstdlib> // abs
#include <cstdio> // fopen, fgetc, fread, fwrite, fscanf, fprintf
#include <cctype> // isspace, to... | [
"lloyd23@llnl.gov"
] | lloyd23@llnl.gov |
60f81ea0ffd7c333ab45c563431037561b7169cf | 584e34f069f526173059bdb602ea7acf38613db5 | /inet/src/networklayer/arp/ARP.cc | 6c30ea6ddd8a34f2ce8e830857d4dda99bb801e9 | [] | no_license | rsimogaetan/srwsn | 073840d3ae971bbd0e7f885da36eefc677c0ffbb | e20583e42b031ec54f85d112a8f8b42b99611268 | refs/heads/master | 2021-01-10T04:26:09.265440 | 2015-12-19T02:08:17 | 2015-12-19T02:08:17 | 48,264,864 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,767 | cc | /*
* Copyright (C) 2004 Andras Varga
*
* 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 version 2
* of the License, or (at your option) any later version.
*
* This program i... | [
"rsimogaetan@87b9072a-e09f-11de-b41e-e93f42a66952"
] | rsimogaetan@87b9072a-e09f-11de-b41e-e93f42a66952 |
e3c2e1761064a92e044a9096eb7c925b361e149f | 62a7d30053e7640ef770e041f65b249d101c9757 | /ACM-ICPC 2019 南昌赛区网络预赛/C.cpp | 728133d9c863e5e1f99fc3f95eaf2738b670322c | [] | no_license | wcysai/Calabash | 66e0137fd59d5f909e4a0cab940e3e464e0641d0 | 9527fa7ffa7e30e245c2d224bb2fb77a03600ac2 | refs/heads/master | 2022-05-15T13:11:31.904976 | 2022-04-11T01:22:50 | 2022-04-11T01:22:50 | 148,618,062 | 76 | 16 | null | 2019-11-07T05:27:40 | 2018-09-13T09:53:04 | C++ | UTF-8 | C++ | false | false | 2,332 | cpp | #include<bits/stdc++.h>
#define MAXN 200005
#define INF 1000000000
#define MOD 1000000007
#define F first
#define S second
using namespace std;
typedef long long ll;
typedef pair<int,int> P;
typedef vector<int> vec;
typedef array<array<int, 5>, 5> mat;
int n,Q;
char str[MAXN];
map<char,int> mp;
mat type[5],id;
mat mul(... | [
"wcysai@foxmail.com"
] | wcysai@foxmail.com |
b151003bdc369dcf1705e54f3b84855eded1f5c7 | 848ac61bdf1def80e30c3b08c7b19bec2ba6b666 | /Source/ComponentEx/Public/Components/ActorPoolComponent.h | fa4e7b058ecf7be4356c3ad4972160ebc3463cb7 | [
"MIT"
] | permissive | yatagarasu25/UnrealEngineEx | d99eaa92596a10d55d949f423f5cb7f16bcf7625 | 7a8a9359918c143ffb0b7e18092f4ccc6ac5e5d7 | refs/heads/master | 2023-07-06T00:29:20.019261 | 2023-06-27T12:00:40 | 2023-06-27T12:00:40 | 176,234,335 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,111 | h | #pragma once
#include "Components/ActorComponent.h"
#include "Engine/World.h"
#include "ActorPoolComponent.generated.h"
DECLARE_DELEGATE_OneParam(FActorPoolDeferredDelegate, AActor*);
USTRUCT()
struct COMPONENTEX_API FActorPoolNode
{
GENERATED_BODY()
UPROPERTY()
TArray<AActor*> PooledActors;
};
USTRUCT(Bluep... | [
"igor.cwer@gmail.com"
] | igor.cwer@gmail.com |
117dcbf229a1a0c0f1463524e9959ba927f19e0a | 129be1056d0247aac66e9248200f1032da576225 | /include/symcxx/types.inc | 9a54b37b5267c96dfd8419cb75f9cbb168259e24 | [
"BSD-2-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | bjodah/symcxx | 5a37aa8c6af7dc8758912c57dfab0d9840076370 | 735bbf371392a973f42d75fc87fff73c42af869d | refs/heads/master | 2021-01-24T03:20:01.635979 | 2020-03-25T10:41:17 | 2020-03-25T10:41:17 | 47,080,594 | 3 | 0 | BSD-2-Clause | 2020-03-25T10:41:18 | 2015-11-29T21:15:26 | C++ | UTF-8 | C++ | false | false | 59 | inc | #include "types_atomic.inc"
#include "types_nonatomic.inc"
| [
"bjodah@gmail.com"
] | bjodah@gmail.com |
d6e56a738371161c1f6eabb39117fb41bc9d5b4c | 5b74f78c0131ca546da614634b7c69372e234476 | /XX_HC-12_01_demo_rx/XX_HC-12_01_demo_rx.ino | bdf2a53b37cefe7f953b07b27f98e2090ebfd6ba | [] | no_license | orphidian11/arduino_demo | 85a1ac84531e09be1da04fea01993586887efeca | 8fe814e3e3d9cac588c5c950cc747f1aaba3e5f5 | refs/heads/main | 2023-02-11T12:29:27.219714 | 2021-01-10T08:58:08 | 2021-01-10T08:58:08 | 328,324,380 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 586 | ino | /**
* https://www.youtube.com/watch?v=0zOTvB0T5fY
* HC-12 Demo
* Receiver
*/
#define RED_PIN 7
void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
pinMode(RED_PIN, OUTPUT);
while(!Serial);
Serial.println("begin");
digitalWrite(RED_PIN, HIGH);
}
void loop() {
// put your mai... | [
"orphidian11@gmail.com"
] | orphidian11@gmail.com |
1717f60f37d08e0a21525cce5ee79263e2a50ac6 | e3e414a2b24b7746c9f99af395d2e686977e6fce | /codeforces/1440/B.cpp | d31097caf1d458b074591679b52bdd6547e2d29b | [] | no_license | SuveenKumar/Competitive-Programming | 578fb3f99abf2b2f098941cdb514292d2fcf70c1 | 33c9b6a383efb44b4f83ead7a938e07d2c31190c | refs/heads/master | 2023-02-24T09:29:32.501858 | 2020-04-13T14:43:00 | 2021-01-31T20:51:07 | 334,750,867 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,394 | cpp | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define endl ("\n")
#define pi (3.141592653589)
#define mod 1000000007
#define INF 1000000009
#define float double
#define pb push_back
#define mp make_pair
#define ff first
#define ss second
#define so sizeof
#define pii pa... | [
"suveenkumar1997@gmail.com"
] | suveenkumar1997@gmail.com |
8dce6dc7e119c2110d5357be9877a9fb3532677a | 0aee79886c3de1540fc3f7f92bc97a40965d8b9c | /swplk/BaseDB.cpp | fbfe3e58551c7d52aec8317633c8593961f9f14c | [] | no_license | robinDetobel/softwareProjectFull | cb034bd47cb26b3908bc5d933ffaeab10d4b3f6b | 31adc8de9af8fd335f497d5027a441219dbc1b78 | refs/heads/master | 2020-07-12T05:45:52.361439 | 2019-08-27T15:37:59 | 2019-08-27T15:37:59 | 204,734,321 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 167 | cpp | #include "BaseDB.h"
mysqlx::Session BaseDB::connect_to_session() {
mysqlx::Session session("dt5.ehb.be", 33060, "1819WEBADV050", "xeze81");
return session;
}
| [
"noreply@github.com"
] | robinDetobel.noreply@github.com |
4dc1d3723ee08ef7f597ba38d71205f69565e214 | c68d97a9a26734168f6a812278c4cebf7b7068a7 | /multiplicacion.cpp | 774d59f6ca75205e4c60f159b3fbb190e75febf0 | [] | no_license | jsreyl/ProyectoInt | 1e831de558da39e19fb83a2d5208b52fb888b2d7 | c90c8a4b5d2dd4710112a4c40356bf66376a9bc3 | refs/heads/master | 2021-05-16T01:22:34.555603 | 2017-10-20T15:41:39 | 2017-10-20T15:41:39 | 107,060,140 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,963 | cpp | #include <iostream>
#include <cstdio>
#include <cstdlib>
#include "papi.h"
int code_to_be_measured(const double * M1, const double * M2, double * M);
int main(int argc, char **argv)
{
int N = atoi(argv[1]); //We run N with a for loop in bash
// Matrix declaration : Modeled as 1D array
// Declare as pointers ... | [
"30728161+jsreyl@users.noreply.github.com"
] | 30728161+jsreyl@users.noreply.github.com |
0468bd95940d12478f018e9efae1f49c4cd96b6b | 4086e7034eb82101d4d4fc6ea06226985cc55f9d | /Source/AlignedMemory.h | 5e74b9e7b8da2775949df38665497c35a4b7b120 | [] | no_license | ahasselbring/ImageProcessing | 404b4d47fa29ad9a9498488934aafe838b4a249e | 0082306191919a92692d368cf9cda8c654e050e0 | refs/heads/master | 2021-09-04T02:39:58.872224 | 2018-01-14T20:32:20 | 2018-01-14T20:32:20 | 115,945,883 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 733 | h | /**
* @file AlignedMemory.h
*
* This file declares the AlignedMemory class.
*
* @author Arne Hasselbring
*/
#pragma once
#include <cstdlib>
/**
* @brief This class provides function to allocate and free aligned memory.
*/
class AlignedMemory
{
public:
/**
* @brief Allocates memory that has a specific al... | [
"arne.hasselbring@tu-harburg.de"
] | arne.hasselbring@tu-harburg.de |
24e6bc08a1c99a5cefdb42cecf9e691bb5e4e239 | 5a6ccde5f37cc86b6fc0812b2bf40f42eab23906 | /C-set/518C.Anya and Smartphone.cpp | aae4be45922b08ae0bb72789147441995dfb6ca6 | [] | no_license | Waqar-107/Codeforces | 23f2b1edffb85f6f020107f03e09a455d3e6e792 | f0d2f25aa6a09c06083b82c39cdf3288ec2eecba | refs/heads/master | 2023-03-09T07:55:46.583363 | 2023-03-04T09:57:44 | 2023-03-04T09:57:44 | 82,915,896 | 196 | 138 | null | 2023-02-11T22:06:20 | 2017-02-23T10:29:34 | C++ | UTF-8 | C++ | false | false | 923 | cpp | /*****from dust i have come, dust i will be*****/
#include<bits/stdc++.h>
typedef long long int ll;
#define pp pair<ll,ll>
#define dbg printf("in");
#define NL printf("\n");
#define S 210000
#define inf 1000000000000
using namespace std;
int main()
{
//freopen("in.txt","r",stdin);
ll i,j,k;
ll n,q,m,x;... | [
"noreply@github.com"
] | Waqar-107.noreply@github.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.