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 905
values | visit_date timestamp[us]date 2015-08-09 11:21:18 2023-09-06 10:45:07 | revision_date timestamp[us]date 1997-09-14 05:04:47 2023-09-17 19:19:19 | committer_date timestamp[us]date 1997-09-14 05:04:47 2023-09-06 06:22:19 | github_id int64 3.89k 681M ⌀ | star_events_count int64 0 209k | fork_events_count int64 0 110k | gha_license_id stringclasses 22
values | gha_event_created_at timestamp[us]date 2012-06-07 00:51:45 2023-09-14 21:58:39 ⌀ | gha_created_at timestamp[us]date 2008-03-27 23:40:48 2023-08-21 23:17:38 ⌀ | gha_language stringclasses 141
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 115
values | content stringlengths 3 10.4M | authors listlengths 1 1 | author_id stringlengths 0 158 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
576d852439d858473fa6ac14d02d4fe1c2e85add | dd5081784f0cd4280e9e0ad1a16334944c58cea6 | /src/Support_functions.ino | 770edab4ebc17cff7f3055e41f7e396f99e84bb1 | [
"MIT"
] | permissive | ffcadenas/freeds | ec587b7ac426b715027efc14beebbc66c1320190 | 13bcec2f0540944d9b80a4fec2c7ea04c55c33c4 | refs/heads/master | 2021-03-02T15:38:13.805831 | 2020-03-01T16:44:05 | 2020-03-01T16:44:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,706 | ino | char *dtostrfd(double number, unsigned char prec, char *s)
{
if ((isnan(number)) || (isinf(number)))
{ // Fix for JSON output (https://stackoverflow.com/questions/1423081/json-left-out-infinity-and-nan-json-status-in-ecmascript)
strcpy(s, "null");
return s;
}
else
{
return dtostrf(number, 1, prec,... | [
"pablozg@gmail.com"
] | pablozg@gmail.com |
12f68af6802a43a6e6c6e8b6c956c01ed9116fbb | 61a62af6e831f3003892abf4f73bb1aa4d74d1c7 | /15-295/S22/Contest 03/D.cpp | 5e43ff8de5ca392ad1b51beedf2d3473f74c78f9 | [] | no_license | amsraman/Competitive_Programming | 7e420e5d029e8adfbe7edf845db77f96bd1ae80d | 6f869a1e1716f56b081769d7f36ffa23ae82e356 | refs/heads/master | 2023-03-17T00:20:19.866063 | 2023-03-11T00:24:29 | 2023-03-11T00:24:29 | 173,763,104 | 16 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,693 | cpp | #include <bits/stdc++.h>
#define f first
#define s second
using namespace std;
int n, a[100000], pre[100001][2];
vector<pair<int, int>> ans;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(0);
cin >> n;
for(int i = 0; i < n; i++) {
cin >> a[i];
pre[i + 1][a[i] - 1] = 1;
}
... | [
"adisundar02@gmail.com"
] | adisundar02@gmail.com |
5bb8489528c1f23cfcd3271705ca5da5f3b483ff | 71cd34c2c7664ecfca3676346cae0441e5291a1c | /RT/RT/Headers/SmartPtrs.h | fcc2ec9899602f917a4bbedf4b94a917120e45bd | [
"MIT"
] | permissive | heyx3/heyx3RT | 3c5cd8f01853367fb23c178ab84171c599330f9e | 4dd476a33e658bc19fde239f2c6e22bdcd598e27 | refs/heads/master | 2020-05-21T23:55:15.785369 | 2018-01-20T00:18:22 | 2018-01-20T00:18:22 | 57,820,694 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,876 | h | #pragma once
#include "Main.hpp"
#include <utility>
#include <memory>
#pragma warning(disable: 4251)
namespace RT
{
template<typename T>
class RT_API UniquePtr
{
public:
UniquePtr(T* _ptr = nullptr) { ptr.reset(_ptr); }
UniquePtr(UniquePtr<T>&& moveFrom) { *this = std::move(moveFr... | [
"manning.w@husky.neu.edu"
] | manning.w@husky.neu.edu |
df6a849d52a5aa3f9037f9eb937a2397f642c213 | eeab0e407e3e015b51fd874991e47adba6564898 | /test/fp_util_test.cpp | 3e77b3b0527e9b2f299d168dd192d0ca1986ae43 | [
"BSD-3-Clause"
] | permissive | SatoshiRobatoFujimoto/mcl | be4d193d56cecca429a8e3d00b1bf3973da04254 | 6b29693b6423791fb1590c2b7e8f307bcb5de09d | refs/heads/master | 2020-03-18T10:55:50.693376 | 2018-05-23T07:18:49 | 2018-05-23T07:18:49 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 8,850 | cpp | #define PUT(x) std::cout << #x "=" << (x) << std::endl
#include <cybozu/test.hpp>
#include <mcl/conversion.hpp>
#include <mcl/gmp_util.hpp>
#include <mcl/fp.hpp>
CYBOZU_TEST_AUTO(arrayToHex)
{
const struct {
uint32_t x[4];
size_t n;
const char *str;
} tbl[] = {
{ { 0, 0, 0, 0 }, 0, "0" },
{ { 0x123, 0, 0, ... | [
"herumi@nifty.com"
] | herumi@nifty.com |
7b68055d17e01717aff25529cc09470501f6e7b9 | 114669ad7490bb15dc7a0299a14e526bb28b8c1d | /Maths_Operations_Source_Files/math_utilities.cpp | e0265950f55010be39884f429378efc6665ba9ad | [] | no_license | KennyMacheka/MENG | 07705dae11fa97b7dfcbcf69e9d20a4e8c7255e2 | 9e5ea03f7b65786c105fb92561b059755d9e3e13 | refs/heads/master | 2020-04-03T17:00:44.229766 | 2018-10-30T18:03:16 | 2018-10-30T18:03:16 | 155,428,105 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,079 | cpp | #include "math_utilities.h"
#include <cmath>
#include <stdio.h>
//Function checks if number is technically an integer
bool isInteger (double n){
double roundingError = 0.00001;
/**If n is an integer, it will have no fractional part, so floor(n) will be equal to n
However, it's generally not... | [
"knm512@yahoo.co.uk"
] | knm512@yahoo.co.uk |
8d824006868b42a472d5d99e81632f2c1ac1b98d | 711e5c8b643dd2a93fbcbada982d7ad489fb0169 | /XPSP1/NT/inetcore/outlookexpress/inetcomm/mimeole/bytebuff.cpp | a070e26c2cd1057a8d1ac60026fe70594e85e2b3 | [] | no_license | aurantst/windows-XP-SP1 | 629a7763c082fd04d3b881e0d32a1cfbd523b5ce | d521b6360fcff4294ae6c5651c539f1b9a6cbb49 | refs/heads/master | 2023-03-21T01:08:39.870106 | 2020-09-28T08:10:11 | 2020-09-28T08:10:11 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,196 | cpp | // --------------------------------------------------------------------------------
// ByteBuff.cpp
// Copyright (c)1993-1995 Microsoft Corporation, All Rights Reserved
// Steven J. Bailey
// --------------------------------------------------------------------------------
#include "pch.hxx"
#include "bytebuff.h"
... | [
"112426112@qq.com"
] | 112426112@qq.com |
86cef78de3705361ea745c1b70222c421854f53b | beec3a87e80ef1e8e9c3f792f542327456d92781 | /13-07-2013/problemC/10511.cpp | f33e233e687276156511c7402178ce371122bfff | [
"MIT"
] | permissive | rprata/alphabet-soup | dd5c6b195b28d75fec3ec813e5eb422b3a0f00a5 | e927b6acd076d184db47f1b0709cf13f864554ef | refs/heads/master | 2020-05-04T14:20:07.849513 | 2020-04-21T16:32:45 | 2020-04-21T16:32:45 | 6,921,796 | 2 | 1 | null | 2020-04-21T16:32:48 | 2012-11-29T13:39:54 | C++ | UTF-8 | C++ | false | false | 444 | cpp | #include <cstdlib>
#include <cstring>
#include <iostream>
#include <sstream>
#include <string>
using namespace std;
int T;
string s, aux;
stringstream ss;
int main (void)
{
cin >> T;
for (int i = 0; i < T; i++)
{
getline(cin, s); //limpa o caracter enter
while (getline(cin, s))
{
//generate MA
if (... | [
"renancprata@gmail.com"
] | renancprata@gmail.com |
8e27e5f74e16bc14ae5f98f7c359baa9cdcc90c3 | 419df7453270e916dcc82b32243f65466d6d77cb | /ex1/code/buildings.cpp | 1fedb695b7bd9da5f2ab82b952c7c5f7b09845af | [
"MIT",
"CC-BY-3.0"
] | permissive | dionyziz/ntua-algo | bf7214c2b25a6545d340c31d430dfd78f4638e9d | ed42637aef153f75a7d080170ff98369be90a5b3 | refs/heads/master | 2016-09-06T18:37:30.585514 | 2012-02-27T12:27:10 | 2012-02-27T12:27:10 | 2,938,529 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 739 | cpp | #include<cstdio>
#include<stack>
const int N = 8;
using namespace std;
int main() {
int A[ N + 1 ] = { 10000, 8, 13, 10, 6, 3, 5, 8, 2 };
int B[ N + 1 ];
stack< int > bullets;
int bullet;
for ( int i = N; i >= 1; --i ) {
B[ i ] = 0;
}
for ( int i = N; i >= 1; --i ) {
while... | [
"dionyziz@gmail.com"
] | dionyziz@gmail.com |
95f0f3b96521c92315f8abbe755e9ad31c812335 | 7f3abfeeddec4a552c1d1c61bf433098be8f8fe7 | /UserUtils/PlotUtils/src/Pad1D_Plot.cc | e120e031d6788a8a54021498b44c7943c486fa87 | [
"MIT"
] | permissive | yihui-lai/HGCalTileSim | a2b81f996faf7713c8f7fa57b974947e3335a3d5 | 9e4da5837e47d6522391a30461b54dce360f52cc | refs/heads/master | 2022-06-08T22:10:00.770306 | 2021-06-10T21:35:26 | 2021-06-10T21:35:26 | 249,848,565 | 1 | 1 | null | 2020-03-25T00:23:42 | 2020-03-25T00:23:41 | null | UTF-8 | C++ | false | false | 27,620 | cc | /**
* @file Pad1D_Plot.cc
* @brief Implementing the data plotting functions.
* @author [Yi-Mu "Enoch" Chen](https://github.com/yimuchen)
*/
#ifdef CMSSW_GIT_HASH
#include "UserUtils/Common/interface/Maths.hpp"
#include "UserUtils/Common/interface/STLUtils/StringUtils.hpp"
#include "UserUtils/MathUtils/interfa... | [
"yihui.lai@cern.ch"
] | yihui.lai@cern.ch |
4c714454474c71fe937d228d68bcb5ae6263726e | d4ab7a4da5bb2843ea4737fcc1e1e7f638bad3b3 | /CodenameSideway/Source/Buffers/VertexBufferObject.cpp | cef01405243abc49ba690ababe45f28d00bff827 | [] | no_license | SudsyCoxx/CodenameSideway | c96d3b00f434f93b5bd8c9a3a3514a93d649d12f | 8144a34c6c444aa6e5c51b88dba0d4a8f84f084f | refs/heads/master | 2021-01-19T07:54:17.879576 | 2017-08-17T03:07:18 | 2017-08-17T03:07:18 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 799 | cpp | #include "VertexBufferObject.hpp"
#include <gl/glew.h>
using namespace Buffers;
VertexBufferObject::VertexBufferObject(unsigned int BufferType)
: m_buffer(0), m_type(BufferType), m_enabled(0)
{
genBuffer();
}
VertexBufferObject::~VertexBufferObject() {
glDeleteBuffers(1, &m_buffer);
}
void VertexBufferObject::b... | [
"30988894+markclifton@users.noreply.github.com"
] | 30988894+markclifton@users.noreply.github.com |
f0b890e880070b7cc13f19d1abf7143d7b6ea47f | 1d5d650014ac3dd142965906cf2b4fdbe34afb63 | /abc132/abc132_d.cpp | 243825a901a0014afbaab0bec2986fe8af82241d | [] | no_license | tks3210/Atcoder | c1b88654762273693bd41db417811169780c0161 | 593dda88e13f703bdb3b4c3e6d795bc425e29416 | refs/heads/master | 2021-07-02T17:46:00.099867 | 2020-12-19T07:57:14 | 2020-12-19T07:57:14 | 146,293,715 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,203 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
ll calcComb(int a, int b);
ll mod = 1000000007;
ll modpow(ll a, int p);
int main(){
int N, K;
cin >> N >> K;
ll ans;
for (int i = 1; i <= K ; i++)
{
ans = calcComb(N-K+1, i);
ans %= mod;
ans *= calcComb(K... | [
"fujinaga.3210.takashi@gmail.com"
] | fujinaga.3210.takashi@gmail.com |
b2dbd1858f3f7791e6240b8de361c1df147791ea | d2fe987156fbe19832e1e6c24d8fcf4aa9472907 | /TurbulentMapleBlankBlade/processor1/2.2/vorticity | d1f5baae6cdd63ce044ee6a4449af2f1556a6120 | [] | no_license | harinik05/BASEF-2021 | d18ae164bc116d51b9b68c351b8159c2809ca63f | a83dee5d369caccbb513dad8df5023926689a71a | refs/heads/main | 2023-07-24T14:12:16.730306 | 2021-02-03T00:33:51 | 2021-02-03T00:33:51 | 323,745,817 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,393,522 | /*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1906 |
... | [
"63025647+harini-cookie@users.noreply.github.com"
] | 63025647+harini-cookie@users.noreply.github.com | |
db876be3d1d9b569e57368726ec73b0a9d3bcd7a | c14500adc5ce57e216123138e8ab55c3e9310953 | /Plugin/Annotate.cpp | 47792b14a8c5d065ad9425eba1c2b4926b478d27 | [
"LicenseRef-scancode-warranty-disclaimer",
"LGPL-2.0-or-later",
"LicenseRef-scancode-generic-exception",
"GPL-1.0-or-later",
"LicenseRef-scancode-proprietary-license",
"GPL-2.0-only",
"GPL-2.0-or-later",
"LicenseRef-scancode-other-copyleft",
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | ResonanceGroup/GMSH304 | 8c8937ed3839c9c85ab31c7dd2a37568478dc08e | a07a210131ee7db8c0ea5e22386270ceab44a816 | refs/heads/master | 2020-03-14T23:58:48.751856 | 2018-05-02T13:51:09 | 2018-05-02T13:51:09 | 131,857,142 | 0 | 1 | MIT | 2018-05-02T13:51:10 | 2018-05-02T13:47:05 | null | UTF-8 | C++ | false | false | 8,321 | cpp | // Gmsh - Copyright (C) 1997-2017 C. Geuzaine, J.-F. Remacle
//
// See the LICENSE.txt file for license information. Please report all
// bugs and problems to the public mailing list <gmsh@onelab.info>.
#include <vector>
#include "GmshConfig.h"
#include "Annotate.h"
#include "Context.h"
#if defined(HAVE_OPENGL)
#incl... | [
"=phillipmobley2@gmail.com"
] | =phillipmobley2@gmail.com |
4dc8a209feed2f7617261c04ba262888592c439b | 7e2901a8408d580bc1676a6c52a0990ef38e9528 | /corrade/src/Corrade/Containers/BigEnumSet.h | 580a567e608fd947d8ddb600462a58ce9dc8fef7 | [
"MIT",
"Unlicense",
"LicenseRef-scancode-public-domain"
] | permissive | sspike2/MagnumTest | a5aadf70a02fec6f1f45bebd980deccc5cce9d8a | b07aa0daf22978c85e352e81585e748d44c32638 | refs/heads/main | 2023-03-05T08:08:04.434333 | 2021-02-19T19:00:21 | 2021-02-19T19:00:21 | 340,454,325 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 10,696 | h | #ifndef Corrade_Containers_BigEnumSet_h
#define Corrade_Containers_BigEnumSet_h
/*
This file is part of Corrade.
Copyright © 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016,
2017, 2018, 2019, 2020, 2021
Vladimír Vondruš <mosra@centrum.cz>
Permission is hereby grant... | [
"mail.sushrut@gmail.com"
] | mail.sushrut@gmail.com |
5ad5649c89715b59fa1653c9a4ec5aa406c8cb86 | 0aca9ec0a5e9e450bf54195aeec03428762c27d2 | /src/zuwm/accumulators.h | 1e67c59dc87a2949a5f74ce0132dc9781b805377 | [
"MIT"
] | permissive | unitedworldmoney/unitedworldmoney-source | 1bc593a348376555979f00bdb8dfe13c3d2661a3 | 4229d64f48ac7c7e622595cf9ffe9a08878c9252 | refs/heads/main | 2023-07-18T06:31:02.082512 | 2021-09-06T14:26:43 | 2021-09-06T14:26:43 | 403,652,373 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,460 | h | // Copyright (c) 2017-2019 The PIVX developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef UnitedWorldMoney_ACCUMULATORS_H
#define UnitedWorldMoney_ACCUMULATORS_H
#include "libzerocoin/Accumulator.h"
#include "libze... | [
"34356906+unitedworldmoney@users.noreply.github.com"
] | 34356906+unitedworldmoney@users.noreply.github.com |
91c378890add5958059076d2edfcc975a93bfe37 | 703f48a08b9dd06907174f69fd621d4990e9aa30 | /ProcessNetRateDemo/traffic-src/TrafficSource.h | 2ad71f5a4a5b592ed4f93cc5747601445baf33d0 | [] | no_license | yhc166188/ProcessNetRateDemo | 8d11ee3ef7447ca09be73a8995e861a51c2c771c | 3a7e074c1dfa27c8fb0c61762be15d325331d093 | refs/heads/master | 2021-07-13T01:52:44.918347 | 2017-10-18T05:11:33 | 2017-10-18T05:11:33 | 107,360,967 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,668 | h | #ifndef TRAFFIC_SOURCE_H
#define TRAFFIC_SOURCE_H
#include "../utils/Packet.h"
#pragma region Protocol Headers
#pragma pack(1)
// MACv2 Header
typedef struct tagMacHeader
{
unsigned char dst[6];
unsigned char src[6];
unsigned short protocol;
} MacHeader;
/*
00 26 18 b1 cb d3 dc d2 fc 98 64 f9 88 64 ... | [
"739884701@qq.com"
] | 739884701@qq.com |
1d0f9a68a01b51dd000e7ce7bf48e2c3f27a6eba | 948f4e13af6b3014582909cc6d762606f2a43365 | /testcases/juliet_test_suite/testcases/CWE194_Unexpected_Sign_Extension/s02/CWE194_Unexpected_Sign_Extension__negative_memcpy_74b.cpp | d9cf8fd1b4bd71f3f27e5e69b8223e95f9bebac9 | [] | no_license | junxzm1990/ASAN-- | 0056a341b8537142e10373c8417f27d7825ad89b | ca96e46422407a55bed4aa551a6ad28ec1eeef4e | refs/heads/master | 2022-08-02T15:38:56.286555 | 2022-06-16T22:19:54 | 2022-06-16T22:19:54 | 408,238,453 | 74 | 13 | null | 2022-06-16T22:19:55 | 2021-09-19T21:14:59 | null | UTF-8 | C++ | false | false | 2,035 | cpp | /* TEMPLATE GENERATED TESTCASE FILE
Filename: CWE194_Unexpected_Sign_Extension__negative_memcpy_74b.cpp
Label Definition File: CWE194_Unexpected_Sign_Extension.label.xml
Template File: sources-sink-74b.tmpl.cpp
*/
/*
* @description
* CWE: 194 Unexpected Sign Extension
* BadSource: negative Set data to a fixe... | [
"yzhang0701@gmail.com"
] | yzhang0701@gmail.com |
2334bd6cba189985da5c282d8cdbc72fb4ecc5b7 | ec204c2ea3bad317692d264fb6543fd6c3e5ece1 | /Exercises_02/Es02/randomwalk.h | ca029acf29677c1b7b669d06bcabf027a4b24370 | [] | no_license | LeonardoPalchetti/LSN_LeonardoPalchetti | 37e71f7810d1f68d0a9cb6d156cd02f2ea30db91 | 3637378a1ec870c2cbdcbfb6adc4eb4ff09d0a2f | refs/heads/master | 2022-11-08T20:33:49.013381 | 2020-06-23T17:02:33 | 2020-06-23T17:02:33 | 274,459,109 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,108 | h | #ifndef __Integrale__
#define __Integrale__
#include <cmath>
#include "random.h"
#include <fstream>
#include <iostream>
using namespace std;
struct point {
double x, y, z; // cordinate punto
};
struct vector{
double r;
double theta, phi;
};
class RandomWalk {
protected:
point *_x;
int ... | [
"palchetti3@gmail.com"
] | palchetti3@gmail.com |
ab5d24362faed0e80b65c9a2c72e70e00142b50e | 777a75e6ed0934c193aece9de4421f8d8db01aac | /src/Providers/UNIXProviders/DeviceErrorData/UNIX_DeviceErrorData_STUB.hxx | b851fb2d0f667bf621b8d2575c2350a1eba7756c | [
"MIT"
] | permissive | brunolauze/openpegasus-providers-old | 20fc13958016e35dc4d87f93d1999db0eae9010a | b00f1aad575bae144b8538bf57ba5fd5582a4ec7 | refs/heads/master | 2021-01-01T20:05:44.559362 | 2014-04-30T17:50:06 | 2014-04-30T17:50:06 | 19,132,738 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 125 | hxx | #ifdef PEGASUS_OS_STUB
#ifndef __UNIX_DEVICEERRORDATA_PRIVATE_H
#define __UNIX_DEVICEERRORDATA_PRIVATE_H
#endif
#endif
| [
"brunolauze@msn.com"
] | brunolauze@msn.com |
e2f466fa6de5eea93fcba3d29259153f58382b75 | 614369bd9a9452f6b48b9c667b12daacf153d6b8 | /Dongmin/Baekjoon/삼성 기출/테트로미노/P14500.cpp | 7bb00b3e05928d1d740a5a78135d43525d3322bd | [] | no_license | minji0320/Algorithm_for_CodingTest | 339ad05a81a89b2645dfab73d7bcbc2df9775d77 | 7fc091f93693d549fa1975044f4b4ff5ee056520 | refs/heads/master | 2022-06-26T05:14:27.149435 | 2021-06-30T00:16:38 | 2021-06-30T00:16:38 | 242,951,278 | 2 | 0 | null | 2020-02-25T08:43:49 | 2020-02-25T08:43:48 | null | UTF-8 | C++ | false | false | 5,060 | cpp | #include<iostream>
#include<vector>
#include<algorithm>
using namespace std;
typedef struct Pos {
int row, col;
} Pos;
typedef struct Polyomino {
vector<Pos> positions;
} Polyomino;
int N, M;
vector<vector<int> > board;
vector<vector<Polyomino> > polyominos;
int poly_case[5] = {2, 1, 8, 4, 4};
void getInput(... | [
"pkalsh345@gmail.com"
] | pkalsh345@gmail.com |
b2741133ae3787a06d53b0d2e01a2ff3decd158a | 1c054180a367c817a9a136d9c650f302b8fd6c74 | /skipListLab/source/myAllocator/myAllocator_origin.hpp | 7b75f0b0788dcea7c8b64745a0b9c698240ff6c7 | [] | no_license | wyd-1180301005/skipListLab | 107a84e3cf2b90f1819618cca8da6b2ec8374025 | 2453a8cfc6af4482e43c019c462bc82a21cdbbfd | refs/heads/main | 2023-05-30T14:27:48.282348 | 2021-06-09T13:40:16 | 2021-06-09T13:40:16 | 373,083,448 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,057 | hpp | # ifndef MYALLOCATOR_ORIGIN_HPP
# define MYALLOCATOR_ORIGIN_HPP
# include<vector>
# include<list>
// 判断一个类型是否是reference的方法:
template<typename T>
struct is_ref_tr{static const bool is_ref_v=false;};
template<typename T>
struct is_ref_tr<T&>{static const bool is_ref_v=true;};
template <typename T>
constexpr bool is... | [
"fwz1661112233@outlook.com"
] | fwz1661112233@outlook.com |
346e9d0d7d85a4d68fed6bf6d740649abc3e17f5 | 955ef01de0d355ddced3579f9d1b26419c494bd8 | /AGT_TEMPLATE/engine/src/pch.h | 5c7f874779a07c0ec1e5661d35eaca2f698716d4 | [
"MIT"
] | permissive | Luke-Pixel/Advanced-Games-Technology-C---Project | fc76565c7ef9989364981dc8d82f7d85aee02927 | 17e210ab0e97c1a2359039c4dbf3a834c56c9598 | refs/heads/master | 2022-12-04T13:04:18.872399 | 2020-08-26T14:32:56 | 2020-08-26T14:32:56 | 290,520,511 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 540 | h | #pragma once
#include <iostream>
#include <memory>
#include <utility>
#include <algorithm>
#include <functional>
#include <string>
#include <sstream>
#include <array>
#include <vector>
#include <list>
#include <stack>
#include <map>
#include <unordered_map>
#include <unordered_set>
#include "engine... | [
"Luke1014@live.co.uk"
] | Luke1014@live.co.uk |
10c6188983942d280ffea4e6741fd5b2b71988e1 | cefd6c17774b5c94240d57adccef57d9bba4a2e9 | /WebKit/Source/WebCore/platform/graphics/glx/GLContextGLX.h | edefc04c26556aa29bf66dc45b2440017848649c | [
"BSL-1.0",
"BSD-2-Clause",
"LGPL-2.0-only",
"LGPL-2.1-only"
] | permissive | adzhou/oragle | 9c054c25b24ff0a65cb9639bafd02aac2bcdce8b | 5442d418b87d0da161429ffa5cb83777e9b38e4d | refs/heads/master | 2022-11-01T05:04:59.368831 | 2014-03-12T15:50:08 | 2014-03-12T15:50:08 | 17,238,063 | 0 | 1 | BSL-1.0 | 2022-10-18T04:23:53 | 2014-02-27T05:39:44 | C++ | UTF-8 | C++ | false | false | 2,250 | h | /*
* Copyright (C) 2012 Igalia S.L.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This libra... | [
"adzhou@hp.com"
] | adzhou@hp.com |
49b65172171a2ac99c7c09e3096697602cbb1b51 | b2857a7190c6d2c69739863d0fbe3efacfe19b6b | /engine_project/src/applications/tangram.cpp | a0f2a925491afab3fffe8f61a3570489a0fcc0b1 | [] | no_license | Zuchis/computer_graphics | 22db0c993a0f35c91462ca4359b2ef2f21ed7f01 | f113a84e35acbeae9bb7553c5fabb1f256fd5dbd | refs/heads/master | 2023-07-21T23:40:53.856951 | 2023-07-05T15:35:02 | 2023-07-05T15:35:02 | 42,215,409 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 9,440 | cpp | #include "../shaderprogram.h"
#define CAPTION "Badass Squirrel"
int WinX = 640, WinY = 480;
int WindowHandle = 0;
unsigned int FrameCount = 0;
GLuint VaoId[3], VboId[2];
GLuint squareVboId[2];
GLuint paralelVboId[2];
ShaderProgram program = ShaderProgram();
///////////////////////////////////////////... | [
"liquimaster@gmail.com"
] | liquimaster@gmail.com |
a984c3b4b7f78ad4a579a34cd972e5eca97c573f | 9fac9857fb1a674f02df4dbaa97d4c05aec1d0d4 | /src/FlatWorld/Engine/Core/Timer.cpp | 0a2b936b16871f1d9c743b3b19ba88322f8ea7dd | [] | no_license | KiraIsL/Time-Travel-Platformer | e0b7dfedd7bb61503c83fcba9e4a987b27fd3548 | b5b55b4b89f71efa170fdb56467bd0c199349252 | refs/heads/master | 2020-12-14T04:43:19.718960 | 2011-07-21T09:53:05 | 2011-07-21T09:53:05 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,264 | cpp | #include "Timer.h"
CTimer::CTimer(void)
{
Init(30.f);
}
CTimer::CTimer(float timeCount)
{
Init(timeCount);
}
void CTimer::Init(float timeCount)
{
//****************** INITIALISATIONS **************************
// Awesome accurate timings are available from the CPU
if (QueryPerformanceFrequency((LARGE_INTEGER *)... | [
"tyranicmoron@gmail.com"
] | tyranicmoron@gmail.com |
a5dcd107e4a24b02ebaa6a6c2e603eb7ad4c5353 | 7119554f4726c4c3cd46823ee695ae3e433eccc7 | /test/unittest/unittest_nntrainer_internal.cpp | ba569f50094da3348a27c2e54fadab1175509f30 | [
"Apache-2.0",
"LicenseRef-scancode-free-unknown"
] | permissive | myungjoo/nntrainer | 7fdc88cdec3e9bd12916b8892a137672bcbb0d39 | 4813b20d869b33d00a9e098d6955072858286533 | refs/heads/master | 2023-08-17T01:41:32.521247 | 2022-03-16T07:56:56 | 2022-03-20T03:32:51 | 249,907,471 | 0 | 0 | Apache-2.0 | 2020-03-25T06:52:04 | 2020-03-25T06:52:03 | null | UTF-8 | C++ | false | false | 2,816 | cpp | /**
* Copyright (C) 2020 Samsung Electronics Co., Ltd. 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 requ... | [
"jijoong.moon@samsung.com"
] | jijoong.moon@samsung.com |
55b397d53241234607d2487d7a3df7751cd72264 | c9cf0586ace11aa32fa67606d237a130a06364ee | /circular-cylinder-2-40/21.15/phi | 5a28495e48cb2c9f9d8ec75d74a635775e13ded8 | [] | no_license | jezvonek/CFD-Final-Project | c74cfa21f22545c27d97d85cf30eb6dc8c824dc1 | 7c9a7fb032d74f20888effa0a0b75b212bf899f4 | refs/heads/master | 2022-07-05T14:43:52.967657 | 2020-05-14T03:40:56 | 2020-05-14T03:40:56 | 262,370,756 | 1 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 195,265 | /*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 6.0
\\/ M anipulation |
\*-----... | [
"danieler@login3.stampede2.tacc.utexas.edu"
] | danieler@login3.stampede2.tacc.utexas.edu | |
8bf5cbf7c5c8f0edcfe365eea2ffde85286c5a13 | 2375d1860be18179b934334e9ea884fd73ee87b7 | /cpp_basic/39-bankingExample.cpp | c036a498dfb71f24b65a971f8bd09000a9b0d6bc | [] | no_license | kosan-tospa/hello-world | 28deb907a8c4759c92ebf704f5f0b024ef4738da | 776cffd7536ca932f74685eb5351b04b3ebe75ac | refs/heads/main | 2023-07-16T03:33:57.017482 | 2021-09-07T19:20:55 | 2021-09-07T19:20:55 | 404,094,914 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 7,067 | cpp | #include <iostream>
#include <fstream>
#include <cstdlib>
#include <vector>
#include <map>
using namespace std;
#define MIN_BALANCE 500
class InsufficientFunds
{
};
class Account
{
private:
long accountNumber;
string firstName;
string lastName;
float balance;
static long NextAccountNumber;
public... | [
"kosan.tospa@yandex.com"
] | kosan.tospa@yandex.com |
86a2ad164fa3130ed1c4f96f990a67d8dbc14396 | b53b561b41e8b14ecbd5d3ddd38cd740b48a6321 | /10_more_recursion/subseq.cc | d506034d13b35a5629590f7118e9c99fe87586a0 | [] | no_license | Aashutosh97/Launchpad17-Fasttrack | d53d8be33c17e7ae2bc86aac3bcf86d653c4993f | 975cd5054666404f8ed1a37885d3d5982f88af20 | refs/heads/master | 2020-03-23T03:23:16.631264 | 2018-01-21T10:32:17 | 2018-01-21T10:32:17 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 616 | cc | // Deepak Aggarwal, Coding Blocks
// deepak@codingblocks.com
#include <iostream>
#include <cstring>
using namespace std;
void printSubSeq(char s[], int be, int en, char decision[], int i) {
if (be == en) {
decision[i] = '\0';
cout << decision << endl;
return;
}
// lets fix 'a'
... | [
"daggarwal77@gmail.com"
] | daggarwal77@gmail.com |
07fba08172f0c6614cd5556ef06d22942070348e | 1d2ba792308d055713245364fcc293d1a0070d56 | /src/qt/qtipcserver.cpp | be875e760a988e21e1f957ef3fbef4bfff23c7c1 | [
"MIT"
] | permissive | mrk-9/GirlsToken | e962eabcf7539909e41701f675327ec931102340 | 9b56eb94e204b4e53ca360178088219ff6952fa2 | refs/heads/master | 2020-03-21T05:48:13.082275 | 2018-06-21T14:33:52 | 2018-06-21T14:33:52 | 138,181,578 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 4,931 | cpp | // Copyright (c) 2009-2012 The Bitcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <boost/version.hpp>
#if defined(WIN32) && BOOST_VERSION == 104900
#define BOOST_INTERPROCESS_HAS_WINDOWS_KERNEL_BOOTT... | [
"chuch@chuchs-Mac-mini.local"
] | chuch@chuchs-Mac-mini.local |
810a4960f629456b3343e341ed4a7402babda64a | 6b660cb96baa003de9e18e332b048c0f1fa67ab9 | /External/SDK/Title_GoldenBenefactor_functions.cpp | c72c8c68ef89f4e49e91634f82ab4eb65b4fefb1 | [] | no_license | zanzo420/zSoT-SDK | 1edbff62b3e12695ecf3969537a6d2631a0ff36f | 5e581eb0400061f6e5f93b3affd95001f62d4f7c | refs/heads/main | 2022-07-30T03:35:51.225374 | 2021-07-07T01:07:20 | 2021-07-07T01:07:20 | 383,634,601 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 550 | cpp | // Name: SoT, Version: 2.2.0.2
#include "../pch.h"
/*!!DEFINE!!*/
/*!!HELPER_DEF!!*/
/*!!HELPER_INC!!*/
#ifdef _MSC_VER
#pragma pack(push, 0x01)
#endif
namespace CG
{
//---------------------------------------------------------------------------
// Functions
//----------------------------------------------------... | [
"Massimo.linker@gmail.com"
] | Massimo.linker@gmail.com |
31b78aaa4ebdb447da5f44eacef5c2a0d9d5abd0 | 94bdb1c4e90fe1e223edc2ac131ee244d1587d12 | /Info_system/Info_system.ino | 5b5b25c97975c74f7a59ad1b3d6aba36ca10560d | [] | no_license | avinesh2101/Arduino-Codes- | 690c5807dfb2a410492c26480dbfb7f233e622f0 | fd26d050f64a17fe482565bd453bff58ce41d598 | refs/heads/main | 2023-08-23T17:38:32.509831 | 2021-10-31T18:18:33 | 2021-10-31T18:18:33 | 410,845,919 | 4 | 2 | null | 2021-10-31T18:27:43 | 2021-09-27T10:51:27 | C | UTF-8 | C++ | false | false | 2,463 | ino | /*SubarnaDas For Hacktoberfest2021 */
#include <Wire.h>
#include <DS3231.h> //Library for the rtc-module from RinkyDinkElectronics.com
#include <LiquidCrystal_I2C.h>
#include <DHT.h>
#define DHTPIN 2 //Temperature sensor is connected to PIN 2
#define DHTTYPE DHT22 // Type of the sensor is DHT22 (AM2302)
DS3231 r... | [
"emailtosubarna@gmail.com"
] | emailtosubarna@gmail.com |
a1916bb986e7f8937a5bb46ce7b328311abd3f2e | 09106a153473f7486f122e63c02a944fc721eb65 | /thread/base_thread/destruct_thread.cpp | cded049f00788a06bcd1ef83528de784741e2757 | [] | no_license | gripex90088/cpp_example | 9f6ee09d6b0068ece38a62c24e52691dd9f7b068 | ddd3f1ac635feb608738e1c90c10e4f3790dd60f | refs/heads/master | 2020-12-10T23:48:06.309404 | 2020-04-02T08:30:22 | 2020-04-02T08:30:22 | 233,744,109 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 266 | cpp | /*
* destruct_thread.cpp
*
* Created on: Jul 19, 2019
* Author: xuxing
*/
/*
* 竟态条件 (race condition)
* 当一个对象能被多个线程同时看到时,那么对象的销毁时机会变的模糊不清,可能出现各种竟态条件
*/
| [
"1355039189@qq.com"
] | 1355039189@qq.com |
e71e4c2e5dcf32cfd597d1418e84d50539ce4b91 | c9388727c6b56e1becd3ae4b3d76238451c6d38c | /1055B/alice-and-hairdresser.cpp | 33046ecf7f3f9ad044e1efc6c8fe337869d77c04 | [] | no_license | kantuni/Codeforces | f7a3f0e37f8ed71a4ca4f1f4b013e5dc2b418f18 | 27914156928b325edd02c1c607f36c1dc4b53b76 | refs/heads/master | 2023-08-17T10:59:29.562753 | 2023-08-14T14:51:56 | 2023-08-14T14:51:56 | 81,014,157 | 202 | 79 | null | 2021-05-11T09:26:54 | 2017-02-05T18:52:25 | C++ | UTF-8 | C++ | false | false | 843 | cpp | #include <bits/stdc++.h>
using namespace std;
int main() {
int n, m, l;
cin >> n >> m >> l;
vector<long long> a(n + 2);
for (int i = 1; i <= n; i++) {
cin >> a[i];
}
long long ans = 0;
bool same = false;
for (int i = 1; i <= n; i++) {
if (!same and a[i] > l) {
same = true;
ans++;
... | [
"henrikh.kantuni@gmail.com"
] | henrikh.kantuni@gmail.com |
cd9a7526834a107b6ebfc308e9aa7e68e0139e5c | 778be864c82aa7c5397f140df31bd937f2fd123b | /tests/srhd_sim/isentropic_flow_2nd_ord/test.cpp | 1cd09c2ba70f2a540e5a27551f5386665a1d29ae | [
"MIT"
] | permissive | bolverk/fujin | 728cc75f8e27e1b881ec3f1f7393297479be03bd | 53d28f330b9e81eadb8be51c0c102b47bc02483c | refs/heads/master | 2021-06-02T20:33:28.992081 | 2021-03-30T15:37:16 | 2021-03-30T15:37:16 | 95,355,983 | 2 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 4,326 | cpp | /*
Isentropic flow - verifies the Riemann invariant are properly advected
See following article for more detail
W. Zhang & A. I. MacFadyen
"RAM: A Relativistic Adaptive mesh refinement Hydrodynamics Code"
Astrophys. Journ. Supp. Ser. 164:255-279 (2006)
*/
#include <iostream>
#include <fstream>
#include <vect... | [
"almog.yalin@gmail.com"
] | almog.yalin@gmail.com |
b9cd07aedacf0adf7985e78a1092ea4f6e01980c | e65a4dbfbfb0e54e59787ba7741efee12f7687f3 | /net-im/sayaka/files/patch-src_UString.cpp | d0280d03a2f15eb404104f3f708cdcc8de8fb7b8 | [
"BSD-2-Clause"
] | permissive | freebsd/freebsd-ports | 86f2e89d43913412c4f6b2be3e255bc0945eac12 | 605a2983f245ac63f5420e023e7dce56898ad801 | refs/heads/main | 2023-08-30T21:46:28.720924 | 2023-08-30T19:33:44 | 2023-08-30T19:33:44 | 1,803,961 | 916 | 918 | NOASSERTION | 2023-09-08T04:06:26 | 2011-05-26T11:15:35 | null | UTF-8 | C++ | false | false | 260 | cpp | --- src/UString.cpp.orig 2021-03-18 09:51:03 UTC
+++ src/UString.cpp
@@ -25,6 +25,7 @@
#include "UString.h"
#include <array>
+#include <cerrno>
#include <cstring>
// 出力文字コードが UTF-8 以外 (iconv による変換が必要) なら true。
| [
"danfe@FreeBSD.org"
] | danfe@FreeBSD.org |
f9df8b02af5d57070407b98d9ce8e0f74275d070 | 09a97f23f59c74b620f0eb87dd8fd6aed68ab9ed | /Data Structures/Range Minimum Query/RMQ.cpp | 67c5cd4388e176520c276beb3d44ffc358bff221 | [] | no_license | dragan224/Algorithms | a94dc63652d0223787d3d8780957bb17aa696b6c | 47d10bfdec0a07e941c43fedbeba8b3f7dbabc19 | refs/heads/master | 2020-05-19T17:46:11.171288 | 2014-02-17T14:57:26 | 2014-02-17T14:57:26 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 802 | cpp | #include <iostream>
#include <cstdio>
#include <cmath>
using namespace std;
const int maxN = 100224;
const int maxLog = 18;
struct RMQ {
int table[maxN][maxLog];
void build(int arr[], int n) {
for (int i = 0; i < n; i++) {
table[i][0] = arr[i];
}
for (int k = 1; k < maxLog;... | [
"dmarkovic13@raf.edu.rs"
] | dmarkovic13@raf.edu.rs |
e93989406fd999ca9fc8a34cc1e7ed90723366eb | 014109f0c01f6b11f3a874f81f6251a25873616e | /JUCE Synth/Audio Plug-in Synth/Source/SynthVoice.h | c577d50ad88d80839b22022fdb0fe2e16e1d7699 | [] | no_license | succculent/resynth | d73fc49af4054e955784c9c47140c31bbedf7568 | 750429797867f8d441961897a98a4e0b8184a653 | refs/heads/master | 2020-12-19T09:56:44.970626 | 2020-06-12T22:09:40 | 2020-06-12T22:09:40 | 235,700,925 | 3 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,261 | h | /*
==============================================================================
SynthVoice.h
Created: 26 May 2020 4:58:33pm
Author: Lorand Cheng
==============================================================================
*/
#pragma once
#include <JuceHeader.h>
#include "SynthSound.h... | [
"lfcheng@usc.edu"
] | lfcheng@usc.edu |
bbd821adbc247c093dbfa58115eb1dad5e059600 | a65c77b44164b2c69dfe4bfa2772d18ae8e0cce2 | /0contest/CF_100864/pJ.cpp | e5ce1aad1e03379bacff7bb77484613e7435316b | [] | no_license | dl8sd11/online-judge | 553422b55080e49e6bd9b38834ccf1076fb95395 | 5ef8e3c5390e54381683f62f88d03629e1355d1d | refs/heads/master | 2021-12-22T15:13:34.279988 | 2021-12-13T06:45:49 | 2021-12-13T06:45:49 | 111,268,306 | 1 | 6 | null | null | null | null | UTF-8 | C++ | false | false | 4,630 | cpp | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<int, int> pii;
typedef pair<ll, ll> pll;
typedef pair<int, ll> pil;
typedef pair<ll, int> pli;
typedef pair<double, double> pdd;
#define SQ(i) ((i)*(i))
#define MEM(a, b) memset(a, (b), sizeof(a))
#define SZ(i) static_cast<int>(i.size())
#... | [
"tmd910607@gmail.com"
] | tmd910607@gmail.com |
20410b069efa600949182194315d5f80bddd7dcc | aa924bbb174676c00dfef9b976790a01506bd37e | /Sources/NodeEngine/NE_OrderedMap.hpp | 178c764695c698cb113079b8b03ed753cb9d3481 | [
"MIT"
] | permissive | kovacsv/VisualScriptEngine | 5b3b8b7b6999082b0f916034a83d6e9675510ed6 | 185a451e2391fbff0bb4dd5929e8634517382c4e | refs/heads/master | 2023-03-15T19:00:48.535709 | 2021-12-17T15:47:51 | 2021-12-17T15:47:51 | 113,492,822 | 156 | 32 | MIT | 2023-02-24T16:07:36 | 2017-12-07T19:57:56 | C++ | UTF-8 | C++ | false | false | 5,884 | hpp | #ifndef NE_ORDEREDMAP_HPP
#define NE_ORDEREDMAP_HPP
#include "NE_Debug.hpp"
#include <utility>
#include <list>
#include <unordered_map>
#include <functional>
#include <algorithm>
namespace NE
{
template <typename Key, typename Value>
class OrderedMap
{
public:
OrderedMap ();
OrderedMap (const OrderedMap& rhs);
O... | [
"viktorkovacs@gmail.com"
] | viktorkovacs@gmail.com |
7cbe5da861b01c38eb081fa3c4cb8dc58cad5336 | 07e7f955514da0fbaf5e5df457055a85ee9b6e18 | /RtspWriteToFile/CRtspRecorder.cpp | 401330dea991fa3ef6cc759b9247dcbf32848f90 | [] | no_license | lineCode/FFmpegTest | 2d1f9a2907805750fdc3eb178868d98b5642552d | cc67a17994a90101b1214f7692fea7a7de1ffb86 | refs/heads/master | 2021-01-09T19:55:46.629592 | 2018-08-29T08:10:31 | 2018-08-29T08:10:31 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,106 | cpp | #include "CRtspRecorder.h"
CRtspRecorder::CRtspRecorder(PCHAR input_url, PCHAR output_file)
: CBaseRtsp(input_url)
{
_output_file = output_file;
}
CRtspRecorder::~CRtspRecorder()
{
}
BOOL CRtspRecorder::Start()
{
bool verbose = false;
VSInput* input = open_input("rtsp", _input_url, verbose);
VSOutput* output ... | [
"prohoroven83@mail.ru"
] | prohoroven83@mail.ru |
6d272e137888a592913b47f120422d7f7cadc9a9 | b269392cc4727b226e15b3f08e9efb41a7f4b048 | /CodeForces/CodeForces 1213B.cpp | 4eac27dcd5cfafc5c03ba1d0e17ed79681b09847 | [] | no_license | ThoseBygones/ACM_Code | edbc31b95077e75d3b17277d843cc24b6223cc0c | 2e8afd599b8065ae52b925653f6ea79c51a1818f | refs/heads/master | 2022-11-12T08:23:55.232349 | 2022-10-30T14:17:23 | 2022-10-30T14:17:23 | 91,112,483 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,799 | cpp | /*
********************************************************************************
* Author: ThoseBygones
* Version: V1.0
* Date: 2020-01-01
* Subject: ACM-ICPC
* Language: C/C++11
* OJ: CodeForces
* Algorithm:
********************************************************************************
* Algo-De... | [
"1273789365@qq.com"
] | 1273789365@qq.com |
ea19803b4dfd8adc021e085dbf52ae13cdcd7aca | 2e422acfa15846823bb4105c312f301e9cb2a740 | /Roottest/JunoARCon/include/NeutrinoSepctrum.hh | 96f33061096b8e15c592ba91ce2446a60d8eb15c | [] | no_license | Jinnan-Zhang/CodeEx | 2443f37b56c5ceef83b3c5729b33b2eb7bcaed95 | 32fdea95b4bb0266d38c435cb2c08ba2f0c4a1dd | refs/heads/master | 2022-05-02T06:12:33.978802 | 2022-03-25T02:37:42 | 2022-03-25T02:37:42 | 220,944,459 | 0 | 3 | null | null | null | null | UTF-8 | C++ | false | false | 1,515 | hh | #ifndef NeutrinoSpectrum_hh
#define NeutrinoSepctrum_hh
#include <TF1.h>
class TF1;
class NeutrinoSpectrum
{
public:
NeutrinoSpectrum();
~NeutrinoSpectrum();
//void SetEnergyResolution(double E_Re){Energy_resolution=E_Re;}
void SetProtonMassRatio(double ra){MassRatioOfPro... | [
"zhangjinnan14@ucas.edu.cn"
] | zhangjinnan14@ucas.edu.cn |
6667e044b326c474cf97624e73f923e7b8675a9a | bb5474b59b5fc0be8bcc3f02ac5b29b54f025c1e | /referlib/server.cpp | f5b9210c5257e684d0d8f421bab507e23380068a | [] | no_license | suzuren/gamelearning | 15165185388b62c14b8e9e64019a8d6d891e5e84 | 317036868ad85177f8658bf71e8dbad7131e98cb | refs/heads/master | 2021-05-10T11:02:29.467047 | 2021-01-29T09:15:32 | 2021-01-29T09:15:32 | 118,399,936 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,832 | cpp | #include <functional>
#include <string>
#include <map>
#include <stdlib.h>
#include <stdio.h>
#include <assert.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/file.h>
#include <signal.h>
#include <errno.h>
#include <ctype.h>
#include <syslog.h>
#include <sys/stat.h>
#include <sys/socket.h>
#include <sys/ep... | [
"root@sucer.pc"
] | root@sucer.pc |
e90233c2eeceba2c30ac20593f8062a160d3f672 | db664039f507f8625cd4d34b405918613eadde4a | /battletank/Source/Battletank/Private/Aprojectile.cpp | 7c6d2197c334420d008c9b88ed74aaf3653374ee | [] | no_license | subramanian252/battletank | d0316ef8867b5f065c458dcae62a303f105601e3 | b8162f020e938358b7c170edb500680f811726f8 | refs/heads/master | 2020-07-21T22:18:34.887933 | 2019-09-07T15:55:07 | 2019-09-07T15:55:07 | 202,686,097 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,369 | cpp | // Fill out your copyright notice in the Description page of Project Settings.
#include "Aprojectile.h"
// Sets default values
AAprojectile::AAprojectile()
{
// Set this actor to call Tick() every frame. You can turn this off to improve performance if you don't need it.
PrimaryActorTick.bCanEverTick = true;
Co... | [
"suryasubramanian252@gmail.com"
] | suryasubramanian252@gmail.com |
b673021f8d405efca70298e78a487706876db2fb | b19a7758ecdb1d6db61d5f5698925f868fe06f1e | /test/price/provider/pixie/messages/ack_message_test.cpp | 60e3775ca22551a7a1afe2a102f9cac9885d8cfb | [
"Apache-2.0"
] | permissive | bidfx/bidfx-api-cpp | c531d595e711b891b17c7796fe116cacb8fc3095 | 3d938c9f61057033612a869a9c530392991dca0b | refs/heads/master | 2023-08-31T15:37:02.503457 | 2023-08-24T16:36:57 | 2023-08-24T16:36:57 | 207,352,970 | 5 | 2 | null | 2023-09-14T15:45:55 | 2019-09-09T16:21:43 | C++ | UTF-8 | C++ | false | false | 2,234 | cpp | /** Copyright 2019 BidFX
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 agreed to in w... | [
"Liam.Asman@tradingscreen.com"
] | Liam.Asman@tradingscreen.com |
4481b8d9fa8144d4975033a988364cd12e1c3e78 | 88c2d0c1cec0f6da396ca7c28ba1395eda45e20d | /src/CobremsGeneration.hh | 8568963307c1d93a0349033d0bf90c243605a05d | [] | no_license | JeffersonLab/HDGeant4 | 9b51d8dbbbc8156cc1c07ef1c3e65c47f5725473 | e4c3b03164d4640a4e27ca1e31ed923a7f7e276a | refs/heads/master | 2023-05-06T12:43:29.490835 | 2023-02-27T23:02:48 | 2023-02-27T23:02:48 | 82,930,986 | 3 | 5 | null | 2022-04-12T15:12:35 | 2017-02-23T13:42:10 | C++ | UTF-8 | C++ | false | false | 9,832 | hh | //
// CobremsGeneration class header
//
// author: richard.t.jones at uconn.edu
// version: july 27, 2015
//
// notes:
//
// This class computes differential rates and polarization factors
// for coherent bremsstrahlung by an electron beam passing through
// a crystal radiator. A beamline geometry similar to that in Ha... | [
"rjones30@gmail.com"
] | rjones30@gmail.com |
e9bb57a17485fa4fb89827c24e6eca2fd9007c5d | 50b7980236b960b133c91c6d653fb334d904252c | /SDK/BP_BaseProgressActor_functions.cpp | 86af9f045c264f39e848e25613664be61dad2921 | [] | no_license | wyverns1/mordhau_sdk | c5fa2978203f6c3d405a011c06c39274f52549d1 | 43693f2102efc684c1d27fb5b4a0abfa67c1f596 | refs/heads/master | 2020-06-04T00:55:40.096978 | 2019-06-13T17:12:36 | 2019-06-13T17:12:36 | 191,802,239 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,318 | cpp | // Name: MORDHAU, Version: 1.0.0
#ifdef _MSC_VER
#pragma pack(push, 0x8)
#endif
#include "../SDK.h"
namespace SDK
{
//---------------------------------------------------------------------------
// Functions
//---------------------------------------------------------------------------
// Function BP_BaseProgressAct... | [
"jay50@pitt.edu"
] | jay50@pitt.edu |
a11dfec0e65906d0ea33f01862f70b83609e8fac | c0826c9e991ab8ff35d4a6baf3a0bd49131e8395 | /UserEvent.pb.cc | c82c30b164a1bcb3c8b43c8592138e23df520c33 | [
"MIT"
] | permissive | GregoryHlavac/GameAnalyticsPP | 0f74c217e917693941e4c1d68cba95e07eb7d073 | 93f6673af68c071a84be78ef663455d5aee38528 | refs/heads/master | 2020-06-13T04:56:43.029211 | 2014-03-01T20:25:21 | 2014-03-01T20:25:21 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | true | 18,125 | cc | #include "stdafx.h"
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: UserEvent.proto
#define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
#include "UserEvent.pb.h"
#include <algorithm>
#include <google/protobuf/stubs/common.h>
#include <google/protobuf/stubs/once.h>
#include <google/protobuf/io... | [
"ghlavac@gmail.com"
] | ghlavac@gmail.com |
11dc6468d5b76e2391c80af5ebba1d7a0a2d1325 | de04af1d7243363169abdc7ca050b2c1a21fbe19 | /leetcode/include/unique_binary.h | b7a66c7a4da5e413395ed183effb85939319e42e | [] | no_license | deare1300/algs | 9ae5c0a3e94669082efb8cc806851bd033500de3 | a9012b8bb1283d1078cafee8a30bb7383ba1c0a9 | refs/heads/master | 2020-11-26T21:11:01.274702 | 2014-09-22T09:59:38 | 2014-09-22T09:59:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 245 | h | #ifndef UNIQUE_BINARY_H
#define UNIQUE_BINARY_H
class Unique_Binary
{
public:
Unique_Binary();
virtual ~Unique_Binary();
int numTrees(int n);
protected:
private:
};
#endif // UNIQUE_BINARY_H
| [
"deare1300@163.com"
] | deare1300@163.com |
d1aea3b2b6cf24abcfb8437c7365349568ba535b | ac1c9fbc1f1019efb19d0a8f3a088e8889f1e83c | /out/release/gen/third_party/blink/renderer/modules/webtransport/stream_abort_info.h | 8a3a0b4961e0dfd459e5b9ea426ecd9ce7b394a2 | [
"BSD-3-Clause"
] | permissive | xueqiya/chromium_src | 5d20b4d3a2a0251c063a7fb9952195cda6d29e34 | d4aa7a8f0e07cfaa448fcad8c12b29242a615103 | refs/heads/main | 2022-07-30T03:15:14.818330 | 2021-01-16T16:47:22 | 2021-01-16T16:47:22 | 330,115,551 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,592 | h | // Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// This file has been auto-generated from the Jinja2 template
// third_party/blink/renderer/bindings/templates/dictionary_impl.h.tmpl
// by the script cod... | [
"xueqi@zjmedia.net"
] | xueqi@zjmedia.net |
1c22a5d09fb01cf7d7f306834f6487ffc8e9e2b9 | d66a5bf33253c8eb0e2b9648b52f1a45449a250c | /과제/1주차/boj_1477.cpp | cffa1062f2ec7af6d13abb99766f015cf5fb020e | [] | no_license | mrgentle1/koss_algorithm | 391205de364f2a73570ae3b1ecd65837a18d3e89 | e4ed69e096d68687682bb1fe44fd381392226b8e | refs/heads/main | 2023-06-27T21:09:06.504749 | 2021-08-07T07:05:53 | 2021-08-07T07:05:53 | 386,637,985 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 637 | cpp | #include <bits/stdc++.h>
using namespace std;
void solution(){
int n, m, l;
int ans;
cin >> n >> m >> l;
vector<int> v(n);
for(auto& i : v)
cin >> i;
v.push_back(0);
v.push_back(l);
sort(v.begin(), v.end());
int low = 0;
int high = l;
while (low <= high){
int cnt = 0;
int mid = (low+high)/2;
... | [
"59019322+mrgentle1@users.noreply.github.com"
] | 59019322+mrgentle1@users.noreply.github.com |
f63895c87ebdfb471c75adde625e33d1c74c20b7 | e393488a5829a15c03e97c67d465514191ec001d | /app/view/CTableView.cpp | b09bda336db52ff82d36fb42b0ce971a508b02ed | [
"MIT",
"CC-BY-3.0"
] | permissive | katecpp/sheep_sweeper | 95234eabb1dd21015b8dfd0909dc7d97f54c948e | aa2fa8262f09460fc4b5ceb45174fec315fd6460 | refs/heads/master | 2021-01-10T08:51:02.759454 | 2016-10-12T09:31:33 | 2016-10-12T09:31:33 | 47,219,635 | 4 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,981 | cpp | #include <view/CTableView.h>
#include <view/CActiveDelegate.h>
#include <QHeaderView>
namespace SSw
{
CTableView::CTableView(QWidget *parent)
: QTableView(parent),
m_activeDelegate(),
m_inactiveDelegate()
{
setShowGrid(false);
horizontalHeader()->hide();
verticalHeader()->hid... | [
"kasia.macias@gmail.com"
] | kasia.macias@gmail.com |
f9bd2689f9057d7e2262980da120172293295ef5 | 3c8cf4de6c08e21b2c10094ef20488e93d7a34be | /TktkGameProcessDirectX11AppendLib/TktkAppendDirectX11ComponentLib/inc/TktkDirectX11Wrapper/Input/Mouse/Mouse.h | fdc8132fa81866f61d98207bc56e254dbfc5ca32 | [] | no_license | tktk2104/TktkLib | 07762028c8a3a7378d7e82be8f1ed8c6a0cdc97c | 2af549bfb8448ace9f9fee6c2225ea7d2e6329b8 | refs/heads/master | 2022-11-30T12:26:33.290941 | 2020-08-11T17:50:14 | 2020-08-11T17:50:14 | 213,307,835 | 0 | 0 | null | null | null | null | SHIFT_JIS | C++ | false | false | 522 | h | #ifndef MOUSE_H_
#define MOUSE_H_
#include <TktkMath/Vector2.h>
#include "MouseButtonType.h"
namespace tktk
{
// 「MouseManager」の実装の一部を隠すためのクラス
class Mouse
{
public:
// 指定のボタンが押されているかを判定
static bool isPush(MouseButtonType button);
// 指定のボタンが押され始めたかを判定
static bool isTrigger(MouseButtonType button);
// ... | [
"taka.lalpedhuez@2104.gmail.com"
] | taka.lalpedhuez@2104.gmail.com |
0bd2fb46ab1d4d7b6e46d541bddd7fc4d1f311a4 | cdfde37ecd614fdb41e9306f9b90e14a664cea99 | /src/qt/overviewpage.cpp | 4735af28eba7df06e6730ae7104cd7b9c0079a29 | [
"MIT"
] | permissive | digital50/PIVX-master-test-mod | 12b0fd08c5ded9ff0978b20bf64395142d18ea69 | 57b70194b5c1277b87b537c2b92af4b597cf0224 | refs/heads/master | 2021-04-29T23:32:44.394988 | 2018-02-14T23:56:04 | 2018-02-14T23:56:04 | 121,557,911 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 19,486 | cpp | // Copyright (c) 2011-2014 The Bitcoin developers
// Copyright (c) 2014-2015 The Dash developers
// Copyright (c) 2015-2017 The GoCoinMe developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "overviewpage.h"
#i... | [
"35665802+digital50@users.noreply.github.com"
] | 35665802+digital50@users.noreply.github.com |
90db4aeb269f1a1624ad48ae6d515925050110e2 | 8331c69d0ae0fb9ea038b5b8a517d66a2d94aaf4 | /src/menu/ResultsMenu.cpp | 60cbb6d212d21e104d705ef5bbeccd1f9ca4a495 | [] | no_license | amng/TCPDumpParser | 228079a9a73e34f1046fe166d95076e1a2e07a13 | 8413ab11bfdacc4a0a2d3155b1cf0da3a0121871 | refs/heads/master | 2022-09-20T13:05:44.903503 | 2020-05-28T12:51:33 | 2020-05-28T12:51:33 | 267,587,791 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,001 | cpp | #include <ios>
#include <iomanip>
#include <algorithm>
#include "../../include/menu/MenusManager.hpp"
#include "../../include/menu/ResultsMenu.hpp"
ResultsMenu::ResultsMenu()
{
rebuildMenu();
}
static const std::string WHITE_SQUARE = "\u25AD";
void ResultsMenu::rebuildMenu()
{
this->MultiChoiceMenu::rebuil... | [
"arturngomes@gmail.com"
] | arturngomes@gmail.com |
306e902d10c88d4f41000785f7c46cbd5ffc7a68 | 62664aed311b6f1e67895893ebbfc36d186f7053 | /Modules/Simul/cpp/pdb_parser/pdb_input_parser.cpp | b67450c5f73a69386003d16cd4f3b26694e69f47 | [] | no_license | mdobrychlop/pyry3d | 0a9c332a530c11f1cdd891d379253d92f8d44cba | 44ea539179e41545fbbf5c38f515e377934dbd67 | refs/heads/master | 2021-05-08T00:36:11.839372 | 2017-10-20T13:40:13 | 2017-10-20T13:40:13 | 107,682,963 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,151 | cpp | #include <iostream>
#include <stdio.h>
#include <string>
#include <algorithm>
#include <cstring>
#include <sstream>
#include <vector>
#include "pdb_string_parser.hpp"
pdb_line::pdb_line(
std::string record_name,
std::string atom_ids,
std::string atom_name,
std::string residue_name,
std::string chain_identifiers,
... | [
"mateusz.dobrychlop@gmail.com"
] | mateusz.dobrychlop@gmail.com |
e2110add1541b8db49b9df661784a86a1011d604 | 4a294ae9ab5c62798b74d1a2ccc75624665296b3 | /cpp/Debug/Generated Files/winrt/impl/Windows.Security.Authentication.Web.Provider.0.h | a67438b0a47e8f7a15355e62112c9cf24f20c20f | [] | no_license | dtakeda/w32-winrt-test | d204a8fb28d1a4ceadf8ab8448b6cae2350a1579 | e70bf485ddc44d9389ed025a80fe65b4ec736bb6 | refs/heads/main | 2023-01-02T15:18:33.151156 | 2020-10-20T01:58:51 | 2020-10-20T01:58:51 | 305,547,430 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 58,402 | h | // WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.201008.2
#ifndef WINRT_Windows_Security_Authentication_Web_Provider_0_H
#define WINRT_Windows_Security_Authentication_Web_Provider_0_H
WINRT_EXPORT namespace winrt::Windows::Foundation
{
struct IAsyncAction;
template <typename TResult>... | [
"dtakeda@yamaha.com"
] | dtakeda@yamaha.com |
4a450a552beacd7554af282762f66775cb0d2f26 | 87aba51b1f708b47d78b5c4180baf731d752e26d | /Replication/DataFileSystem/PRODUCT_SOURCE_CODE/chromium/cc/CCAppendQuadsData.h | 2a199672d707c1a4971d39673dea27d82d2ff322 | [] | no_license | jstavr/Architecture-Relation-Evaluator | 12c225941e9a4942e83eb6d78f778c3cf5275363 | c63c056ee6737a3d90fac628f2bc50b85c6bd0dc | refs/heads/master | 2020-12-31T05:10:08.774893 | 2016-05-14T16:09:40 | 2016-05-14T16:09:40 | 58,766,508 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 572 | h | // Copyright 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CCAppendQuadsData_h
#define CCAppendQuadsData_h
namespace cc {
struct CCAppendQuadsData {
CCAppendQuadsData()
: hadOcclusionFromOuts... | [
"jstavr2@gmail.com"
] | jstavr2@gmail.com |
ea3c55553ab7de5bc5e03f2194970c223d2d170d | d0c44dd3da2ef8c0ff835982a437946cbf4d2940 | /cmake-build-debug/programs_tiling/function14721/function14721_schedule_26/function14721_schedule_26.cpp | da3afa5ed284ff7d94f2d0a3dc89fcd37fc828df | [] | no_license | IsraMekki/tiramisu_code_generator | 8b3f1d63cff62ba9f5242c019058d5a3119184a3 | 5a259d8e244af452e5301126683fa4320c2047a3 | refs/heads/master | 2020-04-29T17:27:57.987172 | 2019-04-23T16:50:32 | 2019-04-23T16:50:32 | 176,297,755 | 1 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 1,550 | cpp | #include <tiramisu/tiramisu.h>
using namespace tiramisu;
int main(int argc, char **argv){
tiramisu::init("function14721_schedule_26");
constant c0("c0", 128), c1("c1", 64), c2("c2", 64), c3("c3", 128);
var i0("i0", 0, c0), i1("i1", 0, c1), i2("i2", 0, c2), i3("i3", 0, c3), i01("i01"), i02("i02"), i03("i... | [
"ei_mekki@esi.dz"
] | ei_mekki@esi.dz |
bb984b49adabf7084cede86d0d7c7989186ae69f | c39a642616f50bed60c2afa0c197c41bc7d53b57 | /demoFlightDisplays1/SpdLines.cpp | 74105e558790079b299479b1caa99933ac6931ef | [] | no_license | wangfeilong321/OpenEaaglesExamples | e1dc23ec38837ea137cd6c41c95e1192fa6fc2c5 | e2ca52aadd0c4b991ab16aa9891935e5f1f8e5ff | refs/heads/master | 2020-12-24T12:00:49.712347 | 2016-06-14T19:46:30 | 2016-06-14T19:46:30 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,087 | cpp |
#include "SpdLines.h"
#include "openeaagles/base/Number.h"
#include <GL/glu.h>
using namespace oe;
IMPLEMENT_SUBCLASS(SpdLines, "SpdLines")
EMPTY_SERIALIZER(SpdLines)
EMPTY_DELETEDATA(SpdLines)
BEGIN_SLOTTABLE(SpdLines)
"isAlt", // draw for the altitude scale (instead of making a new cl... | [
"doug@openeaagles.org"
] | doug@openeaagles.org |
c4f5cc9ff5044d0274938134c111ef723026fd38 | 6612c256537ad20c7cb9bbb4ca8f881cd77908ab | /src/Moj_1/TouchGFX/generated/images/src/button_up_pressed.cpp | 9c75cec280f9e48998fe0519d837f027a9a3f43c | [] | no_license | SzymonKwiecinski/Implementation-of-the-HMI-panel-on-a-discovery-kit-containing-a-STM32-microcontroller | 14abb0d177cced04e9c4d780f03e25bab64e238d | ca695bbe32fe6549da07a3cd7255789b32eeb92b | refs/heads/main | 2023-08-29T09:03:46.784748 | 2021-10-17T11:45:12 | 2021-10-17T11:45:12 | 315,503,458 | 0 | 0 | null | 2021-10-17T11:35:57 | 2020-11-24T03:04:07 | C | UTF-8 | C++ | false | false | 177,072 | cpp | // -alpha_dither yes -dither 2 -non_opaque_image_format ARGB8888 -opaque_image_format RGB565 0x7a0b671d
// Generated by imageconverter. Please, do not edit!
#include <touchgfx/hal/Config.hpp>
LOCATION_EXTFLASH_PRAGMA
KEEP extern const unsigned char _button_up_pressed[] LOCATION_EXTFLASH_ATTRIBUTE = // 130x56 ARGB88... | [
"kwiecinskji@gmail.com"
] | kwiecinskji@gmail.com |
0c681f432a7fa6246777120802e2015817955b3b | 30e5500d92004cb7f50ce9c6e07345f2eeb0a190 | /Set05/ques6.cpp | aeac044c89827c4a8cb63a99ce4775f3c0b480e3 | [] | no_license | pranavkutty/CS-CP | 49dbe84017c6e06f44cbef92bd5387decb951343 | 9925a4dcfb69101331ec64c3f11e572fe2447086 | refs/heads/master | 2023-08-21T20:04:20.568699 | 2021-09-16T14:26:00 | 2021-09-16T14:26:00 | 379,631,574 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,105 | cpp | // merge k sorted linked lists
// https://leetcode.com/problems/merge-k-sorted-lists/
ListNode* mergeTwoLists(ListNode* l1, ListNode* l2) {
if(l1==NULL)
return l2;
if(l2==NULL)
return l1;
ListNode* l3;
if(l1->val<=l2->val){
l3 = l1;
l1 = l1->next;
}
else... | [
"pranavkutty13@gmail.com"
] | pranavkutty13@gmail.com |
cdb0f7f2a4849a00859541df8c5f0f9822239266 | 359614ba9ed7605ca3f49d7be1a9691984ca00df | /ExperimentImg/MatCImage.cpp | 1cb66df067f91d822dceaa4e5e6e54c7504ea532 | [
"Apache-2.0"
] | permissive | scgakki/CV-Experimental | f6f524c2fec12ded158431d76e0932b2d77b0317 | abb7ebd9fa4e20746e55ead839fd41d8f434f2d7 | refs/heads/master | 2021-05-19T04:17:51.161688 | 2020-04-12T12:33:59 | 2020-04-12T12:33:59 | 251,524,711 | 0 | 0 | null | null | null | null | GB18030 | C++ | false | false | 5,801 | cpp | #include "stdafx.h"
#include "pch.h"
#include "MatCImage.h"
// 实现cv::Mat 结构到 CImage结构的转化
void MatCImage::MatToCImage(Mat& mat, CImage& cimage)
{
if (0 == mat.total())
{
return;
}
int nChannels = mat.channels();
if ((1 != nChannels) && (3 != nChannels))
{
return;
}
int nWidth = mat.cols;
int nHeight = ... | [
"36230930+scgakki@users.noreply.github.com"
] | 36230930+scgakki@users.noreply.github.com |
1d4d2545f4e9d8750f178fea2bbe0764f3160d11 | e5614c36fd324f2e214ff05aaf2bf7230443e0b5 | /LightOJ/1375 - LCM Extreme.cpp | 4ff19ce18357a88692e1164d5bbac9fd57696ceb | [] | no_license | njrafi/Competitive-Programming-Solutions | a9cd3ceae430e6b672c02076f80ecb94065ff6d8 | 86d167c355813157b0a0a8382b6f8538f29d4599 | refs/heads/master | 2020-07-30T22:18:46.473308 | 2019-10-06T18:12:36 | 2019-10-06T18:12:36 | 210,377,979 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,387 | cpp | #include <bits/stdc++.h>
#ifndef ONLINE_JUDGE
#define gc getchar
#define pc putchar
#else
#define gc getchar_unlocked
#define pc putchar_unlocked
#endif
using namespace std;
#define vi vector<int>
#define si set<int>
#define vs vector<string>
#define pii pair<int, int>
#define vpi vector<pii>
#define pri priority_queue... | [
"njrafibd@gmail.com"
] | njrafibd@gmail.com |
5faea5996536bdbccd4bdb559f53c2fd33934569 | e6d52e97bc3f0881a71c48674259b0641727c2ce | /src/jsi/SBjsiLogger.hpp | e4505f46f8337511d268faf33e3725bcadc2837b | [] | no_license | bldcm/OpenVXI | 3fe841e0dcfc434aa2624ca5d76a23c430dea6a4 | 86287f27a4509c0c4702102926a412126d5e5bdd | refs/heads/master | 2020-06-10T04:33:56.728050 | 2019-06-24T21:48:40 | 2019-06-24T21:48:40 | 193,583,399 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 4,141 | hpp | /*****************************************************************************
*****************************************************************************
*
* $Id: SBjsiLogger.hpp,v 1.1.2.2 2003/10/06 19:19:17 mpanacci Exp $
*
* SBjsiLogger - logging class for SBjsi
*
* This provides logging definitions... | [
"cm.build@kofax.com"
] | cm.build@kofax.com |
f50a2a62da7e2735dcba58c7e08552b1725f85c1 | 6f1190c83e14502f10c853605510898c34fda7f7 | /distributed_hardcoded_streaming_engine/main_simple.cpp | dc58990954766dfc1e258339aa719ab6cffb65e4 | [] | no_license | hpides/mp-ddsp-ws20 | 9cb7b3b5f746bfdfca7f510dc84b580761aed848 | 1fb1e80e1581a46230e31d7f3dfe092620ef7254 | refs/heads/master | 2023-04-06T01:17:30.480484 | 2021-05-04T09:58:25 | 2021-05-04T09:58:25 | 363,420,676 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,575 | cpp | #include <cmath>
#include <cstdint>
#include <iostream>
#include <mpi.h>
#include <mutex>
#include <thread>
inline uint64_t getCurrentUnixTimestampInMilliseconds()
{
const auto t = std::chrono::system_clock::now();
return std::chrono::duration_cast<std::chrono::milliseconds>(t.time_since_epoch()).count();
}
s... | [
"ivan.ilic@student.hpi.de"
] | ivan.ilic@student.hpi.de |
a3a0f0da08a6abc7efdc41afe5c62d67a5c60a3a | ee59f750afa7b7b3f2724c07c8d50cd2e3985a89 | /Assignment3/Source/vr02_lag_cpp/Cube.h | 193170b48e5608dd9a3707f84d3b734368abe411 | [] | no_license | bigfabbro/VirtualReality | cd81f2679ad34d72df8517998b57eff872eafd15 | 28adbd0401972250990021fb732d50526312c744 | refs/heads/master | 2020-08-29T12:54:10.032564 | 2019-12-12T14:20:25 | 2019-12-12T14:20:25 | 218,037,232 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 816 | h | // Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/Actor.h"
#include "Cube.generated.h"
UCLASS()
class VR02_LAG_CPP_API ACube : public AActor
{
GENERATED_BODY()
public:
// Sets default values for this actor's properties
A... | [
"bigfabbro93@gmail.com"
] | bigfabbro93@gmail.com |
f3cda3fb6111191859c9d040caf2ab55df0afe11 | 8a87f5b889a9ce7d81421515f06d9c9cbf6ce64a | /3rdParty/boost/1.78.0/boost/compute/utility/dim.hpp | 210c09cf6e390ce1a38c815ffa0ebb2c306dd34f | [
"BSL-1.0",
"Apache-2.0",
"BSD-3-Clause",
"ICU",
"Zlib",
"GPL-1.0-or-later",
"OpenSSL",
"ISC",
"LicenseRef-scancode-gutenberg-2020",
"MIT",
"GPL-2.0-only",
"CC0-1.0",
"LicenseRef-scancode-autoconf-simple-exception",
"LicenseRef-scancode-pcre",
"Bison-exception-2.2",
"LicenseRef-scancode... | permissive | arangodb/arangodb | 0980625e76c56a2449d90dcb8d8f2c485e28a83b | 43c40535cee37fc7349a21793dc33b1833735af5 | refs/heads/devel | 2023-08-31T09:34:47.451950 | 2023-08-31T07:25:02 | 2023-08-31T07:25:02 | 2,649,214 | 13,385 | 982 | Apache-2.0 | 2023-09-14T17:02:16 | 2011-10-26T06:42:00 | C++ | UTF-8 | C++ | false | false | 2,186 | hpp | //---------------------------------------------------------------------------//
// Copyright (c) 2013-2014 Kyle Lutz <kyle.r.lutz@gmail.com>
//
// Distributed under the Boost Software License, Version 1.0
// See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt
//
// See http://boosto... | [
"frank@arangodb.com"
] | frank@arangodb.com |
a8a09817f27fd610ff10cf1f5a6d711ce7f335b8 | c653562db86103993add80d2206ffb7c525e89b8 | /1005.cpp | 597739ff643c307be42f032ded0115512301a50e | [] | no_license | lsqypro/PTA-Basic | 9d1157a2a6977472ade7602de8b0def3cca6acbf | 36fe52030fdf89661b6294a46e84fddae2f214a4 | refs/heads/master | 2022-11-28T01:04:54.186472 | 2020-08-13T00:11:35 | 2020-08-13T00:11:35 | 285,648,276 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,322 | cpp | //
// Created by lsqy on 2020/8/6.
//
/* 1005 继续(3n+1)猜想 (25分)
* 耗时:24:25.10
* 计算每一次输入数值所覆盖的数,n = (3 * n + 1) 可能导致n变大
*/
#include <iostream>
#include <cstdlib>
using namespace std;
int n;
int input[100] = {0};
int key[101] = {0}; // n = (3 * n + 1) 可能导致n变大
void calc(int value) {
bool first = true;
while ... | [
"lsqypro@qq.com"
] | lsqypro@qq.com |
2352a1a15b1dffaba3e75bea13e0374deac52c3e | 5be76ee3bac0211e551b6809912e66c0138831f0 | /ffmpegdemo/Chapter2.cpp | a409a64d2db0b75f8f7b66df8dc885e10f25efc4 | [
"MIT"
] | permissive | DuckDeck/ffmpegdemo | f831812f838a11c1fc4d9caab5cb87860ffd5349 | b0630b9824a8593e9f4a3bb214539bac1a792fa1 | refs/heads/master | 2020-03-26T18:05:39.948746 | 2019-12-21T00:11:18 | 2019-12-21T00:11:18 | 145,195,868 | 1 | 0 | null | null | null | null | GB18030 | C++ | false | false | 2,887 | cpp | #include <opencv2/opencv.hpp>
#include "stdafx.h"
#include <opencv2/highgui.hpp>
#include <iostream>
using namespace cv;
using namespace std;
//视频
void playVideo() {
namedWindow("Video", WINDOW_AUTOSIZE);
VideoCapture cap;
cap.open("asset/test.mp4");
Mat frame;
for (;;) {
cap >> frame;
if (frame.empty()) br... | [
"3421902@qq.com"
] | 3421902@qq.com |
ea14680135c7479d480b2ffd60a87513f453a985 | db938fd7dc8178601adb5b73191ce128d8f4d25d | /helpers/md5/src/md5.hpp | a9bdc7b3523972252d4d15ee983d08eacf973ecb | [
"MIT"
] | permissive | joeferg425/RECTFDEMOS | 8ecfdc39cbab841210e880927aa09ddeee99e7f1 | 0d8ff9f6e17d7d201719dc129a866ee2d0af8915 | refs/heads/main | 2023-08-12T10:36:47.614332 | 2021-10-13T01:12:20 | 2021-10-13T01:12:20 | 372,689,952 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,542 | hpp | // originally from https://gist.github.com/creationix/4710780
#ifndef __MD5__
#define __MD5__
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdint.h>
// #define ROUNDS 1
// leftrotate function definition
#define LEFTROTATE(x, c) (((x) << (c)) | ((x) >> (32 - (c))))
// These vars w... | [
"57824882+joeferg425@users.noreply.github.com"
] | 57824882+joeferg425@users.noreply.github.com |
bec1fb1042fee051591c0bced71d46fdec45c34f | 7738dc7b139b6841c885c7bd1c199e523507ad11 | /src/ChiJPsiGFinder.cpp | d16020f30b4a3c2064669427782c7d30a5e1bd9d | [] | no_license | magania/b_finder | 8343b44888f70736432dafefa1d8bbaca8a8dc95 | 9f6155530a37009da417de79a2b2ce11d6435a14 | refs/heads/master | 2020-05-19T04:42:40.734515 | 2012-08-24T00:24:39 | 2012-08-24T00:24:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,831 | cpp | /*
* ChiJPsiGFinder.cpp
*
* Created on: Aug 31, 2009
* Author: magania
*/
#include "ChiJPsiGFinder.h"
ChiJPsiGFinder::ChiJPsiGFinder(TTree &tree, JPsiFinder& jpsi_finder, GammaFinder& gamma_finder) :
chi_saver("chi",tree, false, false),
vrt_saver("chi_vrt",tree)
{
_jpsi_finder = &jpsi_finder;
_gamma_fi... | [
"magania@gmail.com"
] | magania@gmail.com |
4e4e6b0787cba4799b7175c6879bd93e3811100b | f2ad82525768c2a45edcbd59ce22445b36b3403b | /xtt/lib/xtt/gtk/xtt_xcolwind_gtk.h | 9fdd3fe72cf8660ddc8fcc7229f79021d45e91c7 | [] | no_license | jordibrus/proview | 55fdf2623ff7b46f0ccfce1bcdce4543457a9d9a | 29f5e0cc6dab430593c1d6bf95dd5077d6732953 | refs/heads/master | 2021-01-18T00:18:45.670513 | 2013-11-16T20:03:39 | 2013-11-16T20:03:39 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 5,051 | h | /*
* Proview Open Source Process Control.
* Copyright (C) 2005-2013 SSAB EMEA AB.
*
* This file is part of Proview.
*
* 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 ... | [
"claes.sjofors@proview.se"
] | claes.sjofors@proview.se |
11368118d7e88ad39f99e384e13aeb3e29f04315 | 2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0 | /fuzzedpackages/anomaly/src/find_best_option.cpp | 06238ddaa5b82bc2d6ea27de52c4b4c4d365067d | [] | no_license | akhikolla/testpackages | 62ccaeed866e2194652b65e7360987b3b20df7e7 | 01259c3543febc89955ea5b79f3a08d3afe57e95 | refs/heads/master | 2023-02-18T03:50:28.288006 | 2021-01-18T13:23:32 | 2021-01-18T13:23:32 | 329,981,898 | 7 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 1,618 | cpp | #include <math.h>
#include <stdlib.h>
#include <float.h>
#include "Functions.h"
namespace anomalymv
{
void find_best_option(struct orderedobservationlist *list, int ii, int n, int p, int l, int minseglength, double *penaltycomponent, double penaltyanomaly, struct position_saving *savingvector)
{
int jj = 0, option... | [
"akhilakollasrinu424jf@gmail.com"
] | akhilakollasrinu424jf@gmail.com |
deef5f63b31629494d9e6e4dfa8fe89c949820af | 5a58b0b1d38fab26992377e6009447d5b9120c84 | /git/Tema4/converter.h | 62fcd034b9cc274913fe497a5ae65dff4daf245a | [] | no_license | iliemihai/EGC | a0256d88a28f4b3b500b974570c60ba032e16874 | 7aa935d6941ad838d26f29248b571914f13fe57b | refs/heads/master | 2016-09-06T09:53:11.455131 | 2014-01-20T12:42:02 | 2014-01-20T12:42:02 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,931 | h | #ifndef CONVERTER_H
#define CONVERTER_H
#include <sstream>
#include <string>
#include <cstdarg>
#include <iostream>
class Converter
{
public:
Converter();
~Converter();
/************************************************************************/
/* Konwertuje zmienna do stringa ... | [
"https://github.com/iliemihai"
] | https://github.com/iliemihai |
016ca6090929f3c981e4f1e34d9c17a35a94487f | 054b91080c719c55d0d65ff33c4f92857a3fdfc8 | /introduction_to_C++_programming/day7/zipcode/distance.cpp | 7b996fe34af79db43a7bd146e6b5057e3f99c1f8 | [] | no_license | researcherben/course-notes | 14f7e893b0e7c1001e318d540f6bca77565a65fe | 47475bde72978e34bd26cd80f402d07c4283f22a | refs/heads/master | 2021-01-20T15:44:37.829360 | 2016-08-05T14:27:40 | 2016-08-05T14:27:40 | 60,696,470 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 771 | cpp | #include <cmath>
#define PI 3.14159265
#define RADIUS_OF_EARTH 3963.1 // radius of earth in miles
inline double toRadians (double degrees) {
return degrees * PI / 180.0;
}
// Compute distance in miles between two points on Earth, with
// coordinates specified in degrees.
// Note: West lo... | [
"ben.is.located@gmail.com"
] | ben.is.located@gmail.com |
a43b3cfc3744cf5fa9ab8845c3b1bba3a79bac30 | cf6ae38d4adf41e3eb219b8ac477aa7ca7c7d18a | /trunk/libs/interprocess/doc/code/doc_named_condition_shared_data.hpp | d61934f4739375f639647c826da07b034e3dafce | [
"LicenseRef-scancode-unknown-license-reference",
"BSL-1.0"
] | permissive | ryppl/boost-history | a560df2bc79ffc7640f09d258599891dbbb8f6d0 | 934c80ff671f3afeb72b38d5fdf4396acc2dc58c | HEAD | 2016-09-07T08:08:33.930543 | 2011-07-10T13:15:08 | 2011-07-10T13:15:08 | 3,539,914 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 687 | hpp | #include <boost/interprocess/sync/interprocess_mutex.hpp>
#include <boost/interprocess/sync/interprocess_condition.hpp>
struct trace_queue
{
enum { LineSize = 100 };
trace_queue()
: message_in(false)
{}
//Mutex to protect access to the queue
boost::interprocess::in... | [
"doug.gregor@gmail.com"
] | doug.gregor@gmail.com |
6b31965565508756316066f07061eb575909827e | ece30e7058d8bd42bc13c54560228bd7add50358 | /DataCollector/mozilla/xulrunner-sdk/include/mozilla/dom/mobilemessage/Types.h | e629a500fc02552d3c96f7d2a27fb13861011cd2 | [
"Apache-2.0"
] | permissive | andrasigneczi/TravelOptimizer | b0fe4d53f6494d40ba4e8b98cc293cb5451542ee | b08805f97f0823fd28975a36db67193386aceb22 | refs/heads/master | 2022-07-22T02:07:32.619451 | 2018-12-03T13:58:21 | 2018-12-03T13:58:21 | 53,926,539 | 1 | 0 | Apache-2.0 | 2022-07-06T20:05:38 | 2016-03-15T08:16:59 | C++ | UTF-8 | C++ | false | false | 3,714 | h | /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=8 sts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0... | [
"andras.igneczi@doclerholding.com"
] | andras.igneczi@doclerholding.com |
21cdd3fb47d2bac7e35c0a1e234c6cbbb73ac7a9 | a8020c6cb6e0b481687ea88b0f1e73d0a2b10a37 | /salarysheet.h | 7af7359fd937443a9f9c79d9eff825a8a727db91 | [] | no_license | sailendraw/MontesorryManagementSystem | 7fdef328d27c325a1d47d32679385ad2de8aaea7 | 210cc8b3868a6e448b538550dbc1ca4d211ccff8 | refs/heads/master | 2016-08-05T02:29:23.506955 | 2014-11-08T12:03:33 | 2014-11-08T12:03:33 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 671 | h | #ifndef SALARYSHEET_H
#define SALARYSHEET_H
#include <QWidget>
#include "qtrpt.h"
namespace Ui {
class salarysheet;
}
class salarysheet : public QWidget
{
Q_OBJECT
public:
explicit salarysheet(QWidget *parent = 0);
void display();
~salarysheet();
private slots:
void on_month_currentTextChanged(c... | [
"sailendra.mzr@gmail.com"
] | sailendra.mzr@gmail.com |
555ae40cf97a15d12ff0aea6767da175fb5ce4f9 | ea3b88a242669a53d0b8cf475fdd9db3ed22493e | /PWGLF/SPECTRA/ChargedHadrons/dNdPt/AliAnalysisTaskSpectraV0M.cxx | c26f89bf31ae85a702002c5e4fc84c9f6f356dc3 | [] | permissive | ppanasta/AliPhysics | cba8cde2e5f7c718fa7eac78a0681e8c6e147577 | 226101b9595c8c4bad885016e6b8ede56eb9ad9b | refs/heads/master | 2021-01-16T04:59:23.838008 | 2020-02-25T10:51:38 | 2020-02-25T10:51:38 | 242,980,339 | 1 | 0 | BSD-3-Clause | 2020-02-25T11:10:33 | 2020-02-25T11:10:32 | null | UTF-8 | C++ | false | false | 5,978 | cxx | #include <iostream>
#include "TChain.h"
#include "TH1F.h"
#include "TList.h"
#include "TRandom.h"
#include "TRandom3.h"
#include "TGeoGlobalMagField.h"
#include "AliAnalysisTask.h"
#include "AliAnalysisManager.h"
#include "AliESDEvent.h"
#include "AliESDInputHandler.h"
#include "AliESDtrack.h"
#include "AliAODEvent.h"
... | [
"michael.linus.knichel@cern.ch"
] | michael.linus.knichel@cern.ch |
c55965e7d3385a3571c0d4db0ba464f9e2f6000b | 9eec0e4a53c8fc0a42b22f99fd5ca18233a1c1ff | /socodery/backup/inheritance/inheritBaseMemInit.cpp | ea462e609877a098e74ef0cea082947f7a53d55c | [] | no_license | ansrivas/codes | 1b3139411e879e8b13ae3508f7793beffd1c36bd | 36693d7aaefdc894b200f4d2a9937ac2137f3146 | refs/heads/master | 2021-01-13T01:27:40.877798 | 2013-10-25T09:38:59 | 2013-10-25T09:38:59 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 718 | cpp | #include <iostream>
using namespace std;
class BaseClass {
int i, j;
public:
//BaseClass(){;}
BaseClass(int x, int y) {
cout << "in base constructor\n";
i = x;
j = y;
}
void showij() {
cout << "in base class\n" ;
cout << i << ' ' << j << '\n';
}
};
class DerivedClass : public Base... | [
"best.ankur@gmail.com"
] | best.ankur@gmail.com |
ac6f964462121c3c1ce5e1db08eea12c7dd84365 | f2367d2c97b70ab1dd8e72a26f13cf341c9c5df0 | /lab5/Codes/FSSB/FSSB.cpp | dbc9b23f4221a39929106fabbbd797a199166e37 | [] | no_license | MitchellHansen/optimization-algorithms | 85e872c4e2e11a63c1b2df31ac5fd40fd0c5ab9b | d1a836995bf19b475947ab964072243eca9e38fa | refs/heads/main | 2020-06-21T05:54:45.629471 | 2017-01-13T05:13:46 | 2017-01-13T05:13:46 | 74,801,656 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,700 | cpp | /**
* @brief Flow shop with blocking
* @author doc. MSc. Donald Davendra Ph.D.
* @date 3.10.2013
*
* This is a simple class to calculate the makespan of the flowshop with blocking schedule.
*/
/*! \file FSSB.h
\brief A FSSB header file.
*/
#include "FSSB.h"
#include <stdlib.h>
#include <iostream>
#include <f... | [
"mitchellhansen0@gmail.com"
] | mitchellhansen0@gmail.com |
88def7a1a28c9b0e80a4f380d7ed7aa5c6705b5e | 25566712584db250f7419007954351b63ad8a516 | /History.h | d5f209c61e2a9c98de0e9f0a6d888140af4991a6 | [] | no_license | rjadroncik/Shadow-Studio | 2cd69c29b05a40559a714c96cbc44ea6c01a7c06 | 8df941457f6a7b2890480ad25ee764fad27ce63d | refs/heads/master | 2021-01-18T22:37:09.492427 | 2016-10-20T19:49:33 | 2016-10-20T19:49:33 | 27,828,580 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 482 | h | // History.h: interface for the CHistory class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_HISTORY_H__07B6E81F_AC2D_4A52_90DB_A3CC08D0BD92__INCLUDED_)
#define AFX_HISTORY_H__07B6E81F_AC2D_4A52_90DB_A3CC08D0BD92__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_... | [
"roman.jadroncik@gmail.com"
] | roman.jadroncik@gmail.com |
eabd8c7c627f28030078e69dfb3354993b5ae949 | 7924247523ffc4c8ad89f725756a4ec1056f6479 | /LINK_LIST/heap.cpp | b09d724a95b2c20770a91ebb44630d50527ad1c2 | [] | no_license | badhon1512/DataStructure | cacba7268a8de567189da51ad5dca8c6cb4dfd4a | 1d076087944f1b58584824a0a520fed88bbbdbb5 | refs/heads/main | 2023-03-13T13:55:49.905555 | 2021-03-04T12:27:08 | 2021-03-04T12:27:08 | 344,465,494 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,498 | cpp | #include<iostream>
using namespace std;
int left(int i)
{
return 2*i;
}
int right(int i)
{
return 2 * i + 1;
}
int root(int i)
{
return i/2;
}
int maxHeap(int h[], int heapSize)
{
int i,p;
for(i=heapSize;i>1;i--)
{
p=root(i);
cout<<"i= "<<i<<"\n"<<"p= "<<p<<"\n"<<"h[i]= "<<h[i]<<... | [
"badhon1512@gmail.com"
] | badhon1512@gmail.com |
cd86e3757a093a2c50f7c9351ef9b247dcb927bb | 6530fc1675fee3e7d1662f86b6e4e3a2f298eb01 | /PanelBoeing-build-desktop-Qt_4_8_2__System__Release/moc_mcp23017.cpp | 65e39380d9b4d7d63e21d336b396ec744a4d1a95 | [] | no_license | ALGUS-Savunma-ve-Havacilik/PanelBoeing | 6ee7832afbdb1ef638294971e55b409a9400a11f | 9e831f913d91b94c87af633c1b9a4504d03b1193 | refs/heads/master | 2020-04-26T14:52:52.343368 | 2015-02-05T19:18:55 | 2015-02-05T19:18:55 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 3,337 | cpp | /****************************************************************************
** Meta object code from reading C++ file 'mcp23017.h'
**
** Created: Wed Apr 30 15:12:11 2014
** by: The Qt Meta Object Compiler version 63 (Qt 4.8.2)
**
** WARNING! All changes made in this file will be lost!
**************************... | [
"saul_alejandro_r@hotmail.com"
] | saul_alejandro_r@hotmail.com |
cfca0b19f0f6e52f75d47c3b59625af16b54481b | 2885e54c807bd70b8eb0cd2bc3ffd5ce51bd66cc | /2007-PIR-Drone Trirotor acrobate/Projet/Informatique/CNES/marmottes-9.8/src/Senseur.cpp | a2bbbaf88ee5d6d87facc79c554bbca9101e02b4 | [] | no_license | crubier/my-personal-projects | 622b09ce6d9c846b905fe135892a178c1a0c554b | 8cd26b212b0c61f3d5bbe2de82d49891f3f3602a | refs/heads/master | 2021-09-12T23:09:14.097634 | 2018-04-22T07:45:42 | 2018-04-22T07:45:42 | 130,488,289 | 1 | 0 | null | null | null | null | ISO-8859-1 | C++ | false | false | 5,876 | cpp | ///////////////////////////////////////////////////////////////////////////////
//$<AM-V1.0>
//
//$Type
// DEF
//
//$Projet
// Marmottes
//
//$Application
// Marmottes
//
//$Nom
//> Senseur.cpp
//
//$Resume
// fichier d'implantation de la classe Senseur
//
//$Description
// Module de... | [
"vincent.lecrubier@gmail.com"
] | vincent.lecrubier@gmail.com |
c53f10c5fe7bf7b90d287980a4e7430164fd376b | e89be39fe4d4f54b1b27d8b4584b24f00594725e | /libraries/SDCard/sdcard.cpp | cc2aceb2a5fbd79f94844fa33f7717f377057a7e | [] | no_license | RobotEdh/RobotMicroControl | 1dddf057cf3f6aa37026ac6b9c0ccafca8374936 | a48b604741dbf3a1e17914e3a12d597cfc00fa81 | refs/heads/master | 2021-06-27T06:36:11.495105 | 2020-10-14T20:32:07 | 2020-10-14T20:32:07 | 161,914,561 | 0 | 2 | null | null | null | null | UTF-8 | C++ | false | false | 2,859 | cpp | #include <sdcard.h>
Sd2Card card; // SD Card
SdVolume volume; // SD Volume
SdFile root; // SD Root
int initSDCard(void){
if (!card.init(SPI_HALF_SPEED, SS_CS_Pin)) //Set SCK rate to F_CPU/4 (mode 1)
{
Serial.println("Error Init SD-Card");
return SDCARD_ERROR;
}
else
{
... | [
"eric.delahoupliere@free.fr"
] | eric.delahoupliere@free.fr |
f2c7762da082347263226fa2d891c4999d582798 | b37f97a79555d77f39aff73633bda8a5b469c6fe | /test01/addperson.h | 81375797f5191c98cd49e04cf71428516d0365e7 | [] | no_license | OrangeQing/practice | 1f9b3b49aaa626b7e192e4fae1a7966b0a0e1f93 | 4ce45e2ad838621e1f910c47211ed55da9c0d38b | refs/heads/master | 2022-03-22T21:04:23.379428 | 2019-11-03T00:51:42 | 2019-11-03T00:51:42 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 307 | h | #ifndef ADDPERSON_H
#define ADDPERSON_H
namespace Ui {
class AddPerson;
}
class AddPerson : public QDialog
{
Q_OBJECT
public:
explicit AddPerson(QWidget *parent = 0);
~AddPerson();
private slots:
void on_cancelBtn_clicked();
private:
Ui::AddPerson *ui;
};
#endif // ADDPERSON_H
| [
"1240091086@qq.com"
] | 1240091086@qq.com |
211a5f2e5df4cb9e90471f1ff43b1338a7bd12d3 | 883a861de477922a4559974e759b399770735229 | /src/exe/dummy_to_json.cpp | 5328d7f40c801d3b746a42bc8a74e05de9df82a0 | [
"MIT"
] | permissive | JasonThomasData/neural_net_cpp | 302b17b103d0fcc39ed3cb11cf78e00a7d522d71 | 0d6d042ea00fa778befa488f2e38c914d5f26cdf | refs/heads/master | 2022-05-01T20:32:50.239735 | 2022-03-26T11:16:06 | 2022-03-26T11:16:06 | 86,955,627 | 1 | 1 | null | 2017-08-02T07:52:43 | 2017-04-02T01:52:56 | C++ | UTF-8 | C++ | false | false | 1,166 | cpp | #include <fstream>
#include <iostream>
#include <string>
#include "../../lib/json.hpp"
#include "../data_converter/data_converter.h"
#include "../json_io/json_io.h"
int main(int argc, char** argv)
{
if(argc != 4 || (std::string(argv[3]) != "training" && std::string(argv[3]) != "new_data"))
{
std::c... | [
"john@john.john"
] | john@john.john |
9a69eb6ed8de686796c2fae701e4c4b86ca1b99d | 75667c69371e560e00846993e0594198ba5b0271 | /lantern/src/math_common.cpp | 4bc780363756125f61b51695845b516d881d092e | [
"MIT"
] | permissive | fredlim/lantern | 028237401f73ccbe30c28dea1d8712c33bb283b8 | ae968506925f6e28498d0b54850030c47e6a7031 | refs/heads/master | 2023-03-18T00:22:15.644336 | 2015-11-21T12:42:51 | 2015-11-21T12:42:51 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 402 | cpp | #include "math_common.h"
using namespace lantern;
float lantern::triangle_2d_area(
float const x0, float const y0,
float const x1, float const y1,
float const x2, float const y2)
{
return std::abs(0.5f * (x0 * (y1 - y2) + x1 * (y2 - y0) + x2 * (y0 - y1)));
}
float lantern::clamp(float const value, float const fr... | [
"loreglean@gmail.com"
] | loreglean@gmail.com |
8011bc188eeaecee4409c05c678882801aeb6c36 | 71bd19d1587e8736f9645736a1e61552ae0d543a | /src/C_iterate.h | eb794c4e18ee44d41409e364c972fce7ddd26696 | [] | no_license | cran/cnaOpt | 55acd34c2ca18f083abee6d7d7722cca356445a6 | c6e0b904714713f05f6e3d0989ff841d0646f661 | refs/heads/master | 2023-03-18T01:38:03.279181 | 2022-07-08T13:00:11 | 2022-07-08T13:00:11 | 236,573,536 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 430 | h |
// void show(dblIteratorList x);
// void show(std::vector<double> x);
dblIteratorList getStarts(dblList x);
dblIteratorList getEnds(dblList x);
void increase(dblIteratorList& ii, int& changed,
const dblIteratorList& _starts_,
const dblIteratorList& _ends_,
int pos = -1);
... | [
"csardi.gabor+cran@gmail.com"
] | csardi.gabor+cran@gmail.com |
f01b947ac78a5c294a042d5e637f10640bf3b82e | 7ecf0f2287bd5561d76571d41a51623e4566f75c | /SFML/PauseState.cpp | 8e6fb4eaffc09e32bce959fbf7a7cf1fc8f8b13b | [] | no_license | jeffOttar/SFML | 8794ef2f0ccf95e47cc83e1e10e649fb1fbcc110 | 32ff327505eb475c9b23f54b599e071a805f8302 | refs/heads/master | 2021-09-28T07:38:53.329978 | 2018-10-05T14:23:14 | 2018-10-05T14:23:14 | 151,723,442 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 2,766 | cpp | /**
* @file
* @author Jeff Ottar-
* @version 1.0
*
*
* @section DESCRIPTION
* < >
*
*
* @section LICENSE
*
*
* Copyright 2018
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the
* above copyright notice and this permission notice... | [
"jeffery1299@hotmail.com"
] | jeffery1299@hotmail.com |
1eb481df74005172cfdba7a79d56b4a122062dd9 | 44ab57520bb1a9b48045cb1ee9baee8816b44a5b | /AssistTesting/Code/Editor/ModelEditor/ModelEditorAssistTesting/TestingLib.cpp | 6438cc93932a95dfea8452a79ac4174a09410c59 | [
"BSD-3-Clause"
] | permissive | WuyangPeng/Engine | d5d81fd4ec18795679ce99552ab9809f3b205409 | 738fde5660449e87ccd4f4878f7bf2a443ae9f1f | refs/heads/master | 2023-08-17T17:01:41.765963 | 2023-08-16T07:27:05 | 2023-08-16T07:27:05 | 246,266,843 | 10 | 0 | null | null | null | null | GB18030 | C++ | false | false | 281 | cpp | /// Copyright (c) 2010-2023
/// Threading Core Render Engine
///
/// 作者:彭武阳,彭晔恩,彭晔泽
/// 联系作者:94458936@qq.com
///
/// 标准:std:c++20
/// 版本:0.9.1.2 (2023/07/31 19:55)
#include "System/SystemLib.h"
#include "CoreTools/CoreToolsLib.h"
| [
"94458936@qq.com"
] | 94458936@qq.com |
fc5eb2f92f9397e62adfd382def1b767ee5ace11 | 7e824dc4b0044129c95d51480b3514fb9a64acc7 | /QT/tutoriale/68 - QTcpServer using multiple threads/MultiServer/main.cpp | 20a99cf9b4bdab8204002cf3bddab8e4c7825159 | [] | no_license | morariu05/TAP | 3b97964fa3fb687ef7aa9ab13a82086b9458fda4 | 0ac56f91783b68d63134efdd12bf381ccb5639e1 | refs/heads/master | 2023-03-25T01:13:31.470612 | 2021-03-21T21:56:53 | 2021-03-21T21:56:53 | 350,127,947 | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 201 | cpp | #include <QtCore/QCoreApplication>
#include "myserver.h"
int main(int argc, char *argv[])
{
QCoreApplication a(argc, argv);
MyServer Server;
Server.StartServer();
return a.exec();
}
| [
"morariumadalina05@gmail.com"
] | morariumadalina05@gmail.com |
08a4b38a8bbb32d55ab4fe43a3e653186f033179 | 3f75df57ae155e3eaada2885b12b78a63bbc43a1 | /source/Geometry/CGA/src/TRKFTDHit.cc | cd3d792873fddc40f8b12c314638ad762cb8563a | [] | no_license | nkxuyin/mokka-cepc | 52bb13455b6fc5961de678ad7cb695f754e49a47 | 61ce9f792a4cb8883f0d1cd1391884444b372dc0 | refs/heads/master | 2021-01-20T10:42:00.982704 | 2015-02-11T12:59:43 | 2015-02-11T12:59:43 | 24,243,983 | 0 | 1 | null | null | null | null | UTF-8 | C++ | false | false | 4,790 | cc | #include "TRKFTDHit.hh"
// Basic C
#include <assert.h>
// Basic Mokka classes
#include "Control.hh"
// Geant4 classes
#include "G4VVisManager.hh"
#include "G4VisAttributes.hh"
#include "G4Colour.hh"
#include "G4Circle.hh"
// LCIO classes
#ifdef LCIO_MODE
#include <lcio.h>
#include <IMPL/LCFlagImpl.h>
#include <UTIL... | [
"xuyin@nankai.edu.cn"
] | xuyin@nankai.edu.cn |
c6de8fea499f51ddeb9f5d0ab87ac471cddfaa32 | 6f833427da2ae06e12e7cddbe2f275aedd8310de | /Lesson 6 - Inheritance/006 - multiple inheritance/main.cpp | f87e197420a61315c050c34a2772a358698b6724 | [
"MIT"
] | permissive | YuilTripathee/CPP_programming | 2331c770426d0f5ca96582281c2a745556d380f2 | 93301a3b9300605bdc61de2d1c6c2e96d11586a5 | refs/heads/master | 2022-02-28T06:28:12.890300 | 2019-11-02T01:39:38 | 2019-11-02T01:39:38 | null | 0 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 828 | cpp | /*
Academic Sport
|__________|
|
Result
*/
// code:
#include <iostream>
using namespace std;
class Academic
{
protected:
char name[20];
int m1, m2;
public:
void GetData1()
{
cout << "Enter name, mark1 and mark2: ";
cin >... | [
"yuiltripathee79@gmail.com"
] | yuiltripathee79@gmail.com |
742365f4d57f5e2fbfe6ea67326e7f3fc5197464 | 51635684d03e47ebad12b8872ff469b83f36aa52 | /external/gcc-12.1.0/libstdc++-v3/testsuite/21_strings/basic_string_view/types/1.cc | e58a79c5b9b8cfe6a96ac8094f34731eeab1e8e3 | [
"LGPL-2.1-only",
"GPL-3.0-only",
"GCC-exception-3.1",
"GPL-2.0-only",
"LGPL-3.0-only",
"LGPL-2.0-or-later",
"Zlib",
"LicenseRef-scancode-public-domain"
] | permissive | zhmu/ananas | 8fb48ddfe3582f85ff39184fc7a3c58725fe731a | 30850c1639f03bccbfb2f2b03361792cc8fae52e | refs/heads/master | 2022-06-25T10:44:46.256604 | 2022-06-12T17:04:40 | 2022-06-12T17:04:40 | 30,108,381 | 59 | 8 | Zlib | 2021-09-26T17:30:30 | 2015-01-31T09:44:33 | C | UTF-8 | C++ | false | false | 1,175 | cc | //
// Copyright (C) 2013-2022 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library 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, or (at your... | [
"rink@rink.nu"
] | rink@rink.nu |
6b17791a459279a2756a741f1ed46e4613c5499e | be7ee28aa3149dd6045f74b0fec2ac0b3a855e4e | /1110.delete-nodes-and-return-forest.cpp | 8bdc713577121db817d2afebad0d78df2f76aebb | [] | no_license | Okamoto-001/GoGoGo | a56ee2e6fa055a1a7a6d9497a4af53a04190eb42 | 383a0d05037b239ec3e4b4104dce41733c9aca19 | refs/heads/master | 2020-09-16T19:56:31.892313 | 2020-01-27T04:05:00 | 2020-01-27T04:05:00 | 223,874,412 | 1 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,363 | cpp | /*
* @lc app=leetcode id=1110 lang=cpp
*
* [1110] Delete Nodes And Return Forest
*
* https://leetcode.com/problems/delete-nodes-and-return-forest/description/
*
* algorithms
* Medium (64.87%)
* Likes: 593
* Dislikes: 22
* Total Accepted: 31.8K
* Total Submissions: 48.9K
* Testcase Example: '[1,2,3,4... | [
"xwcheng497@gmail.com"
] | xwcheng497@gmail.com |
f4cec2218f92a29bfc98e84cf99cce6375ecefca | 7f88f6ef7fe43cdcfe41984a8952f876dec1cd47 | /16927.cpp | 402fcc4b51fa27f2fa41aeb3f43333dcc6109c7b | [] | no_license | skleee/boj-ps | 7498ca4b1fc892caafec6a6620bd9968aff0f6f0 | 818e36754d20c2dccfcf641a7d47dd1f0c087fd1 | refs/heads/master | 2020-07-25T22:14:10.971137 | 2020-03-08T17:11:38 | 2020-03-08T17:11:38 | 208,439,076 | 2 | 0 | null | null | null | null | UTF-8 | C++ | false | false | 1,149 | cpp | #include <iostream>
#include <algorithm>
#pragma warning(disable:4996)
/*
16927. 배열돌리기2
*/
using namespace std;
int N, M, R, map[300][300];
void rotate() {
int group = min(M, N) / 2; // 그룹의 개수
for (int k = 0; k < group; k++) {
int rtcnt = R % ((N + M - 2 - 4 * k) * 2); // 그룹 안 숫자의 개수
while (rtcnt--) {
int... | [
"leesk1027@gmail.com"
] | leesk1027@gmail.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.