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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
cfd636cf97fb632c94e283dbca7620d8144594c3 | c5f3ce7915e43f10268dd829ff16445bc68ae09c | /cpp/triangle/triangle.cpp | db04b463d95508e7d10ff54352bd1ceeed747826 | [] | no_license | jianxx/exercism | 2e0bc1444b7f7734ca78a96ba4c16bd7069af8b3 | 808f7f0cbfd132de89deac9b914de4d39a15e20c | refs/heads/master | 2023-01-04T13:46:45.200232 | 2020-11-04T03:35:39 | 2020-11-04T03:35:39 | 292,189,311 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,082 | cpp | #include "triangle.h"
#include <algorithm>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <limits>
#include <stdexcept>
#include <type_traits>
namespace triangle {
template <class T>
typename std::enable_if<!std::numeric_limits<T>::is_integer, bool>::type
almost_equal(T x, T y, int ulp) {
return... | [
"jianxx@gmail.com"
] | jianxx@gmail.com |
faa60306785c1a735ba253c877ca7cecd3e0bae1 | 41eff316a4c252dbb71441477a7354c9b192ba41 | /src/PhysX/physx/source/lowlevel/software/include/PxsContactManager.h | bf376a64a79548ae0247fd496a9da157bc8ceec9 | [] | no_license | erwincoumans/pybullet_physx | 40615fe8502cf7d7a5e297032fc4af62dbdd0821 | 70f3e11ad7a1e854d4f51992edd1650bbe4ac06a | refs/heads/master | 2021-07-01T08:02:54.367317 | 2020-10-22T21:43:34 | 2020-10-22T21:43:34 | 183,939,616 | 21 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 6,737 | h | //
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer.
// * Redistributions in bin... | [
"erwincoumans@google.com"
] | erwincoumans@google.com |
53e6bbbe66e3bffe2bac08d779b4e9f34da946d4 | 158fe0dea7397e3290d0261b0d6a09c7cbdcbf73 | /2sem/programming basics/16/100.cpp | 6c92f40202c2420a21310ef60f697203b065d691 | [] | no_license | NuarkNoir/UPC | c2dd6da42dc5c5d53a91948755083c8411d9f386 | cf7e5c28b427643dd3cdc8d9962d7d537b5fb0e6 | refs/heads/master | 2021-06-22T21:08:54.854324 | 2021-06-04T08:42:14 | 2021-06-04T08:42:14 | 222,354,550 | 6 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 3,003 | cpp | // pb_16_100.cpp
// Горбацевич Андрей
#include <iostream>
#include <fstream>
#include <vector>
#include <algorithm>
using namespace std;
enum scholarship {
HI_ED = 0, SC_ED = 1, SV_RD = 2
};
struct DB_record {
char surname[32];
unsigned short age;
char city[32];
scholarship scs;
bool operato... | [
"mrcluster@ya.ru"
] | mrcluster@ya.ru |
3fb3df3eb9498e6d408005d0c357d009320eda16 | b389f1f3075092f7cb25f45ee9bf910c55250735 | /Codeforces/Problems/ASupercentralPoint.cpp | 47eeced0aacdf8b30cd4a7a7fcac9213ebc9e464 | [] | no_license | leostd/Competitive-Programming | 7b3c4c671e799216c79aeefd2ca7d68c5d463fa6 | 4db01b81314f82c4ebb750310e5afb4894b582bd | refs/heads/master | 2023-05-13T07:04:40.512100 | 2023-05-06T10:58:28 | 2023-05-06T10:58:28 | 87,685,033 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 886 | cpp | #include "../library/lib.hpp"
#include <iostream>
using namespace std;
class ASupercentralPoint {
public:
void solve(std::istream& in, std::ostream& out) {
int n;
vector<pii> xs, ys;
pii a;
in >> n;
REP(i,n){
in >> a.first >> a.second;
xs.pb(a), ys.pb(mp(a.second, a.first));
}
sort(xs.begin(), xs.... | [
"lsantel@amazon.com"
] | lsantel@amazon.com |
6df45f80e4da75ffa596de1edb5c6886af66d61a | b52d21321add25dc9d2576c100cdff483e435bed | /src/Game/Comment/FlowString/FlowString.h | ae98fccb9383057eadc595e2f95961dc6a29603c | [] | no_license | gab0626/commentgame | 1ebe6a05af26263f97e281f7e10767d03f643e93 | db5b243dc3a62b47f8bb0219cd0b64ee10bf4788 | refs/heads/master | 2020-05-29T11:31:50.796615 | 2016-05-11T22:30:45 | 2016-05-11T22:30:45 | 57,183,936 | 0 | 0 | null | 2016-04-29T16:05:43 | 2016-04-27T04:42:37 | C++ | UTF-8 | C++ | false | false | 1,360 | h | #pragma once
#include "../../AppEnv.h"
#include <memory>
#include <string>
#include <vector>
class FlowString
{
struct _m_FlowString;
std::shared_ptr<_m_FlowString> member;
public:
enum class Type
{
TOP,
MIDDLE,
BOTTOM
};
enum class Size
{
SMALL,
MI... | [
"peperontino39@docomo.ne.jp"
] | peperontino39@docomo.ne.jp |
39b4abe7a2ab0dac2268baf19dfb841939d76bb9 | af33e5b8129c2852add250146404d547ad627efa | /src/math/MatrixStack.h | bc7b63f72f541b00c80d763757e0d7793d7fea9a | [] | no_license | phosphoer/game-300 | ac5f44b7a775c0c494f40929455a60f9b7402e76 | 3d897e980fc7db863e21060721b4eb92e309e904 | refs/heads/master | 2023-01-20T02:10:15.187566 | 2020-11-25T20:54:14 | 2020-11-25T20:54:14 | 316,051,129 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 976 | h | // Nicholas Baldwin
// 2011/07/27
// All content (c) 2011 DigiPen (USA) Corporation, all rights reserved.
#pragma once
namespace Improbability
{
// templated to handle any size matrix
template<typename MatrixT>
class MatrixStack
{
public:
// constructor loads the identity in first
MatrixStack()
{
MatrixT i... | [
"david0evans@gmail.com"
] | david0evans@gmail.com |
7e94ee3224d2f749fd8540a9af6432a7449d6afd | 9a3fd403e16941232f9d48c837ebe494b5f34023 | /Tests/FindGTK2/gtkmm/main.cpp | f468cdd4b3821540c5c9dd44ee0657d8569fb9b8 | [
"BSD-3-Clause"
] | permissive | AnomalousMedical/CMake-OldFork | 9f7735199073525ab5f6b9074829af4abffac65b | 1bf1d8d1c8de2f7156a47ecf883408574c031ac1 | refs/heads/master | 2021-06-11T11:15:48.950407 | 2017-03-11T17:07:10 | 2017-03-11T17:07:10 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 254 | cpp | #include <gtkmm.h>
#include "helloworld.h"
int main(int argc, char *argv[])
{
Gtk::Main kit(argc, argv);
HelloWorld helloworld;
//Shows the window and returns when it is closed.
Gtk::Main::run(helloworld);
return 0;
}
| [
"AndrewPiper@7b0d72ad-f3cb-b44e-b30e-0ca2391ac3a1"
] | AndrewPiper@7b0d72ad-f3cb-b44e-b30e-0ca2391ac3a1 |
874836ec6caa236042e9bc2570c06925ba4668cd | 1ff6173ecfbc09b6104670612e75f9c4b59d7aa4 | /include/linq/reverse.hpp | f2a937b55d1c3cfb331db55e423a84a91e482e1d | [] | no_license | calum74/linq | 773efa768793b48b5a700f16a138172dc03a7426 | eecabb7b947413541c456ba0ef8ac2bc21bc98cd | refs/heads/master | 2022-10-20T01:58:07.061831 | 2022-10-07T09:59:22 | 2022-10-07T09:59:22 | 37,785,980 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 583 | hpp | //
// reverse.hpp
// Linq
//
// Created by Calum Grant on 20/06/2015.
// Copyright (c) 2015 Calum Grant. All rights reserved.
//
#ifndef Linq_reverse_hpp
#define Linq_reverse_hpp
namespace linq
{
template<typename T, typename Alloc>
class reverse_t : public container_store<std::vector<T, Alloc>>
... | [
"calumgrant@github.com"
] | calumgrant@github.com |
04abbc89775cb500a34f558d4d73254cd5b3e36e | 6d21cf2eac50943ed857d39cd9bafd57a9247376 | /exercise/exercise/NonRenderObject.h | 0674c962a7a94aa43eb53cb34836ce2484d5f125 | [] | no_license | shinseona/Exercise | 180c473e9f2a4823523b8d6e6ca3c04de152c5bb | 39bb1e183c7e3a96ddb19b250e8ca39dc7ef3ef6 | refs/heads/main | 2023-01-06T08:58:44.252311 | 2020-11-04T08:38:26 | 2020-11-04T08:38:26 | 309,903,687 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 278 | h | #ifndef NONRENDEROBJECT_H
#define NONRENDEROBJECT_H
#include "Object.h"
#include "IUpdate.h"
class NonRenderObject : public Object,public IUpdate
{
public :
virtual void Update(IUpdate* iupdate)override;
virtual void ShutDown() override {}
};
#endif // !NONRENDEROBJECT_H
| [
"42831273+shinseona@users.noreply.github.com"
] | 42831273+shinseona@users.noreply.github.com |
fd9074bdfdea874e2907893abd9dbe551787171c | 1b0aadb6dc881bf363cbebbc59ac0c41a956ed5c | /xtk/Source/SyntaxEdit/XTPSyntaxEditDrawTextProcessor.h | f502ae63a6e008faa8250efcf2fa6b4db0d35e3b | [] | no_license | chinatiny/OSS | bc60236144d73ab7adcbe52cafbe610221292ba6 | 87b61b075f00b67fd34cfce557abe98ed6f5be70 | refs/heads/master | 2022-09-21T03:11:09.661243 | 2018-01-02T10:12:35 | 2018-01-02T10:12:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,463 | h | // XTPSyntaxEditDrawTextProcessor.h: interface for the CXTPSyntaxEditDrawTextProcessor class.
//
// This file is a part of the XTREME TOOLKIT PRO MFC class library.
// (c)1998-2007 Codejock Software, All Rights Reserved.
//
// THIS SOURCE FILE IS THE PROPERTY OF CODEJOCK SOFTWARE AND IS NOT TO BE
// RE-DISTRIBUTED BY A... | [
"w.z.y2006@163.com"
] | w.z.y2006@163.com |
4c80ae8a7e5b440126656ceb8ca5dd59b4c079af | 9802284a0f2f13a6a7ac93278f8efa09cc0ec26b | /SDK/Bundle_Wooden_Plank_classes.h | 5768a59d1b00184e74c6464e1036bc4fa62b754d | [] | no_license | Berxz/Scum-SDK | 05eb0a27eec71ce89988636f04224a81a12131d8 | 74887c5497b435f535bbf8608fcf1010ff5e948c | refs/heads/master | 2021-05-17T15:38:25.915711 | 2020-03-31T06:32:10 | 2020-03-31T06:32:10 | 250,842,227 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 654 | h | #pragma once
// Name: SCUM, Version: 3.75.21350
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace SDK
{
//---------------------------------------------------------------------------
// Classes
//---------------------------------------------------------------------------
// BlueprintGeneratedClass Bundle_Woo... | [
"37065724+Berxz@users.noreply.github.com"
] | 37065724+Berxz@users.noreply.github.com |
0dc17643353f0c8c930be2c8cd65f279379a160d | 3354d7dad7e51e59a9ce871807ddec6dd6c49c02 | /src/World.cxx | ce81c08a91d44f29d6e436491050a40650178ee1 | [] | no_license | maeln/Cellmate | 610d385b1e337fc9c3799106d44563813c9e721a | a45b7898ae2d771061a6d29811ebd1dc7810b3e6 | refs/heads/master | 2016-09-13T01:46:40.593736 | 2016-05-25T17:16:47 | 2016-05-25T17:16:47 | 59,430,087 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 638 | cxx | #include "World.hxx"
World::World()
{
m_width = 0;
m_height = 0;
m_space = std::vector<Cell>();
}
World::World(unsigned int width, unsigned int height, int default_state)
{
m_width = width;
m_height = height;
m_space = std::vector<Cell>(width*height, Cell(default_state));
}
World::~World()
{
m_space.clear();
... | [
"contact@maeln.com"
] | contact@maeln.com |
e2af330af063f233f78a000f6cb47420bb435e65 | b1af8bb863a6730e6e4e93129efbad89d33cf509 | /SDK/SCUM_Armor_Tactical_Vest_03_classes.hpp | c9fd3a6b456ed5f0e1bc6be9f08293119a7f2a84 | [] | no_license | frankie-11/SCUM_SDK7.13.2020 | b3bbd8fb9b6c03120b865a6254eca6a2389ea654 | 7b48bcf9e8088aa8917c07dd6756eac90e3f693a | refs/heads/master | 2022-11-16T05:48:55.729087 | 2020-07-13T23:48:50 | 2020-07-13T23:48:50 | 279,433,512 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 822 | hpp | #pragma once
// SCUM (4.24) SDK
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
namespace SDK
{
//---------------------------------------------------------------------------
//Classes
//---------------------------------------------------------------------------
// BlueprintGeneratedClass Armor_Tactical_Vest_03.Armo... | [
"60810131+frankie-11@users.noreply.github.com"
] | 60810131+frankie-11@users.noreply.github.com |
bbdcb84d8de49fde78781235af333cac05a9ade2 | 2d5d9e6594782c0b42af14f9da7dc50cd0d0672d | /onvif/soapMediaBindingProxy.h | 6242074e9da320479278a7b6afb95443b926499a | [] | no_license | Jin992/tracker | e37ddf948885e2e9a051ad461dc71465957eaa66 | 5abdf6993dc6f5b998669549d6a96b59b5184bbf | refs/heads/master | 2022-03-29T12:37:23.107645 | 2019-12-06T14:13:16 | 2019-12-06T14:13:16 | 226,374,259 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 146,858 | h | /* soapMediaBindingProxy.h
Generated by gSOAP 2.8.88 for onvif.h
gSOAP XML Web services tools
Copyright (C) 2000-2018, Robert van Engelen, Genivia Inc. All Rights Reserved.
The soapcpp2 tool and its generated software are released under the GPL.
This program is released under the GPL with the additional exemption t... | [
"arteshchuk@gmail.com"
] | arteshchuk@gmail.com |
168b621a636c9c93f749ae149f7e8d0bad9e1fcd | d0e8caf30912e096a35071c7c550ef59ae410606 | /maxOf3Num.cpp | 27c8556aba2f91293bd97ecc35a71fc81b0835fe | [] | no_license | geekyprawins/towards-cpp | 8db4e5def357a7517107bfc92d2947fd304afa79 | 6662897999afefbd315790d2ed11029693fccdaf | refs/heads/master | 2023-06-21T23:39:43.613881 | 2021-07-21T15:36:53 | 2021-07-21T15:36:53 | 373,852,103 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 497 | cpp | #include <iostream>
using namespace std;
int main()
{
int a, b, c, maxof3;
cin >> a >> b >> c;
if (a > b)
{
if (a > c)
{
maxof3 = a;
}
else
{
maxof3 = c;
}
}
else
{
if (b > c)
{
maxof3 = b;... | [
"swamiraju.varma@learner.manipal.edu"
] | swamiraju.varma@learner.manipal.edu |
b38f3c422ba8e251953e582e40c6964c49181b4b | d9a66840bf09cb926de8ee1749a47acc11bcdd05 | /old2/contest/AtCoder/abc018/A.cpp | 4d1ab4ca288f071b81f7fabf9bcf7586bc321336 | [
"Unlicense"
] | permissive | not522/CompetitiveProgramming | b632603a49d3fec5e0815458bd2c5f355e96a84f | a900a09bf1057d37d08ddc7090a9c8b8f099dc74 | refs/heads/master | 2023-05-12T12:14:57.888297 | 2023-05-07T07:36:29 | 2023-05-07T07:36:29 | 129,512,758 | 7 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 149 | cpp | #include "vector.hpp"
int main() {
Vector<int> a(3, in);
for (int i : a) {
cout << a.count_if([i](int n) { return i <= n; }) << endl;
}
}
| [
"mizuno@eps.s.u-tokyo.ac.jp"
] | mizuno@eps.s.u-tokyo.ac.jp |
37026cf3c8da080f3385fcf727c5467e32ba6adf | 1ad310fc8abf44dbcb99add43f6c6b4c97a3767c | /samples_c++/cc/turtlebot/avoid.cc | 17d568c134ae998aa5990b72dc6d43edcc25ebb7 | [] | no_license | Jazzinghen/spamOSEK | fed44979b86149809f0fe70355f2117e9cb954f3 | 7223a2fb78401e1d9fa96ecaa2323564c765c970 | refs/heads/master | 2020-06-01T03:55:48.113095 | 2010-05-19T14:37:30 | 2010-05-19T14:37:30 | 580,640 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 3,299 | cc | //
// avoid.cc
//
// Test of C++ and LEJOS-OSEK with TurtleBot II
//
// Written 20-jan-2008 by rwk
//
// Copyright 2007, 2008 by Takashi Chikamasa and Robert W. Kramer
//
#include <Motor.h>
#include <SonarSensor.h>
//
// To properly interface with LEJOS-OSEK, we need to use C linkage between our
// cod... | [
"jazzinghen@Jehuty.(none)"
] | jazzinghen@Jehuty.(none) |
030d96942c874aa5e3e97c60e23de8679f6a2445 | b437086cb1c76af82e408ae60119e8119e7d0ddf | /make_stuff/make_3/unary.h | 1f1dde018fb741eea73b5001dd6a797bac1a7e68 | [] | no_license | Zyoto/Demo | ea2eb76a007b8321eefdf30e3ce385be55a36cf5 | 501476aeb0ef2d66b074ccdd54daf3e3cc66a787 | refs/heads/master | 2016-09-03T03:18:06.165419 | 2013-09-27T16:51:35 | 2013-09-27T16:51:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 535 | h | #ifndef _UNARY_H
#define _UNARY_H
#include <ostream>
#include <string>
using namespace std;
struct Expression;
typedef Expression * ExPtr;
enum UnOp {NEGATION, PAREN, BRACES, BRACKETS};
struct UnaryStmt {
UnOp oper;
ExPtr val;
};
#include "expr.h"
ExPtr NewUnExp(UnOp op, ExPtr a);
void Obliterate(UnaryStmt &);... | [
"BrettSquared@gmail.com"
] | BrettSquared@gmail.com |
526251b42c2f9d09ad30d693f93d1d67958ff1c4 | 45c84e64a486a3c48bd41a78e28252acbc0cc1b0 | /src/net/http/alternative_service.h | 01cf43f19d89afa5bf7d833738844a8e4754e16c | [
"BSD-3-Clause",
"MIT"
] | permissive | stanleywxc/chromium-noupdator | 47f9cccc6256b1e5b0cb22c598b7a86f5453eb42 | 637f32e9bf9079f31430c9aa9c64a75247993a71 | refs/heads/master | 2022-12-03T22:00:20.940455 | 2019-10-04T16:29:31 | 2019-10-04T16:29:31 | 212,851,250 | 1 | 2 | MIT | 2022-11-17T09:51:04 | 2019-10-04T15:49:33 | null | UTF-8 | C++ | false | false | 7,713 | h | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef NET_HTTP_ALTERNATIVE_SERVICE_H_
#define NET_HTTP_ALTERNATIVE_SERVICE_H_
#include <stdint.h>
#include <algorithm>
#include <ostream>
#include... | [
"stanley@moon.lan"
] | stanley@moon.lan |
3e8c30c7f810a70cccd16bc194d2fe34d8b6cbf8 | 1b34eca216ede574a47747a396f8dd9fa37eab8a | /example_01_simple_measurement/example_01_simple_measurement.ino | 88adc4b30d3f062b878c39f8658bc2ed336cf100 | [] | no_license | 14CORE/arduino-liquid-flow-snippets | d77b05ebac9df87285ead6875ec56ee67ef10463 | f7d53683a53613a48fa1822d64454ab98d9abd60 | refs/heads/master | 2021-06-22T05:10:41.480855 | 2017-08-11T20:14:29 | 2017-08-11T20:30:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,963 | ino | /*
* Copyright (c) 2017, Sensirion AG
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright notice, this
* list of conditio... | [
"andreas.brauchli@sensirion.com"
] | andreas.brauchli@sensirion.com |
71c19fe4884f4cc021a5e6c9640334cc014946fa | 6c48f80a8b74c01ae1edf93547fded5eba26536a | /common/datastructures/alignment/AlignmentMap.h | 16f521cdc8bcd3494562e4ee708c8e9d28eeea99 | [] | no_license | BioinformaticsArchive/blasr | d291d49ca5985399a387b297dd82901af331110f | 2c124a2b3f15d3b9932dffb97009025cbeaec68d | refs/heads/master | 2020-12-25T09:09:39.176768 | 2013-03-12T15:17:43 | 2013-03-12T15:17:43 | 9,436,305 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 835 | h | #ifndef ALIGNMENT_MAP_H_
#define ALIGNMENT_MAP_H_
#include <vector>
#include <string>
using namespace std;
class AlignmentMap {
public:
int qPos, tPos;
vector<int> alignPos;
};
// Build a map of positions from (unaligned) bases to an aligned sequence
void CreateSequenceToAlignmentMap(const string & alignedSeque... | [
"dalexander@pacificbiosciences.com"
] | dalexander@pacificbiosciences.com |
cab40c5b9a3a2517918966efce864ac99c7f6530 | 0c5ea74c89c3281691baf85b4692300698b5f155 | /lw4/GeometricShapes/CRectangle.h | b8f2f9ac9bf171632fc514074be2a18bf6b2a945 | [] | no_license | waslost0/oop | 6a3e3032eb8b1833245414023a9734982ae8c928 | 8676ae57700f5e0001bff680d159ddc0166a7d57 | refs/heads/master | 2023-01-14T03:13:25.547846 | 2020-11-10T12:39:18 | 2020-11-10T12:39:18 | 240,909,520 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 737 | h | #pragma once
#include "CPoint.h"
#include "Const.h"
#include "ISolidShape.h"
class CRectangle : public ISolidShape
{
public:
CRectangle(CPoint& leftTop, const double width, const double height, const std::string outlineColor, const std::string fillColor);
~CRectangle() = default;
double GetArea() const override;
... | [
"marcus.koh16.01.97@gmail.com"
] | marcus.koh16.01.97@gmail.com |
1437ec94ea5c0607185343995d2095c3861f52d9 | 8dbb27e6253b3912b36755746a277013c2698376 | /main.cpp | 6b3d02b13fbebec50cb9741c7c17248a681b4daf | [] | no_license | BielskiGrzegorz/GraMUD | dbd033dfb83df0ce5119c23374e3d8e7cf8e3556 | 28e53c77063a4d83fc832ed6c55bacbb30720f6c | refs/heads/master | 2021-05-09T20:28:57.470151 | 2018-01-24T00:58:42 | 2018-01-24T00:58:42 | 118,691,286 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,416 | cpp | #include "BazaDanych.h"
#include "GameManager.h"
#include "Klasa.h"
#include<iostream>
#include<string>
#include"Postac.h"
#include<conio.h>
#include <windows.h>
using namespace std;
int main()
{
BazaDanych baza;
Postac postac;
GameManager manager;
Wojownik woj;
Mag mag;
Zlodziej zlo;
Palladyn pal;
Klasa *ws... | [
"34401813+HajsSieZgadza@users.noreply.github.com"
] | 34401813+HajsSieZgadza@users.noreply.github.com |
3a0de1491aeb864ba858fdbb3515e41aeedccc14 | 0d755c32fc537b937905ea8534add792d1d72c1a | /main.cpp | c78cad33aa7d39e23b1f6ec24b5ffcfddfa989a6 | [] | no_license | pdrmdrs/hashTable | 4e976cfdb92d9e25279287922f30319e01fd8688 | df58f5c92b8e640ed8415d43490e9ac1aa20aadb | refs/heads/master | 2020-12-24T18:23:17.346338 | 2016-04-29T00:40:38 | 2016-04-29T00:40:38 | 57,164,152 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 868 | cpp | //
// main.cpp
// TabelaHash
//
// Created by Eiji Adachi Medeiros Barbosa on 23/04/16.
// Copyright (c) 2016 Eiji Adachi Medeiros Barbosa. All rights reserved.
//
#include "TesteTabela.h"
#include <iostream>
using namespace std;
int main(int argc, const char * argv[]) {
bool passouTeste = testar_Criar()... | [
"pdr_mdrs@hotmail.com"
] | pdr_mdrs@hotmail.com |
863655e382ccfee1cf6e5ead7da4c00dcf7ac220 | ef0f94420944dda7c5c56229a104670c4e7d9471 | /Flocking/Game.h | f51ee94d2f26896171c1fb09295e9d07a6dadd64 | [] | no_license | Laurareilly/Networked-Boids | b2fc0f752e3455c848ee5c4250fe8977243c5884 | 88a21b4254ba817e802cc5af8d3780c92913456d | refs/heads/master | 2021-07-13T07:53:44.292165 | 2017-10-14T03:47:17 | 2017-10-14T03:47:17 | 105,702,684 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,732 | h | #pragma once
#include "RakNet\WindowsIncludes.h"
#include "Trackable.h"
#include "PerformanceTracker.h"
#include "Defines.h"
#include <allegro5/allegro.h>
#include <allegro5/allegro_font.h>
#include <allegro5/allegro_audio.h>
#include <string>
class GraphicsSystem;
class GraphicsBuffer;
class GraphicsBufferManager;
c... | [
"laura.reilly@mymail.champlain.edu"
] | laura.reilly@mymail.champlain.edu |
5cd135b0893af417dfa510c74eb749208ef28324 | a5f2883a94c38d7b7d837c63002d7927adaf4a6c | /MfcCircCtrl/MfcCircCtrlPropPage.cpp | 2523af94772871ee5d30aacf0831040d81c408e7 | [] | no_license | dmxjMao/MyDemoPrj | 688b2275987c0c63d4f64c25ea5c1d60377c270a | a3ca03ef33fae648480a49ad50648e8310e1d949 | refs/heads/master | 2021-09-01T07:09:52.623778 | 2017-12-25T15:30:31 | 2017-12-25T15:30:31 | 104,610,064 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,314 | cpp | // MfcCircCtrlPropPage.cpp : CMfcCircCtrlPropPage 属性页类的实现。
#include "stdafx.h"
#include "MfcCircCtrl.h"
#include "MfcCircCtrlPropPage.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
IMPLEMENT_DYNCREATE(CMfcCircCtrlPropPage, COlePropertyPage)
// 消息映射
BEGIN_MESSAGE_MAP(CMfcCircCtrlPropPage, COlePropertyPage)
END_MESSA... | [
"920746980@qq.com"
] | 920746980@qq.com |
86225ac069ed01ca68fa288d2477e6c72057b663 | 5ec06dab1409d790496ce082dacb321392b32fe9 | /clients/cpp-tizen/generated/src/ComAdobeGraniteAuthOauthImplHelperProviderConfigManagerInfo.cpp | 1831d719d29c4bc71a90fbb3d1a92fb087529e40 | [
"Apache-2.0"
] | permissive | shinesolutions/swagger-aem-osgi | e9d2385f44bee70e5bbdc0d577e99a9f2525266f | c2f6e076971d2592c1cbd3f70695c679e807396b | refs/heads/master | 2022-10-29T13:07:40.422092 | 2021-04-09T07:46:03 | 2021-04-09T07:46:03 | 190,217,155 | 3 | 3 | Apache-2.0 | 2022-10-05T03:26:20 | 2019-06-04T14:23:28 | null | UTF-8 | C++ | false | false | 7,459 | cpp | #include <map>
#include <cstdlib>
#include <glib-object.h>
#include <json-glib/json-glib.h>
#include "Helpers.h"
#include "ComAdobeGraniteAuthOauthImplHelperProviderConfigManagerInfo.h"
using namespace std;
using namespace Tizen::ArtikCloud;
ComAdobeGraniteAuthOauthImplHelperProviderConfigManagerInfo::ComAdobeGrani... | [
"cliffano@gmail.com"
] | cliffano@gmail.com |
566a67e1c5aab11f0729b33b9d645df81a2e893e | 4e40762cf9ff6fd3162f71fbbd5883ef5378a9e2 | /ftp_client.cpp | c4a98fdd73a8e065c06e39e5016802c89f28d903 | [] | no_license | wshy1121/FileOpr | e828c0f51567ecfce6d98bce028c838d4d47d4f8 | 917399ed46600222b17ec44293fd532e706c19ce | refs/heads/master | 2021-01-01T04:55:18.832701 | 2016-05-27T06:50:36 | 2016-05-27T06:50:36 | 58,015,816 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 19,750 | cpp | #include <assert.h>
#include <string.h>
#include "ftp_client.h"
static int SplitString( std::string strSrc, std::list<std::string> &strArray , std::string strFlag)
{
int pos = 1;
while((pos = (int)strSrc.find_first_of(strFlag.c_str())) > 0)
{
strArray.insert(strArray.end(), strSrc.substr(0 , pos));
strSrc ... | [
"wshy1121@qq.com"
] | wshy1121@qq.com |
3580a2194b7d0779c52e8accb8da571ca308ceb5 | 0370b81e9ec3f1b1d4bf0da224a613ff576e8dd4 | /Not_Classified/uva_11039.cpp | f4e53fc426bcfe1270acf664db55e0d411ccf7a7 | [] | no_license | Rolight/ACM_ICPC | c511bc58ac5038ca521bb500a40fcbdf5468832d | 6208a20ea66a42b4a06249d97494c77f55121847 | refs/heads/master | 2021-01-10T22:08:48.336023 | 2015-07-17T21:46:48 | 2015-07-17T21:46:48 | 27,808,805 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,259 | cpp | #include <cstdio>
#include <cstring>
#include <iostream>
#include <map>
#include <set>
#include <vector>
#include <string>
#include <queue>
#include <deque>
#include <bitset>
#include <list>
#include <cstdlib>
#include <climits>
#include <cmath>
#include <ctime>
#include <algorithm>
#include <stack>
#include <sstream>
... | [
"flsnnx@gmail.com"
] | flsnnx@gmail.com |
8deb308023c3ef7691a5ca49552c2cb7117246bd | b3973b607e776fd40c52434a5bc1609218aa8c2f | /BoltzmannPhysics/xcode/CharacterEngine/Characters/Character.cpp | e9fad6ae96e7d150225761c6cc61bb21e33cb867 | [] | no_license | drewcummins/boltzmann-games | ff0e1adea03334ff5953cab4c4d384144b57041c | d80e3e2c16716cd60dbba2a73570411344f59277 | refs/heads/master | 2022-07-21T15:09:54.653309 | 2017-06-13T00:32:04 | 2017-06-13T00:32:04 | 84,253,672 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,049 | cpp | //
// Character.cpp
// BoltzmannPhysics
//
// Created by Drew on 3/15/17.
//
//
#include "Character.hpp"
#include "Constants.hpp"
using namespace bltz;
shared_ptr<Character> Character::create() {
return shared_ptr<Character>(new Character);
}
void Character::setup(float height, vec3 pelvisX) {
s = M... | [
"drew.f.cummins@gmail.com"
] | drew.f.cummins@gmail.com |
753fa09da137b8676576d216550da7fdb67b8bfa | ed836705563ed01174d0c40fd9a2c2582eb81e75 | /Módulo 8 - Imports/node_modules/lmdb/src/lmdb-js.h | 62c0ad01715b49483d596962ee527d69272c13a3 | [
"MIT"
] | permissive | Artsafort/Bootcamp_JS | 6f07e92d5aecdd38ceaa108323c678e93d3346be | 48d7586d1237c4730931267acee96353fd35d809 | refs/heads/master | 2023-08-16T23:09:24.556376 | 2023-08-03T10:55:39 | 2023-08-03T10:55:39 | 287,233,790 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,438 | h | #ifndef NODE_LMDB_H
#define NODE_LMDB_H
#include <vector>
#include <unordered_map>
#include <algorithm>
#include <ctime>
#include <napi.h>
#include <node_api.h>
#include "lmdb.h"
#include "lz4.h"
#ifdef MDB_RPAGE_CACHE
#include "chacha8.h"
#endif
using namespace Napi;
// set the threshold of when to use shared buff... | [
"artinsafarian@live.com"
] | artinsafarian@live.com |
b4b214d8d990d3945ba6b17ef69dc04c80c6ae06 | 1d9df1156e49f768ed2633641075f4c307d24ad2 | /base/trace_event/memory_dump_manager.cc | f4ac5be1b8b896b829e312edc05d330853611791 | [
"BSD-3-Clause"
] | permissive | GSIL-Monitor/platform.framework.web.chromium-efl | 8056d94301c67a8524f6106482087fd683c889ce | e156100b0c5cfc84c19de612dbdb0987cddf8867 | refs/heads/master | 2022-10-26T00:23:44.061873 | 2018-10-30T03:41:51 | 2018-10-30T03:41:51 | 161,171,104 | 0 | 1 | BSD-3-Clause | 2022-10-20T23:50:20 | 2018-12-10T12:24:06 | C++ | UTF-8 | C++ | false | false | 37,788 | cc | // Copyright 2015 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 "base/trace_event/memory_dump_manager.h"
#include <inttypes.h>
#include <stdio.h>
#include <algorithm>
#include <utility>
#include "base/alloc... | [
"RetZero@desktop"
] | RetZero@desktop |
a1626475144f1f81c0d87681db15c9398f560628 | 61b117590efcd83b7afaedda467470700c12b4d0 | /dayso.cpp | a6cf51fab93b822b5d47f253971a0ec1eec5fec4 | [] | no_license | hieuthanh1999/Algorithm_Ex | a8ef2341db76b0178df1c5a46894f52fc0de12a3 | cc5758c76ad6092e5f0fbb68cd1cc06f2d6eb17d | refs/heads/master | 2023-02-23T04:40:39.273254 | 2021-01-26T15:41:02 | 2021-01-26T15:41:02 | 333,130,839 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 388 | cpp | #include<bits/stdc++.h>
using namespace std;
#define N 100001
long n, a[N], b[N], c[N], k=0;
int main()
{
cin>>n;
for(int i=0; i<n; i++)
cin>>a[i];
for(int i=0; i<n; i++)
cin>>b[i];
for(int i=0; i<n; i++)
{
for(int j=0; j<n; j++)
{
c[k] = abs(a[i]+b[j]);
k++;
}
}
int min=c[0];
for(int i=0; i<... | [
"n.hieuhthanhps@gmail.com"
] | n.hieuhthanhps@gmail.com |
2cea3b6de7f28d88e05a4e11e44ce7f022d08d2e | 2e48f035ec01285f4231c3e5959c5b42942abbf7 | /SSheet/CF-A/Nightatthemuseum/main.cpp | d884dee6f23738a64797cec878cd65953fd83780 | [] | no_license | iamsaumya/Competitive-Coding | ec2997023a6cb86cfbd8c0aebd3b83bc50ca2ea3 | 16059bca865b4c5d91c98510e63cd9f7f6f4adfa | refs/heads/master | 2020-04-17T10:29:10.279675 | 2019-12-18T12:05:31 | 2019-12-18T12:05:31 | 166,502,933 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 486 | cpp | #include<bits/stdc++.h>
using namespace std;
#include <iostream>
int main()
{
string str;
int value;
int ptr = 'a';
int moves=0;
cin>>str;
int size = str.length();
for(int i=0;i<size;i++){
value = abs(ptr-str[i]);
if(value<=13){
moves +=value;
ptr = st... | [
"Sp160899@gmail.com"
] | Sp160899@gmail.com |
c5a8024f647f196950e2b40938e3b9407e6cb461 | 70472ba3a036434603611b78767f1828899967c7 | /MoxFiles/AudioChannelList.h | b0bb708b2b712bd66b1fe5fb8749fab7bdb9a41f | [
"BSD-2-Clause"
] | permissive | MOXfiles/libmox | 1fe4d79b22e492b251c0c5049ef1debba0b19f7a | d0ee0237ac710bd8f8bfc784be03a2c456da2aeb | refs/heads/master | 2021-01-22T12:12:25.202826 | 2017-06-09T17:46:06 | 2017-06-09T17:46:06 | 33,965,989 | 15 | 2 | BSD-2-Clause | 2020-04-24T12:57:19 | 2015-04-15T01:22:52 | C++ | UTF-8 | C++ | false | false | 5,665 | h | /*
* AudioChannelList.h
* MoxFiles
*
* Created by Brendan Bolles on 4/29/15.
* Copyright 2015 fnord. All rights reserved.
*
*/
#ifndef MOXFILES_AUDIOCHANNELLIST_H
#define MOXFILES_AUDIOCHANNELLIST_H
#include <MoxFiles/SampleType.h>
#include <MoxFiles/Types.h>
#include <string>
#include <map>
namespace Mo... | [
"brendan@fnordware.com"
] | brendan@fnordware.com |
58f1e3fdf51a5763fdc807c7150124b3a0ce6c0f | 6f2b6e9d77fc4dd5e1dae8ba6e5a66eb7c7ae849 | /sstd_boost/sstd/libs/mpl/test/remove_if.cpp | 7083277d5318df5c1a2c6aa4a559268f30a77261 | [
"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 | 1,478 | cpp |
// Copyright Aleksey Gurtovoy 2000-2004
// Copyright David Abrahams 2003-2004
//
// 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)
//
// See http://www.boost.org/libs/mpl for documentation.
// $Id$
// $Date$
// ... | [
"zhaixueqiang@hotmail.com"
] | zhaixueqiang@hotmail.com |
a6194b2b92d6d9516ddb3c019e6ab3c56ea096bd | 612325535126eaddebc230d8c27af095c8e5cc2f | /src/base/task_scheduler/scheduler_worker_params.h | f5d0d8a524f621f48d447674b387c38a4b89d69c | [
"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 | 808 | h | // Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef BASE_TASK_SCHEDULER_SCHEDULER_WORKER_PARAMS_H_
#define BASE_TASK_SCHEDULER_SCHEDULER_WORKER_PARAMS_H_
namespace base {
enum class Sched... | [
"2100639007@qq.com"
] | 2100639007@qq.com |
6adea48e04594795310efa8c626bbe5158e6cc15 | a08e005474521e6b10573aed863a3ff8067c9c13 | /src/qt/qrimagewidget.h | 9ab4965471032896fb11f562e6bad65b8164984f | [
"MIT"
] | permissive | BitcoinClassicDev/BitcoinClassic | c18048431dccd4346865f9c5ee3c079831c8adde | 87f76317eb80c25c54e9104c61bdf570fc7721f3 | refs/heads/master | 2020-09-16T00:57:59.563234 | 2019-12-02T19:18:14 | 2019-12-02T19:18:14 | 223,602,827 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,074 | h | // Copyright (c) 2011-2018 The BitcoinClassic Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_QT_QRIMAGEWIDGET_H
#define BITCOIN_QT_QRIMAGEWIDGET_H
#include <QImage>
#include <QLabel>
/* Maximum... | [
"root@DESKTOP-325AAR8.localdomain"
] | root@DESKTOP-325AAR8.localdomain |
930827b5042a361d8529a6b480d38b1ac227f1d9 | e4e1b52596d598247b14c06d466b32851cf596a4 | /Topc++.cpp | 79c15ab03888e991a6cba1df1b62d26027c5ddfc | [] | no_license | ankitlohiya/TopCpp-Codes | caeb685c72f1d09c20d5c89888b42db279a175af | 9df675b369f14d79434c536895ce84536ebf31de | refs/heads/master | 2020-05-22T17:11:12.428820 | 2019-05-13T15:35:56 | 2019-05-13T15:35:56 | 186,448,018 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 798 | cpp | //Are private functions really private? Well...
//Checkout video at: https://youtu.be/TVKsaq7Bohs
#include <bits/stdc++.h>
using namespace std;
class SocialWebsite{
private:
protected:
public:
virtual void secret() {} ;
// void secret() {} ;
};
class Facebook: public SocialWebsite{
private:
... | [
"noreply@github.com"
] | ankitlohiya.noreply@github.com |
b7033129602a35e6d5e8ea864833cbe63f623d41 | 0b7e09b7cb929760bd406295657c8b092f7ead8b | /qtwayland/src/plugins/platforms/wayland_common/qwaylanddataoffer.h | fada683a2297ee6a41ae5b4abb05a5ba9acb7faf | [] | no_license | cxl000/qtwayland | 7eb6c33186d491a2f5049064fe0dad422a9cfd0a | 8abf0823e882df4db9fc07f0cdb8e3d27b99815b | refs/heads/master | 2020-12-11T09:13:29.174268 | 2013-08-15T00:22:09 | 2013-08-15T00:22:09 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,137 | h | /****************************************************************************
**
** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies).
** Contact: http://www.qt-project.org/legal
**
** This file is part of the plugins of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** Commercial License Usage
** Licensees holdi... | [
"robin+git@viroteck.net"
] | robin+git@viroteck.net |
9e650517dedabe0136f838ef2f0aa3816279e30b | b51e10ab5c6e4b9da1176a537c8e8064b7e95561 | /include/MyException.hpp | 440b92e24c6cd2a81abc3e86d5c058f6571f1a6a | [] | no_license | summer06/Agenda | 4bf465a7ae455f451107dfd755b167977ee468b1 | 51b0aea3bd0b71de6432a2fcbf8c8d9f124d4f30 | refs/heads/master | 2020-12-31T02:33:25.559452 | 2017-12-10T04:24:21 | 2017-12-10T04:24:21 | 68,387,702 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 231 | hpp | #include <iostream>
#include <exception>
class MyException {
public:
MyException(const std::string error_type) {
error = error_type;
}
~MyException() {}
std::string what() {
return error;
}
private:
std::string error;
}; | [
"864409241@qq.com"
] | 864409241@qq.com |
2ecd205a09f54ac63a49346b9ae3dadeab1f47c7 | 4559502038e2da3d9a2f5cc4edf919af71fc5700 | /ConsoleApplication3/ConsoleApplication3.cpp | 3dbcd100afa7f13c4c6234b4732402cad5f4b074 | [] | no_license | SergeySeydel/ConsoleApplication3 | ac6de1153b0b4e45b8467bdc911fb0e5bec64157 | 0b76908ccc3555392333b171e7e227e1a1177ab6 | refs/heads/master | 2023-02-09T02:04:52.193187 | 2020-12-29T15:42:54 | 2020-12-29T15:42:54 | 325,288,582 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,488 | cpp | #include <iostream>
#include <fstream>
#include <string>
#include <vector>
#include <sstream>
using namespace std;
template <class Container>
void Divider(const std::string& anotherline, Container& cont)
{
std::istringstream iss(anotherline);
std::copy(std::istream_iterator<std::string>(iss), std::istream_iterat... | [
"s.filyaev@mail.ru"
] | s.filyaev@mail.ru |
cea0605f64fefc37d7672f36fe379104921f5d4f | d533ea535c8a640278a806f8487a143d691997da | /infoarena edu/evaluare.cpp | c5eb07afe18ba58695d3d078e1510767ccf09736 | [] | no_license | VladCincean/infoarena | 964fd8091e3b9675d39c6844030a5f51d73e2430 | 2753d2e72b77b46f8bc9f46673676e83bbc68279 | refs/heads/master | 2021-01-13T16:57:11.702688 | 2016-12-24T21:14:36 | 2016-12-24T21:14:36 | 77,299,850 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,499 | cpp | #include <stdio.h>
#define MAXN 100001
long long eval_expr_order_0(char **str);
long long eval_expr_order_2(char **str) {
long long result;
char *s;
result = 0;
s = *str;
if (*s == '(') {
s++; // pass '('
result += eval_expr_order_0(&s);
s++; // pass ')'
}
else while ('0' <= *s && *s <= '9') {
result... | [
"cvie1883@scs.ubbcluj.ro"
] | cvie1883@scs.ubbcluj.ro |
70ef1103506a8d04e51f31be79ce980c21eadd92 | 7d023c350e2b05c96428d7f5e018a74acecfe1d2 | /my_auv2000_ros/devel/include/std_msgs_stamped/Float64Stamped.h | a137ac1af8627c369bc709bdcb11b52f44e45991 | [] | no_license | thanhhaibk96/VIAM_AUV2000_ROS | 8cbf867e170212e1f1559aa38c36f22d6f5237ad | fe797304fe9283eaf95fe4fa4aaabb1fe1097c92 | refs/heads/main | 2023-06-06T14:15:39.519361 | 2021-06-19T06:01:19 | 2021-06-19T06:01:19 | 376,807,938 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,048 | h | // Generated by gencpp from file std_msgs_stamped/Float64Stamped.msg
// DO NOT EDIT!
#ifndef STD_MSGS_STAMPED_MESSAGE_FLOAT64STAMPED_H
#define STD_MSGS_STAMPED_MESSAGE_FLOAT64STAMPED_H
#include <string>
#include <vector>
#include <map>
#include <ros/types.h>
#include <ros/serialization.h>
#include <ros/builtin_mes... | [
"thanhhaipif96@gmail.com"
] | thanhhaipif96@gmail.com |
a2bfa16e91c3eb456599aeb2205046aeb5a3791c | eec43b04a250260727e7d8bded8e923e57d27330 | /Programming Code/uva 260.cpp | bee88461c9e81c1ad22c4984d8e0c91ea08a5b60 | [] | no_license | ShafiqurRohman/Competitive-programming | 82e4c8c33c6e9e6236aca8daf4d6b24ce37089c6 | 84bdbe2abb7a6a927325c4c37ed8d15b1c082f2e | refs/heads/main | 2023-06-25T14:23:18.371879 | 2021-07-25T17:10:04 | 2021-07-25T17:10:04 | 318,260,815 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,804 | cpp | #include<bits/stdc++.h>
#define dbug printf("I am here\n");
#define Fast ios_base::sync_with_stdio(false); cin.tie(0);
#define vs v.size()
#define sot(v) sort(v.begin(),v.end())
#define rev(v) reverse(v.begin(),v.end())
#define ii pair<int, int>
#define int long lo... | [
"SHAFIQ@DESKTOP-O8CRK89"
] | SHAFIQ@DESKTOP-O8CRK89 |
152f8aee62a7b9d460bace0e5d074a5fb5589b34 | 6844d0f4aab41d037cd469133b83618dc0707f19 | /newton-4.00/sdk/dCollision/ndShapeChamferCylinder.h | eb6c0dce4acedf651dde32822822528444a6e253 | [
"Zlib"
] | permissive | VB6Hobbyst7/newton-dynamics | 3bb000676987723d2794374e2bddd8ccc66a6d70 | 368507c939004f5663f15410c203e2781a408530 | refs/heads/master | 2023-08-04T17:37:19.074998 | 2021-10-06T18:57:03 | 2021-10-06T18:57:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,942 | h | /* Copyright (c) <2003-2021> <Julio Jerez, Newton Game Dynamics>
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of this software.
*
* Permission is granted to anyone to use this software for any purpo... | [
"jerezjulio0@gmail.com"
] | jerezjulio0@gmail.com |
db712b8f6d2f4590d9f1b7b6be4f0cbc774345b1 | 44289ecb892b6f3df043bab40142cf8530ac2ba4 | /Sources/External/node/elastos/external/chromium_org/third_party/WebKit/Source/modules/modules_gyp/bindings/core/v8/V8SVGAnimatedNumberList.h | b9cef7c343ecb82ff3173b90fd896a01a10ef1ba | [
"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 | 5,111 | h | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY!
#ifndef V8SVGAnimatedNumberList_h
#define V8SVGAnimatedNumberList_h
#includ... | [
"gdsys@126.com"
] | gdsys@126.com |
85934a9cefac41bd65deed01e4a21a2c41ad7b5c | 47145fdb5e9a6eaf99c04012c8480bb8255a4c00 | /Bounce_Back_2/Public/LevelStreamerActor.h | 5feb1f1eec41ac8bd923bf31c22b56c4af79c4b9 | [] | no_license | Ozzyblade/bb2ohp2020 | a7127dae115325955b0019553b41bcc6e1ae7a13 | dc6e914790b5856d9a4ba1b2c155691fd84ba13b | refs/heads/master | 2022-11-17T21:47:04.181857 | 2020-07-13T13:41:15 | 2020-07-13T13:41:15 | 279,311,988 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 550 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/Actor.h"
#include "LevelStreamerActor.generated.h"
UCLASS()
class BOUNCE_BACK_2_API ALevelStreamerActor : public AActor
{
GENERATED_BODY()
public:
// Sets default values f... | [
"b6011786@my.shu.ac.uk"
] | b6011786@my.shu.ac.uk |
76df1f7c0fffa35d91654601c645ed165a61a652 | b410ebaf2a74822b387825465625bde72c08f96e | /src/script/interpreter.h | ecda38575a78d73ea2c27b8ab23c827ba719d094 | [
"MIT"
] | permissive | freelancerstudio/PoriunCoin | 925c94558dc03d2f8310bde14ab4768a923fd44b | 7d675d4d163702eb7072cafda52e7a58ef6e169c | refs/heads/master | 2023-04-21T20:56:55.178694 | 2021-05-06T08:46:03 | 2021-05-06T08:46:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,562 | h | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2018 The Bitcoin developers
// Copyright (c) 2018-2019 The Poriun Coin developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_SCRIPT_INTERPRET... | [
"hello@poriun.com"
] | hello@poriun.com |
e65b82be1f05e8a9c45718756b3aeda44807f9e0 | a8d0bb2f9a42320be0aa5e383f1ce67e5e44d2c6 | /Miscellaneous/011 niceWayRotateArray.cpp | cbb3ddce5b136552d223a1c14783e894ba483c76 | [] | no_license | camperjett/DSA_dups | f5728e06f1874bafbaf8561752e8552fee2170fa | f20fb4be1463398f568dbf629a597d8d0ae92e8f | refs/heads/main | 2023-04-19T18:18:55.674116 | 2021-05-15T12:51:21 | 2021-05-15T12:51:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 191 | cpp | vector<int> Solution::rotateArray(vector<int> &A, int B) {
vector<int> ret;
for (int i = 0; i < A.size(); i++) {
ret.push_back(A[(i + B)%(A.size())]);
}
return ret;
}
| [
"vasubansal1998@gmail.com"
] | vasubansal1998@gmail.com |
53a57fb63b34c3835f12af7c0cb0e6385618efa9 | 5d5a214f8433ceeb0a90712bfe8b61116b95267f | /build/linux-build/Sources/include/hxinc/game/Inventory.h | 8afed23d0b4980f7207bae2f06d7e2140db6d918 | [
"MIT"
] | permissive | 5Mixer/GGJ20 | 86cc3f42f29671889dddf6f25bfe641927cfa998 | a12a14d596ab150e8d96dda5a21defcd176f251f | refs/heads/master | 2022-12-09T09:55:03.928292 | 2020-02-02T03:52:50 | 2020-02-02T03:52:50 | 237,372,388 | 0 | 0 | MIT | 2022-12-05T06:26:15 | 2020-01-31T06:19:23 | C++ | UTF-8 | C++ | false | true | 2,211 | h | // Generated by Haxe 4.0.5
#ifndef INCLUDED_game_Inventory
#define INCLUDED_game_Inventory
#ifndef HXCPP_H
#include <hxcpp.h>
#endif
#ifndef INCLUDED_bonsai_entity_Entity
#include <hxinc/bonsai/entity/Entity.h>
#endif
HX_DECLARE_CLASS2(bonsai,entity,Entity)
HX_DECLARE_CLASS1(game,BodyPart)
HX_DECLARE_CLASS1(game,Inve... | [
"danielblaker@protonmail.com"
] | danielblaker@protonmail.com |
da573e651ad1c759e5e4a17d34e5ac1f1975cac1 | 055e54711691fa5f998154a38126bf2b5d2fa652 | /lib/extract_mvs.cc | 0455897e4de48a611bf4ae24ff2cecf040e09025 | [] | no_license | piercus/motionVector | a8067f134bc9addb3f3d90ee16e566c349144acd | ce92f38e5ba567988bf64b440c4cc99433de067e | refs/heads/master | 2021-05-04T09:10:02.409587 | 2017-08-29T15:23:53 | 2017-08-29T15:23:53 | 70,420,994 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,208 | cc |
/*
* Copyright (c) 2012 Stefano Sabatini
* Copyright (c) 2014 Clément Bœsch
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the righ... | [
"piercus@gmail.com"
] | piercus@gmail.com |
058f6a862c1afedd0efb87b4093494b70e2fa23d | 00c2d1cad4bfc768841380b30ea5de0a363f31a0 | /src/text.hpp | 5cc72dc11213ddc54ecff4012c65d5636a3e4c14 | [] | no_license | everhart/juicer | 4450319e2f0ddfd85372581507c6602fd4344b87 | 785a537399487872f54b1772fabaded97e8e4bf5 | refs/heads/master | 2020-11-23T23:33:47.208253 | 2019-12-13T15:21:20 | 2019-12-13T15:21:20 | 227,865,954 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 625 | hpp | #ifndef TEXT_HPP_
#define TEXT_HPP_
#include <vector>
#include <string>
#include <iostream>
#include "media.hpp"
#include "font.hpp"
namespace s2d {
class Text : public Media {
protected:
std::string message_;
void create_attribute_(const Font& font);
public:
Text(
const Font& font,
... | [
"rpe1618@icloud.com"
] | rpe1618@icloud.com |
0e99bf461909dceef328ceb0e02225f528f82609 | aeec67f03514eff7f7f0301dd220131d5e3421f5 | /dist/roslib/rtthread/components/tiny_ros/ros/service_server.h | 020944f58faf37741f941894d7855f564be3ddfb | [] | no_license | loulansuiye/tiny-ros | cfe910c26bf6e582c929dec6a3d6a0de0152e0b8 | 3b5f787352e01c8be62c08deb08ab5b78873dcac | refs/heads/master | 2022-04-26T02:40:10.035016 | 2020-04-19T06:18:46 | 2020-04-19T06:18:46 | 257,832,808 | 1 | 0 | null | 2020-04-22T08:03:04 | 2020-04-22T08:03:03 | null | UTF-8 | C++ | false | false | 2,595 | h | /*
* File : service_server.h
* This file is part of tiny_ros
*
* Change Logs:
* Date Author Notes
* 2018-04-24 Pinkie.Fu initial version
*/
#ifndef _TINYROS_SERVICE_SERVER_H_
#define _TINYROS_SERVICE_SERVER_H_
#include "tiny_ros/tinyros_msgs/TopicInfo.h"
#include "tiny_ros/ros/pub... | [
"363960870@qq.com"
] | 363960870@qq.com |
684ad32073d75607e9c0ec9314a0d0c64aac44c2 | 2005fe2f9c6a18df170477c8eca5090313e10ac4 | /mainwindow.h | f090f2c5cf5dcc7f6b3e8420a5587d07432eca72 | [] | no_license | m0m0likeyou/Kinect_gesture | c35858318414d05b033bd1d0c6bdd2a0d7489da7 | 3cd426b4d4b3d50533bb7b4098e40403ac835191 | refs/heads/master | 2021-01-22T19:04:12.007913 | 2013-10-01T16:36:59 | 2013-10-01T16:36:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,202 | h | #ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include "kinectreader.h"
#include "GestureRecognizer.h"
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow {
Q_OBJECT
public:
MainWindow(KinectReader& reader, QWidget *parent = 0);
~MainWindow();
protected:
vo... | [
"lutianming1005@gmail.com"
] | lutianming1005@gmail.com |
ad9b44a6ea9bb1435e244f99803d51ea9a36a44b | d13d854467ae8e7309e90a35789f7864ba954d76 | /dsadsadsadsada.cpp | 1755c512440313c4dac473985d1da198f6d0f5a3 | [] | no_license | SQP1999/SKT | 8e8f6e14f4436582dbbefaa82a7e3c5a3200f247 | f06cf9787e7c791e86561d851ed0a5b01cb8d1c7 | refs/heads/master | 2020-05-04T04:47:03.111246 | 2019-04-11T02:17:38 | 2019-04-11T02:17:38 | 178,973,817 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 4,943 | cpp | #include <stdio.h>
#include <stdlib.h>
#include <conio.h>
#include <windows.h>
#define High 15 // 游戏画面尺寸
#define Width 25
#define EnemyNum 10 // 敌机个数
// 全局变量
int position_x,position_y; // 飞机位置
int enemy_x[EnemyNum],enemy_y[EnemyNum]; // 敌机位置
int canvas[High][Width] = {0}; // 二维数组存储游戏画布中对应的元素
... | [
"noreply@github.com"
] | SQP1999.noreply@github.com |
1440e93a8673caebfbe1d90eb94b2d97a1fd81bd | 06be945222cda320732d546b51132764d56b06f6 | /webrtc/video_engine/vie_sender.cc | 051c56096d116ef8fec0dccac1ba53693b607d11 | [] | no_license | suxinde2009/native_webrtc | 8018b8fc26c89091a5e2c13f401bfd8a54dcd7ce | f074826790f7e57e44f95ccd0e640aa6c6c349bc | refs/heads/master | 2020-05-09T14:40:31.487502 | 2017-04-06T13:49:16 | 2017-04-06T13:49:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,979 | cc | /*
* Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contribut... | [
"dq5070410@126.com"
] | dq5070410@126.com |
ce71f9eb0308e9f072d9296aff70b41adf562f8d | 7ae8ec0dd750effd6c26a89e409095ad6076b3d7 | /src/source_clang.h | 71b09032eb2ecfe308b91b8bd77e8a03eef17f38 | [
"MIT"
] | permissive | AdamRobertHall/jucipp | 41de70274252eacfa076e36dc34a717e984b13f0 | 7516d1d9b0456d0814e0931e71e1b4f97e0369f1 | refs/heads/master | 2021-01-01T20:37:11.028478 | 2017-07-27T11:10:23 | 2017-07-29T10:31:23 | 98,897,821 | 1 | 0 | null | 2017-07-31T14:26:56 | 2017-07-31T14:26:55 | null | UTF-8 | C++ | false | false | 4,291 | h | #ifndef JUCI_SOURCE_CLANG_H_
#define JUCI_SOURCE_CLANG_H_
#include <thread>
#include <atomic>
#include <mutex>
#include <set>
#include "clangmm.h"
#include "source.h"
#include "terminal.h"
#include "dispatcher.h"
#include "autocomplete.h"
namespace Source {
class ClangViewParse : public View {
protected:
enum... | [
"eidheim@gmail.com"
] | eidheim@gmail.com |
226c6ecd55ba66c7610ca941c4cc591d6f5a9793 | 4021cc20733c8ead5c235d1f89e6a95ef1cf7386 | /campion.edu/tessst/main.cpp | 26e8d520e5521d088edbedeb2eed14777b184719 | [] | no_license | MicuEmerson/AlgorithmicProblems | 9462ca439f2c3b8dcf5bfccf5e3f061b3e0ff645 | 918a52853dd219ba315d1cb4a620cf85ed73b4fd | refs/heads/master | 2020-12-24T11:46:37.771635 | 2016-12-23T18:14:30 | 2016-12-23T18:14:30 | 73,013,087 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 368 | cpp | #include <iostream>
#include <vector>
using namespace std;
5 10 14 15 16
n = 20
template<class T>
vector < int > f(int n, vector < int > v)
{
for (int i = 1; i < v.size(); ++i)
{
for (int j = v[i - 1] + 1; j <= v[i] - 1; ++j)
v2.push_back(j);
}
return v2;
}
O(n + v.size())
i... | [
"micuemerson@gmail.com"
] | micuemerson@gmail.com |
e92766bdca64d4cdc0dc7d3f0b1e863443232c4a | b130cc5918ed507faa7d487cce1868d1e994d5ee | /graph/main.cpp | 06c1302fd8e477160b95d566403df4efac39f1fb | [] | no_license | yaaawner/graph | 8a11c10a36b8d03be1c39ae8bef52ef30a751258 | 034c1518ea74eda1297d3e368a3d11e2a092e873 | refs/heads/master | 2023-01-30T10:57:53.521268 | 2020-12-12T21:06:57 | 2020-12-12T21:06:57 | 313,405,874 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 36,120 | cpp | #define GLEW_STATIC
#include <GL/glew.h>
#include <GLFW/glfw3.h>
#include <iostream>
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <glm/gtc/type_ptr.hpp>
#include "Shader.h"
#include "Camera.h"
#include "ShaderSmoke.h"
#include "Load.h"
#include <vector>
#define WIDTH 1600
#define HEIGHT ... | [
"belyaevaolga881@gmail.com"
] | belyaevaolga881@gmail.com |
45bdee070110b9e42b9dfb311d47797962757bf4 | 0f19568208d224b6b094542cdc7078002ecf5c3a | /ivp/src/lib_ipfview/QuadSet.h | 06c6fdd5446dc5378df2c774fbafaf0098cc5809 | [] | no_license | scottsideleau/MOOS-IvP-releases | 5e875d506f123d793e2c1568de3f3733791f7062 | bda2fc46bb7e886f05ab487f72b747521420ce86 | refs/heads/master | 2021-01-11T04:05:38.824239 | 2016-10-21T02:16:11 | 2016-10-21T02:16:11 | 71,249,151 | 1 | 1 | null | 2016-10-18T13:06:30 | 2016-10-18T13:06:29 | null | UTF-8 | C++ | false | false | 4,568 | h | /*****************************************************************/
/* NAME: Michael Benjamin, Henrik Schmidt, and John Leonard */
/* ORGN: Dept of Mechanical Eng / CSAIL, MIT Cambridge MA */
/* FILE: QuadSet.h */
/* DATE: July 4th 2006 ... | [
"msis@mit.edu"
] | msis@mit.edu |
fa43ce4e2092d08b2ae5719a12cc2aba8c17afa5 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/httpd/gumtree/httpd_old_hunk_3218.cpp | 7c56abd951cf80ab1f2dfe61e1dae697bb640348 | [] | 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 | 1,422 | cpp | }
int ssl_stapling_init_cert(server_rec *s, modssl_ctx_t *mctx, X509 *x)
{
certinfo *cinf;
X509 *issuer = NULL;
STACK_OF(STRING) *aia = NULL;
if (x == NULL)
return 0;
cinf = X509_get_ex_data(x, stapling_ex_idx);
if (cinf) {
ap_log_error(APLOG_MARK, APLOG_ERR, 0, s,
... | [
"993273596@qq.com"
] | 993273596@qq.com |
d4f67bc905bb817a55045bde3500d5e6954f7f9a | 9fd0b6465570129c86f4892e54da27d0e9842f9b | /src/runtime/libc++/test/localization/locales/locale.convenience/classification/iscntrl.pass.cpp | 0bd45ac6bc4a49442c62a551d52a93e9072d6723 | [
"BSL-1.0"
] | permissive | metta-systems/metta | cdbdcda872c5b13ae4047a7ceec6c34fc6184cbf | 170dd91b5653626fb3b9bfab01547612efe531c5 | refs/heads/develop | 2022-04-06T07:25:16.069905 | 2020-02-17T08:22:10 | 2020-02-17T08:22:10 | 6,562,050 | 39 | 11 | BSL-1.0 | 2019-02-22T08:53:20 | 2012-11-06T12:54:03 | C++ | UTF-8 | C++ | false | false | 899 | cpp | //===----------------------------------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------... | [
"berkus@exquance.com"
] | berkus@exquance.com |
ab5ba755a6e073c6996abccb811c132dfca56c83 | b02cc4f2655bbcb9dbb2d6b55ae5014ce3d2b425 | /RotaryEncoder.cpp | bf87d423fba090770fb95760334be39f1c7a6658 | [] | no_license | plskeggs/RotaryEncoder | 020986698a4a2791957f782180498c4646641b45 | 00a3a6972891ff8dce25fb3ce3384f54155e1977 | refs/heads/master | 2020-05-31T16:24:16.241259 | 2012-10-04T04:36:32 | 2012-10-04T04:36:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,812 | cpp | /******************************************************************************
* RotaryEncoder.cpp - Arduino library for reading RotaryEncoder encoders.
* Version 0.90
******************************************************************************/
#include "RotaryEncoder.h"
extern "C" {
#include <inttypes.h>... | [
"peters@Ganymede.(none)"
] | peters@Ganymede.(none) |
b4b19595f91bad8bee74ac51d00ae39377e54348 | 1d83a78e2223caf62d7ac2db26cb3816e7f31ac4 | /creek/Sink/WinKeySeqBundleSink.cpp | 6f60a3cc888648e3e4b18db31edd76e138448f00 | [] | no_license | EdgeFlow-dev/EdgeFlow | 6833c1a8da7310130cfbee457221ad9f67caadbb | 49e2b32cbeef9795abdd660c04b4a96551478ef5 | refs/heads/master | 2021-05-01T20:07:16.173012 | 2018-02-10T02:00:42 | 2018-02-10T02:00:42 | 120,829,710 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 798 | cpp | //
// Created by xzl on 8/25/17.
//
#define K2_NO_DEBUG 1
#include "WinKeySeqBundleSink.h"
#include "WinKeySeqBundleSinkEval.h"
//void WinKeySeqBundleSink<creek::kvpair>::ExecEvaluator
// (int nodeid, EvaluationBundleContext *c, shared_ptr<BundleBase> bundle_ptr)
//{
// if(this->get_side_info() == SIDE_INFO_JD) {
/... | [
"hj.bakhi@gmail.com"
] | hj.bakhi@gmail.com |
8d0fd74f2217db640b6ae91c0518c9bc0731ab88 | 7ab8c9a56051e8f7eded0e843c18ec2fa858d476 | /new/src/drobot/device/vestibular/channel/vestibularmagneticfieldchannelfactory.cpp | 2c66d0a9847e41f0a401e953cedd38b80ea98122 | [] | no_license | imanoid/drobot | ee031d0464e01d59604fabb2112dba01805b2722 | e8822555714f45fe5f8288320ccc8bea6f5c5b33 | refs/heads/master | 2020-04-09T07:34:56.942403 | 2013-12-02T13:37:57 | 2013-12-02T13:37:57 | 10,108,505 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,510 | cpp | #include "vestibularmagneticfieldchannelfactory.h"
#include "vestibularmagneticfieldchannel.h"
#include "../../channel/linearnormalizer.h"
#include <boost/lexical_cast.hpp>
#include "../vestibular.h"
namespace drobot {
namespace device {
namespace vestibular {
namespace channel {
VestibularMagneticFieldChannelFactory... | [
"imanol.studer@gmail.com"
] | imanol.studer@gmail.com |
b13011622cb1731354cad3ba421a9ce1ed84347e | 1c77a3a504aa67b67b8b01ee7fa311816906472b | /4INFIX.CPP | c342c56e9dce8af1068bb199393c824296758506 | [] | no_license | Ritvik07Mahajan/DS | 26b4d012db628997f18e0283ab0b72e97ea57d3d | 30fe6375f5f7a38133143e28cb321240a5e6d10c | refs/heads/master | 2022-11-22T04:40:33.620483 | 2020-07-26T18:35:00 | 2020-07-26T18:35:00 | 282,710,274 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,550 | cpp | // conversion of infix to postfix expression
#include<stdio.h>
#include<conio.h>
#include<ctype.h>
char opstk[100];
int top=-1;
int arr[100];
int i=0;
void push(char a)
{
top++;
opstk[top]=a;
}
char pop(){
return opstk[top--];
}
int priority(char a)
{
if(a=='$'&& opstk[top]=='$')
return 1;
if(a=='... | [
"noreply@github.com"
] | Ritvik07Mahajan.noreply@github.com |
3ce3e2c4f106699940afc0391d2081e225eed983 | 4fc10b326682128ff6a92a927c8ec44d71d08824 | /src/ui/input/drivers/usb-hid/function/two-endpoint-hid-function.cc | 43d9f8cd0cf2cc0ad00880547f5c871417cf4163 | [
"BSD-2-Clause"
] | permissive | dahliaOS/fuchsia-pi4 | f93dc1e0da5ed34018653c72ceab0c50e1d0c1e4 | 5b534fccefd918b5f03205393c1fe5fddf8031d0 | refs/heads/main | 2023-05-01T22:57:08.443538 | 2021-05-20T23:53:40 | 2021-05-20T23:53:40 | 367,988,554 | 5 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 9,865 | cc | // Copyright 2019 The Fuchsia 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 "two-endpoint-hid-function.h"
#include <assert.h>
#include <lib/ddk/debug.h>
#include <lib/ddk/driver.h>
#include <lib/ddk/metadata.h>
#include <... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
4832d2ddb1b470a97881c544790276f0dbec50a1 | 0613f729dbd955075eae473908e27a2d564af393 | /EPALIN(z-algo).cpp | 25586f7ebddb8dc8bd1bdc4a6c057aca00928999 | [] | no_license | Masud-Parves/SPOJ-Solutions | f38adb6ccc4b46438240e289eedd8f85b4e21274 | 64c6e2f3813a42ffcb1a6ea3b5c5e9307812125d | refs/heads/master | 2022-05-10T06:33:18.948776 | 2022-05-08T04:44:26 | 2022-05-08T04:44:26 | 159,447,037 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,462 | cpp | #include<bits/stdc++.h>
using namespace std;
/*
Bismillahir Rahmanir Rahim
SPOJ EPALIN - Extend to Palindrome
Problem Link :
Topics : Z- Algorithm
Solver : Masud Parves
I Love Code More than Sharks Love Blood <3
*/
#define ff first
#define ss second
#define pb p... | [
"pervej.cse1011@gmail.com"
] | pervej.cse1011@gmail.com |
e10532ad2428c1a6c4e9786849817c3f7ba137d0 | e781b0e159e237b6c9c5e7cf3901a53b76daf071 | /GameControl.cpp | 993957984cc0b4c0beeb1a557dc16f8e019239e0 | [] | no_license | BoffinZhang/Gomoku_AI | f78e303348011353ccc6ec5542e145efa4b78639 | b9666605278db05b5a206d19880dd3c4c2e01d7e | refs/heads/master | 2022-10-10T12:38:01.345843 | 2020-06-09T07:25:27 | 2020-06-09T07:25:27 | 270,932,336 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 6,966 | cpp | #include "GameControl.h"
// 游戏主循环
void GameControl::mainloop()
{
// 对局设定:
// 1. 人机模式or人人模式or机机对战模式
// 2. 玩家先手or玩家后手
int game_mode;
int is_human_first;
Player *player1, *player2;
cout << "选择游戏模式:人机对弈-0,人人对弈-1,机机对弈" << endl;
cin >> game_mode;
if (game_mode == 3) {
player1 = new AIPlayer(blac... | [
"noreply@github.com"
] | BoffinZhang.noreply@github.com |
cc173b8f48c5ae75dd8956a6c475a94e886a2363 | 234efff5291e2ab5e87ef71eb8ad80ec3b1854a2 | /TestingHexThrombus/processor13/0.0025/s | fea12d543db3e3364aca53f2dab3f2b3ebf9d90c | [] | no_license | tomwpeach/thrombus-code | 5c6f86f0436177d9bbacae70d43f645d70be1a97 | 8cd3182c333452543f3feaecde08282bebdc00ed | refs/heads/master | 2021-05-01T12:25:22.036621 | 2018-04-10T21:45:28 | 2018-04-10T21:45:28 | 121,060,409 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,615 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.1.1 |
... | [
"tom@tom-VirtualBox.(none)"
] | tom@tom-VirtualBox.(none) | |
086e9e17557d8ae16b72d39c50ea83480cd92ac3 | c2fc4673b511b347b47158be96e6bf1f01e3f167 | /extras/jbcoin-libpp/extras/jbcoind/src/test/rpc/OwnerInfo_test.cpp | 413bc5141e1b190a267b0c7d318141e3426a9830 | [
"MIT-Wu",
"MIT",
"ISC",
"BSL-1.0"
] | permissive | trongnmchainos/validator-keys-tool | 037c7d69149cc9581ddfca3dc93892ebc1e031f1 | cae131d6ab46051c0f47509b79b6efc47a70eec0 | refs/heads/master | 2020-04-07T19:42:10.838318 | 2018-11-22T07:33:26 | 2018-11-22T07:33:26 | 158,658,994 | 2 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 7,747 | cpp | //------------------------------------------------------------------------------
/*
This file is part of jbcoind: https://github.com/jbcoin/jbcoind
Copyright (c) 2017 Jbcoin Labs Inc.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby grante... | [
"trongnm@chainos.vn"
] | trongnm@chainos.vn |
89f589d5ba95f1a1ae06025cd636ac86f7f998df | 2d6f4d27707c9f2b42dee909a95f5f0ba35852d0 | /arduino_run_main_wo_calibration/ir_read_fuc.ino | 7a8ab2ed12e00cf13ba9f0736126f09bbf29938a | [] | no_license | taeyoulee/taeyoulee_arduino | 76c5fa982ac23cd4f0731e04ad883f6a3a8b91d7 | 858b95c0d6f70c0ec2e9462c61031b5da900ddca | refs/heads/master | 2021-01-18T14:13:52.664161 | 2015-04-01T08:58:27 | 2015-04-01T08:58:27 | 32,367,047 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,333 | ino | #include <Motors.h>
#include "DualVNH5019MotorShield.h"
#include "SingleWheelEncoders.h"
#include "PID_v1.h"
#include "PinChangeInt.h"
#include <cstring.h>
#include <Servo.h> // Include Servo library
Servo myservo; // create servo object to control ... | [
"taeyoulee@gmail.com"
] | taeyoulee@gmail.com |
e702d49c2042d2ee9e7c98ebc628675c4000c948 | 08cf73a95743dc3036af0f31a00c7786a030d7c0 | /Editor source/OtE/Edgewalker/Terrain/TiledTerrain.h | 443930a2367f0b6c8eaeef8ba1666a4310180cdc | [
"MIT"
] | permissive | errantti/ontheedge-editor | a0779777492b47f4425d6155e831df549f83d4c9 | 678d2886d068351d7fdd68927b272e75da687484 | refs/heads/main | 2023-03-04T02:52:36.538407 | 2021-01-23T19:42:22 | 2021-01-23T19:42:22 | 332,293,357 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 6,966 | h | // On the Edge Editor
//
// Copyright © 2004-2021 Jukka Tykkyläinen
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software
// and associated documentation files (the "Software"), to deal in the Software without
// restriction, including without limitation the rights to u... | [
"jukka.tykkylainen@gmail.com"
] | jukka.tykkylainen@gmail.com |
8464040960b737f5d400c47e53cf5f1fcd1ea181 | c93cf31d7c358fa15f447da0144448e61078470c | /src/bookmarksmodel.h | e6fa591e755abe01d97c66ce9c03e56d47ee6612 | [
"MIT"
] | permissive | drgogeta86/LinksBag | 75165e0d2d2404568bea30b941ce863fa406a54b | d72372d28ec5a5636396d83976dac9582cffa6ab | refs/heads/master | 2021-01-18T04:59:25.775586 | 2015-01-16T12:18:42 | 2015-01-16T12:18:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,245 | h | #pragma once
#include <QAbstractListModel>
#include "bookmark.h"
namespace LinksBag
{
class BookmarksModel : public QAbstractListModel
{
Q_OBJECT
Bookmarks_t Bookmarks_;
public:
enum BookmarkRoles
{
BRID = Qt::UserRole + 1,
BRUrl,
BRTit... | [
"MaledictusDeMagog@gmail.com"
] | MaledictusDeMagog@gmail.com |
32e4ed056139b9570e23a37d4c4d493b6eb594c6 | a12a5400c9459ba4634165c4f389b36f4a520f8a | /examples/RTDB/DataFilter/DataFilter.ino | f9a7878045ae369a55210934b3af3ddc2c4a462e | [
"MIT",
"LicenseRef-scancode-other-permissive"
] | permissive | MarcoGrimaldo/Firebase-ESP-Client | 354d0816456a7d70376a6112409a8d624d5025f7 | fa587b5a2cb1da0737220457312230d4c4fbf532 | refs/heads/main | 2023-05-02T06:12:40.972709 | 2021-05-22T14:22:48 | 2021-05-22T14:22:48 | 369,896,578 | 1 | 0 | MIT | 2021-05-22T20:06:20 | 2021-05-22T20:06:20 | null | UTF-8 | C++ | false | false | 3,864 | ino | /**
* Created by K. Suwatchai (Mobizt)
*
* Email: k_suwatchai@hotmail.com
*
* Github: https://github.com/mobizt
*
* Copyright (c) 2021 mobizt
*
*/
//This example shows how to construct queries to filter data.
#if defined(ESP32)
#include <WiFi.h>
#elif defined(ESP8266)
#include <ESP8266WiFi.... | [
"k_suwatchai@hotmail.com"
] | k_suwatchai@hotmail.com |
c30826d34af8e295dbe5038cac1b146d88e54d3f | e0d1818aa1f29bca77621b151a1b8c55f3143844 | /h/Event.h | 3949b9df27435a446fa9a99f6f8d08738397a26e | [] | no_license | IgorKaric/Custom-operating-system | c7e54373098ad487fff66521b178499f78649dc0 | 1e92f8ab1586ad22eeda6343e4f5bdc971937ec0 | refs/heads/main | 2023-06-13T04:18:10.530647 | 2021-07-09T15:05:57 | 2021-07-09T15:05:57 | 384,472,249 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 590 | h | #ifndef _event_h_
#define _event_h_
#include "IVTEntry.h"
#define PREPAREENTRY(numEntry, callOld)\
void interrupt inter##numEntry(...); \
IVTEntry newEntry##numEntry(numEntry, inter##numEntry); \
void interrupt inter##numEntry(...) {\
newEntry##numEntry.signal();\
if (callOld == 1)\
newEntry##numEn... | [
"noreply@github.com"
] | IgorKaric.noreply@github.com |
7e1a83925180ccc5123aa7c77128260b70a5866d | c882031ebb661fb255da613c8d5d1e200590dd2e | /src/ppl/nn/engines/x86/impls/src/ppl/kernel/x86/fp32/conv2d/direct_ndarray/avx512/conv2d_n16cx_direct_ndarray_kernel_fp32_avx512.h | 7c03a6dded4e1edb69d4f49dcb8e3a4a4a511020 | [
"Apache-2.0"
] | permissive | zhen8838/ppl.nn | 2064342b9986e061c3ac3e32fba9a7059894f4fe | 5d56662bf5a288898f0dd5b90f763459cc86f47a | refs/heads/master | 2023-06-11T04:19:01.913872 | 2021-07-09T04:26:11 | 2021-07-09T04:27:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,778 | 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 may... | [
"openppl.ai@hotmail.com"
] | openppl.ai@hotmail.com |
4b1f428b547d416a6f531e8412becc9341f448b0 | 10bb2b73c33e1f2a944d884f65e8a503db3e0657 | /src/timedata.cpp | 9f5dd24375c266e5ddb60700251a3c2a34a09434 | [
"MIT"
] | permissive | SapphireCoreCoin/SAPP | 057a7d45d26fd671682e83856be0a0144382c455 | 468ee15a9bb2019de0fa6a2870d3282215093ac7 | refs/heads/master | 2020-05-25T21:35:59.979712 | 2020-01-12T19:02:34 | 2020-01-12T19:02:34 | 188,001,103 | 6 | 12 | MIT | 2020-01-18T16:29:17 | 2019-05-22T08:57:08 | C++ | UTF-8 | C++ | false | false | 3,672 | cpp | // Copyright (c) 2014-2017 The Bitcoin developers
// Copyright (c) 2017-2018 The PIVX developers
// Copyright (c) 2019 The SapphireCore developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "timedata.h"
#include "... | [
"49686299+SapphireCoreCoin@users.noreply.github.com"
] | 49686299+SapphireCoreCoin@users.noreply.github.com |
200bcc6b295d10bdb34207d63a5671bbfca3d511 | 95b9e9dce6c37c318211e2da17baeb6ebfe4e78f | /03-FEA-1D-IsoparametricElements/C-Code/UserDefinedFunctions.h | 07e7308ed86b4edc860b9815f368bcebb36f92b5 | [] | no_license | ming91915/FiniteElementAnalysis | b1425840feaa98ad635e4fa149d36eec7638516c | cc228422b1d991fe561dbd7e4021a30d6f09e0e2 | refs/heads/master | 2020-03-23T03:03:45.111832 | 2018-06-10T01:39:12 | 2018-06-10T01:39:12 | 141,007,099 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 498 | h | #include <iostream>
using namespace std;
double UMAT(double x);
double DLODA(double x);
double UAREA(double x);
//Define E function
double UMAT(double x){
double eval;
if(x<=3.0){
eval = 20 * x;
}else if(x<=6.0){
eval = 10 * x + 20;
}else{cout << "x is out of range" << endl;}
return(eval);
}
double DLOAD(d... | [
"dxzhu@DXZhus-MacBook-Air.local"
] | dxzhu@DXZhus-MacBook-Air.local |
638c8ef5ff131bd42705b825dc4317f46870cdd1 | 21b5b3116ba4bc1ade58cb80d63e3beb25127590 | /gearoenix/render/graph/node/rnd-gr-nd-shadow-mapper.cpp | 7131bd58c82c5bb7ec46237c400ed7f7bbd048fc | [] | no_license | bmjoy/gearoenix | 54ac24d088627af16208e7e98f6d3c317b9b5ca0 | 0b6c0c3c19899d99272a2b5168197c7880fa0fc3 | refs/heads/master | 2022-04-17T15:31:42.942367 | 2020-04-21T02:19:08 | 2020-04-21T02:19:08 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,149 | cpp | #include "rnd-gr-nd-shadow-mapper.hpp"
#include "../../../core/asset/cr-asset-manager.hpp"
#include "../../../core/sync/cr-sync-kernel-workers.hpp"
#include "../../buffer/rnd-buf-framed-uniform.hpp"
#include "../../buffer/rnd-buf-manager.hpp"
#include "../../buffer/rnd-buf-uniform.hpp"
#include "../../command/rnd-cmd-b... | [
"hossein.noroozpour@gmail.com"
] | hossein.noroozpour@gmail.com |
814b9039e8f782741c17697b131c3494d4719ba9 | cdfe20d2672ff2f0f85c8622b9e3d44942773782 | /scopeIsForWimps.cpp | 4f5d60833cdc695010a4c180544e3b7f721c8463 | [] | no_license | paullua/scopeIsForWimps | 175a9a27707af47a13fbbe245a882f2a2f4f5304 | 3876ff546199efa5a1c3df57a4a612cb7a50b1ea | refs/heads/master | 2020-04-27T14:51:11.014851 | 2019-03-06T23:53:54 | 2019-03-06T23:53:54 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,931 | cpp | /***********************************************************************
* Program:
* Scope is for Wimps - Calendar Application
* Author:
* Adam Kahmann
* Summary:
* A simple application that will display the calendar month of a given
* month and day. However, I must abide by these rules:
*
* 1. Can't pa... | [
"akahmann93@gmail.com"
] | akahmann93@gmail.com |
4fa6d1268e04aa029c7c65596e998df53dbae233 | 4ad0dddd7a6e29b31d5780bf6dec6ebad776cf73 | /Fireworks/Core/src/FWTTreeCache.cc | addeafb54ad1080a9acd146b98f8453c65e83498 | [
"Apache-2.0"
] | permissive | llechner/cmssw | 95dcd6ae0ced5546853778c6ebdf0dd224030215 | 419d33be023f9f2a4c56ef4b851552d2d228600a | refs/heads/master | 2020-08-26T20:20:28.940065 | 2018-10-18T09:24:51 | 2018-10-18T09:24:51 | 131,112,577 | 0 | 0 | Apache-2.0 | 2019-10-23T17:59:17 | 2018-04-26T06:51:19 | C++ | UTF-8 | C++ | false | false | 3,577 | cc | #include "FWTTreeCache.h"
#include "TChain.h"
#include "TTree.h"
#include "TEventList.h"
#include <climits>
FWTTreeCache::FWTTreeCache() :
TTreeCache()
{}
FWTTreeCache::FWTTreeCache(TTree *tree, Int_t buffersize) :
TTreeCache(tree, buffersize)
{}
FWTTreeCache::~FWTTreeCache()
{}
//============================... | [
"mtadel@ucsd.edu"
] | mtadel@ucsd.edu |
5f9cccd3e1ed4ee50e0c5f9163b4d2b6a1f67be6 | 4cc3b4aa2b7d9f5467d88785bb42653e98bc302a | /menghitung nilai mahasiswa.cpp | f521253621ff30b0e8c490706494aaf16661a24a | [] | no_license | khafid-gionino/C- | 275a3938ea8a2625a47c30604ff3c3bbac804b8c | 544da8afa581783f729c79beb688dcb22c82151b | refs/heads/master | 2021-08-23T17:25:32.441057 | 2017-12-05T21:47:34 | 2017-12-05T21:47:34 | 113,182,443 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 614 | cpp | #include <iostream>
using namespace std;
int main()
{
float tugas, quis, uts, uas;
float nilai_total;
float bobot_tugas, bobot_quis, bobot_uts, bobot_uas;
cout<<"input nilai tugas = ";
cin>>tugas;
cout<<"input nilai quis =";
cin>>quis;
cout<<"input nilai uts =";
cin>>... | [
"noreply@github.com"
] | khafid-gionino.noreply@github.com |
42fac7c722d0500a3bd95a74de04725748b03609 | e662e1cb067dccd8a0a3babb1bb72d45f1f82e7e | /src/qt/rpcconsole.h | 3cfab835de647133129289a6f6c8c359bda55b4d | [
"MIT"
] | permissive | mhannigan/nitrous | 98cd91e606cc7db5367e007fd1669281639f25de | da7aac717b5c51fdbe2229e2546f0ffbff47a4d3 | refs/heads/master | 2020-03-19T00:38:18.311951 | 2018-07-02T23:35:57 | 2018-07-02T23:35:57 | 135,494,454 | 0 | 3 | MIT | 2018-05-31T04:46:52 | 2018-05-30T20:31:13 | C++ | UTF-8 | C++ | false | false | 3,808 | h | // Copyright (c) 2011-2014 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCOIN_QT_RPCCONSOLE_H
#define BITCOIN_QT_RPCCONSOLE_H
#include "guiutil.h"
#include "peertablemodel.h"
#include "n... | [
"root@ip-172-31-87-157.ec2.internal"
] | root@ip-172-31-87-157.ec2.internal |
27fbb4248659b67f7570f032a720f34eddb58d84 | a26b987add5a3ef9a4e85ef18b837fcad5618b4c | /CheesyPoofCode/Autonomous/AutoModeSelector.h | 00123c0da8f4517a98b6bd7ca60d7f52657af53d | [] | no_license | wildstang/2010_software | 74044b0200ba9e41ee2a8dc5f61aa23c54b1e12c | ec8fe9f25230fe0d162550cb98e4c41b0b2b097e | refs/heads/master | 2021-08-11T21:23:42.229962 | 2013-04-24T00:06:45 | 2013-04-24T00:06:45 | 67,354,986 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 873 | h | #ifndef _AUTO_SELECTOR_H
#define _AUTO_SELECTOR_H
#include <string>
#include "../Controllers/AutoModeController.h"
// Note:
// This all sucks.
// I want to change it
class AutoModeSelector{
public:
enum AutoModes{
amFirst = 0,
amFarZoneBounce,
amFarZoneNoBounce,
amMiddleZone,
amMiddleZon... | [
"slider6791@gmail.com"
] | slider6791@gmail.com |
4258f78704c1e20bdcba5df29bc55139b7f95118 | 4f2b6eeff4edef9e9fc36574a4377bf6b2cafe31 | /HihoCoder/old/state_dp.cpp | d3dc21d3af62805a0a67d920d7017d499a464c8d | [] | no_license | LimitW/ACM-repo | 9f00ae4dc88cb9b7576347914916b47dd854a40a | f7c01bf1a0f2c7e039fa8c932d9565789bdd268b | refs/heads/master | 2021-01-24T15:06:51.379270 | 2016-06-30T14:55:32 | 2016-06-30T14:55:32 | 36,651,487 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,149 | cpp | /************************************************
* Title:
* Author:LimitW
* Date:2014.8.25
* Source:Hihocoder week 8
* Note:状态压缩dp
*************************************************/
#include <iostream>
#include <cstring>
#include <cstdio>
#include <cstdlib>
#include <cmath>
#include <string>
#inclu... | [
"hbdgwb13@gmail.com"
] | hbdgwb13@gmail.com |
fb076ab656e0a2f84b65a30b94b1e6a884e87edb | a59150b3ac9d43e59e590e13d4cb03e08d5a387f | /testing/testing_cpotrf_msub.cpp | 6c3ae43f50ede0d98818e6ca95995d2057ad7e38 | [] | no_license | schevalier/clmagma | 5856f78140fcd6f66aac32734bba759a15627567 | 05972282d055c36c55cfd5d4d2beed39ce48485f | refs/heads/master | 2021-01-18T09:57:21.319855 | 2014-08-12T17:54:32 | 2014-08-12T17:54:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 13,784 | cpp | /*
* -- clMAGMA (version 1.1.0) --
* Univ. of Tennessee, Knoxville
* Univ. of California, Berkeley
* Univ. of Colorado, Denver
* @date January 2014
*
* @generated from testing_zpotrf_msub.cpp normal z -> c, Fri Jan 10 15:51:19 2014
*
**/
// includes, system
#include <stdlib.h>
#include <stdio... | [
"lecaran@gmail.com"
] | lecaran@gmail.com |
e3c96ee5938486cdad40b8a19be255e049cda7f6 | 75bd815c782d58c808b0257855bc1e8c7655035b | /Arrays/Sum_of_two_arrays.cpp | 1d236c7e493596e0cf5cd74ed66204457db2cba6 | [] | no_license | divyanshudob/CodingBlocks-HackerBlocks_Solutions | 6fbb77c5d7181b52927a9e30da38043e3c9d74f1 | dab9e0058d18c8e0ca337a4537bdabb4d5d6bc4c | refs/heads/main | 2023-07-17T22:44:39.668693 | 2021-08-12T03:02:43 | 2021-08-12T03:02:43 | 380,254,907 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 885 | cpp | #include <iostream>
using namespace std;
void calculate(int a[], int b[], int n, int m)
{
int sum[n];
int i = n - 1, j = m - 1, k = n - 1;
int carry = 0, s = 0;
while (j >= 0) {
s = a[i] + b[j] + carry;
sum[k] = (s % 10);
carry = s / 10;
k--;
i--;
j--;
}
while (i >=... | [
"noreply@github.com"
] | divyanshudob.noreply@github.com |
479620782c77cf005ffeb899d8a96834f558c3e0 | 3c44b829bae4b1ccbcb6acdb29f979e5609af7c7 | /cppfile.cpp | 495bd643f5f39fe4a68ce5cfd6ca92f6502a8eaa | [] | no_license | AhmadQasim/network_lab3 | 481980f94cf3e1c0254b6738ffd85bb240aafe9d | 8d603e00ebf4cf3438260338224fdd492063170e | refs/heads/master | 2021-01-20T02:53:26.080112 | 2015-03-05T14:38:42 | 2015-03-05T14:38:42 | 31,673,159 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,927 | cpp | #include <pthread.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <netinet/in.h>
#include <netdb.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
#include <errno.h>
#include <arpa/inet.h>
#include <fcntl.h>
void *client(void *port)
{
//local variables
int sockfd = 0;
... | [
"Ahmad.live.1@gmail.com"
] | Ahmad.live.1@gmail.com |
2e6f8e088c1a50039d83dabb94d792e45a4c325c | 94e964d7228c38100f49eaa44117f22853f4eaad | /D01/ex09/Logger.cpp | e4d332b29c6239d7964391a32b8fd879a0a22fcb | [] | no_license | nyhu/PCPP | 5231a532c5e7d399ba9cdf38e7f7ef69ee09ac71 | 02671aed1d0914095ae4ef77b44442b97fb470d2 | refs/heads/master | 2020-03-06T17:57:40.577445 | 2018-04-10T10:49:53 | 2018-04-10T10:49:53 | 126,997,571 | 1 | 0 | null | 2018-04-01T19:38:19 | 2018-03-27T14:16:31 | C++ | UTF-8 | C++ | false | false | 1,234 | cpp | #include "Logger.hpp"
Logger::Logger(std::string nameFile)
{
this->nameFile = nameFile;
}
Logger::~Logger()
{
}
void Logger::logToConsole(std::string const &input)
{
std::cout << input << std::endl;
}
void Logger::logToFile(std::string const &input)
{
std::ofstream out(this->nameFile.c_str(), std::ios::... | [
"toussaint.boos@gmail.com"
] | toussaint.boos@gmail.com |
0f0536474653970415a979a0cd5bb41fac8f0cfb | 76e33c5c200d1672a282dc719c3bc369c59befdb | /greedy/reduce-array-size-to-the-half.cpp | 076d909a9b7f052e5988746871d69916165df784 | [] | no_license | sankalpkotewar/algorithms-1 | cdc851a4695e0dd6d9aee360923c7af06dea837f | 22a8a2e1d29d60ee6b5070f32d5d9c30cd5f9780 | refs/heads/master | 2022-11-11T17:48:19.366022 | 2020-07-09T10:31:20 | 2020-07-09T10:31:20 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,055 | cpp | #include "greedy.h"
/*
* Given an array arr. You can choose a set of integers and remove all the occurrences of these integers in the array.
Return the minimum size of the set so that at least half of the integers of the array are removed.
Example 1:
Input: arr = [3,3,3,3,5,5,5,2,2,7]
Output: 2
Explanation: Cho... | [
"ozcanay@itu.edu.tr"
] | ozcanay@itu.edu.tr |
b787acad5d7065906e58766663ccf93e6121ec59 | 670e20d60e321ab81674666ff2ec1acf7ccd96fd | /src/ofApp.h | 52b4f8924b69ac17118ca3ad21431b960221d350 | [] | no_license | davidh8011/Galaga-Project | 6e1783283647584d8be45fda69599f12167ea653 | 1b806ed2bb48508e3793b1c47bc8bb918d593e26 | refs/heads/master | 2020-04-01T08:40:41.216380 | 2018-10-15T02:49:59 | 2018-10-15T02:49:59 | 153,042,003 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,674 | h | #pragma once
#include "ofMain.h"
#include "Ship.h"
#include "Shot.h"
#include "ArrayList2.h"
#include "Fighter.h"
#include "Enemy1.h"
#include "ArrayListEnemy.h"
#include "ArrayListShot.h"
#include "Powerup.h"
#include <iostream>
#include <fstream>
#include <string>
using namespace std;
class ofApp : public ofBaseApp... | [
"davidh80@verizon.net"
] | davidh80@verizon.net |
91dd60e09d0abf3599c5069b8285f13cad72a478 | 8bf393044c4a389e19fad72bd4d19a8c4c715762 | /src/estd/port/chrono.hpp | 58ca3e81d1bc6551f1244c205b5c5d5706ddae99 | [
"Apache-2.0"
] | permissive | malachi-iot/estdlib | 0f873e1801e88dc7311777bc51c65daa4fc60ea0 | d2d47302a778c6859959c97910b73101395b7f9f | refs/heads/master | 2023-09-01T01:30:39.963167 | 2023-08-17T04:16:10 | 2023-08-17T04:16:10 | 128,429,105 | 38 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 211 | hpp | #pragma once
#include "../internal/fwd/chrono.h"
#include "../internal/chrono/duration.hpp"
#include "../internal/chrono/operators.hpp"
#include "../internal/chrono/ratio.h"
#include "../internal/chrono/math.h" | [
"malachi.burke@gmail.com"
] | malachi.burke@gmail.com |
6a29a7e4102acedd9f67c51ffe258648709dfbcb | 424f5e905916541a8a4b1ff916dec93bd06e0d63 | /sdenv2/project/framebuffer.h | 2d9abd9a5da0b5dbe0ef8073b7293009d11d9c70 | [] | no_license | sidneydijkstra/SDENV2 | 33bd4df24fad6bf64fe2763d5fa8cc6090885283 | af08f5cdce760dda867839c460635e03f4d8bd2a | refs/heads/master | 2021-01-25T09:31:39.953453 | 2019-05-18T13:27:35 | 2019-05-18T13:27:35 | 93,844,018 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,576 | h | /**
* @file framebuffer.h
*
* @brief The FrameBuffer header file.
*
* This file is part of SDENV2, a 2D/3D OpenGL framework.
*
*/
#ifndef FRAMEBUFFER_H
#define FRAMEBUFFER_H
#include <string>
#include <sstream>
#include <iostream>
#include <vector>
#define GLEW_STATIC
#include <GL/glew.h>
#include <GLFW/glfw3.h>
#in... | [
"sidney dijkstra"
] | sidney dijkstra |
0a5aa51f453409be1fcf9c304a56a3f977fbb602 | 966c55ba7cd0928019bd64dc31c8f3213ca2d7b5 | /c++_primer_4th/chapter05_expressions/bitwise_operators.cpp | 84f01e1f771093e0971cbbfb4d6f8aa2f34dfdef | [] | no_license | unkown571/learning | 851c458756202596d28c2703898f315f338ee75a | 3a8d6defbf41e9763a6ca41c339c8bdaf12051b3 | refs/heads/master | 2021-05-26T17:22:38.531723 | 2012-09-09T07:59:07 | 2012-09-09T07:59:07 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,795 | cpp | /*
* =====================================================================================
*
* Filename: bitwise_operators.cpp
*
* Description: bitwise operators in c++
*
* Version: 1.0
* Created: 02/10/2012 03:40:03 PM
* Revision: none
* Compiler: gcc
*
* Au... | [
"me@zhangliancheng.com"
] | me@zhangliancheng.com |
2e90c41bc25137083c9697a6937dd86a34238184 | 1f5406714cfd2ebaa91578247e5bd27375738bf4 | /src/Shader.h | dd2cf1b77c2f88357380002f0851537dac14fe5b | [] | no_license | stransky/opengl_test | 09dc31e885c4d87a364868d08ae382dc5127466c | 5d5184159d2e2b6a4faa7a3150bad9514ae763e7 | refs/heads/master | 2020-08-06T13:17:09.839550 | 2019-10-04T22:28:19 | 2019-10-04T22:28:19 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 851 | h | #pragma once
#include <string>
#include <unordered_map>
struct ShaderProgramSource {
std::string VertexSource;
std::string FragmentSource;
};
class Shader
{
private:
unsigned int m_RendererID;
std::unordered_map<std::string, int> m_UniformLocationCache;
public:
Shader (const std::string &filepath... | [
"tomask@dhcp-233-238.eduroam.muni.cz"
] | tomask@dhcp-233-238.eduroam.muni.cz |
5cbef22a41ddd8321a1066a1237efc8eea2ae55b | 41189993d1389dabc3d1d8a563c8f9327f31e008 | /C-LinkedLists-Worksheet/twodigitLinkedList.cpp | d5ebe01ded6d83b0ef5d245cd4bd28c2297ebc41 | [] | no_license | RaviTejaKomma/learn-c-programming | d445e6f015b823781f833464f6b22e717d832d3c | 1793213a89a04f6fee459d2fe5c688571ab7d9fe | refs/heads/master | 2023-03-23T08:59:21.500253 | 2021-03-06T15:59:21 | 2021-03-06T15:59:21 | 345,133,585 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 773 | cpp | /*
OVERVIEW: Given a single linked list (two digits as a node).Convert that to number
INPUTS: SLL head pointer
OUTPUT: Create a number from the linked list given ,In each node there are two numbers ,digit1 and digit1 ,
So if the nodes are 12->34->56->78 , Final number would be 12345678 ( Integer)
ERROR C... | [
"ravieee929374s@gmail.com"
] | ravieee929374s@gmail.com |
8bd6dc6951345102887780245629a9c066eadf22 | cbc5f24153176f61203f103ece75f1db40a6fe5d | /ST.cpp | 3aa1822f19e01bba5241ee6f24b566489bc7a25b | [] | no_license | nwant/cs4280 | ccb8e7314aae0c93b73ddce335fc3b3893895bca | 1de0cadd6f6d0b7badff0d600ace3b88c478eeba | refs/heads/master | 2021-06-17T11:06:54.159490 | 2017-06-18T16:05:46 | 2017-06-18T16:05:46 | 94,697,898 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,063 | cpp | /* Nathaniel Want (nwqk6)
* CS4280-E02
* P4
* 5/9/2017
* -----------
* ST.cpp
* --------
* Contains the implementation for the symbol table
*/
#include <string>
#include <vector>
#include "ST.h"
#include "token.h"
using namespace std;
ST::ST() { }
/**ST::insert
*------------
* insert a token into the symb... | [
"nathan@DeLorean.localdomain"
] | nathan@DeLorean.localdomain |
13796198c87f6768bdc1f3b3230ed4e027add0eb | a270d3263768ef1735d9fff9d8b9df4a13b09751 | /wireless_charger/wireless_charger.cpp | 6fccc17dc6aa76d0b61a6d3c9beab5df568757b0 | [] | no_license | mcdaniel13/samsung_programming_mock_test | c0750fe0a94b52c5078a9ab372443f75bed05a04 | 9df1d1234c579c9e53189478f87905463adde242 | refs/heads/master | 2020-04-27T02:01:41.157372 | 2019-04-11T07:36:18 | 2019-04-11T07:36:18 | 173,982,032 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,011 | cpp | /*
* https://www.swexpertacademy.com/main/code/problem/problemDetail.do?contestProbId=AWXRDL1aeugDFAUo
*/
#include <iostream>
using namespace std;
const int NMAX = 10;
const int MMAX = 101;
const int AMAX = 9;
int m, a;
int moving[5][2] = {{0, 0}, {0, -1}, {1, 0}, {0, 1}, {-1, 0}};
int arr[NMAX][NMAX][2];
int is... | [
"whansrl92@gmail.com"
] | whansrl92@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.