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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ea509cf703b0e0377c265573571a49ff7910c539 | 38fc56af9a48e779aee4b9b8af6890cf5c1b1af8 | /src/partition.hpp | 763674b58636d880ce8ddde05ca9c96266217adb | [
"BSD-2-Clause"
] | permissive | cmcantalupo/sorter_threaded | 144979cbdbea097cd20b93b60fab18eb26a91aab | 02f15bffeaf1d7c73d82e547f92b4905337f999d | refs/heads/master | 2020-05-29T16:26:32.925326 | 2014-04-19T17:01:54 | 2014-04-19T17:01:54 | 2,043,021 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,683 | hpp | // Partition is a class used to break up a vector into pieces that are
// between pivot values. This is done using std::map and each piece
// is stored in a std::stack.
//
// C.M. Cantalupo 2011
// cmcantalupo@gmail.com
#ifndef st_partition_hpp
#define st_partition_hpp
#include <set>
#include <vector>
#include <map>... | [
"cmcantalupo@lbl.gov"
] | cmcantalupo@lbl.gov |
0ab88ad833605a2ce0641fc2324f525642424b55 | b22c254d7670522ec2caa61c998f8741b1da9388 | /NewClient/RoomCutController.h | 8c24b560133e319bc3da823f4534e03a5aa31f74 | [] | no_license | ldaehler/lbanet | 341ddc4b62ef2df0a167caff46c2075fdfc85f5c | ecb54fc6fd691f1be3bae03681e355a225f92418 | refs/heads/master | 2021-01-23T13:17:19.963262 | 2011-03-22T21:49:52 | 2011-03-22T21:49:52 | 39,529,945 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,910 | h | /*
------------------------[ Lbanet Source ]-------------------------
Copyright (C) 2009
Author: Vivien Delage [Rincevent_123]
Email : vdelage@gmail.com
-------------------------------[ GNU License ]-------------------------------
This program is free software: you can redistribute it and/or modify
it under ... | [
"vdelage@3806491c-8dad-11de-9a8c-6d5b7d1e4d13"
] | vdelage@3806491c-8dad-11de-9a8c-6d5b7d1e4d13 |
ad85b2fac35e1f1d26248dae4e9b08143d7cb7da | 388020361a83a134d3a23bbff6ac39a0a04ae498 | /travis/openexr_patches/ImathMatrix.h | d049c9ead43109c6d6be9a4f67e3bc627d403a5b | [] | no_license | happydpc/pandora | c5beccf5385100bf36a3f236188b9813b202eb8e | ebb0ab7d58a75054304d92842bebd09b190c121a | refs/heads/master | 2021-05-17T20:48:34.833416 | 2020-03-02T10:44:47 | 2020-03-02T10:44:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 83,606 | h | ///////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2002-2012, Industrial Light & Magic, a division of Lucas
// Digital Ltd. LLC
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that th... | [
"mathijs.l.molenaar@gmail.com"
] | mathijs.l.molenaar@gmail.com |
d066b1919bfb2fbc5ce7e8dff97a3c5bf9557996 | 5533cd312ea0d3d506261c3836b928d49a318a8d | /DiceRolling.h | c6a68ecf1a42c9384ecaf241e00f8494b907281d | [] | no_license | To-D/RollDice | 4e5cc836605e4a3e0d9c71a49408ef0c9c4fa223 | 609c320fc59bd1391733c7472daa797a443ea20c | refs/heads/master | 2023-03-22T09:22:14.934889 | 2021-03-15T14:28:01 | 2021-03-15T14:28:01 | 345,985,263 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 910 | h | #include "Player.h"
#include "User.h"
#include "Dice.h"
#include <vector>
#ifndef DiceRolling_H
#define DiceRolling_H
using namespace std;
class DiceRolling{
public:
DiceRolling();
DiceRolling(int playerTotal, int timesEachRound);
~DiceRolling();
void acceptPlayer(User user);
void start();
... | [
"1244467220@qq.com"
] | 1244467220@qq.com |
68255e24c22e564783e6d59d91d95450a72b5d31 | 279119c0632fd2c457b41b5ffb16cf7b461c54f1 | /src/lib/AST/VariableReference.cpp | b49e5b265a927533744855ecc61449ea2855c06e | [
"MIT"
] | permissive | yen0515/compiler_hw4 | 95c5734e82144e529d3caa25f69868dc922e3531 | 21b9e8fff345a825995563a50d307ef5c594e081 | refs/heads/main | 2023-02-07T18:23:54.733683 | 2021-01-01T11:42:33 | 2021-01-01T11:42:33 | 325,967,534 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,076 | cpp | #include "AST/VariableReference.hpp"
#include "visitor/AstNodeVisitor.hpp"
VariableReferenceNode::VariableReferenceNode(const uint32_t line,
const uint32_t col,
const char *p_name)
: ExpressionNode{line, col}, name(p_name) {}... | [
"noreply@github.com"
] | yen0515.noreply@github.com |
ce2aa38b7f4ba93e5d06e3d453fc7c9c1034a126 | 79ef0e333ed1523cbd647f126db6d91c06b6097a | /uva191/uva191.cpp | 5622e21224f46e7ee412b7e72444f6959577837b | [] | no_license | sam2377/UVA | de768cefcb804735906b5bb9dfe4ecf8079f65b8 | b668b5bb0457e93b7513b168d0c918b818d0a005 | refs/heads/master | 2020-04-27T06:52:10.397501 | 2019-03-06T10:05:44 | 2019-03-06T10:05:44 | 174,120,132 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,449 | cpp | #include <cstdio>
#include <cstdlib>
#include <iostream>
using namespace std;
struct point{
double x,y;
};
bool check;
void cross(struct point,struct point,struct point,struct point);
int main(){
int cases;
cin >> cases;
while(cases--){
struct point p1,p2,p3,p4,start,end;
double xs,ys,xe,ye,xl,yt,xr,yb,tmp;
c... | [
"samcheng168@gmail.com"
] | samcheng168@gmail.com |
4a4cbe8dce769cb38e428cfdc48db05d67b5483c | 9eb2245869dcc3abd3a28c6064396542869dab60 | /benchspec/CPU/510.parest_r/src/source/lac/compressed_set_sparsity_pattern.cc | 70b32e8aba3e1162cead304013326006bbcd41e7 | [] | no_license | lapnd/CPU2017 | 882b18d50bd88e0a87500484a9d6678143e58582 | 42dac4b76117b1ba4a08e41b54ad9cfd3db50317 | refs/heads/master | 2023-03-23T23:34:58.350363 | 2021-03-24T10:01:03 | 2021-03-24T10:01:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,423 | cc | //---------------------------------------------------------------------------
// $Id: compressed_set_sparsity_pattern.cc 16476 2008-07-31 21:10:18Z bangerth $
// Version: $Name$
//
// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2008 by the deal.II authors
//
// This file is subject to QPL and may not ... | [
"cuda@hp-arm64-09-02.nvidia.com"
] | cuda@hp-arm64-09-02.nvidia.com |
e4837371194e802a8e7675ac93cae8d0611f0953 | 3818b7af7a6407b636870288779014b29b186535 | /Source/Engine/Core/FrExpImp.h | 81d5306a0e9ea6640bcca91b8cb5694a030933b8 | [] | no_license | VladGordienko28/ProtoGame | de287b44b6db4de9fc888869e3a663db81dc85ed | 3d88f5578f6ceca4275af9ee14a468b190bbfb7c | refs/heads/master | 2020-04-16T06:53:18.813931 | 2019-11-11T19:42:19 | 2019-11-11T19:42:19 | 165,364,799 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,782 | h | /*=============================================================================
FrExpImp.h: Exporter & Importer abstract classes.
Copyright Jun.2016 Vlad Gordienko.
=============================================================================*/
/*----------------------------------------------------------------... | [
"vladgordienko28@gmail.com"
] | vladgordienko28@gmail.com |
e61b5b0829f3b62b60a0709c299e789b74a2a81d | ea2d4ae6b1f99a69444048e1ff50b9775088a1c2 | /tiger/depth.cc | 6ab5ac89593e34b4cd9d62b2cd29b4ff0a53fada | [] | no_license | Jgorenburg/Compiler | 25e7245524a301b77a251274ec295b52f0ecf1c9 | 3eafe0fb5833e3ef0ed808757f1b89da4de2b38b | refs/heads/main | 2023-02-21T19:37:33.829955 | 2021-01-29T20:19:09 | 2021-01-29T20:19:09 | 334,254,213 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 176 | cc | #include "AST.h"
int A_root_::compute_depth(){
return 0;
}
int AST_node_::compute_depth(){
return parent()->compute_depth()+1; // once "parent" works, this should do it
}
| [
"jgorenburg@haverford.edu"
] | jgorenburg@haverford.edu |
cc1fc8a966a5a62ee5f1be61a8ca4633b1696cf2 | fff8900dabd25eea8cf0c3599a3a54cee833e7a3 | /competitive coding/STL LinkedIn/chapter 3 (dequeue , stack , priorit queue)/3 queue.cpp | 8a6b294007fa964e5d77a420e9355e4e13fadf98 | [] | no_license | pravincesingh/DSA-C-CPP-CP | a2390cde8b727fb67829ccb572b647606fcc75b3 | 89b593b919167a4c159c7357992b3d2ef6801b4c | refs/heads/master | 2020-11-30T03:35:13.516060 | 2019-12-26T16:05:39 | 2019-12-26T16:05:39 | 230,288,565 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 446 | cpp | // push and pop in only one end
#include<iostream>
#include<queue>
using namespace std;
int main()
{
queue<int> numbers;
int temp;
cout<<"Pushing...\n";
while(temp>=0)
{
cout<<"Enter numbers: ";
cin>>temp;
if(temp>=0)
numbers.push(temp);
}
cout<<"Popi... | [
"pravincesingh@gmail.com"
] | pravincesingh@gmail.com |
28d0ae147906e4d3f0f07eb1351bb686d4ce2f54 | c67cbd22f9bc3c465fd763fdf87172f2c8ec77d4 | /Desktop/Please Work/build/Android/Preview/app/src/main/include/Fuse.WebSocket.IWebSo-b6556b9.h | 002efc3463198cb5b0fbd84d92ca6006db7aa70d | [] | no_license | AzazelMoreno/Soteria-project | 7c58896d6bf5a9ad919bde6ddc2a30f4a07fa0d4 | 04fdb71065941176867fb9007ecf38bbf851ad47 | refs/heads/master | 2020-03-11T16:33:22.153713 | 2018-04-19T19:47:55 | 2018-04-19T19:47:55 | 130,120,337 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,474 | h | // This file was generated based on C:/Users/rudy0/AppData/Local/Fusetools/Packages/Fuse.WebSockets/1.8.1/WebSocketClient.uno.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Uno.Object.h>
namespace g{
namespace Fuse{
namespace WebSocket{
// internal abstract interface IWebSo... | [
"rudy0604594@gmail.com"
] | rudy0604594@gmail.com |
f4cce1c7bbaa341da3395478e737bb8444c541df | d4089f4f3c70c03f87b84b88b80ae3979c0bd648 | /Multiply.cpp | f7a0bf4e164816b3c82330433724748505abf8e7 | [] | no_license | saharit09/6206021620167 | ed323d906436f65d714cee865e1dd3a6d4be14f4 | 5f56266b34d2e33fa058b0bf49dc8e618f45912c | refs/heads/master | 2021-06-23T05:21:08.425911 | 2021-04-09T03:52:00 | 2021-04-09T03:52:00 | 204,741,253 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 356 | cpp | #include <iostream>
using namespace std;
int main()
{
int num1, num2, sum = 0;
cout << "Enter first number : ";
cin >> num1;
cout << "Enter Second number : ";
cin >> num2;
for (int n=1; n<=num2; n=n++)
{
cout << num1 << " * " << n << " = " << num1*n << endl;
sum = sum+(num1*n);
}
cout << "su... | [
"noreply@github.com"
] | saharit09.noreply@github.com |
25117089dae54eb6a2863ad409cb2341f2fabcc8 | a2bab9bfb645530d022e7b95f653f055496ea391 | /smort_complement/slStrange.h | 1e7ef9c7e22833e1e0d15e142d53b2c581c174a1 | [] | no_license | vshymanskyy/O_oRT | d1a6df38e974efaaee986c99aa8fedbea49b8411 | 54318915a700ed3956b02eb594c8b56bd0bc4f53 | refs/heads/master | 2020-03-30T13:22:48.165038 | 2012-11-23T14:30:41 | 2012-11-23T14:30:41 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,910 | h | #pragma once
#include "slBase.h"
#include "slRandom.h"
class slStrange : public slBase {
public:
real mFloorRange;
real mFloorHeight;
slStrange(Scene* scene)
:slBase(scene)
{
mFloorRange = 50.0;
mFloorHeight = 0.0;
}
bool Load(){
if(SetCamera){
mScene->AddCamera(
new camThin... | [
"vshymanskyi@gmail.com"
] | vshymanskyi@gmail.com |
a3dc5c3604c5037bc1812fd3bd12834c2c1c42b6 | 6b306aa9d7420b9381dfa1f3c9bc806f7a7d9da5 | /tipro/TiproHidApi.h | 08082c8ca16bd63729ef9c4356658fd95142ee46 | [] | no_license | heatblazer/tipro-lib | 3f6463136eb71f492be0b03785163037907e12ed | d1af5badfd16e3c742475fd7e5cb0dfce4517f03 | refs/heads/master | 2020-04-17T10:28:22.810982 | 2016-09-27T13:45:58 | 2016-09-27T13:45:58 | 67,253,391 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 28,066 | h |
// The following ifdef block is the standard way of creating macros which make exporting
// from a DLL simpler. All files within this DLL are compiled with the TIPROHIDAPI_EXPORTS
// symbol defined on the command line. this symbol should not be defined on any project
// that uses this DLL. This way any other project ... | [
"heatblazer@gmail.com"
] | heatblazer@gmail.com |
c5e5bbeabc5f3a9aded1dade052df275ff08c206 | ba193e30352cbf5927c60b3b4d9a5115d1a6be70 | /3047.cpp | e650a6793823ab340f1d5ec0ffb2d22cbd57489b | [] | no_license | yasminalvx/Uri-cplusplus | 6b5f1075c226fd3f5c1c7903de3793421f40df9f | d1cc13a2241679af46237adacfd236492ec2fe6f | refs/heads/master | 2023-01-04T15:46:39.383944 | 2020-10-31T23:37:40 | 2020-10-31T23:37:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 331 | cpp | //Yasmin Alves
//29.08.2020
#include <iostream>
#include <vector>
#include <stdio.h>
using namespace std;
int main() {
int m, f1, f2, f3, maior;
cin >> m >> f1 >> f2;
f3 = m - f1 - f2;
maior = f1;
if (f2 > maior) maior = f2;
if (f3 > maior) maior = f3;
cout << maior << endl;
r... | [
"noreply@github.com"
] | yasminalvx.noreply@github.com |
706aaab3a199cf83c3d8a6f4b7bc8041a0958cfd | 88cf5bec8fe12b6e4e1c972acecb4bb741df71df | /seguimiento/clase15/operint03.cpp | 9e6b188fce18a39e19d995335e3fece56f8e5447 | [] | no_license | Bodhert/lenguajes_de_programacion | 34842b6750aade08661259006e2aff7e1d480678 | 8c049c5cdaed3f7360b4cbecf0973fe96192db72 | refs/heads/master | 2020-03-23T23:36:53.638834 | 2015-11-26T23:22:21 | 2015-11-26T23:22:21 | 142,244,699 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,063 | cpp |
/*
* fichero: operint03.cpp
* compilar: $
g++ -o operint03 operint03.cpp
* ejecutar: $ ./operint03
* proposito: Ejemplo de uso de operadores enteros.
* Leer valores enteros.
*/
#include <iostream>
using namespace std;
void operint(int a, int b);
int
main(void) {
int i1, i2;
cout << "Leer dos... | [
"alejandro.cordoba.bodhert@gmail.com"
] | alejandro.cordoba.bodhert@gmail.com |
36c246c115a82589ec4bd869fe4c64e4659d0b79 | fe2362eda423bb3574b651c21ebacbd6a1a9ac2a | /VTK-7.1.1/IO/Core/vtkArrayDataReader.h | 8d2e714e787c76999bfa53ff56a7a0327c199250 | [
"BSD-3-Clause"
] | permissive | likewatchk/python-pcl | 1c09c6b3e9de0acbe2f88ac36a858fe4b27cfaaf | 2a66797719f1b5af7d6a0d0893f697b3786db461 | refs/heads/master | 2023-01-04T06:17:19.652585 | 2020-10-15T21:26:58 | 2020-10-15T21:26:58 | 262,235,188 | 0 | 0 | NOASSERTION | 2020-05-08T05:29:02 | 2020-05-08T05:29:01 | null | UTF-8 | C++ | false | false | 2,947 | h | /*=========================================================================
Program: Visualization Toolkit
Module: vtkArrayDataReader.h
-------------------------------------------------------------------------
Copyright 2008 Sandia Corporation.
Under the terms of Contract DE-AC04-94AL85000 with Sandia Co... | [
"likewatchk@gmail.com"
] | likewatchk@gmail.com |
92512e27fd9eb44664879eaf2037f93c8c1d0c7b | e4680cef8fc742cc56df5433a590abd597d7c266 | /stdafx.cpp | 242428bd87a907ee97185da81417b190b0579e5d | [] | no_license | pzhxbz/maze | 8c8ba2bc98e4b21064df5fe1f706ce99c75eb23d | 87607af8d65f663f5b177f9f1d1b9bb8fa1655eb | refs/heads/master | 2020-08-02T23:07:46.336601 | 2016-11-12T14:07:02 | 2016-11-12T14:07:02 | 73,556,151 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 269 | cpp | // stdafx.cpp : 只包括标准包含文件的源文件
// maze_graph.pch 将作为预编译头
// stdafx.obj 将包含预编译类型信息
#include "stdafx.h"
// TODO: 在 STDAFX.H 中引用任何所需的附加头文件,
//而不是在此文件中引用
| [
"noreply@github.com"
] | pzhxbz.noreply@github.com |
af55e7c8f078435c1568024dcc6e919e3c6c3d26 | 69550fc178669232d4ea6d5c7d6d33e19eb88263 | /src/src/ESP8266_HardwareTimer.cpp | a19458c3ecd52ae68b707bdfd8d27b6471944fdb | [] | no_license | Dropsleutel/ExpressLRS | b2b17294661645fa943953404a3ce6b875968470 | a4a3234c01da17be311200572a38d4812eeecd0b | refs/heads/master | 2020-12-31T21:33:34.868784 | 2020-02-05T06:26:04 | 2020-02-05T06:26:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,884 | cpp | #include "Arduino.h"
#include "ESP8266_HardwareTimer.h"
uint32_t ICACHE_RAM_ATTR HWtimerGetlastCallbackMicros()
{
return HWtimerLastCallbackMicros;
}
uint32_t ICACHE_RAM_ATTR HWtimerGetlastCallbackMicros90()
{
return HWtimerLastCallbackMicros90;
}
uint32_t ICACHE_RAM_ATTR HWtimerGetIntervalMicros()
{
ret... | [
"alessandroaus@gmail.com"
] | alessandroaus@gmail.com |
38c556308fe5626ac5d5bd1058714811a20a8555 | 70424c4d8c75465ae9df8038d21aee274b603973 | /state/astate.h | 50298e6f9b0dfa918da01d085a7607d197467c1f | [] | no_license | caifubing/study | 528ace369264cefc9adb516ff0d1d50338fe562c | 1e4042d4641fce12ecd7704be2411243f11b1054 | refs/heads/master | 2021-01-22T13:46:52.889859 | 2015-07-29T13:13:32 | 2015-07-29T13:13:32 | 35,789,668 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 277 | h | #ifndef ASTATE_H
#define ASTATE_H
#include "gumballmachine.h"
class AState : public State
{
public:
AState(std::shared_ptr<GumballMachine> gm);
~AState();
void insert();
void remove();
private:
std::shared_ptr<GumballMachine> m_gm;
};
#endif // ASTATE_H
| [
"caifubing123@qq.com"
] | caifubing123@qq.com |
97da0c6286c14e76ad914184d9226a73ed8b649e | 02c6dbf672150f1a61b71e31c828c4dbc58ab9e0 | /linked_list.cpp | 53ee38e0867d482612c8aec67270ecc04715e1e7 | [] | no_license | yuvrajsab/MCA201-Datastructure | 3ac2274599fd07d77a356092e5dce5c114316248 | 83159269a483e7538b9cff430f2148ad8dca19cd | refs/heads/master | 2021-01-02T20:38:38.081150 | 2020-02-28T12:13:12 | 2020-02-28T12:13:12 | 239,791,624 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,361 | cpp | #include <iostream>
using namespace std;
class Node {
public:
int data;
Node *next;
};
class SingleLinkedList {
public:
Node *head;
Node *current;
SingleLinkedList() {
this->head = NULL;
this->current = NULL;
}
bool isEmpty... | [
"sablaniayuvraj@gmail.com"
] | sablaniayuvraj@gmail.com |
0ea6ccf00ea0f8690b2720f3752eb40fa43bd7c2 | 4de80db5134bd37099917ffe7a19befb54580970 | /Arduino/Sketches/Simon_Monk/Programming Arduino-Next Steps/ArduinoNextSteps-master/ArduinoNextSteps/sketch_03_02_interrupt_flash/sketch_03_02_interrupt_flash.ino | 17aa4e28848991c03beddf2f1682cc5ad4e243c8 | [
"MIT"
] | permissive | ElectricRCAircraftGuy/Arduino-STEM-Presentation | 519015eb8773e9ad6fe406d8188464369f6b71d8 | 061f4b7f1280df0442ad3f38b7f21a9eb49675b4 | refs/heads/master | 2022-11-02T11:51:36.288988 | 2020-06-15T05:13:52 | 2020-06-15T05:13:52 | 272,290,790 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 392 | ino | // sketch 03_02_interrupt_flash
int ledPin = 13;
volatile boolean flashFast = false;
void setup()
{
pinMode(ledPin, OUTPUT);
attachInterrupt(0, stuffHapenned, FALLING);
}
void loop()
{
int period = 1000;
if (flashFast) period = 100;
digitalWrite(ledPin, HIGH);
delay(period);
digitalWrite(ledPin, LOW);
... | [
"ercaguy@gmail.com"
] | ercaguy@gmail.com |
c5fdae58b3870cc5d53bda684a6f4b806791762e | a4660cb76d7f8118a38203ce0c823a471eb7d1af | /src/STM32TimerInterrupt.h | d6fb17b83afa6127c7f1b564fc01e0cec08de4e3 | [
"MIT"
] | permissive | yasuo-moriya/STM32_TimerInterrupt | e854525c446a0419306d6e3615faa9b4b62a3445 | 60bce3850c8db6518c91bbdbf1749c60d90c807b | refs/heads/main | 2023-07-05T19:41:54.909722 | 2021-08-20T18:43:25 | 2021-08-20T18:43:25 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,913 | h | /****************************************************************************************************************************
STM32TimerInterrupt.h
For STM32 boards
Written by Khoi Hoang
Built by Khoi Hoang https://github.com/khoih-prog/STM32_TimerInterrupt
Licensed under MIT license
Now even you use all ... | [
"noreply@github.com"
] | yasuo-moriya.noreply@github.com |
6790885e689e87ad1f606e930a544d6e7cae0c9f | 783e1170bfa1dfe586e9db6811ccea6997a69b00 | /structure/interpretor.cc | 49bcb61ea324d0aa8beb4749bbac17e1445b7650 | [] | no_license | itchae/Projet_TLC | 84bfbd53dc1706492299be9371df4ac711c6f440 | 69699ce5a0f612c46fa4c99de13f5fa0462867c7 | refs/heads/master | 2021-09-04T15:46:26.505122 | 2018-01-20T01:27:19 | 2018-01-20T01:27:19 | 111,439,645 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,038 | cc | #include "headers/interpretor.hh"
#include <iostream>
using namespace std;
/**--------------------------------------------------------------------------**/
void Interpretor::visitDecl(Decl *d){
SymbolTable& symbol = SymbolTable::Instance();
Variable* v = new Variable(d->getVar(), d->getType());
symbol.addVar(v... | [
"rcharpentier10@gmail.com"
] | rcharpentier10@gmail.com |
59127518d547f8a29308ea0436b6c0caca20ab13 | 33764f647ba7118088a6fbc1f3e207ead95f307b | /Inheritance/Shapes/Shape.h | 30a42016bf5f1fac13af54b907c286f2172cc004 | [
"MIT"
] | permissive | iamdavid24/lectures | 0b286a8e10260a3dfa500df8cc137bac1b32fa73 | 5149cbc098815d15015b4bfb8e914d583d6d2d48 | refs/heads/master | 2021-01-17T15:43:27.900740 | 2015-10-09T03:52:05 | 2015-10-09T03:52:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 985 | h | #ifndef __SHAPE_H
#define __SHAPE_H
#include <iostream>
#include <string>
// A simple base class for representing 2-dimensional shapes.
class Shape {
private:
// every Shape has a center coordinate, and a name describing the shape.
double mCenterX;
double mCenterY;
std::string mShapeName;
public:
// T... | [
"neal.terrell@csulb.edu"
] | neal.terrell@csulb.edu |
13d73d940023ea113c647cfa2795acafe65f8431 | dd80a584130ef1a0333429ba76c1cee0eb40df73 | /external/chromium_org/third_party/libjingle/source/talk/p2p/base/transport.cc | 4404c081a8332d316dc4b3de17e6f2463760ddce | [
"GPL-1.0-or-later",
"LGPL-2.0-or-later",
"Apache-2.0",
"MIT",
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference",
"LGPL-2.1-or-later",
"BSL-1.0",
"LicenseRef-scancode-public-domain"
] | permissive | karunmatharu/Android-4.4-Pay-by-Data | 466f4e169ede13c5835424c78e8c30ce58f885c1 | fcb778e92d4aad525ef7a995660580f948d40bc9 | refs/heads/master | 2021-03-24T13:33:01.721868 | 2017-02-18T17:48:49 | 2017-02-18T17:48:49 | 81,847,777 | 0 | 2 | MIT | 2020-03-09T00:02:12 | 2017-02-13T16:47:00 | null | UTF-8 | C++ | false | false | 26,063 | cc | /*
* libjingle
* Copyright 2004--2005, Google Inc.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and... | [
"karun.matharu@gmail.com"
] | karun.matharu@gmail.com |
cdaaf460062e548d1f11819f52210d721288db3f | f926a8d220232c187e5c45e06a64aa50ac4113ac | /src/twoDDetector/twoDDetector.cpp | d1fd1b45c608c358e924333ccdb8b1ccca7c2d25 | [] | no_license | elie-moussy/LibPF | 543ac951030689dbbb8e0aa66955ac3d3fcce2be | c820928c1efc40021670cece6648ff6515bf2767 | refs/heads/master | 2020-05-30T22:52:56.636347 | 2014-07-03T13:14:17 | 2014-07-03T13:14:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,664 | cpp | #include "LibPF/twoDDetector/twoDDetector.h"
twoDDetector::twoDDetector(string file,ImgProducer* imgB)
{
/* Lecture dans le fichier des dimensions des images */
ifstream fichier;
fichier.open(file.c_str(), ios::in);
if(!fichier)
{
cout << "|ERROR|--> twoDDetector \t:\t Opening file [" << file << "... | [
"elie.moussy@laas.fr"
] | elie.moussy@laas.fr |
d1e5d1fcdec4533c12cc70928980ec66f10d0ad0 | 460ed184adb49bae522d7b2a5778b67c59604361 | /output/mutations/43/lucas.cpp | 9f49c996fff1bd93268f1216c3c8fa858a18962c | [] | no_license | jenkinnk/Mutation_Testing_Application | cfdbbe3179ac855a0f8e7685d79b8dda0e5b3f1a | 45440fae49be3f1f4c083fd49fb807e887e6c7ec | refs/heads/master | 2020-04-24T15:52:10.919191 | 2015-08-31T16:26:24 | 2015-08-31T16:26:24 | 41,686,481 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,408 | cpp | /* Joshua Breeden Section #1003 Assignment #8
* The following program is designed to read pairs of integers from a file using
* Linux redirection. All of the integers in the file will be >= 1. The first number
* in each pair (n1) will be >= the second number (n2).
* For each pair of numbers the program will:
* c... | [
"jenkinnk@gmail.com"
] | jenkinnk@gmail.com |
0604b60695b1d639b7cff5d97d9882489544f0c6 | a068be21aa32ec6503693cea6beebe11e0f0395a | /src_lib/directed/gknv_crossings_reducer.cpp | a1d9832e4764f414ce50154006548b6ec7921787 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | ShoYamanishi/wailea | 482cc3bb71eb7b3069ca0c4bc6aaf2b5e633a62a | e6263ed238ae32233a58d169868a4a94bf03a30b | refs/heads/master | 2018-12-06T07:14:12.398799 | 2018-10-01T22:58:44 | 2018-10-01T22:58:44 | 105,390,501 | 5 | 1 | MIT | 2018-10-01T22:58:45 | 2017-09-30T18:14:17 | C++ | UTF-8 | C++ | false | false | 20,113 | cpp | #include "directed/gknv_crossings_reducer.hpp"
#ifdef UNIT_TESTS
#include "gtest/gtest_prod.h"
#endif
/**
* @file directed/gknv_crossings_reducer.cpp
*
* @brief
*
*/
namespace Wailea {
namespace Directed {
using namespace std;
using namespace Wailea::Directed;
void GKNVcrossingsReducer::initialOrderByDFS(
... | [
"shoichiroyamanishi@ShoichirosMBP2.home"
] | shoichiroyamanishi@ShoichirosMBP2.home |
762bb34add6c5c4d47660973a63d10906ca3e6d5 | 2834f98b53d78bafc9f765344ded24cf41ffebb0 | /chrome/browser/password_manager/credential_manager_browsertest.cc | 0f75a1376f5391104078a24fd4d38a08af1fa8d3 | [
"BSD-3-Clause"
] | permissive | cea56/chromium | 81bffdf706df8b356c2e821c1a299f9d4bd4c620 | 013d244f2a747275da76758d2e6240f88c0165dd | refs/heads/master | 2023-01-11T05:44:41.185820 | 2019-12-09T04:14:16 | 2019-12-09T04:14:16 | 226,785,888 | 1 | 0 | BSD-3-Clause | 2019-12-09T04:40:07 | 2019-12-09T04:40:07 | null | UTF-8 | C++ | false | false | 43,445 | 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/command_line.h"
#include "base/macros.h"
#include "base/stl_util.h"
#include "base/strings/stringprintf.h"
#include "base/strings/utf_strin... | [
"commit-bot@chromium.org"
] | commit-bot@chromium.org |
b220cb63361a10f98a13933dddb9ac48b4dffd95 | b1a8b4515064081a2571a21cef3aab597e2566c4 | /runtime/gen12lp/definitions/command_queue_helpers_gen12lp.inl | b6f83fa883bd65a3f6f843493af995fff6bf0f71 | [
"MIT",
"LicenseRef-scancode-free-unknown"
] | permissive | KamilKoprykIntel/compute-runtime | 379e9bc66e34b6cbda4b9a1ef7d1cd0da58d9ca2 | 8ece440625dc178b6f836ea455d8daccda5cdcc0 | refs/heads/master | 2021-01-08T04:01:29.178394 | 2020-02-19T19:17:21 | 2020-02-20T11:10:21 | 241,906,088 | 0 | 0 | MIT | 2020-02-20T14:32:41 | 2020-02-20T14:32:40 | null | UTF-8 | C++ | false | false | 146 | inl | /*
* Copyright (C) 2019 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "runtime/command_queue/enqueue_resource_barrier.h"
| [
"ocldev@intel.com"
] | ocldev@intel.com |
7d3470be9b8e730a7f2b66ed7f07e575347768bc | 7e28e988880503c125f77e0b1d275382a1b6fe3a | /jetpack_joyride/src/projectiles.cpp | 3e4fc1d4c1a98f5d200f91ae3d2e95e9af3a3e86 | [
"MIT"
] | permissive | SouvikBan/OpenGL-Games | 9b0c0b21e226469ddaea38585a2bdde4f7509eed | 052030583b81f3bcb79be7bd076365ed7cfe56eb | refs/heads/master | 2020-04-16T22:57:04.563861 | 2019-03-10T22:41:52 | 2019-03-10T22:41:52 | 165,991,559 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,466 | cpp | #include "projectiles.h"
#include "main.h"
Projectile::Projectile(float x, float y, color_t color) {
this->position = glm::vec3(x, y, 0);
this->rotation = 0;
speed = 1;
int const n1 = 10000, n2 = 6 ;
static GLfloat inner_buffer_data[9*n2], outer_buffer_data[9*n1];
for(int i=0;i<n1;i++)
... | [
"banerjeesouvik123@gmail.com"
] | banerjeesouvik123@gmail.com |
1f4438db1cf1c07148536ca37fe592384f920609 | 553bdcb3a77f112c8a24dedd293a237cf302cbc1 | /connectors/dds4ccm/tests/apc/gen_comp/components/publisher/publisher_exec.h | d49140eac52fbefe16124f2d804304d5d957f178 | [
"MIT"
] | permissive | jwillemsen/ciaox11 | 98615c5bd4a4f02b4f973c1c2d534af9bf979ca6 | 7d83a9c7fdce9e95f4728efd2cd3ce0ff2462d6d | refs/heads/master | 2023-08-19T09:07:53.993324 | 2023-04-11T07:04:32 | 2023-04-11T07:04:32 | 221,247,191 | 0 | 0 | MIT | 2023-09-11T11:16:46 | 2019-11-12T15:14:29 | C++ | UTF-8 | C++ | false | false | 7,583 | h | // -*- C++ -*-
/**
* @file publisher_exec.h
* @author Johnny Willemsen
*
* @copyright Copyright (c) Remedy IT Expertise BV
*/
#ifndef __RIDL_PUBLISHER_EXEC_H_EABHEJCC_INCLUDED__
#define __RIDL_PUBLISHER_EXEC_H_EABHEJCC_INCLUDED__
//@@{__RIDL_REGEN_MARKER__} - HEADER_END : publisher_impl.h[Header]
#pragma onc... | [
"jwillemsen@remedy.nl"
] | jwillemsen@remedy.nl |
ddde591845cd22989a04985cf4f74f4cd9e74709 | ecfd3ebd5748e9477146bc241ce769c6b07de229 | /program/steganography/datahiding.cpp | 62a9f0ea81d53e4f0ae5406ec207909f82003575 | [] | no_license | EastL/my-web | bdef93ad3e73007c23a084aa29609c2134680217 | a4d810ec6b7b8f1fed1bcef0ed9dc56a033b7d44 | refs/heads/master | 2016-08-07T09:44:24.640715 | 2015-03-31T15:17:03 | 2015-03-31T15:17:03 | 23,451,490 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 20,929 | cpp | #include <iostream>
#include <stdlib.h>
#include <math.h>
#include "datahiding.h"
using std::cin;
using std::cout;
using std::endl;
string short2bin(short n)
{
bool temp[8] = {0, 0, 0, 0, 0, 0, 0, 0};
short i = 8;
while(n > 0)
{
i--;
temp[i] = n % 2;
n /= 2;
}
stri... | [
"st100321048@gmail.com"
] | st100321048@gmail.com |
c06e9e3ceb4a5ecf5cbbf46d46529e8df5f741ad | 9675d45dd68bd9a4deec6c502cb143bc965ea930 | /Classes/Item.h | 9780690a776bf9ab43750c5238add9a223205757 | [
"MIT"
] | permissive | moonrailgun/WhiteWorld-cocos2dx | 6fb21ed0438c649d950ee21ee68302de036bf183 | d2ddc18a08a1b503ab7b2956e6e746a6be829562 | refs/heads/master | 2021-01-10T06:06:25.579674 | 2016-04-19T11:23:59 | 2016-04-19T11:23:59 | 53,767,768 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 285 | h | #ifndef __Item_H__
#define __Item_H__
#include "cocos2d.h"
USING_NS_CC;
class Item :public Node{
public:
void initItem(int id);
Sprite* getSprite();
void useItem();
private:
Sprite* sprite;//物体图片
char* itemName;//物品名字
int itemNum;//持有数量
};
#endif | [
"moonrailgun@gmail.com"
] | moonrailgun@gmail.com |
84c5ea34706f306d8b2d90e6fbeee38151a72f41 | fd57ede0ba18642a730cc862c9e9059ec463320b | /rs/rsScriptIntrinsic.cpp | f58275ae1ce5462237cd7abc6ca1597119d79258 | [] | no_license | kailaisi/android-29-framwork | a0c706fc104d62ea5951ca113f868021c6029cd2 | b7090eebdd77595e43b61294725b41310496ff04 | refs/heads/master | 2023-04-27T14:18:52.579620 | 2021-03-08T13:05:27 | 2021-03-08T13:05:27 | 254,380,637 | 1 | 1 | null | 2023-04-15T12:22:31 | 2020-04-09T13:35:49 | C++ | UTF-8 | C++ | false | false | 2,895 | cpp | /*
* Copyright (C) 2012 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requir... | [
"541018378@qq.com"
] | 541018378@qq.com |
b4214ae18fca7365a44443266709de52aa4bfb14 | 74312372cca6eb6fc99d1d0cc7d2e34515e097ef | /mcrouter/lib/fibers/EventBaseLoopController.h | abddb743a4f3643124fca9d57d2ebd20dffeab5a | [
"BSD-3-Clause"
] | permissive | iokays/mcrouter | f89b96d02c81835ed78ad94bb70240842bf9a209 | b68750ad4840c8bb81843dd6b57da25879aa7371 | refs/heads/master | 2021-01-21T07:13:35.243853 | 2014-09-26T16:49:46 | 2014-09-26T21:47:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,374 | h | /**
* Copyright (c) 2014, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#pragma once
... | [
"alikhtarov@fb.com"
] | alikhtarov@fb.com |
e7c89693d5a67ee1b9161e97acb406db4d606f7a | 6b2a8dd202fdce77c971c412717e305e1caaac51 | /solutions_5753053697277952_1/C++/chubakueno/a.cpp | cf320d39bddecfed97cb04054626e5a97be8e41e | [] | 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 | 846 | cpp | #include <bits/stdc++.h>
using namespace std;
int main(){
int t;
cin>>t;
for(int z=1;z<=t;++z){
int n;
cin>>n;
vector<int> arr(n,0);
int tot=0;
for(int i=0;i<n;++i)
cin>>arr[i];
printf("Case #%d: ",z);
while(1){
int maxind=-1,mv=0;
int tot=0;
for(int i=0;i<n;++i){
tot+=... | [
"alexandra1.back@gmail.com"
] | alexandra1.back@gmail.com |
cdc07a6b01af20b57da933fb3e421293bb9e48db | d97735ef39079b45f89e4381965cd1026c6ba2ec | /Fog/Src/Fog/G2d/Geometry/PathClipper.cpp | e8c361f9c976ce3618ed82824071e71b613fed02 | [
"BSD-3-Clause",
"LicenseRef-scancode-boost-original",
"LicenseRef-scancode-public-domain",
"MIT"
] | permissive | prepare/Graphics2DVariants | 36d0bb503ecc00ae9b19a704830310597e272af6 | 0f59169b332e23b166adcad63e5427de2449bf70 | refs/heads/master | 2021-01-22T05:33:29.575665 | 2014-11-18T13:39:28 | 2014-11-18T13:39:28 | 22,535,508 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 49,644 | cpp | // [Fog-G2d]
//
// [License]
// MIT, See COPYING file in package
// [Precompiled Headers]
#if defined(FOG_PRECOMP)
#include FOG_PRECOMP
#endif // FOG_PRECOMP
// [Dependencies]
#include <Fog/Core/Global/Init_p.h>
#include <Fog/Core/Global/Private.h>
#include <Fog/Core/Math/Math.h>
#include <Fog/Core/Math/Solve.h>
#inc... | [
"wintercoredev@gmail.com"
] | wintercoredev@gmail.com |
7a65f2ad2e047b18b9450b018f758adbe938f8ed | d765d42641cc163091885203ef05b8184c244bd4 | /RangeofSunk.cpp | de3d4877e59bb77b73a19c30e39379a935c8f40d | [] | no_license | IamLJT/51nod | 248f4e0173c2c8b2776500116e9fd65f62961653 | 6566cdb1a90812d072501f0c216deb5f3154e7a4 | refs/heads/master | 2020-05-21T17:54:35.699449 | 2016-09-28T05:33:29 | 2016-09-28T05:33:29 | 62,032,864 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,574 | cpp | /*
题目:和为k的连续区间
要求:一整数数列a1, a2, ... , an(有正有负),以及另一个整数k,求一个区间[i, j],
(1 <= i <= j <= n),使得a[i] + ... + a[j] = k。
*/
#include <iostream>
#include <vector>
#include <algorithm>
using namespace std;
typedef long long ll;
bool cmp(pair<ll, int> p1, pair<ll, int> p2)
{
if(p1.first==p2.first)
return p1.sec... | [
"noreply@github.com"
] | IamLJT.noreply@github.com |
2283aab88f0b90ba3898d7f1d2cfbef38eef5345 | 3ffe7d58df70dfe86347d058c5c7eba29fec0555 | /Chapter03/3_2_3/pra3_8.cpp | e5c24ba8dba8245ce4a3a6190fa84709ae7814e2 | [] | no_license | Exrealaz/cpp_primer_exeicise | ec508e39a6f4728d0c6acd4ca5e286a2817c137f | e111e6d7dfa7a9cac5ee01087e5699cd5a1f3efd | refs/heads/master | 2022-10-05T02:40:14.738994 | 2020-06-05T11:42:15 | 2020-06-05T11:42:15 | 267,763,316 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 639 | cpp | #include <iostream>
#include <string>
using std::cout; using std::endl;
using std::string;
void traditional_for_loop(string &s) // Argument of string type is not a pointer;
{
for(decltype(s.size()) i = 0; i != s.size(); ++i)
{
auto &c = s[i];
c = 'X';
}
}
void while_loop(st... | [
"exrealaz@gmail.com"
] | exrealaz@gmail.com |
006eb686fe28361d0642b0f654e57cbeb950e240 | 642c73cf0a3f21a815a160ef365f0850e7e3d96c | /Asteroids/GameObject.h | 333afd8001b6288cf4af35864c66eb085d5f96aa | [] | no_license | inm206/CS3113-Homework | 2ff02091d3a679150430c45c1e7f3207959d078b | f54a87f00bb30bc180b0a9920294bd2f9d0a22e3 | refs/heads/master | 2021-01-18T14:58:12.067290 | 2014-12-17T10:33:01 | 2014-12-17T10:33:01 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 721 | h | #pragma once
#include <SDL.h>
#include <SDL_opengl.h>
#include <SDL_image.h>
#include <math.h>
#include <algorithm>
#include "Matrix.h"
#define PI 3.14159265f
class GameObject{
public:
GameObject(int sprite, float posX, float posY, float w, float h, float vx, float vy, float rot, float dR, float m);
~GameObject();... | [
"inm206@nyu.edu"
] | inm206@nyu.edu |
36fe9c38c3a6e962b75d27f081198238a09af6f3 | 72f4065508a503a9c34a7aed64e78e3b6113cab0 | /06.cc | 11b7d276306ff0e54a4ec5138a67aecde8c47411 | [
"MIT"
] | permissive | GraphProcessor/cppnow2016 | 85e2c42cd5012c697de381193c26e73cf09ba851 | 69deb829e000e385f52070f2cb4956bd54a99eca | refs/heads/master | 2021-01-11T20:48:47.961643 | 2016-05-13T13:52:15 | 2016-05-13T13:52:15 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,604 | cc | #include <iostream>
#include <vector>
#include <boost/graph/compressed_sparse_row_graph.hpp>
#include <boost/graph/graph_traits.hpp>
#include <boost/graph/reverse_graph.hpp>
#include <boost/graph/dijkstra_shortest_paths_no_color_map.hpp>
using namespace boost;
// Use-case: bidirectional Dijkstra st-shortest path.
/... | [
"daniel@trvx.org"
] | daniel@trvx.org |
803ed45f1ce9df4877925ebb2a2c15c59128aaef | 93ccb47f0ca3d440b3f2a4b43f53d0908feabac6 | /include/AddSnakeAction.h | 438ce9db77f5cb35a5d62f4e3e184659418313b7 | [] | no_license | Kariiem/Ladder-Snake | 84fddb8bc53817071319f3912c4524398fb6a768 | 67f15929c74642d384eb61529d318184dbd5aad4 | refs/heads/master | 2021-09-24T20:45:52.254412 | 2021-09-18T20:41:31 | 2021-09-18T20:41:31 | 230,082,458 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 701 | h | #pragma once
#include "Action.h"
class AddSnakeAction :public Action
{
// Always add action parameters as private data members
// [Action Parameters]
CellPosition startPos; // 1- The start position of the ladder
CellPosition endPos; // 2- The end position of the ladder
// Note: These parameters should be rea... | [
"krm.taha@outlook.com"
] | krm.taha@outlook.com |
d001c266c62b886213bbc2bc1d9ca21e80290aa4 | bd1fea86d862456a2ec9f56d57f8948456d55ee6 | /000/114/620/CWE762_Mismatched_Memory_Management_Routines__delete_int_malloc_63b.cpp | 6879c3cd3233b09b0a1066ebe50cc47804391068 | [] | no_license | CU-0xff/juliet-cpp | d62b8485104d8a9160f29213368324c946f38274 | d8586a217bc94cbcfeeec5d39b12d02e9c6045a2 | refs/heads/master | 2021-03-07T15:44:19.446957 | 2020-03-10T12:45:40 | 2020-03-10T12:45:40 | 246,275,244 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,549 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE762_Mismatched_Memory_Management_Routines__delete_int_malloc_63b.cpp
Label Definition File: CWE762_Mismatched_Memory_Management_Routines__delete.label.xml
Template File: sources-sinks-63b.tmpl.cpp
*/
/*
* @description
* CWE: 762 Mismatched Memory Management Routines
*... | [
"frank@fischer.com.mt"
] | frank@fischer.com.mt |
8775afa08959b3e98ff9c6e8c6ff14bddf573355 | 52092742b86fba5e79bd938ba445b6d98fb5da72 | /Lec-25/ReverseStackRecursion.Cpp | 987654fe374bff0c716ab6515937b5b12c3701e0 | [] | no_license | Mohit29061999/CbLvJan | e837bf0868a59ff9668f93e77494035d73e0c719 | 54e2dbc79c55730d336f70a962501d49ea7c521f | refs/heads/main | 2023-05-04T01:51:21.251657 | 2021-05-31T07:59:54 | 2021-05-31T07:59:54 | 335,693,040 | 6 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 824 | cpp | #include <iostream>
#include <stack>
using namespace std;
void insertAtbottom(stack<int>&s,int val){
//base case: no element before so new element will be default be at bottom
if(s.empty()){
s.push(val);
return;
}
int x=s.top();
s.pop();
insertAtbottom(s,val);
s... | [
"noreply@github.com"
] | Mohit29061999.noreply@github.com |
5365b2f4ee63ad9fff25472e74ecadc401bf5732 | 897927fc18d3bc476c57c65f8a1fe67066bbe66e | /c++/c++_ds/heap/conn_ropes.cpp | a1c71afd277a2d99d54c4cf92c0d0b7afc4cfcfd | [] | no_license | rishabh1507/data_structure_and_algorithm | 5d4431f485e85e3212575ed08c83723032df3918 | 832fae49e21befd5737fb6fc77018d54ab5b1391 | refs/heads/master | 2023-06-18T17:32:56.365230 | 2021-07-23T12:08:48 | 2021-07-23T12:08:48 | 274,735,215 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 438 | cpp | #include<bits/stdc++.h>
using namespace std;
int main(){
int n;
cin>>n;
int arr[10000];
int temp1;
int temp2;
int sum1;
int total =0;
for(int i=0;i<n;i++){
cin>>arr[i];
}
priority_queue<int,vector<int>,greater<int>> q;
for(int i=0;i<n;i++){
q.push(arr[i]);
}
while(q.size()>=2){
temp1=q.top();
q.po... | [
"srivastava829@gmail.com"
] | srivastava829@gmail.com |
aec6fa1d988edcf552dcd9055c1e4b7ac9e8c42f | 5bb7cf6f6f38e8a96ef5d522d26cf78c7c097c41 | /src/game/server/application/SwgDatabaseServer/src/shared/core/SwgLoader.cpp | 206cd1ee5fbc62300195610b88db72234550e932 | [] | no_license | hackerlank/SWG_Client_Next_Main | 1c88015af11bd42c662a7d7c4fe0807924f4077a | d737257b8fc28f7ad4d8d02113e7662682187194 | refs/heads/master | 2021-01-12T06:25:56.627527 | 2016-06-01T19:32:59 | 2016-06-01T19:32:59 | 77,359,203 | 6 | 4 | null | 2016-12-26T05:09:07 | 2016-12-26T05:09:06 | null | UTF-8 | C++ | false | false | 4,211 | cpp | // ======================================================================
//
// SwgLoader.cpp
// copyright (c) 2001 Sony Online Entertainment
//
// ======================================================================
#include "SwgDatabaseServer/FirstSwgDatabaseServer.h"
#include "SwgLoader.h"
#include "SwgDatabaseS... | [
"lightlordmh@hotmail.com"
] | lightlordmh@hotmail.com |
2f08717b6f379212ca3f72594147f532af277bcc | fc9ec32670150cce44432b6b43dca6ae7e9a56bc | /uva/11764.cc | d2a9a233c04bf1ff730928c7fadc472d36929464 | [] | no_license | ArthurEmidio/programming-problems | e3efc16ad826a6f4b43277b72ef90189aec868c7 | 16a8c3883649efaf1ab0475036f017638bfe343f | refs/heads/master | 2020-12-04T12:37:06.643514 | 2017-06-27T07:49:10 | 2017-06-27T07:49:10 | 65,958,563 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 700 | cc | #include <iostream>
#include <limits>
#include <cmath>
#include <vector>
using namespace std;
#define ll long long
int main()
{
int t;
cin >> t;
for (int i = 0; i < t; i++) {
int n;
cin >> n;
int highJumps = 0;
int lowJumps = 0;
int prevH;
cin >> p... | [
"arthur.500@gmail.com"
] | arthur.500@gmail.com |
def071910c7a2702088a7917037a4c902fb11872 | 9c875266d568ce5ca2bc7df3147d7cd536af652e | /algorithm/monotoneminima.cpp | 4013c4158aca3040dc15400b61350cdd143634ab | [] | no_license | hoget157/library-1 | 0408d122af8733292faffb298ba97f419d88a66c | 1301f03a3f5d300a0fdcbac44067070a40d683f5 | refs/heads/master | 2020-11-29T15:58:29.537377 | 2019-12-24T01:16:13 | 2019-12-24T01:16:13 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,290 | cpp | #ifndef call_from_test
#include<bits/stdc++.h>
using namespace std;
#endif
//BEGIN CUT HERE
namespace MonotoneMinima{
template<typename T,typename F>
void induce(int l,int r,int a,int b,vector<int> &dp,F dist){
if(l==r) return;
int m=(l+r)>>1;
int &idx=(dp[m]=a);
T res=dist(m,idx);
for(int i=a;i... | [
"aki.bdash@gmail.com"
] | aki.bdash@gmail.com |
72553f8089eb74dd099da6ef59bbab8d4d9097d1 | dc575aa2df3c6e611adf6b4e18466bbbc3ccdd51 | /長谷川雅恭0323/GhostHouse/Source/GameObject/Item/DummyKey/DummyKey.h | 7f76376bf25b1e1d2fa1dece7e44539bf2ecb0c6 | [] | no_license | Nagi3582/Hasegawa | 31db0340725eac8fd799517292b75bf1cdad0c8d | e42033a13251cc4b8b026b30961194018c26bcb9 | refs/heads/master | 2021-04-15T09:24:34.797175 | 2018-03-23T03:58:33 | 2018-03-23T03:58:33 | 111,678,507 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 530 | h | #ifndef _DUMMY_KEY_H_
#define _DUMMY_KEY_H_
#include "../../../Actor/CollideActor.h"
class Camera;
struct SceneInfo;
class DummyKey :public CollideActor
{
public:
DummyKey(IWorld& world, GSvector3 position, Camera& camera, SceneInfo& info);
virtual void OnUpdate(float deltaTime)override;
virtual void... | [
"noreply@github.com"
] | Nagi3582.noreply@github.com |
aaae710dcc31b11caffdfd713249358c2f812345 | ca34eac4babf8c07f7f3dd3ce75d3be9791f366d | /Source/ShooterGame/Private/UI/Menu/ShooterWelcomeMenu.h | 63c9881d7c42977cd79393249bda06256ee6e891 | [
"MIT"
] | permissive | cqcallaw/shootergame | f6c04bbcade7f96a22aff834b7d86c228ac71b7f | 7d93f7d3333f2882ba67ba15da71a3f9325958aa | refs/heads/master | 2021-07-08T14:18:33.600615 | 2021-05-21T16:52:04 | 2021-05-21T16:52:04 | 244,085,258 | 5 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 2,009 | h | // Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "SlateBasics.h"
#include "SlateExtras.h"
class FShooterWelcomeMenu : public TSharedFromThis<FShooterWelcomeMenu>
{
public:
/** build menu */
void Construct( TWeakObjectPtr< class UShooterGameInstance > InGameInstance );
/** Add the menu to th... | [
"cqcallaw@gmail.com"
] | cqcallaw@gmail.com |
ab5752a67d816bfc90475e305b68cb64c5b4bdf2 | 8a640c7bf3d545524708feb94f09318945757197 | /apps/myApps/tableProjection/src/Setting.h | 93ae6296458e577256530d357f3119ef4c7f4ef9 | [
"MIT"
] | permissive | nmbakfm/tableProjection | 8577f76127ea27899808d20c4488bdaefaade579 | 8348be6fefe07377cb1e9e56362a0014fd15601e | refs/heads/master | 2021-01-10T06:22:55.337288 | 2015-06-07T04:45:05 | 2015-06-07T04:45:46 | 37,000,066 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 546 | h | //
// Setting.h
// tableProjection
//
// Created by 南部 晃史 on 2015/06/07.
//
//
#ifndef __tableProjection__Setting__
#define __tableProjection__Setting__
#include "ofMain.h"
#include "ofxXmlSettings.h"
#define DEBUG TRUE
#define SETTING_XML_FILENAME "setting.xml"
class Setting {
public:
static void load();
... | [
"nmbakfm@inter-arteq.com"
] | nmbakfm@inter-arteq.com |
525a1431eabbd8e6c08b1937aee8afbee07f9893 | cce0796274ec23805cb0e0482e5be644233d5397 | /Hack/loadcellTransmitter/loadcellTransmitter.ino | 3901885b8a582c2f0d7d6617ede932793785ebcc | [] | no_license | ariaalinejad/Innovasjonsprosjekt-2021 | 8f377a9e60e2742da34c5202842428f40b6e6632 | ccc9374ca5e8fe3c2d92f6d168e399664e7e0998 | refs/heads/main | 2023-04-20T05:39:27.260048 | 2021-05-02T19:25:02 | 2021-05-02T19:25:02 | 406,469,569 | 1 | 0 | null | 2021-09-14T17:52:45 | 2021-09-14T17:52:45 | null | UTF-8 | C++ | false | false | 1,141 | ino |
#include <SPI.h>
#include <nRF24L01.h>
#include <RF24.h>
int sdaPin = A4; //Inputpin for O+
int sclPin = 2; //Inputpin for O-
int sclRead = 0; //Verdien til O+
int sdaRead = 0; //Verdien til O-
int diff = 0; //Differansen mellom spenningen fra O+ og O-
bool active; //Sier om vi har kraft på sensoren
int r... | [
"noreply@github.com"
] | ariaalinejad.noreply@github.com |
a85e7f5b5761f7ac3bf2af284460e518918aeb10 | 97bb7da626def8ad206be815c64348778f550d38 | /142.linked_list_cycle_2/LinkedListCycle2.cpp | 32a372eea1b8e7bb7db8ce742d978c094e41b5d4 | [] | no_license | songkey7/leetcode | c242daafe33cc6035461fc2f3e751489d8b2551e | 2f72c821bd0551313813c9b745ddf5207e1cb71c | refs/heads/master | 2021-05-14T09:50:35.570822 | 2020-04-10T01:20:11 | 2020-04-10T01:20:11 | 116,336,985 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,335 | cpp | //
// Created by Qi Song on 1/10/18.
//
#include "LinkedListCycle2.h"
Base::ListNode * LinkedListCycle2::detectCycle(ListNode *head) {
if(!head || !head->next) return nullptr;
ListNode * p1 = head, * p2 = head;
while(p2 && p2->next){
p1 = p1->next;
p2 = p2->next->next;
if(p1 == p2)... | [
"qsong@freewheel.tv"
] | qsong@freewheel.tv |
2ef322cba01b870524cbb1768aaf006eff6a3a59 | 04b1803adb6653ecb7cb827c4f4aa616afacf629 | /chrome/browser/extensions/crx_installer.cc | 3b5b4e3e8bcf362b96168a154be700dcbc9563c8 | [
"BSD-3-Clause"
] | permissive | Samsung/Castanets | 240d9338e097b75b3f669604315b06f7cf129d64 | 4896f732fc747dfdcfcbac3d442f2d2d42df264a | refs/heads/castanets_76_dev | 2023-08-31T09:01:04.744346 | 2021-07-30T04:56:25 | 2021-08-11T05:45:21 | 125,484,161 | 58 | 49 | BSD-3-Clause | 2022-10-16T19:31:26 | 2018-03-16T08:07:37 | null | UTF-8 | C++ | false | false | 42,293 | cc | // Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/extensions/crx_installer.h"
#include <map>
#include <set>
#include <utility>
#include "base/bind.h"
#include "base/files/fi... | [
"sunny.nam@samsung.com"
] | sunny.nam@samsung.com |
7d3c5b1538a294cc1516de03759a5f41f75bd659 | 51fd68fc0d7ebadadeb568950920621b58058af3 | /C++/code/1472.cpp | a4059d3c5e7a081a0c2ceedc8b8cf46a30a6ce64 | [] | no_license | leafeonia/leetcode | 7b0eded595ed7bf349472ea26fa1128c28ee3767 | f6c0348d694a11011a0544027a720645a5577bad | refs/heads/master | 2021-12-07T00:32:13.517169 | 2021-10-25T07:46:29 | 2021-10-25T07:46:29 | 194,399,032 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,031 | cpp | class BrowserHistory {
public:
BrowserHistory(string homepage) {
cur = homepage;
}
void visit(string url) {
if (!cur.empty()) backst.push(cur);
cur = url;
while (!fwdst.empty()) fwdst.pop();
}
string back(int steps) {
for (int i = 0; i < steps; i++) ... | [
"maoym99@outlook.com"
] | maoym99@outlook.com |
d1bd8bfa38f1f51ff4f6d41f03b3a724dbd0f19a | 297d9257589bc6086fbec08b28b59d6180f33c62 | /Melike_gitDeneme.cpp | 0810976e91fb8dbcc17e13f1d953a9d4b24d0377 | [] | no_license | swe501-spring2018/deneme-meliqu | f6da7447eb316cd926e7bfaf8b0b1556e7909f38 | 59175931696ba6686bd24e0a731951765eb3d53f | refs/heads/master | 2021-01-24T09:13:20.080094 | 2018-02-26T18:35:21 | 2018-02-26T18:35:21 | 123,004,406 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 465 | cpp | //============================================================================
// Name : Melike_gitDeneme.cpp
// Author :
// Version :
// Copyright : Your copyright notice
// Description : Hello World in C++, Ansi-style
//============================================================================
#... | [
"melikeertan_gsu@hotmail.com"
] | melikeertan_gsu@hotmail.com |
f3dd00dcfb919174466d39c43f1f112fc9b0e168 | 2e669367304c3cb097377b0382ef78266faee583 | /Hamming_Distance_by_backtracking.cpp | fc163fa0cb4eb2bba13aa1a8c8c05256d5bd7e42 | [] | no_license | RT-1904129/Competitive-programming | 0426fcacb6ca74d1cd879147379014aaed69c7c9 | 29069d023a9db345c57a5d7da0dc5fbb2ed9077d | refs/heads/main | 2023-06-12T08:16:58.817431 | 2021-07-11T04:49:44 | 2021-07-11T04:49:44 | 325,627,752 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 952 | cpp | #include <iostream>
#include <string>
#include <algorithm>
using namespace std;
void diceRollHelper(string & choose,int N,int H){
if(N==0){
if(H!=count(choose.begin(), choose.end(),'1')) return;
cout<<choose<<" ";
return;
}
else{
for(int i=0 ;i<=1;++i){
if(co... | [
"rishabh29072001@gmail.com"
] | rishabh29072001@gmail.com |
bf73fe1b551be60af00d22f0a14a88a68fd78ca1 | 8e9217d40776dd620a52f0c4675a1ef7bbe23fcd | /main.cpp | 4e27677b993f7ea71be3731e7b5c195259378500 | [
"MIT"
] | permissive | jjzhang166/GenFlextangle | 8444da71b4947a86ad27117c182a9cddf66c8345 | 3787a9a107a425fc19cc1cdbb5f881836bef8e4c | refs/heads/master | 2022-01-06T12:56:08.664677 | 2019-07-17T14:22:40 | 2019-07-17T14:22:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,110 | cpp | #include <iostream>
#include <string>
#include <vector>
#include <opencv2/imgcodecs.hpp>
#include <sstream>
#include "HexagonSettingWindow.h"
#include "GenFlextangle.h"
std::string AskQuestionGetString(const std::string& question) {
std::cout << question;
std::string ans;
std::cin >> ans;
return ans;
}
std::strin... | [
"z.takmin@gmail.com"
] | z.takmin@gmail.com |
a18354349f2d78ce43470123918a4c2578ad1f2b | d52d5fdbcd848334c6b7799cad7b3dfd2f1f33e4 | /third_party/folly/folly/logging/LogConfig.h | fdfa89809d83d34e5be46e9cdb883d4b6ad3b77c | [
"Apache-2.0"
] | permissive | zhiliaoniu/toolhub | 4109c2a488b3679e291ae83cdac92b52c72bc592 | 39a3810ac67604e8fa621c69f7ca6df1b35576de | refs/heads/master | 2022-12-10T23:17:26.541731 | 2020-07-18T03:33:48 | 2020-07-18T03:33:48 | 125,298,974 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,108 | h | /*
* Copyright 2017-present Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... | [
"yangshengzhi1@bigo.sg"
] | yangshengzhi1@bigo.sg |
cb83721413e990620aa886f3134c4421197929ba | 42aa3cc3cbd5498922efcfbc7e9f9458c59329a0 | /Algorithm/QuickSort.cpp | c53afeb2b443e7441976cc2042b907fc352ded03 | [] | no_license | jhpark2798/Algorithm | a58aa6309a94d0b06f683ab99b9bddad3073f8c8 | 87be54b43a8f9aa9d14958e198b65d069ffaded7 | refs/heads/master | 2020-12-30T02:58:30.391769 | 2020-02-21T22:35:26 | 2020-02-21T22:35:26 | 238,839,001 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 1,052 | cpp | // Quick sort algorithm
#include <vector>
#include <iostream>
using std::cout;
using std::endl;
void quickSort(std::vector<int>&, int start, int end);
int main() {
std::vector<int> vec = { 3, 6, 7, 1, 2, 3, 6, 5, 2, 10, 9, };
quickSort(vec, 0, vec.size()-1);
for (int i = 0; i < vec.size(); ++i) {
cout << vec[i... | [
"jhpark2798@gmail.com"
] | jhpark2798@gmail.com |
f9d361581918cb30f93464dc35e09c6b5cb36c1f | 2348c9838f7352792266a4e96b6887efdb68217b | /Shortest_Path_DFS/main.cpp | e99687b5adf82d25069515648e7a1a0cffdd4113 | [] | no_license | SumanthReddy9/DSAlgo | 806bb112b9a009809ef01b6f787daab778110b9d | 37e357d950f4dad98f7a3c1f83f4b448416f56d0 | refs/heads/master | 2020-12-01T14:53:39.019291 | 2020-05-20T19:00:46 | 2020-05-20T19:00:46 | 230,668,774 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,205 | cpp | #include<bits/stdc++.h>
using namespace std;
struct node{
int d, w;
};
void addEdge(vector<node>adj[], int u, int v, int w){
adj[u].push_back({v, w});
adj[v].push_back({u, w});
}
void BFS(vector<node>adj[], int src, int dest, int n, int pred[], int dist[]){
bool vis[n];
for(int i=0;i<n;i++){
... | [
"57400098+sumanthreddy4512@users.noreply.github.com"
] | 57400098+sumanthreddy4512@users.noreply.github.com |
400debb047e7d6d64c4e669df1fc0110fc2d41a4 | 2f10f807d3307b83293a521da600c02623cdda82 | /deps/boost/win/debug/include/boost/ptr_container/detail/static_move_ptr.hpp | c79f41f86e9ce2a753e2d482000fe1d45fd6eab3 | [] | no_license | xpierrohk/dpt-rp1-cpp | 2ca4e377628363c3e9d41f88c8cbccc0fc2f1a1e | 643d053983fce3e6b099e2d3c9ab8387d0ea5a75 | refs/heads/master | 2021-05-23T08:19:48.823198 | 2019-07-26T17:35:28 | 2019-07-26T17:35:28 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 129 | hpp | version https://git-lfs.github.com/spec/v1
oid sha256:a09693c0d99370b1531136236b8e738cdbb02140e8bb971ce5aff5dd77535e3f
size 5949
| [
"YLiLarry@gmail.com"
] | YLiLarry@gmail.com |
788254ea658e97da0a8de3c118eb5a2cbe7dff15 | 21466370f83deecbeb2174b5969413ed007309a4 | /NitradeLib/AssetData.h | 4b2fdd2aa49e35f367e93818c18e95494c5e91e4 | [
"Apache-2.0"
] | permissive | quantmatt/nitrade-trading-cplusplus | 2511b55022f71836e86c047ffbb04161df2c41c3 | 89b99502dc686bec15ff08de16ce0b3df0b36636 | refs/heads/dev | 2020-05-19T17:39:40.801039 | 2019-05-29T03:34:45 | 2019-05-29T03:34:45 | 185,138,773 | 3 | 2 | Apache-2.0 | 2019-06-03T05:53:14 | 2019-05-06T06:44:08 | C++ | UTF-8 | C++ | false | false | 755 | h | #pragma once
#include "PriceData.h"
#include <memory>
namespace Nitrade {
class IAssetData
{
public:
IAssetData() = default;
virtual ~IAssetData() = default;
virtual int size() = 0;
virtual IPriceData* operator [](int pos) = 0;
};
class AssetData :
public IAssetData
{
private:
//a vector is abo... | [
"matthew.bailey@enzymelabs.com.au"
] | matthew.bailey@enzymelabs.com.au |
4a6e69558e3382d4ac074dedb3b9f89b6dc0e0e4 | 15eac9190aa870eaddb7c60655d56894c392cdf4 | /MatrixLib/MatrixLib.cpp | 51ad374071b7f8abb00c1d0f1a5b4980cd0f94a7 | [] | no_license | Nosherwan-Akram/SoftwareConstructionCourse-MatrixClient | 85de7a3b92429323c247e94418a2cdaff1dbcff9 | 77154754abdd22660a02c8d5bcf875742f6c5f21 | refs/heads/master | 2020-04-20T18:41:35.691219 | 2019-02-04T06:18:21 | 2019-02-04T06:18:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 280 | cpp | // This is the main DLL file.
#include "stdafx.h"
#include <iostream>
#include "MatrixLib.h"
using namespace std;
int main() {
int arr[2][5] =
{
{ 1, 8, 12, 20, 25 },
{ 5, 9, 13, 24, 26 }
};
int rowMatrixA = sizeof(arr) / sizeof(*arr) +2;
std::cout << rowMatrixA;
}
| [
"35630873+mope10@users.noreply.github.com"
] | 35630873+mope10@users.noreply.github.com |
d3afca0471c87a4476dcbaba2dc1b46a94a696a8 | 8f5000ddc5a0f476d80ba998bcaacf1702c50efc | /CPP-Raytracer/Color.h | d5a8d08738bcd73c2c65a550a872c7fa7d986ddc | [] | no_license | gonnavis/CPP-Raytracer | adb02c222f945ba1ab75bd35bd4395bd8c2134a4 | 6fc12e770b847ef146dfd97896b53ad7bb897b70 | refs/heads/master | 2023-06-16T15:41:59.938576 | 2021-06-01T11:18:04 | 2021-06-01T11:18:04 | 387,035,180 | 0 | 0 | null | 2021-07-17T20:56:57 | 2021-07-17T20:55:31 | null | UTF-8 | C++ | false | false | 856 | h | /*
* Color.h : Contains functions especially designed to work with RGB Colors.
* -> write_color(...) - Sets the gamma corrected RGB values in range [0,255]
*/
#ifndef COLOR_H
#define COLOR_H
#include "Vec3.h"
#include <iostream>
void write_color(std::ostream& out, Color pixel_color, int samples) //FUNCTION TO SET PIX... | [
"aditya-c2512@users.noreply.github.com"
] | aditya-c2512@users.noreply.github.com |
7c16ec65314abb670815be7d4f1f876b62533523 | d0b88b523711e458a29d37fad7baeb80e347598a | /src/utils/String_Utils.hpp | 7584b8805656e36ffa70cdf8be1d5ae0a42ff55d | [
"BSD-3-Clause"
] | permissive | makovkins/FBX2glTF | 2d6877eb97b8cd5d2d0c626de347261294291169 | 68ec475fe0f125379c38e8f9fa59b23ac17b9d68 | refs/heads/master | 2023-07-11T10:00:45.690308 | 2023-07-04T19:55:35 | 2023-07-04T19:55:35 | 195,882,820 | 0 | 0 | null | 2019-07-08T20:37:18 | 2019-07-08T20:37:18 | null | UTF-8 | C++ | false | false | 807 | hpp | /**
* Copyright (c) Facebook, Inc. and its affiliates.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include <algorithm>
#include <cctype>
#include <cstdarg>
#include <cstdi... | [
"makovkin.s@gmail.com"
] | makovkin.s@gmail.com |
a493b5170dda55a818263cc9bdf07a06540042d6 | 662679d9406efa42efb2877bce34d68eee495b41 | /src/GameObject.h | facb85755087b46d2a752bae3aa2ae3ad926ec1d | [] | no_license | Taure/2d_GameEngine | 3660fba69b0c0aa085cb89aac97dd85edde7d0fd | 620847c4e437de47296c7e8258da3de19231066c | refs/heads/master | 2020-06-04T20:18:28.480222 | 2019-06-17T12:13:41 | 2019-06-17T12:13:41 | 192,177,476 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 252 | h | #include "Game.h"
class GameObject {
public:
GameObject(const char* texturesheet, int x, int y);
~GameObject();
void update();
void render();
private:
int xpos;
int ypos;
SDL_Texture* objTexture;
SDL_Rect srcRect, destRect;
};
| [
"daniel@zaark.com"
] | daniel@zaark.com |
cba9b6686ed424358f21224c222b394b10018771 | c98812885e4173fc57ef1a1fb43b92c119cb7daf | /src/media/sctp/sctp_transport.cc | 1a6dc334e1fd1f69a094e763d13f71f4c5292a5e | [
"LicenseRef-scancode-google-patent-license-webrtc",
"BSD-3-Clause"
] | permissive | dusxmt/tg_owt | b42d1d420640445b4af99447582b7a72bb7b4386 | ceef372ff87c1b6b9ab925cb30ccd00388f8fe73 | refs/heads/master | 2023-05-02T08:04:47.410674 | 2020-09-10T11:18:39 | 2020-09-10T11:22:39 | 294,527,690 | 0 | 0 | BSD-3-Clause | 2020-09-10T21:35:52 | 2020-09-10T21:35:51 | null | UTF-8 | C++ | false | false | 49,939 | 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... | [
"johnprestonmail@gmail.com"
] | johnprestonmail@gmail.com |
4494b1798c48e0f32dbc3aa373be33f9156d93cf | 5027f0e77b86a51e90d0d87f37225dd366aebdf9 | /examples/socket1/socket1.cpp | 157becc7c63f40fedacc76dfcc114c2b0c9586ad | [
"MIT"
] | permissive | niXman/easynet | c4c71843b4f7ff1f9a6b84daba851994eeb6624b | eea93068ec946a59d5a7cf850d498fa40819cd7d | refs/heads/master | 2021-06-18T07:32:40.355206 | 2021-06-07T10:14:00 | 2021-06-07T10:14:00 | 28,001,586 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,693 | cpp |
// Copyright (c) 2013-2021 niXman (github dotty nixman doggy pm dotty me)
// All rights reserved.
//
// This file is part of EASYNET(https://github.com/niXman/easynet) project.
//
// Redistribution and use in source and binary forms, with or without modification,
// are permitted provided that the following conditions... | [
"i.nixman@autistici.org"
] | i.nixman@autistici.org |
6f94cccfe8006a36224b0d41e8e82accaeffdd63 | 61b14e8fd7c27a6082896b7069f7b920474a65da | /src/platform.cpp | 8923c24be6a82115550a547b59bc037fa0eb90a9 | [
"DOC",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | adharmad/jikes | 0cf35e321daa3783e4e474fec0f3edca251319fe | fd79325fdfc615301195d64c1d7deb6757855f67 | refs/heads/master | 2022-04-27T01:40:37.830538 | 2020-04-17T06:21:56 | 2020-04-17T06:21:56 | 255,436,062 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 44,345 | cpp | // $Id: platform.cpp,v 1.47 2004/03/23 14:03:56 ericb Exp $
//
// This software is subject to the terms of the IBM Jikes Compiler
// License Agreement available at the following URL:
// http://ibm.com/developerworks/opensource/jikes.
// Copyright (C) 2000, 2004 IBM Corporation and others. All Rights Reserved.
// You m... | [
"adharmad@ionate.io"
] | adharmad@ionate.io |
835733299de6b2ea080368c20487da76f3d71f16 | 498dbcc15b23e8621625c065c61c896953d1a64e | /file_operation/fileinfo.cpp | ec9afbf476d727c65039943ab07a8229f011c3e1 | [] | no_license | fyyy4030/Qt- | 804dfa5ac9144e4cea007b5aa3c8a35d8167ab58 | 292cb84d463248adb8a3a2acc9d5bed99f0bd045 | refs/heads/master | 2022-12-01T18:03:55.238129 | 2020-08-16T11:31:33 | 2020-08-16T11:31:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,830 | cpp | #include "fileinfo.h"
#include "ui_fileinfo.h"
#include <QFileDialog>
#include <QDateTime>
FileInfo::FileInfo(QWidget *parent) :
QWidget(parent),
ui(new Ui::FileInfo)
{
ui->setupUi(this);
}
FileInfo::~FileInfo()
{
delete ui;
}
void FileInfo::getFileInfo(QString &fileName)
{
QFi... | [
"noreply@github.com"
] | fyyy4030.noreply@github.com |
bec25ad836050a3da142d06ce05a1ab2736e1925 | f896499322b55ca746de2c59a33f0ad5417b54e9 | /work/src/Vertex.cpp | da220a8f2ad29fb52e26d5b2b3e54f98c6ba80ae | [] | no_license | widemouthfrog1/CGRA_Project_Integration | 67ec03930774aea910a683e496911ae8b5d18149 | 5086b0126e398dbec3eec55887580f825884a553 | refs/heads/master | 2020-06-02T07:49:00.433411 | 2019-06-18T06:55:51 | 2019-06-18T06:55:51 | 191,087,543 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 829 | cpp | #include "Vertex.h"
void Vertex::link(Vertex &vertex)
{
connections.push_back(vertex.id);
used.push_back(false);
vertex.connections.push_back(id);
vertex.used.push_back(false);
}
int Vertex::getConnection(int index)
{
return connections.at(index);
}
int Vertex::getIndex(int id)
{
for (int i = 0;... | [
"noreply@github.com"
] | widemouthfrog1.noreply@github.com |
251d04a8ffc3884c0c2e47aeac5ac4868314be3f | 406a9036e52ace75ad7d8278fbce193c05e57314 | /ole-bridge.cpp | 5ff20357fd7c9bfcf583215893bda5216226ca91 | [] | no_license | madbrain/ole-bridge | 1ac76dac2c2a67adae5d1fdc8adfee4d578c67db | a24d91bd731253e5d48fd0a7cc8ef0b36bb71745 | refs/heads/master | 2020-05-21T00:21:27.048098 | 2014-12-18T17:31:29 | 2014-12-18T17:31:29 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,479 | cpp |
#include "component-class-factory.h"
#include "iid.h"
#ifdef MAKE_DLL
ULONG g_lockCount = 0;
ULONG g_objCount = 0;
STDAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, void ** ppAny) {
if(rclsid != CLSID_Car) {
return CLASS_E_CLASSNOTAVAILABLE;
}
ComponentClassFactory * pFactory = new ComponentClassFactory;
... | [
"ludovic.lhours@gmail.com"
] | ludovic.lhours@gmail.com |
7a36ddc4ff82bf201a19ebf78dbbae076bb32676 | 4f22b9ce8da23fe8a28018b4edf4568d38ffe5fb | /Nowcoder052/Nowcoder052.cpp | c0d6d77d7e4571fb60323e3f370ecb4a6b389443 | [] | no_license | cestlascorpion/Nowcoder-Cpp | 6fe920a5c96d5e82f244f694edcafa26b84b8025 | b0bb326f1c157fe6e80071f65ac3ab3c7a9c3cfe | refs/heads/master | 2022-07-16T11:52:31.814659 | 2018-03-05T13:23:38 | 2020-05-22T03:45:43 | 123,922,889 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,112 | cpp | //
// Created by cestl on 2018/5/14 0014.
//
#include "Nowcoder052.h"
bool Nowcoder052::match(char *str, char *pattern) {
if (*str == '\0' && *pattern == '\0')
return true;
if (*str != '\0' && *pattern == '\0')
return false;
if (*(pattern + 1) == '*') //遇到?*
{
//1、模式后移2字符,相当于x... | [
"cestlascorpion@gmail.com"
] | cestlascorpion@gmail.com |
70cb36d6829dc3af4476bb1ab309695e57d25269 | 60a0d9dae1ddc1fc485fc368d27536423eb096f4 | /Project1.cpp | c5f671805fe8495650e552d520f9868315817279 | [] | no_license | JanithMS/mycaptain_cpp_april2021 | 98e9e3cadb5da003e697971d265e3672a1337f84 | 201df419a469cec8e3ad89e4c8c2a9f9b9ac0047 | refs/heads/main | 2023-04-03T14:59:24.256793 | 2021-04-29T14:25:28 | 2021-04-29T14:25:28 | 362,554,695 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,946 | cpp | #include <iostream>
#include <string.h>
#include <conio.h>
#include <cstdio>
#include <cstdlib>
using namespace std;
static int p = 0;
class a {
char busn[5], driver[10], arrival[5], depart[5], from[10], to[10], seat[8][4][10];
public:
void install();
void allotment();
void empty();
void show();
void ava... | [
"janithms9920@gmail.com"
] | janithms9920@gmail.com |
36feae6d735fd0a8b6b9310cb6942735c593e776 | 23b7368dc4c137aaa7538ccaa169a08f776d90ab | /rm3dev/wagner/raw/RWTH_SMP/RWTH_V110/RWTH_SMP.bd/inc/IBF_Geometrie_tool.hpp | ffb8ff336f6504bb9d8a90b3cd8957f7282f79b7 | [] | no_license | DaOtto/RAW_IBF_Schnittstelle | ce9ddd73f8b39092cbd4905a3b2e73b1a025f2c1 | 443126ac5d1743bbbeae89a35c2251959ea02bde | refs/heads/master | 2021-01-01T16:14:02.420242 | 2015-04-21T05:32:00 | 2015-04-21T05:32:00 | 33,997,228 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,523 | hpp | /*--DATEI HEADER---------------------------------------------------------------
; Dateiname : IBF_Geometrie_tool.hpp
; Version : V1.00a
; Beschreibung : Einige gemeinsame Geometrieberechnungen.
; Plattform : RMOS3, WIN32
;
;
;
; Autor : D.Otto
; date ... | [
"daniel.otto@rwth-aachen.de"
] | daniel.otto@rwth-aachen.de |
7c617668b010e37452cfd64af043ac607a2c6711 | 20f10dac21957db1e1db199754edfa5e9558ba85 | /SlowForShooting/Scene/PauseScene.h | 005eccc983f78ab4d78309c4f16e08f214b6871e | [
"Unlicense"
] | permissive | boxerprogrammer/TestCode | 6f55424adf63722b57588b757ef4e4638a57b563 | c79dbb943a7d9fdb197e27c8b507bdd0f7c93baa | refs/heads/master | 2023-07-20T12:20:23.607362 | 2023-07-19T23:51:36 | 2023-07-19T23:51:36 | 187,131,781 | 2 | 2 | null | null | null | null | SHIFT_JIS | C++ | false | false | 316 | h | #pragma once
#include "Scene.h"
class InputState;
class SceneManager;
/// <summary>
/// ポーズシーン
/// </summary>
class PauseScene :
public Scene
{
private:
public:
PauseScene(SceneManager& manager);
~PauseScene();
virtual void Update(const InputState& input)override;
void Draw();
};
| [
"zan56011@nifty.com"
] | zan56011@nifty.com |
1a9e503640d1b25e53820823c561e7ce3cbb3753 | 08b8cf38e1936e8cec27f84af0d3727321cec9c4 | /data/crawl/git/new_hunk_5868.cpp | 29199c973fe89e604f487cc84433e6b8a5a875a6 | [] | 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 | 583 | cpp | hook_arg2 = use_message;
} else if (!stat(git_path("MERGE_MSG"), &statbuf)) {
if (strbuf_read_file(&sb, git_path("MERGE_MSG"), 0) < 0)
die_errno("could not read MERGE_MSG");
hook_arg1 = "merge";
} else if (!stat(git_path("SQUASH_MSG"), &statbuf)) {
if (strbuf_read_file(&sb, git_path("SQUASH_MSG"), 0) < 0)
... | [
"993273596@qq.com"
] | 993273596@qq.com |
658f39ecbb9405e7bf5d3e96d6450ee7206ec612 | fb02d478078a8e77cc658e911a58f864d3f3b60c | /pass_year/11028.cpp | 300b49a10288a3e1d2b373ab8f965a23a0730f70 | [] | no_license | cjkjackee/CPE | c186374652a5834739dfb82a9f1acb541162e399 | 0e9773a2976016834b0834bf6995f460272202a7 | refs/heads/master | 2021-01-15T10:31:13.016606 | 2017-09-09T15:59:12 | 2017-09-09T15:59:12 | 99,585,553 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 611 | cpp | #include <iostream>
using namespace std;
bool prime (int n)
{
if(n==0 || n==1) {return false;}
for(int i=2;i*i<=n;i++){
if(n%i==0){
return false;
}
}
return true;
}
int sum (int n)
{
return (n<10)? n:n%10+sum(n/10);
}
int main()
{
int n,t1,t2;
... | [
"cjkeecjkee@gmail.com"
] | cjkeecjkee@gmail.com |
bef341f170a9f7a3dfaf56dd32751fc84a8bb877 | cb7559456af9734cf88c92c5e9f371ffbdb6dc71 | /yinghua.cpp | 7d72fe37bd5ad244b932347ec0bb1072dfebf212 | [] | no_license | WYF99111/Algorithm | 4b3360af5ff3ef80ead2b875e685ede7325d473c | d5647c4e0643aee947d7be28ad96af120b6121cf | refs/heads/master | 2022-04-22T15:42:15.088010 | 2020-04-23T12:10:02 | 2020-04-23T12:10:02 | 258,191,548 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,158 | cpp | #include <iostream>
#include <cstdio>
#include <algorithm>
#include <vector>
using namespace std;
const int N=10005;
int n,c,a,t,f[N],m,p;
struct Thing{
int kind;
int t;
int c;
};
int main(){
int x1,y1,x2,y2;
scanf("%d:%d %d:%d",&x1,&y1,&x2,&y2);
if(y1>y2)
{
y2+=60;
x2--;
... | [
"2329777672@qq.com"
] | 2329777672@qq.com |
7d1e54456a12d10a9fadd65dd4e275d213f7d0a4 | e136d55e559a830eaeefa81188a1b79a4cf24d05 | /robotin_project/robotin_controller_teensy/lib/ros_lib/robotin_project/PID.h | 566be149dcfde7af27c0a7802556dd675663b29b | [] | no_license | mahulo2009/Robotin-Project | 686bdda488af30cba1b7cf37a8682cbca7507d63 | 01fdac8ce20b8f97e9dedee50278c1ad7ff575f8 | refs/heads/master | 2021-06-14T20:34:22.580473 | 2021-04-14T19:09:58 | 2021-04-14T19:09:58 | 183,410,679 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,240 | h | #ifndef _ROS_robotin_project_PID_h
#define _ROS_robotin_project_PID_h
#include <stdint.h>
#include <string.h>
#include <stdlib.h>
#include "ros/msg.h"
namespace robotin_project
{
class PID : public ros::Msg
{
public:
typedef float _p_type;
_p_type p;
typedef float _i_type;
_i_type i;
... | [
"manuel.huertas.lopez@gmail.com"
] | manuel.huertas.lopez@gmail.com |
0b07cd4af67b23f979098de628ff58aa0f29f12c | 6b40e9dccf2edc767c44df3acd9b626fcd586b4d | /NT/windows/core/dxkernel/dxg/devlock.hxx | 3014c437fc4aeabf516ece8203cb30bd19c90e18 | [] | no_license | jjzhang166/WinNT5_src_20201004 | 712894fcf94fb82c49e5cd09d719da00740e0436 | b2db264153b80fbb91ef5fc9f57b387e223dbfc2 | refs/heads/Win2K3 | 2023-08-12T01:31:59.670176 | 2021-10-14T15:14:37 | 2021-10-14T15:14:37 | 586,134,273 | 1 | 0 | null | 2023-01-07T03:47:45 | 2023-01-07T03:47:44 | null | UTF-8 | C++ | false | false | 6,472 | hxx |
/*********************************Class************************************\
* class EDD_DEVLOCK
*
* Simple wrapper for the DEVLOCK that automatically unlocks when it
* goes out of scope, so that we don't forget.
*
\**************************************************************************/
class EDD_DEVLOCK... | [
"seta7D5@protonmail.com"
] | seta7D5@protonmail.com |
d4569679b4c7c408a4f6d39b9a0d5ae22c800bca | eff9cc55c7e8410e977e03425d37cfd0c00740a1 | /0x40/Examples/POJ3468-3.cpp | 212b6e8a60d6af663ffbeeb34174d8abbf913596 | [] | no_license | WHZStudio/ACAG-Code | f05852414c9a6b410c4bf3bb78f56af03b20a7fe | 6922b0ea9bd51b546dc86f652c1c9fe788845bf0 | refs/heads/master | 2021-05-01T19:02:39.046091 | 2018-09-24T03:21:05 | 2018-09-24T03:21:05 | 121,013,911 | 14 | 8 | null | null | null | null | UTF-8 | C++ | false | false | 1,243 | cpp | #include <cstdio>
#include <cmath>
#include <algorithm>
typedef long long int ll;
const int maxn=100005;
int n,q,k;ll a[maxn],s[maxn],tg[maxn];
inline int bl(const int &x) {return (x-1)/k+1;}
inline int ls(const int &x) {return (bl(x)-1)*k+1;}
inline int rs(const int &x) {return std::min(n,bl(x)*k);}
inline void update... | [
"wuhaozhong0325@outlook.com"
] | wuhaozhong0325@outlook.com |
a1971111da29b644e3fc8739add3f352276123f9 | ff835e6a642d66ee0dd84306d5eb4cb0889734d8 | /Ampigaipathar_Agilan_100553054_Assignment2/stdafx.cpp | 491df5dce75d32476d03df7a0bb3da7d63c8c308 | [] | no_license | Agilan19/CSCI_1030U_Intro-to-Computer-Sci | eaec69704e88bd1e46171f464d8e08dc5056fbf9 | 8c632da9993beae1417ec56267c6ebd32794849f | refs/heads/master | 2020-12-19T09:17:22.560488 | 2020-01-31T21:35:31 | 2020-01-31T21:35:31 | 235,691,883 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 329 | cpp | // stdafx.cpp : source file that includes just the standard includes
// Ampigaipathar_Agilan_100553054_Assignment2.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
// TODO: reference any additional headers you need in STDAFX.H
// and not in th... | [
"noreply@github.com"
] | Agilan19.noreply@github.com |
188de6c1ff8352dff011ce764dadda7317613839 | 21ef0be38fad85edb2259e1f2804de97da49f69a | /src/qt/walletmodel.cpp | 33acf813dcab1c1bdcb17fc659ee52552541387c | [
"MIT"
] | permissive | mantisnetwork/MANTISCoin | 2fa39fa170d09e534b10a9e4ed93b54a40e23110 | 9e477a70aa7c76f5650b713ef90f80c1b0221ac6 | refs/heads/master | 2023-03-13T00:20:00.370063 | 2021-03-03T09:25:05 | 2021-03-03T09:25:05 | 325,512,895 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 33,693 | cpp | // Copyright (c) 2011-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2020 The PIVX developers
// Copyright (c) 2020 The MANTIS Coin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/m... | [
"75368675+mantisnetwork@users.noreply.github.com"
] | 75368675+mantisnetwork@users.noreply.github.com |
f3851d36052f4805e29daa367300cd03835a3b99 | dd0897ed4d7e7415668ded39f225a646983d1e25 | /PokerSimulator/OwnPokerSimulator/ai/NN_agent/Neuron.cpp | 3a4dc132246429432270f328c88fc2d7f8015cd6 | [] | no_license | FabianMoik/BachelorThesis | 9f4d50892a6fac0b7c56fec62bf70fb23220f847 | 44f2eec261d857daf7744f65513da3e7a6655cef | refs/heads/master | 2021-04-09T17:07:43.304898 | 2018-08-27T17:07:31 | 2018-08-27T17:07:31 | 125,757,731 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,232 | cpp | //
// Created by Fabian Moik on 18.12.17.
//
#include "Neuron.h"
#include <cmath>
#include <iostream>
#include <random>
Neuron::Neuron(unsigned numOutputs, unsigned myIndex)
{
for (unsigned c = 0; c < numOutputs; ++c) {
outputWeights_.push_back(Connection());
outputWeights_.back().weight = randomW... | [
"fabian.moik@ut11.net"
] | fabian.moik@ut11.net |
639d48f794102396305634f4ea8abf13f00874e9 | 400889aeb58b41edf5893341b0988814030f2ef1 | /1238.cpp | 79d3c0c782446c4dafcb95b9a5dec53934685d17 | [] | no_license | hhyc2/Baekjoon | de2e7e17ff7658a548965eeb918d5409659b7ba2 | fbe60392f4e038ccde738b1b18c67b1d53e6c5a9 | refs/heads/master | 2021-08-07T23:22:31.149328 | 2021-07-05T18:26:56 | 2021-07-05T18:26:56 | 223,118,265 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 1,225 | cpp | // 다익스트라 알고리즘
#include<iostream>
#include<vector>
#include<queue>
#include<algorithm>
using namespace std;
int N, M, X;
int MAX = -1;
struct list
{
int end;
int value;
};
vector <list> vec[1001];
int findRoad(int start, int end)
{
int dist[1001];
for (int i = 1; i <= 1000; i++)
dist[i] = 1e9;
... | [
"noreply@github.com"
] | hhyc2.noreply@github.com |
13714fd29ecbebdf005268ee311a0077bf4ea216 | 9fa2502e98b9779e16be62c65cca060ee4282061 | /test/source/ExitTestCase.cpp | 8cf36f73644824b1bd88e8a155829ed5a39d00f0 | [] | no_license | zjhlogo/spank_old | 558d617c44e3f6b53bb4e26167f55d8cb7f5098c | 8030f21d98ac743baf0681bbb626e76c489d8711 | refs/heads/master | 2021-01-23T13:48:16.189834 | 2012-12-16T03:45:40 | 2012-12-16T03:45:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 487 | cpp | /*!
* \file ExitTestCase.cpp
* \date 12-02-2012 16:42:36
*
*
* \author zjhlogo (zjhlogo@gmail.com)
*/
#include "ExitTestCase.h"
#include <util/IDebugUtil.h>
ExitTestCase::ExitTestCase()
:TestCase("Exit")
{
// TODO:
}
ExitTestCase::~ExitTestCase()
{
// TODO:
}
bool ExitTestCase::Initialize(UIScreen* pUISc... | [
"zjhlogo@181a2263-6311-9be6-e15f-e484ee8db88e"
] | zjhlogo@181a2263-6311-9be6-e15f-e484ee8db88e |
9c1b53be0d36a860350225975b290dd768690c4e | f6ddfc3415ac186a7cc2f6e0c391fdf59fc430b2 | /Introductory Problems/coin_piles.cpp | 30d2ba24757d3e123312c70344ef94123a7d82f0 | [] | no_license | enigma-commits/CSES | 4baa8dd83f2ce362327f10601a4dc68439ea9271 | a220f54159a1c883dfa5ff014df157910718873c | refs/heads/master | 2023-03-25T14:48:31.393089 | 2021-02-26T08:13:35 | 2021-02-26T08:13:35 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,912 | cpp | #include<bits/stdc++.h>
using namespace std;
#define hi ios_base::sync_with_stdio(false);cin.tie(NULL);
typedef int64_t ll;
typedef long double ld;
typedef long long unsigned llu;
#define test int test; cin>>test; while(test--)
#define loop(i,n,k) for(int i=n;i<k;i++)
#define rloop(i,n,k) ... | [
"akhileshsingh2314@gmail.com"
] | akhileshsingh2314@gmail.com |
d0468af8e30be4e802d1c07bda0d35ab4670d19d | dece3786c9179d7899ae9cdc085411c52b50f689 | /euler42/main.cpp | deb66374a5f096d23684d3c984508994f59bda57 | [] | no_license | strahlistvan/Project-Euler | 17254154f611ad8c1f4ce2f9185b0688f7cd1dc5 | 1f698518d31c60e2945722ea9b5823fb5ab84384 | refs/heads/master | 2021-01-10T03:27:18.566300 | 2018-01-03T19:24:25 | 2018-01-03T19:24:25 | 53,313,021 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,425 | cpp | #include <iostream>
#include <fstream>
#include <vector>
#include <cmath>
using namespace std;
vector<string> readWords(string fileName);
bool isTriangleNumber(int number);
int getWordValue(string word);
int main()
{
vector<string> words = readWords("words.txt");
cout<<"Sikeresen beolvasva!"<<endl;
if (wo... | [
"strahlistvan0@gmail.com"
] | strahlistvan0@gmail.com |
928b3d6ac77f2bcb8b718a8ad63cfca8d3986d43 | 615d715943c5189982e6094092264ea9a54cd84d | /libBasic/src_hsv_2_rgb.cpp | 886c1cff36f4f31c93027a8ecb8f53a852d6f14a | [] | no_license | jmifdal/variational_hs_ms_fusion | f5aa70bcbe0c772f73f2b8a7f4d526df7100485e | ee6348cb73f1787d6d76b9ab82c503e28fd1119a | refs/heads/main | 2023-05-02T16:38:03.736639 | 2021-06-07T17:54:14 | 2021-06-07T17:54:14 | 371,053,546 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,097 | cpp | #include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "../library/libImage.h"
#include "../library/libBasic.h"
using namespace std;
int main(int argc, char **argv)
{
vector <OptStruct *> options;
vector<ParStruct *> parameters;
ParStruct ph = {"H", NULL, "input image"}; parameters.pu... | [
"jamila.mifdal@gmail.com"
] | jamila.mifdal@gmail.com |
dd1fcd57575639ae280982fa59010a6f393f219d | a95a9e574cf07e0ea1f96ddf778c64ff68c161be | /pgadmin/schema/pgSequence.cpp | f3183d0c2682487610a0449420a41d6a7b1b4641 | [
"PostgreSQL"
] | permissive | jtanx/pgadmin3 | 04c16b45f1ec873e7d8046deb0b8702f5c9dce5c | 1e43107418d3f99cafffcce569b30f41e5949ef2 | refs/heads/master | 2022-12-30T00:17:46.769536 | 2020-10-17T10:23:51 | 2020-10-17T10:23:51 | 303,654,773 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,032 | cpp | //////////////////////////////////////////////////////////////////////////
//
// pgAdmin III - PostgreSQL Tools
//
// Copyright (C) 2002 - 2016, The pgAdmin Development Team
// This software is released under the PostgreSQL Licence
//
// pgSequence.cpp - Sequence class
//
///////////////////////////////////////////////... | [
"jtanx@outlook.com"
] | jtanx@outlook.com |
8abf15784f53a36e0a9b2693cba084be512d89c7 | a0949a36de04a1797858ca9ddbb9a66a2555cf80 | /include/mbgl/layermanager/heatmap_layer_factory.hpp | b375dc9eb088bf2457991f8b99f7d6fd283509a5 | [
"Libpng",
"IJG",
"Zlib",
"OpenSSL",
"MIT",
"BSD-3-Clause",
"LicenseRef-scancode-unknown-license-reference",
"curl",
"blessing",
"LicenseRef-scancode-openssl",
"LicenseRef-scancode-ssleay-windows",
"JSON",
"ISC",
"BSL-1.0",
"Apache-2.0",
"BSD-2-Clause",
"LicenseRef-scancode-warranty-d... | permissive | petoalbert/mapbox-gl-native | 1a9fc6c5af08e0b5d7746a608c14eb6bfff05113 | d5659aa6647f1fc77159567bd22029a2dc9cd7a3 | refs/heads/master | 2020-04-17T07:06:41.642668 | 2019-01-18T01:00:56 | 2019-01-18T01:00:56 | 166,354,306 | 1 | 0 | NOASSERTION | 2019-01-18T06:18:02 | 2019-01-18T06:18:01 | null | UTF-8 | C++ | false | false | 461 | hpp | #pragma once
#include <mbgl/layermanager/layer_factory.hpp>
namespace mbgl {
class HeatmapLayerFactory : public LayerFactory {
protected:
const style::LayerTypeInfo* getTypeInfo() const noexcept final;
std::unique_ptr<style::Layer> createLayer(const std::string& id, const style::conversion::Convertible& valu... | [
"mikhail.pozdnyakov@mapbox.com"
] | mikhail.pozdnyakov@mapbox.com |
d2b8cd17a63c5eefcfd61a0600d054c7780c72f3 | fd968e8b3774cef34d78cdcdce378f6eb4c87028 | /src/Experiment3_4_3.cpp | bb394dd13aef7d41ceca938e9c7e3bb4041c0e40 | [] | no_license | yliuhz/UCS-ICDE22 | 07cd43ee89bc10d9a5fe4015ea2ed64ca644b31e | 2cd25c71f7a7f2b8f11a832747faf8d8bb189320 | refs/heads/main | 2023-06-30T14:34:24.087123 | 2023-06-25T11:22:26 | 2023-06-25T11:22:26 | 391,629,250 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 14,694 | cpp | //
// Created by liuyue on 20/4/2021.
// TIPS: 测方差,只测flickr, k=3, theta=0.8
// 1520
//
#include <bits/stdc++.h>
#include "../include/base.h"
#include "../include/locals.h"
#include "../include/probabilistic_kcore_computation.h"
#include "../include/mcs_with_prune.h"
#include "../include/ss-vl.h"
#include "../include/s... | [
"liuyue@liuyuedeMacBook-Pro.local"
] | liuyue@liuyuedeMacBook-Pro.local |
3476486dad0b1ae0d367ea35b104c0d60447ae52 | 4e2a51a528fd44aed4acc986ed8a05411c9305c2 | /PrefixUnaryOperationNode.hpp | 2b73fc5173d926326fd56e791209b4f3a1439526 | [
"MIT"
] | permissive | Unkorunk/rust-compiler | 80f1ffa44ec068df09425e4b35ff1695bb3947ff | f11c39260ddbb77c7cfe93e2fd9576ff17eb2dbf | refs/heads/master | 2023-06-24T13:13:53.314058 | 2021-07-23T17:39:44 | 2021-07-23T17:39:44 | 351,079,122 | 8 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 704 | hpp | #pragma once
#include "ExpressionNode.hpp"
#include "Token.hpp"
class PrefixUnaryOperationNode : public ExpressionNode {
public:
enum class Exception
{
kAndMut
};
PrefixUnaryOperationNode(Exception exception, std::unique_ptr<ExpressionNode> &&right);
PrefixUnaryOperationNode(Token &&token... | [
"unkorunk@gmail.com"
] | unkorunk@gmail.com |
6bd44c437d6b52bd1287ecb54067b608088b85dc | f1c5274d6bcbeaf4c91cb11f47ace3a4e0f1f74d | /src/Physics/Car.h | ba68ea53767d335867a1f6f5b78d2eb24f87ed10 | [
"MIT"
] | permissive | janisozaur/OpenNFS | 9c05fbc182028928237ba4f2006e51b619f59772 | d2bce25a3ab8ddab67e8b75e920cd60b832b279a | refs/heads/master | 2020-04-03T23:02:51.950711 | 2018-11-06T16:33:28 | 2018-11-06T16:33:28 | 155,616,813 | 0 | 0 | MIT | 2018-10-31T20:07:04 | 2018-10-31T20:07:03 | null | UTF-8 | C++ | false | false | 4,371 | h | //
// Created by Amrik Sadhra on 18/03/2018.
//
#pragma once
#include <LinearMath/btDefaultMotionState.h>
#include <BulletDynamics/Dynamics/btRigidBody.h>
#include <BulletDynamics/Dynamics/btDiscreteDynamicsWorld.h>
#include <BulletDynamics/Vehicle/btVehicleRaycaster.h>
#include <BulletDynamics/Vehicle/btRaycastVehic... | [
"AmrikSadhra@gmail.com"
] | AmrikSadhra@gmail.com |
63f6d39b5d654c023a19674909b5eb91a3bd28ca | f1fbb63275ff66a97c8e654cabe0301851e9c317 | /VS_CPp/Working/PaktikumProSpisok/Spisok.cpp | be1853ee824c489bbc6b0310ac827e7b6177e2fc | [] | no_license | AAMORENKO/EXAMPLS_CPP_JAVA | c0eeb489ef1cb10d14cbb8de565e18f6044d0f61 | 2a732c503be8ac569505f942328524b86d43791e | refs/heads/master | 2021-10-28T22:13:44.605096 | 2021-10-14T09:42:07 | 2021-10-14T09:42:07 | 163,251,015 | 9 | 9 | null | null | null | null | UTF-8 | C++ | false | false | 1,754 | cpp | #include <iostream>
// додаткова бібліотека
#include <fstream>
using namespace std;
fstream inf, otf;
int main()
{
setlocale(LC_ALL, ".1251");
system("color 1F");
cout << "\n\tРезультати перевiрки:\n";
char Name[12][25];
int dig[12];
int p = 0;
inf.open("class.txt", ios::in);
if (!inf) return 0;
while... | [
"wzooks@gmail.com"
] | wzooks@gmail.com |
965bf9896d6be86c9ca17b73de5d243166d1a0af | 113896c5f08292f2d509d5cc46f73a8e65f24d8b | /Engine/Source/_3Dmath.cpp | 210e48823298cb99f4b8d7d56b6243d565a95ce6 | [] | no_license | Aeopp/DevilMayCry- | 26ace2c7ae7871068bf24191c6644781c6d7e350 | b1d4dff9a48de6a5c3dda968d6a3cd30cf7999fc | refs/heads/main | 2023-03-29T23:13:21.017444 | 2021-04-16T08:35:25 | 2021-04-16T08:35:25 | 352,828,078 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 40,120 | cpp | #include "_3Dmath.h"
namespace Math {
// --- Structures impl --------------------------------------------------------
Complex::Complex()
{
a = b = 0;
}
Complex::Complex(float re, float im)
{
a = re;
b = im;
}
Complex& Complex::operator +=(const Complex& other)
{
a += other.a;
b += other.b;
re... | [
"irmxj777@gmail.com"
] | irmxj777@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.