blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 4 201 | content_id stringlengths 40 40 | detected_licenses listlengths 0 85 | license_type stringclasses 2
values | repo_name stringlengths 7 100 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 260
values | visit_date timestamp[us] | revision_date timestamp[us] | committer_date timestamp[us] | github_id int64 11.4k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 17
values | gha_event_created_at timestamp[us] | gha_created_at timestamp[us] | gha_language stringclasses 80
values | src_encoding stringclasses 28
values | language stringclasses 1
value | is_vendor bool 1
class | is_generated bool 2
classes | length_bytes int64 8 9.86M | extension stringclasses 52
values | content stringlengths 8 9.86M | authors listlengths 1 1 | author stringlengths 0 119 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ecd5a405cbd7f60a71ec4e04f8f6f7134a96eba6 | 44587eba2feda6671cb0963ef0fd81031eb41735 | /makeSigmaGraph.cxx | 2d1b0e37e42a578e9d04d0210dbb50371eb96dbd | [] | no_license | FujimotoMinori/testTMVA | 281f2fbee26be39cd975f64a8ae47087c1ed3f71 | ac78c4723865b8772a6b7331d353e28da1884e67 | refs/heads/master | 2021-04-13T06:22:36.238617 | 2020-05-05T06:51:56 | 2020-05-05T06:51:56 | 249,142,991 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,421 | cxx | void setGraph(TGraph* g, int color){
g->SetMarkerColor(color);
g->SetLineColor(color);
g->SetMarkerStyle(20);
g->SetMarkerSize(0.7);
g->GetYaxis()->SetRangeUser(-0.2,1.2);
g->GetYaxis()->SetTitle("Z");
g->GetXaxis()->SetTitle("#sigma");
g->SetTitle("");
return;
}
void makeSigmaGraph(){
//read files
TString... | [
"minori.fujimoto@cern.ch"
] | minori.fujimoto@cern.ch |
6ae011db7c2f70ac67659487b451584fc5168a10 | fc0635634e57f6d550f95aad163c5441e074b69f | /bbs/bbsutl2.h | 931b9fcd49787601fd35543eed4ed930e6b5c11f | [
"Apache-2.0"
] | permissive | ericpareja/wwiv | 6797f87b8a50a81c653fecf916094f8012f9e49a | d705f701ab9b67006545069a41726d147269c4d5 | refs/heads/master | 2021-01-18T16:17:34.305055 | 2020-11-12T11:16:53 | 2020-11-12T11:16:53 | 38,795,691 | 0 | 0 | null | 2015-07-09T03:51:34 | 2015-07-09T03:51:34 | null | UTF-8 | C++ | false | false | 1,517 | h | /**************************************************************************/
/* */
/* WWIV Version 5.x */
/* Copyright (C)1998-2020, WWIV Software Services */
/* ... | [
"rushfan@wwivbbs.org"
] | rushfan@wwivbbs.org |
ad77c57d4a3d724b2c1c6bd8edcc7105eceb84a4 | 0808de6337cad95dca3b8452b27ee61dbbeb0b0e | /Crystal_Density/Source Files/3D/Cell/Obtain_T2_Centres.cpp | 55d6515f4c418178050fd99872b0e50822816169 | [] | no_license | Phil-Smith1/Pre-Voronoi_Zone_Density_Functions | 88ab9cb9161bf8ec0cc22bc2c13e701a0273cf65 | 026fe20ab227cef479deebb1be2836f6fd59dce5 | refs/heads/master | 2023-01-27T21:16:04.371297 | 2020-12-10T18:00:22 | 2020-12-10T18:00:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,435 | cpp | #include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
using namespace std;
using namespace CGAL;
typedef Exact_predicates_inexact_constructions_kernel K;
typedef K::Point_3 P3;
void Obtain_T2_Centres ( vector<P3>const& atom_cloud, string const& type_of_experiment, vector<P3>& T2_centres )
{
int num_mol... | [
"pvsmith100@btinternet.com"
] | pvsmith100@btinternet.com |
6836d6e8962af8a1163fff381c8bb6d83397546a | 6dfdbefc50f6dc4aa84e01ac2aabf0df5d07ca39 | /plugins/mapper/src/mapper_export.cpp | 3e59a90a9a176dbbf0b13b3cdc2d9ff9a23b3ecc | [] | no_license | kvirund/tortilla | 04a6f8c1802294f09db79c5b61e675c8da54d8b9 | 338f2cf575a8b90057d291ba79a164ade749a635 | refs/heads/master | 2020-04-08T03:48:49.591154 | 2018-11-30T02:34:48 | 2018-11-30T02:34:48 | 158,787,484 | 0 | 0 | null | 2018-11-23T06:01:59 | 2018-11-23T06:01:58 | null | WINDOWS-1251 | C++ | false | false | 6,675 | cpp | #include "stdafx.h"
#include "../res/resource.h"
#include "properties.h"
#include "mapper.h"
#include "debugHelpers.h"
#include "mapperUnitTests.h"
bool map_active = false;
PropertiesMapper m_props;
luaT_window m_parent_window;
Mapper* m_mapper_window = NULL;
//---------------------------------------------------------... | [
"gm79@list.ru"
] | gm79@list.ru |
35ac836b43ce18be7f6b1635fa860ab50017c888 | 10588b2214e68172ad790cf97e70a3aa161a5479 | /project3/ClientSocket.h | 6c6eac711c02fa9cbb46228e53c795720b69a7a8 | [] | no_license | shiba0281/learngit | 81e79ffe38dc4c7dcc14bee5cdaed7dfeff957fc | 1c485771e2862c1997d4fbaafdbe995659e0953b | refs/heads/master | 2020-03-22T08:03:42.606135 | 2018-07-04T15:14:38 | 2018-07-04T15:14:38 | 139,741,964 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 750 | h | #pragma once
#include "Define.h"
#include <windows.h>
#include <iostream>
#include <string>
#define BUFSIZE 16
class ClientSocket
{
private:
//server address
SOCKADDR_IN server;
//client SOCKET that connect to the server
SOCKET clientSocket;
//the message buffer that is received fro... | [
"171860526@smail.nju.edu.cn"
] | 171860526@smail.nju.edu.cn |
15ba939861e8281f8ad3a429ec8ba29d20103178 | 9b1512be84b4482a80e6d49ff9b3f6a2e88f6633 | /pylna kursowa.cpp | 09bb741075230847bec169cad84b5a1752c48125 | [] | no_license | mimmiich/pylna-kursowa | 6709b539377fa2999ad953d59ca12668cbdb088c | ef3df0d8a2a909dfbd45f4eedfac7514d10ab6d6 | refs/heads/master | 2020-11-23T22:02:47.605195 | 2019-12-13T12:57:40 | 2019-12-13T12:57:40 | 227,839,550 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 38,186 | cpp | #include <iostream>
#include <fstream>
#include <cstring>
using namespace std;
const char Filename[] = "data.dat"; // Data file directory
fstream fp; // fstream instance for saving and loading data from file
// Structure for participants
struct Participant {
int num; // Participant's number
char name[30]; ... | [
"noreply@github.com"
] | noreply@github.com |
c9649903c8c3fe1b28f5f86475b32b0643539ec4 | 1572d712cfbaf231ac1c12ec2e8d057a3a2ecc4f | /UserBasedCollaborativeFiltering/utils.cpp | dfbb708a64436d8b15c4ea41b72714a08d3dd5b9 | [] | no_license | zhu-dq/Machine-Learning | 5b601353be8c87c52b6dc6c9593382542c732ed5 | 4a07a84d696944270722899f2612b50ca6c246f8 | refs/heads/master | 2021-01-17T13:03:53.162522 | 2016-04-14T05:34:04 | 2016-04-14T05:34:04 | 34,507,530 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,595 | cpp | #include "utils.h"
mutex g_lock;
utils::utils()
{
}
bool utils::sort_func(const pair<index_t, float> & u1,const pair<index_t, float> & u2)
{
return u1.second > u2.second;
}
void utils::countRealAll(MATRIX * U_I_test, index_t * cnt)
{
*cnt = 0;
for (auto & items : *U_I_test)
{
for (auto & item : items.second)
... | [
"554575784@qq.com"
] | 554575784@qq.com |
97ed543c68bb73fd0c009afd852c9b7f88dc9733 | 35f31946c74b01cfdbb18460d64763ee1cc48bfa | /PA 3/src/cool-tree.handcode.h | 7ad4d12fd480e79d0958e06ae3cccaae7922ab3d | [] | no_license | w-dq/cool-compiler | dd12e43a1ec47ac56b3b162ab7a4a4fe5eda7598 | cea401e431b86d772f798da050aba597833e5d3c | refs/heads/main | 2023-05-24T09:49:53.895695 | 2021-06-21T01:33:07 | 2021-06-21T01:33:07 | 378,770,489 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,518 | h | //
// The following include files must come first.
#ifndef COOL_TREE_HANDCODE_H
#define COOL_TREE_HANDCODE_H
#include <iostream>
#include "tree.h"
#include "cool.h"
#include "stringtab.h"
#define yylineno curr_lineno;
extern int yylineno;
inline Boolean copy_Boolean(Boolean b) {return b; }
inline void assert_Boolean... | [
"wudq1@shanghaitech.edu.cn"
] | wudq1@shanghaitech.edu.cn |
4cb9e2248152c89aa0bba2b6f24a510abd42f4de | 6d62b00de117bb0dd82ae1b789d37d0641f1c360 | /source/platform/sighandl.cpp | ecf832084413201ab63bbd436276500cb81581ef | [
"MIT",
"HPND-Markus-Kuhn",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | magiblot/tvision | 226c71f59ca2f4212784a25d1894bf351c12fa40 | 92177cb365b523b0bc3e17d865292045ed7e0073 | refs/heads/master | 2023-08-31T23:07:38.024223 | 2023-06-21T22:53:45 | 2023-06-21T22:53:45 | 184,303,095 | 1,682 | 136 | NOASSERTION | 2023-04-25T14:08:13 | 2019-04-30T17:21:02 | C++ | UTF-8 | C++ | false | false | 4,368 | cpp | #include <internal/sighandl.h>
#include <stdlib.h>
#ifdef _TV_UNIX
namespace tvision
{
std::atomic<SignalHandlerCallback *> SignalHandler::callback {nullptr};
const int SignalHandler::handledSignals[HandledSignalCount] =
{ SIGINT, SIGQUIT, SIGILL, SIGABRT, SIGFPE, SIGSEGV, SIGTERM, SIGTSTP };
static bool operat... | [
"magiblot@hotmail.com"
] | magiblot@hotmail.com |
d8efecd7b52309c43fc77fb0dd25f9f97ba9afd9 | a0cec8074a9156eb855cdb5039193775d5108241 | /codeforces/hf1009.cpp | eda0aa3e53879c2e9feace2671308bbf9ccef9de | [] | no_license | Caprimulgusindicus/icpc2016 | 37eacc28973a95ca02636f3d12b4bced1722c5f3 | 87989e6c74e2402c3bc3891e128e58be12a0a0e0 | refs/heads/master | 2021-09-15T09:20:34.043369 | 2018-05-29T18:52:58 | 2018-05-29T18:52:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,209 | cpp | #include <cstdio>
#include <cstring>
#include <stack>
#include <iostream>
using namespace std;
int ll[222];
int rr[222];
int aans[222];
long long pow(long long a,long long b)//a^b
{
long long ans=1;
while(b>0)
{
if(b&1)
ans=ans*a;
b=b>>1;
a=a*a;
}
return ans;
}
int main()
{
int T;
scanf("%d",&T);
whi... | [
"fsszns@163.com"
] | fsszns@163.com |
af779ed468d639948f197f6d4df1df3f41652074 | d0fb46aecc3b69983e7f6244331a81dff42d9595 | /devops-rdc/include/alibabacloud/devops-rdc/model/InsertProjectMembersResult.h | 7b7673030ccafb1569ee027db5ffd76d6f650075 | [
"Apache-2.0"
] | permissive | aliyun/aliyun-openapi-cpp-sdk | 3d8d051d44ad00753a429817dd03957614c0c66a | e862bd03c844bcb7ccaa90571bceaa2802c7f135 | refs/heads/master | 2023-08-29T11:54:00.525102 | 2023-08-29T03:32:48 | 2023-08-29T03:32:48 | 115,379,460 | 104 | 82 | NOASSERTION | 2023-09-14T06:13:33 | 2017-12-26T02:53:27 | C++ | UTF-8 | C++ | false | false | 1,621 | h | /*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required... | [
"sdk-team@alibabacloud.com"
] | sdk-team@alibabacloud.com |
3aadc5d15af5d04b563657b1ccf8ba69dbcb1dbe | 0400a93704547664272c1ac004fae952df4ef9c1 | /doubledouble.hpp | 7afa85d5d7611fba3b32512a3142e1e7b9006c16 | [] | no_license | larsch/mandelbrot | 2b3f62b5c2442744d73956a5e0b46a5d2ef5c36a | e188e4cb48a3d383ae99e118bc7dc128c1daa6f9 | refs/heads/master | 2022-12-25T11:14:29.200756 | 2020-10-04T10:24:25 | 2020-10-04T10:24:25 | 289,681,756 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,406 | hpp | #ifndef _doubledouble_hpp
#define _doubledouble_hpp
#include <cmath>
template <typename FLT>
class doubledouble {
public:
explicit doubledouble(FLT _r = 0.0, FLT _e = 0.0) : r(_r), e(_e) {}
explicit operator FLT() const { return FLT(r); }
doubledouble& operator+=(const doubledouble& other);
doubledouble& ope... | [
"larsch@belunktum.dk"
] | larsch@belunktum.dk |
a57e0ed62e36fc3285b815c78f132d8cbd5d63d5 | 8010df1fef10ddfd83bf07966cbf7e2e4b0d7ee9 | /include/winsdk/um/shidfact.h | b01551bfb7045798e1d9f191e0dff6836995f373 | [] | no_license | light-tech/MSCpp | a23ab987b7e12329ab2d418b06b6b8055bde5ca2 | 012631b58c402ceec73c73d2bda443078bc151ef | refs/heads/master | 2022-12-26T23:51:21.686396 | 2020-10-15T13:40:34 | 2020-10-15T13:40:34 | 188,921,341 | 6 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,457 | h | //
// Copyright (C) Microsoft. All rights reserved.
//
#if defined(_MSC_VER) && (_MSC_VER >= 1200)
#pragma once
#endif
#ifndef _INC_SHIDFACT
#define _INC_SHIDFACT
#include <winapifamily.h>
#pragma region Desktop Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
#ifdef __cplusplus
#include <shobjidl_... | [
"lightech@outlook.com"
] | lightech@outlook.com |
56d0602fd30b4e322a1ef88cbcff24b5281c8f7d | 73e889b6ed0630a71788e819d10c917a2065faca | /Qt5-widgets-beginners/chapter6-dialogs/qtwb-6-3/selections.h | cacc99dd51ea2f0fac0c113861a92958ac099923 | [] | no_license | tenevincent/Qt-Learning-for-beginners | 39d4844b418176443c28e9a1ea004af61a9066dd | 0b289b690007e65c066f76a452f08598bc9aeeee | refs/heads/main | 2023-04-02T23:14:36.280457 | 2021-04-14T22:02:38 | 2021-04-14T22:02:38 | 352,951,819 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 586 | h | #ifndef SELECTIONS_H
#define SELECTIONS_H
#include <QDialog>
#include <QDir>
#include <QFile>
#include <QFileInfo>
#include <QFileInfoList>
#include <QListWidgetItem>
namespace Ui {
class Selections;
}
class Selections : public QDialog
{
Q_OBJECT
public:
explicit Selections(QWidget *parent = nullptr);
~... | [
"vincent.tene@gmail.com"
] | vincent.tene@gmail.com |
c30f8e23cdf376d0c8eaecb724693cc9e44b45f1 | a41bd626dde5894f0becfb598d70acf7e7345762 | /Implementations/Leetcode/number_of_operations_to_make_network_connected.cpp | 6b8cb78b0486b6a60bc10ea20f786e74e46460de | [] | no_license | escaper423/Algorithm_Coding_Note | 7dcad233b45b1f4a6bf4af61f1e8316c7a253961 | 8e79ed8dd6e0b7e12d305981fcd9adb57ff132eb | refs/heads/master | 2021-11-07T05:41:47.129140 | 2021-11-03T08:52:53 | 2021-11-03T08:52:53 | 160,045,726 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,228 | cpp | #include <vector>
#include <iostream>
#include <string>
#include <algorithm>
#include <Windows.h>
#include <unordered_map>
#include <unordered_set>
//problem URL : https://leetcode.com/problems/number-of-operations-to-make-network-connected/
using namespace std;
unordered_set<int> visited;
int numGroup = -1;
void f... | [
"escaper423@gmail.com"
] | escaper423@gmail.com |
634cb94e31650a270b481dcac5279c98ae4a6ba0 | 6a8aaf9c16f4856532cf9acc14dd33a602ccc115 | /src/tmx/TmxUtils/src/GeoVector.cpp | 2ac8f2f9d249610bd254a0ccbbeba6f47f484112 | [
"Apache-2.0"
] | permissive | RCVWPHASEII/V2I-Hub | ffcbfa6cb445bed281d1406b8b7cb7fa5b8beff8 | 5ed6d672b92257af60db0eb06ea32acfcf7c3674 | refs/heads/master | 2023-05-07T20:08:42.223640 | 2021-05-18T02:46:40 | 2021-05-18T02:46:40 | 360,922,301 | 0 | 2 | NOASSERTION | 2021-04-30T21:58:32 | 2021-04-23T15:07:10 | null | UTF-8 | C++ | false | false | 16,399 | cpp | /*
* GeoVector.cpp
*
* Created on: Oct 6, 2016
* Author: ivp
*/
// Officially, the ANSI standard does not include the math constant definitions, such as M_PI used below
#ifdef __STRICT_ANSI__
#undef __STRICT_ANSI__
#include <cmath>
#define __STRICT_ANSI__
#else
#include <cmath>
#endif
#incl... | [
"baumgardner@battelle.org"
] | baumgardner@battelle.org |
81ddf606ba8b824ca9789e03482714212d041465 | 3ad968797a01a4e4b9a87e2200eeb3fb47bf269a | /Atl Internals 2e src/Chapter 05/MathServiceNoAttr/CoCalc.h | 3d68e20f19344f0be45abe567bcfd61e584992c3 | [] | no_license | LittleDrogon/MFC-Examples | 403641a1ae9b90e67fe242da3af6d9285698f10b | 1d8b5d19033409cd89da3aba3ec1695802c89a7a | refs/heads/main | 2023-03-20T22:53:02.590825 | 2020-12-31T09:56:37 | 2020-12-31T09:56:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 693 | h | // CoCalc.h : Declaration of the CCalc
#pragma once
#include "resource.h" // main symbols
#include "MathServiceNoAttr.h"
// CCalc
class ATL_NO_VTABLE CCalc :
public CComObjectRootEx<CComSingleThreadModel>,
public CComCoClass<CCalc, &CLSID_Calc>,
public IDispatchImpl<ICalc, &IID_ICalc, &LIBID_MathServiceN... | [
"pkedpekr@gmail.com"
] | pkedpekr@gmail.com |
ef060f621a0783dbfd7c7e09bc1f14b2dfc124ef | fb66a5cc43d27f33c85320a6dba8b9a8ff4765a9 | /gapputils/gapphost/GeneratedFiles/Debug/moc_LogbookWidget.cpp | e94ac58dd7be98c9bd6c1aca208ec8f4a506e262 | [] | no_license | e-thereal/gapputils | 7a211c7d92fd2891703cb16bf94e6e05f0fb3b8a | a9eca31373c820c12f4f5f308c0e2005e4672fd0 | refs/heads/master | 2021-04-26T16:42:58.303603 | 2015-09-02T21:32:45 | 2015-09-02T21:32:45 | 38,838,767 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,852 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'LogbookWidget.h'
**
** Created: Sun Jan 13 18:18:51 2013
** by: The Qt Meta Object Compiler version 63 (Qt 4.8.2)
**
** WARNING! All changes made in this file will be lost!
**************... | [
"brosch.tom@gmail.com"
] | brosch.tom@gmail.com |
1c0d776af4b9b75738149a2350d766bf4f8dc1e7 | e9e8064dd3848b85b65e871877c55f025628fb49 | /code/MapEngine/MapLayer/MapPoint.h | f16b67923fcc13ba45c9040fd8abd03c32a30319 | [] | no_license | xxh0078/gmapx | eb5ae8eefc2308b8ca3a07f575ee3a27b3e90d95 | e265ad90b302db7da05345e2467ec2587e501e90 | refs/heads/master | 2021-06-02T14:42:30.372998 | 2019-08-29T02:45:10 | 2019-08-29T02:45:10 | 12,397,909 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 814 | h | #pragma once
#include "../MapBase/MapBase.h"
#include "MapPoiRes.h"
class VOS_EXPORT CMapPoint: public MapPoint
{
public:
CMapPoint(void);
~CMapPoint(void);
public:
void SetX(double& dbX ) { m_Point.x = dbX;};
void SetY(double& dbY ) { m_Point.y = dbY;};
void SetIndex(unsigned int uiIndex ) { m_uid = uiIndex... | [
"you@example.com"
] | you@example.com |
571ed7b99eb6197feb8bef45be458aa5415a0153 | 3720c717b5e6ec72fc08bd7dfdec6ba9d6f51915 | /utils/libcuckoo/cuckoohash_util.h | af17a6df3c98a189214267dad9b00b4421198a9f | [
"Apache-2.0"
] | permissive | wthanone/kmerLSH | 9e71602e285944b65b4b320a620d59df9f9d6da4 | 3b9b8c83936fd77b0a6fe9cbd62b72944497f97b | refs/heads/master | 2023-04-17T14:44:36.858743 | 2021-04-26T14:49:05 | 2021-04-26T14:49:05 | 235,373,667 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 831 | h | #ifndef UTIL_H
#define UTIL_H
#include <pthread.h>
#include "cuckoohash_config.h" // for LIBCUCKOO_DEBUG
#if LIBCUCKOO_DEBUG
# define LIBCUCKOO_DBG(fmt, args...) \
fprintf(stderr, "\x1b[32m""[libcuckoo:%s:%d:%lu] " fmt"" "\x1b[0m", \
__FILE__,__LINE__, (unsigned lo... | [
"hanwon@darwin.soic.indiana.edu"
] | hanwon@darwin.soic.indiana.edu |
f3e26164e97aa8b914b58cfb332a66dfd3ff5f53 | 534f28f7f7f6310e6a08d62b88a97446e0b5de03 | /src/Socket.cpp | 9e706a8ef3943a3f25ac52633ac9e77b059877ce | [] | no_license | danachapnik/REVERSY_WITH_TESTS_NEW | 680225b749e36f0dbee533c4e47035468fb64b6d | 240032972c670fa4654174aa7fde2d2a12a1c241 | refs/heads/master | 2021-09-02T12:00:21.695316 | 2018-01-02T11:48:46 | 2018-01-02T11:48:46 | 113,197,891 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,502 | cpp |
#include <unistd.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <netdb.h>
#include <strings.h>
#include <cstring>
#include <iostream>
#include "Socket.h"
Socket::Socket() :
m_socket(socket(AF_INET , SOCK_STREAM , 0)) {
}
void Socket::connectToServer(const char *ip , const unsigned short port) {... | [
"omerdekel92@gmail.com"
] | omerdekel92@gmail.com |
a97f3ea42641c5d23abbc690b2406c512667dba8 | bcd99d48665e0813d37f31a0eeab9a6e0c19971d | /src/VertexJoiner.cpp | e9d860399d63623fd320745504020a55a2ed8fab | [
"BSD-3-Clause"
] | permissive | wngrahams/meshDemo | 00c4aa1036d04b551ae1c111eddae39dec83a7b3 | eb51a026069d543ff374f4592c17f447fb79f729 | refs/heads/master | 2021-01-15T17:15:54.117717 | 2017-09-21T21:25:00 | 2017-09-21T21:25:00 | 99,745,308 | 0 | 0 | null | 2017-08-10T07:39:55 | 2017-08-08T23:38:48 | C++ | UTF-8 | C++ | false | false | 1,920 | cpp | //
// VertexJoiner.cpp
// meshReduction
//
// Created by Graham Stubbs on 8/25/17.
// Copyright (c) 2017 Graham Stubbs. All rights reserved.
//
#include <iostream>
#include <algorithm>
#include <vector>
#include "VertexJoiner.h"
bool compareDummyVertexPointers (DummyVertex *dv1, DummyVertex *dv2) {return (*dv1 < ... | [
"23465768+wngrahams@users.noreply.github.com"
] | 23465768+wngrahams@users.noreply.github.com |
cf6188e141a82dde63e6728ce2e7547b3566a4f8 | f8404fb1b8868991beff43c911494121d02c500e | /model/neighbor.h | a53d476a566f284afcf14aeaeff8a285589b9ecd | [] | no_license | trinacriax/video-push | 1409a80edbb96e8edf4fdd3e293cf54767377ff9 | ce0167692977d25963afb762589690147a32dea9 | refs/heads/master | 2020-05-02T20:03:16.550602 | 2013-08-01T09:48:46 | 2013-08-01T09:50:00 | 11,813,347 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,274 | h | /* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */
/*
* Copyright (c) 2011 University of Trento, Italy
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation;
*
* Th... | [
"russo@disi.unitn.it"
] | russo@disi.unitn.it |
b064489e62250dc8135bdfa5b6b2c21e74653c7a | 85ff5e5db7365c431720b6d79808795d371d6d42 | /routines/level2/tpmv.cc | 6afb55aa35752b2addc035abdcd373901516d248 | [
"MIT"
] | permissive | vgire/nblas | 8b47b304de6a4c348d5896d1822501827ee5198b | eda6cd1cafaf9a56c5184f1e1ce43f8858b8e01a | refs/heads/master | 2021-01-17T10:00:12.990955 | 2016-08-26T14:19:47 | 2016-08-26T14:19:47 | 66,596,639 | 0 | 0 | null | 2016-08-25T22:08:39 | 2016-08-25T22:08:38 | null | UTF-8 | C++ | false | false | 1,387 | cc | #include "cblas.h"
#include "routines.h"
void dtpmv(const v8::FunctionCallbackInfo<v8::Value>& info) {
const enum CBLAS_UPLO uplo = static_cast<CBLAS_UPLO>(info[0]->Uint32Value());
const enum CBLAS_TRANSPOSE trans = static_cast<CBLAS_TRANSPOSE>(info[1]->Uint32Value());
const enum CBLAS_DIAG diag = static_cast<CBLAS... | [
"gianoliomateo@gmail.com"
] | gianoliomateo@gmail.com |
8f9c311c0f5f38e0a97c82f8a637455de9a0a3fe | cfce6d21339d67e6831402f3a80700bbea7cc298 | /4.Conditions_and_cycles/Task4.cpp | ad2154b6ffa0baed258adae9ddef7d65f562a227 | [] | no_license | unusual-alias/Cpp_Basics | ab967ad92fb2ccb09bb76a8b15bff1eba1db7b7d | 23058abdc7678ebafa604d227664e4ad46579779 | refs/heads/main | 2023-03-19T03:16:29.810897 | 2021-03-07T00:24:55 | 2021-03-07T00:24:55 | 342,829,861 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,660 | cpp |
#include <iostream>
/ int main() {
// Ex.1 Провеить, что сумма 2-х чисел лежит в диапазоне от 10 до 20 включительно
int a = 43;
int b = 32;
int c = a + b;
std::string res;
if (c >= 10)
if (c <= 20)
res = "Сумма чисел a+b лежит в диапазоне от 10 до 20 - true\n";
el... | [
"nikolyabra85@gmail.com"
] | nikolyabra85@gmail.com |
99f4226b6d80562bb756d4fcc094d42aa5347d35 | edaa69f6f156b2bbef1c427ef6509fa8ab8d6379 | /Chess/GameManager.h | 216c5151e8189597d78871810984551e59c1db6c | [] | no_license | orertrr/OOP_Project2 | 56fa9b8bb08b4bee55bbd0baf1e324651bbf9d52 | 5bd90055df35adca46474f8b82239b3e3ffa35f4 | refs/heads/master | 2023-05-09T17:37:33.109717 | 2021-06-07T08:44:42 | 2021-06-07T08:44:42 | 374,596,045 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 521 | h | #pragma once
#include"Viewer.h"
#include"Player.h"
#include"Board.h"
#include"Chess.h"
#include<vector>
#include<Qthread>
#include<qmetaobject.h>
using namespace std;
class GameManager
{
private:
Board gameBoard;
Player* blackAndWhite[2];
vector<int> moveList[64];
vector<int> moveChoice;
vector<int> upgrade;
in... | [
"orertrr6207@gmail.com"
] | orertrr6207@gmail.com |
b0e3e48e6dcdcad68d69a24574f8f7eb0b54dfc5 | cb5d53dac793c26f24ccc7af78c5603279958f74 | /sylar/log.cpp | 9f01b9d49743c895ecf2042f247d3a2ab90d730b | [] | no_license | donkeywx/my_sylar | 8a2eda59d4859be26aa1dfb78e35e9772d45f41c | 0351faa11c7dcb0e37087614dbdd9e18e467b453 | refs/heads/master | 2022-04-13T22:26:15.551924 | 2020-04-09T15:15:09 | 2020-04-09T15:15:09 | 243,960,096 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 24,907 | cpp | #include "log.h"
#include "config.h"
#include <functional>
#include <map>
#include <iostream>
namespace sylar
{
const char* LogLevel::ToString(LogLevel::Level level)
{
switch (level)
{
#define XX(name) \
case LogLevel::name: \
return #name; \
break;
XX(DEBUG);
XX(INFO);
XX... | [
"wangk9294@163.com"
] | wangk9294@163.com |
317ea77d4018bc2e6faedf4d389991d4d1794514 | cad604b38f9257c5410751bfebded37a73b02436 | /Kernel/Storage/AHCIPort.h | a8730272b3a44a68572b08a0ffac9e33873cd2fc | [
"BSD-2-Clause"
] | permissive | govi20/serenity | 5f4d7217afbe8b98313aed26ad663d1f56553250 | 67362b1f8501b19b451c71cc28b540da15171739 | refs/heads/master | 2023-06-26T21:14:06.461110 | 2021-07-09T02:57:34 | 2021-07-09T13:36:50 | 384,451,039 | 1 | 0 | BSD-2-Clause | 2021-07-09T13:49:20 | 2021-07-09T13:49:19 | null | UTF-8 | C++ | false | false | 4,252 | h | /*
* Copyright (c) 2021, Liav A. <liavalb@hotmail.co.il>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <AK/OwnPtr.h>
#include <AK/RefPtr.h>
#include <Kernel/Devices/Device.h>
#include <Kernel/IO.h>
#include <Kernel/Interrupts/IRQHandler.h>
#include <Kernel/Lock.h>
#include <Kernel/PhysicalAdd... | [
"kling@serenityos.org"
] | kling@serenityos.org |
a9e4924c6e7199c2fc1ee7c79035c7890ac2b30a | 65bd6a26bcdddaec12b7f4ddce5a1e800d078927 | /mgsv_fov/wrapper.cpp | 1509ae9e3b958045f48dac8c9274cb49c8d6bf23 | [] | no_license | AltimorTASDK/MGSV-TPP-FoV | 1f3cafebc0945ed28a3afedfed26535dd451aa7c | d96130226aeb23532dc4f6ce55659aac5e68e14a | refs/heads/master | 2021-01-21T12:21:31.320417 | 2017-09-27T19:37:23 | 2017-09-27T19:37:23 | 42,018,432 | 26 | 5 | null | 2018-07-28T12:08:58 | 2015-09-06T20:51:19 | C++ | UTF-8 | C++ | false | false | 8,978 | cpp | #include <Windows.h>
static class functions {
public:
FARPROC D3DKMTCloseAdapter;
FARPROC D3DKMTDestroyAllocation;
FARPROC D3DKMTDestroyContext;
FARPROC D3DKMTDestroyDevice;
FARPROC D3DKMTDestroySynchronizationObject;
FARPROC D3DKMTQueryAdapterInfo;
FARPROC D3DKMTSetDisplayPrivateDriverFormat;
FARPROC D3DKMTSi... | [
"altimormc@gmail.com"
] | altimormc@gmail.com |
28e79b0a04b88f09669adc6b72c9e26eff944d15 | 0ce5a9be7357cd649cbfc2814ea3f558f227e064 | /client/GroupGame/GroupGame/Classes/net/NetManager.cpp | 198e88ddbc42f09b6789e4fdbd9b474217155a7b | [] | no_license | mjssw/myproj | 1beb06c2b8e490a11decfa5213e122b54d09beec | 4051ae1ed6062caa8acb24959416a5c4cfb4dea0 | refs/heads/master | 2021-01-17T06:23:53.492422 | 2014-10-27T09:19:03 | 2014-10-27T09:19:03 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,545 | cpp | #include "cocos2d.h"
#include "NetManager.h"
#include "gamemsg/MsgBase.h"
#include "tolua++.h"
#include "CCLuaEngine.h"
using namespace cocos2d;
using namespace SGLib;
using namespace std;
SIGNLETON_CLASS_INIT(CNetManager);
bool CNetManager::Init()
{
m_loginClient = NULL;
m_groupClient = NULL;
m_gameClient = NULL;... | [
"shenjiajia1225@163.com"
] | shenjiajia1225@163.com |
d4ad3c698c13042741baee2979f5357dba8359ef | 198b6400cc518504f1bb35252b3b9f180f12e697 | /test.cpp | a210a81ec9b17af344118f724398fd1f5ea3c597 | [
"BSD-3-Clause"
] | permissive | mikeaustin/impulse-language | 444e2638b8995640cdbd9f898b688cefaaf8c0b2 | bedf659c063ed492b3d4cc5ed61c2a34d92f20c4 | refs/heads/master | 2016-09-10T09:01:41.490051 | 2012-02-27T03:14:34 | 2012-02-27T03:14:34 | 1,272,659 | 4 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 345 | cpp | #include <iostream>
#include <limits>
#include <cmath>
using namespace std;
int main()
{
cout << numeric_limits<double>::has_quiet_NaN << endl;
cout << numeric_limits<double>::has_signaling_NaN << endl;
double d = numeric_limits<double>::signaling_NaN();
cout << d << endl;
cout << isnan(d) << endl;
cout << 0/0... | [
"mike@mike-austin.com"
] | mike@mike-austin.com |
faa285c85ea56d3afaa2760d88d467dda0a99fcf | f05bde6d5bdee3e9a07e34af1ce18259919dd9bd | /lang_service/java/com/intel/daal/algorithms/linear_regression/train_batch.cpp | 6b93d89c434d07815ad7684d146c943e38a562ee | [
"Intel",
"Apache-2.0"
] | permissive | HFTrader/daal | f827c83b75cf5884ecfb6249a664ce6f091bfc57 | b18624d2202a29548008711ec2abc93d017bd605 | refs/heads/daal_2017_beta | 2020-12-28T19:08:39.038346 | 2016-04-15T17:02:24 | 2016-04-15T17:02:24 | 56,404,044 | 0 | 1 | null | 2016-04-16T20:26:14 | 2016-04-16T20:26:14 | null | UTF-8 | C++ | false | false | 3,379 | cpp | /* file: train_batch.cpp */
/*******************************************************************************
* Copyright 2014-2016 Intel Corporation
*
* 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 Licen... | [
"vasily.rubtsov@intel.com"
] | vasily.rubtsov@intel.com |
a34f0f879972dc2e9d6d3b360540293e8397299a | fdf6b097f635a861e89323f1d7c9a40ecf788a88 | /src/chips/logic/actors.cpp | 9c1664ef41a9615ea5375dbbe32e801eb218f768 | [] | no_license | EricWF/chips | db1057670b5297988ea7323fac35cd5919a0b8d8 | 3e5dadb7055ae69baa28e6df95920394439dafce | refs/heads/master | 2020-06-01T19:45:02.790868 | 2014-06-17T06:13:13 | 2014-06-17T06:13:13 | 16,317,898 | 10 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,445 | cpp | #include "chips/logic.hpp"
#include "chips/core.hpp"
#include "chips/entity.hpp"
#include "chips/sounds.hpp"
#include <elib/aux.hpp>
namespace chips { namespace logic
{
namespace
{
void kill_chip_on_col(entity &, entity & other, level &)
{
if (is_chip(other)) other.kill();
... | [
"eric@efcs.ca"
] | eric@efcs.ca |
cb074b971202b35fe8a6ed72fb8452e3c5a40961 | f977d19124b0ffdab29a6d97c5acfee33bc3f558 | /Chapter-2/1.cpp | 83e2c4c83086a9e053c0c4065f76ca32d00e8fe0 | [] | no_license | phoenixx1/Robert-Lafore | 022fe2746327fea5aecaff7479a4ac2e0317a9d2 | 2fa323b017ca3cc5173ae35c35b8bf383813531c | refs/heads/master | 2021-08-17T10:30:29.938186 | 2021-04-25T21:02:16 | 2021-04-25T21:02:16 | 224,205,356 | 45 | 20 | null | 2023-09-02T15:14:10 | 2019-11-26T14:00:16 | C++ | UTF-8 | C++ | false | false | 373 | cpp | /*Assuming there are 7.481 gallons in a cubic foot, write a program that asks the user to
enter a number of gallons, and then displays the equivalent in cubic feet.*/
#include<iostream>
using namespace std;
int main(){
float vGallons;
cout << "Enter the value in gallons: ";
cin >> vGallons;
cout << "Value in cub... | [
"noreply@github.com"
] | noreply@github.com |
3cbb65f211b0f79fc96687779ead1c652ca790c4 | 4c66702128339f62b1935c6e631a0e5f05cb5958 | /MACHINE/machine.cpp | af91bb01b525e5c14b2e3224193376173ae534e7 | [] | no_license | Thang-ND/applied-algorithms | eb58527fb146f20a3aa2d928eec531844d3251e2 | dac20530d8a01fb727c5c85982436ce3d1cdf6f8 | refs/heads/main | 2023-07-15T15:03:25.223382 | 2021-08-12T13:56:58 | 2021-08-12T13:56:58 | 395,335,797 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 673 | cpp | #include <bits/stdc++.h>
using namespace std;
const int N = (int) 3e6;
const int INF = (int) 3e6;
int L[N+1], R[N+1];
int n;
int ans = -1;
void input() {
for (int i=1; i<=N; i++) L[i] = R[i] = -INF;
cin >> n;
int a, b;
for (int i=1; i<=n; i++) {
scanf("%d %d", &a, &b);
L[b] = max(L[b], ... | [
"winner310800@gmail.com"
] | winner310800@gmail.com |
f8a0bb1c8ebcf47aed8ffb6a2c4e69b3e80723a2 | abdd0dcf68914e1547ac23b14fd1d7847dc9ce83 | /fileSys/src/.history/node_20200428200623.cpp | 1f7c51d8c0165c3f1ad4f8831d491b9f78ed90a0 | [] | no_license | SnowflyLXF/Distributed-Systems-UMN | d290e2fdd2f07309fc62dffbe377443be6c34f3f | bd834f8cb2100836a67143ccdaeb79495cb74e18 | refs/heads/master | 2023-08-01T09:29:56.350535 | 2021-09-26T04:05:17 | 2021-09-26T04:05:17 | 410,444,689 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 11,758 | cpp | #include "node.hpp"
using namespace std;
uint32_t checksum(std::ifstream& file)
{
uint32_t sum = 0;
uint32_t word = 0;
while (file.read(reinterpret_cast<char*>(&word), sizeof(word))) {
sum += word;
}
if (file.gcount()) {
word &= (~0U >> ((sizeof(uint32_t) - file.gcount()) * 8));
... | [
"lixuefei9679@gmail.com"
] | lixuefei9679@gmail.com |
cec45f4da64e334ed5e4d9ec48a58de46040f064 | f986e6aad322515718989ee337a8c1b5c7778466 | /Baekjoon/15483_최소편집.cpp | 3e36e4c539f5185cc12dac7227b541c5f75583da | [] | no_license | wh2per/Baekjoon-Algorithm | bf611ae9c87dfc1af3f66b79f0c2d21db75c0df1 | 04f721f59b497f81452216ff0becbc3a620bbd0c | refs/heads/master | 2021-11-24T09:23:31.327854 | 2021-11-11T05:56:54 | 2021-11-11T05:56:54 | 165,788,406 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 626 | cpp | #include <iostream>
#include <string>
#include <vector>
#include <algorithm>
using namespace std;
int bj_15483() {
string s1, s2;
cin >> s1 >> s2;
vector<vector<int>> d(1001, vector<int>(1001, 0));
int len1 = s1.length();
int len2 = s2.length();
for (int i = 0; i <= len1; ++i)
d[i][0] = i;
for (int i = 0;... | [
"93negaro@gmail.com"
] | 93negaro@gmail.com |
d374c65596bd0e06453e4dd010eb1e308b2db0dd | 55e1a90361d9c7ea4cb65213e29165dfa862d936 | /assembler/(outdated)/ifttt-cpu-assembler/ifttt-cpu-assembler.cpp | cf8b9829a3eb8e983a5b0cedcd39c84375a3e508 | [] | no_license | HolgerBovbjerg/ifttt-cpu | d6bdc5af7750a3ed8927f6e044cb8ed7bffbb3de | c32d692f5113494c90690e26f8deae87d96dc2c2 | refs/heads/master | 2022-01-06T02:51:03.986796 | 2019-05-27T13:02:33 | 2019-05-27T13:02:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 964 | cpp | // ifttt-cpu-assembler.cpp : This file contains the 'main' function. Program execution begins and ends there.
//
#include "pch.h"
#include "file_handling.h"
#include "translater.h"
using namespace std;
int main()
{
read_from_asm();
translate_asm_to_mif();
init_mif(1024, 32, "UNS", "BIN");
write_to_mif();
retu... | [
"holger.bovbjerg@hotmail.com"
] | holger.bovbjerg@hotmail.com |
cc1bb7777c49abba9ad12341045ccdeb1c4ba4a9 | 66e9b8723929576f847e1b34a11705c754dedc3f | /ICANTEVEN/c++/Homework_1/working.cc | 086e5cc277a14a1843a421aed5e5ded7d8cc6a35 | [] | no_license | RobertaNetzova123/BecauseOfTheDamnPackageManager | 463a6edbcb4a24bc6953c28ef7895e42c288562f | c926bca22bc5b7a6d3565ad408c371f8e971c3e7 | refs/heads/master | 2021-04-12T12:18:14.118582 | 2018-03-26T12:46:04 | 2018-03-26T12:46:04 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,062 | cc | #include <cmath>
#include <cstdio>
#include <vector>
#include <iostream>
#include <algorithm>
#include <sstream>
#include <numeric>
#include <iomanip>
#include <string>
using namespace std;
class Exception {
string error;
public:
Exception(string msg) : error(msg) {}
string get_error() {
return error;
}
};
... | [
"mihaelagadzhalova@gmail.com"
] | mihaelagadzhalova@gmail.com |
73ac7e8a44e1cb7933b27bf3f413b441658f9c4e | c10cca6bac30319aeeb136e78acece6d915b407e | /PurePlayer/SubtitlePlayer.h | dd9b6051d09f8aa30f5e239586012526e7b3dee3 | [] | no_license | hinkage/PurePlayer | 8aacb144680918882ee7a56a60745b4de0db2ad3 | c21f5defcde28c91e8e1b0f98ca359379bd980d5 | refs/heads/master | 2022-11-12T12:47:30.902018 | 2019-07-31T03:09:58 | 2019-07-31T03:09:58 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 238 | h | #pragma once
#include "BasePlayer.h"
#include "SubtitleDecoder.h"
class SubtitlePlayer: public BasePlayer
{
public:
SubtitlePlayer();
~SubtitlePlayer();
void play_current_frame() {};
SubtitleDecoder subtitleDecoder;
private:
};
| [
"2505513470@qq.com"
] | 2505513470@qq.com |
a35d3ccabcfe6c1ff81f4b58c11cd197ac7ebb24 | 5f85a0d7cc024ff0e6752378b95f0f7c5d6565cb | /C++学习/C++数据结构/实验四/ex/MyString.h | a9e28d3711eb9e8bb7682979a60ab1404c7002ec | [] | no_license | lskyo/school | 9060ce45411bdbd457a0b1def2582b7230742752 | 5eb9cc59c1021ea04a34b8bf10a42f0344598cbe | refs/heads/master | 2021-01-12T15:23:05.547248 | 2017-06-15T02:20:39 | 2017-06-15T02:20:39 | 71,765,365 | 3 | 0 | null | null | null | null | GB18030 | C++ | false | false | 13,187 | h | #include <iostream>
using namespace std;
#include <string> //包含strlen(s)求串长等函数
//约定:在保证正确前提下,可对char*使用string.h中函数
class MyString //字符串类
{
private: //私有成员
char *element; //动态字... | [
"609911762@qq.com"
] | 609911762@qq.com |
0a7ae57574bbb4711d8f25db270747862613374d | 63daabf17b753e8ed72ef4ada0d9c3a9f9e69bb8 | /Baekjoon/1000~10000/3001~3100/3036.cpp | 01520168dc0332d5433247f1c666ad1b1a188437 | [] | no_license | weedrice/Algorithm | 97c829bafdf6f1e1d3983788e20f7f9d3b6e0b82 | 7cbaf8ad733a29d02b552154e8450d8a5619165d | refs/heads/master | 2022-06-25T16:51:56.565925 | 2020-05-12T05:59:35 | 2020-05-12T05:59:35 | 136,200,598 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 384 | cpp | #include <cstdio>
int gcd(int a, int b) {
int c;
while (b) {
c = a % b;
a = b;
b = c;
}
return a;
}
int main() {
int n;
scanf("%d", &n);
int* ringArr = new int[n];
for (int i = 0; i < n; i++) {
scanf("%d", &ringArr[i]);
}
for (int i = 1; i < n; i++) {
int gcdNum = gcd(ringArr[0], ringArr[i]);
p... | [
"supp0rtyoo@gmail.com"
] | supp0rtyoo@gmail.com |
567dfff1bfb6ef7ab03ebdfbe0a6b8050ad21211 | 600df3590cce1fe49b9a96e9ca5b5242884a2a70 | /chrome/browser/ui/ash/launcher/chrome_mash_shelf_controller.h | 748f9b425b90a7772ae3d86f9fb7957bb6db5b69 | [
"BSD-3-Clause"
] | permissive | metux/chromium-suckless | efd087ba4f4070a6caac5bfbfb0f7a4e2f3c438a | 72a05af97787001756bae2511b7985e61498c965 | refs/heads/orig | 2022-12-04T23:53:58.681218 | 2017-04-30T10:59:06 | 2017-04-30T23:35:58 | 89,884,931 | 5 | 3 | BSD-3-Clause | 2022-11-23T20:52:53 | 2017-05-01T00:09:08 | null | UTF-8 | C++ | false | false | 2,077 | h | // 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.
#ifndef CHROME_BROWSER_UI_ASH_LAUNCHER_CHROME_MASH_SHELF_CONTROLLER_H_
#define CHROME_BROWSER_UI_ASH_LAUNCHER_CHROME_MASH_SHELF_CONTROLLER_H_
#include <m... | [
"enrico.weigelt@gr13.net"
] | enrico.weigelt@gr13.net |
6cef17cf85e4f9aa471be6967b2014861933642c | 30150c1a4a99608aab496570e172bdce4c53449e | /067_OOP_intro.cpp | 45fcc4f0ae09787e2b92ce602ca010d97b2e16d2 | [] | no_license | gergokutu/cplusplus-tutorials | 88334ba9b1aa8108109796d69ab5e8dd94da62c6 | 11e9c15f6c4e06b8e97ce77a732aec460d0251eb | refs/heads/master | 2020-09-04T17:46:03.954635 | 2020-01-14T11:44:15 | 2020-01-14T11:44:15 | 219,837,606 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 949 | cpp | /*
Intro to Object Oriented Programming
- pretty big topic
- structs
- all C-like programming languages has this concept >
- like Java, C#...
- but there is specifics to C++ OOP
OOP:
- based on classes and objects
- classes the blueprints for its instances (objects)
- we can describes data and real world things as obj... | [
"gergo.kutu@gmail.com"
] | gergo.kutu@gmail.com |
92ed4aa359d8e3d360a5db7b8d215414ef583c11 | 5838cf8f133a62df151ed12a5f928a43c11772ed | /NT/com/netfx/src/clr/profile/counters/perfcounters.cpp | 84fc36718be9c8d0357569a9978bba894a0c68ab | [] | no_license | proaholic/Win2K3 | e5e17b2262f8a2e9590d3fd7a201da19771eb132 | 572f0250d5825e7b80920b6610c22c5b9baaa3aa | refs/heads/master | 2023-07-09T06:15:54.474432 | 2021-08-11T09:09:14 | 2021-08-11T09:09:14 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 6,655 | cpp | // ==++==
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ==--==
// ===========================================================================
// File: PerfCounters.CPP
//
// ===========================================================================
// PerfCounters.cpp
#include "stdafx.h... | [
"blindtiger@foxmail.com"
] | blindtiger@foxmail.com |
eb998982bef6d587b4e43cc2c24446cd5dd2da8a | 3821e537c0e03e602ba4ac770dcce0d741d026a7 | /Atcoder/abc120_b.cpp | e6bf17de40bf856f4da7e85acf4a11357f77a463 | [] | no_license | msyashik/CPPS | 6766992e40c30f112d959b5c57e1af5487d885a9 | ae163a3a75dade8bc51f566ae529ea4f9075db97 | refs/heads/master | 2023-07-13T00:08:32.465275 | 2021-08-22T02:41:23 | 2021-08-22T02:41:23 | 161,633,625 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 494 | cpp | //Problem Link : https://atcoder.jp/contests/abc120/tasks/abc120_b
#include <bits/stdc++.h>
using namespace std;
#define ll long long
#define Fastest ios_base :: sync_with_stdio(0);cin.tie(0);cout.tie(0);
#define endl "\n"
int main()
{
int a, b, c;
cin >> a>> b >> c;
int coun = 0;
fo... | [
"noreply@github.com"
] | noreply@github.com |
956c548a4da8fea3c76872c9210208f28c1cadd8 | f393e8ea54685ae881e5c71331ffc4625735ac2e | /hikr/build/Android/Preview/app/src/main/include/Fuse.Reactive.PropertyBinding.h | 8e8ca5c7461f6606ef3206e1bde06fc8c2bfb299 | [] | no_license | joseph-shumway/Manna | f4c92f56152d3d206f8c9b1e9392a11d6245f10c | 13354425ee59b10f3c22bbc442fdd85db2aa9d17 | refs/heads/master | 2022-02-17T01:20:42.479275 | 2017-12-21T23:23:47 | 2017-12-21T23:23:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,249 | h | // This file was generated based on C:/Users/Shumcom/AppData/Local/Fusetools/Packages/Fuse.Reactive.Bindings/1.4.0/DataBinding.uno.
// WARNING: Changes might be lost if you edit this file directly.
#pragma once
#include <Fuse.INameListener.h>
#include <Fuse.Reactive.DataBinding.h>
#include <Fuse.Reactive.IContext.h>
#... | [
"thegreenjag1@gmail.com"
] | thegreenjag1@gmail.com |
41489075ffe545ef2a00e3fc8fdb86132e08d4cb | 3ad968797a01a4e4b9a87e2200eeb3fb47bf269a | /wfc_sample/Sample/SerialTest/Normal/Receiver/compute_checksum.cpp | 85f5d44590ef3e562164fdf7f96c693530d08941 | [] | no_license | LittleDrogon/MFC-Examples | 403641a1ae9b90e67fe242da3af6d9285698f10b | 1d8b5d19033409cd89da3aba3ec1695802c89a7a | refs/heads/main | 2023-03-20T22:53:02.590825 | 2020-12-31T09:56:37 | 2020-12-31T09:56:37 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 548 | cpp | #include "receiver.h"
#pragma hdrstop
DWORD compute_checksum( const DWORD * buffer, DWORD number_of_entries )
{
WFCTRACEINIT( TEXT( "compute_checksum()" ) );
DWORD checksum = 0xAAAAAAAA; // Initialize the checksum
DWORD loop_index = 0;
while( loop_index < number_of_entries )
{
checksum ^= buffe... | [
"pkedpekr@gmail.com"
] | pkedpekr@gmail.com |
8e5f1c6f6922cd9c0949bffa7ecf7473ee8737b0 | b9af1a423fb98d0f5889858b58774a38da302cb2 | /assignment.cpp | 632c2b6eea73072476fe646bc00d3b712df01e8e | [] | no_license | hap17066/practise1 | c9ce0d6a5877b882920214541454c9e49efb5570 | 3f9356ce1ca6c562c8dcbf8611942b182de9f2aa | refs/heads/master | 2023-02-02T18:43:41.148187 | 2020-12-21T06:29:33 | 2020-12-21T06:29:33 | 320,642,355 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 755 | cpp | #include<bits/stdc++.h>
using namespace std;
float corrCoeff(int X[], int Y[], int N)
{
int sumX = 0, sumY = 0, sumXY = 0, squareSumX = 0, squareSumY = 0;
float corrcoe;
for (int i = 0; i < N; i++)
{
sumX = sumX + X[i];
sumY = sumY + Y[i];
sumXY = sumXY + X[i] * Y[i]; ... | [
"“harshalpatil17066@gmail.com”"
] | “harshalpatil17066@gmail.com” |
0e4badd85baac16aebc681b7367547543b875b4a | ff082da6f13bed8f54ed8bb47664fc343f01950a | /Utilisateur.cpp | bc1f7ac357efcaaaa8ce2a3b7953113940945eac | [] | no_license | KABA15u/miniarche | 22591b6526fa507fab8c6f59be8c83e829ba4743 | 25b12677a01a166d09bda669d535157008d96630 | refs/heads/master | 2021-01-18T04:42:52.897056 | 2014-12-23T13:36:06 | 2014-12-23T13:36:06 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,285 | cpp | #include "Utilisateur.h"
#include <windows.h>
#include <windowsx.h>
using namespace std;
Utilisateur::Utilisateur(LPCSTR nom, LPCSTR prenom, LPCSTR login, LPCSTR mdp) : m_nom(nom), m_prenom(prenom), m_login(login), m_mdp(mdp)
{
}
Utilisateur::~Utilisateur()
{
}
... | [
"mamdikab@gmail.com"
] | mamdikab@gmail.com |
f957dbceddfb288592375338dd636202749f14ad | 0b11c8c54b1e71ae935ea032376e785be8bfb65e | /2527_37.cpp | fc34b8186ae3be57db0c58dd6651dc48ec07606a | [] | no_license | wyx150137/wyx-infinity37-ac-code-on-BZOJ | 320bef65927b065c938dec97c44fc599fac14176 | 5a1cc0803e0356e59f6e679e6aed23f8374ab67b | refs/heads/master | 2020-06-25T01:45:51.676298 | 2017-07-12T23:45:45 | 2017-07-12T23:45:45 | 96,950,945 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,873 | cpp |
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <algorithm>
using namespace std;
const int N = 3e5+5;
typedef long long LL;
struct E
{int next,to;}e[N],k[N];
int head[N],tot;
void add(int x,int y)
{
e[++tot].to = y;
e[tot].next = head[x];
head[x] = tot;
}
int pos[N],Cnt,n,m,K;
void Add(int x,int... | [
"wyx150137@users.noreply.github.com"
] | wyx150137@users.noreply.github.com |
21ca66a9abb425ae697fe27ade56c6fc4e1439c3 | 08b8cf38e1936e8cec27f84af0d3727321cec9c4 | /data/crawl/wget/old_hunk_1357.cpp | cc81b63dbe3ed278b18fdeb1ab0dfa4a3b290b7c | [] | 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 | 371 | cpp | if (*dt & RETROKF)
{
logprintf (LOG_VERBOSE,
_("%s (%s) - `%s' saved [%s/%s]\n\n"),
tms, tmrate, hstat.local_file,
number_to_static_string (hstat.len),
number_to_static_string (hstat.c... | [
"993273596@qq.com"
] | 993273596@qq.com |
c181aead9f8ddefa7d9f2dd533cc2fcbe5bb1a50 | edf7d36d50485e33ab241c4bca12feda2443d503 | /BindNowPolicy.cpp | 467ed64f0be3f1e32208ec077a742b2158d96640 | [] | no_license | afwu/SilverPatcher | e77d2fe674ce8202fd96e92f0bc758734f8cae3a | f99282be69022cac0394c4c8fc534dd13e1f25c6 | refs/heads/master | 2023-07-07T12:09:22.652303 | 2021-08-12T11:10:38 | 2021-08-12T11:10:38 | null | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 1,628 | cpp | #include "BindNowPolicy.h"
#include "BinaryEditor.h"
/*RELRO是个很有意思的东西,其实包含了两个方面:
1、立即绑定
2、绑定后获取的动态地址表项(GOT)只读
GNU在实现时,这两个是完全独立的特性。
可以有如下编译选项:
-z now -z norelro,立即绑定,但不添加PT_GNU_RELRO段,.got.plt和.got都可写
-z relro,延时绑定,添加PT_GNU_RELRO段,只有.got只读,.got.plt依然可写
-z now, 立即绑定,添加PT_GNU_RELRO段,.got只读,.got.plt节取消(plt直接调用.... | [
"fuchuangbob@163.com"
] | fuchuangbob@163.com |
1423a33c0676340a8c2301e729de9706dca3b6f7 | e182a7d0a29f77ad8a0a25d349a23e846977c65e | /src/main.cpp | 6acb04b7d98f82e2081dc1716f148c2c18cc82bd | [] | no_license | LostPointer/KeyValueTutorial | 78c8467d5913111e911c6055462dce89f226d867 | 68965165deb88a497ed058b15c1b136ff0adb64c | refs/heads/master | 2023-01-30T06:46:56.059320 | 2020-11-14T08:53:43 | 2020-11-14T08:53:43 | 306,182,928 | 1 | 1 | null | 2020-12-15T21:37:32 | 2020-10-22T00:44:55 | C++ | UTF-8 | C++ | false | false | 584 | cpp | #include <array>
#include <iostream>
#include <unordered_map>
#include "command.hpp"
#include "utils.hpp"
int main([[maybe_unused]] int argc, [[maybe_unused]] char const* argv[]) {
std::map<std::string, Value> storage;
while (true) {
try {
std::string buffer;
std::getline(std::cin, buffer);
... | [
"lostpointmeister@gmail.com"
] | lostpointmeister@gmail.com |
e36bc1aa2939139b0a051f0845dfd7c437942a43 | 6f36106d593c7d2ff51636ad0b0578f508cc3bdc | /scripts/c/ug871-design-files/Design_Optimization/lab2/matrixmul.h | 9e1d4fc799bdc06c5b61dbc33d660ee68bd2e26c | [] | no_license | A-suozhang/WhatIveRead | ec0c08865d3ea6459a75054ea531258f06cc49e6 | 4e6f61bf0879e3778b597bebf036a02878e07850 | refs/heads/master | 2021-12-15T03:57:06.480369 | 2021-11-29T10:49:00 | 2021-11-29T10:49:00 | 222,939,046 | 5 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,080 | h | /*******************************************************************************
Vendor: Xilinx
Associated Filename: matrixmul.h
Purpose: Vivado HLS tutorial example
Device: All
Revision History: March 1, 2013 - initial release
****************************************... | [
"574596610@qq.com"
] | 574596610@qq.com |
2fc9b5bfb981543179e7bb0373e150b1bb25849c | a363b06ff115e7a7d3fd569072ebbee0349b9a2b | /Samples/MjgIntelFluidDemo_Part10/Space/uniformGridDiagnostics.cpp | 59ddbab143cf4ef10be40b7aa32ac92eac22e9db | [] | no_license | william-manning-levelex/VorteGrid | 2e90474b66a6ead25a5a44c68554e3e6e016dc6e | f99a4e17ab9cbd4ff6cc9fa37124c2bf7d6a88a4 | refs/heads/master | 2023-03-27T15:23:41.440257 | 2021-03-27T22:46:22 | 2021-03-27T22:46:22 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 21,657 | cpp | /*! \file uniformGridDiagnostics.cpp
\brief Diagnostic routines for UniformGrids of vectors or matrices
\see Accompanying articles for more information:
http://software.intel.com/en-us/articles/fluid-simulation-for-video-games-part-1/
http://software.intel.com/en-us/articles/fluid-simulation-f... | [
"github@mijagourlay.com"
] | github@mijagourlay.com |
58cce3b86ebe648eefd51f2cc7199acc87615962 | 35ff30ffc49eae17bdf7c1fbd34aa41eff6ab168 | /Label.cpp | a9cc822f5897522a9acc84a2c018ff872093c4b1 | [] | no_license | aadarshasubedi/ZurichTowerDefense | f3cd871863d9ef84bfa61402d5407557f094cb68 | 4ed6eeeb9bc49ddbab97d4db4c27a8dbbcabcb08 | refs/heads/master | 2021-01-17T22:58:06.582476 | 2015-10-04T20:39:31 | 2015-10-04T20:39:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 670 | cpp | #include "Label.h"
#include "Utility.h"
#include <SFML/Graphics/RenderStates.hpp>
#include <SFML/Graphics/RenderTarget.hpp>
namespace GUI
{
Label::Label(const std::string& text, const FontHolder& fonts)
: mText(text, fonts.get(Fonts::Main), 16)
{
}
bool Label::isSelectable() const
{
... | [
"garrettschmidt@onlymyemail.com"
] | garrettschmidt@onlymyemail.com |
3c2ac023050a6780f30a3c580323b118e405709c | 44a00da3b7ae2915ad25ca37849ee18da5f49b43 | /src/gui/object/MenuItemHolderManager.cpp | fd07174fca24caa860e8c7c79fd9d8935c045227 | [] | no_license | WilfSilver/TheMazeGame | c7508cc1661ce26be12366132c799d25692162ea | b100a81ee5494e7839c5481c1096ceef90450cf7 | refs/heads/master | 2023-04-17T21:07:10.194741 | 2021-05-04T17:41:24 | 2021-05-04T17:41:24 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 12,255 | cpp | #include "MenuItemHolderManager.h"
// #include <algorithm>
#include "Application.h"
#include "Log.h"
#include "event/Event.h"
#include "layer/GUILayer.h"
#include "rendering/Renderer.h"
#include "ItemContainer.h"
#include "WeaponContainer.h"
#include "layer/MessageManager.h"
#include "event/game/ChestOpened.h"
#in... | [
"git@wilfsilver.co.uk"
] | git@wilfsilver.co.uk |
c5a952f11d9571f2017112f8d7c9bf3f5709b52c | 464d4b4fb9bbf8e9613e86a682ec0f75781a94e8 | /plugins/schedpol/tempura/tempura_plugin.cc | 386b42381bd849abafa82eadc8e9795b8149381f | [] | no_license | djchopper/bosp | 711fa089c1f761bdbe68a8d98b097ec7a0efe8ee | a83f1fe21579f430bd3f15b3f1f0400b470879b3 | refs/heads/master | 2020-07-31T10:08:50.420326 | 2019-09-25T16:14:54 | 2019-09-25T16:14:54 | 210,569,503 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,370 | cc | /*
* Copyright (C) 2014 Politecnico di Milano
*
* 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 Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This progra... | [
"joe.massanga@gmail.com"
] | joe.massanga@gmail.com |
3421a41afbafd22988598997af3cc5a6b363ef50 | 18e09ac833ebe870afa58538969b1f990af3e7d6 | /Devil's Dice NN/RandomAI.h | 2e5e9f769645e575e799b3af275842b342c85b39 | [] | no_license | rewilkins/Devils-Dice-Neural-Network | 20915454f5c7059f77b70889fb1c272aeb755567 | dc148e030c7046befd3655c947ebca9e477a0dbf | refs/heads/master | 2021-01-12T09:51:28.463501 | 2016-12-14T07:37:54 | 2016-12-14T07:37:54 | 76,278,583 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,760 | h | #pragma once
#ifndef RANDOM_AI
#define RANDOM_AI
#include <iostream>
#include <string>
#include <fstream>
#include "Player.h"
class RandomAI : public Player {
private:
bool passed = true;
int inf_RollCount = 0; // how many times the A.I. has rolled
int inf_OpponentsScore = 0; // the overall score of the AI's op... | [
"r.e.wilkins@gmail.com"
] | r.e.wilkins@gmail.com |
38d0c65ec2222fc6a34c8b7a99c61ddfa78b8b89 | f66d08afc3a54a78f6fdb7c494bc2624d70c5d25 | /Code/CLN/src/complex/transcendental/cl_C_atanh_aux.cc | 6049d913638151ac7a6c3c0556b5e4f0f4205f53 | [] | no_license | NBAlexis/GiNaCToolsVC | 46310ae48cff80b104cc4231de0ed509116193d9 | 62a25e0b201436316ddd3d853c8c5e738d66f436 | refs/heads/master | 2021-04-26T23:56:43.627861 | 2018-03-09T19:15:53 | 2018-03-09T19:15:53 | 123,883,542 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,869 | cc | // atanh().
// General includes.
#include "cln_private.h"
// Specification.
#include "complex/cl_C.h"
// Implementation.
#include "base/cl_N.h"
#include "cln/real.h"
#include "float/transcendental/cl_F_tran.h"
#include "real/cl_R.h"
/* Use the inline version of cl_float */
#include "base/cl_inline.h"
#include "re... | [
"nbalexis@gmail.com"
] | nbalexis@gmail.com |
5eec4b0e20f31dcd39611318ea17d7ca79a35bf0 | 0335521931f42bcd4b31d9cd3c36a6abec1aad92 | /Sources/Windows/Forms_XE3/TFormMain.h | 1c7249310cd37ac1b15443620f49f6ac83968e9f | [] | no_license | rogergithubbing/CapriceForEveryone | 88a048976781c2e8c28b39b3fe33d530890cef4f | ae252a7acd909ea2954640bb778f08c718511c0a | refs/heads/master | 2021-08-18T09:39:26.622545 | 2019-04-14T16:34:26 | 2019-04-14T16:34:26 | 178,580,655 | 2 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 22,804 | h | /*
CaPriCe Forever - Amstrad CPC 464/664/6128 emulator
Copyright (C) 2014-2018 by Frédéric Coste
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 Foundation, either version 3 of the License, o... | [
"Roger"
] | Roger |
86b73b4ca4ad989398a257afce396ce163cd10ac | 4732e8b09bfef920f834ae4be32af1210278eee8 | /2017 Data Structure/Project4/BinarySearchTree.cpp | 1953b89cfd8afdaea3209e29227333b46390e686 | [] | no_license | Justin1095/2017-Data-Structure | 466a91383eb8f0fdeb82908ab18a337ae155f381 | 80ad8ad3720b86622822b486a3d9fd6d6da76676 | refs/heads/master | 2021-05-13T14:28:32.246914 | 2018-01-08T23:47:48 | 2018-01-08T23:47:48 | 116,741,616 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,633 | cpp | //Justin Seda
//CPSC 250 10am
//jseda1@live.esu.edu
//13 April 2017
//This program will design a BinarySearchTree class to create a binary tree that holds different values.
//The class contains functions for inserting, finding, deleting, Binary Search Tree Sort, pre-order, in-order and post-order traversals.
... | [
"noreply@github.com"
] | noreply@github.com |
11fbddeca6c9572d7d2972700b1aed26c5a1149f | 9358789cc18adbd132c2ae93b36b8f4d7a9f1c60 | /colorConstant.ino | 40a20db8dc5e4eedd6e039cd53eb992933855f35 | [] | no_license | Daedalus12/neopixel-goggles-2014 | 1a7fae95c618abc3b250980e20c1d7b5e3bcf214 | 505bb912466bbc6a581ba95a77c543d6d729e021 | refs/heads/master | 2020-03-26T19:00:31.983834 | 2018-08-24T00:22:22 | 2018-08-24T00:22:22 | 145,243,762 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 212 | ino | byte constant_hue = 0;
void colorConstant(byte* hues, byte* sats) {
if (j == 0){
constant_hue = random(255);
}
for (byte i=0; i<16; i++) {
hues[i] = constant_hue;
sats[i] = 255;
}
}
| [
"Daedalus12@gmail.com"
] | Daedalus12@gmail.com |
0fc685645aab1f5bdac682d302e1d7435deb2f16 | e5486b48e9b0a167a22efd59f0fa5e8f4512e2cf | /BAEKJOON/2699.cpp | b0a23e64a18c927d66282f421b10d1a68eacd87c | [] | no_license | Jihunn-Kim/Coding-Test-Practice | a7ec7cb8f186168fa39026527bb8369599389674 | c2fd1c2f6871dc0b3d1614b0dc9e8f9fcdbe3a91 | refs/heads/master | 2023-04-23T00:48:23.833705 | 2021-05-07T13:48:47 | 2021-05-07T13:48:47 | 112,074,131 | 0 | 0 | null | null | null | null | UHC | C++ | false | false | 1,937 | cpp | #include <iostream>
#include <string>
#include <algorithm>
#include <vector>
#include <utility>
#include <queue>
#include <stack>
#include <cmath>
#include <list>
#include <cstring>
#include <set>
#include <unordered_set>
#include <climits>
#include <unordered_map>
#include <map>
#include <iomanip>
using namespace std... | [
"sonic2010@naver.com"
] | sonic2010@naver.com |
f11da4578167ca9e0d6afeb1ac57d759cf300157 | edfb435ee89eec4875d6405e2de7afac3b2bc648 | /tags/selenium-2.2.0/cpp/IEDriver/CommandHandlers/QuitCommandHandler.h | a695901954be027a1552a08feab3d51a487d5c05 | [
"Apache-2.0"
] | permissive | Escobita/selenium | 6c1c78fcf0fb71604e7b07a3259517048e584037 | f4173df37a79ab6dd6ae3f1489ae0cd6cc7db6f1 | refs/heads/master | 2021-01-23T21:01:17.948880 | 2012-12-06T22:47:50 | 2012-12-06T22:47:50 | 8,271,631 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,988 | h | // Copyright 2011 WebDriver committers
// 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 ... | [
"simon.m.stewart@07704840-8298-11de-bf8c-fd130f914ac9"
] | simon.m.stewart@07704840-8298-11de-bf8c-fd130f914ac9 |
9b2660815b4b2f06c9c87d4a9da51dae71bd21df | 2f6e9f4007975d446489892c6d36050c3438bc51 | /ft_containers/vector.hpp | c02fa1ce56c7955a7b781f033932745db208eb39 | [] | no_license | qperrot/qperrot | 10cb3cf7ca86a2ba4c6cdfc9bd8b4cbd9fae2a4e | d9b6d203cefbc069b47a006c356a8c895c8bf698 | refs/heads/master | 2023-03-08T13:12:37.180525 | 2022-02-02T09:14:36 | 2022-02-02T09:14:36 | 216,030,915 | 0 | 0 | null | 2023-03-08T01:47:57 | 2019-10-18T13:31:26 | C++ | UTF-8 | C++ | false | false | 18,820 | hpp | /* ************************************************************************** */
/* */
/* ::: :::::::: */
/* vector.hpp :+: :+: :+: ... | [
"perrot-minnotquentin@macbook-pro-de-perrot-minnot.home"
] | perrot-minnotquentin@macbook-pro-de-perrot-minnot.home |
9668502ea967c94bfbc420b036784a18794fee61 | 7cb287aa15612d1e92ab3d264f61ede7092f3986 | /refactor/refctor2/main/bin/sketch/MoveList.h | 0e7111e66302fe3775ec25e032efe669e660f268 | [] | no_license | mlenover/CNC-Tube-Notcher | a1c29b4b59229eeb6e97909b849141cc0ed1b537 | b4c19a16e502f61470f74e2b1cdccfde002ef0d9 | refs/heads/master | 2022-04-08T03:52:24.201340 | 2020-03-12T17:10:43 | 2020-03-12T17:10:43 | 225,083,632 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 385 | h | #ifndef MOVE_LIST_H
#define MOVE_LIST_H
#include "Move.h"
#include "Param.h"
class MoveList {
private:
Move* moveBuf[param.numMoveBuf];
static Move* startMove;
static Move* endMove;
public:
MoveList* create();
void init();
bool hasFreeMove();
Move* reserveMove();
void releaseMove(... | [
"mlenover@gmail.com"
] | mlenover@gmail.com |
db147d905c7f904f3cc869990ebba081ce008f28 | 65f9576021285bc1f9e52cc21e2d49547ba77376 | /LINUX/android/vendor/qcom/proprietary/qcril-data-hal/datamodule/include/module/IDataModule.h | b91154cb49376c2e6b31e0a557dc2a38866dcf44 | [] | no_license | AVCHD/qcs605_root_qcom | 183d7a16e2f9fddc9df94df9532cbce661fbf6eb | 44af08aa9a60c6ca724c8d7abf04af54d4136ccb | refs/heads/main | 2023-03-18T21:54:11.234776 | 2021-02-26T11:03:59 | 2021-02-26T11:03:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 677 | h | /**
* Copyright (c) 2017 Qualcomm Technologies, Inc.
* All Rights Reserved.
* Confidential and Proprietary - Qualcomm Technologies, Inc.
**/
#pragma once
#include "framework/Module.h"
namespace rildata {
/**
IDataModule is the public interface to create Data Module
*/
class IDataModule : public Module {
public:
... | [
"jagadeshkumar.s@pathpartnertech.com"
] | jagadeshkumar.s@pathpartnertech.com |
25d2b3e3d4cf1ccd798acf0e7e70843430a888bb | 34cffde27a132b9e8f0cb6ba7e4981ddf9bdff78 | /C++ Family/Internet Learning/Learn/Learn Theory/aboutvariablestype2.cpp | 7560f50428abb8df9ce05e8afa6a0fb631116b2b | [] | no_license | tokaisuDev/Code-Coding-Series | a02c6a12dc0b856d0eea29c2dd39da2030a86315 | 9ae8b3dc0aea23f556b7f1456b00b1d45b8af45e | refs/heads/master | 2023-05-01T22:58:06.367493 | 2021-05-26T00:59:33 | 2021-05-26T00:59:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 237 | cpp | #include <iostream>
using namespace std;
int main() {
// Wait some minutes! We will learn another tpye of "int" variables
// another thing... to assign a value to a veriables
int myNum;
myNum = 15;
cout << myNum;
return 0;
} | [
"toymyorange@gmail.com"
] | toymyorange@gmail.com |
b4bd2b3838b5365e9301fd73e9186b109605128b | 41b4adb10cc86338d85db6636900168f55e7ff18 | /aws-cpp-sdk-ec2/source/model/BundleTask.cpp | 452ca83b52c043e787336315c6bd1385bf0a37d7 | [
"JSON",
"MIT",
"Apache-2.0"
] | permissive | totalkyos/AWS | 1c9ac30206ef6cf8ca38d2c3d1496fa9c15e5e80 | 7cb444814e938f3df59530ea4ebe8e19b9418793 | refs/heads/master | 2021-01-20T20:42:09.978428 | 2016-07-16T00:03:49 | 2016-07-16T00:03:49 | 63,465,708 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 6,687 | cpp | /*
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file... | [
"henso@amazon.com"
] | henso@amazon.com |
49e8581ecc6e16ed87c20d6d5a8bde3727056935 | 4e9d28e319ee58dd120fda27f5bd695e09bac620 | /Maps/userpath.cpp | 365641d99d876ae1d0609f3b68c307a8ac1645cf | [] | no_license | Lvisual/GraduateProject | f73aa64baac3a0b073abd344d8e1866b06ad81c8 | 25e508aa144960a7934054f9e887cfe71769da0e | refs/heads/master | 2020-03-09T01:29:32.411440 | 2018-05-01T15:44:15 | 2018-05-01T15:44:15 | 128,515,956 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,430 | cpp |
#include "userpath.h"
#include <QFont>
#include <QWidget>
#include <QLabel>
#include <QWidget>
#include <QApplication>
#include <QGridLayout>
#include <QLabel>
#include <QLineEdit>
#include <QFormLayout>
#include <QPushButton>
#include <QHBoxLayout>
#include <QVBoxLayout>
#include <QScrollArea>
#include<QString>
#incl... | [
"873584843@qq.com"
] | 873584843@qq.com |
316341f63e40ece26dd98b83132e218e3bda4103 | 2cf838b54b556987cfc49f42935f8aa7563ea1f4 | /aws-cpp-sdk-quicksight/include/aws/quicksight/model/DescribeTemplatePermissionsRequest.h | 6b362fa9c6c5b1e6e647239295698cd203fa9607 | [
"MIT",
"Apache-2.0",
"JSON"
] | permissive | QPC-database/aws-sdk-cpp | d11e9f0ff6958c64e793c87a49f1e034813dac32 | 9f83105f7e07fe04380232981ab073c247d6fc85 | refs/heads/main | 2023-06-14T17:41:04.817304 | 2021-07-09T20:28:20 | 2021-07-09T20:28:20 | 384,714,703 | 1 | 0 | Apache-2.0 | 2021-07-10T14:16:41 | 2021-07-10T14:16:41 | null | UTF-8 | C++ | false | false | 4,408 | h | /**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/quicksight/QuickSight_EXPORTS.h>
#include <aws/quicksight/QuickSightRequest.h>
#include <aws/core/utils/memory/stl/AWSString.h>
#include <utility>
namespace Aws
{
namespace... | [
"aws-sdk-cpp-automation@github.com"
] | aws-sdk-cpp-automation@github.com |
31134167ecc5241b393a9fdf4b9db9d66a6d6c94 | cd72b19d2030f36f78dab52390d092ed3dc8005f | /lib/include/libvideostitch/context.hpp | 80578ec1a026611d239ed85c5dbc0c987d4a56e2 | [
"MIT",
"DOC"
] | permissive | stitchEm/stitchEm | 08c5a3ef95c16926c944c1835fdd4ab4b6855580 | 4a0e9fc167f10c7dde46394aff302927c15ce6cb | refs/heads/master | 2022-11-27T20:13:45.741733 | 2022-11-22T17:26:07 | 2022-11-22T17:26:07 | 182,059,770 | 250 | 68 | MIT | 2022-11-22T17:26:08 | 2019-04-18T09:36:54 | C++ | UTF-8 | C++ | false | false | 1,245 | hpp | // Copyright (c) 2012-2017 VideoStitch SAS
// Copyright (c) 2018 stitchEm
#pragma once
#include "algorithm.hpp"
#include "status.hpp"
namespace VideoStitch {
namespace GPU {
namespace Context {
/** Compile all GPU kernels for the thread-local device */
Status compileAllKernels(const bool aheadOfTime, Util::Algorit... | [
"stitchemvr@gmail.com"
] | stitchemvr@gmail.com |
b7fec407b2625a1de6e2345e20ef71edb53006c5 | 4cc01bb450a264037c0852a6b0772000a6a8058f | /NumberComplement.cpp | eac354d1cb5bdee29cfa7f8b5e00656f2aaf6a46 | [] | no_license | VijayReddy119/LeetCode | d759763df6295618421c7bf029ccd4c550da7a50 | 59f5d50b4bf3d2ac4bd8f6ec686e2cd5f1b1883e | refs/heads/master | 2022-10-28T01:00:08.860510 | 2020-06-16T15:55:25 | 2020-06-16T15:55:25 | 272,750,135 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 195 | cpp | #include<iostream>
#include<bits/stdc++.h>
using namespace std;
int main(){
int n=2147483647;
int mask = 1;
while(mask < n)
mask = (mask<<1)+1;
cout<< (n^mask);
return 0;
} | [
"noreply@github.com"
] | noreply@github.com |
7de392f5c0cbbe83d75c9dcd484121400e2063be | 846162163ec441b1e8affc5e9942b2e30f39fb78 | /MyWidgetApplications/applications/widgettesterapp.hpp | 3f996d7afaa402a1698a12101cc1462959b01a7f | [] | no_license | abrdo/Widget_library---in_CPP | 3674cae44b7e4110b8c0dce1fe116700b0922518 | 8e2804717313e010a228bda6bea9ed26f82596f5 | refs/heads/master | 2023-02-27T03:47:24.364579 | 2021-02-02T18:16:40 | 2021-02-02T18:16:40 | 273,394,287 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 452 | hpp | #ifndef WIDGETTESTERAPP_HPP
#define WIDGETTESTERAPP_HPP
#include "../window.hpp"
#include "../checkbox.hpp"
#include "../statictext.hpp"
#include "../numbereditor.hpp"
#include "../texteditor.hpp"
#include "../selectorlist.hpp"
#include "../funcbutton.hpp"
class WidgetTesterApp : public dowi::Window{
dowi::Sele... | [
"abraham.domi@gmail.com"
] | abraham.domi@gmail.com |
1bf6cb5f587cedf7b2e9f3727b52e2f53d63a286 | c4a66686285857e441d05420f970a9b72bc8d5d5 | /2202_ArraySortedRecursion.cpp | 9919414b43c50b2ae8199c92002e09d5f2acaf43 | [] | no_license | himanshu-rawat/CBcplusplus | 99140cb25a96b66c6160f6689b02d278ac8ba66d | fbb5de2e4945457eed604fc11fb2093da4258ecc | refs/heads/master | 2020-05-03T20:38:32.174661 | 2019-07-24T13:13:06 | 2019-07-24T13:13:06 | 178,807,210 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 312 | cpp | #include<iostream>
using namespace std;
bool isSorted(int arr[],int n){
// Base Case
if(n==0){
return 1;
}
// Recursive Case
int val = arr[n-1]>arr[n-2] &&isSorted(arr,n-1);
return val;
}
int main(){
int arr[]={3,5,6,9,10,11};
cout<<isSorted(arr,6);
return 0;
} | [
"himanshurawatrit@gmail.com"
] | himanshurawatrit@gmail.com |
e2562e8e780c231d94aaf0f7a0a4fa5826269800 | 6819e26f7d705b8fb92a709667a3610b63a75229 | /sort.cpp | f8911edf1a760732259faaca8c0a5c3ffd4f43c9 | [] | no_license | RStravinsky/Sorting | 0edd1c8b6e7366a9ebfbfcfa11f8ce25265b4f77 | ad44fca14ba655e1fbf3acf009be533613b6272f | refs/heads/master | 2019-01-21T15:51:50.968387 | 2016-05-09T13:57:46 | 2016-05-09T13:57:46 | 58,380,658 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,416 | cpp | #include "sort.h"
Sort::Sort(unsigned int _iSize) : iSize(_iSize)
{
pSourceArray = new int[_iSize];
pom = new int[iSize];
GenerateArray();
pSourceArray_CONST = new int[_iSize];
std::copy(pSourceArray, pSourceArray+iSize, pSourceArray_CONST);
DisplayArray("Początkowe");
}
Sort::~Sor... | [
"rafal_strawinski@o2.pl"
] | rafal_strawinski@o2.pl |
e1d4f32d68d7711b62fa40cdab6557ffcb901594 | 622cf161272905c39f986796bd431996825f64fb | /kglt/ui/rocket/Source/Controls/ElementDataGridRow.cpp | 38edb65c4b09b39617155923e112f0be3029f5c4 | [
"BSD-2-Clause"
] | permissive | aonorin/KGLT | 03faffd80201b1665ccf724d314d1625707248ff | 998c1aca7f27d89bf32e975fd13a0fdf84f86d39 | refs/heads/master | 2020-12-25T15:50:36.040120 | 2016-02-16T09:53:17 | 2016-02-16T09:53:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 18,259 | cpp | /*
* This source file is part of libRocket, the HTML/CSS Interface Middleware
*
* For the latest information, see http://www.librocket.com
*
* Copyright (c) 2008-2010 CodePoint Ltd, Shift Technology Ltd
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and assoc... | [
"kazade@gmail.com"
] | kazade@gmail.com |
ed8e1f6c1ead0ef7d24b681f3083fa69c1a7b841 | cb80a8562d90eb969272a7ff2cf52c1fa7aeb084 | /inletTest3/0.13/turbulenceProperties.I | 734a3475ecaa88eb3ec825ddd041c6879c3f2da9 | [] | no_license | mahoep/inletCFD | eb516145fad17408f018f51e32aa0604871eaa95 | 0df91e3fbfa60d5db9d52739e212ca6d3f0a28b2 | refs/heads/main | 2023-08-30T22:07:41.314690 | 2021-10-14T19:23:51 | 2021-10-14T19:23:51 | 314,657,843 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 154,371 | i | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v2006 |
... | [
"mhoeper3234@gmail.com"
] | mhoeper3234@gmail.com |
6809dbfcd52b960a0da18caa1586ce5efb491bc4 | 98410335456794507c518e361c1c52b6a13b0b39 | /sprayMASCOTTELAM2/0.04/C7H16 | b066527748f1c03a96ed29bd30cbf760e5388e78 | [] | no_license | Sebvi26/MASCOTTE | d3d817563f09310dfc8c891d11b351ec761904f3 | 80241928adec6bcaad85dca1f2159f6591483986 | refs/heads/master | 2022-10-21T03:19:24.725958 | 2020-06-14T21:19:38 | 2020-06-14T21:19:38 | 270,176,043 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,396 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 4.0 |
... | [
"sebastianvi26@gmail.com"
] | sebastianvi26@gmail.com | |
c6302c0a32cf4c4999f458a62bf2fa28ea143f4a | 1082d5cde908e101c51f69923212dcae4b4b60f4 | /Source/PythonConsole/Private/SPythonLog.h | c521e972acf5035b3e7466ee20ec2c50d6713157 | [
"MIT"
] | permissive | SaxonRah/UnrealEnginePython | 88039c62024d01672138c4adeecac0fc9729bed0 | d5f3b2e7a42209af31cbbd47377633e8d452439c | refs/heads/master | 2021-01-04T23:56:44.556697 | 2020-02-16T00:38:43 | 2020-02-16T00:38:43 | 240,805,780 | 7 | 1 | MIT | 2020-02-16T00:03:20 | 2020-02-16T00:03:19 | null | UTF-8 | C++ | false | false | 5,952 | h | // Copyright 1998-2016 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "Runtime/Slate/Public/Framework/Text/BaseTextLayoutMarshaller.h"
#include "Runtime/Core/Public/Misc/TextFilterExpressionEvaluator.h"
#include "Runtime/SlateCore/Public/SlateCore.h"
#include "UnrealEnginePython.h"
#include "Runtime/Slate... | [
"roberto@20tab.com"
] | roberto@20tab.com |
4e077e738d91e3cc621f32cce6cd86f7196184ba | 93debf8d51e8966118f59fb97164219f95592d47 | /[std] 9LetterWords/JMiles9LetterWords/FIleIO.h | bb2bc03f1f11c27e78d14ad2127bc5b46d05b747 | [] | no_license | JMiles42/9LetterWordsCalculator | 6814470b6bb3b2bfbe101e496a88cfebc1524856 | 052e98d0cec1c380c2aeca1d55ba93e551d73c26 | refs/heads/master | 2020-03-24T17:54:53.680126 | 2018-07-30T13:00:51 | 2018-07-30T13:00:51 | 142,876,343 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 691 | h | #pragma once
#include "stdafx.h"
#include "NineLetterWords.h"
#include <fstream>
#include <regex>
#include <Windows.h>
class FileIO
{
public:
static bool FileExists(std::string fileName);
static std::vector<std::string> FileLoad(std::string fileName);
static bool FileSave(std::string fileName, std::set<std::string>&... | [
"J@jmiles42.com"
] | J@jmiles42.com |
46096175814438524854cf1b9d27f22998a78e6f | 4051c58e8beba4e2aa692a479619f5459209f8ab | /include/Engine.h | 775245c05e22e2496240cb6f16b214f1738d9676 | [
"MIT"
] | permissive | Tursh/CGE-Dev | 00f3125996f46cd387fdb9d69226791e3b17be88 | fbe670dfa848b0447b5d66a71acbc53b683c1397 | refs/heads/master | 2023-04-30T02:16:03.825677 | 2021-05-01T04:23:34 | 2021-05-01T04:23:34 | 183,306,988 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 688 | h | #pragma once
#include "IO/Window.h"
namespace CGE
{
/**
* Initialize the library and it's dependencies then return the main window
* @param name Your application name
* @param width The window width_
* @param height The window height
* @param resizable If the window will be resizable
* @return The windo... | [
"raphaeltremblay01@gmail.com"
] | raphaeltremblay01@gmail.com |
2964dd74027080c48f2e024d97dfc00a5e8ad77a | 935e1458888b7911a58f2da5981c9d586fe6965d | /lib/ErriezBH1750/examples/OneTimeMode/BH1750OneTimeBasic/BH1750OneTimeBasic.ino | 8d0a835225b5b7472683dac5e411e14f8d6aeb10 | [
"MIT"
] | permissive | Erriez/ESP8266UbidotsSensors | a0580a5cde8b913d2c86700deb2734a7e9acfdf2 | 498d932aca5c0a4d9f3f2a701e60f22ee068669d | refs/heads/master | 2020-03-27T20:54:09.031544 | 2018-09-02T16:16:59 | 2018-09-02T16:16:59 | 147,101,170 | 0 | 4 | null | null | null | null | UTF-8 | C++ | false | false | 2,263 | ino | /*
* MIT License
*
* Copyright (c) 2018 Erriez
*
* 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, m... | [
"Erriez@users.noreply.github.com"
] | Erriez@users.noreply.github.com |
36352d746e42f9e1acbdae1f2ee50ca87e234ad1 | 34fab4f3be12eeac03955209f8986274739c5835 | /Root/LightweightGraph.cxx | 4be131113b0fe700381706abc13afe1a1b41a465 | [] | no_license | jwsmithers/ttgamma_lwtnn_injection | 786a01215140c9da2f8775a4b7ce18ddb78066d3 | e2a0cf4f82406071476af662e273e5e0585ce987 | refs/heads/master | 2020-12-30T11:51:22.993170 | 2018-03-27T12:55:52 | 2018-03-27T12:55:52 | 91,527,431 | 0 | 2 | null | 2018-03-27T10:16:47 | 2017-05-17T03:00:28 | C++ | UTF-8 | C++ | false | false | 4,138 | cxx | #include "lwtnn/LightweightGraph.hh"
#include "lwtnn/InputPreprocessor.hh"
#include "lwtnn/Graph.hh"
#include <Eigen/Dense>
namespace {
using namespace Eigen;
using namespace lwt;
// utility functions
typedef LightweightGraph::NodeMap NodeMap;
typedef InputPreprocessor IP;
typedef std::vector<std::pair<st... | [
"joshua.wyatt.smith@cern.ch"
] | joshua.wyatt.smith@cern.ch |
44f3f5ef4276cf957052d3a701ef87a1cdd19a2a | ead3d2b70465ba2ca4b8c271c91ec91edfabeec6 | /api/data/departure.h | ddc9232d01535fb52211567024d58fe8c0b6cd11 | [] | no_license | iRail/libqtrail | 8badc845efe7566b7e68fb2f86cf218c809788d3 | 0f795317c279959794542b9eae9743742dc5b70c | refs/heads/master | 2021-01-25T12:01:42.627206 | 2011-06-30T12:20:40 | 2011-06-30T12:20:40 | 1,627,224 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,600 | h | //
// Configuration
//
// Include guard
#ifndef DEPARTURE_H
#define DEPARTURE_H
// Includes
#include <QObject>
#include <QMetaType>
#include <QString>
#include <QVariant>
#include "stop.h"
#include "vehicle.h"
namespace iRail
{
class Departure : public QObject
{
Q_OBJECT
Q_PROPERTY(uint delay READ de... | [
"tim.besard@gmail.com"
] | tim.besard@gmail.com |
c0adcca1682c4d5b4e54d57b40196b276001b1e7 | 903565480db35abdd7755a7dc499edb940f228fa | /Colour.h | 253385a83330e9760a6a95f21825ded8186a5b26 | [
"MIT"
] | permissive | yxw027/gnssview | 158b269f61d347f9140150463c85948f3682a81e | 6cbfaf6a8b5bc592588b1d3b441fd3eab490da0c | refs/heads/master | 2021-01-07T02:13:32.944997 | 2016-06-13T08:03:09 | 2016-06-13T08:03:09 | 241,549,765 | 1 | 0 | NOASSERTION | 2020-02-19T06:31:06 | 2020-02-19T06:31:06 | null | UTF-8 | C++ | false | false | 1,559 | h | //
// gnssview - a program for displaying GNSS satellite paths
//
// The MIT License (MIT)
//
// Copyright (c) 2014 Michael J. Wouters
//
// 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... | [
"groundstate@users.noreply.github.com"
] | groundstate@users.noreply.github.com |
aa57e61c5dad26f8e18b1394a608d16773ff74d0 | 5fe1a08be4a62ff19d5d61e4716742d4fb292297 | /binaryPrefixDivisibleBy5.cpp | 04751f68776be369c0511fa0a02f305070afd2ef | [] | no_license | songclei/leetcode | 85e92e1e6b456fcf686812942eb14bd393459987 | 6d33f9ee2d67408c2cff11c550ccef7f58c76369 | refs/heads/master | 2020-05-02T14:34:17.406765 | 2019-08-24T09:39:20 | 2019-08-24T09:39:20 | 178,014,665 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 398 | cpp | class Solution {
public:
vector<bool> prefixesDivBy5(vector<int>& A) {
int n = A.size();
vector<bool> ret(n);
int cur = 0;
for (int i = 0; i < n; ++i) {
cur = (cur * 2 + A[i]) % 10;
if (cur % 5 == 0) {
ret[i] = true;
} else {
... | [
"songchenlei@bytedance.com"
] | songchenlei@bytedance.com |
1847d9a2b08f9d0623d4658fb241879eb419672a | ba3d7ea31d9fc1dddfe34074f7d87ff0d8377930 | /openglannotationwindow.cpp | 670c743f3a0c2e9040d3948492044fffc108d7c2 | [] | no_license | Eremeos/AFMA | 5f1b6b8139bf9f31627a889de449070a8e30e034 | dac8f9c9b5347be9d1aae749512dd3288e0b91b0 | refs/heads/master | 2021-01-23T14:05:46.091167 | 2016-11-14T11:12:39 | 2016-11-14T11:12:39 | 59,669,111 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,007 | cpp |
#include "openglannotationwindow.h"
#include <QOpenGLWidget>
#include <QOpenGLVertexArrayObject>
#include <iostream>
#include <glm/glm.hpp>
#include <stdio.h>
#include <fstream>
#include <QMouseEvent>
#include <QOpenGLBuffer>
#include <opencv2/core/core.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <opencv2/im... | [
"matthias.bergler@gmx.de"
] | matthias.bergler@gmx.de |
9cee6a5555167d233beef1d8d2fc259b76e296c9 | 6e9b20902f4e232d12e865f192ea5128ae253ba7 | /Fluid/5.4/meshPhi | 41796e00c895392a51de8e9fa4206c2b5153866f | [] | no_license | abarcaortega/FSI_3 | 1de5ed06ca7731016e5136820aecdc0a74042723 | 016638757f56e7b8b33af4a1af8e0635b88ffbbc | refs/heads/master | 2020-08-03T22:28:04.707884 | 2019-09-30T16:33:31 | 2019-09-30T16:33:31 | 211,905,379 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,351 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: dev
\\/ M anipulation |
\*-----... | [
"aldo.abarca.ortega@gmail.com"
] | aldo.abarca.ortega@gmail.com | |
3b2c52244706456953c0a9fe02c1fb23891645f7 | bd1fea86d862456a2ec9f56d57f8948456d55ee6 | /000/116/625/CWE762_Mismatched_Memory_Management_Routines__strdup_delete_wchar_t_15.cpp | b38ce309d5bb204061683b8e85e8a0307218e25e | [] | 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 | 5,957 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE762_Mismatched_Memory_Management_Routines__strdup_delete_wchar_t_15.cpp
Label Definition File: CWE762_Mismatched_Memory_Management_Routines__strdup_delete.label.xml
Template File: sources-sinks-15.tmpl.cpp
*/
/*
* @description
* CWE: 762 Mismatched Memory Management Ro... | [
"frank@fischer.com.mt"
] | frank@fischer.com.mt |
b9ffde55b68ea9fe38ba74b1a0efdbbce12d3d90 | 33a14cc76b7cc6e63df29a71b961888da620ca72 | /inst/enumpart/BigInteger.hpp | 3b7fce3f627a3168bdc716bfdd89b0823a18c7df | [] | no_license | cran/redist | 36150746a95124666f2f895244027c7fc01605e2 | c3e8756fef4b13970904825f464369c793327aff | refs/heads/master | 2023-04-06T07:35:15.973690 | 2023-04-03T09:50:02 | 2023-04-03T09:50:02 | 35,801,284 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 16,358 | hpp | /*
* BigInteger.hpp
*
* Copyright (c) 2012 -- 2019 Jun Kawahara
*/
#ifndef BIGINTEGER_HPP
#define BIGINTEGER_HPP
#include <iostream>
#include <vector>
#include <string>
#include <climits>
#include <cstdlib>
#include <sstream>
#include <stdexcept>
#include <fstream>
#include <sstream>
class B... | [
"csardi.gabor+cran@gmail.com"
] | csardi.gabor+cran@gmail.com |
0103b80e5d689cfb7d7200e7306954871e265c3d | 377a59b189eeb9efe3d8d73a9d144dbbcb72978d | /falcon/c++/initialize.hpp | e73a7b177b84c48a6ebde6f5cadeacec91e42916 | [] | no_license | BGCX067/falcon-library-git | 89c92c424436c05c5605d926e588b1e512e8279c | a5ec72f885346d91801fcda1d2a36a901a35145d | refs/heads/master | 2021-01-13T00:56:29.589188 | 2013-09-05T20:57:42 | 2013-09-05T20:57:42 | 48,870,693 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 300 | hpp | #ifndef FALCON_CPP_INITIALIZE_HPP
#define FALCON_CPP_INITIALIZE_HPP
#include <falcon/config.hpp>
#if defined(IN_IDE_PARSER)
# define CPP_INITIALIZE(args...) (args)
#elif __cplusplus < 201103L
# define CPP_INITIALIZE(...) (__VA_ARGS__)
#else
# define CPP_INITIALIZE(...) {__VA_ARGS__}
#endif
#endif | [
"jonathan.poelen@gmail.com"
] | jonathan.poelen@gmail.com |
7848790f7fddb003a82ab5856eee7f9d4388151a | 6e076309c0837160ed21f100782e7358df71109a | /jni/utils/easing.h | ea050884034b062792b08919bbaec10d71b92fec | [] | no_license | banketree/Magicamera | f2cf632eb5480c3a4c405ccde92bc74b4d4af0d4 | d98436b18121896ac0a9eed04c628654cbdc52ec | refs/heads/master | 2021-01-24T22:52:26.078250 | 2013-08-17T22:08:40 | 2013-08-17T22:08:40 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,303 | h | #ifndef _easing_h_
#define _easing_h_
#define _USE_MATH_DEFINES
class CEasing
{
public:
bool AutoFree;
virtual ~CEasing(){};
//! time a value between 0 and 1
//! For example:
//! * 0 means that the action just started
//! * 0.5 means that the action is in the middle
//! * 1 ... | [
"devnull@localhost"
] | devnull@localhost |
d860c7cbd960fbcd9285866c1090daa9620925c3 | 533f244419fa5b9416bb5e7c567d76f400048ec9 | /Src/testio.cpp | 157fb70ab2470fc6943ae4eff954f6cf07f0654d | [] | no_license | etienneSG/Metaheuristic_GRASP | d83f5f9fd078afc5710eb593f7ac0796ffd6cf2d | 9b836c53748dc6631179317de0e0474a118df4a5 | refs/heads/master | 2021-01-21T13:56:37.950038 | 2014-11-05T20:00:47 | 2014-11-05T20:00:47 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,562 | cpp | #include "testio.h"
#include <fstream>
#include <iostream>
#include <string.h>
#include <string>
#include <assert.h>
Testio::Testio():
_NbClients(0),
_NbFactories(0),
_aImplantationCost(0),
_ClientFactoryDistance()
{
}
Testio::~Testio()
{
if (_aImplantationCost)
delete [] _aImplantationCost; _aImplantationCost... | [
"etiennegaillard@gmail.com"
] | etiennegaillard@gmail.com |
170760ef15160c4e738d7ed684c3531178fd544d | b23e02c50ee5cabfe82267f57daea3c06a85055a | /Infrared-Spec1/Infrared-Spec1.ino | e1aa5391929a42a0715cd85c8643a6f89b17380d | [] | no_license | vipkas/Vipkas-SLF-2019 | 18f3497cafacd717cfda33acedd028ab462fb619 | 1e0bf4e46844fcd0c541d8e2ac6af42acba9c23c | refs/heads/master | 2020-07-11T01:10:02.781782 | 2019-08-29T00:29:20 | 2019-08-29T00:29:20 | 204,415,952 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 549 | ino | #define BUZZER 6
#define SIGNAL_PIN A0
int distance = 0;
void setup() {
Serial.begin(9600);
pinMode(BUZZER, OUTPUT);
pinMode(SIGNAL_PIN, INPUT);
}
void loop() {
int volt = map(analogRead(SIGNAL_PIN), 0, 1023, 0, 5000);
distance = (21.61 / (volt - 0.1696)) * 1000;
/*if(dis... | [
"noreply@github.com"
] | noreply@github.com |
9052b82ac03d236d866764d0d43b7f6b6fc0b62e | 204c5937cdea475f5c3dafde6d770a74ae9b8919 | /bzoj/2818(欧拉函数).cpp | d1900d2b50d327f3dfd59b66c28b0b8f6b73cc92 | [] | no_license | mlz000/Algorithms | ad2c35e4441bcbdad61203489888b83627024b7e | 495eb701d4ec6b317816786ad5b38681fbea1001 | refs/heads/master | 2023-01-04T03:50:02.673937 | 2023-01-02T22:46:20 | 2023-01-02T22:46:20 | 101,135,823 | 7 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 594 | cpp | #include<iostream>
#include<cstring>
#include<cmath>
#include<cstdio>
#include<algorithm>
using namespace std;
const int N=1e7+5;
int n,tot,p[N];
long long f[N];
bool check[N];
void init(){
for(int i=2;i<=n;++i){
if(!check[i]) p[++tot]=i,f[i]=i-1;
for(int j=1;j<=tot;++j){
if(i*p[j]>n) break;
check[i*p[j]]=tr... | [
"njumlz@gmail.com"
] | njumlz@gmail.com |
77b1bffb1d4c1dead383c6812bda8b4f9a1b625d | 5ff0a8b467ee4c9bb144ef877fc3e4ee9e2a26bc | /Midterm/Mario64KicksAss_MP/SirVive.h | b49a1228386c5d66d3da61286d34380743b8ca36 | [] | no_license | esheeder/441-Computer-Graphics | 60750cf473053133758d510f0a60233fdb40ec5b | 3495f7d45643847ba728f15e488e5f54caf99455 | refs/heads/master | 2016-08-11T07:09:01.995558 | 2016-01-06T05:17:59 | 2016-01-06T05:17:59 | 49,113,180 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 261 | h | #pragma once
#include "Hero.h"
class SirVive : public Hero {
public:
SirVive(std::shared_ptr<Point> location, float spinAngle2, float theta2, float xAngle2, float zAngle2);
void drawHero();
void drawBody();
void drawWheelL();
void drawWheelR();
};
| [
"esheeder@CTB60-08.adit.mines.edu"
] | esheeder@CTB60-08.adit.mines.edu |
2181790c96ec7d5e693732b63ba040d9e610d382 | 785df77400157c058a934069298568e47950e40b | /TnbMesh/TnbLib/Base/Region/Plane/Mesh_RegionPlane.hxx | baf10fbdb026d412b937e5a60407981fe9dc2f86 | [] | no_license | amir5200fx/Tonb | cb108de09bf59c5c7e139435e0be008a888d99d5 | ed679923dc4b2e69b12ffe621fc5a6c8e3652465 | refs/heads/master | 2023-08-31T08:59:00.366903 | 2023-08-31T07:42:24 | 2023-08-31T07:42:24 | 230,028,961 | 9 | 3 | null | 2023-07-20T16:53:31 | 2019-12-25T02:29:32 | C++ | UTF-8 | C++ | false | false | 3,134 | hxx | #pragma once
#ifndef _Mesh_RegionPlane_Header
#define _Mesh_RegionPlane_Header
#include <Global_Indexed.hxx>
#include <Global_Named.hxx>
#include <OFstream.hxx>
#include <TnbError.hxx>
#include <Mesh_RegionPlaneTraits.hxx>
#include <memory>
#include <vector>
namespace tnbLib
{
// Forward Declarations
template<cla... | [
"aasoleimani86@gmail.com"
] | aasoleimani86@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.