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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a7f8f51908162799a6d3802bc67d66feaf71a42d | 33390ec2c34675dc487187371738637371d59875 | /C++/source/C++_Templates/codes/basics/stack3.hpp | 553d50bb9bb32326fd61203d74f785b971d9c8ff | [] | no_license | vampire20170606/note | 12ce29ad79ee64f3e619a19637de1e6f0c7fa883 | f43df926864dadcb95bd9c8749eb13d5aa499760 | refs/heads/master | 2023-02-01T20:10:14.243520 | 2020-12-14T10:29:59 | 2020-12-14T10:29:59 | 311,944,333 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 902 | hpp | #include <vector>
#include <cassert>
#include <deque>
template<typename T, typename Cont = std::vector<T>>
class Stack {
private:
Cont elems; // elements
public:
void push(T const& elem); // push element
void pop();
T const& top() const; // return top element
bool empty() const { // return wheth... | [
"vampire@20170606@hmail.com"
] | vampire@20170606@hmail.com |
0cdf6a30eaa9f88af9fef5ec041b8e448155293b | 9b768fa7468c448f5500518cc3d526347bf4a2e7 | /Phase-3/scanner.cc | 16e7a42fc04bb421199577a9d684f919bf701a7c | [] | no_license | vuyyurii/decaffcompiler | f1fd1c3fc6ec0eec67bacc2bd3facf2c83892373 | c6af89273d65e5c44bb8447da65da07f895778cb | refs/heads/master | 2020-05-07T19:32:48.616549 | 2019-04-11T14:54:11 | 2019-04-11T14:54:11 | 180,817,515 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 62,020 | cc | #line 2 "scanner.cc"
#line 4 "scanner.cc"
#define YY_INT_ALIGNED short int
/* A lexical scanner generated by flex */
/* %not-for-header */
/* %if-c-only */
/* %if-not-reentrant */
/* %endif */
/* %endif */
/* %ok-for-header */
#define FLEX_SCANNER
#define YY_FLEX_MAJOR_VERSION 2
#define YY_FLEX_MINOR_VERSION 6
#d... | [
"vuyyurisriharsha238@gmail.com"
] | vuyyurisriharsha238@gmail.com |
292f653b0d3d341e669c0560d9c4cc5e3ee18287 | 438e2c57ca70ed0cd3e2e917af9be93852301d23 | /ex_mediasNaoSaoTudo/main.cpp | e2fbc8c0024c4b26de287f0688887c148d68eb07 | [] | no_license | marcuslamounier/PPGCC-PCC103 | d72d167386a761dd42b8574c85e37014481fc4dd | d8c7b8d36a91d5e0a6d74429453179edc8dc76db | refs/heads/master | 2023-06-15T15:51:28.444154 | 2021-07-14T01:56:37 | 2021-07-14T01:56:37 | 382,187,803 | 0 | 0 | null | 2021-07-02T02:51:43 | 2021-07-02T00:23:05 | C++ | UTF-8 | C++ | false | false | 548 | cpp | #include <iostream>
#include "normalDistributionPdf.h"
using namespace std;
int main() {
double p = 35; // ponto cuja probabilidade de ocorrer em distribuicao normal sera calculada
double mu = 40; // media
double std_dev = 7; // desvio padrao
// cout << "Probabilidade de o ponto " << p << " ocorrer... | [
"marcus_quadros@hotmail.com"
] | marcus_quadros@hotmail.com |
655704fa4f6348162c939c9563e9bc90242e248d | 369fef3326931c558a6e84f161155f0d67be976a | /src/main/cpp/subsystems/Hatch.cpp | 41360107855cbe11867bccab804ee18e30dbb4fc | [] | no_license | TecDroidProgra/2019_Binary | 232669903c78fa7c754d25ffd5498d34d65b1512 | 425283f428423bccd6409223b27618626076aa54 | refs/heads/master | 2020-05-15T00:52:54.309958 | 2019-04-18T04:56:08 | 2019-04-18T04:56:08 | 182,018,284 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 634 | cpp | /*------------------------------------------------------------
___________ _______
|___ ___|| ____ \
| | | | \ | Property of TecDroid 3354
| | | | | | Written by Esteban Padilla
| | | |____/ | February, 19, 2019
|___| |________/
-------------... | [
"noreply@github.com"
] | TecDroidProgra.noreply@github.com |
3abd01d3f25fe017f06a12380555b1c6eaeab814 | 0993c9a90f862a142133ee0e909839987336e45a | /simple_navigation_goals/src/simple_navigation_goals.cpp | cd324906d3303c94f0c37bff589b62047fb6202c | [] | no_license | raidhu/ros_autonomous_robot | 68a7782fb86c3495c5a56a73d7e38bd512623040 | 183d9e70b691944ce00c0958f1c3223112efbd4d | refs/heads/main | 2023-07-18T18:27:03.806944 | 2021-09-07T10:17:18 | 2021-09-07T10:17:18 | 403,931,127 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,146 | cpp | #include <ros/ros.h>
#include <move_base_msgs/MoveBaseAction.h>
#include <actionlib/client/simple_action_client.h>
typedef actionlib::SimpleActionClient<move_base_msgs::MoveBaseAction> MoveBaseClient;
int main(int argc, char** argv){
ros::init(argc, argv, "simple_navigation_goals");
//tell the action client that... | [
"noreply@github.com"
] | raidhu.noreply@github.com |
c77690d97b8d4ca86cb03073609dabcaa961debd | 9a1b857d88bb38f227503945d7c058fb2898aeaf | /MakingWindow/MakingWindow/ShaderProgram.h | e25e411526d0abade452e66fcb77ac9b84245dda | [] | no_license | leprechaunni/CourseWork | 235872cc10dfb5276ca64d393fd40c516a643ed8 | f5feefb26790c35cc5f47a8cdd827b5b59e4d70f | refs/heads/master | 2023-04-21T09:46:32.816237 | 2020-12-08T16:46:22 | 2020-12-08T16:46:22 | 308,948,247 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 923 | h | #pragma once
#include <glad/glad.h>
#include <string>
namespace RenderEngine {
class ShaderProgram {
public:
ShaderProgram(const std::string& vertexShader, const std::string& fragmentShader);
~ShaderProgram();
bool isCompiled() const { return m_isCompiled; }
void use() const;
... | [
"73756514+leprechaunni@users.noreply.github.com"
] | 73756514+leprechaunni@users.noreply.github.com |
be9fc48cbba4c587a5d3f27583b47679ca39023a | dcb9102082d0305c57a1fdebfd8ecb571a0b0feb | /matrixmul.cpp | 76b22b7d5ba6ceb74b5de1083a077a748cba9c23 | [] | no_license | Harshtageja/sturdy-octo-memory | bea8b088d6ea69362ab7141f3dadf15c4f12a821 | a29d7f74757c8964863db65b72af8e5810385435 | refs/heads/master | 2023-04-02T02:54:32.254121 | 2021-04-12T05:41:43 | 2021-04-12T05:41:43 | 283,810,734 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 368 | cpp | #include<iostream>
using namespace std;
int main(){
int a[3][3]={
{
1,0,0
},{
0,1,0
},{
0,0,1
}
};
int c[3][3];
int i,j,k,s=0;;
for(i=0;i<3;i++){
for(j=0;j<3;j++){
s=0;
for(k=0;k<3;k++){
s+=a[i][k]*a[k][j];
}
a[i][j]=s;
}
}
for(i=0;i<3;i++){
for(j=0;j<3;j++){
cout<... | [
"noreply@github.com"
] | Harshtageja.noreply@github.com |
ea9bc1572b6390fc3d8cb42a40c84aae1a465adf | 5249c8dd7c31216a82dae856afb499de82437a6b | /Design_Pattern/Factory_Method/WhiteHuman.h | fb5d3c4038d97bfae09547326b49a915d800c1c0 | [] | no_license | w-x-me/Demon_Code | c24fbfe245be5d9646b744f4d99c934f99be5937 | a3071ed9c5c0c5453601d16e8e9a4641658d72d6 | refs/heads/master | 2020-03-27T05:52:57.500745 | 2018-11-29T01:17:18 | 2018-11-29T01:17:18 | 146,059,683 | 16 | 7 | null | null | null | null | UTF-8 | C++ | false | false | 163 | h | #pragma once
#include "ihuman.h"
class CWhiteHuman :
public IHuman
{
public:
CWhiteHuman(void);
~CWhiteHuman(void);
void Laugh();
void Cry();
void Talk();
}; | [
"985808898@qq.com"
] | 985808898@qq.com |
8466102b0047003274bdc7e746f95e5de59f403c | a9e308c81c27a80c53c899ce806d6d7b4a9bbbf3 | /engine/xray/editor/world/sources/texture_tga_to_argb_cook.h | a07e17ff716b4e851e7441ec4f0aae8611688313 | [] | no_license | NikitaNikson/xray-2_0 | 00d8e78112d7b3d5ec1cb790c90f614dc732f633 | 82b049d2d177aac15e1317cbe281e8c167b8f8d1 | refs/heads/master | 2023-06-25T16:51:26.243019 | 2020-09-29T15:49:23 | 2020-09-29T15:49:23 | 390,966,305 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,661 | h | ////////////////////////////////////////////////////////////////////////////
// Created : 31.03.2010
// Author : Evgeniy Obertyukh
// Copyright (C) GSC Game World - 2010
////////////////////////////////////////////////////////////////////////////
#ifndef TEXTURE_TGA_TO_ARGB_COOK_H_INCLUDED
#define TEXTURE_TGA_TO_ARG... | [
"loxotron@bk.ru"
] | loxotron@bk.ru |
a797ad5a62bb9f7bdad346df27ee9f1b5996b4e3 | ed2f0eb893c6234e2c6fd5c5cd72875cca476284 | /GlpkDoubleDiagnosis/GlpkDoubleDiagnosis.cpp | 7ed85a3ec8f05b9908ef5e3ce88274b9bb1d535b | [] | no_license | baozizhenmeixian/DoubleFaultDiagnosis | b14994e9463ed980eeecd12569598d95ba82a2ae | 25cd6e0c973cc4d38b0d185024dcfc7e6e69e4b0 | refs/heads/master | 2021-01-25T14:11:38.222502 | 2018-04-03T16:56:32 | 2018-04-03T16:56:32 | 123,668,376 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 73,916 | cpp | // BoolCheckFramework.cpp : 定义控制台应用程序的入口点。
//
#include "stdafx.h"
#include <stdio.h>
#include "Expression.h"
#include "Mutants.h"
#include "DnfMutant.h"
#include "CommonFuncs.h"
#include <time.h>
#include "GLPK_Solve.h"
#include "LIFGenerateCellsForMutants.h"
#include "LOFGenerateCellsForMutants.h"
#include "LRFGenera... | [
"laitao@pku.edu.cn"
] | laitao@pku.edu.cn |
8d647b778259bd1282ae0500ff75f71d45de9cc5 | f95ca67a47039410eeec30b64a8e6ce58a3dcce6 | /src/core/Poller.cpp | 73c33299b9f04a1b45aa6e48aadce1e5076bd969 | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | phamtec/skweltch | 782a9413d10c4a8005acfedc7263e086c9d20577 | 9bd4f828e4ca30cd7058cf30be82329c5e3af637 | refs/heads/master | 2020-05-26T23:16:54.108880 | 2015-03-17T07:43:49 | 2015-03-17T07:43:49 | 10,887,437 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 518 | cpp |
#include "Poller.hpp"
#include <zmq.hpp>
#include <msgpack.hpp>
using namespace std;
int Poller::poll(zmq::i_socket_t *socket, zmq::i_socket_t *control, int timeout) {
void *saddr = *socket;
void *caddr = *control;
zmq::pollitem_t items[] = {
{ saddr, 0, ZMQ_POLLIN, 0 },
{ caddr, 0, ZMQ_POLLIN, 0 }
};... | [
"phamtec@mac.com"
] | phamtec@mac.com |
134431bf1d1eb11f1f88af4e144dc7dfe759eb12 | 2f084e04f600e27809c3c87fffa55f3f146c765c | /5.QT/03Event/4keyEvent/pushbutton.h | 58ae27c3cfd3e9471caa49f49ce4d1fc89a6a9e8 | [] | no_license | shadowAccount2020/code | 77456821a178077a8b2ae302fc0d267ff43d846c | 3f44778e904520af9c5cce923e0dac70fea3e943 | refs/heads/master | 2020-08-12T12:54:51.713276 | 2019-09-21T10:36:57 | 2019-09-21T10:36:57 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 324 | h | #ifndef PUSHBUTTON_H
#define PUSHBUTTON_H
#include <QPushButton>
class PushButton : public QPushButton
{
Q_OBJECT
public:
explicit PushButton(const QString & text, QWidget *parent = 0);
void keyPressEvent(QKeyEvent *);
void keyReleaseEvent(QKeyEvent *e);
signals:
public slots:
};
#endif // PUSHBUTTO... | [
"2205101365@qq.com"
] | 2205101365@qq.com |
016531b4d8eebf8f37a9f9b5ede95d8ceed35022 | f0a26ec6b779e86a62deaf3f405b7a83868bc743 | /Engine/Source/Runtime/Engine/Classes/Animation/AnimNotifies/AnimNotifyState.h | 9ef4da96a0eccfbbb7dc0c99c1f838af276c40f9 | [] | no_license | Tigrouzen/UnrealEngine-4 | 0f15a56176439aef787b29d7c80e13bfe5c89237 | f81fe535e53ac69602bb62c5857bcdd6e9a245ed | refs/heads/master | 2021-01-15T13:29:57.883294 | 2014-03-20T15:12:46 | 2014-03-20T15:12:46 | 18,375,899 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,961 | h | // Copyright 1998-2014 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "AnimNotifyState.generated.h"
UCLASS(abstract, editinlinenew, Blueprintable, const, hidecategories=Object, collapsecategories, MinimalAPI, meta=(ShowHiddenSelfPins))
class UAnimNotifyState : public UObject
{
GENERATED_UCLASS_BODY()
... | [
"michaellam430@gmail.com"
] | michaellam430@gmail.com |
f16e69321595fb798e107211c4d673b64242fce2 | f3193cf11e461860382c3a88041748f5d69a9ebc | /firstProject1415/Products/Electronics/Appliance.cpp | b85927ae2dbb16dca5b67e8296218eb22e203423 | [] | no_license | JulianaSen/firstProject1415 | 13036e75cfdd23e795ace124328bb3243d1454fd | 37b3969ceabe6677fe359e6ef2b7c6c31e8dbf47 | refs/heads/master | 2020-12-28T23:36:20.164213 | 2015-05-04T11:09:30 | 2015-05-04T11:09:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 684 | cpp | #include "Appliance.h"
#include "..\..\UI\Message.h"
#include "..\..\UI\Globals.h"
Appliance::Appliance():
Electronics(),
height(0.0)
{
}
istream& operator>>(istream& stream, Appliance& obj)
{
stream >> (Electronics&)obj;
stream >> obj.height;
return stream;
}
ostream& operator<<(ostream& stream, const Applianc... | [
"test@test.ru"
] | test@test.ru |
a26b9bba06a495d6badc8c3e66e5e27563f47080 | 23eac09eb020858bf47ce0cf8b5d058c3957ecbe | /include/Eventfd.h | db549a1997c6f61d404e3a13118020e77590b77a | [] | no_license | Jeysin/corrector | 36abddd237ada209258843651cd027fbafeb79e5 | 6f972d3903b66308bb23258f0ac55bb1d6cb822c | refs/heads/master | 2021-08-29T21:48:57.392036 | 2017-12-15T04:20:35 | 2017-12-15T04:20:35 | 114,326,423 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 225 | h | #ifndef __EVENTFD_H__
#define __EVENTFD_H__
namespace jjx
{
class Eventfd
{
public:
Eventfd();
~Eventfd();
int readEventfd();
int writeEventfd();
int getEventfd();
private:
int _efd;
};
}//end of namespace jjx
#endif
| [
"jeysin@qq.com"
] | jeysin@qq.com |
4b6adad55d4ae2a0c762059721ecaaed7e2bb38f | 043ecd089fb4e0e6645c672933b85a1298cd2ca8 | /include/autonomous/auto_drive.hpp | 284e98a53b7dcaa28ecd3a588dd12a3528ff2d07 | [] | no_license | 2381-robotics/2381Y-TowerTakeover | 7caf368a652b1f2a553ff542da82e79e6923a79f | aa39fa551b03ba3308d17a007c3957c61edf3b46 | refs/heads/master | 2021-07-02T03:13:04.023589 | 2020-12-02T00:27:47 | 2020-12-02T00:27:47 | 194,579,505 | 2 | 1 | null | 2020-12-01T22:37:20 | 2019-07-01T01:27:20 | C++ | UTF-8 | C++ | false | false | 907 | hpp | #ifndef __AUTO_DRIVE__H__
#define __AUTO_DRIVE__H__
#include "auto_task.hpp"
#include <complex>
#include <array>
extern AutoTask AutoPath(std::complex<double> EndPoint, double angle, double speed, double tolerance);
extern AutoTask AutoPath(std::complex<double> EndPoint, double angle, double speed, std::array<double,2... | [
"dr.cheddar@outlook.com"
] | dr.cheddar@outlook.com |
bb60ce1bf6e823673ca37e63c7c705e87ad0549e | f1bd4d38d8a279163f472784c1ead12920b70be2 | /xr_3da/xrRender_R2/r2_rendertarget.h | b9152cac8b30f341934fe50fe114e8407a9caeac | [] | no_license | YURSHAT/stk_2005 | 49613f4e4a9488ae5e3fd99d2b60fd9c6aca2c83 | b68bbf136688d57740fd9779423459ef5cbfbdbb | refs/heads/master | 2023-04-05T16:08:44.658227 | 2021-04-18T09:08:18 | 2021-04-18T18:35:59 | 361,129,668 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,970 | h | #pragma once
class light;
#define DU_SPHERE_NUMVERTEX 92
#define DU_SPHERE_NUMFACES 180
#define DU_CONE_NUMVERTEX 18
#define DU_CONE_NUMFACES 32
class CRenderTarget : public IRender_Target
{
private:
u32 dwWidth;
u32 dwHeight;
u32 dwAccumulatorClearMark;
public:
u32 dwLightMarkerID;
// ... | [
"loxotron@bk.ru"
] | loxotron@bk.ru |
365fb2b36839d4c9bfc6e5ac068d35d09bc0af0d | c8e74a8ab68da169c64999aa51ac7161f7163bc6 | /src/numerics/tensor_op_factory.hpp | 354936bbbe15178e596ae4f39c4a06f579e1d7f0 | [
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | cameton/exatn | 28d0719145e21295063edd49f015cdd6bf28dba7 | 5818a6046d99441957759e26a23b89ff0ccfa7d5 | refs/heads/master | 2022-12-18T12:40:40.962267 | 2020-09-08T01:51:03 | 2020-09-08T01:51:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,953 | hpp | /** ExaTN::Numerics: Tensor operation factory
REVISION: 2020/04/13
Copyright (C) 2018-2020 Dmitry I. Lyakh (Liakh)
Copyright (C) 2018-2020 Oak Ridge National Laboratory (UT-Battelle) **/
/** Rationale:
(a) Creates new tensor operations of desired kind.
**/
#ifndef EXATN_NUMERICS_TENSOR_OP_FACTORY_HPP_
#define EXATN... | [
"quant4me@gmail.com"
] | quant4me@gmail.com |
572dd439d5b4a9f166ca19d7545a762d3f38907a | e2f17433b6cf978ad98b7a1277375a8b1c44aff3 | /libboost_actor_core/boost/actor/stateful_actor.hpp | 4a25a58d11e994dbdc954963c9e6f61bc9f2d8f3 | [
"BSL-1.0"
] | permissive | nk0leg/boost.actor | dd01bc36704e560660981fefcd0e2370fad15111 | 6b39bbf859007308cf4e20e62d3d31b1dae56b84 | refs/heads/master | 2021-01-12T08:22:01.320872 | 2015-08-31T15:44:29 | 2015-08-31T15:44:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,492 | hpp | /******************************************************************************\
* *
* ____ _ _ _ *
* | __ ) ___ ___ ___| |_ / \ ___| |_ ___ _ __ *... | [
"dominik.charousset@haw-hamburg.de"
] | dominik.charousset@haw-hamburg.de |
77d8e7fbacd6fc2a1df69e4ee92d55cd0cee2821 | c8f7773f80acf75345af37c67f0d925cf0234118 | /src/pref.h | 0ff5cd295b8efe232bb7c4862ca119bfc1a09157 | [
"MIT"
] | permissive | uglyDwarf/linuxtrack | 14a8854b826d57fa28ca276ec6ba5c54a1ddaa31 | fe9b98b51f6ee6521d38bd1f7edf84839227e588 | refs/heads/master | 2023-05-25T02:05:04.332165 | 2023-02-22T20:20:35 | 2023-02-22T20:20:35 | 39,029,490 | 156 | 35 | MIT | 2023-05-19T07:27:16 | 2015-07-13T18:21:31 | C | UTF-8 | C++ | false | false | 1,380 | h | #ifndef PREF__H
#define PREF__H
#ifdef __cplusplus
extern "C" {
#else
#include <stdbool.h>
#endif
char *ltr_int_get_key(const char *section_name, const char *key_name);
bool ltr_int_get_key_flt(const char *section_name, const char *key_name, float *val);
bool ltr_int_get_key_int(const char *section_name, const char *... | [
"f.josef@email.cz"
] | f.josef@email.cz |
00eb65b07692aa7e5a7e1127721c714aca23710f | 1986bfb0be6aa06d5c596aefd1bb50602645cf71 | /Lesson 8 L298N Motor Driver/L298N_Motor_Driver/L298N_Motor_Driver.ino | 9b40a15de4347e09622b30f6d6801d2cba703d98 | [] | no_license | rictecno/smartcar4-ESO | 3cd04744786bb9ea1104537b86b99d9c06345b29 | c438e6e8046d71147b4ce5478cfb733ddc8f00cd | refs/heads/main | 2023-04-14T16:16:24.065640 | 2021-04-16T09:50:35 | 2021-04-16T09:50:35 | 358,551,549 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 689 | ino | int IN1=2;
int IN2=4;
int IN3=7;
int IN4=8;
int ENA=5;
int ENB=6;
void setup()
{
for (int i = 5; i <11; i ++)
{
pinMode(i, OUTPUT);
}
}
void loop()
{
// rotate CW
digitalWrite(IN1,LOW);
digitalWrite(IN2,HIGH);
analogWrite(ENA,200);
digitalWrite(IN3,LOW);
digitalWrite(IN4,HIGH);
anal... | [
"noreply@github.com"
] | rictecno.noreply@github.com |
6b89c798e07e4b362d7739ab895c45f3170d4bda | d20cf7de868dfb2c53578a70d0dda21306167d72 | /data/raw/test/student_53/2163/2162/Entity.cpp | 6d7d8b805daa50327da055e9f254f480d67c1c45 | [] | no_license | bulacu-magda/Alemia | 905a84ca79157fb657eb424e337b0303fd3323bd | 0fd019c4517064d300399feb94dbcb0f467e8d48 | refs/heads/main | 2023-03-01T17:41:08.788500 | 2021-02-05T08:00:35 | 2021-02-05T08:00:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 977 | cpp | #include "Entity.h"
Entity::Entity()
{
health = 0;
pos.X = 0;
pos.Y = 0;
}
Entity::Entity(int health,COORD A)
{
this->health = health;
this->pos.X = A.X;
this->pos.Y = A.Y;
}
void Entity::print()
{
}
void Entity::sterge()
{
}
void Entity::set_pos(COORD other)
{
pos.X = other.X;
pos.Y = other.Y;
}
int ... | [
"ionutm.bajan@yahoo.com"
] | ionutm.bajan@yahoo.com |
04ed94569880ee9de1d3c59cd68e42e93674ea68 | 6abfbf8d3c934bfb77ce989c46f7ee5c3e3c19a7 | /104. Maximum Depth of Binary Tree/Solution.cpp | 3a3f04cd5452a1a1029e6400cda8fb8a84f39b17 | [] | no_license | AristoChen/LeetCode-AC-Solution | 7be7d09d99f131e06529e4e34e12129729a12efa | d2f988257b1631e79cf13763bf87e826ee834c3b | refs/heads/master | 2020-03-17T20:30:29.879961 | 2018-06-07T13:26:20 | 2018-06-07T13:26:20 | 133,913,472 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 543 | cpp | /*
Submission Detail:{
Difficulty : Easy
Acceptance Rate : 55.48 %
Runtime : 7 ms
Testcase : 39 / 39 passed
Ranking : Your runtime beats 89.93 % of cpp submissions.
}
*/
/**
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *right;
* ... | [
"jj251510319013@gmail.com"
] | jj251510319013@gmail.com |
8b096467f25679360663b99802645e84b7035320 | d513c622e09134868e53f724714f8661d33fbc4a | /state.ino | 7f4c025b56a56f6e0eb829df51ee2d2431dc1ab8 | [] | no_license | bhou/gardian | eb81a59d4b094cd79bc2aa1fcc6628e645f827b6 | 1edcf41ad099e6d10917888c8886f1c1eb3c3cc0 | refs/heads/master | 2020-12-03T00:16:19.212764 | 2017-07-02T06:44:51 | 2017-07-02T06:44:51 | 96,006,989 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,501 | ino | byte state_gear = GEAR_DRIVE;
int state_turn = 0; // how fast it turns, -90 to 90
int state_throttle = 0; // throttle value, controls how fast it runs, 0 to 99
// throttles for each side motor
int state_throttle_left = 0;
int state_throttle_right = 0;
// last modified time
unsigned long state_laste_modified_... | [
"daily.bhou@gmail.com"
] | daily.bhou@gmail.com |
d1dec03d847ed60a9c05cd4adfe8c1c1b310035d | de0b43998aae6a6fd46f51e812bf7dc212df473d | /Point_in_Polygon.cpp | 4ad11030b090cc9bbbc320eacc392a510b10ea52 | [] | no_license | Michicosun/Algorithms | 62265ef51c0a71ec3504367e07f91456928f9498 | 52b9ca54b3d47caf0f1c147449a15da43a68ace5 | refs/heads/master | 2023-04-14T18:46:56.599464 | 2021-04-19T20:13:35 | 2021-04-19T20:13:35 | 338,606,221 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,837 | cpp | #include<iostream>
#include<cmath>
#include<algorithm>
#include<vector>
#include<deque>
using namespace std;
const double PI = atan2(0, -1);
const long long int INF = 1e9;
#define double long double
struct Point{
long long int x, y;
Point(long long int x0 = 0, long long int y0 = 0) : x(x0), y(y0) {};
};
Po... | [
"michicosun@ya.ru"
] | michicosun@ya.ru |
e4e7a685b7f833567e01aa638757f1f3e60012fc | 09286f914b89dc5981ed33f2cb08b332cd2d3d2b | /Aulas/aula16_shiftdir.cpp | 0966a0bf102e3ec83d7f7502960fc53537898084 | [] | no_license | phmacedoaraujo/FUP_2014_2 | 884ca9565616dbf25e973d40d3b9ed08238a9406 | a37866d00b5cb9c37fa56db0073aa751999d2878 | refs/heads/master | 2021-01-18T17:28:01.162501 | 2014-08-14T18:28:12 | 2014-08-14T18:28:12 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 481 | cpp | #include <iostream>
using namespace std;
void shiftdir(int v[], int tam, int res[]) {
int i;
for(i=1;i<tam;i++) {
res[i]=v[i-1];
}
res[0]=v[tam-1];
}
int main()
{
int i;
int v[4];
int res[4];
for(i=0;i<4;i++) {
cout << "Digite o valor do elemento " << i << endl;
cin >> v[i];
}
shi... | [
"phmacedoaraujo@gmail.com"
] | phmacedoaraujo@gmail.com |
160b6e6bc8eac5f41b9fcdbf841c5206413d5e76 | 641fa8341d8c436ad24945bcbf8e7d7d1dd7dbb2 | /base/metrics/histogram_functions_unittest.cc | 77a584bb12cda2f46cc532ec5974e3c873a3a3ae | [
"BSD-3-Clause"
] | permissive | massnetwork/mass-browser | 7de0dfc541cbac00ffa7308541394bac1e945b76 | 67526da9358734698c067b7775be491423884339 | refs/heads/master | 2022-12-07T09:01:31.027715 | 2017-01-19T14:29:18 | 2017-01-19T14:29:18 | 73,799,690 | 4 | 4 | BSD-3-Clause | 2022-11-26T11:53:23 | 2016-11-15T09:49:29 | null | UTF-8 | C++ | false | false | 4,284 | 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 "base/metrics/histogram_functions.h"
#include "base/metrics/histogram_macros.h"
#include "base/test/histogram_tester.h"
#include "base/time/time... | [
"xElvis89x@gmail.com"
] | xElvis89x@gmail.com |
69e33d1c554d84eaec49509cd26c30bb514fd6e2 | 4bdb5dbcb8e0a4b685727a33fec44d07f2caebe6 | /src/key.h | bc99b8f37b48f1051823c033eb1e1eda4f21c5b0 | [
"MIT"
] | permissive | KEANetwork/Wallet | 3bd5a414b185f4dce3a1b1417442ea59a5dcab5e | d5ca834eb0c1199d75770ec123dc0403b99a2e99 | refs/heads/master | 2020-08-02T23:46:26.312378 | 2019-09-29T08:42:46 | 2019-09-29T08:42:46 | 211,551,338 | 0 | 0 | null | 2019-09-28T19:26:18 | 2019-09-28T19:26:17 | null | UTF-8 | C++ | false | false | 6,320 | h | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2014 The Bitcoin developers
// Copyright (c) 2015-2018 The PIVX developers
// Copyright (c) 2017-2019 The Bitcoin Green developers
// Copyright (c) 2018-2019 The TRBO Developers
// Distributed under the MIT software license, see the accompanying
// file ... | [
"stevenfroom@hotmail.com"
] | stevenfroom@hotmail.com |
99bb0caad71d514bcb7de0e18ceb10ebb1ccf081 | 9c3f9aabd0e47065fd49cb5cbf35ed354ad0e14c | /60_Seconds/src/robot-config.cpp | a460059900f2b548bcedece6b72ef2858cfd4195 | [] | no_license | CTeam30/Vex | 46a8294a2ad2c3579ac3ab67f28c443fa9e9505f | e42a6c0fcd79ada0c3f25cc7136ae6562a601012 | refs/heads/master | 2020-09-21T07:24:57.152660 | 2020-02-26T17:59:39 | 2020-02-26T17:59:39 | 224,723,453 | 0 | 0 | null | 2020-01-23T16:19:40 | 2019-11-28T20:22:51 | C++ | UTF-8 | C++ | false | false | 2,202 | cpp | #include "vex.h"
using namespace vex;
using signature = vision::signature;
using code = vision::code;
// A global instance of brain used for printing to the V5 Brain screen
brain Brain;
// VEXcode device constructors
motor LeftMotorBack5 = motor(PORT5, ratio18_1, false);
motor RightMotorBack6 = motor(PORT6, ratio18... | [
"noreply@github.com"
] | CTeam30.noreply@github.com |
a9e5a95a5ff245ec289b3469b1c639aef62a3429 | 5326657c767579fa71a1816e61ddb8283fbe54fc | /ofxUIFbo.h | 5b91d7d8985f29b721b39a291f281af7329ce6d2 | [] | no_license | martial/sucred | e294c49669d4a1d9adec8440f1f45c03feb81ca8 | dcba458dc35a3625a93d99683c75299f39e2c28e | refs/heads/master | 2021-01-10T20:36:53.737153 | 2015-08-17T13:31:28 | 2015-08-17T13:31:28 | 13,593,106 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,908 | h | //
// ofxUIFbo.h
// Sucre
//
// Created by Martial on 30/10/2013.
//
//
/**********************************************************************************
Copyright (C) 2012 Syed Reza Ali (www.syedrezaali.com)
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and a... | [
"martialou@gmail.com"
] | martialou@gmail.com |
bee0f59aabd39d313a737b158e6e97c7ceb9129a | 67b9855ea679105ab1afd8e01adc37f6dccd13af | /src/ecs/Component.h | 03f655482f485afe6ddc7d342648a1283a01574f | [] | no_license | IndieLightAndMagic/wolf | be04daa192ac6ab3218bc516ebf820c0d37f7637 | 480ef44b26330d881cabd06efa5fdb496de5ed0b | refs/heads/master | 2020-04-22T19:04:05.347076 | 2019-08-23T20:17:09 | 2019-08-23T20:17:09 | 170,596,980 | 1 | 1 | null | 2019-05-08T15:59:29 | 2019-02-13T23:47:25 | C++ | UTF-8 | C++ | false | false | 500 | h | //
// Created by Guarin on 2019-08-10.
//
#ifndef WOLF_COMPONENT_H
#define WOLF_COMPONENT_H
namespace ECS_SYSTEM {
class Component;
using PComponent = std::weak_ptr<ECS_SYSTEM::Component>;
class Component {
public:
};
class InformationComponent : public Component {
};
class ShaderC... | [
"julian.guarin@geniussports.com"
] | julian.guarin@geniussports.com |
b2b4feb9a845716c8c9f25e4c6e261a08a77e32a | 3390f604b39fe90933bc4e919ba9d6720dc66537 | /src/robocontrol/hardware/body/Body.h | 98396972cf0dc81972da9ec5aca2d41b17d8fc43 | [] | no_license | hiroshi-mikuriya/nxt | 880aa9ebee679797d8b2d5c25054e027857d2263 | edfd585548447117eb3605ef0f451c8bf8346629 | refs/heads/master | 2021-05-09T07:01:44.238374 | 2018-01-29T07:33:58 | 2018-01-29T07:33:58 | 119,347,875 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,370 | h | /*
* Body.h
*
* Created on: 2012/05/23
* Author: HIROSHI MIKURIYA
*/
#ifndef BODY_H_
#define BODY_H_
#include "ecrobot_interface.h"
#include <Lcd.h>
namespace hardware {
class Body {
Body();
public:
static Body & GetInstance();
/**
* 音を鳴らす
* @param freq 周波数
* @param duration 長さ
* @p... | [
"hiroshi.mikuriya@fxat.co.jp"
] | hiroshi.mikuriya@fxat.co.jp |
8127480dca51f330b7f374f8d1cdb70c568f10e6 | d1cf34b4d5280e33ebcf1cd788b470372fdd5a26 | /codeforces/138/D.cpp | ba6e32dbeec612cf4c399a3e293e862d7d236501 | [] | no_license | watashi/AlgoSolution | 985916ac511892b7e87f38c9b364069f6b51a0ea | bbbebda189c7e74edb104615f9c493d279e4d186 | refs/heads/master | 2023-08-17T17:25:10.748003 | 2023-08-06T04:34:19 | 2023-08-06T04:34:19 | 2,525,282 | 97 | 32 | null | 2020-10-09T18:52:29 | 2011-10-06T10:40:07 | C++ | UTF-8 | C++ | false | false | 898 | cpp | #include <set>
#include <cstdio>
using namespace std;
const int MAXN = 404;
int id[MAXN][MAXN];
bool e[MAXN][MAXN];
char buf[MAXN][MAXN];
int sg[10][10];
int r, c;
int main() {
// scanf("%d%d", &r, &c);
// for (int i = 0; i < r; ++i) {
// }
for (int i = 0; i < 20; ++i) {
sg[0][i] = i + 1;
... | [
"zejun.wu@gmail.com"
] | zejun.wu@gmail.com |
af7325daa5efc36223e513a005bc254d0a3c29a4 | 142ddd4c42dc7ff65fd9b531cfd0adbfe2a1dd34 | /export/core/math/a_star.h | 01b9ff954012101d94854cf5ba03f83250680888 | [
"LicenseRef-scancode-free-unknown",
"MIT",
"BSL-1.0",
"Apache-2.0",
"LicenseRef-scancode-public-domain",
"BSD-2-Clause",
"CC0-1.0",
"OFL-1.1",
"LicenseRef-scancode-unknown-license-reference",
"Unlicense",
"FTL",
"BSD-3-Clause",
"Bitstream-Vera",
"MPL-2.0",
"Zlib",
"CC-BY-4.0"
] | permissive | GhostWalker562/godot-admob-iOS-precompiled | 3fa99080f224d1b4c2dacac31e3786cebc034e2d | 18668d2fd7ea4bc5a7e84ddba36481fb20ee4095 | refs/heads/master | 2023-04-03T23:31:36.023618 | 2021-07-29T04:46:45 | 2021-07-29T04:46:45 | 195,341,087 | 24 | 2 | MIT | 2023-03-06T07:20:25 | 2019-07-05T04:55:50 | C++ | UTF-8 | C++ | false | false | 6,849 | h | /*************************************************************************/
/* a_star.h */
/*************************************************************************/
/* This file is part of: */
/* ... | [
"pvu2002@outlook.com"
] | pvu2002@outlook.com |
dc8c08856facdcd15c4b532cb95e896d6774c722 | 14eddf6c6367193e3482621f4a502923245f8f15 | /labCP/cs1d_TODO.cpp | fcbaef93e549dd761e9310c7d08b97b3908ea7c9 | [] | no_license | sballari/MemocoEx | 3705b1b40f834c2dca00619ce84f458e0ec6153b | 98501d0cfb4be02a93c945149be983d5b97625f4 | refs/heads/master | 2020-08-10T18:33:38.149258 | 2020-03-02T23:33:19 | 2020-03-02T23:33:19 | 214,396,402 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,717 | cpp | /**
* @file cs1d.cpp
* @brief
*
*/
#include "cs1d.h" //definition of the master and the slave problem
#include "knapsack.h"
#include <cmath>
#include <iostream>
#include <fstream>
const double ZERO_EPS = 1e-5; //tolerance for numeric issues
void Data::read(cconviene avere due onst char* filename)
{
std::ifstre... | [
"ballarinsimone@gmail.com"
] | ballarinsimone@gmail.com |
e427d5e9546a20dd416a8207abcd341bf7342a68 | 073e5c609a799e361a6e0eec94df8d0f6a5e1768 | /src/version.cpp | 1f94a323711a68e751efdbeb409366f727562812 | [
"MIT"
] | permissive | cointotaldev/total | 5bbb772b787814be94dc971048c509825fe35a93 | f3410eca628eb36b22c68cb40da0a9e560a5aec4 | refs/heads/master | 2016-08-11T15:50:51.342744 | 2016-03-05T20:40:53 | 2016-03-05T20:40:53 | 53,221,973 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,592 | cpp | // Copyright (c) 2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <string>
#include "version.h"
// Name of client reported in the 'version' message. Report the same name
// for both bitco... | [
"yobit1@mail.com"
] | yobit1@mail.com |
7377bd839dc13af13337be71194ba1e902a5dede | 39921d049a882220193fb45f4023a6831fb79908 | /Pods/abseil/absl/strings/charconv.cc | 68874d1c7b9d1a30b5982143c91a39d42b5447a1 | [] | no_license | furydeveloper/SearchCoinKaraoke | a48bb7f0a4032735a2fc8895bd6bb02626b392b3 | 98043d3e280814f75c4f6c7957e6c0eee320a9b9 | refs/heads/master | 2023-08-10T23:24:28.780365 | 2021-10-03T02:51:57 | 2021-10-03T02:51:57 | 409,012,702 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 130 | cc | version https://git-lfs.github.com/spec/v1
oid sha256:069df555fb68ca839fe75c7e78bbfe0a9db73d3aab87a5a90e1c16b02b632479
size 47499
| [
"furysecu@gmail.com"
] | furysecu@gmail.com |
f7f7f321ecac47003d82813a65fb92672f70aa0e | 2ccfde26972bb8d17cacd8b5c7d3f045cc0b3113 | /Same Tree.cpp | 70b7ccd3d7fd3a1c5e435f409ed82b1721d5c989 | [] | no_license | SayleeSabde/July-s-Leetcode-Solutions- | 4511a7bb4d9eb64ba0926917292956655a24d203 | 6e7539ac4e6781af37ac80b0620b24e3711b3177 | refs/heads/master | 2022-11-24T19:37:55.864385 | 2020-07-31T10:06:41 | 2020-07-31T10:06:41 | 276,375,748 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 922 | cpp | /* Given two binary trees, write a function to check if they are the same or not.
Two binary trees are considered the same if they are structurally identical and the nodes have the same value.
*
* Definition for a binary tree node.
* struct TreeNode {
* int val;
* TreeNode *left;
* TreeNode *... | [
"noreply@github.com"
] | SayleeSabde.noreply@github.com |
060899e157345abf9d11b6c13468935da125d8fc | c2a23646158fb8bff6abaa8bbae4689795c91bf2 | /0116/0116_populating_next_right_pointers_in_each_node.cpp | 4dbe9bae71886b9ff5ac38d6e8b3644633f564f0 | [
"MIT"
] | permissive | mrvon/leetcode | 0a7fe692c1d9006c4ced79273a278eba94b5bebe | ad1332d624404dcf8f1450e8e2d168f6ff95e97d | refs/heads/master | 2023-05-27T03:08:02.780280 | 2022-10-09T11:50:22 | 2022-10-09T11:50:22 | 87,791,436 | 5 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 113 | cpp | // see 117_populating_next_right_pointers_in_each_node_ii.cpp
// 117 is more strict, can also solve problem 116.
| [
"mrvon@qq.com"
] | mrvon@qq.com |
d9b91871c126c59918d9fa163102f4b01448c5f9 | 1d5141a7c548be8ddd767047212d090f28318774 | /LC/C++/Easy/66.PlusOne.cpp | 0ca435b869fa1398bad64ec690460de36142a8e2 | [] | no_license | advaitb/CompetitiveProgramming | c0edfe3326112344674a532d557912c5bb524f48 | 34bfad7585f469305b78aa70077f6d8158ced639 | refs/heads/master | 2023-02-02T21:35:17.396881 | 2020-12-24T23:09:54 | 2020-12-24T23:09:54 | 262,483,593 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,115 | cpp | class Solution {
public:
vector<int> plusOne(vector<int>& digits) {
vector<int> vec;
bool addone;
for(int i = digits.size()-1; i > -1; i--)
{
if(digits[i] == 9)
{
if(i == digits.size()-1)
{
addone = true;
... | [
"noreply@github.com"
] | advaitb.noreply@github.com |
3fe8aaa984c269cebc53ed4390848689f6e5982b | 208d7311c5e08388958bdb7fdd3bf23ca6f894fe | /Codeforces AC Solutions/1114A.cpp | 0835a960c2007da55e593b1dff48ade6eaf13f56 | [] | no_license | krashish8/Online-Judge-Solutions | 1aeed9c5feccca777217bdc9cd4abeff75084f41 | ed472631b45f1d3e57a6a499579971db19c0385b | refs/heads/master | 2020-04-29T22:19:23.996456 | 2019-06-07T03:31:20 | 2019-06-07T03:31:20 | 176,443,587 | 0 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 1,315 | cpp | /*
Problem Name: A - Got Any Grapes?
Problem ID: 1114A
Problem URL: https://codeforces.com/contest/1114/problem/A
Author: Ashish Kumar (ashishkr23438)
Solution ID: 49697426
Solution Time: 2019-02-10 17:08:58
Language: GNU C++17
Time consumed: 46 ms
Memory consumed: 300 KB
*/
#include<bits/stdc++.h>
using namespace std;... | [
"ashishkr351@gmail.com"
] | ashishkr351@gmail.com |
7edae1ae41a88372bdf4991f33443b192fc16f8a | 0b116fb925a41a991ed216aa744cc3f58ef67dd2 | /src/main/java/topcoder/chapter05/digit/mir/InterstingDigit.cpp | dd77bd190797226a25b22108e1371724361f9d83 | [] | no_license | man-like-present/cou-topcoder-study | 0ab8f16d697115307595f4ca621d36e054aa8ed9 | 5016bbf8e909372a56b94b38a58c1ce7adbc16c9 | refs/heads/master | 2020-07-19T06:03:47.136635 | 2017-08-15T06:27:59 | 2017-08-15T06:27:59 | 94,335,288 | 0 | 0 | null | 2017-08-15T06:28:00 | 2017-06-14T13:41:54 | Java | UTF-8 | C++ | false | false | 746 | cpp | #include<string>
#include<cmath>
#include<iostream>
#include<cstdlib>
#include<vector>
using namespace std;
class InterestingDigits{
public:
vector<int> temp;
vector <int> digits(int base)
{
for(int ii=2;ii<base;ii++)
{
select(ii,base);
}
return temp;
}... | [
"gmldyd109@coupang.com"
] | gmldyd109@coupang.com |
42f1af79a7b899564afd2826a6a8839c4e81d883 | 6348b3b6ceacd7dac91f44036b3df8ad5192a136 | /include/sol/state.hpp | ed2412ed656da191bbeeefe511225defad996795 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | ThePhD/sol2 | b0167676fecf9c65f371f6319833393cdbda0bbe | 9c882a28fdb6f4ad79a53a4191b43ce48a661175 | refs/heads/develop | 2023-08-22T21:48:22.328223 | 2023-08-06T21:47:47 | 2023-08-06T21:47:47 | 49,177,547 | 3,912 | 572 | MIT | 2023-07-18T17:46:18 | 2016-01-07T03:09:13 | C++ | UTF-8 | C++ | false | false | 2,183 | hpp | // sol2
// The MIT License (MIT)
// Copyright (c) 2013-2022 Rapptz, ThePhD and contributors
// 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 limita... | [
"phdofthehouse@gmail.com"
] | phdofthehouse@gmail.com |
97c3a41fb56375fcbd6ca854a8d5a3d14a0e5664 | a7bf77259ac0dd85f234de40f3f90ba9d9f800b4 | /SURF/ipoint.cpp | cbacb97c78babcc6e94e05e7ed094bcbf6438f29 | [] | no_license | zhxfl/OPENCV_CUDA | 446f29646ff4257af88d064e281bd3043d468b7f | b6d7df75a89e1b1a156394e885ebe261f611dd2f | refs/heads/master | 2021-01-23T03:12:54.197810 | 2014-03-09T02:26:41 | 2014-03-09T02:26:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,128 | cpp | /***********************************************************
* --- OpenSURF --- *
* This library is distributed under the GNU GPL. Please *
* use the contact form at http://www.chrisevansdev.com *
* for more information. *
* ... | [
"acer@zhxfl.(none)"
] | acer@zhxfl.(none) |
d7ce4d3b1d306f471f493e388201fe2d197f44e0 | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5644738749267968_1/C++/fidels/D.cpp | 3c9357160f36d7b90be3862618726f68d40d90a6 | [] | no_license | alexandraback/datacollection | 0bc67a9ace00abbc843f4912562f3a064992e0e9 | 076a7bc7693f3abf07bfdbdac838cb4ef65ccfcf | refs/heads/master | 2021-01-24T18:27:24.417992 | 2017-05-23T09:23:38 | 2017-05-23T09:23:38 | 84,313,442 | 2 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 884 | cpp | #include <iostream>
using namespace std;
#define MAXN 1024
int cheat(double n[2][MAXN], int N) {
int i, j;
for (i=0; i<=N; i++) {
for (j=i; j<N; j++) if (n[0][j] < n[1][j-i]) break;
if (j==N) return N-i;
}
}
int nocheat(double n[2][MAXN], int N) {
int i=0, j=0, RES=0;
... | [
"eewestman@gmail.com"
] | eewestman@gmail.com |
22dec6c5ba274e03b05d61c6c7eb3cb293415270 | 4df25728aad4fab258ea0a3003a00476c8f5cc26 | /gameproject/game/main.hpp | e4d4030215d3bc2747afc201b64ec97b1d95b664 | [] | no_license | MapmakerLich/unfinished | 5c11a835381bb611f92e0b04aa81cee897a0436d | 7cde61ca7df6c07c67817cbf53fba0226f4eafa1 | refs/heads/master | 2021-09-15T09:27:24.062506 | 2018-05-29T21:07:42 | 2018-05-29T21:07:42 | 114,482,492 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 2,013 | hpp | #pragma once
#include <SFML\Graphics.hpp>
#include <SFML\Window.hpp>
#include <SFML\System.hpp>
#include <string>
#include <cmath>
#include <vector>
#include <iostream>
constexpr float GRAVITY = 10.0;
constexpr float JUMP_START = -500.0;
constexpr float CANON_Y = 540;
constexpr float GRENADE_MULTIPLIER =... | [
"noreply@github.com"
] | MapmakerLich.noreply@github.com |
db9fa533f656cedde99070de735622cc913b37e0 | d56144c917e647dd2aac8832b9802f110ceb977b | /hw2_makefiles/amath583.cpp | acb05cced70c38fa9a1fd45c3eb706e6e61a98cb | [
"MIT"
] | permissive | vicb1/high-performance-computing | 623bb39ad4c97b66a8718cbe75858952cbc5c390 | 0e5ee17bd866d856157566bcd11a18a2dd67392c | refs/heads/master | 2020-04-10T07:19:11.829917 | 2019-12-12T03:18:32 | 2019-12-12T03:18:32 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,489 | cpp | #include "amath583.hpp"
vector<double> readVector(istream &inputStream) {
int int_input;
string string_input;
getline(inputStream, string_input);
if (string_input.compare("AMATH 583 VECTOR") != 0) exit(-1);
inputStream >> int_input;
if (int_input < 0) exit(-2);
vector<double> double_inpu... | [
"bajenav@skyworksinc.com"
] | bajenav@skyworksinc.com |
5275d88091ad9e826321e90a336e0619985dd594 | 59c8af4f0b408d0c8938186cf828bd3b9e1eed3b | /src/include/factories/rtgFactory.hpp | c7437f695254eddd110824ef2eb63656ae29a4b1 | [] | no_license | wali-ku/DeepPicarCpp | 9a210801190f17c1d147b2257720accc39e34952 | d86aadf0a3cee03e893ae11f70fa35acf14d251c | refs/heads/master | 2020-06-30T13:02:20.470570 | 2020-03-01T21:07:33 | 2020-03-01T21:07:33 | 200,834,113 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 894 | hpp | /**
* RtgFactory Class Declaration File.
*
* This class is responsible for interfacing with RTG-Synch framework for
* providing virtual-gang related services.
*/
#ifndef __RTG_FACTORY_HPP__
#define __RTG_FACTORY_HPP__
extern "C" {
#include <rtg_lib.h>
}
class RtgFactory
{
pthread_barrier_t *barrier;
public:
... | [
"wali@ku.edu"
] | wali@ku.edu |
6e164e93e42fad2b6c98383ca9bdeba9e422f765 | 455d2617ccb456f54ecca66bbe169c7875c68a41 | /Proyecto/LogicChess/src/formula/termino/Constante.cpp | eb53cea49a902f2140e6570bfc6a128b65d723a2 | [] | no_license | ariankiehr/LogicChess | c1c6063f9ca0bfdd999ae02240e0d22cfeae67f5 | 6fd801a471eca123df5c0887f1361dc3280db60c | refs/heads/master | 2020-12-11T03:27:24.674146 | 2016-05-22T00:53:24 | 2016-05-22T00:53:24 | 35,691,526 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,053 | cpp | /* LogicChess: Herramienta didactica para el aprendizaje practico de la Logica de Primer Orden
* Copyright (C) 2011 Arian Kiehr, Matias Ariel Re Medina
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free... | [
"a.waeswaes@gmail.com"
] | a.waeswaes@gmail.com |
a33ff76440ddb4b1f25d37c5e197cc6c4e072c0b | 95ae7dfa9ee578f1b24a65986ff78bf77ceca0c5 | /Engine/modules/Verve/Torque3D/VSoundEffect.h | 812f8f89c452fd586073b371641a629e15ffe77f | [
"MIT",
"LicenseRef-scancode-unknown"
] | permissive | TorqueGameEngines/Torque3D | 4e1f6a05cc0928980c8c7c20bcdd680eaa6dcee8 | a445a4364664e299196bd551d213844486080145 | refs/heads/development | 2023-09-03T12:40:40.658487 | 2023-08-24T14:44:43 | 2023-08-24T14:44:43 | 267,440,108 | 1,192 | 178 | MIT | 2023-09-13T14:28:16 | 2020-05-27T22:35:54 | C++ | UTF-8 | C++ | false | false | 2,164 | h | //-----------------------------------------------------------------------------
// Verve
// Copyright (C) 2014 - Violent Tulip
//
// 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 re... | [
"Areloch@gmail.com"
] | Areloch@gmail.com |
73581b5e753d343a955e20a51b33f8e20475cc12 | 8955a1c19bdb88fdb8243ae6f7929aae4a80f906 | /kursach/kursach/SensorOfRotation.cpp | bdd3410100a5ea6268a837fa6de6db0e1a5a6cb8 | [] | no_license | AbakumovaOlga/YarEPHH | 3a45e23b69810143ee39176fea22164cfb0a7743 | c89470e7258ad118d83170742d6a832b63f89341 | refs/heads/master | 2020-09-15T14:27:23.776912 | 2019-11-22T20:01:47 | 2019-11-22T20:01:47 | 223,475,153 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 641 | cpp | //#include "stdafx.h"
#include "SensorOfRotation.h"
#include <iostream>
#include <string>
using namespace std;
SensorOfRotation::SensorOfRotation(int r, bool sostclp)
{
if (r == 0)
{
avail = true;
}
if (r == -1)
{
avail = false;
}
statusOfRotation = sostclp;
}
SensorOfRotation::~SensorOfRotation()
{
}
bo... | [
"abakumova-olga-a@yandex.ru"
] | abakumova-olga-a@yandex.ru |
5901246916737542d478e615541ce882f390b039 | 08b8cf38e1936e8cec27f84af0d3727321cec9c4 | /data/crawl/git/new_hunk_7719.cpp | 055a63e33b4993347b2f5d5508162ff76b0ec701 | [] | no_license | ccdxc/logSurvey | eaf28e9c2d6307140b17986d5c05106d1fd8e943 | 6b80226e1667c1e0760ab39160893ee19b0e9fb1 | refs/heads/master | 2022-01-07T21:31:55.446839 | 2018-04-21T14:12:43 | 2018-04-21T14:12:43 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 287 | cpp | launch_editor(git_path(commit_editmsg), &sb, env);
} else if (strbuf_read_file(&sb, git_path(commit_editmsg), 0) < 0) {
rollback_index_files();
die("could not read commit message");
}
if (run_hook(index_file, "commit-msg", git_path(commit_editmsg))) {
rollback_index_files();
| [
"993273596@qq.com"
] | 993273596@qq.com |
b4fbe2627a8ec0d258d4a9059e3b847512b87c7e | c82f01f6618c9d533719db1eb182ba6680eada28 | /2014-2015/wulff_workspace/workspace/devel/include/sensor_msgs/PointCloud2.h | 21e6f9143fbbfde1752717c796d0b3e124c997ba | [] | no_license | hajungong007/landingpad | e561fec000e42a54842450b311fd77b453cfebbe | c33e3ace8504290a6c8bafb7d6ebc7db0fc92525 | refs/heads/master | 2020-07-26T20:30:55.116505 | 2016-04-29T04:48:01 | 2016-04-29T04:48:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,542 | h | /* 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 conditions
* are met:
*
* * Redistributions of source code must retain... | [
"larry.pyeatt@sdsmt.edu"
] | larry.pyeatt@sdsmt.edu |
3b32b3a937d8dd6667536e00625fc7d034ce0daf | 4dda52ae8a31906a151a223b3c090d68d601c938 | /include/statify/utility.h | 5d3da1fa6bc0c76c14d6d3a9571a1f070921dee0 | [
"Apache-2.0"
] | permissive | statify/statify | f415f0bf42fccf9c3a2dd129e6f72292139f2db7 | c69807b30922c582352e0353eeedfc0b0d6d2cda | refs/heads/master | 2021-01-21T13:14:22.215753 | 2015-11-16T03:18:48 | 2015-11-16T03:18:48 | 43,558,215 | 0 | 0 | null | 2015-11-16T03:03:59 | 2015-10-02T14:43:48 | C++ | UTF-8 | C++ | false | false | 1,316 | h | // Copyright 2015 The Statify Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agree... | [
"dialtr@gmail.com"
] | dialtr@gmail.com |
f8882175e164d44e159307554a55f78063309838 | 8dc84558f0058d90dfc4955e905dab1b22d12c08 | /third_party/webrtc/video/end_to_end_tests/rtp_rtcp_tests.cc | 53172420e1177274f65689a112888f540776f112 | [
"LicenseRef-scancode-unknown-license-reference",
"BSD-3-Clause",
"LicenseRef-scancode-google-patent-license-webm",
"LicenseRef-scancode-google-patent-license-webrtc",
"GPL-1.0-or-later",
"LicenseRef-scancode-takuya-ooura",
"MIT",
"LicenseRef-scancode-public-domain",
"LicenseRef-scancode-unknown",
... | permissive | meniossin/src | 42a95cc6c4a9c71d43d62bc4311224ca1fd61e03 | 44f73f7e76119e5ab415d4593ac66485e65d700a | refs/heads/master | 2022-12-16T20:17:03.747113 | 2020-09-03T10:43:12 | 2020-09-03T10:43:12 | 263,710,168 | 1 | 0 | BSD-3-Clause | 2020-05-13T18:20:09 | 2020-05-13T18:20:08 | null | UTF-8 | C++ | false | false | 21,714 | cc | /*
* Copyright 2018 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 contributing ... | [
"arnaud@geometry.ee"
] | arnaud@geometry.ee |
3ed6434c92e660a8d8065eec453be206d9f53d03 | 137d4ed224637e9f2d3c3a6bbe84a32774c7f761 | /D2/1859.cpp | 27b9d753b2f7d1dd61dc63a5173d7566dd98fa71 | [
"MIT"
] | permissive | SkydevilK/SWEA | 86a1d367bd1a32b6a01ed8e39c6a178a736158bb | c5b60840ee04bb7155f56c160dc45ec2e543af41 | refs/heads/master | 2021-07-10T10:21:03.758304 | 2020-07-26T06:35:26 | 2020-07-26T06:35:26 | 176,215,171 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 486 | cpp | #include<stdio.h>
int main()
{
int T = 0;
scanf("%d", &T);
for (int i = 1; i <= T; i++)
{
int N = 0;
long long total = 0;
int big = 0;
scanf("%d", &N);
int* arr = new int[N + 1];
for (int j = 0; j < N; j++)
{
scanf("%d", &arr[j]);
}
big = arr[N - 1];
for (int j = N - 2; j >= ... | [
"noreply@github.com"
] | SkydevilK.noreply@github.com |
14624405eeac9d1eb2e2095a4e4b4ae4f391bea8 | 74ba8472712d0fb18a108dc38e82e7ccfa84cd79 | /src/qt/paymentserver.h | 32f0afc8c7e8ce5918576472f05a8600409eccee | [
"MIT"
] | permissive | claritydevs/clarity | d96237b282923bd004b8a2cc5edea4cab42327e2 | d1dd28384f4b3491164f519f62e93d963e960333 | refs/heads/master | 2020-04-18T13:18:34.146577 | 2019-01-27T15:28:59 | 2019-01-27T15:28:59 | 167,558,980 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,055 | h | // Copyright (c) 2011-2015 The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef CLARITY_QT_PAYMENTSERVER_H
#define CLARITY_QT_PAYMENTSERVER_H
// This class handles payment requests from clicking o... | [
"claritydevs@protonmail.com"
] | claritydevs@protonmail.com |
a2c26e814af79a0b2a3878c07f0a8a68dc0220fa | 48a3cba736ee675802faa9f9c1b69956dc38a44f | /src/StdAfx.cpp | 6aa3b8ba0ee96e26aba66943514776e734903d2f | [
"BSD-3-Clause"
] | permissive | StanleySane/NSys2D | 78a86ffc39b30d1ae1c4f90f899a7284c7abd2d4 | 235535b521f299ddb7aa65ce2215d198f76a0182 | refs/heads/main | 2023-07-24T00:31:22.699258 | 2021-08-24T11:55:10 | 2021-08-24T11:55:10 | 399,150,439 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 198 | cpp | // stdafx.cpp : source file that includes just the standard includes
// NSys2D.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
| [
"stanleysane@gmail.com"
] | stanleysane@gmail.com |
3395b6385670ab9a35bcb31845dd26539e43fff6 | a4a3523ae656a8020c57ea597c84ff5b7a3211c6 | /3_4.cpp | bf62b6568c9057af4e7c89421bd3c617365d861c | [] | no_license | jaesimin0903/2021_Algorithm_Class | cf176048bb32201f084dc0cd9ccc1742cea4138d | 3ce357fca5065a7a378c1ea156de83d72fc01831 | refs/heads/master | 2023-05-03T06:43:30.423063 | 2021-06-03T06:31:22 | 2021-06-03T06:31:22 | 347,870,512 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 3,007 | cpp | #include <iostream>
#include <vector>
#include <algorithm>>
using namespace std;
int data_Swap = 0;
int compare = 0;
int swap_Sum = 0;
void insertion(vector<int>& a, int n)
{
int i, j, v;
for (i = 2; i <= n; i++)
{
compare++;
v = a[i]; swap_Sum += v; j = i;
while (a[j - 1] > v) { d... | [
"a980903@naver.com"
] | a980903@naver.com |
7f8ffea9b244a653156b55f61a1b96cf120119be | f85cfed4ae3c54b5d31b43e10435bb4fc4875d7e | /sc-virt/src/include/llvm/IR/Dominators.h | f445a49b67b82f2e1eaffe027805bc7da701df84 | [
"MIT",
"NCSA"
] | permissive | archercreat/dta-vs-osc | 2f495f74e0a67d3672c1fc11ecb812d3bc116210 | b39f4d4eb6ffea501025fc3e07622251c2118fe0 | refs/heads/main | 2023-08-01T01:54:05.925289 | 2021-09-05T21:00:35 | 2021-09-05T21:00:35 | 438,047,267 | 1 | 1 | MIT | 2021-12-13T22:45:20 | 2021-12-13T22:45:19 | null | UTF-8 | C++ | false | false | 8,666 | h | //===- Dominators.h - Dominator Info Calculation ----------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | [
"sebi@quantstamp.com"
] | sebi@quantstamp.com |
4cfa2ac6d81e7567610b48cb9104bbd772d46fde | 8eaf38dddf295d679df99ee734deca40843b20d9 | /bindings/python/pyjoint/JointException.cpp | 8bc3f3c200b092458df5473958861ecf048a37cf | [
"ISC"
] | permissive | Tolstya4ok/joint | 840e621f6db9b9fe6a3d6a9eb42aadbaa3fb9b56 | c4745e1801db8c87fc88a9a2c2e8dd7217bf2743 | refs/heads/master | 2021-05-14T16:35:57.542007 | 2018-01-13T23:49:35 | 2018-01-13T23:49:35 | 116,024,729 | 0 | 0 | null | 2018-01-02T14:40:12 | 2018-01-02T14:40:11 | null | UTF-8 | C++ | false | false | 3,694 | cpp | #include <pyjoint/JointException.hpp>
#include <joint/devkit/log/Logger.hpp>
#include <utils/PythonUtils.hpp>
#include <binding/Object.hpp>
namespace joint {
namespace python {
namespace pyjoint
{
JOINT_DEVKIT_LOGGER("Joint.Python.PyJoint.JointException")
static PyObject* JointException_new(PyTypeObject* ... | [
"koplyarov.da@gmail.com"
] | koplyarov.da@gmail.com |
77a57edc02e1a904ea8d15e8d652617fa77051b8 | a8ea8fef26eb72912ae7034e420446a0dd53084c | /baremetal/FAT32DirectoryIterator.cpp | a9781cef3c95b42f655bdd49af71f62fcf0b0c87 | [
"MIT"
] | permissive | cmarrin/placid | 2a2d65ab148f69b4d4966525ccb8124f6c8ac9f2 | 46b1531072e04ddf0098fd9ca15b6ab5063f9d5b | refs/heads/master | 2022-11-24T18:14:04.873007 | 2022-11-14T13:42:44 | 2022-11-14T13:42:44 | 147,744,644 | 6 | 1 | NOASSERTION | 2019-01-29T16:53:39 | 2018-09-06T23:25:48 | C++ | UTF-8 | C++ | false | false | 4,671 | cpp | /*-------------------------------------------------------------------------
This source file is a part of Placid
For the latest info, see http:www.marrin.org/
Copyright (c) 2018-2019, Chris Marrin
All rights reserved.
Use of this source code is governed by the MIT license that can be
found in... | [
"chris@marrin.com"
] | chris@marrin.com |
e1676379d3c9981ee263b516781455fda47c0c3f | b72c8cb9ffeb2a81ff8975797f2fef38bdcce91f | /src/PolarGrid.cpp | 0781eb8d08a6c9d419fc8365c3f4326df65d4304 | [] | no_license | YevChern/SimToExp-2.0 | e2d6dab24eec15562129ad0580ce579fbca21db9 | c317a6b9b074f1ac3b6b28cb7db975730203be2d | refs/heads/main | 2023-03-05T05:50:18.347755 | 2021-02-18T15:32:00 | 2021-02-18T15:32:00 | 340,086,197 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 245 | cpp | /*
* PolarGrid.cpp
*
* Created on: Mar 10, 2013
* Author: bholland
*/
#include "PolarGrid.h"
PolarGrid::PolarGrid() {
// TODO Auto-generated constructor stub
}
PolarGrid::~PolarGrid() {
// TODO Auto-generated destructor stub
}
| [
"60072522+YevChern@users.noreply.github.com"
] | 60072522+YevChern@users.noreply.github.com |
3cfb3562966d474663015a784810b7cd92f7bd41 | 8748380226782311774489c446eafc7f75797afe | /ProcessCreateCallBack/ProcessManager/ProcessManagerDlg.cpp | d1275e93fc0ff38b6abd088e34d4976955706b30 | [] | no_license | wanttobeno/Windows-Rootkits | 283b978c51c1877be0f68c1bd26744a2421ccaa4 | f6dd5a346be2a2bc1ef023ca75c00775a622ad84 | refs/heads/master | 2020-03-09T07:13:11.164427 | 2016-11-30T03:04:33 | 2016-11-30T03:04:33 | 128,659,453 | 1 | 1 | null | 2018-04-08T16:15:25 | 2018-04-08T16:15:24 | null | GB18030 | C++ | false | false | 7,321 | cpp |
// ProcessManagerDlg.cpp : 实现文件
//
#include "stdafx.h"
#include "ProcessManager.h"
#include "ProcessManagerDlg.h"
#include "afxdialogex.h"
#include "Resource.h"
#include "Common.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
CCommon Common;
int dpix;
int dpiy;
// 用于应用程序“关于”菜单项的 CAboutDlg 对话框
c... | [
"noreply@github.com"
] | wanttobeno.noreply@github.com |
c622a9aebaf2a7b89c64969d9ba3164d7347a905 | a5ced7686c401685b52905a3ae8c633501725df1 | /Assignment 1/Source_Code_Files/Q3.cpp | 62e13669e023453170b6db10a0055e1be5393057 | [] | no_license | AvinashAvuthu/CSN361 | 0ea534ae8536c25ef720aeb632d52cac9433932b | c10cb26760220f36a3307bf7b3e8b101bfd16717 | refs/heads/master | 2023-03-15T22:52:24.636520 | 2019-10-17T03:12:41 | 2019-10-17T03:12:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,614 | cpp |
#include <arpa/inet.h> //for using the in_addr data structure
#include <sys/types.h> //for using process ids, clock ticks, etc
#include <sys/param.h>
#include <sys/socket.h> //for making socket connections
#include <sys/file.h> //for file manipulation constants
#include <sys/time.h> //for using clock related operati... | [
"35365450+gagankumre@users.noreply.github.com"
] | 35365450+gagankumre@users.noreply.github.com |
a9521a21f14b20cd7b8293fc381e9927134946d6 | 7ab5231b0bb3f795e2293561f42cba4d935e3162 | /ray.h | 9c65ca90b1dbd33e32e638d7133bddbcb6816f2e | [] | no_license | Nboruff/Raytrace-In-One-Weekend | f7e0f6f753a1ba3c14f76d07bec667eceb5da381 | 193a99c65ee2ff735fc6d162491f369d08886060 | refs/heads/master | 2022-07-19T09:16:01.005992 | 2020-05-28T02:03:14 | 2020-05-28T02:03:14 | 266,458,809 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 458 | h | #ifndef RAY_H
#define RAY_H
#include "vec3.h"
class ray {
public:
ray() {}
ray(const point3& origin, const vec3& direction)
: orig(origin), dir(direction)
{}
point3 origin() const { return orig; }
vec3 direction() const { return dir; }
point3 at(doubl... | [
"nboruff86@gmail.com"
] | nboruff86@gmail.com |
912927c76c145adc79e301b22965521ed0833f36 | 9fd0b6465570129c86f4892e54da27d0e9842f9b | /src/runtime/libc++/unused/src/mutex.cpp | 9aa051be37f2c55c0d422a91f0274fe439ac259f | [
"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 | 5,072 | cpp | //===------------------------- mutex.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 |
52cd0ba325131501a8a3bc5e88510e431d51c5e8 | 112021b2aab61cd24847b72aeb856e887c028d25 | /Assignments/Solutions/Ruhee Jain/Assignment 11/Ques5.cpp | 08d42cd8efe7fb7033984c2e27513a1c5eacb49c | [] | no_license | amanraj-iit/DSA_Uplift_Project | 0ad8b82da3ebfe7ebd6ab245e3c9fa0179bfbef1 | 11cf887fdbad4b98b0dfe317f625eedd15460c57 | refs/heads/master | 2023-07-28T06:37:36.313839 | 2021-09-15T11:29:34 | 2021-09-15T11:29:34 | 406,765,764 | 10 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 919 | cpp | /*
Ques5
https://practice.geeksforgeeks.org/problems/transpose-of-matrix-1587115621/1/?track=DSASP-Matrix&batchId=154
*/
#include <bits/stdc++.h>
using namespace std;
class Solution
{
public:
void transpose(vector<vector<int> >& a, int n)
{
for(int i=0; i<n; i++){
for(int... | [
"noreply@github.com"
] | amanraj-iit.noreply@github.com |
06c6b4ba159c16c77bd3f5de22f2367cc4107f3d | b4fa442ef49c1c47583e382a880ff504aed855eb | /UVA10215/UVA10215.cpp | 5e15c07addc4ea8bcaa5bd8d80c85ece9fa0a949 | [] | no_license | jackyhobingo/uva_practice | 5c671ba2331adc74f96a83dca921c200c8859382 | a4beb14d7e3f6c3601896b4c7bcbc35831586f6c | refs/heads/master | 2020-12-18T19:25:39.813842 | 2018-07-02T16:11:05 | 2018-07-02T16:11:05 | 34,815,758 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 354 | cpp | #include <iostream>
#include <cmath>
#include <iomanip>
using namespace std;
int main()
{
double L, W;
while (cin >> L >> W) {
double max_ = (L+W - sqrt(L*L-L*W+W*W))/6.0 + 0.000001;
double min_ = min(L,W) * 0.5 + 0.000001;
cout << setprecision(3) << fixed << max_ << " "<<0.000 << ... | [
"jackyhobingo@gmail.com"
] | jackyhobingo@gmail.com |
637702cccc26cdfe7fbe40c5a33fcdd57a7b6d39 | daee750ea62bf22ea46dcc05b36e5d18bf993a2a | /src/util.cpp | 0e6c4b99ce9481e4e14d78c4703b88c498e6f22c | [
"MIT"
] | permissive | cnote-coin/cnote | 1710a735c74e0710d24e220aa89d2d74a88d6059 | c0ba0022a5d24d6cfe76ba47094d7db9fd485ace | refs/heads/master | 2021-01-23T09:53:48.190349 | 2014-12-17T16:04:08 | 2014-12-17T16:04:08 | 26,409,343 | 0 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 42,471 | cpp | // Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2012 The Fasbit Inc.
// Copyright (c) 2013 The C-Note developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef WIN32
// for posix_fallocate
#ifdef _... | [
"szabozee@github.com"
] | szabozee@github.com |
5b7974fb6bec49b76bad263d067ac02d5e75a48d | 68b9458411846822a74bd043094bd23d509cd1cd | /CppAdvanced/Assignment 5/Assignment 5/IProjector.h | 6a0e472ec0da7c80062a8ba17e5f46e514f06cd8 | [] | no_license | Feross-Salameh/CPPIntro | 602035ab3eb534ac2e7cbea75e9ce1d99565b048 | 55b2f62f64daf746d883063cd370b5c7204d559f | refs/heads/master | 2018-11-04T13:06:00.051554 | 2018-09-17T01:44:11 | 2018-09-17T01:44:11 | 119,121,521 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 199 | h | #pragma once
#include "ICanvas.h"
namespace Framework
{
class IProjector
{
public:
virtual void projectCanvas(HCanvas const& canvas) = 0;
};
using HProjector = std::unique_ptr<IProjector>;
} | [
"feross.salameh@gmail.com"
] | feross.salameh@gmail.com |
f83be914ffe6bf5108c1f0428177cf37e14b8925 | ca68403d81cf77cf21b3acf664e94bd100e276e8 | /src/main.cpp | ff27390f4d9cf06bd9a224f2b67a445bbcdc655a | [] | no_license | ThePsyjo/ESW | 9c4f178054e9ab1a6d923465cb6a6eb6052ef170 | 2fe1639940fd74762e9f6c27aae256a01f96f205 | refs/heads/master | 2016-09-06T03:16:46.617167 | 2012-10-18T06:28:59 | 2012-10-18T06:28:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,666 | cpp |
/************************************************************************
* main.cpp *
* Copyright (C) 2008,2009 Psyjo *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Fo... | [
"ThePsyjo@googlemail.com"
] | ThePsyjo@googlemail.com |
3648d77d94ed087dc8dbb4f7869ca1b2fed49898 | ffc7dd59c9dcbfcfd5ee7abd246f8d8038ac7b39 | /app/jni/src/spacebiem/spacebiem/factories/SaveBlobEntityBuilder.cpp | 2416d5ca9bde7d17d18f5dd569582da917712e7b | [] | no_license | luukspierings/SpaceBiem | a1dd0cfb629a27f0c884236d91648cd2cbd428fa | 679e1f4194653ec94b204bad494337b29f64a344 | refs/heads/master | 2023-01-01T13:51:00.696797 | 2020-10-11T16:02:47 | 2020-10-11T16:02:47 | 265,687,796 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,321 | cpp | #include "SaveBlobEntityComponentBuilder.h"
#include "SaveBlobEntityBuilder.h"
#include <map>
#include <typeindex>
#include "../entities/PlayerEntity.h"
#include "../entities/PlanetEarthEntity.h"
#include "../entities/PlanetMoonEntity.h"
#include "../entities/PlanetToxicEntity.h"
#include "../entities/PlanetSandEntit... | [
"spierings.luuk68@gmail.com"
] | spierings.luuk68@gmail.com |
4e8d552e6e435a2c8bfe3f542edbed54884d93be | f8c7d6fecccf82f75be0560ea75702ff7cdb28b0 | /contest168/b.cpp | 0c50018d7f5cbaa34e4be79aa8962ff16f81049e | [] | no_license | lorderikstark0/atcoder | 87baf4107905d8707e350db73aa2512f50820dbd | 42d95ef6ae9d684f34ceac6ae9973a9505905cea | refs/heads/master | 2022-11-15T15:12:33.722007 | 2020-07-04T15:54:58 | 2020-07-04T15:54:58 | 270,560,315 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 352 | cpp | #include <bits/stdc++.h>
using namespace std;
#define pb push_back
int main(){
int k;
string s;
cin >> k ;
cin >> s;
if(s.length() <= k){
cout << s <<"\n";
}
else{
//selecting only the first k chars
s=s.substr(0,k);
s.append("...");
cout << s<<"\n";... | [
"sagnik.chatterjee.gitlab@gmail.com"
] | sagnik.chatterjee.gitlab@gmail.com |
069e9bdd86cc7987a5b8dc960ba9069b144d1e31 | 7c785e161ae4f6b1b92d70c1ab988d0e20f6c23c | /labs/labs2/lab2.cpp | 872374dc9fe7ad0fa287d78014355ade178442c1 | [] | no_license | farhiya-osman/CS162-coursework | 6d756563a9dab20302cd2c8d59ded722ffc98fab | c85f7bc5f1750dec2c8eb03777f9ec464f37c86d | refs/heads/master | 2022-10-10T10:07:54.024450 | 2020-06-13T21:03:41 | 2020-06-13T21:03:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,228 | cpp | #include <iostream>
#include <fstream>
#include <string>
#include <string.h>
#include <stdlib.h>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include "lab2.h"
using namespace std;
student * create_student_db(int studentsnum){
student * students = new student[studentsnum];
return students;
}
void pop... | [
"noreply@github.com"
] | farhiya-osman.noreply@github.com |
2fe16bca214250ea5323cac8d05c33636d20b1ac | ee403971b04f973e29e76fc4af75c25a6e3316b9 | /XaPGSRV/Xncom.cpp | c8917cbec2e299a14c34784a9f541414ceb1f1e4 | [] | no_license | ParulDixit-Spok/Spok-Medicall-PageServer | ac0db1f69abd4d4b9f8ac268e3818d3661c59565 | b1ca0df7053b29e558cc79a3ab630df1d0ab7a59 | refs/heads/master | 2020-04-13T11:36:29.059404 | 2018-12-28T07:04:07 | 2018-12-28T07:04:07 | 163,162,959 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,664 | cpp |
// xncom.cpp
#include "common.h"
// disable deprecation
#pragma warning(disable:4996)
COMMTIMEOUTS TimeOut;
// comNumber must be in the range of 0 thru 33 corresponding
// to comm ports with device names: COM1 thru COM34
int
OpenComport(int comNumber)
{
ComPort[comNumber].hComm = CreateFile(CommportName[com... | [
"parul.dixit@spok.com"
] | parul.dixit@spok.com |
4b4ea0c82a24b999ba65a257f9335fb7b569cf6c | fc48f0e26df0a006f4f24db8d246bcb563c929de | /buble_sort_list_vector/ConsoleApplication1/main_list.h | 0e084b1ba0f0550554e3a1c18c4b3969448a4199 | [] | no_license | Saroko-dnd/My_DZ | d7c03b50f178e158fb960342aad8b40799464a4c | efa7e4f4797dec2028c37b9aef9becfd36d25efd | refs/heads/master | 2020-04-04T07:41:47.976042 | 2017-05-27T13:47:05 | 2017-05-27T13:47:05 | 50,512,763 | 0 | 0 | null | null | null | null | WINDOWS-1251 | C++ | false | false | 719 | h | #pragma once
#include "Value.h"
#include <vector>
#include "scalar.h"
#include <initializer_list>
//основной класс, содержащий все данные json
class main_list :public Value
{
std::vector<Value> current_json;
public:
void print_this();
void add_element(scalar new_scalar)
{
current_json.push_back(new_scalar);
};... | [
"isaroko@mail.ru"
] | isaroko@mail.ru |
95697e9f17d740319eba97dec4eb0648d764aa9f | 29a3c0aeb2f39ffc96bbf4ca2a93f7da544683b3 | /lib/game_save_gen4impl.cpp | 823bd4e3976b6f8b8cc4bb36e925078f37d1db36 | [
"MIT"
] | permissive | codemonkey85/LibPKMN | 465c0c3c7465df6ede07f9b45c8911ff39598673 | 96a1800a24bf3861da405cf56daa2d7afd6c850d | refs/heads/master | 2020-05-20T06:12:10.690095 | 2014-08-04T23:19:38 | 2014-08-04T23:19:38 | 20,304,797 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 981 | cpp | /*
* Copyright (c) 2013-2014 Nicholas Corgan (n.corgan@gmail.com)
*
* Distributed under the MIT License (MIT) (See accompanying file LICENSE.txt
* or copy at http://opensource.org/licenses/MIT)
*/
#include <boost/filesystem.hpp>
#include "game_save_gen4impl.hpp"
#include "conversions/trainer.hpp"
namespace fs ... | [
"n.corgan@gmail.com"
] | n.corgan@gmail.com |
fe164589b6f27ae95756b3311aa9eee070c2ac3e | 7bb66aeaabb66e102470aaafc80a6189f2db144f | /pt12/Sector 1/TextPrint.cpp | 4cc33030c603722d2c5bc0aec982d12cab7164ab | [] | no_license | tearitco/os-dev | afe01d97a25c479e2295bdf70dbb9d907cb0c1b6 | a116728a1cdd23aabd6c444cb61d385cda9bebe9 | refs/heads/main | 2023-05-02T02:24:08.748542 | 2021-05-23T00:59:02 | 2021-05-23T00:59:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,049 | cpp | #pragma once
#include "TextModeColorCodes.cpp"
#include "TypeDefs.cpp"
#include "IO.cpp"
#define VGA_MEMORY (uint_8*)0xb8000
#define VGA_WIDTH 80
uint_16 CursorPosition;
uint_8 CountScreenClear;
void ClearScreen(uint_64 ClearColor = BACKGROUND_BLACK | FOREGROUND_WHITE){
CountScreenClear = 0;
uint_64 value = 0;
v... | [
"noreply@github.com"
] | tearitco.noreply@github.com |
847f030292f21ea23cd24ece134fe5be501f7a79 | c90af895e9b994227cc9cf237384426d0ef2d535 | /sphere.h | 1415fe9359ad1a4fbc05075971446f14e84e374c | [] | no_license | royalsflush/raytraceReloaded | 3c6fb57bd363f893f2abe5a319d434f5b7219909 | 6fd57dd5c57eb4f2106b31231f634ecc596714da | refs/heads/master | 2020-05-09T22:56:03.526108 | 2011-11-29T22:16:32 | 2011-11-29T22:16:32 | 2,862,795 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 395 | h | #ifndef SPHERE_H
#define SPHERE_H
#include "vector.h"
#include "object.h"
class Material;
class Ray;
class Sphere : public Object {
Vector pos;
double r;
public:
Sphere(const Material& pmat, const Vector& ppos, double pr);
Vector& getColor();
Object* checkIntersection(Ray& r);
Vector getIntersectionPo... | [
"luiza@royalsflush.net"
] | luiza@royalsflush.net |
b4536f5c8c78daff51b197b8d882af9777284716 | cf8a76d2ec24a45ca3de0c86f023006bd60b71f2 | /question1/src/lib/solution.cc | 94f20552192da1b7cd3c611815bfd518157844f1 | [] | no_license | guiquansun/EE599-HW2 | fd9fcf811ce443cd7f3795e382c9de685cb3d0b2 | 5130c0db5bd46cab897dc0820a441ae4f8682540 | refs/heads/master | 2020-12-27T22:25:53.461576 | 2020-02-03T23:50:11 | 2020-02-03T23:50:11 | 238,084,675 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 455 | cc | #include "solution.h"
int Solution::Add(int a, int b) {
return a + b;
}
std::string Solution::Add(std::string a, std::string b) {
std::string result;
result = a + b;
return result;
}
std::string Solution::Add(int a, std::string b) {
std::string result;
result = std::to_string(a) + b;
return result;
... | [
"gsun@usc.edu"
] | gsun@usc.edu |
a3baf9c2bb65de1b1a18a02248623552f148b84b | b7e0680e216992d5530c269362a7239e7e90b2e7 | /tests/ypoint/test_ypoint.cc | 50755e3f612174490a894f7a0a73ea8b34dea63a | [
"BSD-3-Clause"
] | permissive | yt-contributors/yt | 1640f24f45df305a2ea1c527beba63d79e3c6f31 | 02521eadc7ca8b68d714a21284cd3b2ad0fb562e | refs/heads/master | 2021-01-15T23:40:08.506291 | 2014-06-14T14:17:35 | 2014-06-14T14:17:35 | 20,612,830 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,291 | cc | /* ========================================================================= */
/* ------------------------------------------------------------------------- */
//
//
//
//
/* INCLUDES ------------------------------------------------------------ */
#include "gtest/gtest.h"
#include "../testhelpers.h"
#include <yt/... | [
"nicu.tofan@gmail.com"
] | nicu.tofan@gmail.com |
2f66da714edc673c0e8d876bbaac87efbe5a38fe | 008076da81d992a1f77f116893212f1e69a06360 | /astroid/astroid/Tests.h | aefd75847b71a368a6eed9c27d70dd6b133276f7 | [] | no_license | epolinad/cpplab2 | 252c8c8a8b00eea32815332ab397edff7a1af978 | ddb5de3514d85f4e23de0f79692b0820d00d71d1 | refs/heads/main | 2023-08-22T15:31:10.636346 | 2021-09-28T17:27:16 | 2021-09-28T17:27:16 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 170 | h | #include <gtest/gtest.h>
#include "Astroid.h"
using namespace Batrudinov;
struct AstroidTest : testing::Test
{
Astroid* astroid;
AstroidTest();
~AstroidTest();
};
| [
"bausov.vadim@yandex.ru"
] | bausov.vadim@yandex.ru |
9c01ffde179d2984d57285ff77dd8b9d97fea671 | 0eff74b05b60098333ad66cf801bdd93becc9ea4 | /second/download/curl/gumtree/curl_function_3594.cpp | 973938b5a23a2d2155af670c95c8dbd35753df16 | [] | 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 | 40,780 | cpp | static ParameterError getparameter(char *flag, /* f or -long-flag */
char *nextarg, /* NULL if unset */
bool *usedarg, /* set to TRUE if the arg
has been used */
... | [
"993273596@qq.com"
] | 993273596@qq.com |
30d3e688e6e2ffc12851482ba12071fdef6ac4aa | 3a31f880a8570654eb89068714e61b564a099d33 | /jacktrip-old/src/MainDialog.cpp | 779f9cefce019fa8240218389f377bb8aa5ed8dd | [
"MIT"
] | permissive | akamaus/jacktrip | 06d121d6edf470648befe6068fae5f4a697bfb26 | 8a3112151bf1bb0a132b6b7581538dc443ad7493 | refs/heads/master | 2021-01-21T22:26:02.354822 | 2013-03-05T17:45:04 | 2013-03-05T17:45:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,653 | cpp | /*
JackTrip: A Multimachine System for High-Quality Audio
Network Performance over the Internet
Copyright (c) 2008 Chris Chafe, Juan-Pablo Caceres,
SoundWIRE group at CCRMA.
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
file... | [
"jcaceres@3532cb72-8e7e-11dd-98a5-cbe9a756ba3b"
] | jcaceres@3532cb72-8e7e-11dd-98a5-cbe9a756ba3b |
62a65a94279b11077557da8c2d846ba8b2c33eed | 4b6a2285e076b6e2c3f29a161cd4697e519f6aeb | /d04/ex00/main.cpp | 5a59a57ef1f2b8b6b75fee4118b6445fbebf459a | [] | no_license | lulu4747/cpp_piscine | 0e5812c9d09065b9aee1f14637bdbb8058e78b1d | 51e01c32fb1a7b16e5dc1b1508dad0b715830cbb | refs/heads/master | 2023-08-21T10:58:48.567413 | 2021-10-19T14:43:55 | 2021-10-19T14:43:55 | 383,465,887 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 712 | cpp | #include <iostream>
#include <string>
#include "Animal.hpp"
#include "Cat.hpp"
#include "Dog.hpp"
#include "WrongAnimal.hpp"
#include "WrongCat.hpp"
int main(void) {
const Animal* meta = new Animal();
const Animal* j = new Dog();
const Animal* i = new Cat();
std::cout << j->getType() << " " << std::endl;
std::... | [
"ludogriph@gmail.com"
] | ludogriph@gmail.com |
a50f0f755ad0a4809ebef92be3e9df0c9675f36c | 5823c0dfec0a5a2eb755ff16bb04435ee54239fd | /labs/lab2/task2/TrimBlanksTests/TrimBlanksTests.cpp | c93b1d26681437af696aebde9b3f8fa69e9ba2a4 | [] | no_license | alexey-malov/oop | b76448452c8fcb2a5b063571cf7252cf45874e69 | 2f2d04fd5d78ab9accd6959bf7092def601c065f | refs/heads/master | 2023-08-11T03:44:58.310708 | 2023-07-29T20:23:30 | 2023-07-29T20:23:30 | 50,946,326 | 48 | 34 | null | 2023-07-29T20:26:19 | 2016-02-02T19:34:30 | C++ | UTF-8 | C++ | false | false | 5,490 | cpp | // TrimBlanksTests.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include "../TrimBlanks.h"
namespace
{
void VerifyTrimBlanks(const std::string &sourceStr, const std::string &expectedTrimmedString)
{
BOOST_CHECK_EQUAL(TrimBlanks(sourceStr), expectedTrimmedString);
}
}... | [
"alexey.malov@cpslabs.net"
] | alexey.malov@cpslabs.net |
7993aec6abea1530e29ff0ca970575c07a819fac | 7e02885c4c7f9205a5d07762a112d5ee9973b591 | /array_list.cpp | 73ef12685f34de520d365cb0e0f1096a094c835e | [] | no_license | dpauly84/Homework3 | bee99bccb4955d00e952b50b3d2af82d3c4029d9 | c6d5069faa4472c7a26c8a040257b1c284d01a8e | refs/heads/master | 2020-04-16T01:13:50.115201 | 2015-02-27T00:17:50 | 2015-02-27T00:17:50 | 31,368,193 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,385 | cpp | // File Name: array_list.cpp
// Author: Derek Pauly
// Student ID: s829f376
// Assignment Number: 3
// Last Changed: February 26, 2015
#include <iostream>
#include <cstdlib>
#include "array_list.hpp"
using namespace std;
// constructor
Partlist::Partlist() {
m_last = 0;
}
// return "one past the end" position o... | [
"dpauly84@gmail.com"
] | dpauly84@gmail.com |
b6db4ad0e92cb419ee328931a8e929e8f8416fd3 | bdda27a5925ecb00e43a00bf7e59b260629b909c | /cplus/MFC/Sieve/Sieve/Sieve.h | cbf4f4c02cfb46e3357cfbf35f728bfbbd5cd178 | [] | no_license | Mgm-source/bigpapa-machine | 4b249150b2e4f7f11d304143a522ca76ee1dc78e | ba97ae9f1713228a5d295504f76052a1169a835a | refs/heads/master | 2023-07-21T18:44:00.310383 | 2023-07-16T22:07:35 | 2023-07-16T22:07:35 | 210,632,480 | 0 | 1 | null | 2023-06-30T05:32:59 | 2019-09-24T15:09:39 | C++ | UTF-8 | C++ | false | false | 466 | h |
// Sieve.h : main header file for the PROJECT_NAME application
//
#pragma once
#ifndef __AFXWIN_H__
#error "include 'pch.h' before including this file for PCH"
#endif
#include "resource.h" // main symbols
// CSieveApp:
// See Sieve.cpp for the implementation of this class
//
class CSieveApp : public CWinApp
{
... | [
"Munashe.m@outlook.com"
] | Munashe.m@outlook.com |
a8c11cf12825f99b0b98c6ad2689b586e256981e | 07c43092ac87907bdaeecff136b125b4f77182c2 | /third_party/LLVM/utils/TableGen/CodeEmitterGen.h | 7f6ee2a1b40f1bad639f232a74fbe9e1236ce503 | [
"Apache-2.0",
"LicenseRef-scancode-unknown-license-reference",
"NCSA"
] | permissive | ddrmax/swiftshader-ex | 9cd436f2a0e8bc9e0966de148e5a60f974c4b144 | 2d975b5090e778857143c09c21aa24255f41e598 | refs/heads/master | 2021-04-27T15:14:22.444686 | 2018-03-15T10:12:49 | 2018-03-15T10:12:49 | 122,465,205 | 7 | 0 | Apache-2.0 | 2018-03-15T10:12:50 | 2018-02-22T10:40:03 | C++ | UTF-8 | C++ | false | false | 1,433 | h | //===- CodeEmitterGen.h - Code Emitter Generator ----------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===-------------------------------------------------------... | [
"capn@google.com"
] | capn@google.com |
2a9753e3f7de4d358940768bb9286f09e6c20383 | 3acd913a0cdeda854aa2530b9047fc8c0cbe4bd0 | /src/caffe2/operator/show_worst_op.cc | 86fb1573357a10fe51ce950211ae886847a4d24c | [
"BSD-2-Clause"
] | permissive | cartosquare/caffe2_cpp_tutorial | 120d02a22e1f270c018d5cbeca97fc8733d170ff | 281f614b722e54de9ed5c6003366f6fc9351b971 | refs/heads/master | 2021-05-07T06:40:15.458265 | 2018-01-14T12:06:30 | 2018-01-14T12:06:30 | 111,768,971 | 0 | 0 | null | 2017-11-23T05:54:46 | 2017-11-23T05:54:46 | null | UTF-8 | C++ | false | false | 3,959 | cc | #include "caffe2/operator/show_worst_op.h"
#include "caffe2/util/tensor.h"
#include "caffe2/util/window.h"
#ifdef WITH_CUDA
#include <caffe2/core/common_cudnn.h>
#include <caffe2/core/context_gpu.h>
#include <caffe2/core/types.h>
#endif
namespace caffe2 {
void show_worst(const TensorCPU &X, const TensorCPU &label,
... | [
"leonardvandriel@gmail.com"
] | leonardvandriel@gmail.com |
aaf79482ea047626be03746e25c5cf95b4c5a4f5 | 3553c6b4775d72ff78c9031ff8e893783dd80c2f | /instruction/instruction.h | 98ddac07b72a93f00758f716004473c939b069ea | [] | no_license | Evergarden0101/C0 | 586bded4b9e015b93f7d7f6ec2d60b1b97c48a2f | 92dfc96d15ed037e12177774d92d94c62f89d9af | refs/heads/master | 2020-11-28T10:30:22.195955 | 2019-12-25T13:41:16 | 2019-12-25T13:41:16 | 229,784,648 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,793 | h | #pragma once
#include <cstdint>
#include <utility>
namespace C0 {
enum Operation {
snew = 0,
ipush,
bipush,
loada,
iload,
istore,
iprint,
cprint,
iadd,
isub,
imul,
idiv,
iret,
ret,... | [
"noreply@github.com"
] | Evergarden0101.noreply@github.com |
22164b1546c03d7c53dc56b549140e414ec4e1b0 | a9dba37e2fffc5ea7db2fc39634d63bb95a2ec56 | /SPICECENTREQPROGRAM/SPICECENTREQPROGRAM/tools.cpp | d3be42962bd216a20ea10ec21a3b27ef943d067a | [] | no_license | decision0/SPICE-CENTRE-Q-PROGRAM- | b7b3f4b540be4d60f752d3b0161683674dc10568 | aa53d0c40a5c29c5297885ac1bfbdbdb53c0804c | refs/heads/master | 2020-07-12T15:06:39.011396 | 2019-08-28T04:44:39 | 2019-08-28T04:44:39 | 204,846,670 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,573 | cpp | #include <iostream>
#include <queue>
#include <string>
#include <sstream>
#include <ctime>
#include <vector>
#include "Credentials.h"
#include "Counter.h"
#include "Stopwatch.h"
#include <Windows.h>
#include <fstream>
#include <iomanip>
#include "tools.h"
#pragma warning(disable:4996)
using namespace st... | [
"noreply@github.com"
] | decision0.noreply@github.com |
e1d7deae475ece25a34871cb997cb517a444de29 | 1739bf1e1512c11f3d096beaed009677d349575d | /Samples/08.SkyAtmosphere/CameraVolumeLut.cpp | ef954ad3766a17a8cea7ed86ab20f3b9b5605946 | [] | no_license | TiraX/tix2 | 60eebd345097e80d59c8a1d2887a2413ddc1fa11 | ebdab17e400764abfb9ea7a9d4db3fbdada8f293 | refs/heads/master | 2023-02-18T05:28:38.956220 | 2023-01-28T14:41:10 | 2023-01-28T14:41:10 | 129,262,369 | 10 | 2 | null | 2021-03-30T01:32:13 | 2018-04-12T14:16:02 | C++ | UTF-8 | C++ | false | false | 2,216 | cpp | /*
TiX Engine v2.0 Copyright (C) 2018~2021
By ZhaoShuai tirax.cn@gmail.com
*/
#include "stdafx.h"
#include "CameraVolumeLut.h"
FCameraVolumeLutCS::FCameraVolumeLutCS()
: FComputeTask("S_CameraVolumeLutCS")
{
}
FCameraVolumeLutCS::~FCameraVolumeLutCS()
{
}
void FCameraVolumeLutCS::PrepareResources(FRHI * RHI)
{
... | [
"zhaoshuai.cn@gmail.com"
] | zhaoshuai.cn@gmail.com |
fe0f20746a6ef8427511df1dd813e47144c7d316 | 2ece19adf0440078074cd2e5c0bea8eb8028ad6d | /experiments/CUDABilateralGrid/libcgt/core/src/geometry/GeometryUtils.cpp | a0b55b67152eb134aab91af72244dc4aa4ea31e7 | [
"MIT"
] | permissive | Nerei/Halide | 6a97bee637a316b31825d1ffcf33190a9cc3cc6a | 892e93fb9a9ec867f3c25092322ad98b2341b61f | refs/heads/master | 2021-01-18T12:45:07.295345 | 2013-05-03T15:45:40 | 2013-05-03T15:45:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 23,032 | cpp | #include "geometry/GeometryUtils.h"
#include <algorithm>
#include <cassert>
#include <cmath>
#include "vecmath/Vector3f.h"
#include "math/Arithmetic.h"
#include "math/MathUtils.h"
#include "vecmath/Matrix2f.h"
using namespace std;
// static
float GeometryUtils::EPSILON = 0.0001f;
// static
Boundin... | [
"jrk@csail.mit.edu"
] | jrk@csail.mit.edu |
960a82a64689266beb7bcfd5be507512523f2e34 | 8fd0c95adff682ab276b5b90accbfa2dc5a7e66d | /src/lib/zswapworker/zswapworker.hpp | 2e5818eefcebd38b14a9a7cff7bc3f94257a21f8 | [
"MIT"
] | permissive | tim77/zswap-cli | 4cb220a7a9a68e33ff0e27da43f9d85a979166c0 | 2993e2ee37289c67a3282ba091b4258512464f9a | refs/heads/master | 2022-04-23T13:08:16.209974 | 2020-04-26T16:45:01 | 2020-04-26T16:45:01 | 259,098,292 | 0 | 0 | MIT | 2020-04-26T18:00:50 | 2020-04-26T18:00:49 | null | UTF-8 | C++ | false | false | 2,181 | hpp | /*
Copyright (c) 2020 EasyCoding Team
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 use, copy, modify, merge, ... | [
"vitaly@easycoding.org"
] | vitaly@easycoding.org |
7d9930559c94499eed0213e72d46fde56bcd8a2f | c293060a9b0aad4777c195ffe55d398fa01342ab | /Shape.cpp | fda6e5fa6ed4f8a8e8b9b53eae0df7494cd6f141 | [] | no_license | DV1537/assignment-b2-hadsan | 6e2b92aba5ea372e09451da1ddbae5a9dc6ae7c1 | 082486623896df275b91d9f65e3ab5738904c679 | refs/heads/master | 2020-04-26T15:58:40.581596 | 2019-03-04T05:14:48 | 2019-03-04T05:14:48 | 173,663,589 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 156 | cpp | #include "Shape.h"
void Shape::getVertex(Position *ptr) const
{
for (int i = 0; i < nrOfPositions; i++)
{
ptr[i] = Pptr[i];
}
} | [
"noreply@github.com"
] | DV1537.noreply@github.com |
3c5a636f0e73726468af17cc637c478f0704c1de | 62dd3a370a775666c2453e47afc16c2f4aaf90b1 | /amr-wind/utilities/console_io.H | 918372644228b89b746e6f01fb231a84d0d2c5fb | [
"BSD-3-Clause"
] | permissive | gdeskos/amr-wind | df6c8d29c0d639d3db4d2dee0125a3de8339009c | 002a2bbb1538a25a06126504d507245b623413f6 | refs/heads/development | 2023-09-04T23:01:54.822619 | 2020-07-08T12:48:36 | 2020-07-08T12:48:36 | 237,267,355 | 2 | 1 | BSD-3-Clause | 2022-11-30T16:08:50 | 2020-01-30T17:32:27 | C++ | UTF-8 | C++ | false | false | 355 | h | #ifndef CONSOLE_IO_H
#define CONSOLE_IO_H
#include <iostream>
#include "AMReX_MLMG.H"
namespace amr_wind {
namespace io {
void print_banner(std::ostream&);
void print_summary(std::ostream&);
void print_mlmg_header(const std::string&);
void print_mlmg_info(
const std::string& solver,
const amrex::MLMG& mlm... | [
"noreply@github.com"
] | gdeskos.noreply@github.com |
20cac9a773c85dbbfded4b86e69dc6184edc993b | d06cb6ab3e83643c50243924dbca9dac7f300d0c | /udemy_haskell_course/Fundamentals_of_Practical_Haskell_Programming_Video/Volume_01_Section_01_Topic_02/Reduction.cpp | 63f1f5099dd482e4d9162ed11e302d5c1b080664 | [] | no_license | Weizhuo-Zhang/happy_haskell | b843f4e8be03f2e33434fcb9fb591523f2e76a4d | 79398553bba59425f8eccf1388b41add6a0f2575 | refs/heads/master | 2020-04-26T16:13:20.285812 | 2019-05-16T07:26:35 | 2019-05-16T07:26:35 | 173,671,359 | 1 | 0 | null | 2019-04-10T13:57:23 | 2019-03-04T04:03:53 | Haskell | UTF-8 | C++ | false | false | 502 | cpp | ////////////////////////////////////////////////////////////
//
// Reduction.cpp
// Code sample accompanying topic 1.1.2 "The FP Way"
// See README.md for details
//
// Fundamentals of Practical Haskell Programming
// By Richard Cook
//
////////////////////////////////////////////////////////////
#include <iostream>
#... | [
"wzhuo.zhang@gmail.com"
] | wzhuo.zhang@gmail.com |
93f77bf7bd8089ad739926b5df4648e6471c5fc1 | fabc795b341cbcc4a34d25bcc75850f2cb39e523 | /Classes/UIElements/UIMainMenu.h | 9cdde58092e46efa26ef14c41808a7fb7d3fc219 | [] | no_license | TommyKiller/FlowerGame | ffb6ba82ff1f9d98b54bb0b32c8b4351685c15ec | e8f6b73cac69990c0bf071092d25230b6771691a | refs/heads/master | 2023-04-30T18:50:21.771130 | 2021-05-19T19:40:27 | 2021-05-19T19:40:27 | 368,882,642 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 301 | h | #ifndef UI_MAIN_MENU_H
#define UI_MAIN_MENU_H
#pragma once
#include "cocos2d.h"
#include "../Classes/Level.h"
#include "../Classes/Scenes/GameScene.h"
class UIMainMenu: public cocos2d::Menu
{
protected:
virtual bool init() override;
public:
CREATE_FUNC(UIMainMenu);
};
#endif // !UI_MAIN_MENU_h
| [
"Nicko6k9@yandex.ua"
] | Nicko6k9@yandex.ua |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.